@taiga-ui/core 3.58.0 → 3.59.0-canary.10da730
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 +1 -1
- package/abstract/abstract-textfield-host.d.ts +1 -1
- package/abstract/rect-accessor.d.ts +1 -1
- package/components/alert/alert.component.d.ts +1 -1
- package/components/alert/alert.directive.d.ts +1 -1
- package/components/button/button.component.d.ts +1 -1
- package/components/calendar/calendar.component.d.ts +1 -1
- package/components/data-list/data-list.component.d.ts +1 -1
- package/components/data-list/data-list.directive.d.ts +1 -1
- package/components/data-list/opt-group.directive.d.ts +1 -1
- package/components/data-list/option/option.component.d.ts +1 -1
- package/components/dialog/dialog.component.d.ts +2 -2
- package/components/dialog/dialog.directive.d.ts +1 -1
- package/components/dialog/dialog.tokens.d.ts +1 -1
- package/components/error/error.component.d.ts +1 -1
- package/components/expand/expand-content.directive.d.ts +1 -1
- package/components/expand/expand.component.d.ts +1 -1
- package/components/group/group-styles.component.d.ts +1 -1
- package/components/group/group.directive.d.ts +1 -1
- package/components/hints-host/hints-host.component.d.ts +1 -1
- package/components/hosted-dropdown/accessor-proxy.directive.d.ts +1 -1
- package/components/hosted-dropdown/dropdown-open-monitor.directive.d.ts +1 -1
- package/components/hosted-dropdown/hosted-dropdown-connector.directive.d.ts +1 -1
- package/components/hosted-dropdown/hosted-dropdown.component.d.ts +3 -3
- package/components/label/label.component.d.ts +1 -1
- package/components/link/link.component.d.ts +1 -1
- package/components/loader/loader.component.d.ts +1 -1
- package/components/notification/notification.component.d.ts +1 -1
- package/components/primitive-calendar/primitive-calendar.component.d.ts +7 -2
- package/components/primitive-checkbox/primitive-checkbox.component.d.ts +1 -1
- package/components/primitive-spin-button/primitive-spin-button.component.d.ts +1 -1
- package/components/primitive-textfield/primitive-textfield-options.d.ts +1 -1
- package/components/primitive-textfield/primitive-textfield-types.d.ts +1 -1
- package/components/primitive-textfield/primitive-textfield.component.d.ts +1 -1
- package/components/primitive-textfield/primitive-textfield.directive.d.ts +1 -1
- package/components/primitive-textfield/textfield/textfield.component.d.ts +1 -1
- package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +1 -1
- package/components/primitive-year-picker/primitive-year-picker.component.d.ts +1 -1
- package/components/root/root.component.d.ts +1 -1
- package/components/scroll-controls/scroll-controls.component.d.ts +1 -1
- package/components/scroll-controls/scrollbar-wrapper.directive.d.ts +1 -1
- package/components/scroll-controls/scrollbar.directive.d.ts +1 -1
- package/components/scrollbar/scroll-ref.directive.d.ts +1 -1
- package/components/scrollbar/scrollable.directive.d.ts +1 -1
- package/components/scrollbar/scrollbar.component.d.ts +1 -1
- package/components/svg/svg-options.d.ts +1 -1
- package/components/svg/svg.component.d.ts +1 -1
- package/components/theme-night/theme-night.component.d.ts +1 -1
- package/components/tooltip/tooltip.component.d.ts +1 -1
- package/constants/cache-basting-payload.d.ts +1 -1
- package/directives/dropdown/dropdown-context.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-driver.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-host.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-hover.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-manual.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-open.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-options.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-position-sided.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-position.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-selection.directive.d.ts +1 -1
- package/directives/dropdown/dropdown.component.d.ts +1 -1
- package/directives/dropdown/dropdown.directive.d.ts +1 -1
- package/directives/hint/hint-describe.directive.d.ts +1 -1
- package/directives/hint/hint-driver.directive.d.ts +1 -1
- package/directives/hint/hint-host.directive.d.ts +1 -1
- package/directives/hint/hint-hover.directive.d.ts +1 -1
- package/directives/hint/hint-manual.directive.d.ts +1 -1
- package/directives/hint/hint-options.directive.d.ts +1 -1
- package/directives/hint/hint-pointer.directive.d.ts +1 -1
- package/directives/hint/hint-position.directive.d.ts +1 -1
- package/directives/hint/hint-unstyled.component.d.ts +2 -2
- package/directives/hint/hint.component.d.ts +1 -1
- package/directives/hint/hint.directive.d.ts +1 -1
- package/directives/mask-accessor/mask-accessor.directive.d.ts +1 -1
- package/directives/mode/mode.directive.d.ts +1 -1
- package/directives/number-format/number-format.directive.d.ts +1 -1
- package/directives/scroll-into-view/scroll-into-view.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-appearance.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-cleaner.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-custom-content.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-filler.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-icon-left.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-icon.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-label-outside.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-postfix.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-prefix.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-size.directive.d.ts +1 -1
- package/directives/wrapper/README.md +21 -0
- package/directives/wrapper/wrapper.directive.d.ts +1 -1
- package/enums/interactive-state.d.ts +1 -1
- package/esm2020/abstract/abstract-driver.directive.mjs +39 -0
- package/esm2020/abstract/abstract-textfield-host.mjs +36 -0
- package/esm2020/abstract/rect-accessor.mjs +24 -0
- package/esm2020/components/alert/alert.component.mjs +88 -0
- package/esm2020/components/alert/alert.directive.mjs +28 -0
- package/esm2020/components/alert/alert.module.mjs +24 -0
- package/esm2020/components/alert/alert.service.mjs +27 -0
- package/esm2020/components/button/button.component.mjs +104 -0
- package/esm2020/components/button/button.module.mjs +36 -0
- package/esm2020/components/calendar/calendar.component.mjs +125 -0
- package/esm2020/components/calendar/calendar.module.mjs +40 -0
- package/esm2020/components/data-list/data-list.component.mjs +119 -0
- package/esm2020/components/data-list/data-list.directive.mjs +19 -0
- package/esm2020/components/data-list/data-list.module.mjs +39 -0
- package/esm2020/components/data-list/opt-group.directive.mjs +21 -0
- package/esm2020/components/data-list/option/option.component.mjs +112 -0
- package/esm2020/components/dialog/dialog-close.service.mjs +46 -0
- package/esm2020/components/dialog/dialog.component.mjs +116 -0
- package/esm2020/components/dialog/dialog.directive.mjs +28 -0
- package/esm2020/components/dialog/dialog.module.mjs +24 -0
- package/esm2020/components/dialog/dialog.service.mjs +26 -0
- package/esm2020/components/error/error.component.mjs +49 -0
- package/esm2020/components/error/error.module.mjs +19 -0
- package/esm2020/components/expand/expand-content.directive.mjs +13 -0
- package/esm2020/components/expand/expand.component.mjs +125 -0
- package/esm2020/components/expand/expand.module.mjs +20 -0
- package/esm2020/components/group/group-styles.component.mjs +13 -0
- package/esm2020/components/group/group.directive.mjs +68 -0
- package/esm2020/components/group/group.module.mjs +19 -0
- package/esm2020/components/hints-host/hints-host.component.mjs +45 -0
- package/esm2020/components/hints-host/hints-host.module.mjs +20 -0
- package/esm2020/components/hosted-dropdown/accessor-proxy.directive.mjs +42 -0
- package/esm2020/components/hosted-dropdown/dropdown-open-monitor.directive.mjs +46 -0
- package/esm2020/components/hosted-dropdown/hosted-dropdown-connector.directive.mjs +13 -0
- package/esm2020/components/hosted-dropdown/hosted-dropdown.component.mjs +262 -0
- package/esm2020/components/hosted-dropdown/hosted-dropdown.module.mjs +55 -0
- package/esm2020/components/label/label.component.mjs +37 -0
- package/esm2020/components/label/label.module.mjs +18 -0
- package/esm2020/components/link/link.component.mjs +92 -0
- package/esm2020/components/link/link.module.mjs +19 -0
- package/esm2020/components/loader/loader.component.mjs +72 -0
- package/esm2020/components/loader/loader.module.mjs +19 -0
- package/esm2020/components/notification/notification.component.mjs +62 -0
- package/esm2020/components/notification/notification.module.mjs +21 -0
- package/esm2020/components/primitive-calendar/primitive-calendar.component.mjs +155 -0
- package/esm2020/components/primitive-calendar/primitive-calendar.module.mjs +43 -0
- package/esm2020/components/primitive-checkbox/primitive-checkbox.component.mjs +72 -0
- package/esm2020/components/primitive-checkbox/primitive-checkbox.module.mjs +20 -0
- package/esm2020/components/primitive-spin-button/primitive-spin-button.component.mjs +85 -0
- package/esm2020/components/primitive-spin-button/primitive-spin-button.module.mjs +19 -0
- package/esm2020/components/primitive-textfield/primitive-textfield.component.mjs +272 -0
- package/esm2020/components/primitive-textfield/primitive-textfield.directive.mjs +36 -0
- package/esm2020/components/primitive-textfield/primitive-textfield.module.mjs +68 -0
- package/esm2020/components/primitive-textfield/textfield/textfield.component.mjs +57 -0
- package/esm2020/components/primitive-textfield/value-decoration/value-decoration.component.mjs +77 -0
- package/esm2020/components/primitive-year-picker/primitive-year-picker.component.mjs +157 -0
- package/esm2020/components/primitive-year-picker/primitive-year-picker.module.mjs +33 -0
- package/esm2020/components/root/root.component.mjs +70 -0
- package/esm2020/components/root/root.module.mjs +45 -0
- package/esm2020/components/scroll-controls/scroll-controls.component.mjs +53 -0
- package/esm2020/components/scroll-controls/scroll-controls.module.mjs +28 -0
- package/esm2020/components/scroll-controls/scrollbar-wrapper.directive.mjs +25 -0
- package/esm2020/components/scroll-controls/scrollbar.directive.mjs +134 -0
- package/esm2020/components/scrollbar/scroll-ref.directive.mjs +28 -0
- package/esm2020/components/scrollbar/scrollable.directive.mjs +26 -0
- package/esm2020/components/scrollbar/scrollbar.component.mjs +87 -0
- package/esm2020/components/scrollbar/scrollbar.module.mjs +21 -0
- package/esm2020/components/svg/svg-options.mjs +68 -0
- package/esm2020/components/svg/svg.component.mjs +176 -0
- package/esm2020/components/svg/svg.module.mjs +19 -0
- package/esm2020/components/theme-night/theme-night.component.mjs +12 -0
- package/esm2020/components/theme-night/theme-night.module.mjs +16 -0
- package/esm2020/components/tooltip/tooltip.component.mjs +68 -0
- package/esm2020/components/tooltip/tooltip.module.mjs +36 -0
- package/esm2020/directives/dropdown/dropdown-context.directive.mjs +66 -0
- package/esm2020/directives/dropdown/dropdown-driver.directive.mjs +33 -0
- package/esm2020/directives/dropdown/dropdown-host.directive.mjs +25 -0
- package/esm2020/directives/dropdown/dropdown-hover.directive.mjs +56 -0
- package/esm2020/directives/dropdown/dropdown-manual.directive.mjs +27 -0
- package/esm2020/directives/dropdown/dropdown-open.directive.mjs +28 -0
- package/esm2020/directives/dropdown/dropdown-options.directive.mjs +84 -0
- package/esm2020/directives/dropdown/dropdown-position-sided.directive.mjs +81 -0
- package/esm2020/directives/dropdown/dropdown-position.directive.mjs +85 -0
- package/esm2020/directives/dropdown/dropdown-selection.directive.mjs +160 -0
- package/esm2020/directives/dropdown/dropdown.component.mjs +162 -0
- package/esm2020/directives/dropdown/dropdown.directive.mjs +120 -0
- package/esm2020/directives/dropdown/dropdown.module.mjs +93 -0
- package/esm2020/directives/hint/hint-describe.directive.mjs +56 -0
- package/esm2020/directives/hint/hint-driver.directive.mjs +33 -0
- package/esm2020/directives/hint/hint-host.directive.mjs +25 -0
- package/esm2020/directives/hint/hint-hover.directive.mjs +55 -0
- package/esm2020/directives/hint/hint-manual.directive.mjs +33 -0
- package/esm2020/directives/hint/hint-options.directive.mjs +75 -0
- package/esm2020/directives/hint/hint-pointer.directive.mjs +36 -0
- package/esm2020/directives/hint/hint-position.directive.mjs +104 -0
- package/esm2020/directives/hint/hint-unstyled.component.mjs +66 -0
- package/esm2020/directives/hint/hint.component.mjs +158 -0
- package/esm2020/directives/hint/hint.directive.mjs +95 -0
- package/esm2020/directives/hint/hint.module.mjs +75 -0
- package/esm2020/directives/mask-accessor/mask-accessor.directive.mjs +30 -0
- package/esm2020/directives/mask-accessor/mask-accessor.module.mjs +19 -0
- package/esm2020/directives/mode/mode.directive.mjs +21 -0
- package/esm2020/directives/mode/mode.module.mjs +16 -0
- package/esm2020/directives/number-format/number-format.directive.mjs +38 -0
- package/esm2020/directives/number-format/number-format.module.mjs +16 -0
- package/esm2020/directives/scroll-into-view/scroll-into-view.directive.mjs +50 -0
- package/esm2020/directives/scroll-into-view/scroll-into-view.module.mjs +16 -0
- package/esm2020/directives/textfield-controller/textfield-appearance.directive.mjs +36 -0
- package/esm2020/directives/textfield-controller/textfield-cleaner.directive.mjs +33 -0
- package/esm2020/directives/textfield-controller/textfield-controller.module.mjs +65 -0
- package/esm2020/directives/textfield-controller/textfield-controller.provider.mjs +45 -0
- package/esm2020/directives/textfield-controller/textfield-custom-content.directive.mjs +29 -0
- package/esm2020/directives/textfield-controller/textfield-filler.directive.mjs +33 -0
- package/esm2020/directives/textfield-controller/textfield-icon-left.directive.mjs +29 -0
- package/esm2020/directives/textfield-controller/textfield-icon.directive.mjs +29 -0
- package/esm2020/directives/textfield-controller/textfield-label-outside.directive.mjs +33 -0
- package/esm2020/directives/textfield-controller/textfield-postfix.directive.mjs +33 -0
- package/esm2020/directives/textfield-controller/textfield-prefix.directive.mjs +33 -0
- package/esm2020/directives/textfield-controller/textfield-size.directive.mjs +33 -0
- package/esm2020/directives/wrapper/wrapper.directive.mjs +93 -0
- package/esm2020/directives/wrapper/wrapper.module.mjs +16 -0
- package/esm2020/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.mjs +75 -0
- package/esm2020/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.mjs +36 -0
- package/esm2020/internal/svg-defs-host/svg-defs-host.component.mjs +46 -0
- package/esm2020/internal/svg-defs-host/svg-defs-host.module.mjs +19 -0
- package/esm2020/observables/smart-search.mjs +8 -0
- package/esm2020/observables/zoneful-map.mjs +13 -0
- package/esm2020/pipes/calendar-sheet/calendar-sheet.module.mjs +16 -0
- package/esm2020/pipes/calendar-sheet/calendar-sheet.pipe.mjs +56 -0
- package/esm2020/pipes/flag/flag.module.mjs +16 -0
- package/esm2020/pipes/flag/flag.pipe.mjs +46 -0
- package/esm2020/pipes/format-date/format-date.module.mjs +16 -0
- package/esm2020/pipes/format-date/format-date.pipe.mjs +24 -0
- package/esm2020/pipes/format-number/format-number.module.mjs +16 -0
- package/esm2020/pipes/format-number/format-number.pipe.mjs +28 -0
- package/esm2020/pipes/format-phone/format-phone.module.mjs +16 -0
- package/esm2020/pipes/format-phone/format-phone.pipe.mjs +25 -0
- package/esm2020/pipes/month/month.module.mjs +16 -0
- package/esm2020/pipes/month/month.pipe.mjs +23 -0
- package/esm2020/pipes/order-week-days/order-week-days.module.mjs +16 -0
- package/esm2020/pipes/order-week-days/order-week-days.pipe.mjs +34 -0
- package/esm2020/providers/mode.provider.mjs +16 -0
- package/esm2020/providers/watched-controller-provider-factory.mjs +7 -0
- package/esm2020/services/breakpoint.service.mjs +41 -0
- package/esm2020/services/format-date.service.mjs +26 -0
- package/esm2020/services/hint.service.mjs +28 -0
- package/esm2020/services/night-theme.service.mjs +23 -0
- package/esm2020/services/position.service.mjs +35 -0
- package/esm2020/services/router-link-active.service.mjs +41 -0
- package/esm2020/services/svg.service.mjs +73 -0
- package/esm2020/services/visual-viewport.service.mjs +34 -0
- package/esm2020/tokens/is-mobile-resolution.mjs +17 -0
- package/esm2020/tokens/number-format-observable.mjs +8 -0
- package/esm2020/tokens/ordered-short-week-days.mjs +27 -0
- package/esm2020/tokens/reduced-motion.mjs +6 -0
- package/esm2020/tokens/selection-stream.mjs +12 -0
- package/esm2020/tokens/viewport.mjs +35 -0
- package/esm2020/utils/dom/process-icon.mjs +31 -0
- package/esm2020/utils/format/format-number.mjs +43 -0
- package/esm2020/utils/format/number-to-string-without-exp.mjs +18 -0
- package/esm2020/utils/mask/create-number-mask.mjs +121 -0
- package/esm2020/utils/miscellaneous/is-obscured.mjs +8 -0
- package/esm2020/utils/miscellaneous/override-options.mjs +11 -0
- package/fesm2015/taiga-ui-core-abstract.mjs +145 -0
- package/fesm2015/taiga-ui-core-abstract.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-animations.mjs +262 -0
- package/fesm2015/taiga-ui-core-animations.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-alert.mjs +154 -0
- package/fesm2015/taiga-ui-core-components-alert.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-button.mjs +161 -0
- package/fesm2015/taiga-ui-core-components-button.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-calendar.mjs +172 -0
- package/fesm2015/taiga-ui-core-components-calendar.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-data-list.mjs +303 -0
- package/fesm2015/taiga-ui-core-components-data-list.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-dialog.mjs +244 -0
- package/fesm2015/taiga-ui-core-components-dialog.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-error.mjs +74 -0
- package/fesm2015/taiga-ui-core-components-error.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-expand.mjs +160 -0
- package/fesm2015/taiga-ui-core-components-expand.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-group.mjs +102 -0
- package/fesm2015/taiga-ui-core-components-group.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-hints-host.mjs +70 -0
- package/fesm2015/taiga-ui-core-components-hints-host.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.mjs +412 -0
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-label.mjs +61 -0
- package/fesm2015/taiga-ui-core-components-label.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-link.mjs +117 -0
- package/fesm2015/taiga-ui-core-components-link.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-loader.mjs +109 -0
- package/fesm2015/taiga-ui-core-components-loader.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-notification.mjs +89 -0
- package/fesm2015/taiga-ui-core-components-notification.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-primitive-calendar.mjs +203 -0
- package/fesm2015/taiga-ui-core-components-primitive-calendar.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.mjs +120 -0
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.mjs +110 -0
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-primitive-textfield.mjs +526 -0
- package/fesm2015/taiga-ui-core-components-primitive-textfield.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.mjs +195 -0
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-root.mjs +119 -0
- package/fesm2015/taiga-ui-core-components-root.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-scroll-controls.mjs +232 -0
- package/fesm2015/taiga-ui-core-components-scroll-controls.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-scrollbar.mjs +162 -0
- package/fesm2015/taiga-ui-core-components-scrollbar.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-svg.mjs +313 -0
- package/fesm2015/taiga-ui-core-components-svg.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-theme-night.mjs +32 -0
- package/fesm2015/taiga-ui-core-components-theme-night.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-tooltip.mjs +111 -0
- package/fesm2015/taiga-ui-core-components-tooltip.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components.mjs +30 -0
- package/fesm2015/taiga-ui-core-components.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-constants.mjs +90 -0
- package/fesm2015/taiga-ui-core-constants.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-dropdown.mjs +980 -0
- package/fesm2015/taiga-ui-core-directives-dropdown.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-hint.mjs +764 -0
- package/fesm2015/taiga-ui-core-directives-hint.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-mask-accessor.mjs +53 -0
- package/fesm2015/taiga-ui-core-directives-mask-accessor.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-mode.mjs +41 -0
- package/fesm2015/taiga-ui-core-directives-mode.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-number-format.mjs +60 -0
- package/fesm2015/taiga-ui-core-directives-number-format.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.mjs +72 -0
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-textfield-controller.mjs +446 -0
- package/fesm2015/taiga-ui-core-directives-textfield-controller.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-wrapper.mjs +115 -0
- package/fesm2015/taiga-ui-core-directives-wrapper.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives.mjs +13 -0
- package/fesm2015/taiga-ui-core-directives.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-enums.mjs +68 -0
- package/fesm2015/taiga-ui-core-enums.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-interfaces.mjs +4 -0
- package/fesm2015/taiga-ui-core-interfaces.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.mjs +116 -0
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.mjs +69 -0
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-internal.mjs +7 -0
- package/fesm2015/taiga-ui-core-internal.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-mask.mjs +4 -0
- package/fesm2015/taiga-ui-core-mask.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-observables.mjs +26 -0
- package/fesm2015/taiga-ui-core-observables.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.mjs +111 -0
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes-flag.mjs +68 -0
- package/fesm2015/taiga-ui-core-pipes-flag.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes-format-date.mjs +46 -0
- package/fesm2015/taiga-ui-core-pipes-format-date.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes-format-number.mjs +50 -0
- package/fesm2015/taiga-ui-core-pipes-format-number.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes-format-phone.mjs +45 -0
- package/fesm2015/taiga-ui-core-pipes-format-phone.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes-month.mjs +45 -0
- package/fesm2015/taiga-ui-core-pipes-month.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes-order-week-days.mjs +56 -0
- package/fesm2015/taiga-ui-core-pipes-order-week-days.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes.mjs +12 -0
- package/fesm2015/taiga-ui-core-pipes.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-providers.mjs +41 -0
- package/fesm2015/taiga-ui-core-providers.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-services.mjs +287 -0
- package/fesm2015/taiga-ui-core-services.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-tokens.mjs +333 -0
- package/fesm2015/taiga-ui-core-tokens.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-types.mjs +4 -0
- package/fesm2015/taiga-ui-core-types.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-utils-dom.mjs +160 -0
- package/fesm2015/taiga-ui-core-utils-dom.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-utils-format.mjs +146 -0
- package/fesm2015/taiga-ui-core-utils-format.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-utils-mask.mjs +284 -0
- package/fesm2015/taiga-ui-core-utils-mask.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-utils-miscellaneous.mjs +89 -0
- package/fesm2015/taiga-ui-core-utils-miscellaneous.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-utils-mobile.mjs +12 -0
- package/fesm2015/taiga-ui-core-utils-mobile.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-utils.mjs +10 -0
- package/fesm2015/taiga-ui-core-utils.mjs.map +1 -0
- package/fesm2015/taiga-ui-core.mjs +21 -0
- package/fesm2015/taiga-ui-core.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-abstract.mjs +140 -0
- package/fesm2020/taiga-ui-core-abstract.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-animations.mjs +262 -0
- package/fesm2020/taiga-ui-core-animations.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-alert.mjs +157 -0
- package/fesm2020/taiga-ui-core-components-alert.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-button.mjs +157 -0
- package/fesm2020/taiga-ui-core-components-button.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-calendar.mjs +168 -0
- package/fesm2020/taiga-ui-core-components-calendar.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-data-list.mjs +297 -0
- package/fesm2020/taiga-ui-core-components-data-list.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-dialog.mjs +243 -0
- package/fesm2020/taiga-ui-core-components-dialog.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-error.mjs +72 -0
- package/fesm2020/taiga-ui-core-components-error.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-expand.mjs +158 -0
- package/fesm2020/taiga-ui-core-components-expand.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-group.mjs +100 -0
- package/fesm2020/taiga-ui-core-components-group.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-hints-host.mjs +68 -0
- package/fesm2020/taiga-ui-core-components-hints-host.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-hosted-dropdown.mjs +404 -0
- package/fesm2020/taiga-ui-core-components-hosted-dropdown.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-label.mjs +59 -0
- package/fesm2020/taiga-ui-core-components-label.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-link.mjs +115 -0
- package/fesm2020/taiga-ui-core-components-link.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-loader.mjs +107 -0
- package/fesm2020/taiga-ui-core-components-loader.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-notification.mjs +87 -0
- package/fesm2020/taiga-ui-core-components-notification.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-primitive-calendar.mjs +201 -0
- package/fesm2020/taiga-ui-core-components-primitive-calendar.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-primitive-checkbox.mjs +118 -0
- package/fesm2020/taiga-ui-core-components-primitive-checkbox.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-primitive-spin-button.mjs +108 -0
- package/fesm2020/taiga-ui-core-components-primitive-spin-button.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-primitive-textfield.mjs +511 -0
- package/fesm2020/taiga-ui-core-components-primitive-textfield.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-primitive-year-picker.mjs +193 -0
- package/fesm2020/taiga-ui-core-components-primitive-year-picker.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-root.mjs +117 -0
- package/fesm2020/taiga-ui-core-components-root.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-scroll-controls.mjs +228 -0
- package/fesm2020/taiga-ui-core-components-scroll-controls.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-scrollbar.mjs +157 -0
- package/fesm2020/taiga-ui-core-components-scrollbar.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-svg.mjs +318 -0
- package/fesm2020/taiga-ui-core-components-svg.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-theme-night.mjs +32 -0
- package/fesm2020/taiga-ui-core-components-theme-night.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-tooltip.mjs +108 -0
- package/fesm2020/taiga-ui-core-components-tooltip.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components.mjs +30 -0
- package/fesm2020/taiga-ui-core-components.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-constants.mjs +90 -0
- package/fesm2020/taiga-ui-core-constants.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-dropdown.mjs +952 -0
- package/fesm2020/taiga-ui-core-directives-dropdown.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-hint.mjs +740 -0
- package/fesm2020/taiga-ui-core-directives-hint.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-mask-accessor.mjs +53 -0
- package/fesm2020/taiga-ui-core-directives-mask-accessor.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-mode.mjs +41 -0
- package/fesm2020/taiga-ui-core-directives-mode.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-number-format.mjs +58 -0
- package/fesm2020/taiga-ui-core-directives-number-format.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-scroll-into-view.mjs +70 -0
- package/fesm2020/taiga-ui-core-directives-scroll-into-view.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-textfield-controller.mjs +446 -0
- package/fesm2020/taiga-ui-core-directives-textfield-controller.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-wrapper.mjs +113 -0
- package/fesm2020/taiga-ui-core-directives-wrapper.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives.mjs +13 -0
- package/fesm2020/taiga-ui-core-directives.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-enums.mjs +68 -0
- package/fesm2020/taiga-ui-core-enums.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-interfaces.mjs +4 -0
- package/fesm2020/taiga-ui-core-interfaces.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-internal-primitive-year-month-pagination.mjs +114 -0
- package/fesm2020/taiga-ui-core-internal-primitive-year-month-pagination.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-internal-svg-defs-host.mjs +67 -0
- package/fesm2020/taiga-ui-core-internal-svg-defs-host.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-internal.mjs +7 -0
- package/fesm2020/taiga-ui-core-internal.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-mask.mjs +4 -0
- package/fesm2020/taiga-ui-core-mask.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-observables.mjs +26 -0
- package/fesm2020/taiga-ui-core-observables.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes-calendar-sheet.mjs +108 -0
- package/fesm2020/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes-flag.mjs +66 -0
- package/fesm2020/taiga-ui-core-pipes-flag.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes-format-date.mjs +44 -0
- package/fesm2020/taiga-ui-core-pipes-format-date.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes-format-number.mjs +48 -0
- package/fesm2020/taiga-ui-core-pipes-format-number.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes-format-phone.mjs +45 -0
- package/fesm2020/taiga-ui-core-pipes-format-phone.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes-month.mjs +43 -0
- package/fesm2020/taiga-ui-core-pipes-month.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes-order-week-days.mjs +54 -0
- package/fesm2020/taiga-ui-core-pipes-order-week-days.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes.mjs +12 -0
- package/fesm2020/taiga-ui-core-pipes.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-providers.mjs +41 -0
- package/fesm2020/taiga-ui-core-providers.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-services.mjs +278 -0
- package/fesm2020/taiga-ui-core-services.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-tokens.mjs +334 -0
- package/fesm2020/taiga-ui-core-tokens.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-types.mjs +16 -0
- package/fesm2020/taiga-ui-core-types.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-utils-dom.mjs +160 -0
- package/fesm2020/taiga-ui-core-utils-dom.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-utils-format.mjs +149 -0
- package/fesm2020/taiga-ui-core-utils-format.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-utils-mask.mjs +284 -0
- package/fesm2020/taiga-ui-core-utils-mask.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-utils-miscellaneous.mjs +88 -0
- package/fesm2020/taiga-ui-core-utils-miscellaneous.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-utils-mobile.mjs +12 -0
- package/fesm2020/taiga-ui-core-utils-mobile.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-utils.mjs +10 -0
- package/fesm2020/taiga-ui-core-utils.mjs.map +1 -0
- package/fesm2020/taiga-ui-core.mjs +21 -0
- package/fesm2020/taiga-ui-core.mjs.map +1 -0
- package/interfaces/alert-options.d.ts +1 -1
- package/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.d.ts +1 -1
- package/internal/svg-defs-host/svg-defs-host.component.d.ts +1 -1
- package/mask/text-mask-correction-handler.d.ts +1 -1
- package/mask/text-mask-list-handler.d.ts +1 -1
- package/mask/text-mask-list.d.ts +1 -1
- package/mask/text-mask-pipe-handler.d.ts +1 -1
- package/package.json +559 -42
- package/pipes/calendar-sheet/calendar-sheet.pipe.d.ts +1 -1
- package/pipes/flag/flag.pipe.d.ts +1 -1
- package/pipes/format-date/format-date.pipe.d.ts +1 -1
- package/pipes/format-number/format-number.pipe.d.ts +1 -1
- package/pipes/format-phone/format-phone.pipe.d.ts +1 -1
- package/pipes/month/month.pipe.d.ts +1 -1
- package/pipes/order-week-days/order-week-days.pipe.d.ts +2 -2
- package/services/breakpoint.service.d.ts +1 -1
- package/styles/theme/appearance/outline.less +24 -15
- package/styles/theme/appearance/primary.less +8 -3
- package/styles/theme/appearance/secondary.less +15 -1
- package/styles/theme/appearance/status.less +48 -20
- package/tokens/number-format-observable.d.ts +4 -8
- package/tokens/ordered-short-week-days.d.ts +1 -1
- package/types/brightness.d.ts +1 -1
- package/types/calendar-view.d.ts +1 -1
- package/types/data-list-role.d.ts +1 -1
- package/types/decimal-symbol.d.ts +1 -1
- package/types/decimal.d.ts +1 -1
- package/types/dialog-size.d.ts +1 -1
- package/types/direction.d.ts +2 -2
- package/types/dropdown-align.d.ts +1 -1
- package/types/dropdown-width.d.ts +1 -1
- package/types/hint-direction.d.ts +1 -1
- package/types/marker-handler.d.ts +1 -1
- package/types/notification.d.ts +1 -1
- package/types/option-role.d.ts +1 -1
- package/types/orientation.d.ts +1 -1
- package/types/point.d.ts +1 -1
- package/types/size.d.ts +7 -7
- package/abstract/package.json +0 -10
- package/abstract/taiga-ui-core-abstract.d.ts +0 -5
- package/animations/package.json +0 -10
- package/animations/taiga-ui-core-animations.d.ts +0 -5
- package/bundles/taiga-ui-core-abstract.umd.js +0 -546
- package/bundles/taiga-ui-core-abstract.umd.js.map +0 -1
- package/bundles/taiga-ui-core-animations.umd.js +0 -290
- package/bundles/taiga-ui-core-animations.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-alert.umd.js +0 -517
- package/bundles/taiga-ui-core-components-alert.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-button.umd.js +0 -540
- package/bundles/taiga-ui-core-components-button.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js +0 -233
- package/bundles/taiga-ui-core-components-calendar.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-data-list.umd.js +0 -693
- package/bundles/taiga-ui-core-components-data-list.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +0 -634
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-error.umd.js +0 -111
- package/bundles/taiga-ui-core-components-error.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-expand.umd.js +0 -220
- package/bundles/taiga-ui-core-components-expand.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-group.umd.js +0 -154
- package/bundles/taiga-ui-core-components-group.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.js +0 -108
- package/bundles/taiga-ui-core-components-hints-host.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +0 -808
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-label.umd.js +0 -96
- package/bundles/taiga-ui-core-components-label.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-link.umd.js +0 -172
- package/bundles/taiga-ui-core-components-link.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-loader.umd.js +0 -165
- package/bundles/taiga-ui-core-components-loader.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-notification.umd.js +0 -124
- package/bundles/taiga-ui-core-components-notification.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +0 -245
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +0 -173
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +0 -476
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +0 -1050
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +0 -255
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-root.umd.js +0 -476
- package/bundles/taiga-ui-core-components-root.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js +0 -620
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.js +0 -217
- package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-svg.umd.js +0 -707
- package/bundles/taiga-ui-core-components-svg.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.js +0 -391
- package/bundles/taiga-ui-core-components-theme-night.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +0 -466
- package/bundles/taiga-ui-core-components-tooltip.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components.umd.js +0 -165
- package/bundles/taiga-ui-core-components.umd.js.map +0 -1
- package/bundles/taiga-ui-core-constants.umd.js +0 -117
- package/bundles/taiga-ui-core-constants.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +0 -1390
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +0 -1169
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +0 -85
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-mode.umd.js +0 -392
- package/bundles/taiga-ui-core-directives-mode.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-number-format.umd.js +0 -414
- package/bundles/taiga-ui-core-directives-number-format.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +0 -106
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +0 -901
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-wrapper.umd.js +0 -164
- package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives.umd.js +0 -63
- package/bundles/taiga-ui-core-directives.umd.js.map +0 -1
- package/bundles/taiga-ui-core-enums.umd.js +0 -76
- package/bundles/taiga-ui-core-enums.umd.js.map +0 -1
- package/bundles/taiga-ui-core-interfaces.umd.js +0 -11
- package/bundles/taiga-ui-core-interfaces.umd.js.map +0 -1
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +0 -170
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +0 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +0 -104
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +0 -1
- package/bundles/taiga-ui-core-internal.umd.js +0 -27
- package/bundles/taiga-ui-core-internal.umd.js.map +0 -1
- package/bundles/taiga-ui-core-mask.umd.js +0 -11
- package/bundles/taiga-ui-core-mask.umd.js.map +0 -1
- package/bundles/taiga-ui-core-observables.umd.js +0 -35
- package/bundles/taiga-ui-core-observables.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +0 -149
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-flag.umd.js +0 -97
- package/bundles/taiga-ui-core-pipes-flag.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-format-date.umd.js +0 -77
- package/bundles/taiga-ui-core-pipes-format-date.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-format-number.umd.js +0 -81
- package/bundles/taiga-ui-core-pipes-format-number.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js +0 -79
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-month.umd.js +0 -76
- package/bundles/taiga-ui-core-pipes-month.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-order-week-days.umd.js +0 -401
- package/bundles/taiga-ui-core-pipes-order-week-days.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes.umd.js +0 -57
- package/bundles/taiga-ui-core-pipes.umd.js.map +0 -1
- package/bundles/taiga-ui-core-providers.umd.js +0 -49
- package/bundles/taiga-ui-core-providers.umd.js.map +0 -1
- package/bundles/taiga-ui-core-services.umd.js +0 -657
- package/bundles/taiga-ui-core-services.umd.js.map +0 -1
- package/bundles/taiga-ui-core-tokens.umd.js +0 -695
- package/bundles/taiga-ui-core-tokens.umd.js.map +0 -1
- package/bundles/taiga-ui-core-types.umd.js +0 -11
- package/bundles/taiga-ui-core-types.umd.js.map +0 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js +0 -176
- package/bundles/taiga-ui-core-utils-dom.umd.js.map +0 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +0 -489
- package/bundles/taiga-ui-core-utils-format.umd.js.map +0 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +0 -625
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +0 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +0 -108
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +0 -1
- package/bundles/taiga-ui-core-utils-mobile.umd.js +0 -21
- package/bundles/taiga-ui-core-utils-mobile.umd.js.map +0 -1
- package/bundles/taiga-ui-core-utils.umd.js +0 -45
- package/bundles/taiga-ui-core-utils.umd.js.map +0 -1
- package/bundles/taiga-ui-core.umd.js +0 -111
- package/bundles/taiga-ui-core.umd.js.map +0 -1
- package/components/alert/package.json +0 -10
- package/components/alert/taiga-ui-core-components-alert.d.ts +0 -5
- package/components/button/package.json +0 -10
- package/components/button/taiga-ui-core-components-button.d.ts +0 -5
- package/components/calendar/package.json +0 -10
- package/components/calendar/taiga-ui-core-components-calendar.d.ts +0 -5
- package/components/data-list/package.json +0 -10
- package/components/data-list/taiga-ui-core-components-data-list.d.ts +0 -5
- package/components/dialog/package.json +0 -10
- package/components/dialog/taiga-ui-core-components-dialog.d.ts +0 -5
- package/components/error/package.json +0 -10
- package/components/error/taiga-ui-core-components-error.d.ts +0 -5
- package/components/expand/package.json +0 -10
- package/components/expand/taiga-ui-core-components-expand.d.ts +0 -5
- package/components/group/package.json +0 -10
- package/components/group/taiga-ui-core-components-group.d.ts +0 -5
- package/components/hints-host/package.json +0 -10
- package/components/hints-host/taiga-ui-core-components-hints-host.d.ts +0 -5
- package/components/hosted-dropdown/package.json +0 -10
- package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.d.ts +0 -5
- package/components/label/package.json +0 -10
- package/components/label/taiga-ui-core-components-label.d.ts +0 -5
- package/components/link/package.json +0 -10
- package/components/link/taiga-ui-core-components-link.d.ts +0 -5
- package/components/loader/package.json +0 -10
- package/components/loader/taiga-ui-core-components-loader.d.ts +0 -5
- package/components/notification/package.json +0 -10
- package/components/notification/taiga-ui-core-components-notification.d.ts +0 -5
- package/components/package.json +0 -10
- package/components/primitive-calendar/package.json +0 -10
- package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.d.ts +0 -5
- package/components/primitive-checkbox/package.json +0 -10
- package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.d.ts +0 -5
- package/components/primitive-spin-button/package.json +0 -10
- package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.d.ts +0 -5
- package/components/primitive-textfield/package.json +0 -10
- package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.d.ts +0 -5
- package/components/primitive-year-picker/package.json +0 -10
- package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.d.ts +0 -5
- package/components/root/package.json +0 -10
- package/components/root/taiga-ui-core-components-root.d.ts +0 -5
- package/components/scroll-controls/package.json +0 -10
- package/components/scroll-controls/taiga-ui-core-components-scroll-controls.d.ts +0 -5
- package/components/scrollbar/package.json +0 -10
- package/components/scrollbar/taiga-ui-core-components-scrollbar.d.ts +0 -5
- package/components/svg/package.json +0 -10
- package/components/svg/taiga-ui-core-components-svg.d.ts +0 -5
- package/components/taiga-ui-core-components.d.ts +0 -5
- package/components/theme-night/package.json +0 -10
- package/components/theme-night/taiga-ui-core-components-theme-night.d.ts +0 -5
- package/components/tooltip/package.json +0 -10
- package/components/tooltip/taiga-ui-core-components-tooltip.d.ts +0 -5
- package/constants/package.json +0 -10
- package/constants/taiga-ui-core-constants.d.ts +0 -5
- package/directives/dropdown/package.json +0 -10
- package/directives/dropdown/taiga-ui-core-directives-dropdown.d.ts +0 -5
- package/directives/hint/package.json +0 -10
- package/directives/hint/taiga-ui-core-directives-hint.d.ts +0 -5
- package/directives/mask-accessor/package.json +0 -10
- package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.d.ts +0 -5
- package/directives/mode/package.json +0 -10
- package/directives/mode/taiga-ui-core-directives-mode.d.ts +0 -5
- package/directives/number-format/package.json +0 -10
- package/directives/number-format/taiga-ui-core-directives-number-format.d.ts +0 -5
- package/directives/package.json +0 -10
- package/directives/scroll-into-view/package.json +0 -10
- package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.d.ts +0 -5
- package/directives/taiga-ui-core-directives.d.ts +0 -5
- package/directives/textfield-controller/package.json +0 -10
- package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.d.ts +0 -5
- package/directives/wrapper/package.json +0 -10
- package/directives/wrapper/taiga-ui-core-directives-wrapper.d.ts +0 -5
- package/enums/package.json +0 -10
- package/enums/taiga-ui-core-enums.d.ts +0 -5
- package/esm2015/abstract/abstract-driver.directive.js +0 -40
- package/esm2015/abstract/abstract-textfield-host.js +0 -37
- package/esm2015/abstract/rect-accessor.js +0 -24
- package/esm2015/components/alert/alert.component.js +0 -90
- package/esm2015/components/alert/alert.directive.js +0 -28
- package/esm2015/components/alert/alert.module.js +0 -24
- package/esm2015/components/alert/alert.service.js +0 -27
- package/esm2015/components/button/button.component.js +0 -113
- package/esm2015/components/button/button.module.js +0 -38
- package/esm2015/components/calendar/calendar.component.js +0 -134
- package/esm2015/components/calendar/calendar.module.js +0 -42
- package/esm2015/components/data-list/data-list.component.js +0 -127
- package/esm2015/components/data-list/data-list.directive.js +0 -19
- package/esm2015/components/data-list/data-list.module.js +0 -39
- package/esm2015/components/data-list/opt-group.directive.js +0 -21
- package/esm2015/components/data-list/option/option.component.js +0 -119
- package/esm2015/components/dialog/dialog-close.service.js +0 -47
- package/esm2015/components/dialog/dialog.component.js +0 -127
- package/esm2015/components/dialog/dialog.directive.js +0 -28
- package/esm2015/components/dialog/dialog.module.js +0 -24
- package/esm2015/components/dialog/dialog.service.js +0 -23
- package/esm2015/components/error/error.component.js +0 -56
- package/esm2015/components/error/error.module.js +0 -19
- package/esm2015/components/expand/expand-content.directive.js +0 -13
- package/esm2015/components/expand/expand.component.js +0 -131
- package/esm2015/components/expand/expand.module.js +0 -20
- package/esm2015/components/group/group-styles.component.js +0 -19
- package/esm2015/components/group/group.directive.js +0 -68
- package/esm2015/components/group/group.module.js +0 -19
- package/esm2015/components/hints-host/hints-host.component.js +0 -55
- package/esm2015/components/hints-host/hints-host.module.js +0 -20
- package/esm2015/components/hosted-dropdown/accessor-proxy.directive.js +0 -42
- package/esm2015/components/hosted-dropdown/dropdown-open-monitor.directive.js +0 -45
- package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +0 -13
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +0 -279
- package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +0 -57
- package/esm2015/components/label/label.component.js +0 -44
- package/esm2015/components/label/label.module.js +0 -18
- package/esm2015/components/link/link.component.js +0 -101
- package/esm2015/components/link/link.module.js +0 -19
- package/esm2015/components/loader/loader.component.js +0 -77
- package/esm2015/components/loader/loader.module.js +0 -19
- package/esm2015/components/notification/notification.component.js +0 -67
- package/esm2015/components/notification/notification.module.js +0 -21
- package/esm2015/components/primitive-calendar/primitive-calendar.component.js +0 -160
- package/esm2015/components/primitive-calendar/primitive-calendar.module.js +0 -45
- package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +0 -77
- package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +0 -20
- package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +0 -91
- package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +0 -19
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +0 -286
- package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +0 -36
- package/esm2015/components/primitive-textfield/primitive-textfield.module.js +0 -70
- package/esm2015/components/primitive-textfield/textfield/textfield.component.js +0 -64
- package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +0 -86
- package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +0 -164
- package/esm2015/components/primitive-year-picker/primitive-year-picker.module.js +0 -35
- package/esm2015/components/root/root.component.js +0 -80
- package/esm2015/components/root/root.module.js +0 -47
- package/esm2015/components/scroll-controls/scroll-controls.component.js +0 -61
- package/esm2015/components/scroll-controls/scroll-controls.module.js +0 -28
- package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +0 -25
- package/esm2015/components/scroll-controls/scrollbar.directive.js +0 -135
- package/esm2015/components/scrollbar/scroll-ref.directive.js +0 -28
- package/esm2015/components/scrollbar/scrollable.directive.js +0 -26
- package/esm2015/components/scrollbar/scrollbar.component.js +0 -94
- package/esm2015/components/scrollbar/scrollbar.module.js +0 -21
- package/esm2015/components/svg/svg-options.js +0 -60
- package/esm2015/components/svg/svg.component.js +0 -183
- package/esm2015/components/svg/svg.module.js +0 -19
- package/esm2015/components/theme-night/theme-night.component.js +0 -18
- package/esm2015/components/theme-night/theme-night.module.js +0 -16
- package/esm2015/components/tooltip/tooltip.component.js +0 -76
- package/esm2015/components/tooltip/tooltip.module.js +0 -38
- package/esm2015/directives/dropdown/dropdown-context.directive.js +0 -66
- package/esm2015/directives/dropdown/dropdown-driver.directive.js +0 -33
- package/esm2015/directives/dropdown/dropdown-host.directive.js +0 -26
- package/esm2015/directives/dropdown/dropdown-hover.directive.js +0 -58
- package/esm2015/directives/dropdown/dropdown-manual.directive.js +0 -27
- package/esm2015/directives/dropdown/dropdown-open.directive.js +0 -29
- package/esm2015/directives/dropdown/dropdown-options.directive.js +0 -84
- package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +0 -82
- package/esm2015/directives/dropdown/dropdown-position.directive.js +0 -86
- package/esm2015/directives/dropdown/dropdown-selection.directive.js +0 -162
- package/esm2015/directives/dropdown/dropdown.component.js +0 -174
- package/esm2015/directives/dropdown/dropdown.directive.js +0 -123
- package/esm2015/directives/dropdown/dropdown.module.js +0 -95
- package/esm2015/directives/hint/hint-describe.directive.js +0 -57
- package/esm2015/directives/hint/hint-driver.directive.js +0 -33
- package/esm2015/directives/hint/hint-host.directive.js +0 -26
- package/esm2015/directives/hint/hint-hover.directive.js +0 -56
- package/esm2015/directives/hint/hint-manual.directive.js +0 -33
- package/esm2015/directives/hint/hint-options.directive.js +0 -75
- package/esm2015/directives/hint/hint-pointer.directive.js +0 -36
- package/esm2015/directives/hint/hint-position.directive.js +0 -105
- package/esm2015/directives/hint/hint-unstyled.component.js +0 -66
- package/esm2015/directives/hint/hint.component.js +0 -167
- package/esm2015/directives/hint/hint.directive.js +0 -96
- package/esm2015/directives/hint/hint.module.js +0 -75
- package/esm2015/directives/mask-accessor/mask-accessor.directive.js +0 -30
- package/esm2015/directives/mask-accessor/mask-accessor.module.js +0 -19
- package/esm2015/directives/mode/mode.directive.js +0 -21
- package/esm2015/directives/mode/mode.module.js +0 -16
- package/esm2015/directives/number-format/number-format.directive.js +0 -38
- package/esm2015/directives/number-format/number-format.module.js +0 -16
- package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +0 -51
- package/esm2015/directives/scroll-into-view/scroll-into-view.module.js +0 -16
- package/esm2015/directives/textfield-controller/textfield-appearance.directive.js +0 -36
- package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +0 -33
- package/esm2015/directives/textfield-controller/textfield-controller.module.js +0 -65
- package/esm2015/directives/textfield-controller/textfield-controller.provider.js +0 -46
- package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +0 -29
- package/esm2015/directives/textfield-controller/textfield-filler.directive.js +0 -33
- package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +0 -29
- package/esm2015/directives/textfield-controller/textfield-icon.directive.js +0 -29
- package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +0 -33
- package/esm2015/directives/textfield-controller/textfield-postfix.directive.js +0 -33
- package/esm2015/directives/textfield-controller/textfield-prefix.directive.js +0 -33
- package/esm2015/directives/textfield-controller/textfield-size.directive.js +0 -33
- package/esm2015/directives/wrapper/wrapper.directive.js +0 -93
- package/esm2015/directives/wrapper/wrapper.module.js +0 -16
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +0 -82
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +0 -38
- package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +0 -52
- package/esm2015/internal/svg-defs-host/svg-defs-host.module.js +0 -19
- package/esm2015/observables/smart-search.js +0 -8
- package/esm2015/observables/zoneful-map.js +0 -14
- package/esm2015/pipes/calendar-sheet/calendar-sheet.module.js +0 -16
- package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +0 -57
- package/esm2015/pipes/flag/flag.module.js +0 -16
- package/esm2015/pipes/flag/flag.pipe.js +0 -46
- package/esm2015/pipes/format-date/format-date.module.js +0 -16
- package/esm2015/pipes/format-date/format-date.pipe.js +0 -24
- package/esm2015/pipes/format-number/format-number.module.js +0 -16
- package/esm2015/pipes/format-number/format-number.pipe.js +0 -28
- package/esm2015/pipes/format-phone/format-phone.module.js +0 -16
- package/esm2015/pipes/format-phone/format-phone.pipe.js +0 -25
- package/esm2015/pipes/month/month.module.js +0 -16
- package/esm2015/pipes/month/month.pipe.js +0 -23
- package/esm2015/pipes/order-week-days/order-week-days.module.js +0 -16
- package/esm2015/pipes/order-week-days/order-week-days.pipe.js +0 -34
- package/esm2015/providers/mode.provider.js +0 -17
- package/esm2015/providers/watched-controller-provider-factory.js +0 -7
- package/esm2015/services/breakpoint.service.js +0 -39
- package/esm2015/services/format-date.service.js +0 -26
- package/esm2015/services/hint.service.js +0 -28
- package/esm2015/services/night-theme.service.js +0 -24
- package/esm2015/services/position.service.js +0 -36
- package/esm2015/services/router-link-active.service.js +0 -42
- package/esm2015/services/svg.service.js +0 -70
- package/esm2015/services/visual-viewport.service.js +0 -35
- package/esm2015/tokens/is-mobile-resolution.js +0 -17
- package/esm2015/tokens/number-format-observable.js +0 -8
- package/esm2015/tokens/ordered-short-week-days.js +0 -27
- package/esm2015/tokens/reduced-motion.js +0 -8
- package/esm2015/tokens/selection-stream.js +0 -13
- package/esm2015/tokens/viewport.js +0 -29
- package/esm2015/utils/dom/process-icon.js +0 -31
- package/esm2015/utils/format/format-number.js +0 -40
- package/esm2015/utils/format/number-to-string-without-exp.js +0 -18
- package/esm2015/utils/mask/create-number-mask.js +0 -121
- package/esm2015/utils/miscellaneous/is-obscured.js +0 -9
- package/esm2015/utils/miscellaneous/override-options.js +0 -11
- package/fesm2015/taiga-ui-core-abstract.js +0 -142
- package/fesm2015/taiga-ui-core-abstract.js.map +0 -1
- package/fesm2015/taiga-ui-core-animations.js +0 -262
- package/fesm2015/taiga-ui-core-animations.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-alert.js +0 -159
- package/fesm2015/taiga-ui-core-components-alert.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-button.js +0 -168
- package/fesm2015/taiga-ui-core-components-button.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-calendar.js +0 -179
- package/fesm2015/taiga-ui-core-components-calendar.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-data-list.js +0 -312
- package/fesm2015/taiga-ui-core-components-data-list.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +0 -251
- package/fesm2015/taiga-ui-core-components-dialog.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-error.js +0 -79
- package/fesm2015/taiga-ui-core-components-error.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-expand.js +0 -164
- package/fesm2015/taiga-ui-core-components-expand.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-group.js +0 -106
- package/fesm2015/taiga-ui-core-components-group.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-hints-host.js +0 -78
- package/fesm2015/taiga-ui-core-components-hints-host.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +0 -422
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-label.js +0 -66
- package/fesm2015/taiga-ui-core-components-label.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-link.js +0 -124
- package/fesm2015/taiga-ui-core-components-link.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-loader.js +0 -112
- package/fesm2015/taiga-ui-core-components-loader.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-notification.js +0 -92
- package/fesm2015/taiga-ui-core-components-notification.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js +0 -208
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +0 -123
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +0 -114
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +0 -542
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +0 -202
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-root.js +0 -129
- package/fesm2015/taiga-ui-core-components-root.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-scroll-controls.js +0 -237
- package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-scrollbar.js +0 -164
- package/fesm2015/taiga-ui-core-components-scrollbar.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-svg.js +0 -317
- package/fesm2015/taiga-ui-core-components-svg.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-theme-night.js +0 -38
- package/fesm2015/taiga-ui-core-components-theme-night.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js +0 -118
- package/fesm2015/taiga-ui-core-components-tooltip.js.map +0 -1
- package/fesm2015/taiga-ui-core-components.js +0 -30
- package/fesm2015/taiga-ui-core-components.js.map +0 -1
- package/fesm2015/taiga-ui-core-constants.js +0 -90
- package/fesm2015/taiga-ui-core-constants.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +0 -975
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +0 -753
- package/fesm2015/taiga-ui-core-directives-hint.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js +0 -53
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-mode.js +0 -41
- package/fesm2015/taiga-ui-core-directives-mode.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-number-format.js +0 -58
- package/fesm2015/taiga-ui-core-directives-number-format.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +0 -71
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js +0 -447
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-wrapper.js +0 -113
- package/fesm2015/taiga-ui-core-directives-wrapper.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives.js +0 -13
- package/fesm2015/taiga-ui-core-directives.js.map +0 -1
- package/fesm2015/taiga-ui-core-enums.js +0 -68
- package/fesm2015/taiga-ui-core-enums.js.map +0 -1
- package/fesm2015/taiga-ui-core-interfaces.js +0 -4
- package/fesm2015/taiga-ui-core-interfaces.js.map +0 -1
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +0 -123
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +0 -1
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +0 -73
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +0 -1
- package/fesm2015/taiga-ui-core-internal.js +0 -7
- package/fesm2015/taiga-ui-core-internal.js.map +0 -1
- package/fesm2015/taiga-ui-core-mask.js +0 -4
- package/fesm2015/taiga-ui-core-mask.js.map +0 -1
- package/fesm2015/taiga-ui-core-observables.js +0 -27
- package/fesm2015/taiga-ui-core-observables.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +0 -109
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-flag.js +0 -66
- package/fesm2015/taiga-ui-core-pipes-flag.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-format-date.js +0 -44
- package/fesm2015/taiga-ui-core-pipes-format-date.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-format-number.js +0 -48
- package/fesm2015/taiga-ui-core-pipes-format-number.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-format-phone.js +0 -45
- package/fesm2015/taiga-ui-core-pipes-format-phone.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-month.js +0 -43
- package/fesm2015/taiga-ui-core-pipes-month.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-order-week-days.js +0 -54
- package/fesm2015/taiga-ui-core-pipes-order-week-days.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes.js +0 -12
- package/fesm2015/taiga-ui-core-pipes.js.map +0 -1
- package/fesm2015/taiga-ui-core-providers.js +0 -42
- package/fesm2015/taiga-ui-core-providers.js.map +0 -1
- package/fesm2015/taiga-ui-core-services.js +0 -274
- package/fesm2015/taiga-ui-core-services.js.map +0 -1
- package/fesm2015/taiga-ui-core-tokens.js +0 -331
- package/fesm2015/taiga-ui-core-tokens.js.map +0 -1
- package/fesm2015/taiga-ui-core-types.js +0 -16
- package/fesm2015/taiga-ui-core-types.js.map +0 -1
- package/fesm2015/taiga-ui-core-utils-dom.js +0 -160
- package/fesm2015/taiga-ui-core-utils-dom.js.map +0 -1
- package/fesm2015/taiga-ui-core-utils-format.js +0 -146
- package/fesm2015/taiga-ui-core-utils-format.js.map +0 -1
- package/fesm2015/taiga-ui-core-utils-mask.js +0 -284
- package/fesm2015/taiga-ui-core-utils-mask.js.map +0 -1
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js +0 -89
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +0 -1
- package/fesm2015/taiga-ui-core-utils-mobile.js +0 -12
- package/fesm2015/taiga-ui-core-utils-mobile.js.map +0 -1
- package/fesm2015/taiga-ui-core-utils.js +0 -10
- package/fesm2015/taiga-ui-core-utils.js.map +0 -1
- package/fesm2015/taiga-ui-core.js +0 -21
- package/fesm2015/taiga-ui-core.js.map +0 -1
- package/interfaces/package.json +0 -10
- package/interfaces/taiga-ui-core-interfaces.d.ts +0 -5
- package/internal/package.json +0 -10
- package/internal/primitive-year-month-pagination/package.json +0 -10
- package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.d.ts +0 -5
- package/internal/svg-defs-host/package.json +0 -10
- package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.d.ts +0 -5
- package/internal/taiga-ui-core-internal.d.ts +0 -5
- package/mask/package.json +0 -10
- package/mask/taiga-ui-core-mask.d.ts +0 -5
- package/observables/package.json +0 -10
- package/observables/taiga-ui-core-observables.d.ts +0 -5
- package/pipes/calendar-sheet/package.json +0 -10
- package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.d.ts +0 -5
- package/pipes/flag/package.json +0 -10
- package/pipes/flag/taiga-ui-core-pipes-flag.d.ts +0 -5
- package/pipes/format-date/package.json +0 -10
- package/pipes/format-date/taiga-ui-core-pipes-format-date.d.ts +0 -5
- package/pipes/format-number/package.json +0 -10
- package/pipes/format-number/taiga-ui-core-pipes-format-number.d.ts +0 -5
- package/pipes/format-phone/package.json +0 -10
- package/pipes/format-phone/taiga-ui-core-pipes-format-phone.d.ts +0 -5
- package/pipes/month/package.json +0 -10
- package/pipes/month/taiga-ui-core-pipes-month.d.ts +0 -5
- package/pipes/order-week-days/package.json +0 -10
- package/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.d.ts +0 -5
- package/pipes/package.json +0 -10
- package/pipes/taiga-ui-core-pipes.d.ts +0 -5
- package/providers/package.json +0 -10
- package/providers/taiga-ui-core-providers.d.ts +0 -5
- package/services/package.json +0 -10
- package/services/taiga-ui-core-services.d.ts +0 -5
- package/taiga-ui-core.d.ts +0 -5
- package/tokens/package.json +0 -10
- package/tokens/taiga-ui-core-tokens.d.ts +0 -5
- package/types/package.json +0 -10
- package/types/taiga-ui-core-types.d.ts +0 -5
- package/utils/dom/package.json +0 -10
- package/utils/dom/taiga-ui-core-utils-dom.d.ts +0 -5
- package/utils/format/package.json +0 -10
- package/utils/format/taiga-ui-core-utils-format.d.ts +0 -5
- package/utils/mask/package.json +0 -10
- package/utils/mask/taiga-ui-core-utils-mask.d.ts +0 -5
- package/utils/miscellaneous/package.json +0 -10
- package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.d.ts +0 -5
- package/utils/mobile/package.json +0 -10
- package/utils/mobile/taiga-ui-core-utils-mobile.d.ts +0 -5
- package/utils/package.json +0 -10
- package/utils/taiga-ui-core-utils.d.ts +0 -5
- /package/{esm2015/abstract/driver.js → esm2020/abstract/driver.mjs} +0 -0
- /package/{esm2015/abstract/index.js → esm2020/abstract/index.mjs} +0 -0
- /package/{esm2015/abstract/position-accessor.js → esm2020/abstract/position-accessor.mjs} +0 -0
- /package/{esm2015/abstract/taiga-ui-core-abstract.js → esm2020/abstract/taiga-ui-core-abstract.mjs} +0 -0
- /package/{esm2015/abstract/vehicle.js → esm2020/abstract/vehicle.mjs} +0 -0
- /package/{esm2015/animations/animations.js → esm2020/animations/animations.mjs} +0 -0
- /package/{esm2015/animations/index.js → esm2020/animations/index.mjs} +0 -0
- /package/{esm2015/animations/taiga-ui-core-animations.js → esm2020/animations/taiga-ui-core-animations.mjs} +0 -0
- /package/{esm2015/components/alert/alert.providers.js → esm2020/components/alert/alert.providers.mjs} +0 -0
- /package/{esm2015/components/alert/index.js → esm2020/components/alert/index.mjs} +0 -0
- /package/{esm2015/components/alert/taiga-ui-core-components-alert.js → esm2020/components/alert/taiga-ui-core-components-alert.mjs} +0 -0
- /package/{esm2015/components/button/button.options.js → esm2020/components/button/button.options.mjs} +0 -0
- /package/{esm2015/components/button/index.js → esm2020/components/button/index.mjs} +0 -0
- /package/{esm2015/components/button/taiga-ui-core-components-button.js → esm2020/components/button/taiga-ui-core-components-button.mjs} +0 -0
- /package/{esm2015/components/calendar/index.js → esm2020/components/calendar/index.mjs} +0 -0
- /package/{esm2015/components/calendar/taiga-ui-core-components-calendar.js → esm2020/components/calendar/taiga-ui-core-components-calendar.mjs} +0 -0
- /package/{esm2015/components/data-list/index.js → esm2020/components/data-list/index.mjs} +0 -0
- /package/{esm2015/components/data-list/taiga-ui-core-components-data-list.js → esm2020/components/data-list/taiga-ui-core-components-data-list.mjs} +0 -0
- /package/{esm2015/components/dialog/dialog.tokens.js → esm2020/components/dialog/dialog.tokens.mjs} +0 -0
- /package/{esm2015/components/dialog/index.js → esm2020/components/dialog/index.mjs} +0 -0
- /package/{esm2015/components/dialog/taiga-ui-core-components-dialog.js → esm2020/components/dialog/taiga-ui-core-components-dialog.mjs} +0 -0
- /package/{esm2015/components/error/index.js → esm2020/components/error/index.mjs} +0 -0
- /package/{esm2015/components/error/taiga-ui-core-components-error.js → esm2020/components/error/taiga-ui-core-components-error.mjs} +0 -0
- /package/{esm2015/components/expand/index.js → esm2020/components/expand/index.mjs} +0 -0
- /package/{esm2015/components/expand/taiga-ui-core-components-expand.js → esm2020/components/expand/taiga-ui-core-components-expand.mjs} +0 -0
- /package/{esm2015/components/group/index.js → esm2020/components/group/index.mjs} +0 -0
- /package/{esm2015/components/group/taiga-ui-core-components-group.js → esm2020/components/group/taiga-ui-core-components-group.mjs} +0 -0
- /package/{esm2015/components/hints-host/index.js → esm2020/components/hints-host/index.mjs} +0 -0
- /package/{esm2015/components/hints-host/taiga-ui-core-components-hints-host.js → esm2020/components/hints-host/taiga-ui-core-components-hints-host.mjs} +0 -0
- /package/{esm2015/components/hosted-dropdown/hosted-dropdown.token.js → esm2020/components/hosted-dropdown/hosted-dropdown.token.mjs} +0 -0
- /package/{esm2015/components/hosted-dropdown/index.js → esm2020/components/hosted-dropdown/index.mjs} +0 -0
- /package/{esm2015/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js → esm2020/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.mjs} +0 -0
- /package/{esm2015/components/index.js → esm2020/components/index.mjs} +0 -0
- /package/{esm2015/components/label/index.js → esm2020/components/label/index.mjs} +0 -0
- /package/{esm2015/components/label/taiga-ui-core-components-label.js → esm2020/components/label/taiga-ui-core-components-label.mjs} +0 -0
- /package/{esm2015/components/link/index.js → esm2020/components/link/index.mjs} +0 -0
- /package/{esm2015/components/link/taiga-ui-core-components-link.js → esm2020/components/link/taiga-ui-core-components-link.mjs} +0 -0
- /package/{esm2015/components/loader/index.js → esm2020/components/loader/index.mjs} +0 -0
- /package/{esm2015/components/loader/loader.options.js → esm2020/components/loader/loader.options.mjs} +0 -0
- /package/{esm2015/components/loader/taiga-ui-core-components-loader.js → esm2020/components/loader/taiga-ui-core-components-loader.mjs} +0 -0
- /package/{esm2015/components/notification/index.js → esm2020/components/notification/index.mjs} +0 -0
- /package/{esm2015/components/notification/taiga-ui-core-components-notification.js → esm2020/components/notification/taiga-ui-core-components-notification.mjs} +0 -0
- /package/{esm2015/components/primitive-calendar/index.js → esm2020/components/primitive-calendar/index.mjs} +0 -0
- /package/{esm2015/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js → esm2020/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.mjs} +0 -0
- /package/{esm2015/components/primitive-checkbox/checkbox.options.js → esm2020/components/primitive-checkbox/checkbox.options.mjs} +0 -0
- /package/{esm2015/components/primitive-checkbox/index.js → esm2020/components/primitive-checkbox/index.mjs} +0 -0
- /package/{esm2015/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js → esm2020/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.mjs} +0 -0
- /package/{esm2015/components/primitive-spin-button/index.js → esm2020/components/primitive-spin-button/index.mjs} +0 -0
- /package/{esm2015/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js → esm2020/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.mjs} +0 -0
- /package/{esm2015/components/primitive-textfield/index.js → esm2020/components/primitive-textfield/index.mjs} +0 -0
- /package/{esm2015/components/primitive-textfield/primitive-textfield-options.js → esm2020/components/primitive-textfield/primitive-textfield-options.mjs} +0 -0
- /package/{esm2015/components/primitive-textfield/primitive-textfield-types.js → esm2020/components/primitive-textfield/primitive-textfield-types.mjs} +0 -0
- /package/{esm2015/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js → esm2020/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.mjs} +0 -0
- /package/{esm2015/components/primitive-year-picker/index.js → esm2020/components/primitive-year-picker/index.mjs} +0 -0
- /package/{esm2015/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js → esm2020/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.mjs} +0 -0
- /package/{esm2015/components/root/index.js → esm2020/components/root/index.mjs} +0 -0
- /package/{esm2015/components/root/taiga-ui-core-components-root.js → esm2020/components/root/taiga-ui-core-components-root.mjs} +0 -0
- /package/{esm2015/components/scroll-controls/index.js → esm2020/components/scroll-controls/index.mjs} +0 -0
- /package/{esm2015/components/scroll-controls/taiga-ui-core-components-scroll-controls.js → esm2020/components/scroll-controls/taiga-ui-core-components-scroll-controls.mjs} +0 -0
- /package/{esm2015/components/scrollbar/index.js → esm2020/components/scrollbar/index.mjs} +0 -0
- /package/{esm2015/components/scrollbar/taiga-ui-core-components-scrollbar.js → esm2020/components/scrollbar/taiga-ui-core-components-scrollbar.mjs} +0 -0
- /package/{esm2015/components/svg/deprecated-icons.js → esm2020/components/svg/deprecated-icons.mjs} +0 -0
- /package/{esm2015/components/svg/index.js → esm2020/components/svg/index.mjs} +0 -0
- /package/{esm2015/components/svg/taiga-ui-core-components-svg.js → esm2020/components/svg/taiga-ui-core-components-svg.mjs} +0 -0
- /package/{esm2015/components/taiga-ui-core-components.js → esm2020/components/taiga-ui-core-components.mjs} +0 -0
- /package/{esm2015/components/theme-night/index.js → esm2020/components/theme-night/index.mjs} +0 -0
- /package/{esm2015/components/theme-night/taiga-ui-core-components-theme-night.js → esm2020/components/theme-night/taiga-ui-core-components-theme-night.mjs} +0 -0
- /package/{esm2015/components/tooltip/index.js → esm2020/components/tooltip/index.mjs} +0 -0
- /package/{esm2015/components/tooltip/taiga-ui-core-components-tooltip.js → esm2020/components/tooltip/taiga-ui-core-components-tooltip.mjs} +0 -0
- /package/{esm2015/constants/cache-basting-payload.js → esm2020/constants/cache-basting-payload.mjs} +0 -0
- /package/{esm2015/constants/decimal-symbols.js → esm2020/constants/decimal-symbols.mjs} +0 -0
- /package/{esm2015/constants/default-icons-path.js → esm2020/constants/default-icons-path.mjs} +0 -0
- /package/{esm2015/constants/default-marker-handler.js → esm2020/constants/default-marker-handler.mjs} +0 -0
- /package/{esm2015/constants/default-number-format.js → esm2020/constants/default-number-format.mjs} +0 -0
- /package/{esm2015/constants/editing-keys.js → esm2020/constants/editing-keys.mjs} +0 -0
- /package/{esm2015/constants/events.js → esm2020/constants/events.mjs} +0 -0
- /package/{esm2015/constants/hint-directions.js → esm2020/constants/hint-directions.mjs} +0 -0
- /package/{esm2015/constants/index.js → esm2020/constants/index.mjs} +0 -0
- /package/{esm2015/constants/mask-caret-trap.js → esm2020/constants/mask-caret-trap.mjs} +0 -0
- /package/{esm2015/constants/regexp.js → esm2020/constants/regexp.mjs} +0 -0
- /package/{esm2015/constants/taiga-ui-core-constants.js → esm2020/constants/taiga-ui-core-constants.mjs} +0 -0
- /package/{esm2015/directives/dropdown/dropdown-hover.options.js → esm2020/directives/dropdown/dropdown-hover.options.mjs} +0 -0
- /package/{esm2015/directives/dropdown/dropdown.providers.js → esm2020/directives/dropdown/dropdown.providers.mjs} +0 -0
- /package/{esm2015/directives/dropdown/index.js → esm2020/directives/dropdown/index.mjs} +0 -0
- /package/{esm2015/directives/dropdown/taiga-ui-core-directives-dropdown.js → esm2020/directives/dropdown/taiga-ui-core-directives-dropdown.mjs} +0 -0
- /package/{esm2015/directives/hint/hint.providers.js → esm2020/directives/hint/hint.providers.mjs} +0 -0
- /package/{esm2015/directives/hint/index.js → esm2020/directives/hint/index.mjs} +0 -0
- /package/{esm2015/directives/hint/taiga-ui-core-directives-hint.js → esm2020/directives/hint/taiga-ui-core-directives-hint.mjs} +0 -0
- /package/{esm2015/directives/index.js → esm2020/directives/index.mjs} +0 -0
- /package/{esm2015/directives/mask-accessor/index.js → esm2020/directives/mask-accessor/index.mjs} +0 -0
- /package/{esm2015/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js → esm2020/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.mjs} +0 -0
- /package/{esm2015/directives/mode/index.js → esm2020/directives/mode/index.mjs} +0 -0
- /package/{esm2015/directives/mode/taiga-ui-core-directives-mode.js → esm2020/directives/mode/taiga-ui-core-directives-mode.mjs} +0 -0
- /package/{esm2015/directives/number-format/index.js → esm2020/directives/number-format/index.mjs} +0 -0
- /package/{esm2015/directives/number-format/taiga-ui-core-directives-number-format.js → esm2020/directives/number-format/taiga-ui-core-directives-number-format.mjs} +0 -0
- /package/{esm2015/directives/scroll-into-view/index.js → esm2020/directives/scroll-into-view/index.mjs} +0 -0
- /package/{esm2015/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js → esm2020/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.mjs} +0 -0
- /package/{esm2015/directives/taiga-ui-core-directives.js → esm2020/directives/taiga-ui-core-directives.mjs} +0 -0
- /package/{esm2015/directives/textfield-controller/index.js → esm2020/directives/textfield-controller/index.mjs} +0 -0
- /package/{esm2015/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js → esm2020/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.mjs} +0 -0
- /package/{esm2015/directives/textfield-controller/textfield.controller.js → esm2020/directives/textfield-controller/textfield.controller.mjs} +0 -0
- /package/{esm2015/directives/textfield-controller/textfield.options.js → esm2020/directives/textfield-controller/textfield.options.mjs} +0 -0
- /package/{esm2015/directives/wrapper/index.js → esm2020/directives/wrapper/index.mjs} +0 -0
- /package/{esm2015/directives/wrapper/taiga-ui-core-directives-wrapper.js → esm2020/directives/wrapper/taiga-ui-core-directives-wrapper.mjs} +0 -0
- /package/{esm2015/enums/appearance.js → esm2020/enums/appearance.mjs} +0 -0
- /package/{esm2015/enums/dropdown-animation.js → esm2020/enums/dropdown-animation.mjs} +0 -0
- /package/{esm2015/enums/index.js → esm2020/enums/index.mjs} +0 -0
- /package/{esm2015/enums/interactive-state.js → esm2020/enums/interactive-state.mjs} +0 -0
- /package/{esm2015/enums/notification.js → esm2020/enums/notification.mjs} +0 -0
- /package/{esm2015/enums/range-state.js → esm2020/enums/range-state.mjs} +0 -0
- /package/{esm2015/enums/taiga-ui-core-enums.js → esm2020/enums/taiga-ui-core-enums.mjs} +0 -0
- /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- /package/{esm2015/interfaces/alert-options.js → esm2020/interfaces/alert-options.mjs} +0 -0
- /package/{esm2015/interfaces/animation-options.js → esm2020/interfaces/animation-options.mjs} +0 -0
- /package/{esm2015/interfaces/data-list-accessor.js → esm2020/interfaces/data-list-accessor.mjs} +0 -0
- /package/{esm2015/interfaces/data-list-host.js → esm2020/interfaces/data-list-host.mjs} +0 -0
- /package/{esm2015/interfaces/dialog-context.js → esm2020/interfaces/dialog-context.mjs} +0 -0
- /package/{esm2015/interfaces/dialog-options.js → esm2020/interfaces/dialog-options.mjs} +0 -0
- /package/{esm2015/interfaces/icon-error.js → esm2020/interfaces/icon-error.mjs} +0 -0
- /package/{esm2015/interfaces/index.js → esm2020/interfaces/index.mjs} +0 -0
- /package/{esm2015/interfaces/media.js → esm2020/interfaces/media.mjs} +0 -0
- /package/{esm2015/interfaces/number-format-settings.js → esm2020/interfaces/number-format-settings.mjs} +0 -0
- /package/{esm2015/interfaces/portal-item.js → esm2020/interfaces/portal-item.mjs} +0 -0
- /package/{esm2015/interfaces/taiga-ui-core-interfaces.js → esm2020/interfaces/taiga-ui-core-interfaces.mjs} +0 -0
- /package/{esm2015/interfaces/textfield-host.js → esm2020/interfaces/textfield-host.mjs} +0 -0
- /package/{esm2015/interfaces/value-content-context.js → esm2020/interfaces/value-content-context.mjs} +0 -0
- /package/{esm2015/interfaces/with-optional-min-max.js → esm2020/interfaces/with-optional-min-max.mjs} +0 -0
- /package/{esm2015/internal/index.js → esm2020/internal/index.mjs} +0 -0
- /package/{esm2015/internal/primitive-year-month-pagination/index.js → esm2020/internal/primitive-year-month-pagination/index.mjs} +0 -0
- /package/{esm2015/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js → esm2020/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.mjs} +0 -0
- /package/{esm2015/internal/svg-defs-host/index.js → esm2020/internal/svg-defs-host/index.mjs} +0 -0
- /package/{esm2015/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js → esm2020/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.mjs} +0 -0
- /package/{esm2015/internal/taiga-ui-core-internal.js → esm2020/internal/taiga-ui-core-internal.mjs} +0 -0
- /package/{esm2015/mask/index.js → esm2020/mask/index.mjs} +0 -0
- /package/{esm2015/mask/number-mask-options.js → esm2020/mask/number-mask-options.mjs} +0 -0
- /package/{esm2015/mask/taiga-ui-core-mask.js → esm2020/mask/taiga-ui-core-mask.mjs} +0 -0
- /package/{esm2015/mask/text-mask-config.js → esm2020/mask/text-mask-config.mjs} +0 -0
- /package/{esm2015/mask/text-mask-correction-handler.js → esm2020/mask/text-mask-correction-handler.mjs} +0 -0
- /package/{esm2015/mask/text-mask-list-handler.js → esm2020/mask/text-mask-list-handler.mjs} +0 -0
- /package/{esm2015/mask/text-mask-list.js → esm2020/mask/text-mask-list.mjs} +0 -0
- /package/{esm2015/mask/text-mask-options.js → esm2020/mask/text-mask-options.mjs} +0 -0
- /package/{esm2015/mask/text-mask-pipe-handler.js → esm2020/mask/text-mask-pipe-handler.mjs} +0 -0
- /package/{esm2015/mask/text-mask-pipe-result.js → esm2020/mask/text-mask-pipe-result.mjs} +0 -0
- /package/{esm2015/observables/index.js → esm2020/observables/index.mjs} +0 -0
- /package/{esm2015/observables/taiga-ui-core-observables.js → esm2020/observables/taiga-ui-core-observables.mjs} +0 -0
- /package/{esm2015/pipes/calendar-sheet/index.js → esm2020/pipes/calendar-sheet/index.mjs} +0 -0
- /package/{esm2015/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js → esm2020/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs} +0 -0
- /package/{esm2015/pipes/calendar-sheet/utils.js → esm2020/pipes/calendar-sheet/utils.mjs} +0 -0
- /package/{esm2015/pipes/flag/index.js → esm2020/pipes/flag/index.mjs} +0 -0
- /package/{esm2015/pipes/flag/taiga-ui-core-pipes-flag.js → esm2020/pipes/flag/taiga-ui-core-pipes-flag.mjs} +0 -0
- /package/{esm2015/pipes/format-date/index.js → esm2020/pipes/format-date/index.mjs} +0 -0
- /package/{esm2015/pipes/format-date/taiga-ui-core-pipes-format-date.js → esm2020/pipes/format-date/taiga-ui-core-pipes-format-date.mjs} +0 -0
- /package/{esm2015/pipes/format-number/index.js → esm2020/pipes/format-number/index.mjs} +0 -0
- /package/{esm2015/pipes/format-number/taiga-ui-core-pipes-format-number.js → esm2020/pipes/format-number/taiga-ui-core-pipes-format-number.mjs} +0 -0
- /package/{esm2015/pipes/format-phone/index.js → esm2020/pipes/format-phone/index.mjs} +0 -0
- /package/{esm2015/pipes/format-phone/taiga-ui-core-pipes-format-phone.js → esm2020/pipes/format-phone/taiga-ui-core-pipes-format-phone.mjs} +0 -0
- /package/{esm2015/pipes/index.js → esm2020/pipes/index.mjs} +0 -0
- /package/{esm2015/pipes/month/index.js → esm2020/pipes/month/index.mjs} +0 -0
- /package/{esm2015/pipes/month/taiga-ui-core-pipes-month.js → esm2020/pipes/month/taiga-ui-core-pipes-month.mjs} +0 -0
- /package/{esm2015/pipes/order-week-days/index.js → esm2020/pipes/order-week-days/index.mjs} +0 -0
- /package/{esm2015/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.js → esm2020/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs} +0 -0
- /package/{esm2015/pipes/taiga-ui-core-pipes.js → esm2020/pipes/taiga-ui-core-pipes.mjs} +0 -0
- /package/{esm2015/providers/index.js → esm2020/providers/index.mjs} +0 -0
- /package/{esm2015/providers/is-mobile-resolution.provider.js → esm2020/providers/is-mobile-resolution.provider.mjs} +0 -0
- /package/{esm2015/providers/taiga-ui-core-providers.js → esm2020/providers/taiga-ui-core-providers.mjs} +0 -0
- /package/{esm2015/services/index.js → esm2020/services/index.mjs} +0 -0
- /package/{esm2015/services/taiga-ui-core-services.js → esm2020/services/taiga-ui-core-services.mjs} +0 -0
- /package/{esm2015/taiga-ui-core.js → esm2020/taiga-ui-core.mjs} +0 -0
- /package/{esm2015/tokens/animation-options.js → esm2020/tokens/animation-options.mjs} +0 -0
- /package/{esm2015/tokens/animations-duration.js → esm2020/tokens/animations-duration.mjs} +0 -0
- /package/{esm2015/tokens/assert-enabled.js → esm2020/tokens/assert-enabled.mjs} +0 -0
- /package/{esm2015/tokens/common-icon.js → esm2020/tokens/common-icon.mjs} +0 -0
- /package/{esm2015/tokens/data-list-accessor.js → esm2020/tokens/data-list-accessor.mjs} +0 -0
- /package/{esm2015/tokens/data-list-host.js → esm2020/tokens/data-list-host.mjs} +0 -0
- /package/{esm2015/tokens/day-type-handler.js → esm2020/tokens/day-type-handler.mjs} +0 -0
- /package/{esm2015/tokens/document-or-shadow-root.js → esm2020/tokens/document-or-shadow-root.mjs} +0 -0
- /package/{esm2015/tokens/element-ref.js → esm2020/tokens/element-ref.mjs} +0 -0
- /package/{esm2015/tokens/first-day-of-week.js → esm2020/tokens/first-day-of-week.mjs} +0 -0
- /package/{esm2015/tokens/i18n.js → esm2020/tokens/i18n.mjs} +0 -0
- /package/{esm2015/tokens/icon-place.js → esm2020/tokens/icon-place.mjs} +0 -0
- /package/{esm2015/tokens/icons-path.js → esm2020/tokens/icons-path.mjs} +0 -0
- /package/{esm2015/tokens/icons.js → esm2020/tokens/icons.mjs} +0 -0
- /package/{esm2015/tokens/index.js → esm2020/tokens/index.mjs} +0 -0
- /package/{esm2015/tokens/legacy-mask.js → esm2020/tokens/legacy-mask.mjs} +0 -0
- /package/{esm2015/tokens/media.js → esm2020/tokens/media.mjs} +0 -0
- /package/{esm2015/tokens/mode.js → esm2020/tokens/mode.mjs} +0 -0
- /package/{esm2015/tokens/notification-options.js → esm2020/tokens/notification-options.mjs} +0 -0
- /package/{esm2015/tokens/number-format.js → esm2020/tokens/number-format.mjs} +0 -0
- /package/{esm2015/tokens/option-content.js → esm2020/tokens/option-content.mjs} +0 -0
- /package/{esm2015/tokens/sanitizer.js → esm2020/tokens/sanitizer.mjs} +0 -0
- /package/{esm2015/tokens/scroll-ref.js → esm2020/tokens/scroll-ref.mjs} +0 -0
- /package/{esm2015/tokens/spin-icons.js → esm2020/tokens/spin-icons.mjs} +0 -0
- /package/{esm2015/tokens/svg-content-processor.js → esm2020/tokens/svg-content-processor.mjs} +0 -0
- /package/{esm2015/tokens/svg-src-processor.js → esm2020/tokens/svg-src-processor.mjs} +0 -0
- /package/{esm2015/tokens/taiga-ui-core-tokens.js → esm2020/tokens/taiga-ui-core-tokens.mjs} +0 -0
- /package/{esm2015/tokens/textfield-appearance.js → esm2020/tokens/textfield-appearance.mjs} +0 -0
- /package/{esm2015/tokens/textfield-host.js → esm2020/tokens/textfield-host.mjs} +0 -0
- /package/{esm2015/tokens/theme.js → esm2020/tokens/theme.mjs} +0 -0
- /package/{esm2015/tokens/value-accessor.js → esm2020/tokens/value-accessor.mjs} +0 -0
- /package/{esm2015/types/brightness.js → esm2020/types/brightness.mjs} +0 -0
- /package/{esm2015/types/calendar-view.js → esm2020/types/calendar-view.mjs} +0 -0
- /package/{esm2015/types/data-list-role.js → esm2020/types/data-list-role.mjs} +0 -0
- /package/{esm2015/types/decimal-symbol.js → esm2020/types/decimal-symbol.mjs} +0 -0
- /package/{esm2015/types/decimal.js → esm2020/types/decimal.mjs} +0 -0
- /package/{esm2015/types/dialog-size.js → esm2020/types/dialog-size.mjs} +0 -0
- /package/{esm2015/types/direction.js → esm2020/types/direction.mjs} +0 -0
- /package/{esm2015/types/dropdown-align.js → esm2020/types/dropdown-align.mjs} +0 -0
- /package/{esm2015/types/dropdown-width.js → esm2020/types/dropdown-width.mjs} +0 -0
- /package/{esm2015/types/hint-direction.js → esm2020/types/hint-direction.mjs} +0 -0
- /package/{esm2015/types/index.js → esm2020/types/index.mjs} +0 -0
- /package/{esm2015/types/marker-handler.js → esm2020/types/marker-handler.mjs} +0 -0
- /package/{esm2015/types/notification.js → esm2020/types/notification.mjs} +0 -0
- /package/{esm2015/types/option-role.js → esm2020/types/option-role.mjs} +0 -0
- /package/{esm2015/types/orientation.js → esm2020/types/orientation.mjs} +0 -0
- /package/{esm2015/types/point.js → esm2020/types/point.mjs} +0 -0
- /package/{esm2015/types/size.js → esm2020/types/size.mjs} +0 -0
- /package/{esm2015/types/taiga-ui-core-types.js → esm2020/types/taiga-ui-core-types.mjs} +0 -0
- /package/{esm2015/utils/dom/check-fixed-position.js → esm2020/utils/dom/check-fixed-position.mjs} +0 -0
- /package/{esm2015/utils/dom/get-safe-area-size.js → esm2020/utils/dom/get-safe-area-size.mjs} +0 -0
- /package/{esm2015/utils/dom/get-screen-width.js → esm2020/utils/dom/get-screen-width.mjs} +0 -0
- /package/{esm2015/utils/dom/get-viewport-height.js → esm2020/utils/dom/get-viewport-height.mjs} +0 -0
- /package/{esm2015/utils/dom/get-viewport-width.js → esm2020/utils/dom/get-viewport-width.mjs} +0 -0
- /package/{esm2015/utils/dom/get-word-range.js → esm2020/utils/dom/get-word-range.mjs} +0 -0
- /package/{esm2015/utils/dom/index.js → esm2020/utils/dom/index.mjs} +0 -0
- /package/{esm2015/utils/dom/taiga-ui-core-utils-dom.js → esm2020/utils/dom/taiga-ui-core-utils-dom.mjs} +0 -0
- /package/{esm2015/utils/format/capitalize-first-letter.js → esm2020/utils/format/capitalize-first-letter.mjs} +0 -0
- /package/{esm2015/utils/format/capitalize.js → esm2020/utils/format/capitalize.mjs} +0 -0
- /package/{esm2015/utils/format/format-phone.js → esm2020/utils/format/format-phone.mjs} +0 -0
- /package/{esm2015/utils/format/get-fractional-part-padded.js → esm2020/utils/format/get-fractional-part-padded.mjs} +0 -0
- /package/{esm2015/utils/format/index.js → esm2020/utils/format/index.mjs} +0 -0
- /package/{esm2015/utils/format/other-decimal-symbol.js → esm2020/utils/format/other-decimal-symbol.mjs} +0 -0
- /package/{esm2015/utils/format/taiga-ui-core-utils-format.js → esm2020/utils/format/taiga-ui-core-utils-format.mjs} +0 -0
- /package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
- /package/{esm2015/utils/mask/create-auto-corrected-money-pipe.js → esm2020/utils/mask/create-auto-corrected-money-pipe.mjs} +0 -0
- /package/{esm2015/utils/mask/create-correction-mask.js → esm2020/utils/mask/create-correction-mask.mjs} +0 -0
- /package/{esm2015/utils/mask/enable-auto-correct-decimal-symbol.js → esm2020/utils/mask/enable-auto-correct-decimal-symbol.mjs} +0 -0
- /package/{esm2015/utils/mask/index.js → esm2020/utils/mask/index.mjs} +0 -0
- /package/{esm2015/utils/mask/masked-money-value-is-empty.js → esm2020/utils/mask/masked-money-value-is-empty.mjs} +0 -0
- /package/{esm2015/utils/mask/masked-number-string-to-number.js → esm2020/utils/mask/masked-number-string-to-number.mjs} +0 -0
- /package/{esm2015/utils/mask/taiga-ui-core-utils-mask.js → esm2020/utils/mask/taiga-ui-core-utils-mask.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/get-border.js → esm2020/utils/miscellaneous/get-border.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/icons-path-factory.js → esm2020/utils/miscellaneous/icons-path-factory.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/index.js → esm2020/utils/miscellaneous/index.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/is-editing-key.js → esm2020/utils/miscellaneous/is-editing-key.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/is-presumed-html-string.js → esm2020/utils/miscellaneous/is-presumed-html-string.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/size-bigger.js → esm2020/utils/miscellaneous/size-bigger.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js → esm2020/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs} +0 -0
- /package/{esm2015/utils/mobile/index.js → esm2020/utils/mobile/index.mjs} +0 -0
- /package/{esm2015/utils/mobile/is-mobile.js → esm2020/utils/mobile/is-mobile.mjs} +0 -0
- /package/{esm2015/utils/mobile/taiga-ui-core-utils-mobile.js → esm2020/utils/mobile/taiga-ui-core-utils-mobile.mjs} +0 -0
- /package/{esm2015/utils/taiga-ui-core-utils.js → esm2020/utils/taiga-ui-core-utils.mjs} +0 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { DOCUMENT } from '@angular/common';
|
|
2
|
+
import { Directive, ElementRef, Inject, Input, ViewContainerRef, } from '@angular/core';
|
|
3
|
+
import { ALWAYS_TRUE_HANDLER, CHAR_NO_BREAK_SPACE, CHAR_ZERO_WIDTH_SPACE, EMPTY_CLIENT_RECT, TUI_RANGE, tuiGetNativeFocused, tuiIsElement, tuiIsString, tuiIsTextfield, tuiIsTextNode, tuiPx, } from '@taiga-ui/cdk';
|
|
4
|
+
import { tuiAsDriver, tuiAsRectAccessor, TuiDriver, } from '@taiga-ui/core/abstract';
|
|
5
|
+
import { TUI_SELECTION_STREAM } from '@taiga-ui/core/tokens';
|
|
6
|
+
import { tuiGetWordRange } from '@taiga-ui/core/utils';
|
|
7
|
+
import { BehaviorSubject, combineLatest, distinctUntilChanged, map, } from 'rxjs';
|
|
8
|
+
import { TuiDropdownDirective } from './dropdown.directive';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "rxjs";
|
|
11
|
+
import * as i2 from "./dropdown.directive";
|
|
12
|
+
export class TuiDropdownSelectionDirective extends TuiDriver {
|
|
13
|
+
set tuiDropdownSelection(visible) {
|
|
14
|
+
if (!tuiIsString(visible)) {
|
|
15
|
+
this.handler$.next(visible);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
constructor(range, doc, selection$, el, vcr, dropdown) {
|
|
19
|
+
super(subscriber => this.stream$.subscribe(subscriber));
|
|
20
|
+
this.range = range;
|
|
21
|
+
this.doc = doc;
|
|
22
|
+
this.selection$ = selection$;
|
|
23
|
+
this.el = el;
|
|
24
|
+
this.vcr = vcr;
|
|
25
|
+
this.dropdown = dropdown;
|
|
26
|
+
this.handler$ = new BehaviorSubject(ALWAYS_TRUE_HANDLER);
|
|
27
|
+
this.stream$ = combineLatest([
|
|
28
|
+
this.handler$,
|
|
29
|
+
this.selection$.pipe(map(() => this.getRange()), distinctUntilChanged((x, y) => x.startOffset === y.startOffset && x.endOffset === y.endOffset)),
|
|
30
|
+
]).pipe(map(([handler, range]) => {
|
|
31
|
+
const contained = this.el.nativeElement.contains(range.commonAncestorContainer);
|
|
32
|
+
this.range =
|
|
33
|
+
contained && tuiIsTextNode(range.commonAncestorContainer)
|
|
34
|
+
? range
|
|
35
|
+
: this.range;
|
|
36
|
+
return (contained && handler(this.range)) || this.inDropdown(range);
|
|
37
|
+
}));
|
|
38
|
+
this.position = 'selection';
|
|
39
|
+
this.type = 'dropdown';
|
|
40
|
+
}
|
|
41
|
+
getClientRect() {
|
|
42
|
+
switch (this.position) {
|
|
43
|
+
case 'tag': {
|
|
44
|
+
const { commonAncestorContainer } = this.range;
|
|
45
|
+
const element = tuiIsElement(commonAncestorContainer)
|
|
46
|
+
? commonAncestorContainer
|
|
47
|
+
: commonAncestorContainer.parentNode;
|
|
48
|
+
return element && tuiIsElement(element)
|
|
49
|
+
? element.getBoundingClientRect()
|
|
50
|
+
: EMPTY_CLIENT_RECT;
|
|
51
|
+
}
|
|
52
|
+
case 'word':
|
|
53
|
+
return tuiGetWordRange(this.range).getBoundingClientRect();
|
|
54
|
+
default:
|
|
55
|
+
return this.range.getBoundingClientRect();
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
ngOnDestroy() {
|
|
59
|
+
if (this.ghost) {
|
|
60
|
+
this.vcr.element.nativeElement.removeChild(this.ghost);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
getRange() {
|
|
64
|
+
const active = tuiGetNativeFocused(this.doc);
|
|
65
|
+
const selection = this.doc.getSelection();
|
|
66
|
+
const range = active && tuiIsTextfield(active) && this.el.nativeElement.contains(active)
|
|
67
|
+
? this.veryVerySadInputFix(active)
|
|
68
|
+
: (selection?.rangeCount && selection.getRangeAt(0)) || this.range;
|
|
69
|
+
return range.cloneRange();
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Check if Node is inside dropdown
|
|
73
|
+
*/
|
|
74
|
+
boxContains(node) {
|
|
75
|
+
return !!this.dropdown.dropdownBoxRef?.location.nativeElement.contains(node);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Check if given range is at least partially inside dropdown
|
|
79
|
+
*/
|
|
80
|
+
inDropdown(range) {
|
|
81
|
+
const { startContainer, endContainer } = range;
|
|
82
|
+
const { nativeElement } = this.el;
|
|
83
|
+
const inDropdown = this.boxContains(range.commonAncestorContainer);
|
|
84
|
+
const hostToDropdown = this.boxContains(endContainer) && nativeElement.contains(startContainer);
|
|
85
|
+
const dropdownToHost = this.boxContains(startContainer) && nativeElement.contains(endContainer);
|
|
86
|
+
return inDropdown || hostToDropdown || dropdownToHost;
|
|
87
|
+
}
|
|
88
|
+
veryVerySadInputFix(element) {
|
|
89
|
+
const { ghost = this.initGhost(element) } = this;
|
|
90
|
+
const { top, left, width, height } = element.getBoundingClientRect();
|
|
91
|
+
const { selectionStart, selectionEnd, value } = element;
|
|
92
|
+
const range = this.doc.createRange();
|
|
93
|
+
const hostRect = this.el.nativeElement.getBoundingClientRect();
|
|
94
|
+
ghost.style.top = tuiPx(top - hostRect.top);
|
|
95
|
+
ghost.style.left = tuiPx(left - hostRect.left);
|
|
96
|
+
ghost.style.width = tuiPx(width);
|
|
97
|
+
ghost.style.height = tuiPx(height);
|
|
98
|
+
ghost.textContent = CHAR_ZERO_WIDTH_SPACE + value + CHAR_NO_BREAK_SPACE;
|
|
99
|
+
range.setStart(ghost.firstChild, selectionStart || 0);
|
|
100
|
+
range.setEnd(ghost.firstChild, selectionEnd || 0);
|
|
101
|
+
return range;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Create an invisible DIV styled exactly like input/textarea element inside directive
|
|
105
|
+
*/
|
|
106
|
+
initGhost(element) {
|
|
107
|
+
const ghost = this.doc.createElement('div');
|
|
108
|
+
const { font, letterSpacing, textTransform, padding } = getComputedStyle(element);
|
|
109
|
+
ghost.style.position = 'absolute';
|
|
110
|
+
ghost.style.pointerEvents = 'none';
|
|
111
|
+
ghost.style.opacity = '0';
|
|
112
|
+
ghost.style.whiteSpace = 'pre-wrap';
|
|
113
|
+
ghost.style.font = font;
|
|
114
|
+
ghost.style.letterSpacing = letterSpacing;
|
|
115
|
+
ghost.style.textTransform = textTransform;
|
|
116
|
+
ghost.style.padding = padding;
|
|
117
|
+
this.vcr.element.nativeElement.appendChild(ghost);
|
|
118
|
+
this.ghost = ghost;
|
|
119
|
+
return ghost;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
TuiDropdownSelectionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownSelectionDirective, deps: [{ token: TUI_RANGE }, { token: DOCUMENT }, { token: TUI_SELECTION_STREAM }, { token: ElementRef }, { token: ViewContainerRef }, { token: TuiDropdownDirective }], target: i0.ɵɵFactoryTarget.Directive });
|
|
123
|
+
TuiDropdownSelectionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownSelectionDirective, selector: "[tuiDropdown][tuiDropdownSelection]", inputs: { position: ["tuiDropdownSelectionPosition", "position"], tuiDropdownSelection: "tuiDropdownSelection" }, providers: [
|
|
124
|
+
tuiAsDriver(TuiDropdownSelectionDirective),
|
|
125
|
+
tuiAsRectAccessor(TuiDropdownSelectionDirective),
|
|
126
|
+
], usesInheritance: true, ngImport: i0 });
|
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownSelectionDirective, decorators: [{
|
|
128
|
+
type: Directive,
|
|
129
|
+
args: [{
|
|
130
|
+
selector: '[tuiDropdown][tuiDropdownSelection]',
|
|
131
|
+
providers: [
|
|
132
|
+
tuiAsDriver(TuiDropdownSelectionDirective),
|
|
133
|
+
tuiAsRectAccessor(TuiDropdownSelectionDirective),
|
|
134
|
+
],
|
|
135
|
+
}]
|
|
136
|
+
}], ctorParameters: function () { return [{ type: Range, decorators: [{
|
|
137
|
+
type: Inject,
|
|
138
|
+
args: [TUI_RANGE]
|
|
139
|
+
}] }, { type: Document, decorators: [{
|
|
140
|
+
type: Inject,
|
|
141
|
+
args: [DOCUMENT]
|
|
142
|
+
}] }, { type: i1.Observable, decorators: [{
|
|
143
|
+
type: Inject,
|
|
144
|
+
args: [TUI_SELECTION_STREAM]
|
|
145
|
+
}] }, { type: i0.ElementRef, decorators: [{
|
|
146
|
+
type: Inject,
|
|
147
|
+
args: [ElementRef]
|
|
148
|
+
}] }, { type: i0.ViewContainerRef, decorators: [{
|
|
149
|
+
type: Inject,
|
|
150
|
+
args: [ViewContainerRef]
|
|
151
|
+
}] }, { type: i2.TuiDropdownDirective, decorators: [{
|
|
152
|
+
type: Inject,
|
|
153
|
+
args: [TuiDropdownDirective]
|
|
154
|
+
}] }]; }, propDecorators: { position: [{
|
|
155
|
+
type: Input,
|
|
156
|
+
args: ['tuiDropdownSelectionPosition']
|
|
157
|
+
}], tuiDropdownSelection: [{
|
|
158
|
+
type: Input
|
|
159
|
+
}] } });
|
|
160
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tc2VsZWN0aW9uLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvZGlyZWN0aXZlcy9kcm9wZG93bi9kcm9wZG93bi1zZWxlY3Rpb24uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUN6QyxPQUFPLEVBQ0gsU0FBUyxFQUNULFVBQVUsRUFDVixNQUFNLEVBQ04sS0FBSyxFQUVMLGdCQUFnQixHQUNuQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQ0gsbUJBQW1CLEVBQ25CLG1CQUFtQixFQUNuQixxQkFBcUIsRUFDckIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFFVCxtQkFBbUIsRUFDbkIsWUFBWSxFQUNaLFdBQVcsRUFDWCxjQUFjLEVBQ2QsYUFBYSxFQUNiLEtBQUssR0FDUixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQ0gsV0FBVyxFQUNYLGlCQUFpQixFQUNqQixTQUFTLEdBRVosTUFBTSx5QkFBeUIsQ0FBQztBQUNqQyxPQUFPLEVBQUMsb0JBQW9CLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQztBQUMzRCxPQUFPLEVBQUMsZUFBZSxFQUFDLE1BQU0sc0JBQXNCLENBQUM7QUFDckQsT0FBTyxFQUNILGVBQWUsRUFDZixhQUFhLEVBQ2Isb0JBQ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tZW50cyBUdWlSZWN0QWNjZXNzb3IsIE9uRGVzdHJveVxue1xuICAgIHByaXZhdGUgcmVhZG9ubHkgaGFuZGxlciQgPSBuZXcgQmVoYXZpb3JTdWJqZWN0PFR1aUJvb2xlYW5IYW5kbGVyPFJhbmdlPj4oXG4gICAgICAgIEFMV0FZU19UUlVFX0hBTkRMRVIsXG4gICAgKTtcblxuICAgIHByaXZhdGUgcmVhZG9ubHkgc3RyZWFtJCA9IGNvbWJpbmVMYXRlc3QoW1xuICAgICAgICB0aGlzLmhhbmRsZXIkLFxuICAgICAgICB0aGlzLnNlbGVjdGlvbiQucGlwZShcbiAgICAgICAgICAgIG1hcCgoKSA9PiB0aGlzLmdldFJhbmdlKCkpLFxuICAgICAgICAgICAgZGlzdGluY3RVbnRpbENoYW5nZWQoXG4gICAgICAgICAgICAgICAgKHgsIHkpID0+IHguc3RhcnRPZmZzZXQgPT09IHkuc3RhcnRPZmZzZXQgJiYgeC5lbmRPZmZzZXQgPT09IHkuZW5kT2Zmc2V0LFxuICAgICAgICAgICAgKSxcbiAgICAgICAgKSxcbiAgICBdKS5waXBlKFxuICAgICAgICBtYXAoKFtoYW5kbGVyLCByYW5nZV0pID0+IHtcbiAgICAgICAgICAgIGNvbnN0IGNvbnRhaW5lZCA9IHRoaXMuZWwubmF0aXZlRWxlbWVudC5jb250YWlucyhcbiAgICAgICAgICAgICAgICByYW5nZS5jb21tb25BbmNlc3RvckNvbnRhaW5lcixcbiAgICAgICAgICAgICk7XG5cbiAgICAgICAgICAgIHRoaXMucmFuZ2UgPVxuICAgICAgICAgICAgICAgIGNvbnRhaW5lZCAmJiB0dWlJc1RleHROb2RlKHJhbmdlLmNvbW1vbkFuY2VzdG9yQ29udGFpbmVyKVxuICAgICAgICAgICAgICAgICAgICA/IHJhbmdlXG4gICAgICAgICAgICAgICAgICAgIDogdGhpcy5yYW5nZTtcblxuICAgICAgICAgICAgcmV0dXJuIChjb250YWluZWQgJiYgaGFuZGxlcih0aGlzLnJh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ml2YXRlIHJlYWRvbmx5IGRyb3Bkb3duOiBUdWlEcm9wZG93bkRpcmVjdGl2ZSxcbiAgICApIHtcbiAgICAgICAgc3VwZXIoc3Vic2NyaWJlciA9PiB0aGlzLnN0cmVhbSQuc3Vic2NyaWJlKHN1YnNjcmliZXIpKTtcbiAgICB9XG5cbiAgICBnZXRDbGllbnRSZWN0KCk6IENsaWVudFJlY3Qge1xuICAgICAgICBzd2l0Y2ggKHRoaXMucG9zaXRpb24pIHtcbiAgICAgICAgICAgIGNhc2UgJ3RhZyc6IHtcbiAgICAgICAgICAgICAgICBjb25zdCB7Y29tbW9uQW5jZXN0b3JDb250YWluZXJ9ID0gdGhpcy5yYW5nZTtcbiAgICAgICAgICAgICAgICBjb25zdCBlbGVtZW50ID0gdHVpSXNFbGVtZW50KGNvbW1vbkFuY2VzdG9yQ29udGFpbmVyKVxuICAgICAgICAgICAgICAgICAgICA/IGNvbW1vbkFuY2VzdG9yQ29udGFpbmVyXG4gICAgICAgICAgICAgICAgICAgIDogY29tbW9uQW5jZXN0b3JDb250YWluZXIucGFyZW50Tm9kZTtcblxuICAgICAgICAgICAgICAgIHJldHVybiBlbGVtZW50ICYmIHR1aUlzRWxlbWVudChlbGVtZW50KVxuICAgICAgICAgICAgICAgICAgICA/IGVsZW1lbnQuZ2V0Qm91bmRpbmdDbGllbnRSZWN0KClcbiAgICAgICAgICAgICAgICAgICAgOiBFTVBUWV9DTElFTlRfUkVDVDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGNhc2UgJ3dvcmQnOlxuICAgICAgICAgICAgICAgIHJldHVybiB0dWlHZXRXb3JkUmFuZ2UodGhpcy5yYW5nZSkuZ2V0Qm91bmRpbmdDbGllbnRSZWN0KCk7XG4gICAgICAgICAgICBkZWZhdWx0OlxuICAgICAgICAgICAgICAgIHJldHVybiB0aGlzLnJhbmdlLmdldEJvdW5kaW5nQ2xpZW50UmVjdCgpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgbmdP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ICBjb25zdCBnaG9zdCA9IHRoaXMuZG9jLmNyZWF0ZUVsZW1lbnQoJ2RpdicpO1xuICAgICAgICBjb25zdCB7Zm9udCwgbGV0dGVyU3BhY2luZywgdGV4dFRyYW5zZm9ybSwgcGFkZGluZ30gPSBnZXRDb21wdXRlZFN0eWxlKGVsZW1lbnQpO1xuXG4gICAgICAgIGdob3N0LnN0eWxlLnBvc2l0aW9uID0gJ2Fic29sdXRlJztcbiAgICAgICAgZ2hvc3Quc3R5bGUucG9pbnRlckV2ZW50cyA9ICdub25lJztcbiAgICAgICAgZ2hvc3Quc3R5bGUub3BhY2l0eSA9ICcwJztcbiAgICAgICAgZ2hvc3Quc3R5bGUud2hpdGVTcGFjZSA9ICdwcmUtd3JhcCc7XG4gICAgICAgIGdob3N0LnN0eWxlLmZvbnQgPSBmb250O1xuICAgICAgICBnaG9zdC5zdHlsZS5sZXR0ZXJTcGFjaW5nID0gbGV0dGVyU3BhY2luZztcbiAgICAgICAgZ2hvc3Quc3R5bGUudGV4dFRyYW5zZm9ybSA9IHRleHRUcmFuc2Zvcm07XG4gICAgICAgIGdob3N0LnN0eWxlLnBhZGRpbmcgPSBwYWRkaW5nO1xuXG4gICAgICAgIHRoaXMudmNyLmVsZW1lbnQubmF0aXZlRWxlbWVudC5hcHBlbmRDaGlsZChnaG9zdCk7XG4gICAgICAgIHRoaXMuZ2hvc3QgPSBnaG9zdDtcblxuICAgICAgICByZXR1cm4gZ2hvc3Q7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ElementRef, Inject, Optional, Self, } from '@angular/core';
|
|
2
|
+
import { WINDOW } from '@ng-web-apis/common';
|
|
3
|
+
import { TuiDestroyService, tuiGetClosestFocusable, tuiPx } from '@taiga-ui/cdk';
|
|
4
|
+
import { tuiPositionAccessorFor, TuiRectAccessor, tuiRectAccessorFor, } from '@taiga-ui/core/abstract';
|
|
5
|
+
import { tuiDropdownAnimation } from '@taiga-ui/core/animations';
|
|
6
|
+
import { MODE_PROVIDER } from '@taiga-ui/core/providers';
|
|
7
|
+
import { TuiPositionService, TuiVisualViewportService } from '@taiga-ui/core/services';
|
|
8
|
+
import { TUI_ANIMATION_OPTIONS, TUI_MODE } from '@taiga-ui/core/tokens';
|
|
9
|
+
import { map, takeUntil } from 'rxjs';
|
|
10
|
+
import { TuiDropdownDirective } from './dropdown.directive';
|
|
11
|
+
import { TuiDropdownHoverDirective } from './dropdown-hover.directive';
|
|
12
|
+
import { TUI_DROPDOWN_OPTIONS } from './dropdown-options.directive';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "@tinkoff/ng-polymorpheus";
|
|
15
|
+
import * as i2 from "@taiga-ui/cdk";
|
|
16
|
+
import * as i3 from "@taiga-ui/core/components/scrollbar";
|
|
17
|
+
import * as i4 from "@taiga-ui/core/services";
|
|
18
|
+
import * as i5 from "rxjs";
|
|
19
|
+
import * as i6 from "./dropdown.directive";
|
|
20
|
+
import * as i7 from "@taiga-ui/core/abstract";
|
|
21
|
+
import * as i8 from "./dropdown-hover.directive";
|
|
22
|
+
/**
|
|
23
|
+
* @description:
|
|
24
|
+
* This component is used to show template in a portal
|
|
25
|
+
* using default style of white rounded box with a shadow
|
|
26
|
+
*/
|
|
27
|
+
export class TuiDropdownComponent {
|
|
28
|
+
constructor(visualViewportService, position$, destroy$, directive, animation, el, accessor, win, mode$, options, hoverDirective) {
|
|
29
|
+
this.directive = directive;
|
|
30
|
+
this.animation = animation;
|
|
31
|
+
this.el = el;
|
|
32
|
+
this.accessor = accessor;
|
|
33
|
+
this.win = win;
|
|
34
|
+
this.mode$ = mode$;
|
|
35
|
+
this.options = options;
|
|
36
|
+
this.hoverDirective = hoverDirective;
|
|
37
|
+
position$
|
|
38
|
+
.pipe(map(point => this.directive.position === 'fixed'
|
|
39
|
+
? visualViewportService.correct(point)
|
|
40
|
+
: point), takeUntil(destroy$))
|
|
41
|
+
.subscribe(([top, left]) => {
|
|
42
|
+
this.update(top, left);
|
|
43
|
+
});
|
|
44
|
+
this.updateWidth(this.accessor.getClientRect().width);
|
|
45
|
+
}
|
|
46
|
+
onHoveredChange(hovered) {
|
|
47
|
+
this.hoverDirective?.toggle(hovered);
|
|
48
|
+
}
|
|
49
|
+
onTopFocus() {
|
|
50
|
+
this.moveFocusOutside(true);
|
|
51
|
+
}
|
|
52
|
+
onBottomFocus() {
|
|
53
|
+
this.moveFocusOutside(false);
|
|
54
|
+
}
|
|
55
|
+
update(top, left) {
|
|
56
|
+
const { style } = this.el.nativeElement;
|
|
57
|
+
const { right } = this.el.nativeElement.getBoundingClientRect();
|
|
58
|
+
const { maxHeight, offset } = this.options;
|
|
59
|
+
const { innerHeight } = this.win;
|
|
60
|
+
const clientRect = this.el.nativeElement.offsetParent?.getBoundingClientRect();
|
|
61
|
+
const { position } = this.directive;
|
|
62
|
+
const rect = this.accessor.getClientRect();
|
|
63
|
+
const offsetX = position === 'fixed' ? 0 : -(clientRect?.left || 0);
|
|
64
|
+
const offsetY = position === 'fixed' ? 0 : -(clientRect?.top || 0);
|
|
65
|
+
top += offsetY;
|
|
66
|
+
left += offsetX;
|
|
67
|
+
const isIntersecting = left < rect.right && right > rect.left && top < offsetY + 2 * offset;
|
|
68
|
+
const available = isIntersecting
|
|
69
|
+
? rect.top - 2 * offset
|
|
70
|
+
: offsetY + innerHeight - top - offset;
|
|
71
|
+
style.position = position;
|
|
72
|
+
style.top = tuiPx(Math.max(top, offsetY + offset));
|
|
73
|
+
style.left = tuiPx(left);
|
|
74
|
+
style.maxHeight = tuiPx(Math.min(maxHeight, available));
|
|
75
|
+
style.width = '';
|
|
76
|
+
style.minWidth = '';
|
|
77
|
+
this.updateWidth(rect.width);
|
|
78
|
+
}
|
|
79
|
+
updateWidth(width) {
|
|
80
|
+
const { style } = this.el.nativeElement;
|
|
81
|
+
switch (this.options.limitWidth) {
|
|
82
|
+
case 'min':
|
|
83
|
+
style.minWidth = tuiPx(width);
|
|
84
|
+
break;
|
|
85
|
+
case 'fixed':
|
|
86
|
+
style.width = tuiPx(width);
|
|
87
|
+
break;
|
|
88
|
+
case 'auto':
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
moveFocusOutside(previous) {
|
|
93
|
+
const { nativeElement } = this.directive.el;
|
|
94
|
+
const { ownerDocument } = nativeElement;
|
|
95
|
+
const root = ownerDocument ? ownerDocument.body : nativeElement;
|
|
96
|
+
let focusable = tuiGetClosestFocusable({ initial: nativeElement, root, previous });
|
|
97
|
+
while (focusable !== null && nativeElement.contains(focusable)) {
|
|
98
|
+
focusable = tuiGetClosestFocusable({ initial: focusable, root, previous });
|
|
99
|
+
}
|
|
100
|
+
focusable?.focus();
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
TuiDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownComponent, deps: [{ token: TuiVisualViewportService }, { token: TuiPositionService }, { token: TuiDestroyService, self: true }, { token: TuiDropdownDirective }, { token: TUI_ANIMATION_OPTIONS }, { token: ElementRef }, { token: TuiRectAccessor }, { token: WINDOW }, { token: TUI_MODE }, { token: TUI_DROPDOWN_OPTIONS }, { token: TuiDropdownHoverDirective, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
104
|
+
TuiDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownComponent, selector: "tui-dropdown", host: { listeners: { "$.data-mode.attr": "mode$" }, properties: { "@tuiDropdownAnimation": "animation", "attr.data-appearance": "options.appearance" } }, providers: [
|
|
105
|
+
TuiDestroyService,
|
|
106
|
+
TuiPositionService,
|
|
107
|
+
tuiPositionAccessorFor('dropdown'),
|
|
108
|
+
tuiRectAccessorFor('dropdown', TuiDropdownDirective),
|
|
109
|
+
MODE_PROVIDER,
|
|
110
|
+
], ngImport: i0, template: "<tui-scrollbar\n #activeZone=\"tuiActiveZone\"\n tuiActiveZone\n tuiOverscroll=\"all\"\n class=\"t-scroll\"\n (tuiHoveredChange)=\"onHoveredChange($event)\"\n>\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", styles: [":host{position:absolute;display:flex;box-shadow:var(--tui-shadow-dropdown);background:var(--tui-elevation-02);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-base-04);box-sizing:border-box;max-width:calc(100% - 8px);isolation:isolate;pointer-events:auto}:host.ng-animating{pointer-events:none}:host:not([style*=\"top\"]){visibility:hidden}:host[data-mode=onDark]{--tui-text-01: var(--tui-text-01-night);--tui-clear: var(--tui-clear-inverse);background:#222;border:1px solid #808080}.t-scroll{flex-grow:1;max-width:100%}.t-primitive{padding:1rem}\n"], dependencies: [{ kind: "directive", type: i1.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i2.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { kind: "directive", type: i2.TuiOverscrollDirective, selector: "[tuiOverscroll]", inputs: ["tuiOverscroll"] }, { kind: "component", type: i3.TuiScrollbarComponent, selector: "tui-scrollbar", inputs: ["hidden"] }, { kind: "directive", type: i2.TuiHoveredDirective, selector: "[tuiHoveredChange]", outputs: ["tuiHoveredChange"] }], animations: [tuiDropdownAnimation], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownComponent, decorators: [{
|
|
112
|
+
type: Component,
|
|
113
|
+
args: [{ selector: 'tui-dropdown', changeDetection: ChangeDetectionStrategy.Default, providers: [
|
|
114
|
+
TuiDestroyService,
|
|
115
|
+
TuiPositionService,
|
|
116
|
+
tuiPositionAccessorFor('dropdown'),
|
|
117
|
+
tuiRectAccessorFor('dropdown', TuiDropdownDirective),
|
|
118
|
+
MODE_PROVIDER,
|
|
119
|
+
], host: {
|
|
120
|
+
'[@tuiDropdownAnimation]': 'animation',
|
|
121
|
+
'[attr.data-appearance]': 'options.appearance',
|
|
122
|
+
'($.data-mode.attr)': 'mode$',
|
|
123
|
+
}, animations: [tuiDropdownAnimation], template: "<tui-scrollbar\n #activeZone=\"tuiActiveZone\"\n tuiActiveZone\n tuiOverscroll=\"all\"\n class=\"t-scroll\"\n (tuiHoveredChange)=\"onHoveredChange($event)\"\n>\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", styles: [":host{position:absolute;display:flex;box-shadow:var(--tui-shadow-dropdown);background:var(--tui-elevation-02);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-base-04);box-sizing:border-box;max-width:calc(100% - 8px);isolation:isolate;pointer-events:auto}:host.ng-animating{pointer-events:none}:host:not([style*=\"top\"]){visibility:hidden}:host[data-mode=onDark]{--tui-text-01: var(--tui-text-01-night);--tui-clear: var(--tui-clear-inverse);background:#222;border:1px solid #808080}.t-scroll{flex-grow:1;max-width:100%}.t-primitive{padding:1rem}\n"] }]
|
|
124
|
+
}], ctorParameters: function () { return [{ type: i4.TuiVisualViewportService, decorators: [{
|
|
125
|
+
type: Inject,
|
|
126
|
+
args: [TuiVisualViewportService]
|
|
127
|
+
}] }, { type: i5.Observable, decorators: [{
|
|
128
|
+
type: Inject,
|
|
129
|
+
args: [TuiPositionService]
|
|
130
|
+
}] }, { type: i5.Observable, decorators: [{
|
|
131
|
+
type: Self
|
|
132
|
+
}, {
|
|
133
|
+
type: Inject,
|
|
134
|
+
args: [TuiDestroyService]
|
|
135
|
+
}] }, { type: i6.TuiDropdownDirective, decorators: [{
|
|
136
|
+
type: Inject,
|
|
137
|
+
args: [TuiDropdownDirective]
|
|
138
|
+
}] }, { type: undefined, decorators: [{
|
|
139
|
+
type: Inject,
|
|
140
|
+
args: [TUI_ANIMATION_OPTIONS]
|
|
141
|
+
}] }, { type: i0.ElementRef, decorators: [{
|
|
142
|
+
type: Inject,
|
|
143
|
+
args: [ElementRef]
|
|
144
|
+
}] }, { type: i7.TuiRectAccessor, decorators: [{
|
|
145
|
+
type: Inject,
|
|
146
|
+
args: [TuiRectAccessor]
|
|
147
|
+
}] }, { type: Window, decorators: [{
|
|
148
|
+
type: Inject,
|
|
149
|
+
args: [WINDOW]
|
|
150
|
+
}] }, { type: i5.Observable, decorators: [{
|
|
151
|
+
type: Inject,
|
|
152
|
+
args: [TUI_MODE]
|
|
153
|
+
}] }, { type: undefined, decorators: [{
|
|
154
|
+
type: Inject,
|
|
155
|
+
args: [TUI_DROPDOWN_OPTIONS]
|
|
156
|
+
}] }, { type: i8.TuiDropdownHoverDirective, decorators: [{
|
|
157
|
+
type: Optional
|
|
158
|
+
}, {
|
|
159
|
+
type: Inject,
|
|
160
|
+
args: [TuiDropdownHoverDirective]
|
|
161
|
+
}] }]; } });
|
|
162
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9kaXJlY3RpdmVzL2Ryb3Bkb3duL2Ryb3Bkb3duLmNvbXBvbmVudC50c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gICAgICAgICAgICAgICAgICAgICAgICA/IHZpc3VhbFZpZXdwb3J0U2VydmljZS5jb3JyZWN0KHBvaW50KVxuICAgICAgICAgICAgICAgICAgICAgICAgOiBwb2ludCxcbiAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgIHRha2VVbnRpbChkZXN0cm95JCksXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuc3Vic2NyaWJlKChbdG9wLCBsZWZ0XSkgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMudXBkYXRlKHRvcCwgbGVmdCk7XG4gICAgICAgICAgICB9KTtcblxuICAgICAgICB0aGlzLnVwZGF0ZVdpZHRoKHRoaXMuYWNjZXNzb3IuZ2V0Q2xpZW50UmVjdCgpLndpZHRoKTtcbiAgICB9XG5cbiAgICBvbkhvdmVyZWRDaGFuZ2UoaG92ZXJlZDogYm9vbGVhbik6IHZvaWQge1xuICAgICAgICB0aGlzLmhvdmVyRGlyZWN0aXZlPy50b2dnbGUoaG92ZXJlZCk7XG4gICAgfVxuXG4gICAgb25Ub3BGb2N1cygpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5tb3ZlRm9jdXNPdXRzaWRlKHRydWUpO1xuICAgIH1cblxuICAgIG9uQm90dG9tRm9jdXMoKTogdm9pZCB7XG4gICAgICAgIHRoaXMubW92ZUZvY3VzT3V0c2lkZShmYWxzZSk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSB1cGRhdGUodG9wOiBudW1iZXIsIGxlZnQ6IG51bWJlcik6IHZvaWQge1xuICAgICAgICBjb25zdCB7c3R5bGV9ID0gdGhpcy5lbC5uYXRpdmVFbGVtZW50O1xuICAgICAgICBjb25zdCB7cmlnaHR9ID0gdGhpcy5lbC5uYXRpdmVFbGVtZW50LmdldEJvdW5kaW5nQ2xpZW50UmVjdCgpO1xuICAgICAgICBjb25zdCB7bWF4SGVpZ2h0LCBvZmZzZXR9ID0gdGhpcy5vcHRpb25zO1xuICAgICAgICBjb25zdCB7aW5uZX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lLm1heEhlaWdodCA9IHR1aVB4KE1hdGgubWluKG1heEhlaWdodCwgYXZhaWxhYmxlKSk7XG4gICAgICAgIHN0eWxlLndpZHRoID0gJyc7XG4gICAgICAgIHN0eWxlLm1pbldpZHRoID0gJyc7XG5cbiAgICAgICAgdGhpcy51cGRhdGVXaWR0aChyZWN0LndpZHRoKTtcbiAgICB9XG5cbiAgICBwcml2YXRlIHVwZGF0ZVdpZHRoKHdpZHRoOiBudW1iZXIpOiB2b2lkIHtcbiAgICAgICAgY29uc3Qge3N0eWxlfSA9IHRoaXMuZWwubmF0aXZlRWxlbWVudDtcblxuICAgICAgICBzd2l0Y2ggKHRoaXMub3B0aW9ucy5saW1pdFdpZHRoKSB7XG4gICAgICAgICAgICBjYXNlICdtaW4nOlxuICAgICAgICAgICAgICAgIHN0eWxlLm1pbldpZHRoID0gdHVpUHgod2lkdGgpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnZml4ZWQnOlxuICAgICAgICAgICAgICAgIHN0eWxlLndpZHRoID0gdHVpUHgod2lkdGgpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnYXV0byc6XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBwcml2YXRlIG1vdmVGb2N1c091dHNpZGUocHJldmlvdXM6IGJvb2xlYW4pOiB2b2lkIHtcbiAgICAgICAgY29uc3Qge25hdGl2ZUVsZW1lbnR9ID0gdGhpcy5kaXJlY3RpdmUuZWw7XG4gICAgICAgIGNvbnN0IHtvd25lckRvY3VtZW50fSA9IG5hdGl2ZUVsZW1lbnQ7XG4gICAgICAgIGNvbnN0IHJvb3QgPSBvd25lckRvY3VtZW50ID8gb3duZXJEb2N1bWVudC5ib2R5IDogbmF0aXZlRWxlbWVudDtcbiAgICAgICAgbGV0IGZvY3VzYWJsZSA9IHR1aUdldENsb3Nlc3RGb2N1c2FibGUoe2lua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
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Directive, ElementRef, Inject, INJECTOR, Input, Optional, Self, } from '@angular/core';
|
|
3
|
+
import { TuiDestroyService, TuiDropdownPortalService, tuiPure, } from '@taiga-ui/cdk';
|
|
4
|
+
import { tuiAsRectAccessor, tuiAsVehicle, } from '@taiga-ui/core/abstract';
|
|
5
|
+
import { tuiCheckFixedPosition } from '@taiga-ui/core/utils';
|
|
6
|
+
import { PolymorpheusComponent } from '@tinkoff/ng-polymorpheus';
|
|
7
|
+
import { Subject, takeUntil, throttleTime } from 'rxjs';
|
|
8
|
+
import { TUI_DROPDOWN_COMPONENT } from './dropdown.providers';
|
|
9
|
+
import { TuiDropdownOpenDirective } from './dropdown-open.directive';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "rxjs";
|
|
12
|
+
import * as i2 from "@taiga-ui/cdk";
|
|
13
|
+
import * as i3 from "./dropdown-open.directive";
|
|
14
|
+
export class TuiDropdownDirective {
|
|
15
|
+
constructor(destroy$, el, dropdown, injector, dropdownService, open) {
|
|
16
|
+
this.el = el;
|
|
17
|
+
this.dropdown = dropdown;
|
|
18
|
+
this.injector = injector;
|
|
19
|
+
this.dropdownService = dropdownService;
|
|
20
|
+
this.open = open;
|
|
21
|
+
this.refresh$ = new Subject();
|
|
22
|
+
this.dropdownBoxRef = null;
|
|
23
|
+
this.type = 'dropdown';
|
|
24
|
+
this.component = new PolymorpheusComponent(this.dropdown, this.injector);
|
|
25
|
+
if (this.open && !this.open.dropdown) {
|
|
26
|
+
this.open.dropdown = this;
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
this.open = null;
|
|
30
|
+
}
|
|
31
|
+
// Ignore multiple change detection triggers at the same frame
|
|
32
|
+
this.refresh$.pipe(throttleTime(0), takeUntil(destroy$)).subscribe(() => {
|
|
33
|
+
this.dropdownBoxRef?.changeDetectorRef.detectChanges();
|
|
34
|
+
this.dropdownBoxRef?.changeDetectorRef.markForCheck();
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
get position() {
|
|
38
|
+
return tuiCheckFixedPosition(this.el.nativeElement) ? 'fixed' : 'absolute';
|
|
39
|
+
}
|
|
40
|
+
ngAfterViewChecked() {
|
|
41
|
+
this.refresh$.next();
|
|
42
|
+
}
|
|
43
|
+
ngAfterViewInit() {
|
|
44
|
+
if (this.open) {
|
|
45
|
+
this.toggle(this.open.tuiDropdownOpen);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
ngOnChanges() {
|
|
49
|
+
if (!this.content) {
|
|
50
|
+
this.toggle(false);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
ngOnDestroy() {
|
|
54
|
+
this.toggle(false);
|
|
55
|
+
if (this.open) {
|
|
56
|
+
this.open.dropdown = undefined;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
getClientRect() {
|
|
60
|
+
return this.el.nativeElement.getBoundingClientRect();
|
|
61
|
+
}
|
|
62
|
+
toggle(show) {
|
|
63
|
+
if (show && this.content && !this.dropdownBoxRef) {
|
|
64
|
+
this.dropdownBoxRef = this.dropdownService.add(this.component);
|
|
65
|
+
this.open?.update(true);
|
|
66
|
+
}
|
|
67
|
+
else if (!show && this.dropdownBoxRef) {
|
|
68
|
+
this.dropdownService.remove(this.dropdownBoxRef);
|
|
69
|
+
this.dropdownBoxRef = null;
|
|
70
|
+
this.open?.update(false);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
TuiDropdownDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownDirective, deps: [{ token: TuiDestroyService, self: true }, { token: ElementRef }, { token: TUI_DROPDOWN_COMPONENT }, { token: INJECTOR }, { token: TuiDropdownPortalService }, { token: TuiDropdownOpenDirective, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
75
|
+
TuiDropdownDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container)", inputs: { content: ["tuiDropdown", "content"] }, providers: [
|
|
76
|
+
TuiDestroyService,
|
|
77
|
+
tuiAsRectAccessor(TuiDropdownDirective),
|
|
78
|
+
tuiAsVehicle(TuiDropdownDirective),
|
|
79
|
+
], exportAs: ["tuiDropdown"], usesOnChanges: true, ngImport: i0 });
|
|
80
|
+
__decorate([
|
|
81
|
+
tuiPure
|
|
82
|
+
], TuiDropdownDirective.prototype, "position", null);
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownDirective, decorators: [{
|
|
84
|
+
type: Directive,
|
|
85
|
+
args: [{
|
|
86
|
+
selector: '[tuiDropdown]:not(ng-container)',
|
|
87
|
+
providers: [
|
|
88
|
+
TuiDestroyService,
|
|
89
|
+
tuiAsRectAccessor(TuiDropdownDirective),
|
|
90
|
+
tuiAsVehicle(TuiDropdownDirective),
|
|
91
|
+
],
|
|
92
|
+
exportAs: 'tuiDropdown',
|
|
93
|
+
}]
|
|
94
|
+
}], ctorParameters: function () { return [{ type: i1.Observable, decorators: [{
|
|
95
|
+
type: Self
|
|
96
|
+
}, {
|
|
97
|
+
type: Inject,
|
|
98
|
+
args: [TuiDestroyService]
|
|
99
|
+
}] }, { type: i0.ElementRef, decorators: [{
|
|
100
|
+
type: Inject,
|
|
101
|
+
args: [ElementRef]
|
|
102
|
+
}] }, { type: i0.Type, decorators: [{
|
|
103
|
+
type: Inject,
|
|
104
|
+
args: [TUI_DROPDOWN_COMPONENT]
|
|
105
|
+
}] }, { type: i0.Injector, decorators: [{
|
|
106
|
+
type: Inject,
|
|
107
|
+
args: [INJECTOR]
|
|
108
|
+
}] }, { type: i2.TuiDropdownPortalService, decorators: [{
|
|
109
|
+
type: Inject,
|
|
110
|
+
args: [TuiDropdownPortalService]
|
|
111
|
+
}] }, { type: i3.TuiDropdownOpenDirective, decorators: [{
|
|
112
|
+
type: Optional
|
|
113
|
+
}, {
|
|
114
|
+
type: Inject,
|
|
115
|
+
args: [TuiDropdownOpenDirective]
|
|
116
|
+
}] }]; }, propDecorators: { content: [{
|
|
117
|
+
type: Input,
|
|
118
|
+
args: ['tuiDropdown']
|
|
119
|
+
}], position: [] } });
|
|
120
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24uZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9kaXJlY3RpdmVzL2Ryb3Bkb3duL2Ryb3Bkb3duLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUlILFNBQVMsRUFDVCxVQUFVLEVBQ1YsTUFBTSxFQUNOLFFBQVEsRUFFUixLQUFLLEVBR0wsUUFBUSxFQUNSLElBQUksR0FFUCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBR0gsaUJBQWlCLEVBQ2pCLHdCQUF3QixFQUN4QixPQUFPLEdBQ1YsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUNILGlCQUFpQixFQUNqQixZQUFZLEdBR2YsTUFBTSx5QkFBeUIsQ0FBQztBQUVqQyxPQUFPLEVBQUMscUJBQXFCLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUMzRCxPQUFPLEVBQUMscUJBQXFCLEVBQXNCLE1BQU0sMEJBQTBCLENBQUM7QUFDcEYsT0FBTyxFQUFhLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBRWxFLE9BQU8sRUFBQyxzQkFBc0IsRUFBQyxNQUFNLHNCQUFzQixDQUFDO0FBQzVELE9BQU8sRUFBQyx3QkFBd0IsRUFBQyxNQUFNLDJCQUEyQixD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ZvaWQge1xuICAgICAgICBpZiAoIXRoaXMuY29udGVudCkge1xuICAgICAgICAgICAgdGhpcy50b2dnbGUoZmFsc2UpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgICAgIHRoaXMudG9nZ2xlKGZhbHNlKTtcblxuICAgICAgICBpZiAodGhpcy5vcGVuKSB7XG4gICAgICAgICAgICB0aGlzLm9wZW4uZHJvcGRvd24gPSB1bmRlZmluZWQ7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBnZXRDbGllbnRSZWN0KCk6IENsaWVudFJlY3Qge1xuICAgICAgICByZXR1cm4gdGhpcy5lbC5uYXRpdmVFbGVtZW50LmdldEJvdW5kaW5nQ2xpZW50UmVjdCgpO1xuICAgIH1cblxuICAgIHRvZ2dsZShzaG93OiBib29sZWFuKTogdm9pZCB7XG4gICAgICAgIGlmIChzaG93ICYmIHRoaXMuY29udGVudCAmJiAhdGhpcy5kcm9wZG93bkJveFJlZikge1xuICAgICAgICAgICAgdGhpcy5kcm9wZG93bkJveFJlZiA9IHRoaXMuZHJvcGRvd25TZXJ2aWNlLmFkZCh0aGlzLmNvbXBvbmVudCk7XG4gICAgICAgICAgICB0aGlzLm9wZW4/LnVwZGF0ZSh0cnVlKTtcbiAgICAgICAgfSBlbHNlIGlmICghc2hvdyAmJiB0aGlzLmRyb3Bkb3duQm94UmVmKSB7XG4gICAgICAgICAgICB0aGlzLmRyb3Bkb3duU2VydmljZS5yZW1vdmUodGhpcy5kcm9wZG93bkJveFJlZik7XG4gICAgICAgICAgICB0aGlzLmRyb3Bkb3duQm94UmVmID0gbnVsbDtcbiAgICAgICAgICAgIHRoaXMub3Blbj8udXBkYXRlKGZhbHNlKTtcbiAgICAgICAgfVxuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { TuiActiveZoneModule, TuiHoveredModule, TuiOverscrollModule } from '@taiga-ui/cdk';
|
|
3
|
+
import { TuiScrollbarModule } from '@taiga-ui/core/components/scrollbar';
|
|
4
|
+
import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
|
|
5
|
+
import { TuiDropdownComponent } from './dropdown.component';
|
|
6
|
+
import { TuiDropdownDirective } from './dropdown.directive';
|
|
7
|
+
import { TuiDropdownContextDirective } from './dropdown-context.directive';
|
|
8
|
+
import { TuiDropdownDriverDirective } from './dropdown-driver.directive';
|
|
9
|
+
import { TuiDropdownHostDirective } from './dropdown-host.directive';
|
|
10
|
+
import { TuiDropdownHoverDirective } from './dropdown-hover.directive';
|
|
11
|
+
import { TuiDropdownManualDirective } from './dropdown-manual.directive';
|
|
12
|
+
import { TuiDropdownOpenDirective } from './dropdown-open.directive';
|
|
13
|
+
import { TuiDropdownOptionsDirective } from './dropdown-options.directive';
|
|
14
|
+
import { TuiDropdownPositionDirective } from './dropdown-position.directive';
|
|
15
|
+
import { TuiDropdownPositionSidedDirective } from './dropdown-position-sided.directive';
|
|
16
|
+
import { TuiDropdownSelectionDirective } from './dropdown-selection.directive';
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
18
|
+
export class TuiDropdownModule {
|
|
19
|
+
}
|
|
20
|
+
TuiDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
21
|
+
TuiDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownModule, declarations: [TuiDropdownDirective,
|
|
22
|
+
TuiDropdownComponent,
|
|
23
|
+
TuiDropdownOpenDirective,
|
|
24
|
+
TuiDropdownOptionsDirective,
|
|
25
|
+
TuiDropdownHostDirective,
|
|
26
|
+
TuiDropdownDriverDirective,
|
|
27
|
+
TuiDropdownManualDirective,
|
|
28
|
+
TuiDropdownHoverDirective,
|
|
29
|
+
TuiDropdownContextDirective,
|
|
30
|
+
TuiDropdownPositionDirective,
|
|
31
|
+
TuiDropdownPositionSidedDirective,
|
|
32
|
+
TuiDropdownSelectionDirective], imports: [PolymorpheusModule,
|
|
33
|
+
TuiActiveZoneModule,
|
|
34
|
+
TuiOverscrollModule,
|
|
35
|
+
TuiScrollbarModule,
|
|
36
|
+
TuiHoveredModule], exports: [TuiDropdownDirective,
|
|
37
|
+
TuiDropdownComponent,
|
|
38
|
+
TuiDropdownOpenDirective,
|
|
39
|
+
TuiDropdownOptionsDirective,
|
|
40
|
+
TuiDropdownHostDirective,
|
|
41
|
+
TuiDropdownDriverDirective,
|
|
42
|
+
TuiDropdownManualDirective,
|
|
43
|
+
TuiDropdownHoverDirective,
|
|
44
|
+
TuiDropdownContextDirective,
|
|
45
|
+
TuiDropdownPositionDirective,
|
|
46
|
+
TuiDropdownPositionSidedDirective,
|
|
47
|
+
TuiDropdownSelectionDirective] });
|
|
48
|
+
TuiDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownModule, imports: [PolymorpheusModule,
|
|
49
|
+
TuiActiveZoneModule,
|
|
50
|
+
TuiOverscrollModule,
|
|
51
|
+
TuiScrollbarModule,
|
|
52
|
+
TuiHoveredModule] });
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownModule, decorators: [{
|
|
54
|
+
type: NgModule,
|
|
55
|
+
args: [{
|
|
56
|
+
imports: [
|
|
57
|
+
PolymorpheusModule,
|
|
58
|
+
TuiActiveZoneModule,
|
|
59
|
+
TuiOverscrollModule,
|
|
60
|
+
TuiScrollbarModule,
|
|
61
|
+
TuiHoveredModule,
|
|
62
|
+
],
|
|
63
|
+
declarations: [
|
|
64
|
+
TuiDropdownDirective,
|
|
65
|
+
TuiDropdownComponent,
|
|
66
|
+
TuiDropdownOpenDirective,
|
|
67
|
+
TuiDropdownOptionsDirective,
|
|
68
|
+
TuiDropdownHostDirective,
|
|
69
|
+
TuiDropdownDriverDirective,
|
|
70
|
+
TuiDropdownManualDirective,
|
|
71
|
+
TuiDropdownHoverDirective,
|
|
72
|
+
TuiDropdownContextDirective,
|
|
73
|
+
TuiDropdownPositionDirective,
|
|
74
|
+
TuiDropdownPositionSidedDirective,
|
|
75
|
+
TuiDropdownSelectionDirective,
|
|
76
|
+
],
|
|
77
|
+
exports: [
|
|
78
|
+
TuiDropdownDirective,
|
|
79
|
+
TuiDropdownComponent,
|
|
80
|
+
TuiDropdownOpenDirective,
|
|
81
|
+
TuiDropdownOptionsDirective,
|
|
82
|
+
TuiDropdownHostDirective,
|
|
83
|
+
TuiDropdownDriverDirective,
|
|
84
|
+
TuiDropdownManualDirective,
|
|
85
|
+
TuiDropdownHoverDirective,
|
|
86
|
+
TuiDropdownContextDirective,
|
|
87
|
+
TuiDropdownPositionDirective,
|
|
88
|
+
TuiDropdownPositionSidedDirective,
|
|
89
|
+
TuiDropdownSelectionDirective,
|
|
90
|
+
],
|
|
91
|
+
}]
|
|
92
|
+
}] });
|
|
93
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9kaXJlY3RpdmVzL2Ryb3Bkb3duL2Ryb3Bkb3duLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxtQkFBbUIsRUFBRSxnQkFBZ0IsRUFBRSxtQkFBbUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN6RixPQUFPLEVBQUMsa0JBQWtCLEVBQUMsTUFBTSxxQ0FBcUMsQ0FB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