@ngx-formly/ionic 6.3.12 → 7.0.0-alpha.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 (192) hide show
  1. package/README.md +1 -0
  2. package/checkbox/checkbox.config.d.ts +2 -0
  3. package/checkbox/checkbox.type.d.ts +1 -1
  4. package/checkbox/public_api.d.ts +1 -0
  5. package/datetime/datetime.config.d.ts +2 -0
  6. package/datetime/datetime.type.d.ts +1 -2
  7. package/datetime/public_api.d.ts +1 -0
  8. package/esm2022/checkbox/checkbox.config.mjs +17 -0
  9. package/esm2022/checkbox/checkbox.module.mjs +36 -0
  10. package/esm2022/checkbox/checkbox.type.mjs +23 -0
  11. package/esm2022/checkbox/public_api.mjs +4 -0
  12. package/esm2022/datetime/datetime.config.mjs +13 -0
  13. package/esm2022/datetime/datetime.module.mjs +36 -0
  14. package/esm2022/datetime/datetime.type.mjs +129 -0
  15. package/esm2022/datetime/public_api.mjs +3 -0
  16. package/esm2022/form-field/form-field.config.mjs +12 -0
  17. package/esm2022/form-field/form-field.module.mjs +24 -0
  18. package/esm2022/form-field/form-field.wrapper.mjs +44 -0
  19. package/esm2022/form-field/formly.attributes.mjs +31 -0
  20. package/esm2022/form-field/public_api.mjs +4 -0
  21. package/esm2022/input/input.config.mjs +32 -0
  22. package/esm2022/input/input.module.mjs +37 -0
  23. package/esm2022/input/input.type.mjs +48 -0
  24. package/esm2022/input/public_api.mjs +4 -0
  25. package/esm2022/lib/ui-ionic.config.mjs +17 -0
  26. package/esm2022/lib/ui-ionic.mjs +3 -0
  27. package/esm2022/lib/ui-ionic.module.mjs +50 -0
  28. package/esm2022/radio/public_api.mjs +4 -0
  29. package/esm2022/radio/radio.config.mjs +13 -0
  30. package/esm2022/radio/radio.module.mjs +40 -0
  31. package/esm2022/radio/radio.type.mjs +45 -0
  32. package/esm2022/select/public_api.mjs +4 -0
  33. package/esm2022/select/select.config.mjs +14 -0
  34. package/esm2022/select/select.module.mjs +41 -0
  35. package/esm2022/select/select.type.mjs +67 -0
  36. package/esm2022/slider/public_api.mjs +3 -0
  37. package/esm2022/slider/slider.config.mjs +10 -0
  38. package/esm2022/slider/slider.module.mjs +37 -0
  39. package/esm2022/slider/slider.type.mjs +37 -0
  40. package/esm2022/textarea/public_api.mjs +4 -0
  41. package/esm2022/textarea/textarea.config.mjs +13 -0
  42. package/esm2022/textarea/textarea.module.mjs +37 -0
  43. package/esm2022/textarea/textarea.type.mjs +33 -0
  44. package/esm2022/toggle/public_api.mjs +3 -0
  45. package/esm2022/toggle/toggle.config.mjs +13 -0
  46. package/esm2022/toggle/toggle.module.mjs +36 -0
  47. package/esm2022/toggle/toggle.type.mjs +23 -0
  48. package/fesm2022/ngx-formly-ionic-checkbox.mjs +77 -0
  49. package/fesm2022/ngx-formly-ionic-checkbox.mjs.map +1 -0
  50. package/{fesm2020 → fesm2022}/ngx-formly-ionic-datetime.mjs +37 -44
  51. package/fesm2022/ngx-formly-ionic-datetime.mjs.map +1 -0
  52. package/fesm2022/ngx-formly-ionic-form-field.mjs +106 -0
  53. package/fesm2022/ngx-formly-ionic-form-field.mjs.map +1 -0
  54. package/fesm2022/ngx-formly-ionic-input.mjs +118 -0
  55. package/fesm2022/ngx-formly-ionic-input.mjs.map +1 -0
  56. package/fesm2022/ngx-formly-ionic-radio.mjs +99 -0
  57. package/fesm2022/ngx-formly-ionic-radio.mjs.map +1 -0
  58. package/fesm2022/ngx-formly-ionic-select.mjs +123 -0
  59. package/fesm2022/ngx-formly-ionic-select.mjs.map +1 -0
  60. package/fesm2022/ngx-formly-ionic-slider.mjs +85 -0
  61. package/fesm2022/ngx-formly-ionic-slider.mjs.map +1 -0
  62. package/fesm2022/ngx-formly-ionic-textarea.mjs +84 -0
  63. package/fesm2022/ngx-formly-ionic-textarea.mjs.map +1 -0
  64. package/fesm2022/ngx-formly-ionic-toggle.mjs +73 -0
  65. package/fesm2022/ngx-formly-ionic-toggle.mjs.map +1 -0
  66. package/fesm2022/ngx-formly-ionic.mjs +72 -0
  67. package/fesm2022/ngx-formly-ionic.mjs.map +1 -0
  68. package/form-field/form-field.config.d.ts +2 -0
  69. package/form-field/form-field.module.d.ts +0 -2
  70. package/form-field/form-field.wrapper.d.ts +1 -2
  71. package/form-field/formly.attributes.d.ts +1 -1
  72. package/form-field/public_api.d.ts +1 -0
  73. package/input/input.config.d.ts +2 -0
  74. package/input/input.type.d.ts +1 -1
  75. package/input/public_api.d.ts +1 -0
  76. package/lib/ui-ionic.config.d.ts +1 -0
  77. package/lib/ui-ionic.d.ts +1 -0
  78. package/package.json +45 -69
  79. package/radio/public_api.d.ts +1 -0
  80. package/radio/radio.config.d.ts +2 -0
  81. package/radio/radio.type.d.ts +2 -3
  82. package/select/public_api.d.ts +1 -0
  83. package/select/select.config.d.ts +2 -0
  84. package/select/select.type.d.ts +1 -1
  85. package/slider/public_api.d.ts +1 -0
  86. package/slider/slider.config.d.ts +2 -0
  87. package/slider/slider.type.d.ts +1 -1
  88. package/textarea/public_api.d.ts +1 -0
  89. package/textarea/textarea.config.d.ts +2 -0
  90. package/textarea/textarea.type.d.ts +1 -1
  91. package/toggle/public_api.d.ts +1 -0
  92. package/toggle/toggle.config.d.ts +2 -0
  93. package/toggle/toggle.type.d.ts +1 -1
  94. package/checkbox/package.json +0 -10
  95. package/datetime/package.json +0 -10
  96. package/esm2020/checkbox/checkbox.module.mjs +0 -61
  97. package/esm2020/checkbox/checkbox.type.mjs +0 -27
  98. package/esm2020/checkbox/public_api.mjs +0 -3
  99. package/esm2020/datetime/datetime.module.mjs +0 -53
  100. package/esm2020/datetime/datetime.type.mjs +0 -130
  101. package/esm2020/datetime/public_api.mjs +0 -2
  102. package/esm2020/form-field/form-field.module.mjs +0 -60
  103. package/esm2020/form-field/form-field.wrapper.mjs +0 -52
  104. package/esm2020/form-field/formly.attributes.mjs +0 -30
  105. package/esm2020/form-field/public_api.mjs +0 -3
  106. package/esm2020/input/input.module.mjs +0 -92
  107. package/esm2020/input/input.type.mjs +0 -53
  108. package/esm2020/input/public_api.mjs +0 -3
  109. package/esm2020/lib/ui-ionic.mjs +0 -2
  110. package/esm2020/lib/ui-ionic.module.mjs +0 -52
  111. package/esm2020/radio/public_api.mjs +0 -3
  112. package/esm2020/radio/radio.module.mjs +0 -57
  113. package/esm2020/radio/radio.type.mjs +0 -70
  114. package/esm2020/select/public_api.mjs +0 -3
  115. package/esm2020/select/select.module.mjs +0 -60
  116. package/esm2020/select/select.type.mjs +0 -72
  117. package/esm2020/slider/public_api.mjs +0 -2
  118. package/esm2020/slider/slider.module.mjs +0 -48
  119. package/esm2020/slider/slider.type.mjs +0 -42
  120. package/esm2020/textarea/public_api.mjs +0 -3
  121. package/esm2020/textarea/textarea.module.mjs +0 -54
  122. package/esm2020/textarea/textarea.type.mjs +0 -38
  123. package/esm2020/toggle/public_api.mjs +0 -2
  124. package/esm2020/toggle/toggle.module.mjs +0 -53
  125. package/esm2020/toggle/toggle.type.mjs +0 -27
  126. package/fesm2015/ngx-formly-ionic-checkbox.mjs +0 -91
  127. package/fesm2015/ngx-formly-ionic-checkbox.mjs.map +0 -1
  128. package/fesm2015/ngx-formly-ionic-datetime.mjs +0 -187
  129. package/fesm2015/ngx-formly-ionic-datetime.mjs.map +0 -1
  130. package/fesm2015/ngx-formly-ionic-form-field.mjs +0 -139
  131. package/fesm2015/ngx-formly-ionic-form-field.mjs.map +0 -1
  132. package/fesm2015/ngx-formly-ionic-input.mjs +0 -148
  133. package/fesm2015/ngx-formly-ionic-input.mjs.map +0 -1
  134. package/fesm2015/ngx-formly-ionic-radio.mjs +0 -129
  135. package/fesm2015/ngx-formly-ionic-radio.mjs.map +0 -1
  136. package/fesm2015/ngx-formly-ionic-select.mjs +0 -135
  137. package/fesm2015/ngx-formly-ionic-select.mjs.map +0 -1
  138. package/fesm2015/ngx-formly-ionic-slider.mjs +0 -93
  139. package/fesm2015/ngx-formly-ionic-slider.mjs.map +0 -1
  140. package/fesm2015/ngx-formly-ionic-textarea.mjs +0 -95
  141. package/fesm2015/ngx-formly-ionic-textarea.mjs.map +0 -1
  142. package/fesm2015/ngx-formly-ionic-toggle.mjs +0 -83
  143. package/fesm2015/ngx-formly-ionic-toggle.mjs.map +0 -1
  144. package/fesm2015/ngx-formly-ionic.mjs +0 -63
  145. package/fesm2015/ngx-formly-ionic.mjs.map +0 -1
  146. package/fesm2020/ngx-formly-ionic-checkbox.mjs +0 -91
  147. package/fesm2020/ngx-formly-ionic-checkbox.mjs.map +0 -1
  148. package/fesm2020/ngx-formly-ionic-datetime.mjs.map +0 -1
  149. package/fesm2020/ngx-formly-ionic-form-field.mjs +0 -139
  150. package/fesm2020/ngx-formly-ionic-form-field.mjs.map +0 -1
  151. package/fesm2020/ngx-formly-ionic-input.mjs +0 -148
  152. package/fesm2020/ngx-formly-ionic-input.mjs.map +0 -1
  153. package/fesm2020/ngx-formly-ionic-radio.mjs +0 -129
  154. package/fesm2020/ngx-formly-ionic-radio.mjs.map +0 -1
  155. package/fesm2020/ngx-formly-ionic-select.mjs +0 -135
  156. package/fesm2020/ngx-formly-ionic-select.mjs.map +0 -1
  157. package/fesm2020/ngx-formly-ionic-slider.mjs +0 -93
  158. package/fesm2020/ngx-formly-ionic-slider.mjs.map +0 -1
  159. package/fesm2020/ngx-formly-ionic-textarea.mjs +0 -95
  160. package/fesm2020/ngx-formly-ionic-textarea.mjs.map +0 -1
  161. package/fesm2020/ngx-formly-ionic-toggle.mjs +0 -83
  162. package/fesm2020/ngx-formly-ionic-toggle.mjs.map +0 -1
  163. package/fesm2020/ngx-formly-ionic.mjs +0 -63
  164. package/fesm2020/ngx-formly-ionic.mjs.map +0 -1
  165. package/form-field/package.json +0 -10
  166. package/input/package.json +0 -10
  167. package/radio/package.json +0 -10
  168. package/select/package.json +0 -10
  169. package/slider/package.json +0 -10
  170. package/textarea/package.json +0 -10
  171. package/toggle/package.json +0 -10
  172. /package/checkbox/{ngx-formly-ionic-checkbox.d.ts → index.d.ts} +0 -0
  173. /package/datetime/{ngx-formly-ionic-datetime.d.ts → index.d.ts} +0 -0
  174. /package/{esm2020 → esm2022}/checkbox/ngx-formly-ionic-checkbox.mjs +0 -0
  175. /package/{esm2020 → esm2022}/datetime/ngx-formly-ionic-datetime.mjs +0 -0
  176. /package/{esm2020 → esm2022}/form-field/ngx-formly-ionic-form-field.mjs +0 -0
  177. /package/{esm2020 → esm2022}/input/ngx-formly-ionic-input.mjs +0 -0
  178. /package/{esm2020 → esm2022}/ngx-formly-ionic.mjs +0 -0
  179. /package/{esm2020 → esm2022}/public_api.mjs +0 -0
  180. /package/{esm2020 → esm2022}/radio/ngx-formly-ionic-radio.mjs +0 -0
  181. /package/{esm2020 → esm2022}/select/ngx-formly-ionic-select.mjs +0 -0
  182. /package/{esm2020 → esm2022}/slider/ngx-formly-ionic-slider.mjs +0 -0
  183. /package/{esm2020 → esm2022}/textarea/ngx-formly-ionic-textarea.mjs +0 -0
  184. /package/{esm2020 → esm2022}/toggle/ngx-formly-ionic-toggle.mjs +0 -0
  185. /package/form-field/{ngx-formly-ionic-form-field.d.ts → index.d.ts} +0 -0
  186. /package/{ngx-formly-ionic.d.ts → index.d.ts} +0 -0
  187. /package/input/{ngx-formly-ionic-input.d.ts → index.d.ts} +0 -0
  188. /package/radio/{ngx-formly-ionic-radio.d.ts → index.d.ts} +0 -0
  189. /package/select/{ngx-formly-ionic-select.d.ts → index.d.ts} +0 -0
  190. /package/slider/{ngx-formly-ionic-slider.d.ts → index.d.ts} +0 -0
  191. /package/textarea/{ngx-formly-ionic-textarea.d.ts → index.d.ts} +0 -0
  192. /package/toggle/{ngx-formly-ionic-toggle.d.ts → index.d.ts} +0 -0
@@ -0,0 +1,33 @@
1
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
2
+ import { FieldType } from '@ngx-formly/core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/forms";
5
+ import * as i2 from "@ionic/angular";
6
+ import * as i3 from "@ngx-formly/ionic/form-field";
7
+ export class FormlyFieldTextArea extends FieldType {
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyFieldTextArea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
9
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormlyFieldTextArea, selector: "formly-field-ion-textarea", usesInheritance: true, ngImport: i0, template: `
10
+ <ion-textarea
11
+ [formControl]="formControl"
12
+ [ionFormlyAttributes]="field"
13
+ [cols]="props.cols"
14
+ [rows]="props.rows"
15
+ [label]="props.label"
16
+ >
17
+ </ion-textarea>
18
+ `, isInline: true, styles: [":host{display:inherit}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.IonTextarea, selector: "ion-textarea", inputs: ["autoGrow", "autocapitalize", "autofocus", "clearOnEdit", "color", "cols", "counter", "counterFormatter", "debounce", "disabled", "enterkeyhint", "errorText", "fill", "helperText", "inputmode", "label", "labelPlacement", "maxlength", "minlength", "mode", "name", "placeholder", "readonly", "required", "rows", "shape", "spellcheck", "value", "wrap"] }, { kind: "directive", type: i2.TextValueAccessor, selector: "ion-input:not([type=number]),ion-textarea,ion-searchbar" }, { kind: "directive", type: i3.ɵIonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: ["ionFormlyAttributes"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyFieldTextArea, decorators: [{
21
+ type: Component,
22
+ args: [{ selector: 'formly-field-ion-textarea', template: `
23
+ <ion-textarea
24
+ [formControl]="formControl"
25
+ [ionFormlyAttributes]="field"
26
+ [cols]="props.cols"
27
+ [rows]="props.rows"
28
+ [label]="props.label"
29
+ >
30
+ </ion-textarea>
31
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:inherit}\n"] }]
32
+ }] });
33
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy91aS9pb25pYy90ZXh0YXJlYS9zcmMvdGV4dGFyZWEudHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLHVCQUF1QixFQUFRLE1BQU0sZUFBZSxDQUFDO0FBQ3pFLE9BQU8sRUFBRSxTQUFTLEVBQXNDLE1BQU0sa0JBQWtCLENBQUM7Ozs7O0FBd0JqRixNQUFNLE9BQU8sbUJBQW9CLFNBQVEsU0FBeUM7K0dBQXJFLG1CQUFtQjttR0FBbkIsbUJBQW1CLHdGQWJwQjs7Ozs7Ozs7O0dBU1Q7OzRGQUlVLG1CQUFtQjtrQkFmL0IsU0FBUzsrQkFDRSwyQkFBMkIsWUFDM0I7Ozs7Ozs7OztHQVNULG1CQUVnQix1QkFBdUIsQ0FBQyxNQUFNIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgVHlwZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgRmllbGRUeXBlLCBGaWVsZFR5cGVDb25maWcsIEZvcm1seUZpZWxkQ29uZmlnIH0gZnJvbSAnQG5neC1mb3JtbHkvY29yZSc7XG5pbXBvcnQgeyBGb3JtbHlGaWVsZFByb3BzIH0gZnJvbSAnQG5neC1mb3JtbHkvaW9uaWMvZm9ybS1maWVsZCc7XG5cbmludGVyZmFjZSBUZXh0QXJlYVByb3BzIGV4dGVuZHMgRm9ybWx5RmllbGRQcm9wcyB7fVxuXG5leHBvcnQgaW50ZXJmYWNlIEZvcm1seVRleHRBcmVhRmllbGRDb25maWcgZXh0ZW5kcyBGb3JtbHlGaWVsZENvbmZpZzxUZXh0QXJlYVByb3BzPiB7XG4gIHR5cGU6ICd0ZXh0YXJlYScgfCBUeXBlPEZvcm1seUZpZWxkVGV4dEFyZWE+O1xufVxuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdmb3JtbHktZmllbGQtaW9uLXRleHRhcmVhJyxcbiAgdGVtcGxhdGU6IGBcbiAgICA8aW9uLXRleHRhcmVhXG4gICAgICBbZm9ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xcIlxuICAgICAgW2lvbkZvcm1seUF0dHJpYnV0ZXNdPVwiZmllbGRcIlxuICAgICAgW2NvbHNdPVwicHJvcHMuY29sc1wiXG4gICAgICBbcm93c109XCJwcm9wcy5yb3dzXCJcbiAgICAgIFtsYWJlbF09XCJwcm9wcy5sYWJlbFwiXG4gICAgPlxuICAgIDwvaW9uLXRleHRhcmVhPlxuICBgLFxuICBzdHlsZXM6IFsnOmhvc3QgeyBkaXNwbGF5OiBpbmhlcml0OyB9J10sXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZFRleHRBcmVhIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZzxUZXh0QXJlYVByb3BzPj4ge31cbiJdfQ==
@@ -0,0 +1,3 @@
1
+ export { withFormlyFieldToggle } from './toggle.config';
2
+ export { FormlyToggleModule } from './toggle.module';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy91aS9pb25pYy90b2dnbGUvc3JjL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDeEQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0saUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyB3aXRoRm9ybWx5RmllbGRUb2dnbGUgfSBmcm9tICcuL3RvZ2dsZS5jb25maWcnO1xuZXhwb3J0IHsgRm9ybWx5VG9nZ2xlTW9kdWxlIH0gZnJvbSAnLi90b2dnbGUubW9kdWxlJztcbmV4cG9ydCB7IEZvcm1seVRvZ2dsZUZpZWxkQ29uZmlnIH0gZnJvbSAnLi90b2dnbGUudHlwZSc7XG4iXX0=
@@ -0,0 +1,13 @@
1
+ import { FormlyFieldToggle } from './toggle.type';
2
+ export function withFormlyFieldToggle() {
3
+ return {
4
+ types: [
5
+ {
6
+ name: 'toggle',
7
+ component: FormlyFieldToggle,
8
+ wrappers: ['form-field'],
9
+ },
10
+ ],
11
+ };
12
+ }
13
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLmNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy91aS9pb25pYy90b2dnbGUvc3JjL3RvZ2dsZS5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRWxELE1BQU0sVUFBVSxxQkFBcUI7SUFDbkMsT0FBTztRQUNMLEtBQUssRUFBRTtZQUNMO2dCQUNFLElBQUksRUFBRSxRQUFRO2dCQUNkLFNBQVMsRUFBRSxpQkFBaUI7Z0JBQzVCLFFBQVEsRUFBRSxDQUFDLFlBQVksQ0FBQzthQUN6QjtTQUNGO0tBQ0YsQ0FBQztBQUNKLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb25maWdPcHRpb24gfSBmcm9tICdAbmd4LWZvcm1seS9jb3JlJztcbmltcG9ydCB7IEZvcm1seUZpZWxkVG9nZ2xlIH0gZnJvbSAnLi90b2dnbGUudHlwZSc7XG5cbmV4cG9ydCBmdW5jdGlvbiB3aXRoRm9ybWx5RmllbGRUb2dnbGUoKTogQ29uZmlnT3B0aW9uIHtcbiAgcmV0dXJuIHtcbiAgICB0eXBlczogW1xuICAgICAge1xuICAgICAgICBuYW1lOiAndG9nZ2xlJyxcbiAgICAgICAgY29tcG9uZW50OiBGb3JtbHlGaWVsZFRvZ2dsZSxcbiAgICAgICAgd3JhcHBlcnM6IFsnZm9ybS1maWVsZCddLFxuICAgICAgfSxcbiAgICBdLFxuICB9O1xufVxuIl19
@@ -0,0 +1,36 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { FormlyModule } from '@ngx-formly/core';
4
+ import { ReactiveFormsModule } from '@angular/forms';
5
+ import { IonicModule } from '@ionic/angular';
6
+ import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
7
+ import { FormlyFieldToggle } from './toggle.type';
8
+ import { withFormlyFieldToggle } from './toggle.config';
9
+ import * as i0 from "@angular/core";
10
+ import * as i1 from "@ngx-formly/core";
11
+ export class FormlyToggleModule {
12
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
13
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FormlyToggleModule, declarations: [FormlyFieldToggle], imports: [CommonModule,
14
+ ReactiveFormsModule,
15
+ IonicModule,
16
+ FormlyFormFieldModule, i1.FormlyModule] }); }
17
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyToggleModule, imports: [CommonModule,
18
+ ReactiveFormsModule,
19
+ IonicModule,
20
+ FormlyFormFieldModule,
21
+ FormlyModule.forChild(withFormlyFieldToggle())] }); }
22
+ }
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyToggleModule, decorators: [{
24
+ type: NgModule,
25
+ args: [{
26
+ declarations: [FormlyFieldToggle],
27
+ imports: [
28
+ CommonModule,
29
+ ReactiveFormsModule,
30
+ IonicModule,
31
+ FormlyFormFieldModule,
32
+ FormlyModule.forChild(withFormlyFieldToggle()),
33
+ ],
34
+ }]
35
+ }] });
36
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy91aS9pb25pYy90b2dnbGUvc3JjL3RvZ2dsZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2hELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUVyRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxFQUFFLHFCQUFxQixF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y4vdG9nZ2xlLnR5cGUnO1xuaW1wb3J0IHsgd2l0aEZvcm1seUZpZWxkVG9nZ2xlIH0gZnJvbSAnLi90b2dnbGUuY29uZmlnJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbRm9ybWx5RmllbGRUb2dnbGVdLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXG4gICAgSW9uaWNNb2R1bGUsXG4gICAgRm9ybWx5Rm9ybUZpZWxkTW9kdWxlLFxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh3aXRoRm9ybWx5RmllbGRUb2dnbGUoKSksXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seVRvZ2dsZU1vZHVsZSB7fVxuIl19
@@ -0,0 +1,23 @@
1
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
2
+ import { FieldType } from '@ngx-formly/core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/forms";
5
+ import * as i2 from "@ionic/angular";
6
+ import * as i3 from "@ngx-formly/ionic/form-field";
7
+ export class FormlyFieldToggle extends FieldType {
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyFieldToggle, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
9
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormlyFieldToggle, selector: "formly-field-ion-toggle", usesInheritance: true, ngImport: i0, template: `
10
+ <ion-toggle [formControl]="formControl" [ionFormlyAttributes]="field">
11
+ {{ props.label }}
12
+ </ion-toggle>
13
+ `, isInline: true, styles: [":host{display:inherit}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.IonToggle, selector: "ion-toggle", inputs: ["alignment", "checked", "color", "disabled", "enableOnOffLabels", "justify", "labelPlacement", "mode", "name", "value"] }, { kind: "directive", type: i2.BooleanValueAccessor, selector: "ion-checkbox,ion-toggle" }, { kind: "directive", type: i3.ɵIonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: ["ionFormlyAttributes"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14
+ }
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyFieldToggle, decorators: [{
16
+ type: Component,
17
+ args: [{ selector: 'formly-field-ion-toggle', template: `
18
+ <ion-toggle [formControl]="formControl" [ionFormlyAttributes]="field">
19
+ {{ props.label }}
20
+ </ion-toggle>
21
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:inherit}\n"] }]
22
+ }] });
23
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvdWkvaW9uaWMvdG9nZ2xlL3NyYy90b2dnbGUudHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLHVCQUF1QixFQUFRLE1BQU0sZUFBZSxDQUFDO0FBQ3pFLE9BQU8sRUFBRSxTQUFTLEVBQXNDLE1BQU0sa0JBQWtCLENBQUM7Ozs7O0FBbUJqRixNQUFNLE9BQU8saUJBQWtCLFNBQVEsU0FBdUM7K0dBQWpFLGlCQUFpQjttR0FBakIsaUJBQWlCLHNGQVJsQjs7OztHQUlUOzs0RkFJVSxpQkFBaUI7a0JBVjdCLFNBQVM7K0JBQ0UseUJBQXlCLFlBQ3pCOzs7O0dBSVQsbUJBQ2dCLHVCQUF1Qix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nPFRvZ2dsZVByb3BzPj4ge31cbiJdfQ==
@@ -0,0 +1,77 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
+ import * as i1$1 from '@ngx-formly/core';
4
+ import { FieldType, FormlyModule } from '@ngx-formly/core';
5
+ import * as i1 from '@angular/forms';
6
+ import { ReactiveFormsModule } from '@angular/forms';
7
+ import * as i2 from '@ionic/angular';
8
+ import { IonicModule } from '@ionic/angular';
9
+ import * as i3 from '@ngx-formly/ionic/form-field';
10
+ import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
11
+ import { CommonModule } from '@angular/common';
12
+
13
+ class FormlyFieldCheckbox extends FieldType {
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
15
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormlyFieldCheckbox, selector: "formly-field-ion-checkbox", usesInheritance: true, ngImport: i0, template: `
16
+ <ion-checkbox [formControl]="formControl" [ionFormlyAttributes]="field">
17
+ {{ props.label }}
18
+ </ion-checkbox>
19
+ `, isInline: true, styles: [":host{display:inherit}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.IonCheckbox, selector: "ion-checkbox", inputs: ["alignment", "checked", "color", "disabled", "indeterminate", "justify", "labelPlacement", "mode", "name", "value"] }, { kind: "directive", type: i2.BooleanValueAccessor, selector: "ion-checkbox,ion-toggle" }, { kind: "directive", type: i3.ɵIonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: ["ionFormlyAttributes"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
20
+ }
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
22
+ type: Component,
23
+ args: [{ selector: 'formly-field-ion-checkbox', template: `
24
+ <ion-checkbox [formControl]="formControl" [ionFormlyAttributes]="field">
25
+ {{ props.label }}
26
+ </ion-checkbox>
27
+ `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:inherit}\n"] }]
28
+ }] });
29
+
30
+ function withFormlyFieldCheckbox() {
31
+ return {
32
+ types: [
33
+ {
34
+ name: 'checkbox',
35
+ component: FormlyFieldCheckbox,
36
+ wrappers: ['form-field'],
37
+ },
38
+ {
39
+ name: 'boolean',
40
+ extends: 'checkbox',
41
+ },
42
+ ],
43
+ };
44
+ }
45
+
46
+ class FormlyCheckboxModule {
47
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
48
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FormlyCheckboxModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
49
+ ReactiveFormsModule,
50
+ IonicModule,
51
+ FormlyFormFieldModule, i1$1.FormlyModule] }); }
52
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyCheckboxModule, imports: [CommonModule,
53
+ ReactiveFormsModule,
54
+ IonicModule,
55
+ FormlyFormFieldModule,
56
+ FormlyModule.forChild(withFormlyFieldCheckbox())] }); }
57
+ }
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyCheckboxModule, decorators: [{
59
+ type: NgModule,
60
+ args: [{
61
+ declarations: [FormlyFieldCheckbox],
62
+ imports: [
63
+ CommonModule,
64
+ ReactiveFormsModule,
65
+ IonicModule,
66
+ FormlyFormFieldModule,
67
+ FormlyModule.forChild(withFormlyFieldCheckbox()),
68
+ ],
69
+ }]
70
+ }] });
71
+
72
+ /**
73
+ * Generated bundle index. Do not edit.
74
+ */
75
+
76
+ export { FormlyCheckboxModule, FormlyFieldCheckbox, withFormlyFieldCheckbox };
77
+ //# sourceMappingURL=ngx-formly-ionic-checkbox.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-formly-ionic-checkbox.mjs","sources":["../../../../src/ui/ionic/checkbox/src/checkbox.type.ts","../../../../src/ui/ionic/checkbox/src/checkbox.config.ts","../../../../src/ui/ionic/checkbox/src/checkbox.module.ts","../../../../src/ui/ionic/checkbox/src/ngx-formly-ionic-checkbox.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from '@ngx-formly/ionic/form-field';\n\ninterface CheckboxProps extends FormlyFieldProps {}\n\nexport interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {\n type: 'checkbox' | Type<FormlyFieldCheckbox>;\n}\n\n@Component({\n selector: 'formly-field-ion-checkbox',\n template: `\n <ion-checkbox [formControl]=\"formControl\" [ionFormlyAttributes]=\"field\">\n {{ props.label }}\n </ion-checkbox>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrls: ['./checkbox.type.scss'],\n})\nexport class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldCheckbox } from './checkbox.type';\n\nexport function withFormlyFieldCheckbox(): ConfigOption {\n return {\n types: [\n {\n name: 'checkbox',\n component: FormlyFieldCheckbox,\n wrappers: ['form-field'],\n },\n {\n name: 'boolean',\n extends: 'checkbox',\n },\n ],\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 { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\n\nimport { FormlyFieldCheckbox } from './checkbox.type';\nimport { withFormlyFieldCheckbox } from './checkbox.config';\n\n@NgModule({\n declarations: [FormlyFieldCheckbox],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n FormlyFormFieldModule,\n FormlyModule.forChild(withFormlyFieldCheckbox()),\n ],\n})\nexport class FormlyCheckboxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAoBM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;+GAArE,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,EARpB,QAAA,EAAA,2BAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA;;;;AAIT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,0BAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,UAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CA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AThB,mBAAmB,CAAA,EAAA,OAAA,EAAA,CAEhC,YAAY;YACZ,mBAAmB;YACnB,WAAW;YACX,qBAAqB,EAAAA,IAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA;AAIZ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAP7B,YAAY;YACZ,mBAAmB;YACnB,WAAW;YACX,qBAAqB;AACrB,YAAA,YAAY,CAAC,QAAQ,CAAC,uBAAuB,EAAE,CAAC,CAAA,EAAA,CAAA,CAAA;;4FAGvC,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAVhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBACX,qBAAqB;AACrB,wBAAA,YAAY,CAAC,QAAQ,CAAC,uBAAuB,EAAE,CAAC;AACjD,qBAAA;AACF,iBAAA;;;ACnBD;;AAEG;;;;"}
@@ -1,15 +1,15 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, ViewEncapsulation, ViewChild, NgModule } from '@angular/core';
3
- import * as i4 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
2
+ import { ViewChild, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
+ import * as i2 from '@ionic/angular';
4
+ import { IonDatetime, IonicModule } from '@ionic/angular';
5
5
  import * as i1$1 from '@ngx-formly/core';
6
6
  import { FieldType, FormlyModule } from '@ngx-formly/core';
7
- import * as i2 from '@angular/forms';
7
+ import * as i1 from '@angular/forms';
8
8
  import { ReactiveFormsModule } from '@angular/forms';
9
- import * as i1 from '@ionic/angular';
10
- import { IonDatetime, IonicModule } from '@ionic/angular';
11
9
  import * as i3 from '@ngx-formly/ionic/form-field';
12
10
  import { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';
11
+ import * as i4 from '@angular/common';
12
+ import { CommonModule } from '@angular/common';
13
13
 
14
14
  class FormlyFieldDatetime extends FieldType {
15
15
  constructor() {
@@ -18,7 +18,6 @@ class FormlyFieldDatetime extends FieldType {
18
18
  this.defaultOptions = {
19
19
  props: {
20
20
  presentation: 'month-year',
21
- legacyLabel: true,
22
21
  },
23
22
  };
24
23
  }
@@ -54,12 +53,11 @@ class FormlyFieldDatetime extends FieldType {
54
53
  this.isOpen = false;
55
54
  this.formControl.markAsTouched();
56
55
  }
57
- }
58
- FormlyFieldDatetime.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyFieldDatetime, deps: null, target: i0.ɵɵFactoryTarget.Component });
59
- FormlyFieldDatetime.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FormlyFieldDatetime, selector: "formly-field-ion-datetime", viewQueries: [{ propertyName: "datetime", first: true, predicate: IonDatetime, descendants: true }], usesInheritance: true, ngImport: i0, template: `
56
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyFieldDatetime, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
57
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormlyFieldDatetime, selector: "formly-field-ion-datetime", viewQueries: [{ propertyName: "datetime", first: true, predicate: IonDatetime, descendants: true }], usesInheritance: true, ngImport: i0, template: `
60
58
  <ion-item [button]="true" [detail]="false" (click)="isOpen = true">
61
59
  <ion-label>
62
- {{ formControl.value ? (formControl.value | date : displayFormat()) : props.placeholder }}
60
+ {{ formControl.value ? (formControl.value | date: displayFormat()) : props.placeholder }}
63
61
  </ion-label>
64
62
  </ion-item>
65
63
  <ion-modal
@@ -90,13 +88,14 @@ FormlyFieldDatetime.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
90
88
  </ion-datetime>
91
89
  </ng-template>
92
90
  </ion-modal>
93
- `, isInline: true, styles: [".ion-datetime-modal{--width: 310px;--border-radius: 8px}.ion-datetime-modal.ion-datetime-modal-time-date{--height: 440px}.ion-datetime-modal.ion-datetime-modal-date{--height: 390px}.ion-datetime-modal.ion-datetime-modal-time{--height: 260px}\n"], components: [{ type: i1.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { type: i1.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { type: i1.IonModal, selector: "ion-modal", inputs: ["animated", "keepContentsMounted", "backdropBreakpoint", "backdropDismiss", "breakpoints", "canDismiss", "cssClass", "enterAnimation", "event", "handle", "handleBehavior", "initialBreakpoint", "isOpen", "keyboardClose", "leaveAnimation", "mode", "presentingElement", "showBackdrop", "swipeToClose", "translucent", "trigger"] }, { type: i1.IonDatetime, selector: "ion-datetime", inputs: ["cancelText", "clearText", "color", "dayValues", "disabled", "doneText", "firstDayOfWeek", "hourCycle", "hourValues", "isDateEnabled", "locale", "max", "min", "minuteValues", "mode", "monthValues", "multiple", "name", "preferWheel", "presentation", "readonly", "showClearButton", "showDefaultButtons", "showDefaultTimeLabel", "showDefaultTitle", "size", "titleSelectedDatesFormatter", "value", "yearValues"] }, { type: i1.IonButtons, selector: "ion-buttons", inputs: ["collapse"] }, { type: i1.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }], 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"] }], pipes: { "date": i4.DatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
94
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyFieldDatetime, decorators: [{
91
+ `, isInline: true, styles: [".ion-datetime-modal{--width: 310px;--border-radius: 8px}.ion-datetime-modal.ion-datetime-modal-time-date{--height: 440px}.ion-datetime-modal.ion-datetime-modal-date{--height: 390px}.ion-datetime-modal.ion-datetime-modal-time{--height: 260px}formly-field-ion-datetime{display:inherit}formly-field-ion-datetime ion-item{flex:1}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: i2.IonButtons, selector: "ion-buttons", inputs: ["collapse"] }, { kind: "component", type: i2.IonDatetime, selector: "ion-datetime", inputs: ["cancelText", "clearText", "color", "dayValues", "disabled", "doneText", "firstDayOfWeek", "formatOptions", "highlightedDates", "hourCycle", "hourValues", "isDateEnabled", "locale", "max", "min", "minuteValues", "mode", "monthValues", "multiple", "name", "preferWheel", "presentation", "readonly", "showClearButton", "showDefaultButtons", "showDefaultTimeLabel", "showDefaultTitle", "size", "titleSelectedDatesFormatter", "value", "yearValues"] }, { kind: "component", type: i2.IonItem, selector: "ion-item", inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: i2.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i2.IonModal, selector: "ion-modal" }, { kind: "directive", type: i2.SelectValueAccessor, selector: "ion-select, ion-radio-group, ion-segment, ion-datetime" }, { kind: "directive", type: i3.ɵIonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: ["ionFormlyAttributes"] }, { kind: "pipe", type: i4.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
92
+ }
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyFieldDatetime, decorators: [{
95
94
  type: Component,
96
95
  args: [{ selector: 'formly-field-ion-datetime', template: `
97
96
  <ion-item [button]="true" [detail]="false" (click)="isOpen = true">
98
97
  <ion-label>
99
- {{ formControl.value ? (formControl.value | date : displayFormat()) : props.placeholder }}
98
+ {{ formControl.value ? (formControl.value | date: displayFormat()) : props.placeholder }}
100
99
  </ion-label>
101
100
  </ion-item>
102
101
  <ion-modal
@@ -127,35 +126,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
127
126
  </ion-datetime>
128
127
  </ng-template>
129
128
  </ion-modal>
130
- `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".ion-datetime-modal{--width: 310px;--border-radius: 8px}.ion-datetime-modal.ion-datetime-modal-time-date{--height: 440px}.ion-datetime-modal.ion-datetime-modal-date{--height: 390px}.ion-datetime-modal.ion-datetime-modal-time{--height: 260px}\n"] }]
129
+ `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".ion-datetime-modal{--width: 310px;--border-radius: 8px}.ion-datetime-modal.ion-datetime-modal-time-date{--height: 440px}.ion-datetime-modal.ion-datetime-modal-date{--height: 390px}.ion-datetime-modal.ion-datetime-modal-time{--height: 260px}formly-field-ion-datetime{display:inherit}formly-field-ion-datetime ion-item{flex:1}\n"] }]
131
130
  }], propDecorators: { datetime: [{
132
131
  type: ViewChild,
133
132
  args: [IonDatetime]
134
133
  }] } });
135
134
 
136
- class FormlyDatetimeModule {
135
+ function withFormlyFieldDatetime() {
136
+ return {
137
+ types: [
138
+ {
139
+ name: 'datetime',
140
+ component: FormlyFieldDatetime,
141
+ wrappers: ['form-field'],
142
+ },
143
+ ],
144
+ };
137
145
  }
138
- FormlyDatetimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyDatetimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
139
- FormlyDatetimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyDatetimeModule, declarations: [FormlyFieldDatetime], imports: [CommonModule,
140
- ReactiveFormsModule,
141
- IonicModule,
142
- FormlyFormFieldModule, i1$1.FormlyModule] });
143
- FormlyDatetimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyDatetimeModule, imports: [[
144
- CommonModule,
146
+
147
+ class FormlyDatetimeModule {
148
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyDatetimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
149
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FormlyDatetimeModule, declarations: [FormlyFieldDatetime], imports: [CommonModule,
150
+ ReactiveFormsModule,
151
+ IonicModule,
152
+ FormlyFormFieldModule, i1$1.FormlyModule] }); }
153
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyDatetimeModule, imports: [CommonModule,
145
154
  ReactiveFormsModule,
146
155
  IonicModule,
147
156
  FormlyFormFieldModule,
148
- FormlyModule.forChild({
149
- types: [
150
- {
151
- name: 'datetime',
152
- component: FormlyFieldDatetime,
153
- wrappers: ['form-field'],
154
- },
155
- ],
156
- }),
157
- ]] });
158
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormlyDatetimeModule, decorators: [{
157
+ FormlyModule.forChild(withFormlyFieldDatetime())] }); }
158
+ }
159
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyDatetimeModule, decorators: [{
159
160
  type: NgModule,
160
161
  args: [{
161
162
  declarations: [FormlyFieldDatetime],
@@ -164,15 +165,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
164
165
  ReactiveFormsModule,
165
166
  IonicModule,
166
167
  FormlyFormFieldModule,
167
- FormlyModule.forChild({
168
- types: [
169
- {
170
- name: 'datetime',
171
- component: FormlyFieldDatetime,
172
- wrappers: ['form-field'],
173
- },
174
- ],
175
- }),
168
+ FormlyModule.forChild(withFormlyFieldDatetime()),
176
169
  ],
177
170
  }]
178
171
  }] });
@@ -181,5 +174,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
181
174
  * Generated bundle index. Do not edit.
182
175
  */
183
176
 
184
- export { FormlyDatetimeModule };
177
+ export { FormlyDatetimeModule, withFormlyFieldDatetime };
185
178
  //# sourceMappingURL=ngx-formly-ionic-datetime.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-formly-ionic-datetime.mjs","sources":["../../../../src/ui/ionic/datetime/src/datetime.type.ts","../../../../src/ui/ionic/datetime/src/datetime.config.ts","../../../../src/ui/ionic/datetime/src/datetime.module.ts","../../../../src/ui/ionic/datetime/src/ngx-formly-ionic-datetime.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewChild, ViewEncapsulation, Type } from '@angular/core';\nimport { IonDatetime } from '@ionic/angular';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from '@ngx-formly/ionic/form-field';\n\ninterface DatetimeProps extends FormlyFieldProps {\n presentation?: 'date' | 'date-time' | 'month' | 'month-year' | 'time' | 'time-date' | 'year';\n locale?: any;\n cancelText?: string;\n doneText?: string;\n dayValues?: number | number[] | string | undefined;\n hourValues?: number | number[] | string | undefined;\n minuteValues?: number | number[] | string | undefined;\n monthValues?: number | number[] | string | undefined;\n yearValues?: number | number[] | string | undefined;\n minDate?: string | undefined;\n maxDate?: string | undefined;\n displayFormat?: string;\n}\n\nexport interface FormlyDatetimeFieldConfig extends FormlyFieldConfig<DatetimeProps> {\n type: 'datetime' | Type<FormlyFieldDatetime>;\n}\n\n@Component({\n selector: 'formly-field-ion-datetime',\n template: `\n <ion-item [button]=\"true\" [detail]=\"false\" (click)=\"isOpen = true\">\n <ion-label>\n {{ formControl.value ? (formControl.value | date: displayFormat()) : props.placeholder }}\n </ion-label>\n </ion-item>\n <ion-modal\n [isOpen]=\"isOpen\"\n (didDismiss)=\"close()\"\n [cssClass]=\"'ion-datetime-modal ion-datetime-modal-' + props.presentation\"\n >\n <ng-template>\n <ion-datetime\n [locale]=\"props.locale\"\n [presentation]=\"props.presentation\"\n [cancelText]=\"props.cancelText\"\n [dayValues]=\"props.dayValues\"\n [doneText]=\"props.doneText\"\n [hourValues]=\"props.hourValues\"\n [minuteValues]=\"props.minuteValues\"\n [monthValues]=\"props.monthValues\"\n [yearValues]=\"props.yearValues\"\n [min]=\"props.minDate ? props.minDate : props.min\"\n [max]=\"props.maxDate ? props.maxDate : props.max\"\n [formControl]=\"formControl\"\n [ionFormlyAttributes]=\"field\"\n >\n <ion-buttons slot=\"buttons\">\n <ion-button (click)=\"reset()\">{{ props.cancelText || 'Cancel' }}</ion-button>\n <ion-button (click)=\"confirm()\">{{ props.doneText || 'Done' }}</ion-button>\n </ion-buttons>\n </ion-datetime>\n </ng-template>\n </ion-modal>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrls: ['./dattime.type.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class FormlyFieldDatetime extends FieldType<FieldTypeConfig<DatetimeProps>> {\n @ViewChild(IonDatetime) datetime!: IonDatetime;\n isOpen = false;\n\n override defaultOptions = {\n props: {\n presentation: 'month-year' as const,\n },\n };\n\n displayFormat() {\n if (this.props.displayFormat) {\n return this.props.displayFormat;\n }\n\n switch (this.props.presentation) {\n case 'date-time':\n case 'time-date':\n return 'short';\n case 'time':\n return 'shortTime';\n case 'month':\n return 'MMMM';\n case 'month-year':\n return 'MMMM, y';\n case 'year':\n return 'y';\n case 'date':\n return 'mediumDate';\n }\n }\n\n confirm() {\n this.datetime?.confirm();\n this.close();\n }\n\n reset() {\n this.datetime?.reset();\n this.close();\n }\n\n close() {\n this.isOpen = false;\n this.formControl.markAsTouched();\n }\n}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldDatetime } from './datetime.type';\n\nexport function withFormlyFieldDatetime(): ConfigOption {\n return {\n types: [\n {\n name: 'datetime',\n component: FormlyFieldDatetime,\n wrappers: ['form-field'],\n },\n ],\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 { FormlyFormFieldModule } from '@ngx-formly/ionic/form-field';\n\nimport { FormlyFieldDatetime } from './datetime.type';\nimport { withFormlyFieldDatetime } from './datetime.config';\n\n@NgModule({\n declarations: [FormlyFieldDatetime],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n IonicModule,\n FormlyFormFieldModule,\n FormlyModule.forChild(withFormlyFieldDatetime()),\n ],\n})\nexport class FormlyDatetimeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"m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AQ,CAAC,uBAAuB,EAAE,CAAC,CAAA,EAAA,CAAA,CAAA;;4FAGvC,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAVhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,WAAW;wBACX,qBAAqB;AACrB,wBAAA,YAAY,CAAC,QAAQ,CAAC,uBAAuB,EAAE,CAAC;AACjD,qBAAA;AACF,iBAAA;;;ACnBD;;AAEG;;;;"}
@@ -0,0 +1,106 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, Input, Inject, Directive, NgModule } from '@angular/core';
3
+ import * as i3 from '@ngx-formly/core';
4
+ import { FieldWrapper, ɵFormlyAttributes as _FormlyAttributes, FormlyModule } from '@ngx-formly/core';
5
+ import * as i1 from '@angular/common';
6
+ import { DOCUMENT, CommonModule } from '@angular/common';
7
+ import * as i2 from '@ionic/angular';
8
+ import { IonicModule } from '@ionic/angular';
9
+ import { ReactiveFormsModule } from '@angular/forms';
10
+
11
+ class FormlyWrapperFormField extends FieldWrapper {
12
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
13
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormlyWrapperFormField, selector: "formly-wrapper-ion-form-field", usesInheritance: true, ngImport: i0, template: `
14
+ <ion-item [lines]="props.itemLines">
15
+ <ng-template #fieldComponent></ng-template>
16
+ </ion-item>
17
+ <ion-item lines="none" *ngIf="showError">
18
+ <ion-label>
19
+ <ion-text color="danger">
20
+ <p>
21
+ <formly-validation-message [field]="field"></formly-validation-message>
22
+ </p>
23
+ </ion-text>
24
+ </ion-label>
25
+ </ion-item>
26
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IonItem, selector: "ion-item", inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: i2.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i2.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { kind: "component", type: i3.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }] }); }
27
+ }
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
29
+ type: Component,
30
+ args: [{
31
+ selector: 'formly-wrapper-ion-form-field',
32
+ template: `
33
+ <ion-item [lines]="props.itemLines">
34
+ <ng-template #fieldComponent></ng-template>
35
+ </ion-item>
36
+ <ion-item lines="none" *ngIf="showError">
37
+ <ion-label>
38
+ <ion-text color="danger">
39
+ <p>
40
+ <formly-validation-message [field]="field"></formly-validation-message>
41
+ </p>
42
+ </ion-text>
43
+ </ion-label>
44
+ </ion-item>
45
+ `,
46
+ }]
47
+ }] });
48
+
49
+ function withFormlyFormField() {
50
+ return {
51
+ wrappers: [
52
+ {
53
+ name: 'form-field',
54
+ component: FormlyWrapperFormField,
55
+ },
56
+ ],
57
+ };
58
+ }
59
+
60
+ class IonFormlyAttributes extends _FormlyAttributes {
61
+ constructor(renderer, elementRef, _document) {
62
+ super(renderer, elementRef, _document);
63
+ }
64
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IonFormlyAttributes, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }
65
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: IonFormlyAttributes, selector: "[ionFormlyAttributes]", inputs: { field: ["ionFormlyAttributes", "field"] }, host: { listeners: { "ionFocus": "onFocus($event)", "ionBlur": "onBlur($event)", "ionChange": "onChange($event)", "ionInput": "onChange($event)" } }, usesInheritance: true, ngImport: i0 }); }
66
+ }
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IonFormlyAttributes, decorators: [{
68
+ type: Directive,
69
+ args: [{
70
+ // eslint-disable-next-line
71
+ selector: '[ionFormlyAttributes]',
72
+ host: {
73
+ '(ionFocus)': 'onFocus($event)',
74
+ '(ionBlur)': 'onBlur($event)',
75
+ '(ionChange)': 'onChange($event)',
76
+ '(ionInput)': 'onChange($event)',
77
+ },
78
+ }]
79
+ }], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: undefined, decorators: [{
80
+ type: Inject,
81
+ args: [DOCUMENT]
82
+ }] }], propDecorators: { field: [{
83
+ type: Input,
84
+ args: ['ionFormlyAttributes']
85
+ }] } });
86
+
87
+ class FormlyFormFieldModule {
88
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
89
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FormlyFormFieldModule, declarations: [FormlyWrapperFormField, IonFormlyAttributes], imports: [CommonModule, ReactiveFormsModule, IonicModule, i3.FormlyModule], exports: [IonFormlyAttributes] }); }
90
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyFormFieldModule, imports: [CommonModule, ReactiveFormsModule, IonicModule, FormlyModule.forChild(withFormlyFormField())] }); }
91
+ }
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormlyFormFieldModule, decorators: [{
93
+ type: NgModule,
94
+ args: [{
95
+ declarations: [FormlyWrapperFormField, IonFormlyAttributes],
96
+ exports: [IonFormlyAttributes],
97
+ imports: [CommonModule, ReactiveFormsModule, IonicModule, FormlyModule.forChild(withFormlyFormField())],
98
+ }]
99
+ }] });
100
+
101
+ /**
102
+ * Generated bundle index. Do not edit.
103
+ */
104
+
105
+ export { FormlyFormFieldModule, withFormlyFormField, IonFormlyAttributes as ɵIonFormlyAttributes };
106
+ //# sourceMappingURL=ngx-formly-ionic-form-field.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-formly-ionic-form-field.mjs","sources":["../../../../src/ui/ionic/form-field/src/form-field.wrapper.ts","../../../../src/ui/ionic/form-field/src/form-field.config.ts","../../../../src/ui/ionic/form-field/src/formly.attributes.ts","../../../../src/ui/ionic/form-field/src/form-field.module.ts","../../../../src/ui/ionic/form-field/src/ngx-formly-ionic-form-field.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { IonItem, IonLabel } from '@ionic/angular';\nimport { FieldWrapper, FormlyFieldConfig, FormlyFieldProps as CoreFormlyFieldProps } from '@ngx-formly/core';\n\nexport interface FormlyFieldProps extends CoreFormlyFieldProps {\n hideRequiredMarker?: boolean;\n itemLines?: IonItem['lines'];\n labelPosition?: IonLabel['position'];\n}\n\n@Component({\n selector: 'formly-wrapper-ion-form-field',\n template: `\n <ion-item [lines]=\"props.itemLines\">\n <ng-template #fieldComponent></ng-template>\n </ion-item>\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})\nexport class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyWrapperFormField } from './form-field.wrapper';\n\nexport function withFormlyFormField(): ConfigOption {\n return {\n wrappers: [\n {\n name: 'form-field',\n component: FormlyWrapperFormField,\n },\n ],\n };\n}\n","import { DOCUMENT } from '@angular/common';\nimport { Directive, ElementRef, Inject, Input, Renderer2 } from '@angular/core';\nimport { ɵFormlyAttributes as FormlyAttributes, FormlyFieldConfig } from '@ngx-formly/core';\n\n@Directive({\n // eslint-disable-next-line\n selector: '[ionFormlyAttributes]',\n host: {\n '(ionFocus)': 'onFocus($event)',\n '(ionBlur)': 'onBlur($event)',\n '(ionChange)': 'onChange($event)',\n '(ionInput)': 'onChange($event)',\n },\n})\nexport class IonFormlyAttributes extends FormlyAttributes {\n @Input('ionFormlyAttributes') override field: FormlyFieldConfig;\n constructor(renderer: Renderer2, elementRef: ElementRef, @Inject(DOCUMENT) _document: any) {\n super(renderer, elementRef, _document);\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 { FormlyWrapperFormField } from './form-field.wrapper';\nimport { IonFormlyAttributes } from './formly.attributes';\nimport { withFormlyFormField } from './form-field.config';\n\n@NgModule({\n declarations: [FormlyWrapperFormField, IonFormlyAttributes],\n exports: [IonFormlyAttributes],\n imports: [CommonModule, ReactiveFormsModule, IonicModule, FormlyModule.forChild(withFormlyFormField())],\n})\nexport class FormlyFormFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["FormlyAttributes","i1"],"mappings":";;;;;;;;;;AA2BM,MAAO,sBAAuB,SAAQ,YAAiD,CAAA;+GAAhF,sBAAsB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,EAfvB,QAA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