@ngx-formly/kendo 10.0.0 → 11.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 +88 -177
- package/fesm2022/ngx-formly-kendo-checkbox.mjs +189 -82
- package/fesm2022/ngx-formly-kendo-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-kendo-form-field.mjs +244 -104
- package/fesm2022/ngx-formly-kendo-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-kendo-input.mjs +210 -86
- package/fesm2022/ngx-formly-kendo-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-kendo-radio.mjs +204 -77
- package/fesm2022/ngx-formly-kendo-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-kendo-select.mjs +272 -78
- package/fesm2022/ngx-formly-kendo-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-kendo-textarea.mjs +156 -66
- package/fesm2022/ngx-formly-kendo-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-kendo.mjs +79 -56
- package/fesm2022/ngx-formly-kendo.mjs.map +1 -1
- package/package.json +5 -5
- package/types/ngx-formly-kendo-checkbox.d.ts +26 -32
- package/types/ngx-formly-kendo-form-field.d.ts +28 -34
- package/types/ngx-formly-kendo-input.d.ts +21 -27
- package/types/ngx-formly-kendo-radio.d.ts +24 -29
- package/types/ngx-formly-kendo-select.d.ts +29 -34
- package/types/ngx-formly-kendo-textarea.d.ts +21 -27
- package/types/ngx-formly-kendo.d.ts +14 -18
|
@@ -1,69 +1,159 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { ChangeDetectionStrategy, Component, NgModule } from
|
|
3
|
-
import { FieldType, FormlyFormFieldModule } from
|
|
4
|
-
import * as i1 from
|
|
5
|
-
import { InputsModule } from
|
|
6
|
-
import * as i2 from
|
|
7
|
-
import { ReactiveFormsModule } from
|
|
8
|
-
import * as i3 from
|
|
9
|
-
import { FormlyModule } from
|
|
10
|
-
import { CommonModule } from
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, NgModule } from "@angular/core";
|
|
3
|
+
import { FieldType, FormlyFormFieldModule } from "@ngx-formly/kendo/form-field";
|
|
4
|
+
import * as i1 from "@progress/kendo-angular-inputs";
|
|
5
|
+
import { InputsModule } from "@progress/kendo-angular-inputs";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
|
+
import { ReactiveFormsModule } from "@angular/forms";
|
|
8
|
+
import * as i3 from "@ngx-formly/core";
|
|
9
|
+
import { FormlyModule } from "@ngx-formly/core";
|
|
10
|
+
import { CommonModule } from "@angular/common";
|
|
11
|
+
var FormlyFieldTextArea = class FormlyFieldTextArea extends FieldType {
|
|
12
|
+
static {
|
|
13
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
14
|
+
minVersion: "12.0.0",
|
|
15
|
+
version: "22.2.2",
|
|
16
|
+
ngImport: i0,
|
|
17
|
+
type: FormlyFieldTextArea,
|
|
18
|
+
deps: null,
|
|
19
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
static {
|
|
23
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
24
|
+
minVersion: "14.0.0",
|
|
25
|
+
version: "22.2.2",
|
|
26
|
+
type: FormlyFieldTextArea,
|
|
27
|
+
isStandalone: false,
|
|
28
|
+
selector: "formly-field-kendo-textarea",
|
|
29
|
+
usesInheritance: true,
|
|
30
|
+
ngImport: i0,
|
|
31
|
+
template: ` <textarea kendoTextArea [formControl]="formControl" [formlyAttributes]="field"></textarea> `,
|
|
32
|
+
isInline: true,
|
|
33
|
+
dependencies: [
|
|
34
|
+
{
|
|
35
|
+
kind: "directive",
|
|
36
|
+
type: i1.TextAreaDirective,
|
|
37
|
+
selector: "textarea[kendoTextArea]",
|
|
38
|
+
inputs: ["autoSize", "value"],
|
|
39
|
+
outputs: ["valueChange"]
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
kind: "directive",
|
|
43
|
+
type: i2.DefaultValueAccessor,
|
|
44
|
+
selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
kind: "directive",
|
|
48
|
+
type: i2.NgControlStatus,
|
|
49
|
+
selector: "[formControlName],[ngModel],[formControl]"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
kind: "directive",
|
|
53
|
+
type: i2.FormControlDirective,
|
|
54
|
+
selector: "[formControl]",
|
|
55
|
+
inputs: [
|
|
56
|
+
"formControl",
|
|
57
|
+
"disabled",
|
|
58
|
+
"ngModel"
|
|
59
|
+
],
|
|
60
|
+
outputs: ["ngModelChange"],
|
|
61
|
+
exportAs: ["ngForm"]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
kind: "directive",
|
|
65
|
+
type: i3.LegacyFormlyAttributes,
|
|
66
|
+
selector: "[formlyAttributes]"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
74
|
+
minVersion: "12.0.0",
|
|
75
|
+
version: "22.2.2",
|
|
76
|
+
ngImport: i0,
|
|
77
|
+
type: FormlyFieldTextArea,
|
|
78
|
+
decorators: [{
|
|
79
|
+
type: Component,
|
|
80
|
+
args: [{
|
|
81
|
+
selector: "formly-field-kendo-textarea",
|
|
82
|
+
template: ` <textarea kendoTextArea [formControl]="formControl" [formlyAttributes]="field"></textarea> `,
|
|
83
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
84
|
+
standalone: false
|
|
85
|
+
}]
|
|
86
|
+
}]
|
|
87
|
+
});
|
|
26
88
|
function withFormlyFieldTextArea() {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
wrappers: ['form-field'],
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
class FormlyTextAreaModule {
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
40
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: FormlyTextAreaModule, declarations: [FormlyFieldTextArea], imports: [CommonModule,
|
|
41
|
-
InputsModule,
|
|
42
|
-
ReactiveFormsModule,
|
|
43
|
-
FormlyFormFieldModule, i3.FormlyModule] }); }
|
|
44
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyTextAreaModule, imports: [CommonModule,
|
|
45
|
-
InputsModule,
|
|
46
|
-
ReactiveFormsModule,
|
|
47
|
-
FormlyFormFieldModule,
|
|
48
|
-
FormlyModule.forChild(withFormlyFieldTextArea())] }); }
|
|
89
|
+
return { types: [{
|
|
90
|
+
name: "textarea",
|
|
91
|
+
component: FormlyFieldTextArea,
|
|
92
|
+
wrappers: ["form-field"]
|
|
93
|
+
}] };
|
|
49
94
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
95
|
+
var FormlyTextAreaModule = class FormlyTextAreaModule {
|
|
96
|
+
static {
|
|
97
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
98
|
+
minVersion: "12.0.0",
|
|
99
|
+
version: "22.2.2",
|
|
100
|
+
ngImport: i0,
|
|
101
|
+
type: FormlyTextAreaModule,
|
|
102
|
+
deps: [],
|
|
103
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
static {
|
|
107
|
+
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
108
|
+
minVersion: "14.0.0",
|
|
109
|
+
version: "22.2.2",
|
|
110
|
+
ngImport: i0,
|
|
111
|
+
type: FormlyTextAreaModule,
|
|
112
|
+
declarations: [FormlyFieldTextArea],
|
|
113
|
+
imports: [
|
|
114
|
+
CommonModule,
|
|
115
|
+
InputsModule,
|
|
116
|
+
ReactiveFormsModule,
|
|
117
|
+
FormlyFormFieldModule,
|
|
118
|
+
i3.FormlyModule
|
|
119
|
+
]
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
static {
|
|
123
|
+
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
124
|
+
minVersion: "12.0.0",
|
|
125
|
+
version: "22.2.2",
|
|
126
|
+
ngImport: i0,
|
|
127
|
+
type: FormlyTextAreaModule,
|
|
128
|
+
imports: [
|
|
129
|
+
CommonModule,
|
|
130
|
+
InputsModule,
|
|
131
|
+
ReactiveFormsModule,
|
|
132
|
+
FormlyFormFieldModule,
|
|
133
|
+
FormlyModule.forChild(withFormlyFieldTextArea())
|
|
134
|
+
]
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
139
|
+
minVersion: "12.0.0",
|
|
140
|
+
version: "22.2.2",
|
|
141
|
+
ngImport: i0,
|
|
142
|
+
type: FormlyTextAreaModule,
|
|
143
|
+
decorators: [{
|
|
144
|
+
type: NgModule,
|
|
145
|
+
args: [{
|
|
146
|
+
declarations: [FormlyFieldTextArea],
|
|
147
|
+
imports: [
|
|
148
|
+
CommonModule,
|
|
149
|
+
InputsModule,
|
|
150
|
+
ReactiveFormsModule,
|
|
151
|
+
FormlyFormFieldModule,
|
|
152
|
+
FormlyModule.forChild(withFormlyFieldTextArea())
|
|
153
|
+
]
|
|
154
|
+
}]
|
|
155
|
+
}]
|
|
156
|
+
});
|
|
68
157
|
export { FormlyFieldTextArea, FormlyTextAreaModule, withFormlyFieldTextArea };
|
|
69
|
-
|
|
158
|
+
|
|
159
|
+
//# sourceMappingURL=ngx-formly-kendo-textarea.mjs.map
|
|
@@ -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"
|
|
1
|
+
{"version":3,"file":"ngx-formly-kendo-textarea.mjs","names":[],"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"],"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"],"mappings":";;;;;;;;;;AAgBA,IAAa,sBAAb,MAAa,4BAA4B,UAAyC;CAArE;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAmB,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAnB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAmB,cAAA;GAAA,UAAA;GAAA,iBAAA;GAAA,UAAA;GAAA,UAJpB;GAA8F,UAAA;GAAA,cAAA;IAAA;KAAA,MAAA;KAAA,MAAA,GAAA;KAAA,UAAA;KAAA,QAAA,CAAA,YAAA,OAAA;KAAA,SAAA,CAAA,aAAA;IAAA;IAAA;KAAA,MAAA;KAAA,MAAA,GAAA;KAAA,UAAA;IAAA;IAAA;KAAA,MAAA;KAAA,MAAA,GAAA;KAAA,UAAA;IAAA;IAAA;KAAA,MAAA;KAAA,MAAA,GAAA;KAAA,UAAA;KAAA,QAAA;MAAA;MAAA;MAAA;KAAA;KAAA,SAAA,CAAA,eAAA;KAAA,UAAA,CAAA,QAAA;IAAA;IAAA;KAAA,MAAA;KAAA,MAAA,GAAA;KAAA,UAAA;IAAA;GAAA;GAAA,iBAAA,GAAA,wBAAA;EAAA,CAAA;CAAA;;AAI7F,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAmB,YAAA,CAAA;EAN/B,MAAA;EAAU,MAAA,CAAA;GACT,UAAU;GACV,UAAU;GACV,iBAAiB,wBAAwB;GACzC,YAAY;EACb,CAAA;;;ACZD,SAAgB,0BAAuB;CACrC,OAAO,EACL,OAAO,CACL;EACE,MAAM;EACN,WAAW;EACX,UAAU,CAAC,YAAY;CACxB,CACF,EACF;AACH;ACOA,IAAa,uBAAb,MAAa,qBAAoB;CAApB;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAoB,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAApB;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAoB,cAAA,CAVhB,mBAAmB;GAAA,SAAA;IAEhC;IACA;IACA;IAEA;IAAqB,GAAA;GAAA;EAAA,CAAA;CAAA;CAIZ;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAoB,SAAA;IAR7B;IACA;IACA;IAEA;IACA,aAAa,SAAS,wBAAuB,CAAE;GAAC;EAAA,CAAA;CAAA;;AAGvC,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAoB,YAAA,CAAA;EAXhC,MAAA;EAAS,MAAA,CAAA;GACR,cAAc,CAAC,mBAAmB;GAClC,SAAS;IACP;IACA;IACA;IAEA;IACA,aAAa,SAAS,wBAAuB,CAAE;GAChD;EACF,CAAA"}
|
|
@@ -1,59 +1,82 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import * as i0 from
|
|
8
|
-
import { NgModule } from
|
|
9
|
-
|
|
1
|
+
import { FormlyFormFieldModule, withFormlyFormField } from "@ngx-formly/kendo/form-field";
|
|
2
|
+
import { FormlyInputModule, withFormlyFieldInput } from "@ngx-formly/kendo/input";
|
|
3
|
+
import { FormlyTextAreaModule, withFormlyFieldTextArea } from "@ngx-formly/kendo/textarea";
|
|
4
|
+
import { FormlyRadioModule, withFormlyFieldRadio } from "@ngx-formly/kendo/radio";
|
|
5
|
+
import { FormlyCheckboxModule, withFormlyFieldCheckbox } from "@ngx-formly/kendo/checkbox";
|
|
6
|
+
import { FormlySelectModule, withFormlyFieldSelect } from "@ngx-formly/kendo/select";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import { NgModule } from "@angular/core";
|
|
10
9
|
function withFormlyKendo() {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
class FormlyKendoModule {
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyKendoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
23
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: FormlyKendoModule, imports: [FormlyFormFieldModule,
|
|
24
|
-
FormlyInputModule,
|
|
25
|
-
FormlyTextAreaModule,
|
|
26
|
-
FormlyRadioModule,
|
|
27
|
-
FormlyCheckboxModule,
|
|
28
|
-
FormlySelectModule] }); }
|
|
29
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyKendoModule, imports: [FormlyFormFieldModule,
|
|
30
|
-
FormlyInputModule,
|
|
31
|
-
FormlyTextAreaModule,
|
|
32
|
-
FormlyRadioModule,
|
|
33
|
-
FormlyCheckboxModule,
|
|
34
|
-
FormlySelectModule] }); }
|
|
10
|
+
return [
|
|
11
|
+
withFormlyFormField(),
|
|
12
|
+
withFormlyFieldInput(),
|
|
13
|
+
withFormlyFieldTextArea(),
|
|
14
|
+
withFormlyFieldRadio(),
|
|
15
|
+
withFormlyFieldCheckbox(),
|
|
16
|
+
withFormlyFieldSelect()
|
|
17
|
+
];
|
|
35
18
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
19
|
+
var FormlyKendoModule = class FormlyKendoModule {
|
|
20
|
+
static {
|
|
21
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
22
|
+
minVersion: "12.0.0",
|
|
23
|
+
version: "22.2.2",
|
|
24
|
+
ngImport: i0,
|
|
25
|
+
type: FormlyKendoModule,
|
|
26
|
+
deps: [],
|
|
27
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
static {
|
|
31
|
+
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
32
|
+
minVersion: "14.0.0",
|
|
33
|
+
version: "22.2.2",
|
|
34
|
+
ngImport: i0,
|
|
35
|
+
type: FormlyKendoModule,
|
|
36
|
+
imports: [
|
|
37
|
+
FormlyFormFieldModule,
|
|
38
|
+
FormlyInputModule,
|
|
39
|
+
FormlyTextAreaModule,
|
|
40
|
+
FormlyRadioModule,
|
|
41
|
+
FormlyCheckboxModule,
|
|
42
|
+
FormlySelectModule
|
|
43
|
+
]
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
static {
|
|
47
|
+
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
48
|
+
minVersion: "12.0.0",
|
|
49
|
+
version: "22.2.2",
|
|
50
|
+
ngImport: i0,
|
|
51
|
+
type: FormlyKendoModule,
|
|
52
|
+
imports: [
|
|
53
|
+
FormlyFormFieldModule,
|
|
54
|
+
FormlyInputModule,
|
|
55
|
+
FormlyTextAreaModule,
|
|
56
|
+
FormlyRadioModule,
|
|
57
|
+
FormlyCheckboxModule,
|
|
58
|
+
FormlySelectModule
|
|
59
|
+
]
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
64
|
+
minVersion: "12.0.0",
|
|
65
|
+
version: "22.2.2",
|
|
66
|
+
ngImport: i0,
|
|
67
|
+
type: FormlyKendoModule,
|
|
68
|
+
decorators: [{
|
|
69
|
+
type: NgModule,
|
|
70
|
+
args: [{ imports: [
|
|
71
|
+
FormlyFormFieldModule,
|
|
72
|
+
FormlyInputModule,
|
|
73
|
+
FormlyTextAreaModule,
|
|
74
|
+
FormlyRadioModule,
|
|
75
|
+
FormlyCheckboxModule,
|
|
76
|
+
FormlySelectModule
|
|
77
|
+
] }]
|
|
78
|
+
}]
|
|
79
|
+
});
|
|
58
80
|
export { FormlyKendoModule, withFormlyKendo };
|
|
59
|
-
|
|
81
|
+
|
|
82
|
+
//# sourceMappingURL=ngx-formly-kendo.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-kendo.mjs","sources":["../../../../src/ui/kendo/src/lib/ui-kendo.config.ts","../../../../src/ui/kendo/src/lib/ui-kendo.module.ts"
|
|
1
|
+
{"version":3,"file":"ngx-formly-kendo.mjs","names":[],"sources":["../../../../src/ui/kendo/src/lib/ui-kendo.config.ts","../../../../src/ui/kendo/src/lib/ui-kendo.module.ts"],"sourcesContent":["import { ConfigOption } from '@ngx-formly/core';\nimport { withFormlyFormField } from '@ngx-formly/kendo/form-field';\nimport { withFormlyFieldInput } from '@ngx-formly/kendo/input';\nimport { withFormlyFieldTextArea } from '@ngx-formly/kendo/textarea';\nimport { withFormlyFieldRadio } from '@ngx-formly/kendo/radio';\nimport { withFormlyFieldCheckbox } from '@ngx-formly/kendo/checkbox';\nimport { withFormlyFieldSelect } from '@ngx-formly/kendo/select';\n\nexport function withFormlyKendo(): ConfigOption[] {\n return [\n withFormlyFormField(),\n withFormlyFieldInput(),\n withFormlyFieldTextArea(),\n withFormlyFieldRadio(),\n withFormlyFieldCheckbox(),\n withFormlyFieldSelect(),\n ];\n}\n","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"],"mappings":";;;;;;;;AAQA,SAAgB,kBAAe;CAC7B,OAAO;EACL,oBAAmB;EACnB,qBAAoB;EACpB,wBAAuB;EACvB,qBAAoB;EACpB,wBAAuB;EACvB,sBAAqB;CACtB;AACH;ACCA,IAAa,oBAAb,MAAa,kBAAiB;CAAjB;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAiB,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAjB;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAiB,SAAA;IAR1B;IACA;IACA;IACA;IACA;IACA;GAAkB;EAAA,CAAA;CAAA;CAGT;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAiB,SAAA;IAR1B;IACA;IACA;IACA;IACA;IACA;GAAkB;EAAA,CAAA;CAAA;;AAGT,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAiB,YAAA,CAAA;EAV7B,MAAA;EAAS,MAAA,CAAA,EACR,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;EACD,EACF,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngx-formly/kendo",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.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": "11.0.0",
|
|
10
|
+
"@progress/kendo-angular-label": ">=25.3.0",
|
|
11
|
+
"@progress/kendo-angular-dropdowns": ">=25.3.0",
|
|
12
|
+
"@progress/kendo-angular-inputs": ">=25.3.0"
|
|
13
13
|
},
|
|
14
14
|
"module": "fesm2022/ngx-formly-kendo.mjs",
|
|
15
15
|
"typings": "types/ngx-formly-kendo.d.ts",
|
|
@@ -1,36 +1,30 @@
|
|
|
1
|
-
import * as i7 from
|
|
2
|
-
import { ConfigOption,
|
|
3
|
-
import * as i0 from
|
|
4
|
-
import { Type } from
|
|
5
|
-
import * as i6 from
|
|
6
|
-
import {
|
|
7
|
-
import * as i2 from
|
|
8
|
-
import * as i3 from
|
|
9
|
-
import * as i4 from
|
|
10
|
-
import * as i5 from
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import * as i7 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 i6 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 i4 from "@progress/kendo-angular-inputs";
|
|
10
|
+
import * as i5 from "@progress/kendo-angular-label";
|
|
11
|
+
export declare function withFormlyFieldCheckbox(): ConfigOption;
|
|
12
|
+
interface CheckboxProps extends FormlyFieldProps {}
|
|
13
|
+
export interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {
|
|
14
|
+
type: 'checkbox' | Type<FormlyFieldCheckbox>;
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
defaultOptions: {
|
|
21
|
-
props: {
|
|
22
|
-
hideLabel: boolean;
|
|
23
|
-
};
|
|
16
|
+
export declare class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {
|
|
17
|
+
defaultOptions: {
|
|
18
|
+
props: {
|
|
19
|
+
hideLabel: boolean;
|
|
24
20
|
};
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
};
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldCheckbox, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldCheckbox, "formly-field-kendo-checkbox", never, {}, {}, never, never, false, never>;
|
|
27
24
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyCheckboxModule>;
|
|
25
|
+
export declare class FormlyCheckboxModule {
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyCheckboxModule, never>;
|
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyCheckboxModule, [typeof FormlyFieldCheckbox], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.InputsModule, typeof i5.LabelModule, typeof i6.FormlyFormFieldModule, typeof i7.FormlyModule], never>;
|
|
28
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyCheckboxModule>;
|
|
33
29
|
}
|
|
34
|
-
|
|
35
|
-
export { FormlyCheckboxModule, FormlyFieldCheckbox, withFormlyFieldCheckbox };
|
|
36
|
-
export type { FormlyCheckboxFieldConfig };
|
|
30
|
+
export {};
|
|
@@ -1,39 +1,33 @@
|
|
|
1
|
-
import * as i6 from
|
|
2
|
-
import { ConfigOption,
|
|
3
|
-
import * as i0 from
|
|
4
|
-
import { OnInit } from
|
|
5
|
-
import * as i4 from
|
|
6
|
-
import {
|
|
7
|
-
import * as i2 from
|
|
8
|
-
import * as i3 from
|
|
9
|
-
import * as i5 from
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
hideLabel?: boolean;
|
|
16
|
-
orientation?: Orientation;
|
|
1
|
+
import * as i6 from "@ngx-formly/core";
|
|
2
|
+
import { ConfigOption, FieldType as FieldType$1, FieldWrapper, FormlyFieldConfig, FormlyFieldProps as FormlyFieldProps$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 { FormFieldComponent, Orientation } 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
|
+
export declare function withFormlyFormField(): ConfigOption;
|
|
11
|
+
export interface FormlyFieldProps extends FormlyFieldProps$1 {
|
|
12
|
+
hideRequiredMarker?: boolean;
|
|
13
|
+
hideLabel?: boolean;
|
|
14
|
+
orientation?: Orientation;
|
|
17
15
|
}
|
|
18
16
|
declare class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> implements OnInit {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
formfield: FormFieldComponent;
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormField, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-kendo-form-field", never, {}, {}, never, never, false, never>;
|
|
23
21
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyFormFieldModule>;
|
|
22
|
+
export declare class FormlyFormFieldModule {
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFormFieldModule, never>;
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyFormFieldModule, [typeof FormlyWrapperFormField], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormFieldModule, typeof i5.LabelModule, typeof i6.FormlyModule], never>;
|
|
25
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyFormFieldModule>;
|
|
29
26
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FieldType<any>, never, never, {}, {}, never, never, true, never>;
|
|
27
|
+
export declare abstract class FieldType<F extends FormlyFieldConfig = FormlyFieldConfig> extends FieldType$1<F> {
|
|
28
|
+
private set formControls(value);
|
|
29
|
+
private get formField();
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldType<any>, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FieldType<any>, never, never, {}, {}, never, never, true, never>;
|
|
36
32
|
}
|
|
37
|
-
|
|
38
|
-
export { FieldType, FormlyFormFieldModule, withFormlyFormField };
|
|
39
|
-
export type { FormlyFieldProps };
|
|
33
|
+
export {};
|
|
@@ -1,30 +1,24 @@
|
|
|
1
|
-
import * as i6 from
|
|
2
|
-
import { ConfigOption, FieldTypeConfig, FormlyFieldConfig } from
|
|
3
|
-
import * as i0 from
|
|
4
|
-
import { Type } from
|
|
5
|
-
import * as i4 from
|
|
6
|
-
import { FieldType, FormlyFieldProps } from
|
|
7
|
-
import * as i2 from
|
|
8
|
-
import * as i3 from
|
|
9
|
-
import * as i5 from
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
+
export declare function withFormlyFieldInput(): ConfigOption;
|
|
11
|
+
interface InputProps extends FormlyFieldProps {}
|
|
12
|
+
export interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {
|
|
13
|
+
type: 'input' | Type<FormlyFieldInput>;
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
export declare class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-kendo-input", never, {}, {}, never, never, false, never>;
|
|
17
18
|
}
|
|
18
|
-
declare class
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
export declare class FormlyInputModule {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyInputModule, never>;
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyInputModule, [typeof FormlyFieldInput], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyFormFieldModule, typeof i5.InputsModule, typeof i6.FormlyModule], never>;
|
|
22
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyInputModule>;
|
|
21
23
|
}
|
|
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 };
|
|
24
|
+
export {};
|