@taiga-ui/kit 4.51.0 → 4.52.0-canary.1ea42f6
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/components/avatar/avatar-outline.directive.d.ts +3 -3
- package/components/avatar/avatar.directive.d.ts +15 -0
- package/components/avatar/avatar.options.d.ts +1 -4
- package/components/avatar/index.d.ts +1 -1
- package/components/badge/badge.directive.d.ts +2 -2
- package/components/block/block.directive.d.ts +4 -4
- package/components/block/block.options.d.ts +1 -1
- package/components/calendar-month/calendar-month.options.d.ts +1 -1
- package/components/checkbox/checkbox.component.d.ts +7 -18
- package/components/checkbox/checkbox.options.d.ts +5 -9
- package/components/chip/chip.directive.d.ts +2 -4
- package/components/comment/comment.directive.d.ts +2 -2
- package/components/confirm/confirm.component.d.ts +1 -0
- package/components/confirm/confirm.service.d.ts +2 -1
- package/{directives → components}/copy/copy.directive.d.ts +1 -2
- package/{directives → components}/copy/copy.options.d.ts +2 -2
- package/components/files/file/file.options.d.ts +1 -1
- package/components/floating-container/floating-container.directive.d.ts +2 -2
- package/components/fullscreen/fullscreen.component.d.ts +14 -0
- package/components/fullscreen/index.d.ts +1 -0
- package/components/index.d.ts +4 -1
- package/components/input-chip/input-chip.options.d.ts +1 -1
- package/components/input-color/input-color.component.d.ts +2 -1
- package/components/input-color/input-color.options.d.ts +1 -1
- package/components/input-date/input-date.directive.d.ts +1 -1
- package/components/input-date/input-date.options.d.ts +1 -1
- package/components/input-number/input-number.options.d.ts +1 -1
- package/components/input-number/quantum.directive.d.ts +2 -2
- package/components/input-phone/input-phone.options.d.ts +1 -1
- package/components/input-slider/input-slider.directive.d.ts +1 -1
- package/components/input-time/input-time.options.d.ts +1 -1
- package/components/like/like.component.d.ts +4 -11
- package/components/like/like.options.d.ts +3 -4
- package/components/line-clamp/line-clamp.component.d.ts +6 -10
- package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +2 -2
- package/components/notification-middle/index.d.ts +3 -0
- package/components/notification-middle/notification-middle.component.d.ts +16 -0
- package/components/notification-middle/notification-middle.directive.d.ts +7 -0
- package/components/notification-middle/notification-middle.service.d.ts +7 -0
- package/components/pager/pager.component.d.ts +1 -1
- package/components/pin/pin.directive.d.ts +2 -2
- package/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.d.ts +1 -2
- package/components/progress/progress-segmented/progress-segmented.directive.d.ts +2 -2
- package/components/push/push.component.d.ts +1 -1
- package/components/radio/radio.component.d.ts +7 -8
- package/components/radio/radio.directive.d.ts +2 -2
- package/components/radio/radio.options.d.ts +2 -5
- package/components/rating/rating.component.d.ts +5 -5
- package/components/rating/rating.options.d.ts +5 -3
- package/components/segmented/segmented.component.d.ts +5 -5
- package/components/slides/slides.directive.d.ts +4 -4
- package/components/status/status.directive.d.ts +2 -2
- package/components/switch/switch.component.d.ts +7 -19
- package/components/switch/switch.options.d.ts +4 -8
- package/components/textarea/textarea-limit.directive.d.ts +0 -1
- package/components/textarea/textarea.options.d.ts +1 -1
- package/components/toast/index.d.ts +5 -0
- package/components/toast/toast.component.d.ts +17 -0
- package/components/toast/toast.d.ts +3 -0
- package/components/toast/toast.directive.d.ts +7 -0
- package/components/toast/toast.options.d.ts +8 -0
- package/components/toast/toast.service.d.ts +16 -0
- package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
- package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +1 -6
- package/directives/chevron/chevron.directive.d.ts +2 -3
- package/directives/fade/fade.directive.d.ts +1 -0
- package/directives/highlight/highlight.directive.d.ts +2 -2
- package/directives/index.d.ts +0 -2
- package/directives/password/password.options.d.ts +1 -1
- package/directives/sensitive/sensitive.directive.d.ts +2 -2
- package/directives/shimmer/shimmer.directive.d.ts +3 -3
- package/directives/skeleton/skeleton.directive.d.ts +3 -3
- package/directives/tooltip/tooltip.directive.d.ts +2 -2
- package/directives/tooltip/tooltip.options.d.ts +2 -2
- package/fesm2022/taiga-ui-kit-components-accordion.mjs +16 -17
- package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-avatar.mjs +81 -100
- package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badge.mjs +15 -21
- package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-block.mjs +17 -24
- package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +8 -10
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs +4 -5
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +6 -8
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +10 -10
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-carousel.mjs +21 -23
- package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs +19 -76
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-chip.mjs +22 -27
- package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-comment.mjs +13 -20
- package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-compass.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-confirm.mjs +14 -15
- package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
- package/fesm2022/{taiga-ui-kit-directives-copy.mjs → taiga-ui-kit-components-copy.mjs} +13 -14
- package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +13 -14
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-drawer.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-files.mjs +32 -34
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-filter.mjs +7 -16
- package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs +13 -19
- package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +65 -0
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs +22 -19
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-color.mjs +12 -15
- package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +8 -9
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +15 -16
- package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month.mjs +11 -12
- package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-number.mjs +30 -29
- package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +13 -16
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs +9 -10
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs +9 -8
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-range.mjs +14 -24
- package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs +13 -16
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +14 -14
- package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-year.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +18 -18
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-like.mjs +40 -33
- package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +33 -39
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-message.mjs +10 -12
- package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs +40 -37
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +90 -0
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-pager.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pagination.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +11 -11
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pin.mjs +15 -19
- package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +11 -11
- package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview.mjs +33 -35
- package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-progress.mjs +39 -52
- package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pulse.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-push.mjs +20 -20
- package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs +7 -8
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio.mjs +34 -39
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-range.mjs +9 -9
- package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-rating.mjs +17 -22
- package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-segmented.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-select.mjs +17 -17
- package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slider.mjs +21 -22
- package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slides.mjs +14 -22
- package/fesm2022/taiga-ui-kit-components-slides.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-status.mjs +12 -16
- package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-stepper.mjs +12 -12
- package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-switch.mjs +19 -65
- package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +34 -37
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-textarea.mjs +17 -19
- package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tiles.mjs +13 -13
- package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-toast.mjs +166 -0
- package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-tree.mjs +35 -51
- package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components.mjs +4 -1
- package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs +10 -13
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs +13 -20
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-connected.mjs +10 -15
- package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +4 -4
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fade.mjs +11 -14
- package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +4 -4
- package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs +5 -5
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +8 -9
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-password.mjs +6 -6
- package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-present.mjs +4 -4
- package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +13 -18
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +24 -34
- package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +27 -38
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +13 -18
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +5 -6
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +4 -4
- package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives.mjs +0 -2
- package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes.mjs +0 -1
- package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-tokens.mjs +4 -9
- package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-utils.mjs +1 -1
- package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
- package/package.json +41 -251
- package/pipes/index.d.ts +0 -1
- package/styles/components/avatar.less +188 -0
- package/styles/components/badge.less +3 -18
- package/styles/components/block.less +1 -1
- package/styles/components/checkbox.less +17 -16
- package/styles/components/chip.less +7 -3
- package/styles/components/like.less +15 -17
- package/styles/components/pin.less +3 -7
- package/styles/components/radio.less +2 -2
- package/styles/components/switch.less +12 -12
- package/styles/components/toast.less +44 -0
- package/tokens/index.d.ts +0 -1
- package/tokens/input-date-options.d.ts +1 -1
- package/components/avatar/avatar.component.d.ts +0 -15
- package/components/input-password/index.d.ts +0 -2
- package/components/input-password/input-password.component.d.ts +0 -16
- package/components/input-password/input-password.options.d.ts +0 -24
- package/directives/icon-badge/icon-badge.directive.d.ts +0 -9
- package/directives/icon-badge/index.d.ts +0 -1
- package/esm2022/components/accordion/accordion-item-content.directive.mjs +0 -16
- package/esm2022/components/accordion/accordion-item-eager-content.directive.mjs +0 -15
- package/esm2022/components/accordion/accordion-item.component.mjs +0 -85
- package/esm2022/components/accordion/accordion.directive.mjs +0 -56
- package/esm2022/components/accordion/accordion.mjs +0 -11
- package/esm2022/components/accordion/index.mjs +0 -6
- package/esm2022/components/accordion/taiga-ui-kit-components-accordion.mjs +0 -5
- package/esm2022/components/action-bar/action-bar.component.mjs +0 -36
- package/esm2022/components/action-bar/action-bar.directive.mjs +0 -17
- package/esm2022/components/action-bar/action-bar.mjs +0 -4
- package/esm2022/components/action-bar/index.mjs +0 -4
- package/esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs +0 -5
- package/esm2022/components/avatar/avatar-labeled.component.mjs +0 -47
- package/esm2022/components/avatar/avatar-outline.directive.mjs +0 -41
- package/esm2022/components/avatar/avatar-stack.component.mjs +0 -19
- package/esm2022/components/avatar/avatar.component.mjs +0 -59
- package/esm2022/components/avatar/avatar.options.mjs +0 -14
- package/esm2022/components/avatar/index.mjs +0 -6
- package/esm2022/components/avatar/taiga-ui-kit-components-avatar.mjs +0 -5
- package/esm2022/components/badge/badge.directive.mjs +0 -42
- package/esm2022/components/badge/badge.options.mjs +0 -13
- package/esm2022/components/badge/index.mjs +0 -3
- package/esm2022/components/badge/taiga-ui-kit-components-badge.mjs +0 -5
- package/esm2022/components/badge-notification/badge-notification.component.mjs +0 -22
- package/esm2022/components/badge-notification/badge-notification.options.mjs +0 -12
- package/esm2022/components/badge-notification/index.mjs +0 -3
- package/esm2022/components/badge-notification/taiga-ui-kit-components-badge-notification.mjs +0 -5
- package/esm2022/components/badged-content/badge-content.mjs +0 -7
- package/esm2022/components/badged-content/badged-content.component.mjs +0 -30
- package/esm2022/components/badged-content/badged-content.directive.mjs +0 -20
- package/esm2022/components/badged-content/index.mjs +0 -4
- package/esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs +0 -5
- package/esm2022/components/block/block.directive.mjs +0 -58
- package/esm2022/components/block/block.options.mjs +0 -13
- package/esm2022/components/block/index.mjs +0 -3
- package/esm2022/components/block/taiga-ui-kit-components-block.mjs +0 -5
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +0 -69
- package/esm2022/components/breadcrumbs/breadcrumbs.options.mjs +0 -14
- package/esm2022/components/breadcrumbs/index.mjs +0 -3
- package/esm2022/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.mjs +0 -5
- package/esm2022/components/button-loading/button-loading.component.mjs +0 -70
- package/esm2022/components/button-loading/index.mjs +0 -2
- package/esm2022/components/button-loading/taiga-ui-kit-components-button-loading.mjs +0 -5
- package/esm2022/components/calendar-month/calendar-month.component.mjs +0 -186
- package/esm2022/components/calendar-month/calendar-month.options.mjs +0 -6
- package/esm2022/components/calendar-month/index.mjs +0 -3
- package/esm2022/components/calendar-month/taiga-ui-kit-components-calendar-month.mjs +0 -5
- package/esm2022/components/calendar-range/calculate-disabled-item-handler.mjs +0 -12
- package/esm2022/components/calendar-range/calendar-range.component.mjs +0 -224
- package/esm2022/components/calendar-range/day-caps-mapper.mjs +0 -26
- package/esm2022/components/calendar-range/day-range-period.mjs +0 -36
- package/esm2022/components/calendar-range/index.mjs +0 -5
- package/esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs +0 -5
- package/esm2022/components/carousel/carousel-autoscroll.directive.mjs +0 -21
- package/esm2022/components/carousel/carousel-buttons.directive.mjs +0 -27
- package/esm2022/components/carousel/carousel-scroll.directive.mjs +0 -27
- package/esm2022/components/carousel/carousel.component.mjs +0 -166
- package/esm2022/components/carousel/carousel.directive.mjs +0 -37
- package/esm2022/components/carousel/carousel.mjs +0 -15
- package/esm2022/components/carousel/index.mjs +0 -7
- package/esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs +0 -5
- package/esm2022/components/checkbox/checkbox.component.mjs +0 -74
- package/esm2022/components/checkbox/checkbox.options.mjs +0 -17
- package/esm2022/components/checkbox/index.mjs +0 -3
- package/esm2022/components/checkbox/taiga-ui-kit-components-checkbox.mjs +0 -5
- package/esm2022/components/chip/chip.directive.mjs +0 -63
- package/esm2022/components/chip/chip.options.mjs +0 -13
- package/esm2022/components/chip/index.mjs +0 -3
- package/esm2022/components/chip/taiga-ui-kit-components-chip.mjs +0 -5
- package/esm2022/components/combo-box/combo-box.directive.mjs +0 -139
- package/esm2022/components/combo-box/index.mjs +0 -2
- package/esm2022/components/combo-box/taiga-ui-kit-components-combo-box.mjs +0 -5
- package/esm2022/components/comment/comment.directive.mjs +0 -35
- package/esm2022/components/comment/index.mjs +0 -2
- package/esm2022/components/comment/taiga-ui-kit-components-comment.mjs +0 -5
- package/esm2022/components/compass/compass.component.mjs +0 -19
- package/esm2022/components/compass/index.mjs +0 -2
- package/esm2022/components/compass/taiga-ui-kit-components-compass.mjs +0 -5
- package/esm2022/components/confirm/confirm.component.mjs +0 -29
- package/esm2022/components/confirm/confirm.service.mjs +0 -32
- package/esm2022/components/confirm/index.mjs +0 -3
- package/esm2022/components/confirm/taiga-ui-kit-components-confirm.mjs +0 -5
- package/esm2022/components/data-list-wrapper/data-list-group-wrapper.component.mjs +0 -25
- package/esm2022/components/data-list-wrapper/data-list-wrapper.component.mjs +0 -86
- package/esm2022/components/data-list-wrapper/data-list-wrapper.module.mjs +0 -9
- package/esm2022/components/data-list-wrapper/index.mjs +0 -4
- package/esm2022/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.mjs +0 -5
- package/esm2022/components/drawer/drawer.component.mjs +0 -44
- package/esm2022/components/drawer/index.mjs +0 -2
- package/esm2022/components/drawer/taiga-ui-kit-components-drawer.mjs +0 -5
- package/esm2022/components/elastic-container/elastic-container.component.mjs +0 -28
- package/esm2022/components/elastic-container/elastic-container.directive.mjs +0 -48
- package/esm2022/components/elastic-container/index.mjs +0 -3
- package/esm2022/components/elastic-container/taiga-ui-kit-components-elastic-container.mjs +0 -5
- package/esm2022/components/files/file/file.component.mjs +0 -144
- package/esm2022/components/files/file/file.options.mjs +0 -16
- package/esm2022/components/files/files/files.component.mjs +0 -49
- package/esm2022/components/files/files.mjs +0 -15
- package/esm2022/components/files/files.types.mjs +0 -2
- package/esm2022/components/files/files.utils.mjs +0 -30
- package/esm2022/components/files/files.validators.mjs +0 -32
- package/esm2022/components/files/index.mjs +0 -13
- package/esm2022/components/files/input-files/input-files-validator.directive.mjs +0 -45
- package/esm2022/components/files/input-files/input-files.component.mjs +0 -70
- package/esm2022/components/files/input-files/input-files.content.mjs +0 -73
- package/esm2022/components/files/input-files/input-files.directive.mjs +0 -77
- package/esm2022/components/files/input-files/input-files.options.mjs +0 -19
- package/esm2022/components/files/pipes/file-rejected.pipe.mjs +0 -51
- package/esm2022/components/files/taiga-ui-kit-components-files.mjs +0 -5
- package/esm2022/components/filter/filter.component.mjs +0 -65
- package/esm2022/components/filter/index.mjs +0 -2
- package/esm2022/components/filter/taiga-ui-kit-components-filter.mjs +0 -5
- package/esm2022/components/floating-container/floating-container.directive.mjs +0 -37
- package/esm2022/components/floating-container/index.mjs +0 -2
- package/esm2022/components/floating-container/taiga-ui-kit-components-floating-container.mjs +0 -5
- package/esm2022/components/index.mjs +0 -72
- package/esm2022/components/input-chip/index.mjs +0 -5
- package/esm2022/components/input-chip/input-chip.component.mjs +0 -101
- package/esm2022/components/input-chip/input-chip.directive.mjs +0 -138
- package/esm2022/components/input-chip/input-chip.mjs +0 -4
- package/esm2022/components/input-chip/input-chip.options.mjs +0 -7
- package/esm2022/components/input-chip/taiga-ui-kit-components-input-chip.mjs +0 -5
- package/esm2022/components/input-color/index.mjs +0 -3
- package/esm2022/components/input-color/input-color.component.mjs +0 -89
- package/esm2022/components/input-color/input-color.options.mjs +0 -6
- package/esm2022/components/input-color/taiga-ui-kit-components-input-color.mjs +0 -5
- package/esm2022/components/input-date/date-filler.mjs +0 -20
- package/esm2022/components/input-date/index.mjs +0 -6
- package/esm2022/components/input-date/input-date.component.mjs +0 -33
- package/esm2022/components/input-date/input-date.directive.mjs +0 -167
- package/esm2022/components/input-date/input-date.mjs +0 -9
- package/esm2022/components/input-date/input-date.options.mjs +0 -11
- package/esm2022/components/input-date/taiga-ui-kit-components-input-date.mjs +0 -5
- package/esm2022/components/input-date-multi/index.mjs +0 -3
- package/esm2022/components/input-date-multi/input-date-multi.directive.mjs +0 -123
- package/esm2022/components/input-date-multi/input-date-multi.mjs +0 -9
- package/esm2022/components/input-date-multi/taiga-ui-kit-components-input-date-multi.mjs +0 -5
- package/esm2022/components/input-date-range/index.mjs +0 -4
- package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -79
- package/esm2022/components/input-date-range/input-date-range.mjs +0 -4
- package/esm2022/components/input-date-range/input-date-range.options.mjs +0 -12
- package/esm2022/components/input-date-range/taiga-ui-kit-components-input-date-range.mjs +0 -5
- package/esm2022/components/input-date-time/index.mjs +0 -5
- package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -35
- package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -178
- package/esm2022/components/input-date-time/input-date-time.mjs +0 -9
- package/esm2022/components/input-date-time/input-date-time.options.mjs +0 -20
- package/esm2022/components/input-date-time/taiga-ui-kit-components-input-date-time.mjs +0 -5
- package/esm2022/components/input-inline/index.mjs +0 -2
- package/esm2022/components/input-inline/input-inline.component.mjs +0 -23
- package/esm2022/components/input-inline/taiga-ui-kit-components-input-inline.mjs +0 -5
- package/esm2022/components/input-month/index.mjs +0 -5
- package/esm2022/components/input-month/input-month.component.mjs +0 -53
- package/esm2022/components/input-month/input-month.directive.mjs +0 -65
- package/esm2022/components/input-month/input-month.mjs +0 -9
- package/esm2022/components/input-month/input-month.options.mjs +0 -19
- package/esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs +0 -5
- package/esm2022/components/input-month-range/index.mjs +0 -4
- package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -86
- package/esm2022/components/input-month-range/input-month-range.mjs +0 -7
- package/esm2022/components/input-month-range/input-month-range.options.mjs +0 -13
- package/esm2022/components/input-month-range/taiga-ui-kit-components-input-month-range.mjs +0 -5
- package/esm2022/components/input-number/index.mjs +0 -6
- package/esm2022/components/input-number/input-number.directive.mjs +0 -196
- package/esm2022/components/input-number/input-number.mjs +0 -9
- package/esm2022/components/input-number/input-number.options.mjs +0 -15
- package/esm2022/components/input-number/quantum.directive.mjs +0 -68
- package/esm2022/components/input-number/step/input-number-step.component.mjs +0 -58
- package/esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs +0 -5
- package/esm2022/components/input-password/index.mjs +0 -3
- package/esm2022/components/input-password/input-password.component.mjs +0 -69
- package/esm2022/components/input-password/input-password.options.mjs +0 -24
- package/esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs +0 -5
- package/esm2022/components/input-phone/index.mjs +0 -3
- package/esm2022/components/input-phone/input-phone.directive.mjs +0 -137
- package/esm2022/components/input-phone/input-phone.options.mjs +0 -9
- package/esm2022/components/input-phone/taiga-ui-kit-components-input-phone.mjs +0 -5
- package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
- package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
- package/esm2022/components/input-phone-international/index.mjs +0 -3
- package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -210
- package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -19
- package/esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs +0 -5
- package/esm2022/components/input-pin/index.mjs +0 -2
- package/esm2022/components/input-pin/input-pin.component.mjs +0 -65
- package/esm2022/components/input-pin/taiga-ui-kit-components-input-pin.mjs +0 -5
- package/esm2022/components/input-range/index.mjs +0 -3
- package/esm2022/components/input-range/input-range.component.mjs +0 -166
- package/esm2022/components/input-range/input-range.mjs +0 -4
- package/esm2022/components/input-range/taiga-ui-kit-components-input-range.mjs +0 -5
- package/esm2022/components/input-slider/index.mjs +0 -3
- package/esm2022/components/input-slider/input-slider.directive.mjs +0 -114
- package/esm2022/components/input-slider/input-slider.mjs +0 -9
- package/esm2022/components/input-slider/taiga-ui-kit-components-input-slider.mjs +0 -5
- package/esm2022/components/input-time/index.mjs +0 -5
- package/esm2022/components/input-time/input-time.component.mjs +0 -64
- package/esm2022/components/input-time/input-time.directive.mjs +0 -159
- package/esm2022/components/input-time/input-time.mjs +0 -4
- package/esm2022/components/input-time/input-time.options.mjs +0 -10
- package/esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs +0 -5
- package/esm2022/components/input-year/index.mjs +0 -4
- package/esm2022/components/input-year/input-year.directive.mjs +0 -103
- package/esm2022/components/input-year/input-year.mjs +0 -4
- package/esm2022/components/input-year/input-year.options.mjs +0 -12
- package/esm2022/components/input-year/taiga-ui-kit-components-input-year.mjs +0 -5
- package/esm2022/components/items-with-more/index.mjs +0 -6
- package/esm2022/components/items-with-more/items-with-more.component.mjs +0 -77
- package/esm2022/components/items-with-more/items-with-more.directive.mjs +0 -46
- package/esm2022/components/items-with-more/items-with-more.mjs +0 -11
- package/esm2022/components/items-with-more/items-with-more.service.mjs +0 -85
- package/esm2022/components/items-with-more/more.directive.mjs +0 -18
- package/esm2022/components/items-with-more/taiga-ui-kit-components-items-with-more.mjs +0 -5
- package/esm2022/components/like/index.mjs +0 -3
- package/esm2022/components/like/like.component.mjs +0 -46
- package/esm2022/components/like/like.options.mjs +0 -10
- package/esm2022/components/like/taiga-ui-kit-components-like.mjs +0 -5
- package/esm2022/components/line-clamp/index.mjs +0 -4
- package/esm2022/components/line-clamp/line-clamp-box.component.mjs +0 -25
- package/esm2022/components/line-clamp/line-clamp-position.directive.mjs +0 -27
- package/esm2022/components/line-clamp/line-clamp.component.mjs +0 -95
- package/esm2022/components/line-clamp/line-clamp.options.mjs +0 -15
- package/esm2022/components/line-clamp/taiga-ui-kit-components-line-clamp.mjs +0 -5
- package/esm2022/components/message/index.mjs +0 -2
- package/esm2022/components/message/message.directive.mjs +0 -43
- package/esm2022/components/message/taiga-ui-kit-components-message.mjs +0 -5
- package/esm2022/components/multi-select/index.mjs +0 -6
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -50
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -18
- package/esm2022/components/multi-select/multi-select-native/multi-select-native.component.mjs +0 -56
- package/esm2022/components/multi-select/multi-select-option/multi-select-option.component.mjs +0 -47
- package/esm2022/components/multi-select/multi-select.mjs +0 -9
- package/esm2022/components/multi-select/taiga-ui-kit-components-multi-select.mjs +0 -5
- package/esm2022/components/pager/index.mjs +0 -2
- package/esm2022/components/pager/pager.component.mjs +0 -97
- package/esm2022/components/pager/taiga-ui-kit-components-pager.mjs +0 -5
- package/esm2022/components/pagination/index.mjs +0 -2
- package/esm2022/components/pagination/pagination.component.mjs +0 -213
- package/esm2022/components/pagination/taiga-ui-kit-components-pagination.mjs +0 -5
- package/esm2022/components/pdf-viewer/index.mjs +0 -5
- package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +0 -28
- package/esm2022/components/pdf-viewer/pdf-viewer.directive.mjs +0 -21
- package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +0 -17
- package/esm2022/components/pdf-viewer/pdf-viewer.service.mjs +0 -22
- package/esm2022/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.mjs +0 -5
- package/esm2022/components/pin/index.mjs +0 -2
- package/esm2022/components/pin/pin.directive.mjs +0 -35
- package/esm2022/components/pin/taiga-ui-kit-components-pin.mjs +0 -5
- package/esm2022/components/preview/action/preview-action.directive.mjs +0 -30
- package/esm2022/components/preview/dialog/index.mjs +0 -4
- package/esm2022/components/preview/dialog/preview-dialog.component.mjs +0 -28
- package/esm2022/components/preview/dialog/preview-dialog.directive.mjs +0 -21
- package/esm2022/components/preview/dialog/preview-dialog.service.mjs +0 -18
- package/esm2022/components/preview/dialog/taiga-ui-kit-components-preview-dialog.mjs +0 -5
- package/esm2022/components/preview/index.mjs +0 -8
- package/esm2022/components/preview/pagination/preview-pagination.component.mjs +0 -49
- package/esm2022/components/preview/preview.component.mjs +0 -142
- package/esm2022/components/preview/preview.mjs +0 -13
- package/esm2022/components/preview/taiga-ui-kit-components-preview.mjs +0 -5
- package/esm2022/components/preview/title/preview-title.component.mjs +0 -16
- package/esm2022/components/preview/zoom/preview-zoom.component.mjs +0 -81
- package/esm2022/components/progress/index.mjs +0 -9
- package/esm2022/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.mjs +0 -39
- package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +0 -25
- package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +0 -40
- package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +0 -45
- package/esm2022/components/progress/progress-label/progress-label.component.mjs +0 -12
- package/esm2022/components/progress/progress-segmented/progress-segmented.directive.mjs +0 -34
- package/esm2022/components/progress/progress.mjs +0 -15
- package/esm2022/components/progress/progress.options.mjs +0 -13
- package/esm2022/components/progress/taiga-ui-kit-components-progress.mjs +0 -5
- package/esm2022/components/pulse/index.mjs +0 -2
- package/esm2022/components/pulse/pulse.component.mjs +0 -34
- package/esm2022/components/pulse/taiga-ui-kit-components-pulse.mjs +0 -5
- package/esm2022/components/push/index.mjs +0 -7
- package/esm2022/components/push/push-alert.component.mjs +0 -29
- package/esm2022/components/push/push.component.mjs +0 -39
- package/esm2022/components/push/push.directive.mjs +0 -33
- package/esm2022/components/push/push.mjs +0 -5
- package/esm2022/components/push/push.options.mjs +0 -21
- package/esm2022/components/push/push.service.mjs +0 -19
- package/esm2022/components/push/taiga-ui-kit-components-push.mjs +0 -5
- package/esm2022/components/radio/index.mjs +0 -5
- package/esm2022/components/radio/radio.component.mjs +0 -53
- package/esm2022/components/radio/radio.directive.mjs +0 -32
- package/esm2022/components/radio/radio.mjs +0 -4
- package/esm2022/components/radio/radio.options.mjs +0 -13
- package/esm2022/components/radio/taiga-ui-kit-components-radio.mjs +0 -5
- package/esm2022/components/radio-list/index.mjs +0 -2
- package/esm2022/components/radio-list/radio-list.component.mjs +0 -64
- package/esm2022/components/radio-list/taiga-ui-kit-components-radio-list.mjs +0 -5
- package/esm2022/components/range/index.mjs +0 -3
- package/esm2022/components/range/range-change.directive.mjs +0 -78
- package/esm2022/components/range/range.component.mjs +0 -164
- package/esm2022/components/range/taiga-ui-kit-components-range.mjs +0 -5
- package/esm2022/components/rating/index.mjs +0 -3
- package/esm2022/components/rating/rating.component.mjs +0 -65
- package/esm2022/components/rating/rating.options.mjs +0 -13
- package/esm2022/components/rating/taiga-ui-kit-components-rating.mjs +0 -5
- package/esm2022/components/routable-dialog/generate-dialogable-route.mjs +0 -17
- package/esm2022/components/routable-dialog/index.mjs +0 -3
- package/esm2022/components/routable-dialog/routable-dialog.component.mjs +0 -53
- package/esm2022/components/routable-dialog/taiga-ui-kit-components-routable-dialog.mjs +0 -5
- package/esm2022/components/segmented/index.mjs +0 -3
- package/esm2022/components/segmented/segmented.component.mjs +0 -67
- package/esm2022/components/segmented/segmented.directive.mjs +0 -65
- package/esm2022/components/segmented/taiga-ui-kit-components-segmented.mjs +0 -5
- package/esm2022/components/select/index.mjs +0 -5
- package/esm2022/components/select/native-select/native-select.component.mjs +0 -57
- package/esm2022/components/select/select-option/select-option.component.mjs +0 -51
- package/esm2022/components/select/select.directive.mjs +0 -56
- package/esm2022/components/select/select.mjs +0 -4
- package/esm2022/components/select/taiga-ui-kit-components-select.mjs +0 -5
- package/esm2022/components/slider/helpers/key-steps.mjs +0 -36
- package/esm2022/components/slider/helpers/slider-key-steps.directive.mjs +0 -110
- package/esm2022/components/slider/helpers/slider-readonly.directive.mjs +0 -75
- package/esm2022/components/slider/helpers/slider-thumb-label.component.mjs +0 -38
- package/esm2022/components/slider/index.mjs +0 -8
- package/esm2022/components/slider/slider.component.mjs +0 -124
- package/esm2022/components/slider/slider.mjs +0 -12
- package/esm2022/components/slider/slider.options.mjs +0 -16
- package/esm2022/components/slider/taiga-ui-kit-components-slider.mjs +0 -5
- package/esm2022/components/slides/index.mjs +0 -2
- package/esm2022/components/slides/slides.directive.mjs +0 -51
- package/esm2022/components/slides/taiga-ui-kit-components-slides.mjs +0 -5
- package/esm2022/components/status/index.mjs +0 -2
- package/esm2022/components/status/status.directive.mjs +0 -35
- package/esm2022/components/status/taiga-ui-kit-components-status.mjs +0 -5
- package/esm2022/components/stepper/index.mjs +0 -4
- package/esm2022/components/stepper/step.component.mjs +0 -58
- package/esm2022/components/stepper/stepper.component.mjs +0 -118
- package/esm2022/components/stepper/stepper.mjs +0 -4
- package/esm2022/components/stepper/taiga-ui-kit-components-stepper.mjs +0 -5
- package/esm2022/components/switch/index.mjs +0 -3
- package/esm2022/components/switch/switch.component.mjs +0 -63
- package/esm2022/components/switch/switch.options.mjs +0 -15
- package/esm2022/components/switch/taiga-ui-kit-components-switch.mjs +0 -5
- package/esm2022/components/tabs/index.mjs +0 -9
- package/esm2022/components/tabs/tab.directive.mjs +0 -47
- package/esm2022/components/tabs/tabs-horizontal.directive.mjs +0 -108
- package/esm2022/components/tabs/tabs-vertical.directive.mjs +0 -38
- package/esm2022/components/tabs/tabs-with-more.component.mjs +0 -211
- package/esm2022/components/tabs/tabs.directive.mjs +0 -79
- package/esm2022/components/tabs/tabs.mjs +0 -15
- package/esm2022/components/tabs/tabs.options.mjs +0 -19
- package/esm2022/components/tabs/tabs.providers.mjs +0 -35
- package/esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs +0 -5
- package/esm2022/components/taiga-ui-kit-components.mjs +0 -5
- package/esm2022/components/textarea/index.mjs +0 -4
- package/esm2022/components/textarea/taiga-ui-kit-components-textarea.mjs +0 -5
- package/esm2022/components/textarea/textarea-limit.directive.mjs +0 -94
- package/esm2022/components/textarea/textarea.component.mjs +0 -58
- package/esm2022/components/textarea/textarea.options.mjs +0 -7
- package/esm2022/components/tiles/index.mjs +0 -7
- package/esm2022/components/tiles/taiga-ui-kit-components-tiles.mjs +0 -5
- package/esm2022/components/tiles/tile-handle.directive.mjs +0 -60
- package/esm2022/components/tiles/tile.component.mjs +0 -69
- package/esm2022/components/tiles/tile.service.mjs +0 -90
- package/esm2022/components/tiles/tiles.component.mjs +0 -70
- package/esm2022/components/tiles/tiles.mjs +0 -5
- package/esm2022/components/tiles/tiles.tokens.mjs +0 -37
- package/esm2022/components/tree/components/tree/tree.component.mjs +0 -64
- package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +0 -63
- package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +0 -44
- package/esm2022/components/tree/directives/tree-children.directive.mjs +0 -24
- package/esm2022/components/tree/directives/tree-controller.directive.mjs +0 -57
- package/esm2022/components/tree/directives/tree-item-controller.directive.mjs +0 -32
- package/esm2022/components/tree/directives/tree-node.directive.mjs +0 -32
- package/esm2022/components/tree/index.mjs +0 -12
- package/esm2022/components/tree/misc/tree.constants.mjs +0 -9
- package/esm2022/components/tree/misc/tree.interfaces.mjs +0 -2
- package/esm2022/components/tree/misc/tree.service.mjs +0 -31
- package/esm2022/components/tree/misc/tree.tokens.mjs +0 -43
- package/esm2022/components/tree/taiga-ui-kit-components-tree.mjs +0 -5
- package/esm2022/components/tree/tree.mjs +0 -17
- package/esm2022/directives/button-close/button-close.directive.mjs +0 -33
- package/esm2022/directives/button-close/index.mjs +0 -2
- package/esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs +0 -5
- package/esm2022/directives/button-group/button-group.directive.mjs +0 -29
- package/esm2022/directives/button-group/index.mjs +0 -2
- package/esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs +0 -5
- package/esm2022/directives/button-select/button-select.directive.mjs +0 -48
- package/esm2022/directives/button-select/index.mjs +0 -2
- package/esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs +0 -5
- package/esm2022/directives/chevron/chevron.directive.mjs +0 -45
- package/esm2022/directives/chevron/index.mjs +0 -2
- package/esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs +0 -5
- package/esm2022/directives/connected/connected.directive.mjs +0 -32
- package/esm2022/directives/connected/index.mjs +0 -2
- package/esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs +0 -5
- package/esm2022/directives/copy/copy.component.mjs +0 -48
- package/esm2022/directives/copy/copy.directive.mjs +0 -71
- package/esm2022/directives/copy/copy.mjs +0 -4
- package/esm2022/directives/copy/copy.options.mjs +0 -3
- package/esm2022/directives/copy/index.mjs +0 -6
- package/esm2022/directives/copy/taiga-ui-kit-directives-copy.mjs +0 -5
- package/esm2022/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.mjs +0 -105
- package/esm2022/directives/data-list-dropdown-manager/index.mjs +0 -2
- package/esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +0 -5
- package/esm2022/directives/fade/fade.directive.mjs +0 -92
- package/esm2022/directives/fade/index.mjs +0 -2
- package/esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs +0 -5
- package/esm2022/directives/fluid-typography/fluid-typography.directive.mjs +0 -63
- package/esm2022/directives/fluid-typography/fluid-typography.options.mjs +0 -13
- package/esm2022/directives/fluid-typography/index.mjs +0 -3
- package/esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs +0 -5
- package/esm2022/directives/highlight/highlight.directive.mjs +0 -92
- package/esm2022/directives/highlight/index.mjs +0 -2
- package/esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs +0 -5
- package/esm2022/directives/icon-badge/icon-badge.directive.mjs +0 -41
- package/esm2022/directives/icon-badge/index.mjs +0 -2
- package/esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs +0 -5
- package/esm2022/directives/index.mjs +0 -21
- package/esm2022/directives/lazy-loading/index.mjs +0 -3
- package/esm2022/directives/lazy-loading/lazy-loading.directive.mjs +0 -58
- package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +0 -23
- package/esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs +0 -5
- package/esm2022/directives/password/index.mjs +0 -3
- package/esm2022/directives/password/password.directive.mjs +0 -67
- package/esm2022/directives/password/password.options.mjs +0 -8
- package/esm2022/directives/password/taiga-ui-kit-directives-password.mjs +0 -5
- package/esm2022/directives/present/index.mjs +0 -2
- package/esm2022/directives/present/present.directive.mjs +0 -33
- package/esm2022/directives/present/taiga-ui-kit-directives-present.mjs +0 -5
- package/esm2022/directives/sensitive/index.mjs +0 -2
- package/esm2022/directives/sensitive/sensitive.directive.mjs +0 -48
- package/esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs +0 -5
- package/esm2022/directives/shimmer/index.mjs +0 -2
- package/esm2022/directives/shimmer/shimmer.directive.mjs +0 -68
- package/esm2022/directives/shimmer/taiga-ui-kit-directives-shimmer.mjs +0 -5
- package/esm2022/directives/skeleton/index.mjs +0 -2
- package/esm2022/directives/skeleton/skeleton.directive.mjs +0 -69
- package/esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs +0 -5
- package/esm2022/directives/taiga-ui-kit-directives.mjs +0 -5
- package/esm2022/directives/tooltip/index.mjs +0 -3
- package/esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs +0 -5
- package/esm2022/directives/tooltip/tooltip.directive.mjs +0 -92
- package/esm2022/directives/tooltip/tooltip.options.mjs +0 -6
- package/esm2022/directives/unfinished-validator/index.mjs +0 -3
- package/esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs +0 -5
- package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -36
- package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -7
- package/esm2022/directives/unmask-handler/index.mjs +0 -2
- package/esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs +0 -5
- package/esm2022/directives/unmask-handler/unmask-handler.directive.mjs +0 -35
- package/esm2022/index.mjs +0 -6
- package/esm2022/pipes/emails/emails.options.mjs +0 -13
- package/esm2022/pipes/emails/emails.pipe.mjs +0 -26
- package/esm2022/pipes/emails/index.mjs +0 -3
- package/esm2022/pipes/emails/taiga-ui-kit-pipes-emails.mjs +0 -5
- package/esm2022/pipes/field-error/field-error-content-pipe.mjs +0 -42
- package/esm2022/pipes/field-error/field-error-pipe.mjs +0 -103
- package/esm2022/pipes/field-error/index.mjs +0 -3
- package/esm2022/pipes/field-error/taiga-ui-kit-pipes-field-error.mjs +0 -5
- package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +0 -68
- package/esm2022/pipes/filter-by-input/index.mjs +0 -2
- package/esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs +0 -5
- package/esm2022/pipes/hide-selected/hide-selected.pipe.mjs +0 -46
- package/esm2022/pipes/hide-selected/index.mjs +0 -2
- package/esm2022/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.mjs +0 -5
- package/esm2022/pipes/index.mjs +0 -8
- package/esm2022/pipes/sort-countries/index.mjs +0 -2
- package/esm2022/pipes/sort-countries/sort-countries.pipe.mjs +0 -23
- package/esm2022/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.mjs +0 -5
- package/esm2022/pipes/stringify/index.mjs +0 -2
- package/esm2022/pipes/stringify/stringify.pipe.mjs +0 -18
- package/esm2022/pipes/stringify/taiga-ui-kit-pipes-stringify.mjs +0 -5
- package/esm2022/pipes/stringify-content/index.mjs +0 -2
- package/esm2022/pipes/stringify-content/stringify-content.pipe.mjs +0 -18
- package/esm2022/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.mjs +0 -5
- package/esm2022/pipes/taiga-ui-kit-pipes.mjs +0 -5
- package/esm2022/taiga-ui-kit.mjs +0 -5
- package/esm2022/tokens/calendar-date-stream.mjs +0 -25
- package/esm2022/tokens/date-inputs-value-transformers.mjs +0 -21
- package/esm2022/tokens/i18n.mjs +0 -75
- package/esm2022/tokens/index.mjs +0 -10
- package/esm2022/tokens/input-date-options.mjs +0 -13
- package/esm2022/tokens/items-handlers.mjs +0 -27
- package/esm2022/tokens/mobile-calendar.mjs +0 -13
- package/esm2022/tokens/month-formatter.mjs +0 -12
- package/esm2022/tokens/preview-icons.mjs +0 -17
- package/esm2022/tokens/taiga-ui-kit-tokens.mjs +0 -5
- package/esm2022/tokens/validation-errors.mjs +0 -6
- package/esm2022/utils/create-time-periods.mjs +0 -12
- package/esm2022/utils/index.mjs +0 -7
- package/esm2022/utils/inject-value.mjs +0 -11
- package/esm2022/utils/is-flat.mjs +0 -4
- package/esm2022/utils/maskito.binding.mjs +0 -6
- package/esm2022/utils/phone.mjs +0 -6
- package/esm2022/utils/taiga-ui-kit-utils.mjs +0 -5
- package/esm2022/utils/toggle-day.mjs +0 -6
- package/fesm2022/taiga-ui-kit-components-input-password.mjs +0 -96
- package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs +0 -47
- package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +0 -147
- package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +0 -1
- package/pipes/field-error/field-error-content-pipe.d.ts +0 -14
- package/pipes/field-error/field-error-pipe.d.ts +0 -29
- package/pipes/field-error/index.d.ts +0 -2
- package/tokens/validation-errors.d.ts +0 -5
- /package/{directives → components}/copy/copy.component.d.ts +0 -0
- /package/{directives → components}/copy/copy.d.ts +0 -0
- /package/{directives → components}/copy/index.d.ts +0 -0
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtYnV0dG9uLWxvYWRpbmcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9idXR0b24tbG9hZGluZy90YWlnYS11aS1raXQtY29tcG9uZW50cy1idXR0b24tbG9hZGluZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { NgIf } from '@angular/common';
|
|
3
|
-
import { ChangeDetectionStrategy, Component, computed, EventEmitter, inject, Input, Output, signal, } from '@angular/core';
|
|
4
|
-
import { toSignal } from '@angular/core/rxjs-interop';
|
|
5
|
-
import { TUI_FALSE_HANDLER } from '@taiga-ui/cdk/constants';
|
|
6
|
-
import { TUI_FIRST_DAY, TUI_LAST_DAY, TuiDay, TuiMonth, TuiMonthRange, TuiYear, } from '@taiga-ui/cdk/date-time';
|
|
7
|
-
import { TuiHovered } from '@taiga-ui/cdk/directives/hovered';
|
|
8
|
-
import { TuiLet } from '@taiga-ui/cdk/directives/let';
|
|
9
|
-
import { TuiRepeatTimes } from '@taiga-ui/cdk/directives/repeat-times';
|
|
10
|
-
import { tuiNullableSame, tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
11
|
-
import { TuiCalendarYear } from '@taiga-ui/core/components/calendar';
|
|
12
|
-
import { TuiLink } from '@taiga-ui/core/components/link';
|
|
13
|
-
import { TuiScrollbar } from '@taiga-ui/core/components/scrollbar';
|
|
14
|
-
import { TuiSpinButton } from '@taiga-ui/core/components/spin-button';
|
|
15
|
-
import { tuiAsAuxiliary } from '@taiga-ui/core/tokens';
|
|
16
|
-
import { TUI_CALENDAR_MONTHS } from '@taiga-ui/kit/tokens';
|
|
17
|
-
import { TUI_CALENDAR_MONTH_OPTIONS } from './calendar-month.options';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
const TODAY = TuiDay.currentLocal();
|
|
20
|
-
class TuiCalendarMonth {
|
|
21
|
-
constructor() {
|
|
22
|
-
this.isYearPickerShown = false;
|
|
23
|
-
this.months = toSignal(inject(TUI_CALENDAR_MONTHS));
|
|
24
|
-
this.isRangePicking = computed((x = this.value()) => (!this.options.rangeMode && x instanceof TuiMonthRange && x.isSingleMonth) || // TODO(v5): remove this condition
|
|
25
|
-
(this.options.rangeMode && x instanceof TuiMonth));
|
|
26
|
-
this.year = TODAY;
|
|
27
|
-
this.disabledItemHandler = TUI_FALSE_HANDLER;
|
|
28
|
-
this.minLength = null;
|
|
29
|
-
this.maxLength = null;
|
|
30
|
-
this.monthClick = new EventEmitter();
|
|
31
|
-
this.hoveredItemChange = new EventEmitter();
|
|
32
|
-
this.yearChange = new EventEmitter();
|
|
33
|
-
this.options = inject(TUI_CALENDAR_MONTH_OPTIONS);
|
|
34
|
-
this.min = signal(TUI_FIRST_DAY);
|
|
35
|
-
this.max = signal(TUI_LAST_DAY);
|
|
36
|
-
this.value = signal(null);
|
|
37
|
-
this.hoveredItem = null;
|
|
38
|
-
}
|
|
39
|
-
// TODO(v5): use signal inputs
|
|
40
|
-
set minSetter(x) {
|
|
41
|
-
this.min.set(x);
|
|
42
|
-
}
|
|
43
|
-
// TODO(v5): use signal inputs
|
|
44
|
-
set maxSetter(x) {
|
|
45
|
-
this.max.set(x);
|
|
46
|
-
}
|
|
47
|
-
// TODO(v5): use signal inputs
|
|
48
|
-
set valueSetter(x) {
|
|
49
|
-
this.value.set(x);
|
|
50
|
-
}
|
|
51
|
-
onNextYear() {
|
|
52
|
-
this.updateActiveYear(this.year.append({ year: 1 }));
|
|
53
|
-
}
|
|
54
|
-
onPreviousYear() {
|
|
55
|
-
this.updateActiveYear(this.year.append({ year: -1 }));
|
|
56
|
-
}
|
|
57
|
-
getItemRange(item) {
|
|
58
|
-
const value = this.value();
|
|
59
|
-
const { hoveredItem } = this;
|
|
60
|
-
if (!value) {
|
|
61
|
-
return null;
|
|
62
|
-
}
|
|
63
|
-
if (!this.options.rangeMode && value instanceof TuiMonth) {
|
|
64
|
-
return value?.monthSame(item) ? 'active' : null;
|
|
65
|
-
}
|
|
66
|
-
const selectedRange = value instanceof TuiMonth ? new TuiMonthRange(value, value) : value;
|
|
67
|
-
const months = item.month + item.year * 12;
|
|
68
|
-
const hovered = hoveredItem ? hoveredItem.month + hoveredItem.year * 12 : null;
|
|
69
|
-
const from = selectedRange.from.month + selectedRange.from.year * 12;
|
|
70
|
-
const to = selectedRange.to.month + selectedRange.to.year * 12;
|
|
71
|
-
const picking = this.isRangePicking() ? hovered : null;
|
|
72
|
-
const min = Math.min(from, to, picking ?? from);
|
|
73
|
-
const max = Math.max(from, to, picking ?? from);
|
|
74
|
-
if (min === max && min === months) {
|
|
75
|
-
return 'active';
|
|
76
|
-
}
|
|
77
|
-
if (min === months) {
|
|
78
|
-
return 'start';
|
|
79
|
-
}
|
|
80
|
-
if (max === months) {
|
|
81
|
-
return 'end';
|
|
82
|
-
}
|
|
83
|
-
return min < months && months < max ? 'middle' : null;
|
|
84
|
-
}
|
|
85
|
-
get disabledItemHandlerWithMinMax() {
|
|
86
|
-
return this.calculateDisabledItemHandlerWithMinMax(this.disabledItemHandler, this.value(), this.isRangePicking(), this.min(), this.max(), this.minLength, this.maxLength);
|
|
87
|
-
}
|
|
88
|
-
getTuiMonth(monthNumber, yearNumber) {
|
|
89
|
-
return new TuiMonth(yearNumber, monthNumber);
|
|
90
|
-
}
|
|
91
|
-
isItemToday(item) {
|
|
92
|
-
return TODAY.monthSame(item);
|
|
93
|
-
}
|
|
94
|
-
onPickerYearClick(year) {
|
|
95
|
-
this.isYearPickerShown = false;
|
|
96
|
-
if (this.year.year !== year) {
|
|
97
|
-
this.updateActiveYear(new TuiYear(year));
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
onItemClick(month) {
|
|
101
|
-
if (!this.disabledItemHandlerWithMinMax(month)) {
|
|
102
|
-
this.monthClick.emit(month);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
onYearClick() {
|
|
106
|
-
this.isYearPickerShown = true;
|
|
107
|
-
}
|
|
108
|
-
onItemHovered(hovered, item) {
|
|
109
|
-
this.updateHoveredItem(hovered ? item : null);
|
|
110
|
-
}
|
|
111
|
-
// eslint-disable-next-line @typescript-eslint/max-params,max-params
|
|
112
|
-
calculateDisabledItemHandlerWithMinMax(disabledItemHandler, value, isRangePicking, min, max, minLength, maxLength) {
|
|
113
|
-
return (item) => {
|
|
114
|
-
const selectedMonth = value instanceof TuiMonthRange ? value.from : value;
|
|
115
|
-
const delta = isRangePicking && selectedMonth
|
|
116
|
-
? Math.abs(item.year * 12 +
|
|
117
|
-
item.month -
|
|
118
|
-
selectedMonth.year * 12 -
|
|
119
|
-
selectedMonth.month)
|
|
120
|
-
: 0;
|
|
121
|
-
const tooLong = delta && maxLength && delta > maxLength;
|
|
122
|
-
const tooShort = delta && minLength && delta < minLength;
|
|
123
|
-
return (tooLong ||
|
|
124
|
-
tooShort ||
|
|
125
|
-
item.monthBefore(min) ||
|
|
126
|
-
item.monthAfter(max) ||
|
|
127
|
-
disabledItemHandler(item));
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
updateHoveredItem(month) {
|
|
131
|
-
if (tuiNullableSame(this.hoveredItem, month, (a, b) => a.monthSame(b))) {
|
|
132
|
-
return;
|
|
133
|
-
}
|
|
134
|
-
this.hoveredItem = month;
|
|
135
|
-
this.hoveredItemChange.emit(month);
|
|
136
|
-
}
|
|
137
|
-
updateActiveYear(year) {
|
|
138
|
-
this.year = year;
|
|
139
|
-
this.yearChange.emit(year);
|
|
140
|
-
}
|
|
141
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCalendarMonth, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
142
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "16.2.12", type: TuiCalendarMonth, isStandalone: true, selector: "tui-calendar-month", inputs: { year: "year", disabledItemHandler: "disabledItemHandler", minLength: "minLength", maxLength: "maxLength", minSetter: ["min", "minSetter", (x) => x ?? TUI_FIRST_DAY], maxSetter: ["max", "maxSetter", (x) => x ?? TUI_LAST_DAY], valueSetter: ["value", "valueSetter"] }, outputs: { monthClick: "monthClick", hoveredItemChange: "hoveredItemChange", yearChange: "yearChange" }, host: { properties: { "class._picking": "isRangePicking()" } }, providers: [tuiAsAuxiliary(TuiCalendarMonth)], ngImport: i0, template: "<tui-scrollbar\n *ngIf=\"isYearPickerShown; else monthSelect\"\n class=\"t-scrollbar\"\n>\n <tui-calendar-year\n [initialItem]=\"year.year\"\n [max]=\"max().year\"\n [min]=\"min().year\"\n [rangeMode]=\"options.rangeMode\"\n [value]=\"value()\"\n (yearClick)=\"onPickerYearClick($event)\"\n />\n</tui-scrollbar>\n<ng-template #monthSelect>\n <tui-spin-button\n class=\"t-spin\"\n [focusable]=\"false\"\n [leftDisabled]=\"year.yearSameOrBefore(min())\"\n [rightDisabled]=\"year.yearSameOrAfter(max())\"\n (leftClick)=\"onPreviousYear()\"\n (rightClick)=\"onNextYear()\"\n >\n <button\n automation-id=\"tui-calendar-month__active-year\"\n tabIndex=\"-1\"\n tuiLink\n type=\"button\"\n (click)=\"onYearClick()\"\n >\n {{ year.formattedYear }}\n </button>\n </tui-spin-button>\n <div\n *tuiRepeatTimes=\"let row of 3\"\n class=\"t-row\"\n >\n <ng-container *tuiRepeatTimes=\"let column of 4\">\n <div\n *tuiLet=\"getTuiMonth(row * 4 + column, year.year) as item\"\n class=\"t-cell\"\n [attr.data-range]=\"getItemRange(item)\"\n [class.t-cell_disabled]=\"disabledItemHandlerWithMinMax(item)\"\n [class.t-cell_today]=\"isItemToday(item)\"\n (click)=\"onItemClick(item)\"\n (tuiHoveredChange)=\"onItemHovered($event, item)\"\n >\n {{ months()?.[row * 4 + column] }}\n </div>\n </ng-container>\n </div>\n</ng-template>\n", styles: [".t-row{display:flex;justify-content:flex-start;font:var(--tui-font-text-m)}.t-row:first-child{justify-content:flex-end}.t-row:last-child{justify-content:flex-start}.t-cell{position:relative;display:flex;align-items:center;justify-content:center;line-height:2rem;isolation:isolate;cursor:pointer;overflow:hidden;border:.125rem solid transparent;box-sizing:border-box;-webkit-mask:linear-gradient(transparent calc(50% - 1rem),#000 calc(50% - 1rem),#000 calc(50% + 1rem),transparent calc(50% + 1rem));mask:linear-gradient(transparent calc(50% - 1rem),#000 calc(50% - 1rem),#000 calc(50% + 1rem),transparent calc(50% + 1rem))}.t-cell:first-child{border-inline-start-color:transparent!important}.t-cell:last-child{border-inline-end-color:transparent!important}.t-cell:before,.t-cell:after{position:absolute;top:0;left:0;bottom:0;right:0;content:\"\";z-index:-1;border-radius:var(--tui-radius-m)}.t-cell:after{-webkit-mask:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 12 32\"><path d=\"M0.2856 0L0.6763 0C2.9265 0 4.9876 1.259 6.0147 3.2611L10.2442 11.5048C11.5301 14.0113 11.5683 16.9754 10.3472 19.5141L5.9766 28.6007C4.9772 30.6786 2.8754 32 0.5696 32H0.285645V0Z\"></path></svg>') right / .75rem 100% no-repeat,linear-gradient(#000,#000) left / calc(100% - .7rem) 100% no-repeat;mask:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 12 32\"><path d=\"M0.2856 0L0.6763 0C2.9265 0 4.9876 1.259 6.0147 3.2611L10.2442 11.5048C11.5301 14.0113 11.5683 16.9754 10.3472 19.5141L5.9766 28.6007C4.9772 30.6786 2.8754 32 0.5696 32H0.285645V0Z\"></path></svg>') right / .75rem 100% no-repeat,linear-gradient(#000,#000) left / calc(100% - .7rem) 100% no-repeat}.t-cell[data-range]:before{background:var(--tui-background-neutral-1)}:host._picking .t-cell[data-range]:before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=middle]{border-color:var(--tui-background-neutral-1)}:host._picking .t-cell[data-range=middle]{border-color:var(--tui-background-neutral-1-hover)}.t-cell[data-range=middle]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=middle]:not(:last-child):before{border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start]{border-inline-end-color:var(--tui-background-neutral-1);color:var(--tui-text-primary-on-accent-1)}:host._picking .t-cell[data-range=start]{border-inline-end-color:var(--tui-background-neutral-1-hover)}.t-cell[data-range=start]:not(:last-child):before{right:-1rem}.t-cell[data-range=start]:after{background:var(--tui-background-accent-1)}.t-cell[data-range=end]{border-inline-start-color:var(--tui-background-neutral-1);color:var(--tui-text-primary-on-accent-1)}:host._picking .t-cell[data-range=end]{border-inline-start-color:var(--tui-background-neutral-1-hover)}.t-cell[data-range=end]:not(:first-child):before{left:-1rem}.t-cell[data-range=end]:after{background:var(--tui-background-accent-1);transform:scaleX(-1)}.t-cell[data-range=active]{color:var(--tui-text-primary-on-accent-1)}.t-cell[data-range=active]:after{background:var(--tui-background-accent-1);-webkit-mask:none;mask:none}.t-cell_disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}.t-cell_today{text-decoration:underline;text-underline-offset:.25rem}@media (hover: hover) and (pointer: fine){.t-cell:hover:not([data-range=start]):not([data-range=end]):before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=start]:hover:after,.t-cell[data-range=end]:hover:after,.t-cell[data-range=active]:hover:after{background:var(--tui-background-accent-1-hover)}}:host{display:block;block-size:12rem;inline-size:16rem;padding:1.125rem;box-sizing:content-box}.t-spin{margin-block-end:1rem}.t-cell{inline-size:4rem;border-block-start-width:.75rem;border-block-end-width:.75rem}.t-scrollbar{block-size:inherit;inline-size:inherit}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TuiCalendarYear, selector: "tui-calendar-year", inputs: ["rangeMode", "disabledItemHandler", "initialItem", "min", "max", "value"], outputs: ["yearClick"] }, { kind: "directive", type: TuiHovered, selector: "[tuiHoveredChange]", outputs: ["tuiHoveredChange"] }, { kind: "directive", type: TuiLet, selector: "[tuiLet]", inputs: ["tuiLet"] }, { kind: "directive", type: TuiLink, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo"] }, { kind: "directive", type: TuiRepeatTimes, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: ["tuiRepeatTimesOf"] }, { kind: "component", type: TuiScrollbar, selector: "tui-scrollbar", inputs: ["hidden"] }, { kind: "component", type: TuiSpinButton, selector: "tui-spin-button", inputs: ["focusable", "disabled", "leftDisabled", "rightDisabled"], outputs: ["leftClick", "rightClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
143
|
-
}
|
|
144
|
-
__decorate([
|
|
145
|
-
tuiPure
|
|
146
|
-
], TuiCalendarMonth.prototype, "calculateDisabledItemHandlerWithMinMax", null);
|
|
147
|
-
export { TuiCalendarMonth };
|
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCalendarMonth, decorators: [{
|
|
149
|
-
type: Component,
|
|
150
|
-
args: [{ standalone: true, selector: 'tui-calendar-month', imports: [
|
|
151
|
-
NgIf,
|
|
152
|
-
TuiCalendarYear,
|
|
153
|
-
TuiHovered,
|
|
154
|
-
TuiLet,
|
|
155
|
-
TuiLink,
|
|
156
|
-
TuiRepeatTimes,
|
|
157
|
-
TuiScrollbar,
|
|
158
|
-
TuiSpinButton,
|
|
159
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiAsAuxiliary(TuiCalendarMonth)], host: {
|
|
160
|
-
'[class._picking]': 'isRangePicking()',
|
|
161
|
-
}, template: "<tui-scrollbar\n *ngIf=\"isYearPickerShown; else monthSelect\"\n class=\"t-scrollbar\"\n>\n <tui-calendar-year\n [initialItem]=\"year.year\"\n [max]=\"max().year\"\n [min]=\"min().year\"\n [rangeMode]=\"options.rangeMode\"\n [value]=\"value()\"\n (yearClick)=\"onPickerYearClick($event)\"\n />\n</tui-scrollbar>\n<ng-template #monthSelect>\n <tui-spin-button\n class=\"t-spin\"\n [focusable]=\"false\"\n [leftDisabled]=\"year.yearSameOrBefore(min())\"\n [rightDisabled]=\"year.yearSameOrAfter(max())\"\n (leftClick)=\"onPreviousYear()\"\n (rightClick)=\"onNextYear()\"\n >\n <button\n automation-id=\"tui-calendar-month__active-year\"\n tabIndex=\"-1\"\n tuiLink\n type=\"button\"\n (click)=\"onYearClick()\"\n >\n {{ year.formattedYear }}\n </button>\n </tui-spin-button>\n <div\n *tuiRepeatTimes=\"let row of 3\"\n class=\"t-row\"\n >\n <ng-container *tuiRepeatTimes=\"let column of 4\">\n <div\n *tuiLet=\"getTuiMonth(row * 4 + column, year.year) as item\"\n class=\"t-cell\"\n [attr.data-range]=\"getItemRange(item)\"\n [class.t-cell_disabled]=\"disabledItemHandlerWithMinMax(item)\"\n [class.t-cell_today]=\"isItemToday(item)\"\n (click)=\"onItemClick(item)\"\n (tuiHoveredChange)=\"onItemHovered($event, item)\"\n >\n {{ months()?.[row * 4 + column] }}\n </div>\n </ng-container>\n </div>\n</ng-template>\n", styles: [".t-row{display:flex;justify-content:flex-start;font:var(--tui-font-text-m)}.t-row:first-child{justify-content:flex-end}.t-row:last-child{justify-content:flex-start}.t-cell{position:relative;display:flex;align-items:center;justify-content:center;line-height:2rem;isolation:isolate;cursor:pointer;overflow:hidden;border:.125rem solid transparent;box-sizing:border-box;-webkit-mask:linear-gradient(transparent calc(50% - 1rem),#000 calc(50% - 1rem),#000 calc(50% + 1rem),transparent calc(50% + 1rem));mask:linear-gradient(transparent calc(50% - 1rem),#000 calc(50% - 1rem),#000 calc(50% + 1rem),transparent calc(50% + 1rem))}.t-cell:first-child{border-inline-start-color:transparent!important}.t-cell:last-child{border-inline-end-color:transparent!important}.t-cell:before,.t-cell:after{position:absolute;top:0;left:0;bottom:0;right:0;content:\"\";z-index:-1;border-radius:var(--tui-radius-m)}.t-cell:after{-webkit-mask:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 12 32\"><path d=\"M0.2856 0L0.6763 0C2.9265 0 4.9876 1.259 6.0147 3.2611L10.2442 11.5048C11.5301 14.0113 11.5683 16.9754 10.3472 19.5141L5.9766 28.6007C4.9772 30.6786 2.8754 32 0.5696 32H0.285645V0Z\"></path></svg>') right / .75rem 100% no-repeat,linear-gradient(#000,#000) left / calc(100% - .7rem) 100% no-repeat;mask:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 12 32\"><path d=\"M0.2856 0L0.6763 0C2.9265 0 4.9876 1.259 6.0147 3.2611L10.2442 11.5048C11.5301 14.0113 11.5683 16.9754 10.3472 19.5141L5.9766 28.6007C4.9772 30.6786 2.8754 32 0.5696 32H0.285645V0Z\"></path></svg>') right / .75rem 100% no-repeat,linear-gradient(#000,#000) left / calc(100% - .7rem) 100% no-repeat}.t-cell[data-range]:before{background:var(--tui-background-neutral-1)}:host._picking .t-cell[data-range]:before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=middle]{border-color:var(--tui-background-neutral-1)}:host._picking .t-cell[data-range=middle]{border-color:var(--tui-background-neutral-1-hover)}.t-cell[data-range=middle]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=middle]:not(:last-child):before{border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start]{border-inline-end-color:var(--tui-background-neutral-1);color:var(--tui-text-primary-on-accent-1)}:host._picking .t-cell[data-range=start]{border-inline-end-color:var(--tui-background-neutral-1-hover)}.t-cell[data-range=start]:not(:last-child):before{right:-1rem}.t-cell[data-range=start]:after{background:var(--tui-background-accent-1)}.t-cell[data-range=end]{border-inline-start-color:var(--tui-background-neutral-1);color:var(--tui-text-primary-on-accent-1)}:host._picking .t-cell[data-range=end]{border-inline-start-color:var(--tui-background-neutral-1-hover)}.t-cell[data-range=end]:not(:first-child):before{left:-1rem}.t-cell[data-range=end]:after{background:var(--tui-background-accent-1);transform:scaleX(-1)}.t-cell[data-range=active]{color:var(--tui-text-primary-on-accent-1)}.t-cell[data-range=active]:after{background:var(--tui-background-accent-1);-webkit-mask:none;mask:none}.t-cell_disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}.t-cell_today{text-decoration:underline;text-underline-offset:.25rem}@media (hover: hover) and (pointer: fine){.t-cell:hover:not([data-range=start]):not([data-range=end]):before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=start]:hover:after,.t-cell[data-range=end]:hover:after,.t-cell[data-range=active]:hover:after{background:var(--tui-background-accent-1-hover)}}:host{display:block;block-size:12rem;inline-size:16rem;padding:1.125rem;box-sizing:content-box}.t-spin{margin-block-end:1rem}.t-cell{inline-size:4rem;border-block-start-width:.75rem;border-block-end-width:.75rem}.t-scrollbar{block-size:inherit;inline-size:inherit}\n"] }]
|
|
162
|
-
}], propDecorators: { year: [{
|
|
163
|
-
type: Input
|
|
164
|
-
}], disabledItemHandler: [{
|
|
165
|
-
type: Input
|
|
166
|
-
}], minLength: [{
|
|
167
|
-
type: Input
|
|
168
|
-
}], maxLength: [{
|
|
169
|
-
type: Input
|
|
170
|
-
}], monthClick: [{
|
|
171
|
-
type: Output
|
|
172
|
-
}], hoveredItemChange: [{
|
|
173
|
-
type: Output
|
|
174
|
-
}], yearChange: [{
|
|
175
|
-
type: Output
|
|
176
|
-
}], minSetter: [{
|
|
177
|
-
type: Input,
|
|
178
|
-
args: [{ alias: 'min', transform: (x) => x ?? TUI_FIRST_DAY }]
|
|
179
|
-
}], maxSetter: [{
|
|
180
|
-
type: Input,
|
|
181
|
-
args: [{ alias: 'max', transform: (x) => x ?? TUI_LAST_DAY }]
|
|
182
|
-
}], valueSetter: [{
|
|
183
|
-
type: Input,
|
|
184
|
-
args: ['value']
|
|
185
|
-
}], calculateDisabledItemHandlerWithMinMax: [] } });
|
|
186
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXItbW9udGguY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvY2FsZW5kYXItbW9udGgvY2FsZW5kYXItbW9udGguY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvY2FsZW5kYXItbW9udGgvY2FsZW5kYXItbW9udGgudGVtcGxhdGUuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLElBQUksRUFBQyxNQUFNLG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QgcGlja2luZyA9IHRoaXMuaXNSYW5nZVBpY2tpbmcoKSA/IGhvdmVyZWQgOiBudWxsO1xuICAgICAgICBjb25zdCBtaW4gPSBNYXRoLm1pbihmcm9tLCB0bywgcGlja2luZyA/PyBmcm9tKTtcbiAgICAgICAgY29uc3QgbWF4ID0gTWF0aC5tYXgoZnJvbSwgdG8sIHBpY2tpbmcgPz8gZnJvbSk7XG5cbiAgICAgICAgaWYgKG1pbiA9PT0gbWF4ICYmIG1pbiA9PT0gbW9udGhzKSB7XG4gICAgICAgICAgICByZXR1cm4gJ2FjdGl2ZSc7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAobWluID09PSBtb250aHMpIHtcbiAgICAgICAgICAgIHJldHVybiAnc3RhcnQnO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKG1heCA9PT0gbW9udGhzKSB7XG4gICAgICAgICAgICByZXR1cm4gJ2VuZCc7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gbWluIDwgbW9udGhzICYmIG1vbnRocyA8IG1heCA/ICdtaWRkbGUnIDogbnVsbDtcbiAgICB9XG5cbiAgICBwcm90ZWN0ZWQgZ2V0IGRpc2FibGVkSXRlbUhhbmRsZXJXaXRoTWluTWF4KCk6IFR1aUJvb2xlYW5IYW5kbGVyPFR1aU1vbnRoPiB7XG4gICAgICAgIHJldHVybiB0aGlzLmNhbGN1bGF0ZURpc2FibGVkSXRlbUhhbmRsZXJXaXRoTWluTWF4KFxuICAgICAgICAgICAgdGhpcy5kaXNhYmxlZEl0ZW1IYW5kbGVyLFxuICAgICAgICAgICAgdGhpcy52YWx1ZSgpLFxuICAgICAgICAgICAgdGhpcy5pc1JhbmdlUGlja2luZygpLFxuICAgICAgICAgICAgdGhpcy5taW4oKSxcbiAgICAgICAgICAgIHRoaXMubWF4KCksXG4gICAgICAgICAgICB0aGlzLm1pbkxlbmd0aCxcbiAgICAgICAgICAgIHRoaXMubWF4TGVuZ3RoLFxuICAgICAgICApO1xuICAgIH1cblxuICAgIHByb3RlY3RlZCBnZXRUdWlNb250aChtb250aE51bWJlcjogbnVtYmVyLCB5ZWFyTnVtYmVyOiBudW1iZXIpOiBUdWlNb250aCB7XG4gICAgICAgIHJldHVybiBuZXcgVHVpTW9udGgoeWVhck51bWJlciwgbW9udGhOdW1iZXIpO1xuICAgIH1cblxuICAgIHByb3RlY3RlZCBpc0l0ZW1Ub2RheShpdGVtOiBUdWlNb250aCk6IGJvb2xlYW4ge1xuICAgICAgICByZXR1cm4gVE9EQVkubW9udGhTYW1lKGl0ZW0pO1xuICAgIH1cblxuICAgIHByb3RlY3RlZCBvblBpY2tlclllYXJDbGljayh5ZWFyOiBudW1iZXIpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5pc1llYXJQaWNrZXJTaG93biA9IGZhbHNlO1xuXG4gICAgICAgIGlmICh0aGlzLnllYXIueWVhciAhPT0geWVhcikge1xuICAgICAgICAgICAgdGhpcy51cGRhdGVBY3RpdmVZZWFyKG5ldyBUdWlZZWFyKHllYXIpKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHByb3RlY3RlZCBvbkl0ZW1DbGljayhtb250aDogVHVpTW9udGgpOiB2b2lkIHtcbiAgICAgICAgaWYgKCF0aGlzLmRpc2FibGVkSXRlbUhhbmRsZXJXaXRoTWluTWF4KG1vbnRoKSkge1xuICAgICAgICAgICAgdGhpcy5tb250aENsaWNrLmVtaXQobW9udGgpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHJvdGVjdGVkIG9uWWVhckNsaWNrKCk6IHZvaWQge1xuICAgICAgICB0aGlzLmlzWWVhclBpY2tlclNob3duID0gdHJ1ZTtcbiAgICB9XG5cbiAgICBwcm90ZWN0ZWQgb25JdGVtSG92ZXJlZChob3ZlcmVkOiBib29sZWFuLCBpdGVtOiBUdWlNb250aCk6IHZvaWQge1xuICAgICAgICB0aGlzLnVwZGF0ZUhvdmVyZWRJdGVtKGhvdmVyZWQgPyBpdGVtIDogbnVsbCk7XG4gICAgfVxuXG4gICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9tYXgtcGFyYW1zLG1heC1wYXJhbXNcbiAgICBAdHVpUHVyZVxuICAgIHByaXZhdGUgY2FsY3VsYXRlRGlzYWJsZWRJdGVtSGFuZGxlcldpdGhNaW5NYXgoXG4gICAgICAgIGRpc2FibGVkSXRlbUhhbmRsZXI6IFR1aUJvb2xlYW5IYW5kbGVyPFR1aU1vbnRoPixcbiAgICAgICAgdmFsdWU6IFR1aU1vbnRoIHwgVHVpTW9udGhSYW5nZSB8IG51bGwsXG4gICAgICAgIGlzUmFuZ2VQaWNraW5nOiBib29sZWFuLFxuICAgICAgICBtaW46IFR1aU1vbnRoLFxuICAgICAgICBtYXg6IFR1aU1vbnRoLFxuICAgICAgICBtaW5MZW5ndGg6IG51bWJlciB8IG51bGwsXG4gICAgICAgIG1heExlbmd0aDogbnVtYmVyIHwgbnVsbCxcbiAgICApOiBUdWlCb29sZWFuSGFuZGxlcjxUdWlNb250aD4ge1xuICAgICAgICByZXR1cm4gKGl0ZW0pID0+IHtcbiAgICAgICAgICAgIGNvbnN0IHNlbGVjdGVkTW9udGggPSB2YWx1ZSBpbnN0YW5jZW9mIFR1aU1vbnRoUmFuZ2UgPyB2YWx1ZS5mcm9tIDogdmFsdWU7XG4gICAgICAgICAgICBjb25zdCBkZWx0YSA9XG4gICAgICAgICAgICAgICAgaXNSYW5nZVBpY2tpbmcgJiYgc2VsZWN0ZWRNb250aFxuICAgICAgICAgICAgICAgICAgICA/IE1hdGguYWJzKFxuICAgICAgICAgICAgICAgICAgICAgICAgICBpdGVtLnllYXIgKiAxMiArXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpdGVtLm1vbnRoIC1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNlbGVjdGVkTW9udGgueWVhciAqIDEyIC1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNlbGVjdGVkTW9udGgubW9udGgsXG4gICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgICA6IDA7XG5cbiAgICAgICAgICAgIGNvbnN0IHRvb0xvbmcgPSBkZWx0YSAmJiBtYXhMZW5ndGggJiYgZGVsdGEgPiBtYXhMZW5ndGg7XG4gICAgICAgICAgICBjb25zdCB0b29TaG9ydCA9IGRlbHRhICYmIG1pbkxlbmd0aCAmJiBkZWx0YSA8IG1pbkxlbmd0aDtcblxuICAgICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgICAgICB0b29Mb25nIHx8XG4gICAgICAgICAgICAgICAgdG9vU2hvcnQgfHxcbiAgICAgICAgICAgICAgICBpdGVtLm1vbnRoQmVmb3JlKG1pbikgfHxcbiAgICAgICAgICAgICAgICBpdGVtLm1vbnRoQWZ0ZXIobWF4KSB8fFxuICAgICAgICAgICAgICAgIGRpc2FibGVkSXRlbUhhbmRsZXIoaXRlbSlcbiAgICAgICAgICAgICk7XG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgcHJpdmF0ZSB1cGRhdGVIb3ZlcmVkSXRlbShtb250aDogVHVpTW9udGggfCBudWxsKTogdm9pZCB7XG4gICAgICAgIGlmICh0dWlOdWxsYWJsZVNhbWUodGhpcy5ob3ZlcmVkSXRlbSwgbW9udGgsIChhLCBiKSA9PiBhLm1vbnRoU2FtZShiKSkpIHtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMuaG92ZXJlZEl0ZW0gPSBtb250aDtcbiAgICAgICAgdGhpcy5ob3ZlcmVkSXRlbUNoYW5nZS5lbWl0KG1vbnRoKTtcbiAgICB9XG5cbiAgICBwcml2YXRlIHVwZGF0ZUFjdGl2ZVllYXIoeWVhcjogVHVpWWVhcik6IHZvaWQge1xuICAgICAgICB0aGlzLnllYXIgPSB5ZWFyO1xuICAgICAgICB0aGlzLnllYXJDaGFuZ2UuZW1pdCh5ZWFyKTtcbiAgICB9XG59XG4iLCI8dHVpLXNjcm9sbGJhclxuICAgICpuZ0lmPVwiaXNZZWFyUGlja2VyU2hvd247IGVsc2UgbW9udGhTZWxlY3RcIlxuICAgIGNsYXNzPVwidC1zY3JvbGxiYXJcIlxuPlxuICAgIDx0dWktY2FsZW5kYXIteWVhclxuICAgICAgICBbaW5pdGlhbEl0ZW1dPVwieWVhci55ZWFyXCJcbiAgICAgICAgW21heF09XCJtYXgoKS55ZWFyXCJcbiAgICAgICAgW21pbl09XCJtaW4oKS55ZWFyXCJcbiAgICAgICAgW3JhbmdlTW9kZV09XCJvcHRpb25zLnJhbmdlTW9kZVwiXG4gICAgICAgIFt2YWx1ZV09XCJ2YWx1ZSgpXCJcbiAgICAgICAgKHllYXJDbGljayk9XCJvblBpY2tlclllYXJDbGljaygkZXZlbnQpXCJcbiAgICAvPlxuPC90dWktc2Nyb2xsYmFyPlxuPG5nLXRlbXBsYXRlICNtb250aFNlbGVjdD5cbiAgICA8dHVpLXNwaW4tYnV0dG9uXG4gICAgICAgIGNsYXNzPVwidC1zcGluXCJcbiAgICAgICAgW2ZvY3VzYWJsZV09XCJmYWxzZVwiXG4gICAgICAgIFtsZWZ0RGlzYWJsZWRdPVwieWVhci55ZWFyU2FtZU9yQmVmb3JlKG1pbigpKVwiXG4gICAgICAgIFtyaWdodERpc2FibGVkXT1cInllYXIueWVhclNhbWVPckFmdGVyKG1heCgpKVwiXG4gICAgICAgIChsZWZ0Q2xpY2spPVwib25QcmV2aW91c1llYXIoKVwiXG4gICAgICAgIChyaWdodENsaWNrKT1cIm9uTmV4dFllYXIoKVwiXG4gICAgPlxuICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICBhdXRvbWF0aW9uLWlkPVwidHVpLWNhbGVuZGFyLW1vbnRoX19hY3RpdmUteWVhclwiXG4gICAgICAgICAgICB0YWJJbmRleD1cIi0xXCJcbiAgICAgICAgICAgIHR1aUxpbmtcbiAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICAgICAgKGNsaWNrKT1cIm9uWWVhckNsaWNrKClcIlxuICAgICAgICA+XG4gICAgICAgICAgICB7eyB5ZWFyLmZvcm1hdHRlZFllYXIgfX1cbiAgICAgICAgPC9idXR0b24+XG4gICAgPC90dWktc3Bpbi1idXR0b24+XG4gICAgPGRpdlxuICAgICAgICAqdHVpUmVwZWF0VGltZXM9XCJsZXQgcm93IG9mIDNcIlxuICAgICAgICBjbGFzcz1cInQtcm93XCJcbiAgICA+XG4gICAgICAgIDxuZy1jb250YWluZXIgKnR1aVJlcGVhdFRpbWVzPVwibGV0IGNvbHVtbiBvZiA0XCI+XG4gICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgKnR1aUxldD1cImdldFR1aU1vbnRoKHJvdyAqIDQgKyBjb2x1bW4sIHllYXIueWVhcikgYXMgaXRlbVwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ0LWNlbGxcIlxuICAgICAgICAgICAgICAgIFthdHRyLmRhdGEtcmFuZ2VdPVwiZ2V0SXRlbVJhbmdlKGl0ZW0pXCJcbiAgICAgICAgICAgICAgICBbY2xhc3MudC1jZWxsX2Rpc2FibGVkXT1cImRpc2FibGVkSXRlbUhhbmRsZXJXaXRoTWluTWF4KGl0ZW0pXCJcbiAgICAgICAgICAgICAgICBbY2xhc3MudC1jZWxsX3RvZGF5XT1cImlzSXRlbVRvZGF5KGl0ZW0pXCJcbiAgICAgICAgICAgICAgICAoY2xpY2spPVwib25JdGVtQ2xpY2soaXRlbSlcIlxuICAgICAgICAgICAgICAgICh0dWlIb3ZlcmVkQ2hhbmdlKT1cIm9uSXRlbUhvdmVyZWQoJGV2ZW50LCBpdGVtKVwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAge3sgbW9udGhzKCk/Lltyb3cgKiA0ICsgY29sdW1uXSB9fVxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { tuiCreateOptions } from '@taiga-ui/cdk/utils/di';
|
|
2
|
-
export const TUI_CALENDAR_MONTH_DEFAULT_OPTIONS = {
|
|
3
|
-
rangeMode: false,
|
|
4
|
-
};
|
|
5
|
-
export const [TUI_CALENDAR_MONTH_OPTIONS, tuiCalendarMonthOptionsProvider] = tuiCreateOptions(TUI_CALENDAR_MONTH_DEFAULT_OPTIONS);
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXItbW9udGgub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2NhbGVuZGFyLW1vbnRoL2NhbGVuZGFyLW1vbnRoLm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sd0JBQXdCLENBQUM7QUFNeEQsTUFBTSxDQUFDLE1BQU0sa0NBQWtDLEdBQTRCO0lBQ3ZFLFNBQVMsRUFBRSxLQUFLO0NBQ25CLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSxDQUFDLDBCQUEwQixFQUFFLCtCQUErQixDQUFDLEdBQ3RFLGdCQUFnQixDQUFDLGtDQUFrQyxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge3R1aUNyZWF0ZU9wdGlvbnN9IGZyb20gJ0B0YWlnYS11aS9jZGsvdXRpbHMvZGknO1xuXG5leHBvcnQgaW50ZXJmYWNlIFR1aUNhbGVuZGFyTW9udGhPcHRpb25zIHtcbiAgICByYW5nZU1vZGU6IGJvb2xlYW47XG59XG5cbmV4cG9ydCBjb25zdCBUVUlfQ0FMRU5EQVJfTU9OVEhfREVGQVVMVF9PUFRJT05TOiBUdWlDYWxlbmRhck1vbnRoT3B0aW9ucyA9IHtcbiAgICByYW5nZU1vZGU6IGZhbHNlLFxufTtcblxuZXhwb3J0IGNvbnN0IFtUVUlfQ0FMRU5EQVJfTU9OVEhfT1BUSU9OUywgdHVpQ2FsZW5kYXJNb250aE9wdGlvbnNQcm92aWRlcl0gPVxuICAgIHR1aUNyZWF0ZU9wdGlvbnMoVFVJX0NBTEVOREFSX01PTlRIX0RFRkFVTFRfT1BUSU9OUyk7XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './calendar-month.component';
|
|
2
|
-
export * from './calendar-month.options';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9jYWxlbmRhci1tb250aC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NhbGVuZGFyLW1vbnRoLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2NhbGVuZGFyLW1vbnRoLm9wdGlvbnMnO1xuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtY2FsZW5kYXItbW9udGguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9jYWxlbmRhci1tb250aC90YWlnYS11aS1raXQtY29tcG9uZW50cy1jYWxlbmRhci1tb250aC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TuiDayRange } from '@taiga-ui/cdk/date-time';
|
|
2
|
-
export const calculateDisabledItemHandler = (disabledItemHandler, value, minLength) => (item) => {
|
|
3
|
-
if (!value || value instanceof TuiDayRange || !minLength) {
|
|
4
|
-
return disabledItemHandler(item);
|
|
5
|
-
}
|
|
6
|
-
const negativeMinLength = Object.fromEntries(Object.entries(minLength).map(([key, value]) => [key, -value]));
|
|
7
|
-
const disabledBefore = value.append(negativeMinLength).append({ day: 1 });
|
|
8
|
-
const disabledAfter = value.append(minLength).append({ day: -1 });
|
|
9
|
-
const inDisabledRange = disabledBefore.dayBefore(item) && disabledAfter.dayAfter(item);
|
|
10
|
-
return inDisabledRange || disabledItemHandler(item);
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsY3VsYXRlLWRpc2FibGVkLWl0ZW0taGFuZGxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2NhbGVuZGFyLXJhbmdlL2NhbGN1bGF0ZS1kaXNhYmxlZC1pdGVtLWhhbmRsZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUErQixXQUFXLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUdsRixNQUFNLENBQUM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ICAgICAgIGRpc2FibGVkQmVmb3JlLmRheUJlZm9yZShpdGVtKSAmJiBkaXNhYmxlZEFmdGVyLmRheUFmdGVyKGl0ZW0pO1xuXG4gICAgcmV0dXJuIGluRGlzYWJsZWRSYW5nZSB8fCBkaXNhYmxlZEl0ZW1IYW5kbGVyKGl0ZW0pO1xufTtcbiJdfQ==
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { AsyncPipe, NgForOf, NgIf } from '@angular/common';
|
|
3
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, inject, Input, Output, } from '@angular/core';
|
|
4
|
-
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
5
|
-
import { TUI_FALSE_HANDLER } from '@taiga-ui/cdk/constants';
|
|
6
|
-
import { TUI_FIRST_DAY, TUI_LAST_DAY, TuiDay, TuiDayRange, TuiMonth, } from '@taiga-ui/cdk/date-time';
|
|
7
|
-
import { tuiWatch } from '@taiga-ui/cdk/observables';
|
|
8
|
-
import { TuiMapperPipe } from '@taiga-ui/cdk/pipes/mapper';
|
|
9
|
-
import { TUI_IS_MOBILE } from '@taiga-ui/cdk/tokens';
|
|
10
|
-
import { tuiIsString, tuiNullableSame, tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
11
|
-
import { TuiCalendar, tuiCalendarSheetOptionsProvider, } from '@taiga-ui/core/components/calendar';
|
|
12
|
-
import { TuiDataList } from '@taiga-ui/core/components/data-list';
|
|
13
|
-
import { TuiIcon } from '@taiga-ui/core/components/icon';
|
|
14
|
-
import { TUI_COMMON_ICONS, tuiAsAuxiliary } from '@taiga-ui/core/tokens';
|
|
15
|
-
import { TUI_CALENDAR_DATE_STREAM, TUI_OTHER_DATE_TEXT } from '@taiga-ui/kit/tokens';
|
|
16
|
-
import { calculateDisabledItemHandler } from './calculate-disabled-item-handler';
|
|
17
|
-
import { TUI_DAY_CAPS_MAPPER } from './day-caps-mapper';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
import * as i1 from "@taiga-ui/core/components/data-list";
|
|
20
|
-
class TuiCalendarRange {
|
|
21
|
-
constructor() {
|
|
22
|
-
/**
|
|
23
|
-
* @deprecated use `item`
|
|
24
|
-
*/
|
|
25
|
-
this.selectedPeriod = null;
|
|
26
|
-
this.cdr = inject(ChangeDetectorRef);
|
|
27
|
-
this.currentValue = null;
|
|
28
|
-
this.previousValue = null;
|
|
29
|
-
this.hoveredItem = null;
|
|
30
|
-
this.month = TuiMonth.currentLocal();
|
|
31
|
-
this.otherDateText$ = inject(TUI_OTHER_DATE_TEXT);
|
|
32
|
-
this.icons = inject(TUI_COMMON_ICONS);
|
|
33
|
-
this.capsMapper = TUI_DAY_CAPS_MAPPER;
|
|
34
|
-
this.mobile = inject(TUI_IS_MOBILE);
|
|
35
|
-
this.disabledItemHandler = TUI_FALSE_HANDLER;
|
|
36
|
-
this.markerHandler = null;
|
|
37
|
-
this.items = [];
|
|
38
|
-
this.min = TUI_FIRST_DAY;
|
|
39
|
-
this.max = TUI_LAST_DAY;
|
|
40
|
-
this.minLength = null;
|
|
41
|
-
this.maxLength = null;
|
|
42
|
-
this.item = null;
|
|
43
|
-
this.valueChange = new EventEmitter();
|
|
44
|
-
this.itemChange = new EventEmitter();
|
|
45
|
-
this.monthOffset = (value, month) => value.append({ month });
|
|
46
|
-
this.mapper = (items, min, max, minLength, otherDateText) => [
|
|
47
|
-
...items.filter((item) => (minLength === null ||
|
|
48
|
-
item.range.from
|
|
49
|
-
.append(minLength)
|
|
50
|
-
.append({ day: -1 })
|
|
51
|
-
.daySameOrBefore(item.range.to)) &&
|
|
52
|
-
(min === null || item.range.to.daySameOrAfter(min)) &&
|
|
53
|
-
(max === null || item.range.from.daySameOrBefore(max))),
|
|
54
|
-
otherDateText || '',
|
|
55
|
-
];
|
|
56
|
-
inject(TUI_CALENDAR_DATE_STREAM, { optional: true })
|
|
57
|
-
?.pipe(tuiWatch(), takeUntilDestroyed())
|
|
58
|
-
.subscribe((value) => {
|
|
59
|
-
this.currentValue = value;
|
|
60
|
-
this.initDefaultViewedMonth();
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
set valueSetter(value) {
|
|
64
|
-
this.currentValue = value;
|
|
65
|
-
}
|
|
66
|
-
set defaultViewedMonth(month) {
|
|
67
|
-
if (!this.currentValue) {
|
|
68
|
-
this.month = month;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
set value(value) {
|
|
72
|
-
this.cdr.markForCheck();
|
|
73
|
-
this.currentValue = value;
|
|
74
|
-
this.initDefaultViewedMonth();
|
|
75
|
-
}
|
|
76
|
-
get defaultViewedMonth() {
|
|
77
|
-
return this.month;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* @deprecated use `item`
|
|
81
|
-
*/
|
|
82
|
-
get selectedActivePeriod() {
|
|
83
|
-
return this.selectedPeriod;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* @deprecated use `item`
|
|
87
|
-
*/
|
|
88
|
-
set selectedActivePeriod(period) {
|
|
89
|
-
this.selectedPeriod = period;
|
|
90
|
-
}
|
|
91
|
-
ngOnChanges() {
|
|
92
|
-
if (!this.currentValue) {
|
|
93
|
-
this.initDefaultViewedMonth();
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
ngOnInit() {
|
|
97
|
-
this.initDefaultViewedMonth();
|
|
98
|
-
}
|
|
99
|
-
get calculatedDisabledItemHandler() {
|
|
100
|
-
return this.calculateDisabledItemHandler(this.disabledItemHandler, this.currentValue, this.minLength);
|
|
101
|
-
}
|
|
102
|
-
onEsc(event) {
|
|
103
|
-
if (event.key !== 'Escape' || !(this.currentValue instanceof TuiDay)) {
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
event.stopPropagation();
|
|
107
|
-
this.currentValue = this.previousValue;
|
|
108
|
-
}
|
|
109
|
-
isItemActive(item) {
|
|
110
|
-
const { activePeriod } = this;
|
|
111
|
-
return ((tuiIsString(item) && activePeriod === null) ||
|
|
112
|
-
activePeriod === item ||
|
|
113
|
-
activePeriod?.toString() === item.toString());
|
|
114
|
-
}
|
|
115
|
-
onItemSelect(item) {
|
|
116
|
-
if (!tuiIsString(item)) {
|
|
117
|
-
this.selectedActivePeriod = item;
|
|
118
|
-
this.itemChange.emit(item);
|
|
119
|
-
this.updateValue(item.range.dayLimit(this.min, this.max));
|
|
120
|
-
}
|
|
121
|
-
else if (this.activePeriod !== null) {
|
|
122
|
-
this.selectedActivePeriod = null;
|
|
123
|
-
this.itemChange.emit(null);
|
|
124
|
-
this.updateValue(null);
|
|
125
|
-
}
|
|
126
|
-
this.initDefaultViewedMonth();
|
|
127
|
-
}
|
|
128
|
-
onMonthChange(month) {
|
|
129
|
-
this.month = month;
|
|
130
|
-
}
|
|
131
|
-
onDayClick(day) {
|
|
132
|
-
this.previousValue = this.currentValue;
|
|
133
|
-
this.selectedActivePeriod = null;
|
|
134
|
-
if (this.currentValue instanceof TuiDay) {
|
|
135
|
-
const range = TuiDayRange.sort(this.currentValue, day);
|
|
136
|
-
this.currentValue = range;
|
|
137
|
-
this.itemChange.emit(this.findItemByDayRange(range));
|
|
138
|
-
this.updateValue(range);
|
|
139
|
-
}
|
|
140
|
-
else {
|
|
141
|
-
this.currentValue = day;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
updateValue(value) {
|
|
145
|
-
this.currentValue = value;
|
|
146
|
-
this.valueChange.emit(value);
|
|
147
|
-
}
|
|
148
|
-
get activePeriod() {
|
|
149
|
-
return (this.item ??
|
|
150
|
-
this.selectedActivePeriod ??
|
|
151
|
-
(this.items.find((item) => tuiNullableSame(this.currentValue instanceof TuiDay
|
|
152
|
-
? new TuiDayRange(this.currentValue, this.currentValue)
|
|
153
|
-
: this.currentValue, item.range, (a, b) => a.from.daySame(b.from.dayLimit(this.min, this.max)) &&
|
|
154
|
-
a.to.daySame(b.to.dayLimit(this.min, this.max)))) ||
|
|
155
|
-
null));
|
|
156
|
-
}
|
|
157
|
-
calculateDisabledItemHandler(disabledItemHandler, value, minLength) {
|
|
158
|
-
return calculateDisabledItemHandler(disabledItemHandler, value, minLength);
|
|
159
|
-
}
|
|
160
|
-
initDefaultViewedMonth() {
|
|
161
|
-
if (this.currentValue instanceof TuiDay) {
|
|
162
|
-
this.month = this.currentValue;
|
|
163
|
-
}
|
|
164
|
-
else if (this.currentValue) {
|
|
165
|
-
this.month = this.items.length
|
|
166
|
-
? this.currentValue.to
|
|
167
|
-
: this.currentValue.from;
|
|
168
|
-
}
|
|
169
|
-
else if (this.max && this.month.monthSameOrAfter(this.max)) {
|
|
170
|
-
this.month = this.items.length ? this.max : this.max.append({ month: -1 });
|
|
171
|
-
}
|
|
172
|
-
else if (this.min && this.month.monthSameOrBefore(this.min)) {
|
|
173
|
-
this.month = this.min;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
findItemByDayRange(dayRange) {
|
|
177
|
-
return this.items.find((item) => dayRange.daySame(item.range)) ?? null;
|
|
178
|
-
}
|
|
179
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCalendarRange, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
180
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiCalendarRange, isStandalone: true, selector: "tui-calendar-range", inputs: { disabledItemHandler: "disabledItemHandler", markerHandler: "markerHandler", items: "items", min: "min", max: "max", minLength: "minLength", maxLength: "maxLength", item: "item", valueSetter: ["value", "valueSetter"], defaultViewedMonth: "defaultViewedMonth" }, outputs: { valueChange: "valueChange", itemChange: "itemChange" }, host: { listeners: { "document:keydown.capture": "onEsc($event)" }, properties: { "class._mobile": "mobile" } }, providers: [
|
|
181
|
-
tuiAsAuxiliary(TuiCalendarRange),
|
|
182
|
-
tuiCalendarSheetOptionsProvider({ rangeMode: true }),
|
|
183
|
-
], usesOnChanges: true, ngImport: i0, template: "<tui-calendar\n automation-id=\"tui-calendar-range__calendar\"\n [class.t-calendar]=\"!mobile\"\n [disabledItemHandler]=\"calculatedDisabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"max | tuiMapper: capsMapper : currentValue : maxLength : false\"\n [maxViewedMonth]=\"items.length || mobile ? null : (defaultViewedMonth | tuiMapper: monthOffset : -1)\"\n [min]=\"min | tuiMapper: capsMapper : currentValue : maxLength : true\"\n [month]=\"defaultViewedMonth\"\n [showAdjacent]=\"!!items.length || mobile\"\n [value]=\"currentValue\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n/>\n<tui-calendar\n *ngIf=\"!items.length && !mobile; else presets\"\n [disabledItemHandler]=\"calculatedDisabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"max | tuiMapper: capsMapper : currentValue : maxLength : false\"\n [min]=\"min | tuiMapper: capsMapper : currentValue : maxLength : true\"\n [minViewedMonth]=\"defaultViewedMonth | tuiMapper: monthOffset : 1\"\n [month]=\"defaultViewedMonth | tuiMapper: monthOffset : 1\"\n [showAdjacent]=\"false\"\n [value]=\"currentValue\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event.append({month: -1}))\"\n/>\n<ng-template #presets>\n <tui-data-list\n *ngIf=\"!mobile\"\n automation-id=\"tui-calendar-range__menu\"\n role=\"menu\"\n [style.flex]=\"1\"\n >\n <button\n *ngFor=\"let item of items | tuiMapper: mapper : min : max : minLength : (otherDateText$ | async)\"\n automation-id=\"tui-calendar-range__menu__item\"\n role=\"menuitemradio\"\n tuiOption\n type=\"button\"\n [attr.aria-checked]=\"isItemActive(item)\"\n (click)=\"onItemSelect(item)\"\n (pointerdown.prevent.zoneless)=\"(0)\"\n >\n {{ item }}\n <tui-icon\n *ngIf=\"isItemActive(item)\"\n automation-id=\"tui-calendar-range__checkmark\"\n [icon]=\"icons.check\"\n [style.font-size.rem]=\"1\"\n />\n </button>\n </tui-data-list>\n</ng-template>\n", styles: [":host:not(._mobile){display:flex;min-inline-size:30rem}.t-calendar{border-inline-end:1px solid var(--tui-border-normal)}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TuiCalendar, selector: "tui-calendar", inputs: ["month", "disabledItemHandler", "min", "max", "minViewedMonth", "maxViewedMonth", "hoveredItem", "showAdjacent", "markerHandler", "value", "initialView"], outputs: ["dayClick", "monthChange", "hoveredItemChange"] }, { kind: "component", type: i1.TuiDataListComponent, selector: "tui-data-list", inputs: ["emptyContent", "size"] }, { kind: "component", type: i1.TuiOption, selector: "button[tuiOption]:not([new]), a[tuiOption]:not([new]), label[tuiOption]:not([new])", inputs: ["disabled", "value"] }, { kind: "component", type: TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "pipe", type: TuiMapperPipe, name: "tuiMapper" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
184
|
-
}
|
|
185
|
-
__decorate([
|
|
186
|
-
tuiPure
|
|
187
|
-
], TuiCalendarRange.prototype, "calculateDisabledItemHandler", null);
|
|
188
|
-
export { TuiCalendarRange };
|
|
189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCalendarRange, decorators: [{
|
|
190
|
-
type: Component,
|
|
191
|
-
args: [{ standalone: true, selector: 'tui-calendar-range', imports: [AsyncPipe, NgForOf, NgIf, TuiCalendar, TuiDataList, TuiIcon, TuiMapperPipe], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
192
|
-
tuiAsAuxiliary(TuiCalendarRange),
|
|
193
|
-
tuiCalendarSheetOptionsProvider({ rangeMode: true }),
|
|
194
|
-
], host: {
|
|
195
|
-
'[class._mobile]': 'mobile',
|
|
196
|
-
'(document:keydown.capture)': 'onEsc($event)',
|
|
197
|
-
}, template: "<tui-calendar\n automation-id=\"tui-calendar-range__calendar\"\n [class.t-calendar]=\"!mobile\"\n [disabledItemHandler]=\"calculatedDisabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"max | tuiMapper: capsMapper : currentValue : maxLength : false\"\n [maxViewedMonth]=\"items.length || mobile ? null : (defaultViewedMonth | tuiMapper: monthOffset : -1)\"\n [min]=\"min | tuiMapper: capsMapper : currentValue : maxLength : true\"\n [month]=\"defaultViewedMonth\"\n [showAdjacent]=\"!!items.length || mobile\"\n [value]=\"currentValue\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n/>\n<tui-calendar\n *ngIf=\"!items.length && !mobile; else presets\"\n [disabledItemHandler]=\"calculatedDisabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"max | tuiMapper: capsMapper : currentValue : maxLength : false\"\n [min]=\"min | tuiMapper: capsMapper : currentValue : maxLength : true\"\n [minViewedMonth]=\"defaultViewedMonth | tuiMapper: monthOffset : 1\"\n [month]=\"defaultViewedMonth | tuiMapper: monthOffset : 1\"\n [showAdjacent]=\"false\"\n [value]=\"currentValue\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event.append({month: -1}))\"\n/>\n<ng-template #presets>\n <tui-data-list\n *ngIf=\"!mobile\"\n automation-id=\"tui-calendar-range__menu\"\n role=\"menu\"\n [style.flex]=\"1\"\n >\n <button\n *ngFor=\"let item of items | tuiMapper: mapper : min : max : minLength : (otherDateText$ | async)\"\n automation-id=\"tui-calendar-range__menu__item\"\n role=\"menuitemradio\"\n tuiOption\n type=\"button\"\n [attr.aria-checked]=\"isItemActive(item)\"\n (click)=\"onItemSelect(item)\"\n (pointerdown.prevent.zoneless)=\"(0)\"\n >\n {{ item }}\n <tui-icon\n *ngIf=\"isItemActive(item)\"\n automation-id=\"tui-calendar-range__checkmark\"\n [icon]=\"icons.check\"\n [style.font-size.rem]=\"1\"\n />\n </button>\n </tui-data-list>\n</ng-template>\n", styles: [":host:not(._mobile){display:flex;min-inline-size:30rem}.t-calendar{border-inline-end:1px solid var(--tui-border-normal)}\n"] }]
|
|
198
|
-
}], ctorParameters: function () { return []; }, propDecorators: { disabledItemHandler: [{
|
|
199
|
-
type: Input
|
|
200
|
-
}], markerHandler: [{
|
|
201
|
-
type: Input
|
|
202
|
-
}], items: [{
|
|
203
|
-
type: Input
|
|
204
|
-
}], min: [{
|
|
205
|
-
type: Input
|
|
206
|
-
}], max: [{
|
|
207
|
-
type: Input
|
|
208
|
-
}], minLength: [{
|
|
209
|
-
type: Input
|
|
210
|
-
}], maxLength: [{
|
|
211
|
-
type: Input
|
|
212
|
-
}], item: [{
|
|
213
|
-
type: Input
|
|
214
|
-
}], valueChange: [{
|
|
215
|
-
type: Output
|
|
216
|
-
}], itemChange: [{
|
|
217
|
-
type: Output
|
|
218
|
-
}], valueSetter: [{
|
|
219
|
-
type: Input,
|
|
220
|
-
args: ['value']
|
|
221
|
-
}], defaultViewedMonth: [{
|
|
222
|
-
type: Input
|
|
223
|
-
}], calculateDisabledItemHandler: [] } });
|
|
224
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXItcmFuZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvY2FsZW5kYXItcmFuZ2UvY2FsZW5kYXItcmFuZ2UuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvY2FsZW5kYX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ZWN0ZWQgcmVhZG9ubHkgbW9udGhPZmZzZXQ6IFR1aU1hcHBlcjxbVHVpTW9udGgsIG51bWJlcl0sIFR1aU1vbnRoPiA9IChcbiAgICAgICAgdmFsdWUsXG4gICAgICAgIG1vbnRoLFxuICAgICkgPT4gdmFsdWUuYXBwZW5kKHttb250aH0pO1xuXG4gICAgcHJvdGVjdGVkIHJlYWRvbmx5IG1hcHBlcjogVHVpTWFwcGVyPFxuICAgICAgICBbXG4gICAgICAgICAgICByZWFkb25seSBUdWlEYXlSYW5nZVBlcmlvZFtdLFxuICAgICAgICAgICAgVHVpRGF5IHwgbnVsbCxcbiAgICAgICAgICAgIFR1aURheSB8IG51bGwsXG4gICAgICAgICAgICBUdWlEYXlMaWtlIHwgbnVsbCxcbiAgICAgICAgICAgIHN0cmluZyB8IG51bGwgfCB1bmRlZmluZWQsXG4gICAgICAgIF0sXG4gICAgICAgIFJlYWRvbmx5QXJyYXk8VHVpRGF5UmFuZ2VQZXJpb2QgfCBzdHJpbmc+XG4gICAgPiA9IChpdGVtcywgbWluLCBtYXgsIG1pbkxlbmd0aCwgb3RoZXJEYXRlVGV4dCkgPT4gW1xuICAgICAgICAuLi5pdGVtcy5maWx0ZXIoXG4gICAgICAgICAgICAoaXRlbSkgPT5cbiAgICAgICAgICAgICAgICAobWluTGVuZ3RoID09PSBudWxsIHx8XG4gICAgICAgICAgICAgICAgICAgIGl0ZW0ucmFuZ2UuZnJvbVxuICAgICAgICAgICAgICAgICAgICAgICAgLmFwcGVuZChtaW5MZW5ndGgpXG4gICAgICAgICAgICAgICAgICAgICAgICAuYXBwZW5kKHtkYXk6IC0xfSlcbiAgICAgICAgICAgICAgICAgICAgICAgIC5kYXlTYW1lT3JCZWZvcmUoaXRlbS5yYW5nZS50bykpICYmXG4gICAgICAgICAgICAgICAgKG1pbiA9PT0gbnVsbCB8fCBpdGVtLnJhbmdlLnRvLmRheVNhbWVPckFmdGVyKG1pbikpICYmXG4gICAgICAgICAgICAgICAgKG1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nZXQgYWN0aXZlUGVyaW9kKCk6IFR1aURheVJhbmdlUGVyaW9kIHwgbnVsbCB7XG4gICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICB0aGlzLml0ZW0gPz9cbiAgICAgICAgICAgIHRoaXMuc2VsZWN0ZWRBY3RpdmVQZXJpb2QgPz9cbiAgICAgICAgICAgICh0aGlzLml0ZW1zLmZpbmQoKGl0ZW0pID0+XG4gICAgICAgICAgICAgICAgdHVpTnVsbGFibGVTYW1lPFR1aURheVJhbmdlPihcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5jdXJyZW50VmFsdWUgaW5zdGFuY2VvZiBUdWlEYXlcbiAgICAgICAgICAgICAgICAgICAgICAgID8gbmV3IFR1aURheVJhbmdlKHRoaXMuY3VycmVudFZhbHVlLCB0aGlzLmN1cnJlbnRWYWx1ZSlcbiAgICAgICAgICAgICAgICAgICAgICAgIDogdGhpcy5jdXJyZW50VmFsdWUsXG4gICAgICAgICAgICAgICAgICAgIGl0ZW0ucmFuZ2UsXG4gICAgICAgICAgICAgICAgICAgIChhLCBiKSA9PlxuICAgICAgICAgICAgICAgICAgICAgICAgYS5mcm9tLmRheVNhbWUoYi5mcm9tLmRheUxpbWl0KHRoaXMubWluLCB0aGlzLm1heCkpICYmXG4gICAgICAgICAgICAgICAgICAgICAgICBhLnRvLmRheVNhbWUoYi50by5kYXlMaW1pdCh0aGlzLm1pbiwgdGhpcy5tYXgpKSxcbiAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgKSB8fFxuICAgICAgICAgICAgICAgIG51bGwpXG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgQHR1aVB1cmVcbiAgICBwcml2YXRlIGNhbGN1bGF0ZURpc2FibGVkSXRlbUhhbmRsZXIoXG4gICAgICAgIGRpc2FibGVkSXRlbUhhbmRsZXI6IFR1aUJvb2xlYW5IYW5kbGVyPFR1aURheT4sXG4gICAgICAgIHZhbHVlOiBUdWlEYXkgfCBUdWlEYXlSYW5nZSB8IG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JtZW51XCJcbiAgICAgICAgW3N0eWxlLmZsZXhdPVwiMVwiXG4gICAgPlxuICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAqbmdGb3I9XCJsZXQgaXRlbSBvZiBpdGVtcyB8IHR1aU1hcHBlcjogbWFwcGVyIDogbWluIDogbWF4IDogbWluTGVuZ3RoIDogKG90aGVyRGF0ZVRleHQkIHwgYXN5bmMpXCJcbiAgICAgICAgICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktY2FsZW5kYXItcmFuZ2VfX21lbnVfX2l0ZW1cIlxuICAgICAgICAgICAgcm9sZT1cIm1lbnVpdGVtcmFkaW9cIlxuICAgICAgICAgICAgdHVpT3B0aW9uXG4gICAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgICAgIFthdHRyLmFyaWEtY2hlY2tlZF09XCJpc0l0ZW1BY3RpdmUoaXRlbSlcIlxuICAgICAgICAgICAgKGNsaWNrKT1cIm9uSXRlbVNlbGVjdChpdGVtKVwiXG4gICAgICAgICAgICAocG9pbnRlcmRvd24ucHJldmVudC56b25lbGVzcyk9XCIoMClcIlxuICAgICAgICA+XG4gICAgICAgICAgICB7eyBpdGVtIH19XG4gICAgICAgICAgICA8dHVpLWljb25cbiAgICAgICAgICAgICAgICAqbmdJZj1cImlzSXRlbUFjdGl2ZShpdGVtKVwiXG4gICAgICAgICAgICAgICAgYXV0b21hdGlvbi1pZD1cInR1aS1jYWxlbmRhci1yYW5nZV9fY2hlY2ttYXJrXCJcbiAgICAgICAgICAgICAgICBbaWNvbl09XCJpY29ucy5jaGVja1wiXG4gICAgICAgICAgICAgICAgW3N0eWxlLmZvbnQtc2l6ZS5yZW1dPVwiMVwiXG4gICAgICAgICAgICAvPlxuICAgICAgICA8L2J1dHRvbj5cbiAgICA8L3R1aS1kYXRhLWxpc3Q+XG48L25nLXRlbXBsYXRlPlxuIl19
|