@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
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { ElementRef, Component, ChangeDetectionStrategy, Inject, Input, HostBinding, NgModule } from '@angular/core';
|
|
3
|
-
import * as i4 from '@taiga-ui/cdk';
|
|
4
|
-
import { tuiTypedFromEvent, ALWAYS_TRUE_HANDLER, ALWAYS_FALSE_HANDLER, tuiIsNativeFocused, TuiFocusVisibleService, tuiAsFocusableItemAccessor, TuiDestroyService } from '@taiga-ui/cdk';
|
|
5
|
-
import { MODE_PROVIDER } from '@taiga-ui/core/providers';
|
|
6
|
-
import { TUI_MODE } from '@taiga-ui/core/tokens';
|
|
7
|
-
import * as i3 from 'rxjs';
|
|
8
|
-
import { merge } from 'rxjs';
|
|
9
|
-
import { map } from 'rxjs/operators';
|
|
10
|
-
import * as i1 from '@taiga-ui/core/components/svg';
|
|
11
|
-
import { TuiSvgModule } from '@taiga-ui/core/components/svg';
|
|
12
|
-
import * as i2 from '@angular/common';
|
|
13
|
-
import { CommonModule } from '@angular/common';
|
|
14
|
-
|
|
15
|
-
// @bad TODO: Think about extending Interactive
|
|
16
|
-
class TuiLinkComponent {
|
|
17
|
-
constructor(el, mode$, focusVisible$) {
|
|
18
|
-
this.el = el;
|
|
19
|
-
this.mode$ = mode$;
|
|
20
|
-
this.pseudo = false;
|
|
21
|
-
this.icon = '';
|
|
22
|
-
this.iconAlign = 'right';
|
|
23
|
-
this.iconRotated = false;
|
|
24
|
-
this.mode = null;
|
|
25
|
-
this.focusVisible = false;
|
|
26
|
-
this.focusedChange = merge(tuiTypedFromEvent(this.el.nativeElement, 'focusin').pipe(map(ALWAYS_TRUE_HANDLER)), tuiTypedFromEvent(this.el.nativeElement, 'focusout').pipe(map(ALWAYS_FALSE_HANDLER)));
|
|
27
|
-
focusVisible$.subscribe(visible => {
|
|
28
|
-
this.focusVisible = visible;
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
get nativeFocusableElement() {
|
|
32
|
-
return this.el.nativeElement;
|
|
33
|
-
}
|
|
34
|
-
get focused() {
|
|
35
|
-
return tuiIsNativeFocused(this.nativeFocusableElement);
|
|
36
|
-
}
|
|
37
|
-
get hasIcon() {
|
|
38
|
-
return !!this.icon;
|
|
39
|
-
}
|
|
40
|
-
get iconAlignLeft() {
|
|
41
|
-
return this.hasIcon && this.iconAlign === 'left';
|
|
42
|
-
}
|
|
43
|
-
get iconAlignRight() {
|
|
44
|
-
return this.hasIcon && this.iconAlign === 'right';
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
TuiLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLinkComponent, deps: [{ token: ElementRef }, { token: TUI_MODE }, { token: TuiFocusVisibleService }], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
-
TuiLinkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiLinkComponent, selector: "a[tuiLink], button[tuiLink]", inputs: { pseudo: "pseudo", icon: "icon", iconAlign: "iconAlign", iconRotated: "iconRotated", mode: "mode" }, host: { listeners: { "$.data-mode.attr": "mode$" }, properties: { "class._pseudo": "this.pseudo", "class._icon-rotated": "this.iconRotated", "attr.data-host-mode": "this.mode", "class._focus-visible": "this.focusVisible" } }, providers: [
|
|
49
|
-
tuiAsFocusableItemAccessor(TuiLinkComponent),
|
|
50
|
-
TuiFocusVisibleService,
|
|
51
|
-
TuiDestroyService,
|
|
52
|
-
MODE_PROVIDER,
|
|
53
|
-
], exportAs: ["tuiLink"], ngImport: i0, template: "<tui-svg\n *ngIf=\"iconAlignLeft\"\n class=\"t-icon t-icon_left\"\n [src]=\"icon || ''\"\n></tui-svg>\n<span class=\"t-content\">\n <ng-content></ng-content>\n</span>\n<tui-svg\n *ngIf=\"iconAlignRight\"\n class=\"t-icon t-icon_right\"\n [src]=\"icon || ''\"\n></tui-svg>\n", styles: [":host{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;color:var(--tui-link);text-align:left;text-transform:inherit;font-weight:inherit;cursor:pointer;outline:none}:host:hover{color:var(--tui-link-hover)}:host:disabled{opacity:var(--tui-disabled-opacity);cursor:default}:host[data-mode=onLight]{color:var(--tui-text-02)}:host[data-mode=onLight]:hover,:host[data-mode=onLight]._active{color:var(--tui-text-01)}:host[data-mode=onLight]._pseudo{color:var(--tui-text-01)}:host[data-mode=onLight]._pseudo .t-content{-webkit-text-decoration-color:rgba(0,0,0,.48);text-decoration-color:#0000007a}:host[data-mode=onLight]._pseudo:hover,:host[data-mode=onLight]._pseudo._active{color:var(--tui-text-03)}:host[data-mode=onLight][data-host-mode=negative]{color:var(--tui-negative-night)}:host[data-mode=onLight][data-host-mode=negative]:hover,:host[data-mode=onLight][data-host-mode=negative]:active,:host[data-mode=onLight][data-host-mode=negative]._active{color:var(--tui-negative-night-hover)}:host[data-mode=onDark]{color:var(--tui-text-03-night)}:host[data-mode=onDark]:hover,:host[data-mode=onDark]:active,:host[data-mode=onDark]._active{color:var(--tui-text-01-night)}:host[data-mode=onDark]._pseudo{color:var(--tui-text-01-night)}:host[data-mode=onDark]._pseudo .t-content{-webkit-text-decoration-color:rgba(255,255,255,.48);text-decoration-color:#ffffff7a}:host[data-mode=onDark]._pseudo:hover,:host[data-mode=onDark]._pseudo:active,:host[data-mode=onDark]._pseudo._active{color:var(--tui-text-03-night)}:host[data-mode=onDark][data-host-mode=positive]{color:var(--tui-positive-night)}:host[data-mode=onDark][data-host-mode=positive]:hover,:host[data-mode=onDark][data-host-mode=positive]:active,:host[data-mode=onDark][data-host-mode=positive]._active{color:var(--tui-positive-night-hover)}:host[data-host-mode=negative]{color:var(--tui-negative)}:host[data-host-mode=negative]:hover{color:var(--tui-negative-hover)}:host[data-host-mode=negative]._pseudo .t-content{-webkit-text-decoration-color:rgba(222,76,30,.48);text-decoration-color:#de4c1e7a}:host[data-host-mode=positive]{color:var(--tui-positive)}:host[data-host-mode=positive]:hover{color:var(--tui-positive-hover)}:host[data-host-mode=positive]._pseudo .t-content{-webkit-text-decoration-color:rgba(58,169,129,.48);text-decoration-color:#3aa9817a}:host._focus-visible .t-content{background:var(--tui-selection)}:host[data-mode=onLight]._focus-visible .t-content{background:var(--tui-clear);color:var(--tui-text-01)}:host[data-mode=onDark]._focus-visible .t-content{background:var(--tui-clear-inverse);color:var(--tui-text-01-night)}:host[data-host-mode=positive]._focus-visible .t-content{background:var(--tui-success-bg)}:host[data-host-mode=negative]._focus-visible .t-content{background:var(--tui-error-bg)}:host._pseudo .t-content{padding-bottom:.15em;-webkit-text-decoration:underline dashed rgba(51,111,238,.48);text-decoration:underline dashed rgba(51,111,238,.48);text-underline-offset:.2em;text-decoration-thickness:.7px}.t-icon{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:var(--tui-link-icon-size, 1.5rem);height:var(--tui-link-icon-size, 1.5rem);margin-top:-.125rem}.t-icon_left{margin-right:.25rem}.t-icon_right{margin-left:.25rem}:host._icon-rotated .t-icon{transform:rotate(180deg)}\n"], components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLinkComponent, decorators: [{
|
|
55
|
-
type: Component,
|
|
56
|
-
args: [{
|
|
57
|
-
selector: 'a[tuiLink], button[tuiLink]',
|
|
58
|
-
templateUrl: './link.template.html',
|
|
59
|
-
styleUrls: ['./link.style.less'],
|
|
60
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
61
|
-
providers: [
|
|
62
|
-
tuiAsFocusableItemAccessor(TuiLinkComponent),
|
|
63
|
-
TuiFocusVisibleService,
|
|
64
|
-
TuiDestroyService,
|
|
65
|
-
MODE_PROVIDER,
|
|
66
|
-
],
|
|
67
|
-
host: {
|
|
68
|
-
'($.data-mode.attr)': 'mode$',
|
|
69
|
-
},
|
|
70
|
-
exportAs: 'tuiLink',
|
|
71
|
-
}]
|
|
72
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
|
|
73
|
-
type: Inject,
|
|
74
|
-
args: [ElementRef]
|
|
75
|
-
}] }, { type: i3.Observable, decorators: [{
|
|
76
|
-
type: Inject,
|
|
77
|
-
args: [TUI_MODE]
|
|
78
|
-
}] }, { type: i4.TuiFocusVisibleService, decorators: [{
|
|
79
|
-
type: Inject,
|
|
80
|
-
args: [TuiFocusVisibleService]
|
|
81
|
-
}] }]; }, propDecorators: { pseudo: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}, {
|
|
84
|
-
type: HostBinding,
|
|
85
|
-
args: ['class._pseudo']
|
|
86
|
-
}], icon: [{
|
|
87
|
-
type: Input
|
|
88
|
-
}], iconAlign: [{
|
|
89
|
-
type: Input
|
|
90
|
-
}], iconRotated: [{
|
|
91
|
-
type: Input
|
|
92
|
-
}, {
|
|
93
|
-
type: HostBinding,
|
|
94
|
-
args: ['class._icon-rotated']
|
|
95
|
-
}], mode: [{
|
|
96
|
-
type: Input
|
|
97
|
-
}, {
|
|
98
|
-
type: HostBinding,
|
|
99
|
-
args: ['attr.data-host-mode']
|
|
100
|
-
}], focusVisible: [{
|
|
101
|
-
type: HostBinding,
|
|
102
|
-
args: ['class._focus-visible']
|
|
103
|
-
}] } });
|
|
104
|
-
|
|
105
|
-
class TuiLinkModule {
|
|
106
|
-
}
|
|
107
|
-
TuiLinkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLinkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
108
|
-
TuiLinkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLinkModule, declarations: [TuiLinkComponent], imports: [CommonModule, TuiSvgModule], exports: [TuiLinkComponent] });
|
|
109
|
-
TuiLinkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLinkModule, imports: [[CommonModule, TuiSvgModule]] });
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLinkModule, decorators: [{
|
|
111
|
-
type: NgModule,
|
|
112
|
-
args: [{
|
|
113
|
-
imports: [CommonModule, TuiSvgModule],
|
|
114
|
-
declarations: [TuiLinkComponent],
|
|
115
|
-
exports: [TuiLinkComponent],
|
|
116
|
-
}]
|
|
117
|
-
}] });
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* Generated bundle index. Do not edit.
|
|
121
|
-
*/
|
|
122
|
-
|
|
123
|
-
export { TuiLinkComponent, TuiLinkModule };
|
|
124
|
-
//# sourceMappingURL=taiga-ui-core-components-link.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-components-link.js","sources":["../../../projects/core/components/link/link.component.ts","../../../projects/core/components/link/link.template.html","../../../projects/core/components/link/link.module.ts","../../../projects/core/components/link/taiga-ui-core-components-link.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n Inject,\n Input,\n} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n ALWAYS_TRUE_HANDLER,\n tuiAsFocusableItemAccessor,\n TuiDestroyService,\n TuiFocusableElementAccessor,\n TuiFocusVisibleService,\n tuiIsNativeFocused,\n TuiNativeFocusableElement,\n tuiTypedFromEvent,\n} from '@taiga-ui/cdk';\nimport {MODE_PROVIDER} from '@taiga-ui/core/providers';\nimport {TUI_MODE} from '@taiga-ui/core/tokens';\nimport {TuiBrightness, TuiHorizontalDirection} from '@taiga-ui/core/types';\nimport {merge, Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n// @bad TODO: Think about extending Interactive\n@Component({\n selector: 'a[tuiLink], button[tuiLink]',\n templateUrl: './link.template.html',\n styleUrls: ['./link.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiLinkComponent),\n TuiFocusVisibleService,\n TuiDestroyService,\n MODE_PROVIDER,\n ],\n host: {\n '($.data-mode.attr)': 'mode$',\n },\n exportAs: 'tuiLink',\n})\nexport class TuiLinkComponent implements TuiFocusableElementAccessor {\n @Input()\n @HostBinding('class._pseudo')\n pseudo = false;\n\n @Input()\n icon = '';\n\n @Input()\n iconAlign: TuiHorizontalDirection = 'right';\n\n @Input()\n @HostBinding('class._icon-rotated')\n iconRotated = false;\n\n @Input()\n @HostBinding('attr.data-host-mode')\n mode: 'negative' | 'positive' | null = null;\n\n @HostBinding('class._focus-visible')\n focusVisible = false;\n\n readonly focusedChange = merge(\n tuiTypedFromEvent(this.el.nativeElement, 'focusin').pipe(\n map(ALWAYS_TRUE_HANDLER),\n ),\n tuiTypedFromEvent(this.el.nativeElement, 'focusout').pipe(\n map(ALWAYS_FALSE_HANDLER),\n ),\n );\n\n constructor(\n @Inject(ElementRef)\n private readonly el: ElementRef<TuiNativeFocusableElement>,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n @Inject(TuiFocusVisibleService)\n focusVisible$: TuiFocusVisibleService,\n ) {\n focusVisible$.subscribe(visible => {\n this.focusVisible = visible;\n });\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement {\n return this.el.nativeElement;\n }\n\n get focused(): boolean {\n return tuiIsNativeFocused(this.nativeFocusableElement);\n }\n\n get hasIcon(): boolean {\n return !!this.icon;\n }\n\n get iconAlignLeft(): boolean {\n return this.hasIcon && this.iconAlign === 'left';\n }\n\n get iconAlignRight(): boolean {\n return this.hasIcon && this.iconAlign === 'right';\n }\n}\n","<tui-svg\n *ngIf=\"iconAlignLeft\"\n class=\"t-icon t-icon_left\"\n [src]=\"icon || ''\"\n></tui-svg>\n<span class=\"t-content\">\n <ng-content></ng-content>\n</span>\n<tui-svg\n *ngIf=\"iconAlignRight\"\n class=\"t-icon t-icon_right\"\n [src]=\"icon || ''\"\n></tui-svg>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiSvgModule} from '@taiga-ui/core/components/svg';\n\nimport {TuiLinkComponent} from './link.component';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule],\n declarations: [TuiLinkComponent],\n exports: [TuiLinkComponent],\n})\nexport class TuiLinkModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import * as i1 from '@angular/common';
|
|
2
|
-
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
|
-
import { ElementRef, Component, ChangeDetectionStrategy, Inject, Input, HostBinding, NgModule } from '@angular/core';
|
|
5
|
-
import { tuiCreateToken, tuiProvideOptions, tuiIsSafari, tuiBlurNativeFocused, tuiIsNativeFocusedIn, TUI_IS_IOS } from '@taiga-ui/cdk';
|
|
6
|
-
import { tuiSizeBigger } from '@taiga-ui/core/utils/miscellaneous';
|
|
7
|
-
import * as i2 from '@tinkoff/ng-polymorpheus';
|
|
8
|
-
import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
|
|
9
|
-
|
|
10
|
-
/** Default values for the loader options. */
|
|
11
|
-
const TUI_LOADER_DEFAULT_OPTIONS = {
|
|
12
|
-
size: `m`,
|
|
13
|
-
inheritColor: false,
|
|
14
|
-
overlay: false,
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Default parameters for loader component
|
|
18
|
-
*/
|
|
19
|
-
const TUI_LOADER_OPTIONS = tuiCreateToken(TUI_LOADER_DEFAULT_OPTIONS);
|
|
20
|
-
function tuiLoaderOptionsProvider(options) {
|
|
21
|
-
return tuiProvideOptions(TUI_LOADER_OPTIONS, options, TUI_LOADER_DEFAULT_OPTIONS);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
class TuiLoaderComponent {
|
|
25
|
-
constructor(doc, el, isIos, options) {
|
|
26
|
-
this.doc = doc;
|
|
27
|
-
this.el = el;
|
|
28
|
-
this.isIos = isIos;
|
|
29
|
-
this.options = options;
|
|
30
|
-
this.size = this.options.size;
|
|
31
|
-
this.inheritColor = this.options.inheritColor;
|
|
32
|
-
this.overlay = this.options.overlay;
|
|
33
|
-
this.loading = true;
|
|
34
|
-
this.isApple = tuiIsSafari(this.el.nativeElement) || this.isIos;
|
|
35
|
-
}
|
|
36
|
-
set showLoader(value) {
|
|
37
|
-
// @bad TODO: https://github.com/angular/angular/issues/32083 think of a better way
|
|
38
|
-
if (value && this.focused) {
|
|
39
|
-
tuiBlurNativeFocused(this.doc);
|
|
40
|
-
}
|
|
41
|
-
this.loading = value;
|
|
42
|
-
}
|
|
43
|
-
get hasOverlay() {
|
|
44
|
-
return this.overlay && this.loading;
|
|
45
|
-
}
|
|
46
|
-
get hasText() {
|
|
47
|
-
return !!this.textContent;
|
|
48
|
-
}
|
|
49
|
-
get isHorizontal() {
|
|
50
|
-
return !tuiSizeBigger(this.size);
|
|
51
|
-
}
|
|
52
|
-
get focused() {
|
|
53
|
-
return tuiIsNativeFocusedIn(this.el.nativeElement);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
TuiLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLoaderComponent, deps: [{ token: DOCUMENT }, { token: ElementRef }, { token: TUI_IS_IOS }, { token: TUI_LOADER_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
57
|
-
TuiLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiLoaderComponent, selector: "tui-loader", inputs: { size: "size", inheritColor: "inheritColor", overlay: "overlay", textContent: "textContent", showLoader: "showLoader" }, host: { properties: { "class._loading": "this.loading" } }, ngImport: i0, template: "<fieldset\n class=\"t-content\"\n [attr.inert]=\"loading || null\"\n [class.t-content_has-overlay]=\"hasOverlay\"\n [class.t-content_loading]=\"loading\"\n [disabled]=\"loading && !isApple\"\n>\n <ng-content></ng-content>\n</fieldset>\n\n<div\n *ngIf=\"loading\"\n class=\"t-loader\"\n [attr.data-size]=\"size\"\n [class.t-loader_horizontal]=\"isHorizontal\"\n [class.t-loader_inherit-color]=\"inheritColor\"\n>\n <svg\n automation-id=\"tui-loader__loader\"\n focusable=\"false\"\n viewBox=\"0 0 100 100\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-icon\"\n >\n <circle\n cx=\"50\"\n cy=\"50\"\n r=\"50\"\n stroke-dasharray=\"314\"\n class=\"t-circle\"\n ></circle>\n </svg>\n\n <div\n *ngIf=\"hasText\"\n automation-id=\"tui-loader__text\"\n class=\"t-text\"\n [class.t-text_horizontal]=\"isHorizontal\"\n >\n <ng-container *polymorpheusOutlet=\"textContent as text\">\n {{ text }}\n </ng-container>\n </div>\n</div>\n", styles: ["@keyframes tuiLoaderDashOffset{0%{stroke-dashoffset:-66}50%{stroke-dashoffset:-314}to{stroke-dashoffset:-66}}@keyframes tuiLoaderRotate{0%{transform:rotate(0)}50%{transform:rotate(1turn)}to{transform:rotate(3turn)}}:host{position:relative;display:flex;min-width:1.5rem}:host._loading{overflow:hidden}.t-content{z-index:0;min-width:100%;height:100%;padding:0;margin:0;border:none}.t-content_has-overlay{opacity:.3}.t-content_loading{pointer-events:none}.t-loader{position:relative;left:-100%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:100%;flex-shrink:0;align-self:center;color:var(--tui-text-01);stroke:var(--tui-primary);animation:tuiFadeIn var(--tui-duration)}.t-loader.t-loader_horizontal{flex-direction:row}.t-loader.t-loader_inherit-color{color:inherit;stroke:currentColor}.t-loader[data-size=xs]{font-size:.75rem;stroke-width:38}.t-loader[data-size=s]{font-size:1rem;stroke-width:25}.t-loader[data-size=m]{font-size:1.5rem;stroke-width:17}.t-loader[data-size=l]{font-size:2.5rem;stroke-width:15}.t-loader[data-size=xl]{font-size:3.5rem;stroke-width:14}.t-loader[data-size=xxl]{font-size:5rem;stroke-width:10}.t-text{font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1rem;color:inherit;max-width:100%;text-align:center;stroke-width:0}.t-text_horizontal{margin:0 0 0 1rem}.t-icon{display:block;min-width:1em;max-width:1em;min-height:1em;max-height:1em;margin:.25rem -.5em;border-radius:100%;overflow:hidden;transform:scaleY(-1);animation:tuiLoaderRotate 3s linear infinite}@supports (-webkit-hyphens: none){.t-icon{overflow:visible}}.t-circle{fill:none;stroke:inherit;stroke-width:inherit;animation:tuiLoaderDashOffset 3s linear infinite}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLoaderComponent, decorators: [{
|
|
59
|
-
type: Component,
|
|
60
|
-
args: [{
|
|
61
|
-
selector: 'tui-loader',
|
|
62
|
-
templateUrl: './loader.template.html',
|
|
63
|
-
styleUrls: ['./loader.style.less'],
|
|
64
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
65
|
-
}]
|
|
66
|
-
}], ctorParameters: function () { return [{ type: Document, decorators: [{
|
|
67
|
-
type: Inject,
|
|
68
|
-
args: [DOCUMENT]
|
|
69
|
-
}] }, { type: i0.ElementRef, decorators: [{
|
|
70
|
-
type: Inject,
|
|
71
|
-
args: [ElementRef]
|
|
72
|
-
}] }, { type: undefined, decorators: [{
|
|
73
|
-
type: Inject,
|
|
74
|
-
args: [TUI_IS_IOS]
|
|
75
|
-
}] }, { type: undefined, decorators: [{
|
|
76
|
-
type: Inject,
|
|
77
|
-
args: [TUI_LOADER_OPTIONS]
|
|
78
|
-
}] }]; }, propDecorators: { size: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], inheritColor: [{
|
|
81
|
-
type: Input
|
|
82
|
-
}], overlay: [{
|
|
83
|
-
type: Input
|
|
84
|
-
}], textContent: [{
|
|
85
|
-
type: Input
|
|
86
|
-
}], showLoader: [{
|
|
87
|
-
type: Input
|
|
88
|
-
}], loading: [{
|
|
89
|
-
type: HostBinding,
|
|
90
|
-
args: ['class._loading']
|
|
91
|
-
}] } });
|
|
92
|
-
|
|
93
|
-
class TuiLoaderModule {
|
|
94
|
-
}
|
|
95
|
-
TuiLoaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
96
|
-
TuiLoaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLoaderModule, declarations: [TuiLoaderComponent], imports: [CommonModule, PolymorpheusModule], exports: [TuiLoaderComponent] });
|
|
97
|
-
TuiLoaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLoaderModule, imports: [[CommonModule, PolymorpheusModule]] });
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLoaderModule, decorators: [{
|
|
99
|
-
type: NgModule,
|
|
100
|
-
args: [{
|
|
101
|
-
imports: [CommonModule, PolymorpheusModule],
|
|
102
|
-
declarations: [TuiLoaderComponent],
|
|
103
|
-
exports: [TuiLoaderComponent],
|
|
104
|
-
}]
|
|
105
|
-
}] });
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Generated bundle index. Do not edit.
|
|
109
|
-
*/
|
|
110
|
-
|
|
111
|
-
export { TUI_LOADER_DEFAULT_OPTIONS, TUI_LOADER_OPTIONS, TuiLoaderComponent, TuiLoaderModule, tuiLoaderOptionsProvider };
|
|
112
|
-
//# sourceMappingURL=taiga-ui-core-components-loader.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-components-loader.js","sources":["../../../projects/core/components/loader/loader.options.ts","../../../projects/core/components/loader/loader.component.ts","../../../projects/core/components/loader/loader.template.html","../../../projects/core/components/loader/loader.module.ts","../../../projects/core/components/loader/taiga-ui-core-components-loader.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {tuiCreateToken, tuiProvideOptions} from '@taiga-ui/cdk';\nimport {TuiSizeXS, TuiSizeXXL} from '@taiga-ui/core/types';\n\nexport interface TuiLoaderOptions {\n readonly inheritColor: boolean;\n readonly overlay: boolean;\n readonly size: TuiSizeXS | TuiSizeXXL;\n}\n\n/** Default values for the loader options. */\nexport const TUI_LOADER_DEFAULT_OPTIONS: TuiLoaderOptions = {\n size: `m`,\n inheritColor: false,\n overlay: false,\n};\n\n/**\n * Default parameters for loader component\n */\nexport const TUI_LOADER_OPTIONS = tuiCreateToken(TUI_LOADER_DEFAULT_OPTIONS);\n\nexport function tuiLoaderOptionsProvider(options: Partial<TuiLoaderOptions>): Provider {\n return tuiProvideOptions(TUI_LOADER_OPTIONS, options, TUI_LOADER_DEFAULT_OPTIONS);\n}\n","import {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n Inject,\n Input,\n} from '@angular/core';\nimport {\n TUI_IS_IOS,\n tuiBlurNativeFocused,\n tuiIsNativeFocusedIn,\n tuiIsSafari,\n} from '@taiga-ui/cdk';\nimport {tuiSizeBigger} from '@taiga-ui/core/utils/miscellaneous';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nimport {TUI_LOADER_OPTIONS, TuiLoaderOptions} from './loader.options';\n\n@Component({\n selector: 'tui-loader',\n templateUrl: './loader.template.html',\n styleUrls: ['./loader.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiLoaderComponent {\n @Input()\n size = this.options.size;\n\n @Input()\n inheritColor = this.options.inheritColor;\n\n @Input()\n overlay = this.options.overlay;\n\n @Input()\n textContent: PolymorpheusContent;\n\n @Input()\n set showLoader(value: boolean) {\n // @bad TODO: https://github.com/angular/angular/issues/32083 think of a better way\n if (value && this.focused) {\n tuiBlurNativeFocused(this.doc);\n }\n\n this.loading = value;\n }\n\n @HostBinding('class._loading')\n loading = true;\n\n readonly isApple = tuiIsSafari(this.el.nativeElement) || this.isIos;\n\n constructor(\n @Inject(DOCUMENT) private readonly doc: Document,\n @Inject(ElementRef) private readonly el: ElementRef<HTMLElement>,\n @Inject(TUI_IS_IOS) private readonly isIos: boolean,\n @Inject(TUI_LOADER_OPTIONS) private readonly options: TuiLoaderOptions,\n ) {}\n\n get hasOverlay(): boolean {\n return this.overlay && this.loading;\n }\n\n get hasText(): boolean {\n return !!this.textContent;\n }\n\n get isHorizontal(): boolean {\n return !tuiSizeBigger(this.size);\n }\n\n get focused(): boolean {\n return tuiIsNativeFocusedIn(this.el.nativeElement);\n }\n}\n","<fieldset\n class=\"t-content\"\n [attr.inert]=\"loading || null\"\n [class.t-content_has-overlay]=\"hasOverlay\"\n [class.t-content_loading]=\"loading\"\n [disabled]=\"loading && !isApple\"\n>\n <ng-content></ng-content>\n</fieldset>\n\n<div\n *ngIf=\"loading\"\n class=\"t-loader\"\n [attr.data-size]=\"size\"\n [class.t-loader_horizontal]=\"isHorizontal\"\n [class.t-loader_inherit-color]=\"inheritColor\"\n>\n <svg\n automation-id=\"tui-loader__loader\"\n focusable=\"false\"\n viewBox=\"0 0 100 100\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-icon\"\n >\n <circle\n cx=\"50\"\n cy=\"50\"\n r=\"50\"\n stroke-dasharray=\"314\"\n class=\"t-circle\"\n ></circle>\n </svg>\n\n <div\n *ngIf=\"hasText\"\n automation-id=\"tui-loader__text\"\n class=\"t-text\"\n [class.t-text_horizontal]=\"isHorizontal\"\n >\n <ng-container *polymorpheusOutlet=\"textContent as text\">\n {{ text }}\n </ng-container>\n </div>\n</div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiLoaderComponent} from './loader.component';\n\n@NgModule({\n imports: [CommonModule, PolymorpheusModule],\n declarations: [TuiLoaderComponent],\n exports: [TuiLoaderComponent],\n})\nexport class TuiLoaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, ChangeDetectionStrategy, Inject, Input, HostBinding, Output, NgModule } from '@angular/core';
|
|
3
|
-
import { tuiIsObserved } from '@taiga-ui/cdk';
|
|
4
|
-
import { TUI_CLOSE_WORD, TUI_COMMON_ICONS, TUI_NOTIFICATION_OPTIONS } from '@taiga-ui/core/tokens';
|
|
5
|
-
import * as i1 from '@taiga-ui/core/components/svg';
|
|
6
|
-
import { TuiSvgModule } from '@taiga-ui/core/components/svg';
|
|
7
|
-
import * as i2 from '@taiga-ui/core/components/button';
|
|
8
|
-
import { TuiButtonModule } from '@taiga-ui/core/components/button';
|
|
9
|
-
import * as i3 from '@angular/common';
|
|
10
|
-
import { CommonModule } from '@angular/common';
|
|
11
|
-
import * as i4 from '@tinkoff/ng-polymorpheus';
|
|
12
|
-
import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
|
|
13
|
-
import * as i5 from 'rxjs';
|
|
14
|
-
|
|
15
|
-
class TuiNotificationComponent {
|
|
16
|
-
constructor(closeWord$, icons, options) {
|
|
17
|
-
this.closeWord$ = closeWord$;
|
|
18
|
-
this.icons = icons;
|
|
19
|
-
this.options = options;
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated Use {@link TuiNotificationComponent.icon} input or TUI_NOTIFICATION_OPTIONS instead
|
|
22
|
-
*/
|
|
23
|
-
this.hasIcon = this.options.hasIcon;
|
|
24
|
-
this.icon = this.options.icon;
|
|
25
|
-
this.status = this.options.status;
|
|
26
|
-
this.size = this.options.size;
|
|
27
|
-
this.hideClose = false;
|
|
28
|
-
this.close = new EventEmitter();
|
|
29
|
-
}
|
|
30
|
-
get hasClose() {
|
|
31
|
-
return !this.hideClose && tuiIsObserved(this.close);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
TuiNotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiNotificationComponent, deps: [{ token: TUI_CLOSE_WORD }, { token: TUI_COMMON_ICONS }, { token: TUI_NOTIFICATION_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
-
TuiNotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiNotificationComponent, selector: "tui-notification", inputs: { hasIcon: "hasIcon", icon: "icon", status: "status", size: "size", hideClose: "hideClose" }, outputs: { close: "close" }, host: { properties: { "attr.data-status": "this.status", "attr.data-size": "this.size" } }, ngImport: i0, template: "<ng-container *ngIf=\"icon && hasIcon\">\n <tui-svg\n *polymorpheusOutlet=\"icon as iconName; context: {$implicit: status}\"\n automation-id=\"tui-notification__icon\"\n class=\"t-icon\"\n [src]=\"iconName\"\n ></tui-svg>\n</ng-container>\n\n<div class=\"t-content\">\n <ng-content></ng-content>\n</div>\n<button\n *ngIf=\"hasClose\"\n appearance=\"icon\"\n automation-id=\"tui-notification__close\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [icon]=\"icons.close\"\n [title]=\"closeWord$ | async\"\n (click)=\"close.emit()\"\n></button>\n", styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:flex;padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-base-01);box-sizing:border-box;overflow:hidden}:host[data-size=s]{padding:.375rem .625rem}:host[data-size=s] .t-icon{width:1rem;height:1.25rem;margin:0 .375rem 0 -.125rem}:host[data-size=s] .t-close{margin:-.125rem -.375rem -.125rem .75rem}:host[data-size=m]{padding:.75rem}:host[data-size=m] .t-icon{width:1.25rem;height:1.25rem;margin-right:.5rem}:host[data-size=m] .t-close{margin:-.125rem -.125rem -.125rem 1rem}:host[data-size=l]{padding:1rem;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l)}:host[data-size=l] .t-icon{width:1.5rem;height:1.5rem;margin-right:.5rem}:host[data-status=info]{color:var(--tui-info-fill);background:linear-gradient(var(--tui-info-bg),var(--tui-info-bg)),var(--tui-base-01)}:host[data-status=success]{color:var(--tui-success-fill);background:linear-gradient(var(--tui-success-bg),var(--tui-success-bg)),var(--tui-base-01)}:host[data-status=error]{color:var(--tui-error-fill);background:linear-gradient(var(--tui-error-bg),var(--tui-error-bg)),var(--tui-base-01)}:host[data-status=warning]{color:var(--tui-warning-fill);background:linear-gradient(var(--tui-warning-bg),var(--tui-warning-bg)),var(--tui-base-01)}:host[data-status=neutral]{color:var(--tui-neutral-fill);background:linear-gradient(var(--tui-neutral-bg),var(--tui-neutral-bg)),var(--tui-base-01)}.t-content{flex:1;word-wrap:break-word;overflow-wrap:anywhere;color:var(--tui-text-01)}\n"], components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: i2.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "async": i3.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiNotificationComponent, decorators: [{
|
|
37
|
-
type: Component,
|
|
38
|
-
args: [{
|
|
39
|
-
selector: 'tui-notification',
|
|
40
|
-
templateUrl: './notification.template.html',
|
|
41
|
-
styleUrls: ['./notification.style.less'],
|
|
42
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
43
|
-
}]
|
|
44
|
-
}], ctorParameters: function () { return [{ type: i5.Observable, decorators: [{
|
|
45
|
-
type: Inject,
|
|
46
|
-
args: [TUI_CLOSE_WORD]
|
|
47
|
-
}] }, { type: undefined, decorators: [{
|
|
48
|
-
type: Inject,
|
|
49
|
-
args: [TUI_COMMON_ICONS]
|
|
50
|
-
}] }, { type: undefined, decorators: [{
|
|
51
|
-
type: Inject,
|
|
52
|
-
args: [TUI_NOTIFICATION_OPTIONS]
|
|
53
|
-
}] }]; }, propDecorators: { hasIcon: [{
|
|
54
|
-
type: Input
|
|
55
|
-
}], icon: [{
|
|
56
|
-
type: Input
|
|
57
|
-
}], status: [{
|
|
58
|
-
type: Input
|
|
59
|
-
}, {
|
|
60
|
-
type: HostBinding,
|
|
61
|
-
args: ['attr.data-status']
|
|
62
|
-
}], size: [{
|
|
63
|
-
type: Input
|
|
64
|
-
}, {
|
|
65
|
-
type: HostBinding,
|
|
66
|
-
args: ['attr.data-size']
|
|
67
|
-
}], hideClose: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], close: [{
|
|
70
|
-
type: Output
|
|
71
|
-
}] } });
|
|
72
|
-
|
|
73
|
-
class TuiNotificationModule {
|
|
74
|
-
}
|
|
75
|
-
TuiNotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
76
|
-
TuiNotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiNotificationModule, declarations: [TuiNotificationComponent], imports: [CommonModule, TuiSvgModule, TuiButtonModule, PolymorpheusModule], exports: [TuiNotificationComponent] });
|
|
77
|
-
TuiNotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiNotificationModule, imports: [[CommonModule, TuiSvgModule, TuiButtonModule, PolymorpheusModule]] });
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiNotificationModule, decorators: [{
|
|
79
|
-
type: NgModule,
|
|
80
|
-
args: [{
|
|
81
|
-
imports: [CommonModule, TuiSvgModule, TuiButtonModule, PolymorpheusModule],
|
|
82
|
-
declarations: [TuiNotificationComponent],
|
|
83
|
-
exports: [TuiNotificationComponent],
|
|
84
|
-
}]
|
|
85
|
-
}] });
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Generated bundle index. Do not edit.
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
export { TuiNotificationComponent, TuiNotificationModule };
|
|
92
|
-
//# sourceMappingURL=taiga-ui-core-components-notification.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-components-notification.js","sources":["../../../projects/core/components/notification/notification.component.ts","../../../projects/core/components/notification/notification.template.html","../../../projects/core/components/notification/notification.module.ts","../../../projects/core/components/notification/taiga-ui-core-components-notification.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n Output,\n} from '@angular/core';\nimport {tuiIsObserved} from '@taiga-ui/cdk';\nimport {\n TUI_CLOSE_WORD,\n TUI_COMMON_ICONS,\n TUI_NOTIFICATION_OPTIONS,\n TuiCommonIcons,\n TuiNotificationDefaultOptions,\n} from '@taiga-ui/core/tokens';\nimport {TuiNotificationT} from '@taiga-ui/core/types';\nimport {Observable} from 'rxjs';\n\n@Component({\n selector: 'tui-notification',\n templateUrl: './notification.template.html',\n styleUrls: ['./notification.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiNotificationComponent {\n /**\n * @deprecated Use {@link TuiNotificationComponent.icon} input or TUI_NOTIFICATION_OPTIONS instead\n */\n @Input()\n hasIcon = this.options.hasIcon;\n\n @Input()\n icon = this.options.icon;\n\n @Input()\n @HostBinding('attr.data-status')\n status: TuiNotificationT = this.options.status;\n\n @Input()\n @HostBinding('attr.data-size')\n size = this.options.size;\n\n @Input()\n hideClose = false;\n\n @Output()\n // eslint-disable-next-line @angular-eslint/no-output-native\n readonly close = new EventEmitter<void>();\n\n constructor(\n @Inject(TUI_CLOSE_WORD) readonly closeWord$: Observable<string>,\n @Inject(TUI_COMMON_ICONS) readonly icons: TuiCommonIcons,\n @Inject(TUI_NOTIFICATION_OPTIONS) readonly options: TuiNotificationDefaultOptions,\n ) {}\n\n get hasClose(): boolean {\n return !this.hideClose && tuiIsObserved(this.close);\n }\n}\n","<ng-container *ngIf=\"icon && hasIcon\">\n <tui-svg\n *polymorpheusOutlet=\"icon as iconName; context: {$implicit: status}\"\n automation-id=\"tui-notification__icon\"\n class=\"t-icon\"\n [src]=\"iconName\"\n ></tui-svg>\n</ng-container>\n\n<div class=\"t-content\">\n <ng-content></ng-content>\n</div>\n<button\n *ngIf=\"hasClose\"\n appearance=\"icon\"\n automation-id=\"tui-notification__close\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [icon]=\"icons.close\"\n [title]=\"closeWord$ | async\"\n (click)=\"close.emit()\"\n></button>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiButtonModule} from '@taiga-ui/core/components/button';\nimport {TuiSvgModule} from '@taiga-ui/core/components/svg';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiNotificationComponent} from './notification.component';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule, TuiButtonModule, PolymorpheusModule],\n declarations: [TuiNotificationComponent],\n exports: [TuiNotificationComponent],\n})\nexport class TuiNotificationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, ChangeDetectionStrategy, Inject, Input, Output, HostBinding, NgModule } from '@angular/core';
|
|
3
|
-
import * as i2 from '@taiga-ui/cdk';
|
|
4
|
-
import { TuiDay, TuiMonth, ALWAYS_FALSE_HANDLER, TuiDayRange, tuiNullableSame, TuiLetModule, TuiMapperPipeModule, TuiRepeatTimesModule, TuiHoveredModule, TuiPressedModule } from '@taiga-ui/cdk';
|
|
5
|
-
import { TUI_DEFAULT_MARKER_HANDLER } from '@taiga-ui/core/constants';
|
|
6
|
-
import { TuiInteractiveState, TuiRangeState } from '@taiga-ui/core/enums';
|
|
7
|
-
import { TUI_SHORT_WEEK_DAYS, TUI_DAY_TYPE_HANDLER } from '@taiga-ui/core/tokens';
|
|
8
|
-
import * as i1 from '@angular/common';
|
|
9
|
-
import { CommonModule } from '@angular/common';
|
|
10
|
-
import * as i3 from '@taiga-ui/core/pipes';
|
|
11
|
-
import { TuiCalendarSheetPipeModule, TuiOrderWeekDaysPipeModule } from '@taiga-ui/core/pipes';
|
|
12
|
-
|
|
13
|
-
class TuiPrimitiveCalendarComponent {
|
|
14
|
-
constructor(unorderedWeekDays$, dayTypeHandler) {
|
|
15
|
-
this.unorderedWeekDays$ = unorderedWeekDays$;
|
|
16
|
-
this.dayTypeHandler = dayTypeHandler;
|
|
17
|
-
this.pressedItem = null;
|
|
18
|
-
this.today = TuiDay.currentLocal();
|
|
19
|
-
this.month = TuiMonth.currentLocal();
|
|
20
|
-
this.disabledItemHandler = ALWAYS_FALSE_HANDLER;
|
|
21
|
-
this.markerHandler = TUI_DEFAULT_MARKER_HANDLER;
|
|
22
|
-
this.value = null;
|
|
23
|
-
this.hoveredItem = null;
|
|
24
|
-
this.showAdjacent = true;
|
|
25
|
-
this.hoveredItemChange = new EventEmitter();
|
|
26
|
-
this.dayClick = new EventEmitter();
|
|
27
|
-
this.toMarkers = (day, today, inRange) => {
|
|
28
|
-
if (today || inRange) {
|
|
29
|
-
return null;
|
|
30
|
-
}
|
|
31
|
-
const markers = this.markerHandler(day);
|
|
32
|
-
return markers.length === 0 ? null : markers;
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
get isSingleDayRange() {
|
|
36
|
-
return this.value instanceof TuiDayRange && this.value.isSingleDay;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated: use {@link this.isSingleDayRange}
|
|
40
|
-
*/
|
|
41
|
-
get isSingle() {
|
|
42
|
-
return this.isSingleDayRange;
|
|
43
|
-
}
|
|
44
|
-
getItemState(item) {
|
|
45
|
-
const { disabledItemHandler, pressedItem, hoveredItem } = this;
|
|
46
|
-
if (disabledItemHandler(item)) {
|
|
47
|
-
return TuiInteractiveState.Disabled;
|
|
48
|
-
}
|
|
49
|
-
if (pressedItem === null || pressedItem === void 0 ? void 0 : pressedItem.daySame(item)) {
|
|
50
|
-
return TuiInteractiveState.Active;
|
|
51
|
-
}
|
|
52
|
-
if (hoveredItem === null || hoveredItem === void 0 ? void 0 : hoveredItem.daySame(item)) {
|
|
53
|
-
return TuiInteractiveState.Hover;
|
|
54
|
-
}
|
|
55
|
-
return null;
|
|
56
|
-
}
|
|
57
|
-
getItemRange(item) {
|
|
58
|
-
const { value, hoveredItem } = this;
|
|
59
|
-
if (!value) {
|
|
60
|
-
return null;
|
|
61
|
-
}
|
|
62
|
-
if (value instanceof TuiDay) {
|
|
63
|
-
return value.daySame(item) ? TuiRangeState.Single : null;
|
|
64
|
-
}
|
|
65
|
-
if (!(value instanceof TuiDayRange)) {
|
|
66
|
-
return value.find(day => day.daySame(item)) ? TuiRangeState.Single : null;
|
|
67
|
-
}
|
|
68
|
-
if ((value.from.daySame(item) && !value.isSingleDay) ||
|
|
69
|
-
((hoveredItem === null || hoveredItem === void 0 ? void 0 : hoveredItem.dayAfter(value.from)) &&
|
|
70
|
-
value.from.daySame(item) &&
|
|
71
|
-
value.isSingleDay) ||
|
|
72
|
-
((hoveredItem === null || hoveredItem === void 0 ? void 0 : hoveredItem.daySame(item)) &&
|
|
73
|
-
hoveredItem.dayBefore(value.from) &&
|
|
74
|
-
value.isSingleDay)) {
|
|
75
|
-
return TuiRangeState.Start;
|
|
76
|
-
}
|
|
77
|
-
if ((value.to.daySame(item) && !value.isSingleDay) ||
|
|
78
|
-
((hoveredItem === null || hoveredItem === void 0 ? void 0 : hoveredItem.dayBefore(value.from)) &&
|
|
79
|
-
value.from.daySame(item) &&
|
|
80
|
-
value.isSingleDay) ||
|
|
81
|
-
((hoveredItem === null || hoveredItem === void 0 ? void 0 : hoveredItem.daySame(item)) &&
|
|
82
|
-
hoveredItem.dayAfter(value.from) &&
|
|
83
|
-
value.isSingleDay)) {
|
|
84
|
-
return TuiRangeState.End;
|
|
85
|
-
}
|
|
86
|
-
return value.isSingleDay && value.from.daySame(item)
|
|
87
|
-
? TuiRangeState.Single
|
|
88
|
-
: null;
|
|
89
|
-
}
|
|
90
|
-
itemIsToday(item) {
|
|
91
|
-
return this.today.daySame(item);
|
|
92
|
-
}
|
|
93
|
-
itemIsUnavailable(item) {
|
|
94
|
-
return !this.month.monthSame(item);
|
|
95
|
-
}
|
|
96
|
-
itemIsInterval(day) {
|
|
97
|
-
const { value, hoveredItem } = this;
|
|
98
|
-
if (!(value instanceof TuiDayRange)) {
|
|
99
|
-
return false;
|
|
100
|
-
}
|
|
101
|
-
if (!value.isSingleDay) {
|
|
102
|
-
return value.from.daySameOrBefore(day) && value.to.dayAfter(day);
|
|
103
|
-
}
|
|
104
|
-
if (hoveredItem === null) {
|
|
105
|
-
return false;
|
|
106
|
-
}
|
|
107
|
-
const range = TuiDayRange.sort(value.from, hoveredItem);
|
|
108
|
-
return range.from.daySameOrBefore(day) && range.to.dayAfter(day);
|
|
109
|
-
}
|
|
110
|
-
onItemHovered(item) {
|
|
111
|
-
this.updateHoveredItem(item || null);
|
|
112
|
-
}
|
|
113
|
-
onItemPressed(item) {
|
|
114
|
-
this.pressedItem = item || null;
|
|
115
|
-
}
|
|
116
|
-
onItemClick(item) {
|
|
117
|
-
this.dayClick.emit(item);
|
|
118
|
-
}
|
|
119
|
-
updateHoveredItem(day) {
|
|
120
|
-
if (tuiNullableSame(this.hoveredItem, day, (a, b) => a.daySame(b))) {
|
|
121
|
-
return;
|
|
122
|
-
}
|
|
123
|
-
this.hoveredItem = day;
|
|
124
|
-
this.hoveredItemChange.emit(day);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
TuiPrimitiveCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPrimitiveCalendarComponent, deps: [{ token: TUI_SHORT_WEEK_DAYS }, { token: TUI_DAY_TYPE_HANDLER }], target: i0.ɵɵFactoryTarget.Component });
|
|
128
|
-
TuiPrimitiveCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPrimitiveCalendarComponent, selector: "tui-primitive-calendar", inputs: { month: "month", disabledItemHandler: "disabledItemHandler", markerHandler: "markerHandler", value: "value", hoveredItem: "hoveredItem", showAdjacent: "showAdjacent" }, outputs: { hoveredItemChange: "hoveredItemChange", dayClick: "dayClick" }, host: { properties: { "class._single": "this.isSingleDayRange" } }, ngImport: i0, template: "<div class=\"t-row t-row_weekday\">\n <div\n *ngFor=\"let day of unorderedWeekDays$ | tuiOrderWeekDays | async\"\n class=\"t-cell\"\n [textContent]=\"day\"\n ></div>\n</div>\n<div\n *tuiLet=\"month | tuiCalendarSheet: true as sheet\"\n id=\"date-rows\"\n>\n <div\n *tuiRepeatTimes=\"let rowIndex of sheet.length\"\n automation-id=\"tui-primitive-calendar__row\"\n class=\"t-row\"\n >\n <ng-container *tuiRepeatTimes=\"let colIndex of sheet[rowIndex].length\">\n <ng-container *tuiLet=\"sheet[rowIndex][colIndex] as item\">\n <div\n *ngIf=\"!itemIsUnavailable(item) || showAdjacent\"\n automation-id=\"tui-primitive-calendar__cell\"\n class=\"t-cell\"\n [attr.data-range]=\"getItemRange(item)\"\n [attr.data-state]=\"getItemState(item)\"\n [class.t-cell_interval]=\"itemIsInterval(item)\"\n [class.t-cell_today]=\"itemIsToday(item)\"\n [class.t-cell_unavailable]=\"itemIsUnavailable(item)\"\n (click)=\"onItemClick(item)\"\n (tuiHoveredChange)=\"onItemHovered($event && item)\"\n (tuiPressedChange)=\"onItemPressed($event && item)\"\n >\n <div\n automation-id=\"tui-primitive-calendar__item\"\n class=\"t-item\"\n [attr.data-type]=\"item | tuiMapper: dayTypeHandler\"\n [class.t-item_unavailable]=\"itemIsUnavailable(item)\"\n >\n {{ item.day }}\n <div\n *ngIf=\"item | tuiMapper: toMarkers : itemIsToday(item) : !!getItemRange(item) as markers\"\n class=\"t-dots\"\n >\n <div\n class=\"t-dot\"\n [style.backgroundColor]=\"markers?.[0]\"\n ></div>\n <div\n *ngIf=\"markers.length > 1\"\n class=\"t-dot\"\n [style.backgroundColor]=\"markers?.[1] || ''\"\n ></div>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n</div>\n", styles: [":host{display:block;font:var(--tui-font-text-m)}.t-row{position:relative;display:flex;justify-content:space-between;height:2.25rem;isolation:isolate}.t-item{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item:before,.t-item:after{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-item:after{border-radius:.5rem}.t-cell{position:relative;display:flex;align-items:center;justify-content:center;width:2.25rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem solid transparent}.t-cell:before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today:after{position:absolute;left:50%;transform:translate(-50%);content:\"\";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background-color:var(--tui-text-01)}.t-cell_interval:before{background:var(--tui-base-02)}:host._single .t-cell_interval:before{background:var(--tui-secondary-hover)}.t-cell_interval:not(:last-child):before{right:-.25rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval:not([data-range=\"start\"]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell_interval:last-child:first-child:before{right:0}.t-cell_interval:first-child>.t-item{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval:last-child>.t-item{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval>.t-item{border-radius:0}.t-cell[data-range]:after{background-color:var(--tui-primary-text)}.t-cell[data-range]>.t-item{color:var(--tui-primary-text)}.t-cell[data-range]>.t-item:before,.t-cell[data-range]>.t-item:after{background-color:var(--tui-primary)}.t-cell[data-range][data-state=hover]>.t-item:before,.t-cell[data-range][data-state=hover]>.t-item:after{background-color:var(--tui-primary-hover)}.t-cell[data-range][data-state=active]>.t-item:before,.t-cell[data-range][data-state=active]>.t-item:after{background-color:var(--tui-primary-active)}.t-cell[data-range=end]:before{background:var(--tui-base-02)}:host._single .t-cell[data-range=end]:before{background:var(--tui-secondary-hover)}.t-cell[data-range=end]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start]>.t-item:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start]>.t-item:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single]>.t-item:after{display:none}.t-cell[data-state=disabled]{pointer-events:none}.t-cell[data-state=disabled]>.t-item{opacity:.36}.t-cell[data-state=hover]:hover:not([data-range])>.t-item{background-color:var(--tui-secondary-hover)}.t-cell[data-state=active]:hover:not([data-range])>.t-item{background-color:var(--tui-secondary-active)}:host{width:15.75rem}.t-row{justify-content:flex-start}.t-row:first-child{justify-content:flex-end}.t-row_weekday{font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none}.t-item{display:flex;flex-direction:column}.t-item_unavailable{opacity:var(--tui-disabled-opacity)}.t-dots{display:flex;justify-content:center;margin-top:-.5rem;padding-bottom:.25rem}.t-dot{display:inline-block;width:.25rem;height:.25rem;border-radius:100%;margin:0 .0625rem}\n"], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { type: i2.TuiRepeatTimesDirective, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: ["tuiRepeatTimesOf"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.TuiHoveredDirective, selector: "[tuiHoveredChange]", outputs: ["tuiHoveredChange"] }, { type: i2.TuiPressedDirective, selector: "[tuiPressedChange]", outputs: ["tuiPressedChange"] }], pipes: { "async": i1.AsyncPipe, "tuiOrderWeekDays": i3.TuiOrderWeekDaysPipe, "tuiCalendarSheet": i3.TuiCalendarSheetPipe, "tuiMapper": i2.TuiMapperPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPrimitiveCalendarComponent, decorators: [{
|
|
130
|
-
type: Component,
|
|
131
|
-
args: [{
|
|
132
|
-
selector: 'tui-primitive-calendar',
|
|
133
|
-
templateUrl: './primitive-calendar.template.html',
|
|
134
|
-
styleUrls: ['./primitive-calendar.style.less'],
|
|
135
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
136
|
-
}]
|
|
137
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
138
|
-
type: Inject,
|
|
139
|
-
args: [TUI_SHORT_WEEK_DAYS]
|
|
140
|
-
}] }, { type: undefined, decorators: [{
|
|
141
|
-
type: Inject,
|
|
142
|
-
args: [TUI_DAY_TYPE_HANDLER]
|
|
143
|
-
}] }]; }, propDecorators: { month: [{
|
|
144
|
-
type: Input
|
|
145
|
-
}], disabledItemHandler: [{
|
|
146
|
-
type: Input
|
|
147
|
-
}], markerHandler: [{
|
|
148
|
-
type: Input
|
|
149
|
-
}], value: [{
|
|
150
|
-
type: Input
|
|
151
|
-
}], hoveredItem: [{
|
|
152
|
-
type: Input
|
|
153
|
-
}], showAdjacent: [{
|
|
154
|
-
type: Input
|
|
155
|
-
}], hoveredItemChange: [{
|
|
156
|
-
type: Output
|
|
157
|
-
}], dayClick: [{
|
|
158
|
-
type: Output
|
|
159
|
-
}], isSingleDayRange: [{
|
|
160
|
-
type: HostBinding,
|
|
161
|
-
args: ['class._single']
|
|
162
|
-
}] } });
|
|
163
|
-
|
|
164
|
-
class TuiPrimitiveCalendarModule {
|
|
165
|
-
}
|
|
166
|
-
TuiPrimitiveCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPrimitiveCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
167
|
-
TuiPrimitiveCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPrimitiveCalendarModule, declarations: [TuiPrimitiveCalendarComponent], imports: [CommonModule,
|
|
168
|
-
TuiLetModule,
|
|
169
|
-
TuiMapperPipeModule,
|
|
170
|
-
TuiRepeatTimesModule,
|
|
171
|
-
TuiHoveredModule,
|
|
172
|
-
TuiPressedModule,
|
|
173
|
-
TuiCalendarSheetPipeModule,
|
|
174
|
-
TuiOrderWeekDaysPipeModule], exports: [TuiPrimitiveCalendarComponent] });
|
|
175
|
-
TuiPrimitiveCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPrimitiveCalendarModule, imports: [[
|
|
176
|
-
CommonModule,
|
|
177
|
-
TuiLetModule,
|
|
178
|
-
TuiMapperPipeModule,
|
|
179
|
-
TuiRepeatTimesModule,
|
|
180
|
-
TuiHoveredModule,
|
|
181
|
-
TuiPressedModule,
|
|
182
|
-
TuiCalendarSheetPipeModule,
|
|
183
|
-
TuiOrderWeekDaysPipeModule,
|
|
184
|
-
]] });
|
|
185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPrimitiveCalendarModule, decorators: [{
|
|
186
|
-
type: NgModule,
|
|
187
|
-
args: [{
|
|
188
|
-
imports: [
|
|
189
|
-
CommonModule,
|
|
190
|
-
TuiLetModule,
|
|
191
|
-
TuiMapperPipeModule,
|
|
192
|
-
TuiRepeatTimesModule,
|
|
193
|
-
TuiHoveredModule,
|
|
194
|
-
TuiPressedModule,
|
|
195
|
-
TuiCalendarSheetPipeModule,
|
|
196
|
-
TuiOrderWeekDaysPipeModule,
|
|
197
|
-
],
|
|
198
|
-
declarations: [TuiPrimitiveCalendarComponent],
|
|
199
|
-
exports: [TuiPrimitiveCalendarComponent],
|
|
200
|
-
}]
|
|
201
|
-
}] });
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* Generated bundle index. Do not edit.
|
|
205
|
-
*/
|
|
206
|
-
|
|
207
|
-
export { TuiPrimitiveCalendarComponent, TuiPrimitiveCalendarModule };
|
|
208
|
-
//# sourceMappingURL=taiga-ui-core-components-primitive-calendar.js.map
|