@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,13 @@
|
|
|
1
|
+
import { TuiProgressBar } from './progress-bar/progress-bar.component';
|
|
2
|
+
import { TuiProgressColorSegments } from './progress-bar/progress-color-segments.directive';
|
|
3
|
+
import { TuiProgressCircle } from './progress-circle/progress-circle.component';
|
|
4
|
+
import { TuiProgressLabel } from './progress-label/progress-label.component';
|
|
5
|
+
import { TuiProgressSegmented } from './progress-segmented/progress-segmented.directive';
|
|
6
|
+
export const TuiProgress = [
|
|
7
|
+
TuiProgressBar,
|
|
8
|
+
TuiProgressCircle,
|
|
9
|
+
TuiProgressColorSegments,
|
|
10
|
+
TuiProgressLabel,
|
|
11
|
+
TuiProgressSegmented,
|
|
12
|
+
];
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9wcm9ncmVzcy9wcm9ncmVzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0sdUNBQXVDLENBQUM7QUFDckUsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sa0RBQWtELENBQUM7QUFDMUYsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sNkNBQTZD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Bjb25zdDtcbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './pulse.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9wdWxzZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWxzZS5jb21wb25lbnQnO1xuIl19
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, inject, Input } from '@angular/core';
|
|
2
|
+
import { tuiFadeIn, tuiScaleIn } from '@taiga-ui/core/animations';
|
|
3
|
+
import { TUI_ANIMATIONS_SPEED } from '@taiga-ui/core/tokens';
|
|
4
|
+
import { tuiToAnimationOptions } from '@taiga-ui/core/utils/miscellaneous';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
class TuiPulse {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.animation = tuiToAnimationOptions(inject(TUI_ANIMATIONS_SPEED));
|
|
9
|
+
this.playing = true;
|
|
10
|
+
}
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPulse, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiPulse, isStandalone: true, selector: "tui-pulse", inputs: { playing: "playing" }, host: { properties: { "@tuiFadeIn": "animation", "@tuiScaleIn": "animation", "style.--t-animation-state": "playing ? 'running' : 'paused'" } }, ngImport: i0, template: '', isInline: true, styles: ["@keyframes tuiPulse{0%{opacity:.3;transform:scale(1)}20%{opacity:0;transform:scale(.5)}25%{opacity:.3;transform:scale(1)}45%{opacity:0;transform:scale(.5)}50%{opacity:.3;transform:scale(1)}70%{opacity:0;transform:scale(.5)}75%{opacity:.3;transform:scale(1)}95%{opacity:0;transform:scale(.5)}to{opacity:.3;transform:scale(1)}}:host{position:relative;color:var(--tui-background-accent-1)}:host:before{content:\"\";position:absolute;top:-.5rem;left:-.5rem;width:1rem;height:1rem;border-radius:100%;background:currentColor;opacity:.3;animation:tuiPulse 3s ease-in-out infinite;animation-play-state:var(--t-animation-state)}:host:after{content:\"\";position:absolute;width:.5rem;height:.5rem;border-radius:100%;transform:translate(-50%,-50%);background:currentColor}\n"], animations: [tuiFadeIn, tuiScaleIn], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13
|
+
}
|
|
14
|
+
export { TuiPulse };
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPulse, decorators: [{
|
|
16
|
+
type: Component,
|
|
17
|
+
args: [{ standalone: true, selector: 'tui-pulse', template: '', changeDetection: ChangeDetectionStrategy.OnPush, animations: [tuiFadeIn, tuiScaleIn], host: {
|
|
18
|
+
'[@tuiFadeIn]': 'animation',
|
|
19
|
+
'[@tuiScaleIn]': 'animation',
|
|
20
|
+
'[style.--t-animation-state]': "playing ? 'running' : 'paused'",
|
|
21
|
+
}, styles: ["@keyframes tuiPulse{0%{opacity:.3;transform:scale(1)}20%{opacity:0;transform:scale(.5)}25%{opacity:.3;transform:scale(1)}45%{opacity:0;transform:scale(.5)}50%{opacity:.3;transform:scale(1)}70%{opacity:0;transform:scale(.5)}75%{opacity:.3;transform:scale(1)}95%{opacity:0;transform:scale(.5)}to{opacity:.3;transform:scale(1)}}:host{position:relative;color:var(--tui-background-accent-1)}:host:before{content:\"\";position:absolute;top:-.5rem;left:-.5rem;width:1rem;height:1rem;border-radius:100%;background:currentColor;opacity:.3;animation:tuiPulse 3s ease-in-out infinite;animation-play-state:var(--t-animation-state)}:host:after{content:\"\";position:absolute;width:.5rem;height:.5rem;border-radius:100%;transform:translate(-50%,-50%);background:currentColor}\n"] }]
|
|
22
|
+
}], propDecorators: { playing: [{
|
|
23
|
+
type: Input
|
|
24
|
+
}] } });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVsc2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvcHVsc2UvcHVsc2UuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNoRixPQUFPLEVBQUMsU0FBUyxFQUFFLFVBQVUsRUFBQyxNQUFNLDJCQUEyQixDQUFDO0FBQ2hFLE9BQU8sRUFBQyxvQkFBb0IsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBQzNELE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLG9DQUFvQyxDQUFDOztBQUV6RSxNQWFhLFFBQVE7SUFickI7UUFjdUIsY0FBUyxHQUFHLHFCQUFxQixDQUFDLE1BQU0sQ0FBQyxvQkFBb0IsQ0FBQyxDQUFDLENBQUM7UUFHNUUsWUFBTyxHQUFHLElBQUksQ0FBQztLQUN6QjsrR0FMWSxRQUFRO21HQUFSLFFBQVEscVBBVlAsRUFBRSx1eUJBR0EsQ0FBQyxTQUFTLEVBQUUsVUFBVSxDQUFDOztTQU8xQixRQUFROzRGQUFSLFFBQVE7a0JBYnBCLFNBQVM7aUNBQ00sSUFBSSxZQUNOLFdBQVcsWUFDWCxFQUFFLG1CQUVLLHVCQUF1QixDQUFDLE1BQU0sY0FDbkMsQ0FBQy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XVzZWQnXCIsXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpUHVsc2Uge1xuICAgIHByb3RlY3RlZCByZWFkb25seSBhbmltYXRpb24gPSB0dWlUb0FuaW1hdGlvbk9wdGlvbnMoaW5qZWN0KFRVSV9BTklNQVRJT05TX1NQRUVEKSk7XG5cbiAgICBASW5wdXQoKVxuICAgIHB1YmxpYyBwbGF5aW5nID0gdHJ1ZTtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtcHVsc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9wdWxzZS90YWlnYS11aS1raXQtY29tcG9uZW50cy1wdWxzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './push.component';
|
|
2
|
+
export * from './push.directive';
|
|
3
|
+
export * from './push.options';
|
|
4
|
+
export * from './push.service';
|
|
5
|
+
export * from './push-alert.component';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9wdXNoL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcHVzaC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9wdXNoLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL3B1c2gub3B0aW9ucyc7XG5leHBvcnQgKiBmcm9tICcuL3B1c2guc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL3B1c2gtYWxlcnQuY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { NgIf } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
|
|
3
|
+
import { tuiFadeIn, tuiHeightCollapse, tuiSlideInRight } from '@taiga-ui/core/animations';
|
|
4
|
+
import { TuiButton } from '@taiga-ui/core/components/button';
|
|
5
|
+
import { TuiIcon } from '@taiga-ui/core/components/icon';
|
|
6
|
+
import { TuiLink } from '@taiga-ui/core/components/link';
|
|
7
|
+
import { TUI_ANIMATIONS_SPEED } from '@taiga-ui/core/tokens';
|
|
8
|
+
import { tuiToAnimationOptions } from '@taiga-ui/core/utils/miscellaneous';
|
|
9
|
+
import { POLYMORPHEUS_CONTEXT, PolymorpheusOutlet, PolymorpheusTemplate, } from '@taiga-ui/polymorpheus';
|
|
10
|
+
import { TuiPush } from './push.component';
|
|
11
|
+
import { TuiPushDirective } from './push.directive';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
class TuiPushAlert {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.options = tuiToAnimationOptions(inject(TUI_ANIMATIONS_SPEED));
|
|
16
|
+
this.context = inject(POLYMORPHEUS_CONTEXT);
|
|
17
|
+
}
|
|
18
|
+
get isDirective() {
|
|
19
|
+
return this.context.content instanceof TuiPushDirective;
|
|
20
|
+
}
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushAlert, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiPushAlert, isStandalone: true, selector: "ng-component", host: { attributes: { "role": "alert" }, properties: { "@tuiFadeIn": "options", "@tuiSlideInRight": "options", "@tuiHeightCollapse": "options" } }, ngImport: i0, template: "<tui-push\n *ngIf=\"!isDirective; else directive\"\n [heading]=\"context.heading\"\n [timestamp]=\"context.timestamp\"\n [type]=\"context.type\"\n (close)=\"context.$implicit.complete()\"\n>\n <img\n *ngIf=\"context.image\"\n alt=\"\"\n [src]=\"context.image\"\n />\n <tui-icon\n *ngIf=\"context.icon\"\n [icon]=\"context.icon\"\n [style.color]=\"context.iconColor\"\n />\n <div\n *polymorpheusOutlet=\"context.content as text; context: context\"\n [innerHTML]=\"text\"\n ></div>\n <button\n *ngIf=\"context.buttons.length > 1\"\n tuiButton\n type=\"button\"\n (click)=\"context.$implicit.next(context.buttons[0])\"\n >\n {{ context.buttons[0] }}\n </button>\n <button\n *ngIf=\"context.buttons.length\"\n tuiLink\n type=\"button\"\n (click)=\"context.$implicit.next(context.buttons[context.buttons.length - 1])\"\n >\n {{ context.buttons[context.buttons.length - 1] }}\n </button>\n</tui-push>\n<ng-template #directive>\n <ng-container *polymorpheusOutlet=\"context.content\" />\n</ng-template>\n", styles: [":host{max-width:calc(100% - 2rem);margin:0 1rem 1rem auto}:host:first-child{margin-top:auto}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: TuiPush, selector: "tui-push", inputs: ["heading", "type", "timestamp"], outputs: ["close"] }, { kind: "component", type: TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "directive", type: TuiLink, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo"] }], animations: [tuiFadeIn, tuiSlideInRight, tuiHeightCollapse], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
23
|
+
}
|
|
24
|
+
export { TuiPushAlert };
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushAlert, decorators: [{
|
|
26
|
+
type: Component,
|
|
27
|
+
args: [{ standalone: true, imports: [
|
|
28
|
+
NgIf,
|
|
29
|
+
PolymorpheusOutlet,
|
|
30
|
+
PolymorpheusTemplate,
|
|
31
|
+
TuiPush,
|
|
32
|
+
TuiIcon,
|
|
33
|
+
TuiButton,
|
|
34
|
+
TuiLink,
|
|
35
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, animations: [tuiFadeIn, tuiSlideInRight, tuiHeightCollapse], host: {
|
|
36
|
+
role: 'alert',
|
|
37
|
+
'[@tuiFadeIn]': 'options',
|
|
38
|
+
'[@tuiSlideInRight]': 'options',
|
|
39
|
+
'[@tuiHeightCollapse]': 'options',
|
|
40
|
+
}, template: "<tui-push\n *ngIf=\"!isDirective; else directive\"\n [heading]=\"context.heading\"\n [timestamp]=\"context.timestamp\"\n [type]=\"context.type\"\n (close)=\"context.$implicit.complete()\"\n>\n <img\n *ngIf=\"context.image\"\n alt=\"\"\n [src]=\"context.image\"\n />\n <tui-icon\n *ngIf=\"context.icon\"\n [icon]=\"context.icon\"\n [style.color]=\"context.iconColor\"\n />\n <div\n *polymorpheusOutlet=\"context.content as text; context: context\"\n [innerHTML]=\"text\"\n ></div>\n <button\n *ngIf=\"context.buttons.length > 1\"\n tuiButton\n type=\"button\"\n (click)=\"context.$implicit.next(context.buttons[0])\"\n >\n {{ context.buttons[0] }}\n </button>\n <button\n *ngIf=\"context.buttons.length\"\n tuiLink\n type=\"button\"\n (click)=\"context.$implicit.next(context.buttons[context.buttons.length - 1])\"\n >\n {{ context.buttons[context.buttons.length - 1] }}\n </button>\n</tui-push>\n<ng-template #directive>\n <ng-container *polymorpheusOutlet=\"context.content\" />\n</ng-template>\n", styles: [":host{max-width:calc(100% - 2rem);margin:0 1rem 1rem auto}:host:first-child{margin-top:auto}\n"] }]
|
|
41
|
+
}] });
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVzaC1hbGVydC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9wdXNoL3B1c2gtYWxlcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvcHVzaC9wdXNoLWFsZXJ0LnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLElBQUksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQ3JDLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXpFLE9BQU8sRUFBQyxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsZUFBZSxFQUFDLE1BQU0sMkJBQTJCLENBQUM7QUFDeEYsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGtDQUFrQyxDQUFDO0FBQzNELE9BQU8sRUFBQyxP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lxuICAgICAgICBbc3R5bGUuY29sb3JdPVwiY29udGV4dC5pY29uQ29sb3JcIlxuICAgIC8+XG4gICAgPGRpdlxuICAgICAgICAqcG9seW1vcnBoZXVzT3V0bGV0PVwiY29udGV4dC5jb250ZW50IGFzIHRleHQ7IGNvbnRleHQ6IGNvbnRleHRcIlxuICAgICAgICBbaW5uZXJIVE1MXT1cInRleHRcIlxuICAgID48L2Rpdj5cbiAgICA8YnV0dG9uXG4gICAgICAgICpuZ0lmPVwiY29udGV4dC5idXR0b25zLmxlbmd0aCA+IDFcIlxuICAgICAgICB0dWlCdXR0b25cbiAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgIChjbGljayk9XCJjb250ZXh0LiRpbXBsaWNpdC5uZXh0KGNvbnRleHQuYnV0dG9uc1swXSlcIlxuICAgID5cbiAgICAgICAge3sgY29udGV4dC5idXR0b25zWzBdIH19XG4gICAgPC9idXR0b24+XG4gICAgPGJ1dHRvblxuICAgICAgICAqbmdJZj1cImNvbnRleHQuYnV0dG9ucy5sZW5ndGhcIlxuICAgICAgICB0dWlMaW5rXG4gICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICAoY2xpY2spPVwiY29udGV4dC4kaW1wbGljaXQubmV4dChjb250ZXh0LmJ1dHRvbnNbY29udGV4dC5idXR0b25zLmxlbmd0aCAtIDFdKVwiXG4gICAgPlxuICAgICAgICB7eyBjb250ZXh0LmJ1dHRvbnNbY29udGV4dC5idXR0b25zLmxlbmd0aCAtIDFdIH19XG4gICAgPC9idXR0b24+XG48L3R1aS1wdXNoPlxuPG5nLXRlbXBsYXRlICNkaXJlY3RpdmU+XG4gICAgPG5nLWNvbnRhaW5lciAqcG9seW1vcnBoZXVzT3V0bGV0PVwiY29udGV4dC5jb250ZW50XCIgLz5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AsyncPipe, NgIf } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, inject, Input, Output, } from '@angular/core';
|
|
3
|
+
import { tuiIsString } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
4
|
+
import { TuiButton, tuiButtonOptionsProvider } from '@taiga-ui/core/components/button';
|
|
5
|
+
import { TuiFormatDatePipe } from '@taiga-ui/core/pipes/format-date';
|
|
6
|
+
import { TUI_CLOSE_WORD, TUI_COMMON_ICONS } from '@taiga-ui/core/tokens';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
class TuiPush {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.isString = tuiIsString;
|
|
11
|
+
this.closeWord$ = inject(TUI_CLOSE_WORD);
|
|
12
|
+
this.icons = inject(TUI_COMMON_ICONS);
|
|
13
|
+
this.heading = '';
|
|
14
|
+
this.type = '';
|
|
15
|
+
this.timestamp = '';
|
|
16
|
+
this.close = new EventEmitter();
|
|
17
|
+
}
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPush, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiPush, isStandalone: true, selector: "tui-push", inputs: { heading: "heading", type: "type", timestamp: "timestamp" }, outputs: { close: "close" }, providers: [tuiButtonOptionsProvider({ size: 's', appearance: 'secondary' })], ngImport: i0, template: "<div class=\"t-image\">\n <ng-content select=\"img\" />\n</div>\n<button\n *ngIf=\"close.observed\"\n appearance=\"\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"close.emit()\"\n>\n {{ closeWord$ | async }}\n</button>\n<div class=\"t-top\">\n <span class=\"t-icon\">\n <ng-content select=\"tui-svg,tui-icon\" />\n </span>\n {{ type }}\n <span\n *ngIf=\"timestamp\"\n class=\"t-time\"\n [textContent]=\"isString(timestamp) ? timestamp : (timestamp | tuiFormatDate | async)\"\n ></span>\n</div>\n<h3\n automation-id=\"tui-push__heading\"\n class=\"t-heading\"\n>\n {{ heading }}\n</h3>\n<div class=\"t-content\">\n <ng-content />\n</div>\n<div class=\"t-actions\">\n <span class=\"t-button\">\n <ng-content select=\"[tuiButton]\" />\n </span>\n <span class=\"t-link\">\n <ng-content select=\"[tuiLink]\" />\n </span>\n</div>\n", styles: [":host{position:relative;display:block;width:22.5rem;max-width:100%;box-sizing:border-box;padding:1.25rem 1.25rem .25rem;overflow:hidden;font:var(--tui-font-text-m);border-radius:var(--tui-radius-xl);background:var(--tui-background-elevation-2);box-shadow:var(--tui-shadow-small)}.t-image{display:flex;flex-direction:column;max-height:10.625rem;overflow:hidden;margin:-1.25rem -1.25rem 1.25rem}.t-close{position:absolute;top:.75rem;right:.75rem;color:#0000008a;background:#f2f2f252;-webkit-backdrop-filter:blur(1rem);backdrop-filter:blur(1rem)}.t-top{display:flex;align-items:center;font:var(--tui-font-text-s);color:var(--tui-text-secondary)}.t-icon{height:1.25rem;margin-right:.5rem;transform:scale(.833);transform-origin:top left;color:var(--tui-text-action)}.t-time:before{content:\"\\2022\";display:inline-block;width:1rem;text-align:center}.t-heading{line-height:1.25rem;font-weight:700;margin:.75rem 0 .25rem}.t-heading,.t-content{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-break:break-word;overflow:hidden}.t-actions{display:flex;align-items:center;font:var(--tui-font-text-s)}.t-button:not(:empty){margin:.75rem .75rem .75rem 0}.t-link{margin:.75rem 0}.t-link:empty{margin:.5rem}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "pipe", type: TuiFormatDatePipe, name: "tuiFormatDate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
20
|
+
}
|
|
21
|
+
export { TuiPush };
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPush, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ standalone: true, selector: 'tui-push', imports: [NgIf, AsyncPipe, TuiButton, TuiFormatDatePipe], changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiButtonOptionsProvider({ size: 's', appearance: 'secondary' })], template: "<div class=\"t-image\">\n <ng-content select=\"img\" />\n</div>\n<button\n *ngIf=\"close.observed\"\n appearance=\"\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"close.emit()\"\n>\n {{ closeWord$ | async }}\n</button>\n<div class=\"t-top\">\n <span class=\"t-icon\">\n <ng-content select=\"tui-svg,tui-icon\" />\n </span>\n {{ type }}\n <span\n *ngIf=\"timestamp\"\n class=\"t-time\"\n [textContent]=\"isString(timestamp) ? timestamp : (timestamp | tuiFormatDate | async)\"\n ></span>\n</div>\n<h3\n automation-id=\"tui-push__heading\"\n class=\"t-heading\"\n>\n {{ heading }}\n</h3>\n<div class=\"t-content\">\n <ng-content />\n</div>\n<div class=\"t-actions\">\n <span class=\"t-button\">\n <ng-content select=\"[tuiButton]\" />\n </span>\n <span class=\"t-link\">\n <ng-content select=\"[tuiLink]\" />\n </span>\n</div>\n", styles: [":host{position:relative;display:block;width:22.5rem;max-width:100%;box-sizing:border-box;padding:1.25rem 1.25rem .25rem;overflow:hidden;font:var(--tui-font-text-m);border-radius:var(--tui-radius-xl);background:var(--tui-background-elevation-2);box-shadow:var(--tui-shadow-small)}.t-image{display:flex;flex-direction:column;max-height:10.625rem;overflow:hidden;margin:-1.25rem -1.25rem 1.25rem}.t-close{position:absolute;top:.75rem;right:.75rem;color:#0000008a;background:#f2f2f252;-webkit-backdrop-filter:blur(1rem);backdrop-filter:blur(1rem)}.t-top{display:flex;align-items:center;font:var(--tui-font-text-s);color:var(--tui-text-secondary)}.t-icon{height:1.25rem;margin-right:.5rem;transform:scale(.833);transform-origin:top left;color:var(--tui-text-action)}.t-time:before{content:\"\\2022\";display:inline-block;width:1rem;text-align:center}.t-heading{line-height:1.25rem;font-weight:700;margin:.75rem 0 .25rem}.t-heading,.t-content{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-break:break-word;overflow:hidden}.t-actions{display:flex;align-items:center;font:var(--tui-font-text-s)}.t-button:not(:empty){margin:.75rem .75rem .75rem 0}.t-link{margin:.75rem 0}.t-link:empty{margin:.5rem}\n"] }]
|
|
25
|
+
}], propDecorators: { heading: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}], type: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}], timestamp: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], close: [{
|
|
32
|
+
type: Output
|
|
33
|
+
}] } });
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVzaC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9wdXNoL3B1c2guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvcHVzaC9wdXNoLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxJQUFJLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUNoRCxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxZQUFZLEVBQ1osTUFBTSxFQUNOLEtBQUssRUFDTCxNQUFNLEdBQ1QsTUFBTSxlQUFlLENB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kaXY+XG4iXX0=
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Directive, forwardRef, inject, Input, TemplateRef, } from '@angular/core';
|
|
2
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
3
|
+
import { tuiIfMap } from '@taiga-ui/cdk/observables';
|
|
4
|
+
import { PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
|
|
5
|
+
import { Subject } from 'rxjs';
|
|
6
|
+
import { TuiPushService } from './push.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
class TuiPushDirective extends PolymorpheusTemplate {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(inject(TemplateRef), inject(ChangeDetectorRef));
|
|
11
|
+
this.push = inject(forwardRef(() => TuiPushService));
|
|
12
|
+
this.show$ = new Subject();
|
|
13
|
+
this.show$
|
|
14
|
+
.pipe(tuiIfMap(() => this.push.open(this)), takeUntilDestroyed())
|
|
15
|
+
.subscribe();
|
|
16
|
+
}
|
|
17
|
+
set tuiPush(show) {
|
|
18
|
+
this.show$.next(show);
|
|
19
|
+
}
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
21
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiPushDirective, isStandalone: true, selector: "ng-template[tuiPush]", inputs: { tuiPush: "tuiPush" }, usesInheritance: true, ngImport: i0 }); }
|
|
22
|
+
}
|
|
23
|
+
export { TuiPushDirective };
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushDirective, decorators: [{
|
|
25
|
+
type: Directive,
|
|
26
|
+
args: [{
|
|
27
|
+
standalone: true,
|
|
28
|
+
selector: 'ng-template[tuiPush]',
|
|
29
|
+
}]
|
|
30
|
+
}], ctorParameters: function () { return []; }, propDecorators: { tuiPush: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}] } });
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVzaC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9wdXNoL3B1c2guZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCxpQkFBaUIsRUFDakIsU0FBUyxFQUNULFVBQVUsRUFDVixNQUFNLEVBQ04sS0FBSyxFQUNMLFdBQVcsR0FDZCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMsa0JBQWtCLEVBQUMsTUFBTSw0QkFBNEIsQ0FBQztBQUM5RCxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sMkJBQTJCLENBQUM7QUFDbkQsT0FBTyxFQUFDLG9CQUFvQixFQUFDLE1BQU0sd0JBQXdCLENBQUM7QUFDNUQsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLE1BQU0sQ0FBQztBQUU3QixPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7O0FBRTlDLE1BSWEsZ0JBQWlCLFNBQVEsb0JBQW9CO0lBSXREO1FBQ0ksS0FBSyxDQUFDLE1BQU0sQ0FBQyxXQUFXLENBQUMsRUFBRSxNQUFNLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxDQUFDO1FBSnpDLFNBQUksR0FBbUIsTUFBTSxDQUFDLFVBQVUsQ0FBQyxHQUFHLEVBQUUsQ0FBQyxjQUFjLENBQUMsQ0FBQyxDQUFDO1FBQ2hFLFVBQUssR0FBRyxJQUFJLE9BQU8sRUFBVyxDQUFDO1FBSzVDLElBQUksQ0FBQyxLQUFLO2FBQ0wsS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2ZSh7XG4gICAgc3RhbmRhbG9uZTogdHJ1ZSxcbiAgICBzZWxlY3RvcjogJ25nLXRlbXBsYXRlW3R1aVB1c2hdJyxcbn0pXG5leHBvcnQgY2xhc3MgVHVpUHVzaERpcmVjdGl2ZSBleHRlbmRzIFBvbHltb3JwaGV1c1RlbXBsYXRlIHtcbiAgICBwcml2YXRlIHJlYWRvbmx5IHB1c2g6IFR1aVB1c2hTZXJ2aWNlID0gaW5qZWN0KGZvcndhcmRSZWYoKCkgPT4gVHVpUHVzaFNlcnZpY2UpKTtcbiAgICBwcml2YXRlIHJlYWRvbmx5IHNob3ckID0gbmV3IFN1YmplY3Q8Ym9vbGVhbj4oKTtcblxuICAgIGNvbnN0cnVjdG9yKCkge1xuICAgICAgICBzdXBlcihpbmplY3QoVGVtcGxhdGVSZWYpLCBpbmplY3QoQ2hhbmdlRGV0ZWN0b3JSZWYpKTtcblxuICAgICAgICB0aGlzLnNob3ckXG4gICAgICAgICAgICAucGlwZShcbiAgICAgICAgICAgICAgICB0dWlJZk1hcCgoKSA9PiB0aGlzLnB1c2gub3Blbih0aGlzKSksXG4gICAgICAgICAgICAgICAgdGFrZVVudGlsRGVzdHJveWVkKCksXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuc3Vic2NyaWJlKCk7XG4gICAgfVxuXG4gICAgQElucHV0KClcbiAgICBwdWJsaWMgc2V0IHR1aVB1c2goc2hvdzogYm9vbGVhbikge1xuICAgICAgICB0aGlzLnNob3ckLm5leHQoc2hvdyk7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { tuiCreateToken, tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
2
|
+
export const TUI_PUSH_DEFAULT_OPTIONS = {
|
|
3
|
+
heading: '',
|
|
4
|
+
type: '',
|
|
5
|
+
timestamp: '',
|
|
6
|
+
image: '',
|
|
7
|
+
icon: '',
|
|
8
|
+
iconColor: '',
|
|
9
|
+
buttons: [],
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Default parameters for Push component
|
|
13
|
+
*/
|
|
14
|
+
export const TUI_PUSH_OPTIONS = tuiCreateToken(TUI_PUSH_DEFAULT_OPTIONS);
|
|
15
|
+
export function tuiPushOptionsProvider(options) {
|
|
16
|
+
return tuiProvideOptions(TUI_PUSH_OPTIONS, options, TUI_PUSH_DEFAULT_OPTIONS);
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVzaC5vcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvcHVzaC9wdXNoLm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFDLGNBQWMsRUFBRSxpQkFBaUIsRUFBQyxNQUFNLG1DQUFtQyxDQUFDO0FBWXBGLE1BQU0sQ0FBQyxNQUFNLHdCQUF3QixHQUFtQjtJQUNwRCxPQUFPLEVBQUUsRUFBRTtJQUNYLElBQUksRUFBRSxFQUFFO0lBQ1IsU0FBUyxFQUFFLEVBQUU7SUFDYixLQUFLLEVBQUUsRUFBRTtJQUNULElBQUksRUFBRSxFQUFFO0lBQ1IsU0FBUyxFQUFFLEVBQUU7SUFDYixPQUFPLEVBQUUsRUFBRTtDQUNkLENBQUM7QUFFRjs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLGdCQUFnQixHQUFHLGNBQWMsQ0FBQyx3QkFBd0IsQ0FBQyxDQUFDO0FBRXpFLE1BQU0sVUFBVSxzQkFBc0IsQ0FBQyxPQUFnQztJQUNuRSxPQUFPLGlCQUFpQixDQUFDLGdCQUFnQixFQUFFLE9BQU8sRUFBRSx3QkFBd0IsQ0FBQyxDQUFDO0FBQ2xGLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBv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VpUHJvdmlkZU9wdGlvbnMoVFVJX1BVU0hfT1BUSU9OUywgb3B0aW9ucywgVFVJX1BVU0hfREVGQVVMVF9PUFRJT05TKTtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { inject, Injectable } from '@angular/core';
|
|
2
|
+
import { TuiPopoverService } from '@taiga-ui/cdk/services';
|
|
3
|
+
import { TUI_ALERTS } from '@taiga-ui/core/components/alert';
|
|
4
|
+
import { TUI_PUSH_OPTIONS } from './push.options';
|
|
5
|
+
import { TuiPushAlert } from './push-alert.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
class TuiPushService extends TuiPopoverService {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushService, providedIn: 'root', useFactory: () => new TuiPushService(TUI_ALERTS, TuiPushAlert, inject(TUI_PUSH_OPTIONS)) }); }
|
|
10
|
+
}
|
|
11
|
+
export { TuiPushService };
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPushService, decorators: [{
|
|
13
|
+
type: Injectable,
|
|
14
|
+
args: [{
|
|
15
|
+
providedIn: 'root',
|
|
16
|
+
useFactory: () => new TuiPushService(TUI_ALERTS, TuiPushAlert, inject(TUI_PUSH_OPTIONS)),
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVzaC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvcHVz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Zyb20gJy4vcHVzaC5vcHRpb25zJztcbmltcG9ydCB7VFVJX1BVU0hfT1BUSU9OU30gZnJvbSAnLi9wdXNoLm9wdGlvbnMnO1xuaW1wb3J0IHtUdWlQdXNoQWxlcnR9IGZyb20gJy4vcHVzaC1hbGVydC5jb21wb25lbnQnO1xuXG5ASW5qZWN0YWJsZSh7XG4gICAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxuICAgIHVzZUZhY3Rvcnk6ICgpID0+XG4gICAgICAgIG5ldyBUdWlQdXNoU2VydmljZShUVUlfQUxFUlRTLCBUdWlQdXNoQWxlcnQsIGluamVjdChUVUlfUFVTSF9PUFRJT05TKSksXG59KVxuZXhwb3J0IGNsYXNzIFR1aVB1c2hTZXJ2aWNlIGV4dGVuZHMgVHVpUG9wb3ZlclNlcnZpY2U8VHVpUHVzaE9wdGlvbnMsIHN0cmluZz4ge31cbiJdfQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './radio';
|
|
2
|
+
export * from './radio.component';
|
|
3
|
+
export * from './radio.directive';
|
|
4
|
+
export * from './radio.options';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9yYWRpby9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFNBQVMsQ0FBQztBQUN4QixjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxpQkFBaUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcmFkaW8nO1xuZXhwb3J0ICogZnJvbSAnLi9yYWRpby5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9yYWRpby5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9yYWRpby5vcHRpb25zJztcbiJdfQ==
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, inject, Input } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { TuiNativeValidator } from '@taiga-ui/cdk/directives/native-validator';
|
|
4
|
+
import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
|
|
5
|
+
import { TuiAppearance, TuiWithAppearance } from '@taiga-ui/core/directives/appearance';
|
|
6
|
+
import { TUI_RADIO_OPTIONS } from './radio.options';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@taiga-ui/core/directives/appearance";
|
|
9
|
+
import * as i2 from "@taiga-ui/cdk/directives/native-validator";
|
|
10
|
+
class TuiRadioComponent {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.appearance = inject(TuiAppearance);
|
|
13
|
+
this.options = inject(TUI_RADIO_OPTIONS);
|
|
14
|
+
this.el = tuiInjectElement();
|
|
15
|
+
this.control = inject(NgControl, { optional: true, self: true });
|
|
16
|
+
this.size = this.options.size;
|
|
17
|
+
}
|
|
18
|
+
ngDoCheck() {
|
|
19
|
+
this.appearance.tuiAppearance = this.options.appearance(this.el);
|
|
20
|
+
}
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiRadioComponent, isStandalone: true, selector: "input[type=\"radio\"][tuiRadio]", inputs: { size: "size" }, host: { properties: { "disabled": "!control || control.disabled", "attr.data-size": "size", "class._readonly": "!control" } }, hostDirectives: [{ directive: i1.TuiWithAppearance }, { directive: i2.TuiNativeValidator }], ngImport: i0, template: '', isInline: true, styles: [":host{--t-size: 1.5rem;transition-property:background,box-shadow;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:var(--t-size);height:var(--t-size);cursor:pointer;margin:0;flex-shrink:0;border-radius:100%;color:var(--tui-text-primary-on-accent-1)}:host:disabled._readonly{opacity:1}:host:before{position:absolute;top:0;left:0;width:100%;height:100%;transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";border-radius:100%;background:currentColor;transform:scale(0)}:host:checked:before{transform:scale(.5)}:host[data-size=s]{--t-size: 1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
23
|
+
}
|
|
24
|
+
export { TuiRadioComponent };
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRadioComponent, decorators: [{
|
|
26
|
+
type: Component,
|
|
27
|
+
args: [{ standalone: true, selector: 'input[type="radio"][tuiRadio]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [TuiWithAppearance, TuiNativeValidator], host: {
|
|
28
|
+
'[disabled]': '!control || control.disabled',
|
|
29
|
+
'[attr.data-size]': 'size',
|
|
30
|
+
'[class._readonly]': '!control',
|
|
31
|
+
}, styles: [":host{--t-size: 1.5rem;transition-property:background,box-shadow;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:var(--t-size);height:var(--t-size);cursor:pointer;margin:0;flex-shrink:0;border-radius:100%;color:var(--tui-text-primary-on-accent-1)}:host:disabled._readonly{opacity:1}:host:before{position:absolute;top:0;left:0;width:100%;height:100%;transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";border-radius:100%;background:currentColor;transform:scale(0)}:host:checked:before{transform:scale(.5)}:host[data-size=s]{--t-size: 1rem}\n"] }]
|
|
32
|
+
}], propDecorators: { size: [{
|
|
33
|
+
type: Input
|
|
34
|
+
}] } });
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2Z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XQoKVxuICAgIHB1YmxpYyBzaXplOiBUdWlTaXplUyA9IHRoaXMub3B0aW9ucy5zaXplO1xuXG4gICAgcHVibGljIG5nRG9DaGVjaygpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5hcHBlYXJhbmNlLnR1aUFwcGVhcmFuY2UgPSB0aGlzLm9wdGlvbnMuYXBwZWFyYW5jZSh0aGlzLmVsKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Directive, inject, Input } from '@angular/core';
|
|
2
|
+
import { RadioControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { TUI_DEFAULT_IDENTITY_MATCHER } from '@taiga-ui/cdk/constants';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
class TuiRadioDirective {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.identityMatcher = TUI_DEFAULT_IDENTITY_MATCHER;
|
|
8
|
+
const accessor = inject(RadioControlValueAccessor);
|
|
9
|
+
const writeValue = accessor.writeValue.bind(accessor);
|
|
10
|
+
accessor.writeValue = (value) => {
|
|
11
|
+
if (this.identityMatcher(value, accessor.value)) {
|
|
12
|
+
writeValue(accessor.value);
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
writeValue(value);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRadioDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
20
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiRadioDirective, isStandalone: true, selector: "input[type=\"radio\"][tuiRadio][identityMatcher]", inputs: { identityMatcher: "identityMatcher" }, ngImport: i0 }); }
|
|
21
|
+
}
|
|
22
|
+
export { TuiRadioDirective };
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRadioDirective, decorators: [{
|
|
24
|
+
type: Directive,
|
|
25
|
+
args: [{
|
|
26
|
+
standalone: true,
|
|
27
|
+
selector: 'input[type="radio"][tuiRadio][identityMatcher]',
|
|
28
|
+
}]
|
|
29
|
+
}], ctorParameters: function () { return []; }, propDecorators: { identityMatcher: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}] } });
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8uZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvcmFkaW8vcmFkaW8uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2RCxPQUFPLEVBQUMseUJBQXlCLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUN6RCxPQUFPLEVBQUMsNEJBQTRCLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQzs7QUFHckUsTUFJYSxpQkFBaUI7SUFJMUI7UUFGTyxvQkFBZSxHQUEwQiw0QkFBNEIsQ0FBQztRQUd6RSxNQUFNLFFBQVEsR0FBRyxNQUFNLENBQUMseUJBQXlCLENBQUMsQ0FBQztRQUNuRCxNQUFNLFVBQVUsR0FBRyxRQUFRLENBQUMsVUFBVSxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsQ0FBQztRQUV0RCxRQUFRLENBQUMsVUFBVSxHQUFHLENBQUMsS0FBUSxFQUFFLEVBQUU7WUFDL0IsSUFBSSxJQUFJLENBQUMsZUFBZSxDQUFDLEtBQUssRUFBRSxRQUFRLENBQUMsS0FBSyxDQUFDLEVBQUU7Z0JBQzdDLFVBQVUsQ0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7XG4gICAgICAgIGNvbnN0IGFjY2Vzc29yID0gaW5qZWN0KFJhZGlvQ29udHJvbFZhbHVlQWNjZXNzb3IpO1xuICAgICAgICBjb25zdCB3cml0ZVZhbHVlID0gYWNjZXNzb3Iud3JpdGVWYWx1ZS5iaW5kKGFjY2Vzc29yKTtcblxuICAgICAgICBhY2Nlc3Nvci53cml0ZVZhbHVlID0gKHZhbHVlOiBUKSA9PiB7XG4gICAgICAgICAgICBpZiAodGhpcy5pZGVudGl0eU1hdGNoZXIodmFsdWUsIGFjY2Vzc29yLnZhbHVlKSkge1xuICAgICAgICAgICAgICAgIHdyaXRlVmFsdWUoYWNjZXNzb3IudmFsdWUpO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICB3cml0ZVZhbHVlKHZhbHVlKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { TuiRadioComponent } from './radio.component';
|
|
2
|
+
import { TuiRadioDirective } from './radio.directive';
|
|
3
|
+
export const TuiRadio = [TuiRadioComponent, TuiRadioDirective];
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9yYWRpby9yYWRpby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSxtQkFBbUIsQ0FBQztBQUNwRCxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSxtQkFBbUIsQ0FBQztBQUVwRCxNQUFNLENBQUMsTUFBTSxRQUFRLEdBQUcsQ0FBQyxpQkFBaUIsRUFBRSxpQkFBaUIsQ0FBVSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtUdWlSYWRpb0NvbXBvbmVudH0gZnJvbSAnLi9yYWRpby5jb21wb25lbnQnO1xuaW1wb3J0IHtUdWlSYWRpb0RpcmVjdGl2ZX0gZnJvbSAnLi9yYWRpby5kaXJlY3RpdmUnO1xuXG5leHBvcnQgY29uc3QgVHVpUmFkaW8gPSBbVHVpUmFkaW9Db21wb25lbnQsIFR1aVJhZGlvRGlyZWN0aXZlXSBhcyBjb25zdDtcbiJdfQ==
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { tuiCreateToken, tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
2
|
+
export const TUI_RADIO_DEFAULT_OPTIONS = {
|
|
3
|
+
size: 'm',
|
|
4
|
+
appearance: ({ checked }) => (checked ? 'primary' : 'whiteblock'),
|
|
5
|
+
};
|
|
6
|
+
export const TUI_RADIO_OPTIONS = tuiCreateToken(TUI_RADIO_DEFAULT_OPTIONS);
|
|
7
|
+
export function tuiRadioOptionsProvider(options) {
|
|
8
|
+
return tuiProvideOptions(TUI_RADIO_OPTIONS, options, TUI_RADIO_DEFAULT_OPTIONS);
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8ub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL3JhZGlvL3JhZGlvLm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsT0FBTyxFQUFDLGNBQWMsRUFBRSxpQkFBaUIsRUFBQyxNQUFNLG1DQUFtQyxDQUFDO0FBUXBGLE1BQU0sQ0FBQyxNQUFNLHlCQUF5QixHQUFvQjtJQUN0RCxJQUFJLEVBQUUsR0FBRztJQUNULFVBQVUsRUFBRSxDQUFDLEVBQUMsT0FBTyxFQUFDLEVBQUUs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FRVSV9SQURJT19PUFRJT05TID0gdHVpQ3JlYXRlVG9rZW4oVFVJX1JBRElPX0RFRkFVTFRfT1BUSU9OUyk7XG5cbmV4cG9ydCBmdW5jdGlvbiB0dWlSYWRpb09wdGlvbnNQcm92aWRlcihvcHRpb25zOiBQYXJ0aWFsPFR1aVJhZGlvT3B0aW9ucz4pOiBQcm92aWRlciB7XG4gICAgcmV0dXJuIHR1aVByb3ZpZGVPcHRpb25zKFRVSV9SQURJT19PUFRJT05TLCBvcHRpb25zLCBUVUlfUkFESU9fREVGQVVMVF9PUFRJT05TKTtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './radio-list.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9yYWRpby1saXN0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3JhZGlvLWxpc3QuY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { NgForOf } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, computed, HostBinding, HostListener, Input, ViewChildren, ViewEncapsulation, } from '@angular/core';
|
|
3
|
+
import { FormsModule, NgControl, Validators } from '@angular/forms';
|
|
4
|
+
import { tuiAsControl, TuiControl } from '@taiga-ui/cdk/classes';
|
|
5
|
+
import { EMPTY_QUERY, TUI_DEFAULT_IDENTITY_MATCHER, TUI_FALSE_HANDLER, } from '@taiga-ui/cdk/constants';
|
|
6
|
+
import { TuiValidator } from '@taiga-ui/cdk/directives/validator';
|
|
7
|
+
import { TuiRadio } from '@taiga-ui/kit/components/radio';
|
|
8
|
+
import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@taiga-ui/kit/components/radio";
|
|
11
|
+
import * as i2 from "@angular/forms";
|
|
12
|
+
const ERROR = () => ({ error: 'Invalid' });
|
|
13
|
+
class TuiRadioList extends TuiControl {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
this.controls = EMPTY_QUERY;
|
|
17
|
+
this.validator = computed(() => this.invalid() ? ERROR : Validators.nullValidator);
|
|
18
|
+
this.items = [];
|
|
19
|
+
this.size = 'm';
|
|
20
|
+
this.identityMatcher = TUI_DEFAULT_IDENTITY_MATCHER;
|
|
21
|
+
this.disabledItemHandler = TUI_FALSE_HANDLER;
|
|
22
|
+
this.itemContent = ({ $implicit }) => String($implicit);
|
|
23
|
+
}
|
|
24
|
+
get name() {
|
|
25
|
+
return this.control.name?.toString() || '';
|
|
26
|
+
}
|
|
27
|
+
onFocusOut() {
|
|
28
|
+
this.controls.forEach((control) => control.control?.markAsTouched());
|
|
29
|
+
if (!this.touched()) {
|
|
30
|
+
this.onTouched();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
itemIsActive(item) {
|
|
34
|
+
return this.value() === null
|
|
35
|
+
? item === null
|
|
36
|
+
: this.identityMatcher(this.value(), item);
|
|
37
|
+
}
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRadioList, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
39
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiRadioList, isStandalone: true, selector: "tui-radio-list", inputs: { items: "items", size: "size", identityMatcher: "identityMatcher", disabledItemHandler: "disabledItemHandler", itemContent: "itemContent" }, host: { listeners: { "focusout": "onFocusOut()" }, properties: { "attr.data-size": "this.size" } }, providers: [tuiAsControl(TuiRadioList)], viewQueries: [{ propertyName: "controls", predicate: NgControl, descendants: true }], usesInheritance: true, ngImport: i0, template: "<label\n *ngFor=\"let item of items; index as index\"\n class=\"t-item\"\n [class.t-item_disabled]=\"disabled() || disabledItemHandler(item)\"\n>\n <input\n tuiRadio\n type=\"radio\"\n [disabled]=\"disabled() || disabledItemHandler(item)\"\n [identityMatcher]=\"identityMatcher\"\n [name]=\"name\"\n [ngModel]=\"value()\"\n [size]=\"size\"\n [tuiValidator]=\"validator()\"\n [value]=\"item\"\n (ngModelChange)=\"onChange($event)\"\n />\n <ng-container *polymorpheusOutlet=\"itemContent as text; context: {$implicit: item, active: itemIsActive(item)}\">\n {{ text }}\n </ng-container>\n</label>\n", styles: ["tui-radio-list{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem 1.5rem;font:var(--tui-font-text-m)}tui-radio-list[data-size=s],tui-radio-list[data-size=s] [tuiTitle]{font:var(--tui-font-text-ui-s)}tui-radio-list[data-size=s] [tuiSubtitle],tui-radio-list[data-size=s] [tuiTitle] [tuiSubtitle]{font:var(--tui-font-text-xs)}tui-radio-list[data-size=s]>.t-item,tui-radio-list[data-size=s] [tuiTitle]>.t-item{gap:.5rem}tui-radio-list [tuiTitle]{font:var(--tui-font-text-m)}tui-radio-list [tuiSubtitle]{color:var(--tui-text-tertiary)}tui-radio-list>.t-item{display:flex;gap:.75rem}tui-radio-list>.t-item_disabled{opacity:var(--tui-disabled-opacity)}\n"], dependencies: [{ kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i1.TuiRadioComponent, selector: "input[type=\"radio\"][tuiRadio]", inputs: ["size"] }, { kind: "directive", type: i1.TuiRadioDirective, selector: "input[type=\"radio\"][tuiRadio][identityMatcher]", inputs: ["identityMatcher"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiValidator, selector: "[tuiValidator]", inputs: ["tuiValidator"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
40
|
+
}
|
|
41
|
+
export { TuiRadioList };
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRadioList, decorators: [{
|
|
43
|
+
type: Component,
|
|
44
|
+
args: [{ standalone: true, selector: 'tui-radio-list', imports: [
|
|
45
|
+
NgForOf,
|
|
46
|
+
TuiRadio,
|
|
47
|
+
FormsModule,
|
|
48
|
+
PolymorpheusOutlet,
|
|
49
|
+
PolymorpheusTemplate,
|
|
50
|
+
TuiValidator,
|
|
51
|
+
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiAsControl(TuiRadioList)], template: "<label\n *ngFor=\"let item of items; index as index\"\n class=\"t-item\"\n [class.t-item_disabled]=\"disabled() || disabledItemHandler(item)\"\n>\n <input\n tuiRadio\n type=\"radio\"\n [disabled]=\"disabled() || disabledItemHandler(item)\"\n [identityMatcher]=\"identityMatcher\"\n [name]=\"name\"\n [ngModel]=\"value()\"\n [size]=\"size\"\n [tuiValidator]=\"validator()\"\n [value]=\"item\"\n (ngModelChange)=\"onChange($event)\"\n />\n <ng-container *polymorpheusOutlet=\"itemContent as text; context: {$implicit: item, active: itemIsActive(item)}\">\n {{ text }}\n </ng-container>\n</label>\n", styles: ["tui-radio-list{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem 1.5rem;font:var(--tui-font-text-m)}tui-radio-list[data-size=s],tui-radio-list[data-size=s] [tuiTitle]{font:var(--tui-font-text-ui-s)}tui-radio-list[data-size=s] [tuiSubtitle],tui-radio-list[data-size=s] [tuiTitle] [tuiSubtitle]{font:var(--tui-font-text-xs)}tui-radio-list[data-size=s]>.t-item,tui-radio-list[data-size=s] [tuiTitle]>.t-item{gap:.5rem}tui-radio-list [tuiTitle]{font:var(--tui-font-text-m)}tui-radio-list [tuiSubtitle]{color:var(--tui-text-tertiary)}tui-radio-list>.t-item{display:flex;gap:.75rem}tui-radio-list>.t-item_disabled{opacity:var(--tui-disabled-opacity)}\n"] }]
|
|
52
|
+
}], propDecorators: { controls: [{
|
|
53
|
+
type: ViewChildren,
|
|
54
|
+
args: [NgControl]
|
|
55
|
+
}], items: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], size: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}, {
|
|
60
|
+
type: HostBinding,
|
|
61
|
+
args: ['attr.data-size']
|
|
62
|
+
}], identityMatcher: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}], disabledItemHandler: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}], itemContent: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}], onFocusOut: [{
|
|
69
|
+
type: HostListener,
|
|
70
|
+
args: ['focusout']
|
|
71
|
+
}] } });
|
|
72
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8tbGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8u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cbiAgICA8L25nLWNvbnRhaW5lcj5cbjwvbGFiZWw+XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './range.component';
|
|
2
|
+
export * from './range-change.directive';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9yYW5nZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3JhbmdlLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3JhbmdlLWNoYW5nZS5kaXJlY3RpdmUnO1xuIl19
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { DOCUMENT } from '@angular/common';
|
|
2
|
+
import { Directive, EventEmitter, inject, Output } from '@angular/core';
|
|
3
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
4
|
+
import { tuiTypedFromEvent } from '@taiga-ui/cdk/observables';
|
|
5
|
+
import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
|
|
6
|
+
import { tuiClamp, tuiRound } from '@taiga-ui/cdk/utils/math';
|
|
7
|
+
import { TUI_FLOATING_PRECISION } from '@taiga-ui/kit/components/slider';
|
|
8
|
+
import { filter, map, merge, repeat, startWith, switchMap, takeUntil, tap } from 'rxjs';
|
|
9
|
+
import { TuiRange } from './range.component';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
class TuiRangeChange {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.doc = inject(DOCUMENT);
|
|
14
|
+
this.el = tuiInjectElement();
|
|
15
|
+
this.range = inject(TuiRange);
|
|
16
|
+
/**
|
|
17
|
+
* TODO replace with pointer events (when all supported browsers can handle them).
|
|
18
|
+
* Don't forget to use setPointerCapture instead of listening all doc events
|
|
19
|
+
*/
|
|
20
|
+
this.pointerDown$ = tuiTypedFromEvent(this.el, 'pointerdown', {
|
|
21
|
+
passive: true,
|
|
22
|
+
capture: true,
|
|
23
|
+
});
|
|
24
|
+
this.pointerMove$ = merge(tuiTypedFromEvent(this.doc, 'touchmove').pipe(filter(({ touches }) => touches.length === 1), map(({ touches }) => touches[0])), tuiTypedFromEvent(this.doc, 'mousemove'));
|
|
25
|
+
this.pointerUp$ = merge(tuiTypedFromEvent(this.doc, 'touchend', { passive: true }), tuiTypedFromEvent(this.doc, 'mouseup', { passive: true }));
|
|
26
|
+
this.activeThumbChange = new EventEmitter();
|
|
27
|
+
let activeThumb;
|
|
28
|
+
this.pointerDown$
|
|
29
|
+
.pipe(tap(({ clientX, target }) => {
|
|
30
|
+
activeThumb = this.detectActiveThumb(clientX, target);
|
|
31
|
+
this.activeThumbChange.emit(activeThumb);
|
|
32
|
+
if (this.range.focusable) {
|
|
33
|
+
this.el.focus();
|
|
34
|
+
}
|
|
35
|
+
}), switchMap((event) => this.pointerMove$.pipe(startWith(event))), map(({ clientX }) => this.getFractionFromEvents(clientX)), takeUntil(this.pointerUp$), repeat(), takeUntilDestroyed())
|
|
36
|
+
.subscribe((fraction) => {
|
|
37
|
+
const value = this.range.toValue(fraction);
|
|
38
|
+
this.range.processValue(value, activeThumb === 'right');
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
getFractionFromEvents(clickClientX) {
|
|
42
|
+
const hostRect = this.el.getBoundingClientRect();
|
|
43
|
+
const value = clickClientX - hostRect.left;
|
|
44
|
+
const total = hostRect.width;
|
|
45
|
+
return tuiClamp(tuiRound(value / total, TUI_FLOATING_PRECISION), 0, 1);
|
|
46
|
+
}
|
|
47
|
+
detectActiveThumb(clientX, target) {
|
|
48
|
+
const [leftSliderRef, rightSliderRef] = this.range.slidersRefs;
|
|
49
|
+
switch (target) {
|
|
50
|
+
case leftSliderRef.nativeElement:
|
|
51
|
+
return 'left';
|
|
52
|
+
case rightSliderRef.nativeElement:
|
|
53
|
+
return 'right';
|
|
54
|
+
default:
|
|
55
|
+
return this.findNearestActiveThumb(clientX);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
findNearestActiveThumb(clientX) {
|
|
59
|
+
const fraction = this.getFractionFromEvents(clientX);
|
|
60
|
+
const deltaLeft = fraction * 100 - this.range.left();
|
|
61
|
+
const deltaRight = fraction * 100 - 100 + this.range.right();
|
|
62
|
+
return Math.abs(deltaLeft) > Math.abs(deltaRight) ||
|
|
63
|
+
deltaRight > 0 ||
|
|
64
|
+
(this.range.left() === 0 && this.range.right() === 100)
|
|
65
|
+
? 'right'
|
|
66
|
+
: 'left';
|
|
67
|
+
}
|
|
68
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRangeChange, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
69
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiRangeChange, isStandalone: true, selector: "tui-range:is(never)", outputs: { activeThumbChange: "activeThumbChange" }, ngImport: i0 }); }
|
|
70
|
+
}
|
|
71
|
+
export { TuiRangeChange };
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRangeChange, decorators: [{
|
|
73
|
+
type: Directive,
|
|
74
|
+
args: [{
|
|
75
|
+
standalone: true,
|
|
76
|
+
selector: 'tui-range:is(never)',
|
|
77
|
+
}]
|
|
78
|
+
}], ctorParameters: function () { return []; }, propDecorators: { activeThumbChange: [{
|
|
79
|
+
type: Output
|
|
80
|
+
}] } });
|
|
81
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFuZ2UtY2hhbmd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