@taiga-ui/legacy 4.66.0 → 5.0.0-canary.856b30d
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/README.md +1 -1
- package/components/dialog/dialog.component.d.ts +20 -0
- package/components/dialog/dialog.directive.d.ts +8 -0
- package/components/dialog/dialog.factory.d.ts +16 -0
- package/components/dialog/dialog.interfaces.d.ts +30 -0
- package/components/dialog/dialog.service.d.ts +10 -0
- package/components/dialog/dialog.tokens.d.ts +6 -0
- package/components/dialog/index.d.ts +6 -0
- package/components/index.d.ts +3 -33
- package/components/mobile-dialog/index.d.ts +3 -0
- package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
- package/components/mobile-dialog/mobile-dialog.options.d.ts +10 -0
- package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
- package/components/pdf-viewer/index.d.ts +4 -0
- package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
- package/components/pdf-viewer/pdf-viewer.directive.d.ts +8 -0
- package/components/pdf-viewer/pdf-viewer.options.d.ts +11 -0
- package/components/pdf-viewer/pdf-viewer.service.d.ts +17 -0
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs +136 -0
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +62 -0
- package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +88 -0
- package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components.mjs +3 -33
- package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy.mjs +85 -6
- package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
- package/index.d.ts +1 -6
- package/package.json +22 -291
- package/pure.d.ts +23 -0
- package/classes/abstract-native-select.d.ts +0 -22
- package/classes/abstract-textfield-host.d.ts +0 -19
- package/classes/control.d.ts +0 -60
- package/classes/controller.d.ts +0 -9
- package/classes/index.d.ts +0 -9
- package/classes/interactive.d.ts +0 -34
- package/classes/multiple-control.d.ts +0 -11
- package/classes/named-day.d.ts +0 -11
- package/classes/nullable-control.d.ts +0 -10
- package/classes/stringifiable-item.d.ts +0 -11
- package/components/arrow/arrow.component.d.ts +0 -17
- package/components/arrow/arrow.options.d.ts +0 -19
- package/components/arrow/arrow.providers.d.ts +0 -23
- package/components/arrow/index.d.ts +0 -3
- package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
- package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
- package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
- package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
- package/components/color-selector/color-selector.component.d.ts +0 -47
- package/components/color-selector/color-selector.module.d.ts +0 -24
- package/components/color-selector/color-selector.options.d.ts +0 -25
- package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
- package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
- package/components/color-selector/index.d.ts +0 -16
- package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
- package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
- package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
- package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
- package/components/color-selector/palette/palette.component.d.ts +0 -10
- package/components/color-selector/palette/palette.module.d.ts +0 -13
- package/components/color-selector/services/picker.service.d.ts +0 -15
- package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
- package/components/combo-box/combo-box.component.d.ts +0 -52
- package/components/combo-box/combo-box.directive.d.ts +0 -13
- package/components/combo-box/combo-box.module.d.ts +0 -20
- package/components/combo-box/index.d.ts +0 -4
- package/components/input/index.d.ts +0 -3
- package/components/input/input.component.d.ts +0 -32
- package/components/input/input.directive.d.ts +0 -12
- package/components/input/input.module.d.ts +0 -16
- package/components/input-color/index.d.ts +0 -2
- package/components/input-color/input-color.component.d.ts +0 -30
- package/components/input-color/input-color.module.d.ts +0 -17
- 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/index.d.ts +0 -3
- package/components/input-date/input-date.component.d.ts +0 -62
- package/components/input-date/input-date.directive.d.ts +0 -19
- package/components/input-date/input-date.module.d.ts +0 -24
- package/components/input-date/native-date/native-date.component.d.ts +0 -15
- 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-date-range/index.d.ts +0 -3
- package/components/input-date-range/input-date-range.component.d.ts +0 -67
- package/components/input-date-range/input-date-range.directive.d.ts +0 -16
- package/components/input-date-range/input-date-range.module.d.ts +0 -22
- package/components/input-date-time/index.d.ts +0 -3
- package/components/input-date-time/input-date-time.component.d.ts +0 -87
- package/components/input-date-time/input-date-time.directive.d.ts +0 -17
- package/components/input-date-time/input-date-time.module.d.ts +0 -23
- package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
- 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-month-range/index.d.ts +0 -3
- package/components/input-month-range/input-month-range.component.d.ts +0 -38
- package/components/input-month-range/input-month-range.directive.d.ts +0 -23
- package/components/input-month-range/input-month-range.module.d.ts +0 -18
- package/components/input-number/index.d.ts +0 -4
- package/components/input-number/input-number.component.d.ts +0 -63
- package/components/input-number/input-number.directive.d.ts +0 -16
- package/components/input-number/input-number.module.d.ts +0 -18
- package/components/input-number/input-number.options.d.ts +0 -29
- 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 -52
- package/components/input-phone/input-phone.directive.d.ts +0 -16
- package/components/input-phone/input-phone.module.d.ts +0 -15
- package/components/input-phone/input-phone.options.d.ts +0 -22
- 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-range/index.d.ts +0 -2
- package/components/input-range/input-range.component.d.ts +0 -56
- package/components/input-range/input-range.module.d.ts +0 -19
- package/components/input-slider/index.d.ts +0 -2
- package/components/input-slider/input-slider.component.d.ts +0 -42
- package/components/input-slider/input-slider.module.d.ts +0 -18
- package/components/input-tag/index.d.ts +0 -3
- package/components/input-tag/input-tag.component.d.ts +0 -103
- package/components/input-tag/input-tag.module.d.ts +0 -22
- package/components/input-tag/input-tag.options.d.ts +0 -27
- package/components/input-time/index.d.ts +0 -4
- package/components/input-time/input-time.component.d.ts +0 -62
- package/components/input-time/input-time.directive.d.ts +0 -17
- package/components/input-time/input-time.module.d.ts +0 -23
- package/components/input-time/input-time.options.d.ts +0 -42
- package/components/input-time/native-time/native-time.component.d.ts +0 -12
- 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/multi-select/hide-selected.pipe.d.ts +0 -11
- package/components/multi-select/index.d.ts +0 -10
- package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
- package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
- package/components/multi-select/multi-select.component.d.ts +0 -71
- package/components/multi-select/multi-select.directive.d.ts +0 -14
- package/components/multi-select/multi-select.module.d.ts +0 -31
- package/components/multi-select/multi-select.options.d.ts +0 -14
- package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
- package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
- package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
- package/components/multi-select-option/index.d.ts +0 -2
- package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
- package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
- package/components/primitive-textfield/index.d.ts +0 -7
- package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
- package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
- package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
- package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
- package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
- package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
- package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
- package/components/select/index.d.ts +0 -6
- package/components/select/native-select/native-select-group.component.d.ts +0 -17
- package/components/select/native-select/native-select.component.d.ts +0 -16
- package/components/select/select.component.d.ts +0 -45
- package/components/select/select.directive.d.ts +0 -16
- package/components/select/select.module.d.ts +0 -24
- package/components/select/select.options.d.ts +0 -25
- package/components/select-option/index.d.ts +0 -2
- package/components/select-option/select-option.component.d.ts +0 -27
- package/components/select-option/select-option.module.d.ts +0 -10
- 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/svg/content-processor.d.ts +0 -19
- package/components/svg/deprecated-icons.d.ts +0 -5
- package/components/svg/index.d.ts +0 -5
- package/components/svg/svg-options.d.ts +0 -50
- package/components/svg/svg.component.d.ts +0 -50
- package/components/svg/svg.service.d.ts +0 -21
- 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/components/tag/index.d.ts +0 -3
- package/components/tag/tag.component.d.ts +0 -44
- package/components/tag/tag.module.d.ts +0 -16
- package/components/tag/tag.options.d.ts +0 -27
- package/components/textarea/index.d.ts +0 -3
- package/components/textarea/textarea.component.d.ts +0 -54
- package/components/textarea/textarea.directive.d.ts +0 -12
- package/components/textarea/textarea.module.d.ts +0 -21
- package/components/tooltip/index.d.ts +0 -2
- package/components/tooltip/tooltip.component.d.ts +0 -12
- package/components/tooltip/tooltip.module.d.ts +0 -13
- package/directives/index.d.ts +0 -5
- package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
- package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
- package/directives/textfield-controller/index.d.ts +0 -14
- package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
- package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
- package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
- package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
- package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
- package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
- package/directives/textfield-controller/textfield.controller.d.ts +0 -41
- package/directives/textfield-controller/textfield.options.d.ts +0 -19
- package/directives/unfinished-validator/index.d.ts +0 -2
- package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
- package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
- package/directives/value-accessor/index.d.ts +0 -3
- package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
- package/directives/value-accessor/value-accessor.module.d.ts +0 -7
- package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
- package/directives/wrapper/README.md +0 -19
- package/directives/wrapper/index.d.ts +0 -2
- package/directives/wrapper/wrapper.directive.d.ts +0 -22
- package/directives/wrapper/wrapper.module.d.ts +0 -10
- 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 -219
- package/esm2022/components/input-phone/input-phone.directive.mjs +0 -37
- package/esm2022/components/input-phone/input-phone.module.mjs +0 -47
- package/esm2022/components/input-phone/input-phone.options.mjs +0 -24
- 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-classes.mjs +0 -416
- package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -301
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
- 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-date-range.mjs +0 -356
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
- package/fesm2022/taiga-ui-legacy-components-input-month-range.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-number.mjs +0 -390
- package/fesm2022/taiga-ui-legacy-components-input-number.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 -373
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -200
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -434
- package/fesm2022/taiga-ui-legacy-components-input-time.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-input.mjs +0 -156
- package/fesm2022/taiga-ui-legacy-components-input.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-multi-select-option.mjs +0 -47
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -690
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -354
- package/fesm2022/taiga-ui-legacy-components-select.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-svg.mjs +0 -389
- package/fesm2022/taiga-ui-legacy-components-svg.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
- package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -226
- package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -50
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -50
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
- package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -60
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
- package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
- package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
- package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-utils.mjs +0 -268
- package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
- package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
- package/pipes/format-phone/index.d.ts +0 -1
- package/pipes/index.d.ts +0 -3
- package/pipes/iso-to-country-code/index.d.ts +0 -1
- package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
- package/pipes/to-country-code/index.d.ts +0 -1
- package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
- package/services/index.d.ts +0 -1
- package/services/static-request.service.d.ts +0 -11
- package/styles/mixins/mixins.less +0 -239
- package/styles/mixins/mixins.scss +0 -224
- package/styles/mixins/textfield.less +0 -322
- package/styles/mixins/textfield.scss +0 -308
- package/styles/taiga-ui-local.less +0 -3
- package/styles/taiga-ui-local.scss +0 -3
- package/tokens/countries-masks.d.ts +0 -9
- package/tokens/focusable-item-accessor.d.ts +0 -25
- package/tokens/fonts-ready.d.ts +0 -6
- package/tokens/icons.d.ts +0 -6
- package/tokens/index.d.ts +0 -14
- package/tokens/is-apple.d.ts +0 -6
- package/tokens/is-chromium.d.ts +0 -6
- package/tokens/is-firefox.d.ts +0 -6
- package/tokens/is-stackblitz.d.ts +0 -5
- package/tokens/month-formatter.d.ts +0 -10
- package/tokens/sanitizer.d.ts +0 -6
- package/tokens/textfield-appearance.d.ts +0 -7
- package/tokens/textfield-host.d.ts +0 -23
- package/tokens/touch-supported.d.ts +0 -5
- package/tokens/value-accessor.d.ts +0 -7
- package/utils/capitalize-first-letter.d.ts +0 -4
- package/utils/date-mode-maskito-adapter.d.ts +0 -6
- package/utils/format-phone.d.ts +0 -30
- package/utils/get-border.d.ts +0 -5
- package/utils/get-max-allowed-phone-length.d.ts +0 -24
- package/utils/get-safe-area-size.d.ts +0 -7
- package/utils/icons-path-factory.d.ts +0 -13
- package/utils/index.d.ts +0 -14
- package/utils/is-apple.d.ts +0 -5
- package/utils/is-presumed-html-string.d.ts +0 -4
- package/utils/iso-to-country-code.d.ts +0 -13
- package/utils/not-kz-region.d.ts +0 -20
- package/utils/process-icon.d.ts +0 -4
- package/utils/specific-dropdown-controllers.d.ts +0 -4
- package/utils/status.d.ts +0 -4
|
@@ -1,401 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Directive, Input, NgModule, ChangeDetectorRef } from '@angular/core';
|
|
3
|
-
import { tuiProvideOptions, tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
4
|
-
import { AbstractTuiController } from '@taiga-ui/legacy/classes';
|
|
5
|
-
import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
|
|
6
|
-
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
7
|
-
import { tuiWatch } from '@taiga-ui/cdk/observables';
|
|
8
|
-
import { TUI_TEXTFIELD_APPEARANCE } from '@taiga-ui/legacy/tokens';
|
|
9
|
-
import { merge, NEVER } from 'rxjs';
|
|
10
|
-
|
|
11
|
-
class TuiTextfieldController {
|
|
12
|
-
// eslint-disable-next-line @typescript-eslint/max-params,max-params
|
|
13
|
-
constructor(change$, options, legacyAppearance, appearanceDirective, cleanerDirective, customContentDirective, iconDirective, iconLeftDirective, labelOutsideDirective, sizeDirective, prefixDirective, postfixDirective, fillerDirective) {
|
|
14
|
-
this.change$ = change$;
|
|
15
|
-
this.options = options;
|
|
16
|
-
this.legacyAppearance = legacyAppearance;
|
|
17
|
-
this.appearanceDirective = appearanceDirective;
|
|
18
|
-
this.cleanerDirective = cleanerDirective;
|
|
19
|
-
this.customContentDirective = customContentDirective;
|
|
20
|
-
this.iconDirective = iconDirective;
|
|
21
|
-
this.iconLeftDirective = iconLeftDirective;
|
|
22
|
-
this.labelOutsideDirective = labelOutsideDirective;
|
|
23
|
-
this.sizeDirective = sizeDirective;
|
|
24
|
-
this.prefixDirective = prefixDirective;
|
|
25
|
-
this.postfixDirective = postfixDirective;
|
|
26
|
-
this.fillerDirective = fillerDirective;
|
|
27
|
-
}
|
|
28
|
-
get appearance() {
|
|
29
|
-
return this.appearanceDirective.appearance || this.legacyAppearance;
|
|
30
|
-
}
|
|
31
|
-
get cleaner() {
|
|
32
|
-
return this.cleanerDirective.cleaner;
|
|
33
|
-
}
|
|
34
|
-
get customContent() {
|
|
35
|
-
return this.customContentDirective.customContent || '';
|
|
36
|
-
}
|
|
37
|
-
get icon() {
|
|
38
|
-
return this.iconDirective.icon;
|
|
39
|
-
}
|
|
40
|
-
get iconStart() {
|
|
41
|
-
return this.iconLeftDirective.iconStart;
|
|
42
|
-
}
|
|
43
|
-
get labelOutside() {
|
|
44
|
-
return this.labelOutsideDirective.labelOutside;
|
|
45
|
-
}
|
|
46
|
-
get size() {
|
|
47
|
-
return this.sizeDirective.size;
|
|
48
|
-
}
|
|
49
|
-
get prefix() {
|
|
50
|
-
return this.prefixDirective.prefix;
|
|
51
|
-
}
|
|
52
|
-
get postfix() {
|
|
53
|
-
return this.postfixDirective.postfix;
|
|
54
|
-
}
|
|
55
|
-
get filler() {
|
|
56
|
-
return this.fillerDirective.filler;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @deprecated: drop in v5.0
|
|
62
|
-
* Default values for primitive textfield options
|
|
63
|
-
*/
|
|
64
|
-
const TUI_TEXTFIELD_DEFAULT_OPTIONS = {
|
|
65
|
-
iconCleaner: '@tui.x',
|
|
66
|
-
hintOnDisabled: false,
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* @deprecated: drop in v5.0
|
|
70
|
-
* Default parameters for textfield
|
|
71
|
-
*/
|
|
72
|
-
const TUI_TEXTFIELD_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_OPTIONS' : '', {
|
|
73
|
-
factory: () => TUI_TEXTFIELD_DEFAULT_OPTIONS,
|
|
74
|
-
});
|
|
75
|
-
function tuiTextfieldOptionsProvider(options) {
|
|
76
|
-
return tuiProvideOptions(TUI_TEXTFIELD_OPTIONS, options, TUI_TEXTFIELD_DEFAULT_OPTIONS);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
const TUI_TEXTFIELD_APPEARANCE_DIRECTIVE = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_APPEARANCE_DIRECTIVE' : '', {
|
|
80
|
-
factory: () => new TuiTextfieldAppearanceDirective(),
|
|
81
|
-
});
|
|
82
|
-
class TuiTextfieldAppearanceDirective extends AbstractTuiController {
|
|
83
|
-
constructor() {
|
|
84
|
-
super(...arguments);
|
|
85
|
-
// it's an empty string by default for backward compatibility
|
|
86
|
-
// (see comment https://github.com/taiga-family/taiga-ui/pull/3007#issuecomment-1315179508)
|
|
87
|
-
this.appearance = '';
|
|
88
|
-
}
|
|
89
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldAppearanceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
90
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldAppearanceDirective, selector: "[tuiTextfieldAppearance]", inputs: { appearance: ["tuiTextfieldAppearance", "appearance"] }, providers: [
|
|
91
|
-
tuiProvide(TUI_TEXTFIELD_APPEARANCE_DIRECTIVE, TuiTextfieldAppearanceDirective),
|
|
92
|
-
], usesInheritance: true, ngImport: i0 }); }
|
|
93
|
-
}
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldAppearanceDirective, decorators: [{
|
|
95
|
-
type: Directive,
|
|
96
|
-
args: [{
|
|
97
|
-
standalone: false,
|
|
98
|
-
selector: '[tuiTextfieldAppearance]',
|
|
99
|
-
providers: [
|
|
100
|
-
tuiProvide(TUI_TEXTFIELD_APPEARANCE_DIRECTIVE, TuiTextfieldAppearanceDirective),
|
|
101
|
-
],
|
|
102
|
-
}]
|
|
103
|
-
}], propDecorators: { appearance: [{
|
|
104
|
-
type: Input,
|
|
105
|
-
args: ['tuiTextfieldAppearance']
|
|
106
|
-
}] } });
|
|
107
|
-
|
|
108
|
-
const TUI_TEXTFIELD_CLEANER = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_CLEANER' : '', {
|
|
109
|
-
factory: () => new TuiTextfieldCleanerDirective(),
|
|
110
|
-
});
|
|
111
|
-
class TuiTextfieldCleanerDirective extends AbstractTuiController {
|
|
112
|
-
constructor() {
|
|
113
|
-
super(...arguments);
|
|
114
|
-
this.cleaner = false;
|
|
115
|
-
}
|
|
116
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldCleanerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
117
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldCleanerDirective, selector: "[tuiTextfieldCleaner]", inputs: { cleaner: ["tuiTextfieldCleaner", "cleaner"] }, providers: [tuiProvide(TUI_TEXTFIELD_CLEANER, TuiTextfieldCleanerDirective)], usesInheritance: true, ngImport: i0 }); }
|
|
118
|
-
}
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldCleanerDirective, decorators: [{
|
|
120
|
-
type: Directive,
|
|
121
|
-
args: [{
|
|
122
|
-
standalone: false,
|
|
123
|
-
selector: '[tuiTextfieldCleaner]',
|
|
124
|
-
providers: [tuiProvide(TUI_TEXTFIELD_CLEANER, TuiTextfieldCleanerDirective)],
|
|
125
|
-
}]
|
|
126
|
-
}], propDecorators: { cleaner: [{
|
|
127
|
-
type: Input,
|
|
128
|
-
args: ['tuiTextfieldCleaner']
|
|
129
|
-
}] } });
|
|
130
|
-
|
|
131
|
-
const TUI_TEXTFIELD_CUSTOM_CONTENT = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_CUSTOM_CONTENT' : '', {
|
|
132
|
-
factory: () => new TuiTextfieldCustomContentDirective(),
|
|
133
|
-
});
|
|
134
|
-
class TuiTextfieldCustomContentDirective extends AbstractTuiController {
|
|
135
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldCustomContentDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
136
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldCustomContentDirective, selector: "[tuiTextfieldCustomContent]", inputs: { customContent: ["tuiTextfieldCustomContent", "customContent"] }, providers: [
|
|
137
|
-
tuiProvide(TUI_TEXTFIELD_CUSTOM_CONTENT, TuiTextfieldCustomContentDirective),
|
|
138
|
-
], usesInheritance: true, ngImport: i0 }); }
|
|
139
|
-
}
|
|
140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldCustomContentDirective, decorators: [{
|
|
141
|
-
type: Directive,
|
|
142
|
-
args: [{
|
|
143
|
-
standalone: false,
|
|
144
|
-
selector: '[tuiTextfieldCustomContent]',
|
|
145
|
-
providers: [
|
|
146
|
-
tuiProvide(TUI_TEXTFIELD_CUSTOM_CONTENT, TuiTextfieldCustomContentDirective),
|
|
147
|
-
],
|
|
148
|
-
}]
|
|
149
|
-
}], propDecorators: { customContent: [{
|
|
150
|
-
type: Input,
|
|
151
|
-
args: ['tuiTextfieldCustomContent']
|
|
152
|
-
}] } });
|
|
153
|
-
|
|
154
|
-
const TUI_TEXTFIELD_FILLER = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_FILLER' : '', {
|
|
155
|
-
factory: () => new TuiTextfieldFillerDirective(),
|
|
156
|
-
});
|
|
157
|
-
class TuiTextfieldFillerDirective extends AbstractTuiController {
|
|
158
|
-
constructor() {
|
|
159
|
-
super(...arguments);
|
|
160
|
-
this.filler = '';
|
|
161
|
-
}
|
|
162
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldFillerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
163
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: { filler: ["tuiTextfieldFiller", "filler"] }, providers: [tuiProvide(TUI_TEXTFIELD_FILLER, TuiTextfieldFillerDirective)], usesInheritance: true, ngImport: i0 }); }
|
|
164
|
-
}
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldFillerDirective, decorators: [{
|
|
166
|
-
type: Directive,
|
|
167
|
-
args: [{
|
|
168
|
-
standalone: false,
|
|
169
|
-
selector: '[tuiTextfieldFiller]',
|
|
170
|
-
providers: [tuiProvide(TUI_TEXTFIELD_FILLER, TuiTextfieldFillerDirective)],
|
|
171
|
-
}]
|
|
172
|
-
}], propDecorators: { filler: [{
|
|
173
|
-
type: Input,
|
|
174
|
-
args: ['tuiTextfieldFiller']
|
|
175
|
-
}] } });
|
|
176
|
-
|
|
177
|
-
const TUI_TEXTFIELD_ICON = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_ICON' : '', {
|
|
178
|
-
factory: () => new TuiTextfieldIconDirective(),
|
|
179
|
-
});
|
|
180
|
-
class TuiTextfieldIconDirective extends AbstractTuiController {
|
|
181
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldIconDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
182
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: { icon: ["tuiTextfieldIcon", "icon"] }, providers: [tuiProvide(TUI_TEXTFIELD_ICON, TuiTextfieldIconDirective)], usesInheritance: true, ngImport: i0 }); }
|
|
183
|
-
}
|
|
184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldIconDirective, decorators: [{
|
|
185
|
-
type: Directive,
|
|
186
|
-
args: [{
|
|
187
|
-
standalone: false,
|
|
188
|
-
selector: '[tuiTextfieldIcon]',
|
|
189
|
-
providers: [tuiProvide(TUI_TEXTFIELD_ICON, TuiTextfieldIconDirective)],
|
|
190
|
-
}]
|
|
191
|
-
}], propDecorators: { icon: [{
|
|
192
|
-
type: Input,
|
|
193
|
-
args: ['tuiTextfieldIcon']
|
|
194
|
-
}] } });
|
|
195
|
-
|
|
196
|
-
const TUI_TEXTFIELD_ICON_LEFT = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_ICON_LEFT' : '', {
|
|
197
|
-
factory: () => new TuiTextfieldIconLeftDirective(),
|
|
198
|
-
});
|
|
199
|
-
class TuiTextfieldIconLeftDirective extends AbstractTuiController {
|
|
200
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldIconLeftDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
201
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldIconLeftDirective, selector: "[tuiTextfieldIconLeft]", inputs: { iconStart: ["tuiTextfieldIconLeft", "iconStart"] }, providers: [tuiProvide(TUI_TEXTFIELD_ICON_LEFT, TuiTextfieldIconLeftDirective)], usesInheritance: true, ngImport: i0 }); }
|
|
202
|
-
}
|
|
203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldIconLeftDirective, decorators: [{
|
|
204
|
-
type: Directive,
|
|
205
|
-
args: [{
|
|
206
|
-
standalone: false,
|
|
207
|
-
selector: '[tuiTextfieldIconLeft]',
|
|
208
|
-
providers: [tuiProvide(TUI_TEXTFIELD_ICON_LEFT, TuiTextfieldIconLeftDirective)],
|
|
209
|
-
}]
|
|
210
|
-
}], propDecorators: { iconStart: [{
|
|
211
|
-
type: Input,
|
|
212
|
-
args: ['tuiTextfieldIconLeft']
|
|
213
|
-
}] } });
|
|
214
|
-
|
|
215
|
-
const TUI_TEXTFIELD_LABEL_OUTSIDE = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_LABEL_OUTSIDE' : '', {
|
|
216
|
-
factory: () => new TuiTextfieldLabelOutsideDirective(),
|
|
217
|
-
});
|
|
218
|
-
class TuiTextfieldLabelOutsideDirective extends AbstractTuiController {
|
|
219
|
-
constructor() {
|
|
220
|
-
super(...arguments);
|
|
221
|
-
this.labelOutside = false;
|
|
222
|
-
}
|
|
223
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldLabelOutsideDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
224
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldLabelOutsideDirective, selector: "[tuiTextfieldLabelOutside]", inputs: { labelOutside: ["tuiTextfieldLabelOutside", "labelOutside"] }, providers: [
|
|
225
|
-
tuiProvide(TUI_TEXTFIELD_LABEL_OUTSIDE, TuiTextfieldLabelOutsideDirective),
|
|
226
|
-
], usesInheritance: true, ngImport: i0 }); }
|
|
227
|
-
}
|
|
228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldLabelOutsideDirective, decorators: [{
|
|
229
|
-
type: Directive,
|
|
230
|
-
args: [{
|
|
231
|
-
standalone: false,
|
|
232
|
-
selector: '[tuiTextfieldLabelOutside]',
|
|
233
|
-
providers: [
|
|
234
|
-
tuiProvide(TUI_TEXTFIELD_LABEL_OUTSIDE, TuiTextfieldLabelOutsideDirective),
|
|
235
|
-
],
|
|
236
|
-
}]
|
|
237
|
-
}], propDecorators: { labelOutside: [{
|
|
238
|
-
type: Input,
|
|
239
|
-
args: ['tuiTextfieldLabelOutside']
|
|
240
|
-
}] } });
|
|
241
|
-
|
|
242
|
-
const TUI_TEXTFIELD_POSTFIX = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_POSTFIX' : '', {
|
|
243
|
-
factory: () => new TuiTextfieldPostfixDirective(),
|
|
244
|
-
});
|
|
245
|
-
class TuiTextfieldPostfixDirective extends AbstractTuiController {
|
|
246
|
-
constructor() {
|
|
247
|
-
super(...arguments);
|
|
248
|
-
this.postfix = '';
|
|
249
|
-
}
|
|
250
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldPostfixDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
251
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldPostfixDirective, selector: "[tuiTextfieldPostfix]", inputs: { postfix: ["tuiTextfieldPostfix", "postfix"] }, providers: [tuiProvide(TUI_TEXTFIELD_POSTFIX, TuiTextfieldPostfixDirective)], usesInheritance: true, ngImport: i0 }); }
|
|
252
|
-
}
|
|
253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldPostfixDirective, decorators: [{
|
|
254
|
-
type: Directive,
|
|
255
|
-
args: [{
|
|
256
|
-
standalone: false,
|
|
257
|
-
selector: '[tuiTextfieldPostfix]',
|
|
258
|
-
providers: [tuiProvide(TUI_TEXTFIELD_POSTFIX, TuiTextfieldPostfixDirective)],
|
|
259
|
-
}]
|
|
260
|
-
}], propDecorators: { postfix: [{
|
|
261
|
-
type: Input,
|
|
262
|
-
args: ['tuiTextfieldPostfix']
|
|
263
|
-
}] } });
|
|
264
|
-
|
|
265
|
-
const TUI_TEXTFIELD_PREFIX = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_PREFIX' : '', {
|
|
266
|
-
factory: () => new TuiTextfieldPrefixDirective(),
|
|
267
|
-
});
|
|
268
|
-
class TuiTextfieldPrefixDirective extends AbstractTuiController {
|
|
269
|
-
constructor() {
|
|
270
|
-
super(...arguments);
|
|
271
|
-
this.prefix = '';
|
|
272
|
-
}
|
|
273
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldPrefixDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
274
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldPrefixDirective, selector: "[tuiTextfieldPrefix]", inputs: { prefix: ["tuiTextfieldPrefix", "prefix"] }, providers: [tuiProvide(TUI_TEXTFIELD_PREFIX, TuiTextfieldPrefixDirective)], usesInheritance: true, ngImport: i0 }); }
|
|
275
|
-
}
|
|
276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldPrefixDirective, decorators: [{
|
|
277
|
-
type: Directive,
|
|
278
|
-
args: [{
|
|
279
|
-
standalone: false,
|
|
280
|
-
selector: '[tuiTextfieldPrefix]',
|
|
281
|
-
providers: [tuiProvide(TUI_TEXTFIELD_PREFIX, TuiTextfieldPrefixDirective)],
|
|
282
|
-
}]
|
|
283
|
-
}], propDecorators: { prefix: [{
|
|
284
|
-
type: Input,
|
|
285
|
-
args: ['tuiTextfieldPrefix']
|
|
286
|
-
}] } });
|
|
287
|
-
|
|
288
|
-
const TUI_TEXTFIELD_SIZE = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_SIZE' : '', {
|
|
289
|
-
factory: () => new TuiTextfieldSizeDirective(),
|
|
290
|
-
});
|
|
291
|
-
class TuiTextfieldSizeDirective extends AbstractTuiController {
|
|
292
|
-
constructor() {
|
|
293
|
-
super(...arguments);
|
|
294
|
-
this.size = 'l';
|
|
295
|
-
}
|
|
296
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldSizeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
297
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldSizeDirective, selector: "[tuiTextfieldSize]", inputs: { size: ["tuiTextfieldSize", "size"] }, providers: [tuiProvide(TUI_TEXTFIELD_SIZE, TuiTextfieldSizeDirective)], usesInheritance: true, ngImport: i0 }); }
|
|
298
|
-
}
|
|
299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldSizeDirective, decorators: [{
|
|
300
|
-
type: Directive,
|
|
301
|
-
args: [{
|
|
302
|
-
standalone: false,
|
|
303
|
-
selector: '[tuiTextfieldSize]',
|
|
304
|
-
providers: [tuiProvide(TUI_TEXTFIELD_SIZE, TuiTextfieldSizeDirective)],
|
|
305
|
-
}]
|
|
306
|
-
}], propDecorators: { size: [{
|
|
307
|
-
type: Input,
|
|
308
|
-
args: ['tuiTextfieldSize']
|
|
309
|
-
}] } });
|
|
310
|
-
|
|
311
|
-
class TuiTextfieldControllerModule {
|
|
312
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldControllerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
313
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldControllerModule, declarations: [TuiTextfieldAppearanceDirective,
|
|
314
|
-
TuiTextfieldCleanerDirective,
|
|
315
|
-
TuiTextfieldCustomContentDirective,
|
|
316
|
-
TuiTextfieldLabelOutsideDirective,
|
|
317
|
-
TuiTextfieldSizeDirective,
|
|
318
|
-
TuiTextfieldIconDirective,
|
|
319
|
-
TuiTextfieldIconLeftDirective,
|
|
320
|
-
TuiTextfieldPrefixDirective,
|
|
321
|
-
TuiTextfieldPostfixDirective,
|
|
322
|
-
TuiTextfieldFillerDirective], imports: [PolymorpheusOutlet, PolymorpheusTemplate], exports: [TuiTextfieldAppearanceDirective,
|
|
323
|
-
TuiTextfieldCleanerDirective,
|
|
324
|
-
TuiTextfieldCustomContentDirective,
|
|
325
|
-
TuiTextfieldLabelOutsideDirective,
|
|
326
|
-
TuiTextfieldSizeDirective,
|
|
327
|
-
TuiTextfieldIconDirective,
|
|
328
|
-
TuiTextfieldIconLeftDirective,
|
|
329
|
-
TuiTextfieldPrefixDirective,
|
|
330
|
-
TuiTextfieldPostfixDirective,
|
|
331
|
-
TuiTextfieldFillerDirective,
|
|
332
|
-
PolymorpheusOutlet,
|
|
333
|
-
PolymorpheusTemplate] }); }
|
|
334
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldControllerModule }); }
|
|
335
|
-
}
|
|
336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldControllerModule, decorators: [{
|
|
337
|
-
type: NgModule,
|
|
338
|
-
args: [{
|
|
339
|
-
imports: [PolymorpheusOutlet, PolymorpheusTemplate],
|
|
340
|
-
declarations: [
|
|
341
|
-
TuiTextfieldAppearanceDirective,
|
|
342
|
-
TuiTextfieldCleanerDirective,
|
|
343
|
-
TuiTextfieldCustomContentDirective,
|
|
344
|
-
TuiTextfieldLabelOutsideDirective,
|
|
345
|
-
TuiTextfieldSizeDirective,
|
|
346
|
-
TuiTextfieldIconDirective,
|
|
347
|
-
TuiTextfieldIconLeftDirective,
|
|
348
|
-
TuiTextfieldPrefixDirective,
|
|
349
|
-
TuiTextfieldPostfixDirective,
|
|
350
|
-
TuiTextfieldFillerDirective,
|
|
351
|
-
],
|
|
352
|
-
exports: [
|
|
353
|
-
TuiTextfieldAppearanceDirective,
|
|
354
|
-
TuiTextfieldCleanerDirective,
|
|
355
|
-
TuiTextfieldCustomContentDirective,
|
|
356
|
-
TuiTextfieldLabelOutsideDirective,
|
|
357
|
-
TuiTextfieldSizeDirective,
|
|
358
|
-
TuiTextfieldIconDirective,
|
|
359
|
-
TuiTextfieldIconLeftDirective,
|
|
360
|
-
TuiTextfieldPrefixDirective,
|
|
361
|
-
TuiTextfieldPostfixDirective,
|
|
362
|
-
TuiTextfieldFillerDirective,
|
|
363
|
-
PolymorpheusOutlet,
|
|
364
|
-
PolymorpheusTemplate,
|
|
365
|
-
],
|
|
366
|
-
}]
|
|
367
|
-
}] });
|
|
368
|
-
|
|
369
|
-
const TUI_TEXTFIELD_WATCHED_CONTROLLER = new InjectionToken(ngDevMode ? 'TUI_TEXTFIELD_WATCHED_CONTROLLER' : '');
|
|
370
|
-
const TEXTFIELD_CONTROLLER_PROVIDER = [
|
|
371
|
-
{
|
|
372
|
-
provide: TUI_TEXTFIELD_WATCHED_CONTROLLER,
|
|
373
|
-
deps: [
|
|
374
|
-
ChangeDetectorRef,
|
|
375
|
-
TUI_TEXTFIELD_OPTIONS,
|
|
376
|
-
TUI_TEXTFIELD_APPEARANCE,
|
|
377
|
-
TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,
|
|
378
|
-
TUI_TEXTFIELD_CLEANER,
|
|
379
|
-
TUI_TEXTFIELD_CUSTOM_CONTENT,
|
|
380
|
-
TUI_TEXTFIELD_ICON,
|
|
381
|
-
TUI_TEXTFIELD_ICON_LEFT,
|
|
382
|
-
TUI_TEXTFIELD_LABEL_OUTSIDE,
|
|
383
|
-
TUI_TEXTFIELD_SIZE,
|
|
384
|
-
TUI_TEXTFIELD_PREFIX,
|
|
385
|
-
TUI_TEXTFIELD_POSTFIX,
|
|
386
|
-
TUI_TEXTFIELD_FILLER,
|
|
387
|
-
],
|
|
388
|
-
useFactory: (cdr, options, legacyAppearance, ...controllers) => {
|
|
389
|
-
const change$ = merge(...controllers.map(({ change$ }) => change$ || NEVER)).pipe(tuiWatch(cdr), takeUntilDestroyed());
|
|
390
|
-
change$.subscribe();
|
|
391
|
-
return new TuiTextfieldController(change$, options, legacyAppearance, ...controllers);
|
|
392
|
-
},
|
|
393
|
-
},
|
|
394
|
-
];
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* Generated bundle index. Do not edit.
|
|
398
|
-
*/
|
|
399
|
-
|
|
400
|
-
export { TEXTFIELD_CONTROLLER_PROVIDER, TUI_TEXTFIELD_APPEARANCE_DIRECTIVE, TUI_TEXTFIELD_CLEANER, TUI_TEXTFIELD_CUSTOM_CONTENT, TUI_TEXTFIELD_DEFAULT_OPTIONS, TUI_TEXTFIELD_FILLER, TUI_TEXTFIELD_ICON, TUI_TEXTFIELD_ICON_LEFT, TUI_TEXTFIELD_LABEL_OUTSIDE, TUI_TEXTFIELD_OPTIONS, TUI_TEXTFIELD_POSTFIX, TUI_TEXTFIELD_PREFIX, TUI_TEXTFIELD_SIZE, TUI_TEXTFIELD_WATCHED_CONTROLLER, TuiTextfieldAppearanceDirective, TuiTextfieldCleanerDirective, TuiTextfieldController, TuiTextfieldControllerModule, TuiTextfieldCustomContentDirective, TuiTextfieldFillerDirective, TuiTextfieldIconDirective, TuiTextfieldIconLeftDirective, TuiTextfieldLabelOutsideDirective, TuiTextfieldPostfixDirective, TuiTextfieldPrefixDirective, TuiTextfieldSizeDirective, tuiTextfieldOptionsProvider };
|
|
401
|
-
//# sourceMappingURL=taiga-ui-legacy-directives-textfield-controller.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-legacy-directives-textfield-controller.mjs","sources":["../../../projects/legacy/directives/textfield-controller/textfield.controller.ts","../../../projects/legacy/directives/textfield-controller/textfield.options.ts","../../../projects/legacy/directives/textfield-controller/textfield-appearance.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-cleaner.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-custom-content.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-filler.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-icon.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-icon-left.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-label-outside.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-postfix.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-prefix.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-size.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-controller.module.ts","../../../projects/legacy/directives/textfield-controller/textfield-controller.provider.ts","../../../projects/legacy/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.ts"],"sourcesContent":["import {type TuiContext} from '@taiga-ui/cdk/types';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\nimport {type Observable} from 'rxjs';\n\nimport {type TuiTextfieldOptions} from './textfield.options';\nimport {type TuiTextfieldAppearanceDirective} from './textfield-appearance.directive';\nimport {type TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport {type TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport {type TuiTextfieldFillerDirective} from './textfield-filler.directive';\nimport {type TuiTextfieldIconDirective} from './textfield-icon.directive';\nimport {type TuiTextfieldIconLeftDirective} from './textfield-icon-left.directive';\nimport {type TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport {type TuiTextfieldPostfixDirective} from './textfield-postfix.directive';\nimport {type TuiTextfieldPrefixDirective} from './textfield-prefix.directive';\nimport {type TuiTextfieldSizeDirective} from './textfield-size.directive';\n\nexport class TuiTextfieldController {\n // eslint-disable-next-line @typescript-eslint/max-params,max-params\n constructor(\n public readonly change$: Observable<void>,\n public readonly options: TuiTextfieldOptions,\n private readonly legacyAppearance: string,\n private readonly appearanceDirective: TuiTextfieldAppearanceDirective,\n private readonly cleanerDirective: TuiTextfieldCleanerDirective,\n private readonly customContentDirective: TuiTextfieldCustomContentDirective,\n private readonly iconDirective: TuiTextfieldIconDirective,\n private readonly iconLeftDirective: TuiTextfieldIconLeftDirective,\n private readonly labelOutsideDirective: TuiTextfieldLabelOutsideDirective,\n private readonly sizeDirective: TuiTextfieldSizeDirective,\n private readonly prefixDirective: TuiTextfieldPrefixDirective,\n private readonly postfixDirective: TuiTextfieldPostfixDirective,\n private readonly fillerDirective: TuiTextfieldFillerDirective,\n ) {}\n\n public get appearance(): string {\n return this.appearanceDirective.appearance || this.legacyAppearance;\n }\n\n public get cleaner(): boolean {\n return this.cleanerDirective.cleaner;\n }\n\n public get customContent(): PolymorpheusContent {\n return this.customContentDirective.customContent || '';\n }\n\n public get icon(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>> {\n return this.iconDirective.icon;\n }\n\n public get iconStart(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>> {\n return this.iconLeftDirective.iconStart;\n }\n\n public get labelOutside(): boolean {\n return this.labelOutsideDirective.labelOutside;\n }\n\n public get size(): TuiSizeL | TuiSizeS {\n return this.sizeDirective.size;\n }\n\n public get prefix(): string {\n return this.prefixDirective.prefix;\n }\n\n public get postfix(): string {\n return this.postfixDirective.postfix;\n }\n\n public get filler(): string {\n return this.fillerDirective.filler;\n }\n}\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport interface TuiTextfieldOptions {\n readonly hintOnDisabled: boolean;\n readonly iconCleaner: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n}\n\n/**\n * @deprecated: drop in v5.0\n * Default values for primitive textfield options\n */\nexport const TUI_TEXTFIELD_DEFAULT_OPTIONS: TuiTextfieldOptions = {\n iconCleaner: '@tui.x',\n hintOnDisabled: false,\n};\n\n/**\n * @deprecated: drop in v5.0\n * Default parameters for textfield\n */\nexport const TUI_TEXTFIELD_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_TEXTFIELD_OPTIONS' : '',\n {\n factory: () => TUI_TEXTFIELD_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiTextfieldOptionsProvider(\n options: Partial<TuiTextfieldOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_TEXTFIELD_OPTIONS,\n options,\n TUI_TEXTFIELD_DEFAULT_OPTIONS,\n );\n}\n","import {Directive, InjectionToken, Input} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\nexport const TUI_TEXTFIELD_APPEARANCE_DIRECTIVE = new InjectionToken(\n ngDevMode ? 'TUI_TEXTFIELD_APPEARANCE_DIRECTIVE' : '',\n {\n factory: () => new TuiTextfieldAppearanceDirective(),\n },\n);\n\n@Directive({\n standalone: false,\n selector: '[tuiTextfieldAppearance]',\n providers: [\n tuiProvide(TUI_TEXTFIELD_APPEARANCE_DIRECTIVE, TuiTextfieldAppearanceDirective),\n ],\n})\nexport class TuiTextfieldAppearanceDirective extends AbstractTuiController {\n // it's an empty string by default for backward compatibility\n // (see comment https://github.com/taiga-family/taiga-ui/pull/3007#issuecomment-1315179508)\n @Input('tuiTextfieldAppearance')\n public appearance = '';\n}\n","import {Directive, InjectionToken, Input} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\nexport const TUI_TEXTFIELD_CLEANER = new InjectionToken(\n ngDevMode ? 'TUI_TEXTFIELD_CLEANER' : '',\n {\n factory: () => new TuiTextfieldCleanerDirective(),\n },\n);\n\n@Directive({\n standalone: false,\n selector: '[tuiTextfieldCleaner]',\n providers: [tuiProvide(TUI_TEXTFIELD_CLEANER, TuiTextfieldCleanerDirective)],\n})\nexport class TuiTextfieldCleanerDirective extends AbstractTuiController {\n @Input('tuiTextfieldCleaner')\n public cleaner = false;\n}\n","import {Directive, InjectionToken, Input} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport const TUI_TEXTFIELD_CUSTOM_CONTENT = new InjectionToken(\n ngDevMode ? 'TUI_TEXTFIELD_CUSTOM_CONTENT' : '',\n {\n factory: () => new TuiTextfieldCustomContentDirective(),\n },\n);\n\n@Directive({\n standalone: false,\n selector: '[tuiTextfieldCustomContent]',\n providers: [\n tuiProvide(TUI_TEXTFIELD_CUSTOM_CONTENT, TuiTextfieldCustomContentDirective),\n ],\n})\nexport class TuiTextfieldCustomContentDirective extends AbstractTuiController {\n @Input('tuiTextfieldCustomContent')\n public customContent: PolymorpheusContent;\n}\n","import {Directive, InjectionToken, Input} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\nexport const TUI_TEXTFIELD_FILLER = new InjectionToken(\n ngDevMode ? 'TUI_TEXTFIELD_FILLER' : '',\n {\n factory: () => new TuiTextfieldFillerDirective(),\n },\n);\n\n@Directive({\n standalone: false,\n selector: '[tuiTextfieldFiller]',\n providers: [tuiProvide(TUI_TEXTFIELD_FILLER, TuiTextfieldFillerDirective)],\n})\nexport class TuiTextfieldFillerDirective extends AbstractTuiController {\n @Input('tuiTextfieldFiller')\n public filler = '';\n}\n","import {Directive, InjectionToken, Input} from '@angular/core';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport const TUI_TEXTFIELD_ICON = new InjectionToken(\n ngDevMode ? 'TUI_TEXTFIELD_ICON' : '',\n {\n factory: () => new TuiTextfieldIconDirective(),\n },\n);\n\n@Directive({\n standalone: false,\n selector: '[tuiTextfieldIcon]',\n providers: [tuiProvide(TUI_TEXTFIELD_ICON, TuiTextfieldIconDirective)],\n})\nexport class TuiTextfieldIconDirective extends AbstractTuiController {\n @Input('tuiTextfieldIcon')\n public icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n}\n","import {Directive, InjectionToken, Input} from '@angular/core';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport const TUI_TEXTFIELD_ICON_LEFT = new InjectionToken(\n ngDevMode ? 'TUI_TEXTFIELD_ICON_LEFT' : '',\n {\n factory: () => new TuiTextfieldIconLeftDirective(),\n },\n);\n\n@Directive({\n standalone: false,\n selector: '[tuiTextfieldIconLeft]',\n providers: [tuiProvide(TUI_TEXTFIELD_ICON_LEFT, TuiTextfieldIconLeftDirective)],\n})\nexport class TuiTextfieldIconLeftDirective extends AbstractTuiController {\n @Input('tuiTextfieldIconLeft')\n public iconStart: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n}\n","import {Directive, InjectionToken, Input} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\nexport const TUI_TEXTFIELD_LABEL_OUTSIDE = new InjectionToken(\n ngDevMode ? 'TUI_TEXTFIELD_LABEL_OUTSIDE' : '',\n {\n factory: () => new TuiTextfieldLabelOutsideDirective(),\n },\n);\n\n@Directive({\n standalone: false,\n selector: '[tuiTextfieldLabelOutside]',\n providers: [\n tuiProvide(TUI_TEXTFIELD_LABEL_OUTSIDE, TuiTextfieldLabelOutsideDirective),\n ],\n})\nexport class TuiTextfieldLabelOutsideDirective extends AbstractTuiController {\n @Input('tuiTextfieldLabelOutside')\n public labelOutside = false;\n}\n","import {Directive, InjectionToken, Input} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\nexport const TUI_TEXTFIELD_POSTFIX = new InjectionToken(\n ngDevMode ? 'TUI_TEXTFIELD_POSTFIX' : '',\n {\n factory: () => new TuiTextfieldPostfixDirective(),\n },\n);\n\n@Directive({\n standalone: false,\n selector: '[tuiTextfieldPostfix]',\n providers: [tuiProvide(TUI_TEXTFIELD_POSTFIX, TuiTextfieldPostfixDirective)],\n})\nexport class TuiTextfieldPostfixDirective extends AbstractTuiController {\n @Input('tuiTextfieldPostfix')\n public postfix = '';\n}\n","import {Directive, InjectionToken, Input} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\nexport const TUI_TEXTFIELD_PREFIX = new InjectionToken(\n ngDevMode ? 'TUI_TEXTFIELD_PREFIX' : '',\n {\n factory: () => new TuiTextfieldPrefixDirective(),\n },\n);\n\n@Directive({\n standalone: false,\n selector: '[tuiTextfieldPrefix]',\n providers: [tuiProvide(TUI_TEXTFIELD_PREFIX, TuiTextfieldPrefixDirective)],\n})\nexport class TuiTextfieldPrefixDirective extends AbstractTuiController {\n @Input('tuiTextfieldPrefix')\n public prefix = '';\n}\n","import {Directive, InjectionToken, Input} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\nexport const TUI_TEXTFIELD_SIZE = new InjectionToken(\n ngDevMode ? 'TUI_TEXTFIELD_SIZE' : '',\n {\n factory: () => new TuiTextfieldSizeDirective(),\n },\n);\n\n@Directive({\n standalone: false,\n selector: '[tuiTextfieldSize]',\n providers: [tuiProvide(TUI_TEXTFIELD_SIZE, TuiTextfieldSizeDirective)],\n})\nexport class TuiTextfieldSizeDirective extends AbstractTuiController {\n @Input('tuiTextfieldSize')\n public size: TuiSizeL | TuiSizeS = 'l';\n}\n","import {NgModule} from '@angular/core';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiTextfieldAppearanceDirective} from './textfield-appearance.directive';\nimport {TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport {TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport {TuiTextfieldFillerDirective} from './textfield-filler.directive';\nimport {TuiTextfieldIconDirective} from './textfield-icon.directive';\nimport {TuiTextfieldIconLeftDirective} from './textfield-icon-left.directive';\nimport {TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport {TuiTextfieldPostfixDirective} from './textfield-postfix.directive';\nimport {TuiTextfieldPrefixDirective} from './textfield-prefix.directive';\nimport {TuiTextfieldSizeDirective} from './textfield-size.directive';\n\n@NgModule({\n imports: [PolymorpheusOutlet, PolymorpheusTemplate],\n declarations: [\n TuiTextfieldAppearanceDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldIconDirective,\n TuiTextfieldIconLeftDirective,\n TuiTextfieldPrefixDirective,\n TuiTextfieldPostfixDirective,\n TuiTextfieldFillerDirective,\n ],\n exports: [\n TuiTextfieldAppearanceDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldIconDirective,\n TuiTextfieldIconLeftDirective,\n TuiTextfieldPrefixDirective,\n TuiTextfieldPostfixDirective,\n TuiTextfieldFillerDirective,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n ],\n})\nexport class TuiTextfieldControllerModule {}\n","import {ChangeDetectorRef, InjectionToken, type Provider} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {TUI_TEXTFIELD_APPEARANCE} from '@taiga-ui/legacy/tokens';\nimport {merge, NEVER} from 'rxjs';\n\nimport {TuiTextfieldController} from './textfield.controller';\nimport {TUI_TEXTFIELD_OPTIONS, type TuiTextfieldOptions} from './textfield.options';\nimport {\n TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,\n type TuiTextfieldAppearanceDirective,\n} from './textfield-appearance.directive';\nimport {\n TUI_TEXTFIELD_CLEANER,\n type TuiTextfieldCleanerDirective,\n} from './textfield-cleaner.directive';\nimport {\n TUI_TEXTFIELD_CUSTOM_CONTENT,\n type TuiTextfieldCustomContentDirective,\n} from './textfield-custom-content.directive';\nimport {\n TUI_TEXTFIELD_FILLER,\n type TuiTextfieldFillerDirective,\n} from './textfield-filler.directive';\nimport {\n TUI_TEXTFIELD_ICON,\n type TuiTextfieldIconDirective,\n} from './textfield-icon.directive';\nimport {\n TUI_TEXTFIELD_ICON_LEFT,\n type TuiTextfieldIconLeftDirective,\n} from './textfield-icon-left.directive';\nimport {\n TUI_TEXTFIELD_LABEL_OUTSIDE,\n type TuiTextfieldLabelOutsideDirective,\n} from './textfield-label-outside.directive';\nimport {\n TUI_TEXTFIELD_POSTFIX,\n type TuiTextfieldPostfixDirective,\n} from './textfield-postfix.directive';\nimport {\n TUI_TEXTFIELD_PREFIX,\n type TuiTextfieldPrefixDirective,\n} from './textfield-prefix.directive';\nimport {\n TUI_TEXTFIELD_SIZE,\n type TuiTextfieldSizeDirective,\n} from './textfield-size.directive';\n\nexport const TUI_TEXTFIELD_WATCHED_CONTROLLER =\n new InjectionToken<TuiTextfieldController>(\n ngDevMode ? 'TUI_TEXTFIELD_WATCHED_CONTROLLER' : '',\n );\n\nexport const TEXTFIELD_CONTROLLER_PROVIDER: Provider = [\n {\n provide: TUI_TEXTFIELD_WATCHED_CONTROLLER,\n deps: [\n ChangeDetectorRef,\n TUI_TEXTFIELD_OPTIONS,\n TUI_TEXTFIELD_APPEARANCE,\n TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,\n TUI_TEXTFIELD_CLEANER,\n TUI_TEXTFIELD_CUSTOM_CONTENT,\n TUI_TEXTFIELD_ICON,\n TUI_TEXTFIELD_ICON_LEFT,\n TUI_TEXTFIELD_LABEL_OUTSIDE,\n TUI_TEXTFIELD_SIZE,\n TUI_TEXTFIELD_PREFIX,\n TUI_TEXTFIELD_POSTFIX,\n TUI_TEXTFIELD_FILLER,\n ],\n useFactory: (\n cdr: ChangeDetectorRef,\n options: TuiTextfieldOptions,\n legacyAppearance: string,\n ...controllers: [\n TuiTextfieldAppearanceDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldIconDirective,\n TuiTextfieldIconLeftDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldPrefixDirective,\n TuiTextfieldPostfixDirective,\n TuiTextfieldFillerDirective,\n ]\n ) => {\n const change$ = merge(\n ...controllers.map(({change$}) => change$ || NEVER),\n ).pipe(tuiWatch(cdr), takeUntilDestroyed());\n\n change$.subscribe();\n\n return new TuiTextfieldController(\n change$,\n options,\n legacyAppearance,\n ...controllers,\n );\n },\n },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAiBa,sBAAsB,CAAA;;IAE/B,WACoB,CAAA,OAAyB,EACzB,OAA4B,EAC3B,gBAAwB,EACxB,mBAAoD,EACpD,gBAA8C,EAC9C,sBAA0D,EAC1D,aAAwC,EACxC,iBAAgD,EAChD,qBAAwD,EACxD,aAAwC,EACxC,eAA4C,EAC5C,gBAA8C,EAC9C,eAA4C,EAAA;QAZ7C,IAAO,CAAA,OAAA,GAAP,OAAO,CAAkB;QACzB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAqB;QAC3B,IAAgB,CAAA,gBAAA,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AE5C,OAAO,CAAC,SAAS,EAAE,CAAC;AAEpB,YAAA,OAAO,IAAI,sBAAsB,CAC7B,OAAO,EACP,OAAO,EACP,gBAAgB,EAChB,GAAG,WAAW,CACjB,CAAC;SACL;AACJ,KAAA;;;ACtGL;;AAEG;;;;"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { TuiValidationError } from '@taiga-ui/cdk/classes';
|
|
2
|
-
import { tuiIsHTMLElement, tuiIsInput } from '@taiga-ui/cdk/utils/dom';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
|
-
import { inject, INJECTOR, Directive, Input } from '@angular/core';
|
|
5
|
-
import { toSignal } from '@angular/core/rxjs-interop';
|
|
6
|
-
import { NG_VALIDATORS } from '@angular/forms';
|
|
7
|
-
import { tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
8
|
-
import { TUI_DEFAULT_ERROR_MESSAGE } from '@taiga-ui/core/tokens';
|
|
9
|
-
import { TUI_FOCUSABLE_ITEM_ACCESSOR } from '@taiga-ui/legacy/tokens';
|
|
10
|
-
|
|
11
|
-
function tuiCreateUnfinishedValidator(nativeInputGetter, message) {
|
|
12
|
-
return ({ value, }) => {
|
|
13
|
-
const nativeInput = nativeInputGetter();
|
|
14
|
-
return value === null &&
|
|
15
|
-
nativeInput &&
|
|
16
|
-
tuiIsHTMLElement(nativeInput.nativeFocusableElement) &&
|
|
17
|
-
tuiIsInput(nativeInput.nativeFocusableElement) &&
|
|
18
|
-
nativeInput.nativeFocusableElement.value !== ''
|
|
19
|
-
? { unfinished: new TuiValidationError(message) }
|
|
20
|
-
: null;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
class TuiUnfinishedValidator {
|
|
25
|
-
constructor() {
|
|
26
|
-
this.default = toSignal(inject(TUI_DEFAULT_ERROR_MESSAGE));
|
|
27
|
-
this.injector = inject(INJECTOR);
|
|
28
|
-
this.tuiUnfinishedValidator = '';
|
|
29
|
-
this.validate = tuiCreateUnfinishedValidator(() => this.injector.get(TUI_FOCUSABLE_ITEM_ACCESSOR), () => this.tuiUnfinishedValidator || this.default());
|
|
30
|
-
}
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiUnfinishedValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
32
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiUnfinishedValidator, isStandalone: true, selector: "[tuiUnfinishedValidator]", inputs: { tuiUnfinishedValidator: "tuiUnfinishedValidator" }, providers: [tuiProvide(NG_VALIDATORS, TuiUnfinishedValidator, true)], ngImport: i0 }); }
|
|
33
|
-
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiUnfinishedValidator, decorators: [{
|
|
35
|
-
type: Directive,
|
|
36
|
-
args: [{
|
|
37
|
-
standalone: true,
|
|
38
|
-
selector: '[tuiUnfinishedValidator]',
|
|
39
|
-
providers: [tuiProvide(NG_VALIDATORS, TuiUnfinishedValidator, true)],
|
|
40
|
-
}]
|
|
41
|
-
}], propDecorators: { tuiUnfinishedValidator: [{
|
|
42
|
-
type: Input
|
|
43
|
-
}] } });
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Generated bundle index. Do not edit.
|
|
47
|
-
*/
|
|
48
|
-
|
|
49
|
-
export { TuiUnfinishedValidator, tuiCreateUnfinishedValidator };
|
|
50
|
-
//# sourceMappingURL=taiga-ui-legacy-directives-unfinished-validator.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-legacy-directives-unfinished-validator.mjs","sources":["../../../projects/legacy/directives/unfinished-validator/unfinished.validator.ts","../../../projects/legacy/directives/unfinished-validator/unfinished-validator.directive.ts","../../../projects/legacy/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.ts"],"sourcesContent":["import {type AbstractControl, type ValidatorFn} from '@angular/forms';\nimport {TuiValidationError} from '@taiga-ui/cdk/classes';\nimport {tuiIsHTMLElement, tuiIsInput} from '@taiga-ui/cdk/utils/dom';\nimport {type TuiFocusableElementAccessor} from '@taiga-ui/legacy/tokens';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport function tuiCreateUnfinishedValidator(\n nativeInputGetter: () => TuiFocusableElementAccessor,\n message: PolymorpheusContent,\n): ValidatorFn {\n return ({\n value,\n }: AbstractControl): {unfinished: TuiValidationError | string} | null => {\n const nativeInput = nativeInputGetter();\n\n return value === null &&\n nativeInput &&\n tuiIsHTMLElement(nativeInput.nativeFocusableElement) &&\n tuiIsInput(nativeInput.nativeFocusableElement) &&\n nativeInput.nativeFocusableElement.value !== ''\n ? {unfinished: new TuiValidationError(message)}\n : null;\n };\n}\n","import {Directive, inject, INJECTOR, Input} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NG_VALIDATORS, type Validator} from '@angular/forms';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_DEFAULT_ERROR_MESSAGE} from '@taiga-ui/core/tokens';\nimport {TUI_FOCUSABLE_ITEM_ACCESSOR} from '@taiga-ui/legacy/tokens';\n\nimport {tuiCreateUnfinishedValidator} from './unfinished.validator';\n\n@Directive({\n standalone: true,\n selector: '[tuiUnfinishedValidator]',\n providers: [tuiProvide(NG_VALIDATORS, TuiUnfinishedValidator, true)],\n})\nexport class TuiUnfinishedValidator implements Validator {\n private readonly default = toSignal(inject(TUI_DEFAULT_ERROR_MESSAGE));\n private readonly injector = inject(INJECTOR);\n\n @Input()\n public tuiUnfinishedValidator = '';\n\n public readonly validate = tuiCreateUnfinishedValidator(\n () => this.injector.get(TUI_FOCUSABLE_ITEM_ACCESSOR),\n () => this.tuiUnfinishedValidator || this.default(),\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"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C,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAE3D,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,0BAA0B;oBACpC,SAAS,EAAE,CAAC,UAAU,CAAC,aAAa,EAA0B,sBAAA,EAAA,IAAI,CAAC,CAAC;AACvE,iBAAA,CAAA;8BAMU,sBAAsB,EAAA,CAAA;sBAD5B,KAAK;;;AClBV;;AAEG;;;;"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Optional, Self, Directive, NgModule } from '@angular/core';
|
|
3
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
-
import { TUI_VALUE_ACCESSOR } from '@taiga-ui/legacy/tokens';
|
|
5
|
-
import { identity } from 'rxjs';
|
|
6
|
-
|
|
7
|
-
const TUI_VALUE_ACCESSOR_PROVIDER = {
|
|
8
|
-
provide: TUI_VALUE_ACCESSOR,
|
|
9
|
-
deps: [[new Optional(), new Self(), NG_VALUE_ACCESSOR]],
|
|
10
|
-
useFactory: identity,
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
class TuiValueAccessorDirective {
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiValueAccessorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
15
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiValueAccessorDirective, selector: "[tuiValueAccessor]", providers: [TUI_VALUE_ACCESSOR_PROVIDER], ngImport: i0 }); }
|
|
16
|
-
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiValueAccessorDirective, decorators: [{
|
|
18
|
-
type: Directive,
|
|
19
|
-
args: [{
|
|
20
|
-
standalone: false,
|
|
21
|
-
selector: '[tuiValueAccessor]',
|
|
22
|
-
providers: [TUI_VALUE_ACCESSOR_PROVIDER],
|
|
23
|
-
}]
|
|
24
|
-
}] });
|
|
25
|
-
|
|
26
|
-
class TuiValueAccessorModule {
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiValueAccessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
28
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiValueAccessorModule, declarations: [TuiValueAccessorDirective], exports: [TuiValueAccessorDirective] }); }
|
|
29
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiValueAccessorModule }); }
|
|
30
|
-
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiValueAccessorModule, decorators: [{
|
|
32
|
-
type: NgModule,
|
|
33
|
-
args: [{
|
|
34
|
-
declarations: [TuiValueAccessorDirective],
|
|
35
|
-
exports: [TuiValueAccessorDirective],
|
|
36
|
-
}]
|
|
37
|
-
}] });
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Generated bundle index. Do not edit.
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
export { TUI_VALUE_ACCESSOR_PROVIDER, TuiValueAccessorDirective, TuiValueAccessorModule };
|
|
44
|
-
//# sourceMappingURL=taiga-ui-legacy-directives-value-accessor.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-legacy-directives-value-accessor.mjs","sources":["../../../projects/legacy/directives/value-accessor/value-accessor.provider.ts","../../../projects/legacy/directives/value-accessor/value-accessor.directive.ts","../../../projects/legacy/directives/value-accessor/value-accessor.module.ts","../../../projects/legacy/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.ts"],"sourcesContent":["import {type FactoryProvider, Optional, Self} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {TUI_VALUE_ACCESSOR} from '@taiga-ui/legacy/tokens';\nimport {identity} from 'rxjs';\n\nexport const TUI_VALUE_ACCESSOR_PROVIDER: FactoryProvider = {\n provide: TUI_VALUE_ACCESSOR,\n deps: [[new Optional(), new Self(), NG_VALUE_ACCESSOR]],\n useFactory: identity,\n};\n","import {Directive} from '@angular/core';\n\nimport {TUI_VALUE_ACCESSOR_PROVIDER} from './value-accessor.provider';\n\n@Directive({\n standalone: false,\n selector: '[tuiValueAccessor]',\n providers: [TUI_VALUE_ACCESSOR_PROVIDER],\n})\nexport class TuiValueAccessorDirective {}\n","import {NgModule} from '@angular/core';\n\nimport {TuiValueAccessorDirective} from './value-accessor.directive';\n\n@NgModule({\n declarations: [TuiValueAccessorDirective],\n exports: [TuiValueAccessorDirective],\n})\nexport class TuiValueAccessorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAKa,MAAA,2BAA2B,GAAoB;AACxD,IAAA,OAAO,EAAE,kBAAkB;AAC3B,IAAA,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,iBAAiB,CAAC,CAAC;AACvD,IAAA,UAAU,EAAE,QAAQ;;;ACJxB,MAKa,yBAAyB,CAAA;+GAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAzB,yBAAyB,EAAA,QAAA,EAAA,oBAAA,EAAA,SAAA,EAFvB,CAAC,2BAA2B,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAE/B,yBAAyB,EAA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