@ngx-formly/nativescript 7.1.0 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/README.md +10 -0
  2. package/fesm2022/ngx-formly-nativescript-checkbox.mjs +8 -7
  3. package/fesm2022/ngx-formly-nativescript-checkbox.mjs.map +1 -1
  4. package/fesm2022/ngx-formly-nativescript-form-field.mjs +20 -16
  5. package/fesm2022/ngx-formly-nativescript-form-field.mjs.map +1 -1
  6. package/fesm2022/ngx-formly-nativescript-radio.mjs +13 -12
  7. package/fesm2022/ngx-formly-nativescript-radio.mjs.map +1 -1
  8. package/fesm2022/ngx-formly-nativescript-select.mjs +13 -12
  9. package/fesm2022/ngx-formly-nativescript-select.mjs.map +1 -1
  10. package/fesm2022/ngx-formly-nativescript-text-field.mjs +8 -7
  11. package/fesm2022/ngx-formly-nativescript-text-field.mjs.map +1 -1
  12. package/fesm2022/ngx-formly-nativescript-textarea.mjs +8 -7
  13. package/fesm2022/ngx-formly-nativescript-textarea.mjs.map +1 -1
  14. package/fesm2022/ngx-formly-nativescript.mjs +4 -4
  15. package/package.json +2 -16
  16. package/esm2022/checkbox/checkbox.config.mjs +0 -17
  17. package/esm2022/checkbox/checkbox.module.mjs +0 -37
  18. package/esm2022/checkbox/checkbox.type.mjs +0 -37
  19. package/esm2022/checkbox/ngx-formly-nativescript-checkbox.mjs +0 -5
  20. package/esm2022/checkbox/public_api.mjs +0 -3
  21. package/esm2022/form-field/form-field.config.mjs +0 -12
  22. package/esm2022/form-field/form-field.module.mjs +0 -23
  23. package/esm2022/form-field/form-field.wrapper.mjs +0 -41
  24. package/esm2022/form-field/ngx-formly-nativescript-form-field.mjs +0 -5
  25. package/esm2022/form-field/public_api.mjs +0 -3
  26. package/esm2022/lib/ui-nativescipt.mjs +0 -3
  27. package/esm2022/lib/ui-nativescript.config.mjs +0 -17
  28. package/esm2022/lib/ui-nativescript.module.mjs +0 -38
  29. package/esm2022/ngx-formly-nativescript.mjs +0 -5
  30. package/esm2022/public_api.mjs +0 -5
  31. package/esm2022/radio/ngx-formly-nativescript-radio.mjs +0 -5
  32. package/esm2022/radio/public_api.mjs +0 -3
  33. package/esm2022/radio/radio.config.mjs +0 -13
  34. package/esm2022/radio/radio.module.mjs +0 -41
  35. package/esm2022/radio/radio.type.mjs +0 -41
  36. package/esm2022/select/ngx-formly-nativescript-select.mjs +0 -5
  37. package/esm2022/select/public_api.mjs +0 -3
  38. package/esm2022/select/select.config.mjs +0 -14
  39. package/esm2022/select/select.module.mjs +0 -41
  40. package/esm2022/select/select.type.mjs +0 -36
  41. package/esm2022/text-field/ngx-formly-nativescript-text-field.mjs +0 -5
  42. package/esm2022/text-field/public_api.mjs +0 -3
  43. package/esm2022/text-field/text-field.config.mjs +0 -33
  44. package/esm2022/text-field/text-field.module.mjs +0 -37
  45. package/esm2022/text-field/text-field.type.mjs +0 -41
  46. package/esm2022/textarea/ngx-formly-nativescript-textarea.mjs +0 -5
  47. package/esm2022/textarea/public_api.mjs +0 -6
  48. package/esm2022/textarea/textarea.config.mjs +0 -13
  49. package/esm2022/textarea/textarea.module.mjs +0 -37
  50. package/esm2022/textarea/textarea.type.mjs +0 -39
package/README.md CHANGED
@@ -57,6 +57,7 @@ Formly is a dynamic (JSON powered) form library for Angular that brings unmatche
57
57
 
58
58
  | Angular version | Formly version |
59
59
  | --------------- | ---------------------- |
60
+ | Angular >= 19 | `@ngx-formly/core@8.x` |
60
61
  | Angular >= 18 | `@ngx-formly/core@7.x` |
61
62
  | Angular >= 13 | `@ngx-formly/core@6.x` |
62
63
  | Angular >= 7 | `@ngx-formly/core@5.x` |
@@ -65,6 +66,15 @@ Formly is a dynamic (JSON powered) form library for Angular that brings unmatche
65
66
  | Angular >= 4 | `@ngx-formly/core@2.x` |
66
67
  | Angular >= 2 | `ng-formly@1.x` |
67
68
 
69
+ #### Upgrading to v8
70
+
71
+ Formly v8 requires Angular 19 or newer. Upgrade Angular first, then update all
72
+ `@ngx-formly/*` packages used by your application together to v8.
73
+ The Material, PrimeNG, and NG-ZORRO integrations require version 19 or newer of
74
+ their respective UI libraries. Applications staying on Angular 18 should use Formly v7.
75
+
76
+ See the [changelog](CHANGELOG.md) for the full list of changes.
77
+
68
78
  ## Core Team
69
79
 
70
80
  <table>
@@ -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: "18.2.13", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
22
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormlyFieldCheckbox, selector: "formly-field-ns-checkbox", usesInheritance: true, ngImport: i0, template: `
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
22
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.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: "18.2.13", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
30
30
  type: Component,
31
31
  args: [{
32
32
  selector: 'formly-field-ns-checkbox',
@@ -37,6 +37,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
37
37
  </GridLayout>
38
38
  `,
39
39
  changeDetection: ChangeDetectionStrategy.OnPush,
40
+ standalone: false,
40
41
  }]
41
42
  }] });
42
43
 
@@ -57,18 +58,18 @@ function withFormlyFieldCheckbox() {
57
58
  }
58
59
 
59
60
  class FormlyNsCheckboxFieldModule {
60
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsCheckboxFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
61
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsCheckboxFieldModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
61
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsCheckboxFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
62
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsCheckboxFieldModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
62
63
  ReactiveFormsModule,
63
64
  NativeScriptFormsModule,
64
65
  FormlyNsFormFieldModule, i3.FormlyModule] }); }
65
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsCheckboxFieldModule, imports: [CommonModule,
66
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsCheckboxFieldModule, imports: [CommonModule,
66
67
  ReactiveFormsModule,
67
68
  NativeScriptFormsModule,
68
69
  FormlyNsFormFieldModule,
69
70
  FormlyModule.forChild(withFormlyFieldCheckbox())] }); }
70
71
  }
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsCheckboxFieldModule, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsCheckboxFieldModule, decorators: [{
72
73
  type: NgModule,
73
74
  args: [{
74
75
  declarations: [FormlyFieldCheckbox],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-nativescript-checkbox.mjs","sources":["../../../../src/ui/nativescript/checkbox/src/checkbox.type.ts","../../../../src/ui/nativescript/checkbox/src/checkbox.config.ts","../../../../src/ui/nativescript/checkbox/src/checkbox.module.ts","../../../../src/ui/nativescript/checkbox/src/ngx-formly-nativescript-checkbox.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';\n\ninterface CheckboxProps extends FormlyFieldProps {}\n\nexport interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {\n type: 'checkbox' | Type<FormlyFieldCheckbox>;\n}\n\n@Component({\n selector: 'formly-field-ns-checkbox',\n template: `\n <GridLayout class=\"input-field input-sides\" rows=\"auto, auto\" columns=\"*,*\">\n <Label class=\"label\" [text]=\"props.label\"></Label>\n <Switch class=\"switch input\" [formlyAttributes]=\"field\" [formControl]=\"formControl\" col=\"1\"></Switch>\n </GridLayout>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {\n override defaultOptions = {\n props: {\n hideLabel: true,\n },\n };\n}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldCheckbox } from './checkbox.type';\n\nexport function withFormlyFieldCheckbox(): ConfigOption {\n return {\n types: [\n {\n name: 'checkbox',\n component: FormlyFieldCheckbox,\n wrappers: ['form-field'],\n },\n {\n name: 'boolean',\n extends: 'checkbox',\n },\n ],\n };\n}\n","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NativeScriptFormsModule } from '@nativescript/angular';\n\nimport { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';\nimport { FormlyFieldCheckbox } from './checkbox.type';\nimport { withFormlyFieldCheckbox } from './checkbox.config';\n\n@NgModule({\n declarations: [FormlyFieldCheckbox],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlyModule.forChild(withFormlyFieldCheckbox()),\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsCheckboxFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAoBM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;AAVlF,IAAA,WAAA,GAAA;;AAWW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,SAAS,EAAE,IAAI;AAChB,aAAA;SACF;AACF;+GANY,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBA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ACzB,aAAA;AACD,YAAA;AACE,gBAAA,IAAI,EAAE,SAAS;AACf,gBAAA,OAAO,EAAE,UAAU;AACpB,aAAA;AACF,SAAA;KACF;AACH;;MCKa,2BAA2B,CAAA;+GAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAA3B,2BAA2B,EAAA,YAAA,EAAA,CAXvB,mBAAmB,CAAA,EAAA,OAAA,EAAA,CAEhC,YAAY;YACZ,mBAAmB;YACnB,uBAAuB;YAEvB,uBAAuB,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA;AAKd,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,2BAA2B,YATpC,YAAY;YACZ,mBAAmB;YACnB,uBAAuB;YAEvB,uBAAuB;AACvB,YAAA,YAAY,CAAC,QAAQ,CAAC,uBAAuB,EAAE,CAAC,CAAA,EAAA,CAAA,CAAA;;4FAIvC,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAZvC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,uBAAuB;AACvB,wBAAA,YAAY,CAAC,QAAQ,CAAC,uBAAuB,EAAE,CAAC;AACjD,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACrBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-nativescript-checkbox.mjs","sources":["../../../../src/ui/nativescript/checkbox/src/checkbox.type.ts","../../../../src/ui/nativescript/checkbox/src/checkbox.config.ts","../../../../src/ui/nativescript/checkbox/src/checkbox.module.ts","../../../../src/ui/nativescript/checkbox/src/ngx-formly-nativescript-checkbox.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';\n\ninterface CheckboxProps extends FormlyFieldProps {}\n\nexport interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {\n type: 'checkbox' | Type<FormlyFieldCheckbox>;\n}\n\n@Component({\n selector: 'formly-field-ns-checkbox',\n template: `\n <GridLayout class=\"input-field input-sides\" rows=\"auto, auto\" columns=\"*,*\">\n <Label class=\"label\" [text]=\"props.label\"></Label>\n <Switch class=\"switch input\" [formlyAttributes]=\"field\" [formControl]=\"formControl\" col=\"1\"></Switch>\n </GridLayout>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {\n override defaultOptions = {\n props: {\n hideLabel: true,\n },\n };\n}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldCheckbox } from './checkbox.type';\n\nexport function withFormlyFieldCheckbox(): ConfigOption {\n return {\n types: [\n {\n name: 'checkbox',\n component: FormlyFieldCheckbox,\n wrappers: ['form-field'],\n },\n {\n name: 'boolean',\n extends: 'checkbox',\n },\n ],\n };\n}\n","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NativeScriptFormsModule } from '@nativescript/angular';\n\nimport { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';\nimport { FormlyFieldCheckbox } from './checkbox.type';\nimport { withFormlyFieldCheckbox } from './checkbox.config';\n\n@NgModule({\n declarations: [FormlyFieldCheckbox],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlyModule.forChild(withFormlyFieldCheckbox()),\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsCheckboxFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAqBM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;AAXlF,IAAA,WAAA,GAAA;;AAYW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,SAAS,EAAE,IAAI;AAChB,aAAA;SACF;AACF,IAAA;+GANY,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,0BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EATpB;;;;;AAKT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,UAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,E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B;YACnB,uBAAuB;YAEvB,uBAAuB;AACvB,YAAA,YAAY,CAAC,QAAQ,CAAC,uBAAuB,EAAE,CAAC,CAAA,EAAA,CAAA,CAAA;;4FAIvC,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAZvC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,uBAAuB;AACvB,wBAAA,YAAY,CAAC,QAAQ,CAAC,uBAAuB,EAAE,CAAC;AACjD,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACrBD;;AAEG;;;;"}
@@ -1,45 +1,49 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, NO_ERRORS_SCHEMA, NgModule } from '@angular/core';
3
- import * as i2 from '@ngx-formly/core';
3
+ import * as i1 from '@ngx-formly/core';
4
4
  import { FieldWrapper, FormlyModule } from '@ngx-formly/core';
5
- import * as i1 from '@angular/common';
6
5
  import { CommonModule } from '@angular/common';
7
6
  import { ReactiveFormsModule } from '@angular/forms';
8
7
  import { NativeScriptFormsModule } from '@nativescript/angular';
9
8
 
10
9
  class FormlyWrapperFormField extends FieldWrapper {
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
12
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormlyWrapperFormField, selector: "formly-wrapper-ns-form-field", usesInheritance: true, ngImport: i0, template: `
10
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
11
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: FormlyWrapperFormField, isStandalone: false, selector: "formly-wrapper-ns-form-field", usesInheritance: true, ngImport: i0, template: `
13
12
  <StackLayout class="form">
14
13
  <StackLayout class="input-field">
15
- <Label *ngIf="props.label && props.hideLabel !== true" class="label" [text]="props.label"></Label>
14
+ @if (props.label && props.hideLabel !== true) {
15
+ <Label class="label" [text]="props.label"></Label>
16
+ }
16
17
  <ng-container #fieldComponent></ng-container>
17
18
  <StackLayout class="hr-light"></StackLayout>
18
- <ng-container *ngIf="showError">
19
+ @if (showError) {
19
20
  <formly-validation-message #validationMessage [field]="field"></formly-validation-message>
20
21
  <Label class="text-danger" [text]="validationMessage.errorMessage"></Label>
21
- </ng-container>
22
+ }
22
23
  </StackLayout>
23
24
  </StackLayout>
24
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.LegacyFormlyValidationMessage, selector: "formly-validation-message" }] }); }
25
+ `, isInline: true, dependencies: [{ kind: "component", type: i1.LegacyFormlyValidationMessage, selector: "formly-validation-message" }] }); }
25
26
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
27
28
  type: Component,
28
29
  args: [{
29
30
  selector: 'formly-wrapper-ns-form-field',
30
31
  template: `
31
32
  <StackLayout class="form">
32
33
  <StackLayout class="input-field">
33
- <Label *ngIf="props.label && props.hideLabel !== true" class="label" [text]="props.label"></Label>
34
+ @if (props.label && props.hideLabel !== true) {
35
+ <Label class="label" [text]="props.label"></Label>
36
+ }
34
37
  <ng-container #fieldComponent></ng-container>
35
38
  <StackLayout class="hr-light"></StackLayout>
36
- <ng-container *ngIf="showError">
39
+ @if (showError) {
37
40
  <formly-validation-message #validationMessage [field]="field"></formly-validation-message>
38
41
  <Label class="text-danger" [text]="validationMessage.errorMessage"></Label>
39
- </ng-container>
42
+ }
40
43
  </StackLayout>
41
44
  </StackLayout>
42
45
  `,
46
+ standalone: false,
43
47
  }]
44
48
  }] });
45
49
 
@@ -55,11 +59,11 @@ function withFormlyFormField() {
55
59
  }
56
60
 
57
61
  class FormlyNsFormFieldModule {
58
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
59
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsFormFieldModule, declarations: [FormlyWrapperFormField], imports: [CommonModule, ReactiveFormsModule, NativeScriptFormsModule, i2.FormlyModule] }); }
60
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsFormFieldModule, imports: [CommonModule, ReactiveFormsModule, NativeScriptFormsModule, FormlyModule.forChild(withFormlyFormField())] }); }
62
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
63
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.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: "19.2.25", ngImport: i0, type: FormlyNsFormFieldModule, imports: [CommonModule, ReactiveFormsModule, NativeScriptFormsModule, FormlyModule.forChild(withFormlyFormField())] }); }
61
65
  }
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsFormFieldModule, decorators: [{
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsFormFieldModule, decorators: [{
63
67
  type: NgModule,
64
68
  args: [{
65
69
  declarations: [FormlyWrapperFormField],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-nativescript-form-field.mjs","sources":["../../../../src/ui/nativescript/form-field/src/form-field.wrapper.ts","../../../../src/ui/nativescript/form-field/src/form-field.config.ts","../../../../src/ui/nativescript/form-field/src/form-field.module.ts","../../../../src/ui/nativescript/form-field/src/ngx-formly-nativescript-form-field.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { FieldWrapper, FormlyFieldConfig, FormlyFieldProps as CoreFormlyFieldProps } from '@ngx-formly/core';\n\nexport interface FormlyFieldProps extends CoreFormlyFieldProps {\n hideLabel?: boolean;\n}\n\n@Component({\n selector: 'formly-wrapper-ns-form-field',\n template: `\n <StackLayout class=\"form\">\n <StackLayout class=\"input-field\">\n <Label *ngIf=\"props.label && props.hideLabel !== true\" class=\"label\" [text]=\"props.label\"></Label>\n <ng-container #fieldComponent></ng-container>\n <StackLayout class=\"hr-light\"></StackLayout>\n <ng-container *ngIf=\"showError\">\n <formly-validation-message #validationMessage [field]=\"field\"></formly-validation-message>\n <Label class=\"text-danger\" [text]=\"validationMessage.errorMessage\"></Label>\n </ng-container>\n </StackLayout>\n </StackLayout>\n `,\n})\nexport class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyWrapperFormField } from './form-field.wrapper';\n\nexport function withFormlyFormField(): ConfigOption {\n return {\n wrappers: [\n {\n name: 'form-field',\n component: FormlyWrapperFormField,\n },\n ],\n };\n}\n","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NativeScriptFormsModule } from '@nativescript/angular';\nimport { FormlyWrapperFormField } from './form-field.wrapper';\nimport { withFormlyFormField } from './form-field.config';\n\n@NgModule({\n declarations: [FormlyWrapperFormField],\n imports: [CommonModule, ReactiveFormsModule, NativeScriptFormsModule, FormlyModule.forChild(withFormlyFormField())],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsFormFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;AAuBM,MAAO,sBAAuB,SAAQ,YAAiD,CAAA;+GAAhF,sBAAsB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,EAdvB,QAAA,EAAA,8BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA;;;;;;;;;;;;AAYT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,6BAAA,EAAA,QAAA,EAAA,2BAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAEU,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAhBlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,8BAA8B;AACxC,oBAAA,QAAQ,E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AC;AAC5B,iBAAA;;;ACZD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-nativescript-form-field.mjs","sources":["../../../../src/ui/nativescript/form-field/src/form-field.wrapper.ts","../../../../src/ui/nativescript/form-field/src/form-field.config.ts","../../../../src/ui/nativescript/form-field/src/form-field.module.ts","../../../../src/ui/nativescript/form-field/src/ngx-formly-nativescript-form-field.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { FieldWrapper, FormlyFieldConfig, FormlyFieldProps as CoreFormlyFieldProps } from '@ngx-formly/core';\n\nexport interface FormlyFieldProps extends CoreFormlyFieldProps {\n hideLabel?: boolean;\n}\n\n@Component({\n selector: 'formly-wrapper-ns-form-field',\n template: `\n <StackLayout class=\"form\">\n <StackLayout class=\"input-field\">\n @if (props.label && props.hideLabel !== true) {\n <Label class=\"label\" [text]=\"props.label\"></Label>\n }\n <ng-container #fieldComponent></ng-container>\n <StackLayout class=\"hr-light\"></StackLayout>\n @if (showError) {\n <formly-validation-message #validationMessage [field]=\"field\"></formly-validation-message>\n <Label class=\"text-danger\" [text]=\"validationMessage.errorMessage\"></Label>\n }\n </StackLayout>\n </StackLayout>\n `,\n standalone: false,\n})\nexport class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyWrapperFormField } from './form-field.wrapper';\n\nexport function withFormlyFormField(): ConfigOption {\n return {\n wrappers: [\n {\n name: 'form-field',\n component: FormlyWrapperFormField,\n },\n ],\n };\n}\n","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NativeScriptFormsModule } from '@nativescript/angular';\nimport { FormlyWrapperFormField } from './form-field.wrapper';\nimport { withFormlyFormField } from './form-field.config';\n\n@NgModule({\n declarations: [FormlyWrapperFormField],\n imports: [CommonModule, ReactiveFormsModule, NativeScriptFormsModule, FormlyModule.forChild(withFormlyFormField())],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsFormFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AA0BM,MAAO,sBAAuB,SAAQ,YAAiD,CAAA;+GAAhF,sBAAsB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,8BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAjBvB;;;;;;;;;;;;;;AAcT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,6BAAA,EAAA,QAAA,EAAA,2BAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAGU,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAnBlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,8BAA8B;AACxC,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;AAcT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,KAAK;AAClB,iBAAA;;;SCtBe,mBAAmB,GAAA;IACjC,OAAO;AACL,QAAA,QAAQ,EAAE;AACR,YAAA;AACE,gBAAA,IAAI,EAAE,YAAY;AAClB,gBAAA,SAAS,EAAE,sBAAsB;AAClC,aAAA;AACF,SAAA;KACF;AACH;;MCCa,uBAAuB,CAAA;+GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAvB,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,uBAAuB,iBAJnB,sBAAsB,CAAA,EAAA,OAAA,EAAA,CAC3B,YAAY,EAAE,mBAAmB,EAAE,uBAAuB,EAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA;AAGzD,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,uBAAuB,EAAA,OAAA,EAAA,CAHxB,YAAY,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,YAAY,CAAC,QAAQ,CAAC,mBAAmB,EAAE,CAAC,CAAA,EAAA,CAAA,CAAA;;4FAGvG,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,YAAY,CAAC,QAAQ,CAAC,mBAAmB,EAAE,CAAC,CAAC;oBACnH,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACZD;;AAEG;;;;"}
@@ -18,31 +18,32 @@ 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: "18.2.13", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
22
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormlyFieldRadio, selector: "formly-field-ns-radio", usesInheritance: true, ngImport: i0, template: `
23
- <ng-container *ngFor="let option of props.options | formlySelectOptions: field | async">
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
22
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: FormlyFieldRadio, isStandalone: false, selector: "formly-field-ns-radio", usesInheritance: true, ngImport: i0, template: `
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>
26
26
  <Switch col="1" class="switch input" [checked]="formControl.value === option.value" (tap)="tap(option.value)">
27
27
  </Switch>
28
28
  </GridLayout>
29
- </ng-container>
30
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.LegacyFormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
29
+ }
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: "18.2.13", ngImport: i0, type: FormlyFieldRadio, decorators: [{
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyFieldRadio, decorators: [{
33
33
  type: Component,
34
34
  args: [{
35
35
  selector: 'formly-field-ns-radio',
36
36
  template: `
37
- <ng-container *ngFor="let option of props.options | formlySelectOptions: field | async">
37
+ @for (option of props.options | formlySelectOptions: field | async; track option) {
38
38
  <GridLayout class="input-field input-sides" rows="auto, auto" columns="*,*">
39
39
  <Label class="label" [text]="option.label"></Label>
40
40
  <Switch col="1" class="switch input" [checked]="formControl.value === option.value" (tap)="tap(option.value)">
41
41
  </Switch>
42
42
  </GridLayout>
43
- </ng-container>
43
+ }
44
44
  `,
45
45
  changeDetection: ChangeDetectionStrategy.OnPush,
46
+ standalone: false,
46
47
  }]
47
48
  }] });
48
49
 
@@ -59,20 +60,20 @@ function withFormlyFieldRadio() {
59
60
  }
60
61
 
61
62
  class FormlyNsRadioFieldModule {
62
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsRadioFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
63
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsRadioFieldModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
63
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsRadioFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
64
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsRadioFieldModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
64
65
  ReactiveFormsModule,
65
66
  NativeScriptFormsModule,
66
67
  FormlyNsFormFieldModule,
67
68
  FormlySelectModule, i1$1.FormlyModule] }); }
68
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsRadioFieldModule, imports: [CommonModule,
69
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsRadioFieldModule, imports: [CommonModule,
69
70
  ReactiveFormsModule,
70
71
  NativeScriptFormsModule,
71
72
  FormlyNsFormFieldModule,
72
73
  FormlySelectModule,
73
74
  FormlyModule.forChild(withFormlyFieldRadio())] }); }
74
75
  }
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsRadioFieldModule, decorators: [{
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsRadioFieldModule, decorators: [{
76
77
  type: NgModule,
77
78
  args: [{
78
79
  declarations: [FormlyFieldRadio],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-nativescript-radio.mjs","sources":["../../../../src/ui/nativescript/radio/src/radio.type.ts","../../../../src/ui/nativescript/radio/src/radio.config.ts","../../../../src/ui/nativescript/radio/src/radio.module.ts","../../../../src/ui/nativescript/radio/src/ngx-formly-nativescript-radio.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';\n\ntype RadioProps = FormlyFieldProps;\n\nexport interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {\n type: 'radio' | Type<FormlyFieldRadio>;\n}\n\n@Component({\n selector: 'formly-field-ns-radio',\n template: `\n <ng-container *ngFor=\"let option of props.options | formlySelectOptions: field | async\">\n <GridLayout class=\"input-field input-sides\" rows=\"auto, auto\" columns=\"*,*\">\n <Label class=\"label\" [text]=\"option.label\"></Label>\n <Switch col=\"1\" class=\"switch input\" [checked]=\"formControl.value === option.value\" (tap)=\"tap(option.value)\">\n </Switch>\n </GridLayout>\n </ng-container>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {\n tap(id: any) {\n const value = this.formControl.value === id ? null : id;\n setTimeout(() => {\n this.formControl.patchValue(value);\n this.formControl.markAsTouched();\n }, 100);\n }\n}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldRadio } from './radio.type';\n\nexport function withFormlyFieldRadio(): ConfigOption {\n return {\n types: [\n {\n name: 'radio',\n component: FormlyFieldRadio,\n wrappers: ['form-field'],\n },\n ],\n };\n}\n","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlySelectModule } from '@ngx-formly/core/select';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NativeScriptFormsModule } from '@nativescript/angular';\n\nimport { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';\nimport { FormlyFieldRadio } from './radio.type';\nimport { withFormlyFieldRadio } from './radio.config';\n\n@NgModule({\n declarations: [FormlyFieldRadio],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild(withFormlyFieldRadio()),\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsRadioFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAuBM,MAAO,gBAAiB,SAAQ,SAAsC,CAAA;AAC1E,IAAA,GAAG,CAAC,EAAO,EAAA;AACT,QAAA,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,KAAK,EAAE,GAAG,IAAI,GAAG,EAAE;QACvD,UAAU,CAAC,MAAK;AACd,YAAA,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,KAAK,CAAC;AAClC,YAAA,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE;SACjC,EAAE,GAAG,CAAC;;+GANE,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA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A,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAxB,wBAAwB,EAAA,YAAA,EAAA,CAZpB,gBAAgB,CAAA,EAAA,OAAA,EAAA,CAE7B,YAAY;YACZ,mBAAmB;YACnB,uBAAuB;YAEvB,uBAAuB;YACvB,kBAAkB,EAAAA,IAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA;AAKT,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,YAVjC,YAAY;YACZ,mBAAmB;YACnB,uBAAuB;YAEvB,uBAAuB;YACvB,kBAAkB;AAClB,YAAA,YAAY,CAAC,QAAQ,CAAC,oBAAoB,EAAE,CAAC,CAAA,EAAA,CAAA,CAAA;;4FAIpC,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAbpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,uBAAuB;wBACvB,kBAAkB;AAClB,wBAAA,YAAY,CAAC,QAAQ,CAAC,oBAAoB,EAAE,CAAC;AAC9C,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACvBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-nativescript-radio.mjs","sources":["../../../../src/ui/nativescript/radio/src/radio.type.ts","../../../../src/ui/nativescript/radio/src/radio.config.ts","../../../../src/ui/nativescript/radio/src/radio.module.ts","../../../../src/ui/nativescript/radio/src/ngx-formly-nativescript-radio.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';\n\ntype RadioProps = FormlyFieldProps;\n\nexport interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {\n type: 'radio' | Type<FormlyFieldRadio>;\n}\n\n@Component({\n selector: 'formly-field-ns-radio',\n template: `\n @for (option of props.options | formlySelectOptions: field | async; track option) {\n <GridLayout class=\"input-field input-sides\" rows=\"auto, auto\" columns=\"*,*\">\n <Label class=\"label\" [text]=\"option.label\"></Label>\n <Switch col=\"1\" class=\"switch input\" [checked]=\"formControl.value === option.value\" (tap)=\"tap(option.value)\">\n </Switch>\n </GridLayout>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {\n tap(id: any) {\n const value = this.formControl.value === id ? null : id;\n setTimeout(() => {\n this.formControl.patchValue(value);\n this.formControl.markAsTouched();\n }, 100);\n }\n}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldRadio } from './radio.type';\n\nexport function withFormlyFieldRadio(): ConfigOption {\n return {\n types: [\n {\n name: 'radio',\n component: FormlyFieldRadio,\n wrappers: ['form-field'],\n },\n ],\n };\n}\n","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlySelectModule } from '@ngx-formly/core/select';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NativeScriptFormsModule } from '@nativescript/angular';\n\nimport { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';\nimport { FormlyFieldRadio } from './radio.type';\nimport { withFormlyFieldRadio } from './radio.config';\n\n@NgModule({\n declarations: [FormlyFieldRadio],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild(withFormlyFieldRadio()),\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AmB;wBACnB,uBAAuB;wBAEvB,uBAAuB;wBACvB,kBAAkB;AAClB,wBAAA,YAAY,CAAC,QAAQ,CAAC,oBAAoB,EAAE,CAAC;AAC9C,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACvBD;;AAEG;;;;"}
@@ -21,23 +21,24 @@ 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: "18.2.13", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
25
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormlyFieldSelect, selector: "formly-field-ns-select", usesInheritance: true, ngImport: i0, template: `
26
- <ng-container *ngIf="props.options | formlySelectOptions: field | async as options">
24
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
25
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: FormlyFieldSelect, isStandalone: false, selector: "formly-field-ns-select", usesInheritance: true, ngImport: i0, template: `
26
+ @if (props.options | formlySelectOptions: field | async; as options) {
27
27
  <Button (tap)="tap(options)" [text]="selectedItem(options)"></Button>
28
- </ng-container>
29
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.LegacyFormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
28
+ }
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: "18.2.13", ngImport: i0, type: FormlyFieldSelect, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyFieldSelect, decorators: [{
32
32
  type: Component,
33
33
  args: [{
34
34
  selector: 'formly-field-ns-select',
35
35
  template: `
36
- <ng-container *ngIf="props.options | formlySelectOptions: field | async as options">
36
+ @if (props.options | formlySelectOptions: field | async; as options) {
37
37
  <Button (tap)="tap(options)" [text]="selectedItem(options)"></Button>
38
- </ng-container>
38
+ }
39
39
  `,
40
40
  changeDetection: ChangeDetectionStrategy.OnPush,
41
+ standalone: false,
41
42
  }]
42
43
  }] });
43
44
 
@@ -55,20 +56,20 @@ function withFormlyFieldSelect() {
55
56
  }
56
57
 
57
58
  class FormlyNsSelectFieldModule {
58
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsSelectFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
59
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsSelectFieldModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsSelectFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
60
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsSelectFieldModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
60
61
  ReactiveFormsModule,
61
62
  NativeScriptFormsModule,
62
63
  FormlyNsFormFieldModule,
63
64
  FormlySelectModule, i1$1.FormlyModule] }); }
64
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsSelectFieldModule, imports: [CommonModule,
65
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsSelectFieldModule, imports: [CommonModule,
65
66
  ReactiveFormsModule,
66
67
  NativeScriptFormsModule,
67
68
  FormlyNsFormFieldModule,
68
69
  FormlySelectModule,
69
70
  FormlyModule.forChild(withFormlyFieldSelect())] }); }
70
71
  }
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsSelectFieldModule, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsSelectFieldModule, decorators: [{
72
73
  type: NgModule,
73
74
  args: [{
74
75
  declarations: [FormlyFieldSelect],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-nativescript-select.mjs","sources":["../../../../src/ui/nativescript/select/src/select.type.ts","../../../../src/ui/nativescript/select/src/select.config.ts","../../../../src/ui/nativescript/select/src/select.module.ts","../../../../src/ui/nativescript/select/src/ngx-formly-nativescript-select.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { action } from '@nativescript/core/ui/dialogs';\nimport { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';\nimport { FormlyFieldSelectProps } from '@ngx-formly/core/select';\n\ninterface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {}\n\nexport interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {\n type: 'select' | Type<FormlyFieldSelect>;\n}\n\n@Component({\n selector: 'formly-field-ns-select',\n template: `\n <ng-container *ngIf=\"props.options | formlySelectOptions: field | async as options\">\n <Button (tap)=\"tap(options)\" [text]=\"selectedItem(options)\"></Button>\n </ng-container>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {\n tap(options: any[]) {\n action({ title: this.props.label, actions: options.map((o) => o.label) }).then((selectedAction) =>\n this.formControl.patchValue(options.find((o) => o.label === selectedAction).value),\n );\n }\n\n selectedItem(options: any[]) {\n if (this.formControl.value) {\n return options.find((o) => o.value === this.formControl.value).label;\n }\n\n return this.props.placeholder;\n }\n}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldSelect } from './select.type';\n\nexport function withFormlyFieldSelect(): ConfigOption {\n return {\n types: [\n {\n name: 'select',\n component: FormlyFieldSelect,\n wrappers: ['form-field'],\n },\n { name: 'enum', extends: 'select' },\n ],\n };\n}\n","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlySelectModule } from '@ngx-formly/core/select';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NativeScriptFormsModule } from '@nativescript/angular';\n\nimport { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';\nimport { FormlyFieldSelect } from './select.type';\nimport { withFormlyFieldSelect } from './select.config';\n\n@NgModule({\n declarations: [FormlyFieldSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild(withFormlyFieldSelect()),\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsSelectFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;AAqBM,MAAO,iBAAkB,SAAQ,SAAuC,CAAA;AAC5E,IAAA,GAAG,CAAC,OAAc,EAAA;AAChB,QAAA,MAAM,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE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CAAC,CAAA,EAAA,CAAA,CAAA;;4FAIrC,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAbrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,uBAAuB;wBACvB,kBAAkB;AAClB,wBAAA,YAAY,CAAC,QAAQ,CAAC,qBAAqB,EAAE,CAAC;AAC/C,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACvBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-nativescript-select.mjs","sources":["../../../../src/ui/nativescript/select/src/select.type.ts","../../../../src/ui/nativescript/select/src/select.config.ts","../../../../src/ui/nativescript/select/src/select.module.ts","../../../../src/ui/nativescript/select/src/ngx-formly-nativescript-select.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { action } from '@nativescript/core/ui/dialogs';\nimport { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';\nimport { FormlyFieldSelectProps } from '@ngx-formly/core/select';\n\ninterface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {}\n\nexport interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {\n type: 'select' | Type<FormlyFieldSelect>;\n}\n\n@Component({\n selector: 'formly-field-ns-select',\n template: `\n @if (props.options | formlySelectOptions: field | async; as options) {\n <Button (tap)=\"tap(options)\" [text]=\"selectedItem(options)\"></Button>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {\n tap(options: any[]) {\n action({ title: this.props.label, actions: options.map((o) => o.label) }).then((selectedAction) =>\n this.formControl.patchValue(options.find((o) => o.label === selectedAction).value),\n );\n }\n\n selectedItem(options: any[]) {\n if (this.formControl.value) {\n return options.find((o) => o.value === this.formControl.value).label;\n }\n\n return this.props.placeholder;\n }\n}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldSelect } from './select.type';\n\nexport function withFormlyFieldSelect(): ConfigOption {\n return {\n types: [\n {\n name: 'select',\n component: FormlyFieldSelect,\n wrappers: ['form-field'],\n },\n { name: 'enum', extends: 'select' },\n ],\n };\n}\n","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlySelectModule } from '@ngx-formly/core/select';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NativeScriptFormsModule } from '@nativescript/angular';\n\nimport { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';\nimport { FormlyFieldSelect } from './select.type';\nimport { withFormlyFieldSelect } from './select.config';\n\n@NgModule({\n declarations: [FormlyFieldSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild(withFormlyFieldSelect()),\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsSelectFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;AAsBM,MAAO,iBAAkB,SAAQ,SAAuC,CAAA;AAC5E,IAAA,GAAG,CAAC,OAAc,EAAA;AAChB,QAAA,MAAM,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,KAC5F,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK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AAQ,CAAC,qBAAqB,EAAE,CAAC;AAC/C,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACvBD;;AAEG;;;;"}
@@ -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: "18.2.13", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormlyFieldInput, selector: "formly-field-ns-input", usesInheritance: true, ngImport: i0, template: `
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.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: "18.2.13", ngImport: i0, type: FormlyFieldInput, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyFieldInput, decorators: [{
28
28
  type: Component,
29
29
  args: [{
30
30
  selector: 'formly-field-ns-input',
@@ -41,6 +41,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
41
41
  </TextField>
42
42
  `,
43
43
  changeDetection: ChangeDetectionStrategy.OnPush,
44
+ standalone: false,
44
45
  }]
45
46
  }] });
46
47
 
@@ -77,18 +78,18 @@ function withFormlyFieldInput() {
77
78
  }
78
79
 
79
80
  class FormlyNsTextFieldModule {
80
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsTextFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
81
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsTextFieldModule, declarations: [FormlyFieldInput], imports: [CommonModule,
81
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsTextFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
82
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsTextFieldModule, declarations: [FormlyFieldInput], imports: [CommonModule,
82
83
  ReactiveFormsModule,
83
84
  NativeScriptFormsModule,
84
85
  FormlyNsFormFieldModule, i3.FormlyModule] }); }
85
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsTextFieldModule, imports: [CommonModule,
86
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsTextFieldModule, imports: [CommonModule,
86
87
  ReactiveFormsModule,
87
88
  NativeScriptFormsModule,
88
89
  FormlyNsFormFieldModule,
89
90
  FormlyModule.forChild(withFormlyFieldInput())] }); }
90
91
  }
91
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsTextFieldModule, decorators: [{
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsTextFieldModule, decorators: [{
92
93
  type: NgModule,
93
94
  args: [{
94
95
  declarations: [FormlyFieldInput],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-nativescript-text-field.mjs","sources":["../../../../src/ui/nativescript/text-field/src/text-field.type.ts","../../../../src/ui/nativescript/text-field/src/text-field.config.ts","../../../../src/ui/nativescript/text-field/src/text-field.module.ts","../../../../src/ui/nativescript/text-field/src/ngx-formly-nativescript-text-field.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';\n\ninterface InputProps extends FormlyFieldProps {\n autocorrect?: boolean;\n secure?: boolean;\n hint?: string;\n keyboardType?: any;\n}\n\nexport interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {\n type: 'input' | Type<FormlyFieldInput>;\n}\n\n@Component({\n selector: 'formly-field-ns-input',\n template: `\n <TextField\n class=\"input\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n [autocorrect]=\"props.autocorrect\"\n [secure]=\"props.secure\"\n [hint]=\"props.hint\"\n [keyboardType]=\"props.keyboardType\"\n >\n </TextField>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldInput } from './text-field.type';\n\nexport function withFormlyFieldInput(): ConfigOption {\n return {\n types: [\n {\n name: 'text-field',\n component: FormlyFieldInput,\n wrappers: ['form-field'],\n },\n { name: 'input', extends: 'text-field' },\n { name: 'string', extends: 'input' },\n {\n name: 'number',\n extends: 'input',\n defaultOptions: {\n props: {\n type: 'number',\n },\n },\n },\n {\n name: 'integer',\n extends: 'input',\n defaultOptions: {\n props: {\n type: 'number',\n },\n },\n },\n ],\n };\n}\n","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NativeScriptFormsModule } from '@nativescript/angular';\n\nimport { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';\nimport { FormlyFieldInput } from './text-field.type';\nimport { withFormlyFieldInput } from './text-field.config';\n\n@NgModule({\n declarations: [FormlyFieldInput],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlyModule.forChild(withFormlyFieldInput()),\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsTextFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AA+BM,MAAO,gBAAiB,SAAQ,SAAsC,CAAA;+GAA/D,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAA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B,EAAE,CAAC,CAAA,EAAA,CAAA,CAAA;;4FAIpC,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAZnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,uBAAuB;AACvB,wBAAA,YAAY,CAAC,QAAQ,CAAC,oBAAoB,EAAE,CAAC;AAC9C,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACrBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-nativescript-text-field.mjs","sources":["../../../../src/ui/nativescript/text-field/src/text-field.type.ts","../../../../src/ui/nativescript/text-field/src/text-field.config.ts","../../../../src/ui/nativescript/text-field/src/text-field.module.ts","../../../../src/ui/nativescript/text-field/src/ngx-formly-nativescript-text-field.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';\n\ninterface InputProps extends FormlyFieldProps {\n autocorrect?: boolean;\n secure?: boolean;\n hint?: string;\n keyboardType?: any;\n}\n\nexport interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {\n type: 'input' | Type<FormlyFieldInput>;\n}\n\n@Component({\n selector: 'formly-field-ns-input',\n template: `\n <TextField\n class=\"input\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n [autocorrect]=\"props.autocorrect\"\n [secure]=\"props.secure\"\n [hint]=\"props.hint\"\n [keyboardType]=\"props.keyboardType\"\n >\n </TextField>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldInput } from './text-field.type';\n\nexport function withFormlyFieldInput(): ConfigOption {\n return {\n types: [\n {\n name: 'text-field',\n component: FormlyFieldInput,\n wrappers: ['form-field'],\n },\n { name: 'input', extends: 'text-field' },\n { name: 'string', extends: 'input' },\n {\n name: 'number',\n extends: 'input',\n defaultOptions: {\n props: {\n type: 'number',\n },\n },\n },\n {\n name: 'integer',\n extends: 'input',\n defaultOptions: {\n props: {\n type: 'number',\n },\n },\n },\n ],\n };\n}\n","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NativeScriptFormsModule } from '@nativescript/angular';\n\nimport { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';\nimport { FormlyFieldInput } from './text-field.type';\nimport { withFormlyFieldInput } from './text-field.config';\n\n@NgModule({\n declarations: [FormlyFieldInput],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlyModule.forChild(withFormlyFieldInput()),\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsTextFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAgCM,MAAO,gBAAiB,SAAQ,SAAsC,CAAA;+GAA/D,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAfjB;;;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AAuB;AACvB,wBAAA,YAAY,CAAC,QAAQ,CAAC,oBAAoB,EAAE,CAAC;AAC9C,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACrBD;;AAEG;;;;"}
@@ -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: "18.2.13", ngImport: i0, type: FormlyFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormlyFieldTextArea, selector: "formly-field-ns-textarea", usesInheritance: true, ngImport: i0, template: `
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: FormlyFieldTextArea, isStandalone: false, selector: "formly-field-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: "18.2.13", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
27
27
  type: Component,
28
28
  args: [{
29
29
  selector: 'formly-field-ns-textarea',
@@ -39,6 +39,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
39
39
  </TextView>
40
40
  `,
41
41
  changeDetection: ChangeDetectionStrategy.OnPush,
42
+ standalone: false,
42
43
  }]
43
44
  }] });
44
45
 
@@ -55,18 +56,18 @@ function withFormlyFieldTextArea() {
55
56
  }
56
57
 
57
58
  class FormlyNsTextAreaFieldModule {
58
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsTextAreaFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
59
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsTextAreaFieldModule, declarations: [FormlyFieldTextArea], imports: [CommonModule,
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsTextAreaFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
60
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsTextAreaFieldModule, declarations: [FormlyFieldTextArea], imports: [CommonModule,
60
61
  ReactiveFormsModule,
61
62
  NativeScriptFormsModule,
62
63
  FormlyNsFormFieldModule, i3.FormlyModule] }); }
63
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsTextAreaFieldModule, imports: [CommonModule,
64
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsTextAreaFieldModule, imports: [CommonModule,
64
65
  ReactiveFormsModule,
65
66
  NativeScriptFormsModule,
66
67
  FormlyNsFormFieldModule,
67
68
  FormlyModule.forChild(withFormlyFieldTextArea())] }); }
68
69
  }
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyNsTextAreaFieldModule, decorators: [{
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyNsTextAreaFieldModule, decorators: [{
70
71
  type: NgModule,
71
72
  args: [{
72
73
  declarations: [FormlyFieldTextArea],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-nativescript-textarea.mjs","sources":["../../../../src/ui/nativescript/textarea/src/textarea.type.ts","../../../../src/ui/nativescript/textarea/src/textarea.config.ts","../../../../src/ui/nativescript/textarea/src/textarea.module.ts","../../../../src/ui/nativescript/textarea/src/public_api.ts","../../../../src/ui/nativescript/textarea/src/ngx-formly-nativescript-textarea.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';\n\ninterface TextAreaProps extends FormlyFieldProps {\n hint?: string;\n autocorrect?: boolean;\n keyboardType?: any;\n}\n\nexport interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {\n type: 'textarea' | Type<FormlyFieldTextArea>;\n}\n\n@Component({\n selector: 'formly-field-ns-textarea',\n template: `\n <TextView\n class=\"input\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n [hint]=\"props.hint\"\n [autocorrect]=\"props.autocorrect\"\n [keyboardType]=\"props.keyboardType\"\n >\n </TextView>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldTextArea } from './textarea.type';\n\nexport function withFormlyFieldTextArea(): ConfigOption {\n return {\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextArea,\n wrappers: ['form-field'],\n },\n ],\n };\n}\n","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NativeScriptFormsModule } from '@nativescript/angular';\n\nimport { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';\nimport { FormlyFieldTextArea } from './textarea.type';\nimport { withFormlyFieldTextArea } from './textarea.config';\n\n@NgModule({\n declarations: [FormlyFieldTextArea],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlyModule.forChild(withFormlyFieldTextArea()),\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsTextAreaFieldModule {}\n","export { withFormlyFieldTextArea } from './textarea.config';\nimport { FormlyNsTextAreaFieldModule } from './textarea.module';\nexport { FormlyTextAreaFieldConfig } from './textarea.type';\n\n/** @deprecated use FormlyFieldDatePicker */\nconst FormlyNsTextareaFieldModule = FormlyNsTextAreaFieldModule;\n\nexport { FormlyNsTextAreaFieldModule, Forml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C;AACjD,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACjBD;AACM,MAAA,2BAA2B,GAAG;;ACLpC;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-nativescript-textarea.mjs","sources":["../../../../src/ui/nativescript/textarea/src/textarea.type.ts","../../../../src/ui/nativescript/textarea/src/textarea.config.ts","../../../../src/ui/nativescript/textarea/src/textarea.module.ts","../../../../src/ui/nativescript/textarea/src/public_api.ts","../../../../src/ui/nativescript/textarea/src/ngx-formly-nativescript-textarea.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';\n\ninterface TextAreaProps extends FormlyFieldProps {\n hint?: string;\n autocorrect?: boolean;\n keyboardType?: any;\n}\n\nexport interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {\n type: 'textarea' | Type<FormlyFieldTextArea>;\n}\n\n@Component({\n selector: 'formly-field-ns-textarea',\n template: `\n <TextView\n class=\"input\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n [hint]=\"props.hint\"\n [autocorrect]=\"props.autocorrect\"\n [keyboardType]=\"props.keyboardType\"\n >\n </TextView>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldTextArea } from './textarea.type';\n\nexport function withFormlyFieldTextArea(): ConfigOption {\n return {\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextArea,\n wrappers: ['form-field'],\n },\n ],\n };\n}\n","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NativeScriptFormsModule } from '@nativescript/angular';\n\nimport { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';\nimport { FormlyFieldTextArea } from './textarea.type';\nimport { withFormlyFieldTextArea } from './textarea.config';\n\n@NgModule({\n declarations: [FormlyFieldTextArea],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlyModule.forChild(withFormlyFieldTextArea()),\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsTextAreaFieldModule {}\n","export { withFormlyFieldTextArea } from './textarea.config';\nimport { FormlyNsTextAreaFieldModule } from './textarea.module';\nexport { FormlyTextAreaFieldConfig } from './textarea.type';\n\n/** @deprecated use FormlyFieldDatePicker */\nconst FormlyNsTextareaFieldModule = FormlyNsTextAreaFieldModule;\n\nexport { FormlyNsTextAreaFieldModule, FormlyNsTextareaFieldModule };\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AA8BM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;+GAArE,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,0BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAdpB;;;;;;;;;;AAUT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,E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