@taiga-ui/core 2.54.0 → 3.0.0-rc.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/abstract-dropdown.d.ts +7 -4
- package/abstract/abstract-hint-options.d.ts +2 -2
- package/abstract/abstract-hint.d.ts +3 -0
- package/abstract/abstract-textfield-host.d.ts +3 -0
- package/abstract/package.json +2 -5
- package/abstract/taiga-ui-core-abstract.d.ts +1 -0
- package/animations/package.json +2 -5
- package/animations/taiga-ui-core-animations.d.ts +1 -0
- package/bundles/taiga-ui-core-abstract.umd.js +453 -335
- package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-core-animations.umd.js +145 -141
- package/bundles/taiga-ui-core-animations.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-alert.umd.js +448 -347
- package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.js +499 -371
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js +471 -339
- package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-data-list.umd.js +629 -472
- package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +487 -350
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.js +497 -365
- package/bundles/taiga-ui-core-components-dropdown-box.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-error.umd.js +401 -284
- package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.js +435 -315
- package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-group.umd.js +443 -339
- package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.js +515 -382
- package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +491 -354
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-label.umd.js +404 -288
- package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.js +459 -326
- package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.js +428 -309
- package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js +416 -296
- package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +457 -326
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +429 -306
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +438 -310
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +796 -638
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +439 -314
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +446 -305
- package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js +533 -392
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.js +457 -325
- package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-svg.umd.js +454 -332
- package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.js +373 -264
- package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +439 -314
- package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components.umd.js +55 -107
- package/bundles/taiga-ui-core-components.umd.js.map +1 -1
- package/bundles/taiga-ui-core-constants.umd.js +27 -34
- package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-described-by.umd.js +399 -287
- package/bundles/taiga-ui-core-directives-described-by.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown-controller.umd.js +425 -304
- package/bundles/taiga-ui-core-directives-dropdown-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +411 -290
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint-controller.umd.js +423 -304
- package/bundles/taiga-ui-core-directives-hint-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +451 -323
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-manual-hint.umd.js +404 -285
- package/bundles/taiga-ui-core-directives-manual-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +58 -269
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mode.umd.js +375 -266
- package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.js +414 -298
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +392 -282
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +753 -470
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-wrapper.umd.js +101 -325
- package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives.umd.js +29 -69
- package/bundles/taiga-ui-core-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-core-enums.umd.js +11 -104
- package/bundles/taiga-ui-core-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-core-interfaces.umd.js +2 -2
- package/bundles/taiga-ui-core-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +423 -298
- 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 +69 -279
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal.umd.js +7 -11
- package/bundles/taiga-ui-core-internal.umd.js.map +1 -1
- package/bundles/taiga-ui-core-mask.umd.js +2 -2
- package/bundles/taiga-ui-core-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-core-observables.umd.js +12 -10
- package/bundles/taiga-ui-core-observables.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +50 -267
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-number.umd.js +46 -263
- package/bundles/taiga-ui-core-pipes-format-number.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js +43 -261
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-month.umd.js +49 -265
- package/bundles/taiga-ui-core-pipes-month.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes.umd.js +13 -29
- package/bundles/taiga-ui-core-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-core-providers.umd.js +10 -12
- package/bundles/taiga-ui-core-providers.umd.js.map +1 -1
- package/bundles/taiga-ui-core-services.umd.js +432 -308
- package/bundles/taiga-ui-core-services.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +382 -302
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-types.umd.js +2 -2
- package/bundles/taiga-ui-core-types.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js +24 -32
- package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +350 -311
- package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +368 -286
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +12 -26
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mobile.umd.js +7 -3
- package/bundles/taiga-ui-core-utils-mobile.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-polyfills.umd.js +11 -7
- package/bundles/taiga-ui-core-utils-polyfills.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils.umd.js +15 -27
- package/bundles/taiga-ui-core-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-core.umd.js +49 -57
- package/bundles/taiga-ui-core.umd.js.map +1 -1
- package/components/alert/alert.component.d.ts +3 -0
- package/components/alert/alert.module.d.ts +8 -3
- package/components/alert/alert.service.d.ts +7 -13
- package/components/alert/package.json +2 -5
- package/components/alert/taiga-ui-core-components-alert.d.ts +1 -0
- package/components/button/button.component.d.ts +6 -5
- package/components/button/button.module.d.ts +10 -0
- package/components/button/package.json +2 -5
- package/components/button/taiga-ui-core-components-button.d.ts +1 -0
- package/components/calendar/calendar.component.d.ts +3 -0
- package/components/calendar/calendar.module.d.ts +11 -0
- package/components/calendar/package.json +2 -5
- package/components/calendar/taiga-ui-core-components-calendar.d.ts +1 -0
- package/components/data-list/data-list-dropdown-manager.directive.d.ts +3 -0
- package/components/data-list/data-list.component.d.ts +4 -1
- package/components/data-list/data-list.directive.d.ts +3 -0
- package/components/data-list/data-list.module.d.ts +12 -0
- package/components/data-list/opt-group.directive.d.ts +3 -0
- package/components/data-list/option/option.component.d.ts +3 -0
- package/components/data-list/package.json +2 -5
- package/components/data-list/taiga-ui-core-components-data-list.d.ts +1 -0
- package/components/dialog/dialog.component.d.ts +3 -0
- package/components/dialog/dialog.directive.d.ts +3 -0
- package/components/dialog/dialog.module.d.ts +10 -0
- package/components/dialog/dialog.service.d.ts +4 -1
- package/components/dialog/package.json +2 -5
- package/components/dialog/taiga-ui-core-components-dialog.d.ts +1 -0
- package/components/dropdown-box/dropdown-box.component.d.ts +5 -2
- package/components/dropdown-box/dropdown-box.module.d.ts +9 -0
- package/components/dropdown-box/package.json +2 -5
- package/components/dropdown-box/taiga-ui-core-components-dropdown-box.d.ts +1 -0
- package/components/error/error.component.d.ts +3 -0
- package/components/error/error.module.d.ts +7 -0
- package/components/error/package.json +2 -5
- package/components/error/taiga-ui-core-components-error.d.ts +1 -0
- package/components/expand/expand-content.directive.d.ts +3 -0
- package/components/expand/expand.component.d.ts +3 -0
- package/components/expand/expand.module.d.ts +8 -0
- package/components/expand/package.json +2 -5
- package/components/expand/taiga-ui-core-components-expand.d.ts +1 -0
- package/components/group/group-styles.component.d.ts +3 -0
- package/components/group/group.directive.d.ts +5 -2
- package/components/group/group.module.d.ts +7 -0
- package/components/group/index.d.ts +0 -1
- package/components/group/package.json +2 -5
- package/components/group/taiga-ui-core-components-group.d.ts +1 -0
- package/components/hints-host/hint-box/hint-box.component.d.ts +5 -2
- package/components/hints-host/hint-box/hint-box.module.d.ts +8 -0
- package/components/hints-host/hints-host.component.d.ts +4 -1
- package/components/hints-host/hints-host.module.d.ts +9 -0
- package/components/hints-host/package.json +2 -5
- package/components/hints-host/taiga-ui-core-components-hints-host.d.ts +1 -0
- package/components/hosted-dropdown/hosted-dropdown-connector.directive.d.ts +3 -0
- package/components/hosted-dropdown/hosted-dropdown.component.d.ts +3 -0
- package/components/hosted-dropdown/hosted-dropdown.module.d.ts +10 -0
- package/components/hosted-dropdown/package.json +2 -5
- package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.d.ts +1 -0
- package/components/label/label.component.d.ts +4 -1
- package/components/label/label.module.d.ts +6 -0
- package/components/label/package.json +2 -5
- package/components/label/taiga-ui-core-components-label.d.ts +1 -0
- package/components/link/link.component.d.ts +3 -0
- package/components/link/link.module.d.ts +7 -0
- package/components/link/package.json +2 -5
- package/components/link/taiga-ui-core-components-link.d.ts +1 -0
- package/components/loader/loader.component.d.ts +4 -1
- package/components/loader/loader.module.d.ts +7 -0
- package/components/loader/package.json +2 -5
- package/components/loader/taiga-ui-core-components-loader.d.ts +1 -0
- package/components/notification/notification.component.d.ts +3 -0
- package/components/notification/notification.module.d.ts +8 -0
- package/components/notification/package.json +2 -5
- package/components/notification/taiga-ui-core-components-notification.d.ts +1 -0
- package/components/package.json +2 -5
- package/components/primitive-calendar/package.json +2 -5
- package/components/primitive-calendar/primitive-calendar.component.d.ts +4 -1
- package/components/primitive-calendar/primitive-calendar.module.d.ts +8 -0
- package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.d.ts +1 -0
- package/components/primitive-checkbox/checkbox-options.d.ts +0 -5
- package/components/primitive-checkbox/package.json +2 -5
- package/components/primitive-checkbox/primitive-checkbox.component.d.ts +5 -2
- package/components/primitive-checkbox/primitive-checkbox.module.d.ts +8 -0
- package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.d.ts +1 -0
- package/components/primitive-spin-button/package.json +2 -5
- package/components/primitive-spin-button/primitive-spin-button.component.d.ts +3 -0
- package/components/primitive-spin-button/primitive-spin-button.module.d.ts +8 -0
- package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.d.ts +1 -0
- package/components/primitive-textfield/package.json +2 -5
- package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -3
- package/components/primitive-textfield/primitive-textfield-types.d.ts +10 -0
- package/components/primitive-textfield/primitive-textfield.component.d.ts +8 -12
- package/components/primitive-textfield/primitive-textfield.directive.d.ts +3 -0
- package/components/primitive-textfield/primitive-textfield.module.d.ts +17 -0
- package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.d.ts +1 -0
- package/components/primitive-textfield/textfield/textfield.component.d.ts +3 -0
- package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +5 -2
- package/components/primitive-year-picker/package.json +2 -5
- package/components/primitive-year-picker/primitive-year-picker.component.d.ts +3 -0
- package/components/primitive-year-picker/primitive-year-picker.module.d.ts +7 -0
- package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.d.ts +1 -0
- package/components/root/package.json +2 -5
- package/components/root/root.component.d.ts +3 -0
- package/components/root/root.module.d.ts +11 -0
- package/components/root/taiga-ui-core-components-root.d.ts +1 -0
- package/components/scroll-controls/package.json +2 -5
- package/components/scroll-controls/scroll-controls.component.d.ts +3 -0
- package/components/scroll-controls/scroll-controls.module.d.ts +9 -0
- package/components/scroll-controls/scrollbar-wrapper.directive.d.ts +3 -0
- package/components/scroll-controls/scrollbar.directive.d.ts +5 -2
- package/components/scroll-controls/taiga-ui-core-components-scroll-controls.d.ts +1 -1
- package/components/scrollbar/package.json +2 -5
- package/components/scrollbar/scroll-ref.directive.d.ts +3 -0
- package/components/scrollbar/scrollable.directive.d.ts +3 -0
- package/components/scrollbar/scrollbar.component.d.ts +3 -0
- package/components/scrollbar/scrollbar.module.d.ts +9 -0
- package/components/scrollbar/taiga-ui-core-components-scrollbar.d.ts +1 -0
- package/components/svg/package.json +2 -5
- package/components/svg/svg.component.d.ts +3 -0
- package/components/svg/svg.module.d.ts +7 -0
- package/components/svg/taiga-ui-core-components-svg.d.ts +1 -0
- package/components/taiga-ui-core-components.d.ts +1 -0
- package/components/theme-night/package.json +2 -5
- package/components/theme-night/taiga-ui-core-components-theme-night.d.ts +1 -0
- package/components/theme-night/theme-night.component.d.ts +3 -0
- package/components/theme-night/theme-night.module.d.ts +5 -0
- package/components/tooltip/package.json +2 -5
- package/components/tooltip/taiga-ui-core-components-tooltip.d.ts +1 -0
- package/components/tooltip/tooltip.component.d.ts +5 -2
- package/components/tooltip/tooltip.module.d.ts +9 -0
- package/constants/described-by.d.ts +1 -0
- package/constants/index.d.ts +1 -1
- package/constants/package.json +2 -5
- package/constants/taiga-ui-core-constants.d.ts +1 -0
- package/constants/version.d.ts +1 -1
- package/directives/described-by/described-by.directive.d.ts +3 -1
- package/directives/described-by/described-by.module.d.ts +5 -0
- package/directives/described-by/package.json +2 -5
- package/directives/described-by/taiga-ui-core-directives-described-by.d.ts +1 -0
- package/directives/dropdown/dropdown.directive.d.ts +5 -2
- package/directives/dropdown/dropdown.module.d.ts +6 -0
- package/directives/dropdown/package.json +2 -5
- package/directives/dropdown/taiga-ui-core-directives-dropdown.d.ts +1 -0
- package/directives/dropdown-controller/dropdown-controller.directive.d.ts +7 -4
- package/directives/dropdown-controller/dropdown-controller.module.d.ts +5 -0
- package/directives/dropdown-controller/dropdown-controller.provider.d.ts +0 -2
- package/directives/dropdown-controller/package.json +2 -5
- package/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.d.ts +1 -0
- package/directives/hint/hint-options.d.ts +0 -1
- package/directives/hint/hint.directive.d.ts +4 -1
- package/directives/hint/hint.module.d.ts +5 -0
- package/directives/hint/package.json +2 -5
- package/directives/hint/taiga-ui-core-directives-hint.d.ts +1 -0
- package/directives/hint-controller/hint-controller.directive.d.ts +6 -3
- package/directives/hint-controller/hint-controller.module.d.ts +5 -0
- package/directives/hint-controller/hint-controller.provider.d.ts +0 -2
- package/directives/hint-controller/package.json +2 -5
- package/directives/hint-controller/taiga-ui-core-directives-hint-controller.d.ts +1 -0
- package/directives/index.d.ts +0 -2
- package/directives/manual-hint/manual-hint.directive.d.ts +3 -0
- package/directives/manual-hint/manual-hint.module.d.ts +5 -0
- package/directives/manual-hint/package.json +2 -5
- package/directives/manual-hint/taiga-ui-core-directives-manual-hint.d.ts +1 -0
- package/directives/mask-accessor/mask-accessor.directive.d.ts +3 -0
- package/directives/mask-accessor/mask-accessor.module.d.ts +5 -0
- package/directives/mask-accessor/package.json +2 -5
- package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.d.ts +1 -0
- package/directives/mode/mode.directive.d.ts +5 -2
- package/directives/mode/mode.module.d.ts +5 -0
- package/directives/mode/package.json +2 -5
- package/directives/mode/taiga-ui-core-directives-mode.d.ts +1 -0
- package/directives/package.json +2 -5
- package/directives/pointer-hint/package.json +2 -5
- package/directives/pointer-hint/pointer-hint.directive.d.ts +4 -1
- package/directives/pointer-hint/pointer-hint.module.d.ts +5 -0
- package/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.d.ts +1 -0
- package/directives/scroll-into-view/package.json +2 -5
- package/directives/scroll-into-view/scroll-into-view.directive.d.ts +4 -2
- package/directives/scroll-into-view/scroll-into-view.module.d.ts +5 -0
- package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.d.ts +1 -0
- package/directives/taiga-ui-core-directives.d.ts +1 -0
- package/directives/textfield-controller/index.d.ts +2 -0
- package/directives/textfield-controller/package.json +2 -5
- package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.d.ts +1 -0
- package/directives/textfield-controller/textfield-autocomplete.directive.d.ts +5 -2
- package/directives/textfield-controller/textfield-cleaner.directive.d.ts +5 -2
- package/directives/textfield-controller/textfield-controller.module.d.ts +15 -0
- package/directives/textfield-controller/textfield-controller.provider.d.ts +15 -1
- package/directives/textfield-controller/textfield-custom-content.directive.d.ts +6 -3
- package/directives/textfield-controller/textfield-example-text.directive.d.ts +5 -2
- package/directives/textfield-controller/textfield-icon-left.directive.d.ts +12 -0
- package/directives/textfield-controller/textfield-icon.directive.d.ts +12 -0
- package/directives/textfield-controller/textfield-input-mode.directive.d.ts +6 -3
- package/directives/textfield-controller/textfield-label-outside.directive.d.ts +5 -2
- package/directives/textfield-controller/textfield-max-length.directive.d.ts +5 -2
- package/directives/textfield-controller/textfield-size.directive.d.ts +5 -2
- package/directives/textfield-controller/textfield-type.directive.d.ts +6 -3
- package/directives/textfield-controller/textfield.controller.d.ts +10 -4
- package/directives/wrapper/package.json +2 -5
- package/directives/wrapper/taiga-ui-core-directives-wrapper.d.ts +1 -0
- package/directives/wrapper/wrapper.directive.d.ts +6 -3
- package/directives/wrapper/wrapper.module.d.ts +5 -0
- package/enums/index.d.ts +0 -8
- package/enums/interactive-state.d.ts +2 -2
- package/enums/package.json +2 -5
- package/enums/taiga-ui-core-enums.d.ts +1 -0
- package/esm2015/abstract/abstract-dropdown.js +39 -27
- package/esm2015/abstract/abstract-hint-options.js +2 -2
- package/esm2015/abstract/abstract-hint.js +20 -19
- package/esm2015/abstract/abstract-textfield-host.js +12 -12
- package/esm2015/abstract/index.js +1 -1
- package/esm2015/abstract/taiga-ui-core-abstract.js +1 -1
- package/esm2015/animations/animations.js +140 -140
- package/esm2015/animations/index.js +1 -1
- package/esm2015/animations/taiga-ui-core-animations.js +1 -1
- package/esm2015/components/alert/alert.component.js +53 -39
- package/esm2015/components/alert/alert.module.js +29 -27
- package/esm2015/components/alert/alert.service.js +16 -36
- package/esm2015/components/alert/index.js +1 -1
- package/esm2015/components/alert/taiga-ui-core-components-alert.js +1 -1
- package/esm2015/components/button/button-options.js +3 -3
- package/esm2015/components/button/button.component.js +93 -84
- package/esm2015/components/button/button.module.js +26 -13
- package/esm2015/components/button/index.js +1 -1
- package/esm2015/components/button/taiga-ui-core-components-button.js +1 -1
- package/esm2015/components/calendar/calendar.component.js +49 -33
- package/esm2015/components/calendar/calendar.module.js +28 -13
- package/esm2015/components/calendar/index.js +1 -1
- package/esm2015/components/calendar/taiga-ui-core-components-calendar.js +1 -1
- package/esm2015/components/data-list/data-list-dropdown-manager.directive.js +25 -22
- package/esm2015/components/data-list/data-list.component.js +74 -57
- package/esm2015/components/data-list/data-list.directive.js +12 -10
- package/esm2015/components/data-list/data-list.module.js +35 -24
- package/esm2015/components/data-list/index.js +1 -1
- package/esm2015/components/data-list/opt-group.directive.js +21 -15
- package/esm2015/components/data-list/option/option.component.js +81 -56
- package/esm2015/components/data-list/taiga-ui-core-components-data-list.js +1 -1
- package/esm2015/components/dialog/dialog.component.js +55 -44
- package/esm2015/components/dialog/dialog.directive.js +25 -18
- package/esm2015/components/dialog/dialog.module.js +29 -20
- package/esm2015/components/dialog/dialog.providers.js +7 -7
- package/esm2015/components/dialog/dialog.service.js +14 -15
- package/esm2015/components/dialog/index.js +1 -1
- package/esm2015/components/dialog/taiga-ui-core-components-dialog.js +1 -1
- package/esm2015/components/dropdown-box/dropdown-box.component.js +107 -93
- package/esm2015/components/dropdown-box/dropdown-box.module.js +27 -14
- package/esm2015/components/dropdown-box/index.js +1 -1
- package/esm2015/components/dropdown-box/taiga-ui-core-components-dropdown-box.js +1 -1
- package/esm2015/components/error/error.component.js +36 -28
- package/esm2015/components/error/error.module.js +15 -12
- package/esm2015/components/error/index.js +1 -1
- package/esm2015/components/error/taiga-ui-core-components-error.js +1 -1
- package/esm2015/components/expand/expand-content.directive.js +12 -10
- package/esm2015/components/expand/expand.component.js +55 -46
- package/esm2015/components/expand/expand.module.js +15 -12
- package/esm2015/components/expand/index.js +1 -1
- package/esm2015/components/expand/taiga-ui-core-components-expand.js +1 -1
- package/esm2015/components/group/group-styles.component.js +14 -12
- package/esm2015/components/group/group.directive.js +54 -40
- package/esm2015/components/group/group.module.js +16 -14
- package/esm2015/components/group/index.js +1 -2
- package/esm2015/components/group/taiga-ui-core-components-group.js +1 -1
- package/esm2015/components/hints-host/hint-box/hint-box.component.js +111 -95
- package/esm2015/components/hints-host/hint-box/hint-box.module.js +16 -13
- package/esm2015/components/hints-host/hints-host.component.js +29 -24
- package/esm2015/components/hints-host/hints-host.module.js +15 -12
- package/esm2015/components/hints-host/index.js +1 -1
- package/esm2015/components/hints-host/taiga-ui-core-components-hints-host.js +1 -1
- package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +12 -10
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +86 -69
- package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +26 -13
- package/esm2015/components/hosted-dropdown/index.js +1 -1
- package/esm2015/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js +1 -1
- package/esm2015/components/index.js +1 -1
- package/esm2015/components/label/index.js +1 -1
- package/esm2015/components/label/label.component.js +36 -29
- package/esm2015/components/label/label.module.js +15 -12
- package/esm2015/components/label/taiga-ui-core-components-label.js +1 -1
- package/esm2015/components/link/index.js +1 -1
- package/esm2015/components/link/link.component.js +79 -53
- package/esm2015/components/link/link.module.js +15 -12
- package/esm2015/components/link/taiga-ui-core-components-link.js +1 -1
- package/esm2015/components/loader/index.js +1 -1
- package/esm2015/components/loader/loader-options.js +3 -3
- package/esm2015/components/loader/loader.component.js +46 -35
- package/esm2015/components/loader/loader.module.js +15 -12
- package/esm2015/components/loader/taiga-ui-core-components-loader.js +1 -1
- package/esm2015/components/notification/index.js +1 -1
- package/esm2015/components/notification/notification.component.js +45 -34
- package/esm2015/components/notification/notification.module.js +15 -12
- package/esm2015/components/notification/taiga-ui-core-components-notification.js +1 -1
- package/esm2015/components/primitive-calendar/index.js +1 -1
- package/esm2015/components/primitive-calendar/primitive-calendar.component.js +46 -37
- package/esm2015/components/primitive-calendar/primitive-calendar.module.js +30 -15
- package/esm2015/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js +1 -1
- package/esm2015/components/primitive-checkbox/checkbox-options.js +5 -5
- package/esm2015/components/primitive-checkbox/index.js +1 -1
- package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +40 -25
- package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +15 -12
- package/esm2015/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js +1 -1
- package/esm2015/components/primitive-spin-button/index.js +1 -1
- package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +40 -33
- package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +28 -13
- package/esm2015/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js +1 -1
- package/esm2015/components/primitive-textfield/index.js +1 -1
- package/esm2015/components/primitive-textfield/primitive-textfield-options.js +3 -6
- package/esm2015/components/primitive-textfield/primitive-textfield-types.js +2 -0
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +131 -123
- package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +27 -21
- package/esm2015/components/primitive-textfield/primitive-textfield.module.js +53 -24
- package/esm2015/components/primitive-textfield/primitive-textfield.providers.js +1 -1
- package/esm2015/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js +1 -1
- package/esm2015/components/primitive-textfield/textfield/textfield.component.js +59 -48
- package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +41 -38
- package/esm2015/components/primitive-year-picker/index.js +1 -1
- package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +36 -27
- package/esm2015/components/primitive-year-picker/primitive-year-picker.module.js +26 -13
- package/esm2015/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js +1 -1
- package/esm2015/components/root/index.js +1 -1
- package/esm2015/components/root/root.component.js +53 -39
- package/esm2015/components/root/root.module.js +34 -13
- package/esm2015/components/root/taiga-ui-core-components-root.js +1 -1
- package/esm2015/components/scroll-controls/index.js +1 -1
- package/esm2015/components/scroll-controls/scroll-controls.component.js +47 -36
- package/esm2015/components/scroll-controls/scroll-controls.module.js +21 -16
- package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +23 -16
- package/esm2015/components/scroll-controls/scrollbar.directive.js +71 -59
- package/esm2015/components/scroll-controls/taiga-ui-core-components-scroll-controls.js +1 -2
- package/esm2015/components/scrollbar/index.js +1 -1
- package/esm2015/components/scrollbar/scroll-ref.directive.js +24 -17
- package/esm2015/components/scrollbar/scrollable.directive.js +16 -15
- package/esm2015/components/scrollbar/scrollbar.component.js +56 -43
- package/esm2015/components/scrollbar/scrollbar.module.js +15 -12
- package/esm2015/components/scrollbar/taiga-ui-core-components-scrollbar.js +1 -1
- package/esm2015/components/svg/index.js +1 -1
- package/esm2015/components/svg/svg.component.js +78 -60
- package/esm2015/components/svg/svg.module.js +15 -12
- package/esm2015/components/svg/taiga-ui-core-components-svg.js +1 -1
- package/esm2015/components/taiga-ui-core-components.js +1 -1
- package/esm2015/components/theme-night/index.js +1 -1
- package/esm2015/components/theme-night/taiga-ui-core-components-theme-night.js +1 -1
- package/esm2015/components/theme-night/theme-night.component.js +15 -13
- package/esm2015/components/theme-night/theme-night.module.js +14 -11
- package/esm2015/components/tooltip/index.js +1 -1
- package/esm2015/components/tooltip/taiga-ui-core-components-tooltip.js +1 -1
- package/esm2015/components/tooltip/tooltip.component.js +57 -41
- package/esm2015/components/tooltip/tooltip.module.js +15 -12
- package/esm2015/constants/absolute-box-sizes.js +1 -1
- package/esm2015/constants/decimal-symbols.js +2 -2
- package/esm2015/constants/default-icons-path.js +2 -2
- package/esm2015/constants/default-marker-handler.js +1 -1
- package/esm2015/constants/described-by.js +2 -0
- package/esm2015/constants/editing-keys.js +10 -10
- package/esm2015/constants/events.js +5 -5
- package/esm2015/constants/index.js +2 -2
- package/esm2015/constants/mask-caret-trap.js +2 -2
- package/esm2015/constants/regexp.js +1 -1
- package/esm2015/constants/taiga-ui-core-constants.js +1 -1
- package/esm2015/constants/version.js +2 -2
- package/esm2015/directives/described-by/described-by.directive.js +29 -24
- package/esm2015/directives/described-by/described-by.module.js +14 -11
- package/esm2015/directives/described-by/described-by.providers.js +3 -3
- package/esm2015/directives/described-by/index.js +1 -1
- package/esm2015/directives/described-by/taiga-ui-core-directives-described-by.js +1 -1
- package/esm2015/directives/dropdown/dropdown.directive.js +51 -38
- package/esm2015/directives/dropdown/dropdown.module.js +15 -12
- package/esm2015/directives/dropdown/index.js +1 -1
- package/esm2015/directives/dropdown/taiga-ui-core-directives-dropdown.js +1 -1
- package/esm2015/directives/dropdown-controller/dropdown-controller.directive.js +44 -25
- package/esm2015/directives/dropdown-controller/dropdown-controller.module.js +14 -11
- package/esm2015/directives/dropdown-controller/dropdown-controller.provider.js +4 -6
- package/esm2015/directives/dropdown-controller/dropdown-controller.token.js +2 -2
- package/esm2015/directives/dropdown-controller/index.js +1 -1
- package/esm2015/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.js +1 -1
- package/esm2015/directives/hint/hint-options.js +3 -5
- package/esm2015/directives/hint/hint.directive.js +71 -46
- package/esm2015/directives/hint/hint.module.js +14 -11
- package/esm2015/directives/hint/index.js +1 -1
- package/esm2015/directives/hint/taiga-ui-core-directives-hint.js +1 -1
- package/esm2015/directives/hint-controller/hint-controller.directive.js +44 -29
- package/esm2015/directives/hint-controller/hint-controller.module.js +14 -11
- package/esm2015/directives/hint-controller/hint-controller.provider.js +4 -6
- package/esm2015/directives/hint-controller/hint-controller.token.js +2 -2
- package/esm2015/directives/hint-controller/index.js +1 -1
- package/esm2015/directives/hint-controller/taiga-ui-core-directives-hint-controller.js +1 -1
- package/esm2015/directives/index.js +1 -3
- package/esm2015/directives/manual-hint/index.js +1 -1
- package/esm2015/directives/manual-hint/manual-hint-options.js +2 -2
- package/esm2015/directives/manual-hint/manual-hint.directive.js +35 -24
- package/esm2015/directives/manual-hint/manual-hint.module.js +14 -11
- package/esm2015/directives/manual-hint/taiga-ui-core-directives-manual-hint.js +1 -1
- package/esm2015/directives/mask-accessor/index.js +1 -1
- package/esm2015/directives/mask-accessor/mask-accessor.directive.js +27 -18
- package/esm2015/directives/mask-accessor/mask-accessor.module.js +14 -11
- package/esm2015/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js +1 -1
- package/esm2015/directives/mode/index.js +1 -1
- package/esm2015/directives/mode/mode.directive.js +16 -14
- package/esm2015/directives/mode/mode.module.js +14 -11
- package/esm2015/directives/mode/taiga-ui-core-directives-mode.js +1 -1
- package/esm2015/directives/pointer-hint/index.js +1 -1
- package/esm2015/directives/pointer-hint/pointer-hint-options.js +2 -2
- package/esm2015/directives/pointer-hint/pointer-hint.directive.js +41 -31
- package/esm2015/directives/pointer-hint/pointer-hint.module.js +14 -11
- package/esm2015/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.js +1 -1
- package/esm2015/directives/scroll-into-view/index.js +1 -1
- package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +28 -27
- package/esm2015/directives/scroll-into-view/scroll-into-view.module.js +14 -11
- package/esm2015/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js +1 -1
- package/esm2015/directives/taiga-ui-core-directives.js +1 -1
- package/esm2015/directives/textfield-controller/index.js +3 -1
- package/esm2015/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js +1 -1
- package/esm2015/directives/textfield-controller/textfield-autocomplete.directive.js +29 -23
- package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +28 -22
- package/esm2015/directives/textfield-controller/textfield-controller.module.js +60 -31
- package/esm2015/directives/textfield-controller/textfield-controller.provider.js +6 -2
- package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +29 -24
- package/esm2015/directives/textfield-controller/textfield-example-text.directive.js +29 -23
- package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +38 -0
- package/esm2015/directives/textfield-controller/textfield-icon.directive.js +38 -0
- package/esm2015/directives/textfield-controller/textfield-input-mode.directive.js +29 -23
- package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +28 -22
- package/esm2015/directives/textfield-controller/textfield-max-length.directive.js +28 -22
- package/esm2015/directives/textfield-controller/textfield-size.directive.js +29 -23
- package/esm2015/directives/textfield-controller/textfield-type.directive.js +29 -23
- package/esm2015/directives/textfield-controller/textfield.controller.js +11 -3
- package/esm2015/directives/wrapper/index.js +1 -1
- package/esm2015/directives/wrapper/taiga-ui-core-directives-wrapper.js +1 -1
- package/esm2015/directives/wrapper/wrapper.directive.js +63 -70
- package/esm2015/directives/wrapper/wrapper.module.js +14 -11
- package/esm2015/enums/appearance.js +1 -1
- package/esm2015/enums/dropdown-animation.js +1 -1
- package/esm2015/enums/index.js +1 -9
- package/esm2015/enums/interactive-state.js +3 -5
- package/esm2015/enums/notification.js +1 -1
- package/esm2015/enums/range-state.js +1 -1
- package/esm2015/enums/taiga-ui-core-enums.js +1 -1
- package/esm2015/index.js +4 -1
- package/esm2015/interfaces/alert-options.js +2 -1
- package/esm2015/interfaces/animation-options.js +2 -1
- package/esm2015/interfaces/data-list-accessor.js +2 -1
- package/esm2015/interfaces/data-list-host.js +2 -1
- package/esm2015/interfaces/dialog-context.js +2 -1
- package/esm2015/interfaces/dialog-options.js +2 -1
- package/esm2015/interfaces/dropdown-directive.js +2 -1
- package/esm2015/interfaces/hint.js +2 -1
- package/esm2015/interfaces/icon-error.js +2 -1
- package/esm2015/interfaces/index.js +15 -1
- package/esm2015/interfaces/media.js +2 -1
- package/esm2015/interfaces/number-format-settings.js +2 -1
- package/esm2015/interfaces/taiga-ui-core-interfaces.js +2 -1
- package/esm2015/interfaces/textfield-host.js +2 -1
- package/esm2015/interfaces/value-content-context.js +2 -1
- package/esm2015/interfaces/with-optional-min-max.js +2 -1
- package/esm2015/internal/index.js +1 -1
- package/esm2015/internal/primitive-year-month-pagination/index.js +1 -1
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +29 -20
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +26 -13
- package/esm2015/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js +1 -1
- package/esm2015/internal/svg-defs-host/index.js +1 -1
- package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +35 -27
- package/esm2015/internal/svg-defs-host/svg-defs-host.module.js +15 -12
- package/esm2015/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js +1 -1
- package/esm2015/internal/taiga-ui-core-internal.js +1 -1
- package/esm2015/mask/index.js +9 -1
- package/esm2015/mask/number-mask-options.js +2 -1
- package/esm2015/mask/taiga-ui-core-mask.js +2 -1
- package/esm2015/mask/text-mask-config.js +2 -1
- package/esm2015/mask/text-mask-correction-handler.js +2 -1
- package/esm2015/mask/text-mask-list-handler.js +2 -1
- package/esm2015/mask/text-mask-list.js +2 -1
- package/esm2015/mask/text-mask-options.js +2 -1
- package/esm2015/mask/text-mask-pipe-handler.js +2 -1
- package/esm2015/mask/text-mask-pipe-result.js +2 -1
- package/esm2015/observables/index.js +1 -1
- package/esm2015/observables/smart-search.js +3 -3
- package/esm2015/observables/taiga-ui-core-observables.js +1 -1
- package/esm2015/observables/zoneful-map.js +1 -1
- package/esm2015/pipes/calendar-sheet/calendar-sheet.module.js +14 -11
- package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +15 -14
- package/esm2015/pipes/calendar-sheet/index.js +1 -1
- package/esm2015/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js +1 -1
- package/esm2015/pipes/calendar-sheet/utils.js +4 -4
- package/esm2015/pipes/format-number/format-number.module.js +14 -11
- package/esm2015/pipes/format-number/format-number.pipe.js +13 -12
- package/esm2015/pipes/format-number/index.js +1 -1
- package/esm2015/pipes/format-number/taiga-ui-core-pipes-format-number.js +1 -1
- package/esm2015/pipes/format-phone/format-phone.module.js +14 -11
- package/esm2015/pipes/format-phone/format-phone.pipe.js +12 -10
- package/esm2015/pipes/format-phone/index.js +1 -1
- package/esm2015/pipes/format-phone/taiga-ui-core-pipes-format-phone.js +1 -1
- package/esm2015/pipes/index.js +1 -2
- package/esm2015/pipes/month/index.js +1 -1
- package/esm2015/pipes/month/month.module.js +14 -11
- package/esm2015/pipes/month/month.pipe.js +14 -13
- package/esm2015/pipes/month/taiga-ui-core-pipes-month.js +1 -1
- package/esm2015/pipes/taiga-ui-core-pipes.js +1 -1
- package/esm2015/providers/index.js +1 -1
- package/esm2015/providers/is-mobile-resolution.provider.js +2 -2
- package/esm2015/providers/mode.provider.js +2 -2
- package/esm2015/providers/taiga-ui-core-providers.js +1 -1
- package/esm2015/providers/watched-controller-provider-factory.js +2 -7
- package/esm2015/services/hint.service.js +11 -11
- package/esm2015/services/index.js +1 -1
- package/esm2015/services/night-theme.service.js +16 -18
- package/esm2015/services/router-link-active.service.js +26 -19
- package/esm2015/services/svg.service.js +27 -26
- package/esm2015/services/taiga-ui-core-services.js +1 -1
- package/esm2015/taiga-ui-core.js +1 -1
- package/esm2015/tokens/animation-options.js +2 -2
- package/esm2015/tokens/animations-duration.js +2 -2
- package/esm2015/tokens/assert-enabled.js +2 -2
- package/esm2015/tokens/data-list-accessor.js +2 -2
- package/esm2015/tokens/data-list-host.js +2 -2
- package/esm2015/tokens/document-or-shadow-root.js +2 -2
- package/esm2015/tokens/dropdown-directive.js +2 -2
- package/esm2015/tokens/element-ref.js +2 -2
- package/esm2015/tokens/first-day-of-week.js +2 -2
- package/esm2015/tokens/i18n.js +11 -11
- package/esm2015/tokens/icon-place.js +3 -3
- package/esm2015/tokens/icons-path.js +2 -2
- package/esm2015/tokens/icons.js +2 -2
- package/esm2015/tokens/index.js +1 -1
- package/esm2015/tokens/is-mobile-resolution.js +3 -3
- package/esm2015/tokens/media.js +2 -2
- package/esm2015/tokens/mode.js +2 -2
- package/esm2015/tokens/notification-options.js +3 -3
- package/esm2015/tokens/number-format.js +3 -3
- package/esm2015/tokens/option-content.js +2 -2
- package/esm2015/tokens/ordered-short-week-days.js +2 -2
- package/esm2015/tokens/sanitizer.js +1 -1
- package/esm2015/tokens/scroll-ref.js +2 -2
- package/esm2015/tokens/svg-content-processor.js +3 -3
- package/esm2015/tokens/svg-src-processor.js +2 -2
- package/esm2015/tokens/taiga-ui-core-tokens.js +1 -1
- package/esm2015/tokens/textfield-appearance.js +2 -2
- package/esm2015/tokens/textfield-host.js +2 -2
- package/esm2015/tokens/theme.js +3 -3
- package/esm2015/tokens/value-accessor.js +2 -2
- package/esm2015/types/brightness.js +2 -1
- package/esm2015/types/data-list-role.js +2 -1
- package/esm2015/types/decimal-symbol.js +2 -1
- package/esm2015/types/decimal.js +2 -1
- package/esm2015/types/dialog-size.js +2 -1
- package/esm2015/types/direction.js +2 -1
- package/esm2015/types/dropdown-width.js +2 -1
- package/esm2015/types/hint-mode.js +2 -1
- package/esm2015/types/index.js +14 -1
- package/esm2015/types/marker-handler.js +2 -1
- package/esm2015/types/option-role.js +2 -1
- package/esm2015/types/orientation.js +2 -1
- package/esm2015/types/point.js +2 -1
- package/esm2015/types/size.js +2 -1
- package/esm2015/types/taiga-ui-core-types.js +2 -1
- package/esm2015/utils/dom/check-fixed-position.js +3 -3
- package/esm2015/utils/dom/get-safe-area-size.js +4 -4
- package/esm2015/utils/dom/get-screen-width.js +1 -1
- package/esm2015/utils/dom/get-viewport-height.js +1 -1
- package/esm2015/utils/dom/get-viewport-width.js +1 -1
- package/esm2015/utils/dom/index.js +1 -2
- package/esm2015/utils/dom/process-icon.js +11 -11
- package/esm2015/utils/dom/taiga-ui-core-utils-dom.js +1 -1
- package/esm2015/utils/format/capitalize-first-letter.js +1 -1
- package/esm2015/utils/format/capitalize.js +1 -1
- package/esm2015/utils/format/format-number.js +7 -7
- package/esm2015/utils/format/format-phone.js +9 -9
- package/esm2015/utils/format/get-fractional-part-padded.js +6 -8
- package/esm2015/utils/format/index.js +1 -3
- package/esm2015/utils/format/number-to-string-without-exp.js +3 -3
- package/esm2015/utils/format/other-decimal-symbol.js +2 -2
- package/esm2015/utils/format/taiga-ui-core-utils-format.js +1 -1
- package/esm2015/utils/index.js +1 -1
- package/esm2015/utils/mask/create-auto-corrected-money-pipe.js +14 -14
- package/esm2015/utils/mask/create-correction-mask.js +3 -3
- package/esm2015/utils/mask/create-number-mask.js +13 -13
- package/esm2015/utils/mask/enable-auto-correct-decimal-symbol.js +1 -1
- package/esm2015/utils/mask/index.js +1 -1
- package/esm2015/utils/mask/masked-money-value-is-empty.js +3 -3
- package/esm2015/utils/mask/masked-number-string-to-number.js +2 -2
- package/esm2015/utils/mask/taiga-ui-core-utils-mask.js +1 -1
- package/esm2015/utils/miscellaneous/get-border.js +1 -1
- package/esm2015/utils/miscellaneous/icons-path-factory.js +3 -3
- package/esm2015/utils/miscellaneous/index.js +1 -2
- package/esm2015/utils/miscellaneous/is-editing-key.js +1 -1
- package/esm2015/utils/miscellaneous/is-presumed-html-string.js +2 -2
- package/esm2015/utils/miscellaneous/size-bigger.js +3 -3
- package/esm2015/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js +1 -1
- package/esm2015/utils/mobile/index.js +1 -1
- package/esm2015/utils/mobile/is-mobile.js +1 -1
- package/esm2015/utils/mobile/taiga-ui-core-utils-mobile.js +1 -1
- package/esm2015/utils/polyfills/index.js +1 -1
- package/esm2015/utils/polyfills/inner-html.js +5 -5
- package/esm2015/utils/polyfills/taiga-ui-core-utils-polyfills.js +1 -1
- package/esm2015/utils/taiga-ui-core-utils.js +1 -1
- package/fesm2015/taiga-ui-core-abstract.js +65 -51
- package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-core-animations.js +138 -138
- package/fesm2015/taiga-ui-core-animations.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-alert.js +94 -92
- package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-button.js +120 -96
- package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-calendar.js +78 -45
- package/fesm2015/taiga-ui-core-components-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-data-list.js +232 -167
- package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +125 -93
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dropdown-box.js +131 -102
- package/fesm2015/taiga-ui-core-components-dropdown-box.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-error.js +49 -36
- package/fesm2015/taiga-ui-core-components-error.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-expand.js +78 -61
- package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-group.js +81 -74
- package/fesm2015/taiga-ui-core-components-group.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hints-host.js +160 -133
- package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +121 -86
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-label.js +49 -37
- package/fesm2015/taiga-ui-core-components-label.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-link.js +93 -62
- package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-loader.js +61 -45
- package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js +60 -44
- package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js +74 -48
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +57 -37
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +67 -43
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +344 -289
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +60 -36
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +86 -49
- package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scroll-controls.js +173 -137
- package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scrollbar.js +105 -77
- package/fesm2015/taiga-ui-core-components-scrollbar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-svg.js +89 -66
- package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-theme-night.js +26 -19
- package/fesm2015/taiga-ui-core-components-theme-night.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js +71 -50
- package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm2015/taiga-ui-core-components.js.map +1 -1
- package/fesm2015/taiga-ui-core-constants.js +20 -29
- package/fesm2015/taiga-ui-core-constants.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-described-by.js +45 -34
- package/fesm2015/taiga-ui-core-directives-described-by.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown-controller.js +61 -39
- package/fesm2015/taiga-ui-core-directives-dropdown-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +63 -45
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint-controller.js +61 -43
- package/fesm2015/taiga-ui-core-directives-hint-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +86 -58
- package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-manual-hint.js +48 -32
- package/fesm2015/taiga-ui-core-directives-manual-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js +39 -25
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mode.js +28 -21
- package/fesm2015/taiga-ui-core-directives-mode.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-pointer-hint.js +54 -39
- package/fesm2015/taiga-ui-core-directives-pointer-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +40 -34
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js +374 -204
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-wrapper.js +75 -77
- package/fesm2015/taiga-ui-core-directives-wrapper.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives.js +0 -2
- package/fesm2015/taiga-ui-core-directives.js.map +1 -1
- package/fesm2015/taiga-ui-core-enums.js +3 -101
- package/fesm2015/taiga-ui-core-enums.js.map +1 -1
- package/fesm2015/taiga-ui-core-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +55 -31
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +47 -34
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal.js.map +1 -1
- package/fesm2015/taiga-ui-core-mask.js.map +1 -1
- package/fesm2015/taiga-ui-core-observables.js +2 -2
- package/fesm2015/taiga-ui-core-observables.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +30 -24
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-number.js +25 -19
- package/fesm2015/taiga-ui-core-pipes-format-number.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-phone.js +24 -17
- package/fesm2015/taiga-ui-core-pipes-format-phone.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-month.js +26 -20
- package/fesm2015/taiga-ui-core-pipes-month.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes.js +0 -1
- package/fesm2015/taiga-ui-core-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-core-providers.js +4 -9
- package/fesm2015/taiga-ui-core-providers.js.map +1 -1
- package/fesm2015/taiga-ui-core-services.js +76 -60
- package/fesm2015/taiga-ui-core-services.js.map +1 -1
- package/fesm2015/taiga-ui-core-tokens.js +42 -43
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-core-types.js +11 -0
- package/fesm2015/taiga-ui-core-types.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-dom.js +16 -28
- package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-format.js +21 -60
- package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mask.js +30 -30
- package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js +6 -23
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mobile.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-polyfills.js +4 -4
- package/fesm2015/taiga-ui-core-utils-polyfills.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils.js.map +1 -1
- package/fesm2015/taiga-ui-core.js +3 -0
- package/fesm2015/taiga-ui-core.js.map +1 -1
- package/interfaces/dropdown-directive.d.ts +2 -2
- package/interfaces/hint.d.ts +2 -1
- package/interfaces/index.d.ts +0 -1
- package/interfaces/package.json +2 -5
- package/interfaces/taiga-ui-core-interfaces.d.ts +1 -0
- package/internal/package.json +2 -5
- package/internal/primitive-year-month-pagination/package.json +2 -5
- package/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.d.ts +3 -0
- package/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.d.ts +10 -0
- package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.d.ts +1 -0
- package/internal/svg-defs-host/package.json +2 -5
- package/internal/svg-defs-host/svg-defs-host.component.d.ts +3 -0
- package/internal/svg-defs-host/svg-defs-host.module.d.ts +7 -0
- package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.d.ts +1 -0
- package/internal/taiga-ui-core-internal.d.ts +1 -0
- package/mask/package.json +2 -5
- package/mask/taiga-ui-core-mask.d.ts +1 -0
- package/observables/package.json +2 -5
- package/observables/taiga-ui-core-observables.d.ts +1 -0
- package/package.json +11 -14
- package/pipes/calendar-sheet/calendar-sheet.module.d.ts +5 -0
- package/pipes/calendar-sheet/calendar-sheet.pipe.d.ts +3 -0
- package/pipes/calendar-sheet/package.json +2 -5
- package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.d.ts +1 -0
- package/pipes/format-number/format-number.module.d.ts +5 -0
- package/pipes/format-number/format-number.pipe.d.ts +3 -0
- package/pipes/format-number/package.json +2 -5
- package/pipes/format-number/taiga-ui-core-pipes-format-number.d.ts +1 -0
- package/pipes/format-phone/format-phone.module.d.ts +5 -0
- package/pipes/format-phone/format-phone.pipe.d.ts +3 -0
- package/pipes/format-phone/package.json +2 -5
- package/pipes/format-phone/taiga-ui-core-pipes-format-phone.d.ts +1 -0
- package/pipes/index.d.ts +0 -1
- package/pipes/month/month.module.d.ts +5 -0
- package/pipes/month/month.pipe.d.ts +4 -1
- package/pipes/month/package.json +2 -5
- package/pipes/month/taiga-ui-core-pipes-month.d.ts +1 -0
- package/pipes/package.json +2 -5
- package/pipes/taiga-ui-core-pipes.d.ts +1 -0
- package/providers/package.json +2 -5
- package/providers/taiga-ui-core-providers.d.ts +1 -0
- package/providers/watched-controller-provider-factory.d.ts +2 -6
- package/services/hint.service.d.ts +3 -0
- package/services/night-theme.service.d.ts +3 -0
- package/services/package.json +2 -5
- package/services/router-link-active.service.d.ts +3 -0
- package/services/svg.service.d.ts +3 -0
- package/services/taiga-ui-core-services.d.ts +1 -0
- package/styles/mixins/picker.less +6 -6
- package/styles/mixins/picker.scss +6 -6
- package/styles/mixins/wrapper.less +3 -3
- package/styles/mixins/wrapper.scss +3 -3
- package/styles/taiga-ui-fonts.less +1 -0
- package/styles/taiga-ui-theme.less +0 -1
- package/styles/theme/variables.less +5 -0
- package/styles/theme/wrapper/accent.less +0 -1
- package/styles/theme/wrapper/base.less +0 -1
- package/styles/theme/wrapper/icon.less +0 -1
- package/styles/theme/wrapper/none.less +0 -1
- package/styles/theme/wrapper/outline.less +0 -1
- package/styles/theme/wrapper/primary.less +0 -1
- package/styles/theme/wrapper/secondary.less +0 -3
- package/styles/theme/wrapper/table.less +0 -1
- package/styles/theme/wrapper/textfield.less +0 -3
- package/styles/theme/wrapper/whiteblock.less +0 -3
- package/taiga-ui-core.d.ts +1 -0
- package/tokens/notification-options.d.ts +0 -4
- package/tokens/package.json +2 -5
- package/tokens/taiga-ui-core-tokens.d.ts +1 -0
- package/types/decimal.d.ts +1 -1
- package/types/dropdown-width.d.ts +1 -1
- package/types/hint-mode.d.ts +1 -1
- package/types/index.d.ts +0 -2
- package/types/marker-handler.d.ts +1 -2
- package/types/orientation.d.ts +1 -1
- package/types/package.json +2 -5
- package/types/taiga-ui-core-types.d.ts +1 -0
- package/utils/dom/index.d.ts +0 -1
- package/utils/dom/package.json +2 -5
- package/utils/dom/taiga-ui-core-utils-dom.d.ts +1 -0
- package/utils/format/get-fractional-part-padded.d.ts +1 -3
- package/utils/format/index.d.ts +0 -2
- package/utils/format/package.json +2 -5
- package/utils/format/taiga-ui-core-utils-format.d.ts +1 -0
- package/utils/mask/package.json +2 -5
- package/utils/mask/taiga-ui-core-utils-mask.d.ts +1 -0
- package/utils/miscellaneous/index.d.ts +0 -1
- package/utils/miscellaneous/package.json +2 -5
- package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.d.ts +1 -0
- package/utils/mobile/package.json +2 -5
- package/utils/mobile/taiga-ui-core-utils-mobile.d.ts +1 -0
- package/utils/package.json +2 -5
- package/utils/polyfills/package.json +2 -5
- package/utils/polyfills/taiga-ui-core-utils-polyfills.d.ts +1 -0
- package/utils/taiga-ui-core-utils.d.ts +1 -0
- package/abstract/taiga-ui-core-abstract.metadata.json +0 -1
- package/animations/taiga-ui-core-animations.metadata.json +0 -1
- package/bundles/taiga-ui-core-abstract.umd.min.js +0 -2
- package/bundles/taiga-ui-core-abstract.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-animations.umd.min.js +0 -2
- package/bundles/taiga-ui-core-animations.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-alert.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-alert.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-button.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-button.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-calendar.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-calendar.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-data-list.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-data-list.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-dialog.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-dialog.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-error.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-error.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-expand.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-expand.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-group.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-group.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-hints-host.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-label.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-label.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-link.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-link.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-loader.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-loader.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-notification.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-notification.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-root.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-root.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-scrollbar.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-svg.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-svg.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-theme-night.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-tooltip.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-constants.umd.min.js +0 -2
- package/bundles/taiga-ui-core-constants.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-color.umd.js +0 -314
- package/bundles/taiga-ui-core-directives-color.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-color.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-color.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-described-by.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-described-by.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-dropdown-controller.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-dropdown-controller.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-dropdown.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-hint-controller.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-hint-controller.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-hint.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-hint.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-mode.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-mode.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-table-mode.umd.js +0 -295
- package/bundles/taiga-ui-core-directives-table-mode.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-table-mode.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-table-mode.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-wrapper.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-wrapper.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-enums.umd.min.js +0 -2
- package/bundles/taiga-ui-core-enums.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-interfaces.umd.min.js +0 -2
- package/bundles/taiga-ui-core-interfaces.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.min.js +0 -2
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.min.js +0 -2
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-internal.umd.min.js +0 -2
- package/bundles/taiga-ui-core-internal.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-mask.umd.min.js +0 -2
- package/bundles/taiga-ui-core-mask.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-observables.umd.min.js +0 -2
- package/bundles/taiga-ui-core-observables.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-format-number.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes-format-number.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-format-phone.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes-format-phone.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-month.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes-month.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-pluralize.umd.js +0 -296
- package/bundles/taiga-ui-core-pipes-pluralize.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-pluralize.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes-pluralize.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-providers.umd.min.js +0 -2
- package/bundles/taiga-ui-core-providers.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-services.umd.min.js +0 -2
- package/bundles/taiga-ui-core-services.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-tokens.umd.min.js +0 -2
- package/bundles/taiga-ui-core-tokens.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-types.umd.min.js +0 -2
- package/bundles/taiga-ui-core-types.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-dom.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-dom.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-format.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-format.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-mask.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-mask.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-mobile.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-mobile.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-polyfills.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-polyfills.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core.umd.min.js +0 -2
- package/bundles/taiga-ui-core.umd.min.js.map +0 -1
- package/components/alert/taiga-ui-core-components-alert.metadata.json +0 -1
- package/components/button/taiga-ui-core-components-button.metadata.json +0 -1
- package/components/calendar/taiga-ui-core-components-calendar.metadata.json +0 -1
- package/components/data-list/taiga-ui-core-components-data-list.metadata.json +0 -1
- package/components/dialog/taiga-ui-core-components-dialog.metadata.json +0 -1
- package/components/dropdown-box/taiga-ui-core-components-dropdown-box.metadata.json +0 -1
- package/components/error/taiga-ui-core-components-error.metadata.json +0 -1
- package/components/expand/taiga-ui-core-components-expand.metadata.json +0 -1
- package/components/group/group.component.d.ts +0 -4
- package/components/group/taiga-ui-core-components-group.metadata.json +0 -1
- package/components/hints-host/taiga-ui-core-components-hints-host.metadata.json +0 -1
- package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.metadata.json +0 -1
- package/components/label/taiga-ui-core-components-label.metadata.json +0 -1
- package/components/link/taiga-ui-core-components-link.metadata.json +0 -1
- package/components/loader/taiga-ui-core-components-loader.metadata.json +0 -1
- package/components/notification/taiga-ui-core-components-notification.metadata.json +0 -1
- package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.metadata.json +0 -1
- package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.metadata.json +0 -1
- package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.metadata.json +0 -1
- package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.metadata.json +0 -1
- package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.metadata.json +0 -1
- package/components/root/taiga-ui-core-components-root.metadata.json +0 -1
- package/components/scroll-controls/taiga-ui-core-components-scroll-controls.metadata.json +0 -1
- package/components/scrollbar/taiga-ui-core-components-scrollbar.metadata.json +0 -1
- package/components/svg/taiga-ui-core-components-svg.metadata.json +0 -1
- package/components/taiga-ui-core-components.metadata.json +0 -1
- package/components/theme-night/taiga-ui-core-components-theme-night.metadata.json +0 -1
- package/components/tooltip/taiga-ui-core-components-tooltip.metadata.json +0 -1
- package/constants/media.d.ts +0 -10
- package/constants/taiga-ui-core-constants.metadata.json +0 -1
- package/directives/color/color.const.d.ts +0 -4
- package/directives/color/color.directive.d.ts +0 -10
- package/directives/color/color.module.d.ts +0 -5
- package/directives/color/index.d.ts +0 -3
- package/directives/color/package.json +0 -13
- package/directives/color/taiga-ui-core-directives-color.d.ts +0 -4
- package/directives/color/taiga-ui-core-directives-color.metadata.json +0 -1
- package/directives/described-by/taiga-ui-core-directives-described-by.metadata.json +0 -1
- package/directives/dropdown/taiga-ui-core-directives-dropdown.metadata.json +0 -1
- package/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.metadata.json +0 -1
- package/directives/hint/taiga-ui-core-directives-hint.metadata.json +0 -1
- package/directives/hint-controller/taiga-ui-core-directives-hint-controller.metadata.json +0 -1
- package/directives/manual-hint/taiga-ui-core-directives-manual-hint.metadata.json +0 -1
- package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.metadata.json +0 -1
- package/directives/mode/taiga-ui-core-directives-mode.metadata.json +0 -1
- package/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.metadata.json +0 -1
- package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.metadata.json +0 -1
- package/directives/table-mode/index.d.ts +0 -2
- package/directives/table-mode/package.json +0 -13
- package/directives/table-mode/table-mode.directive.d.ts +0 -5
- package/directives/table-mode/table-mode.module.d.ts +0 -3
- package/directives/table-mode/taiga-ui-core-directives-table-mode.d.ts +0 -4
- package/directives/table-mode/taiga-ui-core-directives-table-mode.metadata.json +0 -1
- package/directives/taiga-ui-core-directives.metadata.json +0 -1
- package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.metadata.json +0 -1
- package/directives/wrapper/taiga-ui-core-directives-wrapper.metadata.json +0 -1
- package/enums/base-color.d.ts +0 -9
- package/enums/button-shape.d.ts +0 -7
- package/enums/decimal.d.ts +0 -8
- package/enums/dropdown-width.d.ts +0 -8
- package/enums/hint-mode.d.ts +0 -8
- package/enums/link-mode.d.ts +0 -7
- package/enums/orientation.d.ts +0 -7
- package/enums/support-color.d.ts +0 -26
- package/enums/taiga-ui-core-enums.metadata.json +0 -1
- package/esm2015/components/group/group.component.js +0 -19
- package/esm2015/constants/media.js +0 -11
- package/esm2015/directives/color/color.const.js +0 -318
- package/esm2015/directives/color/color.directive.js +0 -35
- package/esm2015/directives/color/color.module.js +0 -16
- package/esm2015/directives/color/index.js +0 -4
- package/esm2015/directives/color/taiga-ui-core-directives-color.js +0 -5
- package/esm2015/directives/table-mode/index.js +0 -3
- package/esm2015/directives/table-mode/table-mode.directive.js +0 -21
- package/esm2015/directives/table-mode/table-mode.module.js +0 -14
- package/esm2015/directives/table-mode/taiga-ui-core-directives-table-mode.js +0 -5
- package/esm2015/enums/base-color.js +0 -11
- package/esm2015/enums/button-shape.js +0 -9
- package/esm2015/enums/decimal.js +0 -10
- package/esm2015/enums/dropdown-width.js +0 -10
- package/esm2015/enums/hint-mode.js +0 -10
- package/esm2015/enums/link-mode.js +0 -9
- package/esm2015/enums/orientation.js +0 -9
- package/esm2015/enums/support-color.js +0 -28
- package/esm2015/interfaces/notification-options.js +0 -1
- package/esm2015/pipes/pluralize/index.js +0 -3
- package/esm2015/pipes/pluralize/pluralize.module.js +0 -14
- package/esm2015/pipes/pluralize/pluralize.pipe.js +0 -22
- package/esm2015/pipes/pluralize/taiga-ui-core-pipes-pluralize.js +0 -5
- package/esm2015/types/color.js +0 -1
- package/esm2015/types/pluralize.js +0 -1
- package/esm2015/utils/dom/are-css-vars-supported.js +0 -11
- package/esm2015/utils/format/pluralize-to-icu.js +0 -13
- package/esm2015/utils/format/pluralize.js +0 -23
- package/esm2015/utils/miscellaneous/color-fallback.js +0 -17
- package/esm5/abstract/abstract-dropdown.js +0 -130
- package/esm5/abstract/abstract-hint-options.js +0 -6
- package/esm5/abstract/abstract-hint.js +0 -44
- package/esm5/abstract/abstract-textfield-host.js +0 -55
- package/esm5/abstract/index.js +0 -5
- package/esm5/abstract/taiga-ui-core-abstract.js +0 -5
- package/esm5/animations/animations.js +0 -251
- package/esm5/animations/index.js +0 -2
- package/esm5/animations/taiga-ui-core-animations.js +0 -5
- package/esm5/components/alert/alert.component.js +0 -98
- package/esm5/components/alert/alert.module.js +0 -40
- package/esm5/components/alert/alert.service.js +0 -52
- package/esm5/components/alert/index.js +0 -4
- package/esm5/components/alert/taiga-ui-core-components-alert.js +0 -5
- package/esm5/components/button/button-options.js +0 -15
- package/esm5/components/button/button.component.js +0 -156
- package/esm5/components/button/button.module.js +0 -28
- package/esm5/components/button/index.js +0 -4
- package/esm5/components/button/taiga-ui-core-components-button.js +0 -5
- package/esm5/components/calendar/calendar.component.js +0 -135
- package/esm5/components/calendar/calendar.module.js +0 -30
- package/esm5/components/calendar/index.js +0 -3
- package/esm5/components/calendar/taiga-ui-core-components-calendar.js +0 -5
- package/esm5/components/data-list/data-list-dropdown-manager.directive.js +0 -142
- package/esm5/components/data-list/data-list.component.js +0 -128
- package/esm5/components/data-list/data-list.directive.js +0 -14
- package/esm5/components/data-list/data-list.module.js +0 -36
- package/esm5/components/data-list/index.js +0 -7
- package/esm5/components/data-list/opt-group.directive.js +0 -24
- package/esm5/components/data-list/option/option.component.js +0 -107
- package/esm5/components/data-list/taiga-ui-core-components-data-list.js +0 -5
- package/esm5/components/dialog/dialog.component.js +0 -102
- package/esm5/components/dialog/dialog.directive.js +0 -26
- package/esm5/components/dialog/dialog.module.js +0 -31
- package/esm5/components/dialog/dialog.providers.js +0 -59
- package/esm5/components/dialog/dialog.service.js +0 -34
- package/esm5/components/dialog/index.js +0 -6
- package/esm5/components/dialog/taiga-ui-core-components-dialog.js +0 -5
- package/esm5/components/dropdown-box/dropdown-box.component.js +0 -313
- package/esm5/components/dropdown-box/dropdown-box.module.js +0 -28
- package/esm5/components/dropdown-box/index.js +0 -3
- package/esm5/components/dropdown-box/taiga-ui-core-components-dropdown-box.js +0 -5
- package/esm5/components/error/error.component.js +0 -48
- package/esm5/components/error/error.module.js +0 -19
- package/esm5/components/error/index.js +0 -3
- package/esm5/components/error/taiga-ui-core-components-error.js +0 -5
- package/esm5/components/expand/expand-content.directive.js +0 -15
- package/esm5/components/expand/expand.component.js +0 -153
- package/esm5/components/expand/expand.module.js +0 -20
- package/esm5/components/expand/index.js +0 -4
- package/esm5/components/expand/taiga-ui-core-components-expand.js +0 -5
- package/esm5/components/group/group-styles.component.js +0 -16
- package/esm5/components/group/group.component.js +0 -24
- package/esm5/components/group/group.directive.js +0 -83
- package/esm5/components/group/group.module.js +0 -21
- package/esm5/components/group/index.js +0 -5
- package/esm5/components/group/taiga-ui-core-components-group.js +0 -5
- package/esm5/components/hints-host/hint-box/hint-box.component.js +0 -279
- package/esm5/components/hints-host/hint-box/hint-box.module.js +0 -21
- package/esm5/components/hints-host/hints-host.component.js +0 -42
- package/esm5/components/hints-host/hints-host.module.js +0 -21
- package/esm5/components/hints-host/index.js +0 -5
- package/esm5/components/hints-host/taiga-ui-core-components-hints-host.js +0 -5
- package/esm5/components/hosted-dropdown/hosted-dropdown-connector.directive.js +0 -14
- package/esm5/components/hosted-dropdown/hosted-dropdown.component.js +0 -230
- package/esm5/components/hosted-dropdown/hosted-dropdown.module.js +0 -28
- package/esm5/components/hosted-dropdown/index.js +0 -4
- package/esm5/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js +0 -5
- package/esm5/components/index.js +0 -27
- package/esm5/components/label/index.js +0 -3
- package/esm5/components/label/label.component.js +0 -48
- package/esm5/components/label/label.module.js +0 -18
- package/esm5/components/label/taiga-ui-core-components-label.js +0 -5
- package/esm5/components/link/index.js +0 -3
- package/esm5/components/link/link.component.js +0 -121
- package/esm5/components/link/link.module.js +0 -19
- package/esm5/components/link/taiga-ui-core-components-link.js +0 -5
- package/esm5/components/loader/index.js +0 -4
- package/esm5/components/loader/loader-options.js +0 -16
- package/esm5/components/loader/loader.component.js +0 -105
- package/esm5/components/loader/loader.module.js +0 -19
- package/esm5/components/loader/taiga-ui-core-components-loader.js +0 -5
- package/esm5/components/notification/index.js +0 -3
- package/esm5/components/notification/notification.component.js +0 -68
- package/esm5/components/notification/notification.module.js +0 -20
- package/esm5/components/notification/taiga-ui-core-components-notification.js +0 -5
- package/esm5/components/primitive-calendar/index.js +0 -3
- package/esm5/components/primitive-calendar/primitive-calendar.component.js +0 -165
- package/esm5/components/primitive-calendar/primitive-calendar.module.js +0 -30
- package/esm5/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js +0 -5
- package/esm5/components/primitive-checkbox/checkbox-options.js +0 -29
- package/esm5/components/primitive-checkbox/index.js +0 -4
- package/esm5/components/primitive-checkbox/primitive-checkbox.component.js +0 -99
- package/esm5/components/primitive-checkbox/primitive-checkbox.module.js +0 -20
- package/esm5/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js +0 -5
- package/esm5/components/primitive-spin-button/index.js +0 -3
- package/esm5/components/primitive-spin-button/primitive-spin-button.component.js +0 -97
- package/esm5/components/primitive-spin-button/primitive-spin-button.module.js +0 -27
- package/esm5/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js +0 -5
- package/esm5/components/primitive-textfield/index.js +0 -8
- package/esm5/components/primitive-textfield/primitive-textfield-options.js +0 -17
- package/esm5/components/primitive-textfield/primitive-textfield.component.js +0 -370
- package/esm5/components/primitive-textfield/primitive-textfield.directive.js +0 -49
- package/esm5/components/primitive-textfield/primitive-textfield.module.js +0 -51
- package/esm5/components/primitive-textfield/primitive-textfield.providers.js +0 -16
- package/esm5/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js +0 -5
- package/esm5/components/primitive-textfield/textfield/textfield.component.js +0 -77
- package/esm5/components/primitive-textfield/value-decoration/value-decoration.component.js +0 -123
- package/esm5/components/primitive-year-picker/index.js +0 -3
- package/esm5/components/primitive-year-picker/primitive-year-picker.component.js +0 -174
- package/esm5/components/primitive-year-picker/primitive-year-picker.module.js +0 -25
- package/esm5/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js +0 -5
- package/esm5/components/root/index.js +0 -3
- package/esm5/components/root/root.component.js +0 -63
- package/esm5/components/root/root.module.js +0 -33
- package/esm5/components/root/taiga-ui-core-components-root.js +0 -5
- package/esm5/components/scroll-controls/index.js +0 -4
- package/esm5/components/scroll-controls/scroll-controls.component.js +0 -68
- package/esm5/components/scroll-controls/scroll-controls.module.js +0 -25
- package/esm5/components/scroll-controls/scrollbar-wrapper.directive.js +0 -21
- package/esm5/components/scroll-controls/scrollbar.directive.js +0 -171
- package/esm5/components/scroll-controls/taiga-ui-core-components-scroll-controls.js +0 -6
- package/esm5/components/scrollbar/index.js +0 -5
- package/esm5/components/scrollbar/scroll-ref.directive.js +0 -22
- package/esm5/components/scrollbar/scrollable.directive.js +0 -26
- package/esm5/components/scrollbar/scrollbar.component.js +0 -97
- package/esm5/components/scrollbar/scrollbar.module.js +0 -21
- package/esm5/components/scrollbar/taiga-ui-core-components-scrollbar.js +0 -5
- package/esm5/components/svg/index.js +0 -3
- package/esm5/components/svg/svg.component.js +0 -207
- package/esm5/components/svg/svg.module.js +0 -19
- package/esm5/components/svg/taiga-ui-core-components-svg.js +0 -5
- package/esm5/components/taiga-ui-core-components.js +0 -5
- package/esm5/components/theme-night/index.js +0 -3
- package/esm5/components/theme-night/taiga-ui-core-components-theme-night.js +0 -5
- package/esm5/components/theme-night/theme-night.component.js +0 -21
- package/esm5/components/theme-night/theme-night.module.js +0 -16
- package/esm5/components/tooltip/index.js +0 -3
- package/esm5/components/tooltip/taiga-ui-core-components-tooltip.js +0 -5
- package/esm5/components/tooltip/tooltip.component.js +0 -99
- package/esm5/components/tooltip/tooltip.module.js +0 -21
- package/esm5/constants/absolute-box-sizes.js +0 -5
- package/esm5/constants/decimal-symbols.js +0 -2
- package/esm5/constants/default-icons-path.js +0 -4
- package/esm5/constants/default-marker-handler.js +0 -3
- package/esm5/constants/editing-keys.js +0 -12
- package/esm5/constants/events.js +0 -19
- package/esm5/constants/index.js +0 -11
- package/esm5/constants/mask-caret-trap.js +0 -2
- package/esm5/constants/media.js +0 -11
- package/esm5/constants/regexp.js +0 -9
- package/esm5/constants/taiga-ui-core-constants.js +0 -5
- package/esm5/constants/version.js +0 -2
- package/esm5/directives/color/color.const.js +0 -5
- package/esm5/directives/color/color.directive.js +0 -36
- package/esm5/directives/color/color.module.js +0 -19
- package/esm5/directives/color/index.js +0 -4
- package/esm5/directives/color/taiga-ui-core-directives-color.js +0 -5
- package/esm5/directives/described-by/described-by.directive.js +0 -56
- package/esm5/directives/described-by/described-by.module.js +0 -16
- package/esm5/directives/described-by/described-by.providers.js +0 -26
- package/esm5/directives/described-by/index.js +0 -4
- package/esm5/directives/described-by/taiga-ui-core-directives-described-by.js +0 -5
- package/esm5/directives/dropdown/dropdown.directive.js +0 -55
- package/esm5/directives/dropdown/dropdown.module.js +0 -18
- package/esm5/directives/dropdown/index.js +0 -3
- package/esm5/directives/dropdown/taiga-ui-core-directives-dropdown.js +0 -5
- package/esm5/directives/dropdown-controller/dropdown-controller.directive.js +0 -58
- package/esm5/directives/dropdown-controller/dropdown-controller.module.js +0 -16
- package/esm5/directives/dropdown-controller/dropdown-controller.provider.js +0 -16
- package/esm5/directives/dropdown-controller/dropdown-controller.token.js +0 -6
- package/esm5/directives/dropdown-controller/index.js +0 -5
- package/esm5/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.js +0 -5
- package/esm5/directives/hint/hint-options.js +0 -15
- package/esm5/directives/hint/hint.directive.js +0 -145
- package/esm5/directives/hint/hint.module.js +0 -16
- package/esm5/directives/hint/index.js +0 -4
- package/esm5/directives/hint/taiga-ui-core-directives-hint.js +0 -5
- package/esm5/directives/hint-controller/hint-controller.directive.js +0 -60
- package/esm5/directives/hint-controller/hint-controller.module.js +0 -16
- package/esm5/directives/hint-controller/hint-controller.provider.js +0 -16
- package/esm5/directives/hint-controller/hint-controller.token.js +0 -7
- package/esm5/directives/hint-controller/index.js +0 -5
- package/esm5/directives/hint-controller/taiga-ui-core-directives-hint-controller.js +0 -5
- package/esm5/directives/index.js +0 -15
- package/esm5/directives/manual-hint/index.js +0 -4
- package/esm5/directives/manual-hint/manual-hint-options.js +0 -13
- package/esm5/directives/manual-hint/manual-hint.directive.js +0 -57
- package/esm5/directives/manual-hint/manual-hint.module.js +0 -16
- package/esm5/directives/manual-hint/taiga-ui-core-directives-manual-hint.js +0 -5
- package/esm5/directives/mask-accessor/index.js +0 -3
- package/esm5/directives/mask-accessor/mask-accessor.directive.js +0 -28
- package/esm5/directives/mask-accessor/mask-accessor.module.js +0 -19
- package/esm5/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js +0 -5
- package/esm5/directives/mode/index.js +0 -3
- package/esm5/directives/mode/mode.directive.js +0 -22
- package/esm5/directives/mode/mode.module.js +0 -16
- package/esm5/directives/mode/taiga-ui-core-directives-mode.js +0 -5
- package/esm5/directives/pointer-hint/index.js +0 -4
- package/esm5/directives/pointer-hint/pointer-hint-options.js +0 -13
- package/esm5/directives/pointer-hint/pointer-hint.directive.js +0 -109
- package/esm5/directives/pointer-hint/pointer-hint.module.js +0 -16
- package/esm5/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.js +0 -5
- package/esm5/directives/scroll-into-view/index.js +0 -3
- package/esm5/directives/scroll-into-view/scroll-into-view.directive.js +0 -59
- package/esm5/directives/scroll-into-view/scroll-into-view.module.js +0 -16
- package/esm5/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js +0 -5
- package/esm5/directives/table-mode/index.js +0 -3
- package/esm5/directives/table-mode/table-mode.directive.js +0 -24
- package/esm5/directives/table-mode/table-mode.module.js +0 -17
- package/esm5/directives/table-mode/taiga-ui-core-directives-table-mode.js +0 -5
- package/esm5/directives/taiga-ui-core-directives.js +0 -5
- package/esm5/directives/textfield-controller/index.js +0 -13
- package/esm5/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js +0 -5
- package/esm5/directives/textfield-controller/textfield-autocomplete.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-cleaner.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-controller.module.js +0 -44
- package/esm5/directives/textfield-controller/textfield-controller.provider.js +0 -54
- package/esm5/directives/textfield-controller/textfield-custom-content.directive.js +0 -38
- package/esm5/directives/textfield-controller/textfield-example-text.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-input-mode.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-label-outside.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-max-length.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-size.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-type.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield.controller.js +0 -80
- package/esm5/directives/wrapper/index.js +0 -3
- package/esm5/directives/wrapper/taiga-ui-core-directives-wrapper.js +0 -5
- package/esm5/directives/wrapper/wrapper.directive.js +0 -120
- package/esm5/directives/wrapper/wrapper.module.js +0 -16
- package/esm5/enums/appearance.js +0 -14
- package/esm5/enums/base-color.js +0 -11
- package/esm5/enums/button-shape.js +0 -9
- package/esm5/enums/decimal.js +0 -10
- package/esm5/enums/dropdown-animation.js +0 -6
- package/esm5/enums/dropdown-width.js +0 -10
- package/esm5/enums/hint-mode.js +0 -10
- package/esm5/enums/index.js +0 -14
- package/esm5/enums/interactive-state.js +0 -13
- package/esm5/enums/link-mode.js +0 -9
- package/esm5/enums/notification.js +0 -8
- package/esm5/enums/orientation.js +0 -9
- package/esm5/enums/range-state.js +0 -10
- package/esm5/enums/support-color.js +0 -28
- package/esm5/enums/taiga-ui-core-enums.js +0 -5
- package/esm5/index.js +0 -14
- package/esm5/interfaces/alert-options.js +0 -1
- package/esm5/interfaces/animation-options.js +0 -1
- package/esm5/interfaces/data-list-accessor.js +0 -1
- package/esm5/interfaces/data-list-host.js +0 -1
- package/esm5/interfaces/dialog-context.js +0 -1
- package/esm5/interfaces/dialog-options.js +0 -1
- package/esm5/interfaces/dropdown-directive.js +0 -1
- package/esm5/interfaces/hint.js +0 -1
- package/esm5/interfaces/icon-error.js +0 -1
- package/esm5/interfaces/index.js +0 -1
- package/esm5/interfaces/media.js +0 -1
- package/esm5/interfaces/notification-options.js +0 -1
- package/esm5/interfaces/number-format-settings.js +0 -1
- package/esm5/interfaces/taiga-ui-core-interfaces.js +0 -4
- package/esm5/interfaces/textfield-host.js +0 -1
- package/esm5/interfaces/value-content-context.js +0 -1
- package/esm5/interfaces/with-optional-min-max.js +0 -1
- package/esm5/internal/index.js +0 -3
- package/esm5/internal/primitive-year-month-pagination/index.js +0 -3
- package/esm5/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +0 -89
- package/esm5/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +0 -28
- package/esm5/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js +0 -5
- package/esm5/internal/svg-defs-host/index.js +0 -3
- package/esm5/internal/svg-defs-host/svg-defs-host.component.js +0 -50
- package/esm5/internal/svg-defs-host/svg-defs-host.module.js +0 -19
- package/esm5/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js +0 -5
- package/esm5/internal/taiga-ui-core-internal.js +0 -5
- package/esm5/mask/index.js +0 -1
- package/esm5/mask/number-mask-options.js +0 -1
- package/esm5/mask/taiga-ui-core-mask.js +0 -4
- package/esm5/mask/text-mask-config.js +0 -1
- package/esm5/mask/text-mask-correction-handler.js +0 -1
- package/esm5/mask/text-mask-list-handler.js +0 -1
- package/esm5/mask/text-mask-list.js +0 -1
- package/esm5/mask/text-mask-options.js +0 -1
- package/esm5/mask/text-mask-pipe-handler.js +0 -1
- package/esm5/mask/text-mask-pipe-result.js +0 -1
- package/esm5/observables/index.js +0 -3
- package/esm5/observables/smart-search.js +0 -18
- package/esm5/observables/taiga-ui-core-observables.js +0 -5
- package/esm5/observables/zoneful-map.js +0 -14
- package/esm5/pipes/calendar-sheet/calendar-sheet.module.js +0 -16
- package/esm5/pipes/calendar-sheet/calendar-sheet.pipe.js +0 -63
- package/esm5/pipes/calendar-sheet/index.js +0 -3
- package/esm5/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js +0 -5
- package/esm5/pipes/calendar-sheet/utils.js +0 -44
- package/esm5/pipes/format-number/format-number.module.js +0 -16
- package/esm5/pipes/format-number/format-number.pipe.js +0 -35
- package/esm5/pipes/format-number/index.js +0 -3
- package/esm5/pipes/format-number/taiga-ui-core-pipes-format-number.js +0 -5
- package/esm5/pipes/format-phone/format-phone.module.js +0 -16
- package/esm5/pipes/format-phone/format-phone.pipe.js +0 -27
- package/esm5/pipes/format-phone/index.js +0 -3
- package/esm5/pipes/format-phone/taiga-ui-core-pipes-format-phone.js +0 -5
- package/esm5/pipes/index.js +0 -6
- package/esm5/pipes/month/index.js +0 -3
- package/esm5/pipes/month/month.module.js +0 -16
- package/esm5/pipes/month/month.pipe.js +0 -25
- package/esm5/pipes/month/taiga-ui-core-pipes-month.js +0 -5
- package/esm5/pipes/pluralize/index.js +0 -3
- package/esm5/pipes/pluralize/pluralize.module.js +0 -17
- package/esm5/pipes/pluralize/pluralize.pipe.js +0 -25
- package/esm5/pipes/pluralize/taiga-ui-core-pipes-pluralize.js +0 -5
- package/esm5/pipes/taiga-ui-core-pipes.js +0 -5
- package/esm5/providers/index.js +0 -4
- package/esm5/providers/is-mobile-resolution.provider.js +0 -18
- package/esm5/providers/mode.provider.js +0 -24
- package/esm5/providers/taiga-ui-core-providers.js +0 -5
- package/esm5/providers/watched-controller-provider-factory.js +0 -12
- package/esm5/services/hint.service.js +0 -60
- package/esm5/services/index.js +0 -5
- package/esm5/services/night-theme.service.js +0 -31
- package/esm5/services/router-link-active.service.js +0 -35
- package/esm5/services/svg.service.js +0 -73
- package/esm5/services/taiga-ui-core-services.js +0 -5
- package/esm5/taiga-ui-core.js +0 -5
- package/esm5/tokens/animation-options.js +0 -10
- package/esm5/tokens/animations-duration.js +0 -5
- package/esm5/tokens/assert-enabled.js +0 -5
- package/esm5/tokens/data-list-accessor.js +0 -3
- package/esm5/tokens/data-list-host.js +0 -3
- package/esm5/tokens/document-or-shadow-root.js +0 -3
- package/esm5/tokens/dropdown-directive.js +0 -3
- package/esm5/tokens/element-ref.js +0 -3
- package/esm5/tokens/first-day-of-week.js +0 -5
- package/esm5/tokens/i18n.js +0 -21
- package/esm5/tokens/icon-place.js +0 -5
- package/esm5/tokens/icons-path.js +0 -5
- package/esm5/tokens/icons.js +0 -5
- package/esm5/tokens/index.js +0 -29
- package/esm5/tokens/is-mobile-resolution.js +0 -14
- package/esm5/tokens/media.js +0 -9
- package/esm5/tokens/mode.js +0 -3
- package/esm5/tokens/notification-options.js +0 -21
- package/esm5/tokens/number-format.js +0 -10
- package/esm5/tokens/option-content.js +0 -3
- package/esm5/tokens/ordered-short-week-days.js +0 -20
- package/esm5/tokens/sanitizer.js +0 -3
- package/esm5/tokens/scroll-ref.js +0 -3
- package/esm5/tokens/svg-content-processor.js +0 -4
- package/esm5/tokens/svg-src-processor.js +0 -6
- package/esm5/tokens/taiga-ui-core-tokens.js +0 -5
- package/esm5/tokens/textfield-appearance.js +0 -5
- package/esm5/tokens/textfield-host.js +0 -3
- package/esm5/tokens/theme.js +0 -5
- package/esm5/tokens/value-accessor.js +0 -3
- package/esm5/types/brightness.js +0 -1
- package/esm5/types/color.js +0 -1
- package/esm5/types/data-list-role.js +0 -1
- package/esm5/types/decimal-symbol.js +0 -1
- package/esm5/types/decimal.js +0 -1
- package/esm5/types/dialog-size.js +0 -1
- package/esm5/types/direction.js +0 -1
- package/esm5/types/dropdown-width.js +0 -1
- package/esm5/types/hint-mode.js +0 -1
- package/esm5/types/index.js +0 -1
- package/esm5/types/marker-handler.js +0 -1
- package/esm5/types/option-role.js +0 -1
- package/esm5/types/orientation.js +0 -1
- package/esm5/types/pluralize.js +0 -1
- package/esm5/types/point.js +0 -1
- package/esm5/types/size.js +0 -11
- package/esm5/types/taiga-ui-core-types.js +0 -4
- package/esm5/utils/dom/are-css-vars-supported.js +0 -11
- package/esm5/utils/dom/check-fixed-position.js +0 -14
- package/esm5/utils/dom/get-safe-area-size.js +0 -20
- package/esm5/utils/dom/get-screen-width.js +0 -9
- package/esm5/utils/dom/get-viewport-height.js +0 -22
- package/esm5/utils/dom/get-viewport-width.js +0 -22
- package/esm5/utils/dom/index.js +0 -8
- package/esm5/utils/dom/process-icon.js +0 -38
- package/esm5/utils/dom/taiga-ui-core-utils-dom.js +0 -5
- package/esm5/utils/format/capitalize-first-letter.js +0 -9
- package/esm5/utils/format/capitalize.js +0 -14
- package/esm5/utils/format/format-number.js +0 -46
- package/esm5/utils/format/format-phone.js +0 -43
- package/esm5/utils/format/get-fractional-part-padded.js +0 -19
- package/esm5/utils/format/index.js +0 -10
- package/esm5/utils/format/number-to-string-without-exp.js +0 -22
- package/esm5/utils/format/other-decimal-symbol.js +0 -9
- package/esm5/utils/format/pluralize-to-icu.js +0 -13
- package/esm5/utils/format/pluralize.js +0 -25
- package/esm5/utils/format/taiga-ui-core-utils-format.js +0 -5
- package/esm5/utils/index.js +0 -7
- package/esm5/utils/mask/create-auto-corrected-money-pipe.js +0 -99
- package/esm5/utils/mask/create-correction-mask.js +0 -27
- package/esm5/utils/mask/create-number-mask.js +0 -125
- package/esm5/utils/mask/enable-auto-correct-decimal-symbol.js +0 -6
- package/esm5/utils/mask/index.js +0 -7
- package/esm5/utils/mask/masked-money-value-is-empty.js +0 -18
- package/esm5/utils/mask/masked-number-string-to-number.js +0 -9
- package/esm5/utils/mask/taiga-ui-core-utils-mask.js +0 -5
- package/esm5/utils/miscellaneous/color-fallback.js +0 -17
- package/esm5/utils/miscellaneous/get-border.js +0 -27
- package/esm5/utils/miscellaneous/icons-path-factory.js +0 -16
- package/esm5/utils/miscellaneous/index.js +0 -7
- package/esm5/utils/miscellaneous/is-editing-key.js +0 -11
- package/esm5/utils/miscellaneous/is-presumed-html-string.js +0 -10
- package/esm5/utils/miscellaneous/size-bigger.js +0 -15
- package/esm5/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js +0 -5
- package/esm5/utils/mobile/index.js +0 -2
- package/esm5/utils/mobile/is-mobile.js +0 -6
- package/esm5/utils/mobile/taiga-ui-core-utils-mobile.js +0 -5
- package/esm5/utils/polyfills/index.js +0 -2
- package/esm5/utils/polyfills/inner-html.js +0 -40
- package/esm5/utils/polyfills/taiga-ui-core-utils-polyfills.js +0 -5
- package/esm5/utils/taiga-ui-core-utils.js +0 -5
- package/fesm2015/taiga-ui-core-directives-color.js +0 -370
- package/fesm2015/taiga-ui-core-directives-color.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-table-mode.js +0 -37
- package/fesm2015/taiga-ui-core-directives-table-mode.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-pluralize.js +0 -38
- package/fesm2015/taiga-ui-core-pipes-pluralize.js.map +0 -1
- package/fesm5/taiga-ui-core-abstract.js +0 -233
- package/fesm5/taiga-ui-core-abstract.js.map +0 -1
- package/fesm5/taiga-ui-core-animations.js +0 -258
- package/fesm5/taiga-ui-core-animations.js.map +0 -1
- package/fesm5/taiga-ui-core-components-alert.js +0 -178
- package/fesm5/taiga-ui-core-components-alert.js.map +0 -1
- package/fesm5/taiga-ui-core-components-button.js +0 -198
- package/fesm5/taiga-ui-core-components-button.js.map +0 -1
- package/fesm5/taiga-ui-core-components-calendar.js +0 -166
- package/fesm5/taiga-ui-core-components-calendar.js.map +0 -1
- package/fesm5/taiga-ui-core-components-data-list.js +0 -428
- package/fesm5/taiga-ui-core-components-data-list.js.map +0 -1
- package/fesm5/taiga-ui-core-components-dialog.js +0 -232
- package/fesm5/taiga-ui-core-components-dialog.js.map +0 -1
- package/fesm5/taiga-ui-core-components-dropdown-box.js +0 -342
- package/fesm5/taiga-ui-core-components-dropdown-box.js.map +0 -1
- package/fesm5/taiga-ui-core-components-error.js +0 -69
- package/fesm5/taiga-ui-core-components-error.js.map +0 -1
- package/fesm5/taiga-ui-core-components-expand.js +0 -185
- package/fesm5/taiga-ui-core-components-expand.js.map +0 -1
- package/fesm5/taiga-ui-core-components-group.js +0 -136
- package/fesm5/taiga-ui-core-components-group.js.map +0 -1
- package/fesm5/taiga-ui-core-components-hints-host.js +0 -347
- package/fesm5/taiga-ui-core-components-hints-host.js.map +0 -1
- package/fesm5/taiga-ui-core-components-hosted-dropdown.js +0 -267
- package/fesm5/taiga-ui-core-components-hosted-dropdown.js.map +0 -1
- package/fesm5/taiga-ui-core-components-label.js +0 -68
- package/fesm5/taiga-ui-core-components-label.js.map +0 -1
- package/fesm5/taiga-ui-core-components-link.js +0 -142
- package/fesm5/taiga-ui-core-components-link.js.map +0 -1
- package/fesm5/taiga-ui-core-components-loader.js +0 -138
- package/fesm5/taiga-ui-core-components-loader.js.map +0 -1
- package/fesm5/taiga-ui-core-components-notification.js +0 -90
- package/fesm5/taiga-ui-core-components-notification.js.map +0 -1
- package/fesm5/taiga-ui-core-components-primitive-calendar.js +0 -196
- package/fesm5/taiga-ui-core-components-primitive-calendar.js.map +0 -1
- package/fesm5/taiga-ui-core-components-primitive-checkbox.js +0 -147
- package/fesm5/taiga-ui-core-components-primitive-checkbox.js.map +0 -1
- package/fesm5/taiga-ui-core-components-primitive-spin-button.js +0 -125
- package/fesm5/taiga-ui-core-components-primitive-spin-button.js.map +0 -1
- package/fesm5/taiga-ui-core-components-primitive-textfield.js +0 -674
- package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +0 -1
- package/fesm5/taiga-ui-core-components-primitive-year-picker.js +0 -200
- package/fesm5/taiga-ui-core-components-primitive-year-picker.js.map +0 -1
- package/fesm5/taiga-ui-core-components-root.js +0 -96
- package/fesm5/taiga-ui-core-components-root.js.map +0 -1
- package/fesm5/taiga-ui-core-components-scroll-controls.js +0 -270
- package/fesm5/taiga-ui-core-components-scroll-controls.js.map +0 -1
- package/fesm5/taiga-ui-core-components-scrollbar.js +0 -158
- package/fesm5/taiga-ui-core-components-scrollbar.js.map +0 -1
- package/fesm5/taiga-ui-core-components-svg.js +0 -226
- package/fesm5/taiga-ui-core-components-svg.js.map +0 -1
- package/fesm5/taiga-ui-core-components-theme-night.js +0 -39
- package/fesm5/taiga-ui-core-components-theme-night.js.map +0 -1
- package/fesm5/taiga-ui-core-components-tooltip.js +0 -122
- package/fesm5/taiga-ui-core-components-tooltip.js.map +0 -1
- package/fesm5/taiga-ui-core-components.js +0 -31
- package/fesm5/taiga-ui-core-components.js.map +0 -1
- package/fesm5/taiga-ui-core-constants.js +0 -76
- package/fesm5/taiga-ui-core-constants.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-color.js +0 -61
- package/fesm5/taiga-ui-core-directives-color.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-described-by.js +0 -96
- package/fesm5/taiga-ui-core-directives-described-by.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-dropdown-controller.js +0 -92
- package/fesm5/taiga-ui-core-directives-dropdown-controller.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-dropdown.js +0 -75
- package/fesm5/taiga-ui-core-directives-dropdown.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-hint-controller.js +0 -94
- package/fesm5/taiga-ui-core-directives-hint-controller.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-hint.js +0 -174
- package/fesm5/taiga-ui-core-directives-hint.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-manual-hint.js +0 -84
- package/fesm5/taiga-ui-core-directives-manual-hint.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-mask-accessor.js +0 -49
- package/fesm5/taiga-ui-core-directives-mask-accessor.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-mode.js +0 -40
- package/fesm5/taiga-ui-core-directives-mode.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-pointer-hint.js +0 -136
- package/fesm5/taiga-ui-core-directives-pointer-hint.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-scroll-into-view.js +0 -77
- package/fesm5/taiga-ui-core-directives-scroll-into-view.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-table-mode.js +0 -43
- package/fesm5/taiga-ui-core-directives-table-mode.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-textfield-controller.js +0 -460
- package/fesm5/taiga-ui-core-directives-textfield-controller.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-wrapper.js +0 -138
- package/fesm5/taiga-ui-core-directives-wrapper.js.map +0 -1
- package/fesm5/taiga-ui-core-directives.js +0 -19
- package/fesm5/taiga-ui-core-directives.js.map +0 -1
- package/fesm5/taiga-ui-core-enums.js +0 -153
- package/fesm5/taiga-ui-core-enums.js.map +0 -1
- package/fesm5/taiga-ui-core-interfaces.js +0 -4
- package/fesm5/taiga-ui-core-interfaces.js.map +0 -1
- package/fesm5/taiga-ui-core-internal-primitive-year-month-pagination.js +0 -118
- package/fesm5/taiga-ui-core-internal-primitive-year-month-pagination.js.map +0 -1
- package/fesm5/taiga-ui-core-internal-svg-defs-host.js +0 -69
- package/fesm5/taiga-ui-core-internal-svg-defs-host.js.map +0 -1
- package/fesm5/taiga-ui-core-internal.js +0 -7
- package/fesm5/taiga-ui-core-internal.js.map +0 -1
- package/fesm5/taiga-ui-core-mask.js +0 -4
- package/fesm5/taiga-ui-core-mask.js.map +0 -1
- package/fesm5/taiga-ui-core-observables.js +0 -37
- package/fesm5/taiga-ui-core-observables.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes-calendar-sheet.js +0 -123
- package/fesm5/taiga-ui-core-pipes-calendar-sheet.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes-format-number.js +0 -53
- package/fesm5/taiga-ui-core-pipes-format-number.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes-format-phone.js +0 -45
- package/fesm5/taiga-ui-core-pipes-format-phone.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes-month.js +0 -43
- package/fesm5/taiga-ui-core-pipes-month.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes-pluralize.js +0 -44
- package/fesm5/taiga-ui-core-pipes-pluralize.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes.js +0 -10
- package/fesm5/taiga-ui-core-pipes.js.map +0 -1
- package/fesm5/taiga-ui-core-providers.js +0 -58
- package/fesm5/taiga-ui-core-providers.js.map +0 -1
- package/fesm5/taiga-ui-core-services.js +0 -184
- package/fesm5/taiga-ui-core-services.js.map +0 -1
- package/fesm5/taiga-ui-core-tokens.js +0 -160
- package/fesm5/taiga-ui-core-tokens.js.map +0 -1
- package/fesm5/taiga-ui-core-types.js +0 -4
- package/fesm5/taiga-ui-core-types.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-dom.js +0 -143
- package/fesm5/taiga-ui-core-utils-dom.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-format.js +0 -202
- package/fesm5/taiga-ui-core-utils-format.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-mask.js +0 -285
- package/fesm5/taiga-ui-core-utils-mask.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-miscellaneous.js +0 -102
- package/fesm5/taiga-ui-core-utils-miscellaneous.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-mobile.js +0 -13
- package/fesm5/taiga-ui-core-utils-mobile.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-polyfills.js +0 -47
- package/fesm5/taiga-ui-core-utils-polyfills.js.map +0 -1
- package/fesm5/taiga-ui-core-utils.js +0 -11
- package/fesm5/taiga-ui-core-utils.js.map +0 -1
- package/fesm5/taiga-ui-core.js +0 -18
- package/fesm5/taiga-ui-core.js.map +0 -1
- package/interfaces/notification-options.d.ts +0 -17
- package/interfaces/taiga-ui-core-interfaces.metadata.json +0 -1
- package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.metadata.json +0 -1
- package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.metadata.json +0 -1
- package/internal/taiga-ui-core-internal.metadata.json +0 -1
- package/mask/taiga-ui-core-mask.metadata.json +0 -1
- package/observables/taiga-ui-core-observables.metadata.json +0 -1
- package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.metadata.json +0 -1
- package/pipes/format-number/taiga-ui-core-pipes-format-number.metadata.json +0 -1
- package/pipes/format-phone/taiga-ui-core-pipes-format-phone.metadata.json +0 -1
- package/pipes/month/taiga-ui-core-pipes-month.metadata.json +0 -1
- package/pipes/pluralize/index.d.ts +0 -2
- package/pipes/pluralize/package.json +0 -13
- package/pipes/pluralize/pluralize.module.d.ts +0 -3
- package/pipes/pluralize/pluralize.pipe.d.ts +0 -14
- package/pipes/pluralize/taiga-ui-core-pipes-pluralize.d.ts +0 -4
- package/pipes/pluralize/taiga-ui-core-pipes-pluralize.metadata.json +0 -1
- package/pipes/taiga-ui-core-pipes.metadata.json +0 -1
- package/providers/taiga-ui-core-providers.metadata.json +0 -1
- package/services/taiga-ui-core-services.metadata.json +0 -1
- package/taiga-ui-core.metadata.json +0 -1
- package/tokens/taiga-ui-core-tokens.metadata.json +0 -1
- package/types/color.d.ts +0 -3
- package/types/pluralize.d.ts +0 -4
- package/types/taiga-ui-core-types.metadata.json +0 -1
- package/utils/dom/are-css-vars-supported.d.ts +0 -6
- package/utils/dom/taiga-ui-core-utils-dom.metadata.json +0 -1
- package/utils/format/pluralize-to-icu.d.ts +0 -5
- package/utils/format/pluralize.d.ts +0 -10
- package/utils/format/taiga-ui-core-utils-format.metadata.json +0 -1
- package/utils/mask/taiga-ui-core-utils-mask.metadata.json +0 -1
- package/utils/miscellaneous/color-fallback.d.ts +0 -4
- package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.metadata.json +0 -1
- package/utils/mobile/taiga-ui-core-utils-mobile.metadata.json +0 -1
- package/utils/polyfills/taiga-ui-core-utils-polyfills.metadata.json +0 -1
- package/utils/taiga-ui-core-utils.metadata.json +0 -1
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { __read, __spread } from "tslib";
|
|
2
|
-
import { CHAR_EN_DASH, CHAR_HYPHEN, CHAR_NO_BREAK_SPACE, tuiAssert } from '@taiga-ui/cdk';
|
|
3
|
-
import { MASK_CARET_TRAP, TUI_DIGIT_REGEXP, TUI_LEADING_ZEROES_REGEXP, TUI_NON_DIGITS_REGEXP, } from '@taiga-ui/core/constants';
|
|
4
|
-
import { otherDecimalSymbol } from '@taiga-ui/core/utils/format';
|
|
5
|
-
var NON_ZERO_DIGIT = /[1-9]/;
|
|
6
|
-
/**
|
|
7
|
-
* Adaptation for {@link https://github.com/text-mask/text-mask/tree/master/addons#createnumbermask `createNumberMask`}
|
|
8
|
-
*/
|
|
9
|
-
export function tuiCreateNumberMask(_a) {
|
|
10
|
-
var _b = _a === void 0 ? {} : _a, _c = _b.allowDecimal, allowDecimal = _c === void 0 ? false : _c, _d = _b.decimalSymbol, decimalSymbol = _d === void 0 ? ',' : _d, _e = _b.thousandSymbol, thousandSymbol = _e === void 0 ? CHAR_NO_BREAK_SPACE : _e, _f = _b.autoCorrectDecimalSymbol, autoCorrectDecimalSymbol = _f === void 0 ? true : _f, _g = _b.decimalLimit, decimalLimit = _g === void 0 ? 2 : _g, _h = _b.requireDecimal, requireDecimal = _h === void 0 ? false : _h, _j = _b.allowNegative, allowNegative = _j === void 0 ? false : _j, _k = _b.integerLimit, integerLimit = _k === void 0 ? 0 : _k;
|
|
11
|
-
tuiAssert.assert(Number.isInteger(decimalLimit));
|
|
12
|
-
tuiAssert.assert(decimalLimit >= 0);
|
|
13
|
-
tuiAssert.assert(Number.isInteger(integerLimit));
|
|
14
|
-
tuiAssert.assert(integerLimit >= 0);
|
|
15
|
-
return function (rawValue, _a) {
|
|
16
|
-
var previousConformedValue = _a.previousConformedValue;
|
|
17
|
-
if (previousConformedValue && requireDecimal) {
|
|
18
|
-
var conformedWithoutSeparator = rawValue.split(thousandSymbol).join('');
|
|
19
|
-
var previousConformedValueWithoutDecimalSymbolAndSeparator = previousConformedValue
|
|
20
|
-
.split(thousandSymbol)
|
|
21
|
-
.join('')
|
|
22
|
-
.split(decimalSymbol)
|
|
23
|
-
.join('');
|
|
24
|
-
// Forbid removal of decimal separator if decimal part is required
|
|
25
|
-
if (conformedWithoutSeparator ===
|
|
26
|
-
previousConformedValueWithoutDecimalSymbolAndSeparator) {
|
|
27
|
-
rawValue = previousConformedValue;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
var isNegative = (rawValue[0] === CHAR_HYPHEN || rawValue[0] === CHAR_EN_DASH) &&
|
|
31
|
-
allowNegative;
|
|
32
|
-
if (isDecimalSymbol(rawValue, decimalSymbol, autoCorrectDecimalSymbol) &&
|
|
33
|
-
allowDecimal) {
|
|
34
|
-
return ['0', decimalSymbol, TUI_DIGIT_REGEXP];
|
|
35
|
-
}
|
|
36
|
-
if (isNegative) {
|
|
37
|
-
rawValue = rawValue.slice(1);
|
|
38
|
-
}
|
|
39
|
-
var decimalIndex = getDecimalSymbolIndex(rawValue, decimalSymbol, autoCorrectDecimalSymbol);
|
|
40
|
-
var hasDecimal = decimalIndex !== -1;
|
|
41
|
-
var integer = hasDecimal ? rawValue.slice(0, decimalIndex) : rawValue;
|
|
42
|
-
var thousandSeparators = integer.match(new RegExp(thousandSymbol, 'g')) || [];
|
|
43
|
-
var integerCapped = integerLimit
|
|
44
|
-
? integer.slice(0, integerLimit + thousandSeparators.length)
|
|
45
|
-
: integer;
|
|
46
|
-
var integerCappedClean = integerCapped.replace(TUI_NON_DIGITS_REGEXP, '');
|
|
47
|
-
var _b = __read(integerCappedClean.match(TUI_LEADING_ZEROES_REGEXP) || [''], 1), leadingZerosMatch = _b[0];
|
|
48
|
-
var leadingZerosAmount = leadingZerosMatch.length;
|
|
49
|
-
var integerCappedZerosClean = integerCappedClean
|
|
50
|
-
.replace(/^0+(?!\.|$)/, '')
|
|
51
|
-
.trim();
|
|
52
|
-
var withSeparator = addThousandsSeparator(integerCappedZerosClean, thousandSymbol);
|
|
53
|
-
var mask = convertToMask(withSeparator);
|
|
54
|
-
if ((hasDecimal && allowDecimal) || requireDecimal) {
|
|
55
|
-
var fraction = hasDecimal
|
|
56
|
-
? convertToMask(rawValue.slice(decimalIndex + 1).replace(TUI_NON_DIGITS_REGEXP, ''))
|
|
57
|
-
: [];
|
|
58
|
-
var fractionCapped = decimalLimit
|
|
59
|
-
? fraction.slice(0, decimalLimit)
|
|
60
|
-
: fraction;
|
|
61
|
-
if (rawValue[decimalIndex] !== otherDecimalSymbol(decimalSymbol)) {
|
|
62
|
-
mask.push(MASK_CARET_TRAP);
|
|
63
|
-
}
|
|
64
|
-
mask.push.apply(mask, __spread([decimalSymbol, MASK_CARET_TRAP], fractionCapped));
|
|
65
|
-
for (var i = 0; i < decimalLimit - fractionCapped.length; i++) {
|
|
66
|
-
mask.push(TUI_DIGIT_REGEXP);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
var isOnlyZeroDigit = mask.length === 1 && integerCappedZerosClean === '0';
|
|
70
|
-
if (isNegative) {
|
|
71
|
-
if (mask.length === 0) {
|
|
72
|
-
mask.push(TUI_DIGIT_REGEXP);
|
|
73
|
-
}
|
|
74
|
-
mask.unshift(CHAR_HYPHEN);
|
|
75
|
-
}
|
|
76
|
-
return preventLeadingZeroes(mask, isOnlyZeroDigit, leadingZerosAmount);
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
function preventLeadingZeroes(mask, isOnlyZeroDigit, leadingZerosAmount) {
|
|
80
|
-
if (isOnlyZeroDigit === void 0) { isOnlyZeroDigit = false; }
|
|
81
|
-
if (leadingZerosAmount === void 0) { leadingZerosAmount = 0; }
|
|
82
|
-
if (isOnlyZeroDigit || leadingZerosAmount === 0) {
|
|
83
|
-
return mask;
|
|
84
|
-
}
|
|
85
|
-
var firstDigitIndex = mask.indexOf(TUI_DIGIT_REGEXP);
|
|
86
|
-
if (firstDigitIndex === -1) {
|
|
87
|
-
return mask;
|
|
88
|
-
}
|
|
89
|
-
var secondMaskDigit = mask[firstDigitIndex + 1];
|
|
90
|
-
var isCaretTrap = secondMaskDigit === MASK_CARET_TRAP;
|
|
91
|
-
if (isCaretTrap && leadingZerosAmount === 1) {
|
|
92
|
-
return mask;
|
|
93
|
-
}
|
|
94
|
-
else if (isCaretTrap) {
|
|
95
|
-
mask.unshift(NON_ZERO_DIGIT);
|
|
96
|
-
return mask;
|
|
97
|
-
}
|
|
98
|
-
mask[firstDigitIndex] = NON_ZERO_DIGIT;
|
|
99
|
-
return mask;
|
|
100
|
-
}
|
|
101
|
-
function getDecimalSymbolIndex(str, decimalSymbol, autoCorrectDecimalSymbol) {
|
|
102
|
-
if (!autoCorrectDecimalSymbol) {
|
|
103
|
-
return str.lastIndexOf(decimalSymbol);
|
|
104
|
-
}
|
|
105
|
-
return Math.max(str.lastIndexOf(decimalSymbol), str.lastIndexOf(otherDecimalSymbol(decimalSymbol)));
|
|
106
|
-
}
|
|
107
|
-
function isDecimalSymbol(str, decimalSymbol, autoCorrectDecimalSymbol) {
|
|
108
|
-
if (autoCorrectDecimalSymbol) {
|
|
109
|
-
return /^[,.]$/.test(str);
|
|
110
|
-
}
|
|
111
|
-
return str === decimalSymbol;
|
|
112
|
-
}
|
|
113
|
-
function convertToMask(strNumber) {
|
|
114
|
-
return strNumber
|
|
115
|
-
.split('')
|
|
116
|
-
.map(function (char) { return (TUI_DIGIT_REGEXP.test(char) ? TUI_DIGIT_REGEXP : char); });
|
|
117
|
-
}
|
|
118
|
-
function addThousandsSeparator(strNumber, thousandSymbol) {
|
|
119
|
-
return strNumber.length > 3
|
|
120
|
-
? // TODO: investigate to disallow potentially catastrophic exponential-time regular expressions.
|
|
121
|
-
// eslint-disable-next-line unicorn/no-unsafe-regex
|
|
122
|
-
strNumber.replace(/\B(?=(\d{3})+(?!\d))/g, thousandSymbol)
|
|
123
|
-
: strNumber;
|
|
124
|
-
}
|
|
125
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLW51bWJlci1tYXNrLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2NvcmUvdXRpbHMvbWFzay8iLCJzb3VyY2VzIjpbImNyZWF0ZS1udW1iZXItbWFzay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLFlBQVksRUFBRSxXQUFXLEVBQUUsbUJBQW1CLEVBQUUsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3hGLE9BQU8sRUFDSCxlQUFlLEVBQ2YsZ0JBQWdCLEVBQ2hCLHlCQUF5QixFQUN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ZWNpbWFsKSB8fCByZXF1aXJlRGVjaW1hbCkge1xuICAgICAgICAgICAgY29uc3QgZnJhY3Rpb24gPSBoYXNEZWNpbWFsXG4gICAgICAgICAgICAgICAgPyBjb252ZXJ0VG9NYXNrKFxuICAgICAgICAgICAgICAgICAgICAgIHJhd1ZhbHVlLnNsaWNlKGRlY2ltYWxJbmRleCArIDEpLnJlcGxhY2UoVFVJX05PTl9ESUdJVFNfUkVHRVhQLCAnJyksXG4gICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgOiBbXTtcbiAgICAgICAgICAgIGNvbnN0IGZyYWN0aW9uQ2FwcGVkID0gZGVjaW1hbExpbWl0XG4gICAgICAgICAgICAgICAgPyBmcmFjdGlvbi5zbGljZSgwLCBkZWNpbWFsTGltaXQpXG4gICAgICAgICAgICAgICAgOiBmcmFjdGlvbjtcblxuICAgICAgICAgICAgaWYgKHJhd1ZhbHVlW2RlY2ltYWxJbmRleF0gIT09IG90aGVyRGVjaW1hbFN5bWJvbChkZWNpbWFsU3ltYm9sKSkge1xuICAgICAgICAgICAgICAgIG1hc2sucHVzaChNQVNLX0NBUkVUX1RSQVApO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBtYXNrLnB1c2goZGVjaW1hbFN5bWJvbCwgTUFTS19DQVJFVF9UUkFQLCAuLi5mcmFjdGlvbkNhcHBlZCk7XG5cbiAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgZGVjaW1hbExpbWl0IC0gZnJhY3Rpb25DYXBwZWQubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgICAgICAgICBtYXNrLnB1c2goVFVJX0RJR0lUX1JFR0VYUCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBjb25zdCBpc09ubHlaZXJvRGlnaXQgPSBtYXNrLmxlbmd0aCA9PT0gMSAmJiBpbnRlZ2VyQ2FwcGVkWmVyb3NDbGVhbiA9PT0gJzAnO1xuXG4gICAgICAgIGlmICh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uY3Rpb24gY29udmVydFRvTWFzayhzdHJOdW1iZXI6IHN0cmluZyk6IEFycmF5PHN0cmluZyB8IFJlZ0V4cD4ge1xuICAgIHJldHVybiBzdHJOdW1iZXJcbiAgICAgICAgLnNwbGl0KCcnKVxuICAgICAgICAubWFwKGNoYXIgPT4gKFRVSV9ESUdJVF9SRUdFWFAudGVzdChjaGFyKSA/IFRVSV9ESUdJVF9SRUdFWFAgOiBjaGFyKSk7XG59XG5cbmZ1bmN0aW9uIGFkZFRob3VzYW5kc1NlcGFyYXRvcihzdHJOdW1iZXI6IHN0cmluZywgdGhvdXNhbmRTeW1ib2w6IHN0cmluZyk6IHN0cmluZyB7XG4gICAgcmV0dXJuIHN0ck51bWJlci5sZW5ndGggPiAzXG4gICAgICAgID8gLy8gVE9ETzogaW52ZXN0aWdhdGUgdG8gZGlzYWxsb3cgcG90ZW50aWFsbHkgY2F0YXN0cm9waGljIGV4cG9uZW50aWFsLXRpbWUgcmVndWxhciBleHByZXNzaW9ucy5cbiAgICAgICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgdW5pY29ybi9uby11bnNhZmUtcmVnZXhcbiAgICAgICAgICBzdHJOdW1iZXIucmVwbGFjZSgvXFxCKD89KFxcZHszfSkrKD8hXFxkKSkvZywgdGhvdXNhbmRTeW1ib2wpXG4gICAgICAgIDogc3RyTnVtYmVyO1xufVxuIl19
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { TUI_DECIMAL_SYMBOLS } from '@taiga-ui/core/constants';
|
|
2
|
-
export function tuiEnableAutoCorrectDecimalSymbol(_a) {
|
|
3
|
-
var thousandSeparator = _a.thousandSeparator;
|
|
4
|
-
return !TUI_DECIMAL_SYMBOLS.includes(thousandSeparator);
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5hYmxlLWF1dG8tY29ycmVjdC1kZWNpbWFsLXN5bWJvbC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL3V0aWxzL21hc2svIiwic291cmNlcyI6WyJlbmFibGUtYXV0by1jb3JyZWN0LWRlY2ltYWwtc3ltYm9sLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBRzdELE1BQU0sVUFBVSxpQ0FBaUMsQ0FBQyxFQUV4QjtRQUR0Qix3Q0FBaUI7SUFFakIsT0FBTyxDQUFDLG1CQUFtQixDQUFDLFFBQVEsQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDO0FBQzVELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1RVSV9ERUNJTUFMX1NZTUJPTFN9IGZyb20gJ0B0YWlnYS11aS9jb3JlL2NvbnN0YW50cyc7XG5pbXBvcnQge1R1aU51bWJlckZvcm1hdFNldHRpbmdzfSBmcm9tICdAdGFpZ2EtdWkvY29yZS9pbnRlcmZhY2VzJztcblxuZXhwb3J0IGZ1bmN0aW9uIHR1aUVuYWJsZUF1dG9Db3JyZWN0RGVjaW1hbFN5bWJvbCh7XG4gICAgdGhvdXNhbmRTZXBhcmF0b3IsXG59OiBUdWlOdW1iZXJGb3JtYXRTZXR0aW5ncyk6IGJvb2xlYW4ge1xuICAgIHJldHVybiAhVFVJX0RFQ0lNQUxfU1lNQk9MUy5pbmNsdWRlcyh0aG91c2FuZFNlcGFyYXRvcik7XG59XG4iXX0=
|
package/esm5/utils/mask/index.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './create-auto-corrected-money-pipe';
|
|
2
|
-
export * from './create-correction-mask';
|
|
3
|
-
export * from './create-number-mask';
|
|
4
|
-
export * from './enable-auto-correct-decimal-symbol';
|
|
5
|
-
export * from './masked-money-value-is-empty';
|
|
6
|
-
export * from './masked-number-string-to-number';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS91dGlscy9tYXNrLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQ0FBb0MsQ0FBQztBQUNuRCxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxzQ0FBc0MsQ0FBQztBQUNyRCxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsa0NBQWtDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NyZWF0ZS1hdXRvLWNvcnJlY3RlZC1tb25leS1waXBlJztcbmV4cG9ydCAqIGZyb20gJy4vY3JlYXRlLWNvcnJlY3Rpb24tbWFzayc7XG5leHBvcnQgKiBmcm9tICcuL2NyZWF0ZS1udW1iZXItbWFzayc7XG5leHBvcnQgKiBmcm9tICcuL2VuYWJsZS1hdXRvLWNvcnJlY3QtZGVjaW1hbC1zeW1ib2wnO1xuZXhwb3J0ICogZnJvbSAnLi9tYXNrZWQtbW9uZXktdmFsdWUtaXMtZW1wdHknO1xuZXhwb3J0ICogZnJvbSAnLi9tYXNrZWQtbnVtYmVyLXN0cmluZy10by1udW1iZXInO1xuIl19
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CHAR_HYPHEN } from '@taiga-ui/cdk';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated: use {@link tuiMaskedMoneyValueIsEmpty} instead
|
|
4
|
-
*/
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6
|
-
export function maskedMoneyValueIsEmpty(value) {
|
|
7
|
-
switch (value) {
|
|
8
|
-
case '':
|
|
9
|
-
case CHAR_HYPHEN:
|
|
10
|
-
case ',':
|
|
11
|
-
case CHAR_HYPHEN + ",":
|
|
12
|
-
return true;
|
|
13
|
-
default:
|
|
14
|
-
return false;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
export var tuiMaskedMoneyValueIsEmpty = maskedMoneyValueIsEmpty;
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFza2VkLW1vbmV5LXZhbHVlLWlzLWVtcHR5LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2NvcmUvdXRpbHMvbWFzay8iLCJzb3VyY2VzIjpbIm1hc2tlZC1tb25leS12YWx1ZS1pcy1lbXB0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRTFDOztHQUVHO0FBQ0gsZ0VBQWdFO0FBQ2hFLE1BQU0sVUFBVSx1QkFBdUIsQ0FBQyxLQUFhO0lBQ2pELFFBQVEsS0FBSyxFQUFFO1FBQ1gsS0FBSyxFQUFFLENBQUM7UUFDUixLQUFLLFdBQVcsQ0FBQztRQUNqQixLQUFLLEdBQUcsQ0FBQztRQUNULEtBQVEsV0FBVyxNQUFHO1lBQ2xCLE9BQU8sSUFBSSxDQUFDO1FBQ2hCO1lBQ0ksT0FBTyxLQUFLLENBQUM7S0FDcEI7QUFDTCxDQUFDO0FBRUQsTUFBTSxDQUFDLElBQU0sMEJBQTBCLEdBQUcsdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NIQVJfSFlQSEVOfSBmcm9tICdAdGFpZ2EtdWkvY2RrJztcblxuLyoqXG4gKiBAZGVwcmVjYXRlZDogdXNlIHtAbGluayB0dWlNYXNrZWRNb25leVZhbHVlSXNFbXB0eX0gaW5zdGVhZFxuICovXG4vLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25hbWluZy1jb252ZW50aW9uXG5leHBvcnQgZnVuY3Rpb24gbWFza2VkTW9uZXlWYWx1ZUlzRW1wdHkodmFsdWU6IHN0cmluZyk6IGJvb2xlYW4ge1xuICAgIHN3aXRjaCAodmFsdWUpIHtcbiAgICAgICAgY2FzZSAnJzpcbiAgICAgICAgY2FzZSBDSEFSX0hZUEhFTjpcbiAgICAgICAgY2FzZSAnLCc6XG4gICAgICAgIGNhc2UgYCR7Q0hBUl9IWVBIRU59LGA6XG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICB9XG59XG5cbmV4cG9ydCBjb25zdCB0dWlNYXNrZWRNb25leVZhbHVlSXNFbXB0eSA9IG1hc2tlZE1vbmV5VmFsdWVJc0VtcHR5O1xuIl19
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated: use {@link tuiMaskedNumberStringToNumber} instead
|
|
3
|
-
*/
|
|
4
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
5
|
-
export function maskedNumberStringToNumber(value, decimalsSymbol, thousandSymbol) {
|
|
6
|
-
return parseFloat(value.split(thousandSymbol).join('').split(decimalsSymbol).join('.'));
|
|
7
|
-
}
|
|
8
|
-
export var tuiMaskedNumberStringToNumber = maskedNumberStringToNumber;
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFza2VkLW51bWJlci1zdHJpbmctdG8tbnVtYmVyLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2NvcmUvdXRpbHMvbWFzay8iLCJzb3VyY2VzIjpbIm1hc2tlZC1udW1iZXItc3RyaW5nLXRvLW51bWJlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTs7R0FFRztBQUNILGdFQUFnRTtBQUNoRSxNQUFNLFVBQVUsMEJBQTBCLENBQ3RDLEt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
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS11dGlscy1tYXNrLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2NvcmUvdXRpbHMvbWFzay8iLCJzb3VyY2VzIjpbInRhaWdhLXVpLWNvcmUtdXRpbHMtbWFzay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated has been deleted in 3.0, please use CSS variables
|
|
3
|
-
*/
|
|
4
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
5
|
-
export function colorFallback(color) {
|
|
6
|
-
switch (color) {
|
|
7
|
-
case 'secondary':
|
|
8
|
-
return 'var(--tui-info-fill)';
|
|
9
|
-
case 'error':
|
|
10
|
-
return 'var(--tui-error-fill)';
|
|
11
|
-
case 'success':
|
|
12
|
-
return 'var(--tui-success-fill)';
|
|
13
|
-
default:
|
|
14
|
-
return "var(--tui-" + (color || 'base-05') + ")";
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3ItZmFsbGJhY2suanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS91dGlscy9taXNjZWxsYW5lb3VzLyIsInNvdXJjZXMiOlsiY29sb3ItZmFsbGJhY2sudHMiXSwibmFtZXMiOltdLCJtY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 -1,27 +0,0 @@
|
|
|
1
|
-
var ITEM_SIZE = 1.5;
|
|
2
|
-
var CONTENT_SIZE = 2.5;
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated: use {@link tuiGetBorder} instead
|
|
5
|
-
*/
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
-
export function getBorder(hasIcon, hasCleaner, hasTooltip, hasContent) {
|
|
8
|
-
if (hasCleaner === void 0) { hasCleaner = false; }
|
|
9
|
-
if (hasTooltip === void 0) { hasTooltip = false; }
|
|
10
|
-
if (hasContent === void 0) { hasContent = false; }
|
|
11
|
-
var border = 0;
|
|
12
|
-
if (hasIcon) {
|
|
13
|
-
border += ITEM_SIZE;
|
|
14
|
-
}
|
|
15
|
-
if (hasCleaner) {
|
|
16
|
-
border += ITEM_SIZE;
|
|
17
|
-
}
|
|
18
|
-
if (hasTooltip) {
|
|
19
|
-
border += ITEM_SIZE;
|
|
20
|
-
}
|
|
21
|
-
if (hasContent) {
|
|
22
|
-
border += CONTENT_SIZE;
|
|
23
|
-
}
|
|
24
|
-
return border;
|
|
25
|
-
}
|
|
26
|
-
export var tuiGetBorder = getBorder;
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWJvcmRlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL3V0aWxzL21pc2NlbGxhbmVvdXMvIiwic291cmNlcyI6WyJnZXQtYm9yZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQU0sU0FBUyxHQUFHLEdBQUcsQ0FBQztBQUN0QixJQUFNLFlBQVksR0FBRyxHQUFHLENBQUM7QUFFekI7O0dBRUc7QUFDSCxnRUFBZ0U7QUFDaEUsTUFBTSxVQUFVLFNBQVMsQ0FDckIsT0FBZ0IsRUFDaEIsVUFBMkIsRUFDM0IsVUFBMkIsRUFDM0IsVUFBMkI7SUFGM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IgKz0gSVRFTV9TSVpFO1xuICAgIH1cblxuICAgIGlmIChoYXNDbGVhbmVyKSB7XG4gICAgICAgIGJvcmRlciArPSBJVEVNX1NJWkU7XG4gICAgfVxuXG4gICAgaWYgKGhhc1Rvb2x0aXApIHtcbiAgICAgICAgYm9yZGVyICs9IElURU1fU0laRTtcbiAgICB9XG5cbiAgICBpZiAoaGFzQ29udGVudCkge1xuICAgICAgICBib3JkZXIgKz0gQ09OVEVOVF9TSVpFO1xuICAgIH1cblxuICAgIHJldHVybiBib3JkZXI7XG59XG5cbmV4cG9ydCBjb25zdCB0dWlHZXRCb3JkZXIgPSBnZXRCb3JkZXI7XG4iXX0=
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { DEFAULT_ICONS_PATH } from '@taiga-ui/core/constants';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated: use {@link tuiIconsPathFactory} instead
|
|
4
|
-
*/
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6
|
-
export function iconsPathFactory(staticPath) {
|
|
7
|
-
var base = staticPath[staticPath.length - 1] === '/' ? staticPath : staticPath + "/";
|
|
8
|
-
return function (name) {
|
|
9
|
-
if (name.startsWith('tuiIcon')) {
|
|
10
|
-
return "" + base + name + ".svg#" + name;
|
|
11
|
-
}
|
|
12
|
-
return DEFAULT_ICONS_PATH(name);
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export var tuiIconsPathFactory = iconsPathFactory;
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbnMtcGF0aC1mYWN0b3J5LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2NvcmUvdXRpbHMvbWlzY2VsbGFuZW91cy8iLCJzb3VyY2VzIjpbImljb25zLXBhdGgtZmFjdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUMsa0JBQWtCLE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gICAgc3RhdGljUGF0aFtzdGF0aWNQYXRoLmxlbmd0aCAtIDFdID09PSAnLycgPyBzdGF0aWNQYXRoIDogYCR7c3RhdGljUGF0aH0vYDtcblxuICAgIHJldHVybiBuYW1lID0+IHtcbiAgICAgICAgaWYgKG5hbWUuc3RhcnRzV2l0aCgndHVpSWNvbicpKSB7XG4gICAgICAgICAgICByZXR1cm4gYCR7YmFzZX0ke25hbWV9LnN2ZyMke25hbWV9YDtcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiBERUZBVUxUX0lDT05TX1BBVEgobmFtZSk7XG4gICAgfTtcbn1cblxuZXhwb3J0IGNvbnN0IHR1aUljb25zUGF0aEZhY3RvcnkgPSBpY29uc1BhdGhGYWN0b3J5O1xuIl19
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './color-fallback';
|
|
2
|
-
export * from './get-border';
|
|
3
|
-
export * from './icons-path-factory';
|
|
4
|
-
export * from './is-editing-key';
|
|
5
|
-
export * from './is-presumed-html-string';
|
|
6
|
-
export * from './size-bigger';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS91dGlscy9taXNjZWxsYW5lb3VzLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLGVBQWUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29sb3ItZmFsbGJhY2snO1xuZXhwb3J0ICogZnJvbSAnLi9nZXQtYm9yZGVyJztcbmV4cG9ydCAqIGZyb20gJy4vaWNvbnMtcGF0aC1mYWN0b3J5JztcbmV4cG9ydCAqIGZyb20gJy4vaXMtZWRpdGluZy1rZXknO1xuZXhwb3J0ICogZnJvbSAnLi9pcy1wcmVzdW1lZC1odG1sLXN0cmluZyc7XG5leHBvcnQgKiBmcm9tICcuL3NpemUtYmlnZ2VyJztcbiJdfQ==
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { tuiEditingKeys } from '@taiga-ui/core/constants';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated: use {@link tuiIsEditingKey} instead
|
|
4
|
-
* Check if pressed key is interactive in terms of input field
|
|
5
|
-
*/
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
-
export function isEditingKey(key) {
|
|
8
|
-
return key.length === 1 || tuiEditingKeys.includes(key);
|
|
9
|
-
}
|
|
10
|
-
export var tuiIsEditingKey = isEditingKey;
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtZWRpdGluZy1rZXkuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS91dGlscy9taXNjZWxsYW5lb3VzLyIsInNvdXJjZXMiOlsiaXMtZWRpdGluZy1rZXkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGNBQWMsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBRXhEOzs7R0FHRztBQUNILGdFQUFnRTtBQUNoRSxNQUFNLFVBQVUsWUFBWSxDQUFDLEdBQVc7SUFDcEMsT0FBTyxHQUFHLENBQUMsTUFBTSxLQUFLLENBQUMsSUFBSSxjQUFjLENBQUMsUUFBUSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQzVELENBQUM7QUFFRCxNQUFNLENBQUMsSUFBTSxlQUFlLEdBQUcsWUFBWSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHt0dWlFZGl0aW5nS2V5c30gZnJvbSAnQHRhaWdhLXVpL2NvcmUvY29uc3RhbnRzJztcblxuLyoqXG4gKiBAZGVwcmVjYXRlZDogdXNlIHtAbGluayB0dWlJc0VkaXRpbmdLZXl9IGluc3RlYWRcbiAqIENoZWNrIGlmIHByZXNzZWQga2V5IGlzIGludGVyYWN0aXZlIGluIHRlcm1zIG9mIGlucHV0IGZpZWxkXG4gKi9cbi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbmFtaW5nLWNvbnZlbnRpb25cbmV4cG9ydCBmdW5jdGlvbiBpc0VkaXRpbmdLZXkoa2V5OiBzdHJpbmcpOiBib29sZWFuIHtcbiAgICByZXR1cm4ga2V5Lmxlbmd0aCA9PT0gMSB8fCB0dWlFZGl0aW5nS2V5cy5pbmNsdWRlcyhrZXkpO1xufVxuXG5leHBvcnQgY29uc3QgdHVpSXNFZGl0aW5nS2V5ID0gaXNFZGl0aW5nS2V5O1xuIl19
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated: use {@link tuiIsPresumedHTMLString} instead
|
|
3
|
-
*/
|
|
4
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
5
|
-
export function isPresumedHTMLString(candidate) {
|
|
6
|
-
var trimmed = candidate.trim();
|
|
7
|
-
return trimmed.startsWith('<') && trimmed.endsWith('>');
|
|
8
|
-
}
|
|
9
|
-
export var tuiIsPresumedHTMLString = isPresumedHTMLString;
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtcHJlc3VtZWQtaHRtbC1zdHJpbmcuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS91dGlscy9taXNjZWxsYW5lb3VzLyIsInNvdXJjZXMiOlsiaXMtcHJlc3VtZWQtaHRtbC1zdHJpbmcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFDSCxnRUFBZ0U7QUFDaEUsTUFBTSxVQUFVLG9CQUFvQixDQUFDLFNBQWlCO0lBQ2xELElBQU0sT0FBTyxHQUFHLFNBQVMsQ0FBQyxJQUFJLEVBQUUsQ0FBQztJQUVqQyxPQUFPLE9BQU8sQ0FBQyxVQUFVLENBQUMsR0FBRyxDQUFDLElBQUksT0FBTyxDQUFDLFFBQVEsQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUM1RCxDQUFDO0FBRUQsTUFBTSxDQUFDLElBQU0sdUJBQXVCLEdBQUcsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBkZXByZWNhdGVkOiB1c2Uge0BsaW5rIHR1aUlzUHJlc3VtZWRIVE1MU3RyaW5nfSBpbnN0ZWFkXG4gKi9cbi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbmFtaW5nLWNvbnZlbnRpb25cbmV4cG9ydCBmdW5jdGlvbiBpc1ByZXN1bWVkSFRNTFN0cmluZyhjYW5kaWRhdGU6IHN0cmluZyk6IGJvb2xlYW4ge1xuICAgIGNvbnN0IHRyaW1tZWQgPSBjYW5kaWRhdGUudHJpbSgpO1xuXG4gICAgcmV0dXJuIHRyaW1tZWQuc3RhcnRzV2l0aCgnPCcpICYmIHRyaW1tZWQuZW5kc1dpdGgoJz4nKTtcbn1cblxuZXhwb3J0IGNvbnN0IHR1aUlzUHJlc3VtZWRIVE1MU3RyaW5nID0gaXNQcmVzdW1lZEhUTUxTdHJpbmc7XG4iXX0=
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
var SIZES = ['xs', 's', 'm', 'l', 'xl', 'xxl'];
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated: use {@link tuiSizeBigger} instead
|
|
4
|
-
* Compares size constants to determine if first size is bigger than the second
|
|
5
|
-
*
|
|
6
|
-
* @param size size that we need to compare
|
|
7
|
-
* @param biggerThanSize size to compare with, 's' by default
|
|
8
|
-
*/
|
|
9
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
10
|
-
export function sizeBigger(size, biggerThanSize) {
|
|
11
|
-
if (biggerThanSize === void 0) { biggerThanSize = 's'; }
|
|
12
|
-
return SIZES.indexOf(size) > SIZES.indexOf(biggerThanSize);
|
|
13
|
-
}
|
|
14
|
-
export var tuiSizeBigger = sizeBigger;
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2l6ZS1iaWdnZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS91dGlscy9taXNjZWxsYW5lb3VzLyIsInNvdXJjZXMiOlsic2l6ZS1iaWdnZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsSUFBTSxLQUFLLEdBQTBDLENBQUMsSUFBSSxFQUFFLEdBQUcsRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLElBQUksRUFBRSxLQUFLLENBQUMsQ0FBQztBQUV4Rjs7Ozs7O0dBTUc7QUFDSCxnRUFBZ0U7QUFDaEUsTUFBTSxVQUFVLFVBQVUsQ0FDdEIsSUFBNEIsRUFDNUIsY0FBNEM7SUFBNUMsK0JBQUEsRUFBQSxvQkFBNEM7SUFFNUMsT0FBTyxLQUFLLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxHQUFHLEtBQUssQ0FBQyxPQUFPLENBQUMsY0FBYyxDQUFDLENBQUM7QUFDL0QsQ0FBQztBQUVELE1BQU0sQ0FBQyxJQUFNLGFBQWEsR0FBRyxVQUFVLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1R1aVNpemVYUywgVHVpU2l6ZVhYTH0gZnJvbSAnQHRhaWdhLXVpL2NvcmUvdHlwZXMnO1xuXG5jb25zdCBTSVpFUzogUmVhZG9ubHlBcnJheTxUdWlTaXplWFMgfCBUdWlTaXplWFhMPiA9IFsneHMnLCAncycsICdtJywgJ2wnLCAneGwnLCAneHhsJ107XG5cbi8qKlxuICogQGRlcHJlY2F0ZWQ6IHVzZSB7QGxpbmsgdHVpU2l6ZUJpZ2dlcn0gaW5zdGVhZFxuICogQ29tcGFyZXMgc2l6ZSBjb25zdGFudHMgdG8gZGV0ZXJtaW5lIGlmIGZpcnN0IHNpemUgaXMgYmlnZ2VyIHRoYW4gdGhlIHNlY29uZFxuICpcbiAqIEBwYXJhbSBzaXplIHNpemUgdGhhdCB3ZSBuZWVkIHRvIGNvbXBhcmVcbiAqIEBwYXJhbSBiaWdnZXJUaGFuU2l6ZSBzaXplIHRvIGNvbXBhcmUgd2l0aCwgJ3MnIGJ5IGRlZmF1bHRcbiAqL1xuLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uYW1pbmctY29udmVudGlvblxuZXhwb3J0IGZ1bmN0aW9uIHNpemVCaWdnZXIoXG4gICAgc2l6ZTogVHVpU2l6ZVhTIHwgVHVpU2l6ZVhYTCxcbiAgICBiaWdnZXJUaGFuU2l6ZTogVHVpU2l6ZVhTIHwgVHVpU2l6ZVhYTCA9ICdzJyxcbik6IGJvb2xlYW4ge1xuICAgIHJldHVybiBTSVpFUy5pbmRleE9mKHNpemUpID4gU0laRVMuaW5kZXhPZihiaWdnZXJUaGFuU2l6ZSk7XG59XG5cbmV4cG9ydCBjb25zdCB0dWlTaXplQmlnZ2VyID0gc2l6ZUJpZ2dlcjtcbiJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS11dGlscy1taXNjZWxsYW5lb3VzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2NvcmUvdXRpbHMvbWlzY2VsbGFuZW91cy8iLCJzb3VyY2VzIjpbInRhaWdhLXVpLWNvcmUtdXRpbHMtbWlzY2VsbGFuZW91cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './is-mobile';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS91dGlscy9tb2JpbGUvIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGFBQWEsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaXMtbW9iaWxlJztcbiJdfQ==
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { tuiGetViewportWidth } from '@taiga-ui/core/utils/dom';
|
|
2
|
-
export function tuiIsMobile(windowRef, _a) {
|
|
3
|
-
var mobile = _a.mobile;
|
|
4
|
-
return tuiGetViewportWidth(windowRef) < mobile;
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtbW9iaWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2NvcmUvdXRpbHMvbW9iaWxlLyIsInNvdXJjZXMiOlsiaXMtbW9iaWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBRTdELE1BQU0sVUFBVSxXQUFXLENBQUMsU0FBaUIsRUFBRSxFQUFrQjtRQUFqQixrQkFBTTtJQUNsRCxPQUFPLG1CQUFtQixDQUFDLFNBQVMsQ0FBQyxHQUFHLE1BQU0sQ0FBQztBQUNuRCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtUdWlNZWRpYX0gZnJvbSAnQHRhaWdhLXVpL2NvcmUvaW50ZXJmYWNlcyc7XG5pbXBvcnQge3R1aUdldFZpZXdwb3J0V2lkdGh9IGZyb20gJ0B0YWlnYS11aS9jb3JlL3V0aWxzL2RvbSc7XG5cbmV4cG9ydCBmdW5jdGlvbiB0dWlJc01vYmlsZSh3aW5kb3dSZWY6IFdpbmRvdywge21vYmlsZX06IFR1aU1lZGlhKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHR1aUdldFZpZXdwb3J0V2lkdGgod2luZG93UmVmKSA8IG1vYmlsZTtcbn1cbiJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS11dGlscy1tb2JpbGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS91dGlscy9tb2JpbGUvIiwic291cmNlcyI6WyJ0YWlnYS11aS1jb3JlLXV0aWxzLW1vYmlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './inner-html';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS91dGlscy9wb2x5ZmlsbHMvIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaW5uZXItaHRtbCc7XG4iXX0=
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { TuiXmlParsingException } from '@taiga-ui/cdk';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated
|
|
4
|
-
* TODO: remove in v3.0
|
|
5
|
-
*/
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
-
export function innerHTML(documentRef) {
|
|
8
|
-
var svg = documentRef.createElementNS('http://www.w3.org/2000/svg', 'svg');
|
|
9
|
-
if (svg.innerHTML !== undefined) {
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
var serializer = new XMLSerializer();
|
|
13
|
-
var parser = new DOMParser();
|
|
14
|
-
Object.defineProperty(SVGElement.prototype, 'innerHTML', {
|
|
15
|
-
get: function () {
|
|
16
|
-
var result = [];
|
|
17
|
-
var childNode = this.firstChild;
|
|
18
|
-
while (childNode) {
|
|
19
|
-
result.push(serializer.serializeToString(childNode));
|
|
20
|
-
childNode = childNode.nextSibling;
|
|
21
|
-
}
|
|
22
|
-
return result.join('');
|
|
23
|
-
},
|
|
24
|
-
set: function (text) {
|
|
25
|
-
while (this.firstChild) {
|
|
26
|
-
this.removeChild(this.firstChild);
|
|
27
|
-
}
|
|
28
|
-
try {
|
|
29
|
-
var svgDocElement = parser.parseFromString(text, 'image/svg+xml').documentElement;
|
|
30
|
-
if (this.ownerDocument) {
|
|
31
|
-
this.appendChild(this.ownerDocument.importNode(svgDocElement, true));
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
catch (e) {
|
|
35
|
-
throw new TuiXmlParsingException();
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5uZXItaHRtbC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL3V0aWxzL3BvbHlmaWxscy8iLCJzb3VyY2VzIjpbImlubmVyLWh0bWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLHNCQUFzQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXJEOzs7R0FHRztBQUNILGdFQUFnRTtBQUNoRSxNQUFNLFVBQVUsU0FBUyxDQUFDLFdBQXFCO0lBQzNDLElBQU0sR0FBRyxHQUFHLFdBQVcsQ0FBQyxlQUFlLENBQUMsNEJBQTRCLEVBQUUsS0FBSyxDQUFDLENBQUM7SUFFN0UsSUFBSSxHQUFHLENBQUMsU0FBUyxLQUFLLFNBQVMsRUFBRTtRQUM3QixPQUFPO0tBQ1Y7SUFFRCxJQUFNLFVBQVUsR0FBRyxJQUFJLGFBQWEsRUFBRSxDQUFDO0lBQ3ZDLElBQU0sTUFBTSxHQUFHLElBQUksU0FBUyxFQUFFLENBQUM7SUFFL0IsTUFBTSxDQUFDLGNBQWMsQ0FBQyxVQUFVLENBQUMsU0FBUyxFQUFFLFdBQVcsRUFBRTtRQUNyRCxHQUFHLEVBQUU7WUFDRCxJQUFNLE1BQU0sR0FBYSxFQUFFLENBQUM7WUFDNUIsSUFBSSxTQUFTLEdBQVEsSUFBSSxDQUFDLFVBQVUsQ0FBQztZQUVyQyxPQUFPLFNBQVMsRUFBRTtnQkFDZCx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Vtb3ZlQ2hpbGQodGhpcy5maXJzdENoaWxkKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICBjb25zdCBzdmdEb2NFbGVtZW50ID0gcGFyc2VyLnBhcnNlRnJvbVN0cmluZyhcbiAgICAgICAgICAgICAgICAgICAgdGV4dCxcbiAgICAgICAgICAgICAgICAgICAgJ2ltYWdlL3N2Zyt4bWwnLFxuICAgICAgICAgICAgICAgICkuZG9jdW1lbnRFbGVtZW50O1xuXG4gICAgICAgICAgICAgICAgaWYgKHRoaXMub3duZXJEb2N1bWVudCkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmFwcGVuZENoaWxkKHRoaXMub3duZXJEb2N1bWVudC5pbXBvcnROb2RlKHN2Z0RvY0VsZW1lbnQsIHRydWUpKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICAgICAgdGhyb3cgbmV3IFR1aVhtbFBhcnNpbmdFeGNlcHRpb24oKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICB9KTtcbn1cbiJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS11dGlscy1wb2x5ZmlsbHMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS91dGlscy9wb2x5ZmlsbHMvIiwic291cmNlcyI6WyJ0YWlnYS11aS1jb3JlLXV0aWxzLXBvbHlmaWxscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS11dGlscy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL3V0aWxzLyIsInNvdXJjZXMiOlsidGFpZ2EtdWktY29yZS11dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|