@ngx-formly/nativescript 5.12.3 → 6.0.0-beta.2
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 +9 -6
- package/checkbox/checkbox.module.d.ts +10 -0
- package/checkbox/checkbox.type.d.ts +14 -3
- package/checkbox/ngx-formly-nativescript-checkbox.d.ts +1 -1
- package/checkbox/package.json +6 -9
- package/checkbox/public_api.d.ts +1 -0
- package/esm2020/checkbox/checkbox.module.mjs +62 -0
- package/esm2020/checkbox/checkbox.type.mjs +37 -0
- package/esm2020/checkbox/ngx-formly-nativescript-checkbox.mjs +5 -0
- package/esm2020/checkbox/public_api.mjs +2 -0
- package/esm2020/form-field/form-field.module.mjs +48 -0
- package/esm2020/form-field/form-field.wrapper.mjs +41 -0
- package/esm2020/form-field/ngx-formly-nativescript-form-field.mjs +5 -0
- package/esm2020/form-field/public_api.mjs +2 -0
- package/esm2020/lib/ui-nativescipt.mjs +2 -0
- package/esm2020/lib/ui-nativescript.module.mjs +25 -0
- package/esm2020/ngx-formly-nativescript.mjs +5 -0
- package/esm2020/public_api.mjs +5 -0
- package/esm2020/radio/ngx-formly-nativescript-radio.mjs +5 -0
- package/esm2020/radio/public_api.mjs +2 -0
- package/esm2020/radio/radio.module.mjs +58 -0
- package/esm2020/radio/radio.type.mjs +41 -0
- package/esm2020/select/ngx-formly-nativescript-select.mjs +5 -0
- package/esm2020/select/public_api.mjs +2 -0
- package/esm2020/select/select.module.mjs +60 -0
- package/esm2020/select/select.type.mjs +36 -0
- package/esm2020/text-field/ngx-formly-nativescript-text-field.mjs +5 -0
- package/esm2020/text-field/public_api.mjs +2 -0
- package/esm2020/text-field/text-field.module.mjs +94 -0
- package/esm2020/text-field/text-field.type.mjs +41 -0
- package/esm2020/textarea/ngx-formly-nativescript-textarea.mjs +5 -0
- package/esm2020/textarea/public_api.mjs +5 -0
- package/esm2020/textarea/textarea.module.mjs +54 -0
- package/esm2020/textarea/textarea.type.mjs +39 -0
- package/fesm2015/ngx-formly-nativescript-checkbox.mjs +101 -0
- package/fesm2015/ngx-formly-nativescript-checkbox.mjs.map +1 -0
- package/fesm2015/ngx-formly-nativescript-form-field.mjs +91 -0
- package/fesm2015/ngx-formly-nativescript-form-field.mjs.map +1 -0
- package/fesm2015/ngx-formly-nativescript-radio.mjs +102 -0
- package/fesm2015/ngx-formly-nativescript-radio.mjs.map +1 -0
- package/fesm2015/ngx-formly-nativescript-select.mjs +99 -0
- package/fesm2015/ngx-formly-nativescript-select.mjs.map +1 -0
- package/fesm2015/ngx-formly-nativescript-text-field.mjs +137 -0
- package/fesm2015/ngx-formly-nativescript-text-field.mjs.map +1 -0
- package/fesm2015/ngx-formly-nativescript-textarea.mjs +98 -0
- package/fesm2015/ngx-formly-nativescript-textarea.mjs.map +1 -0
- package/fesm2015/ngx-formly-nativescript.mjs +35 -0
- package/fesm2015/ngx-formly-nativescript.mjs.map +1 -0
- package/fesm2020/ngx-formly-nativescript-checkbox.mjs +101 -0
- package/fesm2020/ngx-formly-nativescript-checkbox.mjs.map +1 -0
- package/fesm2020/ngx-formly-nativescript-form-field.mjs +91 -0
- package/fesm2020/ngx-formly-nativescript-form-field.mjs.map +1 -0
- package/fesm2020/ngx-formly-nativescript-radio.mjs +102 -0
- package/fesm2020/ngx-formly-nativescript-radio.mjs.map +1 -0
- package/fesm2020/ngx-formly-nativescript-select.mjs +99 -0
- package/fesm2020/ngx-formly-nativescript-select.mjs.map +1 -0
- package/fesm2020/ngx-formly-nativescript-text-field.mjs +137 -0
- package/fesm2020/ngx-formly-nativescript-text-field.mjs.map +1 -0
- package/fesm2020/ngx-formly-nativescript-textarea.mjs +98 -0
- package/fesm2020/ngx-formly-nativescript-textarea.mjs.map +1 -0
- package/fesm2020/ngx-formly-nativescript.mjs +35 -0
- package/fesm2020/ngx-formly-nativescript.mjs.map +1 -0
- package/form-field/form-field.module.d.ts +9 -0
- package/form-field/form-field.wrapper.d.ts +8 -3
- package/form-field/ngx-formly-nativescript-form-field.d.ts +1 -1
- package/form-field/package.json +6 -9
- package/form-field/public_api.d.ts +1 -0
- package/ngx-formly-nativescript.d.ts +1 -0
- package/package.json +79 -31
- package/radio/ngx-formly-nativescript-radio.d.ts +1 -1
- package/radio/package.json +6 -9
- package/radio/public_api.d.ts +1 -0
- package/radio/radio.module.d.ts +11 -0
- package/radio/radio.type.d.ts +13 -2
- package/select/ngx-formly-nativescript-select.d.ts +1 -1
- package/select/package.json +6 -9
- package/select/public_api.d.ts +1 -0
- package/select/select.module.d.ts +11 -0
- package/select/select.type.d.ts +16 -4
- package/text-field/ngx-formly-nativescript-text-field.d.ts +1 -1
- package/text-field/package.json +6 -9
- package/text-field/public_api.d.ts +1 -0
- package/text-field/text-field.module.d.ts +10 -0
- package/text-field/text-field.type.d.ts +17 -2
- package/textarea/ngx-formly-nativescript-textarea.d.ts +1 -1
- package/textarea/package.json +6 -9
- package/textarea/public_api.d.ts +5 -1
- package/textarea/textarea.module.d.ts +11 -1
- package/textarea/textarea.type.d.ts +16 -2
- package/bundles/ngx-formly-nativescript-checkbox.umd.js +0 -108
- package/bundles/ngx-formly-nativescript-checkbox.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-checkbox.umd.min.js +0 -2
- package/bundles/ngx-formly-nativescript-checkbox.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript-form-field.umd.js +0 -101
- package/bundles/ngx-formly-nativescript-form-field.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-form-field.umd.min.js +0 -2
- package/bundles/ngx-formly-nativescript-form-field.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript-radio.umd.js +0 -122
- package/bundles/ngx-formly-nativescript-radio.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-radio.umd.min.js +0 -2
- package/bundles/ngx-formly-nativescript-radio.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript-select.umd.js +0 -145
- package/bundles/ngx-formly-nativescript-select.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-select.umd.min.js +0 -2
- package/bundles/ngx-formly-nativescript-select.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript-text-field.umd.js +0 -103
- package/bundles/ngx-formly-nativescript-text-field.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-text-field.umd.min.js +0 -2
- package/bundles/ngx-formly-nativescript-text-field.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript-textarea.umd.js +0 -102
- package/bundles/ngx-formly-nativescript-textarea.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-textarea.umd.min.js +0 -2
- package/bundles/ngx-formly-nativescript-textarea.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript.umd.js +0 -51
- package/bundles/ngx-formly-nativescript.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript.umd.min.js +0 -2
- package/bundles/ngx-formly-nativescript.umd.min.js.map +0 -1
- package/checkbox/ngx-formly-nativescript-checkbox.metadata.json +0 -1
- package/esm2015/checkbox/checkbox.module.js +0 -35
- package/esm2015/checkbox/checkbox.type.js +0 -32
- package/esm2015/checkbox/ngx-formly-nativescript-checkbox.js +0 -10
- package/esm2015/checkbox/public_api.js +0 -6
- package/esm2015/form-field/form-field.module.js +0 -30
- package/esm2015/form-field/form-field.wrapper.js +0 -35
- package/esm2015/form-field/ngx-formly-nativescript-form-field.js +0 -10
- package/esm2015/form-field/public_api.js +0 -6
- package/esm2015/lib/ui-nativescipt.js +0 -6
- package/esm2015/lib/ui-nativescript.module.js +0 -27
- package/esm2015/ngx-formly-nativescript.js +0 -9
- package/esm2015/public_api.js +0 -9
- package/esm2015/radio/ngx-formly-nativescript-radio.js +0 -10
- package/esm2015/radio/public_api.js +0 -6
- package/esm2015/radio/radio.module.js +0 -37
- package/esm2015/radio/radio.type.js +0 -40
- package/esm2015/select/ngx-formly-nativescript-select.js +0 -10
- package/esm2015/select/public_api.js +0 -6
- package/esm2015/select/select.module.js +0 -37
- package/esm2015/select/select.type.js +0 -54
- package/esm2015/text-field/ngx-formly-nativescript-text-field.js +0 -10
- package/esm2015/text-field/public_api.js +0 -6
- package/esm2015/text-field/text-field.module.js +0 -36
- package/esm2015/text-field/text-field.type.js +0 -25
- package/esm2015/textarea/ngx-formly-nativescript-textarea.js +0 -10
- package/esm2015/textarea/public_api.js +0 -6
- package/esm2015/textarea/textarea.module.js +0 -35
- package/esm2015/textarea/textarea.type.js +0 -24
- package/esm5/checkbox/checkbox.module.js +0 -39
- package/esm5/checkbox/checkbox.type.js +0 -32
- package/esm5/checkbox/ngx-formly-nativescript-checkbox.js +0 -10
- package/esm5/checkbox/public_api.js +0 -6
- package/esm5/form-field/form-field.module.js +0 -34
- package/esm5/form-field/form-field.wrapper.js +0 -29
- package/esm5/form-field/ngx-formly-nativescript-form-field.js +0 -10
- package/esm5/form-field/public_api.js +0 -6
- package/esm5/lib/ui-nativescipt.js +0 -6
- package/esm5/lib/ui-nativescript.module.js +0 -31
- package/esm5/ngx-formly-nativescript.js +0 -9
- package/esm5/public_api.js +0 -9
- package/esm5/radio/ngx-formly-nativescript-radio.js +0 -10
- package/esm5/radio/public_api.js +0 -6
- package/esm5/radio/radio.module.js +0 -41
- package/esm5/radio/radio.type.js +0 -42
- package/esm5/select/ngx-formly-nativescript-select.js +0 -10
- package/esm5/select/public_api.js +0 -6
- package/esm5/select/select.module.js +0 -41
- package/esm5/select/select.type.js +0 -67
- package/esm5/text-field/ngx-formly-nativescript-text-field.js +0 -10
- package/esm5/text-field/public_api.js +0 -6
- package/esm5/text-field/text-field.module.js +0 -40
- package/esm5/text-field/text-field.type.js +0 -22
- package/esm5/textarea/ngx-formly-nativescript-textarea.js +0 -10
- package/esm5/textarea/public_api.js +0 -6
- package/esm5/textarea/textarea.module.js +0 -39
- package/esm5/textarea/textarea.type.js +0 -22
- package/fesm2015/ngx-formly-nativescript-checkbox.js +0 -74
- package/fesm2015/ngx-formly-nativescript-checkbox.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript-form-field.js +0 -72
- package/fesm2015/ngx-formly-nativescript-form-field.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript-radio.js +0 -88
- package/fesm2015/ngx-formly-nativescript-radio.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript-select.js +0 -102
- package/fesm2015/ngx-formly-nativescript-select.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript-text-field.js +0 -72
- package/fesm2015/ngx-formly-nativescript-text-field.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript-textarea.js +0 -70
- package/fesm2015/ngx-formly-nativescript-textarea.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript.js +0 -46
- package/fesm2015/ngx-formly-nativescript.js.map +0 -1
- package/fesm5/ngx-formly-nativescript-checkbox.js +0 -76
- package/fesm5/ngx-formly-nativescript-checkbox.js.map +0 -1
- package/fesm5/ngx-formly-nativescript-form-field.js +0 -68
- package/fesm5/ngx-formly-nativescript-form-field.js.map +0 -1
- package/fesm5/ngx-formly-nativescript-radio.js +0 -92
- package/fesm5/ngx-formly-nativescript-radio.js.map +0 -1
- package/fesm5/ngx-formly-nativescript-select.js +0 -117
- package/fesm5/ngx-formly-nativescript-select.js.map +0 -1
- package/fesm5/ngx-formly-nativescript-text-field.js +0 -71
- package/fesm5/ngx-formly-nativescript-text-field.js.map +0 -1
- package/fesm5/ngx-formly-nativescript-textarea.js +0 -70
- package/fesm5/ngx-formly-nativescript-textarea.js.map +0 -1
- package/fesm5/ngx-formly-nativescript.js +0 -49
- package/fesm5/ngx-formly-nativescript.js.map +0 -1
- package/form-field/ngx-formly-nativescript-form-field.metadata.json +0 -1
- package/ngx-formly-nativescript.metadata.json +0 -1
- package/radio/ngx-formly-nativescript-radio.metadata.json +0 -1
- package/select/ngx-formly-nativescript-select.metadata.json +0 -1
- package/text-field/ngx-formly-nativescript-text-field.metadata.json +0 -1
- package/textarea/ngx-formly-nativescript-textarea.metadata.json +0 -1
|
@@ -0,0 +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.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 { 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';\n\n@NgModule({\n declarations: [FormlyFieldCheckbox],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlyModule.forChild({\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 schemas: [NO_ER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A;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,uBAAuB;wBACvB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACD,gCAAA;AACE,oCAAA,IAAI,EAAE,SAAS;AACf,oCAAA,OAAO,EAAE,UAAU;AACpB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA,CAAA;;;AChCD;;AAEG;;;;"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
3
|
+
import * as i2 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i1 from '@ngx-formly/core';
|
|
6
|
+
import { FieldWrapper, FormlyModule } from '@ngx-formly/core';
|
|
7
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import { NativeScriptFormsModule } from '@nativescript/angular';
|
|
9
|
+
|
|
10
|
+
class FormlyWrapperFormField extends FieldWrapper {
|
|
11
|
+
}
|
|
12
|
+
FormlyWrapperFormField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: FormlyWrapperFormField, selector: "formly-wrapper-ns-form-field", usesInheritance: true, ngImport: i0, template: `
|
|
14
|
+
<StackLayout class="form">
|
|
15
|
+
<StackLayout class="input-field">
|
|
16
|
+
<Label *ngIf="props.label && props.hideLabel !== true" class="label" [text]="props.label"></Label>
|
|
17
|
+
<ng-container #fieldComponent></ng-container>
|
|
18
|
+
<StackLayout class="hr-light"></StackLayout>
|
|
19
|
+
<ng-container *ngIf="showError">
|
|
20
|
+
<formly-validation-message #validationMessage [field]="field"></formly-validation-message>
|
|
21
|
+
<Label class="text-danger" [text]="validationMessage.errorMessage"></Label>
|
|
22
|
+
</ng-container>
|
|
23
|
+
</StackLayout>
|
|
24
|
+
</StackLayout>
|
|
25
|
+
`, isInline: true, components: [{ type: i1.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
|
|
27
|
+
type: Component,
|
|
28
|
+
args: [{
|
|
29
|
+
selector: 'formly-wrapper-ns-form-field',
|
|
30
|
+
template: `
|
|
31
|
+
<StackLayout class="form">
|
|
32
|
+
<StackLayout class="input-field">
|
|
33
|
+
<Label *ngIf="props.label && props.hideLabel !== true" class="label" [text]="props.label"></Label>
|
|
34
|
+
<ng-container #fieldComponent></ng-container>
|
|
35
|
+
<StackLayout class="hr-light"></StackLayout>
|
|
36
|
+
<ng-container *ngIf="showError">
|
|
37
|
+
<formly-validation-message #validationMessage [field]="field"></formly-validation-message>
|
|
38
|
+
<Label class="text-danger" [text]="validationMessage.errorMessage"></Label>
|
|
39
|
+
</ng-container>
|
|
40
|
+
</StackLayout>
|
|
41
|
+
</StackLayout>
|
|
42
|
+
`,
|
|
43
|
+
}]
|
|
44
|
+
}] });
|
|
45
|
+
|
|
46
|
+
class FormlyNsFormFieldModule {
|
|
47
|
+
}
|
|
48
|
+
FormlyNsFormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
49
|
+
FormlyNsFormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsFormFieldModule, declarations: [FormlyWrapperFormField], imports: [CommonModule,
|
|
50
|
+
ReactiveFormsModule,
|
|
51
|
+
NativeScriptFormsModule, i1.FormlyModule] });
|
|
52
|
+
FormlyNsFormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsFormFieldModule, imports: [[
|
|
53
|
+
CommonModule,
|
|
54
|
+
ReactiveFormsModule,
|
|
55
|
+
NativeScriptFormsModule,
|
|
56
|
+
FormlyModule.forChild({
|
|
57
|
+
wrappers: [
|
|
58
|
+
{
|
|
59
|
+
name: 'form-field',
|
|
60
|
+
component: FormlyWrapperFormField,
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
}),
|
|
64
|
+
]] });
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsFormFieldModule, decorators: [{
|
|
66
|
+
type: NgModule,
|
|
67
|
+
args: [{
|
|
68
|
+
declarations: [FormlyWrapperFormField],
|
|
69
|
+
imports: [
|
|
70
|
+
CommonModule,
|
|
71
|
+
ReactiveFormsModule,
|
|
72
|
+
NativeScriptFormsModule,
|
|
73
|
+
FormlyModule.forChild({
|
|
74
|
+
wrappers: [
|
|
75
|
+
{
|
|
76
|
+
name: 'form-field',
|
|
77
|
+
component: FormlyWrapperFormField,
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
}),
|
|
81
|
+
],
|
|
82
|
+
schemas: [NO_ERRORS_SCHEMA],
|
|
83
|
+
}]
|
|
84
|
+
}] });
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Generated bundle index. Do not edit.
|
|
88
|
+
*/
|
|
89
|
+
|
|
90
|
+
export { FormlyNsFormFieldModule };
|
|
91
|
+
//# sourceMappingURL=ngx-formly-nativescript-form-field.mjs.map
|
|
@@ -0,0 +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.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 { 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';\n\n@NgModule({\n declarations: [FormlyWrapperFormField],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'form-field',\n component: FormlyWrapperFormField,\n },\n ],\n }),\n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YAAA,EAAA,CAhBnB,sBAAsB,CAAA,EAAA,OAAA,EAAA,CAEnC,YAAY;QACZ,mBAAmB;QACnB,uBAAuB,EAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA;AAYd,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,EAfzB,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,mBAAmB;YACnB,uBAAuB;YACvB,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,QAAQ,EAAE;AACR,oBAAA;AACE,wBAAA,IAAI,EAAE,YAAY;AAClB,wBAAA,SAAS,EAAE,sBAAsB;AAClC,qBAAA;AACF,iBAAA;aACF,CAAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;2FAGU,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAjBnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,YAAY;AAClB,oCAAA,SAAS,EAAE,sBAAsB;AAClC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i1$1 from '@ngx-formly/core';
|
|
6
|
+
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
7
|
+
import * as i2 from '@ngx-formly/core/select';
|
|
8
|
+
import { FormlySelectModule } from '@ngx-formly/core/select';
|
|
9
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
10
|
+
import { NativeScriptFormsModule } from '@nativescript/angular';
|
|
11
|
+
import { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';
|
|
12
|
+
|
|
13
|
+
class FormlyFieldRadio extends FieldType {
|
|
14
|
+
tap(id) {
|
|
15
|
+
const value = this.formControl.value === id ? null : id;
|
|
16
|
+
setTimeout(() => {
|
|
17
|
+
this.formControl.patchValue(value);
|
|
18
|
+
this.formControl.markAsTouched();
|
|
19
|
+
}, 100);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: FormlyFieldRadio, selector: "formly-field-ns-radio", usesInheritance: true, ngImport: i0, template: `
|
|
24
|
+
<ng-container *ngFor="let option of props.options | formlySelectOptions: field | async">
|
|
25
|
+
<GridLayout class="input-field input-sides" rows="auto, auto" columns="*,*">
|
|
26
|
+
<Label class="label" [text]="option.label"></Label>
|
|
27
|
+
<Switch col="1" class="switch input" [checked]="formControl.value === option.value" (tap)="tap(option.value)">
|
|
28
|
+
</Switch>
|
|
29
|
+
</GridLayout>
|
|
30
|
+
</ng-container>
|
|
31
|
+
`, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i1.AsyncPipe, "formlySelectOptions": i2.FormlySelectOptionsPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldRadio, decorators: [{
|
|
33
|
+
type: Component,
|
|
34
|
+
args: [{
|
|
35
|
+
selector: 'formly-field-ns-radio',
|
|
36
|
+
template: `
|
|
37
|
+
<ng-container *ngFor="let option of props.options | formlySelectOptions: field | async">
|
|
38
|
+
<GridLayout class="input-field input-sides" rows="auto, auto" columns="*,*">
|
|
39
|
+
<Label class="label" [text]="option.label"></Label>
|
|
40
|
+
<Switch col="1" class="switch input" [checked]="formControl.value === option.value" (tap)="tap(option.value)">
|
|
41
|
+
</Switch>
|
|
42
|
+
</GridLayout>
|
|
43
|
+
</ng-container>
|
|
44
|
+
`,
|
|
45
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
46
|
+
}]
|
|
47
|
+
}] });
|
|
48
|
+
|
|
49
|
+
class FormlyNsRadioFieldModule {
|
|
50
|
+
}
|
|
51
|
+
FormlyNsRadioFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsRadioFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
52
|
+
FormlyNsRadioFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsRadioFieldModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
|
|
53
|
+
ReactiveFormsModule,
|
|
54
|
+
NativeScriptFormsModule,
|
|
55
|
+
FormlyNsFormFieldModule,
|
|
56
|
+
FormlySelectModule, i1$1.FormlyModule] });
|
|
57
|
+
FormlyNsRadioFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsRadioFieldModule, imports: [[
|
|
58
|
+
CommonModule,
|
|
59
|
+
ReactiveFormsModule,
|
|
60
|
+
NativeScriptFormsModule,
|
|
61
|
+
FormlyNsFormFieldModule,
|
|
62
|
+
FormlySelectModule,
|
|
63
|
+
FormlyModule.forChild({
|
|
64
|
+
types: [
|
|
65
|
+
{
|
|
66
|
+
name: 'radio',
|
|
67
|
+
component: FormlyFieldRadio,
|
|
68
|
+
wrappers: ['form-field'],
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
}),
|
|
72
|
+
]] });
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsRadioFieldModule, decorators: [{
|
|
74
|
+
type: NgModule,
|
|
75
|
+
args: [{
|
|
76
|
+
declarations: [FormlyFieldRadio],
|
|
77
|
+
imports: [
|
|
78
|
+
CommonModule,
|
|
79
|
+
ReactiveFormsModule,
|
|
80
|
+
NativeScriptFormsModule,
|
|
81
|
+
FormlyNsFormFieldModule,
|
|
82
|
+
FormlySelectModule,
|
|
83
|
+
FormlyModule.forChild({
|
|
84
|
+
types: [
|
|
85
|
+
{
|
|
86
|
+
name: 'radio',
|
|
87
|
+
component: FormlyFieldRadio,
|
|
88
|
+
wrappers: ['form-field'],
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
}),
|
|
92
|
+
],
|
|
93
|
+
schemas: [NO_ERRORS_SCHEMA],
|
|
94
|
+
}]
|
|
95
|
+
}] });
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Generated bundle index. Do not edit.
|
|
99
|
+
*/
|
|
100
|
+
|
|
101
|
+
export { FormlyNsRadioFieldModule };
|
|
102
|
+
//# sourceMappingURL=ngx-formly-nativescript-radio.mjs.map
|
|
@@ -0,0 +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.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\ninterface RadioProps extends 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 { 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';\n\n@NgModule({\n declarations: [FormlyFieldRadio],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'radio',\n component: FormlyFieldRadio,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsRadioFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport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AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA,CAAA;;;AC9BD;;AAEG;;;;"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i1$1 from '@ngx-formly/core';
|
|
6
|
+
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
7
|
+
import * as i2 from '@ngx-formly/core/select';
|
|
8
|
+
import { FormlySelectModule } from '@ngx-formly/core/select';
|
|
9
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
10
|
+
import { NativeScriptFormsModule } from '@nativescript/angular';
|
|
11
|
+
import { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';
|
|
12
|
+
import { action } from '@nativescript/core/ui/dialogs';
|
|
13
|
+
|
|
14
|
+
class FormlyFieldSelect extends FieldType {
|
|
15
|
+
tap(options) {
|
|
16
|
+
action({ title: this.props.label, actions: options.map((o) => o.label) }).then((selectedAction) => this.formControl.patchValue(options.find((o) => o.label === selectedAction).value));
|
|
17
|
+
}
|
|
18
|
+
selectedItem(options) {
|
|
19
|
+
if (this.formControl.value) {
|
|
20
|
+
return options.find((o) => o.value === this.formControl.value).label;
|
|
21
|
+
}
|
|
22
|
+
return this.props.placeholder;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
FormlyFieldSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
FormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: FormlyFieldSelect, selector: "formly-field-ns-select", usesInheritance: true, ngImport: i0, template: `
|
|
27
|
+
<ng-container *ngIf="props.options | formlySelectOptions: field | async as options">
|
|
28
|
+
<Button (tap)="tap(options)" [text]="selectedItem(options)"></Button>
|
|
29
|
+
</ng-container>
|
|
30
|
+
`, isInline: true, directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i1.AsyncPipe, "formlySelectOptions": i2.FormlySelectOptionsPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldSelect, decorators: [{
|
|
32
|
+
type: Component,
|
|
33
|
+
args: [{
|
|
34
|
+
selector: 'formly-field-ns-select',
|
|
35
|
+
template: `
|
|
36
|
+
<ng-container *ngIf="props.options | formlySelectOptions: field | async as options">
|
|
37
|
+
<Button (tap)="tap(options)" [text]="selectedItem(options)"></Button>
|
|
38
|
+
</ng-container>
|
|
39
|
+
`,
|
|
40
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
41
|
+
}]
|
|
42
|
+
}] });
|
|
43
|
+
|
|
44
|
+
class FormlyNsSelectFieldModule {
|
|
45
|
+
}
|
|
46
|
+
FormlyNsSelectFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsSelectFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
47
|
+
FormlyNsSelectFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsSelectFieldModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
|
|
48
|
+
ReactiveFormsModule,
|
|
49
|
+
NativeScriptFormsModule,
|
|
50
|
+
FormlyNsFormFieldModule,
|
|
51
|
+
FormlySelectModule, i1$1.FormlyModule] });
|
|
52
|
+
FormlyNsSelectFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsSelectFieldModule, imports: [[
|
|
53
|
+
CommonModule,
|
|
54
|
+
ReactiveFormsModule,
|
|
55
|
+
NativeScriptFormsModule,
|
|
56
|
+
FormlyNsFormFieldModule,
|
|
57
|
+
FormlySelectModule,
|
|
58
|
+
FormlyModule.forChild({
|
|
59
|
+
types: [
|
|
60
|
+
{
|
|
61
|
+
name: 'select',
|
|
62
|
+
component: FormlyFieldSelect,
|
|
63
|
+
wrappers: ['form-field'],
|
|
64
|
+
},
|
|
65
|
+
{ name: 'enum', extends: 'select' },
|
|
66
|
+
],
|
|
67
|
+
}),
|
|
68
|
+
]] });
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsSelectFieldModule, decorators: [{
|
|
70
|
+
type: NgModule,
|
|
71
|
+
args: [{
|
|
72
|
+
declarations: [FormlyFieldSelect],
|
|
73
|
+
imports: [
|
|
74
|
+
CommonModule,
|
|
75
|
+
ReactiveFormsModule,
|
|
76
|
+
NativeScriptFormsModule,
|
|
77
|
+
FormlyNsFormFieldModule,
|
|
78
|
+
FormlySelectModule,
|
|
79
|
+
FormlyModule.forChild({
|
|
80
|
+
types: [
|
|
81
|
+
{
|
|
82
|
+
name: 'select',
|
|
83
|
+
component: FormlyFieldSelect,
|
|
84
|
+
wrappers: ['form-field'],
|
|
85
|
+
},
|
|
86
|
+
{ name: 'enum', extends: 'select' },
|
|
87
|
+
],
|
|
88
|
+
}),
|
|
89
|
+
],
|
|
90
|
+
schemas: [NO_ERRORS_SCHEMA],
|
|
91
|
+
}]
|
|
92
|
+
}] });
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Generated bundle index. Do not edit.
|
|
96
|
+
*/
|
|
97
|
+
|
|
98
|
+
export { FormlyNsSelectFieldModule };
|
|
99
|
+
//# sourceMappingURL=ngx-formly-nativescript-select.mjs.map
|
|
@@ -0,0 +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.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 { 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';\n\n@NgModule({\n declarations: [FormlyFieldSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'select',\n component: FormlyFieldSelect,\n wrappers: ['form-field'],\n },\n { name: 'enum', extends: 'select' },\n ],\n }),\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,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,CAAC,CAAC,KAAK,KAAK,cAAc,CAAC,CAAC,KAAK,CAAC,CACnF,CAAC;KACH;AAED,IAAA,YAAY,CAAC,OAAc,EAAA;AACzB,QAAA,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE;YAC1B,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC;AACtE,SAAA;AAED,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC;KAC/B;;8GAbU,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,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gModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i2 from '@ngx-formly/core';
|
|
5
|
+
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
6
|
+
import * as i3 from '@angular/forms';
|
|
7
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import * as i1 from '@nativescript/angular';
|
|
9
|
+
import { NativeScriptFormsModule } from '@nativescript/angular';
|
|
10
|
+
import { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';
|
|
11
|
+
|
|
12
|
+
class FormlyFieldInput extends FieldType {
|
|
13
|
+
}
|
|
14
|
+
FormlyFieldInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: FormlyFieldInput, selector: "formly-field-ns-input", usesInheritance: true, ngImport: i0, template: `
|
|
16
|
+
<TextField
|
|
17
|
+
class="input"
|
|
18
|
+
[formlyAttributes]="field"
|
|
19
|
+
[formControl]="formControl"
|
|
20
|
+
[autocorrect]="props.autocorrect"
|
|
21
|
+
[secure]="props.secure"
|
|
22
|
+
[hint]="props.hint"
|
|
23
|
+
[keyboardType]="props.keyboardType"
|
|
24
|
+
>
|
|
25
|
+
</TextField>
|
|
26
|
+
`, isInline: true, directives: [{ type: i1.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]" }, { type: i2.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldInput, decorators: [{
|
|
28
|
+
type: Component,
|
|
29
|
+
args: [{
|
|
30
|
+
selector: 'formly-field-ns-input',
|
|
31
|
+
template: `
|
|
32
|
+
<TextField
|
|
33
|
+
class="input"
|
|
34
|
+
[formlyAttributes]="field"
|
|
35
|
+
[formControl]="formControl"
|
|
36
|
+
[autocorrect]="props.autocorrect"
|
|
37
|
+
[secure]="props.secure"
|
|
38
|
+
[hint]="props.hint"
|
|
39
|
+
[keyboardType]="props.keyboardType"
|
|
40
|
+
>
|
|
41
|
+
</TextField>
|
|
42
|
+
`,
|
|
43
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
44
|
+
}]
|
|
45
|
+
}] });
|
|
46
|
+
|
|
47
|
+
class FormlyNsTextFieldModule {
|
|
48
|
+
}
|
|
49
|
+
FormlyNsTextFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsTextFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
50
|
+
FormlyNsTextFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsTextFieldModule, declarations: [FormlyFieldInput], imports: [CommonModule,
|
|
51
|
+
ReactiveFormsModule,
|
|
52
|
+
NativeScriptFormsModule,
|
|
53
|
+
FormlyNsFormFieldModule, i2.FormlyModule] });
|
|
54
|
+
FormlyNsTextFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsTextFieldModule, imports: [[
|
|
55
|
+
CommonModule,
|
|
56
|
+
ReactiveFormsModule,
|
|
57
|
+
NativeScriptFormsModule,
|
|
58
|
+
FormlyNsFormFieldModule,
|
|
59
|
+
FormlyModule.forChild({
|
|
60
|
+
types: [
|
|
61
|
+
{
|
|
62
|
+
name: 'text-field',
|
|
63
|
+
component: FormlyFieldInput,
|
|
64
|
+
wrappers: ['form-field'],
|
|
65
|
+
},
|
|
66
|
+
{ name: 'input', extends: 'text-field' },
|
|
67
|
+
{ name: 'string', extends: 'input' },
|
|
68
|
+
{
|
|
69
|
+
name: 'number',
|
|
70
|
+
extends: 'input',
|
|
71
|
+
defaultOptions: {
|
|
72
|
+
props: {
|
|
73
|
+
type: 'number',
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'integer',
|
|
79
|
+
extends: 'input',
|
|
80
|
+
defaultOptions: {
|
|
81
|
+
props: {
|
|
82
|
+
type: 'number',
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
}),
|
|
88
|
+
]] });
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsTextFieldModule, decorators: [{
|
|
90
|
+
type: NgModule,
|
|
91
|
+
args: [{
|
|
92
|
+
declarations: [FormlyFieldInput],
|
|
93
|
+
imports: [
|
|
94
|
+
CommonModule,
|
|
95
|
+
ReactiveFormsModule,
|
|
96
|
+
NativeScriptFormsModule,
|
|
97
|
+
FormlyNsFormFieldModule,
|
|
98
|
+
FormlyModule.forChild({
|
|
99
|
+
types: [
|
|
100
|
+
{
|
|
101
|
+
name: 'text-field',
|
|
102
|
+
component: FormlyFieldInput,
|
|
103
|
+
wrappers: ['form-field'],
|
|
104
|
+
},
|
|
105
|
+
{ name: 'input', extends: 'text-field' },
|
|
106
|
+
{ name: 'string', extends: 'input' },
|
|
107
|
+
{
|
|
108
|
+
name: 'number',
|
|
109
|
+
extends: 'input',
|
|
110
|
+
defaultOptions: {
|
|
111
|
+
props: {
|
|
112
|
+
type: 'number',
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
name: 'integer',
|
|
118
|
+
extends: 'input',
|
|
119
|
+
defaultOptions: {
|
|
120
|
+
props: {
|
|
121
|
+
type: 'number',
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
],
|
|
126
|
+
}),
|
|
127
|
+
],
|
|
128
|
+
schemas: [NO_ERRORS_SCHEMA],
|
|
129
|
+
}]
|
|
130
|
+
}] });
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Generated bundle index. Do not edit.
|
|
134
|
+
*/
|
|
135
|
+
|
|
136
|
+
export { FormlyNsTextFieldModule };
|
|
137
|
+
//# sourceMappingURL=ngx-formly-nativescript-text-field.mjs.map
|
|
@@ -0,0 +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.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 { 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';\n\n@NgModule({\n declarations: [FormlyFieldInput],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlyModule.forChild({\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 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;;6GAA/D,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA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AY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,uBAAuB;wBACvB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,YAAY;AAClB,oCAAA,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACD,gCAAA,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE;AACxC,gCAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;AACpC,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,OAAO,EAAE,OAAO;AAChB,oCAAA,cAAc,EAAE;AACd,wCAAA,KAAK,EAAE;AACL,4CAAA,IAAI,EAAE,QAAQ;AACf,yCAAA;AACF,qCAAA;AACF,iCAAA;AACD,gCAAA;AACE,oCAAA,IAAI,EAAE,SAAS;AACf,oCAAA,OAAO,EAAE,OAAO;AAChB,oCAAA,cAAc,EAAE;AACd,wCAAA,KAAK,EAAE;AACL,4CAAA,IAAI,EAAE,QAAQ;AACf,yCAAA;AACF,qCAAA;AACF,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA,CAAA;;;AChDD;;AAEG;;;;"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i2 from '@ngx-formly/core';
|
|
5
|
+
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
6
|
+
import * as i3 from '@angular/forms';
|
|
7
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import * as i1 from '@nativescript/angular';
|
|
9
|
+
import { NativeScriptFormsModule } from '@nativescript/angular';
|
|
10
|
+
import { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';
|
|
11
|
+
|
|
12
|
+
class FormlyFieldTextArea extends FieldType {
|
|
13
|
+
}
|
|
14
|
+
FormlyFieldTextArea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
FormlyFieldTextArea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: FormlyFieldTextArea, selector: "formly-field-ns-textarea", usesInheritance: true, ngImport: i0, template: `
|
|
16
|
+
<TextView
|
|
17
|
+
class="input"
|
|
18
|
+
[formlyAttributes]="field"
|
|
19
|
+
[formControl]="formControl"
|
|
20
|
+
[hint]="props.hint"
|
|
21
|
+
[autocorrect]="props.autocorrect"
|
|
22
|
+
[keyboardType]="props.keyboardType"
|
|
23
|
+
>
|
|
24
|
+
</TextView>
|
|
25
|
+
`, isInline: true, directives: [{ type: i1.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]" }, { type: i2.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
|
|
27
|
+
type: Component,
|
|
28
|
+
args: [{
|
|
29
|
+
selector: 'formly-field-ns-textarea',
|
|
30
|
+
template: `
|
|
31
|
+
<TextView
|
|
32
|
+
class="input"
|
|
33
|
+
[formlyAttributes]="field"
|
|
34
|
+
[formControl]="formControl"
|
|
35
|
+
[hint]="props.hint"
|
|
36
|
+
[autocorrect]="props.autocorrect"
|
|
37
|
+
[keyboardType]="props.keyboardType"
|
|
38
|
+
>
|
|
39
|
+
</TextView>
|
|
40
|
+
`,
|
|
41
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
42
|
+
}]
|
|
43
|
+
}] });
|
|
44
|
+
|
|
45
|
+
class FormlyNsTextAreaFieldModule {
|
|
46
|
+
}
|
|
47
|
+
FormlyNsTextAreaFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsTextAreaFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
48
|
+
FormlyNsTextAreaFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsTextAreaFieldModule, declarations: [FormlyFieldTextArea], imports: [CommonModule,
|
|
49
|
+
ReactiveFormsModule,
|
|
50
|
+
NativeScriptFormsModule,
|
|
51
|
+
FormlyNsFormFieldModule, i2.FormlyModule] });
|
|
52
|
+
FormlyNsTextAreaFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsTextAreaFieldModule, imports: [[
|
|
53
|
+
CommonModule,
|
|
54
|
+
ReactiveFormsModule,
|
|
55
|
+
NativeScriptFormsModule,
|
|
56
|
+
FormlyNsFormFieldModule,
|
|
57
|
+
FormlyModule.forChild({
|
|
58
|
+
types: [
|
|
59
|
+
{
|
|
60
|
+
name: 'textarea',
|
|
61
|
+
component: FormlyFieldTextArea,
|
|
62
|
+
wrappers: ['form-field'],
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
}),
|
|
66
|
+
]] });
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: FormlyNsTextAreaFieldModule, decorators: [{
|
|
68
|
+
type: NgModule,
|
|
69
|
+
args: [{
|
|
70
|
+
declarations: [FormlyFieldTextArea],
|
|
71
|
+
imports: [
|
|
72
|
+
CommonModule,
|
|
73
|
+
ReactiveFormsModule,
|
|
74
|
+
NativeScriptFormsModule,
|
|
75
|
+
FormlyNsFormFieldModule,
|
|
76
|
+
FormlyModule.forChild({
|
|
77
|
+
types: [
|
|
78
|
+
{
|
|
79
|
+
name: 'textarea',
|
|
80
|
+
component: FormlyFieldTextArea,
|
|
81
|
+
wrappers: ['form-field'],
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
}),
|
|
85
|
+
],
|
|
86
|
+
schemas: [NO_ERRORS_SCHEMA],
|
|
87
|
+
}]
|
|
88
|
+
}] });
|
|
89
|
+
|
|
90
|
+
/** @deprecated use FormlyFieldDatePicker */
|
|
91
|
+
const FormlyNsTextareaFieldModule = FormlyNsTextAreaFieldModule;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Generated bundle index. Do not edit.
|
|
95
|
+
*/
|
|
96
|
+
|
|
97
|
+
export { FormlyNsTextAreaFieldModule, FormlyNsTextareaFieldModule };
|
|
98
|
+
//# sourceMappingURL=ngx-formly-nativescript-textarea.mjs.map
|
|
@@ -0,0 +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.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 { 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';\n\n@NgModule({\n declarations: [FormlyFieldTextArea],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextArea,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsTextAreaFieldModule {}\n","import { 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":";;;;;;;;;;;AA6BM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;;gHAArE,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,EAbpB,QAAA,EAAA,0BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;AAUT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,QAAA,EAAA,2zBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,kBAAA,EAAA,IAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,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,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,C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