@taiga-ui/kit 5.0.0-canary.ba4fa64 → 5.0.0-canary.bcc5bf6
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 +4 -1
- package/components/accordion/accordion.directive.d.ts +1 -0
- package/components/calendar-month/calendar-month.component.d.ts +11 -18
- package/components/calendar-range/calendar-range.component.d.ts +17 -22
- package/components/copy/copy.component.d.ts +3 -1
- package/components/copy/copy.directive.d.ts +1 -1
- package/components/copy/copy.options.d.ts +8 -4
- package/components/counter/counter.component.d.ts +17 -0
- package/components/counter/counter.options.d.ts +14 -0
- package/components/counter/index.d.ts +2 -0
- package/components/files/input-files/input-files.component.d.ts +4 -1
- package/components/filter/filter.component.d.ts +1 -1
- package/components/index.d.ts +3 -4
- package/components/input-chip/input-chip.directive.d.ts +1 -1
- package/components/input-date/input-date.directive.d.ts +3 -2
- package/components/input-date/input-date.options.d.ts +2 -4
- package/components/input-date-multi/input-date-multi.directive.d.ts +1 -1
- package/components/input-date-time/input-date-time.component.d.ts +2 -2
- package/components/input-month/input-month.directive.d.ts +1 -1
- package/components/input-month/input-month.options.d.ts +1 -7
- package/components/input-month-range/input-month-range.directive.d.ts +1 -1
- package/components/input-month-range/input-month-range.options.d.ts +1 -3
- package/components/input-number/index.d.ts +1 -0
- package/components/input-number/input-number.directive.d.ts +1 -0
- package/components/input-number/step/input-number-step.component.d.ts +3 -5
- package/components/input-number/step/input-number-step.service.d.ts +12 -0
- package/components/input-phone/input-phone.directive.d.ts +1 -1
- package/components/input-range/input-range.component.d.ts +1 -1
- package/components/input-slider/input-slider.d.ts +1 -1
- package/components/input-time/input-time.directive.d.ts +1 -1
- package/components/input-time/input-time.options.d.ts +1 -3
- package/components/input-year/input-year.directive.d.ts +1 -1
- package/components/line-clamp/line-clamp-box.component.d.ts +2 -0
- package/components/line-clamp/line-clamp.component.d.ts +5 -3
- package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +1 -0
- package/components/multi-select/multi-select-native/multi-select-native.component.d.ts +1 -1
- package/components/progress/progress-bar/progress-color-segments.directive.d.ts +2 -2
- package/components/radio-list/radio-list.component.d.ts +1 -5
- package/components/range/range.component.d.ts +2 -2
- package/components/select/native-select/native-select.component.d.ts +1 -1
- package/components/select/select-option/select-option.component.d.ts +1 -1
- package/components/shrink-wrap/index.d.ts +3 -0
- package/components/shrink-wrap/shrink-wrap.component.d.ts +5 -0
- package/components/shrink-wrap/shrink-wrap.d.ts +3 -0
- package/components/shrink-wrap/shrink-wrap.directive.d.ts +6 -0
- package/components/stepper/step.component.d.ts +1 -1
- package/components/switch/switch.component.d.ts +1 -1
- package/components/switch/switch.options.d.ts +1 -1
- package/components/textarea/textarea.directive.d.ts +1 -1
- package/components/timeline/index.d.ts +3 -0
- package/components/timeline/timeline-item.component.d.ts +14 -0
- package/components/timeline/timeline.component.d.ts +16 -0
- package/components/timeline/timeline.d.ts +3 -0
- package/components/toast/toast.directive.d.ts +4 -1
- package/components/tree/components/tree/tree.component.d.ts +1 -3
- package/directives/password/password.options.d.ts +18 -5
- package/fesm2022/taiga-ui-kit-components-accordion.mjs +20 -10
- package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-avatar.mjs +24 -24
- 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 +8 -8
- package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-block.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +36 -48
- package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +68 -100
- package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-chip.mjs +9 -9
- package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-comment.mjs +7 -7
- 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 +7 -7
- package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-copy.mjs +20 -18
- package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-counter.mjs +66 -0
- package/fesm2022/taiga-ui-kit-components-counter.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-drawer.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-files.mjs +37 -30
- package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-filter.mjs +5 -4
- package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs +15 -13
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-color.mjs +7 -6
- package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +11 -11
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +6 -5
- package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +10 -8
- package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date.mjs +34 -23
- package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs +5 -4
- package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +10 -6
- package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-month.mjs +17 -20
- package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-number.mjs +73 -55
- package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-range.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs +9 -8
- package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +15 -13
- package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-year.mjs +11 -9
- package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +14 -14
- package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-like.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +24 -13
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-message.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs +27 -20
- package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +11 -11
- package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pager.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pagination.mjs +4 -4
- package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pin.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-preview.mjs +37 -34
- 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 +15 -14
- package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs +9 -7
- package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-range.mjs +24 -23
- package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-rating.mjs +4 -4
- 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 +10 -9
- package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-select.mjs +21 -23
- package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-shrink-wrap.mjs +40 -0
- package/fesm2022/taiga-ui-kit-components-shrink-wrap.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-status.mjs +7 -7
- package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-stepper.mjs +8 -8
- package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-switch.mjs +5 -5
- package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tabs.mjs +24 -24
- package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-textarea.mjs +17 -16
- package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tiles.mjs +16 -14
- package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-timeline.mjs +68 -0
- package/fesm2022/taiga-ui-kit-components-timeline.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-toast.mjs +29 -25
- package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tree.mjs +24 -24
- package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components.mjs +3 -4
- package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs +3 -3
- package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-button-group.mjs +12 -8
- 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 +8 -7
- package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-connected.mjs +12 -8
- 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 -7
- 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 +3 -3
- package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-password.mjs +4 -10
- 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 +9 -7
- package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +8 -7
- package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +9 -8
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +8 -7
- package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +3 -3
- 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-pipes-auto-color.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-auto-color.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-flag.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +4 -4
- package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-pipes-initials.mjs +3 -3
- package/fesm2022/taiga-ui-kit-pipes-initials.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.map +1 -1
- package/fesm2022/taiga-ui-kit-utils.mjs +1 -5
- package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
- package/package.json +57 -52
- package/pipes/index.d.ts +0 -1
- package/tokens/i18n.d.ts +0 -1
- package/utils/index.d.ts +0 -1
- package/components/carousel/carousel-autoscroll.directive.d.ts +0 -6
- package/components/carousel/carousel-buttons.directive.d.ts +0 -5
- package/components/carousel/carousel-scroll.directive.d.ts +0 -7
- package/components/carousel/carousel.component.d.ts +0 -34
- package/components/carousel/carousel.d.ts +0 -7
- package/components/carousel/carousel.directive.d.ts +0 -16
- package/components/carousel/index.d.ts +0 -6
- package/components/checkbox/checkbox.component.d.ts +0 -10
- package/components/checkbox/checkbox.options.d.ts +0 -10
- package/components/checkbox/index.d.ts +0 -2
- package/components/radio/index.d.ts +0 -4
- package/components/radio/radio.component.d.ts +0 -18
- package/components/radio/radio.d.ts +0 -3
- package/components/radio/radio.directive.d.ts +0 -8
- package/components/radio/radio.options.d.ts +0 -7
- package/components/slider/helpers/key-steps.d.ts +0 -27
- package/components/slider/helpers/slider-key-steps.directive.d.ts +0 -32
- package/components/slider/helpers/slider-readonly.directive.d.ts +0 -15
- package/components/slider/helpers/slider-thumb-label.component.d.ts +0 -13
- package/components/slider/index.d.ts +0 -6
- package/components/slider/slider.component.d.ts +0 -22
- package/components/slider/slider.d.ts +0 -5
- package/fesm2022/taiga-ui-kit-components-carousel.mjs +0 -211
- package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs +0 -37
- package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-radio.mjs +0 -91
- package/fesm2022/taiga-ui-kit-components-radio.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-components-slider.mjs +0 -337
- package/fesm2022/taiga-ui-kit-components-slider.mjs.map +0 -1
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +0 -60
- package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +0 -1
- package/pipes/filter-by-input/filter-by-input.pipe.d.ts +0 -21
- package/pipes/filter-by-input/index.d.ts +0 -1
- package/styles/components/avatar.less +0 -188
- package/styles/components/badge.less +0 -127
- package/styles/components/block.less +0 -118
- package/styles/components/checkbox.less +0 -84
- package/styles/components/chip.less +0 -131
- package/styles/components/comment.less +0 -64
- package/styles/components/compass.less +0 -49
- package/styles/components/like.less +0 -67
- package/styles/components/message.less +0 -33
- package/styles/components/pin.less +0 -164
- package/styles/components/progress-bar.less +0 -117
- package/styles/components/radio.less +0 -59
- package/styles/components/status.less +0 -40
- package/styles/components/switch.less +0 -103
- package/styles/components/toast.less +0 -44
- package/utils/is-flat.d.ts +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TuiMultiSelectGroupDirective {
|
|
3
|
+
constructor();
|
|
3
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectGroupDirective, never>;
|
|
4
5
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiMultiSelectGroupDirective, "[tuiMultiSelectGroup]", never, {}, {}, never, never, true, never>;
|
|
5
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { tuiIsFlat } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
1
2
|
import { type TuiItemsHandlers } from '@taiga-ui/core/directives/items-handlers';
|
|
2
|
-
import { tuiIsFlat } from '@taiga-ui/kit/utils';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@taiga-ui/kit/components/input-chip";
|
|
5
5
|
import * as i2 from "@taiga-ui/core/components/textfield";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TuiProgressColorSegments {
|
|
3
3
|
private readonly el;
|
|
4
|
-
private readonly
|
|
5
|
-
protected readonly
|
|
4
|
+
private readonly width;
|
|
5
|
+
protected readonly gradient: import("@angular/core").Signal<string | null>;
|
|
6
6
|
readonly colors: import("@angular/core").InputSignal<readonly string[]>;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiProgressColorSegments, never>;
|
|
8
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiProgressColorSegments, "progress[tuiProgressBar][tuiProgressColorSegments]", never, { "colors": { "alias": "tuiProgressColorSegments"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { type ValidatorFn } from '@angular/forms';
|
|
2
2
|
import { TuiControl } from '@taiga-ui/cdk/classes';
|
|
3
|
-
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
4
3
|
import { type TuiSizeS } from '@taiga-ui/core/types';
|
|
5
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
import * as i1 from "@taiga-ui/core/directives/items-handlers";
|
|
8
6
|
export declare class TuiRadioList<T> extends TuiControl<T> {
|
|
@@ -12,9 +10,7 @@ export declare class TuiRadioList<T> extends TuiControl<T> {
|
|
|
12
10
|
protected readonly validator: import("@angular/core").Signal<ValidatorFn>;
|
|
13
11
|
readonly items: import("@angular/core").InputSignal<readonly T[] | undefined>;
|
|
14
12
|
readonly size: import("@angular/core").InputSignal<TuiSizeS>;
|
|
15
|
-
readonly itemContent: import("@angular/core").InputSignal<PolymorpheusContent
|
|
16
|
-
active: boolean;
|
|
17
|
-
}>>;
|
|
13
|
+
readonly itemContent: import("@angular/core").InputSignal<import("@taiga-ui/polymorpheus").PolymorpheusContent>;
|
|
18
14
|
protected get name(): string;
|
|
19
15
|
protected onFocusOut(): void;
|
|
20
16
|
protected itemIsActive(item: T): boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
1
|
import { TuiControl } from '@taiga-ui/cdk/classes';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
import * as i1 from "./range-change.directive";
|
|
5
4
|
export declare class TuiRange extends TuiControl<[number, number]> {
|
|
6
5
|
private readonly el;
|
|
6
|
+
private readonly sliders;
|
|
7
7
|
protected lastActiveThumb: 'end' | 'start';
|
|
8
8
|
readonly min: import("@angular/core").InputSignal<number>;
|
|
9
9
|
readonly max: import("@angular/core").InputSignal<number>;
|
|
@@ -15,7 +15,7 @@ export declare class TuiRange extends TuiControl<[number, number]> {
|
|
|
15
15
|
readonly limit: import("@angular/core").InputSignal<number>;
|
|
16
16
|
readonly start: import("@angular/core").Signal<number>;
|
|
17
17
|
readonly end: import("@angular/core").Signal<number>;
|
|
18
|
-
readonly
|
|
18
|
+
readonly thumbs: import("@angular/core").Signal<readonly [HTMLInputElement, HTMLInputElement]>;
|
|
19
19
|
protected readonly segmentWidthRatio: import("@angular/core").Signal<number>;
|
|
20
20
|
protected readonly fractionStep: import("@angular/core").Signal<number>;
|
|
21
21
|
protected readonly computedKeySteps: import("@angular/core").Signal<[[0, number], ...[number, number][], [100, number]]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TuiControl } from '@taiga-ui/cdk/classes';
|
|
2
|
+
import { tuiIsFlat } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
2
3
|
import { type TuiTextfieldAccessor } from '@taiga-ui/core/components/textfield';
|
|
3
4
|
import { type TuiItemsHandlers } from '@taiga-ui/core/directives/items-handlers';
|
|
4
|
-
import { tuiIsFlat } from '@taiga-ui/kit/utils';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "@taiga-ui/core/components/input";
|
|
7
7
|
export declare class TuiNativeSelect<T> extends TuiControl<T | null> implements TuiTextfieldAccessor<T> {
|
|
@@ -5,7 +5,7 @@ export declare class TuiSelectOption<T> {
|
|
|
5
5
|
private readonly handlers;
|
|
6
6
|
private readonly value;
|
|
7
7
|
protected readonly datalist: TuiDataListComponent<any>;
|
|
8
|
-
protected readonly option: TuiOptionWithValue<T
|
|
8
|
+
protected readonly option: TuiOptionWithValue<T>;
|
|
9
9
|
protected readonly selected: import("@angular/core").Signal<boolean>;
|
|
10
10
|
protected readonly scrolled: import("@angular/core").Signal<boolean>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectOption<any>, never>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TuiShrinkWrapComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiShrinkWrapComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiShrinkWrapComponent, "tui-shrink-wrap", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TuiShrinkWrapDirective {
|
|
3
|
+
readonly tuiShrinkWrap: import("@angular/core").InputSignal<string>;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiShrinkWrapDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiShrinkWrapDirective, "[tuiShrinkWrap]:not([tuiToast])", never, { "tuiShrinkWrap": { "alias": "tuiShrinkWrap"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -12,7 +12,7 @@ export declare class TuiStep {
|
|
|
12
12
|
readonly stepState: import("@angular/core").InputSignal<"error" | "normal" | "pass">;
|
|
13
13
|
readonly icon: import("@angular/core").InputSignal<string>;
|
|
14
14
|
protected readonly isActive: import("@angular/core").Signal<boolean>;
|
|
15
|
-
protected avatarAppearance: import("@angular/core").Signal<"primary" | "negative" | "secondary">;
|
|
15
|
+
protected readonly avatarAppearance: import("@angular/core").Signal<"primary" | "negative" | "secondary">;
|
|
16
16
|
protected readonly avatarContent: import("@angular/core").Signal<string>;
|
|
17
17
|
protected readonly avatarIcon: import("@angular/core").Signal<string>;
|
|
18
18
|
protected get index(): number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TuiRadioComponent } from '@taiga-ui/
|
|
1
|
+
import { TuiRadioComponent } from '@taiga-ui/core/components/radio';
|
|
2
2
|
import { type TuiSwitchOptions } from './switch.options';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@taiga-ui/core/directives/icons";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
2
|
+
import { type TuiRadioOptions } from '@taiga-ui/core/components/radio';
|
|
2
3
|
import { type TuiSizeS } from '@taiga-ui/core/types';
|
|
3
|
-
import { type TuiRadioOptions } from '@taiga-ui/kit/components/radio';
|
|
4
4
|
export interface TuiSwitchOptions extends TuiRadioOptions {
|
|
5
5
|
readonly showIcons: boolean;
|
|
6
6
|
readonly icon: TuiStringHandler<TuiSizeS>;
|
|
@@ -2,7 +2,7 @@ import { type DoCheck } from '@angular/core';
|
|
|
2
2
|
import { type AbstractControl, type ValidationErrors, type Validator } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TuiTextareaDirective implements Validator, DoCheck {
|
|
5
|
-
private readonly
|
|
5
|
+
private readonly value;
|
|
6
6
|
private readonly ref;
|
|
7
7
|
readonly size: import("@angular/core").Signal<"m" | "l" | "s">;
|
|
8
8
|
readonly limit: import("@angular/core").InputSignal<number>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TuiTimelineComponent } from './timeline.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TuiTimelineItem {
|
|
4
|
+
protected readonly timeline: TuiTimelineComponent;
|
|
5
|
+
protected readonly offset: import("@angular/core").WritableSignal<number>;
|
|
6
|
+
readonly draggable: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
readonly resizable: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
readonly value: import("@angular/core").ModelSignal<readonly [number, number]>;
|
|
9
|
+
readonly min: import("@angular/core").Signal<number>;
|
|
10
|
+
readonly max: import("@angular/core").Signal<number>;
|
|
11
|
+
protected update(input: HTMLInputElement): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTimelineItem, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTimelineItem, "label[tuiTimelineItem]", never, { "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["*"], true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
|
+
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
3
|
+
import { type TuiOrientation } from '@taiga-ui/core/types';
|
|
4
|
+
import { TuiTimelineItem } from './timeline-item.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TuiTimelineComponent {
|
|
7
|
+
readonly items: import("@angular/core").Signal<readonly TuiTimelineItem[]>;
|
|
8
|
+
readonly d: import("@angular/core").Signal<number>;
|
|
9
|
+
readonly value: import("@angular/core").Signal<(readonly [number, number])[]>;
|
|
10
|
+
readonly gaps: import("@angular/core").Signal<(readonly [number, number])[]>;
|
|
11
|
+
readonly orientation: import("@angular/core").InputSignal<TuiOrientation>;
|
|
12
|
+
readonly template: import("@angular/core").InputSignal<TemplateRef<TuiContext<number>> | undefined>;
|
|
13
|
+
readonly max: import("@angular/core").InputSignal<number>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTimelineComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTimelineComponent, "tui-timeline", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "template": { "alias": "template"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
|
|
16
|
+
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "@taiga-ui/core/directives/icons";
|
|
3
|
+
import * as i2 from "@taiga-ui/kit/components/shrink-wrap";
|
|
3
4
|
export declare class TuiToastDirective {
|
|
5
|
+
readonly tuiShrinkWrap: import("@angular/core").InputSignal<string>;
|
|
4
6
|
protected readonly nothing: undefined;
|
|
7
|
+
protected readonly width: import("@angular/core").InputSignal<string>;
|
|
5
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiToastDirective, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiToastDirective, "[tuiToast]:not(ng-template)", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiWithIcons; inputs: {}; outputs: {}; }]>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiToastDirective, "[tuiToast]:not(ng-template)", never, { "tuiShrinkWrap": { "alias": "tuiShrinkWrap"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithIcons; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiShrinkWrapDirective; inputs: {}; outputs: {}; }]>;
|
|
7
10
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { type DoCheck, type TrackByFunction } from '@angular/core';
|
|
2
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
2
|
import { TuiTreeChildren } from '../../directives/tree-children.directive';
|
|
4
|
-
import { type TuiTreeContext } from '../../misc/tree.interfaces';
|
|
5
3
|
import { TuiTreeItem } from '../tree-item/tree-item.component';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
export declare class TuiTreeComponent<T> implements DoCheck {
|
|
@@ -12,7 +10,7 @@ export declare class TuiTreeComponent<T> implements DoCheck {
|
|
|
12
10
|
protected readonly directive: TuiTreeChildren<T> | null;
|
|
13
11
|
readonly value: import("@angular/core").InputSignal<T>;
|
|
14
12
|
readonly trackBy: import("@angular/core").InputSignal<TrackByFunction<T>>;
|
|
15
|
-
readonly content: import("@angular/core").InputSignal<PolymorpheusContent
|
|
13
|
+
readonly content: import("@angular/core").InputSignal<import("@taiga-ui/polymorpheus").PolymorpheusContent>;
|
|
16
14
|
ngDoCheck(): void;
|
|
17
15
|
protected checkChanges(): void;
|
|
18
16
|
private get handler();
|
|
@@ -1,9 +1,22 @@
|
|
|
1
|
-
import { type TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
2
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
3
1
|
export interface TuiPasswordOptions {
|
|
4
2
|
readonly icons: Readonly<{
|
|
5
|
-
hide:
|
|
6
|
-
show:
|
|
3
|
+
hide: string;
|
|
4
|
+
show: string;
|
|
7
5
|
}>;
|
|
8
6
|
}
|
|
9
|
-
export declare const TUI_PASSWORD_OPTIONS: import("@angular/core").InjectionToken<
|
|
7
|
+
export declare const TUI_PASSWORD_OPTIONS: import("@angular/core").InjectionToken<{
|
|
8
|
+
icons: {
|
|
9
|
+
hide: string;
|
|
10
|
+
show: string;
|
|
11
|
+
};
|
|
12
|
+
}>, tuiPasswordOptionsProvider: (item: Partial<{
|
|
13
|
+
icons: {
|
|
14
|
+
hide: string;
|
|
15
|
+
show: string;
|
|
16
|
+
};
|
|
17
|
+
}> | (() => Partial<{
|
|
18
|
+
icons: {
|
|
19
|
+
hide: string;
|
|
20
|
+
show: string;
|
|
21
|
+
};
|
|
22
|
+
}>)) => import("@angular/core").FactoryProvider;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { TuiItem } from '@taiga-ui/cdk/directives/item';
|
|
2
2
|
import { TuiExpand } from '@taiga-ui/core/components/expand';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { inject, model, Directive, contentChildren, input, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
|
|
5
|
-
import {
|
|
4
|
+
import { inject, model, Directive, contentChildren, ElementRef, effect, input, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
|
|
5
|
+
import { TUI_VERSION } from '@taiga-ui/cdk/constants';
|
|
6
|
+
import { tuiGenerateId, tuiSetSignal } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
6
7
|
import * as i1$1 from '@taiga-ui/core/directives/group';
|
|
7
8
|
import { tuiGroupOptionsProvider, TuiGroup } from '@taiga-ui/core/directives/group';
|
|
8
9
|
import { tuiDirectiveBinding } from '@taiga-ui/cdk/utils/di';
|
|
@@ -16,6 +17,7 @@ class TuiAccordionDirective {
|
|
|
16
17
|
constructor() {
|
|
17
18
|
this.accordion = inject(TuiAccordionComponent);
|
|
18
19
|
this.open = model(false, { alias: 'tuiAccordion' });
|
|
20
|
+
this.id = tuiGenerateId();
|
|
19
21
|
this.size = tuiDirectiveBinding(TuiButton, 'size', this.accordion.size);
|
|
20
22
|
this.chevron = tuiDirectiveBinding(TuiChevron, 'rotated', this.open);
|
|
21
23
|
}
|
|
@@ -26,13 +28,13 @@ class TuiAccordionDirective {
|
|
|
26
28
|
this.open.set(!this.open());
|
|
27
29
|
this.accordion.toggle(this);
|
|
28
30
|
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
30
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: TuiAccordionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
32
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.19", type: TuiAccordionDirective, isStandalone: true, selector: "button[tuiAccordion]", inputs: { open: { classPropertyName: "open", publicName: "tuiAccordion", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "tuiAccordionChange" }, host: { attributes: { "tuiButton": "", "tuiAccordion": "", "type": "button" }, listeners: { "click": "toggle()" }, properties: { "attr.aria-expanded": "open() || \"false\"", "attr.aria-controls": "id" } }, providers: [
|
|
31
33
|
tuiAvatarOptionsProvider({ size: 's' }),
|
|
32
34
|
tuiButtonOptionsProvider({ appearance: 'outline-grayscale' }),
|
|
33
35
|
], usesOnChanges: true, hostDirectives: [{ directive: i1.TuiButton }, { directive: i2.TuiChevron }], ngImport: i0 }); }
|
|
34
36
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: TuiAccordionDirective, decorators: [{
|
|
36
38
|
type: Directive,
|
|
37
39
|
args: [{
|
|
38
40
|
selector: 'button[tuiAccordion]',
|
|
@@ -45,7 +47,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
45
47
|
tuiButton: '',
|
|
46
48
|
tuiAccordion: '',
|
|
47
49
|
type: 'button',
|
|
48
|
-
'[
|
|
50
|
+
'[attr.aria-expanded]': 'open() || "false"',
|
|
51
|
+
'[attr.aria-controls]': 'id',
|
|
49
52
|
'(click)': 'toggle()',
|
|
50
53
|
},
|
|
51
54
|
}]
|
|
@@ -55,6 +58,10 @@ class TuiAccordionComponent {
|
|
|
55
58
|
constructor() {
|
|
56
59
|
this.expands = contentChildren(TuiExpand);
|
|
57
60
|
this.directives = contentChildren(TuiAccordionDirective);
|
|
61
|
+
this.elements = contentChildren(TuiExpand, { read: ElementRef });
|
|
62
|
+
this.sync = effect(() => this.elements().forEach(({ nativeElement }, index) => {
|
|
63
|
+
nativeElement.id = this.directives()[index]?.id;
|
|
64
|
+
}));
|
|
58
65
|
this.closeOthers = input(true);
|
|
59
66
|
this.size = input('l');
|
|
60
67
|
}
|
|
@@ -72,12 +79,15 @@ class TuiAccordionComponent {
|
|
|
72
79
|
tuiSetSignal(expand.expanded, !!directive.open());
|
|
73
80
|
}
|
|
74
81
|
}
|
|
75
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
76
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.
|
|
82
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: TuiAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
83
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.19", type: TuiAccordionComponent, isStandalone: true, selector: "tui-accordion", inputs: { closeOthers: { classPropertyName: "closeOthers", publicName: "closeOthers", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-tui-version": "5.0.0-canary.bcc5bf6" }, properties: { "attr.data-size": "size()" } }, providers: [tuiGroupOptionsProvider({ orientation: 'vertical', collapsed: true })], queries: [{ propertyName: "expands", predicate: TuiExpand, isSignal: true }, { propertyName: "directives", predicate: TuiAccordionDirective, isSignal: true }, { propertyName: "elements", predicate: TuiExpand, read: ElementRef, isSignal: true }], hostDirectives: [{ directive: i1$1.TuiGroup }], ngImport: i0, template: '<ng-content />', isInline: true, styles: ["tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"]){inline-size:100%;border-radius:var(--t-group-radius);font:var(--tui-typography-body-m);overflow:hidden}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>[tuiAccordion]{text-align:start;justify-content:flex-start}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>[tuiAccordion]:last-of-type:not([aria-expanded=true]){-webkit-mask-image:var(--t-group-mask-end);mask-image:var(--t-group-mask-end);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>[tuiAccordion]:first-child{border-top-left-radius:inherit!important;border-top-right-radius:inherit!important}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>[tuiAccordion]:first-child:last-of-type:not([aria-expanded=true]){mask:none}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>[tuiAccordion]:after{margin-inline-start:auto!important}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>[tuiAccordion]>[tuiAvatar]{margin:0}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>tui-expand{visibility:hidden;min-block-size:1px!important;padding:1.25rem;transition-property:grid-template-rows,padding,visibility!important;box-shadow:inset 0 0 0 1px var(--tui-border-normal)}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>tui-expand:last-child{border-bottom-left-radius:inherit!important;border-bottom-right-radius:inherit!important}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>[tuiAccordion][data-appearance=\"\"]+tui-expand{box-shadow:none}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])[data-size=m]{font:var(--tui-typography-body-s)}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])[data-size=m]>tui-expand{padding:1rem}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])[data-size=s]{font:var(--tui-typography-body-s)}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])[data-size=s]>tui-expand{padding:.625rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
77
84
|
}
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: TuiAccordionComponent, decorators: [{
|
|
79
86
|
type: Component,
|
|
80
|
-
args: [{ selector: 'tui-accordion', template: '<ng-content />', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiGroupOptionsProvider({ orientation: 'vertical', collapsed: true })], hostDirectives: [TuiGroup], host: {
|
|
87
|
+
args: [{ selector: 'tui-accordion', template: '<ng-content />', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiGroupOptionsProvider({ orientation: 'vertical', collapsed: true })], hostDirectives: [TuiGroup], host: {
|
|
88
|
+
'data-tui-version': TUI_VERSION,
|
|
89
|
+
'[attr.data-size]': 'size()',
|
|
90
|
+
}, styles: ["tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"]){inline-size:100%;border-radius:var(--t-group-radius);font:var(--tui-typography-body-m);overflow:hidden}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>[tuiAccordion]{text-align:start;justify-content:flex-start}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>[tuiAccordion]:last-of-type:not([aria-expanded=true]){-webkit-mask-image:var(--t-group-mask-end);mask-image:var(--t-group-mask-end);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>[tuiAccordion]:first-child{border-top-left-radius:inherit!important;border-top-right-radius:inherit!important}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>[tuiAccordion]:first-child:last-of-type:not([aria-expanded=true]){mask:none}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>[tuiAccordion]:after{margin-inline-start:auto!important}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>[tuiAccordion]>[tuiAvatar]{margin:0}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>tui-expand{visibility:hidden;min-block-size:1px!important;padding:1.25rem;transition-property:grid-template-rows,padding,visibility!important;box-shadow:inset 0 0 0 1px var(--tui-border-normal)}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>tui-expand:last-child{border-bottom-left-radius:inherit!important;border-bottom-right-radius:inherit!important}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])>[tuiAccordion][data-appearance=\"\"]+tui-expand{box-shadow:none}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])[data-size=m]{font:var(--tui-typography-body-s)}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])[data-size=m]>tui-expand{padding:1rem}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])[data-size=s]{font:var(--tui-typography-body-s)}tui-accordion:where(*[data-tui-version=\"5.0.0-canary.bcc5bf6\"])[data-size=s]>tui-expand{padding:.625rem}\n"] }]
|
|
81
91
|
}] });
|
|
82
92
|
|
|
83
93
|
const TuiAccordion = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-components-accordion.mjs","sources":["../../../projects/kit/components/accordion/accordion.directive.ts","../../../projects/kit/components/accordion/accordion.component.ts","../../../projects/kit/components/accordion/accordion.ts","../../../projects/kit/components/accordion/taiga-ui-kit-components-accordion.ts"],"sourcesContent":["import {Directive, inject, model, type OnChanges} from '@angular/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils/di';\nimport {TuiButton, tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\nimport {tuiAvatarOptionsProvider} from '@taiga-ui/kit/components/avatar';\nimport {TuiChevron} from '@taiga-ui/kit/directives/chevron';\n\nimport {TuiAccordionComponent} from './accordion.component';\n\n@Directive({\n selector: 'button[tuiAccordion]',\n providers: [\n tuiAvatarOptionsProvider({size: 's'}),\n tuiButtonOptionsProvider({appearance: 'outline-grayscale'}),\n ],\n hostDirectives: [TuiButton, TuiChevron],\n host: {\n tuiButton: '',\n tuiAccordion: '',\n type: 'button',\n '[
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-components-accordion.mjs","sources":["../../../projects/kit/components/accordion/accordion.directive.ts","../../../projects/kit/components/accordion/accordion.component.ts","../../../projects/kit/components/accordion/accordion.ts","../../../projects/kit/components/accordion/taiga-ui-kit-components-accordion.ts"],"sourcesContent":["import {Directive, inject, model, type OnChanges} from '@angular/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils/di';\nimport {tuiGenerateId} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiButton, tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\nimport {tuiAvatarOptionsProvider} from '@taiga-ui/kit/components/avatar';\nimport {TuiChevron} from '@taiga-ui/kit/directives/chevron';\n\nimport {TuiAccordionComponent} from './accordion.component';\n\n@Directive({\n selector: 'button[tuiAccordion]',\n providers: [\n tuiAvatarOptionsProvider({size: 's'}),\n tuiButtonOptionsProvider({appearance: 'outline-grayscale'}),\n ],\n hostDirectives: [TuiButton, TuiChevron],\n host: {\n tuiButton: '',\n tuiAccordion: '',\n type: 'button',\n '[attr.aria-expanded]': 'open() || \"false\"',\n '[attr.aria-controls]': 'id',\n '(click)': 'toggle()',\n },\n})\nexport class TuiAccordionDirective implements OnChanges {\n private readonly accordion = inject(TuiAccordionComponent);\n\n public readonly open = model<boolean | ''>(false, {alias: 'tuiAccordion'});\n public readonly id = tuiGenerateId();\n public readonly size = tuiDirectiveBinding(TuiButton, 'size', this.accordion.size);\n public readonly chevron = tuiDirectiveBinding(TuiChevron, 'rotated', this.open);\n\n public ngOnChanges(): void {\n this.accordion.toggle(this);\n }\n\n public toggle(): void {\n this.open.set(!this.open());\n this.accordion.toggle(this);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n contentChildren,\n effect,\n ElementRef,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {TUI_VERSION} from '@taiga-ui/cdk/constants';\nimport {tuiSetSignal} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiExpand} from '@taiga-ui/core/components/expand';\nimport {TuiGroup, tuiGroupOptionsProvider} from '@taiga-ui/core/directives/group';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\n\nimport {TuiAccordionDirective} from './accordion.directive';\n\n@Component({\n selector: 'tui-accordion',\n template: '<ng-content />',\n styles: `\n [data-tui-version='${TUI_VERSION}'] {\n @import './accordion.style.less';\n }\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiGroupOptionsProvider({orientation: 'vertical', collapsed: true})],\n hostDirectives: [TuiGroup],\n host: {\n 'data-tui-version': TUI_VERSION,\n '[attr.data-size]': 'size()',\n },\n})\nexport class TuiAccordionComponent {\n protected readonly expands = contentChildren(TuiExpand);\n protected readonly directives = contentChildren(TuiAccordionDirective);\n protected readonly elements = contentChildren(TuiExpand, {read: ElementRef});\n protected readonly sync = effect(() =>\n this.elements().forEach(({nativeElement}, index) => {\n nativeElement.id = this.directives()[index]?.id;\n }),\n );\n\n public readonly closeOthers = input(true);\n public readonly size = input<TuiSizeL | TuiSizeS>('l');\n\n public toggle(directive: TuiAccordionDirective): void {\n if (this.closeOthers() && directive.open()) {\n this.expands().forEach((expand) => tuiSetSignal(expand.expanded, false));\n this.directives().forEach((dir) => {\n if (dir !== directive) {\n dir.open.set(false);\n }\n });\n }\n\n const expand = this.expands()[this.directives().indexOf(directive)];\n\n if (expand) {\n tuiSetSignal(expand.expanded, !!directive.open());\n }\n }\n}\n","import {TuiItem} from '@taiga-ui/cdk/directives/item';\nimport {TuiExpand} from '@taiga-ui/core/components/expand';\n\nimport {TuiAccordionComponent} from './accordion.component';\nimport {TuiAccordionDirective} from './accordion.directive';\n\nexport const TuiAccordion = [\n TuiAccordionComponent,\n TuiAccordionDirective,\n TuiExpand,\n TuiItem,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;MAyBa,qBAAqB,CAAA;AAhBlC,IAAA,WAAA,GAAA;AAiBqB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,qBAAqB,CAAC;QAE1C,IAAA,CAAA,IAAI,GAAG,KAAK,CAAe,KAAK,EAAE,EAAC,KAAK,EAAE,cAAc,EAAC,CAAC;QAC1D,IAAA,CAAA,EAAE,GAAG,aAAa,EAAE;AACpB,QAAA,IAAA,CAAA,IAAI,GAAG,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;QAClE,IAAA,CAAA,OAAO,GAAG,mBAAmB,CAAC,UAAU,EAAE,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC;AAUlF,IAAA;IARU,WAAW,GAAA;AACd,QAAA,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC;IAC/B;IAEO,MAAM,GAAA;QACT,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;AAC3B,QAAA,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC;IAC/B;+GAfS,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,C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A,EAAA,EAAA,EAAA,YAAA,EAAA,YAAA,EAAA,SAAA,EACN,qBAAqB,2DACvB,SAAS,EAAA,IAAA,EAAS,UAAU,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAAA,IAAA,CAAA,QAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAlBhE,gBAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,6jEAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAejB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAjBjC,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,eAAe,EAAA,QAAA,EACf,gBAAgB,EAAA,aAAA,EAMX,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,SAAA,EACpC,CAAC,uBAAuB,CAAC,EAAC,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,IAAI,EAAC,CAAC,CAAC,EAAA,cAAA,EAChE,CAAC,QAAQ,CAAC,EAAA,IAAA,EACpB;AACF,wBAAA,kBAAkB,EAAE,WAAW;AAC/B,wBAAA,kBAAkB,EAAE,QAAQ;AAC/B,qBAAA,EAAA,MAAA,EAAA,CAAA,6jEAAA,CAAA,EAAA;;;AC1BE,MAAM,YAAY,GAAG;IACxB,qBAAqB;IACrB,qBAAqB;IACrB,SAAS;IACT,OAAO;;;ACVX;;AAEG;;;;"}
|
|
@@ -11,16 +11,16 @@ class TuiActionBar {
|
|
|
11
11
|
this.expanded = input(false);
|
|
12
12
|
this.size = input('m');
|
|
13
13
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
15
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: TuiActionBar, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.19", type: TuiActionBar, isStandalone: true, selector: "tui-action-bar", inputs: { expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "tuiTheme": "dark" }, properties: { "attr.data-size": "size()" } }, providers: [
|
|
16
16
|
tuiLinkOptionsProvider({ appearance: 'action-grayscale' }),
|
|
17
17
|
tuiButtonOptionsProvider(() => ({
|
|
18
18
|
appearance: 'secondary-grayscale',
|
|
19
19
|
size: inject(TuiActionBar).size(),
|
|
20
20
|
})),
|
|
21
|
-
], hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: "<tui-expand [expanded]=\"expanded()\">\n <ng-content select=\"tui-data-list,[tuiMenu]\" />\n</tui-expand>\n\n<div class=\"t-content\">\n <ng-content />\n\n <div class=\"t-actions\">\n <ng-content select=\"a,button,[tuiAction]\" />\n </div>\n</div>\n", styles: [":host{position:fixed;
|
|
21
|
+
], hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: "<tui-expand [expanded]=\"expanded()\">\n <ng-content select=\"tui-data-list,[tuiMenu]\" />\n</tui-expand>\n\n<div class=\"t-content\">\n <ng-content />\n\n <div class=\"t-actions\">\n <ng-content select=\"a,button,[tuiAction]\" />\n </div>\n</div>\n", styles: [":host{position:fixed;display:flex;inset-inline-start:max(calc(50% - 37rem),1.5rem);inset-block-end:max(1rem,env(safe-area-inset-bottom));inline-size:100%;max-inline-size:min(calc(100vw - 3rem),74rem);box-sizing:border-box;border-radius:1rem;background:var(--tui-background-elevation-2);background:color-mix(in hsl,var(--tui-background-elevation-2) 75%,transparent);color:var(--tui-text-primary);-webkit-backdrop-filter:blur(2rem);backdrop-filter:blur(2rem);flex-direction:column;justify-content:center;padding:.75rem;text-indent:.75rem;font:var(--tui-typography-body-m);white-space:nowrap}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}:host[data-size=s]{border-radius:var(--tui-radius-l);font:var(--tui-typography-body-s);padding:.5rem}:host-context(tui-root._mobile) :host{padding:1rem;border-radius:1.25rem;text-indent:0}:host ::ng-deep tui-data-list[data-size]{padding:0;margin:-.625rem -.625rem 1rem}:host ::ng-deep tui-items-with-more{text-indent:.5rem}:host-context(tui-root._mobile) :host ::ng-deep tui-items-with-more{display:none}.t-content{display:flex;align-items:center;gap:.7rem 2.5rem}:host-context(tui-root._mobile) .t-content{flex-wrap:wrap}.t-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-inline-start:auto;text-indent:0}:host-context(tui-root._mobile) .t-actions{flex:1}:host-context(tui-root._mobile) .t-actions ::ng-deep [tuiButton]{flex:1}\n"], dependencies: [{ kind: "component", type: TuiExpand, selector: "tui-expand", inputs: ["expanded"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: TuiActionBar, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
args: [{ selector: 'tui-action-bar', imports: [TuiExpand], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
26
26
|
tuiLinkOptionsProvider({ appearance: 'action-grayscale' }),
|
|
@@ -31,7 +31,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31
31
|
], hostDirectives: [TuiAnimated], host: {
|
|
32
32
|
tuiTheme: 'dark',
|
|
33
33
|
'[attr.data-size]': 'size()',
|
|
34
|
-
}, template: "<tui-expand [expanded]=\"expanded()\">\n <ng-content select=\"tui-data-list,[tuiMenu]\" />\n</tui-expand>\n\n<div class=\"t-content\">\n <ng-content />\n\n <div class=\"t-actions\">\n <ng-content select=\"a,button,[tuiAction]\" />\n </div>\n</div>\n", styles: [":host{position:fixed;
|
|
34
|
+
}, template: "<tui-expand [expanded]=\"expanded()\">\n <ng-content select=\"tui-data-list,[tuiMenu]\" />\n</tui-expand>\n\n<div class=\"t-content\">\n <ng-content />\n\n <div class=\"t-actions\">\n <ng-content select=\"a,button,[tuiAction]\" />\n </div>\n</div>\n", styles: [":host{position:fixed;display:flex;inset-inline-start:max(calc(50% - 37rem),1.5rem);inset-block-end:max(1rem,env(safe-area-inset-bottom));inline-size:100%;max-inline-size:min(calc(100vw - 3rem),74rem);box-sizing:border-box;border-radius:1rem;background:var(--tui-background-elevation-2);background:color-mix(in hsl,var(--tui-background-elevation-2) 75%,transparent);color:var(--tui-text-primary);-webkit-backdrop-filter:blur(2rem);backdrop-filter:blur(2rem);flex-direction:column;justify-content:center;padding:.75rem;text-indent:.75rem;font:var(--tui-typography-body-m);white-space:nowrap}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}:host[data-size=s]{border-radius:var(--tui-radius-l);font:var(--tui-typography-body-s);padding:.5rem}:host-context(tui-root._mobile) :host{padding:1rem;border-radius:1.25rem;text-indent:0}:host ::ng-deep tui-data-list[data-size]{padding:0;margin:-.625rem -.625rem 1rem}:host ::ng-deep tui-items-with-more{text-indent:.5rem}:host-context(tui-root._mobile) :host ::ng-deep tui-items-with-more{display:none}.t-content{display:flex;align-items:center;gap:.7rem 2.5rem}:host-context(tui-root._mobile) .t-content{flex-wrap:wrap}.t-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-inline-start:auto;text-indent:0}:host-context(tui-root._mobile) .t-actions{flex:1}:host-context(tui-root._mobile) .t-actions ::ng-deep [tuiButton]{flex:1}\n"] }]
|
|
35
35
|
}] });
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-components-action-bar.mjs","sources":["../../../projects/kit/components/action-bar/action-bar.component.ts","../../../projects/kit/components/action-bar/action-bar.template.html","../../../projects/kit/components/action-bar/taiga-ui-kit-components-action-bar.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, inject, input} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\nimport {TuiExpand} from '@taiga-ui/core/components/expand';\nimport {tuiLinkOptionsProvider} from '@taiga-ui/core/components/link';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\n@Component({\n selector: 'tui-action-bar',\n imports: [TuiExpand],\n templateUrl: './action-bar.template.html',\n styleUrl: './action-bar.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiLinkOptionsProvider({appearance: 'action-grayscale'}),\n tuiButtonOptionsProvider(() => ({\n appearance: 'secondary-grayscale',\n size: inject(TuiActionBar).size(),\n })),\n ],\n hostDirectives: [TuiAnimated],\n host: {\n tuiTheme: 'dark',\n '[attr.data-size]': 'size()',\n },\n})\nexport class TuiActionBar {\n public readonly expanded = input(false);\n public readonly size = input<TuiSizeS>('m');\n}\n","<tui-expand [expanded]=\"expanded()\">\n <ng-content select=\"tui-data-list,[tuiMenu]\" />\n</tui-expand>\n\n<div class=\"t-content\">\n <ng-content />\n\n <div class=\"t-actions\">\n <ng-content select=\"a,button,[tuiAction]\" />\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MA0Ba,YAAY,CAAA;AAnBzB,IAAA,WAAA,GAAA;AAoBoB,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC;AACvB,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAW,GAAG,CAAC;AAC9C;+GAHY,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAZ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,YAAY,
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-components-action-bar.mjs","sources":["../../../projects/kit/components/action-bar/action-bar.component.ts","../../../projects/kit/components/action-bar/action-bar.template.html","../../../projects/kit/components/action-bar/taiga-ui-kit-components-action-bar.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, inject, input} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\nimport {TuiExpand} from '@taiga-ui/core/components/expand';\nimport {tuiLinkOptionsProvider} from '@taiga-ui/core/components/link';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\n@Component({\n selector: 'tui-action-bar',\n imports: [TuiExpand],\n templateUrl: './action-bar.template.html',\n styleUrl: './action-bar.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiLinkOptionsProvider({appearance: 'action-grayscale'}),\n tuiButtonOptionsProvider(() => ({\n appearance: 'secondary-grayscale',\n size: inject(TuiActionBar).size(),\n })),\n ],\n hostDirectives: [TuiAnimated],\n host: {\n tuiTheme: 'dark',\n '[attr.data-size]': 'size()',\n },\n})\nexport class TuiActionBar {\n public readonly expanded = input(false);\n public readonly size = input<TuiSizeS>('m');\n}\n","<tui-expand [expanded]=\"expanded()\">\n <ng-content select=\"tui-data-list,[tuiMenu]\" />\n</tui-expand>\n\n<div class=\"t-content\">\n <ng-content />\n\n <div class=\"t-actions\">\n <ng-content select=\"a,button,[tuiAction]\" />\n </div>\n</div>\n","/**\n * Generated bundle index.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