@taiga-ui/kit 3.491.1-canary.a08581f → 4.0.0-alpha.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/LICENSE +190 -0
- package/components/accordion/accordion-item-content.directive.d.ts +6 -0
- package/components/accordion/accordion-item-eager-content.directive.d.ts +5 -0
- package/components/accordion/accordion-item.component.d.ts +25 -0
- package/components/accordion/accordion.d.ts +5 -0
- package/components/accordion/accordion.directive.d.ts +12 -0
- package/components/accordion/index.d.ts +5 -5
- package/components/action-bar/action-bar.component.d.ts +7 -0
- package/components/action-bar/action-bar.d.ts +3 -0
- package/components/action-bar/action-bar.directive.d.ts +6 -0
- package/components/action-bar/index.d.ts +3 -0
- package/components/avatar/avatar-labeled.component.d.ts +7 -0
- package/components/avatar/avatar-outline.directive.d.ts +8 -0
- package/components/avatar/avatar-stack.component.d.ts +7 -0
- package/components/avatar/avatar.component.d.ts +12 -23
- package/components/avatar/avatar.options.d.ts +7 -10
- package/components/avatar/index.d.ts +3 -1
- package/components/badge/badge.directive.d.ts +11 -0
- package/components/badge/badge.options.d.ts +10 -0
- package/components/badge/index.d.ts +2 -2
- package/components/badge-notification/badge-notification.component.d.ts +8 -0
- package/components/badge-notification/badge-notification.options.d.ts +8 -0
- package/components/badge-notification/index.d.ts +2 -0
- package/components/badged-content/badge-content.d.ts +3 -0
- package/components/badged-content/badged-content.component.d.ts +1 -19
- package/components/badged-content/badged-content.directive.d.ts +6 -0
- package/components/badged-content/index.d.ts +2 -1
- package/components/block/block.directive.d.ts +14 -0
- package/components/block/block.options.d.ts +9 -0
- package/components/block/index.d.ts +2 -0
- package/components/breadcrumbs/breadcrumbs.component.d.ts +9 -11
- package/components/breadcrumbs/breadcrumbs.options.d.ts +2 -3
- package/components/breadcrumbs/index.d.ts +0 -1
- package/components/button-loading/button-loading.component.d.ts +12 -0
- package/components/button-loading/index.d.ts +1 -0
- package/components/calendar-month/calendar-month.component.d.ts +24 -29
- package/components/calendar-month/index.d.ts +0 -1
- package/components/calendar-range/calendar-range.component.d.ts +30 -25
- package/components/calendar-range/day-caps-mapper.d.ts +8 -0
- package/components/calendar-range/day-range-period.d.ts +11 -0
- package/components/calendar-range/index.d.ts +2 -1
- package/components/carousel/carousel-autoscroll.directive.d.ts +5 -6
- package/components/carousel/carousel-buttons.directive.d.ts +3 -3
- package/components/carousel/carousel-scroll.directive.d.ts +3 -5
- package/components/carousel/carousel.component.d.ts +20 -17
- package/components/carousel/carousel.d.ts +7 -0
- package/components/carousel/carousel.directive.d.ts +2 -4
- package/components/carousel/index.d.ts +1 -1
- package/components/checkbox/checkbox.component.d.ts +16 -16
- package/components/checkbox/checkbox.options.d.ts +14 -0
- package/components/checkbox/index.d.ts +1 -1
- package/components/chip/chip.directive.d.ts +11 -0
- package/components/chip/chip.options.d.ts +9 -0
- package/components/chip/index.d.ts +2 -0
- package/components/compass/compass.component.d.ts +6 -0
- package/components/compass/index.d.ts +1 -0
- package/components/confirm/confirm.component.d.ts +22 -0
- package/components/confirm/confirm.service.d.ts +13 -0
- package/components/confirm/index.d.ts +2 -0
- package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +4 -7
- package/components/data-list-wrapper/data-list-wrapper.component.d.ts +18 -7
- package/components/data-list-wrapper/data-list-wrapper.module.d.ts +4 -12
- package/components/data-list-wrapper/index.d.ts +0 -1
- package/components/elastic-container/elastic-container.component.d.ts +6 -6
- package/components/elastic-container/elastic-container.directive.d.ts +2 -5
- package/components/elastic-container/index.d.ts +0 -1
- package/components/files/file/file.component.d.ts +30 -32
- package/components/files/file/file.options.d.ts +14 -0
- package/components/files/files/files.component.d.ts +16 -0
- package/components/files/files.d.ts +7 -0
- package/components/files/files.types.d.ts +9 -0
- package/components/files/files.utils.d.ts +4 -0
- package/components/files/files.validators.d.ts +5 -0
- package/components/files/index.d.ts +12 -3
- package/components/files/input-files/input-files-validator.directive.d.ts +14 -0
- package/components/files/input-files/input-files.component.d.ts +18 -0
- package/components/files/input-files/input-files.content.d.ts +14 -0
- package/components/files/input-files/input-files.directive.d.ts +16 -0
- package/components/files/input-files/input-files.options.d.ts +14 -0
- package/components/files/pipes/file-rejected.pipe.d.ts +16 -0
- package/components/filter/filter.component.d.ts +10 -12
- package/components/filter/index.d.ts +0 -1
- package/components/index.d.ts +12 -35
- package/components/input-inline/index.d.ts +0 -1
- package/components/input-inline/input-inline.component.d.ts +7 -18
- package/components/input-phone-international/get-country-calling-code.pipe.d.ts +9 -0
- package/components/input-phone-international/index.d.ts +0 -2
- package/components/input-phone-international/input-phone-international.component.d.ts +24 -56
- package/components/input-phone-international/input-phone-international.options.d.ts +5 -2
- package/components/items-with-more/index.d.ts +1 -1
- package/components/items-with-more/items-with-more.component.d.ts +10 -9
- package/components/items-with-more/items-with-more.d.ts +5 -0
- package/components/items-with-more/items-with-more.directive.d.ts +2 -2
- package/components/items-with-more/items-with-more.service.d.ts +3 -8
- package/components/items-with-more/more.directive.d.ts +5 -5
- package/components/line-clamp/index.d.ts +0 -1
- package/components/line-clamp/line-clamp-box.component.d.ts +5 -5
- package/components/line-clamp/line-clamp-position.directive.d.ts +3 -3
- package/components/line-clamp/line-clamp.component.d.ts +15 -16
- package/components/line-clamp/line-clamp.options.d.ts +1 -1
- package/components/pagination/index.d.ts +0 -1
- package/components/pagination/pagination.component.d.ts +24 -29
- package/components/pdf-viewer/index.d.ts +0 -1
- package/components/pdf-viewer/pdf-viewer.component.d.ts +8 -12
- package/components/pdf-viewer/pdf-viewer.directive.d.ts +4 -4
- package/components/pdf-viewer/pdf-viewer.options.d.ts +8 -10
- package/components/pdf-viewer/pdf-viewer.service.d.ts +8 -10
- package/components/pin/index.d.ts +1 -0
- package/components/pin/pin.component.d.ts +6 -0
- package/components/preview/index.d.ts +7 -0
- package/components/preview/pagination/preview-pagination.component.d.ts +15 -0
- package/components/preview/preview-action/preview-action.directive.d.ts +5 -0
- package/components/preview/preview-dialog/index.d.ts +3 -0
- package/components/preview/preview-dialog/preview-dialog.component.d.ts +14 -0
- package/components/preview/preview-dialog/preview-dialog.directive.d.ts +6 -0
- package/components/preview/preview-dialog/preview-dialog.service.d.ts +6 -0
- package/components/preview/preview.component.d.ts +36 -0
- package/components/preview/preview.d.ts +6 -0
- package/components/preview/title/preview-title.component.d.ts +5 -0
- package/components/preview/zoom/preview-zoom.component.d.ts +25 -0
- package/components/progress/index.d.ts +2 -2
- package/components/progress/progress-bar/progress-bar.component.d.ts +4 -7
- package/components/progress/progress-bar/progress-color-segments.directive.d.ts +6 -10
- package/components/progress/progress-circle/progress-circle.component.d.ts +7 -16
- package/components/progress/progress-label/progress-label.component.d.ts +3 -3
- package/components/progress/progress-segmented/index.d.ts +1 -0
- package/components/progress/progress-segmented/progress-segmented.directive.d.ts +7 -0
- package/components/progress/progress.d.ts +6 -0
- package/components/pulse/index.d.ts +1 -0
- package/components/pulse/pulse.component.d.ts +7 -0
- package/components/push/index.d.ts +0 -2
- package/components/push/push-alert.component.d.ts +8 -10
- package/components/push/push.component.d.ts +8 -10
- package/components/push/push.directive.d.ts +8 -11
- package/components/push/push.options.d.ts +2 -2
- package/components/push/push.service.d.ts +3 -7
- package/components/radio/index.d.ts +2 -1
- package/components/radio/radio.component.d.ts +12 -29
- package/components/radio/radio.d.ts +3 -0
- package/components/radio/radio.directive.d.ts +8 -0
- package/components/radio/radio.options.d.ts +5 -11
- package/components/radio-list/index.d.ts +0 -1
- package/components/radio-list/radio-list.component.d.ts +15 -23
- package/components/range/index.d.ts +0 -1
- package/components/range/range-change.directive.d.ts +5 -7
- package/components/range/range.component.d.ts +23 -23
- package/components/rating/index.d.ts +0 -1
- package/components/rating/rating.component.d.ts +13 -20
- package/components/rating/rating.options.d.ts +4 -7
- package/components/routable-dialog/generate-dialogable-route.d.ts +5 -4
- package/components/routable-dialog/index.d.ts +0 -1
- package/components/routable-dialog/routable-dialog.component.d.ts +9 -9
- package/components/segmented/index.d.ts +2 -0
- package/components/segmented/segmented.component.d.ts +20 -0
- package/components/segmented/segmented.directive.d.ts +17 -0
- package/components/slider/helpers/key-steps.d.ts +25 -0
- package/components/slider/helpers/slider-key-steps.directive.d.ts +8 -16
- package/components/slider/helpers/slider-readonly.directive.d.ts +11 -9
- package/components/slider/helpers/slider-thumb-label.component.d.ts +15 -0
- package/components/slider/index.d.ts +3 -2
- package/components/slider/slider.component.d.ts +11 -16
- package/components/slider/slider.d.ts +5 -0
- package/components/slider/slider.options.d.ts +2 -2
- package/components/stepper/index.d.ts +2 -2
- package/components/stepper/step.component.d.ts +18 -0
- package/components/stepper/stepper.component.d.ts +14 -14
- package/components/stepper/stepper.d.ts +3 -0
- package/components/switch/index.d.ts +2 -0
- package/components/switch/switch.component.d.ts +19 -0
- package/components/switch/switch.options.d.ts +12 -0
- package/components/tabs/index.d.ts +6 -8
- package/components/tabs/tab.directive.d.ts +13 -0
- package/components/tabs/tabs-horizontal.directive.d.ts +17 -0
- package/components/tabs/tabs-vertical.directive.d.ts +10 -0
- package/components/tabs/tabs-with-more.component.d.ts +50 -0
- package/components/tabs/tabs.d.ts +7 -0
- package/components/tabs/tabs.directive.d.ts +9 -4
- package/components/tabs/tabs.options.d.ts +4 -2
- package/components/tabs/tabs.providers.d.ts +5 -0
- package/components/tiles/index.d.ts +1 -1
- package/components/tiles/tile-handle.directive.d.ts +6 -8
- package/components/tiles/tile.component.d.ts +11 -15
- package/components/tiles/tile.service.d.ts +2 -6
- package/components/tiles/tiles.component.d.ts +3 -5
- package/components/tiles/tiles.d.ts +4 -0
- package/components/tree/components/tree/tree.component.d.ts +12 -13
- package/components/tree/components/tree-item/tree-item.component.d.ts +11 -12
- package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +13 -11
- package/components/tree/directives/tree-children.directive.d.ts +4 -4
- package/components/tree/directives/tree-controller.directive.d.ts +8 -8
- package/components/tree/directives/tree-item-controller.directive.d.ts +7 -7
- package/components/tree/directives/tree-node.directive.d.ts +5 -8
- package/components/tree/index.d.ts +1 -2
- package/components/tree/misc/tree.constants.d.ts +3 -3
- package/components/tree/misc/tree.interfaces.d.ts +11 -11
- package/components/tree/misc/tree.service.d.ts +0 -2
- package/components/tree/misc/tree.tokens.d.ts +1 -1
- package/components/tree/tree.d.ts +8 -0
- package/directives/button-close/button-close.directive.d.ts +5 -0
- package/directives/button-close/button-close.options.d.ts +1 -0
- package/directives/button-close/index.d.ts +2 -0
- package/directives/button-group/button-group.directive.d.ts +6 -0
- package/directives/button-group/index.d.ts +1 -0
- package/directives/button-vertical/button-vertical.directive.d.ts +6 -0
- package/directives/button-vertical/index.d.ts +1 -0
- package/directives/chevron/chevron.directive.d.ts +12 -0
- package/directives/chevron/index.d.ts +1 -0
- package/directives/comment/comment.directive.d.ts +8 -0
- package/directives/comment/index.d.ts +1 -0
- package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -7
- package/directives/data-list-dropdown-manager/index.d.ts +0 -1
- package/directives/fade/fade.directive.d.ts +12 -0
- package/directives/fade/index.d.ts +1 -0
- package/directives/highlight/highlight.directive.d.ts +7 -8
- package/directives/highlight/index.d.ts +0 -1
- package/directives/index.d.ts +10 -3
- package/directives/lazy-loading/index.d.ts +0 -1
- package/directives/lazy-loading/lazy-loading.directive.d.ts +10 -12
- package/directives/lazy-loading/lazy-loading.service.d.ts +5 -4
- package/directives/present/index.d.ts +0 -1
- package/directives/present/present.directive.d.ts +5 -17
- package/directives/sensitive/index.d.ts +1 -0
- package/directives/sensitive/sensitive.directive.d.ts +9 -0
- package/directives/skeleton/index.d.ts +1 -0
- package/directives/skeleton/skeleton.directive.d.ts +13 -0
- package/directives/tooltip/index.d.ts +1 -0
- package/directives/tooltip/tooltip.directive.d.ts +17 -0
- package/directives/unfinished-validator/index.d.ts +1 -1
- package/directives/unfinished-validator/unfinished-validator.directive.d.ts +4 -8
- package/directives/unfinished-validator/unfinished.validator.d.ts +3 -0
- package/directives/unmask-handler/index.d.ts +1 -0
- package/directives/unmask-handler/unmask-handler.directive.d.ts +12 -0
- package/esm2022/components/accordion/accordion-item-content.directive.mjs +16 -0
- package/esm2022/components/accordion/accordion-item-eager-content.directive.mjs +15 -0
- package/esm2022/components/accordion/accordion-item.component.mjs +101 -0
- package/esm2022/components/accordion/accordion.directive.mjs +65 -0
- package/esm2022/components/accordion/accordion.mjs +11 -0
- package/esm2022/components/accordion/index.mjs +6 -0
- package/esm2022/components/action-bar/action-bar.component.mjs +26 -0
- package/esm2022/components/action-bar/action-bar.directive.mjs +17 -0
- package/esm2022/components/action-bar/action-bar.mjs +4 -0
- package/esm2022/components/action-bar/index.mjs +4 -0
- package/esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs +5 -0
- package/esm2022/components/avatar/avatar-labeled.component.mjs +50 -0
- package/esm2022/components/avatar/avatar-outline.directive.mjs +41 -0
- package/esm2022/components/avatar/avatar-stack.component.mjs +20 -0
- package/esm2022/components/avatar/avatar.component.mjs +55 -0
- package/esm2022/components/avatar/avatar.options.mjs +11 -0
- package/esm2022/components/avatar/index.mjs +6 -0
- package/esm2022/components/badge/badge.directive.mjs +47 -0
- package/esm2022/components/badge/badge.options.mjs +11 -0
- package/esm2022/components/badge/index.mjs +3 -0
- package/esm2022/components/badge-notification/badge-notification.component.mjs +25 -0
- package/esm2022/components/badge-notification/badge-notification.options.mjs +9 -0
- package/esm2022/components/badge-notification/index.mjs +3 -0
- package/esm2022/components/badge-notification/taiga-ui-kit-components-badge-notification.mjs +5 -0
- package/esm2022/components/badged-content/badge-content.mjs +7 -0
- package/esm2022/components/badged-content/badged-content.component.mjs +14 -0
- package/esm2022/components/badged-content/badged-content.directive.mjs +20 -0
- package/esm2022/components/badged-content/index.mjs +4 -0
- package/esm2022/components/block/block.directive.mjs +62 -0
- package/esm2022/components/block/block.options.mjs +10 -0
- package/esm2022/components/block/index.mjs +3 -0
- package/esm2022/components/block/taiga-ui-kit-components-block.mjs +5 -0
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +31 -0
- package/esm2022/components/breadcrumbs/breadcrumbs.options.mjs +10 -0
- package/esm2022/components/breadcrumbs/index.mjs +3 -0
- package/esm2022/components/button-loading/button-loading.component.mjs +71 -0
- package/esm2022/components/button-loading/index.mjs +2 -0
- package/esm2022/components/button-loading/taiga-ui-kit-components-button-loading.mjs +5 -0
- package/esm2022/components/calendar-month/calendar-month.component.mjs +196 -0
- package/esm2022/components/calendar-month/index.mjs +2 -0
- package/esm2022/components/calendar-range/calendar-range.component.mjs +147 -0
- package/esm2022/components/calendar-range/day-caps-mapper.mjs +20 -0
- package/esm2022/components/calendar-range/day-range-period.mjs +36 -0
- package/esm2022/components/calendar-range/index.mjs +4 -0
- package/esm2022/components/carousel/carousel-autoscroll.directive.mjs +21 -0
- package/esm2022/components/carousel/carousel-buttons.directive.mjs +27 -0
- package/esm2022/components/carousel/carousel-scroll.directive.mjs +27 -0
- package/esm2022/components/carousel/carousel.component.mjs +163 -0
- package/esm2022/components/carousel/carousel.directive.mjs +33 -0
- package/esm2022/components/carousel/carousel.mjs +15 -0
- package/esm2022/components/carousel/index.mjs +7 -0
- package/esm2022/components/checkbox/checkbox.component.mjs +63 -0
- package/esm2022/components/checkbox/checkbox.options.mjs +14 -0
- package/esm2022/components/checkbox/index.mjs +3 -0
- package/esm2022/components/chip/chip.directive.mjs +63 -0
- package/esm2022/components/chip/chip.options.mjs +10 -0
- package/esm2022/components/chip/index.mjs +3 -0
- package/esm2022/components/chip/taiga-ui-kit-components-chip.mjs +5 -0
- package/esm2022/components/compass/compass.component.mjs +20 -0
- package/esm2022/components/compass/index.mjs +2 -0
- package/esm2022/components/compass/taiga-ui-kit-components-compass.mjs +5 -0
- package/esm2022/components/confirm/confirm.component.mjs +34 -0
- package/esm2022/components/confirm/confirm.service.mjs +32 -0
- package/esm2022/components/confirm/index.mjs +3 -0
- package/esm2022/components/confirm/taiga-ui-kit-components-confirm.mjs +5 -0
- package/esm2022/components/data-list-wrapper/data-list-group-wrapper.component.mjs +28 -0
- package/esm2022/components/data-list-wrapper/data-list-wrapper.component.mjs +55 -0
- package/esm2022/components/data-list-wrapper/data-list-wrapper.module.mjs +9 -0
- package/esm2022/components/data-list-wrapper/index.mjs +4 -0
- package/esm2022/components/elastic-container/elastic-container.component.mjs +31 -0
- package/esm2022/components/elastic-container/elastic-container.directive.mjs +50 -0
- package/esm2022/components/elastic-container/index.mjs +3 -0
- package/esm2022/components/files/file/file.component.mjs +139 -0
- package/esm2022/components/files/file/file.options.mjs +16 -0
- package/esm2022/components/files/files/files.component.mjs +45 -0
- package/esm2022/components/files/files.mjs +15 -0
- package/esm2022/components/files/files.types.mjs +2 -0
- package/esm2022/components/files/files.utils.mjs +30 -0
- package/esm2022/components/files/files.validators.mjs +31 -0
- package/esm2022/components/files/index.mjs +14 -0
- package/esm2022/components/files/input-files/input-files-validator.directive.mjs +49 -0
- package/esm2022/components/files/input-files/input-files.component.mjs +72 -0
- package/esm2022/components/files/input-files/input-files.content.mjs +72 -0
- package/esm2022/components/files/input-files/input-files.directive.mjs +69 -0
- package/esm2022/components/files/input-files/input-files.options.mjs +15 -0
- package/esm2022/components/files/pipes/file-rejected.pipe.mjs +49 -0
- package/esm2022/components/filter/filter.component.mjs +74 -0
- package/esm2022/components/filter/index.mjs +2 -0
- package/esm2022/components/index.mjs +44 -0
- package/esm2022/components/input-inline/index.mjs +2 -0
- package/esm2022/components/input-inline/input-inline.component.mjs +33 -0
- package/esm2022/components/input-phone-international/get-country-calling-code.pipe.mjs +22 -0
- package/esm2022/components/input-phone-international/index.mjs +3 -0
- package/esm2022/components/input-phone-international/input-phone-international.component.mjs +168 -0
- package/esm2022/components/input-phone-international/input-phone-international.options.mjs +15 -0
- package/esm2022/components/items-with-more/index.mjs +6 -0
- package/esm2022/components/items-with-more/items-with-more.component.mjs +62 -0
- package/esm2022/components/items-with-more/items-with-more.directive.mjs +25 -0
- package/esm2022/components/items-with-more/items-with-more.mjs +11 -0
- package/esm2022/components/items-with-more/items-with-more.service.mjs +48 -0
- package/esm2022/components/items-with-more/more.directive.mjs +18 -0
- package/esm2022/components/line-clamp/index.mjs +4 -0
- package/esm2022/components/line-clamp/line-clamp-box.component.mjs +25 -0
- package/esm2022/components/line-clamp/line-clamp-position.directive.mjs +27 -0
- package/esm2022/components/line-clamp/line-clamp.component.mjs +114 -0
- package/esm2022/components/line-clamp/line-clamp.options.mjs +12 -0
- package/esm2022/components/pagination/index.mjs +2 -0
- package/esm2022/components/pagination/pagination.component.mjs +221 -0
- package/esm2022/components/pdf-viewer/index.mjs +5 -0
- package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +33 -0
- package/esm2022/components/pdf-viewer/pdf-viewer.directive.mjs +21 -0
- package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +14 -0
- package/esm2022/components/pdf-viewer/pdf-viewer.service.mjs +22 -0
- package/esm2022/components/pin/index.mjs +2 -0
- package/esm2022/components/pin/pin.component.mjs +20 -0
- package/esm2022/components/pin/taiga-ui-kit-components-pin.mjs +5 -0
- package/esm2022/components/preview/index.mjs +8 -0
- package/esm2022/components/preview/pagination/preview-pagination.component.mjs +52 -0
- package/esm2022/components/preview/preview-action/preview-action.directive.mjs +30 -0
- package/esm2022/components/preview/preview-dialog/index.mjs +4 -0
- package/esm2022/components/preview/preview-dialog/preview-dialog.component.mjs +38 -0
- package/esm2022/components/preview/preview-dialog/preview-dialog.directive.mjs +21 -0
- package/esm2022/components/preview/preview-dialog/preview-dialog.service.mjs +18 -0
- package/esm2022/components/preview/preview-dialog/taiga-ui-kit-components-preview-preview-dialog.mjs +5 -0
- package/esm2022/components/preview/preview.component.mjs +141 -0
- package/esm2022/components/preview/preview.mjs +13 -0
- package/esm2022/components/preview/taiga-ui-kit-components-preview.mjs +5 -0
- package/esm2022/components/preview/title/preview-title.component.mjs +16 -0
- package/esm2022/components/preview/zoom/preview-zoom.component.mjs +81 -0
- package/esm2022/components/progress/index.mjs +7 -0
- package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +25 -0
- package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +41 -0
- package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +42 -0
- package/esm2022/components/progress/progress-label/progress-label.component.mjs +12 -0
- package/esm2022/components/progress/progress-segmented/index.mjs +2 -0
- package/esm2022/components/progress/progress-segmented/progress-segmented.directive.mjs +34 -0
- package/esm2022/components/progress/progress-segmented/taiga-ui-kit-components-progress-progress-segmented.mjs +5 -0
- package/esm2022/components/progress/progress.mjs +13 -0
- package/esm2022/components/pulse/index.mjs +2 -0
- package/esm2022/components/pulse/pulse.component.mjs +25 -0
- package/esm2022/components/pulse/taiga-ui-kit-components-pulse.mjs +5 -0
- package/esm2022/components/push/index.mjs +6 -0
- package/esm2022/components/push/push-alert.component.mjs +42 -0
- package/esm2022/components/push/push.component.mjs +34 -0
- package/esm2022/components/push/push.directive.mjs +33 -0
- package/esm2022/components/push/push.options.mjs +18 -0
- package/esm2022/components/push/push.service.mjs +19 -0
- package/esm2022/components/radio/index.mjs +5 -0
- package/esm2022/components/radio/radio.component.mjs +35 -0
- package/esm2022/components/radio/radio.directive.mjs +32 -0
- package/esm2022/components/radio/radio.mjs +4 -0
- package/esm2022/components/radio/radio.options.mjs +10 -0
- package/esm2022/components/radio-list/index.mjs +2 -0
- package/esm2022/components/radio-list/radio-list.component.mjs +72 -0
- package/esm2022/components/range/index.mjs +3 -0
- package/esm2022/components/range/range-change.directive.mjs +81 -0
- package/esm2022/components/range/range.component.mjs +145 -0
- package/esm2022/components/rating/index.mjs +3 -0
- package/esm2022/components/rating/rating.component.mjs +82 -0
- package/esm2022/components/rating/rating.options.mjs +10 -0
- package/esm2022/components/routable-dialog/generate-dialogable-route.mjs +17 -0
- package/esm2022/components/routable-dialog/index.mjs +3 -0
- package/esm2022/components/routable-dialog/routable-dialog.component.mjs +53 -0
- package/esm2022/components/segmented/index.mjs +3 -0
- package/esm2022/components/segmented/segmented.component.mjs +64 -0
- package/esm2022/components/segmented/segmented.directive.mjs +67 -0
- package/esm2022/components/segmented/taiga-ui-kit-components-segmented.mjs +5 -0
- package/esm2022/components/slider/helpers/key-steps.mjs +23 -0
- package/esm2022/components/slider/helpers/slider-key-steps.directive.mjs +63 -0
- package/esm2022/components/slider/helpers/slider-readonly.directive.mjs +77 -0
- package/esm2022/components/slider/helpers/slider-thumb-label.component.mjs +37 -0
- package/esm2022/components/slider/index.mjs +8 -0
- package/esm2022/components/slider/slider.component.mjs +94 -0
- package/esm2022/components/slider/slider.mjs +11 -0
- package/esm2022/components/slider/slider.options.mjs +13 -0
- package/esm2022/components/stepper/index.mjs +4 -0
- package/esm2022/components/stepper/step.component.mjs +68 -0
- package/esm2022/components/stepper/stepper.component.mjs +129 -0
- package/esm2022/components/stepper/stepper.mjs +4 -0
- package/esm2022/components/switch/index.mjs +3 -0
- package/esm2022/components/switch/switch.component.mjs +51 -0
- package/esm2022/components/switch/switch.options.mjs +12 -0
- package/esm2022/components/switch/taiga-ui-kit-components-switch.mjs +5 -0
- package/esm2022/components/tabs/index.mjs +9 -0
- package/esm2022/components/tabs/tab.directive.mjs +43 -0
- package/esm2022/components/tabs/tabs-horizontal.directive.mjs +114 -0
- package/esm2022/components/tabs/tabs-vertical.directive.mjs +42 -0
- package/esm2022/components/tabs/tabs-with-more.component.mjs +209 -0
- package/esm2022/components/tabs/tabs.directive.mjs +82 -0
- package/esm2022/components/tabs/tabs.mjs +15 -0
- package/esm2022/components/tabs/tabs.options.mjs +16 -0
- package/esm2022/components/tabs/tabs.providers.mjs +35 -0
- package/esm2022/components/tiles/index.mjs +6 -0
- package/esm2022/components/tiles/tile-handle.directive.mjs +66 -0
- package/esm2022/components/tiles/tile.component.mjs +70 -0
- package/esm2022/components/tiles/tile.service.mjs +85 -0
- package/esm2022/components/tiles/tiles.component.mjs +76 -0
- package/esm2022/components/tiles/tiles.mjs +5 -0
- package/esm2022/components/tree/components/tree/tree.component.mjs +64 -0
- package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +64 -0
- package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +42 -0
- package/esm2022/components/tree/directives/tree-children.directive.mjs +24 -0
- package/esm2022/components/tree/directives/tree-controller.directive.mjs +57 -0
- package/esm2022/components/tree/directives/tree-item-controller.directive.mjs +32 -0
- package/esm2022/components/tree/directives/tree-node.directive.mjs +32 -0
- package/esm2022/components/tree/index.mjs +13 -0
- package/esm2022/components/tree/misc/tree.constants.mjs +9 -0
- package/esm2022/components/tree/misc/tree.interfaces.mjs +2 -0
- package/esm2022/components/tree/misc/tree.service.mjs +31 -0
- package/esm2022/components/tree/misc/tree.tokens.mjs +36 -0
- package/esm2022/components/tree/tree.mjs +17 -0
- package/esm2022/directives/button-close/button-close.directive.mjs +35 -0
- package/esm2022/directives/button-close/button-close.options.mjs +3 -0
- package/esm2022/directives/button-close/index.mjs +3 -0
- package/esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs +5 -0
- package/esm2022/directives/button-group/button-group.directive.mjs +29 -0
- package/esm2022/directives/button-group/index.mjs +2 -0
- package/esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs +5 -0
- package/esm2022/directives/button-vertical/button-vertical.directive.mjs +29 -0
- package/esm2022/directives/button-vertical/index.mjs +2 -0
- package/esm2022/directives/button-vertical/taiga-ui-kit-directives-button-vertical.mjs +5 -0
- package/esm2022/directives/chevron/chevron.directive.mjs +41 -0
- package/esm2022/directives/chevron/index.mjs +2 -0
- package/esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs +5 -0
- package/esm2022/directives/comment/comment.directive.mjs +35 -0
- package/esm2022/directives/comment/index.mjs +2 -0
- package/esm2022/directives/comment/taiga-ui-kit-directives-comment.mjs +5 -0
- package/esm2022/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.mjs +105 -0
- package/esm2022/directives/data-list-dropdown-manager/index.mjs +2 -0
- package/esm2022/directives/fade/fade.directive.mjs +98 -0
- package/esm2022/directives/fade/index.mjs +2 -0
- package/esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs +5 -0
- package/esm2022/directives/highlight/highlight.directive.mjs +88 -0
- package/esm2022/directives/highlight/index.mjs +2 -0
- package/esm2022/directives/index.mjs +16 -0
- package/esm2022/directives/lazy-loading/index.mjs +3 -0
- package/esm2022/directives/lazy-loading/lazy-loading.directive.mjs +58 -0
- package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +23 -0
- package/esm2022/directives/present/index.mjs +2 -0
- package/esm2022/directives/present/present.directive.mjs +37 -0
- package/esm2022/directives/sensitive/index.mjs +2 -0
- package/esm2022/directives/sensitive/sensitive.directive.mjs +48 -0
- package/esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs +5 -0
- package/esm2022/directives/skeleton/index.mjs +2 -0
- package/esm2022/directives/skeleton/skeleton.directive.mjs +69 -0
- package/esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs +5 -0
- package/esm2022/directives/tooltip/index.mjs +2 -0
- package/esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs +5 -0
- package/esm2022/directives/tooltip/tooltip.directive.mjs +93 -0
- package/esm2022/directives/unfinished-validator/index.mjs +3 -0
- package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +23 -0
- package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +7 -0
- package/esm2022/directives/unmask-handler/index.mjs +2 -0
- package/esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs +5 -0
- package/esm2022/directives/unmask-handler/unmask-handler.directive.mjs +35 -0
- package/esm2022/index.mjs +6 -0
- package/esm2022/pipes/emails/emails.options.mjs +11 -0
- package/esm2022/pipes/emails/emails.pipe.mjs +26 -0
- package/esm2022/pipes/emails/index.mjs +3 -0
- package/esm2022/pipes/emails/taiga-ui-kit-pipes-emails.mjs +5 -0
- package/esm2022/pipes/field-error/field-error-content-pipe.mjs +42 -0
- package/esm2022/pipes/field-error/field-error-pipe.mjs +103 -0
- package/esm2022/pipes/field-error/index.mjs +3 -0
- package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +59 -0
- package/esm2022/pipes/filter-by-input/index.mjs +2 -0
- package/esm2022/pipes/index.mjs +7 -0
- package/esm2022/pipes/sort-countries/index.mjs +2 -0
- package/esm2022/pipes/sort-countries/sort-countries.pipe.mjs +23 -0
- package/esm2022/pipes/stringify/index.mjs +2 -0
- package/esm2022/pipes/stringify/stringify.pipe.mjs +18 -0
- package/esm2022/pipes/stringify-content/index.mjs +2 -0
- package/esm2022/pipes/stringify-content/stringify-content.pipe.mjs +18 -0
- package/esm2022/tokens/calendar-date-stream.mjs +24 -0
- package/esm2022/tokens/date-inputs-value-transformers.mjs +15 -0
- package/esm2022/tokens/i18n.mjs +26 -0
- package/esm2022/tokens/index.mjs +9 -0
- package/esm2022/tokens/input-date-options.mjs +16 -0
- package/esm2022/tokens/items-handlers.mjs +15 -0
- package/esm2022/tokens/mobile-calendar.mjs +13 -0
- package/esm2022/tokens/preview-icons.mjs +14 -0
- package/esm2022/tokens/validation-errors.mjs +6 -0
- package/esm2022/utils/create-time-periods.mjs +12 -0
- package/esm2022/utils/index.mjs +4 -0
- package/esm2022/utils/is-flat.mjs +4 -0
- package/esm2022/utils/toggle-day.mjs +6 -0
- package/fesm2022/taiga-ui-kit-components-accordion.mjs +197 -0
- package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs +48 -0
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-avatar.mjs +169 -0
- package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +39 -0
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-badge.mjs +62 -0
- package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs +41 -0
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-block.mjs +76 -0
- package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +46 -0
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs +77 -0
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +202 -0
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +206 -0
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-carousel.mjs +264 -0
- package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs +81 -0
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-chip.mjs +77 -0
- package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-compass.mjs +26 -0
- package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-confirm.mjs +68 -0
- package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +85 -0
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +83 -0
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-files.mjs +547 -0
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-filter.mjs +80 -0
- package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs +39 -0
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +203 -0
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +150 -0
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +171 -0
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-pagination.mjs +227 -0
- package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +86 -0
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-pin.mjs +26 -0
- package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-preview-preview-dialog.mjs +74 -0
- package/fesm2022/taiga-ui-kit-components-preview-preview-dialog.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-preview.mjs +369 -0
- package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-progress-progress-segmented.mjs +40 -0
- package/fesm2022/taiga-ui-kit-components-progress-progress-segmented.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-progress.mjs +155 -0
- package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-pulse.mjs +31 -0
- package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-push.mjs +133 -0
- package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs +78 -0
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-radio.mjs +80 -0
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-range.mjs +223 -0
- package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-rating.mjs +97 -0
- package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +81 -0
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-segmented.mjs +128 -0
- package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-slider.mjs +299 -0
- package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-stepper.mjs +196 -0
- package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-switch.mjs +67 -0
- package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +513 -0
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-tiles.mjs +286 -0
- package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-tree.mjs +357 -0
- package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components.mjs +48 -0
- package/fesm2022/taiga-ui-kit-components.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-button-close.mjs +43 -0
- package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs +35 -0
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-button-vertical.mjs +35 -0
- package/fesm2022/taiga-ui-kit-directives-button-vertical.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs +47 -0
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-comment.mjs +41 -0
- package/fesm2022/taiga-ui-kit-directives-comment.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +111 -0
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-fade.mjs +104 -0
- package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs +94 -0
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +82 -0
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-present.mjs +43 -0
- package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +54 -0
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +75 -0
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +99 -0
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +35 -0
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +41 -0
- package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-directives.mjs +20 -0
- package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-pipes-emails.mjs +42 -0
- package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +147 -0
- package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +65 -0
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +29 -0
- package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +24 -0
- package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +24 -0
- package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-pipes.mjs +11 -0
- package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-tokens.mjs +130 -0
- package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-utils.mjs +29 -0
- package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit.mjs +10 -0
- package/fesm2022/taiga-ui-kit.mjs.map +1 -0
- package/index.d.ts +0 -9
- package/package.json +461 -28
- package/pipes/emails/emails.options.d.ts +1 -0
- package/pipes/emails/emails.pipe.d.ts +8 -0
- package/pipes/emails/index.d.ts +2 -0
- package/pipes/field-error/field-error-content-pipe.d.ts +3 -4
- package/pipes/field-error/field-error-pipe.d.ts +9 -10
- package/pipes/field-error/index.d.ts +0 -1
- package/pipes/filter-by-input/filter-by-input.pipe.d.ts +12 -10
- package/pipes/filter-by-input/index.d.ts +0 -3
- package/pipes/index.d.ts +1 -3
- package/pipes/sort-countries/index.d.ts +0 -1
- package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -5
- package/pipes/stringify/index.d.ts +0 -1
- package/pipes/stringify/stringify.pipe.d.ts +3 -3
- package/pipes/stringify-content/index.d.ts +0 -1
- package/pipes/stringify-content/stringify-content.pipe.d.ts +4 -4
- package/tokens/calendar-date-stream.d.ts +6 -4
- package/tokens/date-inputs-value-transformers.d.ts +5 -4
- package/tokens/i18n.d.ts +13 -5
- package/tokens/index.d.ts +1 -3
- package/tokens/input-date-options.d.ts +6 -5
- package/tokens/items-handlers.d.ts +2 -2
- package/tokens/mobile-calendar.d.ts +3 -1
- package/tokens/preview-icons.d.ts +12 -0
- package/tokens/validation-errors.d.ts +3 -3
- package/utils/create-time-periods.d.ts +2 -0
- package/utils/index.d.ts +3 -6
- package/utils/toggle-day.d.ts +2 -0
- package/abstract/abstract-native-select.d.ts +0 -18
- package/abstract/index.d.ts +0 -1
- package/abstract/package.json +0 -10
- package/abstract/taiga-ui-kit-abstract.d.ts +0 -5
- package/bundles/taiga-ui-kit-abstract.umd.js +0 -87
- package/bundles/taiga-ui-kit-abstract.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-classes.umd.js +0 -57
- package/bundles/taiga-ui-kit-classes.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-accordion.umd.js +0 -648
- package/bundles/taiga-ui-kit-components-accordion.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-action.umd.js +0 -469
- package/bundles/taiga-ui-kit-components-action.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-arrow.umd.js +0 -140
- package/bundles/taiga-ui-kit-components-arrow.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.js +0 -512
- package/bundles/taiga-ui-kit-components-avatar.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-badge.umd.js +0 -142
- package/bundles/taiga-ui-kit-components-badge.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.js +0 -163
- package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +0 -435
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js +0 -618
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js +0 -588
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.js +0 -696
- package/bundles/taiga-ui-kit-components-carousel.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +0 -515
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +0 -455
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.js +0 -479
- package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js +0 -703
- package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +0 -526
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-elastic-container.umd.js +0 -459
- package/bundles/taiga-ui-kit-components-elastic-container.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-files.umd.js +0 -678
- package/bundles/taiga-ui-kit-components-files.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-filter.umd.js +0 -478
- package/bundles/taiga-ui-kit-components-filter.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js +0 -573
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +0 -682
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +0 -837
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js +0 -898
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +0 -848
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js +0 -849
- package/bundles/taiga-ui-kit-components-input-files.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.js +0 -483
- package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js +0 -626
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js +0 -660
- package/bundles/taiga-ui-kit-components-input-month.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +0 -814
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.js +0 -592
- package/bundles/taiga-ui-kit-components-input-password.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +0 -684
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +0 -785
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.js +0 -667
- package/bundles/taiga-ui-kit-components-input-range.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.js +0 -608
- package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +0 -972
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +0 -894
- package/bundles/taiga-ui-kit-components-input-time.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-year.umd.js +0 -578
- package/bundles/taiga-ui-kit-components-input-year.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input.umd.js +0 -528
- package/bundles/taiga-ui-kit-components-input.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-island.umd.js +0 -152
- package/bundles/taiga-ui-kit-components-island.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-items-with-more.umd.js +0 -563
- package/bundles/taiga-ui-kit-components-items-with-more.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js +0 -616
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js +0 -98
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +0 -415
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js +0 -1213
- package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.js +0 -681
- package/bundles/taiga-ui-kit-components-pagination.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +0 -493
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-progress.umd.js +0 -643
- package/bundles/taiga-ui-kit-components-progress.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-prompt.umd.js +0 -100
- package/bundles/taiga-ui-kit-components-prompt.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-push.umd.js +0 -658
- package/bundles/taiga-ui-kit-components-push.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-radio-block.umd.js +0 -515
- package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-radio-group.umd.js +0 -73
- package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +0 -486
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-radio-list.umd.js +0 -498
- package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-radio.umd.js +0 -567
- package/bundles/taiga-ui-kit-components-radio.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-range.umd.js +0 -683
- package/bundles/taiga-ui-kit-components-range.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-rating.umd.js +0 -518
- package/bundles/taiga-ui-kit-components-rating.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-routable-dialog.umd.js +0 -452
- package/bundles/taiga-ui-kit-components-routable-dialog.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-select-option.umd.js +0 -160
- package/bundles/taiga-ui-kit-components-select-option.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-select.umd.js +0 -807
- package/bundles/taiga-ui-kit-components-select.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-slider.umd.js +0 -808
- package/bundles/taiga-ui-kit-components-slider.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.js +0 -634
- package/bundles/taiga-ui-kit-components-stepper.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.js +0 -1121
- package/bundles/taiga-ui-kit-components-tabs.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-tag.umd.js +0 -300
- package/bundles/taiga-ui-kit-components-tag.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-textarea.umd.js +0 -839
- package/bundles/taiga-ui-kit-components-textarea.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-tiles.umd.js +0 -713
- package/bundles/taiga-ui-kit-components-tiles.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.js +0 -581
- package/bundles/taiga-ui-kit-components-toggle.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-tree.umd.js +0 -568
- package/bundles/taiga-ui-kit-components-tree.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components.umd.js +0 -411
- package/bundles/taiga-ui-kit-components.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-constants.umd.js +0 -452
- package/bundles/taiga-ui-kit-constants.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +0 -508
- package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-highlight.umd.js +0 -152
- package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +0 -477
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-mask.umd.js +0 -201
- package/bundles/taiga-ui-kit-directives-mask.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-present.umd.js +0 -121
- package/bundles/taiga-ui-kit-directives-present.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-project-class.umd.js +0 -87
- package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +0 -94
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +0 -68
- package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-directives.umd.js +0 -63
- package/bundles/taiga-ui-kit-directives.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-interfaces.umd.js +0 -11
- package/bundles/taiga-ui-kit-interfaces.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +0 -195
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-internal.umd.js +0 -21
- package/bundles/taiga-ui-kit-internal.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-field-error.umd.js +0 -565
- package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +0 -489
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-iso-to-country-code.umd.js +0 -76
- package/bundles/taiga-ui-kit-pipes-iso-to-country-code.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js +0 -395
- package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +0 -73
- package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-stringify.umd.js +0 -70
- package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-to-country-code.umd.js +0 -98
- package/bundles/taiga-ui-kit-pipes-to-country-code.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-to-year.umd.js +0 -70
- package/bundles/taiga-ui-kit-pipes-to-year.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes.umd.js +0 -63
- package/bundles/taiga-ui-kit-pipes.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-providers.umd.js +0 -39
- package/bundles/taiga-ui-kit-providers.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-services.umd.js +0 -67
- package/bundles/taiga-ui-kit-services.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-tokens.umd.js +0 -372
- package/bundles/taiga-ui-kit-tokens.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-types.umd.js +0 -11
- package/bundles/taiga-ui-kit-types.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-files.umd.js +0 -39
- package/bundles/taiga-ui-kit-utils-files.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-format.umd.js +0 -37
- package/bundles/taiga-ui-kit-utils-format.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-mask.umd.js +0 -522
- package/bundles/taiga-ui-kit-utils-mask.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-math.umd.js +0 -372
- package/bundles/taiga-ui-kit-utils-math.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +0 -412
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-phone.umd.js +0 -31
- package/bundles/taiga-ui-kit-utils-phone.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-utils.umd.js +0 -51
- package/bundles/taiga-ui-kit-utils.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-validators.umd.js +0 -30
- package/bundles/taiga-ui-kit-validators.umd.js.map +0 -1
- package/bundles/taiga-ui-kit.umd.js +0 -99
- package/bundles/taiga-ui-kit.umd.js.map +0 -1
- package/classes/day-range-period.d.ts +0 -9
- package/classes/index.d.ts +0 -3
- package/classes/named-day.d.ts +0 -8
- package/classes/package.json +0 -10
- package/classes/stringifiable-item.d.ts +0 -10
- package/classes/taiga-ui-kit-classes.d.ts +0 -5
- package/components/accordion/accordion-item/accordion-item-content.directive.d.ts +0 -8
- package/components/accordion/accordion-item/accordion-item-eager-content.directive.d.ts +0 -5
- package/components/accordion/accordion-item/accordion-item.component.d.ts +0 -36
- package/components/accordion/accordion.component.d.ts +0 -14
- package/components/accordion/accordion.module.d.ts +0 -14
- package/components/accordion/package.json +0 -10
- package/components/accordion/taiga-ui-kit-components-accordion.d.ts +0 -5
- package/components/action/action.component.d.ts +0 -15
- package/components/action/action.module.d.ts +0 -10
- package/components/action/index.d.ts +0 -2
- package/components/action/package.json +0 -10
- package/components/action/taiga-ui-kit-components-action.d.ts +0 -5
- package/components/arrow/arrow.component.d.ts +0 -15
- package/components/arrow/arrow.module.d.ts +0 -10
- package/components/arrow/arrow.options.d.ts +0 -13
- package/components/arrow/arrow.providers.d.ts +0 -14
- package/components/arrow/index.d.ts +0 -4
- package/components/arrow/package.json +0 -10
- package/components/arrow/taiga-ui-kit-components-arrow.d.ts +0 -5
- package/components/avatar/avatar.module.d.ts +0 -10
- package/components/avatar/package.json +0 -10
- package/components/avatar/taiga-ui-kit-components-avatar.d.ts +0 -5
- package/components/badge/badge.component.d.ts +0 -19
- package/components/badge/badge.module.d.ts +0 -8
- package/components/badge/package.json +0 -10
- package/components/badge/taiga-ui-kit-components-badge.d.ts +0 -5
- package/components/badged-content/badged-content.module.d.ts +0 -11
- package/components/badged-content/package.json +0 -10
- package/components/badged-content/taiga-ui-kit-components-badged-content.d.ts +0 -5
- package/components/breadcrumbs/breadcrumbs.module.d.ts +0 -10
- package/components/breadcrumbs/package.json +0 -10
- package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.d.ts +0 -5
- package/components/calendar-month/calendar-month.module.d.ts +0 -10
- package/components/calendar-month/package.json +0 -10
- package/components/calendar-month/taiga-ui-kit-components-calendar-month.d.ts +0 -5
- package/components/calendar-range/calendar-range.module.d.ts +0 -11
- package/components/calendar-range/package.json +0 -10
- package/components/calendar-range/taiga-ui-kit-components-calendar-range.d.ts +0 -5
- package/components/carousel/carousel.module.d.ts +0 -14
- package/components/carousel/package.json +0 -10
- package/components/carousel/taiga-ui-kit-components-carousel.d.ts +0 -5
- package/components/checkbox/checkbox.module.d.ts +0 -10
- package/components/checkbox/package.json +0 -10
- package/components/checkbox/taiga-ui-kit-components-checkbox.d.ts +0 -5
- package/components/checkbox-block/checkbox-block.component.d.ts +0 -24
- package/components/checkbox-block/checkbox-block.module.d.ts +0 -12
- package/components/checkbox-block/index.d.ts +0 -2
- package/components/checkbox-block/package.json +0 -10
- package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.d.ts +0 -5
- package/components/checkbox-labeled/checkbox-labeled.component.d.ts +0 -20
- package/components/checkbox-labeled/checkbox-labeled.module.d.ts +0 -10
- package/components/checkbox-labeled/index.d.ts +0 -2
- package/components/checkbox-labeled/package.json +0 -10
- package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.d.ts +0 -5
- package/components/combo-box/combo-box-strict.directive.d.ts +0 -10
- package/components/combo-box/combo-box.component.d.ts +0 -48
- package/components/combo-box/combo-box.directive.d.ts +0 -9
- package/components/combo-box/combo-box.module.d.ts +0 -15
- package/components/combo-box/index.d.ts +0 -4
- package/components/combo-box/package.json +0 -10
- package/components/combo-box/taiga-ui-kit-components-combo-box.d.ts +0 -5
- package/components/data-list-wrapper/data-list-wrapper.d.ts +0 -19
- package/components/data-list-wrapper/package.json +0 -10
- package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.d.ts +0 -5
- package/components/elastic-container/elastic-container.module.d.ts +0 -8
- package/components/elastic-container/package.json +0 -10
- package/components/elastic-container/taiga-ui-kit-components-elastic-container.d.ts +0 -5
- package/components/files/file/file-options.d.ts +0 -8
- package/components/files/files.component.d.ts +0 -16
- package/components/files/files.module.d.ts +0 -12
- package/components/files/package.json +0 -10
- package/components/files/taiga-ui-kit-components-files.d.ts +0 -5
- package/components/filter/filter.module.d.ts +0 -13
- package/components/filter/package.json +0 -10
- package/components/filter/taiga-ui-kit-components-filter.d.ts +0 -5
- package/components/input/index.d.ts +0 -3
- package/components/input/input.component.d.ts +0 -26
- package/components/input/input.directive.d.ts +0 -8
- package/components/input/input.module.d.ts +0 -11
- package/components/input/package.json +0 -10
- package/components/input/taiga-ui-kit-components-input.d.ts +0 -5
- package/components/input-copy/index.d.ts +0 -4
- package/components/input-copy/input-copy.component.d.ts +0 -31
- package/components/input-copy/input-copy.directive.d.ts +0 -8
- package/components/input-copy/input-copy.module.d.ts +0 -11
- package/components/input-copy/input-copy.options.d.ts +0 -13
- package/components/input-copy/package.json +0 -10
- package/components/input-copy/taiga-ui-kit-components-input-copy.d.ts +0 -5
- package/components/input-count/index.d.ts +0 -4
- package/components/input-count/input-count.component.d.ts +0 -53
- package/components/input-count/input-count.directive.d.ts +0 -10
- package/components/input-count/input-count.module.d.ts +0 -16
- package/components/input-count/input-count.options.d.ts +0 -21
- package/components/input-count/package.json +0 -10
- package/components/input-count/taiga-ui-kit-components-input-count.d.ts +0 -5
- package/components/input-date/index.d.ts +0 -3
- package/components/input-date/input-date.component.d.ts +0 -67
- package/components/input-date/input-date.directive.d.ts +0 -13
- package/components/input-date/input-date.module.d.ts +0 -15
- package/components/input-date/native-date/native-date.component.d.ts +0 -14
- package/components/input-date/package.json +0 -10
- package/components/input-date/taiga-ui-kit-components-input-date.d.ts +0 -5
- package/components/input-date-range/index.d.ts +0 -3
- package/components/input-date-range/input-date-range.component.d.ts +0 -74
- package/components/input-date-range/input-date-range.directive.d.ts +0 -12
- package/components/input-date-range/input-date-range.module.d.ts +0 -15
- package/components/input-date-range/package.json +0 -10
- package/components/input-date-range/taiga-ui-kit-components-input-date-range.d.ts +0 -5
- package/components/input-date-time/index.d.ts +0 -3
- package/components/input-date-time/input-date-time.component.d.ts +0 -72
- package/components/input-date-time/input-date-time.directive.d.ts +0 -13
- package/components/input-date-time/input-date-time.module.d.ts +0 -15
- package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -10
- package/components/input-date-time/package.json +0 -10
- package/components/input-date-time/taiga-ui-kit-components-input-date-time.d.ts +0 -5
- package/components/input-files/index.d.ts +0 -4
- package/components/input-files/input-files.component.d.ts +0 -57
- package/components/input-files/input-files.directive.d.ts +0 -20
- package/components/input-files/input-files.module.d.ts +0 -14
- package/components/input-files/input-files.options.d.ts +0 -20
- package/components/input-files/max-size-rejection-error.pipe.d.ts +0 -13
- package/components/input-files/package.json +0 -10
- package/components/input-files/taiga-ui-kit-components-input-files.d.ts +0 -5
- package/components/input-inline/input-inline.module.d.ts +0 -11
- package/components/input-inline/package.json +0 -10
- package/components/input-inline/taiga-ui-kit-components-input-inline.d.ts +0 -5
- package/components/input-month/index.d.ts +0 -3
- package/components/input-month/input-month.component.d.ts +0 -41
- package/components/input-month/input-month.directive.d.ts +0 -17
- package/components/input-month/input-month.module.d.ts +0 -13
- package/components/input-month/package.json +0 -10
- package/components/input-month/taiga-ui-kit-components-input-month.d.ts +0 -5
- package/components/input-month-range/index.d.ts +0 -3
- package/components/input-month-range/input-month-range.component.d.ts +0 -35
- package/components/input-month-range/input-month-range.directive.d.ts +0 -17
- package/components/input-month-range/input-month-range.module.d.ts +0 -12
- package/components/input-month-range/package.json +0 -10
- package/components/input-month-range/taiga-ui-kit-components-input-month-range.d.ts +0 -5
- package/components/input-number/index.d.ts +0 -4
- package/components/input-number/input-number.component.d.ts +0 -57
- package/components/input-number/input-number.directive.d.ts +0 -12
- package/components/input-number/input-number.module.d.ts +0 -13
- package/components/input-number/input-number.options.d.ts +0 -21
- package/components/input-number/package.json +0 -10
- package/components/input-number/taiga-ui-kit-components-input-number.d.ts +0 -5
- package/components/input-password/index.d.ts +0 -4
- package/components/input-password/input-password.component.d.ts +0 -32
- package/components/input-password/input-password.directive.d.ts +0 -12
- package/components/input-password/input-password.module.d.ts +0 -12
- package/components/input-password/input-password.options.d.ts +0 -17
- package/components/input-password/package.json +0 -10
- package/components/input-password/taiga-ui-kit-components-input-password.d.ts +0 -5
- package/components/input-phone/index.d.ts +0 -4
- package/components/input-phone/input-phone.component.d.ts +0 -47
- package/components/input-phone/input-phone.directive.d.ts +0 -13
- package/components/input-phone/input-phone.module.d.ts +0 -12
- package/components/input-phone/input-phone.options.d.ts +0 -12
- package/components/input-phone/package.json +0 -10
- package/components/input-phone/taiga-ui-kit-components-input-phone.d.ts +0 -5
- package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
- package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
- package/components/input-phone/utils/index.d.ts +0 -2
- package/components/input-phone-international/input-phone-international.module.d.ts +0 -14
- package/components/input-phone-international/package.json +0 -10
- package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.d.ts +0 -5
- package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -1
- package/components/input-range/index.d.ts +0 -2
- package/components/input-range/input-range.component.d.ts +0 -55
- package/components/input-range/input-range.module.d.ts +0 -14
- package/components/input-range/package.json +0 -10
- package/components/input-range/taiga-ui-kit-components-input-range.d.ts +0 -5
- package/components/input-slider/index.d.ts +0 -2
- package/components/input-slider/input-slider.component.d.ts +0 -45
- package/components/input-slider/input-slider.module.d.ts +0 -14
- package/components/input-slider/package.json +0 -10
- package/components/input-slider/taiga-ui-kit-components-input-slider.d.ts +0 -5
- package/components/input-tag/index.d.ts +0 -3
- package/components/input-tag/input-tag.component.d.ts +0 -92
- package/components/input-tag/input-tag.module.d.ts +0 -13
- package/components/input-tag/input-tag.options.d.ts +0 -13
- package/components/input-tag/package.json +0 -10
- package/components/input-tag/taiga-ui-kit-components-input-tag.d.ts +0 -5
- package/components/input-time/index.d.ts +0 -4
- package/components/input-time/input-time.component.d.ts +0 -60
- package/components/input-time/input-time.directive.d.ts +0 -13
- package/components/input-time/input-time.module.d.ts +0 -15
- package/components/input-time/input-time.options.d.ts +0 -19
- package/components/input-time/native-time/native-time.component.d.ts +0 -14
- package/components/input-time/package.json +0 -10
- package/components/input-time/taiga-ui-kit-components-input-time.d.ts +0 -5
- package/components/input-year/index.d.ts +0 -3
- package/components/input-year/input-year.component.d.ts +0 -35
- package/components/input-year/input-year.directive.d.ts +0 -10
- package/components/input-year/input-year.module.d.ts +0 -12
- package/components/input-year/package.json +0 -10
- package/components/input-year/taiga-ui-kit-components-input-year.d.ts +0 -5
- package/components/island/index.d.ts +0 -2
- package/components/island/island.component.d.ts +0 -16
- package/components/island/island.module.d.ts +0 -8
- package/components/island/package.json +0 -10
- package/components/island/taiga-ui-kit-components-island.d.ts +0 -5
- package/components/items-with-more/items-with-more.module.d.ts +0 -12
- package/components/items-with-more/package.json +0 -10
- package/components/items-with-more/taiga-ui-kit-components-items-with-more.d.ts +0 -5
- package/components/line-clamp/line-clamp.module.d.ts +0 -13
- package/components/line-clamp/package.json +0 -10
- package/components/line-clamp/taiga-ui-kit-components-line-clamp.d.ts +0 -5
- package/components/marker-icon/index.d.ts +0 -2
- package/components/marker-icon/marker-icon.component.d.ts +0 -13
- package/components/marker-icon/marker-icon.module.d.ts +0 -9
- package/components/marker-icon/package.json +0 -10
- package/components/marker-icon/taiga-ui-kit-components-marker-icon.d.ts +0 -5
- package/components/multi-select/hide-selected.pipe.d.ts +0 -13
- package/components/multi-select/index.d.ts +0 -10
- package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -26
- package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
- package/components/multi-select/multi-select.component.d.ts +0 -66
- package/components/multi-select/multi-select.directive.d.ts +0 -14
- package/components/multi-select/multi-select.module.d.ts +0 -23
- package/components/multi-select/multi-select.options.d.ts +0 -13
- package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
- package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
- package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
- package/components/multi-select/package.json +0 -10
- package/components/multi-select/taiga-ui-kit-components-multi-select.d.ts +0 -5
- package/components/multi-select-option/index.d.ts +0 -2
- package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
- package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
- package/components/multi-select-option/package.json +0 -10
- package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.d.ts +0 -5
- package/components/package.json +0 -10
- package/components/pagination/package.json +0 -10
- package/components/pagination/pagination.module.d.ts +0 -11
- package/components/pagination/taiga-ui-kit-components-pagination.d.ts +0 -5
- package/components/pdf-viewer/package.json +0 -10
- package/components/pdf-viewer/pdf-viewer.module.d.ts +0 -11
- package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +0 -5
- package/components/progress/package.json +0 -10
- package/components/progress/progress-segmented/progress-segmented.component.d.ts +0 -14
- package/components/progress/progress.module.d.ts +0 -13
- package/components/progress/taiga-ui-kit-components-progress.d.ts +0 -5
- package/components/prompt/index.d.ts +0 -2
- package/components/prompt/package.json +0 -10
- package/components/prompt/prompt.component.d.ts +0 -25
- package/components/prompt/prompt.module.d.ts +0 -11
- package/components/prompt/taiga-ui-kit-components-prompt.d.ts +0 -5
- package/components/push/package.json +0 -10
- package/components/push/push-alert.directive.d.ts +0 -12
- package/components/push/push.module.d.ts +0 -13
- package/components/push/taiga-ui-kit-components-push.d.ts +0 -5
- package/components/radio/package.json +0 -10
- package/components/radio/radio.module.d.ts +0 -10
- package/components/radio/taiga-ui-kit-components-radio.d.ts +0 -5
- package/components/radio-block/index.d.ts +0 -2
- package/components/radio-block/package.json +0 -10
- package/components/radio-block/radio-block.component.d.ts +0 -28
- package/components/radio-block/radio-block.module.d.ts +0 -11
- package/components/radio-block/taiga-ui-kit-components-radio-block.d.ts +0 -5
- package/components/radio-group/index.d.ts +0 -2
- package/components/radio-group/package.json +0 -10
- package/components/radio-group/radio-group.component.d.ts +0 -7
- package/components/radio-group/radio-group.module.d.ts +0 -7
- package/components/radio-group/taiga-ui-kit-components-radio-group.d.ts +0 -5
- package/components/radio-labeled/index.d.ts +0 -2
- package/components/radio-labeled/package.json +0 -10
- package/components/radio-labeled/radio-labeled.component.d.ts +0 -25
- package/components/radio-labeled/radio-labeled.module.d.ts +0 -11
- package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.d.ts +0 -5
- package/components/radio-list/package.json +0 -10
- package/components/radio-list/radio-list.module.d.ts +0 -12
- package/components/radio-list/taiga-ui-kit-components-radio-list.d.ts +0 -5
- package/components/range/package.json +0 -10
- package/components/range/range.module.d.ts +0 -12
- package/components/range/taiga-ui-kit-components-range.d.ts +0 -5
- package/components/rating/package.json +0 -10
- package/components/rating/rating.module.d.ts +0 -10
- package/components/rating/taiga-ui-kit-components-rating.d.ts +0 -5
- package/components/routable-dialog/package.json +0 -10
- package/components/routable-dialog/routable-dialog.module.d.ts +0 -7
- package/components/routable-dialog/taiga-ui-kit-components-routable-dialog.d.ts +0 -5
- package/components/select/index.d.ts +0 -6
- package/components/select/native-select/native-select-group.component.d.ts +0 -13
- package/components/select/native-select/native-select.component.d.ts +0 -12
- package/components/select/package.json +0 -10
- package/components/select/select.component.d.ts +0 -39
- package/components/select/select.directive.d.ts +0 -12
- package/components/select/select.module.d.ts +0 -18
- package/components/select/select.options.d.ts +0 -12
- package/components/select/taiga-ui-kit-components-select.d.ts +0 -5
- package/components/select-option/index.d.ts +0 -2
- package/components/select-option/package.json +0 -10
- package/components/select-option/select-option.component.d.ts +0 -27
- package/components/select-option/select-option.module.d.ts +0 -9
- package/components/select-option/taiga-ui-kit-components-select-option.d.ts +0 -5
- package/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.d.ts +0 -15
- package/components/slider/package.json +0 -10
- package/components/slider/slider.module.d.ts +0 -11
- package/components/slider/taiga-ui-kit-components-slider.d.ts +0 -5
- package/components/stepper/package.json +0 -10
- package/components/stepper/step/step.component.d.ts +0 -22
- package/components/stepper/stepper.module.d.ts +0 -10
- package/components/stepper/taiga-ui-kit-components-stepper.d.ts +0 -5
- package/components/tabs/package.json +0 -10
- package/components/tabs/tab/tab.component.d.ts +0 -19
- package/components/tabs/tab/tab.providers.d.ts +0 -8
- package/components/tabs/tabs/tabs.component.d.ts +0 -23
- package/components/tabs/tabs-vertical/tabs-vertical.component.d.ts +0 -11
- package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +0 -48
- package/components/tabs/tabs-with-more/tabs-with-more.providers.d.ts +0 -4
- package/components/tabs/tabs.module.d.ts +0 -16
- package/components/tabs/taiga-ui-kit-components-tabs.d.ts +0 -5
- package/components/tabs/underline/underline.component.d.ts +0 -18
- package/components/tag/index.d.ts +0 -3
- package/components/tag/package.json +0 -10
- package/components/tag/tag.component.d.ts +0 -44
- package/components/tag/tag.module.d.ts +0 -11
- package/components/tag/tag.options.d.ts +0 -15
- package/components/tag/taiga-ui-kit-components-tag.d.ts +0 -5
- package/components/taiga-ui-kit-components.d.ts +0 -5
- package/components/textarea/deprecated.d.ts +0 -30
- package/components/textarea/index.d.ts +0 -4
- package/components/textarea/package.json +0 -10
- package/components/textarea/taiga-ui-kit-components-textarea.d.ts +0 -5
- package/components/textarea/textarea.component.d.ts +0 -51
- package/components/textarea/textarea.directive.d.ts +0 -8
- package/components/textarea/textarea.module.d.ts +0 -13
- package/components/tiles/package.json +0 -10
- package/components/tiles/taiga-ui-kit-components-tiles.d.ts +0 -5
- package/components/tiles/tiles.module.d.ts +0 -9
- package/components/toggle/index.d.ts +0 -3
- package/components/toggle/package.json +0 -10
- package/components/toggle/taiga-ui-kit-components-toggle.d.ts +0 -5
- package/components/toggle/toggle.component.d.ts +0 -32
- package/components/toggle/toggle.module.d.ts +0 -11
- package/components/toggle/toggle.options.d.ts +0 -24
- package/components/tree/components/tree-item/tree-item.providers.d.ts +0 -2
- package/components/tree/package.json +0 -10
- package/components/tree/taiga-ui-kit-components-tree.d.ts +0 -5
- package/components/tree/tree.module.d.ts +0 -17
- package/constants/date-mode-maskito-adapter.d.ts +0 -3
- package/constants/date-time-separator.d.ts +0 -1
- package/constants/empty-mask.d.ts +0 -6
- package/constants/group-class-names.d.ts +0 -5
- package/constants/index.d.ts +0 -10
- package/constants/mask-after-code-regexp.d.ts +0 -1
- package/constants/masks.d.ts +0 -7
- package/constants/math.d.ts +0 -4
- package/constants/max-day-range-length-mapper.d.ts +0 -7
- package/constants/max-time-values.d.ts +0 -2
- package/constants/package.json +0 -10
- package/constants/router-link-options.d.ts +0 -9
- package/constants/taiga-ui-kit-constants.d.ts +0 -5
- package/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.d.ts +0 -7
- package/directives/data-list-dropdown-manager/package.json +0 -10
- package/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.d.ts +0 -5
- package/directives/highlight/highlight.module.d.ts +0 -7
- package/directives/highlight/package.json +0 -10
- package/directives/highlight/taiga-ui-kit-directives-highlight.d.ts +0 -5
- package/directives/lazy-loading/lazy-loading.module.d.ts +0 -7
- package/directives/lazy-loading/package.json +0 -10
- package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.d.ts +0 -5
- package/directives/mask/index.d.ts +0 -1
- package/directives/mask/legacy-mask.d.ts +0 -53
- package/directives/mask/package.json +0 -10
- package/directives/mask/taiga-ui-kit-directives-mask.d.ts +0 -5
- package/directives/package.json +0 -10
- package/directives/present/package.json +0 -10
- package/directives/present/present.module.d.ts +0 -7
- package/directives/present/taiga-ui-kit-directives-present.d.ts +0 -5
- package/directives/project-class/index.d.ts +0 -2
- package/directives/project-class/package.json +0 -10
- package/directives/project-class/project-class.directive.d.ts +0 -13
- package/directives/project-class/project-class.module.d.ts +0 -7
- package/directives/project-class/taiga-ui-kit-directives-project-class.d.ts +0 -5
- package/directives/taiga-ui-kit-directives.d.ts +0 -5
- package/directives/unfinished-validator/package.json +0 -10
- package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.d.ts +0 -5
- package/directives/unfinished-validator/unfinished-validator.module.d.ts +0 -7
- package/directives/value-accessor/index.d.ts +0 -2
- package/directives/value-accessor/package.json +0 -10
- package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.d.ts +0 -5
- package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
- package/directives/value-accessor/value-accessor.module.d.ts +0 -7
- package/esm2015/abstract/abstract-native-select.js +0 -49
- package/esm2015/abstract/index.js +0 -2
- package/esm2015/abstract/taiga-ui-kit-abstract.js +0 -5
- package/esm2015/classes/day-range-period.js +0 -11
- package/esm2015/classes/index.js +0 -4
- package/esm2015/classes/named-day.js +0 -11
- package/esm2015/classes/stringifiable-item.js +0 -13
- package/esm2015/classes/taiga-ui-kit-classes.js +0 -5
- package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +0 -25
- package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +0 -13
- package/esm2015/components/accordion/accordion-item/accordion-item.component.js +0 -133
- package/esm2015/components/accordion/accordion.component.js +0 -54
- package/esm2015/components/accordion/accordion.module.js +0 -65
- package/esm2015/components/accordion/index.js +0 -6
- package/esm2015/components/action/action.component.js +0 -70
- package/esm2015/components/action/action.module.js +0 -33
- package/esm2015/components/action/index.js +0 -3
- package/esm2015/components/action/taiga-ui-kit-components-action.js +0 -5
- package/esm2015/components/arrow/arrow.component.js +0 -48
- package/esm2015/components/arrow/arrow.module.js +0 -20
- package/esm2015/components/arrow/arrow.options.js +0 -14
- package/esm2015/components/arrow/arrow.providers.js +0 -14
- package/esm2015/components/arrow/index.js +0 -5
- package/esm2015/components/arrow/taiga-ui-kit-components-arrow.js +0 -5
- package/esm2015/components/avatar/avatar.component.js +0 -99
- package/esm2015/components/avatar/avatar.module.js +0 -20
- package/esm2015/components/avatar/avatar.options.js +0 -15
- package/esm2015/components/avatar/index.js +0 -4
- package/esm2015/components/badge/badge.component.js +0 -76
- package/esm2015/components/badge/badge.module.js +0 -18
- package/esm2015/components/badge/index.js +0 -3
- package/esm2015/components/badged-content/badged-content.component.js +0 -88
- package/esm2015/components/badged-content/badged-content.module.js +0 -21
- package/esm2015/components/badged-content/index.js +0 -3
- package/esm2015/components/breadcrumbs/breadcrumbs.component.js +0 -50
- package/esm2015/components/breadcrumbs/breadcrumbs.module.js +0 -20
- package/esm2015/components/breadcrumbs/breadcrumbs.options.js +0 -11
- package/esm2015/components/breadcrumbs/index.js +0 -4
- package/esm2015/components/calendar-month/calendar-month.component.js +0 -197
- package/esm2015/components/calendar-month/calendar-month.module.js +0 -48
- package/esm2015/components/calendar-month/index.js +0 -3
- package/esm2015/components/calendar-range/calendar-range.component.js +0 -169
- package/esm2015/components/calendar-range/calendar-range.module.js +0 -46
- package/esm2015/components/calendar-range/index.js +0 -3
- package/esm2015/components/carousel/carousel-autoscroll.directive.js +0 -22
- package/esm2015/components/carousel/carousel-buttons.directive.js +0 -27
- package/esm2015/components/carousel/carousel-scroll.directive.js +0 -27
- package/esm2015/components/carousel/carousel.component.js +0 -143
- package/esm2015/components/carousel/carousel.directive.js +0 -42
- package/esm2015/components/carousel/carousel.module.js +0 -58
- package/esm2015/components/carousel/index.js +0 -7
- package/esm2015/components/checkbox/checkbox.component.js +0 -76
- package/esm2015/components/checkbox/checkbox.module.js +0 -39
- package/esm2015/components/checkbox/index.js +0 -3
- package/esm2015/components/checkbox-block/checkbox-block.component.js +0 -105
- package/esm2015/components/checkbox-block/checkbox-block.module.js +0 -41
- package/esm2015/components/checkbox-block/index.js +0 -3
- package/esm2015/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +0 -5
- package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +0 -76
- package/esm2015/components/checkbox-labeled/checkbox-labeled.module.js +0 -20
- package/esm2015/components/checkbox-labeled/index.js +0 -3
- package/esm2015/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +0 -5
- package/esm2015/components/combo-box/combo-box-strict.directive.js +0 -32
- package/esm2015/components/combo-box/combo-box.component.js +0 -203
- package/esm2015/components/combo-box/combo-box.directive.js +0 -21
- package/esm2015/components/combo-box/combo-box.module.js +0 -67
- package/esm2015/components/combo-box/index.js +0 -5
- package/esm2015/components/combo-box/taiga-ui-kit-components-combo-box.js +0 -5
- package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +0 -41
- package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +0 -44
- package/esm2015/components/data-list-wrapper/data-list-wrapper.js +0 -40
- package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +0 -44
- package/esm2015/components/data-list-wrapper/index.js +0 -5
- package/esm2015/components/elastic-container/elastic-container.component.js +0 -35
- package/esm2015/components/elastic-container/elastic-container.directive.js +0 -58
- package/esm2015/components/elastic-container/elastic-container.module.js +0 -17
- package/esm2015/components/elastic-container/index.js +0 -4
- package/esm2015/components/files/file/file-options.js +0 -10
- package/esm2015/components/files/file/file.component.js +0 -169
- package/esm2015/components/files/files.component.js +0 -52
- package/esm2015/components/files/files.module.js +0 -53
- package/esm2015/components/files/index.js +0 -5
- package/esm2015/components/filter/filter.component.js +0 -78
- package/esm2015/components/filter/filter.module.js +0 -42
- package/esm2015/components/filter/index.js +0 -3
- package/esm2015/components/index.js +0 -67
- package/esm2015/components/input/index.js +0 -4
- package/esm2015/components/input/input.component.js +0 -106
- package/esm2015/components/input/input.directive.js +0 -18
- package/esm2015/components/input/input.module.js +0 -34
- package/esm2015/components/input/taiga-ui-kit-components-input.js +0 -5
- package/esm2015/components/input-copy/index.js +0 -5
- package/esm2015/components/input-copy/input-copy.component.js +0 -124
- package/esm2015/components/input-copy/input-copy.directive.js +0 -18
- package/esm2015/components/input-copy/input-copy.module.js +0 -46
- package/esm2015/components/input-copy/input-copy.options.js +0 -12
- package/esm2015/components/input-copy/taiga-ui-kit-components-input-copy.js +0 -5
- package/esm2015/components/input-count/index.js +0 -5
- package/esm2015/components/input-count/input-count.component.js +0 -192
- package/esm2015/components/input-count/input-count.directive.js +0 -29
- package/esm2015/components/input-count/input-count.module.js +0 -48
- package/esm2015/components/input-count/input-count.options.js +0 -22
- package/esm2015/components/input-count/taiga-ui-kit-components-input-count.js +0 -5
- package/esm2015/components/input-date/index.js +0 -4
- package/esm2015/components/input-date/input-date.component.js +0 -278
- package/esm2015/components/input-date/input-date.directive.js +0 -33
- package/esm2015/components/input-date/input-date.module.js +0 -65
- package/esm2015/components/input-date/native-date/native-date.component.js +0 -50
- package/esm2015/components/input-date/taiga-ui-kit-components-input-date.js +0 -5
- package/esm2015/components/input-date-range/index.js +0 -4
- package/esm2015/components/input-date-range/input-date-range.component.js +0 -321
- package/esm2015/components/input-date-range/input-date-range.directive.js +0 -29
- package/esm2015/components/input-date-range/input-date-range.module.js +0 -68
- package/esm2015/components/input-date-range/taiga-ui-kit-components-input-date-range.js +0 -5
- package/esm2015/components/input-date-time/index.js +0 -4
- package/esm2015/components/input-date-time/input-date-time.component.js +0 -327
- package/esm2015/components/input-date-time/input-date-time.directive.js +0 -30
- package/esm2015/components/input-date-time/input-date-time.module.js +0 -74
- package/esm2015/components/input-date-time/native-date-time/native-date-time.directive.js +0 -47
- package/esm2015/components/input-date-time/taiga-ui-kit-components-input-date-time.js +0 -5
- package/esm2015/components/input-files/index.js +0 -5
- package/esm2015/components/input-files/input-files.component.js +0 -245
- package/esm2015/components/input-files/input-files.directive.js +0 -77
- package/esm2015/components/input-files/input-files.module.js +0 -89
- package/esm2015/components/input-files/input-files.options.js +0 -16
- package/esm2015/components/input-files/max-size-rejection-error.pipe.js +0 -28
- package/esm2015/components/input-files/taiga-ui-kit-components-input-files.js +0 -5
- package/esm2015/components/input-inline/index.js +0 -3
- package/esm2015/components/input-inline/input-inline.component.js +0 -83
- package/esm2015/components/input-inline/input-inline.module.js +0 -37
- package/esm2015/components/input-month/index.js +0 -4
- package/esm2015/components/input-month/input-month.component.js +0 -158
- package/esm2015/components/input-month/input-month.directive.js +0 -54
- package/esm2015/components/input-month/input-month.module.js +0 -51
- package/esm2015/components/input-month/taiga-ui-kit-components-input-month.js +0 -5
- package/esm2015/components/input-month-range/index.js +0 -4
- package/esm2015/components/input-month-range/input-month-range.component.js +0 -137
- package/esm2015/components/input-month-range/input-month-range.directive.js +0 -59
- package/esm2015/components/input-month-range/input-month-range.module.js +0 -56
- package/esm2015/components/input-month-range/taiga-ui-kit-components-input-month-range.js +0 -5
- package/esm2015/components/input-number/index.js +0 -5
- package/esm2015/components/input-number/input-number.component.js +0 -291
- package/esm2015/components/input-number/input-number.directive.js +0 -31
- package/esm2015/components/input-number/input-number.module.js +0 -45
- package/esm2015/components/input-number/input-number.options.js +0 -21
- package/esm2015/components/input-number/taiga-ui-kit-components-input-number.js +0 -5
- package/esm2015/components/input-password/index.js +0 -5
- package/esm2015/components/input-password/input-password.component.js +0 -115
- package/esm2015/components/input-password/input-password.directive.js +0 -28
- package/esm2015/components/input-password/input-password.module.js +0 -53
- package/esm2015/components/input-password/input-password.options.js +0 -16
- package/esm2015/components/input-password/taiga-ui-kit-components-input-password.js +0 -5
- package/esm2015/components/input-phone/index.js +0 -5
- package/esm2015/components/input-phone/input-phone.component.js +0 -235
- package/esm2015/components/input-phone/input-phone.directive.js +0 -31
- package/esm2015/components/input-phone/input-phone.module.js +0 -41
- package/esm2015/components/input-phone/input-phone.options.js +0 -14
- package/esm2015/components/input-phone/taiga-ui-kit-components-input-phone.js +0 -5
- package/esm2015/components/input-phone/utils/complete-phone-insertion-preprocessor.js +0 -41
- package/esm2015/components/input-phone/utils/create-phone-mask-expression.js +0 -17
- package/esm2015/components/input-phone/utils/index.js +0 -3
- package/esm2015/components/input-phone-international/index.js +0 -5
- package/esm2015/components/input-phone-international/input-phone-international.component.js +0 -219
- package/esm2015/components/input-phone-international/input-phone-international.module.js +0 -76
- package/esm2015/components/input-phone-international/input-phone-international.options.js +0 -14
- package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +0 -8
- package/esm2015/components/input-range/index.js +0 -3
- package/esm2015/components/input-range/input-range.component.js +0 -224
- package/esm2015/components/input-range/input-range.module.js +0 -52
- package/esm2015/components/input-range/taiga-ui-kit-components-input-range.js +0 -5
- package/esm2015/components/input-slider/index.js +0 -3
- package/esm2015/components/input-slider/input-slider.component.js +0 -182
- package/esm2015/components/input-slider/input-slider.module.js +0 -46
- package/esm2015/components/input-slider/taiga-ui-kit-components-input-slider.js +0 -5
- package/esm2015/components/input-tag/index.js +0 -4
- package/esm2015/components/input-tag/input-tag.component.js +0 -454
- package/esm2015/components/input-tag/input-tag.module.js +0 -61
- package/esm2015/components/input-tag/input-tag.options.js +0 -14
- package/esm2015/components/input-tag/taiga-ui-kit-components-input-tag.js +0 -5
- package/esm2015/components/input-time/index.js +0 -5
- package/esm2015/components/input-time/input-time.component.js +0 -298
- package/esm2015/components/input-time/input-time.directive.js +0 -33
- package/esm2015/components/input-time/input-time.module.js +0 -59
- package/esm2015/components/input-time/input-time.options.js +0 -18
- package/esm2015/components/input-time/native-time/native-time.component.js +0 -79
- package/esm2015/components/input-time/taiga-ui-kit-components-input-time.js +0 -5
- package/esm2015/components/input-year/index.js +0 -4
- package/esm2015/components/input-year/input-year.component.js +0 -130
- package/esm2015/components/input-year/input-year.directive.js +0 -25
- package/esm2015/components/input-year/input-year.module.js +0 -44
- package/esm2015/components/input-year/taiga-ui-kit-components-input-year.js +0 -5
- package/esm2015/components/island/index.js +0 -3
- package/esm2015/components/island/island.component.js +0 -75
- package/esm2015/components/island/island.module.js +0 -18
- package/esm2015/components/island/taiga-ui-kit-components-island.js +0 -5
- package/esm2015/components/items-with-more/index.js +0 -6
- package/esm2015/components/items-with-more/items-with-more.component.js +0 -70
- package/esm2015/components/items-with-more/items-with-more.directive.js +0 -23
- package/esm2015/components/items-with-more/items-with-more.module.js +0 -36
- package/esm2015/components/items-with-more/items-with-more.service.js +0 -66
- package/esm2015/components/items-with-more/more.directive.js +0 -16
- package/esm2015/components/line-clamp/index.js +0 -5
- package/esm2015/components/line-clamp/line-clamp-box.component.js +0 -43
- package/esm2015/components/line-clamp/line-clamp-position.directive.js +0 -28
- package/esm2015/components/line-clamp/line-clamp.component.js +0 -124
- package/esm2015/components/line-clamp/line-clamp.module.js +0 -45
- package/esm2015/components/line-clamp/line-clamp.options.js +0 -12
- package/esm2015/components/marker-icon/index.js +0 -3
- package/esm2015/components/marker-icon/marker-icon.component.js +0 -45
- package/esm2015/components/marker-icon/marker-icon.module.js +0 -19
- package/esm2015/components/marker-icon/taiga-ui-kit-components-marker-icon.js +0 -5
- package/esm2015/components/multi-select/hide-selected.pipe.js +0 -46
- package/esm2015/components/multi-select/index.js +0 -11
- package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +0 -116
- package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +0 -69
- package/esm2015/components/multi-select/multi-select.component.js +0 -235
- package/esm2015/components/multi-select/multi-select.directive.js +0 -29
- package/esm2015/components/multi-select/multi-select.module.js +0 -119
- package/esm2015/components/multi-select/multi-select.options.js +0 -13
- package/esm2015/components/multi-select/native-multi-select/native-multi-select-group.component.js +0 -72
- package/esm2015/components/multi-select/native-multi-select/native-multi-select.component.js +0 -68
- package/esm2015/components/multi-select/native-multi-select/native-multi-select.js +0 -18
- package/esm2015/components/multi-select/taiga-ui-kit-components-multi-select.js +0 -5
- package/esm2015/components/multi-select-option/index.js +0 -3
- package/esm2015/components/multi-select-option/multi-select-option.component.js +0 -33
- package/esm2015/components/multi-select-option/multi-select-option.module.js +0 -19
- package/esm2015/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +0 -5
- package/esm2015/components/pagination/index.js +0 -3
- package/esm2015/components/pagination/pagination.component.js +0 -245
- package/esm2015/components/pagination/pagination.module.js +0 -40
- package/esm2015/components/pdf-viewer/index.js +0 -6
- package/esm2015/components/pdf-viewer/pdf-viewer.component.js +0 -51
- package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +0 -28
- package/esm2015/components/pdf-viewer/pdf-viewer.module.js +0 -24
- package/esm2015/components/pdf-viewer/pdf-viewer.options.js +0 -13
- package/esm2015/components/pdf-viewer/pdf-viewer.service.js +0 -26
- package/esm2015/components/progress/index.js +0 -7
- package/esm2015/components/progress/progress-bar/progress-bar.component.js +0 -39
- package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +0 -56
- package/esm2015/components/progress/progress-circle/progress-circle.component.js +0 -82
- package/esm2015/components/progress/progress-label/progress-label.component.js +0 -16
- package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +0 -50
- package/esm2015/components/progress/progress.module.js +0 -43
- package/esm2015/components/prompt/index.js +0 -3
- package/esm2015/components/prompt/prompt.component.js +0 -44
- package/esm2015/components/prompt/prompt.module.js +0 -21
- package/esm2015/components/prompt/taiga-ui-kit-components-prompt.js +0 -5
- package/esm2015/components/push/index.js +0 -8
- package/esm2015/components/push/push-alert.component.js +0 -44
- package/esm2015/components/push/push-alert.directive.js +0 -47
- package/esm2015/components/push/push.component.js +0 -46
- package/esm2015/components/push/push.directive.js +0 -54
- package/esm2015/components/push/push.module.js +0 -73
- package/esm2015/components/push/push.options.js +0 -18
- package/esm2015/components/push/push.service.js +0 -20
- package/esm2015/components/radio/index.js +0 -4
- package/esm2015/components/radio/radio.component.js +0 -127
- package/esm2015/components/radio/radio.module.js +0 -39
- package/esm2015/components/radio/radio.options.js +0 -18
- package/esm2015/components/radio-block/index.js +0 -3
- package/esm2015/components/radio-block/radio-block.component.js +0 -120
- package/esm2015/components/radio-block/radio-block.module.js +0 -21
- package/esm2015/components/radio-block/taiga-ui-kit-components-radio-block.js +0 -5
- package/esm2015/components/radio-group/index.js +0 -3
- package/esm2015/components/radio-group/radio-group.component.js +0 -21
- package/esm2015/components/radio-group/radio-group.module.js +0 -16
- package/esm2015/components/radio-group/taiga-ui-kit-components-radio-group.js +0 -5
- package/esm2015/components/radio-labeled/index.js +0 -3
- package/esm2015/components/radio-labeled/radio-labeled.component.js +0 -87
- package/esm2015/components/radio-labeled/radio-labeled.module.js +0 -37
- package/esm2015/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +0 -5
- package/esm2015/components/radio-list/index.js +0 -3
- package/esm2015/components/radio-list/radio-list.component.js +0 -99
- package/esm2015/components/radio-list/radio-list.module.js +0 -38
- package/esm2015/components/range/index.js +0 -4
- package/esm2015/components/range/range-change.directive.js +0 -93
- package/esm2015/components/range/range.component.js +0 -180
- package/esm2015/components/range/range.module.js +0 -22
- package/esm2015/components/rating/index.js +0 -4
- package/esm2015/components/rating/rating.component.js +0 -97
- package/esm2015/components/rating/rating.module.js +0 -36
- package/esm2015/components/rating/rating.options.js +0 -15
- package/esm2015/components/routable-dialog/generate-dialogable-route.js +0 -19
- package/esm2015/components/routable-dialog/index.js +0 -4
- package/esm2015/components/routable-dialog/routable-dialog.component.js +0 -65
- package/esm2015/components/routable-dialog/routable-dialog.module.js +0 -16
- package/esm2015/components/select/index.js +0 -7
- package/esm2015/components/select/native-select/native-select-group.component.js +0 -72
- package/esm2015/components/select/native-select/native-select.component.js +0 -68
- package/esm2015/components/select/select.component.js +0 -147
- package/esm2015/components/select/select.directive.js +0 -27
- package/esm2015/components/select/select.module.js +0 -83
- package/esm2015/components/select/select.options.js +0 -12
- package/esm2015/components/select/taiga-ui-kit-components-select.js +0 -5
- package/esm2015/components/select-option/index.js +0 -3
- package/esm2015/components/select-option/select-option.component.js +0 -96
- package/esm2015/components/select-option/select-option.module.js +0 -19
- package/esm2015/components/select-option/taiga-ui-kit-components-select-option.js +0 -5
- package/esm2015/components/slider/helpers/slider-key-steps.directive.js +0 -86
- package/esm2015/components/slider/helpers/slider-readonly.directive.js +0 -82
- package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +0 -44
- package/esm2015/components/slider/index.js +0 -7
- package/esm2015/components/slider/slider.component.js +0 -137
- package/esm2015/components/slider/slider.module.js +0 -37
- package/esm2015/components/slider/slider.options.js +0 -13
- package/esm2015/components/stepper/index.js +0 -4
- package/esm2015/components/stepper/step/step.component.js +0 -96
- package/esm2015/components/stepper/stepper.component.js +0 -145
- package/esm2015/components/stepper/stepper.module.js +0 -20
- package/esm2015/components/tabs/index.js +0 -11
- package/esm2015/components/tabs/tab/tab.component.js +0 -85
- package/esm2015/components/tabs/tab/tab.providers.js +0 -36
- package/esm2015/components/tabs/tabs/tabs.component.js +0 -123
- package/esm2015/components/tabs/tabs-vertical/tabs-vertical.component.js +0 -43
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +0 -214
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +0 -37
- package/esm2015/components/tabs/tabs.directive.js +0 -57
- package/esm2015/components/tabs/tabs.module.js +0 -69
- package/esm2015/components/tabs/tabs.options.js +0 -15
- package/esm2015/components/tabs/underline/underline.component.js +0 -68
- package/esm2015/components/tag/index.js +0 -4
- package/esm2015/components/tag/tag.component.js +0 -191
- package/esm2015/components/tag/tag.module.js +0 -37
- package/esm2015/components/tag/tag.options.js +0 -15
- package/esm2015/components/tag/taiga-ui-kit-components-tag.js +0 -5
- package/esm2015/components/textarea/deprecated.js +0 -104
- package/esm2015/components/textarea/index.js +0 -5
- package/esm2015/components/textarea/taiga-ui-kit-components-textarea.js +0 -5
- package/esm2015/components/textarea/textarea.component.js +0 -217
- package/esm2015/components/textarea/textarea.directive.js +0 -18
- package/esm2015/components/textarea/textarea.module.js +0 -51
- package/esm2015/components/tiles/index.js +0 -6
- package/esm2015/components/tiles/tile-handle.directive.js +0 -68
- package/esm2015/components/tiles/tile.component.js +0 -87
- package/esm2015/components/tiles/tile.service.js +0 -84
- package/esm2015/components/tiles/tiles.component.js +0 -88
- package/esm2015/components/tiles/tiles.module.js +0 -18
- package/esm2015/components/toggle/index.js +0 -4
- package/esm2015/components/toggle/taiga-ui-kit-components-toggle.js +0 -5
- package/esm2015/components/toggle/toggle.component.js +0 -116
- package/esm2015/components/toggle/toggle.module.js +0 -52
- package/esm2015/components/toggle/toggle.options.js +0 -28
- package/esm2015/components/tree/components/tree/tree.component.js +0 -78
- package/esm2015/components/tree/components/tree-item/tree-item.component.js +0 -69
- package/esm2015/components/tree/components/tree-item/tree-item.providers.js +0 -16
- package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +0 -50
- package/esm2015/components/tree/directives/tree-children.directive.js +0 -22
- package/esm2015/components/tree/directives/tree-controller.directive.js +0 -68
- package/esm2015/components/tree/directives/tree-item-controller.directive.js +0 -40
- package/esm2015/components/tree/directives/tree-node.directive.js +0 -39
- package/esm2015/components/tree/index.js +0 -14
- package/esm2015/components/tree/misc/tree.constants.js +0 -9
- package/esm2015/components/tree/misc/tree.interfaces.js +0 -2
- package/esm2015/components/tree/misc/tree.service.js +0 -40
- package/esm2015/components/tree/misc/tree.tokens.js +0 -36
- package/esm2015/components/tree/tree.module.js +0 -67
- package/esm2015/constants/date-mode-maskito-adapter.js +0 -6
- package/esm2015/constants/date-time-separator.js +0 -2
- package/esm2015/constants/empty-mask.js +0 -10
- package/esm2015/constants/group-class-names.js +0 -16
- package/esm2015/constants/index.js +0 -11
- package/esm2015/constants/mask-after-code-regexp.js +0 -2
- package/esm2015/constants/masks.js +0 -32
- package/esm2015/constants/math.js +0 -5
- package/esm2015/constants/max-day-range-length-mapper.js +0 -18
- package/esm2015/constants/max-time-values.js +0 -7
- package/esm2015/constants/router-link-options.js +0 -10
- package/esm2015/constants/taiga-ui-kit-constants.js +0 -5
- package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.js +0 -108
- package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.js +0 -16
- package/esm2015/directives/data-list-dropdown-manager/index.js +0 -3
- package/esm2015/directives/highlight/highlight.directive.js +0 -95
- package/esm2015/directives/highlight/highlight.module.js +0 -16
- package/esm2015/directives/highlight/index.js +0 -3
- package/esm2015/directives/index.js +0 -9
- package/esm2015/directives/lazy-loading/index.js +0 -4
- package/esm2015/directives/lazy-loading/lazy-loading.directive.js +0 -62
- package/esm2015/directives/lazy-loading/lazy-loading.module.js +0 -16
- package/esm2015/directives/lazy-loading/lazy-loading.service.js +0 -35
- package/esm2015/directives/mask/index.js +0 -2
- package/esm2015/directives/mask/legacy-mask.js +0 -171
- package/esm2015/directives/mask/taiga-ui-kit-directives-mask.js +0 -5
- package/esm2015/directives/present/index.js +0 -3
- package/esm2015/directives/present/present.directive.js +0 -69
- package/esm2015/directives/present/present.module.js +0 -16
- package/esm2015/directives/project-class/index.js +0 -3
- package/esm2015/directives/project-class/project-class.directive.js +0 -32
- package/esm2015/directives/project-class/project-class.module.js +0 -16
- package/esm2015/directives/project-class/taiga-ui-kit-directives-project-class.js +0 -5
- package/esm2015/directives/unfinished-validator/index.js +0 -3
- package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +0 -42
- package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +0 -16
- package/esm2015/directives/value-accessor/index.js +0 -3
- package/esm2015/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +0 -5
- package/esm2015/directives/value-accessor/value-accessor.directive.js +0 -15
- package/esm2015/directives/value-accessor/value-accessor.module.js +0 -16
- package/esm2015/index.js +0 -15
- package/esm2015/interfaces/file-like.js +0 -2
- package/esm2015/interfaces/index.js +0 -4
- package/esm2015/interfaces/mobile-calendar-data.js +0 -2
- package/esm2015/interfaces/month-context.js +0 -2
- package/esm2015/interfaces/taiga-ui-kit-interfaces.js +0 -5
- package/esm2015/internal/index.js +0 -2
- package/esm2015/internal/primitive-calendar-range/index.js +0 -3
- package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +0 -132
- package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +0 -22
- package/esm2015/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +0 -5
- package/esm2015/internal/taiga-ui-kit-internal.js +0 -5
- package/esm2015/pipes/field-error/field-error-content-pipe.js +0 -43
- package/esm2015/pipes/field-error/field-error-pipe.js +0 -128
- package/esm2015/pipes/field-error/field-error.module.js +0 -17
- package/esm2015/pipes/field-error/index.js +0 -4
- package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +0 -36
- package/esm2015/pipes/filter-by-input/filter-by-input.base.js +0 -37
- package/esm2015/pipes/filter-by-input/filter-by-input.module.js +0 -17
- package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +0 -38
- package/esm2015/pipes/filter-by-input/index.js +0 -5
- package/esm2015/pipes/index.js +0 -9
- package/esm2015/pipes/iso-to-country-code/index.js +0 -3
- package/esm2015/pipes/iso-to-country-code/iso-to-country-code.module.js +0 -16
- package/esm2015/pipes/iso-to-country-code/iso-to-country-code.pipe.js +0 -24
- package/esm2015/pipes/iso-to-country-code/taiga-ui-kit-pipes-iso-to-country-code.js +0 -5
- package/esm2015/pipes/sort-countries/index.js +0 -3
- package/esm2015/pipes/sort-countries/sort-countries.module.js +0 -16
- package/esm2015/pipes/sort-countries/sort-countries.pipe.js +0 -25
- package/esm2015/pipes/stringify/index.js +0 -3
- package/esm2015/pipes/stringify/stringify.module.js +0 -16
- package/esm2015/pipes/stringify/stringify.pipe.js +0 -16
- package/esm2015/pipes/stringify-content/index.js +0 -3
- package/esm2015/pipes/stringify-content/stringify-content.module.js +0 -16
- package/esm2015/pipes/stringify-content/stringify-content.pipe.js +0 -16
- package/esm2015/pipes/to-country-code/index.js +0 -3
- package/esm2015/pipes/to-country-code/taiga-ui-kit-pipes-to-country-code.js +0 -5
- package/esm2015/pipes/to-country-code/to-country-code.module.js +0 -16
- package/esm2015/pipes/to-country-code/to-country-code.pipe.js +0 -47
- package/esm2015/pipes/to-year/index.js +0 -3
- package/esm2015/pipes/to-year/taiga-ui-kit-pipes-to-year.js +0 -5
- package/esm2015/pipes/to-year/to-year.module.js +0 -16
- package/esm2015/pipes/to-year/to-year.pipe.js +0 -17
- package/esm2015/providers/index.js +0 -4
- package/esm2015/providers/month-formatter.provider.js +0 -14
- package/esm2015/providers/specific-dropdown-controllers.js +0 -6
- package/esm2015/providers/taiga-ui-kit-providers.js +0 -5
- package/esm2015/providers/value-accessor.provider.js +0 -10
- package/esm2015/services/dialog-form.service.js +0 -32
- package/esm2015/services/index.js +0 -2
- package/esm2015/services/taiga-ui-kit-services.js +0 -5
- package/esm2015/tokens/calendar-date-stream.js +0 -18
- package/esm2015/tokens/countries-masks.js +0 -220
- package/esm2015/tokens/date-inputs-value-transformers.js +0 -15
- package/esm2015/tokens/i18n.js +0 -24
- package/esm2015/tokens/index.js +0 -11
- package/esm2015/tokens/input-date-options.js +0 -15
- package/esm2015/tokens/items-handlers.js +0 -14
- package/esm2015/tokens/mobile-calendar.js +0 -6
- package/esm2015/tokens/month-formatter.js +0 -6
- package/esm2015/tokens/tab-margin.js +0 -6
- package/esm2015/tokens/validation-errors.js +0 -6
- package/esm2015/types/dropdown-position.js +0 -2
- package/esm2015/types/file-state.js +0 -2
- package/esm2015/types/handler-with-context.js +0 -2
- package/esm2015/types/index.js +0 -9
- package/esm2015/types/key-steps.js +0 -2
- package/esm2015/types/marker-icon-mode.js +0 -2
- package/esm2015/types/status.js +0 -2
- package/esm2015/types/step-state.js +0 -2
- package/esm2015/types/taiga-ui-kit-types.js +0 -5
- package/esm2015/types/time-format-parts.js +0 -2
- package/esm2015/utils/files/format-size.js +0 -16
- package/esm2015/utils/files/get-accept-array.js +0 -7
- package/esm2015/utils/files/index.js +0 -3
- package/esm2015/utils/files/taiga-ui-kit-utils-files.js +0 -5
- package/esm2015/utils/format/index.js +0 -2
- package/esm2015/utils/format/string-hash-to-hsl.js +0 -21
- package/esm2015/utils/format/taiga-ui-kit-utils-format.js +0 -5
- package/esm2015/utils/index.js +0 -7
- package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +0 -27
- package/esm2015/utils/mask/create-auto-corrected-date-range-pipe.js +0 -41
- package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +0 -32
- package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +0 -33
- package/esm2015/utils/mask/create-date-mask.js +0 -21
- package/esm2015/utils/mask/create-date-range-mask.js +0 -19
- package/esm2015/utils/mask/create-time-mask.js +0 -24
- package/esm2015/utils/mask/index.js +0 -8
- package/esm2015/utils/mask/taiga-ui-kit-utils-mask.js +0 -5
- package/esm2015/utils/math/horizontal-direction-to-number.js +0 -12
- package/esm2015/utils/math/index.js +0 -3
- package/esm2015/utils/math/key-steps.js +0 -20
- package/esm2015/utils/math/taiga-ui-kit-utils-math.js +0 -5
- package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +0 -27
- package/esm2015/utils/miscellaneous/create-time-periods.js +0 -12
- package/esm2015/utils/miscellaneous/get-precision.js +0 -8
- package/esm2015/utils/miscellaneous/index.js +0 -6
- package/esm2015/utils/miscellaneous/is-flat.js +0 -4
- package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +0 -14
- package/esm2015/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +0 -5
- package/esm2015/utils/phone/get-max-allowed-phone-length.js +0 -4
- package/esm2015/utils/phone/index.js +0 -4
- package/esm2015/utils/phone/iso-to-country-code.js +0 -5
- package/esm2015/utils/phone/not-kz-region.js +0 -5
- package/esm2015/utils/phone/taiga-ui-kit-utils-phone.js +0 -5
- package/esm2015/validators/index.js +0 -2
- package/esm2015/validators/taiga-ui-kit-validators.js +0 -5
- package/esm2015/validators/unfinished.validator.js +0 -14
- package/fesm2015/taiga-ui-kit-abstract.js +0 -56
- package/fesm2015/taiga-ui-kit-abstract.js.map +0 -1
- package/fesm2015/taiga-ui-kit-classes.js +0 -41
- package/fesm2015/taiga-ui-kit-classes.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-accordion.js +0 -276
- package/fesm2015/taiga-ui-kit-components-accordion.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-action.js +0 -106
- package/fesm2015/taiga-ui-kit-components-action.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-arrow.js +0 -95
- package/fesm2015/taiga-ui-kit-components-arrow.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-avatar.js +0 -135
- package/fesm2015/taiga-ui-kit-components-avatar.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-badge.js +0 -98
- package/fesm2015/taiga-ui-kit-components-badge.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-badged-content.js +0 -112
- package/fesm2015/taiga-ui-kit-components-badged-content.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +0 -81
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-calendar-month.js +0 -247
- package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-calendar-range.js +0 -217
- package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-carousel.js +0 -303
- package/fesm2015/taiga-ui-kit-components-carousel.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-checkbox-block.js +0 -146
- package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +0 -98
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-checkbox.js +0 -117
- package/fesm2015/taiga-ui-kit-components-checkbox.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-combo-box.js +0 -314
- package/fesm2015/taiga-ui-kit-components-combo-box.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +0 -157
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-elastic-container.js +0 -110
- package/fesm2015/taiga-ui-kit-components-elastic-container.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-files.js +0 -277
- package/fesm2015/taiga-ui-kit-components-files.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-filter.js +0 -123
- package/fesm2015/taiga-ui-kit-components-filter.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-copy.js +0 -196
- package/fesm2015/taiga-ui-kit-components-input-copy.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js +0 -286
- package/fesm2015/taiga-ui-kit-components-input-count.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-date-range.js +0 -415
- package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-date-time.js +0 -470
- package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-date.js +0 -417
- package/fesm2015/taiga-ui-kit-components-input-date.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-files.js +0 -437
- package/fesm2015/taiga-ui-kit-components-input-files.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-inline.js +0 -122
- package/fesm2015/taiga-ui-kit-components-input-inline.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-month-range.js +0 -247
- package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-month.js +0 -257
- package/fesm2015/taiga-ui-kit-components-input-month.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-number.js +0 -384
- package/fesm2015/taiga-ui-kit-components-input-number.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-password.js +0 -207
- package/fesm2015/taiga-ui-kit-components-input-password.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js +0 -311
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js +0 -374
- package/fesm2015/taiga-ui-kit-components-input-phone.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-range.js +0 -275
- package/fesm2015/taiga-ui-kit-components-input-range.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-slider.js +0 -227
- package/fesm2015/taiga-ui-kit-components-input-slider.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js +0 -528
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js +0 -476
- package/fesm2015/taiga-ui-kit-components-input-time.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-year.js +0 -197
- package/fesm2015/taiga-ui-kit-components-input-year.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input.js +0 -156
- package/fesm2015/taiga-ui-kit-components-input.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-island.js +0 -97
- package/fesm2015/taiga-ui-kit-components-island.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-items-with-more.js +0 -196
- package/fesm2015/taiga-ui-kit-components-items-with-more.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-line-clamp.js +0 -239
- package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-marker-icon.js +0 -67
- package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-multi-select-option.js +0 -56
- package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-multi-select.js +0 -725
- package/fesm2015/taiga-ui-kit-components-multi-select.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-pagination.js +0 -287
- package/fesm2015/taiga-ui-kit-components-pagination.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +0 -131
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-progress.js +0 -268
- package/fesm2015/taiga-ui-kit-components-progress.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-prompt.js +0 -66
- package/fesm2015/taiga-ui-kit-components-prompt.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-push.js +0 -272
- package/fesm2015/taiga-ui-kit-components-push.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-radio-block.js +0 -142
- package/fesm2015/taiga-ui-kit-components-radio-block.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-radio-group.js +0 -41
- package/fesm2015/taiga-ui-kit-components-radio-group.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-radio-labeled.js +0 -125
- package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-radio-list.js +0 -139
- package/fesm2015/taiga-ui-kit-components-radio-list.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-radio.js +0 -183
- package/fesm2015/taiga-ui-kit-components-radio.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-range.js +0 -289
- package/fesm2015/taiga-ui-kit-components-range.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-rating.js +0 -148
- package/fesm2015/taiga-ui-kit-components-rating.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-routable-dialog.js +0 -103
- package/fesm2015/taiga-ui-kit-components-routable-dialog.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-select-option.js +0 -118
- package/fesm2015/taiga-ui-kit-components-select-option.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-select.js +0 -387
- package/fesm2015/taiga-ui-kit-components-select.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-slider.js +0 -380
- package/fesm2015/taiga-ui-kit-components-slider.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-stepper.js +0 -252
- package/fesm2015/taiga-ui-kit-components-stepper.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-tabs.js +0 -689
- package/fesm2015/taiga-ui-kit-components-tabs.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-tag.js +0 -245
- package/fesm2015/taiga-ui-kit-components-tag.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-textarea.js +0 -373
- package/fesm2015/taiga-ui-kit-components-textarea.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-tiles.js +0 -328
- package/fesm2015/taiga-ui-kit-components-tiles.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-toggle.js +0 -195
- package/fesm2015/taiga-ui-kit-components-toggle.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-tree.js +0 -477
- package/fesm2015/taiga-ui-kit-components-tree.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components.js +0 -71
- package/fesm2015/taiga-ui-kit-components.js.map +0 -1
- package/fesm2015/taiga-ui-kit-constants.js +0 -114
- package/fesm2015/taiga-ui-kit-constants.js.map +0 -1
- package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js +0 -128
- package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js.map +0 -1
- package/fesm2015/taiga-ui-kit-directives-highlight.js +0 -115
- package/fesm2015/taiga-ui-kit-directives-highlight.js.map +0 -1
- package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +0 -111
- package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +0 -1
- package/fesm2015/taiga-ui-kit-directives-mask.js +0 -170
- package/fesm2015/taiga-ui-kit-directives-mask.js.map +0 -1
- package/fesm2015/taiga-ui-kit-directives-present.js +0 -89
- package/fesm2015/taiga-ui-kit-directives-present.js.map +0 -1
- package/fesm2015/taiga-ui-kit-directives-project-class.js +0 -52
- package/fesm2015/taiga-ui-kit-directives-project-class.js.map +0 -1
- package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +0 -62
- package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +0 -1
- package/fesm2015/taiga-ui-kit-directives-value-accessor.js +0 -35
- package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +0 -1
- package/fesm2015/taiga-ui-kit-directives.js +0 -13
- package/fesm2015/taiga-ui-kit-directives.js.map +0 -1
- package/fesm2015/taiga-ui-kit-interfaces.js +0 -4
- package/fesm2015/taiga-ui-kit-interfaces.js.map +0 -1
- package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +0 -156
- package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +0 -1
- package/fesm2015/taiga-ui-kit-internal.js +0 -6
- package/fesm2015/taiga-ui-kit-internal.js.map +0 -1
- package/fesm2015/taiga-ui-kit-pipes-field-error.js +0 -188
- package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +0 -1
- package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +0 -124
- package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +0 -1
- package/fesm2015/taiga-ui-kit-pipes-iso-to-country-code.js +0 -44
- package/fesm2015/taiga-ui-kit-pipes-iso-to-country-code.js.map +0 -1
- package/fesm2015/taiga-ui-kit-pipes-sort-countries.js +0 -45
- package/fesm2015/taiga-ui-kit-pipes-sort-countries.js.map +0 -1
- package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +0 -36
- package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +0 -1
- package/fesm2015/taiga-ui-kit-pipes-stringify.js +0 -36
- package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +0 -1
- package/fesm2015/taiga-ui-kit-pipes-to-country-code.js +0 -67
- package/fesm2015/taiga-ui-kit-pipes-to-country-code.js.map +0 -1
- package/fesm2015/taiga-ui-kit-pipes-to-year.js +0 -37
- package/fesm2015/taiga-ui-kit-pipes-to-year.js.map +0 -1
- package/fesm2015/taiga-ui-kit-pipes.js +0 -13
- package/fesm2015/taiga-ui-kit-pipes.js.map +0 -1
- package/fesm2015/taiga-ui-kit-providers.js +0 -34
- package/fesm2015/taiga-ui-kit-providers.js.map +0 -1
- package/fesm2015/taiga-ui-kit-services.js +0 -39
- package/fesm2015/taiga-ui-kit-services.js.map +0 -1
- package/fesm2015/taiga-ui-kit-tokens.js +0 -328
- package/fesm2015/taiga-ui-kit-tokens.js.map +0 -1
- package/fesm2015/taiga-ui-kit-types.js +0 -4
- package/fesm2015/taiga-ui-kit-types.js.map +0 -1
- package/fesm2015/taiga-ui-kit-utils-files.js +0 -30
- package/fesm2015/taiga-ui-kit-utils-files.js.map +0 -1
- package/fesm2015/taiga-ui-kit-utils-format.js +0 -27
- package/fesm2015/taiga-ui-kit-utils-format.js.map +0 -1
- package/fesm2015/taiga-ui-kit-utils-mask.js +0 -194
- package/fesm2015/taiga-ui-kit-utils-mask.js.map +0 -1
- package/fesm2015/taiga-ui-kit-utils-math.js +0 -39
- package/fesm2015/taiga-ui-kit-utils-math.js.map +0 -1
- package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +0 -70
- package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +0 -1
- package/fesm2015/taiga-ui-kit-utils-phone.js +0 -21
- package/fesm2015/taiga-ui-kit-utils-phone.js.map +0 -1
- package/fesm2015/taiga-ui-kit-utils.js +0 -11
- package/fesm2015/taiga-ui-kit-utils.js.map +0 -1
- package/fesm2015/taiga-ui-kit-validators.js +0 -21
- package/fesm2015/taiga-ui-kit-validators.js.map +0 -1
- package/fesm2015/taiga-ui-kit.js +0 -19
- package/fesm2015/taiga-ui-kit.js.map +0 -1
- package/interfaces/file-like.d.ts +0 -8
- package/interfaces/index.d.ts +0 -3
- package/interfaces/mobile-calendar-data.d.ts +0 -7
- package/interfaces/month-context.d.ts +0 -4
- package/interfaces/package.json +0 -10
- package/interfaces/taiga-ui-kit-interfaces.d.ts +0 -5
- package/internal/index.d.ts +0 -1
- package/internal/package.json +0 -10
- package/internal/primitive-calendar-range/index.d.ts +0 -2
- package/internal/primitive-calendar-range/package.json +0 -10
- package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +0 -35
- package/internal/primitive-calendar-range/primitive-calendar-range.module.d.ts +0 -12
- package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.d.ts +0 -5
- package/internal/taiga-ui-kit-internal.d.ts +0 -5
- package/pipes/field-error/field-error.module.d.ts +0 -8
- package/pipes/field-error/package.json +0 -10
- package/pipes/field-error/taiga-ui-kit-pipes-field-error.d.ts +0 -5
- package/pipes/filter-by-input/filter-by-input-with.pipe.d.ts +0 -15
- package/pipes/filter-by-input/filter-by-input.base.d.ts +0 -16
- package/pipes/filter-by-input/filter-by-input.module.d.ts +0 -8
- package/pipes/filter-by-input/package.json +0 -10
- package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.d.ts +0 -5
- package/pipes/iso-to-country-code/index.d.ts +0 -2
- package/pipes/iso-to-country-code/iso-to-country-code.module.d.ts +0 -7
- package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -10
- package/pipes/iso-to-country-code/package.json +0 -10
- package/pipes/iso-to-country-code/taiga-ui-kit-pipes-iso-to-country-code.d.ts +0 -5
- package/pipes/package.json +0 -10
- package/pipes/sort-countries/package.json +0 -10
- package/pipes/sort-countries/sort-countries.module.d.ts +0 -7
- package/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.d.ts +0 -5
- package/pipes/stringify/package.json +0 -10
- package/pipes/stringify/stringify.module.d.ts +0 -7
- package/pipes/stringify/taiga-ui-kit-pipes-stringify.d.ts +0 -5
- package/pipes/stringify-content/package.json +0 -10
- package/pipes/stringify-content/stringify-content.module.d.ts +0 -7
- package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.d.ts +0 -5
- package/pipes/taiga-ui-kit-pipes.d.ts +0 -5
- package/pipes/to-country-code/index.d.ts +0 -2
- package/pipes/to-country-code/package.json +0 -10
- package/pipes/to-country-code/taiga-ui-kit-pipes-to-country-code.d.ts +0 -5
- package/pipes/to-country-code/to-country-code.module.d.ts +0 -7
- package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -10
- package/pipes/to-year/index.d.ts +0 -2
- package/pipes/to-year/package.json +0 -10
- package/pipes/to-year/taiga-ui-kit-pipes-to-year.d.ts +0 -5
- package/pipes/to-year/to-year.module.d.ts +0 -7
- package/pipes/to-year/to-year.pipe.d.ts +0 -8
- package/providers/index.d.ts +0 -3
- package/providers/month-formatter.provider.d.ts +0 -2
- package/providers/package.json +0 -10
- package/providers/specific-dropdown-controllers.d.ts +0 -1
- package/providers/taiga-ui-kit-providers.d.ts +0 -5
- package/providers/value-accessor.provider.d.ts +0 -2
- package/services/dialog-form.service.d.ts +0 -14
- package/services/index.d.ts +0 -1
- package/services/package.json +0 -10
- package/services/taiga-ui-kit-services.d.ts +0 -5
- package/taiga-ui-kit.d.ts +0 -5
- package/tokens/countries-masks.d.ts +0 -2
- package/tokens/month-formatter.d.ts +0 -7
- package/tokens/package.json +0 -10
- package/tokens/tab-margin.d.ts +0 -4
- package/tokens/taiga-ui-kit-tokens.d.ts +0 -5
- package/types/dropdown-position.d.ts +0 -1
- package/types/file-state.d.ts +0 -4
- package/types/handler-with-context.d.ts +0 -2
- package/types/index.d.ts +0 -8
- package/types/key-steps.d.ts +0 -19
- package/types/marker-icon-mode.d.ts +0 -1
- package/types/package.json +0 -10
- package/types/status.d.ts +0 -1
- package/types/step-state.d.ts +0 -1
- package/types/taiga-ui-kit-types.d.ts +0 -5
- package/types/time-format-parts.d.ts +0 -1
- package/utils/files/format-size.d.ts +0 -1
- package/utils/files/get-accept-array.d.ts +0 -1
- package/utils/files/index.d.ts +0 -2
- package/utils/files/package.json +0 -10
- package/utils/files/taiga-ui-kit-utils-files.d.ts +0 -5
- package/utils/format/index.d.ts +0 -1
- package/utils/format/package.json +0 -10
- package/utils/format/string-hash-to-hsl.d.ts +0 -6
- package/utils/format/taiga-ui-kit-utils-format.d.ts +0 -5
- package/utils/mask/create-auto-corrected-date-pipe.d.ts +0 -20
- package/utils/mask/create-auto-corrected-date-range-pipe.d.ts +0 -24
- package/utils/mask/create-auto-corrected-date-time-pipe.d.ts +0 -12
- package/utils/mask/create-auto-corrected-time-pipe.d.ts +0 -10
- package/utils/mask/create-date-mask.d.ts +0 -7
- package/utils/mask/create-date-range-mask.d.ts +0 -7
- package/utils/mask/create-time-mask.d.ts +0 -8
- package/utils/mask/index.d.ts +0 -7
- package/utils/mask/package.json +0 -10
- package/utils/mask/taiga-ui-kit-utils-mask.d.ts +0 -5
- package/utils/math/horizontal-direction-to-number.d.ts +0 -5
- package/utils/math/index.d.ts +0 -2
- package/utils/math/key-steps.d.ts +0 -3
- package/utils/math/package.json +0 -10
- package/utils/math/taiga-ui-kit-utils-math.d.ts +0 -5
- package/utils/miscellaneous/create-default-day-range-periods.d.ts +0 -2
- package/utils/miscellaneous/create-time-periods.d.ts +0 -2
- package/utils/miscellaneous/get-precision.d.ts +0 -4
- package/utils/miscellaneous/index.d.ts +0 -5
- package/utils/miscellaneous/package.json +0 -10
- package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +0 -7
- package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.d.ts +0 -5
- package/utils/package.json +0 -10
- package/utils/phone/get-max-allowed-phone-length.d.ts +0 -2
- package/utils/phone/index.d.ts +0 -3
- package/utils/phone/iso-to-country-code.d.ts +0 -2
- package/utils/phone/not-kz-region.d.ts +0 -1
- package/utils/phone/package.json +0 -10
- package/utils/phone/taiga-ui-kit-utils-phone.d.ts +0 -5
- package/utils/taiga-ui-kit-utils.d.ts +0 -5
- package/validators/index.d.ts +0 -1
- package/validators/package.json +0 -10
- package/validators/taiga-ui-kit-validators.d.ts +0 -5
- package/validators/unfinished.validator.d.ts +0 -4
- /package/{esm2015/components/accordion/taiga-ui-kit-components-accordion.js → esm2022/components/accordion/taiga-ui-kit-components-accordion.mjs} +0 -0
- /package/{esm2015/components/avatar/taiga-ui-kit-components-avatar.js → esm2022/components/avatar/taiga-ui-kit-components-avatar.mjs} +0 -0
- /package/{esm2015/components/badge/taiga-ui-kit-components-badge.js → esm2022/components/badge/taiga-ui-kit-components-badge.mjs} +0 -0
- /package/{esm2015/components/badged-content/taiga-ui-kit-components-badged-content.js → esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs} +0 -0
- /package/{esm2015/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js → esm2022/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.mjs} +0 -0
- /package/{esm2015/components/calendar-month/taiga-ui-kit-components-calendar-month.js → esm2022/components/calendar-month/taiga-ui-kit-components-calendar-month.mjs} +0 -0
- /package/{esm2015/components/calendar-range/taiga-ui-kit-components-calendar-range.js → esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs} +0 -0
- /package/{esm2015/components/carousel/taiga-ui-kit-components-carousel.js → esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs} +0 -0
- /package/{esm2015/components/checkbox/taiga-ui-kit-components-checkbox.js → esm2022/components/checkbox/taiga-ui-kit-components-checkbox.mjs} +0 -0
- /package/{esm2015/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js → esm2022/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.mjs} +0 -0
- /package/{esm2015/components/elastic-container/taiga-ui-kit-components-elastic-container.js → esm2022/components/elastic-container/taiga-ui-kit-components-elastic-container.mjs} +0 -0
- /package/{esm2015/components/files/taiga-ui-kit-components-files.js → esm2022/components/files/taiga-ui-kit-components-files.mjs} +0 -0
- /package/{esm2015/components/filter/taiga-ui-kit-components-filter.js → esm2022/components/filter/taiga-ui-kit-components-filter.mjs} +0 -0
- /package/{esm2015/components/input-inline/taiga-ui-kit-components-input-inline.js → esm2022/components/input-inline/taiga-ui-kit-components-input-inline.mjs} +0 -0
- /package/{esm2015/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js → esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs} +0 -0
- /package/{esm2015/components/items-with-more/taiga-ui-kit-components-items-with-more.js → esm2022/components/items-with-more/taiga-ui-kit-components-items-with-more.mjs} +0 -0
- /package/{esm2015/components/line-clamp/taiga-ui-kit-components-line-clamp.js → esm2022/components/line-clamp/taiga-ui-kit-components-line-clamp.mjs} +0 -0
- /package/{esm2015/components/pagination/taiga-ui-kit-components-pagination.js → esm2022/components/pagination/taiga-ui-kit-components-pagination.mjs} +0 -0
- /package/{esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js → esm2022/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.mjs} +0 -0
- /package/{esm2015/components/progress/taiga-ui-kit-components-progress.js → esm2022/components/progress/taiga-ui-kit-components-progress.mjs} +0 -0
- /package/{esm2015/components/push/taiga-ui-kit-components-push.js → esm2022/components/push/taiga-ui-kit-components-push.mjs} +0 -0
- /package/{esm2015/components/radio/taiga-ui-kit-components-radio.js → esm2022/components/radio/taiga-ui-kit-components-radio.mjs} +0 -0
- /package/{esm2015/components/radio-list/taiga-ui-kit-components-radio-list.js → esm2022/components/radio-list/taiga-ui-kit-components-radio-list.mjs} +0 -0
- /package/{esm2015/components/range/taiga-ui-kit-components-range.js → esm2022/components/range/taiga-ui-kit-components-range.mjs} +0 -0
- /package/{esm2015/components/rating/taiga-ui-kit-components-rating.js → esm2022/components/rating/taiga-ui-kit-components-rating.mjs} +0 -0
- /package/{esm2015/components/routable-dialog/taiga-ui-kit-components-routable-dialog.js → esm2022/components/routable-dialog/taiga-ui-kit-components-routable-dialog.mjs} +0 -0
- /package/{esm2015/components/slider/taiga-ui-kit-components-slider.js → esm2022/components/slider/taiga-ui-kit-components-slider.mjs} +0 -0
- /package/{esm2015/components/stepper/taiga-ui-kit-components-stepper.js → esm2022/components/stepper/taiga-ui-kit-components-stepper.mjs} +0 -0
- /package/{esm2015/components/tabs/taiga-ui-kit-components-tabs.js → esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs} +0 -0
- /package/{esm2015/components/taiga-ui-kit-components.js → esm2022/components/taiga-ui-kit-components.mjs} +0 -0
- /package/{esm2015/components/tiles/taiga-ui-kit-components-tiles.js → esm2022/components/tiles/taiga-ui-kit-components-tiles.mjs} +0 -0
- /package/{esm2015/components/tree/taiga-ui-kit-components-tree.js → esm2022/components/tree/taiga-ui-kit-components-tree.mjs} +0 -0
- /package/{esm2015/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.js → esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs} +0 -0
- /package/{esm2015/directives/highlight/taiga-ui-kit-directives-highlight.js → esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs} +0 -0
- /package/{esm2015/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js → esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs} +0 -0
- /package/{esm2015/directives/present/taiga-ui-kit-directives-present.js → esm2022/directives/present/taiga-ui-kit-directives-present.mjs} +0 -0
- /package/{esm2015/directives/taiga-ui-kit-directives.js → esm2022/directives/taiga-ui-kit-directives.mjs} +0 -0
- /package/{esm2015/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js → esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs} +0 -0
- /package/{esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js → esm2022/pipes/field-error/taiga-ui-kit-pipes-field-error.mjs} +0 -0
- /package/{esm2015/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js → esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs} +0 -0
- /package/{esm2015/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.js → esm2022/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.mjs} +0 -0
- /package/{esm2015/pipes/stringify/taiga-ui-kit-pipes-stringify.js → esm2022/pipes/stringify/taiga-ui-kit-pipes-stringify.mjs} +0 -0
- /package/{esm2015/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js → esm2022/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.mjs} +0 -0
- /package/{esm2015/pipes/taiga-ui-kit-pipes.js → esm2022/pipes/taiga-ui-kit-pipes.mjs} +0 -0
- /package/{esm2015/taiga-ui-kit.js → esm2022/taiga-ui-kit.mjs} +0 -0
- /package/{esm2015/tokens/taiga-ui-kit-tokens.js → esm2022/tokens/taiga-ui-kit-tokens.mjs} +0 -0
- /package/{esm2015/utils/taiga-ui-kit-utils.js → esm2022/utils/taiga-ui-kit-utils.mjs} +0 -0
- /package/utils/{miscellaneous/is-flat.d.ts → is-flat.d.ts} +0 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, ElementRef, EventEmitter, inject, Input, Output, TemplateRef, ViewChild, } from '@angular/core';
|
|
3
|
+
import { EMPTY_QUERY } from '@taiga-ui/cdk/constants';
|
|
4
|
+
import { TuiItem } from '@taiga-ui/cdk/directives/item';
|
|
5
|
+
import { tuiInjectElement, tuiIsElement } from '@taiga-ui/cdk/utils/dom';
|
|
6
|
+
import { tuiGetClosestFocusable, tuiIsNativeFocused } from '@taiga-ui/cdk/utils/focus';
|
|
7
|
+
import { tuiClamp, tuiToInt } from '@taiga-ui/cdk/utils/math';
|
|
8
|
+
import { tuiPx } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
9
|
+
import { TuiDropdown } from '@taiga-ui/core/directives/dropdown';
|
|
10
|
+
import { TuiChevron } from '@taiga-ui/kit/directives';
|
|
11
|
+
import { TUI_MORE_WORD } from '@taiga-ui/kit/tokens';
|
|
12
|
+
import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
|
|
13
|
+
import { filter, map, tap } from 'rxjs';
|
|
14
|
+
import { TuiTab } from './tab.directive';
|
|
15
|
+
import { TUI_TABS_OPTIONS } from './tabs.options';
|
|
16
|
+
import { TUI_TABS_PROVIDERS, TUI_TABS_REFRESH } from './tabs.providers';
|
|
17
|
+
import { TuiTabsHorizontal } from './tabs-horizontal.directive';
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
19
|
+
import * as i1 from "@angular/common";
|
|
20
|
+
import * as i2 from "@taiga-ui/core/directives/dropdown";
|
|
21
|
+
class TuiTabsWithMore {
|
|
22
|
+
constructor() {
|
|
23
|
+
this.options = inject(TUI_TABS_OPTIONS);
|
|
24
|
+
this.refresh$ = inject(TUI_TABS_REFRESH);
|
|
25
|
+
this.el = tuiInjectElement();
|
|
26
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
27
|
+
this.maxIndex = Infinity;
|
|
28
|
+
this.items = EMPTY_QUERY;
|
|
29
|
+
this.moreWord$ = inject(TUI_MORE_WORD);
|
|
30
|
+
this.open = false;
|
|
31
|
+
this.size = this.options.size;
|
|
32
|
+
this.underline = this.options.underline;
|
|
33
|
+
this.itemsLimit = this.options.itemsLimit;
|
|
34
|
+
this.activeItemIndexChange = new EventEmitter();
|
|
35
|
+
this.activeItemIndex = 0;
|
|
36
|
+
}
|
|
37
|
+
set itemIndex(activeItemIndex) {
|
|
38
|
+
this.activeItemIndex = activeItemIndex;
|
|
39
|
+
this.maxIndex = this.getMaxIndex();
|
|
40
|
+
}
|
|
41
|
+
get lastVisibleIndex() {
|
|
42
|
+
if (this.itemsLimit + 1 >= this.items.length) {
|
|
43
|
+
return this.maxIndex;
|
|
44
|
+
}
|
|
45
|
+
const offset = this.itemsLimit - 1 > this.activeItemIndex || !this.options.exposeActive
|
|
46
|
+
? 1
|
|
47
|
+
: 2;
|
|
48
|
+
return Math.min(this.itemsLimit - offset, this.maxIndex);
|
|
49
|
+
}
|
|
50
|
+
ngAfterViewInit() {
|
|
51
|
+
this.refresh$
|
|
52
|
+
.pipe(map(() => this.getMaxIndex()), tap(() => this.refresh()), filter((maxIndex) => this.maxIndex !== maxIndex))
|
|
53
|
+
.subscribe((maxIndex) => {
|
|
54
|
+
this.maxIndex = maxIndex;
|
|
55
|
+
this.cdr.detectChanges();
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
ngAfterViewChecked() {
|
|
59
|
+
this.refresh();
|
|
60
|
+
}
|
|
61
|
+
// TODO: Improve performance
|
|
62
|
+
get tabs() {
|
|
63
|
+
return Array.from(this.el.querySelectorAll('[tuiTab]'));
|
|
64
|
+
}
|
|
65
|
+
get activeElement() {
|
|
66
|
+
const { tabs } = this;
|
|
67
|
+
const safeActiveIndex = tuiClamp(this.activeItemIndex || 0, 0, tabs.length - 2);
|
|
68
|
+
return this.options.exposeActive || this.lastVisibleIndex >= safeActiveIndex
|
|
69
|
+
? tabs[safeActiveIndex] || null
|
|
70
|
+
: this.moreButton?.nativeElement || null;
|
|
71
|
+
}
|
|
72
|
+
get isMoreAlone() {
|
|
73
|
+
return this.lastVisibleIndex < 0 && !this.options.exposeActive;
|
|
74
|
+
}
|
|
75
|
+
get isMoreVisible() {
|
|
76
|
+
return this.lastVisibleIndex < this.items.length - 1;
|
|
77
|
+
}
|
|
78
|
+
get isMoreFocusable() {
|
|
79
|
+
return !!this.moreButton && tuiIsNativeFocused(this.moreButton.nativeElement);
|
|
80
|
+
}
|
|
81
|
+
get isMoreActive() {
|
|
82
|
+
return (this.open ||
|
|
83
|
+
(!this.options.exposeActive && this.lastVisibleIndex < this.activeItemIndex));
|
|
84
|
+
}
|
|
85
|
+
onActiveItemIndexChange(activeItemIndex) {
|
|
86
|
+
this.updateActiveItemIndex(activeItemIndex);
|
|
87
|
+
}
|
|
88
|
+
onClick(index) {
|
|
89
|
+
this.open = false;
|
|
90
|
+
this.focusMore();
|
|
91
|
+
this.updateActiveItemIndex(index);
|
|
92
|
+
}
|
|
93
|
+
onArrowRight(event) {
|
|
94
|
+
if (tuiIsElement(event.target) && tuiIsNativeFocused(event.target)) {
|
|
95
|
+
this.focusMore();
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
onArrowLeft() {
|
|
99
|
+
const { tabs } = this;
|
|
100
|
+
let index = tabs.length - 2;
|
|
101
|
+
while (index >= 0) {
|
|
102
|
+
tabs[index].focus();
|
|
103
|
+
if (tuiIsNativeFocused(tabs[index])) {
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
index--;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
onWrapperArrow(event, wrapper, previous) {
|
|
110
|
+
const button = event.target;
|
|
111
|
+
const target = tuiGetClosestFocusable({ initial: button, root: wrapper, previous });
|
|
112
|
+
if (target) {
|
|
113
|
+
target.focus();
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
isOverflown(index) {
|
|
117
|
+
return index !== this.activeItemIndex || !this.options.exposeActive;
|
|
118
|
+
}
|
|
119
|
+
shouldShow(index) {
|
|
120
|
+
return index > this.lastVisibleIndex && this.isOverflown(index);
|
|
121
|
+
}
|
|
122
|
+
get margin() {
|
|
123
|
+
return this.size === 'l' ? 24 : 16;
|
|
124
|
+
}
|
|
125
|
+
focusMore() {
|
|
126
|
+
if (this.moreButton) {
|
|
127
|
+
this.moreButton.nativeElement.focus();
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
getMaxIndex() {
|
|
131
|
+
const { tabs, activeItemIndex, margin } = this;
|
|
132
|
+
if (tabs.length < 2) {
|
|
133
|
+
return 0;
|
|
134
|
+
}
|
|
135
|
+
const { exposeActive, minMoreWidth } = this.options;
|
|
136
|
+
const { clientWidth } = this.el;
|
|
137
|
+
const activeWidth = tabs[activeItemIndex] ? tabs[activeItemIndex].scrollWidth : 0;
|
|
138
|
+
const moreWidth = Math.max(tabs[tabs.length - 1].scrollWidth, minMoreWidth);
|
|
139
|
+
let maxIndex = tabs.length - 2;
|
|
140
|
+
let total = tabs.reduce((acc, { scrollWidth }) => acc + scrollWidth, 0) +
|
|
141
|
+
maxIndex * margin -
|
|
142
|
+
tabs[tabs.length - 1].scrollWidth;
|
|
143
|
+
if (Number.isNaN(total) || total <= clientWidth) {
|
|
144
|
+
return Infinity;
|
|
145
|
+
}
|
|
146
|
+
while (maxIndex) {
|
|
147
|
+
total -= tabs[maxIndex].scrollWidth + margin;
|
|
148
|
+
maxIndex--;
|
|
149
|
+
const activeDisplaced = exposeActive && activeItemIndex > maxIndex;
|
|
150
|
+
const activeOffset = activeDisplaced ? activeWidth + margin : 0;
|
|
151
|
+
const currentWidth = total + activeOffset + moreWidth + margin;
|
|
152
|
+
// Needed for different rounding of visible and hidden elements scrollWidth
|
|
153
|
+
const safetyOffset = tuiToInt(this.maxIndex === maxIndex - 1);
|
|
154
|
+
if (currentWidth + safetyOffset < clientWidth) {
|
|
155
|
+
return maxIndex;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
return -1;
|
|
159
|
+
}
|
|
160
|
+
updateActiveItemIndex(activeItemIndex) {
|
|
161
|
+
this.itemIndex = activeItemIndex;
|
|
162
|
+
this.activeItemIndexChange.emit(activeItemIndex);
|
|
163
|
+
}
|
|
164
|
+
refresh() {
|
|
165
|
+
const { offsetLeft = 0, offsetWidth = 0 } = this.activeElement || {};
|
|
166
|
+
this.dir?.nativeElement.style.setProperty('--t-left', tuiPx(offsetLeft));
|
|
167
|
+
this.dir?.nativeElement.style.setProperty('--t-width', tuiPx(offsetWidth));
|
|
168
|
+
}
|
|
169
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsWithMore, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
170
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiTabsWithMore, isStandalone: true, selector: "tui-tabs-with-more, nav[tuiTabsWithMore]", inputs: { size: "size", moreContent: "moreContent", dropdownContent: "dropdownContent", underline: "underline", itemsLimit: "itemsLimit", itemIndex: ["activeItemIndex", "itemIndex"] }, outputs: { activeItemIndexChange: "activeItemIndexChange" }, providers: TUI_TABS_PROVIDERS, queries: [{ propertyName: "items", predicate: TuiItem, read: TemplateRef }], viewQueries: [{ propertyName: "moreButton", first: true, predicate: TuiTab, descendants: true, read: ElementRef }, { propertyName: "dir", first: true, predicate: TuiTabsHorizontal, descendants: true, read: ElementRef }], ngImport: i0, template: "<ng-container *ngIf=\"items.changes | async\" />\n<tui-tabs\n class=\"t-tabs\"\n [activeItemIndex]=\"activeItemIndex\"\n [size]=\"size\"\n [underline]=\"underline\"\n (activeItemIndexChange)=\"onActiveItemIndexChange($event)\"\n (keydown.arrowRight)=\"onArrowRight($event)\"\n>\n <ng-container *ngFor=\"let item of items; let index = index\">\n <ng-container\n *ngIf=\"index <= lastVisibleIndex; else hidden\"\n [ngTemplateOutlet]=\"item\"\n />\n <ng-template #hidden>\n <div\n class=\"t-flex\"\n [class.t-overflown]=\"isOverflown(index)\"\n >\n <ng-container [ngTemplateOutlet]=\"item\" />\n </div>\n </ng-template>\n </ng-container>\n</tui-tabs>\n\n<button\n *ngIf=\"moreContent; else chevron\"\n tuiTab\n class=\"t-more\"\n [class._active]=\"isMoreActive\"\n [class.t-no-margin]=\"isMoreAlone\"\n [class.t-overflown]=\"!isMoreVisible\"\n [tabIndex]=\"isMoreFocusable ? 0 : -1\"\n [tuiDropdown]=\"dropdownContent || dropdown\"\n [(tuiDropdownOpen)]=\"open\"\n (keydown.arrowLeft.prevent)=\"onArrowLeft()\"\n>\n <ng-container *polymorpheusOutlet=\"moreContent as text\">\n {{ text }}\n </ng-container>\n</button>\n<ng-template #chevron>\n <button\n tuiChevron\n tuiTab\n class=\"t-more\"\n [class._active]=\"isMoreActive\"\n [class.t-no-margin]=\"isMoreAlone\"\n [class.t-overflown]=\"!isMoreVisible\"\n [tabIndex]=\"isMoreFocusable ? 0 : -1\"\n [tuiDropdown]=\"dropdownContent || dropdown\"\n [(tuiDropdownOpen)]=\"open\"\n (keydown.arrowLeft.prevent)=\"onArrowLeft()\"\n >\n {{ moreWord$ | async }}\n </button>\n</ng-template>\n<ng-template #dropdown>\n <div\n #element\n class=\"t-dropdown\"\n [attr.data-size]=\"size\"\n (keydown.arrowDown.prevent)=\"onWrapperArrow($event, element, false)\"\n (keydown.arrowUp.prevent)=\"onWrapperArrow($event, element, true)\"\n >\n <div\n *ngFor=\"let item of items; let index = index\"\n class=\"t-dropdown-item\"\n (tui-tab-activate)=\"onClick(index)\"\n >\n <ng-container\n *ngIf=\"shouldShow(index)\"\n [ngTemplateOutlet]=\"item\"\n />\n </div>\n </div>\n</ng-template>\n", styles: [":host{position:relative;display:flex;font:var(--tui-font-text-m);box-sizing:border-box;color:var(--tui-text-secondary);box-shadow:inset 0 -1px var(--tui-border-normal);overflow:hidden}.t-tabs{height:inherit;font:inherit;overflow:visible;box-shadow:none;color:inherit}.t-flex{display:flex}.t-overflown{margin:0;width:0;max-width:0;overflow:hidden;visibility:hidden}.t-icon{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-right:-.25rem;vertical-align:bottom}.t-icon_rotated{transform:rotate(180deg)}.t-dropdown{padding:.25rem 0}.t-dropdown ::ng-deep *[tuiTab]{width:calc(100% - .75rem);height:2.75rem;justify-content:flex-start;margin:.125rem .375rem;padding:0 .625rem;line-height:1.5rem;border-radius:var(--tui-radius-s);font:var(--tui-font-text-m);color:var(--tui-text-primary)}.t-dropdown ::ng-deep *[tuiTab]:before{display:none}.t-dropdown ::ng-deep *[tuiTab]:hover,.t-dropdown ::ng-deep *[tuiTab]:focus,.t-dropdown ::ng-deep *[tuiTab]._active{box-shadow:none;outline:none;background:var(--tui-background-neutral-1)}.t-dropdown[data-size=m] ::ng-deep *[tuiTab]{height:2.25rem;font:var(--tui-font-text-s)}.t-dropdown-item{display:flex;flex-direction:column}.t-no-margin{margin-left:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i2.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i2.TuiDropdownOpen, selector: "[tuiDropdownOpen],[tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }, { kind: "directive", type: TuiTab, selector: "a[tuiTab]:not([routerLink]), a[tuiTab][routerLink][routerLinkActive], button[tuiTab]" }, { kind: "directive", type: TuiTabsHorizontal, selector: "tui-tabs:not([vertical]), nav[tuiTabs]:not([vertical])", inputs: ["underline"] }, { kind: "directive", type: TuiChevron, selector: "[tuiChevron]", inputs: ["tuiChevron"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
171
|
+
}
|
|
172
|
+
export { TuiTabsWithMore };
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsWithMore, decorators: [{
|
|
174
|
+
type: Component,
|
|
175
|
+
args: [{ standalone: true, selector: 'tui-tabs-with-more, nav[tuiTabsWithMore]', imports: [
|
|
176
|
+
CommonModule,
|
|
177
|
+
PolymorpheusOutlet,
|
|
178
|
+
PolymorpheusTemplate,
|
|
179
|
+
TuiDropdown,
|
|
180
|
+
TuiTab,
|
|
181
|
+
TuiTabsHorizontal,
|
|
182
|
+
TuiChevron,
|
|
183
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, providers: TUI_TABS_PROVIDERS, template: "<ng-container *ngIf=\"items.changes | async\" />\n<tui-tabs\n class=\"t-tabs\"\n [activeItemIndex]=\"activeItemIndex\"\n [size]=\"size\"\n [underline]=\"underline\"\n (activeItemIndexChange)=\"onActiveItemIndexChange($event)\"\n (keydown.arrowRight)=\"onArrowRight($event)\"\n>\n <ng-container *ngFor=\"let item of items; let index = index\">\n <ng-container\n *ngIf=\"index <= lastVisibleIndex; else hidden\"\n [ngTemplateOutlet]=\"item\"\n />\n <ng-template #hidden>\n <div\n class=\"t-flex\"\n [class.t-overflown]=\"isOverflown(index)\"\n >\n <ng-container [ngTemplateOutlet]=\"item\" />\n </div>\n </ng-template>\n </ng-container>\n</tui-tabs>\n\n<button\n *ngIf=\"moreContent; else chevron\"\n tuiTab\n class=\"t-more\"\n [class._active]=\"isMoreActive\"\n [class.t-no-margin]=\"isMoreAlone\"\n [class.t-overflown]=\"!isMoreVisible\"\n [tabIndex]=\"isMoreFocusable ? 0 : -1\"\n [tuiDropdown]=\"dropdownContent || dropdown\"\n [(tuiDropdownOpen)]=\"open\"\n (keydown.arrowLeft.prevent)=\"onArrowLeft()\"\n>\n <ng-container *polymorpheusOutlet=\"moreContent as text\">\n {{ text }}\n </ng-container>\n</button>\n<ng-template #chevron>\n <button\n tuiChevron\n tuiTab\n class=\"t-more\"\n [class._active]=\"isMoreActive\"\n [class.t-no-margin]=\"isMoreAlone\"\n [class.t-overflown]=\"!isMoreVisible\"\n [tabIndex]=\"isMoreFocusable ? 0 : -1\"\n [tuiDropdown]=\"dropdownContent || dropdown\"\n [(tuiDropdownOpen)]=\"open\"\n (keydown.arrowLeft.prevent)=\"onArrowLeft()\"\n >\n {{ moreWord$ | async }}\n </button>\n</ng-template>\n<ng-template #dropdown>\n <div\n #element\n class=\"t-dropdown\"\n [attr.data-size]=\"size\"\n (keydown.arrowDown.prevent)=\"onWrapperArrow($event, element, false)\"\n (keydown.arrowUp.prevent)=\"onWrapperArrow($event, element, true)\"\n >\n <div\n *ngFor=\"let item of items; let index = index\"\n class=\"t-dropdown-item\"\n (tui-tab-activate)=\"onClick(index)\"\n >\n <ng-container\n *ngIf=\"shouldShow(index)\"\n [ngTemplateOutlet]=\"item\"\n />\n </div>\n </div>\n</ng-template>\n", styles: [":host{position:relative;display:flex;font:var(--tui-font-text-m);box-sizing:border-box;color:var(--tui-text-secondary);box-shadow:inset 0 -1px var(--tui-border-normal);overflow:hidden}.t-tabs{height:inherit;font:inherit;overflow:visible;box-shadow:none;color:inherit}.t-flex{display:flex}.t-overflown{margin:0;width:0;max-width:0;overflow:hidden;visibility:hidden}.t-icon{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-right:-.25rem;vertical-align:bottom}.t-icon_rotated{transform:rotate(180deg)}.t-dropdown{padding:.25rem 0}.t-dropdown ::ng-deep *[tuiTab]{width:calc(100% - .75rem);height:2.75rem;justify-content:flex-start;margin:.125rem .375rem;padding:0 .625rem;line-height:1.5rem;border-radius:var(--tui-radius-s);font:var(--tui-font-text-m);color:var(--tui-text-primary)}.t-dropdown ::ng-deep *[tuiTab]:before{display:none}.t-dropdown ::ng-deep *[tuiTab]:hover,.t-dropdown ::ng-deep *[tuiTab]:focus,.t-dropdown ::ng-deep *[tuiTab]._active{box-shadow:none;outline:none;background:var(--tui-background-neutral-1)}.t-dropdown[data-size=m] ::ng-deep *[tuiTab]{height:2.25rem;font:var(--tui-font-text-s)}.t-dropdown-item{display:flex;flex-direction:column}.t-no-margin{margin-left:0}\n"] }]
|
|
184
|
+
}], propDecorators: { moreButton: [{
|
|
185
|
+
type: ViewChild,
|
|
186
|
+
args: [TuiTab, { read: ElementRef }]
|
|
187
|
+
}], dir: [{
|
|
188
|
+
type: ViewChild,
|
|
189
|
+
args: [TuiTabsHorizontal, { read: ElementRef }]
|
|
190
|
+
}], items: [{
|
|
191
|
+
type: ContentChildren,
|
|
192
|
+
args: [TuiItem, { read: TemplateRef }]
|
|
193
|
+
}], size: [{
|
|
194
|
+
type: Input
|
|
195
|
+
}], moreContent: [{
|
|
196
|
+
type: Input
|
|
197
|
+
}], dropdownContent: [{
|
|
198
|
+
type: Input
|
|
199
|
+
}], underline: [{
|
|
200
|
+
type: Input
|
|
201
|
+
}], itemsLimit: [{
|
|
202
|
+
type: Input
|
|
203
|
+
}], activeItemIndexChange: [{
|
|
204
|
+
type: Output
|
|
205
|
+
}], itemIndex: [{
|
|
206
|
+
type: Input,
|
|
207
|
+
args: ['activeItemIndex']
|
|
208
|
+
}] } });
|
|
209
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy13aXRoLW1vcmUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvdGFicy90YWJzLXdpdGgtbW9yZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy90YWJzL3RhYnMtd2l0aC1tb3JlLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBRTdDLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxlQUFlLEVBQ2YsVUFBVSxFQUNWLFlBQVksRUFDWixNQUFNLEVBQ04sS0FBSyxFQUNMLE1BQU0sRUFDTixXQUFXLEVBQ1gsU0FBUyxHQUNaLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUVwRCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sK0JBQStCLENBQUM7QUFFdEQsT0FBTyxFQUFDLGdCQUFnQixFQUFFLFlBQVksRUFBQyxNQUFNLHlCQUF5QixDQUFDO0FBQ3ZFLE9BQU8sRUFBQyxzQkFBc0IsRUFBRSxrQkFBa0IsRUFBQyxNQUFNLDJCQ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0gdGhpcy5pdGVtcy5sZW5ndGgpIHtcbiAgICAgICAgICAgIHJldHVybiB0aGlzLm1heEluZGV4O1xuICAgICAgICB9XG5cbiAgICAgICAgY29uc3Qgb2Zmc2V0ID1cbiAgICAgICAgICAgIHRoaXMuaXRlbXNMaW1pdCAtIDEgPiB0aGlzLmFjdGl2ZUl0ZW1JbmRleCB8fCAhdGhpcy5vcHRpb25zLmV4cG9zZUFjdGl2ZVxuICAgICAgICAgICAgICAgID8gMVxuICAgICAgICAgICAgICAgIDogMjtcblxuICAgICAgICByZXR1cm4gTWF0aC5taW4odGhpcy5pdGVtc0xpbWl0IC0gb2Zmc2V0LCB0aGlzLm1heEluZGV4KTtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdBZnRlclZpZXdJbml0KCk6IHZvaWQge1xuICAgICAgICB0aGlzLnJlZnJlc2gkXG4gICAgICAgICAgICAucGlwZShcbiAgICAgICAgICAgICAgICBtYXAoKCkgPT4gdGhpcy5nZXRNYXhJbmRleCgpKSxcbiAgICAgICAgICAgICAgICB0YXAoKCkgPT4gdGhpcy5yZWZyZXNoKCkpLFxuICAgICAgICAgICAgICAgIGZpbHRlcigobWF4SW5kZXgpID0+IHRoaXMubWF4SW5kZXggIT09IG1heEluZGV4KSxcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgIC5zdWJzY3JpYmUoKG1heEluZGV4KSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5tYXhJbmRleCA9IG1heEluZGV4O1xuICAgICAgICAgICAgICAgIHRoaXMuY2RyLmRldGVjdENoYW5nZXMoKTtcbiAgICAgICAgICAgIH0pO1xuICAgIH1cblxuICAgIHB1YmxpYyBuZ0FmdGVyVmlld0NoZWNrZWQoKTogdm9pZCB7XG4gICAgICAgIHRoaXMucmVmcmVzaCgpO1xuICAgIH1cblxuICAgIC8vIFRPRE86IEltcHJvdmUgcGVyZm9ybWFuY2VcbiAgICBwcm90ZWN0ZWQgZ2V0IHRhYnMoKTogcmVhZG9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gICAgICB3aGlsZSAoaW5kZXggPj0gMCkge1xuICAgICAgICAgICAgdGFic1tpbmRleF0uZm9jdXMoKTtcblxuICAgICAgICAgICAgaWYgKHR1aUlzTmF0aXZlRm9jdXNlZCh0YWJzW2luZGV4XSkpIHtcbiAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGluZGV4LS07XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBwcm90ZWN0ZWQgb25XcmFwcGVyQXJyb3coXG4gICAgICAgIGV2ZW50OiBFdmVudCxcbiAgICAgICAgd3JhcHBlcjogSFRNTEVsZW1lbnQsXG4gICAgICAgIHByZXZpb3VzOiBib29sZWFuLFxuICAgICk6IHZvaWQge1xuICAgICAgICBjb25zdCBidXR0b246IEhUTUxCdXR0b25FbGVtZW50ID0gZXZlbnQudGFyZ2V0IGFzIEhUTUxCdXR0b25FbGVtZW50O1xuICAgICAgICBjb25zdCB0YXJnZXQgPSB0dWlHZXRDbG9zZXN0Rm9jdXNhYmxlKHtpbml0aWFsOiBidXR0b24sIHJvb3Q6IHdyYXBwZXIsIHByZXZpb3VzfSk7XG5cbiAgICAgICAgaWYgKHRhcmdldCkge1xuICAgICAgICAgICAgdGFyZ2V0LmZvY3VzKCk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBwcm90ZWN0ZWQgaXNPdmVyZmxvd24oaW5kZXg6IG51bWJlcik6IGJvb2xlYW4ge1xuICAgICAgICByZXR1cm4gaW5kZXggIT09IHRoaXMuYWN0aXZlSXRlbUluZGV4IHx8ICF0aGlzLm9wdGlvbnMuZXhwb3NlQWN0aXZlO1xuICAgIH1cblxuICAgIHByb3RlY3RlZCBzaG91bGRTaG93KGluZGV4OiBudW1iZXIpOiBib29sZWFuIHtcbiAgICAgICAgcmV0dXJuIGluZGV4ID4gdGhpcy5sYXN0VmlzaWJsZUluZGV4ICYmIHRoaXMuaXNPdmVyZmxvd24oaW5kZXgpO1xuICAgIH1cblxuICAgIHByaXZhdGUgZ2V0IG1hcmdpbigpOiBudW1iZXIge1xuICAgICAgICByZXR1cm4gdGhpcy5zaXplID09PSAnbCcgPyAyNCA6IDE2O1xuICAgIH1cblxuICAgIHByaXZhdGUgZm9jdXNNb3JlKCk6IHZvaWQge1xuICAgICAgICBpZiAodGhpcy5tb3JlQnV0dG9uKSB7XG4gICAgICAgICAgICB0aGlzLm1vcmVCdXR0b24ubmF0aXZlRWxlbWVudC5mb2N1cygpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBnZXRNYXhJbmRleCgpOiBudW1iZXIge1xuICAgICAgICBjb25zdCB7dGFicywgYWN0aXZlSXRlbUluZGV4LCBtYXJnaW59ID0gdGhpcztcblxuICAgICAgICBpZiAodGFicy5sZW5ndGggPCAyKSB7XG4gICAgICAgICAgICByZXR1cm4gMDtcbiAgICAgICAgfVxuXG4gICAgICAgIGNvbnN0IHtleHBvc2VBY3RpdmUsIG1pbk1vcmVXaWR0aH0gPSB0aGlzLm9wdGlvbnM7XG4gICAgICAgIGNvbnN0IHtjbGllbnRXaWR0aH0gPSB0aGlzLmVsO1xuICAgICAgICBjb25zdCBhY3RpdmVXaWR0aCA9IHRhYnNbYWN0aXZlSXRlbUluZGV4XSA/IHRhYnNbYWN0aXZlSXRlbUluZGV4XS5zY3JvbGxXaWR0aCA6IDA7XG4gICAgICAgIGNvbnN0IG1vcmVXaWR0aCA9IE1hdGgubWF4KHRhYnNbdGFicy5sZW5ndGggLSAxXS5zY3JvbGxXaWR0aCwgbWluTW9yZVdpZHRoKTtcbiAgICAgICAgbGV0IG1heEluZGV4ID0gdGFicy5sZW5ndGggLSAyO1xuICAgICAgICBsZXQgdG90YWwgPVxuICAgICAgICAgICAgdGFicy5yZWR1Y2UoKGFjYywge3Njcm9sbFdpZHRofSkgPT4gYWNjICsgc2Nyb2xsV2lkdGgsIDApICtcbiAgICAgICAgICAgIG1heEluZGV4ICogbWFyZ2luIC1cbiAgICAgICAgICA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ZW50KT1cIm9uV3JhcHBlckFycm93KCRldmVudCwgZWxlbWVudCwgdHJ1ZSlcIlxuICAgID5cbiAgICAgICAgPGRpdlxuICAgICAgICAgICAgKm5nRm9yPVwibGV0IGl0ZW0gb2YgaXRlbXM7IGxldCBpbmRleCA9IGluZGV4XCJcbiAgICAgICAgICAgIGNsYXNzPVwidC1kcm9wZG93bi1pdGVtXCJcbiAgICAgICAgICAgICh0dWktdGFiLWFjdGl2YXRlKT1cIm9uQ2xpY2soaW5kZXgpXCJcbiAgICAgICAgPlxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lclxuICAgICAgICAgICAgICAgICpuZ0lmPVwic2hvdWxkU2hvdyhpbmRleClcIlxuICAgICAgICAgICAgICAgIFtuZ1RlbXBsYXRlT3V0bGV0XT1cIml0ZW1cIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG48L25nLXRlbXBsYXRlPlxuIl19
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { afterNextRender, ChangeDetectionStrategy, Component, Directive, EventEmitter, HostListener, inject, INJECTOR, Input, Output, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
|
|
3
|
+
import { tuiMoveFocus } from '@taiga-ui/cdk/utils/focus';
|
|
4
|
+
import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
5
|
+
import { TUI_TAB_ACTIVATE } from './tab.directive';
|
|
6
|
+
import { TUI_TABS_OPTIONS } from './tabs.options';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
class TuiTabsStyles {
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiTabsStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-tabs" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiTab]{transition-property:color,box-shadow,opacity,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;flex-shrink:0;box-sizing:border-box;justify-content:space-between;line-height:1.5rem;align-items:center;white-space:nowrap;cursor:pointer;outline:none;color:inherit;margin-left:24px}tui-tabs[data-size=m]+[tuiTab],tui-tabs[data-size=m] [tuiTab],[tuiTabs][data-size=m] [tuiTab]{margin-left:16px;font:var(--tui-font-text-s)}[tuiTab]:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}[tuiTab]._active{color:var(--tui-text-primary);box-shadow:none}[tuiTab]:focus-visible{outline:2px solid var(--tui-border-focus);outline-offset:-2px}tui-tabs._underline [tuiTab]:hover:not(._active),[tuiTabs]._underline [tuiTab]:hover:not(._active){box-shadow:inset 0 -2px var(--tui-border-normal)}tui-tabs>[tuiTab]:first-child,[tuiTabs]>[tuiTab]:first-child,tui-tabs>:not(.t-overflown)>[tuiTab]:first-child{margin-left:0}tui-tabs>[tuiTab]~:not(.t-overflown)>[tuiTab]:first-child{margin-left:var(--tui-tab-margin, 1.5rem)}[tuiTab]._icon-start:before{font-size:1rem;margin-inline-end:.5rem}[tuiTab]._icon-end:after{font-size:1rem;margin-inline-start:.5rem}[tuiTab]:empty:after,[tuiTab]:empty:before{margin:.5rem}@media (hover: hover){[tuiTab]:hover{color:var(--tui-text-primary)}}[tuiTabs],tui-tabs{scrollbar-width:none;-ms-overflow-style:none;position:relative;display:flex;font:var(--tui-font-text-m);color:var(--tui-text-secondary);box-shadow:inset 0 -1px var(--tui-border-normal);overflow:auto;isolation:isolate}[tuiTabs]::-webkit-scrollbar,tui-tabs::-webkit-scrollbar,[tuiTabs]::-webkit-scrollbar-thumb,tui-tabs::-webkit-scrollbar-thumb{display:none}[tuiTabs][data-size=l]:not([data-vertical]),tui-tabs[data-size=l]:not([data-vertical]){height:var(--tui-height-l)}[tuiTabs][data-size=m]:not([data-vertical]),tui-tabs[data-size=m]:not([data-vertical]){height:var(--tui-height-m)}[tuiTabs]:before,tui-tabs:before{transition-property:width,left;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;left:var(--t-left);bottom:0;height:2px;width:var(--t-width);background:var(--t-color);animation:tuiPresent 1ms}[tuiTabs]._underline:before,tui-tabs._underline:before{content:\"\"}tui-tabs[data-vertical],[tuiTabs][data-vertical]{flex-direction:column;box-shadow:inset -1px 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab],[tuiTabs][data-vertical] [tuiTab]{min-height:2.75rem;height:auto;white-space:normal;margin:0;text-align:left;padding:.25rem 1.25rem .25rem 0}tui-tabs[data-vertical] [tuiTab]:after,[tuiTabs][data-vertical] [tuiTab]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;top:0;bottom:0;right:0;width:2px;background:var(--tui-background-accent-1);transform:scaleX(0);transform-origin:right}tui-tabs[data-vertical] [tuiTab]:hover,[tuiTabs][data-vertical] [tuiTab]:hover{box-shadow:inset -2px 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab]._active:after,[tuiTabs][data-vertical] [tuiTab]._active:after{transform:none}tui-tabs[data-vertical][data-size=m] [tuiTab],[tuiTabs][data-vertical][data-size=m] [tuiTab]{min-height:2.25rem;font:var(--tui-font-text-s)}tui-tabs[data-vertical][data-vertical=right],[tuiTabs][data-vertical][data-vertical=right]{box-shadow:inset 1px 0 var(--tui-border-normal)}tui-tabs[data-vertical][data-vertical=right] [tuiTab],[tuiTabs][data-vertical][data-vertical=right] [tuiTab]{text-align:right;padding:.25rem 0 .25rem 1.25rem}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:after,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:after{right:auto;left:0;transform-origin:left}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:hover,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:hover{box-shadow:inset 2px 0 var(--tui-border-normal)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsStyles, decorators: [{
|
|
13
|
+
type: Component,
|
|
14
|
+
args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
15
|
+
class: 'tui-tabs',
|
|
16
|
+
}, styles: ["[tuiTab]{transition-property:color,box-shadow,opacity,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;flex-shrink:0;box-sizing:border-box;justify-content:space-between;line-height:1.5rem;align-items:center;white-space:nowrap;cursor:pointer;outline:none;color:inherit;margin-left:24px}tui-tabs[data-size=m]+[tuiTab],tui-tabs[data-size=m] [tuiTab],[tuiTabs][data-size=m] [tuiTab]{margin-left:16px;font:var(--tui-font-text-s)}[tuiTab]:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}[tuiTab]._active{color:var(--tui-text-primary);box-shadow:none}[tuiTab]:focus-visible{outline:2px solid var(--tui-border-focus);outline-offset:-2px}tui-tabs._underline [tuiTab]:hover:not(._active),[tuiTabs]._underline [tuiTab]:hover:not(._active){box-shadow:inset 0 -2px var(--tui-border-normal)}tui-tabs>[tuiTab]:first-child,[tuiTabs]>[tuiTab]:first-child,tui-tabs>:not(.t-overflown)>[tuiTab]:first-child{margin-left:0}tui-tabs>[tuiTab]~:not(.t-overflown)>[tuiTab]:first-child{margin-left:var(--tui-tab-margin, 1.5rem)}[tuiTab]._icon-start:before{font-size:1rem;margin-inline-end:.5rem}[tuiTab]._icon-end:after{font-size:1rem;margin-inline-start:.5rem}[tuiTab]:empty:after,[tuiTab]:empty:before{margin:.5rem}@media (hover: hover){[tuiTab]:hover{color:var(--tui-text-primary)}}[tuiTabs],tui-tabs{scrollbar-width:none;-ms-overflow-style:none;position:relative;display:flex;font:var(--tui-font-text-m);color:var(--tui-text-secondary);box-shadow:inset 0 -1px var(--tui-border-normal);overflow:auto;isolation:isolate}[tuiTabs]::-webkit-scrollbar,tui-tabs::-webkit-scrollbar,[tuiTabs]::-webkit-scrollbar-thumb,tui-tabs::-webkit-scrollbar-thumb{display:none}[tuiTabs][data-size=l]:not([data-vertical]),tui-tabs[data-size=l]:not([data-vertical]){height:var(--tui-height-l)}[tuiTabs][data-size=m]:not([data-vertical]),tui-tabs[data-size=m]:not([data-vertical]){height:var(--tui-height-m)}[tuiTabs]:before,tui-tabs:before{transition-property:width,left;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;left:var(--t-left);bottom:0;height:2px;width:var(--t-width);background:var(--t-color);animation:tuiPresent 1ms}[tuiTabs]._underline:before,tui-tabs._underline:before{content:\"\"}tui-tabs[data-vertical],[tuiTabs][data-vertical]{flex-direction:column;box-shadow:inset -1px 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab],[tuiTabs][data-vertical] [tuiTab]{min-height:2.75rem;height:auto;white-space:normal;margin:0;text-align:left;padding:.25rem 1.25rem .25rem 0}tui-tabs[data-vertical] [tuiTab]:after,[tuiTabs][data-vertical] [tuiTab]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;top:0;bottom:0;right:0;width:2px;background:var(--tui-background-accent-1);transform:scaleX(0);transform-origin:right}tui-tabs[data-vertical] [tuiTab]:hover,[tuiTabs][data-vertical] [tuiTab]:hover{box-shadow:inset -2px 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab]._active:after,[tuiTabs][data-vertical] [tuiTab]._active:after{transform:none}tui-tabs[data-vertical][data-size=m] [tuiTab],[tuiTabs][data-vertical][data-size=m] [tuiTab]{min-height:2.25rem;font:var(--tui-font-text-s)}tui-tabs[data-vertical][data-vertical=right],[tuiTabs][data-vertical][data-vertical=right]{box-shadow:inset 1px 0 var(--tui-border-normal)}tui-tabs[data-vertical][data-vertical=right] [tuiTab],[tuiTabs][data-vertical][data-vertical=right] [tuiTab]{text-align:right;padding:.25rem 0 .25rem 1.25rem}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:after,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:after{right:auto;left:0;transform-origin:left}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:hover,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:hover{box-shadow:inset 2px 0 var(--tui-border-normal)}\n"] }]
|
|
17
|
+
}] });
|
|
18
|
+
class TuiTabsDirective {
|
|
19
|
+
constructor() {
|
|
20
|
+
this.el = tuiInjectElement();
|
|
21
|
+
this.injector = inject(INJECTOR);
|
|
22
|
+
this.nothing = tuiWithStyles(TuiTabsStyles);
|
|
23
|
+
this.size = inject(TUI_TABS_OPTIONS).size;
|
|
24
|
+
this.activeItemIndex = 0;
|
|
25
|
+
this.activeItemIndexChange = new EventEmitter();
|
|
26
|
+
}
|
|
27
|
+
get tabs() {
|
|
28
|
+
return Array.from(this.el.querySelectorAll('[tuiTab]'));
|
|
29
|
+
}
|
|
30
|
+
get activeElement() {
|
|
31
|
+
return this.tabs[this.activeItemIndex] || null;
|
|
32
|
+
}
|
|
33
|
+
moveFocus(current, step) {
|
|
34
|
+
const { tabs } = this;
|
|
35
|
+
tuiMoveFocus(tabs.indexOf(current), tabs, step);
|
|
36
|
+
}
|
|
37
|
+
ngAfterViewChecked() {
|
|
38
|
+
afterNextRender(() => {
|
|
39
|
+
this.markTabAsActive();
|
|
40
|
+
}, { injector: this.injector });
|
|
41
|
+
}
|
|
42
|
+
onActivate(event, element) {
|
|
43
|
+
const index = this.tabs.findIndex((tab) => tab === element);
|
|
44
|
+
event.stopPropagation();
|
|
45
|
+
if (index === this.activeItemIndex) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
this.activeItemIndexChange.emit(index);
|
|
49
|
+
this.activeItemIndex = index;
|
|
50
|
+
}
|
|
51
|
+
markTabAsActive() {
|
|
52
|
+
const { tabs, activeElement } = this;
|
|
53
|
+
tabs.forEach((nativeElement) => {
|
|
54
|
+
const active = nativeElement === activeElement;
|
|
55
|
+
nativeElement.classList.toggle('_active', active);
|
|
56
|
+
nativeElement.setAttribute('tabIndex', active ? '0' : '-1');
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
60
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTabsDirective, isStandalone: true, selector: "tui-tabs:is(never)", inputs: { size: "size", activeItemIndex: "activeItemIndex" }, outputs: { activeItemIndexChange: "activeItemIndexChange" }, host: { listeners: { "tui-tab-activate": "onActivate($event,$event.target)" }, properties: { "attr.data-size": "size" } }, ngImport: i0 }); }
|
|
61
|
+
}
|
|
62
|
+
export { TuiTabsDirective };
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsDirective, decorators: [{
|
|
64
|
+
type: Directive,
|
|
65
|
+
args: [{
|
|
66
|
+
standalone: true,
|
|
67
|
+
selector: 'tui-tabs:is(never)',
|
|
68
|
+
host: {
|
|
69
|
+
'[attr.data-size]': 'size',
|
|
70
|
+
},
|
|
71
|
+
}]
|
|
72
|
+
}], propDecorators: { size: [{
|
|
73
|
+
type: Input
|
|
74
|
+
}], activeItemIndex: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], activeItemIndexChange: [{
|
|
77
|
+
type: Output
|
|
78
|
+
}], onActivate: [{
|
|
79
|
+
type: HostListener,
|
|
80
|
+
args: [TUI_TAB_ACTIVATE, ['$event', '$event.target']]
|
|
81
|
+
}] } });
|
|
82
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy90YWJzL3RhYnMuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFDSCxlQUFlLEVBQ2YsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxTQUFTLEVBQ1QsWUFBWSxFQUNaLFlBQVksRUFDWixNQUFNLEVBQ04sUUFBUSxFQUNSLEtBQUssRUFDTCxNQUFNLEVBQ04saUJBQWlCLEdBQ3BCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLHlCQUF5QixDQUFDO0FBQ3pELE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSwyQkFBMkIsQ0FBQztBQUN2RCxPQUFPLEVBQUMsYUFBYSxFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFHaEUsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDakQsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sZ0JBQWdCLENBQUM7O0FBRWhELE1BVU0sYUFBYTsrR0FBYixhQUFhO21HQUFiLGFBQWEsOEdBUkwsRUFBRTs7NEZBUVYsYUFBYTtrQkFWbEIsU0FBUztpQ0FDTSxJQUFJLFlBQ04sRUFBRSxpQkFFRyxpQkFBaUIsQ0FBQyxJQUFJLG1CQUNwQix1QkFBdUIsQ0FBQyxNQUFNLFFBQ3pDO3dCQUNGLEtBQUssR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cy50YWJzLmZpbmRJbmRleCgodGFiKSA9PiB0YWIgPT09IGVsZW1lbnQpO1xuXG4gICAgICAgIGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpO1xuXG4gICAgICAgIGlmIChpbmRleCA9PT0gdGhpcy5hY3RpdmVJdGVtSW5kZXgpIHtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMuYWN0aXZlSXRlbUluZGV4Q2hhbmdlLmVtaXQoaW5kZXgpO1xuICAgICAgICB0aGlzLmFjdGl2ZUl0ZW1JbmRleCA9IGluZGV4O1xuICAgIH1cblxuICAgIHByb3RlY3RlZCBtYXJrVGFiQXNBY3RpdmUoKTogdm9pZCB7XG4gICAgICAgIGNvbnN0IHt0YWJzLCBhY3RpdmVFbGVtZW50fSA9IHRoaXM7XG5cbiAgICAgICAgdGFicy5mb3JFYWNoKChuYXRpdmVFbGVtZW50KSA9PiB7XG4gICAgICAgICAgICBjb25zdCBhY3RpdmUgPSBuYXRpdmVFbGVtZW50ID09PSBhY3RpdmVFbGVtZW50O1xuXG4gICAgICAgICAgICBuYXRpdmVFbGVtZW50LmNsYXNzTGlzdC50b2dnbGUoJ19hY3RpdmUnLCBhY3RpdmUpO1xuICAgICAgICAgICAgbmF0aXZlRWxlbWVudC5zZXRBdHRyaWJ1dGUoJ3RhYkluZGV4JywgYWN0aXZlID8gJzAnIDogJy0xJyk7XG4gICAgICAgIH0pO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TuiItem } from '@taiga-ui/cdk/directives/item';
|
|
2
|
+
import { TuiTab } from './tab.directive';
|
|
3
|
+
import { TuiTabsDirective } from './tabs.directive';
|
|
4
|
+
import { TuiTabsHorizontal } from './tabs-horizontal.directive';
|
|
5
|
+
import { TuiTabsVertical } from './tabs-vertical.directive';
|
|
6
|
+
import { TuiTabsWithMore } from './tabs-with-more.component';
|
|
7
|
+
export const TuiTabs = [
|
|
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JlY3RpdmUnO1xuaW1wb3J0IHtUdWlUYWJzSG9yaXpvbnRhbH0gZnJvbSAnLi90YWJzLWhvcml6b250YWwuZGlyZWN0aXZlJztcbmltcG9ydCB7VHVpVGFic1ZlcnRpY2FsfSBmcm9tICcuL3RhYnMtdmVydGljYWwuZGlyZWN0aXZlJztcbmltcG9ydCB7VHVpVGFic1dpdGhNb3JlfSBmcm9tICcuL3RhYnMtd2l0aC1tb3JlLmNvbXBvbmVudCc7XG5cbmV4cG9ydCBjb25zdCBUdWlUYWJzID0gW1xuICAgIFR1aUl0ZW0sXG4gICAgVHVpVGFiLFxuICAgIFR1aVRhYnNEaXJlY3RpdmUsXG4gICAgVHVpVGFic0hvcml6b250YWwsXG4gICAgVHVpVGFic1ZlcnRpY2FsLFxuICAgIFR1aVRhYnNXaXRoTW9yZSxcbl0gYXMgY29uc3Q7XG4iXX0=
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { tuiCreateToken, tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
2
|
+
export const TUI_TABS_DEFAULT_OPTIONS = {
|
|
3
|
+
underline: true,
|
|
4
|
+
exposeActive: true,
|
|
5
|
+
itemsLimit: Infinity,
|
|
6
|
+
minMoreWidth: 0,
|
|
7
|
+
size: 'l',
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Default parameters for Tabs component
|
|
11
|
+
*/
|
|
12
|
+
export const TUI_TABS_OPTIONS = tuiCreateToken(TUI_TABS_DEFAULT_OPTIONS);
|
|
13
|
+
export function tuiTabsOptionsProvider(options) {
|
|
14
|
+
return tuiProvideOptions(TUI_TABS_OPTIONS, options, TUI_TABS_DEFAULT_OPTIONS);
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5vcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJv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XG4gICAgcmVhZG9ubHkgdW5kZXJsaW5lOiBib29sZWFuIHwgc3RyaW5nO1xuICAgIHJlYWRvbmx5IHNpemU6IFR1aVNpemVMO1xufVxuXG5leHBvcnQgY29uc3QgVFVJX1RBQlNfREVGQVVMVF9PUFRJT05TOiBUdWlUYWJzT3B0aW9ucyA9IHtcbiAgICB1bmRlcmxpbmU6IHRydWUsXG4gICAgZXhwb3NlQWN0aXZlOiB0cnVlLFxuICAgIGl0ZW1zTGltaXQ6IEluZmluaXR5LFxuICAgIG1pbk1vcmVXaWR0aDogMCxcbiAgICBzaXplOiAnbCcsXG59O1xuXG4vKipcbiAqIERlZmF1bHQgcGFyYW1ldGVycyBmb3IgVGFicyBjb21wb25lbnRcbiAqL1xuZXhwb3J0IGNvbnN0IFRVSV9UQUJTX09QVElPTlMgPSB0dWlDcmVhdGVUb2tlbihUVUlfVEFCU19ERUZBVUxUX09QVElPTlMpO1xuXG5leHBvcnQgZnVuY3Rpb24gdHVpVGFic09wdGlvbnNQcm92aWRlcihvcHRpb25zOiBQYXJ0aWFsPFR1aVRhYnNPcHRpb25zPik6IFByb3ZpZGVyIHtcbiAgICByZXR1cm4gdHVpUHJvdmlkZU9wdGlvbnMoVFVJX1RBQlNfT1BUSU9OUywgb3B0aW9ucywgVFVJX1RBQlNfREVGQVVMVF9PUFRJT05TKTtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { DOCUMENT } from '@angular/common';
|
|
2
|
+
import { ChangeDetectorRef, ElementRef, InjectionToken } from '@angular/core';
|
|
3
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
4
|
+
import { MUTATION_OBSERVER_INIT, MutationObserverService, } from '@ng-web-apis/mutation-observer';
|
|
5
|
+
import { ResizeObserverService } from '@ng-web-apis/resize-observer';
|
|
6
|
+
import { tuiDropdownOptionsProvider } from '@taiga-ui/core/directives/dropdown';
|
|
7
|
+
import { debounceTime, filter, merge, startWith, tap } from 'rxjs';
|
|
8
|
+
export const TUI_TABS_REFRESH = new InjectionToken('[TUI_TABS_REFRESH]');
|
|
9
|
+
export const TUI_TABS_PROVIDERS = [
|
|
10
|
+
ResizeObserverService,
|
|
11
|
+
MutationObserverService,
|
|
12
|
+
tuiDropdownOptionsProvider({ align: 'right' }),
|
|
13
|
+
{
|
|
14
|
+
provide: MUTATION_OBSERVER_INIT,
|
|
15
|
+
useValue: {
|
|
16
|
+
childList: true,
|
|
17
|
+
subtree: true,
|
|
18
|
+
characterData: true,
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
provide: TUI_TABS_REFRESH,
|
|
23
|
+
deps: [
|
|
24
|
+
ResizeObserverService,
|
|
25
|
+
MutationObserverService,
|
|
26
|
+
DOCUMENT,
|
|
27
|
+
ElementRef,
|
|
28
|
+
ChangeDetectorRef,
|
|
29
|
+
],
|
|
30
|
+
useFactory: (resize$, mutations$, { body }, { nativeElement }, cdr) => merge(resize$, mutations$.pipe(tap(() => cdr.detectChanges()))).pipe(
|
|
31
|
+
// Ignoring cases when host is detached from DOM
|
|
32
|
+
filter(() => body.contains(nativeElement)), debounceTime(0), startWith(null), takeUntilDestroyed()),
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5wcm92aWRlcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy90YWJzL3RhYnMucHJvdmlkZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUV6QyxPQUFPLEVBQUMsaUJBQWlCLEVBQUUsVUFBVSxFQUFFLGNBQWMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM1RSxPQUFPLEVBQUM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zJDogT2JzZXJ2YWJsZTx1bmtub3duPixcbiAgICAgICAgICAgIHtib2R5fTogRG9jdW1lbnQsXG4gICAgICAgICAgICB7bmF0aXZlRWxlbWVudH06IEVsZW1lbnRSZWY8Tm9kZT4sXG4gICAgICAgICAgICBjZHI6IENoYW5nZURldGVjdG9yUmVmLFxuICAgICAgICApOiBPYnNlcnZhYmxlPHVua25vd24+ID0+XG4gICAgICAgICAgICBtZXJnZShyZXNpemUkLCBtdXRhdGlvbnMkLnBpcGUodGFwKCgpID0+IGNkci5kZXRlY3RDaGFuZ2VzKCkpKSkucGlwZShcbiAgICAgICAgICAgICAgICAvLyBJZ25vcmluZyBjYXNlcyB3aGVuIGhvc3QgaXMgZGV0YWNoZWQgZnJvbSBET01cbiAgICAgICAgICAgICAgICBmaWx0ZXIoKCkgPT4gYm9keS5jb250YWlucyhuYXRpdmVFbGVtZW50KSksXG4gICAgICAgICAgICAgICAgZGVib3VuY2VUaW1lKDApLFxuICAgICAgICAgICAgICAgIHN0YXJ0V2l0aChudWxsKSxcbiAgICAgICAgICAgICAgICB0YWtlVW50aWxEZXN0cm95ZWQoKSxcbiAgICAgICAgICAgICksXG4gICAgfSxcbl07XG4iXX0=
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './tile.component';
|
|
2
|
+
export * from './tile.service';
|
|
3
|
+
export * from './tile-handle.directive';
|
|
4
|
+
export * from './tiles';
|
|
5
|
+
export * from './tiles.component';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy90aWxlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLFNBQVMsQ0FBQztBQUN4QixjQUFjLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90aWxlLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3RpbGUuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL3RpbGUtaGFuZGxlLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL3RpbGVzJztcbmV4cG9ydCAqIGZyb20gJy4vdGlsZXMuY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Directive, HostListener, inject } from '@angular/core';
|
|
3
|
+
import { tuiGetActualTarget, tuiIsElement } from '@taiga-ui/cdk/utils/dom';
|
|
4
|
+
import { shouldCall } from '@taiga-ui/event-plugins';
|
|
5
|
+
import { TuiTile } from './tile.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
function isInteracting(x = NaN) {
|
|
8
|
+
return !Number.isNaN(x) || !Number.isNaN(this['x']);
|
|
9
|
+
}
|
|
10
|
+
function isDragging() {
|
|
11
|
+
return !Number.isNaN(this['x']);
|
|
12
|
+
}
|
|
13
|
+
class TuiTileHandle {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.tile = inject(TuiTile);
|
|
16
|
+
this.x = NaN;
|
|
17
|
+
this.y = NaN;
|
|
18
|
+
}
|
|
19
|
+
onStart(event) {
|
|
20
|
+
const target = tuiGetActualTarget(event);
|
|
21
|
+
const { x, y, pointerId } = event;
|
|
22
|
+
if (tuiIsElement(target)) {
|
|
23
|
+
target.releasePointerCapture(pointerId);
|
|
24
|
+
}
|
|
25
|
+
this.onPointer(x, y);
|
|
26
|
+
}
|
|
27
|
+
onPointer(x = NaN, y = NaN) {
|
|
28
|
+
const { left, top } = this.tile.element.getBoundingClientRect();
|
|
29
|
+
this.x = x - left;
|
|
30
|
+
this.y = y - top;
|
|
31
|
+
this.tile.onDrag([NaN, NaN]);
|
|
32
|
+
}
|
|
33
|
+
onMove(x, y) {
|
|
34
|
+
this.tile.onDrag([x - this.x, y - this.y]);
|
|
35
|
+
}
|
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTileHandle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
37
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTileHandle, isStandalone: true, selector: "[tuiTileHandle]", host: { listeners: { "pointerdown.silent": "onStart($event)", "document:pointerup.silent": "onPointer()", "document:pointermove.silent": "onMove($event.x,$event.y)" }, properties: { "style.touchAction": "\"none\"", "style.userSelect": "\"none\"" } }, ngImport: i0 }); }
|
|
38
|
+
}
|
|
39
|
+
__decorate([
|
|
40
|
+
shouldCall(isInteracting)
|
|
41
|
+
], TuiTileHandle.prototype, "onPointer", null);
|
|
42
|
+
__decorate([
|
|
43
|
+
shouldCall(isDragging)
|
|
44
|
+
], TuiTileHandle.prototype, "onMove", null);
|
|
45
|
+
export { TuiTileHandle };
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTileHandle, decorators: [{
|
|
47
|
+
type: Directive,
|
|
48
|
+
args: [{
|
|
49
|
+
standalone: true,
|
|
50
|
+
selector: '[tuiTileHandle]',
|
|
51
|
+
host: {
|
|
52
|
+
'[style.touchAction]': '"none"',
|
|
53
|
+
'[style.userSelect]': '"none"',
|
|
54
|
+
},
|
|
55
|
+
}]
|
|
56
|
+
}], propDecorators: { onStart: [{
|
|
57
|
+
type: HostListener,
|
|
58
|
+
args: ['pointerdown.silent', ['$event']]
|
|
59
|
+
}], onPointer: [{
|
|
60
|
+
type: HostListener,
|
|
61
|
+
args: ['document:pointerup.silent']
|
|
62
|
+
}], onMove: [{
|
|
63
|
+
type: HostListener,
|
|
64
|
+
args: ['document:pointermove.silent', ['$event.x', '$event.y']]
|
|
65
|
+
}] } });
|
|
66
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGlsZS1oYW5kbGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvdGlsZXMvdGlsZS1oYW5kbGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBRSxNQUFNLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDOUQsT0FBTyxFQUFDLGtCQUFrQixFQUFFLFlBQVksRUFBQyxNQUFNLHlCQUF5QixDQUFDO0FBQ3pFLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUVuRCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sa0JBQWtCLENBQUM7O0FBRXpDLFNBQVMsYUFBYSxDQUFzQixDQUFDLEdBQUcsR0FBRztJQUMvQyxPQUFPLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUM7QUFDeEQsQ0FBQztBQUVELFNBQVMsVUFBVTtJQUNmLE9BQU8sQ0FBQyxNQUFNLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDO0FBQ3BDLENBQUM7QUFFRCxNQVFhLGFBQWE7SUFSMUI7UUFTcUIsU0FBSSxHQUFHLE1BQU0sQ0FBQyxPQUFPLENBQUMsQ0FBQztRQUNoQyxNQUFDLEdBQUcsR0FBRyxD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