@ngx-formly/nativescript 5.12.1 → 6.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/README.md +9 -6
  2. package/checkbox/checkbox.module.d.ts +10 -0
  3. package/checkbox/checkbox.type.d.ts +14 -3
  4. package/checkbox/ngx-formly-nativescript-checkbox.d.ts +1 -1
  5. package/checkbox/package.json +6 -9
  6. package/checkbox/public_api.d.ts +1 -0
  7. package/esm2020/checkbox/checkbox.module.mjs +62 -0
  8. package/esm2020/checkbox/checkbox.type.mjs +37 -0
  9. package/esm2020/checkbox/ngx-formly-nativescript-checkbox.mjs +5 -0
  10. package/esm2020/checkbox/public_api.mjs +2 -0
  11. package/esm2020/form-field/form-field.module.mjs +48 -0
  12. package/esm2020/form-field/form-field.wrapper.mjs +41 -0
  13. package/esm2020/form-field/ngx-formly-nativescript-form-field.mjs +5 -0
  14. package/esm2020/form-field/public_api.mjs +2 -0
  15. package/esm2020/lib/ui-nativescipt.mjs +2 -0
  16. package/esm2020/lib/ui-nativescript.module.mjs +25 -0
  17. package/esm2020/ngx-formly-nativescript.mjs +5 -0
  18. package/esm2020/public_api.mjs +5 -0
  19. package/esm2020/radio/ngx-formly-nativescript-radio.mjs +5 -0
  20. package/esm2020/radio/public_api.mjs +2 -0
  21. package/esm2020/radio/radio.module.mjs +58 -0
  22. package/esm2020/radio/radio.type.mjs +41 -0
  23. package/esm2020/select/ngx-formly-nativescript-select.mjs +5 -0
  24. package/esm2020/select/public_api.mjs +2 -0
  25. package/esm2020/select/select.module.mjs +60 -0
  26. package/esm2020/select/select.type.mjs +36 -0
  27. package/esm2020/text-field/ngx-formly-nativescript-text-field.mjs +5 -0
  28. package/esm2020/text-field/public_api.mjs +2 -0
  29. package/esm2020/text-field/text-field.module.mjs +94 -0
  30. package/esm2020/text-field/text-field.type.mjs +41 -0
  31. package/esm2020/textarea/ngx-formly-nativescript-textarea.mjs +5 -0
  32. package/esm2020/textarea/public_api.mjs +5 -0
  33. package/esm2020/textarea/textarea.module.mjs +54 -0
  34. package/esm2020/textarea/textarea.type.mjs +39 -0
  35. package/fesm2015/ngx-formly-nativescript-checkbox.mjs +101 -0
  36. package/fesm2015/ngx-formly-nativescript-checkbox.mjs.map +1 -0
  37. package/fesm2015/ngx-formly-nativescript-form-field.mjs +91 -0
  38. package/fesm2015/ngx-formly-nativescript-form-field.mjs.map +1 -0
  39. package/fesm2015/ngx-formly-nativescript-radio.mjs +102 -0
  40. package/fesm2015/ngx-formly-nativescript-radio.mjs.map +1 -0
  41. package/fesm2015/ngx-formly-nativescript-select.mjs +99 -0
  42. package/fesm2015/ngx-formly-nativescript-select.mjs.map +1 -0
  43. package/fesm2015/ngx-formly-nativescript-text-field.mjs +137 -0
  44. package/fesm2015/ngx-formly-nativescript-text-field.mjs.map +1 -0
  45. package/fesm2015/ngx-formly-nativescript-textarea.mjs +98 -0
  46. package/fesm2015/ngx-formly-nativescript-textarea.mjs.map +1 -0
  47. package/fesm2015/ngx-formly-nativescript.mjs +35 -0
  48. package/fesm2015/ngx-formly-nativescript.mjs.map +1 -0
  49. package/fesm2020/ngx-formly-nativescript-checkbox.mjs +101 -0
  50. package/fesm2020/ngx-formly-nativescript-checkbox.mjs.map +1 -0
  51. package/fesm2020/ngx-formly-nativescript-form-field.mjs +91 -0
  52. package/fesm2020/ngx-formly-nativescript-form-field.mjs.map +1 -0
  53. package/fesm2020/ngx-formly-nativescript-radio.mjs +102 -0
  54. package/fesm2020/ngx-formly-nativescript-radio.mjs.map +1 -0
  55. package/fesm2020/ngx-formly-nativescript-select.mjs +99 -0
  56. package/fesm2020/ngx-formly-nativescript-select.mjs.map +1 -0
  57. package/fesm2020/ngx-formly-nativescript-text-field.mjs +137 -0
  58. package/fesm2020/ngx-formly-nativescript-text-field.mjs.map +1 -0
  59. package/fesm2020/ngx-formly-nativescript-textarea.mjs +98 -0
  60. package/fesm2020/ngx-formly-nativescript-textarea.mjs.map +1 -0
  61. package/fesm2020/ngx-formly-nativescript.mjs +35 -0
  62. package/fesm2020/ngx-formly-nativescript.mjs.map +1 -0
  63. package/form-field/form-field.module.d.ts +9 -0
  64. package/form-field/form-field.wrapper.d.ts +8 -3
  65. package/form-field/ngx-formly-nativescript-form-field.d.ts +1 -1
  66. package/form-field/package.json +6 -9
  67. package/form-field/public_api.d.ts +1 -0
  68. package/ngx-formly-nativescript.d.ts +1 -0
  69. package/package.json +79 -31
  70. package/radio/ngx-formly-nativescript-radio.d.ts +1 -1
  71. package/radio/package.json +6 -9
  72. package/radio/public_api.d.ts +1 -0
  73. package/radio/radio.module.d.ts +11 -0
  74. package/radio/radio.type.d.ts +13 -2
  75. package/select/ngx-formly-nativescript-select.d.ts +1 -1
  76. package/select/package.json +6 -9
  77. package/select/public_api.d.ts +1 -0
  78. package/select/select.module.d.ts +11 -0
  79. package/select/select.type.d.ts +16 -4
  80. package/text-field/ngx-formly-nativescript-text-field.d.ts +1 -1
  81. package/text-field/package.json +6 -9
  82. package/text-field/public_api.d.ts +1 -0
  83. package/text-field/text-field.module.d.ts +10 -0
  84. package/text-field/text-field.type.d.ts +17 -2
  85. package/textarea/ngx-formly-nativescript-textarea.d.ts +1 -1
  86. package/textarea/package.json +6 -9
  87. package/textarea/public_api.d.ts +5 -1
  88. package/textarea/textarea.module.d.ts +11 -1
  89. package/textarea/textarea.type.d.ts +16 -2
  90. package/bundles/ngx-formly-nativescript-checkbox.umd.js +0 -108
  91. package/bundles/ngx-formly-nativescript-checkbox.umd.js.map +0 -1
  92. package/bundles/ngx-formly-nativescript-checkbox.umd.min.js +0 -2
  93. package/bundles/ngx-formly-nativescript-checkbox.umd.min.js.map +0 -1
  94. package/bundles/ngx-formly-nativescript-form-field.umd.js +0 -101
  95. package/bundles/ngx-formly-nativescript-form-field.umd.js.map +0 -1
  96. package/bundles/ngx-formly-nativescript-form-field.umd.min.js +0 -2
  97. package/bundles/ngx-formly-nativescript-form-field.umd.min.js.map +0 -1
  98. package/bundles/ngx-formly-nativescript-radio.umd.js +0 -122
  99. package/bundles/ngx-formly-nativescript-radio.umd.js.map +0 -1
  100. package/bundles/ngx-formly-nativescript-radio.umd.min.js +0 -2
  101. package/bundles/ngx-formly-nativescript-radio.umd.min.js.map +0 -1
  102. package/bundles/ngx-formly-nativescript-select.umd.js +0 -145
  103. package/bundles/ngx-formly-nativescript-select.umd.js.map +0 -1
  104. package/bundles/ngx-formly-nativescript-select.umd.min.js +0 -2
  105. package/bundles/ngx-formly-nativescript-select.umd.min.js.map +0 -1
  106. package/bundles/ngx-formly-nativescript-text-field.umd.js +0 -103
  107. package/bundles/ngx-formly-nativescript-text-field.umd.js.map +0 -1
  108. package/bundles/ngx-formly-nativescript-text-field.umd.min.js +0 -2
  109. package/bundles/ngx-formly-nativescript-text-field.umd.min.js.map +0 -1
  110. package/bundles/ngx-formly-nativescript-textarea.umd.js +0 -102
  111. package/bundles/ngx-formly-nativescript-textarea.umd.js.map +0 -1
  112. package/bundles/ngx-formly-nativescript-textarea.umd.min.js +0 -2
  113. package/bundles/ngx-formly-nativescript-textarea.umd.min.js.map +0 -1
  114. package/bundles/ngx-formly-nativescript.umd.js +0 -51
  115. package/bundles/ngx-formly-nativescript.umd.js.map +0 -1
  116. package/bundles/ngx-formly-nativescript.umd.min.js +0 -2
  117. package/bundles/ngx-formly-nativescript.umd.min.js.map +0 -1
  118. package/checkbox/ngx-formly-nativescript-checkbox.metadata.json +0 -1
  119. package/esm2015/checkbox/checkbox.module.js +0 -35
  120. package/esm2015/checkbox/checkbox.type.js +0 -32
  121. package/esm2015/checkbox/ngx-formly-nativescript-checkbox.js +0 -10
  122. package/esm2015/checkbox/public_api.js +0 -6
  123. package/esm2015/form-field/form-field.module.js +0 -30
  124. package/esm2015/form-field/form-field.wrapper.js +0 -35
  125. package/esm2015/form-field/ngx-formly-nativescript-form-field.js +0 -10
  126. package/esm2015/form-field/public_api.js +0 -6
  127. package/esm2015/lib/ui-nativescipt.js +0 -6
  128. package/esm2015/lib/ui-nativescript.module.js +0 -27
  129. package/esm2015/ngx-formly-nativescript.js +0 -9
  130. package/esm2015/public_api.js +0 -9
  131. package/esm2015/radio/ngx-formly-nativescript-radio.js +0 -10
  132. package/esm2015/radio/public_api.js +0 -6
  133. package/esm2015/radio/radio.module.js +0 -37
  134. package/esm2015/radio/radio.type.js +0 -40
  135. package/esm2015/select/ngx-formly-nativescript-select.js +0 -10
  136. package/esm2015/select/public_api.js +0 -6
  137. package/esm2015/select/select.module.js +0 -37
  138. package/esm2015/select/select.type.js +0 -54
  139. package/esm2015/text-field/ngx-formly-nativescript-text-field.js +0 -10
  140. package/esm2015/text-field/public_api.js +0 -6
  141. package/esm2015/text-field/text-field.module.js +0 -36
  142. package/esm2015/text-field/text-field.type.js +0 -25
  143. package/esm2015/textarea/ngx-formly-nativescript-textarea.js +0 -10
  144. package/esm2015/textarea/public_api.js +0 -6
  145. package/esm2015/textarea/textarea.module.js +0 -35
  146. package/esm2015/textarea/textarea.type.js +0 -24
  147. package/esm5/checkbox/checkbox.module.js +0 -39
  148. package/esm5/checkbox/checkbox.type.js +0 -32
  149. package/esm5/checkbox/ngx-formly-nativescript-checkbox.js +0 -10
  150. package/esm5/checkbox/public_api.js +0 -6
  151. package/esm5/form-field/form-field.module.js +0 -34
  152. package/esm5/form-field/form-field.wrapper.js +0 -29
  153. package/esm5/form-field/ngx-formly-nativescript-form-field.js +0 -10
  154. package/esm5/form-field/public_api.js +0 -6
  155. package/esm5/lib/ui-nativescipt.js +0 -6
  156. package/esm5/lib/ui-nativescript.module.js +0 -31
  157. package/esm5/ngx-formly-nativescript.js +0 -9
  158. package/esm5/public_api.js +0 -9
  159. package/esm5/radio/ngx-formly-nativescript-radio.js +0 -10
  160. package/esm5/radio/public_api.js +0 -6
  161. package/esm5/radio/radio.module.js +0 -41
  162. package/esm5/radio/radio.type.js +0 -42
  163. package/esm5/select/ngx-formly-nativescript-select.js +0 -10
  164. package/esm5/select/public_api.js +0 -6
  165. package/esm5/select/select.module.js +0 -41
  166. package/esm5/select/select.type.js +0 -67
  167. package/esm5/text-field/ngx-formly-nativescript-text-field.js +0 -10
  168. package/esm5/text-field/public_api.js +0 -6
  169. package/esm5/text-field/text-field.module.js +0 -40
  170. package/esm5/text-field/text-field.type.js +0 -22
  171. package/esm5/textarea/ngx-formly-nativescript-textarea.js +0 -10
  172. package/esm5/textarea/public_api.js +0 -6
  173. package/esm5/textarea/textarea.module.js +0 -39
  174. package/esm5/textarea/textarea.type.js +0 -22
  175. package/fesm2015/ngx-formly-nativescript-checkbox.js +0 -74
  176. package/fesm2015/ngx-formly-nativescript-checkbox.js.map +0 -1
  177. package/fesm2015/ngx-formly-nativescript-form-field.js +0 -72
  178. package/fesm2015/ngx-formly-nativescript-form-field.js.map +0 -1
  179. package/fesm2015/ngx-formly-nativescript-radio.js +0 -88
  180. package/fesm2015/ngx-formly-nativescript-radio.js.map +0 -1
  181. package/fesm2015/ngx-formly-nativescript-select.js +0 -102
  182. package/fesm2015/ngx-formly-nativescript-select.js.map +0 -1
  183. package/fesm2015/ngx-formly-nativescript-text-field.js +0 -72
  184. package/fesm2015/ngx-formly-nativescript-text-field.js.map +0 -1
  185. package/fesm2015/ngx-formly-nativescript-textarea.js +0 -70
  186. package/fesm2015/ngx-formly-nativescript-textarea.js.map +0 -1
  187. package/fesm2015/ngx-formly-nativescript.js +0 -46
  188. package/fesm2015/ngx-formly-nativescript.js.map +0 -1
  189. package/fesm5/ngx-formly-nativescript-checkbox.js +0 -76
  190. package/fesm5/ngx-formly-nativescript-checkbox.js.map +0 -1
  191. package/fesm5/ngx-formly-nativescript-form-field.js +0 -68
  192. package/fesm5/ngx-formly-nativescript-form-field.js.map +0 -1
  193. package/fesm5/ngx-formly-nativescript-radio.js +0 -92
  194. package/fesm5/ngx-formly-nativescript-radio.js.map +0 -1
  195. package/fesm5/ngx-formly-nativescript-select.js +0 -117
  196. package/fesm5/ngx-formly-nativescript-select.js.map +0 -1
  197. package/fesm5/ngx-formly-nativescript-text-field.js +0 -71
  198. package/fesm5/ngx-formly-nativescript-text-field.js.map +0 -1
  199. package/fesm5/ngx-formly-nativescript-textarea.js +0 -70
  200. package/fesm5/ngx-formly-nativescript-textarea.js.map +0 -1
  201. package/fesm5/ngx-formly-nativescript.js +0 -49
  202. package/fesm5/ngx-formly-nativescript.js.map +0 -1
  203. package/form-field/ngx-formly-nativescript-form-field.metadata.json +0 -1
  204. package/ngx-formly-nativescript.metadata.json +0 -1
  205. package/radio/ngx-formly-nativescript-radio.metadata.json +0 -1
  206. package/select/ngx-formly-nativescript-select.metadata.json +0 -1
  207. package/text-field/ngx-formly-nativescript-text-field.metadata.json +0 -1
  208. package/textarea/ngx-formly-nativescript-textarea.metadata.json +0 -1
@@ -1,22 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- import * as tslib_1 from "tslib";
6
- import { Component } from '@angular/core';
7
- import { FieldType } from '@ngx-formly/core';
8
- var FormlyFieldTextarea = /** @class */ (function (_super) {
9
- tslib_1.__extends(FormlyFieldTextarea, _super);
10
- function FormlyFieldTextarea() {
11
- return _super !== null && _super.apply(this, arguments) || this;
12
- }
13
- FormlyFieldTextarea.decorators = [
14
- { type: Component, args: [{
15
- selector: 'formly-field-ns-textarea',
16
- 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 "
17
- }] }
18
- ];
19
- return FormlyFieldTextarea;
20
- }(FieldType));
21
- export { FormlyFieldTextarea };
22
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEudHlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtZm9ybWx5L25hdGl2ZXNjcmlwdC90ZXh0YXJlYS8iLCJzb3VyY2VzIjpbInRleHRhcmVhLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUU3QztJQWF5QywrQ0FBUztJQWJsRDs7SUFhb0QsQ0FBQzs7Z0JBYnBELFNBQVMsU0FBQztvQkFDVCxRQUFRLEVBQUUsMEJBQTBCO29CQUNwQyxRQUFRLEVBQUUsOE9BU1Q7aUJBQ0Y7O0lBQ21ELDBCQUFDO0NBQUEsQUFickQsQ0FheUMsU0FBUyxHQUFHO1NBQXhDLG1CQUFtQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgRmllbGRUeXBlIH0gZnJvbSAnQG5neC1mb3JtbHkvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2Zvcm1seS1maWVsZC1ucy10ZXh0YXJlYScsXG4gIHRlbXBsYXRlOiBgXG4gICAgPFRleHRWaWV3IGNsYXNzPVwiaW5wdXRcIlxuICAgICAgW2Zvcm1seUF0dHJpYnV0ZXNdPVwiZmllbGRcIlxuICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcblxuICAgICAgW2hpbnRdPVwidG8uaGludFwiXG4gICAgICBbYXV0b2NvcnJlY3RdPVwidG8uYXV0b2NvcnJlY3RcIlxuICAgICAgW2tleWJvYXJkVHlwZV09XCJ0by5rZXlib2FyZFR5cGVcIj5cbiAgICA8L1RleHRWaWV3PlxuICBgLFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZFRleHRhcmVhIGV4dGVuZHMgRmllbGRUeXBlIHt9XG4iXX0=
@@ -1,74 +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 { Component, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
6
- import { FieldType, 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
- class FormlyFieldCheckbox extends FieldType {
13
- constructor() {
14
- super(...arguments);
15
- this.defaultOptions = {
16
- templateOptions: {
17
- hideLabel: true,
18
- },
19
- };
20
- }
21
- }
22
- FormlyFieldCheckbox.decorators = [
23
- { type: Component, args: [{
24
- selector: 'formly-field-ns-checkbox',
25
- template: `
26
- <GridLayout class="input-field input-sides" rows="auto, auto" columns="*,*">
27
- <Label class="label" [text]="to.label"></Label>
28
- <Switch class="switch input" [formlyAttributes]="field" [formControl]="formControl" col="1"></Switch>
29
- </GridLayout>
30
- `
31
- }] }
32
- ];
33
-
34
- /**
35
- * @fileoverview added by tsickle
36
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
37
- */
38
- class FormlyNsCheckboxFieldModule {
39
- }
40
- FormlyNsCheckboxFieldModule.decorators = [
41
- { type: NgModule, args: [{
42
- declarations: [FormlyFieldCheckbox],
43
- imports: [
44
- CommonModule,
45
- ReactiveFormsModule,
46
- NativeScriptFormsModule,
47
- FormlyNsFormFieldModule,
48
- FormlyModule.forChild({
49
- types: [
50
- {
51
- name: 'checkbox',
52
- component: FormlyFieldCheckbox,
53
- wrappers: ['form-field'],
54
- },
55
- ],
56
- }),
57
- ],
58
- schemas: [NO_ERRORS_SCHEMA],
59
- },] }
60
- ];
61
-
62
- /**
63
- * @fileoverview added by tsickle
64
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
65
- */
66
-
67
- /**
68
- * @fileoverview added by tsickle
69
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
70
- */
71
-
72
- export { FormlyNsCheckboxFieldModule, FormlyFieldCheckbox as ɵa };
73
-
74
- //# sourceMappingURL=ngx-formly-nativescript-checkbox.js.map
@@ -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":[],"mappings":";;;;;;;;;;;AAAA,MAYa,mBAAoB,SAAQ,SAAS;IATlD;;QAUE,mBAAc,GAAG;YACf,eAAe,EAAE;gBACf,SAAS,EAAE,IAAI;aAChB;SACF,CAAC;KACH;;;YAfA,SAAS,SAAC;gBACT,QAAQ,EAAE,0BAA0B;gBACpC,QAAQ,EAAE;;;;;GAKT;aACF;;;;;;;ACXD,MA6Ba,2BAA2B;;;YApBvC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;gBACnC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,uBAAuB;oBAEvB,uBAAuB;oBACvB,YAAY,CAAC,QAAQ,CAAC;wBACpB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,UAAU;gCAChB,SAAS,EAAE,mBAAmB;gCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;6BACzB;yBACF;qBACF,CAAC;iBACH;gBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;aAC5B;;;;;;;;;;;;;;;"}
@@ -1,72 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { ReactiveFormsModule } from '@angular/forms';
3
- import { NativeScriptFormsModule } from 'nativescript-angular/forms';
4
- import { Component, ViewChild, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
5
- import { FieldWrapper, FormlyModule } from '@ngx-formly/core';
6
-
7
- /**
8
- * @fileoverview added by tsickle
9
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10
- */
11
- class FormlyWrapperFormField extends FieldWrapper {
12
- }
13
- FormlyWrapperFormField.decorators = [
14
- { type: Component, args: [{
15
- selector: 'formly-wrapper-ns-form-field',
16
- template: `
17
- <StackLayout class="form">
18
- <StackLayout class="input-field">
19
- <Label *ngIf="to.label && to.hideLabel !== true" class="label" [text]="to.label"></Label>
20
- <ng-container #fieldComponent></ng-container>
21
- <StackLayout class="hr-light"></StackLayout>
22
- <ng-container *ngIf="showError">
23
- <formly-validation-message #validationMessage [field]="field"></formly-validation-message>
24
- <Label class="text-danger" [text]="validationMessage.errorMessage"></Label>
25
- </ng-container>
26
- </StackLayout>
27
- </StackLayout>
28
-
29
- `
30
- }] }
31
- ];
32
- FormlyWrapperFormField.propDecorators = {
33
- validationMessage: [{ type: ViewChild, args: ['validationMessage',] }]
34
- };
35
-
36
- /**
37
- * @fileoverview added by tsickle
38
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
39
- */
40
- class FormlyNsFormFieldModule {
41
- }
42
- FormlyNsFormFieldModule.decorators = [
43
- { type: NgModule, args: [{
44
- declarations: [FormlyWrapperFormField],
45
- imports: [
46
- CommonModule,
47
- ReactiveFormsModule,
48
- NativeScriptFormsModule,
49
- FormlyModule.forChild({
50
- wrappers: [{
51
- name: 'form-field',
52
- component: FormlyWrapperFormField,
53
- }],
54
- }),
55
- ],
56
- schemas: [NO_ERRORS_SCHEMA],
57
- },] }
58
- ];
59
-
60
- /**
61
- * @fileoverview added by tsickle
62
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
63
- */
64
-
65
- /**
66
- * @fileoverview added by tsickle
67
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
68
- */
69
-
70
- export { FormlyNsFormFieldModule, FormlyWrapperFormField as ɵa };
71
-
72
- //# 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":[],"mappings":";;;;;;;;;;AAAA,MAoBa,sBAAuB,SAAQ,YAAY;;;YAjBvD,SAAS,SAAC;gBACT,QAAQ,EAAE,8BAA8B;gBACxC,QAAQ,EAAE;;;;;;;;;;;;;GAaT;aACF;;;gCAEE,SAAS,SAAC,mBAAmB;;;;;;;ACrBhC,MAsBa,uBAAuB;;;YAfnC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;gBACtC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,uBAAuB;oBACvB,YAAY,CAAC,QAAQ,CAAC;wBACpB,QAAQ,EAAE,CAAC;gCACT,IAAI,EAAE,YAAY;gCAClB,SAAS,EAAE,sBAAsB;6BAClC,CAAC;qBACH,CAAC;iBACH;gBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;aAC5B;;;;;;;;;;;;;;;"}
@@ -1,88 +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 { 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
- class FormlyFieldRadio extends FieldType {
14
- /**
15
- * @param {?} id
16
- * @return {?}
17
- */
18
- tap(id) {
19
- /** @type {?} */
20
- const value = this.formControl.value === id ? null : id;
21
- setTimeout((/**
22
- * @return {?}
23
- */
24
- () => {
25
- this.formControl.patchValue(value);
26
- this.formControl.markAsTouched();
27
- }), 100);
28
- }
29
- }
30
- FormlyFieldRadio.decorators = [
31
- { type: Component, args: [{
32
- selector: 'formly-field-ns-radio',
33
- template: `
34
- <ng-container *ngFor="let option of to.options | formlySelectOptions:field | async;">
35
- <GridLayout class="input-field input-sides" rows="auto, auto" columns="*,*">
36
- <Label class="label" [text]="option.label"></Label>
37
- <Switch col="1" class="switch input"
38
- [checked]="formControl.value === option.value"
39
- (tap)="tap(option.value)">
40
- </Switch>
41
- </GridLayout>
42
- </ng-container>
43
- `
44
- }] }
45
- ];
46
-
47
- /**
48
- * @fileoverview added by tsickle
49
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
50
- */
51
- class FormlyNsRadioFieldModule {
52
- }
53
- FormlyNsRadioFieldModule.decorators = [
54
- { type: NgModule, args: [{
55
- declarations: [FormlyFieldRadio],
56
- imports: [
57
- CommonModule,
58
- ReactiveFormsModule,
59
- NativeScriptFormsModule,
60
- FormlyNsFormFieldModule,
61
- FormlySelectModule,
62
- FormlyModule.forChild({
63
- types: [
64
- {
65
- name: 'radio',
66
- component: FormlyFieldRadio,
67
- wrappers: ['form-field'],
68
- },
69
- ],
70
- }),
71
- ],
72
- schemas: [NO_ERRORS_SCHEMA],
73
- },] }
74
- ];
75
-
76
- /**
77
- * @fileoverview added by tsickle
78
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
79
- */
80
-
81
- /**
82
- * @fileoverview added by tsickle
83
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
84
- */
85
-
86
- export { FormlyNsRadioFieldModule, FormlyFieldRadio as ɵa };
87
-
88
- //# 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":[],"mappings":";;;;;;;;;;;;AAAA,MAiBa,gBAAiB,SAAQ,SAAS;;;;;IAC7C,GAAG,CAAC,EAAE;;cACE,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,KAAK,EAAE,GAAG,IAAI,GAAG,EAAE;QACvD,UAAU;;;QAAC;YACT,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;YACnC,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,CAAC;SAClC,GAAE,GAAG,CAAC,CAAC;KACT;;;YArBF,SAAS,SAAC;gBACT,QAAQ,EAAE,uBAAuB;gBACjC,QAAQ,EAAE;;;;;;;;;;GAUT;aACF;;;;;;;AChBD,MA+Ba,wBAAwB;;;YArBpC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;gBAChC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,uBAAuB;oBAEvB,uBAAuB;oBACvB,kBAAkB;oBAClB,YAAY,CAAC,QAAQ,CAAC;wBACpB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,OAAO;gCACb,SAAS,EAAE,gBAAgB;gCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;6BACzB;yBACF;qBACF,CAAC;iBACH;gBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;aAC5B;;;;;;;;;;;;;;;"}
@@ -1,102 +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 { Component, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
7
- import { FieldType, FormlyModule } from '@ngx-formly/core';
8
- import { action } from 'tns-core-modules/ui/dialogs';
9
-
10
- /**
11
- * @fileoverview added by tsickle
12
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
13
- */
14
- class FormlyFieldSelect extends FieldType {
15
- /**
16
- * @param {?} options
17
- * @return {?}
18
- */
19
- tap(options) {
20
- action({ title: this.to.label, actions: options.map((/**
21
- * @param {?} o
22
- * @return {?}
23
- */
24
- o => o.label)) })
25
- .then((/**
26
- * @param {?} selectedAction
27
- * @return {?}
28
- */
29
- (selectedAction) => this.formControl.patchValue(options.find((/**
30
- * @param {?} o
31
- * @return {?}
32
- */
33
- o => o.label === selectedAction)).value)));
34
- }
35
- /**
36
- * @param {?} options
37
- * @return {?}
38
- */
39
- selectedItem(options) {
40
- if (this.formControl.value) {
41
- return options.find((/**
42
- * @param {?} o
43
- * @return {?}
44
- */
45
- o => o.value === this.formControl.value)).label;
46
- }
47
- return this.to.placeholder;
48
- }
49
- }
50
- FormlyFieldSelect.decorators = [
51
- { type: Component, args: [{
52
- selector: 'formly-field-ns-select',
53
- template: `
54
- <ng-container *ngIf="to.options | formlySelectOptions:field | async as options">
55
- <Button (tap)="tap(options)" [text]="selectedItem(options)"></Button>
56
- </ng-container>
57
- `
58
- }] }
59
- ];
60
-
61
- /**
62
- * @fileoverview added by tsickle
63
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
64
- */
65
- class FormlyNsSelectFieldModule {
66
- }
67
- FormlyNsSelectFieldModule.decorators = [
68
- { type: NgModule, args: [{
69
- declarations: [FormlyFieldSelect],
70
- imports: [
71
- CommonModule,
72
- ReactiveFormsModule,
73
- NativeScriptFormsModule,
74
- FormlyNsFormFieldModule,
75
- FormlySelectModule,
76
- FormlyModule.forChild({
77
- types: [
78
- {
79
- name: 'select',
80
- component: FormlyFieldSelect,
81
- wrappers: ['form-field'],
82
- },
83
- ],
84
- }),
85
- ],
86
- schemas: [NO_ERRORS_SCHEMA],
87
- },] }
88
- ];
89
-
90
- /**
91
- * @fileoverview added by tsickle
92
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
93
- */
94
-
95
- /**
96
- * @fileoverview added by tsickle
97
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
98
- */
99
-
100
- export { FormlyNsSelectFieldModule, FormlyFieldSelect as ɵa };
101
-
102
- //# 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":[],"mappings":";;;;;;;;;;;;;AAAA,MAYa,iBAAkB,SAAQ,SAAS;;;;;IAC9C,GAAG,CAAC,OAAO;QACT,MAAM,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,GAAG;;;;YAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAC,EAAE,CAAC;aACjE,IAAI;;;;QAAC,CAAC,cAAc,KAAK,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI;;;;QAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,cAAc,EAAC,CAAC,KAAK,CAAC,EAAC,CAAC;KAC/G;;;;;IAED,YAAY,CAAC,OAAO;QAClB,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE;YAC1B,OAAO,OAAO,CAAC,IAAI;;;;YAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,WAAW,CAAC,KAAK,EAAC,CAAC,KAAK,CAAC;SACpE;QAED,OAAO,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC;KAC5B;;;YApBF,SAAS,SAAC;gBACT,QAAQ,EAAE,wBAAwB;gBAClC,QAAQ,EAAE;;;;GAIT;aACF;;;;;;;ACXD,MA+Ba,yBAAyB;;;YArBrC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;gBACjC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,uBAAuB;oBAEvB,uBAAuB;oBACvB,kBAAkB;oBAClB,YAAY,CAAC,QAAQ,CAAC;wBACpB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,QAAQ;gCACd,SAAS,EAAE,iBAAiB;gCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;6BACzB;yBACF;qBACF,CAAC;iBACH;gBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;aAC5B;;;;;;;;;;;;;;;"}
@@ -1,72 +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 { Component, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
6
- import { FieldType, 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
- class FormlyFieldText extends FieldType {
13
- }
14
- FormlyFieldText.decorators = [
15
- { type: Component, args: [{
16
- selector: 'formly-field-ns-input',
17
- template: `
18
- <TextField class="input"
19
- [formlyAttributes]="field"
20
- [formControl]="formControl"
21
-
22
- [autocorrect]="to.autocorrect"
23
- [secure]="to.secure"
24
- [hint]="to.hint"
25
- [keyboardType]="to.keyboardType">
26
- </TextField>
27
- `
28
- }] }
29
- ];
30
-
31
- /**
32
- * @fileoverview added by tsickle
33
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
34
- */
35
- class FormlyNsTextFieldModule {
36
- }
37
- FormlyNsTextFieldModule.decorators = [
38
- { type: NgModule, args: [{
39
- declarations: [FormlyFieldText],
40
- imports: [
41
- CommonModule,
42
- ReactiveFormsModule,
43
- NativeScriptFormsModule,
44
- FormlyNsFormFieldModule,
45
- FormlyModule.forChild({
46
- types: [
47
- {
48
- name: 'text-field',
49
- component: FormlyFieldText,
50
- wrappers: ['form-field'],
51
- },
52
- { name: 'input', extends: 'text-field' },
53
- ],
54
- }),
55
- ],
56
- schemas: [NO_ERRORS_SCHEMA],
57
- },] }
58
- ];
59
-
60
- /**
61
- * @fileoverview added by tsickle
62
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
63
- */
64
-
65
- /**
66
- * @fileoverview added by tsickle
67
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
68
- */
69
-
70
- export { FormlyNsTextFieldModule, FormlyFieldText as ɵa };
71
-
72
- //# 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":[],"mappings":";;;;;;;;;;;AAAA,MAiBa,eAAgB,SAAQ,SAAS;;;YAd7C,SAAS,SAAC;gBACT,QAAQ,EAAE,uBAAuB;gBACjC,QAAQ,EAAE;;;;;;;;;;GAUT;aACF;;;;;;;AChBD,MA8Ba,uBAAuB;;;YArBnC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,eAAe,CAAC;gBAC/B,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,uBAAuB;oBAEvB,uBAAuB;oBACvB,YAAY,CAAC,QAAQ,CAAC;wBACpB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,YAAY;gCAClB,SAAS,EAAE,eAAe;gCAC1B,QAAQ,EAAE,CAAC,YAAY,CAAC;6BACzB;4BACD,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE;yBACzC;qBACF,CAAC;iBACH;gBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;aAC5B;;;;;;;;;;;;;;;"}
@@ -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 { Component, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
6
- import { FieldType, 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
- class FormlyFieldTextarea extends FieldType {
13
- }
14
- FormlyFieldTextarea.decorators = [
15
- { type: Component, args: [{
16
- selector: 'formly-field-ns-textarea',
17
- template: `
18
- <TextView class="input"
19
- [formlyAttributes]="field"
20
- [formControl]="formControl"
21
-
22
- [hint]="to.hint"
23
- [autocorrect]="to.autocorrect"
24
- [keyboardType]="to.keyboardType">
25
- </TextView>
26
- `
27
- }] }
28
- ];
29
-
30
- /**
31
- * @fileoverview added by tsickle
32
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
33
- */
34
- class FormlyNsTextareaFieldModule {
35
- }
36
- FormlyNsTextareaFieldModule.decorators = [
37
- { type: NgModule, args: [{
38
- declarations: [FormlyFieldTextarea],
39
- imports: [
40
- CommonModule,
41
- ReactiveFormsModule,
42
- NativeScriptFormsModule,
43
- FormlyNsFormFieldModule,
44
- FormlyModule.forChild({
45
- types: [
46
- {
47
- name: 'textarea',
48
- component: FormlyFieldTextarea,
49
- wrappers: ['form-field'],
50
- },
51
- ],
52
- }),
53
- ],
54
- schemas: [NO_ERRORS_SCHEMA],
55
- },] }
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":[],"mappings":";;;;;;;;;;;AAAA,MAgBa,mBAAoB,SAAQ,SAAS;;;YAbjD,SAAS,SAAC;gBACT,QAAQ,EAAE,0BAA0B;gBACpC,QAAQ,EAAE;;;;;;;;;GAST;aACF;;;;;;;ACfD,MA6Ba,2BAA2B;;;YApBvC,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;gBACnC,OAAO,EAAE;oBACP,YAAY;oBACZ,mBAAmB;oBACnB,uBAAuB;oBAEvB,uBAAuB;oBACvB,YAAY,CAAC,QAAQ,CAAC;wBACpB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,UAAU;gCAChB,SAAS,EAAE,mBAAmB;gCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;6BACzB;yBACF;qBACF,CAAC;iBACH;gBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;aAC5B;;;;;;;;;;;;;;;"}
@@ -1,46 +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
- class FormlyNativescriptModule {
14
- }
15
- FormlyNativescriptModule.decorators = [
16
- { type: NgModule, args: [{
17
- imports: [
18
- FormlyNsFormFieldModule,
19
- FormlyNsTextFieldModule,
20
- FormlyNsTextareaFieldModule,
21
- FormlyNsCheckboxFieldModule,
22
- FormlyNsRadioFieldModule,
23
- FormlyNsSelectFieldModule,
24
- ],
25
- schemas: [NO_ERRORS_SCHEMA],
26
- },] }
27
- ];
28
-
29
- /**
30
- * @fileoverview added by tsickle
31
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
32
- */
33
-
34
- /**
35
- * @fileoverview added by tsickle
36
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
37
- */
38
-
39
- /**
40
- * @fileoverview added by tsickle
41
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
42
- */
43
-
44
- export { FormlyNativescriptModule };
45
-
46
- //# 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,MAoBa,wBAAwB;;;YAXpC,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,uBAAuB;oBACvB,uBAAuB;oBACvB,2BAA2B;oBAC3B,2BAA2B;oBAC3B,wBAAwB;oBACxB,yBAAyB;iBAC1B;gBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;aAC5B;;;;;;;;;;;;;;;;;;;;"}