@taiga-ui/cdk 2.55.0 → 3.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/abstract/control.d.ts +3 -0
- package/abstract/controller.d.ts +4 -7
- package/abstract/dialog.directive.d.ts +3 -0
- package/abstract/dialog.service.d.ts +3 -0
- 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 +3 -0
- package/abstract/portal-service.d.ts +3 -0
- package/abstract/taiga-ui-cdk-abstract.d.ts +1 -0
- package/abstract/theme-switcher.d.ts +3 -0
- package/bundles/taiga-ui-cdk-abstract.umd.js +550 -489
- package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-classes.umd.js +10 -8
- package/bundles/taiga-ui-cdk-classes.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-coercion.umd.js +8 -4
- 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 +421 -296
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js +403 -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 +25 -28
- package/bundles/taiga-ui-cdk-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-date-time.umd.js +393 -461
- package/bundles/taiga-ui-cdk-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-decorators.umd.js +336 -260
- package/bundles/taiga-ui-cdk-decorators.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.js +407 -294
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js +463 -345
- 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 +64 -282
- package/bundles/taiga-ui-cdk-directives-checked.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js +384 -273
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-drag.umd.js +63 -280
- package/bundles/taiga-ui-cdk-directives-drag.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-droppable.umd.js +61 -278
- 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 +66 -281
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js +51 -267
- 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 -269
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-hovered.umd.js +412 -286
- package/bundles/taiga-ui-cdk-directives-hovered.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-input-mode.umd.js +67 -279
- 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 +433 -313
- 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 +79 -293
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-pan.umd.js +51 -267
- 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 +53 -270
- package/bundles/taiga-ui-cdk-directives-pressed.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js +60 -273
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js +384 -272
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-resize.umd.js +51 -267
- package/bundles/taiga-ui-cdk-directives-resize.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-swipe.umd.js +51 -267
- 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 -270
- 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 +351 -308
- 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 +25 -32
- 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-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 +7 -11
- package/bundles/taiga-ui-cdk-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-services.umd.js +595 -479
- package/bundles/taiga-ui-cdk-services.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-tokens.umd.js +378 -301
- 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 +14 -22
- package/bundles/taiga-ui-cdk-utils-browser.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-dom.umd.js +23 -52
- package/bundles/taiga-ui-cdk-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-focus.umd.js +64 -86
- package/bundles/taiga-ui-cdk-utils-focus.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-format.umd.js +8 -26
- package/bundles/taiga-ui-cdk-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-math.umd.js +13 -24
- package/bundles/taiga-ui-cdk-utils-math.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js +26 -33
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-os.umd.js +8 -4
- package/bundles/taiga-ui-cdk-utils-os.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-svg.umd.js +334 -254
- package/bundles/taiga-ui-cdk-utils-svg.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils.umd.js +19 -35
- 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 +1 -1
- 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/empty.d.ts +0 -3
- package/constants/package.json +2 -5
- package/constants/taiga-ui-cdk-constants.d.ts +1 -0
- package/date-time/date-fillers.d.ts +0 -9
- package/date-time/day-range.d.ts +5 -7
- package/date-time/day.d.ts +0 -16
- package/date-time/month-range.d.ts +0 -4
- package/date-time/month.d.ts +0 -17
- 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 +0 -16
- 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 +3 -0
- 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 -0
- 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 -0
- 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 -0
- 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 -2
- 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 -0
- 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 +23 -21
- 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 +43 -85
- package/esm2015/abstract/multiple-control.js +9 -8
- package/esm2015/abstract/nullable-control.js +9 -8
- package/esm2015/abstract/portal-host.js +21 -20
- package/esm2015/abstract/portal-service.js +9 -8
- package/esm2015/abstract/taiga-ui-cdk-abstract.js +1 -1
- package/esm2015/abstract/theme-switcher.js +13 -14
- package/esm2015/classes/assert.js +3 -5
- 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 +2 -2
- 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 +40 -31
- 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 +24 -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 +1 -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 +5 -5
- package/esm2015/constants/polling-time.js +1 -1
- package/esm2015/constants/stringify.js +1 -1
- package/esm2015/constants/svg-node-filter.js +2 -2
- package/esm2015/constants/taiga-ui-cdk-constants.js +1 -1
- package/esm2015/constants/unicode-chars.js +11 -11
- package/esm2015/date-time/date-fillers.js +1 -17
- package/esm2015/date-time/date-format.js +3 -3
- package/esm2015/date-time/date-separator.js +3 -3
- package/esm2015/date-time/date-time.js +1 -1
- package/esm2015/date-time/day-range.js +6 -16
- package/esm2015/date-time/day.js +23 -57
- 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 +7 -35
- package/esm2015/date-time/taiga-ui-cdk-date-time.js +1 -1
- package/esm2015/date-time/time.js +13 -14
- package/esm2015/date-time/year.js +6 -34
- package/esm2015/decorators/default-prop.js +1 -1
- package/esm2015/decorators/index.js +1 -1
- package/esm2015/decorators/pure.js +2 -2
- 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 +37 -30
- 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 +18 -18
- package/esm2015/directives/auto-focus/autofocus.module.js +14 -11
- package/esm2015/directives/auto-focus/autofocus.options.js +5 -10
- package/esm2015/directives/auto-focus/handlers/abstract.handler.js +11 -14
- package/esm2015/directives/auto-focus/handlers/default.handler.js +25 -20
- package/esm2015/directives/auto-focus/handlers/ios.handler.js +45 -39
- 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 +26 -25
- 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 +29 -29
- 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 +22 -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 +24 -23
- 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 +28 -27
- 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 +35 -32
- 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 -17
- 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 +22 -21
- 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 -18
- 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 +36 -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 +33 -27
- 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 +59 -47
- 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 +37 -34
- 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 -17
- 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 +20 -19
- 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 +27 -22
- 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 +21 -17
- 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 -17
- 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 -17
- 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 -20
- 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 +2 -2
- package/esm2015/exceptions/document-selection.exception.js +2 -2
- 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 +2 -2
- package/esm2015/exceptions/owner-document.exception.js +2 -2
- package/esm2015/exceptions/pure.exception.js +2 -2
- package/esm2015/exceptions/table-sort-key.exception.js +2 -2
- package/esm2015/exceptions/taiga-ui-cdk-exceptions.js +1 -1
- package/esm2015/exceptions/ts-parser.exception.js +2 -2
- package/esm2015/exceptions/value-changes.exception.js +2 -2
- package/esm2015/exceptions/value-present.exception.js +2 -2
- package/esm2015/exceptions/xml-parsing.exception.js +2 -2
- 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 +2 -2
- package/esm2015/observables/focus-visible-observable.js +7 -7
- package/esm2015/observables/index.js +1 -1
- package/esm2015/observables/is-alive.js +1 -1
- package/esm2015/observables/items-query-list-observable.js +1 -1
- package/esm2015/observables/mouse-drag-finish-from.js +2 -2
- package/esm2015/observables/must-be-present.js +1 -1
- package/esm2015/observables/pressed-observable.js +2 -2
- package/esm2015/observables/prevent-default.js +1 -1
- package/esm2015/observables/replay-control-value-changes.js +2 -3
- package/esm2015/observables/stop-propagation.js +1 -1
- package/esm2015/observables/taiga-ui-cdk-observables.js +1 -1
- package/esm2015/observables/typed-from-event.js +1 -1
- package/esm2015/observables/watch.js +1 -1
- 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/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 +27 -27
- package/esm2015/services/focus-visible.service.js +19 -16
- package/esm2015/services/id.service.js +13 -14
- package/esm2015/services/index.js +1 -2
- package/esm2015/services/obscured.service.js +32 -24
- package/esm2015/services/pan.service.js +19 -18
- package/esm2015/services/parents-scroll.service.js +16 -15
- package/esm2015/services/resize.service.js +28 -23
- package/esm2015/services/scroll.service.js +22 -22
- package/esm2015/services/static-request.service.js +12 -12
- package/esm2015/services/swipe.service.js +19 -17
- package/esm2015/services/taiga-ui-cdk-services.js +1 -1
- package/esm2015/services/zoom.service.js +17 -16
- package/esm2015/taiga-ui-cdk.js +1 -1
- package/esm2015/tokens/active-element.js +9 -9
- package/esm2015/tokens/alerts.js +2 -2
- package/esm2015/tokens/default-renderer.js +2 -2
- package/esm2015/tokens/dialogs.js +2 -2
- package/esm2015/tokens/focusable-item-accessor.js +2 -2
- package/esm2015/tokens/index.js +1 -1
- package/esm2015/tokens/is-android.js +2 -2
- package/esm2015/tokens/is-apple.js +2 -2
- package/esm2015/tokens/is-chromium.js +2 -2
- package/esm2015/tokens/is-cypress.js +2 -2
- package/esm2015/tokens/is-firefox.js +3 -3
- package/esm2015/tokens/is-ios.js +2 -2
- package/esm2015/tokens/is-mobile.js +2 -2
- package/esm2015/tokens/is-webkit.js +2 -2
- package/esm2015/tokens/removed-element.js +3 -4
- package/esm2015/tokens/sanitizer.js +2 -2
- package/esm2015/tokens/swipe-options.js +2 -2
- package/esm2015/tokens/taiga-ui-cdk-tokens.js +1 -1
- package/esm2015/tokens/take-only-trusted-events.js +2 -2
- package/esm2015/tokens/touch-supported.js +3 -3
- package/esm2015/tokens/window-height.js +3 -3
- package/esm2015/tokens/zoom-options.js +2 -2
- 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 -1
- package/esm2015/utils/browser/is-edge-older-than.js +3 -8
- package/esm2015/utils/browser/is-edge.js +2 -2
- package/esm2015/utils/browser/is-firefox.js +2 -2
- package/esm2015/utils/browser/is-ie.js +3 -8
- package/esm2015/utils/browser/is-safari.js +2 -2
- package/esm2015/utils/browser/taiga-ui-cdk-utils-browser.js +1 -1
- package/esm2015/utils/dom/can-scroll.js +1 -1
- package/esm2015/utils/dom/contains-or-after.js +1 -1
- package/esm2015/utils/dom/get-actual-target.js +2 -2
- package/esm2015/utils/dom/get-clipboard-data-text.js +4 -4
- package/esm2015/utils/dom/get-document-or-shadow-root.js +2 -2
- package/esm2015/utils/dom/get-element-obscurers.js +1 -1
- package/esm2015/utils/dom/get-element-offset.js +2 -2
- package/esm2015/utils/dom/get-scroll-parent.js +1 -1
- package/esm2015/utils/dom/get-selected-text.js +1 -1
- package/esm2015/utils/dom/index.js +1 -3
- package/esm2015/utils/dom/is-current-target.js +1 -1
- package/esm2015/utils/dom/is-form-field.js +4 -4
- package/esm2015/utils/dom/is-inside-iframe.js +1 -1
- package/esm2015/utils/dom/is-node-in.js +4 -5
- 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 +4 -5
- package/esm2015/utils/focus/get-closest-keyboard-focusable.js +7 -13
- package/esm2015/utils/focus/get-native-focused.js +2 -4
- package/esm2015/utils/focus/index.js +1 -1
- package/esm2015/utils/focus/is-native-focused-in.js +4 -6
- package/esm2015/utils/focus/is-native-focused.js +4 -6
- package/esm2015/utils/focus/is-native-keyboard-focusable.js +15 -18
- package/esm2015/utils/focus/is-native-mouse-focusable.js +6 -7
- package/esm2015/utils/focus/move-focus.js +4 -6
- package/esm2015/utils/focus/set-native-focused.js +1 -1
- package/esm2015/utils/focus/set-native-mouse-focused.js +5 -5
- 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 +3 -5
- package/esm2015/utils/format/taiga-ui-cdk-utils-format.js +1 -1
- package/esm2015/utils/index.js +1 -1
- package/esm2015/utils/math/clamp.js +1 -1
- 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 +1 -1
- package/esm2015/utils/math/round.js +5 -5
- package/esm2015/utils/math/sum.js +1 -1
- package/esm2015/utils/math/taiga-ui-cdk-utils-math.js +1 -1
- package/esm2015/utils/math/to-int.js +1 -1
- package/esm2015/utils/math/to-radians.js +1 -1
- package/esm2015/utils/miscellaneous/distance-between-touches.js +1 -1
- package/esm2015/utils/miscellaneous/ease-in-out-quad.js +2 -2
- package/esm2015/utils/miscellaneous/flat-length.js +1 -1
- package/esm2015/utils/miscellaneous/get-original-array-from-query-list.js +1 -1
- package/esm2015/utils/miscellaneous/get-swipe-direction.js +3 -3
- package/esm2015/utils/miscellaneous/identity.js +1 -1
- package/esm2015/utils/miscellaneous/index.js +2 -2
- package/esm2015/utils/miscellaneous/is-element-editable.js +1 -1
- package/esm2015/utils/miscellaneous/is-number.js +2 -2
- package/esm2015/utils/miscellaneous/is-present.js +1 -1
- package/esm2015/utils/miscellaneous/is-string.js +4 -0
- package/esm2015/utils/miscellaneous/mark-control-as-touched-and-validate.js +1 -1
- 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 +1 -1
- package/esm2015/utils/os/index.js +1 -1
- package/esm2015/utils/os/is-apple-platform.js +2 -2
- package/esm2015/utils/os/is-apple.js +1 -1
- package/esm2015/utils/os/is-ios.js +1 -1
- 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 -2
- 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 +147 -175
- package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-classes.js +3 -5
- package/fesm2015/taiga-ui-cdk-classes.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-coercion.js +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 +65 -41
- package/fesm2015/taiga-ui-cdk-components-dialog-host.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-components-dropdown-host.js +51 -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 +16 -18
- package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-date-time.js +50 -169
- package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-decorators.js +1 -1
- package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-active-zone.js +48 -36
- package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +109 -98
- package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-autofilled.js +51 -42
- package/fesm2015/taiga-ui-cdk-directives-autofilled.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-checked.js +41 -36
- package/fesm2015/taiga-ui-cdk-directives-checked.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +34 -26
- package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-drag.js +36 -30
- package/fesm2015/taiga-ui-cdk-directives-drag.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-droppable.js +40 -34
- 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 +46 -38
- package/fesm2015/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focus-visible.js +30 -24
- 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 +34 -28
- 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 -25
- package/fesm2015/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-hovered.js +60 -41
- package/fesm2015/taiga-ui-cdk-directives-hovered.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-input-mode.js +45 -34
- 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 +71 -54
- 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 +49 -41
- package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-pan.js +30 -24
- 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 +32 -26
- package/fesm2015/taiga-ui-cdk-directives-pressed.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-prevent-default.js +39 -29
- package/fesm2015/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +33 -24
- package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-resize.js +30 -24
- package/fesm2015/taiga-ui-cdk-directives-resize.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-swipe.js +30 -24
- 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 -27
- 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 +14 -35
- 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 +11 -12
- 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-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 -200
- package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-tokens.js +31 -32
- 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 +8 -18
- package/fesm2015/taiga-ui-cdk-utils-browser.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-dom.js +13 -43
- package/fesm2015/taiga-ui-cdk-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-focus.js +55 -73
- package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-format.js +3 -22
- package/fesm2015/taiga-ui-cdk-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-math.js +7 -20
- package/fesm2015/taiga-ui-cdk-utils-math.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +19 -29
- package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-os.js +1 -1
- package/fesm2015/taiga-ui-cdk-utils-os.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-svg.js +1 -1
- package/fesm2015/taiga-ui-cdk-utils-svg.js.map +1 -1
- 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/package.json +2 -5
- package/observables/replay-control-value-changes.d.ts +1 -2
- package/observables/taiga-ui-cdk-observables.d.ts +1 -0
- package/package.json +9 -13
- 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/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/taiga-styles.d.ts +3 -0
- package/schematics/constants/taiga-styles.js +6 -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 +1 -0
- package/schematics/ng-add/steps/add-taiga-icons.d.ts +1 -1
- package/schematics/ng-add/steps/add-taiga-icons.js +4 -3
- package/schematics/ng-add/steps/add-taiga-modules.js +1 -0
- package/schematics/ng-add/steps/add-taiga-styles.d.ts +0 -1
- package/schematics/ng-add/steps/add-taiga-styles.js +5 -18
- package/schematics/ng-add/steps/wrap-with-tui-root.js +1 -0
- package/schematics/ng-update/constants/consts.js +1 -0
- package/schematics/ng-update/constants/deprecated-functions.js +1 -0
- 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 +1 -0
- package/schematics/ng-update/constants/templates.js +89 -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 +1 -0
- package/schematics/ng-update/index.d.ts +1 -1
- package/schematics/ng-update/index.js +27 -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-templates.js +8 -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 +1 -0
- package/schematics/ng-update/steps/replace-services.js +1 -0
- package/schematics/ng-update/steps/show-warnings.js +7 -3
- package/schematics/utils/add-styles.d.ts +3 -0
- package/schematics/utils/add-styles.js +17 -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.js +1 -0
- package/schematics/utils/create-angular-json.d.ts +3 -0
- package/schematics/utils/create-angular-json.js +29 -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.js +1 -0
- package/schematics/utils/import-manipulations.js +1 -0
- package/schematics/utils/insert-todo.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.js +1 -0
- package/schematics/utils/templates/template-resource.js +1 -0
- package/services/destroy.service.d.ts +3 -0
- package/services/directive-styles.service.d.ts +3 -0
- package/services/focus-visible.service.d.ts +3 -0
- 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 -0
- 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 -0
- 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/package.json +2 -5
- 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/is-edge-older-than.d.ts +1 -5
- package/utils/browser/is-ie.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/dom/index.d.ts +0 -2
- package/utils/dom/package.json +2 -5
- package/utils/dom/taiga-ui-cdk-utils-dom.d.ts +1 -0
- package/utils/focus/get-closest-keyboard-focusable.d.ts +1 -7
- package/utils/focus/get-native-focused.d.ts +1 -3
- 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 -3
- package/utils/focus/move-focus.d.ts +1 -3
- package/utils/focus/package.json +2 -5
- 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/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/taiga-ui-cdk-utils-math.d.ts +1 -0
- package/utils/miscellaneous/index.d.ts +1 -1
- package/utils/miscellaneous/is-string.d.ts +1 -0
- 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/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/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-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.d.ts +0 -4
- 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/utils/dom/custom-event.js +0 -10
- package/esm2015/utils/dom/get-closest-element.js +0 -20
- package/esm2015/utils/format/pad-start.js +0 -17
- package/esm2015/utils/miscellaneous/fallback-value.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 -11
- 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 -56
- 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/taiga-ui-cdk-directives-for.js +0 -5
- 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 -3
- 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 -17
- package/esm5/utils/dom/is-current-target.js +0 -10
- 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 -152
- 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-mapper.js +0 -44
- package/fesm5/taiga-ui-cdk-pipes-mapper.js.map +0 -1
- package/fesm5/taiga-ui-cdk-pipes.js +0 -7
- 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 -292
- 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/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/taiga-ui-cdk-tokens.metadata.json +0 -1
- package/types/taiga-ui-cdk-types.metadata.json +0 -1
- 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/taiga-ui-cdk-utils-dom.metadata.json +0 -1
- 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/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,31 +1,34 @@
|
|
|
1
|
-
import { __decorate, __param } from "tslib";
|
|
2
1
|
import { ChangeDetectorRef, ElementRef, Inject, Injectable } from '@angular/core';
|
|
3
2
|
import { focusVisibleObservable, watch } from '@taiga-ui/cdk/observables';
|
|
4
3
|
import { Observable } from 'rxjs';
|
|
5
4
|
import { takeUntil } from 'rxjs/operators';
|
|
6
5
|
import { TuiDestroyService } from './destroy.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "rxjs";
|
|
7
8
|
/**
|
|
8
9
|
* Service to imitate :focus-visible
|
|
9
10
|
* (https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible)
|
|
10
11
|
* in browsers that do not support it
|
|
11
12
|
* @dynamic
|
|
12
13
|
*/
|
|
13
|
-
|
|
14
|
+
export class TuiFocusVisibleService extends Observable {
|
|
14
15
|
constructor({ nativeElement }, changeDetectorRef, destroy$) {
|
|
15
16
|
super(subscriber => this.focusVisible$.subscribe(subscriber));
|
|
16
17
|
this.focusVisible$ = focusVisibleObservable(nativeElement).pipe(watch(changeDetectorRef), takeUntil(destroy$));
|
|
17
18
|
}
|
|
18
|
-
}
|
|
19
|
-
TuiFocusVisibleService
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
]
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
],
|
|
30
|
-
|
|
31
|
-
|
|
19
|
+
}
|
|
20
|
+
TuiFocusVisibleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiFocusVisibleService, deps: [{ token: ElementRef }, { token: ChangeDetectorRef }, { token: TuiDestroyService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
21
|
+
TuiFocusVisibleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiFocusVisibleService });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiFocusVisibleService, decorators: [{
|
|
23
|
+
type: Injectable
|
|
24
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
|
|
25
|
+
type: Inject,
|
|
26
|
+
args: [ElementRef]
|
|
27
|
+
}] }, { type: i0.ChangeDetectorRef, decorators: [{
|
|
28
|
+
type: Inject,
|
|
29
|
+
args: [ChangeDetectorRef]
|
|
30
|
+
}] }, { type: i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BPYnNlcnZhYmxlPGJvb2xlYW4+O1xuXG4gICAgY29uc3RydWN0b3IoXG4gICAgICAgIEBJbmplY3QoRWxlbWVudFJlZikge25hdGl2ZUVsZW1lbnR9OiBFbGVtZW50UmVmPEVsZW1lbnQ+LFxuICAgICAgICBASW5qZWN0KENoYW5nZURldGVjdG9yUmVmKSBjaGFuZ2VEZXRlY3RvclJlZjogQ2hhbmdlRGV0ZWN0b3JSZWYsXG4gICAgICAgIEBJbmplY3QoVHVpRGVzdHJveVNlcnZpY2UpIGRlc3Ryb3kkOiBPYnNlcnZhYmxlPHZvaWQ+LFxuICAgICkge1xuICAgICAgICBzdXBlcihzdWJzY3JpYmVyID0+IHRoaXMuZm9jdXNWaXNpYmxlJC5zdWJzY3JpYmUoc3Vic2NyaWJlcikpO1xuXG4gICAgICAgIHRoaXMuZm9jdXNWaXNpYmxlJCA9IGZvY3VzVmlzaWJsZU9ic2VydmFibGUobmF0aXZlRWxlbWVudCkucGlwZShcbiAgICAgICAgICAgIHdhdGNoKGNoYW5nZURldGVjdG9yUmVmKSxcbiAgICAgICAgICAgIHRha2VVbnRpbChkZXN0cm95JCksXG4gICAgICAgICk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
var TuiIdService_1;
|
|
2
|
-
import { __decorate } from "tslib";
|
|
3
1
|
import { Injectable } from '@angular/core';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
|
-
const TUI =
|
|
3
|
+
const TUI = `tui_`;
|
|
6
4
|
/**
|
|
7
5
|
* Generates unique ids
|
|
8
6
|
*/
|
|
9
|
-
|
|
7
|
+
export class TuiIdService {
|
|
10
8
|
generate() {
|
|
11
|
-
return `${TUI}${
|
|
9
|
+
return `${TUI}${TuiIdService.autoId++}${Date.now()}`;
|
|
12
10
|
}
|
|
13
|
-
}
|
|
11
|
+
}
|
|
14
12
|
TuiIdService.autoId = 0;
|
|
15
|
-
TuiIdService.ɵ
|
|
16
|
-
TuiIdService =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
TuiIdService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiIdService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
+
TuiIdService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiIdService, providedIn: `root` });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiIdService, decorators: [{
|
|
16
|
+
type: Injectable,
|
|
17
|
+
args: [{
|
|
18
|
+
providedIn: `root`,
|
|
19
|
+
}]
|
|
20
|
+
}] });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2Nkay9zZXJ2aWNlcy9pZC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7O0FBRXpDLE1BQU0sR0FBRyxHQUFHLE1BQU0sQ0FBQztBQUVuQjs7R0FFRztBQUlILE1BQU0sT0FBTyxZQUFZO0lBR3JCLFFBQVE7UUFDSixPQUFPLEdBQUcsR0FBRyxHQUFHLFlBQVksQ0FBQyxNQUFNLEVBQUUsR0FBRyxJQUFJLENBQUMsR0FBRyxFQUFFLEVBQUUsQ0FBQztJQUN6RCxDQUFDOztBQUpjLG1CQUFNLEdBQUcsQ0FBQyxDQUFDOzBHQURqQixZQUFZOzhHQUFaLFlBQVksY0FGVCxNQUFNOzRGQUVULFlBQVk7a0JBSHhCLFVBQVU7bUJBQUM7b0JBQ1IsVUFBVSxFQUFFLE1BQU07aUJBQ3JCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtJbmplY3RhYmxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuY29uc3QgVFVJID0gYHR1aV9gO1xuXG4vKipcbiAqIEdlbmVyYXRlcyB1bmlxdWUgaWRzXG4gKi9cbkBJbmplY3RhYmxlKHtcbiAgICBwcm92aWRlZEluOiBgcm9vdGAsXG59KVxuZXhwb3J0IGNsYXNzIFR1aUlkU2VydmljZSB7XG4gICAgcHJpdmF0ZSBzdGF0aWMgYXV0b0lkID0gMDtcblxuICAgIGdlbmVyYXRlKCk6IHN0cmluZyB7XG4gICAgICAgIHJldHVybiBgJHtUVUl9JHtUdWlJZFNlcnZpY2UuYXV0b0lkKyt9JHtEYXRlLm5vdygpfWA7XG4gICAgfVxufVxuIl19
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from './destroy.service';
|
|
2
2
|
export * from './directive-styles.service';
|
|
3
3
|
export * from './focus-visible.service';
|
|
4
|
-
export * from './hovered.service';
|
|
5
4
|
export * from './id.service';
|
|
6
5
|
export * from './obscured.service';
|
|
7
6
|
export * from './pan.service';
|
|
@@ -11,4 +10,4 @@ export * from './scroll.service';
|
|
|
11
10
|
export * from './static-request.service';
|
|
12
11
|
export * from './swipe.service';
|
|
13
12
|
export * from './zoom.service';
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvc2VydmljZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYyxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZGVzdHJveS5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vZGlyZWN0aXZlLXN0eWxlcy5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vZm9jdXMtdmlzaWJsZS5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vaWQuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL29ic2N1cmVkLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9wYW4uc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL3BhcmVudHMtc2Nyb2xsLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9yZXNpemUuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL3Njcm9sbC5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vc3RhdGljLXJlcXVlc3Quc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL3N3aXBlLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi96b29tLnNlcnZpY2UnO1xuIl19
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __decorate, __param } from "tslib";
|
|
2
1
|
import { ElementRef, Inject, Injectable, NgZone, Self } from '@angular/core';
|
|
3
2
|
import { ANIMATION_FRAME, WINDOW } from '@ng-web-apis/common';
|
|
4
3
|
import { POLLING_TIME } from '@taiga-ui/cdk/constants';
|
|
@@ -8,6 +7,9 @@ import { fromEvent, merge, Observable } from 'rxjs';
|
|
|
8
7
|
import { delay, distinctUntilChanged, map, startWith, takeUntil, throttleTime, } from 'rxjs/operators';
|
|
9
8
|
import { TuiDestroyService } from './destroy.service';
|
|
10
9
|
import { TuiParentsScrollService } from './parents-scroll.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "./parents-scroll.service";
|
|
12
|
+
import * as i2 from "rxjs";
|
|
11
13
|
// @bad TODO: Consider Intersection Observer with fallback to current implementation
|
|
12
14
|
/**
|
|
13
15
|
* Service that monitors element visibility by subscribing to scrolls
|
|
@@ -16,31 +18,37 @@ import { TuiParentsScrollService } from './parents-scroll.service';
|
|
|
16
18
|
*/
|
|
17
19
|
// Ambient type cannot be used without dynamic https://github.com/angular/angular/issues/23395
|
|
18
20
|
// @dynamic
|
|
19
|
-
|
|
21
|
+
export class TuiObscuredService extends Observable {
|
|
20
22
|
constructor(parentsScroll$, { nativeElement }, ngZone, windowRef, destroy$, animationFrame$) {
|
|
21
23
|
super(subscriber => this.obscured$.subscribe(subscriber));
|
|
22
24
|
this.obscured$ = merge(
|
|
23
25
|
// delay is added so it will not interfere with other listeners
|
|
24
|
-
merge(parentsScroll$, fromEvent(windowRef,
|
|
26
|
+
merge(parentsScroll$, fromEvent(windowRef, `resize`)).pipe(delay(0)), animationFrame$.pipe(throttleTime(POLLING_TIME))).pipe(map(() => getElementObscurers(nativeElement)), startWith(null), distinctUntilChanged(), tuiZoneOptimized(ngZone), takeUntil(destroy$));
|
|
25
27
|
}
|
|
26
|
-
}
|
|
27
|
-
TuiObscuredService
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
]
|
|
45
|
-
|
|
46
|
-
|
|
28
|
+
}
|
|
29
|
+
TuiObscuredService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiObscuredService, deps: [{ token: TuiParentsScrollService, self: true }, { token: ElementRef }, { token: NgZone }, { token: WINDOW }, { token: TuiDestroyService }, { token: ANIMATION_FRAME }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
30
|
+
TuiObscuredService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiObscuredService });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiObscuredService, decorators: [{
|
|
32
|
+
type: Injectable
|
|
33
|
+
}], ctorParameters: function () { return [{ type: i1.TuiParentsScrollService, decorators: [{
|
|
34
|
+
type: Inject,
|
|
35
|
+
args: [TuiParentsScrollService]
|
|
36
|
+
}, {
|
|
37
|
+
type: Self
|
|
38
|
+
}] }, { type: i0.ElementRef, decorators: [{
|
|
39
|
+
type: Inject,
|
|
40
|
+
args: [ElementRef]
|
|
41
|
+
}] }, { type: i0.NgZone, decorators: [{
|
|
42
|
+
type: Inject,
|
|
43
|
+
args: [NgZone]
|
|
44
|
+
}] }, { type: Window, decorators: [{
|
|
45
|
+
type: Inject,
|
|
46
|
+
args: [WINDOW]
|
|
47
|
+
}] }, { type: i2.Observable, decorators: [{
|
|
48
|
+
type: Inject,
|
|
49
|
+
args: [TuiDestroyService]
|
|
50
|
+
}] }, { type: i2.Observable, decorators: [{
|
|
51
|
+
type: Inject,
|
|
52
|
+
args: [ANIMATION_FRAME]
|
|
53
|
+
}] }]; } });
|
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JzY3VyZWQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2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mliZShzdWJzY3JpYmVyKSk7XG5cbiAgICAgICAgdGhpcy5vYnNjdXJlZCQgPSBtZXJnZShcbiAgICAgICAgICAgIC8vIGRlbGF5IGlzIGFkZGVkIHNvIGl0IHdpbGwgbm90IGludGVyZmVyZSB3aXRoIG90aGVyIGxpc3RlbmVyc1xuICAgICAgICAgICAgbWVyZ2UocGFyZW50c1Njcm9sbCQsIGZyb21FdmVudCh3aW5kb3dSZWYsIGByZXNpemVgKSkucGlwZShkZWxheSgwKSksXG4gICAgICAgICAgICBhbmltYXRpb25GcmFtZSQucGlwZSh0aHJvdHRsZVRpbWUoUE9MTElOR19USU1FKSksXG4gICAgICAgICkucGlwZShcbiAgICAgICAgICAgIG1hcCgoKSA9PiBnZXRFbGVtZW50T2JzY3VyZXJzKG5hdGl2ZUVsZW1lbnQpKSxcbiAgICAgICAgICAgIHN0YXJ0V2l0aChudWxsKSxcbiAgICAgICAgICAgIGRpc3RpbmN0VW50aWxDaGFuZ2VkKCksXG4gICAgICAgICAgICB0dWlab25lT3B0aW1pemVkKG5nWm9uZSksXG4gICAgICAgICAgICB0YWtlVW50aWwoZGVzdHJveSQpLFxuICAgICAgICApO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import { __decorate, __param } from "tslib";
|
|
2
1
|
import { DOCUMENT } from '@angular/common';
|
|
3
2
|
import { ElementRef, Inject, Injectable } from '@angular/core';
|
|
4
3
|
import { typedFromEvent } from '@taiga-ui/cdk/observables';
|
|
5
4
|
import { merge, Observable } from 'rxjs';
|
|
6
5
|
import { filter, map, pairwise, repeat, switchMapTo, takeUntil } from 'rxjs/operators';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* @dynamic
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
export class TuiPanService extends Observable {
|
|
11
11
|
constructor({ nativeElement }, documentRef) {
|
|
12
12
|
super(subscriber => {
|
|
13
|
-
merge(typedFromEvent(nativeElement,
|
|
14
|
-
.pipe(switchMapTo(merge(typedFromEvent(documentRef,
|
|
13
|
+
merge(typedFromEvent(nativeElement, `touchstart`, { passive: true }), typedFromEvent(nativeElement, `mousedown`))
|
|
14
|
+
.pipe(switchMapTo(merge(typedFromEvent(documentRef, `touchmove`, {
|
|
15
15
|
passive: true,
|
|
16
|
-
}).pipe(filter(({ touches }) => touches.length < 2), map(({ touches }) => touches[0])), typedFromEvent(documentRef,
|
|
16
|
+
}).pipe(filter(({ touches }) => touches.length < 2), map(({ touches }) => touches[0])), typedFromEvent(documentRef, `mousemove`))), pairwise(), map(([first, second]) => {
|
|
17
17
|
const deltaX = second.clientX - first.clientX;
|
|
18
18
|
const deltaY = second.clientY - first.clientY;
|
|
19
19
|
return [deltaX, deltaY];
|
|
20
20
|
}),
|
|
21
21
|
// eslint-disable-next-line rxjs/no-unsafe-takeuntil
|
|
22
|
-
takeUntil(merge(typedFromEvent(documentRef,
|
|
22
|
+
takeUntil(merge(typedFromEvent(documentRef, `touchend`), typedFromEvent(documentRef, `mouseup`))), repeat())
|
|
23
23
|
.subscribe(subscriber);
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
}
|
|
27
|
-
TuiPanService
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
26
|
+
}
|
|
27
|
+
TuiPanService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiPanService, deps: [{ token: ElementRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
28
|
+
TuiPanService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiPanService });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiPanService, decorators: [{
|
|
30
|
+
type: Injectable
|
|
31
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
|
|
32
|
+
type: Inject,
|
|
33
|
+
args: [ElementRef]
|
|
34
|
+
}] }, { type: Document, decorators: [{
|
|
35
|
+
type: Inject,
|
|
36
|
+
args: [DOCUMENT]
|
|
37
|
+
}] }]; } });
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFuLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvc2VydmljZXMvcGFuLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQ3pDLE9BQU8sRUFBQyxVQUFVLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM3RCxPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0sMkJBQTJCLENBQUM7QUFDekQsT0FBTyxFQUFDLEtBQUssRUFBRSxVQUFVLEVBQUMsTUFBTSxNQUFNLENBQUM7QUFDdkMsT0FBTyxFQUFDLE1BQU0sRUFBRSxHQUFHLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxXQUFXLEVBQUUsU0FBUyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7O0FBRXJGOztHQUVHO0FBRUgsTUFBTSxPQUFPLGFBQWMsU0FBUSxVQUFxQztJQUNwRSxZQUN3QixFQUFDLGFBQWEsRUFBc0IsRUFDdEMsV0FBcUI7UUFFdkMsS0FBSyxDQUFDLFVBQVUsQ0FBQyxFQUFFO1lBQ2YsS0FBSyxDQUNELGNBQWMsQ0FBQyxhQUFhLEVBQUUsWUFBWSxFQUFFLEVBQUMsT0FBTyxFQUFFLElBQUksRUFBQyxDQUFD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XZlbnQobmF0aXZlRWxlbWVudCwgYHRvdWNoc3RhcnRgLCB7cGFzc2l2ZTogdHJ1ZX0pLFxuICAgICAgICAgICAgICAgIHR5cGVkRnJvbUV2ZW50KG5hdGl2ZUVsZW1lbnQsIGBtb3VzZWRvd25gKSxcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAucGlwZShcbiAgICAgICAgICAgICAgICAgICAgc3dpdGNoTWFwVG8oXG4gICAgICAgICAgICAgICAgICAgICAgICBtZXJnZShcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlZEZyb21FdmVudChkb2N1bWVudFJlZiwgYHRvdWNobW92ZWAsIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGFzc2l2ZTogdHJ1ZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KS5waXBlKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmaWx0ZXIoKHt0b3VjaGVzfSkgPT4gdG91Y2hlcy5sZW5ndGggPCAyKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbWFwKCh7dG91Y2hlc30pID0+IHRvdWNoZXNbMF0pLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZWRGcm9tRXZlbnQoZG9jdW1lbnRSZWYsIGBtb3VzZW1vdmVgKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgIHBhaXJ3aXNlKCksXG4gICAgICAgICAgICAgICAgICAgIG1hcCgoW2ZpcnN0LCBzZWNvbmRdKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBkZWx0YVggPSBzZWNvbmQuY2xpZW50WCAtIGZpcnN0LmNsaWVudFg7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBkZWx0YVkgPSBzZWNvbmQuY2xpZW50WSAtIGZpcnN0LmNsaWVudFk7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBbZGVsdGFYLCBkZWx0YVldIGFzIFtudW1iZXIsIG51bWJlcl07XG4gICAgICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgcnhqcy9uby11bnNhZmUtdGFrZXVudGlsXG4gICAgICAgICAgICAgICAgICAgIHRha2VVbnRpbChcbiAgICAgICAgICAgICAgICAgICAgICAgIG1lcmdlKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGVkRnJvbUV2ZW50KGRvY3VtZW50UmVmLCBgdG91Y2hlbmRgKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlZEZyb21FdmVudChkb2N1bWVudFJlZiwgYG1vdXNldXBgKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgIHJlcGVhdCgpLFxuICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAuc3Vic2NyaWJlKHN1YnNjcmliZXIpO1xuICAgICAgICB9KTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { __decorate, __param } from "tslib";
|
|
2
1
|
import { ElementRef, Inject, Injectable } from '@angular/core';
|
|
3
2
|
import { WINDOW } from '@ng-web-apis/common';
|
|
4
3
|
import { typedFromEvent } from '@taiga-ui/cdk/observables';
|
|
5
4
|
import { defer, merge, Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* Service that subscribes to scroll events of all parent elements
|
|
8
8
|
*/
|
|
9
9
|
// Ambient type cannot be used without dynamic https://github.com/angular/angular/issues/23395
|
|
10
10
|
// @dynamic
|
|
11
|
-
|
|
11
|
+
export class TuiParentsScrollService extends Observable {
|
|
12
12
|
constructor(elementRef, windowRef) {
|
|
13
13
|
super(subscriber => this.callback$.subscribe(subscriber));
|
|
14
14
|
this.callback$ = defer(() => {
|
|
@@ -18,18 +18,19 @@ let TuiParentsScrollService = class TuiParentsScrollService extends Observable {
|
|
|
18
18
|
nativeElement = nativeElement.parentElement;
|
|
19
19
|
eventTargets.push(nativeElement);
|
|
20
20
|
}
|
|
21
|
-
return merge(...eventTargets.map(element => typedFromEvent(element,
|
|
21
|
+
return merge(...eventTargets.map(element => typedFromEvent(element, `scroll`)));
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
}
|
|
25
|
-
TuiParentsScrollService
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
24
|
+
}
|
|
25
|
+
TuiParentsScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiParentsScrollService, deps: [{ token: ElementRef }, { token: WINDOW }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
26
|
+
TuiParentsScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiParentsScrollService });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiParentsScrollService, decorators: [{
|
|
28
|
+
type: Injectable
|
|
29
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
|
|
30
|
+
type: Inject,
|
|
31
|
+
args: [ElementRef]
|
|
32
|
+
}] }, { type: Window, decorators: [{
|
|
33
|
+
type: Inject,
|
|
34
|
+
args: [WINDOW]
|
|
35
|
+
}] }]; } });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyZW50cy1zY3JvbGwuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLC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bnQ+O1xuXG4gICAgY29uc3RydWN0b3IoXG4gICAgICAgIEBJbmplY3QoRWxlbWVudFJlZikgZWxlbWVudFJlZjogRWxlbWVudFJlZjxFbGVtZW50PixcbiAgICAgICAgQEluamVjdChXSU5ET1cpIHdpbmRvd1JlZjogV2luZG93LFxuICAgICkge1xuICAgICAgICBzdXBlcihzdWJzY3JpYmVyID0+IHRoaXMuY2FsbGJhY2skLnN1YnNjcmliZShzdWJzY3JpYmVyKSk7XG5cbiAgICAgICAgdGhpcy5jYWxsYmFjayQgPSBkZWZlcigoKSA9PiB7XG4gICAgICAgICAgICBsZXQge25hdGl2ZUVsZW1lbnR9ID0gZWxlbWVudFJlZjtcbiAgICAgICAgICAgIGNvbnN0IGV2ZW50VGFyZ2V0czogQXJyYXk8RWxlbWVudCB8IFdpbmRvdz4gPSBbd2luZG93UmVmLCBuYXRpdmVFbGVtZW50XTtcblxuICAgICAgICAgICAgd2hpbGUgKG5hdGl2ZUVsZW1lbnQucGFyZW50RWxlbWVudCkge1xuICAgICAgICAgICAgICAgIG5hdGl2ZUVsZW1lbnQgPSBuYXRpdmVFbGVtZW50LnBhcmVudEVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgZXZlbnRUYXJnZXRzLnB1c2gobmF0aXZlRWxlbWVudCk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHJldHVybiBtZXJnZTxFdmVudD4oXG4gICAgICAgICAgICAgICAgLi4uZXZlbnRUYXJnZXRzLm1hcDxPYnNlcnZhYmxlPEV2ZW50Pj4oZWxlbWVudCA9PlxuICAgICAgICAgICAgICAgICAgICB0eXBlZEZyb21FdmVudChlbGVtZW50LCBgc2Nyb2xsYCksXG4gICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICk7XG4gICAgICAgIH0pO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,35 +1,40 @@
|
|
|
1
|
-
import { __decorate, __param } from "tslib";
|
|
2
1
|
import { ElementRef, Inject, Injectable, NgZone } from '@angular/core';
|
|
3
2
|
import { ANIMATION_FRAME } from '@ng-web-apis/common';
|
|
4
3
|
import { RESIZE_OBSERVER_SUPPORT, RESIZE_OPTION_BOX, ResizeObserverService, } from '@ng-web-apis/resize-observer';
|
|
5
4
|
import { EMPTY_ARRAY, POLLING_TIME } from '@taiga-ui/cdk/constants';
|
|
6
5
|
import { tuiZonefree } from '@taiga-ui/cdk/observables';
|
|
7
|
-
import { Observable } from 'rxjs';
|
|
8
6
|
import { catchError, debounceTime, distinctUntilChanged, map, mapTo, takeUntil, throttleTime, } from 'rxjs/operators';
|
|
9
7
|
import { TuiDestroyService } from './destroy.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "rxjs";
|
|
10
10
|
// @dynamic
|
|
11
|
-
|
|
11
|
+
export class TuiResizeService extends ResizeObserverService {
|
|
12
12
|
constructor(elementRef, ngZone, destroy$, support, box, animationFrame$) {
|
|
13
13
|
super(elementRef, ngZone, support, box);
|
|
14
14
|
return this.pipe(catchError(() => animationFrame$.pipe(throttleTime(POLLING_TIME), map(() => `${elementRef.nativeElement.clientWidth} ${elementRef.nativeElement.clientHeight}`), distinctUntilChanged(), mapTo(EMPTY_ARRAY))), debounceTime(0), tuiZonefree(ngZone), takeUntil(destroy$));
|
|
15
15
|
}
|
|
16
|
-
}
|
|
17
|
-
TuiResizeService
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
]
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
],
|
|
34
|
-
|
|
35
|
-
|
|
16
|
+
}
|
|
17
|
+
TuiResizeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiResizeService, deps: [{ token: ElementRef }, { token: NgZone }, { token: TuiDestroyService }, { token: RESIZE_OBSERVER_SUPPORT }, { token: RESIZE_OPTION_BOX }, { token: ANIMATION_FRAME }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18
|
+
TuiResizeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiResizeService });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiResizeService, decorators: [{
|
|
20
|
+
type: Injectable
|
|
21
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
|
|
22
|
+
type: Inject,
|
|
23
|
+
args: [ElementRef]
|
|
24
|
+
}] }, { type: i0.NgZone, decorators: [{
|
|
25
|
+
type: Inject,
|
|
26
|
+
args: [NgZone]
|
|
27
|
+
}] }, { type: i1.Observable, decorators: [{
|
|
28
|
+
type: Inject,
|
|
29
|
+
args: [TuiDestroyService]
|
|
30
|
+
}] }, { type: undefined, decorators: [{
|
|
31
|
+
type: Inject,
|
|
32
|
+
args: [RESIZE_OBSERVER_SUPPORT]
|
|
33
|
+
}] }, { type: undefined, decorators: [{
|
|
34
|
+
type: Inject,
|
|
35
|
+
args: [RESIZE_OPTION_BOX]
|
|
36
|
+
}] }, { type: i1.Observable, decorators: [{
|
|
37
|
+
type: Inject,
|
|
38
|
+
args: [ANIMATION_FRAME]
|
|
39
|
+
}] }]; } });
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzaXplLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvc2VydmljZXMvcmVzaXplLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFVBQVUsRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBQyxNQUFNLGVBQWUsQ0FBQ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NoRXJyb3IoKCkgPT5cbiAgICAgICAgICAgICAgICBhbmltYXRpb25GcmFtZSQucGlwZShcbiAgICAgICAgICAgICAgICAgICAgdGhyb3R0bGVUaW1lKFBPTExJTkdfVElNRSksXG4gICAgICAgICAgICAgICAgICAgIG1hcChcbiAgICAgICAgICAgICAgICAgICAgICAgICgpID0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYCR7ZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmNsaWVudFdpZHRofSAke2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5jbGllbnRIZWlnaHR9YCxcbiAgICAgICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgICAgICAgZGlzdGluY3RVbnRpbENoYW5nZWQoKSxcbiAgICAgICAgICAgICAgICAgICAgbWFwVG8oRU1QVFlfQVJSQVkpLFxuICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICApLFxuICAgICAgICAgICAgZGVib3VuY2VUaW1lKDApLFxuICAgICAgICAgICAgdHVpWm9uZWZyZWUobmdab25lKSxcbiAgICAgICAgICAgIHRha2VVbnRpbChkZXN0cm95JCksXG4gICAgICAgICk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import { __decorate, __param } from "tslib";
|
|
2
1
|
import { Inject, Injectable } from '@angular/core';
|
|
3
2
|
import { ANIMATION_FRAME, PERFORMANCE } from '@ng-web-apis/common';
|
|
4
3
|
import { tuiAssert } from '@taiga-ui/cdk/classes';
|
|
5
4
|
import { clamp } from '@taiga-ui/cdk/utils/math';
|
|
6
5
|
import { easeInOutQuad } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
7
|
-
import { defer,
|
|
6
|
+
import { defer, of, timer } from 'rxjs';
|
|
8
7
|
import { map, switchMap, takeUntil, tap } from 'rxjs/operators';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "
|
|
9
|
+
import * as i1 from "rxjs";
|
|
11
10
|
const SCROLL_TIME = 300;
|
|
12
11
|
// @dynamic
|
|
13
|
-
|
|
12
|
+
export class TuiScrollService {
|
|
14
13
|
constructor(performanceRef, animationFrame$) {
|
|
15
14
|
this.performanceRef = performanceRef;
|
|
16
15
|
this.animationFrame$ = animationFrame$;
|
|
17
16
|
}
|
|
18
17
|
scroll$(element, scrollTop, scrollLeft = element.scrollLeft, duration = SCROLL_TIME) {
|
|
19
|
-
tuiAssert.assert(duration >= 0,
|
|
20
|
-
tuiAssert.assert(scrollTop >= 0,
|
|
21
|
-
tuiAssert.assert(scrollLeft >= 0,
|
|
18
|
+
tuiAssert.assert(duration >= 0, `Duration cannot be negative`);
|
|
19
|
+
tuiAssert.assert(scrollTop >= 0, `scrollTop cannot be negative`);
|
|
20
|
+
tuiAssert.assert(scrollLeft >= 0, `scrollLeft cannot be negative`);
|
|
22
21
|
const initialTop = element.scrollTop;
|
|
23
22
|
const initialLeft = element.scrollLeft;
|
|
24
23
|
const deltaTop = scrollTop - initialTop;
|
|
@@ -34,18 +33,19 @@ let TuiScrollService = class TuiScrollService {
|
|
|
34
33
|
element.scrollLeft = scrollLeft;
|
|
35
34
|
}));
|
|
36
35
|
}
|
|
37
|
-
}
|
|
38
|
-
TuiScrollService
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
36
|
+
}
|
|
37
|
+
TuiScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiScrollService, deps: [{ token: PERFORMANCE }, { token: ANIMATION_FRAME }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
38
|
+
TuiScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiScrollService, providedIn: `root` });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiScrollService, decorators: [{
|
|
40
|
+
type: Injectable,
|
|
41
|
+
args: [{
|
|
42
|
+
providedIn: `root`,
|
|
43
|
+
}]
|
|
44
|
+
}], ctorParameters: function () { return [{ type: Performance, decorators: [{
|
|
45
|
+
type: Inject,
|
|
46
|
+
args: [PERFORMANCE]
|
|
47
|
+
}] }, { type: i1.Observable, decorators: [{
|
|
48
|
+
type: Inject,
|
|
49
|
+
args: [ANIMATION_FRAME]
|
|
50
|
+
}] }]; } });
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xsLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvc2VydmljZXMvc2Nyb2xsLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLE1BQU0sRUFBRSxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUFDLGVBQWUsRUFBRSxXQUFXLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQUNqRSxPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sdUJBQXVCLENBQUM7QUFDaEQsT0FBTyxFQUFDLEtBQUssRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBQy9DLE9BQU8sRUFBQyxhQUFhLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQztBQUNoRSxPQUFPLEVBQUMsS0FBSyxFQUFjLEVBQUUsRUFBRSxLQUFLLEVBQUMsTUFBTSxNQUFNLENBQUM7QUFDbEQsT0FBTyxFQUFDLEdBQUcsRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLEdBQUcsRUFBQyxNQUFNLGdCQUFnQixDQUFDOzs7QUFFOUQsTUFBTSxXQUFXLEdBQ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QoY2xhbXAoZWxhcHNlZCAvIGR1cmF0aW9uLCAwLCAxKSkpLFxuICAgICAgICAgICAgICAgICAgbWFwKFxuICAgICAgICAgICAgICAgICAgICAgIHBlcmNlbnQgPT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaW5pdGlhbFRvcCArIGRlbHRhVG9wICogcGVyY2VudCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGluaXRpYWxMZWZ0ICsgZGVsdGFMZWZ0ICogcGVyY2VudCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgXSBhcyBbbnVtYmVyLCBudW1iZXJdLFxuICAgICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgICAgIHRha2VVbnRpbCh0aW1lcihkdXJhdGlvbikpLFxuICAgICAgICAgICAgICApO1xuXG4gICAgICAgIHJldHVybiBvYnNlcnZhYmxlLnBpcGUoXG4gICAgICAgICAgICB0YXAoKFtzY3JvbGxUb3AsIHNjcm9sbExlZnRdKSA9PiB7XG4gICAgICAgICAgICAgICAgZWxlbWVudC5zY3JvbGxUb3AgPSBzY3JvbGxUb3A7XG4gICAgICAgICAgICAgICAgZWxlbWVudC5zY3JvbGxMZWZ0ID0gc2Nyb2xsTGVmdDtcbiAgICAgICAgICAgIH0pLFxuICAgICAgICApO1xuICAgIH1cbn1cbiJdfQ==
|