@ngx-formly/kendo 6.0.0-next.1 → 6.0.0-next.2

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 (146) hide show
  1. package/README.md +2 -2
  2. package/checkbox/checkbox.module.d.ts +9 -0
  3. package/checkbox/checkbox.type.d.ts +3 -0
  4. package/checkbox/ngx-formly-kendo-checkbox.d.ts +1 -0
  5. package/checkbox/package.json +5 -6
  6. package/esm2020/checkbox/checkbox.module.mjs +57 -0
  7. package/esm2020/checkbox/checkbox.type.mjs +57 -0
  8. package/{esm2015/checkbox/ngx-formly-kendo-checkbox.js → esm2020/checkbox/ngx-formly-kendo-checkbox.mjs} +0 -0
  9. package/{esm2015/checkbox/public_api.js → esm2020/checkbox/public_api.mjs} +0 -0
  10. package/esm2020/form-field/form-field.module.mjs +43 -0
  11. package/esm2020/form-field/form-field.wrapper.mjs +40 -0
  12. package/{esm2015/form-field/ngx-formly-kendo-form-field.js → esm2020/form-field/ngx-formly-kendo-form-field.mjs} +1 -2
  13. package/{esm2015/form-field/public_api.js → esm2020/form-field/public_api.mjs} +0 -0
  14. package/esm2020/input/input.module.mjs +87 -0
  15. package/esm2020/input/input.type.mjs +55 -0
  16. package/{esm2015/input/ngx-formly-kendo-input.js → esm2020/input/ngx-formly-kendo-input.mjs} +0 -0
  17. package/{esm2015/input/public_api.js → esm2020/input/public_api.mjs} +0 -0
  18. package/{esm2015/lib/ui-kendo.js → esm2020/lib/ui-kendo.mjs} +0 -0
  19. package/esm2020/lib/ui-kendo.module.mjs +39 -0
  20. package/{esm2015/ngx-formly-kendo.js → esm2020/ngx-formly-kendo.mjs} +0 -0
  21. package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
  22. package/{esm2015/radio/ngx-formly-kendo-radio.js → esm2020/radio/ngx-formly-kendo-radio.mjs} +0 -0
  23. package/{esm2015/radio/public_api.js → esm2020/radio/public_api.mjs} +0 -0
  24. package/esm2020/radio/radio.module.mjs +53 -0
  25. package/esm2020/radio/radio.type.mjs +58 -0
  26. package/{esm2015/select/ngx-formly-kendo-select.js → esm2020/select/ngx-formly-kendo-select.mjs} +0 -0
  27. package/{esm2015/select/public_api.js → esm2020/select/public_api.mjs} +0 -0
  28. package/esm2020/select/select.module.mjs +59 -0
  29. package/esm2020/select/select.type.mjs +51 -0
  30. package/{esm2015/textarea/ngx-formly-kendo-textarea.js → esm2020/textarea/ngx-formly-kendo-textarea.mjs} +0 -0
  31. package/{esm2015/textarea/public_api.js → esm2020/textarea/public_api.mjs} +0 -0
  32. package/esm2020/textarea/textarea.module.mjs +49 -0
  33. package/esm2020/textarea/textarea.type.mjs +32 -0
  34. package/fesm2015/ngx-formly-kendo-checkbox.mjs +116 -0
  35. package/fesm2015/ngx-formly-kendo-checkbox.mjs.map +1 -0
  36. package/fesm2015/ngx-formly-kendo-form-field.mjs +85 -0
  37. package/fesm2015/ngx-formly-kendo-form-field.mjs.map +1 -0
  38. package/fesm2015/ngx-formly-kendo-input.mjs +144 -0
  39. package/fesm2015/ngx-formly-kendo-input.mjs.map +1 -0
  40. package/fesm2015/ngx-formly-kendo-radio.mjs +113 -0
  41. package/fesm2015/ngx-formly-kendo-radio.mjs.map +1 -0
  42. package/fesm2015/ngx-formly-kendo-select.mjs +112 -0
  43. package/fesm2015/ngx-formly-kendo-select.mjs.map +1 -0
  44. package/fesm2015/ngx-formly-kendo-textarea.mjs +83 -0
  45. package/fesm2015/ngx-formly-kendo-textarea.mjs.map +1 -0
  46. package/fesm2015/ngx-formly-kendo.mjs +50 -0
  47. package/fesm2015/ngx-formly-kendo.mjs.map +1 -0
  48. package/fesm2020/ngx-formly-kendo-checkbox.mjs +116 -0
  49. package/fesm2020/ngx-formly-kendo-checkbox.mjs.map +1 -0
  50. package/fesm2020/ngx-formly-kendo-form-field.mjs +85 -0
  51. package/fesm2020/ngx-formly-kendo-form-field.mjs.map +1 -0
  52. package/fesm2020/ngx-formly-kendo-input.mjs +144 -0
  53. package/fesm2020/ngx-formly-kendo-input.mjs.map +1 -0
  54. package/fesm2020/ngx-formly-kendo-radio.mjs +113 -0
  55. package/fesm2020/ngx-formly-kendo-radio.mjs.map +1 -0
  56. package/fesm2020/ngx-formly-kendo-select.mjs +112 -0
  57. package/fesm2020/ngx-formly-kendo-select.mjs.map +1 -0
  58. package/fesm2020/ngx-formly-kendo-textarea.mjs +83 -0
  59. package/fesm2020/ngx-formly-kendo-textarea.mjs.map +1 -0
  60. package/fesm2020/ngx-formly-kendo.mjs +50 -0
  61. package/fesm2020/ngx-formly-kendo.mjs.map +1 -0
  62. package/form-field/form-field.module.d.ts +8 -0
  63. package/form-field/form-field.wrapper.d.ts +3 -0
  64. package/form-field/ngx-formly-kendo-form-field.d.ts +1 -1
  65. package/form-field/package.json +5 -6
  66. package/input/input.module.d.ts +9 -0
  67. package/input/input.type.d.ts +3 -0
  68. package/input/ngx-formly-kendo-input.d.ts +1 -0
  69. package/input/package.json +5 -6
  70. package/lib/ui-kendo.module.d.ts +10 -0
  71. package/ngx-formly-kendo.d.ts +1 -0
  72. package/package.json +68 -8
  73. package/radio/ngx-formly-kendo-radio.d.ts +1 -0
  74. package/radio/package.json +5 -6
  75. package/radio/radio.module.d.ts +10 -0
  76. package/radio/radio.type.d.ts +3 -0
  77. package/select/ngx-formly-kendo-select.d.ts +1 -0
  78. package/select/package.json +5 -6
  79. package/select/select.module.d.ts +11 -0
  80. package/select/select.type.d.ts +3 -0
  81. package/textarea/ngx-formly-kendo-textarea.d.ts +1 -0
  82. package/textarea/package.json +5 -6
  83. package/textarea/textarea.module.d.ts +9 -0
  84. package/textarea/textarea.type.d.ts +3 -0
  85. package/bundles/ngx-formly-kendo-checkbox.umd.js +0 -376
  86. package/bundles/ngx-formly-kendo-checkbox.umd.js.map +0 -1
  87. package/bundles/ngx-formly-kendo-checkbox.umd.min.js +0 -16
  88. package/bundles/ngx-formly-kendo-checkbox.umd.min.js.map +0 -1
  89. package/bundles/ngx-formly-kendo-form-field.umd.js +0 -364
  90. package/bundles/ngx-formly-kendo-form-field.umd.js.map +0 -1
  91. package/bundles/ngx-formly-kendo-form-field.umd.min.js +0 -16
  92. package/bundles/ngx-formly-kendo-form-field.umd.min.js.map +0 -1
  93. package/bundles/ngx-formly-kendo-input.umd.js +0 -385
  94. package/bundles/ngx-formly-kendo-input.umd.js.map +0 -1
  95. package/bundles/ngx-formly-kendo-input.umd.min.js +0 -16
  96. package/bundles/ngx-formly-kendo-input.umd.min.js.map +0 -1
  97. package/bundles/ngx-formly-kendo-radio.umd.js +0 -371
  98. package/bundles/ngx-formly-kendo-radio.umd.js.map +0 -1
  99. package/bundles/ngx-formly-kendo-radio.umd.min.js +0 -16
  100. package/bundles/ngx-formly-kendo-radio.umd.min.js.map +0 -1
  101. package/bundles/ngx-formly-kendo-select.umd.js +0 -373
  102. package/bundles/ngx-formly-kendo-select.umd.js.map +0 -1
  103. package/bundles/ngx-formly-kendo-select.umd.min.js +0 -16
  104. package/bundles/ngx-formly-kendo-select.umd.min.js.map +0 -1
  105. package/bundles/ngx-formly-kendo-textarea.umd.js +0 -366
  106. package/bundles/ngx-formly-kendo-textarea.umd.js.map +0 -1
  107. package/bundles/ngx-formly-kendo-textarea.umd.min.js +0 -16
  108. package/bundles/ngx-formly-kendo-textarea.umd.min.js.map +0 -1
  109. package/bundles/ngx-formly-kendo.umd.js +0 -38
  110. package/bundles/ngx-formly-kendo.umd.js.map +0 -1
  111. package/bundles/ngx-formly-kendo.umd.min.js +0 -2
  112. package/bundles/ngx-formly-kendo.umd.min.js.map +0 -1
  113. package/checkbox/ngx-formly-kendo-checkbox.metadata.json +0 -1
  114. package/esm2015/checkbox/checkbox.module.js +0 -32
  115. package/esm2015/checkbox/checkbox.type.js +0 -35
  116. package/esm2015/form-field/form-field.module.js +0 -25
  117. package/esm2015/form-field/form-field.wrapper.js +0 -23
  118. package/esm2015/input/input.module.js +0 -47
  119. package/esm2015/input/input.type.js +0 -30
  120. package/esm2015/lib/ui-kendo.module.js +0 -22
  121. package/esm2015/radio/radio.module.js +0 -30
  122. package/esm2015/radio/radio.type.js +0 -34
  123. package/esm2015/select/select.module.js +0 -33
  124. package/esm2015/select/select.type.js +0 -30
  125. package/esm2015/textarea/textarea.module.js +0 -28
  126. package/esm2015/textarea/textarea.type.js +0 -19
  127. package/fesm2015/ngx-formly-kendo-checkbox.js +0 -71
  128. package/fesm2015/ngx-formly-kendo-checkbox.js.map +0 -1
  129. package/fesm2015/ngx-formly-kendo-form-field.js +0 -52
  130. package/fesm2015/ngx-formly-kendo-form-field.js.map +0 -1
  131. package/fesm2015/ngx-formly-kendo-input.js +0 -81
  132. package/fesm2015/ngx-formly-kendo-input.js.map +0 -1
  133. package/fesm2015/ngx-formly-kendo-radio.js +0 -68
  134. package/fesm2015/ngx-formly-kendo-radio.js.map +0 -1
  135. package/fesm2015/ngx-formly-kendo-select.js +0 -67
  136. package/fesm2015/ngx-formly-kendo-select.js.map +0 -1
  137. package/fesm2015/ngx-formly-kendo-textarea.js +0 -51
  138. package/fesm2015/ngx-formly-kendo-textarea.js.map +0 -1
  139. package/fesm2015/ngx-formly-kendo.js +0 -33
  140. package/fesm2015/ngx-formly-kendo.js.map +0 -1
  141. package/form-field/ngx-formly-kendo-form-field.metadata.json +0 -1
  142. package/input/ngx-formly-kendo-input.metadata.json +0 -1
  143. package/ngx-formly-kendo.metadata.json +0 -1
  144. package/radio/ngx-formly-kendo-radio.metadata.json +0 -1
  145. package/select/ngx-formly-kendo-select.metadata.json +0 -1
  146. package/textarea/ngx-formly-kendo-textarea.metadata.json +0 -1
@@ -0,0 +1,116 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import * as i3 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i2 from '@ngx-formly/core';
6
+ import { FieldType, FormlyModule } from '@ngx-formly/core';
7
+ import * as i1 from '@angular/forms';
8
+ import { ReactiveFormsModule } from '@angular/forms';
9
+ import { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
10
+
11
+ class FormlyFieldCheckbox extends FieldType {
12
+ constructor() {
13
+ super(...arguments);
14
+ this.defaultOptions = {
15
+ templateOptions: {
16
+ hideLabel: true,
17
+ },
18
+ };
19
+ }
20
+ }
21
+ FormlyFieldCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component });
22
+ FormlyFieldCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", 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
+
31
+ <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>
36
+ </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.0.2", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
39
+ 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
+
51
+ <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>
56
+ </label>
57
+ `,
58
+ changeDetection: ChangeDetectionStrategy.OnPush,
59
+ }]
60
+ }] });
61
+
62
+ class FormlyCheckboxModule {
63
+ }
64
+ FormlyCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
65
+ FormlyCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyCheckboxModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
66
+ ReactiveFormsModule,
67
+ FormlyFormFieldModule, i2.FormlyModule] });
68
+ FormlyCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyCheckboxModule, imports: [[
69
+ CommonModule,
70
+ ReactiveFormsModule,
71
+ FormlyFormFieldModule,
72
+ FormlyModule.forChild({
73
+ types: [
74
+ {
75
+ name: 'checkbox',
76
+ component: FormlyFieldCheckbox,
77
+ wrappers: ['form-field'],
78
+ },
79
+ {
80
+ name: 'boolean',
81
+ extends: 'checkbox',
82
+ },
83
+ ],
84
+ }),
85
+ ]] });
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyCheckboxModule, decorators: [{
87
+ type: NgModule,
88
+ args: [{
89
+ declarations: [FormlyFieldCheckbox],
90
+ imports: [
91
+ CommonModule,
92
+ ReactiveFormsModule,
93
+ FormlyFormFieldModule,
94
+ FormlyModule.forChild({
95
+ types: [
96
+ {
97
+ name: 'checkbox',
98
+ component: FormlyFieldCheckbox,
99
+ wrappers: ['form-field'],
100
+ },
101
+ {
102
+ name: 'boolean',
103
+ extends: 'checkbox',
104
+ },
105
+ ],
106
+ }),
107
+ ],
108
+ }]
109
+ }] });
110
+
111
+ /**
112
+ * Generated bundle index. Do not edit.
113
+ */
114
+
115
+ export { FormlyCheckboxModule, FormlyFieldCheckbox };
116
+ //# sourceMappingURL=ngx-formly-kendo-checkbox.mjs.map
@@ -0,0 +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 } 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 {\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,SAAS;IApBlD;;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;;;;;;"}
@@ -0,0 +1,85 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import * as i2 from '@angular/common';
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';
8
+
9
+ class FormlyWrapperFormField extends FieldWrapper {
10
+ }
11
+ FormlyWrapperFormField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component });
12
+ FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", 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">
15
+ {{ to.label }}
16
+ <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" class="k-required">*</span>
17
+ </span>
18
+ <ng-container #fieldComponent></ng-container>
19
+ </label>
20
+
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.0.2", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
25
+ type: Component,
26
+ args: [{
27
+ selector: 'formly-wrapper-kendo-form-field',
28
+ template: `
29
+ <label [for]="id" class="k-form-field">
30
+ <span *ngIf="to.label && to.hideLabel !== true">
31
+ {{ to.label }}
32
+ <span *ngIf="to.required && to.hideRequiredMarker !== true" aria-hidden="true" class="k-required">*</span>
33
+ </span>
34
+ <ng-container #fieldComponent></ng-container>
35
+ </label>
36
+
37
+ <formly-validation-message *ngIf="showError" class="k-field-info k-required" [field]="field">
38
+ </formly-validation-message>
39
+ `,
40
+ changeDetection: ChangeDetectionStrategy.OnPush,
41
+ }]
42
+ }] });
43
+
44
+ class FormlyFormFieldModule {
45
+ }
46
+ FormlyFormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
47
+ FormlyFormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFormFieldModule, declarations: [FormlyWrapperFormField], imports: [CommonModule,
48
+ ReactiveFormsModule, i1.FormlyModule] });
49
+ FormlyFormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFormFieldModule, imports: [[
50
+ CommonModule,
51
+ ReactiveFormsModule,
52
+ FormlyModule.forChild({
53
+ wrappers: [
54
+ {
55
+ name: 'form-field',
56
+ component: FormlyWrapperFormField,
57
+ },
58
+ ],
59
+ }),
60
+ ]] });
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFormFieldModule, decorators: [{
62
+ type: NgModule,
63
+ args: [{
64
+ declarations: [FormlyWrapperFormField],
65
+ imports: [
66
+ CommonModule,
67
+ ReactiveFormsModule,
68
+ FormlyModule.forChild({
69
+ wrappers: [
70
+ {
71
+ name: 'form-field',
72
+ component: FormlyWrapperFormField,
73
+ },
74
+ ],
75
+ }),
76
+ ],
77
+ }]
78
+ }] });
79
+
80
+ /**
81
+ * Generated bundle index. Do not edit.
82
+ */
83
+
84
+ export { FormlyFormFieldModule };
85
+ //# sourceMappingURL=ngx-formly-kendo-form-field.mjs.map
@@ -0,0 +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;;;;;;"}
@@ -0,0 +1,144 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
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';
8
+ import { ReactiveFormsModule } from '@angular/forms';
9
+ import { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
10
+
11
+ class FormlyFieldInput extends FieldType {
12
+ }
13
+ FormlyFieldInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component });
14
+ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: FormlyFieldInput, selector: "formly-field-kendo-input", usesInheritance: true, ngImport: i0, template: `
15
+ <input
16
+ *ngIf="to.type !== 'number'; else numberTmp"
17
+ [type]="to.type || 'text'"
18
+ [formControl]="formControl"
19
+ class="k-textbox"
20
+ [formlyAttributes]="field"
21
+ [class.k-state-invalid]="showError"
22
+ />
23
+ <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
+ />
31
+ </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.0.2", ngImport: i0, type: FormlyFieldInput, decorators: [{
34
+ type: Component,
35
+ args: [{
36
+ selector: 'formly-field-kendo-input',
37
+ template: `
38
+ <input
39
+ *ngIf="to.type !== 'number'; else numberTmp"
40
+ [type]="to.type || 'text'"
41
+ [formControl]="formControl"
42
+ class="k-textbox"
43
+ [formlyAttributes]="field"
44
+ [class.k-state-invalid]="showError"
45
+ />
46
+ <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
+ />
54
+ </ng-template>
55
+ `,
56
+ changeDetection: ChangeDetectionStrategy.OnPush,
57
+ }]
58
+ }] });
59
+
60
+ class FormlyInputModule {
61
+ }
62
+ FormlyInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
63
+ FormlyInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyInputModule, declarations: [FormlyFieldInput], imports: [CommonModule,
64
+ ReactiveFormsModule,
65
+ FormlyFormFieldModule, i3.FormlyModule] });
66
+ FormlyInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyInputModule, imports: [[
67
+ CommonModule,
68
+ ReactiveFormsModule,
69
+ FormlyFormFieldModule,
70
+ FormlyModule.forChild({
71
+ types: [
72
+ {
73
+ name: 'input',
74
+ component: FormlyFieldInput,
75
+ wrappers: ['form-field'],
76
+ },
77
+ { name: 'string', extends: 'input' },
78
+ {
79
+ name: 'number',
80
+ extends: 'input',
81
+ defaultOptions: {
82
+ templateOptions: {
83
+ type: 'number',
84
+ },
85
+ },
86
+ },
87
+ {
88
+ name: 'integer',
89
+ extends: 'input',
90
+ defaultOptions: {
91
+ templateOptions: {
92
+ type: 'number',
93
+ },
94
+ },
95
+ },
96
+ ],
97
+ }),
98
+ ]] });
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyInputModule, decorators: [{
100
+ type: NgModule,
101
+ args: [{
102
+ declarations: [FormlyFieldInput],
103
+ imports: [
104
+ CommonModule,
105
+ ReactiveFormsModule,
106
+ FormlyFormFieldModule,
107
+ FormlyModule.forChild({
108
+ types: [
109
+ {
110
+ name: 'input',
111
+ component: FormlyFieldInput,
112
+ wrappers: ['form-field'],
113
+ },
114
+ { name: 'string', extends: 'input' },
115
+ {
116
+ name: 'number',
117
+ extends: 'input',
118
+ defaultOptions: {
119
+ templateOptions: {
120
+ type: 'number',
121
+ },
122
+ },
123
+ },
124
+ {
125
+ name: 'integer',
126
+ extends: 'input',
127
+ defaultOptions: {
128
+ templateOptions: {
129
+ type: 'number',
130
+ },
131
+ },
132
+ },
133
+ ],
134
+ }),
135
+ ],
136
+ }]
137
+ }] });
138
+
139
+ /**
140
+ * Generated bundle index. Do not edit.
141
+ */
142
+
143
+ export { FormlyFieldInput, FormlyInputModule };
144
+ //# sourceMappingURL=ngx-formly-kendo-input.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-formly-kendo-input.mjs","sources":["../../../../src/ui/kendo/input/src/input.type.ts","../../../../src/ui/kendo/input/src/input.module.ts","../../../../src/ui/kendo/input/src/ngx-formly-kendo-input.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-kendo-input',\n template: `\n <input\n *ngIf=\"to.type !== 'number'; else numberTmp\"\n [type]=\"to.type || 'text'\"\n [formControl]=\"formControl\"\n class=\"k-textbox\"\n [formlyAttributes]=\"field\"\n [class.k-state-invalid]=\"showError\"\n />\n <ng-template #numberTmp>\n <input\n type=\"number\"\n [formControl]=\"formControl\"\n class=\"k-textbox\"\n [formlyAttributes]=\"field\"\n [class.k-state-invalid]=\"showError\"\n />\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldInput extends FieldType {}\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 { FormlyFieldInput } from './input.type';\n\n@NgModule({\n declarations: [FormlyFieldInput],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'input',\n component: FormlyFieldInput,\n wrappers: ['form-field'],\n },\n { name: 'string', extends: 'input' },\n {\n name: 'number',\n extends: 'input',\n defaultOptions: {\n templateOptions: {\n type: 'number',\n },\n },\n },\n {\n name: 'integer',\n extends: 'input',\n defaultOptions: {\n templateOptions: {\n type: 'number',\n },\n },\n },\n ],\n }),\n ],\n})\nexport class FormlyInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;MA0Ba,gBAAiB,SAAQ,SAAS;;6GAAlC,gBAAgB;iGAAhB,gBAAgB,uFArBjB;;;;;;;;;;;;;;;;;;GAkBT;2FAGU,gBAAgB;kBAvB5B,SAAS;mBAAC;oBACT,QAAQ,EAAE,0BAA0B;oBACpC,QAAQ,EAAE;;;;;;;;;;;;;;;;;;GAkBT;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCmBY,iBAAiB;;8GAAjB,iBAAiB;+GAAjB,iBAAiB,iBAnCb,gBAAgB,aAE7B,YAAY;QACZ,mBAAmB;QACnB,qBAAqB;+GA+BZ,iBAAiB,YAlCnB;YACP,YAAY;YACZ,mBAAmB;YACnB,qBAAqB;YACrB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,OAAO;wBACb,SAAS,EAAE,gBAAgB;wBAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;qBACzB;oBACD,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;oBACpC;wBACE,IAAI,EAAE,QAAQ;wBACd,OAAO,EAAE,OAAO;wBAChB,cAAc,EAAE;4BACd,eAAe,EAAE;gCACf,IAAI,EAAE,QAAQ;6BACf;yBACF;qBACF;oBACD;wBACE,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,OAAO;wBAChB,cAAc,EAAE;4BACd,eAAe,EAAE;gCACf,IAAI,EAAE,QAAQ;6BACf;yBACF;qBACF;iBACF;aACF,CAAC;SACH;2FAEU,iBAAiB;kBApC7B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;oBAChC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,qBAAqB;wBACrB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,OAAO;oCACb,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;gCACD,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;gCACpC;oCACE,IAAI,EAAE,QAAQ;oCACd,OAAO,EAAE,OAAO;oCAChB,cAAc,EAAE;wCACd,eAAe,EAAE;4CACf,IAAI,EAAE,QAAQ;yCACf;qCACF;iCACF;gCACD;oCACE,IAAI,EAAE,SAAS;oCACf,OAAO,EAAE,OAAO;oCAChB,cAAc,EAAE;wCACd,eAAe,EAAE;4CACf,IAAI,EAAE,QAAQ;yCACf;qCACF;iCACF;6BACF;yBACF,CAAC;qBACH;iBACF;;;AC3CD;;;;;;"}
@@ -0,0 +1,113 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
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';
8
+ import { ReactiveFormsModule } from '@angular/forms';
9
+ import * as i4 from '@ngx-formly/core/select';
10
+ import { FormlySelectModule } from '@ngx-formly/core/select';
11
+ import { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
12
+
13
+ class FormlyFieldRadio extends FieldType {
14
+ constructor() {
15
+ super(...arguments);
16
+ this.defaultOptions = {
17
+ templateOptions: { options: [] },
18
+ };
19
+ }
20
+ }
21
+ FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component });
22
+ FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: FormlyFieldRadio, selector: "formly-field-kendo-radio", usesInheritance: true, ngImport: i0, template: `
23
+ <ng-container *ngFor="let option of to.options | formlySelectOptions: field | async; let i = index">
24
+ <input
25
+ type="radio"
26
+ [id]="id + '_' + i"
27
+ [name]="field.name || id"
28
+ [value]="option.value"
29
+ [formControl]="formControl"
30
+ [formlyAttributes]="field"
31
+ [attr.disabled]="option.disabled || formControl.disabled ? true : null"
32
+ class="k-radio"
33
+ />
34
+ <label class="k-radio-label" [for]="id + '_' + i">
35
+ {{ option.label }}
36
+ </label>
37
+ </ng-container>
38
+ `, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { 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"] }], pipes: { "async": i1.AsyncPipe, "formlySelectOptions": i4.ɵFormlySelectOptionsPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldRadio, decorators: [{
40
+ type: Component,
41
+ args: [{
42
+ selector: 'formly-field-kendo-radio',
43
+ template: `
44
+ <ng-container *ngFor="let option of to.options | formlySelectOptions: field | async; let i = index">
45
+ <input
46
+ type="radio"
47
+ [id]="id + '_' + i"
48
+ [name]="field.name || id"
49
+ [value]="option.value"
50
+ [formControl]="formControl"
51
+ [formlyAttributes]="field"
52
+ [attr.disabled]="option.disabled || formControl.disabled ? true : null"
53
+ class="k-radio"
54
+ />
55
+ <label class="k-radio-label" [for]="id + '_' + i">
56
+ {{ option.label }}
57
+ </label>
58
+ </ng-container>
59
+ `,
60
+ changeDetection: ChangeDetectionStrategy.OnPush,
61
+ }]
62
+ }] });
63
+
64
+ class FormlyRadioModule {
65
+ }
66
+ FormlyRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
67
+ FormlyRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
68
+ ReactiveFormsModule,
69
+ FormlyFormFieldModule,
70
+ FormlySelectModule, i3.FormlyModule] });
71
+ FormlyRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyRadioModule, imports: [[
72
+ CommonModule,
73
+ ReactiveFormsModule,
74
+ FormlyFormFieldModule,
75
+ FormlySelectModule,
76
+ FormlyModule.forChild({
77
+ types: [
78
+ {
79
+ name: 'radio',
80
+ component: FormlyFieldRadio,
81
+ wrappers: ['form-field'],
82
+ },
83
+ ],
84
+ }),
85
+ ]] });
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyRadioModule, decorators: [{
87
+ type: NgModule,
88
+ args: [{
89
+ declarations: [FormlyFieldRadio],
90
+ imports: [
91
+ CommonModule,
92
+ ReactiveFormsModule,
93
+ FormlyFormFieldModule,
94
+ FormlySelectModule,
95
+ FormlyModule.forChild({
96
+ types: [
97
+ {
98
+ name: 'radio',
99
+ component: FormlyFieldRadio,
100
+ wrappers: ['form-field'],
101
+ },
102
+ ],
103
+ }),
104
+ ],
105
+ }]
106
+ }] });
107
+
108
+ /**
109
+ * Generated bundle index. Do not edit.
110
+ */
111
+
112
+ export { FormlyFieldRadio, FormlyRadioModule };
113
+ //# sourceMappingURL=ngx-formly-kendo-radio.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-formly-kendo-radio.mjs","sources":["../../../../src/ui/kendo/radio/src/radio.type.ts","../../../../src/ui/kendo/radio/src/radio.module.ts","../../../../src/ui/kendo/radio/src/ngx-formly-kendo-radio.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-kendo-radio',\n template: `\n <ng-container *ngFor=\"let option of to.options | formlySelectOptions: field | async; let i = index\">\n <input\n type=\"radio\"\n [id]=\"id + '_' + i\"\n [name]=\"field.name || id\"\n [value]=\"option.value\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [attr.disabled]=\"option.disabled || formControl.disabled ? true : null\"\n class=\"k-radio\"\n />\n <label class=\"k-radio-label\" [for]=\"id + '_' + i\">\n {{ option.label }}\n </label>\n </ng-container>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldRadio extends FieldType {\n defaultOptions = {\n templateOptions: { options: [] },\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 { FormlySelectModule } from '@ngx-formly/core/select';\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { FormlyFieldRadio } from './radio.type';\n\n@NgModule({\n declarations: [FormlyFieldRadio],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n FormlyFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'radio',\n component: FormlyFieldRadio,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyRadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;MAwBa,gBAAiB,SAAQ,SAAS;IArB/C;;QAsBE,mBAAc,GAAG;YACf,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;SACjC,CAAC;KACH;;6GAJY,gBAAgB;iGAAhB,gBAAgB,uFAnBjB;;;;;;;;;;;;;;;;GAgBT;2FAGU,gBAAgB;kBArB5B,SAAS;mBAAC;oBACT,QAAQ,EAAE,0BAA0B;oBACpC,QAAQ,EAAE;;;;;;;;;;;;;;;;GAgBT;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCIY,iBAAiB;;8GAAjB,iBAAiB;+GAAjB,iBAAiB,iBAlBb,gBAAgB,aAE7B,YAAY;QACZ,mBAAmB;QAEnB,qBAAqB;QACrB,kBAAkB;+GAYT,iBAAiB,YAjBnB;YACP,YAAY;YACZ,mBAAmB;YAEnB,qBAAqB;YACrB,kBAAkB;YAClB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,OAAO;wBACb,SAAS,EAAE,gBAAgB;wBAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;qBACzB;iBACF;aACF,CAAC;SACH;2FAEU,iBAAiB;kBAnB7B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;oBAChC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBAEnB,qBAAqB;wBACrB,kBAAkB;wBAClB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,OAAO;oCACb,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;6BACF;yBACF,CAAC;qBACH;iBACF;;;AC1BD;;;;;;"}
@@ -0,0 +1,112 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import * as i4 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i2 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 i1 from '@progress/kendo-angular-dropdowns';
10
+ import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
11
+ import * as i5 from '@ngx-formly/core/select';
12
+ import { FormlySelectModule as FormlySelectModule$1 } from '@ngx-formly/core/select';
13
+ import { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
14
+
15
+ class FormlyFieldSelect extends FieldType {
16
+ constructor() {
17
+ super(...arguments);
18
+ this.defaultOptions = {
19
+ templateOptions: { options: [] },
20
+ };
21
+ }
22
+ }
23
+ FormlyFieldSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
24
+ FormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: FormlyFieldSelect, selector: "formly-field-kendo-select", usesInheritance: true, ngImport: i0, template: `
25
+ <kendo-dropdownlist
26
+ [class.k-state-invalid]="showError"
27
+ [formControl]="formControl"
28
+ [formlyAttributes]="field"
29
+ [data]="to.options | formlySelectOptions: field | async"
30
+ [textField]="'label'"
31
+ [valueField]="'value'"
32
+ [valuePrimitive]="true"
33
+ (valueChange)="to.change && to.change(field, $event)"
34
+ >
35
+ </kendo-dropdownlist>
36
+ `, isInline: true, components: [{ type: i1.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["focusableId", "listHeight", "disabled", "readonly", "filterable", "ignoreCase", "delay", "tabindex", "data", "value", "popupSettings", "itemDisabled", "virtual", "valuePrimitive", "tabIndex", "iconClass", "loading", "textField", "valueField", "defaultItem"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ 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"] }], pipes: { "async": i4.AsyncPipe, "formlySelectOptions": i5.ɵFormlySelectOptionsPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldSelect, decorators: [{
38
+ type: Component,
39
+ args: [{
40
+ selector: 'formly-field-kendo-select',
41
+ template: `
42
+ <kendo-dropdownlist
43
+ [class.k-state-invalid]="showError"
44
+ [formControl]="formControl"
45
+ [formlyAttributes]="field"
46
+ [data]="to.options | formlySelectOptions: field | async"
47
+ [textField]="'label'"
48
+ [valueField]="'value'"
49
+ [valuePrimitive]="true"
50
+ (valueChange)="to.change && to.change(field, $event)"
51
+ >
52
+ </kendo-dropdownlist>
53
+ `,
54
+ changeDetection: ChangeDetectionStrategy.OnPush,
55
+ }]
56
+ }] });
57
+
58
+ class FormlySelectModule {
59
+ }
60
+ FormlySelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
61
+ FormlySelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySelectModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
62
+ ReactiveFormsModule,
63
+ DropDownsModule,
64
+ FormlyFormFieldModule,
65
+ FormlySelectModule$1, i3.FormlyModule] });
66
+ FormlySelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySelectModule, imports: [[
67
+ CommonModule,
68
+ ReactiveFormsModule,
69
+ DropDownsModule,
70
+ FormlyFormFieldModule,
71
+ FormlySelectModule$1,
72
+ FormlyModule.forChild({
73
+ types: [
74
+ {
75
+ name: 'select',
76
+ component: FormlyFieldSelect,
77
+ wrappers: ['form-field'],
78
+ },
79
+ { name: 'enum', extends: 'select' },
80
+ ],
81
+ }),
82
+ ]] });
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySelectModule, decorators: [{
84
+ type: NgModule,
85
+ args: [{
86
+ declarations: [FormlyFieldSelect],
87
+ imports: [
88
+ CommonModule,
89
+ ReactiveFormsModule,
90
+ DropDownsModule,
91
+ FormlyFormFieldModule,
92
+ FormlySelectModule$1,
93
+ FormlyModule.forChild({
94
+ types: [
95
+ {
96
+ name: 'select',
97
+ component: FormlyFieldSelect,
98
+ wrappers: ['form-field'],
99
+ },
100
+ { name: 'enum', extends: 'select' },
101
+ ],
102
+ }),
103
+ ],
104
+ }]
105
+ }] });
106
+
107
+ /**
108
+ * Generated bundle index. Do not edit.
109
+ */
110
+
111
+ export { FormlyFieldSelect, FormlySelectModule };
112
+ //# sourceMappingURL=ngx-formly-kendo-select.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-formly-kendo-select.mjs","sources":["../../../../src/ui/kendo/select/src/select.type.ts","../../../../src/ui/kendo/select/src/select.module.ts","../../../../src/ui/kendo/select/src/ngx-formly-kendo-select.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-kendo-select',\n template: `\n <kendo-dropdownlist\n [class.k-state-invalid]=\"showError\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [data]=\"to.options | formlySelectOptions: field | async\"\n [textField]=\"'label'\"\n [valueField]=\"'value'\"\n [valuePrimitive]=\"true\"\n (valueChange)=\"to.change && to.change(field, $event)\"\n >\n </kendo-dropdownlist>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldSelect extends FieldType {\n defaultOptions = {\n templateOptions: { options: [] },\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { DropDownsModule } from '@progress/kendo-angular-dropdowns';\nimport { FormlySelectModule as FormlyCoreSelectModule } from '@ngx-formly/core/select';\n\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { FormlyFieldSelect } from './select.type';\n\n@NgModule({\n declarations: [FormlyFieldSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DropDownsModule,\n\n FormlyFormFieldModule,\n FormlyCoreSelectModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'select',\n component: FormlyFieldSelect,\n wrappers: ['form-field'],\n },\n { name: 'enum', extends: 'select' },\n ],\n }),\n ],\n})\nexport class FormlySelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["FormlyCoreSelectModule"],"mappings":";;;;;;;;;;;;;;MAoBa,iBAAkB,SAAQ,SAAS;IAjBhD;;QAkBE,mBAAc,GAAG;YACf,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;SACjC,CAAC;KACH;;8GAJY,iBAAiB;kGAAjB,iBAAiB,wFAflB;;;;;;;;;;;;GAYT;2FAGU,iBAAiB;kBAjB7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,2BAA2B;oBACrC,QAAQ,EAAE;;;;;;;;;;;;GAYT;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCYY,kBAAkB;;+GAAlB,kBAAkB;gHAAlB,kBAAkB,iBApBd,iBAAiB,aAE9B,YAAY;QACZ,mBAAmB;QACnB,eAAe;QAEf,qBAAqB;QACrBA,oBAAsB;gHAab,kBAAkB,YAnBpB;YACP,YAAY;YACZ,mBAAmB;YACnB,eAAe;YAEf,qBAAqB;YACrBA,oBAAsB;YACtB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,iBAAiB;wBAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;qBACzB;oBACD,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;iBACpC;aACF,CAAC;SACH;2FAEU,kBAAkB;kBArB9B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,eAAe;wBAEf,qBAAqB;wBACrBA,oBAAsB;wBACtB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,QAAQ;oCACd,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;gCACD,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;6BACpC;yBACF,CAAC;qBACH;iBACF;;;AC9BD;;;;;;"}