@taiga-ui/cdk 3.491.1-canary.d27927b → 4.0.0-rc.2
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/LICENSE +1 -1
- package/classes/control.d.ts +41 -0
- package/classes/controller.d.ts +9 -0
- package/classes/index.d.ts +4 -1
- package/classes/portals.d.ts +33 -0
- package/classes/validation-error.d.ts +1 -1
- package/classes/value-transformer.d.ts +4 -0
- package/constants/handlers.d.ts +8 -0
- package/constants/index.d.ts +3 -7
- package/constants/matchers.d.ts +23 -0
- package/constants/regexp.d.ts +3 -0
- package/constants/svg-node-filter.d.ts +1 -1
- package/constants/used-icons.d.ts +1 -1
- package/constants/version.d.ts +1 -1
- package/constants/version.js +1 -1
- package/date-time/day-of-week.d.ts +9 -0
- package/date-time/day-range.d.ts +1 -1
- package/date-time/day.d.ts +5 -3
- package/date-time/index.d.ts +3 -2
- package/date-time/month-number.d.ts +14 -0
- package/date-time/month-range.d.ts +1 -1
- package/date-time/month.d.ts +2 -2
- package/date-time/time.d.ts +1 -2
- package/date-time/types.d.ts +31 -0
- package/date-time/year.d.ts +2 -2
- package/directives/active-zone/active-zone.directive.d.ts +10 -9
- package/directives/active-zone/index.d.ts +0 -1
- package/directives/auto-focus/autofocus.directive.d.ts +8 -9
- package/directives/auto-focus/autofocus.options.d.ts +7 -8
- package/directives/auto-focus/handlers/abstract.handler.d.ts +4 -9
- package/directives/auto-focus/handlers/default.handler.d.ts +3 -7
- package/directives/auto-focus/handlers/ios.handler.d.ts +2 -6
- package/directives/auto-focus/handlers/sync.handler.d.ts +0 -6
- package/directives/auto-focus/index.d.ts +0 -1
- package/directives/click-outside/click-outside.directive.d.ts +4 -6
- package/directives/click-outside/index.d.ts +0 -1
- package/directives/control/control.directive.d.ts +4 -5
- package/directives/control/index.d.ts +0 -1
- package/directives/copy-processor/copy-processor.directive.d.ts +5 -6
- package/directives/copy-processor/index.d.ts +0 -1
- package/directives/droppable/droppable.directive.d.ts +6 -8
- package/directives/droppable/index.d.ts +0 -1
- package/directives/element/element.directive.d.ts +4 -4
- package/directives/element/index.d.ts +0 -1
- package/directives/focus-trap/focus-trap.directive.d.ts +7 -8
- package/directives/focus-trap/index.d.ts +0 -1
- package/directives/for/for.directive.d.ts +2 -3
- package/directives/for/index.d.ts +0 -1
- package/directives/high-dpi/high-dpi.directive.d.ts +4 -5
- package/directives/high-dpi/index.d.ts +0 -1
- package/directives/hovered/hovered.directive.d.ts +5 -6
- package/directives/hovered/hovered.service.d.ts +3 -2
- package/directives/hovered/index.d.ts +0 -1
- package/directives/index.d.ts +2 -12
- package/directives/item/index.d.ts +0 -1
- package/directives/item/item.directive.d.ts +3 -3
- package/directives/let/index.d.ts +0 -1
- package/directives/let/let-context.d.ts +4 -4
- package/directives/let/let.directive.d.ts +5 -6
- package/directives/media/index.d.ts +0 -1
- package/directives/media/media.directive.d.ts +9 -11
- package/directives/native-validator/index.d.ts +1 -0
- package/directives/native-validator/native-validator.directive.d.ts +14 -0
- package/directives/obscured/index.d.ts +1 -1
- package/directives/obscured/obscured.directive.d.ts +6 -8
- package/directives/obscured/obscured.service.d.ts +13 -0
- package/directives/pan/index.d.ts +1 -1
- package/directives/pan/pan.directive.d.ts +5 -6
- package/directives/pan/pan.service.d.ts +7 -0
- package/directives/platform/index.d.ts +0 -1
- package/directives/platform/platform.directive.d.ts +4 -5
- package/directives/popover/index.d.ts +1 -0
- package/directives/popover/popover.directive.d.ts +14 -0
- package/directives/repeat-times/index.d.ts +0 -1
- package/directives/repeat-times/repeat-times.directive.d.ts +6 -8
- package/directives/resizer/index.d.ts +1 -2
- package/directives/resizer/resizable.directive.d.ts +6 -0
- package/directives/resizer/resizer.directive.d.ts +14 -17
- package/directives/swipe/index.d.ts +3 -1
- package/directives/swipe/swipe.directive.d.ts +5 -7
- package/directives/swipe/swipe.options.d.ts +2 -0
- package/directives/swipe/swipe.service.d.ts +8 -0
- package/directives/swipe/swipe.types.d.ts +9 -0
- package/directives/validator/index.d.ts +0 -1
- package/directives/validator/validator.directive.d.ts +5 -5
- package/directives/value-changes/index.d.ts +0 -1
- package/directives/value-changes/value-changes.directive.d.ts +4 -6
- package/directives/zoom/index.d.ts +3 -1
- package/directives/zoom/zoom.directive.d.ts +5 -7
- package/directives/zoom/zoom.options.d.ts +5 -0
- package/directives/zoom/zoom.service.d.ts +8 -0
- package/directives/zoom/zoom.types.d.ts +9 -0
- package/esm2022/classes/control.mjs +111 -0
- package/esm2022/classes/controller.mjs +18 -0
- package/esm2022/classes/index.mjs +6 -0
- package/esm2022/classes/portals.mjs +76 -0
- package/esm2022/classes/validation-error.mjs +7 -0
- package/esm2022/classes/value-transformer.mjs +3 -0
- package/esm2022/constants/empty.mjs +24 -0
- package/esm2022/constants/handlers.mjs +11 -0
- package/esm2022/constants/index.mjs +9 -0
- package/esm2022/constants/matchers.mjs +26 -0
- package/esm2022/constants/regexp.mjs +4 -0
- package/esm2022/constants/svg-node-filter.mjs +8 -0
- package/esm2022/constants/unicode-chars.mjs +64 -0
- package/esm2022/constants/used-icons.mjs +56 -0
- package/esm2022/constants/version.mjs +2 -0
- package/esm2022/date-time/day-of-week.mjs +10 -0
- package/esm2022/date-time/day-range.mjs +76 -0
- package/esm2022/date-time/day.mjs +287 -0
- package/esm2022/date-time/index.mjs +14 -0
- package/esm2022/date-time/month-number.mjs +15 -0
- package/esm2022/date-time/month-range.mjs +27 -0
- package/esm2022/date-time/month.mjs +149 -0
- package/esm2022/date-time/time.mjs +128 -0
- package/esm2022/date-time/types.mjs +2 -0
- package/esm2022/date-time/year.mjs +111 -0
- package/esm2022/directives/active-zone/active-zone.directive.mjs +73 -0
- package/esm2022/directives/active-zone/index.mjs +2 -0
- package/esm2022/directives/auto-focus/autofocus.directive.mjs +46 -0
- package/esm2022/directives/auto-focus/autofocus.options.mjs +24 -0
- package/esm2022/directives/auto-focus/handlers/abstract.handler.mjs +16 -0
- package/esm2022/directives/auto-focus/handlers/default.handler.mjs +19 -0
- package/esm2022/directives/auto-focus/handlers/ios.handler.mjs +140 -0
- package/esm2022/directives/auto-focus/handlers/sync.handler.mjs +7 -0
- package/esm2022/directives/auto-focus/index.mjs +7 -0
- package/esm2022/directives/click-outside/click-outside.directive.mjs +30 -0
- package/esm2022/directives/click-outside/index.mjs +2 -0
- package/esm2022/directives/control/control.directive.mjs +23 -0
- package/esm2022/directives/control/index.mjs +2 -0
- package/esm2022/directives/copy-processor/copy-processor.directive.mjs +33 -0
- package/esm2022/directives/copy-processor/index.mjs +2 -0
- package/esm2022/directives/droppable/droppable.directive.mjs +31 -0
- package/esm2022/directives/droppable/index.mjs +2 -0
- package/esm2022/directives/element/element.directive.mjs +35 -0
- package/esm2022/directives/element/index.mjs +2 -0
- package/esm2022/directives/focus-trap/focus-trap.directive.mjs +64 -0
- package/esm2022/directives/focus-trap/index.mjs +2 -0
- package/esm2022/directives/for/for.directive.mjs +34 -0
- package/esm2022/directives/for/index.mjs +2 -0
- package/esm2022/directives/high-dpi/high-dpi.directive.mjs +23 -0
- package/esm2022/directives/high-dpi/index.mjs +2 -0
- package/esm2022/directives/hovered/hovered.directive.mjs +22 -0
- package/esm2022/directives/hovered/hovered.service.mjs +37 -0
- package/esm2022/directives/hovered/index.mjs +3 -0
- package/esm2022/directives/index.mjs +26 -0
- package/esm2022/directives/item/index.mjs +2 -0
- package/esm2022/directives/item/item.directive.mjs +18 -0
- package/esm2022/directives/let/index.mjs +3 -0
- package/esm2022/directives/let/let-context.mjs +15 -0
- package/esm2022/directives/let/let.directive.mjs +34 -0
- package/esm2022/directives/media/index.mjs +2 -0
- package/esm2022/directives/media/media.directive.mjs +103 -0
- package/esm2022/directives/native-validator/index.mjs +2 -0
- package/esm2022/directives/native-validator/native-validator.directive.mjs +44 -0
- package/esm2022/directives/native-validator/taiga-ui-cdk-directives-native-validator.mjs +5 -0
- package/esm2022/directives/obscured/index.mjs +3 -0
- package/esm2022/directives/obscured/obscured.directive.mjs +36 -0
- package/esm2022/directives/obscured/obscured.service.mjs +24 -0
- package/esm2022/directives/pan/index.mjs +3 -0
- package/esm2022/directives/pan/pan.directive.mjs +22 -0
- package/esm2022/directives/pan/pan.service.mjs +30 -0
- package/esm2022/directives/platform/index.mjs +2 -0
- package/esm2022/directives/platform/platform.directive.mjs +37 -0
- package/esm2022/directives/popover/index.mjs +2 -0
- package/esm2022/directives/popover/popover.directive.mjs +26 -0
- package/esm2022/directives/popover/taiga-ui-cdk-directives-popover.mjs +5 -0
- package/esm2022/directives/repeat-times/index.mjs +2 -0
- package/esm2022/directives/repeat-times/repeat-times.directive.mjs +55 -0
- package/esm2022/directives/resizer/index.mjs +3 -0
- package/esm2022/directives/resizer/resizable.directive.mjs +16 -0
- package/esm2022/directives/resizer/resizer.directive.mjs +89 -0
- package/esm2022/directives/swipe/index.mjs +5 -0
- package/esm2022/directives/swipe/swipe.directive.mjs +22 -0
- package/esm2022/directives/swipe/swipe.options.mjs +6 -0
- package/esm2022/directives/swipe/swipe.service.mjs +52 -0
- package/esm2022/directives/swipe/swipe.types.mjs +2 -0
- package/esm2022/directives/validator/index.mjs +2 -0
- package/esm2022/directives/validator/validator.directive.mjs +38 -0
- package/esm2022/directives/value-changes/index.mjs +2 -0
- package/esm2022/directives/value-changes/value-changes.directive.mjs +28 -0
- package/esm2022/directives/zoom/index.mjs +5 -0
- package/esm2022/directives/zoom/zoom.directive.mjs +24 -0
- package/esm2022/directives/zoom/zoom.options.mjs +8 -0
- package/esm2022/directives/zoom/zoom.service.mjs +48 -0
- package/esm2022/directives/zoom/zoom.types.mjs +2 -0
- package/esm2022/index.mjs +11 -0
- package/esm2022/observables/control-value.mjs +19 -0
- package/esm2022/observables/drag-and-drop-from.mjs +14 -0
- package/esm2022/observables/events.mjs +8 -0
- package/esm2022/observables/if-map.mjs +5 -0
- package/esm2022/observables/index.mjs +12 -0
- package/esm2022/observables/must-be-present.mjs +17 -0
- package/esm2022/observables/query-list-observable.mjs +9 -0
- package/esm2022/observables/scroll-from.mjs +10 -0
- package/esm2022/observables/take-until-destroyed.mjs +9 -0
- package/esm2022/observables/typed-from-event.mjs +9 -0
- package/esm2022/observables/watch.mjs +5 -0
- package/esm2022/observables/zone.mjs +15 -0
- package/esm2022/pipes/filter/filter.pipe.mjs +25 -0
- package/esm2022/pipes/filter/index.mjs +2 -0
- package/esm2022/pipes/index.mjs +7 -0
- package/esm2022/pipes/is-present/index.mjs +2 -0
- package/esm2022/pipes/is-present/is-present.pipe.mjs +19 -0
- package/esm2022/pipes/keys/index.mjs +2 -0
- package/esm2022/pipes/keys/keys.pipe.mjs +18 -0
- package/esm2022/pipes/mapper/index.mjs +2 -0
- package/esm2022/pipes/mapper/mapper.pipe.mjs +25 -0
- package/esm2022/pipes/replace/index.mjs +2 -0
- package/esm2022/pipes/replace/replace.pipe.mjs +20 -0
- package/esm2022/pipes/to-array/index.mjs +2 -0
- package/esm2022/pipes/to-array/taiga-ui-cdk-pipes-to-array.mjs +5 -0
- package/esm2022/pipes/to-array/to-array.pipe.mjs +18 -0
- package/esm2022/services/id.service.mjs +22 -0
- package/esm2022/services/index.mjs +5 -0
- package/esm2022/services/popover.service.mjs +45 -0
- package/esm2022/services/scroll.service.mjs +53 -0
- package/esm2022/services/static-request.service.mjs +33 -0
- package/esm2022/tokens/active-element.mjs +51 -0
- package/esm2022/tokens/base-href.mjs +5 -0
- package/esm2022/tokens/environment.mjs +32 -0
- package/esm2022/tokens/fallback-value.mjs +9 -0
- package/esm2022/tokens/index.mjs +8 -0
- package/esm2022/tokens/removed-element.mjs +19 -0
- package/esm2022/tokens/window-size.mjs +28 -0
- package/esm2022/types/context.mjs +2 -0
- package/esm2022/types/index.mjs +8 -0
- package/esm2022/types/mapper.mjs +2 -0
- package/esm2022/types/matcher.mjs +2 -0
- package/esm2022/types/safe-html.mjs +2 -0
- package/esm2022/utils/browser/index.mjs +6 -0
- package/esm2022/utils/browser/is-apple.mjs +14 -0
- package/esm2022/utils/browser/is-edge.mjs +4 -0
- package/esm2022/utils/browser/is-firefox.mjs +4 -0
- package/esm2022/utils/browser/is-ios.mjs +7 -0
- package/esm2022/utils/browser/is-safari.mjs +10 -0
- package/esm2022/utils/color/hex-to-rgb.mjs +12 -0
- package/esm2022/utils/color/hex-to-rgba.mjs +29 -0
- package/esm2022/utils/color/hsv-to-rgb.mjs +11 -0
- package/esm2022/utils/color/parse-color.mjs +27 -0
- package/esm2022/utils/color/rgb-to-hex.mjs +4 -0
- package/esm2022/utils/color/rgba-to-hex.mjs +25 -0
- package/esm2022/utils/dom/contains-or-after.mjs +10 -0
- package/esm2022/utils/dom/element-checks.mjs +19 -0
- package/esm2022/utils/dom/event-checks.mjs +4 -0
- package/esm2022/utils/dom/get-clipboard-data-text.mjs +11 -0
- package/esm2022/utils/dom/get-document-or-shadow-root.mjs +6 -0
- package/esm2022/utils/dom/get-element-obscurers.mjs +44 -0
- package/esm2022/utils/dom/get-element-offset.mjs +20 -0
- package/esm2022/utils/dom/get-selected-text.mjs +15 -0
- package/esm2022/utils/dom/index.mjs +17 -0
- package/esm2022/utils/dom/inject-element.mjs +5 -0
- package/esm2022/utils/dom/is-node-in.mjs +14 -0
- package/esm2022/utils/dom/point-to-client-rect.mjs +17 -0
- package/esm2022/utils/dom/retarget-boundary-crossing.mjs +16 -0
- package/esm2022/utils/focus/get-native-focused.mjs +16 -0
- package/esm2022/utils/focus/index.mjs +9 -0
- package/esm2022/utils/focus/is-native-focused-in.mjs +12 -0
- package/esm2022/utils/focus/is-native-focused.mjs +15 -0
- package/esm2022/utils/focus/is-native-keyboard-focusable.mjs +33 -0
- package/esm2022/utils/focus/is-native-mouse-focusable.mjs +7 -0
- package/esm2022/utils/index.mjs +7 -0
- package/esm2022/utils/math/clamp.mjs +16 -0
- package/esm2022/utils/math/in-range.mjs +9 -0
- package/esm2022/utils/math/normalize-to-int-number.mjs +22 -0
- package/esm2022/utils/math/quantize.mjs +15 -0
- package/esm2022/utils/math/round-with.mjs +14 -0
- package/esm2022/utils/math/round.mjs +34 -0
- package/esm2022/utils/miscellaneous/change-date-separator.mjs +3 -0
- package/esm2022/utils/miscellaneous/create-token.mjs +8 -0
- package/esm2022/utils/miscellaneous/directive-binding.mjs +25 -0
- package/esm2022/utils/miscellaneous/directive-listener.mjs +7 -0
- package/esm2022/utils/miscellaneous/ease-in-out-quad.mjs +7 -0
- package/esm2022/utils/miscellaneous/get-original-array-from-query-list.mjs +15 -0
- package/esm2022/utils/miscellaneous/index.mjs +27 -0
- package/esm2022/utils/miscellaneous/is-number.mjs +4 -0
- package/esm2022/utils/miscellaneous/is-object.mjs +4 -0
- package/esm2022/utils/miscellaneous/is-string.mjs +4 -0
- package/esm2022/utils/miscellaneous/is-valid-url.mjs +11 -0
- package/esm2022/utils/miscellaneous/mark-control-as-touched-and-validate.mjs +16 -0
- package/esm2022/utils/miscellaneous/nullable-same.mjs +18 -0
- package/esm2022/utils/miscellaneous/provide-options.mjs +12 -0
- package/esm2022/utils/miscellaneous/provide.mjs +4 -0
- package/esm2022/utils/miscellaneous/pure.mjs +82 -0
- package/esm2022/utils/miscellaneous/px.mjs +9 -0
- package/esm2022/utils/miscellaneous/uniq-by.mjs +6 -0
- package/esm2022/utils/miscellaneous/with-styles.mjs +16 -0
- package/fesm2022/taiga-ui-cdk-classes.mjs +211 -0
- package/fesm2022/taiga-ui-cdk-classes.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-constants.mjs +202 -0
- package/fesm2022/taiga-ui-cdk-constants.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-date-time.mjs +837 -0
- package/fesm2022/taiga-ui-cdk-date-time.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-active-zone.mjs +79 -0
- package/fesm2022/taiga-ui-cdk-directives-active-zone.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs +250 -0
- package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-click-outside.mjs +36 -0
- package/fesm2022/taiga-ui-cdk-directives-click-outside.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-control.mjs +29 -0
- package/fesm2022/taiga-ui-cdk-directives-control.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs +39 -0
- package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-droppable.mjs +37 -0
- package/fesm2022/taiga-ui-cdk-directives-droppable.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-element.mjs +41 -0
- package/fesm2022/taiga-ui-cdk-directives-element.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-focus-trap.mjs +70 -0
- package/fesm2022/taiga-ui-cdk-directives-focus-trap.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-for.mjs +40 -0
- package/fesm2022/taiga-ui-cdk-directives-for.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-high-dpi.mjs +29 -0
- package/fesm2022/taiga-ui-cdk-directives-high-dpi.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-hovered.mjs +61 -0
- package/fesm2022/taiga-ui-cdk-directives-hovered.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-item.mjs +24 -0
- package/fesm2022/taiga-ui-cdk-directives-item.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-let.mjs +54 -0
- package/fesm2022/taiga-ui-cdk-directives-let.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-media.mjs +109 -0
- package/fesm2022/taiga-ui-cdk-directives-media.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-native-validator.mjs +50 -0
- package/fesm2022/taiga-ui-cdk-directives-native-validator.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-obscured.mjs +60 -0
- package/fesm2022/taiga-ui-cdk-directives-obscured.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-pan.mjs +54 -0
- package/fesm2022/taiga-ui-cdk-directives-pan.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-platform.mjs +43 -0
- package/fesm2022/taiga-ui-cdk-directives-platform.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-popover.mjs +32 -0
- package/fesm2022/taiga-ui-cdk-directives-popover.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-repeat-times.mjs +61 -0
- package/fesm2022/taiga-ui-cdk-directives-repeat-times.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-resizer.mjs +107 -0
- package/fesm2022/taiga-ui-cdk-directives-resizer.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-swipe.mjs +81 -0
- package/fesm2022/taiga-ui-cdk-directives-swipe.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-validator.mjs +44 -0
- package/fesm2022/taiga-ui-cdk-directives-validator.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-value-changes.mjs +34 -0
- package/fesm2022/taiga-ui-cdk-directives-value-changes.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives-zoom.mjs +80 -0
- package/fesm2022/taiga-ui-cdk-directives-zoom.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-directives.mjs +30 -0
- package/fesm2022/taiga-ui-cdk-directives.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-observables.mjs +114 -0
- package/fesm2022/taiga-ui-cdk-observables.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-pipes-filter.mjs +31 -0
- package/fesm2022/taiga-ui-cdk-pipes-filter.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-pipes-is-present.mjs +25 -0
- package/fesm2022/taiga-ui-cdk-pipes-is-present.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-pipes-keys.mjs +24 -0
- package/fesm2022/taiga-ui-cdk-pipes-keys.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-pipes-mapper.mjs +31 -0
- package/fesm2022/taiga-ui-cdk-pipes-mapper.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-pipes-replace.mjs +26 -0
- package/fesm2022/taiga-ui-cdk-pipes-replace.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-pipes-to-array.mjs +24 -0
- package/fesm2022/taiga-ui-cdk-pipes-to-array.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-pipes.mjs +11 -0
- package/fesm2022/taiga-ui-cdk-pipes.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-services.mjs +147 -0
- package/fesm2022/taiga-ui-cdk-services.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-tokens.mjs +141 -0
- package/fesm2022/taiga-ui-cdk-tokens.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-types.mjs +4 -0
- package/fesm2022/taiga-ui-cdk-types.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-utils-browser.mjs +44 -0
- package/fesm2022/taiga-ui-cdk-utils-browser.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-utils-color.mjs +122 -0
- package/fesm2022/taiga-ui-cdk-utils-color.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-utils-dom.mjs +206 -0
- package/fesm2022/taiga-ui-cdk-utils-dom.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-utils-focus.mjs +138 -0
- package/fesm2022/taiga-ui-cdk-utils-focus.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-utils-math.mjs +137 -0
- package/fesm2022/taiga-ui-cdk-utils-math.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs +297 -0
- package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk-utils.mjs +11 -0
- package/fesm2022/taiga-ui-cdk-utils.mjs.map +1 -0
- package/fesm2022/taiga-ui-cdk.mjs +15 -0
- package/fesm2022/taiga-ui-cdk.mjs.map +1 -0
- package/index.d.ts +0 -7
- package/observables/control-value.d.ts +5 -2
- package/observables/drag-and-drop-from.d.ts +2 -6
- package/observables/events.d.ts +3 -0
- package/observables/if-map.d.ts +2 -2
- package/observables/index.d.ts +4 -9
- package/observables/must-be-present.d.ts +4 -1
- package/observables/query-list-observable.d.ts +6 -0
- package/observables/scroll-from.d.ts +1 -1
- package/observables/take-until-destroyed.d.ts +3 -0
- package/observables/typed-from-event.d.ts +11 -2
- package/observables/watch.d.ts +2 -2
- package/observables/zone.d.ts +5 -0
- package/package.json +317 -28
- package/pipes/filter/filter.pipe.d.ts +4 -4
- package/pipes/filter/index.d.ts +0 -1
- package/pipes/index.d.ts +1 -0
- package/pipes/is-present/index.d.ts +0 -1
- package/pipes/is-present/is-present.pipe.d.ts +2 -2
- package/pipes/keys/index.d.ts +0 -1
- package/pipes/keys/keys.pipe.d.ts +2 -2
- package/pipes/mapper/index.d.ts +0 -1
- package/pipes/mapper/mapper.pipe.d.ts +4 -4
- package/pipes/replace/index.d.ts +0 -1
- package/pipes/replace/replace.pipe.d.ts +2 -2
- package/pipes/to-array/index.d.ts +1 -0
- package/pipes/to-array/to-array.pipe.d.ts +7 -0
- package/schematics/collection.json +16 -4
- package/schematics/constants/file-globs.d.ts +1 -1
- package/schematics/constants/file-globs.js +24 -24
- package/schematics/constants/taiga-styles.js +4 -4
- package/schematics/index.d.ts +0 -4
- package/schematics/index.js +0 -4
- package/schematics/migration.json +9 -29
- package/schematics/ng-add/constants/modules.d.ts +0 -3
- package/schematics/ng-add/constants/modules.js +5 -27
- package/schematics/ng-add/constants/packages.js +1 -1
- package/schematics/ng-add/constants/versions.d.ts +0 -3
- package/schematics/ng-add/constants/versions.js +1 -4
- package/schematics/ng-add/index.d.ts +2 -2
- package/schematics/ng-add/index.js +19 -34
- package/schematics/ng-add/schema.d.ts +0 -3
- package/schematics/ng-add/schema.json +0 -35
- package/schematics/ng-add/setup-project.d.ts +2 -2
- package/schematics/ng-add/setup-project.js +5 -5
- package/schematics/ng-add/steps/add-taiga-icons.d.ts +2 -2
- package/schematics/ng-add/steps/add-taiga-icons.js +6 -6
- package/schematics/ng-add/steps/add-taiga-modules.d.ts +2 -2
- package/schematics/ng-add/steps/add-taiga-modules.js +55 -90
- package/schematics/ng-add/steps/add-taiga-styles.d.ts +2 -2
- package/schematics/ng-add/steps/add-taiga-styles.js +1 -1
- package/schematics/ng-add/steps/wrap-with-tui-root.d.ts +3 -3
- package/schematics/ng-add/steps/wrap-with-tui-root.js +33 -33
- package/schematics/ng-update/interfaces/asset.d.ts +1 -1
- package/schematics/ng-update/interfaces/html-comment.d.ts +5 -0
- package/schematics/ng-update/interfaces/index.d.ts +14 -0
- package/schematics/ng-update/interfaces/index.js +17 -0
- package/schematics/ng-update/interfaces/removable-input.d.ts +6 -0
- package/schematics/ng-update/interfaces/replacement-attribute-to-directive.d.ts +11 -0
- package/schematics/ng-update/interfaces/replacement-attribute-value.d.ts +11 -0
- package/schematics/ng-update/interfaces/replacement-attribute.d.ts +12 -0
- package/schematics/ng-update/interfaces/replacement-identifier.d.ts +22 -0
- package/schematics/ng-update/interfaces/replacement-service.d.ts +2 -2
- package/schematics/ng-update/interfaces/replacement-tag.d.ts +7 -0
- package/schematics/ng-update/interfaces/replacement-type.d.ts +7 -0
- package/schematics/ng-update/interfaces/replacement-type.js +2 -0
- package/schematics/ng-update/interfaces/template-resource.d.ts +1 -1
- package/schematics/ng-update/steps/icons/replace-imports.d.ts +3 -3
- package/schematics/ng-update/steps/icons/replace-imports.js +7 -7
- package/schematics/ng-update/steps/index.d.ts +6 -0
- package/schematics/ng-update/steps/index.js +9 -0
- package/schematics/ng-update/steps/remove-module.d.ts +2 -2
- package/schematics/ng-update/steps/remove-module.js +6 -6
- package/schematics/ng-update/steps/rename-types.d.ts +3 -3
- package/schematics/ng-update/steps/rename-types.js +20 -20
- package/schematics/ng-update/steps/replace-deep-import.d.ts +1 -1
- package/schematics/ng-update/steps/replace-deep-import.js +8 -8
- package/schematics/ng-update/steps/replace-enums.d.ts +2 -2
- package/schematics/ng-update/steps/replace-enums.js +12 -12
- package/schematics/ng-update/steps/replace-identifier.d.ts +4 -0
- package/schematics/ng-update/steps/replace-identifier.js +40 -0
- package/schematics/ng-update/steps/replace-services.d.ts +2 -2
- package/schematics/ng-update/steps/replace-services.js +15 -15
- package/schematics/ng-update/steps/show-warnings.d.ts +2 -2
- package/schematics/ng-update/steps/show-warnings.js +6 -6
- package/schematics/ng-update/utils/get-file-system.d.ts +2 -2
- package/schematics/ng-update/utils/get-file-system.js +2 -2
- package/schematics/ng-update/utils/replace-text.js +2 -2
- package/schematics/ng-update/utils/templates/index.d.ts +6 -0
- package/schematics/ng-update/utils/templates/index.js +9 -0
- package/schematics/ng-update/utils/templates/remove-inputs.d.ts +10 -0
- package/schematics/ng-update/utils/templates/remove-inputs.js +19 -0
- package/schematics/ng-update/utils/templates/replace-attr-values.d.ts +6 -6
- package/schematics/ng-update/utils/templates/replace-attr-values.js +6 -6
- package/schematics/ng-update/utils/templates/replace-attrs-by-directives.d.ts +7 -0
- package/schematics/ng-update/utils/templates/replace-attrs-by-directives.js +18 -0
- package/schematics/ng-update/utils/templates/replace-attrs.d.ts +10 -0
- package/schematics/ng-update/utils/templates/replace-attrs.js +20 -0
- package/schematics/ng-update/utils/templates/replace-tag.d.ts +3 -0
- package/schematics/ng-update/utils/templates/replace-tag.js +17 -0
- package/schematics/ng-update/utils/templates/replace-tags.d.ts +10 -0
- package/schematics/ng-update/utils/templates/replace-tags.js +19 -0
- package/schematics/ng-update/utils/templates/template-comments.d.ts +9 -0
- package/schematics/ng-update/utils/templates/template-comments.js +20 -0
- package/schematics/ng-update/v3/constants/breakpoints.js +27 -27
- package/schematics/ng-update/v3/constants/constants.d.ts +2 -2
- package/schematics/ng-update/v3/constants/constants.js +187 -187
- package/schematics/ng-update/v3/constants/deprecated-functions.d.ts +2 -2
- package/schematics/ng-update/v3/constants/deprecated-functions.js +405 -405
- package/schematics/ng-update/v3/constants/enums.d.ts +1 -1
- package/schematics/ng-update/v3/constants/enums.js +153 -153
- package/schematics/ng-update/v3/constants/modules.d.ts +1 -1
- package/schematics/ng-update/v3/constants/modules.js +4 -4
- package/schematics/ng-update/v3/constants/services.d.ts +1 -1
- package/schematics/ng-update/v3/constants/services.js +16 -16
- package/schematics/ng-update/v3/constants/templates.d.ts +9 -9
- package/schematics/ng-update/v3/constants/templates.js +295 -295
- package/schematics/ng-update/v3/constants/tui-interactive-selectors.js +50 -50
- package/schematics/ng-update/v3/constants/types.d.ts +2 -2
- package/schematics/ng-update/v3/constants/types.js +88 -88
- package/schematics/ng-update/v3/constants/warnings.d.ts +1 -1
- package/schematics/ng-update/v3/constants/warnings.js +62 -62
- package/schematics/ng-update/v3/index.d.ts +2 -3
- package/schematics/ng-update/v3/index.js +45 -59
- package/schematics/ng-update/v3/steps/migrate-date-time.d.ts +1 -1
- package/schematics/ng-update/v3/steps/migrate-date-time.js +98 -98
- package/schematics/ng-update/v3/steps/migrate-polymorpheus.d.ts +3 -3
- package/schematics/ng-update/v3/steps/migrate-polymorpheus.js +43 -43
- package/schematics/ng-update/v3/steps/migrate-progress.d.ts +6 -2
- package/schematics/ng-update/v3/steps/migrate-progress.js +27 -29
- package/schematics/ng-update/v3/steps/migrate-sliders/index.d.ts +2 -2
- package/schematics/ng-update/v3/steps/migrate-sliders/index.js +10 -10
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-range.d.ts +2 -2
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-range.js +61 -64
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-slider.d.ts +2 -2
- package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-slider.js +55 -57
- package/schematics/ng-update/v3/steps/migrate-taiga-proprietary-icons.d.ts +2 -2
- package/schematics/ng-update/v3/steps/migrate-taiga-proprietary-icons.js +11 -11
- package/schematics/ng-update/v3/steps/migrate-templates.d.ts +3 -2
- package/schematics/ng-update/v3/steps/migrate-templates.js +88 -112
- package/schematics/ng-update/v3/steps/migrate-textfield-controller.d.ts +3 -3
- package/schematics/ng-update/v3/steps/migrate-textfield-controller.js +53 -53
- package/schematics/ng-update/v3/steps/miscellaneous.d.ts +1 -1
- package/schematics/ng-update/v3/steps/miscellaneous.js +37 -37
- package/schematics/ng-update/v3/steps/replace-functions.d.ts +1 -1
- package/schematics/ng-update/v3/steps/replace-functions.js +33 -33
- package/schematics/ng-update/v3/steps/replace-styles.js +13 -13
- package/schematics/ng-update/v3-30/constants/constants.d.ts +2 -2
- package/schematics/ng-update/v3-30/constants/constants.js +2 -2
- package/schematics/ng-update/v3-30/constants/icons.js +494 -494
- package/schematics/ng-update/v3-30/index.d.ts +2 -2
- package/schematics/ng-update/v3-30/index.js +14 -14
- package/schematics/ng-update/v3-35/constants/constants.d.ts +2 -2
- package/schematics/ng-update/v3-35/constants/constants.js +2 -2
- package/schematics/ng-update/v3-35/constants/icons.js +1266 -1266
- package/schematics/ng-update/v3-35/index.d.ts +2 -2
- package/schematics/ng-update/v3-35/index.js +14 -14
- package/schematics/ng-update/v3-36/index.d.ts +2 -2
- package/schematics/ng-update/v3-36/index.js +15 -15
- package/schematics/ng-update/v3-40/index.d.ts +2 -2
- package/schematics/ng-update/v3-40/index.js +32 -33
- package/schematics/ng-update/v3-5/index.d.ts +2 -2
- package/schematics/ng-update/v3-5/index.js +6 -6
- package/schematics/ng-update/v3-5/steps/migrate-expand-templates.d.ts +2 -2
- package/schematics/ng-update/v3-5/steps/migrate-expand-templates.js +25 -25
- package/schematics/ng-update/v4/index.d.ts +2 -2
- package/schematics/ng-update/v4/index.js +42 -11
- package/schematics/ng-update/v4/migrate-css-vars/index.d.ts +3 -0
- package/schematics/ng-update/v4/migrate-css-vars/index.js +23 -0
- package/schematics/ng-update/v4/migrate-css-vars/palette.d.ts +89 -0
- package/schematics/ng-update/v4/migrate-css-vars/palette.js +120 -0
- package/schematics/ng-update/v4/migrate-css-vars/rename-css-vars.d.ts +2 -0
- package/schematics/ng-update/v4/migrate-css-vars/rename-css-vars.js +31 -0
- package/schematics/ng-update/v4/migrate-icons/index.d.ts +3 -0
- package/schematics/ng-update/v4/migrate-icons/index.js +30 -0
- package/schematics/ng-update/v4/migrate-icons/rename-icons.d.ts +2 -0
- package/schematics/ng-update/v4/migrate-icons/rename-icons.js +49 -0
- package/schematics/ng-update/v4/schema.json +7 -0
- package/schematics/ng-update/v4/steps/constants/attr-to-directive-replace.d.ts +2 -0
- package/schematics/ng-update/v4/steps/constants/attr-to-directive-replace.js +62 -0
- package/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.d.ts +2 -0
- package/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.js +13 -0
- package/schematics/ng-update/v4/steps/constants/attrs-to-replace.d.ts +2 -0
- package/schematics/ng-update/v4/steps/constants/attrs-to-replace.js +208 -0
- package/schematics/ng-update/v4/steps/constants/enums.d.ts +2 -0
- package/schematics/ng-update/v4/steps/constants/enums.js +236 -0
- package/schematics/ng-update/v4/steps/constants/html-comments.d.ts +2 -0
- package/schematics/ng-update/v4/steps/constants/html-comments.js +40 -0
- package/schematics/ng-update/v4/steps/constants/identifiers-to-replace.d.ts +2 -0
- package/schematics/ng-update/v4/steps/constants/identifiers-to-replace.js +2226 -0
- package/schematics/ng-update/v4/steps/constants/index.d.ts +9 -0
- package/schematics/ng-update/v4/steps/constants/index.js +12 -0
- package/schematics/ng-update/v4/steps/constants/inputs-to-remove.d.ts +2 -0
- package/schematics/ng-update/v4/steps/constants/inputs-to-remove.js +15 -0
- package/schematics/ng-update/v4/steps/constants/migration-warnings.d.ts +2 -0
- package/schematics/ng-update/v4/steps/constants/migration-warnings.js +145 -0
- package/schematics/ng-update/v4/steps/constants/modules-to-remove.d.ts +2 -0
- package/schematics/ng-update/v4/steps/constants/modules-to-remove.js +21 -0
- package/schematics/ng-update/v4/steps/constants/tags-to-replace.d.ts +2 -0
- package/schematics/ng-update/v4/steps/constants/tags-to-replace.js +53 -0
- package/schematics/ng-update/v4/steps/constants/types.d.ts +2 -0
- package/schematics/ng-update/v4/steps/constants/types.js +11 -0
- package/schematics/ng-update/v4/steps/index.d.ts +6 -0
- package/schematics/ng-update/v4/steps/index.js +9 -0
- package/schematics/ng-update/v4/steps/migrate-all-country-iso-codes.d.ts +2 -0
- package/schematics/ng-update/v4/steps/migrate-all-country-iso-codes.js +24 -0
- package/schematics/ng-update/v4/steps/migrate-destroy-service.d.ts +2 -0
- package/schematics/ng-update/v4/steps/migrate-destroy-service.js +125 -0
- package/schematics/ng-update/v4/steps/migrate-legacy-mask.d.ts +2 -0
- package/schematics/ng-update/v4/steps/migrate-legacy-mask.js +54 -0
- package/schematics/ng-update/v4/steps/migrate-option-providers.d.ts +2 -0
- package/schematics/ng-update/v4/steps/migrate-option-providers.js +42 -0
- package/schematics/ng-update/v4/steps/migrate-proprietary.d.ts +5 -0
- package/schematics/ng-update/v4/steps/migrate-proprietary.js +65 -0
- package/schematics/ng-update/v4/steps/migrate-styles.d.ts +3 -0
- package/schematics/ng-update/v4/steps/migrate-styles.js +20 -0
- package/schematics/ng-update/v4/steps/migrate-templates.d.ts +3 -0
- package/schematics/ng-update/v4/steps/migrate-templates.js +61 -0
- package/schematics/ng-update/v4/steps/restore-tui-mapper.d.ts +2 -0
- package/schematics/ng-update/v4/steps/restore-tui-mapper.js +40 -0
- package/schematics/ng-update/v4/steps/restore-tui-matcher.d.ts +2 -0
- package/schematics/ng-update/v4/steps/restore-tui-matcher.js +40 -0
- package/schematics/ng-update/v4/steps/templates/index.d.ts +11 -0
- package/schematics/ng-update/v4/steps/templates/index.js +14 -0
- package/schematics/ng-update/v4/steps/templates/migrate-avatar.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-avatar.js +67 -0
- package/schematics/ng-update/v4/steps/templates/migrate-badge.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-badge.js +68 -0
- package/schematics/ng-update/v4/steps/templates/migrate-badged-content.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-badged-content.js +117 -0
- package/schematics/ng-update/v4/steps/templates/migrate-expandable.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-expandable.js +30 -0
- package/schematics/ng-update/v4/steps/templates/migrate-focusable.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-focusable.js +50 -0
- package/schematics/ng-update/v4/steps/templates/migrate-labeled.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-labeled.js +45 -0
- package/schematics/ng-update/v4/steps/templates/migrate-money.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-money.js +53 -0
- package/schematics/ng-update/v4/steps/templates/migrate-overscroll.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-overscroll.js +29 -0
- package/schematics/ng-update/v4/steps/templates/migrate-prevent-default.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-prevent-default.js +27 -0
- package/schematics/ng-update/v4/steps/templates/migrate-progress-segmented.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-progress-segmented.js +25 -0
- package/schematics/ng-update/v4/steps/templates/migrate-thumbnail-card.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/migrate-thumbnail-card.js +46 -0
- package/schematics/ng-update/v4/steps/templates/toggles/common.d.ts +10 -0
- package/schematics/ng-update/v4/steps/templates/toggles/common.js +49 -0
- package/schematics/ng-update/v4/steps/templates/toggles/index.d.ts +3 -0
- package/schematics/ng-update/v4/steps/templates/toggles/index.js +6 -0
- package/schematics/ng-update/v4/steps/templates/toggles/migrate-checkbox.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/toggles/migrate-checkbox.js +25 -0
- package/schematics/ng-update/v4/steps/templates/toggles/migrate-radio.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/toggles/migrate-radio.js +25 -0
- package/schematics/ng-update/v4/steps/templates/toggles/migrate-toggle.d.ts +8 -0
- package/schematics/ng-update/v4/steps/templates/toggles/migrate-toggle.js +25 -0
- package/schematics/ng-update/v4/steps/utils/clean-object.d.ts +4 -0
- package/schematics/ng-update/v4/steps/utils/clean-object.js +12 -0
- package/schematics/ng-update/v4/steps/utils/remove-attrs.d.ts +3 -0
- package/schematics/ng-update/v4/steps/utils/remove-attrs.js +14 -0
- package/schematics/ng-update/v4/steps/utils/replace-substrings.d.ts +6 -0
- package/schematics/ng-update/v4/steps/utils/replace-substrings.js +19 -0
- package/schematics/ng-update/v4/tests/migrate-destroy-service/utils.d.ts +1 -0
- package/schematics/ng-update/v4/tests/migrate-destroy-service/utils.js +21 -0
- package/schematics/utils/add-import-to-closest-module.js +13 -6
- package/schematics/utils/add-unique-import.js +4 -4
- package/schematics/utils/angular-json-manipulations.d.ts +3 -3
- package/schematics/utils/angular-json-manipulations.js +15 -16
- package/schematics/utils/colored-log.js +11 -11
- package/schematics/utils/create-angular-json.js +5 -5
- package/schematics/utils/get-component-from-identifier.d.ts +1 -1
- package/schematics/utils/get-component-from-identifier.js +3 -6
- package/schematics/utils/get-named-import-references.d.ts +1 -1
- package/schematics/utils/get-named-import-references.js +9 -3
- package/schematics/utils/get-project-target-options.d.ts +1 -1
- package/schematics/utils/get-projects.d.ts +3 -3
- package/schematics/utils/get-projects.js +2 -4
- package/schematics/utils/get-standalone-bootstrap-function.d.ts +1 -1
- package/schematics/utils/get-standalone-bootstrap-function.js +2 -2
- package/schematics/utils/import-manipulations.d.ts +1 -1
- package/schematics/utils/insert-todo.d.ts +2 -2
- package/schematics/utils/insert-todo.js +4 -4
- package/schematics/utils/is-ci.js +1 -1
- package/schematics/utils/make-angular-json-with-assets.d.ts +1 -0
- package/schematics/utils/make-angular-json-with-assets.js +29 -0
- package/schematics/utils/progress.js +6 -6
- package/schematics/utils/project-root.js +1 -1
- package/schematics/utils/push-to-array-property.d.ts +1 -1
- package/schematics/utils/push-to-array-property.js +1 -2
- package/schematics/utils/templates/elements.d.ts +8 -3
- package/schematics/utils/templates/elements.js +22 -7
- package/schematics/utils/templates/get-component-templates.d.ts +2 -2
- package/schematics/utils/templates/get-component-templates.js +13 -13
- package/schematics/utils/templates/inputs.d.ts +3 -0
- package/schematics/utils/templates/inputs.js +11 -0
- package/schematics/utils/templates/ng-component-input-manipulations.d.ts +3 -3
- package/schematics/utils/templates/ng-component-input-manipulations.js +19 -20
- package/schematics/utils/templates/template-resource.d.ts +2 -2
- package/schematics/utils/templates/template-resource.js +5 -4
- package/services/index.d.ts +1 -9
- package/services/popover.service.d.ts +27 -0
- package/services/scroll.service.d.ts +1 -2
- package/services/static-request.service.d.ts +1 -4
- package/tokens/active-element.d.ts +1 -1
- package/tokens/environment.d.ts +18 -0
- package/tokens/fallback-value.d.ts +4 -0
- package/tokens/index.d.ts +2 -24
- package/tokens/window-size.d.ts +2 -2
- package/types/context.d.ts +3 -0
- package/types/handler.d.ts +4 -4
- package/types/index.d.ts +2 -11
- package/types/mapper.d.ts +1 -7
- package/types/matcher.d.ts +5 -11
- package/types/rounding.d.ts +1 -1
- package/types/safe-html.d.ts +2 -0
- package/types/values-of.d.ts +1 -1
- package/utils/browser/index.d.ts +2 -1
- package/utils/browser/is-apple.d.ts +11 -0
- package/utils/dom/element-checks.d.ts +1 -1
- package/utils/dom/event-checks.d.ts +1 -0
- package/utils/dom/get-element-obscurers.d.ts +1 -2
- package/utils/dom/index.d.ts +2 -2
- package/utils/dom/inject-element.d.ts +1 -0
- package/utils/focus/index.d.ts +0 -1
- package/utils/focus/is-native-focused-in.d.ts +1 -1
- package/utils/focus/is-native-focused.d.ts +1 -1
- package/utils/index.d.ts +0 -3
- package/utils/math/round-with.d.ts +1 -1
- package/utils/miscellaneous/change-date-separator.d.ts +1 -0
- package/utils/miscellaneous/directive-binding.d.ts +5 -0
- package/utils/miscellaneous/directive-listener.d.ts +8 -0
- package/utils/miscellaneous/get-original-array-from-query-list.d.ts +1 -1
- package/utils/miscellaneous/index.d.ts +7 -4
- package/utils/miscellaneous/is-string.js +1 -2
- package/utils/miscellaneous/mark-control-as-touched-and-validate.d.ts +1 -1
- package/utils/miscellaneous/nullable-same.d.ts +1 -1
- package/utils/miscellaneous/provide-options.d.ts +1 -1
- package/utils/miscellaneous/provide.d.ts +3 -0
- package/utils/miscellaneous/pure.d.ts +21 -0
- package/utils/miscellaneous/with-styles.d.ts +2 -0
- package/abstract/control.d.ts +0 -59
- package/abstract/controller.d.ts +0 -9
- package/abstract/dialog.directive.d.ts +0 -16
- package/abstract/dialog.service.d.ts +0 -16
- package/abstract/index.d.ts +0 -11
- package/abstract/interactive.d.ts +0 -35
- package/abstract/multiple-control.d.ts +0 -8
- package/abstract/nullable-control.d.ts +0 -7
- package/abstract/package.json +0 -10
- package/abstract/portal-host.d.ts +0 -18
- package/abstract/portal-service.d.ts +0 -18
- package/abstract/taiga-ui-cdk-abstract.d.ts +0 -5
- package/abstract/theme-switcher.d.ts +0 -19
- package/abstract/value-transformer.d.ts +0 -4
- package/bundles/taiga-ui-cdk-abstract.umd.js +0 -991
- package/bundles/taiga-ui-cdk-abstract.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-classes.umd.js +0 -40
- package/bundles/taiga-ui-cdk-classes.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-coercion.umd.js +0 -26
- package/bundles/taiga-ui-cdk-coercion.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-components-alert-host.umd.js +0 -122
- package/bundles/taiga-ui-cdk-components-alert-host.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.js +0 -522
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js +0 -420
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-components-scroll-controls.umd.js +0 -609
- package/bundles/taiga-ui-cdk-components-scroll-controls.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-components.umd.js +0 -39
- package/bundles/taiga-ui-cdk-components.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-constants.umd.js +0 -278
- package/bundles/taiga-ui-cdk-constants.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-date-time.umd.js +0 -1244
- package/bundles/taiga-ui-cdk-date-time.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-decorators.umd.js +0 -545
- package/bundles/taiga-ui-cdk-decorators.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.js +0 -451
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js +0 -740
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-autofilled.umd.js +0 -115
- package/bundles/taiga-ui-cdk-directives-autofilled.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-checked.umd.js +0 -111
- package/bundles/taiga-ui-cdk-directives-checked.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-click-outside.umd.js +0 -89
- package/bundles/taiga-ui-cdk-directives-click-outside.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-control.umd.js +0 -82
- package/bundles/taiga-ui-cdk-directives-control.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js +0 -86
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-drag.umd.js +0 -110
- package/bundles/taiga-ui-cdk-directives-drag.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-droppable.umd.js +0 -93
- package/bundles/taiga-ui-cdk-directives-droppable.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-element.umd.js +0 -89
- package/bundles/taiga-ui-cdk-directives-element.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js +0 -133
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js +0 -81
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-focusable.umd.js +0 -87
- package/bundles/taiga-ui-cdk-directives-focusable.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-focused.umd.js +0 -84
- package/bundles/taiga-ui-cdk-directives-focused.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-for-async.umd.js +0 -438
- package/bundles/taiga-ui-cdk-directives-for-async.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-for.umd.js +0 -90
- package/bundles/taiga-ui-cdk-directives-for.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js +0 -85
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-hovered.umd.js +0 -428
- package/bundles/taiga-ui-cdk-directives-hovered.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-item.umd.js +0 -70
- package/bundles/taiga-ui-cdk-directives-item.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-let.umd.js +0 -116
- package/bundles/taiga-ui-cdk-directives-let.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-media.umd.js +0 -176
- package/bundles/taiga-ui-cdk-directives-media.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-obscured.umd.js +0 -102
- package/bundles/taiga-ui-cdk-directives-obscured.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.js +0 -164
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-pan.umd.js +0 -79
- package/bundles/taiga-ui-cdk-directives-pan.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-platform.umd.js +0 -89
- package/bundles/taiga-ui-cdk-directives-platform.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-portal.umd.js +0 -95
- package/bundles/taiga-ui-cdk-directives-portal.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-pressed.umd.js +0 -82
- package/bundles/taiga-ui-cdk-directives-pressed.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js +0 -102
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js +0 -118
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-resize.umd.js +0 -79
- package/bundles/taiga-ui-cdk-directives-resize.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-resizer.umd.js +0 -500
- package/bundles/taiga-ui-cdk-directives-resizer.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-swipe.umd.js +0 -79
- package/bundles/taiga-ui-cdk-directives-swipe.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-validator.umd.js +0 -97
- package/bundles/taiga-ui-cdk-directives-validator.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-value-changes.umd.js +0 -90
- package/bundles/taiga-ui-cdk-directives-value-changes.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-zoom.umd.js +0 -82
- package/bundles/taiga-ui-cdk-directives-zoom.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives.umd.js +0 -225
- package/bundles/taiga-ui-cdk-directives.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-enums.umd.js +0 -45
- package/bundles/taiga-ui-cdk-enums.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-exceptions.umd.js +0 -450
- package/bundles/taiga-ui-cdk-exceptions.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-interfaces.umd.js +0 -11
- package/bundles/taiga-ui-cdk-interfaces.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-observables.umd.js +0 -201
- package/bundles/taiga-ui-cdk-observables.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-pipes-filter.umd.js +0 -390
- package/bundles/taiga-ui-cdk-pipes-filter.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-pipes-is-present.umd.js +0 -68
- package/bundles/taiga-ui-cdk-pipes-is-present.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-pipes-keys.umd.js +0 -68
- package/bundles/taiga-ui-cdk-pipes-keys.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-pipes-mapper.umd.js +0 -390
- package/bundles/taiga-ui-cdk-pipes-mapper.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-pipes-replace.umd.js +0 -71
- package/bundles/taiga-ui-cdk-pipes-replace.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-pipes.umd.js +0 -45
- package/bundles/taiga-ui-cdk-pipes.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-services.umd.js +0 -865
- package/bundles/taiga-ui-cdk-services.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-tokens.umd.js +0 -656
- package/bundles/taiga-ui-cdk-tokens.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-types.umd.js +0 -11
- package/bundles/taiga-ui-cdk-types.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-browser.umd.js +0 -45
- package/bundles/taiga-ui-cdk-utils-browser.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-color.umd.js +0 -462
- package/bundles/taiga-ui-cdk-utils-color.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-dom.umd.js +0 -286
- package/bundles/taiga-ui-cdk-utils-dom.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-focus.umd.js +0 -186
- package/bundles/taiga-ui-cdk-utils-focus.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-format.umd.js +0 -24
- package/bundles/taiga-ui-cdk-utils-format.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-math.umd.js +0 -164
- package/bundles/taiga-ui-cdk-utils-math.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js +0 -539
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-os.umd.js +0 -43
- package/bundles/taiga-ui-cdk-utils-os.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-svg.umd.js +0 -73
- package/bundles/taiga-ui-cdk-utils-svg.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils.umd.js +0 -69
- package/bundles/taiga-ui-cdk-utils.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk.umd.js +0 -117
- package/bundles/taiga-ui-cdk.umd.js.map +0 -1
- package/classes/assert.d.ts +0 -9
- package/classes/package.json +0 -10
- package/classes/taiga-ui-cdk-classes.d.ts +0 -5
- package/coercion/coerce-boolean-property.d.ts +0 -5
- package/coercion/index.d.ts +0 -1
- package/coercion/package.json +0 -10
- package/coercion/taiga-ui-cdk-coercion.d.ts +0 -5
- package/components/alert-host/alert-host.component.d.ts +0 -17
- package/components/alert-host/alert-host.module.d.ts +0 -9
- package/components/alert-host/index.d.ts +0 -2
- package/components/alert-host/package.json +0 -10
- package/components/alert-host/taiga-ui-cdk-components-alert-host.d.ts +0 -5
- package/components/dialog-host/dialog-host.component.d.ts +0 -26
- package/components/dialog-host/dialog-host.module.d.ts +0 -11
- package/components/dialog-host/index.d.ts +0 -2
- package/components/dialog-host/package.json +0 -10
- package/components/dialog-host/taiga-ui-cdk-components-dialog-host.d.ts +0 -5
- package/components/dropdown-host/dropdown-host.component.d.ts +0 -9
- package/components/dropdown-host/dropdown-host.module.d.ts +0 -7
- package/components/dropdown-host/dropdown-portal.service.d.ts +0 -9
- package/components/dropdown-host/index.d.ts +0 -3
- package/components/dropdown-host/package.json +0 -10
- package/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.d.ts +0 -5
- package/components/index.d.ts +0 -4
- package/components/package.json +0 -10
- package/components/scroll-controls/index.d.ts +0 -4
- package/components/scroll-controls/package.json +0 -10
- package/components/scroll-controls/scroll-controls.component.d.ts +0 -13
- package/components/scroll-controls/scroll-controls.module.d.ts +0 -10
- package/components/scroll-controls/scroll-ref.directive.d.ts +0 -6
- package/components/scroll-controls/scrollbar.directive.d.ts +0 -19
- package/components/scroll-controls/taiga-ui-cdk-components-scroll-controls.d.ts +0 -5
- package/components/taiga-ui-cdk-components.d.ts +0 -5
- package/constants/always-false-handler.d.ts +0 -4
- package/constants/always-true-handler.d.ts +0 -4
- package/constants/browser.d.ts +0 -5
- package/constants/matcher.d.ts +0 -23
- package/constants/package.json +0 -10
- package/constants/parent-animation.d.ts +0 -8
- package/constants/polling-time.d.ts +0 -1
- package/constants/stringify.d.ts +0 -5
- package/constants/taiga-ui-cdk-constants.d.ts +0 -5
- package/date-time/date-format.d.ts +0 -5
- package/date-time/date-separator.d.ts +0 -5
- package/date-time/package.json +0 -10
- package/date-time/taiga-ui-cdk-date-time.d.ts +0 -5
- package/decorators/debounce.d.ts +0 -5
- package/decorators/default-prop.d.ts +0 -11
- package/decorators/index.d.ts +0 -4
- package/decorators/package.json +0 -10
- package/decorators/pure.d.ts +0 -29
- package/decorators/required-setter.d.ts +0 -11
- package/decorators/taiga-ui-cdk-decorators.d.ts +0 -5
- package/directives/active-zone/active-zone.module.d.ts +0 -7
- package/directives/active-zone/package.json +0 -10
- package/directives/active-zone/taiga-ui-cdk-directives-active-zone.d.ts +0 -5
- package/directives/auto-focus/autofocus.module.d.ts +0 -7
- package/directives/auto-focus/package.json +0 -10
- package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.d.ts +0 -5
- package/directives/autofilled/autofilled-style.component.d.ts +0 -5
- package/directives/autofilled/autofilled.directive.d.ts +0 -11
- package/directives/autofilled/autofilled.module.d.ts +0 -8
- package/directives/autofilled/index.d.ts +0 -3
- package/directives/autofilled/package.json +0 -10
- package/directives/autofilled/taiga-ui-cdk-directives-autofilled.d.ts +0 -5
- package/directives/checked/checked.directive.d.ts +0 -13
- package/directives/checked/checked.module.d.ts +0 -7
- package/directives/checked/index.d.ts +0 -2
- package/directives/checked/package.json +0 -10
- package/directives/checked/taiga-ui-cdk-directives-checked.d.ts +0 -5
- package/directives/click-outside/click-outside.module.d.ts +0 -7
- package/directives/click-outside/package.json +0 -10
- package/directives/click-outside/taiga-ui-cdk-directives-click-outside.d.ts +0 -5
- package/directives/control/control.module.d.ts +0 -7
- package/directives/control/package.json +0 -10
- package/directives/control/taiga-ui-cdk-directives-control.d.ts +0 -5
- package/directives/copy-processor/copy-processor.module.d.ts +0 -7
- package/directives/copy-processor/package.json +0 -10
- package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.d.ts +0 -5
- package/directives/drag/drag.directive.d.ts +0 -16
- package/directives/drag/drag.module.d.ts +0 -10
- package/directives/drag/index.d.ts +0 -2
- package/directives/drag/package.json +0 -10
- package/directives/drag/taiga-ui-cdk-directives-drag.d.ts +0 -5
- package/directives/droppable/droppable.module.d.ts +0 -7
- package/directives/droppable/package.json +0 -10
- package/directives/droppable/taiga-ui-cdk-directives-droppable.d.ts +0 -5
- package/directives/element/element.module.d.ts +0 -7
- package/directives/element/package.json +0 -10
- package/directives/element/taiga-ui-cdk-directives-element.d.ts +0 -5
- package/directives/focus-trap/focus-trap.module.d.ts +0 -7
- package/directives/focus-trap/package.json +0 -10
- package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.d.ts +0 -5
- package/directives/focus-visible/focus-visible.directive.d.ts +0 -13
- package/directives/focus-visible/focus-visible.module.d.ts +0 -7
- package/directives/focus-visible/index.d.ts +0 -2
- package/directives/focus-visible/package.json +0 -10
- package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.d.ts +0 -5
- package/directives/focusable/focusable.directive.d.ts +0 -13
- package/directives/focusable/focusable.module.d.ts +0 -7
- package/directives/focusable/index.d.ts +0 -2
- package/directives/focusable/package.json +0 -10
- package/directives/focusable/taiga-ui-cdk-directives-focusable.d.ts +0 -5
- package/directives/focused/focused.directive.d.ts +0 -14
- package/directives/focused/focused.module.d.ts +0 -7
- package/directives/focused/index.d.ts +0 -2
- package/directives/focused/package.json +0 -10
- package/directives/focused/taiga-ui-cdk-directives-focused.d.ts +0 -5
- package/directives/for/for.module.d.ts +0 -7
- package/directives/for/package.json +0 -10
- package/directives/for/taiga-ui-cdk-directives-for.d.ts +0 -5
- package/directives/for-async/for-async.directive.d.ts +0 -18
- package/directives/for-async/for-async.module.d.ts +0 -10
- package/directives/for-async/index.d.ts +0 -2
- package/directives/for-async/package.json +0 -10
- package/directives/for-async/taiga-ui-cdk-directives-for-async.d.ts +0 -5
- package/directives/high-dpi/high-dpi.module.d.ts +0 -7
- package/directives/high-dpi/package.json +0 -10
- package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.d.ts +0 -5
- package/directives/hovered/hovered.module.d.ts +0 -7
- package/directives/hovered/package.json +0 -10
- package/directives/hovered/taiga-ui-cdk-directives-hovered.d.ts +0 -5
- package/directives/item/item.module.d.ts +0 -7
- package/directives/item/package.json +0 -10
- package/directives/item/taiga-ui-cdk-directives-item.d.ts +0 -5
- package/directives/let/let.module.d.ts +0 -7
- package/directives/let/package.json +0 -10
- package/directives/let/taiga-ui-cdk-directives-let.d.ts +0 -5
- package/directives/media/media.module.d.ts +0 -7
- package/directives/media/package.json +0 -10
- package/directives/media/taiga-ui-cdk-directives-media.d.ts +0 -5
- package/directives/obscured/obscured.module.d.ts +0 -7
- package/directives/obscured/package.json +0 -10
- package/directives/obscured/taiga-ui-cdk-directives-obscured.d.ts +0 -5
- package/directives/overscroll/index.d.ts +0 -2
- package/directives/overscroll/overscroll.directive.d.ts +0 -16
- package/directives/overscroll/overscroll.module.d.ts +0 -7
- package/directives/overscroll/package.json +0 -10
- package/directives/overscroll/taiga-ui-cdk-directives-overscroll.d.ts +0 -5
- package/directives/package.json +0 -10
- package/directives/pan/package.json +0 -10
- package/directives/pan/pan.module.d.ts +0 -10
- package/directives/pan/taiga-ui-cdk-directives-pan.d.ts +0 -5
- package/directives/platform/package.json +0 -10
- package/directives/platform/platform.module.d.ts +0 -7
- package/directives/platform/taiga-ui-cdk-directives-platform.d.ts +0 -5
- package/directives/portal/index.d.ts +0 -2
- package/directives/portal/package.json +0 -10
- package/directives/portal/portal.directive.d.ts +0 -13
- package/directives/portal/portal.module.d.ts +0 -7
- package/directives/portal/taiga-ui-cdk-directives-portal.d.ts +0 -5
- package/directives/pressed/index.d.ts +0 -2
- package/directives/pressed/package.json +0 -10
- package/directives/pressed/pressed.directive.d.ts +0 -10
- package/directives/pressed/pressed.module.d.ts +0 -7
- package/directives/pressed/taiga-ui-cdk-directives-pressed.d.ts +0 -5
- package/directives/prevent-default/index.d.ts +0 -2
- package/directives/prevent-default/package.json +0 -10
- package/directives/prevent-default/prevent-default.directive.d.ts +0 -18
- package/directives/prevent-default/prevent-default.module.d.ts +0 -10
- package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.d.ts +0 -5
- package/directives/repeat-times/package.json +0 -10
- package/directives/repeat-times/repeat-times.module.d.ts +0 -7
- package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.d.ts +0 -5
- package/directives/resize/index.d.ts +0 -2
- package/directives/resize/package.json +0 -10
- package/directives/resize/resize.directive.d.ts +0 -8
- package/directives/resize/resize.module.d.ts +0 -10
- package/directives/resize/taiga-ui-cdk-directives-resize.d.ts +0 -5
- package/directives/resizer/package.json +0 -10
- package/directives/resizer/resizeable.directive.d.ts +0 -6
- package/directives/resizer/resizer.module.d.ts +0 -8
- package/directives/resizer/taiga-ui-cdk-directives-resizer.d.ts +0 -5
- package/directives/swipe/package.json +0 -10
- package/directives/swipe/swipe.module.d.ts +0 -10
- package/directives/swipe/taiga-ui-cdk-directives-swipe.d.ts +0 -5
- package/directives/taiga-ui-cdk-directives.d.ts +0 -5
- package/directives/validator/package.json +0 -10
- package/directives/validator/taiga-ui-cdk-directives-validator.d.ts +0 -5
- package/directives/validator/validator.module.d.ts +0 -7
- package/directives/value-changes/package.json +0 -10
- package/directives/value-changes/taiga-ui-cdk-directives-value-changes.d.ts +0 -5
- package/directives/value-changes/value-changes.module.d.ts +0 -7
- package/directives/zoom/package.json +0 -10
- package/directives/zoom/taiga-ui-cdk-directives-zoom.d.ts +0 -5
- package/directives/zoom/zoom.module.d.ts +0 -10
- package/enums/day-of-week.d.ts +0 -9
- package/enums/index.d.ts +0 -2
- package/enums/month-number.d.ts +0 -14
- package/enums/package.json +0 -10
- package/enums/taiga-ui-cdk-enums.d.ts +0 -5
- package/esm2015/abstract/control.js +0 -194
- package/esm2015/abstract/controller.js +0 -17
- package/esm2015/abstract/dialog.directive.js +0 -36
- package/esm2015/abstract/dialog.service.js +0 -35
- package/esm2015/abstract/index.js +0 -12
- package/esm2015/abstract/interactive.js +0 -86
- package/esm2015/abstract/multiple-control.js +0 -17
- package/esm2015/abstract/nullable-control.js +0 -14
- package/esm2015/abstract/portal-host.js +0 -48
- package/esm2015/abstract/portal-service.js +0 -35
- package/esm2015/abstract/taiga-ui-cdk-abstract.js +0 -5
- package/esm2015/abstract/theme-switcher.js +0 -46
- package/esm2015/abstract/value-transformer.js +0 -3
- package/esm2015/classes/assert.js +0 -15
- package/esm2015/classes/index.js +0 -3
- package/esm2015/classes/validation-error.js +0 -7
- package/esm2015/coercion/coerce-boolean-property.js +0 -10
- package/esm2015/coercion/index.js +0 -2
- package/esm2015/coercion/taiga-ui-cdk-coercion.js +0 -5
- package/esm2015/components/alert-host/alert-host.component.js +0 -71
- package/esm2015/components/alert-host/alert-host.module.js +0 -19
- package/esm2015/components/alert-host/index.js +0 -3
- package/esm2015/components/alert-host/taiga-ui-cdk-components-alert-host.js +0 -5
- package/esm2015/components/dialog-host/dialog-host.component.js +0 -137
- package/esm2015/components/dialog-host/dialog-host.module.js +0 -40
- package/esm2015/components/dialog-host/index.js +0 -3
- package/esm2015/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +0 -5
- package/esm2015/components/dropdown-host/dropdown-host.component.js +0 -28
- package/esm2015/components/dropdown-host/dropdown-host.module.js +0 -16
- package/esm2015/components/dropdown-host/dropdown-portal.service.js +0 -17
- package/esm2015/components/dropdown-host/index.js +0 -4
- package/esm2015/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +0 -5
- package/esm2015/components/index.js +0 -5
- package/esm2015/components/scroll-controls/index.js +0 -5
- package/esm2015/components/scroll-controls/scroll-controls.component.js +0 -45
- package/esm2015/components/scroll-controls/scroll-controls.module.js +0 -26
- package/esm2015/components/scroll-controls/scroll-ref.directive.js +0 -26
- package/esm2015/components/scroll-controls/scrollbar.directive.js +0 -133
- package/esm2015/components/scroll-controls/taiga-ui-cdk-components-scroll-controls.js +0 -5
- package/esm2015/components/taiga-ui-cdk-components.js +0 -5
- package/esm2015/constants/always-false-handler.js +0 -6
- package/esm2015/constants/always-true-handler.js +0 -6
- package/esm2015/constants/browser.js +0 -6
- package/esm2015/constants/empty.js +0 -23
- package/esm2015/constants/index.js +0 -13
- package/esm2015/constants/matcher.js +0 -27
- package/esm2015/constants/parent-animation.js +0 -12
- package/esm2015/constants/polling-time.js +0 -2
- package/esm2015/constants/stringify.js +0 -5
- package/esm2015/constants/svg-node-filter.js +0 -6
- package/esm2015/constants/unicode-chars.js +0 -64
- package/esm2015/constants/used-icons.js +0 -72
- package/esm2015/constants/version.js +0 -2
- package/esm2015/date-time/date-format.js +0 -6
- package/esm2015/date-time/date-separator.js +0 -7
- package/esm2015/date-time/day-range.js +0 -78
- package/esm2015/date-time/day.js +0 -288
- package/esm2015/date-time/index.js +0 -13
- package/esm2015/date-time/month-range.js +0 -27
- package/esm2015/date-time/month.js +0 -149
- package/esm2015/date-time/time.js +0 -127
- package/esm2015/date-time/year.js +0 -111
- package/esm2015/decorators/debounce.js +0 -16
- package/esm2015/decorators/default-prop.js +0 -59
- package/esm2015/decorators/index.js +0 -5
- package/esm2015/decorators/pure.js +0 -77
- package/esm2015/decorators/required-setter.js +0 -35
- package/esm2015/decorators/taiga-ui-cdk-decorators.js +0 -5
- package/esm2015/directives/active-zone/active-zone.directive.js +0 -80
- package/esm2015/directives/active-zone/active-zone.module.js +0 -16
- package/esm2015/directives/active-zone/index.js +0 -3
- package/esm2015/directives/auto-focus/autofocus.directive.js +0 -55
- package/esm2015/directives/auto-focus/autofocus.module.js +0 -16
- package/esm2015/directives/auto-focus/autofocus.options.js +0 -35
- package/esm2015/directives/auto-focus/handlers/abstract.handler.js +0 -21
- package/esm2015/directives/auto-focus/handlers/default.handler.js +0 -44
- package/esm2015/directives/auto-focus/handlers/ios.handler.js +0 -170
- package/esm2015/directives/auto-focus/handlers/sync.handler.js +0 -28
- package/esm2015/directives/auto-focus/index.js +0 -8
- package/esm2015/directives/autofilled/autofilled-style.component.js +0 -19
- package/esm2015/directives/autofilled/autofilled.directive.js +0 -41
- package/esm2015/directives/autofilled/autofilled.module.js +0 -17
- package/esm2015/directives/autofilled/index.js +0 -4
- package/esm2015/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +0 -5
- package/esm2015/directives/checked/checked.directive.js +0 -46
- package/esm2015/directives/checked/checked.module.js +0 -16
- package/esm2015/directives/checked/index.js +0 -3
- package/esm2015/directives/checked/taiga-ui-cdk-directives-checked.js +0 -5
- package/esm2015/directives/click-outside/click-outside.directive.js +0 -39
- package/esm2015/directives/click-outside/click-outside.module.js +0 -16
- package/esm2015/directives/click-outside/index.js +0 -3
- package/esm2015/directives/control/control.directive.js +0 -25
- package/esm2015/directives/control/control.module.js +0 -16
- package/esm2015/directives/control/index.js +0 -3
- package/esm2015/directives/copy-processor/copy-processor.directive.js +0 -35
- package/esm2015/directives/copy-processor/copy-processor.module.js +0 -16
- package/esm2015/directives/copy-processor/index.js +0 -3
- package/esm2015/directives/drag/drag.directive.js +0 -37
- package/esm2015/directives/drag/drag.module.js +0 -19
- package/esm2015/directives/drag/index.js +0 -3
- package/esm2015/directives/drag/taiga-ui-cdk-directives-drag.js +0 -5
- package/esm2015/directives/droppable/droppable.directive.js +0 -40
- package/esm2015/directives/droppable/droppable.module.js +0 -16
- package/esm2015/directives/droppable/index.js +0 -3
- package/esm2015/directives/element/element.directive.js +0 -34
- package/esm2015/directives/element/element.module.js +0 -16
- package/esm2015/directives/element/index.js +0 -3
- package/esm2015/directives/focus-trap/focus-trap.directive.js +0 -80
- package/esm2015/directives/focus-trap/focus-trap.module.js +0 -16
- package/esm2015/directives/focus-trap/index.js +0 -3
- package/esm2015/directives/focus-visible/focus-visible.directive.js +0 -28
- package/esm2015/directives/focus-visible/focus-visible.module.js +0 -16
- package/esm2015/directives/focus-visible/index.js +0 -3
- package/esm2015/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +0 -5
- package/esm2015/directives/focusable/focusable.directive.js +0 -31
- package/esm2015/directives/focusable/focusable.module.js +0 -16
- package/esm2015/directives/focusable/index.js +0 -3
- package/esm2015/directives/focusable/taiga-ui-cdk-directives-focusable.js +0 -5
- package/esm2015/directives/focused/focused.directive.js +0 -33
- package/esm2015/directives/focused/focused.module.js +0 -16
- package/esm2015/directives/focused/index.js +0 -3
- package/esm2015/directives/focused/taiga-ui-cdk-directives-focused.js +0 -5
- package/esm2015/directives/for/for.directive.js +0 -36
- package/esm2015/directives/for/for.module.js +0 -16
- package/esm2015/directives/for/index.js +0 -3
- package/esm2015/directives/for-async/for-async.directive.js +0 -57
- package/esm2015/directives/for-async/for-async.module.js +0 -19
- package/esm2015/directives/for-async/index.js +0 -3
- package/esm2015/directives/for-async/taiga-ui-cdk-directives-for-async.js +0 -5
- package/esm2015/directives/high-dpi/high-dpi.directive.js +0 -31
- package/esm2015/directives/high-dpi/high-dpi.module.js +0 -16
- package/esm2015/directives/high-dpi/index.js +0 -3
- package/esm2015/directives/hovered/hovered.directive.js +0 -23
- package/esm2015/directives/hovered/hovered.module.js +0 -16
- package/esm2015/directives/hovered/hovered.service.js +0 -34
- package/esm2015/directives/hovered/index.js +0 -4
- package/esm2015/directives/index.js +0 -36
- package/esm2015/directives/item/index.js +0 -3
- package/esm2015/directives/item/item.directive.js +0 -16
- package/esm2015/directives/item/item.module.js +0 -16
- package/esm2015/directives/let/index.js +0 -4
- package/esm2015/directives/let/let-context.js +0 -15
- package/esm2015/directives/let/let.directive.js +0 -38
- package/esm2015/directives/let/let.module.js +0 -16
- package/esm2015/directives/media/index.js +0 -3
- package/esm2015/directives/media/media.directive.js +0 -110
- package/esm2015/directives/media/media.module.js +0 -16
- package/esm2015/directives/obscured/index.js +0 -3
- package/esm2015/directives/obscured/obscured.directive.js +0 -49
- package/esm2015/directives/obscured/obscured.module.js +0 -16
- package/esm2015/directives/overscroll/index.js +0 -3
- package/esm2015/directives/overscroll/overscroll.directive.js +0 -103
- package/esm2015/directives/overscroll/overscroll.module.js +0 -16
- package/esm2015/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +0 -5
- package/esm2015/directives/pan/index.js +0 -3
- package/esm2015/directives/pan/pan.directive.js +0 -23
- package/esm2015/directives/pan/pan.module.js +0 -19
- package/esm2015/directives/platform/index.js +0 -3
- package/esm2015/directives/platform/platform.directive.js +0 -32
- package/esm2015/directives/platform/platform.module.js +0 -16
- package/esm2015/directives/portal/index.js +0 -3
- package/esm2015/directives/portal/portal.directive.js +0 -38
- package/esm2015/directives/portal/portal.module.js +0 -16
- package/esm2015/directives/portal/taiga-ui-cdk-directives-portal.js +0 -5
- package/esm2015/directives/pressed/index.js +0 -3
- package/esm2015/directives/pressed/pressed.directive.js +0 -30
- package/esm2015/directives/pressed/pressed.module.js +0 -16
- package/esm2015/directives/pressed/taiga-ui-cdk-directives-pressed.js +0 -5
- package/esm2015/directives/prevent-default/index.js +0 -3
- package/esm2015/directives/prevent-default/prevent-default.directive.js +0 -49
- package/esm2015/directives/prevent-default/prevent-default.module.js +0 -19
- package/esm2015/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +0 -5
- package/esm2015/directives/repeat-times/index.js +0 -3
- package/esm2015/directives/repeat-times/repeat-times.directive.js +0 -59
- package/esm2015/directives/repeat-times/repeat-times.module.js +0 -16
- package/esm2015/directives/resize/index.js +0 -3
- package/esm2015/directives/resize/resize.directive.js +0 -23
- package/esm2015/directives/resize/resize.module.js +0 -19
- package/esm2015/directives/resize/taiga-ui-cdk-directives-resize.js +0 -5
- package/esm2015/directives/resizer/index.js +0 -4
- package/esm2015/directives/resizer/resizeable.directive.js +0 -14
- package/esm2015/directives/resizer/resizer.directive.js +0 -106
- package/esm2015/directives/resizer/resizer.module.js +0 -17
- package/esm2015/directives/swipe/index.js +0 -3
- package/esm2015/directives/swipe/swipe.directive.js +0 -23
- package/esm2015/directives/swipe/swipe.module.js +0 -19
- package/esm2015/directives/validator/index.js +0 -3
- package/esm2015/directives/validator/validator.directive.js +0 -47
- package/esm2015/directives/validator/validator.module.js +0 -16
- package/esm2015/directives/value-changes/index.js +0 -3
- package/esm2015/directives/value-changes/value-changes.directive.js +0 -39
- package/esm2015/directives/value-changes/value-changes.module.js +0 -16
- package/esm2015/directives/zoom/index.js +0 -3
- package/esm2015/directives/zoom/zoom.directive.js +0 -26
- package/esm2015/directives/zoom/zoom.module.js +0 -19
- package/esm2015/enums/day-of-week.js +0 -13
- package/esm2015/enums/index.js +0 -3
- package/esm2015/enums/month-number.js +0 -18
- package/esm2015/enums/taiga-ui-cdk-enums.js +0 -5
- package/esm2015/exceptions/computed-document.exception.js +0 -6
- package/esm2015/exceptions/document-selection.exception.js +0 -6
- package/esm2015/exceptions/index.js +0 -14
- package/esm2015/exceptions/invalid-day.exception.js +0 -6
- package/esm2015/exceptions/invalid-month.exception.js +0 -6
- package/esm2015/exceptions/invalid-year.exception.js +0 -6
- package/esm2015/exceptions/no-host.exception.js +0 -6
- package/esm2015/exceptions/owner-document.exception.js +0 -6
- package/esm2015/exceptions/pure.exception.js +0 -6
- package/esm2015/exceptions/table-sort-key.exception.js +0 -6
- package/esm2015/exceptions/taiga-ui-cdk-exceptions.js +0 -5
- package/esm2015/exceptions/ts-parser.exception.js +0 -6
- package/esm2015/exceptions/value-changes.exception.js +0 -6
- package/esm2015/exceptions/value-present.exception.js +0 -6
- package/esm2015/exceptions/xml-parsing.exception.js +0 -6
- package/esm2015/index.js +0 -18
- package/esm2015/interfaces/alert-context.js +0 -2
- package/esm2015/interfaces/aria-dialog-context.js +0 -2
- package/esm2015/interfaces/base-dialog-context.js +0 -2
- package/esm2015/interfaces/base-dialog.js +0 -2
- package/esm2015/interfaces/context-with-implicit.js +0 -2
- package/esm2015/interfaces/control-value-transformer.js +0 -2
- package/esm2015/interfaces/day-like.js +0 -2
- package/esm2015/interfaces/focusable-element-accessor.js +0 -2
- package/esm2015/interfaces/index.js +0 -15
- package/esm2015/interfaces/month-like.js +0 -2
- package/esm2015/interfaces/safe-html.js +0 -2
- package/esm2015/interfaces/swipe.js +0 -2
- package/esm2015/interfaces/taiga-ui-cdk-interfaces.js +0 -5
- package/esm2015/interfaces/time-like.js +0 -2
- package/esm2015/interfaces/year-like.js +0 -2
- package/esm2015/interfaces/zoom.js +0 -2
- package/esm2015/observables/control-value.js +0 -15
- package/esm2015/observables/drag-and-drop-from.js +0 -28
- package/esm2015/observables/focus-visible-observable.js +0 -31
- package/esm2015/observables/if-map.js +0 -6
- package/esm2015/observables/index.js +0 -17
- package/esm2015/observables/is-alive.js +0 -10
- package/esm2015/observables/is-observed.js +0 -7
- package/esm2015/observables/items-query-list-observable.js +0 -13
- package/esm2015/observables/mouse-drag-finish-from.js +0 -10
- package/esm2015/observables/must-be-present.js +0 -12
- package/esm2015/observables/pressed-observable.js +0 -13
- package/esm2015/observables/prevent-default.js +0 -5
- package/esm2015/observables/scroll-from.js +0 -10
- package/esm2015/observables/stop-propagation.js +0 -7
- package/esm2015/observables/typed-from-event.js +0 -9
- package/esm2015/observables/watch.js +0 -7
- package/esm2015/observables/zone-free.js +0 -15
- package/esm2015/pipes/filter/filter.module.js +0 -16
- package/esm2015/pipes/filter/filter.pipe.js +0 -14
- package/esm2015/pipes/filter/index.js +0 -3
- package/esm2015/pipes/index.js +0 -6
- package/esm2015/pipes/is-present/index.js +0 -3
- package/esm2015/pipes/is-present/is-present.module.js +0 -16
- package/esm2015/pipes/is-present/is-present.pipe.js +0 -15
- package/esm2015/pipes/keys/index.js +0 -3
- package/esm2015/pipes/keys/keys.module.js +0 -16
- package/esm2015/pipes/keys/keys.pipe.js +0 -14
- package/esm2015/pipes/mapper/index.js +0 -3
- package/esm2015/pipes/mapper/mapper.module.js +0 -16
- package/esm2015/pipes/mapper/mapper.pipe.js +0 -14
- package/esm2015/pipes/replace/index.js +0 -3
- package/esm2015/pipes/replace/replace.module.js +0 -16
- package/esm2015/pipes/replace/replace.pipe.js +0 -17
- package/esm2015/services/destroy.service.js +0 -26
- package/esm2015/services/directive-styles.service.js +0 -32
- package/esm2015/services/focus-visible.service.js +0 -35
- package/esm2015/services/id.service.js +0 -21
- package/esm2015/services/index.js +0 -13
- package/esm2015/services/obscured.service.js +0 -54
- package/esm2015/services/pan.service.js +0 -35
- package/esm2015/services/parents-scroll.service.js +0 -36
- package/esm2015/services/resize.service.js +0 -47
- package/esm2015/services/scroll.service.js +0 -60
- package/esm2015/services/static-request.service.js +0 -51
- package/esm2015/services/swipe.service.js +0 -51
- package/esm2015/services/zoom.service.js +0 -54
- package/esm2015/tokens/active-element.js +0 -61
- package/esm2015/tokens/alerts.js +0 -13
- package/esm2015/tokens/base-href.js +0 -5
- package/esm2015/tokens/default-renderer.js +0 -12
- package/esm2015/tokens/dialogs.js +0 -14
- package/esm2015/tokens/ensure-base-href.js +0 -17
- package/esm2015/tokens/focusable-item-accessor.js +0 -12
- package/esm2015/tokens/fonts-ready.js +0 -11
- package/esm2015/tokens/index.js +0 -30
- package/esm2015/tokens/is-android.js +0 -9
- package/esm2015/tokens/is-apple.js +0 -8
- package/esm2015/tokens/is-chromium.js +0 -8
- package/esm2015/tokens/is-cypress.js +0 -9
- package/esm2015/tokens/is-e2e.js +0 -9
- package/esm2015/tokens/is-firefox.js +0 -11
- package/esm2015/tokens/is-ios.js +0 -8
- package/esm2015/tokens/is-mobile.js +0 -12
- package/esm2015/tokens/is-playwright.js +0 -7
- package/esm2015/tokens/is-stackblitz.js +0 -5
- package/esm2015/tokens/is-webkit.js +0 -11
- package/esm2015/tokens/platform.js +0 -16
- package/esm2015/tokens/removed-element.js +0 -20
- package/esm2015/tokens/scroll-ref.js +0 -8
- package/esm2015/tokens/swipe-options.js +0 -9
- package/esm2015/tokens/take-only-trusted-events.js +0 -10
- package/esm2015/tokens/touch-supported.js +0 -5
- package/esm2015/tokens/window-height.js +0 -9
- package/esm2015/tokens/window-size.js +0 -23
- package/esm2015/tokens/zoom-options.js +0 -8
- package/esm2015/types/autocomplete.js +0 -2
- package/esm2015/types/date-mode.js +0 -2
- package/esm2015/types/deep-partial.js +0 -2
- package/esm2015/types/dialog.js +0 -2
- package/esm2015/types/event-with.js +0 -2
- package/esm2015/types/index.js +0 -17
- package/esm2015/types/injection-token-type.js +0 -2
- package/esm2015/types/input-mode.js +0 -2
- package/esm2015/types/input-type.js +0 -2
- package/esm2015/types/mapper.js +0 -2
- package/esm2015/types/matcher.js +0 -2
- package/esm2015/types/overscroll-mode.js +0 -2
- package/esm2015/types/platform.js +0 -2
- package/esm2015/types/time-mode.js +0 -2
- package/esm2015/utils/browser/index.js +0 -5
- package/esm2015/utils/browser/is-edge-older-than.js +0 -6
- package/esm2015/utils/browser/is-edge.js +0 -4
- package/esm2015/utils/browser/is-firefox.js +0 -4
- package/esm2015/utils/browser/is-safari.js +0 -11
- package/esm2015/utils/color/hex-to-rgb.js +0 -12
- package/esm2015/utils/color/hex-to-rgba.js +0 -31
- package/esm2015/utils/color/hsv-to-rgb.js +0 -11
- package/esm2015/utils/color/parse-color.js +0 -27
- package/esm2015/utils/color/rgb-to-hex.js +0 -4
- package/esm2015/utils/color/rgba-to-hex.js +0 -26
- package/esm2015/utils/dom/can-scroll.js +0 -42
- package/esm2015/utils/dom/contains-or-after.js +0 -10
- package/esm2015/utils/dom/element-checks.js +0 -20
- package/esm2015/utils/dom/get-clipboard-data-text.js +0 -11
- package/esm2015/utils/dom/get-document-or-shadow-root.js +0 -6
- package/esm2015/utils/dom/get-element-obscurers.js +0 -43
- package/esm2015/utils/dom/get-element-offset.js +0 -20
- package/esm2015/utils/dom/get-scroll-parent.js +0 -19
- package/esm2015/utils/dom/get-selected-text.js +0 -16
- package/esm2015/utils/dom/index.js +0 -17
- package/esm2015/utils/dom/is-node-in.js +0 -15
- package/esm2015/utils/dom/point-to-client-rect.js +0 -16
- package/esm2015/utils/dom/retarget-boundary-crossing.js +0 -11
- package/esm2015/utils/focus/get-native-focused.js +0 -16
- package/esm2015/utils/focus/index.js +0 -10
- package/esm2015/utils/focus/is-native-focused-in.js +0 -16
- package/esm2015/utils/focus/is-native-focused.js +0 -13
- package/esm2015/utils/focus/is-native-keyboard-focusable.js +0 -33
- package/esm2015/utils/focus/is-native-mouse-focusable.js +0 -7
- package/esm2015/utils/focus/set-native-mouse-focused.js +0 -27
- package/esm2015/utils/format/index.js +0 -2
- package/esm2015/utils/format/px.js +0 -9
- package/esm2015/utils/format/taiga-ui-cdk-utils-format.js +0 -5
- package/esm2015/utils/index.js +0 -10
- package/esm2015/utils/math/clamp.js +0 -16
- package/esm2015/utils/math/in-range.js +0 -9
- package/esm2015/utils/math/normalize-to-int-number.js +0 -22
- package/esm2015/utils/math/quantize.js +0 -15
- package/esm2015/utils/math/round-with.js +0 -14
- package/esm2015/utils/math/round.js +0 -35
- package/esm2015/utils/miscellaneous/clean-object.js +0 -9
- package/esm2015/utils/miscellaneous/create-options.js +0 -6
- package/esm2015/utils/miscellaneous/create-token.js +0 -8
- package/esm2015/utils/miscellaneous/ease-in-out-quad.js +0 -7
- package/esm2015/utils/miscellaneous/get-original-array-from-query-list.js +0 -15
- package/esm2015/utils/miscellaneous/get-swipe-direction.js +0 -7
- package/esm2015/utils/miscellaneous/index.js +0 -24
- package/esm2015/utils/miscellaneous/is-number.js +0 -5
- package/esm2015/utils/miscellaneous/is-object.js +0 -5
- package/esm2015/utils/miscellaneous/is-string.js +0 -5
- package/esm2015/utils/miscellaneous/is-valid-url.js +0 -11
- package/esm2015/utils/miscellaneous/mark-control-as-touched-and-validate.js +0 -16
- package/esm2015/utils/miscellaneous/nullable-same.js +0 -18
- package/esm2015/utils/miscellaneous/object-from-entries.js +0 -12
- package/esm2015/utils/miscellaneous/provide-options.js +0 -9
- package/esm2015/utils/miscellaneous/uniq-by.js +0 -6
- package/esm2015/utils/os/index.js +0 -4
- package/esm2015/utils/os/is-apple-platform.js +0 -14
- package/esm2015/utils/os/is-apple.js +0 -6
- package/esm2015/utils/os/is-ios.js +0 -7
- package/esm2015/utils/os/taiga-ui-cdk-utils-os.js +0 -5
- package/esm2015/utils/svg/index.js +0 -2
- package/esm2015/utils/svg/svg-linear-gradient-processor.js +0 -56
- package/esm2015/utils/svg/taiga-ui-cdk-utils-svg.js +0 -5
- package/exceptions/computed-document.exception.d.ts +0 -3
- package/exceptions/document-selection.exception.d.ts +0 -3
- package/exceptions/index.d.ts +0 -13
- package/exceptions/invalid-day.exception.d.ts +0 -3
- package/exceptions/invalid-month.exception.d.ts +0 -3
- package/exceptions/invalid-year.exception.d.ts +0 -3
- package/exceptions/no-host.exception.d.ts +0 -3
- package/exceptions/owner-document.exception.d.ts +0 -3
- package/exceptions/package.json +0 -10
- package/exceptions/pure.exception.d.ts +0 -3
- package/exceptions/table-sort-key.exception.d.ts +0 -3
- package/exceptions/taiga-ui-cdk-exceptions.d.ts +0 -5
- package/exceptions/ts-parser.exception.d.ts +0 -3
- package/exceptions/value-changes.exception.d.ts +0 -3
- package/exceptions/value-present.exception.d.ts +0 -3
- package/exceptions/xml-parsing.exception.d.ts +0 -3
- package/fesm2015/taiga-ui-cdk-abstract.js +0 -508
- package/fesm2015/taiga-ui-cdk-abstract.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-classes.js +0 -29
- package/fesm2015/taiga-ui-cdk-classes.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-coercion.js +0 -16
- package/fesm2015/taiga-ui-cdk-coercion.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-components-alert-host.js +0 -94
- package/fesm2015/taiga-ui-cdk-components-alert-host.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-components-dialog-host.js +0 -180
- package/fesm2015/taiga-ui-cdk-components-dialog-host.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-components-dropdown-host.js +0 -61
- package/fesm2015/taiga-ui-cdk-components-dropdown-host.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-components-scroll-controls.js +0 -220
- package/fesm2015/taiga-ui-cdk-components-scroll-controls.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-components.js +0 -9
- package/fesm2015/taiga-ui-cdk-components.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-constants.js +0 -237
- package/fesm2015/taiga-ui-cdk-constants.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-date-time.js +0 -823
- package/fesm2015/taiga-ui-cdk-date-time.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-decorators.js +0 -193
- package/fesm2015/taiga-ui-cdk-decorators.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-active-zone.js +0 -100
- package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +0 -349
- package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-autofilled.js +0 -77
- package/fesm2015/taiga-ui-cdk-directives-autofilled.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-checked.js +0 -66
- package/fesm2015/taiga-ui-cdk-directives-checked.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-click-outside.js +0 -59
- package/fesm2015/taiga-ui-cdk-directives-click-outside.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-control.js +0 -45
- package/fesm2015/taiga-ui-cdk-directives-control.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +0 -55
- package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-drag.js +0 -60
- package/fesm2015/taiga-ui-cdk-directives-drag.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-droppable.js +0 -60
- package/fesm2015/taiga-ui-cdk-directives-droppable.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-element.js +0 -54
- package/fesm2015/taiga-ui-cdk-directives-element.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-focus-trap.js +0 -100
- package/fesm2015/taiga-ui-cdk-directives-focus-trap.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-focus-visible.js +0 -48
- package/fesm2015/taiga-ui-cdk-directives-focus-visible.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-focusable.js +0 -51
- package/fesm2015/taiga-ui-cdk-directives-focusable.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-focused.js +0 -53
- package/fesm2015/taiga-ui-cdk-directives-focused.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-for-async.js +0 -80
- package/fesm2015/taiga-ui-cdk-directives-for-async.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-for.js +0 -56
- package/fesm2015/taiga-ui-cdk-directives-for.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-high-dpi.js +0 -51
- package/fesm2015/taiga-ui-cdk-directives-high-dpi.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-hovered.js +0 -74
- package/fesm2015/taiga-ui-cdk-directives-hovered.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-item.js +0 -36
- package/fesm2015/taiga-ui-cdk-directives-item.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-let.js +0 -72
- package/fesm2015/taiga-ui-cdk-directives-let.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-media.js +0 -130
- package/fesm2015/taiga-ui-cdk-directives-media.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-obscured.js +0 -69
- package/fesm2015/taiga-ui-cdk-directives-obscured.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-overscroll.js +0 -123
- package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-pan.js +0 -46
- package/fesm2015/taiga-ui-cdk-directives-pan.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-platform.js +0 -52
- package/fesm2015/taiga-ui-cdk-directives-platform.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-portal.js +0 -58
- package/fesm2015/taiga-ui-cdk-directives-portal.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-pressed.js +0 -50
- package/fesm2015/taiga-ui-cdk-directives-pressed.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-prevent-default.js +0 -72
- package/fesm2015/taiga-ui-cdk-directives-prevent-default.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +0 -79
- package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-resize.js +0 -46
- package/fesm2015/taiga-ui-cdk-directives-resize.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-resizer.js +0 -137
- package/fesm2015/taiga-ui-cdk-directives-resizer.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-swipe.js +0 -46
- package/fesm2015/taiga-ui-cdk-directives-swipe.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-validator.js +0 -67
- package/fesm2015/taiga-ui-cdk-directives-validator.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-value-changes.js +0 -59
- package/fesm2015/taiga-ui-cdk-directives-value-changes.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives-zoom.js +0 -49
- package/fesm2015/taiga-ui-cdk-directives-zoom.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-directives.js +0 -40
- package/fesm2015/taiga-ui-cdk-directives.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-enums.js +0 -37
- package/fesm2015/taiga-ui-cdk-enums.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-exceptions.js +0 -84
- package/fesm2015/taiga-ui-cdk-exceptions.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-interfaces.js +0 -4
- package/fesm2015/taiga-ui-cdk-interfaces.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-observables.js +0 -172
- package/fesm2015/taiga-ui-cdk-observables.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-pipes-filter.js +0 -34
- package/fesm2015/taiga-ui-cdk-pipes-filter.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-pipes-is-present.js +0 -35
- package/fesm2015/taiga-ui-cdk-pipes-is-present.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-pipes-keys.js +0 -34
- package/fesm2015/taiga-ui-cdk-pipes-keys.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-pipes-mapper.js +0 -34
- package/fesm2015/taiga-ui-cdk-pipes-mapper.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-pipes-replace.js +0 -37
- package/fesm2015/taiga-ui-cdk-pipes-replace.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-pipes.js +0 -10
- package/fesm2015/taiga-ui-cdk-pipes.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-services.js +0 -449
- package/fesm2015/taiga-ui-cdk-services.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-tokens.js +0 -287
- package/fesm2015/taiga-ui-cdk-tokens.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-types.js +0 -4
- package/fesm2015/taiga-ui-cdk-types.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-utils-browser.js +0 -31
- package/fesm2015/taiga-ui-cdk-utils-browser.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-utils-color.js +0 -125
- package/fesm2015/taiga-ui-cdk-utils-color.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-utils-dom.js +0 -254
- package/fesm2015/taiga-ui-cdk-utils-dom.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-utils-focus.js +0 -167
- package/fesm2015/taiga-ui-cdk-utils-focus.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-utils-format.js +0 -16
- package/fesm2015/taiga-ui-cdk-utils-format.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-utils-math.js +0 -135
- package/fesm2015/taiga-ui-cdk-utils-math.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +0 -187
- package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-utils-os.js +0 -31
- package/fesm2015/taiga-ui-cdk-utils-os.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-utils-svg.js +0 -63
- package/fesm2015/taiga-ui-cdk-utils-svg.js.map +0 -1
- package/fesm2015/taiga-ui-cdk-utils.js +0 -14
- package/fesm2015/taiga-ui-cdk-utils.js.map +0 -1
- package/fesm2015/taiga-ui-cdk.js +0 -22
- package/fesm2015/taiga-ui-cdk.js.map +0 -1
- package/interfaces/alert-context.d.ts +0 -2
- package/interfaces/aria-dialog-context.d.ts +0 -6
- package/interfaces/base-dialog-context.d.ts +0 -6
- package/interfaces/base-dialog.d.ts +0 -7
- package/interfaces/context-with-implicit.d.ts +0 -3
- package/interfaces/control-value-transformer.d.ts +0 -7
- package/interfaces/day-like.d.ts +0 -7
- package/interfaces/focusable-element-accessor.d.ts +0 -12
- package/interfaces/index.d.ts +0 -14
- package/interfaces/month-like.d.ts +0 -7
- package/interfaces/package.json +0 -10
- package/interfaces/safe-html.d.ts +0 -2
- package/interfaces/swipe.d.ts +0 -9
- package/interfaces/taiga-ui-cdk-interfaces.d.ts +0 -5
- package/interfaces/time-like.d.ts +0 -6
- package/interfaces/year-like.d.ts +0 -6
- package/interfaces/zoom.d.ts +0 -9
- package/observables/focus-visible-observable.d.ts +0 -2
- package/observables/is-alive.d.ts +0 -5
- package/observables/is-observed.d.ts +0 -2
- package/observables/items-query-list-observable.d.ts +0 -10
- package/observables/mouse-drag-finish-from.d.ts +0 -7
- package/observables/package.json +0 -10
- package/observables/pressed-observable.d.ts +0 -5
- package/observables/prevent-default.d.ts +0 -2
- package/observables/stop-propagation.d.ts +0 -2
- package/observables/taiga-ui-cdk-observables.d.ts +0 -5
- package/observables/zone-free.d.ts +0 -5
- package/pipes/filter/filter.module.d.ts +0 -7
- package/pipes/filter/package.json +0 -10
- package/pipes/filter/taiga-ui-cdk-pipes-filter.d.ts +0 -5
- package/pipes/is-present/is-present.module.d.ts +0 -7
- package/pipes/is-present/package.json +0 -10
- package/pipes/is-present/taiga-ui-cdk-pipes-is-present.d.ts +0 -5
- package/pipes/keys/keys.module.d.ts +0 -7
- package/pipes/keys/package.json +0 -10
- package/pipes/keys/taiga-ui-cdk-pipes-keys.d.ts +0 -5
- package/pipes/mapper/mapper.module.d.ts +0 -7
- package/pipes/mapper/package.json +0 -10
- package/pipes/mapper/taiga-ui-cdk-pipes-mapper.d.ts +0 -5
- package/pipes/package.json +0 -10
- package/pipes/replace/package.json +0 -10
- package/pipes/replace/replace.module.d.ts +0 -7
- package/pipes/replace/taiga-ui-cdk-pipes-replace.d.ts +0 -5
- package/pipes/taiga-ui-cdk-pipes.d.ts +0 -5
- package/schematics/ng-update/interfaces/replaceable-attribute.d.ts +0 -12
- package/schematics/ng-update/interfaces/replacement-const.d.ts +0 -11
- package/schematics/ng-update/interfaces/type-to-rename.d.ts +0 -6
- package/schematics/ng-update/steps/replace-const.d.ts +0 -4
- package/schematics/ng-update/steps/replace-const.js +0 -33
- package/schematics/ng-update/v3/interfaces/attribute-to-directive.d.ts +0 -11
- package/schematics/ng-update/v3/interfaces/removable-input.d.ts +0 -4
- package/schematics/ng-update/v3/interfaces/replaceable-attribute-value.d.ts +0 -8
- package/schematics/ng-update/v3/interfaces/replaceable-tag.d.ts +0 -5
- package/schematics/ng-update/v4/steps/replace-thumbnail-card.d.ts +0 -3
- package/schematics/ng-update/v4/steps/replace-thumbnail-card.js +0 -58
- package/schematics/utils/add-import-to-component.d.ts +0 -4
- package/schematics/utils/add-import-to-component.js +0 -12
- package/schematics/utils/angular/ng-component.d.ts +0 -2
- package/schematics/utils/angular/ng-component.js +0 -8
- package/schematics/utils/angular/ng-module.d.ts +0 -6
- package/schematics/utils/angular/ng-module.js +0 -23
- package/schematics/utils/replace-tag.d.ts +0 -3
- package/schematics/utils/replace-tag.js +0 -17
- package/services/destroy.service.d.ts +0 -17
- package/services/directive-styles.service.d.ts +0 -14
- package/services/focus-visible.service.d.ts +0 -14
- package/services/obscured.service.d.ts +0 -15
- package/services/package.json +0 -10
- package/services/pan.service.d.ts +0 -8
- package/services/parents-scroll.service.d.ts +0 -12
- package/services/resize.service.d.ts +0 -9
- package/services/swipe.service.d.ts +0 -9
- package/services/taiga-ui-cdk-services.d.ts +0 -5
- package/services/zoom.service.d.ts +0 -9
- package/taiga-ui-cdk.d.ts +0 -5
- package/tokens/alerts.d.ts +0 -8
- package/tokens/default-renderer.d.ts +0 -8
- package/tokens/dialogs.d.ts +0 -8
- package/tokens/ensure-base-href.d.ts +0 -4
- package/tokens/focusable-item-accessor.d.ts +0 -7
- package/tokens/fonts-ready.d.ts +0 -3
- package/tokens/is-android.d.ts +0 -4
- package/tokens/is-apple.d.ts +0 -4
- package/tokens/is-chromium.d.ts +0 -4
- package/tokens/is-cypress.d.ts +0 -5
- package/tokens/is-e2e.d.ts +0 -4
- package/tokens/is-firefox.d.ts +0 -4
- package/tokens/is-ios.d.ts +0 -4
- package/tokens/is-mobile.d.ts +0 -4
- package/tokens/is-playwright.d.ts +0 -4
- package/tokens/is-stackblitz.d.ts +0 -1
- package/tokens/is-webkit.d.ts +0 -4
- package/tokens/package.json +0 -10
- package/tokens/platform.d.ts +0 -3
- package/tokens/scroll-ref.d.ts +0 -5
- package/tokens/swipe-options.d.ts +0 -5
- package/tokens/taiga-ui-cdk-tokens.d.ts +0 -5
- package/tokens/take-only-trusted-events.d.ts +0 -7
- package/tokens/touch-supported.d.ts +0 -1
- package/tokens/window-height.d.ts +0 -4
- package/tokens/zoom-options.d.ts +0 -5
- package/types/autocomplete.d.ts +0 -2
- package/types/date-mode.d.ts +0 -6
- package/types/deep-partial.d.ts +0 -3
- package/types/dialog.d.ts +0 -5
- package/types/event-with.d.ts +0 -10
- package/types/injection-token-type.d.ts +0 -2
- package/types/input-mode.d.ts +0 -1
- package/types/input-type.d.ts +0 -1
- package/types/overscroll-mode.d.ts +0 -1
- package/types/package.json +0 -10
- package/types/platform.d.ts +0 -1
- package/types/taiga-ui-cdk-types.d.ts +0 -5
- package/types/time-mode.d.ts +0 -1
- package/utils/browser/is-edge-older-than.d.ts +0 -1
- package/utils/browser/package.json +0 -10
- package/utils/browser/taiga-ui-cdk-utils-browser.d.ts +0 -5
- package/utils/color/package.json +0 -10
- package/utils/color/taiga-ui-cdk-utils-color.d.ts +0 -5
- package/utils/dom/can-scroll.d.ts +0 -1
- package/utils/dom/get-scroll-parent.d.ts +0 -7
- package/utils/dom/package.json +0 -10
- package/utils/dom/taiga-ui-cdk-utils-dom.d.ts +0 -5
- package/utils/focus/package.json +0 -10
- package/utils/focus/set-native-mouse-focused.d.ts +0 -8
- package/utils/focus/taiga-ui-cdk-utils-focus.d.ts +0 -5
- package/utils/format/index.d.ts +0 -1
- package/utils/format/package.json +0 -10
- package/utils/format/taiga-ui-cdk-utils-format.d.ts +0 -5
- package/utils/math/package.json +0 -10
- package/utils/math/taiga-ui-cdk-utils-math.d.ts +0 -5
- package/utils/miscellaneous/clean-object.d.ts +0 -2
- package/utils/miscellaneous/create-options.d.ts +0 -3
- package/utils/miscellaneous/get-swipe-direction.d.ts +0 -2
- package/utils/miscellaneous/object-from-entries.d.ts +0 -9
- package/utils/miscellaneous/package.json +0 -10
- package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.d.ts +0 -5
- package/utils/os/index.d.ts +0 -3
- package/utils/os/is-apple-platform.d.ts +0 -11
- package/utils/os/is-apple.d.ts +0 -1
- package/utils/os/package.json +0 -10
- package/utils/os/taiga-ui-cdk-utils-os.d.ts +0 -5
- package/utils/package.json +0 -10
- package/utils/svg/index.d.ts +0 -1
- package/utils/svg/package.json +0 -10
- package/utils/svg/svg-linear-gradient-processor.d.ts +0 -16
- package/utils/svg/taiga-ui-cdk-utils-svg.d.ts +0 -5
- package/utils/taiga-ui-cdk-utils.d.ts +0 -5
- /package/{esm2015/classes/taiga-ui-cdk-classes.js → esm2022/classes/taiga-ui-cdk-classes.mjs} +0 -0
- /package/{esm2015/constants/taiga-ui-cdk-constants.js → esm2022/constants/taiga-ui-cdk-constants.mjs} +0 -0
- /package/{esm2015/date-time/date-clamp.js → esm2022/date-time/date-clamp.mjs} +0 -0
- /package/{esm2015/date-time/date-fillers.js → esm2022/date-time/date-fillers.mjs} +0 -0
- /package/{esm2015/date-time/date-time.js → esm2022/date-time/date-time.mjs} +0 -0
- /package/{esm2015/date-time/days.const.js → esm2022/date-time/days.const.mjs} +0 -0
- /package/{esm2015/date-time/taiga-ui-cdk-date-time.js → esm2022/date-time/taiga-ui-cdk-date-time.mjs} +0 -0
- /package/{esm2015/directives/active-zone/taiga-ui-cdk-directives-active-zone.js → esm2022/directives/active-zone/taiga-ui-cdk-directives-active-zone.mjs} +0 -0
- /package/{esm2015/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js → esm2022/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.mjs} +0 -0
- /package/{esm2015/directives/click-outside/taiga-ui-cdk-directives-click-outside.js → esm2022/directives/click-outside/taiga-ui-cdk-directives-click-outside.mjs} +0 -0
- /package/{esm2015/directives/control/taiga-ui-cdk-directives-control.js → esm2022/directives/control/taiga-ui-cdk-directives-control.mjs} +0 -0
- /package/{esm2015/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js → esm2022/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.mjs} +0 -0
- /package/{esm2015/directives/droppable/taiga-ui-cdk-directives-droppable.js → esm2022/directives/droppable/taiga-ui-cdk-directives-droppable.mjs} +0 -0
- /package/{esm2015/directives/element/taiga-ui-cdk-directives-element.js → esm2022/directives/element/taiga-ui-cdk-directives-element.mjs} +0 -0
- /package/{esm2015/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js → esm2022/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.mjs} +0 -0
- /package/{esm2015/directives/for/taiga-ui-cdk-directives-for.js → esm2022/directives/for/taiga-ui-cdk-directives-for.mjs} +0 -0
- /package/{esm2015/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js → esm2022/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.mjs} +0 -0
- /package/{esm2015/directives/hovered/taiga-ui-cdk-directives-hovered.js → esm2022/directives/hovered/taiga-ui-cdk-directives-hovered.mjs} +0 -0
- /package/{esm2015/directives/item/taiga-ui-cdk-directives-item.js → esm2022/directives/item/taiga-ui-cdk-directives-item.mjs} +0 -0
- /package/{esm2015/directives/let/taiga-ui-cdk-directives-let.js → esm2022/directives/let/taiga-ui-cdk-directives-let.mjs} +0 -0
- /package/{esm2015/directives/media/taiga-ui-cdk-directives-media.js → esm2022/directives/media/taiga-ui-cdk-directives-media.mjs} +0 -0
- /package/{esm2015/directives/obscured/taiga-ui-cdk-directives-obscured.js → esm2022/directives/obscured/taiga-ui-cdk-directives-obscured.mjs} +0 -0
- /package/{esm2015/directives/pan/taiga-ui-cdk-directives-pan.js → esm2022/directives/pan/taiga-ui-cdk-directives-pan.mjs} +0 -0
- /package/{esm2015/directives/platform/taiga-ui-cdk-directives-platform.js → esm2022/directives/platform/taiga-ui-cdk-directives-platform.mjs} +0 -0
- /package/{esm2015/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js → esm2022/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.mjs} +0 -0
- /package/{esm2015/directives/resizer/taiga-ui-cdk-directives-resizer.js → esm2022/directives/resizer/taiga-ui-cdk-directives-resizer.mjs} +0 -0
- /package/{esm2015/directives/swipe/taiga-ui-cdk-directives-swipe.js → esm2022/directives/swipe/taiga-ui-cdk-directives-swipe.mjs} +0 -0
- /package/{esm2015/directives/taiga-ui-cdk-directives.js → esm2022/directives/taiga-ui-cdk-directives.mjs} +0 -0
- /package/{esm2015/directives/validator/taiga-ui-cdk-directives-validator.js → esm2022/directives/validator/taiga-ui-cdk-directives-validator.mjs} +0 -0
- /package/{esm2015/directives/value-changes/taiga-ui-cdk-directives-value-changes.js → esm2022/directives/value-changes/taiga-ui-cdk-directives-value-changes.mjs} +0 -0
- /package/{esm2015/directives/zoom/taiga-ui-cdk-directives-zoom.js → esm2022/directives/zoom/taiga-ui-cdk-directives-zoom.mjs} +0 -0
- /package/{esm2015/observables/taiga-ui-cdk-observables.js → esm2022/observables/taiga-ui-cdk-observables.mjs} +0 -0
- /package/{esm2015/pipes/filter/taiga-ui-cdk-pipes-filter.js → esm2022/pipes/filter/taiga-ui-cdk-pipes-filter.mjs} +0 -0
- /package/{esm2015/pipes/is-present/taiga-ui-cdk-pipes-is-present.js → esm2022/pipes/is-present/taiga-ui-cdk-pipes-is-present.mjs} +0 -0
- /package/{esm2015/pipes/keys/taiga-ui-cdk-pipes-keys.js → esm2022/pipes/keys/taiga-ui-cdk-pipes-keys.mjs} +0 -0
- /package/{esm2015/pipes/mapper/taiga-ui-cdk-pipes-mapper.js → esm2022/pipes/mapper/taiga-ui-cdk-pipes-mapper.mjs} +0 -0
- /package/{esm2015/pipes/replace/taiga-ui-cdk-pipes-replace.js → esm2022/pipes/replace/taiga-ui-cdk-pipes-replace.mjs} +0 -0
- /package/{esm2015/pipes/taiga-ui-cdk-pipes.js → esm2022/pipes/taiga-ui-cdk-pipes.mjs} +0 -0
- /package/{esm2015/services/taiga-ui-cdk-services.js → esm2022/services/taiga-ui-cdk-services.mjs} +0 -0
- /package/{esm2015/taiga-ui-cdk.js → esm2022/taiga-ui-cdk.mjs} +0 -0
- /package/{esm2015/tokens/range.js → esm2022/tokens/range.mjs} +0 -0
- /package/{esm2015/tokens/taiga-ui-cdk-tokens.js → esm2022/tokens/taiga-ui-cdk-tokens.mjs} +0 -0
- /package/{esm2015/types/handler.js → esm2022/types/handler.mjs} +0 -0
- /package/{esm2015/types/rounding.js → esm2022/types/rounding.mjs} +0 -0
- /package/{esm2015/types/taiga-ui-cdk-types.js → esm2022/types/taiga-ui-cdk-types.mjs} +0 -0
- /package/{esm2015/types/values-of.js → esm2022/types/values-of.mjs} +0 -0
- /package/{esm2015/utils/browser/taiga-ui-cdk-utils-browser.js → esm2022/utils/browser/taiga-ui-cdk-utils-browser.mjs} +0 -0
- /package/{esm2015/utils/color/index.js → esm2022/utils/color/index.mjs} +0 -0
- /package/{esm2015/utils/color/rgb-to-hsv.js → esm2022/utils/color/rgb-to-hsv.mjs} +0 -0
- /package/{esm2015/utils/color/taiga-ui-cdk-utils-color.js → esm2022/utils/color/taiga-ui-cdk-utils-color.mjs} +0 -0
- /package/{esm2015/utils/dom/get-actual-target.js → esm2022/utils/dom/get-actual-target.mjs} +0 -0
- /package/{esm2015/utils/dom/is-current-target.js → esm2022/utils/dom/is-current-target.mjs} +0 -0
- /package/{esm2015/utils/dom/is-element-editable.js → esm2022/utils/dom/is-element-editable.mjs} +0 -0
- /package/{esm2015/utils/dom/is-inside-iframe.js → esm2022/utils/dom/is-inside-iframe.mjs} +0 -0
- /package/{esm2015/utils/dom/taiga-ui-cdk-utils-dom.js → esm2022/utils/dom/taiga-ui-cdk-utils-dom.mjs} +0 -0
- /package/{esm2015/utils/focus/blur-native-focused.js → esm2022/utils/focus/blur-native-focused.mjs} +0 -0
- /package/{esm2015/utils/focus/get-closest-focusable.js → esm2022/utils/focus/get-closest-focusable.mjs} +0 -0
- /package/{esm2015/utils/focus/move-focus.js → esm2022/utils/focus/move-focus.mjs} +0 -0
- /package/{esm2015/utils/focus/taiga-ui-cdk-utils-focus.js → esm2022/utils/focus/taiga-ui-cdk-utils-focus.mjs} +0 -0
- /package/{esm2015/utils/math/index.js → esm2022/utils/math/index.mjs} +0 -0
- /package/{esm2015/utils/math/sum.js → esm2022/utils/math/sum.mjs} +0 -0
- /package/{esm2015/utils/math/taiga-ui-cdk-utils-math.js → esm2022/utils/math/taiga-ui-cdk-utils-math.mjs} +0 -0
- /package/{esm2015/utils/math/to-int.js → esm2022/utils/math/to-int.mjs} +0 -0
- /package/{esm2015/utils/math/to-integer.js → esm2022/utils/math/to-integer.mjs} +0 -0
- /package/{esm2015/utils/math/to-radians.js → esm2022/utils/math/to-radians.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/array-remove.js → esm2022/utils/miscellaneous/array-remove.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/array-shallow-equals.js → esm2022/utils/miscellaneous/array-shallow-equals.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/array-toggle.js → esm2022/utils/miscellaneous/array-toggle.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/default-sort.js → esm2022/utils/miscellaneous/default-sort.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/distance-between-touches.js → esm2022/utils/miscellaneous/distance-between-touches.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/flat-length.js → esm2022/utils/miscellaneous/flat-length.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/is-falsy.js → esm2022/utils/miscellaneous/is-falsy.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/is-present.js → esm2022/utils/miscellaneous/is-present.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js → esm2022/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.mjs} +0 -0
- /package/{esm2015/utils/taiga-ui-cdk-utils.js → esm2022/utils/taiga-ui-cdk-utils.mjs} +0 -0
- /package/schematics/ng-update/interfaces/{replaceable-attribute.js → html-comment.js} +0 -0
- /package/schematics/ng-update/{v3/interfaces → interfaces}/removable-input.js +0 -0
- /package/schematics/ng-update/interfaces/{replacement-const.js → replacement-attribute-to-directive.js} +0 -0
- /package/schematics/ng-update/interfaces/{type-to-rename.js → replacement-attribute-value.js} +0 -0
- /package/schematics/ng-update/{v3/interfaces/attribute-to-directive.js → interfaces/replacement-attribute.js} +0 -0
- /package/schematics/ng-update/{v3/interfaces/replaceable-attribute-value.js → interfaces/replacement-identifier.js} +0 -0
- /package/schematics/ng-update/{v3/interfaces/replaceable-tag.js → interfaces/replacement-tag.js} +0 -0
- /package/utils/{os → browser}/is-ios.d.ts +0 -0
- /package/utils/{format → miscellaneous}/px.d.ts +0 -0
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.removeInputProperty = exports.replaceInputPropertyByDirective = exports.getInputPropertyValueOffsets = exports.getInputPropertyOffsets = exports.replaceInputProperty = void 0;
|
4
|
+
const ng_morph_1 = require("ng-morph");
|
4
5
|
const add_import_to_closest_module_1 = require("../add-import-to-closest-module");
|
5
6
|
const elements_1 = require("./elements");
|
6
7
|
const template_resource_1 = require("./template-resource");
|
@@ -29,21 +30,19 @@ const template_resource_1 = require("./template-resource");
|
|
29
30
|
* ___
|
30
31
|
* @return true if something was changed
|
31
32
|
*/
|
32
|
-
function replaceInputProperty({ templateResource, fileSystem, componentSelector, from, to, newValue =
|
33
|
-
const template = template_resource_1.getTemplateFromTemplateResource(templateResource, fileSystem);
|
34
|
-
const path = fileSystem.resolve(template_resource_1.getPathFromTemplateResource(templateResource));
|
33
|
+
function replaceInputProperty({ templateResource, fileSystem, componentSelector, from, to, newValue = '', filterFn, }) {
|
34
|
+
const template = (0, template_resource_1.getTemplateFromTemplateResource)(templateResource, fileSystem);
|
35
|
+
const path = fileSystem.resolve((0, template_resource_1.getPathFromTemplateResource)(templateResource));
|
35
36
|
const recorder = fileSystem.edit(path);
|
36
|
-
const templateOffset = template_resource_1.getTemplateOffset(templateResource);
|
37
|
-
const selector =
|
38
|
-
? componentSelector
|
39
|
-
: [componentSelector];
|
37
|
+
const templateOffset = (0, template_resource_1.getTemplateOffset)(templateResource);
|
38
|
+
const selector = (0, ng_morph_1.coerceArray)(componentSelector);
|
40
39
|
const stringProperties = [
|
41
|
-
...elements_1.findAttributeOnElementWithTag(template, from, selector, filterFn),
|
42
|
-
...elements_1.findAttributeOnElementWithAttrs(template, from, selector, filterFn),
|
40
|
+
...(0, elements_1.findAttributeOnElementWithTag)(template, from, selector, filterFn),
|
41
|
+
...(0, elements_1.findAttributeOnElementWithAttrs)(template, from, selector, filterFn),
|
43
42
|
].map(offset => templateOffset + offset);
|
44
43
|
const propertyBindings = [
|
45
|
-
...elements_1.findAttributeOnElementWithTag(template, `[${from}]`, selector, filterFn),
|
46
|
-
...elements_1.findAttributeOnElementWithAttrs(template, `[${from}]`, selector, filterFn),
|
44
|
+
...(0, elements_1.findAttributeOnElementWithTag)(template, `[${from}]`, selector, filterFn),
|
45
|
+
...(0, elements_1.findAttributeOnElementWithAttrs)(template, `[${from}]`, selector, filterFn),
|
47
46
|
].map(offset => templateOffset + offset);
|
48
47
|
const propertyValues = newValue
|
49
48
|
? getInputPropertyValueOffsets(template, from, selector).map(([start, end]) => [
|
@@ -60,7 +59,7 @@ function replaceInputProperty({ templateResource, fileSystem, componentSelector,
|
|
60
59
|
});
|
61
60
|
propertyBindings.forEach(offset => {
|
62
61
|
recorder.remove(offset, `[${from}]`.length);
|
63
|
-
recorder.insertRight(offset, to.startsWith(
|
62
|
+
recorder.insertRight(offset, to.startsWith('[') ? to : `[${to}]`);
|
64
63
|
});
|
65
64
|
propertyValues.forEach(([startOffset, endOffset]) => {
|
66
65
|
recorder.remove(startOffset, endOffset - startOffset);
|
@@ -79,8 +78,8 @@ exports.replaceInputProperty = replaceInputProperty;
|
|
79
78
|
function getInputPropertyOffsets(html, attrName, tags,
|
80
79
|
// eslint-disable-next-line no-restricted-syntax
|
81
80
|
filterFn = () => true) {
|
82
|
-
return elements_1.findElementsWithAttribute(html, attrName)
|
83
|
-
.filter(element => (tags.includes(element.tagName) || tags.includes(
|
81
|
+
return (0, elements_1.findElementsWithAttribute)(html, attrName)
|
82
|
+
.filter(element => (tags.includes(element.tagName) || tags.includes('*')) &&
|
84
83
|
filterFn(element))
|
85
84
|
.map((element) => {
|
86
85
|
var _a, _b;
|
@@ -97,8 +96,8 @@ exports.getInputPropertyOffsets = getInputPropertyOffsets;
|
|
97
96
|
* getInputPropertyValueOffsets(template, 'size', ['tui-card']) // [ [16, 18] ]
|
98
97
|
*/
|
99
98
|
function getInputPropertyValueOffsets(template, attrName, tags) {
|
100
|
-
const stringProperties = getInputPropertyOffsets(template, attrName, tags).map(([start, end]) => [start + attrName.length +
|
101
|
-
const propertyBindings = getInputPropertyOffsets(template, `[${attrName}]`, tags).map(([start, end]) => [start + `[${attrName}]`.length +
|
99
|
+
const stringProperties = getInputPropertyOffsets(template, attrName, tags).map(([start, end]) => [start + attrName.length + '="'.length, end - 1]);
|
100
|
+
const propertyBindings = getInputPropertyOffsets(template, `[${attrName}]`, tags).map(([start, end]) => [start + `[${attrName}]`.length + '="'.length, end - 1]);
|
102
101
|
return [...stringProperties, ...propertyBindings];
|
103
102
|
}
|
104
103
|
exports.getInputPropertyValueOffsets = getInputPropertyValueOffsets;
|
@@ -112,7 +111,7 @@ function replaceInputPropertyByDirective({ templateResource, fileSystem, compone
|
|
112
111
|
filterFn,
|
113
112
|
});
|
114
113
|
if (wasModified && directiveModule) {
|
115
|
-
add_import_to_closest_module_1.addImportToClosestModule(templateResource.componentPath, directiveModule.name, directiveModule.moduleSpecifier);
|
114
|
+
(0, add_import_to_closest_module_1.addImportToClosestModule)(templateResource.componentPath, directiveModule.name, directiveModule.moduleSpecifier);
|
116
115
|
}
|
117
116
|
}
|
118
117
|
exports.replaceInputPropertyByDirective = replaceInputPropertyByDirective;
|
@@ -122,9 +121,9 @@ exports.replaceInputPropertyByDirective = replaceInputPropertyByDirective;
|
|
122
121
|
* TODO: Find a way to fix it
|
123
122
|
*/
|
124
123
|
function removeInputProperty({ templateResource, fileSystem, componentSelector, inputProperty, filterFn, }) {
|
125
|
-
const template = template_resource_1.getTemplateFromTemplateResource(templateResource, fileSystem);
|
126
|
-
const templateOffset = template_resource_1.getTemplateOffset(templateResource);
|
127
|
-
const path = fileSystem.resolve(template_resource_1.getPathFromTemplateResource(templateResource));
|
124
|
+
const template = (0, template_resource_1.getTemplateFromTemplateResource)(templateResource, fileSystem);
|
125
|
+
const templateOffset = (0, template_resource_1.getTemplateOffset)(templateResource);
|
126
|
+
const path = fileSystem.resolve((0, template_resource_1.getPathFromTemplateResource)(templateResource));
|
128
127
|
const recorder = fileSystem.edit(path);
|
129
128
|
const propertyOffsets = [
|
130
129
|
...getInputPropertyOffsets(template, inputProperty, [componentSelector], filterFn),
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { DevkitFileSystem } from 'ng-morph';
|
2
|
-
import { TemplateResource } from '../../ng-update/interfaces/template-resource';
|
1
|
+
import type { DevkitFileSystem } from 'ng-morph';
|
2
|
+
import type { TemplateResource } from '../../ng-update/interfaces/template-resource';
|
3
3
|
export declare function getTemplateFromTemplateResource(templateRes: TemplateResource, fileSystem: DevkitFileSystem): string;
|
4
4
|
export declare function getPathFromTemplateResource(templateRes: TemplateResource): string;
|
5
5
|
export declare function getTemplateOffset(templateRes: TemplateResource): number;
|
@@ -2,21 +2,22 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.getTemplateOffset = exports.getPathFromTemplateResource = exports.getTemplateFromTemplateResource = void 0;
|
4
4
|
function getTemplateFromTemplateResource(templateRes, fileSystem) {
|
5
|
-
|
5
|
+
var _a;
|
6
|
+
if ('template' in templateRes) {
|
6
7
|
return templateRes.template;
|
7
8
|
}
|
8
9
|
const path = fileSystem.resolve(templateRes.templatePath);
|
9
|
-
return fileSystem.read(path);
|
10
|
+
return (_a = fileSystem.read(path)) !== null && _a !== void 0 ? _a : '';
|
10
11
|
}
|
11
12
|
exports.getTemplateFromTemplateResource = getTemplateFromTemplateResource;
|
12
13
|
function getPathFromTemplateResource(templateRes) {
|
13
|
-
if (
|
14
|
+
if ('templatePath' in templateRes) {
|
14
15
|
return templateRes.templatePath;
|
15
16
|
}
|
16
17
|
return templateRes.componentPath;
|
17
18
|
}
|
18
19
|
exports.getPathFromTemplateResource = getPathFromTemplateResource;
|
19
20
|
function getTemplateOffset(templateRes) {
|
20
|
-
return
|
21
|
+
return 'offset' in templateRes ? templateRes.offset : 0;
|
21
22
|
}
|
22
23
|
exports.getTemplateOffset = getTemplateOffset;
|
package/services/index.d.ts
CHANGED
@@ -1,12 +1,4 @@
|
|
1
|
-
export * from './destroy.service';
|
2
|
-
export * from './directive-styles.service';
|
3
|
-
export * from './focus-visible.service';
|
4
1
|
export * from './id.service';
|
5
|
-
export * from './
|
6
|
-
export * from './pan.service';
|
7
|
-
export * from './parents-scroll.service';
|
8
|
-
export * from './resize.service';
|
2
|
+
export * from './popover.service';
|
9
3
|
export * from './scroll.service';
|
10
4
|
export * from './static-request.service';
|
11
|
-
export * from './swipe.service';
|
12
|
-
export * from './zoom.service';
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import type { Provider, ProviderToken, Type } from '@angular/core';
|
2
|
+
import type { TuiContext } from '@taiga-ui/cdk/types';
|
3
|
+
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
4
|
+
import { PolymorpheusComponent } from '@taiga-ui/polymorpheus';
|
5
|
+
import type { BehaviorSubject, Observer } from 'rxjs';
|
6
|
+
import { Observable } from 'rxjs';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
export interface TuiPopoverContext<O> extends TuiContext<Observer<O>> {
|
9
|
+
readonly component: PolymorpheusComponent<any>;
|
10
|
+
readonly createdAt: number;
|
11
|
+
readonly id: string;
|
12
|
+
readonly completeWith: (value: O) => void;
|
13
|
+
}
|
14
|
+
export type TuiPopover<T, O> = T & TuiPopoverContext<O> & {
|
15
|
+
content: PolymorpheusContent<T & TuiPopoverContext<O>>;
|
16
|
+
};
|
17
|
+
export declare abstract class TuiPopoverService<T, K = void> {
|
18
|
+
protected readonly options: T;
|
19
|
+
private readonly component;
|
20
|
+
private readonly items$;
|
21
|
+
private readonly id;
|
22
|
+
constructor(items: ProviderToken<BehaviorSubject<ReadonlyArray<TuiPopover<T, any>>>>, component: Type<any>, options?: T);
|
23
|
+
open<G = void>(content: PolymorpheusContent<T & TuiPopoverContext<K extends void ? G : K>>, options?: Partial<T>): Observable<K extends void ? G : K>;
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPopoverService<any, any>, never>;
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TuiPopoverService<any, any>>;
|
26
|
+
}
|
27
|
+
export declare function tuiAsPopover(popover: Type<TuiPopoverService<any>>): Provider;
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import { Observable } from 'rxjs';
|
1
|
+
import type { Observable } from 'rxjs';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class TuiScrollService {
|
4
4
|
private readonly performanceRef;
|
5
5
|
private readonly animationFrame$;
|
6
|
-
constructor(performanceRef: Performance, animationFrame$: Observable<number>);
|
7
6
|
scroll$(elementOrWindow: Element | Window, scrollTop: number, scrollLeft?: number, duration?: number): Observable<[number, number]>;
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiScrollService, never>;
|
9
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<TuiScrollService>;
|
@@ -1,10 +1,7 @@
|
|
1
|
-
import { Observable } from 'rxjs';
|
1
|
+
import type { Observable } from 'rxjs';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class TuiStaticRequestService {
|
4
|
-
private readonly win;
|
5
|
-
private readonly platformId;
|
6
4
|
private readonly cache;
|
7
|
-
constructor(win: Window, platformId: Record<string, unknown>);
|
8
5
|
request(url: string): Observable<string>;
|
9
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiStaticRequestService, never>;
|
10
7
|
static ɵprov: i0.ɵɵInjectableDeclaration<TuiStaticRequestService>;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export declare const TUI_IS_MOBILE: import("@angular/core").InjectionToken<boolean>;
|
2
|
+
export declare const TUI_IS_IOS: import("@angular/core").InjectionToken<boolean>;
|
3
|
+
export declare const TUI_IS_ANDROID: import("@angular/core").InjectionToken<boolean>;
|
4
|
+
export declare const TUI_IS_WEBKIT: import("@angular/core").InjectionToken<boolean>;
|
5
|
+
export declare const TUI_PLATFORM: import("@angular/core").InjectionToken<"android" | "ios" | "web">;
|
6
|
+
/**
|
7
|
+
* Detect if app is running under Cypress
|
8
|
+
* {@link https://docs.cypress.io/faq/questions/using-cypress-faq#Is-there-any-way-to-detect-if-my-app-is-running-under-Cypress Cypress docs}
|
9
|
+
*/
|
10
|
+
export declare const TUI_IS_CYPRESS: import("@angular/core").InjectionToken<boolean>;
|
11
|
+
/**
|
12
|
+
* Manually provide `true` when running tests in Playwright
|
13
|
+
*/
|
14
|
+
export declare const TUI_IS_PLAYWRIGHT: import("@angular/core").InjectionToken<boolean>;
|
15
|
+
/**
|
16
|
+
* Detect if app is running under any of test frameworks
|
17
|
+
*/
|
18
|
+
export declare const TUI_IS_E2E: import("@angular/core").InjectionToken<boolean>;
|
package/tokens/index.d.ts
CHANGED
@@ -1,29 +1,7 @@
|
|
1
1
|
export * from './active-element';
|
2
|
-
export * from './alerts';
|
3
2
|
export * from './base-href';
|
4
|
-
export * from './
|
5
|
-
export * from './
|
6
|
-
export * from './ensure-base-href';
|
7
|
-
export * from './focusable-item-accessor';
|
8
|
-
export * from './fonts-ready';
|
9
|
-
export * from './is-android';
|
10
|
-
export * from './is-apple';
|
11
|
-
export * from './is-chromium';
|
12
|
-
export * from './is-cypress';
|
13
|
-
export * from './is-e2e';
|
14
|
-
export * from './is-firefox';
|
15
|
-
export * from './is-ios';
|
16
|
-
export * from './is-mobile';
|
17
|
-
export * from './is-playwright';
|
18
|
-
export * from './is-stackblitz';
|
19
|
-
export * from './is-webkit';
|
20
|
-
export * from './platform';
|
3
|
+
export * from './environment';
|
4
|
+
export * from './fallback-value';
|
21
5
|
export * from './range';
|
22
6
|
export * from './removed-element';
|
23
|
-
export * from './scroll-ref';
|
24
|
-
export * from './swipe-options';
|
25
|
-
export * from './take-only-trusted-events';
|
26
|
-
export * from './touch-supported';
|
27
|
-
export * from './window-height';
|
28
7
|
export * from './window-size';
|
29
|
-
export * from './zoom-options';
|
package/tokens/window-size.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
2
|
-
import { Observable } from 'rxjs';
|
3
|
-
export declare const TUI_WINDOW_SIZE: InjectionToken<Observable<
|
2
|
+
import type { Observable } from 'rxjs';
|
3
|
+
export declare const TUI_WINDOW_SIZE: InjectionToken<Observable<DOMRect>>;
|
package/types/handler.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export
|
2
|
-
export
|
3
|
-
export
|
4
|
-
export
|
1
|
+
export type TuiHandler<T, G> = (item: T) => G;
|
2
|
+
export type TuiBooleanHandler<T> = TuiHandler<T, boolean>;
|
3
|
+
export type TuiStringHandler<T> = TuiHandler<T, string>;
|
4
|
+
export type TuiNumberHandler<T> = TuiHandler<T, number>;
|
package/types/index.d.ts
CHANGED
@@ -1,16 +1,7 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './date-mode';
|
3
|
-
export * from './deep-partial';
|
4
|
-
export * from './dialog';
|
5
|
-
export * from './event-with';
|
1
|
+
export * from './context';
|
6
2
|
export * from './handler';
|
7
|
-
export * from './injection-token-type';
|
8
|
-
export * from './input-mode';
|
9
|
-
export * from './input-type';
|
10
3
|
export * from './mapper';
|
11
4
|
export * from './matcher';
|
12
|
-
export * from './overscroll-mode';
|
13
|
-
export * from './platform';
|
14
5
|
export * from './rounding';
|
15
|
-
export * from './
|
6
|
+
export * from './safe-html';
|
16
7
|
export * from './values-of';
|
package/types/mapper.d.ts
CHANGED
@@ -1,10 +1,4 @@
|
|
1
1
|
/**
|
2
2
|
* Typed mapping function.
|
3
|
-
*
|
4
|
-
* @deprecated Will be removed in v4.0. Use {@link TuiTypedMapper} instead.
|
5
3
|
*/
|
6
|
-
export
|
7
|
-
/**
|
8
|
-
* Typed mapping function.
|
9
|
-
*/
|
10
|
-
export declare type TuiTypedMapper<T extends unknown[], G> = (...args: T) => G;
|
4
|
+
export type TuiMapper<T extends unknown[], G> = (...args: T) => G;
|
package/types/matcher.d.ts
CHANGED
@@ -1,14 +1,8 @@
|
|
1
|
-
import { TuiStringHandler } from './handler';
|
2
|
-
import { TuiMapper
|
1
|
+
import type { TuiStringHandler } from './handler';
|
2
|
+
import type { TuiMapper } from './mapper';
|
3
3
|
/**
|
4
4
|
* A matcher function to test items against with extra arguments.
|
5
|
-
*
|
6
|
-
* @deprecated Will be removed in v4.0. Use {@link TuiTypedMatcher} instead.
|
7
5
|
*/
|
8
|
-
export
|
9
|
-
|
10
|
-
|
11
|
-
*/
|
12
|
-
export declare type TuiTypedMatcher<I extends unknown[]> = TuiTypedMapper<I, boolean>;
|
13
|
-
export declare type TuiStringMatcher<I> = (item: I, matchValue: string, stringify: TuiStringHandler<I>) => boolean;
|
14
|
-
export declare type TuiIdentityMatcher<I> = (item1: I, item2: I) => boolean;
|
6
|
+
export type TuiMatcher<I extends unknown[]> = TuiMapper<I, boolean>;
|
7
|
+
export type TuiStringMatcher<I> = (item: I, matchValue: string, stringify: TuiStringHandler<I>) => boolean;
|
8
|
+
export type TuiIdentityMatcher<I> = (item1: I, item2: I) => boolean;
|
package/types/rounding.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export
|
1
|
+
export type TuiRounding = 'ceil' | 'floor' | 'round' | 'truncate';
|
package/types/values-of.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export
|
1
|
+
export type TuiValuesOf<T> = T[keyof T];
|
package/utils/browser/index.d.ts
CHANGED
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* @description:
|
3
|
+
* All Chrome / Chromium-based browsers will return MacIntel on macOS,
|
4
|
+
* no matter what the hardware architecture is. See the source code here:
|
5
|
+
* https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/frame/navigator_id.cc;l=64;drc=703d3c472cf27470dad21a3f2c8972aca3732cd6
|
6
|
+
* But maybe in future years, it will be changed to MacM1
|
7
|
+
*
|
8
|
+
* Documentation:
|
9
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/Navigator/platform
|
10
|
+
*/
|
11
|
+
export declare function tuiIsApple(navigator: Navigator): boolean;
|
@@ -2,5 +2,5 @@ export declare function tuiIsInput(element: Element): element is HTMLInputElemen
|
|
2
2
|
export declare function tuiIsTextarea(element: Element): element is HTMLTextAreaElement;
|
3
3
|
export declare function tuiIsTextfield(element: Element): element is HTMLInputElement | HTMLTextAreaElement;
|
4
4
|
export declare function tuiIsElement(node?: Element | EventTarget | Node | null): node is Element;
|
5
|
-
export declare function tuiIsHTMLElement(node:
|
5
|
+
export declare function tuiIsHTMLElement(node: any): node is HTMLElement;
|
6
6
|
export declare function tuiIsTextNode(node: Node): node is Text;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function tuiIsInputEvent(event: Event): event is InputEvent;
|
@@ -2,9 +2,8 @@
|
|
2
2
|
* Returns array of Elements covering edges of given element or null if at least one edge middle point is visible
|
3
3
|
*
|
4
4
|
* CAUTION: Empty array means element if offscreen i.e. covered by no elements, rather than not covered
|
5
|
-
* TODO: v4.0 change function signature to
|
6
5
|
* ```ts
|
7
6
|
* function tuiGetElementObscures(element: Element): readonly [Element, Element, Element, Element] | [] | null
|
8
7
|
* ```
|
9
8
|
*/
|
10
|
-
export declare function tuiGetElementObscures(element: Element): readonly Element[] | null;
|
9
|
+
export declare function tuiGetElementObscures(element: Element): readonly [Element, Element, Element, Element] | [] | null;
|
package/utils/dom/index.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
export * from './can-scroll';
|
2
1
|
export * from './contains-or-after';
|
3
2
|
export * from './element-checks';
|
3
|
+
export * from './event-checks';
|
4
4
|
export * from './get-actual-target';
|
5
5
|
export * from './get-clipboard-data-text';
|
6
6
|
export * from './get-document-or-shadow-root';
|
7
7
|
export * from './get-element-obscurers';
|
8
8
|
export * from './get-element-offset';
|
9
|
-
export * from './get-scroll-parent';
|
10
9
|
export * from './get-selected-text';
|
10
|
+
export * from './inject-element';
|
11
11
|
export * from './is-current-target';
|
12
12
|
export * from './is-element-editable';
|
13
13
|
export * from './is-inside-iframe';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function tuiInjectElement<T = HTMLElement>(): T;
|
package/utils/focus/index.d.ts
CHANGED
package/utils/index.d.ts
CHANGED
@@ -2,8 +2,5 @@ export * from '@taiga-ui/cdk/utils/browser';
|
|
2
2
|
export * from '@taiga-ui/cdk/utils/color';
|
3
3
|
export * from '@taiga-ui/cdk/utils/dom';
|
4
4
|
export * from '@taiga-ui/cdk/utils/focus';
|
5
|
-
export * from '@taiga-ui/cdk/utils/format';
|
6
5
|
export * from '@taiga-ui/cdk/utils/math';
|
7
6
|
export * from '@taiga-ui/cdk/utils/miscellaneous';
|
8
|
-
export * from '@taiga-ui/cdk/utils/os';
|
9
|
-
export * from '@taiga-ui/cdk/utils/svg';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const changeDateSeparator: (dateString: string, newDateSeparator: string) => string;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import type { InjectOptions, ProviderToken, Signal, WritableSignal } from '@angular/core';
|
2
|
+
type SignalLikeTypeOf<T> = T extends Signal<infer R> ? R : T;
|
3
|
+
type SignalLike<T> = Signal<T> | T;
|
4
|
+
export declare function tuiDirectiveBinding<T, G extends keyof T, I extends SignalLike<SignalLikeTypeOf<T[G]>>>(token: ProviderToken<T>, key: G, initial: I, options?: InjectOptions): I extends Signal<any> ? I : WritableSignal<I>;
|
5
|
+
export {};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { InjectOptions, ProviderToken, Signal } from '@angular/core';
|
2
|
+
import type { Observable } from 'rxjs';
|
3
|
+
type OutputKeysOf<T> = {
|
4
|
+
[K in keyof T]: T[K] extends Observable<any> | Signal<any> ? K : never;
|
5
|
+
}[keyof T];
|
6
|
+
type OutputTypeOf<T> = T extends Signal<infer R> ? R : T extends Observable<infer O> ? O : never;
|
7
|
+
export declare function tuiDirectiveListener<T, K extends OutputKeysOf<T>>(token: ProviderToken<T>, key: K, options?: InjectOptions): Signal<OutputTypeOf<T[K]>>;
|
8
|
+
export {};
|
@@ -1,15 +1,15 @@
|
|
1
1
|
export * from './array-remove';
|
2
2
|
export * from './array-shallow-equals';
|
3
3
|
export * from './array-toggle';
|
4
|
-
export * from './
|
5
|
-
export * from './create-options';
|
4
|
+
export * from './change-date-separator';
|
6
5
|
export * from './create-token';
|
7
6
|
export * from './default-sort';
|
7
|
+
export * from './directive-binding';
|
8
|
+
export * from './directive-listener';
|
8
9
|
export * from './distance-between-touches';
|
9
10
|
export * from './ease-in-out-quad';
|
10
11
|
export * from './flat-length';
|
11
12
|
export * from './get-original-array-from-query-list';
|
12
|
-
export * from './get-swipe-direction';
|
13
13
|
export * from './is-falsy';
|
14
14
|
export * from './is-number';
|
15
15
|
export * from './is-object';
|
@@ -18,6 +18,9 @@ export * from './is-string';
|
|
18
18
|
export * from './is-valid-url';
|
19
19
|
export * from './mark-control-as-touched-and-validate';
|
20
20
|
export * from './nullable-same';
|
21
|
-
export * from './
|
21
|
+
export * from './provide';
|
22
22
|
export * from './provide-options';
|
23
|
+
export * from './pure';
|
24
|
+
export * from './px';
|
23
25
|
export * from './uniq-by';
|
26
|
+
export * from './with-styles';
|
@@ -2,7 +2,6 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.tuiIsString = void 0;
|
4
4
|
function tuiIsString(value) {
|
5
|
-
|
6
|
-
return typeof value === `string`;
|
5
|
+
return typeof value === 'string';
|
7
6
|
}
|
8
7
|
exports.tuiIsString = tuiIsString;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { AbstractControl } from '@angular/forms';
|
1
|
+
import type { AbstractControl } from '@angular/forms';
|
2
2
|
export declare function tuiMarkControlAsTouchedAndValidate(control: AbstractControl): void;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { FactoryProvider, InjectionToken } from '@angular/core';
|
1
|
+
import type { FactoryProvider, InjectionToken } from '@angular/core';
|
2
2
|
export declare function tuiProvideOptions<T>(provide: InjectionToken<T>, options: Partial<T>, fallback: T): FactoryProvider;
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import type { ExistingProvider, ProviderToken } from '@angular/core';
|
2
|
+
export declare function tuiProvide<T>(provide: ProviderToken<T>, useExisting: ProviderToken<T>): ExistingProvider;
|
3
|
+
export declare function tuiProvide<T>(provide: ProviderToken<T | T[]>, useExisting: ProviderToken<T>, multi: boolean): ExistingProvider;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/**
|
2
|
+
* Implements lazy initialization for getter or memoization of a function call similar to pure {@link: Pipe}.
|
3
|
+
* Replaces getter with its calculated value upon first call or keeps track of last call arguments and returned
|
4
|
+
* value for function, skipping calculation when arguments are strictly the same.
|
5
|
+
*
|
6
|
+
* @throws error if used not on getter or function
|
7
|
+
*
|
8
|
+
* CAUTION: they must be pure.
|
9
|
+
*/
|
10
|
+
export declare function tuiPure<T>(target: object, propertyKey: string, { get, enumerable, value }: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T>;
|
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
|
+
* CAUTION: they must be pure.
|
17
|
+
*/
|
18
|
+
export declare function tuiPure<A extends unknown[], R>(target: (...args: A) => R, context: ClassGetterDecoratorContext | ClassMethodDecoratorContext): (...args: A) => R;
|
19
|
+
export declare class TuiPureException extends Error {
|
20
|
+
constructor();
|
21
|
+
}
|