@taiga-ui/cdk 2.61.0 → 3.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/abstract/control.d.ts +5 -1
- package/abstract/controller.d.ts +4 -7
- package/abstract/dialog.directive.d.ts +3 -0
- package/abstract/dialog.service.d.ts +4 -1
- package/abstract/interactive.d.ts +6 -19
- package/abstract/multiple-control.d.ts +3 -0
- package/abstract/nullable-control.d.ts +3 -0
- package/abstract/package.json +2 -5
- package/abstract/portal-host.d.ts +8 -3
- package/abstract/portal-service.d.ts +6 -2
- package/abstract/taiga-ui-cdk-abstract.d.ts +1 -0
- package/abstract/theme-switcher.d.ts +3 -1
- package/bundles/taiga-ui-cdk-abstract.umd.js +567 -497
- package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-classes.umd.js +7 -13
- package/bundles/taiga-ui-cdk-classes.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-coercion.umd.js +7 -3
- package/bundles/taiga-ui-cdk-coercion.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-alert-host.umd.js +68 -284
- package/bundles/taiga-ui-cdk-components-alert-host.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.js +420 -296
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js +405 -270
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components.umd.js +11 -25
- package/bundles/taiga-ui-cdk-components.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-constants.umd.js +16 -15
- package/bundles/taiga-ui-cdk-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-date-time.umd.js +370 -464
- package/bundles/taiga-ui-cdk-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-decorators.umd.js +335 -259
- package/bundles/taiga-ui-cdk-decorators.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.js +407 -295
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js +454 -337
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-autofilled.umd.js +102 -316
- package/bundles/taiga-ui-cdk-directives-autofilled.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-checked.umd.js +60 -278
- package/bundles/taiga-ui-cdk-directives-checked.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js +383 -273
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-drag.umd.js +64 -281
- package/bundles/taiga-ui-cdk-directives-drag.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-droppable.umd.js +62 -280
- package/bundles/taiga-ui-cdk-directives-droppable.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-element.umd.js +377 -267
- package/bundles/taiga-ui-cdk-directives-element.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js +75 -288
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js +51 -268
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focusable.umd.js +50 -268
- package/bundles/taiga-ui-cdk-directives-focusable.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focused.umd.js +54 -271
- package/bundles/taiga-ui-cdk-directives-focused.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-for-async.umd.js +380 -271
- package/bundles/taiga-ui-cdk-directives-for-async.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-for.umd.js +54 -274
- package/bundles/taiga-ui-cdk-directives-for.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js +54 -270
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-hovered.umd.js +413 -290
- package/bundles/taiga-ui-cdk-directives-hovered.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-input-mode.umd.js +64 -276
- package/bundles/taiga-ui-cdk-directives-input-mode.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-item.umd.js +62 -281
- package/bundles/taiga-ui-cdk-directives-item.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-let.umd.js +55 -272
- package/bundles/taiga-ui-cdk-directives-let.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-media.umd.js +434 -321
- package/bundles/taiga-ui-cdk-directives-media.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-obscured.umd.js +397 -284
- package/bundles/taiga-ui-cdk-directives-obscured.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.js +81 -297
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-pan.umd.js +51 -268
- package/bundles/taiga-ui-cdk-directives-pan.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-portal.umd.js +57 -273
- package/bundles/taiga-ui-cdk-directives-portal.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-pressed.umd.js +54 -271
- package/bundles/taiga-ui-cdk-directives-pressed.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js +61 -275
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js +385 -273
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-resize.umd.js +51 -268
- package/bundles/taiga-ui-cdk-directives-resize.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-swipe.umd.js +51 -268
- package/bundles/taiga-ui-cdk-directives-swipe.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-validator.umd.js +388 -274
- package/bundles/taiga-ui-cdk-directives-validator.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-zoom.umd.js +54 -271
- package/bundles/taiga-ui-cdk-directives-zoom.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives.umd.js +71 -125
- package/bundles/taiga-ui-cdk-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-enums.umd.js +14 -62
- package/bundles/taiga-ui-cdk-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-exceptions.umd.js +341 -298
- package/bundles/taiga-ui-cdk-exceptions.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-interfaces.umd.js +2 -2
- package/bundles/taiga-ui-cdk-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-observables.umd.js +38 -101
- package/bundles/taiga-ui-cdk-observables.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-filter.umd.js +369 -260
- package/bundles/taiga-ui-cdk-pipes-filter.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-keys.umd.js +41 -259
- package/bundles/taiga-ui-cdk-pipes-keys.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-mapper.umd.js +369 -260
- package/bundles/taiga-ui-cdk-pipes-mapper.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes.umd.js +9 -15
- package/bundles/taiga-ui-cdk-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-services.umd.js +585 -504
- package/bundles/taiga-ui-cdk-services.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-tokens.umd.js +392 -289
- package/bundles/taiga-ui-cdk-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-types.umd.js +2 -2
- package/bundles/taiga-ui-cdk-types.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-browser.umd.js +11 -42
- package/bundles/taiga-ui-cdk-utils-browser.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-color.umd.js +81 -0
- package/bundles/taiga-ui-cdk-utils-color.umd.js.map +1 -0
- package/bundles/taiga-ui-cdk-utils-dom.umd.js +65 -130
- package/bundles/taiga-ui-cdk-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-focus.umd.js +46 -111
- package/bundles/taiga-ui-cdk-utils-focus.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-format.umd.js +8 -27
- package/bundles/taiga-ui-cdk-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-math.umd.js +17 -68
- package/bundles/taiga-ui-cdk-utils-math.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js +363 -105
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-os.umd.js +11 -23
- package/bundles/taiga-ui-cdk-utils-os.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-svg.umd.js +335 -259
- package/bundles/taiga-ui-cdk-utils-svg.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils.umd.js +27 -37
- package/bundles/taiga-ui-cdk-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk.umd.js +47 -65
- package/bundles/taiga-ui-cdk.umd.js.map +1 -1
- package/classes/assert.d.ts +0 -3
- package/classes/package.json +2 -5
- package/classes/taiga-ui-cdk-classes.d.ts +1 -0
- package/coercion/package.json +2 -5
- package/coercion/taiga-ui-cdk-coercion.d.ts +1 -0
- package/components/alert-host/alert-host.component.d.ts +3 -0
- package/components/alert-host/alert-host.module.d.ts +7 -0
- package/components/alert-host/package.json +2 -5
- package/components/alert-host/taiga-ui-cdk-components-alert-host.d.ts +1 -0
- package/components/dialog-host/dialog-host.component.d.ts +3 -6
- package/components/dialog-host/dialog-host.module.d.ts +10 -0
- package/components/dialog-host/package.json +2 -5
- package/components/dialog-host/taiga-ui-cdk-components-dialog-host.d.ts +1 -0
- package/components/dropdown-host/dropdown-host.component.d.ts +3 -0
- package/components/dropdown-host/dropdown-host.module.d.ts +5 -0
- package/components/dropdown-host/dropdown-portal.service.d.ts +9 -0
- package/components/dropdown-host/index.d.ts +1 -0
- package/components/dropdown-host/package.json +2 -5
- package/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.d.ts +1 -0
- package/components/index.d.ts +0 -1
- package/components/package.json +2 -5
- package/components/taiga-ui-cdk-components.d.ts +1 -0
- package/constants/browser.d.ts +4 -0
- package/constants/empty.d.ts +0 -3
- package/constants/package.json +2 -5
- package/constants/taiga-ui-cdk-constants.d.ts +1 -0
- package/constants/version.d.ts +1 -1
- package/constants/version.js +2 -1
- package/date-time/date-fillers.d.ts +0 -9
- package/date-time/day-range.d.ts +5 -12
- package/date-time/day.d.ts +1 -18
- package/date-time/month-range.d.ts +0 -4
- package/date-time/month.d.ts +1 -19
- package/date-time/package.json +2 -5
- package/date-time/taiga-ui-cdk-date-time.d.ts +1 -0
- package/date-time/year.d.ts +1 -17
- package/decorators/package.json +2 -5
- package/decorators/taiga-ui-cdk-decorators.d.ts +1 -0
- package/directives/active-zone/active-zone.directive.d.ts +3 -0
- package/directives/active-zone/active-zone.module.d.ts +5 -0
- package/directives/active-zone/package.json +2 -5
- package/directives/active-zone/taiga-ui-cdk-directives-active-zone.d.ts +1 -0
- package/directives/auto-focus/autofocus.directive.d.ts +4 -1
- package/directives/auto-focus/autofocus.module.d.ts +5 -0
- package/directives/auto-focus/autofocus.options.d.ts +3 -2
- package/directives/auto-focus/handlers/abstract.handler.d.ts +3 -0
- package/directives/auto-focus/handlers/default.handler.d.ts +3 -0
- package/directives/auto-focus/handlers/ios.handler.d.ts +3 -0
- package/directives/auto-focus/package.json +2 -5
- package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.d.ts +1 -0
- package/directives/autofilled/autofilled-style.component.d.ts +3 -0
- package/directives/autofilled/autofilled.directive.d.ts +3 -0
- package/directives/autofilled/autofilled.module.d.ts +6 -0
- package/directives/autofilled/package.json +2 -5
- package/directives/autofilled/taiga-ui-cdk-directives-autofilled.d.ts +1 -0
- package/directives/checked/checked.directive.d.ts +3 -0
- package/directives/checked/checked.module.d.ts +5 -0
- package/directives/checked/package.json +2 -5
- package/directives/checked/taiga-ui-cdk-directives-checked.d.ts +1 -0
- package/directives/copy-processor/copy-processor.directive.d.ts +3 -0
- package/directives/copy-processor/copy-processor.module.d.ts +5 -0
- package/directives/copy-processor/package.json +2 -5
- package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.d.ts +1 -0
- package/directives/drag/drag.directive.d.ts +3 -0
- package/directives/drag/drag.module.d.ts +5 -0
- package/directives/drag/package.json +2 -5
- package/directives/drag/taiga-ui-cdk-directives-drag.d.ts +1 -0
- package/directives/droppable/droppable.directive.d.ts +3 -0
- package/directives/droppable/droppable.module.d.ts +5 -0
- package/directives/droppable/package.json +2 -5
- package/directives/droppable/taiga-ui-cdk-directives-droppable.d.ts +1 -0
- package/directives/element/element.directive.d.ts +3 -0
- package/directives/element/element.module.d.ts +5 -0
- package/directives/element/package.json +2 -5
- package/directives/element/taiga-ui-cdk-directives-element.d.ts +1 -0
- package/directives/focus-trap/focus-trap.directive.d.ts +3 -0
- package/directives/focus-trap/focus-trap.module.d.ts +5 -0
- package/directives/focus-trap/package.json +2 -5
- package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.d.ts +1 -0
- package/directives/focus-visible/focus-visible.directive.d.ts +3 -1
- package/directives/focus-visible/focus-visible.module.d.ts +5 -0
- package/directives/focus-visible/package.json +2 -5
- package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.d.ts +1 -0
- package/directives/focusable/focusable.directive.d.ts +3 -0
- package/directives/focusable/focusable.module.d.ts +5 -0
- package/directives/focusable/package.json +2 -5
- package/directives/focusable/taiga-ui-cdk-directives-focusable.d.ts +1 -0
- package/directives/focused/focused.directive.d.ts +3 -0
- package/directives/focused/focused.module.d.ts +5 -0
- package/directives/focused/package.json +2 -5
- package/directives/focused/taiga-ui-cdk-directives-focused.d.ts +1 -0
- package/directives/for/for.directive.d.ts +3 -0
- package/directives/for/for.module.d.ts +5 -0
- package/directives/for/package.json +2 -5
- package/directives/for/taiga-ui-cdk-directives-for.d.ts +1 -0
- package/directives/for-async/for-async.directive.d.ts +3 -0
- package/directives/for-async/for-async.module.d.ts +5 -0
- package/directives/for-async/package.json +2 -5
- package/directives/for-async/taiga-ui-cdk-directives-for-async.d.ts +1 -0
- package/directives/high-dpi/high-dpi.directive.d.ts +3 -1
- package/directives/high-dpi/high-dpi.module.d.ts +5 -0
- package/directives/high-dpi/package.json +2 -5
- package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.d.ts +1 -0
- package/directives/hovered/hovered.directive.d.ts +6 -5
- package/directives/hovered/hovered.module.d.ts +5 -0
- package/directives/hovered/hovered.service.d.ts +11 -0
- package/directives/hovered/index.d.ts +1 -0
- package/directives/hovered/package.json +2 -5
- package/directives/hovered/taiga-ui-cdk-directives-hovered.d.ts +1 -0
- package/directives/index.d.ts +1 -0
- package/directives/input-mode/input-mode.directive.d.ts +5 -2
- package/directives/input-mode/input-mode.module.d.ts +5 -0
- package/directives/input-mode/package.json +2 -5
- package/directives/input-mode/taiga-ui-cdk-directives-input-mode.d.ts +1 -0
- package/directives/item/item.directive.d.ts +4 -2
- package/directives/item/item.module.d.ts +5 -0
- package/directives/item/package.json +2 -5
- package/directives/item/taiga-ui-cdk-directives-item.d.ts +1 -0
- package/directives/let/let.directive.d.ts +3 -0
- package/directives/let/let.module.d.ts +5 -0
- package/directives/let/package.json +2 -5
- package/directives/let/taiga-ui-cdk-directives-let.d.ts +1 -0
- package/directives/media/media.directive.d.ts +3 -2
- package/directives/media/media.module.d.ts +5 -0
- package/directives/media/package.json +2 -5
- package/directives/media/taiga-ui-cdk-directives-media.d.ts +1 -0
- package/directives/obscured/obscured.directive.d.ts +3 -0
- package/directives/obscured/obscured.module.d.ts +5 -0
- package/directives/obscured/package.json +2 -5
- package/directives/obscured/taiga-ui-cdk-directives-obscured.d.ts +1 -0
- package/directives/overscroll/overscroll.directive.d.ts +5 -3
- package/directives/overscroll/overscroll.module.d.ts +5 -0
- package/directives/overscroll/package.json +2 -5
- package/directives/overscroll/taiga-ui-cdk-directives-overscroll.d.ts +1 -0
- package/directives/package.json +2 -5
- package/directives/pan/package.json +2 -5
- package/directives/pan/pan.directive.d.ts +3 -0
- package/directives/pan/pan.module.d.ts +5 -0
- package/directives/pan/taiga-ui-cdk-directives-pan.d.ts +1 -0
- package/directives/portal/package.json +2 -5
- package/directives/portal/portal.directive.d.ts +5 -2
- package/directives/portal/portal.module.d.ts +5 -0
- package/directives/portal/taiga-ui-cdk-directives-portal.d.ts +1 -0
- package/directives/pressed/package.json +2 -5
- package/directives/pressed/pressed.directive.d.ts +3 -0
- package/directives/pressed/pressed.module.d.ts +5 -0
- package/directives/pressed/taiga-ui-cdk-directives-pressed.d.ts +1 -0
- package/directives/prevent-default/package.json +2 -5
- package/directives/prevent-default/prevent-default.directive.d.ts +3 -1
- package/directives/prevent-default/prevent-default.module.d.ts +5 -0
- package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.d.ts +1 -0
- package/directives/repeat-times/package.json +2 -5
- package/directives/repeat-times/repeat-times.directive.d.ts +3 -0
- package/directives/repeat-times/repeat-times.module.d.ts +5 -0
- package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.d.ts +1 -0
- package/directives/resize/package.json +2 -5
- package/directives/resize/resize.directive.d.ts +3 -1
- package/directives/resize/resize.module.d.ts +5 -0
- package/directives/resize/taiga-ui-cdk-directives-resize.d.ts +1 -0
- package/directives/swipe/package.json +2 -5
- package/directives/swipe/swipe.directive.d.ts +3 -0
- package/directives/swipe/swipe.module.d.ts +5 -0
- package/directives/swipe/taiga-ui-cdk-directives-swipe.d.ts +1 -0
- package/directives/taiga-ui-cdk-directives.d.ts +1 -0
- package/directives/validator/package.json +2 -5
- package/directives/validator/taiga-ui-cdk-directives-validator.d.ts +1 -0
- package/directives/validator/validator.directive.d.ts +3 -0
- package/directives/validator/validator.module.d.ts +5 -0
- package/directives/zoom/package.json +2 -5
- package/directives/zoom/taiga-ui-cdk-directives-zoom.d.ts +1 -0
- package/directives/zoom/zoom.directive.d.ts +3 -0
- package/directives/zoom/zoom.module.d.ts +5 -0
- package/enums/autocomplete.d.ts +0 -10
- package/enums/index.d.ts +0 -3
- package/enums/package.json +2 -5
- package/enums/taiga-ui-cdk-enums.d.ts +1 -0
- package/esm2015/abstract/control.js +28 -20
- package/esm2015/abstract/controller.js +9 -8
- package/esm2015/abstract/dialog.directive.js +19 -16
- package/esm2015/abstract/dialog.service.js +13 -12
- package/esm2015/abstract/index.js +1 -1
- package/esm2015/abstract/interactive.js +41 -83
- package/esm2015/abstract/multiple-control.js +9 -8
- package/esm2015/abstract/nullable-control.js +9 -8
- package/esm2015/abstract/portal-host.js +34 -30
- package/esm2015/abstract/portal-service.js +12 -11
- package/esm2015/abstract/taiga-ui-cdk-abstract.js +1 -1
- package/esm2015/abstract/theme-switcher.js +12 -14
- package/esm2015/classes/assert.js +1 -10
- package/esm2015/classes/index.js +1 -1
- package/esm2015/classes/taiga-ui-cdk-classes.js +1 -1
- package/esm2015/classes/validation-error.js +1 -1
- package/esm2015/coercion/coerce-boolean-property.js +1 -1
- package/esm2015/coercion/index.js +1 -1
- package/esm2015/coercion/taiga-ui-cdk-coercion.js +1 -1
- package/esm2015/components/alert-host/alert-host.component.js +25 -21
- package/esm2015/components/alert-host/alert-host.module.js +15 -12
- package/esm2015/components/alert-host/index.js +1 -1
- package/esm2015/components/alert-host/taiga-ui-cdk-components-alert-host.js +1 -1
- package/esm2015/components/dialog-host/dialog-host.component.js +38 -30
- package/esm2015/components/dialog-host/dialog-host.module.js +26 -13
- package/esm2015/components/dialog-host/index.js +1 -1
- package/esm2015/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +1 -1
- package/esm2015/components/dropdown-host/dropdown-host.component.js +26 -18
- package/esm2015/components/dropdown-host/dropdown-host.module.js +14 -11
- package/esm2015/components/dropdown-host/dropdown-portal.service.js +17 -0
- package/esm2015/components/dropdown-host/index.js +2 -1
- package/esm2015/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +1 -1
- package/esm2015/components/index.js +1 -2
- package/esm2015/components/taiga-ui-cdk-components.js +1 -1
- package/esm2015/constants/always-false-handler.js +1 -1
- package/esm2015/constants/always-true-handler.js +1 -1
- package/esm2015/constants/browser.js +5 -1
- package/esm2015/constants/empty.js +1 -3
- package/esm2015/constants/index.js +1 -1
- package/esm2015/constants/matcher.js +1 -1
- package/esm2015/constants/parent-animation.js +1 -1
- package/esm2015/constants/polling-time.js +1 -1
- package/esm2015/constants/stringify.js +1 -1
- package/esm2015/constants/svg-node-filter.js +1 -1
- package/esm2015/constants/taiga-ui-cdk-constants.js +1 -1
- package/esm2015/constants/unicode-chars.js +1 -1
- package/esm2015/constants/version.js +2 -2
- package/esm2015/date-time/date-fillers.js +1 -17
- package/esm2015/date-time/date-format.js +1 -1
- package/esm2015/date-time/date-separator.js +1 -1
- package/esm2015/date-time/date-time.js +1 -1
- package/esm2015/date-time/day-range.js +3 -18
- package/esm2015/date-time/day.js +12 -53
- package/esm2015/date-time/days.const.js +1 -1
- package/esm2015/date-time/index.js +1 -1
- package/esm2015/date-time/month-range.js +1 -7
- package/esm2015/date-time/month.js +8 -42
- package/esm2015/date-time/taiga-ui-cdk-date-time.js +1 -1
- package/esm2015/date-time/time.js +8 -9
- package/esm2015/date-time/year.js +7 -39
- package/esm2015/decorators/default-prop.js +1 -1
- package/esm2015/decorators/index.js +1 -1
- package/esm2015/decorators/pure.js +1 -1
- package/esm2015/decorators/required-setter.js +1 -1
- package/esm2015/decorators/taiga-ui-cdk-decorators.js +1 -1
- package/esm2015/directives/active-zone/active-zone.directive.js +39 -35
- package/esm2015/directives/active-zone/active-zone.module.js +14 -11
- package/esm2015/directives/active-zone/index.js +1 -1
- package/esm2015/directives/active-zone/taiga-ui-cdk-directives-active-zone.js +1 -1
- package/esm2015/directives/auto-focus/autofocus.directive.js +21 -20
- package/esm2015/directives/auto-focus/autofocus.module.js +14 -11
- package/esm2015/directives/auto-focus/autofocus.options.js +4 -9
- package/esm2015/directives/auto-focus/handlers/abstract.handler.js +10 -13
- package/esm2015/directives/auto-focus/handlers/default.handler.js +24 -19
- package/esm2015/directives/auto-focus/handlers/ios.handler.js +34 -29
- package/esm2015/directives/auto-focus/index.js +1 -1
- package/esm2015/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js +1 -1
- package/esm2015/directives/autofilled/autofilled-style.component.js +14 -12
- package/esm2015/directives/autofilled/autofilled.directive.js +25 -24
- package/esm2015/directives/autofilled/autofilled.module.js +15 -12
- package/esm2015/directives/autofilled/index.js +1 -1
- package/esm2015/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +1 -1
- package/esm2015/directives/checked/checked.directive.js +25 -25
- package/esm2015/directives/checked/checked.module.js +14 -11
- package/esm2015/directives/checked/index.js +1 -1
- package/esm2015/directives/checked/taiga-ui-cdk-directives-checked.js +1 -1
- package/esm2015/directives/copy-processor/copy-processor.directive.js +21 -19
- package/esm2015/directives/copy-processor/copy-processor.module.js +14 -11
- package/esm2015/directives/copy-processor/index.js +1 -1
- package/esm2015/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js +1 -1
- package/esm2015/directives/drag/drag.directive.js +26 -25
- package/esm2015/directives/drag/drag.module.js +14 -11
- package/esm2015/directives/drag/index.js +1 -1
- package/esm2015/directives/drag/taiga-ui-cdk-directives-drag.js +1 -1
- package/esm2015/directives/droppable/droppable.directive.js +31 -31
- package/esm2015/directives/droppable/droppable.module.js +14 -11
- package/esm2015/directives/droppable/index.js +1 -1
- package/esm2015/directives/droppable/taiga-ui-cdk-directives-droppable.js +1 -1
- package/esm2015/directives/element/element.directive.js +16 -15
- package/esm2015/directives/element/element.module.js +14 -11
- package/esm2015/directives/element/index.js +1 -1
- package/esm2015/directives/element/taiga-ui-cdk-directives-element.js +1 -1
- package/esm2015/directives/focus-trap/focus-trap.directive.js +45 -40
- package/esm2015/directives/focus-trap/focus-trap.module.js +14 -11
- package/esm2015/directives/focus-trap/index.js +1 -1
- package/esm2015/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js +1 -1
- package/esm2015/directives/focus-visible/focus-visible.directive.js +18 -18
- package/esm2015/directives/focus-visible/focus-visible.module.js +14 -11
- package/esm2015/directives/focus-visible/index.js +1 -1
- package/esm2015/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +1 -1
- package/esm2015/directives/focusable/focusable.directive.js +18 -16
- package/esm2015/directives/focusable/focusable.module.js +14 -11
- package/esm2015/directives/focusable/index.js +1 -1
- package/esm2015/directives/focusable/taiga-ui-cdk-directives-focusable.js +1 -1
- package/esm2015/directives/focused/focused.directive.js +23 -22
- package/esm2015/directives/focused/focused.module.js +14 -11
- package/esm2015/directives/focused/index.js +1 -1
- package/esm2015/directives/focused/taiga-ui-cdk-directives-focused.js +1 -1
- package/esm2015/directives/for/for.directive.js +22 -24
- package/esm2015/directives/for/for.module.js +14 -11
- package/esm2015/directives/for/index.js +1 -1
- package/esm2015/directives/for/taiga-ui-cdk-directives-for.js +1 -1
- package/esm2015/directives/for-async/for-async.directive.js +21 -21
- package/esm2015/directives/for-async/for-async.module.js +14 -11
- package/esm2015/directives/for-async/index.js +1 -1
- package/esm2015/directives/for-async/taiga-ui-cdk-directives-for-async.js +1 -1
- package/esm2015/directives/high-dpi/high-dpi.directive.js +21 -19
- package/esm2015/directives/high-dpi/high-dpi.module.js +14 -11
- package/esm2015/directives/high-dpi/index.js +1 -1
- package/esm2015/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js +1 -1
- package/esm2015/directives/hovered/hovered.directive.js +21 -40
- package/esm2015/directives/hovered/hovered.module.js +14 -11
- package/esm2015/directives/hovered/hovered.service.js +33 -0
- package/esm2015/directives/hovered/index.js +2 -1
- package/esm2015/directives/hovered/taiga-ui-cdk-directives-hovered.js +1 -1
- package/esm2015/directives/index.js +2 -1
- package/esm2015/directives/input-mode/index.js +1 -1
- package/esm2015/directives/input-mode/input-mode.directive.js +30 -24
- package/esm2015/directives/input-mode/input-mode.module.js +14 -11
- package/esm2015/directives/input-mode/taiga-ui-cdk-directives-input-mode.js +1 -1
- package/esm2015/directives/item/index.js +1 -1
- package/esm2015/directives/item/item.directive.js +13 -12
- package/esm2015/directives/item/item.module.js +14 -11
- package/esm2015/directives/item/taiga-ui-cdk-directives-item.js +1 -1
- package/esm2015/directives/let/index.js +1 -1
- package/esm2015/directives/let/let-context.js +1 -1
- package/esm2015/directives/let/let.directive.js +20 -19
- package/esm2015/directives/let/let.module.js +14 -11
- package/esm2015/directives/let/taiga-ui-cdk-directives-let.js +1 -1
- package/esm2015/directives/media/index.js +1 -1
- package/esm2015/directives/media/media.directive.js +63 -56
- package/esm2015/directives/media/media.module.js +14 -11
- package/esm2015/directives/media/taiga-ui-cdk-directives-media.js +1 -1
- package/esm2015/directives/obscured/index.js +1 -1
- package/esm2015/directives/obscured/obscured.directive.js +30 -23
- package/esm2015/directives/obscured/obscured.module.js +14 -11
- package/esm2015/directives/obscured/taiga-ui-cdk-directives-obscured.js +1 -1
- package/esm2015/directives/overscroll/index.js +1 -1
- package/esm2015/directives/overscroll/overscroll.directive.js +41 -40
- package/esm2015/directives/overscroll/overscroll.module.js +14 -11
- package/esm2015/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +1 -1
- package/esm2015/directives/pan/index.js +1 -1
- package/esm2015/directives/pan/pan.directive.js +18 -18
- package/esm2015/directives/pan/pan.module.js +14 -11
- package/esm2015/directives/pan/taiga-ui-cdk-directives-pan.js +1 -1
- package/esm2015/directives/portal/index.js +1 -1
- package/esm2015/directives/portal/portal.directive.js +23 -21
- package/esm2015/directives/portal/portal.module.js +14 -11
- package/esm2015/directives/portal/taiga-ui-cdk-directives-portal.js +1 -1
- package/esm2015/directives/pressed/index.js +1 -1
- package/esm2015/directives/pressed/pressed.directive.js +22 -21
- package/esm2015/directives/pressed/pressed.module.js +14 -11
- package/esm2015/directives/pressed/taiga-ui-cdk-directives-pressed.js +1 -1
- package/esm2015/directives/prevent-default/index.js +1 -1
- package/esm2015/directives/prevent-default/prevent-default.directive.js +29 -25
- package/esm2015/directives/prevent-default/prevent-default.module.js +14 -11
- package/esm2015/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +1 -1
- package/esm2015/directives/repeat-times/index.js +1 -1
- package/esm2015/directives/repeat-times/repeat-times.directive.js +23 -19
- package/esm2015/directives/repeat-times/repeat-times.module.js +14 -11
- package/esm2015/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js +1 -1
- package/esm2015/directives/resize/index.js +1 -1
- package/esm2015/directives/resize/resize.directive.js +18 -18
- package/esm2015/directives/resize/resize.module.js +14 -11
- package/esm2015/directives/resize/taiga-ui-cdk-directives-resize.js +1 -1
- package/esm2015/directives/swipe/index.js +1 -1
- package/esm2015/directives/swipe/swipe.directive.js +18 -18
- package/esm2015/directives/swipe/swipe.module.js +14 -11
- package/esm2015/directives/swipe/taiga-ui-cdk-directives-swipe.js +1 -1
- package/esm2015/directives/taiga-ui-cdk-directives.js +1 -1
- package/esm2015/directives/validator/index.js +1 -1
- package/esm2015/directives/validator/taiga-ui-cdk-directives-validator.js +1 -1
- package/esm2015/directives/validator/validator.directive.js +27 -18
- package/esm2015/directives/validator/validator.module.js +14 -11
- package/esm2015/directives/zoom/index.js +1 -1
- package/esm2015/directives/zoom/taiga-ui-cdk-directives-zoom.js +1 -1
- package/esm2015/directives/zoom/zoom.directive.js +21 -21
- package/esm2015/directives/zoom/zoom.module.js +14 -11
- package/esm2015/enums/autocomplete.js +1 -11
- package/esm2015/enums/day-of-week.js +1 -1
- package/esm2015/enums/index.js +1 -4
- package/esm2015/enums/month-number.js +1 -1
- package/esm2015/enums/taiga-ui-cdk-enums.js +1 -1
- package/esm2015/exceptions/computed-document.exception.js +1 -1
- package/esm2015/exceptions/document-selection.exception.js +1 -1
- package/esm2015/exceptions/index.js +1 -1
- package/esm2015/exceptions/invalid-day.exception.js +2 -9
- package/esm2015/exceptions/invalid-month.exception.js +2 -9
- package/esm2015/exceptions/invalid-year.exception.js +2 -9
- package/esm2015/exceptions/no-host.exception.js +1 -1
- package/esm2015/exceptions/owner-document.exception.js +1 -1
- package/esm2015/exceptions/pure.exception.js +1 -1
- package/esm2015/exceptions/table-sort-key.exception.js +1 -1
- package/esm2015/exceptions/taiga-ui-cdk-exceptions.js +1 -1
- package/esm2015/exceptions/ts-parser.exception.js +1 -1
- package/esm2015/exceptions/value-changes.exception.js +1 -1
- package/esm2015/exceptions/value-present.exception.js +1 -1
- package/esm2015/exceptions/xml-parsing.exception.js +1 -1
- package/esm2015/index.js +3 -1
- package/esm2015/interfaces/alert-context.js +2 -1
- package/esm2015/interfaces/aria-dialog-context.js +2 -1
- package/esm2015/interfaces/base-dialog-context.js +2 -1
- package/esm2015/interfaces/base-dialog.js +2 -1
- package/esm2015/interfaces/context-with-implicit.js +2 -1
- package/esm2015/interfaces/control-value-transformer.js +2 -1
- package/esm2015/interfaces/day-like.js +2 -1
- package/esm2015/interfaces/focusable-element-accessor.js +2 -1
- package/esm2015/interfaces/index.js +14 -1
- package/esm2015/interfaces/month-like.js +2 -1
- package/esm2015/interfaces/swipe.js +2 -1
- package/esm2015/interfaces/taiga-ui-cdk-interfaces.js +2 -1
- package/esm2015/interfaces/time-like.js +2 -1
- package/esm2015/interfaces/year-like.js +2 -1
- package/esm2015/interfaces/zoom.js +2 -1
- package/esm2015/observables/drag-and-drop-from.js +6 -11
- package/esm2015/observables/focus-visible-observable.js +9 -14
- package/esm2015/observables/index.js +1 -1
- package/esm2015/observables/is-alive.js +1 -1
- package/esm2015/observables/items-query-list-observable.js +4 -7
- package/esm2015/observables/mouse-drag-finish-from.js +4 -7
- package/esm2015/observables/must-be-present.js +4 -9
- package/esm2015/observables/pressed-observable.js +5 -10
- package/esm2015/observables/prevent-default.js +2 -7
- package/esm2015/observables/replay-control-value-changes.js +2 -3
- package/esm2015/observables/stop-propagation.js +2 -7
- package/esm2015/observables/taiga-ui-cdk-observables.js +1 -1
- package/esm2015/observables/typed-from-event.js +2 -7
- package/esm2015/observables/watch.js +2 -7
- package/esm2015/observables/zone-free.js +1 -1
- package/esm2015/pipes/filter/filter.module.js +14 -11
- package/esm2015/pipes/filter/filter.pipe.js +10 -8
- package/esm2015/pipes/filter/index.js +1 -1
- package/esm2015/pipes/filter/taiga-ui-cdk-pipes-filter.js +1 -1
- package/esm2015/pipes/index.js +1 -1
- package/esm2015/pipes/keys/index.js +1 -1
- package/esm2015/pipes/keys/keys.module.js +14 -11
- package/esm2015/pipes/keys/keys.pipe.js +10 -8
- package/esm2015/pipes/keys/taiga-ui-cdk-pipes-keys.js +1 -1
- package/esm2015/pipes/mapper/index.js +1 -1
- package/esm2015/pipes/mapper/mapper.module.js +14 -11
- package/esm2015/pipes/mapper/mapper.pipe.js +10 -8
- package/esm2015/pipes/mapper/taiga-ui-cdk-pipes-mapper.js +1 -1
- package/esm2015/pipes/taiga-ui-cdk-pipes.js +1 -1
- package/esm2015/services/destroy.service.js +9 -8
- package/esm2015/services/directive-styles.service.js +19 -42
- package/esm2015/services/focus-visible.service.js +21 -19
- package/esm2015/services/id.service.js +12 -13
- package/esm2015/services/index.js +1 -2
- package/esm2015/services/obscured.service.js +33 -27
- package/esm2015/services/pan.service.js +20 -22
- package/esm2015/services/parents-scroll.service.js +17 -18
- package/esm2015/services/resize.service.js +28 -24
- package/esm2015/services/scroll.service.js +22 -23
- package/esm2015/services/static-request.service.js +11 -11
- package/esm2015/services/swipe.service.js +23 -24
- package/esm2015/services/taiga-ui-cdk-services.js +1 -1
- package/esm2015/services/zoom.service.js +22 -22
- package/esm2015/taiga-ui-cdk.js +1 -1
- package/esm2015/tokens/active-element.js +16 -16
- package/esm2015/tokens/alerts.js +8 -1
- package/esm2015/tokens/default-renderer.js +1 -1
- package/esm2015/tokens/dialogs.js +8 -1
- package/esm2015/tokens/focusable-item-accessor.js +7 -1
- package/esm2015/tokens/index.js +2 -2
- package/esm2015/tokens/is-android.js +1 -1
- package/esm2015/tokens/is-apple.js +3 -3
- package/esm2015/tokens/is-chromium.js +1 -1
- package/esm2015/tokens/is-cypress.js +1 -1
- package/esm2015/tokens/is-firefox.js +1 -1
- package/esm2015/tokens/is-ios.js +3 -3
- package/esm2015/tokens/is-mobile.js +1 -1
- package/esm2015/tokens/is-webkit.js +1 -1
- package/esm2015/tokens/range.js +8 -0
- package/esm2015/tokens/removed-element.js +2 -3
- package/esm2015/tokens/swipe-options.js +1 -1
- package/esm2015/tokens/taiga-ui-cdk-tokens.js +1 -1
- package/esm2015/tokens/take-only-trusted-events.js +1 -1
- package/esm2015/tokens/touch-supported.js +1 -1
- package/esm2015/tokens/window-height.js +3 -3
- package/esm2015/tokens/zoom-options.js +1 -1
- package/esm2015/types/date-mode.js +2 -1
- package/esm2015/types/dialog.js +2 -1
- package/esm2015/types/event-with.js +2 -1
- package/esm2015/types/handler.js +2 -1
- package/esm2015/types/index.js +11 -1
- package/esm2015/types/input-mode.js +2 -1
- package/esm2015/types/input-type.js +2 -1
- package/esm2015/types/mapper.js +2 -1
- package/esm2015/types/matcher.js +2 -1
- package/esm2015/types/overscroll-mode.js +2 -1
- package/esm2015/types/taiga-ui-cdk-types.js +2 -1
- package/esm2015/types/time-mode.js +2 -1
- package/esm2015/utils/browser/index.js +1 -2
- package/esm2015/utils/browser/is-edge-older-than.js +2 -7
- package/esm2015/utils/browser/is-edge.js +2 -7
- package/esm2015/utils/browser/is-firefox.js +2 -7
- package/esm2015/utils/browser/is-safari.js +2 -7
- package/esm2015/utils/browser/taiga-ui-cdk-utils-browser.js +1 -1
- package/esm2015/utils/color/hex-to-rgb.js +12 -0
- package/esm2015/utils/color/hsv-to-rgb.js +11 -0
- package/esm2015/utils/color/index.js +6 -0
- package/esm2015/utils/color/parse-color.js +27 -0
- package/esm2015/utils/color/rgb-to-hex.js +4 -0
- package/esm2015/utils/color/rgb-to-hsv.js +7 -0
- package/{esm5/directives/for/taiga-ui-cdk-directives-for.js → esm2015/utils/color/taiga-ui-cdk-utils-color.js} +1 -1
- package/esm2015/utils/dom/can-scroll.js +2 -7
- package/esm2015/utils/dom/contains-or-after.js +2 -7
- package/esm2015/utils/dom/element-checks.js +21 -0
- package/esm2015/utils/dom/get-actual-target.js +2 -5
- package/esm2015/utils/dom/get-clipboard-data-text.js +2 -5
- package/esm2015/utils/dom/get-document-or-shadow-root.js +2 -7
- package/esm2015/utils/dom/get-element-obscurers.js +14 -17
- package/esm2015/utils/dom/get-element-offset.js +4 -7
- package/esm2015/utils/dom/get-scroll-parent.js +3 -6
- package/esm2015/utils/dom/get-selected-text.js +3 -3
- package/esm2015/utils/dom/index.js +3 -5
- package/esm2015/utils/dom/is-current-target.js +2 -7
- package/esm2015/utils/dom/is-element-editable.js +5 -0
- package/esm2015/utils/dom/is-inside-iframe.js +2 -5
- package/esm2015/utils/dom/is-node-in.js +7 -10
- package/esm2015/utils/dom/point-to-client-rect.js +1 -1
- package/esm2015/utils/dom/taiga-ui-cdk-utils-dom.js +1 -1
- package/esm2015/utils/focus/blur-native-focused.js +7 -11
- package/esm2015/utils/focus/get-closest-focusable.js +26 -0
- package/esm2015/utils/focus/get-native-focused.js +4 -6
- package/esm2015/utils/focus/index.js +2 -3
- package/esm2015/utils/focus/is-native-focused-in.js +4 -7
- package/esm2015/utils/focus/is-native-focused.js +4 -7
- package/esm2015/utils/focus/is-native-keyboard-focusable.js +4 -7
- package/esm2015/utils/focus/is-native-mouse-focusable.js +5 -9
- package/esm2015/utils/focus/move-focus.js +5 -9
- package/esm2015/utils/focus/set-native-mouse-focused.js +8 -7
- package/esm2015/utils/focus/taiga-ui-cdk-utils-focus.js +1 -1
- package/esm2015/utils/format/index.js +1 -2
- package/esm2015/utils/format/px.js +2 -5
- package/esm2015/utils/format/taiga-ui-cdk-utils-format.js +1 -1
- package/esm2015/utils/index.js +2 -1
- package/esm2015/utils/math/clamp.js +2 -5
- package/esm2015/utils/math/in-range.js +2 -12
- package/esm2015/utils/math/index.js +1 -1
- package/esm2015/utils/math/normalize-to-int-number.js +2 -5
- package/esm2015/utils/math/quantize.js +2 -5
- package/esm2015/utils/math/round.js +4 -19
- package/esm2015/utils/math/sum.js +2 -5
- package/esm2015/utils/math/taiga-ui-cdk-utils-math.js +1 -1
- package/esm2015/utils/math/to-int.js +2 -7
- package/esm2015/utils/math/to-radians.js +2 -5
- package/esm2015/utils/miscellaneous/array-remove.js +4 -0
- package/esm2015/utils/miscellaneous/array-toggle.js +6 -0
- package/esm2015/utils/miscellaneous/distance-between-touches.js +2 -7
- package/esm2015/utils/miscellaneous/ease-in-out-quad.js +2 -7
- package/esm2015/utils/miscellaneous/flat-length.js +2 -5
- package/esm2015/utils/miscellaneous/get-original-array-from-query-list.js +2 -5
- package/esm2015/utils/miscellaneous/get-swipe-direction.js +2 -7
- package/esm2015/utils/miscellaneous/index.js +4 -4
- package/esm2015/utils/miscellaneous/is-number.js +2 -7
- package/esm2015/utils/miscellaneous/is-present.js +2 -7
- package/esm2015/utils/miscellaneous/is-string.js +4 -0
- package/esm2015/utils/miscellaneous/mark-control-as-touched-and-validate.js +4 -9
- package/esm2015/utils/miscellaneous/nullable-same.js +2 -5
- package/esm2015/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js +1 -1
- package/esm2015/utils/miscellaneous/uniq-by.js +2 -7
- package/esm2015/utils/os/index.js +1 -1
- package/esm2015/utils/os/is-apple-platform.js +2 -5
- package/esm2015/utils/os/is-apple.js +4 -9
- package/esm2015/utils/os/is-ios.js +4 -9
- package/esm2015/utils/os/taiga-ui-cdk-utils-os.js +1 -1
- package/esm2015/utils/svg/index.js +1 -1
- package/esm2015/utils/svg/svg-linear-gradient-processor.js +2 -5
- package/esm2015/utils/svg/taiga-ui-cdk-utils-svg.js +1 -1
- package/esm2015/utils/taiga-ui-cdk-utils.js +1 -1
- package/exceptions/invalid-day.exception.d.ts +1 -7
- package/exceptions/invalid-month.exception.d.ts +1 -7
- package/exceptions/invalid-year.exception.d.ts +1 -7
- package/exceptions/package.json +2 -5
- package/exceptions/taiga-ui-cdk-exceptions.d.ts +1 -0
- package/fesm2015/taiga-ui-cdk-abstract.js +164 -184
- package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-classes.js +1 -10
- package/fesm2015/taiga-ui-cdk-classes.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-coercion.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-components-alert-host.js +38 -29
- package/fesm2015/taiga-ui-cdk-components-alert-host.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-components-dialog-host.js +62 -39
- package/fesm2015/taiga-ui-cdk-components-dialog-host.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-components-dropdown-host.js +53 -27
- package/fesm2015/taiga-ui-cdk-components-dropdown-host.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-components.js +0 -1
- package/fesm2015/taiga-ui-cdk-components.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-constants.js +6 -4
- package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-date-time.js +29 -170
- package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-active-zone.js +50 -41
- package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +98 -87
- package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-autofilled.js +50 -41
- package/fesm2015/taiga-ui-cdk-directives-autofilled.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-checked.js +37 -32
- package/fesm2015/taiga-ui-cdk-directives-checked.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +33 -26
- package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-drag.js +38 -32
- package/fesm2015/taiga-ui-cdk-directives-drag.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-droppable.js +43 -38
- package/fesm2015/taiga-ui-cdk-directives-droppable.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-element.js +28 -22
- package/fesm2015/taiga-ui-cdk-directives-element.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focus-trap.js +56 -46
- package/fesm2015/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focus-visible.js +30 -25
- package/fesm2015/taiga-ui-cdk-directives-focus-visible.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focusable.js +30 -23
- package/fesm2015/taiga-ui-cdk-directives-focusable.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focused.js +35 -29
- package/fesm2015/taiga-ui-cdk-directives-focused.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-for-async.js +32 -27
- package/fesm2015/taiga-ui-cdk-directives-for-async.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-for.js +33 -30
- package/fesm2015/taiga-ui-cdk-directives-for.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-high-dpi.js +33 -26
- package/fesm2015/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-hovered.js +61 -45
- package/fesm2015/taiga-ui-cdk-directives-hovered.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-input-mode.js +42 -31
- package/fesm2015/taiga-ui-cdk-directives-input-mode.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-item.js +24 -18
- package/fesm2015/taiga-ui-cdk-directives-item.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-let.js +32 -26
- package/fesm2015/taiga-ui-cdk-directives-let.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-media.js +76 -64
- package/fesm2015/taiga-ui-cdk-directives-media.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-obscured.js +42 -30
- package/fesm2015/taiga-ui-cdk-directives-obscured.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-overscroll.js +53 -47
- package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-pan.js +30 -25
- package/fesm2015/taiga-ui-cdk-directives-pan.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-portal.js +34 -27
- package/fesm2015/taiga-ui-cdk-directives-portal.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-pressed.js +34 -28
- package/fesm2015/taiga-ui-cdk-directives-pressed.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-prevent-default.js +41 -32
- package/fesm2015/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +35 -26
- package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-resize.js +30 -25
- package/fesm2015/taiga-ui-cdk-directives-resize.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-swipe.js +30 -25
- package/fesm2015/taiga-ui-cdk-directives-swipe.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-validator.js +39 -25
- package/fesm2015/taiga-ui-cdk-directives-validator.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-zoom.js +33 -28
- package/fesm2015/taiga-ui-cdk-directives-zoom.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives.js +1 -0
- package/fesm2015/taiga-ui-cdk-directives.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-enums.js +1 -53
- package/fesm2015/taiga-ui-cdk-enums.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-exceptions.js +4 -25
- package/fesm2015/taiga-ui-cdk-exceptions.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-observables.js +24 -71
- package/fesm2015/taiga-ui-cdk-observables.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-pipes-filter.js +21 -14
- package/fesm2015/taiga-ui-cdk-pipes-filter.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-pipes-keys.js +21 -14
- package/fesm2015/taiga-ui-cdk-pipes-keys.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-pipes-mapper.js +21 -14
- package/fesm2015/taiga-ui-cdk-pipes-mapper.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-services.js +213 -235
- package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-tokens.js +47 -25
- package/fesm2015/taiga-ui-cdk-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-types.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-browser.js +5 -34
- package/fesm2015/taiga-ui-cdk-utils-browser.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-color.js +67 -0
- package/fesm2015/taiga-ui-cdk-utils-color.js.map +1 -0
- package/fesm2015/taiga-ui-cdk-utils-dom.js +51 -111
- package/fesm2015/taiga-ui-cdk-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-focus.js +35 -89
- package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-format.js +2 -22
- package/fesm2015/taiga-ui-cdk-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-math.js +11 -56
- package/fesm2015/taiga-ui-cdk-utils-math.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +25 -87
- package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-os.js +6 -19
- package/fesm2015/taiga-ui-cdk-utils-os.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-svg.js +2 -5
- package/fesm2015/taiga-ui-cdk-utils-svg.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils.js +1 -0
- package/fesm2015/taiga-ui-cdk-utils.js.map +1 -1
- package/fesm2015/taiga-ui-cdk.js +2 -0
- package/fesm2015/taiga-ui-cdk.js.map +1 -1
- package/interfaces/package.json +2 -5
- package/interfaces/taiga-ui-cdk-interfaces.d.ts +1 -0
- package/observables/drag-and-drop-from.d.ts +1 -5
- package/observables/focus-visible-observable.d.ts +1 -5
- package/observables/items-query-list-observable.d.ts +1 -3
- package/observables/mouse-drag-finish-from.d.ts +1 -3
- package/observables/must-be-present.d.ts +1 -5
- package/observables/package.json +2 -5
- package/observables/pressed-observable.d.ts +1 -5
- package/observables/prevent-default.d.ts +1 -5
- package/observables/replay-control-value-changes.d.ts +1 -2
- package/observables/stop-propagation.d.ts +1 -5
- package/observables/taiga-ui-cdk-observables.d.ts +1 -0
- package/observables/typed-from-event.d.ts +5 -21
- package/observables/watch.d.ts +1 -5
- package/package.json +10 -14
- package/pipes/filter/filter.module.d.ts +5 -0
- package/pipes/filter/filter.pipe.d.ts +3 -0
- package/pipes/filter/package.json +2 -5
- package/pipes/filter/taiga-ui-cdk-pipes-filter.d.ts +1 -0
- package/pipes/keys/keys.module.d.ts +5 -0
- package/pipes/keys/keys.pipe.d.ts +3 -0
- package/pipes/keys/package.json +2 -5
- package/pipes/keys/taiga-ui-cdk-pipes-keys.d.ts +1 -0
- package/pipes/mapper/mapper.module.d.ts +5 -0
- package/pipes/mapper/mapper.pipe.d.ts +3 -0
- package/pipes/mapper/package.json +2 -5
- package/pipes/mapper/taiga-ui-cdk-pipes-mapper.d.ts +1 -0
- package/pipes/package.json +2 -5
- package/pipes/taiga-ui-cdk-pipes.d.ts +1 -0
- package/schematics/constants/file-globs.js +3 -2
- package/schematics/constants/taiga-styles.d.ts +5 -0
- package/schematics/constants/taiga-styles.js +8 -0
- package/schematics/ng-add/constants/modules.js +1 -0
- package/schematics/ng-add/constants/packages.js +1 -0
- package/schematics/ng-add/constants/versions.js +1 -0
- package/schematics/ng-add/index.js +7 -0
- package/schematics/ng-add/schema.d.ts +8 -0
- package/schematics/ng-add/schema.json +9 -0
- package/schematics/ng-add/steps/add-taiga-icons.d.ts +1 -1
- package/schematics/ng-add/steps/add-taiga-icons.js +9 -6
- package/schematics/ng-add/steps/add-taiga-modules.js +5 -0
- package/schematics/ng-add/steps/add-taiga-styles.d.ts +0 -1
- package/schematics/ng-add/steps/add-taiga-styles.js +9 -19
- package/schematics/ng-add/steps/wrap-with-tui-root.js +4 -0
- package/schematics/ng-update/constants/breakpoints.d.ts +82 -0
- package/schematics/ng-update/constants/breakpoints.js +34 -0
- package/schematics/ng-update/constants/consts.d.ts +1 -1
- package/schematics/ng-update/constants/consts.js +171 -0
- package/schematics/ng-update/constants/deprecated-functions.js +2 -36
- package/schematics/ng-update/constants/enums.js +12 -0
- package/schematics/ng-update/constants/modules.js +1 -0
- package/schematics/ng-update/constants/services.js +2 -1
- package/schematics/ng-update/constants/templates.d.ts +12 -0
- package/schematics/ng-update/constants/templates.js +344 -20
- package/schematics/ng-update/constants/tui-interactive-selectors.js +1 -0
- package/schematics/ng-update/constants/types.js +1 -0
- package/schematics/ng-update/constants/warnings.js +11 -0
- package/schematics/ng-update/index.d.ts +2 -11
- package/schematics/ng-update/index.js +35 -8
- package/schematics/ng-update/steps/migrate-date-time.js +1 -0
- package/schematics/ng-update/steps/migrate-polymorpheus.d.ts +8 -0
- package/schematics/ng-update/steps/migrate-polymorpheus.js +73 -0
- package/schematics/ng-update/steps/migrate-progress.js +1 -0
- package/schematics/ng-update/steps/migrate-sliders/index.js +1 -0
- package/schematics/ng-update/steps/migrate-sliders/migrate-input-range.js +1 -0
- package/schematics/ng-update/steps/migrate-sliders/migrate-input-slider.js +1 -0
- package/schematics/ng-update/steps/migrate-taiga-proprietary-icons.d.ts +3 -0
- package/schematics/ng-update/steps/migrate-taiga-proprietary-icons.js +51 -0
- package/schematics/ng-update/steps/migrate-templates.js +74 -17
- package/schematics/ng-update/steps/miscellaneous.js +11 -0
- package/schematics/ng-update/steps/remove-module.js +1 -0
- package/schematics/ng-update/steps/rename-types.js +1 -0
- package/schematics/ng-update/steps/replace-const.js +1 -0
- package/schematics/ng-update/steps/replace-deep-import.js +1 -0
- package/schematics/ng-update/steps/replace-enums.js +1 -0
- package/schematics/ng-update/steps/replace-functions.js +37 -0
- package/schematics/ng-update/steps/replace-services.js +1 -0
- package/schematics/ng-update/steps/replace-styles.d.ts +1 -0
- package/schematics/ng-update/steps/replace-styles.js +18 -0
- package/schematics/ng-update/steps/show-warnings.js +7 -3
- package/schematics/utils/add-import-to-closest-module.d.ts +1 -0
- package/schematics/utils/add-import-to-closest-module.js +18 -0
- package/schematics/utils/add-styles.d.ts +7 -0
- package/schematics/utils/add-styles.js +26 -0
- package/schematics/utils/add-unique-import.js +1 -0
- package/schematics/utils/angular/ng-component.js +1 -0
- package/schematics/utils/angular/ng-module.js +1 -0
- package/schematics/utils/colored-log.d.ts +1 -0
- package/schematics/utils/colored-log.js +5 -0
- package/schematics/utils/create-angular-json.d.ts +3 -0
- package/schematics/utils/create-angular-json.js +29 -0
- package/schematics/utils/get-execution-time.js +1 -0
- package/schematics/utils/get-named-import-references.js +7 -3
- package/schematics/utils/get-project-target-options.js +1 -0
- package/schematics/utils/get-project.d.ts +1 -1
- package/schematics/utils/get-project.js +1 -4
- package/schematics/utils/import-manipulations.js +1 -0
- package/schematics/utils/insert-todo.d.ts +1 -0
- package/schematics/utils/insert-todo.js +3 -1
- package/schematics/utils/progress.js +1 -0
- package/schematics/utils/replace-tag.d.ts +3 -0
- package/schematics/utils/replace-tag.js +17 -0
- package/schematics/utils/templates/elements.d.ts +3 -2
- package/schematics/utils/templates/elements.js +13 -7
- package/schematics/utils/templates/get-component-templates.js +1 -0
- package/schematics/utils/templates/ng-component-input-manipulations.d.ts +1 -1
- package/schematics/utils/templates/ng-component-input-manipulations.js +3 -12
- package/schematics/utils/templates/template-resource.js +1 -0
- package/services/destroy.service.d.ts +3 -0
- package/services/directive-styles.service.d.ts +5 -9
- package/services/focus-visible.service.d.ts +3 -1
- package/services/id.service.d.ts +3 -0
- package/services/index.d.ts +0 -1
- package/services/obscured.service.d.ts +3 -0
- package/services/package.json +2 -5
- package/services/pan.service.d.ts +3 -3
- package/services/parents-scroll.service.d.ts +3 -0
- package/services/resize.service.d.ts +4 -2
- package/services/scroll.service.d.ts +3 -0
- package/services/static-request.service.d.ts +3 -0
- package/services/swipe.service.d.ts +3 -3
- package/services/taiga-ui-cdk-services.d.ts +1 -0
- package/services/zoom.service.d.ts +3 -0
- package/taiga-ui-cdk.d.ts +1 -0
- package/tokens/alerts.d.ts +2 -1
- package/tokens/dialogs.d.ts +2 -1
- package/tokens/focusable-item-accessor.d.ts +2 -1
- package/tokens/index.d.ts +1 -1
- package/tokens/is-cypress.d.ts +0 -3
- package/tokens/package.json +2 -5
- package/tokens/range.d.ts +2 -0
- package/tokens/taiga-ui-cdk-tokens.d.ts +1 -0
- package/types/input-mode.d.ts +1 -1
- package/types/input-type.d.ts +1 -1
- package/types/overscroll-mode.d.ts +1 -1
- package/types/package.json +2 -5
- package/types/taiga-ui-cdk-types.d.ts +1 -0
- package/utils/browser/index.d.ts +0 -1
- package/utils/browser/is-edge-older-than.d.ts +1 -5
- package/utils/browser/is-edge.d.ts +1 -5
- package/utils/browser/is-firefox.d.ts +1 -5
- package/utils/browser/is-safari.d.ts +1 -5
- package/utils/browser/package.json +2 -5
- package/utils/browser/taiga-ui-cdk-utils-browser.d.ts +1 -0
- package/utils/color/hex-to-rgb.d.ts +1 -0
- package/utils/color/hsv-to-rgb.d.ts +4 -0
- package/utils/color/index.d.ts +5 -0
- package/utils/color/package.json +10 -0
- package/utils/color/parse-color.d.ts +1 -0
- package/utils/color/rgb-to-hex.d.ts +1 -0
- package/utils/color/rgb-to-hsv.d.ts +1 -0
- package/{components/portal-host/taiga-ui-cdk-components-portal-host.d.ts → utils/color/taiga-ui-cdk-utils-color.d.ts} +1 -0
- package/utils/dom/can-scroll.d.ts +1 -5
- package/utils/dom/contains-or-after.d.ts +1 -5
- package/utils/dom/element-checks.d.ts +6 -0
- package/utils/dom/get-actual-target.d.ts +1 -3
- package/utils/dom/get-clipboard-data-text.d.ts +1 -3
- package/utils/dom/get-document-or-shadow-root.d.ts +1 -5
- package/utils/dom/get-element-obscurers.d.ts +1 -3
- package/utils/dom/get-element-offset.d.ts +1 -3
- package/utils/dom/get-scroll-parent.d.ts +1 -3
- package/utils/dom/index.d.ts +2 -4
- package/utils/dom/is-current-target.d.ts +1 -5
- package/utils/dom/is-element-editable.d.ts +1 -0
- package/utils/dom/is-inside-iframe.d.ts +1 -3
- package/utils/dom/is-node-in.d.ts +1 -3
- package/utils/dom/package.json +2 -5
- package/utils/dom/taiga-ui-cdk-utils-dom.d.ts +1 -0
- package/utils/focus/blur-native-focused.d.ts +1 -3
- package/utils/focus/get-closest-focusable.d.ts +27 -0
- package/utils/focus/get-native-focused.d.ts +1 -3
- package/utils/focus/index.d.ts +1 -2
- package/utils/focus/is-native-focused-in.d.ts +1 -3
- package/utils/focus/is-native-focused.d.ts +1 -3
- package/utils/focus/is-native-keyboard-focusable.d.ts +1 -3
- package/utils/focus/is-native-mouse-focusable.d.ts +1 -5
- package/utils/focus/move-focus.d.ts +1 -3
- package/utils/focus/package.json +2 -5
- package/utils/focus/set-native-mouse-focused.d.ts +1 -3
- package/utils/focus/taiga-ui-cdk-utils-focus.d.ts +1 -0
- package/utils/format/index.d.ts +0 -1
- package/utils/format/package.json +2 -5
- package/utils/format/px.d.ts +1 -3
- package/utils/format/taiga-ui-cdk-utils-format.d.ts +1 -0
- package/utils/index.d.ts +1 -0
- package/utils/math/clamp.d.ts +1 -3
- package/utils/math/in-range.d.ts +1 -10
- package/utils/math/normalize-to-int-number.d.ts +1 -3
- package/utils/math/package.json +2 -5
- package/utils/math/quantize.d.ts +1 -3
- package/utils/math/round.d.ts +3 -15
- package/utils/math/sum.d.ts +1 -3
- package/utils/math/taiga-ui-cdk-utils-math.d.ts +1 -0
- package/utils/math/to-int.d.ts +1 -5
- package/utils/math/to-radians.d.ts +1 -3
- package/utils/miscellaneous/array-remove.d.ts +1 -0
- package/utils/miscellaneous/array-toggle.d.ts +1 -0
- package/utils/miscellaneous/distance-between-touches.d.ts +1 -5
- package/utils/miscellaneous/ease-in-out-quad.d.ts +1 -5
- package/utils/miscellaneous/flat-length.d.ts +1 -3
- package/utils/miscellaneous/get-original-array-from-query-list.d.ts +1 -3
- package/utils/miscellaneous/get-swipe-direction.d.ts +1 -5
- package/utils/miscellaneous/index.d.ts +3 -3
- package/utils/miscellaneous/is-number.d.ts +1 -5
- package/utils/miscellaneous/is-present.d.ts +1 -5
- package/utils/miscellaneous/is-string.d.ts +1 -0
- package/utils/miscellaneous/mark-control-as-touched-and-validate.d.ts +1 -5
- package/utils/miscellaneous/nullable-same.d.ts +1 -3
- package/utils/miscellaneous/package.json +2 -5
- package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.d.ts +1 -0
- package/utils/miscellaneous/uniq-by.d.ts +1 -5
- package/utils/os/is-apple-platform.d.ts +1 -3
- package/utils/os/is-apple.d.ts +1 -5
- package/utils/os/is-ios.d.ts +1 -5
- package/utils/os/package.json +2 -5
- package/utils/os/taiga-ui-cdk-utils-os.d.ts +1 -0
- package/utils/package.json +2 -5
- package/utils/svg/package.json +2 -5
- package/utils/svg/svg-linear-gradient-processor.d.ts +1 -3
- package/utils/svg/taiga-ui-cdk-utils-svg.d.ts +1 -0
- package/utils/taiga-ui-cdk-utils.d.ts +1 -0
- package/abstract/taiga-ui-cdk-abstract.metadata.json +0 -1
- package/bundles/taiga-ui-cdk-abstract.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-abstract.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-classes.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-classes.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-coercion.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-coercion.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-components-alert-host.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-components-alert-host.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-components-portal-host.umd.js +0 -279
- package/bundles/taiga-ui-cdk-components-portal-host.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-components-portal-host.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-components-portal-host.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-components.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-components.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-constants.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-constants.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-date-time.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-date-time.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-decorators.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-decorators.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-checked.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-checked.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-drag.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-drag.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-droppable.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-droppable.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-element.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-element.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-focusable.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-focusable.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-focused.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-focused.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-for-async.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-for-async.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-for.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-for.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-hovered.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-hovered.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-input-mode.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-input-mode.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-item.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-item.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-let.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-let.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-media.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-media.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-obscured.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-obscured.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-pan.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-pan.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-portal.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-portal.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-pressed.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-pressed.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-resize.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-resize.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-validator.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-validator.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-enums.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-enums.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-exceptions.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-exceptions.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-interfaces.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-interfaces.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-observables.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-observables.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-pipes-filter.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-pipes-filter.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-pipes-keys.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-pipes-keys.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-pipes-mapper.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-pipes-mapper.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-pipes.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-pipes.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-services.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-services.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-tokens.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-tokens.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-types.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-types.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-browser.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-browser.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-dom.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-dom.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-focus.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-focus.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-format.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-format.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-math.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-math.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-os.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-os.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-svg.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-svg.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk.umd.min.js.map +0 -1
- package/classes/taiga-ui-cdk-classes.metadata.json +0 -1
- package/coercion/taiga-ui-cdk-coercion.metadata.json +0 -1
- package/components/alert-host/taiga-ui-cdk-components-alert-host.metadata.json +0 -1
- package/components/dialog-host/taiga-ui-cdk-components-dialog-host.metadata.json +0 -1
- package/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.metadata.json +0 -1
- package/components/portal-host/index.d.ts +0 -1
- package/components/portal-host/package.json +0 -13
- package/components/portal-host/portal.service.d.ts +0 -7
- package/components/portal-host/taiga-ui-cdk-components-portal-host.metadata.json +0 -1
- package/components/taiga-ui-cdk-components.metadata.json +0 -1
- package/constants/taiga-ui-cdk-constants.metadata.json +0 -1
- package/date-time/taiga-ui-cdk-date-time.metadata.json +0 -1
- package/decorators/taiga-ui-cdk-decorators.metadata.json +0 -1
- package/directives/active-zone/taiga-ui-cdk-directives-active-zone.metadata.json +0 -1
- package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.metadata.json +0 -1
- package/directives/autofilled/taiga-ui-cdk-directives-autofilled.metadata.json +0 -1
- package/directives/checked/taiga-ui-cdk-directives-checked.metadata.json +0 -1
- package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.metadata.json +0 -1
- package/directives/drag/taiga-ui-cdk-directives-drag.metadata.json +0 -1
- package/directives/droppable/taiga-ui-cdk-directives-droppable.metadata.json +0 -1
- package/directives/element/taiga-ui-cdk-directives-element.metadata.json +0 -1
- package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.metadata.json +0 -1
- package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.metadata.json +0 -1
- package/directives/focusable/taiga-ui-cdk-directives-focusable.metadata.json +0 -1
- package/directives/focused/taiga-ui-cdk-directives-focused.metadata.json +0 -1
- package/directives/for/taiga-ui-cdk-directives-for.metadata.json +0 -1
- package/directives/for-async/taiga-ui-cdk-directives-for-async.metadata.json +0 -1
- package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.metadata.json +0 -1
- package/directives/hovered/taiga-ui-cdk-directives-hovered.metadata.json +0 -1
- package/directives/input-mode/taiga-ui-cdk-directives-input-mode.metadata.json +0 -1
- package/directives/item/taiga-ui-cdk-directives-item.metadata.json +0 -1
- package/directives/let/taiga-ui-cdk-directives-let.metadata.json +0 -1
- package/directives/media/taiga-ui-cdk-directives-media.metadata.json +0 -1
- package/directives/obscured/taiga-ui-cdk-directives-obscured.metadata.json +0 -1
- package/directives/overscroll/taiga-ui-cdk-directives-overscroll.metadata.json +0 -1
- package/directives/pan/taiga-ui-cdk-directives-pan.metadata.json +0 -1
- package/directives/portal/taiga-ui-cdk-directives-portal.metadata.json +0 -1
- package/directives/pressed/taiga-ui-cdk-directives-pressed.metadata.json +0 -1
- package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.metadata.json +0 -1
- package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.metadata.json +0 -1
- package/directives/resize/taiga-ui-cdk-directives-resize.metadata.json +0 -1
- package/directives/swipe/taiga-ui-cdk-directives-swipe.metadata.json +0 -1
- package/directives/taiga-ui-cdk-directives.metadata.json +0 -1
- package/directives/validator/taiga-ui-cdk-directives-validator.metadata.json +0 -1
- package/directives/zoom/taiga-ui-cdk-directives-zoom.metadata.json +0 -1
- package/enums/input-mode.d.ts +0 -13
- package/enums/input-type.d.ts +0 -10
- package/enums/overscroll-mode.d.ts +0 -13
- package/enums/taiga-ui-cdk-enums.metadata.json +0 -1
- package/esm2015/components/portal-host/index.js +0 -2
- package/esm2015/components/portal-host/portal.service.js +0 -18
- package/esm2015/components/portal-host/taiga-ui-cdk-components-portal-host.js +0 -5
- package/esm2015/enums/input-mode.js +0 -15
- package/esm2015/enums/input-type.js +0 -12
- package/esm2015/enums/overscroll-mode.js +0 -15
- package/esm2015/services/hovered.service.js +0 -34
- package/esm2015/tokens/sanitizer.js +0 -4
- package/esm2015/utils/browser/is-ie.js +0 -9
- package/esm2015/utils/dom/custom-event.js +0 -10
- package/esm2015/utils/dom/get-closest-element.js +0 -20
- package/esm2015/utils/dom/is-element.js +0 -5
- package/esm2015/utils/dom/is-form-field.js +0 -8
- package/esm2015/utils/focus/get-closest-keyboard-focusable.js +0 -40
- package/esm2015/utils/focus/set-native-focused.js +0 -19
- package/esm2015/utils/format/pad-start.js +0 -17
- package/esm2015/utils/miscellaneous/fallback-value.js +0 -12
- package/esm2015/utils/miscellaneous/identity.js +0 -8
- package/esm2015/utils/miscellaneous/is-element-editable.js +0 -12
- package/esm5/abstract/control.js +0 -247
- package/esm5/abstract/controller.js +0 -25
- package/esm5/abstract/dialog.directive.js +0 -44
- package/esm5/abstract/dialog.service.js +0 -39
- package/esm5/abstract/index.js +0 -11
- package/esm5/abstract/interactive.js +0 -172
- package/esm5/abstract/multiple-control.js +0 -21
- package/esm5/abstract/nullable-control.js +0 -18
- package/esm5/abstract/portal-host.js +0 -50
- package/esm5/abstract/portal-service.js +0 -42
- package/esm5/abstract/taiga-ui-cdk-abstract.js +0 -5
- package/esm5/abstract/theme-switcher.js +0 -55
- package/esm5/classes/assert.js +0 -19
- package/esm5/classes/index.js +0 -3
- package/esm5/classes/taiga-ui-cdk-classes.js +0 -5
- package/esm5/classes/validation-error.js +0 -10
- package/esm5/coercion/coerce-boolean-property.js +0 -10
- package/esm5/coercion/index.js +0 -2
- package/esm5/coercion/taiga-ui-cdk-coercion.js +0 -5
- package/esm5/components/alert-host/alert-host.component.js +0 -42
- package/esm5/components/alert-host/alert-host.module.js +0 -19
- package/esm5/components/alert-host/index.js +0 -3
- package/esm5/components/alert-host/taiga-ui-cdk-components-alert-host.js +0 -5
- package/esm5/components/dialog-host/dialog-host.component.js +0 -77
- package/esm5/components/dialog-host/dialog-host.module.js +0 -28
- package/esm5/components/dialog-host/index.js +0 -3
- package/esm5/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +0 -5
- package/esm5/components/dropdown-host/dropdown-host.component.js +0 -34
- package/esm5/components/dropdown-host/dropdown-host.module.js +0 -16
- package/esm5/components/dropdown-host/index.js +0 -3
- package/esm5/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +0 -5
- package/esm5/components/index.js +0 -5
- package/esm5/components/portal-host/index.js +0 -2
- package/esm5/components/portal-host/portal.service.js +0 -23
- package/esm5/components/portal-host/taiga-ui-cdk-components-portal-host.js +0 -5
- package/esm5/components/taiga-ui-cdk-components.js +0 -5
- package/esm5/constants/always-false-handler.js +0 -5
- package/esm5/constants/always-true-handler.js +0 -5
- package/esm5/constants/browser.js +0 -2
- package/esm5/constants/empty.js +0 -20
- package/esm5/constants/index.js +0 -12
- package/esm5/constants/matcher.js +0 -35
- package/esm5/constants/parent-animation.js +0 -8
- package/esm5/constants/polling-time.js +0 -2
- package/esm5/constants/stringify.js +0 -5
- package/esm5/constants/svg-node-filter.js +0 -8
- package/esm5/constants/taiga-ui-cdk-constants.js +0 -5
- package/esm5/constants/unicode-chars.js +0 -64
- package/esm5/constants/version.js +0 -2
- package/esm5/date-time/date-fillers.js +0 -31
- package/esm5/date-time/date-format.js +0 -5
- package/esm5/date-time/date-separator.js +0 -6
- package/esm5/date-time/date-time.js +0 -19
- package/esm5/date-time/day-range.js +0 -111
- package/esm5/date-time/day.js +0 -350
- package/esm5/date-time/days.const.js +0 -5
- package/esm5/date-time/index.js +0 -12
- package/esm5/date-time/month-range.js +0 -43
- package/esm5/date-time/month.js +0 -209
- package/esm5/date-time/taiga-ui-cdk-date-time.js +0 -5
- package/esm5/date-time/time.js +0 -134
- package/esm5/date-time/year.js +0 -168
- package/esm5/decorators/default-prop.js +0 -62
- package/esm5/decorators/index.js +0 -4
- package/esm5/decorators/pure.js +0 -55
- package/esm5/decorators/required-setter.js +0 -39
- package/esm5/decorators/taiga-ui-cdk-decorators.js +0 -5
- package/esm5/directives/active-zone/active-zone.directive.js +0 -92
- package/esm5/directives/active-zone/active-zone.module.js +0 -16
- package/esm5/directives/active-zone/index.js +0 -3
- package/esm5/directives/active-zone/taiga-ui-cdk-directives-active-zone.js +0 -5
- package/esm5/directives/auto-focus/autofocus.directive.js +0 -31
- package/esm5/directives/auto-focus/autofocus.module.js +0 -16
- package/esm5/directives/auto-focus/autofocus.options.js +0 -29
- package/esm5/directives/auto-focus/handlers/abstract.handler.js +0 -34
- package/esm5/directives/auto-focus/handlers/default.handler.js +0 -43
- package/esm5/directives/auto-focus/handlers/ios.handler.js +0 -137
- package/esm5/directives/auto-focus/index.js +0 -7
- package/esm5/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js +0 -5
- package/esm5/directives/autofilled/autofilled-style.component.js +0 -16
- package/esm5/directives/autofilled/autofilled.directive.js +0 -42
- package/esm5/directives/autofilled/autofilled.module.js +0 -18
- package/esm5/directives/autofilled/index.js +0 -4
- package/esm5/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +0 -5
- package/esm5/directives/checked/checked.directive.js +0 -49
- package/esm5/directives/checked/checked.module.js +0 -16
- package/esm5/directives/checked/index.js +0 -3
- package/esm5/directives/checked/taiga-ui-cdk-directives-checked.js +0 -5
- package/esm5/directives/copy-processor/copy-processor.directive.js +0 -39
- package/esm5/directives/copy-processor/copy-processor.module.js +0 -16
- package/esm5/directives/copy-processor/index.js +0 -3
- package/esm5/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js +0 -5
- package/esm5/directives/drag/drag.directive.js +0 -52
- package/esm5/directives/drag/drag.module.js +0 -16
- package/esm5/directives/drag/index.js +0 -3
- package/esm5/directives/drag/taiga-ui-cdk-directives-drag.js +0 -5
- package/esm5/directives/droppable/droppable.directive.js +0 -43
- package/esm5/directives/droppable/droppable.module.js +0 -16
- package/esm5/directives/droppable/index.js +0 -3
- package/esm5/directives/droppable/taiga-ui-cdk-directives-droppable.js +0 -5
- package/esm5/directives/element/element.directive.js +0 -22
- package/esm5/directives/element/element.module.js +0 -16
- package/esm5/directives/element/index.js +0 -3
- package/esm5/directives/element/taiga-ui-cdk-directives-element.js +0 -5
- package/esm5/directives/focus-trap/focus-trap.directive.js +0 -78
- package/esm5/directives/focus-trap/focus-trap.module.js +0 -16
- package/esm5/directives/focus-trap/index.js +0 -3
- package/esm5/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js +0 -5
- package/esm5/directives/focus-visible/focus-visible.directive.js +0 -29
- package/esm5/directives/focus-visible/focus-visible.module.js +0 -16
- package/esm5/directives/focus-visible/index.js +0 -3
- package/esm5/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +0 -5
- package/esm5/directives/focusable/focusable.directive.js +0 -34
- package/esm5/directives/focusable/focusable.module.js +0 -16
- package/esm5/directives/focusable/index.js +0 -3
- package/esm5/directives/focusable/taiga-ui-cdk-directives-focusable.js +0 -5
- package/esm5/directives/focused/focused.directive.js +0 -34
- package/esm5/directives/focused/focused.module.js +0 -16
- package/esm5/directives/focused/index.js +0 -3
- package/esm5/directives/focused/taiga-ui-cdk-directives-focused.js +0 -5
- package/esm5/directives/for/for.directive.js +0 -39
- package/esm5/directives/for/for.module.js +0 -16
- package/esm5/directives/for/index.js +0 -3
- package/esm5/directives/for-async/for-async.directive.js +0 -53
- package/esm5/directives/for-async/for-async.module.js +0 -19
- package/esm5/directives/for-async/index.js +0 -3
- package/esm5/directives/for-async/taiga-ui-cdk-directives-for-async.js +0 -5
- package/esm5/directives/high-dpi/high-dpi.directive.js +0 -31
- package/esm5/directives/high-dpi/high-dpi.module.js +0 -16
- package/esm5/directives/high-dpi/index.js +0 -3
- package/esm5/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js +0 -5
- package/esm5/directives/hovered/hovered.directive.js +0 -44
- package/esm5/directives/hovered/hovered.module.js +0 -16
- package/esm5/directives/hovered/index.js +0 -3
- package/esm5/directives/hovered/taiga-ui-cdk-directives-hovered.js +0 -5
- package/esm5/directives/index.js +0 -31
- package/esm5/directives/input-mode/index.js +0 -3
- package/esm5/directives/input-mode/input-mode.directive.js +0 -44
- package/esm5/directives/input-mode/input-mode.module.js +0 -16
- package/esm5/directives/input-mode/taiga-ui-cdk-directives-input-mode.js +0 -5
- package/esm5/directives/item/index.js +0 -3
- package/esm5/directives/item/item.directive.js +0 -18
- package/esm5/directives/item/item.module.js +0 -16
- package/esm5/directives/item/taiga-ui-cdk-directives-item.js +0 -5
- package/esm5/directives/let/index.js +0 -4
- package/esm5/directives/let/let-context.js +0 -25
- package/esm5/directives/let/let.directive.js +0 -38
- package/esm5/directives/let/let.module.js +0 -16
- package/esm5/directives/let/taiga-ui-cdk-directives-let.js +0 -5
- package/esm5/directives/media/index.js +0 -3
- package/esm5/directives/media/media.directive.js +0 -130
- package/esm5/directives/media/media.module.js +0 -16
- package/esm5/directives/media/taiga-ui-cdk-directives-media.js +0 -5
- package/esm5/directives/obscured/index.js +0 -3
- package/esm5/directives/obscured/obscured.directive.js +0 -53
- package/esm5/directives/obscured/obscured.module.js +0 -16
- package/esm5/directives/obscured/taiga-ui-cdk-directives-obscured.js +0 -5
- package/esm5/directives/overscroll/index.js +0 -3
- package/esm5/directives/overscroll/overscroll.directive.js +0 -112
- package/esm5/directives/overscroll/overscroll.module.js +0 -16
- package/esm5/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +0 -5
- package/esm5/directives/pan/index.js +0 -3
- package/esm5/directives/pan/pan.directive.js +0 -24
- package/esm5/directives/pan/pan.module.js +0 -19
- package/esm5/directives/pan/taiga-ui-cdk-directives-pan.js +0 -5
- package/esm5/directives/portal/index.js +0 -3
- package/esm5/directives/portal/portal.directive.js +0 -41
- package/esm5/directives/portal/portal.module.js +0 -16
- package/esm5/directives/portal/taiga-ui-cdk-directives-portal.js +0 -5
- package/esm5/directives/pressed/index.js +0 -3
- package/esm5/directives/pressed/pressed.directive.js +0 -30
- package/esm5/directives/pressed/pressed.module.js +0 -16
- package/esm5/directives/pressed/taiga-ui-cdk-directives-pressed.js +0 -5
- package/esm5/directives/prevent-default/index.js +0 -3
- package/esm5/directives/prevent-default/prevent-default.directive.js +0 -38
- package/esm5/directives/prevent-default/prevent-default.module.js +0 -16
- package/esm5/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +0 -5
- package/esm5/directives/repeat-times/index.js +0 -3
- package/esm5/directives/repeat-times/repeat-times.directive.js +0 -67
- package/esm5/directives/repeat-times/repeat-times.module.js +0 -16
- package/esm5/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js +0 -5
- package/esm5/directives/resize/index.js +0 -3
- package/esm5/directives/resize/resize.directive.js +0 -24
- package/esm5/directives/resize/resize.module.js +0 -19
- package/esm5/directives/resize/taiga-ui-cdk-directives-resize.js +0 -5
- package/esm5/directives/swipe/index.js +0 -3
- package/esm5/directives/swipe/swipe.directive.js +0 -24
- package/esm5/directives/swipe/swipe.module.js +0 -19
- package/esm5/directives/swipe/taiga-ui-cdk-directives-swipe.js +0 -5
- package/esm5/directives/taiga-ui-cdk-directives.js +0 -5
- package/esm5/directives/validator/index.js +0 -3
- package/esm5/directives/validator/taiga-ui-cdk-directives-validator.js +0 -5
- package/esm5/directives/validator/validator.directive.js +0 -45
- package/esm5/directives/validator/validator.module.js +0 -16
- package/esm5/directives/zoom/index.js +0 -3
- package/esm5/directives/zoom/taiga-ui-cdk-directives-zoom.js +0 -5
- package/esm5/directives/zoom/zoom.directive.js +0 -27
- package/esm5/directives/zoom/zoom.module.js +0 -19
- package/esm5/enums/autocomplete.js +0 -66
- package/esm5/enums/day-of-week.js +0 -11
- package/esm5/enums/index.js +0 -7
- package/esm5/enums/input-mode.js +0 -15
- package/esm5/enums/input-type.js +0 -12
- package/esm5/enums/month-number.js +0 -16
- package/esm5/enums/overscroll-mode.js +0 -15
- package/esm5/enums/taiga-ui-cdk-enums.js +0 -5
- package/esm5/exceptions/computed-document.exception.js +0 -10
- package/esm5/exceptions/document-selection.exception.js +0 -10
- package/esm5/exceptions/index.js +0 -14
- package/esm5/exceptions/invalid-day.exception.js +0 -23
- package/esm5/exceptions/invalid-month.exception.js +0 -23
- package/esm5/exceptions/invalid-year.exception.js +0 -23
- package/esm5/exceptions/no-host.exception.js +0 -10
- package/esm5/exceptions/owner-document.exception.js +0 -10
- package/esm5/exceptions/pure.exception.js +0 -10
- package/esm5/exceptions/table-sort-key.exception.js +0 -10
- package/esm5/exceptions/taiga-ui-cdk-exceptions.js +0 -5
- package/esm5/exceptions/ts-parser.exception.js +0 -10
- package/esm5/exceptions/value-changes.exception.js +0 -10
- package/esm5/exceptions/value-present.exception.js +0 -10
- package/esm5/exceptions/xml-parsing.exception.js +0 -10
- package/esm5/index.js +0 -16
- package/esm5/interfaces/alert-context.js +0 -1
- package/esm5/interfaces/aria-dialog-context.js +0 -1
- package/esm5/interfaces/base-dialog-context.js +0 -1
- package/esm5/interfaces/base-dialog.js +0 -1
- package/esm5/interfaces/context-with-implicit.js +0 -1
- package/esm5/interfaces/control-value-transformer.js +0 -1
- package/esm5/interfaces/day-like.js +0 -1
- package/esm5/interfaces/focusable-element-accessor.js +0 -1
- package/esm5/interfaces/index.js +0 -1
- package/esm5/interfaces/month-like.js +0 -1
- package/esm5/interfaces/swipe.js +0 -1
- package/esm5/interfaces/taiga-ui-cdk-interfaces.js +0 -4
- package/esm5/interfaces/time-like.js +0 -1
- package/esm5/interfaces/year-like.js +0 -1
- package/esm5/interfaces/zoom.js +0 -1
- package/esm5/observables/drag-and-drop-from.js +0 -33
- package/esm5/observables/focus-visible-observable.js +0 -36
- package/esm5/observables/index.js +0 -14
- package/esm5/observables/is-alive.js +0 -10
- package/esm5/observables/items-query-list-observable.js +0 -12
- package/esm5/observables/mouse-drag-finish-from.js +0 -13
- package/esm5/observables/must-be-present.js +0 -17
- package/esm5/observables/pressed-observable.js +0 -21
- package/esm5/observables/prevent-default.js +0 -10
- package/esm5/observables/replay-control-value-changes.js +0 -16
- package/esm5/observables/stop-propagation.js +0 -12
- package/esm5/observables/taiga-ui-cdk-observables.js +0 -5
- package/esm5/observables/typed-from-event.js +0 -11
- package/esm5/observables/watch.js +0 -12
- package/esm5/observables/zone-free.js +0 -23
- package/esm5/pipes/filter/filter.module.js +0 -16
- package/esm5/pipes/filter/filter.pipe.js +0 -26
- package/esm5/pipes/filter/index.js +0 -3
- package/esm5/pipes/filter/taiga-ui-cdk-pipes-filter.js +0 -5
- package/esm5/pipes/index.js +0 -4
- package/esm5/pipes/keys/index.js +0 -3
- package/esm5/pipes/keys/keys.module.js +0 -16
- package/esm5/pipes/keys/keys.pipe.js +0 -15
- package/esm5/pipes/keys/taiga-ui-cdk-pipes-keys.js +0 -5
- package/esm5/pipes/mapper/index.js +0 -3
- package/esm5/pipes/mapper/mapper.module.js +0 -16
- package/esm5/pipes/mapper/mapper.pipe.js +0 -26
- package/esm5/pipes/mapper/taiga-ui-cdk-pipes-mapper.js +0 -5
- package/esm5/pipes/taiga-ui-cdk-pipes.js +0 -5
- package/esm5/services/destroy.service.js +0 -22
- package/esm5/services/directive-styles.service.js +0 -56
- package/esm5/services/focus-visible.service.js +0 -35
- package/esm5/services/hovered.service.js +0 -39
- package/esm5/services/id.service.js +0 -26
- package/esm5/services/index.js +0 -14
- package/esm5/services/obscured.service.js +0 -50
- package/esm5/services/pan.service.js +0 -47
- package/esm5/services/parents-scroll.service.js +0 -40
- package/esm5/services/resize.service.js +0 -41
- package/esm5/services/scroll.service.js +0 -58
- package/esm5/services/static-request.service.js +0 -48
- package/esm5/services/swipe.service.js +0 -60
- package/esm5/services/taiga-ui-cdk-services.js +0 -5
- package/esm5/services/zoom.service.js +0 -64
- package/esm5/taiga-ui-cdk.js +0 -5
- package/esm5/tokens/active-element.js +0 -67
- package/esm5/tokens/alerts.js +0 -5
- package/esm5/tokens/default-renderer.js +0 -7
- package/esm5/tokens/dialogs.js +0 -5
- package/esm5/tokens/focusable-item-accessor.js +0 -3
- package/esm5/tokens/index.js +0 -21
- package/esm5/tokens/is-android.js +0 -7
- package/esm5/tokens/is-apple.js +0 -5
- package/esm5/tokens/is-chromium.js +0 -6
- package/esm5/tokens/is-cypress.js +0 -9
- package/esm5/tokens/is-firefox.js +0 -9
- package/esm5/tokens/is-ios.js +0 -7
- package/esm5/tokens/is-mobile.js +0 -12
- package/esm5/tokens/is-webkit.js +0 -6
- package/esm5/tokens/removed-element.js +0 -19
- package/esm5/tokens/sanitizer.js +0 -4
- package/esm5/tokens/swipe-options.js +0 -5
- package/esm5/tokens/taiga-ui-cdk-tokens.js +0 -5
- package/esm5/tokens/take-only-trusted-events.js +0 -11
- package/esm5/tokens/touch-supported.js +0 -6
- package/esm5/tokens/window-height.js +0 -11
- package/esm5/tokens/zoom-options.js +0 -7
- package/esm5/types/date-mode.js +0 -1
- package/esm5/types/dialog.js +0 -1
- package/esm5/types/event-with.js +0 -1
- package/esm5/types/handler.js +0 -1
- package/esm5/types/index.js +0 -1
- package/esm5/types/input-mode.js +0 -1
- package/esm5/types/input-type.js +0 -1
- package/esm5/types/mapper.js +0 -1
- package/esm5/types/matcher.js +0 -1
- package/esm5/types/overscroll-mode.js +0 -1
- package/esm5/types/taiga-ui-cdk-types.js +0 -4
- package/esm5/types/time-mode.js +0 -1
- package/esm5/utils/browser/index.js +0 -6
- package/esm5/utils/browser/is-edge-older-than.js +0 -11
- package/esm5/utils/browser/is-edge.js +0 -9
- package/esm5/utils/browser/is-firefox.js +0 -9
- package/esm5/utils/browser/is-ie.js +0 -9
- package/esm5/utils/browser/is-safari.js +0 -11
- package/esm5/utils/browser/taiga-ui-cdk-utils-browser.js +0 -5
- package/esm5/utils/dom/can-scroll.js +0 -47
- package/esm5/utils/dom/contains-or-after.js +0 -10
- package/esm5/utils/dom/custom-event.js +0 -11
- package/esm5/utils/dom/get-actual-target.js +0 -13
- package/esm5/utils/dom/get-clipboard-data-text.js +0 -15
- package/esm5/utils/dom/get-closest-element.js +0 -20
- package/esm5/utils/dom/get-document-or-shadow-root.js +0 -11
- package/esm5/utils/dom/get-element-obscurers.js +0 -39
- package/esm5/utils/dom/get-element-offset.js +0 -23
- package/esm5/utils/dom/get-scroll-parent.js +0 -23
- package/esm5/utils/dom/get-selected-text.js +0 -17
- package/esm5/utils/dom/index.js +0 -18
- package/esm5/utils/dom/is-current-target.js +0 -10
- package/esm5/utils/dom/is-element.js +0 -5
- package/esm5/utils/dom/is-form-field.js +0 -8
- package/esm5/utils/dom/is-inside-iframe.js +0 -10
- package/esm5/utils/dom/is-node-in.js +0 -18
- package/esm5/utils/dom/point-to-client-rect.js +0 -13
- package/esm5/utils/dom/taiga-ui-cdk-utils-dom.js +0 -5
- package/esm5/utils/focus/blur-native-focused.js +0 -16
- package/esm5/utils/focus/get-closest-keyboard-focusable.js +0 -42
- package/esm5/utils/focus/get-native-focused.js +0 -19
- package/esm5/utils/focus/index.js +0 -11
- package/esm5/utils/focus/is-native-focused-in.js +0 -19
- package/esm5/utils/focus/is-native-focused.js +0 -16
- package/esm5/utils/focus/is-native-keyboard-focusable.js +0 -36
- package/esm5/utils/focus/is-native-mouse-focusable.js +0 -11
- package/esm5/utils/focus/move-focus.js +0 -23
- package/esm5/utils/focus/set-native-focused.js +0 -21
- package/esm5/utils/focus/set-native-mouse-focused.js +0 -28
- package/esm5/utils/focus/taiga-ui-cdk-utils-focus.js +0 -5
- package/esm5/utils/format/index.js +0 -3
- package/esm5/utils/format/pad-start.js +0 -18
- package/esm5/utils/format/px.js +0 -12
- package/esm5/utils/format/taiga-ui-cdk-utils-format.js +0 -5
- package/esm5/utils/index.js +0 -9
- package/esm5/utils/math/clamp.js +0 -19
- package/esm5/utils/math/in-range.js +0 -19
- package/esm5/utils/math/index.js +0 -9
- package/esm5/utils/math/normalize-to-int-number.js +0 -25
- package/esm5/utils/math/quantize.js +0 -18
- package/esm5/utils/math/round.js +0 -49
- package/esm5/utils/math/sum.js +0 -14
- package/esm5/utils/math/taiga-ui-cdk-utils-math.js +0 -5
- package/esm5/utils/math/to-int.js +0 -9
- package/esm5/utils/math/to-radians.js +0 -10
- package/esm5/utils/miscellaneous/distance-between-touches.js +0 -10
- package/esm5/utils/miscellaneous/ease-in-out-quad.js +0 -11
- package/esm5/utils/miscellaneous/fallback-value.js +0 -12
- package/esm5/utils/miscellaneous/flat-length.js +0 -12
- package/esm5/utils/miscellaneous/get-original-array-from-query-list.js +0 -18
- package/esm5/utils/miscellaneous/get-swipe-direction.js +0 -14
- package/esm5/utils/miscellaneous/identity.js +0 -8
- package/esm5/utils/miscellaneous/index.js +0 -14
- package/esm5/utils/miscellaneous/is-element-editable.js +0 -12
- package/esm5/utils/miscellaneous/is-number.js +0 -9
- package/esm5/utils/miscellaneous/is-present.js +0 -9
- package/esm5/utils/miscellaneous/mark-control-as-touched-and-validate.js +0 -21
- package/esm5/utils/miscellaneous/nullable-same.js +0 -21
- package/esm5/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js +0 -5
- package/esm5/utils/miscellaneous/uniq-by.js +0 -11
- package/esm5/utils/os/index.js +0 -4
- package/esm5/utils/os/is-apple-platform.js +0 -17
- package/esm5/utils/os/is-apple.js +0 -11
- package/esm5/utils/os/is-ios.js +0 -12
- package/esm5/utils/os/taiga-ui-cdk-utils-os.js +0 -5
- package/esm5/utils/svg/index.js +0 -2
- package/esm5/utils/svg/svg-linear-gradient-processor.js +0 -32
- package/esm5/utils/svg/taiga-ui-cdk-utils-svg.js +0 -5
- package/esm5/utils/taiga-ui-cdk-utils.js +0 -5
- package/exceptions/taiga-ui-cdk-exceptions.metadata.json +0 -1
- package/fesm2015/taiga-ui-cdk-components-portal-host.js +0 -23
- package/fesm2015/taiga-ui-cdk-components-portal-host.js.map +0 -1
- package/fesm5/taiga-ui-cdk-abstract.js +0 -682
- package/fesm5/taiga-ui-cdk-abstract.js.map +0 -1
- package/fesm5/taiga-ui-cdk-classes.js +0 -35
- package/fesm5/taiga-ui-cdk-classes.js.map +0 -1
- package/fesm5/taiga-ui-cdk-coercion.js +0 -16
- package/fesm5/taiga-ui-cdk-coercion.js.map +0 -1
- package/fesm5/taiga-ui-cdk-components-alert-host.js +0 -63
- package/fesm5/taiga-ui-cdk-components-alert-host.js.map +0 -1
- package/fesm5/taiga-ui-cdk-components-dialog-host.js +0 -107
- package/fesm5/taiga-ui-cdk-components-dialog-host.js.map +0 -1
- package/fesm5/taiga-ui-cdk-components-dropdown-host.js +0 -52
- package/fesm5/taiga-ui-cdk-components-dropdown-host.js.map +0 -1
- package/fesm5/taiga-ui-cdk-components-portal-host.js +0 -28
- package/fesm5/taiga-ui-cdk-components-portal-host.js.map +0 -1
- package/fesm5/taiga-ui-cdk-components.js +0 -9
- package/fesm5/taiga-ui-cdk-components.js.map +0 -1
- package/fesm5/taiga-ui-cdk-constants.js +0 -162
- package/fesm5/taiga-ui-cdk-constants.js.map +0 -1
- package/fesm5/taiga-ui-cdk-date-time.js +0 -1051
- package/fesm5/taiga-ui-cdk-date-time.js.map +0 -1
- package/fesm5/taiga-ui-cdk-decorators.js +0 -161
- package/fesm5/taiga-ui-cdk-decorators.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-active-zone.js +0 -110
- package/fesm5/taiga-ui-cdk-directives-active-zone.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-auto-focus.js +0 -273
- package/fesm5/taiga-ui-cdk-directives-auto-focus.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-autofilled.js +0 -73
- package/fesm5/taiga-ui-cdk-directives-autofilled.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-checked.js +0 -67
- package/fesm5/taiga-ui-cdk-directives-checked.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-copy-processor.js +0 -57
- package/fesm5/taiga-ui-cdk-directives-copy-processor.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-drag.js +0 -70
- package/fesm5/taiga-ui-cdk-directives-drag.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-droppable.js +0 -61
- package/fesm5/taiga-ui-cdk-directives-droppable.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-element.js +0 -40
- package/fesm5/taiga-ui-cdk-directives-element.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-focus-trap.js +0 -96
- package/fesm5/taiga-ui-cdk-directives-focus-trap.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-focus-visible.js +0 -47
- package/fesm5/taiga-ui-cdk-directives-focus-visible.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-focusable.js +0 -52
- package/fesm5/taiga-ui-cdk-directives-focusable.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-focused.js +0 -52
- package/fesm5/taiga-ui-cdk-directives-focused.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-for-async.js +0 -74
- package/fesm5/taiga-ui-cdk-directives-for-async.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-for.js +0 -57
- package/fesm5/taiga-ui-cdk-directives-for.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-high-dpi.js +0 -49
- package/fesm5/taiga-ui-cdk-directives-high-dpi.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-hovered.js +0 -62
- package/fesm5/taiga-ui-cdk-directives-hovered.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-input-mode.js +0 -62
- package/fesm5/taiga-ui-cdk-directives-input-mode.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-item.js +0 -36
- package/fesm5/taiga-ui-cdk-directives-item.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-let.js +0 -79
- package/fesm5/taiga-ui-cdk-directives-let.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-media.js +0 -148
- package/fesm5/taiga-ui-cdk-directives-media.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-obscured.js +0 -71
- package/fesm5/taiga-ui-cdk-directives-obscured.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-overscroll.js +0 -130
- package/fesm5/taiga-ui-cdk-directives-overscroll.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-pan.js +0 -45
- package/fesm5/taiga-ui-cdk-directives-pan.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-portal.js +0 -59
- package/fesm5/taiga-ui-cdk-directives-portal.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-pressed.js +0 -48
- package/fesm5/taiga-ui-cdk-directives-pressed.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-prevent-default.js +0 -56
- package/fesm5/taiga-ui-cdk-directives-prevent-default.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-repeat-times.js +0 -84
- package/fesm5/taiga-ui-cdk-directives-repeat-times.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-resize.js +0 -45
- package/fesm5/taiga-ui-cdk-directives-resize.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-swipe.js +0 -45
- package/fesm5/taiga-ui-cdk-directives-swipe.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-validator.js +0 -63
- package/fesm5/taiga-ui-cdk-directives-validator.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-zoom.js +0 -48
- package/fesm5/taiga-ui-cdk-directives-zoom.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives.js +0 -35
- package/fesm5/taiga-ui-cdk-directives.js.map +0 -1
- package/fesm5/taiga-ui-cdk-enums.js +0 -141
- package/fesm5/taiga-ui-cdk-enums.js.map +0 -1
- package/fesm5/taiga-ui-cdk-exceptions.js +0 -148
- package/fesm5/taiga-ui-cdk-exceptions.js.map +0 -1
- package/fesm5/taiga-ui-cdk-interfaces.js +0 -4
- package/fesm5/taiga-ui-cdk-interfaces.js.map +0 -1
- package/fesm5/taiga-ui-cdk-observables.js +0 -204
- package/fesm5/taiga-ui-cdk-observables.js.map +0 -1
- package/fesm5/taiga-ui-cdk-pipes-filter.js +0 -44
- package/fesm5/taiga-ui-cdk-pipes-filter.js.map +0 -1
- package/fesm5/taiga-ui-cdk-pipes-keys.js +0 -33
- package/fesm5/taiga-ui-cdk-pipes-keys.js.map +0 -1
- package/fesm5/taiga-ui-cdk-pipes-mapper.js +0 -44
- package/fesm5/taiga-ui-cdk-pipes-mapper.js.map +0 -1
- package/fesm5/taiga-ui-cdk-pipes.js +0 -8
- package/fesm5/taiga-ui-cdk-pipes.js.map +0 -1
- package/fesm5/taiga-ui-cdk-services.js +0 -507
- package/fesm5/taiga-ui-cdk-services.js.map +0 -1
- package/fesm5/taiga-ui-cdk-tokens.js +0 -181
- package/fesm5/taiga-ui-cdk-tokens.js.map +0 -1
- package/fesm5/taiga-ui-cdk-types.js +0 -4
- package/fesm5/taiga-ui-cdk-types.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-browser.js +0 -55
- package/fesm5/taiga-ui-cdk-utils-browser.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-dom.js +0 -297
- package/fesm5/taiga-ui-cdk-utils-dom.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-focus.js +0 -228
- package/fesm5/taiga-ui-cdk-utils-focus.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-format.js +0 -37
- package/fesm5/taiga-ui-cdk-utils-format.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-math.js +0 -166
- package/fesm5/taiga-ui-cdk-utils-math.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-miscellaneous.js +0 -174
- package/fesm5/taiga-ui-cdk-utils-miscellaneous.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-os.js +0 -44
- package/fesm5/taiga-ui-cdk-utils-os.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-svg.js +0 -39
- package/fesm5/taiga-ui-cdk-utils-svg.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils.js +0 -13
- package/fesm5/taiga-ui-cdk-utils.js.map +0 -1
- package/fesm5/taiga-ui-cdk.js +0 -20
- package/fesm5/taiga-ui-cdk.js.map +0 -1
- package/interfaces/taiga-ui-cdk-interfaces.metadata.json +0 -1
- package/observables/taiga-ui-cdk-observables.metadata.json +0 -1
- package/pipes/filter/taiga-ui-cdk-pipes-filter.metadata.json +0 -1
- package/pipes/keys/taiga-ui-cdk-pipes-keys.metadata.json +0 -1
- package/pipes/mapper/taiga-ui-cdk-pipes-mapper.metadata.json +0 -1
- package/pipes/taiga-ui-cdk-pipes.metadata.json +0 -1
- package/services/hovered.service.d.ts +0 -9
- package/services/taiga-ui-cdk-services.metadata.json +0 -1
- package/taiga-ui-cdk.metadata.json +0 -1
- package/tokens/sanitizer.d.ts +0 -2
- package/tokens/taiga-ui-cdk-tokens.metadata.json +0 -1
- package/types/taiga-ui-cdk-types.metadata.json +0 -1
- package/utils/browser/is-ie.d.ts +0 -5
- package/utils/browser/taiga-ui-cdk-utils-browser.metadata.json +0 -1
- package/utils/dom/custom-event.d.ts +0 -2
- package/utils/dom/get-closest-element.d.ts +0 -5
- package/utils/dom/is-element.d.ts +0 -1
- package/utils/dom/is-form-field.d.ts +0 -1
- package/utils/dom/taiga-ui-cdk-utils-dom.metadata.json +0 -1
- package/utils/focus/get-closest-keyboard-focusable.d.ts +0 -16
- package/utils/focus/set-native-focused.d.ts +0 -10
- package/utils/focus/taiga-ui-cdk-utils-focus.metadata.json +0 -1
- package/utils/format/pad-start.d.ts +0 -9
- package/utils/format/taiga-ui-cdk-utils-format.metadata.json +0 -1
- package/utils/math/taiga-ui-cdk-utils-math.metadata.json +0 -1
- package/utils/miscellaneous/fallback-value.d.ts +0 -7
- package/utils/miscellaneous/identity.d.ts +0 -4
- package/utils/miscellaneous/is-element-editable.d.ts +0 -5
- package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.metadata.json +0 -1
- package/utils/os/taiga-ui-cdk-utils-os.metadata.json +0 -1
- package/utils/svg/taiga-ui-cdk-utils-svg.metadata.json +0 -1
- package/utils/taiga-ui-cdk-utils.metadata.json +0 -1
|
@@ -1,256 +1,355 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/cdk/services', ['exports', '@angular/core', 'rxjs', '@
|
|
4
|
-
(global = global || self, factory((global[
|
|
5
|
-
}(this, (function (exports,
|
|
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('@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', '@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["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, tokens, utils) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
o[
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
return
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
function
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
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
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
191
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
192
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
193
|
+
}
|
|
194
|
+
Object.defineProperty(o, k2, desc);
|
|
195
|
+
}) : (function (o, m, k, k2) {
|
|
196
|
+
if (k2 === undefined)
|
|
197
|
+
k2 = k;
|
|
198
|
+
o[k2] = m[k];
|
|
199
|
+
});
|
|
200
|
+
function __exportStar(m, o) {
|
|
201
|
+
for (var p in m)
|
|
202
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
203
|
+
__createBinding(o, m, p);
|
|
204
|
+
}
|
|
205
|
+
function __values(o) {
|
|
206
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
207
|
+
if (m)
|
|
208
|
+
return m.call(o);
|
|
209
|
+
if (o && typeof o.length === "number")
|
|
210
|
+
return {
|
|
211
|
+
next: function () {
|
|
212
|
+
if (o && i >= o.length)
|
|
213
|
+
o = void 0;
|
|
214
|
+
return { value: o && o[i++], done: !o };
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
218
|
+
}
|
|
219
|
+
function __read(o, n) {
|
|
220
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
221
|
+
if (!m)
|
|
222
|
+
return o;
|
|
223
|
+
var i = m.call(o), r, ar = [], e;
|
|
224
|
+
try {
|
|
225
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
226
|
+
ar.push(r.value);
|
|
227
|
+
}
|
|
228
|
+
catch (error) {
|
|
229
|
+
e = { error: error };
|
|
230
|
+
}
|
|
231
|
+
finally {
|
|
232
|
+
try {
|
|
233
|
+
if (r && !r.done && (m = i["return"]))
|
|
234
|
+
m.call(i);
|
|
235
|
+
}
|
|
236
|
+
finally {
|
|
237
|
+
if (e)
|
|
238
|
+
throw e.error;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
return ar;
|
|
242
|
+
}
|
|
243
|
+
/** @deprecated */
|
|
244
|
+
function __spread() {
|
|
245
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
246
|
+
ar = ar.concat(__read(arguments[i]));
|
|
247
|
+
return ar;
|
|
248
|
+
}
|
|
249
|
+
/** @deprecated */
|
|
250
|
+
function __spreadArrays() {
|
|
251
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
252
|
+
s += arguments[i].length;
|
|
253
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
254
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
255
|
+
r[k] = a[j];
|
|
256
|
+
return r;
|
|
257
|
+
}
|
|
258
|
+
function __spreadArray(to, from, pack) {
|
|
259
|
+
if (pack || arguments.length === 2)
|
|
260
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
261
|
+
if (ar || !(i in from)) {
|
|
262
|
+
if (!ar)
|
|
263
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
264
|
+
ar[i] = from[i];
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
268
|
+
}
|
|
269
|
+
function __await(v) {
|
|
270
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
271
|
+
}
|
|
272
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
273
|
+
if (!Symbol.asyncIterator)
|
|
274
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
275
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
276
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
277
|
+
function verb(n) { if (g[n])
|
|
278
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
279
|
+
function resume(n, v) { try {
|
|
280
|
+
step(g[n](v));
|
|
281
|
+
}
|
|
282
|
+
catch (e) {
|
|
283
|
+
settle(q[0][3], e);
|
|
284
|
+
} }
|
|
285
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
286
|
+
function fulfill(value) { resume("next", value); }
|
|
287
|
+
function reject(value) { resume("throw", value); }
|
|
288
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
289
|
+
resume(q[0][0], q[0][1]); }
|
|
290
|
+
}
|
|
291
|
+
function __asyncDelegator(o) {
|
|
292
|
+
var i, p;
|
|
293
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
294
|
+
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; }
|
|
295
|
+
}
|
|
296
|
+
function __asyncValues(o) {
|
|
297
|
+
if (!Symbol.asyncIterator)
|
|
298
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
299
|
+
var m = o[Symbol.asyncIterator], i;
|
|
300
|
+
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);
|
|
301
|
+
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); }); }; }
|
|
302
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
303
|
+
}
|
|
304
|
+
function __makeTemplateObject(cooked, raw) {
|
|
305
|
+
if (Object.defineProperty) {
|
|
306
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
307
|
+
}
|
|
308
|
+
else {
|
|
309
|
+
cooked.raw = raw;
|
|
310
|
+
}
|
|
311
|
+
return cooked;
|
|
312
|
+
}
|
|
313
|
+
;
|
|
314
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
315
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
316
|
+
}) : function (o, v) {
|
|
317
|
+
o["default"] = v;
|
|
318
|
+
};
|
|
319
|
+
function __importStar(mod) {
|
|
320
|
+
if (mod && mod.__esModule)
|
|
321
|
+
return mod;
|
|
322
|
+
var result = {};
|
|
323
|
+
if (mod != null)
|
|
324
|
+
for (var k in mod)
|
|
325
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
326
|
+
__createBinding(result, mod, k);
|
|
327
|
+
__setModuleDefault(result, mod);
|
|
328
|
+
return result;
|
|
329
|
+
}
|
|
330
|
+
function __importDefault(mod) {
|
|
331
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
332
|
+
}
|
|
333
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
334
|
+
if (kind === "a" && !f)
|
|
335
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
336
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
337
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
338
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
339
|
+
}
|
|
340
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
341
|
+
if (kind === "m")
|
|
342
|
+
throw new TypeError("Private method is not writable");
|
|
343
|
+
if (kind === "a" && !f)
|
|
344
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
345
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
346
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
347
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
348
|
+
}
|
|
349
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
350
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
351
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
352
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
254
353
|
}
|
|
255
354
|
|
|
256
355
|
/**
|
|
@@ -265,22 +364,21 @@
|
|
|
265
364
|
this.next();
|
|
266
365
|
this.complete();
|
|
267
366
|
};
|
|
268
|
-
TuiDestroyService = __decorate([
|
|
269
|
-
core.Injectable()
|
|
270
|
-
], TuiDestroyService);
|
|
271
367
|
return TuiDestroyService;
|
|
272
|
-
}(
|
|
368
|
+
}(i1.ReplaySubject));
|
|
369
|
+
TuiDestroyService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDestroyService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
370
|
+
TuiDestroyService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDestroyService });
|
|
371
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDestroyService, decorators: [{
|
|
372
|
+
type: i0.Injectable
|
|
373
|
+
}], ctorParameters: function () { return []; } });
|
|
273
374
|
|
|
274
375
|
/**
|
|
275
376
|
* Service to use styles with directives
|
|
276
|
-
* @dynamic
|
|
277
377
|
*/
|
|
278
378
|
var TuiDirectiveStylesService = /** @class */ (function () {
|
|
279
|
-
function TuiDirectiveStylesService(resolver, injector
|
|
379
|
+
function TuiDirectiveStylesService(resolver, injector) {
|
|
280
380
|
this.resolver = resolver;
|
|
281
381
|
this.injector = injector;
|
|
282
|
-
this.documentRef = documentRef;
|
|
283
|
-
this.renderer = renderer;
|
|
284
382
|
this.map = new Map();
|
|
285
383
|
}
|
|
286
384
|
TuiDirectiveStylesService.prototype.addComponent = function (component) {
|
|
@@ -288,93 +386,56 @@
|
|
|
288
386
|
this.map.set(component, this.resolver.resolveComponentFactory(component).create(this.injector));
|
|
289
387
|
}
|
|
290
388
|
};
|
|
291
|
-
/** @deprecated use components approach
|
|
292
|
-
* TODO: delete in v3.0
|
|
293
|
-
*/
|
|
294
|
-
TuiDirectiveStylesService.prototype.addStyle = function (styles, attribute) {
|
|
295
|
-
if (this.documentRef.head.querySelector("style[" + attribute + "]")) {
|
|
296
|
-
return;
|
|
297
|
-
}
|
|
298
|
-
var style = this.renderer.createElement("style");
|
|
299
|
-
this.renderer.setProperty(style, "textContent", styles);
|
|
300
|
-
this.renderer.setAttribute(style, attribute, "");
|
|
301
|
-
this.documentRef.head.appendChild(style);
|
|
302
|
-
};
|
|
303
|
-
TuiDirectiveStylesService.ctorParameters = function () { return [
|
|
304
|
-
{ type: core.ComponentFactoryResolver, decorators: [{ type: core.Inject, args: [core.ComponentFactoryResolver,] }] },
|
|
305
|
-
{ type: core.Injector, decorators: [{ type: core.Inject, args: [core.INJECTOR,] }] },
|
|
306
|
-
{ type: Document, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] },
|
|
307
|
-
{ type: core.Renderer2, decorators: [{ type: core.Inject, args: [tokens.TUI_DEFAULT_RENDERER,] }] }
|
|
308
|
-
]; };
|
|
309
|
-
TuiDirectiveStylesService.ɵprov = core.ɵɵdefineInjectable({ factory: function TuiDirectiveStylesService_Factory() { return new TuiDirectiveStylesService(core.ɵɵinject(core.ComponentFactoryResolver), core.ɵɵinject(core.INJECTOR), core.ɵɵinject(common.DOCUMENT), core.ɵɵinject(tokens.TUI_DEFAULT_RENDERER)); }, token: TuiDirectiveStylesService, providedIn: "root" });
|
|
310
|
-
TuiDirectiveStylesService = __decorate([
|
|
311
|
-
core.Injectable({
|
|
312
|
-
providedIn: "root",
|
|
313
|
-
}),
|
|
314
|
-
__param(0, core.Inject(core.ComponentFactoryResolver)),
|
|
315
|
-
__param(1, core.Inject(core.INJECTOR)),
|
|
316
|
-
__param(2, core.Inject(common.DOCUMENT)),
|
|
317
|
-
__param(3, core.Inject(tokens.TUI_DEFAULT_RENDERER))
|
|
318
|
-
], TuiDirectiveStylesService);
|
|
319
389
|
return TuiDirectiveStylesService;
|
|
320
390
|
}());
|
|
391
|
+
TuiDirectiveStylesService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDirectiveStylesService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.INJECTOR }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
392
|
+
TuiDirectiveStylesService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDirectiveStylesService, providedIn: "root" });
|
|
393
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDirectiveStylesService, decorators: [{
|
|
394
|
+
type: i0.Injectable,
|
|
395
|
+
args: [{
|
|
396
|
+
providedIn: "root",
|
|
397
|
+
}]
|
|
398
|
+
}], ctorParameters: function () {
|
|
399
|
+
return [{ type: i0__namespace.ComponentFactoryResolver, decorators: [{
|
|
400
|
+
type: i0.Inject,
|
|
401
|
+
args: [i0.ComponentFactoryResolver]
|
|
402
|
+
}] }, { type: i0__namespace.Injector, decorators: [{
|
|
403
|
+
type: i0.Inject,
|
|
404
|
+
args: [i0.INJECTOR]
|
|
405
|
+
}] }];
|
|
406
|
+
} });
|
|
321
407
|
|
|
322
408
|
/**
|
|
323
409
|
* Service to imitate :focus-visible
|
|
324
410
|
* (https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible)
|
|
325
411
|
* in browsers that do not support it
|
|
326
|
-
* @dynamic
|
|
327
412
|
*/
|
|
328
413
|
var TuiFocusVisibleService = /** @class */ (function (_super) {
|
|
329
414
|
__extends(TuiFocusVisibleService, _super);
|
|
330
415
|
function TuiFocusVisibleService(_a, changeDetectorRef, destroy$) {
|
|
331
416
|
var nativeElement = _a.nativeElement;
|
|
332
417
|
var _this = _super.call(this, function (subscriber) { return _this.focusVisible$.subscribe(subscriber); }) || this;
|
|
333
|
-
_this.focusVisible$ = observables.
|
|
418
|
+
_this.focusVisible$ = observables.tuiFocusVisibleObservable(nativeElement).pipe(observables.tuiWatch(changeDetectorRef), operators.takeUntil(destroy$));
|
|
334
419
|
return _this;
|
|
335
420
|
}
|
|
336
|
-
TuiFocusVisibleService.ctorParameters = function () { return [
|
|
337
|
-
{ type: core.ElementRef, decorators: [{ type: core.Inject, args: [core.ElementRef,] }] },
|
|
338
|
-
{ type: core.ChangeDetectorRef, decorators: [{ type: core.Inject, args: [core.ChangeDetectorRef,] }] },
|
|
339
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [TuiDestroyService,] }] }
|
|
340
|
-
]; };
|
|
341
|
-
TuiFocusVisibleService = __decorate([
|
|
342
|
-
core.Injectable(),
|
|
343
|
-
__param(0, core.Inject(core.ElementRef)),
|
|
344
|
-
__param(1, core.Inject(core.ChangeDetectorRef)),
|
|
345
|
-
__param(2, core.Inject(TuiDestroyService))
|
|
346
|
-
], TuiFocusVisibleService);
|
|
347
421
|
return TuiFocusVisibleService;
|
|
348
|
-
}(
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
{ type: Document, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] },
|
|
366
|
-
{ type: core.NgZone, decorators: [{ type: core.Inject, args: [core.NgZone,] }] }
|
|
367
|
-
]; };
|
|
368
|
-
TuiHoveredService.ɵprov = core.ɵɵdefineInjectable({ factory: function TuiHoveredService_Factory() { return new TuiHoveredService(core.ɵɵinject(common.DOCUMENT), core.ɵɵinject(core.NgZone)); }, token: TuiHoveredService, providedIn: "root" });
|
|
369
|
-
TuiHoveredService = __decorate([
|
|
370
|
-
core.Injectable({
|
|
371
|
-
providedIn: "root",
|
|
372
|
-
}),
|
|
373
|
-
__param(0, core.Inject(common.DOCUMENT)),
|
|
374
|
-
__param(1, core.Inject(core.NgZone))
|
|
375
|
-
], TuiHoveredService);
|
|
376
|
-
return TuiHoveredService;
|
|
377
|
-
}());
|
|
422
|
+
}(i1.Observable));
|
|
423
|
+
TuiFocusVisibleService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiFocusVisibleService, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: TuiDestroyService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
424
|
+
TuiFocusVisibleService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiFocusVisibleService });
|
|
425
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiFocusVisibleService, decorators: [{
|
|
426
|
+
type: i0.Injectable
|
|
427
|
+
}], ctorParameters: function () {
|
|
428
|
+
return [{ type: i0__namespace.ElementRef, decorators: [{
|
|
429
|
+
type: i0.Inject,
|
|
430
|
+
args: [i0.ElementRef]
|
|
431
|
+
}] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
|
|
432
|
+
type: i0.Inject,
|
|
433
|
+
args: [i0.ChangeDetectorRef]
|
|
434
|
+
}] }, { type: i1__namespace.Observable, decorators: [{
|
|
435
|
+
type: i0.Inject,
|
|
436
|
+
args: [TuiDestroyService]
|
|
437
|
+
}] }];
|
|
438
|
+
} });
|
|
378
439
|
|
|
379
440
|
var TUI = "tui_";
|
|
380
441
|
/**
|
|
@@ -383,54 +444,54 @@
|
|
|
383
444
|
var TuiIdService = /** @class */ (function () {
|
|
384
445
|
function TuiIdService() {
|
|
385
446
|
}
|
|
386
|
-
TuiIdService_1 = TuiIdService;
|
|
387
447
|
TuiIdService.prototype.generate = function () {
|
|
388
|
-
return "" + TUI +
|
|
448
|
+
return "" + TUI + TuiIdService.autoId++ + Date.now();
|
|
389
449
|
};
|
|
390
|
-
var TuiIdService_1;
|
|
391
|
-
TuiIdService.autoId = 0;
|
|
392
|
-
TuiIdService.ɵprov = core.ɵɵdefineInjectable({ factory: function TuiIdService_Factory() { return new TuiIdService(); }, token: TuiIdService, providedIn: "root" });
|
|
393
|
-
TuiIdService = TuiIdService_1 = __decorate([
|
|
394
|
-
core.Injectable({
|
|
395
|
-
providedIn: "root",
|
|
396
|
-
})
|
|
397
|
-
], TuiIdService);
|
|
398
450
|
return TuiIdService;
|
|
399
451
|
}());
|
|
452
|
+
TuiIdService.autoId = 0;
|
|
453
|
+
TuiIdService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiIdService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
454
|
+
TuiIdService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiIdService, providedIn: "root" });
|
|
455
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiIdService, decorators: [{
|
|
456
|
+
type: i0.Injectable,
|
|
457
|
+
args: [{
|
|
458
|
+
providedIn: "root",
|
|
459
|
+
}]
|
|
460
|
+
}] });
|
|
400
461
|
|
|
401
462
|
/**
|
|
402
463
|
* Service that subscribes to scroll events of all parent elements
|
|
403
464
|
*/
|
|
404
|
-
// Ambient type cannot be used without dynamic https://github.com/angular/angular/issues/23395
|
|
405
|
-
// @dynamic
|
|
406
465
|
var TuiParentsScrollService = /** @class */ (function (_super) {
|
|
407
466
|
__extends(TuiParentsScrollService, _super);
|
|
408
467
|
function TuiParentsScrollService(elementRef, windowRef) {
|
|
409
468
|
var _this = _super.call(this, function (subscriber) { return _this.callback$.subscribe(subscriber); }) || this;
|
|
410
|
-
_this.callback$ =
|
|
469
|
+
_this.callback$ = i1.defer(function () {
|
|
411
470
|
var nativeElement = elementRef.nativeElement;
|
|
412
471
|
var eventTargets = [windowRef, nativeElement];
|
|
413
472
|
while (nativeElement.parentElement) {
|
|
414
473
|
nativeElement = nativeElement.parentElement;
|
|
415
474
|
eventTargets.push(nativeElement);
|
|
416
475
|
}
|
|
417
|
-
return
|
|
418
|
-
return observables.typedFromEvent(element, "scroll");
|
|
419
|
-
})));
|
|
476
|
+
return i1.merge.apply(void 0, __spreadArray([], __read(eventTargets.map(function (element) { return observables.tuiTypedFromEvent(element, "scroll"); }))));
|
|
420
477
|
});
|
|
421
478
|
return _this;
|
|
422
479
|
}
|
|
423
|
-
TuiParentsScrollService.ctorParameters = function () { return [
|
|
424
|
-
{ type: core.ElementRef, decorators: [{ type: core.Inject, args: [core.ElementRef,] }] },
|
|
425
|
-
{ type: Window, decorators: [{ type: core.Inject, args: [common$1.WINDOW,] }] }
|
|
426
|
-
]; };
|
|
427
|
-
TuiParentsScrollService = __decorate([
|
|
428
|
-
core.Injectable(),
|
|
429
|
-
__param(0, core.Inject(core.ElementRef)),
|
|
430
|
-
__param(1, core.Inject(common$1.WINDOW))
|
|
431
|
-
], TuiParentsScrollService);
|
|
432
480
|
return TuiParentsScrollService;
|
|
433
|
-
}(
|
|
481
|
+
}(i1.Observable));
|
|
482
|
+
TuiParentsScrollService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", 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.16", ngImport: i0__namespace, type: TuiParentsScrollService });
|
|
484
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", 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
|
+
} });
|
|
434
495
|
|
|
435
496
|
// @bad TODO: Consider Intersection Observer with fallback to current implementation
|
|
436
497
|
/**
|
|
@@ -438,49 +499,53 @@
|
|
|
438
499
|
* and polling with set interval, returns either null or an array
|
|
439
500
|
* of elements that overlap given element edges
|
|
440
501
|
*/
|
|
441
|
-
// Ambient type cannot be used without dynamic https://github.com/angular/angular/issues/23395
|
|
442
|
-
// @dynamic
|
|
443
502
|
var TuiObscuredService = /** @class */ (function (_super) {
|
|
444
503
|
__extends(TuiObscuredService, _super);
|
|
445
504
|
function TuiObscuredService(parentsScroll$, _a, ngZone, windowRef, destroy$, animationFrame$) {
|
|
446
505
|
var nativeElement = _a.nativeElement;
|
|
447
506
|
var _this = _super.call(this, function (subscriber) { return _this.obscured$.subscribe(subscriber); }) || this;
|
|
448
|
-
_this.obscured$ =
|
|
507
|
+
_this.obscured$ = i1.merge(
|
|
449
508
|
// delay is added so it will not interfere with other listeners
|
|
450
|
-
|
|
509
|
+
i1.merge(parentsScroll$, i1.fromEvent(windowRef, "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(ngZone), operators.takeUntil(destroy$));
|
|
451
510
|
return _this;
|
|
452
511
|
}
|
|
453
|
-
TuiObscuredService.ctorParameters = function () { return [
|
|
454
|
-
{ type: TuiParentsScrollService, decorators: [{ type: core.Inject, args: [TuiParentsScrollService,] }, { type: core.Self }] },
|
|
455
|
-
{ type: core.ElementRef, decorators: [{ type: core.Inject, args: [core.ElementRef,] }] },
|
|
456
|
-
{ type: core.NgZone, decorators: [{ type: core.Inject, args: [core.NgZone,] }] },
|
|
457
|
-
{ type: Window, decorators: [{ type: core.Inject, args: [common$1.WINDOW,] }] },
|
|
458
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [TuiDestroyService,] }] },
|
|
459
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [common$1.ANIMATION_FRAME,] }] }
|
|
460
|
-
]; };
|
|
461
|
-
TuiObscuredService = __decorate([
|
|
462
|
-
core.Injectable(),
|
|
463
|
-
__param(0, core.Inject(TuiParentsScrollService)),
|
|
464
|
-
__param(0, core.Self()),
|
|
465
|
-
__param(1, core.Inject(core.ElementRef)),
|
|
466
|
-
__param(2, core.Inject(core.NgZone)),
|
|
467
|
-
__param(3, core.Inject(common$1.WINDOW)),
|
|
468
|
-
__param(4, core.Inject(TuiDestroyService)),
|
|
469
|
-
__param(5, core.Inject(common$1.ANIMATION_FRAME))
|
|
470
|
-
], TuiObscuredService);
|
|
471
512
|
return TuiObscuredService;
|
|
472
|
-
}(
|
|
513
|
+
}(i1.Observable));
|
|
514
|
+
TuiObscuredService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiObscuredService, deps: [{ token: TuiParentsScrollService, self: true }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: common.WINDOW }, { token: TuiDestroyService }, { token: common.ANIMATION_FRAME }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
515
|
+
TuiObscuredService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiObscuredService });
|
|
516
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", 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.Inject,
|
|
535
|
+
args: [TuiDestroyService]
|
|
536
|
+
}] }, { type: i1__namespace.Observable, decorators: [{
|
|
537
|
+
type: i0.Inject,
|
|
538
|
+
args: [common.ANIMATION_FRAME]
|
|
539
|
+
}] }];
|
|
540
|
+
} });
|
|
473
541
|
|
|
474
|
-
/**
|
|
475
|
-
* @dynamic
|
|
476
|
-
*/
|
|
477
542
|
var TuiPanService = /** @class */ (function (_super) {
|
|
478
543
|
__extends(TuiPanService, _super);
|
|
479
544
|
function TuiPanService(_a, documentRef) {
|
|
480
545
|
var nativeElement = _a.nativeElement;
|
|
481
546
|
return _super.call(this, function (subscriber) {
|
|
482
|
-
|
|
483
|
-
.pipe(operators.switchMapTo(
|
|
547
|
+
i1.merge(observables.tuiTypedFromEvent(nativeElement, "touchstart", { passive: true }), observables.tuiTypedFromEvent(nativeElement, "mousedown"))
|
|
548
|
+
.pipe(operators.switchMapTo(i1.merge(observables.tuiTypedFromEvent(documentRef, "touchmove", {
|
|
484
549
|
passive: true,
|
|
485
550
|
}).pipe(operators.filter(function (_a) {
|
|
486
551
|
var touches = _a.touches;
|
|
@@ -488,62 +553,68 @@
|
|
|
488
553
|
}), operators.map(function (_a) {
|
|
489
554
|
var touches = _a.touches;
|
|
490
555
|
return touches[0];
|
|
491
|
-
})), observables.
|
|
556
|
+
})), observables.tuiTypedFromEvent(documentRef, "mousemove"))), operators.pairwise(), operators.map(function (_a) {
|
|
492
557
|
var _b = __read(_a, 2), first = _b[0], second = _b[1];
|
|
493
558
|
var deltaX = second.clientX - first.clientX;
|
|
494
559
|
var deltaY = second.clientY - first.clientY;
|
|
495
560
|
return [deltaX, deltaY];
|
|
496
561
|
}),
|
|
497
562
|
// eslint-disable-next-line rxjs/no-unsafe-takeuntil
|
|
498
|
-
operators.takeUntil(
|
|
563
|
+
operators.takeUntil(i1.merge(observables.tuiTypedFromEvent(documentRef, "touchend"), observables.tuiTypedFromEvent(documentRef, "mouseup"))), operators.repeat())
|
|
499
564
|
.subscribe(subscriber);
|
|
500
565
|
}) || this;
|
|
501
566
|
}
|
|
502
|
-
TuiPanService.ctorParameters = function () { return [
|
|
503
|
-
{ type: core.ElementRef, decorators: [{ type: core.Inject, args: [core.ElementRef,] }] },
|
|
504
|
-
{ type: Document, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }
|
|
505
|
-
]; };
|
|
506
|
-
TuiPanService = __decorate([
|
|
507
|
-
core.Injectable(),
|
|
508
|
-
__param(0, core.Inject(core.ElementRef)),
|
|
509
|
-
__param(1, core.Inject(common.DOCUMENT))
|
|
510
|
-
], TuiPanService);
|
|
511
567
|
return TuiPanService;
|
|
512
|
-
}(
|
|
568
|
+
}(i1.Observable));
|
|
569
|
+
TuiPanService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPanService, deps: [{ token: i0.ElementRef }, { token: common$1.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
570
|
+
TuiPanService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPanService });
|
|
571
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPanService, decorators: [{
|
|
572
|
+
type: i0.Injectable
|
|
573
|
+
}], ctorParameters: function () {
|
|
574
|
+
return [{ type: i0__namespace.ElementRef, decorators: [{
|
|
575
|
+
type: i0.Inject,
|
|
576
|
+
args: [i0.ElementRef]
|
|
577
|
+
}] }, { type: Document, decorators: [{
|
|
578
|
+
type: i0.Inject,
|
|
579
|
+
args: [common$1.DOCUMENT]
|
|
580
|
+
}] }];
|
|
581
|
+
} });
|
|
513
582
|
|
|
514
|
-
// @dynamic
|
|
515
583
|
var TuiResizeService = /** @class */ (function (_super) {
|
|
516
584
|
__extends(TuiResizeService, _super);
|
|
517
585
|
function TuiResizeService(elementRef, ngZone, destroy$, support, box, animationFrame$) {
|
|
518
586
|
var _this = _super.call(this, elementRef, ngZone, support, box) || this;
|
|
519
|
-
return _this.pipe(operators.catchError(function () {
|
|
520
|
-
return animationFrame$.pipe(operators.throttleTime(constants.POLLING_TIME), operators.map(function () {
|
|
521
|
-
return elementRef.nativeElement.clientWidth + " " + elementRef.nativeElement.clientHeight;
|
|
522
|
-
}), operators.distinctUntilChanged(), operators.mapTo(constants.EMPTY_ARRAY));
|
|
523
|
-
}), operators.debounceTime(0), observables.tuiZonefree(ngZone), operators.takeUntil(destroy$));
|
|
587
|
+
return _this.pipe(operators.catchError(function () { return animationFrame$.pipe(operators.throttleTime(constants.POLLING_TIME), operators.map(function () { return elementRef.nativeElement.clientWidth + " " + elementRef.nativeElement.clientHeight; }), operators.distinctUntilChanged(), operators.mapTo(constants.EMPTY_ARRAY)); }), operators.debounceTime(0), observables.tuiZonefree(ngZone), operators.takeUntil(destroy$));
|
|
524
588
|
}
|
|
525
|
-
TuiResizeService.ctorParameters = function () { return [
|
|
526
|
-
{ type: core.ElementRef, decorators: [{ type: core.Inject, args: [core.ElementRef,] }] },
|
|
527
|
-
{ type: core.NgZone, decorators: [{ type: core.Inject, args: [core.NgZone,] }] },
|
|
528
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [TuiDestroyService,] }] },
|
|
529
|
-
{ type: Boolean, decorators: [{ type: core.Inject, args: [resizeObserver.RESIZE_OBSERVER_SUPPORT,] }] },
|
|
530
|
-
{ type: undefined, decorators: [{ type: core.Inject, args: [resizeObserver.RESIZE_OPTION_BOX,] }] },
|
|
531
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [common$1.ANIMATION_FRAME,] }] }
|
|
532
|
-
]; };
|
|
533
|
-
TuiResizeService = __decorate([
|
|
534
|
-
core.Injectable(),
|
|
535
|
-
__param(0, core.Inject(core.ElementRef)),
|
|
536
|
-
__param(1, core.Inject(core.NgZone)),
|
|
537
|
-
__param(2, core.Inject(TuiDestroyService)),
|
|
538
|
-
__param(3, core.Inject(resizeObserver.RESIZE_OBSERVER_SUPPORT)),
|
|
539
|
-
__param(4, core.Inject(resizeObserver.RESIZE_OPTION_BOX)),
|
|
540
|
-
__param(5, core.Inject(common$1.ANIMATION_FRAME))
|
|
541
|
-
], TuiResizeService);
|
|
542
589
|
return TuiResizeService;
|
|
543
590
|
}(resizeObserver.ResizeObserverService));
|
|
591
|
+
TuiResizeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiResizeService, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: TuiDestroyService }, { token: resizeObserver.RESIZE_OBSERVER_SUPPORT }, { token: resizeObserver.RESIZE_OPTION_BOX }, { token: common.ANIMATION_FRAME }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
592
|
+
TuiResizeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiResizeService });
|
|
593
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiResizeService, decorators: [{
|
|
594
|
+
type: i0.Injectable
|
|
595
|
+
}], ctorParameters: function () {
|
|
596
|
+
return [{ type: i0__namespace.ElementRef, decorators: [{
|
|
597
|
+
type: i0.Inject,
|
|
598
|
+
args: [i0.ElementRef]
|
|
599
|
+
}] }, { type: i0__namespace.NgZone, decorators: [{
|
|
600
|
+
type: i0.Inject,
|
|
601
|
+
args: [i0.NgZone]
|
|
602
|
+
}] }, { type: i1__namespace.Observable, decorators: [{
|
|
603
|
+
type: i0.Inject,
|
|
604
|
+
args: [TuiDestroyService]
|
|
605
|
+
}] }, { type: undefined, decorators: [{
|
|
606
|
+
type: i0.Inject,
|
|
607
|
+
args: [resizeObserver.RESIZE_OBSERVER_SUPPORT]
|
|
608
|
+
}] }, { type: undefined, decorators: [{
|
|
609
|
+
type: i0.Inject,
|
|
610
|
+
args: [resizeObserver.RESIZE_OPTION_BOX]
|
|
611
|
+
}] }, { type: i1__namespace.Observable, decorators: [{
|
|
612
|
+
type: i0.Inject,
|
|
613
|
+
args: [common.ANIMATION_FRAME]
|
|
614
|
+
}] }];
|
|
615
|
+
} });
|
|
544
616
|
|
|
545
617
|
var SCROLL_TIME = 300;
|
|
546
|
-
// @dynamic
|
|
547
618
|
var TuiScrollService = /** @class */ (function () {
|
|
548
619
|
function TuiScrollService(performanceRef, animationFrame$) {
|
|
549
620
|
this.performanceRef = performanceRef;
|
|
@@ -561,33 +632,35 @@
|
|
|
561
632
|
var deltaTop = scrollTop - initialTop;
|
|
562
633
|
var deltaLeft = scrollLeft - initialLeft;
|
|
563
634
|
var observable = !duration
|
|
564
|
-
?
|
|
565
|
-
:
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
];
|
|
570
|
-
}), operators.takeUntil(rxjs.timer(duration)));
|
|
635
|
+
? i1.of([scrollTop, scrollLeft])
|
|
636
|
+
: 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 [
|
|
637
|
+
initialTop + deltaTop * percent,
|
|
638
|
+
initialLeft + deltaLeft * percent,
|
|
639
|
+
]; }), operators.takeUntil(i1.timer(duration)));
|
|
571
640
|
return observable.pipe(operators.tap(function (_a) {
|
|
572
641
|
var _b = __read(_a, 2), scrollTop = _b[0], scrollLeft = _b[1];
|
|
573
642
|
element.scrollTop = scrollTop;
|
|
574
643
|
element.scrollLeft = scrollLeft;
|
|
575
644
|
}));
|
|
576
645
|
};
|
|
577
|
-
TuiScrollService.ctorParameters = function () { return [
|
|
578
|
-
{ type: Performance, decorators: [{ type: core.Inject, args: [common$1.PERFORMANCE,] }] },
|
|
579
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [common$1.ANIMATION_FRAME,] }] }
|
|
580
|
-
]; };
|
|
581
|
-
TuiScrollService.ɵprov = core.ɵɵdefineInjectable({ factory: function TuiScrollService_Factory() { return new TuiScrollService(core.ɵɵinject(common$1.PERFORMANCE), core.ɵɵinject(common$1.ANIMATION_FRAME)); }, token: TuiScrollService, providedIn: "root" });
|
|
582
|
-
TuiScrollService = __decorate([
|
|
583
|
-
core.Injectable({
|
|
584
|
-
providedIn: "root",
|
|
585
|
-
}),
|
|
586
|
-
__param(0, core.Inject(common$1.PERFORMANCE)),
|
|
587
|
-
__param(1, core.Inject(common$1.ANIMATION_FRAME))
|
|
588
|
-
], TuiScrollService);
|
|
589
646
|
return TuiScrollService;
|
|
590
647
|
}());
|
|
648
|
+
TuiScrollService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiScrollService, deps: [{ token: common.PERFORMANCE }, { token: common.ANIMATION_FRAME }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
649
|
+
TuiScrollService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiScrollService, providedIn: "root" });
|
|
650
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiScrollService, decorators: [{
|
|
651
|
+
type: i0.Injectable,
|
|
652
|
+
args: [{
|
|
653
|
+
providedIn: "root",
|
|
654
|
+
}]
|
|
655
|
+
}], ctorParameters: function () {
|
|
656
|
+
return [{ type: Performance, decorators: [{
|
|
657
|
+
type: i0.Inject,
|
|
658
|
+
args: [common.PERFORMANCE]
|
|
659
|
+
}] }, { type: i1__namespace.Observable, decorators: [{
|
|
660
|
+
type: i0.Inject,
|
|
661
|
+
args: [common.ANIMATION_FRAME]
|
|
662
|
+
}] }];
|
|
663
|
+
} });
|
|
591
664
|
|
|
592
665
|
var TuiStaticRequestService = /** @class */ (function () {
|
|
593
666
|
function TuiStaticRequestService() {
|
|
@@ -598,7 +671,7 @@
|
|
|
598
671
|
if (cache) {
|
|
599
672
|
return cache;
|
|
600
673
|
}
|
|
601
|
-
var observable = new
|
|
674
|
+
var observable = new i1.Observable(function (observer) {
|
|
602
675
|
var xhr = new XMLHttpRequest();
|
|
603
676
|
xhr.onreadystatechange = function () {
|
|
604
677
|
if (xhr.readyState === 4) {
|
|
@@ -622,25 +695,24 @@
|
|
|
622
695
|
this.cache.set(url, piped);
|
|
623
696
|
return piped;
|
|
624
697
|
};
|
|
625
|
-
TuiStaticRequestService.ɵprov = core.ɵɵdefineInjectable({ factory: function TuiStaticRequestService_Factory() { return new TuiStaticRequestService(); }, token: TuiStaticRequestService, providedIn: "root" });
|
|
626
|
-
TuiStaticRequestService = __decorate([
|
|
627
|
-
core.Injectable({
|
|
628
|
-
providedIn: "root",
|
|
629
|
-
})
|
|
630
|
-
], TuiStaticRequestService);
|
|
631
698
|
return TuiStaticRequestService;
|
|
632
699
|
}());
|
|
700
|
+
TuiStaticRequestService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiStaticRequestService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
701
|
+
TuiStaticRequestService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiStaticRequestService, providedIn: "root" });
|
|
702
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiStaticRequestService, decorators: [{
|
|
703
|
+
type: i0.Injectable,
|
|
704
|
+
args: [{
|
|
705
|
+
providedIn: "root",
|
|
706
|
+
}]
|
|
707
|
+
}] });
|
|
633
708
|
|
|
634
|
-
/**
|
|
635
|
-
* @dynamic
|
|
636
|
-
*/
|
|
637
709
|
var TuiSwipeService = /** @class */ (function (_super) {
|
|
638
710
|
__extends(TuiSwipeService, _super);
|
|
639
711
|
function TuiSwipeService(_a, _b, documentRef) {
|
|
640
712
|
var nativeElement = _a.nativeElement;
|
|
641
713
|
var timeout = _b.timeout, threshold = _b.threshold;
|
|
642
714
|
return _super.call(this, function (subscriber) {
|
|
643
|
-
|
|
715
|
+
i1.merge(observables.tuiTypedFromEvent(nativeElement, "touchstart", { passive: true }), observables.tuiTypedFromEvent(documentRef, "touchend"))
|
|
644
716
|
.pipe(operators.pairwise(), operators.filter(function (_a) {
|
|
645
717
|
var _b = __read(_a, 2), first = _b[0], second = _b[1];
|
|
646
718
|
return !!first.touches.length &&
|
|
@@ -659,66 +731,68 @@
|
|
|
659
731
|
Math.abs(distanceY) > threshold) &&
|
|
660
732
|
duration < timeout) {
|
|
661
733
|
return {
|
|
662
|
-
direction: miscellaneous.
|
|
734
|
+
direction: miscellaneous.tuiGetSwipeDirection(distanceX, distanceY),
|
|
663
735
|
events: [start, end],
|
|
664
736
|
};
|
|
665
737
|
}
|
|
666
738
|
return null;
|
|
667
|
-
}), operators.filter(miscellaneous.
|
|
739
|
+
}), operators.filter(miscellaneous.tuiIsPresent))
|
|
668
740
|
.subscribe(subscriber);
|
|
669
741
|
}) || this;
|
|
670
742
|
}
|
|
671
|
-
TuiSwipeService.ctorParameters = function () { return [
|
|
672
|
-
{ type: core.ElementRef, decorators: [{ type: core.Inject, args: [core.ElementRef,] }] },
|
|
673
|
-
{ type: undefined, decorators: [{ type: core.Inject, args: [tokens.TUI_SWIPE_OPTIONS,] }] },
|
|
674
|
-
{ type: Document, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }
|
|
675
|
-
]; };
|
|
676
|
-
TuiSwipeService = __decorate([
|
|
677
|
-
core.Injectable(),
|
|
678
|
-
__param(0, core.Inject(core.ElementRef)),
|
|
679
|
-
__param(1, core.Inject(tokens.TUI_SWIPE_OPTIONS)),
|
|
680
|
-
__param(2, core.Inject(common.DOCUMENT))
|
|
681
|
-
], TuiSwipeService);
|
|
682
743
|
return TuiSwipeService;
|
|
683
|
-
}(
|
|
744
|
+
}(i1.Observable));
|
|
745
|
+
TuiSwipeService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSwipeService, deps: [{ token: i0.ElementRef }, { token: tokens.TUI_SWIPE_OPTIONS }, { token: common$1.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
746
|
+
TuiSwipeService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSwipeService });
|
|
747
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSwipeService, decorators: [{
|
|
748
|
+
type: i0.Injectable
|
|
749
|
+
}], ctorParameters: function () {
|
|
750
|
+
return [{ type: i0__namespace.ElementRef, decorators: [{
|
|
751
|
+
type: i0.Inject,
|
|
752
|
+
args: [i0.ElementRef]
|
|
753
|
+
}] }, { type: undefined, decorators: [{
|
|
754
|
+
type: i0.Inject,
|
|
755
|
+
args: [tokens.TUI_SWIPE_OPTIONS]
|
|
756
|
+
}] }, { type: Document, decorators: [{
|
|
757
|
+
type: i0.Inject,
|
|
758
|
+
args: [common$1.DOCUMENT]
|
|
759
|
+
}] }];
|
|
760
|
+
} });
|
|
684
761
|
|
|
685
762
|
var TOUCH_SENSITIVITY = 0.01;
|
|
686
|
-
// @dynamic
|
|
687
763
|
var TuiZoomService = /** @class */ (function (_super) {
|
|
688
764
|
__extends(TuiZoomService, _super);
|
|
689
765
|
function TuiZoomService(_a, _b) {
|
|
690
766
|
var nativeElement = _a.nativeElement;
|
|
691
767
|
var wheelSensitivity = _b.wheelSensitivity;
|
|
692
768
|
return _super.call(this, function (subscriber) {
|
|
693
|
-
|
|
769
|
+
i1.merge(observables.tuiTypedFromEvent(nativeElement, "touchstart", { passive: true }).pipe(operators.filter(function (_a) {
|
|
694
770
|
var touches = _a.touches;
|
|
695
771
|
return touches.length > 1;
|
|
696
|
-
}), operators.switchMap(function (startEvent) {
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
}), operators.takeUntil(observables.typedFromEvent(nativeElement, "touchend")));
|
|
721
|
-
})), observables.typedFromEvent(nativeElement, "wheel", { passive: false }).pipe(observables.preventDefault(), operators.map(function (wheel) { return ({
|
|
772
|
+
}), operators.switchMap(function (startEvent) { return observables.tuiTypedFromEvent(nativeElement, "touchmove", {
|
|
773
|
+
passive: true,
|
|
774
|
+
}).pipe(observables.tuiPreventDefault(), operators.scan(function (prev, event) {
|
|
775
|
+
var distance = utils.tuiDistanceBetweenTouches(event);
|
|
776
|
+
return {
|
|
777
|
+
event: event,
|
|
778
|
+
distance: distance,
|
|
779
|
+
delta: (distance - prev.distance) *
|
|
780
|
+
TOUCH_SENSITIVITY,
|
|
781
|
+
};
|
|
782
|
+
}, {
|
|
783
|
+
event: startEvent,
|
|
784
|
+
distance: utils.tuiDistanceBetweenTouches(startEvent),
|
|
785
|
+
delta: 0,
|
|
786
|
+
}), operators.map(function (_a) {
|
|
787
|
+
var event = _a.event, delta = _a.delta;
|
|
788
|
+
var clientX = (event.touches[0].clientX +
|
|
789
|
+
event.touches[1].clientX) /
|
|
790
|
+
2;
|
|
791
|
+
var clientY = (event.touches[0].clientY +
|
|
792
|
+
event.touches[1].clientY) /
|
|
793
|
+
2;
|
|
794
|
+
return { clientX: clientX, clientY: clientY, delta: delta, event: event };
|
|
795
|
+
}), operators.takeUntil(observables.tuiTypedFromEvent(nativeElement, "touchend"))); })), observables.tuiTypedFromEvent(nativeElement, "wheel", { passive: false }).pipe(observables.tuiPreventDefault(), operators.map(function (wheel) { return ({
|
|
722
796
|
clientX: wheel.clientX,
|
|
723
797
|
clientY: wheel.clientY,
|
|
724
798
|
delta: -wheel.deltaY * wheelSensitivity,
|
|
@@ -726,22 +800,29 @@
|
|
|
726
800
|
}); }))).subscribe(subscriber);
|
|
727
801
|
}) || this;
|
|
728
802
|
}
|
|
729
|
-
TuiZoomService.ctorParameters = function () { return [
|
|
730
|
-
{ type: core.ElementRef, decorators: [{ type: core.Inject, args: [core.ElementRef,] }] },
|
|
731
|
-
{ type: undefined, decorators: [{ type: core.Inject, args: [tokens.TUI_ZOOM_OPTIONS,] }] }
|
|
732
|
-
]; };
|
|
733
|
-
TuiZoomService = __decorate([
|
|
734
|
-
core.Injectable(),
|
|
735
|
-
__param(0, core.Inject(core.ElementRef)),
|
|
736
|
-
__param(1, core.Inject(tokens.TUI_ZOOM_OPTIONS))
|
|
737
|
-
], TuiZoomService);
|
|
738
803
|
return TuiZoomService;
|
|
739
|
-
}(
|
|
804
|
+
}(i1.Observable));
|
|
805
|
+
TuiZoomService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiZoomService, deps: [{ token: i0.ElementRef }, { token: tokens.TUI_ZOOM_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
806
|
+
TuiZoomService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiZoomService });
|
|
807
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiZoomService, decorators: [{
|
|
808
|
+
type: i0.Injectable
|
|
809
|
+
}], ctorParameters: function () {
|
|
810
|
+
return [{ type: i0__namespace.ElementRef, decorators: [{
|
|
811
|
+
type: i0.Inject,
|
|
812
|
+
args: [i0.ElementRef]
|
|
813
|
+
}] }, { type: undefined, decorators: [{
|
|
814
|
+
type: i0.Inject,
|
|
815
|
+
args: [tokens.TUI_ZOOM_OPTIONS]
|
|
816
|
+
}] }];
|
|
817
|
+
} });
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* Generated bundle index. Do not edit.
|
|
821
|
+
*/
|
|
740
822
|
|
|
741
823
|
exports.TuiDestroyService = TuiDestroyService;
|
|
742
824
|
exports.TuiDirectiveStylesService = TuiDirectiveStylesService;
|
|
743
825
|
exports.TuiFocusVisibleService = TuiFocusVisibleService;
|
|
744
|
-
exports.TuiHoveredService = TuiHoveredService;
|
|
745
826
|
exports.TuiIdService = TuiIdService;
|
|
746
827
|
exports.TuiObscuredService = TuiObscuredService;
|
|
747
828
|
exports.TuiPanService = TuiPanService;
|
|
@@ -754,5 +835,5 @@
|
|
|
754
835
|
|
|
755
836
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
756
837
|
|
|
757
|
-
}))
|
|
838
|
+
}));
|
|
758
839
|
//# sourceMappingURL=taiga-ui-cdk-services.umd.js.map
|