@taiga-ui/cdk 3.11.0 → 3.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/abstract/dialog.service.d.ts +1 -1
- package/bundles/taiga-ui-cdk-abstract.umd.js +1 -1
- package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-coercion.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-constants.umd.js +1 -1
- package/bundles/taiga-ui-cdk-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-checked.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-droppable.umd.js +3 -1
- package/bundles/taiga-ui-cdk-directives-droppable.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-element.umd.js +18 -332
- package/bundles/taiga-ui-cdk-directives-element.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-for-async.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.js +3 -1
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js +3 -1
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-observables.umd.js +16 -16
- package/bundles/taiga-ui-cdk-observables.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-services.umd.js +9 -3
- package/bundles/taiga-ui-cdk-services.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-focus.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-math.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-svg.umd.js +5 -2
- package/bundles/taiga-ui-cdk-utils-svg.umd.js.map +1 -1
- package/coercion/coerce-boolean-property.d.ts +1 -1
- package/constants/version.d.ts +1 -1
- package/constants/version.js +1 -1
- package/date-time/time.d.ts +1 -1
- package/date-time/year.d.ts +1 -1
- package/directives/auto-focus/autofocus.directive.d.ts +1 -1
- package/directives/checked/checked.directive.d.ts +1 -1
- package/directives/droppable/droppable.directive.d.ts +1 -1
- package/directives/element/element.directive.d.ts +2 -1
- package/directives/for-async/for-async.directive.d.ts +1 -1
- package/directives/overscroll/overscroll.directive.d.ts +1 -1
- package/directives/prevent-default/prevent-default.directive.d.ts +1 -1
- package/esm2015/abstract/dialog.directive.js +3 -3
- package/esm2015/abstract/dialog.service.js +1 -1
- package/esm2015/coercion/coerce-boolean-property.js +1 -1
- package/esm2015/constants/version.js +2 -2
- package/esm2015/date-time/time.js +1 -1
- package/esm2015/date-time/year.js +1 -1
- package/esm2015/directives/auto-focus/autofocus.directive.js +1 -1
- package/esm2015/directives/checked/checked.directive.js +1 -1
- package/esm2015/directives/droppable/droppable.directive.js +5 -3
- package/esm2015/directives/element/element.directive.js +18 -4
- package/esm2015/directives/for-async/for-async.directive.js +1 -1
- package/esm2015/directives/overscroll/overscroll.directive.js +5 -3
- package/esm2015/directives/prevent-default/prevent-default.directive.js +5 -3
- package/esm2015/interfaces/alert-context.js +1 -1
- package/esm2015/interfaces/swipe.js +1 -1
- package/esm2015/interfaces/zoom.js +1 -1
- package/esm2015/observables/control-value.js +15 -0
- package/esm2015/observables/index.js +2 -2
- package/esm2015/observables/must-be-present.js +1 -1
- package/esm2015/services/focus-visible.service.js +5 -3
- package/esm2015/services/obscured.service.js +4 -2
- package/esm2015/services/resize.service.js +5 -3
- package/esm2015/types/autocomplete.js +1 -1
- package/esm2015/types/dialog.js +1 -1
- package/esm2015/types/event-with.js +1 -1
- package/esm2015/types/input-mode.js +1 -1
- package/esm2015/types/input-type.js +1 -1
- package/esm2015/types/overscroll-mode.js +1 -1
- package/esm2015/types/time-mode.js +1 -1
- package/esm2015/utils/dom/element-checks.js +1 -1
- package/esm2015/utils/focus/set-native-mouse-focused.js +1 -1
- package/esm2015/utils/math/to-int.js +1 -1
- package/esm2015/utils/svg/svg-linear-gradient-processor.js +6 -3
- package/fesm2015/taiga-ui-cdk-abstract.js +2 -2
- package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-coercion.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-constants.js +1 -1
- package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-checked.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-droppable.js +4 -2
- package/fesm2015/taiga-ui-cdk-directives-droppable.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-element.js +17 -3
- package/fesm2015/taiga-ui-cdk-directives-element.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-for-async.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-overscroll.js +4 -2
- package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-prevent-default.js +4 -2
- package/fesm2015/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-observables.js +15 -15
- package/fesm2015/taiga-ui-cdk-observables.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-services.js +10 -4
- package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-math.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-svg.js +5 -2
- package/fesm2015/taiga-ui-cdk-utils-svg.js.map +1 -1
- package/interfaces/alert-context.d.ts +1 -1
- package/interfaces/swipe.d.ts +1 -1
- package/interfaces/zoom.d.ts +1 -1
- package/observables/{replay-control-value-changes.d.ts → control-value.d.ts} +0 -0
- package/observables/index.d.ts +1 -1
- package/observables/must-be-present.d.ts +1 -1
- package/package.json +5 -5
- package/schematics/constants/file-globs.js +2 -2
- package/schematics/constants/taiga-styles.js +4 -4
- package/schematics/ng-add/constants/modules.d.ts +4 -4
- package/schematics/ng-add/constants/modules.js +12 -12
- package/schematics/ng-add/constants/packages.js +1 -1
- package/schematics/ng-add/constants/versions.js +3 -3
- package/schematics/ng-add/index.d.ts +2 -2
- package/schematics/ng-add/index.js +11 -12
- package/schematics/ng-add/schema.d.ts +9 -2
- package/schematics/ng-add/schema.json +1 -1
- package/schematics/ng-add/setup-project.d.ts +2 -2
- package/schematics/ng-add/steps/add-taiga-icons.d.ts +3 -3
- package/schematics/ng-add/steps/add-taiga-icons.js +8 -9
- package/schematics/ng-add/steps/add-taiga-modules.d.ts +2 -2
- package/schematics/ng-add/steps/add-taiga-modules.js +7 -7
- package/schematics/ng-add/steps/add-taiga-styles.d.ts +2 -2
- package/schematics/ng-add/steps/add-taiga-styles.js +3 -4
- package/schematics/ng-add/steps/wrap-with-tui-root.d.ts +2 -2
- package/schematics/ng-add/steps/wrap-with-tui-root.js +14 -14
- package/schematics/ng-update/constants/consts.d.ts +1 -1
- package/schematics/ng-update/constants/consts.js +177 -177
- package/schematics/ng-update/constants/deprecated-functions.js +410 -405
- package/schematics/ng-update/constants/enums.js +123 -123
- package/schematics/ng-update/constants/modules.js +4 -4
- package/schematics/ng-update/constants/services.d.ts +2 -2
- package/schematics/ng-update/constants/services.js +16 -16
- package/schematics/ng-update/constants/templates.d.ts +1 -1
- package/schematics/ng-update/constants/templates.js +276 -276
- package/schematics/ng-update/constants/tui-interactive-selectors.js +50 -50
- package/schematics/ng-update/constants/types.d.ts +1 -1
- package/schematics/ng-update/constants/types.js +87 -87
- package/schematics/ng-update/constants/warnings.js +62 -62
- package/schematics/ng-update/index.d.ts +3 -3
- package/schematics/ng-update/index.js +44 -40
- package/schematics/ng-update/interfaces/asset.d.ts +6 -0
- package/schematics/ng-update/interfaces/asset.js +2 -0
- package/schematics/ng-update/steps/migrate-date-time.d.ts +2 -1
- package/schematics/ng-update/steps/migrate-date-time.js +55 -49
- package/schematics/ng-update/steps/migrate-polymorpheus.d.ts +1 -1
- package/schematics/ng-update/steps/migrate-polymorpheus.js +14 -14
- package/schematics/ng-update/steps/migrate-progress.d.ts +2 -1
- package/schematics/ng-update/steps/migrate-progress.js +16 -12
- package/schematics/ng-update/steps/migrate-sliders/index.d.ts +2 -1
- package/schematics/ng-update/steps/migrate-sliders/index.js +13 -9
- package/schematics/ng-update/steps/migrate-sliders/migrate-input-range.d.ts +2 -1
- package/schematics/ng-update/steps/migrate-sliders/migrate-input-range.js +35 -33
- package/schematics/ng-update/steps/migrate-sliders/migrate-input-slider.d.ts +2 -1
- package/schematics/ng-update/steps/migrate-sliders/migrate-input-slider.js +34 -33
- package/schematics/ng-update/steps/migrate-taiga-proprietary-icons.d.ts +2 -2
- package/schematics/ng-update/steps/migrate-taiga-proprietary-icons.js +29 -27
- package/schematics/ng-update/steps/migrate-templates.d.ts +2 -1
- package/schematics/ng-update/steps/migrate-templates.js +36 -32
- package/schematics/ng-update/steps/migrate-textfield-controller.d.ts +1 -1
- package/schematics/ng-update/steps/migrate-textfield-controller.js +34 -34
- package/schematics/ng-update/steps/miscellaneous.d.ts +2 -1
- package/schematics/ng-update/steps/miscellaneous.js +21 -19
- package/schematics/ng-update/steps/remove-module.d.ts +2 -1
- package/schematics/ng-update/steps/remove-module.js +6 -4
- package/schematics/ng-update/steps/rename-types.d.ts +2 -1
- package/schematics/ng-update/steps/rename-types.js +10 -8
- package/schematics/ng-update/steps/replace-const.d.ts +2 -1
- package/schematics/ng-update/steps/replace-const.js +8 -6
- package/schematics/ng-update/steps/replace-deep-import.d.ts +2 -1
- package/schematics/ng-update/steps/replace-deep-import.js +10 -5
- package/schematics/ng-update/steps/replace-enums.d.ts +2 -1
- package/schematics/ng-update/steps/replace-enums.js +8 -6
- package/schematics/ng-update/steps/replace-functions.d.ts +2 -1
- package/schematics/ng-update/steps/replace-functions.js +17 -15
- package/schematics/ng-update/steps/replace-services.d.ts +2 -1
- package/schematics/ng-update/steps/replace-services.js +13 -11
- package/schematics/ng-update/steps/replace-styles.js +7 -5
- package/schematics/ng-update/steps/show-warnings.js +2 -2
- package/schematics/ng-update/v3-5/steps/migrate-expand-templates.d.ts +2 -1
- package/schematics/ng-update/v3-5/steps/migrate-expand-templates.js +12 -10
- package/schematics/utils/add-import-to-closest-module.js +2 -2
- package/schematics/utils/add-unique-import.js +1 -1
- package/schematics/utils/angular/ng-component.js +1 -1
- package/schematics/utils/angular/ng-module.js +1 -1
- package/schematics/utils/angular-json-manipulations.d.ts +3 -3
- package/schematics/utils/angular-json-manipulations.js +52 -37
- package/schematics/utils/colored-log.js +5 -5
- package/schematics/utils/create-angular-json.d.ts +1 -0
- package/schematics/utils/create-angular-json.js +28 -2
- package/schematics/utils/get-named-import-references.d.ts +1 -1
- package/schematics/utils/get-named-import-references.js +2 -2
- package/schematics/utils/get-project-target-options.d.ts +1 -1
- package/schematics/utils/get-project-target-options.js +1 -1
- package/schematics/utils/get-projects.d.ts +3 -0
- package/schematics/utils/get-projects.js +15 -0
- package/schematics/utils/progress.js +2 -2
- package/schematics/utils/replace-tag.d.ts +1 -1
- package/schematics/utils/replace-tag.js +4 -4
- package/schematics/utils/templates/elements.js +4 -4
- package/schematics/utils/templates/get-component-templates.js +6 -6
- package/schematics/utils/templates/ng-component-input-manipulations.d.ts +4 -4
- package/schematics/utils/templates/ng-component-input-manipulations.js +7 -7
- package/schematics/utils/templates/template-resource.d.ts +1 -1
- package/schematics/utils/templates/template-resource.js +3 -3
- package/services/focus-visible.service.d.ts +1 -1
- package/services/obscured.service.d.ts +2 -2
- package/services/resize.service.d.ts +1 -1
- package/types/autocomplete.d.ts +1 -1
- package/types/dialog.d.ts +2 -2
- package/types/event-with.d.ts +2 -2
- package/types/input-mode.d.ts +1 -1
- package/types/input-type.d.ts +1 -1
- package/types/overscroll-mode.d.ts +1 -1
- package/types/time-mode.d.ts +1 -1
- package/utils/dom/element-checks.d.ts +1 -1
- package/utils/focus/set-native-mouse-focused.d.ts +1 -1
- package/utils/math/to-int.d.ts +1 -1
- package/utils/svg/svg-linear-gradient-processor.d.ts +2 -1
- package/esm2015/observables/replay-control-value-changes.js +0 -15
- package/schematics/ng-update/constants/functions.d.ts +0 -0
- package/schematics/ng-update/constants/functions.js +0 -1
- package/schematics/utils/get-project.d.ts +0 -3
- package/schematics/utils/get-project.js +0 -13
|
@@ -1,647 +1,647 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TEMPLATE_COMMENTS = exports.TRUTHY_BOOLEAN_INPUT_TO_HTML_BINARY_ATTRIBUTE = exports.ATTR_TO_DIRECTIVE = exports.TAGS_TO_REPLACE = exports.INPUTS_TO_REMOVE = exports.ATTRS_TO_REPLACE = void 0;
|
|
4
|
-
const tui_interactive_selectors_1 = require("./tui-interactive-selectors");
|
|
5
4
|
const elements_1 = require("../../utils/templates/elements");
|
|
5
|
+
const tui_interactive_selectors_1 = require("./tui-interactive-selectors");
|
|
6
6
|
exports.ATTRS_TO_REPLACE = [
|
|
7
7
|
{
|
|
8
|
-
from: { attrName:
|
|
9
|
-
to: { attrName:
|
|
8
|
+
from: { attrName: `tuiResizableColumn`, withAttrsNames: [`tuiResizableColumn`] },
|
|
9
|
+
to: { attrName: `tuiTh [resizable]="true"` },
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
from: {
|
|
13
|
-
attrName:
|
|
13
|
+
attrName: `new`,
|
|
14
14
|
withTagNames: [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
`tui-editor`,
|
|
16
|
+
`tui-range`,
|
|
17
|
+
`tui-input-range`,
|
|
18
|
+
`tui-input-slider`,
|
|
19
|
+
`tui-feed-item`,
|
|
20
20
|
],
|
|
21
21
|
},
|
|
22
|
-
to: { attrName:
|
|
22
|
+
to: { attrName: `` },
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
from: {
|
|
26
|
-
attrName:
|
|
27
|
-
withTagNames: [
|
|
28
|
-
withAttrsNames: [
|
|
26
|
+
attrName: `[hovered]`,
|
|
27
|
+
withTagNames: [`tui-wrapper`],
|
|
28
|
+
withAttrsNames: [`tuiWrapper`],
|
|
29
29
|
},
|
|
30
30
|
to: {
|
|
31
|
-
attrName:
|
|
31
|
+
attrName: `[hover]`,
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
from: {
|
|
36
|
-
attrName:
|
|
37
|
-
withTagNames: [
|
|
38
|
-
withAttrsNames: [
|
|
36
|
+
attrName: `[pressed]`,
|
|
37
|
+
withTagNames: [`tui-wrapper`],
|
|
38
|
+
withAttrsNames: [`tuiWrapper`],
|
|
39
39
|
},
|
|
40
40
|
to: {
|
|
41
|
-
attrName:
|
|
41
|
+
attrName: `[active]`,
|
|
42
42
|
},
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
from: {
|
|
46
|
-
attrName:
|
|
47
|
-
withAttrsNames: [
|
|
46
|
+
attrName: `[label]`,
|
|
47
|
+
withAttrsNames: [`tuiLabel`],
|
|
48
48
|
},
|
|
49
49
|
to: {
|
|
50
|
-
attrName:
|
|
50
|
+
attrName: `[tuiLabel]`,
|
|
51
51
|
},
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
from: {
|
|
55
|
-
attrName:
|
|
56
|
-
withAttrsNames: [
|
|
55
|
+
attrName: `label`,
|
|
56
|
+
withAttrsNames: [`tuiLabel`],
|
|
57
57
|
},
|
|
58
58
|
to: {
|
|
59
|
-
attrName:
|
|
59
|
+
attrName: `tuiLabel`,
|
|
60
60
|
},
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
from: {
|
|
64
|
-
attrName:
|
|
65
|
-
withAttrsNames: [
|
|
64
|
+
attrName: `[state]`,
|
|
65
|
+
withAttrsNames: [`tuiStep`],
|
|
66
66
|
},
|
|
67
67
|
to: {
|
|
68
|
-
attrName:
|
|
68
|
+
attrName: `[stepState]`,
|
|
69
69
|
},
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
from: {
|
|
73
|
-
attrName:
|
|
74
|
-
withAttrsNames: [
|
|
73
|
+
attrName: `state`,
|
|
74
|
+
withAttrsNames: [`tuiStep`],
|
|
75
75
|
},
|
|
76
76
|
to: {
|
|
77
|
-
attrName:
|
|
77
|
+
attrName: `stepState`,
|
|
78
78
|
},
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
from: {
|
|
82
|
-
attrName:
|
|
83
|
-
withTagNames: [
|
|
84
|
-
withAttrsNames: [
|
|
82
|
+
attrName: `[focused]`,
|
|
83
|
+
withTagNames: [`tui-wrapper`],
|
|
84
|
+
withAttrsNames: [`tuiWrapper`],
|
|
85
85
|
},
|
|
86
86
|
to: {
|
|
87
|
-
attrName:
|
|
87
|
+
attrName: `[focus]`,
|
|
88
88
|
},
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
from: {
|
|
92
|
-
attrName:
|
|
92
|
+
attrName: `[pseudoPressed]`,
|
|
93
93
|
withTagNames: tui_interactive_selectors_1.TUI_INTERACTIVE_SELECTORS,
|
|
94
94
|
},
|
|
95
95
|
to: {
|
|
96
|
-
attrName:
|
|
96
|
+
attrName: `[pseudoActive]`,
|
|
97
97
|
},
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
from: {
|
|
101
|
-
attrName:
|
|
101
|
+
attrName: `[pseudoHovered]`,
|
|
102
102
|
withTagNames: tui_interactive_selectors_1.TUI_INTERACTIVE_SELECTORS,
|
|
103
103
|
},
|
|
104
104
|
to: {
|
|
105
|
-
attrName:
|
|
105
|
+
attrName: `[pseudoHover]`,
|
|
106
106
|
},
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
109
|
from: {
|
|
110
|
-
attrName:
|
|
110
|
+
attrName: `[pseudoFocused]`,
|
|
111
111
|
withTagNames: tui_interactive_selectors_1.TUI_INTERACTIVE_SELECTORS,
|
|
112
112
|
},
|
|
113
113
|
to: {
|
|
114
|
-
attrName:
|
|
114
|
+
attrName: `[pseudoFocus]`,
|
|
115
115
|
},
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
from: {
|
|
119
|
-
attrName:
|
|
120
|
-
withAttrsNames: [
|
|
119
|
+
attrName: `[pseudoHovered]`,
|
|
120
|
+
withAttrsNames: [`tuiButton`, `tuiIconButton`],
|
|
121
121
|
},
|
|
122
122
|
to: {
|
|
123
|
-
attrName:
|
|
123
|
+
attrName: `[pseudoHover]`,
|
|
124
124
|
},
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
from: {
|
|
128
|
-
attrName:
|
|
129
|
-
withAttrsNames: [
|
|
128
|
+
attrName: `[pseudoFocused]`,
|
|
129
|
+
withAttrsNames: [`tuiButton`, `tuiIconButton`],
|
|
130
130
|
},
|
|
131
131
|
to: {
|
|
132
|
-
attrName:
|
|
132
|
+
attrName: `[pseudoFocus]`,
|
|
133
133
|
},
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
from: {
|
|
137
|
-
attrName:
|
|
138
|
-
withAttrsNames: [
|
|
137
|
+
attrName: `[pseudoPressed]`,
|
|
138
|
+
withAttrsNames: [`tuiButton`, `tuiIconButton`],
|
|
139
139
|
},
|
|
140
140
|
to: {
|
|
141
|
-
attrName:
|
|
141
|
+
attrName: `[pseudoActive]`,
|
|
142
142
|
},
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
from: {
|
|
146
|
-
attrName:
|
|
147
|
-
withTagNames: [
|
|
146
|
+
attrName: `(rangeChange)`,
|
|
147
|
+
withTagNames: [`tui-calendar-range`],
|
|
148
148
|
},
|
|
149
149
|
to: {
|
|
150
|
-
attrName:
|
|
150
|
+
attrName: `(valueChange)`,
|
|
151
151
|
},
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
from: {
|
|
155
|
-
attrName:
|
|
156
|
-
withAttrsNames: [
|
|
157
|
-
withTagNames: [
|
|
155
|
+
attrName: `[quantum]`,
|
|
156
|
+
withAttrsNames: [`tuiSlider`],
|
|
157
|
+
withTagNames: [`tui-slider`],
|
|
158
158
|
},
|
|
159
159
|
to: {
|
|
160
|
-
attrName:
|
|
160
|
+
attrName: `[step]`,
|
|
161
161
|
},
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
164
|
from: {
|
|
165
|
-
attrName:
|
|
166
|
-
withTagNames: [
|
|
165
|
+
attrName: `[quantum]`,
|
|
166
|
+
withTagNames: [`tui-range`],
|
|
167
167
|
},
|
|
168
168
|
to: {
|
|
169
|
-
attrName:
|
|
169
|
+
attrName: `[step]`,
|
|
170
170
|
},
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
from: {
|
|
174
|
-
attrName:
|
|
175
|
-
withTagNames: [
|
|
174
|
+
attrName: `*tuiTab`,
|
|
175
|
+
withTagNames: [`*`],
|
|
176
176
|
},
|
|
177
177
|
to: {
|
|
178
|
-
attrName:
|
|
178
|
+
attrName: `*tuiItem`,
|
|
179
179
|
},
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
182
|
from: {
|
|
183
|
-
attrName:
|
|
184
|
-
withTagNames: [
|
|
183
|
+
attrName: `*tuiBreadcrumb`,
|
|
184
|
+
withTagNames: [`*`],
|
|
185
185
|
},
|
|
186
186
|
to: {
|
|
187
|
-
attrName:
|
|
187
|
+
attrName: `*tuiItem`,
|
|
188
188
|
},
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
191
|
from: {
|
|
192
|
-
attrName:
|
|
193
|
-
withTagNames: [
|
|
192
|
+
attrName: `tuiToolbarTool`,
|
|
193
|
+
withTagNames: [`*`],
|
|
194
194
|
},
|
|
195
195
|
to: {
|
|
196
|
-
attrName:
|
|
196
|
+
attrName: `tuiItem`,
|
|
197
197
|
},
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
from: {
|
|
201
|
-
attrName:
|
|
202
|
-
withTagNames: [
|
|
201
|
+
attrName: `tuiManualHint`,
|
|
202
|
+
withTagNames: [`*`],
|
|
203
203
|
},
|
|
204
204
|
to: {
|
|
205
|
-
attrName:
|
|
205
|
+
attrName: `tuiHint`,
|
|
206
206
|
},
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
209
|
from: {
|
|
210
|
-
attrName:
|
|
211
|
-
withTagNames: [
|
|
210
|
+
attrName: `[tuiManualHint]`,
|
|
211
|
+
withTagNames: [`*`],
|
|
212
212
|
},
|
|
213
213
|
to: {
|
|
214
|
-
attrName:
|
|
214
|
+
attrName: `[tuiHint]`,
|
|
215
215
|
},
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
218
|
from: {
|
|
219
|
-
attrName:
|
|
220
|
-
withTagNames: [
|
|
219
|
+
attrName: `[tuiManualHintShow]`,
|
|
220
|
+
withTagNames: [`*`],
|
|
221
221
|
},
|
|
222
222
|
to: {
|
|
223
|
-
attrName:
|
|
223
|
+
attrName: `[tuiHintManual]`,
|
|
224
224
|
},
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
227
|
from: {
|
|
228
|
-
attrName:
|
|
229
|
-
withTagNames: [
|
|
228
|
+
attrName: `[tuiPointerHint]`,
|
|
229
|
+
withTagNames: [`*`],
|
|
230
230
|
},
|
|
231
231
|
to: {
|
|
232
|
-
attrName:
|
|
232
|
+
attrName: `tuiHintPointer [tuiHint]`,
|
|
233
233
|
},
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
236
|
from: {
|
|
237
|
-
attrName:
|
|
238
|
-
withTagNames: [
|
|
237
|
+
attrName: `tuiPointerHint`,
|
|
238
|
+
withTagNames: [`*`],
|
|
239
239
|
},
|
|
240
240
|
to: {
|
|
241
|
-
attrName:
|
|
241
|
+
attrName: `tuiHintPointer tuiHint`,
|
|
242
242
|
},
|
|
243
243
|
},
|
|
244
244
|
{
|
|
245
245
|
from: {
|
|
246
|
-
attrName:
|
|
247
|
-
withTagNames: [
|
|
246
|
+
attrName: `messageMode`,
|
|
247
|
+
withTagNames: [`tui-input-copy`],
|
|
248
248
|
},
|
|
249
249
|
to: {
|
|
250
|
-
attrName:
|
|
250
|
+
attrName: `messageAppearance`,
|
|
251
251
|
},
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
254
|
from: {
|
|
255
|
-
attrName:
|
|
256
|
-
withTagNames: [
|
|
255
|
+
attrName: `[messageMode]`,
|
|
256
|
+
withTagNames: [`tui-input-copy`],
|
|
257
257
|
},
|
|
258
258
|
to: {
|
|
259
|
-
attrName:
|
|
259
|
+
attrName: `[messageAppearance]`,
|
|
260
260
|
},
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
263
|
from: {
|
|
264
|
-
attrName:
|
|
265
|
-
withTagNames: [
|
|
264
|
+
attrName: `[hintMode]`,
|
|
265
|
+
withTagNames: [`tui-bar-chart`],
|
|
266
266
|
},
|
|
267
267
|
to: {
|
|
268
|
-
attrName:
|
|
268
|
+
attrName: `[tuiHintAppearance]`,
|
|
269
269
|
},
|
|
270
270
|
},
|
|
271
271
|
{
|
|
272
272
|
from: {
|
|
273
|
-
attrName:
|
|
274
|
-
withTagNames: [
|
|
273
|
+
attrName: `tuiHintMode`,
|
|
274
|
+
withTagNames: [`*`],
|
|
275
275
|
},
|
|
276
276
|
to: {
|
|
277
|
-
attrName:
|
|
277
|
+
attrName: `tuiHintAppearance`,
|
|
278
278
|
},
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
from: {
|
|
282
|
-
attrName:
|
|
283
|
-
withTagNames: [
|
|
282
|
+
attrName: `[tuiHintMode]`,
|
|
283
|
+
withTagNames: [`*`],
|
|
284
284
|
},
|
|
285
285
|
to: {
|
|
286
|
-
attrName:
|
|
286
|
+
attrName: `[tuiHintAppearance]`,
|
|
287
287
|
},
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
290
|
from: {
|
|
291
|
-
attrName:
|
|
292
|
-
withTagNames: [
|
|
291
|
+
attrName: `mode`,
|
|
292
|
+
withTagNames: [`tui-tooltip`],
|
|
293
293
|
},
|
|
294
294
|
to: {
|
|
295
|
-
attrName:
|
|
295
|
+
attrName: `appearance`,
|
|
296
296
|
},
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
299
|
from: {
|
|
300
|
-
attrName:
|
|
301
|
-
withTagNames: [
|
|
300
|
+
attrName: `[mode]`,
|
|
301
|
+
withTagNames: [`tui-tooltip`],
|
|
302
302
|
},
|
|
303
303
|
to: {
|
|
304
|
-
attrName:
|
|
304
|
+
attrName: `[appearance]`,
|
|
305
305
|
},
|
|
306
306
|
},
|
|
307
307
|
{
|
|
308
308
|
from: {
|
|
309
|
-
attrName:
|
|
310
|
-
withTagNames: [
|
|
309
|
+
attrName: `[itemLabel]`,
|
|
310
|
+
withTagNames: [`tui-feed-item`],
|
|
311
311
|
},
|
|
312
312
|
to: {
|
|
313
|
-
attrName:
|
|
313
|
+
attrName: `[description]`,
|
|
314
314
|
},
|
|
315
315
|
},
|
|
316
316
|
{
|
|
317
317
|
from: {
|
|
318
|
-
attrName:
|
|
319
|
-
withTagNames: [
|
|
318
|
+
attrName: `[itemValue]`,
|
|
319
|
+
withTagNames: [`tui-feed-item`],
|
|
320
320
|
},
|
|
321
321
|
to: {
|
|
322
|
-
attrName:
|
|
322
|
+
attrName: `[title]`,
|
|
323
323
|
},
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
326
|
from: {
|
|
327
|
-
attrName:
|
|
328
|
-
withTagNames: [
|
|
327
|
+
attrName: `[sumLabel]`,
|
|
328
|
+
withTagNames: [`tui-feed-item`],
|
|
329
329
|
},
|
|
330
330
|
to: {
|
|
331
|
-
attrName:
|
|
331
|
+
attrName: `[secondaryDescription]`,
|
|
332
332
|
},
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
335
|
from: {
|
|
336
|
-
attrName:
|
|
337
|
-
withTagNames: [
|
|
336
|
+
attrName: `[sumValue]`,
|
|
337
|
+
withTagNames: [`tui-feed-item`],
|
|
338
338
|
},
|
|
339
339
|
to: {
|
|
340
|
-
attrName:
|
|
340
|
+
attrName: `[secondaryTitle]`,
|
|
341
341
|
},
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
344
|
from: {
|
|
345
|
-
attrName:
|
|
346
|
-
withTagNames: [
|
|
345
|
+
attrName: `tuiDropdown`,
|
|
346
|
+
withTagNames: [`*`],
|
|
347
347
|
},
|
|
348
348
|
to: {
|
|
349
|
-
attrName:
|
|
349
|
+
attrName: `tuiDropdownManual`,
|
|
350
350
|
},
|
|
351
351
|
},
|
|
352
352
|
{
|
|
353
353
|
from: {
|
|
354
|
-
attrName:
|
|
355
|
-
withTagNames: [
|
|
354
|
+
attrName: `[tuiDropdown]`,
|
|
355
|
+
withTagNames: [`*`],
|
|
356
356
|
},
|
|
357
357
|
to: {
|
|
358
|
-
attrName:
|
|
358
|
+
attrName: `[tuiDropdownManual]`,
|
|
359
359
|
},
|
|
360
360
|
},
|
|
361
361
|
{
|
|
362
362
|
from: {
|
|
363
|
-
attrName:
|
|
364
|
-
withTagNames: [
|
|
363
|
+
attrName: `tuiDropdownContent`,
|
|
364
|
+
withTagNames: [`*`],
|
|
365
365
|
},
|
|
366
366
|
to: {
|
|
367
|
-
attrName:
|
|
367
|
+
attrName: `tuiDropdown`,
|
|
368
368
|
},
|
|
369
369
|
},
|
|
370
370
|
{
|
|
371
371
|
from: {
|
|
372
|
-
attrName:
|
|
373
|
-
withTagNames: [
|
|
372
|
+
attrName: `[tuiDropdownContent]`,
|
|
373
|
+
withTagNames: [`*`],
|
|
374
374
|
},
|
|
375
375
|
to: {
|
|
376
|
-
attrName:
|
|
376
|
+
attrName: `[tuiDropdown]`,
|
|
377
377
|
},
|
|
378
378
|
},
|
|
379
379
|
{
|
|
380
380
|
from: {
|
|
381
|
-
attrName:
|
|
382
|
-
withTagNames: [
|
|
381
|
+
attrName: `tuiTextfieldExampleText`,
|
|
382
|
+
withTagNames: [`tui-input-tag`, `tui-multi-select`],
|
|
383
383
|
},
|
|
384
384
|
to: {
|
|
385
|
-
attrName:
|
|
385
|
+
attrName: `placeholder`,
|
|
386
386
|
},
|
|
387
387
|
},
|
|
388
388
|
{
|
|
389
389
|
from: {
|
|
390
|
-
attrName:
|
|
391
|
-
withTagNames: [
|
|
390
|
+
attrName: `tuiTextfieldMaxLength`,
|
|
391
|
+
withTagNames: [`tui-input-tag`, `tui-text-area`],
|
|
392
392
|
},
|
|
393
393
|
to: {
|
|
394
|
-
attrName:
|
|
394
|
+
attrName: `maxLength`,
|
|
395
395
|
},
|
|
396
396
|
},
|
|
397
397
|
{
|
|
398
398
|
from: {
|
|
399
|
-
attrName:
|
|
400
|
-
withTagNames: [
|
|
399
|
+
attrName: `[tuiTextfieldExampleText]`,
|
|
400
|
+
withTagNames: [`tui-input-tag`, `tui-multi-select`],
|
|
401
401
|
},
|
|
402
402
|
to: {
|
|
403
|
-
attrName:
|
|
403
|
+
attrName: `[placeholder]`,
|
|
404
404
|
},
|
|
405
405
|
},
|
|
406
406
|
{
|
|
407
407
|
from: {
|
|
408
|
-
attrName:
|
|
409
|
-
withTagNames: [
|
|
408
|
+
attrName: `[tuiTextfieldMaxLength]`,
|
|
409
|
+
withTagNames: [`tui-input-tag`, `tui-text-area`],
|
|
410
410
|
},
|
|
411
411
|
to: {
|
|
412
|
-
attrName:
|
|
412
|
+
attrName: `[maxLength]`,
|
|
413
413
|
},
|
|
414
414
|
},
|
|
415
415
|
{
|
|
416
416
|
from: {
|
|
417
|
-
attrName:
|
|
418
|
-
withTagNames: [
|
|
417
|
+
attrName: `[tuiHintId]`,
|
|
418
|
+
withTagNames: [`*`],
|
|
419
419
|
},
|
|
420
420
|
to: {
|
|
421
|
-
attrName:
|
|
421
|
+
attrName: `[tuiHintDescribe]`,
|
|
422
422
|
},
|
|
423
423
|
},
|
|
424
424
|
{
|
|
425
425
|
from: {
|
|
426
|
-
attrName:
|
|
427
|
-
withTagNames: [
|
|
426
|
+
attrName: `tuiHintId`,
|
|
427
|
+
withTagNames: [`*`],
|
|
428
428
|
},
|
|
429
429
|
to: {
|
|
430
|
-
attrName:
|
|
430
|
+
attrName: `tuiHintDescribe`,
|
|
431
431
|
},
|
|
432
432
|
},
|
|
433
433
|
{
|
|
434
434
|
from: {
|
|
435
|
-
attrName:
|
|
436
|
-
withTagNames: [
|
|
435
|
+
attrName: `[tuiDescribedBy]`,
|
|
436
|
+
withTagNames: [`*`],
|
|
437
437
|
},
|
|
438
438
|
to: {
|
|
439
|
-
attrName:
|
|
439
|
+
attrName: `[id]`,
|
|
440
440
|
},
|
|
441
441
|
},
|
|
442
442
|
{
|
|
443
443
|
from: {
|
|
444
|
-
attrName:
|
|
445
|
-
withTagNames: [
|
|
444
|
+
attrName: `tuiDescribedBy`,
|
|
445
|
+
withTagNames: [`*`],
|
|
446
446
|
},
|
|
447
447
|
to: {
|
|
448
|
-
attrName:
|
|
448
|
+
attrName: `id`,
|
|
449
449
|
},
|
|
450
450
|
},
|
|
451
451
|
{
|
|
452
452
|
from: {
|
|
453
453
|
attrName: `[tuiDropdownSided]`,
|
|
454
|
-
withTagNames: [
|
|
454
|
+
withTagNames: [`tui-hosted-dropdown`],
|
|
455
455
|
},
|
|
456
456
|
to: {
|
|
457
|
-
attrName:
|
|
457
|
+
attrName: `[sided]`,
|
|
458
458
|
},
|
|
459
459
|
},
|
|
460
460
|
{
|
|
461
461
|
from: {
|
|
462
462
|
attrName: `tuiDropdownSided`,
|
|
463
|
-
withTagNames: [
|
|
463
|
+
withTagNames: [`tui-hosted-dropdown`],
|
|
464
464
|
},
|
|
465
465
|
to: {
|
|
466
|
-
attrName:
|
|
466
|
+
attrName: `[sided]="true"`,
|
|
467
467
|
},
|
|
468
468
|
},
|
|
469
469
|
];
|
|
470
470
|
exports.INPUTS_TO_REMOVE = [
|
|
471
471
|
{
|
|
472
|
-
inputName:
|
|
473
|
-
tags: [
|
|
472
|
+
inputName: `iconAlign`,
|
|
473
|
+
tags: [`tui-input`, `tui-primitive-textfield`, `tui-input-tag`],
|
|
474
474
|
},
|
|
475
475
|
{
|
|
476
|
-
inputName:
|
|
477
|
-
tags: [
|
|
476
|
+
inputName: `tuiLabel`,
|
|
477
|
+
tags: [`label`],
|
|
478
478
|
},
|
|
479
479
|
];
|
|
480
480
|
exports.TAGS_TO_REPLACE = [
|
|
481
481
|
{
|
|
482
|
-
from:
|
|
483
|
-
to:
|
|
484
|
-
addAttributes: [
|
|
482
|
+
from: `tui-group`,
|
|
483
|
+
to: `div`,
|
|
484
|
+
addAttributes: [`tuiGroup`],
|
|
485
485
|
},
|
|
486
486
|
{
|
|
487
|
-
from:
|
|
488
|
-
to:
|
|
489
|
-
addAttributes: [
|
|
487
|
+
from: `tui-wrapper`,
|
|
488
|
+
to: `div`,
|
|
489
|
+
addAttributes: [`tuiWrapper`],
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
|
-
from:
|
|
493
|
-
to:
|
|
494
|
-
addAttributes: [
|
|
492
|
+
from: `tui-slider`,
|
|
493
|
+
to: `input`,
|
|
494
|
+
addAttributes: [`tuiSlider`, `type="range"`],
|
|
495
495
|
},
|
|
496
496
|
{
|
|
497
|
-
from:
|
|
498
|
-
to:
|
|
499
|
-
addAttributes: [
|
|
497
|
+
from: `tui-action`,
|
|
498
|
+
to: `button`,
|
|
499
|
+
addAttributes: [`tuiAction`],
|
|
500
500
|
},
|
|
501
501
|
];
|
|
502
502
|
exports.ATTR_TO_DIRECTIVE = [
|
|
503
503
|
{
|
|
504
|
-
componentSelector:
|
|
505
|
-
inputProperty:
|
|
506
|
-
directive:
|
|
504
|
+
componentSelector: `tui-primitive-textfield`,
|
|
505
|
+
inputProperty: `(autofilledChange)`,
|
|
506
|
+
directive: `(tuiAutofilledChange)`,
|
|
507
507
|
directiveModule: {
|
|
508
|
-
name:
|
|
509
|
-
moduleSpecifier:
|
|
508
|
+
name: `TuiAutofilledModule`,
|
|
509
|
+
moduleSpecifier: `@taiga-ui/cdk`,
|
|
510
510
|
},
|
|
511
511
|
},
|
|
512
512
|
{
|
|
513
513
|
componentSelector: tui_interactive_selectors_1.TUI_INTERACTIVE_SELECTORS,
|
|
514
|
-
inputProperty:
|
|
515
|
-
directive:
|
|
514
|
+
inputProperty: `(pressedChange)`,
|
|
515
|
+
directive: `(tuiPressedChange)`,
|
|
516
516
|
directiveModule: {
|
|
517
|
-
name:
|
|
518
|
-
moduleSpecifier:
|
|
517
|
+
name: `TuiPressedModule`,
|
|
518
|
+
moduleSpecifier: `@taiga-ui/cdk`,
|
|
519
519
|
},
|
|
520
520
|
},
|
|
521
521
|
{
|
|
522
522
|
componentSelector: tui_interactive_selectors_1.TUI_INTERACTIVE_SELECTORS,
|
|
523
|
-
inputProperty:
|
|
524
|
-
directive:
|
|
523
|
+
inputProperty: `(hoveredChange)`,
|
|
524
|
+
directive: `(tuiHoveredChange)`,
|
|
525
525
|
directiveModule: {
|
|
526
|
-
name:
|
|
527
|
-
moduleSpecifier:
|
|
526
|
+
name: `TuiHoveredModule`,
|
|
527
|
+
moduleSpecifier: `@taiga-ui/cdk`,
|
|
528
528
|
},
|
|
529
529
|
},
|
|
530
530
|
{
|
|
531
|
-
componentSelector:
|
|
532
|
-
inputProperty:
|
|
533
|
-
directive:
|
|
531
|
+
componentSelector: `tui-input-slider`,
|
|
532
|
+
inputProperty: `size`,
|
|
533
|
+
directive: `tuiTextfieldSize`,
|
|
534
534
|
directiveModule: {
|
|
535
|
-
name:
|
|
536
|
-
moduleSpecifier:
|
|
535
|
+
name: `TuiTextfieldControllerModule`,
|
|
536
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
537
537
|
},
|
|
538
538
|
},
|
|
539
539
|
{
|
|
540
|
-
componentSelector:
|
|
541
|
-
inputProperty:
|
|
542
|
-
directive:
|
|
540
|
+
componentSelector: `tui-input-slider`,
|
|
541
|
+
inputProperty: `secondary`,
|
|
542
|
+
directive: `tuiTextfieldCustomContent`,
|
|
543
543
|
directiveModule: {
|
|
544
|
-
name:
|
|
545
|
-
moduleSpecifier:
|
|
544
|
+
name: `TuiTextfieldControllerModule`,
|
|
545
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
546
546
|
},
|
|
547
547
|
},
|
|
548
548
|
{
|
|
549
|
-
componentSelector:
|
|
550
|
-
inputProperty:
|
|
551
|
-
directive:
|
|
549
|
+
componentSelector: `tui-input-range`,
|
|
550
|
+
inputProperty: `size`,
|
|
551
|
+
directive: `tuiTextfieldSize`,
|
|
552
552
|
directiveModule: {
|
|
553
|
-
name:
|
|
554
|
-
moduleSpecifier:
|
|
553
|
+
name: `TuiTextfieldControllerModule`,
|
|
554
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
555
555
|
},
|
|
556
556
|
},
|
|
557
557
|
{
|
|
558
|
-
componentSelector:
|
|
559
|
-
inputProperty:
|
|
560
|
-
directive:
|
|
558
|
+
componentSelector: `tui-input`,
|
|
559
|
+
inputProperty: `icon`,
|
|
560
|
+
directive: `tuiTextfieldIcon`,
|
|
561
561
|
directiveModule: {
|
|
562
|
-
name:
|
|
563
|
-
moduleSpecifier:
|
|
562
|
+
name: `TuiTextfieldControllerModule`,
|
|
563
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
564
564
|
},
|
|
565
|
-
filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name ===
|
|
565
|
+
filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `right`; },
|
|
566
566
|
},
|
|
567
567
|
{
|
|
568
|
-
componentSelector:
|
|
569
|
-
inputProperty:
|
|
570
|
-
directive:
|
|
568
|
+
componentSelector: `tui-input`,
|
|
569
|
+
inputProperty: `icon`,
|
|
570
|
+
directive: `tuiTextfieldIconLeft`,
|
|
571
571
|
directiveModule: {
|
|
572
|
-
name:
|
|
573
|
-
moduleSpecifier:
|
|
572
|
+
name: `TuiTextfieldControllerModule`,
|
|
573
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
574
574
|
},
|
|
575
575
|
filterFn: element => {
|
|
576
576
|
var _a;
|
|
577
|
-
return !elements_1.hasElementAttribute(element,
|
|
578
|
-
((_a = element.attrs.find(attr => attr.name ===
|
|
577
|
+
return !elements_1.hasElementAttribute(element, `iconAlign`) ||
|
|
578
|
+
((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `left`;
|
|
579
579
|
},
|
|
580
580
|
},
|
|
581
581
|
{
|
|
582
|
-
componentSelector:
|
|
583
|
-
inputProperty:
|
|
584
|
-
directive:
|
|
582
|
+
componentSelector: `tui-primitive-textfield`,
|
|
583
|
+
inputProperty: `iconContent`,
|
|
584
|
+
directive: `tuiTextfieldIcon`,
|
|
585
585
|
directiveModule: {
|
|
586
|
-
name:
|
|
587
|
-
moduleSpecifier:
|
|
586
|
+
name: `TuiTextfieldControllerModule`,
|
|
587
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
588
588
|
},
|
|
589
589
|
filterFn: element => {
|
|
590
590
|
var _a;
|
|
591
|
-
return !elements_1.hasElementAttribute(element,
|
|
592
|
-
((_a = element.attrs.find(attr => attr.name ===
|
|
591
|
+
return !elements_1.hasElementAttribute(element, `iconAlign`) ||
|
|
592
|
+
((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `right`;
|
|
593
593
|
},
|
|
594
594
|
},
|
|
595
595
|
{
|
|
596
|
-
componentSelector:
|
|
597
|
-
inputProperty:
|
|
598
|
-
directive:
|
|
596
|
+
componentSelector: `tui-primitive-textfield`,
|
|
597
|
+
inputProperty: `iconContent`,
|
|
598
|
+
directive: `tuiTextfieldIconLeft`,
|
|
599
599
|
directiveModule: {
|
|
600
|
-
name:
|
|
601
|
-
moduleSpecifier:
|
|
600
|
+
name: `TuiTextfieldControllerModule`,
|
|
601
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
602
602
|
},
|
|
603
|
-
filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name ===
|
|
603
|
+
filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `left`; },
|
|
604
604
|
},
|
|
605
605
|
{
|
|
606
|
-
componentSelector:
|
|
607
|
-
inputProperty:
|
|
608
|
-
directive:
|
|
606
|
+
componentSelector: `tui-input-tag`,
|
|
607
|
+
inputProperty: `icon`,
|
|
608
|
+
directive: `tuiTextfieldIcon`,
|
|
609
609
|
directiveModule: {
|
|
610
|
-
name:
|
|
611
|
-
moduleSpecifier:
|
|
610
|
+
name: `TuiTextfieldControllerModule`,
|
|
611
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
612
612
|
},
|
|
613
613
|
filterFn: element => {
|
|
614
614
|
var _a;
|
|
615
|
-
return !elements_1.hasElementAttribute(element,
|
|
616
|
-
((_a = element.attrs.find(attr => attr.name ===
|
|
615
|
+
return !elements_1.hasElementAttribute(element, `iconAlign`) ||
|
|
616
|
+
((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `right`;
|
|
617
617
|
},
|
|
618
618
|
},
|
|
619
619
|
{
|
|
620
|
-
componentSelector:
|
|
621
|
-
inputProperty:
|
|
622
|
-
directive:
|
|
620
|
+
componentSelector: `tui-input-tag`,
|
|
621
|
+
inputProperty: `icon`,
|
|
622
|
+
directive: `tuiTextfieldIconLeft`,
|
|
623
623
|
directiveModule: {
|
|
624
|
-
name:
|
|
625
|
-
moduleSpecifier:
|
|
624
|
+
name: `TuiTextfieldControllerModule`,
|
|
625
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
626
626
|
},
|
|
627
|
-
filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name ===
|
|
627
|
+
filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `left`; },
|
|
628
628
|
},
|
|
629
629
|
{
|
|
630
|
-
componentSelector:
|
|
631
|
-
inputProperty:
|
|
632
|
-
directive:
|
|
630
|
+
componentSelector: `*`,
|
|
631
|
+
inputProperty: `scrollIntoView`,
|
|
632
|
+
directive: `tuiScrollIntoViewLink`,
|
|
633
633
|
directiveModule: {
|
|
634
|
-
name:
|
|
635
|
-
moduleSpecifier:
|
|
634
|
+
name: `TuiScrollIntoViewLinkModule`,
|
|
635
|
+
moduleSpecifier: `@taiga-ui/addon-doc`,
|
|
636
636
|
},
|
|
637
637
|
},
|
|
638
638
|
{
|
|
639
|
-
componentSelector: [
|
|
640
|
-
inputProperty:
|
|
641
|
-
directive:
|
|
639
|
+
componentSelector: [`tui-bar-chart`, `tui-pie-chart`, `tui-line-chart`],
|
|
640
|
+
inputProperty: `hintContent`,
|
|
641
|
+
directive: `tuiHintContent`,
|
|
642
642
|
directiveModule: {
|
|
643
|
-
name:
|
|
644
|
-
moduleSpecifier:
|
|
643
|
+
name: `TuiHintControllerModule`,
|
|
644
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
645
645
|
},
|
|
646
646
|
},
|
|
647
647
|
];
|
|
@@ -653,48 +653,48 @@ exports.ATTR_TO_DIRECTIVE = [
|
|
|
653
653
|
exports.TRUTHY_BOOLEAN_INPUT_TO_HTML_BINARY_ATTRIBUTE = [];
|
|
654
654
|
exports.TEMPLATE_COMMENTS = [
|
|
655
655
|
{
|
|
656
|
-
tag:
|
|
657
|
-
withAttr:
|
|
658
|
-
comment:
|
|
656
|
+
tag: `tui-input-slider`,
|
|
657
|
+
withAttr: `pluralize`,
|
|
658
|
+
comment: `[pluralize] => Use [postfix] instead. See https://taiga-ui.dev/components/input-slider/API?postfix=apples`,
|
|
659
659
|
},
|
|
660
660
|
{
|
|
661
|
-
tag:
|
|
662
|
-
withAttr:
|
|
663
|
-
comment:
|
|
661
|
+
tag: `tui-input-slider`,
|
|
662
|
+
withAttr: `segmentsPluralize`,
|
|
663
|
+
comment: `See examples how create labels for ticks without this property (outside the component): https://taiga-ui.dev/components/input-slider#slider-segments`,
|
|
664
664
|
},
|
|
665
665
|
{
|
|
666
|
-
tag:
|
|
667
|
-
withAttr:
|
|
668
|
-
comment:
|
|
666
|
+
tag: `tui-input-range`,
|
|
667
|
+
withAttr: `segmentsPluralize`,
|
|
668
|
+
comment: `See examples how create labels for ticks without this property (outside the component): https://taiga-ui.dev/components/input-range#segments`,
|
|
669
669
|
},
|
|
670
670
|
{
|
|
671
|
-
tag:
|
|
672
|
-
withAttr:
|
|
673
|
-
comment:
|
|
671
|
+
tag: `tui-range`,
|
|
672
|
+
withAttr: `pluralize`,
|
|
673
|
+
comment: `See examples how create labels for ticks without this property (outside the component): https://taiga-ui.dev/components/range#segments`,
|
|
674
674
|
},
|
|
675
675
|
{
|
|
676
|
-
tag:
|
|
677
|
-
withAttr:
|
|
678
|
-
comment:
|
|
676
|
+
tag: `tui-range`,
|
|
677
|
+
withAttr: `steps`,
|
|
678
|
+
comment: `This component has new API. Use property [step] instead. See: https://taiga-ui.dev/components/range/API`,
|
|
679
679
|
},
|
|
680
680
|
{
|
|
681
|
-
tag:
|
|
682
|
-
withAttr:
|
|
683
|
-
comment:
|
|
681
|
+
tag: `tui-preview-host`,
|
|
682
|
+
withAttr: `ngProjectAs`,
|
|
683
|
+
comment: `"Preview"-component no longer needs it and requires only import of TuiPreviewModule to the main module. See "Setup"-section: https://taiga-ui.dev/components/preview/Setup`,
|
|
684
684
|
},
|
|
685
685
|
{
|
|
686
|
-
tag:
|
|
687
|
-
withAttr:
|
|
688
|
-
comment:
|
|
686
|
+
tag: `tui-progress`,
|
|
687
|
+
withAttr: `value`,
|
|
688
|
+
comment: `This legacy component was replaced by 3 new ones (https://taiga-ui.dev/components/progress-bar | https://taiga-ui.dev/components/progress-circle | https://taiga-ui.dev/components/progress-segmented ) `,
|
|
689
689
|
},
|
|
690
690
|
{
|
|
691
|
-
tag:
|
|
692
|
-
withAttr:
|
|
693
|
-
comment:
|
|
691
|
+
tag: `tui-input-file`,
|
|
692
|
+
withAttr: `loadingFiles`,
|
|
693
|
+
comment: `This legacy component was replaced by new one (https://taiga-ui.dev/components/input-files) `,
|
|
694
694
|
},
|
|
695
695
|
{
|
|
696
|
-
tag:
|
|
697
|
-
withAttr:
|
|
698
|
-
comment:
|
|
696
|
+
tag: `tui-input-tag`,
|
|
697
|
+
withAttr: `allowSpaces`,
|
|
698
|
+
comment: `Use property [separator] to forbid spaces. See example: https://taiga-ui.dev/components/input-tag#no-spaces-inside-tags`,
|
|
699
699
|
},
|
|
700
700
|
];
|