@ngx-formly/nativescript 9.0.0 → 10.0.1

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 CHANGED
@@ -25,14 +25,23 @@ Formly is a dynamic (JSON powered) form library for Angular that brings unmatche
25
25
  - ⚡️ Supports multiple schemas:
26
26
  - Formly Schema (core)
27
27
  - JSON Schema
28
+ - JSON Schema string defaults are configurable. See [schema defaults](docs/json-schema.md#defaults).
28
29
  - 😍 A bunch of themes, out of the box!
29
30
  - 💪 Built on top of [Angular Reactive Forms](https://angular.dev/guide/forms/reactive-forms)
31
+ - Nullable JSON Schema numbers preserve `null` when cleared. See [JSON Schema](docs/json-schema.md#nullable-numbers).
32
+ - Forms emit their initial validation status after building, including valid forms. See [form notifications](docs/properties-options.md#initial-validation-status).
33
+ - Subscribe to controls after fields load with the `fieldChange` output. See [form build notifications](docs/properties-options.md#accessing-controls-after-a-build).
30
34
  - 📹 [@eggheadio course](https://egghead.io/playlists/configuration-based-reactive-angular-forms-with-ngx-formly-465f) - 20 lessons & 78 minutes
31
35
 
32
36
  ## Docs
33
37
 
38
+ Try the live configuration-to-form example on [formly.dev](https://formly.dev), then explore the guides and UI demos.
39
+ Use the search button or Cmd/Ctrl+K to search guide and migration text, plus UI and example page names.
40
+
34
41
  - [Get Started](https://formly.dev/guide)
42
+ - [CSP-safe expressions and optional chaining](docs/expression-properties.md#4-expression-evaluation)
35
43
  - [Themes](https://formly.dev/ui)
44
+ - [Ionic select interface options](docs/properties-options.md#ionic-select-interfaces)
36
45
  - [Examples](https://formly.dev/examples)
37
46
 
38
47
  ## Resources
@@ -57,6 +66,7 @@ Formly is a dynamic (JSON powered) form library for Angular that brings unmatche
57
66
 
58
67
  | Angular version | Formly version | Migration |
59
68
  | --------------- | -------------------- | ---------------------------------- |
69
+ | Angular >= 21 | `@ngx-formly/core@10.x` | [Upgrade to v10](UPGRADE-10.0.md) |
60
70
  | Angular >= 20 | `@ngx-formly/core@9.x` | [Upgrade to v9](UPGRADE-9.0.md) |
61
71
  | Angular >= 19 | `@ngx-formly/core@8.x` | [Upgrade to v8](UPGRADE-8.0.md) |
62
72
  | Angular >= 18 | `@ngx-formly/core@7.x` | [Upgrade to v7](UPGRADE-7.0.md) |
@@ -67,6 +77,16 @@ Formly is a dynamic (JSON powered) form library for Angular that brings unmatche
67
77
  | Angular >= 4 | `@ngx-formly/core@2.x` | [Upgrade to v2](UPGRADE-2.0.md) |
68
78
  | Angular >= 2 | `ng-formly@1.x` | |
69
79
 
80
+ #### Upgrading to v10
81
+
82
+ Formly v10 requires Angular 21 or newer. Upgrade Angular first, then update all
83
+ `@ngx-formly/*` packages used by your application together to v10.
84
+ The Material, PrimeNG, and NG-ZORRO integrations require version 21 or newer of
85
+ their respective UI libraries. Kendo requires version 21.4.1 or newer, and NativeScript
86
+ requires `@nativescript/angular` 21 or newer. Applications staying on Angular 20 should use Formly v9.
87
+
88
+ See the [v10 upgrade guide](UPGRADE-10.0.md) for migration steps.
89
+
70
90
  #### Upgrading to v9
71
91
 
72
92
  Formly v9 requires Angular 20 or newer. Upgrade Angular first, then update all
@@ -18,15 +18,15 @@ class FormlyFieldCheckbox extends FieldType {
18
18
  },
19
19
  };
20
20
  }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
22
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: FormlyFieldCheckbox, isStandalone: false, selector: "formly-field-ns-checkbox", usesInheritance: true, ngImport: i0, template: `
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
22
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: FormlyFieldCheckbox, isStandalone: false, selector: "formly-field-ns-checkbox", usesInheritance: true, ngImport: i0, template: `
23
23
  <GridLayout class="input-field input-sides" rows="auto, auto" columns="*,*">
24
24
  <Label class="label" [text]="props.label"></Label>
25
25
  <Switch class="switch input" [formlyAttributes]="field" [formControl]="formControl" col="1"></Switch>
26
26
  </GridLayout>
27
27
  `, 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: "directive", type: i2.CheckedValueAccessor, selector: "Switch[ngModel],Switch[formControlName],Switch[formControl],switch[ngModel],switch[formControlName],switch[formControl]" }, { kind: "directive", type: i3.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
30
30
  type: Component,
31
31
  args: [{
32
32
  selector: 'formly-field-ns-checkbox',
@@ -58,18 +58,18 @@ function withFormlyFieldCheckbox() {
58
58
  }
59
59
 
60
60
  class FormlyNsCheckboxFieldModule {
61
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsCheckboxFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
62
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsCheckboxFieldModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
61
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsCheckboxFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
62
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsCheckboxFieldModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
63
63
  ReactiveFormsModule,
64
64
  NativeScriptFormsModule,
65
65
  FormlyNsFormFieldModule, i3.FormlyModule] }); }
66
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsCheckboxFieldModule, imports: [CommonModule,
66
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsCheckboxFieldModule, imports: [CommonModule,
67
67
  ReactiveFormsModule,
68
68
  NativeScriptFormsModule,
69
69
  FormlyNsFormFieldModule,
70
70
  FormlyModule.forChild(withFormlyFieldCheckbox())] }); }
71
71
  }
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsCheckboxFieldModule, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsCheckboxFieldModule, decorators: [{
73
73
  type: NgModule,
74
74
  args: [{
75
75
  declarations: [FormlyFieldCheckbox],
@@ -7,8 +7,8 @@ import { ReactiveFormsModule } from '@angular/forms';
7
7
  import { NativeScriptFormsModule } from '@nativescript/angular';
8
8
 
9
9
  class FormlyWrapperFormField extends FieldWrapper {
10
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
11
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: FormlyWrapperFormField, isStandalone: false, selector: "formly-wrapper-ns-form-field", usesInheritance: true, ngImport: i0, template: `
10
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
11
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: FormlyWrapperFormField, isStandalone: false, selector: "formly-wrapper-ns-form-field", usesInheritance: true, ngImport: i0, template: `
12
12
  <StackLayout class="form">
13
13
  <StackLayout class="input-field">
14
14
  @if (props.label && props.hideLabel !== true) {
@@ -24,7 +24,7 @@ class FormlyWrapperFormField extends FieldWrapper {
24
24
  </StackLayout>
25
25
  `, isInline: true, dependencies: [{ kind: "component", type: i1.LegacyFormlyValidationMessage, selector: "formly-validation-message" }] }); }
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
28
28
  type: Component,
29
29
  args: [{
30
30
  selector: 'formly-wrapper-ns-form-field',
@@ -59,11 +59,11 @@ function withFormlyFormField() {
59
59
  }
60
60
 
61
61
  class FormlyNsFormFieldModule {
62
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
63
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsFormFieldModule, declarations: [FormlyWrapperFormField], imports: [CommonModule, ReactiveFormsModule, NativeScriptFormsModule, i1.FormlyModule] }); }
64
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsFormFieldModule, imports: [CommonModule, ReactiveFormsModule, NativeScriptFormsModule, FormlyModule.forChild(withFormlyFormField())] }); }
62
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
63
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsFormFieldModule, declarations: [FormlyWrapperFormField], imports: [CommonModule, ReactiveFormsModule, NativeScriptFormsModule, i1.FormlyModule] }); }
64
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsFormFieldModule, imports: [CommonModule, ReactiveFormsModule, NativeScriptFormsModule, FormlyModule.forChild(withFormlyFormField())] }); }
65
65
  }
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsFormFieldModule, decorators: [{
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsFormFieldModule, decorators: [{
67
67
  type: NgModule,
68
68
  args: [{
69
69
  declarations: [FormlyWrapperFormField],
@@ -18,8 +18,8 @@ class FormlyFieldRadio extends FieldType {
18
18
  this.formControl.markAsTouched();
19
19
  }, 100);
20
20
  }
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-ns-radio", usesInheritance: true, ngImport: i0, template: `
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
22
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: FormlyFieldRadio, isStandalone: false, selector: "formly-field-ns-radio", usesInheritance: true, ngImport: i0, template: `
23
23
  @for (option of props.options | formlySelectOptions: field | async; track option) {
24
24
  <GridLayout class="input-field input-sides" rows="auto, auto" columns="*,*">
25
25
  <Label class="label" [text]="option.label"></Label>
@@ -29,7 +29,7 @@ class FormlyFieldRadio extends FieldType {
29
29
  }
30
30
  `, isInline: true, dependencies: [{ kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.LegacyFormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
31
31
  }
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyFieldRadio, decorators: [{
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyFieldRadio, decorators: [{
33
33
  type: Component,
34
34
  args: [{
35
35
  selector: 'formly-field-ns-radio',
@@ -60,20 +60,20 @@ function withFormlyFieldRadio() {
60
60
  }
61
61
 
62
62
  class FormlyNsRadioFieldModule {
63
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsRadioFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
64
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsRadioFieldModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
63
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsRadioFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
64
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsRadioFieldModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
65
65
  ReactiveFormsModule,
66
66
  NativeScriptFormsModule,
67
67
  FormlyNsFormFieldModule,
68
68
  FormlySelectModule, i1$1.FormlyModule] }); }
69
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsRadioFieldModule, imports: [CommonModule,
69
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsRadioFieldModule, imports: [CommonModule,
70
70
  ReactiveFormsModule,
71
71
  NativeScriptFormsModule,
72
72
  FormlyNsFormFieldModule,
73
73
  FormlySelectModule,
74
74
  FormlyModule.forChild(withFormlyFieldRadio())] }); }
75
75
  }
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsRadioFieldModule, decorators: [{
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsRadioFieldModule, decorators: [{
77
77
  type: NgModule,
78
78
  args: [{
79
79
  declarations: [FormlyFieldRadio],
@@ -21,14 +21,14 @@ class FormlyFieldSelect extends FieldType {
21
21
  }
22
22
  return this.props.placeholder;
23
23
  }
24
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
25
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: FormlyFieldSelect, isStandalone: false, selector: "formly-field-ns-select", usesInheritance: true, ngImport: i0, template: `
24
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
25
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: FormlyFieldSelect, isStandalone: false, selector: "formly-field-ns-select", usesInheritance: true, ngImport: i0, template: `
26
26
  @if (props.options | formlySelectOptions: field | async; as options) {
27
27
  <Button (tap)="tap(options)" [text]="selectedItem(options)"></Button>
28
28
  }
29
29
  `, isInline: true, dependencies: [{ kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.LegacyFormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyFieldSelect, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyFieldSelect, decorators: [{
32
32
  type: Component,
33
33
  args: [{
34
34
  selector: 'formly-field-ns-select',
@@ -56,20 +56,20 @@ function withFormlyFieldSelect() {
56
56
  }
57
57
 
58
58
  class FormlyNsSelectFieldModule {
59
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsSelectFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
60
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsSelectFieldModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsSelectFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
60
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsSelectFieldModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
61
61
  ReactiveFormsModule,
62
62
  NativeScriptFormsModule,
63
63
  FormlyNsFormFieldModule,
64
64
  FormlySelectModule, i1$1.FormlyModule] }); }
65
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsSelectFieldModule, imports: [CommonModule,
65
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsSelectFieldModule, imports: [CommonModule,
66
66
  ReactiveFormsModule,
67
67
  NativeScriptFormsModule,
68
68
  FormlyNsFormFieldModule,
69
69
  FormlySelectModule,
70
70
  FormlyModule.forChild(withFormlyFieldSelect())] }); }
71
71
  }
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsSelectFieldModule, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsSelectFieldModule, decorators: [{
73
73
  type: NgModule,
74
74
  args: [{
75
75
  declarations: [FormlyFieldSelect],
@@ -10,8 +10,8 @@ import { CommonModule } from '@angular/common';
10
10
  import { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';
11
11
 
12
12
  class FormlyFieldInput extends FieldType {
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: FormlyFieldInput, isStandalone: false, selector: "formly-field-ns-input", usesInheritance: true, ngImport: i0, template: `
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: FormlyFieldInput, isStandalone: false, selector: "formly-field-ns-input", usesInheritance: true, ngImport: i0, template: `
15
15
  <TextField
16
16
  class="input"
17
17
  [formlyAttributes]="field"
@@ -24,7 +24,7 @@ class FormlyFieldInput extends FieldType {
24
24
  </TextField>
25
25
  `, 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: "directive", type: i2.TextValueAccessor, selector: "TextField[ngModel],TextField[formControlName],TextField[formControl],textField[ngModel],textField[formControlName],textField[formControl],textfield[ngModel],textfield[formControlName],textfield[formControl],text-field[ngModel],text-field[formControlName],text-field[formControl],TextView[ngModel],TextView[formControlName],TextView[formControl],textView[ngModel],textView[formControlName],textView[formControl],textview[ngModel],textview[formControlName],textview[formControl],text-view[ngModel],text-view[formControlName],text-view[formControl],SearchBar[ngModel],SearchBar[formControlName],SearchBar[formControl],searchBar[ngModel],searchBar[formControlName],searchBar[formControl],searchbar[ngModel],searchbar[formControlName],searchbar[formControl],search-bar[ngModel], search-bar[formControlName],search-bar[formControl]" }, { kind: "directive", type: i3.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyFieldInput, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyFieldInput, decorators: [{
28
28
  type: Component,
29
29
  args: [{
30
30
  selector: 'formly-field-ns-input',
@@ -78,18 +78,18 @@ function withFormlyFieldInput() {
78
78
  }
79
79
 
80
80
  class FormlyNsTextFieldModule {
81
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsTextFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
82
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsTextFieldModule, declarations: [FormlyFieldInput], imports: [CommonModule,
81
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsTextFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
82
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsTextFieldModule, declarations: [FormlyFieldInput], imports: [CommonModule,
83
83
  ReactiveFormsModule,
84
84
  NativeScriptFormsModule,
85
85
  FormlyNsFormFieldModule, i3.FormlyModule] }); }
86
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsTextFieldModule, imports: [CommonModule,
86
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsTextFieldModule, imports: [CommonModule,
87
87
  ReactiveFormsModule,
88
88
  NativeScriptFormsModule,
89
89
  FormlyNsFormFieldModule,
90
90
  FormlyModule.forChild(withFormlyFieldInput())] }); }
91
91
  }
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsTextFieldModule, decorators: [{
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsTextFieldModule, decorators: [{
93
93
  type: NgModule,
94
94
  args: [{
95
95
  declarations: [FormlyFieldInput],
@@ -10,8 +10,8 @@ import { CommonModule } from '@angular/common';
10
10
  import { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';
11
11
 
12
12
  class FormlyFieldTextArea extends FieldType {
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-ns-textarea", usesInheritance: true, ngImport: i0, template: `
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: FormlyFieldTextArea, isStandalone: false, selector: "formly-field-ns-textarea", usesInheritance: true, ngImport: i0, template: `
15
15
  <TextView
16
16
  class="input"
17
17
  [formlyAttributes]="field"
@@ -23,7 +23,7 @@ class FormlyFieldTextArea extends FieldType {
23
23
  </TextView>
24
24
  `, 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: "directive", type: i2.TextValueAccessor, selector: "TextField[ngModel],TextField[formControlName],TextField[formControl],textField[ngModel],textField[formControlName],textField[formControl],textfield[ngModel],textfield[formControlName],textfield[formControl],text-field[ngModel],text-field[formControlName],text-field[formControl],TextView[ngModel],TextView[formControlName],TextView[formControl],textView[ngModel],textView[formControlName],textView[formControl],textview[ngModel],textview[formControlName],textview[formControl],text-view[ngModel],text-view[formControlName],text-view[formControl],SearchBar[ngModel],SearchBar[formControlName],SearchBar[formControl],searchBar[ngModel],searchBar[formControlName],searchBar[formControl],searchbar[ngModel],searchbar[formControlName],searchbar[formControl],search-bar[ngModel], search-bar[formControlName],search-bar[formControl]" }, { kind: "directive", type: i3.LegacyFormlyAttributes, selector: "[formlyAttributes]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
27
27
  type: Component,
28
28
  args: [{
29
29
  selector: 'formly-field-ns-textarea',
@@ -56,18 +56,18 @@ function withFormlyFieldTextArea() {
56
56
  }
57
57
 
58
58
  class FormlyNsTextAreaFieldModule {
59
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsTextAreaFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
60
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsTextAreaFieldModule, declarations: [FormlyFieldTextArea], imports: [CommonModule,
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsTextAreaFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
60
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsTextAreaFieldModule, declarations: [FormlyFieldTextArea], imports: [CommonModule,
61
61
  ReactiveFormsModule,
62
62
  NativeScriptFormsModule,
63
63
  FormlyNsFormFieldModule, i3.FormlyModule] }); }
64
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsTextAreaFieldModule, imports: [CommonModule,
64
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsTextAreaFieldModule, imports: [CommonModule,
65
65
  ReactiveFormsModule,
66
66
  NativeScriptFormsModule,
67
67
  FormlyNsFormFieldModule,
68
68
  FormlyModule.forChild(withFormlyFieldTextArea())] }); }
69
69
  }
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNsTextAreaFieldModule, decorators: [{
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNsTextAreaFieldModule, decorators: [{
71
71
  type: NgModule,
72
72
  args: [{
73
73
  declarations: [FormlyFieldTextArea],
@@ -19,21 +19,21 @@ function withFormlyNativescript() {
19
19
  }
20
20
 
21
21
  class FormlyNativescriptModule {
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNativescriptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
23
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: FormlyNativescriptModule, imports: [FormlyNsFormFieldModule,
22
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNativescriptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
23
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: FormlyNativescriptModule, imports: [FormlyNsFormFieldModule,
24
24
  FormlyNsTextFieldModule,
25
25
  FormlyNsTextAreaFieldModule,
26
26
  FormlyNsCheckboxFieldModule,
27
27
  FormlyNsRadioFieldModule,
28
28
  FormlyNsSelectFieldModule] }); }
29
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNativescriptModule, imports: [FormlyNsFormFieldModule,
29
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNativescriptModule, imports: [FormlyNsFormFieldModule,
30
30
  FormlyNsTextFieldModule,
31
31
  FormlyNsTextAreaFieldModule,
32
32
  FormlyNsCheckboxFieldModule,
33
33
  FormlyNsRadioFieldModule,
34
34
  FormlyNsSelectFieldModule] }); }
35
35
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyNativescriptModule, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyNativescriptModule, decorators: [{
37
37
  type: NgModule,
38
38
  args: [{
39
39
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-nativescript.mjs","sources":["../../../../src/ui/nativescript/src/lib/ui-nativescript.config.ts","../../../../src/ui/nativescript/src/lib/ui-nativescript.module.ts","../../../../src/ui/nativescript/src/public_api.ts","../../../../src/ui/nativescript/src/ngx-formly-nativescript.ts"],"sourcesContent":["import { withFormlyFormField } from '@ngx-formly/nativescript/form-field';\nimport { withFormlyFieldTextArea } from '@ngx-formly/nativescript/textarea';\nimport { withFormlyFieldRadio } from '@ngx-formly/nativescript/radio';\nimport { withFormlyFieldCheckbox } from '@ngx-formly/nativescript/checkbox';\nimport { withFormlyFieldSelect } from '@ngx-formly/nativescript/select';\nimport { withFormlyFieldInput } from '@ngx-formly/nativescript/text-field';\n\nexport function withFormlyNativescript() {\n return [\n withFormlyFormField(),\n withFormlyFieldInput(),\n withFormlyFieldTextArea(),\n withFormlyFieldRadio(),\n withFormlyFieldCheckbox(),\n withFormlyFieldSelect(),\n ];\n}\n","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\n\nimport { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';\nimport { FormlyNsTextFieldModule } from '@ngx-formly/nativescript/text-field';\nimport { FormlyNsTextAreaFieldModule } from '@ngx-formly/nativescript/textarea';\nimport { FormlyNsCheckboxFieldModule } from '@ngx-formly/nativescript/checkbox';\nimport { FormlyNsRadioFieldModule } from '@ngx-formly/nativescript/radio';\nimport { FormlyNsSelectFieldModule } from '@ngx-formly/nativescript/select';\n\n@NgModule({\n imports: [\n FormlyNsFormFieldModule,\n FormlyNsTextFieldModule,\n FormlyNsTextAreaFieldModule,\n FormlyNsCheckboxFieldModule,\n FormlyNsRadioFieldModule,\n FormlyNsSelectFieldModule,\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNativescriptModule {}\n","/*\n * Public API Surface of material\n */\n\nexport * from './lib/ui-nativescipt';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;SAOgB,sBAAsB,GAAA;IACpC,OAAO;AACL,QAAA,mBAAmB,EAAE;AACrB,QAAA,oBAAoB,EAAE;AACtB,QAAA,uBAAuB,EAAE;AACzB,QAAA,oBAAoB,EAAE;AACtB,QAAA,uBAAuB,EAAE;AACzB,QAAA,qBAAqB,EAAE;KACxB;AACH;;MCIa,wBAAwB,CAAA;+GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAxB,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,wBAAwB,YATjC,uBAAuB;YACvB,uBAAuB;YACvB,2BAA2B;YAC3B,2BAA2B;YAC3B,wBAAwB;YACxB,yBAAyB,CAAA,EAAA,CAAA,CAAA;AAIhB,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,wBAAwB,YATjC,uBAAuB;YACvB,uBAAuB;YACvB,2BAA2B;YAC3B,2BAA2B;YAC3B,wBAAwB;YACxB,yBAAyB,CAAA,EAAA,CAAA,CAAA;;4FAIhB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAXpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,uBAAuB;wBACvB,uBAAuB;wBACvB,2BAA2B;wBAC3B,2BAA2B;wBAC3B,wBAAwB;wBACxB,yBAAyB;AAC1B,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACnBD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-nativescript.mjs","sources":["../../../../src/ui/nativescript/src/lib/ui-nativescript.config.ts","../../../../src/ui/nativescript/src/lib/ui-nativescript.module.ts","../../../../src/ui/nativescript/src/public_api.ts","../../../../src/ui/nativescript/src/ngx-formly-nativescript.ts"],"sourcesContent":["import { ConfigOption } from '@ngx-formly/core';\nimport { withFormlyFormField } from '@ngx-formly/nativescript/form-field';\nimport { withFormlyFieldTextArea } from '@ngx-formly/nativescript/textarea';\nimport { withFormlyFieldRadio } from '@ngx-formly/nativescript/radio';\nimport { withFormlyFieldCheckbox } from '@ngx-formly/nativescript/checkbox';\nimport { withFormlyFieldSelect } from '@ngx-formly/nativescript/select';\nimport { withFormlyFieldInput } from '@ngx-formly/nativescript/text-field';\n\nexport function withFormlyNativescript(): ConfigOption[] {\n return [\n withFormlyFormField(),\n withFormlyFieldInput(),\n withFormlyFieldTextArea(),\n withFormlyFieldRadio(),\n withFormlyFieldCheckbox(),\n withFormlyFieldSelect(),\n ];\n}\n","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\n\nimport { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';\nimport { FormlyNsTextFieldModule } from '@ngx-formly/nativescript/text-field';\nimport { FormlyNsTextAreaFieldModule } from '@ngx-formly/nativescript/textarea';\nimport { FormlyNsCheckboxFieldModule } from '@ngx-formly/nativescript/checkbox';\nimport { FormlyNsRadioFieldModule } from '@ngx-formly/nativescript/radio';\nimport { FormlyNsSelectFieldModule } from '@ngx-formly/nativescript/select';\n\n@NgModule({\n imports: [\n FormlyNsFormFieldModule,\n FormlyNsTextFieldModule,\n FormlyNsTextAreaFieldModule,\n FormlyNsCheckboxFieldModule,\n FormlyNsRadioFieldModule,\n FormlyNsSelectFieldModule,\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNativescriptModule {}\n","/*\n * Public API Surface of material\n */\n\nexport * from './lib/ui-nativescipt';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;SAQgB,sBAAsB,GAAA;IACpC,OAAO;AACL,QAAA,mBAAmB,EAAE;AACrB,QAAA,oBAAoB,EAAE;AACtB,QAAA,uBAAuB,EAAE;AACzB,QAAA,oBAAoB,EAAE;AACtB,QAAA,uBAAuB,EAAE;AACzB,QAAA,qBAAqB,EAAE;KACxB;AACH;;MCGa,wBAAwB,CAAA;+GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAxB,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,wBAAwB,YATjC,uBAAuB;YACvB,uBAAuB;YACvB,2BAA2B;YAC3B,2BAA2B;YAC3B,wBAAwB;YACxB,yBAAyB,CAAA,EAAA,CAAA,CAAA;AAIhB,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,wBAAwB,YATjC,uBAAuB;YACvB,uBAAuB;YACvB,2BAA2B;YAC3B,2BAA2B;YAC3B,wBAAwB;YACxB,yBAAyB,CAAA,EAAA,CAAA,CAAA;;4FAIhB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAXpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,uBAAuB;wBACvB,uBAAuB;wBACvB,2BAA2B;wBAC3B,2BAA2B;wBAC3B,wBAAwB;wBACxB,yBAAyB;AAC1B,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACnBD;;AAEG;;ACFH;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,51 +1,52 @@
1
1
  {
2
2
  "name": "@ngx-formly/nativescript",
3
- "version": "9.0.0",
3
+ "version": "10.0.1",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"
7
7
  },
8
8
  "peerDependencies": {
9
- "@ngx-formly/core": "9.0.0",
10
- "@nativescript/angular": ">=20.0.0",
9
+ "@ngx-formly/core": "10.0.1",
10
+ "@nativescript/angular": ">=21.0.0",
11
11
  "@nativescript/core": ">=8.1.0"
12
12
  },
13
13
  "module": "fesm2022/ngx-formly-nativescript.mjs",
14
- "typings": "index.d.ts",
14
+ "typings": "types/ngx-formly-nativescript.d.ts",
15
15
  "exports": {
16
16
  "./package.json": {
17
17
  "default": "./package.json"
18
18
  },
19
19
  ".": {
20
- "types": "./index.d.ts",
20
+ "types": "./types/ngx-formly-nativescript.d.ts",
21
21
  "default": "./fesm2022/ngx-formly-nativescript.mjs"
22
22
  },
23
23
  "./checkbox": {
24
- "types": "./checkbox/index.d.ts",
24
+ "types": "./types/ngx-formly-nativescript-checkbox.d.ts",
25
25
  "default": "./fesm2022/ngx-formly-nativescript-checkbox.mjs"
26
26
  },
27
27
  "./form-field": {
28
- "types": "./form-field/index.d.ts",
28
+ "types": "./types/ngx-formly-nativescript-form-field.d.ts",
29
29
  "default": "./fesm2022/ngx-formly-nativescript-form-field.mjs"
30
30
  },
31
31
  "./radio": {
32
- "types": "./radio/index.d.ts",
32
+ "types": "./types/ngx-formly-nativescript-radio.d.ts",
33
33
  "default": "./fesm2022/ngx-formly-nativescript-radio.mjs"
34
34
  },
35
35
  "./select": {
36
- "types": "./select/index.d.ts",
36
+ "types": "./types/ngx-formly-nativescript-select.d.ts",
37
37
  "default": "./fesm2022/ngx-formly-nativescript-select.mjs"
38
38
  },
39
39
  "./text-field": {
40
- "types": "./text-field/index.d.ts",
40
+ "types": "./types/ngx-formly-nativescript-text-field.d.ts",
41
41
  "default": "./fesm2022/ngx-formly-nativescript-text-field.mjs"
42
42
  },
43
43
  "./textarea": {
44
- "types": "./textarea/index.d.ts",
44
+ "types": "./types/ngx-formly-nativescript-textarea.d.ts",
45
45
  "default": "./fesm2022/ngx-formly-nativescript-textarea.mjs"
46
46
  }
47
47
  },
48
48
  "sideEffects": false,
49
+ "type": "module",
49
50
  "homepage": "https://github.com/ngx-formly/ngx-formly#readme",
50
51
  "description": "Formly is a dynamic (JSON powered) form library for Angular that bring unmatched maintainability to your application's forms.",
51
52
  "repository": {
@@ -1,4 +1,4 @@
1
- import * as _ngx_formly_core from '@ngx-formly/core';
1
+ import { ConfigOption } from '@ngx-formly/core';
2
2
  import * as i0 from '@angular/core';
3
3
  import * as i1 from '@ngx-formly/nativescript/form-field';
4
4
  import * as i2 from '@ngx-formly/nativescript/text-field';
@@ -7,7 +7,7 @@ import * as i4 from '@ngx-formly/nativescript/checkbox';
7
7
  import * as i5 from '@ngx-formly/nativescript/radio';
8
8
  import * as i6 from '@ngx-formly/nativescript/select';
9
9
 
10
- declare function withFormlyNativescript(): _ngx_formly_core.ConfigOption[];
10
+ declare function withFormlyNativescript(): ConfigOption[];
11
11
 
12
12
  declare class FormlyNativescriptModule {
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNativescriptModule, never>;