@taiga-ui/legacy 4.0.0-alpha.0
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/LICENSE +190 -0
- package/README.md +22 -0
- package/classes/abstract-native-select.d.ts +20 -0
- package/classes/abstract-textfield-host.d.ts +19 -0
- package/classes/control.d.ts +59 -0
- package/classes/index.d.ts +8 -0
- package/classes/interactive.d.ts +35 -0
- package/classes/multiple-control.d.ts +11 -0
- package/classes/named-day.d.ts +11 -0
- package/classes/nullable-control.d.ts +10 -0
- package/classes/stringifiable-item.d.ts +11 -0
- package/components/arrow/arrow.component.d.ts +22 -0
- package/components/arrow/arrow.options.d.ts +23 -0
- package/components/arrow/arrow.providers.d.ts +24 -0
- package/components/arrow/index.d.ts +3 -0
- package/components/color-selector/color-edit/color-edit.component.d.ts +21 -0
- package/components/color-selector/color-edit/color-edit.module.d.ts +19 -0
- package/components/color-selector/color-picker/color-picker.component.d.ts +25 -0
- package/components/color-selector/color-picker/color-picker.module.d.ts +13 -0
- package/components/color-selector/color-selector.component.d.ts +55 -0
- package/components/color-selector/color-selector.module.d.ts +23 -0
- package/components/color-selector/flat-picker/flat-picker.component.d.ts +15 -0
- package/components/color-selector/flat-picker/flat-picker.module.d.ts +11 -0
- package/components/color-selector/index.d.ts +15 -0
- package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +20 -0
- package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +11 -0
- package/components/color-selector/linear-picker/linear-picker.component.d.ts +13 -0
- package/components/color-selector/linear-picker/linear-picker.module.d.ts +11 -0
- package/components/color-selector/palette/palette.component.d.ts +13 -0
- package/components/color-selector/palette/palette.module.d.ts +12 -0
- package/components/color-selector/services/picker.service.d.ts +11 -0
- package/components/combo-box/combo-box-strict.directive.d.ts +11 -0
- package/components/combo-box/combo-box.component.d.ts +50 -0
- package/components/combo-box/combo-box.directive.d.ts +12 -0
- package/components/combo-box/combo-box.module.d.ts +19 -0
- package/components/combo-box/index.d.ts +4 -0
- package/components/index.d.ts +33 -0
- package/components/input/index.d.ts +3 -0
- package/components/input/input.component.d.ts +30 -0
- package/components/input/input.directive.d.ts +11 -0
- package/components/input/input.module.d.ts +14 -0
- package/components/input-color/index.d.ts +2 -0
- package/components/input-color/input-color.component.d.ts +29 -0
- package/components/input-color/input-color.module.d.ts +16 -0
- package/components/input-copy/index.d.ts +4 -0
- package/components/input-copy/input-copy.component.d.ts +33 -0
- package/components/input-copy/input-copy.directive.d.ts +11 -0
- package/components/input-copy/input-copy.module.d.ts +18 -0
- package/components/input-copy/input-copy.options.d.ts +26 -0
- package/components/input-date/index.d.ts +3 -0
- package/components/input-date/input-date.component.d.ts +64 -0
- package/components/input-date/input-date.directive.d.ts +18 -0
- package/components/input-date/input-date.module.d.ts +23 -0
- package/components/input-date/native-date/native-date.component.d.ts +14 -0
- package/components/input-date-multi/index.d.ts +2 -0
- package/components/input-date-multi/input-date-multi.component.d.ts +69 -0
- package/components/input-date-multi/input-date-multi.module.d.ts +23 -0
- package/components/input-date-range/index.d.ts +3 -0
- package/components/input-date-range/input-date-range.component.d.ts +70 -0
- package/components/input-date-range/input-date-range.directive.d.ts +15 -0
- package/components/input-date-range/input-date-range.module.d.ts +21 -0
- package/components/input-date-time/index.d.ts +3 -0
- package/components/input-date-time/input-date-time.component.d.ts +80 -0
- package/components/input-date-time/input-date-time.directive.d.ts +16 -0
- package/components/input-date-time/input-date-time.module.d.ts +22 -0
- package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +9 -0
- package/components/input-month/index.d.ts +3 -0
- package/components/input-month/input-month.component.d.ts +44 -0
- package/components/input-month/input-month.directive.d.ts +18 -0
- package/components/input-month/input-month.module.d.ts +18 -0
- package/components/input-month-range/index.d.ts +3 -0
- package/components/input-month-range/input-month-range.component.d.ts +38 -0
- package/components/input-month-range/input-month-range.directive.d.ts +18 -0
- package/components/input-month-range/input-month-range.module.d.ts +17 -0
- package/components/input-number/index.d.ts +4 -0
- package/components/input-number/input-number.component.d.ts +62 -0
- package/components/input-number/input-number.directive.d.ts +15 -0
- package/components/input-number/input-number.module.d.ts +17 -0
- package/components/input-number/input-number.options.d.ts +27 -0
- package/components/input-password/index.d.ts +4 -0
- package/components/input-password/input-password.component.d.ts +33 -0
- package/components/input-password/input-password.directive.d.ts +15 -0
- package/components/input-password/input-password.module.d.ts +19 -0
- package/components/input-password/input-password.options.d.ts +25 -0
- package/components/input-phone/index.d.ts +4 -0
- package/components/input-phone/input-phone.component.d.ts +51 -0
- package/components/input-phone/input-phone.directive.d.ts +16 -0
- package/components/input-phone/input-phone.module.d.ts +15 -0
- package/components/input-phone/input-phone.options.d.ts +22 -0
- package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +9 -0
- package/components/input-phone/utils/create-phone-mask-expression.d.ts +7 -0
- package/components/input-phone/utils/index.d.ts +2 -0
- package/components/input-phone-international/index.d.ts +3 -0
- package/components/input-phone-international/input-phone-international.component.d.ts +41 -0
- package/components/input-phone-international/input-phone-international.options.d.ts +22 -0
- package/components/input-phone-international/utils/extract-value-from-event.d.ts +1 -0
- package/components/input-range/index.d.ts +2 -0
- package/components/input-range/input-range.component.d.ts +55 -0
- package/components/input-range/input-range.module.d.ts +18 -0
- package/components/input-slider/index.d.ts +2 -0
- package/components/input-slider/input-slider.component.d.ts +41 -0
- package/components/input-slider/input-slider.module.d.ts +17 -0
- package/components/input-tag/index.d.ts +3 -0
- package/components/input-tag/input-tag.component.d.ts +97 -0
- package/components/input-tag/input-tag.module.d.ts +21 -0
- package/components/input-tag/input-tag.options.d.ts +23 -0
- package/components/input-time/index.d.ts +4 -0
- package/components/input-time/input-time.component.d.ts +63 -0
- package/components/input-time/input-time.directive.d.ts +16 -0
- package/components/input-time/input-time.module.d.ts +22 -0
- package/components/input-time/input-time.options.d.ts +35 -0
- package/components/input-time/native-time/native-time.component.d.ts +12 -0
- package/components/input-year/index.d.ts +3 -0
- package/components/input-year/input-year.component.d.ts +35 -0
- package/components/input-year/input-year.directive.d.ts +13 -0
- package/components/input-year/input-year.module.d.ts +17 -0
- package/components/island/index.d.ts +1 -0
- package/components/island/island.directive.d.ts +19 -0
- package/components/multi-select/hide-selected.pipe.d.ts +11 -0
- package/components/multi-select/index.d.ts +10 -0
- package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +23 -0
- package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +8 -0
- package/components/multi-select/multi-select.component.d.ts +68 -0
- package/components/multi-select/multi-select.directive.d.ts +17 -0
- package/components/multi-select/multi-select.module.d.ts +30 -0
- package/components/multi-select/multi-select.options.d.ts +23 -0
- package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +9 -0
- package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +8 -0
- package/components/multi-select/native-multi-select/native-multi-select.d.ts +11 -0
- package/components/multi-select-option/index.d.ts +2 -0
- package/components/multi-select-option/multi-select-option.component.d.ts +12 -0
- package/components/multi-select-option/multi-select-option.module.d.ts +12 -0
- package/components/primitive-textfield/index.d.ts +7 -0
- package/components/primitive-textfield/primitive-textfield-options.d.ts +22 -0
- package/components/primitive-textfield/primitive-textfield-types.d.ts +14 -0
- package/components/primitive-textfield/primitive-textfield.component.d.ts +74 -0
- package/components/primitive-textfield/primitive-textfield.directive.d.ts +13 -0
- package/components/primitive-textfield/primitive-textfield.module.d.ts +20 -0
- package/components/primitive-textfield/textfield/textfield.component.d.ts +13 -0
- package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +22 -0
- package/components/select/index.d.ts +6 -0
- package/components/select/native-select/native-select-group.component.d.ts +13 -0
- package/components/select/native-select/native-select.component.d.ts +12 -0
- package/components/select/select.component.d.ts +43 -0
- package/components/select/select.directive.d.ts +15 -0
- package/components/select/select.module.d.ts +23 -0
- package/components/select/select.options.d.ts +22 -0
- package/components/select-option/index.d.ts +2 -0
- package/components/select-option/select-option.component.d.ts +33 -0
- package/components/select-option/select-option.module.d.ts +13 -0
- package/components/sheet/components/sheet/sheet.component.d.ts +31 -0
- package/components/sheet/components/sheet/sheet.providers.d.ts +2 -0
- package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +10 -0
- package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +14 -0
- package/components/sheet/components/sheets-host/sheets-host.component.d.ts +15 -0
- package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +14 -0
- package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +6 -0
- package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +14 -0
- package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +17 -0
- package/components/sheet/index.d.ts +14 -0
- package/components/sheet/sheet-options.d.ts +24 -0
- package/components/sheet/sheet-tokens.d.ts +18 -0
- package/components/sheet/sheet.d.ts +19 -0
- package/components/sheet/sheet.directive.d.ts +16 -0
- package/components/sheet/sheet.module.d.ts +23 -0
- package/components/sheet/sheet.service.d.ts +16 -0
- package/components/svg/content-processor.d.ts +18 -0
- package/components/svg/deprecated-icons.d.ts +4 -0
- package/components/svg/index.d.ts +5 -0
- package/components/svg/svg-options.d.ts +44 -0
- package/components/svg/svg.component.d.ts +49 -0
- package/components/svg/svg.service.d.ts +21 -0
- package/components/table-bar/index.d.ts +5 -0
- package/components/table-bar/table-bar.component.d.ts +13 -0
- package/components/table-bar/table-bar.directive.d.ts +7 -0
- package/components/table-bar/table-bar.options.d.ts +14 -0
- package/components/table-bar/table-bars-host.component.d.ts +6 -0
- package/components/table-bar/table-bars.service.d.ts +10 -0
- package/components/tag/index.d.ts +3 -0
- package/components/tag/tag.component.d.ts +43 -0
- package/components/tag/tag.module.d.ts +15 -0
- package/components/tag/tag.options.d.ts +25 -0
- package/components/textarea/index.d.ts +3 -0
- package/components/textarea/textarea.component.d.ts +53 -0
- package/components/textarea/textarea.directive.d.ts +11 -0
- package/components/textarea/textarea.module.d.ts +20 -0
- package/components/tooltip/index.d.ts +2 -0
- package/components/tooltip/tooltip.component.d.ts +15 -0
- package/components/tooltip/tooltip.module.d.ts +15 -0
- package/directives/index.d.ts +5 -0
- package/directives/legacy-dropdown-open-monitor/index.d.ts +1 -0
- package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +9 -0
- package/directives/textfield-controller/index.d.ts +14 -0
- package/directives/textfield-controller/textfield-appearance.directive.d.ts +14 -0
- package/directives/textfield-controller/textfield-cleaner.directive.d.ts +14 -0
- package/directives/textfield-controller/textfield-controller.module.d.ts +20 -0
- package/directives/textfield-controller/textfield-controller.provider.d.ts +11 -0
- package/directives/textfield-controller/textfield-custom-content.directive.d.ts +15 -0
- package/directives/textfield-controller/textfield-filler.directive.d.ts +14 -0
- package/directives/textfield-controller/textfield-icon-left.directive.d.ts +17 -0
- package/directives/textfield-controller/textfield-icon.directive.d.ts +17 -0
- package/directives/textfield-controller/textfield-label-outside.directive.d.ts +14 -0
- package/directives/textfield-controller/textfield-postfix.directive.d.ts +14 -0
- package/directives/textfield-controller/textfield-prefix.directive.d.ts +14 -0
- package/directives/textfield-controller/textfield-size.directive.d.ts +15 -0
- package/directives/textfield-controller/textfield.controller.d.ts +41 -0
- package/directives/textfield-controller/textfield.options.d.ts +25 -0
- package/directives/unfinished-validator/index.d.ts +2 -0
- package/directives/unfinished-validator/unfinished-validator.directive.d.ts +11 -0
- package/directives/unfinished-validator/unfinished.validator.d.ts +7 -0
- package/directives/value-accessor/index.d.ts +3 -0
- package/directives/value-accessor/value-accessor.directive.d.ts +8 -0
- package/directives/value-accessor/value-accessor.module.d.ts +10 -0
- package/directives/value-accessor/value-accessor.provider.d.ts +5 -0
- package/directives/wrapper/README.md +19 -0
- package/directives/wrapper/index.d.ts +2 -0
- package/directives/wrapper/wrapper.directive.d.ts +21 -0
- package/directives/wrapper/wrapper.module.d.ts +10 -0
- package/esm2022/classes/abstract-native-select.mjs +40 -0
- package/esm2022/classes/abstract-textfield-host.mjs +37 -0
- package/esm2022/classes/control.mjs +176 -0
- package/esm2022/classes/index.mjs +9 -0
- package/esm2022/classes/interactive.mjs +85 -0
- package/esm2022/classes/multiple-control.mjs +21 -0
- package/esm2022/classes/named-day.mjs +14 -0
- package/esm2022/classes/nullable-control.mjs +18 -0
- package/esm2022/classes/stringifiable-item.mjs +14 -0
- package/esm2022/classes/taiga-ui-legacy-classes.mjs +5 -0
- package/esm2022/components/arrow/arrow.component.mjs +48 -0
- package/esm2022/components/arrow/arrow.options.mjs +21 -0
- package/esm2022/components/arrow/arrow.providers.mjs +21 -0
- package/esm2022/components/arrow/index.mjs +4 -0
- package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +5 -0
- package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +62 -0
- package/esm2022/components/color-selector/color-edit/color-edit.module.mjs +54 -0
- package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +73 -0
- package/esm2022/components/color-selector/color-picker/color-picker.module.mjs +24 -0
- package/esm2022/components/color-selector/color-selector.component.mjs +250 -0
- package/esm2022/components/color-selector/color-selector.module.mjs +66 -0
- package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +37 -0
- package/esm2022/components/color-selector/flat-picker/flat-picker.module.mjs +22 -0
- package/esm2022/components/color-selector/index.mjs +16 -0
- package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +65 -0
- package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.module.mjs +22 -0
- package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +34 -0
- package/esm2022/components/color-selector/linear-picker/linear-picker.module.mjs +22 -0
- package/esm2022/components/color-selector/palette/palette.component.mjs +26 -0
- package/esm2022/components/color-selector/palette/palette.module.mjs +24 -0
- package/esm2022/components/color-selector/services/picker.service.mjs +30 -0
- package/esm2022/components/color-selector/taiga-ui-legacy-components-color-selector.mjs +5 -0
- package/esm2022/components/combo-box/combo-box-strict.directive.mjs +32 -0
- package/esm2022/components/combo-box/combo-box.component.mjs +181 -0
- package/esm2022/components/combo-box/combo-box.directive.mjs +26 -0
- package/esm2022/components/combo-box/combo-box.module.mjs +70 -0
- package/esm2022/components/combo-box/index.mjs +5 -0
- package/esm2022/components/combo-box/taiga-ui-legacy-components-combo-box.mjs +5 -0
- package/esm2022/components/index.mjs +34 -0
- package/esm2022/components/input/index.mjs +4 -0
- package/esm2022/components/input/input.component.mjs +92 -0
- package/esm2022/components/input/input.directive.mjs +23 -0
- package/esm2022/components/input/input.module.mjs +33 -0
- package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +5 -0
- package/esm2022/components/input-color/index.mjs +3 -0
- package/esm2022/components/input-color/input-color.component.mjs +85 -0
- package/esm2022/components/input-color/input-color.module.mjs +43 -0
- package/esm2022/components/input-color/taiga-ui-legacy-components-input-color.mjs +5 -0
- package/esm2022/components/input-copy/index.mjs +5 -0
- package/esm2022/components/input-copy/input-copy.component.mjs +106 -0
- package/esm2022/components/input-copy/input-copy.directive.mjs +23 -0
- package/esm2022/components/input-copy/input-copy.module.mjs +55 -0
- package/esm2022/components/input-copy/input-copy.options.mjs +21 -0
- package/esm2022/components/input-copy/taiga-ui-legacy-components-input-copy.mjs +5 -0
- package/esm2022/components/input-date/index.mjs +4 -0
- package/esm2022/components/input-date/input-date.component.mjs +220 -0
- package/esm2022/components/input-date/input-date.directive.mjs +41 -0
- package/esm2022/components/input-date/input-date.module.mjs +74 -0
- package/esm2022/components/input-date/native-date/native-date.component.mjs +51 -0
- package/esm2022/components/input-date/taiga-ui-legacy-components-input-date.mjs +5 -0
- package/esm2022/components/input-date-multi/index.mjs +3 -0
- package/esm2022/components/input-date-multi/input-date-multi.component.mjs +215 -0
- package/esm2022/components/input-date-multi/input-date-multi.module.mjs +70 -0
- package/esm2022/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.mjs +5 -0
- package/esm2022/components/input-date-range/index.mjs +4 -0
- package/esm2022/components/input-date-range/input-date-range.component.mjs +267 -0
- package/esm2022/components/input-date-range/input-date-range.directive.mjs +34 -0
- package/esm2022/components/input-date-range/input-date-range.module.mjs +70 -0
- package/esm2022/components/input-date-range/taiga-ui-legacy-components-input-date-range.mjs +5 -0
- package/esm2022/components/input-date-time/index.mjs +4 -0
- package/esm2022/components/input-date-time/input-date-time.component.mjs +305 -0
- package/esm2022/components/input-date-time/input-date-time.directive.mjs +35 -0
- package/esm2022/components/input-date-time/input-date-time.module.mjs +77 -0
- package/esm2022/components/input-date-time/native-date-time/native-date-time.directive.mjs +44 -0
- package/esm2022/components/input-date-time/taiga-ui-legacy-components-input-date-time.mjs +5 -0
- package/esm2022/components/input-month/index.mjs +4 -0
- package/esm2022/components/input-month/input-month.component.mjs +135 -0
- package/esm2022/components/input-month/input-month.directive.mjs +44 -0
- package/esm2022/components/input-month/input-month.module.mjs +56 -0
- package/esm2022/components/input-month/taiga-ui-legacy-components-input-month.mjs +5 -0
- package/esm2022/components/input-month-range/index.mjs +4 -0
- package/esm2022/components/input-month-range/input-month-range.component.mjs +123 -0
- package/esm2022/components/input-month-range/input-month-range.directive.mjs +50 -0
- package/esm2022/components/input-month-range/input-month-range.module.mjs +52 -0
- package/esm2022/components/input-month-range/taiga-ui-legacy-components-input-month-range.mjs +5 -0
- package/esm2022/components/input-number/index.mjs +5 -0
- package/esm2022/components/input-number/input-number.component.mjs +263 -0
- package/esm2022/components/input-number/input-number.directive.mjs +36 -0
- package/esm2022/components/input-number/input-number.module.mjs +47 -0
- package/esm2022/components/input-number/input-number.options.mjs +26 -0
- package/esm2022/components/input-number/taiga-ui-legacy-components-input-number.mjs +5 -0
- package/esm2022/components/input-password/index.mjs +5 -0
- package/esm2022/components/input-password/input-password.component.mjs +81 -0
- package/esm2022/components/input-password/input-password.directive.mjs +33 -0
- package/esm2022/components/input-password/input-password.module.mjs +59 -0
- package/esm2022/components/input-password/input-password.options.mjs +21 -0
- package/esm2022/components/input-password/taiga-ui-legacy-components-input-password.mjs +5 -0
- package/esm2022/components/input-phone/index.mjs +5 -0
- package/esm2022/components/input-phone/input-phone.component.mjs +220 -0
- package/esm2022/components/input-phone/input-phone.directive.mjs +36 -0
- package/esm2022/components/input-phone/input-phone.module.mjs +47 -0
- package/esm2022/components/input-phone/input-phone.options.mjs +21 -0
- package/esm2022/components/input-phone/taiga-ui-legacy-components-input-phone.mjs +5 -0
- package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +41 -0
- package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +17 -0
- package/esm2022/components/input-phone/utils/index.mjs +3 -0
- package/esm2022/components/input-phone-international/index.mjs +4 -0
- package/esm2022/components/input-phone-international/input-phone-international.component.mjs +184 -0
- package/esm2022/components/input-phone-international/input-phone-international.options.mjs +20 -0
- package/esm2022/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.mjs +5 -0
- package/esm2022/components/input-phone-international/utils/extract-value-from-event.mjs +7 -0
- package/esm2022/components/input-range/index.mjs +3 -0
- package/esm2022/components/input-range/input-range.component.mjs +206 -0
- package/esm2022/components/input-range/input-range.module.mjs +54 -0
- package/esm2022/components/input-range/taiga-ui-legacy-components-input-range.mjs +5 -0
- package/esm2022/components/input-slider/index.mjs +3 -0
- package/esm2022/components/input-slider/input-slider.component.mjs +153 -0
- package/esm2022/components/input-slider/input-slider.module.mjs +47 -0
- package/esm2022/components/input-slider/taiga-ui-legacy-components-input-slider.mjs +5 -0
- package/esm2022/components/input-tag/index.mjs +4 -0
- package/esm2022/components/input-tag/input-tag.component.mjs +418 -0
- package/esm2022/components/input-tag/input-tag.module.mjs +66 -0
- package/esm2022/components/input-tag/input-tag.options.mjs +21 -0
- package/esm2022/components/input-tag/taiga-ui-legacy-components-input-tag.mjs +5 -0
- package/esm2022/components/input-time/index.mjs +5 -0
- package/esm2022/components/input-time/input-time.component.mjs +278 -0
- package/esm2022/components/input-time/input-time.directive.mjs +38 -0
- package/esm2022/components/input-time/input-time.module.mjs +70 -0
- package/esm2022/components/input-time/input-time.options.mjs +31 -0
- package/esm2022/components/input-time/native-time/native-time.component.mjs +67 -0
- package/esm2022/components/input-time/taiga-ui-legacy-components-input-time.mjs +5 -0
- package/esm2022/components/input-year/index.mjs +4 -0
- package/esm2022/components/input-year/input-year.component.mjs +110 -0
- package/esm2022/components/input-year/input-year.directive.mjs +30 -0
- package/esm2022/components/input-year/input-year.module.mjs +52 -0
- package/esm2022/components/input-year/taiga-ui-legacy-components-input-year.mjs +5 -0
- package/esm2022/components/island/index.mjs +2 -0
- package/esm2022/components/island/island.directive.mjs +77 -0
- package/esm2022/components/island/taiga-ui-legacy-components-island.mjs +5 -0
- package/esm2022/components/multi-select/hide-selected.pipe.mjs +43 -0
- package/esm2022/components/multi-select/index.mjs +11 -0
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +99 -0
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +65 -0
- package/esm2022/components/multi-select/multi-select.component.mjs +207 -0
- package/esm2022/components/multi-select/multi-select.directive.mjs +34 -0
- package/esm2022/components/multi-select/multi-select.module.mjs +114 -0
- package/esm2022/components/multi-select/multi-select.options.mjs +20 -0
- package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +60 -0
- package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +56 -0
- package/esm2022/components/multi-select/native-multi-select/native-multi-select.mjs +19 -0
- package/esm2022/components/multi-select/taiga-ui-legacy-components-multi-select.mjs +5 -0
- package/esm2022/components/multi-select-option/index.mjs +3 -0
- package/esm2022/components/multi-select-option/multi-select-option.component.mjs +28 -0
- package/esm2022/components/multi-select-option/multi-select-option.module.mjs +23 -0
- package/esm2022/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.mjs +5 -0
- package/esm2022/components/primitive-textfield/index.mjs +8 -0
- package/esm2022/components/primitive-textfield/primitive-textfield-options.mjs +17 -0
- package/esm2022/components/primitive-textfield/primitive-textfield-types.mjs +2 -0
- package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +253 -0
- package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +31 -0
- package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +65 -0
- package/esm2022/components/primitive-textfield/taiga-ui-legacy-components-primitive-textfield.mjs +5 -0
- package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +39 -0
- package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +71 -0
- package/esm2022/components/select/index.mjs +7 -0
- package/esm2022/components/select/native-select/native-select-group.component.mjs +60 -0
- package/esm2022/components/select/native-select/native-select.component.mjs +56 -0
- package/esm2022/components/select/select.component.mjs +119 -0
- package/esm2022/components/select/select.directive.mjs +32 -0
- package/esm2022/components/select/select.module.mjs +86 -0
- package/esm2022/components/select/select.options.mjs +19 -0
- package/esm2022/components/select/taiga-ui-legacy-components-select.mjs +5 -0
- package/esm2022/components/select-option/index.mjs +3 -0
- package/esm2022/components/select-option/select-option.component.mjs +71 -0
- package/esm2022/components/select-option/select-option.module.mjs +24 -0
- package/esm2022/components/select-option/taiga-ui-legacy-components-select-option.mjs +5 -0
- package/esm2022/components/sheet/components/sheet/sheet.component.mjs +118 -0
- package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +42 -0
- package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +27 -0
- package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +31 -0
- package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +46 -0
- package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +38 -0
- package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +37 -0
- package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +51 -0
- package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +76 -0
- package/esm2022/components/sheet/index.mjs +15 -0
- package/esm2022/components/sheet/sheet-options.mjs +21 -0
- package/esm2022/components/sheet/sheet-tokens.mjs +17 -0
- package/esm2022/components/sheet/sheet.directive.mjs +38 -0
- package/esm2022/components/sheet/sheet.mjs +2 -0
- package/esm2022/components/sheet/sheet.module.mjs +74 -0
- package/esm2022/components/sheet/sheet.service.mjs +51 -0
- package/esm2022/components/sheet/taiga-ui-legacy-components-sheet.mjs +5 -0
- package/esm2022/components/svg/content-processor.mjs +40 -0
- package/esm2022/components/svg/deprecated-icons.mjs +62 -0
- package/esm2022/components/svg/index.mjs +6 -0
- package/esm2022/components/svg/svg-options.mjs +76 -0
- package/esm2022/components/svg/svg.component.mjs +149 -0
- package/esm2022/components/svg/svg.service.mjs +64 -0
- package/esm2022/components/svg/taiga-ui-legacy-components-svg.mjs +5 -0
- package/esm2022/components/table-bar/index.mjs +6 -0
- package/esm2022/components/table-bar/table-bar.component.mjs +33 -0
- package/esm2022/components/table-bar/table-bar.directive.mjs +21 -0
- package/esm2022/components/table-bar/table-bar.options.mjs +16 -0
- package/esm2022/components/table-bar/table-bars-host.component.mjs +35 -0
- package/esm2022/components/table-bar/table-bars.service.mjs +21 -0
- package/esm2022/components/table-bar/taiga-ui-legacy-components-table-bar.mjs +5 -0
- package/esm2022/components/tag/index.mjs +4 -0
- package/esm2022/components/tag/tag.component.mjs +174 -0
- package/esm2022/components/tag/tag.module.mjs +41 -0
- package/esm2022/components/tag/tag.options.mjs +22 -0
- package/esm2022/components/tag/taiga-ui-legacy-components-tag.mjs +5 -0
- package/esm2022/components/taiga-ui-legacy-components.mjs +5 -0
- package/esm2022/components/textarea/index.mjs +4 -0
- package/esm2022/components/textarea/taiga-ui-legacy-components-textarea.mjs +5 -0
- package/esm2022/components/textarea/textarea.component.mjs +192 -0
- package/esm2022/components/textarea/textarea.directive.mjs +23 -0
- package/esm2022/components/textarea/textarea.module.mjs +67 -0
- package/esm2022/components/tooltip/index.mjs +3 -0
- package/esm2022/components/tooltip/taiga-ui-legacy-components-tooltip.mjs +5 -0
- package/esm2022/components/tooltip/tooltip.component.mjs +50 -0
- package/esm2022/components/tooltip/tooltip.module.mjs +27 -0
- package/esm2022/directives/index.mjs +6 -0
- package/esm2022/directives/legacy-dropdown-open-monitor/index.mjs +2 -0
- package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +40 -0
- package/esm2022/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +5 -0
- package/esm2022/directives/taiga-ui-legacy-directives.mjs +5 -0
- package/esm2022/directives/textfield-controller/index.mjs +15 -0
- package/esm2022/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.mjs +5 -0
- package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +37 -0
- package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +31 -0
- package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +75 -0
- package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +50 -0
- package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +31 -0
- package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +31 -0
- package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +27 -0
- package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +27 -0
- package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +35 -0
- package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +31 -0
- package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +31 -0
- package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +31 -0
- package/esm2022/directives/textfield-controller/textfield.controller.mjs +48 -0
- package/esm2022/directives/textfield-controller/textfield.options.mjs +21 -0
- package/esm2022/directives/unfinished-validator/index.mjs +3 -0
- package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs +5 -0
- package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +28 -0
- package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +18 -0
- package/esm2022/directives/value-accessor/index.mjs +4 -0
- package/esm2022/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.mjs +5 -0
- package/esm2022/directives/value-accessor/value-accessor.directive.mjs +19 -0
- package/esm2022/directives/value-accessor/value-accessor.module.mjs +20 -0
- package/esm2022/directives/value-accessor/value-accessor.provider.mjs +13 -0
- package/esm2022/directives/wrapper/index.mjs +3 -0
- package/esm2022/directives/wrapper/taiga-ui-legacy-directives-wrapper.mjs +5 -0
- package/esm2022/directives/wrapper/wrapper.directive.mjs +85 -0
- package/esm2022/directives/wrapper/wrapper.module.mjs +20 -0
- package/esm2022/index.mjs +7 -0
- package/esm2022/pipes/format-phone/format-phone.pipe.mjs +53 -0
- package/esm2022/pipes/format-phone/index.mjs +2 -0
- package/esm2022/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.mjs +5 -0
- package/esm2022/pipes/index.mjs +4 -0
- package/esm2022/pipes/iso-to-country-code/index.mjs +2 -0
- package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +44 -0
- package/esm2022/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.mjs +5 -0
- package/esm2022/pipes/taiga-ui-legacy-pipes.mjs +5 -0
- package/esm2022/pipes/to-country-code/index.mjs +2 -0
- package/esm2022/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.mjs +5 -0
- package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +74 -0
- package/esm2022/taiga-ui-legacy.mjs +5 -0
- package/esm2022/tokens/countries-masks.mjs +255 -0
- package/esm2022/tokens/focusable-item-accessor.mjs +14 -0
- package/esm2022/tokens/fonts-ready.mjs +10 -0
- package/esm2022/tokens/icons.mjs +7 -0
- package/esm2022/tokens/index.mjs +15 -0
- package/esm2022/tokens/is-apple.mjs +10 -0
- package/esm2022/tokens/is-chromium.mjs +9 -0
- package/esm2022/tokens/is-firefox.mjs +10 -0
- package/esm2022/tokens/is-stackblitz.mjs +8 -0
- package/esm2022/tokens/month-formatter.mjs +18 -0
- package/esm2022/tokens/sanitizer.mjs +7 -0
- package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +5 -0
- package/esm2022/tokens/textfield-appearance.mjs +8 -0
- package/esm2022/tokens/textfield-host.mjs +14 -0
- package/esm2022/tokens/touch-supported.mjs +8 -0
- package/esm2022/tokens/value-accessor.mjs +7 -0
- package/esm2022/utils/date-mode-maskito-adapter.mjs +9 -0
- package/esm2022/utils/format-phone.mjs +60 -0
- package/esm2022/utils/get-border.mjs +23 -0
- package/esm2022/utils/get-max-allowed-phone-length.mjs +26 -0
- package/esm2022/utils/get-safe-area-size.mjs +18 -0
- package/esm2022/utils/icons-path-factory.mjs +22 -0
- package/esm2022/utils/index.mjs +14 -0
- package/esm2022/utils/is-apple.mjs +9 -0
- package/esm2022/utils/is-presumed-html-string.mjs +8 -0
- package/esm2022/utils/iso-to-country-code.mjs +16 -0
- package/esm2022/utils/not-kz-region.mjs +24 -0
- package/esm2022/utils/process-icon.mjs +34 -0
- package/esm2022/utils/specific-dropdown-controllers.mjs +9 -0
- package/esm2022/utils/status.mjs +2 -0
- package/esm2022/utils/taiga-ui-legacy-utils.mjs +5 -0
- package/fesm2022/taiga-ui-legacy-classes.mjs +391 -0
- package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs +93 -0
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +725 -0
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +294 -0
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs +127 -0
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +195 -0
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +283 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +363 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +447 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs +370 -0
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +218 -0
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs +228 -0
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs +363 -0
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs +185 -0
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +214 -0
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +371 -0
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs +259 -0
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +198 -0
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +501 -0
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs +465 -0
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs +185 -0
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input.mjs +141 -0
- package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-island.mjs +83 -0
- package/fesm2022/taiga-ui-legacy-components-island.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +53 -0
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +644 -0
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +455 -0
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs +97 -0
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-select.mjs +339 -0
- package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs +564 -0
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-svg.mjs +379 -0
- package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +115 -0
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-tag.mjs +238 -0
- package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs +276 -0
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +77 -0
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components.mjs +38 -0
- package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +46 -0
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +440 -0
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +50 -0
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +52 -0
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +107 -0
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-directives.mjs +10 -0
- package/fesm2022/taiga-ui-legacy-directives.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +59 -0
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +50 -0
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +80 -0
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-pipes.mjs +8 -0
- package/fesm2022/taiga-ui-legacy-pipes.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-tokens.mjs +368 -0
- package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-utils.mjs +264 -0
- package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy.mjs +11 -0
- package/fesm2022/taiga-ui-legacy.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/package.json +315 -0
- package/pipes/format-phone/format-phone.pipe.d.ts +37 -0
- package/pipes/format-phone/index.d.ts +1 -0
- package/pipes/index.d.ts +3 -0
- package/pipes/iso-to-country-code/index.d.ts +1 -0
- package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +30 -0
- package/pipes/to-country-code/index.d.ts +1 -0
- package/pipes/to-country-code/to-country-code.pipe.d.ts +38 -0
- package/styles/mixins/mixins.less +245 -0
- package/styles/mixins/mixins.scss +230 -0
- package/styles/mixins/textfield.less +315 -0
- package/styles/mixins/textfield.scss +306 -0
- package/styles/taiga-ui-local.less +3 -0
- package/styles/taiga-ui-local.scss +3 -0
- package/tokens/countries-masks.d.ts +8 -0
- package/tokens/focusable-item-accessor.d.ts +26 -0
- package/tokens/fonts-ready.d.ts +6 -0
- package/tokens/icons.d.ts +5 -0
- package/tokens/index.d.ts +14 -0
- package/tokens/is-apple.d.ts +5 -0
- package/tokens/is-chromium.d.ts +5 -0
- package/tokens/is-firefox.d.ts +5 -0
- package/tokens/is-stackblitz.d.ts +4 -0
- package/tokens/month-formatter.d.ts +11 -0
- package/tokens/sanitizer.d.ts +7 -0
- package/tokens/textfield-appearance.d.ts +6 -0
- package/tokens/textfield-host.d.ts +24 -0
- package/tokens/touch-supported.d.ts +4 -0
- package/tokens/value-accessor.d.ts +7 -0
- package/utils/date-mode-maskito-adapter.d.ts +6 -0
- package/utils/format-phone.d.ts +30 -0
- package/utils/get-border.d.ts +5 -0
- package/utils/get-max-allowed-phone-length.d.ts +24 -0
- package/utils/get-safe-area-size.d.ts +7 -0
- package/utils/icons-path-factory.d.ts +13 -0
- package/utils/index.d.ts +13 -0
- package/utils/is-apple.d.ts +4 -0
- package/utils/is-presumed-html-string.d.ts +4 -0
- package/utils/iso-to-country-code.d.ts +13 -0
- package/utils/not-kz-region.d.ts +20 -0
- package/utils/process-icon.d.ts +4 -0
- package/utils/specific-dropdown-controllers.d.ts +4 -0
- package/utils/status.d.ts +4 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { AbstractTuiController } from '@taiga-ui/cdk/classes';
|
|
3
|
+
import { tuiCreateTokenFromFactory, tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export const TUI_TEXTFIELD_APPEARANCE_DIRECTIVE = tuiCreateTokenFromFactory(() => new TuiTextfieldAppearanceDirective());
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated: drop in v5.0
|
|
11
|
+
*/
|
|
12
|
+
class TuiTextfieldAppearanceDirective extends AbstractTuiController {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
// it's an empty string by default for backward compatibility
|
|
16
|
+
// (see comment https://github.com/taiga-family/taiga-ui/pull/3007#issuecomment-1315179508)
|
|
17
|
+
this.appearance = '';
|
|
18
|
+
}
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldAppearanceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
20
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldAppearanceDirective, selector: "[tuiTextfieldAppearance]", inputs: { appearance: ["tuiTextfieldAppearance", "appearance"] }, providers: [
|
|
21
|
+
tuiProvide(TUI_TEXTFIELD_APPEARANCE_DIRECTIVE, TuiTextfieldAppearanceDirective),
|
|
22
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
23
|
+
}
|
|
24
|
+
export { TuiTextfieldAppearanceDirective };
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldAppearanceDirective, decorators: [{
|
|
26
|
+
type: Directive,
|
|
27
|
+
args: [{
|
|
28
|
+
selector: '[tuiTextfieldAppearance]',
|
|
29
|
+
providers: [
|
|
30
|
+
tuiProvide(TUI_TEXTFIELD_APPEARANCE_DIRECTIVE, TuiTextfieldAppearanceDirective),
|
|
31
|
+
],
|
|
32
|
+
}]
|
|
33
|
+
}], propDecorators: { appearance: [{
|
|
34
|
+
type: Input,
|
|
35
|
+
args: ['tuiTextfieldAppearance']
|
|
36
|
+
}] } });
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGZpZWxkLWFwcGVhcmFuY2UuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2RpcmVjdGl2ZXMvdGV4dGZpZWxkLWNvbnRyb2xsZXIvdGV4dGZpZWxkLWFwcGVhcmFuY2UuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQy9DLE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBQzVELE9BQU8sRUFBQyx5QkFBeUIsRUFBRSxVQUFVLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQzs7QUFFeEY7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSxrQ0FBa0MsR0FBRyx5QkFBeUIsQ0FDdkUsR0FBRyxFQUFFLENBQUMsSUFBSSwrQkFBK0IsRUFBRSxDQUM5QyxDQUFDO0FBRUY7O0dBRUc7QUFDSCxNQU1hLCtCQUFnQyxTQUFRLHFCQUFxQjtJQU4xRTs7UUFPSSw2REFBNkQ7UUFDN0QsMkZBQTJGO1FBRXBGLGVBQVUsR0FBRyxFQUFFLENBQUM7S0FDMUI7K0dBTFksK0JBQStCO21HQUEvQiwrQkFBK0IscUhBSjdCO1lBQ1AsVUFBVSxDQUFDLGtDQUFrQyxFQUFFLCtCQUErQixDQUFDO1NBQ2xGOztTQUVRLCtCQU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GZpZWxkQXBwZWFyYW5jZURpcmVjdGl2ZSBleHRlbmRzIEFic3RyYWN0VHVpQ29udHJvbGxlciB7XG4gICAgLy8gaXQncyBhbiBlbXB0eSBzdHJpbmcgYnkgZGVmYXVsdCBmb3IgYmFja3dhcmQgY29tcGF0aWJpbGl0eVxuICAgIC8vIChzZWUgY29tbWVudCBodHRwczovL2dpdGh1Yi5jb20vdGFpZ2EtZmFtaWx5L3RhaWdhLXVpL3B1bGwvMzAwNyNpc3N1ZWNvbW1lbnQtMTMxNTE3OTUwOClcbiAgICBASW5wdXQoJ3R1aVRleHRmaWVsZEFwcGVhcmFuY2UnKVxuICAgIHB1YmxpYyBhcHBlYXJhbmNlID0gJyc7XG59XG4iXX0=
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { AbstractTuiController } from '@taiga-ui/cdk/classes';
|
|
3
|
+
import { tuiCreateTokenFromFactory, tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export const TUI_TEXTFIELD_CLEANER = tuiCreateTokenFromFactory(() => new TuiTextfieldCleanerDirective());
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated: drop in v5.0
|
|
11
|
+
*/
|
|
12
|
+
class TuiTextfieldCleanerDirective extends AbstractTuiController {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.cleaner = false;
|
|
16
|
+
}
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldCleanerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
+
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 }); }
|
|
19
|
+
}
|
|
20
|
+
export { TuiTextfieldCleanerDirective };
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldCleanerDirective, decorators: [{
|
|
22
|
+
type: Directive,
|
|
23
|
+
args: [{
|
|
24
|
+
selector: '[tuiTextfieldCleaner]',
|
|
25
|
+
providers: [tuiProvide(TUI_TEXTFIELD_CLEANER, TuiTextfieldCleanerDirective)],
|
|
26
|
+
}]
|
|
27
|
+
}], propDecorators: { cleaner: [{
|
|
28
|
+
type: Input,
|
|
29
|
+
args: ['tuiTextfieldCleaner']
|
|
30
|
+
}] } });
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGZpZWxkLWNsZWFuZXIuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2RpcmVjdGl2ZXMvdGV4dGZpZWxkLWNvbnRyb2xsZXIvdGV4dGZpZWxkLWNsZWFuZXIuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQy9DLE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBQzVELE9BQU8sRUFBQyx5QkFBeUIsRUFBRSxVQUFVLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQzs7QUFFeEY7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSxxQkFBcUIsR0FBRyx5QkFBeUIsQ0FDMUQ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iAgICBzZWxlY3RvcjogJ1t0dWlUZXh0ZmllbGRDbGVhbmVyXScsXG4gICAgcHJvdmlkZXJzOiBbdHVpUHJvdmlkZShUVUlfVEVYVEZJRUxEX0NMRUFORVIsIFR1aVRleHRmaWVsZENsZWFuZXJEaXJlY3RpdmUpXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpVGV4dGZpZWxkQ2xlYW5lckRpcmVjdGl2ZSBleHRlbmRzIEFic3RyYWN0VHVpQ29udHJvbGxlciB7XG4gICAgQElucHV0KCd0dWlUZXh0ZmllbGRDbGVhbmVyJylcbiAgICBwdWJsaWMgY2xlYW5lciA9IGZhbHNlO1xufVxuIl19
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
|
|
3
|
+
import { TuiTextfieldAppearanceDirective } from './textfield-appearance.directive';
|
|
4
|
+
import { TuiTextfieldCleanerDirective } from './textfield-cleaner.directive';
|
|
5
|
+
import { TuiTextfieldCustomContentDirective } from './textfield-custom-content.directive';
|
|
6
|
+
import { TuiTextfieldFillerDirective } from './textfield-filler.directive';
|
|
7
|
+
import { TuiTextfieldIconDirective } from './textfield-icon.directive';
|
|
8
|
+
import { TuiTextfieldIconLeftDirective } from './textfield-icon-left.directive';
|
|
9
|
+
import { TuiTextfieldLabelOutsideDirective } from './textfield-label-outside.directive';
|
|
10
|
+
import { TuiTextfieldPostfixDirective } from './textfield-postfix.directive';
|
|
11
|
+
import { TuiTextfieldPrefixDirective } from './textfield-prefix.directive';
|
|
12
|
+
import { TuiTextfieldSizeDirective } from './textfield-size.directive';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated: drop in v5.0
|
|
16
|
+
*/
|
|
17
|
+
class TuiTextfieldControllerModule {
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldControllerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
19
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldControllerModule, declarations: [TuiTextfieldAppearanceDirective,
|
|
20
|
+
TuiTextfieldCleanerDirective,
|
|
21
|
+
TuiTextfieldCustomContentDirective,
|
|
22
|
+
TuiTextfieldLabelOutsideDirective,
|
|
23
|
+
TuiTextfieldSizeDirective,
|
|
24
|
+
TuiTextfieldIconDirective,
|
|
25
|
+
TuiTextfieldIconLeftDirective,
|
|
26
|
+
TuiTextfieldPrefixDirective,
|
|
27
|
+
TuiTextfieldPostfixDirective,
|
|
28
|
+
TuiTextfieldFillerDirective], imports: [PolymorpheusOutlet, PolymorpheusTemplate], exports: [TuiTextfieldAppearanceDirective,
|
|
29
|
+
TuiTextfieldCleanerDirective,
|
|
30
|
+
TuiTextfieldCustomContentDirective,
|
|
31
|
+
TuiTextfieldLabelOutsideDirective,
|
|
32
|
+
TuiTextfieldSizeDirective,
|
|
33
|
+
TuiTextfieldIconDirective,
|
|
34
|
+
TuiTextfieldIconLeftDirective,
|
|
35
|
+
TuiTextfieldPrefixDirective,
|
|
36
|
+
TuiTextfieldPostfixDirective,
|
|
37
|
+
TuiTextfieldFillerDirective,
|
|
38
|
+
PolymorpheusOutlet,
|
|
39
|
+
PolymorpheusTemplate] }); }
|
|
40
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldControllerModule }); }
|
|
41
|
+
}
|
|
42
|
+
export { TuiTextfieldControllerModule };
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldControllerModule, decorators: [{
|
|
44
|
+
type: NgModule,
|
|
45
|
+
args: [{
|
|
46
|
+
imports: [PolymorpheusOutlet, PolymorpheusTemplate],
|
|
47
|
+
declarations: [
|
|
48
|
+
TuiTextfieldAppearanceDirective,
|
|
49
|
+
TuiTextfieldCleanerDirective,
|
|
50
|
+
TuiTextfieldCustomContentDirective,
|
|
51
|
+
TuiTextfieldLabelOutsideDirective,
|
|
52
|
+
TuiTextfieldSizeDirective,
|
|
53
|
+
TuiTextfieldIconDirective,
|
|
54
|
+
TuiTextfieldIconLeftDirective,
|
|
55
|
+
TuiTextfieldPrefixDirective,
|
|
56
|
+
TuiTextfieldPostfixDirective,
|
|
57
|
+
TuiTextfieldFillerDirective,
|
|
58
|
+
],
|
|
59
|
+
exports: [
|
|
60
|
+
TuiTextfieldAppearanceDirective,
|
|
61
|
+
TuiTextfieldCleanerDirective,
|
|
62
|
+
TuiTextfieldCustomContentDirective,
|
|
63
|
+
TuiTextfieldLabelOutsideDirective,
|
|
64
|
+
TuiTextfieldSizeDirective,
|
|
65
|
+
TuiTextfieldIconDirective,
|
|
66
|
+
TuiTextfieldIconLeftDirective,
|
|
67
|
+
TuiTextfieldPrefixDirective,
|
|
68
|
+
TuiTextfieldPostfixDirective,
|
|
69
|
+
TuiTextfieldFillerDirective,
|
|
70
|
+
PolymorpheusOutlet,
|
|
71
|
+
PolymorpheusTemplate,
|
|
72
|
+
],
|
|
73
|
+
}]
|
|
74
|
+
}] });
|
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGZpZWxkLWNvbnRyb2xsZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2RpcmVjdGl2ZXMvdGV4dGZpZWxkLWNvbnRyb2xsZXIvdGV4dGZpZWxkLWNvbnRyb2xsZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7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LFxuICAgICAgICBUdWlUZXh0ZmllbGRGaWxsZXJEaXJlY3RpdmUsXG4gICAgICAgIFBvbHltb3JwaGV1c091dGxldCxcbiAgICAgICAgUG9seW1vcnBoZXVzVGVtcGxhdGUsXG4gICAgXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpVGV4dGZpZWxkQ29udHJvbGxlck1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ChangeDetectorRef, InjectionToken } from '@angular/core';
|
|
2
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
3
|
+
import { tuiWatch } from '@taiga-ui/cdk/observables';
|
|
4
|
+
import { TUI_TEXTFIELD_APPEARANCE } from '@taiga-ui/legacy/tokens';
|
|
5
|
+
import { merge, NEVER } from 'rxjs';
|
|
6
|
+
import { TuiTextfieldController } from './textfield.controller';
|
|
7
|
+
import { TUI_TEXTFIELD_OPTIONS } from './textfield.options';
|
|
8
|
+
import { TUI_TEXTFIELD_APPEARANCE_DIRECTIVE } from './textfield-appearance.directive';
|
|
9
|
+
import { TUI_TEXTFIELD_CLEANER } from './textfield-cleaner.directive';
|
|
10
|
+
import { TUI_TEXTFIELD_CUSTOM_CONTENT } from './textfield-custom-content.directive';
|
|
11
|
+
import { TUI_TEXTFIELD_FILLER } from './textfield-filler.directive';
|
|
12
|
+
import { TUI_TEXTFIELD_ICON } from './textfield-icon.directive';
|
|
13
|
+
import { TUI_TEXTFIELD_ICON_LEFT } from './textfield-icon-left.directive';
|
|
14
|
+
import { TUI_TEXTFIELD_LABEL_OUTSIDE } from './textfield-label-outside.directive';
|
|
15
|
+
import { TUI_TEXTFIELD_POSTFIX } from './textfield-postfix.directive';
|
|
16
|
+
import { TUI_TEXTFIELD_PREFIX } from './textfield-prefix.directive';
|
|
17
|
+
import { TUI_TEXTFIELD_SIZE } from './textfield-size.directive';
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated: drop in v5.0
|
|
20
|
+
*/
|
|
21
|
+
export const TUI_TEXTFIELD_WATCHED_CONTROLLER = new InjectionToken('[TUI_TEXTFIELD_WATCHED_CONTROLLER]');
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated: drop in v5.0
|
|
24
|
+
*/
|
|
25
|
+
export const TEXTFIELD_CONTROLLER_PROVIDER = [
|
|
26
|
+
{
|
|
27
|
+
provide: TUI_TEXTFIELD_WATCHED_CONTROLLER,
|
|
28
|
+
deps: [
|
|
29
|
+
ChangeDetectorRef,
|
|
30
|
+
TUI_TEXTFIELD_OPTIONS,
|
|
31
|
+
TUI_TEXTFIELD_APPEARANCE,
|
|
32
|
+
TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,
|
|
33
|
+
TUI_TEXTFIELD_CLEANER,
|
|
34
|
+
TUI_TEXTFIELD_CUSTOM_CONTENT,
|
|
35
|
+
TUI_TEXTFIELD_ICON,
|
|
36
|
+
TUI_TEXTFIELD_ICON_LEFT,
|
|
37
|
+
TUI_TEXTFIELD_LABEL_OUTSIDE,
|
|
38
|
+
TUI_TEXTFIELD_SIZE,
|
|
39
|
+
TUI_TEXTFIELD_PREFIX,
|
|
40
|
+
TUI_TEXTFIELD_POSTFIX,
|
|
41
|
+
TUI_TEXTFIELD_FILLER,
|
|
42
|
+
],
|
|
43
|
+
useFactory: (cdr, options, legacyAppearance, ...controllers) => {
|
|
44
|
+
const change$ = merge(...controllers.map(({ change$ }) => change$ || NEVER)).pipe(tuiWatch(cdr), takeUntilDestroyed());
|
|
45
|
+
change$.subscribe();
|
|
46
|
+
return new TuiTextfieldController(change$, options, legacyAppearance, ...controllers);
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
];
|
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGZpZWxkLWNvbnRyb2xsZXIucHJvdmlkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZ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ICovXG5leHBvcnQgY29uc3QgVEVYVEZJRUxEX0NPTlRST0xMRVJfUFJPVklERVI6IFByb3ZpZGVyID0gW1xuICAgIHtcbiAgICAgICAgcHJvdmlkZTogVFVJX1RFWFRGSUVMRF9XQVRDSEVEX0NPTlRST0xMRVIsXG4gICAgICAgIGRlcHM6IFtcbiAgICAgICAgICAgIENoYW5nZURldGVjdG9yUmVmLFxuICAgICAgICAgICAgVFVJX1RFWFRGSUVMRF9PUFRJT05TLFxuICAgICAgICAgICAgVFVJX1RFWFRGSUVMRF9BUFBFQVJBTkNFLFxuICAgICAgICAgICAgVFVJX1RFWFRGSUVMRF9BUFBFQVJBTkNFX0RJUkVDVElWRSxcbiAgICAgICAgICAgIFRVSV9URVhURklFTERfQ0xFQU5FUixcbiAgICAgICAgICAgIFRVSV9URVhURklFTERfQ1VTVE9NX0NPTlRFTlQsXG4gICAgICAgICAgICBUVUlfVEVYVEZJRUxEX0lDT04sXG4gICAgICAgICAgICBUVUlfVEVYVEZJRUxEX0lDT05fTEVGVCxcbiAgICAgICAgICAgIFRVSV9URVhURklFTERfTEFCRUxfT1VUU0lERSxcbiAgICAgICAgICAgIFRVSV9URVhURklFTERfU0laRSxcbiAgICAgICAgICAgIFRVSV9URVhURklFTERfUFJFRklYLFxuICAgICAgICAgICAgVFVJX1RFWFRGSUVMRF9QT1NURklYLFxuICAgICAgICAgICAgVFVJX1RFWFRGSUVMRF9GSUxMRVIsXG4gICAgICAgIF0sXG4gICAgICAgIHVzZUZhY3Rvcnk6IChcbiAgICAgICAgICAgIGNkcjogQ2hhbmdlRGV0ZWN0b3JSZWYsXG4gICAgICAgICAgICBvcHRpb25zOiBUdWlUZXh0ZmllbGRPcHRpb25zLFxuICAgICAgICAgICAgbGVnYWN5QXBwZWFyYW5jZTogc3RyaW5nLFxuICAgICAgICAgICAgLi4uY29udHJvbGxlcnM6IFtcbiAgICAgICAgICAgICAgICBUdWlUZXh0ZmllbGRBcHBlYXJhbmNlRGlyZWN0aXZlLFxuICAgICAgICAgICAgICAgIFR1aVRleHRmaWVsZENsZWFuZXJEaXJlY3RpdmUsXG4gICAgICAgICAgICAgICAgVHVpVGV4dGZpZWxkQ3VzdG9tQ29udGVudERpcmVjdGl2ZSxcbiAgICAgICAgICAgICAgICBUdWlUZXh0ZmllbGRJY29uRGlyZWN0aXZlLFxuICAgICAgICAgICAgICAgIFR1aVRleHRmaWVsZEljb25MZWZ0RGlyZWN0aXZlLFxuICAgICAgICAgICAgICAgIFR1aVRleHRmaWVsZExhYmVsT3V0c2lkZURpcmVjdGl2ZSxcbiAgICAgICAgICAgICAgICBUdWlUZXh0ZmllbGRTaXplRGlyZWN0aXZlLFxuICAgICAgICAgICAgICAgIFR1aVRleHRmaWVsZFByZWZpeERpcmVjdGl2ZSxcbiAgICAgICAgICAgICAgICBUdWlUZXh0ZmllbGRQb3N0Zml4RGlyZWN0aXZlLFxuICAgICAgICAgICAgICAgIFR1aVRleHRmaWVsZEZpbGxlckRpcmVjdGl2ZSxcbiAgICAgICAgICAgIF1cbiAgICAgICAgKSA9PiB7XG4gICAgICAgICAgICBjb25zdCBjaGFuZ2UkID0gbWVyZ2UoXG4gICAgICAgICAgICAgICAgLi4uY29udHJvbGxlcnMubWFwKCh7Y2hhbmdlJH0pID0+IGNoYW5nZSQgfHwgTkVWRVIpLFxuICAgICAgICAgICAgKS5waXBlKHR1aVdhdGNoKGNkciksIHRha2VVbnRpbERlc3Ryb3llZCgpKTtcblxuICAgICAgICAgICAgY2hhbmdlJC5zdWJzY3JpYmUoKTtcblxuICAgICAgICAgICAgcmV0dXJuIG5ldyBUdWlUZXh0ZmllbGRDb250cm9sbGVyKFxuICAgICAgICAgICAgICAgIGNoYW5nZSQsXG4gICAgICAgICAgICAgICAgb3B0aW9ucyxcbiAgICAgICAgICAgICAgICBsZWdhY3lBcHBlYXJhbmNlLFxuICAgICAgICAgICAgICAgIC4uLmNvbnRyb2xsZXJzLFxuICAgICAgICAgICAgKTtcbiAgICAgICAgfSxcbiAgICB9LFxuXTtcbiJdfQ==
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { AbstractTuiController } from '@taiga-ui/cdk/classes';
|
|
3
|
+
import { tuiCreateTokenFromFactory, tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export const TUI_TEXTFIELD_CUSTOM_CONTENT = tuiCreateTokenFromFactory(() => new TuiTextfieldCustomContentDirective());
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated: drop in v5.0
|
|
11
|
+
*/
|
|
12
|
+
class TuiTextfieldCustomContentDirective extends AbstractTuiController {
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldCustomContentDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldCustomContentDirective, selector: "[tuiTextfieldCustomContent]", inputs: { customContent: ["tuiTextfieldCustomContent", "customContent"] }, providers: [
|
|
15
|
+
tuiProvide(TUI_TEXTFIELD_CUSTOM_CONTENT, TuiTextfieldCustomContentDirective),
|
|
16
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
17
|
+
}
|
|
18
|
+
export { TuiTextfieldCustomContentDirective };
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldCustomContentDirective, decorators: [{
|
|
20
|
+
type: Directive,
|
|
21
|
+
args: [{
|
|
22
|
+
selector: '[tuiTextfieldCustomContent]',
|
|
23
|
+
providers: [
|
|
24
|
+
tuiProvide(TUI_TEXTFIELD_CUSTOM_CONTENT, TuiTextfieldCustomContentDirective),
|
|
25
|
+
],
|
|
26
|
+
}]
|
|
27
|
+
}], propDecorators: { customContent: [{
|
|
28
|
+
type: Input,
|
|
29
|
+
args: ['tuiTextfieldCustomContent']
|
|
30
|
+
}] } });
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGZpZWxkLWN1c3RvbS1jb250ZW50LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xlZ2FjeS9kaXJlY3RpdmVzL3RleHRmaWVsZC1jb250cm9sbGVyL3RleHRmaWVsZC1jdXN0b20tY29udGVudC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDL0MsT0FBTyxFQUFDLHFCQUFxQixFQUFDLE1BQU0sdUJBQXVCLENBQUM7QUFDNUQsT0FBTyxFQUFDLHlCQUF5QixFQUFFLFVBQVUsRUFBQyxNQUFNLG1DQUFtQyxDQUFDOztBQUd4Rjs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLDRCQUE0QixHQUFHLHlCQUF5QixDQUNqRSxHQUFHLEVBQUUsQ0FBQyxJQUFJLGtDQUFrQyxFQUFFLENBQ2pELENBQUM7QUFFRjs7R0FFRztBQUNILE1BTWEsa0NBQW1DLFNBQVEscUJBQXFCOytHQUFoRSxrQ0FBa0M7bUdBQWxDLGtDQUFrQyxpSUFKaEM7WUFDUCxVQUFVLENBQUMsNEJBQTRCLEVBQUUsa0NBQWtDLENBQUM7U0FDL0U7O1NBRVEsa0NBQWtDOzRGQUFsQyxrQ0FBa0M7a0JBTjlDLFNBQVM7bUJBQUM7b0JBQ1AsUUFBUSxFQUFFLDZCQUE2QjtvQkFDdkMsU0FBUyxFQUFFO3dCQUNQLFVBQVUs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WJzdHJhY3RUdWlDb250cm9sbGVyIHtcbiAgICBASW5wdXQoJ3R1aVRleHRmaWVsZEN1c3RvbUNvbnRlbnQnKVxuICAgIHB1YmxpYyBjdXN0b21Db250ZW50OiBQb2x5bW9ycGhldXNDb250ZW50O1xufVxuIl19
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { AbstractTuiController } from '@taiga-ui/cdk/classes';
|
|
3
|
+
import { tuiCreateTokenFromFactory, tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export const TUI_TEXTFIELD_FILLER = tuiCreateTokenFromFactory(() => new TuiTextfieldFillerDirective());
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated: drop in v5.0
|
|
11
|
+
*/
|
|
12
|
+
class TuiTextfieldFillerDirective extends AbstractTuiController {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.filler = '';
|
|
16
|
+
}
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldFillerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
+
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 }); }
|
|
19
|
+
}
|
|
20
|
+
export { TuiTextfieldFillerDirective };
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldFillerDirective, decorators: [{
|
|
22
|
+
type: Directive,
|
|
23
|
+
args: [{
|
|
24
|
+
selector: '[tuiTextfieldFiller]',
|
|
25
|
+
providers: [tuiProvide(TUI_TEXTFIELD_FILLER, TuiTextfieldFillerDirective)],
|
|
26
|
+
}]
|
|
27
|
+
}], propDecorators: { filler: [{
|
|
28
|
+
type: Input,
|
|
29
|
+
args: ['tuiTextfieldFiller']
|
|
30
|
+
}] } });
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGZpZWxkLWZpbGxlci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvZGlyZWN0aXZlcy90ZXh0ZmllbGQtY29udHJvbGxlci90ZXh0ZmllbGQtZmlsbGVyLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUMvQyxPQUFPLEVBQUMscUJBQXFCLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQztBQUM1RCxPQUFPLEVBQUMseUJBQXlCLEVBQUUsVUFBVSxFQUFDLE1BQU0sbUNBQW1DLENBQUM7O0FBRXhGOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sb0JBQW9CLEdBQUcseUJBQXlCLENBQ3pELEdBQUcsRUFBRSxDQUFDLElBQUksMkJBQTJCLEVBQUUsQ0FDMUMsQ0FBQztBQUVGOztHQUVHO0FBQ0gsTUFJYSwyQkFBNEIsU0FBUSxxQkFBcUI7SUFKdEU7O1FBTVcsV0FBTSxHQUFHLEVBQUUsQ0FBQztLQUN0QjsrR0FIWSwyQkFBMkI7bUdBQTNCLDJCQUEyQixxR0FGekIsQ0FBQyxVQUFVLENBQUMsb0JBQW9CLEVBQUUsMkJBQTJCLENBQUMsQ0FBQzs7U0F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uICAgIEBJbnB1dCgndHVpVGV4dGZpZWxkRmlsbGVyJylcbiAgICBwdWJsaWMgZmlsbGVyID0gJyc7XG59XG4iXX0=
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { AbstractTuiController } from '@taiga-ui/cdk/classes';
|
|
3
|
+
import { tuiCreateTokenFromFactory, tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export const TUI_TEXTFIELD_ICON_LEFT = tuiCreateTokenFromFactory(() => new TuiTextfieldIconLeftDirective());
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated: drop in v5.0
|
|
11
|
+
*/
|
|
12
|
+
class TuiTextfieldIconLeftDirective extends AbstractTuiController {
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldIconLeftDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
+
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 }); }
|
|
15
|
+
}
|
|
16
|
+
export { TuiTextfieldIconLeftDirective };
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldIconLeftDirective, decorators: [{
|
|
18
|
+
type: Directive,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: '[tuiTextfieldIconLeft]',
|
|
21
|
+
providers: [tuiProvide(TUI_TEXTFIELD_ICON_LEFT, TuiTextfieldIconLeftDirective)],
|
|
22
|
+
}]
|
|
23
|
+
}], propDecorators: { iconStart: [{
|
|
24
|
+
type: Input,
|
|
25
|
+
args: ['tuiTextfieldIconLeft']
|
|
26
|
+
}] } });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGZpZWxkLWljb24tbGVmdC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvZGlyZWN0aXZlcy90ZXh0ZmllbGQtY29udHJvbGxlci90ZXh0ZmllbGQtaWNvbi1sZWZ0LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUMvQyxPQUFPLEVBQUMscUJBQXFCLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQztBQUU1RCxPQUFPLEVBQUMseUJBQXlCLEVBQUUsVUFBVSxFQUFDLE1BQU0sbUNBQW1DLENBQUM7O0FBSXhGOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sdUJBQXVCLEdBQUcseUJBQXlCLENBQzVELEdBQUcsRUFBRSxDQUFDLElBQUksNkJBQTZCLEVBQUUsQ0FDNUMsQ0FBQztBQUVGOztHQUVHO0FBQ0gsTUFJYSw2QkFBOEIsU0FBUSxxQkFBcUI7K0dBQTNELDZCQUE2QjttR0FBN0IsNkJBQTZCLCtHQUYzQixDQUFDLFVBQVUsQ0FBQyx1QkFBdUIsRUFBRSw2QkFBNkIsQ0FBQyxDQUFDOztTQUV0RSw2QkFBNkI7NEZBQTdCLDZCQUE2QjtrQkFKekMsU0FBUzttQkFBQztvQkFDUCxRQUFRLEVBQUUsd0JBQXdCO29CQUNsQyxTQUFTLEVBQUUsQ0FBQyxVQUFVLENBQUMsd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ZlKV0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aVRleHRmaWVsZEljb25MZWZ0RGlyZWN0aXZlIGV4dGVuZHMgQWJzdHJhY3RUdWlDb250cm9sbGVyIHtcbiAgICBASW5wdXQoJ3R1aVRleHRmaWVsZEljb25MZWZ0JylcbiAgICBwdWJsaWMgaWNvblN0YXJ0OiBQb2x5bW9ycGhldXNDb250ZW50PFR1aUNvbnRleHQ8VHVpU2l6ZUwgfCBUdWlTaXplUz4+O1xufVxuIl19
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { AbstractTuiController } from '@taiga-ui/cdk/classes';
|
|
3
|
+
import { tuiCreateTokenFromFactory, tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export const TUI_TEXTFIELD_ICON = tuiCreateTokenFromFactory(() => new TuiTextfieldIconDirective());
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated: drop in v5.0
|
|
11
|
+
*/
|
|
12
|
+
class TuiTextfieldIconDirective extends AbstractTuiController {
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldIconDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
+
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 }); }
|
|
15
|
+
}
|
|
16
|
+
export { TuiTextfieldIconDirective };
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldIconDirective, decorators: [{
|
|
18
|
+
type: Directive,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: '[tuiTextfieldIcon]',
|
|
21
|
+
providers: [tuiProvide(TUI_TEXTFIELD_ICON, TuiTextfieldIconDirective)],
|
|
22
|
+
}]
|
|
23
|
+
}], propDecorators: { icon: [{
|
|
24
|
+
type: Input,
|
|
25
|
+
args: ['tuiTextfieldIcon']
|
|
26
|
+
}] } });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGZpZWxkLWljb24uZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2RpcmVjdGl2ZXMvdGV4dGZpZWxkLWNvbnRyb2xsZXIvdGV4dGZpZWxkLWljb24uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQy9DLE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBRTVELE9BQU8sRUFBQyx5QkFBeUIsRUFBRSxVQUFVLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQzs7QUFJeEY7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSxrQkFBa0IsR0FBRyx5QkFBeUIsQ0FDdkQsR0FBRyxFQUFFLENBQUMsSUFBSSx5QkFBeUIsRUFBRSxDQUN4QyxDQUFDO0FBRUY7O0dBRUc7QUFDSCxNQUlhLHlCQUEwQixTQUFRLHFCQUFxQjsrR0FBdkQseUJBQXlCO21HQUF6Qix5QkFBeUIsNkZBRnZCLENBQUMsVUFBVSxDQUFDLGtCQUFrQixFQUFFLHlCQUF5QixDQUFDLENBQUM7O1NBRTdELHlCQUF5Qj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VsZEljb25dJyxcbiAgICBwcm92aWRlcnM6IFt0dWlQcm92aWRlKFRVSV9URVhURklFTERfSUNPTiwgVHVpVGV4dGZpZWxkSWNvbkRpcmVjdGl2ZSldLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlUZXh0ZmllbGRJY29uRGlyZWN0aXZlIGV4dGVuZHMgQWJzdHJhY3RUdWlDb250cm9sbGVyIHtcbiAgICBASW5wdXQoJ3R1aVRleHRmaWVsZEljb24nKVxuICAgIHB1YmxpYyBpY29uOiBQb2x5bW9ycGhldXNDb250ZW50PFR1aUNvbnRleHQ8VHVpU2l6ZUwgfCBUdWlTaXplUz4+O1xufVxuIl19
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { AbstractTuiController } from '@taiga-ui/cdk/classes';
|
|
3
|
+
import { tuiCreateTokenFromFactory, tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export const TUI_TEXTFIELD_LABEL_OUTSIDE = tuiCreateTokenFromFactory(() => new TuiTextfieldLabelOutsideDirective());
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated: drop in v5.0
|
|
11
|
+
*/
|
|
12
|
+
class TuiTextfieldLabelOutsideDirective extends AbstractTuiController {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.labelOutside = false;
|
|
16
|
+
}
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldLabelOutsideDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldLabelOutsideDirective, selector: "[tuiTextfieldLabelOutside]", inputs: { labelOutside: ["tuiTextfieldLabelOutside", "labelOutside"] }, providers: [
|
|
19
|
+
tuiProvide(TUI_TEXTFIELD_LABEL_OUTSIDE, TuiTextfieldLabelOutsideDirective),
|
|
20
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
21
|
+
}
|
|
22
|
+
export { TuiTextfieldLabelOutsideDirective };
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldLabelOutsideDirective, decorators: [{
|
|
24
|
+
type: Directive,
|
|
25
|
+
args: [{
|
|
26
|
+
selector: '[tuiTextfieldLabelOutside]',
|
|
27
|
+
providers: [
|
|
28
|
+
tuiProvide(TUI_TEXTFIELD_LABEL_OUTSIDE, TuiTextfieldLabelOutsideDirective),
|
|
29
|
+
],
|
|
30
|
+
}]
|
|
31
|
+
}], propDecorators: { labelOutside: [{
|
|
32
|
+
type: Input,
|
|
33
|
+
args: ['tuiTextfieldLabelOutside']
|
|
34
|
+
}] } });
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGZpZWxkLWxhYmVsLW91dHNpZGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2RpcmVjdGl2ZXMvdGV4dGZpZWxkLWNvbnRyb2xsZXIvdGV4dGZpZWxkLWxhYmVsLW91dHNpZGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQy9DLE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBQzVELE9BQU8sRUFBQyx5QkFBeUIsRUFBRSxVQUFVLEVBQUMsTUFBTSxtQ0FBbUMsQ0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GRMYWJlbE91dHNpZGVEaXJlY3RpdmUoKSxcbik7XG5cbi8qKlxuICogQGRlcHJlY2F0ZWQ6IGRyb3AgaW4gdjUuMFxuICovXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ1t0dWlUZXh0ZmllbGRMYWJlbE91dHNpZGVdJyxcbiAgICBwcm92aWRlcnM6IFtcbiAgICAgICAgdHVpUHJvdmlkZShUVUlfVEVYVEZJRUxEX0xBQkVMX09VVFNJREUsIFR1aVRleHRmaWVsZExhYmVsT3V0c2lkZURpcmVjdGl2ZSksXG4gICAgXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpVGV4dGZpZWxkTGFiZWxPdXRzaWRlRGlyZWN0aXZlIGV4dGVuZHMgQWJzdHJhY3RUdWlDb250cm9sbGVyIHtcbiAgICBASW5wdXQoJ3R1aVRleHRmaWVsZExhYmVsT3V0c2lkZScpXG4gICAgcHVibGljIGxhYmVsT3V0c2lkZSA9IGZhbHNlO1xufVxuIl19
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { AbstractTuiController } from '@taiga-ui/cdk/classes';
|
|
3
|
+
import { tuiCreateTokenFromFactory, tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export const TUI_TEXTFIELD_POSTFIX = tuiCreateTokenFromFactory(() => new TuiTextfieldPostfixDirective());
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated: drop in v5.0
|
|
11
|
+
*/
|
|
12
|
+
class TuiTextfieldPostfixDirective extends AbstractTuiController {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.postfix = '';
|
|
16
|
+
}
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldPostfixDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
+
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 }); }
|
|
19
|
+
}
|
|
20
|
+
export { TuiTextfieldPostfixDirective };
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldPostfixDirective, decorators: [{
|
|
22
|
+
type: Directive,
|
|
23
|
+
args: [{
|
|
24
|
+
selector: '[tuiTextfieldPostfix]',
|
|
25
|
+
providers: [tuiProvide(TUI_TEXTFIELD_POSTFIX, TuiTextfieldPostfixDirective)],
|
|
26
|
+
}]
|
|
27
|
+
}], propDecorators: { postfix: [{
|
|
28
|
+
type: Input,
|
|
29
|
+
args: ['tuiTextfieldPostfix']
|
|
30
|
+
}] } });
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGZpZWxkLXBvc3RmaXguZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2RpcmVjdGl2ZXMvdGV4dGZpZWxkLWNvbnRyb2xsZXIvdGV4dGZpZWxkLXBvc3RmaXguZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQy9DLE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBQzVELE9BQU8sRU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gICAgKCkgPT4gbmV3IFR1aVRleHRmaWVsZFBvc3RmaXhEaXJlY3RpdmUoKSxcbik7XG5cbi8qKlxuICogQGRlcHJlY2F0ZWQ6IGRyb3AgaW4gdjUuMFxuICovXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ1t0dWlUZXh0ZmllbGRQb3N0Zml4XScsXG4gICAgcHJvdmlkZXJzOiBbdHVpUHJvdmlkZShUVUlfVEVYVEZJRUxEX1BPU1RGSVgsIFR1aVRleHRmaWVsZFBvc3RmaXhEaXJlY3RpdmUpXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpVGV4dGZpZWxkUG9zdGZpeERpcmVjdGl2ZSBleHRlbmRzIEFic3RyYWN0VHVpQ29udHJvbGxlciB7XG4gICAgQElucHV0KCd0dWlUZXh0ZmllbGRQb3N0Zml4JylcbiAgICBwdWJsaWMgcG9zdGZpeCA9ICcnO1xufVxuIl19
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { AbstractTuiController } from '@taiga-ui/cdk/classes';
|
|
3
|
+
import { tuiCreateTokenFromFactory, tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export const TUI_TEXTFIELD_PREFIX = tuiCreateTokenFromFactory(() => new TuiTextfieldPrefixDirective());
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated: drop in v5.0
|
|
11
|
+
*/
|
|
12
|
+
class TuiTextfieldPrefixDirective extends AbstractTuiController {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.prefix = '';
|
|
16
|
+
}
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldPrefixDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
+
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 }); }
|
|
19
|
+
}
|
|
20
|
+
export { TuiTextfieldPrefixDirective };
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldPrefixDirective, decorators: [{
|
|
22
|
+
type: Directive,
|
|
23
|
+
args: [{
|
|
24
|
+
selector: '[tuiTextfieldPrefix]',
|
|
25
|
+
providers: [tuiProvide(TUI_TEXTFIELD_PREFIX, TuiTextfieldPrefixDirective)],
|
|
26
|
+
}]
|
|
27
|
+
}], propDecorators: { prefix: [{
|
|
28
|
+
type: Input,
|
|
29
|
+
args: ['tuiTextfieldPrefix']
|
|
30
|
+
}] } });
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGZpZWxkLXByZWZpeC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvZGlyZWN0aXZlcy90ZXh0ZmllbGQtY29udHJvbGxlci90ZXh0ZmllbGQtcHJlZml4LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUMvQyxPQUFPLEVBQUMscUJBQXFCLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQztBQUM1RCxPQUFPLEVBQUMseUJBQXlCLEVBQUUsVUFBVSxFQUFDLE1BQU0sbUNBQW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cmVjdGl2ZSgpLFxuKTtcblxuLyoqXG4gKiBAZGVwcmVjYXRlZDogZHJvcCBpbiB2NS4wXG4gKi9cbkBEaXJlY3RpdmUoe1xuICAgIHNlbGVjdG9yOiAnW3R1aVRleHRmaWVsZFByZWZpeF0nLFxuICAgIHByb3ZpZGVyczogW3R1aVByb3ZpZGUoVFVJX1RFWFRGSUVMRF9QUkVGSVgsIFR1aVRleHRmaWVsZFByZWZpeERpcmVjdGl2ZSldLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlUZXh0ZmllbGRQcmVmaXhEaXJlY3RpdmUgZXh0ZW5kcyBBYnN0cmFjdFR1aUNvbnRyb2xsZXIge1xuICAgIEBJbnB1dCgndHVpVGV4dGZpZWxkUHJlZml4JylcbiAgICBwdWJsaWMgcHJlZml4ID0gJyc7XG59XG4iXX0=
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { AbstractTuiController } from '@taiga-ui/cdk/classes';
|
|
3
|
+
import { tuiCreateTokenFromFactory, tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export const TUI_TEXTFIELD_SIZE = tuiCreateTokenFromFactory(() => new TuiTextfieldSizeDirective());
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated: drop in v5.0
|
|
11
|
+
*/
|
|
12
|
+
class TuiTextfieldSizeDirective extends AbstractTuiController {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.size = 'l';
|
|
16
|
+
}
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldSizeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
+
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 }); }
|
|
19
|
+
}
|
|
20
|
+
export { TuiTextfieldSizeDirective };
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldSizeDirective, decorators: [{
|
|
22
|
+
type: Directive,
|
|
23
|
+
args: [{
|
|
24
|
+
selector: '[tuiTextfieldSize]',
|
|
25
|
+
providers: [tuiProvide(TUI_TEXTFIELD_SIZE, TuiTextfieldSizeDirective)],
|
|
26
|
+
}]
|
|
27
|
+
}], propDecorators: { size: [{
|
|
28
|
+
type: Input,
|
|
29
|
+
args: ['tuiTextfieldSize']
|
|
30
|
+
}] } });
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGZpZWxkLXNpemUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2RpcmVjdGl2ZXMvdGV4dGZpZWxkLWNvbnRyb2xsZXIvdGV4dGZpZWxkLXNpemUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQy9DLE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBQzVELE9BQU8sRUFBQyx5QkFBeUIsRUFBRSxVQUFVLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQzs7QUFHeEY7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSxrQkFBa0IsR0FBRyx5Q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RTaXplRGlyZWN0aXZlKCksXG4pO1xuXG4vKipcbiAqIEBkZXByZWNhdGVkOiBkcm9wIGluIHY1LjBcbiAqL1xuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdbdHVpVGV4dGZpZWxkU2l6ZV0nLFxuICAgIHByb3ZpZGVyczogW3R1aVByb3ZpZGUoVFVJX1RFWFRGSUVMRF9TSVpFLCBUdWlUZXh0ZmllbGRTaXplRGlyZWN0aXZlKV0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aVRleHRmaWVsZFNpemVEaXJlY3RpdmUgZXh0ZW5kcyBBYnN0cmFjdFR1aUNvbnRyb2xsZXIge1xuICAgIEBJbnB1dCgndHVpVGV4dGZpZWxkU2l6ZScpXG4gICAgcHVibGljIHNpemU6IFR1aVNpemVMIHwgVHVpU2l6ZVMgPSAnbCc7XG59XG4iXX0=
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export class TuiTextfieldController {
|
|
2
|
+
constructor(change$, options, legacyAppearance, appearanceDirective, cleanerDirective, customContentDirective, iconDirective, iconLeftDirective, labelOutsideDirective, sizeDirective, prefixDirective, postfixDirective, fillerDirective) {
|
|
3
|
+
this.change$ = change$;
|
|
4
|
+
this.options = options;
|
|
5
|
+
this.legacyAppearance = legacyAppearance;
|
|
6
|
+
this.appearanceDirective = appearanceDirective;
|
|
7
|
+
this.cleanerDirective = cleanerDirective;
|
|
8
|
+
this.customContentDirective = customContentDirective;
|
|
9
|
+
this.iconDirective = iconDirective;
|
|
10
|
+
this.iconLeftDirective = iconLeftDirective;
|
|
11
|
+
this.labelOutsideDirective = labelOutsideDirective;
|
|
12
|
+
this.sizeDirective = sizeDirective;
|
|
13
|
+
this.prefixDirective = prefixDirective;
|
|
14
|
+
this.postfixDirective = postfixDirective;
|
|
15
|
+
this.fillerDirective = fillerDirective;
|
|
16
|
+
}
|
|
17
|
+
get appearance() {
|
|
18
|
+
return this.appearanceDirective.appearance || this.legacyAppearance;
|
|
19
|
+
}
|
|
20
|
+
get cleaner() {
|
|
21
|
+
return this.cleanerDirective.cleaner;
|
|
22
|
+
}
|
|
23
|
+
get customContent() {
|
|
24
|
+
return this.customContentDirective.customContent || '';
|
|
25
|
+
}
|
|
26
|
+
get icon() {
|
|
27
|
+
return this.iconDirective.icon;
|
|
28
|
+
}
|
|
29
|
+
get iconStart() {
|
|
30
|
+
return this.iconLeftDirective.iconStart;
|
|
31
|
+
}
|
|
32
|
+
get labelOutside() {
|
|
33
|
+
return this.labelOutsideDirective.labelOutside;
|
|
34
|
+
}
|
|
35
|
+
get size() {
|
|
36
|
+
return this.sizeDirective.size;
|
|
37
|
+
}
|
|
38
|
+
get prefix() {
|
|
39
|
+
return this.prefixDirective.prefix;
|
|
40
|
+
}
|
|
41
|
+
get postfix() {
|
|
42
|
+
return this.postfixDirective.postfix;
|
|
43
|
+
}
|
|
44
|
+
get filler() {
|
|
45
|
+
return this.fillerDirective.filler;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGZpZWxkLmNvbnRyb2xsZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvZGlyZWN0aXZlcy90ZXh0ZmllbGQtY29udHJvbGxlci90ZXh0ZmllbGQuY29udHJvbGxlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFpQkEsTUFBTSxPQUFPLHNCQUFzQjtJQUMvQixZQUNvQixPQUF5QixFQUN6QixPQUE0QixFQUMzQixnQkFBd0IsRUFDeEIsbUJBQW9ELEVBQ3BELGdCQUE4QyxFQUM5QyxzQkFBMEQsRUFDMUQsYUFBd0MsRUFDeEMsaUJBQWdELEVBQ2hELHFCQUF3RCxFQUN4RCxhQUF3QyxFQUN4QyxlQUE0QyxFQUM1QyxnQkFBOEMsRUFDOUMsZUFBNEM7UUF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HtcbiAgICAgICAgcmV0dXJuIHRoaXMuc2l6ZURpcmVjdGl2ZS5zaXplO1xuICAgIH1cblxuICAgIHB1YmxpYyBnZXQgcHJlZml4KCk6IHN0cmluZyB7XG4gICAgICAgIHJldHVybiB0aGlzLnByZWZpeERpcmVjdGl2ZS5wcmVmaXg7XG4gICAgfVxuXG4gICAgcHVibGljIGdldCBwb3N0Zml4KCk6IHN0cmluZyB7XG4gICAgICAgIHJldHVybiB0aGlzLnBvc3RmaXhEaXJlY3RpdmUucG9zdGZpeDtcbiAgICB9XG5cbiAgICBwdWJsaWMgZ2V0IGZpbGxlcigpOiBzdHJpbmcge1xuICAgICAgICByZXR1cm4gdGhpcy5maWxsZXJEaXJlY3RpdmUuZmlsbGVyO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { tuiCreateToken, tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated: drop in v5.0
|
|
4
|
+
* Default values for primitive textfield options
|
|
5
|
+
*/
|
|
6
|
+
export const TUI_TEXTFIELD_DEFAULT_OPTIONS = {
|
|
7
|
+
iconCleaner: '@tui.x',
|
|
8
|
+
hintOnDisabled: false,
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated: drop in v5.0
|
|
12
|
+
* Default parameters for textfield
|
|
13
|
+
*/
|
|
14
|
+
export const TUI_TEXTFIELD_OPTIONS = tuiCreateToken(TUI_TEXTFIELD_DEFAULT_OPTIONS);
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated: drop in v5.0
|
|
17
|
+
*/
|
|
18
|
+
export function tuiTextfieldOptionsProvider(options) {
|
|
19
|
+
return tuiProvideOptions(TUI_TEXTFIELD_OPTIONS, options, TUI_TEXTFIELD_DEFAULT_OPTIONS);
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIj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VPcHRpb25zKFxuICAgICAgICBUVUlfVEVYVEZJRUxEX09QVElPTlMsXG4gICAgICAgIG9wdGlvbnMsXG4gICAgICAgIFRVSV9URVhURklFTERfREVGQVVMVF9PUFRJT05TLFxuICAgICk7XG59XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './unfinished.validator';
|
|
2
|
+
export * from './unfinished-validator.directive';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvZGlyZWN0aXZlcy91bmZpbmlzaGVkLXZhbGlkYXRvci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsa0NBQWtDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3VuZmluaXNoZWQudmFsaWRhdG9yJztcbmV4cG9ydCAqIGZyb20gJy4vdW5maW5pc2hlZC12YWxpZGF0b3IuZGlyZWN0aXZlJztcbiJdfQ==
|
package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktbGVnYWN5LWRpcmVjdGl2ZXMtdW5maW5pc2hlZC12YWxpZGF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvZGlyZWN0aXZlcy91bmZpbmlzaGVkLXZhbGlkYXRvci90YWlnYS11aS1sZWdhY3ktZGlyZWN0aXZlcy11bmZpbmlzaGVkLXZhbGlkYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|