@taiga-ui/legacy 4.51.0 → 4.52.0-canary.1ea42f6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/classes/abstract-textfield-host.d.ts +1 -1
- package/classes/controller.d.ts +1 -1
- package/classes/multiple-control.d.ts +1 -1
- package/classes/nullable-control.d.ts +1 -1
- package/components/color-selector/color-selector.module.d.ts +11 -12
- package/components/index.d.ts +0 -10
- package/components/multi-select/native-multi-select/native-multi-select.d.ts +1 -1
- package/fesm2022/taiga-ui-legacy-classes.mjs +23 -24
- package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs +6 -6
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +70 -74
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +24 -26
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs +8 -8
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +25 -25
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +26 -26
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs +29 -29
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +12 -12
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs +23 -23
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs +25 -25
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +20 -21
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +23 -23
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs +42 -46
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input.mjs +15 -16
- package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +8 -8
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +50 -50
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +30 -30
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs +9 -9
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-select.mjs +36 -37
- package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-svg.mjs +10 -12
- package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-tag.mjs +14 -15
- package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs +24 -24
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +8 -8
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components.mjs +0 -10
- package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +35 -35
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +4 -4
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +7 -7
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +9 -9
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +3 -4
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-services.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-services.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-tokens.mjs +1 -1
- package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -1
- package/package.json +32 -170
- package/styles/mixins/textfield.less +3 -1
- package/utils/icons-path-factory.d.ts +1 -1
- package/components/input-copy/index.d.ts +0 -4
- package/components/input-copy/input-copy.component.d.ts +0 -33
- package/components/input-copy/input-copy.directive.d.ts +0 -11
- package/components/input-copy/input-copy.module.d.ts +0 -18
- package/components/input-copy/input-copy.options.d.ts +0 -26
- package/components/input-date-multi/index.d.ts +0 -2
- package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
- package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
- package/components/input-month/index.d.ts +0 -3
- package/components/input-month/input-month.component.d.ts +0 -44
- package/components/input-month/input-month.directive.d.ts +0 -19
- package/components/input-month/input-month.module.d.ts +0 -19
- package/components/input-password/index.d.ts +0 -4
- package/components/input-password/input-password.component.d.ts +0 -33
- package/components/input-password/input-password.directive.d.ts +0 -15
- package/components/input-password/input-password.module.d.ts +0 -19
- package/components/input-password/input-password.options.d.ts +0 -25
- package/components/input-phone/index.d.ts +0 -4
- package/components/input-phone/input-phone.component.d.ts +0 -49
- package/components/input-phone/input-phone.directive.d.ts +0 -13
- package/components/input-phone/input-phone.module.d.ts +0 -12
- package/components/input-phone/input-phone.options.d.ts +0 -13
- package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
- package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
- package/components/input-phone/utils/index.d.ts +0 -2
- package/components/input-phone-international/index.d.ts +0 -3
- package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
- package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
- package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
- package/components/input-year/index.d.ts +0 -3
- package/components/input-year/input-year.component.d.ts +0 -36
- package/components/input-year/input-year.directive.d.ts +0 -14
- package/components/input-year/input-year.module.d.ts +0 -18
- package/components/island/index.d.ts +0 -1
- package/components/island/island.directive.d.ts +0 -20
- package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
- package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
- package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -10
- package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
- package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
- package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
- package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
- package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
- package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
- package/components/sheet/index.d.ts +0 -14
- package/components/sheet/sheet-options.d.ts +0 -27
- package/components/sheet/sheet-tokens.d.ts +0 -18
- package/components/sheet/sheet.d.ts +0 -21
- package/components/sheet/sheet.directive.d.ts +0 -17
- package/components/sheet/sheet.module.d.ts +0 -24
- package/components/sheet/sheet.service.d.ts +0 -17
- package/components/table-bar/index.d.ts +0 -4
- package/components/table-bar/table-bar.component.d.ts +0 -17
- package/components/table-bar/table-bar.directive.d.ts +0 -11
- package/components/table-bar/table-bar.options.d.ts +0 -31
- package/components/table-bar/table-bars-host.component.d.ts +0 -10
- package/components/table-bar/table-bars.service.d.ts +0 -11
- package/esm2022/classes/abstract-native-select.mjs +0 -49
- package/esm2022/classes/abstract-textfield-host.mjs +0 -37
- package/esm2022/classes/control.mjs +0 -181
- package/esm2022/classes/controller.mjs +0 -18
- package/esm2022/classes/index.mjs +0 -10
- package/esm2022/classes/interactive.mjs +0 -82
- package/esm2022/classes/multiple-control.mjs +0 -21
- package/esm2022/classes/named-day.mjs +0 -14
- package/esm2022/classes/nullable-control.mjs +0 -18
- package/esm2022/classes/stringifiable-item.mjs +0 -14
- package/esm2022/classes/taiga-ui-legacy-classes.mjs +0 -5
- package/esm2022/components/arrow/arrow.component.mjs +0 -41
- package/esm2022/components/arrow/arrow.options.mjs +0 -20
- package/esm2022/components/arrow/arrow.providers.mjs +0 -23
- package/esm2022/components/arrow/index.mjs +0 -4
- package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +0 -5
- package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +0 -59
- package/esm2022/components/color-selector/color-edit/color-edit.module.mjs +0 -56
- package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +0 -70
- package/esm2022/components/color-selector/color-picker/color-picker.module.mjs +0 -25
- package/esm2022/components/color-selector/color-selector.component.mjs +0 -191
- package/esm2022/components/color-selector/color-selector.module.mjs +0 -67
- package/esm2022/components/color-selector/color-selector.options.mjs +0 -78
- package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +0 -34
- package/esm2022/components/color-selector/flat-picker/flat-picker.module.mjs +0 -23
- package/esm2022/components/color-selector/index.mjs +0 -17
- package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +0 -61
- package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.module.mjs +0 -23
- package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +0 -31
- package/esm2022/components/color-selector/linear-picker/linear-picker.module.mjs +0 -23
- package/esm2022/components/color-selector/palette/palette.component.mjs +0 -23
- package/esm2022/components/color-selector/palette/palette.module.mjs +0 -25
- package/esm2022/components/color-selector/services/picker.service.mjs +0 -31
- package/esm2022/components/color-selector/taiga-ui-legacy-components-color-selector.mjs +0 -5
- package/esm2022/components/combo-box/combo-box-strict.directive.mjs +0 -34
- package/esm2022/components/combo-box/combo-box.component.mjs +0 -183
- package/esm2022/components/combo-box/combo-box.directive.mjs +0 -28
- package/esm2022/components/combo-box/combo-box.module.mjs +0 -71
- package/esm2022/components/combo-box/index.mjs +0 -5
- package/esm2022/components/combo-box/taiga-ui-legacy-components-combo-box.mjs +0 -5
- package/esm2022/components/index.mjs +0 -34
- package/esm2022/components/input/index.mjs +0 -4
- package/esm2022/components/input/input.component.mjs +0 -97
- package/esm2022/components/input/input.directive.mjs +0 -25
- package/esm2022/components/input/input.module.mjs +0 -42
- package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +0 -5
- package/esm2022/components/input-color/index.mjs +0 -3
- package/esm2022/components/input-color/input-color.component.mjs +0 -85
- package/esm2022/components/input-color/input-color.module.mjs +0 -43
- package/esm2022/components/input-color/taiga-ui-legacy-components-input-color.mjs +0 -5
- package/esm2022/components/input-copy/index.mjs +0 -5
- package/esm2022/components/input-copy/input-copy.component.mjs +0 -105
- package/esm2022/components/input-copy/input-copy.directive.mjs +0 -24
- package/esm2022/components/input-copy/input-copy.module.mjs +0 -55
- package/esm2022/components/input-copy/input-copy.options.mjs +0 -24
- package/esm2022/components/input-copy/taiga-ui-legacy-components-input-copy.mjs +0 -5
- package/esm2022/components/input-date/index.mjs +0 -4
- package/esm2022/components/input-date/input-date.component.mjs +0 -220
- package/esm2022/components/input-date/input-date.directive.mjs +0 -40
- package/esm2022/components/input-date/input-date.module.mjs +0 -75
- package/esm2022/components/input-date/native-date/native-date.component.mjs +0 -53
- package/esm2022/components/input-date/taiga-ui-legacy-components-input-date.mjs +0 -5
- package/esm2022/components/input-date-multi/index.mjs +0 -3
- package/esm2022/components/input-date-multi/input-date-multi.component.mjs +0 -207
- package/esm2022/components/input-date-multi/input-date-multi.module.mjs +0 -67
- package/esm2022/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.mjs +0 -5
- package/esm2022/components/input-date-range/index.mjs +0 -4
- package/esm2022/components/input-date-range/input-date-range.component.mjs +0 -256
- package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -36
- package/esm2022/components/input-date-range/input-date-range.module.mjs +0 -71
- package/esm2022/components/input-date-range/taiga-ui-legacy-components-input-date-range.mjs +0 -5
- package/esm2022/components/input-date-time/index.mjs +0 -4
- package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -315
- package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -37
- package/esm2022/components/input-date-time/input-date-time.module.mjs +0 -78
- package/esm2022/components/input-date-time/native-date-time/native-date-time.directive.mjs +0 -49
- package/esm2022/components/input-date-time/taiga-ui-legacy-components-input-date-time.mjs +0 -5
- package/esm2022/components/input-month/index.mjs +0 -4
- package/esm2022/components/input-month/input-month.component.mjs +0 -135
- package/esm2022/components/input-month/input-month.directive.mjs +0 -46
- package/esm2022/components/input-month/input-month.module.mjs +0 -57
- package/esm2022/components/input-month/taiga-ui-legacy-components-input-month.mjs +0 -5
- package/esm2022/components/input-month-range/index.mjs +0 -4
- package/esm2022/components/input-month-range/input-month-range.component.mjs +0 -123
- package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -52
- package/esm2022/components/input-month-range/input-month-range.module.mjs +0 -53
- package/esm2022/components/input-month-range/taiga-ui-legacy-components-input-month-range.mjs +0 -5
- package/esm2022/components/input-number/index.mjs +0 -5
- package/esm2022/components/input-number/input-number.component.mjs +0 -284
- package/esm2022/components/input-number/input-number.directive.mjs +0 -38
- package/esm2022/components/input-number/input-number.module.mjs +0 -48
- package/esm2022/components/input-number/input-number.options.mjs +0 -30
- package/esm2022/components/input-number/taiga-ui-legacy-components-input-number.mjs +0 -5
- package/esm2022/components/input-password/index.mjs +0 -5
- package/esm2022/components/input-password/input-password.component.mjs +0 -80
- package/esm2022/components/input-password/input-password.directive.mjs +0 -34
- package/esm2022/components/input-password/input-password.module.mjs +0 -59
- package/esm2022/components/input-password/input-password.options.mjs +0 -24
- package/esm2022/components/input-password/taiga-ui-legacy-components-input-password.mjs +0 -5
- package/esm2022/components/input-phone/index.mjs +0 -5
- package/esm2022/components/input-phone/input-phone.component.mjs +0 -216
- package/esm2022/components/input-phone/input-phone.directive.mjs +0 -34
- package/esm2022/components/input-phone/input-phone.module.mjs +0 -44
- package/esm2022/components/input-phone/input-phone.options.mjs +0 -18
- package/esm2022/components/input-phone/taiga-ui-legacy-components-input-phone.mjs +0 -5
- package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
- package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
- package/esm2022/components/input-phone/utils/index.mjs +0 -3
- package/esm2022/components/input-phone-international/index.mjs +0 -4
- package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -178
- package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -25
- package/esm2022/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.mjs +0 -5
- package/esm2022/components/input-phone-international/utils/extract-value-from-event.mjs +0 -10
- package/esm2022/components/input-range/index.mjs +0 -3
- package/esm2022/components/input-range/input-range.component.mjs +0 -207
- package/esm2022/components/input-range/input-range.module.mjs +0 -55
- package/esm2022/components/input-range/taiga-ui-legacy-components-input-range.mjs +0 -5
- package/esm2022/components/input-slider/index.mjs +0 -3
- package/esm2022/components/input-slider/input-slider.component.mjs +0 -154
- package/esm2022/components/input-slider/input-slider.module.mjs +0 -48
- package/esm2022/components/input-slider/taiga-ui-legacy-components-input-slider.mjs +0 -5
- package/esm2022/components/input-tag/index.mjs +0 -4
- package/esm2022/components/input-tag/input-tag.component.mjs +0 -436
- package/esm2022/components/input-tag/input-tag.module.mjs +0 -67
- package/esm2022/components/input-tag/input-tag.options.mjs +0 -27
- package/esm2022/components/input-tag/taiga-ui-legacy-components-input-tag.mjs +0 -5
- package/esm2022/components/input-time/index.mjs +0 -5
- package/esm2022/components/input-time/input-time.component.mjs +0 -238
- package/esm2022/components/input-time/input-time.directive.mjs +0 -40
- package/esm2022/components/input-time/input-time.module.mjs +0 -71
- package/esm2022/components/input-time/input-time.options.mjs +0 -39
- package/esm2022/components/input-time/native-time/native-time.component.mjs +0 -67
- package/esm2022/components/input-time/taiga-ui-legacy-components-input-time.mjs +0 -5
- package/esm2022/components/input-year/index.mjs +0 -4
- package/esm2022/components/input-year/input-year.component.mjs +0 -110
- package/esm2022/components/input-year/input-year.directive.mjs +0 -32
- package/esm2022/components/input-year/input-year.module.mjs +0 -53
- package/esm2022/components/input-year/taiga-ui-legacy-components-input-year.mjs +0 -5
- package/esm2022/components/island/index.mjs +0 -2
- package/esm2022/components/island/island.directive.mjs +0 -62
- package/esm2022/components/island/taiga-ui-legacy-components-island.mjs +0 -5
- package/esm2022/components/multi-select/hide-selected.pipe.mjs +0 -44
- package/esm2022/components/multi-select/index.mjs +0 -11
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -98
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -94
- package/esm2022/components/multi-select/multi-select.component.mjs +0 -233
- package/esm2022/components/multi-select/multi-select.directive.mjs +0 -32
- package/esm2022/components/multi-select/multi-select.module.mjs +0 -113
- package/esm2022/components/multi-select/multi-select.options.mjs +0 -17
- package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +0 -60
- package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +0 -56
- package/esm2022/components/multi-select/native-multi-select/native-multi-select.mjs +0 -19
- package/esm2022/components/multi-select/taiga-ui-legacy-components-multi-select.mjs +0 -5
- package/esm2022/components/multi-select-option/index.mjs +0 -3
- package/esm2022/components/multi-select-option/multi-select-option.component.mjs +0 -25
- package/esm2022/components/multi-select-option/multi-select-option.module.mjs +0 -20
- package/esm2022/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.mjs +0 -5
- package/esm2022/components/primitive-textfield/index.mjs +0 -7
- package/esm2022/components/primitive-textfield/primitive-textfield-options.mjs +0 -17
- package/esm2022/components/primitive-textfield/primitive-textfield-types.mjs +0 -2
- package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +0 -254
- package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +0 -33
- package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +0 -66
- package/esm2022/components/primitive-textfield/taiga-ui-legacy-components-primitive-textfield.mjs +0 -5
- package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +0 -39
- package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +0 -66
- package/esm2022/components/select/index.mjs +0 -7
- package/esm2022/components/select/native-select/native-select-group.component.mjs +0 -64
- package/esm2022/components/select/native-select/native-select.component.mjs +0 -60
- package/esm2022/components/select/select.component.mjs +0 -119
- package/esm2022/components/select/select.directive.mjs +0 -34
- package/esm2022/components/select/select.module.mjs +0 -87
- package/esm2022/components/select/select.options.mjs +0 -24
- package/esm2022/components/select/taiga-ui-legacy-components-select.mjs +0 -5
- package/esm2022/components/select-option/index.mjs +0 -3
- package/esm2022/components/select-option/select-option.component.mjs +0 -65
- package/esm2022/components/select-option/select-option.module.mjs +0 -21
- package/esm2022/components/select-option/taiga-ui-legacy-components-select-option.mjs +0 -5
- package/esm2022/components/sheet/components/sheet/sheet.component.mjs +0 -117
- package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +0 -42
- package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +0 -27
- package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +0 -31
- package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +0 -46
- package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +0 -39
- package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +0 -38
- package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +0 -52
- package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +0 -77
- package/esm2022/components/sheet/index.mjs +0 -14
- package/esm2022/components/sheet/sheet-options.mjs +0 -24
- package/esm2022/components/sheet/sheet-tokens.mjs +0 -17
- package/esm2022/components/sheet/sheet.directive.mjs +0 -40
- package/esm2022/components/sheet/sheet.mjs +0 -2
- package/esm2022/components/sheet/sheet.module.mjs +0 -75
- package/esm2022/components/sheet/sheet.service.mjs +0 -52
- package/esm2022/components/sheet/taiga-ui-legacy-components-sheet.mjs +0 -5
- package/esm2022/components/svg/content-processor.mjs +0 -41
- package/esm2022/components/svg/deprecated-icons.mjs +0 -63
- package/esm2022/components/svg/index.mjs +0 -6
- package/esm2022/components/svg/svg-options.mjs +0 -83
- package/esm2022/components/svg/svg.component.mjs +0 -150
- package/esm2022/components/svg/svg.service.mjs +0 -64
- package/esm2022/components/svg/taiga-ui-legacy-components-svg.mjs +0 -5
- package/esm2022/components/table-bar/index.mjs +0 -5
- package/esm2022/components/table-bar/table-bar.component.mjs +0 -37
- package/esm2022/components/table-bar/table-bar.directive.mjs +0 -25
- package/esm2022/components/table-bar/table-bar.options.mjs +0 -34
- package/esm2022/components/table-bar/table-bars-host.component.mjs +0 -39
- package/esm2022/components/table-bar/table-bars.service.mjs +0 -22
- package/esm2022/components/table-bar/taiga-ui-legacy-components-table-bar.mjs +0 -5
- package/esm2022/components/tag/index.mjs +0 -4
- package/esm2022/components/tag/tag.component.mjs +0 -158
- package/esm2022/components/tag/tag.module.mjs +0 -42
- package/esm2022/components/tag/tag.options.mjs +0 -26
- package/esm2022/components/tag/taiga-ui-legacy-components-tag.mjs +0 -5
- package/esm2022/components/taiga-ui-legacy-components.mjs +0 -5
- package/esm2022/components/textarea/index.mjs +0 -4
- package/esm2022/components/textarea/taiga-ui-legacy-components-textarea.mjs +0 -5
- package/esm2022/components/textarea/textarea.component.mjs +0 -175
- package/esm2022/components/textarea/textarea.directive.mjs +0 -25
- package/esm2022/components/textarea/textarea.module.mjs +0 -68
- package/esm2022/components/tooltip/index.mjs +0 -3
- package/esm2022/components/tooltip/taiga-ui-legacy-components-tooltip.mjs +0 -5
- package/esm2022/components/tooltip/tooltip.component.mjs +0 -27
- package/esm2022/components/tooltip/tooltip.module.mjs +0 -24
- package/esm2022/directives/index.mjs +0 -6
- package/esm2022/directives/legacy-dropdown-open-monitor/index.mjs +0 -2
- package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +0 -44
- package/esm2022/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -5
- package/esm2022/directives/taiga-ui-legacy-directives.mjs +0 -5
- package/esm2022/directives/textfield-controller/index.mjs +0 -15
- package/esm2022/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.mjs +0 -5
- package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +0 -34
- package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +0 -28
- package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +0 -72
- package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +0 -44
- package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +0 -28
- package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +0 -28
- package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +0 -24
- package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +0 -24
- package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +0 -32
- package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +0 -28
- package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +0 -28
- package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +0 -28
- package/esm2022/directives/textfield-controller/textfield.controller.mjs +0 -49
- package/esm2022/directives/textfield-controller/textfield.options.mjs +0 -21
- package/esm2022/directives/unfinished-validator/index.mjs +0 -3
- package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -5
- package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -30
- package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -15
- package/esm2022/directives/value-accessor/index.mjs +0 -4
- package/esm2022/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.mjs +0 -5
- package/esm2022/directives/value-accessor/value-accessor.directive.mjs +0 -17
- package/esm2022/directives/value-accessor/value-accessor.module.mjs +0 -17
- package/esm2022/directives/value-accessor/value-accessor.provider.mjs +0 -10
- package/esm2022/directives/wrapper/index.mjs +0 -3
- package/esm2022/directives/wrapper/taiga-ui-legacy-directives-wrapper.mjs +0 -5
- package/esm2022/directives/wrapper/wrapper.directive.mjs +0 -77
- package/esm2022/directives/wrapper/wrapper.module.mjs +0 -20
- package/esm2022/index.mjs +0 -8
- package/esm2022/pipes/format-phone/format-phone.pipe.mjs +0 -54
- package/esm2022/pipes/format-phone/index.mjs +0 -2
- package/esm2022/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.mjs +0 -5
- package/esm2022/pipes/index.mjs +0 -4
- package/esm2022/pipes/iso-to-country-code/index.mjs +0 -2
- package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +0 -44
- package/esm2022/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -5
- package/esm2022/pipes/taiga-ui-legacy-pipes.mjs +0 -5
- package/esm2022/pipes/to-country-code/index.mjs +0 -2
- package/esm2022/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.mjs +0 -5
- package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +0 -74
- package/esm2022/services/index.mjs +0 -2
- package/esm2022/services/static-request.service.mjs +0 -36
- package/esm2022/services/taiga-ui-legacy-services.mjs +0 -5
- package/esm2022/taiga-ui-legacy.mjs +0 -5
- package/esm2022/tokens/countries-masks.mjs +0 -257
- package/esm2022/tokens/focusable-item-accessor.mjs +0 -14
- package/esm2022/tokens/fonts-ready.mjs +0 -10
- package/esm2022/tokens/icons.mjs +0 -9
- package/esm2022/tokens/index.mjs +0 -15
- package/esm2022/tokens/is-apple.mjs +0 -11
- package/esm2022/tokens/is-chromium.mjs +0 -10
- package/esm2022/tokens/is-firefox.mjs +0 -11
- package/esm2022/tokens/is-stackblitz.mjs +0 -9
- package/esm2022/tokens/month-formatter.mjs +0 -18
- package/esm2022/tokens/sanitizer.mjs +0 -7
- package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +0 -5
- package/esm2022/tokens/textfield-appearance.mjs +0 -10
- package/esm2022/tokens/textfield-host.mjs +0 -14
- package/esm2022/tokens/touch-supported.mjs +0 -9
- package/esm2022/tokens/value-accessor.mjs +0 -7
- package/esm2022/utils/capitalize-first-letter.mjs +0 -7
- package/esm2022/utils/date-mode-maskito-adapter.mjs +0 -9
- package/esm2022/utils/format-phone.mjs +0 -60
- package/esm2022/utils/get-border.mjs +0 -23
- package/esm2022/utils/get-max-allowed-phone-length.mjs +0 -26
- package/esm2022/utils/get-safe-area-size.mjs +0 -18
- package/esm2022/utils/icons-path-factory.mjs +0 -22
- package/esm2022/utils/index.mjs +0 -14
- package/esm2022/utils/is-apple.mjs +0 -6
- package/esm2022/utils/is-presumed-html-string.mjs +0 -8
- package/esm2022/utils/iso-to-country-code.mjs +0 -16
- package/esm2022/utils/not-kz-region.mjs +0 -24
- package/esm2022/utils/process-icon.mjs +0 -34
- package/esm2022/utils/specific-dropdown-controllers.mjs +0 -9
- package/esm2022/utils/status.mjs +0 -2
- package/esm2022/utils/taiga-ui-legacy-utils.mjs +0 -5
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
- package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -574
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -145
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-legacy-components-sheet.mjs","sources":["../../../projects/legacy/components/sheet/sheet-tokens.ts","../../../projects/legacy/components/sheet/components/sheet-heading/sheet-heading.component.ts","../../../projects/legacy/components/sheet/components/sheet-heading/sheet-heading.template.html","../../../projects/legacy/components/sheet/components/sheet/sheet.providers.ts","../../../projects/legacy/components/sheet/components/sheet-bar/sheet-bar.component.ts","../../../projects/legacy/components/sheet/components/sheet-bar/sheet-bar.template.html","../../../projects/legacy/components/sheet/directives/sheet-top/sheet-top.directive.ts","../../../projects/legacy/components/sheet/directives/sheet-stop/sheet-stop.directive.ts","../../../projects/legacy/components/sheet/components/sheet/sheet.component.ts","../../../projects/legacy/components/sheet/components/sheet/sheet.template.html","../../../projects/legacy/components/sheet/sheet-options.ts","../../../projects/legacy/components/sheet/sheet.service.ts","../../../projects/legacy/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.ts","../../../projects/legacy/components/sheet/directives/sheet-close/sheet-close.directive.ts","../../../projects/legacy/components/sheet/components/sheets-host/sheets-host.component.ts","../../../projects/legacy/components/sheet/components/sheets-host/sheets-host.template.html","../../../projects/legacy/components/sheet/sheet.directive.ts","../../../projects/legacy/components/sheet/sheet.module.ts","../../../projects/legacy/components/sheet/taiga-ui-legacy-components-sheet.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\nimport {type Observable} from 'rxjs';\n\nimport {type TuiSheetRequiredProps} from './sheet';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiSheetDialog}\n * https://taiga-ui.dev/components/sheet-dialog\n */\nexport const TUI_SHEET = new InjectionToken<TuiSheetRequiredProps>(\n ngDevMode ? 'TUI_SHEET' : '',\n);\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiSheetDialog}\n * https://taiga-ui.dev/components/sheet-dialog\n */\nexport const TUI_SHEET_SCROLL = new InjectionToken<Observable<number>>(\n ngDevMode ? 'TUI_SHEET_SCROLL' : '',\n);\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiSheetDialog}\n * https://taiga-ui.dev/components/sheet-dialog\n */\nexport const TUI_SHEET_DRAGGED = new InjectionToken<Observable<boolean>>(\n ngDevMode ? 'TUI_SHEET_DRAGGED' : '',\n);\n","import {\n type AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n inject,\n} from '@angular/core';\nimport {tuiInjectId} from '@taiga-ui/cdk/services';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {TUI_CLOSE_WORD, TUI_COMMON_ICONS} from '@taiga-ui/core/tokens';\n\nexport const TUI_SHEET_CLOSE = 'tui-sheet-close';\nexport const TUI_SHEET_ID = 'tui-sheet-id';\n\n@Component({\n standalone: false,\n selector: '[tuiSheetHeading]',\n templateUrl: './sheet-heading.template.html',\n styleUrls: ['./sheet-heading.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSheetHeadingComponent implements AfterViewInit {\n private readonly el = tuiInjectElement();\n protected readonly closeWord$ = inject(TUI_CLOSE_WORD);\n protected readonly icons = inject(TUI_COMMON_ICONS);\n protected readonly autoId = tuiInjectId();\n\n public ngAfterViewInit(): void {\n this.el.dispatchEvent(\n new CustomEvent(TUI_SHEET_ID, {bubbles: true, detail: this.autoId}),\n );\n }\n\n protected onClick(): void {\n this.el.dispatchEvent(new CustomEvent(TUI_SHEET_CLOSE, {bubbles: true}));\n }\n}\n","<button\n appearance=\"icon\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [iconStart]=\"icons.close\"\n (click)=\"onClick()\"\n>\n {{ closeWord$ | async }}\n</button>\n<span [id]=\"autoId\">\n <ng-content />\n</span>\n","import {DOCUMENT} from '@angular/common';\nimport {ElementRef, forwardRef, NgZone, type Provider} from '@angular/core';\nimport {TUI_FALSE_HANDLER, TUI_TRUE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {tuiTypedFromEvent, tuiZonefree} from '@taiga-ui/cdk/observables';\nimport {TUI_IS_IOS} from '@taiga-ui/cdk/tokens';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_SCROLL_REF} from '@taiga-ui/core/tokens';\nimport {\n concat,\n delay,\n map,\n merge,\n type Observable,\n share,\n switchMap,\n take,\n takeUntil,\n zip,\n} from 'rxjs';\n\nimport {TUI_SHEET, TUI_SHEET_DRAGGED, TUI_SHEET_SCROLL} from '../../sheet-tokens';\nimport {TuiSheetComponent} from './sheet.component';\n\nexport const TUI_SHEET_PROVIDERS: Provider[] = [\n {\n provide: TUI_SHEET_DRAGGED,\n deps: [ElementRef],\n useFactory: ({nativeElement}: ElementRef<HTMLElement>): Observable<boolean> =>\n merge(\n tuiTypedFromEvent(nativeElement, 'touchstart', {passive: true}).pipe(\n map(TUI_TRUE_HANDLER),\n ),\n tuiTypedFromEvent(nativeElement, 'touchend').pipe(map(TUI_FALSE_HANDLER)),\n ),\n },\n {\n provide: TUI_SHEET_SCROLL,\n deps: [ElementRef, NgZone, DOCUMENT, TUI_IS_IOS],\n useFactory: (\n {nativeElement}: ElementRef<HTMLElement>,\n zone: NgZone,\n doc: Document,\n isIos: boolean,\n ): Observable<number> =>\n isIos\n ? iosScrollFactory(nativeElement, doc, zone)\n : merge(\n tuiTypedFromEvent(nativeElement, 'scroll'),\n tuiTypedFromEvent(nativeElement, 'load', {capture: true}),\n ).pipe(\n map(() => nativeElement.scrollTop),\n tuiZonefree(zone),\n share(),\n ),\n },\n tuiProvide(TUI_SCROLL_REF, ElementRef),\n tuiProvide(\n TUI_SHEET,\n forwardRef(() => TuiSheetComponent),\n ),\n];\n\nfunction iosScrollFactory(\n element: HTMLElement,\n doc: Document,\n zone: NgZone,\n): Observable<number> {\n const load$ = tuiTypedFromEvent(element, 'load', {capture: true});\n const touchstart$ = tuiTypedFromEvent(element, 'touchstart', {passive: true});\n const touchmove$ = tuiTypedFromEvent(doc, 'touchmove', {passive: true});\n const touchend$ = tuiTypedFromEvent(doc, 'touchend');\n const scroll$ = tuiTypedFromEvent(element, 'scroll').pipe(\n map(() => element.scrollTop),\n );\n const result$ = merge(\n load$.pipe(\n delay(0),\n map(() => element.scrollTop),\n ),\n touchstart$.pipe(\n switchMap(({touches}) => {\n const {screenY = 0} = touches[0] ?? {};\n const {scrollTop} = element;\n\n return concat(\n // Sometimes touch is triggered without scroll in iOS, filter that\n zip(touchmove$, scroll$).pipe(\n map(\n ([{touches}]) =>\n scrollTop + screenY - (touches[0]?.screenY ?? 0),\n ),\n takeUntil(touchend$),\n ),\n scroll$,\n );\n }),\n ),\n );\n\n return concat(scroll$.pipe(take(1)), result$).pipe(tuiZonefree(zone), share());\n}\n","import {ChangeDetectionStrategy, Component, inject, NgZone} from '@angular/core';\nimport {tuiZonefull} from '@taiga-ui/cdk/observables';\nimport {tuiClamp} from '@taiga-ui/cdk/utils/math';\nimport {distinctUntilChanged, map} from 'rxjs';\n\nimport {TUI_SHEET, TUI_SHEET_SCROLL} from '../../sheet-tokens';\n\n@Component({\n standalone: false,\n selector: 'tui-sheet-bar',\n templateUrl: './sheet-bar.template.html',\n styleUrls: ['./sheet-bar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSheetBarComponent {\n private readonly sheet = inject(TUI_SHEET);\n private readonly scroll$ = inject(TUI_SHEET_SCROLL);\n private readonly zone = inject(NgZone);\n\n protected readonly rotate$ = this.scroll$.pipe(\n map((y) => tuiClamp(10 - (y - this.stop) / 5, 0, 10)),\n distinctUntilChanged(),\n tuiZonefull(this.zone),\n );\n\n private get stop(): number {\n return this.sheet.stops[0] || 0;\n }\n}\n","<ng-container *tuiLet=\"rotate$ | async as deg\">\n <div\n class=\"t-bar\"\n [style]=\"{transform: 'rotate(-' + deg + 'deg)'}\"\n ></div>\n <ng-content *ngIf=\"deg\" />\n <div\n class=\"t-bar\"\n [style]=\"{transform: 'rotate(' + deg + 'deg)'}\"\n ></div>\n</ng-container>\n","import {Directive, inject, Input} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {WA_WINDOW} from '@ng-web-apis/common';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiClamp} from '@taiga-ui/cdk/utils/math';\nimport {map} from 'rxjs';\n\nimport {TUI_SHEET, TUI_SHEET_SCROLL} from '../../sheet-tokens';\n\n// So that borders get rounded when image is visible for at least 10px\nconst OFFSET = 10;\n\n@Directive({\n standalone: false,\n selector: '[tuiSheetTop]',\n})\nexport class TuiSheetTopDirective {\n private readonly scroll$ = inject(TUI_SHEET_SCROLL);\n private readonly component = inject(TUI_SHEET);\n private readonly win = inject(WA_WINDOW);\n private readonly el = tuiInjectElement();\n\n protected readonly rounded$ = this.scroll$\n .pipe(map((y) => y < this.stop + OFFSET))\n .pipe(takeUntilDestroyed())\n .subscribe((add) =>\n add\n ? this.el.classList.add('_rounded')\n : this.el.classList.remove('_rounded'),\n );\n\n protected readonly transform$ = this.scroll$\n .pipe(\n map((y) => `translateY(${this.getY(y)}%) scaleX(-1)`),\n takeUntilDestroyed(),\n )\n .subscribe((transform) => this.el.style.setProperty('transform', transform));\n\n protected readonly clickthrough$ = this.scroll$\n .pipe(\n map((y) => !!Math.round(this.getY(y))),\n takeUntilDestroyed(),\n )\n .subscribe((add) =>\n add\n ? this.el.classList.add('_clickthrough')\n : this.el.classList.remove('_clickthrough'),\n );\n\n @Input('tuiSheetTop')\n public stop = 0;\n\n private getY(scrollTop: number): number {\n const value = scrollTop - this.stop;\n const total = this.win.innerHeight - this.component.item.offset - this.stop;\n\n return this.stop && tuiClamp(100 - (value / total) * 100, 0, 100);\n }\n}\n","import {DestroyRef, Directive, inject} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {TUI_SCROLL_REF} from '@taiga-ui/core/tokens';\nimport {\n distinctUntilChanged,\n filter,\n map,\n throttleTime,\n timer,\n withLatestFrom,\n} from 'rxjs';\n\nimport {TUI_SHEET_DRAGGED, TUI_SHEET_SCROLL} from '../../sheet-tokens';\n\n@Directive({\n standalone: false,\n selector: '[tuiSheetStop]',\n})\nexport class TuiSheetStopDirective {\n private readonly scrollRef = inject(TUI_SCROLL_REF).nativeElement;\n private readonly destroyRef = inject(DestroyRef);\n private readonly el = tuiInjectElement();\n\n protected readonly $ = inject(TUI_SHEET_SCROLL)\n .pipe(\n map((y) => Math.floor(y) > this.el.offsetTop),\n distinctUntilChanged(),\n withLatestFrom(inject(TUI_SHEET_DRAGGED)),\n map(([above, dragged]) => !above && !dragged),\n filter(Boolean),\n throttleTime(100),\n takeUntilDestroyed(this.destroyRef),\n )\n .subscribe(() => {\n this.scrollRef.style.overflow = 'hidden';\n this.scrollRef.classList.remove('_stuck'); // iOS\n this.scrollRef.scrollTop = this.el.offsetTop;\n\n timer(100)\n .pipe(takeUntilDestroyed(this.destroyRef))\n // eslint-disable-next-line rxjs/no-nested-subscribe\n .subscribe(() => {\n this.scrollRef.style.overflow = '';\n });\n });\n}\n","import {\n type AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n type ElementRef,\n inject,\n Input,\n NgZone,\n type QueryList,\n ViewChild,\n ViewChildren,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {EMPTY_QUERY} from '@taiga-ui/cdk/constants';\nimport {tuiZonefull} from '@taiga-ui/cdk/observables';\nimport {TUI_IS_IOS} from '@taiga-ui/cdk/tokens';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {tuiSlideInTop} from '@taiga-ui/core/animations';\nimport {TUI_MORE_WORD} from '@taiga-ui/kit/tokens';\nimport {map, timer} from 'rxjs';\n\nimport {type TuiSheet, type TuiSheetRequiredProps} from '../../sheet';\nimport {TUI_SHEET_SCROLL} from '../../sheet-tokens';\nimport {TUI_SHEET_ID} from '../sheet-heading/sheet-heading.component';\nimport {TUI_SHEET_PROVIDERS} from './sheet.providers';\n\n@Component({\n standalone: false,\n selector: 'tui-sheet',\n templateUrl: './sheet.template.html',\n styleUrls: ['./sheet.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_SHEET_PROVIDERS,\n animations: [tuiSlideInTop],\n host: {\n role: 'dialog',\n '[attr.aria-labelledby]': 'id',\n '[class._ios]': 'isIos',\n [`(${TUI_SHEET_ID})`]: 'onId($event.detail)',\n },\n})\nexport class TuiSheetComponent<T> implements TuiSheetRequiredProps<T>, AfterViewInit {\n @ViewChild('sheet')\n private readonly sheet?: ElementRef<HTMLElement>;\n\n @ViewChild('content')\n private readonly content?: ElementRef<HTMLElement>;\n\n @ViewChildren('stops')\n private readonly stopsRefs: QueryList<ElementRef<HTMLElement>> = EMPTY_QUERY;\n\n private readonly destroyRef = inject(DestroyRef);\n private readonly scroll$ = inject(TUI_SHEET_SCROLL);\n private readonly el = tuiInjectElement();\n private readonly zone = inject(NgZone);\n\n protected id = '';\n protected readonly isIos = inject(TUI_IS_IOS);\n protected readonly moreWord$ = inject(TUI_MORE_WORD);\n protected readonly stuck$ = this.scroll$.pipe(\n map((y) => Math.floor(y) > this.contentTop),\n );\n\n protected readonly stuck$$ = this.stuck$\n .pipe(takeUntilDestroyed())\n .subscribe((add) =>\n add ? this.el.classList.add('_stuck') : this.el.classList.remove('_stuck'),\n );\n\n @Input()\n public item!: TuiSheet<T>;\n\n @tuiPure\n public get context(): TuiSheet<T> {\n return {\n ...this.item,\n scroll$: this.scroll$.pipe(tuiZonefull(this.zone)),\n };\n }\n\n public get stops(): readonly number[] {\n return this.getStops(this.stopsRefs);\n }\n\n public get imageStop(): number {\n return (this.item.imageSlide && this.stops[this.stops.length - 1]) || 0;\n }\n\n public get imageHeight(): number {\n return this.contentTop - this.sheetTop;\n }\n\n public ngAfterViewInit(): void {\n this.el.scrollTop =\n [...this.stops, this.sheetTop, this.contentTop][this.item.initial] ?? 0;\n }\n\n protected onId(id: string): void {\n this.id = id;\n }\n\n protected scrollTo(top: number = this.sheetTop): void {\n if (this.isIos) {\n const offset = top - this.el.scrollTop - 16;\n\n this.el.style.transition = 'none';\n this.el.style.transform = `scaleX(-1) translate3d(0, ${offset}px, 0)`;\n\n timer(0)\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(() => {\n this.el.style.transition = '';\n this.el.style.transform = '';\n });\n }\n\n this.el.scrollTo({top, behavior: 'smooth'});\n }\n\n protected close(): void {\n if (this.context.closeable) {\n this.context.$implicit.complete();\n }\n }\n\n private get contentTop(): number {\n return this.content?.nativeElement.offsetTop ?? Infinity;\n }\n\n private get sheetTop(): number {\n return this.sheet?.nativeElement.offsetTop ?? Infinity;\n }\n\n @tuiPure\n private getStops(stops: QueryList<ElementRef<HTMLElement>>): readonly number[] {\n return stops.map(\n ({nativeElement}) => nativeElement.offsetTop + nativeElement.clientHeight,\n );\n }\n}\n","<div\n class=\"t-bumpers\"\n (click)=\"close()\"\n>\n <div\n *ngFor=\"let stop of item.stops\"\n #stops\n class=\"t-bumper\"\n [style.marginTop]=\"stop\"\n ></div>\n</div>\n<div\n #sheet\n class=\"t-wrapper\"\n [class.t-wrapper_shadow]=\"!item.image\"\n>\n <header\n *ngIf=\"item.image\"\n class=\"t-top\"\n [tuiSheetTop]=\"imageStop\"\n >\n <img\n *polymorpheusOutlet=\"item.image as src; context: context\"\n alt=\"\"\n class=\"t-image\"\n [src]=\"src\"\n />\n </header>\n <section\n #content\n tuiSheetStop\n class=\"t-sheet\"\n >\n <div class=\"t-bar\"></div>\n <tui-sheet-bar>\n <button\n type=\"button\"\n class=\"t-button\"\n [title]=\"moreWord$ | async\"\n (click)=\"scrollTo(stops[1])\"\n ></button>\n </tui-sheet-bar>\n <div class=\"t-content\">\n <h2\n *polymorpheusOutlet=\"item.content as text; context: context\"\n tuiSheetHeading\n class=\"t-heading\"\n >\n {{ text }}\n </h2>\n </div>\n </section>\n</div>\n","import {InjectionToken} from '@angular/core';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nimport {type TuiSheet} from './sheet';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiSheetDialog}\n * https://taiga-ui.dev/components/sheet-dialog\n */\nexport interface TuiSheetOptions<I = undefined, O = unknown> {\n readonly closeable: boolean;\n readonly data: I;\n readonly image: PolymorpheusContent<TuiSheet<O, I>>;\n readonly imageSlide: boolean;\n readonly initial: number;\n readonly offset: number;\n readonly overlay: boolean;\n readonly stops: readonly string[];\n}\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiSheetDialog}\n * https://taiga-ui.dev/components/sheet-dialog\n */\nexport const TUI_SHEET_DEFAULT_OPTIONS: Omit<TuiSheetOptions, 'data'> = {\n image: '',\n imageSlide: true,\n stops: [],\n initial: 0,\n offset: 16,\n closeable: true,\n overlay: false,\n};\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiSheetDialog}\n * https://taiga-ui.dev/components/sheet-dialog\n */\nexport const TUI_SHEET_OPTIONS = new InjectionToken<Omit<TuiSheetOptions, 'data'>>(\n ngDevMode ? 'TUI_SHEET_OPTIONS' : '',\n {\n factory: () => ({\n ...TUI_SHEET_DEFAULT_OPTIONS,\n }),\n },\n);\n","import {DOCUMENT} from '@angular/common';\nimport {inject, Injectable} from '@angular/core';\nimport {tuiIsHTMLElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiGetNativeFocused} from '@taiga-ui/cdk/utils/focus';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\nimport {BehaviorSubject, EMPTY, Observable} from 'rxjs';\n\nimport {type TuiSheet} from './sheet';\nimport {TUI_SHEET_OPTIONS, type TuiSheetOptions} from './sheet-options';\n\n/**\n * @deprecated: use {@link TuiSheetDialogService}\n * https://taiga-ui.dev/components/sheet-dialog\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiSheetService {\n private readonly doc = inject(DOCUMENT);\n private readonly options = inject<TuiSheetOptions>(TUI_SHEET_OPTIONS);\n public readonly sheets$ = new BehaviorSubject<Array<TuiSheet<any, any>>>([]);\n\n public open<G>(\n content: PolymorpheusContent<TuiSheet<G>>,\n options: Partial<TuiSheetOptions> = {},\n ): Observable<G> {\n return new Observable(($implicit) => {\n const completeWith = (result: G): void => {\n $implicit.next(result);\n $implicit.complete();\n };\n const sheet: TuiSheet<any> = {\n ...this.options,\n ...options,\n content,\n completeWith,\n $implicit,\n scroll$: EMPTY,\n };\n const focused = tuiGetNativeFocused(this.doc);\n\n if (tuiIsHTMLElement(focused) && sheet.overlay) {\n focused.blur();\n }\n\n this.sheets$.next([...this.sheets$.value, sheet]);\n\n return () => {\n this.sheets$.next(this.sheets$.value.filter((item) => item !== sheet));\n };\n });\n }\n}\n","import {ContentChild, Directive, inject, Input, NgZone} from '@angular/core';\nimport {WA_WINDOW} from '@ng-web-apis/common';\nimport {TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {tuiZonefull} from '@taiga-ui/cdk/observables';\nimport {tuiClamp} from '@taiga-ui/cdk/utils/math';\nimport {tuiIsFalsy, tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n debounceTime,\n distinctUntilChanged,\n filter,\n map,\n type Observable,\n race,\n startWith,\n switchMap,\n take,\n timer,\n} from 'rxjs';\n\nimport {TuiSheetComponent} from '../../components/sheet/sheet.component';\nimport {TUI_SHEET_DRAGGED, TUI_SHEET_SCROLL} from '../../sheet-tokens';\n\n// Safety offset for shadow\nconst OFFSET = 16;\n\nfunction processDragged(\n dragged$: Observable<boolean>,\n scroll$: Observable<unknown>,\n): Observable<boolean> {\n const touchstart$ = dragged$.pipe(filter(Boolean));\n const touchend$ = dragged$.pipe(filter(tuiIsFalsy));\n const race$ = race(scroll$, timer(100)).pipe(\n debounceTime(200),\n take(1),\n map(TUI_FALSE_HANDLER),\n );\n\n return touchstart$.pipe(\n switchMap(() =>\n touchend$.pipe(\n switchMap(() => race$),\n startWith(true),\n ),\n ),\n startWith(false),\n );\n}\n\n@Directive({\n standalone: false,\n selector: '[tuiSheetWrapper]',\n exportAs: 'tuiSheetWrapper',\n})\nexport class TuiSheetWrapperDirective {\n @ContentChild(TuiSheetComponent)\n private readonly sheet?: TuiSheetComponent<unknown>;\n\n @ContentChild(TuiSheetComponent, {read: TUI_SHEET_DRAGGED, static: true})\n private readonly dragged$!: Observable<boolean>;\n\n @ContentChild(TuiSheetComponent, {read: TUI_SHEET_SCROLL, static: true})\n private readonly scroll$!: Observable<number>;\n\n private readonly zone = inject(NgZone);\n private readonly win = inject(WA_WINDOW);\n\n @Input()\n public tuiSheetWrapper = 16;\n\n @tuiPure\n public get overlay$(): Observable<boolean> {\n return this.scroll$.pipe(\n map((y) => y + 16 > this.win.innerHeight - this.tuiSheetWrapper),\n distinctUntilChanged(),\n tuiZonefull(this.zone),\n );\n }\n\n @tuiPure\n public get visible$(): Observable<boolean> {\n return processDragged(this.dragged$, this.scroll$).pipe(\n distinctUntilChanged(),\n tuiZonefull(this.zone),\n );\n }\n\n @tuiPure\n public get height$(): Observable<number | null> {\n return this.scroll$.pipe(map(this.getHeight.bind(this)));\n }\n\n private getHeight(value: number): number | null {\n return this.sheet?.context.overlay\n ? null\n : tuiClamp(this.withImage(value) + OFFSET, OFFSET, this.win.innerHeight);\n }\n\n private withImage(value: number): number {\n return !this.sheet?.imageStop || Math.floor(value) > this.sheet.imageStop\n ? value\n : value - this.sheet.imageHeight;\n }\n}\n","import {Directive, inject, NgZone, Output} from '@angular/core';\nimport {WA_WINDOW} from '@ng-web-apis/common';\nimport {tuiIfMap, tuiTypedFromEvent, tuiZonefull} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiIsFalsy} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {distinctUntilChanged, filter, merge, type Observable, startWith} from 'rxjs';\n\nimport {TuiSheetComponent} from '../../components/sheet/sheet.component';\nimport {TUI_SHEET_CLOSE} from '../../components/sheet-heading/sheet-heading.component';\nimport {TUI_SHEET_DRAGGED, TUI_SHEET_SCROLL} from '../../sheet-tokens';\n\n@Directive({\n standalone: false,\n selector: 'tui-sheet[close]',\n})\nexport class TuiSheetCloseDirective {\n private readonly zone = inject(NgZone);\n private readonly dragged$ = inject(TUI_SHEET_DRAGGED);\n private readonly scroll$ = inject(TUI_SHEET_SCROLL);\n private readonly win = inject(WA_WINDOW);\n private readonly el = tuiInjectElement();\n private readonly sheet = inject(TuiSheetComponent);\n\n @Output()\n public readonly close: Observable<unknown> = merge(\n tuiTypedFromEvent(this.el, TUI_SHEET_CLOSE),\n this.dragged$.pipe(\n tuiIfMap(() => this.scroll$.pipe(startWith(this.el.scrollTop)), tuiIsFalsy),\n filter((y) => this.sheet.item?.closeable && this.shouldClose(y)),\n distinctUntilChanged(),\n tuiZonefull(this.zone),\n ),\n );\n\n private shouldClose(scrollTop: number): boolean {\n const height = Math.min(\n this.win.innerHeight,\n this.el.scrollHeight - this.win.innerHeight,\n );\n const min = Math.min(height, this.sheet.stops[0] || Infinity);\n\n return scrollTop < min / 2;\n }\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n DestroyRef,\n inject,\n type OnInit,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {TUI_WINDOW_SIZE} from '@taiga-ui/cdk/tokens';\nimport {tuiFadeIn, tuiSlideInTop} from '@taiga-ui/core/animations';\nimport {TUI_ANIMATIONS_SPEED} from '@taiga-ui/core/tokens';\nimport {tuiToAnimationOptions} from '@taiga-ui/core/utils/miscellaneous';\nimport {map} from 'rxjs';\n\nimport {type TuiSheet} from '../../sheet';\nimport {TuiSheetService} from '../../sheet.service';\n\n@Component({\n standalone: false,\n selector: 'tui-sheets-host',\n templateUrl: './sheets-host.template.html',\n styleUrls: ['./sheets-host.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiSlideInTop, tuiFadeIn],\n})\nexport class TuiSheetsHostComponent implements OnInit {\n private readonly service = inject(TuiSheetService);\n private readonly destroyRef = inject(DestroyRef);\n private readonly cdr = inject(ChangeDetectorRef);\n protected readonly height$ = inject(TUI_WINDOW_SIZE).pipe(map(({height}) => height));\n\n protected sheets: ReadonlyArray<TuiSheet<any>> = [];\n\n protected readonly options = tuiToAnimationOptions(inject(TUI_ANIMATIONS_SPEED));\n\n public ngOnInit(): void {\n // Due to this view being parallel to app content, `markForCheck` from `async` pipe\n // can happen after view was checked, so calling `detectChanges` instead\n this.service.sheets$\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe((sheets) => {\n this.sheets = sheets;\n this.cdr.detectChanges();\n });\n }\n\n protected close({closeable, $implicit}: TuiSheet<unknown>): void {\n if (closeable) {\n $implicit.complete();\n }\n }\n}\n","<div\n *ngFor=\"let item of sheets\"\n #wrapper=\"tuiSheetWrapper\"\n class=\"t-wrapper\"\n [@tuiFadeIn]=\"options\"\n [@tuiSlideInTop]=\"options\"\n [class.t-wrapper_closeable]=\"item.closeable\"\n [class.t-wrapper_overlay]=\"item.overlay || (wrapper.overlay$ | async)\"\n [class.t-wrapper_visible]=\"wrapper.visible$ | async\"\n [style.height.px]=\"wrapper.height$ | async\"\n [tuiSheetWrapper]=\"item.offset\"\n (click.self)=\"close(item)\"\n>\n <tui-sheet\n tuiScrollRef\n [item]=\"item\"\n [style.height.px]=\"((height$ | async) || 0) - item.offset\"\n (close)=\"close(item)\"\n />\n</div>\n<div\n class=\"t-overlay\"\n (click)=\"sheets[0] && close(sheets[0])\"\n></div>\n","import {Directive, inject, Input, Output} from '@angular/core';\nimport {tuiIfMap} from '@taiga-ui/cdk/observables';\nimport {PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\nimport {endWith, ignoreElements, share, Subject} from 'rxjs';\n\nimport {type TuiSheet} from './sheet';\nimport {TuiSheetService} from './sheet.service';\nimport {type TuiSheetOptions} from './sheet-options';\n\n/**\n * @deprecated: use {@link TuiSheetDialog}\n * https://taiga-ui.dev/components/sheet-dialog\n */\n@Directive({\n standalone: false,\n selector: 'ng-template[tuiSheet]',\n})\nexport class TuiSheetDirective extends PolymorpheusTemplate<TuiSheet<never>> {\n private readonly service = inject(TuiSheetService);\n private readonly open$ = new Subject<boolean>();\n\n @Input('tuiSheetOptions')\n public options: Partial<TuiSheetOptions> = {};\n\n @Output()\n public readonly tuiSheetChange = this.open$.pipe(\n tuiIfMap(() =>\n this.service.open(this, this.options).pipe(ignoreElements(), endWith(false)),\n ),\n share(),\n );\n\n @Input()\n public set tuiSheet(open: boolean) {\n this.open$.next(open);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule, NO_ERRORS_SCHEMA} from '@angular/core';\nimport {TuiLet} from '@taiga-ui/cdk/directives/let';\nimport {TuiButton} from '@taiga-ui/core/components/button';\nimport {TuiScrollbar} from '@taiga-ui/core/components/scrollbar';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiSheetComponent} from './components/sheet/sheet.component';\nimport {TuiSheetBarComponent} from './components/sheet-bar/sheet-bar.component';\nimport {TuiSheetHeadingComponent} from './components/sheet-heading/sheet-heading.component';\nimport {TuiSheetsHostComponent} from './components/sheets-host/sheets-host.component';\nimport {TuiSheetCloseDirective} from './directives/sheet-close/sheet-close.directive';\nimport {TuiSheetStopDirective} from './directives/sheet-stop/sheet-stop.directive';\nimport {TuiSheetTopDirective} from './directives/sheet-top/sheet-top.directive';\nimport {TuiSheetWrapperDirective} from './directives/sheet-wrapper/sheet-wrapper.directive';\nimport {TuiSheetDirective} from './sheet.directive';\n\n/**\n * @deprecated: use {@link TuiSheetDialog}\n * https://taiga-ui.dev/components/sheet-dialog\n */\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n TuiLet,\n TuiButton,\n TuiScrollbar,\n ],\n declarations: [\n TuiSheetsHostComponent,\n TuiSheetComponent,\n TuiSheetBarComponent,\n TuiSheetHeadingComponent,\n TuiSheetTopDirective,\n TuiSheetDirective,\n TuiSheetWrapperDirective,\n TuiSheetCloseDirective,\n TuiSheetStopDirective,\n ],\n exports: [\n TuiSheetsHostComponent,\n TuiSheetComponent,\n TuiSheetHeadingComponent,\n TuiSheetDirective,\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class TuiSheetModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i1","OFFSET","i3.TuiSheetBarComponent","i4.TuiSheetHeadingComponent","i5.TuiSheetTopDirective","i6.TuiSheetStopDirective","i2.TuiSheetComponent","i3.TuiSheetWrapperDirective","i4.TuiSheetCloseDirective"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA;;;AAGG;AACI,MAAM,SAAS,GAAG,IAAI,cAAc,CACvC,SAAS,GAAG,WAAW,GAAG,EAAE,CAC/B,CAAC;AAEF;;;AAGG;AACI,MAAM,gBAAgB,GAAG,IAAI,cAAc,CAC9C,SAAS,GAAG,kBAAkB,GAAG,EAAE,CACtC,CAAC;AAEF;;;AAGG;AACI,MAAM,iBAAiB,GAAG,IAAI,cAAc,CAC/C,SAAS,GAAG,mBAAmB,GAAG,EAAE,CACvC;;ACjBM,MAAM,eAAe,GAAG,kBAAkB;AAC1C,MAAM,YAAY,GAAG,eAAe;AAE3C,MAOa,wBAAwB,CAAA;AAPrC,IAAA,WAAA,GAAA;QAQqB,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAE,CAAC;AACtB,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;AACpC,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;QACjC,IAAM,CAAA,MAAA,GAAG,WAAW,EAAE,CAAC;AAW7C,KAAA;IATU,eAAe,GAAA;QAClB,IAAI,CAAC,EAAE,CAAC,aAAa,CACjB,IAAI,WAAW,CAAC,YAAY,EAAE,EAAC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAC,CAAC,CACtE,CAAC;KACL;IAES,OAAO,GAAA;AACb,QAAA,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,eAAe,EAAE,EAAC,OAAO,EAAE,IAAI,EAAC,CA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CAAA,EAAA,CAAA,CAAA,EAAA;AAIZ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YA1BnB,YAAY;YAKZ,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAqBP,cAAc,EAAA,UAAA,EAAA,CAAA;kBA5B1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,kBAAkB;wBAClB,oBAAoB;wBACpB,MAAM;wBACN,SAAS;wBACT,YAAY;AACf,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACV,sBAAsB;wBACtB,iBAAiB;wBACjB,oBAAoB;wBACpB,wBAAwB;wBACxB,oBAAoB;wBACpB,iBAAiB;wBACjB,wBAAwB;wBACxB,sBAAsB;wBACtB,qBAAqB;AACxB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,sBAAsB;wBACtB,iBAAiB;wBACjB,wBAAwB;wBACxB,iBAAiB;AACpB,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC9B,iBAAA,CAAA;;;AChDD;;AAEG;;;;"}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Component, ChangeDetectionStrategy, InjectionToken, Injectable, Directive } from '@angular/core';
|
|
3
|
-
import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
|
|
4
|
-
import { TuiPopoverService, tuiAsPopover } from '@taiga-ui/cdk/services';
|
|
5
|
-
import { AsyncPipe, NgIf, NgForOf } from '@angular/common';
|
|
6
|
-
import { tuiSlideInTop, tuiParentAnimation } from '@taiga-ui/core/animations';
|
|
7
|
-
import { TuiButton } from '@taiga-ui/core/components/button';
|
|
8
|
-
import { TUI_COMMON_ICONS, TUI_CLOSE_WORD, TUI_ANIMATIONS_SPEED } from '@taiga-ui/core/tokens';
|
|
9
|
-
import { tuiToAnimationOptions } from '@taiga-ui/core/utils/miscellaneous';
|
|
10
|
-
import { injectContext, PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
|
|
11
|
-
import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
12
|
-
import { BehaviorSubject } from 'rxjs';
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
16
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
17
|
-
*/
|
|
18
|
-
class TuiTableBarComponent {
|
|
19
|
-
constructor() {
|
|
20
|
-
this.icons = inject(TUI_COMMON_ICONS);
|
|
21
|
-
this.closeWord$ = inject(TUI_CLOSE_WORD);
|
|
22
|
-
this.context = injectContext();
|
|
23
|
-
this.animation = tuiToAnimationOptions(inject(TUI_ANIMATIONS_SPEED));
|
|
24
|
-
}
|
|
25
|
-
getTheme(appearance) {
|
|
26
|
-
return appearance === 'onDark' ? 'dark' : null;
|
|
27
|
-
}
|
|
28
|
-
close() {
|
|
29
|
-
this.context.$implicit.complete();
|
|
30
|
-
}
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiTableBarComponent, isStandalone: true, selector: "tui-table-bar", host: { properties: { "@tuiSlideInTop": "animation", "attr.data-appearance": "context.mode" } }, ngImport: i0, template: "<div\n automation-id=\"tui-table-bar__bar\"\n class=\"t-container\"\n [attr.tuiTheme]=\"getTheme(context.mode || 'onDark')\"\n [class.t-container_adaptive]=\"context.adaptive\"\n>\n <div class=\"t-inner\">\n <div class=\"t-content\">\n <ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n\n <button\n *ngIf=\"context.hasCloseButton\"\n appearance=\"icon\"\n automation-id=\"tui-table-bar__close-button\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close-button\"\n [iconStart]=\"icons.close\"\n (click)=\"close()\"\n >\n {{ closeWord$ | async }}\n </button>\n </div>\n</div>\n", styles: [":host{display:block;inline-size:100%;box-shadow:var(--tui-shadow-small);flex:0 0 100%}:host[data-appearance=onLight]{background:var(--tui-background-base);color:var(--tui-text-primary)}:host[data-appearance=onDark]{background:var(--tui-background-accent-opposite-pressed);color:var(--tui-background-base)}.t-wrapper{display:flex;inline-size:100%}.t-container{position:relative;margin:0 auto}@media screen and (min-width: 80em){.t-container.t-container_adaptive{inline-size:69rem}}@media screen and (max-width: 79.9625em){.t-container.t-container_adaptive{inline-size:51.5rem}}@media screen and (max-width: 47.9625em){.t-container.t-container_adaptive{inline-size:100%;padding:0 1rem;box-sizing:border-box}}@media screen and (min-width: 80em){.t-container{inline-size:69rem}}@media screen and (max-width: 79.9625em){.t-container{inline-size:51.5rem;padding:0 3rem}}.t-inner{display:flex;align-items:center;block-size:4.5rem;inline-size:100%;overflow:hidden}:host-context(tui-root._mobile) .t-inner{block-size:5.75rem}.t-close-button{margin-inline-start:1.5rem}.t-content{inline-size:100%;flex:1 1 0}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }], animations: [tuiSlideInTop, tuiParentAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
33
|
-
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarComponent, decorators: [{
|
|
35
|
-
type: Component,
|
|
36
|
-
args: [{ standalone: true, selector: 'tui-table-bar', imports: [AsyncPipe, NgIf, PolymorpheusOutlet, TuiButton], changeDetection: ChangeDetectionStrategy.OnPush, animations: [tuiSlideInTop, tuiParentAnimation], host: {
|
|
37
|
-
'[@tuiSlideInTop]': 'animation',
|
|
38
|
-
'[attr.data-appearance]': 'context.mode',
|
|
39
|
-
}, template: "<div\n automation-id=\"tui-table-bar__bar\"\n class=\"t-container\"\n [attr.tuiTheme]=\"getTheme(context.mode || 'onDark')\"\n [class.t-container_adaptive]=\"context.adaptive\"\n>\n <div class=\"t-inner\">\n <div class=\"t-content\">\n <ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n\n <button\n *ngIf=\"context.hasCloseButton\"\n appearance=\"icon\"\n automation-id=\"tui-table-bar__close-button\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close-button\"\n [iconStart]=\"icons.close\"\n (click)=\"close()\"\n >\n {{ closeWord$ | async }}\n </button>\n </div>\n</div>\n", styles: [":host{display:block;inline-size:100%;box-shadow:var(--tui-shadow-small);flex:0 0 100%}:host[data-appearance=onLight]{background:var(--tui-background-base);color:var(--tui-text-primary)}:host[data-appearance=onDark]{background:var(--tui-background-accent-opposite-pressed);color:var(--tui-background-base)}.t-wrapper{display:flex;inline-size:100%}.t-container{position:relative;margin:0 auto}@media screen and (min-width: 80em){.t-container.t-container_adaptive{inline-size:69rem}}@media screen and (max-width: 79.9625em){.t-container.t-container_adaptive{inline-size:51.5rem}}@media screen and (max-width: 47.9625em){.t-container.t-container_adaptive{inline-size:100%;padding:0 1rem;box-sizing:border-box}}@media screen and (min-width: 80em){.t-container{inline-size:69rem}}@media screen and (max-width: 79.9625em){.t-container{inline-size:51.5rem;padding:0 3rem}}.t-inner{display:flex;align-items:center;block-size:4.5rem;inline-size:100%;overflow:hidden}:host-context(tui-root._mobile) .t-inner{block-size:5.75rem}.t-close-button{margin-inline-start:1.5rem}.t-content{inline-size:100%;flex:1 1 0}\n"] }]
|
|
40
|
-
}] });
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
44
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
45
|
-
*/
|
|
46
|
-
const TUI_TABLE_BARS = new InjectionToken(ngDevMode ? 'TUI_TABLE_BARS' : '', {
|
|
47
|
-
factory: () => new BehaviorSubject([]),
|
|
48
|
-
});
|
|
49
|
-
/**
|
|
50
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
51
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
52
|
-
*/
|
|
53
|
-
const TUI_TABLE_BAR_DEFAULT_OPTIONS = {
|
|
54
|
-
adaptive: true,
|
|
55
|
-
hasCloseButton: true,
|
|
56
|
-
mode: 'onDark',
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
60
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
61
|
-
*/
|
|
62
|
-
const TUI_TABLE_BAR_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_TABLE_BAR_OPTIONS' : '', {
|
|
63
|
-
factory: () => TUI_TABLE_BAR_DEFAULT_OPTIONS,
|
|
64
|
-
});
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
67
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
68
|
-
*/
|
|
69
|
-
function tuiTableBarOptionsProvider(options) {
|
|
70
|
-
return tuiProvideOptions(TUI_TABLE_BAR_OPTIONS, options, TUI_TABLE_BAR_DEFAULT_OPTIONS);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
75
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
76
|
-
*/
|
|
77
|
-
class TuiTableBarsService extends TuiPopoverService {
|
|
78
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
79
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarsService, providedIn: 'root', useFactory: () => new TuiTableBarsService(TUI_TABLE_BARS, TuiTableBarComponent, inject(TUI_TABLE_BAR_OPTIONS)) }); }
|
|
80
|
-
}
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarsService, decorators: [{
|
|
82
|
-
type: Injectable,
|
|
83
|
-
args: [{
|
|
84
|
-
providedIn: 'root',
|
|
85
|
-
useFactory: () => new TuiTableBarsService(TUI_TABLE_BARS, TuiTableBarComponent, inject(TUI_TABLE_BAR_OPTIONS)),
|
|
86
|
-
}]
|
|
87
|
-
}] });
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
91
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
92
|
-
*/
|
|
93
|
-
class TuiTableBarDirective extends TuiPopoverDirective {
|
|
94
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
95
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTableBarDirective, isStandalone: true, selector: "ng-template[tuiTableBar]", inputs: { open: ["tuiTableBar", "open"], options: ["tuiTableBarOptions", "options"] }, outputs: { openChange: "tuiTableBarChange" }, providers: [tuiAsPopover(TuiTableBarsService)], usesInheritance: true, ngImport: i0 }); }
|
|
96
|
-
}
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarDirective, decorators: [{
|
|
98
|
-
type: Directive,
|
|
99
|
-
args: [{
|
|
100
|
-
standalone: true,
|
|
101
|
-
selector: 'ng-template[tuiTableBar]',
|
|
102
|
-
inputs: ['open: tuiTableBar', 'options: tuiTableBarOptions'],
|
|
103
|
-
outputs: ['openChange: tuiTableBarChange'],
|
|
104
|
-
providers: [tuiAsPopover(TuiTableBarsService)],
|
|
105
|
-
}]
|
|
106
|
-
}] });
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* @deprecated drop in v5.0 use {@link TuiActionBar}
|
|
110
|
-
* https://taiga-ui.dev/components/actions-bar
|
|
111
|
-
*/
|
|
112
|
-
class TuiTableBarsHostComponent {
|
|
113
|
-
constructor() {
|
|
114
|
-
this.bars$ = inject(TUI_TABLE_BARS);
|
|
115
|
-
}
|
|
116
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarsHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
117
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiTableBarsHostComponent, isStandalone: true, selector: "tui-table-bars-host", ngImport: i0, template: `
|
|
118
|
-
<div
|
|
119
|
-
*ngFor="let item of bars$ | async"
|
|
120
|
-
class="t-wrapper"
|
|
121
|
-
@tuiParentAnimation
|
|
122
|
-
>
|
|
123
|
-
<ng-container *polymorpheusOutlet="item.component; context: item" />
|
|
124
|
-
</div>
|
|
125
|
-
`, isInline: true, styles: [".t-wrapper{position:fixed;top:0;left:0;bottom:0;right:0;top:unset}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [tuiParentAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
126
|
-
}
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTableBarsHostComponent, decorators: [{
|
|
128
|
-
type: Component,
|
|
129
|
-
args: [{ standalone: true, selector: 'tui-table-bars-host', imports: [AsyncPipe, NgForOf, PolymorpheusOutlet], template: `
|
|
130
|
-
<div
|
|
131
|
-
*ngFor="let item of bars$ | async"
|
|
132
|
-
class="t-wrapper"
|
|
133
|
-
@tuiParentAnimation
|
|
134
|
-
>
|
|
135
|
-
<ng-container *polymorpheusOutlet="item.component; context: item" />
|
|
136
|
-
</div>
|
|
137
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, animations: [tuiParentAnimation], styles: [".t-wrapper{position:fixed;top:0;left:0;bottom:0;right:0;top:unset}\n"] }]
|
|
138
|
-
}] });
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Generated bundle index. Do not edit.
|
|
142
|
-
*/
|
|
143
|
-
|
|
144
|
-
export { TUI_TABLE_BARS, TUI_TABLE_BAR_DEFAULT_OPTIONS, TUI_TABLE_BAR_OPTIONS, TuiTableBarDirective, TuiTableBarsHostComponent, TuiTableBarsService, tuiTableBarOptionsProvider };
|
|
145
|
-
//# sourceMappingURL=taiga-ui-legacy-components-table-bar.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-legacy-components-table-bar.mjs","sources":["../../../projects/legacy/components/table-bar/table-bar.component.ts","../../../projects/legacy/components/table-bar/table-bar.template.html","../../../projects/legacy/components/table-bar/table-bar.options.ts","../../../projects/legacy/components/table-bar/table-bars.service.ts","../../../projects/legacy/components/table-bar/table-bar.directive.ts","../../../projects/legacy/components/table-bar/table-bars-host.component.ts","../../../projects/legacy/components/table-bar/taiga-ui-legacy-components-table-bar.ts"],"sourcesContent":["import {AsyncPipe, NgIf} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, inject} from '@angular/core';\nimport {type TuiPopover} from '@taiga-ui/cdk/services';\nimport {tuiParentAnimation, tuiSlideInTop} from '@taiga-ui/core/animations';\nimport {TuiButton} from '@taiga-ui/core/components/button';\nimport {\n TUI_ANIMATIONS_SPEED,\n TUI_CLOSE_WORD,\n TUI_COMMON_ICONS,\n} from '@taiga-ui/core/tokens';\nimport {tuiToAnimationOptions} from '@taiga-ui/core/utils/miscellaneous';\nimport {injectContext, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {type TuiTableBarOptions} from './table-bar.options';\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\n@Component({\n standalone: true,\n selector: 'tui-table-bar',\n imports: [AsyncPipe, NgIf, PolymorpheusOutlet, TuiButton],\n templateUrl: './table-bar.template.html',\n styleUrls: ['./table-bar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiSlideInTop, tuiParentAnimation],\n host: {\n '[@tuiSlideInTop]': 'animation',\n '[attr.data-appearance]': 'context.mode',\n },\n})\nexport class TuiTableBarComponent {\n protected readonly icons = inject(TUI_COMMON_ICONS);\n protected readonly closeWord$ = inject(TUI_CLOSE_WORD);\n protected readonly context = injectContext<TuiPopover<TuiTableBarOptions, void>>();\n\n protected readonly animation = tuiToAnimationOptions(inject(TUI_ANIMATIONS_SPEED));\n\n protected getTheme(appearance: string): string | null {\n return appearance === 'onDark' ? 'dark' : null;\n }\n\n protected close(): void {\n this.context.$implicit.complete();\n }\n}\n","<div\n automation-id=\"tui-table-bar__bar\"\n class=\"t-container\"\n [attr.tuiTheme]=\"getTheme(context.mode || 'onDark')\"\n [class.t-container_adaptive]=\"context.adaptive\"\n>\n <div class=\"t-inner\">\n <div class=\"t-content\">\n <ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n\n <button\n *ngIf=\"context.hasCloseButton\"\n appearance=\"icon\"\n automation-id=\"tui-table-bar__close-button\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close-button\"\n [iconStart]=\"icons.close\"\n (click)=\"close()\"\n >\n {{ closeWord$ | async }}\n </button>\n </div>\n</div>\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {type TuiPopover} from '@taiga-ui/cdk/services';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {BehaviorSubject} from 'rxjs';\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\nexport interface TuiTableBarOptions {\n readonly adaptive?: boolean;\n readonly hasCloseButton?: boolean;\n readonly mode?: 'onDark' | 'onLight';\n}\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\nexport const TUI_TABLE_BARS = new InjectionToken(ngDevMode ? 'TUI_TABLE_BARS' : '', {\n factory: () => new BehaviorSubject<ReadonlyArray<TuiPopover<any, any>>>([]),\n});\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\nexport const TUI_TABLE_BAR_DEFAULT_OPTIONS: TuiTableBarOptions = {\n adaptive: true,\n hasCloseButton: true,\n mode: 'onDark',\n};\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\nexport const TUI_TABLE_BAR_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_TABLE_BAR_OPTIONS' : '',\n {\n factory: () => TUI_TABLE_BAR_DEFAULT_OPTIONS,\n },\n);\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\nexport function tuiTableBarOptionsProvider(\n options: Partial<TuiTableBarOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_TABLE_BAR_OPTIONS,\n options,\n TUI_TABLE_BAR_DEFAULT_OPTIONS,\n );\n}\n","import {inject, Injectable} from '@angular/core';\nimport {TuiPopoverService} from '@taiga-ui/cdk/services';\n\nimport {TuiTableBarComponent} from './table-bar.component';\nimport {\n TUI_TABLE_BAR_OPTIONS,\n TUI_TABLE_BARS,\n type TuiTableBarOptions,\n} from './table-bar.options';\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\n@Injectable({\n providedIn: 'root',\n useFactory: () =>\n new TuiTableBarsService(\n TUI_TABLE_BARS,\n TuiTableBarComponent,\n inject(TUI_TABLE_BAR_OPTIONS),\n ),\n})\nexport class TuiTableBarsService extends TuiPopoverService<TuiTableBarOptions> {}\n","import {Directive} from '@angular/core';\nimport {TuiPopoverDirective} from '@taiga-ui/cdk/directives/popover';\nimport {tuiAsPopover} from '@taiga-ui/cdk/services';\n\nimport {type TuiTableBarOptions} from './table-bar.options';\nimport {TuiTableBarsService} from './table-bars.service';\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\n@Directive({\n standalone: true,\n selector: 'ng-template[tuiTableBar]',\n inputs: ['open: tuiTableBar', 'options: tuiTableBarOptions'],\n outputs: ['openChange: tuiTableBarChange'],\n providers: [tuiAsPopover(TuiTableBarsService)],\n})\nexport class TuiTableBarDirective extends TuiPopoverDirective<TuiTableBarOptions> {}\n","import {AsyncPipe, NgForOf} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, inject} from '@angular/core';\nimport {tuiParentAnimation} from '@taiga-ui/core/animations';\nimport {PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {TUI_TABLE_BARS} from './table-bar.options';\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\n@Component({\n standalone: true,\n selector: 'tui-table-bars-host',\n imports: [AsyncPipe, NgForOf, PolymorpheusOutlet],\n template: `\n <div\n *ngFor=\"let item of bars$ | async\"\n class=\"t-wrapper\"\n @tuiParentAnimation\n >\n <ng-container *polymorpheusOutlet=\"item.component; context: item\" />\n </div>\n `,\n styleUrls: ['./table-bars-host.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiParentAnimation],\n})\nexport class TuiTableBarsHostComponent {\n protected bars$ = inject(TUI_TABLE_BARS);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAeA;;;AAGG;AACH,MAaa,oBAAoB,CAAA;AAbjC,IAAA,WAAA,GAAA;AAcuB,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AACjC,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;QACpC,IAAO,CAAA,OAAA,GAAG,aAAa,EAAwC,CAAC;QAEhE,IAAS,CAAA,SAAA,GAAG,qBAAqB,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAStF,KAAA;AAPa,IAAA,QAAQ,CAAC,UAAkB,EAAA;QACjC,OAAO,UAAU,KAAK,QAAQ,GAAG,MAAM,GAAG,IAAI,CAAC;KAClD;IAES,KAAK,GAAA;AACX,QAAA,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;KACrC;+GAbQ,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,oBAAoB,EChCjC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,IAA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