@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,6 +1,2 @@
|
|
|
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
|
-
*/
|
|
6
2
|
export declare const TUI_SVG_CONTENT_PROCESSOR: import("@angular/core").InjectionToken<TuiHandler<TuiSafeHtml, TuiSafeHtml>>;
|
|
@@ -1,6 +1,2 @@
|
|
|
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
|
-
*/
|
|
6
2
|
export declare const TUI_SVG_SRC_PROCESSOR: import("@angular/core").InjectionToken<TuiHandler<TuiSafeHtml, TuiSafeHtml>>;
|
|
@@ -1,7 +1,4 @@
|
|
|
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
|
-
*/
|
|
6
3
|
export declare const TUI_TEXTFIELD_HOST: InjectionToken<TuiTextfieldHost>;
|
|
7
4
|
export declare function tuiAsTextfieldHost(useExisting: Type<TuiTextfieldHost>): Provider;
|
package/tokens/viewport.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { Provider, Type } from '@angular/core';
|
|
2
2
|
import { TuiRectAccessor } from '@taiga-ui/core/abstract';
|
|
3
|
-
/**
|
|
4
|
-
* Viewport accessor
|
|
5
|
-
*/
|
|
6
3
|
export declare const TUI_VIEWPORT: import("@angular/core").InjectionToken<TuiRectAccessor>;
|
|
7
4
|
export declare function tuiAsViewport(useExisting: Type<TuiRectAccessor>): Provider;
|
package/types/size.d.ts
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
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
|
-
*/
|
|
12
1
|
export declare type TuiSizeM = 'm';
|
|
13
2
|
export declare type TuiSizeS = TuiSizeM | 's';
|
|
14
3
|
export declare type TuiSizeL = TuiSizeM | 'l';
|
|
@@ -1,18 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description:
|
|
3
|
-
* Cross-browser @media (height)
|
|
4
|
-
*
|
|
5
|
-
* 1. window.innerWidth
|
|
6
|
-
* 1.1. gets CSS viewport @media (height) which include scrollbars
|
|
7
|
-
* 1.2. initial-scale and zoom variations may cause mobile values to
|
|
8
|
-
* wrongly scale down to what PPK calls the visual
|
|
9
|
-
* viewport and be smaller than the @media values
|
|
10
|
-
* 1.3. zoom may cause values to be 1px off due to native rounding
|
|
11
|
-
*
|
|
12
|
-
* 2. document.documentElement.clientHeight
|
|
13
|
-
* 2.1. equals CSS viewport width minus scrollbar width
|
|
14
|
-
* 2.2. matches @media (height) when there is no scrollbar
|
|
15
|
-
* 2.3. available cross-browser
|
|
16
|
-
* 2.4. inaccurate if doctype is missing
|
|
17
|
-
*/
|
|
18
1
|
export declare function tuiGetViewportHeight({ document, innerHeight }: Window): number;
|
|
@@ -1,18 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description:
|
|
3
|
-
* Cross-browser @media (width)
|
|
4
|
-
*
|
|
5
|
-
* 1. window.innerWidth
|
|
6
|
-
* 1.1. gets CSS viewport @media (width) which include scrollbars
|
|
7
|
-
* 1.2. initial-scale and zoom variations may cause mobile values to
|
|
8
|
-
* wrongly scale down to what PPK calls the visual
|
|
9
|
-
* viewport and be smaller than the @media values
|
|
10
|
-
* 1.3. zoom may cause values to be 1px off due to native rounding
|
|
11
|
-
*
|
|
12
|
-
* 2. document.documentElement.clientWidth
|
|
13
|
-
* 2.1. equals CSS viewport width minus scrollbar width
|
|
14
|
-
* 2.2. matches @media (width) when there is no scrollbar
|
|
15
|
-
* 2.3. available cross-browser
|
|
16
|
-
* 2.4. inaccurate if doctype is missing
|
|
17
|
-
*/
|
|
18
1
|
export declare function tuiGetViewportWidth({ document, innerWidth }: Window): number;
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Capitalizes a given string, replacing it with a lowercase string and making
|
|
3
|
-
* the first letter of each word uppercase.
|
|
4
|
-
*
|
|
5
|
-
* @param value the input string
|
|
6
|
-
* @return the capitalized string
|
|
7
|
-
*/
|
|
8
1
|
export declare function tuiCapitalize(value: string): string;
|
|
@@ -1,10 +1,2 @@
|
|
|
1
1
|
import { TuiNumberFormatSettings } from '@taiga-ui/core/interfaces';
|
|
2
|
-
/**
|
|
3
|
-
* Formats number adding a thousand separators and correct decimal separator
|
|
4
|
-
* padding decimal part with zeroes to given length
|
|
5
|
-
*
|
|
6
|
-
* @param value the input number
|
|
7
|
-
* @param settings See {@link TuiNumberFormatSettings}
|
|
8
|
-
* @return the formatted string
|
|
9
|
-
*/
|
|
10
2
|
export declare function tuiFormatNumber(value: number, settings?: Partial<TuiNumberFormatSettings>): string;
|
|
@@ -1,20 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TODO: delete in v4.0
|
|
3
|
-
* @deprecated Use {@link https://maskito.dev/core-concepts/transformer maskitoTransform} instead<br/>
|
|
4
|
-
* @example
|
|
5
|
-
* import {maskitoTransform} from '@maskito/core';
|
|
6
|
-
*
|
|
7
|
-
* const mask = {
|
|
8
|
-
* mask: ['+', '1', ' ', /\d/, /\d/, /\d/, ')', ' ', /\d/, /\d/, /\d/, '-', /\d/, /\d/, /\d/, /\d/],
|
|
9
|
-
* };
|
|
10
|
-
* maskitoTransform('12125552368', mask); // +1 (212) 555-2368
|
|
11
|
-
* ___
|
|
12
|
-
* Formats a string with the phone format +7XXXXXXXXXXXX or XXXXXXXXXXXX,
|
|
13
|
-
* adding parentheses and hyphens.
|
|
14
|
-
*
|
|
15
|
-
* @param value the input string
|
|
16
|
-
* @param countryCode a country code
|
|
17
|
-
* @param phoneMask a phone number mask
|
|
18
|
-
* @return the formatted phone string of the form +7 XXX XXX-XX-XX
|
|
19
|
-
*/
|
|
20
1
|
export declare function tuiFormatPhone(value: string, countryCode: string, phoneMask: string): string;
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Return fractional part of number
|
|
3
|
-
*
|
|
4
|
-
* @param value the number
|
|
5
|
-
* @param precision number of digits of decimal part, null to keep untouched
|
|
6
|
-
* @return the fractional part of number
|
|
7
|
-
*/
|
|
8
1
|
export declare function tuiGetFractionPartPadded(value: number, precision?: number | null): string;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
import { TuiTextMaskPipeHandler } from '@taiga-ui/core/mask';
|
|
2
2
|
import { TuiDecimalSymbol } from '@taiga-ui/core/types';
|
|
3
|
-
/**
|
|
4
|
-
* TODO: delete in v4.0
|
|
5
|
-
* @deprecated Use {@link https://maskito.dev/kit/number Number} from {@link https://github.com/taiga-family/maskito Maskito} instead <br/>
|
|
6
|
-
* Used to finish a number with zeros to a given precision
|
|
7
|
-
*/
|
|
8
3
|
export declare function tuiCreateAutoCorrectedNumberPipe(decimalLimit?: number, decimalSymbol?: TuiDecimalSymbol, thousandSymbol?: string, nativeInput?: HTMLInputElement | null, allowNegative?: boolean, isIOS?: boolean): TuiTextMaskPipeHandler;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
import { TuiTextMaskCorrectionHandler, TuiTextMaskListHandler } from '@taiga-ui/core/mask';
|
|
2
|
-
/**
|
|
3
|
-
* TODO: delete in v4.0
|
|
4
|
-
* @deprecated Use {@link https://maskito.dev/core-concepts/processors processors} from {@link https://github.com/taiga-family/maskito Maskito}
|
|
5
|
-
*/
|
|
6
2
|
export declare function tuiCreateCorrectionMask(allowed: RegExp, correctionHandler: TuiTextMaskCorrectionHandler): TuiTextMaskListHandler;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
1
|
import { TuiNumberMaskOptions, TuiTextMaskListHandler } from '@taiga-ui/core/mask';
|
|
2
|
-
/**
|
|
3
|
-
* TODO: delete in v4.0
|
|
4
|
-
* @deprecated Use {@link https://maskito.dev/kit/number Number} from {@link https://github.com/taiga-family/maskito Maskito} instead <br/>
|
|
5
|
-
* Adaptation for {@link https://github.com/text-mask/text-mask/tree/master/addons#createnumbermask `createNumberMask`}
|
|
6
|
-
*/
|
|
7
2
|
export declare function tuiCreateNumberMask({ allowDecimal, decimalSymbol, thousandSymbol, autoCorrectDecimalSymbol, decimalLimit, requireDecimal, allowNegative, integerLimit, }?: TuiNumberMaskOptions): TuiTextMaskListHandler;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
import { TuiNumberFormatSettings } from '@taiga-ui/core/interfaces';
|
|
2
|
-
/**
|
|
3
|
-
* TODO: delete in v4.0
|
|
4
|
-
* @deprecated Use {@link https://maskito.dev/kit/number Number} from {@link https://github.com/taiga-family/maskito Maskito} instead
|
|
5
|
-
*/
|
|
6
2
|
export declare function tuiEnableAutoCorrectDecimalSymbol({ thousandSeparator, }: TuiNumberFormatSettings): boolean;
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TODO: delete in v4.0
|
|
3
|
-
* @deprecated use {@link https://maskito.dev/kit/number maskitoParseNumber} instead
|
|
4
|
-
* ```ts
|
|
5
|
-
* Number.isNaN(maskitoParseNumber(value, decimalSeparator))
|
|
6
|
-
* ```
|
|
7
|
-
*/
|
|
8
1
|
export declare function tuiMaskedMoneyValueIsEmpty(value: string): boolean;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
import { TuiDecimalSymbol } from '@taiga-ui/core/types';
|
|
2
|
-
/**
|
|
3
|
-
* TODO: delete in v4.0
|
|
4
|
-
* @deprecated use {@link https://maskito.dev/kit/number maskitoParseNumber} instead
|
|
5
|
-
*/
|
|
6
2
|
export declare function tuiMaskedNumberStringToNumber(value: string, decimalsSymbol: TuiDecimalSymbol, thousandSymbol: string): number;
|
|
@@ -1,8 +1,2 @@
|
|
|
1
1
|
import { TuiSizeXXL, TuiSizeXXS } from '@taiga-ui/core/types';
|
|
2
|
-
/**
|
|
3
|
-
* Compares size constants to determine if first size is bigger than the second
|
|
4
|
-
*
|
|
5
|
-
* @param size size that we need to compare
|
|
6
|
-
* @param biggerThanSize size to compare with, 's' by default
|
|
7
|
-
*/
|
|
8
2
|
export declare function tuiSizeBigger(size: TuiSizeXXL | TuiSizeXXS, biggerThanSize?: TuiSizeXXL | TuiSizeXXS): boolean;
|