@ngx-formly/nativescript 5.10.23 → 6.0.0-next.3
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 +4 -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 +6 -9
- 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 +45 -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 +40 -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 +2 -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 +6 -9
- package/lib/ui-nativescript.module.d.ts +10 -0
- package/ngx-formly-nativescript.d.ts +1 -0
- package/package.json +78 -31
- package/radio/ngx-formly-nativescript-radio.d.ts +1 -1
- package/radio/package.json +6 -9
- 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 +6 -9
- 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 +6 -9
- 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 +6 -9
- 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 -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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-nativescript-checkbox.js.map","sources":["ng://@ngx-formly/nativescript/checkbox/checkbox.type.ts","ng://@ngx-formly/nativescript/checkbox/checkbox.module.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\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]=\"to.label\"></Label>\n <Switch class=\"switch input\" [formlyAttributes]=\"field\" [formControl]=\"formControl\" col=\"1\"></Switch>\n </GridLayout>\n `,\n})\nexport class FormlyFieldCheckbox extends FieldType {\n defaultOptions = {\n templateOptions: {\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/forms';\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 }),\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsCheckboxFieldModule { }\n"],"names":["tslib_1.__extends"],"mappings":";;;;;;;;;;;;;IAYyCA,uCAAS;IATlD;QAAA,qEAeC;QALC,oBAAc,GAAG;YACf,eAAe,EAAE;gBACf,SAAS,EAAE,IAAI;aAChB;SACF,CAAC;;KACH;;gBAfA,SAAS,SAAC;oBACT,QAAQ,EAAE,0BAA0B;oBACpC,QAAQ,EAAE,iSAKT;iBACF;;IAOD,0BAAC;CAAA,CANwC,SAAS;;;;;;ACZlD;IASA;KAoB4C;;gBApB3C,QAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,uBAAuB;wBACvB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,UAAU;oCAChB,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;6BACF;yBACF,CAAC;qBACH;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;iBAC5B;;IAC0C,kCAAC;CApB5C;;;;;;;;;;;;;;"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
3
|
-
import { NativeScriptFormsModule } from 'nativescript-angular/forms';
|
|
4
|
-
import { __extends } from 'tslib';
|
|
5
|
-
import { Component, ViewChild, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
6
|
-
import { FieldWrapper, FormlyModule } from '@ngx-formly/core';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @fileoverview added by tsickle
|
|
10
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
11
|
-
*/
|
|
12
|
-
var FormlyWrapperFormField = /** @class */ (function (_super) {
|
|
13
|
-
__extends(FormlyWrapperFormField, _super);
|
|
14
|
-
function FormlyWrapperFormField() {
|
|
15
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
16
|
-
}
|
|
17
|
-
FormlyWrapperFormField.decorators = [
|
|
18
|
-
{ type: Component, args: [{
|
|
19
|
-
selector: 'formly-wrapper-ns-form-field',
|
|
20
|
-
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\n "
|
|
21
|
-
}] }
|
|
22
|
-
];
|
|
23
|
-
FormlyWrapperFormField.propDecorators = {
|
|
24
|
-
validationMessage: [{ type: ViewChild, args: ['validationMessage',] }]
|
|
25
|
-
};
|
|
26
|
-
return FormlyWrapperFormField;
|
|
27
|
-
}(FieldWrapper));
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* @fileoverview added by tsickle
|
|
31
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
32
|
-
*/
|
|
33
|
-
var FormlyNsFormFieldModule = /** @class */ (function () {
|
|
34
|
-
function FormlyNsFormFieldModule() {
|
|
35
|
-
}
|
|
36
|
-
FormlyNsFormFieldModule.decorators = [
|
|
37
|
-
{ type: NgModule, args: [{
|
|
38
|
-
declarations: [FormlyWrapperFormField],
|
|
39
|
-
imports: [
|
|
40
|
-
CommonModule,
|
|
41
|
-
ReactiveFormsModule,
|
|
42
|
-
NativeScriptFormsModule,
|
|
43
|
-
FormlyModule.forChild({
|
|
44
|
-
wrappers: [{
|
|
45
|
-
name: 'form-field',
|
|
46
|
-
component: FormlyWrapperFormField,
|
|
47
|
-
}],
|
|
48
|
-
}),
|
|
49
|
-
],
|
|
50
|
-
schemas: [NO_ERRORS_SCHEMA],
|
|
51
|
-
},] }
|
|
52
|
-
];
|
|
53
|
-
return FormlyNsFormFieldModule;
|
|
54
|
-
}());
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @fileoverview added by tsickle
|
|
58
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
59
|
-
*/
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @fileoverview added by tsickle
|
|
63
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
64
|
-
*/
|
|
65
|
-
|
|
66
|
-
export { FormlyNsFormFieldModule, FormlyWrapperFormField as ɵa };
|
|
67
|
-
|
|
68
|
-
//# sourceMappingURL=ngx-formly-nativescript-form-field.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-nativescript-form-field.js.map","sources":["ng://@ngx-formly/nativescript/form-field/form-field.wrapper.ts","ng://@ngx-formly/nativescript/form-field/form-field.module.ts"],"sourcesContent":["import { Component, ViewChild } from '@angular/core';\nimport { FieldWrapper } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-wrapper-ns-form-field',\n 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\n `,\n})\nexport class FormlyWrapperFormField extends FieldWrapper {\n @ViewChild('validationMessage') validationMessage;\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/forms';\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 name: 'form-field',\n component: FormlyWrapperFormField,\n }],\n }),\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsFormFieldModule { }\n"],"names":["tslib_1.__extends"],"mappings":";;;;;;;;;;;;IAoB4CA,0CAAY;IAjBxD;;KAmBC;;gBAnBA,SAAS,SAAC;oBACT,QAAQ,EAAE,8BAA8B;oBACxC,QAAQ,EAAE,+lBAaT;iBACF;;;oCAEE,SAAS,SAAC,mBAAmB;;IAChC,6BAAC;CAAA,CAF2C,YAAY;;;;;;ACpBxD;IAOA;KAewC;;gBAfvC,QAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,YAAY,CAAC,QAAQ,CAAC;4BACpB,QAAQ,EAAE,CAAC;oCACT,IAAI,EAAE,YAAY;oCAClB,SAAS,EAAE,sBAAsB;iCAClC,CAAC;yBACH,CAAC;qBACH;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;iBAC5B;;IACsC,8BAAC;CAfxC;;;;;;;;;;;;;;"}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { FormlySelectModule } from '@ngx-formly/core/select';
|
|
3
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
4
|
-
import { NativeScriptFormsModule } from 'nativescript-angular/forms';
|
|
5
|
-
import { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';
|
|
6
|
-
import { __extends } from 'tslib';
|
|
7
|
-
import { Component, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
8
|
-
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* @fileoverview added by tsickle
|
|
12
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
13
|
-
*/
|
|
14
|
-
var FormlyFieldRadio = /** @class */ (function (_super) {
|
|
15
|
-
__extends(FormlyFieldRadio, _super);
|
|
16
|
-
function FormlyFieldRadio() {
|
|
17
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @param {?} id
|
|
21
|
-
* @return {?}
|
|
22
|
-
*/
|
|
23
|
-
FormlyFieldRadio.prototype.tap = /**
|
|
24
|
-
* @param {?} id
|
|
25
|
-
* @return {?}
|
|
26
|
-
*/
|
|
27
|
-
function (id) {
|
|
28
|
-
var _this = this;
|
|
29
|
-
/** @type {?} */
|
|
30
|
-
var value = this.formControl.value === id ? null : id;
|
|
31
|
-
setTimeout((/**
|
|
32
|
-
* @return {?}
|
|
33
|
-
*/
|
|
34
|
-
function () {
|
|
35
|
-
_this.formControl.patchValue(value);
|
|
36
|
-
_this.formControl.markAsTouched();
|
|
37
|
-
}), 100);
|
|
38
|
-
};
|
|
39
|
-
FormlyFieldRadio.decorators = [
|
|
40
|
-
{ type: Component, args: [{
|
|
41
|
-
selector: 'formly-field-ns-radio',
|
|
42
|
-
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\"\n [checked]=\"formControl.value === option.value\"\n (tap)=\"tap(option.value)\">\n </Switch>\n </GridLayout>\n </ng-container>\n "
|
|
43
|
-
}] }
|
|
44
|
-
];
|
|
45
|
-
return FormlyFieldRadio;
|
|
46
|
-
}(FieldType));
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @fileoverview added by tsickle
|
|
50
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
51
|
-
*/
|
|
52
|
-
var FormlyNsRadioFieldModule = /** @class */ (function () {
|
|
53
|
-
function FormlyNsRadioFieldModule() {
|
|
54
|
-
}
|
|
55
|
-
FormlyNsRadioFieldModule.decorators = [
|
|
56
|
-
{ type: NgModule, args: [{
|
|
57
|
-
declarations: [FormlyFieldRadio],
|
|
58
|
-
imports: [
|
|
59
|
-
CommonModule,
|
|
60
|
-
ReactiveFormsModule,
|
|
61
|
-
NativeScriptFormsModule,
|
|
62
|
-
FormlyNsFormFieldModule,
|
|
63
|
-
FormlySelectModule,
|
|
64
|
-
FormlyModule.forChild({
|
|
65
|
-
types: [
|
|
66
|
-
{
|
|
67
|
-
name: 'radio',
|
|
68
|
-
component: FormlyFieldRadio,
|
|
69
|
-
wrappers: ['form-field'],
|
|
70
|
-
},
|
|
71
|
-
],
|
|
72
|
-
}),
|
|
73
|
-
],
|
|
74
|
-
schemas: [NO_ERRORS_SCHEMA],
|
|
75
|
-
},] }
|
|
76
|
-
];
|
|
77
|
-
return FormlyNsRadioFieldModule;
|
|
78
|
-
}());
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* @fileoverview added by tsickle
|
|
82
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
83
|
-
*/
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @fileoverview added by tsickle
|
|
87
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
88
|
-
*/
|
|
89
|
-
|
|
90
|
-
export { FormlyNsRadioFieldModule, FormlyFieldRadio as ɵa };
|
|
91
|
-
|
|
92
|
-
//# sourceMappingURL=ngx-formly-nativescript-radio.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-nativescript-radio.js.map","sources":["ng://@ngx-formly/nativescript/radio/radio.type.ts","ng://@ngx-formly/nativescript/radio/radio.module.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ns-radio',\n 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\"\n [checked]=\"formControl.value === option.value\"\n (tap)=\"tap(option.value)\">\n </Switch>\n </GridLayout>\n </ng-container>\n `,\n})\nexport class FormlyFieldRadio extends FieldType {\n tap(id) {\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/forms';\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"],"names":["tslib_1.__extends"],"mappings":";;;;;;;;;;;;;;IAiBsCA,oCAAS;IAd/C;;KAsBC;;;;;IAPC,8BAAG;;;;IAAH,UAAI,EAAE;QAAN,iBAMC;;YALO,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,KAAK,EAAE,GAAG,IAAI,GAAG,EAAE;QACvD,UAAU;;;QAAC;YACT,KAAI,CAAC,WAAW,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;YACnC,KAAI,CAAC,WAAW,CAAC,aAAa,EAAE,CAAC;SAClC,GAAE,GAAG,CAAC,CAAC;KACT;;gBArBF,SAAS,SAAC;oBACT,QAAQ,EAAE,uBAAuB;oBACjC,QAAQ,EAAE,kdAUT;iBACF;;IASD,uBAAC;CAAA,CARqC,SAAS;;;;;;ACjB/C;IAUA;KAqByC;;gBArBxC,QAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;oBAChC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,uBAAuB;wBACvB,kBAAkB;wBAClB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,OAAO;oCACb,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;6BACF;yBACF,CAAC;qBACH;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;iBAC5B;;IACuC,+BAAC;CArBzC;;;;;;;;;;;;;;"}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { FormlySelectModule } from '@ngx-formly/core/select';
|
|
3
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
4
|
-
import { NativeScriptFormsModule } from 'nativescript-angular/forms';
|
|
5
|
-
import { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';
|
|
6
|
-
import { __extends } from 'tslib';
|
|
7
|
-
import { Component, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
8
|
-
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
9
|
-
import { action } from 'tns-core-modules/ui/dialogs';
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @fileoverview added by tsickle
|
|
13
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
14
|
-
*/
|
|
15
|
-
var FormlyFieldSelect = /** @class */ (function (_super) {
|
|
16
|
-
__extends(FormlyFieldSelect, _super);
|
|
17
|
-
function FormlyFieldSelect() {
|
|
18
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* @param {?} options
|
|
22
|
-
* @return {?}
|
|
23
|
-
*/
|
|
24
|
-
FormlyFieldSelect.prototype.tap = /**
|
|
25
|
-
* @param {?} options
|
|
26
|
-
* @return {?}
|
|
27
|
-
*/
|
|
28
|
-
function (options) {
|
|
29
|
-
var _this = this;
|
|
30
|
-
action({ title: this.to.label, actions: options.map((/**
|
|
31
|
-
* @param {?} o
|
|
32
|
-
* @return {?}
|
|
33
|
-
*/
|
|
34
|
-
function (o) { return o.label; })) })
|
|
35
|
-
.then((/**
|
|
36
|
-
* @param {?} selectedAction
|
|
37
|
-
* @return {?}
|
|
38
|
-
*/
|
|
39
|
-
function (selectedAction) { return _this.formControl.patchValue(options.find((/**
|
|
40
|
-
* @param {?} o
|
|
41
|
-
* @return {?}
|
|
42
|
-
*/
|
|
43
|
-
function (o) { return o.label === selectedAction; })).value); }));
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* @param {?} options
|
|
47
|
-
* @return {?}
|
|
48
|
-
*/
|
|
49
|
-
FormlyFieldSelect.prototype.selectedItem = /**
|
|
50
|
-
* @param {?} options
|
|
51
|
-
* @return {?}
|
|
52
|
-
*/
|
|
53
|
-
function (options) {
|
|
54
|
-
var _this = this;
|
|
55
|
-
if (this.formControl.value) {
|
|
56
|
-
return options.find((/**
|
|
57
|
-
* @param {?} o
|
|
58
|
-
* @return {?}
|
|
59
|
-
*/
|
|
60
|
-
function (o) { return o.value === _this.formControl.value; })).label;
|
|
61
|
-
}
|
|
62
|
-
return this.to.placeholder;
|
|
63
|
-
};
|
|
64
|
-
FormlyFieldSelect.decorators = [
|
|
65
|
-
{ type: Component, args: [{
|
|
66
|
-
selector: 'formly-field-ns-select',
|
|
67
|
-
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 "
|
|
68
|
-
}] }
|
|
69
|
-
];
|
|
70
|
-
return FormlyFieldSelect;
|
|
71
|
-
}(FieldType));
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @fileoverview added by tsickle
|
|
75
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
76
|
-
*/
|
|
77
|
-
var FormlyNsSelectFieldModule = /** @class */ (function () {
|
|
78
|
-
function FormlyNsSelectFieldModule() {
|
|
79
|
-
}
|
|
80
|
-
FormlyNsSelectFieldModule.decorators = [
|
|
81
|
-
{ type: NgModule, args: [{
|
|
82
|
-
declarations: [FormlyFieldSelect],
|
|
83
|
-
imports: [
|
|
84
|
-
CommonModule,
|
|
85
|
-
ReactiveFormsModule,
|
|
86
|
-
NativeScriptFormsModule,
|
|
87
|
-
FormlyNsFormFieldModule,
|
|
88
|
-
FormlySelectModule,
|
|
89
|
-
FormlyModule.forChild({
|
|
90
|
-
types: [
|
|
91
|
-
{
|
|
92
|
-
name: 'select',
|
|
93
|
-
component: FormlyFieldSelect,
|
|
94
|
-
wrappers: ['form-field'],
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
}),
|
|
98
|
-
],
|
|
99
|
-
schemas: [NO_ERRORS_SCHEMA],
|
|
100
|
-
},] }
|
|
101
|
-
];
|
|
102
|
-
return FormlyNsSelectFieldModule;
|
|
103
|
-
}());
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* @fileoverview added by tsickle
|
|
107
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
108
|
-
*/
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* @fileoverview added by tsickle
|
|
112
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
113
|
-
*/
|
|
114
|
-
|
|
115
|
-
export { FormlyNsSelectFieldModule, FormlyFieldSelect as ɵa };
|
|
116
|
-
|
|
117
|
-
//# sourceMappingURL=ngx-formly-nativescript-select.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-nativescript-select.js.map","sources":["ng://@ngx-formly/nativescript/select/select.type.ts","ng://@ngx-formly/nativescript/select/select.module.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\nimport { action } from 'tns-core-modules/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})\nexport class FormlyFieldSelect extends FieldType {\n tap(options) {\n action({ title: this.to.label, actions: options.map(o => o.label) })\n .then((selectedAction) => this.formControl.patchValue(options.find(o => o.label === selectedAction).value));\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/forms';\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 ],\n }),\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsSelectFieldModule { }\n"],"names":["tslib_1.__extends"],"mappings":";;;;;;;;;;;;;;;IAYuCA,qCAAS;IARhD;;KAqBC;;;;;IAZC,+BAAG;;;;IAAH,UAAI,OAAO;QAAX,iBAGC;QAFC,MAAM,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,GAAG;;;;YAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,KAAK,GAAA,EAAC,EAAE,CAAC;aACjE,IAAI;;;;QAAC,UAAC,cAAc,IAAK,OAAA,KAAI,CAAC,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI;;;;QAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,KAAK,KAAK,cAAc,GAAA,EAAC,CAAC,KAAK,CAAC,GAAA,EAAC,CAAC;KAC/G;;;;;IAED,wCAAY;;;;IAAZ,UAAa,OAAO;QAApB,iBAMC;QALC,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE;YAC1B,OAAO,OAAO,CAAC,IAAI;;;;YAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,KAAK,KAAK,KAAI,CAAC,WAAW,CAAC,KAAK,GAAA,EAAC,CAAC,KAAK,CAAC;SACpE;QAED,OAAO,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC;KAC5B;;gBApBF,SAAS,SAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,QAAQ,EAAE,oMAIT;iBACF;;IAcD,wBAAC;CAAA,CAbsC,SAAS;;;;;;ACZhD;IAUA;KAqB0C;;gBArBzC,QAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,uBAAuB;wBACvB,kBAAkB;wBAClB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,QAAQ;oCACd,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;6BACF;yBACF,CAAC;qBACH;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;iBAC5B;;IACwC,gCAAC;CArB1C;;;;;;;;;;;;;;"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
3
|
-
import { NativeScriptFormsModule } from 'nativescript-angular/forms';
|
|
4
|
-
import { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';
|
|
5
|
-
import { __extends } from 'tslib';
|
|
6
|
-
import { Component, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
7
|
-
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @fileoverview added by tsickle
|
|
11
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
12
|
-
*/
|
|
13
|
-
var FormlyFieldText = /** @class */ (function (_super) {
|
|
14
|
-
__extends(FormlyFieldText, _super);
|
|
15
|
-
function FormlyFieldText() {
|
|
16
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
17
|
-
}
|
|
18
|
-
FormlyFieldText.decorators = [
|
|
19
|
-
{ type: Component, args: [{
|
|
20
|
-
selector: 'formly-field-ns-input',
|
|
21
|
-
template: "\n <TextField class=\"input\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n\n [autocorrect]=\"to.autocorrect\"\n [secure]=\"to.secure\"\n [hint]=\"to.hint\"\n [keyboardType]=\"to.keyboardType\">\n </TextField>\n "
|
|
22
|
-
}] }
|
|
23
|
-
];
|
|
24
|
-
return FormlyFieldText;
|
|
25
|
-
}(FieldType));
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @fileoverview added by tsickle
|
|
29
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
30
|
-
*/
|
|
31
|
-
var FormlyNsTextFieldModule = /** @class */ (function () {
|
|
32
|
-
function FormlyNsTextFieldModule() {
|
|
33
|
-
}
|
|
34
|
-
FormlyNsTextFieldModule.decorators = [
|
|
35
|
-
{ type: NgModule, args: [{
|
|
36
|
-
declarations: [FormlyFieldText],
|
|
37
|
-
imports: [
|
|
38
|
-
CommonModule,
|
|
39
|
-
ReactiveFormsModule,
|
|
40
|
-
NativeScriptFormsModule,
|
|
41
|
-
FormlyNsFormFieldModule,
|
|
42
|
-
FormlyModule.forChild({
|
|
43
|
-
types: [
|
|
44
|
-
{
|
|
45
|
-
name: 'text-field',
|
|
46
|
-
component: FormlyFieldText,
|
|
47
|
-
wrappers: ['form-field'],
|
|
48
|
-
},
|
|
49
|
-
{ name: 'input', extends: 'text-field' },
|
|
50
|
-
],
|
|
51
|
-
}),
|
|
52
|
-
],
|
|
53
|
-
schemas: [NO_ERRORS_SCHEMA],
|
|
54
|
-
},] }
|
|
55
|
-
];
|
|
56
|
-
return FormlyNsTextFieldModule;
|
|
57
|
-
}());
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @fileoverview added by tsickle
|
|
61
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
62
|
-
*/
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @fileoverview added by tsickle
|
|
66
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
67
|
-
*/
|
|
68
|
-
|
|
69
|
-
export { FormlyNsTextFieldModule, FormlyFieldText as ɵa };
|
|
70
|
-
|
|
71
|
-
//# sourceMappingURL=ngx-formly-nativescript-text-field.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-nativescript-text-field.js.map","sources":["ng://@ngx-formly/nativescript/text-field/text-field.type.ts","ng://@ngx-formly/nativescript/text-field/text-field.module.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ns-input',\n template: `\n <TextField class=\"input\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n\n [autocorrect]=\"to.autocorrect\"\n [secure]=\"to.secure\"\n [hint]=\"to.hint\"\n [keyboardType]=\"to.keyboardType\">\n </TextField>\n `,\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/forms';\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 ],\n }),\n ],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class FormlyNsTextFieldModule { }\n"],"names":["tslib_1.__extends"],"mappings":";;;;;;;;;;;;;IAiBqCA,mCAAS;IAd9C;;KAciD;;gBAdhD,SAAS,SAAC;oBACT,QAAQ,EAAE,uBAAuB;oBACjC,QAAQ,EAAE,8QAUT;iBACF;;IAC+C,sBAAC;CAAA,CAAZ,SAAS;;;;;;ACjB9C;IASA;KAqBwC;;gBArBvC,QAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,eAAe,CAAC;oBAC/B,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,uBAAuB;wBACvB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,YAAY;oCAClB,SAAS,EAAE,eAAe;oCAC1B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;gCACD,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE;6BACzC;yBACF,CAAC;qBACH;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;iBAC5B;;IACsC,8BAAC;CArBxC;;;;;;;;;;;;;;"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
3
|
-
import { NativeScriptFormsModule } from 'nativescript-angular/forms';
|
|
4
|
-
import { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';
|
|
5
|
-
import { __extends } from 'tslib';
|
|
6
|
-
import { Component, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
7
|
-
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @fileoverview added by tsickle
|
|
11
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
12
|
-
*/
|
|
13
|
-
var FormlyFieldTextarea = /** @class */ (function (_super) {
|
|
14
|
-
__extends(FormlyFieldTextarea, _super);
|
|
15
|
-
function FormlyFieldTextarea() {
|
|
16
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
17
|
-
}
|
|
18
|
-
FormlyFieldTextarea.decorators = [
|
|
19
|
-
{ type: Component, args: [{
|
|
20
|
-
selector: 'formly-field-ns-textarea',
|
|
21
|
-
template: "\n <TextView class=\"input\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n\n [hint]=\"to.hint\"\n [autocorrect]=\"to.autocorrect\"\n [keyboardType]=\"to.keyboardType\">\n </TextView>\n "
|
|
22
|
-
}] }
|
|
23
|
-
];
|
|
24
|
-
return FormlyFieldTextarea;
|
|
25
|
-
}(FieldType));
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @fileoverview added by tsickle
|
|
29
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
30
|
-
*/
|
|
31
|
-
var FormlyNsTextareaFieldModule = /** @class */ (function () {
|
|
32
|
-
function FormlyNsTextareaFieldModule() {
|
|
33
|
-
}
|
|
34
|
-
FormlyNsTextareaFieldModule.decorators = [
|
|
35
|
-
{ type: NgModule, args: [{
|
|
36
|
-
declarations: [FormlyFieldTextarea],
|
|
37
|
-
imports: [
|
|
38
|
-
CommonModule,
|
|
39
|
-
ReactiveFormsModule,
|
|
40
|
-
NativeScriptFormsModule,
|
|
41
|
-
FormlyNsFormFieldModule,
|
|
42
|
-
FormlyModule.forChild({
|
|
43
|
-
types: [
|
|
44
|
-
{
|
|
45
|
-
name: 'textarea',
|
|
46
|
-
component: FormlyFieldTextarea,
|
|
47
|
-
wrappers: ['form-field'],
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
}),
|
|
51
|
-
],
|
|
52
|
-
schemas: [NO_ERRORS_SCHEMA],
|
|
53
|
-
},] }
|
|
54
|
-
];
|
|
55
|
-
return FormlyNsTextareaFieldModule;
|
|
56
|
-
}());
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @fileoverview added by tsickle
|
|
60
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @fileoverview added by tsickle
|
|
65
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
66
|
-
*/
|
|
67
|
-
|
|
68
|
-
export { FormlyNsTextareaFieldModule, FormlyFieldTextarea as ɵa };
|
|
69
|
-
|
|
70
|
-
//# sourceMappingURL=ngx-formly-nativescript-textarea.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-nativescript-textarea.js.map","sources":["ng://@ngx-formly/nativescript/textarea/textarea.type.ts","ng://@ngx-formly/nativescript/textarea/textarea.module.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ns-textarea',\n template: `\n <TextView class=\"input\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n\n [hint]=\"to.hint\"\n [autocorrect]=\"to.autocorrect\"\n [keyboardType]=\"to.keyboardType\">\n </TextView>\n `,\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/forms';\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"],"names":["tslib_1.__extends"],"mappings":";;;;;;;;;;;;;IAgByCA,uCAAS;IAblD;;KAaqD;;gBAbpD,SAAS,SAAC;oBACT,QAAQ,EAAE,0BAA0B;oBACpC,QAAQ,EAAE,8OAST;iBACF;;IACmD,0BAAC;CAAA,CAAZ,SAAS;;;;;;AChBlD;IASA;KAoB4C;;gBApB3C,QAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,uBAAuB;wBACvB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,UAAU;oCAChB,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;6BACF;yBACF,CAAC;qBACH;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;iBAC5B;;IAC0C,kCAAC;CApB5C;;;;;;;;;;;;;;"}
|
|
@@ -1,49 +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
|
-
/**
|
|
10
|
-
* @fileoverview added by tsickle
|
|
11
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
12
|
-
*/
|
|
13
|
-
var FormlyNativescriptModule = /** @class */ (function () {
|
|
14
|
-
function FormlyNativescriptModule() {
|
|
15
|
-
}
|
|
16
|
-
FormlyNativescriptModule.decorators = [
|
|
17
|
-
{ type: NgModule, args: [{
|
|
18
|
-
imports: [
|
|
19
|
-
FormlyNsFormFieldModule,
|
|
20
|
-
FormlyNsTextFieldModule,
|
|
21
|
-
FormlyNsTextareaFieldModule,
|
|
22
|
-
FormlyNsCheckboxFieldModule,
|
|
23
|
-
FormlyNsRadioFieldModule,
|
|
24
|
-
FormlyNsSelectFieldModule,
|
|
25
|
-
],
|
|
26
|
-
schemas: [NO_ERRORS_SCHEMA],
|
|
27
|
-
},] }
|
|
28
|
-
];
|
|
29
|
-
return FormlyNativescriptModule;
|
|
30
|
-
}());
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @fileoverview added by tsickle
|
|
34
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
35
|
-
*/
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @fileoverview added by tsickle
|
|
39
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
40
|
-
*/
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @fileoverview added by tsickle
|
|
44
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
45
|
-
*/
|
|
46
|
-
|
|
47
|
-
export { FormlyNativescriptModule };
|
|
48
|
-
|
|
49
|
-
//# sourceMappingURL=ngx-formly-nativescript.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-nativescript.js.map","sources":["ng://@ngx-formly/nativescript/lib/ui-nativescript.module.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"],"names":[],"mappings":";;;;;;;;;;;;AAAA;IASA;KAWwC;;gBAXvC,QAAQ,SAAC;oBACR,OAAO,EAAE;wBACP,uBAAuB;wBACvB,uBAAuB;wBACvB,2BAA2B;wBAC3B,2BAA2B;wBAC3B,wBAAwB;wBACxB,yBAAyB;qBAC1B;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;iBAC5B;;IACsC,+BAAC;CAXxC;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -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/forms","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":20,"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\n "}]}],"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/forms","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":17,"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\"\n [checked]=\"formControl.value === option.value\"\n (tap)=\"tap(option.value)\">\n </Switch>\n </GridLayout>\n </ng-container>\n "}]}],"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/forms","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"]}]}]}],"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":12,"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 "}]}],"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/forms","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"}]}]}],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"NO_ERRORS_SCHEMA","line":28,"character":12}]}]}],"members":{}},"ɵa":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ngx-formly/core","name":"FieldType","line":17,"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 class=\"input\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n\n [autocorrect]=\"to.autocorrect\"\n [secure]=\"to.secure\"\n [hint]=\"to.hint\"\n [keyboardType]=\"to.keyboardType\">\n </TextField>\n "}]}],"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/forms","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":16,"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 class=\"input\"\n [formlyAttributes]=\"field\"\n [formControl]=\"formControl\"\n\n [hint]=\"to.hint\"\n [autocorrect]=\"to.autocorrect\"\n [keyboardType]=\"to.keyboardType\">\n </TextView>\n "}]}],"members":{}}},"origins":{"FormlyNsTextareaFieldModule":"./textarea.module","ɵa":"./textarea.type"},"importAs":"@ngx-formly/nativescript/textarea"}
|