@taiga-ui/core 3.58.0 → 3.59.0-canary.10da730
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/abstract/abstract-driver.directive.d.ts +1 -1
- package/abstract/abstract-textfield-host.d.ts +1 -1
- package/abstract/rect-accessor.d.ts +1 -1
- package/components/alert/alert.component.d.ts +1 -1
- package/components/alert/alert.directive.d.ts +1 -1
- package/components/button/button.component.d.ts +1 -1
- package/components/calendar/calendar.component.d.ts +1 -1
- package/components/data-list/data-list.component.d.ts +1 -1
- package/components/data-list/data-list.directive.d.ts +1 -1
- package/components/data-list/opt-group.directive.d.ts +1 -1
- package/components/data-list/option/option.component.d.ts +1 -1
- package/components/dialog/dialog.component.d.ts +2 -2
- package/components/dialog/dialog.directive.d.ts +1 -1
- package/components/dialog/dialog.tokens.d.ts +1 -1
- package/components/error/error.component.d.ts +1 -1
- package/components/expand/expand-content.directive.d.ts +1 -1
- package/components/expand/expand.component.d.ts +1 -1
- package/components/group/group-styles.component.d.ts +1 -1
- package/components/group/group.directive.d.ts +1 -1
- package/components/hints-host/hints-host.component.d.ts +1 -1
- package/components/hosted-dropdown/accessor-proxy.directive.d.ts +1 -1
- package/components/hosted-dropdown/dropdown-open-monitor.directive.d.ts +1 -1
- package/components/hosted-dropdown/hosted-dropdown-connector.directive.d.ts +1 -1
- package/components/hosted-dropdown/hosted-dropdown.component.d.ts +3 -3
- package/components/label/label.component.d.ts +1 -1
- package/components/link/link.component.d.ts +1 -1
- package/components/loader/loader.component.d.ts +1 -1
- package/components/notification/notification.component.d.ts +1 -1
- package/components/primitive-calendar/primitive-calendar.component.d.ts +7 -2
- package/components/primitive-checkbox/primitive-checkbox.component.d.ts +1 -1
- package/components/primitive-spin-button/primitive-spin-button.component.d.ts +1 -1
- package/components/primitive-textfield/primitive-textfield-options.d.ts +1 -1
- package/components/primitive-textfield/primitive-textfield-types.d.ts +1 -1
- package/components/primitive-textfield/primitive-textfield.component.d.ts +1 -1
- package/components/primitive-textfield/primitive-textfield.directive.d.ts +1 -1
- package/components/primitive-textfield/textfield/textfield.component.d.ts +1 -1
- package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +1 -1
- package/components/primitive-year-picker/primitive-year-picker.component.d.ts +1 -1
- package/components/root/root.component.d.ts +1 -1
- package/components/scroll-controls/scroll-controls.component.d.ts +1 -1
- package/components/scroll-controls/scrollbar-wrapper.directive.d.ts +1 -1
- package/components/scroll-controls/scrollbar.directive.d.ts +1 -1
- package/components/scrollbar/scroll-ref.directive.d.ts +1 -1
- package/components/scrollbar/scrollable.directive.d.ts +1 -1
- package/components/scrollbar/scrollbar.component.d.ts +1 -1
- package/components/svg/svg-options.d.ts +1 -1
- package/components/svg/svg.component.d.ts +1 -1
- package/components/theme-night/theme-night.component.d.ts +1 -1
- package/components/tooltip/tooltip.component.d.ts +1 -1
- package/constants/cache-basting-payload.d.ts +1 -1
- package/directives/dropdown/dropdown-context.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-driver.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-host.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-hover.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-manual.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-open.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-options.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-position-sided.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-position.directive.d.ts +1 -1
- package/directives/dropdown/dropdown-selection.directive.d.ts +1 -1
- package/directives/dropdown/dropdown.component.d.ts +1 -1
- package/directives/dropdown/dropdown.directive.d.ts +1 -1
- package/directives/hint/hint-describe.directive.d.ts +1 -1
- package/directives/hint/hint-driver.directive.d.ts +1 -1
- package/directives/hint/hint-host.directive.d.ts +1 -1
- package/directives/hint/hint-hover.directive.d.ts +1 -1
- package/directives/hint/hint-manual.directive.d.ts +1 -1
- package/directives/hint/hint-options.directive.d.ts +1 -1
- package/directives/hint/hint-pointer.directive.d.ts +1 -1
- package/directives/hint/hint-position.directive.d.ts +1 -1
- package/directives/hint/hint-unstyled.component.d.ts +2 -2
- package/directives/hint/hint.component.d.ts +1 -1
- package/directives/hint/hint.directive.d.ts +1 -1
- package/directives/mask-accessor/mask-accessor.directive.d.ts +1 -1
- package/directives/mode/mode.directive.d.ts +1 -1
- package/directives/number-format/number-format.directive.d.ts +1 -1
- package/directives/scroll-into-view/scroll-into-view.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-appearance.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-cleaner.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-custom-content.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-filler.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-icon-left.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-icon.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-label-outside.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-postfix.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-prefix.directive.d.ts +1 -1
- package/directives/textfield-controller/textfield-size.directive.d.ts +1 -1
- package/directives/wrapper/README.md +21 -0
- package/directives/wrapper/wrapper.directive.d.ts +1 -1
- package/enums/interactive-state.d.ts +1 -1
- package/esm2020/abstract/abstract-driver.directive.mjs +39 -0
- package/esm2020/abstract/abstract-textfield-host.mjs +36 -0
- package/esm2020/abstract/rect-accessor.mjs +24 -0
- package/esm2020/components/alert/alert.component.mjs +88 -0
- package/esm2020/components/alert/alert.directive.mjs +28 -0
- package/esm2020/components/alert/alert.module.mjs +24 -0
- package/esm2020/components/alert/alert.service.mjs +27 -0
- package/esm2020/components/button/button.component.mjs +104 -0
- package/esm2020/components/button/button.module.mjs +36 -0
- package/esm2020/components/calendar/calendar.component.mjs +125 -0
- package/esm2020/components/calendar/calendar.module.mjs +40 -0
- package/esm2020/components/data-list/data-list.component.mjs +119 -0
- package/esm2020/components/data-list/data-list.directive.mjs +19 -0
- package/esm2020/components/data-list/data-list.module.mjs +39 -0
- package/esm2020/components/data-list/opt-group.directive.mjs +21 -0
- package/esm2020/components/data-list/option/option.component.mjs +112 -0
- package/esm2020/components/dialog/dialog-close.service.mjs +46 -0
- package/esm2020/components/dialog/dialog.component.mjs +116 -0
- package/esm2020/components/dialog/dialog.directive.mjs +28 -0
- package/esm2020/components/dialog/dialog.module.mjs +24 -0
- package/esm2020/components/dialog/dialog.service.mjs +26 -0
- package/esm2020/components/error/error.component.mjs +49 -0
- package/esm2020/components/error/error.module.mjs +19 -0
- package/esm2020/components/expand/expand-content.directive.mjs +13 -0
- package/esm2020/components/expand/expand.component.mjs +125 -0
- package/esm2020/components/expand/expand.module.mjs +20 -0
- package/esm2020/components/group/group-styles.component.mjs +13 -0
- package/esm2020/components/group/group.directive.mjs +68 -0
- package/esm2020/components/group/group.module.mjs +19 -0
- package/esm2020/components/hints-host/hints-host.component.mjs +45 -0
- package/esm2020/components/hints-host/hints-host.module.mjs +20 -0
- package/esm2020/components/hosted-dropdown/accessor-proxy.directive.mjs +42 -0
- package/esm2020/components/hosted-dropdown/dropdown-open-monitor.directive.mjs +46 -0
- package/esm2020/components/hosted-dropdown/hosted-dropdown-connector.directive.mjs +13 -0
- package/esm2020/components/hosted-dropdown/hosted-dropdown.component.mjs +262 -0
- package/esm2020/components/hosted-dropdown/hosted-dropdown.module.mjs +55 -0
- package/esm2020/components/label/label.component.mjs +37 -0
- package/esm2020/components/label/label.module.mjs +18 -0
- package/esm2020/components/link/link.component.mjs +92 -0
- package/esm2020/components/link/link.module.mjs +19 -0
- package/esm2020/components/loader/loader.component.mjs +72 -0
- package/esm2020/components/loader/loader.module.mjs +19 -0
- package/esm2020/components/notification/notification.component.mjs +62 -0
- package/esm2020/components/notification/notification.module.mjs +21 -0
- package/esm2020/components/primitive-calendar/primitive-calendar.component.mjs +155 -0
- package/esm2020/components/primitive-calendar/primitive-calendar.module.mjs +43 -0
- package/esm2020/components/primitive-checkbox/primitive-checkbox.component.mjs +72 -0
- package/esm2020/components/primitive-checkbox/primitive-checkbox.module.mjs +20 -0
- package/esm2020/components/primitive-spin-button/primitive-spin-button.component.mjs +85 -0
- package/esm2020/components/primitive-spin-button/primitive-spin-button.module.mjs +19 -0
- package/esm2020/components/primitive-textfield/primitive-textfield.component.mjs +272 -0
- package/esm2020/components/primitive-textfield/primitive-textfield.directive.mjs +36 -0
- package/esm2020/components/primitive-textfield/primitive-textfield.module.mjs +68 -0
- package/esm2020/components/primitive-textfield/textfield/textfield.component.mjs +57 -0
- package/esm2020/components/primitive-textfield/value-decoration/value-decoration.component.mjs +77 -0
- package/esm2020/components/primitive-year-picker/primitive-year-picker.component.mjs +157 -0
- package/esm2020/components/primitive-year-picker/primitive-year-picker.module.mjs +33 -0
- package/esm2020/components/root/root.component.mjs +70 -0
- package/esm2020/components/root/root.module.mjs +45 -0
- package/esm2020/components/scroll-controls/scroll-controls.component.mjs +53 -0
- package/esm2020/components/scroll-controls/scroll-controls.module.mjs +28 -0
- package/esm2020/components/scroll-controls/scrollbar-wrapper.directive.mjs +25 -0
- package/esm2020/components/scroll-controls/scrollbar.directive.mjs +134 -0
- package/esm2020/components/scrollbar/scroll-ref.directive.mjs +28 -0
- package/esm2020/components/scrollbar/scrollable.directive.mjs +26 -0
- package/esm2020/components/scrollbar/scrollbar.component.mjs +87 -0
- package/esm2020/components/scrollbar/scrollbar.module.mjs +21 -0
- package/esm2020/components/svg/svg-options.mjs +68 -0
- package/esm2020/components/svg/svg.component.mjs +176 -0
- package/esm2020/components/svg/svg.module.mjs +19 -0
- package/esm2020/components/theme-night/theme-night.component.mjs +12 -0
- package/esm2020/components/theme-night/theme-night.module.mjs +16 -0
- package/esm2020/components/tooltip/tooltip.component.mjs +68 -0
- package/esm2020/components/tooltip/tooltip.module.mjs +36 -0
- package/esm2020/directives/dropdown/dropdown-context.directive.mjs +66 -0
- package/esm2020/directives/dropdown/dropdown-driver.directive.mjs +33 -0
- package/esm2020/directives/dropdown/dropdown-host.directive.mjs +25 -0
- package/esm2020/directives/dropdown/dropdown-hover.directive.mjs +56 -0
- package/esm2020/directives/dropdown/dropdown-manual.directive.mjs +27 -0
- package/esm2020/directives/dropdown/dropdown-open.directive.mjs +28 -0
- package/esm2020/directives/dropdown/dropdown-options.directive.mjs +84 -0
- package/esm2020/directives/dropdown/dropdown-position-sided.directive.mjs +81 -0
- package/esm2020/directives/dropdown/dropdown-position.directive.mjs +85 -0
- package/esm2020/directives/dropdown/dropdown-selection.directive.mjs +160 -0
- package/esm2020/directives/dropdown/dropdown.component.mjs +162 -0
- package/esm2020/directives/dropdown/dropdown.directive.mjs +120 -0
- package/esm2020/directives/dropdown/dropdown.module.mjs +93 -0
- package/esm2020/directives/hint/hint-describe.directive.mjs +56 -0
- package/esm2020/directives/hint/hint-driver.directive.mjs +33 -0
- package/esm2020/directives/hint/hint-host.directive.mjs +25 -0
- package/esm2020/directives/hint/hint-hover.directive.mjs +55 -0
- package/esm2020/directives/hint/hint-manual.directive.mjs +33 -0
- package/esm2020/directives/hint/hint-options.directive.mjs +75 -0
- package/esm2020/directives/hint/hint-pointer.directive.mjs +36 -0
- package/esm2020/directives/hint/hint-position.directive.mjs +104 -0
- package/esm2020/directives/hint/hint-unstyled.component.mjs +66 -0
- package/esm2020/directives/hint/hint.component.mjs +158 -0
- package/esm2020/directives/hint/hint.directive.mjs +95 -0
- package/esm2020/directives/hint/hint.module.mjs +75 -0
- package/esm2020/directives/mask-accessor/mask-accessor.directive.mjs +30 -0
- package/esm2020/directives/mask-accessor/mask-accessor.module.mjs +19 -0
- package/esm2020/directives/mode/mode.directive.mjs +21 -0
- package/esm2020/directives/mode/mode.module.mjs +16 -0
- package/esm2020/directives/number-format/number-format.directive.mjs +38 -0
- package/esm2020/directives/number-format/number-format.module.mjs +16 -0
- package/esm2020/directives/scroll-into-view/scroll-into-view.directive.mjs +50 -0
- package/esm2020/directives/scroll-into-view/scroll-into-view.module.mjs +16 -0
- package/esm2020/directives/textfield-controller/textfield-appearance.directive.mjs +36 -0
- package/esm2020/directives/textfield-controller/textfield-cleaner.directive.mjs +33 -0
- package/esm2020/directives/textfield-controller/textfield-controller.module.mjs +65 -0
- package/esm2020/directives/textfield-controller/textfield-controller.provider.mjs +45 -0
- package/esm2020/directives/textfield-controller/textfield-custom-content.directive.mjs +29 -0
- package/esm2020/directives/textfield-controller/textfield-filler.directive.mjs +33 -0
- package/esm2020/directives/textfield-controller/textfield-icon-left.directive.mjs +29 -0
- package/esm2020/directives/textfield-controller/textfield-icon.directive.mjs +29 -0
- package/esm2020/directives/textfield-controller/textfield-label-outside.directive.mjs +33 -0
- package/esm2020/directives/textfield-controller/textfield-postfix.directive.mjs +33 -0
- package/esm2020/directives/textfield-controller/textfield-prefix.directive.mjs +33 -0
- package/esm2020/directives/textfield-controller/textfield-size.directive.mjs +33 -0
- package/esm2020/directives/wrapper/wrapper.directive.mjs +93 -0
- package/esm2020/directives/wrapper/wrapper.module.mjs +16 -0
- package/esm2020/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.mjs +75 -0
- package/esm2020/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.mjs +36 -0
- package/esm2020/internal/svg-defs-host/svg-defs-host.component.mjs +46 -0
- package/esm2020/internal/svg-defs-host/svg-defs-host.module.mjs +19 -0
- package/esm2020/observables/smart-search.mjs +8 -0
- package/esm2020/observables/zoneful-map.mjs +13 -0
- package/esm2020/pipes/calendar-sheet/calendar-sheet.module.mjs +16 -0
- package/esm2020/pipes/calendar-sheet/calendar-sheet.pipe.mjs +56 -0
- package/esm2020/pipes/flag/flag.module.mjs +16 -0
- package/esm2020/pipes/flag/flag.pipe.mjs +46 -0
- package/esm2020/pipes/format-date/format-date.module.mjs +16 -0
- package/esm2020/pipes/format-date/format-date.pipe.mjs +24 -0
- package/esm2020/pipes/format-number/format-number.module.mjs +16 -0
- package/esm2020/pipes/format-number/format-number.pipe.mjs +28 -0
- package/esm2020/pipes/format-phone/format-phone.module.mjs +16 -0
- package/esm2020/pipes/format-phone/format-phone.pipe.mjs +25 -0
- package/esm2020/pipes/month/month.module.mjs +16 -0
- package/esm2020/pipes/month/month.pipe.mjs +23 -0
- package/esm2020/pipes/order-week-days/order-week-days.module.mjs +16 -0
- package/esm2020/pipes/order-week-days/order-week-days.pipe.mjs +34 -0
- package/esm2020/providers/mode.provider.mjs +16 -0
- package/esm2020/providers/watched-controller-provider-factory.mjs +7 -0
- package/esm2020/services/breakpoint.service.mjs +41 -0
- package/esm2020/services/format-date.service.mjs +26 -0
- package/esm2020/services/hint.service.mjs +28 -0
- package/esm2020/services/night-theme.service.mjs +23 -0
- package/esm2020/services/position.service.mjs +35 -0
- package/esm2020/services/router-link-active.service.mjs +41 -0
- package/esm2020/services/svg.service.mjs +73 -0
- package/esm2020/services/visual-viewport.service.mjs +34 -0
- package/esm2020/tokens/is-mobile-resolution.mjs +17 -0
- package/esm2020/tokens/number-format-observable.mjs +8 -0
- package/esm2020/tokens/ordered-short-week-days.mjs +27 -0
- package/esm2020/tokens/reduced-motion.mjs +6 -0
- package/esm2020/tokens/selection-stream.mjs +12 -0
- package/esm2020/tokens/viewport.mjs +35 -0
- package/esm2020/utils/dom/process-icon.mjs +31 -0
- package/esm2020/utils/format/format-number.mjs +43 -0
- package/esm2020/utils/format/number-to-string-without-exp.mjs +18 -0
- package/esm2020/utils/mask/create-number-mask.mjs +121 -0
- package/esm2020/utils/miscellaneous/is-obscured.mjs +8 -0
- package/esm2020/utils/miscellaneous/override-options.mjs +11 -0
- package/fesm2015/taiga-ui-core-abstract.mjs +145 -0
- package/fesm2015/taiga-ui-core-abstract.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-animations.mjs +262 -0
- package/fesm2015/taiga-ui-core-animations.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-alert.mjs +154 -0
- package/fesm2015/taiga-ui-core-components-alert.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-button.mjs +161 -0
- package/fesm2015/taiga-ui-core-components-button.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-calendar.mjs +172 -0
- package/fesm2015/taiga-ui-core-components-calendar.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-data-list.mjs +303 -0
- package/fesm2015/taiga-ui-core-components-data-list.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-dialog.mjs +244 -0
- package/fesm2015/taiga-ui-core-components-dialog.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-error.mjs +74 -0
- package/fesm2015/taiga-ui-core-components-error.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-expand.mjs +160 -0
- package/fesm2015/taiga-ui-core-components-expand.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-group.mjs +102 -0
- package/fesm2015/taiga-ui-core-components-group.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-hints-host.mjs +70 -0
- package/fesm2015/taiga-ui-core-components-hints-host.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.mjs +412 -0
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-label.mjs +61 -0
- package/fesm2015/taiga-ui-core-components-label.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-link.mjs +117 -0
- package/fesm2015/taiga-ui-core-components-link.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-loader.mjs +109 -0
- package/fesm2015/taiga-ui-core-components-loader.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-notification.mjs +89 -0
- package/fesm2015/taiga-ui-core-components-notification.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-primitive-calendar.mjs +203 -0
- package/fesm2015/taiga-ui-core-components-primitive-calendar.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.mjs +120 -0
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.mjs +110 -0
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-primitive-textfield.mjs +526 -0
- package/fesm2015/taiga-ui-core-components-primitive-textfield.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.mjs +195 -0
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-root.mjs +119 -0
- package/fesm2015/taiga-ui-core-components-root.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-scroll-controls.mjs +232 -0
- package/fesm2015/taiga-ui-core-components-scroll-controls.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-scrollbar.mjs +162 -0
- package/fesm2015/taiga-ui-core-components-scrollbar.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-svg.mjs +313 -0
- package/fesm2015/taiga-ui-core-components-svg.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-theme-night.mjs +32 -0
- package/fesm2015/taiga-ui-core-components-theme-night.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components-tooltip.mjs +111 -0
- package/fesm2015/taiga-ui-core-components-tooltip.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-components.mjs +30 -0
- package/fesm2015/taiga-ui-core-components.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-constants.mjs +90 -0
- package/fesm2015/taiga-ui-core-constants.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-dropdown.mjs +980 -0
- package/fesm2015/taiga-ui-core-directives-dropdown.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-hint.mjs +764 -0
- package/fesm2015/taiga-ui-core-directives-hint.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-mask-accessor.mjs +53 -0
- package/fesm2015/taiga-ui-core-directives-mask-accessor.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-mode.mjs +41 -0
- package/fesm2015/taiga-ui-core-directives-mode.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-number-format.mjs +60 -0
- package/fesm2015/taiga-ui-core-directives-number-format.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.mjs +72 -0
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-textfield-controller.mjs +446 -0
- package/fesm2015/taiga-ui-core-directives-textfield-controller.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives-wrapper.mjs +115 -0
- package/fesm2015/taiga-ui-core-directives-wrapper.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-directives.mjs +13 -0
- package/fesm2015/taiga-ui-core-directives.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-enums.mjs +68 -0
- package/fesm2015/taiga-ui-core-enums.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-interfaces.mjs +4 -0
- package/fesm2015/taiga-ui-core-interfaces.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.mjs +116 -0
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.mjs +69 -0
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-internal.mjs +7 -0
- package/fesm2015/taiga-ui-core-internal.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-mask.mjs +4 -0
- package/fesm2015/taiga-ui-core-mask.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-observables.mjs +26 -0
- package/fesm2015/taiga-ui-core-observables.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.mjs +111 -0
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes-flag.mjs +68 -0
- package/fesm2015/taiga-ui-core-pipes-flag.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes-format-date.mjs +46 -0
- package/fesm2015/taiga-ui-core-pipes-format-date.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes-format-number.mjs +50 -0
- package/fesm2015/taiga-ui-core-pipes-format-number.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes-format-phone.mjs +45 -0
- package/fesm2015/taiga-ui-core-pipes-format-phone.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes-month.mjs +45 -0
- package/fesm2015/taiga-ui-core-pipes-month.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes-order-week-days.mjs +56 -0
- package/fesm2015/taiga-ui-core-pipes-order-week-days.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-pipes.mjs +12 -0
- package/fesm2015/taiga-ui-core-pipes.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-providers.mjs +41 -0
- package/fesm2015/taiga-ui-core-providers.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-services.mjs +287 -0
- package/fesm2015/taiga-ui-core-services.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-tokens.mjs +333 -0
- package/fesm2015/taiga-ui-core-tokens.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-types.mjs +4 -0
- package/fesm2015/taiga-ui-core-types.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-utils-dom.mjs +160 -0
- package/fesm2015/taiga-ui-core-utils-dom.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-utils-format.mjs +146 -0
- package/fesm2015/taiga-ui-core-utils-format.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-utils-mask.mjs +284 -0
- package/fesm2015/taiga-ui-core-utils-mask.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-utils-miscellaneous.mjs +89 -0
- package/fesm2015/taiga-ui-core-utils-miscellaneous.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-utils-mobile.mjs +12 -0
- package/fesm2015/taiga-ui-core-utils-mobile.mjs.map +1 -0
- package/fesm2015/taiga-ui-core-utils.mjs +10 -0
- package/fesm2015/taiga-ui-core-utils.mjs.map +1 -0
- package/fesm2015/taiga-ui-core.mjs +21 -0
- package/fesm2015/taiga-ui-core.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-abstract.mjs +140 -0
- package/fesm2020/taiga-ui-core-abstract.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-animations.mjs +262 -0
- package/fesm2020/taiga-ui-core-animations.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-alert.mjs +157 -0
- package/fesm2020/taiga-ui-core-components-alert.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-button.mjs +157 -0
- package/fesm2020/taiga-ui-core-components-button.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-calendar.mjs +168 -0
- package/fesm2020/taiga-ui-core-components-calendar.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-data-list.mjs +297 -0
- package/fesm2020/taiga-ui-core-components-data-list.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-dialog.mjs +243 -0
- package/fesm2020/taiga-ui-core-components-dialog.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-error.mjs +72 -0
- package/fesm2020/taiga-ui-core-components-error.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-expand.mjs +158 -0
- package/fesm2020/taiga-ui-core-components-expand.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-group.mjs +100 -0
- package/fesm2020/taiga-ui-core-components-group.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-hints-host.mjs +68 -0
- package/fesm2020/taiga-ui-core-components-hints-host.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-hosted-dropdown.mjs +404 -0
- package/fesm2020/taiga-ui-core-components-hosted-dropdown.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-label.mjs +59 -0
- package/fesm2020/taiga-ui-core-components-label.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-link.mjs +115 -0
- package/fesm2020/taiga-ui-core-components-link.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-loader.mjs +107 -0
- package/fesm2020/taiga-ui-core-components-loader.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-notification.mjs +87 -0
- package/fesm2020/taiga-ui-core-components-notification.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-primitive-calendar.mjs +201 -0
- package/fesm2020/taiga-ui-core-components-primitive-calendar.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-primitive-checkbox.mjs +118 -0
- package/fesm2020/taiga-ui-core-components-primitive-checkbox.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-primitive-spin-button.mjs +108 -0
- package/fesm2020/taiga-ui-core-components-primitive-spin-button.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-primitive-textfield.mjs +511 -0
- package/fesm2020/taiga-ui-core-components-primitive-textfield.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-primitive-year-picker.mjs +193 -0
- package/fesm2020/taiga-ui-core-components-primitive-year-picker.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-root.mjs +117 -0
- package/fesm2020/taiga-ui-core-components-root.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-scroll-controls.mjs +228 -0
- package/fesm2020/taiga-ui-core-components-scroll-controls.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-scrollbar.mjs +157 -0
- package/fesm2020/taiga-ui-core-components-scrollbar.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-svg.mjs +318 -0
- package/fesm2020/taiga-ui-core-components-svg.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-theme-night.mjs +32 -0
- package/fesm2020/taiga-ui-core-components-theme-night.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components-tooltip.mjs +108 -0
- package/fesm2020/taiga-ui-core-components-tooltip.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-components.mjs +30 -0
- package/fesm2020/taiga-ui-core-components.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-constants.mjs +90 -0
- package/fesm2020/taiga-ui-core-constants.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-dropdown.mjs +952 -0
- package/fesm2020/taiga-ui-core-directives-dropdown.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-hint.mjs +740 -0
- package/fesm2020/taiga-ui-core-directives-hint.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-mask-accessor.mjs +53 -0
- package/fesm2020/taiga-ui-core-directives-mask-accessor.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-mode.mjs +41 -0
- package/fesm2020/taiga-ui-core-directives-mode.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-number-format.mjs +58 -0
- package/fesm2020/taiga-ui-core-directives-number-format.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-scroll-into-view.mjs +70 -0
- package/fesm2020/taiga-ui-core-directives-scroll-into-view.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-textfield-controller.mjs +446 -0
- package/fesm2020/taiga-ui-core-directives-textfield-controller.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives-wrapper.mjs +113 -0
- package/fesm2020/taiga-ui-core-directives-wrapper.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-directives.mjs +13 -0
- package/fesm2020/taiga-ui-core-directives.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-enums.mjs +68 -0
- package/fesm2020/taiga-ui-core-enums.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-interfaces.mjs +4 -0
- package/fesm2020/taiga-ui-core-interfaces.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-internal-primitive-year-month-pagination.mjs +114 -0
- package/fesm2020/taiga-ui-core-internal-primitive-year-month-pagination.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-internal-svg-defs-host.mjs +67 -0
- package/fesm2020/taiga-ui-core-internal-svg-defs-host.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-internal.mjs +7 -0
- package/fesm2020/taiga-ui-core-internal.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-mask.mjs +4 -0
- package/fesm2020/taiga-ui-core-mask.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-observables.mjs +26 -0
- package/fesm2020/taiga-ui-core-observables.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes-calendar-sheet.mjs +108 -0
- package/fesm2020/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes-flag.mjs +66 -0
- package/fesm2020/taiga-ui-core-pipes-flag.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes-format-date.mjs +44 -0
- package/fesm2020/taiga-ui-core-pipes-format-date.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes-format-number.mjs +48 -0
- package/fesm2020/taiga-ui-core-pipes-format-number.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes-format-phone.mjs +45 -0
- package/fesm2020/taiga-ui-core-pipes-format-phone.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes-month.mjs +43 -0
- package/fesm2020/taiga-ui-core-pipes-month.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes-order-week-days.mjs +54 -0
- package/fesm2020/taiga-ui-core-pipes-order-week-days.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-pipes.mjs +12 -0
- package/fesm2020/taiga-ui-core-pipes.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-providers.mjs +41 -0
- package/fesm2020/taiga-ui-core-providers.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-services.mjs +278 -0
- package/fesm2020/taiga-ui-core-services.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-tokens.mjs +334 -0
- package/fesm2020/taiga-ui-core-tokens.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-types.mjs +16 -0
- package/fesm2020/taiga-ui-core-types.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-utils-dom.mjs +160 -0
- package/fesm2020/taiga-ui-core-utils-dom.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-utils-format.mjs +149 -0
- package/fesm2020/taiga-ui-core-utils-format.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-utils-mask.mjs +284 -0
- package/fesm2020/taiga-ui-core-utils-mask.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-utils-miscellaneous.mjs +88 -0
- package/fesm2020/taiga-ui-core-utils-miscellaneous.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-utils-mobile.mjs +12 -0
- package/fesm2020/taiga-ui-core-utils-mobile.mjs.map +1 -0
- package/fesm2020/taiga-ui-core-utils.mjs +10 -0
- package/fesm2020/taiga-ui-core-utils.mjs.map +1 -0
- package/fesm2020/taiga-ui-core.mjs +21 -0
- package/fesm2020/taiga-ui-core.mjs.map +1 -0
- package/interfaces/alert-options.d.ts +1 -1
- package/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.d.ts +1 -1
- package/internal/svg-defs-host/svg-defs-host.component.d.ts +1 -1
- package/mask/text-mask-correction-handler.d.ts +1 -1
- package/mask/text-mask-list-handler.d.ts +1 -1
- package/mask/text-mask-list.d.ts +1 -1
- package/mask/text-mask-pipe-handler.d.ts +1 -1
- package/package.json +559 -42
- package/pipes/calendar-sheet/calendar-sheet.pipe.d.ts +1 -1
- package/pipes/flag/flag.pipe.d.ts +1 -1
- package/pipes/format-date/format-date.pipe.d.ts +1 -1
- package/pipes/format-number/format-number.pipe.d.ts +1 -1
- package/pipes/format-phone/format-phone.pipe.d.ts +1 -1
- package/pipes/month/month.pipe.d.ts +1 -1
- package/pipes/order-week-days/order-week-days.pipe.d.ts +2 -2
- package/services/breakpoint.service.d.ts +1 -1
- package/styles/theme/appearance/outline.less +24 -15
- package/styles/theme/appearance/primary.less +8 -3
- package/styles/theme/appearance/secondary.less +15 -1
- package/styles/theme/appearance/status.less +48 -20
- package/tokens/number-format-observable.d.ts +4 -8
- package/tokens/ordered-short-week-days.d.ts +1 -1
- package/types/brightness.d.ts +1 -1
- package/types/calendar-view.d.ts +1 -1
- package/types/data-list-role.d.ts +1 -1
- package/types/decimal-symbol.d.ts +1 -1
- package/types/decimal.d.ts +1 -1
- package/types/dialog-size.d.ts +1 -1
- package/types/direction.d.ts +2 -2
- package/types/dropdown-align.d.ts +1 -1
- package/types/dropdown-width.d.ts +1 -1
- package/types/hint-direction.d.ts +1 -1
- package/types/marker-handler.d.ts +1 -1
- package/types/notification.d.ts +1 -1
- package/types/option-role.d.ts +1 -1
- package/types/orientation.d.ts +1 -1
- package/types/point.d.ts +1 -1
- package/types/size.d.ts +7 -7
- package/abstract/package.json +0 -10
- package/abstract/taiga-ui-core-abstract.d.ts +0 -5
- package/animations/package.json +0 -10
- package/animations/taiga-ui-core-animations.d.ts +0 -5
- package/bundles/taiga-ui-core-abstract.umd.js +0 -546
- package/bundles/taiga-ui-core-abstract.umd.js.map +0 -1
- package/bundles/taiga-ui-core-animations.umd.js +0 -290
- package/bundles/taiga-ui-core-animations.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-alert.umd.js +0 -517
- package/bundles/taiga-ui-core-components-alert.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-button.umd.js +0 -540
- package/bundles/taiga-ui-core-components-button.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js +0 -233
- package/bundles/taiga-ui-core-components-calendar.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-data-list.umd.js +0 -693
- package/bundles/taiga-ui-core-components-data-list.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +0 -634
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-error.umd.js +0 -111
- package/bundles/taiga-ui-core-components-error.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-expand.umd.js +0 -220
- package/bundles/taiga-ui-core-components-expand.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-group.umd.js +0 -154
- package/bundles/taiga-ui-core-components-group.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.js +0 -108
- package/bundles/taiga-ui-core-components-hints-host.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +0 -808
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-label.umd.js +0 -96
- package/bundles/taiga-ui-core-components-label.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-link.umd.js +0 -172
- package/bundles/taiga-ui-core-components-link.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-loader.umd.js +0 -165
- package/bundles/taiga-ui-core-components-loader.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-notification.umd.js +0 -124
- package/bundles/taiga-ui-core-components-notification.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +0 -245
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +0 -173
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +0 -476
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +0 -1050
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +0 -255
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-root.umd.js +0 -476
- package/bundles/taiga-ui-core-components-root.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js +0 -620
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.js +0 -217
- package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-svg.umd.js +0 -707
- package/bundles/taiga-ui-core-components-svg.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.js +0 -391
- package/bundles/taiga-ui-core-components-theme-night.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +0 -466
- package/bundles/taiga-ui-core-components-tooltip.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components.umd.js +0 -165
- package/bundles/taiga-ui-core-components.umd.js.map +0 -1
- package/bundles/taiga-ui-core-constants.umd.js +0 -117
- package/bundles/taiga-ui-core-constants.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +0 -1390
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +0 -1169
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +0 -85
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-mode.umd.js +0 -392
- package/bundles/taiga-ui-core-directives-mode.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-number-format.umd.js +0 -414
- package/bundles/taiga-ui-core-directives-number-format.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +0 -106
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +0 -901
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-wrapper.umd.js +0 -164
- package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives.umd.js +0 -63
- package/bundles/taiga-ui-core-directives.umd.js.map +0 -1
- package/bundles/taiga-ui-core-enums.umd.js +0 -76
- package/bundles/taiga-ui-core-enums.umd.js.map +0 -1
- package/bundles/taiga-ui-core-interfaces.umd.js +0 -11
- package/bundles/taiga-ui-core-interfaces.umd.js.map +0 -1
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +0 -170
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +0 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +0 -104
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +0 -1
- package/bundles/taiga-ui-core-internal.umd.js +0 -27
- package/bundles/taiga-ui-core-internal.umd.js.map +0 -1
- package/bundles/taiga-ui-core-mask.umd.js +0 -11
- package/bundles/taiga-ui-core-mask.umd.js.map +0 -1
- package/bundles/taiga-ui-core-observables.umd.js +0 -35
- package/bundles/taiga-ui-core-observables.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +0 -149
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-flag.umd.js +0 -97
- package/bundles/taiga-ui-core-pipes-flag.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-format-date.umd.js +0 -77
- package/bundles/taiga-ui-core-pipes-format-date.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-format-number.umd.js +0 -81
- package/bundles/taiga-ui-core-pipes-format-number.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js +0 -79
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-month.umd.js +0 -76
- package/bundles/taiga-ui-core-pipes-month.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-order-week-days.umd.js +0 -401
- package/bundles/taiga-ui-core-pipes-order-week-days.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes.umd.js +0 -57
- package/bundles/taiga-ui-core-pipes.umd.js.map +0 -1
- package/bundles/taiga-ui-core-providers.umd.js +0 -49
- package/bundles/taiga-ui-core-providers.umd.js.map +0 -1
- package/bundles/taiga-ui-core-services.umd.js +0 -657
- package/bundles/taiga-ui-core-services.umd.js.map +0 -1
- package/bundles/taiga-ui-core-tokens.umd.js +0 -695
- package/bundles/taiga-ui-core-tokens.umd.js.map +0 -1
- package/bundles/taiga-ui-core-types.umd.js +0 -11
- package/bundles/taiga-ui-core-types.umd.js.map +0 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js +0 -176
- package/bundles/taiga-ui-core-utils-dom.umd.js.map +0 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +0 -489
- package/bundles/taiga-ui-core-utils-format.umd.js.map +0 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +0 -625
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +0 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +0 -108
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +0 -1
- package/bundles/taiga-ui-core-utils-mobile.umd.js +0 -21
- package/bundles/taiga-ui-core-utils-mobile.umd.js.map +0 -1
- package/bundles/taiga-ui-core-utils.umd.js +0 -45
- package/bundles/taiga-ui-core-utils.umd.js.map +0 -1
- package/bundles/taiga-ui-core.umd.js +0 -111
- package/bundles/taiga-ui-core.umd.js.map +0 -1
- package/components/alert/package.json +0 -10
- package/components/alert/taiga-ui-core-components-alert.d.ts +0 -5
- package/components/button/package.json +0 -10
- package/components/button/taiga-ui-core-components-button.d.ts +0 -5
- package/components/calendar/package.json +0 -10
- package/components/calendar/taiga-ui-core-components-calendar.d.ts +0 -5
- package/components/data-list/package.json +0 -10
- package/components/data-list/taiga-ui-core-components-data-list.d.ts +0 -5
- package/components/dialog/package.json +0 -10
- package/components/dialog/taiga-ui-core-components-dialog.d.ts +0 -5
- package/components/error/package.json +0 -10
- package/components/error/taiga-ui-core-components-error.d.ts +0 -5
- package/components/expand/package.json +0 -10
- package/components/expand/taiga-ui-core-components-expand.d.ts +0 -5
- package/components/group/package.json +0 -10
- package/components/group/taiga-ui-core-components-group.d.ts +0 -5
- package/components/hints-host/package.json +0 -10
- package/components/hints-host/taiga-ui-core-components-hints-host.d.ts +0 -5
- package/components/hosted-dropdown/package.json +0 -10
- package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.d.ts +0 -5
- package/components/label/package.json +0 -10
- package/components/label/taiga-ui-core-components-label.d.ts +0 -5
- package/components/link/package.json +0 -10
- package/components/link/taiga-ui-core-components-link.d.ts +0 -5
- package/components/loader/package.json +0 -10
- package/components/loader/taiga-ui-core-components-loader.d.ts +0 -5
- package/components/notification/package.json +0 -10
- package/components/notification/taiga-ui-core-components-notification.d.ts +0 -5
- package/components/package.json +0 -10
- package/components/primitive-calendar/package.json +0 -10
- package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.d.ts +0 -5
- package/components/primitive-checkbox/package.json +0 -10
- package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.d.ts +0 -5
- package/components/primitive-spin-button/package.json +0 -10
- package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.d.ts +0 -5
- package/components/primitive-textfield/package.json +0 -10
- package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.d.ts +0 -5
- package/components/primitive-year-picker/package.json +0 -10
- package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.d.ts +0 -5
- package/components/root/package.json +0 -10
- package/components/root/taiga-ui-core-components-root.d.ts +0 -5
- package/components/scroll-controls/package.json +0 -10
- package/components/scroll-controls/taiga-ui-core-components-scroll-controls.d.ts +0 -5
- package/components/scrollbar/package.json +0 -10
- package/components/scrollbar/taiga-ui-core-components-scrollbar.d.ts +0 -5
- package/components/svg/package.json +0 -10
- package/components/svg/taiga-ui-core-components-svg.d.ts +0 -5
- package/components/taiga-ui-core-components.d.ts +0 -5
- package/components/theme-night/package.json +0 -10
- package/components/theme-night/taiga-ui-core-components-theme-night.d.ts +0 -5
- package/components/tooltip/package.json +0 -10
- package/components/tooltip/taiga-ui-core-components-tooltip.d.ts +0 -5
- package/constants/package.json +0 -10
- package/constants/taiga-ui-core-constants.d.ts +0 -5
- package/directives/dropdown/package.json +0 -10
- package/directives/dropdown/taiga-ui-core-directives-dropdown.d.ts +0 -5
- package/directives/hint/package.json +0 -10
- package/directives/hint/taiga-ui-core-directives-hint.d.ts +0 -5
- package/directives/mask-accessor/package.json +0 -10
- package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.d.ts +0 -5
- package/directives/mode/package.json +0 -10
- package/directives/mode/taiga-ui-core-directives-mode.d.ts +0 -5
- package/directives/number-format/package.json +0 -10
- package/directives/number-format/taiga-ui-core-directives-number-format.d.ts +0 -5
- package/directives/package.json +0 -10
- package/directives/scroll-into-view/package.json +0 -10
- package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.d.ts +0 -5
- package/directives/taiga-ui-core-directives.d.ts +0 -5
- package/directives/textfield-controller/package.json +0 -10
- package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.d.ts +0 -5
- package/directives/wrapper/package.json +0 -10
- package/directives/wrapper/taiga-ui-core-directives-wrapper.d.ts +0 -5
- package/enums/package.json +0 -10
- package/enums/taiga-ui-core-enums.d.ts +0 -5
- package/esm2015/abstract/abstract-driver.directive.js +0 -40
- package/esm2015/abstract/abstract-textfield-host.js +0 -37
- package/esm2015/abstract/rect-accessor.js +0 -24
- package/esm2015/components/alert/alert.component.js +0 -90
- package/esm2015/components/alert/alert.directive.js +0 -28
- package/esm2015/components/alert/alert.module.js +0 -24
- package/esm2015/components/alert/alert.service.js +0 -27
- package/esm2015/components/button/button.component.js +0 -113
- package/esm2015/components/button/button.module.js +0 -38
- package/esm2015/components/calendar/calendar.component.js +0 -134
- package/esm2015/components/calendar/calendar.module.js +0 -42
- package/esm2015/components/data-list/data-list.component.js +0 -127
- package/esm2015/components/data-list/data-list.directive.js +0 -19
- package/esm2015/components/data-list/data-list.module.js +0 -39
- package/esm2015/components/data-list/opt-group.directive.js +0 -21
- package/esm2015/components/data-list/option/option.component.js +0 -119
- package/esm2015/components/dialog/dialog-close.service.js +0 -47
- package/esm2015/components/dialog/dialog.component.js +0 -127
- package/esm2015/components/dialog/dialog.directive.js +0 -28
- package/esm2015/components/dialog/dialog.module.js +0 -24
- package/esm2015/components/dialog/dialog.service.js +0 -23
- package/esm2015/components/error/error.component.js +0 -56
- package/esm2015/components/error/error.module.js +0 -19
- package/esm2015/components/expand/expand-content.directive.js +0 -13
- package/esm2015/components/expand/expand.component.js +0 -131
- package/esm2015/components/expand/expand.module.js +0 -20
- package/esm2015/components/group/group-styles.component.js +0 -19
- package/esm2015/components/group/group.directive.js +0 -68
- package/esm2015/components/group/group.module.js +0 -19
- package/esm2015/components/hints-host/hints-host.component.js +0 -55
- package/esm2015/components/hints-host/hints-host.module.js +0 -20
- package/esm2015/components/hosted-dropdown/accessor-proxy.directive.js +0 -42
- package/esm2015/components/hosted-dropdown/dropdown-open-monitor.directive.js +0 -45
- package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +0 -13
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +0 -279
- package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +0 -57
- package/esm2015/components/label/label.component.js +0 -44
- package/esm2015/components/label/label.module.js +0 -18
- package/esm2015/components/link/link.component.js +0 -101
- package/esm2015/components/link/link.module.js +0 -19
- package/esm2015/components/loader/loader.component.js +0 -77
- package/esm2015/components/loader/loader.module.js +0 -19
- package/esm2015/components/notification/notification.component.js +0 -67
- package/esm2015/components/notification/notification.module.js +0 -21
- package/esm2015/components/primitive-calendar/primitive-calendar.component.js +0 -160
- package/esm2015/components/primitive-calendar/primitive-calendar.module.js +0 -45
- package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +0 -77
- package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +0 -20
- package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +0 -91
- package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +0 -19
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +0 -286
- package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +0 -36
- package/esm2015/components/primitive-textfield/primitive-textfield.module.js +0 -70
- package/esm2015/components/primitive-textfield/textfield/textfield.component.js +0 -64
- package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +0 -86
- package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +0 -164
- package/esm2015/components/primitive-year-picker/primitive-year-picker.module.js +0 -35
- package/esm2015/components/root/root.component.js +0 -80
- package/esm2015/components/root/root.module.js +0 -47
- package/esm2015/components/scroll-controls/scroll-controls.component.js +0 -61
- package/esm2015/components/scroll-controls/scroll-controls.module.js +0 -28
- package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +0 -25
- package/esm2015/components/scroll-controls/scrollbar.directive.js +0 -135
- package/esm2015/components/scrollbar/scroll-ref.directive.js +0 -28
- package/esm2015/components/scrollbar/scrollable.directive.js +0 -26
- package/esm2015/components/scrollbar/scrollbar.component.js +0 -94
- package/esm2015/components/scrollbar/scrollbar.module.js +0 -21
- package/esm2015/components/svg/svg-options.js +0 -60
- package/esm2015/components/svg/svg.component.js +0 -183
- package/esm2015/components/svg/svg.module.js +0 -19
- package/esm2015/components/theme-night/theme-night.component.js +0 -18
- package/esm2015/components/theme-night/theme-night.module.js +0 -16
- package/esm2015/components/tooltip/tooltip.component.js +0 -76
- package/esm2015/components/tooltip/tooltip.module.js +0 -38
- package/esm2015/directives/dropdown/dropdown-context.directive.js +0 -66
- package/esm2015/directives/dropdown/dropdown-driver.directive.js +0 -33
- package/esm2015/directives/dropdown/dropdown-host.directive.js +0 -26
- package/esm2015/directives/dropdown/dropdown-hover.directive.js +0 -58
- package/esm2015/directives/dropdown/dropdown-manual.directive.js +0 -27
- package/esm2015/directives/dropdown/dropdown-open.directive.js +0 -29
- package/esm2015/directives/dropdown/dropdown-options.directive.js +0 -84
- package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +0 -82
- package/esm2015/directives/dropdown/dropdown-position.directive.js +0 -86
- package/esm2015/directives/dropdown/dropdown-selection.directive.js +0 -162
- package/esm2015/directives/dropdown/dropdown.component.js +0 -174
- package/esm2015/directives/dropdown/dropdown.directive.js +0 -123
- package/esm2015/directives/dropdown/dropdown.module.js +0 -95
- package/esm2015/directives/hint/hint-describe.directive.js +0 -57
- package/esm2015/directives/hint/hint-driver.directive.js +0 -33
- package/esm2015/directives/hint/hint-host.directive.js +0 -26
- package/esm2015/directives/hint/hint-hover.directive.js +0 -56
- package/esm2015/directives/hint/hint-manual.directive.js +0 -33
- package/esm2015/directives/hint/hint-options.directive.js +0 -75
- package/esm2015/directives/hint/hint-pointer.directive.js +0 -36
- package/esm2015/directives/hint/hint-position.directive.js +0 -105
- package/esm2015/directives/hint/hint-unstyled.component.js +0 -66
- package/esm2015/directives/hint/hint.component.js +0 -167
- package/esm2015/directives/hint/hint.directive.js +0 -96
- package/esm2015/directives/hint/hint.module.js +0 -75
- package/esm2015/directives/mask-accessor/mask-accessor.directive.js +0 -30
- package/esm2015/directives/mask-accessor/mask-accessor.module.js +0 -19
- package/esm2015/directives/mode/mode.directive.js +0 -21
- package/esm2015/directives/mode/mode.module.js +0 -16
- package/esm2015/directives/number-format/number-format.directive.js +0 -38
- package/esm2015/directives/number-format/number-format.module.js +0 -16
- package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +0 -51
- package/esm2015/directives/scroll-into-view/scroll-into-view.module.js +0 -16
- package/esm2015/directives/textfield-controller/textfield-appearance.directive.js +0 -36
- package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +0 -33
- package/esm2015/directives/textfield-controller/textfield-controller.module.js +0 -65
- package/esm2015/directives/textfield-controller/textfield-controller.provider.js +0 -46
- package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +0 -29
- package/esm2015/directives/textfield-controller/textfield-filler.directive.js +0 -33
- package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +0 -29
- package/esm2015/directives/textfield-controller/textfield-icon.directive.js +0 -29
- package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +0 -33
- package/esm2015/directives/textfield-controller/textfield-postfix.directive.js +0 -33
- package/esm2015/directives/textfield-controller/textfield-prefix.directive.js +0 -33
- package/esm2015/directives/textfield-controller/textfield-size.directive.js +0 -33
- package/esm2015/directives/wrapper/wrapper.directive.js +0 -93
- package/esm2015/directives/wrapper/wrapper.module.js +0 -16
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +0 -82
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +0 -38
- package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +0 -52
- package/esm2015/internal/svg-defs-host/svg-defs-host.module.js +0 -19
- package/esm2015/observables/smart-search.js +0 -8
- package/esm2015/observables/zoneful-map.js +0 -14
- package/esm2015/pipes/calendar-sheet/calendar-sheet.module.js +0 -16
- package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +0 -57
- package/esm2015/pipes/flag/flag.module.js +0 -16
- package/esm2015/pipes/flag/flag.pipe.js +0 -46
- package/esm2015/pipes/format-date/format-date.module.js +0 -16
- package/esm2015/pipes/format-date/format-date.pipe.js +0 -24
- package/esm2015/pipes/format-number/format-number.module.js +0 -16
- package/esm2015/pipes/format-number/format-number.pipe.js +0 -28
- package/esm2015/pipes/format-phone/format-phone.module.js +0 -16
- package/esm2015/pipes/format-phone/format-phone.pipe.js +0 -25
- package/esm2015/pipes/month/month.module.js +0 -16
- package/esm2015/pipes/month/month.pipe.js +0 -23
- package/esm2015/pipes/order-week-days/order-week-days.module.js +0 -16
- package/esm2015/pipes/order-week-days/order-week-days.pipe.js +0 -34
- package/esm2015/providers/mode.provider.js +0 -17
- package/esm2015/providers/watched-controller-provider-factory.js +0 -7
- package/esm2015/services/breakpoint.service.js +0 -39
- package/esm2015/services/format-date.service.js +0 -26
- package/esm2015/services/hint.service.js +0 -28
- package/esm2015/services/night-theme.service.js +0 -24
- package/esm2015/services/position.service.js +0 -36
- package/esm2015/services/router-link-active.service.js +0 -42
- package/esm2015/services/svg.service.js +0 -70
- package/esm2015/services/visual-viewport.service.js +0 -35
- package/esm2015/tokens/is-mobile-resolution.js +0 -17
- package/esm2015/tokens/number-format-observable.js +0 -8
- package/esm2015/tokens/ordered-short-week-days.js +0 -27
- package/esm2015/tokens/reduced-motion.js +0 -8
- package/esm2015/tokens/selection-stream.js +0 -13
- package/esm2015/tokens/viewport.js +0 -29
- package/esm2015/utils/dom/process-icon.js +0 -31
- package/esm2015/utils/format/format-number.js +0 -40
- package/esm2015/utils/format/number-to-string-without-exp.js +0 -18
- package/esm2015/utils/mask/create-number-mask.js +0 -121
- package/esm2015/utils/miscellaneous/is-obscured.js +0 -9
- package/esm2015/utils/miscellaneous/override-options.js +0 -11
- package/fesm2015/taiga-ui-core-abstract.js +0 -142
- package/fesm2015/taiga-ui-core-abstract.js.map +0 -1
- package/fesm2015/taiga-ui-core-animations.js +0 -262
- package/fesm2015/taiga-ui-core-animations.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-alert.js +0 -159
- package/fesm2015/taiga-ui-core-components-alert.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-button.js +0 -168
- package/fesm2015/taiga-ui-core-components-button.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-calendar.js +0 -179
- package/fesm2015/taiga-ui-core-components-calendar.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-data-list.js +0 -312
- package/fesm2015/taiga-ui-core-components-data-list.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +0 -251
- package/fesm2015/taiga-ui-core-components-dialog.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-error.js +0 -79
- package/fesm2015/taiga-ui-core-components-error.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-expand.js +0 -164
- package/fesm2015/taiga-ui-core-components-expand.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-group.js +0 -106
- package/fesm2015/taiga-ui-core-components-group.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-hints-host.js +0 -78
- package/fesm2015/taiga-ui-core-components-hints-host.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +0 -422
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-label.js +0 -66
- package/fesm2015/taiga-ui-core-components-label.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-link.js +0 -124
- package/fesm2015/taiga-ui-core-components-link.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-loader.js +0 -112
- package/fesm2015/taiga-ui-core-components-loader.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-notification.js +0 -92
- package/fesm2015/taiga-ui-core-components-notification.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js +0 -208
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +0 -123
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +0 -114
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +0 -542
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +0 -202
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-root.js +0 -129
- package/fesm2015/taiga-ui-core-components-root.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-scroll-controls.js +0 -237
- package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-scrollbar.js +0 -164
- package/fesm2015/taiga-ui-core-components-scrollbar.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-svg.js +0 -317
- package/fesm2015/taiga-ui-core-components-svg.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-theme-night.js +0 -38
- package/fesm2015/taiga-ui-core-components-theme-night.js.map +0 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js +0 -118
- package/fesm2015/taiga-ui-core-components-tooltip.js.map +0 -1
- package/fesm2015/taiga-ui-core-components.js +0 -30
- package/fesm2015/taiga-ui-core-components.js.map +0 -1
- package/fesm2015/taiga-ui-core-constants.js +0 -90
- package/fesm2015/taiga-ui-core-constants.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +0 -975
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +0 -753
- package/fesm2015/taiga-ui-core-directives-hint.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js +0 -53
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-mode.js +0 -41
- package/fesm2015/taiga-ui-core-directives-mode.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-number-format.js +0 -58
- package/fesm2015/taiga-ui-core-directives-number-format.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +0 -71
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js +0 -447
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-wrapper.js +0 -113
- package/fesm2015/taiga-ui-core-directives-wrapper.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives.js +0 -13
- package/fesm2015/taiga-ui-core-directives.js.map +0 -1
- package/fesm2015/taiga-ui-core-enums.js +0 -68
- package/fesm2015/taiga-ui-core-enums.js.map +0 -1
- package/fesm2015/taiga-ui-core-interfaces.js +0 -4
- package/fesm2015/taiga-ui-core-interfaces.js.map +0 -1
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +0 -123
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +0 -1
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +0 -73
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +0 -1
- package/fesm2015/taiga-ui-core-internal.js +0 -7
- package/fesm2015/taiga-ui-core-internal.js.map +0 -1
- package/fesm2015/taiga-ui-core-mask.js +0 -4
- package/fesm2015/taiga-ui-core-mask.js.map +0 -1
- package/fesm2015/taiga-ui-core-observables.js +0 -27
- package/fesm2015/taiga-ui-core-observables.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +0 -109
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-flag.js +0 -66
- package/fesm2015/taiga-ui-core-pipes-flag.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-format-date.js +0 -44
- package/fesm2015/taiga-ui-core-pipes-format-date.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-format-number.js +0 -48
- package/fesm2015/taiga-ui-core-pipes-format-number.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-format-phone.js +0 -45
- package/fesm2015/taiga-ui-core-pipes-format-phone.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-month.js +0 -43
- package/fesm2015/taiga-ui-core-pipes-month.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-order-week-days.js +0 -54
- package/fesm2015/taiga-ui-core-pipes-order-week-days.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes.js +0 -12
- package/fesm2015/taiga-ui-core-pipes.js.map +0 -1
- package/fesm2015/taiga-ui-core-providers.js +0 -42
- package/fesm2015/taiga-ui-core-providers.js.map +0 -1
- package/fesm2015/taiga-ui-core-services.js +0 -274
- package/fesm2015/taiga-ui-core-services.js.map +0 -1
- package/fesm2015/taiga-ui-core-tokens.js +0 -331
- package/fesm2015/taiga-ui-core-tokens.js.map +0 -1
- package/fesm2015/taiga-ui-core-types.js +0 -16
- package/fesm2015/taiga-ui-core-types.js.map +0 -1
- package/fesm2015/taiga-ui-core-utils-dom.js +0 -160
- package/fesm2015/taiga-ui-core-utils-dom.js.map +0 -1
- package/fesm2015/taiga-ui-core-utils-format.js +0 -146
- package/fesm2015/taiga-ui-core-utils-format.js.map +0 -1
- package/fesm2015/taiga-ui-core-utils-mask.js +0 -284
- package/fesm2015/taiga-ui-core-utils-mask.js.map +0 -1
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js +0 -89
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +0 -1
- package/fesm2015/taiga-ui-core-utils-mobile.js +0 -12
- package/fesm2015/taiga-ui-core-utils-mobile.js.map +0 -1
- package/fesm2015/taiga-ui-core-utils.js +0 -10
- package/fesm2015/taiga-ui-core-utils.js.map +0 -1
- package/fesm2015/taiga-ui-core.js +0 -21
- package/fesm2015/taiga-ui-core.js.map +0 -1
- package/interfaces/package.json +0 -10
- package/interfaces/taiga-ui-core-interfaces.d.ts +0 -5
- package/internal/package.json +0 -10
- package/internal/primitive-year-month-pagination/package.json +0 -10
- package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.d.ts +0 -5
- package/internal/svg-defs-host/package.json +0 -10
- package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.d.ts +0 -5
- package/internal/taiga-ui-core-internal.d.ts +0 -5
- package/mask/package.json +0 -10
- package/mask/taiga-ui-core-mask.d.ts +0 -5
- package/observables/package.json +0 -10
- package/observables/taiga-ui-core-observables.d.ts +0 -5
- package/pipes/calendar-sheet/package.json +0 -10
- package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.d.ts +0 -5
- package/pipes/flag/package.json +0 -10
- package/pipes/flag/taiga-ui-core-pipes-flag.d.ts +0 -5
- package/pipes/format-date/package.json +0 -10
- package/pipes/format-date/taiga-ui-core-pipes-format-date.d.ts +0 -5
- package/pipes/format-number/package.json +0 -10
- package/pipes/format-number/taiga-ui-core-pipes-format-number.d.ts +0 -5
- package/pipes/format-phone/package.json +0 -10
- package/pipes/format-phone/taiga-ui-core-pipes-format-phone.d.ts +0 -5
- package/pipes/month/package.json +0 -10
- package/pipes/month/taiga-ui-core-pipes-month.d.ts +0 -5
- package/pipes/order-week-days/package.json +0 -10
- package/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.d.ts +0 -5
- package/pipes/package.json +0 -10
- package/pipes/taiga-ui-core-pipes.d.ts +0 -5
- package/providers/package.json +0 -10
- package/providers/taiga-ui-core-providers.d.ts +0 -5
- package/services/package.json +0 -10
- package/services/taiga-ui-core-services.d.ts +0 -5
- package/taiga-ui-core.d.ts +0 -5
- package/tokens/package.json +0 -10
- package/tokens/taiga-ui-core-tokens.d.ts +0 -5
- package/types/package.json +0 -10
- package/types/taiga-ui-core-types.d.ts +0 -5
- package/utils/dom/package.json +0 -10
- package/utils/dom/taiga-ui-core-utils-dom.d.ts +0 -5
- package/utils/format/package.json +0 -10
- package/utils/format/taiga-ui-core-utils-format.d.ts +0 -5
- package/utils/mask/package.json +0 -10
- package/utils/mask/taiga-ui-core-utils-mask.d.ts +0 -5
- package/utils/miscellaneous/package.json +0 -10
- package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.d.ts +0 -5
- package/utils/mobile/package.json +0 -10
- package/utils/mobile/taiga-ui-core-utils-mobile.d.ts +0 -5
- package/utils/package.json +0 -10
- package/utils/taiga-ui-core-utils.d.ts +0 -5
- /package/{esm2015/abstract/driver.js → esm2020/abstract/driver.mjs} +0 -0
- /package/{esm2015/abstract/index.js → esm2020/abstract/index.mjs} +0 -0
- /package/{esm2015/abstract/position-accessor.js → esm2020/abstract/position-accessor.mjs} +0 -0
- /package/{esm2015/abstract/taiga-ui-core-abstract.js → esm2020/abstract/taiga-ui-core-abstract.mjs} +0 -0
- /package/{esm2015/abstract/vehicle.js → esm2020/abstract/vehicle.mjs} +0 -0
- /package/{esm2015/animations/animations.js → esm2020/animations/animations.mjs} +0 -0
- /package/{esm2015/animations/index.js → esm2020/animations/index.mjs} +0 -0
- /package/{esm2015/animations/taiga-ui-core-animations.js → esm2020/animations/taiga-ui-core-animations.mjs} +0 -0
- /package/{esm2015/components/alert/alert.providers.js → esm2020/components/alert/alert.providers.mjs} +0 -0
- /package/{esm2015/components/alert/index.js → esm2020/components/alert/index.mjs} +0 -0
- /package/{esm2015/components/alert/taiga-ui-core-components-alert.js → esm2020/components/alert/taiga-ui-core-components-alert.mjs} +0 -0
- /package/{esm2015/components/button/button.options.js → esm2020/components/button/button.options.mjs} +0 -0
- /package/{esm2015/components/button/index.js → esm2020/components/button/index.mjs} +0 -0
- /package/{esm2015/components/button/taiga-ui-core-components-button.js → esm2020/components/button/taiga-ui-core-components-button.mjs} +0 -0
- /package/{esm2015/components/calendar/index.js → esm2020/components/calendar/index.mjs} +0 -0
- /package/{esm2015/components/calendar/taiga-ui-core-components-calendar.js → esm2020/components/calendar/taiga-ui-core-components-calendar.mjs} +0 -0
- /package/{esm2015/components/data-list/index.js → esm2020/components/data-list/index.mjs} +0 -0
- /package/{esm2015/components/data-list/taiga-ui-core-components-data-list.js → esm2020/components/data-list/taiga-ui-core-components-data-list.mjs} +0 -0
- /package/{esm2015/components/dialog/dialog.tokens.js → esm2020/components/dialog/dialog.tokens.mjs} +0 -0
- /package/{esm2015/components/dialog/index.js → esm2020/components/dialog/index.mjs} +0 -0
- /package/{esm2015/components/dialog/taiga-ui-core-components-dialog.js → esm2020/components/dialog/taiga-ui-core-components-dialog.mjs} +0 -0
- /package/{esm2015/components/error/index.js → esm2020/components/error/index.mjs} +0 -0
- /package/{esm2015/components/error/taiga-ui-core-components-error.js → esm2020/components/error/taiga-ui-core-components-error.mjs} +0 -0
- /package/{esm2015/components/expand/index.js → esm2020/components/expand/index.mjs} +0 -0
- /package/{esm2015/components/expand/taiga-ui-core-components-expand.js → esm2020/components/expand/taiga-ui-core-components-expand.mjs} +0 -0
- /package/{esm2015/components/group/index.js → esm2020/components/group/index.mjs} +0 -0
- /package/{esm2015/components/group/taiga-ui-core-components-group.js → esm2020/components/group/taiga-ui-core-components-group.mjs} +0 -0
- /package/{esm2015/components/hints-host/index.js → esm2020/components/hints-host/index.mjs} +0 -0
- /package/{esm2015/components/hints-host/taiga-ui-core-components-hints-host.js → esm2020/components/hints-host/taiga-ui-core-components-hints-host.mjs} +0 -0
- /package/{esm2015/components/hosted-dropdown/hosted-dropdown.token.js → esm2020/components/hosted-dropdown/hosted-dropdown.token.mjs} +0 -0
- /package/{esm2015/components/hosted-dropdown/index.js → esm2020/components/hosted-dropdown/index.mjs} +0 -0
- /package/{esm2015/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js → esm2020/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.mjs} +0 -0
- /package/{esm2015/components/index.js → esm2020/components/index.mjs} +0 -0
- /package/{esm2015/components/label/index.js → esm2020/components/label/index.mjs} +0 -0
- /package/{esm2015/components/label/taiga-ui-core-components-label.js → esm2020/components/label/taiga-ui-core-components-label.mjs} +0 -0
- /package/{esm2015/components/link/index.js → esm2020/components/link/index.mjs} +0 -0
- /package/{esm2015/components/link/taiga-ui-core-components-link.js → esm2020/components/link/taiga-ui-core-components-link.mjs} +0 -0
- /package/{esm2015/components/loader/index.js → esm2020/components/loader/index.mjs} +0 -0
- /package/{esm2015/components/loader/loader.options.js → esm2020/components/loader/loader.options.mjs} +0 -0
- /package/{esm2015/components/loader/taiga-ui-core-components-loader.js → esm2020/components/loader/taiga-ui-core-components-loader.mjs} +0 -0
- /package/{esm2015/components/notification/index.js → esm2020/components/notification/index.mjs} +0 -0
- /package/{esm2015/components/notification/taiga-ui-core-components-notification.js → esm2020/components/notification/taiga-ui-core-components-notification.mjs} +0 -0
- /package/{esm2015/components/primitive-calendar/index.js → esm2020/components/primitive-calendar/index.mjs} +0 -0
- /package/{esm2015/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js → esm2020/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.mjs} +0 -0
- /package/{esm2015/components/primitive-checkbox/checkbox.options.js → esm2020/components/primitive-checkbox/checkbox.options.mjs} +0 -0
- /package/{esm2015/components/primitive-checkbox/index.js → esm2020/components/primitive-checkbox/index.mjs} +0 -0
- /package/{esm2015/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js → esm2020/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.mjs} +0 -0
- /package/{esm2015/components/primitive-spin-button/index.js → esm2020/components/primitive-spin-button/index.mjs} +0 -0
- /package/{esm2015/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js → esm2020/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.mjs} +0 -0
- /package/{esm2015/components/primitive-textfield/index.js → esm2020/components/primitive-textfield/index.mjs} +0 -0
- /package/{esm2015/components/primitive-textfield/primitive-textfield-options.js → esm2020/components/primitive-textfield/primitive-textfield-options.mjs} +0 -0
- /package/{esm2015/components/primitive-textfield/primitive-textfield-types.js → esm2020/components/primitive-textfield/primitive-textfield-types.mjs} +0 -0
- /package/{esm2015/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js → esm2020/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.mjs} +0 -0
- /package/{esm2015/components/primitive-year-picker/index.js → esm2020/components/primitive-year-picker/index.mjs} +0 -0
- /package/{esm2015/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js → esm2020/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.mjs} +0 -0
- /package/{esm2015/components/root/index.js → esm2020/components/root/index.mjs} +0 -0
- /package/{esm2015/components/root/taiga-ui-core-components-root.js → esm2020/components/root/taiga-ui-core-components-root.mjs} +0 -0
- /package/{esm2015/components/scroll-controls/index.js → esm2020/components/scroll-controls/index.mjs} +0 -0
- /package/{esm2015/components/scroll-controls/taiga-ui-core-components-scroll-controls.js → esm2020/components/scroll-controls/taiga-ui-core-components-scroll-controls.mjs} +0 -0
- /package/{esm2015/components/scrollbar/index.js → esm2020/components/scrollbar/index.mjs} +0 -0
- /package/{esm2015/components/scrollbar/taiga-ui-core-components-scrollbar.js → esm2020/components/scrollbar/taiga-ui-core-components-scrollbar.mjs} +0 -0
- /package/{esm2015/components/svg/deprecated-icons.js → esm2020/components/svg/deprecated-icons.mjs} +0 -0
- /package/{esm2015/components/svg/index.js → esm2020/components/svg/index.mjs} +0 -0
- /package/{esm2015/components/svg/taiga-ui-core-components-svg.js → esm2020/components/svg/taiga-ui-core-components-svg.mjs} +0 -0
- /package/{esm2015/components/taiga-ui-core-components.js → esm2020/components/taiga-ui-core-components.mjs} +0 -0
- /package/{esm2015/components/theme-night/index.js → esm2020/components/theme-night/index.mjs} +0 -0
- /package/{esm2015/components/theme-night/taiga-ui-core-components-theme-night.js → esm2020/components/theme-night/taiga-ui-core-components-theme-night.mjs} +0 -0
- /package/{esm2015/components/tooltip/index.js → esm2020/components/tooltip/index.mjs} +0 -0
- /package/{esm2015/components/tooltip/taiga-ui-core-components-tooltip.js → esm2020/components/tooltip/taiga-ui-core-components-tooltip.mjs} +0 -0
- /package/{esm2015/constants/cache-basting-payload.js → esm2020/constants/cache-basting-payload.mjs} +0 -0
- /package/{esm2015/constants/decimal-symbols.js → esm2020/constants/decimal-symbols.mjs} +0 -0
- /package/{esm2015/constants/default-icons-path.js → esm2020/constants/default-icons-path.mjs} +0 -0
- /package/{esm2015/constants/default-marker-handler.js → esm2020/constants/default-marker-handler.mjs} +0 -0
- /package/{esm2015/constants/default-number-format.js → esm2020/constants/default-number-format.mjs} +0 -0
- /package/{esm2015/constants/editing-keys.js → esm2020/constants/editing-keys.mjs} +0 -0
- /package/{esm2015/constants/events.js → esm2020/constants/events.mjs} +0 -0
- /package/{esm2015/constants/hint-directions.js → esm2020/constants/hint-directions.mjs} +0 -0
- /package/{esm2015/constants/index.js → esm2020/constants/index.mjs} +0 -0
- /package/{esm2015/constants/mask-caret-trap.js → esm2020/constants/mask-caret-trap.mjs} +0 -0
- /package/{esm2015/constants/regexp.js → esm2020/constants/regexp.mjs} +0 -0
- /package/{esm2015/constants/taiga-ui-core-constants.js → esm2020/constants/taiga-ui-core-constants.mjs} +0 -0
- /package/{esm2015/directives/dropdown/dropdown-hover.options.js → esm2020/directives/dropdown/dropdown-hover.options.mjs} +0 -0
- /package/{esm2015/directives/dropdown/dropdown.providers.js → esm2020/directives/dropdown/dropdown.providers.mjs} +0 -0
- /package/{esm2015/directives/dropdown/index.js → esm2020/directives/dropdown/index.mjs} +0 -0
- /package/{esm2015/directives/dropdown/taiga-ui-core-directives-dropdown.js → esm2020/directives/dropdown/taiga-ui-core-directives-dropdown.mjs} +0 -0
- /package/{esm2015/directives/hint/hint.providers.js → esm2020/directives/hint/hint.providers.mjs} +0 -0
- /package/{esm2015/directives/hint/index.js → esm2020/directives/hint/index.mjs} +0 -0
- /package/{esm2015/directives/hint/taiga-ui-core-directives-hint.js → esm2020/directives/hint/taiga-ui-core-directives-hint.mjs} +0 -0
- /package/{esm2015/directives/index.js → esm2020/directives/index.mjs} +0 -0
- /package/{esm2015/directives/mask-accessor/index.js → esm2020/directives/mask-accessor/index.mjs} +0 -0
- /package/{esm2015/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js → esm2020/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.mjs} +0 -0
- /package/{esm2015/directives/mode/index.js → esm2020/directives/mode/index.mjs} +0 -0
- /package/{esm2015/directives/mode/taiga-ui-core-directives-mode.js → esm2020/directives/mode/taiga-ui-core-directives-mode.mjs} +0 -0
- /package/{esm2015/directives/number-format/index.js → esm2020/directives/number-format/index.mjs} +0 -0
- /package/{esm2015/directives/number-format/taiga-ui-core-directives-number-format.js → esm2020/directives/number-format/taiga-ui-core-directives-number-format.mjs} +0 -0
- /package/{esm2015/directives/scroll-into-view/index.js → esm2020/directives/scroll-into-view/index.mjs} +0 -0
- /package/{esm2015/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js → esm2020/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.mjs} +0 -0
- /package/{esm2015/directives/taiga-ui-core-directives.js → esm2020/directives/taiga-ui-core-directives.mjs} +0 -0
- /package/{esm2015/directives/textfield-controller/index.js → esm2020/directives/textfield-controller/index.mjs} +0 -0
- /package/{esm2015/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js → esm2020/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.mjs} +0 -0
- /package/{esm2015/directives/textfield-controller/textfield.controller.js → esm2020/directives/textfield-controller/textfield.controller.mjs} +0 -0
- /package/{esm2015/directives/textfield-controller/textfield.options.js → esm2020/directives/textfield-controller/textfield.options.mjs} +0 -0
- /package/{esm2015/directives/wrapper/index.js → esm2020/directives/wrapper/index.mjs} +0 -0
- /package/{esm2015/directives/wrapper/taiga-ui-core-directives-wrapper.js → esm2020/directives/wrapper/taiga-ui-core-directives-wrapper.mjs} +0 -0
- /package/{esm2015/enums/appearance.js → esm2020/enums/appearance.mjs} +0 -0
- /package/{esm2015/enums/dropdown-animation.js → esm2020/enums/dropdown-animation.mjs} +0 -0
- /package/{esm2015/enums/index.js → esm2020/enums/index.mjs} +0 -0
- /package/{esm2015/enums/interactive-state.js → esm2020/enums/interactive-state.mjs} +0 -0
- /package/{esm2015/enums/notification.js → esm2020/enums/notification.mjs} +0 -0
- /package/{esm2015/enums/range-state.js → esm2020/enums/range-state.mjs} +0 -0
- /package/{esm2015/enums/taiga-ui-core-enums.js → esm2020/enums/taiga-ui-core-enums.mjs} +0 -0
- /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- /package/{esm2015/interfaces/alert-options.js → esm2020/interfaces/alert-options.mjs} +0 -0
- /package/{esm2015/interfaces/animation-options.js → esm2020/interfaces/animation-options.mjs} +0 -0
- /package/{esm2015/interfaces/data-list-accessor.js → esm2020/interfaces/data-list-accessor.mjs} +0 -0
- /package/{esm2015/interfaces/data-list-host.js → esm2020/interfaces/data-list-host.mjs} +0 -0
- /package/{esm2015/interfaces/dialog-context.js → esm2020/interfaces/dialog-context.mjs} +0 -0
- /package/{esm2015/interfaces/dialog-options.js → esm2020/interfaces/dialog-options.mjs} +0 -0
- /package/{esm2015/interfaces/icon-error.js → esm2020/interfaces/icon-error.mjs} +0 -0
- /package/{esm2015/interfaces/index.js → esm2020/interfaces/index.mjs} +0 -0
- /package/{esm2015/interfaces/media.js → esm2020/interfaces/media.mjs} +0 -0
- /package/{esm2015/interfaces/number-format-settings.js → esm2020/interfaces/number-format-settings.mjs} +0 -0
- /package/{esm2015/interfaces/portal-item.js → esm2020/interfaces/portal-item.mjs} +0 -0
- /package/{esm2015/interfaces/taiga-ui-core-interfaces.js → esm2020/interfaces/taiga-ui-core-interfaces.mjs} +0 -0
- /package/{esm2015/interfaces/textfield-host.js → esm2020/interfaces/textfield-host.mjs} +0 -0
- /package/{esm2015/interfaces/value-content-context.js → esm2020/interfaces/value-content-context.mjs} +0 -0
- /package/{esm2015/interfaces/with-optional-min-max.js → esm2020/interfaces/with-optional-min-max.mjs} +0 -0
- /package/{esm2015/internal/index.js → esm2020/internal/index.mjs} +0 -0
- /package/{esm2015/internal/primitive-year-month-pagination/index.js → esm2020/internal/primitive-year-month-pagination/index.mjs} +0 -0
- /package/{esm2015/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js → esm2020/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.mjs} +0 -0
- /package/{esm2015/internal/svg-defs-host/index.js → esm2020/internal/svg-defs-host/index.mjs} +0 -0
- /package/{esm2015/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js → esm2020/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.mjs} +0 -0
- /package/{esm2015/internal/taiga-ui-core-internal.js → esm2020/internal/taiga-ui-core-internal.mjs} +0 -0
- /package/{esm2015/mask/index.js → esm2020/mask/index.mjs} +0 -0
- /package/{esm2015/mask/number-mask-options.js → esm2020/mask/number-mask-options.mjs} +0 -0
- /package/{esm2015/mask/taiga-ui-core-mask.js → esm2020/mask/taiga-ui-core-mask.mjs} +0 -0
- /package/{esm2015/mask/text-mask-config.js → esm2020/mask/text-mask-config.mjs} +0 -0
- /package/{esm2015/mask/text-mask-correction-handler.js → esm2020/mask/text-mask-correction-handler.mjs} +0 -0
- /package/{esm2015/mask/text-mask-list-handler.js → esm2020/mask/text-mask-list-handler.mjs} +0 -0
- /package/{esm2015/mask/text-mask-list.js → esm2020/mask/text-mask-list.mjs} +0 -0
- /package/{esm2015/mask/text-mask-options.js → esm2020/mask/text-mask-options.mjs} +0 -0
- /package/{esm2015/mask/text-mask-pipe-handler.js → esm2020/mask/text-mask-pipe-handler.mjs} +0 -0
- /package/{esm2015/mask/text-mask-pipe-result.js → esm2020/mask/text-mask-pipe-result.mjs} +0 -0
- /package/{esm2015/observables/index.js → esm2020/observables/index.mjs} +0 -0
- /package/{esm2015/observables/taiga-ui-core-observables.js → esm2020/observables/taiga-ui-core-observables.mjs} +0 -0
- /package/{esm2015/pipes/calendar-sheet/index.js → esm2020/pipes/calendar-sheet/index.mjs} +0 -0
- /package/{esm2015/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js → esm2020/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs} +0 -0
- /package/{esm2015/pipes/calendar-sheet/utils.js → esm2020/pipes/calendar-sheet/utils.mjs} +0 -0
- /package/{esm2015/pipes/flag/index.js → esm2020/pipes/flag/index.mjs} +0 -0
- /package/{esm2015/pipes/flag/taiga-ui-core-pipes-flag.js → esm2020/pipes/flag/taiga-ui-core-pipes-flag.mjs} +0 -0
- /package/{esm2015/pipes/format-date/index.js → esm2020/pipes/format-date/index.mjs} +0 -0
- /package/{esm2015/pipes/format-date/taiga-ui-core-pipes-format-date.js → esm2020/pipes/format-date/taiga-ui-core-pipes-format-date.mjs} +0 -0
- /package/{esm2015/pipes/format-number/index.js → esm2020/pipes/format-number/index.mjs} +0 -0
- /package/{esm2015/pipes/format-number/taiga-ui-core-pipes-format-number.js → esm2020/pipes/format-number/taiga-ui-core-pipes-format-number.mjs} +0 -0
- /package/{esm2015/pipes/format-phone/index.js → esm2020/pipes/format-phone/index.mjs} +0 -0
- /package/{esm2015/pipes/format-phone/taiga-ui-core-pipes-format-phone.js → esm2020/pipes/format-phone/taiga-ui-core-pipes-format-phone.mjs} +0 -0
- /package/{esm2015/pipes/index.js → esm2020/pipes/index.mjs} +0 -0
- /package/{esm2015/pipes/month/index.js → esm2020/pipes/month/index.mjs} +0 -0
- /package/{esm2015/pipes/month/taiga-ui-core-pipes-month.js → esm2020/pipes/month/taiga-ui-core-pipes-month.mjs} +0 -0
- /package/{esm2015/pipes/order-week-days/index.js → esm2020/pipes/order-week-days/index.mjs} +0 -0
- /package/{esm2015/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.js → esm2020/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs} +0 -0
- /package/{esm2015/pipes/taiga-ui-core-pipes.js → esm2020/pipes/taiga-ui-core-pipes.mjs} +0 -0
- /package/{esm2015/providers/index.js → esm2020/providers/index.mjs} +0 -0
- /package/{esm2015/providers/is-mobile-resolution.provider.js → esm2020/providers/is-mobile-resolution.provider.mjs} +0 -0
- /package/{esm2015/providers/taiga-ui-core-providers.js → esm2020/providers/taiga-ui-core-providers.mjs} +0 -0
- /package/{esm2015/services/index.js → esm2020/services/index.mjs} +0 -0
- /package/{esm2015/services/taiga-ui-core-services.js → esm2020/services/taiga-ui-core-services.mjs} +0 -0
- /package/{esm2015/taiga-ui-core.js → esm2020/taiga-ui-core.mjs} +0 -0
- /package/{esm2015/tokens/animation-options.js → esm2020/tokens/animation-options.mjs} +0 -0
- /package/{esm2015/tokens/animations-duration.js → esm2020/tokens/animations-duration.mjs} +0 -0
- /package/{esm2015/tokens/assert-enabled.js → esm2020/tokens/assert-enabled.mjs} +0 -0
- /package/{esm2015/tokens/common-icon.js → esm2020/tokens/common-icon.mjs} +0 -0
- /package/{esm2015/tokens/data-list-accessor.js → esm2020/tokens/data-list-accessor.mjs} +0 -0
- /package/{esm2015/tokens/data-list-host.js → esm2020/tokens/data-list-host.mjs} +0 -0
- /package/{esm2015/tokens/day-type-handler.js → esm2020/tokens/day-type-handler.mjs} +0 -0
- /package/{esm2015/tokens/document-or-shadow-root.js → esm2020/tokens/document-or-shadow-root.mjs} +0 -0
- /package/{esm2015/tokens/element-ref.js → esm2020/tokens/element-ref.mjs} +0 -0
- /package/{esm2015/tokens/first-day-of-week.js → esm2020/tokens/first-day-of-week.mjs} +0 -0
- /package/{esm2015/tokens/i18n.js → esm2020/tokens/i18n.mjs} +0 -0
- /package/{esm2015/tokens/icon-place.js → esm2020/tokens/icon-place.mjs} +0 -0
- /package/{esm2015/tokens/icons-path.js → esm2020/tokens/icons-path.mjs} +0 -0
- /package/{esm2015/tokens/icons.js → esm2020/tokens/icons.mjs} +0 -0
- /package/{esm2015/tokens/index.js → esm2020/tokens/index.mjs} +0 -0
- /package/{esm2015/tokens/legacy-mask.js → esm2020/tokens/legacy-mask.mjs} +0 -0
- /package/{esm2015/tokens/media.js → esm2020/tokens/media.mjs} +0 -0
- /package/{esm2015/tokens/mode.js → esm2020/tokens/mode.mjs} +0 -0
- /package/{esm2015/tokens/notification-options.js → esm2020/tokens/notification-options.mjs} +0 -0
- /package/{esm2015/tokens/number-format.js → esm2020/tokens/number-format.mjs} +0 -0
- /package/{esm2015/tokens/option-content.js → esm2020/tokens/option-content.mjs} +0 -0
- /package/{esm2015/tokens/sanitizer.js → esm2020/tokens/sanitizer.mjs} +0 -0
- /package/{esm2015/tokens/scroll-ref.js → esm2020/tokens/scroll-ref.mjs} +0 -0
- /package/{esm2015/tokens/spin-icons.js → esm2020/tokens/spin-icons.mjs} +0 -0
- /package/{esm2015/tokens/svg-content-processor.js → esm2020/tokens/svg-content-processor.mjs} +0 -0
- /package/{esm2015/tokens/svg-src-processor.js → esm2020/tokens/svg-src-processor.mjs} +0 -0
- /package/{esm2015/tokens/taiga-ui-core-tokens.js → esm2020/tokens/taiga-ui-core-tokens.mjs} +0 -0
- /package/{esm2015/tokens/textfield-appearance.js → esm2020/tokens/textfield-appearance.mjs} +0 -0
- /package/{esm2015/tokens/textfield-host.js → esm2020/tokens/textfield-host.mjs} +0 -0
- /package/{esm2015/tokens/theme.js → esm2020/tokens/theme.mjs} +0 -0
- /package/{esm2015/tokens/value-accessor.js → esm2020/tokens/value-accessor.mjs} +0 -0
- /package/{esm2015/types/brightness.js → esm2020/types/brightness.mjs} +0 -0
- /package/{esm2015/types/calendar-view.js → esm2020/types/calendar-view.mjs} +0 -0
- /package/{esm2015/types/data-list-role.js → esm2020/types/data-list-role.mjs} +0 -0
- /package/{esm2015/types/decimal-symbol.js → esm2020/types/decimal-symbol.mjs} +0 -0
- /package/{esm2015/types/decimal.js → esm2020/types/decimal.mjs} +0 -0
- /package/{esm2015/types/dialog-size.js → esm2020/types/dialog-size.mjs} +0 -0
- /package/{esm2015/types/direction.js → esm2020/types/direction.mjs} +0 -0
- /package/{esm2015/types/dropdown-align.js → esm2020/types/dropdown-align.mjs} +0 -0
- /package/{esm2015/types/dropdown-width.js → esm2020/types/dropdown-width.mjs} +0 -0
- /package/{esm2015/types/hint-direction.js → esm2020/types/hint-direction.mjs} +0 -0
- /package/{esm2015/types/index.js → esm2020/types/index.mjs} +0 -0
- /package/{esm2015/types/marker-handler.js → esm2020/types/marker-handler.mjs} +0 -0
- /package/{esm2015/types/notification.js → esm2020/types/notification.mjs} +0 -0
- /package/{esm2015/types/option-role.js → esm2020/types/option-role.mjs} +0 -0
- /package/{esm2015/types/orientation.js → esm2020/types/orientation.mjs} +0 -0
- /package/{esm2015/types/point.js → esm2020/types/point.mjs} +0 -0
- /package/{esm2015/types/size.js → esm2020/types/size.mjs} +0 -0
- /package/{esm2015/types/taiga-ui-core-types.js → esm2020/types/taiga-ui-core-types.mjs} +0 -0
- /package/{esm2015/utils/dom/check-fixed-position.js → esm2020/utils/dom/check-fixed-position.mjs} +0 -0
- /package/{esm2015/utils/dom/get-safe-area-size.js → esm2020/utils/dom/get-safe-area-size.mjs} +0 -0
- /package/{esm2015/utils/dom/get-screen-width.js → esm2020/utils/dom/get-screen-width.mjs} +0 -0
- /package/{esm2015/utils/dom/get-viewport-height.js → esm2020/utils/dom/get-viewport-height.mjs} +0 -0
- /package/{esm2015/utils/dom/get-viewport-width.js → esm2020/utils/dom/get-viewport-width.mjs} +0 -0
- /package/{esm2015/utils/dom/get-word-range.js → esm2020/utils/dom/get-word-range.mjs} +0 -0
- /package/{esm2015/utils/dom/index.js → esm2020/utils/dom/index.mjs} +0 -0
- /package/{esm2015/utils/dom/taiga-ui-core-utils-dom.js → esm2020/utils/dom/taiga-ui-core-utils-dom.mjs} +0 -0
- /package/{esm2015/utils/format/capitalize-first-letter.js → esm2020/utils/format/capitalize-first-letter.mjs} +0 -0
- /package/{esm2015/utils/format/capitalize.js → esm2020/utils/format/capitalize.mjs} +0 -0
- /package/{esm2015/utils/format/format-phone.js → esm2020/utils/format/format-phone.mjs} +0 -0
- /package/{esm2015/utils/format/get-fractional-part-padded.js → esm2020/utils/format/get-fractional-part-padded.mjs} +0 -0
- /package/{esm2015/utils/format/index.js → esm2020/utils/format/index.mjs} +0 -0
- /package/{esm2015/utils/format/other-decimal-symbol.js → esm2020/utils/format/other-decimal-symbol.mjs} +0 -0
- /package/{esm2015/utils/format/taiga-ui-core-utils-format.js → esm2020/utils/format/taiga-ui-core-utils-format.mjs} +0 -0
- /package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
- /package/{esm2015/utils/mask/create-auto-corrected-money-pipe.js → esm2020/utils/mask/create-auto-corrected-money-pipe.mjs} +0 -0
- /package/{esm2015/utils/mask/create-correction-mask.js → esm2020/utils/mask/create-correction-mask.mjs} +0 -0
- /package/{esm2015/utils/mask/enable-auto-correct-decimal-symbol.js → esm2020/utils/mask/enable-auto-correct-decimal-symbol.mjs} +0 -0
- /package/{esm2015/utils/mask/index.js → esm2020/utils/mask/index.mjs} +0 -0
- /package/{esm2015/utils/mask/masked-money-value-is-empty.js → esm2020/utils/mask/masked-money-value-is-empty.mjs} +0 -0
- /package/{esm2015/utils/mask/masked-number-string-to-number.js → esm2020/utils/mask/masked-number-string-to-number.mjs} +0 -0
- /package/{esm2015/utils/mask/taiga-ui-core-utils-mask.js → esm2020/utils/mask/taiga-ui-core-utils-mask.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/get-border.js → esm2020/utils/miscellaneous/get-border.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/icons-path-factory.js → esm2020/utils/miscellaneous/icons-path-factory.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/index.js → esm2020/utils/miscellaneous/index.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/is-editing-key.js → esm2020/utils/miscellaneous/is-editing-key.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/is-presumed-html-string.js → esm2020/utils/miscellaneous/is-presumed-html-string.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/size-bigger.js → esm2020/utils/miscellaneous/size-bigger.mjs} +0 -0
- /package/{esm2015/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js → esm2020/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs} +0 -0
- /package/{esm2015/utils/mobile/index.js → esm2020/utils/mobile/index.mjs} +0 -0
- /package/{esm2015/utils/mobile/is-mobile.js → esm2020/utils/mobile/is-mobile.mjs} +0 -0
- /package/{esm2015/utils/mobile/taiga-ui-core-utils-mobile.js → esm2020/utils/mobile/taiga-ui-core-utils-mobile.mjs} +0 -0
- /package/{esm2015/utils/taiga-ui-core-utils.js → esm2020/utils/taiga-ui-core-utils.mjs} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { TuiWrapperDirective } from './wrapper.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class TuiWrapperModule {
|
|
5
|
+
}
|
|
6
|
+
TuiWrapperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
TuiWrapperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiWrapperModule, declarations: [TuiWrapperDirective], exports: [TuiWrapperDirective] });
|
|
8
|
+
TuiWrapperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiWrapperModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiWrapperModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [TuiWrapperDirective],
|
|
13
|
+
exports: [TuiWrapperDirective],
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JhcHBlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2RpcmVjdGl2ZXMvd3JhcHBlci93cmFwcGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXZDLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHFCQUFxQixDQUFDOztBQU14RCxNQUFNLE9BQU8sZ0JBQWdCOzs4R0FBaEIsZ0JBQWdCOytHQUFoQixnQkFBZ0IsaUJBSFYsbUJBQW1CLGFBQ3hCLG1CQUFtQjsrR0FFcEIsZ0JBQWdCOzRGQUFoQixnQkFBZ0I7a0JBSjVCLFFBQVE7bUJBQUM7b0JBQ04sWUFBWSxFQUFFLENBQUMsbUJBQW1CLENBQUM7b0JBQ25DLE9BQU8sRUFBRSxDQUFDLG1CQUFtQixDQUFDO2lCQUNqQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQge1R1aVdyYXBwZXJEaXJlY3RpdmV9IGZyb20gJy4vd3JhcHBlci5kaXJlY3RpdmUnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW1R1aVdyYXBwZXJEaXJlY3RpdmVdLFxuICAgIGV4cG9ydHM6IFtUdWlXcmFwcGVyRGlyZWN0aXZlXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpV3JhcHBlck1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
|
|
2
|
+
import { TUI_FIRST_DAY, TUI_LAST_DAY, TuiMonth, } from '@taiga-ui/cdk';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@taiga-ui/cdk";
|
|
6
|
+
import * as i3 from "@taiga-ui/core/components/primitive-spin-button";
|
|
7
|
+
import * as i4 from "@taiga-ui/core/components/link";
|
|
8
|
+
import * as i5 from "@taiga-ui/core/pipes";
|
|
9
|
+
export class TuiPrimitiveYearMonthPaginationComponent {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.value = TuiMonth.currentLocal();
|
|
12
|
+
this.min = TUI_FIRST_DAY;
|
|
13
|
+
this.max = TUI_LAST_DAY;
|
|
14
|
+
this.valueChange = new EventEmitter();
|
|
15
|
+
this.yearClick = new EventEmitter();
|
|
16
|
+
}
|
|
17
|
+
get computedMin() {
|
|
18
|
+
return this.min ?? TUI_FIRST_DAY;
|
|
19
|
+
}
|
|
20
|
+
get computedMax() {
|
|
21
|
+
return this.max ?? TUI_LAST_DAY;
|
|
22
|
+
}
|
|
23
|
+
get prevMonthDisabled() {
|
|
24
|
+
return this.value.monthSameOrBefore(this.computedMin);
|
|
25
|
+
}
|
|
26
|
+
get nextMonthDisabled() {
|
|
27
|
+
return this.value.monthSameOrAfter(this.computedMax);
|
|
28
|
+
}
|
|
29
|
+
get oneYear() {
|
|
30
|
+
const { computedMin, computedMax } = this;
|
|
31
|
+
return computedMin.year === computedMax.year;
|
|
32
|
+
}
|
|
33
|
+
onYearClick() {
|
|
34
|
+
this.yearClick.next(this.value);
|
|
35
|
+
}
|
|
36
|
+
onPrevMonthClick() {
|
|
37
|
+
this.appendValueWithLimit({ month: -1 });
|
|
38
|
+
}
|
|
39
|
+
onNextMonthClick() {
|
|
40
|
+
this.appendValueWithLimit({ month: 1 });
|
|
41
|
+
}
|
|
42
|
+
appendValueWithLimit(date) {
|
|
43
|
+
const newMonth = this.value.append(date);
|
|
44
|
+
const { computedMin, computedMax } = this;
|
|
45
|
+
if (computedMin.monthSameOrAfter(newMonth)) {
|
|
46
|
+
this.updateValue(computedMin);
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
this.updateValue(computedMax.monthSameOrBefore(newMonth) ? computedMax : newMonth);
|
|
50
|
+
}
|
|
51
|
+
updateValue(value) {
|
|
52
|
+
if (this.value.monthSame(value)) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
this.value = value;
|
|
56
|
+
this.valueChange.emit(value);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
TuiPrimitiveYearMonthPaginationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveYearMonthPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
+
TuiPrimitiveYearMonthPaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiPrimitiveYearMonthPaginationComponent, selector: "tui-primitive-year-month-pagination", inputs: { value: "value", min: "min", max: "max" }, outputs: { valueChange: "valueChange", yearClick: "yearClick" }, ngImport: i0, template: "<tui-primitive-spin-button\n [focusable]=\"false\"\n [leftDisabled]=\"prevMonthDisabled\"\n [rightDisabled]=\"nextMonthDisabled\"\n (leftClick)=\"onPrevMonthClick()\"\n (rightClick)=\"onNextMonthClick()\"\n>\n {{ value | tuiMonth | async }}\n <ng-container *ngIf=\"oneYear; else button\">\n {{ value.formattedYear }}\n </ng-container>\n <ng-template #button>\n <button\n id=\"year-btn\"\n automation-id=\"tui-primitive-year-month-pagination__year-button\"\n tuiLink\n type=\"button\"\n [tuiFocusable]=\"false\"\n (click)=\"onYearClick()\"\n >\n {{ value.formattedYear }}\n </button>\n </ng-template>\n</tui-primitive-spin-button>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { kind: "component", type: i3.TuiPrimitiveSpinButtonComponent, selector: "tui-primitive-spin-button", inputs: ["disabled", "leftDisabled", "rightDisabled"], outputs: ["leftClick", "rightClick"] }, { kind: "component", type: i4.TuiLinkComponent, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo", "icon", "iconAlign", "iconRotated", "mode"], exportAs: ["tuiLink"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.TuiMonthPipe, name: "tuiMonth" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveYearMonthPaginationComponent, decorators: [{
|
|
62
|
+
type: Component,
|
|
63
|
+
args: [{ selector: 'tui-primitive-year-month-pagination', changeDetection: ChangeDetectionStrategy.OnPush, template: "<tui-primitive-spin-button\n [focusable]=\"false\"\n [leftDisabled]=\"prevMonthDisabled\"\n [rightDisabled]=\"nextMonthDisabled\"\n (leftClick)=\"onPrevMonthClick()\"\n (rightClick)=\"onNextMonthClick()\"\n>\n {{ value | tuiMonth | async }}\n <ng-container *ngIf=\"oneYear; else button\">\n {{ value.formattedYear }}\n </ng-container>\n <ng-template #button>\n <button\n id=\"year-btn\"\n automation-id=\"tui-primitive-year-month-pagination__year-button\"\n tuiLink\n type=\"button\"\n [tuiFocusable]=\"false\"\n (click)=\"onYearClick()\"\n >\n {{ value.formattedYear }}\n </button>\n </ng-template>\n</tui-primitive-spin-button>\n", styles: [":host{display:block}\n"] }]
|
|
64
|
+
}], propDecorators: { value: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}], min: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}], max: [{
|
|
69
|
+
type: Input
|
|
70
|
+
}], valueChange: [{
|
|
71
|
+
type: Output
|
|
72
|
+
}], yearClick: [{
|
|
73
|
+
type: Output
|
|
74
|
+
}] } });
|
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpbWl0aXZlLXllYXItbW9udGgtcGFnaW5hdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2ludGVybmFsL3ByaW1pdGl2ZS15ZWFyLW1vbnRoLXBhZ2luYXRpb24vcHJpbWl0aXZlLXllYXItbW9udGgtcGFnaW5hdGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2ludGVybmFsL3ByaW1pdGl2ZS15ZWFyLW1vbnRoLXBhZ2luYXRpb24vcHJpbWl0aXZlLXllYXItbW9udGgtcGFnaW5hdGlvbi50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixLQUFLLEVBQ0wsTUFBTSxHQUNULE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFDSCxhQUFhLEVBQ2IsWUFBWSxFQUNaLFFBQVEsR0FHWCxNQUFNLGVBQWUsQ0FBQzs7Ozs7OztBQVN2QixNQUFNLE9BQU8sd0NBQXdDO0lBTnJEO1FBVUksVUFBSyxHQUFHLFFBQVEsQ0FBQyxZQUFZLEVBQUUsQ0FBQztRQUdoQyxRQUFHLE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xuIiwiPHR1aS1wcmltaXRpdmUtc3Bpbi1idXR0b25cbiAgICBbZm9jdXNhYmxlXT1cImZhbHNlXCJcbiAgICBbbGVmdERpc2FibGVkXT1cInByZXZNb250aERpc2FibGVkXCJcbiAgICBbcmlnaHREaXNhYmxlZF09XCJuZXh0TW9udGhEaXNhYmxlZFwiXG4gICAgKGxlZnRDbGljayk9XCJvblByZXZNb250aENsaWNrKClcIlxuICAgIChyaWdodENsaWNrKT1cIm9uTmV4dE1vbnRoQ2xpY2soKVwiXG4+XG4gICAge3sgdmFsdWUgfCB0dWlNb250aCB8IGFzeW5jIH19XG4gICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cIm9uZVllYXI7IGVsc2UgYnV0dG9uXCI+XG4gICAgICAgIHt7IHZhbHVlLmZvcm1hdHRlZFllYXIgfX1cbiAgICA8L25nLWNvbnRhaW5lcj5cbiAgICA8bmctdGVtcGxhdGUgI2J1dHRvbj5cbiAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgaWQ9XCJ5ZWFyLWJ0blwiXG4gICAgICAgICAgICBhdXRvbWF0aW9uLWlkPVwidHVpLXByaW1pdGl2ZS15ZWFyLW1vbnRoLXBhZ2luYXRpb25fX3llYXItYnV0dG9uXCJcbiAgICAgICAgICAgIHR1aUxpbmtcbiAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICAgICAgW3R1aUZvY3VzYWJsZV09XCJmYWxzZVwiXG4gICAgICAgICAgICAoY2xpY2spPVwib25ZZWFyQ2xpY2soKVwiXG4gICAgICAgID5cbiAgICAgICAgICAgIHt7IHZhbHVlLmZvcm1hdHRlZFllYXIgfX1cbiAgICAgICAgPC9idXR0b24+XG4gICAgPC9uZy10ZW1wbGF0ZT5cbjwvdHVpLXByaW1pdGl2ZS1zcGluLWJ1dHRvbj5cbiJdfQ==
|
package/esm2020/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.mjs
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { TuiFocusableModule } from '@taiga-ui/cdk';
|
|
4
|
+
import { TuiLinkModule } from '@taiga-ui/core/components/link';
|
|
5
|
+
import { TuiPrimitiveSpinButtonModule } from '@taiga-ui/core/components/primitive-spin-button';
|
|
6
|
+
import { TuiMonthPipeModule } from '@taiga-ui/core/pipes';
|
|
7
|
+
import { TuiPrimitiveYearMonthPaginationComponent } from './primitive-year-month-pagination.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class TuiPrimitiveYearMonthPaginationModule {
|
|
10
|
+
}
|
|
11
|
+
TuiPrimitiveYearMonthPaginationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveYearMonthPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
+
TuiPrimitiveYearMonthPaginationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveYearMonthPaginationModule, declarations: [TuiPrimitiveYearMonthPaginationComponent], imports: [CommonModule,
|
|
13
|
+
TuiFocusableModule,
|
|
14
|
+
TuiPrimitiveSpinButtonModule,
|
|
15
|
+
TuiLinkModule,
|
|
16
|
+
TuiMonthPipeModule], exports: [TuiPrimitiveYearMonthPaginationComponent] });
|
|
17
|
+
TuiPrimitiveYearMonthPaginationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveYearMonthPaginationModule, imports: [CommonModule,
|
|
18
|
+
TuiFocusableModule,
|
|
19
|
+
TuiPrimitiveSpinButtonModule,
|
|
20
|
+
TuiLinkModule,
|
|
21
|
+
TuiMonthPipeModule] });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveYearMonthPaginationModule, decorators: [{
|
|
23
|
+
type: NgModule,
|
|
24
|
+
args: [{
|
|
25
|
+
imports: [
|
|
26
|
+
CommonModule,
|
|
27
|
+
TuiFocusableModule,
|
|
28
|
+
TuiPrimitiveSpinButtonModule,
|
|
29
|
+
TuiLinkModule,
|
|
30
|
+
TuiMonthPipeModule,
|
|
31
|
+
],
|
|
32
|
+
declarations: [TuiPrimitiveYearMonthPaginationComponent],
|
|
33
|
+
exports: [TuiPrimitiveYearMonthPaginationComponent],
|
|
34
|
+
}]
|
|
35
|
+
}] });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpbWl0aXZlLXllYXItbW9udGgtcGFnaW5hdGlvbi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2ludGVybmFsL3ByaW1pdGl2ZS15ZWFyLW1vbnRoLXBhZ2luYXRpb24vcHJpbWl0aXZlLXllYXItbW9udGgtcGFnaW5hdGlvbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBQyxhQUFhLEVBQUMsTUFBTSxnQ0FBZ0MsQ0FBQztBQUM3RCxPQUFPLEVBQUMsNEJBQTRCLEVBQUMsTUFBTSxpREFBaUQsQ0FBQztBQUM3RixPQUFPLEVBQUMsa0JBQWtCLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUV4RCxPQUFPLEVBQUMsd0NBQXdDLEVBQUMsTUFBTSw2Q0FBNkMsQ0FBQzs7QUFhckcsTUFBT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FnaW5hdGlvbkNvbXBvbmVudH0gZnJvbSAnLi9wcmltaXRpdmUteWVhci1tb250aC1wYWdpbmF0aW9uLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW1xuICAgICAgICBDb21tb25Nb2R1bGUsXG4gICAgICAgIFR1aUZvY3VzYWJsZU1vZHVsZSxcbiAgICAgICAgVHVpUHJpbWl0aXZlU3BpbkJ1dHRvbk1vZHVsZSxcbiAgICAgICAgVHVpTGlua01vZHVsZSxcbiAgICAgICAgVHVpTW9udGhQaXBlTW9kdWxlLFxuICAgIF0sXG4gICAgZGVjbGFyYXRpb25zOiBbVHVpUHJpbWl0aXZlWWVhck1vbnRoUGFnaW5hdGlvbkNvbXBvbmVudF0sXG4gICAgZXhwb3J0czogW1R1aVByaW1pdGl2ZVllYXJNb250aFBhZ2luYXRpb25Db21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlQcmltaXRpdmVZZWFyTW9udGhQYWdpbmF0aW9uTW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { isPlatformServer } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, PLATFORM_ID, Self, } from '@angular/core';
|
|
3
|
+
import { TuiDestroyService } from '@taiga-ui/cdk';
|
|
4
|
+
import { TuiSvgService } from '@taiga-ui/core/services';
|
|
5
|
+
import { takeUntil } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
import * as i2 from "@taiga-ui/core/services";
|
|
9
|
+
import * as i3 from "@taiga-ui/cdk";
|
|
10
|
+
export class TuiSvgDefsHostComponent {
|
|
11
|
+
constructor(svgService, cdr, destroy$, platformId) {
|
|
12
|
+
this.svgService = svgService;
|
|
13
|
+
this.cdr = cdr;
|
|
14
|
+
this.destroy$ = destroy$;
|
|
15
|
+
this.isBrowser = true;
|
|
16
|
+
this.isBrowser = !isPlatformServer(platformId);
|
|
17
|
+
}
|
|
18
|
+
// @bad TODO: Looks like it could be async piped but it was probably written like that for a reason
|
|
19
|
+
ngOnInit() {
|
|
20
|
+
this.svgService.items$.pipe(takeUntil(this.destroy$)).subscribe(defsMap => {
|
|
21
|
+
this.items = defsMap.values();
|
|
22
|
+
this.cdr.detectChanges();
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
TuiSvgDefsHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSvgDefsHostComponent, deps: [{ token: TuiSvgService }, { token: ChangeDetectorRef }, { token: TuiDestroyService, self: true }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
TuiSvgDefsHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiSvgDefsHostComponent, selector: "tui-svg-defs-host", providers: [TuiDestroyService], ngImport: i0, template: "<svg:svg\n version=\"1.1\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n xmlns=\"http://www.w3.org/2000/svg\"\n>\n <ng-container *ngIf=\"isBrowser; else server\">\n <defs\n *ngFor=\"let def of items\"\n [innerHTML]=\"def\"\n ></defs>\n </ng-container>\n <ng-template #server>\n <!--svg[outerHTML] - to support SSR, because there is no support of innerHTML for for defs element in domino-->\n <defs *ngFor=\"let def of items\">\n <svg [outerHTML]=\"def\"></svg>\n </defs>\n </ng-template>\n</svg:svg>\n", styles: [":host{display:none}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSvgDefsHostComponent, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{ selector: 'tui-svg-defs-host', changeDetection: ChangeDetectionStrategy.OnPush, providers: [TuiDestroyService], template: "<svg:svg\n version=\"1.1\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n xmlns=\"http://www.w3.org/2000/svg\"\n>\n <ng-container *ngIf=\"isBrowser; else server\">\n <defs\n *ngFor=\"let def of items\"\n [innerHTML]=\"def\"\n ></defs>\n </ng-container>\n <ng-template #server>\n <!--svg[outerHTML] - to support SSR, because there is no support of innerHTML for for defs element in domino-->\n <defs *ngFor=\"let def of items\">\n <svg [outerHTML]=\"def\"></svg>\n </defs>\n </ng-template>\n</svg:svg>\n", styles: [":host{display:none}\n"] }]
|
|
31
|
+
}], ctorParameters: function () { return [{ type: i2.TuiSvgService, decorators: [{
|
|
32
|
+
type: Inject,
|
|
33
|
+
args: [TuiSvgService]
|
|
34
|
+
}] }, { type: i0.ChangeDetectorRef, decorators: [{
|
|
35
|
+
type: Inject,
|
|
36
|
+
args: [ChangeDetectorRef]
|
|
37
|
+
}] }, { type: i3.TuiDestroyService, decorators: [{
|
|
38
|
+
type: Self
|
|
39
|
+
}, {
|
|
40
|
+
type: Inject,
|
|
41
|
+
args: [TuiDestroyService]
|
|
42
|
+
}] }, { type: undefined, decorators: [{
|
|
43
|
+
type: Inject,
|
|
44
|
+
args: [PLATFORM_ID]
|
|
45
|
+
}] }]; } });
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ZnLWRlZnMtaG9zdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2ludGVybmFsL3N2Zy1kZWZzLWhvc3Qvc3ZnLWRlZnMtaG9zdC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8u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GVmIG9mIGl0ZW1zXCI+XG4gICAgICAgICAgICA8c3ZnIFtvdXRlckhUTUxdPVwiZGVmXCI+PC9zdmc+XG4gICAgICAgIDwvZGVmcz5cbiAgICA8L25nLXRlbXBsYXRlPlxuPC9zdmc6c3ZnPlxuIl19
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { TuiLetModule } from '@taiga-ui/cdk';
|
|
4
|
+
import { TuiSvgDefsHostComponent } from './svg-defs-host.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class TuiSvgDefsHostModule {
|
|
7
|
+
}
|
|
8
|
+
TuiSvgDefsHostModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSvgDefsHostModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
TuiSvgDefsHostModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiSvgDefsHostModule, declarations: [TuiSvgDefsHostComponent], imports: [CommonModule, TuiLetModule], exports: [TuiSvgDefsHostComponent] });
|
|
10
|
+
TuiSvgDefsHostModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSvgDefsHostModule, imports: [CommonModule, TuiLetModule] });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSvgDefsHostModule, decorators: [{
|
|
12
|
+
type: NgModule,
|
|
13
|
+
args: [{
|
|
14
|
+
imports: [CommonModule, TuiLetModule],
|
|
15
|
+
declarations: [TuiSvgDefsHostComponent],
|
|
16
|
+
exports: [TuiSvgDefsHostComponent],
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9u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ZnNIb3N0Q29tcG9uZW50fSBmcm9tICcuL3N2Zy1kZWZzLWhvc3QuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBUdWlMZXRNb2R1bGVdLFxuICAgIGRlY2xhcmF0aW9uczogW1R1aVN2Z0RlZnNIb3N0Q29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbVHVpU3ZnRGVmc0hvc3RDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlTdmdEZWZzSG9zdE1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EMPTY_ARRAY } from '@taiga-ui/cdk';
|
|
2
|
+
import { debounceTime, distinctUntilChanged, scan, startWith, switchMap, } from 'rxjs';
|
|
3
|
+
export function tuiSmartSearch(getSearchFunction, searchDebounceTimeMs = 400) {
|
|
4
|
+
return source => source.pipe(debounceTime(searchDebounceTimeMs), scan((previousSearched, current) => previousSearched !== `` && current.startsWith(previousSearched)
|
|
5
|
+
? previousSearched
|
|
6
|
+
: current, ``), distinctUntilChanged(), switchMap(value => getSearchFunction(value).pipe(startWith(null))), startWith(EMPTY_ARRAY));
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnQtc2VhcmNoLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9vYnNlcnZhYmxlcy9zbWFydC1zZWFyY2gudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFdBQVcsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUMxQyxPQUFPLEVBQ0gsWUFBWSxFQUNaLG9CQUFvQixFQUdwQixJQUFJLEVBQ0osU0FBUyxFQUNULFNBQVMsR0FDWixNQUFNLE1BQU0sQ0FBQztBQUVkL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RbXVtdPixcbiAgICBzZWFyY2hEZWJvdW5jZVRpbWVNczogbnVtYmVyID0gNDAwLFxuKTogT3BlcmF0b3JGdW5jdGlvbjxzdHJpbmcsIHJlYWRvbmx5IFRbXSB8IHJlYWRvbmx5IFRbXVtdIHwgbnVsbD4ge1xuICAgIHJldHVybiBzb3VyY2UgPT5cbiAgICAgICAgc291cmNlLnBpcGUoXG4gICAgICAgICAgICBkZWJvdW5jZVRpbWUoc2VhcmNoRGVib3VuY2VUaW1lTXMpLFxuICAgICAgICAgICAgc2NhbihcbiAgICAgICAgICAgICAgICAocHJldmlvdXNTZWFyY2hlZCwgY3VycmVudCkgPT5cbiAgICAgICAgICAgICAgICAgICAgcHJldmlvdXNTZWFyY2hlZCAhPT0gYGAgJiYgY3VycmVudC5zdGFydHNXaXRoKHByZXZpb3VzU2VhcmNoZWQpXG4gICAgICAgICAgICAgICAgICAgICAgICA/IHByZXZpb3VzU2VhcmNoZWRcbiAgICAgICAgICAgICAgICAgICAgICAgIDogY3VycmVudCxcbiAgICAgICAgICAgICAgICBgYCxcbiAgICAgICAgICAgICksXG4gICAgICAgICAgICBkaXN0aW5jdFVudGlsQ2hhbmdlZCgpLFxuICAgICAgICAgICAgc3dpdGNoTWFwKHZhbHVlID0+IGdldFNlYXJjaEZ1bmN0aW9uKHZhbHVlKS5waXBlKHN0YXJ0V2l0aChudWxsKSkpLFxuICAgICAgICAgICAgc3RhcnRXaXRoKEVNUFRZX0FSUkFZKSxcbiAgICAgICAgKTtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { tuiZonefull } from '@taiga-ui/cdk';
|
|
2
|
+
import { distinctUntilChanged, map, pipe } from 'rxjs';
|
|
3
|
+
/**
|
|
4
|
+
* Works like regular map + distinctUntilChanged
|
|
5
|
+
* and only returns to NgZone if value has changed
|
|
6
|
+
*
|
|
7
|
+
* @param project mapping function
|
|
8
|
+
* @param zone NgZone instance
|
|
9
|
+
*/
|
|
10
|
+
export function tuiZonefulMap(project, zone) {
|
|
11
|
+
return pipe(map(project), distinctUntilChanged(), tuiZonefull(zone));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiem9uZWZ1bC1tYXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL29ic2VydmFibGVzL3pvbmVmdWwtbWFwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUFDLG9CQUFvQixFQUFFLEdBQUcsRUFBb0IsSUFBSSxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBRXZFOzs7Ozs7R0FNRztBQUNILE1BQU0sVUFBVSxhQUFhLENBQ3pCLE9BQXVDLEVBQ3ZDLElBQVk7SUFFWixPQUFPLElBQUksQ0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDLEVBQUUsb0JBQW9CLEVBQUUsRUFBRSxXQUFXLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQztBQUN6RSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtOZ1pvbmV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHt0dWlab25lZnVsbH0gZnJvbSAnQHRhaWdhLXVpL2Nkayc7XG5pbXBvcnQge2Rpc3RpbmN0VW50aWxDaGFuZ2VkLCBtYXAsIE9wZXJhdG9yRnVuY3Rpb24sIHBpcGV9IGZyb20gJ3J4anMnO1xuXG4vKipcbiAqIFdvcmtzIGxpa2UgcmVndWxhciBtYXAgKyBkaXN0aW5jdFVudGlsQ2hhbmdlZFxuICogYW5kIG9ubHkgcmV0dXJucyB0byBOZ1pvbmUgaWYgdmFsdWUgaGFzIGNoYW5nZWRcbiAqXG4gKiBAcGFyYW0gcHJvamVjdCBtYXBwaW5nIGZ1bmN0aW9uXG4gKiBAcGFyYW0gem9uZSBOZ1pvbmUgaW5zdGFuY2VcbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIHR1aVpvbmVmdWxNYXA8VCwgUj4oXG4gICAgcHJvamVjdDogKHZhbHVlOiBULCBpbmRleDogbnVtYmVyKSA9PiBSLFxuICAgIHpvbmU6IE5nWm9uZSxcbik6IE9wZXJhdG9yRnVuY3Rpb248VCwgUj4ge1xuICAgIHJldHVybiBwaXBlKG1hcChwcm9qZWN0KSwgZGlzdGluY3RVbnRpbENoYW5nZWQoKSwgdHVpWm9uZWZ1bGwoem9uZSkpO1xufVxuIl19
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { TuiCalendarSheetPipe } from './calendar-sheet.pipe';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class TuiCalendarSheetPipeModule {
|
|
5
|
+
}
|
|
6
|
+
TuiCalendarSheetPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiCalendarSheetPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
TuiCalendarSheetPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiCalendarSheetPipeModule, declarations: [TuiCalendarSheetPipe], exports: [TuiCalendarSheetPipe] });
|
|
8
|
+
TuiCalendarSheetPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiCalendarSheetPipeModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiCalendarSheetPipeModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [TuiCalendarSheetPipe],
|
|
13
|
+
ex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
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Inject, Pipe } from '@angular/core';
|
|
2
|
+
import { DAYS_IN_WEEK } from '@taiga-ui/cdk';
|
|
3
|
+
import { TUI_FIRST_DAY_OF_WEEK } from '@taiga-ui/core/tokens';
|
|
4
|
+
import { getDayFromMonthRowCol } from './utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@taiga-ui/cdk";
|
|
7
|
+
const CALENDAR_ROWS_COUNT = 6;
|
|
8
|
+
export class TuiCalendarSheetPipe {
|
|
9
|
+
constructor(firstDayOfWeek) {
|
|
10
|
+
this.firstDayOfWeek = firstDayOfWeek;
|
|
11
|
+
this.currentMonth = null;
|
|
12
|
+
this.currentSheet = [];
|
|
13
|
+
}
|
|
14
|
+
transform(month, showAdjacentDays = false) {
|
|
15
|
+
if (this.currentMonth?.monthSame(month)) {
|
|
16
|
+
return this.currentSheet;
|
|
17
|
+
}
|
|
18
|
+
const sheet = [];
|
|
19
|
+
for (let rowIndex = 0; rowIndex < CALENDAR_ROWS_COUNT; rowIndex++) {
|
|
20
|
+
const row = [];
|
|
21
|
+
for (let colIndex = 0; colIndex < DAYS_IN_WEEK; colIndex++) {
|
|
22
|
+
const day = getDayFromMonthRowCol({
|
|
23
|
+
month,
|
|
24
|
+
rowIndex,
|
|
25
|
+
colIndex,
|
|
26
|
+
firstDayOfWeek: this.firstDayOfWeek,
|
|
27
|
+
});
|
|
28
|
+
const isPrevMonthDay = (day, relativeToMonth = month) => day.year < relativeToMonth.year || day.month < relativeToMonth.month;
|
|
29
|
+
const isNextMonthDay = (day, relativeToMonth = month) => day.year > relativeToMonth.year || day.month > relativeToMonth.month;
|
|
30
|
+
if (isPrevMonthDay(day) && !showAdjacentDays) {
|
|
31
|
+
continue;
|
|
32
|
+
}
|
|
33
|
+
if (isNextMonthDay(day) && !showAdjacentDays) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
row.push(day);
|
|
37
|
+
}
|
|
38
|
+
sheet.push(row);
|
|
39
|
+
}
|
|
40
|
+
this.currentSheet = sheet.filter(row => row.length);
|
|
41
|
+
this.currentMonth = month;
|
|
42
|
+
return this.currentSheet;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
TuiCalendarSheetPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiCalendarSheetPipe, deps: [{ token: TUI_FIRST_DAY_OF_WEEK }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
46
|
+
TuiCalendarSheetPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiCalendarSheetPipe, name: "tuiCalendarSheet" });
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiCalendarSheetPipe, decorators: [{
|
|
48
|
+
type: Pipe,
|
|
49
|
+
args: [{
|
|
50
|
+
name: `tuiCalendarSheet`,
|
|
51
|
+
}]
|
|
52
|
+
}], ctorParameters: function () { return [{ type: i1.TuiDayOfWeek, decorators: [{
|
|
53
|
+
type: Inject,
|
|
54
|
+
args: [TUI_FIRST_DAY_OF_WEEK]
|
|
55
|
+
}] }]; } });
|
|
56
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXItc2hlZXQucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvcGlwZXMvY2FsZW5kYXItc2hlZXQvY2FsZW5kYXItc2hlZXQucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsTUFBTSxFQUFFLElBQUksRUFBZ0IsTUFBTSxlQUFlLENBQUM7QUFDMUQsT0FBTyxFQUFDLFlBQVksRUFBaUMsTUFBTSxlQUFlLENBQ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ycmVudFNoZWV0O1xuICAgICAgICB9XG5cbiAgICAgICAgY29uc3Qgc2hlZXQ6IEFycmF5PHJlYWRvbmx5IFR1aURheVtdPiA9IFtdO1xuXG4gICAgICAgIGZvciAobGV0IHJvd0luZGV4ID0gMDsgcm93SW5kZXggPCBDQUxFTkRBUl9ST1dTX0NPVU5UOyByb3dJbmRleCsrKSB7XG4gICAgICAgICAgICBjb25zdCByb3c6IFR1aURheVtdID0gW107XG5cbiAgICAgICAgICAgIGZvciAobGV0IGNvbEluZGV4ID0gMDsgY29sSW5kZXggPCBEQVlTX0lOX1dFRUs7IGNvbEluZGV4KyspIHtcbiAgICAgICAgICAgICAgICBjb25zdCBkYXkgPSBnZXREYXlGcm9tTW9udGhSb3dDb2woe1xuICAgICAgICAgICAgICAgICAgICBtb250aCxcbiAgICAgICAgICAgICAgICAgICAgcm93SW5kZXgsXG4gICAgICAgICAgICAgICAgICAgIGNvbEluZGV4LFxuICAgICAgICAgICAgICAgICAgICBmaXJzdERheU9mV2VlazogdGhpcy5maXJzdERheU9mV2VlayxcbiAgICAgICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgICAgIGNvbnN0IGlzUHJldk1vbnRoRGF5ID0gKGRheTogVHVpRGF5LCByZWxhdGl2ZVRvTW9udGggPSBtb250aCk6IGJvb2xlYW4gPT5cbiAgICAgICAgICAgICAgICAgICAgZGF5LnllYXIgPCByZWxhdGl2ZVRvTW9udGgueWVhciB8fCBkYXkubW9udGggPCByZWxhdGl2ZVRvTW9udGgubW9udGg7XG5cbiAgICAgICAgICAgICAgICBjb25zdCBpc05leHRNb250aERheSA9IChkYXk6IFR1aURheSwgcmVsYXRpdmVUb01vbnRoID0gbW9udGgpOiBib29sZWFuID0+XG4gICAgICAgICAgICAgICAgICAgIGRheS55ZWFyID4gcmVsYXRpdmVUb01vbnRoLnllYXIgfHwgZGF5Lm1vbnRoID4gcmVsYXRpdmVUb01vbnRoLm1vbnRoO1xuXG4gICAgICAgICAgICAgICAgaWYgKGlzUHJldk1vbnRoRGF5KGRheSkgJiYgIXNob3dBZGphY2VudERheXMpIHtcbiAgICAgICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKGlzTmV4dE1vbnRoRGF5KGRheSkgJiYgIXNob3dBZGphY2VudERheXMpIHtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgcm93LnB1c2goZGF5KTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgc2hlZXQucHVzaChyb3cpO1xuICAgICAgICB9XG5cbiAgICAgICAgdGhpcy5jdXJyZW50U2hlZXQgPSBzaGVldC5maWx0ZXIocm93ID0+IHJvdy5sZW5ndGgpO1xuICAgICAgICB0aGlzLmN1cnJlbnRNb250aCA9IG1vbnRoO1xuXG4gICAgICAgIHJldHVybiB0aGlzLmN1cnJlbnRTaGVldDtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { TuiFlagPipe } from './flag.pipe';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class TuiFlagPipeModule {
|
|
5
|
+
}
|
|
6
|
+
TuiFlagPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFlagPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
TuiFlagPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiFlagPipeModule, declarations: [TuiFlagPipe], exports: [TuiFlagPipe] });
|
|
8
|
+
TuiFlagPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFlagPipeModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFlagPipeModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [TuiFlagPipe],
|
|
13
|
+
exports: [TuiFlagPipe],
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxhZy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3BpcGVzL2ZsYWcvZmxhZy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUV2QyxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sYUFBYSxDQUFDOztBQU14QyxNQUFNLE9BQU8saUJBQWlCOzsrR0FBakIsaUJBQWlCO2dIQUFqQixpQkFBaUIsaUJBSFgsV0FBVyxhQUNoQixXQUFXO2dIQUVaLGlCQUFpQjs0RkFBakIsaUJBQWlCO2tCQUo3QixRQUFRO21CQUFDO29CQUNOLFlBQVksRUFBRSxDQUFDLFdBQVcsQ0FBQztvQkFDM0IsT0FBTyxFQUFFLENBQUMsV0FBVyxDQUFDO2lCQUN6QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQge1R1aUZsYWdQaXBlfSBmcm9tICcuL2ZsYWcucGlwZSc7XG5cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbVHVpRmxhZ1BpcGVdLFxuICAgIGV4cG9ydHM6IFtUdWlGbGFnUGlwZV0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUZsYWdQaXBlTW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Inject, Pipe } from '@angular/core';
|
|
2
|
+
import { TUI_SVG_OPTIONS } from '@taiga-ui/core/components/svg';
|
|
3
|
+
import { TUI_CACHE_BUSTING_PAYLOAD } from '@taiga-ui/core/constants';
|
|
4
|
+
import { TuiCountryIsoCode } from '@taiga-ui/i18n';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class TuiFlagPipe {
|
|
7
|
+
constructor(svgOptions) {
|
|
8
|
+
this.svgOptions = svgOptions;
|
|
9
|
+
this.staticPath = this.svgOptions
|
|
10
|
+
.path(`tuiIcon`)
|
|
11
|
+
.replace(`tuiIcon.svg#tuiIcon`, ``)
|
|
12
|
+
.replace(`tuiIcon.svg${TUI_CACHE_BUSTING_PAYLOAD}#tuiIcon`, ``);
|
|
13
|
+
}
|
|
14
|
+
transform(countryIsoCode) {
|
|
15
|
+
if (!countryIsoCode) {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
switch (countryIsoCode) {
|
|
19
|
+
case TuiCountryIsoCode.BL:
|
|
20
|
+
case TuiCountryIsoCode.BQ:
|
|
21
|
+
case TuiCountryIsoCode.CW:
|
|
22
|
+
case TuiCountryIsoCode.GF:
|
|
23
|
+
case TuiCountryIsoCode.GP:
|
|
24
|
+
case TuiCountryIsoCode.MF:
|
|
25
|
+
case TuiCountryIsoCode.MQ:
|
|
26
|
+
case TuiCountryIsoCode.NC:
|
|
27
|
+
case TuiCountryIsoCode.RE:
|
|
28
|
+
case TuiCountryIsoCode.YT:
|
|
29
|
+
return `${this.staticPath}${TuiCountryIsoCode.FR}.png`;
|
|
30
|
+
case TuiCountryIsoCode.SX:
|
|
31
|
+
return `${this.staticPath}${TuiCountryIsoCode.NL}.png`;
|
|
32
|
+
default:
|
|
33
|
+
return `${this.staticPath}${countryIsoCode}.png`;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
TuiFlagPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFlagPipe, deps: [{ token: TUI_SVG_OPTIONS }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
38
|
+
TuiFlagPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiFlagPipe, name: "tuiFlag" });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFlagPipe, decorators: [{
|
|
40
|
+
type: Pipe,
|
|
41
|
+
args: [{ name: `tuiFlag` }]
|
|
42
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
43
|
+
type: Inject,
|
|
44
|
+
args: [TUI_SVG_OPTIONS]
|
|
45
|
+
}] }]; } });
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxhZy5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9waXBlcy9mbGFnL2ZsYWcucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsTUFBTSxFQUFFLElBQUksRUFBZ0IsTUFBTSxlQUFlLENBQUM7QUFDMUQsT0FBTyxFQUFDLGVBQWUsRUFBZ0IsTUFBTSwrQkFBK0IsQ0FBQztBQUM3RSxPQUFPLEVBQUMseUJBQXlCLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQUNuRSxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQzs7QUFHakQsTUFBTSxPQUFPLFdBQVc7SUFNcEIsWUFBc0QsVUFBeUI7UUFBekIsZUFBVSxHQUFWLFVBQVUsQ0FBZTtRQUw5RCxlQUFVLEdBQUcsSUFBSSxDQUFDLFVBQVU7YUFDeEMsS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5MfS5wbmdgO1xuICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICByZXR1cm4gYCR7dGhpcy5zdGF0aWNQYXRofSR7Y291bnRyeUlzb0NvZGV9LnBuZ2A7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { TuiFormatDatePipe } from './format-date.pipe';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class TuiFormatDatePipeModule {
|
|
5
|
+
}
|
|
6
|
+
TuiFormatDatePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatDatePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
TuiFormatDatePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatDatePipeModule, declarations: [TuiFormatDatePipe], exports: [TuiFormatDatePipe] });
|
|
8
|
+
TuiFormatDatePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatDatePipeModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatDatePipeModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [TuiFormatDatePipe],
|
|
13
|
+
exports: [TuiFormatDatePipe],
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0LWRhdGUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9waXBlcy9mb3JtYXQtZGF0ZS9mb3JtYXQtZGF0ZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUV2QyxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSxvQkFBb0IsQ0FBQzs7QUFNckQsTUFBTSxPQUFPLHVCQUF1Qjs7cUhBQXZCLHVCQUF1QjtzSEFBdkIsdUJBQXVCLGlCQUhqQixpQkFBaUIsYUFDdEIsaUJBQWlCO3NIQUVsQix1QkFBdUI7NEZBQXZCLHVCQUF1QjtrQkFKbkMsUUFBUTttQkFBQztvQkFDTixZQUFZLEVBQUUsQ0FBQyxpQkFBaUIsQ0FBQztvQkFDakMsT0FBTyxFQUFFLENBQUMsaUJBQWlCLENBQUM7aUJBQy9CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7VHVpRm9ybWF0RGF0ZVBpcGV9IGZyb20gJy4vZm9ybWF0LWRhdGUucGlwZSc7XG5cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbVHVpRm9ybWF0RGF0ZVBpcGVdLFxuICAgIGV4cG9ydHM6IFtUdWlGb3JtYXREYXRlUGlwZV0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUZvcm1hdERhdGVQaXBlTW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Inject, Pipe } from '@angular/core';
|
|
2
|
+
import { TuiFormatDateService } from '@taiga-ui/core/services';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@taiga-ui/core/services";
|
|
5
|
+
export class TuiFormatDatePipe {
|
|
6
|
+
constructor(service) {
|
|
7
|
+
this.service = service;
|
|
8
|
+
}
|
|
9
|
+
transform(timestampOrDate) {
|
|
10
|
+
return this.service.format(timestampOrDate.valueOf());
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
TuiFormatDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatDatePipe, deps: [{ token: TuiFormatDateService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
14
|
+
TuiFormatDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatDatePipe, name: "tuiFormatDate" });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatDatePipe, decorators: [{
|
|
16
|
+
type: Pipe,
|
|
17
|
+
args: [{
|
|
18
|
+
name: `tuiFormatDate`,
|
|
19
|
+
}]
|
|
20
|
+
}], ctorParameters: function () { return [{ type: i1.TuiFormatDateService, decorators: [{
|
|
21
|
+
type: Inject,
|
|
22
|
+
args: [TuiFormatDateService]
|
|
23
|
+
}] }]; } });
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0LWRhdGUucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvcGlwZXMvZm9ybWF0LWRhdGUvZm9ybWF0LWRhdGUucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsTUFBTSxFQUFFLElBQUksRUFBZ0IsTUFBTSxlQUFlLENBQUM7QUFDMUQsT0FBTyxFQUFDLG9CQUFvQixFQUFDLE1BQU0seUJBQXlCLENBQUM7OztBQU03RCxNQUFNLE9BQU8saUJBQWlCO0lBQzFCLFlBQ21ELE9BQTZCO1FBQTdCLFlBQU8sR0FBUCxPQUFPLENBQXNCO0lBQzdFLENBQUM7SUFFSixTQUFTLENBQUMsZUFBO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umberPipe } from './format-number.pipe';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class TuiFormatNumberPipeModule {
|
|
5
|
+
}
|
|
6
|
+
TuiFormatNumberPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatNumberPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
TuiFormatNumberPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatNumberPipeModule, declarations: [TuiFormatNumberPipe], exports: [TuiFormatNumberPipe] });
|
|
8
|
+
TuiFormatNumberPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatNumberPipeModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatNumberPipeModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [TuiFormatNumberPipe],
|
|
13
|
+
exports: [TuiFormatNumberPipe],
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0LW51bWJlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3BpcGVzL2Zvcm1hdC1udW1iZXIvZm9ybWF0LW51bWJlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUV2QyxPQUFPLEVBQUMsbUJBQW1CLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQzs7QUFNekQsTUFBTSxPQUFPLHlCQUF5Qjs7dUhBQXpCLHlCQUF5Qjt3SEFBekIseUJBQXlCLGlCQUhuQixtQkFBbUIsYUFDeEIsbUJBQW1CO3dIQUVwQix5QkFBeUI7NEZBQXpCLHlCQUF5QjtrQkFKckMsUUFBUTttQkFBQztvQkFDTixZQUFZLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQztvQkFDbkMsT0FBTyxFQUFFLENBQUMsbUJBQW1CLENBQUM7aUJBQ2pDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7VHVpRm9ybWF0TnVtYmVyUGlwZX0gZnJvbSAnLi9mb3JtYXQtbnVtYmVyLnBpcGUnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW1R1aUZvcm1hdE51bWJlclBpcGVdLFxuICAgIGV4cG9ydHM6IFtUdWlGb3JtYXROdW1iZXJQaXBlXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpRm9ybWF0TnVtYmVyUGlwZU1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Inject, Pipe } from '@angular/core';
|
|
2
|
+
import { TUI_NUMBER_FORMAT } from '@taiga-ui/core/tokens';
|
|
3
|
+
import { tuiFormatNumber } from '@taiga-ui/core/utils/format';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class TuiFormatNumberPipe {
|
|
6
|
+
constructor(numberFormat) {
|
|
7
|
+
this.numberFormat = numberFormat;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Formats number adding thousand separators and correct decimal separator
|
|
11
|
+
* padding decimal part with zeroes to given length
|
|
12
|
+
* @param value number
|
|
13
|
+
* @param settings See {@link TuiNumberFormatSettings}
|
|
14
|
+
*/
|
|
15
|
+
transform(value, settings = {}) {
|
|
16
|
+
return tuiFormatNumber(value, { ...this.numberFormat, ...settings });
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
TuiFormatNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatNumberPipe, deps: [{ token: TUI_NUMBER_FORMAT }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
20
|
+
TuiFormatNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatNumberPipe, name: "tuiFormatNumber" });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatNumberPipe, decorators: [{
|
|
22
|
+
type: Pipe,
|
|
23
|
+
args: [{ name: `tuiFormatNumber` }]
|
|
24
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
25
|
+
type: Inject,
|
|
26
|
+
args: [TUI_NUMBER_FORMAT]
|
|
27
|
+
}] }]; } });
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0LW51bWJlci5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9waXBlcy9mb3JtYXQtbnVtYmVyL2Zvcm1hdC1udW1iZXIucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsTUFBTSxFQUFFLElBQUksRUFBZ0IsTUFBTSxlQUFlLENBQUM7QUFFMUQsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sdUJBQXVCLENBQUM7QUFDeEQsT0FBTyxFQUFDLGVBQWUsRUFBQyxNQUFNLDZCQUE2QixDQUFDOztBQUc1RCxNQUFNLE9BQU8sbUJBQW1CO0lBQzVCLFlBRXFCLFlBQXFDO1FBQXJDLGlCQUFZLEdBQVosWUFBWSxDQUF5QjtJQUN2RCxDQ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kZGluZyB0aG91c2FuZCBzZXBhcmF0b3JzIGFuZCBjb3JyZWN0IGRlY2ltYWwgc2VwYXJhdG9yXG4gICAgICogcGFkZGluZyBkZWNpbWFsIHBhcnQgd2l0aCB6ZXJvZXMgdG8gZ2l2ZW4gbGVuZ3RoXG4gICAgICogQHBhcmFtIHZhbHVlIG51bWJlclxuICAgICAqIEBwYXJhbSBzZXR0aW5ncyBTZWUge0BsaW5rIFR1aU51bWJlckZvcm1hdFNldHRpbmdzfVxuICAgICAqL1xuICAgIHRyYW5zZm9ybSh2YWx1ZTogbnVtYmVyLCBzZXR0aW5nczogUGFydGlhbDxUdWlOdW1iZXJGb3JtYXRTZXR0aW5ncz4gPSB7fSk6IHN0cmluZyB7XG4gICAgICAgIHJldHVybiB0dWlGb3JtYXROdW1iZXIodmFsdWUsIHsuLi50aGlzLm51bWJlckZvcm1hdCwgLi4uc2V0dGluZ3N9KTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { TuiFormatPhonePipe } from './format-phone.pipe';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class TuiFormatPhonePipeModule {
|
|
5
|
+
}
|
|
6
|
+
TuiFormatPhonePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatPhonePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
TuiFormatPhonePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatPhonePipeModule, declarations: [TuiFormatPhonePipe], exports: [TuiFormatPhonePipe] });
|
|
8
|
+
TuiFormatPhonePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatPhonePipeModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatPhonePipeModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [TuiFormatPhonePipe],
|
|
13
|
+
exports: [TuiFormatPhonePipe],
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0LXBob25lLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvcGlwZXMvZm9ybWF0LXBob25lL2Zvcm1hdC1waG9uZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUV2QyxPQUFPLEVBQUMsa0JBQWtCLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQzs7QUFNdkQsTUFBTSxPQUFPLHdCQUF3Qjs7c0hBQXhCLHdCQUF3Qjt1SEFBeEIsd0JBQXdCLGlCQUhsQixrQkFBa0IsYUFDdkIsa0JBQWtCO3VIQUVuQix3QkFBd0I7NEZBQXhCLHdCQUF3QjtrQkFKcEMsUUFBUTttQkFBQztvQkFDTixZQUFZLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQztvQkFDbEMsT0FBTyxFQUFFLENBQUMsa0JBQWtCLENBQUM7aUJBQ2hDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7VHVpRm9ybWF0UGhvbmVQaXBlfSBmcm9tICcuL2Zvcm1hdC1waG9uZS5waXBlJztcblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtUdWlGb3JtYXRQaG9uZVBpcGVdLFxuICAgIGV4cG9ydHM6IFtUdWlGb3JtYXRQaG9uZVBpcGVdLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlGb3JtYXRQaG9uZVBpcGVNb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import { CHAR_PLUS, tuiAssert } from '@taiga-ui/cdk';
|
|
3
|
+
import { tuiFormatPhone } from '@taiga-ui/core/utils/format';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class TuiFormatPhonePipe {
|
|
6
|
+
/**
|
|
7
|
+
* Formats phone number string of +7XXXXXXXXXX format with adding separator symbols
|
|
8
|
+
* @param value
|
|
9
|
+
* @param countryCode
|
|
10
|
+
* @param phoneMask
|
|
11
|
+
* @return formatted phone number string +7(XXX)XXX-XX-XX
|
|
12
|
+
*/
|
|
13
|
+
transform(value, countryCode = `${CHAR_PLUS}7`, phoneMask = `(###) ###-##-##`) {
|
|
14
|
+
ngDevMode &&
|
|
15
|
+
tuiAssert.assert(value !== undefined, `Undefined was passed to tuiFormatPhone pipe`);
|
|
16
|
+
return tuiFormatPhone(value, countryCode, phoneMask);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
TuiFormatPhonePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatPhonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
20
|
+
TuiFormatPhonePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatPhonePipe, name: "tuiFormatPhone" });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiFormatPhonePipe, decorators: [{
|
|
22
|
+
type: Pipe,
|
|
23
|
+
args: [{ name: `tuiFormatPhone` }]
|
|
24
|
+
}] });
|
|
25
|
+
//# sourceMapping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ZX0gZnJvbSAnQHRhaWdhLXVpL2NvcmUvdXRpbHMvZm9ybWF0JztcblxuQFBpcGUoe25hbWU6IGB0dWlGb3JtYXRQaG9uZWB9KVxuZXhwb3J0IGNsYXNzIFR1aUZvcm1hdFBob25lUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuICAgIC8qKlxuICAgICAqIEZvcm1hdHMgcGhvbmUgbnVtYmVyIHN0cmluZyBvZiArN1hYWFhYWFhYWFggZm9ybWF0IHdpdGggYWRkaW5nIHNlcGFyYXRvciBzeW1ib2xzXG4gICAgICogQHBhcmFtIHZhbHVlXG4gICAgICogQHBhcmFtIGNvdW50cnlDb2RlXG4gICAgICogQHBhcmFtIHBob25lTWFza1xuICAgICAqIEByZXR1cm4gZm9ybWF0dGVkIHBob25lIG51bWJlciBzdHJpbmcgKzcoWFhYKVhYWC1YWC1YWFxuICAgICAqL1xuICAgIHRyYW5zZm9ybShcbiAgICAgICAgdmFsdWU6IHN0cmluZyxcbiAgICAgICAgY291bnRyeUNvZGU6IHN0cmluZyA9IGAke0NIQVJfUExVU303YCxcbiAgICAgICAgcGhvbmVNYXNrOiBzdHJpbmcgPSBgKCMjIykgIyMjLSMjLSMjYCxcbiAgICApOiBzdHJpbmcge1xuICAgICAgICBuZ0Rldk1vZGUgJiZcbiAgICAgICAgICAgIHR1aUFzc2VydC5hc3NlcnQoXG4gICAgICAgICAgICAgICAgdmFsdWUgIT09IHVuZGVmaW5lZCxcbiAgICAgICAgICAgICAgICBgVW5kZWZpbmVkIHdhcyBwYXNzZWQgdG8gdHVpRm9ybWF0UGhvbmUgcGlwZWAsXG4gICAgICAgICAgICApO1xuXG4gICAgICAgIHJldHVybiB0dWlGb3JtYXRQaG9uZSh2YWx1ZSwgY291bnRyeUNvZGUsIHBob25lTWFzayk7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { TuiMonthPipe } from './month.pipe';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class TuiMonthPipeModule {
|
|
5
|
+
}
|
|
6
|
+
TuiMonthPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiMonthPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
TuiMonthPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiMonthPipeModule, declarations: [TuiMonthPipe], exports: [TuiMonthPipe] });
|
|
8
|
+
TuiMonthPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiMonthPipeModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiMonthPipeModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [TuiMonthPipe],
|
|
13
|
+
exports: [TuiMonthPipe],
|
|
14
|
+
}]
|
|
15
|
+
}] });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9udGgubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9waXBlcy9tb250aC9tb250aC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUV2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0sY0FBYyxDQUFDOztBQU0xQyxNQUFNLE9BQU8sa0JBQWtCOztnSEFBbEIsa0JBQWtCO2lIQUFsQixrQkFBa0IsaUJBSFosWUFBWSxhQUNqQixZQUFZO2lIQUViLGtCQUFrQjs0RkFBbEIsa0JBQWtCO2tCQUo5QixRQUFRO21CQUFDO29CQUNOLFlBQVksRUFBRSxDQUFDLFlBQVksQ0FBQztvQkFDNUIsT0FBTyxFQUFFLENBQUMsWUFBWSxDQUFDO2lCQUMxQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQge1R1aU1vbnRoUGlwZX0gZnJvbSAnLi9tb250aC5waXBlJztcblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtUdWlNb250aFBpcGVdLFxuICAgIGV4cG9ydHM6IFtUdWlNb250aFBpcGVdLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlNb250aFBpcGVNb2R1bGUge31cbiJdfQ==
|