@taiga-ui/cdk 3.49.1 → 3.491.1-canary.5e01f6f
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/control.d.ts +0 -6
- package/abstract/interactive.d.ts +0 -9
- package/abstract/portal-host.d.ts +0 -3
- package/abstract/portal-service.d.ts +0 -3
- package/abstract/taiga-ui-cdk-abstract.d.ts +0 -3
- package/abstract/theme-switcher.d.ts +0 -6
- package/bundles/taiga-ui-cdk-abstract.umd.js +0 -32
- package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-classes.umd.js +0 -9
- package/bundles/taiga-ui-cdk-classes.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-coercion.umd.js +0 -10
- package/bundles/taiga-ui-cdk-coercion.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-alert-host.umd.js +0 -8
- package/bundles/taiga-ui-cdk-components-alert-host.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.js +0 -11
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js +0 -10
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-scroll-controls.umd.js +0 -4
- package/bundles/taiga-ui-cdk-components-scroll-controls.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components.umd.js +0 -4
- package/bundles/taiga-ui-cdk-components.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-constants.umd.js +0 -108
- package/bundles/taiga-ui-cdk-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-date-time.umd.js +0 -284
- package/bundles/taiga-ui-cdk-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-decorators.umd.js +0 -26
- package/bundles/taiga-ui-cdk-decorators.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.js +0 -4
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js +1 -44
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-autofilled.umd.js +0 -4
- package/bundles/taiga-ui-cdk-directives-autofilled.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-checked.umd.js +0 -4
- package/bundles/taiga-ui-cdk-directives-checked.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-click-outside.umd.js +0 -4
- package/bundles/taiga-ui-cdk-directives-click-outside.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-control.umd.js +0 -4
- package/bundles/taiga-ui-cdk-directives-control.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js +0 -4
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-drag.umd.js +0 -10
- package/bundles/taiga-ui-cdk-directives-drag.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-droppable.umd.js +0 -5
- package/bundles/taiga-ui-cdk-directives-droppable.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-element.umd.js +0 -18
- package/bundles/taiga-ui-cdk-directives-element.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js +0 -17
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js +0 -9
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focusable.umd.js +0 -10
- package/bundles/taiga-ui-cdk-directives-focusable.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focused.umd.js +0 -9
- package/bundles/taiga-ui-cdk-directives-focused.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-for-async.umd.js +0 -7
- package/bundles/taiga-ui-cdk-directives-for-async.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-for.umd.js +0 -4
- package/bundles/taiga-ui-cdk-directives-for.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js +0 -7
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-hovered.umd.js +1 -7
- package/bundles/taiga-ui-cdk-directives-hovered.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-item.umd.js +0 -7
- package/bundles/taiga-ui-cdk-directives-item.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-let.umd.js +0 -17
- package/bundles/taiga-ui-cdk-directives-let.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-media.umd.js +0 -7
- package/bundles/taiga-ui-cdk-directives-media.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-obscured.umd.js +0 -7
- package/bundles/taiga-ui-cdk-directives-obscured.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.js +0 -10
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-pan.umd.js +0 -7
- package/bundles/taiga-ui-cdk-directives-pan.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-platform.umd.js +0 -4
- package/bundles/taiga-ui-cdk-directives-platform.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-portal.umd.js +0 -4
- package/bundles/taiga-ui-cdk-directives-portal.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-pressed.umd.js +0 -4
- package/bundles/taiga-ui-cdk-directives-pressed.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js +0 -12
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js +0 -11
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-resize.umd.js +0 -7
- package/bundles/taiga-ui-cdk-directives-resize.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-resizer.umd.js +0 -5
- package/bundles/taiga-ui-cdk-directives-resizer.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-swipe.umd.js +0 -7
- package/bundles/taiga-ui-cdk-directives-swipe.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-validator.umd.js +0 -4
- package/bundles/taiga-ui-cdk-directives-validator.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-value-changes.umd.js +0 -4
- package/bundles/taiga-ui-cdk-directives-value-changes.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-zoom.umd.js +0 -7
- package/bundles/taiga-ui-cdk-directives-zoom.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives.umd.js +0 -4
- package/bundles/taiga-ui-cdk-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-enums.umd.js +0 -8
- package/bundles/taiga-ui-cdk-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-exceptions.umd.js +0 -4
- package/bundles/taiga-ui-cdk-exceptions.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-interfaces.umd.js +1 -3
- package/bundles/taiga-ui-cdk-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-observables.umd.js +1 -34
- package/bundles/taiga-ui-cdk-observables.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-filter.umd.js +0 -4
- package/bundles/taiga-ui-cdk-pipes-filter.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-is-present.umd.js +0 -4
- package/bundles/taiga-ui-cdk-pipes-is-present.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-keys.umd.js +0 -4
- package/bundles/taiga-ui-cdk-pipes-keys.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-mapper.umd.js +0 -4
- package/bundles/taiga-ui-cdk-pipes-mapper.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-replace.umd.js +1 -7
- package/bundles/taiga-ui-cdk-pipes-replace.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes.umd.js +0 -4
- package/bundles/taiga-ui-cdk-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-services.umd.js +5 -53
- package/bundles/taiga-ui-cdk-services.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-tokens.umd.js +5 -109
- package/bundles/taiga-ui-cdk-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-types.umd.js +1 -3
- package/bundles/taiga-ui-cdk-types.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-browser.umd.js +0 -4
- package/bundles/taiga-ui-cdk-utils-browser.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-color.umd.js +0 -10
- package/bundles/taiga-ui-cdk-utils-color.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-dom.umd.js +2 -53
- package/bundles/taiga-ui-cdk-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-focus.umd.js +0 -51
- package/bundles/taiga-ui-cdk-utils-focus.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-format.umd.js +0 -7
- package/bundles/taiga-ui-cdk-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-math.umd.js +0 -38
- package/bundles/taiga-ui-cdk-utils-math.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js +6 -42
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-os.umd.js +0 -14
- package/bundles/taiga-ui-cdk-utils-os.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-svg.umd.js +1 -19
- package/bundles/taiga-ui-cdk-utils-svg.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils.umd.js +0 -4
- package/bundles/taiga-ui-cdk-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk.umd.js +0 -4
- package/bundles/taiga-ui-cdk.umd.js.map +1 -1
- package/classes/assert.d.ts +0 -5
- package/classes/taiga-ui-cdk-classes.d.ts +0 -3
- package/coercion/coerce-boolean-property.d.ts +0 -4
- package/coercion/taiga-ui-cdk-coercion.d.ts +0 -3
- package/components/alert-host/taiga-ui-cdk-components-alert-host.d.ts +0 -3
- package/components/dialog-host/dialog-host.component.d.ts +0 -3
- package/components/dialog-host/taiga-ui-cdk-components-dialog-host.d.ts +0 -3
- package/components/dropdown-host/dropdown-host.component.d.ts +0 -3
- package/components/dropdown-host/dropdown-portal.service.d.ts +0 -3
- package/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.d.ts +0 -3
- package/components/scroll-controls/taiga-ui-cdk-components-scroll-controls.d.ts +0 -3
- package/components/taiga-ui-cdk-components.d.ts +0 -3
- package/constants/always-false-handler.d.ts +0 -3
- package/constants/always-true-handler.d.ts +0 -3
- package/constants/browser.d.ts +0 -4
- package/constants/empty.d.ts +0 -5
- package/constants/matcher.d.ts +0 -19
- package/constants/parent-animation.d.ts +0 -6
- package/constants/stringify.d.ts +0 -3
- package/constants/taiga-ui-cdk-constants.d.ts +0 -3
- package/constants/unicode-chars.d.ts +0 -51
- package/constants/used-icons.d.ts +0 -6
- package/date-time/date-fillers.d.ts +0 -11
- package/date-time/date-format.d.ts +0 -3
- package/date-time/date-separator.d.ts +0 -3
- package/date-time/day-range.d.ts +0 -33
- package/date-time/day.d.ts +0 -91
- package/date-time/month-range.d.ts +0 -3
- package/date-time/month.d.ts +0 -56
- package/date-time/taiga-ui-cdk-date-time.d.ts +0 -3
- package/date-time/time.d.ts +0 -36
- package/date-time/year.d.ts +0 -42
- package/decorators/debounce.d.ts +0 -4
- package/decorators/default-prop.d.ts +0 -9
- package/decorators/pure.d.ts +0 -18
- package/decorators/required-setter.d.ts +0 -9
- package/decorators/taiga-ui-cdk-decorators.d.ts +0 -3
- package/directives/active-zone/taiga-ui-cdk-directives-active-zone.d.ts +0 -3
- package/directives/auto-focus/handlers/ios.handler.d.ts +0 -39
- package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.d.ts +0 -3
- package/directives/autofilled/taiga-ui-cdk-directives-autofilled.d.ts +0 -3
- package/directives/checked/taiga-ui-cdk-directives-checked.d.ts +0 -3
- package/directives/click-outside/taiga-ui-cdk-directives-click-outside.d.ts +0 -3
- package/directives/control/taiga-ui-cdk-directives-control.d.ts +0 -3
- package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.d.ts +0 -3
- package/directives/drag/drag.directive.d.ts +0 -3
- package/directives/drag/drag.module.d.ts +0 -3
- package/directives/drag/taiga-ui-cdk-directives-drag.d.ts +0 -3
- package/directives/droppable/taiga-ui-cdk-directives-droppable.d.ts +0 -3
- package/directives/element/taiga-ui-cdk-directives-element.d.ts +0 -3
- package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.d.ts +0 -3
- package/directives/focus-visible/focus-visible.directive.d.ts +0 -5
- package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.d.ts +0 -3
- package/directives/focusable/focusable.directive.d.ts +0 -6
- package/directives/focusable/taiga-ui-cdk-directives-focusable.d.ts +0 -3
- package/directives/focused/focused.directive.d.ts +0 -5
- package/directives/focused/taiga-ui-cdk-directives-focused.d.ts +0 -3
- package/directives/for/taiga-ui-cdk-directives-for.d.ts +0 -3
- package/directives/for-async/for-async.module.d.ts +0 -3
- package/directives/for-async/taiga-ui-cdk-directives-for-async.d.ts +0 -3
- package/directives/high-dpi/high-dpi.directive.d.ts +0 -3
- package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.d.ts +0 -3
- package/directives/hovered/taiga-ui-cdk-directives-hovered.d.ts +0 -3
- package/directives/item/item.directive.d.ts +0 -3
- package/directives/item/taiga-ui-cdk-directives-item.d.ts +0 -3
- package/directives/let/let-context.d.ts +0 -3
- package/directives/let/let.directive.d.ts +0 -10
- package/directives/let/taiga-ui-cdk-directives-let.d.ts +0 -3
- package/directives/media/taiga-ui-cdk-directives-media.d.ts +0 -3
- package/directives/obscured/obscured.directive.d.ts +0 -3
- package/directives/obscured/taiga-ui-cdk-directives-obscured.d.ts +0 -3
- package/directives/overscroll/overscroll.directive.d.ts +0 -3
- package/directives/overscroll/taiga-ui-cdk-directives-overscroll.d.ts +0 -3
- package/directives/pan/pan.module.d.ts +0 -3
- package/directives/pan/taiga-ui-cdk-directives-pan.d.ts +0 -3
- package/directives/platform/taiga-ui-cdk-directives-platform.d.ts +0 -3
- package/directives/portal/taiga-ui-cdk-directives-portal.d.ts +0 -3
- package/directives/pressed/taiga-ui-cdk-directives-pressed.d.ts +0 -3
- package/directives/prevent-default/prevent-default.directive.d.ts +0 -5
- package/directives/prevent-default/prevent-default.module.d.ts +0 -3
- package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.d.ts +0 -3
- package/directives/repeat-times/repeat-times.directive.d.ts +0 -7
- package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.d.ts +0 -3
- package/directives/resize/resize.module.d.ts +0 -3
- package/directives/resize/taiga-ui-cdk-directives-resize.d.ts +0 -3
- package/directives/resizer/taiga-ui-cdk-directives-resizer.d.ts +0 -3
- package/directives/swipe/swipe.module.d.ts +0 -3
- package/directives/swipe/taiga-ui-cdk-directives-swipe.d.ts +0 -3
- package/directives/taiga-ui-cdk-directives.d.ts +0 -3
- package/directives/validator/taiga-ui-cdk-directives-validator.d.ts +0 -3
- package/directives/value-changes/taiga-ui-cdk-directives-value-changes.d.ts +0 -3
- package/directives/zoom/taiga-ui-cdk-directives-zoom.d.ts +0 -3
- package/directives/zoom/zoom.module.d.ts +0 -3
- package/enums/taiga-ui-cdk-enums.d.ts +0 -3
- package/esm2015/abstract/control.js +1 -7
- package/esm2015/abstract/interactive.js +1 -11
- package/esm2015/abstract/portal-host.js +1 -4
- package/esm2015/abstract/portal-service.js +1 -4
- package/esm2015/abstract/taiga-ui-cdk-abstract.js +1 -4
- package/esm2015/abstract/theme-switcher.js +1 -7
- package/esm2015/classes/assert.js +1 -6
- package/esm2015/classes/taiga-ui-cdk-classes.js +1 -4
- package/esm2015/coercion/coerce-boolean-property.js +1 -7
- package/esm2015/coercion/taiga-ui-cdk-coercion.js +1 -4
- package/esm2015/components/alert-host/alert-host.component.js +1 -5
- package/esm2015/components/alert-host/taiga-ui-cdk-components-alert-host.js +1 -4
- package/esm2015/components/dialog-host/dialog-host.component.js +1 -8
- package/esm2015/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +1 -4
- package/esm2015/components/dropdown-host/dropdown-host.component.js +1 -4
- package/esm2015/components/dropdown-host/dropdown-portal.service.js +1 -4
- package/esm2015/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +1 -4
- package/esm2015/components/scroll-controls/taiga-ui-cdk-components-scroll-controls.js +1 -4
- package/esm2015/components/taiga-ui-cdk-components.js +1 -4
- package/esm2015/constants/always-false-handler.js +1 -5
- package/esm2015/constants/always-true-handler.js +1 -5
- package/esm2015/constants/browser.js +1 -5
- package/esm2015/constants/empty.js +1 -6
- package/esm2015/constants/matcher.js +1 -20
- package/esm2015/constants/parent-animation.js +1 -7
- package/esm2015/constants/stringify.js +1 -4
- package/esm2015/constants/svg-node-filter.js +1 -3
- package/esm2015/constants/taiga-ui-cdk-constants.js +1 -4
- package/esm2015/constants/unicode-chars.js +1 -52
- package/esm2015/constants/used-icons.js +1 -7
- package/esm2015/date-time/date-fillers.js +1 -12
- package/esm2015/date-time/date-format.js +1 -4
- package/esm2015/date-time/date-separator.js +1 -4
- package/esm2015/date-time/day-range.js +1 -34
- package/esm2015/date-time/day.js +1 -94
- package/esm2015/date-time/month-range.js +1 -4
- package/esm2015/date-time/month.js +1 -57
- package/esm2015/date-time/taiga-ui-cdk-date-time.js +1 -4
- package/esm2015/date-time/time.js +1 -37
- package/esm2015/date-time/year.js +1 -43
- package/esm2015/decorators/debounce.js +1 -5
- package/esm2015/decorators/default-prop.js +1 -10
- package/esm2015/decorators/required-setter.js +1 -10
- package/esm2015/decorators/taiga-ui-cdk-decorators.js +1 -4
- package/esm2015/directives/active-zone/taiga-ui-cdk-directives-active-zone.js +1 -4
- package/esm2015/directives/auto-focus/autofocus.options.js +2 -3
- package/esm2015/directives/auto-focus/handlers/ios.handler.js +1 -40
- package/esm2015/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js +1 -4
- package/esm2015/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +1 -4
- package/esm2015/directives/checked/taiga-ui-cdk-directives-checked.js +1 -4
- package/esm2015/directives/click-outside/taiga-ui-cdk-directives-click-outside.js +1 -4
- package/esm2015/directives/control/taiga-ui-cdk-directives-control.js +1 -4
- package/esm2015/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js +1 -4
- package/esm2015/directives/drag/drag.directive.js +1 -4
- package/esm2015/directives/drag/drag.module.js +1 -4
- package/esm2015/directives/drag/taiga-ui-cdk-directives-drag.js +1 -4
- package/esm2015/directives/droppable/droppable.directive.js +1 -2
- package/esm2015/directives/droppable/taiga-ui-cdk-directives-droppable.js +1 -4
- package/esm2015/directives/element/element.directive.js +1 -15
- package/esm2015/directives/element/taiga-ui-cdk-directives-element.js +1 -4
- package/esm2015/directives/focus-trap/focus-trap.directive.js +1 -14
- package/esm2015/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js +1 -4
- package/esm2015/directives/focus-visible/focus-visible.directive.js +1 -6
- package/esm2015/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +1 -4
- package/esm2015/directives/focusable/focusable.directive.js +1 -7
- package/esm2015/directives/focusable/taiga-ui-cdk-directives-focusable.js +1 -4
- package/esm2015/directives/focused/focused.directive.js +1 -6
- package/esm2015/directives/focused/taiga-ui-cdk-directives-focused.js +1 -4
- package/esm2015/directives/for/taiga-ui-cdk-directives-for.js +1 -4
- package/esm2015/directives/for-async/for-async.module.js +1 -4
- package/esm2015/directives/for-async/taiga-ui-cdk-directives-for-async.js +1 -4
- package/esm2015/directives/high-dpi/high-dpi.directive.js +1 -4
- package/esm2015/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js +1 -4
- package/esm2015/directives/hovered/hovered.service.js +2 -4
- package/esm2015/directives/hovered/taiga-ui-cdk-directives-hovered.js +1 -4
- package/esm2015/directives/item/item.directive.js +1 -4
- package/esm2015/directives/item/taiga-ui-cdk-directives-item.js +1 -4
- package/esm2015/directives/let/let-context.js +1 -4
- package/esm2015/directives/let/let.directive.js +1 -11
- package/esm2015/directives/let/taiga-ui-cdk-directives-let.js +1 -4
- package/esm2015/directives/media/media.directive.js +1 -4
- package/esm2015/directives/media/taiga-ui-cdk-directives-media.js +1 -4
- package/esm2015/directives/obscured/obscured.directive.js +1 -4
- package/esm2015/directives/obscured/taiga-ui-cdk-directives-obscured.js +1 -4
- package/esm2015/directives/overscroll/overscroll.directive.js +1 -7
- package/esm2015/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +1 -4
- package/esm2015/directives/pan/pan.module.js +1 -4
- package/esm2015/directives/pan/taiga-ui-cdk-directives-pan.js +1 -4
- package/esm2015/directives/platform/taiga-ui-cdk-directives-platform.js +1 -4
- package/esm2015/directives/portal/taiga-ui-cdk-directives-portal.js +1 -4
- package/esm2015/directives/pressed/taiga-ui-cdk-directives-pressed.js +1 -4
- package/esm2015/directives/prevent-default/prevent-default.directive.js +1 -6
- package/esm2015/directives/prevent-default/prevent-default.module.js +1 -4
- package/esm2015/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +1 -4
- package/esm2015/directives/repeat-times/repeat-times.directive.js +1 -8
- package/esm2015/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js +1 -4
- package/esm2015/directives/resize/resize.module.js +1 -4
- package/esm2015/directives/resize/taiga-ui-cdk-directives-resize.js +1 -4
- package/esm2015/directives/resizer/resizer.directive.js +1 -2
- package/esm2015/directives/resizer/taiga-ui-cdk-directives-resizer.js +1 -4
- package/esm2015/directives/swipe/swipe.module.js +1 -4
- package/esm2015/directives/swipe/taiga-ui-cdk-directives-swipe.js +1 -4
- package/esm2015/directives/taiga-ui-cdk-directives.js +1 -4
- package/esm2015/directives/validator/taiga-ui-cdk-directives-validator.js +1 -4
- package/esm2015/directives/value-changes/taiga-ui-cdk-directives-value-changes.js +1 -4
- package/esm2015/directives/zoom/taiga-ui-cdk-directives-zoom.js +1 -4
- package/esm2015/directives/zoom/zoom.module.js +1 -4
- package/esm2015/enums/day-of-week.js +1 -3
- package/esm2015/enums/month-number.js +1 -3
- package/esm2015/enums/taiga-ui-cdk-enums.js +1 -4
- package/esm2015/exceptions/taiga-ui-cdk-exceptions.js +1 -4
- package/esm2015/interfaces/taiga-ui-cdk-interfaces.js +1 -4
- package/esm2015/observables/control-value.js +1 -4
- package/esm2015/observables/drag-and-drop-from.js +1 -3
- package/esm2015/observables/focus-visible-observable.js +2 -6
- package/esm2015/observables/is-alive.js +1 -4
- package/esm2015/observables/items-query-list-observable.js +1 -7
- package/esm2015/observables/mouse-drag-finish-from.js +1 -5
- package/esm2015/observables/scroll-from.js +1 -4
- package/esm2015/observables/taiga-ui-cdk-observables.js +1 -4
- package/esm2015/observables/typed-from-event.js +1 -5
- package/esm2015/pipes/filter/taiga-ui-cdk-pipes-filter.js +1 -4
- package/esm2015/pipes/is-present/taiga-ui-cdk-pipes-is-present.js +1 -4
- package/esm2015/pipes/keys/taiga-ui-cdk-pipes-keys.js +1 -4
- package/esm2015/pipes/mapper/taiga-ui-cdk-pipes-mapper.js +1 -4
- package/esm2015/pipes/replace/replace.pipe.js +2 -4
- package/esm2015/pipes/replace/taiga-ui-cdk-pipes-replace.js +1 -4
- package/esm2015/pipes/taiga-ui-cdk-pipes.js +1 -4
- package/esm2015/services/destroy.service.js +1 -9
- package/esm2015/services/directive-styles.service.js +1 -4
- package/esm2015/services/focus-visible.service.js +1 -6
- package/esm2015/services/id.service.js +1 -4
- package/esm2015/services/obscured.service.js +2 -10
- package/esm2015/services/pan.service.js +2 -4
- package/esm2015/services/parents-scroll.service.js +2 -7
- package/esm2015/services/resize.service.js +2 -8
- package/esm2015/services/static-request.service.js +2 -5
- package/esm2015/services/taiga-ui-cdk-services.js +1 -4
- package/esm2015/taiga-ui-cdk.js +1 -4
- package/esm2015/tokens/active-element.js +4 -26
- package/esm2015/tokens/alerts.js +1 -4
- package/esm2015/tokens/default-renderer.js +2 -10
- package/esm2015/tokens/dialogs.js +1 -5
- package/esm2015/tokens/ensure-base-href.js +1 -4
- package/esm2015/tokens/focusable-item-accessor.js +1 -4
- package/esm2015/tokens/is-android.js +1 -4
- package/esm2015/tokens/is-apple.js +1 -4
- package/esm2015/tokens/is-chromium.js +1 -4
- package/esm2015/tokens/is-cypress.js +1 -5
- package/esm2015/tokens/is-e2e.js +1 -4
- package/esm2015/tokens/is-firefox.js +1 -4
- package/esm2015/tokens/is-ios.js +1 -4
- package/esm2015/tokens/is-mobile.js +1 -5
- package/esm2015/tokens/is-playwright.js +1 -4
- package/esm2015/tokens/is-webkit.js +1 -4
- package/esm2015/tokens/platform.js +1 -2
- package/esm2015/tokens/range.js +1 -4
- package/esm2015/tokens/removed-element.js +1 -4
- package/esm2015/tokens/scroll-ref.js +1 -4
- package/esm2015/tokens/swipe-options.js +1 -4
- package/esm2015/tokens/taiga-ui-cdk-tokens.js +1 -4
- package/esm2015/tokens/take-only-trusted-events.js +1 -7
- package/esm2015/tokens/window-height.js +1 -4
- package/esm2015/tokens/zoom-options.js +1 -4
- package/esm2015/types/taiga-ui-cdk-types.js +1 -4
- package/esm2015/utils/browser/taiga-ui-cdk-utils-browser.js +1 -4
- package/esm2015/utils/color/hex-to-rgba.js +1 -2
- package/esm2015/utils/color/hsv-to-rgb.js +1 -4
- package/esm2015/utils/color/rgb-to-hsv.js +1 -2
- package/esm2015/utils/color/rgba-to-hex.js +1 -2
- package/esm2015/utils/color/taiga-ui-cdk-utils-color.js +1 -4
- package/esm2015/utils/dom/element-checks.js +1 -2
- package/esm2015/utils/dom/get-actual-target.js +1 -4
- package/esm2015/utils/dom/get-clipboard-data-text.js +1 -4
- package/esm2015/utils/dom/get-element-obscurers.js +1 -10
- package/esm2015/utils/dom/get-element-offset.js +1 -8
- package/esm2015/utils/dom/get-scroll-parent.js +1 -7
- package/esm2015/utils/dom/get-selected-text.js +1 -9
- package/esm2015/utils/dom/is-inside-iframe.js +1 -4
- package/esm2015/utils/dom/is-node-in.js +1 -8
- package/esm2015/utils/dom/retarget-boundary-crossing.js +3 -3
- package/esm2015/utils/dom/taiga-ui-cdk-utils-dom.js +1 -4
- package/esm2015/utils/focus/blur-native-focused.js +1 -4
- package/esm2015/utils/focus/get-closest-focusable.js +1 -5
- package/esm2015/utils/focus/get-native-focused.js +1 -6
- package/esm2015/utils/focus/is-native-focused-in.js +1 -8
- package/esm2015/utils/focus/is-native-focused.js +1 -9
- package/esm2015/utils/focus/is-native-keyboard-focusable.js +1 -7
- package/esm2015/utils/focus/move-focus.js +1 -8
- package/esm2015/utils/focus/set-native-mouse-focused.js +1 -8
- package/esm2015/utils/focus/taiga-ui-cdk-utils-focus.js +1 -4
- package/esm2015/utils/format/px.js +1 -4
- package/esm2015/utils/format/taiga-ui-cdk-utils-format.js +1 -4
- package/esm2015/utils/math/clamp.js +1 -8
- package/esm2015/utils/math/normalize-to-int-number.js +1 -9
- package/esm2015/utils/math/quantize.js +1 -7
- package/esm2015/utils/math/round.js +1 -8
- package/esm2015/utils/math/sum.js +1 -4
- package/esm2015/utils/math/taiga-ui-cdk-utils-math.js +1 -4
- package/esm2015/utils/math/to-radians.js +1 -4
- package/esm2015/utils/miscellaneous/create-options.js +1 -2
- package/esm2015/utils/miscellaneous/flat-length.js +1 -6
- package/esm2015/utils/miscellaneous/get-original-array-from-query-list.js +1 -7
- package/esm2015/utils/miscellaneous/is-number.js +1 -2
- package/esm2015/utils/miscellaneous/is-object.js +1 -2
- package/esm2015/utils/miscellaneous/is-string.js +1 -2
- package/esm2015/utils/miscellaneous/is-valid-url.js +7 -8
- package/esm2015/utils/miscellaneous/nullable-same.js +1 -9
- package/esm2015/utils/miscellaneous/object-from-entries.js +1 -9
- package/esm2015/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js +1 -4
- package/esm2015/utils/os/is-apple-platform.js +1 -11
- package/esm2015/utils/os/taiga-ui-cdk-utils-os.js +1 -4
- package/esm2015/utils/svg/svg-linear-gradient-processor.js +2 -16
- package/esm2015/utils/svg/taiga-ui-cdk-utils-svg.js +1 -4
- package/esm2015/utils/taiga-ui-cdk-utils.js +1 -4
- package/exceptions/taiga-ui-cdk-exceptions.d.ts +0 -3
- package/fesm2015/taiga-ui-cdk-abstract.js +0 -32
- package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-classes.js +0 -9
- package/fesm2015/taiga-ui-cdk-classes.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-coercion.js +0 -10
- package/fesm2015/taiga-ui-cdk-coercion.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-components-alert-host.js +0 -8
- package/fesm2015/taiga-ui-cdk-components-alert-host.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-components-dialog-host.js +0 -11
- package/fesm2015/taiga-ui-cdk-components-dialog-host.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-components-dropdown-host.js +0 -10
- package/fesm2015/taiga-ui-cdk-components-dropdown-host.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-components-scroll-controls.js +0 -4
- package/fesm2015/taiga-ui-cdk-components-scroll-controls.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-components.js +0 -4
- package/fesm2015/taiga-ui-cdk-components.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-constants.js +0 -108
- package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-date-time.js +0 -284
- package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-decorators.js +0 -26
- package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-active-zone.js +0 -4
- package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +1 -44
- package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-autofilled.js +0 -4
- package/fesm2015/taiga-ui-cdk-directives-autofilled.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-checked.js +0 -4
- package/fesm2015/taiga-ui-cdk-directives-checked.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-click-outside.js +0 -4
- package/fesm2015/taiga-ui-cdk-directives-click-outside.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-control.js +0 -4
- package/fesm2015/taiga-ui-cdk-directives-control.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +0 -4
- package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-drag.js +0 -10
- package/fesm2015/taiga-ui-cdk-directives-drag.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-droppable.js +0 -5
- package/fesm2015/taiga-ui-cdk-directives-droppable.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-element.js +0 -18
- package/fesm2015/taiga-ui-cdk-directives-element.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focus-trap.js +0 -17
- package/fesm2015/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focus-visible.js +0 -9
- package/fesm2015/taiga-ui-cdk-directives-focus-visible.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focusable.js +0 -10
- package/fesm2015/taiga-ui-cdk-directives-focusable.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focused.js +0 -9
- package/fesm2015/taiga-ui-cdk-directives-focused.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-for-async.js +0 -7
- package/fesm2015/taiga-ui-cdk-directives-for-async.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-for.js +0 -4
- package/fesm2015/taiga-ui-cdk-directives-for.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-high-dpi.js +0 -7
- package/fesm2015/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-hovered.js +1 -7
- package/fesm2015/taiga-ui-cdk-directives-hovered.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-item.js +0 -7
- package/fesm2015/taiga-ui-cdk-directives-item.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-let.js +0 -17
- package/fesm2015/taiga-ui-cdk-directives-let.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-media.js +0 -7
- package/fesm2015/taiga-ui-cdk-directives-media.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-obscured.js +0 -7
- package/fesm2015/taiga-ui-cdk-directives-obscured.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-overscroll.js +0 -10
- package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-pan.js +0 -7
- package/fesm2015/taiga-ui-cdk-directives-pan.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-platform.js +0 -4
- package/fesm2015/taiga-ui-cdk-directives-platform.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-portal.js +0 -4
- package/fesm2015/taiga-ui-cdk-directives-portal.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-pressed.js +0 -4
- package/fesm2015/taiga-ui-cdk-directives-pressed.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-prevent-default.js +0 -12
- package/fesm2015/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +0 -11
- package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-resize.js +0 -7
- package/fesm2015/taiga-ui-cdk-directives-resize.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-resizer.js +0 -5
- package/fesm2015/taiga-ui-cdk-directives-resizer.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-swipe.js +0 -7
- package/fesm2015/taiga-ui-cdk-directives-swipe.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-validator.js +0 -4
- package/fesm2015/taiga-ui-cdk-directives-validator.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-value-changes.js +0 -4
- package/fesm2015/taiga-ui-cdk-directives-value-changes.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-zoom.js +0 -7
- package/fesm2015/taiga-ui-cdk-directives-zoom.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives.js +0 -4
- package/fesm2015/taiga-ui-cdk-directives.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-enums.js +0 -8
- package/fesm2015/taiga-ui-cdk-enums.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-exceptions.js +0 -4
- package/fesm2015/taiga-ui-cdk-exceptions.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-interfaces.js +1 -3
- package/fesm2015/taiga-ui-cdk-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-observables.js +1 -34
- package/fesm2015/taiga-ui-cdk-observables.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-pipes-filter.js +0 -4
- package/fesm2015/taiga-ui-cdk-pipes-filter.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-pipes-is-present.js +0 -4
- package/fesm2015/taiga-ui-cdk-pipes-is-present.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-pipes-keys.js +0 -4
- package/fesm2015/taiga-ui-cdk-pipes-keys.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-pipes-mapper.js +0 -4
- package/fesm2015/taiga-ui-cdk-pipes-mapper.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-pipes-replace.js +1 -7
- package/fesm2015/taiga-ui-cdk-pipes-replace.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-pipes.js +0 -4
- package/fesm2015/taiga-ui-cdk-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-services.js +5 -52
- package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-tokens.js +4 -108
- package/fesm2015/taiga-ui-cdk-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-types.js +1 -3
- package/fesm2015/taiga-ui-cdk-types.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-browser.js +0 -4
- package/fesm2015/taiga-ui-cdk-utils-browser.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-color.js +0 -10
- package/fesm2015/taiga-ui-cdk-utils-color.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-dom.js +2 -53
- package/fesm2015/taiga-ui-cdk-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-focus.js +0 -51
- package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-format.js +0 -7
- package/fesm2015/taiga-ui-cdk-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-math.js +0 -38
- package/fesm2015/taiga-ui-cdk-utils-math.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +6 -42
- package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-os.js +0 -14
- package/fesm2015/taiga-ui-cdk-utils-os.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-svg.js +1 -19
- package/fesm2015/taiga-ui-cdk-utils-svg.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils.js +0 -4
- package/fesm2015/taiga-ui-cdk-utils.js.map +1 -1
- package/fesm2015/taiga-ui-cdk.js +0 -4
- package/fesm2015/taiga-ui-cdk.js.map +1 -1
- package/interfaces/control-value-transformer.d.ts +0 -3
- package/interfaces/day-like.d.ts +0 -3
- package/interfaces/focusable-element-accessor.d.ts +0 -4
- package/interfaces/month-like.d.ts +0 -3
- package/interfaces/taiga-ui-cdk-interfaces.d.ts +0 -3
- package/interfaces/year-like.d.ts +0 -3
- package/observables/control-value.d.ts +0 -3
- package/observables/is-alive.d.ts +0 -3
- package/observables/items-query-list-observable.d.ts +0 -6
- package/observables/mouse-drag-finish-from.d.ts +0 -4
- package/observables/scroll-from.d.ts +0 -3
- package/observables/taiga-ui-cdk-observables.d.ts +0 -3
- package/package.json +1 -1
- package/pipes/filter/filter.pipe.d.ts +0 -7
- package/pipes/filter/taiga-ui-cdk-pipes-filter.d.ts +0 -3
- package/pipes/is-present/taiga-ui-cdk-pipes-is-present.d.ts +0 -3
- package/pipes/keys/taiga-ui-cdk-pipes-keys.d.ts +0 -3
- package/pipes/mapper/mapper.pipe.d.ts +0 -7
- package/pipes/mapper/taiga-ui-cdk-pipes-mapper.d.ts +0 -3
- package/pipes/replace/taiga-ui-cdk-pipes-replace.d.ts +0 -3
- package/pipes/taiga-ui-cdk-pipes.d.ts +0 -3
- package/schematics/constants/file-globs.js +1 -3
- package/schematics/ng-add/index.js +0 -1
- package/schematics/ng-add/schema.d.ts +0 -12
- package/schematics/ng-update/steps/show-warnings.js +0 -5
- package/schematics/ng-update/v3/constants/breakpoints.js +0 -2
- package/schematics/ng-update/v3/constants/enums.js +0 -4
- package/schematics/ng-update/v3/constants/templates.d.ts +0 -5
- package/schematics/ng-update/v3/constants/templates.js +0 -5
- package/schematics/ng-update/v3/index.js +1 -5
- package/schematics/ng-update/v3/steps/migrate-date-time.js +0 -18
- package/schematics/ng-update/v3/steps/migrate-progress.js +1 -3
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-range.js +0 -6
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-slider.js +0 -5
- package/schematics/ng-update/v3/steps/migrate-taiga-proprietary-icons.js +0 -1
- package/schematics/ng-update/v3/steps/migrate-templates.js +0 -1
- package/schematics/ng-update/v3/steps/miscellaneous.js +0 -4
- package/schematics/ng-update/v3/steps/replace-functions.js +1 -1
- package/schematics/ng-update/v3-30/index.js +0 -1
- package/schematics/ng-update/v3-35/index.js +0 -1
- package/schematics/ng-update/v3-36/index.js +0 -1
- package/schematics/ng-update/v3-40/index.js +0 -1
- package/schematics/ng-update/v3-5/index.js +0 -1
- package/schematics/ng-update/v4/index.js +0 -1
- package/schematics/utils/add-import-to-component.js +0 -1
- package/schematics/utils/angular/ng-module.d.ts +0 -3
- package/schematics/utils/angular/ng-module.js +0 -3
- package/schematics/utils/angular-json-manipulations.js +0 -7
- package/schematics/utils/colored-log.js +1 -1
- package/schematics/utils/get-projects.js +1 -3
- package/schematics/utils/is-ci.js +11 -13
- package/schematics/utils/progress.js +0 -1
- package/schematics/utils/push-to-array-property.js +0 -1
- package/schematics/utils/templates/elements.d.ts +0 -19
- package/schematics/utils/templates/elements.js +2 -26
- package/schematics/utils/templates/ng-component-input-manipulations.d.ts +0 -44
- package/schematics/utils/templates/ng-component-input-manipulations.js +1 -47
- package/services/destroy.service.d.ts +0 -8
- package/services/directive-styles.service.d.ts +0 -3
- package/services/focus-visible.service.d.ts +0 -5
- package/services/id.service.d.ts +0 -3
- package/services/obscured.service.d.ts +0 -5
- package/services/parents-scroll.service.d.ts +0 -3
- package/services/taiga-ui-cdk-services.d.ts +0 -3
- package/taiga-ui-cdk.d.ts +0 -3
- package/tokens/active-element.d.ts +0 -3
- package/tokens/alerts.d.ts +0 -3
- package/tokens/default-renderer.d.ts +0 -6
- package/tokens/dialogs.d.ts +0 -3
- package/tokens/ensure-base-href.d.ts +0 -3
- package/tokens/focusable-item-accessor.d.ts +0 -3
- package/tokens/is-android.d.ts +0 -3
- package/tokens/is-apple.d.ts +0 -3
- package/tokens/is-chromium.d.ts +0 -3
- package/tokens/is-cypress.d.ts +0 -4
- package/tokens/is-e2e.d.ts +0 -3
- package/tokens/is-firefox.d.ts +0 -3
- package/tokens/is-ios.d.ts +0 -3
- package/tokens/is-mobile.d.ts +0 -3
- package/tokens/is-playwright.d.ts +0 -3
- package/tokens/is-webkit.d.ts +0 -3
- package/tokens/range.d.ts +0 -3
- package/tokens/removed-element.d.ts +0 -3
- package/tokens/scroll-ref.d.ts +0 -3
- package/tokens/swipe-options.d.ts +0 -3
- package/tokens/taiga-ui-cdk-tokens.d.ts +0 -3
- package/tokens/take-only-trusted-events.d.ts +0 -6
- package/tokens/window-height.d.ts +0 -3
- package/tokens/zoom-options.d.ts +0 -3
- package/types/autocomplete.d.ts +0 -1
- package/types/date-mode.d.ts +0 -5
- package/types/event-with.d.ts +0 -3
- package/types/mapper.d.ts +0 -8
- package/types/matcher.d.ts +0 -8
- package/types/taiga-ui-cdk-types.d.ts +0 -3
- package/utils/browser/taiga-ui-cdk-utils-browser.d.ts +0 -3
- package/utils/color/hsv-to-rgb.d.ts +0 -3
- package/utils/color/taiga-ui-cdk-utils-color.d.ts +0 -3
- package/utils/dom/get-actual-target.d.ts +0 -3
- package/utils/dom/get-clipboard-data-text.d.ts +0 -3
- package/utils/dom/get-element-obscurers.d.ts +0 -9
- package/utils/dom/get-element-offset.d.ts +0 -7
- package/utils/dom/get-scroll-parent.d.ts +0 -6
- package/utils/dom/get-selected-text.d.ts +0 -8
- package/utils/dom/is-inside-iframe.d.ts +0 -3
- package/utils/dom/is-node-in.d.ts +0 -7
- package/utils/dom/taiga-ui-cdk-utils-dom.d.ts +0 -3
- package/utils/focus/blur-native-focused.d.ts +0 -3
- package/utils/focus/get-closest-focusable.d.ts +0 -20
- package/utils/focus/get-native-focused.d.ts +0 -5
- package/utils/focus/is-native-focused-in.d.ts +0 -6
- package/utils/focus/is-native-focused.d.ts +0 -8
- package/utils/focus/is-native-keyboard-focusable.d.ts +0 -6
- package/utils/focus/move-focus.d.ts +0 -7
- package/utils/focus/set-native-mouse-focused.d.ts +0 -7
- package/utils/focus/taiga-ui-cdk-utils-focus.d.ts +0 -3
- package/utils/format/px.d.ts +0 -3
- package/utils/format/taiga-ui-cdk-utils-format.d.ts +0 -3
- package/utils/math/clamp.d.ts +0 -7
- package/utils/math/normalize-to-int-number.d.ts +0 -8
- package/utils/math/quantize.d.ts +0 -6
- package/utils/math/sum.d.ts +0 -3
- package/utils/math/taiga-ui-cdk-utils-math.d.ts +0 -3
- package/utils/math/to-radians.d.ts +0 -3
- package/utils/miscellaneous/create-options.d.ts +0 -1
- package/utils/miscellaneous/flat-length.d.ts +0 -5
- package/utils/miscellaneous/get-original-array-from-query-list.d.ts +0 -6
- package/utils/miscellaneous/is-string.js +0 -1
- package/utils/miscellaneous/nullable-same.d.ts +0 -8
- package/utils/miscellaneous/object-from-entries.d.ts +0 -8
- package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.d.ts +0 -3
- package/utils/os/is-apple-platform.d.ts +0 -10
- package/utils/os/taiga-ui-cdk-utils-os.d.ts +0 -3
- package/utils/svg/svg-linear-gradient-processor.d.ts +0 -14
- package/utils/svg/taiga-ui-cdk-utils-svg.d.ts +0 -3
- package/utils/taiga-ui-cdk-utils.d.ts +0 -3
package/constants/matcher.d.ts
CHANGED
@@ -1,23 +1,4 @@
|
|
1
1
|
import { TuiHandler, TuiIdentityMatcher } from '@taiga-ui/cdk/types';
|
2
|
-
/**
|
3
|
-
* Default handler for matching stringified version of an item and a search query
|
4
|
-
* @param item arbitrary element to match with a string
|
5
|
-
* @param search search query
|
6
|
-
* @param stringify handler to turn item into a string
|
7
|
-
*/
|
8
2
|
export declare const TUI_DEFAULT_MATCHER: <T>(item: T, search: string, stringify?: TuiHandler<T, string>) => boolean;
|
9
|
-
/**
|
10
|
-
* Default handler for strict matching stringified version of an item and a search query
|
11
|
-
* @param item arbitrary element to match with a string
|
12
|
-
* @param search search query
|
13
|
-
* @param stringify handler to turn item into a string
|
14
|
-
*/
|
15
3
|
export declare const TUI_STRICT_MATCHER: <T>(item: T, search: string, stringify?: TuiHandler<T, string>) => boolean;
|
16
|
-
/**
|
17
|
-
* Default handler to match equality of two elements
|
18
|
-
* ATTENTION: considers two empty arrays equal
|
19
|
-
*
|
20
|
-
* @param item1 first element
|
21
|
-
* @param item2 second element
|
22
|
-
*/
|
23
4
|
export declare const TUI_DEFAULT_IDENTITY_MATCHER: TuiIdentityMatcher<unknown>;
|
@@ -1,8 +1,2 @@
|
|
1
|
-
/**
|
2
|
-
* Add to enable child :leave animation (fixes https://github.com/angular/angular/issues/15753)
|
3
|
-
*/
|
4
1
|
export declare const TUI_PARENT_ANIMATION: import("@angular/animations").AnimationTriggerMetadata;
|
5
|
-
/**
|
6
|
-
* Add on parent to stop initial :enter animation for children
|
7
|
-
*/
|
8
2
|
export declare const TUI_PARENT_STOP: import("@angular/animations").AnimationTriggerMetadata;
|
package/constants/stringify.d.ts
CHANGED
@@ -1,63 +1,12 @@
|
|
1
|
-
/**
|
2
|
-
* {@link https://unicode-table.com/en/00A0/ Non-breaking space}.
|
3
|
-
*/
|
4
1
|
export declare const CHAR_NO_BREAK_SPACE = "\u00A0";
|
5
|
-
/**
|
6
|
-
* {@link https://unicode-table.com/en/2013/ EN dash}
|
7
|
-
* is used to indicate a range of numbers or a span of time.
|
8
|
-
* @example 2006–2022
|
9
|
-
* ___
|
10
|
-
* Don't confuse with {@link CHAR_EM_DASH} or {@link CHAR_HYPHEN}!
|
11
|
-
*/
|
12
2
|
export declare const CHAR_EN_DASH = "\u2013";
|
13
|
-
/**
|
14
|
-
* {@link https://unicode-table.com/en/2014/ EM dash}
|
15
|
-
* is used to mark a break in a sentence.
|
16
|
-
* @example Taiga UI — powerful set of open source components for Angular
|
17
|
-
* ___
|
18
|
-
* Don't confuse with {@link CHAR_EN_DASH} or {@link CHAR_HYPHEN}!
|
19
|
-
*/
|
20
3
|
export declare const CHAR_EM_DASH = "\u2014";
|
21
|
-
/**
|
22
|
-
* {@link https://unicode-table.com/en/00AB/ Left-Pointing Double Angle Quotation Mark}
|
23
|
-
*/
|
24
4
|
export declare const CHAR_LAQUO = "\u00AB";
|
25
|
-
/**
|
26
|
-
* {@link https://unicode-table.com/en/00BB/ Right-Pointing Double Angle Quotation Mark}
|
27
|
-
*/
|
28
5
|
export declare const CHAR_RAQUO = "\u00BB";
|
29
|
-
/**
|
30
|
-
* {@link https://unicode-table.com/en/002D/ Hyphen (minus sign)}
|
31
|
-
* is used to combine words.
|
32
|
-
* @example well-behaved
|
33
|
-
* ___
|
34
|
-
* Don't confuse with {@link CHAR_EN_DASH} or {@link CHAR_EM_DASH}!
|
35
|
-
*/
|
36
6
|
export declare const CHAR_HYPHEN = "-";
|
37
|
-
/**
|
38
|
-
* {@link https://unicode-table.com/en/2212/ Minus}
|
39
|
-
* is used as math operator symbol or before negative digits.
|
40
|
-
* ---
|
41
|
-
* Can be used as `−`. Don't confuse with {@link CHAR_HYPHEN}
|
42
|
-
*/
|
43
7
|
export declare const CHAR_MINUS = "\u2212";
|
44
|
-
/**
|
45
|
-
* {@link https://unicode-table.com/en/002B/ Plus}
|
46
|
-
*/
|
47
8
|
export declare const CHAR_PLUS = "+";
|
48
|
-
/**
|
49
|
-
* {@link https://unicode-table.com/en/2022/ Bullet}.
|
50
|
-
*/
|
51
9
|
export declare const CHAR_BULLET = "\u2022";
|
52
|
-
/**
|
53
|
-
* {@link https://unicode-table.com/en/2026/ Suspension points}.
|
54
|
-
*/
|
55
10
|
export declare const CHAR_ELLIPSIS = "\u2026";
|
56
|
-
/**
|
57
|
-
* {@link https://unicode-table.com/en/00A4/ Suspension points}.
|
58
|
-
*/
|
59
11
|
export declare const CHAR_CURRENCY_SIGN = "\u00A4";
|
60
|
-
/**
|
61
|
-
* {@link https://unicode-table.com/en/200b/ Suspension points}.
|
62
|
-
*/
|
63
12
|
export declare const CHAR_ZERO_WIDTH_SPACE = "\u200B";
|
@@ -1,13 +1,2 @@
|
|
1
|
-
/**
|
2
|
-
* @internal 'dd.mm.yyyy'.length
|
3
|
-
* Used in:
|
4
|
-
* - {@link TuiInputDateComponent}
|
5
|
-
* - {@link TuiInputDateRangeComponent}
|
6
|
-
* - {@link TuiInputDateTimeComponent}
|
7
|
-
*/
|
8
1
|
export declare const DATE_FILLER_LENGTH = 10;
|
9
|
-
/**
|
10
|
-
* @internal
|
11
|
-
* Used in {@link TuiInputDateRangeComponent}
|
12
|
-
*/
|
13
2
|
export declare const DATE_RANGE_FILLER_LENGTH: number;
|
package/date-time/day-range.d.ts
CHANGED
@@ -1,48 +1,15 @@
|
|
1
1
|
import { TuiDateMode } from '@taiga-ui/cdk/types';
|
2
2
|
import { TuiDay } from './day';
|
3
3
|
import { TuiMonthRange } from './month-range';
|
4
|
-
/**
|
5
|
-
* An immutable range of two {@link TuiDay} objects
|
6
|
-
*/
|
7
4
|
export declare class TuiDayRange extends TuiMonthRange {
|
8
5
|
readonly from: TuiDay;
|
9
6
|
readonly to: TuiDay;
|
10
7
|
constructor(from: TuiDay, to: TuiDay);
|
11
|
-
/**
|
12
|
-
* Creates range from two days after sorting them
|
13
|
-
*
|
14
|
-
* @param day1
|
15
|
-
* @param day2
|
16
|
-
* @return new range with sorted days
|
17
|
-
*/
|
18
8
|
static sort(day1: TuiDay, day2: TuiDay): TuiDayRange;
|
19
|
-
/**
|
20
|
-
* Parse and correct a day range in string format
|
21
|
-
*
|
22
|
-
* @param rangeString a string of dates in a format dd.mm.yyyy - dd.mm.yyyy
|
23
|
-
* @param dateMode {@link TuiDateMode}
|
24
|
-
* @return normalized day range object
|
25
|
-
*/
|
26
9
|
static normalizeParse(rangeString: string, dateMode?: TuiDateMode): TuiDayRange;
|
27
10
|
get isSingleDay(): boolean;
|
28
|
-
/**
|
29
|
-
* Tests ranges for identity
|
30
|
-
*
|
31
|
-
* @param another second range to test against current
|
32
|
-
* @return `true` if days are identical
|
33
|
-
*/
|
34
11
|
daySame(another: TuiDayRange): boolean;
|
35
|
-
/**
|
36
|
-
* Locks range between two days included, or limits from one side if the other is null
|
37
|
-
*
|
38
|
-
* @param min
|
39
|
-
* @param max
|
40
|
-
* @return range — clamped range
|
41
|
-
*/
|
42
12
|
dayLimit(min: TuiDay | null, max: TuiDay | null): TuiDayRange;
|
43
|
-
/**
|
44
|
-
* Human readable format.
|
45
|
-
*/
|
46
13
|
getFormattedDayRange(dateFormat: TuiDateMode, dateSeparator: string): string;
|
47
14
|
toString(dateFormat?: TuiDateMode, dateSeparator?: string): string;
|
48
15
|
}
|
package/date-time/day.d.ts
CHANGED
@@ -1,45 +1,14 @@
|
|
1
1
|
import { TuiDayLike } from '@taiga-ui/cdk/interfaces';
|
2
2
|
import { TuiDateMode } from '@taiga-ui/cdk/types';
|
3
3
|
import { TuiMonth } from './month';
|
4
|
-
/**
|
5
|
-
* Immutable date object, consisting of day, month and year
|
6
|
-
*/
|
7
4
|
export declare class TuiDay extends TuiMonth {
|
8
5
|
readonly day: number;
|
9
6
|
constructor(year: number, month: number, day: number);
|
10
|
-
/**
|
11
|
-
* Creates {@link TuiDay} from native {@link Date} based on local time zone
|
12
|
-
*/
|
13
7
|
static fromLocalNativeDate(date: Date): TuiDay;
|
14
|
-
/**
|
15
|
-
* Creates {@link TuiDay} from native {@link Date} using UTC
|
16
|
-
*/
|
17
8
|
static fromUtcNativeDate(date: Date): TuiDay;
|
18
|
-
/**
|
19
|
-
* Check validity of year, month and day
|
20
|
-
*
|
21
|
-
* @param year
|
22
|
-
* @param month
|
23
|
-
* @param day
|
24
|
-
* @return boolean validity
|
25
|
-
*/
|
26
9
|
static isValidDay(year: number, month: number, day: number): boolean;
|
27
|
-
/**
|
28
|
-
* Current day based on local time zone
|
29
|
-
*/
|
30
10
|
static currentLocal(): TuiDay;
|
31
|
-
/**
|
32
|
-
* Returns current day based on UTC
|
33
|
-
*/
|
34
11
|
static currentUtc(): TuiDay;
|
35
|
-
/**
|
36
|
-
* Calculates {@link TuiDay} normalizing year, month and day. {@link NaN} is turned into minimal value.
|
37
|
-
*
|
38
|
-
* @param year any year value, including invalid
|
39
|
-
* @param month any month value, including invalid (months start with 0)
|
40
|
-
* @param day any day value, including invalid
|
41
|
-
* @return normalized date
|
42
|
-
*/
|
43
12
|
static normalizeOf(year: number, month: number, day: number): TuiDay;
|
44
13
|
static lengthBetween(from: TuiDay, to: TuiDay): number;
|
45
14
|
static parseRawDateString(date: string, dateMode?: TuiDateMode): {
|
@@ -47,82 +16,22 @@ export declare class TuiDay extends TuiMonth {
|
|
47
16
|
month: number;
|
48
17
|
year: number;
|
49
18
|
};
|
50
|
-
/**
|
51
|
-
* Parsing a string with date with normalization
|
52
|
-
*
|
53
|
-
* @param rawDate date string
|
54
|
-
* @param dateMode date format of the date string (DMY | MDY | YMD)
|
55
|
-
* @return normalized date
|
56
|
-
*/
|
57
19
|
static normalizeParse(rawDate: string, dateMode?: TuiDateMode): TuiDay;
|
58
|
-
/**
|
59
|
-
* Parsing a date stringified in a toJSON format
|
60
|
-
* @param yearMonthDayString date string in format of YYYY-MM-DD
|
61
|
-
* @return date
|
62
|
-
* @throws exceptions if any part of the date is invalid
|
63
|
-
*/
|
64
20
|
static jsonParse(yearMonthDayString: string): TuiDay;
|
65
21
|
protected static normalizeDayPart(day: number, month: number, year: number): number;
|
66
22
|
get formattedDayPart(): string;
|
67
23
|
get isWeekend(): boolean;
|
68
|
-
/**
|
69
|
-
* Returns day of week
|
70
|
-
*
|
71
|
-
* @param startFromMonday whether week starts from Monday and not from Sunday
|
72
|
-
* @return day of week (from 0 to 6)
|
73
|
-
*/
|
74
24
|
dayOfWeek(startFromMonday?: boolean): number;
|
75
|
-
/**
|
76
|
-
* Passed date is after current
|
77
|
-
*/
|
78
25
|
dayBefore(another: TuiDay): boolean;
|
79
|
-
/**
|
80
|
-
* Passed date is after or equals to current
|
81
|
-
*/
|
82
26
|
daySameOrBefore(another: TuiDay): boolean;
|
83
|
-
/**
|
84
|
-
* Passed date is the same as current
|
85
|
-
*/
|
86
27
|
daySame(another: TuiDay): boolean;
|
87
|
-
/**
|
88
|
-
* Passed date is either before or the same as current
|
89
|
-
*/
|
90
28
|
daySameOrAfter(another: TuiDay): boolean;
|
91
|
-
/**
|
92
|
-
* Passed date is before current
|
93
|
-
*/
|
94
29
|
dayAfter(another: TuiDay): boolean;
|
95
|
-
/**
|
96
|
-
* Clamping date between two limits
|
97
|
-
*
|
98
|
-
* @param min
|
99
|
-
* @param max
|
100
|
-
* @return clamped date
|
101
|
-
*/
|
102
30
|
dayLimit(min: TuiDay | null, max: TuiDay | null): TuiDay;
|
103
|
-
/**
|
104
|
-
* Immutably alters current day by passed offset
|
105
|
-
*
|
106
|
-
* If resulting month has more days than original one, date is rounded to the maximum day
|
107
|
-
* in the resulting month. Offset of days will be calculated based on the resulted year and month
|
108
|
-
* to not interfere with parent classes methods
|
109
|
-
*
|
110
|
-
* @param offset
|
111
|
-
* @return new date object as a result of offsetting current
|
112
|
-
*/
|
113
31
|
append({ year, month, day }: TuiDayLike): TuiDay;
|
114
|
-
/**
|
115
|
-
* Returns formatted whole date
|
116
|
-
*/
|
117
32
|
getFormattedDay(dateFormat: TuiDateMode, separator: string): string;
|
118
33
|
toString(dateFormat?: TuiDateMode, separator?: string): string;
|
119
34
|
toJSON(): string;
|
120
|
-
/**
|
121
|
-
* Returns native {@link Date} based on local time zone
|
122
|
-
*/
|
123
35
|
toLocalNativeDate(): Date;
|
124
|
-
/**
|
125
|
-
* Returns native {@link Date} based on UTC
|
126
|
-
*/
|
127
36
|
toUtcNativeDate(): Date;
|
128
37
|
}
|
package/date-time/month.d.ts
CHANGED
@@ -1,82 +1,26 @@
|
|
1
1
|
import { TuiMonthLike } from '@taiga-ui/cdk/interfaces';
|
2
2
|
import { TuiYear } from './year';
|
3
|
-
/**
|
4
|
-
* Immutable object consisting of year and month
|
5
|
-
*/
|
6
3
|
export declare class TuiMonth extends TuiYear implements TuiMonthLike {
|
7
4
|
readonly month: number;
|
8
|
-
/**
|
9
|
-
* @param year
|
10
|
-
* @param month (starting with 0)
|
11
|
-
*/
|
12
5
|
constructor(year: number, month: number);
|
13
|
-
/**
|
14
|
-
* Tests month and year for validity
|
15
|
-
*/
|
16
6
|
static isValidMonth(year: number, month: number): boolean;
|
17
|
-
/**
|
18
|
-
* Returns number of days in a month
|
19
|
-
*/
|
20
7
|
static getMonthDaysCount(month: number, isLeapYear: boolean): number;
|
21
|
-
/**
|
22
|
-
* Returns current month and year based on local time zone
|
23
|
-
* @nosideeffects
|
24
|
-
*/
|
25
8
|
static currentLocal(): TuiMonth;
|
26
|
-
/**
|
27
|
-
* Returns current month and year based on UTC
|
28
|
-
*/
|
29
9
|
static currentUtc(): TuiMonth;
|
30
10
|
static lengthBetween(from: TuiMonth, to: TuiMonth): number;
|
31
|
-
/**
|
32
|
-
* Normalizes number by clamping it between min and max month
|
33
|
-
*/
|
34
11
|
protected static normalizeMonthPart(month: number): number;
|
35
|
-
/**
|
36
|
-
* Tests month for validity
|
37
|
-
*/
|
38
12
|
private static isValidMonthPart;
|
39
13
|
get formattedMonthPart(): string;
|
40
|
-
/**
|
41
|
-
* Returns days in a month
|
42
|
-
*/
|
43
14
|
get daysCount(): number;
|
44
|
-
/**
|
45
|
-
* Passed month and year are after current
|
46
|
-
*/
|
47
15
|
monthBefore(another: TuiMonth): boolean;
|
48
|
-
/**
|
49
|
-
* Passed month and year are after or the same as current
|
50
|
-
*/
|
51
16
|
monthSameOrBefore(another: TuiMonth): boolean;
|
52
|
-
/**
|
53
|
-
* Passed month and year are the same as current
|
54
|
-
*/
|
55
17
|
monthSame(another: TuiMonth): boolean;
|
56
|
-
/**
|
57
|
-
* Passed month and year are either before or equal to current
|
58
|
-
*/
|
59
18
|
monthSameOrAfter(another: TuiMonth): boolean;
|
60
|
-
/**
|
61
|
-
* Passed month and year are before current
|
62
|
-
*/
|
63
19
|
monthAfter(another: TuiMonth): boolean;
|
64
|
-
/**
|
65
|
-
* Immutably alters current month and year by passed offset
|
66
|
-
*
|
67
|
-
* @param offset
|
68
|
-
* @return new month and year object as a result of offsetting current
|
69
|
-
*/
|
70
20
|
append({ year, month }: TuiMonthLike): TuiMonth;
|
71
21
|
toString(): string;
|
72
22
|
valueOf(): number;
|
73
23
|
toJSON(): string;
|
74
|
-
/**
|
75
|
-
* Returns native {@link Date} based on local time zone
|
76
|
-
*/
|
77
24
|
toLocalNativeDate(): Date;
|
78
|
-
/**
|
79
|
-
* Returns native {@link Date} based on UTC
|
80
|
-
*/
|
81
25
|
toUtcNativeDate(): Date;
|
82
26
|
}
|
package/date-time/time.d.ts
CHANGED
@@ -1,57 +1,21 @@
|
|
1
1
|
import { TuiTimeLike } from '@taiga-ui/cdk/interfaces';
|
2
2
|
import { TuiTimeMode } from '@taiga-ui/cdk/types';
|
3
|
-
/**
|
4
|
-
* Immutable time object with hours, minutes, seconds and ms
|
5
|
-
*/
|
6
3
|
export declare class TuiTime implements TuiTimeLike {
|
7
4
|
readonly hours: number;
|
8
5
|
readonly minutes: number;
|
9
6
|
readonly seconds: number;
|
10
7
|
readonly ms: number;
|
11
8
|
constructor(hours: number, minutes: number, seconds?: number, ms?: number);
|
12
|
-
/**
|
13
|
-
* Checks if time is valid
|
14
|
-
*/
|
15
9
|
static isValidTime(hours: number, minutes: number, seconds?: number, ms?: number): boolean;
|
16
|
-
/**
|
17
|
-
* Current UTC time.
|
18
|
-
*/
|
19
10
|
static current(): TuiTime;
|
20
|
-
/**
|
21
|
-
* Current time in local timezone
|
22
|
-
*/
|
23
11
|
static currentLocal(): TuiTime;
|
24
|
-
/**
|
25
|
-
* Calculates TuiTime from milliseconds
|
26
|
-
*/
|
27
12
|
static fromAbsoluteMilliseconds(milliseconds: number): TuiTime;
|
28
|
-
/**
|
29
|
-
* Parses string into TuiTime object
|
30
|
-
*/
|
31
13
|
static fromString(time: string): TuiTime;
|
32
|
-
/**
|
33
|
-
* Converts Date object into TuiTime
|
34
|
-
* @param date
|
35
|
-
*/
|
36
14
|
static fromLocalNativeDate(date: Date): TuiTime;
|
37
|
-
/**
|
38
|
-
* Shifts time by hours and minutes
|
39
|
-
*/
|
40
15
|
shift({ hours, minutes, seconds, ms }: TuiTimeLike): TuiTime;
|
41
|
-
/**
|
42
|
-
* Converts TuiTime to string
|
43
|
-
*/
|
44
16
|
toString(mode?: TuiTimeMode): string;
|
45
17
|
valueOf(): number;
|
46
|
-
/**
|
47
|
-
* Returns the primitive value of the given Date object.
|
48
|
-
* Depending on the argument, the method can return either a string or a number.
|
49
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/@@toPrimitive
|
50
|
-
*/
|
51
18
|
[Symbol.toPrimitive](hint: string): number | string;
|
52
|
-
/**
|
53
|
-
* Converts TuiTime to milliseconds
|
54
|
-
*/
|
55
19
|
toAbsoluteMilliseconds(): number;
|
56
20
|
private formatTime;
|
57
21
|
}
|
package/date-time/year.d.ts
CHANGED
@@ -1,65 +1,23 @@
|
|
1
1
|
import { TuiYearLike } from '@taiga-ui/cdk/interfaces';
|
2
|
-
/**
|
3
|
-
* Immutable year object
|
4
|
-
* @nosideeffects
|
5
|
-
*/
|
6
2
|
export declare class TuiYear implements TuiYearLike {
|
7
3
|
readonly year: number;
|
8
4
|
constructor(year: number);
|
9
|
-
/**
|
10
|
-
* Checks year for validity
|
11
|
-
*/
|
12
5
|
static isValidYear(year: number): boolean;
|
13
|
-
/**
|
14
|
-
* Check if passed year is a leap year
|
15
|
-
*/
|
16
6
|
static isLeapYear(year: number): boolean;
|
17
|
-
/**
|
18
|
-
* Returns amount of leap years from year 0 to the passed one
|
19
|
-
*/
|
20
7
|
static getAbsoluteLeapYears(year: number): number;
|
21
8
|
static lengthBetween(from: TuiYear, to: TuiYear): number;
|
22
|
-
/**
|
23
|
-
* Normalizes year by clamping it between min and max years
|
24
|
-
*/
|
25
9
|
protected static normalizeYearPart(year: number): number;
|
26
10
|
get formattedYear(): string;
|
27
11
|
get isLeapYear(): boolean;
|
28
|
-
/**
|
29
|
-
* Returns amount of leap years from year 0 to current
|
30
|
-
*/
|
31
12
|
get absoluteLeapYears(): number;
|
32
|
-
/**
|
33
|
-
* Passed year is after current
|
34
|
-
*/
|
35
13
|
yearBefore({ year }: TuiYear): boolean;
|
36
|
-
/**
|
37
|
-
* Passed year is the same or after current
|
38
|
-
*/
|
39
14
|
yearSameOrBefore({ year }: TuiYear): boolean;
|
40
|
-
/**
|
41
|
-
* Passed year is the same as current
|
42
|
-
*/
|
43
15
|
yearSame({ year }: TuiYear): boolean;
|
44
|
-
/**
|
45
|
-
* Passed year is either the same of before the current
|
46
|
-
*/
|
47
16
|
yearSameOrAfter({ year }: TuiYear): boolean;
|
48
|
-
/**
|
49
|
-
* Passed year is before current
|
50
|
-
*/
|
51
17
|
yearAfter({ year }: TuiYear): boolean;
|
52
|
-
/**
|
53
|
-
* Immutably offsets year
|
54
|
-
*/
|
55
18
|
append({ year }: TuiYearLike): TuiYear;
|
56
19
|
toString(): string;
|
57
20
|
valueOf(): number;
|
58
|
-
/**
|
59
|
-
* Returns the primitive value of the given Date object.
|
60
|
-
* Depending on the argument, the method can return either a string or a number.
|
61
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/@@toPrimitive
|
62
|
-
*/
|
63
21
|
[Symbol.toPrimitive](hint: string): number | string;
|
64
22
|
toJSON(): string;
|
65
23
|
}
|
package/decorators/debounce.d.ts
CHANGED
@@ -1,11 +1,2 @@
|
|
1
1
|
import { TuiBooleanHandler } from '@taiga-ui/cdk/types';
|
2
|
-
/**
|
3
|
-
* @deprecated:
|
4
|
-
* not compatible with TypeScript 5
|
5
|
-
*
|
6
|
-
* Decorator for checking input values for undefined. You can also pass
|
7
|
-
* optional assertion to check input against.
|
8
|
-
*
|
9
|
-
* CAUTION: This decorator overwrites other getters and setters.
|
10
|
-
*/
|
11
2
|
export declare function tuiDefaultProp<T extends Record<string, any>, K extends keyof T>(assertion?: TuiBooleanHandler<T[K]>, ...args: unknown[]): PropertyDecorator;
|
package/decorators/pure.d.ts
CHANGED
@@ -1,29 +1,11 @@
|
|
1
|
-
/** TODO Delete after updating typescript to version 5 and when backward compatibility will not be required */
|
2
1
|
interface ClassGetterDecoratorContext {
|
3
2
|
kind: 'getter';
|
4
3
|
name: string;
|
5
4
|
}
|
6
|
-
/** TODO Delete after updating typescript to version 5 and when backward compatibility will not be required */
|
7
5
|
interface ClassMethodDecoratorContext {
|
8
6
|
kind: 'method';
|
9
7
|
name: string;
|
10
8
|
}
|
11
|
-
/**
|
12
|
-
* Implements lazy initialization for getter or memoization of a function call similar to pure {@link: Pipe}.
|
13
|
-
* Replaces getter with its calculated value upon first call or keeps track of last call arguments and returned
|
14
|
-
* value for function, skipping calculation when arguments are strictly the same.
|
15
|
-
*
|
16
|
-
* @throws error if used not on getter or function
|
17
|
-
*
|
18
|
-
* CAUTION: they must be pure.
|
19
|
-
*/
|
20
9
|
export declare function tuiPure<T>(target: object, propertyKey: string, { get, enumerable, value }: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T>;
|
21
|
-
/**
|
22
|
-
* Implements lazy initialization for getter or memoization of a function call similar to pure {@link: Pipe}.
|
23
|
-
* Replaces getter with its calculated value upon first call or keeps track of last call arguments and returned
|
24
|
-
* value for function, skipping calculation when arguments are strictly the same.
|
25
|
-
*
|
26
|
-
* CAUTION: they must be pure.
|
27
|
-
*/
|
28
10
|
export declare function tuiPure<A extends unknown[], R>(target: (...args: A) => R, context: ClassGetterDecoratorContext | ClassMethodDecoratorContext): (...args: A) => R;
|
29
11
|
export {};
|
@@ -1,11 +1,2 @@
|
|
1
1
|
import { TuiBooleanHandler } from '@taiga-ui/cdk/types';
|
2
|
-
/**
|
3
|
-
* @deprecated:
|
4
|
-
* not compatible with TypeScript 5
|
5
|
-
*
|
6
|
-
* Decorator for checking input setter values against a custom assertion which
|
7
|
-
* takes value passed to input setter and component instance as arguments.
|
8
|
-
* It specifically checks for undefined values and prevents calls to the
|
9
|
-
* original setter in this case.
|
10
|
-
*/
|
11
2
|
export declare function tuiRequiredSetter<T extends Record<string, any>, K extends keyof T>(assertion?: TuiBooleanHandler<T[K]>, ...args: any[]): MethodDecorator;
|
@@ -9,49 +9,10 @@ export declare class TuiIosAutofocusHandler extends AbstractTuiAutofocusHandler
|
|
9
9
|
constructor(focusable: TuiFocusableElementAccessor | null, el: ElementRef<HTMLElement>, renderer: Renderer2, zone: NgZone, win: Window);
|
10
10
|
setFocus(): void;
|
11
11
|
private iosWebkitAutofocus;
|
12
|
-
/**
|
13
|
-
* @note:
|
14
|
-
* emulate textfield position in layout with cursor
|
15
|
-
* before focus to real textfield element
|
16
|
-
*
|
17
|
-
* required note:
|
18
|
-
* [fakeInput.readOnly = true] ~
|
19
|
-
* don't use {readOnly: true} value, it's doesn't work for emulate autofill
|
20
|
-
*
|
21
|
-
* [fakeInput.style.opacity = 0] ~
|
22
|
-
* don't use {opacity: 0}, sometimes it's doesn't work for emulate real input
|
23
|
-
*
|
24
|
-
* [fakeInput.style.fontSize = 16px] ~
|
25
|
-
* disable possible auto zoom
|
26
|
-
*
|
27
|
-
* [fakeInput.style.top/left] ~
|
28
|
-
* emulate position cursor before focus to real textfield element
|
29
|
-
*/
|
30
12
|
private makeFakeInput;
|
31
13
|
private getDurationTimeBeforeFocus;
|
32
|
-
/**
|
33
|
-
* @note:
|
34
|
-
* unfortunately, in older versions of iOS
|
35
|
-
* there is a bug that the fake input cursor
|
36
|
-
* will move along with the dialog animation
|
37
|
-
* and then that dialog will be shaking
|
38
|
-
*/
|
39
14
|
private insideDialog;
|
40
|
-
/**
|
41
|
-
* @note:
|
42
|
-
* This is necessary so that the viewport isn't recalculated
|
43
|
-
* and then the dialogs don't shake.
|
44
|
-
*
|
45
|
-
* Also, we need to fixed height viewport,
|
46
|
-
* so that when focusing the dialogs don't shake
|
47
|
-
*/
|
48
15
|
private patchCssStyles;
|
49
|
-
/**
|
50
|
-
* @note:
|
51
|
-
* inherit basic attributes values from real input
|
52
|
-
* for help iOS detect what do you want see on keyboard,
|
53
|
-
* for example [inputMode=numeric, autocomplete=cc-number]
|
54
|
-
*/
|
55
16
|
private patchFakeInputFromFocusableElement;
|
56
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiIosAutofocusHandler, [{ optional: true; self: true; }, null, null, null, null]>;
|
57
18
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiIosAutofocusHandler, never, never, {}, {}, never>;
|