@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,865 +0,0 @@
|
|
1
|
-
(function (global, factory) {
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@taiga-ui/cdk/observables'), require('rxjs/operators'), require('@ng-web-apis/common'), require('@taiga-ui/cdk/constants'), require('@taiga-ui/cdk/utils/dom'), require('@angular/common'), require('@ng-web-apis/resize-observer'), require('@taiga-ui/cdk/classes'), require('@taiga-ui/cdk/utils/math'), require('@taiga-ui/cdk/utils/miscellaneous'), require('rxjs/fetch'), require('@taiga-ui/cdk/tokens'), require('@taiga-ui/cdk/utils')) :
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/cdk/services', ['exports', '@angular/core', 'rxjs', '@taiga-ui/cdk/observables', 'rxjs/operators', '@ng-web-apis/common', '@taiga-ui/cdk/constants', '@taiga-ui/cdk/utils/dom', '@angular/common', '@ng-web-apis/resize-observer', '@taiga-ui/cdk/classes', '@taiga-ui/cdk/utils/math', '@taiga-ui/cdk/utils/miscellaneous', 'rxjs/fetch', '@taiga-ui/cdk/tokens', '@taiga-ui/cdk/utils'], factory) :
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].cdk = global["taiga-ui"].cdk || {}, global["taiga-ui"].cdk.services = {}), global.ng.core, global.rxjs, global["taiga-ui"].cdk.observables, global.rxjs.operators, global.common, global["taiga-ui"].cdk.constants, global["taiga-ui"].cdk.utils.dom, global.ng.common, global.resizeObserver, global["taiga-ui"].cdk.classes, global["taiga-ui"].cdk.utils.math, global["taiga-ui"].cdk.utils.miscellaneous, global.rxjs.fetch, global["taiga-ui"].cdk.tokens, global["taiga-ui"].cdk.utils));
|
5
|
-
})(this, (function (exports, i0, i1, observables, operators, common, constants, dom, common$1, resizeObserver, classes, math, miscellaneous, fetch$1, tokens, utils) { 'use strict';
|
6
|
-
|
7
|
-
function _interopNamespace(e) {
|
8
|
-
if (e && e.__esModule) return e;
|
9
|
-
var n = Object.create(null);
|
10
|
-
if (e) {
|
11
|
-
Object.keys(e).forEach(function (k) {
|
12
|
-
if (k !== 'default') {
|
13
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
15
|
-
enumerable: true,
|
16
|
-
get: function () { return e[k]; }
|
17
|
-
});
|
18
|
-
}
|
19
|
-
});
|
20
|
-
}
|
21
|
-
n["default"] = e;
|
22
|
-
return Object.freeze(n);
|
23
|
-
}
|
24
|
-
|
25
|
-
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
26
|
-
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
27
|
-
|
28
|
-
/*! *****************************************************************************
|
29
|
-
Copyright (c) Microsoft Corporation.
|
30
|
-
|
31
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
32
|
-
purpose with or without fee is hereby granted.
|
33
|
-
|
34
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
35
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
36
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
37
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
38
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
39
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
40
|
-
PERFORMANCE OF THIS SOFTWARE.
|
41
|
-
***************************************************************************** */
|
42
|
-
/* global Reflect, Promise */
|
43
|
-
var extendStatics = function (d, b) {
|
44
|
-
extendStatics = Object.setPrototypeOf ||
|
45
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
46
|
-
function (d, b) { for (var p in b)
|
47
|
-
if (Object.prototype.hasOwnProperty.call(b, p))
|
48
|
-
d[p] = b[p]; };
|
49
|
-
return extendStatics(d, b);
|
50
|
-
};
|
51
|
-
function __extends(d, b) {
|
52
|
-
if (typeof b !== "function" && b !== null)
|
53
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
54
|
-
extendStatics(d, b);
|
55
|
-
function __() { this.constructor = d; }
|
56
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
57
|
-
}
|
58
|
-
var __assign = function () {
|
59
|
-
__assign = Object.assign || function __assign(t) {
|
60
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
61
|
-
s = arguments[i];
|
62
|
-
for (var p in s)
|
63
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
64
|
-
t[p] = s[p];
|
65
|
-
}
|
66
|
-
return t;
|
67
|
-
};
|
68
|
-
return __assign.apply(this, arguments);
|
69
|
-
};
|
70
|
-
function __rest(s, e) {
|
71
|
-
var t = {};
|
72
|
-
for (var p in s)
|
73
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
74
|
-
t[p] = s[p];
|
75
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
76
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
77
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
78
|
-
t[p[i]] = s[p[i]];
|
79
|
-
}
|
80
|
-
return t;
|
81
|
-
}
|
82
|
-
function __decorate(decorators, target, key, desc) {
|
83
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
84
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
85
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
86
|
-
else
|
87
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
88
|
-
if (d = decorators[i])
|
89
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
90
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
91
|
-
}
|
92
|
-
function __param(paramIndex, decorator) {
|
93
|
-
return function (target, key) { decorator(target, key, paramIndex); };
|
94
|
-
}
|
95
|
-
function __metadata(metadataKey, metadataValue) {
|
96
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
97
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
98
|
-
}
|
99
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
100
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
101
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
102
|
-
function fulfilled(value) { try {
|
103
|
-
step(generator.next(value));
|
104
|
-
}
|
105
|
-
catch (e) {
|
106
|
-
reject(e);
|
107
|
-
} }
|
108
|
-
function rejected(value) { try {
|
109
|
-
step(generator["throw"](value));
|
110
|
-
}
|
111
|
-
catch (e) {
|
112
|
-
reject(e);
|
113
|
-
} }
|
114
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
115
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
116
|
-
});
|
117
|
-
}
|
118
|
-
function __generator(thisArg, body) {
|
119
|
-
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
120
|
-
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
121
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
122
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
123
|
-
function step(op) {
|
124
|
-
if (f)
|
125
|
-
throw new TypeError("Generator is already executing.");
|
126
|
-
while (_)
|
127
|
-
try {
|
128
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
129
|
-
return t;
|
130
|
-
if (y = 0, t)
|
131
|
-
op = [op[0] & 2, t.value];
|
132
|
-
switch (op[0]) {
|
133
|
-
case 0:
|
134
|
-
case 1:
|
135
|
-
t = op;
|
136
|
-
break;
|
137
|
-
case 4:
|
138
|
-
_.label++;
|
139
|
-
return { value: op[1], done: false };
|
140
|
-
case 5:
|
141
|
-
_.label++;
|
142
|
-
y = op[1];
|
143
|
-
op = [0];
|
144
|
-
continue;
|
145
|
-
case 7:
|
146
|
-
op = _.ops.pop();
|
147
|
-
_.trys.pop();
|
148
|
-
continue;
|
149
|
-
default:
|
150
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
151
|
-
_ = 0;
|
152
|
-
continue;
|
153
|
-
}
|
154
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
155
|
-
_.label = op[1];
|
156
|
-
break;
|
157
|
-
}
|
158
|
-
if (op[0] === 6 && _.label < t[1]) {
|
159
|
-
_.label = t[1];
|
160
|
-
t = op;
|
161
|
-
break;
|
162
|
-
}
|
163
|
-
if (t && _.label < t[2]) {
|
164
|
-
_.label = t[2];
|
165
|
-
_.ops.push(op);
|
166
|
-
break;
|
167
|
-
}
|
168
|
-
if (t[2])
|
169
|
-
_.ops.pop();
|
170
|
-
_.trys.pop();
|
171
|
-
continue;
|
172
|
-
}
|
173
|
-
op = body.call(thisArg, _);
|
174
|
-
}
|
175
|
-
catch (e) {
|
176
|
-
op = [6, e];
|
177
|
-
y = 0;
|
178
|
-
}
|
179
|
-
finally {
|
180
|
-
f = t = 0;
|
181
|
-
}
|
182
|
-
if (op[0] & 5)
|
183
|
-
throw op[1];
|
184
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
185
|
-
}
|
186
|
-
}
|
187
|
-
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
188
|
-
if (k2 === undefined)
|
189
|
-
k2 = k;
|
190
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
191
|
-
}) : (function (o, m, k, k2) {
|
192
|
-
if (k2 === undefined)
|
193
|
-
k2 = k;
|
194
|
-
o[k2] = m[k];
|
195
|
-
});
|
196
|
-
function __exportStar(m, o) {
|
197
|
-
for (var p in m)
|
198
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
199
|
-
__createBinding(o, m, p);
|
200
|
-
}
|
201
|
-
function __values(o) {
|
202
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
203
|
-
if (m)
|
204
|
-
return m.call(o);
|
205
|
-
if (o && typeof o.length === "number")
|
206
|
-
return {
|
207
|
-
next: function () {
|
208
|
-
if (o && i >= o.length)
|
209
|
-
o = void 0;
|
210
|
-
return { value: o && o[i++], done: !o };
|
211
|
-
}
|
212
|
-
};
|
213
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
214
|
-
}
|
215
|
-
function __read(o, n) {
|
216
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
217
|
-
if (!m)
|
218
|
-
return o;
|
219
|
-
var i = m.call(o), r, ar = [], e;
|
220
|
-
try {
|
221
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
222
|
-
ar.push(r.value);
|
223
|
-
}
|
224
|
-
catch (error) {
|
225
|
-
e = { error: error };
|
226
|
-
}
|
227
|
-
finally {
|
228
|
-
try {
|
229
|
-
if (r && !r.done && (m = i["return"]))
|
230
|
-
m.call(i);
|
231
|
-
}
|
232
|
-
finally {
|
233
|
-
if (e)
|
234
|
-
throw e.error;
|
235
|
-
}
|
236
|
-
}
|
237
|
-
return ar;
|
238
|
-
}
|
239
|
-
/** @deprecated */
|
240
|
-
function __spread() {
|
241
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
242
|
-
ar = ar.concat(__read(arguments[i]));
|
243
|
-
return ar;
|
244
|
-
}
|
245
|
-
/** @deprecated */
|
246
|
-
function __spreadArrays() {
|
247
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
248
|
-
s += arguments[i].length;
|
249
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
250
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
251
|
-
r[k] = a[j];
|
252
|
-
return r;
|
253
|
-
}
|
254
|
-
function __spreadArray(to, from, pack) {
|
255
|
-
if (pack || arguments.length === 2)
|
256
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
257
|
-
if (ar || !(i in from)) {
|
258
|
-
if (!ar)
|
259
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
260
|
-
ar[i] = from[i];
|
261
|
-
}
|
262
|
-
}
|
263
|
-
return to.concat(ar || from);
|
264
|
-
}
|
265
|
-
function __await(v) {
|
266
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
267
|
-
}
|
268
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
269
|
-
if (!Symbol.asyncIterator)
|
270
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
271
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
272
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
273
|
-
function verb(n) { if (g[n])
|
274
|
-
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
275
|
-
function resume(n, v) { try {
|
276
|
-
step(g[n](v));
|
277
|
-
}
|
278
|
-
catch (e) {
|
279
|
-
settle(q[0][3], e);
|
280
|
-
} }
|
281
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
282
|
-
function fulfill(value) { resume("next", value); }
|
283
|
-
function reject(value) { resume("throw", value); }
|
284
|
-
function settle(f, v) { if (f(v), q.shift(), q.length)
|
285
|
-
resume(q[0][0], q[0][1]); }
|
286
|
-
}
|
287
|
-
function __asyncDelegator(o) {
|
288
|
-
var i, p;
|
289
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
290
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
291
|
-
}
|
292
|
-
function __asyncValues(o) {
|
293
|
-
if (!Symbol.asyncIterator)
|
294
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
295
|
-
var m = o[Symbol.asyncIterator], i;
|
296
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
297
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
298
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
299
|
-
}
|
300
|
-
function __makeTemplateObject(cooked, raw) {
|
301
|
-
if (Object.defineProperty) {
|
302
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
303
|
-
}
|
304
|
-
else {
|
305
|
-
cooked.raw = raw;
|
306
|
-
}
|
307
|
-
return cooked;
|
308
|
-
}
|
309
|
-
;
|
310
|
-
var __setModuleDefault = Object.create ? (function (o, v) {
|
311
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
312
|
-
}) : function (o, v) {
|
313
|
-
o["default"] = v;
|
314
|
-
};
|
315
|
-
function __importStar(mod) {
|
316
|
-
if (mod && mod.__esModule)
|
317
|
-
return mod;
|
318
|
-
var result = {};
|
319
|
-
if (mod != null)
|
320
|
-
for (var k in mod)
|
321
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
322
|
-
__createBinding(result, mod, k);
|
323
|
-
__setModuleDefault(result, mod);
|
324
|
-
return result;
|
325
|
-
}
|
326
|
-
function __importDefault(mod) {
|
327
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
328
|
-
}
|
329
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
330
|
-
if (kind === "a" && !f)
|
331
|
-
throw new TypeError("Private accessor was defined without a getter");
|
332
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
333
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
334
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
335
|
-
}
|
336
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
337
|
-
if (kind === "m")
|
338
|
-
throw new TypeError("Private method is not writable");
|
339
|
-
if (kind === "a" && !f)
|
340
|
-
throw new TypeError("Private accessor was defined without a setter");
|
341
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
342
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
343
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
344
|
-
}
|
345
|
-
|
346
|
-
/**
|
347
|
-
* @note:
|
348
|
-
* Observable abstraction over ngOnDestroy to use with takeUntil
|
349
|
-
*
|
350
|
-
* Why we use `ReplaySubject` instead of `Subject`?
|
351
|
-
* Well, we’ll use ReplaySubject to emit the last message in case
|
352
|
-
* the subscription is ended after the component is destroyed.
|
353
|
-
*/
|
354
|
-
var TuiDestroyService = /** @class */ (function (_super) {
|
355
|
-
__extends(TuiDestroyService, _super);
|
356
|
-
function TuiDestroyService() {
|
357
|
-
return _super.call(this, 1) || this;
|
358
|
-
}
|
359
|
-
TuiDestroyService.prototype.ngOnDestroy = function () {
|
360
|
-
this.next();
|
361
|
-
this.complete();
|
362
|
-
};
|
363
|
-
return TuiDestroyService;
|
364
|
-
}(i1.ReplaySubject));
|
365
|
-
TuiDestroyService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDestroyService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
366
|
-
TuiDestroyService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDestroyService });
|
367
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDestroyService, decorators: [{
|
368
|
-
type: i0.Injectable
|
369
|
-
}], ctorParameters: function () { return []; } });
|
370
|
-
|
371
|
-
/**
|
372
|
-
* Service to use styles with directives
|
373
|
-
*/
|
374
|
-
var TuiDirectiveStylesService = /** @class */ (function () {
|
375
|
-
function TuiDirectiveStylesService(resolver, injector) {
|
376
|
-
this.resolver = resolver;
|
377
|
-
this.injector = injector;
|
378
|
-
this.map = new Map();
|
379
|
-
}
|
380
|
-
TuiDirectiveStylesService.prototype.addComponent = function (component) {
|
381
|
-
if (!this.map.has(component)) {
|
382
|
-
this.map.set(component, this.resolver.resolveComponentFactory(component).create(this.injector));
|
383
|
-
}
|
384
|
-
};
|
385
|
-
return TuiDirectiveStylesService;
|
386
|
-
}());
|
387
|
-
TuiDirectiveStylesService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDirectiveStylesService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.INJECTOR }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
388
|
-
TuiDirectiveStylesService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDirectiveStylesService, providedIn: "root" });
|
389
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDirectiveStylesService, decorators: [{
|
390
|
-
type: i0.Injectable,
|
391
|
-
args: [{
|
392
|
-
providedIn: "root",
|
393
|
-
}]
|
394
|
-
}], ctorParameters: function () {
|
395
|
-
return [{ type: i0__namespace.ComponentFactoryResolver, decorators: [{
|
396
|
-
type: i0.Inject,
|
397
|
-
args: [i0.ComponentFactoryResolver]
|
398
|
-
}] }, { type: i0__namespace.Injector, decorators: [{
|
399
|
-
type: i0.Inject,
|
400
|
-
args: [i0.INJECTOR]
|
401
|
-
}] }];
|
402
|
-
} });
|
403
|
-
|
404
|
-
/**
|
405
|
-
* Service to imitate :focus-visible
|
406
|
-
* (https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible)
|
407
|
-
* in browsers that do not support it
|
408
|
-
*/
|
409
|
-
var TuiFocusVisibleService = /** @class */ (function (_super) {
|
410
|
-
__extends(TuiFocusVisibleService, _super);
|
411
|
-
function TuiFocusVisibleService(_a, cdr, destroy$) {
|
412
|
-
var nativeElement = _a.nativeElement;
|
413
|
-
var _this = _super.call(this, function (subscriber) { return _this.focusVisible$.subscribe(subscriber); }) || this;
|
414
|
-
_this.focusVisible$ = observables.tuiFocusVisibleObservable(nativeElement).pipe(observables.tuiWatch(cdr), operators.takeUntil(destroy$));
|
415
|
-
return _this;
|
416
|
-
}
|
417
|
-
return TuiFocusVisibleService;
|
418
|
-
}(i1.Observable));
|
419
|
-
TuiFocusVisibleService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFocusVisibleService, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: TuiDestroyService, self: true }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
420
|
-
TuiFocusVisibleService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFocusVisibleService });
|
421
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiFocusVisibleService, decorators: [{
|
422
|
-
type: i0.Injectable
|
423
|
-
}], ctorParameters: function () {
|
424
|
-
return [{ type: i0__namespace.ElementRef, decorators: [{
|
425
|
-
type: i0.Inject,
|
426
|
-
args: [i0.ElementRef]
|
427
|
-
}] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
|
428
|
-
type: i0.Inject,
|
429
|
-
args: [i0.ChangeDetectorRef]
|
430
|
-
}] }, { type: i1__namespace.Observable, decorators: [{
|
431
|
-
type: i0.Self
|
432
|
-
}, {
|
433
|
-
type: i0.Inject,
|
434
|
-
args: [TuiDestroyService]
|
435
|
-
}] }];
|
436
|
-
} });
|
437
|
-
|
438
|
-
var TUI = "tui_";
|
439
|
-
/**
|
440
|
-
* Generates unique ids
|
441
|
-
*/
|
442
|
-
var TuiIdService = /** @class */ (function () {
|
443
|
-
function TuiIdService() {
|
444
|
-
}
|
445
|
-
TuiIdService.prototype.generate = function () {
|
446
|
-
return "" + TUI + TuiIdService.autoId++ + Date.now();
|
447
|
-
};
|
448
|
-
return TuiIdService;
|
449
|
-
}());
|
450
|
-
TuiIdService.autoId = 0;
|
451
|
-
TuiIdService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiIdService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
452
|
-
TuiIdService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiIdService, providedIn: "root" });
|
453
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiIdService, decorators: [{
|
454
|
-
type: i0.Injectable,
|
455
|
-
args: [{
|
456
|
-
providedIn: "root",
|
457
|
-
}]
|
458
|
-
}] });
|
459
|
-
|
460
|
-
/**
|
461
|
-
* Service that subscribes to scroll events of all parent elements
|
462
|
-
*/
|
463
|
-
var TuiParentsScrollService = /** @class */ (function (_super) {
|
464
|
-
__extends(TuiParentsScrollService, _super);
|
465
|
-
function TuiParentsScrollService(
|
466
|
-
// Destructuring here causes memory leak
|
467
|
-
el, win) {
|
468
|
-
var _this = _super.call(this, function (subscriber) { return _this.callback$.subscribe(subscriber); }) || this;
|
469
|
-
_this.callback$ = i1.defer(function () {
|
470
|
-
var nativeElement = el.nativeElement;
|
471
|
-
var eventTargets = [win, nativeElement];
|
472
|
-
while (nativeElement.parentElement) {
|
473
|
-
nativeElement = nativeElement.parentElement;
|
474
|
-
eventTargets.push(nativeElement);
|
475
|
-
}
|
476
|
-
return i1.merge.apply(void 0, __spreadArray([], __read(eventTargets.map(function (element) { return observables.tuiTypedFromEvent(element, "scroll"); }))));
|
477
|
-
});
|
478
|
-
return _this;
|
479
|
-
}
|
480
|
-
return TuiParentsScrollService;
|
481
|
-
}(i1.Observable));
|
482
|
-
TuiParentsScrollService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiParentsScrollService, deps: [{ token: i0.ElementRef }, { token: common.WINDOW }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
483
|
-
TuiParentsScrollService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiParentsScrollService });
|
484
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiParentsScrollService, decorators: [{
|
485
|
-
type: i0.Injectable
|
486
|
-
}], ctorParameters: function () {
|
487
|
-
return [{ type: i0__namespace.ElementRef, decorators: [{
|
488
|
-
type: i0.Inject,
|
489
|
-
args: [i0.ElementRef]
|
490
|
-
}] }, { type: Window, decorators: [{
|
491
|
-
type: i0.Inject,
|
492
|
-
args: [common.WINDOW]
|
493
|
-
}] }];
|
494
|
-
} });
|
495
|
-
|
496
|
-
// @bad TODO: Consider Intersection Observer with fallback to current implementation
|
497
|
-
/**
|
498
|
-
* Service that monitors element visibility by subscribing to scrolls
|
499
|
-
* and polling with set interval, returns either null or an array
|
500
|
-
* of elements that overlap given element edges
|
501
|
-
*/
|
502
|
-
var TuiObscuredService = /** @class */ (function (_super) {
|
503
|
-
__extends(TuiObscuredService, _super);
|
504
|
-
function TuiObscuredService(parentsScroll$, _a, zone, win, destroy$, animationFrame$) {
|
505
|
-
var nativeElement = _a.nativeElement;
|
506
|
-
var _this = _super.call(this, function (subscriber) { return _this.obscured$.subscribe(subscriber); }) || this;
|
507
|
-
_this.obscured$ = i1.merge(
|
508
|
-
// delay is added so it will not interfere with other listeners
|
509
|
-
i1.merge(parentsScroll$, i1.fromEvent(win, "resize")).pipe(operators.delay(0)), animationFrame$.pipe(operators.throttleTime(constants.POLLING_TIME))).pipe(operators.map(function () { return dom.tuiGetElementObscures(nativeElement); }), operators.startWith(null), operators.distinctUntilChanged(), observables.tuiZoneOptimized(zone), operators.takeUntil(destroy$));
|
510
|
-
return _this;
|
511
|
-
}
|
512
|
-
return TuiObscuredService;
|
513
|
-
}(i1.Observable));
|
514
|
-
TuiObscuredService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiObscuredService, deps: [{ token: TuiParentsScrollService, self: true }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: common.WINDOW }, { token: TuiDestroyService, self: true }, { token: common.ANIMATION_FRAME }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
515
|
-
TuiObscuredService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiObscuredService });
|
516
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiObscuredService, decorators: [{
|
517
|
-
type: i0.Injectable
|
518
|
-
}], ctorParameters: function () {
|
519
|
-
return [{ type: TuiParentsScrollService, decorators: [{
|
520
|
-
type: i0.Inject,
|
521
|
-
args: [TuiParentsScrollService]
|
522
|
-
}, {
|
523
|
-
type: i0.Self
|
524
|
-
}] }, { type: i0__namespace.ElementRef, decorators: [{
|
525
|
-
type: i0.Inject,
|
526
|
-
args: [i0.ElementRef]
|
527
|
-
}] }, { type: i0__namespace.NgZone, decorators: [{
|
528
|
-
type: i0.Inject,
|
529
|
-
args: [i0.NgZone]
|
530
|
-
}] }, { type: Window, decorators: [{
|
531
|
-
type: i0.Inject,
|
532
|
-
args: [common.WINDOW]
|
533
|
-
}] }, { type: i1__namespace.Observable, decorators: [{
|
534
|
-
type: i0.Self
|
535
|
-
}, {
|
536
|
-
type: i0.Inject,
|
537
|
-
args: [TuiDestroyService]
|
538
|
-
}] }, { type: i1__namespace.Observable, decorators: [{
|
539
|
-
type: i0.Inject,
|
540
|
-
args: [common.ANIMATION_FRAME]
|
541
|
-
}] }];
|
542
|
-
} });
|
543
|
-
|
544
|
-
var TuiPanService = /** @class */ (function (_super) {
|
545
|
-
__extends(TuiPanService, _super);
|
546
|
-
function TuiPanService(_a, doc) {
|
547
|
-
var nativeElement = _a.nativeElement;
|
548
|
-
return _super.call(this, function (subscriber) {
|
549
|
-
i1.merge(observables.tuiTypedFromEvent(nativeElement, "touchstart", { passive: true }), observables.tuiTypedFromEvent(nativeElement, "mousedown"))
|
550
|
-
.pipe(operators.switchMap(function () { return i1.merge(observables.tuiTypedFromEvent(doc, "touchmove", {
|
551
|
-
passive: true,
|
552
|
-
}).pipe(operators.filter(function (_a) {
|
553
|
-
var touches = _a.touches;
|
554
|
-
return touches.length < 2;
|
555
|
-
}), operators.map(function (_a) {
|
556
|
-
var touches = _a.touches;
|
557
|
-
return touches[0];
|
558
|
-
})), observables.tuiTypedFromEvent(doc, "mousemove")); }), operators.pairwise(), operators.map(function (_a) {
|
559
|
-
var _b = __read(_a, 2), first = _b[0], second = _b[1];
|
560
|
-
var deltaX = second.clientX - first.clientX;
|
561
|
-
var deltaY = second.clientY - first.clientY;
|
562
|
-
return [deltaX, deltaY];
|
563
|
-
}),
|
564
|
-
// eslint-disable-next-line rxjs/no-unsafe-takeuntil
|
565
|
-
operators.takeUntil(i1.merge(observables.tuiTypedFromEvent(doc, "touchend"), observables.tuiTypedFromEvent(doc, "mouseup"))), operators.repeat())
|
566
|
-
.subscribe(subscriber);
|
567
|
-
}) || this;
|
568
|
-
}
|
569
|
-
return TuiPanService;
|
570
|
-
}(i1.Observable));
|
571
|
-
TuiPanService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPanService, deps: [{ token: i0.ElementRef }, { token: common$1.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
572
|
-
TuiPanService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPanService });
|
573
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiPanService, decorators: [{
|
574
|
-
type: i0.Injectable
|
575
|
-
}], ctorParameters: function () {
|
576
|
-
return [{ type: i0__namespace.ElementRef, decorators: [{
|
577
|
-
type: i0.Inject,
|
578
|
-
args: [i0.ElementRef]
|
579
|
-
}] }, { type: Document, decorators: [{
|
580
|
-
type: i0.Inject,
|
581
|
-
args: [common$1.DOCUMENT]
|
582
|
-
}] }];
|
583
|
-
} });
|
584
|
-
|
585
|
-
// TODO: Remove in 4.0 when Safari is bumped to 13
|
586
|
-
var TuiResizeService = /** @class */ (function (_super) {
|
587
|
-
__extends(TuiResizeService, _super);
|
588
|
-
function TuiResizeService(el, zone, destroy$, support, box, animationFrame$) {
|
589
|
-
var _this = _super.call(this, el, zone, support, box) || this;
|
590
|
-
return _this.pipe(operators.catchError(function () {
|
591
|
-
/**
|
592
|
-
* @note: if not supported ResizeObserver
|
593
|
-
* remove `catchError` after supports modern browsers
|
594
|
-
*/
|
595
|
-
return animationFrame$.pipe(operators.throttleTime(constants.POLLING_TIME), operators.map(function () { return el.nativeElement.clientWidth + " " + el.nativeElement.clientHeight; }), operators.distinctUntilChanged(), operators.map(function () { return constants.EMPTY_ARRAY; }));
|
596
|
-
}), operators.debounceTime(0), observables.tuiZonefree(zone), operators.share(), operators.takeUntil(destroy$));
|
597
|
-
}
|
598
|
-
return TuiResizeService;
|
599
|
-
}(resizeObserver.ResizeObserverService));
|
600
|
-
TuiResizeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiResizeService, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: TuiDestroyService, self: true }, { token: resizeObserver.RESIZE_OBSERVER_SUPPORT }, { token: resizeObserver.RESIZE_OPTION_BOX }, { token: common.ANIMATION_FRAME }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
601
|
-
TuiResizeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiResizeService });
|
602
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiResizeService, decorators: [{
|
603
|
-
type: i0.Injectable
|
604
|
-
}], ctorParameters: function () {
|
605
|
-
return [{ type: i0__namespace.ElementRef, decorators: [{
|
606
|
-
type: i0.Inject,
|
607
|
-
args: [i0.ElementRef]
|
608
|
-
}] }, { type: i0__namespace.NgZone, decorators: [{
|
609
|
-
type: i0.Inject,
|
610
|
-
args: [i0.NgZone]
|
611
|
-
}] }, { type: i1__namespace.Observable, decorators: [{
|
612
|
-
type: i0.Self
|
613
|
-
}, {
|
614
|
-
type: i0.Inject,
|
615
|
-
args: [TuiDestroyService]
|
616
|
-
}] }, { type: undefined, decorators: [{
|
617
|
-
type: i0.Inject,
|
618
|
-
args: [resizeObserver.RESIZE_OBSERVER_SUPPORT]
|
619
|
-
}] }, { type: undefined, decorators: [{
|
620
|
-
type: i0.Inject,
|
621
|
-
args: [resizeObserver.RESIZE_OPTION_BOX]
|
622
|
-
}] }, { type: i1__namespace.Observable, decorators: [{
|
623
|
-
type: i0.Inject,
|
624
|
-
args: [common.ANIMATION_FRAME]
|
625
|
-
}] }];
|
626
|
-
} });
|
627
|
-
|
628
|
-
var SCROLL_TIME = 300;
|
629
|
-
var TuiScrollService = /** @class */ (function () {
|
630
|
-
function TuiScrollService(performanceRef, animationFrame$) {
|
631
|
-
this.performanceRef = performanceRef;
|
632
|
-
this.animationFrame$ = animationFrame$;
|
633
|
-
}
|
634
|
-
TuiScrollService.prototype.scroll$ = function (elementOrWindow, scrollTop, scrollLeft, duration) {
|
635
|
-
var _this = this;
|
636
|
-
if (scrollLeft === void 0) { scrollLeft = getX(elementOrWindow); }
|
637
|
-
if (duration === void 0) { duration = SCROLL_TIME; }
|
638
|
-
ngDevMode && classes.tuiAssert.assert(duration >= 0, "Duration cannot be negative");
|
639
|
-
ngDevMode && classes.tuiAssert.assert(scrollTop >= 0, "scrollTop cannot be negative");
|
640
|
-
ngDevMode && classes.tuiAssert.assert(scrollLeft >= 0, "scrollLeft cannot be negative");
|
641
|
-
var initialTop = getY(elementOrWindow);
|
642
|
-
var initialLeft = getX(elementOrWindow);
|
643
|
-
var deltaTop = scrollTop - initialTop;
|
644
|
-
var deltaLeft = scrollLeft - initialLeft;
|
645
|
-
var observable = !duration
|
646
|
-
? i1.of([scrollTop, scrollLeft])
|
647
|
-
: i1.defer(function () { return i1.of(_this.performanceRef.now()); }).pipe(operators.switchMap(function (start) { return _this.animationFrame$.pipe(operators.map(function (now) { return now - start; })); }), operators.map(function (elapsed) { return miscellaneous.tuiEaseInOutQuad(math.tuiClamp(elapsed / duration, 0, 1)); }), operators.map(function (percent) { return [
|
648
|
-
initialTop + deltaTop * percent,
|
649
|
-
initialLeft + deltaLeft * percent,
|
650
|
-
]; }), operators.endWith([scrollTop, scrollLeft]), operators.takeUntil(i1.timer(duration)));
|
651
|
-
return observable.pipe(operators.tap(function (_b) {
|
652
|
-
var _c = __read(_b, 2), scrollTop = _c[0], scrollLeft = _c[1];
|
653
|
-
var _a;
|
654
|
-
(_a = elementOrWindow.scrollTo) === null || _a === void 0 ? void 0 : _a.call(elementOrWindow, scrollLeft, scrollTop);
|
655
|
-
}));
|
656
|
-
};
|
657
|
-
return TuiScrollService;
|
658
|
-
}());
|
659
|
-
TuiScrollService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiScrollService, deps: [{ token: common.PERFORMANCE }, { token: common.ANIMATION_FRAME }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
660
|
-
TuiScrollService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiScrollService, providedIn: "root" });
|
661
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiScrollService, decorators: [{
|
662
|
-
type: i0.Injectable,
|
663
|
-
args: [{
|
664
|
-
providedIn: "root",
|
665
|
-
}]
|
666
|
-
}], ctorParameters: function () {
|
667
|
-
return [{ type: Performance, decorators: [{
|
668
|
-
type: i0.Inject,
|
669
|
-
args: [common.PERFORMANCE]
|
670
|
-
}] }, { type: i1__namespace.Observable, decorators: [{
|
671
|
-
type: i0.Inject,
|
672
|
-
args: [common.ANIMATION_FRAME]
|
673
|
-
}] }];
|
674
|
-
} });
|
675
|
-
function getX(elementOrWindow) {
|
676
|
-
return "scrollX" in elementOrWindow
|
677
|
-
? elementOrWindow.scrollX
|
678
|
-
: elementOrWindow.scrollLeft;
|
679
|
-
}
|
680
|
-
function getY(elementOrWindow) {
|
681
|
-
return "scrollY" in elementOrWindow
|
682
|
-
? elementOrWindow.scrollY
|
683
|
-
: elementOrWindow.scrollTop;
|
684
|
-
}
|
685
|
-
|
686
|
-
var TuiStaticRequestService = /** @class */ (function () {
|
687
|
-
function TuiStaticRequestService(win, platformId) {
|
688
|
-
this.win = win;
|
689
|
-
this.platformId = platformId;
|
690
|
-
this.cache = new Map();
|
691
|
-
}
|
692
|
-
TuiStaticRequestService.prototype.request = function (url) {
|
693
|
-
var _this = this;
|
694
|
-
var cache = this.cache.get(url);
|
695
|
-
if (cache) {
|
696
|
-
return cache;
|
697
|
-
}
|
698
|
-
var response$ = "AbortController" in this.win || common$1.isPlatformServer(this.platformId)
|
699
|
-
? fetch$1.fromFetch(url)
|
700
|
-
: /**
|
701
|
-
* Fallback for Firefox 55 and 56
|
702
|
-
* TODO: drop after browser support bump
|
703
|
-
*/
|
704
|
-
i1.defer(function () { return i1.from(fetch(url)); });
|
705
|
-
var piped = response$.pipe(operators.switchMap(function (response) { return __awaiter(_this, void 0, void 0, function () {
|
706
|
-
return __generator(this, function (_a) {
|
707
|
-
if (response.ok) {
|
708
|
-
return [2 /*return*/, response.text()];
|
709
|
-
}
|
710
|
-
throw new Error("Failed to load " + url + " (" + response.statusText + ")");
|
711
|
-
});
|
712
|
-
}); }), operators.shareReplay({ bufferSize: 1, refCount: false }));
|
713
|
-
this.cache.set(url, piped);
|
714
|
-
return piped;
|
715
|
-
};
|
716
|
-
return TuiStaticRequestService;
|
717
|
-
}());
|
718
|
-
TuiStaticRequestService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiStaticRequestService, deps: [{ token: common.WINDOW }, { token: i0.PLATFORM_ID }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
719
|
-
TuiStaticRequestService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiStaticRequestService, providedIn: "root" });
|
720
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiStaticRequestService, decorators: [{
|
721
|
-
type: i0.Injectable,
|
722
|
-
args: [{
|
723
|
-
providedIn: "root",
|
724
|
-
}]
|
725
|
-
}], ctorParameters: function () {
|
726
|
-
return [{ type: Window, decorators: [{
|
727
|
-
type: i0.Inject,
|
728
|
-
args: [common.WINDOW]
|
729
|
-
}] }, { type: undefined, decorators: [{
|
730
|
-
type: i0.Inject,
|
731
|
-
args: [i0.PLATFORM_ID]
|
732
|
-
}] }];
|
733
|
-
} });
|
734
|
-
|
735
|
-
var TuiSwipeService = /** @class */ (function (_super) {
|
736
|
-
__extends(TuiSwipeService, _super);
|
737
|
-
function TuiSwipeService(_a, _b, doc) {
|
738
|
-
var nativeElement = _a.nativeElement;
|
739
|
-
var timeout = _b.timeout, threshold = _b.threshold;
|
740
|
-
return _super.call(this, function (subscriber) {
|
741
|
-
i1.merge(observables.tuiTypedFromEvent(nativeElement, "touchstart", { passive: true }), observables.tuiTypedFromEvent(doc, "touchend"))
|
742
|
-
.pipe(operators.pairwise(), operators.filter(function (_a) {
|
743
|
-
var _b = __read(_a, 2), first = _b[0], second = _b[1];
|
744
|
-
return !!first.touches.length &&
|
745
|
-
first.touches[0].identifier ===
|
746
|
-
second.changedTouches[0].identifier;
|
747
|
-
}), operators.map(function (_a) {
|
748
|
-
var _b = __read(_a, 2), start = _b[0], end = _b[1];
|
749
|
-
var startX = start.touches[0].clientX;
|
750
|
-
var startY = start.touches[0].clientY;
|
751
|
-
var endX = end.changedTouches[0].clientX;
|
752
|
-
var endY = end.changedTouches[0].clientY;
|
753
|
-
var distanceX = startX - endX;
|
754
|
-
var distanceY = startY - endY;
|
755
|
-
var duration = end.timeStamp - start.timeStamp;
|
756
|
-
if ((Math.abs(distanceX) > threshold ||
|
757
|
-
Math.abs(distanceY) > threshold) &&
|
758
|
-
duration < timeout) {
|
759
|
-
return {
|
760
|
-
direction: miscellaneous.tuiGetSwipeDirection(distanceX, distanceY),
|
761
|
-
events: [start, end],
|
762
|
-
};
|
763
|
-
}
|
764
|
-
return null;
|
765
|
-
}), operators.filter(miscellaneous.tuiIsPresent))
|
766
|
-
.subscribe(subscriber);
|
767
|
-
}) || this;
|
768
|
-
}
|
769
|
-
return TuiSwipeService;
|
770
|
-
}(i1.Observable));
|
771
|
-
TuiSwipeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiSwipeService, deps: [{ token: i0.ElementRef }, { token: tokens.TUI_SWIPE_OPTIONS }, { token: common$1.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
772
|
-
TuiSwipeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiSwipeService });
|
773
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiSwipeService, decorators: [{
|
774
|
-
type: i0.Injectable
|
775
|
-
}], ctorParameters: function () {
|
776
|
-
return [{ type: i0__namespace.ElementRef, decorators: [{
|
777
|
-
type: i0.Inject,
|
778
|
-
args: [i0.ElementRef]
|
779
|
-
}] }, { type: undefined, decorators: [{
|
780
|
-
type: i0.Inject,
|
781
|
-
args: [tokens.TUI_SWIPE_OPTIONS]
|
782
|
-
}] }, { type: Document, decorators: [{
|
783
|
-
type: i0.Inject,
|
784
|
-
args: [common$1.DOCUMENT]
|
785
|
-
}] }];
|
786
|
-
} });
|
787
|
-
|
788
|
-
var TOUCH_SENSITIVITY = 0.01;
|
789
|
-
var TuiZoomService = /** @class */ (function (_super) {
|
790
|
-
__extends(TuiZoomService, _super);
|
791
|
-
function TuiZoomService(_a, _b) {
|
792
|
-
var nativeElement = _a.nativeElement;
|
793
|
-
var wheelSensitivity = _b.wheelSensitivity;
|
794
|
-
return _super.call(this, function (subscriber) {
|
795
|
-
i1.merge(observables.tuiTypedFromEvent(nativeElement, "touchstart", { passive: true }).pipe(operators.filter(function (_a) {
|
796
|
-
var touches = _a.touches;
|
797
|
-
return touches.length > 1;
|
798
|
-
}), operators.switchMap(function (startEvent) { return observables.tuiTypedFromEvent(nativeElement, "touchmove", {
|
799
|
-
passive: true,
|
800
|
-
}).pipe(observables.tuiPreventDefault(), operators.scan(function (prev, event) {
|
801
|
-
var distance = utils.tuiDistanceBetweenTouches(event);
|
802
|
-
return {
|
803
|
-
event: event,
|
804
|
-
distance: distance,
|
805
|
-
delta: (distance - prev.distance) *
|
806
|
-
TOUCH_SENSITIVITY,
|
807
|
-
};
|
808
|
-
}, {
|
809
|
-
event: startEvent,
|
810
|
-
distance: utils.tuiDistanceBetweenTouches(startEvent),
|
811
|
-
delta: 0,
|
812
|
-
}), operators.map(function (_a) {
|
813
|
-
var event = _a.event, delta = _a.delta;
|
814
|
-
var clientX = (event.touches[0].clientX +
|
815
|
-
event.touches[1].clientX) /
|
816
|
-
2;
|
817
|
-
var clientY = (event.touches[0].clientY +
|
818
|
-
event.touches[1].clientY) /
|
819
|
-
2;
|
820
|
-
return { clientX: clientX, clientY: clientY, delta: delta, event: event };
|
821
|
-
}), operators.takeUntil(observables.tuiTypedFromEvent(nativeElement, "touchend"))); })), observables.tuiTypedFromEvent(nativeElement, "wheel", { passive: false }).pipe(observables.tuiPreventDefault(), operators.map(function (wheel) { return ({
|
822
|
-
clientX: wheel.clientX,
|
823
|
-
clientY: wheel.clientY,
|
824
|
-
delta: -wheel.deltaY * wheelSensitivity,
|
825
|
-
event: wheel,
|
826
|
-
}); }))).subscribe(subscriber);
|
827
|
-
}) || this;
|
828
|
-
}
|
829
|
-
return TuiZoomService;
|
830
|
-
}(i1.Observable));
|
831
|
-
TuiZoomService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiZoomService, deps: [{ token: i0.ElementRef }, { token: tokens.TUI_ZOOM_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
832
|
-
TuiZoomService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiZoomService });
|
833
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiZoomService, decorators: [{
|
834
|
-
type: i0.Injectable
|
835
|
-
}], ctorParameters: function () {
|
836
|
-
return [{ type: i0__namespace.ElementRef, decorators: [{
|
837
|
-
type: i0.Inject,
|
838
|
-
args: [i0.ElementRef]
|
839
|
-
}] }, { type: undefined, decorators: [{
|
840
|
-
type: i0.Inject,
|
841
|
-
args: [tokens.TUI_ZOOM_OPTIONS]
|
842
|
-
}] }];
|
843
|
-
} });
|
844
|
-
|
845
|
-
/**
|
846
|
-
* Generated bundle index. Do not edit.
|
847
|
-
*/
|
848
|
-
|
849
|
-
exports.TuiDestroyService = TuiDestroyService;
|
850
|
-
exports.TuiDirectiveStylesService = TuiDirectiveStylesService;
|
851
|
-
exports.TuiFocusVisibleService = TuiFocusVisibleService;
|
852
|
-
exports.TuiIdService = TuiIdService;
|
853
|
-
exports.TuiObscuredService = TuiObscuredService;
|
854
|
-
exports.TuiPanService = TuiPanService;
|
855
|
-
exports.TuiParentsScrollService = TuiParentsScrollService;
|
856
|
-
exports.TuiResizeService = TuiResizeService;
|
857
|
-
exports.TuiScrollService = TuiScrollService;
|
858
|
-
exports.TuiStaticRequestService = TuiStaticRequestService;
|
859
|
-
exports.TuiSwipeService = TuiSwipeService;
|
860
|
-
exports.TuiZoomService = TuiZoomService;
|
861
|
-
|
862
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
863
|
-
|
864
|
-
}));
|
865
|
-
//# sourceMappingURL=taiga-ui-cdk-services.umd.js.map
|