@ngx-formly/ionic 5.10.24 → 6.0.0-next.4

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 (187) hide show
  1. package/README.md +4 -2
  2. package/checkbox/checkbox.module.d.ts +12 -0
  3. package/checkbox/checkbox.type.d.ts +6 -0
  4. package/checkbox/ngx-formly-ionic-checkbox.d.ts +5 -0
  5. package/checkbox/package.json +10 -0
  6. package/checkbox/public_api.d.ts +2 -0
  7. package/datetime/datetime.module.d.ts +12 -0
  8. package/datetime/datetime.type.d.ts +6 -0
  9. package/datetime/ngx-formly-ionic-datetime.d.ts +5 -0
  10. package/datetime/package.json +10 -0
  11. package/datetime/public_api.d.ts +1 -0
  12. package/esm2020/checkbox/checkbox.module.mjs +61 -0
  13. package/esm2020/checkbox/checkbox.type.mjs +19 -0
  14. package/esm2020/checkbox/ngx-formly-ionic-checkbox.mjs +5 -0
  15. package/esm2020/checkbox/public_api.mjs +3 -0
  16. package/esm2020/datetime/datetime.module.mjs +53 -0
  17. package/esm2020/datetime/datetime.type.mjs +63 -0
  18. package/esm2020/datetime/ngx-formly-ionic-datetime.mjs +5 -0
  19. package/esm2020/datetime/public_api.mjs +2 -0
  20. package/esm2020/form-field/form-field.module.mjs +49 -0
  21. package/esm2020/form-field/form-field.wrapper.mjs +53 -0
  22. package/esm2020/form-field/formly.attributes.mjs +34 -0
  23. package/esm2020/form-field/ngx-formly-ionic-form-field.mjs +5 -0
  24. package/esm2020/form-field/public_api.mjs +3 -0
  25. package/esm2020/input/input.module.mjs +91 -0
  26. package/esm2020/input/input.type.mjs +41 -0
  27. package/esm2020/input/ngx-formly-ionic-input.mjs +5 -0
  28. package/esm2020/input/public_api.mjs +3 -0
  29. package/esm2020/lib/ui-ionic.mjs +2 -0
  30. package/esm2020/lib/ui-ionic.module.mjs +52 -0
  31. package/esm2020/ngx-formly-ionic.mjs +5 -0
  32. package/esm2020/public_api.mjs +5 -0
  33. package/esm2020/radio/ngx-formly-ionic-radio.mjs +5 -0
  34. package/esm2020/radio/public_api.mjs +3 -0
  35. package/esm2020/radio/radio.module.mjs +57 -0
  36. package/esm2020/radio/radio.type.mjs +72 -0
  37. package/esm2020/select/ngx-formly-ionic-select.mjs +5 -0
  38. package/esm2020/select/public_api.mjs +3 -0
  39. package/esm2020/select/select.module.mjs +59 -0
  40. package/esm2020/select/select.type.mjs +71 -0
  41. package/esm2020/slider/ngx-formly-ionic-slider.mjs +5 -0
  42. package/esm2020/slider/public_api.mjs +2 -0
  43. package/esm2020/slider/slider.module.mjs +47 -0
  44. package/esm2020/slider/slider.type.mjs +30 -0
  45. package/esm2020/textarea/ngx-formly-ionic-textarea.mjs +5 -0
  46. package/esm2020/textarea/public_api.mjs +3 -0
  47. package/esm2020/textarea/textarea.module.mjs +53 -0
  48. package/esm2020/textarea/textarea.type.mjs +26 -0
  49. package/esm2020/toggle/ngx-formly-ionic-toggle.mjs +5 -0
  50. package/esm2020/toggle/public_api.mjs +2 -0
  51. package/esm2020/toggle/toggle.module.mjs +53 -0
  52. package/esm2020/toggle/toggle.type.mjs +19 -0
  53. package/fesm2015/ngx-formly-ionic-checkbox.mjs +83 -0
  54. package/fesm2015/ngx-formly-ionic-checkbox.mjs.map +1 -0
  55. package/fesm2015/ngx-formly-ionic-datetime.mjs +119 -0
  56. package/fesm2015/ngx-formly-ionic-datetime.mjs.map +1 -0
  57. package/fesm2015/ngx-formly-ionic-form-field.mjs +134 -0
  58. package/fesm2015/ngx-formly-ionic-form-field.mjs.map +1 -0
  59. package/fesm2015/ngx-formly-ionic-input.mjs +135 -0
  60. package/fesm2015/ngx-formly-ionic-input.mjs.map +1 -0
  61. package/fesm2015/ngx-formly-ionic-radio.mjs +131 -0
  62. package/fesm2015/ngx-formly-ionic-radio.mjs.map +1 -0
  63. package/fesm2015/ngx-formly-ionic-select.mjs +133 -0
  64. package/fesm2015/ngx-formly-ionic-select.mjs.map +1 -0
  65. package/fesm2015/ngx-formly-ionic-slider.mjs +80 -0
  66. package/fesm2015/ngx-formly-ionic-slider.mjs.map +1 -0
  67. package/fesm2015/ngx-formly-ionic-textarea.mjs +82 -0
  68. package/fesm2015/ngx-formly-ionic-textarea.mjs.map +1 -0
  69. package/fesm2015/ngx-formly-ionic-toggle.mjs +75 -0
  70. package/fesm2015/ngx-formly-ionic-toggle.mjs.map +1 -0
  71. package/fesm2015/ngx-formly-ionic.mjs +63 -0
  72. package/fesm2015/ngx-formly-ionic.mjs.map +1 -0
  73. package/fesm2020/ngx-formly-ionic-checkbox.mjs +83 -0
  74. package/fesm2020/ngx-formly-ionic-checkbox.mjs.map +1 -0
  75. package/fesm2020/ngx-formly-ionic-datetime.mjs +119 -0
  76. package/fesm2020/ngx-formly-ionic-datetime.mjs.map +1 -0
  77. package/fesm2020/ngx-formly-ionic-form-field.mjs +134 -0
  78. package/fesm2020/ngx-formly-ionic-form-field.mjs.map +1 -0
  79. package/fesm2020/ngx-formly-ionic-input.mjs +135 -0
  80. package/fesm2020/ngx-formly-ionic-input.mjs.map +1 -0
  81. package/fesm2020/ngx-formly-ionic-radio.mjs +131 -0
  82. package/fesm2020/ngx-formly-ionic-radio.mjs.map +1 -0
  83. package/fesm2020/ngx-formly-ionic-select.mjs +133 -0
  84. package/fesm2020/ngx-formly-ionic-select.mjs.map +1 -0
  85. package/fesm2020/ngx-formly-ionic-slider.mjs +80 -0
  86. package/fesm2020/ngx-formly-ionic-slider.mjs.map +1 -0
  87. package/fesm2020/ngx-formly-ionic-textarea.mjs +82 -0
  88. package/fesm2020/ngx-formly-ionic-textarea.mjs.map +1 -0
  89. package/fesm2020/ngx-formly-ionic-toggle.mjs +75 -0
  90. package/fesm2020/ngx-formly-ionic-toggle.mjs.map +1 -0
  91. package/fesm2020/ngx-formly-ionic.mjs +63 -0
  92. package/fesm2020/ngx-formly-ionic.mjs.map +1 -0
  93. package/form-field/form-field.module.d.ts +12 -0
  94. package/form-field/form-field.wrapper.d.ts +6 -0
  95. package/form-field/formly.attributes.d.ts +8 -0
  96. package/form-field/ngx-formly-ionic-form-field.d.ts +5 -0
  97. package/form-field/package.json +10 -0
  98. package/form-field/public_api.d.ts +2 -0
  99. package/input/input.module.d.ts +12 -0
  100. package/input/input.type.d.ts +6 -0
  101. package/input/ngx-formly-ionic-input.d.ts +5 -0
  102. package/input/package.json +10 -0
  103. package/input/public_api.d.ts +2 -0
  104. package/lib/ui-ionic.d.ts +0 -2
  105. package/lib/ui-ionic.module.d.ts +13 -0
  106. package/ngx-formly-ionic.d.ts +1 -2
  107. package/package.json +102 -33
  108. package/radio/ngx-formly-ionic-radio.d.ts +5 -0
  109. package/radio/package.json +10 -0
  110. package/radio/public_api.d.ts +2 -0
  111. package/radio/radio.module.d.ts +13 -0
  112. package/radio/radio.type.d.ts +11 -0
  113. package/select/ngx-formly-ionic-select.d.ts +5 -0
  114. package/select/package.json +10 -0
  115. package/select/public_api.d.ts +2 -0
  116. package/select/select.module.d.ts +13 -0
  117. package/{lib/types/select.d.ts → select/select.type.d.ts} +3 -0
  118. package/slider/ngx-formly-ionic-slider.d.ts +5 -0
  119. package/slider/package.json +10 -0
  120. package/slider/public_api.d.ts +1 -0
  121. package/slider/slider.module.d.ts +12 -0
  122. package/slider/slider.type.d.ts +6 -0
  123. package/textarea/ngx-formly-ionic-textarea.d.ts +5 -0
  124. package/textarea/package.json +10 -0
  125. package/textarea/public_api.d.ts +2 -0
  126. package/textarea/textarea.module.d.ts +12 -0
  127. package/textarea/textarea.type.d.ts +6 -0
  128. package/toggle/ngx-formly-ionic-toggle.d.ts +5 -0
  129. package/toggle/package.json +10 -0
  130. package/toggle/public_api.d.ts +1 -0
  131. package/toggle/toggle.module.d.ts +12 -0
  132. package/toggle/toggle.type.d.ts +6 -0
  133. package/bundles/ngx-formly-ionic.umd.js +0 -401
  134. package/bundles/ngx-formly-ionic.umd.js.map +0 -1
  135. package/bundles/ngx-formly-ionic.umd.min.js +0 -2
  136. package/bundles/ngx-formly-ionic.umd.min.js.map +0 -1
  137. package/esm2015/lib/formly.attributes.js +0 -46
  138. package/esm2015/lib/types/checkbox.js +0 -20
  139. package/esm2015/lib/types/datetime.js +0 -36
  140. package/esm2015/lib/types/input.js +0 -21
  141. package/esm2015/lib/types/radio.js +0 -46
  142. package/esm2015/lib/types/range.js +0 -25
  143. package/esm2015/lib/types/select.js +0 -55
  144. package/esm2015/lib/types/textarea.js +0 -23
  145. package/esm2015/lib/types/toggle.js +0 -20
  146. package/esm2015/lib/types/types.js +0 -13
  147. package/esm2015/lib/ui-ionic.config.js +0 -69
  148. package/esm2015/lib/ui-ionic.js +0 -8
  149. package/esm2015/lib/ui-ionic.module.js +0 -28
  150. package/esm2015/lib/wrappers/form-field.js +0 -32
  151. package/esm2015/lib/wrappers/wrappers.js +0 -6
  152. package/esm2015/ngx-formly-ionic.js +0 -11
  153. package/esm2015/public_api.js +0 -9
  154. package/esm5/lib/formly.attributes.js +0 -58
  155. package/esm5/lib/types/checkbox.js +0 -22
  156. package/esm5/lib/types/datetime.js +0 -22
  157. package/esm5/lib/types/input.js +0 -23
  158. package/esm5/lib/types/radio.js +0 -30
  159. package/esm5/lib/types/range.js +0 -23
  160. package/esm5/lib/types/select.js +0 -41
  161. package/esm5/lib/types/textarea.js +0 -23
  162. package/esm5/lib/types/toggle.js +0 -22
  163. package/esm5/lib/types/types.js +0 -13
  164. package/esm5/lib/ui-ionic.config.js +0 -69
  165. package/esm5/lib/ui-ionic.js +0 -8
  166. package/esm5/lib/ui-ionic.module.js +0 -32
  167. package/esm5/lib/wrappers/form-field.js +0 -22
  168. package/esm5/lib/wrappers/wrappers.js +0 -6
  169. package/esm5/ngx-formly-ionic.js +0 -11
  170. package/esm5/public_api.js +0 -9
  171. package/fesm2015/ngx-formly-ionic.js +0 -414
  172. package/fesm2015/ngx-formly-ionic.js.map +0 -1
  173. package/fesm5/ngx-formly-ionic.js +0 -360
  174. package/fesm5/ngx-formly-ionic.js.map +0 -1
  175. package/lib/formly.attributes.d.ts +0 -5
  176. package/lib/types/checkbox.d.ts +0 -3
  177. package/lib/types/datetime.d.ts +0 -3
  178. package/lib/types/input.d.ts +0 -3
  179. package/lib/types/radio.d.ts +0 -8
  180. package/lib/types/range.d.ts +0 -3
  181. package/lib/types/textarea.d.ts +0 -3
  182. package/lib/types/toggle.d.ts +0 -3
  183. package/lib/types/types.d.ts +0 -8
  184. package/lib/ui-ionic.config.d.ts +0 -4
  185. package/lib/wrappers/form-field.d.ts +0 -3
  186. package/lib/wrappers/wrappers.d.ts +0 -1
  187. package/ngx-formly-ionic.metadata.json +0 -1
@@ -0,0 +1,135 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import * as i2 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i1$1 from '@ngx-formly/core';
6
+ import { FieldType, FormlyModule } from '@ngx-formly/core';
7
+ import * as i3 from '@angular/forms';
8
+ import { ReactiveFormsModule } from '@angular/forms';
9
+ import * as i1 from '@ionic/angular';
10
+ import { IonicModule } from '@ionic/angular';
11
+ import * as i4 from '@ngx-formly/ionic/form-field';
12
+ import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
13
+
14
+ class FormlyFieldInput extends FieldType {
15
+ }
16
+ FormlyFieldInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component });
17
+ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: FormlyFieldInput, selector: "formly-field-ion-input", usesInheritance: true, ngImport: i0, template: `
18
+ <ion-input
19
+ *ngIf="to.type !== 'number'; else numberTmp"
20
+ [type]="to.type || 'text'"
21
+ [formControl]="formControl"
22
+ [ionFormlyAttributes]="field"
23
+ ></ion-input>
24
+ <ng-template #numberTmp>
25
+ <ion-input type="number" [formControl]="formControl" [ionFormlyAttributes]="field"></ion-input>
26
+ </ng-template>
27
+ `, isInline: true, styles: [":host{display:inherit}\n"], components: [{ type: i1.IonInput, selector: "ion-input", inputs: ["accept", "autocapitalize", "autocomplete", "autocorrect", "autofocus", "clearInput", "clearOnEdit", "color", "debounce", "disabled", "enterkeyhint", "inputmode", "max", "maxlength", "min", "minlength", "mode", "multiple", "name", "pattern", "placeholder", "readonly", "required", "size", "spellcheck", "step", "type", "value"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.TextValueAccessor, selector: "ion-input:not([type=number]),ion-textarea,ion-searchbar" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.ɵIonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: ["ionFormlyAttributes"] }, { type: i1.NumericValueAccessor, selector: "ion-input[type=number]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldInput, decorators: [{
29
+ type: Component,
30
+ args: [{
31
+ selector: 'formly-field-ion-input',
32
+ template: `
33
+ <ion-input
34
+ *ngIf="to.type !== 'number'; else numberTmp"
35
+ [type]="to.type || 'text'"
36
+ [formControl]="formControl"
37
+ [ionFormlyAttributes]="field"
38
+ ></ion-input>
39
+ <ng-template #numberTmp>
40
+ <ion-input type="number" [formControl]="formControl" [ionFormlyAttributes]="field"></ion-input>
41
+ </ng-template>
42
+ `,
43
+ styles: [':host { display: inherit; }'],
44
+ changeDetection: ChangeDetectionStrategy.OnPush,
45
+ }]
46
+ }] });
47
+
48
+ class FormlyInputModule {
49
+ }
50
+ FormlyInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
51
+ FormlyInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyInputModule, declarations: [FormlyFieldInput], imports: [CommonModule,
52
+ ReactiveFormsModule,
53
+ IonicModule,
54
+ FormlyFormFieldModule, i1$1.FormlyModule] });
55
+ FormlyInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyInputModule, imports: [[
56
+ CommonModule,
57
+ ReactiveFormsModule,
58
+ IonicModule,
59
+ FormlyFormFieldModule,
60
+ FormlyModule.forChild({
61
+ types: [
62
+ {
63
+ name: 'input',
64
+ component: FormlyFieldInput,
65
+ wrappers: ['form-field'],
66
+ },
67
+ { name: 'string', extends: 'input' },
68
+ {
69
+ name: 'number',
70
+ extends: 'input',
71
+ defaultOptions: {
72
+ templateOptions: {
73
+ type: 'number',
74
+ },
75
+ },
76
+ },
77
+ {
78
+ name: 'integer',
79
+ extends: 'input',
80
+ defaultOptions: {
81
+ templateOptions: {
82
+ type: 'number',
83
+ },
84
+ },
85
+ },
86
+ ],
87
+ }),
88
+ ]] });
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyInputModule, decorators: [{
90
+ type: NgModule,
91
+ args: [{
92
+ declarations: [FormlyFieldInput],
93
+ imports: [
94
+ CommonModule,
95
+ ReactiveFormsModule,
96
+ IonicModule,
97
+ FormlyFormFieldModule,
98
+ FormlyModule.forChild({
99
+ types: [
100
+ {
101
+ name: 'input',
102
+ component: FormlyFieldInput,
103
+ wrappers: ['form-field'],
104
+ },
105
+ { name: 'string', extends: 'input' },
106
+ {
107
+ name: 'number',
108
+ extends: 'input',
109
+ defaultOptions: {
110
+ templateOptions: {
111
+ type: 'number',
112
+ },
113
+ },
114
+ },
115
+ {
116
+ name: 'integer',
117
+ extends: 'input',
118
+ defaultOptions: {
119
+ templateOptions: {
120
+ type: 'number',
121
+ },
122
+ },
123
+ },
124
+ ],
125
+ }),
126
+ ],
127
+ }]
128
+ }] });
129
+
130
+ /**
131
+ * Generated bundle index. Do not edit.
132
+ */
133
+
134
+ export { FormlyFieldInput, FormlyInputModule };
135
+ //# sourceMappingURL=ngx-formly-ionic-input.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-formly-ionic-input.mjs","sources":["../../../../src/ui/ionic/input/src/input.type.ts","../../../../src/ui/ionic/input/src/input.module.ts","../../../../src/ui/ionic/input/src/ngx-formly-ionic-input.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ion-input',\n template: `\n <ion-input\n *ngIf=\"to.type !== 'number'; else numberTmp\"\n [type]=\"to.type || 'text'\"\n [formControl]=\"formControl\"\n [ionFormlyAttributes]=\"field\"\n ></ion-input>\n <ng-template #numberTmp>\n <ion-input type=\"number\" [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\"></ion-input>\n </ng-template>\n `,\n styles: [':host { display: inherit; }'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldInput extends FieldType {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { IonicModule } from '@ionic/angular';\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\n\nimport { FormlyFieldInput } from './input.type';\n\n@NgModule({\n declarations: [FormlyFieldInput],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'input',\n component: FormlyFieldInput,\n wrappers: ['form-field'],\n },\n { name: 'string', extends: 'input' },\n {\n name: 'number',\n extends: 'input',\n defaultOptions: {\n templateOptions: {\n type: 'number',\n },\n },\n },\n {\n name: 'integer',\n extends: 'input',\n defaultOptions: {\n templateOptions: {\n type: 'number',\n },\n },\n },\n ],\n }),\n ],\n})\nexport class FormlyInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAmBa,gBAAiB,SAAQ,SAAS;;6GAAlC,gBAAgB;iGAAhB,gBAAgB,qFAdjB;;;;;;;;;;GAUT;2FAIU,gBAAgB;kBAhB5B,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,QAAQ,EAAE;;;;;;;;;;GAUT;oBACD,MAAM,EAAE,CAAC,6BAA6B,CAAC;oBACvC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MC4BY,iBAAiB;;8GAAjB,iBAAiB;+GAAjB,iBAAiB,iBApCb,gBAAgB,aAE7B,YAAY;QACZ,mBAAmB;QACnB,WAAW;QACX,qBAAqB;+GA+BZ,iBAAiB,YAnCnB;YACP,YAAY;YACZ,mBAAmB;YACnB,WAAW;YACX,qBAAqB;YACrB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,OAAO;wBACb,SAAS,EAAE,gBAAgB;wBAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;qBACzB;oBACD,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;oBACpC;wBACE,IAAI,EAAE,QAAQ;wBACd,OAAO,EAAE,OAAO;wBAChB,cAAc,EAAE;4BACd,eAAe,EAAE;gCACf,IAAI,EAAE,QAAQ;6BACf;yBACF;qBACF;oBACD;wBACE,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,OAAO;wBAChB,cAAc,EAAE;4BACd,eAAe,EAAE;gCACf,IAAI,EAAE,QAAQ;6BACf;yBACF;qBACF;iBACF;aACF,CAAC;SACH;2FAEU,iBAAiB;kBArC7B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;oBAChC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBACX,qBAAqB;wBACrB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,OAAO;oCACb,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;gCACD,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;gCACpC;oCACE,IAAI,EAAE,QAAQ;oCACd,OAAO,EAAE,OAAO;oCAChB,cAAc,EAAE;wCACd,eAAe,EAAE;4CACf,IAAI,EAAE,QAAQ;yCACf;qCACF;iCACF;gCACD;oCACE,IAAI,EAAE,SAAS;oCACf,OAAO,EAAE,OAAO;oCAChB,cAAc,EAAE;wCACd,eAAe,EAAE;4CACf,IAAI,EAAE,QAAQ;yCACf;qCACF;iCACF;6BACF;yBACF,CAAC;qBACH;iBACF;;;AC7CD;;;;;;"}
@@ -0,0 +1,131 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import * as i5 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i2 from '@ngx-formly/core';
6
+ import { FieldType, FormlyModule } from '@ngx-formly/core';
7
+ import * as i3 from '@angular/forms';
8
+ import { ReactiveFormsModule } from '@angular/forms';
9
+ import * as i1 from '@ionic/angular';
10
+ import { IonicModule } from '@ionic/angular';
11
+ import * as i6 from '@ngx-formly/core/select';
12
+ import { FormlySelectModule } from '@ngx-formly/core/select';
13
+ import * as i4 from '@ngx-formly/ionic/form-field';
14
+ import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
15
+
16
+ class FormlyFieldRadio extends FieldType {
17
+ constructor() {
18
+ super(...arguments);
19
+ this.defaultOptions = {
20
+ templateOptions: { options: [] },
21
+ };
22
+ }
23
+ }
24
+ FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component });
25
+ FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: FormlyFieldRadio, selector: "formly-field-ion-radio", usesInheritance: true, ngImport: i0, template: `
26
+ <ion-list>
27
+ <ion-radio-group [formControl]="formControl" [ionFormlyAttributes]="field">
28
+ <ion-list-header>{{ to.label }}</ion-list-header>
29
+ <ion-item
30
+ *ngFor="let option of to.options | formlySelectOptions: field | async"
31
+ [disabled]="option.disabled || formControl.disabled"
32
+ >
33
+ <ion-label>{{ option.label }}</ion-label>
34
+ <ion-radio [value]="option.value"></ion-radio>
35
+ </ion-item>
36
+ </ion-radio-group>
37
+ </ion-list>
38
+ <ion-item lines="none" *ngIf="showError">
39
+ <ion-label>
40
+ <ion-text color="danger">
41
+ <p>
42
+ <formly-validation-message [field]="field"></formly-validation-message>
43
+ </p>
44
+ </ion-text>
45
+ </ion-label>
46
+ </ion-item>
47
+ `, isInline: true, components: [{ type: i1.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { type: i1.IonRadioGroup, selector: "ion-radio-group", inputs: ["allowEmptySelection", "name", "value"] }, { type: i1.IonListHeader, selector: "ion-list-header", inputs: ["color", "lines", "mode"] }, { type: i1.IonItem, selector: "ion-item", inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { type: i1.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { type: i1.IonRadio, selector: "ion-radio", inputs: ["color", "disabled", "mode", "name", "value"] }, { type: i1.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { type: i2.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }], directives: [{ type: i1.SelectValueAccessor, selector: "ion-range, ion-select, ion-radio-group, ion-segment, ion-datetime" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.ɵIonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: ["ionFormlyAttributes"] }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.RadioValueAccessor, selector: "ion-radio" }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i5.AsyncPipe, "formlySelectOptions": i6.ɵFormlySelectOptionsPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldRadio, decorators: [{
49
+ type: Component,
50
+ args: [{
51
+ selector: 'formly-field-ion-radio',
52
+ template: `
53
+ <ion-list>
54
+ <ion-radio-group [formControl]="formControl" [ionFormlyAttributes]="field">
55
+ <ion-list-header>{{ to.label }}</ion-list-header>
56
+ <ion-item
57
+ *ngFor="let option of to.options | formlySelectOptions: field | async"
58
+ [disabled]="option.disabled || formControl.disabled"
59
+ >
60
+ <ion-label>{{ option.label }}</ion-label>
61
+ <ion-radio [value]="option.value"></ion-radio>
62
+ </ion-item>
63
+ </ion-radio-group>
64
+ </ion-list>
65
+ <ion-item lines="none" *ngIf="showError">
66
+ <ion-label>
67
+ <ion-text color="danger">
68
+ <p>
69
+ <formly-validation-message [field]="field"></formly-validation-message>
70
+ </p>
71
+ </ion-text>
72
+ </ion-label>
73
+ </ion-item>
74
+ `,
75
+ changeDetection: ChangeDetectionStrategy.OnPush,
76
+ }]
77
+ }] });
78
+
79
+ class FormlyRadioModule {
80
+ }
81
+ FormlyRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
82
+ FormlyRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
83
+ ReactiveFormsModule,
84
+ IonicModule,
85
+ FormlyFormFieldModule,
86
+ FormlySelectModule, i2.FormlyModule] });
87
+ FormlyRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyRadioModule, imports: [[
88
+ CommonModule,
89
+ ReactiveFormsModule,
90
+ IonicModule,
91
+ FormlyFormFieldModule,
92
+ FormlySelectModule,
93
+ FormlyModule.forChild({
94
+ types: [
95
+ {
96
+ name: 'radio',
97
+ component: FormlyFieldRadio,
98
+ wrappers: [],
99
+ },
100
+ ],
101
+ }),
102
+ ]] });
103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyRadioModule, decorators: [{
104
+ type: NgModule,
105
+ args: [{
106
+ declarations: [FormlyFieldRadio],
107
+ imports: [
108
+ CommonModule,
109
+ ReactiveFormsModule,
110
+ IonicModule,
111
+ FormlyFormFieldModule,
112
+ FormlySelectModule,
113
+ FormlyModule.forChild({
114
+ types: [
115
+ {
116
+ name: 'radio',
117
+ component: FormlyFieldRadio,
118
+ wrappers: [],
119
+ },
120
+ ],
121
+ }),
122
+ ],
123
+ }]
124
+ }] });
125
+
126
+ /**
127
+ * Generated bundle index. Do not edit.
128
+ */
129
+
130
+ export { FormlyFieldRadio, FormlyRadioModule };
131
+ //# sourceMappingURL=ngx-formly-ionic-radio.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-formly-ionic-radio.mjs","sources":["../../../../src/ui/ionic/radio/src/radio.type.ts","../../../../src/ui/ionic/radio/src/radio.module.ts","../../../../src/ui/ionic/radio/src/ngx-formly-ionic-radio.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ion-radio',\n template: `\n <ion-list>\n <ion-radio-group [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\">\n <ion-list-header>{{ to.label }}</ion-list-header>\n <ion-item\n *ngFor=\"let option of to.options | formlySelectOptions: field | async\"\n [disabled]=\"option.disabled || formControl.disabled\"\n >\n <ion-label>{{ option.label }}</ion-label>\n <ion-radio [value]=\"option.value\"></ion-radio>\n </ion-item>\n </ion-radio-group>\n </ion-list>\n <ion-item lines=\"none\" *ngIf=\"showError\">\n <ion-label>\n <ion-text color=\"danger\">\n <p>\n <formly-validation-message [field]=\"field\"></formly-validation-message>\n </p>\n </ion-text>\n </ion-label>\n </ion-item>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldRadio extends FieldType {\n defaultOptions = {\n templateOptions: { options: [] },\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { IonicModule } from '@ionic/angular';\nimport { FormlySelectModule } from '@ngx-formly/core/select';\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\nimport { FormlyFieldRadio } from './radio.type';\n\n@NgModule({\n declarations: [FormlyFieldRadio],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n\n FormlyFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'radio',\n component: FormlyFieldRadio,\n wrappers: [],\n },\n ],\n }),\n ],\n})\nexport class FormlyRadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;MA8Ba,gBAAiB,SAAQ,SAAS;IA3B/C;;QA4BE,mBAAc,GAAG;YACf,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;SACjC,CAAC;KACH;;6GAJY,gBAAgB;iGAAhB,gBAAgB,qFAzBjB;;;;;;;;;;;;;;;;;;;;;;GAsBT;2FAGU,gBAAgB;kBA3B5B,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;GAsBT;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCAY,iBAAiB;;8GAAjB,iBAAiB;+GAAjB,iBAAiB,iBAnBb,gBAAgB,aAE7B,YAAY;QACZ,mBAAmB;QACnB,WAAW;QAEX,qBAAqB;QACrB,kBAAkB;+GAYT,iBAAiB,YAlBnB;YACP,YAAY;YACZ,mBAAmB;YACnB,WAAW;YAEX,qBAAqB;YACrB,kBAAkB;YAClB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,OAAO;wBACb,SAAS,EAAE,gBAAgB;wBAC3B,QAAQ,EAAE,EAAE;qBACb;iBACF;aACF,CAAC;SACH;2FAEU,iBAAiB;kBApB7B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;oBAChC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBAEX,qBAAqB;wBACrB,kBAAkB;wBAClB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,OAAO;oCACb,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,EAAE;iCACb;6BACF;yBACF,CAAC;qBACH;iBACF;;;AC5BD;;;;;;"}
@@ -0,0 +1,133 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import * as i2 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i3 from '@angular/forms';
6
+ import { ReactiveFormsModule } from '@angular/forms';
7
+ import * as i1$1 from '@ngx-formly/core';
8
+ import { FieldType, FormlyModule } from '@ngx-formly/core';
9
+ import * as i1 from '@ionic/angular';
10
+ import { IonicModule } from '@ionic/angular';
11
+ import * as i5 from '@ngx-formly/core/select';
12
+ import { FormlySelectModule as FormlySelectModule$1 } from '@ngx-formly/core/select';
13
+ import * as i4 from '@ngx-formly/ionic/form-field';
14
+ import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
15
+
16
+ class FormlyFieldSelect extends FieldType {
17
+ constructor() {
18
+ super(...arguments);
19
+ this.defaultOptions = {
20
+ templateOptions: {
21
+ options: [],
22
+ compareWith(o1, o2) {
23
+ return o1 === o2;
24
+ },
25
+ },
26
+ };
27
+ }
28
+ }
29
+ FormlyFieldSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
30
+ FormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: FormlyFieldSelect, selector: "formly-field-ion-select", usesInheritance: true, ngImport: i0, template: `
31
+ <!-- ng-container used as a workaround for https://github.com/ionic-team/ionic/issues/19324 -->
32
+ <ng-container *ngIf="to.options | formlySelectOptions: field | async; let selectOptions">
33
+ <ion-select
34
+ [style.align-self]="to.labelPosition === 'floating' ? 'stretch' : ''"
35
+ [style.max-width.%]="to.labelPosition === 'floating' ? 100 : ''"
36
+ [formControl]="formControl"
37
+ [compareWith]="to.compareWith"
38
+ [ionFormlyAttributes]="field"
39
+ [multiple]="to.multiple"
40
+ [interface]="to.interface"
41
+ [okText]="to.okText"
42
+ [cancelText]="to.cancelText"
43
+ >
44
+ <ion-select-option *ngFor="let option of selectOptions" [value]="option.value" [disabled]="option.disabled">
45
+ {{ option.label }}
46
+ </ion-select-option>
47
+ </ion-select>
48
+ </ng-container>
49
+ `, isInline: true, styles: [":host{display:inherit}\n"], components: [{ type: i1.IonSelect, selector: "ion-select", inputs: ["cancelText", "compareWith", "disabled", "interface", "interfaceOptions", "mode", "multiple", "name", "okText", "placeholder", "selectedText", "value"] }, { type: i1.IonSelectOption, selector: "ion-select-option", inputs: ["disabled", "value"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.SelectValueAccessor, selector: "ion-range, ion-select, ion-radio-group, ion-segment, ion-datetime" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.ɵIonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: ["ionFormlyAttributes"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i2.AsyncPipe, "formlySelectOptions": i5.ɵFormlySelectOptionsPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldSelect, decorators: [{
51
+ type: Component,
52
+ args: [{
53
+ selector: 'formly-field-ion-select',
54
+ template: `
55
+ <!-- ng-container used as a workaround for https://github.com/ionic-team/ionic/issues/19324 -->
56
+ <ng-container *ngIf="to.options | formlySelectOptions: field | async; let selectOptions">
57
+ <ion-select
58
+ [style.align-self]="to.labelPosition === 'floating' ? 'stretch' : ''"
59
+ [style.max-width.%]="to.labelPosition === 'floating' ? 100 : ''"
60
+ [formControl]="formControl"
61
+ [compareWith]="to.compareWith"
62
+ [ionFormlyAttributes]="field"
63
+ [multiple]="to.multiple"
64
+ [interface]="to.interface"
65
+ [okText]="to.okText"
66
+ [cancelText]="to.cancelText"
67
+ >
68
+ <ion-select-option *ngFor="let option of selectOptions" [value]="option.value" [disabled]="option.disabled">
69
+ {{ option.label }}
70
+ </ion-select-option>
71
+ </ion-select>
72
+ </ng-container>
73
+ `,
74
+ styles: [':host { display: inherit; }'],
75
+ changeDetection: ChangeDetectionStrategy.OnPush,
76
+ }]
77
+ }] });
78
+
79
+ class FormlySelectModule {
80
+ }
81
+ FormlySelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
82
+ FormlySelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySelectModule, declarations: [FormlyFieldSelect], imports: [CommonModule,
83
+ ReactiveFormsModule,
84
+ IonicModule,
85
+ FormlyFormFieldModule,
86
+ FormlySelectModule$1, i1$1.FormlyModule] });
87
+ FormlySelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySelectModule, imports: [[
88
+ CommonModule,
89
+ ReactiveFormsModule,
90
+ IonicModule,
91
+ FormlyFormFieldModule,
92
+ FormlySelectModule$1,
93
+ FormlyModule.forChild({
94
+ types: [
95
+ {
96
+ name: 'select',
97
+ component: FormlyFieldSelect,
98
+ wrappers: ['form-field'],
99
+ },
100
+ { name: 'enum', extends: 'select' },
101
+ ],
102
+ }),
103
+ ]] });
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySelectModule, decorators: [{
105
+ type: NgModule,
106
+ args: [{
107
+ declarations: [FormlyFieldSelect],
108
+ imports: [
109
+ CommonModule,
110
+ ReactiveFormsModule,
111
+ IonicModule,
112
+ FormlyFormFieldModule,
113
+ FormlySelectModule$1,
114
+ FormlyModule.forChild({
115
+ types: [
116
+ {
117
+ name: 'select',
118
+ component: FormlyFieldSelect,
119
+ wrappers: ['form-field'],
120
+ },
121
+ { name: 'enum', extends: 'select' },
122
+ ],
123
+ }),
124
+ ],
125
+ }]
126
+ }] });
127
+
128
+ /**
129
+ * Generated bundle index. Do not edit.
130
+ */
131
+
132
+ export { FormlyFieldSelect, FormlySelectModule };
133
+ //# sourceMappingURL=ngx-formly-ionic-select.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-formly-ionic-select.mjs","sources":["../../../../src/ui/ionic/select/src/select.type.ts","../../../../src/ui/ionic/select/src/select.module.ts","../../../../src/ui/ionic/select/src/ngx-formly-ionic-select.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ion-select',\n template: `\n <!-- ng-container used as a workaround for https://github.com/ionic-team/ionic/issues/19324 -->\n <ng-container *ngIf=\"to.options | formlySelectOptions: field | async; let selectOptions\">\n <ion-select\n [style.align-self]=\"to.labelPosition === 'floating' ? 'stretch' : ''\"\n [style.max-width.%]=\"to.labelPosition === 'floating' ? 100 : ''\"\n [formControl]=\"formControl\"\n [compareWith]=\"to.compareWith\"\n [ionFormlyAttributes]=\"field\"\n [multiple]=\"to.multiple\"\n [interface]=\"to.interface\"\n [okText]=\"to.okText\"\n [cancelText]=\"to.cancelText\"\n >\n <ion-select-option *ngFor=\"let option of selectOptions\" [value]=\"option.value\" [disabled]=\"option.disabled\">\n {{ option.label }}\n </ion-select-option>\n </ion-select>\n </ng-container>\n `,\n styles: [':host { display: inherit; }'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldSelect extends FieldType {\n defaultOptions = {\n templateOptions: {\n options: [],\n compareWith(o1: any, o2: any) {\n return o1 === o2;\n },\n },\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { IonicModule } from '@ionic/angular';\nimport { FormlySelectModule as FormlyCoreSelectModule } from '@ngx-formly/core/select';\n\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\nimport { FormlyFieldSelect } from './select.type';\n\n@NgModule({\n declarations: [FormlyFieldSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n\n FormlyFormFieldModule,\n FormlyCoreSelectModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'select',\n component: FormlyFieldSelect,\n wrappers: ['form-field'],\n },\n { name: 'enum', extends: 'select' },\n ],\n }),\n ],\n})\nexport class FormlySelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["FormlyCoreSelectModule"],"mappings":";;;;;;;;;;;;;;;MA4Ba,iBAAkB,SAAQ,SAAS;IAzBhD;;QA0BE,mBAAc,GAAG;YACf,eAAe,EAAE;gBACf,OAAO,EAAE,EAAE;gBACX,WAAW,CAAC,EAAO,EAAE,EAAO;oBAC1B,OAAO,EAAE,KAAK,EAAE,CAAC;iBAClB;aACF;SACF,CAAC;KACH;;8GATY,iBAAiB;kGAAjB,iBAAiB,sFAvBlB;;;;;;;;;;;;;;;;;;;GAmBT;2FAIU,iBAAiB;kBAzB7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,yBAAyB;oBACnC,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;GAmBT;oBACD,MAAM,EAAE,CAAC,6BAA6B,CAAC;oBACvC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCIY,kBAAkB;;+GAAlB,kBAAkB;gHAAlB,kBAAkB,iBApBd,iBAAiB,aAE9B,YAAY;QACZ,mBAAmB;QACnB,WAAW;QAEX,qBAAqB;QACrBA,oBAAsB;gHAab,kBAAkB,YAnBpB;YACP,YAAY;YACZ,mBAAmB;YACnB,WAAW;YAEX,qBAAqB;YACrBA,oBAAsB;YACtB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,iBAAiB;wBAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;qBACzB;oBACD,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;iBACpC;aACF,CAAC;SACH;2FAEU,kBAAkB;kBArB9B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBAEX,qBAAqB;wBACrBA,oBAAsB;wBACtB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,QAAQ;oCACd,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;gCACD,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;6BACpC;yBACF,CAAC;qBACH;iBACF;;;AC9BD;;;;;;"}
@@ -0,0 +1,80 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+ import * as i1$1 from '@ngx-formly/core';
5
+ import { FieldType, FormlyModule } from '@ngx-formly/core';
6
+ import * as i2 from '@angular/forms';
7
+ import { ReactiveFormsModule } from '@angular/forms';
8
+ import * as i1 from '@ionic/angular';
9
+ import { IonicModule } from '@ionic/angular';
10
+ import * as i3 from '@ngx-formly/ionic/form-field';
11
+ import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
12
+
13
+ class FormlyFieldSlider extends FieldType {
14
+ }
15
+ FormlyFieldSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component });
16
+ FormlyFieldSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: FormlyFieldSlider, selector: "formly-field-ion-range", usesInheritance: true, ngImport: i0, template: `
17
+ <ion-range [min]="to.min" [max]="to.max" [formControl]="formControl" [ionFormlyAttributes]="field">
18
+ <ion-label slot="start">{{ to.min }}</ion-label>
19
+ <ion-label slot="end">{{ to.max }}</ion-label>
20
+ </ion-range>
21
+ `, isInline: true, styles: [":host{display:inherit}\n"], components: [{ type: i1.IonRange, selector: "ion-range", inputs: ["color", "debounce", "disabled", "dualKnobs", "max", "min", "mode", "name", "pin", "snaps", "step", "ticks", "value"] }, { type: i1.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }], directives: [{ type: i1.SelectValueAccessor, selector: "ion-range, ion-select, ion-radio-group, ion-segment, ion-datetime" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵIonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: ["ionFormlyAttributes"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldSlider, decorators: [{
23
+ type: Component,
24
+ args: [{
25
+ selector: 'formly-field-ion-range',
26
+ template: `
27
+ <ion-range [min]="to.min" [max]="to.max" [formControl]="formControl" [ionFormlyAttributes]="field">
28
+ <ion-label slot="start">{{ to.min }}</ion-label>
29
+ <ion-label slot="end">{{ to.max }}</ion-label>
30
+ </ion-range>
31
+ `,
32
+ styles: [':host { display: inherit; }'],
33
+ changeDetection: ChangeDetectionStrategy.OnPush,
34
+ }]
35
+ }] });
36
+
37
+ class FormlySliderModule {
38
+ }
39
+ FormlySliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
40
+ FormlySliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySliderModule, declarations: [FormlyFieldSlider], imports: [CommonModule,
41
+ ReactiveFormsModule,
42
+ IonicModule,
43
+ FormlyFormFieldModule, i1$1.FormlyModule] });
44
+ FormlySliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySliderModule, imports: [[
45
+ CommonModule,
46
+ ReactiveFormsModule,
47
+ IonicModule,
48
+ FormlyFormFieldModule,
49
+ FormlyModule.forChild({
50
+ types: [
51
+ { name: 'slider', component: FormlyFieldSlider, wrappers: ['form-field'] },
52
+ { name: 'range', extends: 'slider' },
53
+ ],
54
+ }),
55
+ ]] });
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlySliderModule, decorators: [{
57
+ type: NgModule,
58
+ args: [{
59
+ declarations: [FormlyFieldSlider],
60
+ imports: [
61
+ CommonModule,
62
+ ReactiveFormsModule,
63
+ IonicModule,
64
+ FormlyFormFieldModule,
65
+ FormlyModule.forChild({
66
+ types: [
67
+ { name: 'slider', component: FormlyFieldSlider, wrappers: ['form-field'] },
68
+ { name: 'range', extends: 'slider' },
69
+ ],
70
+ }),
71
+ ],
72
+ }]
73
+ }] });
74
+
75
+ /**
76
+ * Generated bundle index. Do not edit.
77
+ */
78
+
79
+ export { FormlySliderModule };
80
+ //# sourceMappingURL=ngx-formly-ionic-slider.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-formly-ionic-slider.mjs","sources":["../../../../src/ui/ionic/slider/src/slider.type.ts","../../../../src/ui/ionic/slider/src/slider.module.ts","../../../../src/ui/ionic/slider/src/ngx-formly-ionic-slider.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ion-range',\n template: `\n <ion-range [min]=\"to.min\" [max]=\"to.max\" [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\">\n <ion-label slot=\"start\">{{ to.min }}</ion-label>\n <ion-label slot=\"end\">{{ to.max }}</ion-label>\n </ion-range>\n `,\n styles: [':host { display: inherit; }'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldSlider extends FieldType {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { IonicModule } from '@ionic/angular';\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\n\nimport { FormlyFieldSlider } from './slider.type';\n\n@NgModule({\n declarations: [FormlyFieldSlider],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n { name: 'slider', component: FormlyFieldSlider, wrappers: ['form-field'] },\n { name: 'range', extends: 'slider' },\n ],\n }),\n ],\n})\nexport class FormlySliderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;MAca,iBAAkB,SAAQ,SAAS;;8GAAnC,iBAAiB;kGAAjB,iBAAiB,qFATlB;;;;;GAKT;2FAIU,iBAAiB;kBAX7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,QAAQ,EAAE;;;;;GAKT;oBACD,MAAM,EAAE,CAAC,6BAA6B,CAAC;oBACvC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCWY,kBAAkB;;+GAAlB,kBAAkB;gHAAlB,kBAAkB,iBAdd,iBAAiB,aAE9B,YAAY;QACZ,mBAAmB;QACnB,WAAW;QACX,qBAAqB;gHASZ,kBAAkB,YAbpB;YACP,YAAY;YACZ,mBAAmB;YACnB,WAAW;YACX,qBAAqB;YACrB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE;oBAC1E,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;iBACrC;aACF,CAAC;SACH;2FAEU,kBAAkB;kBAf9B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBACX,qBAAqB;wBACrB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE;gCAC1E,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;6BACrC;yBACF,CAAC;qBACH;iBACF;;;ACvBD;;;;;;"}
@@ -0,0 +1,82 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+ import * as i1$1 from '@ngx-formly/core';
5
+ import { FieldType, FormlyModule } from '@ngx-formly/core';
6
+ import * as i1 from '@ionic/angular';
7
+ import { IonicModule } from '@ionic/angular';
8
+ import * as i2 from '@angular/forms';
9
+ import { ReactiveFormsModule } from '@angular/forms';
10
+ import * as i3 from '@ngx-formly/ionic/form-field';
11
+ import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
12
+
13
+ class FormlyFieldTextArea extends FieldType {
14
+ }
15
+ FormlyFieldTextArea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component });
16
+ FormlyFieldTextArea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: FormlyFieldTextArea, selector: "formly-field-ion-textarea", usesInheritance: true, ngImport: i0, template: `
17
+ <ion-textarea [formControl]="formControl" [ionFormlyAttributes]="field" [cols]="to.cols" [rows]="to.rows">
18
+ </ion-textarea>
19
+ `, isInline: true, styles: [":host{display:inherit}\n"], components: [{ type: i1.IonTextarea, selector: "ion-textarea", inputs: ["autoGrow", "autocapitalize", "autofocus", "clearOnEdit", "color", "cols", "debounce", "disabled", "enterkeyhint", "inputmode", "maxlength", "minlength", "mode", "name", "placeholder", "readonly", "required", "rows", "spellcheck", "value", "wrap"] }], directives: [{ type: i1.TextValueAccessor, selector: "ion-input:not([type=number]),ion-textarea,ion-searchbar" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵIonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: ["ionFormlyAttributes"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
21
+ type: Component,
22
+ args: [{
23
+ selector: 'formly-field-ion-textarea',
24
+ template: `
25
+ <ion-textarea [formControl]="formControl" [ionFormlyAttributes]="field" [cols]="to.cols" [rows]="to.rows">
26
+ </ion-textarea>
27
+ `,
28
+ styles: [':host { display: inherit; }'],
29
+ changeDetection: ChangeDetectionStrategy.OnPush,
30
+ }]
31
+ }] });
32
+
33
+ class FormlyTextAreaModule {
34
+ }
35
+ FormlyTextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
36
+ FormlyTextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyTextAreaModule, declarations: [FormlyFieldTextArea], imports: [CommonModule,
37
+ ReactiveFormsModule,
38
+ IonicModule,
39
+ FormlyFormFieldModule, i1$1.FormlyModule] });
40
+ FormlyTextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyTextAreaModule, imports: [[
41
+ CommonModule,
42
+ ReactiveFormsModule,
43
+ IonicModule,
44
+ FormlyFormFieldModule,
45
+ FormlyModule.forChild({
46
+ types: [
47
+ {
48
+ name: 'textarea',
49
+ component: FormlyFieldTextArea,
50
+ wrappers: ['form-field'],
51
+ },
52
+ ],
53
+ }),
54
+ ]] });
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: FormlyTextAreaModule, decorators: [{
56
+ type: NgModule,
57
+ args: [{
58
+ declarations: [FormlyFieldTextArea],
59
+ imports: [
60
+ CommonModule,
61
+ ReactiveFormsModule,
62
+ IonicModule,
63
+ FormlyFormFieldModule,
64
+ FormlyModule.forChild({
65
+ types: [
66
+ {
67
+ name: 'textarea',
68
+ component: FormlyFieldTextArea,
69
+ wrappers: ['form-field'],
70
+ },
71
+ ],
72
+ }),
73
+ ],
74
+ }]
75
+ }] });
76
+
77
+ /**
78
+ * Generated bundle index. Do not edit.
79
+ */
80
+
81
+ export { FormlyFieldTextArea, FormlyTextAreaModule };
82
+ //# sourceMappingURL=ngx-formly-ionic-textarea.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-formly-ionic-textarea.mjs","sources":["../../../../src/ui/ionic/textarea/src/textarea.type.ts","../../../../src/ui/ionic/textarea/src/textarea.module.ts","../../../../src/ui/ionic/textarea/src/ngx-formly-ionic-textarea.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\n\n@Component({\n selector: 'formly-field-ion-textarea',\n template: `\n <ion-textarea [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\" [cols]=\"to.cols\" [rows]=\"to.rows\">\n </ion-textarea>\n `,\n styles: [':host { display: inherit; }'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldTextArea extends FieldType {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { IonicModule } from '@ionic/angular';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\nimport { FormlyFieldTextArea } from './textarea.type';\n\n@NgModule({\n declarations: [FormlyFieldTextArea],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n\n FormlyFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextArea,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyTextAreaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;MAYa,mBAAoB,SAAQ,SAAS;;gHAArC,mBAAmB;oGAAnB,mBAAmB,wFAPpB;;;GAGT;2FAIU,mBAAmB;kBAT/B,SAAS;mBAAC;oBACT,QAAQ,EAAE,2BAA2B;oBACrC,QAAQ,EAAE;;;GAGT;oBACD,MAAM,EAAE,CAAC,6BAA6B,CAAC;oBACvC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;MCgBY,oBAAoB;;iHAApB,oBAAoB;kHAApB,oBAAoB,iBAlBhB,mBAAmB,aAEhC,YAAY;QACZ,mBAAmB;QACnB,WAAW;QAEX,qBAAqB;kHAYZ,oBAAoB,YAjBtB;YACP,YAAY;YACZ,mBAAmB;YACnB,WAAW;YAEX,qBAAqB;YACrB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,UAAU;wBAChB,SAAS,EAAE,mBAAmB;wBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;qBACzB;iBACF;aACF,CAAC;SACH;2FAEU,oBAAoB;kBAnBhC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBAEX,qBAAqB;wBACrB,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;iBACF;;;AC1BD;;;;;;"}