@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,68 @@
|
|
|
1
|
+
import { inject, InjectionToken, Optional, SkipSelf, } from '@angular/core';
|
|
2
|
+
import { tuiCreateTokenFromFactory, tuiIsString, tuiSvgLinearGradientProcessor, } from '@taiga-ui/cdk';
|
|
3
|
+
import { TUI_DEFAULT_ICONS_PLACE, TUI_ICONS_PATH, TUI_ICONS_PLACE, TUI_SVG_CONTENT_PROCESSOR, TUI_SVG_SRC_PROCESSOR, } from '@taiga-ui/core/tokens';
|
|
4
|
+
import { tuiIconsPathFactory } from '@taiga-ui/core/utils';
|
|
5
|
+
import { identity } from 'rxjs';
|
|
6
|
+
import { TUI_DEPRECATED_ICONS } from './deprecated-icons';
|
|
7
|
+
export const TUI_SVG_DEFAULT_OPTIONS = {
|
|
8
|
+
iconsPlace: TUI_DEFAULT_ICONS_PLACE,
|
|
9
|
+
path: tuiIconsPathFactory(TUI_DEFAULT_ICONS_PLACE),
|
|
10
|
+
srcProcessor: identity,
|
|
11
|
+
contentProcessor: tuiSvgLinearGradientProcessor,
|
|
12
|
+
deprecated: src => {
|
|
13
|
+
const oldIcon = src.replace(`Large`, ``).replace(`Outline`, ``);
|
|
14
|
+
const newIcon = TUI_DEPRECATED_ICONS[oldIcon];
|
|
15
|
+
return newIcon
|
|
16
|
+
? `${oldIcon}/(Large|Outline) is deprecated, use ${newIcon}/(Large|Outline) instead`
|
|
17
|
+
: ``;
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* SVG component options
|
|
22
|
+
*/
|
|
23
|
+
export const TUI_SVG_OPTIONS = tuiCreateTokenFromFactory(() => ({
|
|
24
|
+
iconsPlace: inject(TUI_ICONS_PLACE),
|
|
25
|
+
path: inject(TUI_ICONS_PATH),
|
|
26
|
+
deprecated: TUI_SVG_DEFAULT_OPTIONS.deprecated,
|
|
27
|
+
srcProcessor: inject(TUI_SVG_SRC_PROCESSOR),
|
|
28
|
+
contentProcessor: inject(TUI_SVG_CONTENT_PROCESSOR),
|
|
29
|
+
}));
|
|
30
|
+
export const TUI_SVG_SRC_INTERCEPTORS = new InjectionToken(`[TUI_SVG_SRC_INTERCEPTORS]`);
|
|
31
|
+
export function tuiSvgSrcInterceptors(interceptor) {
|
|
32
|
+
return {
|
|
33
|
+
provide: TUI_SVG_SRC_INTERCEPTORS,
|
|
34
|
+
useValue: interceptor,
|
|
35
|
+
multi: true,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export const tuiSvgOptionsProvider = options => ({
|
|
39
|
+
provide: TUI_SVG_OPTIONS,
|
|
40
|
+
deps: [
|
|
41
|
+
[new SkipSelf(), new Optional(), TUI_SVG_OPTIONS],
|
|
42
|
+
[new Optional(), TUI_ICONS_PLACE],
|
|
43
|
+
[new Optional(), TUI_ICONS_PATH],
|
|
44
|
+
[new Optional(), TUI_SVG_SRC_PROCESSOR],
|
|
45
|
+
[new Optional(), TUI_SVG_CONTENT_PROCESSOR],
|
|
46
|
+
],
|
|
47
|
+
useFactory: (fallback, iconsPlace, path, srcProcessor, contentProcessor) => ({
|
|
48
|
+
iconsPlace: options.iconsPlace ??
|
|
49
|
+
fallback?.iconsPlace ??
|
|
50
|
+
iconsPlace ??
|
|
51
|
+
TUI_SVG_DEFAULT_OPTIONS.iconsPlace,
|
|
52
|
+
path: tuiIsString(options.path)
|
|
53
|
+
? tuiIconsPathFactory(options.path)
|
|
54
|
+
: options.path ?? fallback?.path ?? path ?? TUI_SVG_DEFAULT_OPTIONS.path,
|
|
55
|
+
deprecated: options.deprecated ??
|
|
56
|
+
fallback?.deprecated ??
|
|
57
|
+
TUI_SVG_DEFAULT_OPTIONS.deprecated,
|
|
58
|
+
srcProcessor: options.srcProcessor ??
|
|
59
|
+
fallback?.srcProcessor ??
|
|
60
|
+
srcProcessor ??
|
|
61
|
+
TUI_SVG_DEFAULT_OPTIONS.srcProcessor,
|
|
62
|
+
contentProcessor: options.contentProcessor ??
|
|
63
|
+
fallback?.contentProcessor ??
|
|
64
|
+
contentProcessor ??
|
|
65
|
+
TUI_SVG_DEFAULT_OPTIONS.contentProcessor,
|
|
66
|
+
}),
|
|
67
|
+
});
|
|
68
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ZnLW9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvc3ZnL3N2Zy1vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFSCxNQUFNLEVBQ04sY0FBYyxFQUNkLFFBQVEsRUFFUixRQUFRLEdBQ1gsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUNILHlCQUF5QixFQUV6QixXQUFXL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ICAgID8gdHVpSWNvbnNQYXRoRmFjdG9yeShvcHRpb25zLnBhdGgpXG4gICAgICAgICAgICA6IG9wdGlvbnMucGF0aCA/PyBmYWxsYmFjaz8ucGF0aCA/PyBwYXRoID8/IFRVSV9TVkdfREVGQVVMVF9PUFRJT05TLnBhdGgsXG4gICAgICAgIGRlcHJlY2F0ZWQ6XG4gICAgICAgICAgICBvcHRpb25zLmRlcHJlY2F0ZWQgPz9cbiAgICAgICAgICAgIGZhbGxiYWNrPy5kZXByZWNhdGVkID8/XG4gICAgICAgICAgICBUVUlfU1ZHX0RFRkFVTFRfT1BUSU9OUy5kZXByZWNhdGVkLFxuICAgICAgICBzcmNQcm9jZXNzb3I6XG4gICAgICAgICAgICBvcHRpb25zLnNyY1Byb2Nlc3NvciA/P1xuICAgICAgICAgICAgZmFsbGJhY2s/LnNyY1Byb2Nlc3NvciA/P1xuICAgICAgICAgICAgc3JjUHJvY2Vzc29yID8/XG4gICAgICAgICAgICBUVUlfU1ZHX0RFRkFVTFRfT1BUSU9OUy5zcmNQcm9jZXNzb3IsXG4gICAgICAgIGNvbnRlbnRQcm9jZXNzb3I6XG4gICAgICAgICAgICBvcHRpb25zLmNvbnRlbnRQcm9jZXNzb3IgPz9cbiAgICAgICAgICAgIGZhbGxiYWNrPy5jb250ZW50UHJvY2Vzc29yID8/XG4gICAgICAgICAgICBjb250ZW50UHJvY2Vzc29yID8/XG4gICAgICAgICAgICBUVUlfU1ZHX0RFRkFVTFRfT1BUSU9OUy5jb250ZW50UHJvY2Vzc29yLFxuICAgIH0pLFxufSk7XG4iXX0=
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { DOCUMENT } from '@angular/common';
|
|
3
|
+
import { ChangeDetectionStrategy, Component, ElementRef, Inject, Input, Optional, SecurityContext, } from '@angular/core';
|
|
4
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
5
|
+
import { WINDOW } from '@ng-web-apis/common';
|
|
6
|
+
import { TUI_BASE_HREF, tuiAssert, tuiGetDocumentOrShadowRoot, tuiIsString, tuiPure, TuiStaticRequestService, } from '@taiga-ui/cdk';
|
|
7
|
+
import { TUI_CACHE_BUSTING_PAYLOAD, TUI_ICON_ERROR } from '@taiga-ui/core/constants';
|
|
8
|
+
import { TuiSvgService } from '@taiga-ui/core/services';
|
|
9
|
+
import { TUI_SANITIZER } from '@taiga-ui/core/tokens';
|
|
10
|
+
import { tuiIsPresumedHTMLString } from '@taiga-ui/core/utils/miscellaneous';
|
|
11
|
+
import { catchError, map, of, ReplaySubject, startWith, switchMap } from 'rxjs';
|
|
12
|
+
import { TUI_SVG_OPTIONS, TUI_SVG_SRC_INTERCEPTORS, } from './svg-options';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "@angular/common";
|
|
15
|
+
import * as i2 from "@taiga-ui/cdk";
|
|
16
|
+
import * as i3 from "@taiga-ui/core/services";
|
|
17
|
+
import * as i4 from "@angular/platform-browser";
|
|
18
|
+
const UNDEFINED_NAMED_ICON = 'Attempted to use undefined named icon';
|
|
19
|
+
const MISSING_EXTERNAL_ICON = 'External icon is missing on the given URL';
|
|
20
|
+
const FAILED_EXTERNAL_ICON = 'Failed to load external SVG';
|
|
21
|
+
// TODO: Consider moving to CDK along with SvgService and SvgDefsHostComponent
|
|
22
|
+
export class TuiSvgComponent {
|
|
23
|
+
constructor(doc, win, options, srcInterceptors, tuiSanitizer, svgService, staticRequestService, sanitizer, el, baseHref) {
|
|
24
|
+
this.doc = doc;
|
|
25
|
+
this.win = win;
|
|
26
|
+
this.options = options;
|
|
27
|
+
this.srcInterceptors = srcInterceptors;
|
|
28
|
+
this.tuiSanitizer = tuiSanitizer;
|
|
29
|
+
this.svgService = svgService;
|
|
30
|
+
this.staticRequestService = staticRequestService;
|
|
31
|
+
this.sanitizer = sanitizer;
|
|
32
|
+
this.el = el;
|
|
33
|
+
this.baseHref = baseHref;
|
|
34
|
+
this.src$ = new ReplaySubject(1);
|
|
35
|
+
this.icon = '';
|
|
36
|
+
this.innerHTML$ = this.src$.pipe(switchMap(() => {
|
|
37
|
+
if (tuiIsString(this.icon)) {
|
|
38
|
+
return this.isExternal
|
|
39
|
+
? this.getExternalIcon(this.icon)
|
|
40
|
+
: of(this.getSafeHtml(this.icon));
|
|
41
|
+
}
|
|
42
|
+
return of(this.icon);
|
|
43
|
+
}), startWith(''));
|
|
44
|
+
}
|
|
45
|
+
set src(src) {
|
|
46
|
+
const deprecated = this.options.deprecated(String(src));
|
|
47
|
+
ngDevMode && tuiAssert.assert(!deprecated, deprecated);
|
|
48
|
+
this.icon = (this.srcInterceptors ?? []).reduce((newSrc, interceptor) => interceptor(newSrc, this.options), this.options.srcProcessor(src || ''));
|
|
49
|
+
this.src$.next();
|
|
50
|
+
}
|
|
51
|
+
get src() {
|
|
52
|
+
return this.icon;
|
|
53
|
+
}
|
|
54
|
+
get use() {
|
|
55
|
+
if (tuiIsString(this.icon)) {
|
|
56
|
+
return this.icon.includes('.svg#')
|
|
57
|
+
? this.icon
|
|
58
|
+
: this.resolveName(this.icon, this.options.path);
|
|
59
|
+
}
|
|
60
|
+
return '';
|
|
61
|
+
}
|
|
62
|
+
get isInnerHTML() {
|
|
63
|
+
return (!tuiIsString(this.icon) ||
|
|
64
|
+
this.isSrc ||
|
|
65
|
+
this.isExternal ||
|
|
66
|
+
(this.isName && this.isShadowDOM));
|
|
67
|
+
}
|
|
68
|
+
get isShadowDOM() {
|
|
69
|
+
return tuiGetDocumentOrShadowRoot(this.el.nativeElement) !== this.doc;
|
|
70
|
+
}
|
|
71
|
+
get isUse() {
|
|
72
|
+
return this.use.replace(TUI_CACHE_BUSTING_PAYLOAD, '').includes('.svg#');
|
|
73
|
+
}
|
|
74
|
+
get isExternal() {
|
|
75
|
+
return this.isUrl || this.isCrossDomain;
|
|
76
|
+
}
|
|
77
|
+
get isUrl() {
|
|
78
|
+
return (tuiIsString(this.icon) &&
|
|
79
|
+
this.icon.replace(TUI_CACHE_BUSTING_PAYLOAD, '').endsWith('.svg'));
|
|
80
|
+
}
|
|
81
|
+
get isSrc() {
|
|
82
|
+
return tuiIsString(this.icon) && tuiIsPresumedHTMLString(this.icon);
|
|
83
|
+
}
|
|
84
|
+
get isName() {
|
|
85
|
+
return !this.isUrl && !this.isUse && !this.isSrc;
|
|
86
|
+
}
|
|
87
|
+
get isCrossDomain() {
|
|
88
|
+
const { use, isUse, win } = this;
|
|
89
|
+
return (isUse && use.startsWith('http') && !!win.origin && !use.startsWith(win.origin));
|
|
90
|
+
}
|
|
91
|
+
onError(message = MISSING_EXTERNAL_ICON) {
|
|
92
|
+
const { icon } = this;
|
|
93
|
+
const event = new CustomEvent(TUI_ICON_ERROR, {
|
|
94
|
+
bubbles: true,
|
|
95
|
+
detail: {
|
|
96
|
+
message,
|
|
97
|
+
icon: icon,
|
|
98
|
+
},
|
|
99
|
+
});
|
|
100
|
+
ngDevMode && tuiAssert.assert(false, message, icon);
|
|
101
|
+
this.el.nativeElement.dispatchEvent(event);
|
|
102
|
+
}
|
|
103
|
+
resolveName(name, iconsPath) {
|
|
104
|
+
return iconsPath(name, this.baseHref);
|
|
105
|
+
}
|
|
106
|
+
getSafeHtml(src) {
|
|
107
|
+
return this.isSrc ? this.sanitize(src) : this.process(src);
|
|
108
|
+
}
|
|
109
|
+
process(src) {
|
|
110
|
+
const icon = this.svgService.getOriginal(src);
|
|
111
|
+
if (this.isName && !icon && !!src) {
|
|
112
|
+
this.onError(UNDEFINED_NAMED_ICON);
|
|
113
|
+
}
|
|
114
|
+
// Empty line for innerHTML when icon is shown through USE tag
|
|
115
|
+
return !this.isShadowDOM || !this.isName ? '' : this.sanitize(icon || '');
|
|
116
|
+
}
|
|
117
|
+
sanitize(src) {
|
|
118
|
+
src = this.options.contentProcessor(src);
|
|
119
|
+
return this.tuiSanitizer && tuiIsString(src)
|
|
120
|
+
? this.sanitizer.bypassSecurityTrustHtml(this.tuiSanitizer.sanitize(SecurityContext.HTML, src) || '')
|
|
121
|
+
: src;
|
|
122
|
+
}
|
|
123
|
+
getExternalIcon(src) {
|
|
124
|
+
const url = src.includes('.svg') ? src : this.use;
|
|
125
|
+
return this.staticRequestService.request(url).pipe(catchError(() => {
|
|
126
|
+
this.onError(FAILED_EXTERNAL_ICON);
|
|
127
|
+
return of('');
|
|
128
|
+
}), map(response => this.sanitize(response.replace('<svg', '<svg focusable="false"'))));
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
TuiSvgComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSvgComponent, deps: [{ token: DOCUMENT }, { token: WINDOW }, { token: TUI_SVG_OPTIONS }, { token: TUI_SVG_SRC_INTERCEPTORS, optional: true }, { token: TUI_SANITIZER, optional: true }, { token: TuiSvgService }, { token: TuiStaticRequestService }, { token: DomSanitizer }, { token: ElementRef }, { token: TUI_BASE_HREF }], target: i0.ɵɵFactoryTarget.Component });
|
|
132
|
+
TuiSvgComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiSvgComponent, selector: "tui-svg", inputs: { src: "src" }, ngImport: i0, template: "<ng-container *tuiLet=\"innerHTML$ | async as innerHTML\">\n <div\n *ngIf=\"isInnerHTML; else useTemplate\"\n class=\"t-src\"\n [innerHTML]=\"innerHTML\"\n ></div>\n <ng-template #useTemplate>\n <svg\n focusable=\"false\"\n height=\"100%\"\n version=\"1.1\"\n width=\"100%\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-svg\"\n (error)=\"onError()\"\n >\n <use [attr.xlink:href]=\"use\"></use>\n </svg>\n </ng-template>\n</ng-container>\n", styles: [":host{display:inline-flex;vertical-align:middle;flex-shrink:0;align-items:center;justify-content:center;line-height:0;height:1.5rem;width:1.5rem;fill:transparent;stroke:transparent;font-size:1rem}.t-src{display:flex;width:100%;height:100%;align-items:center;justify-content:center}.t-svg{overflow:visible}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
133
|
+
__decorate([
|
|
134
|
+
tuiPure
|
|
135
|
+
], TuiSvgComponent.prototype, "resolveName", null);
|
|
136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSvgComponent, decorators: [{
|
|
137
|
+
type: Component,
|
|
138
|
+
args: [{ selector: 'tui-svg', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *tuiLet=\"innerHTML$ | async as innerHTML\">\n <div\n *ngIf=\"isInnerHTML; else useTemplate\"\n class=\"t-src\"\n [innerHTML]=\"innerHTML\"\n ></div>\n <ng-template #useTemplate>\n <svg\n focusable=\"false\"\n height=\"100%\"\n version=\"1.1\"\n width=\"100%\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-svg\"\n (error)=\"onError()\"\n >\n <use [attr.xlink:href]=\"use\"></use>\n </svg>\n </ng-template>\n</ng-container>\n", styles: [":host{display:inline-flex;vertical-align:middle;flex-shrink:0;align-items:center;justify-content:center;line-height:0;height:1.5rem;width:1.5rem;fill:transparent;stroke:transparent;font-size:1rem}.t-src{display:flex;width:100%;height:100%;align-items:center;justify-content:center}.t-svg{overflow:visible}\n"] }]
|
|
139
|
+
}], ctorParameters: function () { return [{ type: Document, decorators: [{
|
|
140
|
+
type: Inject,
|
|
141
|
+
args: [DOCUMENT]
|
|
142
|
+
}] }, { type: Window, decorators: [{
|
|
143
|
+
type: Inject,
|
|
144
|
+
args: [WINDOW]
|
|
145
|
+
}] }, { type: undefined, decorators: [{
|
|
146
|
+
type: Inject,
|
|
147
|
+
args: [TUI_SVG_OPTIONS]
|
|
148
|
+
}] }, { type: undefined, decorators: [{
|
|
149
|
+
type: Optional
|
|
150
|
+
}, {
|
|
151
|
+
type: Inject,
|
|
152
|
+
args: [TUI_SVG_SRC_INTERCEPTORS]
|
|
153
|
+
}] }, { type: i0.Sanitizer, decorators: [{
|
|
154
|
+
type: Optional
|
|
155
|
+
}, {
|
|
156
|
+
type: Inject,
|
|
157
|
+
args: [TUI_SANITIZER]
|
|
158
|
+
}] }, { type: i3.TuiSvgService, decorators: [{
|
|
159
|
+
type: Inject,
|
|
160
|
+
args: [TuiSvgService]
|
|
161
|
+
}] }, { type: i2.TuiStaticRequestService, decorators: [{
|
|
162
|
+
type: Inject,
|
|
163
|
+
args: [TuiStaticRequestService]
|
|
164
|
+
}] }, { type: i4.DomSanitizer, decorators: [{
|
|
165
|
+
type: Inject,
|
|
166
|
+
args: [DomSanitizer]
|
|
167
|
+
}] }, { type: i0.ElementRef, decorators: [{
|
|
168
|
+
type: Inject,
|
|
169
|
+
args: [ElementRef]
|
|
170
|
+
}] }, { type: undefined, decorators: [{
|
|
171
|
+
type: Inject,
|
|
172
|
+
args: [TUI_BASE_HREF]
|
|
173
|
+
}] }]; }, propDecorators: { src: [{
|
|
174
|
+
type: Input
|
|
175
|
+
}], resolveName: [] } });
|
|
176
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ZnLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9zdmcvc3ZnLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9zdmcvc3ZnLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQ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XIgfCBudWxsLFxuICAgICAgICBASW5qZWN0KFR1aVN2Z1NlcnZpY2UpIHByaXZhdGUgcmVhZG9ubHkgc3ZnU2VydmljZTogVHVpU3ZnU2VydmljZSxcbiAgICAgICAgQEluamVjdChUdWlTdGF0aWNSZXF1ZXN0U2VydmljZSlcbiAgICAgICAgcHJpdmF0ZSByZWFkb25seSBzdGF0aWNSZXF1ZXN0U2VydmljZTogVHVpU3RhdGljUmVxdWVzdFNlcnZpY2UsXG4gICAgICAgIEBJbmplY3QoRG9tU2FuaXRpemVyKSBwcml2YXRlIHJlYWRvbmx5IHNhbml0aXplcjogRG9tU2FuaXRpemVyLFxuICAgICAgICBASW5qZWN0KEVsZW1lbnRSZWYpIHByaXZhdGUgcmVhZG9ubHkgZWw6IEVsZW1lbnRSZWY8RWxlbWVudD4sXG4gICAgICAgIEBJbmplY3QoVFVJX0JBU0VfSFJFRikgcHJpdmF0ZSByZWFkb25seSBiYXNlSHJlZjogc3RyaW5nLFxuICAgICkge1xuICAgICAgICB0aGlzLmlubmVySFRNTCQgPSB0aGlzLnNyYyQucGlwZShcbiAgICAgICAgICAgIHN3aXRjaE1hcCgoKSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKHR1aUlzU3RyaW5nKHRoaXMuaWNvbikpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuaXNFeHRlcm5hbFxuICAgICAgICAgICAgICAgICAgICAgICAgPyB0aGlzLmdldEV4dGVybmFsSWNvbih0aGlzLmljb24pXG4gICAgICAgICAgICAgICAgICAgICAgICA6IG9mKHRoaXMuZ2V0U2FmZUh0bWwodGhpcy5pY29uKSk7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgcmV0dXJuIG9mKHRoaXMuaWNvbik7XG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICAgIHN0YXJ0V2l0aCgnJyksXG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgQElucHV0KClcbiAgICBzZXQgc3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lTYW5pdGl6ZXIuc2FuaXRpemUoU2VjdXJpdHlDb250ZXh0LkhUTUwsIHNyYykgfHwgJycsXG4gICAgICAgICAgICAgIClcbiAgICAgICAgICAgIDogc3JjO1xuICAgIH1cblxuICAgIHByaXZhdGUgZ2V0RXh0ZXJuYWxJY29uKHNyYzogc3RyaW5nKTogT2JzZXJ2YWJsZTxTYWZlSHRtbD4ge1xuICAgICAgICBjb25zdCB1cmwgPSBzcmMuaW5jbHVkZXMoJy5zdmcnKSA/IHNyYyA6IHRoaXMudXNlO1xuXG4gICAgICAgIHJldHVybiB0aGlzLnN0YXRpY1JlcXVlc3RTZXJ2aWNlLnJlcXVlc3QodXJsKS5waXBlKFxuICAgICAgICAgICAgY2F0Y2hFcnJvcigoKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5vbkVycm9yKEZBSUxFRF9FWFRFUk5BTF9JQ09OKTtcblxuICAgICAgICAgICAgICAgIHJldHVybiBvZignJyk7XG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICAgIG1hcChyZXNwb25zZSA9PlxuICAgICAgICAgICAgICAgIHRoaXMuc2FuaXRpemUocmVzcG9uc2UucmVwbGFjZSgnPHN2ZycsICc8c3ZnIGZvY3VzYWJsZT1cImZhbHNlXCInKSksXG4gICAgICAgICAgICApLFxuICAgICAgICApO1xuICAgIH1cbn1cbiIsIjxuZy1jb250YWluZXIgKnR1aUxldD1cImlubmVySFRNTCQgfCBhc3luYyBhcyBpbm5lckhUTUxcIj5cbiAgICA8ZGl2XG4gICAgICAgICpuZ0lmPVwiaXNJbm5lckhUTUw7IGVsc2UgdXNlVGVtcGxhdGVcIlxuICAgICAgICBjbGFzcz1cInQtc3JjXCJcbiAgICAgICAgW2lubmVySFRNTF09XCJpbm5lckhUTUxcIlxuICAgID48L2Rpdj5cbiAgICA8bmctdGVtcGxhdGUgI3VzZVRlbXBsYXRlPlxuICAgICAgICA8c3ZnXG4gICAgICAgICAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgICAgICAgICBoZWlnaHQ9XCIxMDAlXCJcbiAgICAgICAgICAgIHZlcnNpb249XCIxLjFcIlxuICAgICAgICAgICAgd2lkdGg9XCIxMDAlXCJcbiAgICAgICAgICAgIHhtbG5zOnhsaW5rPVwiaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGlua1wiXG4gICAgICAgICAgICB4bWxucz1cImh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnXCJcbiAgICAgICAgICAgIGNsYXNzPVwidC1zdmdcIlxuICAgICAgICAgICAgKGVycm9yKT1cIm9uRXJyb3IoKVwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDx1c2UgW2F0dHIueGxpbms6aHJlZl09XCJ1c2VcIj48L3VzZT5cbiAgICAgICAgPC9zdmc+XG4gICAgPC9uZy10ZW1wbGF0ZT5cbjwvbmctY29udGFpbmVyPlxuIl19
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { TuiLetModule } from '@taiga-ui/cdk';
|
|
4
|
+
import { TuiSvgComponent } from './svg.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class TuiSvgModule {
|
|
7
|
+
}
|
|
8
|
+
TuiSvgModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSvgModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
TuiSvgModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiSvgModule, declarations: [TuiSvgComponent], imports: [CommonModule, TuiLetModule], exports: [TuiSvgComponent] });
|
|
10
|
+
TuiSvgModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSvgModule, imports: [CommonModule, TuiLetModule] });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSvgModule, decorators: [{
|
|
12
|
+
type: NgModule,
|
|
13
|
+
args: [{
|
|
14
|
+
imports: [CommonModule, TuiLetModule],
|
|
15
|
+
declarations: [TuiSvgComponent],
|
|
16
|
+
exports: [TuiSvgComponent],
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ZnLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9zdmcvc3ZnLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRTNDLE9BQU8sRUFBQyxlQUFlLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQzs7QUFPaEQsTUFBTSxPQUFPLFlBQVk7OzBHQUFaLFlBQVk7MkdBQVosWUFBWSxpQkFITixlQUFlLGFBRHBCLFlBQVksRUFBRSxZQUFZLGFBRTFCLGVBQWU7MkdBRWhCLFlBQVksWUFKWCxZQUFZLEVBQUUsWUFBWTs0RkFJM0IsWUFBWTtrQkFMeEIsUUFBUTttQkFBQztvQkFDTixPQUFPLEVBQUUsQ0FBQyxZQUFZLEVBQUUsWUFBWSxDQUFDO29CQUNyQyxZQUFZLEVBQUUsQ0FBQyxlQUFlLENBQUM7b0JBQy9CLE9BQU8sRUFBRSxDQUFDLGVBQWUsQ0FBQztpQkFDN0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbW1vbk1vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtUdWlMZXRNb2R1bGV9IGZyb20gJ0B0YWlnYS11aS9jZGsnO1xuXG5pbXBvcnQge1R1aVN2Z0NvbXBvbmVudH0gZnJvbSAnLi9zdmcuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBUdWlMZXRNb2R1bGVdLFxuICAgIGRlY2xhcmF0aW9uczogW1R1aVN2Z0NvbXBvbmVudF0sXG4gICAgZXhwb3J0czogW1R1aVN2Z0NvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aVN2Z01vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { AbstractTuiThemeSwitcher } from '@taiga-ui/cdk';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class TuiThemeNightComponent extends AbstractTuiThemeSwitcher {
|
|
5
|
+
}
|
|
6
|
+
TuiThemeNightComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiThemeNightComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
+
TuiThemeNightComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiThemeNightComponent, selector: "tui-theme-night", usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [":root{--tui-base-01: #222;--tui-base-02: #333;--tui-base-03: #808080;--tui-base-04: #959595;--tui-base-05: #b0b0b0;--tui-base-06: #d7d7d7;--tui-base-07: #ededed;--tui-base-08: #f6f6f6;--tui-base-09: #fff;--tui-focus: rgba(51, 51, 51, .64);--tui-secondary: rgba(255, 255, 255, .16);--tui-secondary-hover: rgba(255, 255, 255, .24);--tui-secondary-active: rgba(255, 255, 255, .4);--tui-clear: rgba(255, 255, 255, .16);--tui-clear-disabled: rgba(255, 255, 255, .08);--tui-clear-hover: rgba(255, 255, 255, .24);--tui-clear-active: rgba(255, 255, 255, .4);--tui-error-fill: #ff8c67;--tui-error-bg: rgba(244, 87, 37, .32);--tui-error-bg-hover: rgba(244, 87, 37, .4);--tui-success-fill: #4ac99b;--tui-success-bg: rgba(74, 201, 155, .32);--tui-success-bg-hover: rgba(74, 201, 155, .4);--tui-warning-fill: #ffc700;--tui-warning-bg: rgba(255, 199, 0, .32);--tui-warning-bg-hover: rgba(255, 199, 0, .4);--tui-info-fill: #70b6f6;--tui-info-bg: rgba(112, 182, 246, .32);--tui-info-bg-hover: rgba(112, 182, 246, .4);--tui-neutral-fill: #959ba4;--tui-neutral-bg: rgba(149, 155, 164, .32);--tui-neutral-bg-hover: rgba(149, 155, 164, .48);--tui-text-01: #ffffff;--tui-text-02: rgba(255, 255, 255, .72);--tui-text-03: rgba(255, 255, 255, .6);--tui-link: #6788ff;--tui-link-hover: #526ed3;--tui-positive: #44c596;--tui-positive-hover: #3aa981;--tui-negative: #ff8c67;--tui-negative-hover: #bb593a;--tui-autofill: var(--tui-autofill-night);--tui-elevation-01: #222;--tui-elevation-02: #222;--tui-shadow: 0 .25rem 1.5rem rgba(0, 0, 0, .12);--tui-shadow-hover: 0 .75rem 2.25rem rgba(0, 0, 0, .2);--tui-shadow-dropdown: 0 1.5rem 1rem rgba(0, 0, 0, .03), 0 .75rem .75rem rgba(0, 0, 0, .04), 0 .25rem .375rem rgba(0, 0, 0, .05);--tui-shadow-modal: 0 1.125rem 1.875rem rgba(0, 0, 0, .48);--tui-shadow-sidebar: .25rem 0 1.5rem rgba(0, 0, 0, .12);--tui-shadow-navigation: 0 .125rem 1rem rgba(0, 0, 0, .08);--tui-shadow-sheet: 0 -1rem 1.75rem rgba(0, 0, 0, .24)}tui-notification{--tui-base-01: #000}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiThemeNightComponent, decorators: [{
|
|
9
|
+
type: Component,
|
|
10
|
+
args: [{ selector: 'tui-theme-night', template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":root{--tui-base-01: #222;--tui-base-02: #333;--tui-base-03: #808080;--tui-base-04: #959595;--tui-base-05: #b0b0b0;--tui-base-06: #d7d7d7;--tui-base-07: #ededed;--tui-base-08: #f6f6f6;--tui-base-09: #fff;--tui-focus: rgba(51, 51, 51, .64);--tui-secondary: rgba(255, 255, 255, .16);--tui-secondary-hover: rgba(255, 255, 255, .24);--tui-secondary-active: rgba(255, 255, 255, .4);--tui-clear: rgba(255, 255, 255, .16);--tui-clear-disabled: rgba(255, 255, 255, .08);--tui-clear-hover: rgba(255, 255, 255, .24);--tui-clear-active: rgba(255, 255, 255, .4);--tui-error-fill: #ff8c67;--tui-error-bg: rgba(244, 87, 37, .32);--tui-error-bg-hover: rgba(244, 87, 37, .4);--tui-success-fill: #4ac99b;--tui-success-bg: rgba(74, 201, 155, .32);--tui-success-bg-hover: rgba(74, 201, 155, .4);--tui-warning-fill: #ffc700;--tui-warning-bg: rgba(255, 199, 0, .32);--tui-warning-bg-hover: rgba(255, 199, 0, .4);--tui-info-fill: #70b6f6;--tui-info-bg: rgba(112, 182, 246, .32);--tui-info-bg-hover: rgba(112, 182, 246, .4);--tui-neutral-fill: #959ba4;--tui-neutral-bg: rgba(149, 155, 164, .32);--tui-neutral-bg-hover: rgba(149, 155, 164, .48);--tui-text-01: #ffffff;--tui-text-02: rgba(255, 255, 255, .72);--tui-text-03: rgba(255, 255, 255, .6);--tui-link: #6788ff;--tui-link-hover: #526ed3;--tui-positive: #44c596;--tui-positive-hover: #3aa981;--tui-negative: #ff8c67;--tui-negative-hover: #bb593a;--tui-autofill: var(--tui-autofill-night);--tui-elevation-01: #222;--tui-elevation-02: #222;--tui-shadow: 0 .25rem 1.5rem rgba(0, 0, 0, .12);--tui-shadow-hover: 0 .75rem 2.25rem rgba(0, 0, 0, .2);--tui-shadow-dropdown: 0 1.5rem 1rem rgba(0, 0, 0, .03), 0 .75rem .75rem rgba(0, 0, 0, .04), 0 .25rem .375rem rgba(0, 0, 0, .05);--tui-shadow-modal: 0 1.125rem 1.875rem rgba(0, 0, 0, .48);--tui-shadow-sidebar: .25rem 0 1.5rem rgba(0, 0, 0, .12);--tui-shadow-navigation: 0 .125rem 1rem rgba(0, 0, 0, .08);--tui-shadow-sheet: 0 -1rem 1.75rem rgba(0, 0, 0, .24)}tui-notification{--tui-base-01: #000}\n"] }]
|
|
11
|
+
}] });
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWUtbmlnaHQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL3RoZW1lLW5pZ2h0L3RoZW1lLW5pZ2h0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLGlCQUFpQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3BGLE9BQU8sRUFBQyx3QkFBd0IsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFTdkQsTUFBTSxPQUFPLHNCQUF1QixTQUFRLHdCQUF3Qjs7b0hBQXZELHNCQUFzQjt3R0FBdEIsc0JBQXNCLDhFQUxyQixFQUFFOzRGQUtILHNCQUFzQjtrQkFQbEMsU0FBUzsrQkFDSSxpQkFBaUIsWUFDakIsRUFBRSxpQkFFRyxpQkFBaUIsQ0FBQyxJQUFJLG1CQUNwQix1QkFBdUIsQ0FBQyxNQUFNIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50LCBWaWV3RW5jYXBzdWxhdGlvbn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0Fic3RyYWN0VHVpVGhlbWVTd2l0Y2hlcn0gZnJvbSAnQHRhaWdhLXVpL2Nkayc7XG5cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAndHVpLXRoZW1lLW5pZ2h0JyxcbiAgICB0ZW1wbGF0ZTogJycsXG4gICAgc3R5bGVVcmxzOiBbJy4vdGhlbWUtbmlnaHQuc3R5bGUubGVzcyddLFxuICAgIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXG4gICAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG59KVxuZXhwb3J0IGNsYXNzIFR1aVRoZW1lTmlnaHRDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdFR1aVRoZW1lU3dpdGNoZXIge31cbiJdfQ==
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { TuiThemeNightComponent } from './theme-night.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class TuiThemeNightModule {
|
|
5
|
+
}
|
|
6
|
+
TuiThemeNightModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiThemeNightModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
TuiThemeNightModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiThemeNightModule, declarations: [TuiThemeNightComponent], exports: [TuiThemeNightComponent] });
|
|
8
|
+
TuiThemeNightModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiThemeNightModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiThemeNightModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [TuiThemeNightComponent],
|
|
13
|
+
exports: [TuiThemeNightComponent],
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWUtbmlnaHQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL3RoZW1lLW5pZ2h0L3RoZW1lLW5pZ2h0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXZDLE9BQU8sRUFBQyxzQkFBc0IsRUFBQyxNQUFNLHlCQUF5QixDQUFDOztBQU0vRCxNQUFNLE9BQU8sbUJBQW1COztpSEFBbkIsbUJBQW1CO2tIQUFuQixtQkFBbUIsaUJBSGIsc0JBQXNCLGFBQzNCLHNCQUFzQjtrSEFFdkIsbUJBQW1COzRGQUFuQixtQkFBbUI7a0JBSi9CLFFBQVE7bUJBQUM7b0JBQ04sWUFBWSxFQUFFLENBQUMsc0JBQXNCLENBQUM7b0JBQ3RDLE9BQU8sRUFBRSxDQUFDLHNCQUFzQixDQUFDO2lCQUNwQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQge1R1aVRoZW1lTmlnaHRDb21wb25lbnR9IGZyb20gJy4vdGhlbWUtbmlnaHQuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtUdWlUaGVtZU5pZ2h0Q29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbVHVpVGhlbWVOaWdodENvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aVRoZW1lTmlnaHRNb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, HostBinding, HostListener, Inject, Input, Self, ViewChild, } from '@angular/core';
|
|
2
|
+
import { TUI_IS_MOBILE, TuiDestroyService } from '@taiga-ui/cdk';
|
|
3
|
+
import { TUI_HINT_OPTIONS, TuiHintHoverDirective, TuiHintOptionsDirective, } from '@taiga-ui/core/directives';
|
|
4
|
+
import { MODE_PROVIDER } from '@taiga-ui/core/providers';
|
|
5
|
+
import { TUI_MODE } from '@taiga-ui/core/tokens';
|
|
6
|
+
import { takeUntil } from 'rxjs';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@taiga-ui/core/directives/wrapper";
|
|
9
|
+
import * as i2 from "@taiga-ui/core/components/svg";
|
|
10
|
+
import * as i3 from "@taiga-ui/core/directives/hint";
|
|
11
|
+
import * as i4 from "@tinkoff/ng-polymorpheus";
|
|
12
|
+
import * as i5 from "@angular/common";
|
|
13
|
+
import * as i6 from "rxjs";
|
|
14
|
+
export class TuiTooltipComponent extends TuiHintOptionsDirective {
|
|
15
|
+
constructor(destroy$, mode$, options, isMobile) {
|
|
16
|
+
super(options);
|
|
17
|
+
this.isMobile = isMobile;
|
|
18
|
+
this.mode = null;
|
|
19
|
+
this.describeId = '';
|
|
20
|
+
mode$.pipe(takeUntil(destroy$)).subscribe(mode => {
|
|
21
|
+
this.mode = mode;
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
get computedAppearance() {
|
|
25
|
+
return this.appearance || this.mode || '';
|
|
26
|
+
}
|
|
27
|
+
stopOnMobile(event) {
|
|
28
|
+
if (this.isMobile) {
|
|
29
|
+
event.preventDefault();
|
|
30
|
+
event.stopPropagation();
|
|
31
|
+
}
|
|
32
|
+
this.driver$?.toggle();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
TuiTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiTooltipComponent, deps: [{ token: TuiDestroyService, self: true }, { token: TUI_MODE }, { token: TUI_HINT_OPTIONS }, { token: TUI_IS_MOBILE }], target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
TuiTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiTooltipComponent, selector: "tui-tooltip", inputs: { content: "content", direction: "direction", appearance: "appearance", showDelay: "showDelay", hideDelay: "hideDelay", describeId: "describeId", context: "context" }, host: { listeners: { "mousedown": "stopOnMobile($event)" }, properties: { "attr.data-appearance": "this.computedAppearance" } }, providers: [TuiDestroyService, MODE_PROVIDER], viewQueries: [{ propertyName: "driver$", first: true, predicate: TuiHintHoverDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<span\n #driver=\"tuiHintHover\"\n appearance=\"icon\"\n automation-id=\"tui-tooltip__icon\"\n tuiWrapper\n class=\"t-tooltip-icon\"\n [hover]=\"(driver | async) || null\"\n [tuiHint]=\"content\"\n [tuiHintAppearance]=\"computedAppearance\"\n [tuiHintContext]=\"context\"\n [tuiHintDescribe]=\"describeId\"\n [tuiHintDirection]=\"direction\"\n [tuiHintHideDelay]=\"hideDelay\"\n [tuiHintShowDelay]=\"showDelay\"\n>\n <tui-svg\n *polymorpheusOutlet=\"icon as src\"\n [src]=\"src\"\n ></tui-svg>\n</span>\n", styles: [":host{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;width:1.5rem;height:1.5rem;vertical-align:middle;font-size:0;line-height:0;pointer-events:auto;cursor:pointer;color:var(--tui-text-01)}:host[data-appearance=error]{color:var(--tui-error-fill)}.t-tooltip-icon{display:inline-block;width:100%;height:100%;color:inherit}:host-context([tuiWrapper][data-appearance=\"textfield\"][data-state=\"disabled\"]) .t-tooltip-icon{opacity:1}\n"], dependencies: [{ kind: "directive", type: i1.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { kind: "component", type: i2.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { kind: "directive", type: i3.TuiHintDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHint", "tuiHintContext", "tuiHintAppearance"] }, { kind: "directive", type: i3.TuiHintDriverDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)" }, { kind: "directive", type: i3.TuiHintHoverDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHintShowDelay", "tuiHintHideDelay"], exportAs: ["tuiHintHover"] }, { kind: "directive", type: i3.TuiHintDescribeDirective, selector: "[tuiHintDescribe]", inputs: ["tuiHintDescribe"] }, { kind: "directive", type: i3.TuiHintPositionDirective, selector: "[tuiHint]:not([tuiHintCustomPosition]):not(ng-container):not(ng-template)", inputs: ["tuiHintDirection"] }, { kind: "directive", type: i4.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiTooltipComponent, decorators: [{
|
|
38
|
+
type: Component,
|
|
39
|
+
args: [{ selector: 'tui-tooltip', changeDetection: ChangeDetectionStrategy.OnPush, providers: [TuiDestroyService, MODE_PROVIDER], inputs: ['content', 'direction', 'appearance', 'showDelay', 'hideDelay'], template: "<span\n #driver=\"tuiHintHover\"\n appearance=\"icon\"\n automation-id=\"tui-tooltip__icon\"\n tuiWrapper\n class=\"t-tooltip-icon\"\n [hover]=\"(driver | async) || null\"\n [tuiHint]=\"content\"\n [tuiHintAppearance]=\"computedAppearance\"\n [tuiHintContext]=\"context\"\n [tuiHintDescribe]=\"describeId\"\n [tuiHintDirection]=\"direction\"\n [tuiHintHideDelay]=\"hideDelay\"\n [tuiHintShowDelay]=\"showDelay\"\n>\n <tui-svg\n *polymorpheusOutlet=\"icon as src\"\n [src]=\"src\"\n ></tui-svg>\n</span>\n", styles: [":host{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;width:1.5rem;height:1.5rem;vertical-align:middle;font-size:0;line-height:0;pointer-events:auto;cursor:pointer;color:var(--tui-text-01)}:host[data-appearance=error]{color:var(--tui-error-fill)}.t-tooltip-icon{display:inline-block;width:100%;height:100%;color:inherit}:host-context([tuiWrapper][data-appearance=\"textfield\"][data-state=\"disabled\"]) .t-tooltip-icon{opacity:1}\n"] }]
|
|
40
|
+
}], ctorParameters: function () { return [{ type: i6.Observable, decorators: [{
|
|
41
|
+
type: Self
|
|
42
|
+
}, {
|
|
43
|
+
type: Inject,
|
|
44
|
+
args: [TuiDestroyService]
|
|
45
|
+
}] }, { type: i6.Observable, decorators: [{
|
|
46
|
+
type: Inject,
|
|
47
|
+
args: [TUI_MODE]
|
|
48
|
+
}] }, { type: undefined, decorators: [{
|
|
49
|
+
type: Inject,
|
|
50
|
+
args: [TUI_HINT_OPTIONS]
|
|
51
|
+
}] }, { type: undefined, decorators: [{
|
|
52
|
+
type: Inject,
|
|
53
|
+
args: [TUI_IS_MOBILE]
|
|
54
|
+
}] }]; }, propDecorators: { driver$: [{
|
|
55
|
+
type: ViewChild,
|
|
56
|
+
args: [TuiHintHoverDirective]
|
|
57
|
+
}], describeId: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}], context: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], computedAppearance: [{
|
|
62
|
+
type: HostBinding,
|
|
63
|
+
args: ['attr.data-appearance']
|
|
64
|
+
}], stopOnMobile: [{
|
|
65
|
+
type: HostListener,
|
|
66
|
+
args: ['mousedown', ['$event']]
|
|
67
|
+
}] } });
|
|
68
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvdG9vbHRpcC90b29sdGlwLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy90b29sdGlwL3Rvb2x0aXAudGVtcGxhdGUuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxXQUFXLEVBQ1gsWUFBWSxFQUNaLE1BQU0sRUFDTixLQUFLLEVBQ0wsSUFBSSxFQUNKLFNBQVMsR0FDWixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMsYUFBYSxFQUFFLGlCQUFpQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQy9ELE9BQU8sRUFDSCxnQkFBZ0IsRUFDaEIscUJBQXFCLEVBRXJCLHVCQUF1QixHQUMxQixNQUFNLDJCQUEyQixDQUFDO0FBQ25DLE9BQU8sRUFBQyxhQUFhLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQUN2RCxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sdUJBQXVCLENBQUM7QUFFL0MsT0FBTyxFQUFhLFNBQVMsRUFBQyxNQUFNLE1BQU0sQ0FBQzs7Ozs7Ozs7QUFVM0MsTUFBTSxPQUFPLG1CQUE2QixTQUFRLHVCQUF1QjtJQVlyRSxZQUN1QyxRQUE2QixFQUM5QyxLQUF1QyxFQ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PVwidHVpLXRvb2x0aXBfX2ljb25cIlxuICAgIHR1aVdyYXBwZXJcbiAgICBjbGFzcz1cInQtdG9vbHRpcC1pY29uXCJcbiAgICBbaG92ZXJdPVwiKGRyaXZlciB8IGFzeW5jKSB8fCBudWxsXCJcbiAgICBbdHVpSGludF09XCJjb250ZW50XCJcbiAgICBbdHVpSGludEFwcGVhcmFuY2VdPVwiY29tcHV0ZWRBcHBlYXJhbmNlXCJcbiAgICBbdHVpSGludENvbnRleHRdPVwiY29udGV4dFwiXG4gICAgW3R1aUhpbnREZXNjcmliZV09XCJkZXNjcmliZUlkXCJcbiAgICBbdHVpSGludERpcmVjdGlvbl09XCJkaXJlY3Rpb25cIlxuICAgIFt0dWlIaW50SGlkZURlbGF5XT1cImhpZGVEZWxheVwiXG4gICAgW3R1aUhpbnRTaG93RGVsYXldPVwic2hvd0RlbGF5XCJcbj5cbiAgICA8dHVpLXN2Z1xuICAgICAgICAqcG9seW1vcnBoZXVzT3V0bGV0PVwiaWNvbiBhcyBzcmNcIlxuICAgICAgICBbc3JjXT1cInNyY1wiXG4gICAgPjwvdHVpLXN2Zz5cbjwvc3Bhbj5cbiJdfQ==
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { TuiSvgModule } from '@taiga-ui/core/components/svg';
|
|
4
|
+
import { TuiHintModule } from '@taiga-ui/core/directives/hint';
|
|
5
|
+
import { TuiWrapperModule } from '@taiga-ui/core/directives/wrapper';
|
|
6
|
+
import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
|
|
7
|
+
import { TuiTooltipComponent } from './tooltip.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class TuiTooltipModule {
|
|
10
|
+
}
|
|
11
|
+
TuiTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
+
TuiTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiTooltipModule, declarations: [TuiTooltipComponent], imports: [CommonModule,
|
|
13
|
+
TuiWrapperModule,
|
|
14
|
+
TuiSvgModule,
|
|
15
|
+
TuiHintModule,
|
|
16
|
+
PolymorpheusModule], exports: [TuiTooltipComponent] });
|
|
17
|
+
TuiTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiTooltipModule, imports: [CommonModule,
|
|
18
|
+
TuiWrapperModule,
|
|
19
|
+
TuiSvgModule,
|
|
20
|
+
TuiHintModule,
|
|
21
|
+
PolymorpheusModule] });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiTooltipModule, decorators: [{
|
|
23
|
+
type: NgModule,
|
|
24
|
+
args: [{
|
|
25
|
+
imports: [
|
|
26
|
+
CommonModule,
|
|
27
|
+
TuiWrapperModule,
|
|
28
|
+
TuiSvgModule,
|
|
29
|
+
TuiHintModule,
|
|
30
|
+
PolymorpheusModule,
|
|
31
|
+
],
|
|
32
|
+
declarations: [TuiTooltipComponent],
|
|
33
|
+
exports: [TuiTooltipComponent],
|
|
34
|
+
}]
|
|
35
|
+
}] });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvdG9vbHRpcC90b29sdGlwLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0F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0B0YWlnYS11aS9jb3JlL2NvbXBvbmVudHMvc3ZnJztcbmltcG9ydCB7VHVpSGludE1vZHVsZX0gZnJvbSAnQHRhaWdhLXVpL2NvcmUvZGlyZWN0aXZlcy9oaW50JztcbmltcG9ydCB7VHVpV3JhcHBlck1vZHVsZX0gZnJvbSAnQHRhaWdhLXVpL2NvcmUvZGlyZWN0aXZlcy93cmFwcGVyJztcbmltcG9ydCB7UG9seW1vcnBoZXVzTW9kdWxlfSBmcm9tICdAdGlua29mZi9uZy1wb2x5bW9ycGhldXMnO1xuXG5pbXBvcnQge1R1aVRvb2x0aXBDb21wb25lbnR9IGZyb20gJy4vdG9vbHRpcC5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBUdWlXcmFwcGVyTW9kdWxlLFxuICAgICAgICBUdWlTdmdNb2R1bGUsXG4gICAgICAgIFR1aUhpbnRNb2R1bGUsXG4gICAgICAgIFBvbHltb3JwaGV1c01vZHVsZSxcbiAgICBdLFxuICAgIGRlY2xhcmF0aW9uczogW1R1aVRvb2x0aXBDb21wb25lbnRdLFxuICAgIGV4cG9ydHM6IFtUdWlUb29sdGlwQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpVG9vbHRpcE1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Directive, HostListener, Inject } from '@angular/core';
|
|
3
|
+
import { EMPTY_CLIENT_RECT, TuiActiveZoneDirective, tuiPointToClientRect, } from '@taiga-ui/cdk';
|
|
4
|
+
import { tuiAsDriver, tuiAsRectAccessor, TuiDriver, } from '@taiga-ui/core/abstract';
|
|
5
|
+
import { shouldCall } from '@tinkoff/ng-event-plugins';
|
|
6
|
+
import { Subject } from 'rxjs';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@taiga-ui/cdk";
|
|
9
|
+
function activeZoneFilter(target) {
|
|
10
|
+
return !this.activeZone.contains(target);
|
|
11
|
+
}
|
|
12
|
+
export class TuiDropdownContextDirective extends TuiDriver {
|
|
13
|
+
constructor(activeZone) {
|
|
14
|
+
super(subscriber => this.stream$.subscribe(subscriber));
|
|
15
|
+
this.activeZone = activeZone;
|
|
16
|
+
this.stream$ = new Subject();
|
|
17
|
+
this.currentRect = EMPTY_CLIENT_RECT;
|
|
18
|
+
this.type = 'dropdown';
|
|
19
|
+
}
|
|
20
|
+
onContextMenu(x, y) {
|
|
21
|
+
this.currentRect = tuiPointToClientRect(x, y);
|
|
22
|
+
this.stream$.next(true);
|
|
23
|
+
}
|
|
24
|
+
closeDropdown() {
|
|
25
|
+
this.stream$.next(false);
|
|
26
|
+
}
|
|
27
|
+
getClientRect() {
|
|
28
|
+
return this.currentRect;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
TuiDropdownContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownContextDirective, deps: [{ token: TuiActiveZoneDirective }], target: i0.ɵɵFactoryTarget.Directive });
|
|
32
|
+
TuiDropdownContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownContextDirective, selector: "[tuiDropdown][tuiDropdownContext]", host: { listeners: { "contextmenu.prevent.stop": "onContextMenu($event.clientX,$event.clientY)", "document:click.silent": "closeDropdown($event.target)", "document:contextmenu.capture.silent": "closeDropdown($event.target)", "document:keydown.esc": "closeDropdown($event.currentTarget)" } }, providers: [
|
|
33
|
+
TuiActiveZoneDirective,
|
|
34
|
+
tuiAsDriver(TuiDropdownContextDirective),
|
|
35
|
+
tuiAsRectAccessor(TuiDropdownContextDirective),
|
|
36
|
+
], usesInheritance: true, ngImport: i0 });
|
|
37
|
+
__decorate([
|
|
38
|
+
shouldCall(activeZoneFilter)
|
|
39
|
+
], TuiDropdownContextDirective.prototype, "closeDropdown", null);
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownContextDirective, decorators: [{
|
|
41
|
+
type: Directive,
|
|
42
|
+
args: [{
|
|
43
|
+
selector: '[tuiDropdown][tuiDropdownContext]',
|
|
44
|
+
providers: [
|
|
45
|
+
TuiActiveZoneDirective,
|
|
46
|
+
tuiAsDriver(TuiDropdownContextDirective),
|
|
47
|
+
tuiAsRectAccessor(TuiDropdownContextDirective),
|
|
48
|
+
],
|
|
49
|
+
}]
|
|
50
|
+
}], ctorParameters: function () { return [{ type: i1.TuiActiveZoneDirective, decorators: [{
|
|
51
|
+
type: Inject,
|
|
52
|
+
args: [TuiActiveZoneDirective]
|
|
53
|
+
}] }]; }, propDecorators: { onContextMenu: [{
|
|
54
|
+
type: HostListener,
|
|
55
|
+
args: ['contextmenu.prevent.stop', ['$event.clientX', '$event.clientY']]
|
|
56
|
+
}], closeDropdown: [{
|
|
57
|
+
type: HostListener,
|
|
58
|
+
args: ['document:click.silent', ['$event.target']]
|
|
59
|
+
}, {
|
|
60
|
+
type: HostListener,
|
|
61
|
+
args: ['document:contextmenu.capture.silent', ['$event.target']]
|
|
62
|
+
}, {
|
|
63
|
+
type: HostListener,
|
|
64
|
+
args: ['document:keydown.esc', ['$event.currentTarget']]
|
|
65
|
+
}] } });
|
|
66
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tY29udGV4dC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2RpcmVjdGl2ZXMvZHJvcGRvd24vZHJvcGRvd24tY29udGV4dC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUU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cy5zdHJlYW0kLm5leHQoZmFsc2UpO1xuICAgIH1cblxuICAgIGdldENsaWVudFJlY3QoKTogQ2xpZW50UmVjdCB7XG4gICAgICAgIHJldHVybiB0aGlzLmN1cnJlbnRSZWN0O1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Directive, Inject, Self } from '@angular/core';
|
|
2
|
+
import { TuiDestroyService } from '@taiga-ui/cdk';
|
|
3
|
+
import { AbstractTuiDriverDirective, TuiDriver, TuiVehicle } from '@taiga-ui/core/abstract';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "rxjs";
|
|
6
|
+
export class TuiDropdownDriverDirective extends AbstractTuiDriverDirective {
|
|
7
|
+
// TODO: Figure out why this is necessary under nx test runner
|
|
8
|
+
constructor(destroy$, drivers, vehicles) {
|
|
9
|
+
super(destroy$, drivers, vehicles);
|
|
10
|
+
this.type = 'dropdown';
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
TuiDropdownDriverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownDriverDirective, deps: [{ token: TuiDestroyService, self: true }, { token: TuiDriver }, { token: TuiVehicle }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
TuiDropdownDriverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownDriverDirective, selector: "[tuiDropdown]", providers: [TuiDestroyService], usesInheritance: true, ngImport: i0 });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownDriverDirective, decorators: [{
|
|
16
|
+
type: Directive,
|
|
17
|
+
args: [{
|
|
18
|
+
selector: '[tuiDropdown]',
|
|
19
|
+
providers: [TuiDestroyService],
|
|
20
|
+
}]
|
|
21
|
+
}], ctorParameters: function () { return [{ type: i1.Observable, decorators: [{
|
|
22
|
+
type: Self
|
|
23
|
+
}, {
|
|
24
|
+
type: Inject,
|
|
25
|
+
args: [TuiDestroyService]
|
|
26
|
+
}] }, { type: undefined, decorators: [{
|
|
27
|
+
type: Inject,
|
|
28
|
+
args: [TuiDriver]
|
|
29
|
+
}] }, { type: undefined, decorators: [{
|
|
30
|
+
type: Inject,
|
|
31
|
+
args: [TuiVehicle]
|
|
32
|
+
}] }]; } });
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tZHJpdmVyLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvZGlyZWN0aXZlcy9kcm9wZG93bi9kcm9wZG93bi1kcml2ZXIuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBTSxFQUFFLElBQUksRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN0RCxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDaEQsT0FBTyxFQUFDLDBCQUEwQixFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQzs7O0FBTzFGLE1BQU0sT0FBTywwQkFBMkIsU0FBUSwwQkFBMEI7SUFHdEUsOERBQThEO0lBQzlELFlBQ3VDLFFBQTZCLEVBQzdDLE9BQW9CLEVBQ25CLFFBQXNCO1FBRTFDLEtBQUssQ0FBQyxRQUFRLEVBQUUsT0FBTyxFQUFFLFFBQVEsQ0FBQyxDQUFDO1FBUjlCLFNBQUksR0FBRyxVQUFVLENBQUM7SUFTM0IsQ0FBQzs7d0hBVlEsMEJBQTBCLGtCQUtmLGlCQUFpQix5QkFDekIsU0FBUyxhQUNULFVBQVU7NEdBUGIsME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