@taiga-ui/cdk 4.0.0-rc.8 → 4.0.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.
Files changed (121) hide show
  1. package/constants/used-icons.d.ts +1 -1
  2. package/constants/version.d.ts +1 -1
  3. package/constants/version.js +1 -1
  4. package/esm2022/constants/used-icons.mjs +9 -1
  5. package/esm2022/constants/version.mjs +2 -2
  6. package/esm2022/services/index.mjs +2 -2
  7. package/esm2022/services/theme-color.service.mjs +30 -0
  8. package/fesm2022/taiga-ui-cdk-constants.mjs +9 -1
  9. package/fesm2022/taiga-ui-cdk-constants.mjs.map +1 -1
  10. package/fesm2022/taiga-ui-cdk-services.mjs +19 -22
  11. package/fesm2022/taiga-ui-cdk-services.mjs.map +1 -1
  12. package/package.json +4 -4
  13. package/schematics/ng-update/interfaces/html-comment.d.ts +3 -2
  14. package/schematics/ng-update/interfaces/replacement-attribute-value.d.ts +6 -2
  15. package/schematics/ng-update/interfaces/replacement-identifier.d.ts +4 -11
  16. package/schematics/ng-update/steps/replace-identifier.js +16 -11
  17. package/schematics/ng-update/utils/templates/replace-attr-values.js +39 -10
  18. package/schematics/ng-update/utils/templates/template-comments.js +7 -1
  19. package/schematics/ng-update/v4/index.js +2 -0
  20. package/schematics/ng-update/v4/migrate-icons/index.js +2 -2
  21. package/schematics/ng-update/v4/migrate-icons/rename-proprietary-icons.d.ts +2 -1
  22. package/schematics/ng-update/v4/migrate-icons/rename-proprietary-icons.js +16 -3
  23. package/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.js +42 -2
  24. package/schematics/ng-update/v4/steps/constants/attrs-to-replace.js +28 -0
  25. package/schematics/ng-update/v4/steps/constants/html-comments.js +4 -0
  26. package/schematics/ng-update/v4/steps/constants/identifiers-to-replace.js +231 -231
  27. package/schematics/ng-update/v4/steps/constants/migration-warnings.js +21 -1
  28. package/schematics/ng-update/v4/steps/constants/modules-to-remove.js +4 -0
  29. package/schematics/ng-update/v4/steps/constants/types.js +12 -0
  30. package/schematics/ng-update/v4/steps/index.d.ts +2 -0
  31. package/schematics/ng-update/v4/steps/index.js +2 -0
  32. package/schematics/ng-update/v4/steps/migrate-alert-service.js +31 -9
  33. package/schematics/ng-update/v4/steps/migrate-month-context.d.ts +2 -0
  34. package/schematics/ng-update/v4/steps/migrate-month-context.js +39 -0
  35. package/schematics/ng-update/v4/steps/migrate-number-format-settings.d.ts +2 -0
  36. package/schematics/ng-update/v4/steps/migrate-number-format-settings.js +64 -0
  37. package/schematics/ng-update/v4/steps/migrate-root.js +7 -2
  38. package/schematics/ng-update/v4/steps/styles/index.js +12 -2
  39. package/schematics/ng-update/v4/steps/styles/migrate-less-scss-constants.d.ts +1 -0
  40. package/schematics/ng-update/v4/steps/styles/migrate-less-scss-constants.js +13 -0
  41. package/schematics/ng-update/v4/steps/styles/migrate-scrollbar-behavior.d.ts +1 -0
  42. package/schematics/ng-update/v4/steps/styles/migrate-scrollbar-behavior.js +10 -0
  43. package/schematics/ng-update/v4/steps/styles/migrate-shadow-mixins.d.ts +1 -0
  44. package/schematics/ng-update/v4/steps/styles/migrate-shadow-mixins.js +23 -0
  45. package/schematics/ng-update/v4/steps/styles/migrate-space-mixins.js +2 -2
  46. package/schematics/ng-update/v4/steps/styles/migrate-text-mixins.d.ts +1 -0
  47. package/schematics/ng-update/v4/steps/styles/migrate-text-mixins.js +54 -0
  48. package/schematics/ng-update/v4/steps/templates/migrate-badged-content.js +1 -1
  49. package/schematics/ng-update/v4/steps/templates/migrate-labeled.js +1 -1
  50. package/schematics/ng-update/v4/steps/templates/migrate-notification.js +21 -3
  51. package/services/index.d.ts +1 -1
  52. package/services/theme-color.service.d.ts +16 -0
  53. package/esm2022/services/static-request.service.mjs +0 -33
  54. package/schematics/ng-update/v3/constants/breakpoints.d.ts +0 -82
  55. package/schematics/ng-update/v3/constants/breakpoints.js +0 -34
  56. package/schematics/ng-update/v3/constants/constants.d.ts +0 -2
  57. package/schematics/ng-update/v3/constants/constants.js +0 -466
  58. package/schematics/ng-update/v3/constants/deprecated-functions.d.ts +0 -2
  59. package/schematics/ng-update/v3/constants/deprecated-functions.js +0 -680
  60. package/schematics/ng-update/v3/constants/enums.d.ts +0 -2
  61. package/schematics/ng-update/v3/constants/enums.js +0 -284
  62. package/schematics/ng-update/v3/constants/modules.d.ts +0 -2
  63. package/schematics/ng-update/v3/constants/modules.js +0 -9
  64. package/schematics/ng-update/v3/constants/services.d.ts +0 -2
  65. package/schematics/ng-update/v3/constants/services.js +0 -53
  66. package/schematics/ng-update/v3/constants/templates.d.ts +0 -57
  67. package/schematics/ng-update/v3/constants/templates.js +0 -744
  68. package/schematics/ng-update/v3/constants/tui-interactive-selectors.d.ts +0 -1
  69. package/schematics/ng-update/v3/constants/tui-interactive-selectors.js +0 -55
  70. package/schematics/ng-update/v3/constants/types.d.ts +0 -2
  71. package/schematics/ng-update/v3/constants/types.js +0 -156
  72. package/schematics/ng-update/v3/constants/warnings.d.ts +0 -2
  73. package/schematics/ng-update/v3/constants/warnings.js +0 -111
  74. package/schematics/ng-update/v3/index.d.ts +0 -3
  75. package/schematics/ng-update/v3/index.js +0 -105
  76. package/schematics/ng-update/v3/schema.json +0 -13
  77. package/schematics/ng-update/v3/steps/migrate-date-time.d.ts +0 -2
  78. package/schematics/ng-update/v3/steps/migrate-date-time.js +0 -207
  79. package/schematics/ng-update/v3/steps/migrate-polymorpheus.d.ts +0 -8
  80. package/schematics/ng-update/v3/steps/migrate-polymorpheus.js +0 -78
  81. package/schematics/ng-update/v3/steps/migrate-progress.d.ts +0 -8
  82. package/schematics/ng-update/v3/steps/migrate-progress.js +0 -49
  83. package/schematics/ng-update/v3/steps/migrate-sliders/index.d.ts +0 -3
  84. package/schematics/ng-update/v3/steps/migrate-sliders/index.js +0 -19
  85. package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-range.d.ts +0 -3
  86. package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-range.js +0 -103
  87. package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-slider.d.ts +0 -3
  88. package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-slider.js +0 -90
  89. package/schematics/ng-update/v3/steps/migrate-taiga-proprietary-icons.d.ts +0 -3
  90. package/schematics/ng-update/v3/steps/migrate-taiga-proprietary-icons.js +0 -70
  91. package/schematics/ng-update/v3/steps/migrate-templates.d.ts +0 -4
  92. package/schematics/ng-update/v3/steps/migrate-templates.js +0 -216
  93. package/schematics/ng-update/v3/steps/migrate-textfield-controller.d.ts +0 -8
  94. package/schematics/ng-update/v3/steps/migrate-textfield-controller.js +0 -98
  95. package/schematics/ng-update/v3/steps/miscellaneous.d.ts +0 -2
  96. package/schematics/ng-update/v3/steps/miscellaneous.js +0 -81
  97. package/schematics/ng-update/v3/steps/replace-functions.d.ts +0 -2
  98. package/schematics/ng-update/v3/steps/replace-functions.js +0 -138
  99. package/schematics/ng-update/v3/steps/replace-styles.d.ts +0 -3
  100. package/schematics/ng-update/v3/steps/replace-styles.js +0 -33
  101. package/schematics/ng-update/v3-30/constants/constants.d.ts +0 -2
  102. package/schematics/ng-update/v3-30/constants/constants.js +0 -8
  103. package/schematics/ng-update/v3-30/constants/icons.d.ts +0 -4
  104. package/schematics/ng-update/v3-30/constants/icons.js +0 -993
  105. package/schematics/ng-update/v3-30/index.d.ts +0 -3
  106. package/schematics/ng-update/v3-30/index.js +0 -33
  107. package/schematics/ng-update/v3-35/constants/constants.d.ts +0 -2
  108. package/schematics/ng-update/v3-35/constants/constants.js +0 -8
  109. package/schematics/ng-update/v3-35/constants/icons.d.ts +0 -4
  110. package/schematics/ng-update/v3-35/constants/icons.js +0 -2537
  111. package/schematics/ng-update/v3-35/index.d.ts +0 -3
  112. package/schematics/ng-update/v3-35/index.js +0 -33
  113. package/schematics/ng-update/v3-36/index.d.ts +0 -3
  114. package/schematics/ng-update/v3-36/index.js +0 -23
  115. package/schematics/ng-update/v3-40/index.d.ts +0 -3
  116. package/schematics/ng-update/v3-40/index.js +0 -62
  117. package/schematics/ng-update/v3-5/index.d.ts +0 -3
  118. package/schematics/ng-update/v3-5/index.js +0 -20
  119. package/schematics/ng-update/v3-5/steps/migrate-expand-templates.d.ts +0 -3
  120. package/schematics/ng-update/v3-5/steps/migrate-expand-templates.js +0 -44
  121. package/services/static-request.service.d.ts +0 -8
@@ -10,6 +10,17 @@ exports.IDENTIFIERS_TO_REPLACE = [
10
10
  from: { name: 'TuiPaginationModule', moduleSpecifier: '@taiga-ui/kit' },
11
11
  to: { name: 'TuiPagination', moduleSpecifier: '@taiga-ui/kit' },
12
12
  },
13
+ {
14
+ from: { name: 'TuiPlatformModule', moduleSpecifier: '@taiga-ui/cdk' },
15
+ to: { name: 'TuiPlatform', moduleSpecifier: '@taiga-ui/cdk' },
16
+ },
17
+ {
18
+ from: {
19
+ name: 'tuiIconResolverProvider',
20
+ moduleSpecifier: '@taiga-ui/experimental',
21
+ },
22
+ to: { name: 'tuiIconResolverProvider', moduleSpecifier: '@taiga-ui/core' },
23
+ },
13
24
  {
14
25
  from: { name: 'TuiAutoFocusModule', moduleSpecifier: '@taiga-ui/cdk' },
15
26
  to: { name: 'TuiAutoFocus', moduleSpecifier: '@taiga-ui/cdk' },
@@ -78,12 +89,19 @@ exports.IDENTIFIERS_TO_REPLACE = [
78
89
  from: { name: 'TUI_NON_DIGITS_REGEXP', moduleSpecifier: '@taiga-ui/core' },
79
90
  to: { name: 'TUI_NON_DIGITS_REGEXP', moduleSpecifier: '@taiga-ui/cdk' },
80
91
  },
92
+ {
93
+ from: { name: 'TuiAlertContext', moduleSpecifier: '@taiga-ui/cdk' },
94
+ to: { name: 'TuiAlertContext', moduleSpecifier: '@taiga-ui/core' },
95
+ },
81
96
  {
82
97
  from: { name: 'TuiAlertModule', moduleSpecifier: '@taiga-ui/core' },
83
98
  to: { name: 'TuiAlert', moduleSpecifier: '@taiga-ui/core' },
84
99
  },
85
100
  {
86
- from: { name: 'TuiNotificationModule', moduleSpecifier: '@taiga-ui/core' },
101
+ from: [
102
+ { name: 'TuiNotificationComponent', moduleSpecifier: '@taiga-ui/core' },
103
+ { name: 'TuiNotificationModule', moduleSpecifier: '@taiga-ui/core' },
104
+ ],
87
105
  to: { name: 'TuiNotification', moduleSpecifier: '@taiga-ui/core' },
88
106
  },
89
107
  {
@@ -191,10 +209,7 @@ exports.IDENTIFIERS_TO_REPLACE = [
191
209
  },
192
210
  {
193
211
  from: { name: 'TuiPushModule', moduleSpecifier: '@taiga-ui/kit' },
194
- to: [
195
- { name: 'TuiPush', moduleSpecifier: '@taiga-ui/kit' },
196
- { name: 'TuiPushDirective', moduleSpecifier: '@taiga-ui/kit' },
197
- ],
212
+ to: { name: 'TuiPush', moduleSpecifier: '@taiga-ui/kit', spreadInModule: true },
198
213
  },
199
214
  {
200
215
  from: { name: 'TuiElasticContainerModule', moduleSpecifier: '@taiga-ui/kit' },
@@ -213,11 +228,10 @@ exports.IDENTIFIERS_TO_REPLACE = [
213
228
  to: { name: 'TuiInputInline', moduleSpecifier: '@taiga-ui/kit' },
214
229
  },
215
230
  {
216
- from: { name: 'TuiIslandComponent', moduleSpecifier: '@taiga-ui/kit' },
217
- to: { name: 'TuiIslandDirective', moduleSpecifier: '@taiga-ui/legacy' },
218
- },
219
- {
220
- from: { name: 'TuiIslandModule', moduleSpecifier: '@taiga-ui/kit' },
231
+ from: [
232
+ { name: 'TuiIslandComponent', moduleSpecifier: '@taiga-ui/kit' },
233
+ { name: 'TuiIslandModule', moduleSpecifier: '@taiga-ui/kit' },
234
+ ],
221
235
  to: { name: 'TuiIslandDirective', moduleSpecifier: '@taiga-ui/legacy' },
222
236
  },
223
237
  {
@@ -229,11 +243,10 @@ exports.IDENTIFIERS_TO_REPLACE = [
229
243
  },
230
244
  },
231
245
  {
232
- from: { name: 'TuiLineClampModule', moduleSpecifier: '@taiga-ui/kit' },
233
- to: { name: 'TuiLineClamp', moduleSpecifier: '@taiga-ui/kit' },
234
- },
235
- {
236
- from: { name: 'TuiLineClampComponent', moduleSpecifier: '@taiga-ui/kit' },
246
+ from: [
247
+ { name: 'TuiLineClampComponent', moduleSpecifier: '@taiga-ui/kit' },
248
+ { name: 'TuiLineClampModule', moduleSpecifier: '@taiga-ui/kit' },
249
+ ],
237
250
  to: { name: 'TuiLineClamp', moduleSpecifier: '@taiga-ui/kit' },
238
251
  },
239
252
  {
@@ -306,14 +319,10 @@ exports.IDENTIFIERS_TO_REPLACE = [
306
319
  },
307
320
  },
308
321
  {
309
- from: { name: 'TuiCardModule', moduleSpecifier: '@taiga-ui/addon-commerce' },
310
- to: {
311
- name: 'TuiThumbnailCard',
312
- moduleSpecifier: '@taiga-ui/addon-commerce',
313
- },
314
- },
315
- {
316
- from: { name: 'TuiCardComponent', moduleSpecifier: '@taiga-ui/addon-commerce' },
322
+ from: [
323
+ { name: 'TuiCardModule', moduleSpecifier: '@taiga-ui/addon-commerce' },
324
+ { name: 'TuiCardComponent', moduleSpecifier: '@taiga-ui/addon-commerce' },
325
+ ],
317
326
  to: {
318
327
  name: 'TuiThumbnailCard',
319
328
  moduleSpecifier: '@taiga-ui/addon-commerce',
@@ -336,11 +345,10 @@ exports.IDENTIFIERS_TO_REPLACE = [
336
345
  to: { name: 'TuiTextfieldComponent', moduleSpecifier: '@taiga-ui/legacy' },
337
346
  },
338
347
  {
339
- from: { name: 'TuiBadgeModule', moduleSpecifier: '@taiga-ui/experimental' },
340
- to: { name: 'TuiBadge', moduleSpecifier: '@taiga-ui/kit' },
341
- },
342
- {
343
- from: { name: 'TuiBadgeModule', moduleSpecifier: '@taiga-ui/kit' },
348
+ from: [
349
+ { name: 'TuiBadgeModule', moduleSpecifier: '@taiga-ui/experimental' },
350
+ { name: 'TuiBadgeModule', moduleSpecifier: '@taiga-ui/kit' },
351
+ ],
344
352
  to: { name: 'TuiBadge', moduleSpecifier: '@taiga-ui/kit' },
345
353
  },
346
354
  {
@@ -352,11 +360,10 @@ exports.IDENTIFIERS_TO_REPLACE = [
352
360
  to: { name: 'TuiCopyProcessor', moduleSpecifier: '@taiga-ui/cdk' },
353
361
  },
354
362
  {
355
- from: { name: 'AbstractTuiValueTransformer', moduleSpecifier: '@taiga-ui/cdk' },
356
- to: { name: 'TuiValueTransformer', moduleSpecifier: '@taiga-ui/cdk' },
357
- },
358
- {
359
- from: { name: 'TuiControlValueTransformer', moduleSpecifier: '@taiga-ui/cdk' },
363
+ from: [
364
+ { name: 'AbstractTuiValueTransformer', moduleSpecifier: '@taiga-ui/cdk' },
365
+ { name: 'TuiControlValueTransformer', moduleSpecifier: '@taiga-ui/cdk' },
366
+ ],
360
367
  to: { name: 'TuiValueTransformer', moduleSpecifier: '@taiga-ui/cdk' },
361
368
  },
362
369
  {
@@ -380,15 +387,13 @@ exports.IDENTIFIERS_TO_REPLACE = [
380
387
  to: { name: 'TuiReplacePipe', moduleSpecifier: '@taiga-ui/cdk' },
381
388
  },
382
389
  {
383
- from: { name: 'TuiCheckboxModule', moduleSpecifier: '@taiga-ui/experimental' },
384
- to: { name: 'TuiCheckbox', moduleSpecifier: '@taiga-ui/kit' },
385
- },
386
- {
387
- from: { name: 'TuiCheckboxModule', moduleSpecifier: '@taiga-ui/kit' },
388
- to: { name: 'TuiCheckbox', moduleSpecifier: '@taiga-ui/kit' },
389
- },
390
- {
391
- from: { name: 'TuiPrimitiveCheckboxModule', moduleSpecifier: '@taiga-ui/core' },
390
+ from: [
391
+ { name: 'TuiCheckboxModule', moduleSpecifier: '@taiga-ui/experimental' },
392
+ { name: 'TuiCheckboxModule', moduleSpecifier: '@taiga-ui/kit' },
393
+ { name: 'TuiPrimitiveCheckboxModule', moduleSpecifier: '@taiga-ui/core' },
394
+ { name: 'TuiCheckboxComponent', moduleSpecifier: '@taiga-ui/kit' },
395
+ { name: 'TuiCheckboxLabeledComponent', moduleSpecifier: '@taiga-ui/kit' },
396
+ ],
392
397
  to: { name: 'TuiCheckbox', moduleSpecifier: '@taiga-ui/kit' },
393
398
  },
394
399
  {
@@ -399,39 +404,32 @@ exports.IDENTIFIERS_TO_REPLACE = [
399
404
  ],
400
405
  },
401
406
  {
402
- from: { name: 'TuiRadioModule', moduleSpecifier: '@taiga-ui/experimental' },
403
- to: { name: 'TuiRadio', moduleSpecifier: '@taiga-ui/kit', spreadInModule: true },
404
- },
405
- {
406
- from: { name: 'TuiRadioModule', moduleSpecifier: '@taiga-ui/core' },
407
+ from: [
408
+ { name: 'TuiRadioModule', moduleSpecifier: '@taiga-ui/experimental' },
409
+ { name: 'TuiRadioModule', moduleSpecifier: '@taiga-ui/core' },
410
+ ],
407
411
  to: { name: 'TuiRadio', moduleSpecifier: '@taiga-ui/kit', spreadInModule: true },
408
412
  },
409
413
  {
410
- from: { name: 'TuiAvatarModule', moduleSpecifier: '@taiga-ui/experimental' },
411
- to: { name: 'TuiAvatar', moduleSpecifier: '@taiga-ui/kit' },
412
- },
413
- {
414
- from: { name: 'TuiAvatarModule', moduleSpecifier: '@taiga-ui/kit' },
414
+ from: [
415
+ { name: 'TuiAvatarModule', moduleSpecifier: '@taiga-ui/experimental' },
416
+ { name: 'TuiAvatarModule', moduleSpecifier: '@taiga-ui/kit' },
417
+ ],
415
418
  to: { name: 'TuiAvatar', moduleSpecifier: '@taiga-ui/kit' },
416
419
  },
417
420
  {
418
- from: { name: 'TuiToggleModule', moduleSpecifier: '@taiga-ui/experimental' },
419
- to: { name: 'TuiSwitch', moduleSpecifier: '@taiga-ui/kit' },
420
- },
421
- {
422
- from: { name: 'TuiToggleModule', moduleSpecifier: '@taiga-ui/kit' },
423
- to: { name: 'TuiSwitch', moduleSpecifier: '@taiga-ui/kit' },
424
- },
425
- {
426
- from: { name: 'TuiToggleComponent', moduleSpecifier: '@taiga-ui/kit' },
421
+ from: [
422
+ { name: 'TuiToggleModule', moduleSpecifier: '@taiga-ui/experimental' },
423
+ { name: 'TuiToggleModule', moduleSpecifier: '@taiga-ui/kit' },
424
+ { name: 'TuiToggleComponent', moduleSpecifier: '@taiga-ui/kit' },
425
+ ],
427
426
  to: { name: 'TuiSwitch', moduleSpecifier: '@taiga-ui/kit' },
428
427
  },
429
428
  {
430
- from: { name: 'TuiTextAreaModule', moduleSpecifier: '@taiga-ui/kit' },
431
- to: { name: 'TuiTextareaModule', moduleSpecifier: '@taiga-ui/legacy' },
432
- },
433
- {
434
- from: { name: 'TuiTextareaModule', moduleSpecifier: '@taiga-ui/kit' },
429
+ from: [
430
+ { name: 'TuiTextAreaModule', moduleSpecifier: '@taiga-ui/kit' },
431
+ { name: 'TuiTextareaModule', moduleSpecifier: '@taiga-ui/kit' },
432
+ ],
435
433
  to: { name: 'TuiTextareaModule', moduleSpecifier: '@taiga-ui/legacy' },
436
434
  },
437
435
  {
@@ -439,15 +437,14 @@ exports.IDENTIFIERS_TO_REPLACE = [
439
437
  to: { name: 'TuiTextareaDirective', moduleSpecifier: '@taiga-ui/legacy' },
440
438
  },
441
439
  {
442
- from: { name: 'TuiBadgedContentModule', moduleSpecifier: '@taiga-ui/experimental' },
443
- to: {
444
- name: 'TuiBadgedContent',
445
- moduleSpecifier: '@taiga-ui/kit',
446
- spreadInModule: true,
447
- },
440
+ from: { name: 'TuiTextAreaComponent', moduleSpecifier: '@taiga-ui/kit' },
441
+ to: { name: 'TuiTextareaComponent', moduleSpecifier: '@taiga-ui/legacy' },
448
442
  },
449
443
  {
450
- from: { name: 'TuiBadgedContentModule', moduleSpecifier: '@taiga-ui/kit' },
444
+ from: [
445
+ { name: 'TuiBadgedContentModule', moduleSpecifier: '@taiga-ui/experimental' },
446
+ { name: 'TuiBadgedContentModule', moduleSpecifier: '@taiga-ui/kit' },
447
+ ],
451
448
  to: {
452
449
  name: 'TuiBadgedContent',
453
450
  moduleSpecifier: '@taiga-ui/kit',
@@ -461,10 +458,6 @@ exports.IDENTIFIERS_TO_REPLACE = [
461
458
  },
462
459
  to: { name: 'TuiBadgeNotification', moduleSpecifier: '@taiga-ui/kit' },
463
460
  },
464
- {
465
- from: { name: 'TuiTextAreaComponent', moduleSpecifier: '@taiga-ui/kit' },
466
- to: { name: 'TuiTextareaComponent', moduleSpecifier: '@taiga-ui/legacy' },
467
- },
468
461
  {
469
462
  from: { name: 'TuiInputCountModule', moduleSpecifier: '@taiga-ui/kit' },
470
463
  to: { name: 'TuiInputNumberModule', moduleSpecifier: '@taiga-ui/kit' },
@@ -512,15 +505,17 @@ exports.IDENTIFIERS_TO_REPLACE = [
512
505
  to: { name: 'TUI_SANITIZER', moduleSpecifier: '@taiga-ui/legacy' },
513
506
  },
514
507
  {
515
- from: { name: 'TuiScrollbarModule', moduleSpecifier: '@taiga-ui/core' },
516
- to: { name: 'TuiScrollbar', moduleSpecifier: '@taiga-ui/core' },
517
- },
518
- {
519
- from: { name: 'TuiScrollbarComponent', moduleSpecifier: '@taiga-ui/core' },
508
+ from: [
509
+ { name: 'TuiScrollbarModule', moduleSpecifier: '@taiga-ui/core' },
510
+ { name: 'TuiScrollbarComponent', moduleSpecifier: '@taiga-ui/core' },
511
+ ],
520
512
  to: { name: 'TuiScrollbar', moduleSpecifier: '@taiga-ui/core' },
521
513
  },
522
514
  {
523
- from: { name: 'TuiGroupModule', moduleSpecifier: '@taiga-ui/core' },
515
+ from: [
516
+ { name: 'TuiGroupModule', moduleSpecifier: '@taiga-ui/core' },
517
+ { name: 'TuiGroupDirective', moduleSpecifier: '@taiga-ui/core' },
518
+ ],
524
519
  to: { name: 'TuiGroup', moduleSpecifier: '@taiga-ui/core' },
525
520
  },
526
521
  {
@@ -544,21 +539,12 @@ exports.IDENTIFIERS_TO_REPLACE = [
544
539
  to: { name: 'TuiDropdownService', moduleSpecifier: '@taiga-ui/core' },
545
540
  },
546
541
  {
547
- from: { name: 'TuiPortalDirective', moduleSpecifier: '@taiga-ui/cdk' },
548
- to: { name: 'TuiDropdownPortal', moduleSpecifier: '@taiga-ui/core' },
549
- },
550
- {
551
- from: { name: 'TuiPortalModule', moduleSpecifier: '@taiga-ui/cdk' },
542
+ from: [
543
+ { name: 'TuiPortalDirective', moduleSpecifier: '@taiga-ui/cdk' },
544
+ { name: 'TuiPortalModule', moduleSpecifier: '@taiga-ui/cdk' },
545
+ ],
552
546
  to: { name: 'TuiDropdownPortal', moduleSpecifier: '@taiga-ui/core' },
553
547
  },
554
- {
555
- from: { name: 'TuiDropdownModule', moduleSpecifier: '@taiga-ui/core' },
556
- to: {
557
- name: 'TuiDropdown',
558
- moduleSpecifier: '@taiga-ui/core',
559
- spreadInModule: true,
560
- },
561
- },
562
548
  {
563
549
  from: { name: 'TuiDroppableModule', moduleSpecifier: '@taiga-ui/cdk' },
564
550
  to: { name: 'TuiDroppable', moduleSpecifier: '@taiga-ui/cdk' },
@@ -568,11 +554,10 @@ exports.IDENTIFIERS_TO_REPLACE = [
568
554
  to: { name: 'TuiValidator', moduleSpecifier: '@taiga-ui/cdk' },
569
555
  },
570
556
  {
571
- from: { name: 'TuiAmountPipeModule', moduleSpecifier: '@taiga-ui/experimental' },
572
- to: { name: 'TuiAmountPipe', moduleSpecifier: '@taiga-ui/addon-commerce' },
573
- },
574
- {
575
- from: { name: 'TuiMoneyModule', moduleSpecifier: '@taiga-ui/addon-commerce' },
557
+ from: [
558
+ { name: 'TuiAmountPipeModule', moduleSpecifier: '@taiga-ui/experimental' },
559
+ { name: 'TuiMoneyModule', moduleSpecifier: '@taiga-ui/addon-commerce' },
560
+ ],
576
561
  to: { name: 'TuiAmountPipe', moduleSpecifier: '@taiga-ui/addon-commerce' },
577
562
  },
578
563
  {
@@ -605,7 +590,11 @@ exports.IDENTIFIERS_TO_REPLACE = [
605
590
  },
606
591
  {
607
592
  from: { name: 'TuiEditorSocketModule', moduleSpecifier: '@tinkoff/tui-editor' },
608
- to: { name: 'TuiEditorSocket', moduleSpecifier: '@taiga/editor' },
593
+ to: { name: 'TuiEditorSocket', moduleSpecifier: '@taiga-ui/editor' },
594
+ },
595
+ {
596
+ from: { name: 'TuiToolbarModule', moduleSpecifier: '@tinkoff/tui-editor' },
597
+ to: { name: 'TuiToolbar', moduleSpecifier: '@taiga-ui/editor' },
609
598
  },
610
599
  {
611
600
  from: { name: 'defaultEditorExtensions', moduleSpecifier: '@tinkoff/tui-editor' },
@@ -619,11 +608,10 @@ exports.IDENTIFIERS_TO_REPLACE = [
619
608
  to: { name: 'TUI_EDITOR_DEFAULT_EXTENSIONS', moduleSpecifier: '@taiga-ui/editor' },
620
609
  },
621
610
  {
622
- from: { name: 'defaultEditorTools', moduleSpecifier: '@tinkoff/tui-editor' },
623
- to: { name: 'TUI_EDITOR_DEFAULT_TOOLS', moduleSpecifier: '@taiga-ui/editor' },
624
- },
625
- {
626
- from: { name: 'TUI_EDITOR_DEFAULT_TOOLS', moduleSpecifier: '@tinkoff/tui-editor' },
611
+ from: [
612
+ { name: 'defaultEditorTools', moduleSpecifier: '@tinkoff/tui-editor' },
613
+ { name: 'TUI_EDITOR_DEFAULT_TOOLS', moduleSpecifier: '@tinkoff/tui-editor' },
614
+ ],
627
615
  to: { name: 'TUI_EDITOR_DEFAULT_TOOLS', moduleSpecifier: '@taiga-ui/editor' },
628
616
  },
629
617
  {
@@ -662,19 +650,10 @@ exports.IDENTIFIERS_TO_REPLACE = [
662
650
  to: { name: 'TuiIcon', moduleSpecifier: '@taiga-ui/core' },
663
651
  },
664
652
  {
665
- from: { name: 'TuiCheckboxComponent', moduleSpecifier: '@taiga-ui/kit' },
666
- to: { name: 'TuiCheckbox', moduleSpecifier: '@taiga-ui/kit' },
667
- },
668
- {
669
- from: { name: 'TuiCheckboxLabeledComponent', moduleSpecifier: '@taiga-ui/kit' },
670
- to: { name: 'TuiCheckbox', moduleSpecifier: '@taiga-ui/kit' },
671
- },
672
- {
673
- from: { name: 'TuiCheckboxLabeledModule', moduleSpecifier: '@taiga-ui/kit' },
674
- to: { name: 'TuiLabel', moduleSpecifier: '@taiga-ui/core' },
675
- },
676
- {
677
- from: { name: 'TuiRadioLabeledModule', moduleSpecifier: '@taiga-ui/kit' },
653
+ from: [
654
+ { name: 'TuiCheckboxLabeledModule', moduleSpecifier: '@taiga-ui/kit' },
655
+ { name: 'TuiRadioLabeledModule', moduleSpecifier: '@taiga-ui/kit' },
656
+ ],
678
657
  to: { name: 'TuiLabel', moduleSpecifier: '@taiga-ui/core' },
679
658
  },
680
659
  {
@@ -700,13 +679,20 @@ exports.IDENTIFIERS_TO_REPLACE = [
700
679
  to: { name: 'TuiTabs', moduleSpecifier: '@taiga-ui/kit', spreadInModule: true },
701
680
  },
702
681
  {
703
- from: { name: 'TuiHostedDropdownModule', moduleSpecifier: '@taiga-ui/core' },
682
+ from: [
683
+ { name: 'TuiHostedDropdownModule', moduleSpecifier: '@taiga-ui/core' },
684
+ { name: 'TuiDropdownModule', moduleSpecifier: '@taiga-ui/core' },
685
+ ],
704
686
  to: {
705
687
  name: 'TuiDropdown',
706
688
  moduleSpecifier: '@taiga-ui/core',
707
689
  spreadInModule: true,
708
690
  },
709
691
  },
692
+ {
693
+ from: { name: 'TuiHostedDropdownComponent', moduleSpecifier: '@taiga-ui/core' },
694
+ to: { name: 'TuiDropdownOpen', moduleSpecifier: '@taiga-ui/core' },
695
+ },
710
696
  {
711
697
  from: { name: 'TuiTitleModule', moduleSpecifier: '@taiga-ui/experimental' },
712
698
  to: { name: 'TuiTitle', moduleSpecifier: '@taiga-ui/core' },
@@ -728,11 +714,10 @@ exports.IDENTIFIERS_TO_REPLACE = [
728
714
  to: { name: 'TuiCompass', moduleSpecifier: '@taiga-ui/kit' },
729
715
  },
730
716
  {
731
- from: { name: 'TuiRatingModule', moduleSpecifier: '@taiga-ui/experimental' },
732
- to: { name: 'TuiRating', moduleSpecifier: '@taiga-ui/kit' },
733
- },
734
- {
735
- from: { name: 'TuiRatingModule', moduleSpecifier: '@taiga-ui/kit' },
717
+ from: [
718
+ { name: 'TuiRatingModule', moduleSpecifier: '@taiga-ui/experimental' },
719
+ { name: 'TuiRatingModule', moduleSpecifier: '@taiga-ui/kit' },
720
+ ],
736
721
  to: { name: 'TuiRating', moduleSpecifier: '@taiga-ui/kit' },
737
722
  },
738
723
  {
@@ -744,7 +729,10 @@ exports.IDENTIFIERS_TO_REPLACE = [
744
729
  to: { name: 'TuiFlagPipe', moduleSpecifier: '@taiga-ui/core' },
745
730
  },
746
731
  {
747
- from: { name: 'TuiSvgModule', moduleSpecifier: '@taiga-ui/core' },
732
+ from: [
733
+ { name: 'TuiSvgModule', moduleSpecifier: '@taiga-ui/core' },
734
+ { name: 'TuiSvgComponent', moduleSpecifier: '@taiga-ui/core' },
735
+ ],
748
736
  to: { name: 'TuiIcon', moduleSpecifier: '@taiga-ui/core' },
749
737
  },
750
738
  {
@@ -773,7 +761,10 @@ exports.IDENTIFIERS_TO_REPLACE = [
773
761
  ],
774
762
  },
775
763
  {
776
- from: { name: 'TuiMarkerIconModule', moduleSpecifier: '@taiga-ui/kit' },
764
+ from: [
765
+ { name: 'TuiMarkerIconModule', moduleSpecifier: '@taiga-ui/kit' },
766
+ { name: 'TuiMarkerIconComponent', moduleSpecifier: '@taiga-ui/kit' },
767
+ ],
777
768
  to: { name: 'TuiAvatar', moduleSpecifier: '@taiga-ui/kit' },
778
769
  },
779
770
  {
@@ -788,11 +779,10 @@ exports.IDENTIFIERS_TO_REPLACE = [
788
779
  ],
789
780
  },
790
781
  {
791
- from: { name: 'TuiLinkModule', moduleSpecifier: '@taiga-ui/core' },
792
- to: { name: 'TuiLink', moduleSpecifier: '@taiga-ui/core' },
793
- },
794
- {
795
- from: { name: 'TuiLinkComponent', moduleSpecifier: '@taiga-ui/core' },
782
+ from: [
783
+ { name: 'TuiLinkModule', moduleSpecifier: '@taiga-ui/core' },
784
+ { name: 'TuiLinkComponent', moduleSpecifier: '@taiga-ui/core' },
785
+ ],
796
786
  to: { name: 'TuiLink', moduleSpecifier: '@taiga-ui/core' },
797
787
  },
798
788
  {
@@ -835,21 +825,11 @@ exports.IDENTIFIERS_TO_REPLACE = [
835
825
  },
836
826
  },
837
827
  {
838
- from: { name: 'TuiButtonModule', moduleSpecifier: '@taiga-ui/core' },
839
- to: {
840
- name: 'TuiButton',
841
- moduleSpecifier: '@taiga-ui/core',
842
- },
843
- },
844
- {
845
- from: { name: 'TuiButtonComponent', moduleSpecifier: '@taiga-ui/core' },
846
- to: {
847
- name: 'TuiButton',
848
- moduleSpecifier: '@taiga-ui/core',
849
- },
850
- },
851
- {
852
- from: { name: 'TuiButtonModule', moduleSpecifier: '@taiga-ui/experimental' },
828
+ from: [
829
+ { name: 'TuiButtonComponent', moduleSpecifier: '@taiga-ui/core' },
830
+ { name: 'TuiButtonModule', moduleSpecifier: '@taiga-ui/core' },
831
+ { name: 'TuiButtonModule', moduleSpecifier: '@taiga-ui/experimental' },
832
+ ],
853
833
  to: {
854
834
  name: 'TuiButton',
855
835
  moduleSpecifier: '@taiga-ui/core',
@@ -909,13 +889,23 @@ exports.IDENTIFIERS_TO_REPLACE = [
909
889
  moduleSpecifier: '@taiga-ui/proprietary',
910
890
  },
911
891
  },
892
+ {
893
+ from: {
894
+ name: 'TuiConfirmationModule',
895
+ moduleSpecifier: '@taiga-ui/proprietary-core',
896
+ },
897
+ to: {
898
+ name: 'TuiConfirmationComponent',
899
+ moduleSpecifier: '@taiga-ui/proprietary',
900
+ },
901
+ },
912
902
  {
913
903
  from: {
914
904
  name: 'TuiConfirmDialogModule',
915
905
  moduleSpecifier: '@taiga-ui/proprietary-core',
916
906
  },
917
907
  to: {
918
- name: 'TuiConfirmDialogComponent',
908
+ name: 'TuiConfirmDialog',
919
909
  moduleSpecifier: '@taiga-ui/proprietary',
920
910
  },
921
911
  },
@@ -1214,10 +1204,16 @@ exports.IDENTIFIERS_TO_REPLACE = [
1214
1204
  },
1215
1205
  },
1216
1206
  {
1217
- from: {
1218
- name: 'TuiTableBarsHostModule',
1219
- moduleSpecifier: '@taiga-ui/addon-tablebars',
1220
- },
1207
+ from: [
1208
+ {
1209
+ name: 'TuiTableBarsHostModule',
1210
+ moduleSpecifier: '@taiga-ui/addon-tablebars',
1211
+ },
1212
+ {
1213
+ name: 'TuiTableBarsHostComponent',
1214
+ moduleSpecifier: '@taiga-ui/addon-tablebars',
1215
+ },
1216
+ ],
1221
1217
  to: {
1222
1218
  name: 'TuiTableBarsHostComponent',
1223
1219
  moduleSpecifier: '@taiga-ui/legacy',
@@ -1285,10 +1281,16 @@ exports.IDENTIFIERS_TO_REPLACE = [
1285
1281
  },
1286
1282
  },
1287
1283
  {
1288
- from: {
1289
- name: 'TuiAppBarModule',
1290
- moduleSpecifier: '@taiga-ui/layout',
1291
- },
1284
+ from: [
1285
+ {
1286
+ name: 'TuiAppBarModule',
1287
+ moduleSpecifier: '@taiga-ui/addon-mobile',
1288
+ },
1289
+ {
1290
+ name: 'TuiAppBarModule',
1291
+ moduleSpecifier: '@taiga-ui/layout',
1292
+ },
1293
+ ],
1292
1294
  to: {
1293
1295
  name: 'TuiAppBar',
1294
1296
  moduleSpecifier: '@taiga-ui/layout',
@@ -1331,7 +1333,7 @@ exports.IDENTIFIERS_TO_REPLACE = [
1331
1333
  moduleSpecifier: '@taiga-ui/experimental',
1332
1334
  },
1333
1335
  to: {
1334
- name: 'TuiButtonVertical',
1336
+ name: 'TuiButton',
1335
1337
  moduleSpecifier: '@taiga-ui/kit',
1336
1338
  },
1337
1339
  },
@@ -1493,10 +1495,16 @@ exports.IDENTIFIERS_TO_REPLACE = [
1493
1495
  },
1494
1496
  },
1495
1497
  {
1496
- from: {
1497
- name: 'TuiErrorModule',
1498
- moduleSpecifier: '@taiga-ui/core',
1499
- },
1498
+ from: [
1499
+ {
1500
+ name: 'TuiErrorModule',
1501
+ moduleSpecifier: '@taiga-ui/core',
1502
+ },
1503
+ {
1504
+ name: 'TuiErrorComponent',
1505
+ moduleSpecifier: '@taiga-ui/core',
1506
+ },
1507
+ ],
1500
1508
  to: {
1501
1509
  name: 'TuiError',
1502
1510
  moduleSpecifier: '@taiga-ui/core',
@@ -1545,60 +1553,32 @@ exports.IDENTIFIERS_TO_REPLACE = [
1545
1553
  },
1546
1554
  },
1547
1555
  {
1548
- from: {
1549
- name: 'TuiDocCodeModule',
1550
- moduleSpecifier: '@taiga-ui/addon-doc',
1551
- },
1552
- to: {
1553
- name: 'TuiAddonDoc',
1554
- moduleSpecifier: '@taiga-ui/addon-doc',
1555
- },
1556
- },
1557
- {
1558
- from: {
1559
- name: 'TuiDocDemoModule',
1560
- moduleSpecifier: '@taiga-ui/addon-doc',
1561
- },
1562
- to: {
1563
- name: 'TuiAddonDoc',
1564
- moduleSpecifier: '@taiga-ui/addon-doc',
1565
- },
1566
- },
1567
- {
1568
- from: {
1569
- name: 'TuiDocMainModule',
1570
- moduleSpecifier: '@taiga-ui/addon-doc',
1571
- },
1572
- to: {
1573
- name: 'TuiAddonDoc',
1574
- moduleSpecifier: '@taiga-ui/addon-doc',
1575
- },
1576
- },
1577
- {
1578
- from: {
1579
- name: 'TuiDocNavigationModule',
1580
- moduleSpecifier: '@taiga-ui/addon-doc',
1581
- },
1582
- to: {
1583
- name: 'TuiAddonDoc',
1584
- moduleSpecifier: '@taiga-ui/addon-doc',
1585
- },
1586
- },
1587
- {
1588
- from: {
1589
- name: 'TuiDocPageModule',
1590
- moduleSpecifier: '@taiga-ui/addon-doc',
1591
- },
1592
- to: {
1593
- name: 'TuiAddonDoc',
1594
- moduleSpecifier: '@taiga-ui/addon-doc',
1595
- },
1596
- },
1597
- {
1598
- from: {
1599
- name: 'TuiAddonDocModule',
1600
- moduleSpecifier: '@taiga-ui/addon-doc',
1601
- },
1556
+ from: [
1557
+ {
1558
+ name: 'TuiDocCodeModule',
1559
+ moduleSpecifier: '@taiga-ui/addon-doc',
1560
+ },
1561
+ {
1562
+ name: 'TuiDocDemoModule',
1563
+ moduleSpecifier: '@taiga-ui/addon-doc',
1564
+ },
1565
+ {
1566
+ name: 'TuiDocMainModule',
1567
+ moduleSpecifier: '@taiga-ui/addon-doc',
1568
+ },
1569
+ {
1570
+ name: 'TuiDocNavigationModule',
1571
+ moduleSpecifier: '@taiga-ui/addon-doc',
1572
+ },
1573
+ {
1574
+ name: 'TuiDocPageModule',
1575
+ moduleSpecifier: '@taiga-ui/addon-doc',
1576
+ },
1577
+ {
1578
+ name: 'TuiAddonDocModule',
1579
+ moduleSpecifier: '@taiga-ui/addon-doc',
1580
+ },
1581
+ ],
1602
1582
  to: {
1603
1583
  name: 'TuiAddonDoc',
1604
1584
  moduleSpecifier: '@taiga-ui/addon-doc',
@@ -1713,7 +1693,7 @@ exports.IDENTIFIERS_TO_REPLACE = [
1713
1693
  },
1714
1694
  to: {
1715
1695
  name: 'TuiCurrencyPipe',
1716
- moduleSpecifier: '@taiga-ui/addon-mobile',
1696
+ moduleSpecifier: '@taiga-ui/addon-commerce',
1717
1697
  },
1718
1698
  },
1719
1699
  {
@@ -2513,20 +2493,16 @@ exports.IDENTIFIERS_TO_REPLACE = [
2513
2493
  },
2514
2494
  },
2515
2495
  {
2516
- from: {
2517
- name: 'TuiLabelModule',
2518
- moduleSpecifier: '@taiga-ui/core',
2519
- },
2520
- to: {
2521
- name: 'TuiLabel',
2522
- moduleSpecifier: '@taiga-ui/core',
2523
- },
2524
- },
2525
- {
2526
- from: {
2527
- name: 'TuiLabelComponent',
2528
- moduleSpecifier: '@taiga-ui/core',
2529
- },
2496
+ from: [
2497
+ {
2498
+ name: 'TuiLabelModule',
2499
+ moduleSpecifier: '@taiga-ui/core',
2500
+ },
2501
+ {
2502
+ name: 'TuiLabelComponent',
2503
+ moduleSpecifier: '@taiga-ui/core',
2504
+ },
2505
+ ],
2530
2506
  to: {
2531
2507
  name: 'TuiLabel',
2532
2508
  moduleSpecifier: '@taiga-ui/core',
@@ -2642,4 +2618,28 @@ exports.IDENTIFIERS_TO_REPLACE = [
2642
2618
  from: { name: 'MaskitoModule', moduleSpecifier: '@maskito/angular' },
2643
2619
  to: { name: 'MaskitoDirective', moduleSpecifier: '@maskito/angular' },
2644
2620
  },
2621
+ {
2622
+ from: { name: 'TuiStaticRequestService', moduleSpecifier: '@taiga-ui/cdk' },
2623
+ to: { name: 'TuiStaticRequestService', moduleSpecifier: '@taiga-ui/legacy' },
2624
+ },
2625
+ {
2626
+ from: { name: 'TuiDeepPartial', moduleSpecifier: '@taiga-ui/cdk' },
2627
+ to: { name: 'TuiDeepPartial', moduleSpecifier: '@taiga-ui/addon-doc' },
2628
+ },
2629
+ {
2630
+ from: { name: 'TUI_FOCUSABLE_ITEM_ACCESSOR', moduleSpecifier: '@taiga-ui/cdk' },
2631
+ to: { name: 'TUI_FOCUSABLE_ITEM_ACCESSOR', moduleSpecifier: '@taiga-ui/legacy' },
2632
+ },
2633
+ {
2634
+ from: { name: 'TuiNativeFocusableElement', moduleSpecifier: '@taiga-ui/cdk' },
2635
+ to: { name: 'TuiNativeFocusableElement', moduleSpecifier: '@taiga-ui/legacy' },
2636
+ },
2637
+ {
2638
+ from: { name: 'TuiFocusableElementAccessor', moduleSpecifier: '@taiga-ui/cdk' },
2639
+ to: { name: 'TuiFocusableElementAccessor', moduleSpecifier: '@taiga-ui/legacy' },
2640
+ },
2641
+ {
2642
+ from: { name: 'TuiObscuredModule', moduleSpecifier: '@taiga-ui/cdk' },
2643
+ to: { name: 'TuiObscured', moduleSpecifier: '@taiga-ui/cdk' },
2644
+ },
2645
2645
  ];