@ngx-formly/kendo 5.12.0 → 6.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/README.md +9 -6
  2. package/checkbox/checkbox.module.d.ts +13 -0
  3. package/checkbox/checkbox.type.d.ts +19 -0
  4. package/checkbox/ngx-formly-kendo-checkbox.d.ts +5 -0
  5. package/checkbox/package.json +10 -0
  6. package/checkbox/public_api.d.ts +2 -0
  7. package/esm2020/checkbox/checkbox.module.mjs +65 -0
  8. package/esm2020/checkbox/checkbox.type.mjs +37 -0
  9. package/esm2020/checkbox/ngx-formly-kendo-checkbox.mjs +5 -0
  10. package/esm2020/checkbox/public_api.mjs +3 -0
  11. package/esm2020/form-field/field.type.mjs +21 -0
  12. package/esm2020/form-field/form-field.module.mjs +51 -0
  13. package/esm2020/form-field/form-field.wrapper.mjs +64 -0
  14. package/esm2020/form-field/ngx-formly-kendo-form-field.mjs +5 -0
  15. package/esm2020/form-field/public_api.mjs +3 -0
  16. package/esm2020/input/input.module.mjs +91 -0
  17. package/esm2020/input/input.type.mjs +44 -0
  18. package/esm2020/input/ngx-formly-kendo-input.mjs +5 -0
  19. package/esm2020/input/public_api.mjs +3 -0
  20. package/esm2020/lib/ui-kendo.mjs +2 -0
  21. package/esm2020/lib/ui-kendo.module.mjs +39 -0
  22. package/esm2020/ngx-formly-kendo.mjs +5 -0
  23. package/esm2020/public_api.mjs +5 -0
  24. package/esm2020/radio/ngx-formly-kendo-radio.mjs +5 -0
  25. package/esm2020/radio/public_api.mjs +3 -0
  26. package/esm2020/radio/radio.module.mjs +61 -0
  27. package/esm2020/radio/radio.type.mjs +52 -0
  28. package/esm2020/select/ngx-formly-kendo-select.mjs +5 -0
  29. package/esm2020/select/public_api.mjs +3 -0
  30. package/esm2020/select/select.module.mjs +59 -0
  31. package/esm2020/select/select.type.mjs +43 -0
  32. package/esm2020/textarea/ngx-formly-kendo-textarea.mjs +5 -0
  33. package/esm2020/textarea/public_api.mjs +3 -0
  34. package/esm2020/textarea/textarea.module.mjs +53 -0
  35. package/esm2020/textarea/textarea.type.mjs +19 -0
  36. package/fesm2015/ngx-formly-kendo-checkbox.mjs +104 -0
  37. package/fesm2015/ngx-formly-kendo-checkbox.mjs.map +1 -0
  38. package/fesm2015/ngx-formly-kendo-form-field.mjs +134 -0
  39. package/fesm2015/ngx-formly-kendo-form-field.mjs.map +1 -0
  40. package/fesm2015/ngx-formly-kendo-input.mjs +137 -0
  41. package/fesm2015/ngx-formly-kendo-input.mjs.map +1 -0
  42. package/fesm2015/ngx-formly-kendo-radio.mjs +115 -0
  43. package/fesm2015/ngx-formly-kendo-radio.mjs.map +1 -0
  44. package/fesm2015/ngx-formly-kendo-select.mjs +104 -0
  45. package/fesm2015/ngx-formly-kendo-select.mjs.map +1 -0
  46. package/fesm2015/ngx-formly-kendo-textarea.mjs +74 -0
  47. package/fesm2015/ngx-formly-kendo-textarea.mjs.map +1 -0
  48. package/fesm2015/ngx-formly-kendo.mjs +50 -0
  49. package/fesm2015/ngx-formly-kendo.mjs.map +1 -0
  50. package/fesm2020/ngx-formly-kendo-checkbox.mjs +104 -0
  51. package/fesm2020/ngx-formly-kendo-checkbox.mjs.map +1 -0
  52. package/fesm2020/ngx-formly-kendo-form-field.mjs +133 -0
  53. package/fesm2020/ngx-formly-kendo-form-field.mjs.map +1 -0
  54. package/fesm2020/ngx-formly-kendo-input.mjs +137 -0
  55. package/fesm2020/ngx-formly-kendo-input.mjs.map +1 -0
  56. package/fesm2020/ngx-formly-kendo-radio.mjs +115 -0
  57. package/fesm2020/ngx-formly-kendo-radio.mjs.map +1 -0
  58. package/fesm2020/ngx-formly-kendo-select.mjs +104 -0
  59. package/fesm2020/ngx-formly-kendo-select.mjs.map +1 -0
  60. package/fesm2020/ngx-formly-kendo-textarea.mjs +74 -0
  61. package/fesm2020/ngx-formly-kendo-textarea.mjs.map +1 -0
  62. package/fesm2020/ngx-formly-kendo.mjs +50 -0
  63. package/fesm2020/ngx-formly-kendo.mjs.map +1 -0
  64. package/form-field/field.type.d.ts +8 -0
  65. package/form-field/form-field.module.d.ts +12 -0
  66. package/form-field/form-field.wrapper.d.ts +15 -0
  67. package/form-field/ngx-formly-kendo-form-field.d.ts +5 -0
  68. package/form-field/package.json +10 -0
  69. package/form-field/public_api.d.ts +3 -0
  70. package/input/input.module.d.ts +12 -0
  71. package/input/input.type.d.ts +14 -0
  72. package/input/ngx-formly-kendo-input.d.ts +5 -0
  73. package/input/package.json +10 -0
  74. package/input/public_api.d.ts +2 -0
  75. package/lib/ui-kendo.d.ts +0 -2
  76. package/lib/ui-kendo.module.d.ts +10 -0
  77. package/ngx-formly-kendo.d.ts +1 -1
  78. package/package.json +80 -33
  79. package/radio/ngx-formly-kendo-radio.d.ts +5 -0
  80. package/radio/package.json +10 -0
  81. package/radio/public_api.d.ts +2 -0
  82. package/radio/radio.module.d.ts +14 -0
  83. package/radio/radio.type.d.ts +15 -0
  84. package/select/ngx-formly-kendo-select.d.ts +5 -0
  85. package/select/package.json +10 -0
  86. package/select/public_api.d.ts +2 -0
  87. package/select/select.module.d.ts +13 -0
  88. package/select/select.type.d.ts +15 -0
  89. package/textarea/ngx-formly-kendo-textarea.d.ts +5 -0
  90. package/textarea/package.json +10 -0
  91. package/textarea/public_api.d.ts +2 -0
  92. package/textarea/textarea.module.d.ts +12 -0
  93. package/textarea/textarea.type.d.ts +14 -0
  94. package/bundles/ngx-formly-kendo.umd.js +0 -268
  95. package/bundles/ngx-formly-kendo.umd.js.map +0 -1
  96. package/bundles/ngx-formly-kendo.umd.min.js +0 -2
  97. package/bundles/ngx-formly-kendo.umd.min.js.map +0 -1
  98. package/esm2015/lib/types/checkbox.js +0 -40
  99. package/esm2015/lib/types/input.js +0 -20
  100. package/esm2015/lib/types/radio.js +0 -40
  101. package/esm2015/lib/types/select.js +0 -36
  102. package/esm2015/lib/types/textarea.js +0 -24
  103. package/esm2015/lib/types/types.js +0 -10
  104. package/esm2015/lib/ui-kendo.config.js +0 -51
  105. package/esm2015/lib/ui-kendo.js +0 -8
  106. package/esm2015/lib/ui-kendo.module.js +0 -26
  107. package/esm2015/lib/wrappers/form-field.js +0 -29
  108. package/esm2015/lib/wrappers/wrappers.js +0 -6
  109. package/esm2015/ngx-formly-kendo.js +0 -10
  110. package/esm2015/public_api.js +0 -9
  111. package/esm5/lib/types/checkbox.js +0 -32
  112. package/esm5/lib/types/input.js +0 -22
  113. package/esm5/lib/types/radio.js +0 -30
  114. package/esm5/lib/types/select.js +0 -30
  115. package/esm5/lib/types/textarea.js +0 -22
  116. package/esm5/lib/types/types.js +0 -10
  117. package/esm5/lib/ui-kendo.config.js +0 -51
  118. package/esm5/lib/ui-kendo.js +0 -8
  119. package/esm5/lib/ui-kendo.module.js +0 -30
  120. package/esm5/lib/wrappers/form-field.js +0 -22
  121. package/esm5/lib/wrappers/wrappers.js +0 -6
  122. package/esm5/ngx-formly-kendo.js +0 -10
  123. package/esm5/public_api.js +0 -9
  124. package/fesm2015/ngx-formly-kendo.js +0 -268
  125. package/fesm2015/ngx-formly-kendo.js.map +0 -1
  126. package/fesm5/ngx-formly-kendo.js +0 -229
  127. package/fesm5/ngx-formly-kendo.js.map +0 -1
  128. package/lib/types/checkbox.d.ts +0 -8
  129. package/lib/types/input.d.ts +0 -3
  130. package/lib/types/radio.d.ts +0 -8
  131. package/lib/types/select.d.ts +0 -8
  132. package/lib/types/textarea.d.ts +0 -3
  133. package/lib/types/types.d.ts +0 -5
  134. package/lib/ui-kendo.config.d.ts +0 -4
  135. package/lib/wrappers/form-field.d.ts +0 -3
  136. package/lib/wrappers/wrappers.d.ts +0 -1
  137. package/ngx-formly-kendo.metadata.json +0 -1
@@ -0,0 +1,134 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ViewChild, NgModule, Directive, ViewChildren } 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 { 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';
12
+
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
+ }
27
+ }
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]="props.orientation">
31
+ <label *ngIf="props.label && props.hideLabel !== true" [for]="id">
32
+ {{ props.label }}
33
+ <span *ngIf="props.required && props.hideRequiredMarker !== true" aria-hidden="true" class="k-required">*</span>
34
+ </label>
35
+
36
+ <ng-container #fieldComponent></ng-container>
37
+
38
+ <kendo-formhint *ngIf="props.description">{{ props.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: [{
45
+ type: Component,
46
+ args: [{
47
+ selector: 'formly-wrapper-kendo-form-field',
48
+ template: `
49
+ <kendo-formfield [orientation]="props.orientation">
50
+ <label *ngIf="props.label && props.hideLabel !== true" [for]="id">
51
+ {{ props.label }}
52
+ <span *ngIf="props.required && props.hideRequiredMarker !== true" aria-hidden="true" class="k-required">*</span>
53
+ </label>
54
+
55
+ <ng-container #fieldComponent></ng-container>
56
+
57
+ <kendo-formhint *ngIf="props.description">{{ props.description }}</kendo-formhint>
58
+ <kendo-formerror *ngIf="showError">
59
+ <formly-validation-message [field]="field"></formly-validation-message>
60
+ </kendo-formerror>
61
+ </kendo-formfield>
62
+ `,
63
+ }]
64
+ }], propDecorators: { formfield: [{
65
+ type: ViewChild,
66
+ args: [FormFieldComponent, { static: true }]
67
+ }] } });
68
+
69
+ class FormlyFormFieldModule {
70
+ }
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: [[
77
+ CommonModule,
78
+ ReactiveFormsModule,
79
+ FormFieldModule,
80
+ LabelModule,
81
+ FormlyModule.forChild({
82
+ wrappers: [
83
+ {
84
+ name: 'form-field',
85
+ component: FormlyWrapperFormField,
86
+ },
87
+ ],
88
+ }),
89
+ ]] });
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFormFieldModule, decorators: [{
91
+ type: NgModule,
92
+ args: [{
93
+ declarations: [FormlyWrapperFormField],
94
+ imports: [
95
+ CommonModule,
96
+ ReactiveFormsModule,
97
+ FormFieldModule,
98
+ LabelModule,
99
+ FormlyModule.forChild({
100
+ wrappers: [
101
+ {
102
+ name: 'form-field',
103
+ component: FormlyWrapperFormField,
104
+ },
105
+ ],
106
+ }),
107
+ ],
108
+ }]
109
+ }] });
110
+
111
+ class FieldType extends FieldType$1 {
112
+ set formControls(formControls) {
113
+ this.formField['control'] = formControls.first;
114
+ }
115
+ get formField() {
116
+ var _a;
117
+ return (_a = this.field) === null || _a === void 0 ? void 0 : _a['_formField'];
118
+ }
119
+ }
120
+ FieldType.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FieldType, deps: null, target: i0.ɵɵFactoryTarget.Directive });
121
+ 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 });
122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FieldType, decorators: [{
123
+ type: Directive
124
+ }], propDecorators: { formControls: [{
125
+ type: ViewChildren,
126
+ args: [NgControl]
127
+ }] } });
128
+
129
+ /**
130
+ * Generated bundle index. Do not edit.
131
+ */
132
+
133
+ export { FieldType, FormlyFormFieldModule };
134
+ //# 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/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, Orientation } from '@progress/kendo-angular-inputs';\nimport {\n ɵdefineHiddenProp as defineHiddenProp,\n FieldWrapper,\n FormlyFieldConfig,\n FormlyFieldProps as CoreFormlyFieldProps,\n} from '@ngx-formly/core';\n\nexport interface FormlyFieldProps extends CoreFormlyFieldProps {\n hideRequiredMarker?: boolean;\n hideLabel?: boolean;\n orientation?: Orientation;\n}\n\n@Component({\n selector: 'formly-wrapper-kendo-form-field',\n template: `\n <kendo-formfield [orientation]=\"props.orientation\">\n <label *ngIf=\"props.label && props.hideLabel !== true\" [for]=\"id\">\n {{ props.label }}\n <span *ngIf=\"props.required && props.hideRequiredMarker !== true\" aria-hidden=\"true\" class=\"k-required\">*</span>\n </label>\n\n <ng-container #fieldComponent></ng-container>\n\n <kendo-formhint *ngIf=\"props.description\">{{ props.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<FormlyFieldConfig<FormlyFieldProps>> 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":";;;;;;;;;;;;AAiCM,MAAO,sBAAuB,SAAQ,YAAiD,CAAA;IAG3F,QAAQ,GAAA;QACNA,iBAAgB,CAAC,IAAI,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;QAC3DA,iBAAgB,CAAC,IAAI,CAAC,SAAS,EAAE,cA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AAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,SAAS,2DACf,SAAS,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,eAAA,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;;;;"}
@@ -0,0 +1,137 @@
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 i4 from '@ngx-formly/core';
6
+ import { FormlyModule } from '@ngx-formly/core';
7
+ import * as i3 from '@angular/forms';
8
+ import { ReactiveFormsModule } from '@angular/forms';
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';
12
+
13
+ class FormlyFieldInput extends FieldType {
14
+ }
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: `
17
+ <input
18
+ *ngIf="props.type !== 'number'; else numberTmp"
19
+ kendoTextBox
20
+ [type]="props.type || 'text'"
21
+ [formlyAttributes]="field"
22
+ [formControl]="formControl"
23
+ [formControl]="formControl"
24
+ />
25
+ <ng-template #numberTmp>
26
+ <kendo-numerictextbox [formlyAttributes]="field" [formControl]="formControl"> </kendo-numerictextbox>
27
+ </ng-template>
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: [{
30
+ type: Component,
31
+ args: [{
32
+ selector: 'formly-field-kendo-input',
33
+ template: `
34
+ <input
35
+ *ngIf="props.type !== 'number'; else numberTmp"
36
+ kendoTextBox
37
+ [type]="props.type || 'text'"
38
+ [formlyAttributes]="field"
39
+ [formControl]="formControl"
40
+ [formControl]="formControl"
41
+ />
42
+ <ng-template #numberTmp>
43
+ <kendo-numerictextbox [formlyAttributes]="field" [formControl]="formControl"> </kendo-numerictextbox>
44
+ </ng-template>
45
+ `,
46
+ changeDetection: ChangeDetectionStrategy.OnPush,
47
+ }]
48
+ }] });
49
+
50
+ class FormlyInputModule {
51
+ }
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,
54
+ ReactiveFormsModule,
55
+ FormlyFormFieldModule,
56
+ InputsModule, i4.FormlyModule] });
57
+ FormlyInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyInputModule, imports: [[
58
+ CommonModule,
59
+ ReactiveFormsModule,
60
+ FormlyFormFieldModule,
61
+ InputsModule,
62
+ FormlyModule.forChild({
63
+ types: [
64
+ {
65
+ name: 'input',
66
+ component: FormlyFieldInput,
67
+ wrappers: ['form-field'],
68
+ },
69
+ { name: 'string', extends: 'input' },
70
+ {
71
+ name: 'number',
72
+ extends: 'input',
73
+ defaultOptions: {
74
+ props: {
75
+ type: 'number',
76
+ },
77
+ },
78
+ },
79
+ {
80
+ name: 'integer',
81
+ extends: 'input',
82
+ defaultOptions: {
83
+ props: {
84
+ type: 'number',
85
+ },
86
+ },
87
+ },
88
+ ],
89
+ }),
90
+ ]] });
91
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyInputModule, decorators: [{
92
+ type: NgModule,
93
+ args: [{
94
+ declarations: [FormlyFieldInput],
95
+ imports: [
96
+ CommonModule,
97
+ ReactiveFormsModule,
98
+ FormlyFormFieldModule,
99
+ InputsModule,
100
+ FormlyModule.forChild({
101
+ types: [
102
+ {
103
+ name: 'input',
104
+ component: FormlyFieldInput,
105
+ wrappers: ['form-field'],
106
+ },
107
+ { name: 'string', extends: 'input' },
108
+ {
109
+ name: 'number',
110
+ extends: 'input',
111
+ defaultOptions: {
112
+ props: {
113
+ type: 'number',
114
+ },
115
+ },
116
+ },
117
+ {
118
+ name: 'integer',
119
+ extends: 'input',
120
+ defaultOptions: {
121
+ props: {
122
+ type: 'number',
123
+ },
124
+ },
125
+ },
126
+ ],
127
+ }),
128
+ ],
129
+ }]
130
+ }] });
131
+
132
+ /**
133
+ * Generated bundle index. Do not edit.
134
+ */
135
+
136
+ export { FormlyFieldInput, FormlyInputModule };
137
+ //# 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, Type } from '@angular/core';\nimport { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FieldType, FormlyFieldProps } from '@ngx-formly/kendo/form-field';\n\ninterface InputProps extends FormlyFieldProps {}\n\nexport interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {\n type: 'input' | Type<FormlyFieldInput>;\n}\n\n@Component({\n selector: 'formly-field-kendo-input',\n template: `\n <input\n *ngIf=\"props.type !== 'number'; else numberTmp\"\n kendoTextBox\n [type]=\"props.type || 'text'\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n [formControl]=\"formControl\"\n />\n <ng-template #numberTmp>\n <kendo-numerictextbox [formlyAttributes]=\"field\" [formControl]=\"formControl\"> </kendo-numerictextbox>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {}\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 { FormlyFieldInput } from './input.type';\n\n@NgModule({\n declarations: [FormlyFieldInput],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyFormFieldModule,\n InputsModule,\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 props: {\n type: 'number',\n },\n },\n },\n {\n name: 'integer',\n extends: 'input',\n defaultOptions: {\n props: {\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":["i1"],"mappings":";;;;;;;;;;;;AA2BM,MAAO,gBAAiB,SAAQ,SAAsC,CAAA;;6GAA/D,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,EAfjB,QAAA,EAAA,0BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;GAYT,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,uBAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,UAAA,EAAA,UAAA,EAAA,OAAA,EAAA,aAAA,EAAA,UAAA,EAAA,MAAA,EAAA,UAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,qBAAA,EAAA,eAAA,EAAA,OAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,SAAA,EAAA,UAAA,EAAA,KAAA,EAAA,KAAA,EAAA,aAAA,EAAA,WAAA,CAAA,EAAA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CAAA;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,qBAAqB;wBACrB,YAAY;wBACZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACD,gCAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;AACpC,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,OAAO,EAAE,OAAO;AAChB,oCAAA,cAAc,EAAE;AACd,wCAAA,KAAK,EAAE;AACL,4CAAA,IAAI,EAAE,QAAQ;AACf,yCAAA;AACF,qCAAA;AACF,iCAAA;AACD,gCAAA;AACE,oCAAA,IAAI,EAAE,SAAS;AACf,oCAAA,OAAO,EAAE,OAAO;AAChB,oCAAA,cAAc,EAAE;AACd,wCAAA,KAAK,EAAE;AACL,4CAAA,IAAI,EAAE,QAAQ;AACf,yCAAA;AACF,qCAAA;AACF,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC5CD;;AAEG;;;;"}
@@ -0,0 +1,115 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i4 from '@ngx-formly/core';
6
+ import { FormlyModule } from '@ngx-formly/core';
7
+ import * as i2 from '@angular/forms';
8
+ import { ReactiveFormsModule } from '@angular/forms';
9
+ import * as i6 from '@ngx-formly/core/select';
10
+ import { FormlySelectModule } from '@ngx-formly/core/select';
11
+ import { FieldType, FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
12
+ import * as i5 from '@progress/kendo-angular-label';
13
+ import { LabelModule } from '@progress/kendo-angular-label';
14
+ import * as i3 from '@progress/kendo-angular-inputs';
15
+ import { InputsModule } from '@progress/kendo-angular-inputs';
16
+
17
+ class FormlyFieldRadio extends FieldType {
18
+ }
19
+ FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component });
20
+ FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: FormlyFieldRadio, selector: "formly-field-kendo-radio", usesInheritance: true, ngImport: i0, template: `
21
+ <ng-container *ngFor="let option of props.options | formlySelectOptions: field | async; let i = index">
22
+ <input
23
+ type="radio"
24
+ #radioInput
25
+ kendoRadioButton
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
+ />
33
+ <label class="k-radio-label" [for]="id + '_' + i">
34
+ {{ option.label }}
35
+ </label>
36
+ </ng-container>
37
+ `, isInline: true, styles: [".k-form formly-field-kendo-radio .k-label{display:inherit}\n"], 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: i3.RadioButtonDirective, selector: "input[kendoRadioButton]", inputs: ["size"] }, { 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: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i5.LabelDirective, selector: "label[for]", inputs: ["for"] }], pipes: { "async": i1.AsyncPipe, "formlySelectOptions": i6.FormlySelectOptionsPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldRadio, decorators: [{
39
+ type: Component,
40
+ args: [{ selector: 'formly-field-kendo-radio', template: `
41
+ <ng-container *ngFor="let option of props.options | formlySelectOptions: field | async; let i = index">
42
+ <input
43
+ type="radio"
44
+ #radioInput
45
+ kendoRadioButton
46
+ [id]="id + '_' + i"
47
+ [name]="field.name || id"
48
+ [value]="option.value"
49
+ [formControl]="formControl"
50
+ [formlyAttributes]="field"
51
+ [attr.disabled]="option.disabled || formControl.disabled ? true : null"
52
+ />
53
+ <label class="k-radio-label" [for]="id + '_' + i">
54
+ {{ option.label }}
55
+ </label>
56
+ </ng-container>
57
+ `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".k-form formly-field-kendo-radio .k-label{display:inherit}\n"] }]
58
+ }] });
59
+
60
+ class FormlyRadioModule {
61
+ }
62
+ FormlyRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
63
+ FormlyRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
64
+ ReactiveFormsModule,
65
+ LabelModule,
66
+ InputsModule,
67
+ FormlyFormFieldModule,
68
+ FormlySelectModule, i4.FormlyModule] });
69
+ FormlyRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyRadioModule, imports: [[
70
+ CommonModule,
71
+ ReactiveFormsModule,
72
+ LabelModule,
73
+ InputsModule,
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.2.6", ngImport: i0, type: FormlyRadioModule, decorators: [{
87
+ type: NgModule,
88
+ args: [{
89
+ declarations: [FormlyFieldRadio],
90
+ imports: [
91
+ CommonModule,
92
+ ReactiveFormsModule,
93
+ LabelModule,
94
+ InputsModule,
95
+ FormlyFormFieldModule,
96
+ FormlySelectModule,
97
+ FormlyModule.forChild({
98
+ types: [
99
+ {
100
+ name: 'radio',
101
+ component: FormlyFieldRadio,
102
+ wrappers: ['form-field'],
103
+ },
104
+ ],
105
+ }),
106
+ ],
107
+ }]
108
+ }] });
109
+
110
+ /**
111
+ * Generated bundle index. Do not edit.
112
+ */
113
+
114
+ export { FormlyFieldRadio, FormlyRadioModule };
115
+ //# 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, ViewEncapsulation, Type } from '@angular/core';\nimport { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FieldType } from '@ngx-formly/kendo/form-field';\nimport { FormlyFieldProps } from '@ngx-formly/kendo/form-field';\n\ninterface RadioProps extends FormlyFieldProps {}\n\nexport interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {\n type: 'radio' | Type<FormlyFieldRadio>;\n}\n\n@Component({\n selector: 'formly-field-kendo-radio',\n template: `\n <ng-container *ngFor=\"let option of props.options | formlySelectOptions: field | async; let i = index\">\n <input\n type=\"radio\"\n #radioInput\n kendoRadioButton\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 />\n <label class=\"k-radio-label\" [for]=\"id + '_' + i\">\n {{ option.label }}\n </label>\n </ng-container>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./radio.type.scss'],\n})\nexport class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {}\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 { LabelModule } from '@progress/kendo-angular-label';\nimport { InputsModule } from '@progress/kendo-angular-inputs';\nimport { FormlyFieldRadio } from './radio.type';\n\n@NgModule({\n declarations: [FormlyFieldRadio],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n LabelModule,\n InputsModule,\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":["i1"],"mappings":";;;;;;;;;;;;;;;;AAmCM,MAAO,gBAAiB,SAAQ,SAAsC,CAAA;;6GAA/D,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,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,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,OAAO;AACb,wBAAA,SAAS,EAAE,gBAAgB;wBAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC;SACH,CAAA,EAAA,CAAA,CAAA;2FAEU,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBArB7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBAEnB,WAAW;wBACX,YAAY;wBACZ,qBAAqB;wBACrB,kBAAkB;wBAClB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC9BD;;AAEG;;;;"}
@@ -0,0 +1,104 @@
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 { 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 { FieldType, FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
14
+
15
+ class FormlyFieldSelect extends FieldType {
16
+ }
17
+ FormlyFieldSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
18
+ FormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: FormlyFieldSelect, selector: "formly-field-kendo-select", usesInheritance: true, ngImport: i0, template: `
19
+ <kendo-dropdownlist
20
+ [formControl]="formControl"
21
+ [formlyAttributes]="field"
22
+ [data]="props.options | formlySelectOptions: field | async"
23
+ [textField]="'label'"
24
+ [valueField]="'value'"
25
+ [valuePrimitive]="true"
26
+ (valueChange)="props.change && props.change(field, $event)"
27
+ >
28
+ </kendo-dropdownlist>
29
+ `, isInline: true, components: [{ type: i1.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["listHeight", "disabled", "readonly", "filterable", "ignoreCase", "delay", "tabindex", "id", "data", "value", "popupSettings", "itemDisabled", "virtual", "valuePrimitive", "tabIndex", "size", "rounded", "fillMode", "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 });
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldSelect, decorators: [{
31
+ type: Component,
32
+ args: [{
33
+ selector: 'formly-field-kendo-select',
34
+ template: `
35
+ <kendo-dropdownlist
36
+ [formControl]="formControl"
37
+ [formlyAttributes]="field"
38
+ [data]="props.options | formlySelectOptions: field | async"
39
+ [textField]="'label'"
40
+ [valueField]="'value'"
41
+ [valuePrimitive]="true"
42
+ (valueChange)="props.change && props.change(field, $event)"
43
+ >
44
+ </kendo-dropdownlist>
45
+ `,
46
+ changeDetection: ChangeDetectionStrategy.OnPush,
47
+ }]
48
+ }] });
49
+
50
+ class FormlySelectModule {
51
+ }
52
+ FormlySelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlySelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
53
+ FormlySelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlySelectModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
54
+ ReactiveFormsModule,
55
+ DropDownsModule,
56
+ FormlyFormFieldModule,
57
+ FormlySelectModule$1, i3.FormlyModule] });
58
+ FormlySelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlySelectModule, imports: [[
59
+ CommonModule,
60
+ ReactiveFormsModule,
61
+ DropDownsModule,
62
+ FormlyFormFieldModule,
63
+ FormlySelectModule$1,
64
+ FormlyModule.forChild({
65
+ types: [
66
+ {
67
+ name: 'select',
68
+ component: FormlyFieldSelect,
69
+ wrappers: ['form-field'],
70
+ },
71
+ { name: 'enum', extends: 'select' },
72
+ ],
73
+ }),
74
+ ]] });
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlySelectModule, decorators: [{
76
+ type: NgModule,
77
+ args: [{
78
+ declarations: [FormlyFieldSelect],
79
+ imports: [
80
+ CommonModule,
81
+ ReactiveFormsModule,
82
+ DropDownsModule,
83
+ FormlyFormFieldModule,
84
+ FormlySelectModule$1,
85
+ FormlyModule.forChild({
86
+ types: [
87
+ {
88
+ name: 'select',
89
+ component: FormlyFieldSelect,
90
+ wrappers: ['form-field'],
91
+ },
92
+ { name: 'enum', extends: 'select' },
93
+ ],
94
+ }),
95
+ ],
96
+ }]
97
+ }] });
98
+
99
+ /**
100
+ * Generated bundle index. Do not edit.
101
+ */
102
+
103
+ export { FormlyFieldSelect, FormlySelectModule };
104
+ //# 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, Type } from '@angular/core';\nimport { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FieldType, FormlyFieldProps } from '@ngx-formly/kendo/form-field';\nimport { FormlyFieldSelectProps } from '@ngx-formly/core/select';\n\ninterface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {}\n\nexport interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {\n type: 'select' | Type<FormlyFieldSelect>;\n}\n\n@Component({\n selector: 'formly-field-kendo-select',\n template: `\n <kendo-dropdownlist\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [data]=\"props.options | formlySelectOptions: field | async\"\n [textField]=\"'label'\"\n [valueField]=\"'value'\"\n [valuePrimitive]=\"true\"\n (valueChange)=\"props.change && props.change(field, $event)\"\n >\n </kendo-dropdownlist>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {}\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","i1"],"mappings":";;;;;;;;;;;;;;AA2BM,MAAO,iBAAkB,SAAQ,SAAuC,CAAA;;8GAAjE,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,EAdlB,QAAA,EAAA,2BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;GAWT,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,qBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,YAAA,EAAA,UAAA,EAAA,UAAA,EAAA,YAAA,EAAA,YAAA,EAAA,OAAA,EAAA,UAAA,EAAA,IAAA,EAAA,MAAA,EAAA,OAAA,EAAA,eAAA,EAAA,cAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,MAAA,EAAA,SAAA,EAAA,UAAA,EAAA,WAAA,EAAA,SAAA,EAAA,WAAA,EAAA,YAAA,EAAA,aAAA,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,EAAA,cAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,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onModule } from '@angular/common';
4
+ import * as i3 from '@ngx-formly/core';
5
+ import { FormlyModule } from '@ngx-formly/core';
6
+ import * as i2 from '@angular/forms';
7
+ import { ReactiveFormsModule } from '@angular/forms';
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';
11
+
12
+ class FormlyFieldTextArea extends FieldType {
13
+ }
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: [{
17
+ type: Component,
18
+ args: [{
19
+ selector: 'formly-field-kendo-textarea',
20
+ template: ` <textarea kendoTextArea [formControl]="formControl" [formlyAttributes]="field"></textarea> `,
21
+ changeDetection: ChangeDetectionStrategy.OnPush,
22
+ }]
23
+ }] });
24
+
25
+ class FormlyTextAreaModule {
26
+ }
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,
30
+ ReactiveFormsModule,
31
+ FormlyFormFieldModule, i3.FormlyModule] });
32
+ FormlyTextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyTextAreaModule, imports: [[
33
+ CommonModule,
34
+ InputsModule,
35
+ ReactiveFormsModule,
36
+ FormlyFormFieldModule,
37
+ FormlyModule.forChild({
38
+ types: [
39
+ {
40
+ name: 'textarea',
41
+ component: FormlyFieldTextArea,
42
+ wrappers: ['form-field'],
43
+ },
44
+ ],
45
+ }),
46
+ ]] });
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyTextAreaModule, decorators: [{
48
+ type: NgModule,
49
+ args: [{
50
+ declarations: [FormlyFieldTextArea],
51
+ imports: [
52
+ CommonModule,
53
+ InputsModule,
54
+ ReactiveFormsModule,
55
+ FormlyFormFieldModule,
56
+ FormlyModule.forChild({
57
+ types: [
58
+ {
59
+ name: 'textarea',
60
+ component: FormlyFieldTextArea,
61
+ wrappers: ['form-field'],
62
+ },
63
+ ],
64
+ }),
65
+ ],
66
+ }]
67
+ }] });
68
+
69
+ /**
70
+ * Generated bundle index. Do not edit.
71
+ */
72
+
73
+ export { FormlyFieldTextArea, FormlyTextAreaModule };
74
+ //# sourceMappingURL=ngx-formly-kendo-textarea.mjs.map