@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,63 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from "tslib";
|
|
2
|
-
import { Inject, Pipe } from '@angular/core';
|
|
3
|
-
import { DAYS_IN_WEEK } from '@taiga-ui/cdk';
|
|
4
|
-
import { TUI_FIRST_DAY_OF_WEEK } from '@taiga-ui/core/tokens';
|
|
5
|
-
import { getDayFromMonthRowCol } from './utils';
|
|
6
|
-
var CALENDAR_ROWS_COUNT = 6;
|
|
7
|
-
var TuiCalendarSheetPipe = /** @class */ (function () {
|
|
8
|
-
function TuiCalendarSheetPipe(firstDayOfWeek) {
|
|
9
|
-
this.firstDayOfWeek = firstDayOfWeek;
|
|
10
|
-
this.currentMonth = null;
|
|
11
|
-
this.currentSheet = [];
|
|
12
|
-
}
|
|
13
|
-
TuiCalendarSheetPipe.prototype.transform = function (month, showAdjacentDays) {
|
|
14
|
-
if (showAdjacentDays === void 0) { showAdjacentDays = false; }
|
|
15
|
-
var _a;
|
|
16
|
-
if ((_a = this.currentMonth) === null || _a === void 0 ? void 0 : _a.monthSame(month)) {
|
|
17
|
-
return this.currentSheet;
|
|
18
|
-
}
|
|
19
|
-
var sheet = [];
|
|
20
|
-
for (var rowIndex = 0; rowIndex < CALENDAR_ROWS_COUNT; rowIndex++) {
|
|
21
|
-
var row = [];
|
|
22
|
-
for (var colIndex = 0; colIndex < DAYS_IN_WEEK; colIndex++) {
|
|
23
|
-
var day = getDayFromMonthRowCol({
|
|
24
|
-
month: month,
|
|
25
|
-
rowIndex: rowIndex,
|
|
26
|
-
colIndex: colIndex,
|
|
27
|
-
firstDayOfWeek: this.firstDayOfWeek,
|
|
28
|
-
});
|
|
29
|
-
var isPrevMonthDay = function (day, relativeToMonth) {
|
|
30
|
-
if (relativeToMonth === void 0) { relativeToMonth = month; }
|
|
31
|
-
return day.year < relativeToMonth.year || day.month < relativeToMonth.month;
|
|
32
|
-
};
|
|
33
|
-
var isNextMonthDay = function (day, relativeToMonth) {
|
|
34
|
-
if (relativeToMonth === void 0) { relativeToMonth = month; }
|
|
35
|
-
return day.year > relativeToMonth.year || day.month > relativeToMonth.month;
|
|
36
|
-
};
|
|
37
|
-
if (isPrevMonthDay(day) && !showAdjacentDays) {
|
|
38
|
-
continue;
|
|
39
|
-
}
|
|
40
|
-
if (isNextMonthDay(day) && !showAdjacentDays) {
|
|
41
|
-
break;
|
|
42
|
-
}
|
|
43
|
-
row.push(day);
|
|
44
|
-
}
|
|
45
|
-
sheet.push(row);
|
|
46
|
-
}
|
|
47
|
-
this.currentSheet = sheet.filter(function (row) { return row.length; });
|
|
48
|
-
this.currentMonth = month;
|
|
49
|
-
return this.currentSheet;
|
|
50
|
-
};
|
|
51
|
-
TuiCalendarSheetPipe.ctorParameters = function () { return [
|
|
52
|
-
{ type: undefined, decorators: [{ type: Inject, args: [TUI_FIRST_DAY_OF_WEEK,] }] }
|
|
53
|
-
]; };
|
|
54
|
-
TuiCalendarSheetPipe = __decorate([
|
|
55
|
-
Pipe({
|
|
56
|
-
name: 'tuiCalendarSheet',
|
|
57
|
-
}),
|
|
58
|
-
__param(0, Inject(TUI_FIRST_DAY_OF_WEEK))
|
|
59
|
-
], TuiCalendarSheetPipe);
|
|
60
|
-
return TuiCalendarSheetPipe;
|
|
61
|
-
}());
|
|
62
|
-
export { TuiCalendarSheetPipe };
|
|
63
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXItc2hlZXQucGlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL3BpcGVzL2NhbGVuZGFyLXNoZWV0LyIsInNvdXJjZXMiOlsiY2FsZW5kYXItc2hlZXQucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLE1BQU0sRUFBRSxJQUFJLEVBQWdCLE1BQU0sZUFBZSxDQUFDO0FBQzFELE9BQU8sRUFBQyxZQUFZLEVBQWlDLE1BQU0sZUFBZSxDQUFDO0FBQzNFLE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBRTVELE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLFNBQVMsQ0FBQztBQUU5QyxJQUFNLG1CQUFtQixHQUFHLENBQUMsQ0FBQztBQUs5QjtJQUlJLDhCQUVxQixjQUE0QjtRQUE1QixtQkFBYyxHQUFkLGNBQWMsQ0FBYztRQUx6QyxpQkFBWSxHQUFvQixJQUFJLENBQUM7UUFDckMsaUJBQVksR0FBcUMsRUFBRSxDQUFDO0lBS3pELENBQUM7SUFFSix3Q0FBUyxHQUFULFVBQ0ksS0FBZSx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9ST1dTX0NPVU5UOyByb3dJbmRleCsrKSB7XG4gICAgICAgICAgICBjb25zdCByb3c6IFR1aURheVtdID0gW107XG5cbiAgICAgICAgICAgIGZvciAobGV0IGNvbEluZGV4ID0gMDsgY29sSW5kZXggPCBEQVlTX0lOX1dFRUs7IGNvbEluZGV4KyspIHtcbiAgICAgICAgICAgICAgICBjb25zdCBkYXkgPSBnZXREYXlGcm9tTW9udGhSb3dDb2woe1xuICAgICAgICAgICAgICAgICAgICBtb250aCxcbiAgICAgICAgICAgICAgICAgICAgcm93SW5kZXgsXG4gICAgICAgICAgICAgICAgICAgIGNvbEluZGV4LFxuICAgICAgICAgICAgICAgICAgICBmaXJzdERheU9mV2VlazogdGhpcy5maXJzdERheU9mV2VlayxcbiAgICAgICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgICAgIGNvbnN0IGlzUHJldk1vbnRoRGF5ID0gKGRheTogVHVpRGF5LCByZWxhdGl2ZVRvTW9udGggPSBtb250aCk6IGJvb2xlYW4gPT5cbiAgICAgICAgICAgICAgICAgICAgZGF5LnllYXIgPCByZWxhdGl2ZVRvTW9udGgueWVhciB8fCBkYXkubW9udGggPCByZWxhdGl2ZVRvTW9udGgubW9udGg7XG5cbiAgICAgICAgICAgICAgICBjb25zdCBpc05leHRNb250aERheSA9IChkYXk6IFR1aURheSwgcmVsYXRpdmVUb01vbnRoID0gbW9udGgpOiBib29sZWFuID0+XG4gICAgICAgICAgICAgICAgICAgIGRheS55ZWFyID4gcmVsYXRpdmVUb01vbnRoLnllYXIgfHwgZGF5Lm1vbnRoID4gcmVsYXRpdmVUb01vbnRoLm1vbnRoO1xuXG4gICAgICAgICAgICAgICAgaWYgKGlzUHJldk1vbnRoRGF5KGRheSkgJiYgIXNob3dBZGphY2VudERheXMpIHtcbiAgICAgICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKGlzTmV4dE1vbnRoRGF5KGRheSkgJiYgIXNob3dBZGphY2VudERheXMpIHtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgcm93LnB1c2goZGF5KTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgc2hlZXQucHVzaChyb3cpO1xuICAgICAgICB9XG5cbiAgICAgICAgdGhpcy5jdXJyZW50U2hlZXQgPSBzaGVldC5maWx0ZXIocm93ID0+IHJvdy5sZW5ndGgpO1xuICAgICAgICB0aGlzLmN1cnJlbnRNb250aCA9IG1vbnRoO1xuXG4gICAgICAgIHJldHVybiB0aGlzLmN1cnJlbnRTaGVldDtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './calendar-sheet.module';
|
|
2
|
-
export * from './calendar-sheet.pipe';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9waXBlcy9jYWxlbmRhci1zaGVldC8iLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyx1QkFBdUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2FsZW5kYXItc2hlZXQubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vY2FsZW5kYXItc2hlZXQucGlwZSc7XG4iXX0=
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1waXBlcy1jYWxlbmRhci1zaGVldC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL3BpcGVzL2NhbGVuZGFyLXNoZWV0LyIsInNvdXJjZXMiOlsidGFpZ2EtdWktY29yZS1waXBlcy1jYWxlbmRhci1zaGVldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { DAYS_IN_WEEK, inRange, tuiAssert, TuiDay, } from '@taiga-ui/cdk';
|
|
2
|
-
// TODO: 3.0 Remove export in ivy compilation
|
|
3
|
-
/**
|
|
4
|
-
* Computes day of week offset of the beginning of the month
|
|
5
|
-
*/
|
|
6
|
-
export var getMonthStartDaysOffset = function (month, firstDayOfWeek) {
|
|
7
|
-
var startMonthOffsetFromSunday = new Date(month.year, month.month, 1).getDay();
|
|
8
|
-
return startMonthOffsetFromSunday >= firstDayOfWeek
|
|
9
|
-
? startMonthOffsetFromSunday - firstDayOfWeek
|
|
10
|
-
: DAYS_IN_WEEK - (firstDayOfWeek - startMonthOffsetFromSunday);
|
|
11
|
-
};
|
|
12
|
-
/*
|
|
13
|
-
TODO: 3.0 delete:
|
|
14
|
-
* TuiDay.getDayFromMonthRowCol
|
|
15
|
-
* TuiMonth.monthStartDaysOffset
|
|
16
|
-
* TuiMonth.weeksRowsCount
|
|
17
|
-
* TuiYear.yearStartDaysOffset
|
|
18
|
-
* TuiYear.getYearStartDaysOffset
|
|
19
|
-
*/
|
|
20
|
-
/**
|
|
21
|
-
* Calculated day on a calendar grid
|
|
22
|
-
* @return resulting day on these coordinates (could exceed passed month)
|
|
23
|
-
*/
|
|
24
|
-
export var getDayFromMonthRowCol = function (_a) {
|
|
25
|
-
var month = _a.month, rowIndex = _a.rowIndex, colIndex = _a.colIndex, firstDayOfWeek = _a.firstDayOfWeek;
|
|
26
|
-
tuiAssert.assert(Number.isInteger(rowIndex));
|
|
27
|
-
tuiAssert.assert(inRange(rowIndex, 0, 6));
|
|
28
|
-
tuiAssert.assert(Number.isInteger(colIndex));
|
|
29
|
-
tuiAssert.assert(inRange(colIndex, 0, DAYS_IN_WEEK));
|
|
30
|
-
var day = rowIndex * DAYS_IN_WEEK +
|
|
31
|
-
colIndex -
|
|
32
|
-
getMonthStartDaysOffset(month, firstDayOfWeek) +
|
|
33
|
-
1;
|
|
34
|
-
if (day > month.daysCount) {
|
|
35
|
-
day = day - month.daysCount;
|
|
36
|
-
month = month.append({ month: 1 });
|
|
37
|
-
}
|
|
38
|
-
if (day <= 0) {
|
|
39
|
-
month = month.append({ month: -1 });
|
|
40
|
-
day = month.daysCount + day;
|
|
41
|
-
}
|
|
42
|
-
return new TuiDay(month.year, month.month, day);
|
|
43
|
-
};
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9waXBlcy9jYWxlbmRhci1zaGVldC8iLCJzb3VyY2VzIjpbInV0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCxZQUFZLEVBQ1osT0FBTyxFQUNQLFNBQVMsRUFDVCxNQUFNLEdBR1QsTUFBTSxlQUFlLENBQUM7QUFFdkIsNkNBQTZDO0FBQzdDOztHQUVHO0FBQ0gsTUFBTSxDQUFDLElBQU0sdUJBQXVCLEdBQUcsVUFDbkMsS0FBZSxFQUNmLGNBQTRCO0lBRTVCLElBQU0sMEJBQTBCLEdBQUcsSUFBSSxJQUFJLENBQUMsS0FBSyxDQUFDLElBQUksRUFBRSxLQUFLLENBQUMsS0FBSyxFQUFFL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uZGF5ID49IGZpcnN0RGF5T2ZXZWVrXG4gICAgICAgID8gc3RhcnRNb250aE9mZnNldEZyb21TdW5kYXkgLSBmaXJzdERheU9mV2Vla1xuICAgICAgICA6IERBWVNfSU5fV0VFSyAtIChmaXJzdERheU9mV2VlayAtIHN0YXJ0TW9udGhPZmZzZXRGcm9tU3VuZGF5KTtcbn07XG5cbi8qXG5UT0RPOiAzLjAgZGVsZXRlOlxuICogVHVpRGF5LmdldERheUZyb21Nb250aFJvd0NvbFxuICogVHVpTW9udGgubW9udGhTdGFydERheXNPZmZzZXRcbiAqIFR1aU1vbnRoLndlZWtzUm93c0NvdW50XG4gKiBUdWlZZWFyLnllYXJTdGFydERheXNPZmZzZXRcbiAqIFR1aVllYXIuZ2V0WWVhclN0YXJ0RGF5c09mZnNldFxuICovXG4vKipcbiAqIENhbGN1bGF0ZWQgZGF5IG9uIGEgY2FsZW5kYXIgZ3JpZFxuICogQHJldHVybiByZXN1bHRpbmcgZGF5IG9uIHRoZXNlIGNvb3JkaW5hdGVzIChjb3VsZCBleGNlZWQgcGFzc2VkIG1vbnRoKVxuICovXG5leHBvcnQgY29uc3QgZ2V0RGF5RnJvbU1vbnRoUm93Q29sID0gKHtcbiAgICBtb250aCxcbiAgICByb3dJbmRleCxcbiAgICBjb2xJbmRleCxcbiAgICBmaXJzdERheU9mV2Vlayxcbn06IHtcbiAgICBtb250aDogVHVpTW9udGg7XG4gICAgLyoqXG4gICAgICogcm93IGluIGEgY2FsZW5kYXJcbiAgICAgKi9cbiAgICByb3dJbmRleDogbnVtYmVyO1xuICAgIC8qKlxuICAgICAqIGNvbHVtbiBpbiBhIGNhbGVuZGFyXG4gICAgICovXG4gICAgY29sSW5kZXg6IG51bWJlcjtcbiAgICAvKipcbiAgICAgKiBmaXJzdCBkYXkgb2YgdGhlIHdlZWsgaW5kZXggKFN1bmRheSAtIDAsIFNhdHVyZGF5IC0gNilcbiAgICAgKi9cbiAgICBmaXJzdERheU9mV2VlazogVHVpRGF5T2ZXZWVrO1xufSk6IFR1aURheSA9PiB7XG4gICAgdHVpQXNzZXJ0LmFzc2VydChOdW1iZXIuaXNJbnRlZ2VyKHJvd0luZGV4KSk7XG4gICAgdHVpQXNzZXJ0LmFzc2VydChpblJhbmdlKHJvd0luZGV4LCAwLCA2KSk7XG4gICAgdHVpQXNzZXJ0LmFzc2VydChOdW1iZXIuaXNJbnRlZ2VyKGNvbEluZGV4KSk7XG4gICAgdHVpQXNzZXJ0LmFzc2VydChpblJhbmdlKGNvbEluZGV4LCAwLCBEQVlTX0lOX1dFRUspKTtcblxuICAgIGxldCBkYXkgPVxuICAgICAgICByb3dJbmRleCAqIERBWVNfSU5fV0VFSyArXG4gICAgICAgIGNvbEluZGV4IC1cbiAgICAgICAgZ2V0TW9udGhTdGFydERheXNPZmZzZXQobW9udGgsIGZpcnN0RGF5T2ZXZWVrKSArXG4gICAgICAgIDE7XG5cbiAgICBpZiAoZGF5ID4gbW9udGguZGF5c0NvdW50KSB7XG4gICAgICAgIGRheSA9IGRheSAtIG1vbnRoLmRheXNDb3VudDtcbiAgICAgICAgbW9udGggPSBtb250aC5hcHBlbmQoe21vbnRoOiAxfSk7XG4gICAgfVxuXG4gICAgaWYgKGRheSA8PSAwKSB7XG4gICAgICAgIG1vbnRoID0gbW9udGguYXBwZW5kKHttb250aDogLTF9KTtcbiAgICAgICAgZGF5ID0gbW9udGguZGF5c0NvdW50ICsgZGF5O1xuICAgIH1cblxuICAgIHJldHVybiBuZXcgVHVpRGF5KG1vbnRoLnllYXIsIG1vbnRoLm1vbnRoLCBkYXkpO1xufTtcbiJdfQ==
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { TuiFormatNumberPipe } from './format-number.pipe';
|
|
4
|
-
var TuiFormatNumberPipeModule = /** @class */ (function () {
|
|
5
|
-
function TuiFormatNumberPipeModule() {
|
|
6
|
-
}
|
|
7
|
-
TuiFormatNumberPipeModule = __decorate([
|
|
8
|
-
NgModule({
|
|
9
|
-
exports: [TuiFormatNumberPipe],
|
|
10
|
-
declarations: [TuiFormatNumberPipe],
|
|
11
|
-
})
|
|
12
|
-
], TuiFormatNumberPipeModule);
|
|
13
|
-
return TuiFormatNumberPipeModule;
|
|
14
|
-
}());
|
|
15
|
-
export { TuiFormatNumberPipeModule };
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0LW51bWJlci5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9waXBlcy9mb3JtYXQtbnVtYmVyLyIsInNvdXJjZXMiOlsiZm9ybWF0LW51bWJlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFdkMsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0sc0JBQXNCLENBQUM7QUFNekQ7SUFBQTtJQUF3QyxDQUFDO0lBQTVCLHlCQUF5QjtRQUpyQyxRQUFRLENBQUM7WUFDTixPQUFPLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQztZQUM5QixZQUFZLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQztTQUN0QyxDQUFDO09BQ1cseUJBQXlCLENBQUc7SUFBRCxnQ0FBQztDQUFBLEFBQXpDLElBQXlDO1NBQTVCLHlCQUF5QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQge1R1aUZvcm1hdE51bWJlclBpcGV9IGZyb20gJy4vZm9ybWF0LW51bWJlci5waXBlJztcblxuQE5nTW9kdWxlKHtcbiAgICBleHBvcnRzOiBbVHVpRm9ybWF0TnVtYmVyUGlwZV0sXG4gICAgZGVjbGFyYXRpb25zOiBbVHVpRm9ybWF0TnVtYmVyUGlwZV0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUZvcm1hdE51bWJlclBpcGVNb2R1bGUge31cbiJdfQ==
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from "tslib";
|
|
2
|
-
import { Inject, Pipe } from '@angular/core';
|
|
3
|
-
import { TUI_NUMBER_FORMAT } from '@taiga-ui/core/tokens';
|
|
4
|
-
import { formatNumber } from '@taiga-ui/core/utils/format';
|
|
5
|
-
var TuiFormatNumberPipe = /** @class */ (function () {
|
|
6
|
-
function TuiFormatNumberPipe(numberFormat) {
|
|
7
|
-
this.numberFormat = numberFormat;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Formats number adding thousand separators and correct decimal separator
|
|
11
|
-
* padding decimal part with zeroes to given length
|
|
12
|
-
* @param value number
|
|
13
|
-
* @param decimalSeparator
|
|
14
|
-
* @param thousandSeparator
|
|
15
|
-
* @param decimalLimit number of digits of decimal part, null to keep untouched
|
|
16
|
-
* @param zeroPadding enable zeros at the end of decimal part
|
|
17
|
-
*/
|
|
18
|
-
TuiFormatNumberPipe.prototype.transform = function (value, decimalLimit, decimalSeparator, thousandSeparator, zeroPadding) {
|
|
19
|
-
if (decimalLimit === void 0) { decimalLimit = null; }
|
|
20
|
-
if (decimalSeparator === void 0) { decimalSeparator = this.numberFormat.decimalSeparator; }
|
|
21
|
-
if (thousandSeparator === void 0) { thousandSeparator = this.numberFormat.thousandSeparator; }
|
|
22
|
-
if (zeroPadding === void 0) { zeroPadding = this.numberFormat.zeroPadding; }
|
|
23
|
-
return formatNumber(value, decimalLimit, decimalSeparator, thousandSeparator, zeroPadding);
|
|
24
|
-
};
|
|
25
|
-
TuiFormatNumberPipe.ctorParameters = function () { return [
|
|
26
|
-
{ type: undefined, decorators: [{ type: Inject, args: [TUI_NUMBER_FORMAT,] }] }
|
|
27
|
-
]; };
|
|
28
|
-
TuiFormatNumberPipe = __decorate([
|
|
29
|
-
Pipe({ name: 'tuiFormatNumber' }),
|
|
30
|
-
__param(0, Inject(TUI_NUMBER_FORMAT))
|
|
31
|
-
], TuiFormatNumberPipe);
|
|
32
|
-
return TuiFormatNumberPipe;
|
|
33
|
-
}());
|
|
34
|
-
export { TuiFormatNumberPipe };
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0LW51bWJlci5waXBlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2NvcmUvcGlwZXMvZm9ybWF0LW51bWJlci8iLCJzb3VyY2VzIjpbImZvcm1hdC1udW1iZXIucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLE1BQU0sRUFBRSxJQUFJLEVBQWdCLE1BQU0sZUFBZSxDQUFDO0FBRTFELE9BQU8sRUFBQyxpQkFBaUIsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBQ3hELE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSw2QkFBNkIsQ0FBQztBQUd6RDtJQUNJLDZCQUVxQixZQUFxQztRQUFyQyxpQkFBWSxHQUFaLFlBQVksQ0FBeUI7SUFDdkQsQ0FBQztJQUVKOzs7Ozs7OztPQVFHO0lBQ0gsdUNBQVMsR0FBVCxVQUNJLEtBQWEsRUFDYixZQUFrQyxFQUNsQyxnQkFBNkQsRUFDN0QsaUJBQStELEVBQy9ELFdBQW9EO1FBSHBELDZCQUFBLEVBQUEsbUJBQWtDO1FBQ2xDLGlDQUFBLEVBQUEsbUJBQTJCLElBQUksQ0FBQyxZQUFZLENBQUMsZ0JBQWdCO1FBQzdELGtDQUFBLEVBQUEsb0JBQTRCLElBQUksQ0FBQyxZQUFZLENBQUMsaUJBQWlCO1FBQy9ELDRCQUFBLEVBQUEsY0FBdUIsSUFBSSxDQUFDLFlBQVksQ0FBQyxXQUFXO1FBRXBELE9BQU8sWUFBWS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4gICAgICAgICk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './format-number.module';
|
|
2
|
-
export * from './format-number.pipe';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9waXBlcy9mb3JtYXQtbnVtYmVyLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLHNCQUFzQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mb3JtYXQtbnVtYmVyLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2Zvcm1hdC1udW1iZXIucGlwZSc7XG4iXX0=
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1waXBlcy1mb3JtYXQtbnVtYmVyLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2NvcmUvcGlwZXMvZm9ybWF0LW51bWJlci8iLCJzb3VyY2VzIjpbInRhaWdhLXVpLWNvcmUtcGlwZXMtZm9ybWF0LW51bWJlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { TuiFormatPhonePipe } from './format-phone.pipe';
|
|
4
|
-
var TuiFormatPhonePipeModule = /** @class */ (function () {
|
|
5
|
-
function TuiFormatPhonePipeModule() {
|
|
6
|
-
}
|
|
7
|
-
TuiFormatPhonePipeModule = __decorate([
|
|
8
|
-
NgModule({
|
|
9
|
-
exports: [TuiFormatPhonePipe],
|
|
10
|
-
declarations: [TuiFormatPhonePipe],
|
|
11
|
-
})
|
|
12
|
-
], TuiFormatPhonePipeModule);
|
|
13
|
-
return TuiFormatPhonePipeModule;
|
|
14
|
-
}());
|
|
15
|
-
export { TuiFormatPhonePipeModule };
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0LXBob25lLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL3BpcGVzL2Zvcm1hdC1waG9uZS8iLCJzb3VyY2VzIjpbImZvcm1hdC1waG9uZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFdkMsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0scUJBQXFCLENBQUM7QUFNdkQ7SUFBQTtJQUF1QyxDQUFDO0lBQTNCLHdCQUF3QjtRQUpwQyxRQUFRLENBQUM7WUFDTixPQUFPLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQztZQUM3QixZQUFZLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQztTQUNyQyxDQUFDO09BQ1csd0JBQXdCLENBQUc7SUFBRCwrQkFBQztDQUFBLEFBQXhDLElBQXdDO1NBQTNCLHdCQUF3QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQge1R1aUZvcm1hdFBob25lUGlwZX0gZnJvbSAnLi9mb3JtYXQtcGhvbmUucGlwZSc7XG5cbkBOZ01vZHVsZSh7XG4gICAgZXhwb3J0czogW1R1aUZvcm1hdFBob25lUGlwZV0sXG4gICAgZGVjbGFyYXRpb25zOiBbVHVpRm9ybWF0UGhvbmVQaXBlXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpRm9ybWF0UGhvbmVQaXBlTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Pipe } from '@angular/core';
|
|
3
|
-
import { CHAR_PLUS, tuiAssert } from '@taiga-ui/cdk';
|
|
4
|
-
import { formatPhone } from '@taiga-ui/core/utils/format';
|
|
5
|
-
var TuiFormatPhonePipe = /** @class */ (function () {
|
|
6
|
-
function TuiFormatPhonePipe() {
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Formats phone number string of +7XXXXXXXXXX fomrat with adding separator symbols
|
|
10
|
-
* @param value
|
|
11
|
-
* @param countryCode
|
|
12
|
-
* @param phoneMask
|
|
13
|
-
* @return formatted phone number string +7(XXX)XXX-XX-XX
|
|
14
|
-
*/
|
|
15
|
-
TuiFormatPhonePipe.prototype.transform = function (value, countryCode, phoneMask) {
|
|
16
|
-
if (countryCode === void 0) { countryCode = CHAR_PLUS + "7"; }
|
|
17
|
-
if (phoneMask === void 0) { phoneMask = '(###) ###-##-##'; }
|
|
18
|
-
tuiAssert.assert(value !== undefined, 'Undefined was passed to tuiFormatPhone pipe');
|
|
19
|
-
return formatPhone(value, countryCode, phoneMask);
|
|
20
|
-
};
|
|
21
|
-
TuiFormatPhonePipe = __decorate([
|
|
22
|
-
Pipe({ name: 'tuiFormatPhone' })
|
|
23
|
-
], TuiFormatPhonePipe);
|
|
24
|
-
return TuiFormatPhonePipe;
|
|
25
|
-
}());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biAgICB9XG59XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './format-phone.module';
|
|
2
|
-
export * from './format-phone.pipe';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9waXBlcy9mb3JtYXQtcGhvbmUvIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Zvcm1hdC1waG9uZS5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9mb3JtYXQtcGhvbmUucGlwZSc7XG4iXX0=
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1waXBlcy1mb3JtYXQtcGhvbmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9waXBlcy9mb3JtYXQtcGhvbmUvIiwic291cmNlcyI6WyJ0YWlnYS11aS1jb3JlLXBpcGVzLWZvcm1hdC1waG9uZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
package/esm5/pipes/index.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from '@taiga-ui/core/pipes/calendar-sheet';
|
|
2
|
-
export * from '@taiga-ui/core/pipes/format-number';
|
|
3
|
-
export * from '@taiga-ui/core/pipes/format-phone';
|
|
4
|
-
export * from '@taiga-ui/core/pipes/month';
|
|
5
|
-
export * from '@taiga-ui/core/pipes/pluralize';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9waXBlcy8iLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMscUNBQXFDLENBQUM7QUFDcEQsY0FBYyxvQ0FBb0MsQ0FBQztBQUNuRCxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsY0FBYyxnQ0FBZ0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9jb3JlL3BpcGVzL2NhbGVuZGFyLXNoZWV0JztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9jb3JlL3BpcGVzL2Zvcm1hdC1udW1iZXInO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2NvcmUvcGlwZXMvZm9ybWF0LXBob25lJztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9jb3JlL3BpcGVzL21vbnRoJztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9jb3JlL3BpcGVzL3BsdXJhbGl6ZSc7XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './month.module';
|
|
2
|
-
export * from './month.pipe';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9waXBlcy9tb250aC8iLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL21vbnRoLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL21vbnRoLnBpcGUnO1xuIl19
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { TuiMonthPipe } from './month.pipe';
|
|
4
|
-
var TuiMonthPipeModule = /** @class */ (function () {
|
|
5
|
-
function TuiMonthPipeModule() {
|
|
6
|
-
}
|
|
7
|
-
TuiMonthPipeModule = __decorate([
|
|
8
|
-
NgModule({
|
|
9
|
-
exports: [TuiMonthPipe],
|
|
10
|
-
declarations: [TuiMonthPipe],
|
|
11
|
-
})
|
|
12
|
-
], TuiMonthPipeModule);
|
|
13
|
-
return TuiMonthPipeModule;
|
|
14
|
-
}());
|
|
15
|
-
export { TuiMonthPipeModule };
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9udGgubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2NvcmUvcGlwZXMvbW9udGgvIiwic291cmNlcyI6WyJtb250aC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGNBQWMsQ0FBQztBQU0xQztJQUFBO0lBQWlDLENBQUM7SUFBckIsa0JBQWtCO1FBSjlCLFFBQVEsQ0FBQztZQUNOLE9BQU8sRUFBRSxDQUFDLFlBQVksQ0FBQztZQUN2QixZQUFZLEVBQUUsQ0FBQyxZQUFZLENBQUM7U0FDL0IsQ0FBQztPQUNXLGtCQUFrQixDQUFHO0lBQUQseUJBQUM7Q0FBQSxBQUFsQyxJQUFrQztTQUFyQixrQkFBa0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHtUdWlNb250aFBpcGV9IGZyb20gJy4vbW9udGgucGlwZSc7XG5cbkBOZ01vZHVsZSh7XG4gICAgZXhwb3J0czogW1R1aU1vbnRoUGlwZV0sXG4gICAgZGVjbGFyYXRpb25zOiBbVHVpTW9udGhQaXBlXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpTW9udGhQaXBlTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from "tslib";
|
|
2
|
-
import { Inject, Pipe } from '@angular/core';
|
|
3
|
-
import { TUI_MONTHS } from '@taiga-ui/core/tokens';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { map } from 'rxjs/operators';
|
|
6
|
-
// @dynamic
|
|
7
|
-
var TuiMonthPipe = /** @class */ (function () {
|
|
8
|
-
function TuiMonthPipe(months$) {
|
|
9
|
-
this.months$ = months$;
|
|
10
|
-
}
|
|
11
|
-
TuiMonthPipe.prototype.transform = function (_a) {
|
|
12
|
-
var month = _a.month;
|
|
13
|
-
return this.months$.pipe(map(function (months) { return months[month]; }));
|
|
14
|
-
};
|
|
15
|
-
TuiMonthPipe.ctorParameters = function () { return [
|
|
16
|
-
{ type: Observable, decorators: [{ type: Inject, args: [TUI_MONTHS,] }] }
|
|
17
|
-
]; };
|
|
18
|
-
TuiMonthPipe = __decorate([
|
|
19
|
-
Pipe({ name: 'tuiMonth' }),
|
|
20
|
-
__param(0, Inject(TUI_MONTHS))
|
|
21
|
-
], TuiMonthPipe);
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SUFNQztTQU5ZLFlBQVkiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0luamVjdCwgUGlwZSwgUGlwZVRyYW5zZm9ybX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge1R1aU1vbnRofSBmcm9tICdAdGFpZ2EtdWkvY2RrL2RhdGUtdGltZSc7XG5pbXBvcnQge1RVSV9NT05USFN9IGZyb20gJ0B0YWlnYS11aS9jb3JlL3Rva2Vucyc7XG5pbXBvcnQge09ic2VydmFibGV9IGZyb20gJ3J4anMnO1xuaW1wb3J0IHttYXB9IGZyb20gJ3J4anMvb3BlcmF0b3JzJztcblxuLy8gQGR5bmFtaWNcbkBQaXBlKHtuYW1lOiAndHVpTW9udGgnfSlcbmV4cG9ydCBjbGFzcyBUdWlNb250aFBpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcbiAgICBjb25zdHJ1Y3RvcihASW5qZWN0KFRVSV9NT05USFMpIHByaXZhdGUgcmVhZG9ubHkgbW9udGhzJDogT2JzZXJ2YWJsZTxzdHJpbmdbXT4pIHt9XG5cbiAgICB0cmFuc2Zvcm0oe21vbnRofTogVHVpTW9udGgpOiBPYnNlcnZhYmxlPHN0cmluZz4ge1xuICAgICAgICByZXR1cm4gdGhpcy5tb250aHMkLnBpcGUobWFwKG1vbnRocyA9PiBtb250aHNbbW9udGhdKSk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1waXBlcy1tb250aC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL3BpcGVzL21vbnRoLyIsInNvdXJjZXMiOlsidGFpZ2EtdWktY29yZS1waXBlcy1tb250aC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './pluralize.module';
|
|
2
|
-
export * from './pluralize.pipe';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9waXBlcy9wbHVyYWxpemUvIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3BsdXJhbGl6ZS5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9wbHVyYWxpemUucGlwZSc7XG4iXX0=
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { TuiPluralizePipe } from './pluralize.pipe';
|
|
4
|
-
/** @deprecated use Angular built-in pipe https://angular.io/api/common/I18nPluralPipe */
|
|
5
|
-
var TuiPluralizePipeModule = /** @class */ (function () {
|
|
6
|
-
function TuiPluralizePipeModule() {
|
|
7
|
-
}
|
|
8
|
-
TuiPluralizePipeModule = __decorate([
|
|
9
|
-
NgModule({
|
|
10
|
-
exports: [TuiPluralizePipe],
|
|
11
|
-
declarations: [TuiPluralizePipe],
|
|
12
|
-
})
|
|
13
|
-
], TuiPluralizePipeModule);
|
|
14
|
-
return Tu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V4cG9ydCBjbGFzcyBUdWlQbHVyYWxpemVQaXBlTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Pipe } from '@angular/core';
|
|
3
|
-
import { pluralize } from '@taiga-ui/core/utils/format';
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated This implementation targets Russian.
|
|
6
|
-
* Use https://angular.io/api/common/I18nPluralPipe
|
|
7
|
-
*/
|
|
8
|
-
var TuiPluralizePipe = /** @class */ (function () {
|
|
9
|
-
function TuiPluralizePipe() {
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Chooses correct plural form
|
|
13
|
-
* @param value
|
|
14
|
-
* @param args tuple of three plural forms
|
|
15
|
-
*/
|
|
16
|
-
TuiPluralizePipe.prototype.transform = function (value, args) {
|
|
17
|
-
return pluralize(value, args);
|
|
18
|
-
};
|
|
19
|
-
TuiPluralizePipe = __decorate([
|
|
20
|
-
Pipe({ name: 'tuiPluralize' })
|
|
21
|
-
], TuiPluralizePipe);
|
|
22
|
-
return TuiPluralizePipe;
|
|
23
|
-
}());
|
|
24
|
-
export { TuiPluralizePipe };
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGx1cmFsaXplLnBpcGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9waXBlcy9wbHVyYWxpemUvIiwic291cmNlcyI6WyJwbHVyYWxpemUucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLElBQUksRUFBZ0IsTUFBTSxlQUFlLENBQUM7QUFFbEQsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLDZCQUE2QixDQUFDO0FBRXREOzs7R0FHRztBQUVIO0lBQUE7SUFTQSxDQUFDO0lBUkc7Ozs7T0FJRztJQUNILG9DQUFTLEdBQVQsVUFB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7XG4gICAgfVxufVxuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1waXBlcy1wbHVyYWxpemUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9waXBlcy9wbHVyYWxpemUvIiwic291cmNlcyI6WyJ0YWlnYS11aS1jb3JlLXBpcGVzLXBsdXJhbGl6ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1waXBlcy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL3BpcGVzLyIsInNvdXJjZXMiOlsidGFpZ2EtdWktY29yZS1waXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
package/esm5/providers/index.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './is-mobile-resolution.provider';
|
|
2
|
-
export * from './mode.provider';
|
|
3
|
-
export * from './watched-controller-provider-factory';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9wcm92aWRlcnMvIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYyx1Q0FBdUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaXMtbW9iaWxlLXJlc29sdXRpb24ucHJvdmlkZXInO1xuZXhwb3J0ICogZnJvbSAnLi9tb2RlLnByb3ZpZGVyJztcbmV4cG9ydCAqIGZyb20gJy4vd2F0Y2hlZC1jb250cm9sbGVyLXByb3ZpZGVyLWZhY3RvcnknO1xuIl19
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ElementRef, SkipSelf } from '@angular/core';
|
|
2
|
-
import { TUI_IS_MOBILE_RES } from '@taiga-ui/core/tokens';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated: use {@link tuiIsMobileResFactory} instead
|
|
5
|
-
*/
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
-
export function isMobileResFactory(mobile$, _a) {
|
|
8
|
-
var nativeElement = _a.nativeElement;
|
|
9
|
-
nativeElement['$.class._mobile'] = mobile$;
|
|
10
|
-
return mobile$;
|
|
11
|
-
}
|
|
12
|
-
export var TUI_IS_MOBILE_RES_PROVIDER = {
|
|
13
|
-
provide: TUI_IS_MOBILE_RES,
|
|
14
|
-
deps: [[new SkipSelf(), TUI_IS_MOBILE_RES], ElementRef],
|
|
15
|
-
useFactory: isMobileResFactory,
|
|
16
|
-
};
|
|
17
|
-
export var tuiIsMobileResFactory = isMobileResFactory;
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtbW9iaWxlLXJlc29sdXRpb24ucHJvdmlkZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9wcm92aWRlcnMvIiwic291cmNlcyI6WyJpcy1tb2JpbGUtcmVzb2x1dGlvbi5wcm92aWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsVUFBVSxFQUFZLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM3RCxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQztBQUd4RDs7R0FFRztBQUNILGdFQUFnRTtBQUNoRSxNQUFNLFVBQVUsa0JBQWtCLENBQzlCLE9BQTRCLEVBQzVCLEVBQTJCO1FBQTFCLGdDQUFhO0lBRWQsYUFBYSxDQUFDLGlCQUFpQixDQUFDLEdBQUcsT0FBTyxDQUFDO0lBRTNDLE9BQU8sT0FBTyxDQUFDO0FBQ25CLENBQUM7QUFFRCxNQUFNLENBQUMsSUFBTSwwQkFBMEIsR0FBYTtJQUNoRCxPQUFPLEVBQUUsaUJBQWlCO0lBQzFCLElBQUksRUFBRSxDQUFDLENBQUMsSUFBSSxRQUFRLEVBQUUsRUFBRSxpQkFBaUIsQ0FBQyxFQUFFLFVBQVUsQ0FBQztJQUN2RCxVQUFVLEVBQUUsa0JBQWtCO0NBQ2pDLENBQUM7QUFFRixNQUFNLENBQUMsSUFBTSxxQkFBcUIsR0FBRyxrQkFBa0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7RWxlbWVudFJlZiwgUHJvdmlkZXIsIFNraXBTZWxmfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7VFVJX0lTX01PQklMRV9SRVN9IGZyb20gJ0B0YWlnYS11aS9jb3JlL3Rva2Vucyc7XG5pbXBvcnQge09ic2VydmFibGV9IGZyb20gJ3J4anMnO1xuXG4vKipcbiAqIEBkZXByZWNhdGVkOiB1c2Uge0BsaW5rIHR1aUlzTW9iaWxlUmVzRmFjdG9yeX0gaW5zdGVhZFxuICovXG4vLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25hbWluZy1jb252ZW50aW9uXG5leHBvcnQgZnVuY3Rpb24gaXNNb2JpbGVSZXNGYWN0b3J5KFxuICAgIG1vYmlsZSQ6IE9ic2VydmFibGU8Ym9vbGVhbj4sXG4gICAge25hdGl2ZUVsZW1lbnR9OiBFbGVtZW50UmVmLFxuKTogT2JzZXJ2YWJsZTxib29sZWFuPiB7XG4gICAgbmF0aXZlRWxlbWVudFsnJC5jbGFzcy5fbW9iaWxlJ10gPSBtb2JpbGUkO1xuXG4gICAgcmV0dXJuIG1vYmlsZSQ7XG59XG5cbmV4cG9ydCBjb25zdCBUVUlfSVNfTU9CSUxFX1JFU19QUk9WSURFUjogUHJvdmlkZXIgPSB7XG4gICAgcHJvdmlkZTogVFVJX0lTX01PQklMRV9SRVMsXG4gICAgZGVwczogW1tuZXcgU2tpcFNlbGYoKSwgVFVJX0lTX01PQklMRV9SRVNdLCBFbGVtZW50UmVmXSxcbiAgICB1c2VGYWN0b3J5OiBpc01vYmlsZVJlc0ZhY3RvcnksXG59O1xuXG5leHBvcnQgY29uc3QgdHVpSXNNb2JpbGVSZXNGYWN0b3J5ID0gaXNNb2JpbGVSZXNGYWN0b3J5O1xuIl19
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Optional } from '@angular/core';
|
|
2
|
-
import { TuiModeDirective } from '@taiga-ui/core/directives/mode';
|
|
3
|
-
import { TUI_MODE } from '@taiga-ui/core/tokens';
|
|
4
|
-
import { of } from 'rxjs';
|
|
5
|
-
import { map, startWith } from 'rxjs/operators';
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated: use {@link tuiModeFactory} instead
|
|
8
|
-
*/
|
|
9
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
10
|
-
export function modeFactory(mode, _a) {
|
|
11
|
-
var nativeElement = _a.nativeElement;
|
|
12
|
-
var mode$ = mode
|
|
13
|
-
? mode.change$.pipe(startWith(null), map(function () { return mode.mode; }))
|
|
14
|
-
: of(null);
|
|
15
|
-
nativeElement['$.data-mode.attr'] = mode$;
|
|
16
|
-
return mode$;
|
|
17
|
-
}
|
|
18
|
-
export var MODE_PROVIDER = {
|
|
19
|
-
provide: TUI_MODE,
|
|
20
|
-
deps: [[new Optional(), TuiModeDirective], ElementRef],
|
|
21
|
-
useFactory: modeFactory,
|
|
22
|
-
};
|
|
23
|
-
export var tuiModeFactory = modeFactory;
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kZS5wcm92aWRlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL3Byb3ZpZGVycy8iLCJzb3VyY2VzIjpbIm1vZGUucHJvdmlkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFVBQVUsRUFBRSxRQUFRLEVBQVcsTUFBTSxlQUFlLENBQUM7QUFDN0QsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sZ0NBQWdDLENBQUM7QUFDaEUsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBRS9DLE9BQU8sRUFBYSxFQUFFLEVBQUMsTUFBTSxNQUFNLENBQUM7QUFDcEMsT0FBTyxFQUFDLEdBQUcsRUFBRSxTQUFTLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUU5Qzs7R0FFRztBQUNILGdFQUFnRTtBQUNoRSxNQUFNLFVBQVUs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/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1wcm92aWRlcnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9wcm92aWRlcnMvIiwic291cmNlcyI6WyJ0YWlnYS11aS1jb3JlLXByb3ZpZGVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { watch } from '@taiga-ui/cdk';
|
|
2
|
-
import { takeUntil } from 'rxjs/operators';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated: use {@link tuiWatchedControllerFactory} instead
|
|
5
|
-
*/
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
-
export function watchedControllerFactory(controller, changeDetectorRef, destroy$) {
|
|
8
|
-
controller.change$.pipe(watch(changeDetectorRef), takeUntil(destroy$)).subscribe();
|
|
9
|
-
return controller;
|
|
10
|
-
}
|
|
11
|
-
export var tuiWatchedControllerFactory = watchedControllerFactory;
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2F0Y2hlZC1jb250cm9sbGVyLXByb3ZpZGVyLWZhY3RvcnkuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9wcm92aWRlcnMvIiwic291cmNlcyI6WyJ3YXRjaGVkLWNvbnRyb2xsZXItcHJvdmlkZXItZmFjdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQU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ENoYW5nZURldGVjdG9yUmVmLFxuICAgIGRlc3Ryb3kkOiBPYnNlcnZhYmxlPHZvaWQ+LFxuKTogVHVpQ29udHJvbGxlciB7XG4gICAgY29udHJvbGxlci5jaGFuZ2UkLnBpcGUod2F0Y2goY2hhbmdlRGV0ZWN0b3JSZWYpLCB0YWtlVW50aWwoZGVzdHJveSQpKS5zdWJzY3JpYmUoKTtcblxuICAgIHJldHVybiBjb250cm9sbGVyO1xufVxuXG5leHBvcnQgY29uc3QgdHVpV2F0Y2hlZENvbnRyb2xsZXJGYWN0b3J5ID0gd2F0Y2hlZENvbnRyb2xsZXJGYWN0b3J5O1xuIl19
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { __decorate, __extends, __read, __spread } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Service for displaying hints/tooltips
|
|
7
|
-
*/
|
|
8
|
-
var TuiHintService = /** @class */ (function (_super) {
|
|
9
|
-
__extends(TuiHintService, _super);
|
|
10
|
-
function TuiHintService() {
|
|
11
|
-
var _this = _super.call(this, []) || this;
|
|
12
|
-
/**
|
|
13
|
-
* TODO:
|
|
14
|
-
* We need the following logic for desribedBy
|
|
15
|
-
* move it into another service that can register hints and
|
|
16
|
-
* manage it using TuiHintService inside
|
|
17
|
-
*/
|
|
18
|
-
_this.directives = [];
|
|
19
|
-
return _this;
|
|
20
|
-
}
|
|
21
|
-
TuiHintService.prototype.add = function (directive) {
|
|
22
|
-
this.next(this.value.concat(directive));
|
|
23
|
-
};
|
|
24
|
-
TuiHintService.prototype.remove = function (directive) {
|
|
25
|
-
if (this.value.includes(directive)) {
|
|
26
|
-
this.next(this.value.filter(function (hint) { return hint !== directive; }));
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
TuiHintService.prototype.register = function (directive) {
|
|
30
|
-
this.directives = __spread(this.directives, [directive]);
|
|
31
|
-
};
|
|
32
|
-
TuiHintService.prototype.unregister = function (directive) {
|
|
33
|
-
this.remove(directive);
|
|
34
|
-
this.directives = this.directives.filter(function (dir) { return dir !== directive; });
|
|
35
|
-
};
|
|
36
|
-
TuiHintService.prototype.showHintForId = function (id) {
|
|
37
|
-
var directive = this.findDirectiveWithHintId(id);
|
|
38
|
-
if (directive) {
|
|
39
|
-
this.add(directive);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
TuiHintService.prototype.hideHintForId = function (id) {
|
|
43
|
-
var directive = this.findDirectiveWithHintId(id);
|
|
44
|
-
if (directive) {
|
|
45
|
-
this.remove(directive);
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
TuiHintService.prototype.findDirectiveWithHintId = function (id) {
|
|
49
|
-
return this.directives.find(function (directive) { return directive.tuiHintId === id; });
|
|
50
|
-
};
|
|
51
|
-
TuiHintService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TuiHintService_Factory() { return new TuiHintService(); }, token: TuiHintService, providedIn: "root" });
|
|
52
|
-
TuiHintService = __decorate([
|
|
53
|
-
Injectable({
|
|
54
|
-
providedIn: 'root',
|
|
55
|
-
})
|
|
56
|
-
], TuiHintService);
|
|
57
|
-
return TuiHintService;
|
|
58
|
-
}(BehaviorSubject));
|
|
59
|
-
export { TuiHintService };
|
|
60
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGludC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2NvcmUvc2VydmljZXMvIiwic291cmNlcyI6WyJoaW50LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFDLGVBQWUsRUFBQyxNQUFNLE1BQU0sQ0FBQzs7QUFPckM7O0dBRUc7Q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service';
|
|
2
|
-
export * from './night-theme.service';
|
|
3
|
-
export * from './router-link-active.service';
|
|
4
|
-
export * from './svg.service';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9zZXJ2aWNlcy8iLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMsZUFBZSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9oaW50LnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9uaWdodC10aGVtZS5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vcm91dGVyLWxpbmstYWN0aXZlLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9zdmcuc2VydmljZSc7XG4iXX0=
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { __decorate, __extends, __param } from "tslib";
|
|
2
|
-
import { Inject, Injectable } from '@angular/core';
|
|
3
|
-
import { WINDOW } from '@ng-web-apis/common';
|
|
4
|
-
import { fromEvent, Observable } from 'rxjs';
|
|
5
|
-
import { map, share, startWith } from 'rxjs/operators';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@ng-web-apis/common";
|
|
8
|
-
// @dynamic
|
|
9
|
-
var TuiNightThemeService = /** @class */ (function (_super) {
|
|
10
|
-
__extends(TuiNightThemeService, _super);
|
|
11
|
-
function TuiNightThemeService(windowRef) {
|
|
12
|
-
var _this = this;
|
|
13
|
-
var media = windowRef.matchMedia('(prefers-color-scheme: dark)');
|
|
14
|
-
var media$ = fromEvent(media, 'change').pipe(startWith(null), map(function () { return media.matches; }), share());
|
|
15
|
-
_this = _super.call(this, function (subscriber) { return media$.subscribe(subscriber); }) || this;
|
|
16
|
-
return _this;
|
|
17
|
-
}
|
|
18
|
-
TuiNightThemeService.ctorParameters = function () { return [
|
|
19
|
-
{ type: Window, decorators: [{ type: Inject, args: [WINDOW,] }] }
|
|
20
|
-
]; };
|
|
21
|
-
TuiNightThemeService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TuiNightThemeService_Factory() { return new TuiNightThemeService(i0.ɵɵinject(i1.WINDOW)); }, token: TuiNightThemeService, providedIn: "root" });
|
|
22
|
-
TuiNightThemeService = __decorate([
|
|
23
|
-
Injectable({
|
|
24
|
-
providedIn: 'root',
|
|
25
|
-
}),
|
|
26
|
-
__param(0, Inject(WINDOW))
|
|
27
|
-
], TuiNightThemeService);
|
|
28
|
-
return TuiNightThemeService;
|
|
29
|
-
}(Observable));
|
|
30
|
-
export { TuiNightThemeService };
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmlnaHQtdGhlbWUuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL3NlcnZpY2VzLyIsInNvdXJjZXMiOlsibmlnaHQtdGhlbWUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLE1BQU0sRUFBRSxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUFDLE1BQU0sRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBQzNDLE9BQU8sRUFBQyxTQUFTLEVBQUUsVUFBVSxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBQzNDLE9BQU8sRUFBQyxHQUFHLEVBQUUsS0FBSyxFQUFFLFNBQVMsRUFBQyxNQUFNLGdCQUFnQixDQUFDOzs7QUFFckQsV0FBVztBQUlYO0lBQTBDLHdDQUFtQj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