@taiga-ui/core 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/abstract-driver.directive.d.ts +8 -0
- package/abstract/abstract-textfield-host.d.ts +3 -0
- package/abstract/driver.d.ts +5 -0
- package/abstract/index.d.ts +5 -3
- package/abstract/package.json +2 -5
- package/abstract/position-accessor.d.ts +6 -0
- package/abstract/rect-accessor.d.ts +5 -0
- package/abstract/taiga-ui-core-abstract.d.ts +1 -0
- package/abstract/vehicle.d.ts +5 -0
- package/animations/package.json +2 -5
- package/animations/taiga-ui-core-animations.d.ts +1 -0
- package/bundles/taiga-ui-core-abstract.umd.js +444 -424
- package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-core-animations.umd.js +7 -3
- package/bundles/taiga-ui-core-animations.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-alert.umd.js +432 -369
- package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.js +488 -366
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js +471 -340
- package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-data-list.umd.js +564 -551
- package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +482 -367
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-error.umd.js +401 -284
- package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.js +435 -315
- package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-group.umd.js +438 -334
- package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.js +63 -568
- package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +543 -384
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-label.umd.js +404 -289
- package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.js +452 -326
- package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.js +430 -312
- package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js +412 -292
- package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +457 -327
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +426 -304
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +438 -311
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +780 -634
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +439 -314
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +445 -305
- package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js +516 -377
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.js +462 -330
- package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-svg.umd.js +442 -326
- package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.js +373 -265
- package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +428 -334
- package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components.umd.js +55 -113
- package/bundles/taiga-ui-core-components.umd.js.map +1 -1
- package/bundles/taiga-ui-core-constants.umd.js +35 -27
- package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-described-by.umd.js +404 -295
- package/bundles/taiga-ui-core-directives-described-by.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +1201 -302
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint-controller.umd.js +438 -308
- package/bundles/taiga-ui-core-directives-hint-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +847 -375
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +58 -274
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mode.umd.js +375 -266
- package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +392 -283
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +763 -533
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-wrapper.umd.js +100 -324
- package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives.umd.js +23 -81
- package/bundles/taiga-ui-core-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-core-enums.umd.js +11 -104
- package/bundles/taiga-ui-core-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-core-interfaces.umd.js +2 -2
- package/bundles/taiga-ui-core-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +423 -298
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +69 -284
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal.umd.js +7 -11
- package/bundles/taiga-ui-core-internal.umd.js.map +1 -1
- package/bundles/taiga-ui-core-mask.umd.js +2 -2
- package/bundles/taiga-ui-core-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-core-observables.umd.js +13 -17
- package/bundles/taiga-ui-core-observables.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +50 -276
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-number.umd.js +50 -273
- package/bundles/taiga-ui-core-pipes-format-number.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js +42 -260
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-month.umd.js +49 -266
- package/bundles/taiga-ui-core-pipes-month.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes.umd.js +13 -29
- package/bundles/taiga-ui-core-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-core-providers.umd.js +22 -40
- package/bundles/taiga-ui-core-providers.umd.js.map +1 -1
- package/bundles/taiga-ui-core-services.umd.js +467 -313
- package/bundles/taiga-ui-core-services.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +389 -282
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-types.umd.js +2 -2
- package/bundles/taiga-ui-core-types.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js +63 -45
- package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +347 -342
- package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +346 -276
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +12 -52
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mobile.umd.js +7 -3
- package/bundles/taiga-ui-core-utils-mobile.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils.umd.js +15 -33
- package/bundles/taiga-ui-core-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-core.umd.js +49 -57
- package/bundles/taiga-ui-core.umd.js.map +1 -1
- package/components/alert/alert.component.d.ts +4 -12
- package/components/alert/alert.module.d.ts +8 -3
- package/components/alert/alert.service.d.ts +7 -13
- package/components/alert/package.json +2 -5
- package/components/alert/taiga-ui-core-components-alert.d.ts +1 -0
- package/components/button/button-options.d.ts +1 -6
- package/components/button/button.component.d.ts +6 -5
- package/components/button/button.module.d.ts +10 -0
- package/components/button/package.json +2 -5
- package/components/button/taiga-ui-core-components-button.d.ts +1 -0
- package/components/calendar/calendar.component.d.ts +3 -0
- package/components/calendar/calendar.module.d.ts +11 -0
- package/components/calendar/package.json +2 -5
- package/components/calendar/taiga-ui-core-components-calendar.d.ts +1 -0
- package/components/data-list/data-list.component.d.ts +4 -1
- package/components/data-list/data-list.directive.d.ts +3 -0
- package/components/data-list/data-list.module.d.ts +11 -0
- package/components/data-list/index.d.ts +0 -1
- package/components/data-list/opt-group.directive.d.ts +3 -0
- package/components/data-list/option/option.component.d.ts +3 -1
- package/components/data-list/package.json +2 -5
- package/components/data-list/taiga-ui-core-components-data-list.d.ts +1 -0
- package/components/dialog/dialog.component.d.ts +3 -0
- package/components/dialog/dialog.directive.d.ts +3 -0
- package/components/dialog/dialog.module.d.ts +10 -0
- package/components/dialog/dialog.providers.d.ts +1 -4
- package/components/dialog/dialog.service.d.ts +4 -1
- package/components/dialog/package.json +2 -5
- package/components/dialog/taiga-ui-core-components-dialog.d.ts +1 -0
- package/components/error/error.component.d.ts +3 -0
- package/components/error/error.module.d.ts +7 -0
- package/components/error/package.json +2 -5
- package/components/error/taiga-ui-core-components-error.d.ts +1 -0
- package/components/expand/expand-content.directive.d.ts +3 -0
- package/components/expand/expand.component.d.ts +3 -0
- package/components/expand/expand.module.d.ts +8 -0
- package/components/expand/package.json +2 -5
- package/components/expand/taiga-ui-core-components-expand.d.ts +1 -0
- package/components/group/group-styles.component.d.ts +3 -0
- package/components/group/group.directive.d.ts +5 -2
- package/components/group/group.module.d.ts +7 -0
- package/components/group/index.d.ts +0 -1
- package/components/group/package.json +2 -5
- package/components/group/taiga-ui-core-components-group.d.ts +1 -0
- package/components/hints-host/hints-host.component.d.ts +6 -9
- package/components/hints-host/hints-host.module.d.ts +8 -0
- package/components/hints-host/index.d.ts +0 -2
- package/components/hints-host/package.json +2 -5
- package/components/hints-host/taiga-ui-core-components-hints-host.d.ts +1 -0
- package/components/hosted-dropdown/hosted-dropdown-connector.directive.d.ts +3 -0
- package/components/hosted-dropdown/hosted-dropdown.component.d.ts +13 -5
- package/components/hosted-dropdown/hosted-dropdown.module.d.ts +10 -0
- package/components/hosted-dropdown/package.json +2 -5
- package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.d.ts +1 -0
- package/components/index.d.ts +0 -1
- package/components/label/label.component.d.ts +4 -1
- package/components/label/label.module.d.ts +6 -0
- package/components/label/package.json +2 -5
- package/components/label/taiga-ui-core-components-label.d.ts +1 -0
- package/components/link/link.component.d.ts +4 -1
- package/components/link/link.module.d.ts +7 -0
- package/components/link/package.json +2 -5
- package/components/link/taiga-ui-core-components-link.d.ts +1 -0
- package/components/loader/loader.component.d.ts +4 -1
- package/components/loader/loader.module.d.ts +7 -0
- package/components/loader/package.json +2 -5
- package/components/loader/taiga-ui-core-components-loader.d.ts +1 -0
- package/components/notification/notification.component.d.ts +3 -0
- package/components/notification/notification.module.d.ts +8 -0
- package/components/notification/package.json +2 -5
- package/components/notification/taiga-ui-core-components-notification.d.ts +1 -0
- package/components/package.json +2 -5
- package/components/primitive-calendar/package.json +2 -5
- package/components/primitive-calendar/primitive-calendar.component.d.ts +4 -1
- package/components/primitive-calendar/primitive-calendar.module.d.ts +8 -0
- package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.d.ts +1 -0
- package/components/primitive-checkbox/checkbox-options.d.ts +0 -5
- package/components/primitive-checkbox/package.json +2 -5
- package/components/primitive-checkbox/primitive-checkbox.component.d.ts +5 -2
- package/components/primitive-checkbox/primitive-checkbox.module.d.ts +8 -0
- package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.d.ts +1 -0
- package/components/primitive-spin-button/package.json +2 -5
- package/components/primitive-spin-button/primitive-spin-button.component.d.ts +3 -0
- package/components/primitive-spin-button/primitive-spin-button.module.d.ts +8 -0
- package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.d.ts +1 -0
- package/components/primitive-textfield/index.d.ts +0 -1
- package/components/primitive-textfield/package.json +2 -5
- package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -3
- package/components/primitive-textfield/primitive-textfield-types.d.ts +10 -0
- package/components/primitive-textfield/primitive-textfield.component.d.ts +8 -12
- package/components/primitive-textfield/primitive-textfield.directive.d.ts +3 -0
- package/components/primitive-textfield/primitive-textfield.module.d.ts +17 -0
- package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.d.ts +1 -0
- package/components/primitive-textfield/textfield/textfield.component.d.ts +3 -0
- package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +5 -2
- package/components/primitive-year-picker/package.json +2 -5
- package/components/primitive-year-picker/primitive-year-picker.component.d.ts +3 -0
- package/components/primitive-year-picker/primitive-year-picker.module.d.ts +7 -0
- package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.d.ts +1 -0
- package/components/root/package.json +2 -5
- package/components/root/root.component.d.ts +3 -0
- package/components/root/root.module.d.ts +11 -0
- package/components/root/taiga-ui-core-components-root.d.ts +1 -0
- package/components/scroll-controls/package.json +2 -5
- package/components/scroll-controls/scroll-controls.component.d.ts +3 -0
- package/components/scroll-controls/scroll-controls.module.d.ts +9 -0
- package/components/scroll-controls/scrollbar-wrapper.directive.d.ts +3 -0
- package/components/scroll-controls/scrollbar.directive.d.ts +5 -2
- package/components/scroll-controls/taiga-ui-core-components-scroll-controls.d.ts +1 -1
- package/components/scrollbar/package.json +2 -5
- package/components/scrollbar/scroll-ref.directive.d.ts +3 -0
- package/components/scrollbar/scrollable.directive.d.ts +3 -0
- package/components/scrollbar/scrollbar.component.d.ts +3 -1
- package/components/scrollbar/scrollbar.module.d.ts +9 -0
- package/components/scrollbar/taiga-ui-core-components-scrollbar.d.ts +1 -0
- package/components/svg/package.json +2 -5
- package/components/svg/svg.component.d.ts +4 -3
- package/components/svg/svg.module.d.ts +7 -0
- package/components/svg/taiga-ui-core-components-svg.d.ts +1 -0
- package/components/taiga-ui-core-components.d.ts +1 -0
- package/components/theme-night/package.json +2 -5
- package/components/theme-night/taiga-ui-core-components-theme-night.d.ts +1 -0
- package/components/theme-night/theme-night.component.d.ts +3 -0
- package/components/theme-night/theme-night.module.d.ts +5 -0
- package/components/tooltip/package.json +2 -5
- package/components/tooltip/taiga-ui-core-components-tooltip.d.ts +1 -0
- package/components/tooltip/tooltip.component.d.ts +10 -14
- package/components/tooltip/tooltip.module.d.ts +9 -0
- package/constants/default-number-format.d.ts +2 -0
- package/constants/described-by.d.ts +1 -0
- package/constants/hint-directions.d.ts +2 -0
- package/constants/index.d.ts +3 -2
- package/constants/package.json +2 -5
- package/constants/taiga-ui-core-constants.d.ts +1 -0
- package/constants/version.d.ts +1 -1
- package/directives/described-by/described-by.directive.d.ts +3 -1
- package/directives/described-by/described-by.module.d.ts +5 -0
- package/directives/described-by/described-by.providers.d.ts +1 -2
- package/directives/described-by/package.json +2 -5
- package/directives/described-by/taiga-ui-core-directives-described-by.d.ts +1 -0
- package/directives/dropdown/dropdown-context.directive.d.ts +14 -0
- package/directives/dropdown/dropdown-driver.directive.d.ts +6 -0
- package/directives/dropdown/dropdown-host.directive.d.ts +8 -0
- package/directives/dropdown/dropdown-hover.directive.d.ts +14 -0
- package/directives/dropdown/dropdown-manual.directive.d.ts +11 -0
- package/directives/dropdown/dropdown-options.directive.d.ts +29 -0
- package/directives/dropdown/dropdown-position-sided.directive.d.ts +14 -0
- package/directives/dropdown/dropdown-position.directive.d.ts +14 -0
- package/directives/dropdown/dropdown-selection.directive.d.ts +38 -0
- package/directives/dropdown/dropdown.component.d.ts +39 -0
- package/directives/dropdown/dropdown.directive.d.ts +20 -8
- package/directives/dropdown/dropdown.module.d.ts +19 -0
- package/directives/dropdown/dropdown.providers.d.ts +2 -0
- package/directives/dropdown/index.d.ts +11 -0
- package/directives/dropdown/package.json +2 -5
- package/directives/dropdown/taiga-ui-core-directives-dropdown.d.ts +1 -0
- package/directives/hint/hint-driver.directive.d.ts +6 -0
- package/directives/hint/hint-host.directive.d.ts +8 -0
- package/directives/hint/hint-hover.directive.d.ts +16 -0
- package/directives/hint/hint-manual.directive.d.ts +11 -0
- package/directives/hint/hint-options.d.ts +7 -6
- package/directives/hint/hint-pointer.directive.d.ts +10 -0
- package/directives/hint/hint-position.directive.d.ts +16 -0
- package/directives/hint/hint.component.d.ts +33 -0
- package/directives/hint/hint.directive.d.ts +23 -22
- package/directives/hint/hint.module.d.ts +14 -0
- package/directives/hint/hint.providers.d.ts +2 -0
- package/directives/hint/index.d.ts +8 -0
- package/directives/hint/package.json +2 -5
- package/directives/hint/taiga-ui-core-directives-hint.d.ts +1 -0
- package/directives/hint-controller/hint-controller.directive.d.ts +12 -8
- package/directives/hint-controller/hint-controller.module.d.ts +5 -0
- package/directives/hint-controller/hint-controller.provider.d.ts +1 -2
- package/directives/hint-controller/package.json +2 -5
- package/directives/hint-controller/taiga-ui-core-directives-hint-controller.d.ts +1 -0
- package/directives/index.d.ts +0 -5
- package/directives/mask-accessor/mask-accessor.directive.d.ts +3 -2
- package/directives/mask-accessor/mask-accessor.module.d.ts +5 -0
- package/directives/mask-accessor/package.json +2 -5
- package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.d.ts +1 -0
- package/directives/mode/mode.directive.d.ts +5 -2
- package/directives/mode/mode.module.d.ts +5 -0
- package/directives/mode/package.json +2 -5
- package/directives/mode/taiga-ui-core-directives-mode.d.ts +1 -0
- package/directives/package.json +2 -5
- package/directives/scroll-into-view/package.json +2 -5
- package/directives/scroll-into-view/scroll-into-view.directive.d.ts +4 -2
- package/directives/scroll-into-view/scroll-into-view.module.d.ts +5 -0
- package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.d.ts +1 -0
- package/directives/taiga-ui-core-directives.d.ts +1 -0
- package/directives/textfield-controller/index.d.ts +2 -0
- package/directives/textfield-controller/package.json +2 -5
- package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.d.ts +1 -0
- package/directives/textfield-controller/textfield-autocomplete.directive.d.ts +5 -3
- package/directives/textfield-controller/textfield-cleaner.directive.d.ts +5 -3
- package/directives/textfield-controller/textfield-controller.module.d.ts +15 -0
- package/directives/textfield-controller/textfield-controller.provider.d.ts +1 -16
- package/directives/textfield-controller/textfield-custom-content.directive.d.ts +6 -4
- package/directives/textfield-controller/textfield-example-text.directive.d.ts +5 -3
- package/directives/textfield-controller/textfield-icon-left.directive.d.ts +12 -0
- package/directives/textfield-controller/textfield-icon.directive.d.ts +12 -0
- package/directives/textfield-controller/textfield-input-mode.directive.d.ts +6 -4
- package/directives/textfield-controller/textfield-label-outside.directive.d.ts +5 -3
- package/directives/textfield-controller/textfield-max-length.directive.d.ts +5 -3
- package/directives/textfield-controller/textfield-size.directive.d.ts +5 -3
- package/directives/textfield-controller/textfield-type.directive.d.ts +6 -4
- package/directives/textfield-controller/textfield.controller.d.ts +10 -4
- package/directives/wrapper/package.json +2 -5
- package/directives/wrapper/taiga-ui-core-directives-wrapper.d.ts +1 -0
- package/directives/wrapper/wrapper.directive.d.ts +6 -3
- package/directives/wrapper/wrapper.module.d.ts +5 -0
- package/enums/index.d.ts +0 -8
- package/enums/interactive-state.d.ts +2 -2
- package/enums/package.json +2 -5
- package/enums/taiga-ui-core-enums.d.ts +1 -0
- package/esm2015/abstract/abstract-driver.directive.js +32 -0
- package/esm2015/abstract/abstract-textfield-host.js +12 -13
- package/esm2015/abstract/driver.js +10 -0
- package/esm2015/abstract/index.js +6 -4
- package/esm2015/abstract/position-accessor.js +9 -0
- package/esm2015/abstract/rect-accessor.js +9 -0
- package/esm2015/abstract/taiga-ui-core-abstract.js +1 -1
- package/esm2015/abstract/vehicle.js +9 -0
- package/esm2015/animations/animations.js +1 -1
- package/esm2015/animations/index.js +1 -1
- package/esm2015/animations/taiga-ui-core-animations.js +1 -1
- package/esm2015/components/alert/alert.component.js +52 -60
- package/esm2015/components/alert/alert.module.js +18 -28
- package/esm2015/components/alert/alert.service.js +16 -36
- package/esm2015/components/alert/index.js +1 -1
- package/esm2015/components/alert/taiga-ui-core-components-alert.js +1 -1
- package/esm2015/components/button/button-options.js +1 -1
- package/esm2015/components/button/button.component.js +83 -80
- package/esm2015/components/button/button.module.js +26 -13
- package/esm2015/components/button/index.js +1 -1
- package/esm2015/components/button/taiga-ui-core-components-button.js +1 -1
- package/esm2015/components/calendar/calendar.component.js +49 -34
- package/esm2015/components/calendar/calendar.module.js +28 -13
- package/esm2015/components/calendar/index.js +1 -1
- package/esm2015/components/calendar/taiga-ui-core-components-calendar.js +1 -1
- package/esm2015/components/data-list/data-list.component.js +67 -60
- package/esm2015/components/data-list/data-list.directive.js +12 -10
- package/esm2015/components/data-list/data-list.module.js +31 -25
- package/esm2015/components/data-list/index.js +1 -2
- package/esm2015/components/data-list/opt-group.directive.js +20 -14
- package/esm2015/components/data-list/option/option.component.js +81 -58
- package/esm2015/components/data-list/taiga-ui-core-components-data-list.js +1 -1
- package/esm2015/components/dialog/dialog.component.js +49 -39
- package/esm2015/components/dialog/dialog.directive.js +25 -18
- package/esm2015/components/dialog/dialog.module.js +18 -21
- package/esm2015/components/dialog/dialog.providers.js +14 -22
- package/esm2015/components/dialog/dialog.service.js +11 -12
- package/esm2015/components/dialog/index.js +1 -1
- package/esm2015/components/dialog/taiga-ui-core-components-dialog.js +1 -1
- package/esm2015/components/error/error.component.js +35 -27
- package/esm2015/components/error/error.module.js +15 -12
- package/esm2015/components/error/index.js +1 -1
- package/esm2015/components/error/taiga-ui-core-components-error.js +1 -1
- package/esm2015/components/expand/expand-content.directive.js +12 -10
- package/esm2015/components/expand/expand.component.js +56 -47
- package/esm2015/components/expand/expand.module.js +15 -12
- package/esm2015/components/expand/index.js +1 -1
- package/esm2015/components/expand/taiga-ui-core-components-expand.js +1 -1
- package/esm2015/components/group/group-styles.component.js +14 -12
- package/esm2015/components/group/group.directive.js +49 -35
- package/esm2015/components/group/group.module.js +16 -14
- package/esm2015/components/group/index.js +1 -2
- package/esm2015/components/group/taiga-ui-core-components-group.js +1 -1
- package/esm2015/components/hints-host/hints-host.component.js +28 -33
- package/esm2015/components/hints-host/hints-host.module.js +15 -13
- package/esm2015/components/hints-host/index.js +1 -3
- package/esm2015/components/hints-host/taiga-ui-core-components-hints-host.js +1 -1
- package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +12 -10
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +126 -106
- package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +38 -16
- package/esm2015/components/hosted-dropdown/index.js +1 -1
- package/esm2015/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js +1 -1
- package/esm2015/components/index.js +1 -2
- package/esm2015/components/label/index.js +1 -1
- package/esm2015/components/label/label.component.js +37 -31
- package/esm2015/components/label/label.module.js +15 -12
- package/esm2015/components/label/taiga-ui-core-components-label.js +1 -1
- package/esm2015/components/link/index.js +1 -1
- package/esm2015/components/link/link.component.js +73 -54
- package/esm2015/components/link/link.module.js +15 -12
- package/esm2015/components/link/taiga-ui-core-components-link.js +1 -1
- package/esm2015/components/loader/index.js +1 -1
- package/esm2015/components/loader/loader-options.js +1 -1
- package/esm2015/components/loader/loader.component.js +50 -40
- package/esm2015/components/loader/loader.module.js +15 -12
- package/esm2015/components/loader/taiga-ui-core-components-loader.js +1 -1
- package/esm2015/components/notification/index.js +1 -1
- package/esm2015/components/notification/notification.component.js +41 -30
- package/esm2015/components/notification/notification.module.js +15 -12
- package/esm2015/components/notification/taiga-ui-core-components-notification.js +1 -1
- package/esm2015/components/primitive-calendar/index.js +1 -1
- package/esm2015/components/primitive-calendar/primitive-calendar.component.js +46 -38
- package/esm2015/components/primitive-calendar/primitive-calendar.module.js +30 -15
- package/esm2015/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js +1 -1
- package/esm2015/components/primitive-checkbox/checkbox-options.js +1 -1
- package/esm2015/components/primitive-checkbox/index.js +1 -1
- package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +40 -26
- package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +15 -12
- package/esm2015/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js +1 -1
- package/esm2015/components/primitive-spin-button/index.js +1 -1
- package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +40 -34
- package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +28 -13
- package/esm2015/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js +1 -1
- package/esm2015/components/primitive-textfield/index.js +1 -2
- package/esm2015/components/primitive-textfield/primitive-textfield-options.js +2 -5
- package/esm2015/components/primitive-textfield/primitive-textfield-types.js +2 -0
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +131 -113
- package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +19 -23
- package/esm2015/components/primitive-textfield/primitive-textfield.module.js +53 -24
- package/esm2015/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js +1 -1
- package/esm2015/components/primitive-textfield/textfield/textfield.component.js +59 -49
- package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +34 -31
- package/esm2015/components/primitive-year-picker/index.js +1 -1
- package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +36 -27
- package/esm2015/components/primitive-year-picker/primitive-year-picker.module.js +26 -13
- package/esm2015/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js +1 -1
- package/esm2015/components/root/index.js +1 -1
- package/esm2015/components/root/root.component.js +52 -39
- package/esm2015/components/root/root.module.js +34 -13
- package/esm2015/components/root/taiga-ui-core-components-root.js +1 -1
- package/esm2015/components/scroll-controls/index.js +1 -1
- package/esm2015/components/scroll-controls/scroll-controls.component.js +46 -36
- package/esm2015/components/scroll-controls/scroll-controls.module.js +21 -16
- package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +23 -16
- package/esm2015/components/scroll-controls/scrollbar.directive.js +56 -45
- package/esm2015/components/scroll-controls/taiga-ui-core-components-scroll-controls.js +1 -2
- package/esm2015/components/scrollbar/index.js +1 -1
- package/esm2015/components/scrollbar/scroll-ref.directive.js +23 -16
- package/esm2015/components/scrollbar/scrollable.directive.js +16 -15
- package/esm2015/components/scrollbar/scrollbar.component.js +58 -49
- package/esm2015/components/scrollbar/scrollbar.module.js +15 -12
- package/esm2015/components/scrollbar/taiga-ui-core-components-scrollbar.js +1 -1
- package/esm2015/components/svg/index.js +1 -1
- package/esm2015/components/svg/svg.component.js +65 -53
- package/esm2015/components/svg/svg.module.js +15 -12
- package/esm2015/components/svg/taiga-ui-core-components-svg.js +1 -1
- package/esm2015/components/taiga-ui-core-components.js +1 -1
- package/esm2015/components/theme-night/index.js +1 -1
- package/esm2015/components/theme-night/taiga-ui-core-components-theme-night.js +1 -1
- package/esm2015/components/theme-night/theme-night.component.js +15 -14
- package/esm2015/components/theme-night/theme-night.module.js +14 -11
- package/esm2015/components/tooltip/index.js +1 -1
- package/esm2015/components/tooltip/taiga-ui-core-components-tooltip.js +1 -1
- package/esm2015/components/tooltip/tooltip.component.js +60 -70
- package/esm2015/components/tooltip/tooltip.module.js +15 -12
- package/esm2015/constants/decimal-symbols.js +1 -1
- package/esm2015/constants/default-icons-path.js +1 -1
- package/esm2015/constants/default-marker-handler.js +1 -1
- package/esm2015/constants/default-number-format.js +8 -0
- package/esm2015/constants/described-by.js +2 -0
- package/esm2015/constants/editing-keys.js +1 -1
- package/esm2015/constants/events.js +1 -1
- package/esm2015/constants/hint-directions.js +15 -0
- package/esm2015/constants/index.js +4 -3
- package/esm2015/constants/mask-caret-trap.js +1 -1
- package/esm2015/constants/regexp.js +1 -1
- package/esm2015/constants/taiga-ui-core-constants.js +1 -1
- package/esm2015/constants/version.js +1 -1
- package/esm2015/directives/described-by/described-by.directive.js +28 -23
- package/esm2015/directives/described-by/described-by.module.js +14 -11
- package/esm2015/directives/described-by/described-by.providers.js +7 -9
- package/esm2015/directives/described-by/index.js +1 -1
- package/esm2015/directives/described-by/taiga-ui-core-directives-described-by.js +1 -1
- package/esm2015/directives/dropdown/dropdown-context.directive.js +59 -0
- package/esm2015/directives/dropdown/dropdown-driver.directive.js +16 -0
- package/esm2015/directives/dropdown/dropdown-host.directive.js +22 -0
- package/esm2015/directives/dropdown/dropdown-hover.directive.js +46 -0
- package/esm2015/directives/dropdown/dropdown-manual.directive.js +26 -0
- package/esm2015/directives/dropdown/dropdown-options.directive.js +99 -0
- package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +59 -0
- package/esm2015/directives/dropdown/dropdown-position.directive.js +59 -0
- package/esm2015/directives/dropdown/dropdown-selection.directive.js +167 -0
- package/esm2015/directives/dropdown/dropdown.component.js +142 -0
- package/esm2015/directives/dropdown/dropdown.directive.js +86 -44
- package/esm2015/directives/dropdown/dropdown.module.js +92 -13
- package/esm2015/directives/dropdown/dropdown.providers.js +6 -0
- package/esm2015/directives/dropdown/index.js +12 -1
- package/esm2015/directives/dropdown/taiga-ui-core-directives-dropdown.js +1 -1
- package/esm2015/directives/hint/hint-driver.directive.js +16 -0
- package/esm2015/directives/hint/hint-host.directive.js +22 -0
- package/esm2015/directives/hint/hint-hover.directive.js +51 -0
- package/esm2015/directives/hint/hint-manual.directive.js +26 -0
- package/esm2015/directives/hint/hint-options.js +9 -6
- package/esm2015/directives/hint/hint-pointer.directive.js +36 -0
- package/esm2015/directives/hint/hint-position.directive.js +88 -0
- package/esm2015/directives/hint/hint.component.js +118 -0
- package/esm2015/directives/hint/hint.directive.js +90 -103
- package/esm2015/directives/hint/hint.module.js +57 -11
- package/esm2015/directives/hint/hint.providers.js +6 -0
- package/esm2015/directives/hint/index.js +9 -1
- package/esm2015/directives/hint/taiga-ui-core-directives-hint.js +1 -1
- package/esm2015/directives/hint-controller/hint-controller.directive.js +49 -34
- package/esm2015/directives/hint-controller/hint-controller.module.js +14 -11
- package/esm2015/directives/hint-controller/hint-controller.provider.js +16 -6
- package/esm2015/directives/hint-controller/hint-controller.token.js +1 -1
- package/esm2015/directives/hint-controller/index.js +1 -1
- package/esm2015/directives/hint-controller/taiga-ui-core-directives-hint-controller.js +1 -1
- package/esm2015/directives/index.js +1 -6
- package/esm2015/directives/mask-accessor/index.js +1 -1
- package/esm2015/directives/mask-accessor/mask-accessor.directive.js +26 -21
- package/esm2015/directives/mask-accessor/mask-accessor.module.js +14 -11
- package/esm2015/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js +1 -1
- package/esm2015/directives/mode/index.js +1 -1
- package/esm2015/directives/mode/mode.directive.js +16 -14
- package/esm2015/directives/mode/mode.module.js +14 -11
- package/esm2015/directives/mode/taiga-ui-core-directives-mode.js +1 -1
- package/esm2015/directives/scroll-into-view/index.js +1 -1
- package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +28 -28
- package/esm2015/directives/scroll-into-view/scroll-into-view.module.js +14 -11
- package/esm2015/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js +1 -1
- package/esm2015/directives/taiga-ui-core-directives.js +1 -1
- package/esm2015/directives/textfield-controller/index.js +3 -1
- package/esm2015/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js +1 -1
- package/esm2015/directives/textfield-controller/textfield-autocomplete.directive.js +27 -25
- package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +27 -25
- package/esm2015/directives/textfield-controller/textfield-controller.module.js +60 -31
- package/esm2015/directives/textfield-controller/textfield-controller.provider.js +11 -13
- package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +27 -26
- package/esm2015/directives/textfield-controller/textfield-example-text.directive.js +27 -25
- package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +38 -0
- package/esm2015/directives/textfield-controller/textfield-icon.directive.js +38 -0
- package/esm2015/directives/textfield-controller/textfield-input-mode.directive.js +27 -25
- package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +27 -25
- package/esm2015/directives/textfield-controller/textfield-max-length.directive.js +27 -25
- package/esm2015/directives/textfield-controller/textfield-size.directive.js +27 -25
- package/esm2015/directives/textfield-controller/textfield-type.directive.js +27 -25
- package/esm2015/directives/textfield-controller/textfield.controller.js +10 -2
- package/esm2015/directives/wrapper/index.js +1 -1
- package/esm2015/directives/wrapper/taiga-ui-core-directives-wrapper.js +1 -1
- package/esm2015/directives/wrapper/wrapper.directive.js +62 -69
- package/esm2015/directives/wrapper/wrapper.module.js +14 -11
- package/esm2015/enums/appearance.js +1 -1
- package/esm2015/enums/dropdown-animation.js +1 -1
- package/esm2015/enums/index.js +1 -9
- package/esm2015/enums/interactive-state.js +3 -5
- package/esm2015/enums/notification.js +1 -1
- package/esm2015/enums/range-state.js +1 -1
- package/esm2015/enums/taiga-ui-core-enums.js +1 -1
- package/esm2015/index.js +4 -1
- package/esm2015/interfaces/alert-options.js +2 -1
- package/esm2015/interfaces/animation-options.js +2 -1
- package/esm2015/interfaces/data-list-accessor.js +2 -1
- package/esm2015/interfaces/data-list-host.js +2 -1
- package/esm2015/interfaces/dialog-context.js +2 -1
- package/esm2015/interfaces/dialog-options.js +2 -1
- package/esm2015/interfaces/icon-error.js +2 -1
- package/esm2015/interfaces/index.js +14 -1
- package/esm2015/interfaces/media.js +2 -1
- package/esm2015/interfaces/number-format-settings.js +2 -1
- package/esm2015/interfaces/portal-item.js +2 -0
- package/esm2015/interfaces/taiga-ui-core-interfaces.js +2 -1
- package/esm2015/interfaces/textfield-host.js +2 -1
- package/esm2015/interfaces/value-content-context.js +2 -1
- package/esm2015/interfaces/with-optional-min-max.js +2 -1
- package/esm2015/internal/index.js +1 -1
- package/esm2015/internal/primitive-year-month-pagination/index.js +1 -1
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +29 -20
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +26 -13
- package/esm2015/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js +1 -1
- package/esm2015/internal/svg-defs-host/index.js +1 -1
- package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +34 -32
- package/esm2015/internal/svg-defs-host/svg-defs-host.module.js +15 -12
- package/esm2015/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js +1 -1
- package/esm2015/internal/taiga-ui-core-internal.js +1 -1
- package/esm2015/mask/index.js +9 -1
- package/esm2015/mask/number-mask-options.js +2 -1
- package/esm2015/mask/taiga-ui-core-mask.js +2 -1
- package/esm2015/mask/text-mask-config.js +2 -1
- package/esm2015/mask/text-mask-correction-handler.js +2 -1
- package/esm2015/mask/text-mask-list-handler.js +2 -1
- package/esm2015/mask/text-mask-list.js +2 -1
- package/esm2015/mask/text-mask-options.js +2 -1
- package/esm2015/mask/text-mask-pipe-handler.js +2 -1
- package/esm2015/mask/text-mask-pipe-result.js +2 -1
- package/esm2015/observables/index.js +1 -1
- package/esm2015/observables/smart-search.js +2 -7
- package/esm2015/observables/taiga-ui-core-observables.js +1 -1
- package/esm2015/observables/zoneful-map.js +1 -1
- package/esm2015/pipes/calendar-sheet/calendar-sheet.module.js +14 -11
- package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +15 -14
- package/esm2015/pipes/calendar-sheet/index.js +1 -1
- package/esm2015/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js +1 -1
- package/esm2015/pipes/calendar-sheet/utils.js +5 -14
- package/esm2015/pipes/format-number/format-number.module.js +14 -11
- package/esm2015/pipes/format-number/format-number.pipe.js +17 -19
- package/esm2015/pipes/format-number/index.js +1 -1
- package/esm2015/pipes/format-number/taiga-ui-core-pipes-format-number.js +1 -1
- package/esm2015/pipes/format-phone/format-phone.module.js +14 -11
- package/esm2015/pipes/format-phone/format-phone.pipe.js +12 -10
- package/esm2015/pipes/format-phone/index.js +1 -1
- package/esm2015/pipes/format-phone/taiga-ui-core-pipes-format-phone.js +1 -1
- package/esm2015/pipes/index.js +1 -2
- package/esm2015/pipes/month/index.js +1 -1
- package/esm2015/pipes/month/month.module.js +14 -11
- package/esm2015/pipes/month/month.pipe.js +14 -14
- package/esm2015/pipes/month/taiga-ui-core-pipes-month.js +1 -1
- package/esm2015/pipes/taiga-ui-core-pipes.js +1 -1
- package/esm2015/providers/index.js +1 -1
- package/esm2015/providers/is-mobile-resolution.provider.js +5 -11
- package/esm2015/providers/mode.provider.js +8 -14
- package/esm2015/providers/taiga-ui-core-providers.js +1 -1
- package/esm2015/providers/watched-controller-provider-factory.js +4 -9
- package/esm2015/services/hint.service.js +14 -13
- package/esm2015/services/index.js +2 -1
- package/esm2015/services/night-theme.service.js +14 -17
- package/esm2015/services/position.service.js +34 -0
- package/esm2015/services/router-link-active.service.js +26 -19
- package/esm2015/services/svg.service.js +27 -27
- package/esm2015/services/taiga-ui-core-services.js +1 -1
- package/esm2015/taiga-ui-core.js +1 -1
- package/esm2015/tokens/animation-options.js +1 -1
- package/esm2015/tokens/animations-duration.js +1 -1
- package/esm2015/tokens/assert-enabled.js +1 -1
- package/esm2015/tokens/data-list-accessor.js +7 -1
- package/esm2015/tokens/data-list-host.js +7 -1
- package/esm2015/tokens/document-or-shadow-root.js +1 -1
- package/esm2015/tokens/element-ref.js +1 -1
- package/esm2015/tokens/first-day-of-week.js +1 -1
- package/esm2015/tokens/i18n.js +8 -8
- package/esm2015/tokens/icon-place.js +1 -1
- package/esm2015/tokens/icons-path.js +3 -3
- package/esm2015/tokens/icons.js +1 -1
- package/esm2015/tokens/index.js +2 -2
- package/esm2015/tokens/is-mobile-resolution.js +3 -3
- package/esm2015/tokens/media.js +1 -1
- package/esm2015/tokens/mode.js +1 -1
- package/esm2015/tokens/notification-options.js +1 -1
- package/esm2015/tokens/number-format.js +3 -7
- package/esm2015/tokens/option-content.js +7 -1
- package/esm2015/tokens/ordered-short-week-days.js +2 -3
- package/esm2015/tokens/sanitizer.js +3 -3
- package/esm2015/tokens/scroll-ref.js +1 -1
- package/esm2015/tokens/selection-stream.js +12 -0
- package/esm2015/tokens/svg-content-processor.js +3 -3
- package/esm2015/tokens/svg-src-processor.js +1 -1
- package/esm2015/tokens/taiga-ui-core-tokens.js +1 -1
- package/esm2015/tokens/textfield-appearance.js +1 -1
- package/esm2015/tokens/textfield-host.js +7 -1
- package/esm2015/tokens/theme.js +1 -1
- package/esm2015/tokens/value-accessor.js +1 -1
- package/esm2015/types/brightness.js +2 -1
- package/esm2015/types/data-list-role.js +2 -1
- package/esm2015/types/decimal-symbol.js +2 -1
- package/esm2015/types/decimal.js +2 -1
- package/esm2015/types/dialog-size.js +2 -1
- package/esm2015/types/direction.js +2 -1
- package/esm2015/types/dropdown-width.js +2 -1
- package/esm2015/types/hint-direction.js +2 -0
- package/esm2015/types/index.js +14 -1
- package/esm2015/types/marker-handler.js +2 -1
- package/esm2015/types/option-role.js +2 -1
- package/esm2015/types/orientation.js +2 -1
- package/esm2015/types/point.js +2 -1
- package/esm2015/types/size.js +2 -1
- package/esm2015/types/taiga-ui-core-types.js +2 -1
- package/esm2015/utils/dom/check-fixed-position.js +3 -8
- package/esm2015/utils/dom/get-safe-area-size.js +2 -5
- package/esm2015/utils/dom/get-screen-width.js +2 -7
- package/esm2015/utils/dom/get-viewport-height.js +1 -1
- package/esm2015/utils/dom/get-viewport-width.js +1 -1
- package/esm2015/utils/dom/get-word-range.js +50 -0
- package/esm2015/utils/dom/index.js +2 -2
- package/esm2015/utils/dom/process-icon.js +3 -10
- package/esm2015/utils/dom/taiga-ui-core-utils-dom.js +1 -1
- package/esm2015/utils/format/capitalize-first-letter.js +2 -7
- package/esm2015/utils/format/capitalize.js +2 -5
- package/esm2015/utils/format/format-number.js +9 -14
- package/esm2015/utils/format/format-phone.js +2 -5
- package/esm2015/utils/format/get-fractional-part-padded.js +6 -8
- package/esm2015/utils/format/index.js +1 -3
- package/esm2015/utils/format/number-to-string-without-exp.js +2 -5
- package/esm2015/utils/format/other-decimal-symbol.js +2 -7
- package/esm2015/utils/format/taiga-ui-core-utils-format.js +1 -1
- package/esm2015/utils/index.js +1 -2
- package/esm2015/utils/mask/create-auto-corrected-money-pipe.js +6 -6
- package/esm2015/utils/mask/create-correction-mask.js +1 -1
- package/esm2015/utils/mask/create-number-mask.js +4 -4
- package/esm2015/utils/mask/enable-auto-correct-decimal-symbol.js +1 -1
- package/esm2015/utils/mask/index.js +1 -1
- package/esm2015/utils/mask/masked-money-value-is-empty.js +2 -7
- package/esm2015/utils/mask/masked-number-string-to-number.js +2 -7
- package/esm2015/utils/mask/taiga-ui-core-utils-mask.js +1 -1
- package/esm2015/utils/miscellaneous/get-border.js +2 -7
- package/esm2015/utils/miscellaneous/icons-path-factory.js +2 -7
- package/esm2015/utils/miscellaneous/index.js +1 -2
- package/esm2015/utils/miscellaneous/is-editing-key.js +2 -5
- package/esm2015/utils/miscellaneous/is-presumed-html-string.js +2 -7
- package/esm2015/utils/miscellaneous/size-bigger.js +2 -5
- package/esm2015/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js +1 -1
- package/esm2015/utils/mobile/index.js +1 -1
- package/esm2015/utils/mobile/is-mobile.js +1 -1
- package/esm2015/utils/mobile/taiga-ui-core-utils-mobile.js +1 -1
- package/esm2015/utils/taiga-ui-core-utils.js +1 -1
- package/fesm2015/taiga-ui-core-abstract.js +74 -169
- package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-core-animations.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-alert.js +82 -114
- package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-button.js +108 -90
- package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-calendar.js +78 -46
- package/fesm2015/taiga-ui-core-components-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-data-list.js +199 -243
- package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +112 -101
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-error.js +48 -35
- package/fesm2015/taiga-ui-core-components-error.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-expand.js +79 -62
- package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-group.js +76 -71
- package/fesm2015/taiga-ui-core-components-group.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hints-host.js +43 -306
- package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +170 -123
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-label.js +50 -39
- package/fesm2015/taiga-ui-core-components-label.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-link.js +86 -62
- package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-loader.js +63 -48
- package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js +56 -40
- package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js +74 -49
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +53 -34
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +67 -44
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +333 -289
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +60 -36
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +85 -49
- package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scroll-controls.js +156 -122
- package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scrollbar.js +107 -83
- package/fesm2015/taiga-ui-core-components-scrollbar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-svg.js +76 -59
- package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-theme-night.js +26 -20
- package/fesm2015/taiga-ui-core-components-theme-night.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js +73 -78
- package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm2015/taiga-ui-core-components.js +0 -1
- package/fesm2015/taiga-ui-core-components.js.map +1 -1
- package/fesm2015/taiga-ui-core-constants.js +26 -18
- package/fesm2015/taiga-ui-core-constants.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-described-by.js +48 -39
- package/fesm2015/taiga-ui-core-directives-described-by.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +796 -52
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint-controller.js +74 -46
- package/fesm2015/taiga-ui-core-directives-hint-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +460 -112
- package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js +39 -29
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mode.js +28 -21
- package/fesm2015/taiga-ui-core-directives-mode.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +40 -35
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js +362 -234
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-wrapper.js +74 -76
- package/fesm2015/taiga-ui-core-directives-wrapper.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives.js +0 -5
- package/fesm2015/taiga-ui-core-directives.js.map +1 -1
- package/fesm2015/taiga-ui-core-enums.js +3 -101
- package/fesm2015/taiga-ui-core-enums.js.map +1 -1
- package/fesm2015/taiga-ui-core-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +55 -31
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +46 -39
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal.js.map +1 -1
- package/fesm2015/taiga-ui-core-mask.js.map +1 -1
- package/fesm2015/taiga-ui-core-observables.js +2 -7
- package/fesm2015/taiga-ui-core-observables.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +30 -33
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-number.js +29 -26
- package/fesm2015/taiga-ui-core-pipes-format-number.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-phone.js +24 -17
- package/fesm2015/taiga-ui-core-pipes-format-phone.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-month.js +26 -21
- package/fesm2015/taiga-ui-core-pipes-month.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes.js +0 -1
- package/fesm2015/taiga-ui-core-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-core-providers.js +15 -32
- package/fesm2015/taiga-ui-core-providers.js.map +1 -1
- package/fesm2015/taiga-ui-core-services.js +105 -63
- package/fesm2015/taiga-ui-core-services.js.map +1 -1
- package/fesm2015/taiga-ui-core-tokens.js +50 -25
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-core-types.js +11 -0
- package/fesm2015/taiga-ui-core-types.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-dom.js +57 -38
- package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-format.js +16 -79
- package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mask.js +11 -21
- package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js +6 -44
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mobile.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils.js +0 -1
- package/fesm2015/taiga-ui-core-utils.js.map +1 -1
- package/fesm2015/taiga-ui-core.js +3 -0
- package/fesm2015/taiga-ui-core.js.map +1 -1
- package/interfaces/index.d.ts +1 -3
- package/interfaces/number-format-settings.d.ts +16 -8
- package/interfaces/package.json +2 -5
- package/interfaces/portal-item.d.ts +10 -0
- package/interfaces/taiga-ui-core-interfaces.d.ts +1 -0
- package/internal/package.json +2 -5
- package/internal/primitive-year-month-pagination/package.json +2 -5
- package/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.d.ts +3 -0
- package/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.d.ts +10 -0
- package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.d.ts +1 -0
- package/internal/svg-defs-host/package.json +2 -5
- package/internal/svg-defs-host/svg-defs-host.component.d.ts +4 -1
- package/internal/svg-defs-host/svg-defs-host.module.d.ts +7 -0
- package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.d.ts +1 -0
- package/internal/taiga-ui-core-internal.d.ts +1 -0
- package/mask/package.json +2 -5
- package/mask/taiga-ui-core-mask.d.ts +1 -0
- package/observables/package.json +2 -5
- package/observables/smart-search.d.ts +1 -5
- package/observables/taiga-ui-core-observables.d.ts +1 -0
- package/package.json +11 -14
- package/pipes/calendar-sheet/calendar-sheet.module.d.ts +5 -0
- package/pipes/calendar-sheet/calendar-sheet.pipe.d.ts +3 -0
- package/pipes/calendar-sheet/package.json +2 -5
- package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.d.ts +1 -0
- package/pipes/calendar-sheet/utils.d.ts +0 -4
- package/pipes/format-number/format-number.module.d.ts +5 -0
- package/pipes/format-number/format-number.pipe.d.ts +5 -5
- package/pipes/format-number/package.json +2 -5
- package/pipes/format-number/taiga-ui-core-pipes-format-number.d.ts +1 -0
- package/pipes/format-phone/format-phone.module.d.ts +5 -0
- package/pipes/format-phone/format-phone.pipe.d.ts +3 -0
- package/pipes/format-phone/package.json +2 -5
- package/pipes/format-phone/taiga-ui-core-pipes-format-phone.d.ts +1 -0
- package/pipes/index.d.ts +0 -1
- package/pipes/month/month.module.d.ts +5 -0
- package/pipes/month/month.pipe.d.ts +4 -1
- package/pipes/month/package.json +2 -5
- package/pipes/month/taiga-ui-core-pipes-month.d.ts +1 -0
- package/pipes/package.json +2 -5
- package/pipes/taiga-ui-core-pipes.d.ts +1 -0
- package/providers/is-mobile-resolution.provider.d.ts +1 -7
- package/providers/mode.provider.d.ts +1 -9
- package/providers/package.json +2 -5
- package/providers/taiga-ui-core-providers.d.ts +1 -0
- package/providers/watched-controller-provider-factory.d.ts +2 -6
- package/services/hint.service.d.ts +9 -8
- package/services/index.d.ts +1 -0
- package/services/night-theme.service.d.ts +3 -0
- package/services/package.json +2 -5
- package/services/position.service.d.ts +10 -0
- package/services/router-link-active.service.d.ts +3 -0
- package/services/svg.service.d.ts +3 -0
- package/services/taiga-ui-core-services.d.ts +1 -0
- package/styles/mixins/picker.less +6 -6
- package/styles/mixins/picker.scss +6 -6
- package/styles/mixins/wrapper.less +3 -3
- package/styles/mixins/wrapper.scss +3 -3
- package/styles/taiga-ui-fonts.less +1 -0
- package/styles/taiga-ui-theme.less +0 -1
- package/styles/theme/variables.less +5 -2
- package/styles/theme/wrapper/accent.less +0 -1
- package/styles/theme/wrapper/base.less +0 -1
- package/styles/theme/wrapper/icon.less +0 -1
- package/styles/theme/wrapper/none.less +0 -1
- package/styles/theme/wrapper/outline.less +0 -1
- package/styles/theme/wrapper/primary.less +0 -1
- package/styles/theme/wrapper/secondary.less +0 -3
- package/styles/theme/wrapper/table.less +0 -1
- package/styles/theme/wrapper/textfield.less +0 -3
- package/styles/theme/wrapper/whiteblock.less +0 -3
- package/styles/variables/media.less +14 -36
- package/styles/variables/media.scss +0 -26
- package/taiga-ui-core.d.ts +1 -0
- package/tokens/data-list-accessor.d.ts +2 -1
- package/tokens/data-list-host.d.ts +2 -1
- package/tokens/index.d.ts +1 -1
- package/tokens/notification-options.d.ts +0 -4
- package/tokens/option-content.d.ts +2 -1
- package/tokens/ordered-short-week-days.d.ts +0 -1
- package/tokens/package.json +2 -5
- package/tokens/sanitizer.d.ts +2 -1
- package/tokens/selection-stream.d.ts +3 -0
- package/tokens/taiga-ui-core-tokens.d.ts +1 -0
- package/tokens/textfield-host.d.ts +2 -1
- package/types/decimal.d.ts +1 -1
- package/types/direction.d.ts +0 -2
- package/types/dropdown-width.d.ts +1 -1
- package/types/hint-direction.d.ts +1 -0
- package/types/index.d.ts +1 -3
- package/types/marker-handler.d.ts +1 -2
- package/types/orientation.d.ts +1 -1
- package/types/package.json +2 -5
- package/types/point.d.ts +1 -1
- package/types/taiga-ui-core-types.d.ts +1 -0
- package/utils/dom/check-fixed-position.d.ts +1 -5
- package/utils/dom/get-safe-area-size.d.ts +1 -3
- package/utils/dom/get-screen-width.d.ts +1 -5
- package/utils/dom/get-word-range.d.ts +7 -0
- package/utils/dom/index.d.ts +1 -1
- package/utils/dom/package.json +2 -5
- package/utils/dom/process-icon.d.ts +1 -5
- package/utils/dom/taiga-ui-core-utils-dom.d.ts +1 -0
- package/utils/format/capitalize-first-letter.d.ts +1 -5
- package/utils/format/capitalize.d.ts +1 -3
- package/utils/format/format-number.d.ts +3 -7
- package/utils/format/format-phone.d.ts +1 -3
- package/utils/format/get-fractional-part-padded.d.ts +1 -3
- package/utils/format/index.d.ts +0 -2
- package/utils/format/number-to-string-without-exp.d.ts +1 -3
- package/utils/format/other-decimal-symbol.d.ts +1 -5
- package/utils/format/package.json +2 -5
- package/utils/format/taiga-ui-core-utils-format.d.ts +1 -0
- package/utils/index.d.ts +0 -1
- package/utils/mask/masked-money-value-is-empty.d.ts +1 -5
- package/utils/mask/masked-number-string-to-number.d.ts +1 -5
- package/utils/mask/package.json +2 -5
- package/utils/mask/taiga-ui-core-utils-mask.d.ts +1 -0
- package/utils/miscellaneous/get-border.d.ts +1 -5
- package/utils/miscellaneous/icons-path-factory.d.ts +1 -5
- package/utils/miscellaneous/index.d.ts +0 -1
- package/utils/miscellaneous/is-editing-key.d.ts +1 -3
- package/utils/miscellaneous/is-presumed-html-string.d.ts +1 -5
- package/utils/miscellaneous/package.json +2 -5
- package/utils/miscellaneous/size-bigger.d.ts +1 -3
- package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.d.ts +1 -0
- package/utils/mobile/package.json +2 -5
- package/utils/mobile/taiga-ui-core-utils-mobile.d.ts +1 -0
- package/utils/package.json +2 -5
- package/utils/taiga-ui-core-utils.d.ts +1 -0
- package/abstract/abstract-dropdown.d.ts +0 -33
- package/abstract/abstract-hint-options.d.ts +0 -7
- package/abstract/abstract-hint.d.ts +0 -19
- package/abstract/taiga-ui-core-abstract.metadata.json +0 -1
- package/animations/taiga-ui-core-animations.metadata.json +0 -1
- package/bundles/taiga-ui-core-abstract.umd.min.js +0 -2
- package/bundles/taiga-ui-core-abstract.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-animations.umd.min.js +0 -2
- package/bundles/taiga-ui-core-animations.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-alert.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-alert.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-button.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-button.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-calendar.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-calendar.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-data-list.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-data-list.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-dialog.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-dialog.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.js +0 -584
- package/bundles/taiga-ui-core-components-dropdown-box.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-error.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-error.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-expand.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-expand.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-group.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-group.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-hints-host.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-label.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-label.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-link.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-link.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-loader.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-loader.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-notification.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-notification.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-root.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-root.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-scrollbar.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-svg.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-svg.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-theme-night.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-tooltip.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-constants.umd.min.js +0 -2
- package/bundles/taiga-ui-core-constants.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-color.umd.js +0 -314
- package/bundles/taiga-ui-core-directives-color.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-color.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-color.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-described-by.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-described-by.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-dropdown-controller.umd.js +0 -346
- package/bundles/taiga-ui-core-directives-dropdown-controller.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-dropdown-controller.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-dropdown-controller.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-dropdown.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-hint-controller.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-hint-controller.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-hint.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-hint.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-manual-hint.umd.js +0 -337
- package/bundles/taiga-ui-core-directives-manual-hint.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-mode.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-mode.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.js +0 -387
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-table-mode.umd.js +0 -295
- package/bundles/taiga-ui-core-directives-table-mode.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-table-mode.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-table-mode.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-wrapper.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-wrapper.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-enums.umd.min.js +0 -2
- package/bundles/taiga-ui-core-enums.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-interfaces.umd.min.js +0 -2
- package/bundles/taiga-ui-core-interfaces.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.min.js +0 -2
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.min.js +0 -2
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-internal.umd.min.js +0 -2
- package/bundles/taiga-ui-core-internal.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-mask.umd.min.js +0 -2
- package/bundles/taiga-ui-core-mask.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-observables.umd.min.js +0 -2
- package/bundles/taiga-ui-core-observables.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-format-number.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes-format-number.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-format-phone.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes-format-phone.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-month.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes-month.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-pluralize.umd.js +0 -296
- package/bundles/taiga-ui-core-pipes-pluralize.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-pluralize.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes-pluralize.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-providers.umd.min.js +0 -2
- package/bundles/taiga-ui-core-providers.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-services.umd.min.js +0 -2
- package/bundles/taiga-ui-core-services.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-tokens.umd.min.js +0 -2
- package/bundles/taiga-ui-core-tokens.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-types.umd.min.js +0 -2
- package/bundles/taiga-ui-core-types.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-dom.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-dom.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-format.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-format.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-mask.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-mask.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-mobile.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-mobile.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-polyfills.umd.js +0 -51
- package/bundles/taiga-ui-core-utils-polyfills.umd.js.map +0 -1
- package/bundles/taiga-ui-core-utils-polyfills.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-polyfills.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core.umd.min.js +0 -2
- package/bundles/taiga-ui-core.umd.min.js.map +0 -1
- package/components/alert/taiga-ui-core-components-alert.metadata.json +0 -1
- package/components/button/taiga-ui-core-components-button.metadata.json +0 -1
- package/components/calendar/taiga-ui-core-components-calendar.metadata.json +0 -1
- package/components/data-list/data-list-dropdown-manager.directive.d.ts +0 -12
- package/components/data-list/taiga-ui-core-components-data-list.metadata.json +0 -1
- package/components/dialog/taiga-ui-core-components-dialog.metadata.json +0 -1
- package/components/dropdown-box/dropdown-box.component.d.ts +0 -62
- package/components/dropdown-box/dropdown-box.module.d.ts +0 -2
- package/components/dropdown-box/index.d.ts +0 -2
- package/components/dropdown-box/package.json +0 -13
- package/components/dropdown-box/taiga-ui-core-components-dropdown-box.d.ts +0 -4
- package/components/dropdown-box/taiga-ui-core-components-dropdown-box.metadata.json +0 -1
- package/components/error/taiga-ui-core-components-error.metadata.json +0 -1
- package/components/expand/taiga-ui-core-components-expand.metadata.json +0 -1
- package/components/group/group.component.d.ts +0 -4
- package/components/group/taiga-ui-core-components-group.metadata.json +0 -1
- package/components/hints-host/hint-box/hint-box.component.d.ts +0 -38
- package/components/hints-host/hint-box/hint-box.module.d.ts +0 -2
- package/components/hints-host/taiga-ui-core-components-hints-host.metadata.json +0 -1
- package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.metadata.json +0 -1
- package/components/label/taiga-ui-core-components-label.metadata.json +0 -1
- package/components/link/taiga-ui-core-components-link.metadata.json +0 -1
- package/components/loader/taiga-ui-core-components-loader.metadata.json +0 -1
- package/components/notification/taiga-ui-core-components-notification.metadata.json +0 -1
- package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.metadata.json +0 -1
- package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.metadata.json +0 -1
- package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.metadata.json +0 -1
- package/components/primitive-textfield/primitive-textfield.providers.d.ts +0 -1
- package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.metadata.json +0 -1
- package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.metadata.json +0 -1
- package/components/root/taiga-ui-core-components-root.metadata.json +0 -1
- package/components/scroll-controls/taiga-ui-core-components-scroll-controls.metadata.json +0 -1
- package/components/scrollbar/taiga-ui-core-components-scrollbar.metadata.json +0 -1
- package/components/svg/taiga-ui-core-components-svg.metadata.json +0 -1
- package/components/taiga-ui-core-components.metadata.json +0 -1
- package/components/theme-night/taiga-ui-core-components-theme-night.metadata.json +0 -1
- package/components/tooltip/taiga-ui-core-components-tooltip.metadata.json +0 -1
- package/constants/absolute-box-sizes.d.ts +0 -4
- package/constants/media.d.ts +0 -10
- package/constants/taiga-ui-core-constants.metadata.json +0 -1
- package/directives/color/color.const.d.ts +0 -4
- package/directives/color/color.directive.d.ts +0 -10
- package/directives/color/color.module.d.ts +0 -5
- package/directives/color/index.d.ts +0 -3
- package/directives/color/package.json +0 -13
- package/directives/color/taiga-ui-core-directives-color.d.ts +0 -4
- package/directives/color/taiga-ui-core-directives-color.metadata.json +0 -1
- package/directives/described-by/taiga-ui-core-directives-described-by.metadata.json +0 -1
- package/directives/dropdown/taiga-ui-core-directives-dropdown.metadata.json +0 -1
- package/directives/dropdown-controller/dropdown-controller.directive.d.ts +0 -10
- package/directives/dropdown-controller/dropdown-controller.module.d.ts +0 -2
- package/directives/dropdown-controller/dropdown-controller.provider.d.ts +0 -5
- package/directives/dropdown-controller/dropdown-controller.token.d.ts +0 -3
- package/directives/dropdown-controller/index.d.ts +0 -4
- package/directives/dropdown-controller/package.json +0 -13
- package/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.d.ts +0 -4
- package/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.metadata.json +0 -1
- package/directives/hint/taiga-ui-core-directives-hint.metadata.json +0 -1
- package/directives/hint-controller/taiga-ui-core-directives-hint-controller.metadata.json +0 -1
- package/directives/manual-hint/index.d.ts +0 -3
- package/directives/manual-hint/manual-hint-options.d.ts +0 -7
- package/directives/manual-hint/manual-hint.directive.d.ts +0 -13
- package/directives/manual-hint/manual-hint.module.d.ts +0 -2
- package/directives/manual-hint/package.json +0 -13
- package/directives/manual-hint/taiga-ui-core-directives-manual-hint.d.ts +0 -4
- package/directives/manual-hint/taiga-ui-core-directives-manual-hint.metadata.json +0 -1
- package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.metadata.json +0 -1
- package/directives/mode/taiga-ui-core-directives-mode.metadata.json +0 -1
- package/directives/pointer-hint/index.d.ts +0 -3
- package/directives/pointer-hint/package.json +0 -13
- package/directives/pointer-hint/pointer-hint-options.d.ts +0 -10
- package/directives/pointer-hint/pointer-hint.directive.d.ts +0 -19
- package/directives/pointer-hint/pointer-hint.module.d.ts +0 -2
- package/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.d.ts +0 -4
- package/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.metadata.json +0 -1
- package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.metadata.json +0 -1
- package/directives/table-mode/index.d.ts +0 -2
- package/directives/table-mode/package.json +0 -13
- package/directives/table-mode/table-mode.directive.d.ts +0 -5
- package/directives/table-mode/table-mode.module.d.ts +0 -3
- package/directives/table-mode/taiga-ui-core-directives-table-mode.d.ts +0 -4
- package/directives/table-mode/taiga-ui-core-directives-table-mode.metadata.json +0 -1
- package/directives/taiga-ui-core-directives.metadata.json +0 -1
- package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.metadata.json +0 -1
- package/directives/wrapper/taiga-ui-core-directives-wrapper.metadata.json +0 -1
- package/enums/base-color.d.ts +0 -9
- package/enums/button-shape.d.ts +0 -7
- package/enums/decimal.d.ts +0 -8
- package/enums/dropdown-width.d.ts +0 -8
- package/enums/hint-mode.d.ts +0 -8
- package/enums/link-mode.d.ts +0 -7
- package/enums/orientation.d.ts +0 -7
- package/enums/support-color.d.ts +0 -26
- package/enums/taiga-ui-core-enums.metadata.json +0 -1
- package/esm2015/abstract/abstract-dropdown.js +0 -117
- package/esm2015/abstract/abstract-hint-options.js +0 -6
- package/esm2015/abstract/abstract-hint.js +0 -43
- package/esm2015/components/data-list/data-list-dropdown-manager.directive.js +0 -96
- package/esm2015/components/dropdown-box/dropdown-box.component.js +0 -299
- package/esm2015/components/dropdown-box/dropdown-box.module.js +0 -25
- package/esm2015/components/dropdown-box/index.js +0 -3
- package/esm2015/components/dropdown-box/taiga-ui-core-components-dropdown-box.js +0 -5
- package/esm2015/components/group/group.component.js +0 -21
- package/esm2015/components/hints-host/hint-box/hint-box.component.js +0 -261
- package/esm2015/components/hints-host/hint-box/hint-box.module.js +0 -18
- package/esm2015/components/primitive-textfield/primitive-textfield.providers.js +0 -16
- package/esm2015/constants/absolute-box-sizes.js +0 -5
- package/esm2015/constants/media.js +0 -11
- package/esm2015/directives/color/color.const.js +0 -318
- package/esm2015/directives/color/color.directive.js +0 -35
- package/esm2015/directives/color/color.module.js +0 -16
- package/esm2015/directives/color/index.js +0 -4
- package/esm2015/directives/color/taiga-ui-core-directives-color.js +0 -5
- package/esm2015/directives/dropdown-controller/dropdown-controller.directive.js +0 -54
- package/esm2015/directives/dropdown-controller/dropdown-controller.module.js +0 -13
- package/esm2015/directives/dropdown-controller/dropdown-controller.provider.js +0 -16
- package/esm2015/directives/dropdown-controller/dropdown-controller.token.js +0 -6
- package/esm2015/directives/dropdown-controller/index.js +0 -5
- package/esm2015/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.js +0 -5
- package/esm2015/directives/manual-hint/index.js +0 -4
- package/esm2015/directives/manual-hint/manual-hint-options.js +0 -12
- package/esm2015/directives/manual-hint/manual-hint.directive.js +0 -50
- package/esm2015/directives/manual-hint/manual-hint.module.js +0 -13
- package/esm2015/directives/manual-hint/taiga-ui-core-directives-manual-hint.js +0 -5
- package/esm2015/directives/pointer-hint/index.js +0 -4
- package/esm2015/directives/pointer-hint/pointer-hint-options.js +0 -12
- package/esm2015/directives/pointer-hint/pointer-hint.directive.js +0 -96
- package/esm2015/directives/pointer-hint/pointer-hint.module.js +0 -13
- package/esm2015/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.js +0 -5
- package/esm2015/directives/table-mode/index.js +0 -3
- package/esm2015/directives/table-mode/table-mode.directive.js +0 -21
- package/esm2015/directives/table-mode/table-mode.module.js +0 -14
- package/esm2015/directives/table-mode/taiga-ui-core-directives-table-mode.js +0 -5
- package/esm2015/enums/base-color.js +0 -11
- package/esm2015/enums/button-shape.js +0 -9
- package/esm2015/enums/decimal.js +0 -10
- package/esm2015/enums/dropdown-width.js +0 -10
- package/esm2015/enums/hint-mode.js +0 -10
- package/esm2015/enums/link-mode.js +0 -9
- package/esm2015/enums/orientation.js +0 -9
- package/esm2015/enums/support-color.js +0 -28
- package/esm2015/interfaces/dropdown-directive.js +0 -1
- package/esm2015/interfaces/hint.js +0 -1
- package/esm2015/interfaces/notification-options.js +0 -1
- package/esm2015/pipes/pluralize/index.js +0 -3
- package/esm2015/pipes/pluralize/pluralize.module.js +0 -14
- package/esm2015/pipes/pluralize/pluralize.pipe.js +0 -22
- package/esm2015/pipes/pluralize/taiga-ui-core-pipes-pluralize.js +0 -5
- package/esm2015/tokens/dropdown-directive.js +0 -3
- package/esm2015/types/color.js +0 -1
- package/esm2015/types/hint-mode.js +0 -1
- package/esm2015/types/pluralize.js +0 -1
- package/esm2015/utils/dom/are-css-vars-supported.js +0 -11
- package/esm2015/utils/format/pluralize-to-icu.js +0 -13
- package/esm2015/utils/format/pluralize.js +0 -23
- package/esm2015/utils/miscellaneous/color-fallback.js +0 -17
- package/esm2015/utils/polyfills/index.js +0 -2
- package/esm2015/utils/polyfills/inner-html.js +0 -40
- package/esm2015/utils/polyfills/taiga-ui-core-utils-polyfills.js +0 -5
- package/esm5/abstract/abstract-dropdown.js +0 -130
- package/esm5/abstract/abstract-hint-options.js +0 -6
- package/esm5/abstract/abstract-hint.js +0 -44
- package/esm5/abstract/abstract-textfield-host.js +0 -55
- package/esm5/abstract/index.js +0 -5
- package/esm5/abstract/taiga-ui-core-abstract.js +0 -5
- package/esm5/animations/animations.js +0 -251
- package/esm5/animations/index.js +0 -2
- package/esm5/animations/taiga-ui-core-animations.js +0 -5
- package/esm5/components/alert/alert.component.js +0 -98
- package/esm5/components/alert/alert.module.js +0 -40
- package/esm5/components/alert/alert.service.js +0 -52
- package/esm5/components/alert/index.js +0 -4
- package/esm5/components/alert/taiga-ui-core-components-alert.js +0 -5
- package/esm5/components/button/button-options.js +0 -15
- package/esm5/components/button/button.component.js +0 -156
- package/esm5/components/button/button.module.js +0 -28
- package/esm5/components/button/index.js +0 -4
- package/esm5/components/button/taiga-ui-core-components-button.js +0 -5
- package/esm5/components/calendar/calendar.component.js +0 -135
- package/esm5/components/calendar/calendar.module.js +0 -30
- package/esm5/components/calendar/index.js +0 -3
- package/esm5/components/calendar/taiga-ui-core-components-calendar.js +0 -5
- package/esm5/components/data-list/data-list-dropdown-manager.directive.js +0 -142
- package/esm5/components/data-list/data-list.component.js +0 -128
- package/esm5/components/data-list/data-list.directive.js +0 -14
- package/esm5/components/data-list/data-list.module.js +0 -36
- package/esm5/components/data-list/index.js +0 -7
- package/esm5/components/data-list/opt-group.directive.js +0 -24
- package/esm5/components/data-list/option/option.component.js +0 -107
- package/esm5/components/data-list/taiga-ui-core-components-data-list.js +0 -5
- package/esm5/components/dialog/dialog.component.js +0 -102
- package/esm5/components/dialog/dialog.directive.js +0 -26
- package/esm5/components/dialog/dialog.module.js +0 -31
- package/esm5/components/dialog/dialog.providers.js +0 -59
- package/esm5/components/dialog/dialog.service.js +0 -34
- package/esm5/components/dialog/index.js +0 -6
- package/esm5/components/dialog/taiga-ui-core-components-dialog.js +0 -5
- package/esm5/components/dropdown-box/dropdown-box.component.js +0 -313
- package/esm5/components/dropdown-box/dropdown-box.module.js +0 -28
- package/esm5/components/dropdown-box/index.js +0 -3
- package/esm5/components/dropdown-box/taiga-ui-core-components-dropdown-box.js +0 -5
- package/esm5/components/error/error.component.js +0 -48
- package/esm5/components/error/error.module.js +0 -19
- package/esm5/components/error/index.js +0 -3
- package/esm5/components/error/taiga-ui-core-components-error.js +0 -5
- package/esm5/components/expand/expand-content.directive.js +0 -15
- package/esm5/components/expand/expand.component.js +0 -153
- package/esm5/components/expand/expand.module.js +0 -20
- package/esm5/components/expand/index.js +0 -4
- package/esm5/components/expand/taiga-ui-core-components-expand.js +0 -5
- package/esm5/components/group/group-styles.component.js +0 -16
- package/esm5/components/group/group.component.js +0 -24
- package/esm5/components/group/group.directive.js +0 -83
- package/esm5/components/group/group.module.js +0 -21
- package/esm5/components/group/index.js +0 -5
- package/esm5/components/group/taiga-ui-core-components-group.js +0 -5
- package/esm5/components/hints-host/hint-box/hint-box.component.js +0 -279
- package/esm5/components/hints-host/hint-box/hint-box.module.js +0 -21
- package/esm5/components/hints-host/hints-host.component.js +0 -42
- package/esm5/components/hints-host/hints-host.module.js +0 -21
- package/esm5/components/hints-host/index.js +0 -5
- package/esm5/components/hints-host/taiga-ui-core-components-hints-host.js +0 -5
- package/esm5/components/hosted-dropdown/hosted-dropdown-connector.directive.js +0 -14
- package/esm5/components/hosted-dropdown/hosted-dropdown.component.js +0 -230
- package/esm5/components/hosted-dropdown/hosted-dropdown.module.js +0 -28
- package/esm5/components/hosted-dropdown/index.js +0 -4
- package/esm5/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js +0 -5
- package/esm5/components/index.js +0 -27
- package/esm5/components/label/index.js +0 -3
- package/esm5/components/label/label.component.js +0 -48
- package/esm5/components/label/label.module.js +0 -18
- package/esm5/components/label/taiga-ui-core-components-label.js +0 -5
- package/esm5/components/link/index.js +0 -3
- package/esm5/components/link/link.component.js +0 -121
- package/esm5/components/link/link.module.js +0 -19
- package/esm5/components/link/taiga-ui-core-components-link.js +0 -5
- package/esm5/components/loader/index.js +0 -4
- package/esm5/components/loader/loader-options.js +0 -16
- package/esm5/components/loader/loader.component.js +0 -105
- package/esm5/components/loader/loader.module.js +0 -19
- package/esm5/components/loader/taiga-ui-core-components-loader.js +0 -5
- package/esm5/components/notification/index.js +0 -3
- package/esm5/components/notification/notification.component.js +0 -68
- package/esm5/components/notification/notification.module.js +0 -20
- package/esm5/components/notification/taiga-ui-core-components-notification.js +0 -5
- package/esm5/components/primitive-calendar/index.js +0 -3
- package/esm5/components/primitive-calendar/primitive-calendar.component.js +0 -165
- package/esm5/components/primitive-calendar/primitive-calendar.module.js +0 -30
- package/esm5/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js +0 -5
- package/esm5/components/primitive-checkbox/checkbox-options.js +0 -29
- package/esm5/components/primitive-checkbox/index.js +0 -4
- package/esm5/components/primitive-checkbox/primitive-checkbox.component.js +0 -99
- package/esm5/components/primitive-checkbox/primitive-checkbox.module.js +0 -20
- package/esm5/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js +0 -5
- package/esm5/components/primitive-spin-button/index.js +0 -3
- package/esm5/components/primitive-spin-button/primitive-spin-button.component.js +0 -97
- package/esm5/components/primitive-spin-button/primitive-spin-button.module.js +0 -27
- package/esm5/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js +0 -5
- package/esm5/components/primitive-textfield/index.js +0 -8
- package/esm5/components/primitive-textfield/primitive-textfield-options.js +0 -17
- package/esm5/components/primitive-textfield/primitive-textfield.component.js +0 -370
- package/esm5/components/primitive-textfield/primitive-textfield.directive.js +0 -49
- package/esm5/components/primitive-textfield/primitive-textfield.module.js +0 -51
- package/esm5/components/primitive-textfield/primitive-textfield.providers.js +0 -16
- package/esm5/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js +0 -5
- package/esm5/components/primitive-textfield/textfield/textfield.component.js +0 -77
- package/esm5/components/primitive-textfield/value-decoration/value-decoration.component.js +0 -123
- package/esm5/components/primitive-year-picker/index.js +0 -3
- package/esm5/components/primitive-year-picker/primitive-year-picker.component.js +0 -174
- package/esm5/components/primitive-year-picker/primitive-year-picker.module.js +0 -25
- package/esm5/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js +0 -5
- package/esm5/components/root/index.js +0 -3
- package/esm5/components/root/root.component.js +0 -62
- package/esm5/components/root/root.module.js +0 -33
- package/esm5/components/root/taiga-ui-core-components-root.js +0 -5
- package/esm5/components/scroll-controls/index.js +0 -4
- package/esm5/components/scroll-controls/scroll-controls.component.js +0 -68
- package/esm5/components/scroll-controls/scroll-controls.module.js +0 -25
- package/esm5/components/scroll-controls/scrollbar-wrapper.directive.js +0 -21
- package/esm5/components/scroll-controls/scrollbar.directive.js +0 -171
- package/esm5/components/scroll-controls/taiga-ui-core-components-scroll-controls.js +0 -6
- package/esm5/components/scrollbar/index.js +0 -5
- package/esm5/components/scrollbar/scroll-ref.directive.js +0 -22
- package/esm5/components/scrollbar/scrollable.directive.js +0 -26
- package/esm5/components/scrollbar/scrollbar.component.js +0 -97
- package/esm5/components/scrollbar/scrollbar.module.js +0 -21
- package/esm5/components/scrollbar/taiga-ui-core-components-scrollbar.js +0 -5
- package/esm5/components/svg/index.js +0 -3
- package/esm5/components/svg/svg.component.js +0 -207
- package/esm5/components/svg/svg.module.js +0 -19
- package/esm5/components/svg/taiga-ui-core-components-svg.js +0 -5
- package/esm5/components/taiga-ui-core-components.js +0 -5
- package/esm5/components/theme-night/index.js +0 -3
- package/esm5/components/theme-night/taiga-ui-core-components-theme-night.js +0 -5
- package/esm5/components/theme-night/theme-night.component.js +0 -21
- package/esm5/components/theme-night/theme-night.module.js +0 -16
- package/esm5/components/tooltip/index.js +0 -3
- package/esm5/components/tooltip/taiga-ui-core-components-tooltip.js +0 -5
- package/esm5/components/tooltip/tooltip.component.js +0 -99
- package/esm5/components/tooltip/tooltip.module.js +0 -21
- package/esm5/constants/absolute-box-sizes.js +0 -5
- package/esm5/constants/decimal-symbols.js +0 -2
- package/esm5/constants/default-icons-path.js +0 -4
- package/esm5/constants/default-marker-handler.js +0 -3
- package/esm5/constants/editing-keys.js +0 -12
- package/esm5/constants/events.js +0 -19
- package/esm5/constants/index.js +0 -11
- package/esm5/constants/mask-caret-trap.js +0 -2
- package/esm5/constants/media.js +0 -11
- package/esm5/constants/regexp.js +0 -9
- package/esm5/constants/taiga-ui-core-constants.js +0 -5
- package/esm5/constants/version.js +0 -7
- package/esm5/directives/color/color.const.js +0 -5
- package/esm5/directives/color/color.directive.js +0 -36
- package/esm5/directives/color/color.module.js +0 -19
- package/esm5/directives/color/index.js +0 -4
- package/esm5/directives/color/taiga-ui-core-directives-color.js +0 -5
- package/esm5/directives/described-by/described-by.directive.js +0 -56
- package/esm5/directives/described-by/described-by.module.js +0 -16
- package/esm5/directives/described-by/described-by.providers.js +0 -26
- package/esm5/directives/described-by/index.js +0 -4
- package/esm5/directives/described-by/taiga-ui-core-directives-described-by.js +0 -5
- package/esm5/directives/dropdown/dropdown.directive.js +0 -55
- package/esm5/directives/dropdown/dropdown.module.js +0 -18
- package/esm5/directives/dropdown/index.js +0 -3
- package/esm5/directives/dropdown/taiga-ui-core-directives-dropdown.js +0 -5
- package/esm5/directives/dropdown-controller/dropdown-controller.directive.js +0 -58
- package/esm5/directives/dropdown-controller/dropdown-controller.module.js +0 -16
- package/esm5/directives/dropdown-controller/dropdown-controller.provider.js +0 -16
- package/esm5/directives/dropdown-controller/dropdown-controller.token.js +0 -6
- package/esm5/directives/dropdown-controller/index.js +0 -5
- package/esm5/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.js +0 -5
- package/esm5/directives/hint/hint-options.js +0 -15
- package/esm5/directives/hint/hint.directive.js +0 -145
- package/esm5/directives/hint/hint.module.js +0 -16
- package/esm5/directives/hint/index.js +0 -4
- package/esm5/directives/hint/taiga-ui-core-directives-hint.js +0 -5
- package/esm5/directives/hint-controller/hint-controller.directive.js +0 -60
- package/esm5/directives/hint-controller/hint-controller.module.js +0 -16
- package/esm5/directives/hint-controller/hint-controller.provider.js +0 -16
- package/esm5/directives/hint-controller/hint-controller.token.js +0 -7
- package/esm5/directives/hint-controller/index.js +0 -5
- package/esm5/directives/hint-controller/taiga-ui-core-directives-hint-controller.js +0 -5
- package/esm5/directives/index.js +0 -15
- package/esm5/directives/manual-hint/index.js +0 -4
- package/esm5/directives/manual-hint/manual-hint-options.js +0 -13
- package/esm5/directives/manual-hint/manual-hint.directive.js +0 -57
- package/esm5/directives/manual-hint/manual-hint.module.js +0 -16
- package/esm5/directives/manual-hint/taiga-ui-core-directives-manual-hint.js +0 -5
- package/esm5/directives/mask-accessor/index.js +0 -3
- package/esm5/directives/mask-accessor/mask-accessor.directive.js +0 -28
- package/esm5/directives/mask-accessor/mask-accessor.module.js +0 -19
- package/esm5/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js +0 -5
- package/esm5/directives/mode/index.js +0 -3
- package/esm5/directives/mode/mode.directive.js +0 -22
- package/esm5/directives/mode/mode.module.js +0 -16
- package/esm5/directives/mode/taiga-ui-core-directives-mode.js +0 -5
- package/esm5/directives/pointer-hint/index.js +0 -4
- package/esm5/directives/pointer-hint/pointer-hint-options.js +0 -13
- package/esm5/directives/pointer-hint/pointer-hint.directive.js +0 -109
- package/esm5/directives/pointer-hint/pointer-hint.module.js +0 -16
- package/esm5/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.js +0 -5
- package/esm5/directives/scroll-into-view/index.js +0 -3
- package/esm5/directives/scroll-into-view/scroll-into-view.directive.js +0 -59
- package/esm5/directives/scroll-into-view/scroll-into-view.module.js +0 -16
- package/esm5/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js +0 -5
- package/esm5/directives/table-mode/index.js +0 -3
- package/esm5/directives/table-mode/table-mode.directive.js +0 -24
- package/esm5/directives/table-mode/table-mode.module.js +0 -17
- package/esm5/directives/table-mode/taiga-ui-core-directives-table-mode.js +0 -5
- package/esm5/directives/taiga-ui-core-directives.js +0 -5
- package/esm5/directives/textfield-controller/index.js +0 -13
- package/esm5/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js +0 -5
- package/esm5/directives/textfield-controller/textfield-autocomplete.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-cleaner.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-controller.module.js +0 -44
- package/esm5/directives/textfield-controller/textfield-controller.provider.js +0 -54
- package/esm5/directives/textfield-controller/textfield-custom-content.directive.js +0 -38
- package/esm5/directives/textfield-controller/textfield-example-text.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-input-mode.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-label-outside.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-max-length.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-size.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-type.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield.controller.js +0 -80
- package/esm5/directives/wrapper/index.js +0 -3
- package/esm5/directives/wrapper/taiga-ui-core-directives-wrapper.js +0 -5
- package/esm5/directives/wrapper/wrapper.directive.js +0 -120
- package/esm5/directives/wrapper/wrapper.module.js +0 -16
- package/esm5/enums/appearance.js +0 -15
- package/esm5/enums/base-color.js +0 -11
- package/esm5/enums/button-shape.js +0 -9
- package/esm5/enums/decimal.js +0 -10
- package/esm5/enums/dropdown-animation.js +0 -6
- package/esm5/enums/dropdown-width.js +0 -10
- package/esm5/enums/hint-mode.js +0 -10
- package/esm5/enums/index.js +0 -14
- package/esm5/enums/interactive-state.js +0 -13
- package/esm5/enums/link-mode.js +0 -9
- package/esm5/enums/notification.js +0 -8
- package/esm5/enums/orientation.js +0 -9
- package/esm5/enums/range-state.js +0 -10
- package/esm5/enums/support-color.js +0 -28
- package/esm5/enums/taiga-ui-core-enums.js +0 -5
- package/esm5/index.js +0 -14
- package/esm5/interfaces/alert-options.js +0 -1
- package/esm5/interfaces/animation-options.js +0 -1
- package/esm5/interfaces/data-list-accessor.js +0 -1
- package/esm5/interfaces/data-list-host.js +0 -1
- package/esm5/interfaces/dialog-context.js +0 -1
- package/esm5/interfaces/dialog-options.js +0 -1
- package/esm5/interfaces/dropdown-directive.js +0 -1
- package/esm5/interfaces/hint.js +0 -1
- package/esm5/interfaces/icon-error.js +0 -1
- package/esm5/interfaces/index.js +0 -1
- package/esm5/interfaces/media.js +0 -1
- package/esm5/interfaces/notification-options.js +0 -1
- package/esm5/interfaces/number-format-settings.js +0 -1
- package/esm5/interfaces/taiga-ui-core-interfaces.js +0 -4
- package/esm5/interfaces/textfield-host.js +0 -1
- package/esm5/interfaces/value-content-context.js +0 -1
- package/esm5/interfaces/with-optional-min-max.js +0 -1
- package/esm5/internal/index.js +0 -3
- package/esm5/internal/primitive-year-month-pagination/index.js +0 -3
- package/esm5/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +0 -89
- package/esm5/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +0 -28
- package/esm5/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js +0 -5
- package/esm5/internal/svg-defs-host/index.js +0 -3
- package/esm5/internal/svg-defs-host/svg-defs-host.component.js +0 -50
- package/esm5/internal/svg-defs-host/svg-defs-host.module.js +0 -19
- package/esm5/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js +0 -5
- package/esm5/internal/taiga-ui-core-internal.js +0 -5
- package/esm5/mask/index.js +0 -1
- package/esm5/mask/number-mask-options.js +0 -1
- package/esm5/mask/taiga-ui-core-mask.js +0 -4
- package/esm5/mask/text-mask-config.js +0 -1
- package/esm5/mask/text-mask-correction-handler.js +0 -1
- package/esm5/mask/text-mask-list-handler.js +0 -1
- package/esm5/mask/text-mask-list.js +0 -1
- package/esm5/mask/text-mask-options.js +0 -1
- package/esm5/mask/text-mask-pipe-handler.js +0 -1
- package/esm5/mask/text-mask-pipe-result.js +0 -1
- package/esm5/observables/index.js +0 -3
- package/esm5/observables/smart-search.js +0 -18
- package/esm5/observables/taiga-ui-core-observables.js +0 -5
- package/esm5/observables/zoneful-map.js +0 -14
- package/esm5/pipes/calendar-sheet/calendar-sheet.module.js +0 -16
- package/esm5/pipes/calendar-sheet/calendar-sheet.pipe.js +0 -63
- package/esm5/pipes/calendar-sheet/index.js +0 -3
- package/esm5/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js +0 -5
- package/esm5/pipes/calendar-sheet/utils.js +0 -44
- package/esm5/pipes/format-number/format-number.module.js +0 -16
- package/esm5/pipes/format-number/format-number.pipe.js +0 -35
- package/esm5/pipes/format-number/index.js +0 -3
- package/esm5/pipes/format-number/taiga-ui-core-pipes-format-number.js +0 -5
- package/esm5/pipes/format-phone/format-phone.module.js +0 -16
- package/esm5/pipes/format-phone/format-phone.pipe.js +0 -27
- package/esm5/pipes/format-phone/index.js +0 -3
- package/esm5/pipes/format-phone/taiga-ui-core-pipes-format-phone.js +0 -5
- package/esm5/pipes/index.js +0 -6
- package/esm5/pipes/month/index.js +0 -3
- package/esm5/pipes/month/month.module.js +0 -16
- package/esm5/pipes/month/month.pipe.js +0 -25
- package/esm5/pipes/month/taiga-ui-core-pipes-month.js +0 -5
- package/esm5/pipes/pluralize/index.js +0 -3
- package/esm5/pipes/pluralize/pluralize.module.js +0 -17
- package/esm5/pipes/pluralize/pluralize.pipe.js +0 -25
- package/esm5/pipes/pluralize/taiga-ui-core-pipes-pluralize.js +0 -5
- package/esm5/pipes/taiga-ui-core-pipes.js +0 -5
- package/esm5/providers/index.js +0 -4
- package/esm5/providers/is-mobile-resolution.provider.js +0 -18
- package/esm5/providers/mode.provider.js +0 -24
- package/esm5/providers/taiga-ui-core-providers.js +0 -5
- package/esm5/providers/watched-controller-provider-factory.js +0 -12
- package/esm5/services/hint.service.js +0 -60
- package/esm5/services/index.js +0 -5
- package/esm5/services/night-theme.service.js +0 -31
- package/esm5/services/router-link-active.service.js +0 -35
- package/esm5/services/svg.service.js +0 -73
- package/esm5/services/taiga-ui-core-services.js +0 -5
- package/esm5/taiga-ui-core.js +0 -5
- package/esm5/tokens/animation-options.js +0 -10
- package/esm5/tokens/animations-duration.js +0 -5
- package/esm5/tokens/assert-enabled.js +0 -5
- package/esm5/tokens/data-list-accessor.js +0 -3
- package/esm5/tokens/data-list-host.js +0 -3
- package/esm5/tokens/document-or-shadow-root.js +0 -3
- package/esm5/tokens/dropdown-directive.js +0 -3
- package/esm5/tokens/element-ref.js +0 -3
- package/esm5/tokens/first-day-of-week.js +0 -5
- package/esm5/tokens/i18n.js +0 -21
- package/esm5/tokens/icon-place.js +0 -5
- package/esm5/tokens/icons-path.js +0 -5
- package/esm5/tokens/icons.js +0 -5
- package/esm5/tokens/index.js +0 -29
- package/esm5/tokens/is-mobile-resolution.js +0 -14
- package/esm5/tokens/media.js +0 -9
- package/esm5/tokens/mode.js +0 -3
- package/esm5/tokens/notification-options.js +0 -21
- package/esm5/tokens/number-format.js +0 -10
- package/esm5/tokens/option-content.js +0 -3
- package/esm5/tokens/ordered-short-week-days.js +0 -20
- package/esm5/tokens/sanitizer.js +0 -3
- package/esm5/tokens/scroll-ref.js +0 -3
- package/esm5/tokens/svg-content-processor.js +0 -4
- package/esm5/tokens/svg-src-processor.js +0 -6
- package/esm5/tokens/taiga-ui-core-tokens.js +0 -5
- package/esm5/tokens/textfield-appearance.js +0 -5
- package/esm5/tokens/textfield-host.js +0 -3
- package/esm5/tokens/theme.js +0 -5
- package/esm5/tokens/value-accessor.js +0 -3
- package/esm5/types/brightness.js +0 -1
- package/esm5/types/color.js +0 -1
- package/esm5/types/data-list-role.js +0 -1
- package/esm5/types/decimal-symbol.js +0 -1
- package/esm5/types/decimal.js +0 -1
- package/esm5/types/dialog-size.js +0 -1
- package/esm5/types/direction.js +0 -1
- package/esm5/types/dropdown-width.js +0 -1
- package/esm5/types/hint-mode.js +0 -1
- package/esm5/types/index.js +0 -1
- package/esm5/types/marker-handler.js +0 -1
- package/esm5/types/option-role.js +0 -1
- package/esm5/types/orientation.js +0 -1
- package/esm5/types/pluralize.js +0 -1
- package/esm5/types/point.js +0 -1
- package/esm5/types/size.js +0 -11
- package/esm5/types/taiga-ui-core-types.js +0 -4
- package/esm5/utils/dom/are-css-vars-supported.js +0 -11
- package/esm5/utils/dom/check-fixed-position.js +0 -14
- package/esm5/utils/dom/get-safe-area-size.js +0 -20
- package/esm5/utils/dom/get-screen-width.js +0 -9
- package/esm5/utils/dom/get-viewport-height.js +0 -22
- package/esm5/utils/dom/get-viewport-width.js +0 -22
- package/esm5/utils/dom/index.js +0 -8
- package/esm5/utils/dom/process-icon.js +0 -38
- package/esm5/utils/dom/taiga-ui-core-utils-dom.js +0 -5
- package/esm5/utils/format/capitalize-first-letter.js +0 -9
- package/esm5/utils/format/capitalize.js +0 -14
- package/esm5/utils/format/format-number.js +0 -46
- package/esm5/utils/format/format-phone.js +0 -43
- package/esm5/utils/format/get-fractional-part-padded.js +0 -19
- package/esm5/utils/format/index.js +0 -10
- package/esm5/utils/format/number-to-string-without-exp.js +0 -22
- package/esm5/utils/format/other-decimal-symbol.js +0 -9
- package/esm5/utils/format/pluralize-to-icu.js +0 -13
- package/esm5/utils/format/pluralize.js +0 -25
- package/esm5/utils/format/taiga-ui-core-utils-format.js +0 -5
- package/esm5/utils/index.js +0 -7
- package/esm5/utils/mask/create-auto-corrected-money-pipe.js +0 -99
- package/esm5/utils/mask/create-correction-mask.js +0 -27
- package/esm5/utils/mask/create-number-mask.js +0 -125
- package/esm5/utils/mask/enable-auto-correct-decimal-symbol.js +0 -6
- package/esm5/utils/mask/index.js +0 -7
- package/esm5/utils/mask/masked-money-value-is-empty.js +0 -18
- package/esm5/utils/mask/masked-number-string-to-number.js +0 -9
- package/esm5/utils/mask/taiga-ui-core-utils-mask.js +0 -5
- package/esm5/utils/miscellaneous/color-fallback.js +0 -17
- package/esm5/utils/miscellaneous/get-border.js +0 -27
- package/esm5/utils/miscellaneous/icons-path-factory.js +0 -16
- package/esm5/utils/miscellaneous/index.js +0 -7
- package/esm5/utils/miscellaneous/is-editing-key.js +0 -11
- package/esm5/utils/miscellaneous/is-presumed-html-string.js +0 -10
- package/esm5/utils/miscellaneous/size-bigger.js +0 -15
- package/esm5/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js +0 -5
- package/esm5/utils/mobile/index.js +0 -2
- package/esm5/utils/mobile/is-mobile.js +0 -6
- package/esm5/utils/mobile/taiga-ui-core-utils-mobile.js +0 -5
- package/esm5/utils/polyfills/index.js +0 -2
- package/esm5/utils/polyfills/inner-html.js +0 -40
- package/esm5/utils/polyfills/taiga-ui-core-utils-polyfills.js +0 -5
- package/esm5/utils/taiga-ui-core-utils.js +0 -5
- package/fesm2015/taiga-ui-core-components-dropdown-box.js +0 -325
- package/fesm2015/taiga-ui-core-components-dropdown-box.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-color.js +0 -370
- package/fesm2015/taiga-ui-core-directives-color.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-dropdown-controller.js +0 -85
- package/fesm2015/taiga-ui-core-directives-dropdown-controller.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-manual-hint.js +0 -74
- package/fesm2015/taiga-ui-core-directives-manual-hint.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-pointer-hint.js +0 -120
- package/fesm2015/taiga-ui-core-directives-pointer-hint.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-table-mode.js +0 -37
- package/fesm2015/taiga-ui-core-directives-table-mode.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-pluralize.js +0 -38
- package/fesm2015/taiga-ui-core-pipes-pluralize.js.map +0 -1
- package/fesm2015/taiga-ui-core-utils-polyfills.js +0 -47
- package/fesm2015/taiga-ui-core-utils-polyfills.js.map +0 -1
- package/fesm5/taiga-ui-core-abstract.js +0 -233
- package/fesm5/taiga-ui-core-abstract.js.map +0 -1
- package/fesm5/taiga-ui-core-animations.js +0 -258
- package/fesm5/taiga-ui-core-animations.js.map +0 -1
- package/fesm5/taiga-ui-core-components-alert.js +0 -178
- package/fesm5/taiga-ui-core-components-alert.js.map +0 -1
- package/fesm5/taiga-ui-core-components-button.js +0 -198
- package/fesm5/taiga-ui-core-components-button.js.map +0 -1
- package/fesm5/taiga-ui-core-components-calendar.js +0 -166
- package/fesm5/taiga-ui-core-components-calendar.js.map +0 -1
- package/fesm5/taiga-ui-core-components-data-list.js +0 -428
- package/fesm5/taiga-ui-core-components-data-list.js.map +0 -1
- package/fesm5/taiga-ui-core-components-dialog.js +0 -232
- package/fesm5/taiga-ui-core-components-dialog.js.map +0 -1
- package/fesm5/taiga-ui-core-components-dropdown-box.js +0 -342
- package/fesm5/taiga-ui-core-components-dropdown-box.js.map +0 -1
- package/fesm5/taiga-ui-core-components-error.js +0 -69
- package/fesm5/taiga-ui-core-components-error.js.map +0 -1
- package/fesm5/taiga-ui-core-components-expand.js +0 -185
- package/fesm5/taiga-ui-core-components-expand.js.map +0 -1
- package/fesm5/taiga-ui-core-components-group.js +0 -136
- package/fesm5/taiga-ui-core-components-group.js.map +0 -1
- package/fesm5/taiga-ui-core-components-hints-host.js +0 -347
- package/fesm5/taiga-ui-core-components-hints-host.js.map +0 -1
- package/fesm5/taiga-ui-core-components-hosted-dropdown.js +0 -267
- package/fesm5/taiga-ui-core-components-hosted-dropdown.js.map +0 -1
- package/fesm5/taiga-ui-core-components-label.js +0 -68
- package/fesm5/taiga-ui-core-components-label.js.map +0 -1
- package/fesm5/taiga-ui-core-components-link.js +0 -142
- package/fesm5/taiga-ui-core-components-link.js.map +0 -1
- package/fesm5/taiga-ui-core-components-loader.js +0 -138
- package/fesm5/taiga-ui-core-components-loader.js.map +0 -1
- package/fesm5/taiga-ui-core-components-notification.js +0 -90
- package/fesm5/taiga-ui-core-components-notification.js.map +0 -1
- package/fesm5/taiga-ui-core-components-primitive-calendar.js +0 -196
- package/fesm5/taiga-ui-core-components-primitive-calendar.js.map +0 -1
- package/fesm5/taiga-ui-core-components-primitive-checkbox.js +0 -147
- package/fesm5/taiga-ui-core-components-primitive-checkbox.js.map +0 -1
- package/fesm5/taiga-ui-core-components-primitive-spin-button.js +0 -125
- package/fesm5/taiga-ui-core-components-primitive-spin-button.js.map +0 -1
- package/fesm5/taiga-ui-core-components-primitive-textfield.js +0 -674
- package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +0 -1
- package/fesm5/taiga-ui-core-components-primitive-year-picker.js +0 -200
- package/fesm5/taiga-ui-core-components-primitive-year-picker.js.map +0 -1
- package/fesm5/taiga-ui-core-components-root.js +0 -95
- package/fesm5/taiga-ui-core-components-root.js.map +0 -1
- package/fesm5/taiga-ui-core-components-scroll-controls.js +0 -270
- package/fesm5/taiga-ui-core-components-scroll-controls.js.map +0 -1
- package/fesm5/taiga-ui-core-components-scrollbar.js +0 -158
- package/fesm5/taiga-ui-core-components-scrollbar.js.map +0 -1
- package/fesm5/taiga-ui-core-components-svg.js +0 -226
- package/fesm5/taiga-ui-core-components-svg.js.map +0 -1
- package/fesm5/taiga-ui-core-components-theme-night.js +0 -39
- package/fesm5/taiga-ui-core-components-theme-night.js.map +0 -1
- package/fesm5/taiga-ui-core-components-tooltip.js +0 -122
- package/fesm5/taiga-ui-core-components-tooltip.js.map +0 -1
- package/fesm5/taiga-ui-core-components.js +0 -31
- package/fesm5/taiga-ui-core-components.js.map +0 -1
- package/fesm5/taiga-ui-core-constants.js +0 -80
- package/fesm5/taiga-ui-core-constants.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-color.js +0 -61
- package/fesm5/taiga-ui-core-directives-color.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-described-by.js +0 -96
- package/fesm5/taiga-ui-core-directives-described-by.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-dropdown-controller.js +0 -92
- package/fesm5/taiga-ui-core-directives-dropdown-controller.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-dropdown.js +0 -75
- package/fesm5/taiga-ui-core-directives-dropdown.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-hint-controller.js +0 -94
- package/fesm5/taiga-ui-core-directives-hint-controller.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-hint.js +0 -174
- package/fesm5/taiga-ui-core-directives-hint.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-manual-hint.js +0 -84
- package/fesm5/taiga-ui-core-directives-manual-hint.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-mask-accessor.js +0 -49
- package/fesm5/taiga-ui-core-directives-mask-accessor.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-mode.js +0 -40
- package/fesm5/taiga-ui-core-directives-mode.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-pointer-hint.js +0 -136
- package/fesm5/taiga-ui-core-directives-pointer-hint.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-scroll-into-view.js +0 -77
- package/fesm5/taiga-ui-core-directives-scroll-into-view.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-table-mode.js +0 -43
- package/fesm5/taiga-ui-core-directives-table-mode.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-textfield-controller.js +0 -460
- package/fesm5/taiga-ui-core-directives-textfield-controller.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-wrapper.js +0 -138
- package/fesm5/taiga-ui-core-directives-wrapper.js.map +0 -1
- package/fesm5/taiga-ui-core-directives.js +0 -19
- package/fesm5/taiga-ui-core-directives.js.map +0 -1
- package/fesm5/taiga-ui-core-enums.js +0 -154
- package/fesm5/taiga-ui-core-enums.js.map +0 -1
- package/fesm5/taiga-ui-core-interfaces.js +0 -4
- package/fesm5/taiga-ui-core-interfaces.js.map +0 -1
- package/fesm5/taiga-ui-core-internal-primitive-year-month-pagination.js +0 -118
- package/fesm5/taiga-ui-core-internal-primitive-year-month-pagination.js.map +0 -1
- package/fesm5/taiga-ui-core-internal-svg-defs-host.js +0 -69
- package/fesm5/taiga-ui-core-internal-svg-defs-host.js.map +0 -1
- package/fesm5/taiga-ui-core-internal.js +0 -7
- package/fesm5/taiga-ui-core-internal.js.map +0 -1
- package/fesm5/taiga-ui-core-mask.js +0 -4
- package/fesm5/taiga-ui-core-mask.js.map +0 -1
- package/fesm5/taiga-ui-core-observables.js +0 -37
- package/fesm5/taiga-ui-core-observables.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes-calendar-sheet.js +0 -123
- package/fesm5/taiga-ui-core-pipes-calendar-sheet.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes-format-number.js +0 -53
- package/fesm5/taiga-ui-core-pipes-format-number.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes-format-phone.js +0 -45
- package/fesm5/taiga-ui-core-pipes-format-phone.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes-month.js +0 -43
- package/fesm5/taiga-ui-core-pipes-month.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes-pluralize.js +0 -44
- package/fesm5/taiga-ui-core-pipes-pluralize.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes.js +0 -10
- package/fesm5/taiga-ui-core-pipes.js.map +0 -1
- package/fesm5/taiga-ui-core-providers.js +0 -58
- package/fesm5/taiga-ui-core-providers.js.map +0 -1
- package/fesm5/taiga-ui-core-services.js +0 -184
- package/fesm5/taiga-ui-core-services.js.map +0 -1
- package/fesm5/taiga-ui-core-tokens.js +0 -160
- package/fesm5/taiga-ui-core-tokens.js.map +0 -1
- package/fesm5/taiga-ui-core-types.js +0 -4
- package/fesm5/taiga-ui-core-types.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-dom.js +0 -143
- package/fesm5/taiga-ui-core-utils-dom.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-format.js +0 -202
- package/fesm5/taiga-ui-core-utils-format.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-mask.js +0 -285
- package/fesm5/taiga-ui-core-utils-mask.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-miscellaneous.js +0 -102
- package/fesm5/taiga-ui-core-utils-miscellaneous.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-mobile.js +0 -13
- package/fesm5/taiga-ui-core-utils-mobile.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-polyfills.js +0 -47
- package/fesm5/taiga-ui-core-utils-polyfills.js.map +0 -1
- package/fesm5/taiga-ui-core-utils.js +0 -11
- package/fesm5/taiga-ui-core-utils.js.map +0 -1
- package/fesm5/taiga-ui-core.js +0 -18
- package/fesm5/taiga-ui-core.js.map +0 -1
- package/interfaces/dropdown-directive.d.ts +0 -19
- package/interfaces/hint.d.ts +0 -7
- package/interfaces/notification-options.d.ts +0 -17
- package/interfaces/taiga-ui-core-interfaces.metadata.json +0 -1
- package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.metadata.json +0 -1
- package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.metadata.json +0 -1
- package/internal/taiga-ui-core-internal.metadata.json +0 -1
- package/mask/taiga-ui-core-mask.metadata.json +0 -1
- package/observables/taiga-ui-core-observables.metadata.json +0 -1
- package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.metadata.json +0 -1
- package/pipes/format-number/taiga-ui-core-pipes-format-number.metadata.json +0 -1
- package/pipes/format-phone/taiga-ui-core-pipes-format-phone.metadata.json +0 -1
- package/pipes/month/taiga-ui-core-pipes-month.metadata.json +0 -1
- package/pipes/pluralize/index.d.ts +0 -2
- package/pipes/pluralize/package.json +0 -13
- package/pipes/pluralize/pluralize.module.d.ts +0 -3
- package/pipes/pluralize/pluralize.pipe.d.ts +0 -14
- package/pipes/pluralize/taiga-ui-core-pipes-pluralize.d.ts +0 -4
- package/pipes/pluralize/taiga-ui-core-pipes-pluralize.metadata.json +0 -1
- package/pipes/taiga-ui-core-pipes.metadata.json +0 -1
- package/providers/taiga-ui-core-providers.metadata.json +0 -1
- package/services/taiga-ui-core-services.metadata.json +0 -1
- package/styles/basic/keyframes.less +0 -29
- package/styles/basic/main.less +0 -73
- package/styles/basic/normalize.less +0 -425
- package/styles/markup/tui-container-old.less +0 -69
- package/styles/markup/tui-container.less +0 -64
- package/styles/markup/tui-form-old.less +0 -143
- package/styles/markup/tui-form.less +0 -142
- package/styles/markup/tui-group-old.less +0 -322
- package/styles/markup/tui-group.less +0 -324
- package/styles/markup/tui-island.less +0 -178
- package/styles/markup/tui-list.less +0 -133
- package/styles/markup/tui-mobile-only.less +0 -5
- package/styles/markup/tui-palette.less +0 -242
- package/styles/markup/tui-required.less +0 -13
- package/styles/markup/tui-row-old.less +0 -157
- package/styles/markup/tui-row.less +0 -139
- package/styles/markup/tui-skeleton.less +0 -40
- package/styles/markup/tui-space.less +0 -52
- package/styles/markup/tui-table.less +0 -179
- package/styles/markup/tui-text.less +0 -64
- package/styles/taiga-ui-global-old.less +0 -17
- package/styles/taiga-ui-global.less +0 -17
- package/styles/taiga-ui-local-old.less +0 -7
- package/styles/taiga-ui-stackblitz.less +0 -7
- package/styles/theme/fonts.css +0 -1
- package/styles/variables/media-old.less +0 -48
- package/taiga-ui-core.metadata.json +0 -1
- package/tokens/dropdown-directive.d.ts +0 -3
- package/tokens/taiga-ui-core-tokens.metadata.json +0 -1
- package/types/color.d.ts +0 -3
- package/types/hint-mode.d.ts +0 -1
- package/types/pluralize.d.ts +0 -4
- package/types/taiga-ui-core-types.metadata.json +0 -1
- package/utils/dom/are-css-vars-supported.d.ts +0 -6
- package/utils/dom/taiga-ui-core-utils-dom.metadata.json +0 -1
- package/utils/format/pluralize-to-icu.d.ts +0 -5
- package/utils/format/pluralize.d.ts +0 -10
- package/utils/format/taiga-ui-core-utils-format.metadata.json +0 -1
- package/utils/mask/taiga-ui-core-utils-mask.metadata.json +0 -1
- package/utils/miscellaneous/color-fallback.d.ts +0 -4
- package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.metadata.json +0 -1
- package/utils/mobile/taiga-ui-core-utils-mobile.metadata.json +0 -1
- package/utils/polyfills/index.d.ts +0 -1
- package/utils/polyfills/inner-html.d.ts +0 -5
- package/utils/polyfills/package.json +0 -13
- package/utils/polyfills/taiga-ui-core-utils-polyfills.d.ts +0 -4
- package/utils/polyfills/taiga-ui-core-utils-polyfills.metadata.json +0 -1
- package/utils/taiga-ui-core-utils.metadata.json +0 -1
|
@@ -1,324 +1,1223 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core/abstract'), require('@taiga-ui/core/tokens'), require('@taiga-ui/core/components/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/core/directives/dropdown', ['exports', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core/abstract', '@taiga-ui/core/tokens', '@taiga-ui/core/components/
|
|
4
|
-
(global = global || self, factory((global[
|
|
5
|
-
}(this, (function (exports,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@ng-web-apis/common'), require('@taiga-ui/cdk'), require('@taiga-ui/core/abstract'), require('@taiga-ui/core/animations'), require('@taiga-ui/core/services'), require('@taiga-ui/core/tokens'), require('rxjs/operators'), require('@taiga-ui/core/utils'), require('@tinkoff/ng-polymorpheus'), require('rxjs'), require('@taiga-ui/core/components/scrollbar'), require('@taiga-ui/core/directives/mode'), require('@angular/common')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/core/directives/dropdown', ['exports', '@angular/core', '@ng-web-apis/common', '@taiga-ui/cdk', '@taiga-ui/core/abstract', '@taiga-ui/core/animations', '@taiga-ui/core/services', '@taiga-ui/core/tokens', 'rxjs/operators', '@taiga-ui/core/utils', '@tinkoff/ng-polymorpheus', 'rxjs', '@taiga-ui/core/components/scrollbar', '@taiga-ui/core/directives/mode', '@angular/common'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].core = global["taiga-ui"].core || {}, global["taiga-ui"].core.directives = global["taiga-ui"].core.directives || {}, global["taiga-ui"].core.directives.dropdown = {}), global.ng.core, global.common, global.i2, global["taiga-ui"].core.abstract, global["taiga-ui"].core.animations, global["taiga-ui"].core.services, global["taiga-ui"].core.tokens, global.rxjs.operators, global["taiga-ui"].core.utils, global.i1, global.rxjs, global["taiga-ui"].core.components.scrollbar, global["taiga-ui"].core.directives.mode, global.ng.common));
|
|
5
|
+
})(this, (function (exports, i0, common, i2, i1$1, animations, services, tokens, operators, utils, i1, i5, i1$2, i3, common$1) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
var extendStatics = function(d, b) {
|
|
24
|
-
extendStatics = Object.setPrototypeOf ||
|
|
25
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
26
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
27
|
-
return extendStatics(d, b);
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
function __extends(d, b) {
|
|
31
|
-
if (typeof b !== "function" && b !== null)
|
|
32
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
33
|
-
extendStatics(d, b);
|
|
34
|
-
function __() { this.constructor = d; }
|
|
35
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
var __assign = function() {
|
|
39
|
-
__assign = Object.assign || function __assign(t) {
|
|
40
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
41
|
-
s = arguments[i];
|
|
42
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
43
|
-
}
|
|
44
|
-
return t;
|
|
45
|
-
};
|
|
46
|
-
return __assign.apply(this, arguments);
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
function __rest(s, e) {
|
|
50
|
-
var t = {};
|
|
51
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
52
|
-
t[p] = s[p];
|
|
53
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
54
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
55
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
56
|
-
t[p[i]] = s[p[i]];
|
|
57
|
-
}
|
|
58
|
-
return t;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
function __decorate(decorators, target, key, desc) {
|
|
62
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
63
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
64
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
65
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
function __param(paramIndex, decorator) {
|
|
69
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
function __metadata(metadataKey, metadataValue) {
|
|
73
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
77
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
78
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
79
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
80
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
81
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
82
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
function __generator(thisArg, body) {
|
|
87
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
88
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
89
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
90
|
-
function step(op) {
|
|
91
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
92
|
-
while (_) try {
|
|
93
|
-
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) return t;
|
|
94
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
95
|
-
switch (op[0]) {
|
|
96
|
-
case 0: case 1: t = op; break;
|
|
97
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
98
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
99
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
100
|
-
default:
|
|
101
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
102
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
103
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
104
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
105
|
-
if (t[2]) _.ops.pop();
|
|
106
|
-
_.trys.pop(); continue;
|
|
107
|
-
}
|
|
108
|
-
op = body.call(thisArg, _);
|
|
109
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
110
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
|
115
|
-
if (k2 === undefined) k2 = k;
|
|
116
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
117
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
118
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
119
|
-
}
|
|
120
|
-
Object.defineProperty(o, k2, desc);
|
|
121
|
-
}) : (function(o, m, k, k2) {
|
|
122
|
-
if (k2 === undefined) k2 = k;
|
|
123
|
-
o[k2] = m[k];
|
|
124
|
-
});
|
|
125
|
-
|
|
126
|
-
function __exportStar(m, o) {
|
|
127
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
function __values(o) {
|
|
131
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
132
|
-
if (m) return m.call(o);
|
|
133
|
-
if (o && typeof o.length === "number") return {
|
|
134
|
-
next: function () {
|
|
135
|
-
if (o && i >= o.length) o = void 0;
|
|
136
|
-
return { value: o && o[i++], done: !o };
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
function __read(o, n) {
|
|
143
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
144
|
-
if (!m) return o;
|
|
145
|
-
var i = m.call(o), r, ar = [], e;
|
|
146
|
-
try {
|
|
147
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
148
|
-
}
|
|
149
|
-
catch (error) { e = { error: error }; }
|
|
150
|
-
finally {
|
|
151
|
-
try {
|
|
152
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
153
|
-
}
|
|
154
|
-
finally { if (e) throw e.error; }
|
|
155
|
-
}
|
|
156
|
-
return ar;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
/** @deprecated */
|
|
160
|
-
function __spread() {
|
|
161
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
162
|
-
ar = ar.concat(__read(arguments[i]));
|
|
163
|
-
return ar;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/** @deprecated */
|
|
167
|
-
function __spreadArrays() {
|
|
168
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
169
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
170
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
171
|
-
r[k] = a[j];
|
|
172
|
-
return r;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
function __spreadArray(to, from, pack) {
|
|
176
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
177
|
-
if (ar || !(i in from)) {
|
|
178
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
179
|
-
ar[i] = from[i];
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
function __await(v) {
|
|
186
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
190
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
191
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
192
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
193
|
-
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
194
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
195
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
196
|
-
function fulfill(value) { resume("next", value); }
|
|
197
|
-
function reject(value) { resume("throw", value); }
|
|
198
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
function __asyncDelegator(o) {
|
|
202
|
-
var i, p;
|
|
203
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
204
|
-
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; }
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
function __asyncValues(o) {
|
|
208
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
209
|
-
var m = o[Symbol.asyncIterator], i;
|
|
210
|
-
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);
|
|
211
|
-
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); }); }; }
|
|
212
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
function __makeTemplateObject(cooked, raw) {
|
|
216
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
217
|
-
return cooked;
|
|
218
|
-
};
|
|
219
|
-
|
|
220
|
-
var __setModuleDefault = Object.create ? (function(o, v) {
|
|
221
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
222
|
-
}) : function(o, v) {
|
|
223
|
-
o["default"] = v;
|
|
224
|
-
};
|
|
225
|
-
|
|
226
|
-
function __importStar(mod) {
|
|
227
|
-
if (mod && mod.__esModule) return mod;
|
|
228
|
-
var result = {};
|
|
229
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
230
|
-
__setModuleDefault(result, mod);
|
|
231
|
-
return result;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
function __importDefault(mod) {
|
|
235
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
239
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
240
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
241
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
245
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
246
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
247
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
248
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
function __classPrivateFieldIn(state, receiver) {
|
|
252
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
|
253
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
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);
|
|
254
23
|
}
|
|
255
24
|
|
|
256
|
-
var
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
27
|
+
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
28
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
29
|
+
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
30
|
+
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$2);
|
|
31
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
32
|
+
|
|
33
|
+
/******************************************************************************
|
|
34
|
+
Copyright (c) Microsoft Corporation.
|
|
35
|
+
|
|
36
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
37
|
+
purpose with or without fee is hereby granted.
|
|
38
|
+
|
|
39
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
40
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
41
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
42
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
43
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
44
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
45
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
46
|
+
***************************************************************************** */
|
|
47
|
+
/* global Reflect, Promise */
|
|
48
|
+
var extendStatics = function (d, b) {
|
|
49
|
+
extendStatics = Object.setPrototypeOf ||
|
|
50
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
51
|
+
function (d, b) { for (var p in b)
|
|
52
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
53
|
+
d[p] = b[p]; };
|
|
54
|
+
return extendStatics(d, b);
|
|
55
|
+
};
|
|
56
|
+
function __extends(d, b) {
|
|
57
|
+
if (typeof b !== "function" && b !== null)
|
|
58
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
59
|
+
extendStatics(d, b);
|
|
60
|
+
function __() { this.constructor = d; }
|
|
61
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
62
|
+
}
|
|
63
|
+
var __assign = function () {
|
|
64
|
+
__assign = Object.assign || function __assign(t) {
|
|
65
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
66
|
+
s = arguments[i];
|
|
67
|
+
for (var p in s)
|
|
68
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
69
|
+
t[p] = s[p];
|
|
70
|
+
}
|
|
71
|
+
return t;
|
|
72
|
+
};
|
|
73
|
+
return __assign.apply(this, arguments);
|
|
74
|
+
};
|
|
75
|
+
function __rest(s, e) {
|
|
76
|
+
var t = {};
|
|
77
|
+
for (var p in s)
|
|
78
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
79
|
+
t[p] = s[p];
|
|
80
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
81
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
82
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
83
|
+
t[p[i]] = s[p[i]];
|
|
84
|
+
}
|
|
85
|
+
return t;
|
|
86
|
+
}
|
|
87
|
+
function __decorate(decorators, target, key, desc) {
|
|
88
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
89
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
90
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
91
|
+
else
|
|
92
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
93
|
+
if (d = decorators[i])
|
|
94
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
95
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
96
|
+
}
|
|
97
|
+
function __param(paramIndex, decorator) {
|
|
98
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
99
|
+
}
|
|
100
|
+
function __metadata(metadataKey, metadataValue) {
|
|
101
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
102
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
103
|
+
}
|
|
104
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
105
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
106
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
107
|
+
function fulfilled(value) { try {
|
|
108
|
+
step(generator.next(value));
|
|
109
|
+
}
|
|
110
|
+
catch (e) {
|
|
111
|
+
reject(e);
|
|
112
|
+
} }
|
|
113
|
+
function rejected(value) { try {
|
|
114
|
+
step(generator["throw"](value));
|
|
115
|
+
}
|
|
116
|
+
catch (e) {
|
|
117
|
+
reject(e);
|
|
118
|
+
} }
|
|
119
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
120
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
function __generator(thisArg, body) {
|
|
124
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
125
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
126
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
127
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
128
|
+
function step(op) {
|
|
129
|
+
if (f)
|
|
130
|
+
throw new TypeError("Generator is already executing.");
|
|
131
|
+
while (_)
|
|
132
|
+
try {
|
|
133
|
+
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)
|
|
134
|
+
return t;
|
|
135
|
+
if (y = 0, t)
|
|
136
|
+
op = [op[0] & 2, t.value];
|
|
137
|
+
switch (op[0]) {
|
|
138
|
+
case 0:
|
|
139
|
+
case 1:
|
|
140
|
+
t = op;
|
|
141
|
+
break;
|
|
142
|
+
case 4:
|
|
143
|
+
_.label++;
|
|
144
|
+
return { value: op[1], done: false };
|
|
145
|
+
case 5:
|
|
146
|
+
_.label++;
|
|
147
|
+
y = op[1];
|
|
148
|
+
op = [0];
|
|
149
|
+
continue;
|
|
150
|
+
case 7:
|
|
151
|
+
op = _.ops.pop();
|
|
152
|
+
_.trys.pop();
|
|
153
|
+
continue;
|
|
154
|
+
default:
|
|
155
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
156
|
+
_ = 0;
|
|
157
|
+
continue;
|
|
158
|
+
}
|
|
159
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
160
|
+
_.label = op[1];
|
|
161
|
+
break;
|
|
162
|
+
}
|
|
163
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
164
|
+
_.label = t[1];
|
|
165
|
+
t = op;
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
if (t && _.label < t[2]) {
|
|
169
|
+
_.label = t[2];
|
|
170
|
+
_.ops.push(op);
|
|
171
|
+
break;
|
|
172
|
+
}
|
|
173
|
+
if (t[2])
|
|
174
|
+
_.ops.pop();
|
|
175
|
+
_.trys.pop();
|
|
176
|
+
continue;
|
|
177
|
+
}
|
|
178
|
+
op = body.call(thisArg, _);
|
|
179
|
+
}
|
|
180
|
+
catch (e) {
|
|
181
|
+
op = [6, e];
|
|
182
|
+
y = 0;
|
|
183
|
+
}
|
|
184
|
+
finally {
|
|
185
|
+
f = t = 0;
|
|
186
|
+
}
|
|
187
|
+
if (op[0] & 5)
|
|
188
|
+
throw op[1];
|
|
189
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
193
|
+
if (k2 === undefined)
|
|
194
|
+
k2 = k;
|
|
195
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
196
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
197
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
198
|
+
}
|
|
199
|
+
Object.defineProperty(o, k2, desc);
|
|
200
|
+
}) : (function (o, m, k, k2) {
|
|
201
|
+
if (k2 === undefined)
|
|
202
|
+
k2 = k;
|
|
203
|
+
o[k2] = m[k];
|
|
204
|
+
});
|
|
205
|
+
function __exportStar(m, o) {
|
|
206
|
+
for (var p in m)
|
|
207
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
208
|
+
__createBinding(o, m, p);
|
|
209
|
+
}
|
|
210
|
+
function __values(o) {
|
|
211
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
212
|
+
if (m)
|
|
213
|
+
return m.call(o);
|
|
214
|
+
if (o && typeof o.length === "number")
|
|
215
|
+
return {
|
|
216
|
+
next: function () {
|
|
217
|
+
if (o && i >= o.length)
|
|
218
|
+
o = void 0;
|
|
219
|
+
return { value: o && o[i++], done: !o };
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
223
|
+
}
|
|
224
|
+
function __read(o, n) {
|
|
225
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
226
|
+
if (!m)
|
|
227
|
+
return o;
|
|
228
|
+
var i = m.call(o), r, ar = [], e;
|
|
229
|
+
try {
|
|
230
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
231
|
+
ar.push(r.value);
|
|
232
|
+
}
|
|
233
|
+
catch (error) {
|
|
234
|
+
e = { error: error };
|
|
235
|
+
}
|
|
236
|
+
finally {
|
|
237
|
+
try {
|
|
238
|
+
if (r && !r.done && (m = i["return"]))
|
|
239
|
+
m.call(i);
|
|
240
|
+
}
|
|
241
|
+
finally {
|
|
242
|
+
if (e)
|
|
243
|
+
throw e.error;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
return ar;
|
|
247
|
+
}
|
|
248
|
+
/** @deprecated */
|
|
249
|
+
function __spread() {
|
|
250
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
251
|
+
ar = ar.concat(__read(arguments[i]));
|
|
252
|
+
return ar;
|
|
253
|
+
}
|
|
254
|
+
/** @deprecated */
|
|
255
|
+
function __spreadArrays() {
|
|
256
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
257
|
+
s += arguments[i].length;
|
|
258
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
259
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
260
|
+
r[k] = a[j];
|
|
261
|
+
return r;
|
|
262
|
+
}
|
|
263
|
+
function __spreadArray(to, from, pack) {
|
|
264
|
+
if (pack || arguments.length === 2)
|
|
265
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
266
|
+
if (ar || !(i in from)) {
|
|
267
|
+
if (!ar)
|
|
268
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
269
|
+
ar[i] = from[i];
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
273
|
+
}
|
|
274
|
+
function __await(v) {
|
|
275
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
276
|
+
}
|
|
277
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
278
|
+
if (!Symbol.asyncIterator)
|
|
279
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
280
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
281
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
282
|
+
function verb(n) { if (g[n])
|
|
283
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
284
|
+
function resume(n, v) { try {
|
|
285
|
+
step(g[n](v));
|
|
286
|
+
}
|
|
287
|
+
catch (e) {
|
|
288
|
+
settle(q[0][3], e);
|
|
289
|
+
} }
|
|
290
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
291
|
+
function fulfill(value) { resume("next", value); }
|
|
292
|
+
function reject(value) { resume("throw", value); }
|
|
293
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
294
|
+
resume(q[0][0], q[0][1]); }
|
|
295
|
+
}
|
|
296
|
+
function __asyncDelegator(o) {
|
|
297
|
+
var i, p;
|
|
298
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
299
|
+
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; }
|
|
300
|
+
}
|
|
301
|
+
function __asyncValues(o) {
|
|
302
|
+
if (!Symbol.asyncIterator)
|
|
303
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
304
|
+
var m = o[Symbol.asyncIterator], i;
|
|
305
|
+
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);
|
|
306
|
+
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); }); }; }
|
|
307
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
308
|
+
}
|
|
309
|
+
function __makeTemplateObject(cooked, raw) {
|
|
310
|
+
if (Object.defineProperty) {
|
|
311
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
312
|
+
}
|
|
313
|
+
else {
|
|
314
|
+
cooked.raw = raw;
|
|
315
|
+
}
|
|
316
|
+
return cooked;
|
|
317
|
+
}
|
|
318
|
+
;
|
|
319
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
320
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
321
|
+
}) : function (o, v) {
|
|
322
|
+
o["default"] = v;
|
|
323
|
+
};
|
|
324
|
+
function __importStar(mod) {
|
|
325
|
+
if (mod && mod.__esModule)
|
|
326
|
+
return mod;
|
|
327
|
+
var result = {};
|
|
328
|
+
if (mod != null)
|
|
329
|
+
for (var k in mod)
|
|
330
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
331
|
+
__createBinding(result, mod, k);
|
|
332
|
+
__setModuleDefault(result, mod);
|
|
333
|
+
return result;
|
|
334
|
+
}
|
|
335
|
+
function __importDefault(mod) {
|
|
336
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
337
|
+
}
|
|
338
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
339
|
+
if (kind === "a" && !f)
|
|
340
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
341
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
342
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
343
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
344
|
+
}
|
|
345
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
346
|
+
if (kind === "m")
|
|
347
|
+
throw new TypeError("Private method is not writable");
|
|
348
|
+
if (kind === "a" && !f)
|
|
349
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
350
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
351
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
352
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
353
|
+
}
|
|
354
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
355
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
356
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
357
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
var TUI_DROPDOWN_COMPONENT = new i0.InjectionToken("[TUI_DROPDOWN_COMPONENT] A component to display a dropdown", {
|
|
361
|
+
factory: function () { return TuiDropdownComponent; },
|
|
362
|
+
});
|
|
363
|
+
|
|
364
|
+
var TuiDropdownDirective = /** @class */ (function () {
|
|
365
|
+
function TuiDropdownDirective(elementRef, component, dropdownService) {
|
|
366
|
+
this.elementRef = elementRef;
|
|
367
|
+
this.component = component;
|
|
368
|
+
this.dropdownService = dropdownService;
|
|
369
|
+
this.content = "";
|
|
370
|
+
this.dropdownBoxRef = null;
|
|
262
371
|
}
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
372
|
+
Object.defineProperty(TuiDropdownDirective.prototype, "position", {
|
|
373
|
+
get: function () {
|
|
374
|
+
return utils.tuiCheckFixedPosition(this.elementRef.nativeElement)
|
|
375
|
+
? "fixed"
|
|
376
|
+
: "absolute";
|
|
267
377
|
},
|
|
268
|
-
enumerable:
|
|
378
|
+
enumerable: false,
|
|
269
379
|
configurable: true
|
|
270
380
|
});
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
cdk.TuiParentsScrollService,
|
|
292
|
-
],
|
|
293
|
-
}),
|
|
294
|
-
__param(0, core.Inject(core.ComponentFactoryResolver)),
|
|
295
|
-
__param(1, core.Inject(core.Injector)),
|
|
296
|
-
__param(2, core.Inject(cdk.TuiPortalService)),
|
|
297
|
-
__param(3, core.Inject(core.ElementRef)),
|
|
298
|
-
__param(4, core.Inject(cdk.TuiActiveZoneDirective)),
|
|
299
|
-
__param(4, core.Optional()),
|
|
300
|
-
__param(5, core.Inject(cdk.TuiParentsScrollService))
|
|
301
|
-
], TuiDropdownDirective);
|
|
381
|
+
TuiDropdownDirective.prototype.ngOnChanges = function () {
|
|
382
|
+
if (!this.content) {
|
|
383
|
+
this.toggle(false);
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
TuiDropdownDirective.prototype.ngOnDestroy = function () {
|
|
387
|
+
this.toggle(false);
|
|
388
|
+
};
|
|
389
|
+
TuiDropdownDirective.prototype.getClientRect = function () {
|
|
390
|
+
return this.elementRef.nativeElement.getBoundingClientRect();
|
|
391
|
+
};
|
|
392
|
+
TuiDropdownDirective.prototype.toggle = function (show) {
|
|
393
|
+
if (show && this.content && !this.dropdownBoxRef) {
|
|
394
|
+
this.dropdownBoxRef = this.dropdownService.add(this.component);
|
|
395
|
+
}
|
|
396
|
+
else if (!show && this.dropdownBoxRef) {
|
|
397
|
+
this.dropdownService.remove(this.dropdownBoxRef);
|
|
398
|
+
this.dropdownBoxRef = null;
|
|
399
|
+
}
|
|
400
|
+
};
|
|
302
401
|
return TuiDropdownDirective;
|
|
303
|
-
}(
|
|
402
|
+
}());
|
|
403
|
+
TuiDropdownDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownDirective, deps: [{ token: i0.ElementRef }, { token: i1.PolymorpheusComponent }, { token: i2.TuiDropdownPortalService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
404
|
+
TuiDropdownDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container)", inputs: { content: ["tuiDropdown", "content"] }, providers: [
|
|
405
|
+
i1$1.tuiAsRectAccessor(TuiDropdownDirective),
|
|
406
|
+
i1$1.tuiAsVehicle(TuiDropdownDirective),
|
|
407
|
+
{
|
|
408
|
+
provide: i1.PolymorpheusComponent,
|
|
409
|
+
deps: [TUI_DROPDOWN_COMPONENT, i0.INJECTOR],
|
|
410
|
+
useClass: i1.PolymorpheusComponent,
|
|
411
|
+
},
|
|
412
|
+
], exportAs: ["tuiDropdown"], usesOnChanges: true, ngImport: i0__namespace });
|
|
413
|
+
__decorate([
|
|
414
|
+
i2.tuiDefaultProp()
|
|
415
|
+
], TuiDropdownDirective.prototype, "content", void 0);
|
|
416
|
+
__decorate([
|
|
417
|
+
i2.tuiPure
|
|
418
|
+
], TuiDropdownDirective.prototype, "position", null);
|
|
419
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownDirective, decorators: [{
|
|
420
|
+
type: i0.Directive,
|
|
421
|
+
args: [{
|
|
422
|
+
selector: "[tuiDropdown]:not(ng-container)",
|
|
423
|
+
exportAs: "tuiDropdown",
|
|
424
|
+
providers: [
|
|
425
|
+
i1$1.tuiAsRectAccessor(TuiDropdownDirective),
|
|
426
|
+
i1$1.tuiAsVehicle(TuiDropdownDirective),
|
|
427
|
+
{
|
|
428
|
+
provide: i1.PolymorpheusComponent,
|
|
429
|
+
deps: [TUI_DROPDOWN_COMPONENT, i0.INJECTOR],
|
|
430
|
+
useClass: i1.PolymorpheusComponent,
|
|
431
|
+
},
|
|
432
|
+
],
|
|
433
|
+
}]
|
|
434
|
+
}], ctorParameters: function () {
|
|
435
|
+
return [{ type: i0__namespace.ElementRef, decorators: [{
|
|
436
|
+
type: i0.Inject,
|
|
437
|
+
args: [i0.ElementRef]
|
|
438
|
+
}] }, { type: i1__namespace.PolymorpheusComponent, decorators: [{
|
|
439
|
+
type: i0.Inject,
|
|
440
|
+
args: [i1.PolymorpheusComponent]
|
|
441
|
+
}] }, { type: i2__namespace.TuiDropdownPortalService, decorators: [{
|
|
442
|
+
type: i0.Inject,
|
|
443
|
+
args: [i2.TuiDropdownPortalService]
|
|
444
|
+
}] }];
|
|
445
|
+
}, propDecorators: { content: [{
|
|
446
|
+
type: i0.Input,
|
|
447
|
+
args: ["tuiDropdown"]
|
|
448
|
+
}], position: [] } });
|
|
449
|
+
|
|
450
|
+
var TuiDropdownHoverDirective = /** @class */ (function (_super) {
|
|
451
|
+
__extends(TuiDropdownHoverDirective, _super);
|
|
452
|
+
function TuiDropdownHoverDirective(hovered$) {
|
|
453
|
+
var _this = _super.call(this, function (subscriber) { return _this.stream$.subscribe(subscriber); }) || this;
|
|
454
|
+
_this.hovered$ = hovered$;
|
|
455
|
+
_this.toggle$ = new i5.Subject();
|
|
456
|
+
_this.stream$ = i5.merge(_this.toggle$, _this.hovered$).pipe(operators.switchMap(function (visible) { return i5.of(visible).pipe(operators.delay(visible ? _this.showDelay : _this.hideDelay)); }));
|
|
457
|
+
_this.showDelay = 200;
|
|
458
|
+
_this.hideDelay = 500;
|
|
459
|
+
return _this;
|
|
460
|
+
}
|
|
461
|
+
TuiDropdownHoverDirective.prototype.toggle = function (visible) {
|
|
462
|
+
this.toggle$.next(visible);
|
|
463
|
+
};
|
|
464
|
+
return TuiDropdownHoverDirective;
|
|
465
|
+
}(i1$1.TuiDriver));
|
|
466
|
+
TuiDropdownHoverDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownHoverDirective, deps: [{ token: i2.TuiHoveredService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
467
|
+
TuiDropdownHoverDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownHoverDirective, selector: "[tuiDropdownHover]:not(ng-container)", inputs: { showDelay: ["tuiDropdownShowDelay", "showDelay"], hideDelay: ["tuiDropdownHideDelay", "hideDelay"] }, providers: [i1$1.tuiAsDriver(TuiDropdownHoverDirective), i2.TuiHoveredService], usesInheritance: true, ngImport: i0__namespace });
|
|
468
|
+
__decorate([
|
|
469
|
+
i2.tuiDefaultProp()
|
|
470
|
+
], TuiDropdownHoverDirective.prototype, "showDelay", void 0);
|
|
471
|
+
__decorate([
|
|
472
|
+
i2.tuiDefaultProp()
|
|
473
|
+
], TuiDropdownHoverDirective.prototype, "hideDelay", void 0);
|
|
474
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownHoverDirective, decorators: [{
|
|
475
|
+
type: i0.Directive,
|
|
476
|
+
args: [{
|
|
477
|
+
selector: "[tuiDropdownHover]:not(ng-container)",
|
|
478
|
+
providers: [i1$1.tuiAsDriver(TuiDropdownHoverDirective), i2.TuiHoveredService],
|
|
479
|
+
}]
|
|
480
|
+
}], ctorParameters: function () {
|
|
481
|
+
return [{ type: i5__namespace.Observable, decorators: [{
|
|
482
|
+
type: i0.Inject,
|
|
483
|
+
args: [i2.TuiHoveredService]
|
|
484
|
+
}] }];
|
|
485
|
+
}, propDecorators: { showDelay: [{
|
|
486
|
+
type: i0.Input,
|
|
487
|
+
args: ["tuiDropdownShowDelay"]
|
|
488
|
+
}], hideDelay: [{
|
|
489
|
+
type: i0.Input,
|
|
490
|
+
args: ["tuiDropdownHideDelay"]
|
|
491
|
+
}] } });
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* Safe space around host and screen edges
|
|
495
|
+
*/
|
|
496
|
+
var TUI_DROPDOWN_OFFSET = 4;
|
|
497
|
+
/** Default values for dropdown options */
|
|
498
|
+
var TUI_DROPDOWN_DEFAULT_OPTIONS = {
|
|
499
|
+
align: "left",
|
|
500
|
+
direction: null,
|
|
501
|
+
limitWidth: "auto",
|
|
502
|
+
maxHeight: 400,
|
|
503
|
+
minHeight: 80,
|
|
504
|
+
};
|
|
505
|
+
var TUI_DROPDOWN_OPTIONS = new i0.InjectionToken("[TUI_DROPDOWN_OPTIONS] Default parameters for dropdown directive", {
|
|
506
|
+
factory: function () { return TUI_DROPDOWN_DEFAULT_OPTIONS; },
|
|
507
|
+
});
|
|
508
|
+
var tuiDropdownOptionsProvider = function (override) { return ({
|
|
509
|
+
provide: TUI_DROPDOWN_OPTIONS,
|
|
510
|
+
deps: [
|
|
511
|
+
[new i0.Optional(), TuiDropdownOptionsDirective],
|
|
512
|
+
[new i0.SkipSelf(), TUI_DROPDOWN_OPTIONS],
|
|
513
|
+
],
|
|
514
|
+
useFactory: function (directive, options) {
|
|
515
|
+
var result = directive || Object.assign({}, options);
|
|
516
|
+
Object.keys(override).forEach(function (key) {
|
|
517
|
+
// Update directive props with new defaults before inputs are processed
|
|
518
|
+
result[key] = override[key];
|
|
519
|
+
});
|
|
520
|
+
return result;
|
|
521
|
+
},
|
|
522
|
+
}); };
|
|
523
|
+
var TuiDropdownOptionsDirective = /** @class */ (function () {
|
|
524
|
+
function TuiDropdownOptionsDirective(options) {
|
|
525
|
+
this.options = options;
|
|
526
|
+
this.align = this.options.align;
|
|
527
|
+
this.direction = this.options.direction;
|
|
528
|
+
this.limitWidth = this.options.limitWidth;
|
|
529
|
+
this.minHeight = this.options.minHeight;
|
|
530
|
+
this.maxHeight = this.options.maxHeight;
|
|
531
|
+
}
|
|
532
|
+
return TuiDropdownOptionsDirective;
|
|
533
|
+
}());
|
|
534
|
+
TuiDropdownOptionsDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownOptionsDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS, skipSelf: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
535
|
+
TuiDropdownOptionsDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownOptionsDirective, selector: "[tuiDropdownAlign], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight]", inputs: { align: ["tuiDropdownAlign", "align"], direction: ["tuiDropdownDirection", "direction"], limitWidth: ["tuiDropdownLimitWidth", "limitWidth"], minHeight: ["tuiDropdownMinHeight", "minHeight"], maxHeight: ["tuiDropdownMaxHeight", "maxHeight"] }, providers: [
|
|
536
|
+
{
|
|
537
|
+
provide: TUI_DROPDOWN_OPTIONS,
|
|
538
|
+
useExisting: i0.forwardRef(function () { return TuiDropdownOptionsDirective; }),
|
|
539
|
+
},
|
|
540
|
+
], ngImport: i0__namespace });
|
|
541
|
+
__decorate([
|
|
542
|
+
i2.tuiDefaultProp()
|
|
543
|
+
], TuiDropdownOptionsDirective.prototype, "align", void 0);
|
|
544
|
+
__decorate([
|
|
545
|
+
i2.tuiDefaultProp()
|
|
546
|
+
], TuiDropdownOptionsDirective.prototype, "direction", void 0);
|
|
547
|
+
__decorate([
|
|
548
|
+
i2.tuiDefaultProp()
|
|
549
|
+
], TuiDropdownOptionsDirective.prototype, "limitWidth", void 0);
|
|
550
|
+
__decorate([
|
|
551
|
+
i2.tuiDefaultProp()
|
|
552
|
+
], TuiDropdownOptionsDirective.prototype, "minHeight", void 0);
|
|
553
|
+
__decorate([
|
|
554
|
+
i2.tuiDefaultProp()
|
|
555
|
+
], TuiDropdownOptionsDirective.prototype, "maxHeight", void 0);
|
|
556
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownOptionsDirective, decorators: [{
|
|
557
|
+
type: i0.Directive,
|
|
558
|
+
args: [{
|
|
559
|
+
selector: "[tuiDropdownAlign], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight]",
|
|
560
|
+
providers: [
|
|
561
|
+
{
|
|
562
|
+
provide: TUI_DROPDOWN_OPTIONS,
|
|
563
|
+
useExisting: i0.forwardRef(function () { return TuiDropdownOptionsDirective; }),
|
|
564
|
+
},
|
|
565
|
+
],
|
|
566
|
+
}]
|
|
567
|
+
}], ctorParameters: function () {
|
|
568
|
+
return [{ type: undefined, decorators: [{
|
|
569
|
+
type: i0.SkipSelf
|
|
570
|
+
}, {
|
|
571
|
+
type: i0.Inject,
|
|
572
|
+
args: [TUI_DROPDOWN_OPTIONS]
|
|
573
|
+
}] }];
|
|
574
|
+
}, propDecorators: { align: [{
|
|
575
|
+
type: i0.Input,
|
|
576
|
+
args: ["tuiDropdownAlign"]
|
|
577
|
+
}], direction: [{
|
|
578
|
+
type: i0.Input,
|
|
579
|
+
args: ["tuiDropdownDirection"]
|
|
580
|
+
}], limitWidth: [{
|
|
581
|
+
type: i0.Input,
|
|
582
|
+
args: ["tuiDropdownLimitWidth"]
|
|
583
|
+
}], minHeight: [{
|
|
584
|
+
type: i0.Input,
|
|
585
|
+
args: ["tuiDropdownMinHeight"]
|
|
586
|
+
}], maxHeight: [{
|
|
587
|
+
type: i0.Input,
|
|
588
|
+
args: ["tuiDropdownMaxHeight"]
|
|
589
|
+
}] } });
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* This component is used to show template in a portal using default style of white rounded box with a shadow
|
|
593
|
+
*/
|
|
594
|
+
// @bad TODO: OnPush
|
|
595
|
+
var TuiDropdownComponent = /** @class */ (function () {
|
|
596
|
+
function TuiDropdownComponent(position$, destroy$, directive, elementRef, host, accessor, windowRef, animationOptions, options, hoverDirective) {
|
|
597
|
+
var _this = this;
|
|
598
|
+
this.directive = directive;
|
|
599
|
+
this.elementRef = elementRef;
|
|
600
|
+
this.host = host;
|
|
601
|
+
this.accessor = accessor;
|
|
602
|
+
this.windowRef = windowRef;
|
|
603
|
+
this.animationOptions = animationOptions;
|
|
604
|
+
this.options = options;
|
|
605
|
+
this.hoverDirective = hoverDirective;
|
|
606
|
+
this.dropdownAnimation = Object.assign({ value: "fadeInTop" /* FadeInTop */ }, this.animationOptions);
|
|
607
|
+
position$.pipe(operators.takeUntil(destroy$)).subscribe(function (_a) {
|
|
608
|
+
var _b = __read(_a, 2), top = _b[0], left = _b[1];
|
|
609
|
+
_this.update(top, left);
|
|
610
|
+
});
|
|
611
|
+
}
|
|
612
|
+
TuiDropdownComponent.prototype.onHoveredChange = function (hovered) {
|
|
613
|
+
if (this.hoverDirective) {
|
|
614
|
+
this.hoverDirective.toggle(hovered);
|
|
615
|
+
}
|
|
616
|
+
};
|
|
617
|
+
TuiDropdownComponent.prototype.onTopFocus = function () {
|
|
618
|
+
this.moveFocusOutside(true);
|
|
619
|
+
};
|
|
620
|
+
TuiDropdownComponent.prototype.onBottomFocus = function () {
|
|
621
|
+
this.moveFocusOutside(false);
|
|
622
|
+
};
|
|
623
|
+
TuiDropdownComponent.prototype.update = function (top, left) {
|
|
624
|
+
var style = this.elementRef.nativeElement.style;
|
|
625
|
+
var right = this.elementRef.nativeElement.getBoundingClientRect().right;
|
|
626
|
+
var _a = this.options, limitWidth = _a.limitWidth, maxHeight = _a.maxHeight;
|
|
627
|
+
var innerHeight = this.windowRef.innerHeight;
|
|
628
|
+
var clientRect = this.host.clientRect;
|
|
629
|
+
var position = this.directive.position;
|
|
630
|
+
var rect = this.accessor.getClientRect();
|
|
631
|
+
var offsetX = position === "fixed" ? 0 : -clientRect.left;
|
|
632
|
+
var offsetY = position === "fixed" ? 0 : -clientRect.top;
|
|
633
|
+
top = top + offsetY;
|
|
634
|
+
left = left + offsetX;
|
|
635
|
+
var isIntersecting = left < rect.right &&
|
|
636
|
+
right > rect.left &&
|
|
637
|
+
top < offsetY + 2 * TUI_DROPDOWN_OFFSET;
|
|
638
|
+
var available = isIntersecting
|
|
639
|
+
? rect.top - 2 * TUI_DROPDOWN_OFFSET
|
|
640
|
+
: offsetY + innerHeight - top - TUI_DROPDOWN_OFFSET;
|
|
641
|
+
style.position = position;
|
|
642
|
+
style.top = i2.tuiPx(Math.max(top, offsetY + TUI_DROPDOWN_OFFSET));
|
|
643
|
+
style.left = i2.tuiPx(left);
|
|
644
|
+
style.maxHeight = i2.tuiPx(Math.min(maxHeight, available));
|
|
645
|
+
style.width = "";
|
|
646
|
+
style.minWidth = "";
|
|
647
|
+
switch (limitWidth) {
|
|
648
|
+
case "min":
|
|
649
|
+
style.minWidth = i2.tuiPx(rect.width);
|
|
650
|
+
break;
|
|
651
|
+
case "fixed":
|
|
652
|
+
style.width = i2.tuiPx(rect.width);
|
|
653
|
+
}
|
|
654
|
+
};
|
|
655
|
+
TuiDropdownComponent.prototype.moveFocusOutside = function (previous) {
|
|
656
|
+
var host = document.createElement("div");
|
|
657
|
+
var ownerDocument = host.ownerDocument;
|
|
658
|
+
var root = ownerDocument ? ownerDocument.body : host;
|
|
659
|
+
var focusable = i2.tuiGetClosestFocusable({ initial: host, root: root, previous: previous });
|
|
660
|
+
while (focusable !== null && host.contains(focusable)) {
|
|
661
|
+
focusable = i2.tuiGetClosestFocusable({ initial: focusable, root: root, previous: previous });
|
|
662
|
+
}
|
|
663
|
+
focusable === null || focusable === void 0 ? void 0 : focusable.focus();
|
|
664
|
+
};
|
|
665
|
+
return TuiDropdownComponent;
|
|
666
|
+
}());
|
|
667
|
+
TuiDropdownComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownComponent, deps: [{ token: services.TuiPositionService }, { token: i2.TuiDestroyService }, { token: TuiDropdownDirective }, { token: i0.ElementRef }, { token: i2.AbstractTuiPortalHostComponent }, { token: i1$1.TuiRectAccessor }, { token: common.WINDOW }, { token: tokens.TUI_ANIMATION_OPTIONS }, { token: TUI_DROPDOWN_OPTIONS }, { token: TuiDropdownHoverDirective, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
668
|
+
TuiDropdownComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownComponent, selector: "tui-dropdown", host: { properties: { "@tuiDropdownAnimation": "this.dropdownAnimation" } }, providers: [i2.TuiDestroyService, services.TuiPositionService], ngImport: i0__namespace, template: "<div\n #activeZone=\"tuiActiveZone\"\n tuiActiveZone\n tuiOverscroll=\"all\"\n class=\"t-wrapper\"\n [tuiMode]=\"null\"\n (tuiHoveredChange)=\"onHoveredChange($event)\"\n>\n <tui-scrollbar class=\"t-scroll\">\n <div\n tabindex=\"0\"\n (focus)=\"onTopFocus()\"\n ></div>\n <div\n *polymorpheusOutlet=\"directive.content as text; context: {$implicit: activeZone}\"\n class=\"t-primitive\"\n >\n {{ text }}\n </div>\n <div\n tabindex=\"0\"\n (focus)=\"onBottomFocus()\"\n ></div>\n </tui-scrollbar>\n</div>\n", styles: [":host{position:relative;z-index:0;box-shadow:0 .5rem 1rem rgba(0,0,0,.16);position:absolute;display:flex;background-color:var(--tui-elevation-01);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-base-03);box-sizing:border-box;max-width:calc(100% - 8px)}:host.ng-animating{pointer-events:none}.t-wrapper{flex-grow:1;max-width:100%;max-height:inherit;overflow:visible}.t-scroll{height:100%}.t-primitive{padding:1rem}\n"], components: [{ type: i1__namespace$1.TuiScrollbarComponent, selector: "tui-scrollbar", inputs: ["hidden"] }], directives: [{ type: i2__namespace.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i2__namespace.TuiOverscrollDirective, selector: "[tuiOverscroll]", inputs: ["tuiOverscroll"] }, { type: i3__namespace.TuiModeDirective, selector: "[tuiMode]", inputs: ["tuiMode"] }, { type: i2__namespace.TuiHoveredDirective, selector: "[tuiHoveredChange]", outputs: ["tuiHoveredChange"] }, { type: i1__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [animations.tuiDropdownAnimation], changeDetection: i0__namespace.ChangeDetectionStrategy.Default });
|
|
669
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownComponent, decorators: [{
|
|
670
|
+
type: i0.Component,
|
|
671
|
+
args: [{
|
|
672
|
+
selector: "tui-dropdown",
|
|
673
|
+
templateUrl: "./dropdown.template.html",
|
|
674
|
+
styleUrls: ["./dropdown.style.less"],
|
|
675
|
+
changeDetection: i0.ChangeDetectionStrategy.Default,
|
|
676
|
+
providers: [i2.TuiDestroyService, services.TuiPositionService],
|
|
677
|
+
animations: [animations.tuiDropdownAnimation],
|
|
678
|
+
}]
|
|
679
|
+
}], ctorParameters: function () {
|
|
680
|
+
return [{ type: i5__namespace.Observable, decorators: [{
|
|
681
|
+
type: i0.Inject,
|
|
682
|
+
args: [services.TuiPositionService]
|
|
683
|
+
}] }, { type: i5__namespace.Observable, decorators: [{
|
|
684
|
+
type: i0.Inject,
|
|
685
|
+
args: [i2.TuiDestroyService]
|
|
686
|
+
}] }, { type: TuiDropdownDirective, decorators: [{
|
|
687
|
+
type: i0.Inject,
|
|
688
|
+
args: [TuiDropdownDirective]
|
|
689
|
+
}] }, { type: i0__namespace.ElementRef, decorators: [{
|
|
690
|
+
type: i0.Inject,
|
|
691
|
+
args: [i0.ElementRef]
|
|
692
|
+
}] }, { type: i2__namespace.AbstractTuiPortalHostComponent, decorators: [{
|
|
693
|
+
type: i0.Inject,
|
|
694
|
+
args: [i2.AbstractTuiPortalHostComponent]
|
|
695
|
+
}] }, { type: i1__namespace$2.TuiRectAccessor, decorators: [{
|
|
696
|
+
type: i0.Inject,
|
|
697
|
+
args: [i1$1.TuiRectAccessor]
|
|
698
|
+
}] }, { type: Window, decorators: [{
|
|
699
|
+
type: i0.Inject,
|
|
700
|
+
args: [common.WINDOW]
|
|
701
|
+
}] }, { type: undefined, decorators: [{
|
|
702
|
+
type: i0.Inject,
|
|
703
|
+
args: [tokens.TUI_ANIMATION_OPTIONS]
|
|
704
|
+
}] }, { type: undefined, decorators: [{
|
|
705
|
+
type: i0.Inject,
|
|
706
|
+
args: [TUI_DROPDOWN_OPTIONS]
|
|
707
|
+
}] }, { type: TuiDropdownHoverDirective, decorators: [{
|
|
708
|
+
type: i0.Optional
|
|
709
|
+
}, {
|
|
710
|
+
type: i0.Inject,
|
|
711
|
+
args: [TuiDropdownHoverDirective]
|
|
712
|
+
}] }];
|
|
713
|
+
}, propDecorators: { dropdownAnimation: [{
|
|
714
|
+
type: i0.HostBinding,
|
|
715
|
+
args: ["@tuiDropdownAnimation"]
|
|
716
|
+
}] } });
|
|
717
|
+
|
|
718
|
+
var TuiDropdownContextDirective = /** @class */ (function (_super) {
|
|
719
|
+
__extends(TuiDropdownContextDirective, _super);
|
|
720
|
+
function TuiDropdownContextDirective(dropdown) {
|
|
721
|
+
var _this = _super.call(this, function (subscriber) { return _this.stream$.subscribe(subscriber); }) || this;
|
|
722
|
+
_this.dropdown = dropdown;
|
|
723
|
+
_this.stream$ = new i5.Subject();
|
|
724
|
+
_this.currentRect = i2.EMPTY_CLIENT_RECT;
|
|
725
|
+
return _this;
|
|
726
|
+
}
|
|
727
|
+
TuiDropdownContextDirective.prototype.onContextMenu = function (x, y) {
|
|
728
|
+
this.currentRect = i2.tuiPointToClientRect(x, y);
|
|
729
|
+
this.stream$.next(true);
|
|
730
|
+
};
|
|
731
|
+
TuiDropdownContextDirective.prototype.onClick = function (target) {
|
|
732
|
+
var _a;
|
|
733
|
+
if (!((_a = this.dropdown.dropdownBoxRef) === null || _a === void 0 ? void 0 : _a.location.nativeElement.contains(target))) {
|
|
734
|
+
this.stream$.next(false);
|
|
735
|
+
}
|
|
736
|
+
};
|
|
737
|
+
TuiDropdownContextDirective.prototype.getClientRect = function () {
|
|
738
|
+
return this.currentRect;
|
|
739
|
+
};
|
|
740
|
+
return TuiDropdownContextDirective;
|
|
741
|
+
}(i1$1.TuiDriver));
|
|
742
|
+
TuiDropdownContextDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownContextDirective, deps: [{ token: TuiDropdownDirective }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
743
|
+
TuiDropdownContextDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownContextDirective, selector: "[tuiDropdown][tuiDropdownContext]", host: { listeners: { "contextmenu.prevent.stop": "onContextMenu($event.clientX,$event.clientY)", "document:click.silent": "onClick($event.target)", "document:contextmenu.silent": "onClick($event.target)", "document:keydown.esc": "onClick($event.currentTarget)" } }, providers: [
|
|
744
|
+
i1$1.tuiAsDriver(TuiDropdownContextDirective),
|
|
745
|
+
i1$1.tuiAsRectAccessor(TuiDropdownContextDirective),
|
|
746
|
+
], usesInheritance: true, ngImport: i0__namespace });
|
|
747
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownContextDirective, decorators: [{
|
|
748
|
+
type: i0.Directive,
|
|
749
|
+
args: [{
|
|
750
|
+
selector: "[tuiDropdown][tuiDropdownContext]",
|
|
751
|
+
providers: [
|
|
752
|
+
i1$1.tuiAsDriver(TuiDropdownContextDirective),
|
|
753
|
+
i1$1.tuiAsRectAccessor(TuiDropdownContextDirective),
|
|
754
|
+
],
|
|
755
|
+
}]
|
|
756
|
+
}], ctorParameters: function () {
|
|
757
|
+
return [{ type: TuiDropdownDirective, decorators: [{
|
|
758
|
+
type: i0.Inject,
|
|
759
|
+
args: [TuiDropdownDirective]
|
|
760
|
+
}] }];
|
|
761
|
+
}, propDecorators: { onContextMenu: [{
|
|
762
|
+
type: i0.HostListener,
|
|
763
|
+
args: ["contextmenu.prevent.stop", ["$event.clientX", "$event.clientY"]]
|
|
764
|
+
}], onClick: [{
|
|
765
|
+
type: i0.HostListener,
|
|
766
|
+
args: ["document:click.silent", ["$event.target"]]
|
|
767
|
+
}, {
|
|
768
|
+
type: i0.HostListener,
|
|
769
|
+
args: ["document:contextmenu.silent", ["$event.target"]]
|
|
770
|
+
}, {
|
|
771
|
+
type: i0.HostListener,
|
|
772
|
+
args: ["document:keydown.esc", ["$event.currentTarget"]]
|
|
773
|
+
}] } });
|
|
774
|
+
|
|
775
|
+
var TuiDropdownDriverDirective = /** @class */ (function (_super) {
|
|
776
|
+
__extends(TuiDropdownDriverDirective, _super);
|
|
777
|
+
function TuiDropdownDriverDirective() {
|
|
778
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
779
|
+
}
|
|
780
|
+
return TuiDropdownDriverDirective;
|
|
781
|
+
}(i1$1.AbstractTuiDriverDirective));
|
|
782
|
+
TuiDropdownDriverDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownDriverDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
783
|
+
TuiDropdownDriverDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownDriverDirective, selector: "[tuiDropdown]", providers: [i2.TuiDestroyService], usesInheritance: true, ngImport: i0__namespace });
|
|
784
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownDriverDirective, decorators: [{
|
|
785
|
+
type: i0.Directive,
|
|
786
|
+
args: [{
|
|
787
|
+
selector: "[tuiDropdown]",
|
|
788
|
+
providers: [i2.TuiDestroyService],
|
|
789
|
+
}]
|
|
790
|
+
}] });
|
|
791
|
+
|
|
792
|
+
var TuiDropdownHostDirective = /** @class */ (function (_super) {
|
|
793
|
+
__extends(TuiDropdownHostDirective, _super);
|
|
794
|
+
function TuiDropdownHostDirective() {
|
|
795
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
796
|
+
}
|
|
797
|
+
TuiDropdownHostDirective.prototype.getClientRect = function () {
|
|
798
|
+
var _a;
|
|
799
|
+
return ((_a = this.tuiDropdownHost) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) || i2.EMPTY_CLIENT_RECT;
|
|
800
|
+
};
|
|
801
|
+
return TuiDropdownHostDirective;
|
|
802
|
+
}(i1$1.TuiRectAccessor));
|
|
803
|
+
TuiDropdownHostDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownHostDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
804
|
+
TuiDropdownHostDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownHostDirective, selector: "[tuiDropdown][tuiDropdownHost]", inputs: { tuiDropdownHost: "tuiDropdownHost" }, providers: [i1$1.tuiAsRectAccessor(TuiDropdownHostDirective)], usesInheritance: true, ngImport: i0__namespace });
|
|
805
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownHostDirective, decorators: [{
|
|
806
|
+
type: i0.Directive,
|
|
807
|
+
args: [{
|
|
808
|
+
selector: "[tuiDropdown][tuiDropdownHost]",
|
|
809
|
+
providers: [i1$1.tuiAsRectAccessor(TuiDropdownHostDirective)],
|
|
810
|
+
}]
|
|
811
|
+
}], propDecorators: { tuiDropdownHost: [{
|
|
812
|
+
type: i0.Input
|
|
813
|
+
}] } });
|
|
814
|
+
|
|
815
|
+
var TuiDropdownManualDirective = /** @class */ (function (_super) {
|
|
816
|
+
__extends(TuiDropdownManualDirective, _super);
|
|
817
|
+
function TuiDropdownManualDirective() {
|
|
818
|
+
var _this = _super.call(this, function (subscriber) { return _this.stream$.subscribe(subscriber); }) || this;
|
|
819
|
+
_this.stream$ = new i5.Subject();
|
|
820
|
+
_this.tuiDropdownManual = false;
|
|
821
|
+
return _this;
|
|
822
|
+
}
|
|
823
|
+
TuiDropdownManualDirective.prototype.ngOnChanges = function () {
|
|
824
|
+
this.stream$.next(this.tuiDropdownManual);
|
|
825
|
+
};
|
|
826
|
+
return TuiDropdownManualDirective;
|
|
827
|
+
}(i1$1.TuiDriver));
|
|
828
|
+
TuiDropdownManualDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownManualDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
829
|
+
TuiDropdownManualDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownManualDirective, selector: "[tuiDropdown][tuiDropdownManual]", inputs: { tuiDropdownManual: "tuiDropdownManual" }, providers: [i1$1.tuiAsDriver(TuiDropdownManualDirective)], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
|
|
830
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownManualDirective, decorators: [{
|
|
831
|
+
type: i0.Directive,
|
|
832
|
+
args: [{
|
|
833
|
+
selector: "[tuiDropdown][tuiDropdownManual]",
|
|
834
|
+
providers: [i1$1.tuiAsDriver(TuiDropdownManualDirective)],
|
|
835
|
+
}]
|
|
836
|
+
}], ctorParameters: function () { return []; }, propDecorators: { tuiDropdownManual: [{
|
|
837
|
+
type: i0.Input
|
|
838
|
+
}] } });
|
|
839
|
+
|
|
840
|
+
var TuiDropdownPositionDirective = /** @class */ (function () {
|
|
841
|
+
function TuiDropdownPositionDirective(options, windowRef, accessor) {
|
|
842
|
+
this.options = options;
|
|
843
|
+
this.windowRef = windowRef;
|
|
844
|
+
this.accessor = accessor;
|
|
845
|
+
this.previous = this.options.direction || "bottom";
|
|
846
|
+
}
|
|
847
|
+
TuiDropdownPositionDirective.prototype.getPosition = function (_a) {
|
|
848
|
+
var width = _a.width, height = _a.height;
|
|
849
|
+
var hostRect = this.accessor.getClientRect();
|
|
850
|
+
var _b = this.windowRef, innerHeight = _b.innerHeight, innerWidth = _b.innerWidth;
|
|
851
|
+
var _c = this.options, minHeight = _c.minHeight, align = _c.align, direction = _c.direction;
|
|
852
|
+
var right = Math.max(hostRect.right - width, TUI_DROPDOWN_OFFSET);
|
|
853
|
+
var available = {
|
|
854
|
+
top: hostRect.top - 2 * TUI_DROPDOWN_OFFSET,
|
|
855
|
+
bottom: innerHeight - hostRect.bottom - 2 * TUI_DROPDOWN_OFFSET,
|
|
856
|
+
};
|
|
857
|
+
var position = {
|
|
858
|
+
top: hostRect.top - TUI_DROPDOWN_OFFSET - height,
|
|
859
|
+
bottom: hostRect.bottom + TUI_DROPDOWN_OFFSET,
|
|
860
|
+
right: right,
|
|
861
|
+
left: hostRect.left + width < innerWidth - TUI_DROPDOWN_OFFSET
|
|
862
|
+
? hostRect.left
|
|
863
|
+
: right,
|
|
864
|
+
};
|
|
865
|
+
var better = available.top > available.bottom ? "top" : "bottom";
|
|
866
|
+
if ((available[this.previous] > minHeight && direction) ||
|
|
867
|
+
available[this.previous] > height ||
|
|
868
|
+
this.previous === better) {
|
|
869
|
+
return [position[this.previous], position[align]];
|
|
870
|
+
}
|
|
871
|
+
this.previous = better;
|
|
872
|
+
return [position[better], position[align]];
|
|
873
|
+
};
|
|
874
|
+
return TuiDropdownPositionDirective;
|
|
875
|
+
}());
|
|
876
|
+
TuiDropdownPositionDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownPositionDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS }, { token: common.WINDOW }, { token: i1$1.TuiRectAccessor }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
877
|
+
TuiDropdownPositionDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownPositionDirective, selector: "[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])", providers: [i1$1.tuiAsPositionAccessor(TuiDropdownPositionDirective)], ngImport: i0__namespace });
|
|
878
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownPositionDirective, decorators: [{
|
|
879
|
+
type: i0.Directive,
|
|
880
|
+
args: [{
|
|
881
|
+
selector: "[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])",
|
|
882
|
+
providers: [i1$1.tuiAsPositionAccessor(TuiDropdownPositionDirective)],
|
|
883
|
+
}]
|
|
884
|
+
}], ctorParameters: function () {
|
|
885
|
+
return [{ type: undefined, decorators: [{
|
|
886
|
+
type: i0.Inject,
|
|
887
|
+
args: [TUI_DROPDOWN_OPTIONS]
|
|
888
|
+
}] }, { type: Window, decorators: [{
|
|
889
|
+
type: i0.Inject,
|
|
890
|
+
args: [common.WINDOW]
|
|
891
|
+
}] }, { type: i1__namespace$2.TuiRectAccessor, decorators: [{
|
|
892
|
+
type: i0.Inject,
|
|
893
|
+
args: [i1$1.TuiRectAccessor]
|
|
894
|
+
}] }];
|
|
895
|
+
} });
|
|
896
|
+
|
|
897
|
+
var TuiDropdownPositionSidedDirective = /** @class */ (function () {
|
|
898
|
+
function TuiDropdownPositionSidedDirective(options, windowRef, accessor) {
|
|
899
|
+
this.options = options;
|
|
900
|
+
this.windowRef = windowRef;
|
|
901
|
+
this.accessor = accessor;
|
|
902
|
+
this.previous = this.options.direction || "bottom";
|
|
903
|
+
}
|
|
904
|
+
TuiDropdownPositionSidedDirective.prototype.getPosition = function (_a) {
|
|
905
|
+
var height = _a.height, width = _a.width;
|
|
906
|
+
var hostRect = this.accessor.getClientRect();
|
|
907
|
+
var _b = this.windowRef, innerHeight = _b.innerHeight, innerWidth = _b.innerWidth;
|
|
908
|
+
var _c = this.options, align = _c.align, direction = _c.direction, minHeight = _c.minHeight;
|
|
909
|
+
var available = {
|
|
910
|
+
top: hostRect.bottom,
|
|
911
|
+
left: hostRect.left - TUI_DROPDOWN_OFFSET,
|
|
912
|
+
right: innerWidth - hostRect.right - TUI_DROPDOWN_OFFSET,
|
|
913
|
+
bottom: innerHeight - hostRect.top,
|
|
914
|
+
};
|
|
915
|
+
var position = {
|
|
916
|
+
top: hostRect.bottom - height + 2 * TUI_DROPDOWN_OFFSET + 1,
|
|
917
|
+
left: hostRect.left - width - TUI_DROPDOWN_OFFSET,
|
|
918
|
+
right: hostRect.right + TUI_DROPDOWN_OFFSET,
|
|
919
|
+
bottom: hostRect.top - 2 * TUI_DROPDOWN_OFFSET - 1, // 1 for border
|
|
920
|
+
};
|
|
921
|
+
var better = available.top > available.bottom ? "top" : "bottom";
|
|
922
|
+
var maxLeft = available.left > available.right ? position.left : position.right;
|
|
923
|
+
var left = available[align] > width ? position[align] : maxLeft;
|
|
924
|
+
if ((available[this.previous] > minHeight && direction) ||
|
|
925
|
+
this.previous === better) {
|
|
926
|
+
return [position[this.previous], left];
|
|
927
|
+
}
|
|
928
|
+
this.previous = better;
|
|
929
|
+
return [position[better], left];
|
|
930
|
+
};
|
|
931
|
+
return TuiDropdownPositionSidedDirective;
|
|
932
|
+
}());
|
|
933
|
+
TuiDropdownPositionSidedDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownPositionSidedDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS }, { token: common.WINDOW }, { token: i1$1.TuiRectAccessor }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
934
|
+
TuiDropdownPositionSidedDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownPositionSidedDirective, selector: "[tuiDropdownSided]", providers: [i1$1.tuiAsPositionAccessor(TuiDropdownPositionSidedDirective)], ngImport: i0__namespace });
|
|
935
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownPositionSidedDirective, decorators: [{
|
|
936
|
+
type: i0.Directive,
|
|
937
|
+
args: [{
|
|
938
|
+
selector: "[tuiDropdownSided]",
|
|
939
|
+
providers: [i1$1.tuiAsPositionAccessor(TuiDropdownPositionSidedDirective)],
|
|
940
|
+
}]
|
|
941
|
+
}], ctorParameters: function () {
|
|
942
|
+
return [{ type: undefined, decorators: [{
|
|
943
|
+
type: i0.Inject,
|
|
944
|
+
args: [TUI_DROPDOWN_OPTIONS]
|
|
945
|
+
}] }, { type: Window, decorators: [{
|
|
946
|
+
type: i0.Inject,
|
|
947
|
+
args: [common.WINDOW]
|
|
948
|
+
}] }, { type: i1__namespace$2.TuiRectAccessor, decorators: [{
|
|
949
|
+
type: i0.Inject,
|
|
950
|
+
args: [i1$1.TuiRectAccessor]
|
|
951
|
+
}] }];
|
|
952
|
+
} });
|
|
953
|
+
|
|
954
|
+
var TuiDropdownSelectionDirective = /** @class */ (function (_super) {
|
|
955
|
+
__extends(TuiDropdownSelectionDirective, _super);
|
|
956
|
+
function TuiDropdownSelectionDirective(range, documentRef, selection$, elementRef, viewContainerRef, dropdown) {
|
|
957
|
+
var _this = _super.call(this, function (subscriber) { return _this.stream$.subscribe(subscriber); }) || this;
|
|
958
|
+
_this.range = range;
|
|
959
|
+
_this.documentRef = documentRef;
|
|
960
|
+
_this.selection$ = selection$;
|
|
961
|
+
_this.elementRef = elementRef;
|
|
962
|
+
_this.viewContainerRef = viewContainerRef;
|
|
963
|
+
_this.dropdown = dropdown;
|
|
964
|
+
_this.handler$ = new i5.BehaviorSubject(i2.ALWAYS_TRUE_HANDLER);
|
|
965
|
+
_this.stream$ = i5.combineLatest([
|
|
966
|
+
_this.handler$,
|
|
967
|
+
_this.selection$.pipe(operators.map(function () { return _this.getRange(); }), operators.distinctUntilChanged()),
|
|
968
|
+
]).pipe(operators.map(function (_b) {
|
|
969
|
+
var _c = __read(_b, 2), handler = _c[0], range = _c[1];
|
|
970
|
+
var contained = _this.elementRef.nativeElement.contains(range.commonAncestorContainer);
|
|
971
|
+
_this.range =
|
|
972
|
+
contained && i2.tuiIsTextNode(range.commonAncestorContainer)
|
|
973
|
+
? range
|
|
974
|
+
: _this.range;
|
|
975
|
+
return (contained && handler(_this.range)) || _this.inDropdown(range);
|
|
976
|
+
}));
|
|
977
|
+
_this.position = "selection";
|
|
978
|
+
return _this;
|
|
979
|
+
}
|
|
980
|
+
Object.defineProperty(TuiDropdownSelectionDirective.prototype, "tuiDropdownSelection", {
|
|
981
|
+
set: function (visible) {
|
|
982
|
+
if (!i2.tuiIsString(visible)) {
|
|
983
|
+
this.handler$.next(visible);
|
|
984
|
+
}
|
|
985
|
+
},
|
|
986
|
+
enumerable: false,
|
|
987
|
+
configurable: true
|
|
988
|
+
});
|
|
989
|
+
TuiDropdownSelectionDirective.prototype.getClientRect = function () {
|
|
990
|
+
switch (this.position) {
|
|
991
|
+
case "tag": {
|
|
992
|
+
var commonAncestorContainer = this.range.commonAncestorContainer;
|
|
993
|
+
var element = i2.tuiIsElement(commonAncestorContainer)
|
|
994
|
+
? commonAncestorContainer
|
|
995
|
+
: commonAncestorContainer.parentNode;
|
|
996
|
+
return element && i2.tuiIsElement(element)
|
|
997
|
+
? element.getBoundingClientRect()
|
|
998
|
+
: i2.EMPTY_CLIENT_RECT;
|
|
999
|
+
}
|
|
1000
|
+
case "word":
|
|
1001
|
+
return utils.tuiGetWordRange(this.range).getBoundingClientRect();
|
|
1002
|
+
default:
|
|
1003
|
+
return this.range.getBoundingClientRect();
|
|
1004
|
+
}
|
|
1005
|
+
};
|
|
1006
|
+
TuiDropdownSelectionDirective.prototype.ngOnDestroy = function () {
|
|
1007
|
+
if (this.ghost) {
|
|
1008
|
+
this.viewContainerRef.element.nativeElement.removeChild(this.ghost);
|
|
1009
|
+
}
|
|
1010
|
+
};
|
|
1011
|
+
TuiDropdownSelectionDirective.prototype.getRange = function () {
|
|
1012
|
+
var nativeElement = this.elementRef.nativeElement;
|
|
1013
|
+
var active = i2.tuiGetNativeFocused(this.documentRef);
|
|
1014
|
+
var selection = this.documentRef.getSelection();
|
|
1015
|
+
if (active && i2.tuiIsTextfield(active) && nativeElement.contains(active)) {
|
|
1016
|
+
return this.veryVerySadInputFix(active);
|
|
1017
|
+
}
|
|
1018
|
+
return (selection === null || selection === void 0 ? void 0 : selection.rangeCount) ? selection.getRangeAt(0) : this.range;
|
|
1019
|
+
};
|
|
1020
|
+
/**
|
|
1021
|
+
* Check if Node is inside dropdown
|
|
1022
|
+
*/
|
|
1023
|
+
TuiDropdownSelectionDirective.prototype.boxContains = function (node) {
|
|
1024
|
+
var _a;
|
|
1025
|
+
return !!((_a = this.dropdown.dropdownBoxRef) === null || _a === void 0 ? void 0 : _a.location.nativeElement.contains(node));
|
|
1026
|
+
};
|
|
1027
|
+
/**
|
|
1028
|
+
* Check if given range is at least partially inside dropdown
|
|
1029
|
+
*/
|
|
1030
|
+
TuiDropdownSelectionDirective.prototype.inDropdown = function (range) {
|
|
1031
|
+
var startContainer = range.startContainer, endContainer = range.endContainer;
|
|
1032
|
+
var nativeElement = this.elementRef.nativeElement;
|
|
1033
|
+
var inDropdown = this.boxContains(range.commonAncestorContainer);
|
|
1034
|
+
var hostToDropdown = this.boxContains(endContainer) && nativeElement.contains(startContainer);
|
|
1035
|
+
var dropdownToHost = this.boxContains(startContainer) && nativeElement.contains(endContainer);
|
|
1036
|
+
return inDropdown || hostToDropdown || dropdownToHost;
|
|
1037
|
+
};
|
|
1038
|
+
TuiDropdownSelectionDirective.prototype.veryVerySadInputFix = function (element) {
|
|
1039
|
+
var _b = this.ghost, ghost = _b === void 0 ? this.initGhost(element) : _b;
|
|
1040
|
+
var _c = element.getBoundingClientRect(), top = _c.top, left = _c.left, width = _c.width, height = _c.height;
|
|
1041
|
+
var selectionStart = element.selectionStart, selectionEnd = element.selectionEnd, value = element.value;
|
|
1042
|
+
var range = this.documentRef.createRange();
|
|
1043
|
+
var hostRect = this.elementRef.nativeElement.getBoundingClientRect();
|
|
1044
|
+
ghost.style.top = i2.tuiPx(top - hostRect.top);
|
|
1045
|
+
ghost.style.left = i2.tuiPx(left - hostRect.left);
|
|
1046
|
+
ghost.style.width = i2.tuiPx(width);
|
|
1047
|
+
ghost.style.height = i2.tuiPx(height);
|
|
1048
|
+
ghost.textContent = i2.CHAR_ZERO_WIDTH_SPACE + value + i2.CHAR_NO_BREAK_SPACE;
|
|
1049
|
+
range.setStart(ghost.firstChild, selectionStart || 0);
|
|
1050
|
+
range.setEnd(ghost.firstChild, selectionEnd || 0);
|
|
1051
|
+
return range;
|
|
1052
|
+
};
|
|
1053
|
+
/**
|
|
1054
|
+
* Create an invisible DIV styled exactly like input/textarea element inside directive
|
|
1055
|
+
*/
|
|
1056
|
+
TuiDropdownSelectionDirective.prototype.initGhost = function (element) {
|
|
1057
|
+
var ghost = this.documentRef.createElement("div");
|
|
1058
|
+
var nativeElement = this.viewContainerRef.element.nativeElement;
|
|
1059
|
+
var _b = getComputedStyle(element), font = _b.font, letterSpacing = _b.letterSpacing, textTransform = _b.textTransform, padding = _b.padding;
|
|
1060
|
+
ghost.style.position = "absolute";
|
|
1061
|
+
ghost.style.pointerEvents = "none";
|
|
1062
|
+
ghost.style.opacity = "0";
|
|
1063
|
+
ghost.style.whiteSpace = "pre-wrap";
|
|
1064
|
+
ghost.style.font = font;
|
|
1065
|
+
ghost.style.letterSpacing = letterSpacing;
|
|
1066
|
+
ghost.style.textTransform = textTransform;
|
|
1067
|
+
ghost.style.padding = padding;
|
|
1068
|
+
nativeElement.appendChild(ghost);
|
|
1069
|
+
this.ghost = ghost;
|
|
1070
|
+
return ghost;
|
|
1071
|
+
};
|
|
1072
|
+
return TuiDropdownSelectionDirective;
|
|
1073
|
+
}(i1$1.TuiDriver));
|
|
1074
|
+
TuiDropdownSelectionDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownSelectionDirective, deps: [{ token: i2.TUI_RANGE }, { token: common$1.DOCUMENT }, { token: tokens.TUI_SELECTION_STREAM }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: TuiDropdownDirective }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
1075
|
+
TuiDropdownSelectionDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownSelectionDirective, selector: "[tuiDropdown][tuiDropdownSelection]", inputs: { position: ["tuiDropdownSelectionPosition", "position"], tuiDropdownSelection: "tuiDropdownSelection" }, providers: [
|
|
1076
|
+
i1$1.tuiAsDriver(TuiDropdownSelectionDirective),
|
|
1077
|
+
i1$1.tuiAsRectAccessor(TuiDropdownSelectionDirective),
|
|
1078
|
+
], usesInheritance: true, ngImport: i0__namespace });
|
|
1079
|
+
__decorate([
|
|
1080
|
+
i2.tuiDefaultProp()
|
|
1081
|
+
], TuiDropdownSelectionDirective.prototype, "position", void 0);
|
|
1082
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownSelectionDirective, decorators: [{
|
|
1083
|
+
type: i0.Directive,
|
|
1084
|
+
args: [{
|
|
1085
|
+
selector: "[tuiDropdown][tuiDropdownSelection]",
|
|
1086
|
+
providers: [
|
|
1087
|
+
i1$1.tuiAsDriver(TuiDropdownSelectionDirective),
|
|
1088
|
+
i1$1.tuiAsRectAccessor(TuiDropdownSelectionDirective),
|
|
1089
|
+
],
|
|
1090
|
+
}]
|
|
1091
|
+
}], ctorParameters: function () {
|
|
1092
|
+
return [{ type: Range, decorators: [{
|
|
1093
|
+
type: i0.Inject,
|
|
1094
|
+
args: [i2.TUI_RANGE]
|
|
1095
|
+
}] }, { type: Document, decorators: [{
|
|
1096
|
+
type: i0.Inject,
|
|
1097
|
+
args: [common$1.DOCUMENT]
|
|
1098
|
+
}] }, { type: i5__namespace.Observable, decorators: [{
|
|
1099
|
+
type: i0.Inject,
|
|
1100
|
+
args: [tokens.TUI_SELECTION_STREAM]
|
|
1101
|
+
}] }, { type: i0__namespace.ElementRef, decorators: [{
|
|
1102
|
+
type: i0.Inject,
|
|
1103
|
+
args: [i0.ElementRef]
|
|
1104
|
+
}] }, { type: i0__namespace.ViewContainerRef, decorators: [{
|
|
1105
|
+
type: i0.Inject,
|
|
1106
|
+
args: [i0.ViewContainerRef]
|
|
1107
|
+
}] }, { type: TuiDropdownDirective, decorators: [{
|
|
1108
|
+
type: i0.Inject,
|
|
1109
|
+
args: [TuiDropdownDirective]
|
|
1110
|
+
}] }];
|
|
1111
|
+
}, propDecorators: { position: [{
|
|
1112
|
+
type: i0.Input,
|
|
1113
|
+
args: ["tuiDropdownSelectionPosition"]
|
|
1114
|
+
}], tuiDropdownSelection: [{
|
|
1115
|
+
type: i0.Input
|
|
1116
|
+
}] } });
|
|
304
1117
|
|
|
305
1118
|
var TuiDropdownModule = /** @class */ (function () {
|
|
306
1119
|
function TuiDropdownModule() {
|
|
307
1120
|
}
|
|
308
|
-
TuiDropdownModule = __decorate([
|
|
309
|
-
core.NgModule({
|
|
310
|
-
imports: [dropdownBox.TuiDropdownBoxModule],
|
|
311
|
-
declarations: [TuiDropdownDirective],
|
|
312
|
-
exports: [TuiDropdownDirective],
|
|
313
|
-
})
|
|
314
|
-
], TuiDropdownModule);
|
|
315
1121
|
return TuiDropdownModule;
|
|
316
1122
|
}());
|
|
1123
|
+
TuiDropdownModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1124
|
+
TuiDropdownModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownModule, declarations: [TuiDropdownDirective,
|
|
1125
|
+
TuiDropdownComponent,
|
|
1126
|
+
TuiDropdownOptionsDirective,
|
|
1127
|
+
TuiDropdownHostDirective,
|
|
1128
|
+
TuiDropdownDriverDirective,
|
|
1129
|
+
TuiDropdownManualDirective,
|
|
1130
|
+
TuiDropdownHoverDirective,
|
|
1131
|
+
TuiDropdownContextDirective,
|
|
1132
|
+
TuiDropdownPositionDirective,
|
|
1133
|
+
TuiDropdownPositionSidedDirective,
|
|
1134
|
+
TuiDropdownSelectionDirective], imports: [i1.PolymorpheusModule,
|
|
1135
|
+
i2.TuiActiveZoneModule,
|
|
1136
|
+
i2.TuiOverscrollModule,
|
|
1137
|
+
i1$2.TuiScrollbarModule,
|
|
1138
|
+
i3.TuiModeModule,
|
|
1139
|
+
i2.TuiHoveredModule], exports: [TuiDropdownDirective,
|
|
1140
|
+
TuiDropdownComponent,
|
|
1141
|
+
TuiDropdownOptionsDirective,
|
|
1142
|
+
TuiDropdownHostDirective,
|
|
1143
|
+
TuiDropdownDriverDirective,
|
|
1144
|
+
TuiDropdownManualDirective,
|
|
1145
|
+
TuiDropdownHoverDirective,
|
|
1146
|
+
TuiDropdownContextDirective,
|
|
1147
|
+
TuiDropdownPositionDirective,
|
|
1148
|
+
TuiDropdownPositionSidedDirective,
|
|
1149
|
+
TuiDropdownSelectionDirective] });
|
|
1150
|
+
TuiDropdownModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownModule, imports: [[
|
|
1151
|
+
i1.PolymorpheusModule,
|
|
1152
|
+
i2.TuiActiveZoneModule,
|
|
1153
|
+
i2.TuiOverscrollModule,
|
|
1154
|
+
i1$2.TuiScrollbarModule,
|
|
1155
|
+
i3.TuiModeModule,
|
|
1156
|
+
i2.TuiHoveredModule,
|
|
1157
|
+
]] });
|
|
1158
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownModule, decorators: [{
|
|
1159
|
+
type: i0.NgModule,
|
|
1160
|
+
args: [{
|
|
1161
|
+
imports: [
|
|
1162
|
+
i1.PolymorpheusModule,
|
|
1163
|
+
i2.TuiActiveZoneModule,
|
|
1164
|
+
i2.TuiOverscrollModule,
|
|
1165
|
+
i1$2.TuiScrollbarModule,
|
|
1166
|
+
i3.TuiModeModule,
|
|
1167
|
+
i2.TuiHoveredModule,
|
|
1168
|
+
],
|
|
1169
|
+
declarations: [
|
|
1170
|
+
TuiDropdownDirective,
|
|
1171
|
+
TuiDropdownComponent,
|
|
1172
|
+
TuiDropdownOptionsDirective,
|
|
1173
|
+
TuiDropdownHostDirective,
|
|
1174
|
+
TuiDropdownDriverDirective,
|
|
1175
|
+
TuiDropdownManualDirective,
|
|
1176
|
+
TuiDropdownHoverDirective,
|
|
1177
|
+
TuiDropdownContextDirective,
|
|
1178
|
+
TuiDropdownPositionDirective,
|
|
1179
|
+
TuiDropdownPositionSidedDirective,
|
|
1180
|
+
TuiDropdownSelectionDirective,
|
|
1181
|
+
],
|
|
1182
|
+
exports: [
|
|
1183
|
+
TuiDropdownDirective,
|
|
1184
|
+
TuiDropdownComponent,
|
|
1185
|
+
TuiDropdownOptionsDirective,
|
|
1186
|
+
TuiDropdownHostDirective,
|
|
1187
|
+
TuiDropdownDriverDirective,
|
|
1188
|
+
TuiDropdownManualDirective,
|
|
1189
|
+
TuiDropdownHoverDirective,
|
|
1190
|
+
TuiDropdownContextDirective,
|
|
1191
|
+
TuiDropdownPositionDirective,
|
|
1192
|
+
TuiDropdownPositionSidedDirective,
|
|
1193
|
+
TuiDropdownSelectionDirective,
|
|
1194
|
+
],
|
|
1195
|
+
}]
|
|
1196
|
+
}] });
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* Generated bundle index. Do not edit.
|
|
1200
|
+
*/
|
|
317
1201
|
|
|
1202
|
+
exports.TUI_DROPDOWN_COMPONENT = TUI_DROPDOWN_COMPONENT;
|
|
1203
|
+
exports.TUI_DROPDOWN_DEFAULT_OPTIONS = TUI_DROPDOWN_DEFAULT_OPTIONS;
|
|
1204
|
+
exports.TUI_DROPDOWN_OFFSET = TUI_DROPDOWN_OFFSET;
|
|
1205
|
+
exports.TUI_DROPDOWN_OPTIONS = TUI_DROPDOWN_OPTIONS;
|
|
1206
|
+
exports.TuiDropdownComponent = TuiDropdownComponent;
|
|
1207
|
+
exports.TuiDropdownContextDirective = TuiDropdownContextDirective;
|
|
318
1208
|
exports.TuiDropdownDirective = TuiDropdownDirective;
|
|
1209
|
+
exports.TuiDropdownDriverDirective = TuiDropdownDriverDirective;
|
|
1210
|
+
exports.TuiDropdownHostDirective = TuiDropdownHostDirective;
|
|
1211
|
+
exports.TuiDropdownHoverDirective = TuiDropdownHoverDirective;
|
|
1212
|
+
exports.TuiDropdownManualDirective = TuiDropdownManualDirective;
|
|
319
1213
|
exports.TuiDropdownModule = TuiDropdownModule;
|
|
1214
|
+
exports.TuiDropdownOptionsDirective = TuiDropdownOptionsDirective;
|
|
1215
|
+
exports.TuiDropdownPositionDirective = TuiDropdownPositionDirective;
|
|
1216
|
+
exports.TuiDropdownPositionSidedDirective = TuiDropdownPositionSidedDirective;
|
|
1217
|
+
exports.TuiDropdownSelectionDirective = TuiDropdownSelectionDirective;
|
|
1218
|
+
exports.tuiDropdownOptionsProvider = tuiDropdownOptionsProvider;
|
|
320
1219
|
|
|
321
1220
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
322
1221
|
|
|
323
|
-
}))
|
|
1222
|
+
}));
|
|
324
1223
|
//# sourceMappingURL=taiga-ui-core-directives-dropdown.umd.js.map
|