@ngx-formly/nativescript 8.0.0 → 10.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 +46 -19
- package/fesm2022/ngx-formly-nativescript-checkbox.mjs +7 -7
- package/fesm2022/ngx-formly-nativescript-form-field.mjs +7 -7
- package/fesm2022/ngx-formly-nativescript-radio.mjs +7 -7
- package/fesm2022/ngx-formly-nativescript-select.mjs +7 -7
- package/fesm2022/ngx-formly-nativescript-text-field.mjs +7 -7
- package/fesm2022/ngx-formly-nativescript-textarea.mjs +7 -7
- package/fesm2022/ngx-formly-nativescript.mjs +4 -4
- package/package.json +12 -11
- package/types/ngx-formly-nativescript-checkbox.d.ts +35 -0
- package/types/ngx-formly-nativescript-form-field.d.ts +25 -0
- package/types/ngx-formly-nativescript-radio.d.ts +31 -0
- package/types/ngx-formly-nativescript-select.d.ts +34 -0
- package/types/ngx-formly-nativescript-text-field.d.ts +34 -0
- package/types/ngx-formly-nativescript-textarea.d.ts +36 -0
- package/types/ngx-formly-nativescript.d.ts +18 -0
- package/checkbox/checkbox.config.d.ts +0 -2
- package/checkbox/checkbox.module.d.ts +0 -12
- package/checkbox/checkbox.type.d.ts +0 -19
- package/checkbox/index.d.ts +0 -5
- package/checkbox/public_api.d.ts +0 -3
- package/form-field/form-field.config.d.ts +0 -2
- package/form-field/form-field.module.d.ts +0 -11
- package/form-field/form-field.wrapper.d.ts +0 -9
- package/form-field/index.d.ts +0 -5
- package/form-field/public_api.d.ts +0 -3
- package/index.d.ts +0 -5
- package/lib/ui-nativescipt.d.ts +0 -2
- package/lib/ui-nativescript.config.d.ts +0 -1
- package/lib/ui-nativescript.module.d.ts +0 -12
- package/public_api.d.ts +0 -1
- package/radio/index.d.ts +0 -5
- package/radio/public_api.d.ts +0 -3
- package/radio/radio.config.d.ts +0 -2
- package/radio/radio.module.d.ts +0 -13
- package/radio/radio.type.d.ts +0 -14
- package/select/index.d.ts +0 -5
- package/select/public_api.d.ts +0 -3
- package/select/select.config.d.ts +0 -2
- package/select/select.module.d.ts +0 -13
- package/select/select.type.d.ts +0 -17
- package/text-field/index.d.ts +0 -5
- package/text-field/public_api.d.ts +0 -3
- package/text-field/text-field.config.d.ts +0 -2
- package/text-field/text-field.module.d.ts +0 -12
- package/text-field/text-field.type.d.ts +0 -18
- package/textarea/index.d.ts +0 -5
- package/textarea/public_api.d.ts +0 -6
- package/textarea/textarea.config.d.ts +0 -2
- package/textarea/textarea.module.d.ts +0 -12
- package/textarea/textarea.type.d.ts +0 -17
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
|
|
@@ -55,25 +64,43 @@ Formly is a dynamic (JSON powered) form library for Angular that brings unmatche
|
|
|
55
64
|
|
|
56
65
|
#### **Which Version to use?**
|
|
57
66
|
|
|
58
|
-
| Angular version | Formly version
|
|
59
|
-
| --------------- |
|
|
60
|
-
| Angular >=
|
|
61
|
-
| Angular >=
|
|
62
|
-
| Angular >=
|
|
63
|
-
| Angular >=
|
|
64
|
-
| Angular >=
|
|
65
|
-
| Angular >=
|
|
66
|
-
| Angular >=
|
|
67
|
-
| Angular >=
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
67
|
+
| Angular version | Formly version | Migration |
|
|
68
|
+
| --------------- | -------------------- | ---------------------------------- |
|
|
69
|
+
| Angular >= 21 | `@ngx-formly/core@10.x` | [Upgrade to v10](UPGRADE-10.0.md) |
|
|
70
|
+
| Angular >= 20 | `@ngx-formly/core@9.x` | [Upgrade to v9](UPGRADE-9.0.md) |
|
|
71
|
+
| Angular >= 19 | `@ngx-formly/core@8.x` | [Upgrade to v8](UPGRADE-8.0.md) |
|
|
72
|
+
| Angular >= 18 | `@ngx-formly/core@7.x` | [Upgrade to v7](UPGRADE-7.0.md) |
|
|
73
|
+
| Angular >= 13 | `@ngx-formly/core@6.x` | [Upgrade to v6](UPGRADE-6.0.md) |
|
|
74
|
+
| Angular >= 7 | `@ngx-formly/core@5.x` | [Upgrade to v5](UPGRADE-5.0.md) |
|
|
75
|
+
| Angular >= 6 | `@ngx-formly/core@4.x` | |
|
|
76
|
+
| Angular >= 5 | `@ngx-formly/core@3.x` | |
|
|
77
|
+
| Angular >= 4 | `@ngx-formly/core@2.x` | [Upgrade to v2](UPGRADE-2.0.md) |
|
|
78
|
+
| Angular >= 2 | `ng-formly@1.x` | |
|
|
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
|
+
|
|
90
|
+
#### Upgrading to v9
|
|
91
|
+
|
|
92
|
+
Formly v9 requires Angular 20 or newer. Upgrade Angular first, then update all
|
|
93
|
+
`@ngx-formly/*` packages used by your application together to v9.
|
|
94
|
+
The Material, PrimeNG, and NG-ZORRO integrations require version 20 or newer of
|
|
95
|
+
their respective UI libraries. Kendo requires version 19.1 or newer, and NativeScript
|
|
96
|
+
requires `@nativescript/angular` 20 or newer. Applications staying on Angular 19 should
|
|
97
|
+
use Formly v8; applications staying on Angular 18 should use Formly v7.
|
|
98
|
+
|
|
99
|
+
PrimeNG datepicker fields no longer accept `monthNavigator`, `yearNavigator`, or
|
|
100
|
+
`yearRange`, which PrimeNG 20 removed. Replace `@primeng/themes` imports with
|
|
101
|
+
`@primeuix/themes` when configuring a PrimeNG theme.
|
|
102
|
+
|
|
103
|
+
See the [v9 upgrade guide](UPGRADE-9.0.md) for migration steps and the [changelog](CHANGELOG.md) for the full list of changes.
|
|
77
104
|
|
|
78
105
|
## Core Team
|
|
79
106
|
|
|
@@ -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: "
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
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: "
|
|
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: "
|
|
62
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
11
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
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: "
|
|
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: "
|
|
63
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
64
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
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: "
|
|
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: "
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
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: "
|
|
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: "
|
|
64
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
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: "
|
|
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: "
|
|
60
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
14
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
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: "
|
|
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: "
|
|
82
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
14
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
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: "
|
|
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: "
|
|
60
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
23
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
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: "
|
|
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: "
|
|
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: [
|
package/package.json
CHANGED
|
@@ -1,51 +1,52 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngx-formly/nativescript",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.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
|
-
"@nativescript/angular": ">=
|
|
9
|
+
"@ngx-formly/core": "10.0.0",
|
|
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": "
|
|
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": "./
|
|
20
|
+
"types": "./types/ngx-formly-nativescript.d.ts",
|
|
21
21
|
"default": "./fesm2022/ngx-formly-nativescript.mjs"
|
|
22
22
|
},
|
|
23
23
|
"./checkbox": {
|
|
24
|
-
"types": "./checkbox
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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": {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as i6 from '@ngx-formly/core';
|
|
2
|
+
import { ConfigOption, FormlyFieldConfig, FieldType, FieldTypeConfig } from '@ngx-formly/core';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { Type } from '@angular/core';
|
|
5
|
+
import * as i5 from '@ngx-formly/nativescript/form-field';
|
|
6
|
+
import { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';
|
|
7
|
+
import * as i2 from '@angular/common';
|
|
8
|
+
import * as i3 from '@angular/forms';
|
|
9
|
+
import * as i4 from '@nativescript/angular';
|
|
10
|
+
|
|
11
|
+
declare function withFormlyFieldCheckbox(): ConfigOption;
|
|
12
|
+
|
|
13
|
+
interface CheckboxProps extends FormlyFieldProps {
|
|
14
|
+
}
|
|
15
|
+
interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {
|
|
16
|
+
type: 'checkbox' | Type<FormlyFieldCheckbox>;
|
|
17
|
+
}
|
|
18
|
+
declare class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {
|
|
19
|
+
defaultOptions: {
|
|
20
|
+
props: {
|
|
21
|
+
hideLabel: boolean;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldCheckbox, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldCheckbox, "formly-field-ns-checkbox", never, {}, {}, never, never, false, never>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare class FormlyNsCheckboxFieldModule {
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsCheckboxFieldModule, never>;
|
|
30
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsCheckboxFieldModule, [typeof FormlyFieldCheckbox], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlyModule], never>;
|
|
31
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsCheckboxFieldModule>;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { FormlyNsCheckboxFieldModule, withFormlyFieldCheckbox };
|
|
35
|
+
export type { FormlyCheckboxFieldConfig };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i5 from '@ngx-formly/core';
|
|
2
|
+
import { ConfigOption, FormlyFieldProps as FormlyFieldProps$1, FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import * as i2 from '@angular/common';
|
|
5
|
+
import * as i3 from '@angular/forms';
|
|
6
|
+
import * as i4 from '@nativescript/angular';
|
|
7
|
+
|
|
8
|
+
declare function withFormlyFormField(): ConfigOption;
|
|
9
|
+
|
|
10
|
+
interface FormlyFieldProps extends FormlyFieldProps$1 {
|
|
11
|
+
hideLabel?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormField, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-ns-form-field", never, {}, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class FormlyNsFormFieldModule {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsFormFieldModule, never>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsFormFieldModule, [typeof FormlyWrapperFormField], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyModule], never>;
|
|
21
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsFormFieldModule>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { FormlyNsFormFieldModule, withFormlyFormField };
|
|
25
|
+
export type { FormlyFieldProps };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as i7 from '@ngx-formly/core';
|
|
2
|
+
import { ConfigOption, FieldType, 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/nativescript/form-field';
|
|
6
|
+
import { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';
|
|
7
|
+
import * as i2 from '@angular/common';
|
|
8
|
+
import * as i3 from '@angular/forms';
|
|
9
|
+
import * as i4 from '@nativescript/angular';
|
|
10
|
+
import * as i6 from '@ngx-formly/core/select';
|
|
11
|
+
|
|
12
|
+
declare function withFormlyFieldRadio(): ConfigOption;
|
|
13
|
+
|
|
14
|
+
type RadioProps = FormlyFieldProps;
|
|
15
|
+
interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
|
|
16
|
+
type: 'radio' | Type<FormlyFieldRadio>;
|
|
17
|
+
}
|
|
18
|
+
declare class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {
|
|
19
|
+
tap(id: any): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-ns-radio", never, {}, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare class FormlyNsRadioFieldModule {
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsRadioFieldModule, never>;
|
|
26
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsRadioFieldModule, [typeof FormlyFieldRadio], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlySelectModule, typeof i7.FormlyModule], never>;
|
|
27
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsRadioFieldModule>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { FormlyNsRadioFieldModule, withFormlyFieldRadio };
|
|
31
|
+
export type { FormlyRadioFieldConfig };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as i7 from '@ngx-formly/core';
|
|
2
|
+
import { ConfigOption, FieldType, 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/nativescript/form-field';
|
|
6
|
+
import { FormlyFieldProps } from '@ngx-formly/nativescript/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 '@nativescript/angular';
|
|
12
|
+
|
|
13
|
+
declare function withFormlyFieldSelect(): ConfigOption;
|
|
14
|
+
|
|
15
|
+
interface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {
|
|
16
|
+
}
|
|
17
|
+
interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {
|
|
18
|
+
type: 'select' | Type<FormlyFieldSelect>;
|
|
19
|
+
}
|
|
20
|
+
declare class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {
|
|
21
|
+
tap(options: any[]): void;
|
|
22
|
+
selectedItem(options: any[]): any;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-ns-select", never, {}, {}, never, never, false, never>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare class FormlyNsSelectFieldModule {
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsSelectFieldModule, never>;
|
|
29
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsSelectFieldModule, [typeof FormlyFieldSelect], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlySelectModule, typeof i7.FormlyModule], never>;
|
|
30
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsSelectFieldModule>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { FormlyNsSelectFieldModule, withFormlyFieldSelect };
|
|
34
|
+
export type { FormlySelectFieldConfig };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as i6 from '@ngx-formly/core';
|
|
2
|
+
import { ConfigOption, FormlyFieldConfig, FieldType, FieldTypeConfig } from '@ngx-formly/core';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { Type } from '@angular/core';
|
|
5
|
+
import * as i5 from '@ngx-formly/nativescript/form-field';
|
|
6
|
+
import { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';
|
|
7
|
+
import * as i2 from '@angular/common';
|
|
8
|
+
import * as i3 from '@angular/forms';
|
|
9
|
+
import * as i4 from '@nativescript/angular';
|
|
10
|
+
|
|
11
|
+
declare function withFormlyFieldInput(): ConfigOption;
|
|
12
|
+
|
|
13
|
+
interface InputProps extends FormlyFieldProps {
|
|
14
|
+
autocorrect?: boolean;
|
|
15
|
+
secure?: boolean;
|
|
16
|
+
hint?: string;
|
|
17
|
+
keyboardType?: any;
|
|
18
|
+
}
|
|
19
|
+
interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {
|
|
20
|
+
type: 'input' | Type<FormlyFieldInput>;
|
|
21
|
+
}
|
|
22
|
+
declare class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-ns-input", never, {}, {}, never, never, false, never>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare class FormlyNsTextFieldModule {
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsTextFieldModule, never>;
|
|
29
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsTextFieldModule, [typeof FormlyFieldInput], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlyModule], never>;
|
|
30
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsTextFieldModule>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { FormlyNsTextFieldModule, withFormlyFieldInput };
|
|
34
|
+
export type { FormlyInputFieldConfig };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Type } from '@angular/core';
|
|
3
|
+
import * as i6 from '@ngx-formly/core';
|
|
4
|
+
import { ConfigOption, FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
5
|
+
import * as i5 from '@ngx-formly/nativescript/form-field';
|
|
6
|
+
import { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';
|
|
7
|
+
import * as i2 from '@angular/common';
|
|
8
|
+
import * as i3 from '@angular/forms';
|
|
9
|
+
import * as i4 from '@nativescript/angular';
|
|
10
|
+
|
|
11
|
+
declare function withFormlyFieldTextArea(): ConfigOption;
|
|
12
|
+
|
|
13
|
+
interface TextAreaProps extends FormlyFieldProps {
|
|
14
|
+
hint?: string;
|
|
15
|
+
autocorrect?: boolean;
|
|
16
|
+
keyboardType?: any;
|
|
17
|
+
}
|
|
18
|
+
interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {
|
|
19
|
+
type: 'textarea' | Type<FormlyFieldTextArea>;
|
|
20
|
+
}
|
|
21
|
+
declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextArea, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextArea, "formly-field-ns-textarea", never, {}, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare class FormlyNsTextAreaFieldModule {
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsTextAreaFieldModule, never>;
|
|
28
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsTextAreaFieldModule, [typeof FormlyFieldTextArea], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlyModule], never>;
|
|
29
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsTextAreaFieldModule>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/** @deprecated use FormlyFieldDatePicker */
|
|
33
|
+
declare const FormlyNsTextareaFieldModule: typeof FormlyNsTextAreaFieldModule;
|
|
34
|
+
|
|
35
|
+
export { FormlyNsTextAreaFieldModule, FormlyNsTextareaFieldModule, withFormlyFieldTextArea };
|
|
36
|
+
export type { FormlyTextAreaFieldConfig };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as _ngx_formly_core_types_ngx_formly_core from '@ngx-formly/core/types/ngx-formly-core';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import * as i1 from '@ngx-formly/nativescript/form-field';
|
|
4
|
+
import * as i2 from '@ngx-formly/nativescript/text-field';
|
|
5
|
+
import * as i3 from '@ngx-formly/nativescript/textarea';
|
|
6
|
+
import * as i4 from '@ngx-formly/nativescript/checkbox';
|
|
7
|
+
import * as i5 from '@ngx-formly/nativescript/radio';
|
|
8
|
+
import * as i6 from '@ngx-formly/nativescript/select';
|
|
9
|
+
|
|
10
|
+
declare function withFormlyNativescript(): _ngx_formly_core_types_ngx_formly_core.ConfigOption[];
|
|
11
|
+
|
|
12
|
+
declare class FormlyNativescriptModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNativescriptModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNativescriptModule, never, [typeof i1.FormlyNsFormFieldModule, typeof i2.FormlyNsTextFieldModule, typeof i3.FormlyNsTextAreaFieldModule, typeof i4.FormlyNsCheckboxFieldModule, typeof i5.FormlyNsRadioFieldModule, typeof i6.FormlyNsSelectFieldModule], never>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNativescriptModule>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { FormlyNativescriptModule, withFormlyNativescript };
|
|
@@ -1,12 +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 "@nativescript/angular";
|
|
6
|
-
import * as i5 from "@ngx-formly/nativescript/form-field";
|
|
7
|
-
import * as i6 from "@ngx-formly/core";
|
|
8
|
-
export declare class FormlyNsCheckboxFieldModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsCheckboxFieldModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsCheckboxFieldModule, [typeof i1.FormlyFieldCheckbox], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlyModule], never>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsCheckboxFieldModule>;
|
|
12
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { FormlyFieldProps } from '@ngx-formly/nativescript/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-ns-checkbox", never, {}, {}, never, never, false, never>;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
package/checkbox/index.d.ts
DELETED
package/checkbox/public_api.d.ts
DELETED
|
@@ -1,11 +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 "@nativescript/angular";
|
|
6
|
-
import * as i5 from "@ngx-formly/core";
|
|
7
|
-
export declare class FormlyNsFormFieldModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsFormFieldModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsFormFieldModule, [typeof i1.FormlyWrapperFormField], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyModule], never>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsFormFieldModule>;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FieldWrapper, FormlyFieldConfig, FormlyFieldProps as CoreFormlyFieldProps } from '@ngx-formly/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface FormlyFieldProps extends CoreFormlyFieldProps {
|
|
4
|
-
hideLabel?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormField, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-ns-form-field", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
package/form-field/index.d.ts
DELETED
package/index.d.ts
DELETED
package/lib/ui-nativescipt.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function withFormlyNativescript(): import("@ngx-formly/core").ConfigOption[];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@ngx-formly/nativescript/form-field";
|
|
3
|
-
import * as i2 from "@ngx-formly/nativescript/text-field";
|
|
4
|
-
import * as i3 from "@ngx-formly/nativescript/textarea";
|
|
5
|
-
import * as i4 from "@ngx-formly/nativescript/checkbox";
|
|
6
|
-
import * as i5 from "@ngx-formly/nativescript/radio";
|
|
7
|
-
import * as i6 from "@ngx-formly/nativescript/select";
|
|
8
|
-
export declare class FormlyNativescriptModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNativescriptModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNativescriptModule, never, [typeof i1.FormlyNsFormFieldModule, typeof i2.FormlyNsTextFieldModule, typeof i3.FormlyNsTextAreaFieldModule, typeof i4.FormlyNsCheckboxFieldModule, typeof i5.FormlyNsRadioFieldModule, typeof i6.FormlyNsSelectFieldModule], never>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNativescriptModule>;
|
|
12
|
-
}
|
package/public_api.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './lib/ui-nativescipt';
|
package/radio/index.d.ts
DELETED
package/radio/public_api.d.ts
DELETED
package/radio/radio.config.d.ts
DELETED
package/radio/radio.module.d.ts
DELETED
|
@@ -1,13 +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 "@nativescript/angular";
|
|
6
|
-
import * as i5 from "@ngx-formly/nativescript/form-field";
|
|
7
|
-
import * as i6 from "@ngx-formly/core/select";
|
|
8
|
-
import * as i7 from "@ngx-formly/core";
|
|
9
|
-
export declare class FormlyNsRadioFieldModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsRadioFieldModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsRadioFieldModule, [typeof i1.FormlyFieldRadio], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlySelectModule, typeof i7.FormlyModule], never>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsRadioFieldModule>;
|
|
13
|
-
}
|
package/radio/radio.type.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
type RadioProps = FormlyFieldProps;
|
|
6
|
-
export interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
|
|
7
|
-
type: 'radio' | Type<FormlyFieldRadio>;
|
|
8
|
-
}
|
|
9
|
-
export declare class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {
|
|
10
|
-
tap(id: any): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-ns-radio", never, {}, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
package/select/index.d.ts
DELETED
package/select/public_api.d.ts
DELETED
|
@@ -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 "@nativescript/angular";
|
|
6
|
-
import * as i5 from "@ngx-formly/nativescript/form-field";
|
|
7
|
-
import * as i6 from "@ngx-formly/core/select";
|
|
8
|
-
import * as i7 from "@ngx-formly/core";
|
|
9
|
-
export declare class FormlyNsSelectFieldModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsSelectFieldModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsSelectFieldModule, [typeof i1.FormlyFieldSelect], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlySelectModule, typeof i7.FormlyModule], never>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsSelectFieldModule>;
|
|
13
|
-
}
|
package/select/select.type.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';
|
|
4
|
-
import { FormlyFieldSelectProps } from '@ngx-formly/core/select';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
interface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {
|
|
7
|
-
}
|
|
8
|
-
export interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {
|
|
9
|
-
type: 'select' | Type<FormlyFieldSelect>;
|
|
10
|
-
}
|
|
11
|
-
export declare class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {
|
|
12
|
-
tap(options: any[]): void;
|
|
13
|
-
selectedItem(options: any[]): any;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-ns-select", never, {}, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
package/text-field/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./text-field.type";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "@nativescript/angular";
|
|
6
|
-
import * as i5 from "@ngx-formly/nativescript/form-field";
|
|
7
|
-
import * as i6 from "@ngx-formly/core";
|
|
8
|
-
export declare class FormlyNsTextFieldModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsTextFieldModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsTextFieldModule, [typeof i1.FormlyFieldInput], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlyModule], never>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsTextFieldModule>;
|
|
12
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
interface InputProps extends FormlyFieldProps {
|
|
6
|
-
autocorrect?: boolean;
|
|
7
|
-
secure?: boolean;
|
|
8
|
-
hint?: string;
|
|
9
|
-
keyboardType?: any;
|
|
10
|
-
}
|
|
11
|
-
export interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {
|
|
12
|
-
type: 'input' | Type<FormlyFieldInput>;
|
|
13
|
-
}
|
|
14
|
-
export declare class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-ns-input", never, {}, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
package/textarea/index.d.ts
DELETED
package/textarea/public_api.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { withFormlyFieldTextArea } from './textarea.config';
|
|
2
|
-
import { FormlyNsTextAreaFieldModule } from './textarea.module';
|
|
3
|
-
export { FormlyTextAreaFieldConfig } from './textarea.type';
|
|
4
|
-
/** @deprecated use FormlyFieldDatePicker */
|
|
5
|
-
declare const FormlyNsTextareaFieldModule: typeof FormlyNsTextAreaFieldModule;
|
|
6
|
-
export { FormlyNsTextAreaFieldModule, FormlyNsTextareaFieldModule };
|
|
@@ -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 "@angular/forms";
|
|
5
|
-
import * as i4 from "@nativescript/angular";
|
|
6
|
-
import * as i5 from "@ngx-formly/nativescript/form-field";
|
|
7
|
-
import * as i6 from "@ngx-formly/core";
|
|
8
|
-
export declare class FormlyNsTextAreaFieldModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsTextAreaFieldModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsTextAreaFieldModule, [typeof i1.FormlyFieldTextArea], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlyModule], never>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsTextAreaFieldModule>;
|
|
12
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
-
import { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
interface TextAreaProps extends FormlyFieldProps {
|
|
6
|
-
hint?: string;
|
|
7
|
-
autocorrect?: boolean;
|
|
8
|
-
keyboardType?: any;
|
|
9
|
-
}
|
|
10
|
-
export interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {
|
|
11
|
-
type: 'textarea' | Type<FormlyFieldTextArea>;
|
|
12
|
-
}
|
|
13
|
-
export declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextArea, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextArea, "formly-field-ns-textarea", never, {}, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
17
|
-
export {};
|