@ngx-formly/kendo 8.0.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.
Files changed (48) hide show
  1. package/README.md +26 -19
  2. package/checkbox/index.d.ts +36 -5
  3. package/fesm2022/ngx-formly-kendo-checkbox.mjs +7 -7
  4. package/fesm2022/ngx-formly-kendo-form-field.mjs +11 -11
  5. package/fesm2022/ngx-formly-kendo-form-field.mjs.map +1 -1
  6. package/fesm2022/ngx-formly-kendo-input.mjs +21 -9
  7. package/fesm2022/ngx-formly-kendo-input.mjs.map +1 -1
  8. package/fesm2022/ngx-formly-kendo-radio.mjs +7 -7
  9. package/fesm2022/ngx-formly-kendo-select.mjs +70 -28
  10. package/fesm2022/ngx-formly-kendo-select.mjs.map +1 -1
  11. package/fesm2022/ngx-formly-kendo-textarea.mjs +7 -7
  12. package/fesm2022/ngx-formly-kendo.mjs +4 -4
  13. package/form-field/index.d.ts +39 -5
  14. package/index.d.ts +18 -5
  15. package/input/index.d.ts +30 -5
  16. package/package.json +5 -5
  17. package/radio/index.d.ts +33 -5
  18. package/select/index.d.ts +39 -5
  19. package/textarea/index.d.ts +30 -5
  20. package/checkbox/checkbox.config.d.ts +0 -2
  21. package/checkbox/checkbox.module.d.ts +0 -13
  22. package/checkbox/checkbox.type.d.ts +0 -19
  23. package/checkbox/public_api.d.ts +0 -3
  24. package/form-field/field.type.d.ts +0 -8
  25. package/form-field/form-field.config.d.ts +0 -2
  26. package/form-field/form-field.module.d.ts +0 -12
  27. package/form-field/form-field.wrapper.d.ts +0 -15
  28. package/form-field/public_api.d.ts +0 -4
  29. package/input/input.config.d.ts +0 -2
  30. package/input/input.module.d.ts +0 -12
  31. package/input/input.type.d.ts +0 -14
  32. package/input/public_api.d.ts +0 -3
  33. package/lib/ui-kendo.config.d.ts +0 -1
  34. package/lib/ui-kendo.d.ts +0 -2
  35. package/lib/ui-kendo.module.d.ts +0 -12
  36. package/public_api.d.ts +0 -1
  37. package/radio/public_api.d.ts +0 -3
  38. package/radio/radio.config.d.ts +0 -2
  39. package/radio/radio.module.d.ts +0 -14
  40. package/radio/radio.type.d.ts +0 -16
  41. package/select/public_api.d.ts +0 -3
  42. package/select/select.config.d.ts +0 -2
  43. package/select/select.module.d.ts +0 -13
  44. package/select/select.type.d.ts +0 -16
  45. package/textarea/public_api.d.ts +0 -3
  46. package/textarea/textarea.config.d.ts +0 -2
  47. package/textarea/textarea.module.d.ts +0 -12
  48. package/textarea/textarea.type.d.ts +0 -14
@@ -10,10 +10,10 @@ 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: "19.2.25", ngImport: i0, type: FormlyFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", 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 }); }
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: "19.2.25", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
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',
@@ -36,18 +36,18 @@ function withFormlyFieldTextArea() {
36
36
  }
37
37
 
38
38
  class FormlyTextAreaModule {
39
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
40
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: FormlyTextAreaModule, declarations: [FormlyFieldTextArea], imports: [CommonModule,
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,
41
41
  InputsModule,
42
42
  ReactiveFormsModule,
43
43
  FormlyFormFieldModule, i3.FormlyModule] }); }
44
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyTextAreaModule, imports: [CommonModule,
44
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyTextAreaModule, imports: [CommonModule,
45
45
  InputsModule,
46
46
  ReactiveFormsModule,
47
47
  FormlyFormFieldModule,
48
48
  FormlyModule.forChild(withFormlyFieldTextArea())] }); }
49
49
  }
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyTextAreaModule, decorators: [{
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyTextAreaModule, decorators: [{
51
51
  type: NgModule,
52
52
  args: [{
53
53
  declarations: [FormlyFieldTextArea],
@@ -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: "19.2.25", ngImport: i0, type: FormlyKendoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
23
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: FormlyKendoModule, imports: [FormlyFormFieldModule,
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: "19.2.25", ngImport: i0, type: FormlyKendoModule, imports: [FormlyFormFieldModule,
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: "19.2.25", ngImport: i0, type: FormlyKendoModule, decorators: [{
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: [
@@ -1,5 +1,39 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/kendo/form-field" />
5
- export * from './public_api';
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
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/kendo" />
5
- export * from './public_api';
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
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/kendo/input" />
5
- export * from './public_api';
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": "8.0.0",
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": "8.0.0",
10
- "@progress/kendo-angular-label": ">=4.0.0",
11
- "@progress/kendo-angular-dropdowns": ">=7.0.2",
12
- "@progress/kendo-angular-inputs": ">=9.0.3"
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",
package/radio/index.d.ts CHANGED
@@ -1,5 +1,33 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/kendo/radio" />
5
- export * from './public_api';
1
+ import * as i8 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 i3 from '@angular/forms';
6
+ import { UntypedFormControl } from '@angular/forms';
7
+ import * as i6 from '@ngx-formly/kendo/form-field';
8
+ import { FieldType, FormlyFieldProps } from '@ngx-formly/kendo/form-field';
9
+ import * as i2 from '@angular/common';
10
+ import * as i4 from '@progress/kendo-angular-label';
11
+ import * as i5 from '@progress/kendo-angular-inputs';
12
+ import * as i7 from '@ngx-formly/core/select';
13
+
14
+ declare function withFormlyFieldRadio(): ConfigOption;
15
+
16
+ type RadioProps = FormlyFieldProps;
17
+ interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
18
+ type: 'radio' | Type<FormlyFieldRadio>;
19
+ }
20
+ declare class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {
21
+ get disabledControl(): UntypedFormControl;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-kendo-radio", never, {}, {}, never, never, false, never>;
24
+ }
25
+
26
+ declare class FormlyRadioModule {
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyRadioModule, never>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyRadioModule, [typeof FormlyFieldRadio], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.LabelModule, typeof i5.InputsModule, typeof i6.FormlyFormFieldModule, typeof i7.FormlySelectModule, typeof i8.FormlyModule], never>;
29
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyRadioModule>;
30
+ }
31
+
32
+ export { FormlyFieldRadio, FormlyRadioModule, withFormlyFieldRadio };
33
+ export type { FormlyRadioFieldConfig };
package/select/index.d.ts CHANGED
@@ -1,5 +1,39 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/kendo/select" />
5
- export * from './public_api';
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 i5 from '@ngx-formly/kendo/form-field';
6
+ import { FieldType, FormlyFieldProps } from '@ngx-formly/kendo/form-field';
7
+ import * as i6 from '@ngx-formly/core/select';
8
+ import { FormlyFieldSelectProps } from '@ngx-formly/core/select';
9
+ import * as i2 from '@angular/common';
10
+ import * as i3 from '@angular/forms';
11
+ import * as i4 from '@progress/kendo-angular-dropdowns';
12
+
13
+ declare function withFormlyFieldSelect(): ConfigOption;
14
+
15
+ interface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {
16
+ primitive?: boolean;
17
+ multiple?: boolean;
18
+ }
19
+ interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {
20
+ type: 'select' | Type<FormlyFieldSelect>;
21
+ }
22
+ declare class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {
23
+ itemDisabled: ({ dataItem }: {
24
+ dataItem: {
25
+ disabled?: boolean;
26
+ };
27
+ }) => boolean;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-kendo-select", never, {}, {}, never, never, false, never>;
30
+ }
31
+
32
+ declare class FormlySelectModule {
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlySelectModule, never>;
34
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlySelectModule, [typeof FormlyFieldSelect], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.DropDownsModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlySelectModule, typeof i7.FormlyModule], never>;
35
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlySelectModule>;
36
+ }
37
+
38
+ export { FormlyFieldSelect, FormlySelectModule, withFormlyFieldSelect };
39
+ export type { FormlySelectFieldConfig };
@@ -1,5 +1,30 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/kendo/textarea" />
5
- export * from './public_api';
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 i5 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 '@progress/kendo-angular-inputs';
9
+ import * as i4 from '@angular/forms';
10
+
11
+ declare function withFormlyFieldTextArea(): ConfigOption;
12
+
13
+ interface TextAreaProps extends FormlyFieldProps {
14
+ }
15
+ interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {
16
+ type: 'textarea' | Type<FormlyFieldTextArea>;
17
+ }
18
+ declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextArea, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextArea, "formly-field-kendo-textarea", never, {}, {}, never, never, false, never>;
21
+ }
22
+
23
+ declare class FormlyTextAreaModule {
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyTextAreaModule, never>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyTextAreaModule, [typeof FormlyFieldTextArea], [typeof i2.CommonModule, typeof i3.InputsModule, typeof i4.ReactiveFormsModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlyModule], never>;
26
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyTextAreaModule>;
27
+ }
28
+
29
+ export { FormlyFieldTextArea, FormlyTextAreaModule, withFormlyFieldTextArea };
30
+ export type { FormlyTextAreaFieldConfig };
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldCheckbox(): ConfigOption;
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./checkbox.type";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@progress/kendo-angular-inputs";
6
- import * as i5 from "@progress/kendo-angular-label";
7
- import * as i6 from "@ngx-formly/kendo/form-field";
8
- import * as i7 from "@ngx-formly/core";
9
- export declare class FormlyCheckboxModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyCheckboxModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyCheckboxModule, [typeof i1.FormlyFieldCheckbox], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.InputsModule, typeof i5.LabelModule, typeof i6.FormlyFormFieldModule, typeof i7.FormlyModule], never>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyCheckboxModule>;
13
- }
@@ -1,19 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FieldType, FormlyFieldProps } from '@ngx-formly/kendo/form-field';
4
- import * as i0 from "@angular/core";
5
- interface CheckboxProps extends FormlyFieldProps {
6
- }
7
- export interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {
8
- type: 'checkbox' | Type<FormlyFieldCheckbox>;
9
- }
10
- export declare class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {
11
- defaultOptions: {
12
- props: {
13
- hideLabel: boolean;
14
- };
15
- };
16
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldCheckbox, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldCheckbox, "formly-field-kendo-checkbox", never, {}, {}, never, never, false, never>;
18
- }
19
- export {};
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldCheckbox } from './checkbox.config';
2
- export { FormlyCheckboxModule } from './checkbox.module';
3
- export { FormlyFieldCheckbox, FormlyCheckboxFieldConfig } from './checkbox.type';
@@ -1,8 +0,0 @@
1
- import { FormlyFieldConfig, FieldType as CoreFieldType } from '@ngx-formly/core';
2
- import * as i0 from "@angular/core";
3
- export declare abstract class FieldType<F extends FormlyFieldConfig = FormlyFieldConfig> extends CoreFieldType<F> {
4
- private set formControls(value);
5
- private get formField();
6
- static ɵfac: i0.ɵɵFactoryDeclaration<FieldType<any>, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<FieldType<any>, never, never, {}, {}, never, never, true, never>;
8
- }
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFormField(): ConfigOption;
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./form-field.wrapper";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@progress/kendo-angular-inputs";
6
- import * as i5 from "@progress/kendo-angular-label";
7
- import * as i6 from "@ngx-formly/core";
8
- export declare class FormlyFormFieldModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFormFieldModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyFormFieldModule, [typeof i1.FormlyWrapperFormField], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormFieldModule, typeof i5.LabelModule, typeof i6.FormlyModule], never>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyFormFieldModule>;
12
- }
@@ -1,15 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormFieldComponent, Orientation } from '@progress/kendo-angular-inputs';
3
- import { FieldWrapper, FormlyFieldConfig, FormlyFieldProps as CoreFormlyFieldProps } from '@ngx-formly/core';
4
- import * as i0 from "@angular/core";
5
- export interface FormlyFieldProps extends CoreFormlyFieldProps {
6
- hideRequiredMarker?: boolean;
7
- hideLabel?: boolean;
8
- orientation?: Orientation;
9
- }
10
- export declare class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> implements OnInit {
11
- formfield: FormFieldComponent;
12
- ngOnInit(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormField, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-kendo-form-field", never, {}, {}, never, never, false, never>;
15
- }
@@ -1,4 +0,0 @@
1
- export { withFormlyFormField } from './form-field.config';
2
- export { FormlyFormFieldModule } from './form-field.module';
3
- export { FieldType } from './field.type';
4
- export { FormlyFieldProps } from './form-field.wrapper';
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldInput(): ConfigOption;
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input.type";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@ngx-formly/kendo/form-field";
6
- import * as i5 from "@progress/kendo-angular-inputs";
7
- import * as i6 from "@ngx-formly/core";
8
- export declare class FormlyInputModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyInputModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyInputModule, [typeof i1.FormlyFieldInput], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyFormFieldModule, typeof i5.InputsModule, typeof i6.FormlyModule], never>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyInputModule>;
12
- }
@@ -1,14 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FieldType, FormlyFieldProps } from '@ngx-formly/kendo/form-field';
4
- import * as i0 from "@angular/core";
5
- interface InputProps extends FormlyFieldProps {
6
- }
7
- export interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {
8
- type: 'input' | Type<FormlyFieldInput>;
9
- }
10
- export declare class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-kendo-input", never, {}, {}, never, never, false, never>;
13
- }
14
- export {};
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldInput } from './input.config';
2
- export { FormlyInputModule } from './input.module';
3
- export { FormlyFieldInput, FormlyInputFieldConfig } from './input.type';
@@ -1 +0,0 @@
1
- export declare function withFormlyKendo(): import("@ngx-formly/core").ConfigOption[];
package/lib/ui-kendo.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export { withFormlyKendo } from './ui-kendo.config';
2
- export { FormlyKendoModule } from './ui-kendo.module';
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@ngx-formly/kendo/form-field";
3
- import * as i2 from "@ngx-formly/kendo/input";
4
- import * as i3 from "@ngx-formly/kendo/textarea";
5
- import * as i4 from "@ngx-formly/kendo/radio";
6
- import * as i5 from "@ngx-formly/kendo/checkbox";
7
- import * as i6 from "@ngx-formly/kendo/select";
8
- export declare class FormlyKendoModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyKendoModule, never>;
10
- 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>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyKendoModule>;
12
- }
package/public_api.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './lib/ui-kendo';
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldRadio } from './radio.config';
2
- export { FormlyRadioModule } from './radio.module';
3
- export { FormlyFieldRadio, FormlyRadioFieldConfig } from './radio.type';
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldRadio(): ConfigOption;
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./radio.type";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@progress/kendo-angular-label";
6
- import * as i5 from "@progress/kendo-angular-inputs";
7
- import * as i6 from "@ngx-formly/kendo/form-field";
8
- import * as i7 from "@ngx-formly/core/select";
9
- import * as i8 from "@ngx-formly/core";
10
- export declare class FormlyRadioModule {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyRadioModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyRadioModule, [typeof i1.FormlyFieldRadio], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.LabelModule, typeof i5.InputsModule, typeof i6.FormlyFormFieldModule, typeof i7.FormlySelectModule, typeof i8.FormlyModule], never>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyRadioModule>;
14
- }
@@ -1,16 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { UntypedFormControl } from '@angular/forms';
3
- import { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
4
- import { FieldType } from '@ngx-formly/kendo/form-field';
5
- import { FormlyFieldProps } from '@ngx-formly/kendo/form-field';
6
- import * as i0 from "@angular/core";
7
- type RadioProps = FormlyFieldProps;
8
- export interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
9
- type: 'radio' | Type<FormlyFieldRadio>;
10
- }
11
- export declare class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {
12
- get disabledControl(): UntypedFormControl;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-kendo-radio", never, {}, {}, never, never, false, never>;
15
- }
16
- export {};
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldSelect } from './select.config';
2
- export { FormlySelectModule } from './select.module';
3
- export { FormlyFieldSelect, FormlySelectFieldConfig } from './select.type';
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldSelect(): ConfigOption;
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./select.type";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@progress/kendo-angular-dropdowns";
6
- import * as i5 from "@ngx-formly/kendo/form-field";
7
- import * as i6 from "@ngx-formly/core/select";
8
- import * as i7 from "@ngx-formly/core";
9
- export declare class FormlySelectModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlySelectModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlySelectModule, [typeof i1.FormlyFieldSelect], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.DropDownsModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlySelectModule, typeof i7.FormlyModule], never>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlySelectModule>;
13
- }
@@ -1,16 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FieldType, FormlyFieldProps } from '@ngx-formly/kendo/form-field';
4
- import { FormlyFieldSelectProps } from '@ngx-formly/core/select';
5
- import * as i0 from "@angular/core";
6
- interface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {
7
- primitive?: boolean;
8
- }
9
- export interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {
10
- type: 'select' | Type<FormlyFieldSelect>;
11
- }
12
- export declare class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {
13
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-kendo-select", never, {}, {}, never, never, false, never>;
15
- }
16
- export {};
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldTextArea } from './textarea.config';
2
- export { FormlyTextAreaModule } from './textarea.module';
3
- export { FormlyFieldTextArea, FormlyTextAreaFieldConfig } from './textarea.type';
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldTextArea(): ConfigOption;
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./textarea.type";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@progress/kendo-angular-inputs";
5
- import * as i4 from "@angular/forms";
6
- import * as i5 from "@ngx-formly/kendo/form-field";
7
- import * as i6 from "@ngx-formly/core";
8
- export declare class FormlyTextAreaModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyTextAreaModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyTextAreaModule, [typeof i1.FormlyFieldTextArea], [typeof i2.CommonModule, typeof i3.InputsModule, typeof i4.ReactiveFormsModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlyModule], never>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyTextAreaModule>;
12
- }
@@ -1,14 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FieldType, FormlyFieldProps } from '@ngx-formly/kendo/form-field';
4
- import * as i0 from "@angular/core";
5
- interface TextAreaProps extends FormlyFieldProps {
6
- }
7
- export interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {
8
- type: 'textarea' | Type<FormlyFieldTextArea>;
9
- }
10
- export declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextArea, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextArea, "formly-field-kendo-textarea", never, {}, {}, never, never, false, never>;
13
- }
14
- export {};