@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,196 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { AsyncPipe, NgForOf, NgIf } from '@angular/common';
|
|
3
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, inject, Input, Output, } from '@angular/core';
|
|
4
|
+
import { TUI_FALSE_HANDLER } from '@taiga-ui/cdk/constants';
|
|
5
|
+
import { TUI_FIRST_DAY, TUI_LAST_DAY, TuiDay, TuiMonth, TuiMonthRange, TuiYear, } from '@taiga-ui/cdk/date-time';
|
|
6
|
+
import { TuiHovered } from '@taiga-ui/cdk/directives/hovered';
|
|
7
|
+
import { TuiLet } from '@taiga-ui/cdk/directives/let';
|
|
8
|
+
import { tuiNullableSame, tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
9
|
+
import { TuiCalendarYear } from '@taiga-ui/core/components/calendar';
|
|
10
|
+
import { TuiLink } from '@taiga-ui/core/components/link';
|
|
11
|
+
import { TuiScrollbar } from '@taiga-ui/core/components/scrollbar';
|
|
12
|
+
import { TuiSpinButton } from '@taiga-ui/core/components/spin-button';
|
|
13
|
+
import { TUI_CALENDAR_MONTHS } from '@taiga-ui/kit/tokens';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
const TODAY = TuiDay.currentLocal();
|
|
16
|
+
class TuiCalendarMonth {
|
|
17
|
+
constructor() {
|
|
18
|
+
this.isYearPickerShown = false;
|
|
19
|
+
this.months$ = inject(TUI_CALENDAR_MONTHS);
|
|
20
|
+
this.value = null;
|
|
21
|
+
this.year = TODAY;
|
|
22
|
+
this.disabledItemHandler = TUI_FALSE_HANDLER;
|
|
23
|
+
this.minLength = null;
|
|
24
|
+
this.maxLength = null;
|
|
25
|
+
this.min = TUI_FIRST_DAY;
|
|
26
|
+
this.max = TUI_LAST_DAY;
|
|
27
|
+
this.monthClick = new EventEmitter();
|
|
28
|
+
this.hoveredItemChange = new EventEmitter();
|
|
29
|
+
this.yearChange = new EventEmitter();
|
|
30
|
+
this.hoveredItem = null;
|
|
31
|
+
}
|
|
32
|
+
get isSingle() {
|
|
33
|
+
return (this.value !== null &&
|
|
34
|
+
(this.value instanceof TuiMonth || this.value.isSingleMonth));
|
|
35
|
+
}
|
|
36
|
+
onNextYear() {
|
|
37
|
+
this.updateActiveYear(this.year.append({ year: 1 }));
|
|
38
|
+
}
|
|
39
|
+
onPreviousYear() {
|
|
40
|
+
this.updateActiveYear(this.year.append({ year: -1 }));
|
|
41
|
+
}
|
|
42
|
+
isItemInsideRange(month) {
|
|
43
|
+
const { value, hoveredItem } = this;
|
|
44
|
+
if (value === null || value instanceof TuiMonth) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
if (!value.isSingleMonth) {
|
|
48
|
+
return value.from.monthSameOrBefore(month) && value.to.monthAfter(month);
|
|
49
|
+
}
|
|
50
|
+
if (hoveredItem === null) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
const range = TuiMonthRange.sort(value.from, hoveredItem);
|
|
54
|
+
return range.from.monthSameOrBefore(month) && range.to.monthAfter(month);
|
|
55
|
+
}
|
|
56
|
+
getItemRange(item) {
|
|
57
|
+
const { value, hoveredItem } = this;
|
|
58
|
+
if (value === null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
if (value instanceof TuiMonth) {
|
|
62
|
+
return value.monthSame(item) ? 'single' : null;
|
|
63
|
+
}
|
|
64
|
+
const theFirstOfRange = value.from.monthSame(item) && !value.isSingleMonth;
|
|
65
|
+
const hoveredItemAfterFrom = hoveredItem?.monthAfter(value.from) &&
|
|
66
|
+
value.from.monthSame(item) &&
|
|
67
|
+
value.isSingleMonth;
|
|
68
|
+
const hoveredItemIsCandidateToBeFrom = hoveredItem?.monthSame(item) &&
|
|
69
|
+
hoveredItem?.monthBefore(value.from) &&
|
|
70
|
+
value.isSingleMonth;
|
|
71
|
+
if (theFirstOfRange || hoveredItemAfterFrom || hoveredItemIsCandidateToBeFrom) {
|
|
72
|
+
return 'start';
|
|
73
|
+
}
|
|
74
|
+
const theLastOfRange = value.to.monthSame(item) && !value.isSingleMonth;
|
|
75
|
+
const hoveredItemBeforeTo = value.to.monthSame(item) &&
|
|
76
|
+
hoveredItem?.monthBefore(value.to) &&
|
|
77
|
+
value.isSingleMonth;
|
|
78
|
+
const hoveredItemIsCandidateToBeTo = hoveredItem?.monthSame(item) &&
|
|
79
|
+
hoveredItem?.monthAfter(value.from) &&
|
|
80
|
+
value.isSingleMonth;
|
|
81
|
+
if (theLastOfRange || hoveredItemBeforeTo || hoveredItemIsCandidateToBeTo) {
|
|
82
|
+
return 'end';
|
|
83
|
+
}
|
|
84
|
+
return value.isSingleMonth && value.from.monthSame(item) ? 'single' : null;
|
|
85
|
+
}
|
|
86
|
+
get computedMin() {
|
|
87
|
+
return this.min ?? TUI_FIRST_DAY;
|
|
88
|
+
}
|
|
89
|
+
get computedMax() {
|
|
90
|
+
return this.max ?? TUI_LAST_DAY;
|
|
91
|
+
}
|
|
92
|
+
get previousYearDisabled() {
|
|
93
|
+
return this.year.yearSameOrBefore(this.computedMin);
|
|
94
|
+
}
|
|
95
|
+
get nextYearDisabled() {
|
|
96
|
+
return this.year.yearSameOrAfter(this.computedMax);
|
|
97
|
+
}
|
|
98
|
+
get disabledItemHandlerWithMinMax() {
|
|
99
|
+
return this.calculateDisabledItemHandlerWithMinMax(this.disabledItemHandler, this.value, this.computedMin, this.computedMax, this.minLength, this.maxLength);
|
|
100
|
+
}
|
|
101
|
+
getTuiMonth(monthNumber, yearNumber) {
|
|
102
|
+
return new TuiMonth(yearNumber, monthNumber);
|
|
103
|
+
}
|
|
104
|
+
isItemToday(item) {
|
|
105
|
+
return TODAY.monthSame(item);
|
|
106
|
+
}
|
|
107
|
+
onPickerYearClick(year) {
|
|
108
|
+
this.isYearPickerShown = false;
|
|
109
|
+
if (this.year.year !== year) {
|
|
110
|
+
this.updateActiveYear(new TuiYear(year));
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
onItemClick(month) {
|
|
114
|
+
if (!this.disabledItemHandlerWithMinMax(month)) {
|
|
115
|
+
this.monthClick.emit(month);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
onYearClick() {
|
|
119
|
+
this.isYearPickerShown = true;
|
|
120
|
+
}
|
|
121
|
+
onItemHovered(hovered, item) {
|
|
122
|
+
this.updateHoveredItem(hovered ? item : null);
|
|
123
|
+
}
|
|
124
|
+
calculateDisabledItemHandlerWithMinMax(disabledItemHandler, value, min, max, minLength, maxLength) {
|
|
125
|
+
return (item) => {
|
|
126
|
+
const delta = value instanceof TuiMonthRange && value.isSingleMonth
|
|
127
|
+
? Math.abs(item.year * 12 +
|
|
128
|
+
item.month -
|
|
129
|
+
value.from.year * 12 -
|
|
130
|
+
value.from.month)
|
|
131
|
+
: 0;
|
|
132
|
+
const tooLong = delta && maxLength && delta > maxLength;
|
|
133
|
+
const tooShort = delta && minLength && delta < minLength;
|
|
134
|
+
return (tooLong ||
|
|
135
|
+
tooShort ||
|
|
136
|
+
item.monthBefore(min) ||
|
|
137
|
+
item.monthAfter(max) ||
|
|
138
|
+
disabledItemHandler(item));
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
updateHoveredItem(month) {
|
|
142
|
+
if (tuiNullableSame(this.hoveredItem, month, (a, b) => a.monthSame(b))) {
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
this.hoveredItem = month;
|
|
146
|
+
this.hoveredItemChange.emit(month);
|
|
147
|
+
}
|
|
148
|
+
updateActiveYear(year) {
|
|
149
|
+
this.year = year;
|
|
150
|
+
this.yearChange.emit(year);
|
|
151
|
+
}
|
|
152
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCalendarMonth, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
153
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiCalendarMonth, isStandalone: true, selector: "tui-calendar-month", inputs: { value: "value", year: "year", disabledItemHandler: "disabledItemHandler", minLength: "minLength", maxLength: "maxLength", min: "min", max: "max" }, outputs: { monthClick: "monthClick", hoveredItemChange: "hoveredItemChange", yearChange: "yearChange" }, host: { properties: { "class._single": "this.isSingle" } }, ngImport: i0, template: "<tui-scrollbar\n *ngIf=\"isYearPickerShown; else monthSelect\"\n class=\"t-scrollbar\"\n>\n <tui-calendar-year\n [initialItem]=\"year.year\"\n [max]=\"computedMax.year\"\n [min]=\"computedMin.year\"\n [value]=\"value\"\n (yearClick)=\"onPickerYearClick($event)\"\n />\n</tui-scrollbar>\n<ng-template #monthSelect>\n <tui-spin-button\n [focusable]=\"false\"\n [leftDisabled]=\"previousYearDisabled\"\n [rightDisabled]=\"nextYearDisabled\"\n (leftClick)=\"onPreviousYear()\"\n (rightClick)=\"onNextYear()\"\n >\n <button\n automation-id=\"tui-calendar-month__active-year\"\n tabIndex=\"-1\"\n tuiLink\n type=\"button\"\n (click)=\"onYearClick()\"\n >\n {{ year.formattedYear }}\n </button>\n </tui-spin-button>\n <div class=\"t-row\">\n <ng-container *ngFor=\"let month of months$ | async; let index = index\">\n <div\n *tuiLet=\"getTuiMonth(index, year.year) as item\"\n class=\"t-cell\"\n [attr.data-range]=\"getItemRange(item)\"\n [class.t-cell_disabled]=\"disabledItemHandlerWithMinMax(item)\"\n [class.t-cell_interval]=\"isItemInsideRange(item)\"\n [class.t-cell_today]=\"isItemToday(item)\"\n (click)=\"onItemClick(item)\"\n (tuiHoveredChange)=\"onItemHovered($event, item)\"\n >\n <div class=\"t-item\">{{ month }}</div>\n </div>\n </ng-container>\n </div>\n</ng-template>\n", styles: [":host{display:block;font:var(--tui-font-text-m)}.t-row{position:relative;display:flex;justify-content:space-between;height:2.25rem;isolation:isolate}.t-item{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item:before,.t-item:after{position:absolute;top:0;left:0;bottom:0;right:0;content:\"\";z-index:-1;border-radius:var(--tui-radius-m)}.t-item:after{border-radius:.5rem}.t-cell{position:relative;display:flex;align-items:center;justify-content:center;width:3.9375rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem solid transparent}.t-cell:before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today:after{position:absolute;left:50%;transform:translate(-50%);content:\"\";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background:var(--tui-text-primary)}.t-cell_interval:before{background:var(--tui-background-base-alt)}:host._single .t-cell_interval:before{background:var(--tui-background-neutral-1-hover)}.t-cell_interval:not(:last-child):before{right:-.1875rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval:not([data-range=start]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell_interval:last-child:first-child:before{right:0}.t-cell_interval:first-child>.t-item{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval:last-child>.t-item{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval>.t-item{border-radius:0}.t-cell[data-range]:after{background:var(--tui-text-primary-on-accent-1)}.t-cell[data-range]>.t-item{color:var(--tui-text-primary-on-accent-1)}.t-cell[data-range]>.t-item:before,.t-cell[data-range]>.t-item:after{background:var(--tui-background-accent-1)}.t-cell[data-range]:hover>.t-item:before,.t-cell[data-range]:hover>.t-item:after{background:var(--tui-background-accent-1-hover)}.t-cell[data-range]:active>.t-item:before,.t-cell[data-range]:active>.t-item:after{background:var(--tui-background-accent-1-pressed)}.t-cell[data-range=end]:before{background:var(--tui-background-base-alt)}:host._single .t-cell[data-range=end]:before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=end]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start]>.t-item:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start]>.t-item:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single]>.t-item:after{display:none}.t-cell_disabled{pointer-events:none}.t-cell_disabled>.t-item{opacity:.36}.t-cell:hover:not([data-range])>.t-item{background:var(--tui-background-neutral-1-hover)}.t-cell:active:not([data-range])>.t-item{background:var(--tui-background-neutral-1-pressed)}:host{display:block;height:13.625rem;width:15.75rem;padding:1.125rem;box-sizing:content-box}.t-row{flex-wrap:wrap;margin-top:1.4375rem}.t-cell:nth-child(n+5){margin-top:1.75rem}.t-cell_interval:nth-child(4n):before{right:0}.t-scrollbar{height:inherit;width:inherit}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: TuiCalendarYear, selector: "tui-calendar-year", inputs: ["value", "initialItem", "min", "max", "disabledItemHandler"], outputs: ["yearClick"] }, { kind: "component", type: TuiSpinButton, selector: "tui-spin-button", inputs: ["focusable", "disabled", "leftDisabled", "rightDisabled"], outputs: ["leftClick", "rightClick"] }, { kind: "component", type: TuiScrollbar, selector: "tui-scrollbar", inputs: ["hidden"] }, { kind: "directive", type: TuiLink, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo"] }, { kind: "directive", type: TuiLet, selector: "[tuiLet]", inputs: ["tuiLet"] }, { kind: "directive", type: TuiHovered, selector: "[tuiHoveredChange]", outputs: ["tuiHoveredChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
154
|
+
}
|
|
155
|
+
__decorate([
|
|
156
|
+
tuiPure
|
|
157
|
+
], TuiCalendarMonth.prototype, "calculateDisabledItemHandlerWithMinMax", null);
|
|
158
|
+
export { TuiCalendarMonth };
|
|
159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCalendarMonth, decorators: [{
|
|
160
|
+
type: Component,
|
|
161
|
+
args: [{ standalone: true, selector: 'tui-calendar-month', imports: [
|
|
162
|
+
AsyncPipe,
|
|
163
|
+
NgIf,
|
|
164
|
+
NgForOf,
|
|
165
|
+
TuiCalendarYear,
|
|
166
|
+
TuiSpinButton,
|
|
167
|
+
TuiScrollbar,
|
|
168
|
+
TuiLink,
|
|
169
|
+
TuiLet,
|
|
170
|
+
TuiHovered,
|
|
171
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<tui-scrollbar\n *ngIf=\"isYearPickerShown; else monthSelect\"\n class=\"t-scrollbar\"\n>\n <tui-calendar-year\n [initialItem]=\"year.year\"\n [max]=\"computedMax.year\"\n [min]=\"computedMin.year\"\n [value]=\"value\"\n (yearClick)=\"onPickerYearClick($event)\"\n />\n</tui-scrollbar>\n<ng-template #monthSelect>\n <tui-spin-button\n [focusable]=\"false\"\n [leftDisabled]=\"previousYearDisabled\"\n [rightDisabled]=\"nextYearDisabled\"\n (leftClick)=\"onPreviousYear()\"\n (rightClick)=\"onNextYear()\"\n >\n <button\n automation-id=\"tui-calendar-month__active-year\"\n tabIndex=\"-1\"\n tuiLink\n type=\"button\"\n (click)=\"onYearClick()\"\n >\n {{ year.formattedYear }}\n </button>\n </tui-spin-button>\n <div class=\"t-row\">\n <ng-container *ngFor=\"let month of months$ | async; let index = index\">\n <div\n *tuiLet=\"getTuiMonth(index, year.year) as item\"\n class=\"t-cell\"\n [attr.data-range]=\"getItemRange(item)\"\n [class.t-cell_disabled]=\"disabledItemHandlerWithMinMax(item)\"\n [class.t-cell_interval]=\"isItemInsideRange(item)\"\n [class.t-cell_today]=\"isItemToday(item)\"\n (click)=\"onItemClick(item)\"\n (tuiHoveredChange)=\"onItemHovered($event, item)\"\n >\n <div class=\"t-item\">{{ month }}</div>\n </div>\n </ng-container>\n </div>\n</ng-template>\n", styles: [":host{display:block;font:var(--tui-font-text-m)}.t-row{position:relative;display:flex;justify-content:space-between;height:2.25rem;isolation:isolate}.t-item{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item:before,.t-item:after{position:absolute;top:0;left:0;bottom:0;right:0;content:\"\";z-index:-1;border-radius:var(--tui-radius-m)}.t-item:after{border-radius:.5rem}.t-cell{position:relative;display:flex;align-items:center;justify-content:center;width:3.9375rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem solid transparent}.t-cell:before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today:after{position:absolute;left:50%;transform:translate(-50%);content:\"\";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background:var(--tui-text-primary)}.t-cell_interval:before{background:var(--tui-background-base-alt)}:host._single .t-cell_interval:before{background:var(--tui-background-neutral-1-hover)}.t-cell_interval:not(:last-child):before{right:-.1875rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval:not([data-range=start]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell_interval:last-child:first-child:before{right:0}.t-cell_interval:first-child>.t-item{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval:last-child>.t-item{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval>.t-item{border-radius:0}.t-cell[data-range]:after{background:var(--tui-text-primary-on-accent-1)}.t-cell[data-range]>.t-item{color:var(--tui-text-primary-on-accent-1)}.t-cell[data-range]>.t-item:before,.t-cell[data-range]>.t-item:after{background:var(--tui-background-accent-1)}.t-cell[data-range]:hover>.t-item:before,.t-cell[data-range]:hover>.t-item:after{background:var(--tui-background-accent-1-hover)}.t-cell[data-range]:active>.t-item:before,.t-cell[data-range]:active>.t-item:after{background:var(--tui-background-accent-1-pressed)}.t-cell[data-range=end]:before{background:var(--tui-background-base-alt)}:host._single .t-cell[data-range=end]:before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=end]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start]>.t-item:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start]>.t-item:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single]>.t-item:after{display:none}.t-cell_disabled{pointer-events:none}.t-cell_disabled>.t-item{opacity:.36}.t-cell:hover:not([data-range])>.t-item{background:var(--tui-background-neutral-1-hover)}.t-cell:active:not([data-range])>.t-item{background:var(--tui-background-neutral-1-pressed)}:host{display:block;height:13.625rem;width:15.75rem;padding:1.125rem;box-sizing:content-box}.t-row{flex-wrap:wrap;margin-top:1.4375rem}.t-cell:nth-child(n+5){margin-top:1.75rem}.t-cell_interval:nth-child(4n):before{right:0}.t-scrollbar{height:inherit;width:inherit}\n"] }]
|
|
172
|
+
}], propDecorators: { value: [{
|
|
173
|
+
type: Input
|
|
174
|
+
}], year: [{
|
|
175
|
+
type: Input
|
|
176
|
+
}], disabledItemHandler: [{
|
|
177
|
+
type: Input
|
|
178
|
+
}], minLength: [{
|
|
179
|
+
type: Input
|
|
180
|
+
}], maxLength: [{
|
|
181
|
+
type: Input
|
|
182
|
+
}], min: [{
|
|
183
|
+
type: Input
|
|
184
|
+
}], max: [{
|
|
185
|
+
type: Input
|
|
186
|
+
}], monthClick: [{
|
|
187
|
+
type: Output
|
|
188
|
+
}], hoveredItemChange: [{
|
|
189
|
+
type: Output
|
|
190
|
+
}], yearChange: [{
|
|
191
|
+
type: Output
|
|
192
|
+
}], isSingle: [{
|
|
193
|
+
type: HostBinding,
|
|
194
|
+
args: ['class._single']
|
|
195
|
+
}], calculateDisabledItemHandlerWithMinMax: [] } });
|
|
196
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXItbW9udGguY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvY2FsZW5kYXItbW9udGgvY2FsZW5kYXItbW9udGguY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvY2FsZW5kYXItbW9udGgvY2FsZW5kYXItbW9udGgudGVtcGxhdGUuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxPQUFPLEVBQUUsSUFBSSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDekQsT0FBTyxFQUNILHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLFdBQVcsRUFDWCxNQUFNLEVBQ04sS0FBSyxFQUNMLE1BQU0sR0FDVCxNQUFNLGVBQWUsQ0FBQztB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DogbnVtYmVyIHwgbnVsbCxcbiAgICAgICAgbWF4TGVuZ3RoOiBudW1iZXIgfCBudWxsLFxuICAgICk6IFR1aUJvb2xlYW5IYW5kbGVyPFR1aU1vbnRoPiB7XG4gICAgICAgIHJldHVybiAoaXRlbSkgPT4ge1xuICAgICAgICAgICAgY29uc3QgZGVsdGEgPVxuICAgICAgICAgICAgICAgIHZhbHVlIGluc3RhbmNlb2YgVHVpTW9udGhSYW5nZSAmJiB2YWx1ZS5pc1NpbmdsZU1vbnRoXG4gICAgICAgICAgICAgICAgICAgID8gTWF0aC5hYnMoXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGl0ZW0ueWVhciAqIDEyICtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGl0ZW0ubW9udGggLVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWUuZnJvbS55ZWFyICogMTIgLVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWUuZnJvbS5tb250aCxcbiAgICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICAgIDogMDtcblxuICAgICAgICAgICAgY29uc3QgdG9vTG9uZyA9IGRlbHRhICYmIG1heExlbmd0aCAmJiBkZWx0YSA+IG1heExlbmd0aDtcbiAgICAgICAgICAgIGNvbnN0IHRvb1Nob3J0ID0gZGVsdGEgJiYgbWluTGVuZ3RoICYmIGRlbHRhIDwgbWluTGVuZ3RoO1xuXG4gICAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgICAgIHRvb0xvbmcgfHxcbiAgICAgICAgICAgICAgICB0b29TaG9ydCB8fFxuICAgICAgICAgICAgICAgIGl0ZW0ubW9udGhCZWZvcmUobWluKSB8fFxuICAgICAgICAgICAgICAgIGl0ZW0ubW9udGhBZnRlcihtYXgpIHx8XG4gICAgICAgICAgICAgICAgZGlzYWJsZWRJdGVtSGFuZGxlcihpdGVtKVxuICAgICAgICAgICAgKTtcbiAgICAgICAgfTtcbiAgICB9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YWJsZWRdPVwicHJldmlvdXNZZWFyRGlzYWJsZWRcIlxuICAgICAgICBbcmlnaHREaXNhYmxlZF09XCJuZXh0WWVhckRpc2FibGVkXCJcbiAgICAgICAgKGxlZnRDbGljayk9XCJvblByZXZpb3VzWWVhcigpXCJcbiAgICAgICAgKHJpZ2h0Q2xpY2spPVwib25OZXh0WWVhcigpXCJcbiAgICA+XG4gICAgICAgIDxidXR0b25cbiAgICAgICAgICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktY2FsZW5kYXItbW9udGhfX2FjdGl2ZS15ZWFyXCJcbiAgICAgICAgICAgIHRhYkluZGV4PVwiLTFcIlxuICAgICAgICAgICAgdHVpTGlua1xuICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICAoY2xpY2spPVwib25ZZWFyQ2xpY2soKVwiXG4gICAgICAgID5cbiAgICAgICAgICAgIHt7IHllYXIuZm9ybWF0dGVkWWVhciB9fVxuICAgICAgICA8L2J1dHRvbj5cbiAgICA8L3R1aS1zcGluLWJ1dHRvbj5cbiAgICA8ZGl2IGNsYXNzPVwidC1yb3dcIj5cbiAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdGb3I9XCJsZXQgbW9udGggb2YgbW9udGhzJCB8IGFzeW5jOyBsZXQgaW5kZXggPSBpbmRleFwiPlxuICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICp0dWlMZXQ9XCJnZXRUdWlNb250aChpbmRleCwgeWVhci55ZWFyKSBhcyBpdGVtXCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cInQtY2VsbFwiXG4gICAgICAgICAgICAgICAgW2F0dHIuZGF0YS1yYW5nZV09XCJnZXRJdGVtUmFuZ2UoaXRlbSlcIlxuICAgICAgICAgICAgICAgIFtjbGFzcy50LWNlbGxfZGlzYWJsZWRdPVwiZGlzYWJsZWRJdGVtSGFuZGxlcldpdGhNaW5NYXgoaXRlbSlcIlxuICAgICAgICAgICAgICAgIFtjbGFzcy50LWNlbGxfaW50ZXJ2YWxdPVwiaXNJdGVtSW5zaWRlUmFuZ2UoaXRlbSlcIlxuICAgICAgICAgICAgICAgIFtjbGFzcy50LWNlbGxfdG9kYXldPVwiaXNJdGVtVG9kYXkoaXRlbSlcIlxuICAgICAgICAgICAgICAgIChjbGljayk9XCJvbkl0ZW1DbGljayhpdGVtKVwiXG4gICAgICAgICAgICAgICAgKHR1aUhvdmVyZWRDaGFuZ2UpPVwib25JdGVtSG92ZXJlZCgkZXZlbnQsIGl0ZW0pXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwidC1pdGVtXCI+e3sgbW9udGggfX08L2Rpdj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICA8L2Rpdj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './calendar-month.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9jYWxlbmRhci1tb250aC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jYWxlbmRhci1tb250aC5jb21wb25lbnQnO1xuIl19
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { AsyncPipe, NgForOf, NgIf } from '@angular/common';
|
|
3
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, HostListener, inject, Input, Output, } from '@angular/core';
|
|
4
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
5
|
+
import { TUI_FALSE_HANDLER } from '@taiga-ui/cdk/constants';
|
|
6
|
+
import { TUI_FIRST_DAY, TUI_LAST_DAY, TuiDayRange, TuiMonth, } from '@taiga-ui/cdk/date-time';
|
|
7
|
+
import { tuiWatch } from '@taiga-ui/cdk/observables';
|
|
8
|
+
import { TuiMapperPipe } from '@taiga-ui/cdk/pipes/mapper';
|
|
9
|
+
import { tuiIsString, tuiNullableSame, tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
10
|
+
import { TuiCalendar } from '@taiga-ui/core/components/calendar';
|
|
11
|
+
import { TuiDataList } from '@taiga-ui/core/components/data-list';
|
|
12
|
+
import { TuiIcon } from '@taiga-ui/core/components/icon';
|
|
13
|
+
import { TUI_COMMON_ICONS } from '@taiga-ui/core/tokens';
|
|
14
|
+
import { TUI_CALENDAR_DATE_STREAM, TUI_OTHER_DATE_TEXT } from '@taiga-ui/kit/tokens';
|
|
15
|
+
import { TUI_DAY_CAPS_MAPPER } from './day-caps-mapper';
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
import * as i1 from "@taiga-ui/core/components/data-list";
|
|
18
|
+
class TuiCalendarRange {
|
|
19
|
+
constructor() {
|
|
20
|
+
this.otherDateText$ = inject(TUI_OTHER_DATE_TEXT);
|
|
21
|
+
this.icons = inject(TUI_COMMON_ICONS);
|
|
22
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
23
|
+
this.previousValue = null;
|
|
24
|
+
this.hoveredItem = null;
|
|
25
|
+
this.selectedActivePeriod = null;
|
|
26
|
+
this.capsMapper = TUI_DAY_CAPS_MAPPER;
|
|
27
|
+
this.defaultViewedMonth = TuiMonth.currentLocal();
|
|
28
|
+
this.disabledItemHandler = TUI_FALSE_HANDLER;
|
|
29
|
+
this.markerHandler = null;
|
|
30
|
+
this.items = [];
|
|
31
|
+
this.min = TUI_FIRST_DAY;
|
|
32
|
+
this.max = TUI_LAST_DAY;
|
|
33
|
+
this.minLength = null;
|
|
34
|
+
this.maxLength = null;
|
|
35
|
+
this.value = null;
|
|
36
|
+
this.valueChange = new EventEmitter();
|
|
37
|
+
this.monthOffset = (value, month) => value.append({ month });
|
|
38
|
+
this.mapper = (items, min, max, minLength, otherDateText) => [
|
|
39
|
+
...items.filter((item) => (minLength === null ||
|
|
40
|
+
item.range.from.append(minLength).daySameOrBefore(item.range.to)) &&
|
|
41
|
+
(min === null || item.range.to.daySameOrAfter(min)) &&
|
|
42
|
+
(max === null || item.range.from.daySameOrBefore(max))),
|
|
43
|
+
otherDateText || '',
|
|
44
|
+
];
|
|
45
|
+
inject(TUI_CALENDAR_DATE_STREAM, { optional: true })
|
|
46
|
+
?.pipe(tuiWatch(this.cdr), takeUntilDestroyed())
|
|
47
|
+
.subscribe((value) => {
|
|
48
|
+
this.value = value;
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
ngOnChanges() {
|
|
52
|
+
this.defaultViewedMonth = this.value?.from || this.defaultViewedMonth;
|
|
53
|
+
}
|
|
54
|
+
get calculatedDisabledItemHandler() {
|
|
55
|
+
return this.calculateDisabledItemHandler(this.disabledItemHandler, this.value, this.minLength);
|
|
56
|
+
}
|
|
57
|
+
onEsc(event) {
|
|
58
|
+
if (event.key !== 'Escape' || !this.value?.isSingleDay) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
event.stopPropagation();
|
|
62
|
+
this.value = this.previousValue;
|
|
63
|
+
}
|
|
64
|
+
isItemActive(item) {
|
|
65
|
+
const { activePeriod } = this;
|
|
66
|
+
return (tuiIsString(item) && activePeriod === null) || activePeriod === item;
|
|
67
|
+
}
|
|
68
|
+
onItemSelect(item) {
|
|
69
|
+
if (!tuiIsString(item)) {
|
|
70
|
+
this.selectedActivePeriod = item;
|
|
71
|
+
this.updateValue(item.range.dayLimit(this.min, this.max));
|
|
72
|
+
}
|
|
73
|
+
else if (this.activePeriod !== null) {
|
|
74
|
+
this.selectedActivePeriod = null;
|
|
75
|
+
this.updateValue(null);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
onMonthChange(month) {
|
|
79
|
+
this.defaultViewedMonth = month;
|
|
80
|
+
}
|
|
81
|
+
onDayClick(day) {
|
|
82
|
+
this.previousValue = this.value;
|
|
83
|
+
this.selectedActivePeriod = null;
|
|
84
|
+
if (!this.value?.isSingleDay) {
|
|
85
|
+
this.value = new TuiDayRange(day, day);
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
this.updateValue(TuiDayRange.sort(this.value.from, day));
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
updateValue(value) {
|
|
92
|
+
this.value = value;
|
|
93
|
+
this.valueChange.emit(value);
|
|
94
|
+
}
|
|
95
|
+
get activePeriod() {
|
|
96
|
+
return (this.selectedActivePeriod ??
|
|
97
|
+
(this.items.find((item) => tuiNullableSame(this.value, item.range, (a, b) => a.from.daySame(b.from.dayLimit(this.min, this.max)) &&
|
|
98
|
+
a.to.daySame(b.to.dayLimit(this.min, this.max)))) ||
|
|
99
|
+
null));
|
|
100
|
+
}
|
|
101
|
+
calculateDisabledItemHandler(disabledItemHandler, value, minLength) {
|
|
102
|
+
return (item) => {
|
|
103
|
+
if (!value?.isSingleDay || !minLength) {
|
|
104
|
+
return disabledItemHandler(item);
|
|
105
|
+
}
|
|
106
|
+
const negativeMinLength = Object.fromEntries(Object.entries(minLength).map(([key, value]) => [key, -value]));
|
|
107
|
+
const disabledBefore = value.from.append(negativeMinLength).append({ day: 1 });
|
|
108
|
+
const disabledAfter = value.from.append(minLength).append({ day: -1 });
|
|
109
|
+
const inDisabledRange = disabledBefore.dayBefore(item) && disabledAfter.dayAfter(item);
|
|
110
|
+
return inDisabledRange || disabledItemHandler(item);
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCalendarRange, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
114
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiCalendarRange, isStandalone: true, selector: "tui-calendar-range", inputs: { defaultViewedMonth: "defaultViewedMonth", disabledItemHandler: "disabledItemHandler", markerHandler: "markerHandler", items: "items", min: "min", max: "max", minLength: "minLength", maxLength: "maxLength", value: "value" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "document:keydown.capture": "onEsc($event)" } }, usesOnChanges: true, ngImport: i0, template: "<tui-calendar\n automation-id=\"tui-calendar-range__calendar\"\n class=\"t-calendar\"\n [disabledItemHandler]=\"calculatedDisabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"max | tuiMapper: capsMapper : value : maxLength : false\"\n [maxViewedMonth]=\"items.length ? null : (defaultViewedMonth | tuiMapper: monthOffset : -1)\"\n [min]=\"min | tuiMapper: capsMapper : value : maxLength : true\"\n [month]=\"defaultViewedMonth\"\n [showAdjacent]=\"!!items.length\"\n [value]=\"value\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.prevent.silent)=\"(0)\"\n/>\n<tui-calendar\n *ngIf=\"!items.length; else presets\"\n [disabledItemHandler]=\"calculatedDisabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"max | tuiMapper: capsMapper : value : maxLength : false\"\n [min]=\"min | tuiMapper: capsMapper : value : maxLength : true\"\n [minViewedMonth]=\"defaultViewedMonth | tuiMapper: monthOffset : 1\"\n [month]=\"defaultViewedMonth | tuiMapper: monthOffset : 1\"\n [showAdjacent]=\"false\"\n [value]=\"value\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event.append({month: -1}))\"\n (mousedown.prevent.silent)=\"(0)\"\n/>\n<ng-template #presets>\n <tui-data-list\n automation-id=\"tui-calendar-range__menu\"\n role=\"menu\"\n [style.flex]=\"1\"\n >\n <button\n *ngFor=\"let item of items | tuiMapper: mapper : min : max : minLength : (otherDateText$ | async)\"\n automation-id=\"tui-calendar-range__menu__item\"\n role=\"menuitemradio\"\n tuiOption\n [attr.aria-checked]=\"isItemActive(item)\"\n (click)=\"onItemSelect(item)\"\n (mousedown.prevent.silent)=\"(0)\"\n >\n {{ item }}\n <tui-icon\n *ngIf=\"isItemActive(item)\"\n automation-id=\"tui-calendar-range__checkmark\"\n [icon]=\"icons.check\"\n [style.font-size.rem]=\"1\"\n />\n </button>\n </tui-data-list>\n</ng-template>\n", styles: [":host{display:flex;min-width:30rem}.t-calendar{border-right:1px solid var(--tui-border-normal)}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: TuiMapperPipe, name: "tuiMapper" }, { kind: "component", type: TuiCalendar, selector: "tui-calendar", inputs: ["month", "disabledItemHandler", "min", "max", "minViewedMonth", "maxViewedMonth", "hoveredItem", "showAdjacent", "markerHandler", "value", "initialView"], outputs: ["dayClick", "monthChange", "hoveredItemChange"] }, { kind: "component", type: i1.TuiDataListComponent, selector: "tui-data-list", inputs: ["emptyContent", "size"] }, { kind: "component", type: i1.TuiOption, selector: "button[tuiOption], a[tuiOption], label[tuiOption]", inputs: ["disabled", "value"] }, { kind: "component", type: TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
115
|
+
}
|
|
116
|
+
__decorate([
|
|
117
|
+
tuiPure
|
|
118
|
+
], TuiCalendarRange.prototype, "calculateDisabledItemHandler", null);
|
|
119
|
+
export { TuiCalendarRange };
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCalendarRange, decorators: [{
|
|
121
|
+
type: Component,
|
|
122
|
+
args: [{ standalone: true, selector: 'tui-calendar-range', imports: [AsyncPipe, NgIf, NgForOf, TuiMapperPipe, TuiCalendar, TuiDataList, TuiIcon], changeDetection: ChangeDetectionStrategy.OnPush, template: "<tui-calendar\n automation-id=\"tui-calendar-range__calendar\"\n class=\"t-calendar\"\n [disabledItemHandler]=\"calculatedDisabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"max | tuiMapper: capsMapper : value : maxLength : false\"\n [maxViewedMonth]=\"items.length ? null : (defaultViewedMonth | tuiMapper: monthOffset : -1)\"\n [min]=\"min | tuiMapper: capsMapper : value : maxLength : true\"\n [month]=\"defaultViewedMonth\"\n [showAdjacent]=\"!!items.length\"\n [value]=\"value\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.prevent.silent)=\"(0)\"\n/>\n<tui-calendar\n *ngIf=\"!items.length; else presets\"\n [disabledItemHandler]=\"calculatedDisabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"max | tuiMapper: capsMapper : value : maxLength : false\"\n [min]=\"min | tuiMapper: capsMapper : value : maxLength : true\"\n [minViewedMonth]=\"defaultViewedMonth | tuiMapper: monthOffset : 1\"\n [month]=\"defaultViewedMonth | tuiMapper: monthOffset : 1\"\n [showAdjacent]=\"false\"\n [value]=\"value\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event.append({month: -1}))\"\n (mousedown.prevent.silent)=\"(0)\"\n/>\n<ng-template #presets>\n <tui-data-list\n automation-id=\"tui-calendar-range__menu\"\n role=\"menu\"\n [style.flex]=\"1\"\n >\n <button\n *ngFor=\"let item of items | tuiMapper: mapper : min : max : minLength : (otherDateText$ | async)\"\n automation-id=\"tui-calendar-range__menu__item\"\n role=\"menuitemradio\"\n tuiOption\n [attr.aria-checked]=\"isItemActive(item)\"\n (click)=\"onItemSelect(item)\"\n (mousedown.prevent.silent)=\"(0)\"\n >\n {{ item }}\n <tui-icon\n *ngIf=\"isItemActive(item)\"\n automation-id=\"tui-calendar-range__checkmark\"\n [icon]=\"icons.check\"\n [style.font-size.rem]=\"1\"\n />\n </button>\n </tui-data-list>\n</ng-template>\n", styles: [":host{display:flex;min-width:30rem}.t-calendar{border-right:1px solid var(--tui-border-normal)}\n"] }]
|
|
123
|
+
}], ctorParameters: function () { return []; }, propDecorators: { defaultViewedMonth: [{
|
|
124
|
+
type: Input
|
|
125
|
+
}], disabledItemHandler: [{
|
|
126
|
+
type: Input
|
|
127
|
+
}], markerHandler: [{
|
|
128
|
+
type: Input
|
|
129
|
+
}], items: [{
|
|
130
|
+
type: Input
|
|
131
|
+
}], min: [{
|
|
132
|
+
type: Input
|
|
133
|
+
}], max: [{
|
|
134
|
+
type: Input
|
|
135
|
+
}], minLength: [{
|
|
136
|
+
type: Input
|
|
137
|
+
}], maxLength: [{
|
|
138
|
+
type: Input
|
|
139
|
+
}], value: [{
|
|
140
|
+
type: Input
|
|
141
|
+
}], valueChange: [{
|
|
142
|
+
type: Output
|
|
143
|
+
}], onEsc: [{
|
|
144
|
+
type: HostListener,
|
|
145
|
+
args: ['document:keydown.capture', ['$event']]
|
|
146
|
+
}], calculateDisabledItemHandler: [] } });
|
|
147
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXItcmFuZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvY2FsZW5kYXItcmFuZ2UvY2FsZW5kYXItcmFuZ2UuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvY2FsZW5kYXItcmFuZ2UvY2FsZW5kYXItcmFuZ2UudGVtcGxhdGUuaH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pcy52YWx1ZS5mcm9tLCBkYXkpKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHByb3RlY3RlZCB1cGRhdGVWYWx1ZSh2YWx1ZTogVHVpRGF5UmFuZ2UgfCBudWxsKTogdm9pZCB7XG4gICAgICAgIHRoaXMudmFsdWUgPSB2YWx1ZTtcbiAgICAgICAgdGhpcy52YWx1ZUNoYW5nZS5lbWl0KHZhbHVlKTtcbiAgICB9XG5cbiAgICBwcml2YXRlIGdldCBhY3RpdmVQZXJpb2QoKTogVHVpRGF5UmFuZ2VQZXJpb2QgfCBudWxsIHtcbiAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgIHRoaXMuc2VsZWN0ZWRBY3RpdmVQZXJpb2QgPz9cbiAgICAgICAgICAgICh0aGlzLml0ZW1zLmZpbmQoKGl0ZW0pID0+XG4gICAgICAgICAgICAgICAgdHVpTnVsbGFibGVTYW1lPFR1aURheVJhbmdlPihcbiAgICAgICAgICAgICAgICAgICAgdGhpcy52YWx1ZSxcbiAgICAgICAgICAgICAgICAgICAgaXRlbS5yYW5nZSxcbiAgICAgICAgICAgICAgICAgICAgKGEsIGIpID0+XG4gICAgICAgICAgICAgICAgICAgICAgICBhLmZyb20uZGF5U2FtZShiLmZyb20uZGF5TGltaXQodGhpcy5taW4sIHRoaXMubWF4KSkgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgIGEudG8uZGF5U2FtZShiLnRvLmRheUxpbWl0KHRoaXMubWluLCB0aGlzLm1heCkpLFxuICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICApIHx8XG4gICAgICAgICAgICAgICAgbnVsbClcbiAgICAgICAgKTtcbiAgICB9XG5cbiAgICBAdHVpUHVyZVxuICAgIHByaXZhdGUgY2FsY3VsYXRlRGlzYWJsZWRJdGVtSGFuZGxlcihcbiAgICAgICAgZGlzYWJsZWRJdGVtSGFuZGxlcjogVHVpQm9vbGVhbkhhbmRsZXI8VHVpRGF5PixcbiAgICAgICAgdmFsdWU6IF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WlkPVwidHVpLWNhbGVuZGFyLXJhbmdlX19tZW51X19pdGVtXCJcbiAgICAgICAgICAgIHJvbGU9XCJtZW51aXRlbXJhZGlvXCJcbiAgICAgICAgICAgIHR1aU9wdGlvblxuICAgICAgICAgICAgW2F0dHIuYXJpYS1jaGVja2VkXT1cImlzSXRlbUFjdGl2ZShpdGVtKVwiXG4gICAgICAgICAgICAoY2xpY2spPVwib25JdGVtU2VsZWN0KGl0ZW0pXCJcbiAgICAgICAgICAgIChtb3VzZWRvd24ucHJldmVudC5zaWxlbnQpPVwiKDApXCJcbiAgICAgICAgPlxuICAgICAgICAgICAge3sgaXRlbSB9fVxuICAgICAgICAgICAgPHR1aS1pY29uXG4gICAgICAgICAgICAgICAgKm5nSWY9XCJpc0l0ZW1BY3RpdmUoaXRlbSlcIlxuICAgICAgICAgICAgICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktY2FsZW5kYXItcmFuZ2VfX2NoZWNrbWFya1wiXG4gICAgICAgICAgICAgICAgW2ljb25dPVwiaWNvbnMuY2hlY2tcIlxuICAgICAgICAgICAgICAgIFtzdHlsZS5mb250LXNpemUucmVtXT1cIjFcIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgPC9idXR0b24+XG4gICAgPC90dWktZGF0YS1saXN0PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TUI_FIRST_DAY, TUI_LAST_DAY } from '@taiga-ui/cdk/date-time';
|
|
2
|
+
export const TUI_DAY_CAPS_MAPPER = (current, value, maxLength, backwards) => {
|
|
3
|
+
if (!value?.isSingleDay || !maxLength) {
|
|
4
|
+
return backwards ? current || TUI_FIRST_DAY : current || TUI_LAST_DAY;
|
|
5
|
+
}
|
|
6
|
+
const negativeMaxLength = Object.fromEntries(Object.entries(maxLength).map(([key, value]) => [key, -value]));
|
|
7
|
+
const dateShift = value.from
|
|
8
|
+
.append(backwards ? negativeMaxLength : maxLength)
|
|
9
|
+
.append({ day: !backwards ? -1 : 1 });
|
|
10
|
+
if (backwards) {
|
|
11
|
+
return dateShift.dayBefore(current || TUI_FIRST_DAY)
|
|
12
|
+
? current || TUI_FIRST_DAY
|
|
13
|
+
: dateShift;
|
|
14
|
+
}
|
|
15
|
+
if (!current) {
|
|
16
|
+
return dateShift;
|
|
17
|
+
}
|
|
18
|
+
return dateShift.dayAfter(current) ? current : dateShift;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF5LWNhcHMtbWFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvY2FsZW5kYXItcmFuZ2UvZGF5LWNhcHMtbWFwcGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBQyxhQUFhLEVBQUUsWUFBWSxFQUFDLE1BQU0seUJBQXlCLENBQUM7QUFHcEUsTUFBTSxDQUFDLE1BQU0sbUJBQW1CLEdBRzVCLENBQUMsT0FBTyxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLEVBQUU7SUFDekMsSUFBSSxDQUFDLEtBQUssRUFBRSxXQUFXLElBQUksQ0FBQyxTQUFTLEVBQUU7UUFDbkMsT0FBTyxTQUFTLENBQUMsQ0FBQyxDQUFDLE9BQU8sSUFBSSxhQUFhLENBQUMsQ0FBQyxDQUFDLE9BQU8sSUFBSSxZQUFZLENBQUM7S0FDekU7SUFFRCxNQUFNLGlCQUFpQixHQUFHLE1BQU0sQ0FBQyxXQUFXLENBQ3hDLE1BQU0sQ0FBQyxPQUFPLENBQUMsU0FBUyxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxHQUFHLEVBQUUsS0FBSyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsR0FBRyxFQUFFLEN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O1xuIl19
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { TUI_FIRST_DAY, TuiDay, TuiDayRange } from '@taiga-ui/cdk/date-time';
|
|
2
|
+
export class TuiDayRangePeriod {
|
|
3
|
+
constructor(range, name, content) {
|
|
4
|
+
this.range = range;
|
|
5
|
+
this.name = name;
|
|
6
|
+
this.content = content;
|
|
7
|
+
}
|
|
8
|
+
toString() {
|
|
9
|
+
return this.name;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export function tuiCreateDefaultDayRangePeriods(periodTitles = [
|
|
13
|
+
'For all the time',
|
|
14
|
+
'Today',
|
|
15
|
+
'Yesterday',
|
|
16
|
+
'Current week',
|
|
17
|
+
'Current month',
|
|
18
|
+
'Previous month',
|
|
19
|
+
]) {
|
|
20
|
+
const today = TuiDay.currentLocal();
|
|
21
|
+
const yesterday = today.append({ day: -1 });
|
|
22
|
+
const startOfWeek = today.append({ day: -today.dayOfWeek() });
|
|
23
|
+
const endOfWeek = startOfWeek.append({ day: 6 });
|
|
24
|
+
const startOfMonth = today.append({ day: 1 - today.day });
|
|
25
|
+
const endOfMonth = startOfMonth.append({ month: 1, day: -1 });
|
|
26
|
+
const startOfLastMonth = startOfMonth.append({ month: -1 });
|
|
27
|
+
return [
|
|
28
|
+
new TuiDayRangePeriod(new TuiDayRange(TUI_FIRST_DAY, today), periodTitles[0]),
|
|
29
|
+
new TuiDayRangePeriod(new TuiDayRange(today, today), periodTitles[1]),
|
|
30
|
+
new TuiDayRangePeriod(new TuiDayRange(yesterday, yesterday), periodTitles[2]),
|
|
31
|
+
new TuiDayRangePeriod(new TuiDayRange(startOfWeek, endOfWeek), periodTitles[3]),
|
|
32
|
+
new TuiDayRangePeriod(new TuiDayRange(startOfMonth, endOfMonth), periodTitles[4]),
|
|
33
|
+
new TuiDayRangePeriod(new TuiDayRange(startOfLastMonth, startOfMonth.append({ day: -1 })), periodTitles[5]),
|
|
34
|
+
];
|
|
35
|
+
}
|
|
36
|
+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VJhbmdlUGVyaW9kKG5ldyBUdWlEYXlSYW5nZSh5ZXN0ZXJkYXksIHllc3RlcmRheSksIHBlcmlvZFRpdGxlc1syXSksXG4gICAgICAgIG5ldyBUdWlEYXlSYW5nZVBlcmlvZChuZXcgVHVpRGF5UmFuZ2Uoc3RhcnRPZldlZWssIGVuZE9mV2VlayksIHBlcmlvZFRpdGxlc1szXSksXG4gICAgICAgIG5ldyBUdWlEYXlSYW5nZVBlcmlvZChuZXcgVHVpRGF5UmFuZ2Uoc3RhcnRPZk1vbnRoLCBlbmRPZk1vbnRoKSwgcGVyaW9kVGl0bGVzWzRdKSxcbiAgICAgICAgbmV3IFR1aURheVJhbmdlUGVyaW9kKFxuICAgICAgICAgICAgbmV3IFR1aURheVJhbmdlKHN0YXJ0T2ZMYXN0TW9udGgsIHN0YXJ0T2ZNb250aC5hcHBlbmQoe2RheTogLTF9KSksXG4gICAgICAgICAgICBwZXJpb2RUaXRsZXNbNV0sXG4gICAgICAgICksXG4gICAgXTtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './calendar-range.component';
|
|
2
|
+
export * from './day-caps-mapper';
|
|
3
|
+
export * from './day-range-period';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9jYWxlbmRhci1yYW5nZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxvQkFBb0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2FsZW5kYXItcmFuZ2UuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vZGF5LWNhcHMtbWFwcGVyJztcbmV4cG9ydCAqIGZyb20gJy4vZGF5LXJhbmdlLXBlcmlvZCc7XG4iXX0=
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Directive, inject, Output } from '@angular/core';
|
|
2
|
+
import { TuiCarouselDirective } from './carousel.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
class TuiCarouselAutoscroll {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.tuiCarouselAutoscroll = inject(TuiCarouselDirective);
|
|
7
|
+
}
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCarouselAutoscroll, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiCarouselAutoscroll, isStandalone: true, selector: "[tuiCarouselAutoscroll]", outputs: { tuiCarouselAutoscroll: "tuiCarouselAutoscroll" }, ngImport: i0 }); }
|
|
10
|
+
}
|
|
11
|
+
export { TuiCarouselAutoscroll };
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCarouselAutoscroll, decorators: [{
|
|
13
|
+
type: Directive,
|
|
14
|
+
args: [{
|
|
15
|
+
standalone: true,
|
|
16
|
+
selector: '[tuiCarouselAutoscroll]',
|
|
17
|
+
}]
|
|
18
|
+
}], propDecorators: { tuiCarouselAutoscroll: [{
|
|
19
|
+
type: Output
|
|
20
|
+
}] } });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2Fyb3VzZWwtYXV0b3Njcm9sbC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9jYXJvdXN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@angular/core';
|
|
2
|
+
import { tuiButtonOptionsProvider } from '@taiga-ui/core/components/button';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
class TuiCarouselButtons {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCarouselButtons, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiCarouselButtons, isStandalone: true, selector: "[tuiCarouselButtons]", providers: [
|
|
7
|
+
tuiButtonOptionsProvider({
|
|
8
|
+
appearance: 'secondary',
|
|
9
|
+
size: 'm',
|
|
10
|
+
}),
|
|
11
|
+
], ngImport: i0 }); }
|
|
12
|
+
}
|
|
13
|
+
export { TuiCarouselButtons };
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCarouselButtons, decorators: [{
|
|
15
|
+
type: Directive,
|
|
16
|
+
args: [{
|
|
17
|
+
standalone: true,
|
|
18
|
+
selector: '[tuiCarouselButtons]',
|
|
19
|
+
providers: [
|
|
20
|
+
tuiButtonOptionsProvider({
|
|
21
|
+
appearance: 'secondary',
|
|
22
|
+
size: 'm',
|
|
23
|
+
}),
|
|
24
|
+
],
|
|
25
|
+
}]
|
|
26
|
+
}] });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2Fyb3VzZWwtYnV0dG9ucy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9jYXJvdXNlbC9jYXJvdXNlbC1idXR0b25zLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxF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