@ngx-formly/kendo 6.0.0-next.9 → 6.0.0-rc.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 +15 -14
- package/checkbox/checkbox.type.d.ts +11 -4
- package/checkbox/public_api.d.ts +1 -1
- package/esm2020/checkbox/checkbox.module.mjs +5 -5
- package/esm2020/checkbox/checkbox.type.mjs +9 -9
- package/esm2020/checkbox/public_api.mjs +1 -1
- package/esm2020/form-field/field.type.mjs +4 -4
- package/esm2020/form-field/form-field.module.mjs +5 -5
- package/esm2020/form-field/form-field.wrapper.mjs +15 -15
- package/esm2020/form-field/public_api.mjs +1 -1
- package/esm2020/input/input.module.mjs +9 -9
- package/esm2020/input/input.type.mjs +9 -9
- package/esm2020/input/public_api.mjs +1 -1
- package/esm2020/lib/ui-kendo.module.mjs +5 -5
- package/esm2020/radio/public_api.mjs +1 -1
- package/esm2020/radio/radio.module.mjs +5 -5
- package/esm2020/radio/radio.type.mjs +7 -7
- package/esm2020/select/public_api.mjs +1 -1
- package/esm2020/select/select.module.mjs +5 -5
- package/esm2020/select/select.type.mjs +9 -9
- package/esm2020/textarea/public_api.mjs +1 -1
- package/esm2020/textarea/textarea.module.mjs +5 -5
- package/esm2020/textarea/textarea.type.mjs +4 -4
- package/fesm2015/ngx-formly-kendo-checkbox.mjs +12 -12
- package/fesm2015/ngx-formly-kendo-checkbox.mjs.map +1 -1
- package/fesm2015/ngx-formly-kendo-form-field.mjs +20 -20
- package/fesm2015/ngx-formly-kendo-form-field.mjs.map +1 -1
- package/fesm2015/ngx-formly-kendo-input.mjs +16 -16
- package/fesm2015/ngx-formly-kendo-input.mjs.map +1 -1
- package/fesm2015/ngx-formly-kendo-radio.mjs +10 -10
- package/fesm2015/ngx-formly-kendo-radio.mjs.map +1 -1
- package/fesm2015/ngx-formly-kendo-select.mjs +12 -12
- package/fesm2015/ngx-formly-kendo-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-kendo-textarea.mjs +7 -7
- 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 +12 -12
- package/fesm2020/ngx-formly-kendo-checkbox.mjs.map +1 -1
- package/fesm2020/ngx-formly-kendo-form-field.mjs +20 -20
- package/fesm2020/ngx-formly-kendo-form-field.mjs.map +1 -1
- package/fesm2020/ngx-formly-kendo-input.mjs +16 -16
- package/fesm2020/ngx-formly-kendo-input.mjs.map +1 -1
- package/fesm2020/ngx-formly-kendo-radio.mjs +10 -10
- package/fesm2020/ngx-formly-kendo-radio.mjs.map +1 -1
- package/fesm2020/ngx-formly-kendo-select.mjs +12 -12
- package/fesm2020/ngx-formly-kendo-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-kendo-textarea.mjs +7 -7
- 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/form-field.wrapper.d.ts +8 -3
- package/form-field/public_api.d.ts +1 -0
- package/input/input.type.d.ts +10 -3
- package/input/public_api.d.ts +1 -1
- package/package.json +5 -5
- package/radio/public_api.d.ts +1 -1
- package/radio/radio.type.d.ts +10 -2
- package/select/public_api.d.ts +1 -1
- package/select/select.type.d.ts +11 -3
- package/textarea/public_api.d.ts +1 -1
- package/textarea/textarea.type.d.ts +10 -3
|
@@ -12,12 +12,12 @@ import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
|
12
12
|
|
|
13
13
|
class FormlyFieldInput extends FieldType {
|
|
14
14
|
}
|
|
15
|
-
FormlyFieldInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
16
|
-
FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
15
|
+
FormlyFieldInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldInput, selector: "formly-field-kendo-input", usesInheritance: true, ngImport: i0, template: `
|
|
17
17
|
<input
|
|
18
|
-
*ngIf="
|
|
18
|
+
*ngIf="props.type !== 'number'; else numberTmp"
|
|
19
19
|
kendoTextBox
|
|
20
|
-
[type]="
|
|
20
|
+
[type]="props.type || 'text'"
|
|
21
21
|
[formlyAttributes]="field"
|
|
22
22
|
[formControl]="formControl"
|
|
23
23
|
[formControl]="formControl"
|
|
@@ -25,16 +25,16 @@ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
25
25
|
<ng-template #numberTmp>
|
|
26
26
|
<kendo-numerictextbox [formlyAttributes]="field" [formControl]="formControl"> </kendo-numerictextbox>
|
|
27
27
|
</ng-template>
|
|
28
|
-
`, isInline: true, components: [{ type: i1.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
28
|
+
`, isInline: true, components: [{ type: i1.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur"], exportAs: ["kendoNumericTextBox"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldInput, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{
|
|
32
32
|
selector: 'formly-field-kendo-input',
|
|
33
33
|
template: `
|
|
34
34
|
<input
|
|
35
|
-
*ngIf="
|
|
35
|
+
*ngIf="props.type !== 'number'; else numberTmp"
|
|
36
36
|
kendoTextBox
|
|
37
|
-
[type]="
|
|
37
|
+
[type]="props.type || 'text'"
|
|
38
38
|
[formlyAttributes]="field"
|
|
39
39
|
[formControl]="formControl"
|
|
40
40
|
[formControl]="formControl"
|
|
@@ -49,12 +49,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
|
|
|
49
49
|
|
|
50
50
|
class FormlyInputModule {
|
|
51
51
|
}
|
|
52
|
-
FormlyInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
53
|
-
FormlyInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
52
|
+
FormlyInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
53
|
+
FormlyInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyInputModule, declarations: [FormlyFieldInput], imports: [CommonModule,
|
|
54
54
|
ReactiveFormsModule,
|
|
55
55
|
FormlyFormFieldModule,
|
|
56
56
|
InputsModule, i4.FormlyModule] });
|
|
57
|
-
FormlyInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
57
|
+
FormlyInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyInputModule, imports: [[
|
|
58
58
|
CommonModule,
|
|
59
59
|
ReactiveFormsModule,
|
|
60
60
|
FormlyFormFieldModule,
|
|
@@ -71,7 +71,7 @@ FormlyInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
|
|
|
71
71
|
name: 'number',
|
|
72
72
|
extends: 'input',
|
|
73
73
|
defaultOptions: {
|
|
74
|
-
|
|
74
|
+
props: {
|
|
75
75
|
type: 'number',
|
|
76
76
|
},
|
|
77
77
|
},
|
|
@@ -80,7 +80,7 @@ FormlyInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
|
|
|
80
80
|
name: 'integer',
|
|
81
81
|
extends: 'input',
|
|
82
82
|
defaultOptions: {
|
|
83
|
-
|
|
83
|
+
props: {
|
|
84
84
|
type: 'number',
|
|
85
85
|
},
|
|
86
86
|
},
|
|
@@ -88,7 +88,7 @@ FormlyInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
|
|
|
88
88
|
],
|
|
89
89
|
}),
|
|
90
90
|
]] });
|
|
91
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyInputModule, decorators: [{
|
|
92
92
|
type: NgModule,
|
|
93
93
|
args: [{
|
|
94
94
|
declarations: [FormlyFieldInput],
|
|
@@ -109,7 +109,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
|
|
|
109
109
|
name: 'number',
|
|
110
110
|
extends: 'input',
|
|
111
111
|
defaultOptions: {
|
|
112
|
-
|
|
112
|
+
props: {
|
|
113
113
|
type: 'number',
|
|
114
114
|
},
|
|
115
115
|
},
|
|
@@ -118,7 +118,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
|
|
|
118
118
|
name: 'integer',
|
|
119
119
|
extends: 'input',
|
|
120
120
|
defaultOptions: {
|
|
121
|
-
|
|
121
|
+
props: {
|
|
122
122
|
type: 'number',
|
|
123
123
|
},
|
|
124
124
|
},
|
|
@@ -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 { 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=\"
|
|
1
|
+
{"version":3,"file":"ngx-formly-kendo-input.mjs","sources":["../../../../src/ui/kendo/input/src/input.type.ts","../../../../src/ui/kendo/input/src/input.module.ts","../../../../src/ui/kendo/input/src/ngx-formly-kendo-input.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FieldType, FormlyFieldProps } from '@ngx-formly/kendo/form-field';\n\ninterface InputProps extends FormlyFieldProps {}\n\nexport interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {\n type: 'input' | Type<FormlyFieldInput>;\n}\n\n@Component({\n selector: 'formly-field-kendo-input',\n template: `\n <input\n *ngIf=\"props.type !== 'number'; else numberTmp\"\n kendoTextBox\n [type]=\"props.type || 'text'\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n [formControl]=\"formControl\"\n />\n <ng-template #numberTmp>\n <kendo-numerictextbox [formlyAttributes]=\"field\" [formControl]=\"formControl\"> </kendo-numerictextbox>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { InputsModule } from '@progress/kendo-angular-inputs';\nimport { FormlyFieldInput } from './input.type';\n\n@NgModule({\n declarations: [FormlyFieldInput],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyFormFieldModule,\n InputsModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'input',\n component: FormlyFieldInput,\n wrappers: ['form-field'],\n },\n { name: 'string', extends: 'input' },\n {\n name: 'number',\n extends: 'input',\n defaultOptions: {\n props: {\n type: 'number',\n },\n },\n },\n {\n name: 'integer',\n extends: 'input',\n defaultOptions: {\n props: {\n type: 'number',\n },\n },\n },\n ],\n }),\n ],\n})\nexport class FormlyInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AA2BM,MAAO,gBAAiB,SAAQ,SAAsC,CAAA;;8GAA/D,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,EAfjB,QA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AAQ;AACf,yCAAA;AACF,qCAAA;AACF,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC5CD;;AAEG;;;;"}
|
|
@@ -16,9 +16,9 @@ import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
|
16
16
|
|
|
17
17
|
class FormlyFieldRadio extends FieldType {
|
|
18
18
|
}
|
|
19
|
-
FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
20
|
-
FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
21
|
-
<ng-container *ngFor="let option of
|
|
19
|
+
FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldRadio, selector: "formly-field-kendo-radio", usesInheritance: true, ngImport: i0, template: `
|
|
21
|
+
<ng-container *ngFor="let option of props.options | formlySelectOptions: field | async; let i = index">
|
|
22
22
|
<input
|
|
23
23
|
type="radio"
|
|
24
24
|
#radioInput
|
|
@@ -34,11 +34,11 @@ FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
34
34
|
{{ option.label }}
|
|
35
35
|
</label>
|
|
36
36
|
</ng-container>
|
|
37
|
-
`, isInline: true, styles: [".k-form formly-field-kendo-radio .k-label{display:inherit}\n"], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { type: i3.RadioButtonDirective, selector: "input[kendoRadioButton]", inputs: ["size"] }, { type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i5.LabelDirective, selector: "label[for]", inputs: ["for"] }], pipes: { "async": i1.AsyncPipe, "formlySelectOptions": i6
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
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.3.11", ngImport: i0, type: FormlyFieldRadio, decorators: [{
|
|
39
39
|
type: Component,
|
|
40
40
|
args: [{ selector: 'formly-field-kendo-radio', template: `
|
|
41
|
-
<ng-container *ngFor="let option of
|
|
41
|
+
<ng-container *ngFor="let option of props.options | formlySelectOptions: field | async; let i = index">
|
|
42
42
|
<input
|
|
43
43
|
type="radio"
|
|
44
44
|
#radioInput
|
|
@@ -59,14 +59,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
|
|
|
59
59
|
|
|
60
60
|
class FormlyRadioModule {
|
|
61
61
|
}
|
|
62
|
-
FormlyRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
63
|
-
FormlyRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
62
|
+
FormlyRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
63
|
+
FormlyRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
|
|
64
64
|
ReactiveFormsModule,
|
|
65
65
|
LabelModule,
|
|
66
66
|
InputsModule,
|
|
67
67
|
FormlyFormFieldModule,
|
|
68
68
|
FormlySelectModule, i4.FormlyModule] });
|
|
69
|
-
FormlyRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
69
|
+
FormlyRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyRadioModule, imports: [[
|
|
70
70
|
CommonModule,
|
|
71
71
|
ReactiveFormsModule,
|
|
72
72
|
LabelModule,
|
|
@@ -83,7 +83,7 @@ FormlyRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
|
|
|
83
83
|
],
|
|
84
84
|
}),
|
|
85
85
|
]] });
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyRadioModule, decorators: [{
|
|
87
87
|
type: NgModule,
|
|
88
88
|
args: [{
|
|
89
89
|
declarations: [FormlyFieldRadio],
|
|
@@ -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, 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
|
|
1
|
+
{"version":3,"file":"ngx-formly-kendo-radio.mjs","sources":["../../../../src/ui/kendo/radio/src/radio.type.ts","../../../../src/ui/kendo/radio/src/radio.module.ts","../../../../src/ui/kendo/radio/src/ngx-formly-kendo-radio.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewEncapsulation, Type } from '@angular/core';\nimport { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FieldType } from '@ngx-formly/kendo/form-field';\nimport { FormlyFieldProps } from '@ngx-formly/kendo/form-field';\n\ninterface RadioProps extends FormlyFieldProps {}\n\nexport interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {\n type: 'radio' | Type<FormlyFieldRadio>;\n}\n\n@Component({\n selector: 'formly-field-kendo-radio',\n template: `\n <ng-container *ngFor=\"let option of props.options | formlySelectOptions: field | async; let i = index\">\n <input\n type=\"radio\"\n #radioInput\n kendoRadioButton\n [id]=\"id + '_' + i\"\n [name]=\"field.name || id\"\n [value]=\"option.value\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [attr.disabled]=\"option.disabled || formControl.disabled ? true : null\"\n />\n <label class=\"k-radio-label\" [for]=\"id + '_' + i\">\n {{ option.label }}\n </label>\n </ng-container>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./radio.type.scss'],\n})\nexport class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlySelectModule } from '@ngx-formly/core/select';\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { LabelModule } from '@progress/kendo-angular-label';\nimport { InputsModule } from '@progress/kendo-angular-inputs';\nimport { FormlyFieldRadio } from './radio.type';\n\n@NgModule({\n declarations: [FormlyFieldRadio],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n LabelModule,\n InputsModule,\n FormlyFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'radio',\n component: FormlyFieldRadio,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyRadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;AAmCM,MAAO,gBAAiB,SAAQ,SAAsC,CAAA;;8GAA/D,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,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AAA,SAAS,EAAE,gBAAgB;wBAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC;SACH,CAAA,EAAA,CAAA,CAAA;4FAEU,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBArB7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBAEnB,WAAW;wBACX,YAAY;wBACZ,qBAAqB;wBACrB,kBAAkB;wBAClB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC9BD;;AAEG;;;;"}
|
|
@@ -14,20 +14,20 @@ import { FieldType, FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
|
|
|
14
14
|
|
|
15
15
|
class FormlyFieldSelect extends FieldType {
|
|
16
16
|
}
|
|
17
|
-
FormlyFieldSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
18
|
-
FormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
17
|
+
FormlyFieldSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
+
FormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldSelect, selector: "formly-field-kendo-select", usesInheritance: true, ngImport: i0, template: `
|
|
19
19
|
<kendo-dropdownlist
|
|
20
20
|
[formControl]="formControl"
|
|
21
21
|
[formlyAttributes]="field"
|
|
22
|
-
[data]="
|
|
22
|
+
[data]="props.options | formlySelectOptions: field | async"
|
|
23
23
|
[textField]="'label'"
|
|
24
24
|
[valueField]="'value'"
|
|
25
25
|
[valuePrimitive]="true"
|
|
26
|
-
(valueChange)="
|
|
26
|
+
(valueChange)="props.change && props.change(field, $event)"
|
|
27
27
|
>
|
|
28
28
|
</kendo-dropdownlist>
|
|
29
|
-
`, isInline: true, components: [{ type: i1.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
29
|
+
`, isInline: true, components: [{ type: i1.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], 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.3.11", ngImport: i0, type: FormlyFieldSelect, decorators: [{
|
|
31
31
|
type: Component,
|
|
32
32
|
args: [{
|
|
33
33
|
selector: 'formly-field-kendo-select',
|
|
@@ -35,11 +35,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
|
|
|
35
35
|
<kendo-dropdownlist
|
|
36
36
|
[formControl]="formControl"
|
|
37
37
|
[formlyAttributes]="field"
|
|
38
|
-
[data]="
|
|
38
|
+
[data]="props.options | formlySelectOptions: field | async"
|
|
39
39
|
[textField]="'label'"
|
|
40
40
|
[valueField]="'value'"
|
|
41
41
|
[valuePrimitive]="true"
|
|
42
|
-
(valueChange)="
|
|
42
|
+
(valueChange)="props.change && props.change(field, $event)"
|
|
43
43
|
>
|
|
44
44
|
</kendo-dropdownlist>
|
|
45
45
|
`,
|
|
@@ -49,13 +49,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
|
|
|
49
49
|
|
|
50
50
|
class FormlySelectModule {
|
|
51
51
|
}
|
|
52
|
-
FormlySelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
53
|
-
FormlySelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
52
|
+
FormlySelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlySelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
53
|
+
FormlySelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlySelectModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
|
|
54
54
|
ReactiveFormsModule,
|
|
55
55
|
DropDownsModule,
|
|
56
56
|
FormlyFormFieldModule,
|
|
57
57
|
FormlySelectModule$1, i3.FormlyModule] });
|
|
58
|
-
FormlySelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
58
|
+
FormlySelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlySelectModule, imports: [[
|
|
59
59
|
CommonModule,
|
|
60
60
|
ReactiveFormsModule,
|
|
61
61
|
DropDownsModule,
|
|
@@ -72,7 +72,7 @@ FormlySelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
|
|
|
72
72
|
],
|
|
73
73
|
}),
|
|
74
74
|
]] });
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlySelectModule, decorators: [{
|
|
76
76
|
type: NgModule,
|
|
77
77
|
args: [{
|
|
78
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 { 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]=\"
|
|
1
|
+
{"version":3,"file":"ngx-formly-kendo-select.mjs","sources":["../../../../src/ui/kendo/select/src/select.type.ts","../../../../src/ui/kendo/select/src/select.module.ts","../../../../src/ui/kendo/select/src/ngx-formly-kendo-select.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FieldType, FormlyFieldProps } from '@ngx-formly/kendo/form-field';\nimport { FormlyFieldSelectProps } from '@ngx-formly/core/select';\n\ninterface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {}\n\nexport interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {\n type: 'select' | Type<FormlyFieldSelect>;\n}\n\n@Component({\n selector: 'formly-field-kendo-select',\n template: `\n <kendo-dropdownlist\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [data]=\"props.options | formlySelectOptions: field | async\"\n [textField]=\"'label'\"\n [valueField]=\"'value'\"\n [valuePrimitive]=\"true\"\n (valueChange)=\"props.change && props.change(field, $event)\"\n >\n </kendo-dropdownlist>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { DropDownsModule } from '@progress/kendo-angular-dropdowns';\nimport { FormlySelectModule as FormlyCoreSelectModule } from '@ngx-formly/core/select';\n\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { FormlyFieldSelect } from './select.type';\n\n@NgModule({\n declarations: [FormlyFieldSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DropDownsModule,\n\n FormlyFormFieldModule,\n FormlyCoreSelectModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'select',\n component: FormlyFieldSelect,\n wrappers: ['form-field'],\n },\n { name: 'enum', extends: 'select' },\n ],\n }),\n ],\n})\nexport class FormlySelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["FormlyCoreSelectModule","i1"],"mappings":";;;;;;;;;;;;;;AA2BM,MAAO,iBAAkB,SAAQ,SAAuC,CAAA;;+GAAjE,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,iBAAiB,EAdlB,QAAA,EAAA,2BAAA,EAAA,eAAA,EA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A;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;iBACF,CAAA;;;AC9BD;;AAEG;;;;"}
|
|
@@ -11,9 +11,9 @@ import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
|
11
11
|
|
|
12
12
|
class FormlyFieldTextArea extends FieldType {
|
|
13
13
|
}
|
|
14
|
-
FormlyFieldTextArea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
15
|
-
FormlyFieldTextArea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
14
|
+
FormlyFieldTextArea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
FormlyFieldTextArea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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.3.11", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{
|
|
19
19
|
selector: 'formly-field-kendo-textarea',
|
|
@@ -24,12 +24,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
|
|
|
24
24
|
|
|
25
25
|
class FormlyTextAreaModule {
|
|
26
26
|
}
|
|
27
|
-
FormlyTextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
28
|
-
FormlyTextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
27
|
+
FormlyTextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
28
|
+
FormlyTextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyTextAreaModule, declarations: [FormlyFieldTextArea], imports: [CommonModule,
|
|
29
29
|
InputsModule,
|
|
30
30
|
ReactiveFormsModule,
|
|
31
31
|
FormlyFormFieldModule, i3.FormlyModule] });
|
|
32
|
-
FormlyTextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
32
|
+
FormlyTextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyTextAreaModule, imports: [[
|
|
33
33
|
CommonModule,
|
|
34
34
|
InputsModule,
|
|
35
35
|
ReactiveFormsModule,
|
|
@@ -44,7 +44,7 @@ FormlyTextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
|
|
|
44
44
|
],
|
|
45
45
|
}),
|
|
46
46
|
]] });
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyTextAreaModule, decorators: [{
|
|
48
48
|
type: NgModule,
|
|
49
49
|
args: [{
|
|
50
50
|
declarations: [FormlyFieldTextArea],
|
|
@@ -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 { 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
|
|
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, Type } from '@angular/core';\nimport { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FieldType, FormlyFieldProps } from '@ngx-formly/kendo/form-field';\n\ninterface TextAreaProps extends FormlyFieldProps {}\n\nexport interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {\n type: 'textarea' | Type<FormlyFieldTextArea>;\n}\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<TextAreaProps>> {}\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":";;;;;;;;;;;AAeM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;;iHAArE,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,0FAHpB,CAAA,4FAAA,CAA8F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AAqB,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA;AAYZ,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EAjBtB,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,YAAY;YACZ,mBAAmB;YAEnB,qBAAqB;YACrB,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,UAAU;AAChB,wBAAA,SAAS,EAAE,mBAAmB;wBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC;SACH,CAAA,EAAA,CAAA,CAAA;4FAEU,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAnBhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBACZ,mBAAmB;wBAEnB,qBAAqB;wBACrB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC1BD;;AAEG;;;;"}
|
|
@@ -9,14 +9,14 @@ import { FormlySelectModule } from '@ngx-formly/kendo/select';
|
|
|
9
9
|
|
|
10
10
|
class FormlyKendoModule {
|
|
11
11
|
}
|
|
12
|
-
FormlyKendoModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
13
|
-
FormlyKendoModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
12
|
+
FormlyKendoModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyKendoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
FormlyKendoModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", 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.
|
|
19
|
+
FormlyKendoModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", 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.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", 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,CAAA
|
|
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;;+GAAjB,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,SAAA,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,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,EATnB,OAAA,EAAA,CAAA;YACP,qBAAqB;YACrB,iBAAiB;YACjB,oBAAoB;YACpB,iBAAiB;YACjB,oBAAoB;YACpB,kBAAkB;SACnB,CAAA,EAAA,CAAA,CAAA;4FAEU,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAV7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,qBAAqB;wBACrB,iBAAiB;wBACjB,oBAAoB;wBACpB,iBAAiB;wBACjB,oBAAoB;wBACpB,kBAAkB;AACnB,qBAAA;iBACF,CAAA;;;ACjBD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -16,40 +16,40 @@ class FormlyFieldCheckbox extends FieldType {
|
|
|
16
16
|
constructor() {
|
|
17
17
|
super(...arguments);
|
|
18
18
|
this.defaultOptions = {
|
|
19
|
-
|
|
19
|
+
props: {
|
|
20
20
|
hideLabel: true,
|
|
21
21
|
},
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
FormlyFieldCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
26
|
-
FormlyFieldCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
25
|
+
FormlyFieldCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
FormlyFieldCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldCheckbox, selector: "formly-field-kendo-checkbox", usesInheritance: true, ngImport: i0, template: `
|
|
27
27
|
<input type="checkbox" kendoCheckBox [formControl]="formControl" [formlyAttributes]="field" />
|
|
28
28
|
<label [for]="id" class="k-checkbox-label">
|
|
29
|
-
{{
|
|
30
|
-
<span *ngIf="
|
|
29
|
+
{{ props.label }}
|
|
30
|
+
<span *ngIf="props.required && props.hideRequiredMarker !== true" aria-hidden="true" class="k-required">*</span>
|
|
31
31
|
</label>
|
|
32
32
|
`, isInline: true, styles: [".k-form formly-field-kendo-checkbox .k-label{display:inherit}\n"], directives: [{ type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i2.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i4.LabelDirective, selector: "label[for]", inputs: ["for"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
|
|
34
34
|
type: Component,
|
|
35
35
|
args: [{ selector: 'formly-field-kendo-checkbox', template: `
|
|
36
36
|
<input type="checkbox" kendoCheckBox [formControl]="formControl" [formlyAttributes]="field" />
|
|
37
37
|
<label [for]="id" class="k-checkbox-label">
|
|
38
|
-
{{
|
|
39
|
-
<span *ngIf="
|
|
38
|
+
{{ props.label }}
|
|
39
|
+
<span *ngIf="props.required && props.hideRequiredMarker !== true" aria-hidden="true" class="k-required">*</span>
|
|
40
40
|
</label>
|
|
41
41
|
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".k-form formly-field-kendo-checkbox .k-label{display:inherit}\n"] }]
|
|
42
42
|
}] });
|
|
43
43
|
|
|
44
44
|
class FormlyCheckboxModule {
|
|
45
45
|
}
|
|
46
|
-
FormlyCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
47
|
-
FormlyCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
46
|
+
FormlyCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
47
|
+
FormlyCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyCheckboxModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
|
|
48
48
|
ReactiveFormsModule,
|
|
49
49
|
InputsModule,
|
|
50
50
|
LabelModule,
|
|
51
51
|
FormlyFormFieldModule, i3.FormlyModule] });
|
|
52
|
-
FormlyCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
52
|
+
FormlyCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyCheckboxModule, imports: [[
|
|
53
53
|
CommonModule,
|
|
54
54
|
ReactiveFormsModule,
|
|
55
55
|
InputsModule,
|
|
@@ -69,7 +69,7 @@ FormlyCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
|
|
|
69
69
|
],
|
|
70
70
|
}),
|
|
71
71
|
]] });
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyCheckboxModule, decorators: [{
|
|
73
73
|
type: NgModule,
|
|
74
74
|
args: [{
|
|
75
75
|
declarations: [FormlyFieldCheckbox],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-kendo-checkbox.mjs","sources":["../../../../src/ui/kendo/checkbox/src/checkbox.type.ts","../../../../src/ui/kendo/checkbox/src/checkbox.module.ts","../../../../src/ui/kendo/checkbox/src/ngx-formly-kendo-checkbox.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core';\nimport { FieldTypeConfig } from '@ngx-formly/core';\nimport { FieldType } from '@ngx-formly/kendo/form-field';\n\n@Component({\n selector: 'formly-field-kendo-checkbox',\n template: `\n <input type=\"checkbox\" kendoCheckBox [formControl]=\"formControl\" [formlyAttributes]=\"field\" />\n <label [for]=\"id\" class=\"k-checkbox-label\">\n {{
|
|
1
|
+
{"version":3,"file":"ngx-formly-kendo-checkbox.mjs","sources":["../../../../src/ui/kendo/checkbox/src/checkbox.type.ts","../../../../src/ui/kendo/checkbox/src/checkbox.module.ts","../../../../src/ui/kendo/checkbox/src/ngx-formly-kendo-checkbox.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewEncapsulation, Type } from '@angular/core';\nimport { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FieldType, FormlyFieldProps } from '@ngx-formly/kendo/form-field';\n\ninterface CheckboxProps extends FormlyFieldProps {}\n\nexport interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {\n type: 'checkbox' | Type<FormlyFieldCheckbox>;\n}\n\n@Component({\n selector: 'formly-field-kendo-checkbox',\n template: `\n <input type=\"checkbox\" kendoCheckBox [formControl]=\"formControl\" [formlyAttributes]=\"field\" />\n <label [for]=\"id\" class=\"k-checkbox-label\">\n {{ props.label }}\n <span *ngIf=\"props.required && props.hideRequiredMarker !== true\" aria-hidden=\"true\" class=\"k-required\">*</span>\n </label>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./checkbox.type.scss'],\n})\nexport class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {\n override defaultOptions = {\n props: {\n hideLabel: true,\n },\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { LabelModule } from '@progress/kendo-angular-label';\nimport { InputsModule } from '@progress/kendo-angular-inputs';\n\nimport { FormlyFieldCheckbox } from './checkbox.type';\n\n@NgModule({\n declarations: [FormlyFieldCheckbox],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n InputsModule,\n LabelModule,\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'checkbox',\n component: FormlyFieldCheckbox,\n wrappers: ['form-field'],\n },\n {\n name: 'boolean',\n extends: 'checkbox',\n },\n ],\n }),\n ],\n})\nexport class FormlyCheckboxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AAuBM,MAAO,mBAAoB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