@taiga-ui/legacy 4.66.0 → 5.0.0-rc.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/README.md +1 -1
- package/components/dialog/dialog.component.d.ts +20 -0
- package/components/dialog/dialog.directive.d.ts +8 -0
- package/components/dialog/dialog.factory.d.ts +16 -0
- package/components/dialog/dialog.interfaces.d.ts +30 -0
- package/components/dialog/dialog.service.d.ts +10 -0
- package/components/dialog/dialog.tokens.d.ts +6 -0
- package/components/dialog/index.d.ts +6 -0
- package/components/index.d.ts +3 -33
- package/components/mobile-dialog/index.d.ts +3 -0
- package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
- package/components/mobile-dialog/mobile-dialog.options.d.ts +10 -0
- package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
- package/components/pdf-viewer/index.d.ts +4 -0
- package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
- package/components/pdf-viewer/pdf-viewer.directive.d.ts +8 -0
- package/components/pdf-viewer/pdf-viewer.options.d.ts +11 -0
- package/components/pdf-viewer/pdf-viewer.service.d.ts +17 -0
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs +136 -0
- package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +62 -0
- package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +88 -0
- package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
- package/fesm2022/taiga-ui-legacy-components.mjs +3 -33
- package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy.mjs +85 -6
- package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
- package/index.d.ts +1 -6
- package/package.json +22 -291
- package/pure.d.ts +23 -0
- package/classes/abstract-native-select.d.ts +0 -22
- package/classes/abstract-textfield-host.d.ts +0 -19
- package/classes/control.d.ts +0 -60
- package/classes/controller.d.ts +0 -9
- package/classes/index.d.ts +0 -9
- package/classes/interactive.d.ts +0 -34
- package/classes/multiple-control.d.ts +0 -11
- package/classes/named-day.d.ts +0 -11
- package/classes/nullable-control.d.ts +0 -10
- package/classes/stringifiable-item.d.ts +0 -11
- package/components/arrow/arrow.component.d.ts +0 -17
- package/components/arrow/arrow.options.d.ts +0 -19
- package/components/arrow/arrow.providers.d.ts +0 -23
- package/components/arrow/index.d.ts +0 -3
- package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
- package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
- package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
- package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
- package/components/color-selector/color-selector.component.d.ts +0 -47
- package/components/color-selector/color-selector.module.d.ts +0 -24
- package/components/color-selector/color-selector.options.d.ts +0 -25
- package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
- package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
- package/components/color-selector/index.d.ts +0 -16
- package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
- package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
- package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
- package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
- package/components/color-selector/palette/palette.component.d.ts +0 -10
- package/components/color-selector/palette/palette.module.d.ts +0 -13
- package/components/color-selector/services/picker.service.d.ts +0 -15
- package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
- package/components/combo-box/combo-box.component.d.ts +0 -52
- package/components/combo-box/combo-box.directive.d.ts +0 -13
- package/components/combo-box/combo-box.module.d.ts +0 -20
- package/components/combo-box/index.d.ts +0 -4
- package/components/input/index.d.ts +0 -3
- package/components/input/input.component.d.ts +0 -32
- package/components/input/input.directive.d.ts +0 -12
- package/components/input/input.module.d.ts +0 -16
- package/components/input-color/index.d.ts +0 -2
- package/components/input-color/input-color.component.d.ts +0 -30
- package/components/input-color/input-color.module.d.ts +0 -17
- package/components/input-copy/index.d.ts +0 -4
- package/components/input-copy/input-copy.component.d.ts +0 -33
- package/components/input-copy/input-copy.directive.d.ts +0 -11
- package/components/input-copy/input-copy.module.d.ts +0 -18
- package/components/input-copy/input-copy.options.d.ts +0 -26
- package/components/input-date/index.d.ts +0 -3
- package/components/input-date/input-date.component.d.ts +0 -62
- package/components/input-date/input-date.directive.d.ts +0 -19
- package/components/input-date/input-date.module.d.ts +0 -24
- package/components/input-date/native-date/native-date.component.d.ts +0 -15
- package/components/input-date-multi/index.d.ts +0 -2
- package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
- package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
- package/components/input-date-range/index.d.ts +0 -3
- package/components/input-date-range/input-date-range.component.d.ts +0 -67
- package/components/input-date-range/input-date-range.directive.d.ts +0 -16
- package/components/input-date-range/input-date-range.module.d.ts +0 -22
- package/components/input-date-time/index.d.ts +0 -3
- package/components/input-date-time/input-date-time.component.d.ts +0 -87
- package/components/input-date-time/input-date-time.directive.d.ts +0 -17
- package/components/input-date-time/input-date-time.module.d.ts +0 -23
- package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
- package/components/input-month/index.d.ts +0 -3
- package/components/input-month/input-month.component.d.ts +0 -44
- package/components/input-month/input-month.directive.d.ts +0 -19
- package/components/input-month/input-month.module.d.ts +0 -19
- package/components/input-month-range/index.d.ts +0 -3
- package/components/input-month-range/input-month-range.component.d.ts +0 -38
- package/components/input-month-range/input-month-range.directive.d.ts +0 -23
- package/components/input-month-range/input-month-range.module.d.ts +0 -18
- package/components/input-number/index.d.ts +0 -4
- package/components/input-number/input-number.component.d.ts +0 -63
- package/components/input-number/input-number.directive.d.ts +0 -16
- package/components/input-number/input-number.module.d.ts +0 -18
- package/components/input-number/input-number.options.d.ts +0 -29
- package/components/input-password/index.d.ts +0 -4
- package/components/input-password/input-password.component.d.ts +0 -33
- package/components/input-password/input-password.directive.d.ts +0 -15
- package/components/input-password/input-password.module.d.ts +0 -19
- package/components/input-password/input-password.options.d.ts +0 -25
- package/components/input-phone/index.d.ts +0 -4
- package/components/input-phone/input-phone.component.d.ts +0 -52
- package/components/input-phone/input-phone.directive.d.ts +0 -16
- package/components/input-phone/input-phone.module.d.ts +0 -15
- package/components/input-phone/input-phone.options.d.ts +0 -22
- package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
- package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
- package/components/input-phone/utils/index.d.ts +0 -2
- package/components/input-phone-international/index.d.ts +0 -3
- package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
- package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
- package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
- package/components/input-range/index.d.ts +0 -2
- package/components/input-range/input-range.component.d.ts +0 -56
- package/components/input-range/input-range.module.d.ts +0 -19
- package/components/input-slider/index.d.ts +0 -2
- package/components/input-slider/input-slider.component.d.ts +0 -42
- package/components/input-slider/input-slider.module.d.ts +0 -18
- package/components/input-tag/index.d.ts +0 -3
- package/components/input-tag/input-tag.component.d.ts +0 -103
- package/components/input-tag/input-tag.module.d.ts +0 -22
- package/components/input-tag/input-tag.options.d.ts +0 -27
- package/components/input-time/index.d.ts +0 -4
- package/components/input-time/input-time.component.d.ts +0 -62
- package/components/input-time/input-time.directive.d.ts +0 -17
- package/components/input-time/input-time.module.d.ts +0 -23
- package/components/input-time/input-time.options.d.ts +0 -42
- package/components/input-time/native-time/native-time.component.d.ts +0 -12
- package/components/input-year/index.d.ts +0 -3
- package/components/input-year/input-year.component.d.ts +0 -36
- package/components/input-year/input-year.directive.d.ts +0 -14
- package/components/input-year/input-year.module.d.ts +0 -18
- package/components/island/index.d.ts +0 -1
- package/components/island/island.directive.d.ts +0 -20
- package/components/multi-select/hide-selected.pipe.d.ts +0 -11
- package/components/multi-select/index.d.ts +0 -10
- package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
- package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
- package/components/multi-select/multi-select.component.d.ts +0 -71
- package/components/multi-select/multi-select.directive.d.ts +0 -14
- package/components/multi-select/multi-select.module.d.ts +0 -31
- package/components/multi-select/multi-select.options.d.ts +0 -14
- package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
- package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
- package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
- package/components/multi-select-option/index.d.ts +0 -2
- package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
- package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
- package/components/primitive-textfield/index.d.ts +0 -7
- package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
- package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
- package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
- package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
- package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
- package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
- package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
- package/components/select/index.d.ts +0 -6
- package/components/select/native-select/native-select-group.component.d.ts +0 -17
- package/components/select/native-select/native-select.component.d.ts +0 -16
- package/components/select/select.component.d.ts +0 -45
- package/components/select/select.directive.d.ts +0 -16
- package/components/select/select.module.d.ts +0 -24
- package/components/select/select.options.d.ts +0 -25
- package/components/select-option/index.d.ts +0 -2
- package/components/select-option/select-option.component.d.ts +0 -27
- package/components/select-option/select-option.module.d.ts +0 -10
- package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
- package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
- package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -10
- package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
- package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
- package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
- package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
- package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
- package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
- package/components/sheet/index.d.ts +0 -14
- package/components/sheet/sheet-options.d.ts +0 -27
- package/components/sheet/sheet-tokens.d.ts +0 -18
- package/components/sheet/sheet.d.ts +0 -21
- package/components/sheet/sheet.directive.d.ts +0 -17
- package/components/sheet/sheet.module.d.ts +0 -24
- package/components/sheet/sheet.service.d.ts +0 -17
- package/components/svg/content-processor.d.ts +0 -19
- package/components/svg/deprecated-icons.d.ts +0 -5
- package/components/svg/index.d.ts +0 -5
- package/components/svg/svg-options.d.ts +0 -50
- package/components/svg/svg.component.d.ts +0 -50
- package/components/svg/svg.service.d.ts +0 -21
- package/components/table-bar/index.d.ts +0 -4
- package/components/table-bar/table-bar.component.d.ts +0 -17
- package/components/table-bar/table-bar.directive.d.ts +0 -11
- package/components/table-bar/table-bar.options.d.ts +0 -31
- package/components/table-bar/table-bars-host.component.d.ts +0 -10
- package/components/table-bar/table-bars.service.d.ts +0 -11
- package/components/tag/index.d.ts +0 -3
- package/components/tag/tag.component.d.ts +0 -44
- package/components/tag/tag.module.d.ts +0 -16
- package/components/tag/tag.options.d.ts +0 -27
- package/components/textarea/index.d.ts +0 -3
- package/components/textarea/textarea.component.d.ts +0 -54
- package/components/textarea/textarea.directive.d.ts +0 -12
- package/components/textarea/textarea.module.d.ts +0 -21
- package/components/tooltip/index.d.ts +0 -2
- package/components/tooltip/tooltip.component.d.ts +0 -12
- package/components/tooltip/tooltip.module.d.ts +0 -13
- package/directives/index.d.ts +0 -5
- package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
- package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
- package/directives/textfield-controller/index.d.ts +0 -14
- package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
- package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
- package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
- package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
- package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
- package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
- package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
- package/directives/textfield-controller/textfield.controller.d.ts +0 -41
- package/directives/textfield-controller/textfield.options.d.ts +0 -19
- package/directives/unfinished-validator/index.d.ts +0 -2
- package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
- package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
- package/directives/value-accessor/index.d.ts +0 -3
- package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
- package/directives/value-accessor/value-accessor.module.d.ts +0 -7
- package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
- package/directives/wrapper/README.md +0 -19
- package/directives/wrapper/index.d.ts +0 -2
- package/directives/wrapper/wrapper.directive.d.ts +0 -22
- package/directives/wrapper/wrapper.module.d.ts +0 -10
- package/esm2022/classes/abstract-native-select.mjs +0 -49
- package/esm2022/classes/abstract-textfield-host.mjs +0 -37
- package/esm2022/classes/control.mjs +0 -181
- package/esm2022/classes/controller.mjs +0 -18
- package/esm2022/classes/index.mjs +0 -10
- package/esm2022/classes/interactive.mjs +0 -82
- package/esm2022/classes/multiple-control.mjs +0 -21
- package/esm2022/classes/named-day.mjs +0 -14
- package/esm2022/classes/nullable-control.mjs +0 -18
- package/esm2022/classes/stringifiable-item.mjs +0 -14
- package/esm2022/classes/taiga-ui-legacy-classes.mjs +0 -5
- package/esm2022/components/arrow/arrow.component.mjs +0 -41
- package/esm2022/components/arrow/arrow.options.mjs +0 -20
- package/esm2022/components/arrow/arrow.providers.mjs +0 -23
- package/esm2022/components/arrow/index.mjs +0 -4
- package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +0 -5
- package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +0 -59
- package/esm2022/components/color-selector/color-edit/color-edit.module.mjs +0 -56
- package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +0 -70
- package/esm2022/components/color-selector/color-picker/color-picker.module.mjs +0 -25
- package/esm2022/components/color-selector/color-selector.component.mjs +0 -191
- package/esm2022/components/color-selector/color-selector.module.mjs +0 -67
- package/esm2022/components/color-selector/color-selector.options.mjs +0 -78
- package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +0 -34
- package/esm2022/components/color-selector/flat-picker/flat-picker.module.mjs +0 -23
- package/esm2022/components/color-selector/index.mjs +0 -17
- package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +0 -61
- package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.module.mjs +0 -23
- package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +0 -31
- package/esm2022/components/color-selector/linear-picker/linear-picker.module.mjs +0 -23
- package/esm2022/components/color-selector/palette/palette.component.mjs +0 -23
- package/esm2022/components/color-selector/palette/palette.module.mjs +0 -25
- package/esm2022/components/color-selector/services/picker.service.mjs +0 -31
- package/esm2022/components/color-selector/taiga-ui-legacy-components-color-selector.mjs +0 -5
- package/esm2022/components/combo-box/combo-box-strict.directive.mjs +0 -34
- package/esm2022/components/combo-box/combo-box.component.mjs +0 -183
- package/esm2022/components/combo-box/combo-box.directive.mjs +0 -28
- package/esm2022/components/combo-box/combo-box.module.mjs +0 -71
- package/esm2022/components/combo-box/index.mjs +0 -5
- package/esm2022/components/combo-box/taiga-ui-legacy-components-combo-box.mjs +0 -5
- package/esm2022/components/index.mjs +0 -34
- package/esm2022/components/input/index.mjs +0 -4
- package/esm2022/components/input/input.component.mjs +0 -97
- package/esm2022/components/input/input.directive.mjs +0 -25
- package/esm2022/components/input/input.module.mjs +0 -42
- package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +0 -5
- package/esm2022/components/input-color/index.mjs +0 -3
- package/esm2022/components/input-color/input-color.component.mjs +0 -85
- package/esm2022/components/input-color/input-color.module.mjs +0 -43
- package/esm2022/components/input-color/taiga-ui-legacy-components-input-color.mjs +0 -5
- package/esm2022/components/input-copy/index.mjs +0 -5
- package/esm2022/components/input-copy/input-copy.component.mjs +0 -105
- package/esm2022/components/input-copy/input-copy.directive.mjs +0 -24
- package/esm2022/components/input-copy/input-copy.module.mjs +0 -55
- package/esm2022/components/input-copy/input-copy.options.mjs +0 -24
- package/esm2022/components/input-copy/taiga-ui-legacy-components-input-copy.mjs +0 -5
- package/esm2022/components/input-date/index.mjs +0 -4
- package/esm2022/components/input-date/input-date.component.mjs +0 -220
- package/esm2022/components/input-date/input-date.directive.mjs +0 -40
- package/esm2022/components/input-date/input-date.module.mjs +0 -75
- package/esm2022/components/input-date/native-date/native-date.component.mjs +0 -53
- package/esm2022/components/input-date/taiga-ui-legacy-components-input-date.mjs +0 -5
- package/esm2022/components/input-date-multi/index.mjs +0 -3
- package/esm2022/components/input-date-multi/input-date-multi.component.mjs +0 -207
- package/esm2022/components/input-date-multi/input-date-multi.module.mjs +0 -67
- package/esm2022/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.mjs +0 -5
- package/esm2022/components/input-date-range/index.mjs +0 -4
- package/esm2022/components/input-date-range/input-date-range.component.mjs +0 -256
- package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -36
- package/esm2022/components/input-date-range/input-date-range.module.mjs +0 -71
- package/esm2022/components/input-date-range/taiga-ui-legacy-components-input-date-range.mjs +0 -5
- package/esm2022/components/input-date-time/index.mjs +0 -4
- package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -315
- package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -37
- package/esm2022/components/input-date-time/input-date-time.module.mjs +0 -78
- package/esm2022/components/input-date-time/native-date-time/native-date-time.directive.mjs +0 -49
- package/esm2022/components/input-date-time/taiga-ui-legacy-components-input-date-time.mjs +0 -5
- package/esm2022/components/input-month/index.mjs +0 -4
- package/esm2022/components/input-month/input-month.component.mjs +0 -135
- package/esm2022/components/input-month/input-month.directive.mjs +0 -46
- package/esm2022/components/input-month/input-month.module.mjs +0 -57
- package/esm2022/components/input-month/taiga-ui-legacy-components-input-month.mjs +0 -5
- package/esm2022/components/input-month-range/index.mjs +0 -4
- package/esm2022/components/input-month-range/input-month-range.component.mjs +0 -123
- package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -52
- package/esm2022/components/input-month-range/input-month-range.module.mjs +0 -53
- package/esm2022/components/input-month-range/taiga-ui-legacy-components-input-month-range.mjs +0 -5
- package/esm2022/components/input-number/index.mjs +0 -5
- package/esm2022/components/input-number/input-number.component.mjs +0 -284
- package/esm2022/components/input-number/input-number.directive.mjs +0 -38
- package/esm2022/components/input-number/input-number.module.mjs +0 -48
- package/esm2022/components/input-number/input-number.options.mjs +0 -30
- package/esm2022/components/input-number/taiga-ui-legacy-components-input-number.mjs +0 -5
- package/esm2022/components/input-password/index.mjs +0 -5
- package/esm2022/components/input-password/input-password.component.mjs +0 -80
- package/esm2022/components/input-password/input-password.directive.mjs +0 -34
- package/esm2022/components/input-password/input-password.module.mjs +0 -59
- package/esm2022/components/input-password/input-password.options.mjs +0 -24
- package/esm2022/components/input-password/taiga-ui-legacy-components-input-password.mjs +0 -5
- package/esm2022/components/input-phone/index.mjs +0 -5
- package/esm2022/components/input-phone/input-phone.component.mjs +0 -219
- package/esm2022/components/input-phone/input-phone.directive.mjs +0 -37
- package/esm2022/components/input-phone/input-phone.module.mjs +0 -47
- package/esm2022/components/input-phone/input-phone.options.mjs +0 -24
- package/esm2022/components/input-phone/taiga-ui-legacy-components-input-phone.mjs +0 -5
- package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
- package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
- package/esm2022/components/input-phone/utils/index.mjs +0 -3
- package/esm2022/components/input-phone-international/index.mjs +0 -4
- package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -178
- package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -25
- package/esm2022/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.mjs +0 -5
- package/esm2022/components/input-phone-international/utils/extract-value-from-event.mjs +0 -10
- package/esm2022/components/input-range/index.mjs +0 -3
- package/esm2022/components/input-range/input-range.component.mjs +0 -207
- package/esm2022/components/input-range/input-range.module.mjs +0 -55
- package/esm2022/components/input-range/taiga-ui-legacy-components-input-range.mjs +0 -5
- package/esm2022/components/input-slider/index.mjs +0 -3
- package/esm2022/components/input-slider/input-slider.component.mjs +0 -154
- package/esm2022/components/input-slider/input-slider.module.mjs +0 -48
- package/esm2022/components/input-slider/taiga-ui-legacy-components-input-slider.mjs +0 -5
- package/esm2022/components/input-tag/index.mjs +0 -4
- package/esm2022/components/input-tag/input-tag.component.mjs +0 -436
- package/esm2022/components/input-tag/input-tag.module.mjs +0 -67
- package/esm2022/components/input-tag/input-tag.options.mjs +0 -27
- package/esm2022/components/input-tag/taiga-ui-legacy-components-input-tag.mjs +0 -5
- package/esm2022/components/input-time/index.mjs +0 -5
- package/esm2022/components/input-time/input-time.component.mjs +0 -238
- package/esm2022/components/input-time/input-time.directive.mjs +0 -40
- package/esm2022/components/input-time/input-time.module.mjs +0 -71
- package/esm2022/components/input-time/input-time.options.mjs +0 -39
- package/esm2022/components/input-time/native-time/native-time.component.mjs +0 -67
- package/esm2022/components/input-time/taiga-ui-legacy-components-input-time.mjs +0 -5
- package/esm2022/components/input-year/index.mjs +0 -4
- package/esm2022/components/input-year/input-year.component.mjs +0 -110
- package/esm2022/components/input-year/input-year.directive.mjs +0 -32
- package/esm2022/components/input-year/input-year.module.mjs +0 -53
- package/esm2022/components/input-year/taiga-ui-legacy-components-input-year.mjs +0 -5
- package/esm2022/components/island/index.mjs +0 -2
- package/esm2022/components/island/island.directive.mjs +0 -62
- package/esm2022/components/island/taiga-ui-legacy-components-island.mjs +0 -5
- package/esm2022/components/multi-select/hide-selected.pipe.mjs +0 -44
- package/esm2022/components/multi-select/index.mjs +0 -11
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -98
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -94
- package/esm2022/components/multi-select/multi-select.component.mjs +0 -233
- package/esm2022/components/multi-select/multi-select.directive.mjs +0 -32
- package/esm2022/components/multi-select/multi-select.module.mjs +0 -113
- package/esm2022/components/multi-select/multi-select.options.mjs +0 -17
- package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +0 -60
- package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +0 -56
- package/esm2022/components/multi-select/native-multi-select/native-multi-select.mjs +0 -19
- package/esm2022/components/multi-select/taiga-ui-legacy-components-multi-select.mjs +0 -5
- package/esm2022/components/multi-select-option/index.mjs +0 -3
- package/esm2022/components/multi-select-option/multi-select-option.component.mjs +0 -25
- package/esm2022/components/multi-select-option/multi-select-option.module.mjs +0 -20
- package/esm2022/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.mjs +0 -5
- package/esm2022/components/primitive-textfield/index.mjs +0 -7
- package/esm2022/components/primitive-textfield/primitive-textfield-options.mjs +0 -17
- package/esm2022/components/primitive-textfield/primitive-textfield-types.mjs +0 -2
- package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +0 -254
- package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +0 -33
- package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +0 -66
- package/esm2022/components/primitive-textfield/taiga-ui-legacy-components-primitive-textfield.mjs +0 -5
- package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +0 -39
- package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +0 -66
- package/esm2022/components/select/index.mjs +0 -7
- package/esm2022/components/select/native-select/native-select-group.component.mjs +0 -64
- package/esm2022/components/select/native-select/native-select.component.mjs +0 -60
- package/esm2022/components/select/select.component.mjs +0 -119
- package/esm2022/components/select/select.directive.mjs +0 -34
- package/esm2022/components/select/select.module.mjs +0 -87
- package/esm2022/components/select/select.options.mjs +0 -24
- package/esm2022/components/select/taiga-ui-legacy-components-select.mjs +0 -5
- package/esm2022/components/select-option/index.mjs +0 -3
- package/esm2022/components/select-option/select-option.component.mjs +0 -65
- package/esm2022/components/select-option/select-option.module.mjs +0 -21
- package/esm2022/components/select-option/taiga-ui-legacy-components-select-option.mjs +0 -5
- package/esm2022/components/sheet/components/sheet/sheet.component.mjs +0 -117
- package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +0 -42
- package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +0 -27
- package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +0 -31
- package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +0 -46
- package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +0 -39
- package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +0 -38
- package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +0 -52
- package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +0 -77
- package/esm2022/components/sheet/index.mjs +0 -14
- package/esm2022/components/sheet/sheet-options.mjs +0 -24
- package/esm2022/components/sheet/sheet-tokens.mjs +0 -17
- package/esm2022/components/sheet/sheet.directive.mjs +0 -40
- package/esm2022/components/sheet/sheet.mjs +0 -2
- package/esm2022/components/sheet/sheet.module.mjs +0 -75
- package/esm2022/components/sheet/sheet.service.mjs +0 -52
- package/esm2022/components/sheet/taiga-ui-legacy-components-sheet.mjs +0 -5
- package/esm2022/components/svg/content-processor.mjs +0 -41
- package/esm2022/components/svg/deprecated-icons.mjs +0 -63
- package/esm2022/components/svg/index.mjs +0 -6
- package/esm2022/components/svg/svg-options.mjs +0 -83
- package/esm2022/components/svg/svg.component.mjs +0 -150
- package/esm2022/components/svg/svg.service.mjs +0 -64
- package/esm2022/components/svg/taiga-ui-legacy-components-svg.mjs +0 -5
- package/esm2022/components/table-bar/index.mjs +0 -5
- package/esm2022/components/table-bar/table-bar.component.mjs +0 -37
- package/esm2022/components/table-bar/table-bar.directive.mjs +0 -25
- package/esm2022/components/table-bar/table-bar.options.mjs +0 -34
- package/esm2022/components/table-bar/table-bars-host.component.mjs +0 -39
- package/esm2022/components/table-bar/table-bars.service.mjs +0 -22
- package/esm2022/components/table-bar/taiga-ui-legacy-components-table-bar.mjs +0 -5
- package/esm2022/components/tag/index.mjs +0 -4
- package/esm2022/components/tag/tag.component.mjs +0 -158
- package/esm2022/components/tag/tag.module.mjs +0 -42
- package/esm2022/components/tag/tag.options.mjs +0 -26
- package/esm2022/components/tag/taiga-ui-legacy-components-tag.mjs +0 -5
- package/esm2022/components/taiga-ui-legacy-components.mjs +0 -5
- package/esm2022/components/textarea/index.mjs +0 -4
- package/esm2022/components/textarea/taiga-ui-legacy-components-textarea.mjs +0 -5
- package/esm2022/components/textarea/textarea.component.mjs +0 -175
- package/esm2022/components/textarea/textarea.directive.mjs +0 -25
- package/esm2022/components/textarea/textarea.module.mjs +0 -68
- package/esm2022/components/tooltip/index.mjs +0 -3
- package/esm2022/components/tooltip/taiga-ui-legacy-components-tooltip.mjs +0 -5
- package/esm2022/components/tooltip/tooltip.component.mjs +0 -27
- package/esm2022/components/tooltip/tooltip.module.mjs +0 -24
- package/esm2022/directives/index.mjs +0 -6
- package/esm2022/directives/legacy-dropdown-open-monitor/index.mjs +0 -2
- package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +0 -44
- package/esm2022/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -5
- package/esm2022/directives/taiga-ui-legacy-directives.mjs +0 -5
- package/esm2022/directives/textfield-controller/index.mjs +0 -15
- package/esm2022/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.mjs +0 -5
- package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +0 -34
- package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +0 -28
- package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +0 -72
- package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +0 -44
- package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +0 -28
- package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +0 -28
- package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +0 -24
- package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +0 -24
- package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +0 -32
- package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +0 -28
- package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +0 -28
- package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +0 -28
- package/esm2022/directives/textfield-controller/textfield.controller.mjs +0 -49
- package/esm2022/directives/textfield-controller/textfield.options.mjs +0 -21
- package/esm2022/directives/unfinished-validator/index.mjs +0 -3
- package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -5
- package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -30
- package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -15
- package/esm2022/directives/value-accessor/index.mjs +0 -4
- package/esm2022/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.mjs +0 -5
- package/esm2022/directives/value-accessor/value-accessor.directive.mjs +0 -17
- package/esm2022/directives/value-accessor/value-accessor.module.mjs +0 -17
- package/esm2022/directives/value-accessor/value-accessor.provider.mjs +0 -10
- package/esm2022/directives/wrapper/index.mjs +0 -3
- package/esm2022/directives/wrapper/taiga-ui-legacy-directives-wrapper.mjs +0 -5
- package/esm2022/directives/wrapper/wrapper.directive.mjs +0 -77
- package/esm2022/directives/wrapper/wrapper.module.mjs +0 -20
- package/esm2022/index.mjs +0 -8
- package/esm2022/pipes/format-phone/format-phone.pipe.mjs +0 -54
- package/esm2022/pipes/format-phone/index.mjs +0 -2
- package/esm2022/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.mjs +0 -5
- package/esm2022/pipes/index.mjs +0 -4
- package/esm2022/pipes/iso-to-country-code/index.mjs +0 -2
- package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +0 -44
- package/esm2022/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -5
- package/esm2022/pipes/taiga-ui-legacy-pipes.mjs +0 -5
- package/esm2022/pipes/to-country-code/index.mjs +0 -2
- package/esm2022/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.mjs +0 -5
- package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +0 -74
- package/esm2022/services/index.mjs +0 -2
- package/esm2022/services/static-request.service.mjs +0 -36
- package/esm2022/services/taiga-ui-legacy-services.mjs +0 -5
- package/esm2022/taiga-ui-legacy.mjs +0 -5
- package/esm2022/tokens/countries-masks.mjs +0 -257
- package/esm2022/tokens/focusable-item-accessor.mjs +0 -14
- package/esm2022/tokens/fonts-ready.mjs +0 -10
- package/esm2022/tokens/icons.mjs +0 -9
- package/esm2022/tokens/index.mjs +0 -15
- package/esm2022/tokens/is-apple.mjs +0 -11
- package/esm2022/tokens/is-chromium.mjs +0 -10
- package/esm2022/tokens/is-firefox.mjs +0 -11
- package/esm2022/tokens/is-stackblitz.mjs +0 -9
- package/esm2022/tokens/month-formatter.mjs +0 -18
- package/esm2022/tokens/sanitizer.mjs +0 -7
- package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +0 -5
- package/esm2022/tokens/textfield-appearance.mjs +0 -10
- package/esm2022/tokens/textfield-host.mjs +0 -14
- package/esm2022/tokens/touch-supported.mjs +0 -9
- package/esm2022/tokens/value-accessor.mjs +0 -7
- package/esm2022/utils/capitalize-first-letter.mjs +0 -7
- package/esm2022/utils/date-mode-maskito-adapter.mjs +0 -9
- package/esm2022/utils/format-phone.mjs +0 -60
- package/esm2022/utils/get-border.mjs +0 -23
- package/esm2022/utils/get-max-allowed-phone-length.mjs +0 -26
- package/esm2022/utils/get-safe-area-size.mjs +0 -18
- package/esm2022/utils/icons-path-factory.mjs +0 -22
- package/esm2022/utils/index.mjs +0 -14
- package/esm2022/utils/is-apple.mjs +0 -6
- package/esm2022/utils/is-presumed-html-string.mjs +0 -8
- package/esm2022/utils/iso-to-country-code.mjs +0 -16
- package/esm2022/utils/not-kz-region.mjs +0 -24
- package/esm2022/utils/process-icon.mjs +0 -34
- package/esm2022/utils/specific-dropdown-controllers.mjs +0 -9
- package/esm2022/utils/status.mjs +0 -2
- package/esm2022/utils/taiga-ui-legacy-utils.mjs +0 -5
- package/fesm2022/taiga-ui-legacy-classes.mjs +0 -416
- package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
- package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -301
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -356
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -373
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -200
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -434
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
- package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
- package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
- package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -690
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -354
- package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -574
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -389
- package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -145
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -226
- package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -50
- package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -50
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
- package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
- package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -60
- package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
- package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
- package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
- package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
- package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
- package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
- package/fesm2022/taiga-ui-legacy-utils.mjs +0 -268
- package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
- package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
- package/pipes/format-phone/index.d.ts +0 -1
- package/pipes/index.d.ts +0 -3
- package/pipes/iso-to-country-code/index.d.ts +0 -1
- package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
- package/pipes/to-country-code/index.d.ts +0 -1
- package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
- package/services/index.d.ts +0 -1
- package/services/static-request.service.d.ts +0 -11
- package/styles/mixins/mixins.less +0 -239
- package/styles/mixins/mixins.scss +0 -224
- package/styles/mixins/textfield.less +0 -322
- package/styles/mixins/textfield.scss +0 -308
- package/styles/taiga-ui-local.less +0 -3
- package/styles/taiga-ui-local.scss +0 -3
- package/tokens/countries-masks.d.ts +0 -9
- package/tokens/focusable-item-accessor.d.ts +0 -25
- package/tokens/fonts-ready.d.ts +0 -6
- package/tokens/icons.d.ts +0 -6
- package/tokens/index.d.ts +0 -14
- package/tokens/is-apple.d.ts +0 -6
- package/tokens/is-chromium.d.ts +0 -6
- package/tokens/is-firefox.d.ts +0 -6
- package/tokens/is-stackblitz.d.ts +0 -5
- package/tokens/month-formatter.d.ts +0 -10
- package/tokens/sanitizer.d.ts +0 -6
- package/tokens/textfield-appearance.d.ts +0 -7
- package/tokens/textfield-host.d.ts +0 -23
- package/tokens/touch-supported.d.ts +0 -5
- package/tokens/value-accessor.d.ts +0 -7
- package/utils/capitalize-first-letter.d.ts +0 -4
- package/utils/date-mode-maskito-adapter.d.ts +0 -6
- package/utils/format-phone.d.ts +0 -30
- package/utils/get-border.d.ts +0 -5
- package/utils/get-max-allowed-phone-length.d.ts +0 -24
- package/utils/get-safe-area-size.d.ts +0 -7
- package/utils/icons-path-factory.d.ts +0 -13
- package/utils/index.d.ts +0 -14
- package/utils/is-apple.d.ts +0 -5
- package/utils/is-presumed-html-string.d.ts +0 -4
- package/utils/iso-to-country-code.d.ts +0 -13
- package/utils/not-kz-region.d.ts +0 -20
- package/utils/process-icon.d.ts +0 -4
- package/utils/specific-dropdown-controllers.d.ts +0 -4
- package/utils/status.d.ts +0 -4
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './input-color.component';
|
|
2
|
-
export * from './input-color.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9pbnB1dC1jb2xvci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2lucHV0LWNvbG9yLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2lucHV0LWNvbG9yLm1vZHVsZSc7XG4iXX0=
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, inject, Input, ViewChild, } from '@angular/core';
|
|
3
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
-
import { tuiGetGradientData, tuiParseGradient, tuiToGradient, } from '@taiga-ui/cdk/utils/color';
|
|
5
|
-
import { tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
6
|
-
import { tuiDropdownOptionsProvider } from '@taiga-ui/core/directives/dropdown';
|
|
7
|
-
import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
|
|
8
|
-
import { TuiPrimitiveTextfieldComponent } from '@taiga-ui/legacy/components/primitive-textfield';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
11
|
-
import * as i2 from "@taiga-ui/legacy/directives/textfield-controller";
|
|
12
|
-
import * as i3 from "@taiga-ui/legacy/components/color-selector";
|
|
13
|
-
import * as i4 from "@maskito/angular";
|
|
14
|
-
import * as i5 from "@taiga-ui/core/directives/dropdown";
|
|
15
|
-
/**
|
|
16
|
-
* TODO(v5): delete it
|
|
17
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
|
|
18
|
-
*/
|
|
19
|
-
class TuiInputColorComponent extends AbstractTuiControl {
|
|
20
|
-
constructor() {
|
|
21
|
-
super(...arguments);
|
|
22
|
-
this.domSanitizer = inject(DomSanitizer);
|
|
23
|
-
this.colors = new Map();
|
|
24
|
-
this.open = false;
|
|
25
|
-
}
|
|
26
|
-
get focused() {
|
|
27
|
-
return !!this.textfield?.focused;
|
|
28
|
-
}
|
|
29
|
-
get nativeFocusableElement() {
|
|
30
|
-
return this.computedDisabled || !this.textfield
|
|
31
|
-
? null
|
|
32
|
-
: this.textfield.nativeFocusableElement;
|
|
33
|
-
}
|
|
34
|
-
get background() {
|
|
35
|
-
return this.sanitize(this.value, this.domSanitizer);
|
|
36
|
-
}
|
|
37
|
-
get mode() {
|
|
38
|
-
if (this.value.startsWith('#')) {
|
|
39
|
-
return 'hex';
|
|
40
|
-
}
|
|
41
|
-
return this.value.startsWith('rgb') ? 'rgb' : 'gradient';
|
|
42
|
-
}
|
|
43
|
-
maskitoOptions(mode) {
|
|
44
|
-
return mode === 'hex' ? { mask: ['#', ...new Array(6).fill(/[0-9a-f]/i)] } : null;
|
|
45
|
-
}
|
|
46
|
-
onClick() {
|
|
47
|
-
this.open = !this.open;
|
|
48
|
-
}
|
|
49
|
-
/** deprecated use 'value' setter */
|
|
50
|
-
onValueChange(textValue) {
|
|
51
|
-
this.value = textValue;
|
|
52
|
-
}
|
|
53
|
-
onFocused(focused) {
|
|
54
|
-
this.updateFocused(focused);
|
|
55
|
-
}
|
|
56
|
-
getFallbackValue() {
|
|
57
|
-
return '#000000';
|
|
58
|
-
}
|
|
59
|
-
sanitize(value, domSanitizer) {
|
|
60
|
-
return value.startsWith('linear-gradient(')
|
|
61
|
-
? domSanitizer.bypassSecurityTrustStyle(tuiToGradient(tuiParseGradient(tuiGetGradientData(value))))
|
|
62
|
-
: value;
|
|
63
|
-
}
|
|
64
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputColorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
65
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputColorComponent, selector: "tui-input-color", inputs: { colors: "colors" }, host: { listeners: { "click": "onClick()" } }, viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"t-wrapper\"\n [tuiDropdown]=\"picker\"\n [(tuiDropdownOpen)]=\"open\"\n>\n <tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskitoOptions(mode)\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIconLeft]=\"color\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n >\n <ng-content />\n </tui-primitive-textfield>\n</div>\n\n<ng-template #color>\n <div\n class=\"t-color\"\n [style.background]=\"background\"\n ></div>\n</ng-template>\n\n<ng-template #picker>\n <tui-color-selector\n [colors]=\"colors\"\n [(color)]=\"value\"\n />\n</ng-template>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-wrapper{display:flex;border-radius:inherit;inline-size:100%}.t-textfield{border-radius:inherit;text-align:inherit;inline-size:inherit}.t-textfield ::ng-deep .t-input{text-transform:lowercase!important}.t-color{inline-size:1.5rem;block-size:1.5rem;box-shadow:inset 0 0 0 1px var(--tui-base-03-dark);border-radius:.125rem;pointer-events:auto!important}\n"], dependencies: [{ kind: "component", type: i1.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i1.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i2.TuiTextfieldIconLeftDirective, selector: "[tuiTextfieldIconLeft]", inputs: ["tuiTextfieldIconLeft"] }, { kind: "component", type: i3.TuiColorSelectorComponent, selector: "tui-color-selector", inputs: ["colors", "color"], outputs: ["colorChange"] }, { kind: "directive", type: i4.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { kind: "directive", type: i5.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i5.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }], viewProviders: [tuiDropdownOptionsProvider({ maxHeight: 600 })], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
66
|
-
}
|
|
67
|
-
__decorate([
|
|
68
|
-
tuiPure
|
|
69
|
-
], TuiInputColorComponent.prototype, "maskitoOptions", null);
|
|
70
|
-
__decorate([
|
|
71
|
-
tuiPure
|
|
72
|
-
], TuiInputColorComponent.prototype, "sanitize", null);
|
|
73
|
-
export { TuiInputColorComponent };
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputColorComponent, decorators: [{
|
|
75
|
-
type: Component,
|
|
76
|
-
args: [{ standalone: false, selector: 'tui-input-color', changeDetection: ChangeDetectionStrategy.OnPush, viewProviders: [tuiDropdownOptionsProvider({ maxHeight: 600 })], host: {
|
|
77
|
-
'(click)': 'onClick()',
|
|
78
|
-
}, template: "<div\n class=\"t-wrapper\"\n [tuiDropdown]=\"picker\"\n [(tuiDropdownOpen)]=\"open\"\n>\n <tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskitoOptions(mode)\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIconLeft]=\"color\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n >\n <ng-content />\n </tui-primitive-textfield>\n</div>\n\n<ng-template #color>\n <div\n class=\"t-color\"\n [style.background]=\"background\"\n ></div>\n</ng-template>\n\n<ng-template #picker>\n <tui-color-selector\n [colors]=\"colors\"\n [(color)]=\"value\"\n />\n</ng-template>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-wrapper{display:flex;border-radius:inherit;inline-size:100%}.t-textfield{border-radius:inherit;text-align:inherit;inline-size:inherit}.t-textfield ::ng-deep .t-input{text-transform:lowercase!important}.t-color{inline-size:1.5rem;block-size:1.5rem;box-shadow:inset 0 0 0 1px var(--tui-base-03-dark);border-radius:.125rem;pointer-events:auto!important}\n"] }]
|
|
79
|
-
}], propDecorators: { textfield: [{
|
|
80
|
-
type: ViewChild,
|
|
81
|
-
args: [TuiPrimitiveTextfieldComponent]
|
|
82
|
-
}], colors: [{
|
|
83
|
-
type: Input
|
|
84
|
-
}], maskitoOptions: [], sanitize: [] } });
|
|
85
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtY29sb3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2NvbXBvbmVudHMvaW5wdXQtY29sb3IvaW5wdXQtY29sb3IuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnY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XCJcbiAgICAvPlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { MaskitoDirective } from '@maskito/angular';
|
|
4
|
-
import { TuiDropdown } from '@taiga-ui/core/directives/dropdown';
|
|
5
|
-
import { TuiColorSelectorModule } from '@taiga-ui/legacy/components/color-selector';
|
|
6
|
-
import { TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
|
|
7
|
-
import { TuiTextfieldControllerModule } from '@taiga-ui/legacy/directives/textfield-controller';
|
|
8
|
-
import { TuiInputColorComponent } from './input-color.component';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "@taiga-ui/core/directives/dropdown";
|
|
11
|
-
/**
|
|
12
|
-
* TODO(v5): delete it
|
|
13
|
-
* @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
|
|
14
|
-
*/
|
|
15
|
-
class TuiInputColorModule {
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputColorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
17
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiInputColorModule, declarations: [TuiInputColorComponent], imports: [CommonModule,
|
|
18
|
-
TuiPrimitiveTextfieldModule,
|
|
19
|
-
TuiTextfieldControllerModule,
|
|
20
|
-
TuiColorSelectorModule,
|
|
21
|
-
MaskitoDirective, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownPortal, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection], exports: [TuiInputColorComponent, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownPortal, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection] }); }
|
|
22
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputColorModule, imports: [CommonModule,
|
|
23
|
-
TuiPrimitiveTextfieldModule,
|
|
24
|
-
TuiTextfieldControllerModule,
|
|
25
|
-
TuiColorSelectorModule, i1.TuiDropdownComponent] }); }
|
|
26
|
-
}
|
|
27
|
-
export { TuiInputColorModule };
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputColorModule, decorators: [{
|
|
29
|
-
type: NgModule,
|
|
30
|
-
args: [{
|
|
31
|
-
imports: [
|
|
32
|
-
CommonModule,
|
|
33
|
-
TuiPrimitiveTextfieldModule,
|
|
34
|
-
TuiTextfieldControllerModule,
|
|
35
|
-
TuiColorSelectorModule,
|
|
36
|
-
MaskitoDirective,
|
|
37
|
-
...TuiDropdown,
|
|
38
|
-
],
|
|
39
|
-
declarations: [TuiInputColorComponent],
|
|
40
|
-
exports: [TuiInputColorComponent, ...TuiDropdown],
|
|
41
|
-
}]
|
|
42
|
-
}] });
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtY29sb3IubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2NvbXBvbmVudHMvaW5wdX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ZWFkXG4gKi9cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW1xuICAgICAgICBDb21tb25Nb2R1bGUsXG4gICAgICAgIFR1aVByaW1pdGl2ZVRleHRmaWVsZE1vZHVsZSxcbiAgICAgICAgVHVpVGV4dGZpZWxkQ29udHJvbGxlck1vZHVsZSxcbiAgICAgICAgVHVpQ29sb3JTZWxlY3Rvck1vZHVsZSxcbiAgICAgICAgTWFza2l0b0RpcmVjdGl2ZSxcbiAgICAgICAgLi4uVHVpRHJvcGRvd24sXG4gICAgXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtUdWlJbnB1dENvbG9yQ29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbVHVpSW5wdXRDb2xvckNvbXBvbmVudCwgLi4uVHVpRHJvcGRvd25dLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlJbnB1dENvbG9yTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktbGVnYWN5LWNvbXBvbmVudHMtaW5wdXQtY29sb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9pbnB1dC1jb2xvci90YWlnYS11aS1sZWdhY3ktY29tcG9uZW50cy1pbnB1dC1jb2xvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from './input-copy.component';
|
|
2
|
-
export * from './input-copy.directive';
|
|
3
|
-
export * from './input-copy.module';
|
|
4
|
-
export * from './input-copy.options';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9pbnB1dC1jb3B5L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2lucHV0LWNvcHkuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vaW5wdXQtY29weS5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9pbnB1dC1jb3B5Lm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2lucHV0LWNvcHkub3B0aW9ucyc7XG4iXX0=
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { DOCUMENT } from '@angular/common';
|
|
3
|
-
import { ChangeDetectionStrategy, Component, inject, Input, ViewChild, } from '@angular/core';
|
|
4
|
-
import { tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
5
|
-
import { TUI_COPY_TEXTS } from '@taiga-ui/kit/tokens';
|
|
6
|
-
import { AbstractTuiControl, tuiAsControl } from '@taiga-ui/legacy/classes';
|
|
7
|
-
import { TuiPrimitiveTextfieldComponent } from '@taiga-ui/legacy/components/primitive-textfield';
|
|
8
|
-
import { TUI_TEXTFIELD_SIZE, TUI_VALUE_ACCESSOR_PROVIDER, } from '@taiga-ui/legacy/directives';
|
|
9
|
-
import { tuiAsFocusableItemAccessor, } from '@taiga-ui/legacy/tokens';
|
|
10
|
-
import { BehaviorSubject, map, merge, of, switchMap, timer } from 'rxjs';
|
|
11
|
-
import { TUI_INPUT_COPY_OPTIONS } from './input-copy.options';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
import * as i1 from "@taiga-ui/polymorpheus";
|
|
14
|
-
import * as i2 from "@taiga-ui/legacy/components/primitive-textfield";
|
|
15
|
-
import * as i3 from "@taiga-ui/legacy/directives";
|
|
16
|
-
import * as i4 from "@taiga-ui/core/directives/appearance";
|
|
17
|
-
import * as i5 from "@taiga-ui/core/components/icon";
|
|
18
|
-
import * as i6 from "@taiga-ui/core/directives/hint";
|
|
19
|
-
import * as i7 from "@angular/common";
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
22
|
-
*/
|
|
23
|
-
class TuiInputCopyComponent extends AbstractTuiControl {
|
|
24
|
-
constructor() {
|
|
25
|
-
super(...arguments);
|
|
26
|
-
this.copied$ = new BehaviorSubject(false);
|
|
27
|
-
this.doc = inject(DOCUMENT);
|
|
28
|
-
this.copyTexts$ = inject(TUI_COPY_TEXTS);
|
|
29
|
-
this.options = inject(TUI_INPUT_COPY_OPTIONS);
|
|
30
|
-
this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
|
|
31
|
-
this.successMessage = this.options.successMessage;
|
|
32
|
-
this.messageDirection = this.options.messageDirection;
|
|
33
|
-
this.messageAppearance = this.options.messageAppearance;
|
|
34
|
-
}
|
|
35
|
-
get nativeFocusableElement() {
|
|
36
|
-
return this.computedDisabled || !this.textfield
|
|
37
|
-
? null
|
|
38
|
-
: this.textfield.nativeFocusableElement;
|
|
39
|
-
}
|
|
40
|
-
get focused() {
|
|
41
|
-
return !!this.textfield?.focused;
|
|
42
|
-
}
|
|
43
|
-
onValueChange(value) {
|
|
44
|
-
this.value = value;
|
|
45
|
-
}
|
|
46
|
-
get hintText$() {
|
|
47
|
-
return this.copyTexts$.pipe(switchMap((texts) => this.copied$.pipe(switchMap((copied) => {
|
|
48
|
-
if (!copied) {
|
|
49
|
-
return of(texts[0]);
|
|
50
|
-
}
|
|
51
|
-
this.copied$.next(false);
|
|
52
|
-
return merge(of(this.successMessage || texts[1]), timer(3000).pipe(map(() => texts[0])));
|
|
53
|
-
}))));
|
|
54
|
-
}
|
|
55
|
-
get size() {
|
|
56
|
-
return this.textfieldSize.size;
|
|
57
|
-
}
|
|
58
|
-
get icon() {
|
|
59
|
-
return this.options.icon;
|
|
60
|
-
}
|
|
61
|
-
onFocused(focused) {
|
|
62
|
-
this.updateFocused(focused);
|
|
63
|
-
}
|
|
64
|
-
copy() {
|
|
65
|
-
if (!this.textfield?.nativeFocusableElement) {
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
|
-
this.textfield.nativeFocusableElement.select();
|
|
69
|
-
this.doc.execCommand('copy');
|
|
70
|
-
this.copied$.next(true);
|
|
71
|
-
}
|
|
72
|
-
getFallbackValue() {
|
|
73
|
-
return '';
|
|
74
|
-
}
|
|
75
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
76
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputCopyComponent, selector: "tui-input-copy", inputs: { successMessage: "successMessage", messageDirection: "messageDirection", messageAppearance: "messageAppearance" }, host: { properties: { "attr.data-size": "size" } }, providers: [
|
|
77
|
-
TUI_VALUE_ACCESSOR_PROVIDER,
|
|
78
|
-
tuiAsFocusableItemAccessor(TuiInputCopyComponent),
|
|
79
|
-
tuiAsControl(TuiInputCopyComponent),
|
|
80
|
-
], viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"!disabled ? iconContent : ''\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n>\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n</tui-primitive-textfield>\n\n<ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n automation-id=\"tui-copy__icon\"\n tuiAppearance=\"icon\"\n class=\"t-icon\"\n [class.t-icon_small]=\"size === 's'\"\n [icon]=\"src.toString()\"\n [tuiAppearanceState]=\"!value ? 'disabled' : null\"\n [tuiHint]=\"hint\"\n [tuiHintAppearance]=\"messageAppearance\"\n [tuiHintDirection]=\"messageDirection\"\n (click)=\"copy()\"\n />\n</ng-template>\n\n<ng-template #hint>\n <ng-container *polymorpheusOutlet=\"hintText$ | async as text\">\n {{ text }}\n </ng-container>\n</ng-template>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-icon{position:relative;cursor:pointer;pointer-events:auto}.t-icon_small{border-width:.25rem}.t-textfield{border-radius:inherit;text-align:inherit}\n"], dependencies: [{ kind: "directive", type: i1.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i2.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i2.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i3.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i4.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "component", type: i5.TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "directive", type: i6.TuiHintDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHintContext", "tuiHintAppearance", "tuiHint"], outputs: ["tuiHintVisible"] }, { kind: "pipe", type: i7.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
81
|
-
}
|
|
82
|
-
__decorate([
|
|
83
|
-
tuiPure
|
|
84
|
-
], TuiInputCopyComponent.prototype, "hintText$", null);
|
|
85
|
-
export { TuiInputCopyComponent };
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyComponent, decorators: [{
|
|
87
|
-
type: Component,
|
|
88
|
-
args: [{ standalone: false, selector: 'tui-input-copy', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
89
|
-
TUI_VALUE_ACCESSOR_PROVIDER,
|
|
90
|
-
tuiAsFocusableItemAccessor(TuiInputCopyComponent),
|
|
91
|
-
tuiAsControl(TuiInputCopyComponent),
|
|
92
|
-
], host: {
|
|
93
|
-
'[attr.data-size]': 'size',
|
|
94
|
-
}, template: "<tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"!disabled ? iconContent : ''\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n>\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n</tui-primitive-textfield>\n\n<ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n automation-id=\"tui-copy__icon\"\n tuiAppearance=\"icon\"\n class=\"t-icon\"\n [class.t-icon_small]=\"size === 's'\"\n [icon]=\"src.toString()\"\n [tuiAppearanceState]=\"!value ? 'disabled' : null\"\n [tuiHint]=\"hint\"\n [tuiHintAppearance]=\"messageAppearance\"\n [tuiHintDirection]=\"messageDirection\"\n (click)=\"copy()\"\n />\n</ng-template>\n\n<ng-template #hint>\n <ng-container *polymorpheusOutlet=\"hintText$ | async as text\">\n {{ text }}\n </ng-container>\n</ng-template>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-icon{position:relative;cursor:pointer;pointer-events:auto}.t-icon_small{border-width:.25rem}.t-textfield{border-radius:inherit;text-align:inherit}\n"] }]
|
|
95
|
-
}], propDecorators: { textfield: [{
|
|
96
|
-
type: ViewChild,
|
|
97
|
-
args: [TuiPrimitiveTextfieldComponent]
|
|
98
|
-
}], successMessage: [{
|
|
99
|
-
type: Input
|
|
100
|
-
}], messageDirection: [{
|
|
101
|
-
type: Input
|
|
102
|
-
}], messageAppearance: [{
|
|
103
|
-
type: Input
|
|
104
|
-
}], hintText$: [] } });
|
|
105
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtY29weS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9pbnB1dC1jb3B5L2lucHV0LWNvcHkuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2NvbXBvbmVudHMvaW5wdXQtY29weS9pbnB1dC1jb3B5LnR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B2YWx1ZTtcbiAgICB9XG5cbiAgICBAdHVpUHVyZVxuICAgIHByb3RlY3RlZCBnZXQgaGludFRleHQkKCk6IE9ic2VydmFibGU8UG9seW1vcnBoZXVzQ29udGVudD4ge1xuICAgICAgICByZXR1cm4gdGhpcy5jb3B5VGV4dHMkLnBpcGUoXG4gICAgICAgICAgICBzd2l0Y2hNYXAoKHRleHRzKSA9PlxuICAgICAgICAgICAgICAgIHRoaXMuY29waWVkJC5waXBlKFxuICAgICAgICAgICAgICAgICAgICBzd2l0Y2hNYXAoKGNvcGllZCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFjb3BpZWQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gb2YodGV4dHNbMF0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmNvcGllZCQubmV4dChmYWxzZSk7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBtZXJnZShcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBvZih0aGlzLnN1Y2Nlc3NNZXNzYWdlIHx8IHRleHRzWzFdKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aW1lcigzMDAwKS5waXBlKG1hcCgoKSA9PiB0ZXh0c1swXSkpLFxuICAgICAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICksXG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgcHJvdGVjdGVkIGdldCBzaXplKCk6IFR1aVNpemVMIHwgVHVpU2l6ZVMge1xuICAgICAgICByZXR1cm4gdGhpcy50ZXh0ZmllbGRTaXplLnNpemU7XG4gICAgfVxuXG4gICAgcHJvdGVjdGVkIGdldCBpY29uKCk6IFR1aUlucHV0Q29weU9wdGlvbnNbJ2ljb24nXSB7XG4gICAgICAgIHJldHVybiB0aGlzL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FzIHRleHRcIj5cbiAgICAgICAge3sgdGV4dCB9fVxuICAgIDwvbmctY29udGFpbmVyPlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
2
|
-
import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
|
|
3
|
-
import { tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
7
|
-
*/
|
|
8
|
-
class TuiInputCopyDirective extends AbstractTuiTextfieldHost {
|
|
9
|
-
onValueChange(value) {
|
|
10
|
-
this.host.onValueChange(value);
|
|
11
|
-
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
13
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputCopyDirective, selector: "tui-input-copy", providers: [tuiAsTextfieldHost(TuiInputCopyDirective)], usesInheritance: true, ngImport: i0 }); }
|
|
14
|
-
}
|
|
15
|
-
export { TuiInputCopyDirective };
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyDirective, decorators: [{
|
|
17
|
-
type: Directive,
|
|
18
|
-
args: [{
|
|
19
|
-
standalone: false,
|
|
20
|
-
selector: 'tui-input-copy',
|
|
21
|
-
providers: [tuiAsTextfieldHost(TuiInputCopyDirective)],
|
|
22
|
-
}]
|
|
23
|
-
}] });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtY29weS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ij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Q29weUNvbXBvbmVudH0gZnJvbSAnLi9pbnB1dC1jb3B5LmNvbXBvbmVudCc7XG5cbi8qKlxuICogQGRlcHJlY2F0ZWQgdXNlIHtAbGluayBUdWlDb3B5fSB3aXRoIHtAbGluayBUdWlUZXh0ZmllbGR9XG4gKi9cbkBEaXJlY3RpdmUoe1xuICAgIHN0YW5kYWxvbmU6IGZhbHNlLFxuICAgIHNlbGVjdG9yOiAndHVpLWlucHV0LWNvcHknLFxuICAgIHByb3ZpZGVyczogW3R1aUFzVGV4dGZpZWxkSG9zdChUdWlJbnB1dENvcHlEaXJlY3RpdmUpXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpSW5wdXRDb3B5RGlyZWN0aXZlIGV4dGVuZHMgQWJzdHJhY3RUdWlUZXh0ZmllbGRIb3N0PFR1aUlucHV0Q29weUNvbXBvbmVudD4ge1xuICAgIHB1YmxpYyBvblZhbHVlQ2hhbmdlKHZhbHVlOiBzdHJpbmcpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5ob3N0Lm9uVmFsdWVDaGFuZ2UodmFsdWUpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { TuiIcon } from '@taiga-ui/core/components/icon';
|
|
4
|
-
import { TuiAppearance } from '@taiga-ui/core/directives/appearance';
|
|
5
|
-
import { TuiHint } from '@taiga-ui/core/directives/hint';
|
|
6
|
-
import { TuiPrimitiveTextfieldModule, TuiTextfieldComponent, } from '@taiga-ui/legacy/components/primitive-textfield';
|
|
7
|
-
import { TuiTextfieldControllerModule } from '@taiga-ui/legacy/directives';
|
|
8
|
-
import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
|
|
9
|
-
import { TuiInputCopyComponent } from './input-copy.component';
|
|
10
|
-
import { TuiInputCopyDirective } from './input-copy.directive';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "@taiga-ui/core/directives/hint";
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
15
|
-
*/
|
|
16
|
-
class TuiInputCopyModule {
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
18
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyModule, declarations: [TuiInputCopyComponent, TuiInputCopyDirective], imports: [CommonModule,
|
|
19
|
-
PolymorpheusOutlet,
|
|
20
|
-
PolymorpheusTemplate,
|
|
21
|
-
TuiPrimitiveTextfieldModule,
|
|
22
|
-
TuiTextfieldControllerModule,
|
|
23
|
-
TuiAppearance,
|
|
24
|
-
TuiIcon, i1.TuiHintComponent, i1.TuiHintDirective, i1.TuiHintOptionsDirective, i1.TuiHintUnstyled, i1.TuiHintDriver, i1.TuiHintPosition, i1.TuiHintHover, i1.TuiHintOverflow, i1.TuiHintDescribe, i1.TuiHintHost, i1.TuiHintManual, i1.TuiHintPointer], exports: [TuiInputCopyComponent,
|
|
25
|
-
TuiInputCopyDirective,
|
|
26
|
-
TuiTextfieldComponent, i1.TuiHintComponent, i1.TuiHintDirective, i1.TuiHintOptionsDirective, i1.TuiHintUnstyled, i1.TuiHintDriver, i1.TuiHintPosition, i1.TuiHintHover, i1.TuiHintOverflow, i1.TuiHintDescribe, i1.TuiHintHost, i1.TuiHintManual, i1.TuiHintPointer] }); }
|
|
27
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyModule, imports: [CommonModule,
|
|
28
|
-
TuiPrimitiveTextfieldModule,
|
|
29
|
-
TuiTextfieldControllerModule,
|
|
30
|
-
TuiIcon, i1.TuiHintComponent] }); }
|
|
31
|
-
}
|
|
32
|
-
export { TuiInputCopyModule };
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyModule, decorators: [{
|
|
34
|
-
type: NgModule,
|
|
35
|
-
args: [{
|
|
36
|
-
imports: [
|
|
37
|
-
CommonModule,
|
|
38
|
-
PolymorpheusOutlet,
|
|
39
|
-
PolymorpheusTemplate,
|
|
40
|
-
TuiPrimitiveTextfieldModule,
|
|
41
|
-
TuiTextfieldControllerModule,
|
|
42
|
-
TuiAppearance,
|
|
43
|
-
TuiIcon,
|
|
44
|
-
...TuiHint,
|
|
45
|
-
],
|
|
46
|
-
declarations: [TuiInputCopyComponent, TuiInputCopyDirective],
|
|
47
|
-
exports: [
|
|
48
|
-
TuiInputCopyComponent,
|
|
49
|
-
TuiInputCopyDirective,
|
|
50
|
-
TuiTextfieldComponent,
|
|
51
|
-
...TuiHint,
|
|
52
|
-
],
|
|
53
|
-
}]
|
|
54
|
-
}] });
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtY29weS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9pbnB1dC1jb3B5L2lucHV0LWNvcHkubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxPQUFPLEVBQUMsTUFBTSxnQ0FBZ0MsQ0FBQztBQUN2RCxPQUFPLEVBQUMsYUFBYSxFQUFDLE1BQU0sc0NBQXNDLENBQUM7QUFDbkU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B7QGxpbmsgVHVpQ29weX0gd2l0aCB7QGxpbmsgVHVpVGV4dGZpZWxkfVxuICovXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBQb2x5bW9ycGhldXNPdXRsZXQsXG4gICAgICAgIFBvbHltb3JwaGV1c1RlbXBsYXRlLFxuICAgICAgICBUdWlQcmltaXRpdmVUZXh0ZmllbGRNb2R1bGUsXG4gICAgICAgIFR1aVRleHRmaWVsZENvbnRyb2xsZXJNb2R1bGUsXG4gICAgICAgIFR1aUFwcGVhcmFuY2UsXG4gICAgICAgIFR1aUljb24sXG4gICAgICAgIC4uLlR1aUhpbnQsXG4gICAgXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtUdWlJbnB1dENvcHlDb21wb25lbnQsIFR1aUlucHV0Q29weURpcmVjdGl2ZV0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBUdWlJbnB1dENvcHlDb21wb25lbnQsXG4gICAgICAgIFR1aUlucHV0Q29weURpcmVjdGl2ZSxcbiAgICAgICAgVHVpVGV4dGZpZWxkQ29tcG9uZW50LFxuICAgICAgICAuLi5UdWlIaW50LFxuICAgIF0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUlucHV0Q29weU1vZHVsZSB7fVxuIl19
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
5
|
-
*/
|
|
6
|
-
export const TUI_INPUT_COPY_DEFAULT_OPTIONS = {
|
|
7
|
-
successMessage: '',
|
|
8
|
-
messageDirection: 'bottom-left',
|
|
9
|
-
messageAppearance: '',
|
|
10
|
-
icon: () => '@tui.copy',
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
14
|
-
*/
|
|
15
|
-
export const TUI_INPUT_COPY_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_INPUT_COPY_OPTIONS' : '', {
|
|
16
|
-
factory: () => TUI_INPUT_COPY_DEFAULT_OPTIONS,
|
|
17
|
-
});
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated use {@link TuiCopy} with {@link TuiTextfield}
|
|
20
|
-
*/
|
|
21
|
-
export function tuiInputCopyOptionsProvider(options) {
|
|
22
|
-
return tuiProvideOptions(TUI_INPUT_COPY_OPTIONS, options, TUI_INPUT_COPY_DEFAULT_OPTIONS);
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtY29weS5vcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGVnYWN5L2NvbXBvbmVudHMvaW5wdXQtY29weS9pbnB1dC1jb3B5Lm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGNBQWMsRUFBZ0IsTUFBTSxlQUFlLENBQUM7QUFFNUQsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFlcEU7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSw4QkFBOEIsR0FBd0I7SUFDL0QsY0FBYyxFQUFFLEVBQUU7SUFDbEIsZ0JBQWdCLEVBQUUsYUFBYTtJQUMvQixpQkFBaUIsRUFBRSxFQUFFO0lBQ3JCLElBQUksRUFBRSxHQUFHLEVBQUUsQ0FBQyxXQUFXO0NBQzFCLENBQUM7QUFFRjs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLHNCQUFzQixHQUFHLElBQUksY0FBYyxDQUNwRCxTQUFTLENBQUMsQ0FBQyxDQUFDLHdCQUF3QixDQU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W5wdXRDb3B5T3B0aW9ucz4sXG4pOiBQcm92aWRlciB7XG4gICAgcmV0dXJuIHR1aVByb3ZpZGVPcHRpb25zKFxuICAgICAgICBUVUlfSU5QVVRfQ09QWV9PUFRJT05TLFxuICAgICAgICBvcHRpb25zLFxuICAgICAgICBUVUlfSU5QVVRfQ09QWV9ERUZBVUxUX09QVElPTlMsXG4gICAgKTtcbn1cbiJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktbGVnYWN5LWNvbXBvbmVudHMtaW5wdXQtY29weS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xlZ2FjeS9jb21wb25lbnRzL2lucHV0LWNvcHkvdGFpZ2EtdWktbGVnYWN5LWNvbXBvbmVudHMtaW5wdXQtY29weS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './input-date.component';
|
|
2
|
-
export * from './input-date.directive';
|
|
3
|
-
export * from './input-date.module';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sZWdhY3kvY29tcG9uZW50cy9pbnB1dC1kYXRlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLHFCQUFxQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pbnB1dC1kYXRlLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2lucHV0LWRhdGUuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vaW5wdXQtZGF0ZS5tb2R1bGUnO1xuIl19
|