@taiga-ui/core 3.51.0 → 3.52.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 +3 -0
- package/animations/taiga-ui-core-animations.d.ts +3 -0
- package/bundles/taiga-ui-core-abstract.umd.js +9 -0
- package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-core-animations.umd.js +4 -0
- package/bundles/taiga-ui-core-animations.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-alert.umd.js +16 -1
- package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.js +7 -0
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js +4 -0
- package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-data-list.umd.js +10 -0
- package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +12 -0
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-error.umd.js +4 -0
- package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.js +5 -0
- package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-group.umd.js +4 -0
- package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.js +8 -0
- package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +6 -0
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-label.umd.js +4 -0
- package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.js +5 -0
- package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.js +10 -1
- package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js +7 -0
- package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +7 -0
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +8 -0
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +4 -0
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +33 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +4 -0
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +7 -1
- package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js +5 -0
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.js +8 -0
- package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-svg.umd.js +9 -0
- package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.js +4 -0
- package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +4 -0
- package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components.umd.js +4 -0
- package/bundles/taiga-ui-core-components.umd.js.map +1 -1
- package/bundles/taiga-ui-core-constants.umd.js +27 -0
- package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +34 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +13 -0
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +7 -0
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mode.umd.js +4 -0
- package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-number-format.umd.js +414 -0
- package/bundles/taiga-ui-core-directives-number-format.umd.js.map +1 -0
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +9 -0
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +11 -0
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-wrapper.umd.js +4 -0
- package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives.umd.js +14 -4
- package/bundles/taiga-ui-core-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-core-enums.umd.js +22 -0
- package/bundles/taiga-ui-core-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-core-interfaces.umd.js +3 -1
- package/bundles/taiga-ui-core-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +4 -0
- 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 +5 -0
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal.umd.js +4 -0
- package/bundles/taiga-ui-core-internal.umd.js.map +1 -1
- package/bundles/taiga-ui-core-mask.umd.js +3 -1
- package/bundles/taiga-ui-core-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-core-observables.umd.js +11 -0
- package/bundles/taiga-ui-core-observables.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +11 -0
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-flag.umd.js +4 -0
- package/bundles/taiga-ui-core-pipes-flag.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-date.umd.js +4 -0
- package/bundles/taiga-ui-core-pipes-format-date.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-number.umd.js +10 -0
- package/bundles/taiga-ui-core-pipes-format-number.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js +11 -0
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-month.umd.js +4 -0
- package/bundles/taiga-ui-core-pipes-month.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-order-week-days.umd.js +4 -0
- package/bundles/taiga-ui-core-pipes-order-week-days.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes.umd.js +4 -0
- package/bundles/taiga-ui-core-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-core-providers.umd.js +7 -0
- package/bundles/taiga-ui-core-providers.umd.js.map +1 -1
- package/bundles/taiga-ui-core-services.umd.js +20 -2
- package/bundles/taiga-ui-core-services.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +129 -0
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-types.umd.js +3 -1
- package/bundles/taiga-ui-core-types.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js +50 -0
- package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +51 -0
- package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +40 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +17 -0
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mobile.umd.js +4 -0
- package/bundles/taiga-ui-core-utils-mobile.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils.umd.js +4 -0
- package/bundles/taiga-ui-core-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-core.umd.js +4 -0
- package/bundles/taiga-ui-core.umd.js.map +1 -1
- package/components/alert/taiga-ui-core-components-alert.d.ts +3 -0
- package/components/button/button.options.d.ts +3 -0
- package/components/button/taiga-ui-core-components-button.d.ts +3 -0
- package/components/calendar/taiga-ui-core-components-calendar.d.ts +3 -0
- package/components/data-list/option/option.component.d.ts +1 -0
- package/components/data-list/taiga-ui-core-components-data-list.d.ts +3 -0
- package/components/dialog/dialog.tokens.d.ts +6 -0
- package/components/dialog/taiga-ui-core-components-dialog.d.ts +3 -0
- package/components/error/taiga-ui-core-components-error.d.ts +3 -0
- package/components/expand/taiga-ui-core-components-expand.d.ts +3 -0
- package/components/group/taiga-ui-core-components-group.d.ts +3 -0
- package/components/hints-host/taiga-ui-core-components-hints-host.d.ts +3 -0
- package/components/hosted-dropdown/hosted-dropdown.component.d.ts +1 -0
- package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.d.ts +3 -0
- package/components/label/taiga-ui-core-components-label.d.ts +3 -0
- package/components/link/taiga-ui-core-components-link.d.ts +3 -0
- package/components/loader/loader.options.d.ts +4 -0
- package/components/loader/taiga-ui-core-components-loader.d.ts +3 -0
- package/components/notification/notification.component.d.ts +3 -0
- package/components/notification/taiga-ui-core-components-notification.d.ts +3 -0
- package/components/primitive-calendar/primitive-calendar.component.d.ts +3 -0
- package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.d.ts +3 -0
- package/components/primitive-checkbox/checkbox.options.d.ts +4 -0
- package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.d.ts +3 -0
- package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.d.ts +3 -0
- package/components/primitive-textfield/primitive-textfield-options.d.ts +16 -0
- package/components/primitive-textfield/primitive-textfield.component.d.ts +7 -0
- package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.d.ts +3 -0
- package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.d.ts +3 -0
- package/components/root/taiga-ui-core-components-root.d.ts +3 -0
- package/components/scroll-controls/scroll-controls.module.d.ts +1 -0
- package/components/scroll-controls/taiga-ui-core-components-scroll-controls.d.ts +3 -0
- package/components/scrollbar/scroll-ref.directive.d.ts +2 -0
- package/components/scrollbar/taiga-ui-core-components-scrollbar.d.ts +3 -0
- package/components/svg/svg-options.d.ts +3 -0
- package/components/svg/taiga-ui-core-components-svg.d.ts +3 -0
- package/components/taiga-ui-core-components.d.ts +3 -0
- package/components/theme-night/taiga-ui-core-components-theme-night.d.ts +3 -0
- package/components/tooltip/taiga-ui-core-components-tooltip.d.ts +3 -0
- package/constants/cache-basting-payload.d.ts +1 -1
- package/constants/decimal-symbols.d.ts +4 -0
- package/constants/events.d.ts +14 -0
- package/constants/mask-caret-trap.d.ts +4 -0
- package/constants/taiga-ui-core-constants.d.ts +3 -0
- package/directives/dropdown/dropdown-hover.options.d.ts +4 -0
- package/directives/dropdown/dropdown-options.directive.d.ts +4 -0
- package/directives/dropdown/dropdown-selection.directive.d.ts +9 -0
- package/directives/dropdown/dropdown.component.d.ts +5 -0
- package/directives/dropdown/dropdown.providers.d.ts +3 -0
- package/directives/dropdown/taiga-ui-core-directives-dropdown.d.ts +3 -0
- package/directives/hint/hint-options.directive.d.ts +4 -0
- package/directives/hint/hint.providers.d.ts +3 -0
- package/directives/hint/taiga-ui-core-directives-hint.d.ts +3 -0
- package/directives/index.d.ts +1 -0
- package/directives/mask-accessor/mask-accessor.module.d.ts +3 -0
- package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.d.ts +3 -0
- package/directives/mode/taiga-ui-core-directives-mode.d.ts +3 -0
- package/directives/number-format/index.d.ts +2 -0
- package/directives/number-format/number-format.directive.d.ts +10 -0
- package/directives/number-format/number-format.module.d.ts +7 -0
- package/directives/number-format/package.json +10 -0
- package/directives/number-format/taiga-ui-core-directives-number-format.d.ts +5 -0
- package/directives/scroll-into-view/scroll-into-view.directive.d.ts +3 -0
- package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.d.ts +3 -0
- package/directives/taiga-ui-core-directives.d.ts +3 -0
- package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.d.ts +3 -0
- package/directives/textfield-controller/textfield.options.d.ts +7 -0
- package/directives/wrapper/taiga-ui-core-directives-wrapper.d.ts +3 -0
- package/enums/dropdown-animation.d.ts +1 -0
- package/enums/interactive-state.d.ts +3 -0
- package/enums/notification.d.ts +3 -0
- package/enums/range-state.d.ts +3 -0
- package/enums/taiga-ui-core-enums.d.ts +3 -0
- package/esm2015/abstract/driver.js +2 -1
- package/esm2015/abstract/position-accessor.js +2 -1
- package/esm2015/abstract/rect-accessor.js +3 -1
- package/esm2015/abstract/taiga-ui-core-abstract.js +4 -1
- package/esm2015/abstract/vehicle.js +2 -1
- package/esm2015/animations/taiga-ui-core-animations.js +4 -1
- package/esm2015/components/alert/alert.component.js +13 -2
- package/esm2015/components/alert/taiga-ui-core-components-alert.js +4 -1
- package/esm2015/components/button/button.options.js +4 -1
- package/esm2015/components/button/taiga-ui-core-components-button.js +4 -1
- package/esm2015/components/calendar/taiga-ui-core-components-calendar.js +4 -1
- package/esm2015/components/data-list/data-list.component.js +3 -1
- package/esm2015/components/data-list/option/option.component.js +5 -1
- package/esm2015/components/data-list/taiga-ui-core-components-data-list.js +4 -1
- package/esm2015/components/dialog/dialog.component.js +3 -1
- package/esm2015/components/dialog/dialog.tokens.js +7 -1
- package/esm2015/components/dialog/taiga-ui-core-components-dialog.js +4 -1
- package/esm2015/components/error/taiga-ui-core-components-error.js +4 -1
- package/esm2015/components/expand/expand.component.js +2 -1
- package/esm2015/components/expand/taiga-ui-core-components-expand.js +4 -1
- package/esm2015/components/group/taiga-ui-core-components-group.js +4 -1
- package/esm2015/components/hints-host/hints-host.component.js +5 -1
- package/esm2015/components/hints-host/taiga-ui-core-components-hints-host.js +4 -1
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +3 -1
- package/esm2015/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js +4 -1
- package/esm2015/components/label/taiga-ui-core-components-label.js +4 -1
- package/esm2015/components/link/link.component.js +2 -1
- package/esm2015/components/link/taiga-ui-core-components-link.js +4 -1
- package/esm2015/components/loader/loader.component.js +3 -2
- package/esm2015/components/loader/loader.options.js +5 -1
- package/esm2015/components/loader/taiga-ui-core-components-loader.js +4 -1
- package/esm2015/components/notification/notification.component.js +4 -1
- package/esm2015/components/notification/taiga-ui-core-components-notification.js +4 -1
- package/esm2015/components/primitive-calendar/primitive-calendar.component.js +4 -1
- package/esm2015/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js +4 -1
- package/esm2015/components/primitive-checkbox/checkbox.options.js +5 -1
- package/esm2015/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js +4 -1
- package/esm2015/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js +4 -1
- package/esm2015/components/primitive-textfield/primitive-textfield-options.js +13 -1
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +9 -1
- package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +6 -1
- package/esm2015/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js +4 -1
- package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +3 -1
- package/esm2015/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js +4 -1
- package/esm2015/components/root/root.component.js +4 -2
- package/esm2015/components/root/taiga-ui-core-components-root.js +4 -1
- package/esm2015/components/scroll-controls/scroll-controls.module.js +2 -1
- package/esm2015/components/scroll-controls/taiga-ui-core-components-scroll-controls.js +4 -1
- package/esm2015/components/scrollbar/scroll-ref.directive.js +3 -1
- package/esm2015/components/scrollbar/scrollbar.component.js +3 -1
- package/esm2015/components/scrollbar/taiga-ui-core-components-scrollbar.js +4 -1
- package/esm2015/components/svg/svg-options.js +4 -1
- package/esm2015/components/svg/svg.component.js +3 -1
- package/esm2015/components/svg/taiga-ui-core-components-svg.js +4 -1
- package/esm2015/components/taiga-ui-core-components.js +4 -1
- package/esm2015/components/theme-night/taiga-ui-core-components-theme-night.js +4 -1
- package/esm2015/components/tooltip/taiga-ui-core-components-tooltip.js +4 -1
- package/esm2015/constants/decimal-symbols.js +5 -1
- package/esm2015/constants/default-number-format.js +2 -1
- package/esm2015/constants/events.js +15 -1
- package/esm2015/constants/mask-caret-trap.js +5 -1
- package/esm2015/constants/taiga-ui-core-constants.js +4 -1
- package/esm2015/directives/dropdown/dropdown-driver.directive.js +2 -1
- package/esm2015/directives/dropdown/dropdown-hover.options.js +5 -1
- package/esm2015/directives/dropdown/dropdown-options.directive.js +5 -1
- package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +2 -2
- package/esm2015/directives/dropdown/dropdown-selection.directive.js +10 -1
- package/esm2015/directives/dropdown/dropdown.component.js +8 -1
- package/esm2015/directives/dropdown/dropdown.directive.js +2 -1
- package/esm2015/directives/dropdown/dropdown.providers.js +4 -1
- package/esm2015/directives/dropdown/taiga-ui-core-directives-dropdown.js +4 -1
- package/esm2015/directives/hint/hint-driver.directive.js +2 -1
- package/esm2015/directives/hint/hint-hover.directive.js +2 -1
- package/esm2015/directives/hint/hint-options.directive.js +5 -1
- package/esm2015/directives/hint/hint-position.directive.js +2 -1
- package/esm2015/directives/hint/hint.directive.js +2 -1
- package/esm2015/directives/hint/hint.providers.js +5 -1
- package/esm2015/directives/hint/taiga-ui-core-directives-hint.js +4 -1
- package/esm2015/directives/index.js +2 -1
- package/esm2015/directives/mask-accessor/mask-accessor.module.js +4 -1
- package/esm2015/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js +4 -1
- package/esm2015/directives/mode/taiga-ui-core-directives-mode.js +4 -1
- package/esm2015/directives/number-format/index.js +3 -0
- package/esm2015/directives/number-format/number-format.directive.js +38 -0
- package/esm2015/directives/number-format/number-format.module.js +16 -0
- package/esm2015/directives/number-format/taiga-ui-core-directives-number-format.js +5 -0
- package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +6 -1
- package/esm2015/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js +4 -1
- package/esm2015/directives/taiga-ui-core-directives.js +4 -1
- package/esm2015/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js +4 -1
- package/esm2015/directives/textfield-controller/textfield-appearance.directive.js +4 -1
- package/esm2015/directives/textfield-controller/textfield.options.js +5 -1
- package/esm2015/directives/wrapper/taiga-ui-core-directives-wrapper.js +4 -1
- package/esm2015/enums/appearance.js +3 -1
- package/esm2015/enums/dropdown-animation.js +3 -1
- package/esm2015/enums/interactive-state.js +6 -1
- package/esm2015/enums/notification.js +5 -1
- package/esm2015/enums/range-state.js +6 -1
- package/esm2015/enums/taiga-ui-core-enums.js +4 -1
- package/esm2015/interfaces/number-format-settings.js +1 -1
- package/esm2015/interfaces/taiga-ui-core-interfaces.js +4 -1
- package/esm2015/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js +4 -1
- package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +2 -1
- package/esm2015/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js +4 -1
- package/esm2015/internal/taiga-ui-core-internal.js +4 -1
- package/esm2015/mask/taiga-ui-core-mask.js +4 -1
- package/esm2015/observables/taiga-ui-core-observables.js +4 -1
- package/esm2015/observables/zoneful-map.js +8 -1
- package/esm2015/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js +4 -1
- package/esm2015/pipes/calendar-sheet/utils.js +8 -1
- package/esm2015/pipes/flag/taiga-ui-core-pipes-flag.js +4 -1
- package/esm2015/pipes/format-date/taiga-ui-core-pipes-format-date.js +4 -1
- package/esm2015/pipes/format-number/format-number.pipe.js +7 -1
- package/esm2015/pipes/format-number/taiga-ui-core-pipes-format-number.js +4 -1
- package/esm2015/pipes/format-phone/format-phone.pipe.js +8 -1
- package/esm2015/pipes/format-phone/taiga-ui-core-pipes-format-phone.js +4 -1
- package/esm2015/pipes/month/taiga-ui-core-pipes-month.js +4 -1
- package/esm2015/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.js +4 -1
- package/esm2015/pipes/taiga-ui-core-pipes.js +4 -1
- package/esm2015/providers/is-mobile-resolution.provider.js +4 -1
- package/esm2015/providers/taiga-ui-core-providers.js +4 -1
- package/esm2015/services/breakpoint.service.js +4 -1
- package/esm2015/services/hint.service.js +4 -1
- package/esm2015/services/position.service.js +4 -2
- package/esm2015/services/router-link-active.service.js +4 -2
- package/esm2015/services/svg.service.js +4 -1
- package/esm2015/services/taiga-ui-core-services.js +4 -1
- package/esm2015/services/visual-viewport.service.js +2 -1
- package/esm2015/taiga-ui-core.js +4 -1
- package/esm2015/tokens/animation-options.js +4 -1
- package/esm2015/tokens/animations-duration.js +4 -1
- package/esm2015/tokens/assert-enabled.js +8 -1
- package/esm2015/tokens/data-list-accessor.js +4 -1
- package/esm2015/tokens/data-list-host.js +4 -1
- package/esm2015/tokens/day-type-handler.js +4 -1
- package/esm2015/tokens/element-ref.js +4 -1
- package/esm2015/tokens/first-day-of-week.js +4 -1
- package/esm2015/tokens/i18n.js +19 -1
- package/esm2015/tokens/icon-place.js +5 -1
- package/esm2015/tokens/icons-path.js +5 -1
- package/esm2015/tokens/icons.js +4 -1
- package/esm2015/tokens/index.js +2 -1
- package/esm2015/tokens/is-mobile-resolution.js +6 -1
- package/esm2015/tokens/legacy-mask.js +6 -1
- package/esm2015/tokens/media.js +4 -1
- package/esm2015/tokens/mode.js +4 -1
- package/esm2015/tokens/notification-options.js +6 -1
- package/esm2015/tokens/number-format-observable.js +8 -0
- package/esm2015/tokens/number-format.js +4 -1
- package/esm2015/tokens/option-content.js +4 -1
- package/esm2015/tokens/ordered-short-week-days.js +8 -1
- package/esm2015/tokens/sanitizer.js +4 -1
- package/esm2015/tokens/scroll-ref.js +4 -1
- package/esm2015/tokens/selection-stream.js +4 -1
- package/esm2015/tokens/svg-content-processor.js +5 -1
- package/esm2015/tokens/svg-src-processor.js +5 -1
- package/esm2015/tokens/taiga-ui-core-tokens.js +4 -1
- package/esm2015/tokens/textfield-appearance.js +6 -1
- package/esm2015/tokens/textfield-host.js +4 -1
- package/esm2015/tokens/value-accessor.js +4 -1
- package/esm2015/tokens/viewport.js +4 -1
- package/esm2015/types/size.js +12 -1
- package/esm2015/types/taiga-ui-core-types.js +4 -1
- package/esm2015/utils/dom/get-safe-area-size.js +6 -1
- package/esm2015/utils/dom/get-viewport-height.js +18 -1
- package/esm2015/utils/dom/get-viewport-width.js +18 -1
- package/esm2015/utils/dom/get-word-range.js +8 -1
- package/esm2015/utils/dom/taiga-ui-core-utils-dom.js +4 -1
- package/esm2015/utils/format/capitalize.js +8 -1
- package/esm2015/utils/format/format-number.js +9 -1
- package/esm2015/utils/format/format-phone.js +20 -1
- package/esm2015/utils/format/get-fractional-part-padded.js +8 -1
- package/esm2015/utils/format/number-to-string-without-exp.js +7 -1
- package/esm2015/utils/format/taiga-ui-core-utils-format.js +4 -1
- package/esm2015/utils/mask/create-auto-corrected-money-pipe.js +9 -1
- package/esm2015/utils/mask/create-correction-mask.js +5 -1
- package/esm2015/utils/mask/create-number-mask.js +10 -2
- package/esm2015/utils/mask/enable-auto-correct-decimal-symbol.js +5 -1
- package/esm2015/utils/mask/masked-money-value-is-empty.js +8 -1
- package/esm2015/utils/mask/masked-number-string-to-number.js +5 -1
- package/esm2015/utils/mask/taiga-ui-core-utils-mask.js +4 -1
- package/esm2015/utils/miscellaneous/is-editing-key.js +4 -1
- package/esm2015/utils/miscellaneous/is-obscured.js +4 -1
- package/esm2015/utils/miscellaneous/override-options.js +2 -1
- package/esm2015/utils/miscellaneous/size-bigger.js +7 -1
- package/esm2015/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js +4 -1
- package/esm2015/utils/mobile/taiga-ui-core-utils-mobile.js +4 -1
- package/esm2015/utils/taiga-ui-core-utils.js +4 -1
- package/fesm2015/taiga-ui-core-abstract.js +9 -0
- package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-core-animations.js +4 -0
- package/fesm2015/taiga-ui-core-animations.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-alert.js +16 -1
- package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-button.js +7 -0
- package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-calendar.js +4 -0
- package/fesm2015/taiga-ui-core-components-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-data-list.js +10 -0
- package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +12 -0
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-error.js +4 -0
- package/fesm2015/taiga-ui-core-components-error.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-expand.js +5 -0
- package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-group.js +4 -0
- package/fesm2015/taiga-ui-core-components-group.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hints-host.js +8 -0
- package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +6 -0
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-label.js +4 -0
- package/fesm2015/taiga-ui-core-components-label.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-link.js +5 -0
- package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-loader.js +10 -1
- package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js +7 -0
- package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js +7 -0
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +8 -0
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +4 -0
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +31 -0
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +4 -0
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +7 -1
- package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scroll-controls.js +5 -0
- package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scrollbar.js +8 -0
- package/fesm2015/taiga-ui-core-components-scrollbar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-svg.js +9 -0
- package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-theme-night.js +4 -0
- package/fesm2015/taiga-ui-core-components-theme-night.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js +4 -0
- package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm2015/taiga-ui-core-components.js +4 -0
- package/fesm2015/taiga-ui-core-components.js.map +1 -1
- package/fesm2015/taiga-ui-core-constants.js +27 -0
- package/fesm2015/taiga-ui-core-constants.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +34 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +14 -0
- package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js +7 -0
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mode.js +4 -0
- package/fesm2015/taiga-ui-core-directives-mode.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-number-format.js +58 -0
- package/fesm2015/taiga-ui-core-directives-number-format.js.map +1 -0
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +9 -0
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js +11 -0
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-wrapper.js +4 -0
- package/fesm2015/taiga-ui-core-directives-wrapper.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives.js +5 -0
- package/fesm2015/taiga-ui-core-directives.js.map +1 -1
- package/fesm2015/taiga-ui-core-enums.js +22 -0
- package/fesm2015/taiga-ui-core-enums.js.map +1 -1
- package/fesm2015/taiga-ui-core-interfaces.js +3 -1
- package/fesm2015/taiga-ui-core-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +4 -0
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +5 -0
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal.js +4 -0
- package/fesm2015/taiga-ui-core-internal.js.map +1 -1
- package/fesm2015/taiga-ui-core-mask.js +3 -1
- package/fesm2015/taiga-ui-core-mask.js.map +1 -1
- package/fesm2015/taiga-ui-core-observables.js +11 -0
- package/fesm2015/taiga-ui-core-observables.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +11 -0
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-flag.js +4 -0
- package/fesm2015/taiga-ui-core-pipes-flag.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-date.js +4 -0
- package/fesm2015/taiga-ui-core-pipes-format-date.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-number.js +10 -0
- package/fesm2015/taiga-ui-core-pipes-format-number.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-phone.js +11 -0
- package/fesm2015/taiga-ui-core-pipes-format-phone.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-month.js +4 -0
- package/fesm2015/taiga-ui-core-pipes-month.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-order-week-days.js +4 -0
- package/fesm2015/taiga-ui-core-pipes-order-week-days.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes.js +4 -0
- package/fesm2015/taiga-ui-core-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-core-providers.js +7 -0
- package/fesm2015/taiga-ui-core-providers.js.map +1 -1
- package/fesm2015/taiga-ui-core-services.js +20 -2
- package/fesm2015/taiga-ui-core-services.js.map +1 -1
- package/fesm2015/taiga-ui-core-tokens.js +133 -2
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-core-types.js +14 -0
- package/fesm2015/taiga-ui-core-types.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-dom.js +50 -0
- package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-format.js +51 -0
- package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mask.js +40 -1
- package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js +17 -0
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mobile.js +4 -0
- package/fesm2015/taiga-ui-core-utils-mobile.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils.js +4 -0
- package/fesm2015/taiga-ui-core-utils.js.map +1 -1
- package/fesm2015/taiga-ui-core.js +4 -0
- package/fesm2015/taiga-ui-core.js.map +1 -1
- package/interfaces/alert-options.d.ts +2 -0
- package/interfaces/dialog-options.d.ts +11 -0
- package/interfaces/number-format-settings.d.ts +26 -1
- package/interfaces/taiga-ui-core-interfaces.d.ts +3 -0
- package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.d.ts +3 -0
- package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.d.ts +3 -0
- package/internal/taiga-ui-core-internal.d.ts +3 -0
- package/mask/taiga-ui-core-mask.d.ts +3 -0
- package/mask/text-mask-config.d.ts +5 -0
- package/mask/text-mask-correction-handler.d.ts +3 -0
- package/mask/text-mask-list-handler.d.ts +3 -0
- package/mask/text-mask-list.d.ts +4 -0
- package/mask/text-mask-options.d.ts +22 -0
- package/mask/text-mask-pipe-handler.d.ts +4 -0
- package/mask/text-mask-pipe-result.d.ts +4 -0
- package/observables/taiga-ui-core-observables.d.ts +3 -0
- package/observables/zoneful-map.d.ts +7 -0
- package/package.json +4 -4
- package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.d.ts +3 -0
- package/pipes/calendar-sheet/utils.d.ts +13 -0
- package/pipes/flag/taiga-ui-core-pipes-flag.d.ts +3 -0
- package/pipes/format-date/taiga-ui-core-pipes-format-date.d.ts +3 -0
- package/pipes/format-number/format-number.pipe.d.ts +6 -0
- package/pipes/format-number/taiga-ui-core-pipes-format-number.d.ts +3 -0
- package/pipes/format-phone/format-phone.pipe.d.ts +7 -0
- package/pipes/format-phone/taiga-ui-core-pipes-format-phone.d.ts +3 -0
- package/pipes/month/taiga-ui-core-pipes-month.d.ts +3 -0
- package/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.d.ts +3 -0
- package/pipes/taiga-ui-core-pipes.d.ts +3 -0
- package/providers/is-mobile-resolution.provider.d.ts +3 -0
- package/providers/taiga-ui-core-providers.d.ts +3 -0
- package/services/breakpoint.service.d.ts +3 -0
- package/services/hint.service.d.ts +3 -0
- package/services/svg.service.d.ts +3 -0
- package/services/taiga-ui-core-services.d.ts +3 -0
- package/styles/theme/variables.less +1 -0
- package/taiga-ui-core.d.ts +3 -0
- package/tokens/animation-options.d.ts +3 -0
- package/tokens/animations-duration.d.ts +3 -0
- package/tokens/assert-enabled.d.ts +7 -0
- package/tokens/data-list-accessor.d.ts +3 -0
- package/tokens/data-list-host.d.ts +3 -0
- package/tokens/day-type-handler.d.ts +3 -0
- package/tokens/element-ref.d.ts +3 -0
- package/tokens/first-day-of-week.d.ts +3 -0
- package/tokens/i18n.d.ts +18 -0
- package/tokens/icon-place.d.ts +4 -0
- package/tokens/icons-path.d.ts +4 -0
- package/tokens/icons.d.ts +3 -0
- package/tokens/index.d.ts +1 -0
- package/tokens/is-mobile-resolution.d.ts +5 -0
- package/tokens/legacy-mask.d.ts +5 -0
- package/tokens/media.d.ts +3 -0
- package/tokens/mode.d.ts +3 -0
- package/tokens/notification-options.d.ts +5 -0
- package/tokens/number-format-observable.d.ts +11 -0
- package/tokens/number-format.d.ts +3 -0
- package/tokens/option-content.d.ts +3 -0
- package/tokens/ordered-short-week-days.d.ts +7 -0
- package/tokens/sanitizer.d.ts +3 -0
- package/tokens/scroll-ref.d.ts +3 -0
- package/tokens/selection-stream.d.ts +3 -0
- package/tokens/svg-content-processor.d.ts +4 -0
- package/tokens/svg-src-processor.d.ts +4 -0
- package/tokens/taiga-ui-core-tokens.d.ts +3 -0
- package/tokens/textfield-appearance.d.ts +5 -0
- package/tokens/textfield-host.d.ts +3 -0
- package/tokens/value-accessor.d.ts +3 -0
- package/tokens/viewport.d.ts +3 -0
- package/types/size.d.ts +11 -0
- package/types/taiga-ui-core-types.d.ts +3 -0
- package/utils/dom/get-safe-area-size.d.ts +5 -0
- package/utils/dom/get-viewport-height.d.ts +17 -0
- package/utils/dom/get-viewport-width.d.ts +17 -0
- package/utils/dom/get-word-range.d.ts +6 -0
- package/utils/dom/taiga-ui-core-utils-dom.d.ts +3 -0
- package/utils/format/capitalize.d.ts +7 -0
- package/utils/format/format-number.d.ts +8 -0
- package/utils/format/format-phone.d.ts +19 -0
- package/utils/format/get-fractional-part-padded.d.ts +7 -0
- package/utils/format/number-to-string-without-exp.d.ts +6 -0
- package/utils/format/taiga-ui-core-utils-format.d.ts +3 -0
- package/utils/mask/create-auto-corrected-money-pipe.d.ts +5 -0
- package/utils/mask/create-correction-mask.d.ts +4 -0
- package/utils/mask/create-number-mask.d.ts +5 -0
- package/utils/mask/enable-auto-correct-decimal-symbol.d.ts +4 -0
- package/utils/mask/masked-money-value-is-empty.d.ts +7 -0
- package/utils/mask/masked-number-string-to-number.d.ts +4 -0
- package/utils/mask/taiga-ui-core-utils-mask.d.ts +3 -0
- package/utils/miscellaneous/is-editing-key.d.ts +3 -0
- package/utils/miscellaneous/is-obscured.d.ts +3 -0
- package/utils/miscellaneous/size-bigger.d.ts +6 -0
- package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.d.ts +3 -0
- package/utils/mobile/taiga-ui-core-utils-mobile.d.ts +3 -0
- package/utils/taiga-ui-core-utils.d.ts +3 -0
package/mask/text-mask-list.d.ts
CHANGED
|
@@ -1,11 +1,33 @@
|
|
|
1
1
|
import type { TuiTextMaskList } from './text-mask-list';
|
|
2
2
|
import type { TuiTextMaskListHandler } from './text-mask-list-handler';
|
|
3
3
|
import type { TuiTextMaskPipeHandler } from './text-mask-pipe-handler';
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use {@link https://github.com/taiga-family/maskito Maskito}
|
|
6
|
+
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md}
|
|
7
|
+
*/
|
|
4
8
|
export interface TuiTextMaskOptions {
|
|
9
|
+
/**
|
|
10
|
+
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#guide}
|
|
11
|
+
*/
|
|
5
12
|
guide?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#keepcharpositions}
|
|
15
|
+
*/
|
|
6
16
|
keepCharPositions?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#mask}
|
|
19
|
+
*/
|
|
7
20
|
mask: TuiTextMaskList | TuiTextMaskListHandler | false;
|
|
21
|
+
/**
|
|
22
|
+
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#pipe}
|
|
23
|
+
*/
|
|
8
24
|
pipe?: TuiTextMaskPipeHandler;
|
|
25
|
+
/**
|
|
26
|
+
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#placeholderchar}
|
|
27
|
+
*/
|
|
9
28
|
placeholderChar?: string;
|
|
29
|
+
/**
|
|
30
|
+
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#showmask}
|
|
31
|
+
*/
|
|
10
32
|
showMask?: boolean;
|
|
11
33
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type { TuiTextMaskConfig } from './text-mask-config';
|
|
2
2
|
import type { TuiTextMaskOptions } from './text-mask-options';
|
|
3
3
|
import type { TuiTextMaskPipeResult } from './text-mask-pipe-result';
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use {@link https://github.com/taiga-family/maskito Maskito}
|
|
6
|
+
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#pipe}
|
|
7
|
+
*/
|
|
4
8
|
export declare type TuiTextMaskPipeHandler = (conformedValue: string, config: TuiTextMaskConfig & TuiTextMaskOptions) => TuiTextMaskPipeResult | string | false;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Use {@link https://github.com/taiga-family/maskito Maskito}
|
|
3
|
+
* {@link https://github.com/text-mask/text-mask/blob/master/componentDocumentation.md#pipe}
|
|
4
|
+
*/
|
|
1
5
|
export interface TuiTextMaskPipeResult {
|
|
2
6
|
indexesOfPipedChars?: readonly number[];
|
|
3
7
|
value: string;
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
import { NgZone } from '@angular/core';
|
|
2
2
|
import { OperatorFunction } 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
|
+
*/
|
|
3
10
|
export declare function tuiZonefulMap<T, R>(project: (value: T, index: number) => R, zone: NgZone): OperatorFunction<T, R>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.52.0",
|
|
4
4
|
"description": "Core library for creating Angular components and applications using Taiga UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"repository": "https://github.com/taiga-family/taiga-ui",
|
|
16
16
|
"license": "Apache-2.0",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@taiga-ui/i18n": "^3.
|
|
18
|
+
"@taiga-ui/i18n": "^3.52.0",
|
|
19
19
|
"tslib": ">=2.0.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"@angular/router": ">=12.0.0",
|
|
28
28
|
"@ng-web-apis/common": ">=3.0.0",
|
|
29
29
|
"@ng-web-apis/mutation-observer": ">=3.0.0",
|
|
30
|
-
"@taiga-ui/cdk": ">=3.
|
|
31
|
-
"@taiga-ui/i18n": ">=3.
|
|
30
|
+
"@taiga-ui/cdk": ">=3.52.0",
|
|
31
|
+
"@taiga-ui/i18n": ">=3.52.0",
|
|
32
32
|
"@tinkoff/ng-event-plugins": ">=3.1.0",
|
|
33
33
|
"@tinkoff/ng-polymorpheus": ">=4.0.0",
|
|
34
34
|
"rxjs": ">=6.0.0"
|
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
import { TuiDay, TuiDayOfWeek, TuiMonth } from '@taiga-ui/cdk';
|
|
2
|
+
/**
|
|
3
|
+
* Calculated day on a calendar grid
|
|
4
|
+
* @return resulting day on these coordinates (could exceed passed month)
|
|
5
|
+
*/
|
|
2
6
|
export declare const getDayFromMonthRowCol: ({ month, rowIndex, colIndex, firstDayOfWeek, }: {
|
|
7
|
+
/**
|
|
8
|
+
* column in a calendar
|
|
9
|
+
*/
|
|
3
10
|
colIndex: number;
|
|
11
|
+
/**
|
|
12
|
+
* first day of the week index (Sunday - 0, Saturday - 6)
|
|
13
|
+
*/
|
|
4
14
|
firstDayOfWeek: TuiDayOfWeek;
|
|
5
15
|
month: TuiMonth;
|
|
16
|
+
/**
|
|
17
|
+
* row in a calendar
|
|
18
|
+
*/
|
|
6
19
|
rowIndex: number;
|
|
7
20
|
}) => TuiDay;
|
|
@@ -4,6 +4,12 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class TuiFormatNumberPipe implements PipeTransform {
|
|
5
5
|
private readonly numberFormat;
|
|
6
6
|
constructor(numberFormat: TuiNumberFormatSettings);
|
|
7
|
+
/**
|
|
8
|
+
* Formats number adding thousand separators and correct decimal separator
|
|
9
|
+
* padding decimal part with zeroes to given length
|
|
10
|
+
* @param value number
|
|
11
|
+
* @param settings See {@link TuiNumberFormatSettings}
|
|
12
|
+
*/
|
|
7
13
|
transform(value: number, settings?: Partial<TuiNumberFormatSettings>): string;
|
|
8
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiFormatNumberPipe, never>;
|
|
9
15
|
static ɵpipe: i0.ɵɵPipeDeclaration<TuiFormatNumberPipe, "tuiFormatNumber">;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiFormatPhonePipe implements PipeTransform {
|
|
4
|
+
/**
|
|
5
|
+
* Formats phone number string of +7XXXXXXXXXX format with adding separator symbols
|
|
6
|
+
* @param value
|
|
7
|
+
* @param countryCode
|
|
8
|
+
* @param phoneMask
|
|
9
|
+
* @return formatted phone number string +7(XXX)XXX-XX-XX
|
|
10
|
+
*/
|
|
4
11
|
transform(value: string, countryCode?: string, phoneMask?: string): string;
|
|
5
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiFormatPhonePipe, never>;
|
|
6
13
|
static ɵpipe: i0.ɵɵPipeDeclaration<TuiFormatPhonePipe, "tuiFormatPhone">;
|
|
@@ -3,6 +3,9 @@ import { TuiMedia } from '@taiga-ui/core/interfaces';
|
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare type TuiBreakpointMediaKey = keyof Omit<TuiMedia, 'tablet'>;
|
|
6
|
+
/**
|
|
7
|
+
* Service to provide the current breakpoint based on Taiga UI's media queries
|
|
8
|
+
*/
|
|
6
9
|
export declare class TuiBreakpointService extends Observable<TuiBreakpointMediaKey | null> {
|
|
7
10
|
private readonly media;
|
|
8
11
|
private readonly ngZone;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { TuiPortalItem } from '@taiga-ui/core/interfaces';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Service for displaying hints/tooltips
|
|
6
|
+
*/
|
|
4
7
|
export declare class TuiHintService extends BehaviorSubject<readonly TuiPortalItem[]> {
|
|
5
8
|
constructor();
|
|
6
9
|
add(directive: TuiPortalItem): void;
|
|
@@ -2,6 +2,9 @@ import { Sanitizer } from '@angular/core';
|
|
|
2
2
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Service for reusing SVGs without inlining each instance
|
|
7
|
+
*/
|
|
5
8
|
export declare class TuiSvgService {
|
|
6
9
|
private readonly tuiSanitizer;
|
|
7
10
|
private readonly sanitizer;
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
--tui-font-text-s: normal 0.8125rem/1.25rem var(--tui-font-text);
|
|
22
22
|
--tui-font-text-s-2: normal 0.8125rem/1rem var(--tui-font-text);
|
|
23
23
|
--tui-font-text-xs: normal 0.6875rem/1rem var(--tui-font-text);
|
|
24
|
+
--tui-font-text-xs-2: normal 0.6875rem/0.8125rem var(--tui-font-text);
|
|
24
25
|
// Sizes
|
|
25
26
|
--tui-radius-xs: 0.25rem;
|
|
26
27
|
--tui-radius-s: 0.5rem;
|
package/taiga-ui-core.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { InjectionToken, Provider, Type } from '@angular/core';
|
|
2
2
|
import { TuiDataListAccessor } from '@taiga-ui/core/interfaces';
|
|
3
|
+
/**
|
|
4
|
+
* Accessor for data-list options
|
|
5
|
+
*/
|
|
3
6
|
export declare const TUI_DATA_LIST_ACCESSOR: InjectionToken<TuiDataListAccessor<unknown>>;
|
|
4
7
|
export declare function tuiAsDataListAccessor(useExisting: Type<TuiDataListAccessor>): Provider;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { InjectionToken, Provider, Type } from '@angular/core';
|
|
2
2
|
import { TuiDataListHost } from '@taiga-ui/core/interfaces';
|
|
3
|
+
/**
|
|
4
|
+
* DataList controller
|
|
5
|
+
*/
|
|
3
6
|
export declare const TUI_DATA_LIST_HOST: InjectionToken<TuiDataListHost<unknown>>;
|
|
4
7
|
export declare function tuiAsDataListHost(useExisting: Type<TuiDataListHost<unknown>>): Provider;
|
package/tokens/element-ref.d.ts
CHANGED
package/tokens/i18n.d.ts
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Localized months names
|
|
3
|
+
*/
|
|
1
4
|
export declare const TUI_MONTHS: import("@angular/core").InjectionToken<import("rxjs").Observable<[string, string, string, string, string, string, string, string, string, string, string, string]>>;
|
|
5
|
+
/**
|
|
6
|
+
* i18n 'close' word
|
|
7
|
+
*/
|
|
2
8
|
export declare const TUI_CLOSE_WORD: import("@angular/core").InjectionToken<import("rxjs").Observable<string>>;
|
|
9
|
+
/**
|
|
10
|
+
* i18n 'Nothing found' message
|
|
11
|
+
*/
|
|
3
12
|
export declare const TUI_NOTHING_FOUND_MESSAGE: import("@angular/core").InjectionToken<import("rxjs").Observable<string>>;
|
|
13
|
+
/**
|
|
14
|
+
* i18n of error message
|
|
15
|
+
*/
|
|
4
16
|
export declare const TUI_DEFAULT_ERROR_MESSAGE: import("@angular/core").InjectionToken<import("rxjs").Observable<string>>;
|
|
17
|
+
/**
|
|
18
|
+
* spin i18n texts
|
|
19
|
+
*/
|
|
5
20
|
export declare const TUI_SPIN_TEXTS: import("@angular/core").InjectionToken<import("rxjs").Observable<[string, string]>>;
|
|
21
|
+
/**
|
|
22
|
+
* calendars i18n texts
|
|
23
|
+
*/
|
|
6
24
|
export declare const TUI_SHORT_WEEK_DAYS: import("@angular/core").InjectionToken<import("rxjs").Observable<[string, string, string, string, string, string, string]>>;
|
package/tokens/icon-place.d.ts
CHANGED
package/tokens/icons-path.d.ts
CHANGED
package/tokens/icons.d.ts
CHANGED
package/tokens/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from './media';
|
|
|
18
18
|
export * from './mode';
|
|
19
19
|
export * from './notification-options';
|
|
20
20
|
export * from './number-format';
|
|
21
|
+
export * from './number-format-observable';
|
|
21
22
|
export * from './option-content';
|
|
22
23
|
export * from './ordered-short-week-days';
|
|
23
24
|
export * from './reduced-motion';
|
|
@@ -1 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated use {@link https://taiga-ui.dev/services/breakpoint-service TuiBreakpointService}
|
|
3
|
+
* TODO: drop in v4.0
|
|
4
|
+
* Mobile resolution stream for private providers
|
|
5
|
+
*/
|
|
1
6
|
export declare const TUI_IS_MOBILE_RES: import("@angular/core").InjectionToken<import("rxjs").Observable<boolean>>;
|
package/tokens/legacy-mask.d.ts
CHANGED
package/tokens/media.d.ts
CHANGED
package/tokens/mode.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { TuiBrightness } from '@taiga-ui/core/types';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
+
/**
|
|
5
|
+
* Mode stream for private providers
|
|
6
|
+
*/
|
|
4
7
|
export declare const TUI_MODE: InjectionToken<Observable<TuiBrightness | null>>;
|
|
@@ -4,6 +4,7 @@ import { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
|
4
4
|
export interface TuiNotificationDefaultOptions extends Omit<TuiAlertOptions<unknown>, 'data'> {
|
|
5
5
|
size: TuiSizeL | TuiSizeS;
|
|
6
6
|
}
|
|
7
|
+
/** @deprecated remove export */
|
|
7
8
|
export declare const STATUS_ICON: {
|
|
8
9
|
readonly info: "tuiIconInfo";
|
|
9
10
|
readonly success: "tuiIconCheckCircle";
|
|
@@ -11,6 +12,10 @@ export declare const STATUS_ICON: {
|
|
|
11
12
|
readonly warning: "tuiIconAlertCircle";
|
|
12
13
|
readonly neutral: "tuiIconInfo";
|
|
13
14
|
};
|
|
15
|
+
/** Default values for the notification options. */
|
|
14
16
|
export declare const TUI_NOTIFICATION_DEFAULT_OPTIONS: TuiNotificationDefaultOptions;
|
|
17
|
+
/**
|
|
18
|
+
* Default parameters for notification alert component
|
|
19
|
+
*/
|
|
15
20
|
export declare const TUI_NOTIFICATION_OPTIONS: import("@angular/core").InjectionToken<TuiNotificationDefaultOptions>;
|
|
16
21
|
export declare function tuiNotificationOptionsProvider(options: Partial<TuiNotificationDefaultOptions>): Provider;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Formatting configuration for displayed numbers
|
|
3
|
+
*/
|
|
4
|
+
export declare const TUI_NUMBER_FORMAT_OBSERVABLE: import("@angular/core").InjectionToken<import("rxjs").Observable<{
|
|
5
|
+
decimalLimit: number;
|
|
6
|
+
decimalSeparator: import("@taiga-ui/core/types").TuiDecimalSymbol;
|
|
7
|
+
rounding: import("@taiga-ui/cdk").TuiRounding;
|
|
8
|
+
thousandSeparator: string;
|
|
9
|
+
zeroPadding: boolean;
|
|
10
|
+
decimal?: import("@taiga-ui/core/types").TuiDecimal | undefined;
|
|
11
|
+
}>>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Provider } from '@angular/core';
|
|
2
2
|
import { TuiNumberFormatSettings } from '@taiga-ui/core/interfaces';
|
|
3
|
+
/**
|
|
4
|
+
* Formatting configuration for displayed numbers
|
|
5
|
+
*/
|
|
3
6
|
export declare const TUI_NUMBER_FORMAT: import("@angular/core").InjectionToken<TuiNumberFormatSettings>;
|
|
4
7
|
export declare function tuiNumberFormatProvider(options: Partial<TuiNumberFormatSettings>): Provider;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { InjectionToken, Provider, TemplateRef } from '@angular/core';
|
|
2
2
|
import { TuiContextWithImplicit } from '@taiga-ui/cdk';
|
|
3
3
|
import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
|
|
4
|
+
/**
|
|
5
|
+
* Content for tuiOption component
|
|
6
|
+
*/
|
|
4
7
|
export declare const TUI_OPTION_CONTENT: InjectionToken<PolymorpheusContent<TuiContextWithImplicit<TemplateRef<Record<string, unknown>>>>>;
|
|
5
8
|
export declare function tuiAsOptionContent(useValue: PolymorpheusContent<TuiContextWithImplicit<TemplateRef<Record<string, unknown>>>>): Provider;
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated
|
|
3
|
+
*/
|
|
1
4
|
export declare type WEEK_DAYS_NAMES = [string, string, string, string, string, string, string];
|
|
5
|
+
/**
|
|
6
|
+
* Ordered calendars i18n texts
|
|
7
|
+
* @deprecated
|
|
8
|
+
*/
|
|
2
9
|
export declare const TUI_ORDERED_SHORT_WEEK_DAYS: import("@angular/core").InjectionToken<import("rxjs").Observable<WEEK_DAYS_NAMES>>;
|
package/tokens/sanitizer.d.ts
CHANGED
package/tokens/scroll-ref.d.ts
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import { TuiHandler, TuiSafeHtml } from '@taiga-ui/cdk';
|
|
2
|
+
/**
|
|
3
|
+
* Transform function the contents of the loaded svg file
|
|
4
|
+
* @deprecated Use {@link TUI_SVG_OPTIONS} instead
|
|
5
|
+
*/
|
|
2
6
|
export declare const TUI_SVG_CONTENT_PROCESSOR: import("@angular/core").InjectionToken<TuiHandler<TuiSafeHtml, TuiSafeHtml>>;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import { TuiHandler, TuiSafeHtml } from '@taiga-ui/cdk';
|
|
2
|
+
/**
|
|
3
|
+
* Source path processor for svg
|
|
4
|
+
* @deprecated Use {@link TUI_SVG_OPTIONS} instead
|
|
5
|
+
*/
|
|
2
6
|
export declare const TUI_SVG_SRC_PROCESSOR: import("@angular/core").InjectionToken<TuiHandler<TuiSafeHtml, TuiSafeHtml>>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { InjectionToken, Provider, Type } from '@angular/core';
|
|
2
2
|
import { TuiTextfieldHost } from '@taiga-ui/core/interfaces';
|
|
3
|
+
/**
|
|
4
|
+
* An interface to communicate with textfield based controls
|
|
5
|
+
*/
|
|
3
6
|
export declare const TUI_TEXTFIELD_HOST: InjectionToken<TuiTextfieldHost>;
|
|
4
7
|
export declare function tuiAsTextfieldHost(useExisting: Type<TuiTextfieldHost>): Provider;
|
package/tokens/viewport.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Provider, Type } from '@angular/core';
|
|
2
2
|
import { TuiRectAccessor } from '@taiga-ui/core/abstract';
|
|
3
|
+
/**
|
|
4
|
+
* Viewport accessor
|
|
5
|
+
*/
|
|
3
6
|
export declare const TUI_VIEWPORT: import("@angular/core").InjectionToken<TuiRectAccessor>;
|
|
4
7
|
export declare function tuiAsViewport(useExisting: Type<TuiRectAccessor>): Provider;
|
package/types/size.d.ts
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Various sizes for components
|
|
3
|
+
*
|
|
4
|
+
* 'xxs' - extra extra small
|
|
5
|
+
* 'xs' - extra small
|
|
6
|
+
* 's' - small
|
|
7
|
+
* 'm' - medium (typically default)
|
|
8
|
+
* 'l' - large
|
|
9
|
+
* 'xl' - extra large
|
|
10
|
+
* 'xxl' - extra extra large
|
|
11
|
+
*/
|
|
1
12
|
export declare type TuiSizeM = 'm';
|
|
2
13
|
export declare type TuiSizeS = TuiSizeM | 's';
|
|
3
14
|
export declare type TuiSizeL = TuiSizeM | 'l';
|