@taiga-ui/cdk 2.61.0 → 3.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/abstract/control.d.ts +5 -1
- package/abstract/controller.d.ts +4 -7
- package/abstract/dialog.directive.d.ts +3 -0
- package/abstract/dialog.service.d.ts +4 -1
- package/abstract/interactive.d.ts +6 -19
- package/abstract/multiple-control.d.ts +3 -0
- package/abstract/nullable-control.d.ts +3 -0
- package/abstract/package.json +2 -5
- package/abstract/portal-host.d.ts +8 -3
- package/abstract/portal-service.d.ts +6 -2
- package/abstract/taiga-ui-cdk-abstract.d.ts +1 -0
- package/abstract/theme-switcher.d.ts +3 -1
- package/bundles/taiga-ui-cdk-abstract.umd.js +567 -497
- package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-classes.umd.js +7 -13
- package/bundles/taiga-ui-cdk-classes.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-coercion.umd.js +7 -3
- package/bundles/taiga-ui-cdk-coercion.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-alert-host.umd.js +68 -284
- package/bundles/taiga-ui-cdk-components-alert-host.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.js +420 -296
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js +405 -270
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-components.umd.js +11 -25
- package/bundles/taiga-ui-cdk-components.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-constants.umd.js +16 -15
- package/bundles/taiga-ui-cdk-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-date-time.umd.js +370 -464
- package/bundles/taiga-ui-cdk-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-decorators.umd.js +335 -259
- package/bundles/taiga-ui-cdk-decorators.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.js +407 -295
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js +454 -337
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-autofilled.umd.js +102 -316
- package/bundles/taiga-ui-cdk-directives-autofilled.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-checked.umd.js +60 -278
- package/bundles/taiga-ui-cdk-directives-checked.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js +383 -273
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-drag.umd.js +64 -281
- package/bundles/taiga-ui-cdk-directives-drag.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-droppable.umd.js +62 -280
- package/bundles/taiga-ui-cdk-directives-droppable.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-element.umd.js +377 -267
- package/bundles/taiga-ui-cdk-directives-element.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js +75 -288
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js +51 -268
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focusable.umd.js +50 -268
- package/bundles/taiga-ui-cdk-directives-focusable.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-focused.umd.js +54 -271
- package/bundles/taiga-ui-cdk-directives-focused.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-for-async.umd.js +380 -271
- package/bundles/taiga-ui-cdk-directives-for-async.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-for.umd.js +54 -274
- package/bundles/taiga-ui-cdk-directives-for.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js +54 -270
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-hovered.umd.js +413 -290
- package/bundles/taiga-ui-cdk-directives-hovered.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-input-mode.umd.js +64 -276
- package/bundles/taiga-ui-cdk-directives-input-mode.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-item.umd.js +62 -281
- package/bundles/taiga-ui-cdk-directives-item.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-let.umd.js +55 -272
- package/bundles/taiga-ui-cdk-directives-let.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-media.umd.js +434 -321
- package/bundles/taiga-ui-cdk-directives-media.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-obscured.umd.js +397 -284
- package/bundles/taiga-ui-cdk-directives-obscured.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.js +81 -297
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-pan.umd.js +51 -268
- package/bundles/taiga-ui-cdk-directives-pan.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-portal.umd.js +57 -273
- package/bundles/taiga-ui-cdk-directives-portal.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-pressed.umd.js +54 -271
- package/bundles/taiga-ui-cdk-directives-pressed.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js +61 -275
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js +385 -273
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-resize.umd.js +51 -268
- package/bundles/taiga-ui-cdk-directives-resize.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-swipe.umd.js +51 -268
- package/bundles/taiga-ui-cdk-directives-swipe.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-validator.umd.js +388 -274
- package/bundles/taiga-ui-cdk-directives-validator.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives-zoom.umd.js +54 -271
- package/bundles/taiga-ui-cdk-directives-zoom.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-directives.umd.js +71 -125
- package/bundles/taiga-ui-cdk-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-enums.umd.js +14 -62
- package/bundles/taiga-ui-cdk-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-exceptions.umd.js +341 -298
- package/bundles/taiga-ui-cdk-exceptions.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-interfaces.umd.js +2 -2
- package/bundles/taiga-ui-cdk-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-observables.umd.js +38 -101
- package/bundles/taiga-ui-cdk-observables.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-filter.umd.js +369 -260
- package/bundles/taiga-ui-cdk-pipes-filter.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-keys.umd.js +41 -259
- package/bundles/taiga-ui-cdk-pipes-keys.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes-mapper.umd.js +369 -260
- package/bundles/taiga-ui-cdk-pipes-mapper.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-pipes.umd.js +9 -15
- package/bundles/taiga-ui-cdk-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-services.umd.js +585 -504
- package/bundles/taiga-ui-cdk-services.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-tokens.umd.js +392 -289
- package/bundles/taiga-ui-cdk-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-types.umd.js +2 -2
- package/bundles/taiga-ui-cdk-types.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-browser.umd.js +11 -42
- package/bundles/taiga-ui-cdk-utils-browser.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-color.umd.js +81 -0
- package/bundles/taiga-ui-cdk-utils-color.umd.js.map +1 -0
- package/bundles/taiga-ui-cdk-utils-dom.umd.js +65 -130
- package/bundles/taiga-ui-cdk-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-focus.umd.js +46 -111
- package/bundles/taiga-ui-cdk-utils-focus.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-format.umd.js +8 -27
- package/bundles/taiga-ui-cdk-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-math.umd.js +17 -68
- package/bundles/taiga-ui-cdk-utils-math.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js +363 -105
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-os.umd.js +11 -23
- package/bundles/taiga-ui-cdk-utils-os.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils-svg.umd.js +335 -259
- package/bundles/taiga-ui-cdk-utils-svg.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk-utils.umd.js +27 -37
- package/bundles/taiga-ui-cdk-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-cdk.umd.js +47 -65
- package/bundles/taiga-ui-cdk.umd.js.map +1 -1
- package/classes/assert.d.ts +0 -3
- package/classes/package.json +2 -5
- package/classes/taiga-ui-cdk-classes.d.ts +1 -0
- package/coercion/package.json +2 -5
- package/coercion/taiga-ui-cdk-coercion.d.ts +1 -0
- package/components/alert-host/alert-host.component.d.ts +3 -0
- package/components/alert-host/alert-host.module.d.ts +7 -0
- package/components/alert-host/package.json +2 -5
- package/components/alert-host/taiga-ui-cdk-components-alert-host.d.ts +1 -0
- package/components/dialog-host/dialog-host.component.d.ts +3 -6
- package/components/dialog-host/dialog-host.module.d.ts +10 -0
- package/components/dialog-host/package.json +2 -5
- package/components/dialog-host/taiga-ui-cdk-components-dialog-host.d.ts +1 -0
- package/components/dropdown-host/dropdown-host.component.d.ts +3 -0
- package/components/dropdown-host/dropdown-host.module.d.ts +5 -0
- package/components/dropdown-host/dropdown-portal.service.d.ts +9 -0
- package/components/dropdown-host/index.d.ts +1 -0
- package/components/dropdown-host/package.json +2 -5
- package/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.d.ts +1 -0
- package/components/index.d.ts +0 -1
- package/components/package.json +2 -5
- package/components/taiga-ui-cdk-components.d.ts +1 -0
- package/constants/browser.d.ts +4 -0
- package/constants/empty.d.ts +0 -3
- package/constants/package.json +2 -5
- package/constants/taiga-ui-cdk-constants.d.ts +1 -0
- package/constants/version.d.ts +1 -1
- package/constants/version.js +2 -1
- package/date-time/date-fillers.d.ts +0 -9
- package/date-time/day-range.d.ts +5 -12
- package/date-time/day.d.ts +1 -18
- package/date-time/month-range.d.ts +0 -4
- package/date-time/month.d.ts +1 -19
- package/date-time/package.json +2 -5
- package/date-time/taiga-ui-cdk-date-time.d.ts +1 -0
- package/date-time/year.d.ts +1 -17
- package/decorators/package.json +2 -5
- package/decorators/taiga-ui-cdk-decorators.d.ts +1 -0
- package/directives/active-zone/active-zone.directive.d.ts +3 -0
- package/directives/active-zone/active-zone.module.d.ts +5 -0
- package/directives/active-zone/package.json +2 -5
- package/directives/active-zone/taiga-ui-cdk-directives-active-zone.d.ts +1 -0
- package/directives/auto-focus/autofocus.directive.d.ts +4 -1
- package/directives/auto-focus/autofocus.module.d.ts +5 -0
- package/directives/auto-focus/autofocus.options.d.ts +3 -2
- package/directives/auto-focus/handlers/abstract.handler.d.ts +3 -0
- package/directives/auto-focus/handlers/default.handler.d.ts +3 -0
- package/directives/auto-focus/handlers/ios.handler.d.ts +3 -0
- package/directives/auto-focus/package.json +2 -5
- package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.d.ts +1 -0
- package/directives/autofilled/autofilled-style.component.d.ts +3 -0
- package/directives/autofilled/autofilled.directive.d.ts +3 -0
- package/directives/autofilled/autofilled.module.d.ts +6 -0
- package/directives/autofilled/package.json +2 -5
- package/directives/autofilled/taiga-ui-cdk-directives-autofilled.d.ts +1 -0
- package/directives/checked/checked.directive.d.ts +3 -0
- package/directives/checked/checked.module.d.ts +5 -0
- package/directives/checked/package.json +2 -5
- package/directives/checked/taiga-ui-cdk-directives-checked.d.ts +1 -0
- package/directives/copy-processor/copy-processor.directive.d.ts +3 -0
- package/directives/copy-processor/copy-processor.module.d.ts +5 -0
- package/directives/copy-processor/package.json +2 -5
- package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.d.ts +1 -0
- package/directives/drag/drag.directive.d.ts +3 -0
- package/directives/drag/drag.module.d.ts +5 -0
- package/directives/drag/package.json +2 -5
- package/directives/drag/taiga-ui-cdk-directives-drag.d.ts +1 -0
- package/directives/droppable/droppable.directive.d.ts +3 -0
- package/directives/droppable/droppable.module.d.ts +5 -0
- package/directives/droppable/package.json +2 -5
- package/directives/droppable/taiga-ui-cdk-directives-droppable.d.ts +1 -0
- package/directives/element/element.directive.d.ts +3 -0
- package/directives/element/element.module.d.ts +5 -0
- package/directives/element/package.json +2 -5
- package/directives/element/taiga-ui-cdk-directives-element.d.ts +1 -0
- package/directives/focus-trap/focus-trap.directive.d.ts +3 -0
- package/directives/focus-trap/focus-trap.module.d.ts +5 -0
- package/directives/focus-trap/package.json +2 -5
- package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.d.ts +1 -0
- package/directives/focus-visible/focus-visible.directive.d.ts +3 -1
- package/directives/focus-visible/focus-visible.module.d.ts +5 -0
- package/directives/focus-visible/package.json +2 -5
- package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.d.ts +1 -0
- package/directives/focusable/focusable.directive.d.ts +3 -0
- package/directives/focusable/focusable.module.d.ts +5 -0
- package/directives/focusable/package.json +2 -5
- package/directives/focusable/taiga-ui-cdk-directives-focusable.d.ts +1 -0
- package/directives/focused/focused.directive.d.ts +3 -0
- package/directives/focused/focused.module.d.ts +5 -0
- package/directives/focused/package.json +2 -5
- package/directives/focused/taiga-ui-cdk-directives-focused.d.ts +1 -0
- package/directives/for/for.directive.d.ts +3 -0
- package/directives/for/for.module.d.ts +5 -0
- package/directives/for/package.json +2 -5
- package/directives/for/taiga-ui-cdk-directives-for.d.ts +1 -0
- package/directives/for-async/for-async.directive.d.ts +3 -0
- package/directives/for-async/for-async.module.d.ts +5 -0
- package/directives/for-async/package.json +2 -5
- package/directives/for-async/taiga-ui-cdk-directives-for-async.d.ts +1 -0
- package/directives/high-dpi/high-dpi.directive.d.ts +3 -1
- package/directives/high-dpi/high-dpi.module.d.ts +5 -0
- package/directives/high-dpi/package.json +2 -5
- package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.d.ts +1 -0
- package/directives/hovered/hovered.directive.d.ts +6 -5
- package/directives/hovered/hovered.module.d.ts +5 -0
- package/directives/hovered/hovered.service.d.ts +11 -0
- package/directives/hovered/index.d.ts +1 -0
- package/directives/hovered/package.json +2 -5
- package/directives/hovered/taiga-ui-cdk-directives-hovered.d.ts +1 -0
- package/directives/index.d.ts +1 -0
- package/directives/input-mode/input-mode.directive.d.ts +5 -2
- package/directives/input-mode/input-mode.module.d.ts +5 -0
- package/directives/input-mode/package.json +2 -5
- package/directives/input-mode/taiga-ui-cdk-directives-input-mode.d.ts +1 -0
- package/directives/item/item.directive.d.ts +4 -2
- package/directives/item/item.module.d.ts +5 -0
- package/directives/item/package.json +2 -5
- package/directives/item/taiga-ui-cdk-directives-item.d.ts +1 -0
- package/directives/let/let.directive.d.ts +3 -0
- package/directives/let/let.module.d.ts +5 -0
- package/directives/let/package.json +2 -5
- package/directives/let/taiga-ui-cdk-directives-let.d.ts +1 -0
- package/directives/media/media.directive.d.ts +3 -2
- package/directives/media/media.module.d.ts +5 -0
- package/directives/media/package.json +2 -5
- package/directives/media/taiga-ui-cdk-directives-media.d.ts +1 -0
- package/directives/obscured/obscured.directive.d.ts +3 -0
- package/directives/obscured/obscured.module.d.ts +5 -0
- package/directives/obscured/package.json +2 -5
- package/directives/obscured/taiga-ui-cdk-directives-obscured.d.ts +1 -0
- package/directives/overscroll/overscroll.directive.d.ts +5 -3
- package/directives/overscroll/overscroll.module.d.ts +5 -0
- package/directives/overscroll/package.json +2 -5
- package/directives/overscroll/taiga-ui-cdk-directives-overscroll.d.ts +1 -0
- package/directives/package.json +2 -5
- package/directives/pan/package.json +2 -5
- package/directives/pan/pan.directive.d.ts +3 -0
- package/directives/pan/pan.module.d.ts +5 -0
- package/directives/pan/taiga-ui-cdk-directives-pan.d.ts +1 -0
- package/directives/portal/package.json +2 -5
- package/directives/portal/portal.directive.d.ts +5 -2
- package/directives/portal/portal.module.d.ts +5 -0
- package/directives/portal/taiga-ui-cdk-directives-portal.d.ts +1 -0
- package/directives/pressed/package.json +2 -5
- package/directives/pressed/pressed.directive.d.ts +3 -0
- package/directives/pressed/pressed.module.d.ts +5 -0
- package/directives/pressed/taiga-ui-cdk-directives-pressed.d.ts +1 -0
- package/directives/prevent-default/package.json +2 -5
- package/directives/prevent-default/prevent-default.directive.d.ts +3 -1
- package/directives/prevent-default/prevent-default.module.d.ts +5 -0
- package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.d.ts +1 -0
- package/directives/repeat-times/package.json +2 -5
- package/directives/repeat-times/repeat-times.directive.d.ts +3 -0
- package/directives/repeat-times/repeat-times.module.d.ts +5 -0
- package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.d.ts +1 -0
- package/directives/resize/package.json +2 -5
- package/directives/resize/resize.directive.d.ts +3 -1
- package/directives/resize/resize.module.d.ts +5 -0
- package/directives/resize/taiga-ui-cdk-directives-resize.d.ts +1 -0
- package/directives/swipe/package.json +2 -5
- package/directives/swipe/swipe.directive.d.ts +3 -0
- package/directives/swipe/swipe.module.d.ts +5 -0
- package/directives/swipe/taiga-ui-cdk-directives-swipe.d.ts +1 -0
- package/directives/taiga-ui-cdk-directives.d.ts +1 -0
- package/directives/validator/package.json +2 -5
- package/directives/validator/taiga-ui-cdk-directives-validator.d.ts +1 -0
- package/directives/validator/validator.directive.d.ts +3 -0
- package/directives/validator/validator.module.d.ts +5 -0
- package/directives/zoom/package.json +2 -5
- package/directives/zoom/taiga-ui-cdk-directives-zoom.d.ts +1 -0
- package/directives/zoom/zoom.directive.d.ts +3 -0
- package/directives/zoom/zoom.module.d.ts +5 -0
- package/enums/autocomplete.d.ts +0 -10
- package/enums/index.d.ts +0 -3
- package/enums/package.json +2 -5
- package/enums/taiga-ui-cdk-enums.d.ts +1 -0
- package/esm2015/abstract/control.js +28 -20
- package/esm2015/abstract/controller.js +9 -8
- package/esm2015/abstract/dialog.directive.js +19 -16
- package/esm2015/abstract/dialog.service.js +13 -12
- package/esm2015/abstract/index.js +1 -1
- package/esm2015/abstract/interactive.js +41 -83
- package/esm2015/abstract/multiple-control.js +9 -8
- package/esm2015/abstract/nullable-control.js +9 -8
- package/esm2015/abstract/portal-host.js +34 -30
- package/esm2015/abstract/portal-service.js +12 -11
- package/esm2015/abstract/taiga-ui-cdk-abstract.js +1 -1
- package/esm2015/abstract/theme-switcher.js +12 -14
- package/esm2015/classes/assert.js +1 -10
- package/esm2015/classes/index.js +1 -1
- package/esm2015/classes/taiga-ui-cdk-classes.js +1 -1
- package/esm2015/classes/validation-error.js +1 -1
- package/esm2015/coercion/coerce-boolean-property.js +1 -1
- package/esm2015/coercion/index.js +1 -1
- package/esm2015/coercion/taiga-ui-cdk-coercion.js +1 -1
- package/esm2015/components/alert-host/alert-host.component.js +25 -21
- package/esm2015/components/alert-host/alert-host.module.js +15 -12
- package/esm2015/components/alert-host/index.js +1 -1
- package/esm2015/components/alert-host/taiga-ui-cdk-components-alert-host.js +1 -1
- package/esm2015/components/dialog-host/dialog-host.component.js +38 -30
- package/esm2015/components/dialog-host/dialog-host.module.js +26 -13
- package/esm2015/components/dialog-host/index.js +1 -1
- package/esm2015/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +1 -1
- package/esm2015/components/dropdown-host/dropdown-host.component.js +26 -18
- package/esm2015/components/dropdown-host/dropdown-host.module.js +14 -11
- package/esm2015/components/dropdown-host/dropdown-portal.service.js +17 -0
- package/esm2015/components/dropdown-host/index.js +2 -1
- package/esm2015/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +1 -1
- package/esm2015/components/index.js +1 -2
- package/esm2015/components/taiga-ui-cdk-components.js +1 -1
- package/esm2015/constants/always-false-handler.js +1 -1
- package/esm2015/constants/always-true-handler.js +1 -1
- package/esm2015/constants/browser.js +5 -1
- package/esm2015/constants/empty.js +1 -3
- package/esm2015/constants/index.js +1 -1
- package/esm2015/constants/matcher.js +1 -1
- package/esm2015/constants/parent-animation.js +1 -1
- package/esm2015/constants/polling-time.js +1 -1
- package/esm2015/constants/stringify.js +1 -1
- package/esm2015/constants/svg-node-filter.js +1 -1
- package/esm2015/constants/taiga-ui-cdk-constants.js +1 -1
- package/esm2015/constants/unicode-chars.js +1 -1
- package/esm2015/constants/version.js +2 -2
- package/esm2015/date-time/date-fillers.js +1 -17
- package/esm2015/date-time/date-format.js +1 -1
- package/esm2015/date-time/date-separator.js +1 -1
- package/esm2015/date-time/date-time.js +1 -1
- package/esm2015/date-time/day-range.js +3 -18
- package/esm2015/date-time/day.js +12 -53
- package/esm2015/date-time/days.const.js +1 -1
- package/esm2015/date-time/index.js +1 -1
- package/esm2015/date-time/month-range.js +1 -7
- package/esm2015/date-time/month.js +8 -42
- package/esm2015/date-time/taiga-ui-cdk-date-time.js +1 -1
- package/esm2015/date-time/time.js +8 -9
- package/esm2015/date-time/year.js +7 -39
- package/esm2015/decorators/default-prop.js +1 -1
- package/esm2015/decorators/index.js +1 -1
- package/esm2015/decorators/pure.js +1 -1
- package/esm2015/decorators/required-setter.js +1 -1
- package/esm2015/decorators/taiga-ui-cdk-decorators.js +1 -1
- package/esm2015/directives/active-zone/active-zone.directive.js +39 -35
- package/esm2015/directives/active-zone/active-zone.module.js +14 -11
- package/esm2015/directives/active-zone/index.js +1 -1
- package/esm2015/directives/active-zone/taiga-ui-cdk-directives-active-zone.js +1 -1
- package/esm2015/directives/auto-focus/autofocus.directive.js +21 -20
- package/esm2015/directives/auto-focus/autofocus.module.js +14 -11
- package/esm2015/directives/auto-focus/autofocus.options.js +4 -9
- package/esm2015/directives/auto-focus/handlers/abstract.handler.js +10 -13
- package/esm2015/directives/auto-focus/handlers/default.handler.js +24 -19
- package/esm2015/directives/auto-focus/handlers/ios.handler.js +34 -29
- package/esm2015/directives/auto-focus/index.js +1 -1
- package/esm2015/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js +1 -1
- package/esm2015/directives/autofilled/autofilled-style.component.js +14 -12
- package/esm2015/directives/autofilled/autofilled.directive.js +25 -24
- package/esm2015/directives/autofilled/autofilled.module.js +15 -12
- package/esm2015/directives/autofilled/index.js +1 -1
- package/esm2015/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +1 -1
- package/esm2015/directives/checked/checked.directive.js +25 -25
- package/esm2015/directives/checked/checked.module.js +14 -11
- package/esm2015/directives/checked/index.js +1 -1
- package/esm2015/directives/checked/taiga-ui-cdk-directives-checked.js +1 -1
- package/esm2015/directives/copy-processor/copy-processor.directive.js +21 -19
- package/esm2015/directives/copy-processor/copy-processor.module.js +14 -11
- package/esm2015/directives/copy-processor/index.js +1 -1
- package/esm2015/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js +1 -1
- package/esm2015/directives/drag/drag.directive.js +26 -25
- package/esm2015/directives/drag/drag.module.js +14 -11
- package/esm2015/directives/drag/index.js +1 -1
- package/esm2015/directives/drag/taiga-ui-cdk-directives-drag.js +1 -1
- package/esm2015/directives/droppable/droppable.directive.js +31 -31
- package/esm2015/directives/droppable/droppable.module.js +14 -11
- package/esm2015/directives/droppable/index.js +1 -1
- package/esm2015/directives/droppable/taiga-ui-cdk-directives-droppable.js +1 -1
- package/esm2015/directives/element/element.directive.js +16 -15
- package/esm2015/directives/element/element.module.js +14 -11
- package/esm2015/directives/element/index.js +1 -1
- package/esm2015/directives/element/taiga-ui-cdk-directives-element.js +1 -1
- package/esm2015/directives/focus-trap/focus-trap.directive.js +45 -40
- package/esm2015/directives/focus-trap/focus-trap.module.js +14 -11
- package/esm2015/directives/focus-trap/index.js +1 -1
- package/esm2015/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js +1 -1
- package/esm2015/directives/focus-visible/focus-visible.directive.js +18 -18
- package/esm2015/directives/focus-visible/focus-visible.module.js +14 -11
- package/esm2015/directives/focus-visible/index.js +1 -1
- package/esm2015/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +1 -1
- package/esm2015/directives/focusable/focusable.directive.js +18 -16
- package/esm2015/directives/focusable/focusable.module.js +14 -11
- package/esm2015/directives/focusable/index.js +1 -1
- package/esm2015/directives/focusable/taiga-ui-cdk-directives-focusable.js +1 -1
- package/esm2015/directives/focused/focused.directive.js +23 -22
- package/esm2015/directives/focused/focused.module.js +14 -11
- package/esm2015/directives/focused/index.js +1 -1
- package/esm2015/directives/focused/taiga-ui-cdk-directives-focused.js +1 -1
- package/esm2015/directives/for/for.directive.js +22 -24
- package/esm2015/directives/for/for.module.js +14 -11
- package/esm2015/directives/for/index.js +1 -1
- package/esm2015/directives/for/taiga-ui-cdk-directives-for.js +1 -1
- package/esm2015/directives/for-async/for-async.directive.js +21 -21
- package/esm2015/directives/for-async/for-async.module.js +14 -11
- package/esm2015/directives/for-async/index.js +1 -1
- package/esm2015/directives/for-async/taiga-ui-cdk-directives-for-async.js +1 -1
- package/esm2015/directives/high-dpi/high-dpi.directive.js +21 -19
- package/esm2015/directives/high-dpi/high-dpi.module.js +14 -11
- package/esm2015/directives/high-dpi/index.js +1 -1
- package/esm2015/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js +1 -1
- package/esm2015/directives/hovered/hovered.directive.js +21 -40
- package/esm2015/directives/hovered/hovered.module.js +14 -11
- package/esm2015/directives/hovered/hovered.service.js +33 -0
- package/esm2015/directives/hovered/index.js +2 -1
- package/esm2015/directives/hovered/taiga-ui-cdk-directives-hovered.js +1 -1
- package/esm2015/directives/index.js +2 -1
- package/esm2015/directives/input-mode/index.js +1 -1
- package/esm2015/directives/input-mode/input-mode.directive.js +30 -24
- package/esm2015/directives/input-mode/input-mode.module.js +14 -11
- package/esm2015/directives/input-mode/taiga-ui-cdk-directives-input-mode.js +1 -1
- package/esm2015/directives/item/index.js +1 -1
- package/esm2015/directives/item/item.directive.js +13 -12
- package/esm2015/directives/item/item.module.js +14 -11
- package/esm2015/directives/item/taiga-ui-cdk-directives-item.js +1 -1
- package/esm2015/directives/let/index.js +1 -1
- package/esm2015/directives/let/let-context.js +1 -1
- package/esm2015/directives/let/let.directive.js +20 -19
- package/esm2015/directives/let/let.module.js +14 -11
- package/esm2015/directives/let/taiga-ui-cdk-directives-let.js +1 -1
- package/esm2015/directives/media/index.js +1 -1
- package/esm2015/directives/media/media.directive.js +63 -56
- package/esm2015/directives/media/media.module.js +14 -11
- package/esm2015/directives/media/taiga-ui-cdk-directives-media.js +1 -1
- package/esm2015/directives/obscured/index.js +1 -1
- package/esm2015/directives/obscured/obscured.directive.js +30 -23
- package/esm2015/directives/obscured/obscured.module.js +14 -11
- package/esm2015/directives/obscured/taiga-ui-cdk-directives-obscured.js +1 -1
- package/esm2015/directives/overscroll/index.js +1 -1
- package/esm2015/directives/overscroll/overscroll.directive.js +41 -40
- package/esm2015/directives/overscroll/overscroll.module.js +14 -11
- package/esm2015/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +1 -1
- package/esm2015/directives/pan/index.js +1 -1
- package/esm2015/directives/pan/pan.directive.js +18 -18
- package/esm2015/directives/pan/pan.module.js +14 -11
- package/esm2015/directives/pan/taiga-ui-cdk-directives-pan.js +1 -1
- package/esm2015/directives/portal/index.js +1 -1
- package/esm2015/directives/portal/portal.directive.js +23 -21
- package/esm2015/directives/portal/portal.module.js +14 -11
- package/esm2015/directives/portal/taiga-ui-cdk-directives-portal.js +1 -1
- package/esm2015/directives/pressed/index.js +1 -1
- package/esm2015/directives/pressed/pressed.directive.js +22 -21
- package/esm2015/directives/pressed/pressed.module.js +14 -11
- package/esm2015/directives/pressed/taiga-ui-cdk-directives-pressed.js +1 -1
- package/esm2015/directives/prevent-default/index.js +1 -1
- package/esm2015/directives/prevent-default/prevent-default.directive.js +29 -25
- package/esm2015/directives/prevent-default/prevent-default.module.js +14 -11
- package/esm2015/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +1 -1
- package/esm2015/directives/repeat-times/index.js +1 -1
- package/esm2015/directives/repeat-times/repeat-times.directive.js +23 -19
- package/esm2015/directives/repeat-times/repeat-times.module.js +14 -11
- package/esm2015/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js +1 -1
- package/esm2015/directives/resize/index.js +1 -1
- package/esm2015/directives/resize/resize.directive.js +18 -18
- package/esm2015/directives/resize/resize.module.js +14 -11
- package/esm2015/directives/resize/taiga-ui-cdk-directives-resize.js +1 -1
- package/esm2015/directives/swipe/index.js +1 -1
- package/esm2015/directives/swipe/swipe.directive.js +18 -18
- package/esm2015/directives/swipe/swipe.module.js +14 -11
- package/esm2015/directives/swipe/taiga-ui-cdk-directives-swipe.js +1 -1
- package/esm2015/directives/taiga-ui-cdk-directives.js +1 -1
- package/esm2015/directives/validator/index.js +1 -1
- package/esm2015/directives/validator/taiga-ui-cdk-directives-validator.js +1 -1
- package/esm2015/directives/validator/validator.directive.js +27 -18
- package/esm2015/directives/validator/validator.module.js +14 -11
- package/esm2015/directives/zoom/index.js +1 -1
- package/esm2015/directives/zoom/taiga-ui-cdk-directives-zoom.js +1 -1
- package/esm2015/directives/zoom/zoom.directive.js +21 -21
- package/esm2015/directives/zoom/zoom.module.js +14 -11
- package/esm2015/enums/autocomplete.js +1 -11
- package/esm2015/enums/day-of-week.js +1 -1
- package/esm2015/enums/index.js +1 -4
- package/esm2015/enums/month-number.js +1 -1
- package/esm2015/enums/taiga-ui-cdk-enums.js +1 -1
- package/esm2015/exceptions/computed-document.exception.js +1 -1
- package/esm2015/exceptions/document-selection.exception.js +1 -1
- package/esm2015/exceptions/index.js +1 -1
- package/esm2015/exceptions/invalid-day.exception.js +2 -9
- package/esm2015/exceptions/invalid-month.exception.js +2 -9
- package/esm2015/exceptions/invalid-year.exception.js +2 -9
- package/esm2015/exceptions/no-host.exception.js +1 -1
- package/esm2015/exceptions/owner-document.exception.js +1 -1
- package/esm2015/exceptions/pure.exception.js +1 -1
- package/esm2015/exceptions/table-sort-key.exception.js +1 -1
- package/esm2015/exceptions/taiga-ui-cdk-exceptions.js +1 -1
- package/esm2015/exceptions/ts-parser.exception.js +1 -1
- package/esm2015/exceptions/value-changes.exception.js +1 -1
- package/esm2015/exceptions/value-present.exception.js +1 -1
- package/esm2015/exceptions/xml-parsing.exception.js +1 -1
- package/esm2015/index.js +3 -1
- package/esm2015/interfaces/alert-context.js +2 -1
- package/esm2015/interfaces/aria-dialog-context.js +2 -1
- package/esm2015/interfaces/base-dialog-context.js +2 -1
- package/esm2015/interfaces/base-dialog.js +2 -1
- package/esm2015/interfaces/context-with-implicit.js +2 -1
- package/esm2015/interfaces/control-value-transformer.js +2 -1
- package/esm2015/interfaces/day-like.js +2 -1
- package/esm2015/interfaces/focusable-element-accessor.js +2 -1
- package/esm2015/interfaces/index.js +14 -1
- package/esm2015/interfaces/month-like.js +2 -1
- package/esm2015/interfaces/swipe.js +2 -1
- package/esm2015/interfaces/taiga-ui-cdk-interfaces.js +2 -1
- package/esm2015/interfaces/time-like.js +2 -1
- package/esm2015/interfaces/year-like.js +2 -1
- package/esm2015/interfaces/zoom.js +2 -1
- package/esm2015/observables/drag-and-drop-from.js +6 -11
- package/esm2015/observables/focus-visible-observable.js +9 -14
- package/esm2015/observables/index.js +1 -1
- package/esm2015/observables/is-alive.js +1 -1
- package/esm2015/observables/items-query-list-observable.js +4 -7
- package/esm2015/observables/mouse-drag-finish-from.js +4 -7
- package/esm2015/observables/must-be-present.js +4 -9
- package/esm2015/observables/pressed-observable.js +5 -10
- package/esm2015/observables/prevent-default.js +2 -7
- package/esm2015/observables/replay-control-value-changes.js +2 -3
- package/esm2015/observables/stop-propagation.js +2 -7
- package/esm2015/observables/taiga-ui-cdk-observables.js +1 -1
- package/esm2015/observables/typed-from-event.js +2 -7
- package/esm2015/observables/watch.js +2 -7
- package/esm2015/observables/zone-free.js +1 -1
- package/esm2015/pipes/filter/filter.module.js +14 -11
- package/esm2015/pipes/filter/filter.pipe.js +10 -8
- package/esm2015/pipes/filter/index.js +1 -1
- package/esm2015/pipes/filter/taiga-ui-cdk-pipes-filter.js +1 -1
- package/esm2015/pipes/index.js +1 -1
- package/esm2015/pipes/keys/index.js +1 -1
- package/esm2015/pipes/keys/keys.module.js +14 -11
- package/esm2015/pipes/keys/keys.pipe.js +10 -8
- package/esm2015/pipes/keys/taiga-ui-cdk-pipes-keys.js +1 -1
- package/esm2015/pipes/mapper/index.js +1 -1
- package/esm2015/pipes/mapper/mapper.module.js +14 -11
- package/esm2015/pipes/mapper/mapper.pipe.js +10 -8
- package/esm2015/pipes/mapper/taiga-ui-cdk-pipes-mapper.js +1 -1
- package/esm2015/pipes/taiga-ui-cdk-pipes.js +1 -1
- package/esm2015/services/destroy.service.js +9 -8
- package/esm2015/services/directive-styles.service.js +19 -42
- package/esm2015/services/focus-visible.service.js +21 -19
- package/esm2015/services/id.service.js +12 -13
- package/esm2015/services/index.js +1 -2
- package/esm2015/services/obscured.service.js +33 -27
- package/esm2015/services/pan.service.js +20 -22
- package/esm2015/services/parents-scroll.service.js +17 -18
- package/esm2015/services/resize.service.js +28 -24
- package/esm2015/services/scroll.service.js +22 -23
- package/esm2015/services/static-request.service.js +11 -11
- package/esm2015/services/swipe.service.js +23 -24
- package/esm2015/services/taiga-ui-cdk-services.js +1 -1
- package/esm2015/services/zoom.service.js +22 -22
- package/esm2015/taiga-ui-cdk.js +1 -1
- package/esm2015/tokens/active-element.js +16 -16
- package/esm2015/tokens/alerts.js +8 -1
- package/esm2015/tokens/default-renderer.js +1 -1
- package/esm2015/tokens/dialogs.js +8 -1
- package/esm2015/tokens/focusable-item-accessor.js +7 -1
- package/esm2015/tokens/index.js +2 -2
- package/esm2015/tokens/is-android.js +1 -1
- package/esm2015/tokens/is-apple.js +3 -3
- package/esm2015/tokens/is-chromium.js +1 -1
- package/esm2015/tokens/is-cypress.js +1 -1
- package/esm2015/tokens/is-firefox.js +1 -1
- package/esm2015/tokens/is-ios.js +3 -3
- package/esm2015/tokens/is-mobile.js +1 -1
- package/esm2015/tokens/is-webkit.js +1 -1
- package/esm2015/tokens/range.js +8 -0
- package/esm2015/tokens/removed-element.js +2 -3
- package/esm2015/tokens/swipe-options.js +1 -1
- package/esm2015/tokens/taiga-ui-cdk-tokens.js +1 -1
- package/esm2015/tokens/take-only-trusted-events.js +1 -1
- package/esm2015/tokens/touch-supported.js +1 -1
- package/esm2015/tokens/window-height.js +3 -3
- package/esm2015/tokens/zoom-options.js +1 -1
- package/esm2015/types/date-mode.js +2 -1
- package/esm2015/types/dialog.js +2 -1
- package/esm2015/types/event-with.js +2 -1
- package/esm2015/types/handler.js +2 -1
- package/esm2015/types/index.js +11 -1
- package/esm2015/types/input-mode.js +2 -1
- package/esm2015/types/input-type.js +2 -1
- package/esm2015/types/mapper.js +2 -1
- package/esm2015/types/matcher.js +2 -1
- package/esm2015/types/overscroll-mode.js +2 -1
- package/esm2015/types/taiga-ui-cdk-types.js +2 -1
- package/esm2015/types/time-mode.js +2 -1
- package/esm2015/utils/browser/index.js +1 -2
- package/esm2015/utils/browser/is-edge-older-than.js +2 -7
- package/esm2015/utils/browser/is-edge.js +2 -7
- package/esm2015/utils/browser/is-firefox.js +2 -7
- package/esm2015/utils/browser/is-safari.js +2 -7
- package/esm2015/utils/browser/taiga-ui-cdk-utils-browser.js +1 -1
- package/esm2015/utils/color/hex-to-rgb.js +12 -0
- package/esm2015/utils/color/hsv-to-rgb.js +11 -0
- package/esm2015/utils/color/index.js +6 -0
- package/esm2015/utils/color/parse-color.js +27 -0
- package/esm2015/utils/color/rgb-to-hex.js +4 -0
- package/esm2015/utils/color/rgb-to-hsv.js +7 -0
- package/{esm5/directives/for/taiga-ui-cdk-directives-for.js → esm2015/utils/color/taiga-ui-cdk-utils-color.js} +1 -1
- package/esm2015/utils/dom/can-scroll.js +2 -7
- package/esm2015/utils/dom/contains-or-after.js +2 -7
- package/esm2015/utils/dom/element-checks.js +21 -0
- package/esm2015/utils/dom/get-actual-target.js +2 -5
- package/esm2015/utils/dom/get-clipboard-data-text.js +2 -5
- package/esm2015/utils/dom/get-document-or-shadow-root.js +2 -7
- package/esm2015/utils/dom/get-element-obscurers.js +14 -17
- package/esm2015/utils/dom/get-element-offset.js +4 -7
- package/esm2015/utils/dom/get-scroll-parent.js +3 -6
- package/esm2015/utils/dom/get-selected-text.js +3 -3
- package/esm2015/utils/dom/index.js +3 -5
- package/esm2015/utils/dom/is-current-target.js +2 -7
- package/esm2015/utils/dom/is-element-editable.js +5 -0
- package/esm2015/utils/dom/is-inside-iframe.js +2 -5
- package/esm2015/utils/dom/is-node-in.js +7 -10
- package/esm2015/utils/dom/point-to-client-rect.js +1 -1
- package/esm2015/utils/dom/taiga-ui-cdk-utils-dom.js +1 -1
- package/esm2015/utils/focus/blur-native-focused.js +7 -11
- package/esm2015/utils/focus/get-closest-focusable.js +26 -0
- package/esm2015/utils/focus/get-native-focused.js +4 -6
- package/esm2015/utils/focus/index.js +2 -3
- package/esm2015/utils/focus/is-native-focused-in.js +4 -7
- package/esm2015/utils/focus/is-native-focused.js +4 -7
- package/esm2015/utils/focus/is-native-keyboard-focusable.js +4 -7
- package/esm2015/utils/focus/is-native-mouse-focusable.js +5 -9
- package/esm2015/utils/focus/move-focus.js +5 -9
- package/esm2015/utils/focus/set-native-mouse-focused.js +8 -7
- package/esm2015/utils/focus/taiga-ui-cdk-utils-focus.js +1 -1
- package/esm2015/utils/format/index.js +1 -2
- package/esm2015/utils/format/px.js +2 -5
- package/esm2015/utils/format/taiga-ui-cdk-utils-format.js +1 -1
- package/esm2015/utils/index.js +2 -1
- package/esm2015/utils/math/clamp.js +2 -5
- package/esm2015/utils/math/in-range.js +2 -12
- package/esm2015/utils/math/index.js +1 -1
- package/esm2015/utils/math/normalize-to-int-number.js +2 -5
- package/esm2015/utils/math/quantize.js +2 -5
- package/esm2015/utils/math/round.js +4 -19
- package/esm2015/utils/math/sum.js +2 -5
- package/esm2015/utils/math/taiga-ui-cdk-utils-math.js +1 -1
- package/esm2015/utils/math/to-int.js +2 -7
- package/esm2015/utils/math/to-radians.js +2 -5
- package/esm2015/utils/miscellaneous/array-remove.js +4 -0
- package/esm2015/utils/miscellaneous/array-toggle.js +6 -0
- package/esm2015/utils/miscellaneous/distance-between-touches.js +2 -7
- package/esm2015/utils/miscellaneous/ease-in-out-quad.js +2 -7
- package/esm2015/utils/miscellaneous/flat-length.js +2 -5
- package/esm2015/utils/miscellaneous/get-original-array-from-query-list.js +2 -5
- package/esm2015/utils/miscellaneous/get-swipe-direction.js +2 -7
- package/esm2015/utils/miscellaneous/index.js +4 -4
- package/esm2015/utils/miscellaneous/is-number.js +2 -7
- package/esm2015/utils/miscellaneous/is-present.js +2 -7
- package/esm2015/utils/miscellaneous/is-string.js +4 -0
- package/esm2015/utils/miscellaneous/mark-control-as-touched-and-validate.js +4 -9
- package/esm2015/utils/miscellaneous/nullable-same.js +2 -5
- package/esm2015/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js +1 -1
- package/esm2015/utils/miscellaneous/uniq-by.js +2 -7
- package/esm2015/utils/os/index.js +1 -1
- package/esm2015/utils/os/is-apple-platform.js +2 -5
- package/esm2015/utils/os/is-apple.js +4 -9
- package/esm2015/utils/os/is-ios.js +4 -9
- package/esm2015/utils/os/taiga-ui-cdk-utils-os.js +1 -1
- package/esm2015/utils/svg/index.js +1 -1
- package/esm2015/utils/svg/svg-linear-gradient-processor.js +2 -5
- package/esm2015/utils/svg/taiga-ui-cdk-utils-svg.js +1 -1
- package/esm2015/utils/taiga-ui-cdk-utils.js +1 -1
- package/exceptions/invalid-day.exception.d.ts +1 -7
- package/exceptions/invalid-month.exception.d.ts +1 -7
- package/exceptions/invalid-year.exception.d.ts +1 -7
- package/exceptions/package.json +2 -5
- package/exceptions/taiga-ui-cdk-exceptions.d.ts +1 -0
- package/fesm2015/taiga-ui-cdk-abstract.js +164 -184
- package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-classes.js +1 -10
- package/fesm2015/taiga-ui-cdk-classes.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-coercion.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-components-alert-host.js +38 -29
- package/fesm2015/taiga-ui-cdk-components-alert-host.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-components-dialog-host.js +62 -39
- package/fesm2015/taiga-ui-cdk-components-dialog-host.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-components-dropdown-host.js +53 -27
- package/fesm2015/taiga-ui-cdk-components-dropdown-host.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-components.js +0 -1
- package/fesm2015/taiga-ui-cdk-components.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-constants.js +6 -4
- package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-date-time.js +29 -170
- package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-active-zone.js +50 -41
- package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +98 -87
- package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-autofilled.js +50 -41
- package/fesm2015/taiga-ui-cdk-directives-autofilled.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-checked.js +37 -32
- package/fesm2015/taiga-ui-cdk-directives-checked.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +33 -26
- package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-drag.js +38 -32
- package/fesm2015/taiga-ui-cdk-directives-drag.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-droppable.js +43 -38
- package/fesm2015/taiga-ui-cdk-directives-droppable.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-element.js +28 -22
- package/fesm2015/taiga-ui-cdk-directives-element.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focus-trap.js +56 -46
- package/fesm2015/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focus-visible.js +30 -25
- package/fesm2015/taiga-ui-cdk-directives-focus-visible.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focusable.js +30 -23
- package/fesm2015/taiga-ui-cdk-directives-focusable.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-focused.js +35 -29
- package/fesm2015/taiga-ui-cdk-directives-focused.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-for-async.js +32 -27
- package/fesm2015/taiga-ui-cdk-directives-for-async.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-for.js +33 -30
- package/fesm2015/taiga-ui-cdk-directives-for.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-high-dpi.js +33 -26
- package/fesm2015/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-hovered.js +61 -45
- package/fesm2015/taiga-ui-cdk-directives-hovered.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-input-mode.js +42 -31
- package/fesm2015/taiga-ui-cdk-directives-input-mode.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-item.js +24 -18
- package/fesm2015/taiga-ui-cdk-directives-item.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-let.js +32 -26
- package/fesm2015/taiga-ui-cdk-directives-let.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-media.js +76 -64
- package/fesm2015/taiga-ui-cdk-directives-media.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-obscured.js +42 -30
- package/fesm2015/taiga-ui-cdk-directives-obscured.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-overscroll.js +53 -47
- package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-pan.js +30 -25
- package/fesm2015/taiga-ui-cdk-directives-pan.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-portal.js +34 -27
- package/fesm2015/taiga-ui-cdk-directives-portal.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-pressed.js +34 -28
- package/fesm2015/taiga-ui-cdk-directives-pressed.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-prevent-default.js +41 -32
- package/fesm2015/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +35 -26
- package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-resize.js +30 -25
- package/fesm2015/taiga-ui-cdk-directives-resize.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-swipe.js +30 -25
- package/fesm2015/taiga-ui-cdk-directives-swipe.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-validator.js +39 -25
- package/fesm2015/taiga-ui-cdk-directives-validator.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives-zoom.js +33 -28
- package/fesm2015/taiga-ui-cdk-directives-zoom.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-directives.js +1 -0
- package/fesm2015/taiga-ui-cdk-directives.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-enums.js +1 -53
- package/fesm2015/taiga-ui-cdk-enums.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-exceptions.js +4 -25
- package/fesm2015/taiga-ui-cdk-exceptions.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-observables.js +24 -71
- package/fesm2015/taiga-ui-cdk-observables.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-pipes-filter.js +21 -14
- package/fesm2015/taiga-ui-cdk-pipes-filter.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-pipes-keys.js +21 -14
- package/fesm2015/taiga-ui-cdk-pipes-keys.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-pipes-mapper.js +21 -14
- package/fesm2015/taiga-ui-cdk-pipes-mapper.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-services.js +213 -235
- package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-tokens.js +47 -25
- package/fesm2015/taiga-ui-cdk-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-types.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-browser.js +5 -34
- package/fesm2015/taiga-ui-cdk-utils-browser.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-color.js +67 -0
- package/fesm2015/taiga-ui-cdk-utils-color.js.map +1 -0
- package/fesm2015/taiga-ui-cdk-utils-dom.js +51 -111
- package/fesm2015/taiga-ui-cdk-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-focus.js +35 -89
- package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-format.js +2 -22
- package/fesm2015/taiga-ui-cdk-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-math.js +11 -56
- package/fesm2015/taiga-ui-cdk-utils-math.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +25 -87
- package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-os.js +6 -19
- package/fesm2015/taiga-ui-cdk-utils-os.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils-svg.js +2 -5
- package/fesm2015/taiga-ui-cdk-utils-svg.js.map +1 -1
- package/fesm2015/taiga-ui-cdk-utils.js +1 -0
- package/fesm2015/taiga-ui-cdk-utils.js.map +1 -1
- package/fesm2015/taiga-ui-cdk.js +2 -0
- package/fesm2015/taiga-ui-cdk.js.map +1 -1
- package/interfaces/package.json +2 -5
- package/interfaces/taiga-ui-cdk-interfaces.d.ts +1 -0
- package/observables/drag-and-drop-from.d.ts +1 -5
- package/observables/focus-visible-observable.d.ts +1 -5
- package/observables/items-query-list-observable.d.ts +1 -3
- package/observables/mouse-drag-finish-from.d.ts +1 -3
- package/observables/must-be-present.d.ts +1 -5
- package/observables/package.json +2 -5
- package/observables/pressed-observable.d.ts +1 -5
- package/observables/prevent-default.d.ts +1 -5
- package/observables/replay-control-value-changes.d.ts +1 -2
- package/observables/stop-propagation.d.ts +1 -5
- package/observables/taiga-ui-cdk-observables.d.ts +1 -0
- package/observables/typed-from-event.d.ts +5 -21
- package/observables/watch.d.ts +1 -5
- package/package.json +10 -14
- package/pipes/filter/filter.module.d.ts +5 -0
- package/pipes/filter/filter.pipe.d.ts +3 -0
- package/pipes/filter/package.json +2 -5
- package/pipes/filter/taiga-ui-cdk-pipes-filter.d.ts +1 -0
- package/pipes/keys/keys.module.d.ts +5 -0
- package/pipes/keys/keys.pipe.d.ts +3 -0
- package/pipes/keys/package.json +2 -5
- package/pipes/keys/taiga-ui-cdk-pipes-keys.d.ts +1 -0
- package/pipes/mapper/mapper.module.d.ts +5 -0
- package/pipes/mapper/mapper.pipe.d.ts +3 -0
- package/pipes/mapper/package.json +2 -5
- package/pipes/mapper/taiga-ui-cdk-pipes-mapper.d.ts +1 -0
- package/pipes/package.json +2 -5
- package/pipes/taiga-ui-cdk-pipes.d.ts +1 -0
- package/schematics/constants/file-globs.js +3 -2
- package/schematics/constants/taiga-styles.d.ts +5 -0
- package/schematics/constants/taiga-styles.js +8 -0
- package/schematics/ng-add/constants/modules.js +1 -0
- package/schematics/ng-add/constants/packages.js +1 -0
- package/schematics/ng-add/constants/versions.js +1 -0
- package/schematics/ng-add/index.js +7 -0
- package/schematics/ng-add/schema.d.ts +8 -0
- package/schematics/ng-add/schema.json +9 -0
- package/schematics/ng-add/steps/add-taiga-icons.d.ts +1 -1
- package/schematics/ng-add/steps/add-taiga-icons.js +9 -6
- package/schematics/ng-add/steps/add-taiga-modules.js +5 -0
- package/schematics/ng-add/steps/add-taiga-styles.d.ts +0 -1
- package/schematics/ng-add/steps/add-taiga-styles.js +9 -19
- package/schematics/ng-add/steps/wrap-with-tui-root.js +4 -0
- package/schematics/ng-update/constants/breakpoints.d.ts +82 -0
- package/schematics/ng-update/constants/breakpoints.js +34 -0
- package/schematics/ng-update/constants/consts.d.ts +1 -1
- package/schematics/ng-update/constants/consts.js +171 -0
- package/schematics/ng-update/constants/deprecated-functions.js +2 -36
- package/schematics/ng-update/constants/enums.js +12 -0
- package/schematics/ng-update/constants/modules.js +1 -0
- package/schematics/ng-update/constants/services.js +2 -1
- package/schematics/ng-update/constants/templates.d.ts +12 -0
- package/schematics/ng-update/constants/templates.js +344 -20
- package/schematics/ng-update/constants/tui-interactive-selectors.js +1 -0
- package/schematics/ng-update/constants/types.js +1 -0
- package/schematics/ng-update/constants/warnings.js +11 -0
- package/schematics/ng-update/index.d.ts +2 -11
- package/schematics/ng-update/index.js +35 -8
- package/schematics/ng-update/steps/migrate-date-time.js +1 -0
- package/schematics/ng-update/steps/migrate-polymorpheus.d.ts +8 -0
- package/schematics/ng-update/steps/migrate-polymorpheus.js +73 -0
- package/schematics/ng-update/steps/migrate-progress.js +1 -0
- package/schematics/ng-update/steps/migrate-sliders/index.js +1 -0
- package/schematics/ng-update/steps/migrate-sliders/migrate-input-range.js +1 -0
- package/schematics/ng-update/steps/migrate-sliders/migrate-input-slider.js +1 -0
- package/schematics/ng-update/steps/migrate-taiga-proprietary-icons.d.ts +3 -0
- package/schematics/ng-update/steps/migrate-taiga-proprietary-icons.js +51 -0
- package/schematics/ng-update/steps/migrate-templates.js +74 -17
- package/schematics/ng-update/steps/miscellaneous.js +11 -0
- package/schematics/ng-update/steps/remove-module.js +1 -0
- package/schematics/ng-update/steps/rename-types.js +1 -0
- package/schematics/ng-update/steps/replace-const.js +1 -0
- package/schematics/ng-update/steps/replace-deep-import.js +1 -0
- package/schematics/ng-update/steps/replace-enums.js +1 -0
- package/schematics/ng-update/steps/replace-functions.js +37 -0
- package/schematics/ng-update/steps/replace-services.js +1 -0
- package/schematics/ng-update/steps/replace-styles.d.ts +1 -0
- package/schematics/ng-update/steps/replace-styles.js +18 -0
- package/schematics/ng-update/steps/show-warnings.js +7 -3
- package/schematics/utils/add-import-to-closest-module.d.ts +1 -0
- package/schematics/utils/add-import-to-closest-module.js +18 -0
- package/schematics/utils/add-styles.d.ts +7 -0
- package/schematics/utils/add-styles.js +26 -0
- package/schematics/utils/add-unique-import.js +1 -0
- package/schematics/utils/angular/ng-component.js +1 -0
- package/schematics/utils/angular/ng-module.js +1 -0
- package/schematics/utils/colored-log.d.ts +1 -0
- package/schematics/utils/colored-log.js +5 -0
- package/schematics/utils/create-angular-json.d.ts +3 -0
- package/schematics/utils/create-angular-json.js +29 -0
- package/schematics/utils/get-execution-time.js +1 -0
- package/schematics/utils/get-named-import-references.js +7 -3
- package/schematics/utils/get-project-target-options.js +1 -0
- package/schematics/utils/get-project.d.ts +1 -1
- package/schematics/utils/get-project.js +1 -4
- package/schematics/utils/import-manipulations.js +1 -0
- package/schematics/utils/insert-todo.d.ts +1 -0
- package/schematics/utils/insert-todo.js +3 -1
- package/schematics/utils/progress.js +1 -0
- package/schematics/utils/replace-tag.d.ts +3 -0
- package/schematics/utils/replace-tag.js +17 -0
- package/schematics/utils/templates/elements.d.ts +3 -2
- package/schematics/utils/templates/elements.js +13 -7
- package/schematics/utils/templates/get-component-templates.js +1 -0
- package/schematics/utils/templates/ng-component-input-manipulations.d.ts +1 -1
- package/schematics/utils/templates/ng-component-input-manipulations.js +3 -12
- package/schematics/utils/templates/template-resource.js +1 -0
- package/services/destroy.service.d.ts +3 -0
- package/services/directive-styles.service.d.ts +5 -9
- package/services/focus-visible.service.d.ts +3 -1
- package/services/id.service.d.ts +3 -0
- package/services/index.d.ts +0 -1
- package/services/obscured.service.d.ts +3 -0
- package/services/package.json +2 -5
- package/services/pan.service.d.ts +3 -3
- package/services/parents-scroll.service.d.ts +3 -0
- package/services/resize.service.d.ts +4 -2
- package/services/scroll.service.d.ts +3 -0
- package/services/static-request.service.d.ts +3 -0
- package/services/swipe.service.d.ts +3 -3
- package/services/taiga-ui-cdk-services.d.ts +1 -0
- package/services/zoom.service.d.ts +3 -0
- package/taiga-ui-cdk.d.ts +1 -0
- package/tokens/alerts.d.ts +2 -1
- package/tokens/dialogs.d.ts +2 -1
- package/tokens/focusable-item-accessor.d.ts +2 -1
- package/tokens/index.d.ts +1 -1
- package/tokens/is-cypress.d.ts +0 -3
- package/tokens/package.json +2 -5
- package/tokens/range.d.ts +2 -0
- package/tokens/taiga-ui-cdk-tokens.d.ts +1 -0
- package/types/input-mode.d.ts +1 -1
- package/types/input-type.d.ts +1 -1
- package/types/overscroll-mode.d.ts +1 -1
- package/types/package.json +2 -5
- package/types/taiga-ui-cdk-types.d.ts +1 -0
- package/utils/browser/index.d.ts +0 -1
- package/utils/browser/is-edge-older-than.d.ts +1 -5
- package/utils/browser/is-edge.d.ts +1 -5
- package/utils/browser/is-firefox.d.ts +1 -5
- package/utils/browser/is-safari.d.ts +1 -5
- package/utils/browser/package.json +2 -5
- package/utils/browser/taiga-ui-cdk-utils-browser.d.ts +1 -0
- package/utils/color/hex-to-rgb.d.ts +1 -0
- package/utils/color/hsv-to-rgb.d.ts +4 -0
- package/utils/color/index.d.ts +5 -0
- package/utils/color/package.json +10 -0
- package/utils/color/parse-color.d.ts +1 -0
- package/utils/color/rgb-to-hex.d.ts +1 -0
- package/utils/color/rgb-to-hsv.d.ts +1 -0
- package/{components/portal-host/taiga-ui-cdk-components-portal-host.d.ts → utils/color/taiga-ui-cdk-utils-color.d.ts} +1 -0
- package/utils/dom/can-scroll.d.ts +1 -5
- package/utils/dom/contains-or-after.d.ts +1 -5
- package/utils/dom/element-checks.d.ts +6 -0
- package/utils/dom/get-actual-target.d.ts +1 -3
- package/utils/dom/get-clipboard-data-text.d.ts +1 -3
- package/utils/dom/get-document-or-shadow-root.d.ts +1 -5
- package/utils/dom/get-element-obscurers.d.ts +1 -3
- package/utils/dom/get-element-offset.d.ts +1 -3
- package/utils/dom/get-scroll-parent.d.ts +1 -3
- package/utils/dom/index.d.ts +2 -4
- package/utils/dom/is-current-target.d.ts +1 -5
- package/utils/dom/is-element-editable.d.ts +1 -0
- package/utils/dom/is-inside-iframe.d.ts +1 -3
- package/utils/dom/is-node-in.d.ts +1 -3
- package/utils/dom/package.json +2 -5
- package/utils/dom/taiga-ui-cdk-utils-dom.d.ts +1 -0
- package/utils/focus/blur-native-focused.d.ts +1 -3
- package/utils/focus/get-closest-focusable.d.ts +27 -0
- package/utils/focus/get-native-focused.d.ts +1 -3
- package/utils/focus/index.d.ts +1 -2
- package/utils/focus/is-native-focused-in.d.ts +1 -3
- package/utils/focus/is-native-focused.d.ts +1 -3
- package/utils/focus/is-native-keyboard-focusable.d.ts +1 -3
- package/utils/focus/is-native-mouse-focusable.d.ts +1 -5
- package/utils/focus/move-focus.d.ts +1 -3
- package/utils/focus/package.json +2 -5
- package/utils/focus/set-native-mouse-focused.d.ts +1 -3
- package/utils/focus/taiga-ui-cdk-utils-focus.d.ts +1 -0
- package/utils/format/index.d.ts +0 -1
- package/utils/format/package.json +2 -5
- package/utils/format/px.d.ts +1 -3
- package/utils/format/taiga-ui-cdk-utils-format.d.ts +1 -0
- package/utils/index.d.ts +1 -0
- package/utils/math/clamp.d.ts +1 -3
- package/utils/math/in-range.d.ts +1 -10
- package/utils/math/normalize-to-int-number.d.ts +1 -3
- package/utils/math/package.json +2 -5
- package/utils/math/quantize.d.ts +1 -3
- package/utils/math/round.d.ts +3 -15
- package/utils/math/sum.d.ts +1 -3
- package/utils/math/taiga-ui-cdk-utils-math.d.ts +1 -0
- package/utils/math/to-int.d.ts +1 -5
- package/utils/math/to-radians.d.ts +1 -3
- package/utils/miscellaneous/array-remove.d.ts +1 -0
- package/utils/miscellaneous/array-toggle.d.ts +1 -0
- package/utils/miscellaneous/distance-between-touches.d.ts +1 -5
- package/utils/miscellaneous/ease-in-out-quad.d.ts +1 -5
- package/utils/miscellaneous/flat-length.d.ts +1 -3
- package/utils/miscellaneous/get-original-array-from-query-list.d.ts +1 -3
- package/utils/miscellaneous/get-swipe-direction.d.ts +1 -5
- package/utils/miscellaneous/index.d.ts +3 -3
- package/utils/miscellaneous/is-number.d.ts +1 -5
- package/utils/miscellaneous/is-present.d.ts +1 -5
- package/utils/miscellaneous/is-string.d.ts +1 -0
- package/utils/miscellaneous/mark-control-as-touched-and-validate.d.ts +1 -5
- package/utils/miscellaneous/nullable-same.d.ts +1 -3
- package/utils/miscellaneous/package.json +2 -5
- package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.d.ts +1 -0
- package/utils/miscellaneous/uniq-by.d.ts +1 -5
- package/utils/os/is-apple-platform.d.ts +1 -3
- package/utils/os/is-apple.d.ts +1 -5
- package/utils/os/is-ios.d.ts +1 -5
- package/utils/os/package.json +2 -5
- package/utils/os/taiga-ui-cdk-utils-os.d.ts +1 -0
- package/utils/package.json +2 -5
- package/utils/svg/package.json +2 -5
- package/utils/svg/svg-linear-gradient-processor.d.ts +1 -3
- package/utils/svg/taiga-ui-cdk-utils-svg.d.ts +1 -0
- package/utils/taiga-ui-cdk-utils.d.ts +1 -0
- package/abstract/taiga-ui-cdk-abstract.metadata.json +0 -1
- package/bundles/taiga-ui-cdk-abstract.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-abstract.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-classes.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-classes.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-coercion.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-coercion.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-components-alert-host.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-components-alert-host.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-components-dropdown-host.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-components-portal-host.umd.js +0 -279
- package/bundles/taiga-ui-cdk-components-portal-host.umd.js.map +0 -1
- package/bundles/taiga-ui-cdk-components-portal-host.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-components-portal-host.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-components.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-components.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-constants.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-constants.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-date-time.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-date-time.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-decorators.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-decorators.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-active-zone.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-checked.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-checked.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-drag.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-drag.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-droppable.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-droppable.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-element.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-element.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-focus-visible.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-focusable.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-focusable.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-focused.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-focused.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-for-async.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-for-async.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-for.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-for.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-hovered.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-hovered.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-input-mode.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-input-mode.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-item.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-item.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-let.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-let.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-media.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-media.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-obscured.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-obscured.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-pan.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-pan.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-portal.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-portal.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-pressed.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-pressed.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-prevent-default.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-repeat-times.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-resize.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-resize.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-validator.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-validator.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-directives.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-directives.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-enums.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-enums.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-exceptions.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-exceptions.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-interfaces.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-interfaces.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-observables.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-observables.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-pipes-filter.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-pipes-filter.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-pipes-keys.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-pipes-keys.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-pipes-mapper.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-pipes-mapper.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-pipes.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-pipes.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-services.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-services.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-tokens.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-tokens.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-types.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-types.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-browser.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-browser.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-dom.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-dom.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-focus.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-focus.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-format.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-format.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-math.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-math.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-os.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-os.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils-svg.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils-svg.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk-utils.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk-utils.umd.min.js.map +0 -1
- package/bundles/taiga-ui-cdk.umd.min.js +0 -2
- package/bundles/taiga-ui-cdk.umd.min.js.map +0 -1
- package/classes/taiga-ui-cdk-classes.metadata.json +0 -1
- package/coercion/taiga-ui-cdk-coercion.metadata.json +0 -1
- package/components/alert-host/taiga-ui-cdk-components-alert-host.metadata.json +0 -1
- package/components/dialog-host/taiga-ui-cdk-components-dialog-host.metadata.json +0 -1
- package/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.metadata.json +0 -1
- package/components/portal-host/index.d.ts +0 -1
- package/components/portal-host/package.json +0 -13
- package/components/portal-host/portal.service.d.ts +0 -7
- package/components/portal-host/taiga-ui-cdk-components-portal-host.metadata.json +0 -1
- package/components/taiga-ui-cdk-components.metadata.json +0 -1
- package/constants/taiga-ui-cdk-constants.metadata.json +0 -1
- package/date-time/taiga-ui-cdk-date-time.metadata.json +0 -1
- package/decorators/taiga-ui-cdk-decorators.metadata.json +0 -1
- package/directives/active-zone/taiga-ui-cdk-directives-active-zone.metadata.json +0 -1
- package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.metadata.json +0 -1
- package/directives/autofilled/taiga-ui-cdk-directives-autofilled.metadata.json +0 -1
- package/directives/checked/taiga-ui-cdk-directives-checked.metadata.json +0 -1
- package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.metadata.json +0 -1
- package/directives/drag/taiga-ui-cdk-directives-drag.metadata.json +0 -1
- package/directives/droppable/taiga-ui-cdk-directives-droppable.metadata.json +0 -1
- package/directives/element/taiga-ui-cdk-directives-element.metadata.json +0 -1
- package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.metadata.json +0 -1
- package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.metadata.json +0 -1
- package/directives/focusable/taiga-ui-cdk-directives-focusable.metadata.json +0 -1
- package/directives/focused/taiga-ui-cdk-directives-focused.metadata.json +0 -1
- package/directives/for/taiga-ui-cdk-directives-for.metadata.json +0 -1
- package/directives/for-async/taiga-ui-cdk-directives-for-async.metadata.json +0 -1
- package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.metadata.json +0 -1
- package/directives/hovered/taiga-ui-cdk-directives-hovered.metadata.json +0 -1
- package/directives/input-mode/taiga-ui-cdk-directives-input-mode.metadata.json +0 -1
- package/directives/item/taiga-ui-cdk-directives-item.metadata.json +0 -1
- package/directives/let/taiga-ui-cdk-directives-let.metadata.json +0 -1
- package/directives/media/taiga-ui-cdk-directives-media.metadata.json +0 -1
- package/directives/obscured/taiga-ui-cdk-directives-obscured.metadata.json +0 -1
- package/directives/overscroll/taiga-ui-cdk-directives-overscroll.metadata.json +0 -1
- package/directives/pan/taiga-ui-cdk-directives-pan.metadata.json +0 -1
- package/directives/portal/taiga-ui-cdk-directives-portal.metadata.json +0 -1
- package/directives/pressed/taiga-ui-cdk-directives-pressed.metadata.json +0 -1
- package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.metadata.json +0 -1
- package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.metadata.json +0 -1
- package/directives/resize/taiga-ui-cdk-directives-resize.metadata.json +0 -1
- package/directives/swipe/taiga-ui-cdk-directives-swipe.metadata.json +0 -1
- package/directives/taiga-ui-cdk-directives.metadata.json +0 -1
- package/directives/validator/taiga-ui-cdk-directives-validator.metadata.json +0 -1
- package/directives/zoom/taiga-ui-cdk-directives-zoom.metadata.json +0 -1
- package/enums/input-mode.d.ts +0 -13
- package/enums/input-type.d.ts +0 -10
- package/enums/overscroll-mode.d.ts +0 -13
- package/enums/taiga-ui-cdk-enums.metadata.json +0 -1
- package/esm2015/components/portal-host/index.js +0 -2
- package/esm2015/components/portal-host/portal.service.js +0 -18
- package/esm2015/components/portal-host/taiga-ui-cdk-components-portal-host.js +0 -5
- package/esm2015/enums/input-mode.js +0 -15
- package/esm2015/enums/input-type.js +0 -12
- package/esm2015/enums/overscroll-mode.js +0 -15
- package/esm2015/services/hovered.service.js +0 -34
- package/esm2015/tokens/sanitizer.js +0 -4
- package/esm2015/utils/browser/is-ie.js +0 -9
- package/esm2015/utils/dom/custom-event.js +0 -10
- package/esm2015/utils/dom/get-closest-element.js +0 -20
- package/esm2015/utils/dom/is-element.js +0 -5
- package/esm2015/utils/dom/is-form-field.js +0 -8
- package/esm2015/utils/focus/get-closest-keyboard-focusable.js +0 -40
- package/esm2015/utils/focus/set-native-focused.js +0 -19
- package/esm2015/utils/format/pad-start.js +0 -17
- package/esm2015/utils/miscellaneous/fallback-value.js +0 -12
- package/esm2015/utils/miscellaneous/identity.js +0 -8
- package/esm2015/utils/miscellaneous/is-element-editable.js +0 -12
- package/esm5/abstract/control.js +0 -247
- package/esm5/abstract/controller.js +0 -25
- package/esm5/abstract/dialog.directive.js +0 -44
- package/esm5/abstract/dialog.service.js +0 -39
- package/esm5/abstract/index.js +0 -11
- package/esm5/abstract/interactive.js +0 -172
- package/esm5/abstract/multiple-control.js +0 -21
- package/esm5/abstract/nullable-control.js +0 -18
- package/esm5/abstract/portal-host.js +0 -50
- package/esm5/abstract/portal-service.js +0 -42
- package/esm5/abstract/taiga-ui-cdk-abstract.js +0 -5
- package/esm5/abstract/theme-switcher.js +0 -55
- package/esm5/classes/assert.js +0 -19
- package/esm5/classes/index.js +0 -3
- package/esm5/classes/taiga-ui-cdk-classes.js +0 -5
- package/esm5/classes/validation-error.js +0 -10
- package/esm5/coercion/coerce-boolean-property.js +0 -10
- package/esm5/coercion/index.js +0 -2
- package/esm5/coercion/taiga-ui-cdk-coercion.js +0 -5
- package/esm5/components/alert-host/alert-host.component.js +0 -42
- package/esm5/components/alert-host/alert-host.module.js +0 -19
- package/esm5/components/alert-host/index.js +0 -3
- package/esm5/components/alert-host/taiga-ui-cdk-components-alert-host.js +0 -5
- package/esm5/components/dialog-host/dialog-host.component.js +0 -77
- package/esm5/components/dialog-host/dialog-host.module.js +0 -28
- package/esm5/components/dialog-host/index.js +0 -3
- package/esm5/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +0 -5
- package/esm5/components/dropdown-host/dropdown-host.component.js +0 -34
- package/esm5/components/dropdown-host/dropdown-host.module.js +0 -16
- package/esm5/components/dropdown-host/index.js +0 -3
- package/esm5/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +0 -5
- package/esm5/components/index.js +0 -5
- package/esm5/components/portal-host/index.js +0 -2
- package/esm5/components/portal-host/portal.service.js +0 -23
- package/esm5/components/portal-host/taiga-ui-cdk-components-portal-host.js +0 -5
- package/esm5/components/taiga-ui-cdk-components.js +0 -5
- package/esm5/constants/always-false-handler.js +0 -5
- package/esm5/constants/always-true-handler.js +0 -5
- package/esm5/constants/browser.js +0 -2
- package/esm5/constants/empty.js +0 -20
- package/esm5/constants/index.js +0 -12
- package/esm5/constants/matcher.js +0 -35
- package/esm5/constants/parent-animation.js +0 -8
- package/esm5/constants/polling-time.js +0 -2
- package/esm5/constants/stringify.js +0 -5
- package/esm5/constants/svg-node-filter.js +0 -8
- package/esm5/constants/taiga-ui-cdk-constants.js +0 -5
- package/esm5/constants/unicode-chars.js +0 -64
- package/esm5/constants/version.js +0 -2
- package/esm5/date-time/date-fillers.js +0 -31
- package/esm5/date-time/date-format.js +0 -5
- package/esm5/date-time/date-separator.js +0 -6
- package/esm5/date-time/date-time.js +0 -19
- package/esm5/date-time/day-range.js +0 -111
- package/esm5/date-time/day.js +0 -350
- package/esm5/date-time/days.const.js +0 -5
- package/esm5/date-time/index.js +0 -12
- package/esm5/date-time/month-range.js +0 -43
- package/esm5/date-time/month.js +0 -209
- package/esm5/date-time/taiga-ui-cdk-date-time.js +0 -5
- package/esm5/date-time/time.js +0 -134
- package/esm5/date-time/year.js +0 -168
- package/esm5/decorators/default-prop.js +0 -62
- package/esm5/decorators/index.js +0 -4
- package/esm5/decorators/pure.js +0 -55
- package/esm5/decorators/required-setter.js +0 -39
- package/esm5/decorators/taiga-ui-cdk-decorators.js +0 -5
- package/esm5/directives/active-zone/active-zone.directive.js +0 -92
- package/esm5/directives/active-zone/active-zone.module.js +0 -16
- package/esm5/directives/active-zone/index.js +0 -3
- package/esm5/directives/active-zone/taiga-ui-cdk-directives-active-zone.js +0 -5
- package/esm5/directives/auto-focus/autofocus.directive.js +0 -31
- package/esm5/directives/auto-focus/autofocus.module.js +0 -16
- package/esm5/directives/auto-focus/autofocus.options.js +0 -29
- package/esm5/directives/auto-focus/handlers/abstract.handler.js +0 -34
- package/esm5/directives/auto-focus/handlers/default.handler.js +0 -43
- package/esm5/directives/auto-focus/handlers/ios.handler.js +0 -137
- package/esm5/directives/auto-focus/index.js +0 -7
- package/esm5/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js +0 -5
- package/esm5/directives/autofilled/autofilled-style.component.js +0 -16
- package/esm5/directives/autofilled/autofilled.directive.js +0 -42
- package/esm5/directives/autofilled/autofilled.module.js +0 -18
- package/esm5/directives/autofilled/index.js +0 -4
- package/esm5/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +0 -5
- package/esm5/directives/checked/checked.directive.js +0 -49
- package/esm5/directives/checked/checked.module.js +0 -16
- package/esm5/directives/checked/index.js +0 -3
- package/esm5/directives/checked/taiga-ui-cdk-directives-checked.js +0 -5
- package/esm5/directives/copy-processor/copy-processor.directive.js +0 -39
- package/esm5/directives/copy-processor/copy-processor.module.js +0 -16
- package/esm5/directives/copy-processor/index.js +0 -3
- package/esm5/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js +0 -5
- package/esm5/directives/drag/drag.directive.js +0 -52
- package/esm5/directives/drag/drag.module.js +0 -16
- package/esm5/directives/drag/index.js +0 -3
- package/esm5/directives/drag/taiga-ui-cdk-directives-drag.js +0 -5
- package/esm5/directives/droppable/droppable.directive.js +0 -43
- package/esm5/directives/droppable/droppable.module.js +0 -16
- package/esm5/directives/droppable/index.js +0 -3
- package/esm5/directives/droppable/taiga-ui-cdk-directives-droppable.js +0 -5
- package/esm5/directives/element/element.directive.js +0 -22
- package/esm5/directives/element/element.module.js +0 -16
- package/esm5/directives/element/index.js +0 -3
- package/esm5/directives/element/taiga-ui-cdk-directives-element.js +0 -5
- package/esm5/directives/focus-trap/focus-trap.directive.js +0 -78
- package/esm5/directives/focus-trap/focus-trap.module.js +0 -16
- package/esm5/directives/focus-trap/index.js +0 -3
- package/esm5/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js +0 -5
- package/esm5/directives/focus-visible/focus-visible.directive.js +0 -29
- package/esm5/directives/focus-visible/focus-visible.module.js +0 -16
- package/esm5/directives/focus-visible/index.js +0 -3
- package/esm5/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +0 -5
- package/esm5/directives/focusable/focusable.directive.js +0 -34
- package/esm5/directives/focusable/focusable.module.js +0 -16
- package/esm5/directives/focusable/index.js +0 -3
- package/esm5/directives/focusable/taiga-ui-cdk-directives-focusable.js +0 -5
- package/esm5/directives/focused/focused.directive.js +0 -34
- package/esm5/directives/focused/focused.module.js +0 -16
- package/esm5/directives/focused/index.js +0 -3
- package/esm5/directives/focused/taiga-ui-cdk-directives-focused.js +0 -5
- package/esm5/directives/for/for.directive.js +0 -39
- package/esm5/directives/for/for.module.js +0 -16
- package/esm5/directives/for/index.js +0 -3
- package/esm5/directives/for-async/for-async.directive.js +0 -53
- package/esm5/directives/for-async/for-async.module.js +0 -19
- package/esm5/directives/for-async/index.js +0 -3
- package/esm5/directives/for-async/taiga-ui-cdk-directives-for-async.js +0 -5
- package/esm5/directives/high-dpi/high-dpi.directive.js +0 -31
- package/esm5/directives/high-dpi/high-dpi.module.js +0 -16
- package/esm5/directives/high-dpi/index.js +0 -3
- package/esm5/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js +0 -5
- package/esm5/directives/hovered/hovered.directive.js +0 -44
- package/esm5/directives/hovered/hovered.module.js +0 -16
- package/esm5/directives/hovered/index.js +0 -3
- package/esm5/directives/hovered/taiga-ui-cdk-directives-hovered.js +0 -5
- package/esm5/directives/index.js +0 -31
- package/esm5/directives/input-mode/index.js +0 -3
- package/esm5/directives/input-mode/input-mode.directive.js +0 -44
- package/esm5/directives/input-mode/input-mode.module.js +0 -16
- package/esm5/directives/input-mode/taiga-ui-cdk-directives-input-mode.js +0 -5
- package/esm5/directives/item/index.js +0 -3
- package/esm5/directives/item/item.directive.js +0 -18
- package/esm5/directives/item/item.module.js +0 -16
- package/esm5/directives/item/taiga-ui-cdk-directives-item.js +0 -5
- package/esm5/directives/let/index.js +0 -4
- package/esm5/directives/let/let-context.js +0 -25
- package/esm5/directives/let/let.directive.js +0 -38
- package/esm5/directives/let/let.module.js +0 -16
- package/esm5/directives/let/taiga-ui-cdk-directives-let.js +0 -5
- package/esm5/directives/media/index.js +0 -3
- package/esm5/directives/media/media.directive.js +0 -130
- package/esm5/directives/media/media.module.js +0 -16
- package/esm5/directives/media/taiga-ui-cdk-directives-media.js +0 -5
- package/esm5/directives/obscured/index.js +0 -3
- package/esm5/directives/obscured/obscured.directive.js +0 -53
- package/esm5/directives/obscured/obscured.module.js +0 -16
- package/esm5/directives/obscured/taiga-ui-cdk-directives-obscured.js +0 -5
- package/esm5/directives/overscroll/index.js +0 -3
- package/esm5/directives/overscroll/overscroll.directive.js +0 -112
- package/esm5/directives/overscroll/overscroll.module.js +0 -16
- package/esm5/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +0 -5
- package/esm5/directives/pan/index.js +0 -3
- package/esm5/directives/pan/pan.directive.js +0 -24
- package/esm5/directives/pan/pan.module.js +0 -19
- package/esm5/directives/pan/taiga-ui-cdk-directives-pan.js +0 -5
- package/esm5/directives/portal/index.js +0 -3
- package/esm5/directives/portal/portal.directive.js +0 -41
- package/esm5/directives/portal/portal.module.js +0 -16
- package/esm5/directives/portal/taiga-ui-cdk-directives-portal.js +0 -5
- package/esm5/directives/pressed/index.js +0 -3
- package/esm5/directives/pressed/pressed.directive.js +0 -30
- package/esm5/directives/pressed/pressed.module.js +0 -16
- package/esm5/directives/pressed/taiga-ui-cdk-directives-pressed.js +0 -5
- package/esm5/directives/prevent-default/index.js +0 -3
- package/esm5/directives/prevent-default/prevent-default.directive.js +0 -38
- package/esm5/directives/prevent-default/prevent-default.module.js +0 -16
- package/esm5/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +0 -5
- package/esm5/directives/repeat-times/index.js +0 -3
- package/esm5/directives/repeat-times/repeat-times.directive.js +0 -67
- package/esm5/directives/repeat-times/repeat-times.module.js +0 -16
- package/esm5/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js +0 -5
- package/esm5/directives/resize/index.js +0 -3
- package/esm5/directives/resize/resize.directive.js +0 -24
- package/esm5/directives/resize/resize.module.js +0 -19
- package/esm5/directives/resize/taiga-ui-cdk-directives-resize.js +0 -5
- package/esm5/directives/swipe/index.js +0 -3
- package/esm5/directives/swipe/swipe.directive.js +0 -24
- package/esm5/directives/swipe/swipe.module.js +0 -19
- package/esm5/directives/swipe/taiga-ui-cdk-directives-swipe.js +0 -5
- package/esm5/directives/taiga-ui-cdk-directives.js +0 -5
- package/esm5/directives/validator/index.js +0 -3
- package/esm5/directives/validator/taiga-ui-cdk-directives-validator.js +0 -5
- package/esm5/directives/validator/validator.directive.js +0 -45
- package/esm5/directives/validator/validator.module.js +0 -16
- package/esm5/directives/zoom/index.js +0 -3
- package/esm5/directives/zoom/taiga-ui-cdk-directives-zoom.js +0 -5
- package/esm5/directives/zoom/zoom.directive.js +0 -27
- package/esm5/directives/zoom/zoom.module.js +0 -19
- package/esm5/enums/autocomplete.js +0 -66
- package/esm5/enums/day-of-week.js +0 -11
- package/esm5/enums/index.js +0 -7
- package/esm5/enums/input-mode.js +0 -15
- package/esm5/enums/input-type.js +0 -12
- package/esm5/enums/month-number.js +0 -16
- package/esm5/enums/overscroll-mode.js +0 -15
- package/esm5/enums/taiga-ui-cdk-enums.js +0 -5
- package/esm5/exceptions/computed-document.exception.js +0 -10
- package/esm5/exceptions/document-selection.exception.js +0 -10
- package/esm5/exceptions/index.js +0 -14
- package/esm5/exceptions/invalid-day.exception.js +0 -23
- package/esm5/exceptions/invalid-month.exception.js +0 -23
- package/esm5/exceptions/invalid-year.exception.js +0 -23
- package/esm5/exceptions/no-host.exception.js +0 -10
- package/esm5/exceptions/owner-document.exception.js +0 -10
- package/esm5/exceptions/pure.exception.js +0 -10
- package/esm5/exceptions/table-sort-key.exception.js +0 -10
- package/esm5/exceptions/taiga-ui-cdk-exceptions.js +0 -5
- package/esm5/exceptions/ts-parser.exception.js +0 -10
- package/esm5/exceptions/value-changes.exception.js +0 -10
- package/esm5/exceptions/value-present.exception.js +0 -10
- package/esm5/exceptions/xml-parsing.exception.js +0 -10
- package/esm5/index.js +0 -16
- package/esm5/interfaces/alert-context.js +0 -1
- package/esm5/interfaces/aria-dialog-context.js +0 -1
- package/esm5/interfaces/base-dialog-context.js +0 -1
- package/esm5/interfaces/base-dialog.js +0 -1
- package/esm5/interfaces/context-with-implicit.js +0 -1
- package/esm5/interfaces/control-value-transformer.js +0 -1
- package/esm5/interfaces/day-like.js +0 -1
- package/esm5/interfaces/focusable-element-accessor.js +0 -1
- package/esm5/interfaces/index.js +0 -1
- package/esm5/interfaces/month-like.js +0 -1
- package/esm5/interfaces/swipe.js +0 -1
- package/esm5/interfaces/taiga-ui-cdk-interfaces.js +0 -4
- package/esm5/interfaces/time-like.js +0 -1
- package/esm5/interfaces/year-like.js +0 -1
- package/esm5/interfaces/zoom.js +0 -1
- package/esm5/observables/drag-and-drop-from.js +0 -33
- package/esm5/observables/focus-visible-observable.js +0 -36
- package/esm5/observables/index.js +0 -14
- package/esm5/observables/is-alive.js +0 -10
- package/esm5/observables/items-query-list-observable.js +0 -12
- package/esm5/observables/mouse-drag-finish-from.js +0 -13
- package/esm5/observables/must-be-present.js +0 -17
- package/esm5/observables/pressed-observable.js +0 -21
- package/esm5/observables/prevent-default.js +0 -10
- package/esm5/observables/replay-control-value-changes.js +0 -16
- package/esm5/observables/stop-propagation.js +0 -12
- package/esm5/observables/taiga-ui-cdk-observables.js +0 -5
- package/esm5/observables/typed-from-event.js +0 -11
- package/esm5/observables/watch.js +0 -12
- package/esm5/observables/zone-free.js +0 -23
- package/esm5/pipes/filter/filter.module.js +0 -16
- package/esm5/pipes/filter/filter.pipe.js +0 -26
- package/esm5/pipes/filter/index.js +0 -3
- package/esm5/pipes/filter/taiga-ui-cdk-pipes-filter.js +0 -5
- package/esm5/pipes/index.js +0 -4
- package/esm5/pipes/keys/index.js +0 -3
- package/esm5/pipes/keys/keys.module.js +0 -16
- package/esm5/pipes/keys/keys.pipe.js +0 -15
- package/esm5/pipes/keys/taiga-ui-cdk-pipes-keys.js +0 -5
- package/esm5/pipes/mapper/index.js +0 -3
- package/esm5/pipes/mapper/mapper.module.js +0 -16
- package/esm5/pipes/mapper/mapper.pipe.js +0 -26
- package/esm5/pipes/mapper/taiga-ui-cdk-pipes-mapper.js +0 -5
- package/esm5/pipes/taiga-ui-cdk-pipes.js +0 -5
- package/esm5/services/destroy.service.js +0 -22
- package/esm5/services/directive-styles.service.js +0 -56
- package/esm5/services/focus-visible.service.js +0 -35
- package/esm5/services/hovered.service.js +0 -39
- package/esm5/services/id.service.js +0 -26
- package/esm5/services/index.js +0 -14
- package/esm5/services/obscured.service.js +0 -50
- package/esm5/services/pan.service.js +0 -47
- package/esm5/services/parents-scroll.service.js +0 -40
- package/esm5/services/resize.service.js +0 -41
- package/esm5/services/scroll.service.js +0 -58
- package/esm5/services/static-request.service.js +0 -48
- package/esm5/services/swipe.service.js +0 -60
- package/esm5/services/taiga-ui-cdk-services.js +0 -5
- package/esm5/services/zoom.service.js +0 -64
- package/esm5/taiga-ui-cdk.js +0 -5
- package/esm5/tokens/active-element.js +0 -67
- package/esm5/tokens/alerts.js +0 -5
- package/esm5/tokens/default-renderer.js +0 -7
- package/esm5/tokens/dialogs.js +0 -5
- package/esm5/tokens/focusable-item-accessor.js +0 -3
- package/esm5/tokens/index.js +0 -21
- package/esm5/tokens/is-android.js +0 -7
- package/esm5/tokens/is-apple.js +0 -5
- package/esm5/tokens/is-chromium.js +0 -6
- package/esm5/tokens/is-cypress.js +0 -9
- package/esm5/tokens/is-firefox.js +0 -9
- package/esm5/tokens/is-ios.js +0 -7
- package/esm5/tokens/is-mobile.js +0 -12
- package/esm5/tokens/is-webkit.js +0 -6
- package/esm5/tokens/removed-element.js +0 -19
- package/esm5/tokens/sanitizer.js +0 -4
- package/esm5/tokens/swipe-options.js +0 -5
- package/esm5/tokens/taiga-ui-cdk-tokens.js +0 -5
- package/esm5/tokens/take-only-trusted-events.js +0 -11
- package/esm5/tokens/touch-supported.js +0 -6
- package/esm5/tokens/window-height.js +0 -11
- package/esm5/tokens/zoom-options.js +0 -7
- package/esm5/types/date-mode.js +0 -1
- package/esm5/types/dialog.js +0 -1
- package/esm5/types/event-with.js +0 -1
- package/esm5/types/handler.js +0 -1
- package/esm5/types/index.js +0 -1
- package/esm5/types/input-mode.js +0 -1
- package/esm5/types/input-type.js +0 -1
- package/esm5/types/mapper.js +0 -1
- package/esm5/types/matcher.js +0 -1
- package/esm5/types/overscroll-mode.js +0 -1
- package/esm5/types/taiga-ui-cdk-types.js +0 -4
- package/esm5/types/time-mode.js +0 -1
- package/esm5/utils/browser/index.js +0 -6
- package/esm5/utils/browser/is-edge-older-than.js +0 -11
- package/esm5/utils/browser/is-edge.js +0 -9
- package/esm5/utils/browser/is-firefox.js +0 -9
- package/esm5/utils/browser/is-ie.js +0 -9
- package/esm5/utils/browser/is-safari.js +0 -11
- package/esm5/utils/browser/taiga-ui-cdk-utils-browser.js +0 -5
- package/esm5/utils/dom/can-scroll.js +0 -47
- package/esm5/utils/dom/contains-or-after.js +0 -10
- package/esm5/utils/dom/custom-event.js +0 -11
- package/esm5/utils/dom/get-actual-target.js +0 -13
- package/esm5/utils/dom/get-clipboard-data-text.js +0 -15
- package/esm5/utils/dom/get-closest-element.js +0 -20
- package/esm5/utils/dom/get-document-or-shadow-root.js +0 -11
- package/esm5/utils/dom/get-element-obscurers.js +0 -39
- package/esm5/utils/dom/get-element-offset.js +0 -23
- package/esm5/utils/dom/get-scroll-parent.js +0 -23
- package/esm5/utils/dom/get-selected-text.js +0 -17
- package/esm5/utils/dom/index.js +0 -18
- package/esm5/utils/dom/is-current-target.js +0 -10
- package/esm5/utils/dom/is-element.js +0 -5
- package/esm5/utils/dom/is-form-field.js +0 -8
- package/esm5/utils/dom/is-inside-iframe.js +0 -10
- package/esm5/utils/dom/is-node-in.js +0 -18
- package/esm5/utils/dom/point-to-client-rect.js +0 -13
- package/esm5/utils/dom/taiga-ui-cdk-utils-dom.js +0 -5
- package/esm5/utils/focus/blur-native-focused.js +0 -16
- package/esm5/utils/focus/get-closest-keyboard-focusable.js +0 -42
- package/esm5/utils/focus/get-native-focused.js +0 -19
- package/esm5/utils/focus/index.js +0 -11
- package/esm5/utils/focus/is-native-focused-in.js +0 -19
- package/esm5/utils/focus/is-native-focused.js +0 -16
- package/esm5/utils/focus/is-native-keyboard-focusable.js +0 -36
- package/esm5/utils/focus/is-native-mouse-focusable.js +0 -11
- package/esm5/utils/focus/move-focus.js +0 -23
- package/esm5/utils/focus/set-native-focused.js +0 -21
- package/esm5/utils/focus/set-native-mouse-focused.js +0 -28
- package/esm5/utils/focus/taiga-ui-cdk-utils-focus.js +0 -5
- package/esm5/utils/format/index.js +0 -3
- package/esm5/utils/format/pad-start.js +0 -18
- package/esm5/utils/format/px.js +0 -12
- package/esm5/utils/format/taiga-ui-cdk-utils-format.js +0 -5
- package/esm5/utils/index.js +0 -9
- package/esm5/utils/math/clamp.js +0 -19
- package/esm5/utils/math/in-range.js +0 -19
- package/esm5/utils/math/index.js +0 -9
- package/esm5/utils/math/normalize-to-int-number.js +0 -25
- package/esm5/utils/math/quantize.js +0 -18
- package/esm5/utils/math/round.js +0 -49
- package/esm5/utils/math/sum.js +0 -14
- package/esm5/utils/math/taiga-ui-cdk-utils-math.js +0 -5
- package/esm5/utils/math/to-int.js +0 -9
- package/esm5/utils/math/to-radians.js +0 -10
- package/esm5/utils/miscellaneous/distance-between-touches.js +0 -10
- package/esm5/utils/miscellaneous/ease-in-out-quad.js +0 -11
- package/esm5/utils/miscellaneous/fallback-value.js +0 -12
- package/esm5/utils/miscellaneous/flat-length.js +0 -12
- package/esm5/utils/miscellaneous/get-original-array-from-query-list.js +0 -18
- package/esm5/utils/miscellaneous/get-swipe-direction.js +0 -14
- package/esm5/utils/miscellaneous/identity.js +0 -8
- package/esm5/utils/miscellaneous/index.js +0 -14
- package/esm5/utils/miscellaneous/is-element-editable.js +0 -12
- package/esm5/utils/miscellaneous/is-number.js +0 -9
- package/esm5/utils/miscellaneous/is-present.js +0 -9
- package/esm5/utils/miscellaneous/mark-control-as-touched-and-validate.js +0 -21
- package/esm5/utils/miscellaneous/nullable-same.js +0 -21
- package/esm5/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js +0 -5
- package/esm5/utils/miscellaneous/uniq-by.js +0 -11
- package/esm5/utils/os/index.js +0 -4
- package/esm5/utils/os/is-apple-platform.js +0 -17
- package/esm5/utils/os/is-apple.js +0 -11
- package/esm5/utils/os/is-ios.js +0 -12
- package/esm5/utils/os/taiga-ui-cdk-utils-os.js +0 -5
- package/esm5/utils/svg/index.js +0 -2
- package/esm5/utils/svg/svg-linear-gradient-processor.js +0 -32
- package/esm5/utils/svg/taiga-ui-cdk-utils-svg.js +0 -5
- package/esm5/utils/taiga-ui-cdk-utils.js +0 -5
- package/exceptions/taiga-ui-cdk-exceptions.metadata.json +0 -1
- package/fesm2015/taiga-ui-cdk-components-portal-host.js +0 -23
- package/fesm2015/taiga-ui-cdk-components-portal-host.js.map +0 -1
- package/fesm5/taiga-ui-cdk-abstract.js +0 -682
- package/fesm5/taiga-ui-cdk-abstract.js.map +0 -1
- package/fesm5/taiga-ui-cdk-classes.js +0 -35
- package/fesm5/taiga-ui-cdk-classes.js.map +0 -1
- package/fesm5/taiga-ui-cdk-coercion.js +0 -16
- package/fesm5/taiga-ui-cdk-coercion.js.map +0 -1
- package/fesm5/taiga-ui-cdk-components-alert-host.js +0 -63
- package/fesm5/taiga-ui-cdk-components-alert-host.js.map +0 -1
- package/fesm5/taiga-ui-cdk-components-dialog-host.js +0 -107
- package/fesm5/taiga-ui-cdk-components-dialog-host.js.map +0 -1
- package/fesm5/taiga-ui-cdk-components-dropdown-host.js +0 -52
- package/fesm5/taiga-ui-cdk-components-dropdown-host.js.map +0 -1
- package/fesm5/taiga-ui-cdk-components-portal-host.js +0 -28
- package/fesm5/taiga-ui-cdk-components-portal-host.js.map +0 -1
- package/fesm5/taiga-ui-cdk-components.js +0 -9
- package/fesm5/taiga-ui-cdk-components.js.map +0 -1
- package/fesm5/taiga-ui-cdk-constants.js +0 -162
- package/fesm5/taiga-ui-cdk-constants.js.map +0 -1
- package/fesm5/taiga-ui-cdk-date-time.js +0 -1051
- package/fesm5/taiga-ui-cdk-date-time.js.map +0 -1
- package/fesm5/taiga-ui-cdk-decorators.js +0 -161
- package/fesm5/taiga-ui-cdk-decorators.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-active-zone.js +0 -110
- package/fesm5/taiga-ui-cdk-directives-active-zone.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-auto-focus.js +0 -273
- package/fesm5/taiga-ui-cdk-directives-auto-focus.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-autofilled.js +0 -73
- package/fesm5/taiga-ui-cdk-directives-autofilled.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-checked.js +0 -67
- package/fesm5/taiga-ui-cdk-directives-checked.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-copy-processor.js +0 -57
- package/fesm5/taiga-ui-cdk-directives-copy-processor.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-drag.js +0 -70
- package/fesm5/taiga-ui-cdk-directives-drag.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-droppable.js +0 -61
- package/fesm5/taiga-ui-cdk-directives-droppable.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-element.js +0 -40
- package/fesm5/taiga-ui-cdk-directives-element.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-focus-trap.js +0 -96
- package/fesm5/taiga-ui-cdk-directives-focus-trap.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-focus-visible.js +0 -47
- package/fesm5/taiga-ui-cdk-directives-focus-visible.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-focusable.js +0 -52
- package/fesm5/taiga-ui-cdk-directives-focusable.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-focused.js +0 -52
- package/fesm5/taiga-ui-cdk-directives-focused.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-for-async.js +0 -74
- package/fesm5/taiga-ui-cdk-directives-for-async.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-for.js +0 -57
- package/fesm5/taiga-ui-cdk-directives-for.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-high-dpi.js +0 -49
- package/fesm5/taiga-ui-cdk-directives-high-dpi.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-hovered.js +0 -62
- package/fesm5/taiga-ui-cdk-directives-hovered.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-input-mode.js +0 -62
- package/fesm5/taiga-ui-cdk-directives-input-mode.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-item.js +0 -36
- package/fesm5/taiga-ui-cdk-directives-item.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-let.js +0 -79
- package/fesm5/taiga-ui-cdk-directives-let.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-media.js +0 -148
- package/fesm5/taiga-ui-cdk-directives-media.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-obscured.js +0 -71
- package/fesm5/taiga-ui-cdk-directives-obscured.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-overscroll.js +0 -130
- package/fesm5/taiga-ui-cdk-directives-overscroll.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-pan.js +0 -45
- package/fesm5/taiga-ui-cdk-directives-pan.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-portal.js +0 -59
- package/fesm5/taiga-ui-cdk-directives-portal.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-pressed.js +0 -48
- package/fesm5/taiga-ui-cdk-directives-pressed.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-prevent-default.js +0 -56
- package/fesm5/taiga-ui-cdk-directives-prevent-default.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-repeat-times.js +0 -84
- package/fesm5/taiga-ui-cdk-directives-repeat-times.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-resize.js +0 -45
- package/fesm5/taiga-ui-cdk-directives-resize.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-swipe.js +0 -45
- package/fesm5/taiga-ui-cdk-directives-swipe.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-validator.js +0 -63
- package/fesm5/taiga-ui-cdk-directives-validator.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives-zoom.js +0 -48
- package/fesm5/taiga-ui-cdk-directives-zoom.js.map +0 -1
- package/fesm5/taiga-ui-cdk-directives.js +0 -35
- package/fesm5/taiga-ui-cdk-directives.js.map +0 -1
- package/fesm5/taiga-ui-cdk-enums.js +0 -141
- package/fesm5/taiga-ui-cdk-enums.js.map +0 -1
- package/fesm5/taiga-ui-cdk-exceptions.js +0 -148
- package/fesm5/taiga-ui-cdk-exceptions.js.map +0 -1
- package/fesm5/taiga-ui-cdk-interfaces.js +0 -4
- package/fesm5/taiga-ui-cdk-interfaces.js.map +0 -1
- package/fesm5/taiga-ui-cdk-observables.js +0 -204
- package/fesm5/taiga-ui-cdk-observables.js.map +0 -1
- package/fesm5/taiga-ui-cdk-pipes-filter.js +0 -44
- package/fesm5/taiga-ui-cdk-pipes-filter.js.map +0 -1
- package/fesm5/taiga-ui-cdk-pipes-keys.js +0 -33
- package/fesm5/taiga-ui-cdk-pipes-keys.js.map +0 -1
- package/fesm5/taiga-ui-cdk-pipes-mapper.js +0 -44
- package/fesm5/taiga-ui-cdk-pipes-mapper.js.map +0 -1
- package/fesm5/taiga-ui-cdk-pipes.js +0 -8
- package/fesm5/taiga-ui-cdk-pipes.js.map +0 -1
- package/fesm5/taiga-ui-cdk-services.js +0 -507
- package/fesm5/taiga-ui-cdk-services.js.map +0 -1
- package/fesm5/taiga-ui-cdk-tokens.js +0 -181
- package/fesm5/taiga-ui-cdk-tokens.js.map +0 -1
- package/fesm5/taiga-ui-cdk-types.js +0 -4
- package/fesm5/taiga-ui-cdk-types.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-browser.js +0 -55
- package/fesm5/taiga-ui-cdk-utils-browser.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-dom.js +0 -297
- package/fesm5/taiga-ui-cdk-utils-dom.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-focus.js +0 -228
- package/fesm5/taiga-ui-cdk-utils-focus.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-format.js +0 -37
- package/fesm5/taiga-ui-cdk-utils-format.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-math.js +0 -166
- package/fesm5/taiga-ui-cdk-utils-math.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-miscellaneous.js +0 -174
- package/fesm5/taiga-ui-cdk-utils-miscellaneous.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-os.js +0 -44
- package/fesm5/taiga-ui-cdk-utils-os.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils-svg.js +0 -39
- package/fesm5/taiga-ui-cdk-utils-svg.js.map +0 -1
- package/fesm5/taiga-ui-cdk-utils.js +0 -13
- package/fesm5/taiga-ui-cdk-utils.js.map +0 -1
- package/fesm5/taiga-ui-cdk.js +0 -20
- package/fesm5/taiga-ui-cdk.js.map +0 -1
- package/interfaces/taiga-ui-cdk-interfaces.metadata.json +0 -1
- package/observables/taiga-ui-cdk-observables.metadata.json +0 -1
- package/pipes/filter/taiga-ui-cdk-pipes-filter.metadata.json +0 -1
- package/pipes/keys/taiga-ui-cdk-pipes-keys.metadata.json +0 -1
- package/pipes/mapper/taiga-ui-cdk-pipes-mapper.metadata.json +0 -1
- package/pipes/taiga-ui-cdk-pipes.metadata.json +0 -1
- package/services/hovered.service.d.ts +0 -9
- package/services/taiga-ui-cdk-services.metadata.json +0 -1
- package/taiga-ui-cdk.metadata.json +0 -1
- package/tokens/sanitizer.d.ts +0 -2
- package/tokens/taiga-ui-cdk-tokens.metadata.json +0 -1
- package/types/taiga-ui-cdk-types.metadata.json +0 -1
- package/utils/browser/is-ie.d.ts +0 -5
- package/utils/browser/taiga-ui-cdk-utils-browser.metadata.json +0 -1
- package/utils/dom/custom-event.d.ts +0 -2
- package/utils/dom/get-closest-element.d.ts +0 -5
- package/utils/dom/is-element.d.ts +0 -1
- package/utils/dom/is-form-field.d.ts +0 -1
- package/utils/dom/taiga-ui-cdk-utils-dom.metadata.json +0 -1
- package/utils/focus/get-closest-keyboard-focusable.d.ts +0 -16
- package/utils/focus/set-native-focused.d.ts +0 -10
- package/utils/focus/taiga-ui-cdk-utils-focus.metadata.json +0 -1
- package/utils/format/pad-start.d.ts +0 -9
- package/utils/format/taiga-ui-cdk-utils-format.metadata.json +0 -1
- package/utils/math/taiga-ui-cdk-utils-math.metadata.json +0 -1
- package/utils/miscellaneous/fallback-value.d.ts +0 -7
- package/utils/miscellaneous/identity.d.ts +0 -4
- package/utils/miscellaneous/is-element-editable.d.ts +0 -5
- package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.metadata.json +0 -1
- package/utils/os/taiga-ui-cdk-utils-os.metadata.json +0 -1
- package/utils/svg/taiga-ui-cdk-utils-svg.metadata.json +0 -1
- package/utils/taiga-ui-cdk-utils.metadata.json +0 -1
|
@@ -1,256 +1,356 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@taiga-ui/cdk/classes'), require('@taiga-ui/cdk/constants'), require('@taiga-ui/cdk/decorators'), require('rxjs'), require('rxjs/operators'), require('@tinkoff/ng-polymorpheus'), require('@taiga-ui/cdk/services'), require('@taiga-ui/cdk/exceptions'), require('@angular/common')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@taiga-ui/cdk/abstract', ['exports', '@angular/core', '@angular/forms', '@taiga-ui/cdk/classes', '@taiga-ui/cdk/constants', '@taiga-ui/cdk/decorators', 'rxjs', 'rxjs/operators', '@tinkoff/ng-polymorpheus', '@taiga-ui/cdk/services', '@taiga-ui/cdk/exceptions', '@angular/common'], factory) :
|
|
4
|
-
(global = global || self, factory((global[
|
|
5
|
-
}(this, (function (exports,
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].cdk = global["taiga-ui"].cdk || {}, global["taiga-ui"].cdk.abstract = {}), global.ng.core, global.ng.forms, global["taiga-ui"].cdk.classes, global["taiga-ui"].cdk.constants, global["taiga-ui"].cdk.decorators, global.rxjs, global.rxjs.operators, global.ngPolymorpheus, global["taiga-ui"].cdk.services, global["taiga-ui"].cdk.exceptions, global.ng.common));
|
|
5
|
+
})(this, (function (exports, i0, i1, classes, constants, decorators, rxjs, operators, ngPolymorpheus, i1$1, exceptions, common) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
if (
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
var
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
function
|
|
202
|
-
var
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
if (
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
return
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
function
|
|
252
|
-
|
|
253
|
-
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
27
|
+
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
28
|
+
|
|
29
|
+
/******************************************************************************
|
|
30
|
+
Copyright (c) Microsoft Corporation.
|
|
31
|
+
|
|
32
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
33
|
+
purpose with or without fee is hereby granted.
|
|
34
|
+
|
|
35
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
36
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
37
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
38
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
39
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
40
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
41
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
42
|
+
***************************************************************************** */
|
|
43
|
+
/* global Reflect, Promise */
|
|
44
|
+
var extendStatics = function (d, b) {
|
|
45
|
+
extendStatics = Object.setPrototypeOf ||
|
|
46
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
47
|
+
function (d, b) { for (var p in b)
|
|
48
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
49
|
+
d[p] = b[p]; };
|
|
50
|
+
return extendStatics(d, b);
|
|
51
|
+
};
|
|
52
|
+
function __extends(d, b) {
|
|
53
|
+
if (typeof b !== "function" && b !== null)
|
|
54
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
55
|
+
extendStatics(d, b);
|
|
56
|
+
function __() { this.constructor = d; }
|
|
57
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
58
|
+
}
|
|
59
|
+
var __assign = function () {
|
|
60
|
+
__assign = Object.assign || function __assign(t) {
|
|
61
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
62
|
+
s = arguments[i];
|
|
63
|
+
for (var p in s)
|
|
64
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
65
|
+
t[p] = s[p];
|
|
66
|
+
}
|
|
67
|
+
return t;
|
|
68
|
+
};
|
|
69
|
+
return __assign.apply(this, arguments);
|
|
70
|
+
};
|
|
71
|
+
function __rest(s, e) {
|
|
72
|
+
var t = {};
|
|
73
|
+
for (var p in s)
|
|
74
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
75
|
+
t[p] = s[p];
|
|
76
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
77
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
78
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
79
|
+
t[p[i]] = s[p[i]];
|
|
80
|
+
}
|
|
81
|
+
return t;
|
|
82
|
+
}
|
|
83
|
+
function __decorate(decorators, target, key, desc) {
|
|
84
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
85
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
86
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
87
|
+
else
|
|
88
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
89
|
+
if (d = decorators[i])
|
|
90
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
91
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
92
|
+
}
|
|
93
|
+
function __param(paramIndex, decorator) {
|
|
94
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
95
|
+
}
|
|
96
|
+
function __metadata(metadataKey, metadataValue) {
|
|
97
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
98
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
99
|
+
}
|
|
100
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
101
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
102
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
103
|
+
function fulfilled(value) { try {
|
|
104
|
+
step(generator.next(value));
|
|
105
|
+
}
|
|
106
|
+
catch (e) {
|
|
107
|
+
reject(e);
|
|
108
|
+
} }
|
|
109
|
+
function rejected(value) { try {
|
|
110
|
+
step(generator["throw"](value));
|
|
111
|
+
}
|
|
112
|
+
catch (e) {
|
|
113
|
+
reject(e);
|
|
114
|
+
} }
|
|
115
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
116
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
function __generator(thisArg, body) {
|
|
120
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
121
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
122
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
123
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
124
|
+
function step(op) {
|
|
125
|
+
if (f)
|
|
126
|
+
throw new TypeError("Generator is already executing.");
|
|
127
|
+
while (_)
|
|
128
|
+
try {
|
|
129
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
130
|
+
return t;
|
|
131
|
+
if (y = 0, t)
|
|
132
|
+
op = [op[0] & 2, t.value];
|
|
133
|
+
switch (op[0]) {
|
|
134
|
+
case 0:
|
|
135
|
+
case 1:
|
|
136
|
+
t = op;
|
|
137
|
+
break;
|
|
138
|
+
case 4:
|
|
139
|
+
_.label++;
|
|
140
|
+
return { value: op[1], done: false };
|
|
141
|
+
case 5:
|
|
142
|
+
_.label++;
|
|
143
|
+
y = op[1];
|
|
144
|
+
op = [0];
|
|
145
|
+
continue;
|
|
146
|
+
case 7:
|
|
147
|
+
op = _.ops.pop();
|
|
148
|
+
_.trys.pop();
|
|
149
|
+
continue;
|
|
150
|
+
default:
|
|
151
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
152
|
+
_ = 0;
|
|
153
|
+
continue;
|
|
154
|
+
}
|
|
155
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
156
|
+
_.label = op[1];
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
160
|
+
_.label = t[1];
|
|
161
|
+
t = op;
|
|
162
|
+
break;
|
|
163
|
+
}
|
|
164
|
+
if (t && _.label < t[2]) {
|
|
165
|
+
_.label = t[2];
|
|
166
|
+
_.ops.push(op);
|
|
167
|
+
break;
|
|
168
|
+
}
|
|
169
|
+
if (t[2])
|
|
170
|
+
_.ops.pop();
|
|
171
|
+
_.trys.pop();
|
|
172
|
+
continue;
|
|
173
|
+
}
|
|
174
|
+
op = body.call(thisArg, _);
|
|
175
|
+
}
|
|
176
|
+
catch (e) {
|
|
177
|
+
op = [6, e];
|
|
178
|
+
y = 0;
|
|
179
|
+
}
|
|
180
|
+
finally {
|
|
181
|
+
f = t = 0;
|
|
182
|
+
}
|
|
183
|
+
if (op[0] & 5)
|
|
184
|
+
throw op[1];
|
|
185
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
189
|
+
if (k2 === undefined)
|
|
190
|
+
k2 = k;
|
|
191
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
192
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
193
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
194
|
+
}
|
|
195
|
+
Object.defineProperty(o, k2, desc);
|
|
196
|
+
}) : (function (o, m, k, k2) {
|
|
197
|
+
if (k2 === undefined)
|
|
198
|
+
k2 = k;
|
|
199
|
+
o[k2] = m[k];
|
|
200
|
+
});
|
|
201
|
+
function __exportStar(m, o) {
|
|
202
|
+
for (var p in m)
|
|
203
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
204
|
+
__createBinding(o, m, p);
|
|
205
|
+
}
|
|
206
|
+
function __values(o) {
|
|
207
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
208
|
+
if (m)
|
|
209
|
+
return m.call(o);
|
|
210
|
+
if (o && typeof o.length === "number")
|
|
211
|
+
return {
|
|
212
|
+
next: function () {
|
|
213
|
+
if (o && i >= o.length)
|
|
214
|
+
o = void 0;
|
|
215
|
+
return { value: o && o[i++], done: !o };
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
219
|
+
}
|
|
220
|
+
function __read(o, n) {
|
|
221
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
222
|
+
if (!m)
|
|
223
|
+
return o;
|
|
224
|
+
var i = m.call(o), r, ar = [], e;
|
|
225
|
+
try {
|
|
226
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
227
|
+
ar.push(r.value);
|
|
228
|
+
}
|
|
229
|
+
catch (error) {
|
|
230
|
+
e = { error: error };
|
|
231
|
+
}
|
|
232
|
+
finally {
|
|
233
|
+
try {
|
|
234
|
+
if (r && !r.done && (m = i["return"]))
|
|
235
|
+
m.call(i);
|
|
236
|
+
}
|
|
237
|
+
finally {
|
|
238
|
+
if (e)
|
|
239
|
+
throw e.error;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
return ar;
|
|
243
|
+
}
|
|
244
|
+
/** @deprecated */
|
|
245
|
+
function __spread() {
|
|
246
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
247
|
+
ar = ar.concat(__read(arguments[i]));
|
|
248
|
+
return ar;
|
|
249
|
+
}
|
|
250
|
+
/** @deprecated */
|
|
251
|
+
function __spreadArrays() {
|
|
252
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
253
|
+
s += arguments[i].length;
|
|
254
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
255
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
256
|
+
r[k] = a[j];
|
|
257
|
+
return r;
|
|
258
|
+
}
|
|
259
|
+
function __spreadArray(to, from, pack) {
|
|
260
|
+
if (pack || arguments.length === 2)
|
|
261
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
262
|
+
if (ar || !(i in from)) {
|
|
263
|
+
if (!ar)
|
|
264
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
265
|
+
ar[i] = from[i];
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
269
|
+
}
|
|
270
|
+
function __await(v) {
|
|
271
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
272
|
+
}
|
|
273
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
274
|
+
if (!Symbol.asyncIterator)
|
|
275
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
276
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
277
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
278
|
+
function verb(n) { if (g[n])
|
|
279
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
280
|
+
function resume(n, v) { try {
|
|
281
|
+
step(g[n](v));
|
|
282
|
+
}
|
|
283
|
+
catch (e) {
|
|
284
|
+
settle(q[0][3], e);
|
|
285
|
+
} }
|
|
286
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
287
|
+
function fulfill(value) { resume("next", value); }
|
|
288
|
+
function reject(value) { resume("throw", value); }
|
|
289
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
290
|
+
resume(q[0][0], q[0][1]); }
|
|
291
|
+
}
|
|
292
|
+
function __asyncDelegator(o) {
|
|
293
|
+
var i, p;
|
|
294
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
295
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
296
|
+
}
|
|
297
|
+
function __asyncValues(o) {
|
|
298
|
+
if (!Symbol.asyncIterator)
|
|
299
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
300
|
+
var m = o[Symbol.asyncIterator], i;
|
|
301
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
302
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
303
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
304
|
+
}
|
|
305
|
+
function __makeTemplateObject(cooked, raw) {
|
|
306
|
+
if (Object.defineProperty) {
|
|
307
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
308
|
+
}
|
|
309
|
+
else {
|
|
310
|
+
cooked.raw = raw;
|
|
311
|
+
}
|
|
312
|
+
return cooked;
|
|
313
|
+
}
|
|
314
|
+
;
|
|
315
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
316
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
317
|
+
}) : function (o, v) {
|
|
318
|
+
o["default"] = v;
|
|
319
|
+
};
|
|
320
|
+
function __importStar(mod) {
|
|
321
|
+
if (mod && mod.__esModule)
|
|
322
|
+
return mod;
|
|
323
|
+
var result = {};
|
|
324
|
+
if (mod != null)
|
|
325
|
+
for (var k in mod)
|
|
326
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
327
|
+
__createBinding(result, mod, k);
|
|
328
|
+
__setModuleDefault(result, mod);
|
|
329
|
+
return result;
|
|
330
|
+
}
|
|
331
|
+
function __importDefault(mod) {
|
|
332
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
333
|
+
}
|
|
334
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
335
|
+
if (kind === "a" && !f)
|
|
336
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
337
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
338
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
339
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
340
|
+
}
|
|
341
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
342
|
+
if (kind === "m")
|
|
343
|
+
throw new TypeError("Private method is not writable");
|
|
344
|
+
if (kind === "a" && !f)
|
|
345
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
346
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
347
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
348
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
349
|
+
}
|
|
350
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
351
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
352
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
353
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
254
354
|
}
|
|
255
355
|
|
|
256
356
|
var TUI = "tui_interactive_";
|
|
@@ -259,9 +359,9 @@
|
|
|
259
359
|
*/
|
|
260
360
|
var AbstractTuiInteractive = /** @class */ (function () {
|
|
261
361
|
function AbstractTuiInteractive() {
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
264
|
-
this.
|
|
362
|
+
this.pseudoHover = null;
|
|
363
|
+
this.pseudoActive = null;
|
|
364
|
+
this.pseudoFocus = null;
|
|
265
365
|
/**
|
|
266
366
|
* Determines if component is focusable with keyboard.
|
|
267
367
|
*/
|
|
@@ -270,66 +370,39 @@
|
|
|
270
370
|
/**
|
|
271
371
|
* Emits 'true' on focus and 'false' on blur.
|
|
272
372
|
*/
|
|
273
|
-
this.focusedChange = new
|
|
274
|
-
|
|
275
|
-
this.pressedChange = new core.EventEmitter();
|
|
276
|
-
/** @deprecated use `tuiHoveredChange` directive */
|
|
277
|
-
this.hoveredChange = new core.EventEmitter();
|
|
278
|
-
this.focusVisibleChange = new core.EventEmitter();
|
|
279
|
-
/** @deprecated use `tuiHoveredChange` directive */
|
|
280
|
-
this.hovered = false;
|
|
281
|
-
/** @deprecated use `tuiPressedChange` directive */
|
|
282
|
-
this.pressed = false;
|
|
373
|
+
this.focusedChange = new i0.EventEmitter();
|
|
374
|
+
this.focusVisibleChange = new i0.EventEmitter();
|
|
283
375
|
this.focusVisible = false;
|
|
284
|
-
this.autoIdString = "" + TUI +
|
|
376
|
+
this.autoIdString = "" + TUI + AbstractTuiInteractive.autoId++ + Date.now();
|
|
285
377
|
}
|
|
286
|
-
AbstractTuiInteractive_1 = AbstractTuiInteractive;
|
|
287
378
|
Object.defineProperty(AbstractTuiInteractive.prototype, "computedDisabled", {
|
|
288
379
|
get: function () {
|
|
289
380
|
return this.disabled;
|
|
290
381
|
},
|
|
291
|
-
enumerable:
|
|
292
|
-
configurable: true
|
|
293
|
-
});
|
|
294
|
-
Object.defineProperty(AbstractTuiInteractive.prototype, "computedHovered", {
|
|
295
|
-
/** @deprecated */
|
|
296
|
-
get: function () {
|
|
297
|
-
var _a;
|
|
298
|
-
return !this.computedDisabled && ((_a = this.pseudoHovered) !== null && _a !== void 0 ? _a : this.hovered);
|
|
299
|
-
},
|
|
300
|
-
enumerable: true,
|
|
301
|
-
configurable: true
|
|
302
|
-
});
|
|
303
|
-
Object.defineProperty(AbstractTuiInteractive.prototype, "computedPressed", {
|
|
304
|
-
/** @deprecated */
|
|
305
|
-
get: function () {
|
|
306
|
-
var _a;
|
|
307
|
-
return !this.computedDisabled && ((_a = this.pseudoPressed) !== null && _a !== void 0 ? _a : this.pressed);
|
|
308
|
-
},
|
|
309
|
-
enumerable: true,
|
|
382
|
+
enumerable: false,
|
|
310
383
|
configurable: true
|
|
311
384
|
});
|
|
312
385
|
Object.defineProperty(AbstractTuiInteractive.prototype, "computedFocusable", {
|
|
313
386
|
get: function () {
|
|
314
387
|
return !this.computedDisabled && (this.focusable || this.focused);
|
|
315
388
|
},
|
|
316
|
-
enumerable:
|
|
389
|
+
enumerable: false,
|
|
317
390
|
configurable: true
|
|
318
391
|
});
|
|
319
392
|
Object.defineProperty(AbstractTuiInteractive.prototype, "computedFocused", {
|
|
320
393
|
get: function () {
|
|
321
394
|
var _a;
|
|
322
|
-
return !this.computedDisabled && ((_a = this.
|
|
395
|
+
return !this.computedDisabled && ((_a = this.pseudoFocus) !== null && _a !== void 0 ? _a : this.focused);
|
|
323
396
|
},
|
|
324
|
-
enumerable:
|
|
397
|
+
enumerable: false,
|
|
325
398
|
configurable: true
|
|
326
399
|
});
|
|
327
400
|
Object.defineProperty(AbstractTuiInteractive.prototype, "computedFocusVisible", {
|
|
328
401
|
get: function () {
|
|
329
402
|
var _a;
|
|
330
|
-
return !this.computedDisabled && ((_a = this.
|
|
403
|
+
return !this.computedDisabled && ((_a = this.pseudoFocus) !== null && _a !== void 0 ? _a : this.focusVisible);
|
|
331
404
|
},
|
|
332
|
-
enumerable:
|
|
405
|
+
enumerable: false,
|
|
333
406
|
configurable: true
|
|
334
407
|
});
|
|
335
408
|
Object.defineProperty(AbstractTuiInteractive.prototype, "id", {
|
|
@@ -337,25 +410,9 @@
|
|
|
337
410
|
get: function () {
|
|
338
411
|
return this.nativeId ? this.nativeId : this.autoIdString;
|
|
339
412
|
},
|
|
340
|
-
enumerable:
|
|
413
|
+
enumerable: false,
|
|
341
414
|
configurable: true
|
|
342
415
|
});
|
|
343
|
-
/** @deprecated */
|
|
344
|
-
AbstractTuiInteractive.prototype.updateHovered = function (hovered) {
|
|
345
|
-
if (this.hovered === hovered) {
|
|
346
|
-
return;
|
|
347
|
-
}
|
|
348
|
-
this.hovered = hovered;
|
|
349
|
-
this.hoveredChange.emit(hovered);
|
|
350
|
-
};
|
|
351
|
-
/** @deprecated */
|
|
352
|
-
AbstractTuiInteractive.prototype.updatePressed = function (pressed) {
|
|
353
|
-
if (this.pressed === pressed) {
|
|
354
|
-
return;
|
|
355
|
-
}
|
|
356
|
-
this.pressed = pressed;
|
|
357
|
-
this.pressedChange.emit(pressed);
|
|
358
|
-
};
|
|
359
416
|
AbstractTuiInteractive.prototype.updateFocused = function (focused) {
|
|
360
417
|
this.focusedChange.emit(focused);
|
|
361
418
|
};
|
|
@@ -366,60 +423,52 @@
|
|
|
366
423
|
this.focusVisible = focusVisible;
|
|
367
424
|
this.focusVisibleChange.emit(focusVisible);
|
|
368
425
|
};
|
|
369
|
-
var AbstractTuiInteractive_1;
|
|
370
|
-
AbstractTuiInteractive.autoId = 0;
|
|
371
|
-
__decorate([
|
|
372
|
-
core.Input(),
|
|
373
|
-
decorators.tuiDefaultProp()
|
|
374
|
-
], AbstractTuiInteractive.prototype, "pseudoHovered", void 0);
|
|
375
|
-
__decorate([
|
|
376
|
-
core.Input(),
|
|
377
|
-
decorators.tuiDefaultProp()
|
|
378
|
-
], AbstractTuiInteractive.prototype, "pseudoPressed", void 0);
|
|
379
|
-
__decorate([
|
|
380
|
-
core.Input(),
|
|
381
|
-
decorators.tuiDefaultProp()
|
|
382
|
-
], AbstractTuiInteractive.prototype, "pseudoFocused", void 0);
|
|
383
|
-
__decorate([
|
|
384
|
-
core.Input(),
|
|
385
|
-
decorators.tuiDefaultProp()
|
|
386
|
-
], AbstractTuiInteractive.prototype, "focusable", void 0);
|
|
387
|
-
__decorate([
|
|
388
|
-
core.Input(),
|
|
389
|
-
decorators.tuiDefaultProp()
|
|
390
|
-
], AbstractTuiInteractive.prototype, "nativeId", void 0);
|
|
391
|
-
__decorate([
|
|
392
|
-
core.Output()
|
|
393
|
-
], AbstractTuiInteractive.prototype, "focusedChange", void 0);
|
|
394
|
-
__decorate([
|
|
395
|
-
core.Output()
|
|
396
|
-
], AbstractTuiInteractive.prototype, "pressedChange", void 0);
|
|
397
|
-
__decorate([
|
|
398
|
-
core.Output()
|
|
399
|
-
], AbstractTuiInteractive.prototype, "hoveredChange", void 0);
|
|
400
|
-
__decorate([
|
|
401
|
-
core.Output()
|
|
402
|
-
], AbstractTuiInteractive.prototype, "focusVisibleChange", void 0);
|
|
403
|
-
__decorate([
|
|
404
|
-
core.HostBinding("class._disabled")
|
|
405
|
-
], AbstractTuiInteractive.prototype, "computedDisabled", null);
|
|
406
|
-
__decorate([
|
|
407
|
-
core.HostBinding("class._hovered")
|
|
408
|
-
], AbstractTuiInteractive.prototype, "computedHovered", null);
|
|
409
|
-
__decorate([
|
|
410
|
-
core.HostBinding("class._pressed")
|
|
411
|
-
], AbstractTuiInteractive.prototype, "computedPressed", null);
|
|
412
|
-
__decorate([
|
|
413
|
-
core.HostBinding("class._focused")
|
|
414
|
-
], AbstractTuiInteractive.prototype, "computedFocused", null);
|
|
415
|
-
__decorate([
|
|
416
|
-
core.HostBinding("class._focus-visible")
|
|
417
|
-
], AbstractTuiInteractive.prototype, "computedFocusVisible", null);
|
|
418
|
-
AbstractTuiInteractive = AbstractTuiInteractive_1 = __decorate([
|
|
419
|
-
core.Directive()
|
|
420
|
-
], AbstractTuiInteractive);
|
|
421
426
|
return AbstractTuiInteractive;
|
|
422
427
|
}());
|
|
428
|
+
AbstractTuiInteractive.autoId = 0;
|
|
429
|
+
AbstractTuiInteractive.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiInteractive, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
430
|
+
AbstractTuiInteractive.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: AbstractTuiInteractive, inputs: { pseudoHover: "pseudoHover", pseudoActive: "pseudoActive", pseudoFocus: "pseudoFocus", focusable: "focusable", nativeId: "nativeId" }, outputs: { focusedChange: "focusedChange", focusVisibleChange: "focusVisibleChange" }, host: { properties: { "class._disabled": "this.computedDisabled", "class._focused": "this.computedFocused", "class._focus-visible": "this.computedFocusVisible" } }, ngImport: i0__namespace });
|
|
431
|
+
__decorate([
|
|
432
|
+
decorators.tuiDefaultProp()
|
|
433
|
+
], AbstractTuiInteractive.prototype, "pseudoHover", void 0);
|
|
434
|
+
__decorate([
|
|
435
|
+
decorators.tuiDefaultProp()
|
|
436
|
+
], AbstractTuiInteractive.prototype, "pseudoActive", void 0);
|
|
437
|
+
__decorate([
|
|
438
|
+
decorators.tuiDefaultProp()
|
|
439
|
+
], AbstractTuiInteractive.prototype, "pseudoFocus", void 0);
|
|
440
|
+
__decorate([
|
|
441
|
+
decorators.tuiDefaultProp()
|
|
442
|
+
], AbstractTuiInteractive.prototype, "focusable", void 0);
|
|
443
|
+
__decorate([
|
|
444
|
+
decorators.tuiDefaultProp()
|
|
445
|
+
], AbstractTuiInteractive.prototype, "nativeId", void 0);
|
|
446
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiInteractive, decorators: [{
|
|
447
|
+
type: i0.Directive
|
|
448
|
+
}], ctorParameters: function () { return []; }, propDecorators: { pseudoHover: [{
|
|
449
|
+
type: i0.Input
|
|
450
|
+
}], pseudoActive: [{
|
|
451
|
+
type: i0.Input
|
|
452
|
+
}], pseudoFocus: [{
|
|
453
|
+
type: i0.Input
|
|
454
|
+
}], focusable: [{
|
|
455
|
+
type: i0.Input
|
|
456
|
+
}], nativeId: [{
|
|
457
|
+
type: i0.Input
|
|
458
|
+
}], focusedChange: [{
|
|
459
|
+
type: i0.Output
|
|
460
|
+
}], focusVisibleChange: [{
|
|
461
|
+
type: i0.Output
|
|
462
|
+
}], computedDisabled: [{
|
|
463
|
+
type: i0.HostBinding,
|
|
464
|
+
args: ["class._disabled"]
|
|
465
|
+
}], computedFocused: [{
|
|
466
|
+
type: i0.HostBinding,
|
|
467
|
+
args: ["class._focused"]
|
|
468
|
+
}], computedFocusVisible: [{
|
|
469
|
+
type: i0.HostBinding,
|
|
470
|
+
args: ["class._focus-visible"]
|
|
471
|
+
}] } });
|
|
423
472
|
|
|
424
473
|
/**
|
|
425
474
|
* Basic ControlValueAccessor class to build form components upon
|
|
@@ -452,7 +501,7 @@
|
|
|
452
501
|
? this.pseudoInvalid
|
|
453
502
|
: this.touched && this.invalid));
|
|
454
503
|
},
|
|
455
|
-
enumerable:
|
|
504
|
+
enumerable: false,
|
|
456
505
|
configurable: true
|
|
457
506
|
});
|
|
458
507
|
Object.defineProperty(AbstractTuiControl.prototype, "value", {
|
|
@@ -460,7 +509,7 @@
|
|
|
460
509
|
var _a;
|
|
461
510
|
return (_a = this.previousInternalValue) !== null && _a !== void 0 ? _a : this.fallbackValue;
|
|
462
511
|
},
|
|
463
|
-
enumerable:
|
|
512
|
+
enumerable: false,
|
|
464
513
|
configurable: true
|
|
465
514
|
});
|
|
466
515
|
Object.defineProperty(AbstractTuiControl.prototype, "safeCurrentValue", {
|
|
@@ -468,64 +517,64 @@
|
|
|
468
517
|
var _a;
|
|
469
518
|
return (_a = this.rawValue) !== null && _a !== void 0 ? _a : this.fallbackValue;
|
|
470
519
|
},
|
|
471
|
-
enumerable:
|
|
520
|
+
enumerable: false,
|
|
472
521
|
configurable: true
|
|
473
522
|
});
|
|
474
523
|
Object.defineProperty(AbstractTuiControl.prototype, "invalid", {
|
|
475
524
|
get: function () {
|
|
476
|
-
return this.safeNgControlData(function (
|
|
477
|
-
var invalid =
|
|
525
|
+
return this.safeNgControlData(function (_d) {
|
|
526
|
+
var invalid = _d.invalid;
|
|
478
527
|
return invalid;
|
|
479
528
|
}, false);
|
|
480
529
|
},
|
|
481
|
-
enumerable:
|
|
530
|
+
enumerable: false,
|
|
482
531
|
configurable: true
|
|
483
532
|
});
|
|
484
533
|
Object.defineProperty(AbstractTuiControl.prototype, "valid", {
|
|
485
534
|
get: function () {
|
|
486
|
-
return this.safeNgControlData(function (
|
|
487
|
-
var valid =
|
|
535
|
+
return this.safeNgControlData(function (_d) {
|
|
536
|
+
var valid = _d.valid;
|
|
488
537
|
return valid;
|
|
489
538
|
}, false);
|
|
490
539
|
},
|
|
491
|
-
enumerable:
|
|
540
|
+
enumerable: false,
|
|
492
541
|
configurable: true
|
|
493
542
|
});
|
|
494
543
|
Object.defineProperty(AbstractTuiControl.prototype, "touched", {
|
|
495
544
|
get: function () {
|
|
496
|
-
return this.safeNgControlData(function (
|
|
497
|
-
var touched =
|
|
545
|
+
return this.safeNgControlData(function (_d) {
|
|
546
|
+
var touched = _d.touched;
|
|
498
547
|
return touched;
|
|
499
548
|
}, false);
|
|
500
549
|
},
|
|
501
|
-
enumerable:
|
|
550
|
+
enumerable: false,
|
|
502
551
|
configurable: true
|
|
503
552
|
});
|
|
504
553
|
Object.defineProperty(AbstractTuiControl.prototype, "disabled", {
|
|
505
554
|
get: function () {
|
|
506
|
-
return this.safeNgControlData(function (
|
|
507
|
-
var disabled =
|
|
555
|
+
return this.safeNgControlData(function (_d) {
|
|
556
|
+
var disabled = _d.disabled;
|
|
508
557
|
return disabled;
|
|
509
558
|
}, false);
|
|
510
559
|
},
|
|
511
|
-
enumerable:
|
|
560
|
+
enumerable: false,
|
|
512
561
|
configurable: true
|
|
513
562
|
});
|
|
514
563
|
Object.defineProperty(AbstractTuiControl.prototype, "interactive", {
|
|
515
564
|
get: function () {
|
|
516
565
|
return !this.readOnly && !this.computedDisabled;
|
|
517
566
|
},
|
|
518
|
-
enumerable:
|
|
567
|
+
enumerable: false,
|
|
519
568
|
configurable: true
|
|
520
569
|
});
|
|
521
570
|
Object.defineProperty(AbstractTuiControl.prototype, "control", {
|
|
522
571
|
get: function () {
|
|
523
|
-
return this.safeNgControlData(function (
|
|
524
|
-
var control =
|
|
572
|
+
return this.safeNgControlData(function (_d) {
|
|
573
|
+
var control = _d.control;
|
|
525
574
|
return control;
|
|
526
575
|
}, null);
|
|
527
576
|
},
|
|
528
|
-
enumerable:
|
|
577
|
+
enumerable: false,
|
|
529
578
|
configurable: true
|
|
530
579
|
});
|
|
531
580
|
Object.defineProperty(AbstractTuiControl.prototype, "computedName", {
|
|
@@ -533,7 +582,7 @@
|
|
|
533
582
|
var _a, _b;
|
|
534
583
|
return (_b = (_a = this.controlName) === null || _a === void 0 ? void 0 : _a.toString()) !== null && _b !== void 0 ? _b : null;
|
|
535
584
|
},
|
|
536
|
-
enumerable:
|
|
585
|
+
enumerable: false,
|
|
537
586
|
configurable: true
|
|
538
587
|
});
|
|
539
588
|
Object.defineProperty(AbstractTuiControl.prototype, "controlName", {
|
|
@@ -541,7 +590,7 @@
|
|
|
541
590
|
var _a, _b, _c;
|
|
542
591
|
return (_c = (_b = (_a = this.ngControl) === null || _a === void 0 ? void 0 : _a.name) === null || _b === void 0 ? void 0 : _b.toString()) !== null && _c !== void 0 ? _c : null;
|
|
543
592
|
},
|
|
544
|
-
enumerable:
|
|
593
|
+
enumerable: false,
|
|
545
594
|
configurable: true
|
|
546
595
|
});
|
|
547
596
|
Object.defineProperty(AbstractTuiControl.prototype, "rawValue", {
|
|
@@ -550,12 +599,12 @@
|
|
|
550
599
|
if (ngControl === null) {
|
|
551
600
|
return undefined;
|
|
552
601
|
}
|
|
553
|
-
var controlValue = ngControl instanceof
|
|
602
|
+
var controlValue = ngControl instanceof i1.NgModel && this.previousInternalValue === undefined
|
|
554
603
|
? ngControl.viewModel
|
|
555
604
|
: ngControl.value;
|
|
556
605
|
return this.fromControlValue(controlValue);
|
|
557
606
|
},
|
|
558
|
-
enumerable:
|
|
607
|
+
enumerable: false,
|
|
559
608
|
configurable: true
|
|
560
609
|
});
|
|
561
610
|
AbstractTuiControl.prototype.ngOnInit = function () {
|
|
@@ -588,7 +637,7 @@
|
|
|
588
637
|
this.checkControlUpdate();
|
|
589
638
|
};
|
|
590
639
|
AbstractTuiControl.prototype.writeValue = function (value) {
|
|
591
|
-
var controlValue = this.ngControl instanceof
|
|
640
|
+
var controlValue = this.ngControl instanceof i1.NgModel && this.previousInternalValue === undefined
|
|
592
641
|
? this.ngControl.model
|
|
593
642
|
: value;
|
|
594
643
|
this.refreshLocalValue(this.fromControlValue(controlValue));
|
|
@@ -635,49 +684,50 @@
|
|
|
635
684
|
? this.valueTransformer.toControlValue(componentValue)
|
|
636
685
|
: componentValue;
|
|
637
686
|
};
|
|
638
|
-
AbstractTuiControl.ctorParameters = function () { return [
|
|
639
|
-
{ type: forms.NgControl },
|
|
640
|
-
{ type: core.ChangeDetectorRef },
|
|
641
|
-
{ type: undefined }
|
|
642
|
-
]; };
|
|
643
|
-
__decorate([
|
|
644
|
-
core.Input(),
|
|
645
|
-
core.HostBinding("class._readonly"),
|
|
646
|
-
decorators.tuiDefaultProp()
|
|
647
|
-
], AbstractTuiControl.prototype, "readOnly", void 0);
|
|
648
|
-
__decorate([
|
|
649
|
-
core.Input(),
|
|
650
|
-
decorators.tuiDefaultProp()
|
|
651
|
-
], AbstractTuiControl.prototype, "pseudoInvalid", void 0);
|
|
652
|
-
__decorate([
|
|
653
|
-
core.HostBinding("class._invalid")
|
|
654
|
-
], AbstractTuiControl.prototype, "computedInvalid", null);
|
|
655
|
-
AbstractTuiControl = __decorate([
|
|
656
|
-
core.Directive()
|
|
657
|
-
], AbstractTuiControl);
|
|
658
687
|
return AbstractTuiControl;
|
|
659
688
|
}(AbstractTuiInteractive));
|
|
689
|
+
AbstractTuiControl.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiControl, deps: "invalid", target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
690
|
+
AbstractTuiControl.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: AbstractTuiControl, inputs: { readOnly: "readOnly", pseudoInvalid: "pseudoInvalid" }, host: { properties: { "class._readonly": "this.readOnly", "class._invalid": "this.computedInvalid" } }, usesInheritance: true, ngImport: i0__namespace });
|
|
691
|
+
__decorate([
|
|
692
|
+
decorators.tuiDefaultProp()
|
|
693
|
+
], AbstractTuiControl.prototype, "readOnly", void 0);
|
|
694
|
+
__decorate([
|
|
695
|
+
decorators.tuiDefaultProp()
|
|
696
|
+
], AbstractTuiControl.prototype, "pseudoInvalid", void 0);
|
|
697
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiControl, decorators: [{
|
|
698
|
+
type: i0.Directive
|
|
699
|
+
}], ctorParameters: function () { return [{ type: i1__namespace.NgControl }, { type: i0__namespace.ChangeDetectorRef }, { type: undefined }]; }, propDecorators: { readOnly: [{
|
|
700
|
+
type: i0.Input
|
|
701
|
+
}, {
|
|
702
|
+
type: i0.HostBinding,
|
|
703
|
+
args: ["class._readonly"]
|
|
704
|
+
}], pseudoInvalid: [{
|
|
705
|
+
type: i0.Input
|
|
706
|
+
}], computedInvalid: [{
|
|
707
|
+
type: i0.HostBinding,
|
|
708
|
+
args: ["class._invalid"]
|
|
709
|
+
}] } });
|
|
710
|
+
function tuiAsControl(useExisting) {
|
|
711
|
+
return {
|
|
712
|
+
provide: AbstractTuiControl,
|
|
713
|
+
useExisting: useExisting,
|
|
714
|
+
};
|
|
715
|
+
}
|
|
660
716
|
|
|
661
|
-
/**
|
|
662
|
-
|
|
663
|
-
* TODO: 3.0 replace with {@link AbstractTuiController}
|
|
664
|
-
*/
|
|
665
|
-
var TuiController = /** @class */ (function () {
|
|
666
|
-
function TuiController() {
|
|
717
|
+
var AbstractTuiController = /** @class */ (function () {
|
|
718
|
+
function AbstractTuiController() {
|
|
667
719
|
this.change$ = new rxjs.Subject();
|
|
668
720
|
}
|
|
669
|
-
|
|
721
|
+
AbstractTuiController.prototype.ngOnChanges = function () {
|
|
670
722
|
this.change$.next();
|
|
671
723
|
};
|
|
672
|
-
return TuiController;
|
|
673
|
-
}());
|
|
674
|
-
var AbstractTuiController = /** @class */ (function (_super) {
|
|
675
|
-
__extends(AbstractTuiController, _super);
|
|
676
|
-
function AbstractTuiController() {
|
|
677
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
678
|
-
}
|
|
679
724
|
return AbstractTuiController;
|
|
680
|
-
}(
|
|
725
|
+
}());
|
|
726
|
+
AbstractTuiController.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiController, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
727
|
+
AbstractTuiController.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: AbstractTuiController, usesOnChanges: true, ngImport: i0__namespace });
|
|
728
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiController, decorators: [{
|
|
729
|
+
type: i0.Directive
|
|
730
|
+
}] });
|
|
681
731
|
|
|
682
732
|
var AbstractTuiDialogService = /** @class */ (function (_super) {
|
|
683
733
|
__extends(AbstractTuiDialogService, _super);
|
|
@@ -695,23 +745,25 @@
|
|
|
695
745
|
observer.next(result);
|
|
696
746
|
observer.complete();
|
|
697
747
|
};
|
|
698
|
-
var dialog =
|
|
699
|
-
|
|
700
|
-
_this.dialogs$.next(__spread(_this.dialogs$.value, [dialog]));
|
|
748
|
+
var dialog = Object.assign(Object.assign(Object.assign({}, _this.defaultOptions), options), { content: content, completeWith: completeWith, $implicit: observer, component: _this.component, createdAt: Date.now(), id: _this.idService.generate() });
|
|
749
|
+
_this.dialogs$.next(__spreadArray(__spreadArray([], __read(_this.dialogs$.value)), [dialog]));
|
|
701
750
|
return function () {
|
|
702
751
|
_this.dialogs$.next(_this.dialogs$.value.filter(function (item) { return item !== dialog; }));
|
|
703
752
|
};
|
|
704
753
|
});
|
|
705
754
|
};
|
|
706
|
-
AbstractTuiDialogService.ctorParameters = function () { return [
|
|
707
|
-
{ type: services.TuiIdService, decorators: [{ type: core.Inject, args: [services.TuiIdService,] }] }
|
|
708
|
-
]; };
|
|
709
|
-
AbstractTuiDialogService = __decorate([
|
|
710
|
-
core.Injectable(),
|
|
711
|
-
__param(0, core.Inject(services.TuiIdService))
|
|
712
|
-
], AbstractTuiDialogService);
|
|
713
755
|
return AbstractTuiDialogService;
|
|
714
756
|
}(rxjs.Observable));
|
|
757
|
+
AbstractTuiDialogService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiDialogService, deps: [{ token: i1$1.TuiIdService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
758
|
+
AbstractTuiDialogService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiDialogService });
|
|
759
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiDialogService, decorators: [{
|
|
760
|
+
type: i0.Injectable
|
|
761
|
+
}], ctorParameters: function () {
|
|
762
|
+
return [{ type: i1__namespace$1.TuiIdService, decorators: [{
|
|
763
|
+
type: i0.Inject,
|
|
764
|
+
args: [i1$1.TuiIdService]
|
|
765
|
+
}] }];
|
|
766
|
+
} });
|
|
715
767
|
|
|
716
768
|
var AbstractTuiDialogDirective = /** @class */ (function (_super) {
|
|
717
769
|
__extends(AbstractTuiDialogDirective, _super);
|
|
@@ -720,35 +772,38 @@
|
|
|
720
772
|
_this.service = service;
|
|
721
773
|
_this.open$ = new rxjs.Subject();
|
|
722
774
|
_this.options = {};
|
|
723
|
-
_this.openChange = _this.open$.pipe(operators.switchMap(function (open) {
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
: rxjs.EMPTY;
|
|
729
|
-
}));
|
|
775
|
+
_this.openChange = _this.open$.pipe(operators.switchMap(function (open) { return open
|
|
776
|
+
? _this.service
|
|
777
|
+
.open(_this, _this.options)
|
|
778
|
+
.pipe(operators.ignoreElements(), operators.endWith(false))
|
|
779
|
+
: rxjs.EMPTY; }));
|
|
730
780
|
return _this;
|
|
731
781
|
}
|
|
732
782
|
Object.defineProperty(AbstractTuiDialogDirective.prototype, "open", {
|
|
733
783
|
set: function (open) {
|
|
734
784
|
this.open$.next(open);
|
|
735
785
|
},
|
|
736
|
-
enumerable:
|
|
786
|
+
enumerable: false,
|
|
737
787
|
configurable: true
|
|
738
788
|
});
|
|
739
|
-
AbstractTuiDialogDirective.ctorParameters = function () { return [
|
|
740
|
-
{ type: core.TemplateRef, decorators: [{ type: core.Inject, args: [core.TemplateRef,] }] },
|
|
741
|
-
{ type: core.ChangeDetectorRef, decorators: [{ type: core.Inject, args: [core.ChangeDetectorRef,] }] },
|
|
742
|
-
{ type: AbstractTuiDialogService, decorators: [{ type: core.Inject, args: [AbstractTuiDialogService,] }] }
|
|
743
|
-
]; };
|
|
744
|
-
AbstractTuiDialogDirective = __decorate([
|
|
745
|
-
core.Directive(),
|
|
746
|
-
__param(0, core.Inject(core.TemplateRef)),
|
|
747
|
-
__param(1, core.Inject(core.ChangeDetectorRef)),
|
|
748
|
-
__param(2, core.Inject(AbstractTuiDialogService))
|
|
749
|
-
], AbstractTuiDialogDirective);
|
|
750
789
|
return AbstractTuiDialogDirective;
|
|
751
790
|
}(ngPolymorpheus.PolymorpheusTemplate));
|
|
791
|
+
AbstractTuiDialogDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiDialogDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ChangeDetectorRef }, { token: AbstractTuiDialogService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
792
|
+
AbstractTuiDialogDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: AbstractTuiDialogDirective, usesInheritance: true, ngImport: i0__namespace });
|
|
793
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiDialogDirective, decorators: [{
|
|
794
|
+
type: i0.Directive
|
|
795
|
+
}], ctorParameters: function () {
|
|
796
|
+
return [{ type: i0__namespace.TemplateRef, decorators: [{
|
|
797
|
+
type: i0.Inject,
|
|
798
|
+
args: [i0.TemplateRef]
|
|
799
|
+
}] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
|
|
800
|
+
type: i0.Inject,
|
|
801
|
+
args: [i0.ChangeDetectorRef]
|
|
802
|
+
}] }, { type: AbstractTuiDialogService, decorators: [{
|
|
803
|
+
type: i0.Inject,
|
|
804
|
+
args: [AbstractTuiDialogService]
|
|
805
|
+
}] }];
|
|
806
|
+
} });
|
|
752
807
|
|
|
753
808
|
var AbstractTuiMultipleControl = /** @class */ (function (_super) {
|
|
754
809
|
__extends(AbstractTuiMultipleControl, _super);
|
|
@@ -761,11 +816,13 @@
|
|
|
761
816
|
AbstractTuiMultipleControl.prototype.getFallbackValue = function () {
|
|
762
817
|
return [];
|
|
763
818
|
};
|
|
764
|
-
AbstractTuiMultipleControl = __decorate([
|
|
765
|
-
core.Directive()
|
|
766
|
-
], AbstractTuiMultipleControl);
|
|
767
819
|
return AbstractTuiMultipleControl;
|
|
768
820
|
}(AbstractTuiControl));
|
|
821
|
+
AbstractTuiMultipleControl.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiMultipleControl, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
822
|
+
AbstractTuiMultipleControl.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: AbstractTuiMultipleControl, usesInheritance: true, ngImport: i0__namespace });
|
|
823
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiMultipleControl, decorators: [{
|
|
824
|
+
type: i0.Directive
|
|
825
|
+
}] });
|
|
769
826
|
|
|
770
827
|
var AbstractTuiNullableControl = /** @class */ (function (_super) {
|
|
771
828
|
__extends(AbstractTuiNullableControl, _super);
|
|
@@ -775,11 +832,13 @@
|
|
|
775
832
|
AbstractTuiNullableControl.prototype.getFallbackValue = function () {
|
|
776
833
|
return null;
|
|
777
834
|
};
|
|
778
|
-
AbstractTuiNullableControl = __decorate([
|
|
779
|
-
core.Directive()
|
|
780
|
-
], AbstractTuiNullableControl);
|
|
781
835
|
return AbstractTuiNullableControl;
|
|
782
836
|
}(AbstractTuiControl));
|
|
837
|
+
AbstractTuiNullableControl.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiNullableControl, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
838
|
+
AbstractTuiNullableControl.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: AbstractTuiNullableControl, usesInheritance: true, ngImport: i0__namespace });
|
|
839
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiNullableControl, decorators: [{
|
|
840
|
+
type: i0.Directive
|
|
841
|
+
}] });
|
|
783
842
|
|
|
784
843
|
/**
|
|
785
844
|
* Abstract service for displaying portals
|
|
@@ -794,14 +853,14 @@
|
|
|
794
853
|
}
|
|
795
854
|
return this.host;
|
|
796
855
|
},
|
|
797
|
-
enumerable:
|
|
856
|
+
enumerable: false,
|
|
798
857
|
configurable: true
|
|
799
858
|
});
|
|
800
859
|
AbstractTuiPortalService.prototype.attach = function (host) {
|
|
801
860
|
this.host = host;
|
|
802
861
|
};
|
|
803
|
-
AbstractTuiPortalService.prototype.add = function (
|
|
804
|
-
return this.safeHost.addComponentChild(
|
|
862
|
+
AbstractTuiPortalService.prototype.add = function (component) {
|
|
863
|
+
return this.safeHost.addComponentChild(component);
|
|
805
864
|
};
|
|
806
865
|
AbstractTuiPortalService.prototype.remove = function (_a) {
|
|
807
866
|
var hostView = _a.hostView;
|
|
@@ -813,64 +872,70 @@
|
|
|
813
872
|
AbstractTuiPortalService.prototype.removeTemplate = function (viewRef) {
|
|
814
873
|
viewRef.destroy();
|
|
815
874
|
};
|
|
816
|
-
AbstractTuiPortalService = __decorate([
|
|
817
|
-
core.Injectable()
|
|
818
|
-
], AbstractTuiPortalService);
|
|
819
875
|
return AbstractTuiPortalService;
|
|
820
876
|
}());
|
|
877
|
+
AbstractTuiPortalService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiPortalService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
878
|
+
AbstractTuiPortalService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiPortalService });
|
|
879
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiPortalService, decorators: [{
|
|
880
|
+
type: i0.Injectable
|
|
881
|
+
}] });
|
|
821
882
|
|
|
822
883
|
/**
|
|
823
884
|
* Abstract class for host element for dynamically created portals.
|
|
824
885
|
*/
|
|
825
886
|
var AbstractTuiPortalHostComponent = /** @class */ (function () {
|
|
826
|
-
function AbstractTuiPortalHostComponent(elementRef, portalService) {
|
|
887
|
+
function AbstractTuiPortalHostComponent(injector, elementRef, portalService) {
|
|
888
|
+
this.injector = injector;
|
|
827
889
|
this.elementRef = elementRef;
|
|
828
890
|
portalService.attach(this);
|
|
829
891
|
}
|
|
830
|
-
AbstractTuiPortalHostComponent_1 = AbstractTuiPortalHostComponent;
|
|
831
892
|
Object.defineProperty(AbstractTuiPortalHostComponent.prototype, "clientRect", {
|
|
832
893
|
get: function () {
|
|
833
894
|
return this.elementRef.nativeElement.getBoundingClientRect();
|
|
834
895
|
},
|
|
835
|
-
enumerable:
|
|
896
|
+
enumerable: false,
|
|
836
897
|
configurable: true
|
|
837
898
|
});
|
|
838
|
-
AbstractTuiPortalHostComponent.prototype.addComponentChild = function (
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
}));
|
|
899
|
+
AbstractTuiPortalHostComponent.prototype.addComponentChild = function (component) {
|
|
900
|
+
var parent = component.createInjector(this.injector);
|
|
901
|
+
var resolver = parent.get(i0.ComponentFactoryResolver);
|
|
902
|
+
var factory = resolver.resolveComponentFactory(component.component);
|
|
903
|
+
var providers = [{ provide: AbstractTuiPortalHostComponent, useValue: this }];
|
|
904
|
+
var injector = i0.Injector.create({ parent: parent, providers: providers });
|
|
905
|
+
var ref = this.viewContainerRef.createComponent(factory, undefined, injector);
|
|
906
|
+
ref.changeDetectorRef.detectChanges();
|
|
907
|
+
return ref;
|
|
848
908
|
};
|
|
849
909
|
AbstractTuiPortalHostComponent.prototype.addTemplateChild = function (templateRef, context) {
|
|
850
910
|
return this.viewContainerRef.createEmbeddedView(templateRef, context);
|
|
851
911
|
};
|
|
852
|
-
var AbstractTuiPortalHostComponent_1;
|
|
853
|
-
AbstractTuiPortalHostComponent.ctorParameters = function () { return [
|
|
854
|
-
{ type: core.ElementRef, decorators: [{ type: core.Inject, args: [core.ElementRef,] }] },
|
|
855
|
-
{ type: AbstractTuiPortalService, decorators: [{ type: core.Inject, args: [AbstractTuiPortalService,] }] }
|
|
856
|
-
]; };
|
|
857
|
-
__decorate([
|
|
858
|
-
core.ViewChild("viewContainer", { read: core.ViewContainerRef })
|
|
859
|
-
], AbstractTuiPortalHostComponent.prototype, "viewContainerRef", void 0);
|
|
860
|
-
AbstractTuiPortalHostComponent = AbstractTuiPortalHostComponent_1 = __decorate([
|
|
861
|
-
core.Directive(),
|
|
862
|
-
__param(0, core.Inject(core.ElementRef)),
|
|
863
|
-
__param(1, core.Inject(AbstractTuiPortalService))
|
|
864
|
-
], AbstractTuiPortalHostComponent);
|
|
865
912
|
return AbstractTuiPortalHostComponent;
|
|
866
913
|
}());
|
|
914
|
+
AbstractTuiPortalHostComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiPortalHostComponent, deps: [{ token: i0.INJECTOR }, { token: i0.ElementRef }, { token: AbstractTuiPortalService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
915
|
+
AbstractTuiPortalHostComponent.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: AbstractTuiPortalHostComponent, viewQueries: [{ propertyName: "viewContainerRef", first: true, predicate: ["viewContainer"], descendants: true, read: i0.ViewContainerRef }], ngImport: i0__namespace });
|
|
916
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiPortalHostComponent, decorators: [{
|
|
917
|
+
type: i0.Directive
|
|
918
|
+
}], ctorParameters: function () {
|
|
919
|
+
return [{ type: i0__namespace.Injector, decorators: [{
|
|
920
|
+
type: i0.Inject,
|
|
921
|
+
args: [i0.INJECTOR]
|
|
922
|
+
}] }, { type: i0__namespace.ElementRef, decorators: [{
|
|
923
|
+
type: i0.Inject,
|
|
924
|
+
args: [i0.ElementRef]
|
|
925
|
+
}] }, { type: AbstractTuiPortalService, decorators: [{
|
|
926
|
+
type: i0.Inject,
|
|
927
|
+
args: [AbstractTuiPortalService]
|
|
928
|
+
}] }];
|
|
929
|
+
}, propDecorators: { viewContainerRef: [{
|
|
930
|
+
type: i0.ViewChild,
|
|
931
|
+
args: ["viewContainer", { read: i0.ViewContainerRef }]
|
|
932
|
+
}] } });
|
|
867
933
|
|
|
868
934
|
/**
|
|
869
935
|
* Use this abstract class to create your own toggleable themes.
|
|
870
936
|
* A component extending this class must have CSS variables definitions
|
|
871
937
|
* and have ViewEncapsulation set to NONE. A boolean input allows to
|
|
872
938
|
* switch theme on or off.
|
|
873
|
-
* @dynamic
|
|
874
939
|
*/
|
|
875
940
|
var AbstractTuiThemeSwitcher = /** @class */ (function () {
|
|
876
941
|
function AbstractTuiThemeSwitcher(documentRef) {
|
|
@@ -883,12 +948,11 @@
|
|
|
883
948
|
this.constructor.style =
|
|
884
949
|
styles[styles.length - 1];
|
|
885
950
|
}
|
|
886
|
-
AbstractTuiThemeSwitcher_1 = AbstractTuiThemeSwitcher;
|
|
887
951
|
Object.defineProperty(AbstractTuiThemeSwitcher.prototype, "style", {
|
|
888
952
|
get: function () {
|
|
889
953
|
return this.constructor.style;
|
|
890
954
|
},
|
|
891
|
-
enumerable:
|
|
955
|
+
enumerable: false,
|
|
892
956
|
configurable: true
|
|
893
957
|
});
|
|
894
958
|
AbstractTuiThemeSwitcher.prototype.ngOnDestroy = function () {
|
|
@@ -904,17 +968,23 @@
|
|
|
904
968
|
this.documentRef.head.removeChild(this.style);
|
|
905
969
|
}
|
|
906
970
|
};
|
|
907
|
-
var AbstractTuiThemeSwitcher_1;
|
|
908
|
-
AbstractTuiThemeSwitcher.style = null;
|
|
909
|
-
AbstractTuiThemeSwitcher.ctorParameters = function () { return [
|
|
910
|
-
{ type: Document, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }
|
|
911
|
-
]; };
|
|
912
|
-
AbstractTuiThemeSwitcher = AbstractTuiThemeSwitcher_1 = __decorate([
|
|
913
|
-
core.Directive(),
|
|
914
|
-
__param(0, core.Inject(common.DOCUMENT))
|
|
915
|
-
], AbstractTuiThemeSwitcher);
|
|
916
971
|
return AbstractTuiThemeSwitcher;
|
|
917
972
|
}());
|
|
973
|
+
AbstractTuiThemeSwitcher.style = null;
|
|
974
|
+
AbstractTuiThemeSwitcher.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiThemeSwitcher, deps: [{ token: common.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
975
|
+
AbstractTuiThemeSwitcher.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: AbstractTuiThemeSwitcher, ngImport: i0__namespace });
|
|
976
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AbstractTuiThemeSwitcher, decorators: [{
|
|
977
|
+
type: i0.Directive
|
|
978
|
+
}], ctorParameters: function () {
|
|
979
|
+
return [{ type: Document, decorators: [{
|
|
980
|
+
type: i0.Inject,
|
|
981
|
+
args: [common.DOCUMENT]
|
|
982
|
+
}] }];
|
|
983
|
+
} });
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* Generated bundle index. Do not edit.
|
|
987
|
+
*/
|
|
918
988
|
|
|
919
989
|
exports.AbstractTuiControl = AbstractTuiControl;
|
|
920
990
|
exports.AbstractTuiController = AbstractTuiController;
|
|
@@ -926,9 +996,9 @@
|
|
|
926
996
|
exports.AbstractTuiPortalHostComponent = AbstractTuiPortalHostComponent;
|
|
927
997
|
exports.AbstractTuiPortalService = AbstractTuiPortalService;
|
|
928
998
|
exports.AbstractTuiThemeSwitcher = AbstractTuiThemeSwitcher;
|
|
929
|
-
exports.
|
|
999
|
+
exports.tuiAsControl = tuiAsControl;
|
|
930
1000
|
|
|
931
1001
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
932
1002
|
|
|
933
|
-
}))
|
|
1003
|
+
}));
|
|
934
1004
|
//# sourceMappingURL=taiga-ui-cdk-abstract.umd.js.map
|