@haiilo/catalyst-angular-formly 13.5.1-beta → 14.0.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.
Files changed (31) hide show
  1. package/{fesm2015 → fesm2022}/haiilo-catalyst-angular-formly.mjs +159 -149
  2. package/fesm2022/haiilo-catalyst-angular-formly.mjs.map +1 -0
  3. package/package.json +8 -16
  4. package/types/haiilo-catalyst-angular-formly.d.ts +81 -0
  5. package/esm2020/haiilo-catalyst-angular-formly.mjs +0 -5
  6. package/esm2020/lib/formly/formly-checkbox/formly-checkbox.component.mjs +0 -48
  7. package/esm2020/lib/formly/formly-date/formly-date.component.mjs +0 -72
  8. package/esm2020/lib/formly/formly-datepicker/formly-datepicker.component.mjs +0 -76
  9. package/esm2020/lib/formly/formly-input/formly-input.component.mjs +0 -80
  10. package/esm2020/lib/formly/formly-radio/formly-radio.component.mjs +0 -44
  11. package/esm2020/lib/formly/formly-radio-group/formly-radio-group.component.mjs +0 -67
  12. package/esm2020/lib/formly/formly-select/formly-select.component.mjs +0 -70
  13. package/esm2020/lib/formly/formly-textarea/formly-textarea.component.mjs +0 -62
  14. package/esm2020/lib/formly/formly-toggle/formly-toggle.component.mjs +0 -46
  15. package/esm2020/lib/formly/formly.module.mjs +0 -154
  16. package/esm2020/public-api.mjs +0 -11
  17. package/fesm2015/haiilo-catalyst-angular-formly.mjs.map +0 -1
  18. package/fesm2020/haiilo-catalyst-angular-formly.mjs +0 -665
  19. package/fesm2020/haiilo-catalyst-angular-formly.mjs.map +0 -1
  20. package/index.d.ts +0 -5
  21. package/lib/formly/formly-checkbox/formly-checkbox.component.d.ts +0 -6
  22. package/lib/formly/formly-date/formly-date.component.d.ts +0 -6
  23. package/lib/formly/formly-datepicker/formly-datepicker.component.d.ts +0 -6
  24. package/lib/formly/formly-input/formly-input.component.d.ts +0 -6
  25. package/lib/formly/formly-radio/formly-radio.component.d.ts +0 -21
  26. package/lib/formly/formly-radio-group/formly-radio-group.component.d.ts +0 -13
  27. package/lib/formly/formly-select/formly-select.component.d.ts +0 -6
  28. package/lib/formly/formly-textarea/formly-textarea.component.d.ts +0 -6
  29. package/lib/formly/formly-toggle/formly-toggle.component.d.ts +0 -6
  30. package/lib/formly/formly.module.d.ts +0 -19
  31. package/public-api.d.ts +0 -10
@@ -1,665 +0,0 @@
1
- import * as i1$1 from '@angular/common';
2
- import { CommonModule } from '@angular/common';
3
- import * as i0 from '@angular/core';
4
- import { Component, NgModule } from '@angular/core';
5
- import * as i1 from '@angular/forms';
6
- import { ReactiveFormsModule } from '@angular/forms';
7
- import * as i3 from '@ngx-formly/core';
8
- import { FieldType, FormlyModule } from '@ngx-formly/core';
9
- import * as i2 from '@haiilo/catalyst-angular';
10
- import { CatalystModule } from '@haiilo/catalyst-angular';
11
-
12
- class CatCheckboxFieldType extends FieldType {
13
- }
14
- CatCheckboxFieldType.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatCheckboxFieldType, deps: null, target: i0.ɵɵFactoryTarget.Component });
15
- CatCheckboxFieldType.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatCheckboxFieldType, selector: "formly-checkbox", usesInheritance: true, ngImport: i0, template: `
16
- <cat-checkbox
17
- [formControl]="formControl"
18
- [formlyAttributes]="field"
19
- [checked]="props.checked"
20
- [identifier]="props.identifier"
21
- [indeterminate]="props.indeterminate"
22
- [label]="props.label"
23
- [name]="props.name"
24
- [hint]="props.hint"
25
- [labelLeft]="props.labelLeft"
26
- [nativeAttributes]="props.nativeAttributes"
27
- [requiredMarker]="props.requiredMarker"
28
- >
29
- </cat-checkbox>
30
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.CatCheckbox, selector: "cat-checkbox", inputs: ["alignment", "checked", "disabled", "hint", "identifier", "indeterminate", "label", "labelHidden", "labelLeft", "name", "nativeAttributes", "noValue", "required", "requiredMarker", "resolvedValue", "testId", "value"] }, { kind: "directive", type: i2.BooleanValueAccessor, selector: "cat-checkbox, cat-toggle" }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }] });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatCheckboxFieldType, decorators: [{
32
- type: Component,
33
- args: [{
34
- selector: 'formly-checkbox',
35
- template: `
36
- <cat-checkbox
37
- [formControl]="formControl"
38
- [formlyAttributes]="field"
39
- [checked]="props.checked"
40
- [identifier]="props.identifier"
41
- [indeterminate]="props.indeterminate"
42
- [label]="props.label"
43
- [name]="props.name"
44
- [hint]="props.hint"
45
- [labelLeft]="props.labelLeft"
46
- [nativeAttributes]="props.nativeAttributes"
47
- [requiredMarker]="props.requiredMarker"
48
- >
49
- </cat-checkbox>
50
- `
51
- }]
52
- }] });
53
-
54
- class CatDateFieldType extends FieldType {
55
- }
56
- CatDateFieldType.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDateFieldType, deps: null, target: i0.ɵɵFactoryTarget.Component });
57
- CatDateFieldType.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDateFieldType, selector: "formly-date", usesInheritance: true, ngImport: i0, template: `
58
- <cat-date
59
- [formControl]="formControl"
60
- [formlyAttributes]="field"
61
- [requiredMarker]="props.requiredMarker"
62
- [horizontal]="props.horizontal"
63
- [autoComplete]="props.autoComplete"
64
- [clearable]="props.clearable"
65
- [hint]="props.hint"
66
- [icon]="props.icon"
67
- [iconRight]="props.iconRight"
68
- [identifier]="props.identifier"
69
- [label]="props.label"
70
- [labelHidden]="props.labelHidden"
71
- [max]="props.max"
72
- [min]="props.min"
73
- [name]="props.name"
74
- [placeholder]="props.placeholder"
75
- [textPrefix]="props.textPrefix"
76
- [textSuffix]="props.textSuffix"
77
- [readonly]="props.readonly"
78
- [errors]="props.errors"
79
- [errorUpdate]="props.errorUpdate"
80
- [errorInit]="props.errorInit"
81
- [nativeAttributes]="props.nativeAttributes"
82
- >
83
- </cat-date>
84
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.CatDate, selector: "cat-date", inputs: ["autoComplete", "clearable", "disabled", "errorUpdate", "errors", "hint", "horizontal", "icon", "iconRight", "identifier", "label", "labelHidden", "max", "min", "name", "nativeAttributes", "placeholder", "placement", "readonly", "required", "requiredMarker", "testId", "textPrefix", "textSuffix", "value"] }, { kind: "directive", type: i2.DateValueAccessor, selector: "cat-date, cat-date-inline" }, { kind: "directive", type: i2.ValueAccessorDecorator, selector: "cat-input, cat-textarea, cat-datepicker, cat-select, cat-date, cat-time, cat-tag", inputs: ["errorInit"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }] });
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDateFieldType, decorators: [{
86
- type: Component,
87
- args: [{
88
- selector: 'formly-date',
89
- template: `
90
- <cat-date
91
- [formControl]="formControl"
92
- [formlyAttributes]="field"
93
- [requiredMarker]="props.requiredMarker"
94
- [horizontal]="props.horizontal"
95
- [autoComplete]="props.autoComplete"
96
- [clearable]="props.clearable"
97
- [hint]="props.hint"
98
- [icon]="props.icon"
99
- [iconRight]="props.iconRight"
100
- [identifier]="props.identifier"
101
- [label]="props.label"
102
- [labelHidden]="props.labelHidden"
103
- [max]="props.max"
104
- [min]="props.min"
105
- [name]="props.name"
106
- [placeholder]="props.placeholder"
107
- [textPrefix]="props.textPrefix"
108
- [textSuffix]="props.textSuffix"
109
- [readonly]="props.readonly"
110
- [errors]="props.errors"
111
- [errorUpdate]="props.errorUpdate"
112
- [errorInit]="props.errorInit"
113
- [nativeAttributes]="props.nativeAttributes"
114
- >
115
- </cat-date>
116
- `
117
- }]
118
- }] });
119
-
120
- class CatDatepickerFieldType extends FieldType {
121
- }
122
- CatDatepickerFieldType.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDatepickerFieldType, deps: null, target: i0.ɵɵFactoryTarget.Component });
123
- CatDatepickerFieldType.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDatepickerFieldType, selector: "formly-datepicker", usesInheritance: true, ngImport: i0, template: `
124
- <cat-datepicker
125
- [formControl]="formControl"
126
- [formlyAttributes]="field"
127
- [requiredMarker]="props.requiredMarker"
128
- [horizontal]="props.horizontal"
129
- [autoComplete]="props.autoComplete"
130
- [clearable]="props.clearable"
131
- [hint]="props.hint"
132
- [icon]="props.icon"
133
- [iconRight]="props.iconRight"
134
- [identifier]="props.identifier"
135
- [label]="props.label"
136
- [labelHidden]="props.labelHidden"
137
- [max]="props.max"
138
- [min]="props.min"
139
- [mode]="props.mode"
140
- [name]="props.name"
141
- [placeholder]="props.placeholder"
142
- [textPrefix]="props.textPrefix"
143
- [textSuffix]="props.textSuffix"
144
- [readonly]="props.readonly"
145
- [step]="props.step"
146
- [errors]="props.errors"
147
- [errorUpdate]="props.errorUpdate"
148
- [errorInit]="props.errorInit"
149
- [nativeAttributes]="props.nativeAttributes"
150
- >
151
- </cat-datepicker>
152
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.CatDatepicker, selector: "cat-datepicker", inputs: ["attachToElement", "autoComplete", "clearable", "disabled", "errorUpdate", "errors", "hint", "horizontal", "icon", "iconRight", "identifier", "label", "labelHidden", "max", "min", "mode", "name", "nativeAttributes", "nativePickerAttributes", "placeholder", "position", "readonly", "required", "requiredMarker", "step", "textPrefix", "textSuffix", "value"] }, { kind: "directive", type: i2.TextValueAccessor, selector: "cat-input, cat-textarea, cat-datepicker, cat-datepicker-inline" }, { kind: "directive", type: i2.ValueAccessorDecorator, selector: "cat-input, cat-textarea, cat-datepicker, cat-select, cat-date, cat-time, cat-tag", inputs: ["errorInit"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }] });
153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDatepickerFieldType, decorators: [{
154
- type: Component,
155
- args: [{
156
- selector: 'formly-datepicker',
157
- template: `
158
- <cat-datepicker
159
- [formControl]="formControl"
160
- [formlyAttributes]="field"
161
- [requiredMarker]="props.requiredMarker"
162
- [horizontal]="props.horizontal"
163
- [autoComplete]="props.autoComplete"
164
- [clearable]="props.clearable"
165
- [hint]="props.hint"
166
- [icon]="props.icon"
167
- [iconRight]="props.iconRight"
168
- [identifier]="props.identifier"
169
- [label]="props.label"
170
- [labelHidden]="props.labelHidden"
171
- [max]="props.max"
172
- [min]="props.min"
173
- [mode]="props.mode"
174
- [name]="props.name"
175
- [placeholder]="props.placeholder"
176
- [textPrefix]="props.textPrefix"
177
- [textSuffix]="props.textSuffix"
178
- [readonly]="props.readonly"
179
- [step]="props.step"
180
- [errors]="props.errors"
181
- [errorUpdate]="props.errorUpdate"
182
- [errorInit]="props.errorInit"
183
- [nativeAttributes]="props.nativeAttributes"
184
- >
185
- </cat-datepicker>
186
- `
187
- }]
188
- }] });
189
-
190
- class CatInputFieldType extends FieldType {
191
- }
192
- CatInputFieldType.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatInputFieldType, deps: null, target: i0.ɵɵFactoryTarget.Component });
193
- CatInputFieldType.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatInputFieldType, selector: "formly-input", usesInheritance: true, ngImport: i0, template: `
194
- <cat-input
195
- [formControl]="formControl"
196
- [formlyAttributes]="field"
197
- [requiredMarker]="props.requiredMarker"
198
- [horizontal]="props.horizontal"
199
- [autoComplete]="props.autoComplete"
200
- [clearable]="props.clearable"
201
- [icon]="props.icon"
202
- [iconRight]="props.iconRight"
203
- [identifier]="props.identifier"
204
- [label]="props.label"
205
- [labelHidden]="props.labelHidden"
206
- [max]="props.max"
207
- [maxLength]="props.maxLength"
208
- [min]="props.min"
209
- [minLength]="props.minLength"
210
- [name]="props.name"
211
- [placeholder]="props.placeholder"
212
- [textPrefix]="props.textPrefix"
213
- [textSuffix]="props.textSuffix"
214
- [readonly]="props.readonly"
215
- [round]="props.round"
216
- [type]="props.type"
217
- [errors]="props.errors"
218
- [errorUpdate]="props.errorUpdate"
219
- [errorInit]="props.errorInit"
220
- [hint]="props.hint"
221
- [nativeAttributes]="props.nativeAttributes"
222
- >
223
- </cat-input>
224
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.CatInput, selector: "cat-input", inputs: ["accept", "autoComplete", "clearable", "dateMaskOptions", "disabled", "errorUpdate", "errors", "hint", "horizontal", "icon", "iconRight", "identifier", "label", "labelHidden", "loading", "max", "maxLength", "min", "minLength", "multiple", "name", "nativeAttributes", "placeholder", "readonly", "required", "requiredMarker", "round", "testId", "textPrefix", "textSuffix", "timeMaskOptions", "togglePassword", "type", "value"] }, { kind: "directive", type: i2.TextValueAccessor, selector: "cat-input, cat-textarea, cat-datepicker, cat-datepicker-inline" }, { kind: "directive", type: i2.ValueAccessorDecorator, selector: "cat-input, cat-textarea, cat-datepicker, cat-select, cat-date, cat-time, cat-tag", inputs: ["errorInit"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }] });
225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatInputFieldType, decorators: [{
226
- type: Component,
227
- args: [{
228
- selector: 'formly-input',
229
- template: `
230
- <cat-input
231
- [formControl]="formControl"
232
- [formlyAttributes]="field"
233
- [requiredMarker]="props.requiredMarker"
234
- [horizontal]="props.horizontal"
235
- [autoComplete]="props.autoComplete"
236
- [clearable]="props.clearable"
237
- [icon]="props.icon"
238
- [iconRight]="props.iconRight"
239
- [identifier]="props.identifier"
240
- [label]="props.label"
241
- [labelHidden]="props.labelHidden"
242
- [max]="props.max"
243
- [maxLength]="props.maxLength"
244
- [min]="props.min"
245
- [minLength]="props.minLength"
246
- [name]="props.name"
247
- [placeholder]="props.placeholder"
248
- [textPrefix]="props.textPrefix"
249
- [textSuffix]="props.textSuffix"
250
- [readonly]="props.readonly"
251
- [round]="props.round"
252
- [type]="props.type"
253
- [errors]="props.errors"
254
- [errorUpdate]="props.errorUpdate"
255
- [errorInit]="props.errorInit"
256
- [hint]="props.hint"
257
- [nativeAttributes]="props.nativeAttributes"
258
- >
259
- </cat-input>
260
- `
261
- }]
262
- }] });
263
-
264
- class CatRadioGroupFieldType extends FieldType {
265
- }
266
- CatRadioGroupFieldType.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadioGroupFieldType, deps: null, target: i0.ɵɵFactoryTarget.Component });
267
- CatRadioGroupFieldType.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatRadioGroupFieldType, selector: "formly-radio-group", usesInheritance: true, ngImport: i0, template: `
268
- <cat-radio-group
269
- [formControl]="formControl"
270
- [formlyAttributes]="field"
271
- [name]="props.name"
272
- [a11yLabel]="props.a11yLabel"
273
- [labelLeft]="props.labelLeft"
274
- >
275
- <cat-radio
276
- *ngFor="let option of props.options"
277
- [checked]="option.checked"
278
- [disabled]="option.disabled"
279
- [identifier]="option.identifier"
280
- [label]="option.label"
281
- [labelHidden]="option.labelHidden"
282
- [name]="option.name"
283
- [required]="option.required"
284
- [value]="option.value"
285
- [hint]="option.hint"
286
- [labelLeft]="option.labelLeft"
287
- [nativeAttributes]="option.nativeAttributes"
288
- >
289
- </cat-radio>
290
- </cat-radio-group>
291
- `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.CatRadio, selector: "cat-radio", inputs: ["alignment", "checked", "disabled", "hint", "identifier", "label", "labelHidden", "labelLeft", "name", "nativeAttributes", "required", "testId", "value"] }, { kind: "component", type: i2.CatRadioGroup, selector: "cat-radio-group", inputs: ["a11yLabel", "disabled", "labelLeft", "name", "value"] }, { kind: "directive", type: i2.RadioValueAccessor, selector: "cat-radio, cat-radio-group" }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }] });
292
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadioGroupFieldType, decorators: [{
293
- type: Component,
294
- args: [{
295
- selector: 'formly-radio-group',
296
- template: `
297
- <cat-radio-group
298
- [formControl]="formControl"
299
- [formlyAttributes]="field"
300
- [name]="props.name"
301
- [a11yLabel]="props.a11yLabel"
302
- [labelLeft]="props.labelLeft"
303
- >
304
- <cat-radio
305
- *ngFor="let option of props.options"
306
- [checked]="option.checked"
307
- [disabled]="option.disabled"
308
- [identifier]="option.identifier"
309
- [label]="option.label"
310
- [labelHidden]="option.labelHidden"
311
- [name]="option.name"
312
- [required]="option.required"
313
- [value]="option.value"
314
- [hint]="option.hint"
315
- [labelLeft]="option.labelLeft"
316
- [nativeAttributes]="option.nativeAttributes"
317
- >
318
- </cat-radio>
319
- </cat-radio-group>
320
- `
321
- }]
322
- }] });
323
-
324
- class CatRadioFieldType extends FieldType {
325
- }
326
- CatRadioFieldType.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadioFieldType, deps: null, target: i0.ɵɵFactoryTarget.Component });
327
- CatRadioFieldType.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatRadioFieldType, selector: "formly-radio", usesInheritance: true, ngImport: i0, template: `
328
- <cat-radio
329
- [formControl]="formControl"
330
- [formlyAttributes]="field"
331
- [checked]="props.checked"
332
- [identifier]="props.identifier"
333
- [label]="props.label"
334
- [name]="props.name"
335
- [hint]="props.hint"
336
- [labelLeft]="props.labelLeft"
337
- [nativeAttributes]="props.nativeAttributes"
338
- >
339
- </cat-radio>
340
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.CatRadio, selector: "cat-radio", inputs: ["alignment", "checked", "disabled", "hint", "identifier", "label", "labelHidden", "labelLeft", "name", "nativeAttributes", "required", "testId", "value"] }, { kind: "directive", type: i2.RadioValueAccessor, selector: "cat-radio, cat-radio-group" }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }] });
341
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadioFieldType, decorators: [{
342
- type: Component,
343
- args: [{
344
- selector: 'formly-radio',
345
- template: `
346
- <cat-radio
347
- [formControl]="formControl"
348
- [formlyAttributes]="field"
349
- [checked]="props.checked"
350
- [identifier]="props.identifier"
351
- [label]="props.label"
352
- [name]="props.name"
353
- [hint]="props.hint"
354
- [labelLeft]="props.labelLeft"
355
- [nativeAttributes]="props.nativeAttributes"
356
- >
357
- </cat-radio>
358
- `
359
- }]
360
- }] });
361
-
362
- class CatSelectFieldType extends FieldType {
363
- }
364
- CatSelectFieldType.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSelectFieldType, deps: null, target: i0.ɵɵFactoryTarget.Component });
365
- CatSelectFieldType.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatSelectFieldType, selector: "formly-select", usesInheritance: true, ngImport: i0, template: `
366
- <cat-select
367
- [formControl]="formControl"
368
- [formlyAttributes]="field"
369
- [requiredMarker]="props.requiredMarker"
370
- [horizontal]="props.horizontal"
371
- [multiple]="props.multiple"
372
- [debounce]="props.debounce"
373
- [placement]="props.placement"
374
- [placeholder]="props.placeholder"
375
- [hint]="props.hint"
376
- [identifier]="props.identifier"
377
- [label]="props.label"
378
- [name]="props.name"
379
- [labelHidden]="props.labelHidden"
380
- [clearable]="props.clearable"
381
- [tags]="props.tags"
382
- [tagHint]="props.tagHint"
383
- [noItems]="props.noItems"
384
- [errors]="props.errors"
385
- [errorUpdate]="props.errorUpdate"
386
- [errorInit]="props.errorInit"
387
- [nativeAttributes]="props.nativeAttributes"
388
- [connector]="props.connector"
389
- >
390
- </cat-select>
391
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.CatSelect, selector: "cat-select", inputs: ["clearable", "debounce", "disabled", "errorUpdate", "errors", "hint", "horizontal", "identifier", "label", "labelHidden", "multiple", "name", "nativeAttributes", "noItems", "placeholder", "placement", "required", "requiredMarker", "tagHint", "tags", "testId", "value"] }, { kind: "directive", type: i2.SelectValueAccessor, selector: "cat-select, cat-tag" }, { kind: "directive", type: i2.SelectValueAccessorDecorator, selector: "cat-select", inputs: ["connector"] }, { kind: "directive", type: i2.ValueAccessorDecorator, selector: "cat-input, cat-textarea, cat-datepicker, cat-select, cat-date, cat-time, cat-tag", inputs: ["errorInit"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }] });
392
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSelectFieldType, decorators: [{
393
- type: Component,
394
- args: [{
395
- selector: 'formly-select',
396
- template: `
397
- <cat-select
398
- [formControl]="formControl"
399
- [formlyAttributes]="field"
400
- [requiredMarker]="props.requiredMarker"
401
- [horizontal]="props.horizontal"
402
- [multiple]="props.multiple"
403
- [debounce]="props.debounce"
404
- [placement]="props.placement"
405
- [placeholder]="props.placeholder"
406
- [hint]="props.hint"
407
- [identifier]="props.identifier"
408
- [label]="props.label"
409
- [name]="props.name"
410
- [labelHidden]="props.labelHidden"
411
- [clearable]="props.clearable"
412
- [tags]="props.tags"
413
- [tagHint]="props.tagHint"
414
- [noItems]="props.noItems"
415
- [errors]="props.errors"
416
- [errorUpdate]="props.errorUpdate"
417
- [errorInit]="props.errorInit"
418
- [nativeAttributes]="props.nativeAttributes"
419
- [connector]="props.connector"
420
- >
421
- </cat-select>
422
- `
423
- }]
424
- }] });
425
-
426
- class CatTextareaFieldType extends FieldType {
427
- }
428
- CatTextareaFieldType.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTextareaFieldType, deps: null, target: i0.ɵɵFactoryTarget.Component });
429
- CatTextareaFieldType.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTextareaFieldType, selector: "formly-textarea", usesInheritance: true, ngImport: i0, template: `
430
- <cat-textarea
431
- [formControl]="formControl"
432
- [formlyAttributes]="field"
433
- [requiredMarker]="props.requiredMarker"
434
- [horizontal]="props.horizontal"
435
- [identifier]="props.identifier"
436
- [label]="props.label"
437
- [labelHidden]="props.labelHidden"
438
- [maxLength]="props.maxLength"
439
- [minLength]="props.minLength"
440
- [rows]="props.rows"
441
- [name]="props.name"
442
- [placeholder]="props.placeholder"
443
- [readonly]="props.readonly"
444
- [errors]="props.errors"
445
- [errorUpdate]="props.errorUpdate"
446
- [errorInit]="props.errorInit"
447
- [hint]="props.hint"
448
- [nativeAttributes]="props.nativeAttributes"
449
- >
450
- </cat-textarea>
451
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.CatTextarea, selector: "cat-textarea", inputs: ["autoComplete", "disabled", "errorUpdate", "errors", "hint", "horizontal", "identifier", "label", "labelHidden", "maxLength", "minLength", "name", "nativeAttributes", "placeholder", "readonly", "required", "requiredMarker", "rows", "testId", "value"] }, { kind: "directive", type: i2.TextValueAccessor, selector: "cat-input, cat-textarea, cat-datepicker, cat-datepicker-inline" }, { kind: "directive", type: i2.ValueAccessorDecorator, selector: "cat-input, cat-textarea, cat-datepicker, cat-select, cat-date, cat-time, cat-tag", inputs: ["errorInit"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }] });
452
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTextareaFieldType, decorators: [{
453
- type: Component,
454
- args: [{
455
- selector: 'formly-textarea',
456
- template: `
457
- <cat-textarea
458
- [formControl]="formControl"
459
- [formlyAttributes]="field"
460
- [requiredMarker]="props.requiredMarker"
461
- [horizontal]="props.horizontal"
462
- [identifier]="props.identifier"
463
- [label]="props.label"
464
- [labelHidden]="props.labelHidden"
465
- [maxLength]="props.maxLength"
466
- [minLength]="props.minLength"
467
- [rows]="props.rows"
468
- [name]="props.name"
469
- [placeholder]="props.placeholder"
470
- [readonly]="props.readonly"
471
- [errors]="props.errors"
472
- [errorUpdate]="props.errorUpdate"
473
- [errorInit]="props.errorInit"
474
- [hint]="props.hint"
475
- [nativeAttributes]="props.nativeAttributes"
476
- >
477
- </cat-textarea>
478
- `
479
- }]
480
- }] });
481
-
482
- class CatToggleFieldType extends FieldType {
483
- }
484
- CatToggleFieldType.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatToggleFieldType, deps: null, target: i0.ɵɵFactoryTarget.Component });
485
- CatToggleFieldType.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatToggleFieldType, selector: "formly-toggle", usesInheritance: true, ngImport: i0, template: `
486
- <cat-toggle
487
- [formControl]="formControl"
488
- [formlyAttributes]="field"
489
- [checked]="props.checked"
490
- [identifier]="props.identifier"
491
- [label]="props.label"
492
- [labelHidden]="props.labelHidden"
493
- [name]="props.name"
494
- [hint]="props.hint"
495
- [resolvedValue]="props.resolvedValue"
496
- [nativeAttributes]="props.nativeAttributes"
497
- >
498
- </cat-toggle>
499
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.CatToggle, selector: "cat-toggle", inputs: ["alignment", "checked", "disabled", "hint", "identifier", "label", "labelHidden", "labelLeft", "name", "nativeAttributes", "noValue", "required", "resolvedValue", "testId", "value"] }, { kind: "directive", type: i2.BooleanValueAccessor, selector: "cat-checkbox, cat-toggle" }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }] });
500
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatToggleFieldType, decorators: [{
501
- type: Component,
502
- args: [{
503
- selector: 'formly-toggle',
504
- template: `
505
- <cat-toggle
506
- [formControl]="formControl"
507
- [formlyAttributes]="field"
508
- [checked]="props.checked"
509
- [identifier]="props.identifier"
510
- [label]="props.label"
511
- [labelHidden]="props.labelHidden"
512
- [name]="props.name"
513
- [hint]="props.hint"
514
- [resolvedValue]="props.resolvedValue"
515
- [nativeAttributes]="props.nativeAttributes"
516
- >
517
- </cat-toggle>
518
- `
519
- }]
520
- }] });
521
-
522
- class CatalystFormlyModule {
523
- }
524
- CatalystFormlyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatalystFormlyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
525
- CatalystFormlyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: CatalystFormlyModule, declarations: [CatCheckboxFieldType,
526
- CatDateFieldType,
527
- CatDatepickerFieldType,
528
- CatInputFieldType,
529
- CatRadioFieldType,
530
- CatRadioGroupFieldType,
531
- CatSelectFieldType,
532
- CatTextareaFieldType,
533
- CatToggleFieldType], imports: [CommonModule,
534
- ReactiveFormsModule,
535
- CatalystModule, i3.FormlyModule], exports: [CatCheckboxFieldType,
536
- CatDateFieldType,
537
- CatDatepickerFieldType,
538
- CatInputFieldType,
539
- CatRadioFieldType,
540
- CatRadioGroupFieldType,
541
- CatSelectFieldType,
542
- CatTextareaFieldType,
543
- CatToggleFieldType] });
544
- CatalystFormlyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatalystFormlyModule, imports: [CommonModule,
545
- ReactiveFormsModule,
546
- CatalystModule,
547
- FormlyModule.forChild({
548
- types: [
549
- {
550
- name: 'cat-checkbox-formly',
551
- component: CatCheckboxFieldType
552
- },
553
- {
554
- name: 'cat-toggle-formly',
555
- component: CatToggleFieldType
556
- },
557
- {
558
- name: 'cat-radio-formly',
559
- component: CatRadioFieldType
560
- },
561
- {
562
- name: 'cat-radio-group-formly',
563
- component: CatRadioGroupFieldType
564
- },
565
- {
566
- name: 'cat-input-formly',
567
- component: CatInputFieldType
568
- },
569
- {
570
- name: 'cat-textarea-formly',
571
- component: CatTextareaFieldType
572
- },
573
- {
574
- name: 'cat-datepicker-formly',
575
- component: CatDatepickerFieldType
576
- },
577
- {
578
- name: 'cat-select-formly',
579
- component: CatSelectFieldType
580
- },
581
- {
582
- name: 'cat-date-formly',
583
- component: CatDateFieldType
584
- }
585
- ]
586
- })] });
587
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatalystFormlyModule, decorators: [{
588
- type: NgModule,
589
- args: [{
590
- declarations: [
591
- CatCheckboxFieldType,
592
- CatDateFieldType,
593
- CatDatepickerFieldType,
594
- CatInputFieldType,
595
- CatRadioFieldType,
596
- CatRadioGroupFieldType,
597
- CatSelectFieldType,
598
- CatTextareaFieldType,
599
- CatToggleFieldType
600
- ],
601
- imports: [
602
- CommonModule,
603
- ReactiveFormsModule,
604
- CatalystModule,
605
- FormlyModule.forChild({
606
- types: [
607
- {
608
- name: 'cat-checkbox-formly',
609
- component: CatCheckboxFieldType
610
- },
611
- {
612
- name: 'cat-toggle-formly',
613
- component: CatToggleFieldType
614
- },
615
- {
616
- name: 'cat-radio-formly',
617
- component: CatRadioFieldType
618
- },
619
- {
620
- name: 'cat-radio-group-formly',
621
- component: CatRadioGroupFieldType
622
- },
623
- {
624
- name: 'cat-input-formly',
625
- component: CatInputFieldType
626
- },
627
- {
628
- name: 'cat-textarea-formly',
629
- component: CatTextareaFieldType
630
- },
631
- {
632
- name: 'cat-datepicker-formly',
633
- component: CatDatepickerFieldType
634
- },
635
- {
636
- name: 'cat-select-formly',
637
- component: CatSelectFieldType
638
- },
639
- {
640
- name: 'cat-date-formly',
641
- component: CatDateFieldType
642
- }
643
- ]
644
- })
645
- ],
646
- exports: [
647
- CatCheckboxFieldType,
648
- CatDateFieldType,
649
- CatDatepickerFieldType,
650
- CatInputFieldType,
651
- CatRadioFieldType,
652
- CatRadioGroupFieldType,
653
- CatSelectFieldType,
654
- CatTextareaFieldType,
655
- CatToggleFieldType
656
- ]
657
- }]
658
- }] });
659
-
660
- /**
661
- * Generated bundle index. Do not edit.
662
- */
663
-
664
- export { CatCheckboxFieldType, CatDateFieldType, CatDatepickerFieldType, CatInputFieldType, CatRadioFieldType, CatRadioGroupFieldType, CatSelectFieldType, CatTextareaFieldType, CatToggleFieldType, CatalystFormlyModule };
665
- //# sourceMappingURL=haiilo-catalyst-angular-formly.mjs.map