@taiga-ui/core 3.49.0 → 3.50.0
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/taiga-ui-core-abstract.d.ts +0 -3
- package/animations/taiga-ui-core-animations.d.ts +0 -3
- package/bundles/taiga-ui-core-abstract.umd.js +0 -9
- package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-core-animations.umd.js +0 -4
- package/bundles/taiga-ui-core-animations.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-alert.umd.js +1 -16
- package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.js +0 -7
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js +0 -4
- package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-data-list.umd.js +0 -10
- package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +1 -13
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-error.umd.js +0 -4
- package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.js +0 -5
- package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-group.umd.js +1 -5
- package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.js +0 -8
- package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +11 -7
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-label.umd.js +0 -4
- package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.js +0 -5
- package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.js +0 -9
- package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js +1 -8
- package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +0 -7
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +0 -8
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +0 -4
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +1 -33
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +0 -4
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +1 -7
- package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js +0 -5
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.js +0 -8
- package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-svg.umd.js +0 -9
- package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.js +0 -4
- package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +0 -4
- package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components.umd.js +0 -4
- package/bundles/taiga-ui-core-components.umd.js.map +1 -1
- package/bundles/taiga-ui-core-constants.umd.js +0 -26
- package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +22 -51
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +0 -13
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +0 -7
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mode.umd.js +0 -4
- package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +0 -9
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +0 -11
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-wrapper.umd.js +0 -4
- package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives.umd.js +0 -4
- package/bundles/taiga-ui-core-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-core-enums.umd.js +0 -22
- package/bundles/taiga-ui-core-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-core-interfaces.umd.js +1 -3
- package/bundles/taiga-ui-core-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +0 -4
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +0 -5
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal.umd.js +0 -4
- package/bundles/taiga-ui-core-internal.umd.js.map +1 -1
- package/bundles/taiga-ui-core-mask.umd.js +1 -3
- package/bundles/taiga-ui-core-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-core-observables.umd.js +0 -11
- package/bundles/taiga-ui-core-observables.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +0 -11
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-flag.umd.js +0 -4
- package/bundles/taiga-ui-core-pipes-flag.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-date.umd.js +0 -4
- package/bundles/taiga-ui-core-pipes-format-date.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-number.umd.js +0 -10
- package/bundles/taiga-ui-core-pipes-format-number.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js +0 -11
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-month.umd.js +0 -4
- package/bundles/taiga-ui-core-pipes-month.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-order-week-days.umd.js +0 -4
- package/bundles/taiga-ui-core-pipes-order-week-days.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes.umd.js +0 -4
- package/bundles/taiga-ui-core-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-core-providers.umd.js +0 -4
- package/bundles/taiga-ui-core-providers.umd.js.map +1 -1
- package/bundles/taiga-ui-core-services.umd.js +2 -20
- package/bundles/taiga-ui-core-services.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +0 -123
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-types.umd.js +1 -3
- package/bundles/taiga-ui-core-types.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js +0 -50
- package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +0 -51
- package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +1 -40
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +0 -17
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mobile.umd.js +0 -4
- package/bundles/taiga-ui-core-utils-mobile.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils.umd.js +0 -4
- package/bundles/taiga-ui-core-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-core.umd.js +0 -4
- package/bundles/taiga-ui-core.umd.js.map +1 -1
- package/components/alert/taiga-ui-core-components-alert.d.ts +0 -3
- package/components/button/button.options.d.ts +0 -3
- package/components/button/taiga-ui-core-components-button.d.ts +0 -3
- package/components/calendar/calendar.component.d.ts +2 -2
- package/components/calendar/taiga-ui-core-components-calendar.d.ts +0 -3
- package/components/data-list/option/option.component.d.ts +0 -1
- package/components/data-list/taiga-ui-core-components-data-list.d.ts +0 -3
- package/components/dialog/dialog.tokens.d.ts +0 -6
- package/components/dialog/taiga-ui-core-components-dialog.d.ts +0 -3
- package/components/error/taiga-ui-core-components-error.d.ts +0 -3
- package/components/expand/taiga-ui-core-components-expand.d.ts +0 -3
- package/components/group/taiga-ui-core-components-group.d.ts +0 -3
- package/components/hints-host/taiga-ui-core-components-hints-host.d.ts +0 -3
- package/components/hosted-dropdown/hosted-dropdown.component.d.ts +1 -1
- package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.d.ts +0 -3
- package/components/label/taiga-ui-core-components-label.d.ts +0 -3
- package/components/link/taiga-ui-core-components-link.d.ts +0 -3
- package/components/loader/loader.options.d.ts +0 -4
- package/components/loader/taiga-ui-core-components-loader.d.ts +0 -3
- package/components/notification/notification.component.d.ts +0 -3
- package/components/notification/taiga-ui-core-components-notification.d.ts +0 -3
- package/components/primitive-calendar/primitive-calendar.component.d.ts +0 -3
- package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.d.ts +0 -3
- package/components/primitive-checkbox/checkbox.options.d.ts +0 -4
- package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.d.ts +0 -3
- package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.d.ts +0 -3
- package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -16
- package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -7
- package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.d.ts +0 -3
- package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.d.ts +0 -3
- package/components/root/taiga-ui-core-components-root.d.ts +0 -3
- package/components/scroll-controls/scroll-controls.module.d.ts +0 -1
- package/components/scroll-controls/taiga-ui-core-components-scroll-controls.d.ts +0 -3
- package/components/scrollbar/scroll-ref.directive.d.ts +0 -2
- package/components/scrollbar/taiga-ui-core-components-scrollbar.d.ts +0 -3
- package/components/svg/svg-options.d.ts +0 -3
- package/components/svg/taiga-ui-core-components-svg.d.ts +0 -3
- package/components/taiga-ui-core-components.d.ts +0 -3
- package/components/theme-night/taiga-ui-core-components-theme-night.d.ts +0 -3
- package/components/tooltip/taiga-ui-core-components-tooltip.d.ts +0 -3
- package/constants/cache-basting-payload.d.ts +1 -1
- package/constants/decimal-symbols.d.ts +0 -4
- package/constants/events.d.ts +0 -14
- package/constants/mask-caret-trap.d.ts +0 -4
- package/constants/taiga-ui-core-constants.d.ts +0 -3
- package/directives/dropdown/dropdown-hover.options.d.ts +0 -4
- package/directives/dropdown/dropdown-options.directive.d.ts +0 -4
- package/directives/dropdown/dropdown-selection.directive.d.ts +0 -9
- package/directives/dropdown/dropdown.component.d.ts +2 -9
- package/directives/dropdown/dropdown.providers.d.ts +0 -3
- package/directives/dropdown/taiga-ui-core-directives-dropdown.d.ts +0 -3
- package/directives/hint/hint-options.directive.d.ts +0 -4
- package/directives/hint/hint.providers.d.ts +0 -3
- package/directives/hint/taiga-ui-core-directives-hint.d.ts +0 -3
- package/directives/mask-accessor/mask-accessor.module.d.ts +0 -3
- package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.d.ts +0 -3
- package/directives/mode/taiga-ui-core-directives-mode.d.ts +0 -3
- package/directives/scroll-into-view/scroll-into-view.directive.d.ts +0 -3
- package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.d.ts +0 -3
- package/directives/taiga-ui-core-directives.d.ts +0 -3
- package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.d.ts +0 -3
- package/directives/textfield-controller/textfield.options.d.ts +0 -7
- package/directives/wrapper/taiga-ui-core-directives-wrapper.d.ts +0 -3
- package/enums/dropdown-animation.d.ts +0 -1
- package/enums/interactive-state.d.ts +0 -3
- package/enums/notification.d.ts +0 -3
- package/enums/range-state.d.ts +0 -3
- package/enums/taiga-ui-core-enums.d.ts +0 -3
- package/esm2015/abstract/driver.js +1 -2
- package/esm2015/abstract/position-accessor.js +1 -2
- package/esm2015/abstract/rect-accessor.js +1 -3
- package/esm2015/abstract/taiga-ui-core-abstract.js +1 -4
- package/esm2015/abstract/vehicle.js +1 -2
- package/esm2015/animations/taiga-ui-core-animations.js +1 -4
- package/esm2015/components/alert/alert.component.js +2 -13
- package/esm2015/components/alert/taiga-ui-core-components-alert.js +1 -4
- package/esm2015/components/button/button.options.js +1 -4
- package/esm2015/components/button/taiga-ui-core-components-button.js +1 -4
- package/esm2015/components/calendar/calendar.component.js +1 -1
- package/esm2015/components/calendar/taiga-ui-core-components-calendar.js +1 -4
- package/esm2015/components/data-list/data-list.component.js +1 -3
- package/esm2015/components/data-list/option/option.component.js +1 -5
- package/esm2015/components/data-list/taiga-ui-core-components-data-list.js +1 -4
- package/esm2015/components/dialog/dialog.component.js +2 -4
- package/esm2015/components/dialog/dialog.tokens.js +1 -7
- package/esm2015/components/dialog/taiga-ui-core-components-dialog.js +1 -4
- package/esm2015/components/error/taiga-ui-core-components-error.js +1 -4
- package/esm2015/components/expand/expand.component.js +1 -2
- package/esm2015/components/expand/taiga-ui-core-components-expand.js +1 -4
- package/esm2015/components/group/group-styles.component.js +1 -1
- package/esm2015/components/group/taiga-ui-core-components-group.js +1 -4
- package/esm2015/components/hints-host/hints-host.component.js +1 -5
- package/esm2015/components/hints-host/taiga-ui-core-components-hints-host.js +1 -4
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +12 -7
- package/esm2015/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js +1 -4
- package/esm2015/components/label/taiga-ui-core-components-label.js +1 -4
- package/esm2015/components/link/link.component.js +1 -2
- package/esm2015/components/link/taiga-ui-core-components-link.js +1 -4
- package/esm2015/components/loader/loader.component.js +1 -2
- package/esm2015/components/loader/loader.options.js +1 -5
- package/esm2015/components/loader/taiga-ui-core-components-loader.js +1 -4
- package/esm2015/components/notification/notification.component.js +2 -5
- package/esm2015/components/notification/taiga-ui-core-components-notification.js +1 -4
- package/esm2015/components/primitive-calendar/primitive-calendar.component.js +1 -4
- package/esm2015/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js +1 -4
- package/esm2015/components/primitive-checkbox/checkbox.options.js +1 -5
- package/esm2015/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js +1 -4
- package/esm2015/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js +1 -4
- package/esm2015/components/primitive-textfield/primitive-textfield-options.js +1 -13
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +1 -9
- package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +1 -6
- package/esm2015/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js +1 -4
- package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +1 -3
- package/esm2015/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js +1 -4
- package/esm2015/components/root/root.component.js +2 -4
- package/esm2015/components/root/taiga-ui-core-components-root.js +1 -4
- package/esm2015/components/scroll-controls/scroll-controls.module.js +1 -2
- package/esm2015/components/scroll-controls/taiga-ui-core-components-scroll-controls.js +1 -4
- package/esm2015/components/scrollbar/scroll-ref.directive.js +1 -3
- package/esm2015/components/scrollbar/scrollbar.component.js +1 -3
- package/esm2015/components/scrollbar/taiga-ui-core-components-scrollbar.js +1 -4
- package/esm2015/components/svg/svg-options.js +1 -4
- package/esm2015/components/svg/svg.component.js +1 -3
- package/esm2015/components/svg/taiga-ui-core-components-svg.js +1 -4
- package/esm2015/components/taiga-ui-core-components.js +1 -4
- package/esm2015/components/theme-night/taiga-ui-core-components-theme-night.js +1 -4
- package/esm2015/components/tooltip/taiga-ui-core-components-tooltip.js +1 -4
- package/esm2015/constants/decimal-symbols.js +1 -5
- package/esm2015/constants/events.js +1 -15
- package/esm2015/constants/mask-caret-trap.js +1 -5
- package/esm2015/constants/taiga-ui-core-constants.js +1 -4
- package/esm2015/directives/dropdown/dropdown-driver.directive.js +1 -2
- package/esm2015/directives/dropdown/dropdown-hover.options.js +1 -5
- package/esm2015/directives/dropdown/dropdown-options.directive.js +1 -5
- package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +2 -2
- package/esm2015/directives/dropdown/dropdown-position.directive.js +13 -6
- package/esm2015/directives/dropdown/dropdown-selection.directive.js +1 -10
- package/esm2015/directives/dropdown/dropdown.component.js +8 -18
- package/esm2015/directives/dropdown/dropdown.directive.js +1 -2
- package/esm2015/directives/dropdown/dropdown.providers.js +1 -4
- package/esm2015/directives/dropdown/taiga-ui-core-directives-dropdown.js +1 -4
- package/esm2015/directives/hint/hint-driver.directive.js +1 -2
- package/esm2015/directives/hint/hint-hover.directive.js +1 -2
- package/esm2015/directives/hint/hint-options.directive.js +1 -5
- package/esm2015/directives/hint/hint-position.directive.js +1 -2
- package/esm2015/directives/hint/hint.directive.js +1 -2
- package/esm2015/directives/hint/hint.providers.js +1 -5
- package/esm2015/directives/hint/taiga-ui-core-directives-hint.js +1 -4
- package/esm2015/directives/mask-accessor/mask-accessor.module.js +1 -4
- package/esm2015/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js +1 -4
- package/esm2015/directives/mode/taiga-ui-core-directives-mode.js +1 -4
- package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +1 -6
- package/esm2015/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js +1 -4
- package/esm2015/directives/taiga-ui-core-directives.js +1 -4
- package/esm2015/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js +1 -4
- package/esm2015/directives/textfield-controller/textfield-appearance.directive.js +1 -4
- package/esm2015/directives/textfield-controller/textfield.options.js +1 -5
- package/esm2015/directives/wrapper/taiga-ui-core-directives-wrapper.js +1 -4
- package/esm2015/enums/appearance.js +1 -3
- package/esm2015/enums/dropdown-animation.js +1 -3
- package/esm2015/enums/interactive-state.js +1 -6
- package/esm2015/enums/notification.js +1 -5
- package/esm2015/enums/range-state.js +1 -6
- package/esm2015/enums/taiga-ui-core-enums.js +1 -4
- package/esm2015/interfaces/taiga-ui-core-interfaces.js +1 -4
- package/esm2015/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js +1 -4
- package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +1 -2
- package/esm2015/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js +1 -4
- package/esm2015/internal/taiga-ui-core-internal.js +1 -4
- package/esm2015/mask/taiga-ui-core-mask.js +1 -4
- package/esm2015/observables/taiga-ui-core-observables.js +1 -4
- package/esm2015/observables/zoneful-map.js +1 -8
- package/esm2015/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js +1 -4
- package/esm2015/pipes/calendar-sheet/utils.js +1 -8
- package/esm2015/pipes/flag/taiga-ui-core-pipes-flag.js +1 -4
- package/esm2015/pipes/format-date/taiga-ui-core-pipes-format-date.js +1 -4
- package/esm2015/pipes/format-number/format-number.pipe.js +1 -7
- package/esm2015/pipes/format-number/taiga-ui-core-pipes-format-number.js +1 -4
- package/esm2015/pipes/format-phone/format-phone.pipe.js +1 -8
- package/esm2015/pipes/format-phone/taiga-ui-core-pipes-format-phone.js +1 -4
- package/esm2015/pipes/month/taiga-ui-core-pipes-month.js +1 -4
- package/esm2015/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.js +1 -4
- package/esm2015/pipes/taiga-ui-core-pipes.js +1 -4
- package/esm2015/providers/taiga-ui-core-providers.js +1 -4
- package/esm2015/services/breakpoint.service.js +1 -4
- package/esm2015/services/hint.service.js +1 -4
- package/esm2015/services/position.service.js +2 -4
- package/esm2015/services/router-link-active.service.js +2 -4
- package/esm2015/services/svg.service.js +1 -4
- package/esm2015/services/taiga-ui-core-services.js +1 -4
- package/esm2015/services/visual-viewport.service.js +1 -2
- package/esm2015/taiga-ui-core.js +1 -4
- package/esm2015/tokens/animation-options.js +1 -4
- package/esm2015/tokens/animations-duration.js +1 -4
- package/esm2015/tokens/assert-enabled.js +1 -8
- package/esm2015/tokens/data-list-accessor.js +1 -4
- package/esm2015/tokens/data-list-host.js +1 -4
- package/esm2015/tokens/day-type-handler.js +1 -4
- package/esm2015/tokens/element-ref.js +1 -4
- package/esm2015/tokens/first-day-of-week.js +1 -4
- package/esm2015/tokens/i18n.js +1 -19
- package/esm2015/tokens/icon-place.js +1 -5
- package/esm2015/tokens/icons-path.js +1 -5
- package/esm2015/tokens/icons.js +1 -4
- package/esm2015/tokens/is-mobile-resolution.js +1 -6
- package/esm2015/tokens/legacy-mask.js +1 -6
- package/esm2015/tokens/media.js +1 -4
- package/esm2015/tokens/mode.js +1 -4
- package/esm2015/tokens/notification-options.js +1 -6
- package/esm2015/tokens/number-format.js +1 -4
- package/esm2015/tokens/option-content.js +1 -4
- package/esm2015/tokens/ordered-short-week-days.js +1 -8
- package/esm2015/tokens/sanitizer.js +1 -4
- package/esm2015/tokens/scroll-ref.js +1 -4
- package/esm2015/tokens/selection-stream.js +1 -4
- package/esm2015/tokens/svg-content-processor.js +1 -5
- package/esm2015/tokens/svg-src-processor.js +1 -5
- package/esm2015/tokens/taiga-ui-core-tokens.js +1 -4
- package/esm2015/tokens/textfield-appearance.js +1 -6
- package/esm2015/tokens/textfield-host.js +1 -4
- package/esm2015/tokens/value-accessor.js +1 -4
- package/esm2015/tokens/viewport.js +1 -4
- package/esm2015/types/size.js +1 -12
- package/esm2015/types/taiga-ui-core-types.js +1 -4
- package/esm2015/utils/dom/get-safe-area-size.js +1 -6
- package/esm2015/utils/dom/get-viewport-height.js +1 -18
- package/esm2015/utils/dom/get-viewport-width.js +1 -18
- package/esm2015/utils/dom/get-word-range.js +1 -8
- package/esm2015/utils/dom/taiga-ui-core-utils-dom.js +1 -4
- package/esm2015/utils/format/capitalize.js +1 -8
- package/esm2015/utils/format/format-number.js +1 -9
- package/esm2015/utils/format/format-phone.js +1 -20
- package/esm2015/utils/format/get-fractional-part-padded.js +1 -8
- package/esm2015/utils/format/number-to-string-without-exp.js +1 -7
- package/esm2015/utils/format/taiga-ui-core-utils-format.js +1 -4
- package/esm2015/utils/mask/create-auto-corrected-money-pipe.js +1 -9
- package/esm2015/utils/mask/create-correction-mask.js +1 -5
- package/esm2015/utils/mask/create-number-mask.js +2 -10
- package/esm2015/utils/mask/enable-auto-correct-decimal-symbol.js +1 -5
- package/esm2015/utils/mask/masked-money-value-is-empty.js +1 -8
- package/esm2015/utils/mask/masked-number-string-to-number.js +1 -5
- package/esm2015/utils/mask/taiga-ui-core-utils-mask.js +1 -4
- package/esm2015/utils/miscellaneous/is-editing-key.js +1 -4
- package/esm2015/utils/miscellaneous/is-obscured.js +1 -4
- package/esm2015/utils/miscellaneous/override-options.js +1 -2
- package/esm2015/utils/miscellaneous/size-bigger.js +1 -7
- package/esm2015/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js +1 -4
- package/esm2015/utils/mobile/taiga-ui-core-utils-mobile.js +1 -4
- package/esm2015/utils/taiga-ui-core-utils.js +1 -4
- package/fesm2015/taiga-ui-core-abstract.js +0 -9
- package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-core-animations.js +0 -4
- package/fesm2015/taiga-ui-core-animations.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-alert.js +1 -16
- package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-button.js +0 -7
- package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-calendar.js +0 -4
- package/fesm2015/taiga-ui-core-components-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-data-list.js +0 -10
- package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +1 -13
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-error.js +0 -4
- package/fesm2015/taiga-ui-core-components-error.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-expand.js +0 -5
- package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-group.js +1 -5
- package/fesm2015/taiga-ui-core-components-group.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hints-host.js +0 -8
- package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +11 -10
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-label.js +0 -4
- package/fesm2015/taiga-ui-core-components-label.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-link.js +0 -5
- package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-loader.js +0 -9
- package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js +1 -8
- package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js +0 -7
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +0 -8
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +0 -4
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +0 -31
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +0 -4
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +1 -7
- package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scroll-controls.js +0 -5
- package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scrollbar.js +0 -8
- package/fesm2015/taiga-ui-core-components-scrollbar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-svg.js +0 -9
- package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-theme-night.js +0 -4
- package/fesm2015/taiga-ui-core-components-theme-night.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js +0 -4
- package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm2015/taiga-ui-core-components.js +0 -4
- package/fesm2015/taiga-ui-core-components.js.map +1 -1
- package/fesm2015/taiga-ui-core-constants.js +0 -26
- package/fesm2015/taiga-ui-core-constants.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +20 -49
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +0 -14
- package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js +0 -7
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mode.js +0 -4
- package/fesm2015/taiga-ui-core-directives-mode.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +0 -9
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js +0 -11
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-wrapper.js +0 -4
- package/fesm2015/taiga-ui-core-directives-wrapper.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives.js +0 -4
- package/fesm2015/taiga-ui-core-directives.js.map +1 -1
- package/fesm2015/taiga-ui-core-enums.js +0 -22
- package/fesm2015/taiga-ui-core-enums.js.map +1 -1
- package/fesm2015/taiga-ui-core-interfaces.js +1 -3
- package/fesm2015/taiga-ui-core-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +0 -4
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +0 -5
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal.js +0 -4
- package/fesm2015/taiga-ui-core-internal.js.map +1 -1
- package/fesm2015/taiga-ui-core-mask.js +1 -3
- package/fesm2015/taiga-ui-core-mask.js.map +1 -1
- package/fesm2015/taiga-ui-core-observables.js +0 -11
- package/fesm2015/taiga-ui-core-observables.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +0 -11
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-flag.js +0 -4
- package/fesm2015/taiga-ui-core-pipes-flag.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-date.js +0 -4
- package/fesm2015/taiga-ui-core-pipes-format-date.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-number.js +0 -10
- package/fesm2015/taiga-ui-core-pipes-format-number.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-phone.js +0 -11
- package/fesm2015/taiga-ui-core-pipes-format-phone.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-month.js +0 -4
- package/fesm2015/taiga-ui-core-pipes-month.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-order-week-days.js +0 -4
- package/fesm2015/taiga-ui-core-pipes-order-week-days.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes.js +0 -4
- package/fesm2015/taiga-ui-core-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-core-providers.js +0 -4
- package/fesm2015/taiga-ui-core-providers.js.map +1 -1
- package/fesm2015/taiga-ui-core-services.js +2 -20
- package/fesm2015/taiga-ui-core-services.js.map +1 -1
- package/fesm2015/taiga-ui-core-tokens.js +0 -126
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-core-types.js +0 -14
- package/fesm2015/taiga-ui-core-types.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-dom.js +0 -50
- package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-format.js +0 -51
- package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mask.js +1 -40
- package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js +0 -17
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mobile.js +0 -4
- package/fesm2015/taiga-ui-core-utils-mobile.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils.js +0 -4
- package/fesm2015/taiga-ui-core-utils.js.map +1 -1
- package/fesm2015/taiga-ui-core.js +0 -4
- package/fesm2015/taiga-ui-core.js.map +1 -1
- package/interfaces/alert-options.d.ts +0 -2
- package/interfaces/dialog-options.d.ts +0 -11
- package/interfaces/number-format-settings.d.ts +0 -21
- package/interfaces/taiga-ui-core-interfaces.d.ts +0 -3
- package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.d.ts +0 -3
- package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.d.ts +0 -3
- package/internal/taiga-ui-core-internal.d.ts +0 -3
- package/mask/taiga-ui-core-mask.d.ts +0 -3
- package/mask/text-mask-config.d.ts +0 -5
- package/mask/text-mask-correction-handler.d.ts +0 -3
- package/mask/text-mask-list-handler.d.ts +0 -3
- package/mask/text-mask-list.d.ts +0 -4
- package/mask/text-mask-options.d.ts +0 -22
- package/mask/text-mask-pipe-handler.d.ts +0 -4
- package/mask/text-mask-pipe-result.d.ts +0 -4
- package/observables/taiga-ui-core-observables.d.ts +0 -3
- package/observables/zoneful-map.d.ts +0 -7
- package/package.json +4 -4
- package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.d.ts +0 -3
- package/pipes/calendar-sheet/utils.d.ts +0 -13
- package/pipes/flag/taiga-ui-core-pipes-flag.d.ts +0 -3
- package/pipes/format-date/taiga-ui-core-pipes-format-date.d.ts +0 -3
- package/pipes/format-number/format-number.pipe.d.ts +0 -6
- package/pipes/format-number/taiga-ui-core-pipes-format-number.d.ts +0 -3
- package/pipes/format-phone/format-phone.pipe.d.ts +0 -7
- package/pipes/format-phone/taiga-ui-core-pipes-format-phone.d.ts +0 -3
- package/pipes/month/taiga-ui-core-pipes-month.d.ts +0 -3
- package/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.d.ts +0 -3
- package/pipes/taiga-ui-core-pipes.d.ts +0 -3
- package/providers/taiga-ui-core-providers.d.ts +0 -3
- package/services/breakpoint.service.d.ts +0 -3
- package/services/hint.service.d.ts +0 -3
- package/services/svg.service.d.ts +0 -3
- package/services/taiga-ui-core-services.d.ts +0 -3
- package/taiga-ui-core.d.ts +0 -3
- package/tokens/animation-options.d.ts +0 -3
- package/tokens/animations-duration.d.ts +0 -3
- package/tokens/assert-enabled.d.ts +0 -7
- package/tokens/data-list-accessor.d.ts +0 -3
- package/tokens/data-list-host.d.ts +0 -3
- package/tokens/day-type-handler.d.ts +0 -3
- package/tokens/element-ref.d.ts +0 -3
- package/tokens/first-day-of-week.d.ts +0 -3
- package/tokens/i18n.d.ts +0 -18
- package/tokens/icon-place.d.ts +0 -4
- package/tokens/icons-path.d.ts +0 -4
- package/tokens/icons.d.ts +0 -3
- package/tokens/is-mobile-resolution.d.ts +0 -5
- package/tokens/legacy-mask.d.ts +0 -5
- package/tokens/media.d.ts +0 -3
- package/tokens/mode.d.ts +0 -3
- package/tokens/notification-options.d.ts +0 -5
- package/tokens/number-format.d.ts +0 -3
- package/tokens/option-content.d.ts +0 -3
- package/tokens/ordered-short-week-days.d.ts +0 -7
- package/tokens/sanitizer.d.ts +0 -3
- package/tokens/scroll-ref.d.ts +0 -3
- package/tokens/selection-stream.d.ts +0 -3
- package/tokens/svg-content-processor.d.ts +0 -4
- package/tokens/svg-src-processor.d.ts +0 -4
- package/tokens/taiga-ui-core-tokens.d.ts +0 -3
- package/tokens/textfield-appearance.d.ts +0 -5
- package/tokens/textfield-host.d.ts +0 -3
- package/tokens/value-accessor.d.ts +0 -3
- package/tokens/viewport.d.ts +0 -3
- package/types/size.d.ts +0 -11
- package/types/taiga-ui-core-types.d.ts +0 -3
- package/utils/dom/get-safe-area-size.d.ts +0 -5
- package/utils/dom/get-viewport-height.d.ts +0 -17
- package/utils/dom/get-viewport-width.d.ts +0 -17
- package/utils/dom/get-word-range.d.ts +0 -6
- package/utils/dom/taiga-ui-core-utils-dom.d.ts +0 -3
- package/utils/format/capitalize.d.ts +0 -7
- package/utils/format/format-number.d.ts +0 -8
- package/utils/format/format-phone.d.ts +0 -19
- package/utils/format/get-fractional-part-padded.d.ts +0 -7
- package/utils/format/number-to-string-without-exp.d.ts +0 -6
- package/utils/format/taiga-ui-core-utils-format.d.ts +0 -3
- package/utils/mask/create-auto-corrected-money-pipe.d.ts +0 -5
- package/utils/mask/create-correction-mask.d.ts +0 -4
- package/utils/mask/create-number-mask.d.ts +0 -5
- package/utils/mask/enable-auto-correct-decimal-symbol.d.ts +0 -4
- package/utils/mask/masked-money-value-is-empty.d.ts +0 -7
- package/utils/mask/masked-number-string-to-number.d.ts +0 -4
- package/utils/mask/taiga-ui-core-utils-mask.d.ts +0 -3
- package/utils/miscellaneous/is-editing-key.d.ts +0 -3
- package/utils/miscellaneous/is-obscured.d.ts +0 -3
- package/utils/miscellaneous/size-bigger.d.ts +0 -6
- package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.d.ts +0 -3
- package/utils/mobile/taiga-ui-core-utils-mobile.d.ts +0 -3
- package/utils/taiga-ui-core-utils.d.ts +0 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-directives.js","sources":[
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-directives.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
// TODO: change type in v4.0
|
|
2
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
3
1
|
var TuiAppearance;
|
|
4
2
|
(function (TuiAppearance) {
|
|
5
3
|
TuiAppearance["Accent"] = "accent";
|
|
@@ -15,19 +13,12 @@ var TuiAppearance;
|
|
|
15
13
|
TuiAppearance["WhiteblockActive"] = "whiteblock-active";
|
|
16
14
|
})(TuiAppearance || (TuiAppearance = {}));
|
|
17
15
|
|
|
18
|
-
/** @deprecated not used anymore TODO: remove in 4.0 **/
|
|
19
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
20
16
|
var TuiDropdownAnimation;
|
|
21
17
|
(function (TuiDropdownAnimation) {
|
|
22
18
|
TuiDropdownAnimation["FadeInBottom"] = "fadeInBottom";
|
|
23
19
|
TuiDropdownAnimation["FadeInTop"] = "fadeInTop";
|
|
24
20
|
})(TuiDropdownAnimation || (TuiDropdownAnimation = {}));
|
|
25
21
|
|
|
26
|
-
/**
|
|
27
|
-
* @internal used in calendar, year picker and wrapper
|
|
28
|
-
*/
|
|
29
|
-
// TODO: change type in v4.0
|
|
30
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
31
22
|
var TuiInteractiveState;
|
|
32
23
|
(function (TuiInteractiveState) {
|
|
33
24
|
TuiInteractiveState["Active"] = "active";
|
|
@@ -36,10 +27,6 @@ var TuiInteractiveState;
|
|
|
36
27
|
TuiInteractiveState["Readonly"] = "readonly";
|
|
37
28
|
})(TuiInteractiveState || (TuiInteractiveState = {}));
|
|
38
29
|
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated use union type TuiNotificationT instead
|
|
41
|
-
*/
|
|
42
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
43
30
|
var TuiNotification;
|
|
44
31
|
(function (TuiNotification) {
|
|
45
32
|
TuiNotification["Error"] = "error";
|
|
@@ -48,11 +35,6 @@ var TuiNotification;
|
|
|
48
35
|
TuiNotification["Warning"] = "warning";
|
|
49
36
|
})(TuiNotification || (TuiNotification = {}));
|
|
50
37
|
|
|
51
|
-
/**
|
|
52
|
-
* @internal used in calendar and year picker
|
|
53
|
-
*/
|
|
54
|
-
// TODO: change type in v4.0
|
|
55
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
56
38
|
var TuiRangeState;
|
|
57
39
|
(function (TuiRangeState) {
|
|
58
40
|
TuiRangeState["End"] = "end";
|
|
@@ -60,9 +42,5 @@ var TuiRangeState;
|
|
|
60
42
|
TuiRangeState["Start"] = "start";
|
|
61
43
|
})(TuiRangeState || (TuiRangeState = {}));
|
|
62
44
|
|
|
63
|
-
/**
|
|
64
|
-
* Generated bundle index. Do not edit.
|
|
65
|
-
*/
|
|
66
|
-
|
|
67
45
|
export { TuiAppearance, TuiDropdownAnimation, TuiInteractiveState, TuiNotification, TuiRangeState };
|
|
68
46
|
//# sourceMappingURL=taiga-ui-core-enums.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-enums.js","sources":["../../../projects/core/enums/appearance.ts","../../../projects/core/enums/dropdown-animation.ts","../../../projects/core/enums/interactive-state.ts","../../../projects/core/enums/notification.ts","../../../projects/core/enums/range-state.ts"
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-enums.js","sources":["../../../projects/core/enums/appearance.ts","../../../projects/core/enums/dropdown-animation.ts","../../../projects/core/enums/interactive-state.ts","../../../projects/core/enums/notification.ts","../../../projects/core/enums/range-state.ts"],"sourcesContent":["// TODO: change type in v4.0\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiAppearance {\n Accent = `accent`,\n Flat = `flat`,\n Icon = `icon`,\n Outline = `outline`,\n Primary = `primary`,\n Secondary = `secondary`,\n SecondaryDestructive = `secondary-destructive`,\n Table = `table`,\n Textfield = `textfield`,\n Whiteblock = `whiteblock`,\n WhiteblockActive = `whiteblock-active`,\n}\n","/** @deprecated not used anymore TODO: remove in 4.0 **/\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiDropdownAnimation {\n FadeInBottom = `fadeInBottom`,\n FadeInTop = `fadeInTop`,\n}\n","/**\n * @internal used in calendar, year picker and wrapper\n */\n// TODO: change type in v4.0\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiInteractiveState {\n Active = `active`,\n Disabled = `disabled`,\n Hover = `hover`,\n Readonly = `readonly`,\n}\n","/**\n * @deprecated use union type TuiNotificationT instead\n */\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiNotification {\n Error = `error`,\n Info = `info`,\n Success = `success`,\n Warning = `warning`,\n}\n","/**\n * @internal used in calendar and year picker\n */\n// TODO: change type in v4.0\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiRangeState {\n End = `end`,\n Single = `single`,\n Start = `start`,\n}\n"],"names":[],"mappings":"IAEY,cAYX;AAZD,CAAA,UAAY,aAAa,EAAA;AACrB,IAAA,aAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,aAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,aAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,aAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,aAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,aAAA,CAAA,WAAA,CAAA,GAAA,W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AA,CAAA;;ICJW,cAIX;AAJD,CAAA,UAAY,aAAa,EAAA;AACrB,IAAA,aAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,IAAA,aAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,aAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACnB,CAAC,EAJW,aAAa,KAAb,aAAa,GAIxB,EAAA,CAAA,CAAA;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-interfaces.js","sources":[
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-interfaces.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -115,9 +115,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
115
115
|
}]
|
|
116
116
|
}] });
|
|
117
117
|
|
|
118
|
-
/**
|
|
119
|
-
* Generated bundle index. Do not edit.
|
|
120
|
-
*/
|
|
121
|
-
|
|
122
118
|
export { TuiPrimitiveYearMonthPaginationComponent, TuiPrimitiveYearMonthPaginationModule };
|
|
123
119
|
//# sourceMappingURL=taiga-ui-core-internal-primitive-year-month-pagination.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-internal-primitive-year-month-pagination.js","sources":["../../../projects/core/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.ts","../../../projects/core/internal/primitive-year-month-pagination/primitive-year-month-pagination.template.html","../../../projects/core/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.ts"
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-internal-primitive-year-month-pagination.js","sources":["../../../projects/core/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.ts","../../../projects/core/internal/primitive-year-month-pagination/primitive-year-month-pagination.template.html","../../../projects/core/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n Output,\n} from '@angular/core';\nimport {\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiMonth,\n TuiMonthLike,\n TuiYear,\n} from '@taiga-ui/cdk';\nimport {TuiWithOptionalMinMax} from '@taiga-ui/core/interfaces';\n\n@Component({\n selector: 'tui-primitive-year-month-pagination',\n templateUrl: './primitive-year-month-pagination.template.html',\n styleUrls: ['./primitive-year-month-pagination.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiPrimitiveYearMonthPaginationComponent\n implements TuiWithOptionalMinMax<TuiMonth>\n{\n @Input()\n value = TuiMonth.currentLocal();\n\n @Input()\n min: TuiMonth | null = TUI_FIRST_DAY;\n\n @Input()\n max: TuiMonth | null = TUI_LAST_DAY;\n\n @Output()\n readonly valueChange = new EventEmitter<TuiMonth>();\n\n @Output()\n readonly yearClick = new EventEmitter<TuiYear>();\n\n get computedMin(): TuiMonth {\n return this.min ?? TUI_FIRST_DAY;\n }\n\n get computedMax(): TuiMonth {\n return this.max ?? TUI_LAST_DAY;\n }\n\n get prevMonthDisabled(): boolean {\n return this.value.monthSameOrBefore(this.computedMin);\n }\n\n get nextMonthDisabled(): boolean {\n return this.value.monthSameOrAfter(this.computedMax);\n }\n\n get oneYear(): boolean {\n const {computedMin, computedMax} = this;\n\n return computedMin.year === computedMax.year;\n }\n\n onYearClick(): void {\n this.yearClick.next(this.value);\n }\n\n onPrevMonthClick(): void {\n this.appendValueWithLimit({month: -1});\n }\n\n onNextMonthClick(): void {\n this.appendValueWithLimit({month: 1});\n }\n\n private appendValueWithLimit(date: TuiMonthLike): void {\n const newMonth: TuiMonth = this.value.append(date);\n const {computedMin, computedMax} = this;\n\n if (computedMin.monthSameOrAfter(newMonth)) {\n this.updateValue(computedMin);\n\n return;\n }\n\n this.updateValue(\n computedMax.monthSameOrBefore(newMonth) ? computedMax : newMonth,\n );\n }\n\n private updateValue(value: TuiMonth): void {\n if (this.value.monthSame(value)) {\n return;\n }\n\n this.value = value;\n this.valueChange.emit(value);\n }\n}\n","<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","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiFocusableModule} from '@taiga-ui/cdk';\nimport {TuiLinkModule} from '@taiga-ui/core/components/link';\nimport {TuiPrimitiveSpinButtonModule} from '@taiga-ui/core/components/primitive-spin-button';\nimport {TuiMonthPipeModule} from '@taiga-ui/core/pipes';\n\nimport {TuiPrimitiveYearMonthPaginationComponent} from './primitive-year-month-pagination.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiFocusableModule,\n TuiPrimitiveSpinButtonModule,\n TuiLinkModule,\n TuiMonthPipeModule,\n ],\n declarations: [TuiPrimitiveYearMonthPaginationComponent],\n exports: [TuiPrimitiveYearMonthPaginationComponent],\n})\nexport class TuiPrimitiveYearMonthPaginationModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;;MAsBa,wCAAwC,CAAA;AANrD,IAAA,WAAA,GAAA;AAUI,QAAA,IAAA,CAAA,KAAK,GAAG,QAAQ,CAAC,YAAY,EAAE,CAAC;QAGhC,IAAG,CAAA,GAAA,GAAoB,aAAa,CAAC;QAGrC,IAAG,CAAA,GAAA,GAAoB,YAAY,CAAC;AAG3B,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,YAAY,EAAY,CAAC;AAG3C,QAAA,IAAA,CAAA,S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AA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qCAAqC,EAVrC,OAAA,EAAA,CAAA;YACL,YAAY;YACZ,kBAAkB;YAClB,4BAA4B;YAC5B,aAAa;YACb,kBAAkB;AACrB,SAAA,CAAA,EAAA,CAAA,CAAA;4FAIQ,qCAAqC,EAAA,UAAA,EAAA,CAAA;kBAXjD,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,kBAAkB;wBAClB,4BAA4B;wBAC5B,aAAa;wBACb,kBAAkB;AACrB,qBAAA;oBACD,YAAY,EAAE,CAAC,wCAAwC,CAAC;oBACxD,OAAO,EAAE,CAAC,wCAAwC,CAAC;AACtD,iBAAA,CAAA;;;;;"}
|
|
@@ -16,7 +16,6 @@ class TuiSvgDefsHostComponent {
|
|
|
16
16
|
this.isBrowser = true;
|
|
17
17
|
this.isBrowser = !isPlatformServer(platformId);
|
|
18
18
|
}
|
|
19
|
-
// @bad TODO: Looks like it could be async piped but it was probably written like that for a reason
|
|
20
19
|
ngOnInit() {
|
|
21
20
|
this.svgService.items$.pipe(takeUntil(this.destroy$)).subscribe(defsMap => {
|
|
22
21
|
this.items = defsMap.values();
|
|
@@ -65,9 +64,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
65
64
|
}]
|
|
66
65
|
}] });
|
|
67
66
|
|
|
68
|
-
/**
|
|
69
|
-
* Generated bundle index. Do not edit.
|
|
70
|
-
*/
|
|
71
|
-
|
|
72
67
|
export { TuiSvgDefsHostComponent, TuiSvgDefsHostModule };
|
|
73
68
|
//# sourceMappingURL=taiga-ui-core-internal-svg-defs-host.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-internal-svg-defs-host.js","sources":["../../../projects/core/internal/svg-defs-host/svg-defs-host.component.ts","../../../projects/core/internal/svg-defs-host/svg-defs-host.template.html","../../../projects/core/internal/svg-defs-host/svg-defs-host.module.ts"
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-internal-svg-defs-host.js","sources":["../../../projects/core/internal/svg-defs-host/svg-defs-host.component.ts","../../../projects/core/internal/svg-defs-host/svg-defs-host.template.html","../../../projects/core/internal/svg-defs-host/svg-defs-host.module.ts"],"sourcesContent":["import {isPlatformServer} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n OnInit,\n PLATFORM_ID,\n Self,\n} from '@angular/core';\nimport {SafeHtml} from '@angular/platform-browser';\nimport {TuiDestroyService} from '@taiga-ui/cdk';\nimport {TuiSvgService} from '@taiga-ui/core/services';\nimport {takeUntil} from 'rxjs/operators';\n\n@Component({\n selector: 'tui-svg-defs-host',\n templateUrl: './svg-defs-host.template.html',\n styleUrls: ['./svg-defs-host.style.less'],\n providers: [TuiDestroyService],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSvgDefsHostComponent implements OnInit {\n items!: IterableIterator<SafeHtml>;\n isBrowser = true;\n\n constructor(\n @Inject(TuiSvgService) private readonly svgService: TuiSvgService,\n @Inject(ChangeDetectorRef) private readonly cdr: ChangeDetectorRef,\n @Self()\n @Inject(TuiDestroyService)\n private readonly destroy$: TuiDestroyService,\n @Inject(PLATFORM_ID) platformId: Record<string, unknown>,\n ) {\n this.isBrowser = !isPlatformServer(platformId);\n }\n\n // @bad TODO: Looks like it could be async piped but it was probably written like that for a reason\n ngOnInit(): void {\n this.svgService.items$.pipe(takeUntil(this.destroy$)).subscribe(defsMap => {\n this.items = defsMap.values();\n this.cdr.detectChanges();\n });\n }\n}\n","<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","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiLetModule} from '@taiga-ui/cdk';\n\nimport {TuiSvgDefsHostComponent} from './svg-defs-host.component';\n\n@NgModule({\n imports: [CommonModule, TuiLetModule],\n declarations: [TuiSvgDefsHostComponent],\n exports: [TuiSvgDefsHostComponent],\n})\nexport class TuiSvgDefsHostModule {}\n"],"names":[],"mappings":";;;;;;;;;;MAsBa,uBAAuB,CAAA;AAIhC,IAAA,WAAA,CAC4C,UAAyB,EACrB,GAAsB,EAGjD,QAA2B,EACvB,UAAmC,EAAA;QALhB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAe;QACrB,IAAG,CAAA,GAAA,GAAH,GAAG,CAAmB;QAGjD,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAmB;QAPhD,IAAS,CAAA,SAAA,GAAG,IAAI,CAAC;QAUb,IAAI,CAAC,SAAS,GAAG,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;KAClD;IAGD,QAAQ,GAAA;AACJ,QAAA,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,IAAG;AACtE,YAAA,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;AAC9B,YAAA,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;AAC7B,SAAC,CAAC,CAAC;KACN;;AArBQ,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAA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C,WAAW,CAAA;;;MErBd,oBAAoB,CAAA;;kHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,iBAHd,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAD5B,YAAY,EAAE,YAAY,aAE1B,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAExB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EAJpB,OAAA,EAAA,CAAA,CAAC,YAAY,EAAE,YAAY,CAAC,CAAA,EAAA,CAAA,CAAA;4FAI5B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;oBACrC,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;AACrC,iBAAA,CAAA;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-internal.js","sources":[
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-internal.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-mask.js","sources":[
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-mask.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -8,20 +8,9 @@ function tuiSmartSearch(getSearchFunction, searchDebounceTimeMs = 400) {
|
|
|
8
8
|
: current, ``), distinctUntilChanged(), switchMap(value => getSearchFunction(value).pipe(startWith(null))), startWith(EMPTY_ARRAY));
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
/**
|
|
12
|
-
* Works like regular map + distinctUntilChanged
|
|
13
|
-
* and only returns to NgZone if value has changed
|
|
14
|
-
*
|
|
15
|
-
* @param project mapping function
|
|
16
|
-
* @param zone NgZone instance
|
|
17
|
-
*/
|
|
18
11
|
function tuiZonefulMap(project, zone) {
|
|
19
12
|
return pipe(map(project), distinctUntilChanged(), tuiZonefull(zone));
|
|
20
13
|
}
|
|
21
14
|
|
|
22
|
-
/**
|
|
23
|
-
* Generated bundle index. Do not edit.
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
15
|
export { tuiSmartSearch, tuiZonefulMap };
|
|
27
16
|
//# sourceMappingURL=taiga-ui-core-observables.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-observables.js","sources":["../../../projects/core/observables/smart-search.ts","../../../projects/core/observables/zoneful-map.ts"
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-observables.js","sources":["../../../projects/core/observables/smart-search.ts","../../../projects/core/observables/zoneful-map.ts"],"sourcesContent":["import {EMPTY_ARRAY} from '@taiga-ui/cdk';\nimport {Observable, OperatorFunction} from 'rxjs';\nimport {\n debounceTime,\n distinctUntilChanged,\n scan,\n startWith,\n switchMap,\n} from 'rxjs/operators';\n\nexport function tuiSmartSearch<T>(\n getSearchFunction: (search: string) => Observable<readonly T[] | readonly T[][]>,\n searchDebounceTimeMs: number = 400,\n): OperatorFunction<string, readonly T[] | readonly T[][] | null> {\n return source =>\n source.pipe(\n debounceTime(searchDebounceTimeMs),\n scan(\n (previousSearched, current) =>\n previousSearched !== `` && current.startsWith(previousSearched)\n ? previousSearched\n : current,\n ``,\n ),\n distinctUntilChanged(),\n switchMap(value => getSearchFunction(value).pipe(startWith(null))),\n startWith(EMPTY_ARRAY),\n );\n}\n","import {NgZone} from '@angular/core';\nimport {tuiZonefull} from '@taiga-ui/cdk';\nimport {OperatorFunction, pipe} from 'rxjs';\nimport {distinctUntilChanged, map} from 'rxjs/operators';\n\n/**\n * Works like regular map + distinctUntilChanged\n * and only returns to NgZone if value has changed\n *\n * @param project mapping function\n * @param zone NgZone instance\n */\nexport function tuiZonefulMap<T, R>(\n project: (value: T, index: number) => R,\n zone: NgZone,\n): OperatorFunction<T, R> {\n return pipe(map(project), distinctUntilChanged(), tuiZonefull(zone));\n}\n"],"names":[],"mappings":";;;;SAUgB,cAAc,CAC1B,iBAAgF,EAChF,uBAA+B,GAAG,EAAA;AAElC,IAAA,OAAO,MAAM,IACT,MAAM,CAAC,IAAI,CACP,YAAY,CAAC,oBAAoB,CAAC,EAClC,IAAI,CACA,CAAC,gBAAgB,EAAE,OAAO,KACtB,gBAAgB,KAAK,CAAE,CAAA,IAAI,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC;AAC3D,UAAE,gBAAgB;AAClB,UAAE,OAAO,EACjB,CAAA,CAAE,CACL,EACD,oBAAoB,EAAE,EACtB,SAAS,CAAC,KAAK,IAAI,iBAAiB,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAClE,SAAS,CAAC,WAAW,CAAC,CACzB,CAAC;AACV;;AChBgB,SAAA,aAAa,CACzB,OAAuC,EACvC,IAAY,EAAA;AAEZ,IAAA,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,oBAAoB,EAAE,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;AACzE;;;;"}
|
|
@@ -4,19 +4,12 @@ import * as i1 from '@taiga-ui/cdk';
|
|
|
4
4
|
import { DAYS_IN_WEEK, tuiAssert, tuiInRange, TuiDay } from '@taiga-ui/cdk';
|
|
5
5
|
import { TUI_FIRST_DAY_OF_WEEK } from '@taiga-ui/core/tokens';
|
|
6
6
|
|
|
7
|
-
/**
|
|
8
|
-
* Computes day of week offset of the beginning of the month
|
|
9
|
-
*/
|
|
10
7
|
const getMonthStartDaysOffset = (month, firstDayOfWeek) => {
|
|
11
8
|
const startMonthOffsetFromSunday = new Date(month.year, month.month, 1).getDay();
|
|
12
9
|
return startMonthOffsetFromSunday >= firstDayOfWeek
|
|
13
10
|
? startMonthOffsetFromSunday - firstDayOfWeek
|
|
14
11
|
: DAYS_IN_WEEK - (firstDayOfWeek - startMonthOffsetFromSunday);
|
|
15
12
|
};
|
|
16
|
-
/**
|
|
17
|
-
* Calculated day on a calendar grid
|
|
18
|
-
* @return resulting day on these coordinates (could exceed passed month)
|
|
19
|
-
*/
|
|
20
13
|
const getDayFromMonthRowCol = ({ month, rowIndex, colIndex, firstDayOfWeek, }) => {
|
|
21
14
|
ngDevMode && tuiAssert.assert(Number.isInteger(rowIndex));
|
|
22
15
|
ngDevMode && tuiAssert.assert(tuiInRange(rowIndex, 0, 6));
|
|
@@ -101,9 +94,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
101
94
|
}]
|
|
102
95
|
}] });
|
|
103
96
|
|
|
104
|
-
/**
|
|
105
|
-
* Generated bundle index. Do not edit.
|
|
106
|
-
*/
|
|
107
|
-
|
|
108
97
|
export { TuiCalendarSheetPipe, TuiCalendarSheetPipeModule };
|
|
109
98
|
//# sourceMappingURL=taiga-ui-core-pipes-calendar-sheet.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-pipes-calendar-sheet.js","sources":["../../../projects/core/pipes/calendar-sheet/utils.ts","../../../projects/core/pipes/calendar-sheet/calendar-sheet.pipe.ts","../../../projects/core/pipes/calendar-sheet/calendar-sheet.module.ts"
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-pipes-calendar-sheet.js","sources":["../../../projects/core/pipes/calendar-sheet/utils.ts","../../../projects/core/pipes/calendar-sheet/calendar-sheet.pipe.ts","../../../projects/core/pipes/calendar-sheet/calendar-sheet.module.ts"],"sourcesContent":["import {\n DAYS_IN_WEEK,\n tuiAssert,\n TuiDay,\n TuiDayOfWeek,\n tuiInRange,\n TuiMonth,\n} from '@taiga-ui/cdk';\n\n/**\n * Computes day of week offset of the beginning of the month\n */\nconst getMonthStartDaysOffset = (\n month: TuiMonth,\n firstDayOfWeek: TuiDayOfWeek,\n): number => {\n const startMonthOffsetFromSunday = new Date(month.year, month.month, 1).getDay();\n\n return startMonthOffsetFromSunday >= firstDayOfWeek\n ? startMonthOffsetFromSunday - firstDayOfWeek\n : DAYS_IN_WEEK - (firstDayOfWeek - startMonthOffsetFromSunday);\n};\n\n/**\n * Calculated day on a calendar grid\n * @return resulting day on these coordinates (could exceed passed month)\n */\nexport const getDayFromMonthRowCol = ({\n month,\n rowIndex,\n colIndex,\n firstDayOfWeek,\n}: {\n /**\n * column in a calendar\n */\n colIndex: number;\n /**\n * first day of the week index (Sunday - 0, Saturday - 6)\n */\n firstDayOfWeek: TuiDayOfWeek;\n month: TuiMonth;\n /**\n * row in a calendar\n */\n rowIndex: number;\n}): TuiDay => {\n ngDevMode && tuiAssert.assert(Number.isInteger(rowIndex));\n ngDevMode && tuiAssert.assert(tuiInRange(rowIndex, 0, 6));\n ngDevMode && tuiAssert.assert(Number.isInteger(colIndex));\n ngDevMode && tuiAssert.assert(tuiInRange(colIndex, 0, DAYS_IN_WEEK));\n\n let day =\n rowIndex * DAYS_IN_WEEK +\n colIndex -\n getMonthStartDaysOffset(month, firstDayOfWeek) +\n 1;\n\n if (day > month.daysCount) {\n day -= month.daysCount;\n month = month.append({month: 1});\n }\n\n if (day <= 0) {\n month = month.append({month: -1});\n day = month.daysCount + day;\n }\n\n return new TuiDay(month.year, month.month, day);\n};\n","import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {DAYS_IN_WEEK, TuiDay, TuiDayOfWeek, TuiMonth} from '@taiga-ui/cdk';\nimport {TUI_FIRST_DAY_OF_WEEK} from '@taiga-ui/core/tokens';\n\nimport {getDayFromMonthRowCol} from './utils';\n\nconst CALENDAR_ROWS_COUNT = 6;\n\n@Pipe({\n name: `tuiCalendarSheet`,\n})\nexport class TuiCalendarSheetPipe implements PipeTransform {\n private currentMonth: TuiMonth | null = null;\n private currentSheet: ReadonlyArray<readonly TuiDay[]> = [];\n\n constructor(\n @Inject(TUI_FIRST_DAY_OF_WEEK)\n private readonly firstDayOfWeek: TuiDayOfWeek,\n ) {}\n\n transform(\n month: TuiMonth,\n showAdjacentDays: boolean = false,\n ): ReadonlyArray<readonly TuiDay[]> {\n if (this.currentMonth?.monthSame(month)) {\n return this.currentSheet;\n }\n\n const sheet: Array<readonly TuiDay[]> = [];\n\n for (let rowIndex = 0; rowIndex < CALENDAR_ROWS_COUNT; rowIndex++) {\n const row: TuiDay[] = [];\n\n for (let colIndex = 0; colIndex < DAYS_IN_WEEK; colIndex++) {\n const day = getDayFromMonthRowCol({\n month,\n rowIndex,\n colIndex,\n firstDayOfWeek: this.firstDayOfWeek,\n });\n\n const isPrevMonthDay = (day: TuiDay, relativeToMonth = month): boolean =>\n day.year < relativeToMonth.year || day.month < relativeToMonth.month;\n\n const isNextMonthDay = (day: TuiDay, relativeToMonth = month): boolean =>\n day.year > relativeToMonth.year || day.month > relativeToMonth.month;\n\n if (isPrevMonthDay(day) && !showAdjacentDays) {\n continue;\n }\n\n if (isNextMonthDay(day) && !showAdjacentDays) {\n break;\n }\n\n row.push(day);\n }\n\n sheet.push(row);\n }\n\n this.currentSheet = sheet.filter(row => row.length);\n this.currentMonth = month;\n\n return this.currentSheet;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiCalendarSheetPipe} from './calendar-sheet.pipe';\n\n@NgModule({\n declarations: [TuiCalendarSheetPipe],\n exports: [TuiCalendarSheetPipe],\n})\nexport class TuiCalendarSheetPipeModule {}\n"],"names":[],"mappings":";;;;;;AAYA,MAAM,uBAAuB,GAAG,CAC5B,KAAe,EACf,cAA4B,KACpB;AACR,IAAA,MAA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,QAAA,EAAA,CAAA,CAAA;yHAA1B,0BAA0B,EAAA,YAAA,EAAA,CAHpB,oBAAoB,CAAA,EAAA,OAAA,EAAA,CACzB,oBAAoB,CAAA,EAAA,CAAA,CAAA;yHAErB,0BAA0B,EAAA,CAAA,CAAA;4FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAJtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,oBAAoB,CAAC;oBACpC,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAClC,iBAAA,CAAA;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-pipes-flag.js","sources":["../../../projects/core/pipes/flag/flag.pipe.ts","../../../projects/core/pipes/flag/flag.module.ts"
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-pipes-flag.js","sources":["../../../projects/core/pipes/flag/flag.pipe.ts","../../../projects/core/pipes/flag/flag.module.ts"],"sourcesContent":["import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {TUI_SVG_OPTIONS, TuiSvgOptions} from '@taiga-ui/core/components/svg';\nimport {TUI_CACHE_BUSTING_PAYLOAD} from '@taiga-ui/core/constants';\nimport {TuiCountryIsoCode} from '@taiga-ui/i18n';\n\n@Pipe({name: `tuiFlag`})\nexport class TuiFlagPipe implements PipeTransform {\n private readonly staticPath = this.svgOptions\n .path(`tuiIcon`)\n .replace(`tuiIcon.svg#tuiIcon`, ``)\n .replace(`tuiIcon.svg${TUI_CACHE_BUSTING_PAYLOAD}#tuiIcon`, ``);\n\n constructor(@Inject(TUI_SVG_OPTIONS) private readonly svgOptions: TuiSvgOptions) {}\n\n transform(countryIsoCode: TuiCountryIsoCode | string): string;\n transform(countryIsoCode?: TuiCountryIsoCode | string | null): string | null;\n transform(countryIsoCode?: TuiCountryIsoCode | string | null): string | null {\n if (!countryIsoCode) {\n return null;\n }\n\n switch (countryIsoCode) {\n case TuiCountryIsoCode.BL:\n case TuiCountryIsoCode.BQ:\n case TuiCountryIsoCode.CW:\n case TuiCountryIsoCode.GF:\n case TuiCountryIsoCode.GP:\n case TuiCountryIsoCode.MF:\n case TuiCountryIsoCode.MQ:\n case TuiCountryIsoCode.NC:\n case TuiCountryIsoCode.RE:\n case TuiCountryIsoCode.YT:\n return `${this.staticPath}${TuiCountryIsoCode.FR}.png`;\n case TuiCountryIsoCode.SX:\n return `${this.staticPath}${TuiCountryIsoCode.NL}.png`;\n default:\n return `${this.staticPath}${countryIsoCode}.png`;\n }\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFlagPipe} from './flag.pipe';\n\n@NgModule({\n declarations: [TuiFlagPipe],\n exports: [TuiFlagPipe],\n})\nexport class TuiFlagPipeModule {}\n"],"names":[],"mappings":";;;;;;MAMa,WAAW,CAAA;AAMpB,IAAA,WAAA,CAAsD,UAAyB,EAAA;QAAzB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAe;QAL9D,IAAU,CAAA,UAAA,GAAG,IAAI,CAAC,UAAU;aACxC,IAAI,CAAC,SAAS,CAAC;AACf,aAAA,OAAO,CAAC,CAAA,mBAAA,CAAqB,EAAE,CAAA,CAAE,CAAC;AAClC,aAAA,OAAO,CAAC,CAAc,WAAA,EAAA,yBAAyB,UAAU,EAAE,CAAA,CAAE,CAAC,CAAC;KAEe;AAInF,IAAA,SAAS,CAAC,cAAkD,EAAA;QACxD,IAAI,CAAC,cAAc,EAAE;AACjB,YAAA,OAAO,IAAI,CAAC;AACf,SAAA;AAED,QAAA,QAAQ,cAAc;YAClB,KAAK,iBAAiB,CAAC,EAAE,CAAC;YAC1B,KAAK,iBAAiB,CAAC,EAAE,CAAC;YAC1B,KAAK,iBAAiB,CAAC,EAAE,CAAC;YAC1B,KAAK,iBAAiB,CAAC,EAAE,CAAC;YAC1B,KAAK,iBAAiB,CAAC,EAAE,CAAC;YAC1B,KAAK,iBAAiB,CAAC,EAAE,CAAC;YAC1B,KAAK,iBAAiB,CAAC,EAA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,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,WAAW,CAAC;oBAC3B,OAAO,EAAE,CAAC,WAAW,CAAC;AACzB,iBAAA,CAAA;;;;;"}
|
|
@@ -36,9 +36,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
36
36
|
}]
|
|
37
37
|
}] });
|
|
38
38
|
|
|
39
|
-
/**
|
|
40
|
-
* Generated bundle index. Do not edit.
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
39
|
export { TuiFormatDatePipe, TuiFormatDatePipeModule };
|
|
44
40
|
//# sourceMappingURL=taiga-ui-core-pipes-format-date.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-pipes-format-date.js","sources":["../../../projects/core/pipes/format-date/format-date.pipe.ts","../../../projects/core/pipes/format-date/format-date.module.ts"
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-pipes-format-date.js","sources":["../../../projects/core/pipes/format-date/format-date.pipe.ts","../../../projects/core/pipes/format-date/format-date.module.ts"],"sourcesContent":["import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {TuiFormatDateService} from '@taiga-ui/core/services';\nimport {Observable} from 'rxjs';\n\n@Pipe({\n name: `tuiFormatDate`,\n})\nexport class TuiFormatDatePipe implements PipeTransform {\n constructor(\n @Inject(TuiFormatDateService) private readonly service: TuiFormatDateService,\n ) {}\n\n transform(timestampOrDate: Date | number): Observable<string> {\n return this.service.format(timestampOrDate.valueOf());\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFormatDatePipe} from './format-date.pipe';\n\n@NgModule({\n declarations: [TuiFormatDatePipe],\n exports: [TuiFormatDatePipe],\n})\nexport class TuiFormatDatePipeModule {}\n"],"names":[],"mappings":";;;;;MAOa,iBAAiB,CAAA;AAC1B,IAAA,WAAA,CACmD,OAA6B,EAAA;QAA7B,IAAO,CAAA,OAAA,GAAP,OAAO,CAAsB;KAC5E;A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
|
-
* Formats number adding thousand separators and correct decimal separator
|
|
12
|
-
* padding decimal part with zeroes to given length
|
|
13
|
-
* @param value number
|
|
14
|
-
* @param settings See {@link TuiNumberFormatSettings}
|
|
15
|
-
*/
|
|
16
10
|
transform(value, settings = {}) {
|
|
17
11
|
return tuiFormatNumber(value, Object.assign(Object.assign({}, this.numberFormat), settings));
|
|
18
12
|
}
|
|
@@ -40,9 +34,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
40
34
|
}]
|
|
41
35
|
}] });
|
|
42
36
|
|
|
43
|
-
/**
|
|
44
|
-
* Generated bundle index. Do not edit.
|
|
45
|
-
*/
|
|
46
|
-
|
|
47
37
|
export { TuiFormatNumberPipe, TuiFormatNumberPipeModule };
|
|
48
38
|
//# sourceMappingURL=taiga-ui-core-pipes-format-number.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-pipes-format-number.js","sources":["../../../projects/core/pipes/format-number/format-number.pipe.ts","../../../projects/core/pipes/format-number/format-number.module.ts"
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-pipes-format-number.js","sources":["../../../projects/core/pipes/format-number/format-number.pipe.ts","../../../projects/core/pipes/format-number/format-number.module.ts"],"sourcesContent":["import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {TuiNumberFormatSettings} from '@taiga-ui/core/interfaces';\nimport {TUI_NUMBER_FORMAT} from '@taiga-ui/core/tokens';\nimport {tuiFormatNumber} from '@taiga-ui/core/utils/format';\n\n@Pipe({name: `tuiFormatNumber`})\nexport class TuiFormatNumberPipe implements PipeTransform {\n constructor(\n @Inject(TUI_NUMBER_FORMAT)\n private readonly numberFormat: TuiNumberFormatSettings,\n ) {}\n\n /**\n * Formats number adding thousand separators and correct decimal separator\n * padding decimal part with zeroes to given length\n * @param value number\n * @param settings See {@link TuiNumberFormatSettings}\n */\n transform(value: number, settings: Partial<TuiNumberFormatSettings> = {}): string {\n return tuiFormatNumber(value, {...this.numberFormat, ...settings});\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFormatNumberPipe} from './format-number.pipe';\n\n@NgModule({\n exports: [TuiFormatNumberPipe],\n declarations: [TuiFormatNumberPipe],\n})\nexport class TuiFormatNumberPipeModule {}\n"],"names":[],"mappings":";;;;;MAMa,mBAAmB,CAAA;AAC5B,IAAA,WAAA,CAEqB,YAAqC,EAAA;QAArC,IAAY,CAAA,YAAA,GAAZ,YAAY,CAAyB;KACtD;AAQJ,IAAA,SAAS,CAAC,KAAa,EAAE,QAAA,GAA6C,EAAE,EAAA;QACpE,OAAO,eAAe,CAAC,KAAK,EAAM,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,IAAI,CAAC,YAAY,CAAA,EAAK,QAAQ,CAAA,CAAE,CAAC;KACtE;;AAdQ,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,kBAEhB,iBAAiB,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;+GAFpB,mBAAmB,EAAA,IAAA,EAAA,iBAAA,EAAA,CAAA,CAAA;4FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAD/B,IAAI;mBAAC,EAAC,IAAI,EAAE,CAAA,eAAA,CAAiB,EAAC,CAAA;;0BAGtB,MAAM;2BAAC,iBAAiB,CAAA;;;MCApB,yBAAyB,CAAA;;uHAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;wHAAzB,yBAAyB,EAAA,YAAA,EAAA,CAFnB,mBAAmB,CAAA,EAAA,OAAA,EAAA,CADxB,mBAAmB,CAAA,EAAA,CAAA,CAAA;wHAGpB,yBAAyB,EAAA,CAAA,CAAA;4FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAJrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,mBAAmB,CAAC;oBAC9B,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACtC,iBAAA,CAAA;;;;;"}
|
|
@@ -4,13 +4,6 @@ import { tuiAssert, CHAR_PLUS } from '@taiga-ui/cdk';
|
|
|
4
4
|
import { tuiFormatPhone } from '@taiga-ui/core/utils/format';
|
|
5
5
|
|
|
6
6
|
class TuiFormatPhonePipe {
|
|
7
|
-
/**
|
|
8
|
-
* Formats phone number string of +7XXXXXXXXXX format with adding separator symbols
|
|
9
|
-
* @param value
|
|
10
|
-
* @param countryCode
|
|
11
|
-
* @param phoneMask
|
|
12
|
-
* @return formatted phone number string +7(XXX)XXX-XX-XX
|
|
13
|
-
*/
|
|
14
7
|
transform(value, countryCode = `${CHAR_PLUS}7`, phoneMask = `(###) ###-##-##`) {
|
|
15
8
|
ngDevMode &&
|
|
16
9
|
tuiAssert.assert(value !== undefined, `Undefined was passed to tuiFormatPhone pipe`);
|
|
@@ -37,9 +30,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
37
30
|
}]
|
|
38
31
|
}] });
|
|
39
32
|
|
|
40
|
-
/**
|
|
41
|
-
* Generated bundle index. Do not edit.
|
|
42
|
-
*/
|
|
43
|
-
|
|
44
33
|
export { TuiFormatPhonePipe, TuiFormatPhonePipeModule };
|
|
45
34
|
//# sourceMappingURL=taiga-ui-core-pipes-format-phone.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-pipes-format-phone.js","sources":["../../../projects/core/pipes/format-phone/format-phone.pipe.ts","../../../projects/core/pipes/format-phone/format-phone.module.ts"
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-pipes-format-phone.js","sources":["../../../projects/core/pipes/format-phone/format-phone.pipe.ts","../../../projects/core/pipes/format-phone/format-phone.module.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {CHAR_PLUS, tuiAssert} from '@taiga-ui/cdk';\nimport {tuiFormatPhone} from '@taiga-ui/core/utils/format';\n\n@Pipe({name: `tuiFormatPhone`})\nexport class TuiFormatPhonePipe implements PipeTransform {\n /**\n * Formats phone number string of +7XXXXXXXXXX format with adding separator symbols\n * @param value\n * @param countryCode\n * @param phoneMask\n * @return formatted phone number string +7(XXX)XXX-XX-XX\n */\n transform(\n value: string,\n countryCode: string = `${CHAR_PLUS}7`,\n phoneMask: string = `(###) ###-##-##`,\n ): string {\n ngDevMode &&\n tuiAssert.assert(\n value !== undefined,\n `Undefined was passed to tuiFormatPhone pipe`,\n );\n\n return tuiFormatPhone(value, countryCode, phoneMask);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFormatPhonePipe} from './format-phone.pipe';\n\n@NgModule({\n exports: [TuiFormatPhonePipe],\n declarations: [TuiFormatPhonePipe],\n})\nexport class TuiFormatPhonePipeModule {}\n"],"names":[],"mappings":";;;;;MAKa,kBAAkB,CAAA;IAQ3B,SAAS,CACL,KAAa,EACb,WAAA,GAAsB,GAAG,SAAS,CAAA,CAAA,CAAG,EACrC,SAAA,GAAoB,CAAiB,eAAA,CAAA,EAAA;QAErC,SAAS;YACL,SAAS,CAAC,MAAM,CACZ,KAAK,KAAK,SAAS,EACnB,CAA6C,2CAAA,CAAA,CAChD,CAAC;QAEN,OAAO,cAAc,CAAC,KAAK,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC;KACxD;;gHApBQ,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,gBAAA,EAAA,CAAA,CAAA;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAD9B,IAAI;mBAAC,EAAC,IAAI,EAAE,CAAA,cAAA,CAAgB,EAAC,CAAA;;;MCIjB,wBAAwB,CAAA;;sHAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;uHAAxB,wBAAwB,EAAA,YAAA,EAAA,CAFlB,kBAAkB,CAAA,EAAA,OAAA,EAAA,CADvB,kBAAkB,CAAA,EAAA,CAAA,CAAA;uHAGnB,wBAAwB,EAAA,CAAA,CAAA;4FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,kBAAkB,CAAC;oBAC7B,YAAY,EAAE,CAAC,kBAAkB,CAAC;AACrC,iBAAA,CAAA;;;;;"}
|
|
@@ -35,9 +35,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
35
35
|
}]
|
|
36
36
|
}] });
|
|
37
37
|
|
|
38
|
-
/**
|
|
39
|
-
* Generated bundle index. Do not edit.
|
|
40
|
-
*/
|
|
41
|
-
|
|
42
38
|
export { TuiMonthPipe, TuiMonthPipeModule };
|
|
43
39
|
//# sourceMappingURL=taiga-ui-core-pipes-month.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-pipes-month.js","sources":["../../../projects/core/pipes/month/month.pipe.ts","../../../projects/core/pipes/month/month.module.ts"
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-pipes-month.js","sources":["../../../projects/core/pipes/month/month.pipe.ts","../../../projects/core/pipes/month/month.module.ts"],"sourcesContent":["import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {TuiMonth} from '@taiga-ui/cdk';\nimport {TUI_MONTHS} from '@taiga-ui/core/tokens';\nimport {Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n@Pipe({name: `tuiMonth`})\nexport class TuiMonthPipe implements PipeTransform {\n constructor(@Inject(TUI_MONTHS) private readonly months$: Observable<string[]>) {}\n\n transform({month}: TuiMonth): Observable<string> {\n return this.months$.pipe(map(months => months[month]));\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiMonthPipe} from './month.pipe';\n\n@NgModule({\n exports: [TuiMonthPipe],\n declarations: [TuiMonthPipe],\n})\nexport class TuiMonthPipeModule {}\n"],"names":[],"mappings":";;;;;;MAOa,YAAY,CAAA;AACrB,IAAA,WAAA,CAAiD,OAA6B,EAAA;QAA7B,IAAO,CAAA,OAAA,GAAP,OAAO,CAAsB;KAAI;IAElF,SAAS,CAAC,EAAC,KAAK,EAAW,EAAA;AACvB,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KAC1D;;AALQ,YAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,kBACD,UAAU,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;wGADrB,YAAY,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,CAAA;4FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBADxB,IAAI;mBAAC,EAAC,IAAI,EAAE,CAAA,QAAA,CAAU,EAAC,CAAA;;0BAEP,MAAM;2BAAC,UAAU,CAAA;;;MCArB,kBAAkB,CAAA;;gHAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;iHAAlB,kBAAkB,EAAA,YAAA,EAAA,CAFZ,YAAY,CAAA,EAAA,OAAA,EAAA,CADjB,YAAY,CAAA,EAAA,CAAA,CAAA;iHAGb,kBAAkB,EAAA,CAAA,CAAA;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,YAAY,CAAC;AAC/B,iBAAA,CAAA;;;;;"}
|
|
@@ -46,9 +46,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
46
46
|
}]
|
|
47
47
|
}] });
|
|
48
48
|
|
|
49
|
-
/**
|
|
50
|
-
* Generated bundle index. Do not edit.
|
|
51
|
-
*/
|
|
52
|
-
|
|
53
49
|
export { TuiOrderWeekDaysPipe, TuiOrderWeekDaysPipeModule };
|
|
54
50
|
//# sourceMappingURL=taiga-ui-core-pipes-order-week-days.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-pipes-order-week-days.js","sources":["../../../projects/core/pipes/order-week-days/order-week-days.pipe.ts","../../../projects/core/pipes/order-week-days/order-week-days.module.ts"
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-pipes-order-week-days.js","sources":["../../../projects/core/pipes/order-week-days/order-week-days.pipe.ts","../../../projects/core/pipes/order-week-days/order-week-days.module.ts"],"sourcesContent":["import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {TuiInjectionTokenType} from '@taiga-ui/cdk';\nimport {TUI_FIRST_DAY_OF_WEEK} from '@taiga-ui/core/tokens';\nimport {Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\ntype WeekDays<T> = [T, T, T, T, T, T, T];\n\n@Pipe({\n name: `tuiOrderWeekDays`,\n})\nexport class TuiOrderWeekDaysPipe implements PipeTransform {\n constructor(\n @Inject(TUI_FIRST_DAY_OF_WEEK)\n private readonly firstDayOfWeekIndex: TuiInjectionTokenType<\n typeof TUI_FIRST_DAY_OF_WEEK\n >,\n ) {}\n\n transform<T>(mondayFirstWeekDays$: Observable<WeekDays<T>>): Observable<WeekDays<T>> {\n return mondayFirstWeekDays$.pipe(\n map(convertToSundayFirstWeekFormat),\n map(\n weekDays =>\n [\n ...weekDays.slice(this.firstDayOfWeekIndex),\n ...weekDays.slice(0, this.firstDayOfWeekIndex),\n ] as WeekDays<T>,\n ),\n );\n }\n}\n\nfunction convertToSundayFirstWeekFormat<T>(weekDaysNames: WeekDays<T>): WeekDays<T> {\n const sundayIndex = weekDaysNames.length - 1;\n\n return [\n weekDaysNames[sundayIndex],\n ...weekDaysNames.slice(0, sundayIndex),\n ] as WeekDays<T>;\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiOrderWeekDaysPipe} from './order-week-days.pipe';\n\n@NgModule({\n declarations: [TuiOrderWeekDaysPipe],\n exports: [TuiOrderWeekDaysPipe],\n})\nexport class TuiOrderWeekDaysPipeModule {}\n"],"names":[],"mappings":";;;;;MAWa,oBAAoB,CAAA;AAC7B,IAAA,WAAA,CAEqB,mBAEhB,EAAA;QAFgB,IAAmB,CAAA,mBAAA,GAAnB,mBAAmB,CAEnC;KACD;AAEJ,IAAA,SAAS,CAAI,oBAA6C,EAAA;AACtD,QAAA,OAAO,oBAAoB,CAAC,IAAI,CAC5B,GAAG,CAAC,8BAA8B,CAAC,EACnC,GAAG,CACC,QAAQ,IACJ;AACI,YAAA,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC;YAC3C,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,mBAAmB,CAAC;AAClC,SAAA,CACvB,CACJ,CAAC;KACL;;AAnBQ,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,kBAEjB,qBAAqB,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;gHAFxB,oBAAoB,EAAA,IAAA,EAAA,kBAAA,EAAA,CAAA,CAAA;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAHhC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,CAAkB,gBAAA,CAAA;AAC3B,iBAAA,CAAA;;0BAGQ,MAAM;2BAAC,qBAAqB,CAAA;;AAoBrC,SAAS,8BAA8B,CAAI,aAA0B,EAAA;AACjE,IAAA,MAAM,WAAW,GAAG,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC;IAE7C,OAAO;QACH,aAAa,CAAC,WAAW,CAAC;AAC1B,QAAA,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC,EAAE,WAAW,CAAC;KAC1B,CAAC;AACrB;;MChCa,0BAA0B,CAAA;;wHAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;yHAA1B,0BAA0B,EAAA,YAAA,EAAA,CAHpB,oBAAoB,CAAA,EAAA,OAAA,EAAA,CACzB,oBAAoB,CAAA,EAAA,CAAA,CAAA;yHAErB,0BAA0B,EAAA,CAAA,CAAA;4FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAJtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,oBAAoB,CAAC;oBACpC,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAClC,iBAAA,CAAA;;;;;"}
|
|
@@ -5,8 +5,4 @@ export * from '@taiga-ui/core/pipes/format-number';
|
|
|
5
5
|
export * from '@taiga-ui/core/pipes/format-phone';
|
|
6
6
|
export * from '@taiga-ui/core/pipes/month';
|
|
7
7
|
export * from '@taiga-ui/core/pipes/order-week-days';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Generated bundle index. Do not edit.
|
|
11
|
-
*/
|
|
12
8
|
//# sourceMappingURL=taiga-ui-core-pipes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-pipes.js","sources":[
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-pipes.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -31,9 +31,5 @@ function tuiWatchedControllerFactory(controller, cdr, destroy$) {
|
|
|
31
31
|
return controller;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
/**
|
|
35
|
-
* Generated bundle index. Do not edit.
|
|
36
|
-
*/
|
|
37
|
-
|
|
38
34
|
export { MODE_PROVIDER, TUI_IS_MOBILE_RES_PROVIDER, tuiWatchedControllerFactory };
|
|
39
35
|
//# sourceMappingURL=taiga-ui-core-providers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-providers.js","sources":["../../../projects/core/providers/is-mobile-resolution.provider.ts","../../../projects/core/providers/mode.provider.ts","../../../projects/core/providers/watched-controller-provider-factory.ts"
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-providers.js","sources":["../../../projects/core/providers/is-mobile-resolution.provider.ts","../../../projects/core/providers/mode.provider.ts","../../../projects/core/providers/watched-controller-provider-factory.ts"],"sourcesContent":["import {ElementRef, Provider, SkipSelf} from '@angular/core';\nimport {TUI_IS_MOBILE_RES} from '@taiga-ui/core/tokens';\nimport {Observable} from 'rxjs';\n\nexport const TUI_IS_MOBILE_RES_PROVIDER: Provider = {\n provide: TUI_IS_MOBILE_RES,\n deps: [[new SkipSelf(), TUI_IS_MOBILE_RES], ElementRef],\n useFactory: (\n mobile$: Observable<boolean>,\n {nativeElement}: ElementRef,\n ): Observable<boolean> => {\n nativeElement[`$.class._mobile`] = mobile$;\n\n return mobile$;\n },\n};\n","import {ElementRef, Optional, Provider} from '@angular/core';\nimport {TuiModeDirective} from '@taiga-ui/core/directives/mode';\nimport {TUI_MODE} from '@taiga-ui/core/tokens';\nimport {TuiBrightness} from '@taiga-ui/core/types';\nimport {Observable, of} from 'rxjs';\nimport {map, startWith} from 'rxjs/operators';\n\nexport const MODE_PROVIDER: Provider = {\n provide: TUI_MODE,\n deps: [[new Optional(), TuiModeDirective], ElementRef],\n useFactory: (\n mode: TuiModeDirective | null,\n {nativeElement}: ElementRef,\n ): Observable<TuiBrightness | null> => {\n const mode$ = mode\n ? mode.change$.pipe(\n startWith(null),\n map(() => mode.mode),\n )\n : of(null);\n\n nativeElement[`$.data-mode.attr`] = mode$;\n\n return mode$;\n },\n};\n","import {ChangeDetectorRef} from '@angular/core';\nimport {AbstractTuiController, tuiWatch} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\nexport function tuiWatchedControllerFactory(\n controller: AbstractTuiController,\n cdr: ChangeDetectorRef,\n destroy$: Observable<void>,\n): AbstractTuiController {\n controller.change$.pipe(tuiWatch(cdr), takeUntil(destroy$)).subscribe();\n\n return controller;\n}\n"],"names":[],"mappings":";;;;;;;AAIa,MAAA,0BAA0B,GAAa;AAChD,IAAA,OAAO,EAAE,iBAAiB;IAC1B,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,iBAAiB,CAAC,EAAE,UAAU,CAAC;IACvD,UAAU,EAAE,CACR,OAA4B,EAC5B,EAAC,aAAa,EAAa,KACN;AACrB,QAAA,aAAa,CAAC,CAAA,eAAA,CAAiB,CAAC,GAAG,OAAO,CAAC;AAE3C,QAAA,OAAO,OAAO,CAAC;KAClB;;;ACPQ,MAAA,aAAa,GAAa;AACnC,IAAA,OAAO,EAAE,QAAQ;IACjB,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,gBAAgB,CAAC,EAAE,UAAU,CAAC;IACtD,UAAU,EAAE,CACR,IAA6B,EAC7B,EAAC,aAAa,EAAa,KACO;QAClC,MAAM,KAAK,GAAG,IAAI;cACZ,IAAI,CAAC,OAAO,CAAC,IAAI,CACb,SAAS,CAAC,IAAI,CAAC,EACf,GAAG,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,CACvB;AACH,cAAE,EAAE,CAAC,IAAI,CAAC,CAAC;AAEf,QAAA,aAAa,CAAC,CAAA,gBAAA,CAAkB,CAAC,GAAG,KAAK,CAAC;AAE1C,QAAA,OAAO,KAAK,CAAC;KAChB;;;SCnBW,2BAA2B,CACvC,UAAiC,EACjC,GAAsB,EACtB,QAA0B,EAAA;AAE1B,IAAA,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;AAExE,IAAA,OAAO,UAAU,CAAC;AACtB;;;;"}
|