@ngx-formly/kendo 7.1.0 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -9
- package/checkbox/index.d.ts +36 -5
- package/fesm2022/ngx-formly-kendo-checkbox.mjs +21 -18
- package/fesm2022/ngx-formly-kendo-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-kendo-form-field.mjs +49 -33
- package/fesm2022/ngx-formly-kendo-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-kendo-input.mjs +36 -34
- package/fesm2022/ngx-formly-kendo-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-kendo-radio.mjs +20 -20
- package/fesm2022/ngx-formly-kendo-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-kendo-select.mjs +71 -28
- package/fesm2022/ngx-formly-kendo-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-kendo-textarea.mjs +8 -7
- package/fesm2022/ngx-formly-kendo-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-kendo.mjs +4 -4
- package/form-field/index.d.ts +39 -5
- package/index.d.ts +18 -5
- package/input/index.d.ts +30 -5
- package/package.json +5 -19
- package/radio/index.d.ts +33 -5
- package/select/index.d.ts +39 -5
- package/textarea/index.d.ts +30 -5
- package/checkbox/checkbox.config.d.ts +0 -2
- package/checkbox/checkbox.module.d.ts +0 -13
- package/checkbox/checkbox.type.d.ts +0 -19
- package/checkbox/public_api.d.ts +0 -3
- package/esm2022/checkbox/checkbox.config.mjs +0 -17
- package/esm2022/checkbox/checkbox.module.mjs +0 -40
- package/esm2022/checkbox/checkbox.type.mjs +0 -37
- package/esm2022/checkbox/ngx-formly-kendo-checkbox.mjs +0 -5
- package/esm2022/checkbox/public_api.mjs +0 -4
- package/esm2022/form-field/field.type.mjs +0 -23
- package/esm2022/form-field/form-field.config.mjs +0 -12
- package/esm2022/form-field/form-field.module.mjs +0 -36
- package/esm2022/form-field/form-field.wrapper.mjs +0 -64
- package/esm2022/form-field/ngx-formly-kendo-form-field.mjs +0 -5
- package/esm2022/form-field/public_api.mjs +0 -4
- package/esm2022/input/input.config.mjs +0 -32
- package/esm2022/input/input.module.mjs +0 -36
- package/esm2022/input/input.type.mjs +0 -42
- package/esm2022/input/ngx-formly-kendo-input.mjs +0 -5
- package/esm2022/input/public_api.mjs +0 -4
- package/esm2022/lib/ui-kendo.config.mjs +0 -17
- package/esm2022/lib/ui-kendo.mjs +0 -3
- package/esm2022/lib/ui-kendo.module.mjs +0 -37
- package/esm2022/ngx-formly-kendo.mjs +0 -5
- package/esm2022/public_api.mjs +0 -5
- package/esm2022/radio/ngx-formly-kendo-radio.mjs +0 -5
- package/esm2022/radio/public_api.mjs +0 -4
- package/esm2022/radio/radio.config.mjs +0 -13
- package/esm2022/radio/radio.module.mjs +0 -44
- package/esm2022/radio/radio.type.mjs +0 -54
- package/esm2022/select/ngx-formly-kendo-select.mjs +0 -5
- package/esm2022/select/public_api.mjs +0 -4
- package/esm2022/select/select.config.mjs +0 -14
- package/esm2022/select/select.module.mjs +0 -40
- package/esm2022/select/select.type.mjs +0 -43
- package/esm2022/textarea/ngx-formly-kendo-textarea.mjs +0 -5
- package/esm2022/textarea/public_api.mjs +0 -4
- package/esm2022/textarea/textarea.config.mjs +0 -13
- package/esm2022/textarea/textarea.module.mjs +0 -36
- package/esm2022/textarea/textarea.type.mjs +0 -19
- package/form-field/field.type.d.ts +0 -8
- package/form-field/form-field.config.d.ts +0 -2
- package/form-field/form-field.module.d.ts +0 -12
- package/form-field/form-field.wrapper.d.ts +0 -15
- package/form-field/public_api.d.ts +0 -4
- package/input/input.config.d.ts +0 -2
- package/input/input.module.d.ts +0 -12
- package/input/input.type.d.ts +0 -14
- package/input/public_api.d.ts +0 -3
- package/lib/ui-kendo.config.d.ts +0 -1
- package/lib/ui-kendo.d.ts +0 -2
- package/lib/ui-kendo.module.d.ts +0 -12
- package/public_api.d.ts +0 -1
- package/radio/public_api.d.ts +0 -3
- package/radio/radio.config.d.ts +0 -2
- package/radio/radio.module.d.ts +0 -14
- package/radio/radio.type.d.ts +0 -16
- package/select/public_api.d.ts +0 -3
- package/select/select.config.d.ts +0 -2
- package/select/select.module.d.ts +0 -13
- package/select/select.type.d.ts +0 -16
- package/textarea/public_api.d.ts +0 -3
- package/textarea/textarea.config.d.ts +0 -2
- package/textarea/textarea.module.d.ts +0 -12
- package/textarea/textarea.type.d.ts +0 -14
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i1 from '@angular/forms';
|
|
4
4
|
import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms';
|
|
5
5
|
import { FieldType, FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';
|
|
6
|
-
import * as
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
import * as i3 from '@progress/kendo-angular-label';
|
|
6
|
+
import * as i2 from '@progress/kendo-angular-label';
|
|
9
7
|
import { LabelModule } from '@progress/kendo-angular-label';
|
|
10
|
-
import * as
|
|
8
|
+
import * as i3 from '@progress/kendo-angular-inputs';
|
|
11
9
|
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
12
|
-
import * as
|
|
10
|
+
import * as i4 from '@ngx-formly/core';
|
|
13
11
|
import { FormlyModule } from '@ngx-formly/core';
|
|
12
|
+
import * as i5 from '@angular/common';
|
|
13
|
+
import { CommonModule } from '@angular/common';
|
|
14
14
|
import * as i6 from '@ngx-formly/core/select';
|
|
15
15
|
import { FormlySelectModule } from '@ngx-formly/core/select';
|
|
16
16
|
|
|
@@ -18,9 +18,9 @@ class FormlyFieldRadio extends FieldType {
|
|
|
18
18
|
get disabledControl() {
|
|
19
19
|
return new UntypedFormControl({ value: this.formControl.value, disabled: true });
|
|
20
20
|
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
23
|
-
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: FormlyFieldRadio, isStandalone: false, selector: "formly-field-kendo-radio", usesInheritance: true, ngImport: i0, template: `
|
|
23
|
+
@for (option of props.options | formlySelectOptions: field | async; track option; let i = $index) {
|
|
24
24
|
<input
|
|
25
25
|
type="radio"
|
|
26
26
|
#radioInput
|
|
@@ -34,13 +34,13 @@ class FormlyFieldRadio extends FieldType {
|
|
|
34
34
|
<label class="k-radio-label" [for]="id + '_' + i">
|
|
35
35
|
{{ option.label }}
|
|
36
36
|
</label>
|
|
37
|
-
|
|
38
|
-
`, isInline: true, styles: [".k-form formly-field-kendo-radio .k-label{display:inherit}\n"], dependencies: [{ kind: "directive", type: i1.
|
|
37
|
+
}
|
|
38
|
+
`, isInline: true, styles: [".k-form formly-field-kendo-radio .k-label{display:inherit}\n"], dependencies: [{ kind: "directive", 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]" }, { kind: "directive", type: i1.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "directive", type: i3.RadioButtonDirective, selector: "input[kendoRadioButton]", inputs: ["size"] }, { kind: "directive", type: i4.LegacyFormlyAttributes, selector: "[formlyAttributes]" }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.LegacyFormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyFieldRadio, decorators: [{
|
|
41
41
|
type: Component,
|
|
42
42
|
args: [{ selector: 'formly-field-kendo-radio', template: `
|
|
43
|
-
|
|
43
|
+
@for (option of props.options | formlySelectOptions: field | async; track option; let i = $index) {
|
|
44
44
|
<input
|
|
45
45
|
type="radio"
|
|
46
46
|
#radioInput
|
|
@@ -54,8 +54,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
54
54
|
<label class="k-radio-label" [for]="id + '_' + i">
|
|
55
55
|
{{ option.label }}
|
|
56
56
|
</label>
|
|
57
|
-
|
|
58
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".k-form formly-field-kendo-radio .k-label{display:inherit}\n"] }]
|
|
57
|
+
}
|
|
58
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: false, styles: [".k-form formly-field-kendo-radio .k-label{display:inherit}\n"] }]
|
|
59
59
|
}] });
|
|
60
60
|
|
|
61
61
|
function withFormlyFieldRadio() {
|
|
@@ -71,14 +71,14 @@ function withFormlyFieldRadio() {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
class FormlyRadioModule {
|
|
74
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
75
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
74
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
75
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: FormlyRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
|
|
76
76
|
ReactiveFormsModule,
|
|
77
77
|
LabelModule,
|
|
78
78
|
InputsModule,
|
|
79
79
|
FormlyFormFieldModule,
|
|
80
|
-
FormlySelectModule,
|
|
81
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
80
|
+
FormlySelectModule, i4.FormlyModule] }); }
|
|
81
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyRadioModule, imports: [CommonModule,
|
|
82
82
|
ReactiveFormsModule,
|
|
83
83
|
LabelModule,
|
|
84
84
|
InputsModule,
|
|
@@ -86,7 +86,7 @@ class FormlyRadioModule {
|
|
|
86
86
|
FormlySelectModule,
|
|
87
87
|
FormlyModule.forChild(withFormlyFieldRadio())] }); }
|
|
88
88
|
}
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyRadioModule, decorators: [{
|
|
90
90
|
type: NgModule,
|
|
91
91
|
args: [{
|
|
92
92
|
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.config.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 { UntypedFormControl } from '@angular/forms';\nimport { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FieldType } from '@ngx-formly/kendo/form-field';\nimport { FormlyFieldProps } from '@ngx-formly/kendo/form-field';\n\ntype RadioProps = 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
|
|
1
|
+
{"version":3,"file":"ngx-formly-kendo-radio.mjs","sources":["../../../../src/ui/kendo/radio/src/radio.type.ts","../../../../src/ui/kendo/radio/src/radio.config.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 { UntypedFormControl } from '@angular/forms';\nimport { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FieldType } from '@ngx-formly/kendo/form-field';\nimport { FormlyFieldProps } from '@ngx-formly/kendo/form-field';\n\ntype RadioProps = 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 @for (option of props.options | formlySelectOptions: field | async; track option; 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]=\"option.disabled ? disabledControl : formControl\"\n [formlyAttributes]=\"field\"\n />\n <label class=\"k-radio-label\" [for]=\"id + '_' + i\">\n {{ option.label }}\n </label>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./radio.type.scss'],\n standalone: false,\n})\nexport class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {\n get disabledControl() {\n return new UntypedFormControl({ value: this.formControl.value, disabled: true });\n }\n}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldRadio } from './radio.type';\n\nexport function withFormlyFieldRadio(): ConfigOption {\n return {\n types: [\n {\n name: 'radio',\n component: FormlyFieldRadio,\n wrappers: ['form-field'],\n },\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 { 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';\nimport { withFormlyFieldRadio } from './radio.config';\n\n@NgModule({\n declarations: [FormlyFieldRadio],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n LabelModule,\n InputsModule,\n FormlyFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild(withFormlyFieldRadio()),\n ],\n})\nexport class FormlyRadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;AAoCM,MAAO,gBAAiB,SAAQ,SAAsC,CAAA;AAC1E,IAAA,IAAI,eAAe,GAAA;AACjB,QAAA,OAAO,IAAI,kBAAkB,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAClF;+GAHW,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;A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A,EAAA,CAAA,CAAA;AAIT,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAV1B,YAAY;YACZ,mBAAmB;YAEnB,WAAW;YACX,YAAY;YACZ,qBAAqB;YACrB,kBAAkB;AAClB,YAAA,YAAY,CAAC,QAAQ,CAAC,oBAAoB,EAAE,CAAC,CAAA,EAAA,CAAA,CAAA;;4FAGpC,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAb7B,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;AAClB,wBAAA,YAAY,CAAC,QAAQ,CAAC,oBAAoB,EAAE,CAAC;AAC9C,qBAAA;AACF,iBAAA;;;ACvBD;;AAEG;;;;"}
|
|
@@ -13,37 +13,80 @@ import * as i5 from '@ngx-formly/core/select';
|
|
|
13
13
|
import { FormlySelectModule as FormlySelectModule$1 } from '@ngx-formly/core/select';
|
|
14
14
|
|
|
15
15
|
class FormlyFieldSelect extends FieldType {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.itemDisabled = ({ dataItem }) => !!dataItem.disabled;
|
|
19
|
+
}
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
21
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: FormlyFieldSelect, isStandalone: false, selector: "formly-field-kendo-select", usesInheritance: true, ngImport: i0, template: `
|
|
22
|
+
@if (props.multiple) {
|
|
23
|
+
<kendo-multiselect
|
|
24
|
+
[focusableId]="id"
|
|
25
|
+
[id]="id + '-container'"
|
|
26
|
+
[formControl]="formControl"
|
|
27
|
+
[formlyAttributes]="field"
|
|
28
|
+
[data]="props.options | formlySelectOptions: field | async"
|
|
29
|
+
[placeholder]="props.placeholder"
|
|
30
|
+
textField="label"
|
|
31
|
+
valueField="value"
|
|
32
|
+
[valuePrimitive]="props.primitive ?? true"
|
|
33
|
+
[itemDisabled]="itemDisabled"
|
|
34
|
+
(valueChange)="props.change && props.change(field, $event)"
|
|
35
|
+
/>
|
|
36
|
+
} @else {
|
|
37
|
+
<kendo-dropdownlist
|
|
38
|
+
[id]="id"
|
|
39
|
+
[formControl]="formControl"
|
|
40
|
+
[formlyAttributes]="field"
|
|
41
|
+
[data]="props.options | formlySelectOptions: field | async"
|
|
42
|
+
[textField]="'label'"
|
|
43
|
+
[valueField]="'value'"
|
|
44
|
+
[valuePrimitive]="props.primitive ?? true"
|
|
45
|
+
[defaultItem]="props.placeholder ? { label: props.placeholder, value: null } : undefined"
|
|
46
|
+
[itemDisabled]="itemDisabled"
|
|
47
|
+
(valueChange)="props.change && props.change(field, $event)"
|
|
48
|
+
>
|
|
49
|
+
</kendo-dropdownlist>
|
|
50
|
+
}
|
|
51
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "component", type: i2.MultiSelectComponent, selector: "kendo-multiselect", inputs: ["showStickyHeader", "focusableId", "autoClose", "loading", "data", "value", "valueField", "textField", "tabindex", "tabIndex", "size", "rounded", "fillMode", "placeholder", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "disabled", "itemDisabled", "checkboxes", "readonly", "filterable", "virtual", "popupSettings", "listHeight", "valuePrimitive", "clearButton", "tagMapper", "allowCustom", "valueNormalizer", "inputAttributes"], outputs: ["filterChange", "valueChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "removeTag"], exportAs: ["kendoMultiSelect"] }, { kind: "directive", type: i3.LegacyFormlyAttributes, selector: "[formlyAttributes]" }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.LegacyFormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
29
52
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyFieldSelect, decorators: [{
|
|
31
54
|
type: Component,
|
|
32
55
|
args: [{
|
|
33
56
|
selector: 'formly-field-kendo-select',
|
|
34
57
|
template: `
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
58
|
+
@if (props.multiple) {
|
|
59
|
+
<kendo-multiselect
|
|
60
|
+
[focusableId]="id"
|
|
61
|
+
[id]="id + '-container'"
|
|
62
|
+
[formControl]="formControl"
|
|
63
|
+
[formlyAttributes]="field"
|
|
64
|
+
[data]="props.options | formlySelectOptions: field | async"
|
|
65
|
+
[placeholder]="props.placeholder"
|
|
66
|
+
textField="label"
|
|
67
|
+
valueField="value"
|
|
68
|
+
[valuePrimitive]="props.primitive ?? true"
|
|
69
|
+
[itemDisabled]="itemDisabled"
|
|
70
|
+
(valueChange)="props.change && props.change(field, $event)"
|
|
71
|
+
/>
|
|
72
|
+
} @else {
|
|
73
|
+
<kendo-dropdownlist
|
|
74
|
+
[id]="id"
|
|
75
|
+
[formControl]="formControl"
|
|
76
|
+
[formlyAttributes]="field"
|
|
77
|
+
[data]="props.options | formlySelectOptions: field | async"
|
|
78
|
+
[textField]="'label'"
|
|
79
|
+
[valueField]="'value'"
|
|
80
|
+
[valuePrimitive]="props.primitive ?? true"
|
|
81
|
+
[defaultItem]="props.placeholder ? { label: props.placeholder, value: null } : undefined"
|
|
82
|
+
[itemDisabled]="itemDisabled"
|
|
83
|
+
(valueChange)="props.change && props.change(field, $event)"
|
|
84
|
+
>
|
|
85
|
+
</kendo-dropdownlist>
|
|
86
|
+
}
|
|
45
87
|
`,
|
|
46
88
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
89
|
+
standalone: false,
|
|
47
90
|
}]
|
|
48
91
|
}] });
|
|
49
92
|
|
|
@@ -61,20 +104,20 @@ function withFormlyFieldSelect() {
|
|
|
61
104
|
}
|
|
62
105
|
|
|
63
106
|
class FormlySelectModule {
|
|
64
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
65
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
107
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlySelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
108
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: FormlySelectModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
|
|
66
109
|
ReactiveFormsModule,
|
|
67
110
|
DropDownsModule,
|
|
68
111
|
FormlyFormFieldModule,
|
|
69
112
|
FormlySelectModule$1, i3.FormlyModule] }); }
|
|
70
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
113
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlySelectModule, imports: [CommonModule,
|
|
71
114
|
ReactiveFormsModule,
|
|
72
115
|
DropDownsModule,
|
|
73
116
|
FormlyFormFieldModule,
|
|
74
117
|
FormlySelectModule$1,
|
|
75
118
|
FormlyModule.forChild(withFormlyFieldSelect())] }); }
|
|
76
119
|
}
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlySelectModule, decorators: [{
|
|
78
121
|
type: NgModule,
|
|
79
122
|
args: [{
|
|
80
123
|
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.config.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 primitive?: boolean;\n}\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-
|
|
1
|
+
{"version":3,"file":"ngx-formly-kendo-select.mjs","sources":["../../../../src/ui/kendo/select/src/select.type.ts","../../../../src/ui/kendo/select/src/select.config.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 primitive?: boolean;\n multiple?: boolean;\n}\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 @if (props.multiple) {\n <kendo-multiselect\n [focusableId]=\"id\"\n [id]=\"id + '-container'\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [data]=\"props.options | formlySelectOptions: field | async\"\n [placeholder]=\"props.placeholder\"\n textField=\"label\"\n valueField=\"value\"\n [valuePrimitive]=\"props.primitive ?? true\"\n [itemDisabled]=\"itemDisabled\"\n (valueChange)=\"props.change && props.change(field, $event)\"\n />\n } @else {\n <kendo-dropdownlist\n [id]=\"id\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [data]=\"props.options | formlySelectOptions: field | async\"\n [textField]=\"'label'\"\n [valueField]=\"'value'\"\n [valuePrimitive]=\"props.primitive ?? true\"\n [defaultItem]=\"props.placeholder ? { label: props.placeholder, value: null } : undefined\"\n [itemDisabled]=\"itemDisabled\"\n (valueChange)=\"props.change && props.change(field, $event)\"\n >\n </kendo-dropdownlist>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {\n itemDisabled = ({ dataItem }: { dataItem: { disabled?: boolean } }) => !!dataItem.disabled;\n}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldSelect } from './select.type';\n\nexport function withFormlyFieldSelect(): ConfigOption {\n return {\n types: [\n {\n name: 'select',\n component: FormlyFieldSelect,\n wrappers: ['form-field'],\n },\n { name: 'enum', extends: 'select' },\n ],\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { DropDownsModule } from '@progress/kendo-angular-dropdowns';\nimport { FormlySelectModule as FormlyCoreSelectModule } from '@ngx-formly/core/select';\n\nimport { FormlyFormFieldModule } from '@ngx-formly/kendo/form-field';\nimport { FormlyFieldSelect } from './select.type';\nimport { withFormlyFieldSelect } from './select.config';\n\n@NgModule({\n declarations: [FormlyFieldSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n DropDownsModule,\n\n FormlyFormFieldModule,\n FormlyCoreSelectModule,\n FormlyModule.forChild(withFormlyFieldSelect()),\n ],\n})\nexport class FormlySelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["FormlyCoreSelectModule","i1"],"mappings":";;;;;;;;;;;;;;AAkDM,MAAO,iBAAkB,SAAQ,SAAuC,CAAA;AApC9E,IAAA,WAAA,GAAA;;AAqCE,QAAA,IAAA,CAAA,YAAY,GAAG,CAAC,EAAE,QAAQ,EAAwC,KAAK,CAAC,CAAC,QAAQ,CAAC,QAAQ;AAC3F,IAAA;+GAFY,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA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AA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,eAAe;wBAEf,qBAAqB;wBACrBA,oBAAsB;AACtB,wBAAA,YAAY,CAAC,QAAQ,CAAC,qBAAqB,EAAE,CAAC;AAC/C,qBAAA;AACF,iBAAA;;;ACtBD;;AAEG;;;;"}
|
|
@@ -10,15 +10,16 @@ import { FormlyModule } from '@ngx-formly/core';
|
|
|
10
10
|
import { CommonModule } from '@angular/common';
|
|
11
11
|
|
|
12
12
|
class FormlyFieldTextArea extends FieldType {
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: FormlyFieldTextArea, isStandalone: false, selector: "formly-field-kendo-textarea", usesInheritance: true, ngImport: i0, template: ` <textarea kendoTextArea [formControl]="formControl" [formlyAttributes]="field"></textarea> `, isInline: true, dependencies: [{ kind: "directive", type: i1.TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: ["autoSize", "value"], outputs: ["valueChange"] }, { kind: "directive", 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]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{
|
|
19
19
|
selector: 'formly-field-kendo-textarea',
|
|
20
20
|
template: ` <textarea kendoTextArea [formControl]="formControl" [formlyAttributes]="field"></textarea> `,
|
|
21
21
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
22
|
+
standalone: false,
|
|
22
23
|
}]
|
|
23
24
|
}] });
|
|
24
25
|
|
|
@@ -35,18 +36,18 @@ function withFormlyFieldTextArea() {
|
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
class FormlyTextAreaModule {
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
39
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
40
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: FormlyTextAreaModule, declarations: [FormlyFieldTextArea], imports: [CommonModule,
|
|
40
41
|
InputsModule,
|
|
41
42
|
ReactiveFormsModule,
|
|
42
43
|
FormlyFormFieldModule, i3.FormlyModule] }); }
|
|
43
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
44
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyTextAreaModule, imports: [CommonModule,
|
|
44
45
|
InputsModule,
|
|
45
46
|
ReactiveFormsModule,
|
|
46
47
|
FormlyFormFieldModule,
|
|
47
48
|
FormlyModule.forChild(withFormlyFieldTextArea())] }); }
|
|
48
49
|
}
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyTextAreaModule, decorators: [{
|
|
50
51
|
type: NgModule,
|
|
51
52
|
args: [{
|
|
52
53
|
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.config.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 { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldTextArea } from './textarea.type';\n\nexport function withFormlyFieldTextArea(): ConfigOption {\n return {\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextArea,\n wrappers: ['form-field'],\n },\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 { InputsModule } from '@progress/kendo-angular-inputs';\nimport { FormlyFieldTextArea } from './textarea.type';\nimport { withFormlyFieldTextArea } from './textarea.config';\n\n@NgModule({\n declarations: [FormlyFieldTextArea],\n imports: [\n CommonModule,\n InputsModule,\n ReactiveFormsModule,\n\n FormlyFormFieldModule,\n FormlyModule.forChild(withFormlyFieldTextArea()),\n ],\n})\nexport class FormlyTextAreaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ngx-formly-kendo-textarea.mjs","sources":["../../../../src/ui/kendo/textarea/src/textarea.type.ts","../../../../src/ui/kendo/textarea/src/textarea.config.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 standalone: false,\n})\nexport class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldTextArea } from './textarea.type';\n\nexport function withFormlyFieldTextArea(): ConfigOption {\n return {\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextArea,\n wrappers: ['form-field'],\n },\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 { InputsModule } from '@progress/kendo-angular-inputs';\nimport { FormlyFieldTextArea } from './textarea.type';\nimport { withFormlyFieldTextArea } from './textarea.config';\n\n@NgModule({\n declarations: [FormlyFieldTextArea],\n imports: [\n CommonModule,\n InputsModule,\n ReactiveFormsModule,\n\n FormlyFormFieldModule,\n FormlyModule.forChild(withFormlyFieldTextArea()),\n ],\n})\nexport class FormlyTextAreaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAgBM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;+GAArE,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,+GAJpB,CAAA,4FAAA,CAA8F,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,OAAA,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,8MAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAA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A;AAIZ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAR7B,YAAY;YACZ,YAAY;YACZ,mBAAmB;YAEnB,qBAAqB;AACrB,YAAA,YAAY,CAAC,QAAQ,CAAC,uBAAuB,EAAE,CAAC,CAAA,EAAA,CAAA,CAAA;;4FAGvC,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAXhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBACZ,mBAAmB;wBAEnB,qBAAqB;AACrB,wBAAA,YAAY,CAAC,QAAQ,CAAC,uBAAuB,EAAE,CAAC;AACjD,qBAAA;AACF,iBAAA;;;ACnBD;;AAEG;;;;"}
|
|
@@ -19,21 +19,21 @@ function withFormlyKendo() {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
class FormlyKendoModule {
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyKendoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
23
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: FormlyKendoModule, imports: [FormlyFormFieldModule,
|
|
24
24
|
FormlyInputModule,
|
|
25
25
|
FormlyTextAreaModule,
|
|
26
26
|
FormlyRadioModule,
|
|
27
27
|
FormlyCheckboxModule,
|
|
28
28
|
FormlySelectModule] }); }
|
|
29
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
29
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyKendoModule, imports: [FormlyFormFieldModule,
|
|
30
30
|
FormlyInputModule,
|
|
31
31
|
FormlyTextAreaModule,
|
|
32
32
|
FormlyRadioModule,
|
|
33
33
|
FormlyCheckboxModule,
|
|
34
34
|
FormlySelectModule] }); }
|
|
35
35
|
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyKendoModule, decorators: [{
|
|
37
37
|
type: NgModule,
|
|
38
38
|
args: [{
|
|
39
39
|
imports: [
|
package/form-field/index.d.ts
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i6 from '@ngx-formly/core';
|
|
2
|
+
import { ConfigOption, FormlyFieldProps as FormlyFieldProps$1, FieldWrapper, FormlyFieldConfig, FieldType as FieldType$1 } from '@ngx-formly/core';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { OnInit } from '@angular/core';
|
|
5
|
+
import * as i4 from '@progress/kendo-angular-inputs';
|
|
6
|
+
import { Orientation, FormFieldComponent } from '@progress/kendo-angular-inputs';
|
|
7
|
+
import * as i2 from '@angular/common';
|
|
8
|
+
import * as i3 from '@angular/forms';
|
|
9
|
+
import * as i5 from '@progress/kendo-angular-label';
|
|
10
|
+
|
|
11
|
+
declare function withFormlyFormField(): ConfigOption;
|
|
12
|
+
|
|
13
|
+
interface FormlyFieldProps extends FormlyFieldProps$1 {
|
|
14
|
+
hideRequiredMarker?: boolean;
|
|
15
|
+
hideLabel?: boolean;
|
|
16
|
+
orientation?: Orientation;
|
|
17
|
+
}
|
|
18
|
+
declare class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> implements OnInit {
|
|
19
|
+
formfield: FormFieldComponent;
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormField, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-kendo-form-field", never, {}, {}, never, never, false, never>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare class FormlyFormFieldModule {
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFormFieldModule, never>;
|
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyFormFieldModule, [typeof FormlyWrapperFormField], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormFieldModule, typeof i5.LabelModule, typeof i6.FormlyModule], never>;
|
|
28
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyFormFieldModule>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare abstract class FieldType<F extends FormlyFieldConfig = FormlyFieldConfig> extends FieldType$1<F> {
|
|
32
|
+
private set formControls(value);
|
|
33
|
+
private get formField();
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldType<any>, never>;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FieldType<any>, never, never, {}, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { FieldType, FormlyFormFieldModule, withFormlyFormField };
|
|
39
|
+
export type { FormlyFieldProps };
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _ngx_formly_core from '@ngx-formly/core';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import * as i1 from '@ngx-formly/kendo/form-field';
|
|
4
|
+
import * as i2 from '@ngx-formly/kendo/input';
|
|
5
|
+
import * as i3 from '@ngx-formly/kendo/textarea';
|
|
6
|
+
import * as i4 from '@ngx-formly/kendo/radio';
|
|
7
|
+
import * as i5 from '@ngx-formly/kendo/checkbox';
|
|
8
|
+
import * as i6 from '@ngx-formly/kendo/select';
|
|
9
|
+
|
|
10
|
+
declare function withFormlyKendo(): _ngx_formly_core.ConfigOption[];
|
|
11
|
+
|
|
12
|
+
declare class FormlyKendoModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyKendoModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyKendoModule, never, [typeof i1.FormlyFormFieldModule, typeof i2.FormlyInputModule, typeof i3.FormlyTextAreaModule, typeof i4.FormlyRadioModule, typeof i5.FormlyCheckboxModule, typeof i6.FormlySelectModule], never>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyKendoModule>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { FormlyKendoModule, withFormlyKendo };
|
package/input/index.d.ts
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i6 from '@ngx-formly/core';
|
|
2
|
+
import { ConfigOption, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { Type } from '@angular/core';
|
|
5
|
+
import * as i4 from '@ngx-formly/kendo/form-field';
|
|
6
|
+
import { FieldType, FormlyFieldProps } from '@ngx-formly/kendo/form-field';
|
|
7
|
+
import * as i2 from '@angular/common';
|
|
8
|
+
import * as i3 from '@angular/forms';
|
|
9
|
+
import * as i5 from '@progress/kendo-angular-inputs';
|
|
10
|
+
|
|
11
|
+
declare function withFormlyFieldInput(): ConfigOption;
|
|
12
|
+
|
|
13
|
+
interface InputProps extends FormlyFieldProps {
|
|
14
|
+
}
|
|
15
|
+
interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {
|
|
16
|
+
type: 'input' | Type<FormlyFieldInput>;
|
|
17
|
+
}
|
|
18
|
+
declare class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-kendo-input", never, {}, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare class FormlyInputModule {
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyInputModule, never>;
|
|
25
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyInputModule, [typeof FormlyFieldInput], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyFormFieldModule, typeof i5.InputsModule, typeof i6.FormlyModule], never>;
|
|
26
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyInputModule>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { FormlyFieldInput, FormlyInputModule, withFormlyFieldInput };
|
|
30
|
+
export type { FormlyInputFieldConfig };
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngx-formly/kendo",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"tslib": "^2.0.0"
|
|
7
7
|
},
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"@ngx-formly/core": "
|
|
10
|
-
"@progress/kendo-angular-label": ">=
|
|
11
|
-
"@progress/kendo-angular-dropdowns": ">=
|
|
12
|
-
"@progress/kendo-angular-inputs": ">=
|
|
9
|
+
"@ngx-formly/core": "9.0.0",
|
|
10
|
+
"@progress/kendo-angular-label": ">=19.1.0",
|
|
11
|
+
"@progress/kendo-angular-dropdowns": ">=19.1.0",
|
|
12
|
+
"@progress/kendo-angular-inputs": ">=19.1.0"
|
|
13
13
|
},
|
|
14
14
|
"module": "fesm2022/ngx-formly-kendo.mjs",
|
|
15
15
|
"typings": "index.d.ts",
|
|
@@ -19,44 +19,30 @@
|
|
|
19
19
|
},
|
|
20
20
|
".": {
|
|
21
21
|
"types": "./index.d.ts",
|
|
22
|
-
"esm2022": "./esm2022/ngx-formly-kendo.mjs",
|
|
23
|
-
"esm": "./esm2022/ngx-formly-kendo.mjs",
|
|
24
22
|
"default": "./fesm2022/ngx-formly-kendo.mjs"
|
|
25
23
|
},
|
|
26
24
|
"./checkbox": {
|
|
27
25
|
"types": "./checkbox/index.d.ts",
|
|
28
|
-
"esm2022": "./esm2022/checkbox/ngx-formly-kendo-checkbox.mjs",
|
|
29
|
-
"esm": "./esm2022/checkbox/ngx-formly-kendo-checkbox.mjs",
|
|
30
26
|
"default": "./fesm2022/ngx-formly-kendo-checkbox.mjs"
|
|
31
27
|
},
|
|
32
28
|
"./form-field": {
|
|
33
29
|
"types": "./form-field/index.d.ts",
|
|
34
|
-
"esm2022": "./esm2022/form-field/ngx-formly-kendo-form-field.mjs",
|
|
35
|
-
"esm": "./esm2022/form-field/ngx-formly-kendo-form-field.mjs",
|
|
36
30
|
"default": "./fesm2022/ngx-formly-kendo-form-field.mjs"
|
|
37
31
|
},
|
|
38
32
|
"./input": {
|
|
39
33
|
"types": "./input/index.d.ts",
|
|
40
|
-
"esm2022": "./esm2022/input/ngx-formly-kendo-input.mjs",
|
|
41
|
-
"esm": "./esm2022/input/ngx-formly-kendo-input.mjs",
|
|
42
34
|
"default": "./fesm2022/ngx-formly-kendo-input.mjs"
|
|
43
35
|
},
|
|
44
36
|
"./radio": {
|
|
45
37
|
"types": "./radio/index.d.ts",
|
|
46
|
-
"esm2022": "./esm2022/radio/ngx-formly-kendo-radio.mjs",
|
|
47
|
-
"esm": "./esm2022/radio/ngx-formly-kendo-radio.mjs",
|
|
48
38
|
"default": "./fesm2022/ngx-formly-kendo-radio.mjs"
|
|
49
39
|
},
|
|
50
40
|
"./select": {
|
|
51
41
|
"types": "./select/index.d.ts",
|
|
52
|
-
"esm2022": "./esm2022/select/ngx-formly-kendo-select.mjs",
|
|
53
|
-
"esm": "./esm2022/select/ngx-formly-kendo-select.mjs",
|
|
54
42
|
"default": "./fesm2022/ngx-formly-kendo-select.mjs"
|
|
55
43
|
},
|
|
56
44
|
"./textarea": {
|
|
57
45
|
"types": "./textarea/index.d.ts",
|
|
58
|
-
"esm2022": "./esm2022/textarea/ngx-formly-kendo-textarea.mjs",
|
|
59
|
-
"esm": "./esm2022/textarea/ngx-formly-kendo-textarea.mjs",
|
|
60
46
|
"default": "./fesm2022/ngx-formly-kendo-textarea.mjs"
|
|
61
47
|
}
|
|
62
48
|
},
|