@taiga-ui/cdk 4.0.0-alpha.0 → 4.0.0-rc.10
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/classes/index.d.ts +0 -1
- package/constants/used-icons.d.ts +1 -1
- package/constants/version.d.ts +1 -1
- package/constants/version.js +1 -1
- package/esm2022/classes/index.mjs +1 -2
- package/esm2022/constants/used-icons.mjs +9 -1
- package/esm2022/constants/version.mjs +2 -2
- package/esm2022/directives/auto-focus/autofocus.options.mjs +3 -3
- package/esm2022/directives/copy-processor/copy-processor.directive.mjs +3 -3
- package/esm2022/directives/high-dpi/high-dpi.directive.mjs +3 -3
- package/esm2022/directives/obscured/obscured.service.mjs +3 -3
- package/esm2022/services/index.mjs +2 -2
- package/esm2022/services/scroll.service.mjs +4 -4
- package/esm2022/services/theme-color.service.mjs +30 -0
- package/esm2022/tokens/active-element.mjs +3 -3
- package/esm2022/tokens/environment.mjs +15 -7
- package/esm2022/tokens/removed-element.mjs +3 -3
- package/esm2022/tokens/window-size.mjs +3 -3
- package/esm2022/utils/focus/focused-in.mjs +7 -0
- package/esm2022/utils/focus/index.mjs +2 -1
- package/fesm2022/taiga-ui-cdk-classes.mjs +1 -15
- package/fesm2022/taiga-ui-cdk-classes.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-constants.mjs +9 -1
- package/fesm2022/taiga-ui-cdk-constants.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs +2 -2
- package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs +2 -2
- package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-directives-high-dpi.mjs +2 -2
- package/fesm2022/taiga-ui-cdk-directives-high-dpi.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-directives-obscured.mjs +2 -2
- package/fesm2022/taiga-ui-cdk-directives-obscured.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-services.mjs +22 -25
- package/fesm2022/taiga-ui-cdk-services.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-tokens.mjs +19 -12
- package/fesm2022/taiga-ui-cdk-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-cdk-utils-focus.mjs +8 -2
- package/fesm2022/taiga-ui-cdk-utils-focus.mjs.map +1 -1
- package/package.json +356 -67
- package/schematics/ng-update/interfaces/html-comment.d.ts +3 -2
- package/schematics/ng-update/interfaces/replacement-attribute-value.d.ts +6 -2
- package/schematics/ng-update/interfaces/replacement-identifier.d.ts +4 -10
- package/schematics/ng-update/interfaces/replacement-type.d.ts +4 -0
- package/schematics/ng-update/steps/rename-types.js +6 -2
- package/schematics/ng-update/steps/replace-identifier.js +30 -8
- package/schematics/ng-update/steps/replace-package-name.js +4 -5
- package/schematics/ng-update/utils/templates/replace-attr-values.js +39 -10
- package/schematics/ng-update/utils/templates/template-comments.js +7 -1
- package/schematics/ng-update/v4/index.js +9 -1
- package/schematics/ng-update/v4/migrate-icons/index.js +2 -2
- package/schematics/ng-update/v4/migrate-icons/rename-icons.js +13 -5
- package/schematics/ng-update/v4/migrate-icons/rename-proprietary-icons.d.ts +2 -1
- package/schematics/ng-update/v4/migrate-icons/rename-proprietary-icons.js +19 -6
- package/schematics/ng-update/v4/steps/constants/attr-to-directive-replace.js +3 -2
- package/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.js +44 -3
- package/schematics/ng-update/v4/steps/constants/attrs-to-replace.js +107 -21
- package/schematics/ng-update/v4/steps/constants/html-comments.js +9 -0
- package/schematics/ng-update/v4/steps/constants/identifiers-to-replace.js +552 -213
- package/schematics/ng-update/v4/steps/constants/index.d.ts +1 -0
- package/schematics/ng-update/v4/steps/constants/index.js +1 -0
- package/schematics/ng-update/v4/steps/constants/inputs-to-remove.js +1 -0
- package/schematics/ng-update/v4/steps/constants/migration-warnings.js +20 -0
- package/schematics/ng-update/v4/steps/constants/modules-to-remove.js +20 -0
- package/schematics/ng-update/v4/steps/constants/modules-to-replace.d.ts +7 -6
- package/schematics/ng-update/v4/steps/constants/modules-to-replace.js +1 -0
- package/schematics/ng-update/v4/steps/constants/services.d.ts +2 -0
- package/schematics/ng-update/v4/steps/constants/services.js +15 -0
- package/schematics/ng-update/v4/steps/constants/tags-to-replace.js +14 -2
- package/schematics/ng-update/v4/steps/constants/types.js +33 -1
- package/schematics/ng-update/v4/steps/index.d.ts +4 -1
- package/schematics/ng-update/v4/steps/index.js +4 -1
- package/schematics/ng-update/v4/steps/migrate-alert-service.d.ts +2 -0
- package/schematics/ng-update/v4/steps/migrate-alert-service.js +110 -0
- package/schematics/ng-update/v4/steps/migrate-month-context.d.ts +2 -0
- package/schematics/ng-update/v4/steps/migrate-month-context.js +39 -0
- package/schematics/ng-update/v4/steps/migrate-number-format-settings.d.ts +2 -0
- package/schematics/ng-update/v4/steps/migrate-number-format-settings.js +64 -0
- package/schematics/ng-update/v4/steps/migrate-root.d.ts +3 -0
- package/schematics/ng-update/v4/steps/migrate-root.js +61 -0
- package/schematics/ng-update/v4/steps/migrate-templates.js +10 -2
- package/schematics/ng-update/v4/steps/styles/index.js +38 -0
- package/schematics/ng-update/v4/steps/styles/migrate-less-scss-constants.d.ts +1 -0
- package/schematics/ng-update/v4/steps/styles/migrate-less-scss-constants.js +13 -0
- package/schematics/ng-update/v4/steps/styles/migrate-scrollbar-behavior.d.ts +1 -0
- package/schematics/ng-update/v4/steps/styles/migrate-scrollbar-behavior.js +10 -0
- package/schematics/ng-update/v4/steps/styles/migrate-shadow-mixins.d.ts +1 -0
- package/schematics/ng-update/v4/steps/styles/migrate-shadow-mixins.js +23 -0
- package/schematics/ng-update/v4/steps/styles/migrate-space-mixins.d.ts +1 -0
- package/schematics/ng-update/v4/steps/styles/migrate-space-mixins.js +20 -0
- package/schematics/ng-update/v4/steps/styles/migrate-text-mixins.d.ts +1 -0
- package/schematics/ng-update/v4/steps/styles/migrate-text-mixins.js +54 -0
- package/schematics/ng-update/v4/steps/templates/index.d.ts +6 -0
- package/schematics/ng-update/v4/steps/templates/index.js +6 -0
- package/schematics/ng-update/v4/steps/templates/migrate-avatar.js +10 -5
- package/schematics/ng-update/{v3/steps/migrate-polymorpheus.d.ts → v4/steps/templates/migrate-axes.d.ts} +2 -2
- package/schematics/ng-update/v4/steps/templates/migrate-axes.js +26 -0
- package/schematics/ng-update/v4/steps/templates/migrate-badge.js +15 -6
- package/schematics/ng-update/v4/steps/templates/migrate-badged-content.js +1 -1
- package/schematics/ng-update/{v3/steps/migrate-textfield-controller.d.ts → v4/steps/templates/migrate-blocked.d.ts} +2 -2
- package/schematics/ng-update/v4/steps/templates/migrate-blocked.js +35 -0
- package/schematics/ng-update/v4/steps/templates/migrate-button-appearance.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-button-appearance.js +41 -0
- package/schematics/ng-update/v4/steps/templates/migrate-expandable.js +3 -2
- package/schematics/ng-update/v4/steps/templates/migrate-focusable.js +7 -4
- package/schematics/ng-update/v4/steps/templates/migrate-label.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-label.js +39 -0
- package/schematics/ng-update/v4/steps/templates/migrate-labeled.js +5 -7
- package/schematics/ng-update/v4/steps/templates/migrate-mobile-tabs.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-mobile-tabs.js +45 -0
- package/schematics/ng-update/v4/steps/templates/migrate-notification.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-notification.js +64 -0
- package/schematics/ng-update/v4/steps/templates/migrate-number-precision.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-number-precision.js +36 -0
- package/schematics/ng-update/v4/steps/templates/migrate-overscroll.js +4 -6
- package/schematics/ng-update/v4/steps/templates/migrate-thumbnail-card.js +2 -1
- package/schematics/ng-update/v4/steps/templates/toggles/common.js +3 -2
- package/schematics/ng-update/v4/steps/templates/toggles/migrate-checkbox.js +36 -0
- package/schematics/ng-update/v4/steps/update-packages.js +21 -8
- package/schematics/ng-update/v4/steps/utils/replace-modules-with-providers.d.ts +1 -11
- package/schematics/ng-update/v4/steps/utils/replace-modules-with-providers.js +8 -4
- package/schematics/utils/get-named-import-references.js +4 -2
- package/schematics/utils/templates/elements.js +2 -1
- package/schematics/utils/templates/inputs.js +2 -1
- package/services/index.d.ts +1 -1
- package/services/theme-color.service.d.ts +16 -0
- package/tokens/environment.d.ts +1 -0
- package/utils/focus/focused-in.d.ts +2 -0
- package/utils/focus/index.d.ts +1 -0
- package/classes/controller.d.ts +0 -9
- package/esm2022/classes/controller.mjs +0 -18
- package/esm2022/services/static-request.service.mjs +0 -33
- package/schematics/ng-update/v3/constants/breakpoints.d.ts +0 -82
- package/schematics/ng-update/v3/constants/breakpoints.js +0 -34
- package/schematics/ng-update/v3/constants/constants.d.ts +0 -2
- package/schematics/ng-update/v3/constants/constants.js +0 -466
- package/schematics/ng-update/v3/constants/deprecated-functions.d.ts +0 -2
- package/schematics/ng-update/v3/constants/deprecated-functions.js +0 -680
- package/schematics/ng-update/v3/constants/enums.d.ts +0 -2
- package/schematics/ng-update/v3/constants/enums.js +0 -284
- package/schematics/ng-update/v3/constants/modules.d.ts +0 -2
- package/schematics/ng-update/v3/constants/modules.js +0 -9
- package/schematics/ng-update/v3/constants/services.d.ts +0 -2
- package/schematics/ng-update/v3/constants/services.js +0 -53
- package/schematics/ng-update/v3/constants/templates.d.ts +0 -57
- package/schematics/ng-update/v3/constants/templates.js +0 -744
- package/schematics/ng-update/v3/constants/tui-interactive-selectors.d.ts +0 -1
- package/schematics/ng-update/v3/constants/tui-interactive-selectors.js +0 -55
- package/schematics/ng-update/v3/constants/types.d.ts +0 -2
- package/schematics/ng-update/v3/constants/types.js +0 -156
- package/schematics/ng-update/v3/constants/warnings.d.ts +0 -2
- package/schematics/ng-update/v3/constants/warnings.js +0 -111
- package/schematics/ng-update/v3/index.d.ts +0 -3
- package/schematics/ng-update/v3/index.js +0 -105
- package/schematics/ng-update/v3/schema.json +0 -13
- package/schematics/ng-update/v3/steps/migrate-date-time.d.ts +0 -2
- package/schematics/ng-update/v3/steps/migrate-date-time.js +0 -207
- package/schematics/ng-update/v3/steps/migrate-polymorpheus.js +0 -78
- package/schematics/ng-update/v3/steps/migrate-progress.d.ts +0 -8
- package/schematics/ng-update/v3/steps/migrate-progress.js +0 -49
- package/schematics/ng-update/v3/steps/migrate-sliders/index.d.ts +0 -3
- package/schematics/ng-update/v3/steps/migrate-sliders/index.js +0 -19
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-range.d.ts +0 -3
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-range.js +0 -103
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-slider.d.ts +0 -3
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-slider.js +0 -90
- package/schematics/ng-update/v3/steps/migrate-taiga-proprietary-icons.d.ts +0 -3
- package/schematics/ng-update/v3/steps/migrate-taiga-proprietary-icons.js +0 -70
- package/schematics/ng-update/v3/steps/migrate-templates.d.ts +0 -4
- package/schematics/ng-update/v3/steps/migrate-templates.js +0 -216
- package/schematics/ng-update/v3/steps/migrate-textfield-controller.js +0 -98
- package/schematics/ng-update/v3/steps/miscellaneous.d.ts +0 -2
- package/schematics/ng-update/v3/steps/miscellaneous.js +0 -81
- package/schematics/ng-update/v3/steps/replace-functions.d.ts +0 -2
- package/schematics/ng-update/v3/steps/replace-functions.js +0 -138
- package/schematics/ng-update/v3/steps/replace-styles.d.ts +0 -3
- package/schematics/ng-update/v3/steps/replace-styles.js +0 -33
- package/schematics/ng-update/v3-30/constants/constants.d.ts +0 -2
- package/schematics/ng-update/v3-30/constants/constants.js +0 -8
- package/schematics/ng-update/v3-30/constants/icons.d.ts +0 -4
- package/schematics/ng-update/v3-30/constants/icons.js +0 -993
- package/schematics/ng-update/v3-30/index.d.ts +0 -3
- package/schematics/ng-update/v3-30/index.js +0 -33
- package/schematics/ng-update/v3-35/constants/constants.d.ts +0 -2
- package/schematics/ng-update/v3-35/constants/constants.js +0 -8
- package/schematics/ng-update/v3-35/constants/icons.d.ts +0 -4
- package/schematics/ng-update/v3-35/constants/icons.js +0 -2537
- package/schematics/ng-update/v3-35/index.d.ts +0 -3
- package/schematics/ng-update/v3-35/index.js +0 -33
- package/schematics/ng-update/v3-36/index.d.ts +0 -3
- package/schematics/ng-update/v3-36/index.js +0 -23
- package/schematics/ng-update/v3-40/index.d.ts +0 -3
- package/schematics/ng-update/v3-40/index.js +0 -62
- package/schematics/ng-update/v3-5/index.d.ts +0 -3
- package/schematics/ng-update/v3-5/index.js +0 -20
- package/schematics/ng-update/v3-5/steps/migrate-expand-templates.d.ts +0 -3
- package/schematics/ng-update/v3-5/steps/migrate-expand-templates.js +0 -44
- package/schematics/ng-update/v4/steps/migrate-styles.js +0 -20
- package/services/static-request.service.d.ts +0 -8
- /package/schematics/ng-update/v4/steps/{migrate-styles.d.ts → styles/index.d.ts} +0 -0
@@ -1,284 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ENUMS_TO_REPLACE = void 0;
|
4
|
-
exports.ENUMS_TO_REPLACE = [
|
5
|
-
{
|
6
|
-
name: 'TuiPaymentSystem',
|
7
|
-
replaceValues: {
|
8
|
-
Visa: 'visa',
|
9
|
-
Electron: 'electron',
|
10
|
-
Mastercard: 'mastercard',
|
11
|
-
Maestro: 'maestro',
|
12
|
-
Mir: 'mir',
|
13
|
-
},
|
14
|
-
keepAsType: true,
|
15
|
-
},
|
16
|
-
{
|
17
|
-
name: 'TuiTextAlign',
|
18
|
-
replaceValues: {
|
19
|
-
Left: 'left',
|
20
|
-
Right: 'right',
|
21
|
-
Center: 'center',
|
22
|
-
},
|
23
|
-
keepAsType: false,
|
24
|
-
},
|
25
|
-
{
|
26
|
-
name: 'TuiLineType',
|
27
|
-
replaceValues: {
|
28
|
-
Solid: 'solid',
|
29
|
-
Dashed: 'dashed',
|
30
|
-
Dotted: 'dotted',
|
31
|
-
None: 'none',
|
32
|
-
Hidden: 'hidden',
|
33
|
-
},
|
34
|
-
},
|
35
|
-
{
|
36
|
-
name: 'TuiMoneySign',
|
37
|
-
replaceValues: {
|
38
|
-
NegativeOnly: 'negative-only',
|
39
|
-
Always: 'always',
|
40
|
-
Never: 'never',
|
41
|
-
ForceNegative: 'force-negative',
|
42
|
-
ForcePositive: 'force-positive',
|
43
|
-
},
|
44
|
-
},
|
45
|
-
{
|
46
|
-
name: 'TuiDecimal',
|
47
|
-
replaceValues: {
|
48
|
-
NotZero: 'not-zero',
|
49
|
-
Always: 'always',
|
50
|
-
Never: 'never',
|
51
|
-
},
|
52
|
-
},
|
53
|
-
{
|
54
|
-
name: 'TuiInputType',
|
55
|
-
replaceValues: {
|
56
|
-
Text: 'text',
|
57
|
-
Tel: 'tel',
|
58
|
-
Email: 'email',
|
59
|
-
Url: 'url',
|
60
|
-
Password: 'password',
|
61
|
-
},
|
62
|
-
},
|
63
|
-
{
|
64
|
-
name: 'TuiOverscrollMode',
|
65
|
-
replaceValues: {
|
66
|
-
All: 'all',
|
67
|
-
Scroll: 'scroll',
|
68
|
-
None: 'none',
|
69
|
-
},
|
70
|
-
},
|
71
|
-
{
|
72
|
-
name: 'TuiInputMode',
|
73
|
-
replaceValues: {
|
74
|
-
None: 'none',
|
75
|
-
Text: 'text',
|
76
|
-
Decimal: 'decimal',
|
77
|
-
Numeric: 'numeric',
|
78
|
-
Tel: 'tel',
|
79
|
-
Email: 'email',
|
80
|
-
Url: 'url',
|
81
|
-
Search: 'search',
|
82
|
-
},
|
83
|
-
},
|
84
|
-
{
|
85
|
-
name: 'TuiStepState',
|
86
|
-
replaceValues: {
|
87
|
-
Normal: 'normal',
|
88
|
-
Error: 'error',
|
89
|
-
Pass: 'pass',
|
90
|
-
},
|
91
|
-
keepAsType: true,
|
92
|
-
},
|
93
|
-
{
|
94
|
-
name: 'TuiStatus',
|
95
|
-
replaceValues: {
|
96
|
-
Default: 'default',
|
97
|
-
Primary: 'primary',
|
98
|
-
Custom: 'custom',
|
99
|
-
Success: 'success',
|
100
|
-
Error: 'error',
|
101
|
-
Warning: 'warning',
|
102
|
-
},
|
103
|
-
keepAsType: true,
|
104
|
-
},
|
105
|
-
{
|
106
|
-
name: 'TuiMarkerIconMode',
|
107
|
-
replaceValues: {
|
108
|
-
Link: 'link',
|
109
|
-
Primary: 'primary',
|
110
|
-
Warning: 'warning',
|
111
|
-
White: 'white',
|
112
|
-
Secondary: 'secondary',
|
113
|
-
Success: 'success',
|
114
|
-
Error: 'error',
|
115
|
-
OnDark: 'onDark',
|
116
|
-
},
|
117
|
-
keepAsType: true,
|
118
|
-
},
|
119
|
-
{
|
120
|
-
name: 'TuiDropdownPosition',
|
121
|
-
replaceValues: {
|
122
|
-
Selection: 'selection',
|
123
|
-
Word: 'word',
|
124
|
-
Tag: 'tag',
|
125
|
-
},
|
126
|
-
keepAsType: true,
|
127
|
-
},
|
128
|
-
{
|
129
|
-
name: 'TuiBorders',
|
130
|
-
replaceValues: {
|
131
|
-
All: 'all',
|
132
|
-
TopBottom: 'top-bottom',
|
133
|
-
},
|
134
|
-
keepAsType: false,
|
135
|
-
},
|
136
|
-
{
|
137
|
-
name: 'TuiButtonShape',
|
138
|
-
replaceValues: {
|
139
|
-
Square: 'square',
|
140
|
-
Rounded: 'rounded',
|
141
|
-
},
|
142
|
-
},
|
143
|
-
{
|
144
|
-
name: 'TuiDropdownWidth',
|
145
|
-
replaceValues: {
|
146
|
-
Fixed: 'fixed',
|
147
|
-
Min: 'min',
|
148
|
-
Auto: 'auto',
|
149
|
-
},
|
150
|
-
},
|
151
|
-
{
|
152
|
-
name: 'TuiHintMode',
|
153
|
-
replaceValues: {
|
154
|
-
Error: 'error',
|
155
|
-
OnDark: 'onDark',
|
156
|
-
Overflow: 'overflow',
|
157
|
-
},
|
158
|
-
},
|
159
|
-
{
|
160
|
-
name: 'TuiLinkMode',
|
161
|
-
replaceValues: {
|
162
|
-
Positive: 'positive',
|
163
|
-
Negative: 'negative',
|
164
|
-
},
|
165
|
-
keepAsType: false,
|
166
|
-
},
|
167
|
-
{
|
168
|
-
name: 'TuiOrientation',
|
169
|
-
replaceValues: {
|
170
|
-
Vertical: 'vertical',
|
171
|
-
Horizontal: 'horizontal',
|
172
|
-
},
|
173
|
-
},
|
174
|
-
{
|
175
|
-
name: 'TuiSupportColor',
|
176
|
-
replaceValues: {
|
177
|
-
Mustard: 'support-01',
|
178
|
-
Texas: 'support-02',
|
179
|
-
Tan: 'support-03',
|
180
|
-
Salmon: 'support-04',
|
181
|
-
Sienna: 'support-05',
|
182
|
-
Bittersweet: 'support-06',
|
183
|
-
Pinkie: 'support-07',
|
184
|
-
Charm: 'support-08',
|
185
|
-
// cspell:disable-next-line
|
186
|
-
Amethist: 'support-09',
|
187
|
-
Helio: 'support-10',
|
188
|
-
Lilac: 'support-11',
|
189
|
-
Malibu: 'support-12',
|
190
|
-
Havelock: 'support-13',
|
191
|
-
// cspell:disable-next-line
|
192
|
-
Picton: 'support-14',
|
193
|
-
Mint: 'support-15',
|
194
|
-
Fountain: 'support-16',
|
195
|
-
// cspell:disable-next-line
|
196
|
-
Puertorico: 'support-17',
|
197
|
-
Bay: 'support-18',
|
198
|
-
Forest: 'support-19',
|
199
|
-
York: 'support-20',
|
200
|
-
// cspell:disable-next-line
|
201
|
-
Feijoa: 'support-21',
|
202
|
-
},
|
203
|
-
keepAsType: false,
|
204
|
-
},
|
205
|
-
{
|
206
|
-
name: 'TuiTouchMode',
|
207
|
-
replaceValues: {
|
208
|
-
Transform: 'transform',
|
209
|
-
Opacity: 'opacity',
|
210
|
-
Background: 'background',
|
211
|
-
},
|
212
|
-
keepAsType: true,
|
213
|
-
},
|
214
|
-
{
|
215
|
-
name: 'TuiCreditCardAutofillName',
|
216
|
-
replaceValues: {
|
217
|
-
Off: 'off',
|
218
|
-
CcName: 'cc-name',
|
219
|
-
CcNumber: 'cc-number',
|
220
|
-
CcCsc: 'cc-csc',
|
221
|
-
CcExpMonth: 'cc-exp-month',
|
222
|
-
CcExpYear: 'cc-exp-year',
|
223
|
-
CcExp: 'cc-exp',
|
224
|
-
CcType: 'cc-type',
|
225
|
-
},
|
226
|
-
},
|
227
|
-
{
|
228
|
-
name: 'TuiNameAutofillName',
|
229
|
-
replaceValues: {
|
230
|
-
Off: 'off',
|
231
|
-
Name: 'name',
|
232
|
-
GivenName: 'given-name',
|
233
|
-
AdditionalName: 'additional-name',
|
234
|
-
FamilyName: 'family-name',
|
235
|
-
},
|
236
|
-
},
|
237
|
-
{
|
238
|
-
name: 'TuiAccountAutofillName',
|
239
|
-
replaceValues: {
|
240
|
-
Off: 'off',
|
241
|
-
Username: 'username',
|
242
|
-
NewPassword: 'new-password',
|
243
|
-
CurrentPassword: 'current-password',
|
244
|
-
},
|
245
|
-
},
|
246
|
-
{
|
247
|
-
name: 'TuiEmailAutofillName',
|
248
|
-
replaceValues: {
|
249
|
-
Off: 'off',
|
250
|
-
Email: 'email',
|
251
|
-
},
|
252
|
-
},
|
253
|
-
{
|
254
|
-
name: 'TuiAddressAutofillName',
|
255
|
-
replaceValues: {
|
256
|
-
Off: 'off',
|
257
|
-
StreetAddress: 'street-address',
|
258
|
-
PostalCode: 'postal-code',
|
259
|
-
CountryName: 'country-name',
|
260
|
-
},
|
261
|
-
},
|
262
|
-
{
|
263
|
-
name: 'TuiPhoneAutofillName',
|
264
|
-
replaceValues: {
|
265
|
-
Off: 'off',
|
266
|
-
Tel: 'tel',
|
267
|
-
},
|
268
|
-
},
|
269
|
-
{
|
270
|
-
name: 'TuiDateAutofillName',
|
271
|
-
replaceValues: {
|
272
|
-
Off: 'off',
|
273
|
-
Bday: 'bday',
|
274
|
-
},
|
275
|
-
},
|
276
|
-
{
|
277
|
-
name: 'TuiTransactionAutofillName',
|
278
|
-
replaceValues: {
|
279
|
-
Off: 'off',
|
280
|
-
TransactionCurrency: 'transaction-currency',
|
281
|
-
TransactionAmount: 'transaction-amount',
|
282
|
-
},
|
283
|
-
},
|
284
|
-
];
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.REMOVED_MODULES = void 0;
|
4
|
-
exports.REMOVED_MODULES = [
|
5
|
-
{ name: 'TuiResizableColumnModule', moduleSpecifier: '@taiga-ui/addon-table' },
|
6
|
-
{ name: 'ScrollIntoViewModule', moduleSpecifier: '@taiga-ui/addon-doc' },
|
7
|
-
{ name: 'TuiPreviewModule', moduleSpecifier: '@taiga-ui/proprietary-banking' },
|
8
|
-
{ name: 'TuiDescribedByModule', moduleSpecifier: '@taiga-ui/core' },
|
9
|
-
];
|
@@ -1,53 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SERVICES_TO_REPLACE = void 0;
|
4
|
-
exports.SERVICES_TO_REPLACE = [
|
5
|
-
{
|
6
|
-
from: {
|
7
|
-
name: 'TuiPortalService',
|
8
|
-
},
|
9
|
-
to: {
|
10
|
-
name: 'TuiDropdownPortalService',
|
11
|
-
moduleSpecifier: '@taiga-ui/cdk',
|
12
|
-
},
|
13
|
-
},
|
14
|
-
{
|
15
|
-
from: {
|
16
|
-
name: 'TuiNotificationsService',
|
17
|
-
},
|
18
|
-
to: {
|
19
|
-
name: 'TuiAlertService',
|
20
|
-
moduleSpecifier: '@taiga-ui/core',
|
21
|
-
},
|
22
|
-
replaceMethods: [
|
23
|
-
{
|
24
|
-
from: 'show',
|
25
|
-
to: 'open',
|
26
|
-
},
|
27
|
-
],
|
28
|
-
},
|
29
|
-
{
|
30
|
-
from: {
|
31
|
-
name: 'TuiCodeEditor',
|
32
|
-
},
|
33
|
-
to: {
|
34
|
-
name: 'TuiCodeEditor',
|
35
|
-
moduleSpecifier: '@taiga-ui/addon-doc',
|
36
|
-
},
|
37
|
-
replaceMethods: [
|
38
|
-
{
|
39
|
-
from: 'open',
|
40
|
-
to: 'edit',
|
41
|
-
},
|
42
|
-
],
|
43
|
-
},
|
44
|
-
{
|
45
|
-
from: {
|
46
|
-
name: 'PreviewDialogService',
|
47
|
-
},
|
48
|
-
to: {
|
49
|
-
name: 'TuiPreviewDialogService',
|
50
|
-
moduleSpecifier: '@taiga-ui/addon-preview',
|
51
|
-
},
|
52
|
-
},
|
53
|
-
];
|
@@ -1,57 +0,0 @@
|
|
1
|
-
import type { ReplacementAttributeToDirective } from '../../interfaces';
|
2
|
-
import type { RemovableInput } from '../../interfaces/removable-input';
|
3
|
-
import type { ReplacementAttribute } from '../../interfaces/replacement-attribute';
|
4
|
-
import type { ReplacementAttributeValue } from '../../interfaces/replacement-attribute-value';
|
5
|
-
import type { ReplacementTag } from '../../interfaces/replacement-tag';
|
6
|
-
export declare const ATTRS_TO_REPLACE: ReplacementAttribute[];
|
7
|
-
export declare const INPUTS_TO_REMOVE: RemovableInput[];
|
8
|
-
export declare const TAGS_TO_REPLACE: ReplacementTag[];
|
9
|
-
export declare const ATTR_TO_DIRECTIVE: ReplacementAttributeToDirective[];
|
10
|
-
/**
|
11
|
-
* @example `<div [someDirective]="true" />` => `<div someDirective />`
|
12
|
-
*
|
13
|
-
* Keeping it for future sake
|
14
|
-
*/
|
15
|
-
export declare const TRUTHY_BOOLEAN_INPUT_TO_HTML_BINARY_ATTRIBUTE: readonly string[];
|
16
|
-
export declare const TEMPLATE_COMMENTS: readonly [{
|
17
|
-
readonly tag: "tui-input-slider";
|
18
|
-
readonly withAttr: "pluralize";
|
19
|
-
readonly comment: "[pluralize] => Use [postfix] instead. See https://taiga-ui.dev/components/input-slider/API?postfix=apples";
|
20
|
-
}, {
|
21
|
-
readonly tag: "tui-input-slider";
|
22
|
-
readonly withAttr: "segmentsPluralize";
|
23
|
-
readonly comment: "See examples how create labels for ticks without this property (outside the component): https://taiga-ui.dev/components/input-slider#slider-segments";
|
24
|
-
}, {
|
25
|
-
readonly tag: "tui-input-range";
|
26
|
-
readonly withAttr: "segmentsPluralize";
|
27
|
-
readonly comment: "See examples how create labels for ticks without this property (outside the component): https://taiga-ui.dev/components/input-range#segments";
|
28
|
-
}, {
|
29
|
-
readonly tag: "tui-range";
|
30
|
-
readonly withAttr: "pluralize";
|
31
|
-
readonly comment: "See examples how create labels for ticks without this property (outside the component): https://taiga-ui.dev/components/range#segments";
|
32
|
-
}, {
|
33
|
-
readonly tag: "tui-range";
|
34
|
-
readonly withAttr: "steps";
|
35
|
-
readonly comment: "This component has new API. Use property [step] instead. See: https://taiga-ui.dev/components/range/API";
|
36
|
-
}, {
|
37
|
-
readonly tag: "tui-preview-host";
|
38
|
-
readonly withAttr: "ngProjectAs";
|
39
|
-
readonly 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";
|
40
|
-
}, {
|
41
|
-
readonly tag: "tui-progress";
|
42
|
-
readonly withAttr: "value";
|
43
|
-
readonly 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 ) ";
|
44
|
-
}, {
|
45
|
-
readonly tag: "tui-input-file";
|
46
|
-
readonly withAttr: "loadingFiles";
|
47
|
-
readonly comment: "This legacy component was replaced by new one (https://taiga-ui.dev/components/input-files) ";
|
48
|
-
}, {
|
49
|
-
readonly tag: "tui-input-tag";
|
50
|
-
readonly withAttr: "allowSpaces";
|
51
|
-
readonly comment: "Use property [separator] to forbid spaces. See example: https://taiga-ui.dev/components/input-tag#no-spaces-inside-tags";
|
52
|
-
}, {
|
53
|
-
readonly tag: "tui-preview-pagination";
|
54
|
-
readonly withAttr: "lastIndex";
|
55
|
-
readonly comment: "Use property [length] instead. See example: https://taiga-ui.dev/components/preview";
|
56
|
-
}];
|
57
|
-
export declare const REPLACE_ATTR_VALUE: ReplacementAttributeValue[];
|