@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
package/LICENSE
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
Copyright 2024 Acpekt
|
|
179
|
+
|
|
180
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
|
+
you may not use this file except in compliance with the License.
|
|
182
|
+
You may obtain a copy of the License at
|
|
183
|
+
|
|
184
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
185
|
+
|
|
186
|
+
Unless required by applicable law or agreed to in writing, software
|
|
187
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
188
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
189
|
+
See the License for the specific language governing permissions and
|
|
190
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Taiga UI — Legacy
|
|
2
|
+
|
|
3
|
+
[](https://npmjs.com/package/@taiga-ui/legacy)
|
|
4
|
+
[](https://bundlephobia.com/result?p=@taiga-ui/legacy)
|
|
5
|
+
[](https://discord.gg/Us8d8JVaTg)
|
|
6
|
+
|
|
7
|
+
[Website](https://taiga-ui.dev) • [Documentation](https://taiga-ui.dev/getting-started)•
|
|
8
|
+
[Core team](https://github.com/taiga-family/taiga-ui/#core-team)
|
|
9
|
+
|
|
10
|
+
> Legacy Taiga UI entities from the previous major release to simplify migration
|
|
11
|
+
|
|
12
|
+
It's a part of [**Taiga UI**](https://github.com/taiga-family/taiga-ui) that is fully-treeshakable Angular UI Kit
|
|
13
|
+
consisting of multiple base libraries and several add-ons
|
|
14
|
+
|
|
15
|
+
## How to install
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
npm i @taiga-ui/legacy
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Don't forget that Taiga UI is fully-treeshakable. **You can import even just one entity from our library** and be sure
|
|
22
|
+
that there is no redundant code in your bundle. Bundlphobia badge shows size of the whole library.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import type { TuiBooleanHandler } from '@taiga-ui/cdk/types';
|
|
3
|
+
import type { TuiTextfieldHost } from '@taiga-ui/legacy/tokens';
|
|
4
|
+
import { AbstractTuiControl } from './control';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated: drop in v5.0
|
|
8
|
+
*/
|
|
9
|
+
export declare abstract class AbstractTuiNativeSelect<H = TuiTextfieldHost, T = string> {
|
|
10
|
+
private readonly idService;
|
|
11
|
+
protected readonly datalist: TemplateRef<any> | null;
|
|
12
|
+
protected readonly el: HTMLSelectElement;
|
|
13
|
+
protected readonly host: H;
|
|
14
|
+
protected readonly control: AbstractTuiControl<any>;
|
|
15
|
+
protected readonly itemsHandlers: import("@taiga-ui/kit/tokens").TuiItemsHandlers<unknown>;
|
|
16
|
+
disabledItemHandler: TuiBooleanHandler<T> | null;
|
|
17
|
+
protected get id(): string;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiNativeSelect<any, any>, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiNativeSelect<any, any>, never, never, { "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { TuiTextfieldHost } from '@taiga-ui/legacy/tokens';
|
|
2
|
+
import { AbstractTuiControl } from './control';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated: drop in v5.0
|
|
6
|
+
*/
|
|
7
|
+
export declare abstract class AbstractTuiTextfieldHost<T extends AbstractTuiControl<any>> implements TuiTextfieldHost {
|
|
8
|
+
protected readonly host: T;
|
|
9
|
+
abstract onValueChange(value: string): void;
|
|
10
|
+
get readOnly(): boolean;
|
|
11
|
+
get disabled(): boolean;
|
|
12
|
+
get invalid(): boolean;
|
|
13
|
+
get focusable(): boolean;
|
|
14
|
+
get inputMode(): TuiTextfieldHost['inputMode'];
|
|
15
|
+
get value(): string;
|
|
16
|
+
process(_input: HTMLInputElement): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiTextfieldHost<any>, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiTextfieldHost<any>, never, never, {}, {}, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { OnInit, Provider, Type } from '@angular/core';
|
|
2
|
+
import { ChangeDetectorRef, DestroyRef } from '@angular/core';
|
|
3
|
+
import type { AbstractControl, ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
import { TuiValueTransformer } from '@taiga-ui/cdk/classes';
|
|
5
|
+
import { AbstractTuiInteractive } from './interactive';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated: drop in v5.0
|
|
9
|
+
* Basic ControlValueAccessor class to build form components upon
|
|
10
|
+
*/
|
|
11
|
+
export declare abstract class AbstractTuiControl<T> extends AbstractTuiInteractive implements OnInit, ControlValueAccessor {
|
|
12
|
+
private readonly ngControl;
|
|
13
|
+
private previousInternalValue?;
|
|
14
|
+
private readonly refresh$;
|
|
15
|
+
protected onTouched: (...args: any[]) => void;
|
|
16
|
+
protected onChange: (...args: any[]) => void;
|
|
17
|
+
protected readonly fallbackValue: T;
|
|
18
|
+
protected destroyRef: DestroyRef;
|
|
19
|
+
protected readonly cdr: ChangeDetectorRef;
|
|
20
|
+
protected readonly valueTransformer: TuiValueTransformer<T, unknown> | null;
|
|
21
|
+
readOnly: boolean;
|
|
22
|
+
pseudoInvalid: boolean | null;
|
|
23
|
+
constructor();
|
|
24
|
+
protected abstract getFallbackValue(): T;
|
|
25
|
+
get computedInvalid(): boolean;
|
|
26
|
+
get value(): T;
|
|
27
|
+
set value(value: T);
|
|
28
|
+
get safeCurrentValue(): T;
|
|
29
|
+
get invalid(): boolean;
|
|
30
|
+
get valid(): boolean;
|
|
31
|
+
get touched(): boolean;
|
|
32
|
+
get disabled(): boolean;
|
|
33
|
+
get interactive(): boolean;
|
|
34
|
+
get control(): AbstractControl | null;
|
|
35
|
+
get computedName(): string | null;
|
|
36
|
+
get controlName(): string | null;
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
checkControlUpdate(): void;
|
|
39
|
+
registerOnChange(onChange: (value: T | unknown) => void): void;
|
|
40
|
+
registerOnTouched(onTouched: () => void): void;
|
|
41
|
+
setDisabledState(): void;
|
|
42
|
+
writeValue(value: T | null): void;
|
|
43
|
+
protected updateFocused(focused: boolean): void;
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated use `value` setter
|
|
46
|
+
*/
|
|
47
|
+
protected updateValue(value: T): void;
|
|
48
|
+
protected valueIdenticalComparator(oldValue: T, newValue: T): boolean;
|
|
49
|
+
private get rawValue();
|
|
50
|
+
private safeNgControlData;
|
|
51
|
+
private controlMarkAsTouched;
|
|
52
|
+
private controlSetValue;
|
|
53
|
+
private refreshLocalValue;
|
|
54
|
+
private fromControlValue;
|
|
55
|
+
private toControlValue;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiControl<any>, never>;
|
|
57
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiControl<any>, never, never, { "readOnly": { "alias": "readOnly"; "required": false; }; "pseudoInvalid": { "alias": "pseudoInvalid"; "required": false; }; }, {}, never, never, false, never>;
|
|
58
|
+
}
|
|
59
|
+
export declare function tuiAsControl<T>(control: Type<AbstractTuiControl<T>>): Provider;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './abstract-native-select';
|
|
2
|
+
export * from './abstract-textfield-host';
|
|
3
|
+
export * from './control';
|
|
4
|
+
export * from './interactive';
|
|
5
|
+
export * from './multiple-control';
|
|
6
|
+
export * from './named-day';
|
|
7
|
+
export * from './nullable-control';
|
|
8
|
+
export * from './stringifiable-item';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated: drop in v5.0
|
|
5
|
+
*/
|
|
6
|
+
export declare abstract class AbstractTuiInteractive {
|
|
7
|
+
private static autoId;
|
|
8
|
+
abstract disabled: boolean;
|
|
9
|
+
abstract focused: boolean;
|
|
10
|
+
private readonly autoIdString;
|
|
11
|
+
protected focusVisible: boolean;
|
|
12
|
+
pseudoHover: boolean | null;
|
|
13
|
+
pseudoActive: boolean | null;
|
|
14
|
+
pseudoFocus: boolean | null;
|
|
15
|
+
/**
|
|
16
|
+
* Determines if component is focusable with keyboard.
|
|
17
|
+
*/
|
|
18
|
+
focusable: boolean;
|
|
19
|
+
nativeId: string;
|
|
20
|
+
/**
|
|
21
|
+
* Emits 'true' on focus and 'false' on blur.
|
|
22
|
+
*/
|
|
23
|
+
readonly focusedChange: EventEmitter<boolean>;
|
|
24
|
+
readonly focusVisibleChange: EventEmitter<boolean>;
|
|
25
|
+
constructor();
|
|
26
|
+
get computedDisabled(): boolean;
|
|
27
|
+
get computedFocused(): boolean;
|
|
28
|
+
get computedFocusVisible(): boolean;
|
|
29
|
+
get computedFocusable(): boolean;
|
|
30
|
+
get id(): string;
|
|
31
|
+
protected updateFocused(focused: boolean): void;
|
|
32
|
+
protected updateFocusVisible(focusVisible: boolean): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiInteractive, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiInteractive, never, never, { "pseudoHover": { "alias": "pseudoHover"; "required": false; }; "pseudoActive": { "alias": "pseudoActive"; "required": false; }; "pseudoFocus": { "alias": "pseudoFocus"; "required": false; }; "focusable": { "alias": "focusable"; "required": false; }; "nativeId": { "alias": "nativeId"; "required": false; }; }, { "focusedChange": "focusedChange"; "focusVisibleChange": "focusVisibleChange"; }, never, never, false, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AbstractTuiControl } from './control';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated: drop in v5.0
|
|
5
|
+
*/
|
|
6
|
+
export declare abstract class AbstractTuiMultipleControl<T> extends AbstractTuiControl<readonly T[]> {
|
|
7
|
+
protected clear(): void;
|
|
8
|
+
protected getFallbackValue(): readonly T[];
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiMultipleControl<any>, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiMultipleControl<any>, never, never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TuiDay } from '@taiga-ui/cdk/date-time';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated: drop in v5.0
|
|
4
|
+
*/
|
|
5
|
+
export declare class TuiNamedDay {
|
|
6
|
+
readonly day: TuiDay;
|
|
7
|
+
private readonly name;
|
|
8
|
+
readonly displayDay: TuiDay;
|
|
9
|
+
constructor(day: TuiDay, name: string, displayDay?: TuiDay);
|
|
10
|
+
protected toString(): string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AbstractTuiControl } from './control';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated: drop in v5.0
|
|
5
|
+
*/
|
|
6
|
+
export declare abstract class AbstractTuiNullableControl<T> extends AbstractTuiControl<T | null> {
|
|
7
|
+
protected getFallbackValue(): T | null;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiNullableControl<any>, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTuiNullableControl<any>, never, never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated: drop in v5.0
|
|
4
|
+
* Wrapper around an item to add `toString()` method
|
|
5
|
+
*/
|
|
6
|
+
export declare class TuiStringifiableItem<T> {
|
|
7
|
+
readonly item: T;
|
|
8
|
+
readonly stringify: TuiStringHandler<T>;
|
|
9
|
+
constructor(item: T, stringify: TuiStringHandler<T>);
|
|
10
|
+
protected toString(): string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TuiDropdownOpen } from '@taiga-ui/core/directives/dropdown';
|
|
2
|
+
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
|
+
import { PolymorpheusComponent } from '@taiga-ui/polymorpheus';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export declare class TuiArrowComponent {
|
|
9
|
+
private readonly control;
|
|
10
|
+
private readonly textfieldSize;
|
|
11
|
+
private readonly options;
|
|
12
|
+
protected readonly directive: TuiDropdownOpen | null;
|
|
13
|
+
protected get rotated(): boolean;
|
|
14
|
+
protected get small(): boolean;
|
|
15
|
+
protected get arrowIcon(): PolymorpheusContent;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiArrowComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiArrowComponent, "tui-arrow", never, {}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated: drop in v5.0
|
|
21
|
+
*/
|
|
22
|
+
export declare const TUI_ARROW: PolymorpheusComponent<TuiArrowComponent>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Provider } from '@angular/core';
|
|
2
|
+
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated: drop in v5.0
|
|
5
|
+
*/
|
|
6
|
+
export interface TuiArrowOptions {
|
|
7
|
+
readonly iconLarge: PolymorpheusContent;
|
|
8
|
+
readonly iconSmall: PolymorpheusContent;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated: drop in v5.0
|
|
12
|
+
* Default values for arrow options
|
|
13
|
+
*/
|
|
14
|
+
export declare const TUI_ARROW_DEFAULT_OPTIONS: TuiArrowOptions;
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated: drop in v5.0
|
|
17
|
+
* Default parameters for arrow component
|
|
18
|
+
*/
|
|
19
|
+
export declare const TUI_ARROW_OPTIONS: import("@angular/core").InjectionToken<TuiArrowOptions>;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated: drop in v5.0
|
|
22
|
+
*/
|
|
23
|
+
export declare function tuiArrowOptionsProvider(options: Partial<TuiArrowOptions>): Provider;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Provider } 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 { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export interface TuiArrowMode {
|
|
9
|
+
readonly disabled: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
|
|
10
|
+
readonly interactive: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated: drop in v5.0
|
|
14
|
+
*/
|
|
15
|
+
export declare const TUI_ARROW_DEFAULT_MODE: TuiArrowMode;
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated: drop in v5.0
|
|
18
|
+
* Type of icon in dropdowns for interactive or disable mode
|
|
19
|
+
*/
|
|
20
|
+
export declare const TUI_ARROW_MODE: import("@angular/core").InjectionToken<TuiArrowMode>;
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated: drop in v5.0
|
|
23
|
+
*/
|
|
24
|
+
export declare function tuiArrowModeProvider(options: Partial<TuiArrowMode>): Provider;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { MaskitoOptions } from '@maskito/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated: drop in v5.0
|
|
6
|
+
*/
|
|
7
|
+
export declare class TuiColorEditComponent {
|
|
8
|
+
color: [number, number, number, number];
|
|
9
|
+
readonly colorChange: EventEmitter<[number, number, number, number]>;
|
|
10
|
+
readonly hexMask: MaskitoOptions;
|
|
11
|
+
readonly modes: string[];
|
|
12
|
+
mode: string;
|
|
13
|
+
get isHex(): boolean;
|
|
14
|
+
get hex(): string;
|
|
15
|
+
get opacity(): number;
|
|
16
|
+
onHexChange(hex: string): void;
|
|
17
|
+
onRgbChange(...rgba: [number, number, number, number]): void;
|
|
18
|
+
private updateColor;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorEditComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiColorEditComponent, "tui-color-edit", never, { "color": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./color-edit.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
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/textfield-controller";
|
|
8
|
+
import * as i7 from "@taiga-ui/legacy/components/input-number";
|
|
9
|
+
import * as i8 from "@taiga-ui/legacy/components/select";
|
|
10
|
+
import * as i9 from "@taiga-ui/core/directives/dropdown";
|
|
11
|
+
import * as i10 from "@taiga-ui/core/components/data-list";
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated: drop in v5.0
|
|
14
|
+
*/
|
|
15
|
+
export declare class TuiColorEditModule {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorEditModule, never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiColorEditModule, [typeof i1.TuiColorEditComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MaskitoModule, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiTextfieldControllerModule, typeof i7.TuiInputNumberModule, typeof i8.TuiSelectModule, typeof i9.TuiDropdownOptionsDirective, typeof i9.TuiDropdownDriverDirective, typeof i9.TuiDropdownDirective, typeof i9.TuiDropdownComponent, typeof i9.TuiDropdownOpen, typeof i9.TuiDropdownPortal, typeof i9.TuiDropdownManual, typeof i9.TuiDropdownHover, typeof i9.TuiDropdownContext, typeof i9.TuiDropdownPosition, typeof i9.TuiDropdownPositionSided, typeof i9.TuiDropdownSelection, typeof i10.TuiDataListComponent, typeof i10.TuiDataListDirective, typeof i10.TuiOption, typeof i10.TuiOptGroup], [typeof i1.TuiColorEditComponent, typeof i9.TuiDropdownOptionsDirective, typeof i9.TuiDropdownDriverDirective, typeof i9.TuiDropdownDirective, typeof i9.TuiDropdownComponent, typeof i9.TuiDropdownOpen, typeof i9.TuiDropdownPortal, typeof i9.TuiDropdownManual, typeof i9.TuiDropdownHover, typeof i9.TuiDropdownContext, typeof i9.TuiDropdownPosition, typeof i9.TuiDropdownPositionSided, typeof i9.TuiDropdownSelection, typeof i10.TuiDataListComponent, typeof i10.TuiDataListDirective, typeof i10.TuiOption, typeof i10.TuiOptGroup]>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiColorEditModule>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { SafeStyle } from '@angular/platform-browser';
|
|
3
|
+
import type { TuiPoint } from '@taiga-ui/core/types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export declare class TuiColorPickerComponent {
|
|
9
|
+
private readonly sanitizer;
|
|
10
|
+
protected point: TuiPoint;
|
|
11
|
+
protected hue: number;
|
|
12
|
+
protected opacity: number;
|
|
13
|
+
readonly colorChange: EventEmitter<[h: number, s: number, v: number, opacity: number]>;
|
|
14
|
+
set color(color: [h: number, s: number, v: number, opacity: number]);
|
|
15
|
+
get currentColor(): [h: number, s: number, v: number];
|
|
16
|
+
get base(): string;
|
|
17
|
+
get gradient(): SafeStyle;
|
|
18
|
+
onPointChange(point: TuiPoint): void;
|
|
19
|
+
onHueChange(hue: number): void;
|
|
20
|
+
onOpacityChange(opacity: number): void;
|
|
21
|
+
private getCurrentColor;
|
|
22
|
+
private updateColor;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorPickerComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiColorPickerComponent, "tui-color-picker", never, { "color": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./color-picker.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../flat-picker/flat-picker.module";
|
|
5
|
+
import * as i4 from "../linear-picker/linear-picker.module";
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated: drop in v5.0
|
|
8
|
+
*/
|
|
9
|
+
export declare class TuiColorPickerModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorPickerModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiColorPickerModule, [typeof i1.TuiColorPickerComponent], [typeof i2.CommonModule, typeof i3.TuiFlatPickerModule, typeof i4.TuiLinearPickerModule], [typeof i1.TuiColorPickerComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiColorPickerModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { EventEmitter, InjectionToken } from '@angular/core';
|
|
2
|
+
import type { SafeStyle } from '@angular/platform-browser';
|
|
3
|
+
import type { TuiGradientDirection } from '@taiga-ui/cdk/utils/color';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated: drop in v5.0
|
|
7
|
+
*/
|
|
8
|
+
export declare const TUI_COLOR_SELECTOR_MODE_NAMES: InjectionToken<[string, string]>;
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated: drop in v5.0
|
|
11
|
+
*/
|
|
12
|
+
export declare const TUI_DEFAULT_INPUT_COLORS: Map<string, string>;
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated: drop in v5.0
|
|
15
|
+
*/
|
|
16
|
+
export declare class TuiColorSelectorComponent {
|
|
17
|
+
private stops;
|
|
18
|
+
private currentStop;
|
|
19
|
+
private direction;
|
|
20
|
+
private readonly sanitizer;
|
|
21
|
+
colors: ReadonlyMap<string, string>;
|
|
22
|
+
readonly colorChange: EventEmitter<string>;
|
|
23
|
+
color: [number, number, number, number];
|
|
24
|
+
readonly modes: [string, string];
|
|
25
|
+
currentMode: string;
|
|
26
|
+
readonly buttons: readonly TuiGradientDirection[];
|
|
27
|
+
set colorSetter(color: string);
|
|
28
|
+
get palette(): Map<string, string>;
|
|
29
|
+
get stopsKeys(): number[];
|
|
30
|
+
get currentColor(): [number, number, number, number];
|
|
31
|
+
get gradient(): SafeStyle;
|
|
32
|
+
get isGradient(): boolean;
|
|
33
|
+
getIcon(direction: TuiGradientDirection): string;
|
|
34
|
+
isModeActive(mode: string): boolean;
|
|
35
|
+
isDirectionActive(direction: TuiGradientDirection): boolean;
|
|
36
|
+
onPalettePick(color: string): void;
|
|
37
|
+
onDirectionChange(direction: TuiGradientDirection): void;
|
|
38
|
+
onModeSelect(mode: string): void;
|
|
39
|
+
onIndexChange(index: number): void;
|
|
40
|
+
onColorChange(color: [number, number, number, number]): void;
|
|
41
|
+
onStopsChange(stopsKeys: readonly number[]): void;
|
|
42
|
+
private getStopsKeys;
|
|
43
|
+
private filterPalette;
|
|
44
|
+
private updateColor;
|
|
45
|
+
private getGradient;
|
|
46
|
+
private getStop;
|
|
47
|
+
private addStop;
|
|
48
|
+
private removeStop;
|
|
49
|
+
private replaceStop;
|
|
50
|
+
private parse;
|
|
51
|
+
private parseGradient;
|
|
52
|
+
private parseColor;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiColorSelectorComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiColorSelectorComponent, "tui-color-selector", never, { "colors": { "alias": "colors"; "required": false; }; "colorSetter": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, false, never>;
|
|
55
|
+
}
|