@taiga-ui/kit 4.52.0-canary.a4e325d → 4.52.0-canary.bf9131e
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/accordion/accordion.component.d.ts +13 -0
- package/components/accordion/accordion.d.ts +4 -4
- package/components/accordion/accordion.directive.d.ts +11 -10
- package/components/accordion/index.d.ts +1 -3
- package/components/action-bar/action-bar.component.d.ts +5 -7
- package/components/action-bar/index.d.ts +0 -2
- 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.component.d.ts +1 -1
- package/components/calendar-month/calendar-month.options.d.ts +1 -1
- package/components/calendar-range/calendar-range.component.d.ts +1 -2
- 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 +2 -1
- package/components/confirm/confirm.service.d.ts +2 -1
- package/{directives → components}/copy/copy.component.d.ts +1 -1
- package/{directives → components}/copy/copy.directive.d.ts +2 -2
- package/{directives → components}/copy/copy.options.d.ts +2 -2
- package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -0
- package/components/files/file/file.options.d.ts +1 -1
- package/components/files/files/files.component.d.ts +2 -2
- 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 +3 -2
- package/components/input-chip/input-chip.options.d.ts +1 -1
- package/components/input-color/input-color.component.d.ts +2 -2
- package/components/input-color/input-color.options.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 +1 -1
- package/components/input-number/step/input-number-step.component.d.ts +1 -1
- package/components/input-phone/input-phone.options.d.ts +1 -1
- package/components/input-phone-international/input-phone-international.component.d.ts +24 -30
- package/components/input-pin/input-pin.component.d.ts +1 -1
- package/components/input-range/input-range.component.d.ts +9 -12
- package/components/input-slider/input-slider.directive.d.ts +2 -4
- package/components/input-time/input-time.directive.d.ts +6 -8
- 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-box.component.d.ts +3 -4
- package/components/line-clamp/line-clamp.component.d.ts +12 -18
- package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +3 -3
- package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +1 -1
- package/components/pager/pager.component.d.ts +1 -1
- package/components/pagination/pagination.component.d.ts +1 -1
- package/components/pin/pin.directive.d.ts +2 -2
- package/components/preview/pagination/preview-pagination.component.d.ts +1 -1
- package/components/preview/preview.component.d.ts +1 -1
- package/components/preview/zoom/preview-zoom.component.d.ts +1 -1
- 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-alert.component.d.ts +4 -3
- package/components/push/push.component.d.ts +2 -2
- package/components/push/push.directive.d.ts +4 -6
- package/components/push/push.options.d.ts +4 -8
- package/components/push/push.service.d.ts +6 -2
- 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/range/range-change.directive.d.ts +1 -2
- package/components/range/range.component.d.ts +16 -24
- 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 +1 -3
- package/components/slider/helpers/key-steps.d.ts +1 -2
- package/components/slider/helpers/slider-key-steps.directive.d.ts +12 -21
- 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/tabs/tabs-with-more.component.d.ts +1 -1
- package/components/textarea/textarea-limit.directive.d.ts +4 -5
- package/components/textarea/textarea.options.d.ts +1 -1
- package/components/toast/index.d.ts +5 -0
- package/components/toast/toast.component.d.ts +18 -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 +9 -0
- package/components/toast/toast.service.d.ts +17 -0
- package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +1 -1
- package/directives/button-select/button-select.directive.d.ts +1 -2
- 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 +1 -3
- 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 +1 -4
- package/fesm2022/taiga-ui-kit-components-accordion.mjs +69 -145
- package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs +22 -38
- 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 +3 -3
- 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 +6 -6
- 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 +7 -10
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +5 -8
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +7 -8
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-carousel.mjs +17 -19
- 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 +8 -8
- 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 +3 -3
- package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-confirm.mjs +13 -14
- package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-copy.mjs +120 -0
- package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +18 -11
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-drawer.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-files.mjs +35 -43
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-filter.mjs +6 -15
- 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 +63 -0
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs +20 -17
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-color.mjs +9 -12
- package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +6 -7
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +8 -10
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +16 -18
- package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +8 -9
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month.mjs +13 -15
- package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-number.mjs +28 -27
- package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +105 -131
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs +5 -6
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-range.mjs +34 -38
- package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs +28 -42
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +39 -45
- package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-year.mjs +7 -8
- package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +16 -16
- 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 +38 -83
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-message.mjs +9 -11
- package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs +45 -44
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +12 -19
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pager.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pagination.mjs +7 -8
- package/fesm2022/taiga-ui-kit-components-pagination.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 +34 -36
- package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-progress.mjs +37 -50
- package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pulse.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-push.mjs +49 -56
- package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs +5 -6
- 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 +40 -81
- package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-rating.mjs +17 -21
- package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-segmented.mjs +6 -6
- package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-select.mjs +38 -31
- package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-slider.mjs +69 -67
- 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 +11 -11
- 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 +29 -34
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-textarea.mjs +17 -25
- package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tiles.mjs +12 -12
- package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-toast.mjs +165 -0
- package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-tree.mjs +33 -41
- package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components.mjs +3 -2
- 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 +9 -12
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-select.mjs +5 -12
- 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 +9 -14
- package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fade.mjs +9 -12
- package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +6 -7
- package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-password.mjs +8 -11
- package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-present.mjs +3 -3
- 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 +15 -20
- 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 +3 -3
- 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 +5 -4
- 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 -7
- package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
- package/package.json +30 -37
- package/pipes/index.d.ts +0 -1
- package/styles/components/avatar.less +188 -0
- package/styles/components/badge.less +1 -0
- package/styles/components/block.less +1 -1
- package/styles/components/checkbox.less +14 -12
- package/styles/components/chip.less +13 -4
- package/styles/components/like.less +4 -9
- package/styles/components/pin.less +3 -7
- package/styles/components/radio.less +1 -1
- package/styles/components/switch.less +9 -9
- package/styles/components/toast.less +44 -0
- package/tokens/i18n.d.ts +25 -26
- package/tokens/index.d.ts +0 -1
- package/tokens/input-date-options.d.ts +1 -1
- package/components/accordion/accordion-item-content.directive.d.ts +0 -6
- package/components/accordion/accordion-item-eager-content.directive.d.ts +0 -5
- package/components/accordion/accordion-item.component.d.ts +0 -25
- package/components/action-bar/action-bar.d.ts +0 -3
- package/components/action-bar/action-bar.directive.d.ts +0 -6
- 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/components/pdf-viewer/index.d.ts +0 -4
- package/components/pdf-viewer/pdf-viewer.component.d.ts +0 -12
- package/components/pdf-viewer/pdf-viewer.directive.d.ts +0 -7
- package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -13
- package/components/pdf-viewer/pdf-viewer.service.d.ts +0 -13
- package/directives/icon-badge/icon-badge.directive.d.ts +0 -9
- package/directives/icon-badge/index.d.ts +0 -1
- package/fesm2022/taiga-ui-kit-components-input-password.mjs +0 -95
- package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
- package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-directives-copy.mjs +0 -120
- 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.d.ts +0 -0
- /package/{directives → components}/copy/index.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-tokens.mjs","sources":["../../../projects/kit/tokens/calendar-date-stream.ts","../../../projects/kit/tokens/date-inputs-value-transformers.ts","../../../projects/kit/tokens/i18n.ts","../../../projects/kit/tokens/input-date-options.ts","../../../projects/kit/tokens/items-handlers.ts","../../../projects/kit/tokens/mobile-calendar.ts","../../../projects/kit/tokens/month-formatter.ts","../../../projects/kit/tokens/preview-icons.ts","../../../projects/kit/tokens/validation-errors.ts","../../../projects/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken, Optional, type Provider, Self} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {type TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {type TuiDay, type TuiDayRange, type TuiTime} from '@taiga-ui/cdk/date-time';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {map, type Observable, of} from 'rxjs';\n\n/**\n * Stream that emits calendar data change\n * @deprecated this should be rewritten in v5\n */\nexport const TUI_CALENDAR_DATE_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>(ngDevMode ? 'TUI_CALENDAR_DATE_STREAM' : '');\n\nexport function tuiDateStreamWithTransformer(\n transformer: InjectionToken<TuiValueTransformer<any>>,\n): Provider {\n return {\n provide: TUI_CALENDAR_DATE_STREAM,\n deps: [\n [new Optional(), new Self(), NgControl],\n [new Optional(), transformer],\n ],\n useFactory: tuiControlValueFactory,\n };\n}\n\nfunction tuiControlValueFactory<\n T extends TuiDay | TuiDayRange | [TuiDay, TuiTime | null],\n>(\n control: NgControl | null,\n transformer?: TuiValueTransformer<T> | null,\n): Observable<T | null> | null {\n return control\n ? tuiControlValue(control).pipe(\n map((value) =>\n transformer ? transformer?.fromControlValue(value) : (value as T),\n ),\n )\n : of(null);\n}\n","import {InjectionToken} from '@angular/core';\nimport {\n TUI_IDENTITY_VALUE_TRANSFORMER,\n type TuiValueTransformer,\n} from '@taiga-ui/cdk/classes';\nimport {type TuiDay, type TuiDayRange, type TuiTime} from '@taiga-ui/cdk/date-time';\n\n/**\n * Control value transformer of TuiDay to custom value format for InputDate* components\n */\nexport const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiDay | null>\n>(ngDevMode ? 'TUI_DATE_VALUE_TRANSFORMER' : '', {\n factory: () => TUI_IDENTITY_VALUE_TRANSFORMER,\n});\n\n/**\n * Control value transformer for InputDateRange component\n */\nexport const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiDayRange | null>\n>(ngDevMode ? 'TUI_DATE_RANGE_VALUE_TRANSFORMER' : '');\n\n/**\n * Control value transformer for InputDateTime component\n */\nexport const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<[TuiDay, TuiTime | null]>\n>(ngDevMode ? 'TUI_DATE_TIME_VALUE_TRANSFORMER' : '');\n\n/**\n * Control value transformer for InputTime component\n */\nexport const TUI_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiTime | null>\n>(ngDevMode ? 'TUI_TIME_VALUE_TRANSFORMER' : '');\n","import {InjectionToken} from '@angular/core';\nimport {type TuiDateMode} from '@taiga-ui/cdk/date-time';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {tuiExtractI18n} from '@taiga-ui/i18n/utils';\nimport {type Observable} from 'rxjs';\n\nexport const TUI_CONFIRM_WORDS = new InjectionToken(\n ngDevMode ? 'TUI_CONFIRM_WORDS' : '',\n {\n factory: tuiExtractI18n('confirm'),\n },\n);\n\nexport const TUI_CANCEL_WORD = new InjectionToken(ngDevMode ? 'TUI_CANCEL_WORD' : '', {\n factory: tuiExtractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(ngDevMode ? 'TUI_DONE_WORD' : '', {\n factory: tuiExtractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(ngDevMode ? 'TUI_MORE_WORD' : '', {\n factory: tuiExtractI18n('more'),\n});\n\nexport const TUI_HIDE_TEXT = new InjectionToken(ngDevMode ? 'TUI_HIDE_TEXT' : '', {\n factory: tuiExtractI18n('hide'),\n});\n\nexport const TUI_SHOW_ALL_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_SHOW_ALL_TEXT' : '',\n {\n factory: tuiExtractI18n('showAll'),\n },\n);\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_OTHER_DATE_TEXT' : '',\n {\n factory: tuiExtractI18n('otherDate'),\n },\n);\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_CHOOSE_DAY_OR_RANGE_TEXTS' : '',\n {\n factory: tuiExtractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_FROM_TO_TEXTS' : '',\n {\n factory: tuiExtractI18n('range'),\n },\n);\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PLUS_MINUS_TEXTS' : '',\n {\n factory: tuiExtractI18n('countTexts'),\n },\n);\n\nexport const TUI_TIME_TEXTS = new InjectionToken(ngDevMode ? 'TUI_TIME_TEXTS' : '', {\n factory: tuiExtractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Observable<Record<TuiDateMode, string>>>(\n ngDevMode ? 'TUI_DATE_TEXTS' : '',\n {\n factory: tuiExtractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n ngDevMode ? 'TUI_DIGITAL_INFORMATION_UNITS' : '',\n {\n factory: tuiExtractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken(ngDevMode ? 'TUI_COPY_TEXTS' : '', {\n factory: tuiExtractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PASSWORD_TEXTS' : '',\n {\n factory: tuiExtractI18n('passwordTexts'),\n },\n);\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken(\n ngDevMode ? 'TUI_CALENDAR_MONTHS' : '',\n {\n factory: tuiExtractI18n('shortCalendarMonths'),\n },\n);\n\nexport const TUI_FILE_TEXTS = new InjectionToken(ngDevMode ? 'TUI_FILE_TEXTS' : '', {\n factory: tuiExtractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PAGINATION_TEXTS' : '',\n {\n factory: tuiExtractI18n('pagination'),\n },\n);\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_FILE_TEXTS' : '',\n {\n factory: tuiExtractI18n('inputFileTexts'),\n },\n);\n\nexport const TUI_MULTI_SELECT_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_MULTI_SELECT_TEXTS' : '',\n {\n factory: tuiExtractI18n('multiSelectTexts'),\n },\n);\n\nexport const TUI_COUNTRIES = new InjectionToken<\n Observable<Record<TuiCountryIsoCode, string>>\n>(ngDevMode ? 'TUI_COUNTRIES' : '', {\n factory: tuiExtractI18n('countries'),\n});\n\nexport const TUI_PREVIEW_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_TEXTS' : '',\n {\n factory: tuiExtractI18n('previewTexts'),\n },\n);\n\nexport const TUI_PREVIEW_ZOOM_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_ZOOM_TEXTS' : '',\n {\n factory: tuiExtractI18n('zoomTexts'),\n },\n);\n\nexport const TUI_INTERNATIONAL_SEARCH = new InjectionToken(\n ngDevMode ? 'TUI_INTERNATIONAL_SEARCH' : '',\n {\n factory: tuiExtractI18n('phoneSearch'),\n },\n);\n","import {TUI_FIRST_DAY, TUI_LAST_DAY, type TuiDay} from '@taiga-ui/cdk/date-time';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport interface TuiInputDateOptions {\n readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n readonly max: TuiDay;\n readonly min: TuiDay;\n readonly nativePicker: boolean;\n}\n\nexport const TUI_INPUT_DATE_DEFAULT_OPTIONS: TuiInputDateOptions = {\n icon: () => '@tui.calendar',\n min: TUI_FIRST_DAY,\n max: TUI_LAST_DAY,\n nativePicker: false,\n};\n\n/**\n * Default parameters for InputDate component\n */\nexport const [TUI_INPUT_DATE_OPTIONS, tuiInputDateOptionsProvider] = tuiCreateOptions(\n TUI_INPUT_DATE_DEFAULT_OPTIONS,\n);\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {TUI_DEFAULT_IDENTITY_MATCHER, TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {\n type TuiBooleanHandler,\n type TuiIdentityMatcher,\n type TuiStringHandler,\n} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport interface TuiItemsHandlers<T> {\n readonly disabledItemHandler: TuiBooleanHandler<T>;\n readonly identityMatcher: TuiIdentityMatcher<T>;\n readonly stringify: TuiStringHandler<T>;\n}\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown> = {\n stringify: String,\n identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,\n disabledItemHandler: TUI_FALSE_HANDLER,\n};\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport const TUI_ITEMS_HANDLERS = new InjectionToken(\n ngDevMode ? 'TUI_ITEMS_HANDLERS' : '',\n {\n factory: () => TUI_DEFAULT_ITEMS_HANDLERS,\n },\n);\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport function tuiItemsHandlersProvider<T>(\n options: Partial<TuiItemsHandlers<T>>,\n): Provider {\n return tuiProvideOptions(TUI_ITEMS_HANDLERS, options, TUI_DEFAULT_ITEMS_HANDLERS);\n}\n","import {type FactoryProvider, inject, InjectionToken, type Type} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {TUI_DROPDOWN_COMPONENT} from '@taiga-ui/core/directives/dropdown';\n\n/**\n * A component for mobile data picker\n */\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<unknown>>(\n ngDevMode ? 'TUI_MOBILE_CALENDAR' : '',\n);\n\nexport const TUI_MOBILE_CALENDAR_PROVIDER: FactoryProvider = {\n provide: TUI_DROPDOWN_COMPONENT,\n useFactory: () =>\n (inject(TUI_IS_MOBILE) && inject(TUI_MOBILE_CALENDAR, {optional: true})) ||\n inject(TUI_DROPDOWN_COMPONENT, {skipSelf: true}),\n};\n","import {inject, InjectionToken} from '@angular/core';\nimport {type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {type TuiHandler} from '@taiga-ui/cdk/types';\nimport {TUI_MONTHS} from '@taiga-ui/core/tokens';\nimport {map, type Observable} from 'rxjs';\n\nexport const TUI_MONTH_FORMATTER = new InjectionToken<\n Observable<TuiHandler<TuiMonth | null, string>>\n>(ngDevMode ? 'TUI_MONTH_FORMATTER' : '', {\n factory: () =>\n inject(TUI_MONTHS).pipe(\n map((months) => (date) => {\n if (!date) {\n return '';\n }\n\n return `${months[date.month] ?? ''} ${date.formattedYear}`;\n }),\n ),\n});\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport interface TuiPreviewIcons {\n readonly next: string;\n readonly prev: string;\n readonly rotate: string;\n readonly zoomIn: string;\n readonly zoomOut: string;\n readonly zoomReset: string;\n}\n\nexport const TUI_PREVIEW_ICONS_DEFAULT: TuiPreviewIcons = {\n rotate: '@tui.rotate-ccw-square',\n prev: '@tui.arrow-left',\n next: '@tui.arrow-right',\n zoomIn: '@tui.plus',\n zoomOut: '@tui.minus',\n zoomReset: '@tui.minimize',\n};\n\nexport const TUI_PREVIEW_ICONS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_ICONS' : '',\n {\n factory: () => TUI_PREVIEW_ICONS_DEFAULT,\n },\n);\n\nexport function tuiPreviewIconsProvider(icons: Partial<TuiPreviewIcons>): Provider {\n return tuiProvideOptions(TUI_PREVIEW_ICONS, icons, TUI_PREVIEW_ICONS_DEFAULT);\n}\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\nimport {type Observable} from 'rxjs';\n\nexport const TUI_VALIDATION_ERRORS = new InjectionToken<\n Record<string, Observable<PolymorpheusContent> | PolymorpheusContent>\n>(ngDevMode ? 'TUI_VALIDATION_ERRORS' : '', {\n factory: () => ({}),\n});\n\nexport const tuiValidationErrorsProvider = (\n useValue: Record<string, Observable<PolymorpheusContent> | PolymorpheusContent>,\n): Provider => ({provide: TUI_VALIDATION_ERRORS, useValue});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAOA;;;AAGG;AACI,MAAM,wBAAwB,GAAG,IAAI,cAAc,CAExD,SAAS,GAAG,0BAA0B,GAAG,EAAE;AAEvC,SAAU,4BAA4B,CACxC,WAAqD,EAAA;IAErD,OAAO;AACH,QAAA,OAAO,EAAE,wBAAwB;AACjC,QAAA,IAAI,EAAE;YACF,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,SAA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cAAc,CAErD,SAAS,GAAG,uBAAuB,GAAG,EAAE,EAAE;AACxC,IAAA,OAAO,EAAE,OAAO,EAAE,CAAC;AACtB,CAAA;AAEM,MAAM,2BAA2B,GAAG,CACvC,QAA+E,MACnE,EAAC,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAC;;ACZ1D;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-tokens.mjs","sources":["../../../projects/kit/tokens/calendar-date-stream.ts","../../../projects/kit/tokens/date-inputs-value-transformers.ts","../../../projects/kit/tokens/i18n.ts","../../../projects/kit/tokens/input-date-options.ts","../../../projects/kit/tokens/items-handlers.ts","../../../projects/kit/tokens/mobile-calendar.ts","../../../projects/kit/tokens/month-formatter.ts","../../../projects/kit/tokens/preview-icons.ts","../../../projects/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken, Optional, type Provider, Self} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {type TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {type TuiDay, type TuiDayRange, type TuiTime} from '@taiga-ui/cdk/date-time';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {map, type Observable, of} from 'rxjs';\n\n/**\n * Stream that emits calendar data change\n * @deprecated this should be rewritten in v5\n */\nexport const TUI_CALENDAR_DATE_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>(ngDevMode ? 'TUI_CALENDAR_DATE_STREAM' : '');\n\nexport function tuiDateStreamWithTransformer(\n transformer: InjectionToken<TuiValueTransformer<any>>,\n): Provider {\n return {\n provide: TUI_CALENDAR_DATE_STREAM,\n deps: [\n [new Optional(), new Self(), NgControl],\n [new Optional(), transformer],\n ],\n useFactory: tuiControlValueFactory,\n };\n}\n\nfunction tuiControlValueFactory<\n T extends TuiDay | TuiDayRange | [TuiDay, TuiTime | null],\n>(\n control: NgControl | null,\n transformer?: TuiValueTransformer<T> | null,\n): Observable<T | null> | null {\n return control\n ? tuiControlValue(control).pipe(\n map((value) =>\n transformer ? transformer?.fromControlValue(value) : (value as T),\n ),\n )\n : of(null);\n}\n","import {InjectionToken} from '@angular/core';\nimport {\n TUI_IDENTITY_VALUE_TRANSFORMER,\n type TuiValueTransformer,\n} from '@taiga-ui/cdk/classes';\nimport {type TuiDay, type TuiDayRange, type TuiTime} from '@taiga-ui/cdk/date-time';\n\n/**\n * Control value transformer of TuiDay to custom value format for InputDate* components\n */\nexport const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiDay | null>\n>(ngDevMode ? 'TUI_DATE_VALUE_TRANSFORMER' : '', {\n factory: () => TUI_IDENTITY_VALUE_TRANSFORMER,\n});\n\n/**\n * Control value transformer for InputDateRange component\n */\nexport const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiDayRange | null>\n>(ngDevMode ? 'TUI_DATE_RANGE_VALUE_TRANSFORMER' : '');\n\n/**\n * Control value transformer for InputDateTime component\n */\nexport const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<[TuiDay, TuiTime | null]>\n>(ngDevMode ? 'TUI_DATE_TIME_VALUE_TRANSFORMER' : '');\n\n/**\n * Control value transformer for InputTime component\n */\nexport const TUI_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiTime | null>\n>(ngDevMode ? 'TUI_TIME_VALUE_TRANSFORMER' : '');\n","import {InjectionToken, type Signal} from '@angular/core';\nimport {type TuiDateMode} from '@taiga-ui/cdk/date-time';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {tuiExtractI18n} from '@taiga-ui/i18n/utils';\n\nexport const TUI_CONFIRM_WORDS = new InjectionToken(\n ngDevMode ? 'TUI_CONFIRM_WORDS' : '',\n {\n factory: tuiExtractI18n('confirm'),\n },\n);\n\nexport const TUI_CANCEL_WORD = new InjectionToken(ngDevMode ? 'TUI_CANCEL_WORD' : '', {\n factory: tuiExtractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(ngDevMode ? 'TUI_DONE_WORD' : '', {\n factory: tuiExtractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(ngDevMode ? 'TUI_MORE_WORD' : '', {\n factory: tuiExtractI18n('more'),\n});\n\nexport const TUI_HIDE_TEXT = new InjectionToken(ngDevMode ? 'TUI_HIDE_TEXT' : '', {\n factory: tuiExtractI18n('hide'),\n});\n\nexport const TUI_SHOW_ALL_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_SHOW_ALL_TEXT' : '',\n {\n factory: tuiExtractI18n('showAll'),\n },\n);\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_OTHER_DATE_TEXT' : '',\n {\n factory: tuiExtractI18n('otherDate'),\n },\n);\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_CHOOSE_DAY_OR_RANGE_TEXTS' : '',\n {\n factory: tuiExtractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_FROM_TO_TEXTS' : '',\n {\n factory: tuiExtractI18n('range'),\n },\n);\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PLUS_MINUS_TEXTS' : '',\n {\n factory: tuiExtractI18n('countTexts'),\n },\n);\n\nexport const TUI_TIME_TEXTS = new InjectionToken(ngDevMode ? 'TUI_TIME_TEXTS' : '', {\n factory: tuiExtractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Signal<Record<TuiDateMode, string>>>(\n ngDevMode ? 'TUI_DATE_TEXTS' : '',\n {\n factory: tuiExtractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n ngDevMode ? 'TUI_DIGITAL_INFORMATION_UNITS' : '',\n {\n factory: tuiExtractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken(ngDevMode ? 'TUI_COPY_TEXTS' : '', {\n factory: tuiExtractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PASSWORD_TEXTS' : '',\n {\n factory: tuiExtractI18n('passwordTexts'),\n },\n);\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken(\n ngDevMode ? 'TUI_CALENDAR_MONTHS' : '',\n {\n factory: tuiExtractI18n('shortCalendarMonths'),\n },\n);\n\nexport const TUI_FILE_TEXTS = new InjectionToken(ngDevMode ? 'TUI_FILE_TEXTS' : '', {\n factory: tuiExtractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PAGINATION_TEXTS' : '',\n {\n factory: tuiExtractI18n('pagination'),\n },\n);\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_FILE_TEXTS' : '',\n {\n factory: tuiExtractI18n('inputFileTexts'),\n },\n);\n\nexport const TUI_MULTI_SELECT_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_MULTI_SELECT_TEXTS' : '',\n {\n factory: tuiExtractI18n('multiSelectTexts'),\n },\n);\n\nexport const TUI_COUNTRIES = new InjectionToken<\n Signal<Record<TuiCountryIsoCode, string>>\n>(ngDevMode ? 'TUI_COUNTRIES' : '', {\n factory: tuiExtractI18n('countries'),\n});\n\nexport const TUI_PREVIEW_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_TEXTS' : '',\n {\n factory: tuiExtractI18n('previewTexts'),\n },\n);\n\nexport const TUI_PREVIEW_ZOOM_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_ZOOM_TEXTS' : '',\n {\n factory: tuiExtractI18n('zoomTexts'),\n },\n);\n\nexport const TUI_INTERNATIONAL_SEARCH = new InjectionToken(\n ngDevMode ? 'TUI_INTERNATIONAL_SEARCH' : '',\n {\n factory: tuiExtractI18n('phoneSearch'),\n },\n);\n","import {TUI_FIRST_DAY, TUI_LAST_DAY, type TuiDay} from '@taiga-ui/cdk/date-time';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport interface TuiInputDateOptions {\n readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n readonly max: TuiDay;\n readonly min: TuiDay;\n readonly nativePicker: boolean;\n}\n\nexport const TUI_INPUT_DATE_DEFAULT_OPTIONS: TuiInputDateOptions = {\n icon: () => '@tui.calendar',\n min: TUI_FIRST_DAY,\n max: TUI_LAST_DAY,\n nativePicker: false,\n};\n\n/**\n * Default parameters for InputDate component\n */\nexport const [TUI_INPUT_DATE_OPTIONS, tuiInputDateOptionsProvider] = tuiCreateOptions(\n TUI_INPUT_DATE_DEFAULT_OPTIONS,\n);\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {TUI_DEFAULT_IDENTITY_MATCHER, TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {\n type TuiBooleanHandler,\n type TuiIdentityMatcher,\n type TuiStringHandler,\n} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport interface TuiItemsHandlers<T> {\n readonly disabledItemHandler: TuiBooleanHandler<T>;\n readonly identityMatcher: TuiIdentityMatcher<T>;\n readonly stringify: TuiStringHandler<T>;\n}\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown> = {\n stringify: String,\n identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,\n disabledItemHandler: TUI_FALSE_HANDLER,\n};\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport const TUI_ITEMS_HANDLERS = new InjectionToken(\n ngDevMode ? 'TUI_ITEMS_HANDLERS' : '',\n {\n factory: () => TUI_DEFAULT_ITEMS_HANDLERS,\n },\n);\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport function tuiItemsHandlersProvider<T>(\n options: Partial<TuiItemsHandlers<T>>,\n): Provider {\n return tuiProvideOptions(TUI_ITEMS_HANDLERS, options, TUI_DEFAULT_ITEMS_HANDLERS);\n}\n","import {type FactoryProvider, inject, InjectionToken, type Type} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {TUI_DROPDOWN_COMPONENT} from '@taiga-ui/core/directives/dropdown';\n\n/**\n * A component for mobile data picker\n */\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<unknown>>(\n ngDevMode ? 'TUI_MOBILE_CALENDAR' : '',\n);\n\nexport const TUI_MOBILE_CALENDAR_PROVIDER: FactoryProvider = {\n provide: TUI_DROPDOWN_COMPONENT,\n useFactory: () =>\n (inject(TUI_IS_MOBILE) && inject(TUI_MOBILE_CALENDAR, {optional: true})) ||\n inject(TUI_DROPDOWN_COMPONENT, {skipSelf: true}),\n};\n","import {inject, InjectionToken} from '@angular/core';\nimport {toObservable} from '@angular/core/rxjs-interop';\nimport {type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {type TuiHandler} from '@taiga-ui/cdk/types';\nimport {TUI_MONTHS} from '@taiga-ui/core/tokens';\nimport {map, type Observable} from 'rxjs';\n\n// TODO: replace with signal\nexport const TUI_MONTH_FORMATTER = new InjectionToken<\n Observable<TuiHandler<TuiMonth | null, string>>\n>(ngDevMode ? 'TUI_MONTH_FORMATTER' : '', {\n factory: () =>\n toObservable(inject(TUI_MONTHS)).pipe(\n map((months) => (date) => {\n if (!date) {\n return '';\n }\n\n return `${months[date.month] ?? ''} ${date.formattedYear}`;\n }),\n ),\n});\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport interface TuiPreviewIcons {\n readonly next: string;\n readonly prev: string;\n readonly rotate: string;\n readonly zoomIn: string;\n readonly zoomOut: string;\n readonly zoomReset: string;\n}\n\nexport const TUI_PREVIEW_ICONS_DEFAULT: TuiPreviewIcons = {\n rotate: '@tui.rotate-ccw-square',\n prev: '@tui.arrow-left',\n next: '@tui.arrow-right',\n zoomIn: '@tui.plus',\n zoomOut: '@tui.minus',\n zoomReset: '@tui.minimize',\n};\n\nexport const TUI_PREVIEW_ICONS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_ICONS' : '',\n {\n factory: () => TUI_PREVIEW_ICONS_DEFAULT,\n },\n);\n\nexport function tuiPreviewIconsProvider(icons: Partial<TuiPreviewIcons>): Provider {\n return tuiProvideOptions(TUI_PREVIEW_ICONS, icons, TUI_PREVIEW_ICONS_DEFAULT);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAOA;;;AAGG;AACU,MAAA,wBAAwB,GAAG,IAAI,cAAc,CAExD,SAAS,GAAG,0BAA0B,GAAG,EAAE;AAEvC,SAAU,4BAA4B,CACxC,WAAqD,EAAA;IAErD,OAAO;AACH,QAAA,OAAO,EAAE,wBAAwB;AACjC,QAAA,IAAI,EAAE;YACF,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,SAAS,CAAC;AACvC,YAAA,CAAC,IAAI,QAAQ,EAAE,EAAE,WAAW,CAAC;AAChC,SAAA;AACD,QAAA,UAAU,EAAE,sBAAsB;KACrC;AACL;AAEA,SA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it/utils/inject-value.ts","../../../projects/kit/utils/is-flat.ts","../../../projects/kit/utils/maskito.binding.ts","../../../projects/kit/utils/phone.ts","../../../projects/kit/utils/toggle-day.ts","../../../projects/kit/utils/taiga-ui-kit-utils.ts"],"sourcesContent":["import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk/date-time';\n\nexport function tuiCreateTimePeriods(\n minHour = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n minutes.forEach((minute) => {\n const time = new TuiTime(i, minute);\n\n timeArray.push(time);\n });\n }\n\n return timeArray;\n}\n","import {inject, type Signal} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\n\nexport function tuiInjectValue<T>(): Signal<T> {\n const control =\n inject(TuiTextfieldComponent, {optional: true})?.control ||\n inject(NgControl, {optional: true});\n\n return toSignal(tuiControlValue(control), {requireSync: true});\n}\n","export function tuiIsFlat<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[],\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import {type Signal, type WritableSignal} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {type MaskitoOptions} from '@maskito/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils';\n\ntype M = MaskitoOptions | null;\n\nexport function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;\nexport function tuiMaskito(options: Signal<M>): Signal<M>;\nexport function tuiMaskito(options: M | Signal<M>): Signal<M> {\n return tuiDirectiveBinding(MaskitoDirective, 'options', options);\n}\n","import {CHAR_PLUS} from '@taiga-ui/cdk/constants';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {getCountryCallingCode, type MetadataJson} from 'libphonenumber-js/core';\n\nexport function tuiGetCallingCode(\n iso: TuiCountryIsoCode,\n metadata?: MetadataJson | null,\n): string {\n return metadata ? CHAR_PLUS + getCountryCallingCode(iso, metadata) : '';\n}\n","import {type TuiDay} from '@taiga-ui/cdk/date-time';\n\nexport function tuiToggleDay(\n days: readonly TuiDay[] | null,\n day: TuiDay,\n): readonly TuiDay[] {\n return (\n (days?.find((item) => item.daySame(day))\n ? days.filter((item) => !item.daySame(day))\n : days?.concat(day)) || []\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-utils.mjs","sources":["../../../projects/kit/utils/create-time-periods.ts","../../../projects/kit/utils/inject-value.ts","../../../projects/kit/utils/is-flat.ts","../../../projects/kit/utils/maskito.binding.ts","../../../projects/kit/utils/phone.ts","../../../projects/kit/utils/toggle-day.ts","../../../projects/kit/utils/taiga-ui-kit-utils.ts"],"sourcesContent":["import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk/date-time';\n\nexport function tuiCreateTimePeriods(\n minHour = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n minutes.forEach((minute) => {\n const time = new TuiTime(i, minute);\n\n timeArray.push(time);\n });\n }\n\n return timeArray;\n}\n","import {inject, type Signal} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\n\nexport function tuiInjectValue<T>(): Signal<T> {\n const control =\n inject(TuiTextfieldComponent, {optional: true})?.control ||\n inject(NgControl, {optional: true});\n\n return toSignal(tuiControlValue(control), {requireSync: true});\n}\n","export function tuiIsFlat<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[],\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import {type Signal, type WritableSignal} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {type MaskitoOptions} from '@maskito/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils';\n\ntype M = MaskitoOptions | null;\n\nexport function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;\nexport function tuiMaskito(options: Signal<M>): Signal<M>;\nexport function tuiMaskito(options: M | Signal<M>): Signal<M> {\n return tuiDirectiveBinding(MaskitoDirective, 'options', options);\n}\n","import {CHAR_PLUS} from '@taiga-ui/cdk/constants';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {getCountryCallingCode, type MetadataJson} from 'libphonenumber-js/core';\n\nexport function tuiGetCallingCode(\n iso: TuiCountryIsoCode,\n metadata?: MetadataJson | null,\n): string {\n return metadata ? CHAR_PLUS + getCountryCallingCode(iso, metadata) : '';\n}\n","import {type TuiDay} from '@taiga-ui/cdk/date-time';\n\nexport function tuiToggleDay(\n days: readonly TuiDay[] | null,\n day: TuiDay,\n): readonly TuiDay[] {\n return (\n (days?.find((item) => item.daySame(day))\n ? days.filter((item) => !item.daySame(day))\n : days?.concat(day)) || []\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAEgB,SAAA,oBAAoB,CAChC,OAAO,GAAG,CAAC,EACX,OAAkB,GAAA,YAAY,EAC9B,OAA6B,GAAA,CAAC,CAAC,EAAE,EAAE,CAAC,EAAA;IAEpC,MAAM,SAAS,GAAc,EAAE;AAE/B,IAAA,KAAK,IAAI,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,EAAE;AACpC,QAAA,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,KAAI;YACvB,MAAM,IAAI,GAAG,IAAI,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC;AAEnC,YA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|
+
"version": "4.52.0-canary.bf9131e",
|
|
4
4
|
"description": "Taiga UI Angular main components kit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -113,6 +113,10 @@
|
|
|
113
113
|
"types": "./components/confirm/index.d.ts",
|
|
114
114
|
"default": "./fesm2022/taiga-ui-kit-components-confirm.mjs"
|
|
115
115
|
},
|
|
116
|
+
"./components/copy": {
|
|
117
|
+
"types": "./components/copy/index.d.ts",
|
|
118
|
+
"default": "./fesm2022/taiga-ui-kit-components-copy.mjs"
|
|
119
|
+
},
|
|
116
120
|
"./components/data-list-wrapper": {
|
|
117
121
|
"types": "./components/data-list-wrapper/index.d.ts",
|
|
118
122
|
"default": "./fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs"
|
|
@@ -137,6 +141,10 @@
|
|
|
137
141
|
"types": "./components/floating-container/index.d.ts",
|
|
138
142
|
"default": "./fesm2022/taiga-ui-kit-components-floating-container.mjs"
|
|
139
143
|
},
|
|
144
|
+
"./components/fullscreen": {
|
|
145
|
+
"types": "./components/fullscreen/index.d.ts",
|
|
146
|
+
"default": "./fesm2022/taiga-ui-kit-components-fullscreen.mjs"
|
|
147
|
+
},
|
|
140
148
|
"./components/input-chip": {
|
|
141
149
|
"types": "./components/input-chip/index.d.ts",
|
|
142
150
|
"default": "./fesm2022/taiga-ui-kit-components-input-chip.mjs"
|
|
@@ -177,10 +185,6 @@
|
|
|
177
185
|
"types": "./components/input-number/index.d.ts",
|
|
178
186
|
"default": "./fesm2022/taiga-ui-kit-components-input-number.mjs"
|
|
179
187
|
},
|
|
180
|
-
"./components/input-password": {
|
|
181
|
-
"types": "./components/input-password/index.d.ts",
|
|
182
|
-
"default": "./fesm2022/taiga-ui-kit-components-input-password.mjs"
|
|
183
|
-
},
|
|
184
188
|
"./components/input-phone": {
|
|
185
189
|
"types": "./components/input-phone/index.d.ts",
|
|
186
190
|
"default": "./fesm2022/taiga-ui-kit-components-input-phone.mjs"
|
|
@@ -241,10 +245,6 @@
|
|
|
241
245
|
"types": "./components/pagination/index.d.ts",
|
|
242
246
|
"default": "./fesm2022/taiga-ui-kit-components-pagination.mjs"
|
|
243
247
|
},
|
|
244
|
-
"./components/pdf-viewer": {
|
|
245
|
-
"types": "./components/pdf-viewer/index.d.ts",
|
|
246
|
-
"default": "./fesm2022/taiga-ui-kit-components-pdf-viewer.mjs"
|
|
247
|
-
},
|
|
248
248
|
"./components/pin": {
|
|
249
249
|
"types": "./components/pin/index.d.ts",
|
|
250
250
|
"default": "./fesm2022/taiga-ui-kit-components-pin.mjs"
|
|
@@ -305,10 +305,6 @@
|
|
|
305
305
|
"types": "./components/status/index.d.ts",
|
|
306
306
|
"default": "./fesm2022/taiga-ui-kit-components-status.mjs"
|
|
307
307
|
},
|
|
308
|
-
"./components/stepper": {
|
|
309
|
-
"types": "./components/stepper/index.d.ts",
|
|
310
|
-
"default": "./fesm2022/taiga-ui-kit-components-stepper.mjs"
|
|
311
|
-
},
|
|
312
308
|
"./components/switch": {
|
|
313
309
|
"types": "./components/switch/index.d.ts",
|
|
314
310
|
"default": "./fesm2022/taiga-ui-kit-components-switch.mjs"
|
|
@@ -321,6 +317,10 @@
|
|
|
321
317
|
"types": "./components/textarea/index.d.ts",
|
|
322
318
|
"default": "./fesm2022/taiga-ui-kit-components-textarea.mjs"
|
|
323
319
|
},
|
|
320
|
+
"./components/stepper": {
|
|
321
|
+
"types": "./components/stepper/index.d.ts",
|
|
322
|
+
"default": "./fesm2022/taiga-ui-kit-components-stepper.mjs"
|
|
323
|
+
},
|
|
324
324
|
"./components/tiles": {
|
|
325
325
|
"types": "./components/tiles/index.d.ts",
|
|
326
326
|
"default": "./fesm2022/taiga-ui-kit-components-tiles.mjs"
|
|
@@ -329,6 +329,10 @@
|
|
|
329
329
|
"types": "./components/tree/index.d.ts",
|
|
330
330
|
"default": "./fesm2022/taiga-ui-kit-components-tree.mjs"
|
|
331
331
|
},
|
|
332
|
+
"./components/toast": {
|
|
333
|
+
"types": "./components/toast/index.d.ts",
|
|
334
|
+
"default": "./fesm2022/taiga-ui-kit-components-toast.mjs"
|
|
335
|
+
},
|
|
332
336
|
"./directives/button-close": {
|
|
333
337
|
"types": "./directives/button-close/index.d.ts",
|
|
334
338
|
"default": "./fesm2022/taiga-ui-kit-directives-button-close.mjs"
|
|
@@ -349,10 +353,6 @@
|
|
|
349
353
|
"types": "./directives/connected/index.d.ts",
|
|
350
354
|
"default": "./fesm2022/taiga-ui-kit-directives-connected.mjs"
|
|
351
355
|
},
|
|
352
|
-
"./directives/copy": {
|
|
353
|
-
"types": "./directives/copy/index.d.ts",
|
|
354
|
-
"default": "./fesm2022/taiga-ui-kit-directives-copy.mjs"
|
|
355
|
-
},
|
|
356
356
|
"./directives/data-list-dropdown-manager": {
|
|
357
357
|
"types": "./directives/data-list-dropdown-manager/index.d.ts",
|
|
358
358
|
"default": "./fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs"
|
|
@@ -369,10 +369,6 @@
|
|
|
369
369
|
"types": "./directives/highlight/index.d.ts",
|
|
370
370
|
"default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
|
|
371
371
|
},
|
|
372
|
-
"./directives/icon-badge": {
|
|
373
|
-
"types": "./directives/icon-badge/index.d.ts",
|
|
374
|
-
"default": "./fesm2022/taiga-ui-kit-directives-icon-badge.mjs"
|
|
375
|
-
},
|
|
376
372
|
"./directives/lazy-loading": {
|
|
377
373
|
"types": "./directives/lazy-loading/index.d.ts",
|
|
378
374
|
"default": "./fesm2022/taiga-ui-kit-directives-lazy-loading.mjs"
|
|
@@ -385,14 +381,14 @@
|
|
|
385
381
|
"types": "./directives/present/index.d.ts",
|
|
386
382
|
"default": "./fesm2022/taiga-ui-kit-directives-present.mjs"
|
|
387
383
|
},
|
|
388
|
-
"./directives/sensitive": {
|
|
389
|
-
"types": "./directives/sensitive/index.d.ts",
|
|
390
|
-
"default": "./fesm2022/taiga-ui-kit-directives-sensitive.mjs"
|
|
391
|
-
},
|
|
392
384
|
"./directives/shimmer": {
|
|
393
385
|
"types": "./directives/shimmer/index.d.ts",
|
|
394
386
|
"default": "./fesm2022/taiga-ui-kit-directives-shimmer.mjs"
|
|
395
387
|
},
|
|
388
|
+
"./directives/sensitive": {
|
|
389
|
+
"types": "./directives/sensitive/index.d.ts",
|
|
390
|
+
"default": "./fesm2022/taiga-ui-kit-directives-sensitive.mjs"
|
|
391
|
+
},
|
|
396
392
|
"./directives/skeleton": {
|
|
397
393
|
"types": "./directives/skeleton/index.d.ts",
|
|
398
394
|
"default": "./fesm2022/taiga-ui-kit-directives-skeleton.mjs"
|
|
@@ -413,10 +409,6 @@
|
|
|
413
409
|
"types": "./pipes/emails/index.d.ts",
|
|
414
410
|
"default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
|
|
415
411
|
},
|
|
416
|
-
"./pipes/field-error": {
|
|
417
|
-
"types": "./pipes/field-error/index.d.ts",
|
|
418
|
-
"default": "./fesm2022/taiga-ui-kit-pipes-field-error.mjs"
|
|
419
|
-
},
|
|
420
412
|
"./pipes/filter-by-input": {
|
|
421
413
|
"types": "./pipes/filter-by-input/index.d.ts",
|
|
422
414
|
"default": "./fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs"
|
|
@@ -447,16 +439,17 @@
|
|
|
447
439
|
"@angular/core": ">=19.0.0",
|
|
448
440
|
"@angular/forms": ">=19.0.0",
|
|
449
441
|
"@angular/router": ">=19.0.0",
|
|
450
|
-
"@maskito/angular": "^
|
|
451
|
-
"@maskito/core": "^
|
|
452
|
-
"@maskito/kit": "^
|
|
453
|
-
"@maskito/phone": "^
|
|
454
|
-
"@ng-web-apis/common": "^4.12.
|
|
455
|
-
"@ng-web-apis/intersection-observer": "^4.12.
|
|
456
|
-
"@ng-web-apis/mutation-observer": "^4.12.
|
|
457
|
-
"@ng-web-apis/resize-observer": "^4.12.
|
|
442
|
+
"@maskito/angular": "^4.0.0",
|
|
443
|
+
"@maskito/core": "^4.0.0",
|
|
444
|
+
"@maskito/kit": "^4.0.0",
|
|
445
|
+
"@maskito/phone": "^4.0.0",
|
|
446
|
+
"@ng-web-apis/common": "^4.12.2",
|
|
447
|
+
"@ng-web-apis/intersection-observer": "^4.12.2",
|
|
448
|
+
"@ng-web-apis/mutation-observer": "^4.12.2",
|
|
449
|
+
"@ng-web-apis/resize-observer": "^4.12.2",
|
|
458
450
|
"@taiga-ui/cdk": "^4.52.0",
|
|
459
451
|
"@taiga-ui/core": "^4.52.0",
|
|
452
|
+
"@taiga-ui/design-tokens": "~0.258.0",
|
|
460
453
|
"@taiga-ui/i18n": "^4.52.0",
|
|
461
454
|
"@taiga-ui/polymorpheus": "^4.9.0",
|
|
462
455
|
"rxjs": ">=7.0.0"
|
package/pipes/index.d.ts
CHANGED
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @name Avatar
|
|
5
|
+
* @selector [tuiAvatar]
|
|
6
|
+
*
|
|
7
|
+
* @description
|
|
8
|
+
* An avatar component which can be used with icons, text or images
|
|
9
|
+
* and is applicable to static elements as well as buttons and links
|
|
10
|
+
*
|
|
11
|
+
* @attributes
|
|
12
|
+
* data-size — size (default: 'l') ('xs' | 's' | 'm' | 'l' | 'xl' | 'xxl')
|
|
13
|
+
* data-shape — shape (default: 'round') ('round' | 'square')
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* <span tuiAvatar tuiIcons style="--t-icon-start: url('icon.svg')"></span>
|
|
17
|
+
* <button tuiAvatar>
|
|
18
|
+
* <img src="path/to/image" alt="Avatar" />
|
|
19
|
+
* </button>
|
|
20
|
+
*
|
|
21
|
+
* @see-also
|
|
22
|
+
* Icons, Icon, Appearance
|
|
23
|
+
*/
|
|
24
|
+
[tuiAvatar] {
|
|
25
|
+
--t-size: var(--tui-height-l);
|
|
26
|
+
--t-radius: 0.75rem;
|
|
27
|
+
--t-corner-offset: calc((var(--t-radius) * 1.4142 - var(--t-radius)) * 1 / 1.4142);
|
|
28
|
+
|
|
29
|
+
position: relative;
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
flex-shrink: 0;
|
|
32
|
+
inline-size: var(--t-size);
|
|
33
|
+
block-size: var(--t-size);
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
white-space: nowrap;
|
|
37
|
+
border-radius: var(--t-radius);
|
|
38
|
+
border: none;
|
|
39
|
+
background: var(--tui-background-neutral-1);
|
|
40
|
+
color: var(--tui-text-secondary);
|
|
41
|
+
vertical-align: middle;
|
|
42
|
+
box-sizing: border-box;
|
|
43
|
+
padding: 0.25rem;
|
|
44
|
+
font: var(--tui-font-text-l);
|
|
45
|
+
font-weight: bold;
|
|
46
|
+
opacity: 0.999; // Kick in hardware rendering layer to avoid artifacts on the edges
|
|
47
|
+
|
|
48
|
+
&::before {
|
|
49
|
+
inline-size: auto;
|
|
50
|
+
block-size: auto;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:not(._initials)::before {
|
|
54
|
+
position: absolute;
|
|
55
|
+
inset: 0;
|
|
56
|
+
font-size: calc(var(--t-size) * 0.6);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&[data-size='xs'] {
|
|
60
|
+
--t-size: var(--tui-height-xs);
|
|
61
|
+
--t-radius: 0.5rem;
|
|
62
|
+
|
|
63
|
+
font: var(--tui-font-text-ui-xs);
|
|
64
|
+
font-size: 0.5625rem;
|
|
65
|
+
|
|
66
|
+
&._initials::before {
|
|
67
|
+
font: var(--tui-font-text-ui-xs);
|
|
68
|
+
font-weight: bold;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&[data-size='s'] {
|
|
73
|
+
--t-size: var(--tui-height-s);
|
|
74
|
+
--t-radius: 0.5rem;
|
|
75
|
+
|
|
76
|
+
font: var(--tui-font-text-ui-xs);
|
|
77
|
+
font-weight: bold;
|
|
78
|
+
|
|
79
|
+
&._initials::before {
|
|
80
|
+
font: var(--tui-font-text-s);
|
|
81
|
+
font-weight: bold;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&[data-size='m'] {
|
|
86
|
+
--t-size: calc(var(--tui-height-m) - 0.25rem);
|
|
87
|
+
--t-radius: 0.75rem;
|
|
88
|
+
|
|
89
|
+
font: var(--tui-font-text-ui-m);
|
|
90
|
+
font-weight: bold;
|
|
91
|
+
|
|
92
|
+
&._initials::before {
|
|
93
|
+
font: var(--tui-font-text-m);
|
|
94
|
+
font-weight: bold;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&[data-size='xl'] {
|
|
99
|
+
--t-size: 5rem;
|
|
100
|
+
--t-radius: 0.75rem;
|
|
101
|
+
|
|
102
|
+
font: var(--tui-font-heading-4);
|
|
103
|
+
|
|
104
|
+
&._initials::before {
|
|
105
|
+
font: var(--tui-font-heading-3);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&[data-size='xxl'] {
|
|
110
|
+
--t-size: 6rem;
|
|
111
|
+
--t-radius: 1rem;
|
|
112
|
+
|
|
113
|
+
font: var(--tui-font-heading-3);
|
|
114
|
+
|
|
115
|
+
&._initials::before {
|
|
116
|
+
font: var(--tui-font-heading-3);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&[data-size='xxxl'] {
|
|
121
|
+
--t-size: 8rem;
|
|
122
|
+
--t-radius: 1.25rem;
|
|
123
|
+
|
|
124
|
+
font: var(--tui-font-heading-3);
|
|
125
|
+
|
|
126
|
+
&._initials::before {
|
|
127
|
+
font: var(--tui-font-heading-2);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&:not([data-shape='square']) {
|
|
132
|
+
--t-radius: calc(var(--t-size) / 2);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&._initials {
|
|
136
|
+
&::before {
|
|
137
|
+
content: attr(data-icon-start);
|
|
138
|
+
mask: none;
|
|
139
|
+
background: none;
|
|
140
|
+
font: var(--tui-font-heading-6);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&._badge {
|
|
145
|
+
mask: radial-gradient(
|
|
146
|
+
circle at calc(100% - var(--t-corner-offset)) calc(100% - var(--t-corner-offset)),
|
|
147
|
+
black 0.23rem,
|
|
148
|
+
transparent 0.25rem,
|
|
149
|
+
transparent 0.375rem,
|
|
150
|
+
black 0.39rem
|
|
151
|
+
);
|
|
152
|
+
mask-clip: no-clip;
|
|
153
|
+
|
|
154
|
+
&::after {
|
|
155
|
+
content: '';
|
|
156
|
+
position: absolute;
|
|
157
|
+
top: calc(100% - var(--t-corner-offset));
|
|
158
|
+
left: calc(100% - var(--t-corner-offset));
|
|
159
|
+
display: block;
|
|
160
|
+
inline-size: 0.55rem;
|
|
161
|
+
block-size: 0.55rem;
|
|
162
|
+
border-radius: 100%;
|
|
163
|
+
background: var(--t-badge);
|
|
164
|
+
transform: translate3d(-50%, -50%, 0);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&._fallback {
|
|
169
|
+
img,
|
|
170
|
+
video {
|
|
171
|
+
display: none;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
img,
|
|
176
|
+
video,
|
|
177
|
+
picture {
|
|
178
|
+
.fullsize();
|
|
179
|
+
|
|
180
|
+
object-fit: cover;
|
|
181
|
+
box-sizing: border-box;
|
|
182
|
+
border-radius: inherit;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
&:has(img, video):not(._fallback) {
|
|
186
|
+
background: none;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
* data-size — size (default: 'm') ('s' | 'm')
|
|
12
12
|
*
|
|
13
13
|
* @vars
|
|
14
|
-
* --t-
|
|
15
|
-
* --t-
|
|
14
|
+
* --t-icon-start — checkmark icon
|
|
15
|
+
* --t-icon-end — indeterminate state icon
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
|
-
* <input type="checkbox" tuiCheckbox />
|
|
18
|
+
* <input type="checkbox" tuiCheckbox tuiIcons tuiAppearance data-appearance='secondary' />
|
|
19
19
|
*
|
|
20
20
|
* @see-also
|
|
21
21
|
* Switch, Radio, Appearance
|
|
@@ -32,20 +32,22 @@
|
|
|
32
32
|
flex-shrink: 0;
|
|
33
33
|
|
|
34
34
|
&::before {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
position: absolute;
|
|
36
|
+
block-size: 100%;
|
|
37
|
+
inline-size: 100%;
|
|
38
38
|
font-size: 1rem;
|
|
39
|
-
|
|
40
|
-
mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"></svg>') no-repeat center /
|
|
41
|
-
calc(~'min(1em, 100%)' + 10 * var(--tui-stroke-width, 0.125rem)) ~'min(1em, 100%)' padding-box;
|
|
39
|
+
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"></svg>');
|
|
42
40
|
transform: scale(0);
|
|
43
41
|
transition:
|
|
44
42
|
transform var(--tui-duration) ease-in-out,
|
|
45
43
|
mask 0s var(--tui-duration) ease-in-out;
|
|
46
44
|
}
|
|
47
45
|
|
|
48
|
-
|
|
46
|
+
&::after {
|
|
47
|
+
display: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:disabled._readonly._readonly {
|
|
49
51
|
opacity: 1;
|
|
50
52
|
pointer-events: none;
|
|
51
53
|
}
|
|
@@ -53,7 +55,7 @@
|
|
|
53
55
|
&:checked,
|
|
54
56
|
&:indeterminate {
|
|
55
57
|
&::before {
|
|
56
|
-
mask-image: var(--t-
|
|
58
|
+
mask-image: var(--t-icon-start);
|
|
57
59
|
transform: scale(1);
|
|
58
60
|
transition:
|
|
59
61
|
transform var(--tui-duration) ease-in-out,
|
|
@@ -63,7 +65,7 @@
|
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
&:indeterminate::before {
|
|
66
|
-
mask-image: var(--t-
|
|
68
|
+
mask-image: var(--t-icon-end);
|
|
67
69
|
}
|
|
68
70
|
|
|
69
71
|
&[data-size='s'] {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* data-size — size (default: 's') ('xxs' | 'xs' | 's' | 'm')
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
|
-
* <tui-chip>Sale</tui-
|
|
14
|
+
* <tui-chip>Sale</tui-chip>
|
|
15
15
|
*
|
|
16
16
|
* @see-also
|
|
17
17
|
* Icons, Appearance, Badge, Block
|
|
@@ -32,6 +32,7 @@ tui-chip,
|
|
|
32
32
|
block-size: var(--t-size);
|
|
33
33
|
inline-size: fit-content;
|
|
34
34
|
isolation: isolate;
|
|
35
|
+
max-inline-size: stretch;
|
|
35
36
|
|
|
36
37
|
.interactive({
|
|
37
38
|
cursor: pointer;
|
|
@@ -47,6 +48,11 @@ tui-chip,
|
|
|
47
48
|
margin: -0.375rem;
|
|
48
49
|
}
|
|
49
50
|
|
|
51
|
+
> tui-badge,
|
|
52
|
+
> [tuiBadge] {
|
|
53
|
+
margin-inline-end: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
50
56
|
&[data-size='xxs'] {
|
|
51
57
|
// StackBlitz changes "0rem" to "0" breaking calc
|
|
52
58
|
--t-gap: ~'0rem';
|
|
@@ -85,10 +91,15 @@ tui-chip,
|
|
|
85
91
|
& > [tuiIconButton] {
|
|
86
92
|
margin: -0.75rem;
|
|
87
93
|
}
|
|
94
|
+
|
|
95
|
+
& > tui-badge,
|
|
96
|
+
& > [tuiBadge] {
|
|
97
|
+
margin-inline-start: -0.375rem;
|
|
98
|
+
}
|
|
88
99
|
}
|
|
89
100
|
|
|
90
101
|
& > img,
|
|
91
|
-
|
|
102
|
+
[tuiAvatar] {
|
|
92
103
|
inline-size: 1.5rem;
|
|
93
104
|
margin-inline-start: -0.375rem;
|
|
94
105
|
}
|
|
@@ -115,8 +126,6 @@ tui-chip,
|
|
|
115
126
|
}
|
|
116
127
|
}
|
|
117
128
|
|
|
118
|
-
&[tuiAppearance][data-appearance='error'], /* TODO @deprecated remove in v5 */
|
|
119
|
-
&[tuiAppearance][data-appearance='success'], /* TODO @deprecated remove in v5 */
|
|
120
129
|
&[tuiAppearance][data-appearance='negative'],
|
|
121
130
|
&[tuiAppearance][data-appearance='positive'],
|
|
122
131
|
&[tuiAppearance][data-appearance='warning'],
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
* data-size — size (default: 'm') ('s' | 'm')
|
|
12
12
|
*
|
|
13
13
|
* @vars
|
|
14
|
-
* --t-icon-color
|
|
15
|
-
* --t-
|
|
16
|
-
* --t-
|
|
14
|
+
* --t-icon-color — custom color for `:checked` state
|
|
15
|
+
* --t-icon-start — default state icon
|
|
16
|
+
* --t-icon-end — checkmark icon
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
|
-
* <input tuiLike />
|
|
19
|
+
* <input tuiLike tuiIcons tuiAppearance data-appearance="secondary" />
|
|
20
20
|
*
|
|
21
21
|
* @see-also
|
|
22
22
|
* Checkbox, Switch, Radio, Appearance
|
|
@@ -34,16 +34,11 @@
|
|
|
34
34
|
&::after {
|
|
35
35
|
.fullsize();
|
|
36
36
|
|
|
37
|
-
content: '';
|
|
38
|
-
background: currentColor;
|
|
39
37
|
font-size: 1.25rem;
|
|
40
|
-
mask: var(--t-unchecked-icon) no-repeat center /
|
|
41
|
-
calc(~'min(1em, 100%)' + 10 * var(--tui-stroke-width, 0.125rem)) ~'min(1em, 100%)' padding-box;
|
|
42
38
|
transition-property: transform, opacity;
|
|
43
39
|
}
|
|
44
40
|
|
|
45
41
|
&::after {
|
|
46
|
-
mask-image: var(--t-checked-icon);
|
|
47
42
|
opacity: 0;
|
|
48
43
|
color: var(--t-icon-color, inherit);
|
|
49
44
|
transform: scale(0);
|