@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.
- package/README.md +2 -2
- package/checkbox/checkbox.module.d.ts +9 -0
- package/checkbox/checkbox.type.d.ts +3 -0
- package/checkbox/ngx-formly-kendo-checkbox.d.ts +1 -0
- package/checkbox/package.json +5 -6
- package/esm2020/checkbox/checkbox.module.mjs +57 -0
- package/esm2020/checkbox/checkbox.type.mjs +57 -0
- package/{esm2015/checkbox/ngx-formly-kendo-checkbox.js → esm2020/checkbox/ngx-formly-kendo-checkbox.mjs} +0 -0
- package/{esm2015/checkbox/public_api.js → esm2020/checkbox/public_api.mjs} +0 -0
- package/esm2020/form-field/form-field.module.mjs +43 -0
- package/esm2020/form-field/form-field.wrapper.mjs +40 -0
- package/{esm2015/form-field/ngx-formly-kendo-form-field.js → esm2020/form-field/ngx-formly-kendo-form-field.mjs} +1 -2
- package/{esm2015/form-field/public_api.js → esm2020/form-field/public_api.mjs} +0 -0
- package/esm2020/input/input.module.mjs +87 -0
- package/esm2020/input/input.type.mjs +55 -0
- package/{esm2015/input/ngx-formly-kendo-input.js → esm2020/input/ngx-formly-kendo-input.mjs} +0 -0
- package/{esm2015/input/public_api.js → esm2020/input/public_api.mjs} +0 -0
- package/{esm2015/lib/ui-kendo.js → esm2020/lib/ui-kendo.mjs} +0 -0
- package/esm2020/lib/ui-kendo.module.mjs +39 -0
- package/{esm2015/ngx-formly-kendo.js → esm2020/ngx-formly-kendo.mjs} +0 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
- package/{esm2015/radio/ngx-formly-kendo-radio.js → esm2020/radio/ngx-formly-kendo-radio.mjs} +0 -0
- package/{esm2015/radio/public_api.js → esm2020/radio/public_api.mjs} +0 -0
- package/esm2020/radio/radio.module.mjs +53 -0
- package/esm2020/radio/radio.type.mjs +58 -0
- package/{esm2015/select/ngx-formly-kendo-select.js → esm2020/select/ngx-formly-kendo-select.mjs} +0 -0
- package/{esm2015/select/public_api.js → esm2020/select/public_api.mjs} +0 -0
- package/esm2020/select/select.module.mjs +59 -0
- package/esm2020/select/select.type.mjs +51 -0
- package/{esm2015/textarea/ngx-formly-kendo-textarea.js → esm2020/textarea/ngx-formly-kendo-textarea.mjs} +0 -0
- package/{esm2015/textarea/public_api.js → esm2020/textarea/public_api.mjs} +0 -0
- package/esm2020/textarea/textarea.module.mjs +49 -0
- package/esm2020/textarea/textarea.type.mjs +32 -0
- package/fesm2015/ngx-formly-kendo-checkbox.mjs +116 -0
- package/fesm2015/ngx-formly-kendo-checkbox.mjs.map +1 -0
- package/fesm2015/ngx-formly-kendo-form-field.mjs +85 -0
- package/fesm2015/ngx-formly-kendo-form-field.mjs.map +1 -0
- package/fesm2015/ngx-formly-kendo-input.mjs +144 -0
- package/fesm2015/ngx-formly-kendo-input.mjs.map +1 -0
- package/fesm2015/ngx-formly-kendo-radio.mjs +113 -0
- package/fesm2015/ngx-formly-kendo-radio.mjs.map +1 -0
- package/fesm2015/ngx-formly-kendo-select.mjs +112 -0
- package/fesm2015/ngx-formly-kendo-select.mjs.map +1 -0
- package/fesm2015/ngx-formly-kendo-textarea.mjs +83 -0
- package/fesm2015/ngx-formly-kendo-textarea.mjs.map +1 -0
- package/fesm2015/ngx-formly-kendo.mjs +50 -0
- package/fesm2015/ngx-formly-kendo.mjs.map +1 -0
- package/fesm2020/ngx-formly-kendo-checkbox.mjs +116 -0
- package/fesm2020/ngx-formly-kendo-checkbox.mjs.map +1 -0
- package/fesm2020/ngx-formly-kendo-form-field.mjs +85 -0
- package/fesm2020/ngx-formly-kendo-form-field.mjs.map +1 -0
- package/fesm2020/ngx-formly-kendo-input.mjs +144 -0
- package/fesm2020/ngx-formly-kendo-input.mjs.map +1 -0
- package/fesm2020/ngx-formly-kendo-radio.mjs +113 -0
- package/fesm2020/ngx-formly-kendo-radio.mjs.map +1 -0
- package/fesm2020/ngx-formly-kendo-select.mjs +112 -0
- package/fesm2020/ngx-formly-kendo-select.mjs.map +1 -0
- package/fesm2020/ngx-formly-kendo-textarea.mjs +83 -0
- package/fesm2020/ngx-formly-kendo-textarea.mjs.map +1 -0
- package/fesm2020/ngx-formly-kendo.mjs +50 -0
- package/fesm2020/ngx-formly-kendo.mjs.map +1 -0
- package/form-field/form-field.module.d.ts +8 -0
- package/form-field/form-field.wrapper.d.ts +3 -0
- package/form-field/ngx-formly-kendo-form-field.d.ts +1 -1
- package/form-field/package.json +5 -6
- package/input/input.module.d.ts +9 -0
- package/input/input.type.d.ts +3 -0
- package/input/ngx-formly-kendo-input.d.ts +1 -0
- package/input/package.json +5 -6
- package/lib/ui-kendo.module.d.ts +10 -0
- package/ngx-formly-kendo.d.ts +1 -0
- package/package.json +68 -8
- package/radio/ngx-formly-kendo-radio.d.ts +1 -0
- package/radio/package.json +5 -6
- package/radio/radio.module.d.ts +10 -0
- package/radio/radio.type.d.ts +3 -0
- package/select/ngx-formly-kendo-select.d.ts +1 -0
- package/select/package.json +5 -6
- package/select/select.module.d.ts +11 -0
- package/select/select.type.d.ts +3 -0
- package/textarea/ngx-formly-kendo-textarea.d.ts +1 -0
- package/textarea/package.json +5 -6
- package/textarea/textarea.module.d.ts +9 -0
- package/textarea/textarea.type.d.ts +3 -0
- package/bundles/ngx-formly-kendo-checkbox.umd.js +0 -376
- package/bundles/ngx-formly-kendo-checkbox.umd.js.map +0 -1
- package/bundles/ngx-formly-kendo-checkbox.umd.min.js +0 -16
- package/bundles/ngx-formly-kendo-checkbox.umd.min.js.map +0 -1
- package/bundles/ngx-formly-kendo-form-field.umd.js +0 -364
- package/bundles/ngx-formly-kendo-form-field.umd.js.map +0 -1
- package/bundles/ngx-formly-kendo-form-field.umd.min.js +0 -16
- package/bundles/ngx-formly-kendo-form-field.umd.min.js.map +0 -1
- package/bundles/ngx-formly-kendo-input.umd.js +0 -385
- package/bundles/ngx-formly-kendo-input.umd.js.map +0 -1
- package/bundles/ngx-formly-kendo-input.umd.min.js +0 -16
- package/bundles/ngx-formly-kendo-input.umd.min.js.map +0 -1
- package/bundles/ngx-formly-kendo-radio.umd.js +0 -371
- package/bundles/ngx-formly-kendo-radio.umd.js.map +0 -1
- package/bundles/ngx-formly-kendo-radio.umd.min.js +0 -16
- package/bundles/ngx-formly-kendo-radio.umd.min.js.map +0 -1
- package/bundles/ngx-formly-kendo-select.umd.js +0 -373
- package/bundles/ngx-formly-kendo-select.umd.js.map +0 -1
- package/bundles/ngx-formly-kendo-select.umd.min.js +0 -16
- package/bundles/ngx-formly-kendo-select.umd.min.js.map +0 -1
- package/bundles/ngx-formly-kendo-textarea.umd.js +0 -366
- package/bundles/ngx-formly-kendo-textarea.umd.js.map +0 -1
- package/bundles/ngx-formly-kendo-textarea.umd.min.js +0 -16
- package/bundles/ngx-formly-kendo-textarea.umd.min.js.map +0 -1
- package/bundles/ngx-formly-kendo.umd.js +0 -38
- package/bundles/ngx-formly-kendo.umd.js.map +0 -1
- package/bundles/ngx-formly-kendo.umd.min.js +0 -2
- package/bundles/ngx-formly-kendo.umd.min.js.map +0 -1
- package/checkbox/ngx-formly-kendo-checkbox.metadata.json +0 -1
- package/esm2015/checkbox/checkbox.module.js +0 -32
- package/esm2015/checkbox/checkbox.type.js +0 -35
- package/esm2015/form-field/form-field.module.js +0 -25
- package/esm2015/form-field/form-field.wrapper.js +0 -23
- package/esm2015/input/input.module.js +0 -47
- package/esm2015/input/input.type.js +0 -30
- package/esm2015/lib/ui-kendo.module.js +0 -22
- package/esm2015/radio/radio.module.js +0 -30
- package/esm2015/radio/radio.type.js +0 -34
- package/esm2015/select/select.module.js +0 -33
- package/esm2015/select/select.type.js +0 -30
- package/esm2015/textarea/textarea.module.js +0 -28
- package/esm2015/textarea/textarea.type.js +0 -19
- package/fesm2015/ngx-formly-kendo-checkbox.js +0 -71
- package/fesm2015/ngx-formly-kendo-checkbox.js.map +0 -1
- package/fesm2015/ngx-formly-kendo-form-field.js +0 -52
- package/fesm2015/ngx-formly-kendo-form-field.js.map +0 -1
- package/fesm2015/ngx-formly-kendo-input.js +0 -81
- package/fesm2015/ngx-formly-kendo-input.js.map +0 -1
- package/fesm2015/ngx-formly-kendo-radio.js +0 -68
- package/fesm2015/ngx-formly-kendo-radio.js.map +0 -1
- package/fesm2015/ngx-formly-kendo-select.js +0 -67
- package/fesm2015/ngx-formly-kendo-select.js.map +0 -1
- package/fesm2015/ngx-formly-kendo-textarea.js +0 -51
- package/fesm2015/ngx-formly-kendo-textarea.js.map +0 -1
- package/fesm2015/ngx-formly-kendo.js +0 -33
- package/fesm2015/ngx-formly-kendo.js.map +0 -1
- package/form-field/ngx-formly-kendo-form-field.metadata.json +0 -1
- package/input/ngx-formly-kendo-input.metadata.json +0 -1
- package/ngx-formly-kendo.metadata.json +0 -1
- package/radio/ngx-formly-kendo-radio.metadata.json +0 -1
- package/select/ngx-formly-kendo-select.metadata.json +0 -1
- package/textarea/ngx-formly-kendo-textarea.metadata.json +0 -1
|
@@ -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,yBAAyB,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,yBAAyB,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,0BAA0B,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;;;;;;"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i2 from '@ngx-formly/core';
|
|
5
|
+
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
6
|
+
import * as i1 from '@angular/forms';
|
|
7
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
|
|
9
|
+
|
|
10
|
+
class FormlyFieldTextArea extends FieldType {
|
|
11
|
+
}
|
|
12
|
+
FormlyFieldTextArea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
FormlyFieldTextArea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: FormlyFieldTextArea, selector: "formly-field-kendo-textarea", usesInheritance: true, ngImport: i0, template: `
|
|
14
|
+
<textarea
|
|
15
|
+
class="k-textarea"
|
|
16
|
+
[class.k-state-invalid]="showError"
|
|
17
|
+
[formControl]="formControl"
|
|
18
|
+
[formlyAttributes]="field"
|
|
19
|
+
></textarea>
|
|
20
|
+
`, isInline: true, directives: [{ type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i2.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
|
|
22
|
+
type: Component,
|
|
23
|
+
args: [{
|
|
24
|
+
selector: 'formly-field-kendo-textarea',
|
|
25
|
+
template: `
|
|
26
|
+
<textarea
|
|
27
|
+
class="k-textarea"
|
|
28
|
+
[class.k-state-invalid]="showError"
|
|
29
|
+
[formControl]="formControl"
|
|
30
|
+
[formlyAttributes]="field"
|
|
31
|
+
></textarea>
|
|
32
|
+
`,
|
|
33
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
34
|
+
}]
|
|
35
|
+
}] });
|
|
36
|
+
|
|
37
|
+
class FormlyTextAreaModule {
|
|
38
|
+
}
|
|
39
|
+
FormlyTextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
40
|
+
FormlyTextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyTextAreaModule, declarations: [FormlyFieldTextArea], imports: [CommonModule,
|
|
41
|
+
ReactiveFormsModule,
|
|
42
|
+
FormlyFormFieldModule, i2.FormlyModule] });
|
|
43
|
+
FormlyTextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyTextAreaModule, imports: [[
|
|
44
|
+
CommonModule,
|
|
45
|
+
ReactiveFormsModule,
|
|
46
|
+
FormlyFormFieldModule,
|
|
47
|
+
FormlyModule.forChild({
|
|
48
|
+
types: [
|
|
49
|
+
{
|
|
50
|
+
name: 'textarea',
|
|
51
|
+
component: FormlyFieldTextArea,
|
|
52
|
+
wrappers: ['form-field'],
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
}),
|
|
56
|
+
]] });
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyTextAreaModule, decorators: [{
|
|
58
|
+
type: NgModule,
|
|
59
|
+
args: [{
|
|
60
|
+
declarations: [FormlyFieldTextArea],
|
|
61
|
+
imports: [
|
|
62
|
+
CommonModule,
|
|
63
|
+
ReactiveFormsModule,
|
|
64
|
+
FormlyFormFieldModule,
|
|
65
|
+
FormlyModule.forChild({
|
|
66
|
+
types: [
|
|
67
|
+
{
|
|
68
|
+
name: 'textarea',
|
|
69
|
+
component: FormlyFieldTextArea,
|
|
70
|
+
wrappers: ['form-field'],
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
}),
|
|
74
|
+
],
|
|
75
|
+
}]
|
|
76
|
+
}] });
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Generated bundle index. Do not edit.
|
|
80
|
+
*/
|
|
81
|
+
|
|
82
|
+
export { FormlyFieldTextArea, FormlyTextAreaModule };
|
|
83
|
+
//# sourceMappingURL=ngx-formly-kendo-textarea.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-formly-kendo-textarea.mjs","sources":["../../../../src/ui/kendo/textarea/src/textarea.type.ts","../../../../src/ui/kendo/textarea/src/textarea.module.ts","../../../../src/ui/kendo/textarea/src/ngx-formly-kendo-textarea.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-kendo-textarea',\n template: `\n <textarea\n class=\"k-textarea\"\n [class.k-state-invalid]=\"showError\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n ></textarea>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldTextArea extends FieldType {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { FormlyFieldTextArea } from './textarea.type';\n\n@NgModule({\n declarations: [FormlyFieldTextArea],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextArea,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyTextAreaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAea,4BAA4B,SAAS;;gHAArC,mBAAmB;oGAAnB,mBAAmB,0FAVpB;;;;;;;GAOT;2FAGU,mBAAmB;kBAZ/B,SAAS;mBAAC;oBACT,QAAQ,EAAE,6BAA6B;oBACvC,QAAQ,EAAE;;;;;;;GAOT;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCWY,oBAAoB;;iHAApB,oBAAoB;kHAApB,oBAAoB,iBAjBhB,mBAAmB,aAEhC,YAAY;QACZ,mBAAmB;QAEnB,qBAAqB;kHAYZ,oBAAoB,YAhBtB;YACP,YAAY;YACZ,mBAAmB;YAEnB,qBAAqB;YACrB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,UAAU;wBAChB,SAAS,EAAE,mBAAmB;wBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;qBACzB;iBACF;aACF,CAAC;SACH;2FAEU,oBAAoB;kBAlBhC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBAEnB,qBAAqB;wBACrB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,UAAU;oCAChB,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;6BACF;yBACF,CAAC;qBACH;iBACF;;;ACxBD;;;;;;"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
|
|
4
|
+
import { FormlyInputModule } from '@ngx-formly/kendo/input';
|
|
5
|
+
import { FormlyTextAreaModule } from '@ngx-formly/kendo/textarea';
|
|
6
|
+
import { FormlyRadioModule } from '@ngx-formly/kendo/radio';
|
|
7
|
+
import { FormlyCheckboxModule } from '@ngx-formly/kendo/checkbox';
|
|
8
|
+
import { FormlySelectModule } from '@ngx-formly/kendo/select';
|
|
9
|
+
|
|
10
|
+
class FormlyKendoModule {
|
|
11
|
+
}
|
|
12
|
+
FormlyKendoModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyKendoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
FormlyKendoModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyKendoModule, imports: [FormlyFormFieldModule,
|
|
14
|
+
FormlyInputModule,
|
|
15
|
+
FormlyTextAreaModule,
|
|
16
|
+
FormlyRadioModule,
|
|
17
|
+
FormlyCheckboxModule,
|
|
18
|
+
FormlySelectModule] });
|
|
19
|
+
FormlyKendoModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyKendoModule, imports: [[
|
|
20
|
+
FormlyFormFieldModule,
|
|
21
|
+
FormlyInputModule,
|
|
22
|
+
FormlyTextAreaModule,
|
|
23
|
+
FormlyRadioModule,
|
|
24
|
+
FormlyCheckboxModule,
|
|
25
|
+
FormlySelectModule,
|
|
26
|
+
]] });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyKendoModule, decorators: [{
|
|
28
|
+
type: NgModule,
|
|
29
|
+
args: [{
|
|
30
|
+
imports: [
|
|
31
|
+
FormlyFormFieldModule,
|
|
32
|
+
FormlyInputModule,
|
|
33
|
+
FormlyTextAreaModule,
|
|
34
|
+
FormlyRadioModule,
|
|
35
|
+
FormlyCheckboxModule,
|
|
36
|
+
FormlySelectModule,
|
|
37
|
+
],
|
|
38
|
+
}]
|
|
39
|
+
}] });
|
|
40
|
+
|
|
41
|
+
/*
|
|
42
|
+
* Public API Surface of kendo
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Generated bundle index. Do not edit.
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
export { FormlyKendoModule };
|
|
50
|
+
//# sourceMappingURL=ngx-formly-kendo.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-formly-kendo.mjs","sources":["../../../../src/ui/kendo/src/lib/ui-kendo.module.ts","../../../../src/ui/kendo/src/public_api.ts","../../../../src/ui/kendo/src/ngx-formly-kendo.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { FormlyInputModule } from '@ngx-formly/kendo/input';\nimport { FormlyTextAreaModule } from '@ngx-formly/kendo/textarea';\nimport { FormlyRadioModule } from '@ngx-formly/kendo/radio';\nimport { FormlyCheckboxModule } from '@ngx-formly/kendo/checkbox';\nimport { FormlySelectModule } from '@ngx-formly/kendo/select';\n\n@NgModule({\n imports: [\n FormlyFormFieldModule,\n FormlyInputModule,\n FormlyTextAreaModule,\n FormlyRadioModule,\n FormlyCheckboxModule,\n FormlySelectModule,\n ],\n})\nexport class FormlyKendoModule {}\n","/*\n * Public API Surface of kendo\n */\n\nexport * from './lib/ui-kendo';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAkBa,iBAAiB;;8GAAjB,iBAAiB;+GAAjB,iBAAiB,YAR1B,qBAAqB;QACrB,iBAAiB;QACjB,oBAAoB;QACpB,iBAAiB;QACjB,oBAAoB;QACpB,kBAAkB;+GAGT,iBAAiB,YATnB;YACP,qBAAqB;YACrB,iBAAiB;YACjB,oBAAoB;YACpB,iBAAiB;YACjB,oBAAoB;YACpB,kBAAkB;SACnB;2FAEU,iBAAiB;kBAV7B,QAAQ;mBAAC;oBACR,OAAO,EAAE;wBACP,qBAAqB;wBACrB,iBAAiB;wBACjB,oBAAoB;wBACpB,iBAAiB;wBACjB,oBAAoB;wBACpB,kBAAkB;qBACnB;iBACF;;;ACjBD;;;;ACAA;;;;;;"}
|