@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,156 +0,0 @@
|
|
|
1
|
-
import { __decorate, __extends, __param } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, HostBinding, HostListener, Inject, Input, } from '@angular/core';
|
|
3
|
-
import { AbstractTuiInteractive, isNativeFocused, pressedObservable, TUI_FOCUSABLE_ITEM_ACCESSOR, TUI_TAKE_ONLY_TRUSTED_EVENTS, tuiDefaultProp, TuiDestroyService, TuiFocusableElementAccessor, TuiFocusVisibleService, TuiHoveredService, watch, } from '@taiga-ui/cdk';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { takeUntil } from 'rxjs/operators';
|
|
6
|
-
import { TUI_BUTTON_OPTIONS } from './button-options';
|
|
7
|
-
var TuiButtonComponent = /** @class */ (function (_super) {
|
|
8
|
-
__extends(TuiButtonComponent, _super);
|
|
9
|
-
function TuiButtonComponent(elementRef, focusVisible$, hoveredService, destroy$, changeDetectorRef, takeOnlyTrustedEvents, options) {
|
|
10
|
-
var _this = _super.call(this) || this;
|
|
11
|
-
_this.elementRef = elementRef;
|
|
12
|
-
_this.takeOnlyTrustedEvents = takeOnlyTrustedEvents;
|
|
13
|
-
_this.options = options;
|
|
14
|
-
_this.appearance = _this.options.appearance || '';
|
|
15
|
-
_this.disabled = false;
|
|
16
|
-
_this.icon = '';
|
|
17
|
-
_this.iconRight = '';
|
|
18
|
-
_this.shape = _this.options.shape;
|
|
19
|
-
_this.showLoader = false;
|
|
20
|
-
_this.size = _this.options.size;
|
|
21
|
-
hoveredService
|
|
22
|
-
.createHovered$(elementRef.nativeElement)
|
|
23
|
-
.pipe(watch(changeDetectorRef), takeUntil(destroy$))
|
|
24
|
-
.subscribe(function (hovered) {
|
|
25
|
-
_this.updateHovered(hovered);
|
|
26
|
-
});
|
|
27
|
-
pressedObservable(elementRef.nativeElement, {
|
|
28
|
-
onlyTrusted: _this.takeOnlyTrustedEvents,
|
|
29
|
-
})
|
|
30
|
-
.pipe(watch(changeDetectorRef), takeUntil(destroy$))
|
|
31
|
-
.subscribe(function (pressed) {
|
|
32
|
-
_this.updatePressed(pressed);
|
|
33
|
-
});
|
|
34
|
-
focusVisible$.subscribe(function (focusVisible) {
|
|
35
|
-
_this.updateFocusVisible(focusVisible);
|
|
36
|
-
});
|
|
37
|
-
return _this;
|
|
38
|
-
}
|
|
39
|
-
TuiButtonComponent_1 = TuiButtonComponent;
|
|
40
|
-
Object.defineProperty(TuiButtonComponent.prototype, "nativeFocusableElement", {
|
|
41
|
-
get: function () {
|
|
42
|
-
return this.nativeDisabled ? null : this.elementRef.nativeElement;
|
|
43
|
-
},
|
|
44
|
-
enumerable: true,
|
|
45
|
-
configurable: true
|
|
46
|
-
});
|
|
47
|
-
Object.defineProperty(TuiButtonComponent.prototype, "focused", {
|
|
48
|
-
get: function () {
|
|
49
|
-
return !this.showLoader && isNativeFocused(this.elementRef.nativeElement);
|
|
50
|
-
},
|
|
51
|
-
enumerable: true,
|
|
52
|
-
configurable: true
|
|
53
|
-
});
|
|
54
|
-
Object.defineProperty(TuiButtonComponent.prototype, "loaderSize", {
|
|
55
|
-
get: function () {
|
|
56
|
-
return this.size === 'l' || this.size === 'xl' ? 'm' : 's';
|
|
57
|
-
},
|
|
58
|
-
enumerable: true,
|
|
59
|
-
configurable: true
|
|
60
|
-
});
|
|
61
|
-
Object.defineProperty(TuiButtonComponent.prototype, "nativeDisabled", {
|
|
62
|
-
get: function () {
|
|
63
|
-
return this.computedDisabled || this.showLoader ? '' : null;
|
|
64
|
-
},
|
|
65
|
-
enumerable: true,
|
|
66
|
-
configurable: true
|
|
67
|
-
});
|
|
68
|
-
Object.defineProperty(TuiButtonComponent.prototype, "tabIndex", {
|
|
69
|
-
get: function () {
|
|
70
|
-
return this.focusable ? 0 : -1;
|
|
71
|
-
},
|
|
72
|
-
enumerable: true,
|
|
73
|
-
configurable: true
|
|
74
|
-
});
|
|
75
|
-
TuiButtonComponent.prototype.onFocused = function (focused) {
|
|
76
|
-
this.updateFocused(focused);
|
|
77
|
-
};
|
|
78
|
-
var TuiButtonComponent_1;
|
|
79
|
-
TuiButtonComponent.ctorParameters = function () { return [
|
|
80
|
-
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
|
|
81
|
-
{ type: TuiFocusVisibleService, decorators: [{ type: Inject, args: [TuiFocusVisibleService,] }] },
|
|
82
|
-
{ type: TuiHoveredService, decorators: [{ type: Inject, args: [TuiHoveredService,] }] },
|
|
83
|
-
{ type: Observable, decorators: [{ type: Inject, args: [TuiDestroyService,] }] },
|
|
84
|
-
{ type: ChangeDetectorRef, decorators: [{ type: Inject, args: [ChangeDetectorRef,] }] },
|
|
85
|
-
{ type: Boolean, decorators: [{ type: Inject, args: [TUI_TAKE_ONLY_TRUSTED_EVENTS,] }] },
|
|
86
|
-
{ type: undefined, decorators: [{ type: Inject, args: [TUI_BUTTON_OPTIONS,] }] }
|
|
87
|
-
]; };
|
|
88
|
-
__decorate([
|
|
89
|
-
Input(),
|
|
90
|
-
HostBinding('attr.data-appearance'),
|
|
91
|
-
tuiDefaultProp()
|
|
92
|
-
], TuiButtonComponent.prototype, "appearance", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
Input(),
|
|
95
|
-
tuiDefaultProp()
|
|
96
|
-
], TuiButtonComponent.prototype, "disabled", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
Input(),
|
|
99
|
-
tuiDefaultProp()
|
|
100
|
-
], TuiButtonComponent.prototype, "icon", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
Input(),
|
|
103
|
-
tuiDefaultProp()
|
|
104
|
-
], TuiButtonComponent.prototype, "iconRight", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
Input(),
|
|
107
|
-
HostBinding('attr.data-shape'),
|
|
108
|
-
tuiDefaultProp()
|
|
109
|
-
], TuiButtonComponent.prototype, "shape", void 0);
|
|
110
|
-
__decorate([
|
|
111
|
-
Input(),
|
|
112
|
-
HostBinding('class._loading'),
|
|
113
|
-
tuiDefaultProp()
|
|
114
|
-
], TuiButtonComponent.prototype, "showLoader", void 0);
|
|
115
|
-
__decorate([
|
|
116
|
-
Input(),
|
|
117
|
-
HostBinding('attr.data-size'),
|
|
118
|
-
tuiDefaultProp()
|
|
119
|
-
], TuiButtonComponent.prototype, "size", void 0);
|
|
120
|
-
__decorate([
|
|
121
|
-
HostBinding('attr.disabled')
|
|
122
|
-
], TuiButtonComponent.prototype, "nativeDisabled", null);
|
|
123
|
-
__decorate([
|
|
124
|
-
HostBinding('tabIndex')
|
|
125
|
-
], TuiButtonComponent.prototype, "tabIndex", null);
|
|
126
|
-
__decorate([
|
|
127
|
-
HostListener('focusin', ['true']),
|
|
128
|
-
HostListener('focusout', ['false'])
|
|
129
|
-
], TuiButtonComponent.prototype, "onFocused", null);
|
|
130
|
-
TuiButtonComponent = TuiButtonComponent_1 = __decorate([
|
|
131
|
-
Component({
|
|
132
|
-
selector: 'button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]',
|
|
133
|
-
template: "<tui-wrapper\n class=\"t-wrapper\"\n [appearance]=\"appearance\"\n [hovered]=\"computedHovered\"\n [pressed]=\"computedPressed\"\n [disabled]=\"computedDisabled\"\n [focused]=\"computedFocusVisible\"\n>\n <span class=\"t-content\">\n <span\n *ngIf=\"icon\"\n polymorpheus-outlet\n class=\"t-left\"\n [content]=\"icon\"\n >\n <ng-template let-icon>\n <tui-svg\n class=\"t-icon\"\n [src]=\"icon\"\n ></tui-svg>\n </ng-template>\n </span>\n <ng-content></ng-content>\n <span\n *ngIf=\"iconRight\"\n polymorpheus-outlet\n class=\"t-right\"\n [content]=\"iconRight\"\n >\n <ng-template let-icon>\n <tui-svg\n class=\"t-icon\"\n [src]=\"icon\"\n ></tui-svg>\n </ng-template>\n </span>\n </span>\n <tui-loader\n *ngIf=\"showLoader\"\n class=\"t-loader\"\n [size]=\"loaderSize\"\n [inheritColor]=\"true\"\n ></tui-loader>\n</tui-wrapper>\n",
|
|
134
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
135
|
-
providers: [
|
|
136
|
-
{
|
|
137
|
-
provide: TUI_FOCUSABLE_ITEM_ACCESSOR,
|
|
138
|
-
useExisting: forwardRef(function () { return TuiButtonComponent_1; }),
|
|
139
|
-
},
|
|
140
|
-
TuiDestroyService,
|
|
141
|
-
TuiFocusVisibleService,
|
|
142
|
-
],
|
|
143
|
-
styles: [":host{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:0 0;font-size:inherit;line-height:inherit;font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:inline-block;flex-shrink:0;vertical-align:top;border-radius:var(--tui-radius-m);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-decoration:none;font-weight:700;outline:0}:host[disabled]{pointer-events:none}:host[tuiIconButton] .t-left,:host[tuiIconButton] .t-right{margin:0}:host[data-shape=rounded]{border-radius:6.25rem}:host[data-size=xs]{height:var(--tui-height-xs);font-weight:400}:host[data-size=xs][data-shape=square],:host[data-size=xs][tuiIconButton]{height:var(--tui-height-xs);width:var(--tui-height-xs)}:host[data-size='s']{height:var(--tui-height-s);font-weight:400}:host[data-size='s'][data-shape=square],:host[data-size='s'][tuiIconButton]{height:var(--tui-height-s);width:var(--tui-height-s)}:host[data-size='m']{height:var(--tui-height-m);font-size:.9375rem}:host[data-size='m'][data-shape=square],:host[data-size='m'][tuiIconButton]{height:var(--tui-height-m);width:var(--tui-height-m)}:host[data-size='l']{height:var(--tui-height-l);font-size:.9375rem}:host[data-size='l'][data-shape=square],:host[data-size='l'][tuiIconButton]{height:var(--tui-height-l);width:var(--tui-height-l)}:host[data-size=xl]{height:3.75rem;font-size:.9375rem}:host[data-size=xl][data-shape=square],:host[data-size=xl][tuiIconButton]{height:3.75rem;width:3.75rem}.t-loader{position:absolute;top:0;left:0;width:100%;height:100%;cursor:default}.t-left{margin:0 .5rem 0 -.25rem}.t-right{margin:0 -.5rem 0 .25rem}.t-icon{display:block}:host[data-size='s'] .t-icon,:host[data-size=xs] .t-icon{width:1rem;height:1rem}:host[tuiIconButton] .t-icon,:host[tuiIconButton] .t-left,:host[tuiIconButton] .t-right{display:flex;width:100%;height:100%;align-items:center;justify-content:center}.t-wrapper{position:relative;z-index:0;box-sizing:border-box;cursor:pointer}:host[data-size=xs] .t-wrapper{padding:0 .5rem}:host[data-size='s'] .t-wrapper{padding:0 .75rem}:host[data-size='m'] .t-wrapper{padding:0 1.5rem}:host[data-size='l'] .t-wrapper{padding:0 2.25rem}:host[data-size=xl] .t-wrapper{padding:0 2.5rem}:host[data-shape=square] .t-wrapper,:host[tuiIconButton] .t-wrapper{padding:0}.t-content{display:flex;height:100%;align-items:center;justify-content:center;text-align:center}:host._loading .t-content{opacity:0}"]
|
|
144
|
-
}),
|
|
145
|
-
__param(0, Inject(ElementRef)),
|
|
146
|
-
__param(1, Inject(TuiFocusVisibleService)),
|
|
147
|
-
__param(2, Inject(TuiHoveredService)),
|
|
148
|
-
__param(3, Inject(TuiDestroyService)),
|
|
149
|
-
__param(4, Inject(ChangeDetectorRef)),
|
|
150
|
-
__param(5, Inject(TUI_TAKE_ONLY_TRUSTED_EVENTS)),
|
|
151
|
-
__param(6, Inject(TUI_BUTTON_OPTIONS))
|
|
152
|
-
], TuiButtonComponent);
|
|
153
|
-
return TuiButtonComponent;
|
|
154
|
-
}(AbstractTuiInteractive));
|
|
155
|
-
export { TuiButtonComponent };
|
|
156
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL2NvbXBvbmVudHMvYnV0dG9uLyIsInNvdXJjZXMiOlsiYnV0dG9uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUNILHVCQUF1QixFQUN2QixpQkFBaUIsRUFDakIsU0FBUyxFQUNULFVBQVUsRUFDVixVQUFVLEVBQ1YsV0FBVyxFQUNYLFlBQVksRUFDWixNQUFNLEVBQ04sS0FBSyxHQUNSLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFDSCxzQkFBc0IsRUFDdEIsZUFBZSxFQUNmLGlCQUFpQixFQUNqQiwyQkFBMkIsRUFDM0IsNEJBQTRCLEVBQzVCLGNBQWMsRUFDZCxpQkFBaUIsRUFDakIsMkJBQTJCLEVBQzNCLHNCQUFzQixFQUN0QixpQkFBaUIsRUFDakIsS0FBSyxHQUNSLE1BQU0sZUFBZSxDQUFDO0FBR3ZCLE9BQU8sRUFBQyx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uZm9jdXNhYmxlID8gMCA6IC0xO1xuICAgIH1cblxuICAgIEBIb3N0TGlzdGVuZXIoJ2ZvY3VzaW4nLCBbJ3RydWUnXSlcbiAgICBASG9zdExpc3RlbmVyKCdmb2N1c291dCcsIFsnZmFsc2UnXSlcbiAgICBvbkZvY3VzZWQoZm9jdXNlZDogYm9vbGVhbik6IHZvaWQge1xuICAgICAgICB0aGlzLnVwZGF0ZUZvY3VzZWQoZm9jdXNlZCk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { NgModule } from '@angular/core';
|
|
4
|
-
import { TuiLoaderModule } from '@taiga-ui/core/components/loader';
|
|
5
|
-
import { TuiSvgModule } from '@taiga-ui/core/components/svg';
|
|
6
|
-
import { TuiWrapperModule } from '@taiga-ui/core/directives/wrapper';
|
|
7
|
-
import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
|
|
8
|
-
import { TuiButtonComponent } from './button.component';
|
|
9
|
-
var TuiButtonModule = /** @class */ (function () {
|
|
10
|
-
function TuiButtonModule() {
|
|
11
|
-
}
|
|
12
|
-
TuiButtonModule = __decorate([
|
|
13
|
-
NgModule({
|
|
14
|
-
imports: [
|
|
15
|
-
CommonModule,
|
|
16
|
-
PolymorpheusModule,
|
|
17
|
-
TuiWrapperModule,
|
|
18
|
-
TuiSvgModule,
|
|
19
|
-
TuiLoaderModule,
|
|
20
|
-
],
|
|
21
|
-
declarations: [TuiButtonComponent],
|
|
22
|
-
exports: [TuiButtonComponent],
|
|
23
|
-
})
|
|
24
|
-
], TuiButtonModule);
|
|
25
|
-
return TuiButtonModule;
|
|
26
|
-
}());
|
|
27
|
-
export { TuiButtonModule };
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJ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1vZHVsZX0gZnJvbSAnQHRhaWdhLXVpL2NvcmUvY29tcG9uZW50cy9sb2FkZXInO1xuaW1wb3J0IHtUdWlTdmdNb2R1bGV9IGZyb20gJ0B0YWlnYS11aS9jb3JlL2NvbXBvbmVudHMvc3ZnJztcbmltcG9ydCB7VHVpV3JhcHBlck1vZHVsZX0gZnJvbSAnQHRhaWdhLXVpL2NvcmUvZGlyZWN0aXZlcy93cmFwcGVyJztcbmltcG9ydCB7UG9seW1vcnBoZXVzTW9kdWxlfSBmcm9tICdAdGlua29mZi9uZy1wb2x5bW9ycGhldXMnO1xuXG5pbXBvcnQge1R1aUJ1dHRvbkNvbXBvbmVudH0gZnJvbSAnLi9idXR0b24uY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbXG4gICAgICAgIENvbW1vbk1vZHVsZSxcbiAgICAgICAgUG9seW1vcnBoZXVzTW9kdWxlLFxuICAgICAgICBUdWlXcmFwcGVyTW9kdWxlLFxuICAgICAgICBUdWlTdmdNb2R1bGUsXG4gICAgICAgIFR1aUxvYWRlck1vZHVsZSxcbiAgICBdLFxuICAgIGRlY2xhcmF0aW9uczogW1R1aUJ1dHRvbkNvbXBvbmVudF0sXG4gICAgZXhwb3J0czogW1R1aUJ1dHRvbkNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUJ1dHRvbk1vZHVsZSB7fVxuIl19
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './button.component';
|
|
2
|
-
export * from './button.module';
|
|
3
|
-
export * from './button-options';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9jb21wb25lbnRzL2J1dHRvbi8iLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9idXR0b24uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vYnV0dG9uLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2J1dHRvbi1vcHRpb25zJztcbiJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1jb21wb25lbnRzLWJ1dHRvbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL2NvbXBvbmVudHMvYnV0dG9uLyIsInNvdXJjZXMiOlsidGFpZ2EtdWktY29yZS1jb21wb25lbnRzLWJ1dHRvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
|
|
3
|
-
import { ALWAYS_FALSE_HANDLER, nullableSame, TUI_FIRST_DAY, TUI_LAST_DAY, tuiDefaultProp, TuiMonth, } from '@taiga-ui/cdk';
|
|
4
|
-
import { TUI_DEFAULT_MARKER_HANDLER } from '@taiga-ui/core/constants';
|
|
5
|
-
// @dynamic
|
|
6
|
-
var TuiCalendarComponent = /** @class */ (function () {
|
|
7
|
-
function TuiCalendarComponent() {
|
|
8
|
-
this.month = TuiMonth.currentLocal();
|
|
9
|
-
this.value = null;
|
|
10
|
-
this.disabledItemHandler = ALWAYS_FALSE_HANDLER;
|
|
11
|
-
this.min = TUI_FIRST_DAY;
|
|
12
|
-
this.max = TUI_LAST_DAY;
|
|
13
|
-
this.minViewedMonth = TUI_FIRST_DAY;
|
|
14
|
-
this.maxViewedMonth = TUI_LAST_DAY;
|
|
15
|
-
this.hoveredItem = null;
|
|
16
|
-
this.showAdjacent = true;
|
|
17
|
-
this.markerHandler = TUI_DEFAULT_MARKER_HANDLER;
|
|
18
|
-
this.dayClick = new EventEmitter();
|
|
19
|
-
this.monthChange = new EventEmitter();
|
|
20
|
-
this.hoveredItemChange = new EventEmitter();
|
|
21
|
-
this.year = null;
|
|
22
|
-
this.disabledItemHandlerMapper = function (disabledItemHandler, min, max) { return function (item) {
|
|
23
|
-
return item.dayBefore(min) || item.dayAfter(max) || disabledItemHandler(item);
|
|
24
|
-
}; };
|
|
25
|
-
}
|
|
26
|
-
Object.defineProperty(TuiCalendarComponent.prototype, "computedMinViewedMonth", {
|
|
27
|
-
get: function () {
|
|
28
|
-
return this.minViewedMonth.monthSameOrAfter(this.min)
|
|
29
|
-
? this.minViewedMonth
|
|
30
|
-
: this.min;
|
|
31
|
-
},
|
|
32
|
-
enumerable: true,
|
|
33
|
-
configurable: true
|
|
34
|
-
});
|
|
35
|
-
Object.defineProperty(TuiCalendarComponent.prototype, "computedMaxViewedMonth", {
|
|
36
|
-
get: function () {
|
|
37
|
-
return this.maxViewedMonth.monthSameOrBefore(this.max)
|
|
38
|
-
? this.maxViewedMonth
|
|
39
|
-
: this.max;
|
|
40
|
-
},
|
|
41
|
-
enumerable: true,
|
|
42
|
-
configurable: true
|
|
43
|
-
});
|
|
44
|
-
TuiCalendarComponent.prototype.onPaginationYearClick = function (year) {
|
|
45
|
-
this.year = year;
|
|
46
|
-
};
|
|
47
|
-
TuiCalendarComponent.prototype.onPickerYearClick = function (_a) {
|
|
48
|
-
var year = _a.year;
|
|
49
|
-
this.year = null;
|
|
50
|
-
this.updateViewedMonth(new TuiMonth(year, this.month.month));
|
|
51
|
-
};
|
|
52
|
-
TuiCalendarComponent.prototype.onPaginationValueChange = function (month) {
|
|
53
|
-
this.updateViewedMonth(month);
|
|
54
|
-
};
|
|
55
|
-
TuiCalendarComponent.prototype.onDayClick = function (day) {
|
|
56
|
-
this.dayClick.emit(day);
|
|
57
|
-
};
|
|
58
|
-
TuiCalendarComponent.prototype.onHoveredItemChange = function (day) {
|
|
59
|
-
this.updateHoveredDay(day);
|
|
60
|
-
};
|
|
61
|
-
TuiCalendarComponent.prototype.updateViewedMonth = function (month) {
|
|
62
|
-
if (this.month.monthSame(month)) {
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
this.month = month;
|
|
66
|
-
this.monthChange.emit(month);
|
|
67
|
-
};
|
|
68
|
-
TuiCalendarComponent.prototype.updateHoveredDay = function (day) {
|
|
69
|
-
if (nullableSame(this.hoveredItem, day, function (a, b) { return a.daySame(b); })) {
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
this.hoveredItem = day;
|
|
73
|
-
this.hoveredItemChange.emit(day);
|
|
74
|
-
};
|
|
75
|
-
__decorate([
|
|
76
|
-
Input(),
|
|
77
|
-
tuiDefaultProp()
|
|
78
|
-
], TuiCalendarComponent.prototype, "month", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
Input(),
|
|
81
|
-
tuiDefaultProp()
|
|
82
|
-
], TuiCalendarComponent.prototype, "value", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
Input(),
|
|
85
|
-
tuiDefaultProp()
|
|
86
|
-
], TuiCalendarComponent.prototype, "disabledItemHandler", void 0);
|
|
87
|
-
__decorate([
|
|
88
|
-
Input(),
|
|
89
|
-
tuiDefaultProp()
|
|
90
|
-
], TuiCalendarComponent.prototype, "min", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
Input(),
|
|
93
|
-
tuiDefaultProp()
|
|
94
|
-
], TuiCalendarComponent.prototype, "max", void 0);
|
|
95
|
-
__decorate([
|
|
96
|
-
Input(),
|
|
97
|
-
tuiDefaultProp()
|
|
98
|
-
], TuiCalendarComponent.prototype, "minViewedMonth", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
Input(),
|
|
101
|
-
tuiDefaultProp()
|
|
102
|
-
], TuiCalendarComponent.prototype, "maxViewedMonth", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
Input(),
|
|
105
|
-
tuiDefaultProp()
|
|
106
|
-
], TuiCalendarComponent.prototype, "hoveredItem", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
Input(),
|
|
109
|
-
tuiDefaultProp()
|
|
110
|
-
], TuiCalendarComponent.prototype, "showAdjacent", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
Input(),
|
|
113
|
-
tuiDefaultProp()
|
|
114
|
-
], TuiCalendarComponent.prototype, "markerHandler", void 0);
|
|
115
|
-
__decorate([
|
|
116
|
-
Output()
|
|
117
|
-
], TuiCalendarComponent.prototype, "dayClick", void 0);
|
|
118
|
-
__decorate([
|
|
119
|
-
Output()
|
|
120
|
-
], TuiCalendarComponent.prototype, "monthChange", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
Output()
|
|
123
|
-
], TuiCalendarComponent.prototype, "hoveredItemChange", void 0);
|
|
124
|
-
TuiCalendarComponent = __decorate([
|
|
125
|
-
Component({
|
|
126
|
-
selector: 'tui-calendar',
|
|
127
|
-
template: "<tui-scrollbar\n *ngIf=\"year; else calendar\"\n automation-id=\"tui-calendar__scrollbar\"\n class=\"scrollbar\"\n>\n <tui-primitive-year-picker\n automation-id=\"tui-calendar__year\"\n [min]=\"min\"\n [max]=\"max\"\n [initialItem]=\"year\"\n [value]=\"value\"\n (yearClick)=\"onPickerYearClick($event)\"\n ></tui-primitive-year-picker>\n</tui-scrollbar>\n<ng-template #calendar>\n <tui-primitive-year-month-pagination\n automation-id=\"tui-calendar__pagination\"\n class=\"pagination\"\n [min]=\"computedMinViewedMonth\"\n [max]=\"computedMaxViewedMonth\"\n [value]=\"month\"\n (valueChange)=\"onPaginationValueChange($event)\"\n (yearClick)=\"onPaginationYearClick($event)\"\n ></tui-primitive-year-month-pagination>\n <tui-primitive-calendar\n automation-id=\"tui-calendar__calendar\"\n [showAdjacent]=\"showAdjacent\"\n [value]=\"value\"\n [month]=\"month\"\n [disabledItemHandler]=\"disabledItemHandler | tuiMapper: disabledItemHandlerMapper:min:max\"\n [markerHandler]=\"markerHandler\"\n [hoveredItem]=\"hoveredItem\"\n (hoveredItemChange)=\"onHoveredItemChange($event)\"\n (dayClick)=\"onDayClick($event)\"\n ></tui-primitive-calendar>\n</ng-template>\n",
|
|
128
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
129
|
-
styles: [":host{display:block;height:18.25rem;width:15.75rem;padding:1rem 1.125rem;box-sizing:content-box}.scrollbar{height:18.25rem;width:16.875rem}.pagination{margin-bottom:1rem}"]
|
|
130
|
-
})
|
|
131
|
-
], TuiCalendarComponent);
|
|
132
|
-
return TuiCalendarComponent;
|
|
133
|
-
}());
|
|
134
|
-
export { TuiCalendarComponent };
|
|
135
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2NvcmUvY29tcG9uZW50cy9jYWxlbmRhci8iLCJzb3VyY2VzIjpbImNhbGVuZGFyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUNILHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFDTCxNQUFNLEdBQ1QsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUNILG9CQUFvQix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gIG9uUGFnaW5hdGlvblZhbHVlQ2hhbmdlKG1vbnRoOiBUdWlNb250aCk6IHZvaWQge1xuICAgICAgICB0aGlzLnVwZGF0ZVZpZXdlZE1vbnRoKG1vbnRoKTtcbiAgICB9XG5cbiAgICBvbkRheUNsaWNrKGRheTogVHVpRGF5KTogdm9pZCB7XG4gICAgICAgIHRoaXMuZGF5Q2xpY2suZW1pdChkYXkpO1xuICAgIH1cblxuICAgIG9uSG92ZXJlZEl0ZW1DaGFuZ2UoZGF5OiBUdWlEYXkgfCBudWxsKTogdm9pZCB7XG4gICAgICAgIHRoaXMudXBkYXRlSG92ZXJlZERheShkYXkpO1xuICAgIH1cblxuICAgIHByaXZhdGUgdXBkYXRlVmlld2VkTW9udGgobW9udGg6IFR1aU1vbnRoKTogdm9pZCB7XG4gICAgICAgIGlmICh0aGlzLm1vbnRoLm1vbnRoU2FtZShtb250aCkpIHtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMubW9udGggPSBtb250aDtcbiAgICAgICAgdGhpcy5tb250aENoYW5nZS5lbWl0KG1vbnRoKTtcbiAgICB9XG5cbiAgICBwcml2YXRlIHVwZGF0ZUhvdmVyZWREYXkoZGF5OiBUdWlEYXkgfCBudWxsKTogdm9pZCB7XG4gICAgICAgIGlmIChudWxsYWJsZVNhbWUodGhpcy5ob3ZlcmVkSXRlbSwgZGF5LCAoYSwgYikgPT4gYS5kYXlTYW1lKGIpKSkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgdGhpcy5ob3ZlcmVkSXRlbSA9IGRheTtcbiAgICAgICAgdGhpcy5ob3ZlcmVkSXRlbUNoYW5nZS5lbWl0KGRheSk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { NgModule } from '@angular/core';
|
|
4
|
-
import { TuiMapperPipeModule } from '@taiga-ui/cdk';
|
|
5
|
-
import { TuiPrimitiveCalendarModule } from '@taiga-ui/core/components/primitive-calendar';
|
|
6
|
-
import { TuiPrimitiveYearPickerModule } from '@taiga-ui/core/components/primitive-year-picker';
|
|
7
|
-
import { TuiScrollbarModule } from '@taiga-ui/core/components/scrollbar';
|
|
8
|
-
import { TuiPrimitiveYearMonthPaginationModule } from '@taiga-ui/core/internal/primitive-year-month-pagination';
|
|
9
|
-
import { TuiCalendarComponent } from './calendar.component';
|
|
10
|
-
var TuiCalendarModule = /** @class */ (function () {
|
|
11
|
-
function TuiCalendarModule() {
|
|
12
|
-
}
|
|
13
|
-
TuiCalendarModule = __decorate([
|
|
14
|
-
NgModule({
|
|
15
|
-
imports: [
|
|
16
|
-
CommonModule,
|
|
17
|
-
TuiPrimitiveYearMonthPaginationModule,
|
|
18
|
-
TuiPrimitiveCalendarModule,
|
|
19
|
-
TuiPrimitiveYearPickerModule,
|
|
20
|
-
TuiScrollbarModule,
|
|
21
|
-
TuiMapperPipeModule,
|
|
22
|
-
],
|
|
23
|
-
declarations: [TuiCalendarComponent],
|
|
24
|
-
exports: [TuiCalendarComponent],
|
|
25
|
-
})
|
|
26
|
-
], TuiCalendarModule);
|
|
27
|
-
return TuiCalendarModule;
|
|
28
|
-
}());
|
|
29
|
-
export { TuiCalendarModule };
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2NvcmUvY29tcG9uZW50cy9jYWxlbmRhci8iLCJzb3VyY2VzIjpbImNhbGVuZGFyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxl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Y29tcG9uZW50cy9wcmltaXRpdmUtY2FsZW5kYXInO1xuaW1wb3J0IHtUdWlQcmltaXRpdmVZZWFyUGlja2VyTW9kdWxlfSBmcm9tICdAdGFpZ2EtdWkvY29yZS9jb21wb25lbnRzL3ByaW1pdGl2ZS15ZWFyLXBpY2tlcic7XG5pbXBvcnQge1R1aVNjcm9sbGJhck1vZHVsZX0gZnJvbSAnQHRhaWdhLXVpL2NvcmUvY29tcG9uZW50cy9zY3JvbGxiYXInO1xuaW1wb3J0IHtUdWlQcmltaXRpdmVZZWFyTW9udGhQYWdpbmF0aW9uTW9kdWxlfSBmcm9tICdAdGFpZ2EtdWkvY29yZS9pbnRlcm5hbC9wcmltaXRpdmUteWVhci1tb250aC1wYWdpbmF0aW9uJztcblxuaW1wb3J0IHtUdWlDYWxlbmRhckNvbXBvbmVudH0gZnJvbSAnLi9jYWxlbmRhci5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBUdWlQcmltaXRpdmVZZWFyTW9udGhQYWdpbmF0aW9uTW9kdWxlLFxuICAgICAgICBUdWlQcmltaXRpdmVDYWxlbmRhck1vZHVsZSxcbiAgICAgICAgVHVpUHJpbWl0aXZlWWVhclBpY2tlck1vZHVsZSxcbiAgICAgICAgVHVpU2Nyb2xsYmFyTW9kdWxlLFxuICAgICAgICBUdWlNYXBwZXJQaXBlTW9kdWxlLFxuICAgIF0sXG4gICAgZGVjbGFyYXRpb25zOiBbVHVpQ2FsZW5kYXJDb21wb25lbnRdLFxuICAgIGV4cG9ydHM6IFtUdWlDYWxlbmRhckNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUNhbGVuZGFyTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './calendar.component';
|
|
2
|
-
export * from './calendar.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9jb21wb25lbnRzL2NhbGVuZGFyLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jYWxlbmRhci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9jYWxlbmRhci5tb2R1bGUnO1xuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1jb21wb25lbnRzLWNhbGVuZGFyLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2NvcmUvY29tcG9uZW50cy9jYWxlbmRhci8iLCJzb3VyY2VzIjpbInRhaWdhLXVpLWNvcmUtY29tcG9uZW50cy1jYWxlbmRhci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { __decorate, __read, __spread } from "tslib";
|
|
2
|
-
import { ContentChildren, Directive, ElementRef, } from '@angular/core';
|
|
3
|
-
import { EMPTY_QUERY, getClosestKeyboardFocusable, itemsQueryListObservable, preventDefault, setNativeFocused, tuiPure, typedFromEvent, } from '@taiga-ui/cdk';
|
|
4
|
-
import { TuiDropdownDirective } from '@taiga-ui/core/directives/dropdown';
|
|
5
|
-
import { EMPTY, merge } from 'rxjs';
|
|
6
|
-
import { debounceTime, filter, map, mapTo, shareReplay, switchMap, take, tap, } from 'rxjs/operators';
|
|
7
|
-
// TODO: 3.0 Move into separate module
|
|
8
|
-
var TuiDataListDropdownManagerDirective = /** @class */ (function () {
|
|
9
|
-
function TuiDataListDropdownManagerDirective() {
|
|
10
|
-
this.dropdowns = EMPTY_QUERY;
|
|
11
|
-
this.elements = EMPTY_QUERY;
|
|
12
|
-
}
|
|
13
|
-
TuiDataListDropdownManagerDirective.prototype.ngAfterViewInit = function () {
|
|
14
|
-
var _this = this;
|
|
15
|
-
this.right$.subscribe(function (index) {
|
|
16
|
-
_this.tryToFocus(index);
|
|
17
|
-
});
|
|
18
|
-
merge(this.immediate$, this.debounce$)
|
|
19
|
-
.pipe(switchMap(function (active) {
|
|
20
|
-
_this.dropdowns.forEach(function (dropdown, index) {
|
|
21
|
-
dropdown.open = index === active;
|
|
22
|
-
});
|
|
23
|
-
var element = _this.elements.toArray()[active];
|
|
24
|
-
var dropdown = _this.dropdowns.toArray()[active];
|
|
25
|
-
if (!element || !dropdown || !dropdown.dropdownBoxRef) {
|
|
26
|
-
return EMPTY;
|
|
27
|
-
}
|
|
28
|
-
var nativeElement = dropdown.dropdownBoxRef.location.nativeElement;
|
|
29
|
-
var mouseEnter$ = typedFromEvent(nativeElement, 'mouseenter').pipe(take(1));
|
|
30
|
-
var esc$ = merge(typedFromEvent(element.nativeElement, 'keydown'), typedFromEvent(nativeElement, 'keydown')).pipe(filter(function (_a) {
|
|
31
|
-
var keyCode = _a.keyCode;
|
|
32
|
-
return keyCode === 27;
|
|
33
|
-
}));
|
|
34
|
-
return merge(mouseEnter$, esc$).pipe(tap(function (event) {
|
|
35
|
-
if (dropdown.dropdownBoxRef) {
|
|
36
|
-
event.stopPropagation();
|
|
37
|
-
}
|
|
38
|
-
setNativeFocused(element.nativeElement);
|
|
39
|
-
// TODO: iframe warning
|
|
40
|
-
dropdown.open = event instanceof MouseEvent;
|
|
41
|
-
}));
|
|
42
|
-
}))
|
|
43
|
-
.subscribe();
|
|
44
|
-
};
|
|
45
|
-
Object.defineProperty(TuiDataListDropdownManagerDirective.prototype, "elements$", {
|
|
46
|
-
get: function () {
|
|
47
|
-
return itemsQueryListObservable(this.elements).pipe(map(function (array) { return array.map(function (_a) {
|
|
48
|
-
var nativeElement = _a.nativeElement;
|
|
49
|
-
return nativeElement;
|
|
50
|
-
}); }), shareReplay({ bufferSize: 1, refCount: true }));
|
|
51
|
-
},
|
|
52
|
-
enumerable: true,
|
|
53
|
-
configurable: true
|
|
54
|
-
});
|
|
55
|
-
Object.defineProperty(TuiDataListDropdownManagerDirective.prototype, "right$", {
|
|
56
|
-
get: function () {
|
|
57
|
-
return this.elements$.pipe(switchMap(function (elements) {
|
|
58
|
-
return merge.apply(void 0, __spread(elements.map(function (element, index) {
|
|
59
|
-
return typedFromEvent(element, 'keydown').pipe(filter(function (_a) {
|
|
60
|
-
var keyCode = _a.keyCode;
|
|
61
|
-
return keyCode === 39;
|
|
62
|
-
}), preventDefault(), mapTo(index));
|
|
63
|
-
})));
|
|
64
|
-
}));
|
|
65
|
-
},
|
|
66
|
-
enumerable: true,
|
|
67
|
-
configurable: true
|
|
68
|
-
});
|
|
69
|
-
Object.defineProperty(TuiDataListDropdownManagerDirective.prototype, "immediate$", {
|
|
70
|
-
get: function () {
|
|
71
|
-
return this.elements$.pipe(switchMap(function (elements) {
|
|
72
|
-
return merge.apply(void 0, __spread(elements.map(function (element, index) {
|
|
73
|
-
return typedFromEvent(element, 'click').pipe(mapTo(index));
|
|
74
|
-
})));
|
|
75
|
-
}));
|
|
76
|
-
},
|
|
77
|
-
enumerable: true,
|
|
78
|
-
configurable: true
|
|
79
|
-
});
|
|
80
|
-
Object.defineProperty(TuiDataListDropdownManagerDirective.prototype, "debounce$", {
|
|
81
|
-
get: function () {
|
|
82
|
-
var _this = this;
|
|
83
|
-
return this.elements$.pipe(switchMap(function (elements) {
|
|
84
|
-
return merge.apply(void 0, __spread(elements.map(function (element, index) {
|
|
85
|
-
return merge(typedFromEvent(element, 'focus'), typedFromEvent(element, 'blur')).pipe(filter(function (_a) {
|
|
86
|
-
var relatedTarget = _a.relatedTarget;
|
|
87
|
-
return _this.notInDropdown(relatedTarget, index);
|
|
88
|
-
}), map(function (_a) {
|
|
89
|
-
var type = _a.type;
|
|
90
|
-
return (type === 'focus' ? index : NaN);
|
|
91
|
-
}));
|
|
92
|
-
})));
|
|
93
|
-
}), debounceTime(300));
|
|
94
|
-
},
|
|
95
|
-
enumerable: true,
|
|
96
|
-
configurable: true
|
|
97
|
-
});
|
|
98
|
-
TuiDataListDropdownManagerDirective.prototype.notInDropdown = function (element, index) {
|
|
99
|
-
var dropdown = this.dropdowns.toArray()[index];
|
|
100
|
-
return (!dropdown ||
|
|
101
|
-
!dropdown.dropdownBoxRef ||
|
|
102
|
-
!dropdown.dropdownBoxRef.location.nativeElement.contains(element));
|
|
103
|
-
};
|
|
104
|
-
TuiDataListDropdownManagerDirective.prototype.tryToFocus = function (index) {
|
|
105
|
-
var _a;
|
|
106
|
-
var dropdown = this.dropdowns.toArray()[index];
|
|
107
|
-
var content = (_a = dropdown === null || dropdown === void 0 ? void 0 : dropdown.dropdownBoxRef) === null || _a === void 0 ? void 0 : _a.instance.contentElementRef;
|
|
108
|
-
if (!content) {
|
|
109
|
-
return;
|
|
110
|
-
}
|
|
111
|
-
var item = getClosestKeyboardFocusable(content.nativeElement, false, content.nativeElement);
|
|
112
|
-
if (item) {
|
|
113
|
-
setNativeFocused(item);
|
|
114
|
-
}
|
|
115
|
-
};
|
|
116
|
-
__decorate([
|
|
117
|
-
ContentChildren(TuiDropdownDirective, { descendants: true })
|
|
118
|
-
], TuiDataListDropdownManagerDirective.prototype, "dropdowns", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
ContentChildren(TuiDropdownDirective, { read: ElementRef, descendants: true })
|
|
121
|
-
], TuiDataListDropdownManagerDirective.prototype, "elements", void 0);
|
|
122
|
-
__decorate([
|
|
123
|
-
tuiPure
|
|
124
|
-
], TuiDataListDropdownManagerDirective.prototype, "elements$", null);
|
|
125
|
-
__decorate([
|
|
126
|
-
tuiPure
|
|
127
|
-
], TuiDataListDropdownManagerDirective.prototype, "right$", null);
|
|
128
|
-
__decorate([
|
|
129
|
-
tuiPure
|
|
130
|
-
], TuiDataListDropdownManagerDirective.prototype, "immediate$", null);
|
|
131
|
-
__decorate([
|
|
132
|
-
tuiPure
|
|
133
|
-
], TuiDataListDropdownManagerDirective.prototype, "debounce$", null);
|
|
134
|
-
TuiDataListDropdownManagerDirective = __decorate([
|
|
135
|
-
Directive({
|
|
136
|
-
selector: 'tui-data-list[tuiDataListDropdownManager]',
|
|
137
|
-
})
|
|
138
|
-
], TuiDataListDropdownManagerDirective);
|
|
139
|
-
return TuiDataListDropdownManagerDirective;
|
|
140
|
-
}());
|
|
141
|
-
export { TuiDataListDropdownManagerDirective };
|
|
142
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1saXN0LWRyb3Bkb3duLW1hbmFnZXIuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2NvcmUvY29tcG9uZW50cy9kYXRhLWxpc3QvIiwic291cmNlcyI6WyJkYXRhLWxpc3QtZHJvcGRvd24tbWFuYWdlci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFFSCxlQUFlLEVBQ2YsU0FBUyxFQUNULFVBQVUsR0FFYixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQ0gsV0FBVyxFQUNYLDJCQUEyQixFQUMzQix3QkFBd0IsRUFDeEIsY0FBYyxFQUNkLGdCQUFnQixFQ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AgICAgICAgICAgICAgICAgIHRoaXMuZHJvcGRvd25zLmZvckVhY2goKGRyb3Bkb3duLCBpbmRleCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgZHJvcGRvd24ub3BlbiA9IGluZGV4ID09PSBhY3RpdmU7XG4gICAgICAgICAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGVsZW1lbnQgPSB0aGlzLmVsZW1lbnRzLnRvQXJyYXkoKVthY3RpdmVdO1xuICAgICAgICAgICAgICAgICAgICBjb25zdCBkcm9wZG93biA9IHRoaXMuZHJvcGRvd25zLnRvQXJyYXkoKVthY3RpdmVdO1xuXG4gICAgICAgICAgICAgICAgICAgIGlmICghZWxlbWVudCB8fCAhZHJvcGRvd24gfHwgIWRyb3Bkb3duLmRyb3Bkb3duQm94UmVmKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gRU1QVFk7XG4gICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICBjb25zdCB7bmF0aXZlRWxlbWVudH0gPSBkcm9wZG93bi5kcm9wZG93bkJveFJlZi5sb2NhdGlvbjtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgbW91c2VFbnRlciQgPSB0eXBlZEZyb21FdmVudChuYXRpdmVFbGVtZW50LCAnbW91c2VlbnRlcicpLnBpcGUoXG4gICAgICAgICAgICAgICAgICAgICAgICB0YWtlKDEpLFxuICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgICAgICBjb25zdCBlc2MkID0gbWVyZ2UoXG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlZEZyb21FdmVudChlbGVtZW50Lm5hdGl2ZUVsZW1lbnQsICdrZXlkb3duJyksXG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlZEZyb21FdmVudChuYXRpdmVFbGVtZW50LCAna2V5ZG93bicpLFxuICAgICAgICAgICAgICAgICAgICApLnBpcGUoZmlsdGVyKCh7a2V5Q29kZX0pID0+IGtleUNvZGUgPT09IDI3KSk7XG5cbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG1lcmdlKG1vdXNlRW50ZXIkLCBlc2MkKS5waXBlKFxuICAgICAgICAgICAgICAgICAgICAgICAgdGFwKGV2ZW50ID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoZHJvcGRvd24uZHJvcGRvd25Cb3hSZWYpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc2V0TmF0aXZlRm9jdXNlZChlbGVtZW50Lm5hdGl2ZUVsZW1lbnQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIFRPRE86IGlmcmFtZSB3YXJuaW5nXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZHJvcGRvd24ub3BlbiA9IGV2ZW50IGluc3RhbmNlb2YgTW91c2VFdmVudDtcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgKVxuICAgICAgICAgICAgLnN1YnNjcmliZSgpO1xuICAgIH1cblxuICAgIEB0dWlQdXJlXG4gICAgcHJpdmF0ZSBnZXQgZWxlbWVudHMkKCk6IE9ic2VydmFibGU8cmVhZG9ubHkgSFRNTEVsZW1lbnRbXT4ge1xuICAgICAgICByZXR1cm4gaXRlbXNRdWVyeUxpc3RPYnNlcnZhYmxlKHRoaXMuZWxlbWVudHMpLnBpcGUoXG4gICAgICAgICAgICBtYXAoYXJyYXkgPT4gYXJyYXkubWFwKCh7bmF0aXZlRWxlbWVudH0pID0+IG5hdGl2ZUVsZW1lbnQpKSxcbiAgICAgICAgICAgIHNoYXJlUmVwbGF5KHtidWZmZXJTaXplOiAxLCByZWZDb3VudDogdHJ1ZX0pLFxuICAgICAgICApO1xuICAgIH1cblxuICAgIEB0dWlQdXJlXG4gICAgcHJpdmF0ZSBnZXQgcmlnaHQkKCk6IE9ic2VydmFibGU8bnVtYmVyPiB7XG4gICAgICAgIHJldHVybiB0aGlzLmVsZW1lbnRzJC5waXBlKFxuICAgICAgICAgICAgc3dpdGNoTWFwKGVsZW1lbnRzID0+XG4gICAgICAgICAgICAgICAgbWVyZ2UoXG4gICAgICAgICAgICAgICAgICAgIC4uLmVsZW1lbnRzLm1hcCgoZWxlbWVudCwgaW5kZXgpID0+XG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlZEZyb21FdmVudChlbGVtZW50LCAna2V5ZG93bicpLnBpcGUoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsdGVyKCh7a2V5Q29kZX0pID0+IGtleUNvZGUgPT09IDM5KSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBwcmV2ZW50RGVmYXVsdCgpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1hcFRvKGluZGV4KSxcbiAgICAgICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICksXG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgQHR1aVB1cmVcbiAgICBwcml2YXRlIGdldCBpbW1lZGlhdGUkKCk6IE9ic2VydmFibGU8bnVtYmVyPiB7XG4gICAgICAgIHJldHVybiB0aGlzLmVsZW1lbnRzJC5waXBlKFxuICAgICAgICAgICAgc3dpdGNoTWFwKGVsZW1lbnRzID0+XG4gICAgICAgICAgICAgICAgbWVyZ2UoXG4gICAgICAgICAgICAgICAgICAgIC4uLmVsZW1lbnRzLm1hcCgoZWxlbWVudCwgaW5kZXgpID0+XG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlZEZyb21FdmVudChlbGVtZW50LCAnY2xpY2snKS5waXBlKG1hcFRvKGluZGV4KSksXG4gICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICksXG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgQHR1aVB1cmVcbiAgICBwcml2YXRlIGdldCBkZWJvdW5jZSQoKTogT2JzZXJ2YWJsZTxudW1iZXI+IHtcbiAgICAgICAgcmV0dXJuIHRoaXMuZWxlbWVudHMkLnBpcGUoXG4gICAgICAgICAgICBzd2l0Y2hNYXAoZWxlbWVudHMgPT5cbiAgICAgICAgICAgICAgICBtZXJnZShcbiAgICAgICAgICAgICAgICAgICAgLi4uZWxlbWVudHMubWFwKChlbGVtZW50LCBpbmRleCkgPT5cbiAgICAgICAgICAgICAgICAgICAgICAgIG1lcmdlKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGVkRnJvbUV2ZW50KGVsZW1lbnQsICdmb2N1cycpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGVkRnJvbUV2ZW50KGVsZW1lbnQsICdibHVyJyksXG4gICAgICAgICAgICAgICAgICAgICAgICApLnBpcGUoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsdGVyKCh7cmVsYXRlZFRhcmdldH0pID0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMubm90SW5Ecm9wZG93bihyZWxhdGVkVGFyZ2V0LCBpbmRleCksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBtYXAoKHt0eXBlfSkgPT4gKHR5cGUgPT09ICdmb2N1cycgPyBpbmRleCA6IE5hTikpLFxuICAgICAgICAgICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgKSxcbiAgICAgICAgICAgIGRlYm91bmNlVGltZSgzMDApLFxuICAgICAgICApO1xuICAgIH1cblxuICAgIHByaXZhdGUgbm90SW5Ecm9wZG93bihlbGVtZW50OiBFdmVudFRhcmdldCB8IG51bGwsIGluZGV4OiBudW1iZXIpOiBib29sZWFuIHtcbiAgICAgICAgY29uc3QgZHJvcGRvd24gPSB0aGlzLmRyb3Bkb3ducy50b0FycmF5KClbaW5kZXhdO1xuXG4gICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICAhZHJvcGRvd24gfHxcbiAgICAgICAgICAgICFkcm9wZG93bi5kcm9wZG93bkJveFJlZiB8fFxuICAgICAgICAgICAgIWRyb3Bkb3duLmRyb3Bkb3duQm94UmVmLmxvY2F0aW9uLm5hdGl2ZUVsZW1lbnQuY29udGFpbnMoZWxlbWVudClcbiAgICAgICAgKTtcbiAgICB9XG5cbiAgICBwcml2YXRlIHRyeVRvRm9jdXMoaW5kZXg6IG51bWJlcik6IHZvaWQge1xuICAgICAgICBjb25zdCBkcm9wZG93biA9IHRoaXMuZHJvcGRvd25zLnRvQXJyYXkoKVtpbmRleF07XG4gICAgICAgIGNvbnN0IGNvbnRlbnQgPSBkcm9wZG93bj8uZHJvcGRvd25Cb3hSZWY/Lmluc3RhbmNlLmNvbnRlbnRFbGVtZW50UmVmO1xuXG4gICAgICAgIGlmICghY29udGVudCkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgY29uc3QgaXRlbSA9IGdldENsb3Nlc3RLZXlib2FyZEZvY3VzYWJsZShcbiAgICAgICAgICAgIGNvbnRlbnQubmF0aXZlRWxlbWVudCxcbiAgICAgICAgICAgIGZhbHNlLFxuICAgICAgICAgICAgY29udGVudC5uYXRpdmVFbGVtZW50LFxuICAgICAgICApO1xuXG4gICAgICAgIGlmIChpdGVtKSB7XG4gICAgICAgICAgICBzZXROYXRpdmVGb2N1c2VkKGl0ZW0pO1xuICAgICAgICB9XG4gICAgfVxufVxuIl19
|