@taiga-ui/legacy 4.4.1 → 4.5.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/classes/abstract-native-select.d.ts +1 -1
- package/components/color-selector/color-edit/color-edit.component.d.ts +1 -1
- package/components/input-date-range/input-date-range.component.d.ts +1 -4
- package/components/input-password/input-password.component.d.ts +4 -1
- package/components/input-password/input-password.directive.d.ts +3 -0
- package/components/input-password/input-password.module.d.ts +3 -0
- package/components/input-password/input-password.options.d.ts +12 -0
- package/components/input-tag/input-tag.component.d.ts +2 -1
- package/components/input-tag/input-tag.options.d.ts +1 -0
- package/components/input-time/native-time/native-time.component.d.ts +1 -1
- package/components/multi-select/multi-select.component.d.ts +2 -1
- package/components/primitive-textfield/primitive-textfield.component.d.ts +1 -0
- package/components/primitive-textfield/textfield/textfield.component.d.ts +1 -1
- package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +1 -1
- package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -6
- package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -6
- package/directives/textfield-controller/textfield-controller.module.d.ts +0 -3
- package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -6
- package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -6
- package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -6
- package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -6
- package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -6
- package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -6
- package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -6
- package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -6
- package/directives/textfield-controller/textfield-size.directive.d.ts +0 -6
- package/directives/textfield-controller/textfield.options.d.ts +0 -6
- package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -3
- package/directives/unfinished-validator/unfinished.validator.d.ts +0 -3
- package/directives/value-accessor/value-accessor.directive.d.ts +0 -3
- package/directives/value-accessor/value-accessor.module.d.ts +0 -3
- package/directives/value-accessor/value-accessor.provider.d.ts +0 -3
- package/esm2022/classes/abstract-native-select.mjs +4 -4
- package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +2 -2
- package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +2 -2
- package/esm2022/components/color-selector/color-selector.component.mjs +6 -6
- package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +2 -2
- package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +2 -2
- package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +2 -2
- package/esm2022/components/color-selector/palette/palette.component.mjs +2 -2
- package/esm2022/components/combo-box/combo-box.component.mjs +4 -4
- package/esm2022/components/input/input.component.mjs +3 -3
- package/esm2022/components/input-color/input-color.component.mjs +3 -3
- package/esm2022/components/input-copy/input-copy.component.mjs +2 -2
- package/esm2022/components/input-date/input-date.component.mjs +3 -3
- package/esm2022/components/input-date-multi/input-date-multi.component.mjs +2 -2
- package/esm2022/components/input-date-range/input-date-range.component.mjs +5 -19
- package/esm2022/components/input-date-time/input-date-time.component.mjs +4 -4
- package/esm2022/components/input-month/input-month.component.mjs +4 -4
- package/esm2022/components/input-month-range/input-month-range.component.mjs +2 -2
- package/esm2022/components/input-number/input-number.component.mjs +2 -2
- package/esm2022/components/input-password/input-password.component.mjs +6 -3
- package/esm2022/components/input-password/input-password.directive.mjs +4 -1
- package/esm2022/components/input-password/input-password.module.mjs +4 -1
- package/esm2022/components/input-password/input-password.options.mjs +10 -1
- package/esm2022/components/input-phone/input-phone.component.mjs +3 -3
- package/esm2022/components/input-phone-international/input-phone-international.component.mjs +3 -3
- package/esm2022/components/input-range/input-range.component.mjs +2 -2
- package/esm2022/components/input-slider/input-slider.component.mjs +2 -2
- package/esm2022/components/input-tag/input-tag.component.mjs +9 -6
- package/esm2022/components/input-tag/input-tag.options.mjs +3 -2
- package/esm2022/components/input-time/input-time.component.mjs +3 -3
- package/esm2022/components/input-time/native-time/native-time.component.mjs +9 -9
- package/esm2022/components/input-year/input-year.component.mjs +2 -2
- package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +1 -1
- package/esm2022/components/multi-select/multi-select.component.mjs +8 -5
- package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +2 -2
- package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +2 -2
- package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +11 -4
- package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +6 -6
- package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +2 -2
- package/esm2022/components/select/native-select/native-select-group.component.mjs +2 -2
- package/esm2022/components/select/native-select/native-select.component.mjs +2 -2
- package/esm2022/components/select/select.component.mjs +3 -3
- package/esm2022/components/select-option/select-option.component.mjs +2 -2
- package/esm2022/components/sheet/components/sheet/sheet.component.mjs +5 -4
- package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +3 -3
- package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +2 -2
- package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +6 -6
- package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +3 -3
- package/esm2022/components/svg/svg.component.mjs +3 -3
- package/esm2022/components/svg/svg.service.mjs +2 -2
- package/esm2022/components/table-bar/table-bar.component.mjs +3 -3
- package/esm2022/components/tag/tag.component.mjs +2 -2
- package/esm2022/components/textarea/textarea.component.mjs +2 -2
- package/esm2022/components/tooltip/tooltip.component.mjs +2 -2
- package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +1 -7
- package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +1 -7
- package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +1 -4
- package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +1 -7
- package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +1 -7
- package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +1 -7
- package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +1 -7
- package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +1 -7
- package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +1 -7
- package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +1 -7
- package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +1 -7
- package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +1 -7
- package/esm2022/directives/textfield-controller/textfield.options.mjs +1 -4
- package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +1 -4
- package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +1 -4
- package/esm2022/directives/value-accessor/value-accessor.directive.mjs +1 -4
- package/esm2022/directives/value-accessor/value-accessor.module.mjs +1 -4
- package/esm2022/directives/value-accessor/value-accessor.provider.mjs +1 -4
- package/fesm2022/taiga-ui-legacy-classes.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +17 -17
- package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +3 -17
- package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs +20 -2
- package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +10 -6
- package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs +10 -10
- package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-input.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +11 -8
- package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +17 -10
- package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-select.mjs +6 -6
- package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs +15 -14
- package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-svg.mjs +3 -3
- package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-tag.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +2 -2
- package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -72
- package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -6
- package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -9
- package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/mixins/mixins.less +6 -6
- package/styles/mixins/textfield.less +10 -10
- package/styles/mixins/textfield.scss +1 -1
- package/utils/icons-path-factory.d.ts +1 -1
|
@@ -69,20 +69,11 @@ const TUI_TEXTFIELD_DEFAULT_OPTIONS = {
|
|
|
69
69
|
* Default parameters for textfield
|
|
70
70
|
*/
|
|
71
71
|
const TUI_TEXTFIELD_OPTIONS = tuiCreateToken(TUI_TEXTFIELD_DEFAULT_OPTIONS);
|
|
72
|
-
/**
|
|
73
|
-
* @deprecated: drop in v5.0
|
|
74
|
-
*/
|
|
75
72
|
function tuiTextfieldOptionsProvider(options) {
|
|
76
73
|
return tuiProvideOptions(TUI_TEXTFIELD_OPTIONS, options, TUI_TEXTFIELD_DEFAULT_OPTIONS);
|
|
77
74
|
}
|
|
78
75
|
|
|
79
|
-
/**
|
|
80
|
-
* @deprecated: drop in v5.0
|
|
81
|
-
*/
|
|
82
76
|
const TUI_TEXTFIELD_APPEARANCE_DIRECTIVE = tuiCreateTokenFromFactory(() => new TuiTextfieldAppearanceDirective());
|
|
83
|
-
/**
|
|
84
|
-
* @deprecated: drop in v5.0
|
|
85
|
-
*/
|
|
86
77
|
class TuiTextfieldAppearanceDirective extends AbstractTuiController {
|
|
87
78
|
constructor() {
|
|
88
79
|
super(...arguments);
|
|
@@ -108,13 +99,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
108
99
|
args: ['tuiTextfieldAppearance']
|
|
109
100
|
}] } });
|
|
110
101
|
|
|
111
|
-
/**
|
|
112
|
-
* @deprecated: drop in v5.0
|
|
113
|
-
*/
|
|
114
102
|
const TUI_TEXTFIELD_CLEANER = tuiCreateTokenFromFactory(() => new TuiTextfieldCleanerDirective());
|
|
115
|
-
/**
|
|
116
|
-
* @deprecated: drop in v5.0
|
|
117
|
-
*/
|
|
118
103
|
class TuiTextfieldCleanerDirective extends AbstractTuiController {
|
|
119
104
|
constructor() {
|
|
120
105
|
super(...arguments);
|
|
@@ -134,13 +119,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
134
119
|
args: ['tuiTextfieldCleaner']
|
|
135
120
|
}] } });
|
|
136
121
|
|
|
137
|
-
/**
|
|
138
|
-
* @deprecated: drop in v5.0
|
|
139
|
-
*/
|
|
140
122
|
const TUI_TEXTFIELD_CUSTOM_CONTENT = tuiCreateTokenFromFactory(() => new TuiTextfieldCustomContentDirective());
|
|
141
|
-
/**
|
|
142
|
-
* @deprecated: drop in v5.0
|
|
143
|
-
*/
|
|
144
123
|
class TuiTextfieldCustomContentDirective extends AbstractTuiController {
|
|
145
124
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldCustomContentDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
146
125
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldCustomContentDirective, selector: "[tuiTextfieldCustomContent]", inputs: { customContent: ["tuiTextfieldCustomContent", "customContent"] }, providers: [
|
|
@@ -160,13 +139,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
160
139
|
args: ['tuiTextfieldCustomContent']
|
|
161
140
|
}] } });
|
|
162
141
|
|
|
163
|
-
/**
|
|
164
|
-
* @deprecated: drop in v5.0
|
|
165
|
-
*/
|
|
166
142
|
const TUI_TEXTFIELD_FILLER = tuiCreateTokenFromFactory(() => new TuiTextfieldFillerDirective());
|
|
167
|
-
/**
|
|
168
|
-
* @deprecated: drop in v5.0
|
|
169
|
-
*/
|
|
170
143
|
class TuiTextfieldFillerDirective extends AbstractTuiController {
|
|
171
144
|
constructor() {
|
|
172
145
|
super(...arguments);
|
|
@@ -186,13 +159,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
186
159
|
args: ['tuiTextfieldFiller']
|
|
187
160
|
}] } });
|
|
188
161
|
|
|
189
|
-
/**
|
|
190
|
-
* @deprecated: drop in v5.0
|
|
191
|
-
*/
|
|
192
162
|
const TUI_TEXTFIELD_ICON = tuiCreateTokenFromFactory(() => new TuiTextfieldIconDirective());
|
|
193
|
-
/**
|
|
194
|
-
* @deprecated: drop in v5.0
|
|
195
|
-
*/
|
|
196
163
|
class TuiTextfieldIconDirective extends AbstractTuiController {
|
|
197
164
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldIconDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
198
165
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: { icon: ["tuiTextfieldIcon", "icon"] }, providers: [tuiProvide(TUI_TEXTFIELD_ICON, TuiTextfieldIconDirective)], usesInheritance: true, ngImport: i0 }); }
|
|
@@ -208,13 +175,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
208
175
|
args: ['tuiTextfieldIcon']
|
|
209
176
|
}] } });
|
|
210
177
|
|
|
211
|
-
/**
|
|
212
|
-
* @deprecated: drop in v5.0
|
|
213
|
-
*/
|
|
214
178
|
const TUI_TEXTFIELD_ICON_LEFT = tuiCreateTokenFromFactory(() => new TuiTextfieldIconLeftDirective());
|
|
215
|
-
/**
|
|
216
|
-
* @deprecated: drop in v5.0
|
|
217
|
-
*/
|
|
218
179
|
class TuiTextfieldIconLeftDirective extends AbstractTuiController {
|
|
219
180
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldIconLeftDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
220
181
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTextfieldIconLeftDirective, selector: "[tuiTextfieldIconLeft]", inputs: { iconStart: ["tuiTextfieldIconLeft", "iconStart"] }, providers: [tuiProvide(TUI_TEXTFIELD_ICON_LEFT, TuiTextfieldIconLeftDirective)], usesInheritance: true, ngImport: i0 }); }
|
|
@@ -230,13 +191,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
230
191
|
args: ['tuiTextfieldIconLeft']
|
|
231
192
|
}] } });
|
|
232
193
|
|
|
233
|
-
/**
|
|
234
|
-
* @deprecated: drop in v5.0
|
|
235
|
-
*/
|
|
236
194
|
const TUI_TEXTFIELD_LABEL_OUTSIDE = tuiCreateTokenFromFactory(() => new TuiTextfieldLabelOutsideDirective());
|
|
237
|
-
/**
|
|
238
|
-
* @deprecated: drop in v5.0
|
|
239
|
-
*/
|
|
240
195
|
class TuiTextfieldLabelOutsideDirective extends AbstractTuiController {
|
|
241
196
|
constructor() {
|
|
242
197
|
super(...arguments);
|
|
@@ -260,13 +215,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
260
215
|
args: ['tuiTextfieldLabelOutside']
|
|
261
216
|
}] } });
|
|
262
217
|
|
|
263
|
-
/**
|
|
264
|
-
* @deprecated: drop in v5.0
|
|
265
|
-
*/
|
|
266
218
|
const TUI_TEXTFIELD_POSTFIX = tuiCreateTokenFromFactory(() => new TuiTextfieldPostfixDirective());
|
|
267
|
-
/**
|
|
268
|
-
* @deprecated: drop in v5.0
|
|
269
|
-
*/
|
|
270
219
|
class TuiTextfieldPostfixDirective extends AbstractTuiController {
|
|
271
220
|
constructor() {
|
|
272
221
|
super(...arguments);
|
|
@@ -286,13 +235,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
286
235
|
args: ['tuiTextfieldPostfix']
|
|
287
236
|
}] } });
|
|
288
237
|
|
|
289
|
-
/**
|
|
290
|
-
* @deprecated: drop in v5.0
|
|
291
|
-
*/
|
|
292
238
|
const TUI_TEXTFIELD_PREFIX = tuiCreateTokenFromFactory(() => new TuiTextfieldPrefixDirective());
|
|
293
|
-
/**
|
|
294
|
-
* @deprecated: drop in v5.0
|
|
295
|
-
*/
|
|
296
239
|
class TuiTextfieldPrefixDirective extends AbstractTuiController {
|
|
297
240
|
constructor() {
|
|
298
241
|
super(...arguments);
|
|
@@ -312,13 +255,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
312
255
|
args: ['tuiTextfieldPrefix']
|
|
313
256
|
}] } });
|
|
314
257
|
|
|
315
|
-
/**
|
|
316
|
-
* @deprecated: drop in v5.0
|
|
317
|
-
*/
|
|
318
258
|
const TUI_TEXTFIELD_SIZE = tuiCreateTokenFromFactory(() => new TuiTextfieldSizeDirective());
|
|
319
|
-
/**
|
|
320
|
-
* @deprecated: drop in v5.0
|
|
321
|
-
*/
|
|
322
259
|
class TuiTextfieldSizeDirective extends AbstractTuiController {
|
|
323
260
|
constructor() {
|
|
324
261
|
super(...arguments);
|
|
@@ -338,9 +275,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
338
275
|
args: ['tuiTextfieldSize']
|
|
339
276
|
}] } });
|
|
340
277
|
|
|
341
|
-
/**
|
|
342
|
-
* @deprecated: drop in v5.0
|
|
343
|
-
*/
|
|
344
278
|
class TuiTextfieldControllerModule {
|
|
345
279
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldControllerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
346
280
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiTextfieldControllerModule, declarations: [TuiTextfieldAppearanceDirective,
|
|
@@ -399,13 +333,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
399
333
|
}]
|
|
400
334
|
}] });
|
|
401
335
|
|
|
402
|
-
/**
|
|
403
|
-
* @deprecated: drop in v5.0
|
|
404
|
-
*/
|
|
405
336
|
const TUI_TEXTFIELD_WATCHED_CONTROLLER = new InjectionToken('[TUI_TEXTFIELD_WATCHED_CONTROLLER]');
|
|
406
|
-
/**
|
|
407
|
-
* @deprecated: drop in v5.0
|
|
408
|
-
*/
|
|
409
337
|
const TEXTFIELD_CONTROLLER_PROVIDER = [
|
|
410
338
|
{
|
|
411
339
|
provide: TUI_TEXTFIELD_WATCHED_CONTROLLER,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-legacy-directives-textfield-controller.mjs","sources":["../../../projects/legacy/directives/textfield-controller/textfield.controller.ts","../../../projects/legacy/directives/textfield-controller/textfield.options.ts","../../../projects/legacy/directives/textfield-controller/textfield-appearance.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-cleaner.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-custom-content.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-filler.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-icon.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-icon-left.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-label-outside.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-postfix.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-prefix.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-size.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-controller.module.ts","../../../projects/legacy/directives/textfield-controller/textfield-controller.provider.ts","../../../projects/legacy/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.ts"],"sourcesContent":["import type {TuiContext} from '@taiga-ui/cdk/types';\nimport type {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\nimport type {Observable} from 'rxjs';\n\nimport type {TuiTextfieldOptions} from './textfield.options';\nimport type {TuiTextfieldAppearanceDirective} from './textfield-appearance.directive';\nimport type {TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport type {TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport type {TuiTextfieldFillerDirective} from './textfield-filler.directive';\nimport type {TuiTextfieldIconDirective} from './textfield-icon.directive';\nimport type {TuiTextfieldIconLeftDirective} from './textfield-icon-left.directive';\nimport type {TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport type {TuiTextfieldPostfixDirective} from './textfield-postfix.directive';\nimport type {TuiTextfieldPrefixDirective} from './textfield-prefix.directive';\nimport type {TuiTextfieldSizeDirective} from './textfield-size.directive';\n\nexport class TuiTextfieldController {\n constructor(\n public readonly change$: Observable<void>,\n public readonly options: TuiTextfieldOptions,\n private readonly legacyAppearance: string,\n private readonly appearanceDirective: TuiTextfieldAppearanceDirective,\n private readonly cleanerDirective: TuiTextfieldCleanerDirective,\n private readonly customContentDirective: TuiTextfieldCustomContentDirective,\n private readonly iconDirective: TuiTextfieldIconDirective,\n private readonly iconLeftDirective: TuiTextfieldIconLeftDirective,\n private readonly labelOutsideDirective: TuiTextfieldLabelOutsideDirective,\n private readonly sizeDirective: TuiTextfieldSizeDirective,\n private readonly prefixDirective: TuiTextfieldPrefixDirective,\n private readonly postfixDirective: TuiTextfieldPostfixDirective,\n private readonly fillerDirective: TuiTextfieldFillerDirective,\n ) {}\n\n public get appearance(): string {\n return this.appearanceDirective.appearance || this.legacyAppearance;\n }\n\n public get cleaner(): boolean {\n return this.cleanerDirective.cleaner;\n }\n\n public get customContent(): PolymorpheusContent {\n return this.customContentDirective.customContent || '';\n }\n\n public get icon(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>> {\n return this.iconDirective.icon;\n }\n\n public get iconStart(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>> {\n return this.iconLeftDirective.iconStart;\n }\n\n public get labelOutside(): boolean {\n return this.labelOutsideDirective.labelOutside;\n }\n\n public get size(): TuiSizeL | TuiSizeS {\n return this.sizeDirective.size;\n }\n\n public get prefix(): string {\n return this.prefixDirective.prefix;\n }\n\n public get postfix(): string {\n return this.postfixDirective.postfix;\n }\n\n public get filler(): string {\n return this.fillerDirective.filler;\n }\n}\n","import type {Provider} from '@angular/core';\nimport type {TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiCreateToken, tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport type {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport interface TuiTextfieldOptions {\n readonly hintOnDisabled: boolean;\n readonly iconCleaner: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n}\n\n/**\n * @deprecated: drop in v5.0\n * Default values for primitive textfield options\n */\nexport const TUI_TEXTFIELD_DEFAULT_OPTIONS: TuiTextfieldOptions = {\n iconCleaner: '@tui.x',\n hintOnDisabled: false,\n};\n\n/**\n * @deprecated: drop in v5.0\n * Default parameters for textfield\n */\nexport const TUI_TEXTFIELD_OPTIONS = tuiCreateToken(TUI_TEXTFIELD_DEFAULT_OPTIONS);\n\n/**\n * @deprecated: drop in v5.0\n */\nexport function tuiTextfieldOptionsProvider(\n options: Partial<TuiTextfieldOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_TEXTFIELD_OPTIONS,\n options,\n TUI_TEXTFIELD_DEFAULT_OPTIONS,\n );\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport const TUI_TEXTFIELD_APPEARANCE_DIRECTIVE = tuiCreateTokenFromFactory(\n () => new TuiTextfieldAppearanceDirective(),\n);\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n selector: '[tuiTextfieldAppearance]',\n providers: [\n tuiProvide(TUI_TEXTFIELD_APPEARANCE_DIRECTIVE, TuiTextfieldAppearanceDirective),\n ],\n})\nexport class TuiTextfieldAppearanceDirective extends AbstractTuiController {\n // it's an empty string by default for backward compatibility\n // (see comment https://github.com/taiga-family/taiga-ui/pull/3007#issuecomment-1315179508)\n @Input('tuiTextfieldAppearance')\n public appearance = '';\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport const TUI_TEXTFIELD_CLEANER = tuiCreateTokenFromFactory(\n () => new TuiTextfieldCleanerDirective(),\n);\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n selector: '[tuiTextfieldCleaner]',\n providers: [tuiProvide(TUI_TEXTFIELD_CLEANER, TuiTextfieldCleanerDirective)],\n})\nexport class TuiTextfieldCleanerDirective extends AbstractTuiController {\n @Input('tuiTextfieldCleaner')\n public cleaner = false;\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport const TUI_TEXTFIELD_CUSTOM_CONTENT = tuiCreateTokenFromFactory(\n () => new TuiTextfieldCustomContentDirective(),\n);\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n selector: '[tuiTextfieldCustomContent]',\n providers: [\n tuiProvide(TUI_TEXTFIELD_CUSTOM_CONTENT, TuiTextfieldCustomContentDirective),\n ],\n})\nexport class TuiTextfieldCustomContentDirective extends AbstractTuiController {\n @Input('tuiTextfieldCustomContent')\n public customContent: PolymorpheusContent;\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport const TUI_TEXTFIELD_FILLER = tuiCreateTokenFromFactory(\n () => new TuiTextfieldFillerDirective(),\n);\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n selector: '[tuiTextfieldFiller]',\n providers: [tuiProvide(TUI_TEXTFIELD_FILLER, TuiTextfieldFillerDirective)],\n})\nexport class TuiTextfieldFillerDirective extends AbstractTuiController {\n @Input('tuiTextfieldFiller')\n public filler = '';\n}\n","import {Directive, Input} from '@angular/core';\nimport type {TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport type {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport const TUI_TEXTFIELD_ICON = tuiCreateTokenFromFactory(\n () => new TuiTextfieldIconDirective(),\n);\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n selector: '[tuiTextfieldIcon]',\n providers: [tuiProvide(TUI_TEXTFIELD_ICON, TuiTextfieldIconDirective)],\n})\nexport class TuiTextfieldIconDirective extends AbstractTuiController {\n @Input('tuiTextfieldIcon')\n public icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n}\n","import {Directive, Input} from '@angular/core';\nimport type {TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport type {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport const TUI_TEXTFIELD_ICON_LEFT = tuiCreateTokenFromFactory(\n () => new TuiTextfieldIconLeftDirective(),\n);\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n selector: '[tuiTextfieldIconLeft]',\n providers: [tuiProvide(TUI_TEXTFIELD_ICON_LEFT, TuiTextfieldIconLeftDirective)],\n})\nexport class TuiTextfieldIconLeftDirective extends AbstractTuiController {\n @Input('tuiTextfieldIconLeft')\n public iconStart: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport const TUI_TEXTFIELD_LABEL_OUTSIDE = tuiCreateTokenFromFactory(\n () => new TuiTextfieldLabelOutsideDirective(),\n);\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n selector: '[tuiTextfieldLabelOutside]',\n providers: [\n tuiProvide(TUI_TEXTFIELD_LABEL_OUTSIDE, TuiTextfieldLabelOutsideDirective),\n ],\n})\nexport class TuiTextfieldLabelOutsideDirective extends AbstractTuiController {\n @Input('tuiTextfieldLabelOutside')\n public labelOutside = false;\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport const TUI_TEXTFIELD_POSTFIX = tuiCreateTokenFromFactory(\n () => new TuiTextfieldPostfixDirective(),\n);\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n selector: '[tuiTextfieldPostfix]',\n providers: [tuiProvide(TUI_TEXTFIELD_POSTFIX, TuiTextfieldPostfixDirective)],\n})\nexport class TuiTextfieldPostfixDirective extends AbstractTuiController {\n @Input('tuiTextfieldPostfix')\n public postfix = '';\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport const TUI_TEXTFIELD_PREFIX = tuiCreateTokenFromFactory(\n () => new TuiTextfieldPrefixDirective(),\n);\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n selector: '[tuiTextfieldPrefix]',\n providers: [tuiProvide(TUI_TEXTFIELD_PREFIX, TuiTextfieldPrefixDirective)],\n})\nexport class TuiTextfieldPrefixDirective extends AbstractTuiController {\n @Input('tuiTextfieldPrefix')\n public prefix = '';\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport type {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport const TUI_TEXTFIELD_SIZE = tuiCreateTokenFromFactory(\n () => new TuiTextfieldSizeDirective(),\n);\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n selector: '[tuiTextfieldSize]',\n providers: [tuiProvide(TUI_TEXTFIELD_SIZE, TuiTextfieldSizeDirective)],\n})\nexport class TuiTextfieldSizeDirective extends AbstractTuiController {\n @Input('tuiTextfieldSize')\n public size: TuiSizeL | TuiSizeS = 'l';\n}\n","import {NgModule} from '@angular/core';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiTextfieldAppearanceDirective} from './textfield-appearance.directive';\nimport {TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport {TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport {TuiTextfieldFillerDirective} from './textfield-filler.directive';\nimport {TuiTextfieldIconDirective} from './textfield-icon.directive';\nimport {TuiTextfieldIconLeftDirective} from './textfield-icon-left.directive';\nimport {TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport {TuiTextfieldPostfixDirective} from './textfield-postfix.directive';\nimport {TuiTextfieldPrefixDirective} from './textfield-prefix.directive';\nimport {TuiTextfieldSizeDirective} from './textfield-size.directive';\n\n/**\n * @deprecated: drop in v5.0\n */\n@NgModule({\n imports: [PolymorpheusOutlet, PolymorpheusTemplate],\n declarations: [\n TuiTextfieldAppearanceDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldIconDirective,\n TuiTextfieldIconLeftDirective,\n TuiTextfieldPrefixDirective,\n TuiTextfieldPostfixDirective,\n TuiTextfieldFillerDirective,\n ],\n exports: [\n TuiTextfieldAppearanceDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldIconDirective,\n TuiTextfieldIconLeftDirective,\n TuiTextfieldPrefixDirective,\n TuiTextfieldPostfixDirective,\n TuiTextfieldFillerDirective,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n ],\n})\nexport class TuiTextfieldControllerModule {}\n","import type {Provider} from '@angular/core';\nimport {ChangeDetectorRef, InjectionToken} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {TUI_TEXTFIELD_APPEARANCE} from '@taiga-ui/legacy/tokens';\nimport {merge, NEVER} from 'rxjs';\n\nimport {TuiTextfieldController} from './textfield.controller';\nimport type {TuiTextfieldOptions} from './textfield.options';\nimport {TUI_TEXTFIELD_OPTIONS} from './textfield.options';\nimport type {TuiTextfieldAppearanceDirective} from './textfield-appearance.directive';\nimport {TUI_TEXTFIELD_APPEARANCE_DIRECTIVE} from './textfield-appearance.directive';\nimport type {TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport {TUI_TEXTFIELD_CLEANER} from './textfield-cleaner.directive';\nimport type {TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport {TUI_TEXTFIELD_CUSTOM_CONTENT} from './textfield-custom-content.directive';\nimport type {TuiTextfieldFillerDirective} from './textfield-filler.directive';\nimport {TUI_TEXTFIELD_FILLER} from './textfield-filler.directive';\nimport type {TuiTextfieldIconDirective} from './textfield-icon.directive';\nimport {TUI_TEXTFIELD_ICON} from './textfield-icon.directive';\nimport type {TuiTextfieldIconLeftDirective} from './textfield-icon-left.directive';\nimport {TUI_TEXTFIELD_ICON_LEFT} from './textfield-icon-left.directive';\nimport type {TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport {TUI_TEXTFIELD_LABEL_OUTSIDE} from './textfield-label-outside.directive';\nimport type {TuiTextfieldPostfixDirective} from './textfield-postfix.directive';\nimport {TUI_TEXTFIELD_POSTFIX} from './textfield-postfix.directive';\nimport type {TuiTextfieldPrefixDirective} from './textfield-prefix.directive';\nimport {TUI_TEXTFIELD_PREFIX} from './textfield-prefix.directive';\nimport type {TuiTextfieldSizeDirective} from './textfield-size.directive';\nimport {TUI_TEXTFIELD_SIZE} from './textfield-size.directive';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport const TUI_TEXTFIELD_WATCHED_CONTROLLER =\n new InjectionToken<TuiTextfieldController>('[TUI_TEXTFIELD_WATCHED_CONTROLLER]');\n\n/**\n * @deprecated: drop in v5.0\n */\nexport const TEXTFIELD_CONTROLLER_PROVIDER: Provider = [\n {\n provide: TUI_TEXTFIELD_WATCHED_CONTROLLER,\n deps: [\n ChangeDetectorRef,\n TUI_TEXTFIELD_OPTIONS,\n TUI_TEXTFIELD_APPEARANCE,\n TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,\n TUI_TEXTFIELD_CLEANER,\n TUI_TEXTFIELD_CUSTOM_CONTENT,\n TUI_TEXTFIELD_ICON,\n TUI_TEXTFIELD_ICON_LEFT,\n TUI_TEXTFIELD_LABEL_OUTSIDE,\n TUI_TEXTFIELD_SIZE,\n TUI_TEXTFIELD_PREFIX,\n TUI_TEXTFIELD_POSTFIX,\n TUI_TEXTFIELD_FILLER,\n ],\n useFactory: (\n cdr: ChangeDetectorRef,\n options: TuiTextfieldOptions,\n legacyAppearance: string,\n ...controllers: [\n TuiTextfieldAppearanceDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldIconDirective,\n TuiTextfieldIconLeftDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldPrefixDirective,\n TuiTextfieldPostfixDirective,\n TuiTextfieldFillerDirective,\n ]\n ) => {\n const change$ = merge(\n ...controllers.map(({change$}) => change$ || NEVER),\n ).pipe(tuiWatch(cdr), takeUntilDestroyed());\n\n change$.subscribe();\n\n return new TuiTextfieldController(\n change$,\n options,\n legacyAppearance,\n ...controllers,\n );\n },\n },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAiBa,sBAAsB,CAAA;IAC/B,WACoB,CAAA,OAAyB,EACzB,OAA4B,EAC3B,gBAAwB,EACxB,mBAAoD,EACpD,gBAA8C,EAC9C,sBAA0D,EAC1D,aAAwC,EACxC,iBAAgD,EAChD,qBAAwD,EACxD,aAAwC,EACxC,eAA4C,EAC5C,gBAA8C,EAC9C,eAA4C,EAAA;QAZ7C,IAAO,CAAA,OAAA,GAAP,OAAO,CAAkB;QACzB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAqB;QAC3B,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAQ;QACxB,IAAmB,CAAA,mBAAA,GAAnB,mBAAmB,CAAiC;QACpD,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAA8B;QAC9C,IAAsB,CAAA,sBAAA,GAAtB,sBAAsB,CAAoC;QAC1D,IAAa,CAAA,aAAA,GAAb,aAAa,CAA2B;QACxC,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAA+B;QAChD,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tD,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,kBAAkB,EAAE,CAAC,CAAC;YAE5C,OAAO,CAAC,SAAS,EAAE,CAAC;AAEpB,YAAA,OAAO,IAAI,sBAAsB,CAC7B,OAAO,EACP,OAAO,EACP,gBAAgB,EAChB,GAAG,WAAW,CACjB,CAAC;SACL;AACJ,KAAA;;;ACxFL;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-legacy-directives-textfield-controller.mjs","sources":["../../../projects/legacy/directives/textfield-controller/textfield.controller.ts","../../../projects/legacy/directives/textfield-controller/textfield.options.ts","../../../projects/legacy/directives/textfield-controller/textfield-appearance.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-cleaner.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-custom-content.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-filler.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-icon.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-icon-left.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-label-outside.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-postfix.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-prefix.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-size.directive.ts","../../../projects/legacy/directives/textfield-controller/textfield-controller.module.ts","../../../projects/legacy/directives/textfield-controller/textfield-controller.provider.ts","../../../projects/legacy/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.ts"],"sourcesContent":["import type {TuiContext} from '@taiga-ui/cdk/types';\nimport type {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\nimport type {Observable} from 'rxjs';\n\nimport type {TuiTextfieldOptions} from './textfield.options';\nimport type {TuiTextfieldAppearanceDirective} from './textfield-appearance.directive';\nimport type {TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport type {TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport type {TuiTextfieldFillerDirective} from './textfield-filler.directive';\nimport type {TuiTextfieldIconDirective} from './textfield-icon.directive';\nimport type {TuiTextfieldIconLeftDirective} from './textfield-icon-left.directive';\nimport type {TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport type {TuiTextfieldPostfixDirective} from './textfield-postfix.directive';\nimport type {TuiTextfieldPrefixDirective} from './textfield-prefix.directive';\nimport type {TuiTextfieldSizeDirective} from './textfield-size.directive';\n\nexport class TuiTextfieldController {\n constructor(\n public readonly change$: Observable<void>,\n public readonly options: TuiTextfieldOptions,\n private readonly legacyAppearance: string,\n private readonly appearanceDirective: TuiTextfieldAppearanceDirective,\n private readonly cleanerDirective: TuiTextfieldCleanerDirective,\n private readonly customContentDirective: TuiTextfieldCustomContentDirective,\n private readonly iconDirective: TuiTextfieldIconDirective,\n private readonly iconLeftDirective: TuiTextfieldIconLeftDirective,\n private readonly labelOutsideDirective: TuiTextfieldLabelOutsideDirective,\n private readonly sizeDirective: TuiTextfieldSizeDirective,\n private readonly prefixDirective: TuiTextfieldPrefixDirective,\n private readonly postfixDirective: TuiTextfieldPostfixDirective,\n private readonly fillerDirective: TuiTextfieldFillerDirective,\n ) {}\n\n public get appearance(): string {\n return this.appearanceDirective.appearance || this.legacyAppearance;\n }\n\n public get cleaner(): boolean {\n return this.cleanerDirective.cleaner;\n }\n\n public get customContent(): PolymorpheusContent {\n return this.customContentDirective.customContent || '';\n }\n\n public get icon(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>> {\n return this.iconDirective.icon;\n }\n\n public get iconStart(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>> {\n return this.iconLeftDirective.iconStart;\n }\n\n public get labelOutside(): boolean {\n return this.labelOutsideDirective.labelOutside;\n }\n\n public get size(): TuiSizeL | TuiSizeS {\n return this.sizeDirective.size;\n }\n\n public get prefix(): string {\n return this.prefixDirective.prefix;\n }\n\n public get postfix(): string {\n return this.postfixDirective.postfix;\n }\n\n public get filler(): string {\n return this.fillerDirective.filler;\n }\n}\n","import type {Provider} from '@angular/core';\nimport type {TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiCreateToken, tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport type {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport interface TuiTextfieldOptions {\n readonly hintOnDisabled: boolean;\n readonly iconCleaner: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n}\n\n/**\n * @deprecated: drop in v5.0\n * Default values for primitive textfield options\n */\nexport const TUI_TEXTFIELD_DEFAULT_OPTIONS: TuiTextfieldOptions = {\n iconCleaner: '@tui.x',\n hintOnDisabled: false,\n};\n\n/**\n * @deprecated: drop in v5.0\n * Default parameters for textfield\n */\nexport const TUI_TEXTFIELD_OPTIONS = tuiCreateToken(TUI_TEXTFIELD_DEFAULT_OPTIONS);\n\nexport function tuiTextfieldOptionsProvider(\n options: Partial<TuiTextfieldOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_TEXTFIELD_OPTIONS,\n options,\n TUI_TEXTFIELD_DEFAULT_OPTIONS,\n );\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\nexport const TUI_TEXTFIELD_APPEARANCE_DIRECTIVE = tuiCreateTokenFromFactory(\n () => new TuiTextfieldAppearanceDirective(),\n);\n\n@Directive({\n selector: '[tuiTextfieldAppearance]',\n providers: [\n tuiProvide(TUI_TEXTFIELD_APPEARANCE_DIRECTIVE, TuiTextfieldAppearanceDirective),\n ],\n})\nexport class TuiTextfieldAppearanceDirective extends AbstractTuiController {\n // it's an empty string by default for backward compatibility\n // (see comment https://github.com/taiga-family/taiga-ui/pull/3007#issuecomment-1315179508)\n @Input('tuiTextfieldAppearance')\n public appearance = '';\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\nexport const TUI_TEXTFIELD_CLEANER = tuiCreateTokenFromFactory(\n () => new TuiTextfieldCleanerDirective(),\n);\n\n@Directive({\n selector: '[tuiTextfieldCleaner]',\n providers: [tuiProvide(TUI_TEXTFIELD_CLEANER, TuiTextfieldCleanerDirective)],\n})\nexport class TuiTextfieldCleanerDirective extends AbstractTuiController {\n @Input('tuiTextfieldCleaner')\n public cleaner = false;\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport const TUI_TEXTFIELD_CUSTOM_CONTENT = tuiCreateTokenFromFactory(\n () => new TuiTextfieldCustomContentDirective(),\n);\n\n@Directive({\n selector: '[tuiTextfieldCustomContent]',\n providers: [\n tuiProvide(TUI_TEXTFIELD_CUSTOM_CONTENT, TuiTextfieldCustomContentDirective),\n ],\n})\nexport class TuiTextfieldCustomContentDirective extends AbstractTuiController {\n @Input('tuiTextfieldCustomContent')\n public customContent: PolymorpheusContent;\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\nexport const TUI_TEXTFIELD_FILLER = tuiCreateTokenFromFactory(\n () => new TuiTextfieldFillerDirective(),\n);\n\n@Directive({\n selector: '[tuiTextfieldFiller]',\n providers: [tuiProvide(TUI_TEXTFIELD_FILLER, TuiTextfieldFillerDirective)],\n})\nexport class TuiTextfieldFillerDirective extends AbstractTuiController {\n @Input('tuiTextfieldFiller')\n public filler = '';\n}\n","import {Directive, Input} from '@angular/core';\nimport type {TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport type {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport const TUI_TEXTFIELD_ICON = tuiCreateTokenFromFactory(\n () => new TuiTextfieldIconDirective(),\n);\n\n@Directive({\n selector: '[tuiTextfieldIcon]',\n providers: [tuiProvide(TUI_TEXTFIELD_ICON, TuiTextfieldIconDirective)],\n})\nexport class TuiTextfieldIconDirective extends AbstractTuiController {\n @Input('tuiTextfieldIcon')\n public icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n}\n","import {Directive, Input} from '@angular/core';\nimport type {TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport type {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport const TUI_TEXTFIELD_ICON_LEFT = tuiCreateTokenFromFactory(\n () => new TuiTextfieldIconLeftDirective(),\n);\n\n@Directive({\n selector: '[tuiTextfieldIconLeft]',\n providers: [tuiProvide(TUI_TEXTFIELD_ICON_LEFT, TuiTextfieldIconLeftDirective)],\n})\nexport class TuiTextfieldIconLeftDirective extends AbstractTuiController {\n @Input('tuiTextfieldIconLeft')\n public iconStart: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\nexport const TUI_TEXTFIELD_LABEL_OUTSIDE = tuiCreateTokenFromFactory(\n () => new TuiTextfieldLabelOutsideDirective(),\n);\n\n@Directive({\n selector: '[tuiTextfieldLabelOutside]',\n providers: [\n tuiProvide(TUI_TEXTFIELD_LABEL_OUTSIDE, TuiTextfieldLabelOutsideDirective),\n ],\n})\nexport class TuiTextfieldLabelOutsideDirective extends AbstractTuiController {\n @Input('tuiTextfieldLabelOutside')\n public labelOutside = false;\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\nexport const TUI_TEXTFIELD_POSTFIX = tuiCreateTokenFromFactory(\n () => new TuiTextfieldPostfixDirective(),\n);\n\n@Directive({\n selector: '[tuiTextfieldPostfix]',\n providers: [tuiProvide(TUI_TEXTFIELD_POSTFIX, TuiTextfieldPostfixDirective)],\n})\nexport class TuiTextfieldPostfixDirective extends AbstractTuiController {\n @Input('tuiTextfieldPostfix')\n public postfix = '';\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\nexport const TUI_TEXTFIELD_PREFIX = tuiCreateTokenFromFactory(\n () => new TuiTextfieldPrefixDirective(),\n);\n\n@Directive({\n selector: '[tuiTextfieldPrefix]',\n providers: [tuiProvide(TUI_TEXTFIELD_PREFIX, TuiTextfieldPrefixDirective)],\n})\nexport class TuiTextfieldPrefixDirective extends AbstractTuiController {\n @Input('tuiTextfieldPrefix')\n public prefix = '';\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiCreateTokenFromFactory, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport type {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {AbstractTuiController} from '@taiga-ui/legacy/classes';\n\nexport const TUI_TEXTFIELD_SIZE = tuiCreateTokenFromFactory(\n () => new TuiTextfieldSizeDirective(),\n);\n\n@Directive({\n selector: '[tuiTextfieldSize]',\n providers: [tuiProvide(TUI_TEXTFIELD_SIZE, TuiTextfieldSizeDirective)],\n})\nexport class TuiTextfieldSizeDirective extends AbstractTuiController {\n @Input('tuiTextfieldSize')\n public size: TuiSizeL | TuiSizeS = 'l';\n}\n","import {NgModule} from '@angular/core';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiTextfieldAppearanceDirective} from './textfield-appearance.directive';\nimport {TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport {TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport {TuiTextfieldFillerDirective} from './textfield-filler.directive';\nimport {TuiTextfieldIconDirective} from './textfield-icon.directive';\nimport {TuiTextfieldIconLeftDirective} from './textfield-icon-left.directive';\nimport {TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport {TuiTextfieldPostfixDirective} from './textfield-postfix.directive';\nimport {TuiTextfieldPrefixDirective} from './textfield-prefix.directive';\nimport {TuiTextfieldSizeDirective} from './textfield-size.directive';\n\n@NgModule({\n imports: [PolymorpheusOutlet, PolymorpheusTemplate],\n declarations: [\n TuiTextfieldAppearanceDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldIconDirective,\n TuiTextfieldIconLeftDirective,\n TuiTextfieldPrefixDirective,\n TuiTextfieldPostfixDirective,\n TuiTextfieldFillerDirective,\n ],\n exports: [\n TuiTextfieldAppearanceDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldIconDirective,\n TuiTextfieldIconLeftDirective,\n TuiTextfieldPrefixDirective,\n TuiTextfieldPostfixDirective,\n TuiTextfieldFillerDirective,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n ],\n})\nexport class TuiTextfieldControllerModule {}\n","import type {Provider} from '@angular/core';\nimport {ChangeDetectorRef, InjectionToken} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {TUI_TEXTFIELD_APPEARANCE} from '@taiga-ui/legacy/tokens';\nimport {merge, NEVER} from 'rxjs';\n\nimport {TuiTextfieldController} from './textfield.controller';\nimport type {TuiTextfieldOptions} from './textfield.options';\nimport {TUI_TEXTFIELD_OPTIONS} from './textfield.options';\nimport type {TuiTextfieldAppearanceDirective} from './textfield-appearance.directive';\nimport {TUI_TEXTFIELD_APPEARANCE_DIRECTIVE} from './textfield-appearance.directive';\nimport type {TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport {TUI_TEXTFIELD_CLEANER} from './textfield-cleaner.directive';\nimport type {TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport {TUI_TEXTFIELD_CUSTOM_CONTENT} from './textfield-custom-content.directive';\nimport type {TuiTextfieldFillerDirective} from './textfield-filler.directive';\nimport {TUI_TEXTFIELD_FILLER} from './textfield-filler.directive';\nimport type {TuiTextfieldIconDirective} from './textfield-icon.directive';\nimport {TUI_TEXTFIELD_ICON} from './textfield-icon.directive';\nimport type {TuiTextfieldIconLeftDirective} from './textfield-icon-left.directive';\nimport {TUI_TEXTFIELD_ICON_LEFT} from './textfield-icon-left.directive';\nimport type {TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport {TUI_TEXTFIELD_LABEL_OUTSIDE} from './textfield-label-outside.directive';\nimport type {TuiTextfieldPostfixDirective} from './textfield-postfix.directive';\nimport {TUI_TEXTFIELD_POSTFIX} from './textfield-postfix.directive';\nimport type {TuiTextfieldPrefixDirective} from './textfield-prefix.directive';\nimport {TUI_TEXTFIELD_PREFIX} from './textfield-prefix.directive';\nimport type {TuiTextfieldSizeDirective} from './textfield-size.directive';\nimport {TUI_TEXTFIELD_SIZE} from './textfield-size.directive';\n\nexport const TUI_TEXTFIELD_WATCHED_CONTROLLER =\n new InjectionToken<TuiTextfieldController>('[TUI_TEXTFIELD_WATCHED_CONTROLLER]');\n\nexport const TEXTFIELD_CONTROLLER_PROVIDER: Provider = [\n {\n provide: TUI_TEXTFIELD_WATCHED_CONTROLLER,\n deps: [\n ChangeDetectorRef,\n TUI_TEXTFIELD_OPTIONS,\n TUI_TEXTFIELD_APPEARANCE,\n TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,\n TUI_TEXTFIELD_CLEANER,\n TUI_TEXTFIELD_CUSTOM_CONTENT,\n TUI_TEXTFIELD_ICON,\n TUI_TEXTFIELD_ICON_LEFT,\n TUI_TEXTFIELD_LABEL_OUTSIDE,\n TUI_TEXTFIELD_SIZE,\n TUI_TEXTFIELD_PREFIX,\n TUI_TEXTFIELD_POSTFIX,\n TUI_TEXTFIELD_FILLER,\n ],\n useFactory: (\n cdr: ChangeDetectorRef,\n options: TuiTextfieldOptions,\n legacyAppearance: string,\n ...controllers: [\n TuiTextfieldAppearanceDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldIconDirective,\n TuiTextfieldIconLeftDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldPrefixDirective,\n TuiTextfieldPostfixDirective,\n TuiTextfieldFillerDirective,\n ]\n ) => {\n const change$ = merge(\n ...controllers.map(({change$}) => change$ || NEVER),\n ).pipe(tuiWatch(cdr), takeUntilDestroyed());\n\n change$.subscribe();\n\n return new TuiTextfieldController(\n change$,\n options,\n legacyAppearance,\n ...controllers,\n );\n },\n },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAiBa,sBAAsB,CAAA;IAC/B,WACoB,CAAA,OAAyB,EACzB,OAA4B,EAC3B,gBAAwB,EACxB,mBAAoD,EACpD,gBAA8C,EAC9C,sBAA0D,EAC1D,aAAwC,EACxC,iBAAgD,EAChD,qBAAwD,EACxD,a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wB,EACxB,GAAG,WAWF,KACD;AACA,YAAA,MAAM,OAAO,GAAG,KAAK,CACjB,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,EAAC,OAAO,EAAC,KAAK,OAAO,IAAI,KAAK,CAAC,CACtD,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,kBAAkB,EAAE,CAAC,CAAC;YAE5C,OAAO,CAAC,SAAS,EAAE,CAAC;AAEpB,YAAA,OAAO,IAAI,sBAAsB,CAC7B,OAAO,EACP,OAAO,EACP,gBAAgB,EAChB,GAAG,WAAW,CACjB,CAAC;SACL;AACJ,KAAA;;;AClFL;;AAEG;;;;"}
|
|
@@ -6,9 +6,6 @@ import { NG_VALIDATORS } from '@angular/forms';
|
|
|
6
6
|
import { tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
7
7
|
import { TUI_FOCUSABLE_ITEM_ACCESSOR } from '@taiga-ui/legacy/tokens';
|
|
8
8
|
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated: drop in v5.0
|
|
11
|
-
*/
|
|
12
9
|
function tuiCreateUnfinishedValidator(nativeInputGetter, message) {
|
|
13
10
|
return ({ value, }) => {
|
|
14
11
|
const nativeInput = nativeInputGetter();
|
|
@@ -22,9 +19,6 @@ function tuiCreateUnfinishedValidator(nativeInputGetter, message) {
|
|
|
22
19
|
};
|
|
23
20
|
}
|
|
24
21
|
|
|
25
|
-
/**
|
|
26
|
-
* @deprecated: drop in v5.0
|
|
27
|
-
*/
|
|
28
22
|
class TuiUnfinishedValidator {
|
|
29
23
|
constructor() {
|
|
30
24
|
this.injector = inject(INJECTOR);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-legacy-directives-unfinished-validator.mjs","sources":["../../../projects/legacy/directives/unfinished-validator/unfinished.validator.ts","../../../projects/legacy/directives/unfinished-validator/unfinished-validator.directive.ts","../../../projects/legacy/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.ts"],"sourcesContent":["import type {AbstractControl, ValidatorFn} from '@angular/forms';\nimport {TuiValidationError} from '@taiga-ui/cdk/classes';\nimport {tuiIsHTMLElement, tuiIsInput} from '@taiga-ui/cdk/utils/dom';\nimport type {TuiFocusableElementAccessor} from '@taiga-ui/legacy/tokens';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\
|
|
1
|
+
{"version":3,"file":"taiga-ui-legacy-directives-unfinished-validator.mjs","sources":["../../../projects/legacy/directives/unfinished-validator/unfinished.validator.ts","../../../projects/legacy/directives/unfinished-validator/unfinished-validator.directive.ts","../../../projects/legacy/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.ts"],"sourcesContent":["import type {AbstractControl, ValidatorFn} from '@angular/forms';\nimport {TuiValidationError} from '@taiga-ui/cdk/classes';\nimport {tuiIsHTMLElement, tuiIsInput} from '@taiga-ui/cdk/utils/dom';\nimport type {TuiFocusableElementAccessor} from '@taiga-ui/legacy/tokens';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport function tuiCreateUnfinishedValidator(\n nativeInputGetter: () => TuiFocusableElementAccessor,\n message: PolymorpheusContent,\n): ValidatorFn {\n return ({\n value,\n }: AbstractControl): {unfinished: TuiValidationError | string} | null => {\n const nativeInput = nativeInputGetter();\n\n return value === null &&\n nativeInput &&\n tuiIsHTMLElement(nativeInput.nativeFocusableElement) &&\n tuiIsInput(nativeInput.nativeFocusableElement) &&\n nativeInput.nativeFocusableElement.value !== ''\n ? {unfinished: new TuiValidationError(message)}\n : null;\n };\n}\n","import {Directive, inject, INJECTOR} from '@angular/core';\nimport type {Validator} from '@angular/forms';\nimport {NG_VALIDATORS} from '@angular/forms';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_FOCUSABLE_ITEM_ACCESSOR} from '@taiga-ui/legacy/tokens';\n\nimport {tuiCreateUnfinishedValidator} from './unfinished.validator';\n\n@Directive({\n standalone: true,\n selector: '[tuiUnfinishedValidator]',\n providers: [tuiProvide(NG_VALIDATORS, TuiUnfinishedValidator, true)],\n})\nexport class TuiUnfinishedValidator implements Validator {\n private readonly injector = inject(INJECTOR);\n\n public readonly validate = tuiCreateUnfinishedValidator(\n () => this.injector.get(TUI_FOCUSABLE_ITEM_ACCESSOR),\n tuiInjectElement().getAttribute('tuiUnfinishedValidator') || '',\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAMgB,SAAA,4BAA4B,CACxC,iBAAoD,EACpD,OAA4B,EAAA;AAE5B,IAAA,OAAO,CAAC,EACJ,KAAK,GACS,KAAsD;AACpE,QAAA,MAAM,WAAW,GAAG,iBAAiB,EAAE,CAAC;QAExC,OAAO,KAAK,KAAK,IAAI;YACjB,WAAW;AACX,YAAA,gBAAgB,CAAC,WAAW,CAAC,sBAAsB,CAAC;AACpD,YAAA,UAAU,CAAC,WAAW,CAAC,sBAAsB,CAAC;AAC9C,YAAA,WAAW,CAAC,sBAAsB,CAAC,KAAK,KAAK,EAAE;cAC7C,EAAC,UAAU,EAAE,IAAI,kBAAkB,CAAC,OAAO,CAAC,EAAC;cAC7C,IAAI,CAAC;AACf,KAAC,CAAC;AACN;;ACdA,MAKa,sBAAsB,CAAA;AALnC,IAAA,WAAA,GAAA;AAMqB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;QAE7B,IAAQ,CAAA,QAAA,GAAG,4BAA4B,CACnD,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,2BAA2B,CAAC,EACpD,gBAAgB,EAAE,CAAC,YAAY,CAAC,wBAAwB,CAAC,IAAI,EAAE,CAClE,CAAC;AACL,KAAA;+GAPY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAtB,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0BAAA,EAAA,SAAA,EAFpB,CAAC,UAAU,CAAC,aAAa,EAAE,sBAAsB,EAAE,IAAI,CAAC,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAE3D,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,0BAA0B;oBACpC,SAAS,EAAE,CAAC,UAAU,CAAC,aAAa,EAA0B,sBAAA,EAAA,IAAI,CAAC,CAAC;AACvE,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
|
|
@@ -4,18 +4,12 @@ import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
|
4
4
|
import { TUI_VALUE_ACCESSOR } from '@taiga-ui/legacy/tokens';
|
|
5
5
|
import { identity } from 'rxjs';
|
|
6
6
|
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated: drop in v5.0
|
|
9
|
-
*/
|
|
10
7
|
const TUI_VALUE_ACCESSOR_PROVIDER = {
|
|
11
8
|
provide: TUI_VALUE_ACCESSOR,
|
|
12
9
|
deps: [[new Optional(), new Self(), NG_VALUE_ACCESSOR]],
|
|
13
10
|
useFactory: identity,
|
|
14
11
|
};
|
|
15
12
|
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated: drop in v5.0
|
|
18
|
-
*/
|
|
19
13
|
class TuiValueAccessorDirective {
|
|
20
14
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiValueAccessorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
21
15
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiValueAccessorDirective, selector: "[tuiValueAccessor]", providers: [TUI_VALUE_ACCESSOR_PROVIDER], ngImport: i0 }); }
|
|
@@ -28,9 +22,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
28
22
|
}]
|
|
29
23
|
}] });
|
|
30
24
|
|
|
31
|
-
/**
|
|
32
|
-
* @deprecated: drop in v5.0
|
|
33
|
-
*/
|
|
34
25
|
class TuiValueAccessorModule {
|
|
35
26
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiValueAccessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
36
27
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiValueAccessorModule, declarations: [TuiValueAccessorDirective], exports: [TuiValueAccessorDirective] }); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-legacy-directives-value-accessor.mjs","sources":["../../../projects/legacy/directives/value-accessor/value-accessor.provider.ts","../../../projects/legacy/directives/value-accessor/value-accessor.directive.ts","../../../projects/legacy/directives/value-accessor/value-accessor.module.ts","../../../projects/legacy/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.ts"],"sourcesContent":["import type {FactoryProvider} from '@angular/core';\nimport {Optional, Self} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {TUI_VALUE_ACCESSOR} from '@taiga-ui/legacy/tokens';\nimport {identity} from 'rxjs';\n\
|
|
1
|
+
{"version":3,"file":"taiga-ui-legacy-directives-value-accessor.mjs","sources":["../../../projects/legacy/directives/value-accessor/value-accessor.provider.ts","../../../projects/legacy/directives/value-accessor/value-accessor.directive.ts","../../../projects/legacy/directives/value-accessor/value-accessor.module.ts","../../../projects/legacy/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.ts"],"sourcesContent":["import type {FactoryProvider} from '@angular/core';\nimport {Optional, Self} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {TUI_VALUE_ACCESSOR} from '@taiga-ui/legacy/tokens';\nimport {identity} from 'rxjs';\n\nexport const TUI_VALUE_ACCESSOR_PROVIDER: FactoryProvider = {\n provide: TUI_VALUE_ACCESSOR,\n deps: [[new Optional(), new Self(), NG_VALUE_ACCESSOR]],\n useFactory: identity,\n};\n","import {Directive} from '@angular/core';\n\nimport {TUI_VALUE_ACCESSOR_PROVIDER} from './value-accessor.provider';\n\n@Directive({\n selector: '[tuiValueAccessor]',\n providers: [TUI_VALUE_ACCESSOR_PROVIDER],\n})\nexport class TuiValueAccessorDirective {}\n","import {NgModule} from '@angular/core';\n\nimport {TuiValueAccessorDirective} from './value-accessor.directive';\n\n@NgModule({\n declarations: [TuiValueAccessorDirective],\n exports: [TuiValueAccessorDirective],\n})\nexport class TuiValueAccessorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAMa,MAAA,2BAA2B,GAAoB;AACxD,IAAA,OAAO,EAAE,kBAAkB;AAC3B,IAAA,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,iBAAiB,CAAC,CAAC;AACvD,IAAA,UAAU,EAAE,QAAQ;;;ACLxB,MAIa,yBAAyB,CAAA;+GAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAzB,yBAAyB,EAAA,QAAA,EAAA,oBAAA,EAAA,SAAA,EAFvB,CAAC,2BAA2B,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAE/B,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAJrC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,oBAAoB;oBAC9B,SAAS,EAAE,CAAC,2BAA2B,CAAC;AAC3C,iBAAA,CAAA;;;ACHD,MAIa,sBAAsB,CAAA;+GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;gHAAtB,sBAAsB,EAAA,YAAA,EAAA,CAHhB,yBAAyB,CAAA,EAAA,OAAA,EAAA,CAC9B,yBAAyB,CAAA,EAAA,CAAA,CAAA,EAAA;gHAE1B,sBAAsB,EAAA,CAAA,CAAA,EAAA;;4FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,yBAAyB,CAAC;oBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;AACvC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
|
|
38
38
|
.visually-hidden() {
|
|
39
39
|
position: absolute;
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
block-size: 1px;
|
|
41
|
+
inline-size: 1px;
|
|
42
42
|
margin: -1px;
|
|
43
43
|
border: 0;
|
|
44
44
|
padding: 0;
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
|
|
71
71
|
&::-webkit-scrollbar,
|
|
72
72
|
&::-webkit-scrollbar-thumb {
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
inline-size: 1rem;
|
|
74
|
+
block-size: 1rem;
|
|
75
75
|
border-radius: 6.25rem;
|
|
76
76
|
background-clip: padding-box;
|
|
77
77
|
border: 0.375rem solid transparent;
|
|
@@ -188,8 +188,8 @@
|
|
|
188
188
|
position: absolute;
|
|
189
189
|
top: 0;
|
|
190
190
|
right: 0;
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
inline-size: @width;
|
|
192
|
+
block-size: 100%;
|
|
193
193
|
background-image: linear-gradient(to right, @transparentColor 0%, @color 80%, @color 100%);
|
|
194
194
|
pointer-events: none;
|
|
195
195
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.textfield-host() {
|
|
2
2
|
position: relative;
|
|
3
3
|
display: block;
|
|
4
|
-
text-align:
|
|
4
|
+
text-align: start;
|
|
5
5
|
border-radius: var(--tui-radius-m);
|
|
6
|
-
|
|
7
|
-
min-
|
|
8
|
-
max-
|
|
6
|
+
block-size: var(--tui-height);
|
|
7
|
+
min-block-size: var(--tui-height);
|
|
8
|
+
max-block-size: var(--tui-height);
|
|
9
9
|
|
|
10
10
|
&[data-size='s'] {
|
|
11
11
|
--tui-height: var(--tui-height-s);
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
|
|
30
30
|
.textfield-content() {
|
|
31
31
|
display: flex;
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
block-size: 100%;
|
|
33
|
+
inline-size: 100%;
|
|
34
34
|
box-sizing: border-box;
|
|
35
35
|
align-items: center;
|
|
36
36
|
overflow: hidden;
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
|
|
168
168
|
.textfield-wrapper() {
|
|
169
169
|
flex: 1;
|
|
170
|
-
min-
|
|
170
|
+
min-inline-size: 0;
|
|
171
171
|
padding-inline-end: 0.25rem;
|
|
172
172
|
}
|
|
173
173
|
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
});
|
|
183
183
|
|
|
184
184
|
display: block;
|
|
185
|
-
|
|
185
|
+
inline-size: 100%;
|
|
186
186
|
user-select: none;
|
|
187
187
|
font: var(--tui-font-text-s);
|
|
188
188
|
color: var(--tui-text-secondary);
|
|
@@ -230,8 +230,8 @@
|
|
|
230
230
|
.input-icon() {
|
|
231
231
|
position: relative;
|
|
232
232
|
display: flex;
|
|
233
|
-
|
|
234
|
-
|
|
233
|
+
inline-size: 1.5rem;
|
|
234
|
+
block-size: 1.5rem;
|
|
235
235
|
align-items: center;
|
|
236
236
|
justify-content: center;
|
|
237
237
|
box-sizing: border-box;
|