@ionic/angular 9.0.10 → 9.0.11-dev.11793705116.185a3203

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 +9 -0
  130. package/dist/standalone/directives/datetime.js +16 -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 +1 @@
1
- {"version":3,"file":"radio-group.js","sourceRoot":"","sources":["../../../src/standalone/directives/radio-group.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,2CAA2C,CAAC;AAEhF,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,kBAAkB,GAAG,CAAC,qBAAqB,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;AAqBvG,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,aAAa;IAEa;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,CAAC,CAAC,CAAC;IAC7C,CAAC;IAGD,eAAe,CAAC,EAA4B;QAC1C,IAAI,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;0HAZU,aAAa;8GAAb,aAAa,0SATb;YACT;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,CAAC,aAAa,EAAC;gBAC5C,KAAK,EAAE,IAAI;aACZ;SACF,iDATS,2BAA2B;;AAY1B,aAAa;IAnBzB,QAAQ,CAAC;QACR,qBAAqB,EAAE,mBAAmB;QAC1C,MAAM,EAAE,kBAAkB;KAC3B,CAAC;GAgBW,aAAa,CAazB;;2FAbY,aAAa;kBAfzB,SAAS;mBAAC;oBACT,QAAQ,EAAE,iBAAiB;oBAC3B,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,kBAAkB;oBAC1B,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,cAAc,EAAC;4BAC5C,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 { RadioGroupChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-radio-group.js';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst RADIO_GROUP_INPUTS = ['allowEmptySelection', 'compareWith', 'errorText', 'helperText', 'name', 'value'];\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: RADIO_GROUP_INPUTS,\n})\n@Component({\n selector: 'ion-radio-group',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: RADIO_GROUP_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonRadioGroup),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonRadioGroup 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, ['ionChange']);\n }\n\n @HostListener('ionChange', ['$event.target'])\n handleIonChange(el: HTMLIonRadioGroupElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonRadioGroup extends Components.IonRadioGroup {\n /**\n * Emitted when the value has changed.\n */\n ionChange: EventEmitter<CustomEvent<RadioGroupChangeEventDetail>>;\n}\n"]}
1
+ {"version":3,"file":"radio-group.js","sourceRoot":"","sources":["../../../src/standalone/directives/radio-group.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,2CAA2C,CAAC;AAEhF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,kBAAkB,GAAG;IACzB,EAAE,IAAI,EAAE,qBAAqB,EAAE,SAAS,EAAE,wBAAwB,EAAE;IACpE,aAAa;IACb,WAAW;IACX,YAAY;IACZ,MAAM;IACN,OAAO;CACR,CAAC;AAEF,MAAM,wBAAwB,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAC;AAqBzD,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,aAAa;IAEa;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,CAAC,CAAC,CAAC;IAC7C,CAAC;IAGD,eAAe,CAAC,EAA4B;QAC1C,IAAI,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC;0HAZU,aAAa;8GAAb,aAAa,iIA7BkB,wBAAwB,oMAoBvD;YACT;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,CAAC,aAAa,EAAC;gBAC5C,KAAK,EAAE,IAAI;aACZ;SACF,iDATS,2BAA2B;;AAY1B,aAAa;IAnBzB,QAAQ,CAAC;QACR,qBAAqB,EAAE,mBAAmB;QAC1C,MAAM,EAAE,wBAAwB;KACjC,CAAC;GAgBW,aAAa,CAazB;;2FAbY,aAAa;kBAfzB,SAAS;mBAAC;oBACT,QAAQ,EAAE,iBAAiB;oBAC3B,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,kBAAkB;oBAC1B,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,cAAc,EAAC;4BAC5C,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 { RadioGroupChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-radio-group.js';\n\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst RADIO_GROUP_INPUTS = [\n { name: 'allowEmptySelection', transform: nullableBooleanAttribute },\n 'compareWith',\n 'errorText',\n 'helperText',\n 'name',\n 'value',\n];\n\nconst RADIO_GROUP_PROXY_INPUTS = inputNames(RADIO_GROUP_INPUTS);\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: RADIO_GROUP_PROXY_INPUTS,\n})\n@Component({\n selector: 'ion-radio-group',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: RADIO_GROUP_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonRadioGroup),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonRadioGroup 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, ['ionChange']);\n }\n\n @HostListener('ionChange', ['$event.target'])\n handleIonChange(el: HTMLIonRadioGroupElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonRadioGroup extends Components.IonRadioGroup {\n /**\n * Emitted when the value has changed.\n */\n ionChange: EventEmitter<CustomEvent<RadioGroupChangeEventDetail>>;\n}\n"]}
@@ -9,6 +9,11 @@ export declare class IonRange extends ValueAccessor {
9
9
  handleIonInput(el: HTMLIonRangeElement): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<IonRange, never>;
11
11
  static ɵcmp: i0.ɵɵComponentDeclaration<IonRange, "ion-range", never, { "activeBarStart": { "alias": "activeBarStart"; "required": false; }; "color": { "alias": "color"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dualKnobs": { "alias": "dualKnobs"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "pin": { "alias": "pin"; "required": false; }; "pinFormatter": { "alias": "pinFormatter"; "required": false; }; "snaps": { "alias": "snaps"; "required": false; }; "step": { "alias": "step"; "required": false; }; "ticks": { "alias": "ticks"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
12
+ static ngAcceptInputType_disabled: boolean | string | null | undefined;
13
+ static ngAcceptInputType_dualKnobs: boolean | string | null | undefined;
14
+ static ngAcceptInputType_pin: boolean | string | null | undefined;
15
+ static ngAcceptInputType_snaps: boolean | string | null | undefined;
16
+ static ngAcceptInputType_ticks: boolean | string | null | undefined;
12
17
  }
13
18
  export declare interface IonRange extends Components.IonRange {
14
19
  /**
@@ -1,29 +1,31 @@
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-range.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 RANGE_INPUTS = [
9
10
  'activeBarStart',
10
11
  'color',
11
12
  'debounce',
12
- 'disabled',
13
- 'dualKnobs',
13
+ { name: 'disabled', transform: nullableBooleanAttribute },
14
+ { name: 'dualKnobs', transform: nullableBooleanAttribute },
14
15
  'label',
15
16
  'labelPlacement',
16
17
  'max',
17
18
  'min',
18
19
  'mode',
19
20
  'name',
20
- 'pin',
21
+ { name: 'pin', transform: nullableBooleanAttribute },
21
22
  'pinFormatter',
22
- 'snaps',
23
+ { name: 'snaps', transform: nullableBooleanAttribute },
23
24
  'step',
24
- 'ticks',
25
+ { name: 'ticks', transform: nullableBooleanAttribute },
25
26
  'value',
26
27
  ];
28
+ const RANGE_PROXY_INPUTS = inputNames(RANGE_INPUTS);
27
29
  let IonRange = class IonRange extends ValueAccessor {
28
30
  z;
29
31
  el;
@@ -37,8 +39,8 @@ let IonRange = class IonRange extends ValueAccessor {
37
39
  handleIonInput(el) {
38
40
  this.handleValueChange(el, el.value);
39
41
  }
40
- /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonRange, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
41
- /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonRange, isStandalone: true, selector: "ion-range", inputs: { activeBarStart: "activeBarStart", color: "color", debounce: "debounce", disabled: "disabled", dualKnobs: "dualKnobs", label: "label", labelPlacement: "labelPlacement", max: "max", min: "min", mode: "mode", name: "name", pin: "pin", pinFormatter: "pinFormatter", snaps: "snaps", step: "step", ticks: "ticks", value: "value" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
42
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonRange, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
43
+ /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.3", type: IonRange, isStandalone: true, selector: "ion-range", inputs: { activeBarStart: "activeBarStart", color: "color", debounce: "debounce", disabled: ["disabled", "disabled", nullableBooleanAttribute], dualKnobs: ["dualKnobs", "dualKnobs", nullableBooleanAttribute], label: "label", labelPlacement: "labelPlacement", max: "max", min: "min", mode: "mode", name: "name", pin: ["pin", "pin", nullableBooleanAttribute], pinFormatter: "pinFormatter", snaps: ["snaps", "snaps", nullableBooleanAttribute], step: "step", ticks: ["ticks", "ticks", nullableBooleanAttribute], value: "value" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
42
44
  {
43
45
  provide: NG_VALUE_ACCESSOR,
44
46
  useExisting: forwardRef((() => IonRange)),
@@ -49,11 +51,11 @@ let IonRange = class IonRange extends ValueAccessor {
49
51
  IonRange = __decorate([
50
52
  ProxyCmp({
51
53
  defineCustomElementFn: defineCustomElement,
52
- inputs: RANGE_INPUTS,
54
+ inputs: RANGE_PROXY_INPUTS,
53
55
  })
54
56
  ], IonRange);
55
57
  export { IonRange };
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonRange, decorators: [{
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonRange, decorators: [{
57
59
  type: Component,
58
60
  args: [{
59
61
  selector: 'ion-range',
@@ -1 +1 @@
1
- {"version":3,"file":"range.js","sourceRoot":"","sources":["../../../src/standalone/directives/range.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,qCAAqC,CAAC;AAE1E,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,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Q,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 { ValueAccessor } from '@ionic/angular/common';\nimport type {\n RangeChangeEventDetail,\n RangeKnobMoveStartEventDetail,\n RangeKnobMoveEndEventDetail,\n Components,\n} from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-range.js';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst RANGE_INPUTS = [\n 'activeBarStart',\n 'color',\n 'debounce',\n 'disabled',\n 'dualKnobs',\n 'label',\n 'labelPlacement',\n 'max',\n 'min',\n 'mode',\n 'name',\n 'pin',\n 'pinFormatter',\n 'snaps',\n 'step',\n 'ticks',\n 'value',\n];\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: RANGE_INPUTS,\n})\n@Component({\n selector: 'ion-range',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: RANGE_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonRange),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonRange 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, ['ionChange', 'ionInput', 'ionFocus', 'ionBlur', 'ionKnobMoveStart', 'ionKnobMoveEnd']);\n }\n\n @HostListener('ionInput', ['$event.target'])\n handleIonInput(el: HTMLIonRangeElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonRange extends Components.IonRange {\n /**\n * The `ionChange` event is fired for `<ion-range>` elements when the user\nmodifies the element's value:\n- When the user releases the knob after dragging;\n- When the user moves the knob with keyboard arrows\n\n`ionChange` is not fired when the value is changed programmatically.\n */\n ionChange: EventEmitter<CustomEvent<RangeChangeEventDetail>>;\n /**\n * The `ionInput` event is fired for `<ion-range>` elements when the value\nis modified. Unlike `ionChange`, `ionInput` is fired continuously\nwhile the user is dragging the knob.\n */\n ionInput: EventEmitter<CustomEvent<RangeChangeEventDetail>>;\n /**\n * Emitted when the range has focus.\n */\n ionFocus: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the range loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the user starts moving the range knob, whether through\nmouse drag, touch gesture, or keyboard interaction.\n */\n ionKnobMoveStart: EventEmitter<CustomEvent<RangeKnobMoveStartEventDetail>>;\n /**\n * Emitted when the user finishes moving the range knob, whether through\nmouse drag, touch gesture, or keyboard interaction.\n */\n ionKnobMoveEnd: EventEmitter<CustomEvent<RangeKnobMoveEndEventDetail>>;\n}\n"]}
1
+ {"version":3,"file":"range.js","sourceRoot":"","sources":["../../../src/standalone/directives/range.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;AAOlE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE1E,OAAO,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HAZU,QAAQ;8GAAR,QAAQ,kKArCY,wBAAwB,yCACvB,wBAAwB,6HAO9B,wBAAwB,2DAEtB,wBAAwB,2CAExB,wBAAwB,sGAgBzC;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;IAnBpB,QAAQ,CAAC;QACR,qBAAqB,EAAE,mBAAmB;QAC1C,MAAM,EAAE,kBAAkB;KAC3B,CAAC;GAgBW,QAAQ,CAapB;;2FAbY,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 RangeChangeEventDetail,\n RangeKnobMoveStartEventDetail,\n RangeKnobMoveEndEventDetail,\n Components,\n} from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-range.js';\n\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst RANGE_INPUTS = [\n 'activeBarStart',\n 'color',\n 'debounce',\n { name: 'disabled', transform: nullableBooleanAttribute },\n { name: 'dualKnobs', transform: nullableBooleanAttribute },\n 'label',\n 'labelPlacement',\n 'max',\n 'min',\n 'mode',\n 'name',\n { name: 'pin', transform: nullableBooleanAttribute },\n 'pinFormatter',\n { name: 'snaps', transform: nullableBooleanAttribute },\n 'step',\n { name: 'ticks', transform: nullableBooleanAttribute },\n 'value',\n];\n\nconst RANGE_PROXY_INPUTS = inputNames(RANGE_INPUTS);\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: RANGE_PROXY_INPUTS,\n})\n@Component({\n selector: 'ion-range',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: RANGE_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonRange),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonRange 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, ['ionChange', 'ionInput', 'ionFocus', 'ionBlur', 'ionKnobMoveStart', 'ionKnobMoveEnd']);\n }\n\n @HostListener('ionInput', ['$event.target'])\n handleIonInput(el: HTMLIonRangeElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonRange extends Components.IonRange {\n /**\n * The `ionChange` event is fired for `<ion-range>` elements when the user\nmodifies the element's value:\n- When the user releases the knob after dragging;\n- When the user moves the knob with keyboard arrows\n\n`ionChange` is not fired when the value is changed programmatically.\n */\n ionChange: EventEmitter<CustomEvent<RangeChangeEventDetail>>;\n /**\n * The `ionInput` event is fired for `<ion-range>` elements when the value\nis modified. Unlike `ionChange`, `ionInput` is fired continuously\nwhile the user is dragging the knob.\n */\n ionInput: EventEmitter<CustomEvent<RangeChangeEventDetail>>;\n /**\n * Emitted when the range has focus.\n */\n ionFocus: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the range loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the user starts moving the range knob, whether through\nmouse drag, touch gesture, or keyboard interaction.\n */\n ionKnobMoveStart: EventEmitter<CustomEvent<RangeKnobMoveStartEventDetail>>;\n /**\n * Emitted when the user finishes moving the range knob, whether through\nmouse drag, touch gesture, or keyboard interaction.\n */\n ionKnobMoveEnd: EventEmitter<CustomEvent<RangeKnobMoveEndEventDetail>>;\n}\n"]}
@@ -9,6 +9,10 @@ export declare class IonSearchbar extends ValueAccessor {
9
9
  handleIonInput(el: HTMLIonSearchbarElement): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<IonSearchbar, never>;
11
11
  static ɵcmp: i0.ɵɵComponentDeclaration<IonSearchbar, "ion-searchbar", never, { "animated": { "alias": "animated"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "autocorrect": { "alias": "autocorrect"; "required": false; }; "cancelButtonIcon": { "alias": "cancelButtonIcon"; "required": false; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; }; "clearIcon": { "alias": "clearIcon"; "required": false; }; "color": { "alias": "color"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "enterkeyhint": { "alias": "enterkeyhint"; "required": false; }; "inputmode": { "alias": "inputmode"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "searchIcon": { "alias": "searchIcon"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "spellcheck": { "alias": "spellcheck"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
12
+ static ngAcceptInputType_animated: boolean | string | null | undefined;
13
+ static ngAcceptInputType_autocorrect: boolean | string | null | undefined;
14
+ static ngAcceptInputType_disabled: boolean | string | null | undefined;
15
+ static ngAcceptInputType_spellcheck: boolean | string | null | undefined;
12
16
  }
13
17
  export declare interface IonSearchbar extends Components.IonSearchbar {
14
18
  /**
@@ -1,20 +1,21 @@
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-searchbar.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 SEARCHBAR_INPUTS = [
9
- 'animated',
10
+ { name: 'animated', transform: nullableBooleanAttribute },
10
11
  'autocomplete',
11
- 'autocorrect',
12
+ { name: 'autocorrect', transform: nullableBooleanAttribute },
12
13
  'cancelButtonIcon',
13
14
  'cancelButtonText',
14
15
  'clearIcon',
15
16
  'color',
16
17
  'debounce',
17
- 'disabled',
18
+ { name: 'disabled', transform: nullableBooleanAttribute },
18
19
  'enterkeyhint',
19
20
  'inputmode',
20
21
  'mode',
@@ -23,10 +24,11 @@ const SEARCHBAR_INPUTS = [
23
24
  'searchIcon',
24
25
  'showCancelButton',
25
26
  'showClearButton',
26
- 'spellcheck',
27
+ { name: 'spellcheck', transform: nullableBooleanAttribute },
27
28
  'type',
28
29
  'value',
29
30
  ];
31
+ const SEARCHBAR_PROXY_INPUTS = inputNames(SEARCHBAR_INPUTS);
30
32
  let IonSearchbar = class IonSearchbar extends ValueAccessor {
31
33
  z;
32
34
  el;
@@ -40,8 +42,8 @@ let IonSearchbar = class IonSearchbar extends ValueAccessor {
40
42
  handleIonInput(el) {
41
43
  this.handleValueChange(el, el.value);
42
44
  }
43
- /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonSearchbar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
44
- /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonSearchbar, isStandalone: true, selector: "ion-searchbar", inputs: { animated: "animated", autocomplete: "autocomplete", autocorrect: "autocorrect", cancelButtonIcon: "cancelButtonIcon", cancelButtonText: "cancelButtonText", clearIcon: "clearIcon", color: "color", debounce: "debounce", disabled: "disabled", enterkeyhint: "enterkeyhint", inputmode: "inputmode", mode: "mode", name: "name", placeholder: "placeholder", searchIcon: "searchIcon", showCancelButton: "showCancelButton", showClearButton: "showClearButton", spellcheck: "spellcheck", type: "type", value: "value" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
45
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonSearchbar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
46
+ /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.3", type: IonSearchbar, isStandalone: true, selector: "ion-searchbar", inputs: { animated: ["animated", "animated", nullableBooleanAttribute], autocomplete: "autocomplete", autocorrect: ["autocorrect", "autocorrect", nullableBooleanAttribute], cancelButtonIcon: "cancelButtonIcon", cancelButtonText: "cancelButtonText", clearIcon: "clearIcon", color: "color", debounce: "debounce", disabled: ["disabled", "disabled", nullableBooleanAttribute], enterkeyhint: "enterkeyhint", inputmode: "inputmode", mode: "mode", name: "name", placeholder: "placeholder", searchIcon: "searchIcon", showCancelButton: "showCancelButton", showClearButton: "showClearButton", spellcheck: ["spellcheck", "spellcheck", nullableBooleanAttribute], type: "type", value: "value" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
45
47
  {
46
48
  provide: NG_VALUE_ACCESSOR,
47
49
  useExisting: forwardRef((() => IonSearchbar)),
@@ -52,12 +54,12 @@ let IonSearchbar = class IonSearchbar extends ValueAccessor {
52
54
  IonSearchbar = __decorate([
53
55
  ProxyCmp({
54
56
  defineCustomElementFn: defineCustomElement,
55
- inputs: SEARCHBAR_INPUTS,
57
+ inputs: SEARCHBAR_PROXY_INPUTS,
56
58
  methods: ['setFocus', 'getInputElement'],
57
59
  })
58
60
  ], IonSearchbar);
59
61
  export { IonSearchbar };
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonSearchbar, decorators: [{
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonSearchbar, decorators: [{
61
63
  type: Component,
62
64
  args: [{
63
65
  selector: 'ion-searchbar',
@@ -1 +1 @@
1
- {"version":3,"file":"searchbar.js","sourceRoot":"","sources":["../../../src/standalone/directives/searchbar.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,yCAAyC,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,gBAAgB,GAAG;IACvB,UAAU;IACV,cAAc;IACd,aAAa;IACb,kBAAkB;IAClB,kBAAkB;IAClB,WAAW;IACX,OAAO;IACP,UAAU;IACV,UAAU;IACV,cAAc;IACd,WAAW;IACX,MAAM;IACN,MAAM;IACN,a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E,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,aAAa,EAAC;4BAC3C,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 { SearchbarInputEventDetail, SearchbarChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-searchbar.js';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst SEARCHBAR_INPUTS = [\n 'animated',\n 'autocomplete',\n 'autocorrect',\n 'cancelButtonIcon',\n 'cancelButtonText',\n 'clearIcon',\n 'color',\n 'debounce',\n 'disabled',\n 'enterkeyhint',\n 'inputmode',\n 'mode',\n 'name',\n 'placeholder',\n 'searchIcon',\n 'showCancelButton',\n 'showClearButton',\n 'spellcheck',\n 'type',\n 'value',\n];\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: SEARCHBAR_INPUTS,\n methods: ['setFocus', 'getInputElement'],\n})\n@Component({\n selector: 'ion-searchbar',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: SEARCHBAR_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonSearchbar),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonSearchbar 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', 'ionCancel', 'ionClear', 'ionBlur', 'ionFocus']);\n }\n\n @HostListener('ionInput', ['$event.target'])\n handleIonInput(el: HTMLIonSearchbarElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonSearchbar extends Components.IonSearchbar {\n /**\n * Emitted when the `value` of the `ion-searchbar` element has changed.\n */\n ionInput: EventEmitter<CustomEvent<SearchbarInputEventDetail>>;\n /**\n * The `ionChange` event is fired for `<ion-searchbar>` elements when the user\nmodifies the element's value. Unlike the `ionInput` event, the `ionChange`\nevent is not necessarily fired for each alteration to an element's value.\n\nThe `ionChange` event is fired when the value has been committed\nby the user. This can happen when the element loses focus or\nwhen the \"Enter\" key is pressed. `ionChange` can also fire\nwhen clicking the clear or cancel buttons.\n */\n ionChange: EventEmitter<CustomEvent<SearchbarChangeEventDetail>>;\n /**\n * Emitted when the cancel button is clicked.\n */\n ionCancel: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the clear input button is clicked.\n */\n ionClear: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the input loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the input has focus.\n */\n ionFocus: EventEmitter<CustomEvent<void>>;\n}\n"]}
1
+ {"version":3,"file":"searchbar.js","sourceRoot":"","sources":["../../../src/standalone/directives/searchbar.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,yCAAyC,CAAC;AAE9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+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gBACE,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,CAAC,YAAY,EAAC;gBAC3C,KAAK,EAAE,IAAI;aACZ;SACF,iDATS,2BAA2B;;AAY1B,YAAY;IApBxB,QAAQ,CAAC;QACR,qBAAqB,EAAE,mBAAmB;QAC1C,MAAM,EAAE,sBAAsB;QAC9B,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC;KACzC,CAAC;GAgBW,YAAY,CAaxB;;2FAbY,YAAY;kBAfxB,SAAS;mBAAC;oBACT,QAAQ,EAAE,eAAe;oBACzB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,gBAAgB;oBACxB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,aAAa,EAAC;4BAC3C,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 { SearchbarInputEventDetail, SearchbarChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-searchbar.js';\n\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst SEARCHBAR_INPUTS = [\n { name: 'animated', transform: nullableBooleanAttribute },\n 'autocomplete',\n { name: 'autocorrect', transform: nullableBooleanAttribute },\n 'cancelButtonIcon',\n 'cancelButtonText',\n 'clearIcon',\n 'color',\n 'debounce',\n { name: 'disabled', transform: nullableBooleanAttribute },\n 'enterkeyhint',\n 'inputmode',\n 'mode',\n 'name',\n 'placeholder',\n 'searchIcon',\n 'showCancelButton',\n 'showClearButton',\n { name: 'spellcheck', transform: nullableBooleanAttribute },\n 'type',\n 'value',\n];\n\nconst SEARCHBAR_PROXY_INPUTS = inputNames(SEARCHBAR_INPUTS);\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: SEARCHBAR_PROXY_INPUTS,\n methods: ['setFocus', 'getInputElement'],\n})\n@Component({\n selector: 'ion-searchbar',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: SEARCHBAR_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonSearchbar),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonSearchbar 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', 'ionCancel', 'ionClear', 'ionBlur', 'ionFocus']);\n }\n\n @HostListener('ionInput', ['$event.target'])\n handleIonInput(el: HTMLIonSearchbarElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonSearchbar extends Components.IonSearchbar {\n /**\n * Emitted when the `value` of the `ion-searchbar` element has changed.\n */\n ionInput: EventEmitter<CustomEvent<SearchbarInputEventDetail>>;\n /**\n * The `ionChange` event is fired for `<ion-searchbar>` elements when the user\nmodifies the element's value. Unlike the `ionInput` event, the `ionChange`\nevent is not necessarily fired for each alteration to an element's value.\n\nThe `ionChange` event is fired when the value has been committed\nby the user. This can happen when the element loses focus or\nwhen the \"Enter\" key is pressed. `ionChange` can also fire\nwhen clicking the clear or cancel buttons.\n */\n ionChange: EventEmitter<CustomEvent<SearchbarChangeEventDetail>>;\n /**\n * Emitted when the cancel button is clicked.\n */\n ionCancel: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the clear input button is clicked.\n */\n ionClear: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the input loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the input has focus.\n */\n ionFocus: EventEmitter<CustomEvent<void>>;\n}\n"]}
@@ -9,6 +9,10 @@ export declare class IonSegment extends ValueAccessor {
9
9
  handleIonChange(el: HTMLIonSegmentElement): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<IonSegment, never>;
11
11
  static ɵcmp: i0.ɵɵComponentDeclaration<IonSegment, "ion-segment", never, { "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; }; "swipeGesture": { "alias": "swipeGesture"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
12
+ static ngAcceptInputType_disabled: boolean | string | null | undefined;
13
+ static ngAcceptInputType_scrollable: boolean | string | null | undefined;
14
+ static ngAcceptInputType_selectOnFocus: boolean | string | null | undefined;
15
+ static ngAcceptInputType_swipeGesture: boolean | string | null | undefined;
12
16
  }
13
17
  export declare interface IonSegment extends Components.IonSegment {
14
18
  /**
@@ -1,11 +1,21 @@
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-segment.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
- const SEGMENT_INPUTS = ['color', 'disabled', 'mode', 'scrollable', 'selectOnFocus', 'swipeGesture', 'value'];
9
+ const SEGMENT_INPUTS = [
10
+ 'color',
11
+ { name: 'disabled', transform: nullableBooleanAttribute },
12
+ 'mode',
13
+ { name: 'scrollable', transform: nullableBooleanAttribute },
14
+ { name: 'selectOnFocus', transform: nullableBooleanAttribute },
15
+ { name: 'swipeGesture', transform: nullableBooleanAttribute },
16
+ 'value',
17
+ ];
18
+ const SEGMENT_PROXY_INPUTS = inputNames(SEGMENT_INPUTS);
9
19
  let IonSegment = class IonSegment extends ValueAccessor {
10
20
  z;
11
21
  el;
@@ -19,8 +29,8 @@ let IonSegment = class IonSegment extends ValueAccessor {
19
29
  handleIonChange(el) {
20
30
  this.handleValueChange(el, el.value);
21
31
  }
22
- /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonSegment, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
23
- /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonSegment, isStandalone: true, selector: "ion-segment", inputs: { color: "color", disabled: "disabled", mode: "mode", scrollable: "scrollable", selectOnFocus: "selectOnFocus", swipeGesture: "swipeGesture", value: "value" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
32
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonSegment, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
33
+ /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.3", type: IonSegment, isStandalone: true, selector: "ion-segment", inputs: { color: "color", disabled: ["disabled", "disabled", nullableBooleanAttribute], mode: "mode", scrollable: ["scrollable", "scrollable", nullableBooleanAttribute], selectOnFocus: ["selectOnFocus", "selectOnFocus", nullableBooleanAttribute], swipeGesture: ["swipeGesture", "swipeGesture", nullableBooleanAttribute], value: "value" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
24
34
  {
25
35
  provide: NG_VALUE_ACCESSOR,
26
36
  useExisting: forwardRef((() => IonSegment)),
@@ -31,11 +41,11 @@ let IonSegment = class IonSegment extends ValueAccessor {
31
41
  IonSegment = __decorate([
32
42
  ProxyCmp({
33
43
  defineCustomElementFn: defineCustomElement,
34
- inputs: SEGMENT_INPUTS,
44
+ inputs: SEGMENT_PROXY_INPUTS,
35
45
  })
36
46
  ], IonSegment);
37
47
  export { IonSegment };
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonSegment, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonSegment, decorators: [{
39
49
  type: Component,
40
50
  args: [{
41
51
  selector: 'ion-segment',
@@ -1 +1 @@
1
- {"version":3,"file":"segment.js","sourceRoot":"","sources":["../../../src/standalone/directives/segment.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,uCAAuC,CAAC;AAE5E,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,eAAe,EAAE,cAA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e,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 { SegmentChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-segment.js';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst SEGMENT_INPUTS = ['color', 'disabled', 'mode', 'scrollable', 'selectOnFocus', 'swipeGesture', 'value'];\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: SEGMENT_INPUTS,\n})\n@Component({\n selector: 'ion-segment',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: SEGMENT_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonSegment),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonSegment 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, ['ionChange']);\n }\n\n @HostListener('ionChange', ['$event.target'])\n handleIonChange(el: HTMLIonSegmentElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonSegment extends Components.IonSegment {\n /**\n * Emitted when the value property has changed and any\ndragging pointer has been released from `ion-segment`.\n */\n ionChange: EventEmitter<CustomEvent<SegmentChangeEventDetail>>;\n}\n"]}
1
+ {"version":3,"file":"segment.js","sourceRoot":"","sources":["../../../src/standalone/directives/segment.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EAEvB,SAAS,EAGT,YAAY,EAGZ,UAAU,GACX,MAAM,eAAe,CAAC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EtB,wBAAwB,qDACrB,wBAAwB,kDACzB,wBAAwB,wGAgBhD;YACT;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,CAAC,UAAU,EAAC;gBACzC,KAAK,EAAE,IAAI;aACZ;SACF,iDATS,2BAA2B;;AAY1B,UAAU;IAnBtB,QAAQ,CAAC;QACR,qBAAqB,EAAE,mBAAmB;QAC1C,MAAM,EAAE,oBAAoB;KAC7B,CAAC;GAgBW,UAAU,CAatB;;2FAbY,UAAU;kBAftB,SAAS;mBAAC;oBACT,QAAQ,EAAE,aAAa;oBACvB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,2BAA2B;oBACrC,uEAAuE;oBACvE,MAAM,EAAE,cAAc;oBACtB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,EAAC,GAAG,EAAE,WAAW,EAAC;4BACzC,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 { SegmentChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-segment.js';\n\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst SEGMENT_INPUTS = [\n 'color',\n { name: 'disabled', transform: nullableBooleanAttribute },\n 'mode',\n { name: 'scrollable', transform: nullableBooleanAttribute },\n { name: 'selectOnFocus', transform: nullableBooleanAttribute },\n { name: 'swipeGesture', transform: nullableBooleanAttribute },\n 'value',\n];\n\nconst SEGMENT_PROXY_INPUTS = inputNames(SEGMENT_INPUTS);\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: SEGMENT_PROXY_INPUTS,\n})\n@Component({\n selector: 'ion-segment',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: SEGMENT_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonSegment),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonSegment 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, ['ionChange']);\n }\n\n @HostListener('ionChange', ['$event.target'])\n handleIonChange(el: HTMLIonSegmentElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonSegment extends Components.IonSegment {\n /**\n * Emitted when the value property has changed and any\ndragging pointer has been released from `ion-segment`.\n */\n ionChange: EventEmitter<CustomEvent<SegmentChangeEventDetail>>;\n}\n"]}
@@ -8,7 +8,11 @@ export declare class IonSelect extends ValueAccessor {
8
8
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
9
9
  handleIonChange(el: HTMLIonSelectElement): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<IonSelect, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<IonSelect, "ion-select", never, { "cancelText": { "alias": "cancelText"; "required": false; }; "color": { "alias": "color"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "expandedIcon": { "alias": "expandedIcon"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "interface": { "alias": "interface"; "required": false; }; "interfaceOptions": { "alias": "interfaceOptions"; "required": false; }; "justify": { "alias": "justify"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "name": { "alias": "name"; "required": false; }; "okText": { "alias": "okText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "selectedText": { "alias": "selectedText"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "toggleIcon": { "alias": "toggleIcon"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<IonSelect, "ion-select", never, { "cancelIcon": { "alias": "cancelIcon"; "required": false; }; "cancelText": { "alias": "cancelText"; "required": false; }; "color": { "alias": "color"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "expandedIcon": { "alias": "expandedIcon"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "interface": { "alias": "interface"; "required": false; }; "interfaceOptions": { "alias": "interfaceOptions"; "required": false; }; "justify": { "alias": "justify"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "name": { "alias": "name"; "required": false; }; "okText": { "alias": "okText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "selectedText": { "alias": "selectedText"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "toggleIcon": { "alias": "toggleIcon"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
12
+ static ngAcceptInputType_cancelIcon: boolean | string | null | undefined;
13
+ static ngAcceptInputType_disabled: boolean | string | null | undefined;
14
+ static ngAcceptInputType_multiple: boolean | string | null | undefined;
15
+ static ngAcceptInputType_required: boolean | string | null | undefined;
12
16
  }
13
17
  export declare interface IonSelect extends Components.IonSelect {
14
18
  /**
@@ -1,15 +1,17 @@
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-select.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 SELECT_INPUTS = [
10
+ { name: 'cancelIcon', transform: nullableBooleanAttribute },
9
11
  'cancelText',
10
12
  'color',
11
13
  'compareWith',
12
- 'disabled',
14
+ { name: 'disabled', transform: nullableBooleanAttribute },
13
15
  'errorText',
14
16
  'expandedIcon',
15
17
  'fill',
@@ -20,15 +22,17 @@ const SELECT_INPUTS = [
20
22
  'label',
21
23
  'labelPlacement',
22
24
  'mode',
23
- 'multiple',
25
+ { name: 'multiple', transform: nullableBooleanAttribute },
24
26
  'name',
25
27
  'okText',
26
28
  'placeholder',
29
+ { name: 'required', transform: nullableBooleanAttribute },
27
30
  'selectedText',
28
31
  'shape',
29
32
  'toggleIcon',
30
33
  'value',
31
34
  ];
35
+ const SELECT_PROXY_INPUTS = inputNames(SELECT_INPUTS);
32
36
  let IonSelect = class IonSelect extends ValueAccessor {
33
37
  z;
34
38
  el;
@@ -42,8 +46,8 @@ let IonSelect = class IonSelect extends ValueAccessor {
42
46
  handleIonChange(el) {
43
47
  this.handleValueChange(el, el.value);
44
48
  }
45
- /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
46
- /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonSelect, isStandalone: true, selector: "ion-select", inputs: { cancelText: "cancelText", color: "color", compareWith: "compareWith", disabled: "disabled", errorText: "errorText", expandedIcon: "expandedIcon", fill: "fill", helperText: "helperText", interface: "interface", interfaceOptions: "interfaceOptions", justify: "justify", label: "label", labelPlacement: "labelPlacement", mode: "mode", multiple: "multiple", name: "name", okText: "okText", placeholder: "placeholder", selectedText: "selectedText", shape: "shape", toggleIcon: "toggleIcon", value: "value" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
49
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
50
+ /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.3", type: IonSelect, isStandalone: true, selector: "ion-select", inputs: { cancelIcon: ["cancelIcon", "cancelIcon", nullableBooleanAttribute], cancelText: "cancelText", color: "color", compareWith: "compareWith", disabled: ["disabled", "disabled", nullableBooleanAttribute], errorText: "errorText", expandedIcon: "expandedIcon", fill: "fill", helperText: "helperText", interface: "interface", interfaceOptions: "interfaceOptions", justify: "justify", label: "label", labelPlacement: "labelPlacement", mode: "mode", multiple: ["multiple", "multiple", nullableBooleanAttribute], name: "name", okText: "okText", placeholder: "placeholder", required: ["required", "required", nullableBooleanAttribute], selectedText: "selectedText", shape: "shape", toggleIcon: "toggleIcon", value: "value" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
47
51
  {
48
52
  provide: NG_VALUE_ACCESSOR,
49
53
  useExisting: forwardRef((() => IonSelect)),
@@ -54,12 +58,12 @@ let IonSelect = class IonSelect extends ValueAccessor {
54
58
  IonSelect = __decorate([
55
59
  ProxyCmp({
56
60
  defineCustomElementFn: defineCustomElement,
57
- inputs: SELECT_INPUTS,
61
+ inputs: SELECT_PROXY_INPUTS,
58
62
  methods: ['open'],
59
63
  })
60
64
  ], IonSelect);
61
65
  export { IonSelect };
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonSelect, decorators: [{
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonSelect, decorators: [{
63
67
  type: Component,
64
68
  args: [{
65
69
  selector: 'ion-select',
@@ -1 +1 @@
1
- {"version":3,"file":"select.js","sourceRoot":"","sources":["../../../src/standalone/directives/select.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,sCAAsC,CAAC;AAE3E,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,aAAa,GAAG;IACpB,YAAY;IACZ,OAAO;IACP,aAAa;IACb,UAAU;IACV,WAAW;IACX,cAAc;IACd,MAAM;IACN,YAAY;IACZ,WAAW;IACX,kBAAkB;IAClB,SAAS;IACT,OAAO;IACP,gBAAgB;IAChB,MAAM;IACN,UAAU;IACV,MAAM;IACN,QAAQ;IACR,aAAa;IACb,cAAc;IACd,OAAO;IACP,YAAY;IACZ,OAAO;CACR,CAAC;AAsBK,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,aAAa;IAEiB;IADjD,EAAE,CAAc;IAC1B,YAAY,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rategy,\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 { SelectChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-select.js';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst SELECT_INPUTS = [\n 'cancelText',\n 'color',\n 'compareWith',\n 'disabled',\n 'errorText',\n 'expandedIcon',\n 'fill',\n 'helperText',\n 'interface',\n 'interfaceOptions',\n 'justify',\n 'label',\n 'labelPlacement',\n 'mode',\n 'multiple',\n 'name',\n 'okText',\n 'placeholder',\n 'selectedText',\n 'shape',\n 'toggleIcon',\n 'value',\n];\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: SELECT_INPUTS,\n methods: ['open'],\n})\n@Component({\n selector: 'ion-select',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: SELECT_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonSelect),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonSelect 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, ['ionChange', 'ionCancel', 'ionDismiss', 'ionFocus', 'ionBlur']);\n }\n\n @HostListener('ionChange', ['$event.target'])\n handleIonChange(el: HTMLIonSelectElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonSelect extends Components.IonSelect {\n /**\n * Emitted when the value has changed.\n */\n ionChange: EventEmitter<CustomEvent<SelectChangeEventDetail>>;\n /**\n * Emitted when the selection is cancelled.\n */\n ionCancel: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the overlay is dismissed.\n */\n ionDismiss: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the select has focus.\n */\n ionFocus: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the select loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<void>>;\n}\n"]}
1
+ {"version":3,"file":"select.js","sourceRoot":"","sources":["../../../src/standalone/directives/select.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,sCAAsC,CAAC;AAE3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,MAAM,aAAa,GAAG;IACpB,EAAE,IAAI,EAAE,YAAY,EAAE,SAAS,EAAE,wBAAwB,EAAE;IAC3D,YAAY;IACZ,OAAO;IACP,aAAa;IACb,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,wBAAwB,EAAE;IACzD,WAAW;IACX,cAAc;IACd,MAAM;IACN,YAAY;IACZ,WAAW;IACX,kBAAkB;IAClB,SAAS;IACT,OAAO;IACP,gBAAgB;IAChB,MAAM;IACN,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,wBAAwB,EAAE;IACzD,MAAM;IACN,QAAQ;IACR,aAAa;IACb,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,wBAAwB,EAAE;IACzD,cAAc;IACd,OAAO;IACP,YAAY;IACZ,OAAO;CACR,CAAC;AAEF,MAAM,mBAAmB,GAAG,UAAU,CAAC,aAAa,CAA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C,GAAG,EAAE,UAAU,EAAC;4BACxC,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 { SelectChangeEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-select.js';\n\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst SELECT_INPUTS = [\n { name: 'cancelIcon', transform: nullableBooleanAttribute },\n 'cancelText',\n 'color',\n 'compareWith',\n { name: 'disabled', transform: nullableBooleanAttribute },\n 'errorText',\n 'expandedIcon',\n 'fill',\n 'helperText',\n 'interface',\n 'interfaceOptions',\n 'justify',\n 'label',\n 'labelPlacement',\n 'mode',\n { name: 'multiple', transform: nullableBooleanAttribute },\n 'name',\n 'okText',\n 'placeholder',\n { name: 'required', transform: nullableBooleanAttribute },\n 'selectedText',\n 'shape',\n 'toggleIcon',\n 'value',\n];\n\nconst SELECT_PROXY_INPUTS = inputNames(SELECT_INPUTS);\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: SELECT_PROXY_INPUTS,\n methods: ['open'],\n})\n@Component({\n selector: 'ion-select',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: SELECT_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonSelect),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonSelect 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, ['ionChange', 'ionCancel', 'ionDismiss', 'ionFocus', 'ionBlur']);\n }\n\n @HostListener('ionChange', ['$event.target'])\n handleIonChange(el: HTMLIonSelectElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonSelect extends Components.IonSelect {\n /**\n * Emitted when the value has changed.\n */\n ionChange: EventEmitter<CustomEvent<SelectChangeEventDetail>>;\n /**\n * Emitted when the selection is cancelled.\n */\n ionCancel: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the overlay is dismissed.\n */\n ionDismiss: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the select has focus.\n */\n ionFocus: EventEmitter<CustomEvent<void>>;\n /**\n * Emitted when the select loses focus.\n */\n ionBlur: EventEmitter<CustomEvent<void>>;\n}\n"]}
@@ -9,6 +9,14 @@ export declare class IonTextarea extends ValueAccessor {
9
9
  handleIonInput(el: HTMLIonTextareaElement): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<IonTextarea, never>;
11
11
  static ɵcmp: i0.ɵɵComponentDeclaration<IonTextarea, "ion-textarea", never, { "autoGrow": { "alias": "autoGrow"; "required": false; }; "autocapitalize": { "alias": "autocapitalize"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "clearOnEdit": { "alias": "clearOnEdit"; "required": false; }; "color": { "alias": "color"; "required": false; }; "cols": { "alias": "cols"; "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; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "spellcheck": { "alias": "spellcheck"; "required": false; }; "value": { "alias": "value"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; }, {}, never, ["*"], true, never>;
12
+ static ngAcceptInputType_autoGrow: boolean | string | null | undefined;
13
+ static ngAcceptInputType_autofocus: boolean | string | null | undefined;
14
+ static ngAcceptInputType_clearOnEdit: boolean | string | null | undefined;
15
+ static ngAcceptInputType_counter: boolean | string | null | undefined;
16
+ static ngAcceptInputType_disabled: boolean | string | null | undefined;
17
+ static ngAcceptInputType_readonly: boolean | string | null | undefined;
18
+ static ngAcceptInputType_required: boolean | string | null | undefined;
19
+ static ngAcceptInputType_spellcheck: boolean | string | null | undefined;
12
20
  }
13
21
  export declare interface IonTextarea extends Components.IonTextarea {
14
22
  /**
@@ -1,21 +1,22 @@
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-textarea.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 TEXTAREA_INPUTS = [
9
- 'autoGrow',
10
+ { name: 'autoGrow', transform: nullableBooleanAttribute },
10
11
  'autocapitalize',
11
- 'autofocus',
12
- 'clearOnEdit',
12
+ { name: 'autofocus', transform: nullableBooleanAttribute },
13
+ { name: 'clearOnEdit', transform: nullableBooleanAttribute },
13
14
  'color',
14
15
  'cols',
15
- 'counter',
16
+ { name: 'counter', transform: nullableBooleanAttribute },
16
17
  'counterFormatter',
17
18
  'debounce',
18
- 'disabled',
19
+ { name: 'disabled', transform: nullableBooleanAttribute },
19
20
  'enterkeyhint',
20
21
  'errorText',
21
22
  'fill',
@@ -28,14 +29,15 @@ const TEXTAREA_INPUTS = [
28
29
  'mode',
29
30
  'name',
30
31
  'placeholder',
31
- 'readonly',
32
- 'required',
32
+ { name: 'readonly', transform: nullableBooleanAttribute },
33
+ { name: 'required', transform: nullableBooleanAttribute },
33
34
  'rows',
34
35
  'shape',
35
- 'spellcheck',
36
+ { name: 'spellcheck', transform: nullableBooleanAttribute },
36
37
  'value',
37
38
  'wrap',
38
39
  ];
40
+ const TEXTAREA_PROXY_INPUTS = inputNames(TEXTAREA_INPUTS);
39
41
  let IonTextarea = class IonTextarea extends ValueAccessor {
40
42
  z;
41
43
  el;
@@ -49,8 +51,8 @@ let IonTextarea = class IonTextarea extends ValueAccessor {
49
51
  handleIonInput(el) {
50
52
  this.handleValueChange(el, el.value);
51
53
  }
52
- /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonTextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
53
- /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: IonTextarea, isStandalone: true, selector: "ion-textarea", inputs: { autoGrow: "autoGrow", autocapitalize: "autocapitalize", autofocus: "autofocus", clearOnEdit: "clearOnEdit", color: "color", cols: "cols", counter: "counter", counterFormatter: "counterFormatter", debounce: "debounce", disabled: "disabled", enterkeyhint: "enterkeyhint", errorText: "errorText", fill: "fill", helperText: "helperText", inputmode: "inputmode", label: "label", labelPlacement: "labelPlacement", maxlength: "maxlength", minlength: "minlength", mode: "mode", name: "name", placeholder: "placeholder", readonly: "readonly", required: "required", rows: "rows", shape: "shape", spellcheck: "spellcheck", value: "value", wrap: "wrap" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
54
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonTextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
55
+ /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.3", type: IonTextarea, isStandalone: true, selector: "ion-textarea", inputs: { autoGrow: ["autoGrow", "autoGrow", nullableBooleanAttribute], autocapitalize: "autocapitalize", autofocus: ["autofocus", "autofocus", nullableBooleanAttribute], clearOnEdit: ["clearOnEdit", "clearOnEdit", nullableBooleanAttribute], color: "color", cols: "cols", 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", maxlength: "maxlength", minlength: "minlength", mode: "mode", name: "name", placeholder: "placeholder", readonly: ["readonly", "readonly", nullableBooleanAttribute], required: ["required", "required", nullableBooleanAttribute], rows: "rows", shape: "shape", spellcheck: ["spellcheck", "spellcheck", nullableBooleanAttribute], value: "value", wrap: "wrap" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
54
56
  {
55
57
  provide: NG_VALUE_ACCESSOR,
56
58
  useExisting: forwardRef((() => IonTextarea)),
@@ -61,12 +63,12 @@ let IonTextarea = class IonTextarea extends ValueAccessor {
61
63
  IonTextarea = __decorate([
62
64
  ProxyCmp({
63
65
  defineCustomElementFn: defineCustomElement,
64
- inputs: TEXTAREA_INPUTS,
66
+ inputs: TEXTAREA_PROXY_INPUTS,
65
67
  methods: ['setFocus', 'getInputElement'],
66
68
  })
67
69
  ], IonTextarea);
68
70
  export { IonTextarea };
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonTextarea, decorators: [{
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: IonTextarea, decorators: [{
70
72
  type: Component,
71
73
  args: [{
72
74
  selector: 'ion-textarea',
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.js","sourceRoot":"","sources":["../../../src/standalone/directives/textarea.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,UAAU;IACV,gBAAgB;IAChB,WAAW;IACX,aAAa;IACb,OAAO;IACP,MAAM;IACN,SAAS;IACT,kBAAkB;IAClB,UAAU;IACV,UAAU;IACV,cAAc;IACd,WAAW;IACX,MAAM;IACN,YAAY;IACZ,WAAW;IACX,OAAO;IACP,gBAAgB;IAChB,WAAW;IACX,WAAW;IACX,MAAM;IACN,MAAM;IACN,aAAa;IACb,UAAU;IACV,UAAU;IACV,MAAM;IACN,OAAO;IACP,YAAY;IACZ,OAAO;IACP,MAAM;CACP,CAAC;AAsBK,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,aAAa;IAEe;IADjD,EAAE,CA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esContent":["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 { TextareaChangeEventDetail, TextareaInputEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-textarea.js';\n\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst TEXTAREA_INPUTS = [\n 'autoGrow',\n 'autocapitalize',\n 'autofocus',\n 'clearOnEdit',\n 'color',\n 'cols',\n 'counter',\n 'counterFormatter',\n 'debounce',\n 'disabled',\n 'enterkeyhint',\n 'errorText',\n 'fill',\n 'helperText',\n 'inputmode',\n 'label',\n 'labelPlacement',\n 'maxlength',\n 'minlength',\n 'mode',\n 'name',\n 'placeholder',\n 'readonly',\n 'required',\n 'rows',\n 'shape',\n 'spellcheck',\n 'value',\n 'wrap',\n];\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: TEXTAREA_INPUTS,\n methods: ['setFocus', 'getInputElement'],\n})\n@Component({\n selector: 'ion-textarea',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: TEXTAREA_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonTextarea),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonTextarea 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, ['ionChange', 'ionInput', 'ionBlur', 'ionFocus']);\n }\n\n @HostListener('ionInput', ['$event.target'])\n handleIonInput(el: HTMLIonTextareaElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonTextarea extends Components.IonTextarea {\n /**\n * The `ionChange` event is fired when the user modifies the textarea's value.\nUnlike the `ionInput` event, the `ionChange` event is fired when\nthe element loses focus after its value has been modified.\n */\n ionChange: EventEmitter<CustomEvent<TextareaChangeEventDetail>>;\n /**\n * The `ionInput` event is fired each time the user modifies the textarea's value.\nUnlike the `ionChange` event, the `ionInput` event is fired for each alteration\nto the textarea's value. This typically happens for each keystroke as the user types.\n\nWhen `clearOnEdit` is enabled, the `ionInput` event will be fired when\nthe user clears the textarea by performing a keydown event.\n */\n ionInput: EventEmitter<CustomEvent<TextareaInputEventDetail>>;\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":"textarea.js","sourceRoot":"","sources":["../../../src/standalone/directives/textarea.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,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,wBAAwB,EAAE;IACzD,gBAAgB;IAChB,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,wBAAwB,EAAE;IAC1D,EAAE,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,wBAAwB,EAAE;IAC5D,OAAO;IACP,MA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AGvB,wBAAwB,sTAaxB,wBAAwB,sCACxB,wBAAwB,0EAGtB,wBAAwB,oHAkB9C;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,qBAAqB;QAC7B,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC;KACzC,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,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 { TextareaChangeEventDetail, TextareaInputEventDetail, Components } from '@ionic/core/components';\nimport { defineCustomElement } from '@ionic/core/components/ion-textarea.js';\n\nimport { nullableBooleanAttribute } from './angular-component-lib/boolean-attribute';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nconst TEXTAREA_INPUTS = [\n { name: 'autoGrow', transform: nullableBooleanAttribute },\n 'autocapitalize',\n { name: 'autofocus', transform: nullableBooleanAttribute },\n { name: 'clearOnEdit', transform: nullableBooleanAttribute },\n 'color',\n 'cols',\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 'maxlength',\n 'minlength',\n 'mode',\n 'name',\n 'placeholder',\n { name: 'readonly', transform: nullableBooleanAttribute },\n { name: 'required', transform: nullableBooleanAttribute },\n 'rows',\n 'shape',\n { name: 'spellcheck', transform: nullableBooleanAttribute },\n 'value',\n 'wrap',\n];\n\nconst TEXTAREA_PROXY_INPUTS = inputNames(TEXTAREA_INPUTS);\n\n@ProxyCmp({\n defineCustomElementFn: defineCustomElement,\n inputs: TEXTAREA_PROXY_INPUTS,\n methods: ['setFocus', 'getInputElement'],\n})\n@Component({\n selector: 'ion-textarea',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: TEXTAREA_INPUTS,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => IonTextarea),\n multi: true,\n },\n ],\n standalone: true,\n})\nexport class IonTextarea 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, ['ionChange', 'ionInput', 'ionBlur', 'ionFocus']);\n }\n\n @HostListener('ionInput', ['$event.target'])\n handleIonInput(el: HTMLIonTextareaElement): void {\n this.handleValueChange(el, el.value);\n }\n}\n\nexport declare interface IonTextarea extends Components.IonTextarea {\n /**\n * The `ionChange` event is fired when the user modifies the textarea's value.\nUnlike the `ionInput` event, the `ionChange` event is fired when\nthe element loses focus after its value has been modified.\n */\n ionChange: EventEmitter<CustomEvent<TextareaChangeEventDetail>>;\n /**\n * The `ionInput` event is fired each time the user modifies the textarea's value.\nUnlike the `ionChange` event, the `ionInput` event is fired for each alteration\nto the textarea's value. This typically happens for each keystroke as the user types.\n\nWhen `clearOnEdit` is enabled, the `ionInput` event will be fired when\nthe user clears the textarea by performing a keydown event.\n */\n ionInput: EventEmitter<CustomEvent<TextareaInputEventDetail>>;\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"]}