@ngx-formly/kendo 6.0.0-next.8 → 6.0.0-next.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/checkbox/checkbox.module.d.ts +5 -3
- package/checkbox/checkbox.type.d.ts +2 -1
- package/esm2020/checkbox/checkbox.module.mjs +13 -5
- package/esm2020/checkbox/checkbox.type.mjs +19 -39
- package/esm2020/form-field/field.type.mjs +21 -0
- package/esm2020/form-field/form-field.module.mjs +14 -6
- package/esm2020/form-field/form-field.wrapper.mjs +47 -23
- package/esm2020/form-field/public_api.mjs +2 -1
- package/esm2020/input/input.module.mjs +10 -6
- package/esm2020/input/input.type.mjs +18 -29
- package/esm2020/lib/ui-kendo.module.mjs +4 -4
- package/esm2020/radio/radio.module.mjs +13 -5
- package/esm2020/radio/radio.type.mjs +17 -23
- package/esm2020/select/select.module.mjs +4 -4
- package/esm2020/select/select.type.mjs +6 -14
- package/esm2020/textarea/textarea.module.mjs +9 -5
- package/esm2020/textarea/textarea.type.mjs +9 -22
- package/fesm2015/ngx-formly-kendo-checkbox.mjs +32 -44
- package/fesm2015/ngx-formly-kendo-checkbox.mjs.map +1 -1
- package/fesm2015/ngx-formly-kendo-form-field.mjs +78 -29
- package/fesm2015/ngx-formly-kendo-form-field.mjs.map +1 -1
- package/fesm2015/ngx-formly-kendo-input.mjs +27 -34
- package/fesm2015/ngx-formly-kendo-input.mjs.map +1 -1
- package/fesm2015/ngx-formly-kendo-radio.mjs +30 -28
- package/fesm2015/ngx-formly-kendo-radio.mjs.map +1 -1
- package/fesm2015/ngx-formly-kendo-select.mjs +10 -18
- package/fesm2015/ngx-formly-kendo-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-kendo-textarea.mjs +18 -27
- package/fesm2015/ngx-formly-kendo-textarea.mjs.map +1 -1
- package/fesm2015/ngx-formly-kendo.mjs +4 -4
- package/fesm2015/ngx-formly-kendo.mjs.map +1 -1
- package/fesm2020/ngx-formly-kendo-checkbox.mjs +32 -44
- package/fesm2020/ngx-formly-kendo-checkbox.mjs.map +1 -1
- package/fesm2020/ngx-formly-kendo-form-field.mjs +77 -29
- package/fesm2020/ngx-formly-kendo-form-field.mjs.map +1 -1
- package/fesm2020/ngx-formly-kendo-input.mjs +27 -34
- package/fesm2020/ngx-formly-kendo-input.mjs.map +1 -1
- package/fesm2020/ngx-formly-kendo-radio.mjs +30 -28
- package/fesm2020/ngx-formly-kendo-radio.mjs.map +1 -1
- package/fesm2020/ngx-formly-kendo-select.mjs +10 -18
- package/fesm2020/ngx-formly-kendo-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-kendo-textarea.mjs +18 -27
- package/fesm2020/ngx-formly-kendo-textarea.mjs.map +1 -1
- package/fesm2020/ngx-formly-kendo.mjs +4 -4
- package/fesm2020/ngx-formly-kendo.mjs.map +1 -1
- package/form-field/field.type.d.ts +8 -0
- package/form-field/form-field.module.d.ts +4 -2
- package/form-field/form-field.wrapper.d.ts +5 -1
- package/form-field/public_api.d.ts +1 -0
- package/input/input.module.d.ts +3 -2
- package/input/input.type.d.ts +2 -1
- package/package.json +5 -3
- package/radio/radio.module.d.ts +6 -4
- package/radio/radio.type.d.ts +2 -6
- package/select/select.type.d.ts +2 -6
- package/textarea/textarea.module.d.ts +5 -4
- package/textarea/textarea.type.d.ts +2 -1
|
@@ -1 +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 {
|
|
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 { FieldTypeConfig } from '@ngx-formly/core';\nimport { FieldType } from '@ngx-formly/kendo/form-field';\n\n@Component({\n selector: 'formly-field-kendo-input',\n template: `\n <input\n *ngIf=\"to.type !== 'number'; else numberTmp\"\n kendoTextBox\n [type]=\"to.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> {}\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 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":["i1"],"mappings":";;;;;;;;;;;;AAqBM,MAAO,gBAAiB,SAAQ,SAA0B,CAAA;;6GAAnD,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,E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AA,IAAI,EAAE,SAAS;AACf,oCAAA,OAAO,EAAE,OAAO;AAChB,oCAAA,cAAc,EAAE;AACd,wCAAA,eAAe,EAAE;AACf,4CAAA,IAAI,EAAE,QAAQ;AACf,yCAAA;AACF,qCAAA;AACF,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC5CD;;AAEG;;;;"}
|
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as
|
|
6
|
-
import {
|
|
5
|
+
import * as i4 from '@ngx-formly/core';
|
|
6
|
+
import { FormlyModule } from '@ngx-formly/core';
|
|
7
7
|
import * as i2 from '@angular/forms';
|
|
8
8
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i6 from '@ngx-formly/core/select';
|
|
10
10
|
import { FormlySelectModule } from '@ngx-formly/core/select';
|
|
11
|
-
import { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
|
|
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';
|
|
12
16
|
|
|
13
17
|
class FormlyFieldRadio extends FieldType {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments);
|
|
16
|
-
this.defaultOptions = {
|
|
17
|
-
templateOptions: { options: [] },
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
18
|
}
|
|
21
|
-
FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
22
|
-
FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
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: `
|
|
23
21
|
<ng-container *ngFor="let option of to.options | formlySelectOptions: field | async; let i = index">
|
|
24
22
|
<input
|
|
25
23
|
type="radio"
|
|
24
|
+
#radioInput
|
|
25
|
+
kendoRadioButton
|
|
26
26
|
[id]="id + '_' + i"
|
|
27
27
|
[name]="field.name || id"
|
|
28
28
|
[value]="option.value"
|
|
29
29
|
[formControl]="formControl"
|
|
30
30
|
[formlyAttributes]="field"
|
|
31
31
|
[attr.disabled]="option.disabled || formControl.disabled ? true : null"
|
|
32
|
-
class="k-radio"
|
|
33
32
|
/>
|
|
34
33
|
<label class="k-radio-label" [for]="id + '_' + i">
|
|
35
34
|
{{ option.label }}
|
|
36
35
|
</label>
|
|
37
36
|
</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:
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
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: [{
|
|
40
39
|
type: Component,
|
|
41
|
-
args: [{
|
|
42
|
-
selector: 'formly-field-kendo-radio',
|
|
43
|
-
template: `
|
|
40
|
+
args: [{ selector: 'formly-field-kendo-radio', template: `
|
|
44
41
|
<ng-container *ngFor="let option of to.options | formlySelectOptions: field | async; let i = index">
|
|
45
42
|
<input
|
|
46
43
|
type="radio"
|
|
44
|
+
#radioInput
|
|
45
|
+
kendoRadioButton
|
|
47
46
|
[id]="id + '_' + i"
|
|
48
47
|
[name]="field.name || id"
|
|
49
48
|
[value]="option.value"
|
|
50
49
|
[formControl]="formControl"
|
|
51
50
|
[formlyAttributes]="field"
|
|
52
51
|
[attr.disabled]="option.disabled || formControl.disabled ? true : null"
|
|
53
|
-
class="k-radio"
|
|
54
52
|
/>
|
|
55
53
|
<label class="k-radio-label" [for]="id + '_' + i">
|
|
56
54
|
{{ option.label }}
|
|
57
55
|
</label>
|
|
58
56
|
</ng-container>
|
|
59
|
-
`,
|
|
60
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
61
|
-
}]
|
|
57
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".k-form formly-field-kendo-radio .k-label{display:inherit}\n"] }]
|
|
62
58
|
}] });
|
|
63
59
|
|
|
64
60
|
class FormlyRadioModule {
|
|
65
61
|
}
|
|
66
|
-
FormlyRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
67
|
-
FormlyRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
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,
|
|
68
64
|
ReactiveFormsModule,
|
|
65
|
+
LabelModule,
|
|
66
|
+
InputsModule,
|
|
69
67
|
FormlyFormFieldModule,
|
|
70
|
-
FormlySelectModule,
|
|
71
|
-
FormlyRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
68
|
+
FormlySelectModule, i4.FormlyModule] });
|
|
69
|
+
FormlyRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyRadioModule, imports: [[
|
|
72
70
|
CommonModule,
|
|
73
71
|
ReactiveFormsModule,
|
|
72
|
+
LabelModule,
|
|
73
|
+
InputsModule,
|
|
74
74
|
FormlyFormFieldModule,
|
|
75
75
|
FormlySelectModule,
|
|
76
76
|
FormlyModule.forChild({
|
|
@@ -83,13 +83,15 @@ FormlyRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
|
|
|
83
83
|
],
|
|
84
84
|
}),
|
|
85
85
|
]] });
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyRadioModule, decorators: [{
|
|
87
87
|
type: NgModule,
|
|
88
88
|
args: [{
|
|
89
89
|
declarations: [FormlyFieldRadio],
|
|
90
90
|
imports: [
|
|
91
91
|
CommonModule,
|
|
92
92
|
ReactiveFormsModule,
|
|
93
|
+
LabelModule,
|
|
94
|
+
InputsModule,
|
|
93
95
|
FormlyFormFieldModule,
|
|
94
96
|
FormlySelectModule,
|
|
95
97
|
FormlyModule.forChild({
|
|
@@ -1 +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 {
|
|
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 } from '@angular/core';\nimport { FieldTypeConfig } from '@ngx-formly/core';\nimport { FieldType } from '@ngx-formly/kendo/form-field';\n\n@Component({\n selector: 'formly-field-kendo-radio',\n template: `\n <ng-container *ngFor=\"let option of to.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> {}\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":";;;;;;;;;;;;;;;;AA4BM,MAAO,gBAAiB,SAAQ,SA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AAA,CAAA;YACP,YAAY;YACZ,mBAAmB;YAEnB,WAAW;YACX,YAAY;YACZ,qBAAqB;YACrB,kBAAkB;YAClB,YAAY,CAAC,QAAQ,CAAC;AACpB,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;AACH,SAAA,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;AACF,iBAAA,CAAA;;;AC9BD;;AAEG;;;;"}
|
|
@@ -5,25 +5,18 @@ import { CommonModule } from '@angular/common';
|
|
|
5
5
|
import * as i2 from '@angular/forms';
|
|
6
6
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
7
7
|
import * as i3 from '@ngx-formly/core';
|
|
8
|
-
import {
|
|
8
|
+
import { FormlyModule } from '@ngx-formly/core';
|
|
9
9
|
import * as i1 from '@progress/kendo-angular-dropdowns';
|
|
10
10
|
import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
11
11
|
import * as i5 from '@ngx-formly/core/select';
|
|
12
12
|
import { FormlySelectModule as FormlySelectModule$1 } from '@ngx-formly/core/select';
|
|
13
|
-
import { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
|
|
13
|
+
import { FieldType, FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
|
|
14
14
|
|
|
15
15
|
class FormlyFieldSelect extends FieldType {
|
|
16
|
-
constructor() {
|
|
17
|
-
super(...arguments);
|
|
18
|
-
this.defaultOptions = {
|
|
19
|
-
templateOptions: { options: [] },
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
16
|
}
|
|
23
|
-
FormlyFieldSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
24
|
-
FormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
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: `
|
|
25
19
|
<kendo-dropdownlist
|
|
26
|
-
[class.k-state-invalid]="showError"
|
|
27
20
|
[formControl]="formControl"
|
|
28
21
|
[formlyAttributes]="field"
|
|
29
22
|
[data]="to.options | formlySelectOptions: field | async"
|
|
@@ -33,14 +26,13 @@ FormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
33
26
|
(valueChange)="to.change && to.change(field, $event)"
|
|
34
27
|
>
|
|
35
28
|
</kendo-dropdownlist>
|
|
36
|
-
`, isInline: true, components: [{ type: i1.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
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: [{
|
|
38
31
|
type: Component,
|
|
39
32
|
args: [{
|
|
40
33
|
selector: 'formly-field-kendo-select',
|
|
41
34
|
template: `
|
|
42
35
|
<kendo-dropdownlist
|
|
43
|
-
[class.k-state-invalid]="showError"
|
|
44
36
|
[formControl]="formControl"
|
|
45
37
|
[formlyAttributes]="field"
|
|
46
38
|
[data]="to.options | formlySelectOptions: field | async"
|
|
@@ -57,13 +49,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
57
49
|
|
|
58
50
|
class FormlySelectModule {
|
|
59
51
|
}
|
|
60
|
-
FormlySelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
61
|
-
FormlySelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
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,
|
|
62
54
|
ReactiveFormsModule,
|
|
63
55
|
DropDownsModule,
|
|
64
56
|
FormlyFormFieldModule,
|
|
65
57
|
FormlySelectModule$1, i3.FormlyModule] });
|
|
66
|
-
FormlySelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
58
|
+
FormlySelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlySelectModule, imports: [[
|
|
67
59
|
CommonModule,
|
|
68
60
|
ReactiveFormsModule,
|
|
69
61
|
DropDownsModule,
|
|
@@ -80,7 +72,7 @@ FormlySelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
|
|
|
80
72
|
],
|
|
81
73
|
}),
|
|
82
74
|
]] });
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlySelectModule, decorators: [{
|
|
84
76
|
type: NgModule,
|
|
85
77
|
args: [{
|
|
86
78
|
declarations: [FormlyFieldSelect],
|
|
@@ -1 +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 {
|
|
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 { FieldTypeConfig } from '@ngx-formly/core';\nimport { FieldType } from '@ngx-formly/kendo/form-field';\n\n@Component({\n selector: 'formly-field-kendo-select',\n template: `\n <kendo-dropdownlist\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<FieldTypeConfig> {}\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":";;;;;;;;;;;;;;AAoBM,MAAO,iBAAkB,SAAQ,SAA0B,CAAA;;8GAApD,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA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I,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;AACpC,iBAAA;aACF,CAAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;2FAEU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBArB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,eAAe;wBAEf,qBAAqB;wBACrBA,oBAAsB;wBACtB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACD,gCAAA,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;AACpC,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC9BD;;AAEG;;;;"}
|
|
@@ -1,47 +1,37 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
|
-
import * as
|
|
5
|
-
import {
|
|
6
|
-
import * as
|
|
4
|
+
import * as i3 from '@ngx-formly/core';
|
|
5
|
+
import { FormlyModule } from '@ngx-formly/core';
|
|
6
|
+
import * as i2 from '@angular/forms';
|
|
7
7
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
8
|
-
import { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
|
|
8
|
+
import { FieldType, FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
|
|
9
|
+
import * as i1 from '@progress/kendo-angular-inputs';
|
|
10
|
+
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
9
11
|
|
|
10
12
|
class FormlyFieldTextArea extends FieldType {
|
|
11
13
|
}
|
|
12
|
-
FormlyFieldTextArea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
13
|
-
FormlyFieldTextArea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
14
|
-
|
|
15
|
-
class="k-textarea"
|
|
16
|
-
[class.k-state-invalid]="showError"
|
|
17
|
-
[formControl]="formControl"
|
|
18
|
-
[formlyAttributes]="field"
|
|
19
|
-
></textarea>
|
|
20
|
-
`, isInline: true, directives: [{ type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i2.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
|
|
14
|
+
FormlyFieldTextArea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
FormlyFieldTextArea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: FormlyFieldTextArea, selector: "formly-field-kendo-textarea", usesInheritance: true, ngImport: i0, template: ` <textarea kendoTextArea [formControl]="formControl" [formlyAttributes]="field"></textarea> `, isInline: true, directives: [{ type: i1.TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: ["autoSize", "value"], outputs: ["valueChange"] }, { type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
|
|
22
17
|
type: Component,
|
|
23
18
|
args: [{
|
|
24
19
|
selector: 'formly-field-kendo-textarea',
|
|
25
|
-
template: `
|
|
26
|
-
<textarea
|
|
27
|
-
class="k-textarea"
|
|
28
|
-
[class.k-state-invalid]="showError"
|
|
29
|
-
[formControl]="formControl"
|
|
30
|
-
[formlyAttributes]="field"
|
|
31
|
-
></textarea>
|
|
32
|
-
`,
|
|
20
|
+
template: ` <textarea kendoTextArea [formControl]="formControl" [formlyAttributes]="field"></textarea> `,
|
|
33
21
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
34
22
|
}]
|
|
35
23
|
}] });
|
|
36
24
|
|
|
37
25
|
class FormlyTextAreaModule {
|
|
38
26
|
}
|
|
39
|
-
FormlyTextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
40
|
-
FormlyTextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
27
|
+
FormlyTextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
28
|
+
FormlyTextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyTextAreaModule, declarations: [FormlyFieldTextArea], imports: [CommonModule,
|
|
29
|
+
InputsModule,
|
|
41
30
|
ReactiveFormsModule,
|
|
42
|
-
FormlyFormFieldModule,
|
|
43
|
-
FormlyTextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
31
|
+
FormlyFormFieldModule, i3.FormlyModule] });
|
|
32
|
+
FormlyTextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyTextAreaModule, imports: [[
|
|
44
33
|
CommonModule,
|
|
34
|
+
InputsModule,
|
|
45
35
|
ReactiveFormsModule,
|
|
46
36
|
FormlyFormFieldModule,
|
|
47
37
|
FormlyModule.forChild({
|
|
@@ -54,12 +44,13 @@ FormlyTextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
|
|
|
54
44
|
],
|
|
55
45
|
}),
|
|
56
46
|
]] });
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyTextAreaModule, decorators: [{
|
|
58
48
|
type: NgModule,
|
|
59
49
|
args: [{
|
|
60
50
|
declarations: [FormlyFieldTextArea],
|
|
61
51
|
imports: [
|
|
62
52
|
CommonModule,
|
|
53
|
+
InputsModule,
|
|
63
54
|
ReactiveFormsModule,
|
|
64
55
|
FormlyFormFieldModule,
|
|
65
56
|
FormlyModule.forChild({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-kendo-textarea.mjs","sources":["../../../../src/ui/kendo/textarea/src/textarea.type.ts","../../../../src/ui/kendo/textarea/src/textarea.module.ts","../../../../src/ui/kendo/textarea/src/ngx-formly-kendo-textarea.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport {
|
|
1
|
+
{"version":3,"file":"ngx-formly-kendo-textarea.mjs","sources":["../../../../src/ui/kendo/textarea/src/textarea.type.ts","../../../../src/ui/kendo/textarea/src/textarea.module.ts","../../../../src/ui/kendo/textarea/src/ngx-formly-kendo-textarea.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldTypeConfig } from '@ngx-formly/core';\nimport { FieldType } from '@ngx-formly/kendo/form-field';\n\n@Component({\n selector: 'formly-field-kendo-textarea',\n template: ` <textarea kendoTextArea [formControl]=\"formControl\" [formlyAttributes]=\"field\"></textarea> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldTextArea extends FieldType<FieldTypeConfig> {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { InputsModule } from '@progress/kendo-angular-inputs';\nimport { FormlyFieldTextArea } from './textarea.type';\n\n@NgModule({\n declarations: [FormlyFieldTextArea],\n imports: [\n CommonModule,\n InputsModule,\n ReactiveFormsModule,\n\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextArea,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyTextAreaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AASM,MAAO,mBAAoB,SAAQ,SAA0B,CAAA;;gHAAtD,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,E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.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
13
|
-
FormlyKendoModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
|
12
|
+
FormlyKendoModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyKendoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
FormlyKendoModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyKendoModule, imports: [FormlyFormFieldModule,
|
|
14
14
|
FormlyInputModule,
|
|
15
15
|
FormlyTextAreaModule,
|
|
16
16
|
FormlyRadioModule,
|
|
17
17
|
FormlyCheckboxModule,
|
|
18
18
|
FormlySelectModule] });
|
|
19
|
-
FormlyKendoModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
|
19
|
+
FormlyKendoModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyKendoModule, imports: [[
|
|
20
20
|
FormlyFormFieldModule,
|
|
21
21
|
FormlyInputModule,
|
|
22
22
|
FormlyTextAreaModule,
|
|
@@ -24,7 +24,7 @@ FormlyKendoModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
|
|
|
24
24
|
FormlyCheckboxModule,
|
|
25
25
|
FormlySelectModule,
|
|
26
26
|
]] });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyKendoModule, decorators: [{
|
|
28
28
|
type: NgModule,
|
|
29
29
|
args: [{
|
|
30
30
|
imports: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-kendo.mjs","sources":["../../../../src/ui/kendo/src/lib/ui-kendo.module.ts","../../../../src/ui/kendo/src/public_api.ts","../../../../src/ui/kendo/src/ngx-formly-kendo.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { FormlyInputModule } from '@ngx-formly/kendo/input';\nimport { FormlyTextAreaModule } from '@ngx-formly/kendo/textarea';\nimport { FormlyRadioModule } from '@ngx-formly/kendo/radio';\nimport { FormlyCheckboxModule } from '@ngx-formly/kendo/checkbox';\nimport { FormlySelectModule } from '@ngx-formly/kendo/select';\n\n@NgModule({\n imports: [\n FormlyFormFieldModule,\n FormlyInputModule,\n FormlyTextAreaModule,\n FormlyRadioModule,\n FormlyCheckboxModule,\n FormlySelectModule,\n ],\n})\nexport class FormlyKendoModule {}\n","/*\n * Public API Surface of kendo\n */\n\nexport * from './lib/ui-kendo';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAkBa,iBAAiB;;8GAAjB,iBAAiB
|
|
1
|
+
{"version":3,"file":"ngx-formly-kendo.mjs","sources":["../../../../src/ui/kendo/src/lib/ui-kendo.module.ts","../../../../src/ui/kendo/src/public_api.ts","../../../../src/ui/kendo/src/ngx-formly-kendo.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { FormlyInputModule } from '@ngx-formly/kendo/input';\nimport { FormlyTextAreaModule } from '@ngx-formly/kendo/textarea';\nimport { FormlyRadioModule } from '@ngx-formly/kendo/radio';\nimport { FormlyCheckboxModule } from '@ngx-formly/kendo/checkbox';\nimport { FormlySelectModule } from '@ngx-formly/kendo/select';\n\n@NgModule({\n imports: [\n FormlyFormFieldModule,\n FormlyInputModule,\n FormlyTextAreaModule,\n FormlyRadioModule,\n FormlyCheckboxModule,\n FormlySelectModule,\n ],\n})\nexport class FormlyKendoModule {}\n","/*\n * Public API Surface of kendo\n */\n\nexport * from './lib/ui-kendo';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAkBa,iBAAiB,CAAA;;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAR1B,qBAAqB;QACrB,iBAAiB;QACjB,oBAAoB;QACpB,iBAAiB;QACjB,oBAAoB;QACpB,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAGT,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,EATnB,OAAA,EAAA,CAAA;YACP,qBAAqB;YACrB,iBAAiB;YACjB,oBAAoB;YACpB,iBAAiB;YACjB,oBAAoB;YACpB,kBAAkB;AACnB,SAAA,CAAA,EAAA,CAAA,CAAA;2FAEU,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAV7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,qBAAqB;wBACrB,iBAAiB;wBACjB,oBAAoB;wBACpB,iBAAiB;wBACjB,oBAAoB;wBACpB,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;ACjBD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FormlyFieldConfig, FieldType as CoreFieldType } from '@ngx-formly/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare abstract class FieldType<F extends FormlyFieldConfig = FormlyFieldConfig> extends CoreFieldType<F> {
|
|
4
|
+
private set formControls(value);
|
|
5
|
+
private get formField();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldType<any>, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FieldType<any>, never, never, {}, {}, never>;
|
|
8
|
+
}
|
|
@@ -2,9 +2,11 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./form-field.wrapper";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "@
|
|
5
|
+
import * as i4 from "@progress/kendo-angular-inputs";
|
|
6
|
+
import * as i5 from "@progress/kendo-angular-label";
|
|
7
|
+
import * as i6 from "@ngx-formly/core";
|
|
6
8
|
export declare class FormlyFormFieldModule {
|
|
7
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFormFieldModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyFormFieldModule, [typeof i1.FormlyWrapperFormField], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyModule], never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyFormFieldModule, [typeof i1.FormlyWrapperFormField], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormFieldModule, typeof i5.LabelModule, typeof i6.FormlyModule], never>;
|
|
9
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyFormFieldModule>;
|
|
10
12
|
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormFieldComponent } from '@progress/kendo-angular-inputs';
|
|
1
3
|
import { FieldWrapper } from '@ngx-formly/core';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FormlyWrapperFormField extends FieldWrapper {
|
|
5
|
+
export declare class FormlyWrapperFormField extends FieldWrapper implements OnInit {
|
|
6
|
+
formfield: FormFieldComponent;
|
|
7
|
+
ngOnInit(): void;
|
|
4
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormField, never>;
|
|
5
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-kendo-form-field", never, {}, {}, never, never>;
|
|
6
10
|
}
|
package/input/input.module.d.ts
CHANGED
|
@@ -3,9 +3,10 @@ import * as i1 from "./input.type";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
5
|
import * as i4 from "@ngx-formly/kendo/form-field";
|
|
6
|
-
import * as i5 from "@
|
|
6
|
+
import * as i5 from "@progress/kendo-angular-inputs";
|
|
7
|
+
import * as i6 from "@ngx-formly/core";
|
|
7
8
|
export declare class FormlyInputModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyInputModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyInputModule, [typeof i1.FormlyFieldInput], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyFormFieldModule, typeof i5.FormlyModule], never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyInputModule, [typeof i1.FormlyFieldInput], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyFormFieldModule, typeof i5.InputsModule, typeof i6.FormlyModule], never>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyInputModule>;
|
|
11
12
|
}
|
package/input/input.type.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FieldTypeConfig } from '@ngx-formly/core';
|
|
2
|
+
import { FieldType } from '@ngx-formly/kendo/form-field';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class FormlyFieldInput extends FieldType<FieldTypeConfig> {
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngx-formly/kendo",
|
|
3
|
-
"version": "6.0.0-next.
|
|
3
|
+
"version": "6.0.0-next.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"tslib": "^2.0.0"
|
|
7
7
|
},
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"@ngx-formly/core": "6.0.0-next.
|
|
10
|
-
"@progress/kendo-angular-
|
|
9
|
+
"@ngx-formly/core": "6.0.0-next.9",
|
|
10
|
+
"@progress/kendo-angular-label": "^3.1.1",
|
|
11
|
+
"@progress/kendo-angular-dropdowns": "^6.0.2",
|
|
12
|
+
"@progress/kendo-angular-inputs": "^8.0.7"
|
|
11
13
|
},
|
|
12
14
|
"module": "fesm2015/ngx-formly-kendo.mjs",
|
|
13
15
|
"es2020": "fesm2020/ngx-formly-kendo.mjs",
|
package/radio/radio.module.d.ts
CHANGED
|
@@ -2,11 +2,13 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./radio.type";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "@
|
|
6
|
-
import * as i5 from "@
|
|
7
|
-
import * as i6 from "@ngx-formly/
|
|
5
|
+
import * as i4 from "@progress/kendo-angular-label";
|
|
6
|
+
import * as i5 from "@progress/kendo-angular-inputs";
|
|
7
|
+
import * as i6 from "@ngx-formly/kendo/form-field";
|
|
8
|
+
import * as i7 from "@ngx-formly/core/select";
|
|
9
|
+
import * as i8 from "@ngx-formly/core";
|
|
8
10
|
export declare class FormlyRadioModule {
|
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyRadioModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyRadioModule, [typeof i1.FormlyFieldRadio], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyRadioModule, [typeof i1.FormlyFieldRadio], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.LabelModule, typeof i5.InputsModule, typeof i6.FormlyFormFieldModule, typeof i7.FormlySelectModule, typeof i8.FormlyModule], never>;
|
|
11
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyRadioModule>;
|
|
12
14
|
}
|
package/radio/radio.type.d.ts
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FieldTypeConfig } from '@ngx-formly/core';
|
|
2
|
+
import { FieldType } from '@ngx-formly/kendo/form-field';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class FormlyFieldRadio extends FieldType<FieldTypeConfig> {
|
|
4
|
-
defaultOptions: {
|
|
5
|
-
templateOptions: {
|
|
6
|
-
options: any[];
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
|
|
10
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-kendo-radio", never, {}, {}, never, never>;
|
|
11
7
|
}
|
package/select/select.type.d.ts
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FieldTypeConfig } from '@ngx-formly/core';
|
|
2
|
+
import { FieldType } from '@ngx-formly/kendo/form-field';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class FormlyFieldSelect extends FieldType<FieldTypeConfig> {
|
|
4
|
-
defaultOptions: {
|
|
5
|
-
templateOptions: {
|
|
6
|
-
options: any[];
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
|
|
10
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-kendo-select", never, {}, {}, never, never>;
|
|
11
7
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./textarea.type";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular
|
|
5
|
-
import * as i4 from "@
|
|
6
|
-
import * as i5 from "@ngx-formly/
|
|
4
|
+
import * as i3 from "@progress/kendo-angular-inputs";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@ngx-formly/kendo/form-field";
|
|
7
|
+
import * as i6 from "@ngx-formly/core";
|
|
7
8
|
export declare class FormlyTextAreaModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyTextAreaModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyTextAreaModule, [typeof i1.FormlyFieldTextArea], [typeof i2.CommonModule, typeof i3.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyTextAreaModule, [typeof i1.FormlyFieldTextArea], [typeof i2.CommonModule, typeof i3.InputsModule, typeof i4.ReactiveFormsModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlyModule], never>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyTextAreaModule>;
|
|
11
12
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FieldTypeConfig } from '@ngx-formly/core';
|
|
2
|
+
import { FieldType } from '@ngx-formly/kendo/form-field';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig> {
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextArea, never>;
|