@ngx-formly/nativescript 5.12.2 → 6.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -6
- package/checkbox/checkbox.module.d.ts +10 -0
- package/checkbox/checkbox.type.d.ts +14 -3
- package/checkbox/ngx-formly-nativescript-checkbox.d.ts +1 -1
- package/checkbox/package.json +6 -9
- package/checkbox/public_api.d.ts +1 -0
- package/esm2020/checkbox/checkbox.module.mjs +62 -0
- package/esm2020/checkbox/checkbox.type.mjs +37 -0
- package/esm2020/checkbox/ngx-formly-nativescript-checkbox.mjs +5 -0
- package/esm2020/checkbox/public_api.mjs +2 -0
- package/esm2020/form-field/form-field.module.mjs +48 -0
- package/esm2020/form-field/form-field.wrapper.mjs +41 -0
- package/esm2020/form-field/ngx-formly-nativescript-form-field.mjs +5 -0
- package/esm2020/form-field/public_api.mjs +2 -0
- package/esm2020/lib/ui-nativescipt.mjs +2 -0
- package/esm2020/lib/ui-nativescript.module.mjs +25 -0
- package/esm2020/ngx-formly-nativescript.mjs +5 -0
- package/esm2020/public_api.mjs +5 -0
- package/esm2020/radio/ngx-formly-nativescript-radio.mjs +5 -0
- package/esm2020/radio/public_api.mjs +2 -0
- package/esm2020/radio/radio.module.mjs +58 -0
- package/esm2020/radio/radio.type.mjs +41 -0
- package/esm2020/select/ngx-formly-nativescript-select.mjs +5 -0
- package/esm2020/select/public_api.mjs +2 -0
- package/esm2020/select/select.module.mjs +60 -0
- package/esm2020/select/select.type.mjs +36 -0
- package/esm2020/text-field/ngx-formly-nativescript-text-field.mjs +5 -0
- package/esm2020/text-field/public_api.mjs +2 -0
- package/esm2020/text-field/text-field.module.mjs +94 -0
- package/esm2020/text-field/text-field.type.mjs +41 -0
- package/esm2020/textarea/ngx-formly-nativescript-textarea.mjs +5 -0
- package/esm2020/textarea/public_api.mjs +5 -0
- package/esm2020/textarea/textarea.module.mjs +54 -0
- package/esm2020/textarea/textarea.type.mjs +39 -0
- package/fesm2015/ngx-formly-nativescript-checkbox.mjs +101 -0
- package/fesm2015/ngx-formly-nativescript-checkbox.mjs.map +1 -0
- package/fesm2015/ngx-formly-nativescript-form-field.mjs +91 -0
- package/fesm2015/ngx-formly-nativescript-form-field.mjs.map +1 -0
- package/fesm2015/ngx-formly-nativescript-radio.mjs +102 -0
- package/fesm2015/ngx-formly-nativescript-radio.mjs.map +1 -0
- package/fesm2015/ngx-formly-nativescript-select.mjs +99 -0
- package/fesm2015/ngx-formly-nativescript-select.mjs.map +1 -0
- package/fesm2015/ngx-formly-nativescript-text-field.mjs +137 -0
- package/fesm2015/ngx-formly-nativescript-text-field.mjs.map +1 -0
- package/fesm2015/ngx-formly-nativescript-textarea.mjs +98 -0
- package/fesm2015/ngx-formly-nativescript-textarea.mjs.map +1 -0
- package/fesm2015/ngx-formly-nativescript.mjs +35 -0
- package/fesm2015/ngx-formly-nativescript.mjs.map +1 -0
- package/fesm2020/ngx-formly-nativescript-checkbox.mjs +101 -0
- package/fesm2020/ngx-formly-nativescript-checkbox.mjs.map +1 -0
- package/fesm2020/ngx-formly-nativescript-form-field.mjs +91 -0
- package/fesm2020/ngx-formly-nativescript-form-field.mjs.map +1 -0
- package/fesm2020/ngx-formly-nativescript-radio.mjs +102 -0
- package/fesm2020/ngx-formly-nativescript-radio.mjs.map +1 -0
- package/fesm2020/ngx-formly-nativescript-select.mjs +99 -0
- package/fesm2020/ngx-formly-nativescript-select.mjs.map +1 -0
- package/fesm2020/ngx-formly-nativescript-text-field.mjs +137 -0
- package/fesm2020/ngx-formly-nativescript-text-field.mjs.map +1 -0
- package/fesm2020/ngx-formly-nativescript-textarea.mjs +98 -0
- package/fesm2020/ngx-formly-nativescript-textarea.mjs.map +1 -0
- package/fesm2020/ngx-formly-nativescript.mjs +35 -0
- package/fesm2020/ngx-formly-nativescript.mjs.map +1 -0
- package/form-field/form-field.module.d.ts +9 -0
- package/form-field/form-field.wrapper.d.ts +8 -3
- package/form-field/ngx-formly-nativescript-form-field.d.ts +1 -1
- package/form-field/package.json +6 -9
- package/form-field/public_api.d.ts +1 -0
- package/ngx-formly-nativescript.d.ts +1 -0
- package/package.json +79 -31
- package/radio/ngx-formly-nativescript-radio.d.ts +1 -1
- package/radio/package.json +6 -9
- package/radio/public_api.d.ts +1 -0
- package/radio/radio.module.d.ts +11 -0
- package/radio/radio.type.d.ts +13 -2
- package/select/ngx-formly-nativescript-select.d.ts +1 -1
- package/select/package.json +6 -9
- package/select/public_api.d.ts +1 -0
- package/select/select.module.d.ts +11 -0
- package/select/select.type.d.ts +16 -4
- package/text-field/ngx-formly-nativescript-text-field.d.ts +1 -1
- package/text-field/package.json +6 -9
- package/text-field/public_api.d.ts +1 -0
- package/text-field/text-field.module.d.ts +10 -0
- package/text-field/text-field.type.d.ts +17 -2
- package/textarea/ngx-formly-nativescript-textarea.d.ts +1 -1
- package/textarea/package.json +6 -9
- package/textarea/public_api.d.ts +5 -1
- package/textarea/textarea.module.d.ts +11 -1
- package/textarea/textarea.type.d.ts +16 -2
- package/bundles/ngx-formly-nativescript-checkbox.umd.js +0 -108
- package/bundles/ngx-formly-nativescript-checkbox.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-checkbox.umd.min.js +0 -2
- package/bundles/ngx-formly-nativescript-checkbox.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript-form-field.umd.js +0 -101
- package/bundles/ngx-formly-nativescript-form-field.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-form-field.umd.min.js +0 -2
- package/bundles/ngx-formly-nativescript-form-field.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript-radio.umd.js +0 -122
- package/bundles/ngx-formly-nativescript-radio.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-radio.umd.min.js +0 -2
- package/bundles/ngx-formly-nativescript-radio.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript-select.umd.js +0 -145
- package/bundles/ngx-formly-nativescript-select.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-select.umd.min.js +0 -2
- package/bundles/ngx-formly-nativescript-select.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript-text-field.umd.js +0 -103
- package/bundles/ngx-formly-nativescript-text-field.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-text-field.umd.min.js +0 -2
- package/bundles/ngx-formly-nativescript-text-field.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript-textarea.umd.js +0 -102
- package/bundles/ngx-formly-nativescript-textarea.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript-textarea.umd.min.js +0 -2
- package/bundles/ngx-formly-nativescript-textarea.umd.min.js.map +0 -1
- package/bundles/ngx-formly-nativescript.umd.js +0 -51
- package/bundles/ngx-formly-nativescript.umd.js.map +0 -1
- package/bundles/ngx-formly-nativescript.umd.min.js +0 -2
- package/bundles/ngx-formly-nativescript.umd.min.js.map +0 -1
- package/checkbox/ngx-formly-nativescript-checkbox.metadata.json +0 -1
- package/esm2015/checkbox/checkbox.module.js +0 -35
- package/esm2015/checkbox/checkbox.type.js +0 -32
- package/esm2015/checkbox/ngx-formly-nativescript-checkbox.js +0 -10
- package/esm2015/checkbox/public_api.js +0 -6
- package/esm2015/form-field/form-field.module.js +0 -30
- package/esm2015/form-field/form-field.wrapper.js +0 -35
- package/esm2015/form-field/ngx-formly-nativescript-form-field.js +0 -10
- package/esm2015/form-field/public_api.js +0 -6
- package/esm2015/lib/ui-nativescipt.js +0 -6
- package/esm2015/lib/ui-nativescript.module.js +0 -27
- package/esm2015/ngx-formly-nativescript.js +0 -9
- package/esm2015/public_api.js +0 -9
- package/esm2015/radio/ngx-formly-nativescript-radio.js +0 -10
- package/esm2015/radio/public_api.js +0 -6
- package/esm2015/radio/radio.module.js +0 -37
- package/esm2015/radio/radio.type.js +0 -40
- package/esm2015/select/ngx-formly-nativescript-select.js +0 -10
- package/esm2015/select/public_api.js +0 -6
- package/esm2015/select/select.module.js +0 -37
- package/esm2015/select/select.type.js +0 -54
- package/esm2015/text-field/ngx-formly-nativescript-text-field.js +0 -10
- package/esm2015/text-field/public_api.js +0 -6
- package/esm2015/text-field/text-field.module.js +0 -36
- package/esm2015/text-field/text-field.type.js +0 -25
- package/esm2015/textarea/ngx-formly-nativescript-textarea.js +0 -10
- package/esm2015/textarea/public_api.js +0 -6
- package/esm2015/textarea/textarea.module.js +0 -35
- package/esm2015/textarea/textarea.type.js +0 -24
- package/esm5/checkbox/checkbox.module.js +0 -39
- package/esm5/checkbox/checkbox.type.js +0 -32
- package/esm5/checkbox/ngx-formly-nativescript-checkbox.js +0 -10
- package/esm5/checkbox/public_api.js +0 -6
- package/esm5/form-field/form-field.module.js +0 -34
- package/esm5/form-field/form-field.wrapper.js +0 -29
- package/esm5/form-field/ngx-formly-nativescript-form-field.js +0 -10
- package/esm5/form-field/public_api.js +0 -6
- package/esm5/lib/ui-nativescipt.js +0 -6
- package/esm5/lib/ui-nativescript.module.js +0 -31
- package/esm5/ngx-formly-nativescript.js +0 -9
- package/esm5/public_api.js +0 -9
- package/esm5/radio/ngx-formly-nativescript-radio.js +0 -10
- package/esm5/radio/public_api.js +0 -6
- package/esm5/radio/radio.module.js +0 -41
- package/esm5/radio/radio.type.js +0 -42
- package/esm5/select/ngx-formly-nativescript-select.js +0 -10
- package/esm5/select/public_api.js +0 -6
- package/esm5/select/select.module.js +0 -41
- package/esm5/select/select.type.js +0 -67
- package/esm5/text-field/ngx-formly-nativescript-text-field.js +0 -10
- package/esm5/text-field/public_api.js +0 -6
- package/esm5/text-field/text-field.module.js +0 -40
- package/esm5/text-field/text-field.type.js +0 -22
- package/esm5/textarea/ngx-formly-nativescript-textarea.js +0 -10
- package/esm5/textarea/public_api.js +0 -6
- package/esm5/textarea/textarea.module.js +0 -39
- package/esm5/textarea/textarea.type.js +0 -22
- package/fesm2015/ngx-formly-nativescript-checkbox.js +0 -74
- package/fesm2015/ngx-formly-nativescript-checkbox.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript-form-field.js +0 -72
- package/fesm2015/ngx-formly-nativescript-form-field.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript-radio.js +0 -88
- package/fesm2015/ngx-formly-nativescript-radio.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript-select.js +0 -102
- package/fesm2015/ngx-formly-nativescript-select.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript-text-field.js +0 -72
- package/fesm2015/ngx-formly-nativescript-text-field.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript-textarea.js +0 -70
- package/fesm2015/ngx-formly-nativescript-textarea.js.map +0 -1
- package/fesm2015/ngx-formly-nativescript.js +0 -46
- package/fesm2015/ngx-formly-nativescript.js.map +0 -1
- package/fesm5/ngx-formly-nativescript-checkbox.js +0 -76
- package/fesm5/ngx-formly-nativescript-checkbox.js.map +0 -1
- package/fesm5/ngx-formly-nativescript-form-field.js +0 -68
- package/fesm5/ngx-formly-nativescript-form-field.js.map +0 -1
- package/fesm5/ngx-formly-nativescript-radio.js +0 -92
- package/fesm5/ngx-formly-nativescript-radio.js.map +0 -1
- package/fesm5/ngx-formly-nativescript-select.js +0 -117
- package/fesm5/ngx-formly-nativescript-select.js.map +0 -1
- package/fesm5/ngx-formly-nativescript-text-field.js +0 -71
- package/fesm5/ngx-formly-nativescript-text-field.js.map +0 -1
- package/fesm5/ngx-formly-nativescript-textarea.js +0 -70
- package/fesm5/ngx-formly-nativescript-textarea.js.map +0 -1
- package/fesm5/ngx-formly-nativescript.js +0 -49
- package/fesm5/ngx-formly-nativescript.js.map +0 -1
- package/form-field/ngx-formly-nativescript-form-field.metadata.json +0 -1
- package/ngx-formly-nativescript.metadata.json +0 -1
- package/radio/ngx-formly-nativescript-radio.metadata.json +0 -1
- package/select/ngx-formly-nativescript-select.metadata.json +0 -1
- package/text-field/ngx-formly-nativescript-text-field.metadata.json +0 -1
- package/textarea/ngx-formly-nativescript-textarea.metadata.json +0 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { __decorate } from 'tslib';
|
|
2
|
+
import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
|
3
|
+
import { FormlyNsFormFieldModule } from '@ngx-formly/nativescript/form-field';
|
|
4
|
+
import { FormlyNsTextFieldModule } from '@ngx-formly/nativescript/text-field';
|
|
5
|
+
import { FormlyNsTextareaFieldModule } from '@ngx-formly/nativescript/textarea';
|
|
6
|
+
import { FormlyNsCheckboxFieldModule } from '@ngx-formly/nativescript/checkbox';
|
|
7
|
+
import { FormlyNsRadioFieldModule } from '@ngx-formly/nativescript/radio';
|
|
8
|
+
import { FormlyNsSelectFieldModule } from '@ngx-formly/nativescript/select';
|
|
9
|
+
|
|
10
|
+
let FormlyNativescriptModule = class FormlyNativescriptModule {
|
|
11
|
+
};
|
|
12
|
+
FormlyNativescriptModule = __decorate([
|
|
13
|
+
NgModule({
|
|
14
|
+
imports: [
|
|
15
|
+
FormlyNsFormFieldModule,
|
|
16
|
+
FormlyNsTextFieldModule,
|
|
17
|
+
FormlyNsTextareaFieldModule,
|
|
18
|
+
FormlyNsCheckboxFieldModule,
|
|
19
|
+
FormlyNsRadioFieldModule,
|
|
20
|
+
FormlyNsSelectFieldModule,
|
|
21
|
+
],
|
|
22
|
+
schemas: [NO_ERRORS_SCHEMA],
|
|
23
|
+
})
|
|
24
|
+
], FormlyNativescriptModule);
|
|
25
|
+
|
|
26
|
+
/*
|
|
27
|
+
* Public API Surface of material
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Generated bundle index. Do not edit.
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
export { FormlyNativescriptModule };
|
|
35
|
+
//# sourceMappingURL=ngx-formly-nativescript.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-formly-nativescript.mjs","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":";;;;;;;;;AAoBa,IAAA,wBAAwB,GAArC,MAAa,wBAAwB,CAAA;EAAG;AAA3B,wBAAwB,GAAA,UAAA,CAAA;AAXpC,IAAA,QAAQ,CAAC;AACR,QAAA,OAAO,EAAE;YACP,uBAAuB;YACvB,uBAAuB;YACvB,2BAA2B;YAC3B,2BAA2B;YAC3B,wBAAwB;YACxB,yBAAyB;AAC1B,SAAA;QACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;KAC5B,CAAC;AACW,CAAA,EAAA,wBAAwB,CAAG;;ACpBxC;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./form-field.wrapper";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@nativescript/angular";
|
|
6
|
+
import * as i5 from "@ngx-formly/core";
|
|
1
7
|
export declare class FormlyNsFormFieldModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsFormFieldModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsFormFieldModule, [typeof i1.FormlyWrapperFormField], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyModule], never>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsFormFieldModule>;
|
|
2
11
|
}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import { FieldWrapper } from '@ngx-formly/core';
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { FieldWrapper, FormlyFieldConfig, FormlyFieldProps as CoreFormlyFieldProps } from '@ngx-formly/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface FormlyFieldProps extends CoreFormlyFieldProps {
|
|
4
|
+
hideLabel?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormField, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-ns-form-field", never, {}, {}, never, never>;
|
|
4
9
|
}
|
package/form-field/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"fesm5": "../fesm5/ngx-formly-nativescript-form-field.js",
|
|
8
|
-
"fesm2015": "../fesm2015/ngx-formly-nativescript-form-field.js",
|
|
2
|
+
"module": "../fesm2015/ngx-formly-nativescript-form-field.mjs",
|
|
3
|
+
"es2020": "../fesm2020/ngx-formly-nativescript-form-field.mjs",
|
|
4
|
+
"esm2020": "../esm2020/form-field/ngx-formly-nativescript-form-field.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-nativescript-form-field.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-nativescript-form-field.mjs",
|
|
9
7
|
"typings": "ngx-formly-nativescript-form-field.d.ts",
|
|
10
|
-
"metadata": "ngx-formly-nativescript-form-field.metadata.json",
|
|
11
8
|
"sideEffects": false,
|
|
12
9
|
"name": "@ngx-formly/nativescript/form-field"
|
|
13
|
-
}
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,42 +1,90 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngx-formly/nativescript",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-beta.0",
|
|
4
4
|
"license": "MIT",
|
|
5
|
+
"dependencies": {
|
|
6
|
+
"tslib": "^2.0.0"
|
|
7
|
+
},
|
|
8
|
+
"peerDependencies": {
|
|
9
|
+
"@ngx-formly/core": "6.0.0-beta.0",
|
|
10
|
+
"@nativescript/angular": ">=13.0.0",
|
|
11
|
+
"@nativescript/core": ">=8.1.0"
|
|
12
|
+
},
|
|
13
|
+
"module": "fesm2015/ngx-formly-nativescript.mjs",
|
|
14
|
+
"es2020": "fesm2020/ngx-formly-nativescript.mjs",
|
|
15
|
+
"esm2020": "esm2020/ngx-formly-nativescript.mjs",
|
|
16
|
+
"fesm2020": "fesm2020/ngx-formly-nativescript.mjs",
|
|
17
|
+
"fesm2015": "fesm2015/ngx-formly-nativescript.mjs",
|
|
18
|
+
"typings": "ngx-formly-nativescript.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
"./package.json": {
|
|
21
|
+
"default": "./package.json"
|
|
22
|
+
},
|
|
23
|
+
".": {
|
|
24
|
+
"types": "./ngx-formly-nativescript.d.ts",
|
|
25
|
+
"esm2020": "./esm2020/ngx-formly-nativescript.mjs",
|
|
26
|
+
"es2020": "./fesm2020/ngx-formly-nativescript.mjs",
|
|
27
|
+
"es2015": "./fesm2015/ngx-formly-nativescript.mjs",
|
|
28
|
+
"node": "./fesm2015/ngx-formly-nativescript.mjs",
|
|
29
|
+
"default": "./fesm2020/ngx-formly-nativescript.mjs"
|
|
30
|
+
},
|
|
31
|
+
"./checkbox": {
|
|
32
|
+
"types": "./checkbox/ngx-formly-nativescript-checkbox.d.ts",
|
|
33
|
+
"esm2020": "./esm2020/checkbox/ngx-formly-nativescript-checkbox.mjs",
|
|
34
|
+
"es2020": "./fesm2020/ngx-formly-nativescript-checkbox.mjs",
|
|
35
|
+
"es2015": "./fesm2015/ngx-formly-nativescript-checkbox.mjs",
|
|
36
|
+
"node": "./fesm2015/ngx-formly-nativescript-checkbox.mjs",
|
|
37
|
+
"default": "./fesm2020/ngx-formly-nativescript-checkbox.mjs"
|
|
38
|
+
},
|
|
39
|
+
"./form-field": {
|
|
40
|
+
"types": "./form-field/ngx-formly-nativescript-form-field.d.ts",
|
|
41
|
+
"esm2020": "./esm2020/form-field/ngx-formly-nativescript-form-field.mjs",
|
|
42
|
+
"es2020": "./fesm2020/ngx-formly-nativescript-form-field.mjs",
|
|
43
|
+
"es2015": "./fesm2015/ngx-formly-nativescript-form-field.mjs",
|
|
44
|
+
"node": "./fesm2015/ngx-formly-nativescript-form-field.mjs",
|
|
45
|
+
"default": "./fesm2020/ngx-formly-nativescript-form-field.mjs"
|
|
46
|
+
},
|
|
47
|
+
"./radio": {
|
|
48
|
+
"types": "./radio/ngx-formly-nativescript-radio.d.ts",
|
|
49
|
+
"esm2020": "./esm2020/radio/ngx-formly-nativescript-radio.mjs",
|
|
50
|
+
"es2020": "./fesm2020/ngx-formly-nativescript-radio.mjs",
|
|
51
|
+
"es2015": "./fesm2015/ngx-formly-nativescript-radio.mjs",
|
|
52
|
+
"node": "./fesm2015/ngx-formly-nativescript-radio.mjs",
|
|
53
|
+
"default": "./fesm2020/ngx-formly-nativescript-radio.mjs"
|
|
54
|
+
},
|
|
55
|
+
"./select": {
|
|
56
|
+
"types": "./select/ngx-formly-nativescript-select.d.ts",
|
|
57
|
+
"esm2020": "./esm2020/select/ngx-formly-nativescript-select.mjs",
|
|
58
|
+
"es2020": "./fesm2020/ngx-formly-nativescript-select.mjs",
|
|
59
|
+
"es2015": "./fesm2015/ngx-formly-nativescript-select.mjs",
|
|
60
|
+
"node": "./fesm2015/ngx-formly-nativescript-select.mjs",
|
|
61
|
+
"default": "./fesm2020/ngx-formly-nativescript-select.mjs"
|
|
62
|
+
},
|
|
63
|
+
"./text-field": {
|
|
64
|
+
"types": "./text-field/ngx-formly-nativescript-text-field.d.ts",
|
|
65
|
+
"esm2020": "./esm2020/text-field/ngx-formly-nativescript-text-field.mjs",
|
|
66
|
+
"es2020": "./fesm2020/ngx-formly-nativescript-text-field.mjs",
|
|
67
|
+
"es2015": "./fesm2015/ngx-formly-nativescript-text-field.mjs",
|
|
68
|
+
"node": "./fesm2015/ngx-formly-nativescript-text-field.mjs",
|
|
69
|
+
"default": "./fesm2020/ngx-formly-nativescript-text-field.mjs"
|
|
70
|
+
},
|
|
71
|
+
"./textarea": {
|
|
72
|
+
"types": "./textarea/ngx-formly-nativescript-textarea.d.ts",
|
|
73
|
+
"esm2020": "./esm2020/textarea/ngx-formly-nativescript-textarea.mjs",
|
|
74
|
+
"es2020": "./fesm2020/ngx-formly-nativescript-textarea.mjs",
|
|
75
|
+
"es2015": "./fesm2015/ngx-formly-nativescript-textarea.mjs",
|
|
76
|
+
"node": "./fesm2015/ngx-formly-nativescript-textarea.mjs",
|
|
77
|
+
"default": "./fesm2020/ngx-formly-nativescript-textarea.mjs"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"sideEffects": false,
|
|
5
81
|
"homepage": "https://github.com/ngx-formly/ngx-formly#readme",
|
|
6
|
-
"description": "
|
|
7
|
-
"keywords": [
|
|
8
|
-
"angular",
|
|
9
|
-
"forms",
|
|
10
|
-
"ngx-formly",
|
|
11
|
-
"formly",
|
|
12
|
-
"angular 2",
|
|
13
|
-
"angular 2 forms",
|
|
14
|
-
"json forms",
|
|
15
|
-
"form library",
|
|
16
|
-
"dynamic-forms"
|
|
17
|
-
],
|
|
82
|
+
"description": "Formly is a dynamic (JSON powered) form library for Angular that bring unmatched maintainability to your application's forms.",
|
|
18
83
|
"repository": {
|
|
19
84
|
"type": "git",
|
|
20
85
|
"url": "git+https://github.com/ngx-formly/ngx-formly.git"
|
|
21
86
|
},
|
|
22
87
|
"bugs": {
|
|
23
88
|
"url": "https://github.com/ngx-formly/ngx-formly/issues"
|
|
24
|
-
},
|
|
25
|
-
"peerDependencies": {
|
|
26
|
-
"@ngx-formly/core": "5.12.2",
|
|
27
|
-
"nativescript-angular": ">=7.0.0"
|
|
28
|
-
},
|
|
29
|
-
"main": "bundles/ngx-formly-nativescript.umd.js",
|
|
30
|
-
"module": "fesm5/ngx-formly-nativescript.js",
|
|
31
|
-
"es2015": "fesm2015/ngx-formly-nativescript.js",
|
|
32
|
-
"esm5": "esm5/ngx-formly-nativescript.js",
|
|
33
|
-
"esm2015": "esm2015/ngx-formly-nativescript.js",
|
|
34
|
-
"fesm5": "fesm5/ngx-formly-nativescript.js",
|
|
35
|
-
"fesm2015": "fesm2015/ngx-formly-nativescript.js",
|
|
36
|
-
"typings": "ngx-formly-nativescript.d.ts",
|
|
37
|
-
"metadata": "ngx-formly-nativescript.metadata.json",
|
|
38
|
-
"sideEffects": false,
|
|
39
|
-
"dependencies": {
|
|
40
|
-
"tslib": "^1.9.0"
|
|
41
89
|
}
|
|
42
|
-
}
|
|
90
|
+
}
|
package/radio/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"fesm5": "../fesm5/ngx-formly-nativescript-radio.js",
|
|
8
|
-
"fesm2015": "../fesm2015/ngx-formly-nativescript-radio.js",
|
|
2
|
+
"module": "../fesm2015/ngx-formly-nativescript-radio.mjs",
|
|
3
|
+
"es2020": "../fesm2020/ngx-formly-nativescript-radio.mjs",
|
|
4
|
+
"esm2020": "../esm2020/radio/ngx-formly-nativescript-radio.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-nativescript-radio.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-nativescript-radio.mjs",
|
|
9
7
|
"typings": "ngx-formly-nativescript-radio.d.ts",
|
|
10
|
-
"metadata": "ngx-formly-nativescript-radio.metadata.json",
|
|
11
8
|
"sideEffects": false,
|
|
12
9
|
"name": "@ngx-formly/nativescript/radio"
|
|
13
|
-
}
|
|
10
|
+
}
|
package/radio/public_api.d.ts
CHANGED
package/radio/radio.module.d.ts
CHANGED
|
@@ -1,2 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./radio.type";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@nativescript/angular";
|
|
6
|
+
import * as i5 from "@ngx-formly/nativescript/form-field";
|
|
7
|
+
import * as i6 from "@ngx-formly/core/select";
|
|
8
|
+
import * as i7 from "@ngx-formly/core";
|
|
1
9
|
export declare class FormlyNsRadioFieldModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsRadioFieldModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsRadioFieldModule, [typeof i1.FormlyFieldRadio], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlySelectModule, typeof i7.FormlyModule], never>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsRadioFieldModule>;
|
|
2
13
|
}
|
package/radio/radio.type.d.ts
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
interface RadioProps extends FormlyFieldProps {
|
|
6
|
+
}
|
|
7
|
+
export interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
|
|
8
|
+
type: 'radio' | Type<FormlyFieldRadio>;
|
|
9
|
+
}
|
|
10
|
+
export declare class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {
|
|
3
11
|
tap(id: any): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-ns-radio", never, {}, {}, never, never>;
|
|
4
14
|
}
|
|
15
|
+
export {};
|
package/select/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"fesm5": "../fesm5/ngx-formly-nativescript-select.js",
|
|
8
|
-
"fesm2015": "../fesm2015/ngx-formly-nativescript-select.js",
|
|
2
|
+
"module": "../fesm2015/ngx-formly-nativescript-select.mjs",
|
|
3
|
+
"es2020": "../fesm2020/ngx-formly-nativescript-select.mjs",
|
|
4
|
+
"esm2020": "../esm2020/select/ngx-formly-nativescript-select.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-nativescript-select.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-nativescript-select.mjs",
|
|
9
7
|
"typings": "ngx-formly-nativescript-select.d.ts",
|
|
10
|
-
"metadata": "ngx-formly-nativescript-select.metadata.json",
|
|
11
8
|
"sideEffects": false,
|
|
12
9
|
"name": "@ngx-formly/nativescript/select"
|
|
13
|
-
}
|
|
10
|
+
}
|
package/select/public_api.d.ts
CHANGED
|
@@ -1,2 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./select.type";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@nativescript/angular";
|
|
6
|
+
import * as i5 from "@ngx-formly/nativescript/form-field";
|
|
7
|
+
import * as i6 from "@ngx-formly/core/select";
|
|
8
|
+
import * as i7 from "@ngx-formly/core";
|
|
1
9
|
export declare class FormlyNsSelectFieldModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsSelectFieldModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsSelectFieldModule, [typeof i1.FormlyFieldSelect], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlySelectModule, typeof i7.FormlyModule], never>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsSelectFieldModule>;
|
|
2
13
|
}
|
package/select/select.type.d.ts
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';
|
|
4
|
+
import { FormlyFieldSelectProps } from '@ngx-formly/core/select';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
interface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {
|
|
5
7
|
}
|
|
8
|
+
export interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {
|
|
9
|
+
type: 'select' | Type<FormlyFieldSelect>;
|
|
10
|
+
}
|
|
11
|
+
export declare class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {
|
|
12
|
+
tap(options: any[]): void;
|
|
13
|
+
selectedItem(options: any[]): any;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-ns-select", never, {}, {}, never, never>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
package/text-field/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"fesm5": "../fesm5/ngx-formly-nativescript-text-field.js",
|
|
8
|
-
"fesm2015": "../fesm2015/ngx-formly-nativescript-text-field.js",
|
|
2
|
+
"module": "../fesm2015/ngx-formly-nativescript-text-field.mjs",
|
|
3
|
+
"es2020": "../fesm2020/ngx-formly-nativescript-text-field.mjs",
|
|
4
|
+
"esm2020": "../esm2020/text-field/ngx-formly-nativescript-text-field.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-nativescript-text-field.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-nativescript-text-field.mjs",
|
|
9
7
|
"typings": "ngx-formly-nativescript-text-field.d.ts",
|
|
10
|
-
"metadata": "ngx-formly-nativescript-text-field.metadata.json",
|
|
11
8
|
"sideEffects": false,
|
|
12
9
|
"name": "@ngx-formly/nativescript/text-field"
|
|
13
|
-
}
|
|
10
|
+
}
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./text-field.type";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@nativescript/angular";
|
|
6
|
+
import * as i5 from "@ngx-formly/nativescript/form-field";
|
|
7
|
+
import * as i6 from "@ngx-formly/core";
|
|
1
8
|
export declare class FormlyNsTextFieldModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsTextFieldModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsTextFieldModule, [typeof i1.FormlyFieldInput], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlyModule], never>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsTextFieldModule>;
|
|
2
12
|
}
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
interface InputProps extends FormlyFieldProps {
|
|
6
|
+
autocorrect?: boolean;
|
|
7
|
+
secure?: boolean;
|
|
8
|
+
hint?: string;
|
|
9
|
+
keyboardType?: any;
|
|
3
10
|
}
|
|
11
|
+
export interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {
|
|
12
|
+
type: 'input' | Type<FormlyFieldInput>;
|
|
13
|
+
}
|
|
14
|
+
export declare class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-ns-input", never, {}, {}, never, never>;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
package/textarea/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"fesm5": "../fesm5/ngx-formly-nativescript-textarea.js",
|
|
8
|
-
"fesm2015": "../fesm2015/ngx-formly-nativescript-textarea.js",
|
|
2
|
+
"module": "../fesm2015/ngx-formly-nativescript-textarea.mjs",
|
|
3
|
+
"es2020": "../fesm2020/ngx-formly-nativescript-textarea.mjs",
|
|
4
|
+
"esm2020": "../esm2020/textarea/ngx-formly-nativescript-textarea.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-nativescript-textarea.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-nativescript-textarea.mjs",
|
|
9
7
|
"typings": "ngx-formly-nativescript-textarea.d.ts",
|
|
10
|
-
"metadata": "ngx-formly-nativescript-textarea.metadata.json",
|
|
11
8
|
"sideEffects": false,
|
|
12
9
|
"name": "@ngx-formly/nativescript/textarea"
|
|
13
|
-
}
|
|
10
|
+
}
|
package/textarea/public_api.d.ts
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { FormlyNsTextAreaFieldModule } from './textarea.module';
|
|
2
|
+
export { FormlyTextAreaFieldConfig } from './textarea.type';
|
|
3
|
+
/** @deprecated use FormlyFieldDatePicker */
|
|
4
|
+
declare const FormlyNsTextareaFieldModule: typeof FormlyNsTextAreaFieldModule;
|
|
5
|
+
export { FormlyNsTextAreaFieldModule, FormlyNsTextareaFieldModule };
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./textarea.type";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@nativescript/angular";
|
|
6
|
+
import * as i5 from "@ngx-formly/nativescript/form-field";
|
|
7
|
+
import * as i6 from "@ngx-formly/core";
|
|
8
|
+
export declare class FormlyNsTextAreaFieldModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNsTextAreaFieldModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNsTextAreaFieldModule, [typeof i1.FormlyFieldTextArea], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NativeScriptFormsModule, typeof i5.FormlyNsFormFieldModule, typeof i6.FormlyModule], never>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNsTextAreaFieldModule>;
|
|
2
12
|
}
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import { FormlyFieldProps } from '@ngx-formly/nativescript/form-field';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
interface TextAreaProps extends FormlyFieldProps {
|
|
6
|
+
hint?: string;
|
|
7
|
+
autocorrect?: boolean;
|
|
8
|
+
keyboardType?: any;
|
|
3
9
|
}
|
|
10
|
+
export interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {
|
|
11
|
+
type: 'textarea' | Type<FormlyFieldTextArea>;
|
|
12
|
+
}
|
|
13
|
+
export declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextArea, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextArea, "formly-field-ns-textarea", never, {}, {}, never, never>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/forms'), require('nativescript-angular/forms'), require('@ngx-formly/nativescript/form-field'), require('@angular/core'), require('@ngx-formly/core')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@ngx-formly/nativescript/checkbox', ['exports', '@angular/common', '@angular/forms', 'nativescript-angular/forms', '@ngx-formly/nativescript/form-field', '@angular/core', '@ngx-formly/core'], factory) :
|
|
4
|
-
(factory((global['ngx-formly'] = global['ngx-formly'] || {}, global['ngx-formly'].nativescript = global['ngx-formly'].nativescript || {}, global['ngx-formly'].nativescript.checkbox = {}),global.ng.common,global.ng.forms,global.forms$1,global['ngx-formly'].nativescript['form-field'],global.ng.core,global.core$1));
|
|
5
|
-
}(this, (function (exports,common,forms,forms$1,formField,core,core$1) { 'use strict';
|
|
6
|
-
|
|
7
|
-
/*! *****************************************************************************
|
|
8
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
10
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
11
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
-
|
|
13
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
15
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
16
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
17
|
-
|
|
18
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
|
19
|
-
and limitations under the License.
|
|
20
|
-
***************************************************************************** */
|
|
21
|
-
/* global Reflect, Promise */
|
|
22
|
-
var extendStatics = function (d, b) {
|
|
23
|
-
extendStatics = Object.setPrototypeOf ||
|
|
24
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
25
|
-
function (d, b) { for (var p in b)
|
|
26
|
-
if (b.hasOwnProperty(p))
|
|
27
|
-
d[p] = b[p]; };
|
|
28
|
-
return extendStatics(d, b);
|
|
29
|
-
};
|
|
30
|
-
function __extends(d, b) {
|
|
31
|
-
extendStatics(d, b);
|
|
32
|
-
function __() { this.constructor = d; }
|
|
33
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @fileoverview added by tsickle
|
|
38
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
39
|
-
*/
|
|
40
|
-
var FormlyFieldCheckbox = /** @class */ (function (_super) {
|
|
41
|
-
__extends(FormlyFieldCheckbox, _super);
|
|
42
|
-
function FormlyFieldCheckbox() {
|
|
43
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
44
|
-
_this.defaultOptions = {
|
|
45
|
-
templateOptions: {
|
|
46
|
-
hideLabel: true,
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
return _this;
|
|
50
|
-
}
|
|
51
|
-
FormlyFieldCheckbox.decorators = [
|
|
52
|
-
{ type: core.Component, args: [{
|
|
53
|
-
selector: 'formly-field-ns-checkbox',
|
|
54
|
-
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 "
|
|
55
|
-
}] }
|
|
56
|
-
];
|
|
57
|
-
return FormlyFieldCheckbox;
|
|
58
|
-
}(core$1.FieldType));
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @fileoverview added by tsickle
|
|
62
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
63
|
-
*/
|
|
64
|
-
var FormlyNsCheckboxFieldModule = /** @class */ (function () {
|
|
65
|
-
function FormlyNsCheckboxFieldModule() {
|
|
66
|
-
}
|
|
67
|
-
FormlyNsCheckboxFieldModule.decorators = [
|
|
68
|
-
{ type: core.NgModule, args: [{
|
|
69
|
-
declarations: [FormlyFieldCheckbox],
|
|
70
|
-
imports: [
|
|
71
|
-
common.CommonModule,
|
|
72
|
-
forms.ReactiveFormsModule,
|
|
73
|
-
forms$1.NativeScriptFormsModule,
|
|
74
|
-
formField.FormlyNsFormFieldModule,
|
|
75
|
-
core$1.FormlyModule.forChild({
|
|
76
|
-
types: [
|
|
77
|
-
{
|
|
78
|
-
name: 'checkbox',
|
|
79
|
-
component: FormlyFieldCheckbox,
|
|
80
|
-
wrappers: ['form-field'],
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
}),
|
|
84
|
-
],
|
|
85
|
-
schemas: [core.NO_ERRORS_SCHEMA],
|
|
86
|
-
},] }
|
|
87
|
-
];
|
|
88
|
-
return FormlyNsCheckboxFieldModule;
|
|
89
|
-
}());
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* @fileoverview added by tsickle
|
|
93
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
94
|
-
*/
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* @fileoverview added by tsickle
|
|
98
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
99
|
-
*/
|
|
100
|
-
|
|
101
|
-
exports.FormlyNsCheckboxFieldModule = FormlyNsCheckboxFieldModule;
|
|
102
|
-
exports.ɵa = FormlyFieldCheckbox;
|
|
103
|
-
|
|
104
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
105
|
-
|
|
106
|
-
})));
|
|
107
|
-
|
|
108
|
-
//# sourceMappingURL=ngx-formly-nativescript-checkbox.umd.js.map
|