@ionic/angular 9.0.10 → 9.0.11-dev.11793666452.109ac2a5

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 (412) hide show
  1. package/css/core.css +1 -1
  2. package/css/core.css.map +1 -1
  3. package/css/display.css +1 -1
  4. package/css/display.css.map +1 -1
  5. package/css/flex-utils.css +1 -1
  6. package/css/flex-utils.css.map +1 -1
  7. package/css/float-elements.css.map +1 -1
  8. package/css/global.bundle.css.map +1 -1
  9. package/css/ionic/bundle.ionic.css +1 -0
  10. package/css/ionic/bundle.ionic.css.map +1 -0
  11. package/css/ionic/core.ionic.css +1 -0
  12. package/css/ionic/core.ionic.css.map +1 -0
  13. package/css/ionic/global.bundle.ionic.css +1 -0
  14. package/css/ionic/global.bundle.ionic.css.map +1 -0
  15. package/css/ionic/ionic-swiper.ionic.css +1 -0
  16. package/css/ionic/ionic-swiper.ionic.css.map +1 -0
  17. package/css/ionic/link.ionic.css +1 -0
  18. package/css/ionic/link.ionic.css.map +1 -0
  19. package/css/ionic/structure.ionic.css +1 -0
  20. package/css/ionic/structure.ionic.css.map +1 -0
  21. package/css/ionic/typography.ionic.css +1 -0
  22. package/css/ionic/typography.ionic.css.map +1 -0
  23. package/css/ionic/utils.bundle.ionic.css +1 -0
  24. package/css/ionic/utils.bundle.ionic.css.map +1 -0
  25. package/css/ionic-swiper.css +1 -1
  26. package/css/ionic-swiper.css.map +1 -1
  27. package/css/ionic.bundle.css +1 -1
  28. package/css/ionic.bundle.css.map +1 -1
  29. package/css/normalize.css.map +1 -1
  30. package/css/padding.css.map +1 -1
  31. package/css/palettes/dark.always.css.map +1 -1
  32. package/css/palettes/dark.class.css.map +1 -1
  33. package/css/palettes/dark.system.css.map +1 -1
  34. package/css/palettes/high-contrast-dark.always.css.map +1 -1
  35. package/css/palettes/high-contrast-dark.class.css.map +1 -1
  36. package/css/palettes/high-contrast-dark.system.css.map +1 -1
  37. package/css/palettes/high-contrast.always.css.map +1 -1
  38. package/css/palettes/high-contrast.class.css.map +1 -1
  39. package/css/palettes/high-contrast.system.css.map +1 -1
  40. package/css/structure.css.map +1 -1
  41. package/css/text-alignment.css.map +1 -1
  42. package/css/text-transformation.css.map +1 -1
  43. package/css/typography.css.map +1 -1
  44. package/css/utils.bundle.css +1 -1
  45. package/css/utils.bundle.css.map +1 -1
  46. package/dist/common/directives/control-value-accessors/value-accessor.js +3 -3
  47. package/dist/common/directives/navigation/back-button.d.ts +1 -0
  48. package/dist/common/directives/navigation/back-button.js +17 -6
  49. package/dist/common/directives/navigation/back-button.js.map +1 -1
  50. package/dist/common/directives/navigation/nav.d.ts +2 -0
  51. package/dist/common/directives/navigation/nav.js +14 -6
  52. package/dist/common/directives/navigation/nav.js.map +1 -1
  53. package/dist/common/directives/navigation/router-link-delegate.js +6 -6
  54. package/dist/common/directives/navigation/router-outlet.d.ts +2 -0
  55. package/dist/common/directives/navigation/router-outlet.js +15 -9
  56. package/dist/common/directives/navigation/router-outlet.js.map +1 -1
  57. package/dist/common/directives/navigation/tabs.js +3 -3
  58. package/dist/common/index.d.ts +1 -1
  59. package/dist/common/index.js +1 -1
  60. package/dist/common/index.js.map +1 -1
  61. package/dist/common/overlays/modal.d.ts +9 -0
  62. package/dist/common/overlays/modal.js +16 -14
  63. package/dist/common/overlays/modal.js.map +1 -1
  64. package/dist/common/overlays/popover.d.ts +12 -1
  65. package/dist/common/overlays/popover.js +18 -15
  66. package/dist/common/overlays/popover.js.map +1 -1
  67. package/dist/common/providers/angular-delegate.d.ts +1 -1
  68. package/dist/common/providers/angular-delegate.js +3 -3
  69. package/dist/common/providers/config.d.ts +1 -1
  70. package/dist/common/providers/config.js +3 -3
  71. package/dist/common/providers/dom-controller.d.ts +1 -1
  72. package/dist/common/providers/dom-controller.js +3 -3
  73. package/dist/common/providers/nav-controller.d.ts +1 -1
  74. package/dist/common/providers/nav-controller.js +3 -3
  75. package/dist/common/providers/platform.d.ts +1 -1
  76. package/dist/common/providers/platform.js +3 -3
  77. package/dist/common/utils/boolean-attribute.d.ts +19 -0
  78. package/dist/common/utils/boolean-attribute.js +31 -0
  79. package/dist/common/utils/boolean-attribute.js.map +1 -0
  80. package/dist/common/utils/proxy.d.ts +7 -0
  81. package/dist/common/utils/proxy.js +5 -0
  82. package/dist/common/utils/proxy.js.map +1 -1
  83. package/dist/lazy/directives/angular-component-lib/boolean-attribute.d.ts +35 -0
  84. package/dist/lazy/directives/angular-component-lib/boolean-attribute.js +43 -0
  85. package/dist/lazy/directives/angular-component-lib/boolean-attribute.js.map +1 -0
  86. package/dist/lazy/directives/control-value-accessors/boolean-value-accessor.js +3 -3
  87. package/dist/lazy/directives/control-value-accessors/numeric-value-accessor.js +3 -3
  88. package/dist/lazy/directives/control-value-accessors/select-value-accessor.js +3 -3
  89. package/dist/lazy/directives/control-value-accessors/text-value-accessor.js +3 -3
  90. package/dist/lazy/directives/navigation/ion-back-button.js +3 -3
  91. package/dist/lazy/directives/navigation/ion-nav.js +3 -3
  92. package/dist/lazy/directives/navigation/ion-router-outlet.js +3 -3
  93. package/dist/lazy/directives/navigation/ion-tabs.js +3 -3
  94. package/dist/lazy/directives/navigation/router-link-delegate.js +6 -6
  95. package/dist/lazy/directives/overlays/modal.js +3 -3
  96. package/dist/lazy/directives/overlays/popover.js +3 -3
  97. package/dist/lazy/directives/proxies-list.d.ts +1 -1
  98. package/dist/lazy/directives/proxies-list.js +3 -0
  99. package/dist/lazy/directives/proxies-list.js.map +1 -1
  100. package/dist/lazy/directives/proxies.d.ts +262 -84
  101. package/dist/lazy/directives/proxies.js +514 -418
  102. package/dist/lazy/directives/proxies.js.map +1 -1
  103. package/dist/lazy/directives/validators/max-validator.js +3 -3
  104. package/dist/lazy/directives/validators/min-validator.js +3 -3
  105. package/dist/lazy/ionic-module.d.ts +1 -1
  106. package/dist/lazy/ionic-module.js +5 -5
  107. package/dist/lazy/providers/action-sheet-controller.d.ts +1 -1
  108. package/dist/lazy/providers/action-sheet-controller.js +3 -3
  109. package/dist/lazy/providers/alert-controller.d.ts +1 -1
  110. package/dist/lazy/providers/alert-controller.js +3 -3
  111. package/dist/lazy/providers/animation-controller.d.ts +1 -1
  112. package/dist/lazy/providers/animation-controller.js +3 -3
  113. package/dist/lazy/providers/gesture-controller.d.ts +1 -1
  114. package/dist/lazy/providers/gesture-controller.js +3 -3
  115. package/dist/lazy/providers/loading-controller.d.ts +1 -1
  116. package/dist/lazy/providers/loading-controller.js +3 -3
  117. package/dist/lazy/providers/menu-controller.d.ts +1 -1
  118. package/dist/lazy/providers/menu-controller.js +3 -3
  119. package/dist/lazy/providers/modal-controller.d.ts +1 -1
  120. package/dist/lazy/providers/modal-controller.js +3 -3
  121. package/dist/lazy/providers/toast-controller.d.ts +1 -1
  122. package/dist/lazy/providers/toast-controller.js +3 -3
  123. package/dist/standalone/directives/angular-component-lib/boolean-attribute.d.ts +35 -0
  124. package/dist/standalone/directives/angular-component-lib/boolean-attribute.js +43 -0
  125. package/dist/standalone/directives/angular-component-lib/boolean-attribute.js.map +1 -0
  126. package/dist/standalone/directives/checkbox.d.ts +5 -1
  127. package/dist/standalone/directives/checkbox.js +11 -8
  128. package/dist/standalone/directives/checkbox.js.map +1 -1
  129. package/dist/standalone/directives/datetime.d.ts +10 -1
  130. package/dist/standalone/directives/datetime.js +19 -14
  131. package/dist/standalone/directives/datetime.js.map +1 -1
  132. package/dist/standalone/directives/icon.d.ts +3 -0
  133. package/dist/standalone/directives/icon.js +21 -5
  134. package/dist/standalone/directives/icon.js.map +1 -1
  135. package/dist/standalone/directives/input-otp.d.ts +2 -0
  136. package/dist/standalone/directives/input-otp.js +9 -7
  137. package/dist/standalone/directives/input-otp.js.map +1 -1
  138. package/dist/standalone/directives/input.d.ts +10 -0
  139. package/dist/standalone/directives/input.js +17 -15
  140. package/dist/standalone/directives/input.js.map +1 -1
  141. package/dist/standalone/directives/ion-accordion-group.d.ts +5 -1
  142. package/dist/standalone/directives/ion-accordion-group.js +6 -5
  143. package/dist/standalone/directives/ion-accordion-group.js.map +1 -1
  144. package/dist/standalone/directives/ion-accordion.d.ts +3 -1
  145. package/dist/standalone/directives/ion-accordion.js +6 -5
  146. package/dist/standalone/directives/ion-accordion.js.map +1 -1
  147. package/dist/standalone/directives/ion-action-sheet.d.ts +6 -1
  148. package/dist/standalone/directives/ion-action-sheet.js +6 -5
  149. package/dist/standalone/directives/ion-action-sheet.js.map +1 -1
  150. package/dist/standalone/directives/ion-alert.d.ts +6 -1
  151. package/dist/standalone/directives/ion-alert.js +6 -5
  152. package/dist/standalone/directives/ion-alert.js.map +1 -1
  153. package/dist/standalone/directives/ion-app.d.ts +1 -1
  154. package/dist/standalone/directives/ion-app.js +5 -4
  155. package/dist/standalone/directives/ion-app.js.map +1 -1
  156. package/dist/standalone/directives/ion-avatar.d.ts +2 -1
  157. package/dist/standalone/directives/ion-avatar.js +7 -5
  158. package/dist/standalone/directives/ion-avatar.js.map +1 -1
  159. package/dist/standalone/directives/ion-backdrop.d.ts +4 -1
  160. package/dist/standalone/directives/ion-backdrop.js +6 -5
  161. package/dist/standalone/directives/ion-backdrop.js.map +1 -1
  162. package/dist/standalone/directives/ion-badge.d.ts +1 -1
  163. package/dist/standalone/directives/ion-badge.js +5 -5
  164. package/dist/standalone/directives/ion-badge.js.map +1 -1
  165. package/dist/standalone/directives/ion-breadcrumb.d.ts +4 -1
  166. package/dist/standalone/directives/ion-breadcrumb.js +6 -5
  167. package/dist/standalone/directives/ion-breadcrumb.js.map +1 -1
  168. package/dist/standalone/directives/ion-breadcrumbs.d.ts +1 -1
  169. package/dist/standalone/directives/ion-breadcrumbs.js +5 -5
  170. package/dist/standalone/directives/ion-breadcrumbs.js.map +1 -1
  171. package/dist/standalone/directives/ion-button.d.ts +3 -1
  172. package/dist/standalone/directives/ion-button.js +6 -5
  173. package/dist/standalone/directives/ion-button.js.map +1 -1
  174. package/dist/standalone/directives/ion-buttons.d.ts +2 -1
  175. package/dist/standalone/directives/ion-buttons.js +6 -5
  176. package/dist/standalone/directives/ion-buttons.js.map +1 -1
  177. package/dist/standalone/directives/ion-card-content.d.ts +1 -1
  178. package/dist/standalone/directives/ion-card-content.js +5 -5
  179. package/dist/standalone/directives/ion-card-content.js.map +1 -1
  180. package/dist/standalone/directives/ion-card-header.d.ts +2 -1
  181. package/dist/standalone/directives/ion-card-header.js +6 -5
  182. package/dist/standalone/directives/ion-card-header.js.map +1 -1
  183. package/dist/standalone/directives/ion-card-subtitle.d.ts +1 -1
  184. package/dist/standalone/directives/ion-card-subtitle.js +5 -5
  185. package/dist/standalone/directives/ion-card-subtitle.js.map +1 -1
  186. package/dist/standalone/directives/ion-card-title.d.ts +1 -1
  187. package/dist/standalone/directives/ion-card-title.js +5 -5
  188. package/dist/standalone/directives/ion-card-title.js.map +1 -1
  189. package/dist/standalone/directives/ion-card.d.ts +3 -1
  190. package/dist/standalone/directives/ion-card.js +6 -5
  191. package/dist/standalone/directives/ion-card.js.map +1 -1
  192. package/dist/standalone/directives/ion-chip.d.ts +3 -1
  193. package/dist/standalone/directives/ion-chip.js +6 -5
  194. package/dist/standalone/directives/ion-chip.js.map +1 -1
  195. package/dist/standalone/directives/ion-col.d.ts +1 -1
  196. package/dist/standalone/directives/ion-col.js +5 -5
  197. package/dist/standalone/directives/ion-col.js.map +1 -1
  198. package/dist/standalone/directives/ion-content.d.ts +6 -1
  199. package/dist/standalone/directives/ion-content.js +6 -5
  200. package/dist/standalone/directives/ion-content.js.map +1 -1
  201. package/dist/standalone/directives/ion-datetime-button.d.ts +2 -1
  202. package/dist/standalone/directives/ion-datetime-button.js +6 -5
  203. package/dist/standalone/directives/ion-datetime-button.js.map +1 -1
  204. package/dist/standalone/directives/ion-divider.d.ts +13 -0
  205. package/dist/standalone/directives/ion-divider.js +37 -0
  206. package/dist/standalone/directives/ion-divider.js.map +1 -0
  207. package/dist/standalone/directives/ion-fab-button.d.ts +5 -1
  208. package/dist/standalone/directives/ion-fab-button.js +6 -5
  209. package/dist/standalone/directives/ion-fab-button.js.map +1 -1
  210. package/dist/standalone/directives/ion-fab-list.d.ts +2 -1
  211. package/dist/standalone/directives/ion-fab-list.js +6 -5
  212. package/dist/standalone/directives/ion-fab-list.js.map +1 -1
  213. package/dist/standalone/directives/ion-fab.d.ts +3 -1
  214. package/dist/standalone/directives/ion-fab.js +6 -5
  215. package/dist/standalone/directives/ion-fab.js.map +1 -1
  216. package/dist/standalone/directives/ion-footer.d.ts +2 -1
  217. package/dist/standalone/directives/ion-footer.js +6 -5
  218. package/dist/standalone/directives/ion-footer.js.map +1 -1
  219. package/dist/standalone/directives/ion-gallery-item.d.ts +12 -0
  220. package/dist/standalone/directives/ion-gallery-item.js +36 -0
  221. package/dist/standalone/directives/ion-gallery-item.js.map +1 -0
  222. package/dist/standalone/directives/ion-gallery.d.ts +12 -0
  223. package/dist/standalone/directives/ion-gallery.js +36 -0
  224. package/dist/standalone/directives/ion-gallery.js.map +1 -0
  225. package/dist/standalone/directives/ion-grid.d.ts +2 -1
  226. package/dist/standalone/directives/ion-grid.js +6 -5
  227. package/dist/standalone/directives/ion-grid.js.map +1 -1
  228. package/dist/standalone/directives/ion-header.d.ts +3 -1
  229. package/dist/standalone/directives/ion-header.js +6 -5
  230. package/dist/standalone/directives/ion-header.js.map +1 -1
  231. package/dist/standalone/directives/ion-img.d.ts +1 -1
  232. package/dist/standalone/directives/ion-img.js +5 -5
  233. package/dist/standalone/directives/ion-img.js.map +1 -1
  234. package/dist/standalone/directives/ion-infinite-scroll-content.d.ts +1 -1
  235. package/dist/standalone/directives/ion-infinite-scroll-content.js +5 -5
  236. package/dist/standalone/directives/ion-infinite-scroll-content.js.map +1 -1
  237. package/dist/standalone/directives/ion-infinite-scroll.d.ts +3 -1
  238. package/dist/standalone/directives/ion-infinite-scroll.js +6 -5
  239. package/dist/standalone/directives/ion-infinite-scroll.js.map +1 -1
  240. package/dist/standalone/directives/ion-input-password-toggle.js +3 -3
  241. package/dist/standalone/directives/ion-item-divider.d.ts +2 -1
  242. package/dist/standalone/directives/ion-item-divider.js +6 -5
  243. package/dist/standalone/directives/ion-item-divider.js.map +1 -1
  244. package/dist/standalone/directives/ion-item-group.d.ts +1 -1
  245. package/dist/standalone/directives/ion-item-group.js +6 -5
  246. package/dist/standalone/directives/ion-item-group.js.map +1 -1
  247. package/dist/standalone/directives/ion-item-option.d.ts +3 -1
  248. package/dist/standalone/directives/ion-item-option.js +6 -5
  249. package/dist/standalone/directives/ion-item-option.js.map +1 -1
  250. package/dist/standalone/directives/ion-item-options.d.ts +1 -1
  251. package/dist/standalone/directives/ion-item-options.js +5 -5
  252. package/dist/standalone/directives/ion-item-options.js.map +1 -1
  253. package/dist/standalone/directives/ion-item-sliding.d.ts +2 -1
  254. package/dist/standalone/directives/ion-item-sliding.js +6 -5
  255. package/dist/standalone/directives/ion-item-sliding.js.map +1 -1
  256. package/dist/standalone/directives/ion-item.d.ts +4 -1
  257. package/dist/standalone/directives/ion-item.js +6 -5
  258. package/dist/standalone/directives/ion-item.js.map +1 -1
  259. package/dist/standalone/directives/ion-label.d.ts +1 -1
  260. package/dist/standalone/directives/ion-label.js +5 -5
  261. package/dist/standalone/directives/ion-label.js.map +1 -1
  262. package/dist/standalone/directives/ion-list-header.d.ts +1 -1
  263. package/dist/standalone/directives/ion-list-header.js +5 -5
  264. package/dist/standalone/directives/ion-list-header.js.map +1 -1
  265. package/dist/standalone/directives/ion-list.d.ts +2 -1
  266. package/dist/standalone/directives/ion-list.js +6 -5
  267. package/dist/standalone/directives/ion-list.js.map +1 -1
  268. package/dist/standalone/directives/ion-loading.d.ts +7 -1
  269. package/dist/standalone/directives/ion-loading.js +6 -5
  270. package/dist/standalone/directives/ion-loading.js.map +1 -1
  271. package/dist/standalone/directives/ion-menu-button.d.ts +3 -1
  272. package/dist/standalone/directives/ion-menu-button.js +6 -5
  273. package/dist/standalone/directives/ion-menu-button.js.map +1 -1
  274. package/dist/standalone/directives/ion-menu-toggle.d.ts +2 -1
  275. package/dist/standalone/directives/ion-menu-toggle.js +6 -5
  276. package/dist/standalone/directives/ion-menu-toggle.js.map +1 -1
  277. package/dist/standalone/directives/ion-menu.d.ts +3 -1
  278. package/dist/standalone/directives/ion-menu.js +6 -5
  279. package/dist/standalone/directives/ion-menu.js.map +1 -1
  280. package/dist/standalone/directives/ion-nav-link.d.ts +1 -1
  281. package/dist/standalone/directives/ion-nav-link.js +5 -5
  282. package/dist/standalone/directives/ion-nav-link.js.map +1 -1
  283. package/dist/standalone/directives/ion-note.d.ts +1 -1
  284. package/dist/standalone/directives/ion-note.js +5 -5
  285. package/dist/standalone/directives/ion-note.js.map +1 -1
  286. package/dist/standalone/directives/ion-picker-column-option.d.ts +2 -1
  287. package/dist/standalone/directives/ion-picker-column-option.js +6 -5
  288. package/dist/standalone/directives/ion-picker-column-option.js.map +1 -1
  289. package/dist/standalone/directives/ion-picker-column.d.ts +2 -1
  290. package/dist/standalone/directives/ion-picker-column.js +6 -5
  291. package/dist/standalone/directives/ion-picker-column.js.map +1 -1
  292. package/dist/standalone/directives/ion-picker.d.ts +1 -1
  293. package/dist/standalone/directives/ion-picker.js +5 -5
  294. package/dist/standalone/directives/ion-picker.js.map +1 -1
  295. package/dist/standalone/directives/ion-progress-bar.d.ts +2 -1
  296. package/dist/standalone/directives/ion-progress-bar.js +6 -5
  297. package/dist/standalone/directives/ion-progress-bar.js.map +1 -1
  298. package/dist/standalone/directives/ion-radio.d.ts +2 -1
  299. package/dist/standalone/directives/ion-radio.js +6 -5
  300. package/dist/standalone/directives/ion-radio.js.map +1 -1
  301. package/dist/standalone/directives/ion-refresher-content.d.ts +1 -1
  302. package/dist/standalone/directives/ion-refresher-content.js +5 -5
  303. package/dist/standalone/directives/ion-refresher-content.js.map +1 -1
  304. package/dist/standalone/directives/ion-refresher.d.ts +2 -1
  305. package/dist/standalone/directives/ion-refresher.js +6 -5
  306. package/dist/standalone/directives/ion-refresher.js.map +1 -1
  307. package/dist/standalone/directives/ion-reorder-group.d.ts +2 -1
  308. package/dist/standalone/directives/ion-reorder-group.js +6 -5
  309. package/dist/standalone/directives/ion-reorder-group.js.map +1 -1
  310. package/dist/standalone/directives/ion-reorder.d.ts +1 -1
  311. package/dist/standalone/directives/ion-reorder.js +6 -5
  312. package/dist/standalone/directives/ion-reorder.js.map +1 -1
  313. package/dist/standalone/directives/ion-ripple-effect.d.ts +1 -1
  314. package/dist/standalone/directives/ion-ripple-effect.js +5 -5
  315. package/dist/standalone/directives/ion-ripple-effect.js.map +1 -1
  316. package/dist/standalone/directives/ion-row.d.ts +1 -1
  317. package/dist/standalone/directives/ion-row.js +6 -5
  318. package/dist/standalone/directives/ion-row.js.map +1 -1
  319. package/dist/standalone/directives/ion-segment-button.d.ts +2 -1
  320. package/dist/standalone/directives/ion-segment-button.js +6 -5
  321. package/dist/standalone/directives/ion-segment-button.js.map +1 -1
  322. package/dist/standalone/directives/ion-segment-content.js +3 -3
  323. package/dist/standalone/directives/ion-segment-view.d.ts +2 -0
  324. package/dist/standalone/directives/ion-segment-view.js +5 -4
  325. package/dist/standalone/directives/ion-segment-view.js.map +1 -1
  326. package/dist/standalone/directives/ion-select-modal.d.ts +3 -1
  327. package/dist/standalone/directives/ion-select-modal.js +6 -5
  328. package/dist/standalone/directives/ion-select-modal.js.map +1 -1
  329. package/dist/standalone/directives/ion-select-option.d.ts +2 -1
  330. package/dist/standalone/directives/ion-select-option.js +6 -5
  331. package/dist/standalone/directives/ion-select-option.js.map +1 -1
  332. package/dist/standalone/directives/ion-skeleton-text.d.ts +2 -1
  333. package/dist/standalone/directives/ion-skeleton-text.js +6 -5
  334. package/dist/standalone/directives/ion-skeleton-text.js.map +1 -1
  335. package/dist/standalone/directives/ion-spinner.d.ts +2 -1
  336. package/dist/standalone/directives/ion-spinner.js +6 -5
  337. package/dist/standalone/directives/ion-spinner.js.map +1 -1
  338. package/dist/standalone/directives/ion-split-pane.d.ts +2 -1
  339. package/dist/standalone/directives/ion-split-pane.js +6 -5
  340. package/dist/standalone/directives/ion-split-pane.js.map +1 -1
  341. package/dist/standalone/directives/ion-tab-bar.d.ts +2 -1
  342. package/dist/standalone/directives/ion-tab-bar.js +6 -5
  343. package/dist/standalone/directives/ion-tab-bar.js.map +1 -1
  344. package/dist/standalone/directives/ion-tab-button.d.ts +3 -1
  345. package/dist/standalone/directives/ion-tab-button.js +6 -5
  346. package/dist/standalone/directives/ion-tab-button.js.map +1 -1
  347. package/dist/standalone/directives/ion-tab.d.ts +1 -1
  348. package/dist/standalone/directives/ion-tab.js +5 -5
  349. package/dist/standalone/directives/ion-tab.js.map +1 -1
  350. package/dist/standalone/directives/ion-text.d.ts +1 -1
  351. package/dist/standalone/directives/ion-text.js +5 -5
  352. package/dist/standalone/directives/ion-text.js.map +1 -1
  353. package/dist/standalone/directives/ion-thumbnail.d.ts +1 -1
  354. package/dist/standalone/directives/ion-thumbnail.js +6 -5
  355. package/dist/standalone/directives/ion-thumbnail.js.map +1 -1
  356. package/dist/standalone/directives/ion-title.d.ts +1 -1
  357. package/dist/standalone/directives/ion-title.js +5 -5
  358. package/dist/standalone/directives/ion-title.js.map +1 -1
  359. package/dist/standalone/directives/ion-toast.d.ts +5 -1
  360. package/dist/standalone/directives/ion-toast.js +6 -5
  361. package/dist/standalone/directives/ion-toast.js.map +1 -1
  362. package/dist/standalone/directives/ion-toolbar.d.ts +1 -1
  363. package/dist/standalone/directives/ion-toolbar.js +5 -5
  364. package/dist/standalone/directives/ion-toolbar.js.map +1 -1
  365. package/dist/standalone/directives/proxies.d.ts +3 -0
  366. package/dist/standalone/directives/proxies.js +3 -0
  367. package/dist/standalone/directives/proxies.js.map +1 -1
  368. package/dist/standalone/directives/radio-group.d.ts +1 -0
  369. package/dist/standalone/directives/radio-group.js +15 -6
  370. package/dist/standalone/directives/radio-group.js.map +1 -1
  371. package/dist/standalone/directives/range.d.ts +5 -0
  372. package/dist/standalone/directives/range.js +12 -10
  373. package/dist/standalone/directives/range.js.map +1 -1
  374. package/dist/standalone/directives/searchbar.d.ts +4 -0
  375. package/dist/standalone/directives/searchbar.js +11 -9
  376. package/dist/standalone/directives/searchbar.js.map +1 -1
  377. package/dist/standalone/directives/segment.d.ts +4 -0
  378. package/dist/standalone/directives/segment.js +16 -6
  379. package/dist/standalone/directives/segment.js.map +1 -1
  380. package/dist/standalone/directives/select.d.ts +5 -1
  381. package/dist/standalone/directives/select.js +11 -7
  382. package/dist/standalone/directives/select.js.map +1 -1
  383. package/dist/standalone/directives/textarea.d.ts +8 -0
  384. package/dist/standalone/directives/textarea.js +15 -13
  385. package/dist/standalone/directives/textarea.js.map +1 -1
  386. package/dist/standalone/directives/toggle.d.ts +5 -1
  387. package/dist/standalone/directives/toggle.js +11 -8
  388. package/dist/standalone/directives/toggle.js.map +1 -1
  389. package/dist/standalone/navigation/back-button.js +3 -3
  390. package/dist/standalone/navigation/nav.js +3 -3
  391. package/dist/standalone/navigation/router-link-delegate.js +6 -6
  392. package/dist/standalone/navigation/router-outlet.js +3 -3
  393. package/dist/standalone/navigation/tabs.js +3 -3
  394. package/dist/standalone/overlays/modal.js +3 -3
  395. package/dist/standalone/overlays/popover.js +3 -3
  396. package/dist/standalone/providers/action-sheet-controller.d.ts +1 -1
  397. package/dist/standalone/providers/action-sheet-controller.js +3 -3
  398. package/dist/standalone/providers/alert-controller.d.ts +1 -1
  399. package/dist/standalone/providers/alert-controller.js +3 -3
  400. package/dist/standalone/providers/animation-controller.d.ts +1 -1
  401. package/dist/standalone/providers/animation-controller.js +3 -3
  402. package/dist/standalone/providers/gesture-controller.d.ts +1 -1
  403. package/dist/standalone/providers/gesture-controller.js +3 -3
  404. package/dist/standalone/providers/loading-controller.d.ts +1 -1
  405. package/dist/standalone/providers/loading-controller.js +3 -3
  406. package/dist/standalone/providers/menu-controller.d.ts +1 -1
  407. package/dist/standalone/providers/menu-controller.js +3 -3
  408. package/dist/standalone/providers/modal-controller.d.ts +1 -1
  409. package/dist/standalone/providers/modal-controller.js +3 -3
  410. package/dist/standalone/providers/toast-controller.d.ts +1 -1
  411. package/dist/standalone/providers/toast-controller.js +3 -3
  412. package/package.json +5 -2
@@ -1,8 +1,9 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { ChangeDetectionStrategy, Component, HostListener, forwardRef, } from '@angular/core';
3
3
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
4
- import { ValueAccessor } from '@ionic/angular/common';
4
+ import { inputNames, ValueAccessor } from '@ionic/angular/common';
5
5
  import { defineCustomElement } from '@ionic/core/components/ion-datetime.js';
6
+ import { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';
6
7
  import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
7
8
  import * as i0 from "@angular/core";
8
9
  const DATETIME_INPUTS = [
@@ -10,8 +11,9 @@ const DATETIME_INPUTS = [
10
11
  'clearText',
11
12
  'color',
12
13
  'dayValues',
13
- 'disabled',
14
+ { name: 'disabled', transform: nullableBooleanAttribute },
14
15
  'doneText',
16
+ 'endDateLabel',
15
17
  'firstDayOfWeek',
16
18
  'formatOptions',
17
19
  'highlightedDates',
@@ -24,21 +26,24 @@ const DATETIME_INPUTS = [
24
26
  'minuteValues',
25
27
  'mode',
26
28
  'monthValues',
27
- 'multiple',
29
+ { name: 'multiple', transform: nullableBooleanAttribute },
28
30
  'name',
29
- 'preferWheel',
31
+ { name: 'preferWheel', transform: nullableBooleanAttribute },
30
32
  'presentation',
31
- 'readonly',
32
- 'showAdjacentDays',
33
- 'showClearButton',
34
- 'showDefaultButtons',
35
- 'showDefaultTimeLabel',
36
- 'showDefaultTitle',
33
+ { name: 'readonly', transform: nullableBooleanAttribute },
34
+ 'selectionMode',
35
+ { name: 'showAdjacentDays', transform: nullableBooleanAttribute },
36
+ { name: 'showClearButton', transform: nullableBooleanAttribute },
37
+ { name: 'showDefaultButtons', transform: nullableBooleanAttribute },
38
+ { name: 'showDefaultTimeLabel', transform: nullableBooleanAttribute },
39
+ { name: 'showDefaultTitle', transform: nullableBooleanAttribute },
37
40
  'size',
41
+ 'startDateLabel',
38
42
  'titleSelectedDatesFormatter',
39
43
  'value',
40
44
  'yearValues',
41
45
  ];
46
+ const DATETIME_PROXY_INPUTS = inputNames(DATETIME_INPUTS);
42
47
  let IonDatetime = class IonDatetime extends ValueAccessor {
43
48
  z;
44
49
  el;
@@ -52,8 +57,8 @@ let IonDatetime = class IonDatetime extends ValueAccessor {
52
57
  handleIonChange(el) {
53
58
  this.handleValueChange(el, el.value);
54
59
  }
55
- /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonDatetime, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
56
- /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonDatetime, isStandalone: true, selector: "ion-datetime", inputs: { cancelText: "cancelText", clearText: "clearText", color: "color", dayValues: "dayValues", disabled: "disabled", doneText: "doneText", firstDayOfWeek: "firstDayOfWeek", formatOptions: "formatOptions", highlightedDates: "highlightedDates", hourCycle: "hourCycle", hourValues: "hourValues", isDateEnabled: "isDateEnabled", locale: "locale", max: "max", min: "min", minuteValues: "minuteValues", mode: "mode", monthValues: "monthValues", multiple: "multiple", name: "name", preferWheel: "preferWheel", presentation: "presentation", readonly: "readonly", showAdjacentDays: "showAdjacentDays", showClearButton: "showClearButton", showDefaultButtons: "showDefaultButtons", showDefaultTimeLabel: "showDefaultTimeLabel", showDefaultTitle: "showDefaultTitle", size: "size", titleSelectedDatesFormatter: "titleSelectedDatesFormatter", value: "value", yearValues: "yearValues" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
60
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonDatetime, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
61
+ /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.3", type: IonDatetime, isStandalone: true, selector: "ion-datetime", inputs: { cancelText: "cancelText", clearText: "clearText", color: "color", dayValues: "dayValues", disabled: ["disabled", "disabled", nullableBooleanAttribute], doneText: "doneText", endDateLabel: "endDateLabel", firstDayOfWeek: "firstDayOfWeek", formatOptions: "formatOptions", highlightedDates: "highlightedDates", hourCycle: "hourCycle", hourValues: "hourValues", isDateEnabled: "isDateEnabled", locale: "locale", max: "max", min: "min", minuteValues: "minuteValues", mode: "mode", monthValues: "monthValues", multiple: ["multiple", "multiple", nullableBooleanAttribute], name: "name", preferWheel: ["preferWheel", "preferWheel", nullableBooleanAttribute], presentation: "presentation", readonly: ["readonly", "readonly", nullableBooleanAttribute], selectionMode: "selectionMode", showAdjacentDays: ["showAdjacentDays", "showAdjacentDays", nullableBooleanAttribute], showClearButton: ["showClearButton", "showClearButton", nullableBooleanAttribute], showDefaultButtons: ["showDefaultButtons", "showDefaultButtons", nullableBooleanAttribute], showDefaultTimeLabel: ["showDefaultTimeLabel", "showDefaultTimeLabel", nullableBooleanAttribute], showDefaultTitle: ["showDefaultTitle", "showDefaultTitle", nullableBooleanAttribute], size: "size", startDateLabel: "startDateLabel", titleSelectedDatesFormatter: "titleSelectedDatesFormatter", value: "value", yearValues: "yearValues" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
57
62
  {
58
63
  provide: NG_VALUE_ACCESSOR,
59
64
  useExisting: forwardRef((() => IonDatetime)),
@@ -64,12 +69,12 @@ let IonDatetime = class IonDatetime extends ValueAccessor {
64
69
  IonDatetime = __decorate([
65
70
  ProxyCmp({
66
71
  defineCustomElementFn: defineCustomElement,
67
- inputs: DATETIME_INPUTS,
72
+ inputs: DATETIME_PROXY_INPUTS,
68
73
  methods: ['confirm', 'reset', 'cancel'],
69
74
  })
70
75
  ], IonDatetime);
71
76
  export { IonDatetime };
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonDatetime, decorators: [{
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonDatetime, decorators: [{
73
78
  type: Component,
74
79
  args: [{
75
80
  selector: 'ion-datetime',
@@ -1 +1 @@
1
- {"version":3,"file":"datetime.js","sourceRoot":"","sources":["../../../src/standalone/directives/datetime.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EAEvB,SAAS,EAGT,YAAY,EAGZ,UAAU,GACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAE7E,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,eAAe,GAAG;IACtB,YAAY;IACZ,WAAW;IACX,OAAO;IACP,WAAW;IACX,UAAU;IACV,UAAU;IACV,gBAAgB;IAChB,eAAe;IACf,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,eAAe;IACf,QAAQ;IACR,KAAK;IACL,KAAK;IACL,cAAc;IACd,MAAM;IACN,aAAa;IACb,UAAU;IACV,MAAM;IACN,aAAa;IACb,cAAc;IACd,UAAU;IACV,kBAAkB;IAClB,iBAAiB;IACjB,oBAAoB;IACpB,sBAAsB;IACtB,kBAAkB;IAClB,MAAM;IACN,6BAA6B;IAC7B,OAAO;IACP,YAAY;CACb,CAAC;AAsBK,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,aAAa;IAEe;IADjD,EAAE,CAAc;IAC1B,YAAY,CAAoB,EAAE,CAAa,EAAY,CAAS,EAAE,QAAkB;QACtF,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QADsC,MAAC,GAAD,CAAC,CAAQ;QAElE,CAAC,CAAC,MAAM,EAAE,CAAC;QACX,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,aAAa,CAAC;QAC1B,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC;IACjF,CAAC;IAGD,eAAe,CAAC,EAA0B;QACxC,IAAI,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;0HAZU,WAAW;8GAAX,WAAW,i/BATX;YACT;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,CAAC,WAAW,EAAC;gBAC1C,KAAK,EAAE,IAAI;aACZ;SACF,iDATS,2BAA2B;;AAY1B,WAAW;IApBvB,QAAQ,CAAC;QACR,qBAAqB,EAAE,mBAAmB;QAC1C,MAAM,EAAE,eAAe;QACvB,OAAO,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC;KACxC,CAAC;GAgBW,WAAW,CAavB;;2FAbY,WAAW;kBAfvB,SAAS;mBAAC;oBACT,QAAQ,EAAE,cAAc;oBACxB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,eAAe;oBACvB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,YAAY,EAAC;4BAC1C,KAAK,EAAE,IAAI;yBACZ;qBACF;oBACD,UAAU,EAAE,IAAI;iBACjB;;sBAUE,YAAY;uBAAC,WAAW,EAAE,CAAC,eAAe,CAAC","sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostListener,\n Injector,\n NgZone,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ValueAccessor } from '@ionic/angular/common';\nimport type { DatetimeChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-datetime.js';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst DATETIME_INPUTS = [\n 'cancelText',\n 'clearText',\n 'color',\n 'dayValues',\n 'disabled',\n 'doneText',\n 'firstDayOfWeek',\n 'formatOptions',\n 'highlightedDates',\n 'hourCycle',\n 'hourValues',\n 'isDateEnabled',\n 'locale',\n 'max',\n 'min',\n 'minuteValues',\n 'mode',\n 'monthValues',\n 'multiple',\n 'name',\n 'preferWheel',\n 'presentation',\n 'readonly',\n 'showAdjacentDays',\n 'showClearButton',\n 'showDefaultButtons',\n 'showDefaultTimeLabel',\n 'showDefaultTitle',\n 'size',\n 'titleSelectedDatesFormatter',\n 'value',\n 'yearValues',\n];\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: DATETIME_INPUTS,\n methods: ['confirm', 'reset', 'cancel'],\n})\n@Component({\n selector: 'ion-datetime',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: DATETIME_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonDatetime),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonDatetime extends ValueAccessor {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone, injector: Injector) {\n super(injector, r);\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['ionCancel', 'ionChange', 'ionFocus', 'ionBlur']);\n }\n\n @HostListener('ionChange', ['$event.target'])\n handleIonChange(el: HTMLIonDatetimeElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonDatetime extends Components.IonDatetime {\n /**\n * Emitted when the datetime selection was cancelled.\n */\n ionCancel: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the value (selected date) has changed.\n */\n ionChange: EventEmitter<CustomEvent<DatetimeChangeEventDetail>>;\n /**\n * Emitted when the datetime has focus.\n */\n ionFocus: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the datetime loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<void>>;\n}\n"]}
1
+ {"version":3,"file":"datetime.js","sourceRoot":"","sources":["../../../src/standalone/directives/datetime.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EAEvB,SAAS,EAGT,YAAY,EAGZ,UAAU,GACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAE7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,eAAe,GAAG;IACtB,YAAY;IACZ,WAAW;IACX,OAAO;IACP,WAAW;IACX,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,wBAAwB,EAAE;IACzD,UAAU;IACV,cAAc;IACd,gBAAgB;IAChB,eAAe;IACf,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,eAAe;IACf,QAAQ;IACR,KAAK;IACL,KAAK;IACL,cAAc;IACd,MAAM;IACN,aAAa;IACb,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,wBAAwB,EAAE;IACzD,MAAM;IACN,EAAE,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,wBAAwB,EAAE;IAC5D,cAAc;IACd,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,wBAAwB,EAAE;IACzD,eAAe;IACf,EAAE,IAAI,EAAE,kBAAk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,CAAC,WAAW,EAAC;gBAC1C,KAAK,EAAE,IAAI;aACZ;SACF,iDATS,2BAA2B;;AAY1B,WAAW;IApBvB,QAAQ,CAAC;QACR,qBAAqB,EAAE,mBAAmB;QAC1C,MAAM,EAAE,qBAAqB;QAC7B,OAAO,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC;KACxC,CAAC;GAgBW,WAAW,CAavB;;2FAbY,WAAW;kBAfvB,SAAS;mBAAC;oBACT,QAAQ,EAAE,cAAc;oBACxB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,eAAe;oBACvB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,YAAY,EAAC;4BAC1C,KAAK,EAAE,IAAI;yBACZ;qBACF;oBACD,UAAU,EAAE,IAAI;iBACjB;;sBAUE,YAAY;uBAAC,WAAW,EAAE,CAAC,eAAe,CAAC","sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostListener,\n Injector,\n NgZone,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { inputNames, ValueAccessor } from '@ionic/angular/common';\nimport type { DatetimeChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-datetime.js';\n\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst DATETIME_INPUTS = [\n 'cancelText',\n 'clearText',\n 'color',\n 'dayValues',\n { name: 'disabled', transform: nullableBooleanAttribute },\n 'doneText',\n 'endDateLabel',\n 'firstDayOfWeek',\n 'formatOptions',\n 'highlightedDates',\n 'hourCycle',\n 'hourValues',\n 'isDateEnabled',\n 'locale',\n 'max',\n 'min',\n 'minuteValues',\n 'mode',\n 'monthValues',\n { name: 'multiple', transform: nullableBooleanAttribute },\n 'name',\n { name: 'preferWheel', transform: nullableBooleanAttribute },\n 'presentation',\n { name: 'readonly', transform: nullableBooleanAttribute },\n 'selectionMode',\n { name: 'showAdjacentDays', transform: nullableBooleanAttribute },\n { name: 'showClearButton', transform: nullableBooleanAttribute },\n { name: 'showDefaultButtons', transform: nullableBooleanAttribute },\n { name: 'showDefaultTimeLabel', transform: nullableBooleanAttribute },\n { name: 'showDefaultTitle', transform: nullableBooleanAttribute },\n 'size',\n 'startDateLabel',\n 'titleSelectedDatesFormatter',\n 'value',\n 'yearValues',\n];\n\nconst DATETIME_PROXY_INPUTS = inputNames(DATETIME_INPUTS);\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: DATETIME_PROXY_INPUTS,\n methods: ['confirm', 'reset', 'cancel'],\n})\n@Component({\n selector: 'ion-datetime',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: DATETIME_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonDatetime),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonDatetime extends ValueAccessor {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone, injector: Injector) {\n super(injector, r);\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['ionCancel', 'ionChange', 'ionFocus', 'ionBlur']);\n }\n\n @HostListener('ionChange', ['$event.target'])\n handleIonChange(el: HTMLIonDatetimeElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonDatetime extends Components.IonDatetime {\n /**\n * Emitted when the datetime selection was cancelled.\n */\n ionCancel: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the value (selected date) has changed.\n */\n ionChange: EventEmitter<CustomEvent<DatetimeChangeEventDetail>>;\n /**\n * Emitted when the datetime has focus.\n */\n ionFocus: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the datetime loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<void>>;\n}\n"]}
@@ -6,4 +6,7 @@ export declare class IonIcon {
6
6
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<IonIcon, never>;
8
8
  static ɵcmp: i0.ɵɵComponentDeclaration<IonIcon, "ion-icon", never, { "color": { "alias": "color"; "required": false; }; "flipRtl": { "alias": "flipRtl"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "ios": { "alias": "ios"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "md": { "alias": "md"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "sanitize": { "alias": "sanitize"; "required": false; }; "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, {}, never, ["*"], true, never>;
9
+ static ngAcceptInputType_flipRtl: boolean | string | null | undefined;
10
+ static ngAcceptInputType_lazy: boolean | string | null | undefined;
11
+ static ngAcceptInputType_sanitize: boolean | string | null | undefined;
9
12
  }
@@ -1,8 +1,24 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { ChangeDetectionStrategy, Component } from '@angular/core';
3
3
  import { defineCustomElement as defineIonIcon } from 'ionicons/components/ion-icon.js';
4
+ import { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';
4
5
  import { ProxyCmp } from './angular-component-lib/utils';
5
6
  import * as i0 from "@angular/core";
7
+ const ICON_INPUTS = [
8
+ 'color',
9
+ { name: 'flipRtl', transform: nullableBooleanAttribute },
10
+ 'icon',
11
+ 'ios',
12
+ { name: 'lazy', transform: nullableBooleanAttribute },
13
+ 'md',
14
+ 'mode',
15
+ 'name',
16
+ { name: 'sanitize', transform: nullableBooleanAttribute },
17
+ 'size',
18
+ 'src',
19
+ ];
20
+ /* ProxyCmp only needs the names, and runs at runtime rather than through the Angular compiler. */
21
+ const ICON_PROXY_INPUTS = ICON_INPUTS.map((input) => (typeof input === 'string' ? input : input.name));
6
22
  let IonIcon = class IonIcon {
7
23
  z;
8
24
  el;
@@ -11,24 +27,24 @@ let IonIcon = class IonIcon {
11
27
  c.detach();
12
28
  this.el = r.nativeElement;
13
29
  }
14
- /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
15
- /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonIcon, isStandalone: true, selector: "ion-icon", inputs: { color: "color", flipRtl: "flipRtl", icon: "icon", ios: "ios", lazy: "lazy", md: "md", mode: "mode", name: "name", sanitize: "sanitize", size: "size", src: "src" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
30
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
31
+ /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.3", type: IonIcon, isStandalone: true, selector: "ion-icon", inputs: { color: "color", flipRtl: ["flipRtl", "flipRtl", nullableBooleanAttribute], icon: "icon", ios: "ios", lazy: ["lazy", "lazy", nullableBooleanAttribute], md: "md", mode: "mode", name: "name", sanitize: ["sanitize", "sanitize", nullableBooleanAttribute], size: "size", src: "src" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
16
32
  };
17
33
  IonIcon = __decorate([
18
34
  ProxyCmp({
19
35
  defineCustomElementFn: defineIonIcon,
20
- inputs: ['color', 'flipRtl', 'icon', 'ios', 'lazy', 'md', 'mode', 'name', 'sanitize', 'size', 'src'],
36
+ inputs: ICON_PROXY_INPUTS,
21
37
  })
22
38
  ], IonIcon);
23
39
  export { IonIcon };
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonIcon, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonIcon, decorators: [{
25
41
  type: Component,
26
42
  args: [{
27
43
  selector: 'ion-icon',
28
44
  changeDetection: ChangeDetectionStrategy.OnPush,
29
45
  template: '<ng-content></ng-content>',
30
46
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
31
- inputs: ['color', 'flipRtl', 'icon', 'ios', 'lazy', 'md', 'mode', 'name', 'sanitize', 'size', 'src'],
47
+ inputs: ICON_INPUTS,
32
48
  standalone: true,
33
49
  }]
34
50
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -1 +1 @@
1
- {"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../src/standalone/directives/icon.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,uBAAuB,EAAqB,SAAS,EAAsB,MAAM,eAAe,CAAC;AAC1G,OAAO,EAAE,mBAAmB,IAAI,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEvF,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;;AAclD,IAAM,OAAO,GAAb,MAAM,OAAO;IAEyC;IADjD,EAAE,CAAc;IAC1B,YAAY,CAAoB,EAAE,CAAa,EAAY,CAAS;QAAT,MAAC,GAAD,CAAC,CAAQ;QAClE,CAAC,CAAC,MAAM,EAAE,CAAC;QACX,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,aAAa,CAAC;IAC5B,CAAC;0HALU,OAAO;8GAAP,OAAO,kPALR,2BAA2B;;AAK1B,OAAO;IAZnB,QAAQ,CAAC;QACR,qBAAqB,EAAE,aAAa;QACpC,MAAM,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,CAAC;KACrG,CAAC;GASW,OAAO,CAMnB;;2FANY,OAAO;kBARnB,SAAS;mBAAC;oBACT,QAAQ,EAAE,UAAU;oBACpB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,CAAC;oBACpG,UAAU,EAAE,IAAI;iBACjB","sourcesContent":["import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, NgZone } from '@angular/core';\nimport { defineCustomElement as defineIonIcon } from 'ionicons/components/ion-icon.js';\n\nimport { ProxyCmp } from './angular-component-lib/utils';\n\n@ProxyCmp({\n defineCustomElementFn: defineIonIcon,\n inputs: ['color', 'flipRtl', 'icon', 'ios', 'lazy', 'md', 'mode', 'name', 'sanitize', 'size', 'src'],\n})\n@Component({\n selector: 'ion-icon',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['color', 'flipRtl', 'icon', 'ios', 'lazy', 'md', 'mode', 'name', 'sanitize', 'size', 'src'],\n standalone: true,\n})\nexport class IonIcon {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n"]}
1
+ {"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../src/standalone/directives/icon.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AO;kBARnB,SAAS;mBAAC;oBACT,QAAQ,EAAE,UAAU;oBACpB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,WAAW;oBACnB,UAAU,EAAE,IAAI;iBACjB","sourcesContent":["import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, NgZone } from '@angular/core';\nimport { defineCustomElement as defineIonIcon } from 'ionicons/components/ion-icon.js';\n\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\nimport { ProxyCmp } from './angular-component-lib/utils';\n\nconst ICON_INPUTS = [\n 'color',\n { name: 'flipRtl', transform: nullableBooleanAttribute },\n 'icon',\n 'ios',\n { name: 'lazy', transform: nullableBooleanAttribute },\n 'md',\n 'mode',\n 'name',\n { name: 'sanitize', transform: nullableBooleanAttribute },\n 'size',\n 'src',\n];\n\n/* ProxyCmp only needs the names, and runs at runtime rather than through the Angular compiler. */\nconst ICON_PROXY_INPUTS = ICON_INPUTS.map((input) => (typeof input === 'string' ? input : input.name));\n\n@ProxyCmp({\n defineCustomElementFn: defineIonIcon,\n inputs: ICON_PROXY_INPUTS,\n})\n@Component({\n selector: 'ion-icon',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ICON_INPUTS,\n standalone: true,\n})\nexport class IonIcon {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n"]}
@@ -10,6 +10,8 @@ export declare class IonInputOtp extends ValueAccessor {
10
10
  registerOnChange(fn: (_: any) => void): void;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<IonInputOtp, never>;
12
12
  static ɵcmp: i0.ɵɵComponentDeclaration<IonInputOtp, "ion-input-otp", never, { "autocapitalize": { "alias": "autocapitalize"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "inputmode": { "alias": "inputmode"; "required": false; }; "length": { "alias": "length"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "separators": { "alias": "separators"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
13
+ static ngAcceptInputType_disabled: boolean | string | null | undefined;
14
+ static ngAcceptInputType_readonly: boolean | string | null | undefined;
13
15
  }
14
16
  export declare interface IonInputOtp extends Components.IonInputOtp {
15
17
  /**
@@ -1,25 +1,27 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { ChangeDetectionStrategy, Component, HostListener, forwardRef, } from '@angular/core';
3
3
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
4
- import { ValueAccessor } from '@ionic/angular/common';
4
+ import { inputNames, ValueAccessor } from '@ionic/angular/common';
5
5
  import { defineCustomElement } from '@ionic/core/components/ion-input-otp.js';
6
+ import { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';
6
7
  import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
7
8
  import * as i0 from "@angular/core";
8
9
  const INPUT_OTP_INPUTS = [
9
10
  'autocapitalize',
10
11
  'color',
11
- 'disabled',
12
+ { name: 'disabled', transform: nullableBooleanAttribute },
12
13
  'fill',
13
14
  'inputmode',
14
15
  'length',
15
16
  'pattern',
16
- 'readonly',
17
+ { name: 'readonly', transform: nullableBooleanAttribute },
17
18
  'separators',
18
19
  'shape',
19
20
  'size',
20
21
  'type',
21
22
  'value',
22
23
  ];
24
+ const INPUT_OTP_PROXY_INPUTS = inputNames(INPUT_OTP_INPUTS);
23
25
  let IonInputOtp = class IonInputOtp extends ValueAccessor {
24
26
  z;
25
27
  el;
@@ -48,8 +50,8 @@ let IonInputOtp = class IonInputOtp extends ValueAccessor {
48
50
  }
49
51
  });
50
52
  }
51
- /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonInputOtp, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
52
- /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonInputOtp, isStandalone: true, selector: "ion-input-otp", inputs: { autocapitalize: "autocapitalize", color: "color", disabled: "disabled", fill: "fill", inputmode: "inputmode", length: "length", pattern: "pattern", readonly: "readonly", separators: "separators", shape: "shape", size: "size", type: "type", value: "value" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
53
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonInputOtp, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
54
+ /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.3", type: IonInputOtp, isStandalone: true, selector: "ion-input-otp", inputs: { autocapitalize: "autocapitalize", color: "color", disabled: ["disabled", "disabled", nullableBooleanAttribute], fill: "fill", inputmode: "inputmode", length: "length", pattern: "pattern", readonly: ["readonly", "readonly", nullableBooleanAttribute], separators: "separators", shape: "shape", size: "size", type: "type", value: "value" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
53
55
  {
54
56
  provide: NG_VALUE_ACCESSOR,
55
57
  useExisting: forwardRef((() => IonInputOtp)),
@@ -60,12 +62,12 @@ let IonInputOtp = class IonInputOtp extends ValueAccessor {
60
62
  IonInputOtp = __decorate([
61
63
  ProxyCmp({
62
64
  defineCustomElementFn: defineCustomElement,
63
- inputs: INPUT_OTP_INPUTS,
65
+ inputs: INPUT_OTP_PROXY_INPUTS,
64
66
  methods: ['setFocus'],
65
67
  })
66
68
  ], IonInputOtp);
67
69
  export { IonInputOtp };
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonInputOtp, decorators: [{
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonInputOtp, decorators: [{
69
71
  type: Component,
70
72
  args: [{
71
73
  selector: 'ion-input-otp',
@@ -1 +1 @@
1
- {"version":3,"file":"input-otp.js","sourceRoot":"","sources":["../../../src/standalone/directives/input-otp.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EAEvB,SAAS,EAGT,YAAY,EAGZ,UAAU,GACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAOtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,gBAAgB,GAAG;IACvB,gBAAgB;IAChB,OAAO;IACP,UAAU;IACV,MAAM;IACN,WAAW;IACX,QAAQ;IACR,SAAS;IACT,UAAU;IACV,YAAY;IACZ,OAAO;IACP,MAAM;IACN,MAAM;IACN,OAAO;CACR,CAAC;AAsBK,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,aAAa;IAEe;IADjD,EAAE,CAAc;IAC1B,YAAY,CAAoB,EAAE,CAAa,EAAY,CAAS,EAAE,QAAkB;QACtF,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QADsC,MAAC,GAAD,CAAC,CAAQ;QAElE,CAAC,CAAC,MAAM,EAAE,CAAC;QACX,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,aAAa,CAAC;QAC1B,YA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G,EAAE,YAAY,EAAC;4BAC1C,KAAK,EAAE,IAAI;yBACZ;qBACF;oBACD,UAAU,EAAE,IAAI;iBACjB;;sBAUE,YAAY;uBAAC,UAAU,EAAE,CAAC,eAAe,CAAC","sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostListener,\n Injector,\n NgZone,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ValueAccessor } from '@ionic/angular/common';\nimport type {\n InputOtpInputEventDetail as IIonInputOtpInputEventDetail,\n InputOtpChangeEventDetail as IIonInputOtpChangeEventDetail,\n InputOtpCompleteEventDetail as IIonInputOtpCompleteEventDetail,\n Components,\n} from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-input-otp.js';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst INPUT_OTP_INPUTS = [\n 'autocapitalize',\n 'color',\n 'disabled',\n 'fill',\n 'inputmode',\n 'length',\n 'pattern',\n 'readonly',\n 'separators',\n 'shape',\n 'size',\n 'type',\n 'value',\n];\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: INPUT_OTP_INPUTS,\n methods: ['setFocus'],\n})\n@Component({\n selector: 'ion-input-otp',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: INPUT_OTP_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonInputOtp),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonInputOtp extends ValueAccessor {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone, injector: Injector) {\n super(injector, r);\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionComplete', 'ionBlur', 'ionFocus']);\n }\n\n @HostListener('ionInput', ['$event.target'])\n handleIonInput(el: HTMLIonInputOtpElement): void {\n this.handleValueChange(el, el.value);\n }\n\n registerOnChange(fn: (_: any) => void): void {\n super.registerOnChange((value: string) => {\n if (this.type === 'number') {\n /**\n * If the input type is `number`, we need to convert the value to a number\n * when the value is not empty. If the value is empty, we want to treat\n * the value as null.\n */\n fn(value === '' ? null : parseFloat(value));\n } else {\n fn(value);\n }\n });\n }\n}\n\nexport declare interface IonInputOtp extends Components.IonInputOtp {\n /**\n * The `ionInput` event is fired each time the user modifies the input's value.\n * Unlike the `ionChange` event, the `ionInput` event is fired for each alteration\n * to the input's value. This typically happens for each keystroke as the user types.\n *\n * For elements that accept text input (`type=text`, `type=tel`, etc.), the interface\n * is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,\n * the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If\n * the input is cleared on edit, the type is `null`.\n */\n ionInput: EventEmitter<CustomEvent<IIonInputOtpInputEventDetail>>;\n /**\n * The `ionChange` event is fired when the user modifies the input's value.\n * Unlike the `ionInput` event, the `ionChange` event is only fired when changes\n * are committed, not as the user types.\n *\n * The `ionChange` event fires when the `<ion-input-otp>` component loses\n * focus after its value has changed.\n *\n * This event will not emit when programmatically setting the `value` property.\n */\n ionChange: EventEmitter<CustomEvent<IIonInputOtpChangeEventDetail>>;\n /**\n * Emitted when all input boxes have been filled with valid values.\n */\n ionComplete: EventEmitter<CustomEvent<IIonInputOtpCompleteEventDetail>>;\n /**\n * Emitted when the input group loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<FocusEvent>>;\n /**\n * Emitted when the input group has focus.\n */\n ionFocus: EventEmitter<CustomEvent<FocusEvent>>;\n}\n"]}
1
+ {"version":3,"file":"input-otp.js","sourceRoot":"","sources":["../../../src/standalone/directives/input-otp.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EAEvB,SAAS,EAGT,YAAY,EAGZ,UAAU,GACX,MAAM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ector,\n NgZone,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { inputNames, ValueAccessor } from '@ionic/angular/common';\nimport type {\n InputOtpInputEventDetail as IIonInputOtpInputEventDetail,\n InputOtpChangeEventDetail as IIonInputOtpChangeEventDetail,\n InputOtpCompleteEventDetail as IIonInputOtpCompleteEventDetail,\n Components,\n} from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-input-otp.js';\n\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst INPUT_OTP_INPUTS = [\n 'autocapitalize',\n 'color',\n { name: 'disabled', transform: nullableBooleanAttribute },\n 'fill',\n 'inputmode',\n 'length',\n 'pattern',\n { name: 'readonly', transform: nullableBooleanAttribute },\n 'separators',\n 'shape',\n 'size',\n 'type',\n 'value',\n];\n\nconst INPUT_OTP_PROXY_INPUTS = inputNames(INPUT_OTP_INPUTS);\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: INPUT_OTP_PROXY_INPUTS,\n methods: ['setFocus'],\n})\n@Component({\n selector: 'ion-input-otp',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: INPUT_OTP_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonInputOtp),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonInputOtp extends ValueAccessor {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone, injector: Injector) {\n super(injector, r);\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionComplete', 'ionBlur', 'ionFocus']);\n }\n\n @HostListener('ionInput', ['$event.target'])\n handleIonInput(el: HTMLIonInputOtpElement): void {\n this.handleValueChange(el, el.value);\n }\n\n registerOnChange(fn: (_: any) => void): void {\n super.registerOnChange((value: string) => {\n if (this.type === 'number') {\n /**\n * If the input type is `number`, we need to convert the value to a number\n * when the value is not empty. If the value is empty, we want to treat\n * the value as null.\n */\n fn(value === '' ? null : parseFloat(value));\n } else {\n fn(value);\n }\n });\n }\n}\n\nexport declare interface IonInputOtp extends Components.IonInputOtp {\n /**\n * The `ionInput` event is fired each time the user modifies the input's value.\n * Unlike the `ionChange` event, the `ionInput` event is fired for each alteration\n * to the input's value. This typically happens for each keystroke as the user types.\n *\n * For elements that accept text input (`type=text`, `type=tel`, etc.), the interface\n * is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,\n * the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If\n * the input is cleared on edit, the type is `null`.\n */\n ionInput: EventEmitter<CustomEvent<IIonInputOtpInputEventDetail>>;\n /**\n * The `ionChange` event is fired when the user modifies the input's value.\n * Unlike the `ionInput` event, the `ionChange` event is only fired when changes\n * are committed, not as the user types.\n *\n * The `ionChange` event fires when the `<ion-input-otp>` component loses\n * focus after its value has changed.\n *\n * This event will not emit when programmatically setting the `value` property.\n */\n ionChange: EventEmitter<CustomEvent<IIonInputOtpChangeEventDetail>>;\n /**\n * Emitted when all input boxes have been filled with valid values.\n */\n ionComplete: EventEmitter<CustomEvent<IIonInputOtpCompleteEventDetail>>;\n /**\n * Emitted when the input group loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<FocusEvent>>;\n /**\n * Emitted when the input group has focus.\n */\n ionFocus: EventEmitter<CustomEvent<FocusEvent>>;\n}\n"]}
@@ -10,6 +10,16 @@ export declare class IonInput extends ValueAccessor {
10
10
  registerOnChange(fn: (_: any) => void): void;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<IonInput, never>;
12
12
  static ɵcmp: i0.ɵɵComponentDeclaration<IonInput, "ion-input", never, { "accept": { "alias": "accept"; "required": false; }; "autocapitalize": { "alias": "autocapitalize"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "autocorrect": { "alias": "autocorrect"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "clearInput": { "alias": "clearInput"; "required": false; }; "clearOnEdit": { "alias": "clearOnEdit"; "required": false; }; "color": { "alias": "color"; "required": false; }; "counter": { "alias": "counter"; "required": false; }; "counterFormatter": { "alias": "counterFormatter"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "enterkeyhint": { "alias": "enterkeyhint"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "inputmode": { "alias": "inputmode"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "max": { "alias": "max"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "min": { "alias": "min"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "name": { "alias": "name"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "spellcheck": { "alias": "spellcheck"; "required": false; }; "step": { "alias": "step"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
13
+ static ngAcceptInputType_autocorrect: boolean | string | null | undefined;
14
+ static ngAcceptInputType_autofocus: boolean | string | null | undefined;
15
+ static ngAcceptInputType_clearInput: boolean | string | null | undefined;
16
+ static ngAcceptInputType_clearOnEdit: boolean | string | null | undefined;
17
+ static ngAcceptInputType_counter: boolean | string | null | undefined;
18
+ static ngAcceptInputType_disabled: boolean | string | null | undefined;
19
+ static ngAcceptInputType_multiple: boolean | string | null | undefined;
20
+ static ngAcceptInputType_readonly: boolean | string | null | undefined;
21
+ static ngAcceptInputType_required: boolean | string | null | undefined;
22
+ static ngAcceptInputType_spellcheck: boolean | string | null | undefined;
13
23
  }
14
24
  export declare interface IonInput extends Components.IonInput {
15
25
  /**
@@ -1,23 +1,24 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { ChangeDetectionStrategy, Component, HostListener, forwardRef, } from '@angular/core';
3
3
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
4
- import { ValueAccessor } from '@ionic/angular/common';
4
+ import { inputNames, ValueAccessor } from '@ionic/angular/common';
5
5
  import { defineCustomElement } from '@ionic/core/components/ion-input.js';
6
+ import { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';
6
7
  import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
7
8
  import * as i0 from "@angular/core";
8
9
  const INPUT_INPUTS = [
9
10
  'accept',
10
11
  'autocapitalize',
11
12
  'autocomplete',
12
- 'autocorrect',
13
- 'autofocus',
14
- 'clearInput',
15
- 'clearOnEdit',
13
+ { name: 'autocorrect', transform: nullableBooleanAttribute },
14
+ { name: 'autofocus', transform: nullableBooleanAttribute },
15
+ { name: 'clearInput', transform: nullableBooleanAttribute },
16
+ { name: 'clearOnEdit', transform: nullableBooleanAttribute },
16
17
  'color',
17
- 'counter',
18
+ { name: 'counter', transform: nullableBooleanAttribute },
18
19
  'counterFormatter',
19
20
  'debounce',
20
- 'disabled',
21
+ { name: 'disabled', transform: nullableBooleanAttribute },
21
22
  'enterkeyhint',
22
23
  'errorText',
23
24
  'fill',
@@ -30,19 +31,20 @@ const INPUT_INPUTS = [
30
31
  'min',
31
32
  'minlength',
32
33
  'mode',
33
- 'multiple',
34
+ { name: 'multiple', transform: nullableBooleanAttribute },
34
35
  'name',
35
36
  'pattern',
36
37
  'placeholder',
37
- 'readonly',
38
- 'required',
38
+ { name: 'readonly', transform: nullableBooleanAttribute },
39
+ { name: 'required', transform: nullableBooleanAttribute },
39
40
  'shape',
40
41
  'size',
41
- 'spellcheck',
42
+ { name: 'spellcheck', transform: nullableBooleanAttribute },
42
43
  'step',
43
44
  'type',
44
45
  'value',
45
46
  ];
47
+ const INPUT_PROXY_INPUTS = inputNames(INPUT_INPUTS);
46
48
  let IonInput = class IonInput extends ValueAccessor {
47
49
  z;
48
50
  el;
@@ -71,8 +73,8 @@ let IonInput = class IonInput extends ValueAccessor {
71
73
  }
72
74
  });
73
75
  }
74
- /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
75
- /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonInput, isStandalone: true, selector: "ion-input", inputs: { accept: "accept", autocapitalize: "autocapitalize", autocomplete: "autocomplete", autocorrect: "autocorrect", autofocus: "autofocus", clearInput: "clearInput", clearOnEdit: "clearOnEdit", color: "color", counter: "counter", counterFormatter: "counterFormatter", debounce: "debounce", disabled: "disabled", enterkeyhint: "enterkeyhint", errorText: "errorText", fill: "fill", helperText: "helperText", inputmode: "inputmode", label: "label", labelPlacement: "labelPlacement", max: "max", maxlength: "maxlength", min: "min", minlength: "minlength", mode: "mode", multiple: "multiple", name: "name", pattern: "pattern", placeholder: "placeholder", readonly: "readonly", required: "required", shape: "shape", size: "size", spellcheck: "spellcheck", step: "step", type: "type", value: "value" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
76
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
77
+ /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.3", type: IonInput, isStandalone: true, selector: "ion-input", inputs: { accept: "accept", autocapitalize: "autocapitalize", autocomplete: "autocomplete", autocorrect: ["autocorrect", "autocorrect", nullableBooleanAttribute], autofocus: ["autofocus", "autofocus", nullableBooleanAttribute], clearInput: ["clearInput", "clearInput", nullableBooleanAttribute], clearOnEdit: ["clearOnEdit", "clearOnEdit", nullableBooleanAttribute], color: "color", counter: ["counter", "counter", nullableBooleanAttribute], counterFormatter: "counterFormatter", debounce: "debounce", disabled: ["disabled", "disabled", nullableBooleanAttribute], enterkeyhint: "enterkeyhint", errorText: "errorText", fill: "fill", helperText: "helperText", inputmode: "inputmode", label: "label", labelPlacement: "labelPlacement", max: "max", maxlength: "maxlength", min: "min", minlength: "minlength", mode: "mode", multiple: ["multiple", "multiple", nullableBooleanAttribute], name: "name", pattern: "pattern", placeholder: "placeholder", readonly: ["readonly", "readonly", nullableBooleanAttribute], required: ["required", "required", nullableBooleanAttribute], shape: "shape", size: "size", spellcheck: ["spellcheck", "spellcheck", nullableBooleanAttribute], step: "step", type: "type", value: "value" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
76
78
  {
77
79
  provide: NG_VALUE_ACCESSOR,
78
80
  useExisting: forwardRef((() => IonInput)),
@@ -83,12 +85,12 @@ let IonInput = class IonInput extends ValueAccessor {
83
85
  IonInput = __decorate([
84
86
  ProxyCmp({
85
87
  defineCustomElementFn: defineCustomElement,
86
- inputs: INPUT_INPUTS,
88
+ inputs: INPUT_PROXY_INPUTS,
87
89
  methods: ['setFocus', 'getInputElement'],
88
90
  })
89
91
  ], IonInput);
90
92
  export { IonInput };
91
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonInput, decorators: [{
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonInput, decorators: [{
92
94
  type: Component,
93
95
  args: [{
94
96
  selector: 'ion-input',
@@ -1 +1 @@
1
- {"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/standalone/directives/input.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EAEvB,SAAS,EAGT,YAAY,EAGZ,UAAU,GACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAMtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE1E,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,YAAY,GAAG;IACnB,QAAQ;IACR,gBAAgB;IAChB,cAAc;IACd,aAAa;IACb,WAAW;IACX,YAAY;IACZ,aAAa;IACb,OAAO;IACP,SAAS;IACT,kBAAkB;IAClB,UAAU;IACV,UAAU;IACV,cAAc;IACd,WAAW;IACX,MAAM;IACN,YAAY;IACZ,WAAW;IACX,OAAO;IACP,gBAAgB;IAChB,KAAK;IACL,WAAW;IACX,KAAK;IACL,WAAW;IACX,MAAM;IACN,UAAU;IACV,MAAM;IACN,SAAS;IACT,aAAa;IACb,UAAU;IACV,UAAU;IACV,OAAO;IACP,MAAM;IACN,YAAY;IACZ,MAAM;IACN,MAAM;IACN,OAAO;CACR,CAAC;AAsBK,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,aAAa;IAEkB;IADjD,EAAE,CAAc;IAC1B,YAAY,CAAoB,EAAE,CAAa,EAAY,CAAS,EAAE,QAAkB;QACtF,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QADsC,MAAC,GAAD,CAAC,CAAQ;QAElE,CAAC,CAAC,MAAM,EAAE,CAAC;QACX,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,aAAa,CAAC;QAC1B,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAA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BACZ;qBACF;oBACD,UAAU,EAAE,IAAI;iBACjB;;sBAUE,YAAY;uBAAC,UAAU,EAAE,CAAC,eAAe,CAAC","sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostListener,\n Injector,\n NgZone,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ValueAccessor } from '@ionic/angular/common';\nimport type {\n InputInputEventDetail as IIonInputInputInputEventDetail,\n InputChangeEventDetail as IIonInputInputChangeEventDetail,\n Components,\n} from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-input.js';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst INPUT_INPUTS = [\n 'accept',\n 'autocapitalize',\n 'autocomplete',\n 'autocorrect',\n 'autofocus',\n 'clearInput',\n 'clearOnEdit',\n 'color',\n 'counter',\n 'counterFormatter',\n 'debounce',\n 'disabled',\n 'enterkeyhint',\n 'errorText',\n 'fill',\n 'helperText',\n 'inputmode',\n 'label',\n 'labelPlacement',\n 'max',\n 'maxlength',\n 'min',\n 'minlength',\n 'mode',\n 'multiple',\n 'name',\n 'pattern',\n 'placeholder',\n 'readonly',\n 'required',\n 'shape',\n 'size',\n 'spellcheck',\n 'step',\n 'type',\n 'value',\n];\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: INPUT_INPUTS,\n methods: ['setFocus', 'getInputElement'],\n})\n@Component({\n selector: 'ion-input',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: INPUT_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonInput),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonInput extends ValueAccessor {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone, injector: Injector) {\n super(injector, r);\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionBlur', 'ionFocus']);\n }\n\n @HostListener('ionInput', ['$event.target'])\n handleIonInput(el: HTMLIonInputElement): void {\n this.handleValueChange(el, el.value);\n }\n\n registerOnChange(fn: (_: any) => void): void {\n super.registerOnChange((value: string) => {\n if (this.type === 'number') {\n /**\n * If the input type is `number`, we need to convert the value to a number\n * when the value is not empty. If the value is empty, we want to treat\n * the value as null.\n */\n fn(value === '' ? null : parseFloat(value));\n } else {\n fn(value);\n }\n });\n }\n}\n\nexport declare interface IonInput extends Components.IonInput {\n /**\n * The `ionInput` event is fired each time the user modifies the input's value.\nUnlike the `ionChange` event, the `ionInput` event is fired for each alteration\nto the input's value. This typically happens for each keystroke as the user types.\n\nFor elements that accept text input (`type=text`, `type=tel`, etc.), the interface\nis [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,\nthe interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If\nthe input is cleared on edit, the type is `null`.\n */\n ionInput: EventEmitter<CustomEvent<IIonInputInputInputEventDetail>>;\n /**\n * The `ionChange` event is fired when the user modifies the input's value.\nUnlike the `ionInput` event, the `ionChange` event is only fired when changes\nare committed, not as the user types.\n\nDepending on the way the users interacts with the element, the `ionChange`\nevent fires at a different moment:\n- When the user commits the change explicitly (e.g. by selecting a date\nfrom a date picker for `<ion-input type=\"date\">`, pressing the \"Enter\" key, etc.).\n- When the element loses focus after its value has changed: for elements\nwhere the user's interaction is typing.\n */\n ionChange: EventEmitter<CustomEvent<IIonInputInputChangeEventDetail>>;\n /**\n * Emitted when the input loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<FocusEvent>>;\n /**\n * Emitted when the input has focus.\n */\n ionFocus: EventEmitter<CustomEvent<FocusEvent>>;\n}\n"]}
1
+ {"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/standalone/directives/input.ts"],"names":[],"mapp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xB,wBAAwB,oGAIxB,wBAAwB,sCACxB,wBAAwB,0EAGtB,wBAAwB,kIAmB9C;YACT;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,CAAC,QAAQ,EAAC;gBACvC,KAAK,EAAE,IAAI;aACZ;SACF,iDATS,2BAA2B;;AAY1B,QAAQ;IApBpB,QAAQ,CAAC;QACR,qBAAqB,EAAE,mBAAmB;QAC1C,MAAM,EAAE,kBAAkB;QAC1B,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC;KACzC,CAAC;GAgBW,QAAQ,CA4BpB;;2FA5BY,QAAQ;kBAfpB,SAAS;mBAAC;oBACT,QAAQ,EAAE,WAAW;oBACrB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,YAAY;oBACpB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,SAAS,EAAC;4BACvC,KAAK,EAAE,IAAI;yBACZ;qBACF;oBACD,UAAU,EAAE,IAAI;iBACjB;;sBAUE,YAAY;uBAAC,UAAU,EAAE,CAAC,eAAe,CAAC","sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostListener,\n Injector,\n NgZone,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { inputNames, ValueAccessor } from '@ionic/angular/common';\nimport type {\n InputInputEventDetail as IIonInputInputInputEventDetail,\n InputChangeEventDetail as IIonInputInputChangeEventDetail,\n Components,\n} from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-input.js';\n\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst INPUT_INPUTS = [\n 'accept',\n 'autocapitalize',\n 'autocomplete',\n { name: 'autocorrect', transform: nullableBooleanAttribute },\n { name: 'autofocus', transform: nullableBooleanAttribute },\n { name: 'clearInput', transform: nullableBooleanAttribute },\n { name: 'clearOnEdit', transform: nullableBooleanAttribute },\n 'color',\n { name: 'counter', transform: nullableBooleanAttribute },\n 'counterFormatter',\n 'debounce',\n { name: 'disabled', transform: nullableBooleanAttribute },\n 'enterkeyhint',\n 'errorText',\n 'fill',\n 'helperText',\n 'inputmode',\n 'label',\n 'labelPlacement',\n 'max',\n 'maxlength',\n 'min',\n 'minlength',\n 'mode',\n { name: 'multiple', transform: nullableBooleanAttribute },\n 'name',\n 'pattern',\n 'placeholder',\n { name: 'readonly', transform: nullableBooleanAttribute },\n { name: 'required', transform: nullableBooleanAttribute },\n 'shape',\n 'size',\n { name: 'spellcheck', transform: nullableBooleanAttribute },\n 'step',\n 'type',\n 'value',\n];\n\nconst INPUT_PROXY_INPUTS = inputNames(INPUT_INPUTS);\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: INPUT_PROXY_INPUTS,\n methods: ['setFocus', 'getInputElement'],\n})\n@Component({\n selector: 'ion-input',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: INPUT_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonInput),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonInput extends ValueAccessor {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone, injector: Injector) {\n super(injector, r);\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionBlur', 'ionFocus']);\n }\n\n @HostListener('ionInput', ['$event.target'])\n handleIonInput(el: HTMLIonInputElement): void {\n this.handleValueChange(el, el.value);\n }\n\n registerOnChange(fn: (_: any) => void): void {\n super.registerOnChange((value: string) => {\n if (this.type === 'number') {\n /**\n * If the input type is `number`, we need to convert the value to a number\n * when the value is not empty. If the value is empty, we want to treat\n * the value as null.\n */\n fn(value === '' ? null : parseFloat(value));\n } else {\n fn(value);\n }\n });\n }\n}\n\nexport declare interface IonInput extends Components.IonInput {\n /**\n * The `ionInput` event is fired each time the user modifies the input's value.\nUnlike the `ionChange` event, the `ionInput` event is fired for each alteration\nto the input's value. This typically happens for each keystroke as the user types.\n\nFor elements that accept text input (`type=text`, `type=tel`, etc.), the interface\nis [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,\nthe interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If\nthe input is cleared on edit, the type is `null`.\n */\n ionInput: EventEmitter<CustomEvent<IIonInputInputInputEventDetail>>;\n /**\n * The `ionChange` event is fired when the user modifies the input's value.\nUnlike the `ionInput` event, the `ionChange` event is only fired when changes\nare committed, not as the user types.\n\nDepending on the way the users interacts with the element, the `ionChange`\nevent fires at a different moment:\n- When the user commits the change explicitly (e.g. by selecting a date\nfrom a date picker for `<ion-input type=\"date\">`, pressing the \"Enter\" key, etc.).\n- When the element loses focus after its value has changed: for elements\nwhere the user's interaction is typing.\n */\n ionChange: EventEmitter<CustomEvent<IIonInputInputChangeEventDetail>>;\n /**\n * Emitted when the input loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<FocusEvent>>;\n /**\n * Emitted when the input has focus.\n */\n ionFocus: EventEmitter<CustomEvent<FocusEvent>>;\n}\n"]}
@@ -9,7 +9,11 @@ export declare class IonAccordionGroup {
9
9
  ionChange: EventEmitter<IonAccordionGroupCustomEvent<IIonAccordionGroupAccordionGroupChangeEventDetail<any>>>;
10
10
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<IonAccordionGroup, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<IonAccordionGroup, "ion-accordion-group", never, { "animated": { "alias": "animated"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "ionChange": "ionChange"; }, never, ["*"], true, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<IonAccordionGroup, "ion-accordion-group", never, { "animated": { "alias": "animated"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "ionChange": "ionChange"; }, never, ["*"], true, never>;
13
+ static ngAcceptInputType_animated: boolean | string | null | undefined;
14
+ static ngAcceptInputType_disabled: boolean | string | null | undefined;
15
+ static ngAcceptInputType_multiple: boolean | string | null | undefined;
16
+ static ngAcceptInputType_readonly: boolean | string | null | undefined;
13
17
  }
14
18
  export declare interface IonAccordionGroup extends Components.IonAccordionGroup {
15
19
  /**
@@ -3,6 +3,7 @@ import { __decorate } from "tslib";
3
3
  /* auto-generated angular directive proxies */
4
4
  import { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core';
5
5
  import { ProxyCmp } from './angular-component-lib/utils';
6
+ import { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';
6
7
  import { defineCustomElement as defineIonAccordionGroup } from '@ionic/core/components/ion-accordion-group.js';
7
8
  import * as i0 from "@angular/core";
8
9
  let IonAccordionGroup = class IonAccordionGroup {
@@ -14,24 +15,24 @@ let IonAccordionGroup = class IonAccordionGroup {
14
15
  c.detach();
15
16
  this.el = r.nativeElement;
16
17
  }
17
- /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonAccordionGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
18
- /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonAccordionGroup, isStandalone: true, selector: "ion-accordion-group", inputs: { animated: "animated", disabled: "disabled", expand: "expand", mode: "mode", multiple: "multiple", readonly: "readonly", value: "value" }, outputs: { ionChange: "ionChange" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
18
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonAccordionGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
19
+ /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.3", type: IonAccordionGroup, isStandalone: true, selector: "ion-accordion-group", inputs: { animated: ["animated", "animated", nullableBooleanAttribute], disabled: ["disabled", "disabled", nullableBooleanAttribute], expand: "expand", mode: "mode", multiple: ["multiple", "multiple", nullableBooleanAttribute], readonly: ["readonly", "readonly", nullableBooleanAttribute], shape: "shape", theme: "theme", value: "value" }, outputs: { ionChange: "ionChange" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
19
20
  };
20
21
  IonAccordionGroup = __decorate([
21
22
  ProxyCmp({
22
23
  defineCustomElementFn: defineIonAccordionGroup,
23
- inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'value']
24
+ inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'shape', 'theme', 'value']
24
25
  })
25
26
  ], IonAccordionGroup);
26
27
  export { IonAccordionGroup };
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonAccordionGroup, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonAccordionGroup, decorators: [{
28
29
  type: Component,
29
30
  args: [{
30
31
  selector: 'ion-accordion-group',
31
32
  changeDetection: ChangeDetectionStrategy.OnPush,
32
33
  template: '<ng-content></ng-content>',
33
34
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
34
- inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'value'],
35
+ inputs: [{ name: 'animated', transform: nullableBooleanAttribute }, { name: 'disabled', transform: nullableBooleanAttribute }, 'expand', 'mode', { name: 'multiple', transform: nullableBooleanAttribute }, { name: 'readonly', transform: nullableBooleanAttribute }, 'shape', 'theme', 'value'],
35
36
  outputs: ['ionChange'],
36
37
  }]
37
38
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { ionChange: [{
@@ -1 +1 @@
1
- {"version":3,"file":"ion-accordion-group.js","sourceRoot":"","sources":["../../../src/standalone/directives/ion-accordion-group.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,8CAA8C;AAC9C,OAAO,EAAE,uBAAuB,EAAqB,SAAS,EAAsB,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEhI,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAIzD,OAAO,EAAE,mBAAmB,IAAI,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;;AAcxG,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAG+B;IAFjD,EAAE,CAA+B;IACjC,SAAS,GAAG,IAAI,YAAY,EAAmF,CAAC;IAC1H,YAAY,CAAoB,EAAE,CAAa,EAAY,CAAS;QAAT,MAAC,GAAD,CAAC,CAAQ;QAClE,CAAC,CAAC,MAAM,EAAE,CAAC;QACX,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,aAAa,CAAC;IAC5B,CAAC;0HANU,iBAAiB;8GAAjB,iBAAiB,wQALlB,2BAA2B;;AAK1B,iBAAiB;IAZ7B,QAAQ,CAAC;QACR,qBAAqB,EAAE,uBAAuB;QAC9C,MAAM,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,CAAC;KACpF,CAAC;GASW,iBAAiB,CAO7B;;2FAPY,iBAAiB;kBAR7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,qBAAqB;oBAC/B,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,CAAC;oBACnF,OAAO,EAAE,CAAC,WAAW,CAAC;iBACvB;;sBAGE,MAAM","sourcesContent":["/* tslint:disable */\n/* auto-generated angular directive proxies */\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, NgZone, EventEmitter, Output } from '@angular/core';\n\nimport { ProxyCmp } from './angular-component-lib/utils';\n\nimport type { Components } from '@ionic/core/components';\n\nimport { defineCustomElement as defineIonAccordionGroup } from '@ionic/core/components/ion-accordion-group.js';\n\n@ProxyCmp({\n defineCustomElementFn: defineIonAccordionGroup,\n inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'value']\n})\n@Component({\n selector: 'ion-accordion-group',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'value'],\n outputs: ['ionChange'],\n})\nexport class IonAccordionGroup {\n protected el: HTMLIonAccordionGroupElement;\n @Output() ionChange = new EventEmitter<IonAccordionGroupCustomEvent<IIonAccordionGroupAccordionGroupChangeEventDetail>>();\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nimport type { IonAccordionGroupCustomEvent } from '@ionic/core/components';\nimport type { AccordionGroupChangeEventDetail as IIonAccordionGroupAccordionGroupChangeEventDetail } from '@ionic/core/components';\n\nexport declare interface IonAccordionGroup extends Components.IonAccordionGroup {\n /**\n * Emitted when the value property has changed as a result of a user action such as a click.\n\nThis event will not emit when programmatically setting the `value` property.\n */\n ionChange: EventEmitter<IonAccordionGroupCustomEvent<IIonAccordionGroupAccordionGroupChangeEventDetail>>;\n}\n\n\n"]}
1
+ {"version":3,"file":"ion-accordion-group.js","sourceRoot":"","sources":["../../../src/standalone/directives/ion-accordion-group.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,8CAA8C;AAC9C,OAAO,EAAE,uBAAuB,EAAqB,SAAS,EAAsB,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEhI,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAIrF,OAAO,EAAE,mBAAmB,IAAI,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;;AAcxG,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAG+B;IAFjD,EAAE,CAA+B;IACjC,SAAS,GAAG,IAAI,YAAY,EAAmF,CAAC;IAC1H,YAAY,CAAoB,EAAE,CAAa,EAAY,CAAS;QAAT,MAAC,GAAD,CAAC,CAAQ;QAClE,CAAC,CAAC,MAAM,EAAE,CAAC;QACX,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,aAAa,CAAC;IAC5B,CAAC;0HANU,iBAAiB;8GAAjB,iBAAiB,oGAHY,wBAAwB,sCAAmC,wBAAwB,sEAAqD,wBAAwB,sCAAmC,wBAAwB,kHAFzP,2BAA2B;;AAK1B,iBAAiB;IAZ7B,QAAQ,CAAC;QACR,qBAAqB,EAAE,uBAAuB;QAC9C,MAAM,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC;KACtG,CAAC;GASW,iBAAiB,CAO7B;;2FAPY,iBAAiB;kBAR7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,qBAAqB;oBAC/B,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,wBAAwB,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,wBAAwB,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,wBAAwB,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,wBAAwB,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC;oBACjS,OAAO,EAAE,CAAC,WAAW,CAAC;iBACvB;;sBAGE,MAAM","sourcesContent":["/* tslint:disable */\n/* auto-generated angular directive proxies */\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, NgZone, EventEmitter, Output } from '@angular/core';\n\nimport { ProxyCmp } from './angular-component-lib/utils';\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\n\nimport type { Components } from '@ionic/core/components';\n\nimport { defineCustomElement as defineIonAccordionGroup } from '@ionic/core/components/ion-accordion-group.js';\n\n@ProxyCmp({\n defineCustomElementFn: defineIonAccordionGroup,\n inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'shape', 'theme', 'value']\n})\n@Component({\n selector: 'ion-accordion-group',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: [{ name: 'animated', transform: nullableBooleanAttribute }, { name: 'disabled', transform: nullableBooleanAttribute }, 'expand', 'mode', { name: 'multiple', transform: nullableBooleanAttribute }, { name: 'readonly', transform: nullableBooleanAttribute }, 'shape', 'theme', 'value'],\n outputs: ['ionChange'],\n})\nexport class IonAccordionGroup {\n protected el: HTMLIonAccordionGroupElement;\n @Output() ionChange = new EventEmitter<IonAccordionGroupCustomEvent<IIonAccordionGroupAccordionGroupChangeEventDetail>>();\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nimport type { IonAccordionGroupCustomEvent } from '@ionic/core/components';\nimport type { AccordionGroupChangeEventDetail as IIonAccordionGroupAccordionGroupChangeEventDetail } from '@ionic/core/components';\n\nexport declare interface IonAccordionGroup extends Components.IonAccordionGroup {\n /**\n * Emitted when the value property has changed as a result of a user action such as a click.\n\nThis event will not emit when programmatically setting the `value` property.\n */\n ionChange: EventEmitter<IonAccordionGroupCustomEvent<IIonAccordionGroupAccordionGroupChangeEventDetail>>;\n}\n\n\n"]}
@@ -6,7 +6,9 @@ export declare class IonAccordion {
6
6
  protected el: HTMLIonAccordionElement;
7
7
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<IonAccordion, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<IonAccordion, "ion-accordion", never, { "disabled": { "alias": "disabled"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "toggleIcon": { "alias": "toggleIcon"; "required": false; }; "toggleIconSlot": { "alias": "toggleIconSlot"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<IonAccordion, "ion-accordion", never, { "disabled": { "alias": "disabled"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "toggleIcon": { "alias": "toggleIcon"; "required": false; }; "toggleIconSlot": { "alias": "toggleIconSlot"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
10
+ static ngAcceptInputType_disabled: boolean | string | null | undefined;
11
+ static ngAcceptInputType_readonly: boolean | string | null | undefined;
10
12
  }
11
13
  export declare interface IonAccordion extends Components.IonAccordion {
12
14
  }