@taiga-ui/cdk 3.11.0 → 3.12.1
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-components-alert-host.umd.js +1 -1
- package/bundles/taiga-ui-cdk-components-alert-host.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/components/alert-host/alert-host.component.js +2 -2
- 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-components-alert-host.js +1 -1
- package/fesm2015/taiga-ui-cdk-components-alert-host.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
|
@@ -2,54 +2,54 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TUI_INTERACTIVE_SELECTORS = void 0;
|
|
4
4
|
exports.TUI_INTERACTIVE_SELECTORS = [
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
5
|
+
`tui-primitive-textfield`,
|
|
6
|
+
`tui-primitive-spin-button`,
|
|
7
|
+
`tui-action`,
|
|
8
|
+
`tui-input-range`,
|
|
9
|
+
`tui-pagination`,
|
|
10
|
+
`tui-accordion-item`,
|
|
11
|
+
`tui-button`,
|
|
12
|
+
`tuiButton`,
|
|
13
|
+
`tuiIconButton`,
|
|
14
|
+
`tui-toggle`,
|
|
15
|
+
`tuiSlider`,
|
|
16
|
+
`tui-slider`,
|
|
17
|
+
`tui-rating`,
|
|
18
|
+
`tui-input-card`,
|
|
19
|
+
`tui-input-cvc`,
|
|
20
|
+
`tui-input-expire`,
|
|
21
|
+
`tui-editor`,
|
|
22
|
+
`tui-input-color`,
|
|
23
|
+
`tui-input-copy`,
|
|
24
|
+
`tui-input-count`,
|
|
25
|
+
`tui-input-date-time`,
|
|
26
|
+
`tui-input-inline`,
|
|
27
|
+
`tui-input-password`,
|
|
28
|
+
`tui-input-phone-international`,
|
|
29
|
+
`tui-input-phone`,
|
|
30
|
+
`tui-input-range`,
|
|
31
|
+
`tui-input-slider`,
|
|
32
|
+
`tui-input`,
|
|
33
|
+
`tui-range`,
|
|
34
|
+
`tui-text-area`,
|
|
35
|
+
`tui-radio-block`,
|
|
36
|
+
`tui-radio-labeled`,
|
|
37
|
+
`tui-radio-list`,
|
|
38
|
+
`tui-radio`,
|
|
39
|
+
`tui-select`,
|
|
40
|
+
`tui-input-card-grouped`,
|
|
41
|
+
`tui-checkbox-block`,
|
|
42
|
+
`tui-checkbox-labeled`,
|
|
43
|
+
`tui-combo-box`,
|
|
44
|
+
`tui-input-date-range`,
|
|
45
|
+
`tui-input-file`,
|
|
46
|
+
`tui-input-files`,
|
|
47
|
+
`tui-input-month-range`,
|
|
48
|
+
`tui-input-month`,
|
|
49
|
+
`tui-input-number`,
|
|
50
|
+
`tui-input-time`,
|
|
51
|
+
`tui-input-time`,
|
|
52
|
+
`tui-multi-select`,
|
|
53
|
+
`tui-filter`,
|
|
54
|
+
`tui-input-tag`,
|
|
55
55
|
];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface TypeToRename {
|
|
2
2
|
readonly from: string;
|
|
3
3
|
readonly to?: string;
|
|
4
|
-
readonly moduleSpecifier?: string | string
|
|
4
|
+
readonly moduleSpecifier?: string[] | string;
|
|
5
5
|
readonly preserveGenerics?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare const TYPES_TO_RENAME: readonly TypeToRename[];
|
|
@@ -3,153 +3,153 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.TYPES_TO_RENAME = void 0;
|
|
4
4
|
exports.TYPES_TO_RENAME = [
|
|
5
5
|
{
|
|
6
|
-
from:
|
|
7
|
-
to:
|
|
8
|
-
moduleSpecifier: [
|
|
6
|
+
from: `ButtonOptions`,
|
|
7
|
+
to: `TuiButtonOptions`,
|
|
8
|
+
moduleSpecifier: [`@taiga-ui/core`],
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
|
-
from:
|
|
12
|
-
to:
|
|
13
|
-
moduleSpecifier: [
|
|
11
|
+
from: `InputCountOptions`,
|
|
12
|
+
to: `TuiInputCountOptions`,
|
|
13
|
+
moduleSpecifier: [`@taiga-ui/kit`],
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
from:
|
|
17
|
-
to:
|
|
18
|
-
moduleSpecifier: [
|
|
16
|
+
from: `InputPasswordOptions`,
|
|
17
|
+
to: `TuiInputPasswordOptions`,
|
|
18
|
+
moduleSpecifier: [`@taiga-ui/kit`],
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
-
from:
|
|
22
|
-
to:
|
|
23
|
-
moduleSpecifier: [
|
|
21
|
+
from: `InputTimeOptions`,
|
|
22
|
+
to: `TuiInputTimeOptions`,
|
|
23
|
+
moduleSpecifier: [`@taiga-ui/kit`],
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
|
-
from:
|
|
27
|
-
to:
|
|
28
|
-
moduleSpecifier: [
|
|
26
|
+
from: `ToggleOptions`,
|
|
27
|
+
to: `TuiToggleOptions`,
|
|
28
|
+
moduleSpecifier: [`@taiga-ui/cdk`],
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
|
-
from:
|
|
32
|
-
to:
|
|
33
|
-
moduleSpecifier: [
|
|
31
|
+
from: `RadioOptions`,
|
|
32
|
+
to: `TuiRadioOptions`,
|
|
33
|
+
moduleSpecifier: [`@taiga-ui/kit`],
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
|
-
from:
|
|
37
|
-
to:
|
|
38
|
-
moduleSpecifier: [
|
|
36
|
+
from: `CodeEditor`,
|
|
37
|
+
to: `TuiCodeEditor`,
|
|
38
|
+
moduleSpecifier: [`@taiga-ui/addon-doc`],
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
|
-
from:
|
|
41
|
+
from: `WithDateMaskPipeConfig`,
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
|
-
from:
|
|
44
|
+
from: `TuiBreadCrumbsItem`,
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
|
-
from:
|
|
48
|
-
to:
|
|
49
|
-
moduleSpecifier: [
|
|
47
|
+
from: `CheckboxOptions`,
|
|
48
|
+
to: `TuiCheckboxOptions`,
|
|
49
|
+
moduleSpecifier: [`@taiga-ui/core`],
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
from:
|
|
53
|
-
to:
|
|
54
|
-
moduleSpecifier: [
|
|
52
|
+
from: `NotificationTokenOptions`,
|
|
53
|
+
to: `TuiNotificationDefaultOptions`,
|
|
54
|
+
moduleSpecifier: [`@taiga-ui/core`],
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
from:
|
|
58
|
-
to:
|
|
59
|
-
moduleSpecifier: [
|
|
57
|
+
from: `TuiNotificationAutoClose`,
|
|
58
|
+
to: `TuiAlertAutoClose`,
|
|
59
|
+
moduleSpecifier: [`@taiga-ui/core`],
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
from:
|
|
63
|
-
to:
|
|
64
|
-
moduleSpecifier: [
|
|
62
|
+
from: `TuiNotificationOptions`,
|
|
63
|
+
to: `TuiAlertOptions<any>`,
|
|
64
|
+
moduleSpecifier: [`@taiga-ui/core`],
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
|
-
from:
|
|
68
|
-
to:
|
|
69
|
-
moduleSpecifier: [
|
|
67
|
+
from: `TuiNotificationOptionsWithData`,
|
|
68
|
+
to: `TuiAlertOptions`,
|
|
69
|
+
moduleSpecifier: [`@taiga-ui/core`],
|
|
70
70
|
preserveGenerics: true,
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
|
-
from:
|
|
73
|
+
from: `Country`,
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
|
-
from:
|
|
77
|
-
to:
|
|
78
|
-
moduleSpecifier: [
|
|
76
|
+
from: `NumberFormatSettings`,
|
|
77
|
+
to: `TuiNumberFormatSettings`,
|
|
78
|
+
moduleSpecifier: [`@taiga-ui/core`],
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
|
-
from:
|
|
82
|
-
to:
|
|
83
|
-
moduleSpecifier: [
|
|
81
|
+
from: `LanguageCore`,
|
|
82
|
+
to: `TuiLanguageCore`,
|
|
83
|
+
moduleSpecifier: [`@taiga-ui/i18n`],
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
|
-
from:
|
|
87
|
-
to:
|
|
88
|
-
moduleSpecifier: [
|
|
86
|
+
from: `LanguageKit`,
|
|
87
|
+
to: `TuiLanguageKit`,
|
|
88
|
+
moduleSpecifier: [`@taiga-ui/i18n`],
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
|
-
from:
|
|
92
|
-
to:
|
|
93
|
-
moduleSpecifier: [
|
|
91
|
+
from: `LanguageKit`,
|
|
92
|
+
to: `TuiLanguageKit`,
|
|
93
|
+
moduleSpecifier: [`@taiga-ui/i18n`],
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
|
-
from:
|
|
97
|
-
to:
|
|
98
|
-
moduleSpecifier: [
|
|
96
|
+
from: `LanguageCommerce`,
|
|
97
|
+
to: `TuiLanguageCommerce`,
|
|
98
|
+
moduleSpecifier: [`@taiga-ui/i18n`],
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
|
-
from:
|
|
102
|
-
to:
|
|
103
|
-
moduleSpecifier: [
|
|
101
|
+
from: `LanguageTable`,
|
|
102
|
+
to: `TuiLanguageTable`,
|
|
103
|
+
moduleSpecifier: [`@taiga-ui/i18n`],
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
|
-
from:
|
|
107
|
-
to:
|
|
108
|
-
moduleSpecifier: [
|
|
106
|
+
from: `LanguageTable`,
|
|
107
|
+
to: `TuiLanguageTable`,
|
|
108
|
+
moduleSpecifier: [`@taiga-ui/i18n`],
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
|
-
from:
|
|
112
|
-
to:
|
|
113
|
-
moduleSpecifier: [
|
|
111
|
+
from: `LanguageEditor`,
|
|
112
|
+
to: `TuiLanguageEditor`,
|
|
113
|
+
moduleSpecifier: [`@taiga-ui/i18n`],
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
|
-
from:
|
|
117
|
-
to:
|
|
118
|
-
moduleSpecifier: [
|
|
116
|
+
from: `LanguagePreview`,
|
|
117
|
+
to: `TuiLanguagePreview`,
|
|
118
|
+
moduleSpecifier: [`@taiga-ui/i18n`],
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
|
-
from:
|
|
122
|
-
to:
|
|
123
|
-
moduleSpecifier: [
|
|
121
|
+
from: `Language`,
|
|
122
|
+
to: `TuiLanguage`,
|
|
123
|
+
moduleSpecifier: [`@taiga-ui/i18n`],
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
|
-
from:
|
|
127
|
-
to:
|
|
128
|
-
moduleSpecifier: [
|
|
126
|
+
from: `ScrollIntoViewDirective`,
|
|
127
|
+
to: `TuiScrollIntoViewLinkDirective`,
|
|
128
|
+
moduleSpecifier: [`@taiga-ui/addon-doc`],
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
|
-
from:
|
|
132
|
-
to:
|
|
133
|
-
moduleSpecifier: [
|
|
131
|
+
from: `CodeComponent`,
|
|
132
|
+
to: `TuiCodeComponent`,
|
|
133
|
+
moduleSpecifier: [`@taiga-ui/addon-doc`],
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
|
-
from:
|
|
137
|
-
to:
|
|
138
|
-
moduleSpecifier: [
|
|
136
|
+
from: `TableBar`,
|
|
137
|
+
to: `TuiTableBar`,
|
|
138
|
+
moduleSpecifier: [`@taiga-ui/addon-tablebars`],
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
|
-
from:
|
|
142
|
-
to:
|
|
143
|
-
moduleSpecifier: [
|
|
141
|
+
from: `InvalidDayException`,
|
|
142
|
+
to: `TuiInvalidDayException`,
|
|
143
|
+
moduleSpecifier: [`@taiga-ui/cdk`],
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
|
-
from:
|
|
147
|
-
to:
|
|
148
|
-
moduleSpecifier: [
|
|
146
|
+
from: `InvalidMonthException`,
|
|
147
|
+
to: `TuiInvalidMonthException`,
|
|
148
|
+
moduleSpecifier: [`@taiga-ui/cdk`],
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
|
-
from:
|
|
152
|
-
to:
|
|
153
|
-
moduleSpecifier: [
|
|
151
|
+
from: `InvalidYearException`,
|
|
152
|
+
to: `TuiInvalidYearException`,
|
|
153
|
+
moduleSpecifier: [`@taiga-ui/cdk`],
|
|
154
154
|
},
|
|
155
155
|
];
|
|
@@ -3,109 +3,109 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MIGRATION_WARNINGS = void 0;
|
|
4
4
|
exports.MIGRATION_WARNINGS = [
|
|
5
5
|
{
|
|
6
|
-
name:
|
|
7
|
-
message:
|
|
6
|
+
name: `TUI_MOBILE_AWARE`,
|
|
7
|
+
message: `TUI_MOBILE_AWARE has been deleted in 3.0, please use TuiMobileTabsDirective from @taiga-ui/addon-mobile`,
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
|
-
name:
|
|
11
|
-
message:
|
|
10
|
+
name: `TUI_DATE_FILLER`,
|
|
11
|
+
message: `TUI_DATE_FILLER has been deleted in 3.0, please use TUI_DATE_FORMAT + TUI_DATE_SEPARATOR from @taiga-ui/cdk. Read more: https://taiga-ui.dev/components/input-date`,
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
name:
|
|
15
|
-
message:
|
|
14
|
+
name: `TUI_DATE_RANGE_FILLER`,
|
|
15
|
+
message: `TUI_DATE_RANGE_FILLER has been deleted in 3.0, please use TUI_DATE_FORMAT + TUI_DATE_SEPARATOR from @taiga-ui/cdk. Read more: https://taiga-ui.dev/components/input-date-range`,
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
|
-
name:
|
|
19
|
-
message:
|
|
18
|
+
name: `TUI_SHEET_OFFSET`,
|
|
19
|
+
message: `TUI_SHEET_OFFSET has been deleted in 3.0, please use option argument for each Sheet. Read more: https://taiga-ui.dev/components/sheet`,
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
name:
|
|
23
|
-
moduleSpecifier:
|
|
24
|
-
message:
|
|
22
|
+
name: `COUNTRIES`,
|
|
23
|
+
moduleSpecifier: `@taiga-ui/kit`,
|
|
24
|
+
message: `Use DI-token TUI_COUNTRIES_MASKS to get phone mask by country iso code. Use DI-token TUI_COUNTRIES to get localized country name by its iso code`,
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
|
-
name:
|
|
28
|
-
moduleSpecifier:
|
|
29
|
-
message:
|
|
27
|
+
name: `COUNTRIES_MASKS`,
|
|
28
|
+
moduleSpecifier: `@taiga-ui/kit`,
|
|
29
|
+
message: `Use DI-token TUI_COUNTRIES_MASKS to get phone mask by country iso code`,
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
|
-
name:
|
|
33
|
-
moduleSpecifier:
|
|
34
|
-
message:
|
|
32
|
+
name: `TuiTableModeModule`,
|
|
33
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
34
|
+
message: `TuiTableModeModule has been deleted in 3.0, please use @taiga-ui/addon-table`,
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
name:
|
|
38
|
-
moduleSpecifier:
|
|
39
|
-
message:
|
|
37
|
+
name: `TuiColorModule`,
|
|
38
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
39
|
+
message: `TuiColorModule has been deleted in 3.0, please use CSS custom properties`,
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
|
-
name:
|
|
43
|
-
moduleSpecifier:
|
|
44
|
-
message:
|
|
42
|
+
name: `TuiPluralizePipeModule`,
|
|
43
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
44
|
+
message: `TuiPluralizePipeModule has been deleted in 3.0, please use use Angular built-in pipe https://angular.io/api/common/I18nPluralPipe `,
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
|
-
name:
|
|
48
|
-
moduleSpecifier:
|
|
49
|
-
message:
|
|
47
|
+
name: `TUI_DEFAULT_COLOR_HANDLER`,
|
|
48
|
+
moduleSpecifier: `@taiga-ui/addon-charts`,
|
|
49
|
+
message: `TUI_DEFAULT_COLOR_HANDLER has been deleted in 3.0, please use CSS variables`,
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
name:
|
|
53
|
-
moduleSpecifier:
|
|
54
|
-
message:
|
|
52
|
+
name: `TuiColorHandler`,
|
|
53
|
+
moduleSpecifier: `@taiga-ui/addon-charts`,
|
|
54
|
+
message: `TuiColorHandler has been deleted in 3.0, please use CSS custom properties`,
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
name:
|
|
58
|
-
moduleSpecifier:
|
|
59
|
-
message:
|
|
57
|
+
name: `DEFAULT_COLORS`,
|
|
58
|
+
moduleSpecifier: `@taiga-ui/addon-charts`,
|
|
59
|
+
message: `DEFAULT_COLORS has been deleted in 3.0, please use CSS variables`,
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
name:
|
|
63
|
-
moduleSpecifier:
|
|
64
|
-
message:
|
|
62
|
+
name: `AbstractTuiInteractive`,
|
|
63
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
64
|
+
message: `pressedChange and hoveredChange outputs have been removed from AbstractTuiInteractive, please use tuiPressedChange and tuiHoveredChange directives instead`,
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
|
-
name:
|
|
68
|
-
moduleSpecifier:
|
|
69
|
-
message:
|
|
67
|
+
name: `AbstractTuiControl`,
|
|
68
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
69
|
+
message: `pressedChange and hoveredChange outputs have been removed from AbstractTuiInteractive, please use tuiPressedChange and tuiHoveredChange directives instead`,
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
-
name:
|
|
73
|
-
moduleSpecifier:
|
|
74
|
-
message:
|
|
72
|
+
name: `AbstractTuiMultipleControl`,
|
|
73
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
74
|
+
message: `pressedChange and hoveredChange outputs have been removed from AbstractTuiInteractive, please use tuiPressedChange and tuiHoveredChange directives instead`,
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
|
-
name:
|
|
78
|
-
moduleSpecifier:
|
|
79
|
-
message:
|
|
77
|
+
name: `AbstractTuiNullableControl`,
|
|
78
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
79
|
+
message: `pressedChange and hoveredChange outputs have been removed from AbstractTuiInteractive, please use tuiPressedChange and tuiHoveredChange directives instead`,
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
|
-
name:
|
|
83
|
-
moduleSpecifier:
|
|
84
|
-
message:
|
|
82
|
+
name: `MEDIA`,
|
|
83
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
84
|
+
message: `MEDIA constant has been deleted in 3.0. Please use TUI_MEDIA token from @taiga-ui/core`,
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
|
-
name:
|
|
88
|
-
moduleSpecifier:
|
|
89
|
-
message:
|
|
87
|
+
name: `colorFallback`,
|
|
88
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
89
|
+
message: `colorFallback has been deleted in 3.0, please use CSS variables`,
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
|
-
name:
|
|
93
|
-
moduleSpecifier:
|
|
94
|
-
message:
|
|
92
|
+
name: `TuiInputSearchModule`,
|
|
93
|
+
moduleSpecifier: `@taiga-ui/proprietary-core`,
|
|
94
|
+
message: `Use TuiInputModule (@taiga-ui/kit) with icon "tuiIconSearchLarge": https://taiga-ui.dev/components/input/API?iconAlign=left&icon=tuiIconSearchLarge`,
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
|
-
name:
|
|
98
|
-
moduleSpecifier:
|
|
99
|
-
message:
|
|
97
|
+
name: `TuiCarouselModule`,
|
|
98
|
+
moduleSpecifier: `@taiga-ui/proprietary-core`,
|
|
99
|
+
message: `Proprietary Carousel is old and has different API. Use new version of the same module from @taiga-ui/kit. Also, check new API: https://taiga-ui.dev/components/carousel/API`,
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
|
-
name:
|
|
103
|
-
moduleSpecifier:
|
|
104
|
-
message:
|
|
102
|
+
name: `TUI_EDITOR_STYLES`,
|
|
103
|
+
moduleSpecifier: `@taiga-ui/addon-editor`,
|
|
104
|
+
message: `TUI_EDITOR_STYLES token has been deleted in 3.0, please use global styles to override default editor styles`,
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
name:
|
|
108
|
-
moduleSpecifier:
|
|
109
|
-
message:
|
|
107
|
+
name: `TuiNotificationContentContext`,
|
|
108
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
109
|
+
message: `TuiNotificationContentContext has been deleted in 3.0. Please, use TuiDialog<TuiAlertOptions<I>, O> instead of TuiNotificationContentContext<O, I>`,
|
|
110
110
|
},
|
|
111
111
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
-
import {
|
|
3
|
-
export declare function updateToV3(options:
|
|
4
|
-
export declare function updateToV3_5(): Rule;
|
|
2
|
+
import { TuiSchema } from '../ng-add/schema';
|
|
3
|
+
export declare function updateToV3(options: TuiSchema): Rule;
|
|
4
|
+
export declare function updateToV3_5(options: TuiSchema): Rule;
|