@ngx-formly/kendo 6.0.0-next.8 → 6.0.0-next.9

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 (57) hide show
  1. package/checkbox/checkbox.module.d.ts +5 -3
  2. package/checkbox/checkbox.type.d.ts +2 -1
  3. package/esm2020/checkbox/checkbox.module.mjs +13 -5
  4. package/esm2020/checkbox/checkbox.type.mjs +19 -39
  5. package/esm2020/form-field/field.type.mjs +21 -0
  6. package/esm2020/form-field/form-field.module.mjs +14 -6
  7. package/esm2020/form-field/form-field.wrapper.mjs +47 -23
  8. package/esm2020/form-field/public_api.mjs +2 -1
  9. package/esm2020/input/input.module.mjs +10 -6
  10. package/esm2020/input/input.type.mjs +18 -29
  11. package/esm2020/lib/ui-kendo.module.mjs +4 -4
  12. package/esm2020/radio/radio.module.mjs +13 -5
  13. package/esm2020/radio/radio.type.mjs +17 -23
  14. package/esm2020/select/select.module.mjs +4 -4
  15. package/esm2020/select/select.type.mjs +6 -14
  16. package/esm2020/textarea/textarea.module.mjs +9 -5
  17. package/esm2020/textarea/textarea.type.mjs +9 -22
  18. package/fesm2015/ngx-formly-kendo-checkbox.mjs +32 -44
  19. package/fesm2015/ngx-formly-kendo-checkbox.mjs.map +1 -1
  20. package/fesm2015/ngx-formly-kendo-form-field.mjs +78 -29
  21. package/fesm2015/ngx-formly-kendo-form-field.mjs.map +1 -1
  22. package/fesm2015/ngx-formly-kendo-input.mjs +27 -34
  23. package/fesm2015/ngx-formly-kendo-input.mjs.map +1 -1
  24. package/fesm2015/ngx-formly-kendo-radio.mjs +30 -28
  25. package/fesm2015/ngx-formly-kendo-radio.mjs.map +1 -1
  26. package/fesm2015/ngx-formly-kendo-select.mjs +10 -18
  27. package/fesm2015/ngx-formly-kendo-select.mjs.map +1 -1
  28. package/fesm2015/ngx-formly-kendo-textarea.mjs +18 -27
  29. package/fesm2015/ngx-formly-kendo-textarea.mjs.map +1 -1
  30. package/fesm2015/ngx-formly-kendo.mjs +4 -4
  31. package/fesm2015/ngx-formly-kendo.mjs.map +1 -1
  32. package/fesm2020/ngx-formly-kendo-checkbox.mjs +32 -44
  33. package/fesm2020/ngx-formly-kendo-checkbox.mjs.map +1 -1
  34. package/fesm2020/ngx-formly-kendo-form-field.mjs +77 -29
  35. package/fesm2020/ngx-formly-kendo-form-field.mjs.map +1 -1
  36. package/fesm2020/ngx-formly-kendo-input.mjs +27 -34
  37. package/fesm2020/ngx-formly-kendo-input.mjs.map +1 -1
  38. package/fesm2020/ngx-formly-kendo-radio.mjs +30 -28
  39. package/fesm2020/ngx-formly-kendo-radio.mjs.map +1 -1
  40. package/fesm2020/ngx-formly-kendo-select.mjs +10 -18
  41. package/fesm2020/ngx-formly-kendo-select.mjs.map +1 -1
  42. package/fesm2020/ngx-formly-kendo-textarea.mjs +18 -27
  43. package/fesm2020/ngx-formly-kendo-textarea.mjs.map +1 -1
  44. package/fesm2020/ngx-formly-kendo.mjs +4 -4
  45. package/fesm2020/ngx-formly-kendo.mjs.map +1 -1
  46. package/form-field/field.type.d.ts +8 -0
  47. package/form-field/form-field.module.d.ts +4 -2
  48. package/form-field/form-field.wrapper.d.ts +5 -1
  49. package/form-field/public_api.d.ts +1 -0
  50. package/input/input.module.d.ts +3 -2
  51. package/input/input.type.d.ts +2 -1
  52. package/package.json +5 -3
  53. package/radio/radio.module.d.ts +6 -4
  54. package/radio/radio.type.d.ts +2 -6
  55. package/select/select.type.d.ts +2 -6
  56. package/textarea/textarea.module.d.ts +5 -4
  57. package/textarea/textarea.type.d.ts +2 -1
@@ -1,47 +1,37 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
- import * as i2 from '@ngx-formly/core';
5
- import { FieldType, FormlyModule } from '@ngx-formly/core';
6
- import * as i1 from '@angular/forms';
4
+ import * as i3 from '@ngx-formly/core';
5
+ import { FormlyModule } from '@ngx-formly/core';
6
+ import * as i2 from '@angular/forms';
7
7
  import { ReactiveFormsModule } from '@angular/forms';
8
- import { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
8
+ import { FieldType, FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
9
+ import * as i1 from '@progress/kendo-angular-inputs';
10
+ import { InputsModule } from '@progress/kendo-angular-inputs';
9
11
 
10
12
  class FormlyFieldTextArea extends FieldType {
11
13
  }
12
- FormlyFieldTextArea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component });
13
- FormlyFieldTextArea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: FormlyFieldTextArea, selector: "formly-field-kendo-textarea", usesInheritance: true, ngImport: i0, template: `
14
- <textarea
15
- class="k-textarea"
16
- [class.k-state-invalid]="showError"
17
- [formControl]="formControl"
18
- [formlyAttributes]="field"
19
- ></textarea>
20
- `, isInline: true, directives: [{ type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i2.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
14
+ FormlyFieldTextArea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component });
15
+ FormlyFieldTextArea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: FormlyFieldTextArea, selector: "formly-field-kendo-textarea", usesInheritance: true, ngImport: i0, template: ` <textarea kendoTextArea [formControl]="formControl" [formlyAttributes]="field"></textarea> `, isInline: true, directives: [{ type: i1.TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: ["autoSize", "value"], outputs: ["valueChange"] }, { type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
22
17
  type: Component,
23
18
  args: [{
24
19
  selector: 'formly-field-kendo-textarea',
25
- template: `
26
- <textarea
27
- class="k-textarea"
28
- [class.k-state-invalid]="showError"
29
- [formControl]="formControl"
30
- [formlyAttributes]="field"
31
- ></textarea>
32
- `,
20
+ template: ` <textarea kendoTextArea [formControl]="formControl" [formlyAttributes]="field"></textarea> `,
33
21
  changeDetection: ChangeDetectionStrategy.OnPush,
34
22
  }]
35
23
  }] });
36
24
 
37
25
  class FormlyTextAreaModule {
38
26
  }
39
- FormlyTextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
40
- FormlyTextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyTextAreaModule, declarations: [FormlyFieldTextArea], imports: [CommonModule,
27
+ FormlyTextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
28
+ FormlyTextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyTextAreaModule, declarations: [FormlyFieldTextArea], imports: [CommonModule,
29
+ InputsModule,
41
30
  ReactiveFormsModule,
42
- FormlyFormFieldModule, i2.FormlyModule] });
43
- FormlyTextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyTextAreaModule, imports: [[
31
+ FormlyFormFieldModule, i3.FormlyModule] });
32
+ FormlyTextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyTextAreaModule, imports: [[
44
33
  CommonModule,
34
+ InputsModule,
45
35
  ReactiveFormsModule,
46
36
  FormlyFormFieldModule,
47
37
  FormlyModule.forChild({
@@ -54,12 +44,13 @@ FormlyTextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
54
44
  ],
55
45
  }),
56
46
  ]] });
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyTextAreaModule, decorators: [{
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyTextAreaModule, decorators: [{
58
48
  type: NgModule,
59
49
  args: [{
60
50
  declarations: [FormlyFieldTextArea],
61
51
  imports: [
62
52
  CommonModule,
53
+ InputsModule,
63
54
  ReactiveFormsModule,
64
55
  FormlyFormFieldModule,
65
56
  FormlyModule.forChild({
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-kendo-textarea.mjs","sources":["../../../../src/ui/kendo/textarea/src/textarea.type.ts","../../../../src/ui/kendo/textarea/src/textarea.module.ts","../../../../src/ui/kendo/textarea/src/ngx-formly-kendo-textarea.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-kendo-textarea',\n template: `\n <textarea\n class=\"k-textarea\"\n [class.k-state-invalid]=\"showError\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n ></textarea>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldTextArea extends FieldType<FieldTypeConfig> {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { FormlyFieldTextArea } from './textarea.type';\n\n@NgModule({\n declarations: [FormlyFieldTextArea],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextArea,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyTextAreaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAea,4BAA4B,SAA0B;;gHAAtD,mBAAmB;oGAAnB,mBAAmB,0FAVpB;;;;;;;GAOT;2FAGU,mBAAmB;kBAZ/B,SAAS;mBAAC;oBACT,QAAQ,EAAE,6BAA6B;oBACvC,QAAQ,EAAE;;;;;;;GAOT;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCWY,oBAAoB;;iHAApB,oBAAoB;kHAApB,oBAAoB,iBAjBhB,mBAAmB,aAEhC,YAAY;QACZ,mBAAmB;QAEnB,qBAAqB;kHAYZ,oBAAoB,YAhBtB;YACP,YAAY;YACZ,mBAAmB;YAEnB,qBAAqB;YACrB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,UAAU;wBAChB,SAAS,EAAE,mBAAmB;wBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;qBACzB;iBACF;aACF,CAAC;SACH;2FAEU,oBAAoB;kBAlBhC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBAEnB,qBAAqB;wBACrB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,UAAU;oCAChB,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;6BACF;yBACF,CAAC;qBACH;iBACF;;;ACxBD;;;;;;"}
1
+ {"version":3,"file":"ngx-formly-kendo-textarea.mjs","sources":["../../../../src/ui/kendo/textarea/src/textarea.type.ts","../../../../src/ui/kendo/textarea/src/textarea.module.ts","../../../../src/ui/kendo/textarea/src/ngx-formly-kendo-textarea.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldTypeConfig } from '@ngx-formly/core';\nimport { FieldType } from '@ngx-formly/kendo/form-field';\n\n@Component({\n selector: 'formly-field-kendo-textarea',\n template: ` <textarea kendoTextArea [formControl]=\"formControl\" [formlyAttributes]=\"field\"></textarea> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldTextArea extends FieldType<FieldTypeConfig> {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { InputsModule } from '@progress/kendo-angular-inputs';\nimport { FormlyFieldTextArea } from './textarea.type';\n\n@NgModule({\n declarations: [FormlyFieldTextArea],\n imports: [\n CommonModule,\n InputsModule,\n ReactiveFormsModule,\n\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextArea,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyTextAreaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AASM,MAAO,mBAAoB,SAAQ,SAA0B,CAAA;;gHAAtD,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,0FAHpB,CAAA,4FAAA,CAA8F,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,OAAA,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,8MAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,UAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,QAAA,EAAA,oBAAA,EA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,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBACZ,mBAAmB;wBAEnB,qBAAqB;wBACrB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC1BD;;AAEG;;;;"}
@@ -9,14 +9,14 @@ import { FormlySelectModule } from '@ngx-formly/kendo/select';
9
9
 
10
10
  class FormlyKendoModule {
11
11
  }
12
- FormlyKendoModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyKendoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- FormlyKendoModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyKendoModule, imports: [FormlyFormFieldModule,
12
+ FormlyKendoModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyKendoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ FormlyKendoModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyKendoModule, imports: [FormlyFormFieldModule,
14
14
  FormlyInputModule,
15
15
  FormlyTextAreaModule,
16
16
  FormlyRadioModule,
17
17
  FormlyCheckboxModule,
18
18
  FormlySelectModule] });
19
- FormlyKendoModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyKendoModule, imports: [[
19
+ FormlyKendoModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyKendoModule, imports: [[
20
20
  FormlyFormFieldModule,
21
21
  FormlyInputModule,
22
22
  FormlyTextAreaModule,
@@ -24,7 +24,7 @@ FormlyKendoModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
24
24
  FormlyCheckboxModule,
25
25
  FormlySelectModule,
26
26
  ]] });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyKendoModule, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyKendoModule, decorators: [{
28
28
  type: NgModule,
29
29
  args: [{
30
30
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-kendo.mjs","sources":["../../../../src/ui/kendo/src/lib/ui-kendo.module.ts","../../../../src/ui/kendo/src/public_api.ts","../../../../src/ui/kendo/src/ngx-formly-kendo.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { FormlyInputModule } from '@ngx-formly/kendo/input';\nimport { FormlyTextAreaModule } from '@ngx-formly/kendo/textarea';\nimport { FormlyRadioModule } from '@ngx-formly/kendo/radio';\nimport { FormlyCheckboxModule } from '@ngx-formly/kendo/checkbox';\nimport { FormlySelectModule } from '@ngx-formly/kendo/select';\n\n@NgModule({\n imports: [\n FormlyFormFieldModule,\n FormlyInputModule,\n FormlyTextAreaModule,\n FormlyRadioModule,\n FormlyCheckboxModule,\n FormlySelectModule,\n ],\n})\nexport class FormlyKendoModule {}\n","/*\n * Public API Surface of kendo\n */\n\nexport * from './lib/ui-kendo';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAkBa,iBAAiB;;8GAAjB,iBAAiB;+GAAjB,iBAAiB,YAR1B,qBAAqB;QACrB,iBAAiB;QACjB,oBAAoB;QACpB,iBAAiB;QACjB,oBAAoB;QACpB,kBAAkB;+GAGT,iBAAiB,YATnB;YACP,qBAAqB;YACrB,iBAAiB;YACjB,oBAAoB;YACpB,iBAAiB;YACjB,oBAAoB;YACpB,kBAAkB;SACnB;2FAEU,iBAAiB;kBAV7B,QAAQ;mBAAC;oBACR,OAAO,EAAE;wBACP,qBAAqB;wBACrB,iBAAiB;wBACjB,oBAAoB;wBACpB,iBAAiB;wBACjB,oBAAoB;wBACpB,kBAAkB;qBACnB;iBACF;;;ACjBD;;;;ACAA;;;;;;"}
1
+ {"version":3,"file":"ngx-formly-kendo.mjs","sources":["../../../../src/ui/kendo/src/lib/ui-kendo.module.ts","../../../../src/ui/kendo/src/public_api.ts","../../../../src/ui/kendo/src/ngx-formly-kendo.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { FormlyInputModule } from '@ngx-formly/kendo/input';\nimport { FormlyTextAreaModule } from '@ngx-formly/kendo/textarea';\nimport { FormlyRadioModule } from '@ngx-formly/kendo/radio';\nimport { FormlyCheckboxModule } from '@ngx-formly/kendo/checkbox';\nimport { FormlySelectModule } from '@ngx-formly/kendo/select';\n\n@NgModule({\n imports: [\n FormlyFormFieldModule,\n FormlyInputModule,\n FormlyTextAreaModule,\n FormlyRadioModule,\n FormlyCheckboxModule,\n FormlySelectModule,\n ],\n})\nexport class FormlyKendoModule {}\n","/*\n * Public API Surface of kendo\n */\n\nexport * from './lib/ui-kendo';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAkBa,iBAAiB,CAAA;;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAR1B,qBAAqB;QACrB,iBAAiB;QACjB,oBAAoB;QACpB,iBAAiB;QACjB,oBAAoB;QACpB,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAGT,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,EATnB,OAAA,EAAA,CAAA;YACP,qBAAqB;YACrB,iBAAiB;YACjB,oBAAoB;YACpB,iBAAiB;YACjB,oBAAoB;YACpB,kBAAkB;SACnB,CAAA,EAAA,CAAA,CAAA;2FAEU,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAV7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,qBAAqB;wBACrB,iBAAiB;wBACjB,oBAAoB;wBACpB,iBAAiB;wBACjB,oBAAoB;wBACpB,kBAAkB;AACnB,qBAAA;iBACF,CAAA;;;ACjBD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -1,12 +1,16 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i3 from '@angular/common';
2
+ import { Component, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';
3
+ import * as i5 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i2 from '@ngx-formly/core';
6
- import { FieldType, FormlyModule } from '@ngx-formly/core';
5
+ import * as i3 from '@ngx-formly/core';
6
+ import { FormlyModule } from '@ngx-formly/core';
7
7
  import * as i1 from '@angular/forms';
8
8
  import { ReactiveFormsModule } from '@angular/forms';
9
- import { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
9
+ import { FieldType, FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
10
+ import * as i4 from '@progress/kendo-angular-label';
11
+ import { LabelModule } from '@progress/kendo-angular-label';
12
+ import * as i2 from '@progress/kendo-angular-inputs';
13
+ import { InputsModule } from '@progress/kendo-angular-inputs';
10
14
 
11
15
  class FormlyFieldCheckbox extends FieldType {
12
16
  constructor() {
@@ -18,56 +22,38 @@ class FormlyFieldCheckbox extends FieldType {
18
22
  };
19
23
  }
20
24
  }
21
- FormlyFieldCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component });
22
- FormlyFieldCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: FormlyFieldCheckbox, selector: "formly-field-kendo-checkbox", usesInheritance: true, ngImport: i0, template: `
23
- <input
24
- type="checkbox"
25
- class="k-checkbox"
26
- [class.k-state-invalid]="showError"
27
- [formControl]="formControl"
28
- [formlyAttributes]="field"
29
- />
30
-
25
+ FormlyFieldCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component });
26
+ FormlyFieldCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: FormlyFieldCheckbox, selector: "formly-field-kendo-checkbox", usesInheritance: true, ngImport: i0, template: `
27
+ <input type="checkbox" kendoCheckBox [formControl]="formControl" [formlyAttributes]="field" />
31
28
  <label [for]="id" class="k-checkbox-label">
32
- <span>
33
- {{ to.label }}
34
- <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" class="k-required">*</span>
35
- </span>
29
+ {{ to.label }}
30
+ <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" class="k-required">*</span>
36
31
  </label>
37
- `, isInline: true, directives: [{ type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i2.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
32
+ `, isInline: true, styles: [".k-form formly-field-kendo-checkbox .k-label{display:inherit}\n"], directives: [{ type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i2.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i4.LabelDirective, selector: "label[for]", inputs: ["for"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
39
34
  type: Component,
40
- args: [{
41
- selector: 'formly-field-kendo-checkbox',
42
- template: `
43
- <input
44
- type="checkbox"
45
- class="k-checkbox"
46
- [class.k-state-invalid]="showError"
47
- [formControl]="formControl"
48
- [formlyAttributes]="field"
49
- />
50
-
35
+ args: [{ selector: 'formly-field-kendo-checkbox', template: `
36
+ <input type="checkbox" kendoCheckBox [formControl]="formControl" [formlyAttributes]="field" />
51
37
  <label [for]="id" class="k-checkbox-label">
52
- <span>
53
- {{ to.label }}
54
- <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" class="k-required">*</span>
55
- </span>
38
+ {{ to.label }}
39
+ <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" class="k-required">*</span>
56
40
  </label>
57
- `,
58
- changeDetection: ChangeDetectionStrategy.OnPush,
59
- }]
41
+ `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".k-form formly-field-kendo-checkbox .k-label{display:inherit}\n"] }]
60
42
  }] });
61
43
 
62
44
  class FormlyCheckboxModule {
63
45
  }
64
- FormlyCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
65
- FormlyCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyCheckboxModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
46
+ FormlyCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
47
+ FormlyCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyCheckboxModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
66
48
  ReactiveFormsModule,
67
- FormlyFormFieldModule, i2.FormlyModule] });
68
- FormlyCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyCheckboxModule, imports: [[
49
+ InputsModule,
50
+ LabelModule,
51
+ FormlyFormFieldModule, i3.FormlyModule] });
52
+ FormlyCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyCheckboxModule, imports: [[
69
53
  CommonModule,
70
54
  ReactiveFormsModule,
55
+ InputsModule,
56
+ LabelModule,
71
57
  FormlyFormFieldModule,
72
58
  FormlyModule.forChild({
73
59
  types: [
@@ -83,13 +69,15 @@ FormlyCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
83
69
  ],
84
70
  }),
85
71
  ]] });
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyCheckboxModule, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyCheckboxModule, decorators: [{
87
73
  type: NgModule,
88
74
  args: [{
89
75
  declarations: [FormlyFieldCheckbox],
90
76
  imports: [
91
77
  CommonModule,
92
78
  ReactiveFormsModule,
79
+ InputsModule,
80
+ LabelModule,
93
81
  FormlyFormFieldModule,
94
82
  FormlyModule.forChild({
95
83
  types: [
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-kendo-checkbox.mjs","sources":["../../../../src/ui/kendo/checkbox/src/checkbox.type.ts","../../../../src/ui/kendo/checkbox/src/checkbox.module.ts","../../../../src/ui/kendo/checkbox/src/ngx-formly-kendo-checkbox.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-kendo-checkbox',\n template: `\n <input\n type=\"checkbox\"\n class=\"k-checkbox\"\n [class.k-state-invalid]=\"showError\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n />\n\n <label [for]=\"id\" class=\"k-checkbox-label\">\n <span>\n {{ to.label }}\n <span *ngIf=\"to.required && to.hideRequiredMarker !== true\" aria-hidden=\"true\" class=\"k-required\">*</span>\n </span>\n </label>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldCheckbox extends FieldType<FieldTypeConfig> {\n defaultOptions = {\n templateOptions: {\n hideLabel: true,\n },\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\n\nimport { FormlyFieldCheckbox } from './checkbox.type';\n\n@NgModule({\n declarations: [FormlyFieldCheckbox],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'checkbox',\n component: FormlyFieldCheckbox,\n wrappers: ['form-field'],\n },\n {\n name: 'boolean',\n extends: 'checkbox',\n },\n ],\n }),\n ],\n})\nexport class FormlyCheckboxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;MAuBa,mBAAoB,SAAQ,SAA0B;IApBnE;;QAqBE,mBAAc,GAAG;YACf,eAAe,EAAE;gBACf,SAAS,EAAE,IAAI;aAChB;SACF,CAAC;KACH;;gHANY,mBAAmB;oGAAnB,mBAAmB,0FAlBpB;;;;;;;;;;;;;;;GAeT;2FAGU,mBAAmB;kBApB/B,SAAS;mBAAC;oBACT,QAAQ,EAAE,6BAA6B;oBACvC,QAAQ,EAAE;;;;;;;;;;;;;;;GAeT;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCOY,oBAAoB;;iHAApB,oBAAoB;kHAApB,oBAAoB,iBApBhB,mBAAmB,aAEhC,YAAY;QACZ,mBAAmB;QACnB,qBAAqB;kHAgBZ,oBAAoB,YAnBtB;YACP,YAAY;YACZ,mBAAmB;YACnB,qBAAqB;YACrB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,UAAU;wBAChB,SAAS,EAAE,mBAAmB;wBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;qBACzB;oBACD;wBACE,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,UAAU;qBACpB;iBACF;aACF,CAAC;SACH;2FAEU,oBAAoB;kBArBhC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,qBAAqB;wBACrB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,UAAU;oCAChB,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;gCACD;oCACE,IAAI,EAAE,SAAS;oCACf,OAAO,EAAE,UAAU;iCACpB;6BACF;yBACF,CAAC;qBACH;iBACF;;;AC5BD;;;;;;"}
1
+ {"version":3,"file":"ngx-formly-kendo-checkbox.mjs","sources":["../../../../src/ui/kendo/checkbox/src/checkbox.type.ts","../../../../src/ui/kendo/checkbox/src/checkbox.module.ts","../../../../src/ui/kendo/checkbox/src/ngx-formly-kendo-checkbox.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core';\nimport { FieldTypeConfig } from '@ngx-formly/core';\nimport { FieldType } from '@ngx-formly/kendo/form-field';\n\n@Component({\n selector: 'formly-field-kendo-checkbox',\n template: `\n <input type=\"checkbox\" kendoCheckBox [formControl]=\"formControl\" [formlyAttributes]=\"field\" />\n <label [for]=\"id\" class=\"k-checkbox-label\">\n {{ to.label }}\n <span *ngIf=\"to.required && to.hideRequiredMarker !== true\" aria-hidden=\"true\" class=\"k-required\">*</span>\n </label>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./checkbox.type.scss'],\n})\nexport class FormlyFieldCheckbox extends FieldType<FieldTypeConfig> {\n override defaultOptions = {\n templateOptions: {\n hideLabel: true,\n },\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { LabelModule } from '@progress/kendo-angular-label';\nimport { InputsModule } from '@progress/kendo-angular-inputs';\n\nimport { FormlyFieldCheckbox } from './checkbox.type';\n\n@NgModule({\n declarations: [FormlyFieldCheckbox],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n InputsModule,\n LabelModule,\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'checkbox',\n component: FormlyFieldCheckbox,\n wrappers: ['form-field'],\n },\n {\n name: 'boolean',\n extends: 'checkbox',\n },\n ],\n }),\n ],\n})\nexport class FormlyCheckboxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AAiBM,MAAO,mBAAoB,SAAQ,SAA0B,CAAA;AAbnE,IAAA,WAAA,GAAA;;AAcW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,eAAe,EAAE;AACf,gBAAA,SAAS,EAAE,IAAI;AAChB,aAAA;SACF,CAAC;AACH,KAAA;;gHANY,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,EAXpB,QAAA,EAAA,6BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;AAMT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,iEAAA,CAAA,EAAA,UAAA,EAAA,CA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B,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACD,gCAAA;AACE,oCAAA,IAAI,EAAE,SAAS;AACf,oCAAA,OAAO,EAAE,UAAU;AACpB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AChCD;;AAEG;;;;"}
@@ -1,54 +1,83 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i2 from '@angular/common';
2
+ import { Component, ViewChild, NgModule, Directive, ViewChildren } from '@angular/core';
3
+ import * as i3 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i1 from '@ngx-formly/core';
6
- import { FieldWrapper, FormlyModule } from '@ngx-formly/core';
7
- import { ReactiveFormsModule } from '@angular/forms';
5
+ import * as i2 from '@ngx-formly/core';
6
+ import { FieldWrapper, ɵdefineHiddenProp, FormlyModule, FieldType as FieldType$1 } from '@ngx-formly/core';
7
+ import { ReactiveFormsModule, NgControl } from '@angular/forms';
8
+ import * as i1 from '@progress/kendo-angular-inputs';
9
+ import { FormFieldComponent, FormFieldModule } from '@progress/kendo-angular-inputs';
10
+ import * as i4 from '@progress/kendo-angular-label';
11
+ import { LabelModule } from '@progress/kendo-angular-label';
8
12
 
9
13
  class FormlyWrapperFormField extends FieldWrapper {
14
+ ngOnInit() {
15
+ ɵdefineHiddenProp(this.field, '_formField', this.formfield);
16
+ ɵdefineHiddenProp(this.formfield, 'formControls', undefined);
17
+ this.formfield['showErrorsInitial'] = () => this.showError;
18
+ this.formfield['showHintsInitial'] = () => !this.showError;
19
+ const disabledElement = this.formfield['disabledElement'].bind(this);
20
+ this.formfield['disabledElement'] = () => {
21
+ if (this.formfield.controlElementRefs.length === 0) {
22
+ return false;
23
+ }
24
+ return disabledElement();
25
+ };
26
+ }
10
27
  }
11
- FormlyWrapperFormField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component });
12
- FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: FormlyWrapperFormField, selector: "formly-wrapper-kendo-form-field", usesInheritance: true, ngImport: i0, template: `
13
- <label [for]="id" class="k-form-field">
14
- <span *ngIf="to.label && to.hideLabel !== true">
28
+ FormlyWrapperFormField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component });
29
+ FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: FormlyWrapperFormField, selector: "formly-wrapper-kendo-form-field", viewQueries: [{ propertyName: "formfield", first: true, predicate: FormFieldComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
30
+ <kendo-formfield [orientation]="to.orientation">
31
+ <label *ngIf="to.label && to.hideLabel !== true" [for]="id">
15
32
  {{ to.label }}
16
33
  <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" class="k-required">*</span>
17
- </span>
34
+ </label>
35
+
18
36
  <ng-container #fieldComponent></ng-container>
19
- </label>
20
37
 
21
- <formly-validation-message *ngIf="showError" class="k-field-info k-required" [field]="field">
22
- </formly-validation-message>
23
- `, isInline: true, components: [{ type: i1.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
38
+ <kendo-formhint *ngIf="to.description">{{ to.description }}</kendo-formhint>
39
+ <kendo-formerror *ngIf="showError">
40
+ <formly-validation-message [field]="field"></formly-validation-message>
41
+ </kendo-formerror>
42
+ </kendo-formfield>
43
+ `, isInline: true, components: [{ type: i1.FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { type: i1.HintComponent, selector: "kendo-formhint", inputs: ["align"] }, { type: i1.ErrorComponent, selector: "kendo-formerror", inputs: ["align"] }, { type: i2.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.LabelDirective, selector: "label[for]", inputs: ["for"] }] });
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
25
45
  type: Component,
26
46
  args: [{
27
47
  selector: 'formly-wrapper-kendo-form-field',
28
48
  template: `
29
- <label [for]="id" class="k-form-field">
30
- <span *ngIf="to.label && to.hideLabel !== true">
49
+ <kendo-formfield [orientation]="to.orientation">
50
+ <label *ngIf="to.label && to.hideLabel !== true" [for]="id">
31
51
  {{ to.label }}
32
52
  <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" class="k-required">*</span>
33
- </span>
53
+ </label>
54
+
34
55
  <ng-container #fieldComponent></ng-container>
35
- </label>
36
56
 
37
- <formly-validation-message *ngIf="showError" class="k-field-info k-required" [field]="field">
38
- </formly-validation-message>
57
+ <kendo-formhint *ngIf="to.description">{{ to.description }}</kendo-formhint>
58
+ <kendo-formerror *ngIf="showError">
59
+ <formly-validation-message [field]="field"></formly-validation-message>
60
+ </kendo-formerror>
61
+ </kendo-formfield>
39
62
  `,
40
- changeDetection: ChangeDetectionStrategy.OnPush,
41
63
  }]
42
- }] });
64
+ }], propDecorators: { formfield: [{
65
+ type: ViewChild,
66
+ args: [FormFieldComponent, { static: true }]
67
+ }] } });
43
68
 
44
69
  class FormlyFormFieldModule {
45
70
  }
46
- FormlyFormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
47
- FormlyFormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyFormFieldModule, declarations: [FormlyWrapperFormField], imports: [CommonModule,
48
- ReactiveFormsModule, i1.FormlyModule] });
49
- FormlyFormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyFormFieldModule, imports: [[
71
+ FormlyFormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
72
+ FormlyFormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFormFieldModule, declarations: [FormlyWrapperFormField], imports: [CommonModule,
73
+ ReactiveFormsModule,
74
+ FormFieldModule,
75
+ LabelModule, i2.FormlyModule] });
76
+ FormlyFormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFormFieldModule, imports: [[
50
77
  CommonModule,
51
78
  ReactiveFormsModule,
79
+ FormFieldModule,
80
+ LabelModule,
52
81
  FormlyModule.forChild({
53
82
  wrappers: [
54
83
  {
@@ -58,13 +87,15 @@ FormlyFormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", v
58
87
  ],
59
88
  }),
60
89
  ]] });
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyFormFieldModule, decorators: [{
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFormFieldModule, decorators: [{
62
91
  type: NgModule,
63
92
  args: [{
64
93
  declarations: [FormlyWrapperFormField],
65
94
  imports: [
66
95
  CommonModule,
67
96
  ReactiveFormsModule,
97
+ FormFieldModule,
98
+ LabelModule,
68
99
  FormlyModule.forChild({
69
100
  wrappers: [
70
101
  {
@@ -77,9 +108,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
77
108
  }]
78
109
  }] });
79
110
 
111
+ class FieldType extends FieldType$1 {
112
+ set formControls(formControls) {
113
+ this.formField['control'] = formControls.first;
114
+ }
115
+ get formField() {
116
+ return this.field?.['_formField'];
117
+ }
118
+ }
119
+ FieldType.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FieldType, deps: null, target: i0.ɵɵFactoryTarget.Directive });
120
+ FieldType.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.6", type: FieldType, viewQueries: [{ propertyName: "formControls", predicate: NgControl, descendants: true }], usesInheritance: true, ngImport: i0 });
121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FieldType, decorators: [{
122
+ type: Directive
123
+ }], propDecorators: { formControls: [{
124
+ type: ViewChildren,
125
+ args: [NgControl]
126
+ }] } });
127
+
80
128
  /**
81
129
  * Generated bundle index. Do not edit.
82
130
  */
83
131
 
84
- export { FormlyFormFieldModule };
132
+ export { FieldType, FormlyFormFieldModule };
85
133
  //# sourceMappingURL=ngx-formly-kendo-form-field.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-kendo-form-field.mjs","sources":["../../../../src/ui/kendo/form-field/src/form-field.wrapper.ts","../../../../src/ui/kendo/form-field/src/form-field.module.ts","../../../../src/ui/kendo/form-field/src/ngx-formly-kendo-form-field.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldWrapper } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-wrapper-kendo-form-field',\n template: `\n <label [for]=\"id\" class=\"k-form-field\">\n <span *ngIf=\"to.label && to.hideLabel !== true\">\n {{ to.label }}\n <span *ngIf=\"to.required && to.hideRequiredMarker !== true\" aria-hidden=\"true\" class=\"k-required\">*</span>\n </span>\n <ng-container #fieldComponent></ng-container>\n </label>\n\n <formly-validation-message *ngIf=\"showError\" class=\"k-field-info k-required\" [field]=\"field\">\n </formly-validation-message>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyWrapperFormField extends FieldWrapper {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyWrapperFormField } from './form-field.wrapper';\n\n@NgModule({\n declarations: [FormlyWrapperFormField],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'form-field',\n component: FormlyWrapperFormField,\n },\n ],\n }),\n ],\n})\nexport class FormlyFormFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;MAmBa,sBAAuB,SAAQ,YAAY;;mHAA3C,sBAAsB;uGAAtB,sBAAsB,8FAdvB;;;;;;;;;;;GAWT;2FAGU,sBAAsB;kBAhBlC,SAAS;mBAAC;oBACT,QAAQ,EAAE,iCAAiC;oBAC3C,QAAQ,EAAE;;;;;;;;;;;GAWT;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCIY,qBAAqB;;kHAArB,qBAAqB;mHAArB,qBAAqB,iBAfjB,sBAAsB,aAEnC,YAAY;QACZ,mBAAmB;mHAYV,qBAAqB,YAdvB;YACP,YAAY;YACZ,mBAAmB;YAEnB,YAAY,CAAC,QAAQ,CAAC;gBACpB,QAAQ,EAAE;oBACR;wBACE,IAAI,EAAE,YAAY;wBAClB,SAAS,EAAE,sBAAsB;qBAClC;iBACF;aACF,CAAC;SACH;2FAEU,qBAAqB;kBAhBjC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBAEnB,YAAY,CAAC,QAAQ,CAAC;4BACpB,QAAQ,EAAE;gCACR;oCACE,IAAI,EAAE,YAAY;oCAClB,SAAS,EAAE,sBAAsB;iCAClC;6BACF;yBACF,CAAC;qBACH;iBACF;;;ACrBD;;;;;;"}
1
+ {"version":3,"file":"ngx-formly-kendo-form-field.mjs","sources":["../../../../src/ui/kendo/form-field/src/form-field.wrapper.ts","../../../../src/ui/kendo/form-field/src/form-field.module.ts","../../../../src/ui/kendo/form-field/src/field.type.ts","../../../../src/ui/kendo/form-field/src/ngx-formly-kendo-form-field.ts"],"sourcesContent":["import { Component, ViewChild, OnInit } from '@angular/core';\nimport { FormFieldComponent } from '@progress/kendo-angular-inputs';\nimport { ɵdefineHiddenProp as defineHiddenProp, FieldWrapper } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-wrapper-kendo-form-field',\n template: `\n <kendo-formfield [orientation]=\"to.orientation\">\n <label *ngIf=\"to.label && to.hideLabel !== true\" [for]=\"id\">\n {{ to.label }}\n <span *ngIf=\"to.required && to.hideRequiredMarker !== true\" aria-hidden=\"true\" class=\"k-required\">*</span>\n </label>\n\n <ng-container #fieldComponent></ng-container>\n\n <kendo-formhint *ngIf=\"to.description\">{{ to.description }}</kendo-formhint>\n <kendo-formerror *ngIf=\"showError\">\n <formly-validation-message [field]=\"field\"></formly-validation-message>\n </kendo-formerror>\n </kendo-formfield>\n `,\n})\nexport class FormlyWrapperFormField extends FieldWrapper implements OnInit {\n @ViewChild(FormFieldComponent, { static: true }) formfield!: FormFieldComponent;\n\n ngOnInit() {\n defineHiddenProp(this.field, '_formField', this.formfield);\n defineHiddenProp(this.formfield, 'formControls', undefined);\n this.formfield['showErrorsInitial'] = () => this.showError;\n this.formfield['showHintsInitial'] = () => !this.showError;\n\n const disabledElement = this.formfield['disabledElement'].bind(this);\n this.formfield['disabledElement'] = () => {\n if (this.formfield.controlElementRefs.length === 0) {\n return false;\n }\n\n return disabledElement();\n };\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyWrapperFormField } from './form-field.wrapper';\nimport { FormFieldModule } from '@progress/kendo-angular-inputs';\nimport { LabelModule } from '@progress/kendo-angular-label';\n\n@NgModule({\n declarations: [FormlyWrapperFormField],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormFieldModule,\n LabelModule,\n\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'form-field',\n component: FormlyWrapperFormField,\n },\n ],\n }),\n ],\n})\nexport class FormlyFormFieldModule {}\n","import { Directive, ViewChildren, QueryList } from '@angular/core';\nimport { FormlyFieldConfig, FieldType as CoreFieldType } from '@ngx-formly/core';\nimport { NgControl } from '@angular/forms';\nimport { FormFieldComponent } from '@progress/kendo-angular-inputs';\n\n@Directive()\nexport abstract class FieldType<F extends FormlyFieldConfig = FormlyFieldConfig> extends CoreFieldType<F> {\n @ViewChildren(NgControl) private set formControls(formControls: QueryList<NgControl>) {\n this.formField['control'] = formControls.first;\n }\n\n private get formField(): FormFieldComponent {\n return (this.field as any)?.['_formField'];\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["defineHiddenProp","i1","CoreFieldType"],"mappings":";;;;;;;;;;;;AAsBM,MAAO,sBAAuB,SAAQ,YAAY,CAAA;IAGtD,QAAQ,GAAA;QACNA,iBAAgB,CAAC,IAAI,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;QAC3DA,iBAAgB,CAAC,IAAI,CAAC,SAAS,EAAE,cAAc,EAAE,SAAS,CAAC,CAAC;AAC5D,QAAA,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,GAAG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AAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FADH,SAAS,EAAA,UAAA,EAAA,CAAA;kBAD9B,SAAS;8BAE6B,YAAY,EAAA,CAAA;sBAAhD,YAAY;uBAAC,SAAS,CAAA;;;ACPzB;;AAEG;;;;"}
@@ -1,56 +1,46 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/common';
3
+ import * as i2 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i3 from '@ngx-formly/core';
6
- import { FieldType, FormlyModule } from '@ngx-formly/core';
7
- import * as i2 from '@angular/forms';
5
+ import * as i4 from '@ngx-formly/core';
6
+ import { FormlyModule } from '@ngx-formly/core';
7
+ import * as i3 from '@angular/forms';
8
8
  import { ReactiveFormsModule } from '@angular/forms';
9
- import { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
9
+ import { FieldType, FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
10
+ import * as i1 from '@progress/kendo-angular-inputs';
11
+ import { InputsModule } from '@progress/kendo-angular-inputs';
10
12
 
11
13
  class FormlyFieldInput extends FieldType {
12
14
  }
13
- FormlyFieldInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component });
14
- FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: FormlyFieldInput, selector: "formly-field-kendo-input", usesInheritance: true, ngImport: i0, template: `
15
+ FormlyFieldInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component });
16
+ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: FormlyFieldInput, selector: "formly-field-kendo-input", usesInheritance: true, ngImport: i0, template: `
15
17
  <input
16
18
  *ngIf="to.type !== 'number'; else numberTmp"
19
+ kendoTextBox
17
20
  [type]="to.type || 'text'"
18
- [formControl]="formControl"
19
- class="k-textbox"
20
21
  [formlyAttributes]="field"
21
- [class.k-state-invalid]="showError"
22
+ [formControl]="formControl"
23
+ [formControl]="formControl"
22
24
  />
23
25
  <ng-template #numberTmp>
24
- <input
25
- type="number"
26
- [formControl]="formControl"
27
- class="k-textbox"
28
- [formlyAttributes]="field"
29
- [class.k-state-invalid]="showError"
30
- />
26
+ <kendo-numerictextbox [formlyAttributes]="field" [formControl]="formControl"> </kendo-numerictextbox>
31
27
  </ng-template>
32
- `, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyFieldInput, decorators: [{
28
+ `, isInline: true, components: [{ type: i1.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "decimals", "step", "spinners", "rangeValidation", "tabindex", "changeValueOnScroll", "selectOnFocus", "value", "format", "tabIndex", "size", "rounded", "fillMode", "max", "min", "placeholder", "maxlength"], outputs: ["valueChange", "focus", "blur"], exportAs: ["kendoNumericTextBox"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldInput, decorators: [{
34
30
  type: Component,
35
31
  args: [{
36
32
  selector: 'formly-field-kendo-input',
37
33
  template: `
38
34
  <input
39
35
  *ngIf="to.type !== 'number'; else numberTmp"
36
+ kendoTextBox
40
37
  [type]="to.type || 'text'"
41
- [formControl]="formControl"
42
- class="k-textbox"
43
38
  [formlyAttributes]="field"
44
- [class.k-state-invalid]="showError"
39
+ [formControl]="formControl"
40
+ [formControl]="formControl"
45
41
  />
46
42
  <ng-template #numberTmp>
47
- <input
48
- type="number"
49
- [formControl]="formControl"
50
- class="k-textbox"
51
- [formlyAttributes]="field"
52
- [class.k-state-invalid]="showError"
53
- />
43
+ <kendo-numerictextbox [formlyAttributes]="field" [formControl]="formControl"> </kendo-numerictextbox>
54
44
  </ng-template>
55
45
  `,
56
46
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -59,14 +49,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
59
49
 
60
50
  class FormlyInputModule {
61
51
  }
62
- FormlyInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
63
- FormlyInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyInputModule, declarations: [FormlyFieldInput], imports: [CommonModule,
52
+ FormlyInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
53
+ FormlyInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyInputModule, declarations: [FormlyFieldInput], imports: [CommonModule,
64
54
  ReactiveFormsModule,
65
- FormlyFormFieldModule, i3.FormlyModule] });
66
- FormlyInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyInputModule, imports: [[
55
+ FormlyFormFieldModule,
56
+ InputsModule, i4.FormlyModule] });
57
+ FormlyInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyInputModule, imports: [[
67
58
  CommonModule,
68
59
  ReactiveFormsModule,
69
60
  FormlyFormFieldModule,
61
+ InputsModule,
70
62
  FormlyModule.forChild({
71
63
  types: [
72
64
  {
@@ -96,7 +88,7 @@ FormlyInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
96
88
  ],
97
89
  }),
98
90
  ]] });
99
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyInputModule, decorators: [{
91
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyInputModule, decorators: [{
100
92
  type: NgModule,
101
93
  args: [{
102
94
  declarations: [FormlyFieldInput],
@@ -104,6 +96,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
104
96
  CommonModule,
105
97
  ReactiveFormsModule,
106
98
  FormlyFormFieldModule,
99
+ InputsModule,
107
100
  FormlyModule.forChild({
108
101
  types: [
109
102
  {