@ngx-formly/nativescript 6.0.0-next.1 → 6.0.0-next.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 +2 -2
- package/checkbox/checkbox.module.d.ts +10 -0
- package/checkbox/checkbox.type.d.ts +3 -0
- package/checkbox/ngx-formly-nativescript-checkbox.d.ts +1 -1
- package/checkbox/package.json +5 -6
- package/esm2020/checkbox/checkbox.module.mjs +62 -0
- package/esm2020/checkbox/checkbox.type.mjs +37 -0
- package/{esm2015/checkbox/ngx-formly-nativescript-checkbox.js → esm2020/checkbox/ngx-formly-nativescript-checkbox.mjs} +1 -2
- package/{esm2015/checkbox/public_api.js → esm2020/checkbox/public_api.mjs} +0 -0
- package/esm2020/form-field/form-field.module.mjs +48 -0
- package/esm2020/form-field/form-field.wrapper.mjs +45 -0
- package/esm2020/form-field/ngx-formly-nativescript-form-field.mjs +5 -0
- package/{esm2015/form-field/public_api.js → esm2020/form-field/public_api.mjs} +0 -0
- package/{esm2015/lib/ui-nativescipt.js → esm2020/lib/ui-nativescipt.mjs} +0 -0
- package/esm2020/lib/ui-nativescript.module.mjs +40 -0
- package/{esm2015/ngx-formly-nativescript.js → esm2020/ngx-formly-nativescript.mjs} +0 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
- package/{esm2015/radio/ngx-formly-nativescript-radio.js → esm2020/radio/ngx-formly-nativescript-radio.mjs} +1 -2
- package/{esm2015/radio/public_api.js → esm2020/radio/public_api.mjs} +0 -0
- package/esm2020/radio/radio.module.mjs +58 -0
- package/esm2020/radio/radio.type.mjs +41 -0
- package/{esm2015/select/ngx-formly-nativescript-select.js → esm2020/select/ngx-formly-nativescript-select.mjs} +1 -2
- package/{esm2015/select/public_api.js → esm2020/select/public_api.mjs} +0 -0
- package/esm2020/select/select.module.mjs +60 -0
- package/esm2020/select/select.type.mjs +36 -0
- package/{esm2015/text-field/ngx-formly-nativescript-text-field.js → esm2020/text-field/ngx-formly-nativescript-text-field.mjs} +1 -2
- package/{esm2015/text-field/public_api.js → esm2020/text-field/public_api.mjs} +0 -0
- package/esm2020/text-field/text-field.module.mjs +94 -0
- package/esm2020/text-field/text-field.type.mjs +41 -0
- package/{esm2015/textarea/ngx-formly-nativescript-textarea.js → esm2020/textarea/ngx-formly-nativescript-textarea.mjs} +1 -2
- package/{esm2015/textarea/public_api.js → esm2020/textarea/public_api.mjs} +0 -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 +95 -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 +95 -0
- package/fesm2015/ngx-formly-nativescript-textarea.mjs.map +1 -0
- package/fesm2015/ngx-formly-nativescript.mjs +51 -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 +95 -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 +95 -0
- package/fesm2020/ngx-formly-nativescript-textarea.mjs.map +1 -0
- package/fesm2020/ngx-formly-nativescript.mjs +51 -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 +3 -0
- package/form-field/ngx-formly-nativescript-form-field.d.ts +1 -1
- package/form-field/package.json +5 -6
- package/lib/ui-nativescript.module.d.ts +10 -0
- package/ngx-formly-nativescript.d.ts +1 -0
- package/package.json +69 -9
- package/radio/ngx-formly-nativescript-radio.d.ts +1 -1
- package/radio/package.json +5 -6
- package/radio/radio.module.d.ts +11 -0
- package/radio/radio.type.d.ts +3 -0
- package/select/ngx-formly-nativescript-select.d.ts +1 -1
- package/select/package.json +5 -6
- package/select/select.module.d.ts +11 -0
- package/select/select.type.d.ts +3 -0
- package/text-field/ngx-formly-nativescript-text-field.d.ts +1 -1
- package/text-field/package.json +5 -6
- package/text-field/text-field.module.d.ts +10 -0
- package/text-field/text-field.type.d.ts +3 -0
- package/textarea/ngx-formly-nativescript-textarea.d.ts +1 -1
- package/textarea/package.json +5 -6
- package/textarea/textarea.module.d.ts +10 -0
- package/textarea/textarea.type.d.ts +3 -0
- package/bundles/ngx-formly-nativescript-checkbox.umd.js +0 -378
- package/bundles/ngx-formly-nativescript-checkbox.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-checkbox.umd.min.js +0 -16
- package/bundles/ngx-formly-nativescript-checkbox.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript-form-field.umd.js +0 -369
- package/bundles/ngx-formly-nativescript-form-field.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-form-field.umd.min.js +0 -16
- package/bundles/ngx-formly-nativescript-form-field.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript-radio.umd.js +0 -377
- package/bundles/ngx-formly-nativescript-radio.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-radio.umd.min.js +0 -16
- package/bundles/ngx-formly-nativescript-radio.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript-select.umd.js +0 -381
- package/bundles/ngx-formly-nativescript-select.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-select.umd.min.js +0 -16
- package/bundles/ngx-formly-nativescript-select.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript-text-field.umd.js +0 -388
- package/bundles/ngx-formly-nativescript-text-field.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-text-field.umd.min.js +0 -16
- package/bundles/ngx-formly-nativescript-text-field.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript-textarea.umd.js +0 -368
- package/bundles/ngx-formly-nativescript-textarea.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-textarea.umd.min.js +0 -16
- package/bundles/ngx-formly-nativescript-textarea.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript.umd.js +0 -39
- 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 -25
- package/esm2015/form-field/form-field.module.js +0 -28
- package/esm2015/form-field/form-field.wrapper.js +0 -27
- package/esm2015/form-field/ngx-formly-nativescript-form-field.js +0 -6
- package/esm2015/lib/ui-nativescript.module.js +0 -23
- package/esm2015/radio/radio.module.js +0 -33
- package/esm2015/radio/radio.type.js +0 -27
- package/esm2015/select/select.module.js +0 -34
- package/esm2015/select/select.type.js +0 -26
- package/esm2015/text-field/text-field.module.js +0 -51
- package/esm2015/text-field/text-field.type.js +0 -23
- package/esm2015/textarea/textarea.module.js +0 -31
- package/esm2015/textarea/textarea.type.js +0 -22
- package/fesm2015/ngx-formly-nativescript-checkbox.js +0 -64
- package/fesm2015/ngx-formly-nativescript-checkbox.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript-form-field.js +0 -59
- package/fesm2015/ngx-formly-nativescript-form-field.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript-radio.js +0 -64
- package/fesm2015/ngx-formly-nativescript-radio.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript-select.js +0 -64
- package/fesm2015/ngx-formly-nativescript-select.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript-text-field.js +0 -78
- package/fesm2015/ngx-formly-nativescript-text-field.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript-textarea.js +0 -57
- package/fesm2015/ngx-formly-nativescript-textarea.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript.js +0 -34
- package/fesm2015/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
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
4
|
-
import { FormlySelectModule } from '@ngx-formly/core/select';
|
|
5
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
6
|
-
import { NativeScriptFormsModule } from '@nativescript/angular';
|
|
7
|
-
import { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';
|
|
8
|
-
import { action } from '@nativescript/core/ui/dialogs';
|
|
9
|
-
|
|
10
|
-
class FormlyFieldSelect extends FieldType {
|
|
11
|
-
tap(options) {
|
|
12
|
-
action({ title: this.to.label, actions: options.map((o) => o.label) }).then((selectedAction) => this.formControl.patchValue(options.find((o) => o.label === selectedAction).value));
|
|
13
|
-
}
|
|
14
|
-
selectedItem(options) {
|
|
15
|
-
if (this.formControl.value) {
|
|
16
|
-
return options.find((o) => o.value === this.formControl.value).label;
|
|
17
|
-
}
|
|
18
|
-
return this.to.placeholder;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
FormlyFieldSelect.decorators = [
|
|
22
|
-
{ type: Component, args: [{
|
|
23
|
-
selector: 'formly-field-ns-select',
|
|
24
|
-
template: `
|
|
25
|
-
<ng-container *ngIf="to.options | formlySelectOptions: field | async as options">
|
|
26
|
-
<Button (tap)="tap(options)" [text]="selectedItem(options)"></Button>
|
|
27
|
-
</ng-container>
|
|
28
|
-
`,
|
|
29
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
30
|
-
},] }
|
|
31
|
-
];
|
|
32
|
-
|
|
33
|
-
class FormlyNsSelectFieldModule {
|
|
34
|
-
}
|
|
35
|
-
FormlyNsSelectFieldModule.decorators = [
|
|
36
|
-
{ type: NgModule, args: [{
|
|
37
|
-
declarations: [FormlyFieldSelect],
|
|
38
|
-
imports: [
|
|
39
|
-
CommonModule,
|
|
40
|
-
ReactiveFormsModule,
|
|
41
|
-
NativeScriptFormsModule,
|
|
42
|
-
FormlyNsFormFieldModule,
|
|
43
|
-
FormlySelectModule,
|
|
44
|
-
FormlyModule.forChild({
|
|
45
|
-
types: [
|
|
46
|
-
{
|
|
47
|
-
name: 'select',
|
|
48
|
-
component: FormlyFieldSelect,
|
|
49
|
-
wrappers: ['form-field'],
|
|
50
|
-
},
|
|
51
|
-
{ name: 'enum', extends: 'select' },
|
|
52
|
-
],
|
|
53
|
-
}),
|
|
54
|
-
],
|
|
55
|
-
schemas: [NO_ERRORS_SCHEMA],
|
|
56
|
-
},] }
|
|
57
|
-
];
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Generated bundle index. Do not edit.
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
|
-
export { FormlyNsSelectFieldModule, FormlyFieldSelect as ɵa };
|
|
64
|
-
//# sourceMappingURL=ngx-formly-nativescript-select.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-nativescript-select.js","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 } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\nimport { action } from '@nativescript/core/ui/dialogs';\n\n@Component({\n selector: 'formly-field-ns-select',\n template: `\n <ng-container *ngIf=\"to.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 {\n tap(options) {\n action({ title: this.to.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) {\n if (this.formControl.value) {\n return options.find((o) => o.value === this.formControl.value).label;\n }\n\n return this.to.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\nexport {FormlyFieldSelect as ɵa} from './select.type';"],"names":[],"mappings":";;;;;;;;;MAaa,iBAAkB,SAAQ,SAAS;IAC9C,GAAG,CAAC,OAAO;QACT,MAAM,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,KACzF,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;IAED,YAAY,CAAC,OAAO;QAClB,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;SACtE;QAED,OAAO,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC;KAC5B;;;YAtBF,SAAS,SAAC;gBACT,QAAQ,EAAE,wBAAwB;gBAClC,QAAQ,EAAE;;;;GAIT;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCoBY,yBAAyB;;;YAtBrC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;gBACjC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,uBAAuB;oBAEvB,uBAAuB;oBACvB,kBAAkB;oBAClB,YAAY,CAAC,QAAQ,CAAC;wBACpB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;gCACd,SAAS,EAAE,iBAAiB;gCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;6BACzB;4BACD,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;yBACpC;qBACF,CAAC;iBACH;gBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;aAC5B;;;AC/BD;;;;;;"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
4
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import { NativeScriptFormsModule } from '@nativescript/angular';
|
|
6
|
-
import { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';
|
|
7
|
-
|
|
8
|
-
class FormlyFieldText extends FieldType {
|
|
9
|
-
}
|
|
10
|
-
FormlyFieldText.decorators = [
|
|
11
|
-
{ type: Component, args: [{
|
|
12
|
-
selector: 'formly-field-ns-input',
|
|
13
|
-
template: `
|
|
14
|
-
<TextField
|
|
15
|
-
class="input"
|
|
16
|
-
[formlyAttributes]="field"
|
|
17
|
-
[formControl]="formControl"
|
|
18
|
-
[autocorrect]="to.autocorrect"
|
|
19
|
-
[secure]="to.secure"
|
|
20
|
-
[hint]="to.hint"
|
|
21
|
-
[keyboardType]="to.keyboardType"
|
|
22
|
-
>
|
|
23
|
-
</TextField>
|
|
24
|
-
`,
|
|
25
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
26
|
-
},] }
|
|
27
|
-
];
|
|
28
|
-
|
|
29
|
-
class FormlyNsTextFieldModule {
|
|
30
|
-
}
|
|
31
|
-
FormlyNsTextFieldModule.decorators = [
|
|
32
|
-
{ type: NgModule, args: [{
|
|
33
|
-
declarations: [FormlyFieldText],
|
|
34
|
-
imports: [
|
|
35
|
-
CommonModule,
|
|
36
|
-
ReactiveFormsModule,
|
|
37
|
-
NativeScriptFormsModule,
|
|
38
|
-
FormlyNsFormFieldModule,
|
|
39
|
-
FormlyModule.forChild({
|
|
40
|
-
types: [
|
|
41
|
-
{
|
|
42
|
-
name: 'text-field',
|
|
43
|
-
component: FormlyFieldText,
|
|
44
|
-
wrappers: ['form-field'],
|
|
45
|
-
},
|
|
46
|
-
{ name: 'input', extends: 'text-field' },
|
|
47
|
-
{ name: 'string', extends: 'input' },
|
|
48
|
-
{
|
|
49
|
-
name: 'number',
|
|
50
|
-
extends: 'input',
|
|
51
|
-
defaultOptions: {
|
|
52
|
-
templateOptions: {
|
|
53
|
-
type: 'number',
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
name: 'integer',
|
|
59
|
-
extends: 'input',
|
|
60
|
-
defaultOptions: {
|
|
61
|
-
templateOptions: {
|
|
62
|
-
type: 'number',
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
],
|
|
67
|
-
}),
|
|
68
|
-
],
|
|
69
|
-
schemas: [NO_ERRORS_SCHEMA],
|
|
70
|
-
},] }
|
|
71
|
-
];
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Generated bundle index. Do not edit.
|
|
75
|
-
*/
|
|
76
|
-
|
|
77
|
-
export { FormlyNsTextFieldModule, FormlyFieldText as ɵa };
|
|
78
|
-
//# sourceMappingURL=ngx-formly-nativescript-text-field.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-nativescript-text-field.js","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 } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ns-input',\n template: `\n <TextField\n class=\"input\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n [autocorrect]=\"to.autocorrect\"\n [secure]=\"to.secure\"\n [hint]=\"to.hint\"\n [keyboardType]=\"to.keyboardType\"\n >\n </TextField>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldText extends FieldType {}\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 { FormlyFieldText } from './text-field.type';\n\n@NgModule({\n declarations: [FormlyFieldText],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NativeScriptFormsModule,\n\n FormlyNsFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'text-field',\n component: FormlyFieldText,\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 templateOptions: {\n type: 'number',\n },\n },\n },\n {\n name: 'integer',\n extends: 'input',\n defaultOptions: {\n templateOptions: {\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\nexport {FormlyFieldText as ɵa} from './text-field.type';"],"names":[],"mappings":";;;;;;;MAmBa,eAAgB,SAAQ,SAAS;;;YAhB7C,SAAS,SAAC;gBACT,QAAQ,EAAE,uBAAuB;gBACjC,QAAQ,EAAE;;;;;;;;;;;GAWT;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MC+BY,uBAAuB;;;YAxCnC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,eAAe,CAAC;gBAC/B,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,uBAAuB;oBAEvB,uBAAuB;oBACvB,YAAY,CAAC,QAAQ,CAAC;wBACpB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,YAAY;gCAClB,SAAS,EAAE,eAAe;gCAC1B,QAAQ,EAAE,CAAC,YAAY,CAAC;6BACzB;4BACD,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE;4BACxC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;4BACpC;gCACE,IAAI,EAAE,QAAQ;gCACd,OAAO,EAAE,OAAO;gCAChB,cAAc,EAAE;oCACd,eAAe,EAAE;wCACf,IAAI,EAAE,QAAQ;qCACf;iCACF;6BACF;4BACD;gCACE,IAAI,EAAE,SAAS;gCACf,OAAO,EAAE,OAAO;gCAChB,cAAc,EAAE;oCACd,eAAe,EAAE;wCACf,IAAI,EAAE,QAAQ;qCACf;iCACF;6BACF;yBACF;qBACF,CAAC;iBACH;gBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;aAC5B;;;AChDD;;;;;;"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
4
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import { NativeScriptFormsModule } from '@nativescript/angular';
|
|
6
|
-
import { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';
|
|
7
|
-
|
|
8
|
-
class FormlyFieldTextarea extends FieldType {
|
|
9
|
-
}
|
|
10
|
-
FormlyFieldTextarea.decorators = [
|
|
11
|
-
{ type: Component, args: [{
|
|
12
|
-
selector: 'formly-field-ns-textarea',
|
|
13
|
-
template: `
|
|
14
|
-
<TextView
|
|
15
|
-
class="input"
|
|
16
|
-
[formlyAttributes]="field"
|
|
17
|
-
[formControl]="formControl"
|
|
18
|
-
[hint]="to.hint"
|
|
19
|
-
[autocorrect]="to.autocorrect"
|
|
20
|
-
[keyboardType]="to.keyboardType"
|
|
21
|
-
>
|
|
22
|
-
</TextView>
|
|
23
|
-
`,
|
|
24
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
25
|
-
},] }
|
|
26
|
-
];
|
|
27
|
-
|
|
28
|
-
class FormlyNsTextareaFieldModule {
|
|
29
|
-
}
|
|
30
|
-
FormlyNsTextareaFieldModule.decorators = [
|
|
31
|
-
{ type: NgModule, args: [{
|
|
32
|
-
declarations: [FormlyFieldTextarea],
|
|
33
|
-
imports: [
|
|
34
|
-
CommonModule,
|
|
35
|
-
ReactiveFormsModule,
|
|
36
|
-
NativeScriptFormsModule,
|
|
37
|
-
FormlyNsFormFieldModule,
|
|
38
|
-
FormlyModule.forChild({
|
|
39
|
-
types: [
|
|
40
|
-
{
|
|
41
|
-
name: 'textarea',
|
|
42
|
-
component: FormlyFieldTextarea,
|
|
43
|
-
wrappers: ['form-field'],
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
}),
|
|
47
|
-
],
|
|
48
|
-
schemas: [NO_ERRORS_SCHEMA],
|
|
49
|
-
},] }
|
|
50
|
-
];
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Generated bundle index. Do not edit.
|
|
54
|
-
*/
|
|
55
|
-
|
|
56
|
-
export { FormlyNsTextareaFieldModule, FormlyFieldTextarea as ɵa };
|
|
57
|
-
//# sourceMappingURL=ngx-formly-nativescript-textarea.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-nativescript-textarea.js","sources":["../../../../src/ui/nativescript/textarea/src/textarea.type.ts","../../../../src/ui/nativescript/textarea/src/textarea.module.ts","../../../../src/ui/nativescript/textarea/src/ngx-formly-nativescript-textarea.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ns-textarea',\n template: `\n <TextView\n class=\"input\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n [hint]=\"to.hint\"\n [autocorrect]=\"to.autocorrect\"\n [keyboardType]=\"to.keyboardType\"\n >\n </TextView>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldTextarea extends FieldType {}\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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n\nexport {FormlyFieldTextarea as ɵa} from './textarea.type';"],"names":[],"mappings":";;;;;;;MAkBa,mBAAoB,SAAQ,SAAS;;;YAfjD,SAAS,SAAC;gBACT,QAAQ,EAAE,0BAA0B;gBACpC,QAAQ,EAAE;;;;;;;;;;GAUT;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;MCYY,2BAA2B;;;YApBvC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;gBACnC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,uBAAuB;oBAEvB,uBAAuB;oBACvB,YAAY,CAAC,QAAQ,CAAC;wBACpB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,UAAU;gCAChB,SAAS,EAAE,mBAAmB;gCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;6BACzB;yBACF;qBACF,CAAC;iBACH;gBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;aAC5B;;;AC5BD;;;;;;"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
2
|
-
import { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';
|
|
3
|
-
import { FormlyNsTextFieldModule } from '@ngx-formly/nativescript/text-field';
|
|
4
|
-
import { FormlyNsTextareaFieldModule } from '@ngx-formly/nativescript/textarea';
|
|
5
|
-
import { FormlyNsCheckboxFieldModule } from '@ngx-formly/nativescript/checkbox';
|
|
6
|
-
import { FormlyNsRadioFieldModule } from '@ngx-formly/nativescript/radio';
|
|
7
|
-
import { FormlyNsSelectFieldModule } from '@ngx-formly/nativescript/select';
|
|
8
|
-
|
|
9
|
-
class FormlyNativescriptModule {
|
|
10
|
-
}
|
|
11
|
-
FormlyNativescriptModule.decorators = [
|
|
12
|
-
{ type: NgModule, args: [{
|
|
13
|
-
imports: [
|
|
14
|
-
FormlyNsFormFieldModule,
|
|
15
|
-
FormlyNsTextFieldModule,
|
|
16
|
-
FormlyNsTextareaFieldModule,
|
|
17
|
-
FormlyNsCheckboxFieldModule,
|
|
18
|
-
FormlyNsRadioFieldModule,
|
|
19
|
-
FormlyNsSelectFieldModule,
|
|
20
|
-
],
|
|
21
|
-
schemas: [NO_ERRORS_SCHEMA],
|
|
22
|
-
},] }
|
|
23
|
-
];
|
|
24
|
-
|
|
25
|
-
/*
|
|
26
|
-
* Public API Surface of material
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Generated bundle index. Do not edit.
|
|
31
|
-
*/
|
|
32
|
-
|
|
33
|
-
export { FormlyNativescriptModule };
|
|
34
|
-
//# sourceMappingURL=ngx-formly-nativescript.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-nativescript.js","sources":["../../../../src/ui/nativescript/src/lib/ui-nativescript.module.ts","../../../../src/ui/nativescript/src/public_api.ts","../../../../src/ui/nativescript/src/ngx-formly-nativescript.ts"],"sourcesContent":["import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\n\nimport { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';\nimport { FormlyNsTextFieldModule } from '@ngx-formly/nativescript/text-field';\nimport { FormlyNsTextareaFieldModule } from '@ngx-formly/nativescript/textarea';\nimport { FormlyNsCheckboxFieldModule } from '@ngx-formly/nativescript/checkbox';\nimport { FormlyNsRadioFieldModule } from '@ngx-formly/nativescript/radio';\nimport { FormlyNsSelectFieldModule } from '@ngx-formly/nativescript/select';\n\n@NgModule({\n imports: [\n FormlyNsFormFieldModule,\n FormlyNsTextFieldModule,\n FormlyNsTextareaFieldModule,\n FormlyNsCheckboxFieldModule,\n FormlyNsRadioFieldModule,\n FormlyNsSelectFieldModule,\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNativescriptModule {}\n","/*\n * Public API Surface of material\n */\n\nexport * from './lib/ui-nativescipt';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;MAoBa,wBAAwB;;;YAXpC,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,uBAAuB;oBACvB,uBAAuB;oBACvB,2BAA2B;oBAC3B,2BAA2B;oBAC3B,wBAAwB;oBACxB,yBAAyB;iBAC1B;gBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;aAC5B;;;ACnBD;;;;ACAA;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"FormlyNsFormFieldModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":7,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":10,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":11,"character":4},{"__symbolic":"reference","module":"@nativescript/angular","name":"NativeScriptFormsModule","line":12,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FormlyModule","line":13,"character":4},"member":"forChild"},"arguments":[{"wrappers":[{"name":"form-field","component":{"__symbolic":"reference","name":"ɵa"}}]}]}],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"NO_ERRORS_SCHEMA","line":22,"character":12}]}]}],"members":{}},"ɵa":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FieldWrapper","line":20,"character":44},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"formly-wrapper-ns-form-field","template":"\n <StackLayout class=\"form\">\n <StackLayout class=\"input-field\">\n <Label *ngIf=\"to.label && to.hideLabel !== true\" class=\"label\" [text]=\"to.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 ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":18,"character":19},"member":"OnPush"}}]}],"members":{"validationMessage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":21,"character":3},"arguments":["validationMessage"]}]}]}}},"origins":{"FormlyNsFormFieldModule":"./form-field.module","ɵa":"./form-field.wrapper"},"importAs":"@ngx-formly/nativescript/form-field"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"FormlyNativescriptModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@ngx-formly/nativescript/form-field","name":"FormlyNsFormFieldModule","line":11,"character":4},{"__symbolic":"reference","module":"@ngx-formly/nativescript/text-field","name":"FormlyNsTextFieldModule","line":12,"character":4},{"__symbolic":"reference","module":"@ngx-formly/nativescript/textarea","name":"FormlyNsTextareaFieldModule","line":13,"character":4},{"__symbolic":"reference","module":"@ngx-formly/nativescript/checkbox","name":"FormlyNsCheckboxFieldModule","line":14,"character":4},{"__symbolic":"reference","module":"@ngx-formly/nativescript/radio","name":"FormlyNsRadioFieldModule","line":15,"character":4},{"__symbolic":"reference","module":"@ngx-formly/nativescript/select","name":"FormlyNsSelectFieldModule","line":16,"character":4}],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"NO_ERRORS_SCHEMA","line":18,"character":12}]}]}],"members":{}}},"origins":{"FormlyNativescriptModule":"./lib/ui-nativescript.module"},"importAs":"@ngx-formly/nativescript"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"FormlyNsRadioFieldModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":10,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":14,"character":4},{"__symbolic":"reference","module":"@nativescript/angular","name":"NativeScriptFormsModule","line":15,"character":4},{"__symbolic":"reference","module":"@ngx-formly/nativescript/form-field","name":"FormlyNsFormFieldModule","line":17,"character":4},{"__symbolic":"reference","module":"@ngx-formly/core/select","name":"FormlySelectModule","line":18,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FormlyModule","line":19,"character":4},"member":"forChild"},"arguments":[{"types":[{"name":"radio","component":{"__symbolic":"reference","name":"ɵa"},"wrappers":["form-field"]}]}]}],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"NO_ERRORS_SCHEMA","line":29,"character":12}]}]}],"members":{}},"ɵa":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FieldType","line":16,"character":38},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"formly-field-ns-radio","template":"\n <ng-container *ngFor=\"let option of to.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 ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":14,"character":19},"member":"OnPush"}}]}],"members":{"tap":[{"__symbolic":"method"}]}}},"origins":{"FormlyNsRadioFieldModule":"./radio.module","ɵa":"./radio.type"},"importAs":"@ngx-formly/nativescript/radio"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"FormlyNsSelectFieldModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":10,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":14,"character":4},{"__symbolic":"reference","module":"@nativescript/angular","name":"NativeScriptFormsModule","line":15,"character":4},{"__symbolic":"reference","module":"@ngx-formly/nativescript/form-field","name":"FormlyNsFormFieldModule","line":17,"character":4},{"__symbolic":"reference","module":"@ngx-formly/core/select","name":"FormlySelectModule","line":18,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FormlyModule","line":19,"character":4},"member":"forChild"},"arguments":[{"types":[{"name":"select","component":{"__symbolic":"reference","name":"ɵa"},"wrappers":["form-field"]},{"name":"enum","extends":"select"}]}]}],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"NO_ERRORS_SCHEMA","line":30,"character":12}]}]}],"members":{}},"ɵa":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FieldType","line":13,"character":39},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"formly-field-ns-select","template":"\n <ng-container *ngIf=\"to.options | formlySelectOptions: field | async as options\">\n <Button (tap)=\"tap(options)\" [text]=\"selectedItem(options)\"></Button>\n </ng-container>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":11,"character":19},"member":"OnPush"}}]}],"members":{"tap":[{"__symbolic":"method"}],"selectedItem":[{"__symbolic":"method"}]}}},"origins":{"FormlyNsSelectFieldModule":"./select.module","ɵa":"./select.type"},"importAs":"@ngx-formly/nativescript/select"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"FormlyNsTextFieldModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":13,"character":4},{"__symbolic":"reference","module":"@nativescript/angular","name":"NativeScriptFormsModule","line":14,"character":4},{"__symbolic":"reference","module":"@ngx-formly/nativescript/form-field","name":"FormlyNsFormFieldModule","line":16,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FormlyModule","line":17,"character":4},"member":"forChild"},"arguments":[{"types":[{"name":"text-field","component":{"__symbolic":"reference","name":"ɵa"},"wrappers":["form-field"]},{"name":"input","extends":"text-field"},{"name":"string","extends":"input"},{"name":"number","extends":"input","defaultOptions":{"templateOptions":{"type":"number"}}},{"name":"integer","extends":"input","defaultOptions":{"templateOptions":{"type":"number"}}}]}]}],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"NO_ERRORS_SCHEMA","line":47,"character":12}]}]}],"members":{}},"ɵa":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FieldType","line":19,"character":37},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"formly-field-ns-input","template":"\n <TextField\n class=\"input\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n [autocorrect]=\"to.autocorrect\"\n [secure]=\"to.secure\"\n [hint]=\"to.hint\"\n [keyboardType]=\"to.keyboardType\"\n >\n </TextField>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":17,"character":19},"member":"OnPush"}}]}],"members":{}}},"origins":{"FormlyNsTextFieldModule":"./text-field.module","ɵa":"./text-field.type"},"importAs":"@ngx-formly/nativescript/text-field"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"FormlyNsTextareaFieldModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":13,"character":4},{"__symbolic":"reference","module":"@nativescript/angular","name":"NativeScriptFormsModule","line":14,"character":4},{"__symbolic":"reference","module":"@ngx-formly/nativescript/form-field","name":"FormlyNsFormFieldModule","line":16,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FormlyModule","line":17,"character":4},"member":"forChild"},"arguments":[{"types":[{"name":"textarea","component":{"__symbolic":"reference","name":"ɵa"},"wrappers":["form-field"]}]}]}],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"NO_ERRORS_SCHEMA","line":27,"character":12}]}]}],"members":{}},"ɵa":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FieldType","line":18,"character":41},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"formly-field-ns-textarea","template":"\n <TextView\n class=\"input\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n [hint]=\"to.hint\"\n [autocorrect]=\"to.autocorrect\"\n [keyboardType]=\"to.keyboardType\"\n >\n </TextView>\n ","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":16,"character":19},"member":"OnPush"}}]}],"members":{}}},"origins":{"FormlyNsTextareaFieldModule":"./textarea.module","ɵa":"./textarea.type"},"importAs":"@ngx-formly/nativescript/textarea"}
|