@taiga-ui/legacy 4.0.0-rc.1
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 +17 -0
- package/classes/abstract-textfield-host.d.ts +19 -0
- package/classes/control.d.ts +58 -0
- package/classes/index.d.ts +8 -0
- package/classes/interactive.d.ts +35 -0
- package/classes/multiple-control.d.ts +8 -0
- package/classes/named-day.d.ts +8 -0
- package/classes/nullable-control.d.ts +7 -0
- package/classes/stringifiable-item.d.ts +10 -0
- package/components/arrow/arrow.component.d.ts +16 -0
- package/components/arrow/arrow.options.d.ts +13 -0
- package/components/arrow/arrow.providers.d.ts +14 -0
- package/components/arrow/index.d.ts +3 -0
- package/components/combo-box/combo-box-strict.directive.d.ts +8 -0
- package/components/combo-box/combo-box.component.d.ts +47 -0
- package/components/combo-box/combo-box.directive.d.ts +9 -0
- package/components/combo-box/combo-box.module.d.ts +16 -0
- package/components/combo-box/index.d.ts +4 -0
- package/components/index.d.ts +31 -0
- package/components/input/index.d.ts +3 -0
- package/components/input/input.component.d.ts +27 -0
- package/components/input/input.directive.d.ts +8 -0
- package/components/input/input.module.d.ts +11 -0
- package/components/input-copy/index.d.ts +4 -0
- package/components/input-copy/input-copy.component.d.ts +30 -0
- package/components/input-copy/input-copy.directive.d.ts +8 -0
- package/components/input-copy/input-copy.module.d.ts +15 -0
- package/components/input-copy/input-copy.options.d.ts +14 -0
- package/components/input-date/index.d.ts +3 -0
- package/components/input-date/input-date.component.d.ts +61 -0
- package/components/input-date/input-date.directive.d.ts +15 -0
- package/components/input-date/input-date.module.d.ts +20 -0
- package/components/input-date/native-date/native-date.component.d.ts +11 -0
- package/components/input-date-multi/index.d.ts +2 -0
- package/components/input-date-multi/input-date-multi.component.d.ts +66 -0
- package/components/input-date-multi/input-date-multi.module.d.ts +20 -0
- package/components/input-date-range/index.d.ts +3 -0
- package/components/input-date-range/input-date-range.component.d.ts +63 -0
- package/components/input-date-range/input-date-range.directive.d.ts +12 -0
- package/components/input-date-range/input-date-range.module.d.ts +18 -0
- package/components/input-date-time/index.d.ts +3 -0
- package/components/input-date-time/input-date-time.component.d.ts +77 -0
- package/components/input-date-time/input-date-time.directive.d.ts +13 -0
- package/components/input-date-time/input-date-time.module.d.ts +19 -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 +41 -0
- package/components/input-month/input-month.directive.d.ts +15 -0
- package/components/input-month/input-month.module.d.ts +15 -0
- package/components/input-month-range/index.d.ts +3 -0
- package/components/input-month-range/input-month-range.component.d.ts +35 -0
- package/components/input-month-range/input-month-range.directive.d.ts +15 -0
- package/components/input-month-range/input-month-range.module.d.ts +14 -0
- package/components/input-number/index.d.ts +4 -0
- package/components/input-number/input-number.component.d.ts +56 -0
- package/components/input-number/input-number.directive.d.ts +12 -0
- package/components/input-number/input-number.module.d.ts +14 -0
- package/components/input-number/input-number.options.d.ts +17 -0
- package/components/input-password/index.d.ts +4 -0
- package/components/input-password/input-password.component.d.ts +30 -0
- package/components/input-password/input-password.directive.d.ts +12 -0
- package/components/input-password/input-password.module.d.ts +16 -0
- package/components/input-password/input-password.options.d.ts +13 -0
- package/components/input-phone/index.d.ts +4 -0
- package/components/input-phone/input-phone.component.d.ts +48 -0
- package/components/input-phone/input-phone.directive.d.ts +13 -0
- package/components/input-phone/input-phone.module.d.ts +12 -0
- package/components/input-phone/input-phone.options.d.ts +12 -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 +38 -0
- package/components/input-phone-international/input-phone-international.options.d.ts +12 -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 +52 -0
- package/components/input-range/input-range.module.d.ts +15 -0
- package/components/input-slider/index.d.ts +2 -0
- package/components/input-slider/input-slider.component.d.ts +38 -0
- package/components/input-slider/input-slider.module.d.ts +14 -0
- package/components/input-tag/index.d.ts +3 -0
- package/components/input-tag/input-tag.component.d.ts +94 -0
- package/components/input-tag/input-tag.module.d.ts +18 -0
- package/components/input-tag/input-tag.options.d.ts +13 -0
- package/components/input-time/index.d.ts +4 -0
- package/components/input-time/input-time.component.d.ts +60 -0
- package/components/input-time/input-time.directive.d.ts +13 -0
- package/components/input-time/input-time.module.d.ts +19 -0
- package/components/input-time/input-time.options.d.ts +20 -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 +32 -0
- package/components/input-year/input-year.directive.d.ts +10 -0
- package/components/input-year/input-year.module.d.ts +14 -0
- package/components/island/index.d.ts +1 -0
- package/components/island/island.directive.d.ts +16 -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 +65 -0
- package/components/multi-select/multi-select.directive.d.ts +14 -0
- package/components/multi-select/multi-select.module.d.ts +27 -0
- package/components/multi-select/multi-select.options.d.ts +13 -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 +9 -0
- package/components/multi-select-option/multi-select-option.module.d.ts +9 -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 +11 -0
- package/components/primitive-textfield/primitive-textfield.component.d.ts +68 -0
- package/components/primitive-textfield/primitive-textfield.directive.d.ts +10 -0
- package/components/primitive-textfield/primitive-textfield.module.d.ts +17 -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 +40 -0
- package/components/select/select.directive.d.ts +12 -0
- package/components/select/select.module.d.ts +20 -0
- package/components/select/select.options.d.ts +12 -0
- package/components/select-option/index.d.ts +2 -0
- package/components/select-option/select-option.component.d.ts +27 -0
- package/components/select-option/select-option.module.d.ts +10 -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 +15 -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 +16 -0
- package/components/svg/deprecated-icons.d.ts +1 -0
- package/components/svg/index.d.ts +5 -0
- package/components/svg/svg-options.d.ts +22 -0
- package/components/svg/svg.component.d.ts +43 -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 +40 -0
- package/components/tag/tag.module.d.ts +12 -0
- package/components/tag/tag.options.d.ts +15 -0
- package/components/textarea/index.d.ts +3 -0
- package/components/textarea/textarea.component.d.ts +50 -0
- package/components/textarea/textarea.directive.d.ts +8 -0
- package/components/textarea/textarea.module.d.ts +17 -0
- package/components/tooltip/index.d.ts +2 -0
- package/components/tooltip/tooltip.component.d.ts +12 -0
- package/components/tooltip/tooltip.module.d.ts +12 -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 +8 -0
- package/directives/textfield-controller/textfield-cleaner.directive.d.ts +8 -0
- package/directives/textfield-controller/textfield-controller.module.d.ts +17 -0
- package/directives/textfield-controller/textfield-controller.provider.d.ts +5 -0
- package/directives/textfield-controller/textfield-custom-content.directive.d.ts +9 -0
- package/directives/textfield-controller/textfield-filler.directive.d.ts +8 -0
- package/directives/textfield-controller/textfield-icon-left.directive.d.ts +11 -0
- package/directives/textfield-controller/textfield-icon.directive.d.ts +11 -0
- package/directives/textfield-controller/textfield-label-outside.directive.d.ts +8 -0
- package/directives/textfield-controller/textfield-postfix.directive.d.ts +8 -0
- package/directives/textfield-controller/textfield-prefix.directive.d.ts +8 -0
- package/directives/textfield-controller/textfield-size.directive.d.ts +9 -0
- package/directives/textfield-controller/textfield.controller.d.ts +41 -0
- package/directives/textfield-controller/textfield.options.d.ts +15 -0
- package/directives/unfinished-validator/index.d.ts +2 -0
- package/directives/unfinished-validator/unfinished-validator.directive.d.ts +8 -0
- package/directives/unfinished-validator/unfinished.validator.d.ts +4 -0
- package/directives/value-accessor/index.d.ts +3 -0
- package/directives/value-accessor/value-accessor.directive.d.ts +5 -0
- package/directives/value-accessor/value-accessor.module.d.ts +7 -0
- package/directives/value-accessor/value-accessor.provider.d.ts +2 -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 +37 -0
- package/esm2022/classes/abstract-textfield-host.mjs +37 -0
- package/esm2022/classes/control.mjs +175 -0
- package/esm2022/classes/index.mjs +9 -0
- package/esm2022/classes/interactive.mjs +85 -0
- package/esm2022/classes/multiple-control.mjs +18 -0
- package/esm2022/classes/named-day.mjs +11 -0
- package/esm2022/classes/nullable-control.mjs +15 -0
- package/esm2022/classes/stringifiable-item.mjs +13 -0
- package/esm2022/classes/taiga-ui-legacy-classes.mjs +5 -0
- package/esm2022/components/arrow/arrow.component.mjs +42 -0
- package/esm2022/components/arrow/arrow.options.mjs +14 -0
- package/esm2022/components/arrow/arrow.providers.mjs +14 -0
- package/esm2022/components/arrow/index.mjs +4 -0
- package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +5 -0
- package/esm2022/components/combo-box/combo-box-strict.directive.mjs +29 -0
- package/esm2022/components/combo-box/combo-box.component.mjs +176 -0
- package/esm2022/components/combo-box/combo-box.directive.mjs +23 -0
- package/esm2022/components/combo-box/combo-box.module.mjs +67 -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 +32 -0
- package/esm2022/components/input/index.mjs +4 -0
- package/esm2022/components/input/input.component.mjs +89 -0
- package/esm2022/components/input/input.directive.mjs +20 -0
- package/esm2022/components/input/input.module.mjs +30 -0
- package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +5 -0
- package/esm2022/components/input-copy/index.mjs +5 -0
- package/esm2022/components/input-copy/input-copy.component.mjs +103 -0
- package/esm2022/components/input-copy/input-copy.directive.mjs +20 -0
- package/esm2022/components/input-copy/input-copy.module.mjs +52 -0
- package/esm2022/components/input-copy/input-copy.options.mjs +12 -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 +217 -0
- package/esm2022/components/input-date/input-date.directive.mjs +38 -0
- package/esm2022/components/input-date/input-date.module.mjs +71 -0
- package/esm2022/components/input-date/native-date/native-date.component.mjs +48 -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 +212 -0
- package/esm2022/components/input-date-multi/input-date-multi.module.mjs +67 -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 +243 -0
- package/esm2022/components/input-date-range/input-date-range.directive.mjs +31 -0
- package/esm2022/components/input-date-range/input-date-range.module.mjs +67 -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 +302 -0
- package/esm2022/components/input-date-time/input-date-time.directive.mjs +32 -0
- package/esm2022/components/input-date-time/input-date-time.module.mjs +74 -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 +132 -0
- package/esm2022/components/input-month/input-month.directive.mjs +41 -0
- package/esm2022/components/input-month/input-month.module.mjs +53 -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 +120 -0
- package/esm2022/components/input-month-range/input-month-range.directive.mjs +47 -0
- package/esm2022/components/input-month-range/input-month-range.module.mjs +49 -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 +257 -0
- package/esm2022/components/input-number/input-number.directive.mjs +33 -0
- package/esm2022/components/input-number/input-number.module.mjs +44 -0
- package/esm2022/components/input-number/input-number.options.mjs +19 -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 +78 -0
- package/esm2022/components/input-password/input-password.directive.mjs +30 -0
- package/esm2022/components/input-password/input-password.module.mjs +56 -0
- package/esm2022/components/input-password/input-password.options.mjs +12 -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 +217 -0
- package/esm2022/components/input-phone/input-phone.directive.mjs +33 -0
- package/esm2022/components/input-phone/input-phone.module.mjs +44 -0
- package/esm2022/components/input-phone/input-phone.options.mjs +14 -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 +181 -0
- package/esm2022/components/input-phone-international/input-phone-international.options.mjs +13 -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 +203 -0
- package/esm2022/components/input-range/input-range.module.mjs +51 -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 +150 -0
- package/esm2022/components/input-slider/input-slider.module.mjs +44 -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 +415 -0
- package/esm2022/components/input-tag/input-tag.module.mjs +63 -0
- package/esm2022/components/input-tag/input-tag.options.mjs +14 -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 +275 -0
- package/esm2022/components/input-time/input-time.directive.mjs +35 -0
- package/esm2022/components/input-time/input-time.module.mjs +67 -0
- package/esm2022/components/input-time/input-time.options.mjs +22 -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 +107 -0
- package/esm2022/components/input-year/input-year.directive.mjs +27 -0
- package/esm2022/components/input-year/input-year.module.mjs +49 -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 +74 -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 +204 -0
- package/esm2022/components/multi-select/multi-select.directive.mjs +31 -0
- package/esm2022/components/multi-select/multi-select.module.mjs +111 -0
- package/esm2022/components/multi-select/multi-select.options.mjs +13 -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 +25 -0
- package/esm2022/components/multi-select-option/multi-select-option.module.mjs +20 -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 +247 -0
- package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +28 -0
- package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +62 -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 +116 -0
- package/esm2022/components/select/select.directive.mjs +29 -0
- package/esm2022/components/select/select.module.mjs +83 -0
- package/esm2022/components/select/select.options.mjs +12 -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 +65 -0
- package/esm2022/components/select-option/select-option.module.mjs +21 -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 +14 -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 +38 -0
- package/esm2022/components/svg/deprecated-icons.mjs +59 -0
- package/esm2022/components/svg/index.mjs +6 -0
- package/esm2022/components/svg/svg-options.mjs +60 -0
- package/esm2022/components/svg/svg.component.mjs +147 -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 +171 -0
- package/esm2022/components/tag/tag.module.mjs +38 -0
- package/esm2022/components/tag/tag.options.mjs +15 -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 +189 -0
- package/esm2022/components/textarea/textarea.directive.mjs +20 -0
- package/esm2022/components/textarea/textarea.module.mjs +64 -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 +47 -0
- package/esm2022/components/tooltip/tooltip.module.mjs +24 -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 +32 -0
- package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +25 -0
- package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +72 -0
- package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +44 -0
- package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +25 -0
- package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +25 -0
- package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +21 -0
- package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +21 -0
- package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +29 -0
- package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +25 -0
- package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +25 -0
- package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +25 -0
- package/esm2022/directives/textfield-controller/textfield.controller.mjs +48 -0
- package/esm2022/directives/textfield-controller/textfield.options.mjs +14 -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 +25 -0
- package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +15 -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 +16 -0
- package/esm2022/directives/value-accessor/value-accessor.module.mjs +17 -0
- package/esm2022/directives/value-accessor/value-accessor.provider.mjs +10 -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 +50 -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 +43 -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 +73 -0
- package/esm2022/taiga-ui-legacy.mjs +5 -0
- package/esm2022/tokens/countries-masks.mjs +254 -0
- package/esm2022/tokens/focusable-item-accessor.mjs +14 -0
- package/esm2022/tokens/fonts-ready.mjs +7 -0
- package/esm2022/tokens/icons.mjs +7 -0
- package/esm2022/tokens/index.mjs +15 -0
- package/esm2022/tokens/is-apple.mjs +9 -0
- package/esm2022/tokens/is-chromium.mjs +8 -0
- package/esm2022/tokens/is-firefox.mjs +9 -0
- package/esm2022/tokens/is-stackblitz.mjs +5 -0
- package/esm2022/tokens/month-formatter.mjs +17 -0
- package/esm2022/tokens/sanitizer.mjs +6 -0
- package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +5 -0
- package/esm2022/tokens/textfield-appearance.mjs +7 -0
- package/esm2022/tokens/textfield-host.mjs +10 -0
- package/esm2022/tokens/touch-supported.mjs +5 -0
- package/esm2022/tokens/value-accessor.mjs +7 -0
- package/esm2022/utils/date-mode-maskito-adapter.mjs +6 -0
- package/esm2022/utils/format-phone.mjs +59 -0
- package/esm2022/utils/get-border.mjs +20 -0
- package/esm2022/utils/get-max-allowed-phone-length.mjs +25 -0
- package/esm2022/utils/get-safe-area-size.mjs +17 -0
- package/esm2022/utils/icons-path-factory.mjs +14 -0
- package/esm2022/utils/index.mjs +14 -0
- package/esm2022/utils/is-apple.mjs +6 -0
- package/esm2022/utils/is-presumed-html-string.mjs +6 -0
- package/esm2022/utils/iso-to-country-code.mjs +15 -0
- package/esm2022/utils/not-kz-region.mjs +23 -0
- package/esm2022/utils/process-icon.mjs +32 -0
- package/esm2022/utils/specific-dropdown-controllers.mjs +6 -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 +377 -0
- package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs +73 -0
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +280 -0
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +177 -0
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +277 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +334 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +438 -0
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs +358 -0
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +209 -0
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs +219 -0
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs +344 -0
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs +167 -0
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +204 -0
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +355 -0
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs +253 -0
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +192 -0
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +488 -0
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs +447 -0
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs +176 -0
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-input.mjs +132 -0
- package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-island.mjs +80 -0
- package/fesm2022/taiga-ui-legacy-components-island.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +47 -0
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +628 -0
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +443 -0
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs +88 -0
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-select.mjs +323 -0
- package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs +561 -0
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-svg.mjs +356 -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 +225 -0
- package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs +267 -0
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +71 -0
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components.mjs +36 -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 +365 -0
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +44 -0
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +43 -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 +56 -0
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +49 -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 +79 -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 +348 -0
- package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-utils.mjs +235 -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 +303 -0
- package/pipes/format-phone/format-phone.pipe.d.ts +34 -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 +29 -0
- package/pipes/to-country-code/index.d.ts +1 -0
- package/pipes/to-country-code/to-country-code.pipe.d.ts +37 -0
- package/styles/mixins/mixins.less +252 -0
- package/styles/mixins/mixins.scss +230 -0
- package/styles/mixins/textfield.less +315 -0
- package/styles/mixins/textfield.scss +306 -0
- package/styles/mixins/wrapper.less +65 -0
- package/styles/mixins/wrapper.scss +59 -0
- package/styles/taiga-ui-local.less +4 -0
- package/styles/taiga-ui-local.scss +4 -0
- package/styles/taiga-ui-theme.less +15 -0
- package/styles/wrapper/accent.less +28 -0
- package/styles/wrapper/base.less +44 -0
- package/styles/wrapper/floating.less +19 -0
- package/styles/wrapper/glass.less +31 -0
- package/styles/wrapper/icon.less +53 -0
- package/styles/wrapper/mono.less +23 -0
- package/styles/wrapper/none.less +5 -0
- package/styles/wrapper/opposite.less +33 -0
- package/styles/wrapper/outline.less +52 -0
- package/styles/wrapper/primary.less +32 -0
- package/styles/wrapper/secondary-destructive.less +16 -0
- package/styles/wrapper/secondary.less +47 -0
- package/styles/wrapper/table.less +82 -0
- package/styles/wrapper/textfield.less +80 -0
- package/styles/wrapper/whiteblock.less +47 -0
- package/tokens/countries-masks.d.ts +7 -0
- package/tokens/focusable-item-accessor.d.ts +22 -0
- package/tokens/fonts-ready.d.ts +3 -0
- package/tokens/icons.d.ts +5 -0
- package/tokens/index.d.ts +14 -0
- package/tokens/is-apple.d.ts +4 -0
- package/tokens/is-chromium.d.ts +4 -0
- package/tokens/is-firefox.d.ts +4 -0
- package/tokens/is-stackblitz.d.ts +1 -0
- package/tokens/month-formatter.d.ts +10 -0
- package/tokens/sanitizer.d.ts +6 -0
- package/tokens/textfield-appearance.d.ts +5 -0
- package/tokens/textfield-host.d.ts +17 -0
- package/tokens/touch-supported.d.ts +1 -0
- package/tokens/value-accessor.d.ts +7 -0
- package/utils/date-mode-maskito-adapter.d.ts +3 -0
- package/utils/format-phone.d.ts +29 -0
- package/utils/get-border.d.ts +2 -0
- package/utils/get-max-allowed-phone-length.d.ts +23 -0
- package/utils/get-safe-area-size.d.ts +6 -0
- package/utils/icons-path-factory.d.ts +4 -0
- package/utils/index.d.ts +13 -0
- package/utils/is-apple.d.ts +1 -0
- package/utils/is-presumed-html-string.d.ts +1 -0
- package/utils/iso-to-country-code.d.ts +12 -0
- package/utils/not-kz-region.d.ts +19 -0
- package/utils/process-icon.d.ts +1 -0
- package/utils/specific-dropdown-controllers.d.ts +1 -0
- package/utils/status.d.ts +1 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { TuiMonth, TuiYear } from '@taiga-ui/cdk/date-time';
|
|
2
|
+
import { TuiMonthRange } from '@taiga-ui/cdk/date-time';
|
|
3
|
+
import type { TuiBooleanHandler } from '@taiga-ui/cdk/types';
|
|
4
|
+
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
5
|
+
import type { TuiInputDateOptions } from '@taiga-ui/kit/tokens';
|
|
6
|
+
import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
|
|
7
|
+
import type { TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class TuiInputMonthRangeComponent extends AbstractTuiNullableControl<TuiMonthRange> implements TuiFocusableElementAccessor {
|
|
10
|
+
private readonly textfield?;
|
|
11
|
+
private readonly options;
|
|
12
|
+
private readonly textfieldSize;
|
|
13
|
+
protected readonly formatter: import("@taiga-ui/cdk/types").TuiHandler<TuiMonth | null, import("rxjs").Observable<string>>;
|
|
14
|
+
min: TuiMonth;
|
|
15
|
+
max: TuiMonth;
|
|
16
|
+
disabledItemHandler: TuiBooleanHandler<TuiMonth>;
|
|
17
|
+
minLength: number | null;
|
|
18
|
+
maxLength: number | null;
|
|
19
|
+
defaultActiveYear: TuiYear;
|
|
20
|
+
open: boolean;
|
|
21
|
+
get nativeFocusableElement(): HTMLInputElement | null;
|
|
22
|
+
get focused(): boolean;
|
|
23
|
+
setDisabledState(): void;
|
|
24
|
+
computeValue(from: string | null, to: string | null): string;
|
|
25
|
+
onValueChange(value: string): void;
|
|
26
|
+
onMonthClick(month: TuiMonth): void;
|
|
27
|
+
protected get size(): TuiSizeL | TuiSizeS;
|
|
28
|
+
protected get computedDefaultActiveYear(): TuiYear;
|
|
29
|
+
protected get calendarIcon(): TuiInputDateOptions['icon'];
|
|
30
|
+
protected onOpenChange(open: boolean): void;
|
|
31
|
+
protected onActiveZone(focused: boolean): void;
|
|
32
|
+
private close;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthRangeComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputMonthRangeComponent, "tui-input-month-range", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "defaultActiveYear": { "alias": "defaultActiveYear"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DoCheck } from '@angular/core';
|
|
2
|
+
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
3
|
+
import type { TuiInputMonthRangeComponent } from './input-month-range.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TuiInputMonthRangeDirective extends AbstractTuiTextfieldHost<TuiInputMonthRangeComponent> implements DoCheck {
|
|
6
|
+
private readonly value$;
|
|
7
|
+
private localizedValue;
|
|
8
|
+
constructor();
|
|
9
|
+
get readOnly(): boolean;
|
|
10
|
+
get value(): string;
|
|
11
|
+
ngDoCheck(): void;
|
|
12
|
+
onValueChange(value: string): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthRangeDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputMonthRangeDirective, "tui-input-month-range", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-month-range.component";
|
|
3
|
+
import * as i2 from "./input-month-range.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@taiga-ui/kit/components/calendar-month";
|
|
6
|
+
import * as i5 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
7
|
+
import * as i6 from "@taiga-ui/cdk/pipes/mapper";
|
|
8
|
+
import * as i7 from "@taiga-ui/legacy/directives";
|
|
9
|
+
import * as i8 from "@taiga-ui/core/directives/dropdown";
|
|
10
|
+
export declare class TuiInputMonthRangeModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthRangeModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputMonthRangeModule, [typeof i1.TuiInputMonthRangeComponent, typeof i2.TuiInputMonthRangeDirective], [typeof i3.CommonModule, typeof i4.TuiCalendarMonth, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiMapperPipe, typeof i7.TuiTextfieldControllerModule, typeof i7.TuiLegacyDropdownOpenMonitorDirective, typeof i8.TuiDropdownOptionsDirective, typeof i8.TuiDropdownDriverDirective, typeof i8.TuiDropdownDirective, typeof i8.TuiDropdownComponent, typeof i8.TuiDropdownOpen, typeof i8.TuiDropdownPortal, typeof i8.TuiDropdownManual, typeof i8.TuiDropdownHover, typeof i8.TuiDropdownContext, typeof i8.TuiDropdownPosition, typeof i8.TuiDropdownPositionSided, typeof i8.TuiDropdownSelection], [typeof i1.TuiInputMonthRangeComponent, typeof i2.TuiInputMonthRangeDirective, typeof i5.TuiTextfieldComponent, typeof i8.TuiDropdownOptionsDirective, typeof i8.TuiDropdownDriverDirective, typeof i8.TuiDropdownDirective, typeof i8.TuiDropdownComponent, typeof i8.TuiDropdownOpen, typeof i8.TuiDropdownPortal, typeof i8.TuiDropdownManual, typeof i8.TuiDropdownHover, typeof i8.TuiDropdownContext, typeof i8.TuiDropdownPosition, typeof i8.TuiDropdownPositionSided, typeof i8.TuiDropdownSelection]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputMonthRangeModule>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { QueryList } from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import type { MaskitoOptions } from '@maskito/core';
|
|
4
|
+
import type { TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
5
|
+
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
6
|
+
import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
|
|
7
|
+
import type { TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
8
|
+
import type { TuiInputNumberOptions } from './input-number.options';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare const TUI_NUMBER_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<number | null, unknown>>;
|
|
11
|
+
export declare class TuiInputNumberComponent extends AbstractTuiNullableControl<number> implements TuiFocusableElementAccessor {
|
|
12
|
+
private readonly textfield?;
|
|
13
|
+
private readonly isIOS;
|
|
14
|
+
private readonly textfieldSize;
|
|
15
|
+
private readonly options;
|
|
16
|
+
private unfinishedValue;
|
|
17
|
+
protected readonly polymorpheusValueContent: QueryList<unknown>;
|
|
18
|
+
protected readonly valueTransformer: TuiValueTransformer<number | null, unknown> | null;
|
|
19
|
+
protected numberFormat: import("@taiga-ui/core/tokens").TuiNumberFormatSettings;
|
|
20
|
+
protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
|
|
21
|
+
protected readonly numberFormat$: import("rxjs").Subscription;
|
|
22
|
+
min: number | null;
|
|
23
|
+
max: number | null;
|
|
24
|
+
step: number;
|
|
25
|
+
get nativeFocusableElement(): HTMLInputElement | null;
|
|
26
|
+
get focused(): boolean;
|
|
27
|
+
get inputMode(): string;
|
|
28
|
+
get calculatedMaxLength(): number;
|
|
29
|
+
get computedValue(): string;
|
|
30
|
+
onValueChange(nativeValue: string): void;
|
|
31
|
+
writeValue(value: number | null): void;
|
|
32
|
+
protected get size(): TuiSizeL | TuiSizeS;
|
|
33
|
+
protected get icons(): TuiInputNumberOptions['icons'];
|
|
34
|
+
protected get computedMin(): number;
|
|
35
|
+
protected get computedMax(): number;
|
|
36
|
+
protected get isNegativeAllowed(): boolean;
|
|
37
|
+
protected get formattedValue(): string;
|
|
38
|
+
protected get canDecrement(): boolean;
|
|
39
|
+
protected get canIncrement(): boolean;
|
|
40
|
+
protected get computedPrefix(): string;
|
|
41
|
+
protected get computedPostfix(): string;
|
|
42
|
+
protected get mask(): MaskitoOptions;
|
|
43
|
+
protected get nativeValue(): string;
|
|
44
|
+
protected set nativeValue(value: string);
|
|
45
|
+
protected onArrow(step: number | null): void;
|
|
46
|
+
protected onFocused(focused: boolean): void;
|
|
47
|
+
protected getFormattedValue(value: number): string;
|
|
48
|
+
private get isNativeValueNotFinished();
|
|
49
|
+
private get nativeNumberValue();
|
|
50
|
+
private get precision();
|
|
51
|
+
private computeMin;
|
|
52
|
+
private computeMax;
|
|
53
|
+
private calculateMask;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputNumberComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputNumberComponent, "tui-input-number", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; }, {}, ["polymorpheusValueContent"], ["*", "input", "tuiContent"], false, never>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { DoCheck } from '@angular/core';
|
|
2
|
+
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
3
|
+
import type { TuiInputNumberComponent } from './input-number.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TuiInputNumberDirective extends AbstractTuiTextfieldHost<TuiInputNumberComponent> implements DoCheck {
|
|
6
|
+
protected input?: HTMLInputElement;
|
|
7
|
+
get value(): string;
|
|
8
|
+
onValueChange(value: string): void;
|
|
9
|
+
ngDoCheck(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputNumberDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputNumberDirective, "tui-input-number", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-number.component";
|
|
3
|
+
import * as i2 from "./input-number.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@maskito/angular";
|
|
6
|
+
import * as i5 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
7
|
+
import * as i6 from "@taiga-ui/legacy/directives";
|
|
8
|
+
import * as i7 from "@taiga-ui/polymorpheus";
|
|
9
|
+
import * as i8 from "@taiga-ui/core/components/button";
|
|
10
|
+
export declare class TuiInputNumberModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputNumberModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputNumberModule, [typeof i1.TuiInputNumberComponent, typeof i2.TuiInputNumberDirective], [typeof i3.CommonModule, typeof i4.MaskitoDirective, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiTextfieldControllerModule, typeof i6.TuiValueAccessorModule, typeof i7.PolymorpheusOutlet, typeof i7.PolymorpheusTemplate, typeof i8.TuiButton], [typeof i1.TuiInputNumberComponent, typeof i2.TuiInputNumberDirective, typeof i5.TuiTextfieldComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputNumberModule>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Provider } from '@angular/core';
|
|
2
|
+
export interface TuiInputNumberOptions {
|
|
3
|
+
readonly icons: Readonly<{
|
|
4
|
+
down: string;
|
|
5
|
+
up: string;
|
|
6
|
+
}>;
|
|
7
|
+
readonly max: number;
|
|
8
|
+
readonly min: number;
|
|
9
|
+
readonly step: number;
|
|
10
|
+
}
|
|
11
|
+
/** Default values for the input number options. */
|
|
12
|
+
export declare const TUI_INPUT_NUMBER_DEFAULT_OPTIONS: TuiInputNumberOptions;
|
|
13
|
+
/**
|
|
14
|
+
* Default parameters for input count component
|
|
15
|
+
*/
|
|
16
|
+
export declare const TUI_INPUT_NUMBER_OPTIONS: import("@angular/core").InjectionToken<TuiInputNumberOptions>;
|
|
17
|
+
export declare function tuiInputNumberOptionsProvider(options: Partial<TuiInputNumberOptions>): Provider;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { TuiContext } from '@taiga-ui/cdk/types';
|
|
2
|
+
import { TuiHintOptionsDirective } from '@taiga-ui/core/directives/hint';
|
|
3
|
+
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
4
|
+
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
5
|
+
import type { TuiFocusableElementAccessor, TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens';
|
|
6
|
+
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
7
|
+
import type { Observable } from 'rxjs';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class TuiInputPasswordComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
|
|
10
|
+
private readonly textfield?;
|
|
11
|
+
private readonly textfieldSize;
|
|
12
|
+
protected readonly hintOptions: TuiHintOptionsDirective | null;
|
|
13
|
+
protected readonly directive$: Observable<any>;
|
|
14
|
+
protected isPasswordHidden: boolean;
|
|
15
|
+
protected readonly computedAppearance$: Observable<string>;
|
|
16
|
+
protected readonly passwordTexts$: Observable<[string, string]>;
|
|
17
|
+
protected readonly options: import("./input-password.options").TuiInputPasswordOptions;
|
|
18
|
+
protected readonly type: TuiContext<TuiSizeL | TuiSizeS>;
|
|
19
|
+
get nativeFocusableElement(): TuiNativeFocusableElement | null;
|
|
20
|
+
get focused(): boolean;
|
|
21
|
+
get inputType(): string;
|
|
22
|
+
onValueChange(textValue: string): void;
|
|
23
|
+
protected get size(): TuiSizeL | TuiSizeS;
|
|
24
|
+
protected get icon(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
25
|
+
protected onFocused(focused: boolean): void;
|
|
26
|
+
protected togglePasswordVisibility(): void;
|
|
27
|
+
protected getFallbackValue(): string;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPasswordComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPasswordComponent, "tui-input-password", never, {}, {}, never, ["*", "input"], false, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { DoCheck } from '@angular/core';
|
|
2
|
+
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
3
|
+
import type { TuiInputPasswordComponent } from './input-password.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TuiInputPasswordDirective extends AbstractTuiTextfieldHost<TuiInputPasswordComponent> implements DoCheck {
|
|
6
|
+
protected input?: HTMLInputElement;
|
|
7
|
+
onValueChange(value: string): void;
|
|
8
|
+
process(input: HTMLInputElement): void;
|
|
9
|
+
ngDoCheck(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPasswordDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputPasswordDirective, "tui-input-password", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-password.component";
|
|
3
|
+
import * as i2 from "./input-password.directive";
|
|
4
|
+
import * as i3 from "@taiga-ui/core/directives/hint";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/forms";
|
|
7
|
+
import * as i6 from "@taiga-ui/polymorpheus";
|
|
8
|
+
import * as i7 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
9
|
+
import * as i8 from "@taiga-ui/legacy/directives";
|
|
10
|
+
import * as i9 from "@taiga-ui/core/directives/appearance";
|
|
11
|
+
import * as i10 from "@taiga-ui/core/components/icon";
|
|
12
|
+
export declare class TuiInputPasswordModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPasswordModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputPasswordModule, [typeof i1.TuiInputPasswordComponent, typeof i2.TuiInputPasswordDirective], [typeof i3.TuiHintComponent, typeof i3.TuiHintDirective, typeof i3.TuiHintOptionsDirective, typeof i3.TuiHintUnstyled, typeof i3.TuiHintDriver, typeof i3.TuiHintPosition, typeof i3.TuiHintHover, typeof i3.TuiHintDescribe, typeof i3.TuiHintHost, typeof i3.TuiHintManual, typeof i3.TuiHintPointer, typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiAppearance, typeof i10.TuiIcon], [typeof i1.TuiInputPasswordComponent, typeof i2.TuiInputPasswordDirective, typeof i7.TuiTextfieldComponent, typeof i3.TuiHintComponent, typeof i3.TuiHintDirective, typeof i3.TuiHintOptionsDirective, typeof i3.TuiHintUnstyled, typeof i3.TuiHintDriver, typeof i3.TuiHintPosition, typeof i3.TuiHintHover, typeof i3.TuiHintDescribe, typeof i3.TuiHintHost, typeof i3.TuiHintManual, typeof i3.TuiHintPointer]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputPasswordModule>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Provider } from '@angular/core';
|
|
2
|
+
import type { TuiContext } from '@taiga-ui/cdk/types';
|
|
3
|
+
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
4
|
+
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
5
|
+
export interface TuiInputPasswordOptions {
|
|
6
|
+
readonly icons: Readonly<{
|
|
7
|
+
hide: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
8
|
+
show: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
|
|
9
|
+
}>;
|
|
10
|
+
}
|
|
11
|
+
export declare const TUI_INPUT_PASSWORD_DEFAULT_OPTIONS: TuiInputPasswordOptions;
|
|
12
|
+
export declare const TUI_INPUT_PASSWORD_OPTIONS: import("@angular/core").InjectionToken<TuiInputPasswordOptions>;
|
|
13
|
+
export declare function tuiInputPasswordOptionsProvider(options: Partial<TuiInputPasswordOptions>): Provider;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import type { MaskitoOptions } from '@maskito/core';
|
|
3
|
+
import type { TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
|
|
4
|
+
import type { TuiContext } from '@taiga-ui/cdk/types';
|
|
5
|
+
import type { TuiDataListHost } from '@taiga-ui/core/components/data-list';
|
|
6
|
+
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
7
|
+
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
8
|
+
import type { TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class TuiInputPhoneComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor, TuiDataListHost<string> {
|
|
11
|
+
private readonly dropdown?;
|
|
12
|
+
private readonly textfield?;
|
|
13
|
+
private readonly textfieldCleaner;
|
|
14
|
+
private readonly options;
|
|
15
|
+
private readonly textfieldSize;
|
|
16
|
+
protected readonly datalist?: TemplateRef<TuiContext<TuiActiveZone>>;
|
|
17
|
+
protected open: boolean;
|
|
18
|
+
phoneMaskAfterCountryCode: string;
|
|
19
|
+
allowText: boolean;
|
|
20
|
+
search: string;
|
|
21
|
+
readonly searchChange: EventEmitter<string>;
|
|
22
|
+
countryCode: string;
|
|
23
|
+
set countryCodeSetter(newCountryCode: string);
|
|
24
|
+
get size(): TuiSizeL | TuiSizeS;
|
|
25
|
+
get nativeFocusableElement(): HTMLInputElement | null;
|
|
26
|
+
get focused(): boolean;
|
|
27
|
+
get nativeValue(): string;
|
|
28
|
+
set nativeValue(value: string);
|
|
29
|
+
get inputMode(): string;
|
|
30
|
+
onValueChange(value: string): void;
|
|
31
|
+
handleOption(item: string): void;
|
|
32
|
+
setDisabledState(): void;
|
|
33
|
+
writeValue(value: string | null): void;
|
|
34
|
+
protected get canOpen(): boolean;
|
|
35
|
+
protected get canClean(): boolean;
|
|
36
|
+
protected get maskOptions(): MaskitoOptions;
|
|
37
|
+
protected onActiveZone(active: boolean): void;
|
|
38
|
+
protected getFallbackValue(): string;
|
|
39
|
+
private get nonRemovablePrefix();
|
|
40
|
+
private get maxPhoneLength();
|
|
41
|
+
private get isTextValue();
|
|
42
|
+
private calculateMask;
|
|
43
|
+
private focusInput;
|
|
44
|
+
private updateSearch;
|
|
45
|
+
private updateValueWithNewCountryCode;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPhoneComponent, "tui-input-phone", never, { "phoneMaskAfterCountryCode": { "alias": "phoneMaskAfterCountryCode"; "required": false; }; "allowText": { "alias": "allowText"; "required": false; }; "search": { "alias": "search"; "required": false; }; "countryCodeSetter": { "alias": "countryCode"; "required": false; }; }, { "searchChange": "searchChange"; }, ["datalist"], ["*", "input"], false, never>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { DoCheck } from '@angular/core';
|
|
2
|
+
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
3
|
+
import type { TuiInputPhoneComponent } from './input-phone.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TuiInputPhoneDirective extends AbstractTuiTextfieldHost<TuiInputPhoneComponent> implements DoCheck {
|
|
6
|
+
protected input?: HTMLInputElement;
|
|
7
|
+
get value(): string;
|
|
8
|
+
onValueChange(value: string): void;
|
|
9
|
+
process(input: HTMLInputElement): void;
|
|
10
|
+
ngDoCheck(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputPhoneDirective, "tui-input-phone", never, {}, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-phone.component";
|
|
3
|
+
import * as i2 from "./input-phone.directive";
|
|
4
|
+
import * as i3 from "@maskito/angular";
|
|
5
|
+
import * as i4 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
6
|
+
import * as i5 from "@taiga-ui/legacy/directives";
|
|
7
|
+
import * as i6 from "@taiga-ui/core/directives/dropdown";
|
|
8
|
+
export declare class TuiInputPhoneModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputPhoneModule, [typeof i1.TuiInputPhoneComponent, typeof i2.TuiInputPhoneDirective], [typeof i3.MaskitoDirective, typeof i4.TuiPrimitiveTextfieldModule, typeof i5.TuiTextfieldControllerModule, typeof i5.TuiValueAccessorModule, typeof i5.TuiLegacyDropdownOpenMonitorDirective, typeof i6.TuiDropdownOptionsDirective, typeof i6.TuiDropdownDriverDirective, typeof i6.TuiDropdownDirective, typeof i6.TuiDropdownComponent, typeof i6.TuiDropdownOpen, typeof i6.TuiDropdownPortal, typeof i6.TuiDropdownManual, typeof i6.TuiDropdownHover, typeof i6.TuiDropdownContext, typeof i6.TuiDropdownPosition, typeof i6.TuiDropdownPositionSided, typeof i6.TuiDropdownSelection], [typeof i1.TuiInputPhoneComponent, typeof i2.TuiInputPhoneDirective, typeof i4.TuiTextfieldComponent, typeof i6.TuiDropdownOptionsDirective, typeof i6.TuiDropdownDriverDirective, typeof i6.TuiDropdownDirective, typeof i6.TuiDropdownComponent, typeof i6.TuiDropdownOpen, typeof i6.TuiDropdownPortal, typeof i6.TuiDropdownManual, typeof i6.TuiDropdownHover, typeof i6.TuiDropdownContext, typeof i6.TuiDropdownPosition, typeof i6.TuiDropdownPositionSided, typeof i6.TuiDropdownSelection]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputPhoneModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Provider } from '@angular/core';
|
|
2
|
+
export interface TuiInputPhoneOptions {
|
|
3
|
+
readonly allowText: boolean;
|
|
4
|
+
readonly countryCode: string;
|
|
5
|
+
readonly phoneMaskAfterCountryCode: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const TUI_INPUT_PHONE_DEFAULT_OPTIONS: TuiInputPhoneOptions;
|
|
8
|
+
/**
|
|
9
|
+
* Default parameters for input phone component
|
|
10
|
+
*/
|
|
11
|
+
export declare const TUI_INPUT_PHONE_OPTIONS: import("@angular/core").InjectionToken<TuiInputPhoneOptions>;
|
|
12
|
+
export declare function tuiInputPhoneOptionsProvider(options: Partial<TuiInputPhoneOptions>): Provider;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { MaskitoPreprocessor } from '@maskito/core';
|
|
2
|
+
/**
|
|
3
|
+
* `InputPhone` component sets country code as non-removable prefix.
|
|
4
|
+
* This prefix appears on focus and cannot be erased.
|
|
5
|
+
* But users sometimes can copy complete phone number (from any different source)
|
|
6
|
+
* and try to insert the whole string inside our `InputPhone` textfield.
|
|
7
|
+
* This preprocessor helps to avoid country prefix duplication on paste/drop/autofill events.
|
|
8
|
+
*/
|
|
9
|
+
export declare function tuiCreateCompletePhoneInsertionPreprocessor(countryCode: string, phoneMaskAfterCountryCode: string): MaskitoPreprocessor;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create {@link https://maskito.dev/core-concepts/mask-expression pattern mask expression} for phone number
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* tuiCreatePhoneMaskExpression('+1', '(###) ###-####');
|
|
6
|
+
*/
|
|
7
|
+
export declare function tuiCreatePhoneMaskExpression(countryCode: string, phoneMaskAfterCountryCode: string): Array<RegExp | string>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { TuiContext } from '@taiga-ui/cdk/types';
|
|
3
|
+
import type { TuiSizeL, TuiSizeM, TuiSizeS } from '@taiga-ui/core/types';
|
|
4
|
+
import type { TuiCountryIsoCode } from '@taiga-ui/i18n/enums';
|
|
5
|
+
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
6
|
+
import type { TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
|
|
7
|
+
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class TuiInputPhoneInternationalComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
|
|
10
|
+
private readonly inputPhoneComponent?;
|
|
11
|
+
private readonly primitiveTextfield?;
|
|
12
|
+
private readonly options;
|
|
13
|
+
private readonly extractCountryCodePipe;
|
|
14
|
+
private readonly textfieldSize;
|
|
15
|
+
protected open: boolean;
|
|
16
|
+
protected readonly countriesNames$: import("rxjs").Observable<Record<TuiCountryIsoCode, string>>;
|
|
17
|
+
protected readonly countriesMasks: Record<TuiCountryIsoCode, string>;
|
|
18
|
+
protected readonly arrow: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
|
|
19
|
+
countries: readonly TuiCountryIsoCode[];
|
|
20
|
+
readonly countryIsoCodeChange: EventEmitter<TuiCountryIsoCode>;
|
|
21
|
+
countryIsoCode: TuiCountryIsoCode;
|
|
22
|
+
set isoCode(code: TuiCountryIsoCode);
|
|
23
|
+
get nativeFocusableElement(): HTMLElement | null;
|
|
24
|
+
get focused(): boolean;
|
|
25
|
+
get inputPhoneCountryCode(): string;
|
|
26
|
+
get phoneMaskAfterCountryCode(): string;
|
|
27
|
+
onPaste(event: ClipboardEvent | DragEvent): void;
|
|
28
|
+
onItemClick(isoCode: TuiCountryIsoCode): void;
|
|
29
|
+
setDisabledState(): void;
|
|
30
|
+
protected get size(): TuiSizeL | TuiSizeS;
|
|
31
|
+
protected onActiveZone(active: boolean): void;
|
|
32
|
+
protected getFallbackValue(): string;
|
|
33
|
+
private calculateMaskAfterCountryCode;
|
|
34
|
+
private close;
|
|
35
|
+
private updateCountryIsoCode;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneInternationalComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPhoneInternationalComponent, "tui-input-phone-international", never, { "countries": { "alias": "countries"; "required": false; }; "isoCode": { "alias": "countryIsoCode"; "required": false; }; }, { "countryIsoCodeChange": "countryIsoCodeChange"; }, never, ["*"], true, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Provider } from '@angular/core';
|
|
2
|
+
import type { TuiCountryIsoCode } from '@taiga-ui/i18n/enums';
|
|
3
|
+
export interface TuiInputPhoneInternationalOptions {
|
|
4
|
+
readonly countries: readonly TuiCountryIsoCode[];
|
|
5
|
+
readonly countryIsoCode: TuiCountryIsoCode;
|
|
6
|
+
}
|
|
7
|
+
export declare const TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS: TuiInputPhoneInternationalOptions;
|
|
8
|
+
/**
|
|
9
|
+
* Default parameters for input phone international component
|
|
10
|
+
*/
|
|
11
|
+
export declare const TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS: import("@angular/core").InjectionToken<TuiInputPhoneInternationalOptions>;
|
|
12
|
+
export declare function tuiInputPhoneInternationalOptionsProvider(options: Partial<TuiInputPhoneInternationalOptions>): Provider;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function tuiExtractValueFromEvent(event: ClipboardEvent | DragEvent): string;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { TuiContext } from '@taiga-ui/cdk/types';
|
|
2
|
+
import type { TuiKeySteps } from '@taiga-ui/kit/components/slider';
|
|
3
|
+
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
4
|
+
import type { TuiFocusableElementAccessor, TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens';
|
|
5
|
+
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TuiInputRangeComponent extends AbstractTuiControl<[number, number]> implements TuiFocusableElementAccessor {
|
|
8
|
+
private readonly inputNumberRefs;
|
|
9
|
+
private readonly range?;
|
|
10
|
+
private readonly isMobile;
|
|
11
|
+
private readonly el;
|
|
12
|
+
protected leftTextfieldValue: number;
|
|
13
|
+
protected rightTextfieldValue: number;
|
|
14
|
+
protected lastActiveSide: 'left' | 'right';
|
|
15
|
+
protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
|
|
16
|
+
min: number;
|
|
17
|
+
max: number;
|
|
18
|
+
quantum: number;
|
|
19
|
+
steps: number;
|
|
20
|
+
segments: number;
|
|
21
|
+
keySteps: TuiKeySteps | null;
|
|
22
|
+
leftValueContent: PolymorpheusContent<TuiContext<number>>;
|
|
23
|
+
rightValueContent: PolymorpheusContent<TuiContext<number>>;
|
|
24
|
+
pluralize: Record<string, string> | null;
|
|
25
|
+
get nativeFocusableElement(): TuiNativeFocusableElement | null;
|
|
26
|
+
get focused(): boolean;
|
|
27
|
+
writeValue(value: [number, number]): void;
|
|
28
|
+
protected get leftFocusableElement(): HTMLInputElement | null;
|
|
29
|
+
protected get rightFocusableElement(): HTMLInputElement | null;
|
|
30
|
+
protected get appearance(): string;
|
|
31
|
+
protected get showLeftValueContent(): boolean;
|
|
32
|
+
protected get showRightValueContent(): boolean;
|
|
33
|
+
protected get precision(): number;
|
|
34
|
+
protected get computedSteps(): number;
|
|
35
|
+
protected get step(): number;
|
|
36
|
+
protected computeKeySteps(keySteps: TuiKeySteps | null, min: number, max: number): TuiKeySteps;
|
|
37
|
+
protected onActiveZone(active: boolean): void;
|
|
38
|
+
protected onTextInputFocused(focused: boolean): void;
|
|
39
|
+
protected changeByStep(event: Event | KeyboardEvent, [leftCoefficient, rightCoefficient]: [number, number]): void;
|
|
40
|
+
protected onInputLeft(value: number | null): void;
|
|
41
|
+
protected onInputRight(value: number | null): void;
|
|
42
|
+
protected onExternalValueUpdate(value: [number, number]): void;
|
|
43
|
+
protected focusToTextInput(): void;
|
|
44
|
+
protected onActiveThumbChange(activeThumb: 'left' | 'right'): void;
|
|
45
|
+
protected getFallbackValue(): [number, number];
|
|
46
|
+
private safelyUpdateValue;
|
|
47
|
+
private valueGuard;
|
|
48
|
+
private calibrate;
|
|
49
|
+
private updateTextfieldValues;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputRangeComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputRangeComponent, "tui-input-range", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "quantum": { "alias": "quantum"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "keySteps": { "alias": "keySteps"; "required": false; }; "leftValueContent": { "alias": "leftValueContent"; "required": false; }; "rightValueContent": { "alias": "rightValueContent"; "required": false; }; "pluralize": { "alias": "pluralize"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-range.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@taiga-ui/polymorpheus";
|
|
6
|
+
import * as i5 from "@taiga-ui/cdk/directives/active-zone";
|
|
7
|
+
import * as i6 from "@taiga-ui/legacy/components/input-number";
|
|
8
|
+
import * as i7 from "@taiga-ui/kit/components/range";
|
|
9
|
+
import * as i8 from "@taiga-ui/legacy/directives";
|
|
10
|
+
import * as i9 from "@taiga-ui/core/directives/number-format";
|
|
11
|
+
export declare class TuiInputRangeModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputRangeModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputRangeModule, [typeof i1.TuiInputRangeComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiActiveZone, typeof i6.TuiInputNumberModule, typeof i7.TuiRange, typeof i8.TuiWrapperModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiNumberFormat], [typeof i1.TuiInputRangeComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputRangeModule>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { TuiContext } from '@taiga-ui/cdk/types';
|
|
2
|
+
import type { TuiKeySteps } from '@taiga-ui/kit/components/slider';
|
|
3
|
+
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
4
|
+
import type { TuiFocusableElementAccessor, TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens';
|
|
5
|
+
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TuiInputSliderComponent extends AbstractTuiControl<number> implements TuiFocusableElementAccessor {
|
|
8
|
+
private readonly inputNumberRef?;
|
|
9
|
+
private readonly sliderRef?;
|
|
10
|
+
protected textfieldValue: number;
|
|
11
|
+
protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
|
|
12
|
+
min: number;
|
|
13
|
+
max: number;
|
|
14
|
+
quantum: number;
|
|
15
|
+
steps: number;
|
|
16
|
+
segments: number;
|
|
17
|
+
keySteps: TuiKeySteps | null;
|
|
18
|
+
valueContent: PolymorpheusContent<TuiContext<number>>;
|
|
19
|
+
get nativeFocusableElement(): TuiNativeFocusableElement | null;
|
|
20
|
+
get focused(): boolean;
|
|
21
|
+
writeValue(value: number | null): void;
|
|
22
|
+
protected get prefix(): string;
|
|
23
|
+
protected get postfix(): string;
|
|
24
|
+
protected get computedSteps(): number;
|
|
25
|
+
protected get precision(): number;
|
|
26
|
+
protected get showValueContent(): boolean;
|
|
27
|
+
protected get step(): number;
|
|
28
|
+
protected computeKeySteps(keySteps: TuiKeySteps | null, min: number, max: number): TuiKeySteps;
|
|
29
|
+
protected focusTextInput(): void;
|
|
30
|
+
protected safelyUpdateValue(value: number | null): void;
|
|
31
|
+
protected onVerticalArrowKeyDown(coefficient: number): void;
|
|
32
|
+
protected onSliderChange(newValue: number): void;
|
|
33
|
+
protected onFocused(focused: boolean): void;
|
|
34
|
+
protected getFallbackValue(): number;
|
|
35
|
+
private valueGuard;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputSliderComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputSliderComponent, "tui-input-slider", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "quantum": { "alias": "quantum"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "keySteps": { "alias": "keySteps"; "required": false; }; "valueContent": { "alias": "valueContent"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-slider.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@taiga-ui/polymorpheus";
|
|
6
|
+
import * as i5 from "@taiga-ui/legacy/components/input-number";
|
|
7
|
+
import * as i6 from "@taiga-ui/core/directives/number-format";
|
|
8
|
+
import * as i7 from "@taiga-ui/legacy/directives";
|
|
9
|
+
import * as i8 from "@taiga-ui/kit/components/slider";
|
|
10
|
+
export declare class TuiInputSliderModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputSliderModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputSliderModule, [typeof i1.TuiInputSliderComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiInputNumberModule, typeof i6.TuiNumberFormat, typeof i7.TuiTextfieldControllerModule, typeof i8.TuiSliderComponent, typeof i8.TuiSliderThumbLabel, typeof i8.TuiSliderKeySteps, typeof i8.TuiSliderReadonly], [typeof i1.TuiInputSliderComponent, typeof i8.TuiSliderComponent, typeof i8.TuiSliderThumbLabel, typeof i8.TuiSliderKeySteps, typeof i8.TuiSliderReadonly]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputSliderModule>;
|
|
14
|
+
}
|