refactor(ivy): move `styling/instructions.ts` to `instructions/styling.ts` (#32731)
PR Close #32731
This commit is contained in:
parent
f88f717094
commit
ec0aa88f4e
|
@ -43,7 +43,7 @@ export * from './projection';
|
||||||
export * from './property';
|
export * from './property';
|
||||||
export * from './property_interpolation';
|
export * from './property_interpolation';
|
||||||
export * from './advance';
|
export * from './advance';
|
||||||
export * from '../styling/instructions';
|
export * from './styling';
|
||||||
export * from './text';
|
export * from './text';
|
||||||
export * from './text_interpolation';
|
export * from './text_interpolation';
|
||||||
export * from './class_map_interpolation';
|
export * from './class_map_interpolation';
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {getLView, getSelectedIndex} from '../state';
|
import {getLView, getSelectedIndex} from '../state';
|
||||||
import {classMapInternal} from '../styling/instructions';
|
import {classMapInternal} from './styling';
|
||||||
import {interpolation1, interpolation2, interpolation3, interpolation4, interpolation5, interpolation6, interpolation7, interpolation8, interpolationV} from './interpolation';
|
import {interpolation1, interpolation2, interpolation3, interpolation4, interpolation5, interpolation6, interpolation7, interpolation8, interpolationV} from './interpolation';
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ import {BINDING_INDEX, HEADER_OFFSET, LView, RENDERER, TVIEW, T_HOST} from '../i
|
||||||
import {assertNodeType} from '../node_assert';
|
import {assertNodeType} from '../node_assert';
|
||||||
import {appendChild} from '../node_manipulation';
|
import {appendChild} from '../node_manipulation';
|
||||||
import {decreaseElementDepthCount, getElementDepthCount, getIsParent, getLView, getNamespace, getPreviousOrParentTNode, getSelectedIndex, increaseElementDepthCount, setIsNotParent, setPreviousOrParentTNode} from '../state';
|
import {decreaseElementDepthCount, getElementDepthCount, getIsParent, getLView, getNamespace, getPreviousOrParentTNode, getSelectedIndex, increaseElementDepthCount, setIsNotParent, setPreviousOrParentTNode} from '../state';
|
||||||
import {registerInitialStylingOnTNode} from '../styling/instructions';
|
import {registerInitialStylingOnTNode} from './styling';
|
||||||
import {StylingMapArray, TStylingContext} from '../styling/interfaces';
|
import {StylingMapArray, TStylingContext} from '../styling/interfaces';
|
||||||
import {getInitialStylingValue, hasClassInput, hasStyleInput} from '../styling/util';
|
import {getInitialStylingValue, hasClassInput, hasStyleInput} from '../styling/util';
|
||||||
import {setUpAttributes} from '../util/attrs_utils';
|
import {setUpAttributes} from '../util/attrs_utils';
|
||||||
|
|
|
@ -15,7 +15,7 @@ import {BINDING_INDEX, HEADER_OFFSET, RENDERER, TVIEW, T_HOST} from '../interfac
|
||||||
import {assertNodeType} from '../node_assert';
|
import {assertNodeType} from '../node_assert';
|
||||||
import {appendChild} from '../node_manipulation';
|
import {appendChild} from '../node_manipulation';
|
||||||
import {getIsParent, getLView, getPreviousOrParentTNode, setIsNotParent, setPreviousOrParentTNode} from '../state';
|
import {getIsParent, getLView, getPreviousOrParentTNode, setIsNotParent, setPreviousOrParentTNode} from '../state';
|
||||||
import {registerInitialStylingOnTNode} from '../styling/instructions';
|
import {registerInitialStylingOnTNode} from './styling';
|
||||||
|
|
||||||
import {createDirectivesInstances, executeContentQueries, getOrCreateTNode, resolveDirectives, saveResolvedLocalsInData} from './shared';
|
import {createDirectivesInstances, executeContentQueries, getOrCreateTNode, resolveDirectives, saveResolvedLocalsInData} from './shared';
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
import {getLView, getSelectedIndex} from '../state';
|
import {getLView, getSelectedIndex} from '../state';
|
||||||
import {stylePropInternal} from '../styling/instructions';
|
import {stylePropInternal} from './styling';
|
||||||
import {interpolation1, interpolation2, interpolation3, interpolation4, interpolation5, interpolation6, interpolation7, interpolation8, interpolationV} from './interpolation';
|
import {interpolation1, interpolation2, interpolation3, interpolation4, interpolation5, interpolation6, interpolation7, interpolation8, interpolationV} from './interpolation';
|
||||||
import {TsickleIssue1009} from './shared';
|
import {TsickleIssue1009} from './shared';
|
||||||
|
|
||||||
|
|
|
@ -16,11 +16,11 @@ import {NO_CHANGE} from '../tokens';
|
||||||
import {renderStringify} from '../util/misc_utils';
|
import {renderStringify} from '../util/misc_utils';
|
||||||
import {getNativeByTNode, getTNode} from '../util/view_utils';
|
import {getNativeByTNode, getTNode} from '../util/view_utils';
|
||||||
|
|
||||||
import {applyStylingMapDirectly, applyStylingValueDirectly, flushStyling, setClass, setStyle, updateClassViaContext, updateStyleViaContext} from './bindings';
|
import {applyStylingMapDirectly, applyStylingValueDirectly, flushStyling, setClass, setStyle, updateClassViaContext, updateStyleViaContext} from '../styling/bindings';
|
||||||
import {StylingMapArray, StylingMapArrayIndex, TStylingContext} from './interfaces';
|
import {StylingMapArray, StylingMapArrayIndex, TStylingContext} from '../styling/interfaces';
|
||||||
import {activateStylingMapFeature} from './map_based_bindings';
|
import {activateStylingMapFeature} from '../styling/map_based_bindings';
|
||||||
import {attachStylingDebugObject} from './styling_debug';
|
import {attachStylingDebugObject} from '../styling/styling_debug';
|
||||||
import {addItemToStylingMap, allocStylingMapArray, allocTStylingContext, allowDirectStyling, concatString, forceClassesAsString, forceStylesAsString, getInitialStylingValue, getStylingMapArray, hasClassInput, hasStyleInput, hasValueChanged, isContextLocked, isHostStylingActive, isStylingContext, normalizeIntoStylingMap, setValue, stylingMapToString} from './util';
|
import {addItemToStylingMap, allocStylingMapArray, allocTStylingContext, allowDirectStyling, concatString, forceClassesAsString, forceStylesAsString, getInitialStylingValue, getStylingMapArray, hasClassInput, hasStyleInput, hasValueChanged, isContextLocked, isHostStylingActive, isStylingContext, normalizeIntoStylingMap, setValue, stylingMapToString} from '../styling/util';
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
import {ɵɵadvance} from '../../../../src/render3/instructions/advance';
|
import {ɵɵadvance} from '../../../../src/render3/instructions/advance';
|
||||||
import {ɵɵelement, ɵɵelementEnd, ɵɵelementStart} from '../../../../src/render3/instructions/element';
|
import {ɵɵelement, ɵɵelementEnd, ɵɵelementStart} from '../../../../src/render3/instructions/element';
|
||||||
import {refreshView} from '../../../../src/render3/instructions/shared';
|
import {refreshView} from '../../../../src/render3/instructions/shared';
|
||||||
|
import {ɵɵclassMap, ɵɵstyleMap} from '../../../../src/render3/instructions/styling';
|
||||||
import {RenderFlags} from '../../../../src/render3/interfaces/definition';
|
import {RenderFlags} from '../../../../src/render3/interfaces/definition';
|
||||||
import {TVIEW} from '../../../../src/render3/interfaces/view';
|
import {TVIEW} from '../../../../src/render3/interfaces/view';
|
||||||
import {ɵɵclassMap, ɵɵstyleMap} from '../../../../src/render3/styling/instructions';
|
|
||||||
import {createBenchmark} from '../micro_bench';
|
import {createBenchmark} from '../micro_bench';
|
||||||
import {setupRootViewWithEmbeddedViews} from '../setup';
|
import {setupRootViewWithEmbeddedViews} from '../setup';
|
||||||
|
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
import {ɵɵadvance} from '../../../../src/render3/instructions/advance';
|
import {ɵɵadvance} from '../../../../src/render3/instructions/advance';
|
||||||
import {ɵɵelement, ɵɵelementEnd, ɵɵelementStart} from '../../../../src/render3/instructions/element';
|
import {ɵɵelement, ɵɵelementEnd, ɵɵelementStart} from '../../../../src/render3/instructions/element';
|
||||||
import {refreshView} from '../../../../src/render3/instructions/shared';
|
import {refreshView} from '../../../../src/render3/instructions/shared';
|
||||||
|
import {ɵɵclassProp, ɵɵstyleProp} from '../../../../src/render3/instructions/styling';
|
||||||
import {RenderFlags} from '../../../../src/render3/interfaces/definition';
|
import {RenderFlags} from '../../../../src/render3/interfaces/definition';
|
||||||
import {AttributeMarker} from '../../../../src/render3/interfaces/node';
|
import {AttributeMarker} from '../../../../src/render3/interfaces/node';
|
||||||
import {TVIEW} from '../../../../src/render3/interfaces/view';
|
import {TVIEW} from '../../../../src/render3/interfaces/view';
|
||||||
import {ɵɵclassProp, ɵɵstyleProp} from '../../../../src/render3/styling/instructions';
|
|
||||||
import {createBenchmark} from '../micro_bench';
|
import {createBenchmark} from '../micro_bench';
|
||||||
import {setupRootViewWithEmbeddedViews} from '../setup';
|
import {setupRootViewWithEmbeddedViews} from '../setup';
|
||||||
|
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
import {ɵɵadvance} from '../../../../src/render3/instructions/advance';
|
import {ɵɵadvance} from '../../../../src/render3/instructions/advance';
|
||||||
import {ɵɵelement, ɵɵelementEnd, ɵɵelementStart} from '../../../../src/render3/instructions/element';
|
import {ɵɵelement, ɵɵelementEnd, ɵɵelementStart} from '../../../../src/render3/instructions/element';
|
||||||
import {refreshView} from '../../../../src/render3/instructions/shared';
|
import {refreshView} from '../../../../src/render3/instructions/shared';
|
||||||
|
import {ɵɵstyleProp} from '../../../../src/render3/instructions/styling';
|
||||||
import {RenderFlags} from '../../../../src/render3/interfaces/definition';
|
import {RenderFlags} from '../../../../src/render3/interfaces/definition';
|
||||||
import {TVIEW} from '../../../../src/render3/interfaces/view';
|
import {TVIEW} from '../../../../src/render3/interfaces/view';
|
||||||
import {ɵɵstyleProp} from '../../../../src/render3/styling/instructions';
|
|
||||||
import {createBenchmark} from '../micro_bench';
|
import {createBenchmark} from '../micro_bench';
|
||||||
import {setupRootViewWithEmbeddedViews} from '../setup';
|
import {setupRootViewWithEmbeddedViews} from '../setup';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue