@taiga-ui/cdk 2.74.0 → 2.76.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 +46 -1
- package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-abstract.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-classes.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-classes.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-coercion.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-coercion.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-alert-host.umd.js +47 -2
- package/bundles/taiga-ui-cdk-components-alert-host.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-alert-host.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.js +50 -5
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js +48 -3
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-portal-host.umd.js +46 -1
- package/bundles/taiga-ui-cdk-components-portal-host.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-portal-host.umd.min.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-constants.umd.min.js +1 -1
- package/bundles/taiga-ui-cdk-constants.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-date-time.umd.js +47 -2
- package/bundles/taiga-ui-cdk-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-date-time.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-decorators.umd.js +46 -1
- package/bundles/taiga-ui-cdk-decorators.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-decorators.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.js +49 -4
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js +47 -2
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-autofilled.umd.js +52 -7
- package/bundles/taiga-ui-cdk-directives-autofilled.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-checked.umd.js +52 -7
- package/bundles/taiga-ui-cdk-directives-checked.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-checked.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js +49 -4
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-drag.umd.js +50 -5
- package/bundles/taiga-ui-cdk-directives-drag.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-drag.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-droppable.umd.js +51 -6
- package/bundles/taiga-ui-cdk-directives-droppable.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-droppable.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-element.umd.js +48 -3
- package/bundles/taiga-ui-cdk-directives-element.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-element.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js +51 -6
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js +48 -3
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focusable.umd.js +49 -4
- package/bundles/taiga-ui-cdk-directives-focusable.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focusable.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focused.umd.js +48 -3
- package/bundles/taiga-ui-cdk-directives-focused.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focused.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-for-async.umd.js +47 -2
- package/bundles/taiga-ui-cdk-directives-for-async.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-for-async.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-for.umd.js +47 -2
- package/bundles/taiga-ui-cdk-directives-for.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-for.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js +47 -2
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-hovered.umd.js +50 -5
- package/bundles/taiga-ui-cdk-directives-hovered.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-hovered.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-input-mode.umd.js +56 -11
- package/bundles/taiga-ui-cdk-directives-input-mode.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-input-mode.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-item.umd.js +47 -2
- package/bundles/taiga-ui-cdk-directives-item.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-item.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-let.umd.js +47 -2
- package/bundles/taiga-ui-cdk-directives-let.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-let.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-media.umd.js +60 -15
- package/bundles/taiga-ui-cdk-directives-media.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-media.umd.min.js +1 -1
- package/bundles/taiga-ui-cdk-directives-media.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-obscured.umd.js +47 -2
- package/bundles/taiga-ui-cdk-directives-obscured.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-obscured.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.js +57 -12
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-pan.umd.js +48 -3
- package/bundles/taiga-ui-cdk-directives-pan.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-pan.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-portal.umd.js +47 -2
- package/bundles/taiga-ui-cdk-directives-portal.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-portal.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-pressed.umd.js +47 -2
- package/bundles/taiga-ui-cdk-directives-pressed.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-pressed.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js +49 -4
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js +47 -2
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-resize.umd.js +48 -3
- package/bundles/taiga-ui-cdk-directives-resize.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-resize.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-swipe.umd.js +48 -3
- package/bundles/taiga-ui-cdk-directives-swipe.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-validator.umd.js +47 -2
- package/bundles/taiga-ui-cdk-directives-validator.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-validator.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-zoom.umd.js +49 -4
- package/bundles/taiga-ui-cdk-directives-zoom.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-enums.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-exceptions.umd.js +46 -1
- package/bundles/taiga-ui-cdk-exceptions.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-exceptions.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-observables.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-observables.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-filter.umd.js +46 -1
- package/bundles/taiga-ui-cdk-pipes-filter.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-filter.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-keys.umd.js +46 -1
- package/bundles/taiga-ui-cdk-pipes-keys.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-keys.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-mapper.umd.js +46 -1
- package/bundles/taiga-ui-cdk-pipes-mapper.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-mapper.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-services.umd.js +46 -1
- package/bundles/taiga-ui-cdk-services.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-services.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-tokens.umd.js +47 -2
- package/bundles/taiga-ui-cdk-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-tokens.umd.min.js +1 -1
- package/bundles/taiga-ui-cdk-tokens.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-dom.umd.js +1 -1
- package/bundles/taiga-ui-cdk-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-dom.umd.min.js +1 -1
- package/bundles/taiga-ui-cdk-utils-dom.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-focus.umd.js +2 -1
- package/bundles/taiga-ui-cdk-utils-focus.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-focus.umd.min.js +1 -1
- package/bundles/taiga-ui-cdk-utils-focus.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-math.umd.js +8 -8
- package/bundles/taiga-ui-cdk-utils-math.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-math.umd.min.js +1 -1
- package/bundles/taiga-ui-cdk-utils-math.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js +2 -4
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js +1 -1
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-svg.umd.js +46 -1
- package/bundles/taiga-ui-cdk-utils-svg.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-svg.umd.min.js.map +1 -1
- package/classes/assert.d.ts +1 -1
- package/classes/validation-error.d.ts +1 -1
- package/coercion/coerce-boolean-property.d.ts +1 -1
- package/constants/taiga-ui-cdk-constants.metadata.json +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/decorators/default-prop.d.ts +1 -1
- package/decorators/pure.d.ts +1 -1
- package/decorators/required-setter.d.ts +1 -1
- package/directives/active-zone/taiga-ui-cdk-directives-active-zone.metadata.json +1 -1
- package/directives/checked/checked.directive.d.ts +1 -1
- package/directives/for-async/for-async.directive.d.ts +1 -1
- package/directives/media/media.directive.d.ts +2 -2
- package/directives/media/taiga-ui-cdk-directives-media.metadata.json +1 -1
- package/enums/autocomplete.d.ts +1 -1
- package/esm2015/abstract/dialog.service.js +1 -1
- package/esm2015/classes/assert.js +1 -1
- package/esm2015/classes/validation-error.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/components/dialog-host/dialog-host.component.js +5 -5
- package/esm2015/components/dropdown-host/dropdown-host.component.js +3 -3
- package/esm2015/constants/version.js +2 -2
- package/esm2015/date-time/day-range.js +1 -1
- package/esm2015/date-time/day.js +2 -2
- package/esm2015/date-time/time.js +1 -1
- package/esm2015/date-time/year.js +1 -1
- package/esm2015/decorators/default-prop.js +1 -1
- package/esm2015/decorators/pure.js +1 -1
- package/esm2015/decorators/required-setter.js +1 -1
- package/esm2015/directives/active-zone/active-zone.directive.js +4 -4
- package/esm2015/directives/auto-focus/autofocus.directive.js +2 -2
- package/esm2015/directives/autofilled/autofilled-style.component.js +2 -2
- package/esm2015/directives/autofilled/autofilled.directive.js +6 -6
- package/esm2015/directives/checked/checked.directive.js +7 -7
- package/esm2015/directives/copy-processor/copy-processor.directive.js +4 -4
- package/esm2015/directives/drag/drag.directive.js +5 -5
- package/esm2015/directives/droppable/droppable.directive.js +5 -5
- package/esm2015/directives/element/element.directive.js +3 -3
- package/esm2015/directives/focus-trap/focus-trap.directive.js +6 -6
- package/esm2015/directives/focus-visible/focus-visible.directive.js +3 -3
- package/esm2015/directives/focusable/focusable.directive.js +4 -4
- package/esm2015/directives/focused/focused.directive.js +3 -3
- package/esm2015/directives/for/for.directive.js +2 -2
- package/esm2015/directives/for-async/for-async.directive.js +2 -2
- package/esm2015/directives/high-dpi/high-dpi.directive.js +2 -2
- package/esm2015/directives/hovered/hovered.directive.js +5 -5
- package/esm2015/directives/input-mode/input-mode.directive.js +11 -11
- package/esm2015/directives/item/item.directive.js +2 -2
- package/esm2015/directives/let/let.directive.js +2 -2
- package/esm2015/directives/media/media.directive.js +18 -18
- package/esm2015/directives/obscured/obscured.directive.js +2 -2
- package/esm2015/directives/overscroll/overscroll.directive.js +12 -12
- package/esm2015/directives/pan/pan.directive.js +3 -3
- package/esm2015/directives/portal/portal.directive.js +2 -2
- package/esm2015/directives/pressed/pressed.directive.js +2 -2
- package/esm2015/directives/prevent-default/prevent-default.directive.js +4 -4
- package/esm2015/directives/repeat-times/repeat-times.directive.js +2 -2
- package/esm2015/directives/resize/resize.directive.js +3 -3
- package/esm2015/directives/swipe/swipe.directive.js +3 -3
- package/esm2015/directives/validator/validator.directive.js +2 -2
- package/esm2015/directives/zoom/zoom.directive.js +4 -4
- package/esm2015/enums/autocomplete.js +1 -1
- 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/must-be-present.js +1 -1
- package/esm2015/services/obscured.service.js +1 -1
- package/esm2015/tokens/active-element.js +2 -2
- 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/get-closest-element.js +1 -1
- package/esm2015/utils/dom/get-document-or-shadow-root.js +1 -1
- package/esm2015/utils/dom/get-element-obscurers.js +2 -2
- package/esm2015/utils/focus/get-native-focused.js +3 -2
- package/esm2015/utils/focus/set-native-mouse-focused.js +1 -1
- package/esm2015/utils/math/clamp.js +4 -4
- package/esm2015/utils/math/in-range.js +4 -4
- package/esm2015/utils/math/normalize-to-int-number.js +2 -2
- package/esm2015/utils/math/round.js +2 -2
- package/esm2015/utils/math/to-int.js +1 -1
- package/esm2015/utils/miscellaneous/ease-in-out-quad.js +2 -2
- package/esm2015/utils/miscellaneous/get-swipe-direction.js +2 -4
- package/esm2015/utils/miscellaneous/uniq-by.js +1 -1
- package/esm5/abstract/dialog.service.js +1 -1
- package/esm5/classes/assert.js +1 -1
- package/esm5/classes/validation-error.js +1 -1
- package/esm5/coercion/coerce-boolean-property.js +1 -1
- package/esm5/components/alert-host/alert-host.component.js +2 -2
- package/esm5/components/dialog-host/dialog-host.component.js +5 -5
- package/esm5/components/dropdown-host/dropdown-host.component.js +3 -3
- package/esm5/constants/version.js +2 -2
- package/esm5/date-time/day-range.js +1 -1
- package/esm5/date-time/day.js +2 -2
- package/esm5/date-time/time.js +1 -1
- package/esm5/date-time/year.js +1 -1
- package/esm5/decorators/default-prop.js +1 -1
- package/esm5/decorators/pure.js +1 -1
- package/esm5/decorators/required-setter.js +1 -1
- package/esm5/directives/active-zone/active-zone.directive.js +4 -4
- package/esm5/directives/auto-focus/autofocus.directive.js +2 -2
- package/esm5/directives/autofilled/autofilled-style.component.js +2 -2
- package/esm5/directives/autofilled/autofilled.directive.js +6 -6
- package/esm5/directives/checked/checked.directive.js +7 -7
- package/esm5/directives/copy-processor/copy-processor.directive.js +4 -4
- package/esm5/directives/drag/drag.directive.js +5 -5
- package/esm5/directives/droppable/droppable.directive.js +6 -6
- package/esm5/directives/element/element.directive.js +3 -3
- package/esm5/directives/focus-trap/focus-trap.directive.js +6 -6
- package/esm5/directives/focus-visible/focus-visible.directive.js +3 -3
- package/esm5/directives/focusable/focusable.directive.js +4 -4
- package/esm5/directives/focused/focused.directive.js +3 -3
- package/esm5/directives/for/for.directive.js +2 -2
- package/esm5/directives/for-async/for-async.directive.js +2 -2
- package/esm5/directives/high-dpi/high-dpi.directive.js +2 -2
- package/esm5/directives/hovered/hovered.directive.js +5 -5
- package/esm5/directives/input-mode/input-mode.directive.js +11 -11
- package/esm5/directives/item/item.directive.js +2 -2
- package/esm5/directives/let/let.directive.js +2 -2
- package/esm5/directives/media/media.directive.js +15 -15
- package/esm5/directives/obscured/obscured.directive.js +2 -2
- package/esm5/directives/overscroll/overscroll.directive.js +12 -12
- package/esm5/directives/pan/pan.directive.js +3 -3
- package/esm5/directives/portal/portal.directive.js +2 -2
- package/esm5/directives/pressed/pressed.directive.js +2 -2
- package/esm5/directives/prevent-default/prevent-default.directive.js +4 -4
- package/esm5/directives/repeat-times/repeat-times.directive.js +2 -2
- package/esm5/directives/resize/resize.directive.js +3 -3
- package/esm5/directives/swipe/swipe.directive.js +3 -3
- package/esm5/directives/validator/validator.directive.js +2 -2
- package/esm5/directives/zoom/zoom.directive.js +4 -4
- package/esm5/enums/autocomplete.js +1 -1
- package/esm5/interfaces/alert-context.js +1 -1
- package/esm5/interfaces/swipe.js +1 -1
- package/esm5/interfaces/zoom.js +1 -1
- package/esm5/observables/must-be-present.js +1 -1
- package/esm5/services/obscured.service.js +1 -1
- package/esm5/tokens/active-element.js +2 -2
- package/esm5/types/dialog.js +1 -1
- package/esm5/types/event-with.js +1 -1
- package/esm5/types/input-mode.js +1 -1
- package/esm5/types/input-type.js +1 -1
- package/esm5/types/overscroll-mode.js +1 -1
- package/esm5/types/time-mode.js +1 -1
- package/esm5/utils/dom/get-closest-element.js +1 -1
- package/esm5/utils/dom/get-document-or-shadow-root.js +1 -1
- package/esm5/utils/dom/get-element-obscurers.js +2 -2
- package/esm5/utils/focus/get-native-focused.js +3 -2
- package/esm5/utils/focus/set-native-mouse-focused.js +1 -1
- package/esm5/utils/math/clamp.js +4 -4
- package/esm5/utils/math/in-range.js +4 -4
- package/esm5/utils/math/normalize-to-int-number.js +2 -2
- package/esm5/utils/math/round.js +2 -2
- package/esm5/utils/math/to-int.js +1 -1
- package/esm5/utils/miscellaneous/ease-in-out-quad.js +2 -2
- package/esm5/utils/miscellaneous/get-swipe-direction.js +2 -4
- package/esm5/utils/miscellaneous/uniq-by.js +1 -1
- package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-classes.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-components-dialog-host.js +4 -4
- package/fesm2015/taiga-ui-cdk-components-dialog-host.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-components-dropdown-host.js +2 -2
- package/fesm2015/taiga-ui-cdk-components-dropdown-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 +1 -1
- package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-active-zone.js +3 -3
- package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +1 -1
- package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-autofilled.js +6 -6
- package/fesm2015/taiga-ui-cdk-directives-autofilled.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-checked.js +6 -6
- package/fesm2015/taiga-ui-cdk-directives-checked.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +3 -3
- package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-drag.js +4 -4
- package/fesm2015/taiga-ui-cdk-directives-drag.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-droppable.js +4 -4
- package/fesm2015/taiga-ui-cdk-directives-droppable.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-element.js +2 -2
- package/fesm2015/taiga-ui-cdk-directives-element.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focus-trap.js +5 -5
- package/fesm2015/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focus-visible.js +2 -2
- package/fesm2015/taiga-ui-cdk-directives-focus-visible.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focusable.js +3 -3
- package/fesm2015/taiga-ui-cdk-directives-focusable.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focused.js +2 -2
- package/fesm2015/taiga-ui-cdk-directives-focused.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-for-async.js +1 -1
- package/fesm2015/taiga-ui-cdk-directives-for-async.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-for.js +1 -1
- package/fesm2015/taiga-ui-cdk-directives-for.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-high-dpi.js +1 -1
- package/fesm2015/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-hovered.js +4 -4
- package/fesm2015/taiga-ui-cdk-directives-hovered.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-input-mode.js +10 -10
- package/fesm2015/taiga-ui-cdk-directives-input-mode.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-item.js +1 -1
- package/fesm2015/taiga-ui-cdk-directives-item.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-let.js +1 -1
- package/fesm2015/taiga-ui-cdk-directives-let.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-media.js +17 -17
- package/fesm2015/taiga-ui-cdk-directives-media.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-obscured.js +1 -1
- package/fesm2015/taiga-ui-cdk-directives-obscured.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-overscroll.js +11 -11
- package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-pan.js +2 -2
- package/fesm2015/taiga-ui-cdk-directives-pan.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-portal.js +1 -1
- package/fesm2015/taiga-ui-cdk-directives-portal.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-pressed.js +1 -1
- package/fesm2015/taiga-ui-cdk-directives-pressed.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-prevent-default.js +3 -3
- package/fesm2015/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +1 -1
- package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-resize.js +2 -2
- package/fesm2015/taiga-ui-cdk-directives-resize.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-swipe.js +2 -2
- package/fesm2015/taiga-ui-cdk-directives-swipe.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-validator.js +1 -1
- package/fesm2015/taiga-ui-cdk-directives-validator.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-zoom.js +3 -3
- package/fesm2015/taiga-ui-cdk-directives-zoom.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-enums.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-observables.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-tokens.js +1 -1
- package/fesm2015/taiga-ui-cdk-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-dom.js +1 -1
- package/fesm2015/taiga-ui-cdk-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-focus.js +2 -1
- package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-math.js +8 -8
- package/fesm2015/taiga-ui-cdk-utils-math.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +2 -4
- package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
- package/fesm5/taiga-ui-cdk-abstract.js.map +1 -1
- package/fesm5/taiga-ui-cdk-classes.js.map +1 -1
- package/fesm5/taiga-ui-cdk-coercion.js.map +1 -1
- package/fesm5/taiga-ui-cdk-components-alert-host.js +1 -1
- package/fesm5/taiga-ui-cdk-components-alert-host.js.map +1 -1
- package/fesm5/taiga-ui-cdk-components-dialog-host.js +4 -4
- package/fesm5/taiga-ui-cdk-components-dialog-host.js.map +1 -1
- package/fesm5/taiga-ui-cdk-components-dropdown-host.js +2 -2
- package/fesm5/taiga-ui-cdk-components-dropdown-host.js.map +1 -1
- package/fesm5/taiga-ui-cdk-constants.js +1 -1
- package/fesm5/taiga-ui-cdk-constants.js.map +1 -1
- package/fesm5/taiga-ui-cdk-date-time.js +1 -1
- package/fesm5/taiga-ui-cdk-date-time.js.map +1 -1
- package/fesm5/taiga-ui-cdk-decorators.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-active-zone.js +3 -3
- package/fesm5/taiga-ui-cdk-directives-active-zone.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-auto-focus.js +1 -1
- package/fesm5/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-autofilled.js +6 -6
- package/fesm5/taiga-ui-cdk-directives-autofilled.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-checked.js +6 -6
- package/fesm5/taiga-ui-cdk-directives-checked.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-copy-processor.js +3 -3
- package/fesm5/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-drag.js +4 -4
- package/fesm5/taiga-ui-cdk-directives-drag.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-droppable.js +5 -5
- package/fesm5/taiga-ui-cdk-directives-droppable.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-element.js +2 -2
- package/fesm5/taiga-ui-cdk-directives-element.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-focus-trap.js +5 -5
- package/fesm5/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-focus-visible.js +2 -2
- package/fesm5/taiga-ui-cdk-directives-focus-visible.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-focusable.js +3 -3
- package/fesm5/taiga-ui-cdk-directives-focusable.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-focused.js +2 -2
- package/fesm5/taiga-ui-cdk-directives-focused.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-for-async.js +1 -1
- package/fesm5/taiga-ui-cdk-directives-for-async.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-for.js +1 -1
- package/fesm5/taiga-ui-cdk-directives-for.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-high-dpi.js +1 -1
- package/fesm5/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-hovered.js +4 -4
- package/fesm5/taiga-ui-cdk-directives-hovered.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-input-mode.js +10 -10
- package/fesm5/taiga-ui-cdk-directives-input-mode.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-item.js +1 -1
- package/fesm5/taiga-ui-cdk-directives-item.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-let.js +1 -1
- package/fesm5/taiga-ui-cdk-directives-let.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-media.js +14 -14
- package/fesm5/taiga-ui-cdk-directives-media.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-obscured.js +1 -1
- package/fesm5/taiga-ui-cdk-directives-obscured.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-overscroll.js +11 -11
- package/fesm5/taiga-ui-cdk-directives-overscroll.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-pan.js +2 -2
- package/fesm5/taiga-ui-cdk-directives-pan.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-portal.js +1 -1
- package/fesm5/taiga-ui-cdk-directives-portal.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-pressed.js +1 -1
- package/fesm5/taiga-ui-cdk-directives-pressed.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-prevent-default.js +3 -3
- package/fesm5/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-repeat-times.js +1 -1
- package/fesm5/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-resize.js +2 -2
- package/fesm5/taiga-ui-cdk-directives-resize.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-swipe.js +2 -2
- package/fesm5/taiga-ui-cdk-directives-swipe.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-validator.js +1 -1
- package/fesm5/taiga-ui-cdk-directives-validator.js.map +1 -1
- package/fesm5/taiga-ui-cdk-directives-zoom.js +3 -3
- package/fesm5/taiga-ui-cdk-directives-zoom.js.map +1 -1
- package/fesm5/taiga-ui-cdk-enums.js.map +1 -1
- package/fesm5/taiga-ui-cdk-observables.js.map +1 -1
- package/fesm5/taiga-ui-cdk-services.js.map +1 -1
- package/fesm5/taiga-ui-cdk-tokens.js +1 -1
- package/fesm5/taiga-ui-cdk-tokens.js.map +1 -1
- package/fesm5/taiga-ui-cdk-utils-dom.js +1 -1
- package/fesm5/taiga-ui-cdk-utils-dom.js.map +1 -1
- package/fesm5/taiga-ui-cdk-utils-focus.js +2 -1
- package/fesm5/taiga-ui-cdk-utils-focus.js.map +1 -1
- package/fesm5/taiga-ui-cdk-utils-math.js +8 -8
- package/fesm5/taiga-ui-cdk-utils-math.js.map +1 -1
- package/fesm5/taiga-ui-cdk-utils-miscellaneous.js +2 -4
- package/fesm5/taiga-ui-cdk-utils-miscellaneous.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/must-be-present.d.ts +1 -1
- package/package.json +1 -1
- package/schematics/constants/file-globs.js +2 -2
- 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.js +7 -7
- package/schematics/ng-add/schema.d.ts +1 -1
- package/schematics/ng-add/steps/add-taiga-icons.js +4 -4
- package/schematics/ng-add/steps/add-taiga-modules.js +4 -4
- package/schematics/ng-add/steps/add-taiga-styles.js +3 -3
- package/schematics/ng-add/steps/wrap-with-tui-root.js +12 -12
- package/schematics/ng-update/constants/consts.js +57 -57
- package/schematics/ng-update/constants/deprecated-functions.js +426 -426
- package/schematics/ng-update/constants/enums.js +109 -109
- package/schematics/ng-update/constants/modules.js +3 -3
- 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 +123 -123
- 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 +56 -56
- package/schematics/ng-update/index.js +14 -14
- package/schematics/ng-update/steps/migrate-date-time.js +38 -38
- package/schematics/ng-update/steps/migrate-progress.js +11 -9
- package/schematics/ng-update/steps/migrate-sliders/index.js +2 -2
- package/schematics/ng-update/steps/migrate-sliders/migrate-input-range.js +28 -26
- package/schematics/ng-update/steps/migrate-sliders/migrate-input-slider.js +28 -27
- package/schematics/ng-update/steps/migrate-templates.js +24 -21
- package/schematics/ng-update/steps/miscellaneous.js +10 -10
- package/schematics/ng-update/steps/remove-module.js +1 -1
- package/schematics/ng-update/steps/rename-types.js +5 -5
- package/schematics/ng-update/steps/replace-const.js +3 -3
- package/schematics/ng-update/steps/replace-deep-import.js +2 -2
- package/schematics/ng-update/steps/replace-enums.js +3 -3
- package/schematics/ng-update/steps/replace-functions.js +8 -8
- package/schematics/ng-update/steps/replace-services.js +4 -5
- package/schematics/ng-update/steps/show-warnings.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/colored-log.js +5 -5
- 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-project.js +1 -1
- package/schematics/utils/progress.js +1 -1
- package/schematics/utils/templates/elements.js +3 -3
- package/schematics/utils/templates/get-component-templates.js +9 -11
- package/schematics/utils/templates/ng-component-input-manipulations.d.ts +5 -5
- package/schematics/utils/templates/ng-component-input-manipulations.js +8 -8
- package/schematics/utils/templates/template-resource.d.ts +1 -1
- package/schematics/utils/templates/template-resource.js +3 -3
- package/services/obscured.service.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/taiga-ui-cdk-utils-dom.metadata.json +1 -1
- package/utils/focus/set-native-mouse-focused.d.ts +1 -1
- package/utils/math/to-int.d.ts +1 -1
- package/utils/miscellaneous/uniq-by.d.ts +1 -1
- package/schematics/ng-update/constants/functions.d.ts +0 -0
- package/schematics/ng-update/constants/functions.js +0 -1
|
@@ -1,254 +1,254 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tui_interactive_selectors_1 = require("./tui-interactive-selectors");
|
|
4
3
|
const elements_1 = require("../../utils/templates/elements");
|
|
4
|
+
const tui_interactive_selectors_1 = require("./tui-interactive-selectors");
|
|
5
5
|
exports.ATTRS_TO_REPLACE = [
|
|
6
6
|
{
|
|
7
7
|
from: {
|
|
8
|
-
attrName:
|
|
9
|
-
withTagNames: [
|
|
10
|
-
filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name ===
|
|
8
|
+
attrName: `icon`,
|
|
9
|
+
withTagNames: [`tui-input-tag`],
|
|
10
|
+
filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `left`; },
|
|
11
11
|
},
|
|
12
12
|
to: {
|
|
13
|
-
attrName:
|
|
13
|
+
attrName: `iconLeft`,
|
|
14
14
|
},
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
from: {
|
|
18
|
-
attrName:
|
|
19
|
-
withTagNames: [
|
|
20
|
-
filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name ===
|
|
18
|
+
attrName: `[icon]`,
|
|
19
|
+
withTagNames: [`tui-input-tag`],
|
|
20
|
+
filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `left`; },
|
|
21
21
|
},
|
|
22
22
|
to: {
|
|
23
|
-
attrName:
|
|
23
|
+
attrName: `[iconLeft]`,
|
|
24
24
|
},
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
|
-
from: { attrName:
|
|
28
|
-
to: { attrName:
|
|
27
|
+
from: { attrName: `tuiResizableColumn`, withAttrsNames: [`tuiResizableColumn`] },
|
|
28
|
+
to: { attrName: `tuiTh [resizable]="true"` },
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
from: {
|
|
32
|
-
attrName:
|
|
32
|
+
attrName: `new`,
|
|
33
33
|
withTagNames: [
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
`tui-editor`,
|
|
35
|
+
`tui-range`,
|
|
36
|
+
`tui-input-range`,
|
|
37
|
+
`tui-input-slider`,
|
|
38
38
|
],
|
|
39
39
|
},
|
|
40
|
-
to: { attrName:
|
|
40
|
+
to: { attrName: `` },
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
from: {
|
|
44
|
-
attrName:
|
|
45
|
-
withTagNames: [
|
|
46
|
-
withAttrsNames: [
|
|
44
|
+
attrName: `[hovered]`,
|
|
45
|
+
withTagNames: [`tui-wrapper`],
|
|
46
|
+
withAttrsNames: [`tuiWrapper`],
|
|
47
47
|
},
|
|
48
48
|
to: {
|
|
49
|
-
attrName:
|
|
49
|
+
attrName: `[hover]`,
|
|
50
50
|
},
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
from: {
|
|
54
|
-
attrName:
|
|
55
|
-
withTagNames: [
|
|
56
|
-
withAttrsNames: [
|
|
54
|
+
attrName: `[pressed]`,
|
|
55
|
+
withTagNames: [`tui-wrapper`],
|
|
56
|
+
withAttrsNames: [`tuiWrapper`],
|
|
57
57
|
},
|
|
58
58
|
to: {
|
|
59
|
-
attrName:
|
|
59
|
+
attrName: `[active]`,
|
|
60
60
|
},
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
from: {
|
|
64
|
-
attrName:
|
|
65
|
-
withTagNames: [
|
|
64
|
+
attrName: `(rangeChange)`,
|
|
65
|
+
withTagNames: [`tui-calendar-range`],
|
|
66
66
|
},
|
|
67
67
|
to: {
|
|
68
|
-
attrName:
|
|
68
|
+
attrName: `(valueChange)`,
|
|
69
69
|
},
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
from: {
|
|
73
|
-
attrName:
|
|
74
|
-
withAttrsNames: [
|
|
75
|
-
withTagNames: [
|
|
73
|
+
attrName: `[quantum]`,
|
|
74
|
+
withAttrsNames: [`tuiSlider`],
|
|
75
|
+
withTagNames: [`tui-slider`],
|
|
76
76
|
},
|
|
77
77
|
to: {
|
|
78
|
-
attrName:
|
|
78
|
+
attrName: `[step]`,
|
|
79
79
|
},
|
|
80
80
|
},
|
|
81
81
|
];
|
|
82
82
|
exports.INPUTS_TO_REMOVE = [
|
|
83
83
|
{
|
|
84
|
-
inputName:
|
|
85
|
-
tags: [
|
|
84
|
+
inputName: `iconAlign`,
|
|
85
|
+
tags: [`tui-input`, `tui-primitive-textfield`, `tui-input-tag`],
|
|
86
86
|
},
|
|
87
87
|
];
|
|
88
88
|
exports.TAGS_TO_REPLACE = [
|
|
89
89
|
{
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
92
|
-
addAttributes: [
|
|
90
|
+
from: `tui-group`,
|
|
91
|
+
to: `div`,
|
|
92
|
+
addAttributes: [`tuiGroup`],
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
|
-
from:
|
|
96
|
-
to:
|
|
97
|
-
addAttributes: [
|
|
95
|
+
from: `tui-wrapper`,
|
|
96
|
+
to: `div`,
|
|
97
|
+
addAttributes: [`tuiWrapper`],
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
|
-
from:
|
|
101
|
-
to:
|
|
102
|
-
addAttributes: [
|
|
100
|
+
from: `tui-slider`,
|
|
101
|
+
to: `input`,
|
|
102
|
+
addAttributes: [`tuiSlider`, `type="range"`],
|
|
103
103
|
},
|
|
104
104
|
];
|
|
105
105
|
exports.ATTR_TO_DIRECTIVE = [
|
|
106
106
|
{
|
|
107
|
-
componentSelector:
|
|
108
|
-
inputProperty:
|
|
109
|
-
directive:
|
|
107
|
+
componentSelector: `tui-primitive-textfield`,
|
|
108
|
+
inputProperty: `(autofilledChange)`,
|
|
109
|
+
directive: `(tuiAutofilledChange)`,
|
|
110
110
|
directiveModule: {
|
|
111
|
-
name:
|
|
112
|
-
moduleSpecifier:
|
|
111
|
+
name: `TuiAutofilledModule`,
|
|
112
|
+
moduleSpecifier: `@taiga-ui/cdk`,
|
|
113
113
|
},
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
componentSelector: tui_interactive_selectors_1.TUI_INTERACTIVE_SELECTORS,
|
|
117
|
-
inputProperty:
|
|
118
|
-
directive:
|
|
117
|
+
inputProperty: `(pressedChange)`,
|
|
118
|
+
directive: `(tuiPressedChange)`,
|
|
119
119
|
directiveModule: {
|
|
120
|
-
name:
|
|
121
|
-
moduleSpecifier:
|
|
120
|
+
name: `TuiPressedModule`,
|
|
121
|
+
moduleSpecifier: `@taiga-ui/cdk`,
|
|
122
122
|
},
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
componentSelector: tui_interactive_selectors_1.TUI_INTERACTIVE_SELECTORS,
|
|
126
|
-
inputProperty:
|
|
127
|
-
directive:
|
|
126
|
+
inputProperty: `(hoveredChange)`,
|
|
127
|
+
directive: `(tuiHoveredChange)`,
|
|
128
128
|
directiveModule: {
|
|
129
|
-
name:
|
|
130
|
-
moduleSpecifier:
|
|
129
|
+
name: `TuiHoveredModule`,
|
|
130
|
+
moduleSpecifier: `@taiga-ui/cdk`,
|
|
131
131
|
},
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
|
-
componentSelector:
|
|
135
|
-
inputProperty:
|
|
136
|
-
directive:
|
|
134
|
+
componentSelector: `tui-input-slider`,
|
|
135
|
+
inputProperty: `size`,
|
|
136
|
+
directive: `tuiTextfieldSize`,
|
|
137
137
|
directiveModule: {
|
|
138
|
-
name:
|
|
139
|
-
moduleSpecifier:
|
|
138
|
+
name: `TuiTextfieldControllerModule`,
|
|
139
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
140
140
|
},
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
|
-
componentSelector:
|
|
144
|
-
inputProperty:
|
|
145
|
-
directive:
|
|
143
|
+
componentSelector: `tui-input-slider`,
|
|
144
|
+
inputProperty: `secondary`,
|
|
145
|
+
directive: `tuiTextfieldCustomContent`,
|
|
146
146
|
directiveModule: {
|
|
147
|
-
name:
|
|
148
|
-
moduleSpecifier:
|
|
147
|
+
name: `TuiTextfieldControllerModule`,
|
|
148
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
149
149
|
},
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
|
-
componentSelector:
|
|
153
|
-
inputProperty:
|
|
154
|
-
directive:
|
|
152
|
+
componentSelector: `tui-input-range`,
|
|
153
|
+
inputProperty: `size`,
|
|
154
|
+
directive: `tuiTextfieldSize`,
|
|
155
155
|
directiveModule: {
|
|
156
|
-
name:
|
|
157
|
-
moduleSpecifier:
|
|
156
|
+
name: `TuiTextfieldControllerModule`,
|
|
157
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
158
158
|
},
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
|
-
componentSelector:
|
|
162
|
-
inputProperty:
|
|
163
|
-
directive:
|
|
161
|
+
componentSelector: `tui-input`,
|
|
162
|
+
inputProperty: `icon`,
|
|
163
|
+
directive: `tuiTextfieldIcon`,
|
|
164
164
|
directiveModule: {
|
|
165
|
-
name:
|
|
166
|
-
moduleSpecifier:
|
|
165
|
+
name: `TuiTextfieldControllerModule`,
|
|
166
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
167
167
|
},
|
|
168
|
-
filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name ===
|
|
168
|
+
filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `right`; },
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
|
-
componentSelector:
|
|
172
|
-
inputProperty:
|
|
173
|
-
directive:
|
|
171
|
+
componentSelector: `tui-input`,
|
|
172
|
+
inputProperty: `icon`,
|
|
173
|
+
directive: `tuiTextfieldIconLeft`,
|
|
174
174
|
directiveModule: {
|
|
175
|
-
name:
|
|
176
|
-
moduleSpecifier:
|
|
175
|
+
name: `TuiTextfieldControllerModule`,
|
|
176
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
177
177
|
},
|
|
178
178
|
filterFn: element => {
|
|
179
179
|
var _a;
|
|
180
|
-
return !elements_1.hasElementAttribute(element,
|
|
181
|
-
((_a = element.attrs.find(attr => attr.name ===
|
|
180
|
+
return !elements_1.hasElementAttribute(element, `iconAlign`) ||
|
|
181
|
+
((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `left`;
|
|
182
182
|
},
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
|
-
componentSelector:
|
|
186
|
-
inputProperty:
|
|
187
|
-
directive:
|
|
185
|
+
componentSelector: `tui-primitive-textfield`,
|
|
186
|
+
inputProperty: `iconContent`,
|
|
187
|
+
directive: `tuiTextfieldIcon`,
|
|
188
188
|
directiveModule: {
|
|
189
|
-
name:
|
|
190
|
-
moduleSpecifier:
|
|
189
|
+
name: `TuiTextfieldControllerModule`,
|
|
190
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
191
191
|
},
|
|
192
192
|
filterFn: element => {
|
|
193
193
|
var _a;
|
|
194
|
-
return !elements_1.hasElementAttribute(element,
|
|
195
|
-
((_a = element.attrs.find(attr => attr.name ===
|
|
194
|
+
return !elements_1.hasElementAttribute(element, `iconAlign`) ||
|
|
195
|
+
((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `right`;
|
|
196
196
|
},
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
|
-
componentSelector:
|
|
200
|
-
inputProperty:
|
|
201
|
-
directive:
|
|
199
|
+
componentSelector: `tui-primitive-textfield`,
|
|
200
|
+
inputProperty: `iconContent`,
|
|
201
|
+
directive: `tuiTextfieldIconLeft`,
|
|
202
202
|
directiveModule: {
|
|
203
|
-
name:
|
|
204
|
-
moduleSpecifier:
|
|
203
|
+
name: `TuiTextfieldControllerModule`,
|
|
204
|
+
moduleSpecifier: `@taiga-ui/core`,
|
|
205
205
|
},
|
|
206
|
-
filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name ===
|
|
206
|
+
filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `left`; },
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
|
-
componentSelector:
|
|
210
|
-
inputProperty:
|
|
211
|
-
directive:
|
|
209
|
+
componentSelector: `*`,
|
|
210
|
+
inputProperty: `scrollIntoView`,
|
|
211
|
+
directive: `tuiScrollIntoViewLink`,
|
|
212
212
|
directiveModule: {
|
|
213
|
-
name:
|
|
214
|
-
moduleSpecifier:
|
|
213
|
+
name: `TuiScrollIntoViewLinkModule`,
|
|
214
|
+
moduleSpecifier: `@taiga-ui/addon-doc`,
|
|
215
215
|
},
|
|
216
216
|
},
|
|
217
217
|
];
|
|
218
218
|
exports.TEMPLATE_COMMENTS = [
|
|
219
219
|
{
|
|
220
|
-
tag:
|
|
221
|
-
withAttr:
|
|
222
|
-
comment:
|
|
220
|
+
tag: `tui-input-slider`,
|
|
221
|
+
withAttr: `pluralize`,
|
|
222
|
+
comment: `[pluralize] => Use [postfix] instead. See https://taiga-ui.dev/components/input-slider/API?postfix=apples`,
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
|
-
tag:
|
|
226
|
-
withAttr:
|
|
227
|
-
comment:
|
|
225
|
+
tag: `tui-input-slider`,
|
|
226
|
+
withAttr: `segmentsPluralize`,
|
|
227
|
+
comment: `See examples how create labels for ticks without this property (outside the component): https://taiga-ui.dev/components/input-slider#slider-segments`,
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
|
-
tag:
|
|
231
|
-
withAttr:
|
|
232
|
-
comment:
|
|
230
|
+
tag: `tui-input-range`,
|
|
231
|
+
withAttr: `segmentsPluralize`,
|
|
232
|
+
comment: `See examples how create labels for ticks without this property (outside the component): https://taiga-ui.dev/components/input-range#segments`,
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
|
-
tag:
|
|
236
|
-
withAttr:
|
|
237
|
-
comment:
|
|
235
|
+
tag: `tui-range`,
|
|
236
|
+
withAttr: `pluralize`,
|
|
237
|
+
comment: `See examples how create labels for ticks without this property (outside the component): https://taiga-ui.dev/components/range#segments`,
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
|
-
tag:
|
|
241
|
-
withAttr:
|
|
242
|
-
comment:
|
|
240
|
+
tag: `tui-preview-host`,
|
|
241
|
+
withAttr: `ngProjectAs`,
|
|
242
|
+
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`,
|
|
243
243
|
},
|
|
244
244
|
{
|
|
245
|
-
tag:
|
|
246
|
-
withAttr:
|
|
247
|
-
comment:
|
|
245
|
+
tag: `tui-progress`,
|
|
246
|
+
withAttr: `value`,
|
|
247
|
+
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 ) `,
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
|
-
tag:
|
|
251
|
-
withAttr:
|
|
252
|
-
comment:
|
|
250
|
+
tag: `tui-input-tag`,
|
|
251
|
+
withAttr: `allowSpaces`,
|
|
252
|
+
comment: `Use property [separator] to forbid spaces. See example: https://taiga-ui.dev/components/input-tag#no-spaces-inside-tags`,
|
|
253
253
|
},
|
|
254
254
|
];
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TUI_INTERACTIVE_SELECTORS = [
|
|
4
|
-
|
|
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
|
-
|
|
4
|
+
`tui-primitive-textfield`,
|
|
5
|
+
`tui-primitive-spin-button`,
|
|
6
|
+
`tui-action`,
|
|
7
|
+
`tui-input-range`,
|
|
8
|
+
`tui-pagination`,
|
|
9
|
+
`tui-accordion-item`,
|
|
10
|
+
`tui-button`,
|
|
11
|
+
`tuiButton`,
|
|
12
|
+
`tuiIconButton`,
|
|
13
|
+
`tui-toggle`,
|
|
14
|
+
`tuiSlider`,
|
|
15
|
+
`tui-slider`,
|
|
16
|
+
`tui-rating`,
|
|
17
|
+
`tui-input-card`,
|
|
18
|
+
`tui-input-cvc`,
|
|
19
|
+
`tui-input-expire`,
|
|
20
|
+
`tui-editor`,
|
|
21
|
+
`tui-input-color`,
|
|
22
|
+
`tui-input-copy`,
|
|
23
|
+
`tui-input-count`,
|
|
24
|
+
`tui-input-date-time`,
|
|
25
|
+
`tui-input-inline`,
|
|
26
|
+
`tui-input-password`,
|
|
27
|
+
`tui-input-phone-international`,
|
|
28
|
+
`tui-input-phone`,
|
|
29
|
+
`tui-input-range`,
|
|
30
|
+
`tui-input-slider`,
|
|
31
|
+
`tui-input`,
|
|
32
|
+
`tui-range`,
|
|
33
|
+
`tui-text-area`,
|
|
34
|
+
`tui-radio-block`,
|
|
35
|
+
`tui-radio-labeled`,
|
|
36
|
+
`tui-radio-list`,
|
|
37
|
+
`tui-radio`,
|
|
38
|
+
`tui-select`,
|
|
39
|
+
`tui-input-card-grouped`,
|
|
40
|
+
`tui-checkbox-block`,
|
|
41
|
+
`tui-checkbox-labeled`,
|
|
42
|
+
`tui-combo-box`,
|
|
43
|
+
`tui-input-date-range`,
|
|
44
|
+
`tui-input-file`,
|
|
45
|
+
`tui-input-files`,
|
|
46
|
+
`tui-input-month-range`,
|
|
47
|
+
`tui-input-month`,
|
|
48
|
+
`tui-input-number`,
|
|
49
|
+
`tui-input-time`,
|
|
50
|
+
`tui-input-time`,
|
|
51
|
+
`tui-multiselect`,
|
|
52
|
+
`tui-filter`,
|
|
53
|
+
`tui-input-tag`,
|
|
54
54
|
];
|
|
@@ -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[];
|