@diwacopilot/components 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (943) hide show
  1. package/dist/cjs/{checkbox-mark-06d56fe2.js → checkbox-mark-CtRWZxo8.js} +0 -2
  2. package/dist/cjs/diwa-accordion.cjs.entry.js +2 -6
  3. package/dist/cjs/diwa-badge.cjs.entry.js +2 -6
  4. package/dist/cjs/diwa-button-pure.cjs.entry.js +2 -6
  5. package/dist/cjs/diwa-button.cjs.entry.js +2 -6
  6. package/dist/cjs/diwa-checkbox.cjs.entry.js +6 -8
  7. package/dist/cjs/diwa-components.cjs.js +7 -10
  8. package/dist/cjs/diwa-divider.cjs.entry.js +1 -5
  9. package/dist/cjs/diwa-flyout.cjs.entry.js +5 -7
  10. package/dist/cjs/diwa-heading.cjs.entry.js +1 -5
  11. package/dist/cjs/diwa-icon.cjs.entry.js +553 -557
  12. package/dist/cjs/diwa-inline-notification.cjs.entry.js +1 -5
  13. package/dist/cjs/diwa-input-date.cjs.entry.js +3 -7
  14. package/dist/cjs/diwa-input-email.cjs.entry.js +3 -7
  15. package/dist/cjs/diwa-input-month.cjs.entry.js +3 -7
  16. package/dist/cjs/diwa-input-number.cjs.entry.js +3 -7
  17. package/dist/cjs/diwa-input-password.cjs.entry.js +3 -7
  18. package/dist/cjs/diwa-input-search.cjs.entry.js +3 -7
  19. package/dist/cjs/diwa-input-tel.cjs.entry.js +3 -7
  20. package/dist/cjs/diwa-input-text.cjs.entry.js +3 -7
  21. package/dist/cjs/diwa-input-time.cjs.entry.js +3 -7
  22. package/dist/cjs/diwa-input-url.cjs.entry.js +3 -7
  23. package/dist/cjs/diwa-input-week.cjs.entry.js +3 -7
  24. package/dist/cjs/diwa-input.cjs.entry.js +2 -6
  25. package/dist/cjs/diwa-link-pure.cjs.entry.js +2 -6
  26. package/dist/cjs/diwa-link.cjs.entry.js +2 -6
  27. package/dist/cjs/diwa-modal.cjs.entry.js +5 -7
  28. package/dist/cjs/diwa-multi-select-option.cjs.entry.js +12 -10
  29. package/dist/cjs/diwa-multi-select.cjs.entry.js +14 -10
  30. package/dist/cjs/diwa-pagination.cjs.entry.js +2 -6
  31. package/dist/cjs/diwa-pin-code.cjs.entry.js +2 -6
  32. package/dist/cjs/diwa-popover.cjs.entry.js +2 -6
  33. package/dist/cjs/diwa-radio-group-item.cjs.entry.js +5 -7
  34. package/dist/cjs/diwa-radio-group.cjs.entry.js +1 -5
  35. package/dist/cjs/diwa-scroller.cjs.entry.js +2 -6
  36. package/dist/cjs/diwa-segmented-control-item.cjs.entry.js +2 -6
  37. package/dist/cjs/diwa-segmented-control.cjs.entry.js +1 -5
  38. package/dist/cjs/diwa-select-option.cjs.entry.js +2 -6
  39. package/dist/cjs/diwa-select.cjs.entry.js +14 -10
  40. package/dist/cjs/diwa-spinner.cjs.entry.js +3 -7
  41. package/dist/cjs/diwa-stepper-horizontal-item.cjs.entry.js +1 -5
  42. package/dist/cjs/diwa-stepper-horizontal.cjs.entry.js +4 -6
  43. package/dist/cjs/diwa-switch.cjs.entry.js +2 -6
  44. package/dist/cjs/diwa-table-body.cjs.entry.js +1 -5
  45. package/dist/cjs/diwa-table-cell.cjs.entry.js +1 -5
  46. package/dist/cjs/diwa-table-head-cell.cjs.entry.js +1 -5
  47. package/dist/cjs/diwa-table-head.cjs.entry.js +1 -5
  48. package/dist/cjs/diwa-table-row.cjs.entry.js +1 -5
  49. package/dist/cjs/diwa-table.cjs.entry.js +1 -5
  50. package/dist/cjs/diwa-tabs-bar.cjs.entry.js +5 -7
  51. package/dist/cjs/diwa-tabs-item.cjs.entry.js +1 -5
  52. package/dist/cjs/diwa-tabs.cjs.entry.js +5 -7
  53. package/dist/cjs/diwa-tag-dismissible.cjs.entry.js +2 -6
  54. package/dist/cjs/diwa-tag.cjs.entry.js +1 -5
  55. package/dist/cjs/diwa-text-list-item.cjs.entry.js +1 -5
  56. package/dist/cjs/diwa-text-list.cjs.entry.js +1 -5
  57. package/dist/cjs/diwa-text.cjs.entry.js +1 -5
  58. package/dist/cjs/diwa-textarea.cjs.entry.js +2 -6
  59. package/dist/cjs/diwa-toast-item.cjs.entry.js +2 -6
  60. package/dist/cjs/diwa-toast.cjs.entry.js +1 -5
  61. package/dist/cjs/index-Bq2UsXlc.js +1633 -0
  62. package/dist/cjs/index.cjs.js +0 -2
  63. package/dist/cjs/{input-styles-bac68ebc.js → input-styles-6kXkwbQg.js} +1 -3
  64. package/dist/cjs/{loader-circle-938f782b.js → loader-circle-ffvGKJXL.js} +0 -2
  65. package/dist/cjs/loader.cjs.js +3 -8
  66. package/dist/cjs/{styles-6342300d.js → styles-5PsdHYbv.js} +0 -2
  67. package/dist/collection/collection-manifest.json +3 -2
  68. package/dist/collection/components/diwa-accordion/diwa-accordion-styles.js +0 -1
  69. package/dist/collection/components/diwa-accordion/diwa-accordion.js +9 -8
  70. package/dist/collection/components/diwa-accordion/types.js +0 -1
  71. package/dist/collection/components/diwa-badge/diwa-badge-styles.js +0 -1
  72. package/dist/collection/components/diwa-badge/diwa-badge.js +12 -10
  73. package/dist/collection/components/diwa-badge/types.js +0 -1
  74. package/dist/collection/components/diwa-button/diwa-button-styles.js +0 -1
  75. package/dist/collection/components/diwa-button/diwa-button-utils.js +0 -1
  76. package/dist/collection/components/diwa-button/diwa-button.js +26 -23
  77. package/dist/collection/components/diwa-button/types.js +0 -1
  78. package/dist/collection/components/diwa-button-pure/diwa-button-pure-styles.js +0 -1
  79. package/dist/collection/components/diwa-button-pure/diwa-button-pure-utils.js +0 -1
  80. package/dist/collection/components/diwa-button-pure/diwa-button-pure.js +29 -26
  81. package/dist/collection/components/diwa-button-pure/types.js +0 -1
  82. package/dist/collection/components/diwa-checkbox/diwa-checkbox-styles.js +0 -1
  83. package/dist/collection/components/diwa-checkbox/diwa-checkbox.js +16 -15
  84. package/dist/collection/components/diwa-checkbox/types.js +0 -1
  85. package/dist/collection/components/diwa-divider/diwa-divider-styles.js +0 -1
  86. package/dist/collection/components/diwa-divider/diwa-divider.js +6 -5
  87. package/dist/collection/components/diwa-divider/types.js +0 -1
  88. package/dist/collection/components/diwa-flyout/diwa-flyout-styles.js +0 -1
  89. package/dist/collection/components/diwa-flyout/diwa-flyout.js +11 -9
  90. package/dist/collection/components/diwa-flyout/types.js +0 -1
  91. package/dist/collection/components/diwa-heading/diwa-heading-styles.js +0 -1
  92. package/dist/collection/components/diwa-heading/diwa-heading-utils.js +0 -1
  93. package/dist/collection/components/diwa-heading/diwa-heading.js +20 -15
  94. package/dist/collection/components/diwa-heading/types.js +0 -1
  95. package/dist/collection/components/diwa-icon/diwa-icon-styles.js +0 -1
  96. package/dist/collection/components/diwa-icon/diwa-icon.js +8 -8
  97. package/dist/collection/components/diwa-icon/types.js +0 -1
  98. package/dist/collection/components/diwa-inline-notification/diwa-inline-notification-styles.js +0 -1
  99. package/dist/collection/components/diwa-inline-notification/diwa-inline-notification.js +12 -11
  100. package/dist/collection/components/diwa-inline-notification/types.js +0 -1
  101. package/dist/collection/components/diwa-input/diwa-input-styles.js +0 -1
  102. package/dist/collection/components/diwa-input/diwa-input.js +25 -23
  103. package/dist/collection/components/diwa-input/input-styles.js +0 -1
  104. package/dist/collection/components/diwa-input/types.js +0 -1
  105. package/dist/collection/components/diwa-input-date/diwa-input-date-styles.js +0 -1
  106. package/dist/collection/components/diwa-input-date/diwa-input-date.js +23 -22
  107. package/dist/collection/components/diwa-input-email/diwa-input-email-styles.js +0 -1
  108. package/dist/collection/components/diwa-input-email/diwa-input-email.js +19 -18
  109. package/dist/collection/components/diwa-input-month/diwa-input-month-styles.js +0 -1
  110. package/dist/collection/components/diwa-input-month/diwa-input-month.js +23 -22
  111. package/dist/collection/components/diwa-input-number/diwa-input-number-styles.js +0 -1
  112. package/dist/collection/components/diwa-input-number/diwa-input-number.js +25 -24
  113. package/dist/collection/components/diwa-input-password/diwa-input-password-styles.js +0 -1
  114. package/dist/collection/components/diwa-input-password/diwa-input-password.js +20 -19
  115. package/dist/collection/components/diwa-input-search/diwa-input-search-styles.js +0 -1
  116. package/dist/collection/components/diwa-input-search/diwa-input-search.js +20 -19
  117. package/dist/collection/components/diwa-input-tel/diwa-input-tel-styles.js +0 -1
  118. package/dist/collection/components/diwa-input-tel/diwa-input-tel.js +19 -18
  119. package/dist/collection/components/diwa-input-text/diwa-input-text-styles.js +0 -1
  120. package/dist/collection/components/diwa-input-text/diwa-input-text.js +25 -24
  121. package/dist/collection/components/diwa-input-time/diwa-input-time-styles.js +0 -1
  122. package/dist/collection/components/diwa-input-time/diwa-input-time.js +25 -24
  123. package/dist/collection/components/diwa-input-url/diwa-input-url-styles.js +0 -1
  124. package/dist/collection/components/diwa-input-url/diwa-input-url.js +19 -18
  125. package/dist/collection/components/diwa-input-week/diwa-input-week-styles.js +0 -1
  126. package/dist/collection/components/diwa-input-week/diwa-input-week.js +23 -22
  127. package/dist/collection/components/diwa-link/diwa-link-styles.js +0 -1
  128. package/dist/collection/components/diwa-link/diwa-link.js +21 -19
  129. package/dist/collection/components/diwa-link/types.js +0 -1
  130. package/dist/collection/components/diwa-link-pure/diwa-link-pure-styles.js +0 -1
  131. package/dist/collection/components/diwa-link-pure/diwa-link-pure.js +25 -22
  132. package/dist/collection/components/diwa-link-pure/types.js +0 -1
  133. package/dist/collection/components/diwa-modal/diwa-modal-styles.js +0 -1
  134. package/dist/collection/components/diwa-modal/diwa-modal-utils.js +0 -1
  135. package/dist/collection/components/diwa-modal/diwa-modal.js +11 -10
  136. package/dist/collection/components/diwa-modal/types.js +0 -1
  137. package/dist/collection/components/diwa-multi-select/diwa-multi-select-styles.js +0 -1
  138. package/dist/collection/components/diwa-multi-select/diwa-multi-select.js +24 -20
  139. package/dist/collection/components/diwa-multi-select/types.js +0 -1
  140. package/dist/collection/components/diwa-multi-select-option/diwa-multi-select-option-styles.js +0 -1
  141. package/dist/collection/components/diwa-multi-select-option/diwa-multi-select-option.js +9 -9
  142. package/dist/collection/components/diwa-multi-select-option/types.js +0 -1
  143. package/dist/collection/components/diwa-pagination/diwa-pagination-styles.js +0 -1
  144. package/dist/collection/components/diwa-pagination/diwa-pagination-utils.js +0 -1
  145. package/dist/collection/components/diwa-pagination/diwa-pagination.js +12 -10
  146. package/dist/collection/components/diwa-pagination/types.js +0 -1
  147. package/dist/collection/components/diwa-pin-code/diwa-pin-code-styles.js +0 -1
  148. package/dist/collection/components/diwa-pin-code/diwa-pin-code.js +20 -17
  149. package/dist/collection/components/diwa-pin-code/types.js +0 -1
  150. package/dist/collection/components/diwa-popover/diwa-popover-styles.js +0 -1
  151. package/dist/collection/components/diwa-popover/diwa-popover.js +8 -7
  152. package/dist/collection/components/diwa-popover/types.js +0 -1
  153. package/dist/collection/components/diwa-radio-group/diwa-radio-group-styles.js +0 -1
  154. package/dist/collection/components/diwa-radio-group/diwa-radio-group.js +20 -17
  155. package/dist/collection/components/diwa-radio-group/types.js +0 -1
  156. package/dist/collection/components/diwa-radio-group-item/diwa-radio-group-item-styles.js +0 -1
  157. package/dist/collection/components/diwa-radio-group-item/diwa-radio-group-item.js +8 -8
  158. package/dist/collection/components/diwa-scroller/diwa-scroller-styles.js +0 -1
  159. package/dist/collection/components/diwa-scroller/diwa-scroller.js +7 -6
  160. package/dist/collection/components/diwa-scroller/types.js +0 -1
  161. package/dist/collection/components/diwa-segmented-control/diwa-segmented-control-styles.js +0 -1
  162. package/dist/collection/components/diwa-segmented-control/diwa-segmented-control.js +8 -7
  163. package/dist/collection/components/diwa-segmented-control/types.js +0 -1
  164. package/dist/collection/components/diwa-segmented-control-item/diwa-segmented-control-item-styles.js +0 -1
  165. package/dist/collection/components/diwa-segmented-control-item/diwa-segmented-control-item.js +7 -7
  166. package/dist/collection/components/diwa-select/diwa-select-styles.js +0 -1
  167. package/dist/collection/components/diwa-select/diwa-select.js +26 -22
  168. package/dist/collection/components/diwa-select/types.js +0 -1
  169. package/dist/collection/components/diwa-select-option/diwa-select-option-styles.js +0 -1
  170. package/dist/collection/components/diwa-select-option/diwa-select-option.js +9 -9
  171. package/dist/collection/components/diwa-select-option/types.js +0 -1
  172. package/dist/collection/components/diwa-spinner/diwa-spinner-styles.js +0 -1
  173. package/dist/collection/components/diwa-spinner/diwa-spinner.js +7 -6
  174. package/dist/collection/components/diwa-spinner/types.js +0 -1
  175. package/dist/collection/components/diwa-stepper-horizontal/diwa-stepper-horizontal-styles.js +0 -1
  176. package/dist/collection/components/diwa-stepper-horizontal/diwa-stepper-horizontal.js +6 -5
  177. package/dist/collection/components/diwa-stepper-horizontal/types.js +0 -1
  178. package/dist/collection/components/diwa-stepper-horizontal-item/diwa-stepper-horizontal-item-styles.js +0 -1
  179. package/dist/collection/components/diwa-stepper-horizontal-item/diwa-stepper-horizontal-item.js +10 -9
  180. package/dist/collection/components/diwa-stepper-horizontal-item/types.js +0 -1
  181. package/dist/collection/components/diwa-switch/diwa-switch-styles.js +0 -1
  182. package/dist/collection/components/diwa-switch/diwa-switch.js +12 -10
  183. package/dist/collection/components/diwa-switch/types.js +0 -1
  184. package/dist/collection/components/diwa-table/diwa-table-styles.js +0 -1
  185. package/dist/collection/components/diwa-table/diwa-table.js +10 -9
  186. package/dist/collection/components/diwa-table-body/diwa-table-body-styles.js +0 -1
  187. package/dist/collection/components/diwa-table-body/diwa-table-body.js +3 -3
  188. package/dist/collection/components/diwa-table-cell/diwa-table-cell-styles.js +0 -1
  189. package/dist/collection/components/diwa-table-cell/diwa-table-cell.js +4 -4
  190. package/dist/collection/components/diwa-table-head/diwa-table-head-styles.js +0 -1
  191. package/dist/collection/components/diwa-table-head/diwa-table-head.js +3 -3
  192. package/dist/collection/components/diwa-table-head-cell/diwa-table-head-cell-styles.js +0 -1
  193. package/dist/collection/components/diwa-table-head-cell/diwa-table-head-cell.js +7 -6
  194. package/dist/collection/components/diwa-table-head-cell/types.js +0 -1
  195. package/dist/collection/components/diwa-table-row/diwa-table-row-styles.js +0 -1
  196. package/dist/collection/components/diwa-table-row/diwa-table-row.js +3 -3
  197. package/dist/collection/components/diwa-tabs/diwa-tabs-styles.js +0 -1
  198. package/dist/collection/components/diwa-tabs/diwa-tabs.js +6 -5
  199. package/dist/collection/components/diwa-tabs/types.js +0 -1
  200. package/dist/collection/components/diwa-tabs-bar/diwa-tabs-bar-styles.js +0 -1
  201. package/dist/collection/components/diwa-tabs-bar/diwa-tabs-bar.js +6 -5
  202. package/dist/collection/components/diwa-tabs-bar/types.js +0 -1
  203. package/dist/collection/components/diwa-tabs-item/diwa-tabs-item-styles.js +0 -1
  204. package/dist/collection/components/diwa-tabs-item/diwa-tabs-item.js +5 -5
  205. package/dist/collection/components/diwa-tag/diwa-tag-styles.js +0 -1
  206. package/dist/collection/components/diwa-tag/diwa-tag.js +9 -8
  207. package/dist/collection/components/diwa-tag/types.js +0 -1
  208. package/dist/collection/components/diwa-tag-dismissible/diwa-tag-dismissible-styles.js +0 -1
  209. package/dist/collection/components/diwa-tag-dismissible/diwa-tag-dismissible.js +8 -7
  210. package/dist/collection/components/diwa-tag-dismissible/types.js +0 -1
  211. package/dist/collection/components/diwa-text/diwa-text-styles.js +0 -1
  212. package/dist/collection/components/diwa-text/diwa-text.js +19 -14
  213. package/dist/collection/components/diwa-text/types.js +0 -1
  214. package/dist/collection/components/diwa-text-list/diwa-text-list-styles.js +0 -1
  215. package/dist/collection/components/diwa-text-list/diwa-text-list.js +6 -5
  216. package/dist/collection/components/diwa-text-list/types.js +0 -1
  217. package/dist/collection/components/diwa-text-list-item/diwa-text-list-item-styles.js +0 -1
  218. package/dist/collection/components/diwa-text-list-item/diwa-text-list-item.js +3 -3
  219. package/dist/collection/components/diwa-textarea/diwa-textarea-styles.js +0 -1
  220. package/dist/collection/components/diwa-textarea/diwa-textarea.js +25 -23
  221. package/dist/collection/components/diwa-textarea/types.js +0 -1
  222. package/dist/collection/components/diwa-toast/diwa-toast-manager.js +0 -1
  223. package/dist/collection/components/diwa-toast/diwa-toast-styles.js +0 -1
  224. package/dist/collection/components/diwa-toast/diwa-toast.js +5 -4
  225. package/dist/collection/components/diwa-toast/types.js +0 -1
  226. package/dist/collection/components/diwa-toast-item/diwa-toast-item-styles.js +0 -1
  227. package/dist/collection/components/diwa-toast-item/diwa-toast-item.js +7 -6
  228. package/dist/collection/components/diwa-toast-item/types.js +0 -1
  229. package/dist/collection/styles/index.js +0 -1
  230. package/dist/collection/utils/checkbox-mark.js +0 -1
  231. package/dist/collection/utils/styles.js +0 -1
  232. package/dist/diwa-components/diwa-components.esm.js +1 -2
  233. package/dist/diwa-components/index.esm.js +0 -2
  234. package/dist/diwa-components/p-0464bec9.entry.js +1 -0
  235. package/dist/diwa-components/p-0b64284f.entry.js +1 -0
  236. package/dist/diwa-components/p-1444a9ab.entry.js +1 -0
  237. package/dist/diwa-components/p-1477c011.entry.js +1 -0
  238. package/dist/diwa-components/p-1fd1e80f.entry.js +1 -0
  239. package/dist/diwa-components/p-2c91a89f.entry.js +1 -0
  240. package/dist/diwa-components/p-2df54c74.entry.js +1 -0
  241. package/dist/diwa-components/p-31a1a9d0.entry.js +1 -0
  242. package/dist/diwa-components/p-32f6f60f.entry.js +1 -0
  243. package/dist/diwa-components/p-3470cacf.entry.js +1 -0
  244. package/dist/diwa-components/p-3646d89c.entry.js +1 -0
  245. package/dist/diwa-components/p-381a9636.entry.js +1 -0
  246. package/dist/diwa-components/p-42c2e78f.entry.js +1 -0
  247. package/dist/diwa-components/p-441b5572.entry.js +20 -0
  248. package/dist/diwa-components/p-4eb10d53.entry.js +1 -0
  249. package/dist/diwa-components/p-56065aae.entry.js +1 -0
  250. package/dist/diwa-components/p-5ac35f24.entry.js +1 -0
  251. package/dist/diwa-components/p-5f3eb06c.entry.js +1 -0
  252. package/dist/diwa-components/p-5f6acee8.entry.js +1 -0
  253. package/dist/diwa-components/p-60b7d800.entry.js +1 -0
  254. package/dist/diwa-components/p-62ceff1c.entry.js +1 -0
  255. package/dist/diwa-components/p-64eba4ff.entry.js +1 -0
  256. package/dist/diwa-components/p-666a454d.entry.js +1 -0
  257. package/dist/diwa-components/p-66e52853.entry.js +1 -0
  258. package/dist/diwa-components/p-6854dbc2.entry.js +1 -0
  259. package/dist/diwa-components/p-705e3591.entry.js +1 -0
  260. package/dist/diwa-components/p-751c1cec.entry.js +1 -0
  261. package/dist/diwa-components/p-75fc7b78.entry.js +1 -0
  262. package/dist/diwa-components/p-7685a36c.entry.js +1 -0
  263. package/dist/diwa-components/p-79285ede.entry.js +1 -0
  264. package/dist/diwa-components/p-7f8b0415.entry.js +1 -0
  265. package/dist/diwa-components/p-8382b5c1.entry.js +1 -0
  266. package/dist/diwa-components/p-83f30c46.entry.js +1 -0
  267. package/dist/diwa-components/p-8935224c.entry.js +1 -0
  268. package/dist/diwa-components/p-8dc451e9.entry.js +1 -0
  269. package/dist/diwa-components/{p-878039a1.entry.js → p-90908708.entry.js} +1 -2
  270. package/dist/diwa-components/p-93c272e7.entry.js +1 -0
  271. package/dist/diwa-components/p-BwlWwC6a.js +1 -0
  272. package/dist/diwa-components/p-Bxp9mYAq.js +1 -0
  273. package/dist/{esm/loader-circle-300f00a4.js → diwa-components/p-C2RYv3Oc.js} +1 -6
  274. package/dist/diwa-components/p-C8h0Vfqp.js +1 -0
  275. package/dist/diwa-components/p-aca3021c.entry.js +1 -0
  276. package/dist/diwa-components/p-af3c7852.entry.js +1 -0
  277. package/dist/diwa-components/p-af5ea6ca.entry.js +1 -0
  278. package/dist/diwa-components/p-b6ac25e9.entry.js +1 -0
  279. package/dist/diwa-components/p-b703e5ba.entry.js +1 -0
  280. package/dist/diwa-components/p-b731e0ff.entry.js +1 -0
  281. package/dist/diwa-components/p-b8033105.entry.js +1 -0
  282. package/dist/diwa-components/p-b9405336.entry.js +1 -0
  283. package/dist/diwa-components/p-beddaf7c.entry.js +1 -0
  284. package/dist/diwa-components/p-c3f84fe0.entry.js +1 -0
  285. package/dist/diwa-components/p-c976a4f6.entry.js +1 -0
  286. package/dist/diwa-components/p-cf210625.entry.js +1 -0
  287. package/dist/diwa-components/p-d2bbb7e5.entry.js +1 -0
  288. package/dist/diwa-components/p-d5854ff6.entry.js +1 -0
  289. package/dist/diwa-components/p-da77bfd3.entry.js +1 -0
  290. package/dist/diwa-components/p-e4899408.entry.js +1 -0
  291. package/dist/diwa-components/p-e9087552.entry.js +1 -0
  292. package/dist/diwa-components/p-eecd810e.entry.js +1 -0
  293. package/dist/diwa-components/p-f1f5912b.entry.js +1 -0
  294. package/dist/diwa-components/p-f3d75c79.entry.js +1 -0
  295. package/dist/diwa-components/p-faa007fa.entry.js +1 -0
  296. package/dist/diwa-components/p-rIMpxxZG.js +2 -0
  297. package/{dist-custom-elements/p-332838f8.js → dist/esm/checkbox-mark-Bxp9mYAq.js} +0 -2
  298. package/dist/esm/diwa-accordion.entry.js +2 -4
  299. package/dist/esm/diwa-badge.entry.js +2 -4
  300. package/dist/esm/diwa-button-pure.entry.js +2 -4
  301. package/dist/esm/diwa-button.entry.js +2 -4
  302. package/dist/esm/diwa-checkbox.entry.js +6 -6
  303. package/dist/esm/diwa-components.js +5 -7
  304. package/dist/esm/diwa-divider.entry.js +1 -3
  305. package/dist/esm/diwa-flyout.entry.js +5 -5
  306. package/dist/esm/diwa-heading.entry.js +1 -3
  307. package/dist/esm/diwa-icon.entry.js +553 -555
  308. package/dist/esm/diwa-inline-notification.entry.js +1 -3
  309. package/dist/esm/diwa-input-date.entry.js +3 -5
  310. package/dist/esm/diwa-input-email.entry.js +3 -5
  311. package/dist/esm/diwa-input-month.entry.js +3 -5
  312. package/dist/esm/diwa-input-number.entry.js +3 -5
  313. package/dist/esm/diwa-input-password.entry.js +3 -5
  314. package/dist/esm/diwa-input-search.entry.js +3 -5
  315. package/dist/esm/diwa-input-tel.entry.js +3 -5
  316. package/dist/esm/diwa-input-text.entry.js +3 -5
  317. package/dist/esm/diwa-input-time.entry.js +3 -5
  318. package/dist/esm/diwa-input-url.entry.js +3 -5
  319. package/dist/esm/diwa-input-week.entry.js +3 -5
  320. package/dist/esm/diwa-input.entry.js +2 -4
  321. package/dist/esm/diwa-link-pure.entry.js +2 -4
  322. package/dist/esm/diwa-link.entry.js +2 -4
  323. package/dist/esm/diwa-modal.entry.js +5 -5
  324. package/dist/esm/diwa-multi-select-option.entry.js +12 -8
  325. package/dist/esm/diwa-multi-select.entry.js +14 -8
  326. package/dist/esm/diwa-pagination.entry.js +2 -4
  327. package/dist/esm/diwa-pin-code.entry.js +2 -4
  328. package/dist/esm/diwa-popover.entry.js +2 -4
  329. package/dist/esm/diwa-radio-group-item.entry.js +5 -5
  330. package/dist/esm/diwa-radio-group.entry.js +1 -3
  331. package/dist/esm/diwa-scroller.entry.js +2 -4
  332. package/dist/esm/diwa-segmented-control-item.entry.js +2 -4
  333. package/dist/esm/diwa-segmented-control.entry.js +1 -3
  334. package/dist/esm/diwa-select-option.entry.js +2 -4
  335. package/dist/esm/diwa-select.entry.js +14 -8
  336. package/dist/esm/diwa-spinner.entry.js +3 -5
  337. package/dist/esm/diwa-stepper-horizontal-item.entry.js +1 -3
  338. package/dist/esm/diwa-stepper-horizontal.entry.js +4 -4
  339. package/dist/esm/diwa-switch.entry.js +2 -4
  340. package/dist/esm/diwa-table-body.entry.js +1 -3
  341. package/dist/esm/diwa-table-cell.entry.js +1 -3
  342. package/dist/esm/diwa-table-head-cell.entry.js +1 -3
  343. package/dist/esm/diwa-table-head.entry.js +1 -3
  344. package/dist/esm/diwa-table-row.entry.js +1 -3
  345. package/dist/esm/diwa-table.entry.js +1 -3
  346. package/dist/esm/diwa-tabs-bar.entry.js +5 -5
  347. package/dist/esm/diwa-tabs-item.entry.js +1 -3
  348. package/dist/esm/diwa-tabs.entry.js +5 -5
  349. package/dist/esm/diwa-tag-dismissible.entry.js +2 -4
  350. package/dist/esm/diwa-tag.entry.js +1 -3
  351. package/dist/esm/diwa-text-list-item.entry.js +1 -3
  352. package/dist/esm/diwa-text-list.entry.js +1 -3
  353. package/dist/esm/diwa-text.entry.js +1 -3
  354. package/dist/esm/diwa-textarea.entry.js +2 -4
  355. package/dist/esm/diwa-toast-item.entry.js +2 -4
  356. package/dist/esm/diwa-toast.entry.js +1 -3
  357. package/dist/esm/index-rIMpxxZG.js +1622 -0
  358. package/dist/esm/index.js +0 -2
  359. package/{dist-custom-elements/p-35c7c864.js → dist/esm/input-styles-C-F9Vg7B.js} +1 -3
  360. package/{dist-custom-elements/p-ac8e14be.js → dist/esm/loader-circle-C2RYv3Oc.js} +0 -2
  361. package/dist/esm/loader.js +3 -6
  362. package/{dist-custom-elements/p-70bbb21a.js → dist/esm/styles-C8h0Vfqp.js} +1 -3
  363. package/dist/types/components.d.ts +2091 -116
  364. package/dist/types/stencil-public-runtime.d.ts +192 -12
  365. package/dist-custom-elements/diwa-accordion.js +1 -244
  366. package/dist-custom-elements/diwa-badge.js +1 -166
  367. package/dist-custom-elements/diwa-button-pure.js +1 -8
  368. package/dist-custom-elements/diwa-button.js +1 -455
  369. package/dist-custom-elements/diwa-checkbox.js +1 -315
  370. package/dist-custom-elements/diwa-divider.js +1 -85
  371. package/dist-custom-elements/diwa-flyout.js +1 -238
  372. package/dist-custom-elements/diwa-heading.js +1 -149
  373. package/dist-custom-elements/diwa-icon.js +1 -8
  374. package/dist-custom-elements/diwa-inline-notification.js +1 -214
  375. package/dist-custom-elements/diwa-input-date.js +1 -91
  376. package/dist-custom-elements/diwa-input-email.js +1 -89
  377. package/dist-custom-elements/diwa-input-month.js +1 -91
  378. package/dist-custom-elements/diwa-input-number.js +1 -92
  379. package/dist-custom-elements/diwa-input-password.js +1 -105
  380. package/dist-custom-elements/diwa-input-search.js +1 -104
  381. package/dist-custom-elements/diwa-input-tel.js +1 -89
  382. package/dist-custom-elements/diwa-input-text.js +1 -94
  383. package/dist-custom-elements/diwa-input-time.js +1 -92
  384. package/dist-custom-elements/diwa-input-url.js +1 -89
  385. package/dist-custom-elements/diwa-input-week.js +1 -91
  386. package/dist-custom-elements/diwa-input.js +1 -268
  387. package/dist-custom-elements/diwa-link-pure.js +1 -217
  388. package/dist-custom-elements/diwa-link.js +1 -258
  389. package/dist-custom-elements/diwa-modal.js +1 -431
  390. package/dist-custom-elements/diwa-multi-select-option.js +1 -199
  391. package/dist-custom-elements/diwa-multi-select.js +1 -683
  392. package/dist-custom-elements/diwa-pagination.js +1 -329
  393. package/dist-custom-elements/diwa-pin-code.js +1 -220
  394. package/dist-custom-elements/diwa-popover.js +1 -122
  395. package/dist-custom-elements/diwa-radio-group-item.js +1 -160
  396. package/dist-custom-elements/diwa-radio-group.js +1 -178
  397. package/dist-custom-elements/diwa-scroller.js +1 -185
  398. package/dist-custom-elements/diwa-segmented-control-item.js +1 -98
  399. package/dist-custom-elements/diwa-segmented-control.js +1 -88
  400. package/dist-custom-elements/diwa-select-option.js +1 -185
  401. package/dist-custom-elements/diwa-select.js +1 -614
  402. package/dist-custom-elements/diwa-spinner.js +1 -8
  403. package/dist-custom-elements/diwa-stepper-horizontal-item.js +1 -140
  404. package/dist-custom-elements/diwa-stepper-horizontal.js +1 -98
  405. package/dist-custom-elements/diwa-switch.js +1 -162
  406. package/dist-custom-elements/diwa-table-body.js +1 -44
  407. package/dist-custom-elements/diwa-table-cell.js +1 -54
  408. package/dist-custom-elements/diwa-table-head-cell.js +1 -131
  409. package/dist-custom-elements/diwa-table-head.js +1 -53
  410. package/dist-custom-elements/diwa-table-row.js +1 -48
  411. package/dist-custom-elements/diwa-table.js +1 -135
  412. package/dist-custom-elements/diwa-tabs-bar.js +1 -251
  413. package/dist-custom-elements/diwa-tabs-item.js +1 -56
  414. package/dist-custom-elements/diwa-tabs.js +1 -137
  415. package/dist-custom-elements/diwa-tag-dismissible.js +1 -132
  416. package/dist-custom-elements/diwa-tag.js +1 -118
  417. package/dist-custom-elements/diwa-text-list-item.js +1 -51
  418. package/dist-custom-elements/diwa-text-list.js +1 -67
  419. package/dist-custom-elements/diwa-text.js +1 -110
  420. package/dist-custom-elements/diwa-textarea.js +1 -191
  421. package/dist-custom-elements/diwa-toast-item.js +1 -8
  422. package/dist-custom-elements/diwa-toast.js +1 -191
  423. package/dist-custom-elements/index.js +1 -3
  424. package/dist-custom-elements/p--KdL_8_k.js +1 -0
  425. package/dist-custom-elements/p-BwlWwC6a.js +1 -0
  426. package/dist-custom-elements/p-Bxp9mYAq.js +1 -0
  427. package/{dist/diwa-components/p-ac8e14be.js → dist-custom-elements/p-C2RYv3Oc.js} +1 -2
  428. package/dist-custom-elements/p-C3hNpgqg.js +1 -0
  429. package/dist-custom-elements/p-C8h0Vfqp.js +1 -0
  430. package/dist-custom-elements/p-DOo0FY37.js +20 -0
  431. package/dist-custom-elements/p-DzqnTNg7.js +1 -0
  432. package/package.json +3 -3
  433. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  434. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  435. package/dist/cjs/checkbox-mark-06d56fe2.js.map +0 -1
  436. package/dist/cjs/diwa-accordion.cjs.entry.js.map +0 -1
  437. package/dist/cjs/diwa-badge.cjs.entry.js.map +0 -1
  438. package/dist/cjs/diwa-button-pure.cjs.entry.js.map +0 -1
  439. package/dist/cjs/diwa-button.cjs.entry.js.map +0 -1
  440. package/dist/cjs/diwa-checkbox.cjs.entry.js.map +0 -1
  441. package/dist/cjs/diwa-components.cjs.js.map +0 -1
  442. package/dist/cjs/diwa-divider.cjs.entry.js.map +0 -1
  443. package/dist/cjs/diwa-flyout.cjs.entry.js.map +0 -1
  444. package/dist/cjs/diwa-heading.cjs.entry.js.map +0 -1
  445. package/dist/cjs/diwa-icon.cjs.entry.js.map +0 -1
  446. package/dist/cjs/diwa-inline-notification.cjs.entry.js.map +0 -1
  447. package/dist/cjs/diwa-input-date.cjs.entry.js.map +0 -1
  448. package/dist/cjs/diwa-input-email.cjs.entry.js.map +0 -1
  449. package/dist/cjs/diwa-input-month.cjs.entry.js.map +0 -1
  450. package/dist/cjs/diwa-input-number.cjs.entry.js.map +0 -1
  451. package/dist/cjs/diwa-input-password.cjs.entry.js.map +0 -1
  452. package/dist/cjs/diwa-input-search.cjs.entry.js.map +0 -1
  453. package/dist/cjs/diwa-input-tel.cjs.entry.js.map +0 -1
  454. package/dist/cjs/diwa-input-text.cjs.entry.js.map +0 -1
  455. package/dist/cjs/diwa-input-time.cjs.entry.js.map +0 -1
  456. package/dist/cjs/diwa-input-url.cjs.entry.js.map +0 -1
  457. package/dist/cjs/diwa-input-week.cjs.entry.js.map +0 -1
  458. package/dist/cjs/diwa-input.cjs.entry.js.map +0 -1
  459. package/dist/cjs/diwa-link-pure.cjs.entry.js.map +0 -1
  460. package/dist/cjs/diwa-link.cjs.entry.js.map +0 -1
  461. package/dist/cjs/diwa-modal.cjs.entry.js.map +0 -1
  462. package/dist/cjs/diwa-multi-select-option.cjs.entry.js.map +0 -1
  463. package/dist/cjs/diwa-multi-select.cjs.entry.js.map +0 -1
  464. package/dist/cjs/diwa-pagination.cjs.entry.js.map +0 -1
  465. package/dist/cjs/diwa-pin-code.cjs.entry.js.map +0 -1
  466. package/dist/cjs/diwa-popover.cjs.entry.js.map +0 -1
  467. package/dist/cjs/diwa-radio-group-item.cjs.entry.js.map +0 -1
  468. package/dist/cjs/diwa-radio-group.cjs.entry.js.map +0 -1
  469. package/dist/cjs/diwa-scroller.cjs.entry.js.map +0 -1
  470. package/dist/cjs/diwa-segmented-control-item.cjs.entry.js.map +0 -1
  471. package/dist/cjs/diwa-segmented-control.cjs.entry.js.map +0 -1
  472. package/dist/cjs/diwa-select-option.cjs.entry.js.map +0 -1
  473. package/dist/cjs/diwa-select.cjs.entry.js.map +0 -1
  474. package/dist/cjs/diwa-spinner.cjs.entry.js.map +0 -1
  475. package/dist/cjs/diwa-stepper-horizontal-item.cjs.entry.js.map +0 -1
  476. package/dist/cjs/diwa-stepper-horizontal.cjs.entry.js.map +0 -1
  477. package/dist/cjs/diwa-switch.cjs.entry.js.map +0 -1
  478. package/dist/cjs/diwa-table-body.cjs.entry.js.map +0 -1
  479. package/dist/cjs/diwa-table-cell.cjs.entry.js.map +0 -1
  480. package/dist/cjs/diwa-table-head-cell.cjs.entry.js.map +0 -1
  481. package/dist/cjs/diwa-table-head.cjs.entry.js.map +0 -1
  482. package/dist/cjs/diwa-table-row.cjs.entry.js.map +0 -1
  483. package/dist/cjs/diwa-table.cjs.entry.js.map +0 -1
  484. package/dist/cjs/diwa-tabs-bar.cjs.entry.js.map +0 -1
  485. package/dist/cjs/diwa-tabs-item.cjs.entry.js.map +0 -1
  486. package/dist/cjs/diwa-tabs.cjs.entry.js.map +0 -1
  487. package/dist/cjs/diwa-tag-dismissible.cjs.entry.js.map +0 -1
  488. package/dist/cjs/diwa-tag.cjs.entry.js.map +0 -1
  489. package/dist/cjs/diwa-text-list-item.cjs.entry.js.map +0 -1
  490. package/dist/cjs/diwa-text-list.cjs.entry.js.map +0 -1
  491. package/dist/cjs/diwa-text.cjs.entry.js.map +0 -1
  492. package/dist/cjs/diwa-textarea.cjs.entry.js.map +0 -1
  493. package/dist/cjs/diwa-toast-item.cjs.entry.js.map +0 -1
  494. package/dist/cjs/diwa-toast.cjs.entry.js.map +0 -1
  495. package/dist/cjs/index-d665fd57.js +0 -1409
  496. package/dist/cjs/index-d665fd57.js.map +0 -1
  497. package/dist/cjs/index.cjs.js.map +0 -1
  498. package/dist/cjs/input-styles-bac68ebc.js.map +0 -1
  499. package/dist/cjs/loader-circle-938f782b.js.map +0 -1
  500. package/dist/cjs/loader.cjs.js.map +0 -1
  501. package/dist/cjs/styles-6342300d.js.map +0 -1
  502. package/dist/collection/components/diwa-accordion/diwa-accordion-styles.js.map +0 -1
  503. package/dist/collection/components/diwa-accordion/diwa-accordion.js.map +0 -1
  504. package/dist/collection/components/diwa-accordion/types.js.map +0 -1
  505. package/dist/collection/components/diwa-badge/diwa-badge-styles.js.map +0 -1
  506. package/dist/collection/components/diwa-badge/diwa-badge.js.map +0 -1
  507. package/dist/collection/components/diwa-badge/types.js.map +0 -1
  508. package/dist/collection/components/diwa-button/diwa-button-styles.js.map +0 -1
  509. package/dist/collection/components/diwa-button/diwa-button-utils.js.map +0 -1
  510. package/dist/collection/components/diwa-button/diwa-button.js.map +0 -1
  511. package/dist/collection/components/diwa-button/types.js.map +0 -1
  512. package/dist/collection/components/diwa-button-pure/diwa-button-pure-styles.js.map +0 -1
  513. package/dist/collection/components/diwa-button-pure/diwa-button-pure-utils.js.map +0 -1
  514. package/dist/collection/components/diwa-button-pure/diwa-button-pure.js.map +0 -1
  515. package/dist/collection/components/diwa-button-pure/types.js.map +0 -1
  516. package/dist/collection/components/diwa-checkbox/diwa-checkbox-styles.js.map +0 -1
  517. package/dist/collection/components/diwa-checkbox/diwa-checkbox.js.map +0 -1
  518. package/dist/collection/components/diwa-checkbox/types.js.map +0 -1
  519. package/dist/collection/components/diwa-divider/diwa-divider-styles.js.map +0 -1
  520. package/dist/collection/components/diwa-divider/diwa-divider.js.map +0 -1
  521. package/dist/collection/components/diwa-divider/types.js.map +0 -1
  522. package/dist/collection/components/diwa-flyout/diwa-flyout-styles.js.map +0 -1
  523. package/dist/collection/components/diwa-flyout/diwa-flyout.js.map +0 -1
  524. package/dist/collection/components/diwa-flyout/types.js.map +0 -1
  525. package/dist/collection/components/diwa-heading/diwa-heading-styles.js.map +0 -1
  526. package/dist/collection/components/diwa-heading/diwa-heading-utils.js.map +0 -1
  527. package/dist/collection/components/diwa-heading/diwa-heading.js.map +0 -1
  528. package/dist/collection/components/diwa-heading/types.js.map +0 -1
  529. package/dist/collection/components/diwa-icon/diwa-icon-styles.js.map +0 -1
  530. package/dist/collection/components/diwa-icon/diwa-icon.js.map +0 -1
  531. package/dist/collection/components/diwa-icon/types.js.map +0 -1
  532. package/dist/collection/components/diwa-inline-notification/diwa-inline-notification-styles.js.map +0 -1
  533. package/dist/collection/components/diwa-inline-notification/diwa-inline-notification.js.map +0 -1
  534. package/dist/collection/components/diwa-inline-notification/types.js.map +0 -1
  535. package/dist/collection/components/diwa-input/diwa-input-styles.js.map +0 -1
  536. package/dist/collection/components/diwa-input/diwa-input.js.map +0 -1
  537. package/dist/collection/components/diwa-input/input-styles.js.map +0 -1
  538. package/dist/collection/components/diwa-input/types.js.map +0 -1
  539. package/dist/collection/components/diwa-input-date/diwa-input-date-styles.js.map +0 -1
  540. package/dist/collection/components/diwa-input-date/diwa-input-date.js.map +0 -1
  541. package/dist/collection/components/diwa-input-email/diwa-input-email-styles.js.map +0 -1
  542. package/dist/collection/components/diwa-input-email/diwa-input-email.js.map +0 -1
  543. package/dist/collection/components/diwa-input-month/diwa-input-month-styles.js.map +0 -1
  544. package/dist/collection/components/diwa-input-month/diwa-input-month.js.map +0 -1
  545. package/dist/collection/components/diwa-input-number/diwa-input-number-styles.js.map +0 -1
  546. package/dist/collection/components/diwa-input-number/diwa-input-number.js.map +0 -1
  547. package/dist/collection/components/diwa-input-password/diwa-input-password-styles.js.map +0 -1
  548. package/dist/collection/components/diwa-input-password/diwa-input-password.js.map +0 -1
  549. package/dist/collection/components/diwa-input-search/diwa-input-search-styles.js.map +0 -1
  550. package/dist/collection/components/diwa-input-search/diwa-input-search.js.map +0 -1
  551. package/dist/collection/components/diwa-input-tel/diwa-input-tel-styles.js.map +0 -1
  552. package/dist/collection/components/diwa-input-tel/diwa-input-tel.js.map +0 -1
  553. package/dist/collection/components/diwa-input-text/diwa-input-text-styles.js.map +0 -1
  554. package/dist/collection/components/diwa-input-text/diwa-input-text.js.map +0 -1
  555. package/dist/collection/components/diwa-input-time/diwa-input-time-styles.js.map +0 -1
  556. package/dist/collection/components/diwa-input-time/diwa-input-time.js.map +0 -1
  557. package/dist/collection/components/diwa-input-url/diwa-input-url-styles.js.map +0 -1
  558. package/dist/collection/components/diwa-input-url/diwa-input-url.js.map +0 -1
  559. package/dist/collection/components/diwa-input-week/diwa-input-week-styles.js.map +0 -1
  560. package/dist/collection/components/diwa-input-week/diwa-input-week.js.map +0 -1
  561. package/dist/collection/components/diwa-link/diwa-link-styles.js.map +0 -1
  562. package/dist/collection/components/diwa-link/diwa-link.js.map +0 -1
  563. package/dist/collection/components/diwa-link/types.js.map +0 -1
  564. package/dist/collection/components/diwa-link-pure/diwa-link-pure-styles.js.map +0 -1
  565. package/dist/collection/components/diwa-link-pure/diwa-link-pure.js.map +0 -1
  566. package/dist/collection/components/diwa-link-pure/types.js.map +0 -1
  567. package/dist/collection/components/diwa-modal/diwa-modal-styles.js.map +0 -1
  568. package/dist/collection/components/diwa-modal/diwa-modal-utils.js.map +0 -1
  569. package/dist/collection/components/diwa-modal/diwa-modal.js.map +0 -1
  570. package/dist/collection/components/diwa-modal/types.js.map +0 -1
  571. package/dist/collection/components/diwa-multi-select/diwa-multi-select-styles.js.map +0 -1
  572. package/dist/collection/components/diwa-multi-select/diwa-multi-select.js.map +0 -1
  573. package/dist/collection/components/diwa-multi-select/types.js.map +0 -1
  574. package/dist/collection/components/diwa-multi-select-option/diwa-multi-select-option-styles.js.map +0 -1
  575. package/dist/collection/components/diwa-multi-select-option/diwa-multi-select-option.js.map +0 -1
  576. package/dist/collection/components/diwa-multi-select-option/types.js.map +0 -1
  577. package/dist/collection/components/diwa-pagination/diwa-pagination-styles.js.map +0 -1
  578. package/dist/collection/components/diwa-pagination/diwa-pagination-utils.js.map +0 -1
  579. package/dist/collection/components/diwa-pagination/diwa-pagination.js.map +0 -1
  580. package/dist/collection/components/diwa-pagination/types.js.map +0 -1
  581. package/dist/collection/components/diwa-pin-code/diwa-pin-code-styles.js.map +0 -1
  582. package/dist/collection/components/diwa-pin-code/diwa-pin-code.js.map +0 -1
  583. package/dist/collection/components/diwa-pin-code/types.js.map +0 -1
  584. package/dist/collection/components/diwa-popover/diwa-popover-styles.js.map +0 -1
  585. package/dist/collection/components/diwa-popover/diwa-popover.js.map +0 -1
  586. package/dist/collection/components/diwa-popover/types.js.map +0 -1
  587. package/dist/collection/components/diwa-radio-group/diwa-radio-group-styles.js.map +0 -1
  588. package/dist/collection/components/diwa-radio-group/diwa-radio-group.js.map +0 -1
  589. package/dist/collection/components/diwa-radio-group/types.js.map +0 -1
  590. package/dist/collection/components/diwa-radio-group-item/diwa-radio-group-item-styles.js.map +0 -1
  591. package/dist/collection/components/diwa-radio-group-item/diwa-radio-group-item.js.map +0 -1
  592. package/dist/collection/components/diwa-radio-group-item/types.js.map +0 -1
  593. package/dist/collection/components/diwa-scroller/diwa-scroller-styles.js.map +0 -1
  594. package/dist/collection/components/diwa-scroller/diwa-scroller.js.map +0 -1
  595. package/dist/collection/components/diwa-scroller/types.js.map +0 -1
  596. package/dist/collection/components/diwa-segmented-control/diwa-segmented-control-styles.js.map +0 -1
  597. package/dist/collection/components/diwa-segmented-control/diwa-segmented-control.js.map +0 -1
  598. package/dist/collection/components/diwa-segmented-control/types.js.map +0 -1
  599. package/dist/collection/components/diwa-segmented-control-item/diwa-segmented-control-item-styles.js.map +0 -1
  600. package/dist/collection/components/diwa-segmented-control-item/diwa-segmented-control-item.js.map +0 -1
  601. package/dist/collection/components/diwa-segmented-control-item/types.js.map +0 -1
  602. package/dist/collection/components/diwa-select/diwa-select-styles.js.map +0 -1
  603. package/dist/collection/components/diwa-select/diwa-select.js.map +0 -1
  604. package/dist/collection/components/diwa-select/types.js.map +0 -1
  605. package/dist/collection/components/diwa-select-option/diwa-select-option-styles.js.map +0 -1
  606. package/dist/collection/components/diwa-select-option/diwa-select-option.js.map +0 -1
  607. package/dist/collection/components/diwa-select-option/types.js.map +0 -1
  608. package/dist/collection/components/diwa-spinner/diwa-spinner-styles.js.map +0 -1
  609. package/dist/collection/components/diwa-spinner/diwa-spinner.js.map +0 -1
  610. package/dist/collection/components/diwa-spinner/types.js.map +0 -1
  611. package/dist/collection/components/diwa-stepper-horizontal/diwa-stepper-horizontal-styles.js.map +0 -1
  612. package/dist/collection/components/diwa-stepper-horizontal/diwa-stepper-horizontal.js.map +0 -1
  613. package/dist/collection/components/diwa-stepper-horizontal/types.js.map +0 -1
  614. package/dist/collection/components/diwa-stepper-horizontal-item/diwa-stepper-horizontal-item-styles.js.map +0 -1
  615. package/dist/collection/components/diwa-stepper-horizontal-item/diwa-stepper-horizontal-item.js.map +0 -1
  616. package/dist/collection/components/diwa-stepper-horizontal-item/types.js.map +0 -1
  617. package/dist/collection/components/diwa-switch/diwa-switch-styles.js.map +0 -1
  618. package/dist/collection/components/diwa-switch/diwa-switch.js.map +0 -1
  619. package/dist/collection/components/diwa-switch/types.js.map +0 -1
  620. package/dist/collection/components/diwa-table/diwa-table-styles.js.map +0 -1
  621. package/dist/collection/components/diwa-table/diwa-table.js.map +0 -1
  622. package/dist/collection/components/diwa-table-body/diwa-table-body-styles.js.map +0 -1
  623. package/dist/collection/components/diwa-table-body/diwa-table-body.js.map +0 -1
  624. package/dist/collection/components/diwa-table-cell/diwa-table-cell-styles.js.map +0 -1
  625. package/dist/collection/components/diwa-table-cell/diwa-table-cell.js.map +0 -1
  626. package/dist/collection/components/diwa-table-head/diwa-table-head-styles.js.map +0 -1
  627. package/dist/collection/components/diwa-table-head/diwa-table-head.js.map +0 -1
  628. package/dist/collection/components/diwa-table-head-cell/diwa-table-head-cell-styles.js.map +0 -1
  629. package/dist/collection/components/diwa-table-head-cell/diwa-table-head-cell.js.map +0 -1
  630. package/dist/collection/components/diwa-table-head-cell/types.js.map +0 -1
  631. package/dist/collection/components/diwa-table-row/diwa-table-row-styles.js.map +0 -1
  632. package/dist/collection/components/diwa-table-row/diwa-table-row.js.map +0 -1
  633. package/dist/collection/components/diwa-tabs/diwa-tabs-styles.js.map +0 -1
  634. package/dist/collection/components/diwa-tabs/diwa-tabs.js.map +0 -1
  635. package/dist/collection/components/diwa-tabs/types.js.map +0 -1
  636. package/dist/collection/components/diwa-tabs-bar/diwa-tabs-bar-styles.js.map +0 -1
  637. package/dist/collection/components/diwa-tabs-bar/diwa-tabs-bar.js.map +0 -1
  638. package/dist/collection/components/diwa-tabs-bar/types.js.map +0 -1
  639. package/dist/collection/components/diwa-tabs-item/diwa-tabs-item-styles.js.map +0 -1
  640. package/dist/collection/components/diwa-tabs-item/diwa-tabs-item.js.map +0 -1
  641. package/dist/collection/components/diwa-tabs-item/types.js.map +0 -1
  642. package/dist/collection/components/diwa-tag/diwa-tag-styles.js.map +0 -1
  643. package/dist/collection/components/diwa-tag/diwa-tag.js.map +0 -1
  644. package/dist/collection/components/diwa-tag/types.js.map +0 -1
  645. package/dist/collection/components/diwa-tag-dismissible/diwa-tag-dismissible-styles.js.map +0 -1
  646. package/dist/collection/components/diwa-tag-dismissible/diwa-tag-dismissible.js.map +0 -1
  647. package/dist/collection/components/diwa-tag-dismissible/types.js.map +0 -1
  648. package/dist/collection/components/diwa-text/diwa-text-styles.js.map +0 -1
  649. package/dist/collection/components/diwa-text/diwa-text.js.map +0 -1
  650. package/dist/collection/components/diwa-text/types.js.map +0 -1
  651. package/dist/collection/components/diwa-text-list/diwa-text-list-styles.js.map +0 -1
  652. package/dist/collection/components/diwa-text-list/diwa-text-list.js.map +0 -1
  653. package/dist/collection/components/diwa-text-list/types.js.map +0 -1
  654. package/dist/collection/components/diwa-text-list-item/diwa-text-list-item-styles.js.map +0 -1
  655. package/dist/collection/components/diwa-text-list-item/diwa-text-list-item.js.map +0 -1
  656. package/dist/collection/components/diwa-text-list-item/types.js.map +0 -1
  657. package/dist/collection/components/diwa-textarea/diwa-textarea-styles.js.map +0 -1
  658. package/dist/collection/components/diwa-textarea/diwa-textarea.js.map +0 -1
  659. package/dist/collection/components/diwa-textarea/types.js.map +0 -1
  660. package/dist/collection/components/diwa-toast/diwa-toast-manager.js.map +0 -1
  661. package/dist/collection/components/diwa-toast/diwa-toast-styles.js.map +0 -1
  662. package/dist/collection/components/diwa-toast/diwa-toast.js.map +0 -1
  663. package/dist/collection/components/diwa-toast/types.js.map +0 -1
  664. package/dist/collection/components/diwa-toast-item/diwa-toast-item-styles.js.map +0 -1
  665. package/dist/collection/components/diwa-toast-item/diwa-toast-item.js.map +0 -1
  666. package/dist/collection/components/diwa-toast-item/types.js.map +0 -1
  667. package/dist/collection/styles/index.js.map +0 -1
  668. package/dist/collection/utils/checkbox-mark.js.map +0 -1
  669. package/dist/collection/utils/styles.js.map +0 -1
  670. package/dist/diwa-components/diwa-components.esm.js.map +0 -1
  671. package/dist/diwa-components/index.esm.js.map +0 -1
  672. package/dist/diwa-components/p-0028e799.entry.js +0 -2
  673. package/dist/diwa-components/p-0028e799.entry.js.map +0 -1
  674. package/dist/diwa-components/p-008bdfa4.entry.js +0 -2
  675. package/dist/diwa-components/p-008bdfa4.entry.js.map +0 -1
  676. package/dist/diwa-components/p-027e5299.entry.js +0 -2
  677. package/dist/diwa-components/p-027e5299.entry.js.map +0 -1
  678. package/dist/diwa-components/p-03a4902e.entry.js +0 -2
  679. package/dist/diwa-components/p-03a4902e.entry.js.map +0 -1
  680. package/dist/diwa-components/p-05a02076.entry.js +0 -2
  681. package/dist/diwa-components/p-05a02076.entry.js.map +0 -1
  682. package/dist/diwa-components/p-090f557b.entry.js +0 -2
  683. package/dist/diwa-components/p-090f557b.entry.js.map +0 -1
  684. package/dist/diwa-components/p-0b6aa730.entry.js +0 -2
  685. package/dist/diwa-components/p-0b6aa730.entry.js.map +0 -1
  686. package/dist/diwa-components/p-0c2776f7.entry.js +0 -2
  687. package/dist/diwa-components/p-0c2776f7.entry.js.map +0 -1
  688. package/dist/diwa-components/p-11aae5f1.entry.js +0 -2
  689. package/dist/diwa-components/p-11aae5f1.entry.js.map +0 -1
  690. package/dist/diwa-components/p-13aeda0b.entry.js +0 -2
  691. package/dist/diwa-components/p-13aeda0b.entry.js.map +0 -1
  692. package/dist/diwa-components/p-145e5281.entry.js +0 -2
  693. package/dist/diwa-components/p-145e5281.entry.js.map +0 -1
  694. package/dist/diwa-components/p-20332312.entry.js +0 -2
  695. package/dist/diwa-components/p-20332312.entry.js.map +0 -1
  696. package/dist/diwa-components/p-247210ec.entry.js +0 -2
  697. package/dist/diwa-components/p-247210ec.entry.js.map +0 -1
  698. package/dist/diwa-components/p-24c10d6e.entry.js +0 -2
  699. package/dist/diwa-components/p-24c10d6e.entry.js.map +0 -1
  700. package/dist/diwa-components/p-2c3cff37.entry.js +0 -2
  701. package/dist/diwa-components/p-2c3cff37.entry.js.map +0 -1
  702. package/dist/diwa-components/p-310a22ca.entry.js +0 -2
  703. package/dist/diwa-components/p-310a22ca.entry.js.map +0 -1
  704. package/dist/diwa-components/p-332838f8.js +0 -2
  705. package/dist/diwa-components/p-332838f8.js.map +0 -1
  706. package/dist/diwa-components/p-335e06ab.entry.js +0 -2
  707. package/dist/diwa-components/p-335e06ab.entry.js.map +0 -1
  708. package/dist/diwa-components/p-33b49ced.entry.js +0 -2
  709. package/dist/diwa-components/p-33b49ced.entry.js.map +0 -1
  710. package/dist/diwa-components/p-35c7c864.js +0 -2
  711. package/dist/diwa-components/p-35c7c864.js.map +0 -1
  712. package/dist/diwa-components/p-36056450.entry.js +0 -2
  713. package/dist/diwa-components/p-36056450.entry.js.map +0 -1
  714. package/dist/diwa-components/p-3a992d7e.entry.js +0 -2
  715. package/dist/diwa-components/p-3a992d7e.entry.js.map +0 -1
  716. package/dist/diwa-components/p-3e68a752.entry.js +0 -2
  717. package/dist/diwa-components/p-3e68a752.entry.js.map +0 -1
  718. package/dist/diwa-components/p-4332671a.entry.js +0 -2
  719. package/dist/diwa-components/p-4332671a.entry.js.map +0 -1
  720. package/dist/diwa-components/p-454aa95f.entry.js +0 -2
  721. package/dist/diwa-components/p-454aa95f.entry.js.map +0 -1
  722. package/dist/diwa-components/p-46a8a0a7.entry.js +0 -2
  723. package/dist/diwa-components/p-46a8a0a7.entry.js.map +0 -1
  724. package/dist/diwa-components/p-50420bc6.entry.js +0 -10220
  725. package/dist/diwa-components/p-50420bc6.entry.js.map +0 -1
  726. package/dist/diwa-components/p-52f32ba8.entry.js +0 -2
  727. package/dist/diwa-components/p-52f32ba8.entry.js.map +0 -1
  728. package/dist/diwa-components/p-5e75b7b3.entry.js +0 -2
  729. package/dist/diwa-components/p-5e75b7b3.entry.js.map +0 -1
  730. package/dist/diwa-components/p-630b5003.entry.js +0 -2
  731. package/dist/diwa-components/p-630b5003.entry.js.map +0 -1
  732. package/dist/diwa-components/p-645e5f9a.entry.js +0 -2
  733. package/dist/diwa-components/p-645e5f9a.entry.js.map +0 -1
  734. package/dist/diwa-components/p-6dcf2862.entry.js +0 -2
  735. package/dist/diwa-components/p-6dcf2862.entry.js.map +0 -1
  736. package/dist/diwa-components/p-6f639ee0.entry.js +0 -2
  737. package/dist/diwa-components/p-6f639ee0.entry.js.map +0 -1
  738. package/dist/diwa-components/p-70bbb21a.js +0 -2
  739. package/dist/diwa-components/p-70bbb21a.js.map +0 -1
  740. package/dist/diwa-components/p-76f75cb3.entry.js +0 -2
  741. package/dist/diwa-components/p-76f75cb3.entry.js.map +0 -1
  742. package/dist/diwa-components/p-8285e16e.entry.js +0 -2
  743. package/dist/diwa-components/p-8285e16e.entry.js.map +0 -1
  744. package/dist/diwa-components/p-82be1b3a.entry.js +0 -2
  745. package/dist/diwa-components/p-82be1b3a.entry.js.map +0 -1
  746. package/dist/diwa-components/p-845b2a42.entry.js +0 -2
  747. package/dist/diwa-components/p-845b2a42.entry.js.map +0 -1
  748. package/dist/diwa-components/p-851e4c86.entry.js +0 -2
  749. package/dist/diwa-components/p-851e4c86.entry.js.map +0 -1
  750. package/dist/diwa-components/p-878039a1.entry.js.map +0 -1
  751. package/dist/diwa-components/p-887e0cb5.entry.js +0 -2
  752. package/dist/diwa-components/p-887e0cb5.entry.js.map +0 -1
  753. package/dist/diwa-components/p-8afa6931.entry.js +0 -2
  754. package/dist/diwa-components/p-8afa6931.entry.js.map +0 -1
  755. package/dist/diwa-components/p-8b210952.entry.js +0 -2
  756. package/dist/diwa-components/p-8b210952.entry.js.map +0 -1
  757. package/dist/diwa-components/p-90504a91.entry.js +0 -2
  758. package/dist/diwa-components/p-90504a91.entry.js.map +0 -1
  759. package/dist/diwa-components/p-90d0db67.entry.js +0 -2
  760. package/dist/diwa-components/p-90d0db67.entry.js.map +0 -1
  761. package/dist/diwa-components/p-a446b615.entry.js +0 -2
  762. package/dist/diwa-components/p-a446b615.entry.js.map +0 -1
  763. package/dist/diwa-components/p-ac8e14be.js.map +0 -1
  764. package/dist/diwa-components/p-b33f4993.entry.js +0 -2
  765. package/dist/diwa-components/p-b33f4993.entry.js.map +0 -1
  766. package/dist/diwa-components/p-b595f330.entry.js +0 -2
  767. package/dist/diwa-components/p-b595f330.entry.js.map +0 -1
  768. package/dist/diwa-components/p-bcc6545a.entry.js +0 -2
  769. package/dist/diwa-components/p-bcc6545a.entry.js.map +0 -1
  770. package/dist/diwa-components/p-c2557813.entry.js +0 -2
  771. package/dist/diwa-components/p-c2557813.entry.js.map +0 -1
  772. package/dist/diwa-components/p-c3535eb8.entry.js +0 -2
  773. package/dist/diwa-components/p-c3535eb8.entry.js.map +0 -1
  774. package/dist/diwa-components/p-c4083a76.entry.js +0 -2
  775. package/dist/diwa-components/p-c4083a76.entry.js.map +0 -1
  776. package/dist/diwa-components/p-c427acf5.entry.js +0 -2
  777. package/dist/diwa-components/p-c427acf5.entry.js.map +0 -1
  778. package/dist/diwa-components/p-c862863d.entry.js +0 -2
  779. package/dist/diwa-components/p-c862863d.entry.js.map +0 -1
  780. package/dist/diwa-components/p-c9ec0829.entry.js +0 -2
  781. package/dist/diwa-components/p-c9ec0829.entry.js.map +0 -1
  782. package/dist/diwa-components/p-d57421af.entry.js +0 -2
  783. package/dist/diwa-components/p-d57421af.entry.js.map +0 -1
  784. package/dist/diwa-components/p-e1255160.js +0 -2
  785. package/dist/diwa-components/p-e1255160.js.map +0 -1
  786. package/dist/diwa-components/p-e23fbe5f.entry.js +0 -2
  787. package/dist/diwa-components/p-e23fbe5f.entry.js.map +0 -1
  788. package/dist/diwa-components/p-e6f7dd21.entry.js +0 -2
  789. package/dist/diwa-components/p-e6f7dd21.entry.js.map +0 -1
  790. package/dist/diwa-components/p-ecb1eabd.entry.js +0 -2
  791. package/dist/diwa-components/p-ecb1eabd.entry.js.map +0 -1
  792. package/dist/diwa-components/p-ed4017f0.js +0 -3
  793. package/dist/diwa-components/p-ed4017f0.js.map +0 -1
  794. package/dist/diwa-components/p-f842df14.entry.js +0 -2
  795. package/dist/diwa-components/p-f842df14.entry.js.map +0 -1
  796. package/dist/diwa-components/p-fa3f0cb0.entry.js +0 -2
  797. package/dist/diwa-components/p-fa3f0cb0.entry.js.map +0 -1
  798. package/dist/esm/app-globals-0f993ce5.js +0 -5
  799. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  800. package/dist/esm/checkbox-mark-37be8b2e.js +0 -26
  801. package/dist/esm/checkbox-mark-37be8b2e.js.map +0 -1
  802. package/dist/esm/diwa-accordion.entry.js.map +0 -1
  803. package/dist/esm/diwa-badge.entry.js.map +0 -1
  804. package/dist/esm/diwa-button-pure.entry.js.map +0 -1
  805. package/dist/esm/diwa-button.entry.js.map +0 -1
  806. package/dist/esm/diwa-checkbox.entry.js.map +0 -1
  807. package/dist/esm/diwa-components.js.map +0 -1
  808. package/dist/esm/diwa-divider.entry.js.map +0 -1
  809. package/dist/esm/diwa-flyout.entry.js.map +0 -1
  810. package/dist/esm/diwa-heading.entry.js.map +0 -1
  811. package/dist/esm/diwa-icon.entry.js.map +0 -1
  812. package/dist/esm/diwa-inline-notification.entry.js.map +0 -1
  813. package/dist/esm/diwa-input-date.entry.js.map +0 -1
  814. package/dist/esm/diwa-input-email.entry.js.map +0 -1
  815. package/dist/esm/diwa-input-month.entry.js.map +0 -1
  816. package/dist/esm/diwa-input-number.entry.js.map +0 -1
  817. package/dist/esm/diwa-input-password.entry.js.map +0 -1
  818. package/dist/esm/diwa-input-search.entry.js.map +0 -1
  819. package/dist/esm/diwa-input-tel.entry.js.map +0 -1
  820. package/dist/esm/diwa-input-text.entry.js.map +0 -1
  821. package/dist/esm/diwa-input-time.entry.js.map +0 -1
  822. package/dist/esm/diwa-input-url.entry.js.map +0 -1
  823. package/dist/esm/diwa-input-week.entry.js.map +0 -1
  824. package/dist/esm/diwa-input.entry.js.map +0 -1
  825. package/dist/esm/diwa-link-pure.entry.js.map +0 -1
  826. package/dist/esm/diwa-link.entry.js.map +0 -1
  827. package/dist/esm/diwa-modal.entry.js.map +0 -1
  828. package/dist/esm/diwa-multi-select-option.entry.js.map +0 -1
  829. package/dist/esm/diwa-multi-select.entry.js.map +0 -1
  830. package/dist/esm/diwa-pagination.entry.js.map +0 -1
  831. package/dist/esm/diwa-pin-code.entry.js.map +0 -1
  832. package/dist/esm/diwa-popover.entry.js.map +0 -1
  833. package/dist/esm/diwa-radio-group-item.entry.js.map +0 -1
  834. package/dist/esm/diwa-radio-group.entry.js.map +0 -1
  835. package/dist/esm/diwa-scroller.entry.js.map +0 -1
  836. package/dist/esm/diwa-segmented-control-item.entry.js.map +0 -1
  837. package/dist/esm/diwa-segmented-control.entry.js.map +0 -1
  838. package/dist/esm/diwa-select-option.entry.js.map +0 -1
  839. package/dist/esm/diwa-select.entry.js.map +0 -1
  840. package/dist/esm/diwa-spinner.entry.js.map +0 -1
  841. package/dist/esm/diwa-stepper-horizontal-item.entry.js.map +0 -1
  842. package/dist/esm/diwa-stepper-horizontal.entry.js.map +0 -1
  843. package/dist/esm/diwa-switch.entry.js.map +0 -1
  844. package/dist/esm/diwa-table-body.entry.js.map +0 -1
  845. package/dist/esm/diwa-table-cell.entry.js.map +0 -1
  846. package/dist/esm/diwa-table-head-cell.entry.js.map +0 -1
  847. package/dist/esm/diwa-table-head.entry.js.map +0 -1
  848. package/dist/esm/diwa-table-row.entry.js.map +0 -1
  849. package/dist/esm/diwa-table.entry.js.map +0 -1
  850. package/dist/esm/diwa-tabs-bar.entry.js.map +0 -1
  851. package/dist/esm/diwa-tabs-item.entry.js.map +0 -1
  852. package/dist/esm/diwa-tabs.entry.js.map +0 -1
  853. package/dist/esm/diwa-tag-dismissible.entry.js.map +0 -1
  854. package/dist/esm/diwa-tag.entry.js.map +0 -1
  855. package/dist/esm/diwa-text-list-item.entry.js.map +0 -1
  856. package/dist/esm/diwa-text-list.entry.js.map +0 -1
  857. package/dist/esm/diwa-text.entry.js.map +0 -1
  858. package/dist/esm/diwa-textarea.entry.js.map +0 -1
  859. package/dist/esm/diwa-toast-item.entry.js.map +0 -1
  860. package/dist/esm/diwa-toast.entry.js.map +0 -1
  861. package/dist/esm/index-3fa02c74.js +0 -1379
  862. package/dist/esm/index-3fa02c74.js.map +0 -1
  863. package/dist/esm/index.js.map +0 -1
  864. package/dist/esm/input-styles-c4f4fa96.js +0 -222
  865. package/dist/esm/input-styles-c4f4fa96.js.map +0 -1
  866. package/dist/esm/loader-circle-300f00a4.js.map +0 -1
  867. package/dist/esm/loader.js.map +0 -1
  868. package/dist/esm/styles-e5a47a2d.js +0 -73
  869. package/dist/esm/styles-e5a47a2d.js.map +0 -1
  870. package/dist-custom-elements/diwa-accordion.js.map +0 -1
  871. package/dist-custom-elements/diwa-badge.js.map +0 -1
  872. package/dist-custom-elements/diwa-button-pure.js.map +0 -1
  873. package/dist-custom-elements/diwa-button.js.map +0 -1
  874. package/dist-custom-elements/diwa-checkbox.js.map +0 -1
  875. package/dist-custom-elements/diwa-divider.js.map +0 -1
  876. package/dist-custom-elements/diwa-flyout.js.map +0 -1
  877. package/dist-custom-elements/diwa-heading.js.map +0 -1
  878. package/dist-custom-elements/diwa-icon.js.map +0 -1
  879. package/dist-custom-elements/diwa-inline-notification.js.map +0 -1
  880. package/dist-custom-elements/diwa-input-date.js.map +0 -1
  881. package/dist-custom-elements/diwa-input-email.js.map +0 -1
  882. package/dist-custom-elements/diwa-input-month.js.map +0 -1
  883. package/dist-custom-elements/diwa-input-number.js.map +0 -1
  884. package/dist-custom-elements/diwa-input-password.js.map +0 -1
  885. package/dist-custom-elements/diwa-input-search.js.map +0 -1
  886. package/dist-custom-elements/diwa-input-tel.js.map +0 -1
  887. package/dist-custom-elements/diwa-input-text.js.map +0 -1
  888. package/dist-custom-elements/diwa-input-time.js.map +0 -1
  889. package/dist-custom-elements/diwa-input-url.js.map +0 -1
  890. package/dist-custom-elements/diwa-input-week.js.map +0 -1
  891. package/dist-custom-elements/diwa-input.js.map +0 -1
  892. package/dist-custom-elements/diwa-link-pure.js.map +0 -1
  893. package/dist-custom-elements/diwa-link.js.map +0 -1
  894. package/dist-custom-elements/diwa-modal.js.map +0 -1
  895. package/dist-custom-elements/diwa-multi-select-option.js.map +0 -1
  896. package/dist-custom-elements/diwa-multi-select.js.map +0 -1
  897. package/dist-custom-elements/diwa-pagination.js.map +0 -1
  898. package/dist-custom-elements/diwa-pin-code.js.map +0 -1
  899. package/dist-custom-elements/diwa-popover.js.map +0 -1
  900. package/dist-custom-elements/diwa-radio-group-item.js.map +0 -1
  901. package/dist-custom-elements/diwa-radio-group.js.map +0 -1
  902. package/dist-custom-elements/diwa-scroller.js.map +0 -1
  903. package/dist-custom-elements/diwa-segmented-control-item.js.map +0 -1
  904. package/dist-custom-elements/diwa-segmented-control.js.map +0 -1
  905. package/dist-custom-elements/diwa-select-option.js.map +0 -1
  906. package/dist-custom-elements/diwa-select.js.map +0 -1
  907. package/dist-custom-elements/diwa-spinner.js.map +0 -1
  908. package/dist-custom-elements/diwa-stepper-horizontal-item.js.map +0 -1
  909. package/dist-custom-elements/diwa-stepper-horizontal.js.map +0 -1
  910. package/dist-custom-elements/diwa-switch.js.map +0 -1
  911. package/dist-custom-elements/diwa-table-body.js.map +0 -1
  912. package/dist-custom-elements/diwa-table-cell.js.map +0 -1
  913. package/dist-custom-elements/diwa-table-head-cell.js.map +0 -1
  914. package/dist-custom-elements/diwa-table-head.js.map +0 -1
  915. package/dist-custom-elements/diwa-table-row.js.map +0 -1
  916. package/dist-custom-elements/diwa-table.js.map +0 -1
  917. package/dist-custom-elements/diwa-tabs-bar.js.map +0 -1
  918. package/dist-custom-elements/diwa-tabs-item.js.map +0 -1
  919. package/dist-custom-elements/diwa-tabs.js.map +0 -1
  920. package/dist-custom-elements/diwa-tag-dismissible.js.map +0 -1
  921. package/dist-custom-elements/diwa-tag.js.map +0 -1
  922. package/dist-custom-elements/diwa-text-list-item.js.map +0 -1
  923. package/dist-custom-elements/diwa-text-list.js.map +0 -1
  924. package/dist-custom-elements/diwa-text.js.map +0 -1
  925. package/dist-custom-elements/diwa-textarea.js.map +0 -1
  926. package/dist-custom-elements/diwa-toast-item.js.map +0 -1
  927. package/dist-custom-elements/diwa-toast.js.map +0 -1
  928. package/dist-custom-elements/index.js.map +0 -1
  929. package/dist-custom-elements/p-0e219692.js +0 -141
  930. package/dist-custom-elements/p-0e219692.js.map +0 -1
  931. package/dist-custom-elements/p-236fbbdd.js +0 -321
  932. package/dist-custom-elements/p-236fbbdd.js.map +0 -1
  933. package/dist-custom-elements/p-332838f8.js.map +0 -1
  934. package/dist-custom-elements/p-35c7c864.js.map +0 -1
  935. package/dist-custom-elements/p-3fce050e.js +0 -117
  936. package/dist-custom-elements/p-3fce050e.js.map +0 -1
  937. package/dist-custom-elements/p-473ec48f.js +0 -29213
  938. package/dist-custom-elements/p-473ec48f.js.map +0 -1
  939. package/dist-custom-elements/p-5eacc7d0.js +0 -1187
  940. package/dist-custom-elements/p-5eacc7d0.js.map +0 -1
  941. package/dist-custom-elements/p-70bbb21a.js.map +0 -1
  942. package/dist-custom-elements/p-ac8e14be.js.map +0 -1
  943. package/loader/package.json +0 -11
@@ -0,0 +1,1622 @@
1
+ const NAMESPACE = 'diwa-components';
2
+ const BUILD = /* diwa-components */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, state: true, updatable: true};
3
+
4
+ const globalScripts = () => {};
5
+ const globalStyles = ":root{--diwa-color-accent-50:rgba(16, 163, 127, 0.05);--diwa-color-accent-100:rgba(16, 163, 127, 0.1);--diwa-color-accent-200:rgba(16, 163, 127, 0.15);--diwa-color-accent-300:rgba(16, 163, 127, 0.25);--diwa-color-accent-400:#10a37f;--diwa-color-accent-500:#0e9470;--diwa-color-accent-600:#0c8464;--diwa-color-accent-700:#0a7456;--diwa-color-zinc-50:#fafafa;--diwa-color-zinc-100:#f4f4f5;--diwa-color-zinc-200:#e4e4e7;--diwa-color-zinc-300:#d4d4d8;--diwa-color-zinc-400:#a1a1aa;--diwa-color-zinc-500:#71717a;--diwa-color-zinc-600:#52525b;--diwa-color-zinc-700:#3f3f46;--diwa-color-zinc-800:#27272a;--diwa-color-zinc-850:#1f1f23;--diwa-color-zinc-900:#18181b;--diwa-color-zinc-925:#111113;--diwa-color-zinc-950:#0b0b0c;--diwa-color-danger-50:rgba(239, 68, 68, 0.08);--diwa-color-danger-100:rgba(239, 68, 68, 0.12);--diwa-color-danger-200:rgba(239, 68, 68, 0.18);--diwa-color-danger-300:rgba(239, 68, 68, 0.25);--diwa-color-danger-400:#f87171;--diwa-color-danger-500:#ef4444;--diwa-color-danger-600:#dc2626;--diwa-color-warning-50:rgba(245, 158, 11, 0.08);--diwa-color-warning-100:rgba(245, 158, 11, 0.12);--diwa-color-warning-200:rgba(245, 158, 11, 0.18);--diwa-color-warning-400:#fbbf24;--diwa-color-warning-500:#f59e0b;--diwa-color-success-50:rgba(34, 197, 94, 0.08);--diwa-color-success-100:rgba(34, 197, 94, 0.12);--diwa-color-success-400:#4ade80;--diwa-color-success-500:#22c55e;--diwa-color-purple-200:rgba(147, 51, 234, 0.15);--diwa-color-purple-400:#a78bfa;--diwa-color-purple-500:#c084fc;--diwa-color-info-50:rgba(23, 139, 255, 0.08);--diwa-color-info-100:rgba(23, 139, 255, 0.12);--diwa-color-info-200:rgba(39, 98, 236, 0.15);--diwa-color-info-300:rgba(23, 139, 255, 0.30);--diwa-color-info-400:#178bff;--diwa-color-info-500:#2762ec;--diwa-color-white:#ffffff;--diwa-color-black:#000000;--diwa-color-blue-400:#3b82f6;--diwa-color-blue-500:#818cf8;--diwa-color-amber-400:#fbbf24;--diwa-color-amber-500:#f59e0b;--diwa-color-red-400:#ef4444;--diwa-color-red-500:#f87171;--diwa-primary:#e6e6e7;--diwa-bg-base:var(--diwa-color-zinc-950);--diwa-bg-raised:#161618;--diwa-bg-surface:var(--diwa-color-zinc-850);--diwa-bg-shading:rgba(17, 17, 19, 0.85);--diwa-bg-frosted:hsl(240 3% 18% / 35%);--diwa-bg-primary:var(--diwa-bg-base);--diwa-bg-content:var(--diwa-color-zinc-900);--diwa-bg-secondary:var(--diwa-color-zinc-925);--diwa-bg-tertiary:var(--diwa-color-zinc-850);--diwa-bg-elevated:var(--diwa-color-zinc-925);--diwa-bg-hover:var(--diwa-color-zinc-800);--diwa-bg-active:var(--diwa-color-zinc-700);--diwa-bg-glass:var(--diwa-bg-shading);--diwa-bg-input:rgba(24, 24, 27, 0.8);--diwa-contrast-low:var(--diwa-color-zinc-800);--diwa-contrast-medium:var(--diwa-color-zinc-500);--diwa-contrast-high:var(--diwa-color-zinc-300);--diwa-text-primary:var(--diwa-primary);--diwa-text-secondary:var(--diwa-color-zinc-400);--diwa-text-tertiary:var(--diwa-color-zinc-500);--diwa-text-muted:var(--diwa-color-zinc-600);--diwa-text-disabled:var(--diwa-color-zinc-700);--diwa-text-inverse:var(--diwa-color-white);--diwa-border:var(--diwa-color-zinc-700);--diwa-border-hover:var(--diwa-color-zinc-600);--diwa-border-light:rgba(63, 63, 70, 0.5);--diwa-state-hover:rgba(148, 149, 152, 0.18);--diwa-state-active:rgba(126, 127, 130, 0.20);--diwa-state-focus:var(--diwa-color-accent-400);--diwa-state-disabled:var(--diwa-color-zinc-600);--diwa-accent:var(--diwa-state-focus);--diwa-accent-hover:var(--diwa-color-accent-500);--diwa-accent-active:var(--diwa-color-accent-600);--diwa-accent-muted:var(--diwa-color-accent-200);--diwa-accent-bg:var(--diwa-color-accent-100);--diwa-border-focus:var(--diwa-state-focus);--diwa-notification-success:var(--diwa-color-success-500);--diwa-notification-success-soft:var(--diwa-color-success-50);--diwa-notification-warning:var(--diwa-color-warning-500);--diwa-notification-warning-soft:var(--diwa-color-warning-50);--diwa-notification-error:var(--diwa-color-danger-500);--diwa-notification-error-soft:var(--diwa-color-danger-50);--diwa-notification-info:var(--diwa-color-info-400);--diwa-notification-info-soft:var(--diwa-color-info-50);--diwa-danger:var(--diwa-notification-error);--diwa-danger-hover:var(--diwa-color-danger-600);--diwa-danger-active:var(--diwa-color-danger-600);--diwa-danger-text:var(--diwa-color-danger-400);--diwa-danger-bg:var(--diwa-notification-error-soft);--diwa-warning:var(--diwa-notification-warning);--diwa-warning-text:var(--diwa-color-warning-400);--diwa-warning-bg:var(--diwa-notification-warning-soft);--diwa-success:var(--diwa-notification-success);--diwa-success-text:var(--diwa-color-success-400);--diwa-success-bg:var(--diwa-notification-success-soft);--diwa-font-family-base:'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI',\r\n Roboto, sans-serif;--diwa-font-family-display:'Sora', 'Onest', sans-serif;--diwa-font-family-mono:'Geist Mono', 'SF Mono', Monaco, Consolas, monospace;--diwa-font-size-xs:10px;--diwa-font-size-sm:11px;--diwa-font-size-md:12px;--diwa-font-size-base:14px;--diwa-font-size-lg:16px;--diwa-font-size-xl:18px;--diwa-font-size-2xl:18px;--diwa-font-size-3xl:20px;--diwa-font-size-4xl:24px;--diwa-font-size-fluid-sm:clamp(11px, 0.65rem + 0.2vw, 13px);--diwa-font-size-fluid-base:clamp(13px, 0.75rem + 0.3vw, 15px);--diwa-font-size-fluid-lg:clamp(14px, 0.82rem + 0.4vw, 17px);--diwa-font-size-fluid-xl:clamp(16px, 0.95rem + 0.55vw, 20px);--diwa-font-size-fluid-2xl:clamp(18px, 1rem + 0.8vw, 24px);--diwa-font-size-fluid-3xl:clamp(20px, 1.1rem + 1.1vw, 28px);--diwa-font-size-fluid-4xl:clamp(24px, 1.3rem + 1.6vw, 36px);--diwa-line-height-tight:1.1;--diwa-line-height-normal:1.5;--diwa-line-height-relaxed:1.6;--diwa-line-height-loose:1.8;--diwa-font-weight-normal:400;--diwa-font-weight-medium:500;--diwa-font-weight-semibold:600;--diwa-font-weight-bold:700;--diwa-space-px:1px;--diwa-space-0-5:2px;--diwa-space-0-75:3px;--diwa-space-1:4px;--diwa-space-2:6px;--diwa-space-3:8px;--diwa-space-4:10px;--diwa-space-5:12px;--diwa-space-6:14px;--diwa-space-7:16px;--diwa-space-8:20px;--diwa-space-9:24px;--diwa-space-10:32px;--diwa-space-11:48px;--diwa-space-12:96px;--diwa-space-fluid-xs:clamp(4px, 0.25rem + 0.3vw, 8px);--diwa-space-fluid-sm:clamp(8px, 0.45rem + 0.5vw, 14px);--diwa-space-fluid-md:clamp(12px, 0.65rem + 0.8vw, 20px);--diwa-space-fluid-lg:clamp(16px, 0.85rem + 1.1vw, 28px);--diwa-space-fluid-xl:clamp(24px, 1.2rem + 1.6vw, 40px);--diwa-space-fluid-2xl:clamp(32px, 1.6rem + 2.2vw, 56px);--diwa-space-fluid-3xl:clamp(48px, 2.2rem + 3.5vw, 80px);--diwa-radius-xs:2px;--diwa-radius-sm:4px;--diwa-radius-md:6px;--diwa-radius-lg:8px;--diwa-radius-xl:12px;--diwa-radius-2xl:16px;--diwa-radius-full:9999px;--diwa-border-width-thin:1px;--diwa-border-width-medium:1.5px;--diwa-border-width-base:2px;--diwa-border-width-thick:4px;--diwa-focus-ring-width:1px;--diwa-focus-ring-offset:1px;--diwa-touch-target-min-size:44px;--diwa-touch-target-min-size-compact:32px;--diwa-touch-target-gap-min:8px;--diwa-shadow-sm:0 1px 2px rgba(0, 0, 0, 0.4);--diwa-shadow-md:0 4px 12px rgba(0, 0, 0, 0.5);--diwa-shadow-lg:0 8px 24px rgba(0, 0, 0, 0.6);--diwa-shadow-xl:0 16px 48px rgba(0, 0, 0, 0.7);--diwa-transition-fast:0.1s ease;--diwa-transition-base:0.15s ease;--diwa-transition-slow:0.25s ease;--diwa-transition-colors:color 0.15s ease, background-color 0.15s ease,\r\n border-color 0.15s ease, box-shadow 0.15s ease;--diwa-motion-duration-short:0.15s;--diwa-motion-duration-moderate:0.25s;--diwa-motion-duration-long:0.4s;--diwa-motion-duration-very-long:0.7s;--diwa-motion-easing-base:cubic-bezier(0.4, 0, 0.2, 1);--diwa-motion-easing-in:cubic-bezier(0.4, 0, 1, 1);--diwa-motion-easing-out:cubic-bezier(0, 0, 0.2, 1);--diwa-spinner-duration:0.7s;--diwa-skeleton-duration:1.5s;--diwa-z-base:0;--diwa-z-dropdown:100;--diwa-z-sticky:200;--diwa-z-overlay:500;--diwa-z-modal:1000;--diwa-z-toast:1100;--diwa-z-tooltip:12000;--diwa-blur-sm:4px;--diwa-blur-md:8px;--diwa-blur-lg:16px;--diwa-blur-xl:24px;--diwa-breakpoint-xs:480px;--diwa-breakpoint-sm:760px;--diwa-breakpoint-md:1000px;--diwa-breakpoint-lg:1300px;--diwa-breakpoint-xl:1760px;--diwa-breakpoint-2xl:1920px;--diwa-gradient-accent:linear-gradient(135deg, var(--diwa-color-accent-400) 0%, var(--diwa-color-accent-600) 100%);--diwa-gradient-surface:linear-gradient(180deg, var(--diwa-bg-surface) 0%, var(--diwa-bg-base) 100%);--diwa-gradient-scrim-bottom:linear-gradient(to bottom, transparent 0%, var(--diwa-bg-base) 100%);--diwa-gradient-scrim-top:linear-gradient(to top, transparent 0%, var(--diwa-bg-base) 100%);--diwa-gradient-scrim-right:linear-gradient(to right, var(--diwa-bg-base) 0%, transparent 100%);--diwa-gradient-scrim-left:linear-gradient(to left, var(--diwa-bg-base) 0%, transparent 100%);--diwa-gradient-shimmer:linear-gradient(90deg,\r\n transparent 0%,\r\n rgba(148, 149, 152, 0.08) 50%,\r\n transparent 100%);--diwa-grid-columns:12;--diwa-grid-gutter:var(--diwa-space-fluid-lg);--diwa-grid-margin:var(--diwa-space-fluid-xl);--diwa-grid-max-width:1440px;--diwa-button-bg:var(--diwa-accent);--diwa-button-bg-hover:var(--diwa-accent-hover);--diwa-button-color:var(--diwa-text-inverse);--diwa-button-radius:var(--diwa-radius-md);--diwa-button-height:40px;--diwa-button-height-sm:32px;--diwa-button-height-lg:44px;--diwa-button-padding-x:16px;--diwa-button-padding-x-sm:10px;--diwa-button-font-size:var(--diwa-font-size-base);--diwa-button-font-weight:var(--diwa-font-weight-medium);--diwa-input-height:var(--diwa-touch-target-min-size);--diwa-input-padding-x:12px;--diwa-input-radius:var(--diwa-radius-md);--diwa-input-border:var(--diwa-border-light);--diwa-input-bg:var(--diwa-bg-input);--diwa-badge-radius:var(--diwa-radius-full);--diwa-spinner-size-sm:14px;--diwa-spinner-size-md:16px;--diwa-spinner-size-lg:20px;--diwa-icon-size-sm:14px;--diwa-icon-size-md:16px;--diwa-icon-size-lg:20px;--diwa-icon-size-xl:24px;--diwa-scrollbar-width:6px;--diwa-switch-track-width:44px;--diwa-switch-track-height:24px;--diwa-switch-thumb-size:16px;--diwa-select-dropdown-max-height:240px;--diwa-select-option-min-height:var(--diwa-touch-target-min-size);--diwa-popover-trigger-size:24px;--diwa-popover-panel-min-width:200px;--diwa-popover-panel-max-width:320px;--diwa-toast-min-width:280px;--diwa-toast-max-width:420px;--diwa-flyout-min-width:320px;--diwa-modal-header-min-height:56px;--diwa-stepper-step-size:28px;--diwa-pagination-item-size:36px;--diwa-scroller-fade-width:40px;--diwa-opacity-disabled:0.4;--diwa-opacity-loading:0.5;--diwa-opacity-muted:0.7;}[data-theme=\"light\"]{--diwa-primary:#010205;--diwa-bg-base:#ffffff;--diwa-bg-raised:#f4f4f5;--diwa-bg-surface:#eeeff2;--diwa-bg-shading:rgba(1, 2, 5, 0.67);--diwa-bg-frosted:hsl(240 4% 85% / 35%);--diwa-bg-primary:var(--diwa-bg-base);--diwa-bg-content:#f4f4f5;--diwa-bg-secondary:#eeeff2;--diwa-bg-tertiary:#e4e4e7;--diwa-bg-elevated:#ffffff;--diwa-bg-hover:rgba(148, 149, 152, 0.18);--diwa-bg-active:var(--diwa-color-zinc-200);--diwa-bg-glass:var(--diwa-bg-shading);--diwa-bg-input:rgba(255, 255, 255, 0.9);--diwa-contrast-low:#d8d8db;--diwa-contrast-medium:#6b6d70;--diwa-contrast-high:#535457;--diwa-text-primary:var(--diwa-primary);--diwa-text-secondary:var(--diwa-contrast-medium);--diwa-text-tertiary:#6b6d70;--diwa-text-muted:#949598;--diwa-text-disabled:#949598;--diwa-text-inverse:#ffffff;--diwa-border:var(--diwa-contrast-low);--diwa-border-hover:#c0c0c3;--diwa-border-light:rgba(216, 216, 219, 0.6);--diwa-state-hover:rgba(148, 149, 152, 0.18);--diwa-state-active:rgba(148, 149, 152, 0.20);--diwa-state-focus:var(--diwa-color-accent-400);--diwa-state-disabled:#949598;--diwa-accent:var(--diwa-state-focus);--diwa-accent-hover:var(--diwa-color-accent-500);--diwa-accent-active:var(--diwa-color-accent-600);--diwa-accent-muted:var(--diwa-color-accent-200);--diwa-accent-bg:var(--diwa-color-accent-100);--diwa-border-focus:var(--diwa-state-focus);--diwa-notification-success:#197e10;--diwa-notification-success-soft:#e4ffec;--diwa-notification-warning:#f3be00;--diwa-notification-warning-soft:#fff4d2;--diwa-notification-error:#cc1922;--diwa-notification-error-soft:#ffe2e4;--diwa-notification-info:#2762ec;--diwa-notification-info-soft:#d3e1ff;--diwa-danger:var(--diwa-notification-error);--diwa-danger-hover:var(--diwa-notification-error);--diwa-danger-active:var(--diwa-notification-error);--diwa-danger-text:#e63535;--diwa-danger-bg:var(--diwa-notification-error-soft);--diwa-warning:var(--diwa-notification-warning);--diwa-warning-text:#b8830a;--diwa-warning-bg:var(--diwa-notification-warning-soft);--diwa-success:var(--diwa-notification-success);--diwa-success-text:#197e10;--diwa-success-bg:var(--diwa-notification-success-soft)}:focus-visible:not([data-theme]){outline:var(--diwa-focus-ring-width) solid var(--diwa-state-focus);outline-offset:var(--diwa-focus-ring-offset)}:focus:not(:focus-visible):not([data-theme]){outline:none}:focus:not(:focus-visible){outline:none}@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}@keyframes diwa-skeleton-pulse{0%{background-position:-200% center}100%{background-position:200% center}}";
6
+
7
+ /*
8
+ Stencil Client Platform v4.43.3 | MIT Licensed | https://stenciljs.com
9
+ */
10
+
11
+
12
+ // src/utils/constants.ts
13
+ var SVG_NS = "http://www.w3.org/2000/svg";
14
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
15
+
16
+ // src/utils/get-prop-descriptor.ts
17
+ function getPropertyDescriptor(obj, memberName, getOnly) {
18
+ const stopAt = typeof HTMLElement !== "undefined" ? HTMLElement.prototype : null;
19
+ while (obj && obj !== stopAt) {
20
+ const desc = Object.getOwnPropertyDescriptor(obj, memberName);
21
+ if (desc && (!getOnly || desc.get)) return desc;
22
+ obj = Object.getPrototypeOf(obj);
23
+ }
24
+ return void 0;
25
+ }
26
+
27
+ // src/utils/es2022-rewire-class-members.ts
28
+ var reWireGetterSetter = (instance, hostRef) => {
29
+ var _a;
30
+ const cmpMeta = hostRef.$cmpMeta$;
31
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
32
+ members.map(([memberName, [memberFlags]]) => {
33
+ if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
34
+ const ogValue = instance[memberName];
35
+ const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName, true) || Object.getOwnPropertyDescriptor(instance, memberName);
36
+ if (ogDescriptor) {
37
+ Object.defineProperty(instance, memberName, {
38
+ get() {
39
+ return ogDescriptor.get.call(this);
40
+ },
41
+ set(newValue) {
42
+ ogDescriptor.set.call(this, newValue);
43
+ },
44
+ configurable: true,
45
+ enumerable: true
46
+ });
47
+ }
48
+ if (hostRef.$instanceValues$.has(memberName)) {
49
+ instance[memberName] = hostRef.$instanceValues$.get(memberName);
50
+ } else if (ogValue !== void 0) {
51
+ instance[memberName] = ogValue;
52
+ }
53
+ }
54
+ });
55
+ };
56
+
57
+ // src/client/client-host-ref.ts
58
+ var getHostRef = (ref) => {
59
+ if (ref.__stencil__getHostRef) {
60
+ return ref.__stencil__getHostRef();
61
+ }
62
+ return void 0;
63
+ };
64
+ var registerInstance = (lazyInstance, hostRef) => {
65
+ if (!hostRef) return;
66
+ lazyInstance.__stencil__getHostRef = () => hostRef;
67
+ hostRef.$lazyInstance$ = lazyInstance;
68
+ if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.state)) {
69
+ reWireGetterSetter(lazyInstance, hostRef);
70
+ }
71
+ };
72
+ var registerHost = (hostElement, cmpMeta) => {
73
+ const hostRef = {
74
+ $flags$: 0,
75
+ $hostElement$: hostElement,
76
+ $cmpMeta$: cmpMeta,
77
+ $instanceValues$: /* @__PURE__ */ new Map(),
78
+ $serializerValues$: /* @__PURE__ */ new Map()
79
+ };
80
+ {
81
+ hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
82
+ }
83
+ {
84
+ hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
85
+ hostElement["s-p"] = [];
86
+ hostElement["s-rc"] = [];
87
+ }
88
+ {
89
+ hostRef.$fetchedCbList$ = [];
90
+ }
91
+ const ref = hostRef;
92
+ hostElement.__stencil__getHostRef = () => ref;
93
+ return ref;
94
+ };
95
+ var isMemberInElement = (elm, memberName) => memberName in elm;
96
+ var consoleError = (e, el) => (0, console.error)(e, el);
97
+
98
+ // src/client/client-load-module.ts
99
+ var cmpModules = /* @__PURE__ */ new Map();
100
+ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
101
+ const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
102
+ const bundleId = cmpMeta.$lazyBundleId$;
103
+ if (!bundleId) {
104
+ return void 0;
105
+ }
106
+ const module = cmpModules.get(bundleId) ;
107
+ if (module) {
108
+ return module[exportName];
109
+ }
110
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
111
+ return import(
112
+ /* @vite-ignore */
113
+ /* webpackInclude: /\.entry\.js$/ */
114
+ /* webpackExclude: /\.system\.entry\.js$/ */
115
+ /* webpackMode: "lazy" */
116
+ `./${bundleId}.entry.js${""}`
117
+ ).then(
118
+ (importedModule) => {
119
+ {
120
+ cmpModules.set(bundleId, importedModule);
121
+ }
122
+ return importedModule[exportName];
123
+ },
124
+ (e) => {
125
+ consoleError(e, hostRef.$hostElement$);
126
+ }
127
+ );
128
+ };
129
+ var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
130
+ var XLINK_NS = "http://www.w3.org/1999/xlink";
131
+ var win = typeof window !== "undefined" ? window : {};
132
+ var plt = {
133
+ $flags$: 0,
134
+ $resourcesUrl$: "",
135
+ jmp: (h2) => h2(),
136
+ raf: (h2) => requestAnimationFrame(h2),
137
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
138
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
139
+ ce: (eventName, opts) => new CustomEvent(eventName, opts)
140
+ };
141
+ var supportsListenerOptions = /* @__PURE__ */ (() => {
142
+ var _a;
143
+ let supportsListenerOptions2 = false;
144
+ try {
145
+ (_a = win.document) == null ? void 0 : _a.addEventListener(
146
+ "e",
147
+ null,
148
+ Object.defineProperty({}, "passive", {
149
+ get() {
150
+ supportsListenerOptions2 = true;
151
+ }
152
+ })
153
+ );
154
+ } catch (e) {
155
+ }
156
+ return supportsListenerOptions2;
157
+ })();
158
+ var promiseResolve = (v) => Promise.resolve(v);
159
+ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
160
+ try {
161
+ if (!win.document.adoptedStyleSheets) {
162
+ return false;
163
+ }
164
+ new CSSStyleSheet();
165
+ return typeof new CSSStyleSheet().replaceSync === "function";
166
+ } catch (e) {
167
+ }
168
+ return false;
169
+ })() ;
170
+ var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
171
+ var queuePending = false;
172
+ var queueDomReads = [];
173
+ var queueDomWrites = [];
174
+ var queueTask = (queue, write) => (cb) => {
175
+ queue.push(cb);
176
+ if (!queuePending) {
177
+ queuePending = true;
178
+ if (write && plt.$flags$ & 4 /* queueSync */) {
179
+ nextTick(flush);
180
+ } else {
181
+ plt.raf(flush);
182
+ }
183
+ }
184
+ };
185
+ var consume = (queue) => {
186
+ for (let i2 = 0; i2 < queue.length; i2++) {
187
+ try {
188
+ queue[i2](performance.now());
189
+ } catch (e) {
190
+ consoleError(e);
191
+ }
192
+ }
193
+ queue.length = 0;
194
+ };
195
+ var flush = () => {
196
+ consume(queueDomReads);
197
+ {
198
+ consume(queueDomWrites);
199
+ if (queuePending = queueDomReads.length > 0) {
200
+ plt.raf(flush);
201
+ }
202
+ }
203
+ };
204
+ var nextTick = (cb) => promiseResolve().then(cb);
205
+ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
206
+
207
+ // src/utils/style.ts
208
+ function createStyleSheetIfNeededAndSupported(styles2) {
209
+ if (!supportsConstructableStylesheets) return void 0;
210
+ const sheet = new CSSStyleSheet();
211
+ sheet.replaceSync(styles2);
212
+ return sheet;
213
+ }
214
+
215
+ // src/utils/shadow-root.ts
216
+ var globalStyleSheet;
217
+ function createShadowRoot(cmpMeta) {
218
+ var _a;
219
+ const opts = { mode: "open" };
220
+ {
221
+ opts.delegatesFocus = !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */);
222
+ }
223
+ const shadowRoot = this.attachShadow(opts);
224
+ if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported(globalStyles)) != null ? _a : null;
225
+ if (globalStyleSheet) {
226
+ if (supportsMutableAdoptedStyleSheets) {
227
+ shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
228
+ } else {
229
+ shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
230
+ }
231
+ } else if (!supportsConstructableStylesheets) {
232
+ const styleElm = document.createElement("style");
233
+ styleElm.innerHTML = globalStyles;
234
+ shadowRoot.prepend(styleElm);
235
+ }
236
+ }
237
+ var createTime = (fnName, tagName = "") => {
238
+ {
239
+ return () => {
240
+ return;
241
+ };
242
+ }
243
+ };
244
+ var uniqueTime = (key, measureText) => {
245
+ {
246
+ return () => {
247
+ return;
248
+ };
249
+ }
250
+ };
251
+
252
+ // src/utils/query-nonce-meta-tag-content.ts
253
+ function queryNonceMetaTagContent(doc) {
254
+ var _a, _b, _c;
255
+ return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
256
+ }
257
+
258
+ // src/runtime/styles.ts
259
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
260
+ var isComplexType = (o) => {
261
+ o = typeof o;
262
+ return o === "object" || o === "function";
263
+ };
264
+
265
+ // src/runtime/vdom/h.ts
266
+ var h = (nodeName, vnodeData, ...children) => {
267
+ if (typeof nodeName === "string") {
268
+ nodeName = transformTag(nodeName);
269
+ }
270
+ let child = null;
271
+ let key = null;
272
+ let simple = false;
273
+ let lastSimple = false;
274
+ const vNodeChildren = [];
275
+ const walk = (c) => {
276
+ for (let i2 = 0; i2 < c.length; i2++) {
277
+ child = c[i2];
278
+ if (Array.isArray(child)) {
279
+ walk(child);
280
+ } else if (child != null && typeof child !== "boolean") {
281
+ if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
282
+ child = String(child);
283
+ }
284
+ if (simple && lastSimple) {
285
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
286
+ } else {
287
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
288
+ }
289
+ lastSimple = simple;
290
+ }
291
+ }
292
+ };
293
+ walk(children);
294
+ if (vnodeData) {
295
+ if (vnodeData.key) {
296
+ key = vnodeData.key;
297
+ }
298
+ {
299
+ const classData = vnodeData.className || vnodeData.class;
300
+ if (classData) {
301
+ vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
302
+ }
303
+ }
304
+ }
305
+ if (typeof nodeName === "function") {
306
+ return nodeName(
307
+ vnodeData === null ? {} : vnodeData,
308
+ vNodeChildren,
309
+ vdomFnUtils
310
+ );
311
+ }
312
+ const vnode = newVNode(nodeName, null);
313
+ vnode.$attrs$ = vnodeData;
314
+ if (vNodeChildren.length > 0) {
315
+ vnode.$children$ = vNodeChildren;
316
+ }
317
+ {
318
+ vnode.$key$ = key;
319
+ }
320
+ return vnode;
321
+ };
322
+ var newVNode = (tag, text) => {
323
+ const vnode = {
324
+ $flags$: 0,
325
+ $tag$: tag,
326
+ // Normalize undefined to null to prevent rendering "undefined" as text
327
+ $text$: text != null ? text : null,
328
+ $elm$: null,
329
+ $children$: null
330
+ };
331
+ {
332
+ vnode.$attrs$ = null;
333
+ }
334
+ {
335
+ vnode.$key$ = null;
336
+ }
337
+ return vnode;
338
+ };
339
+ var Host = {};
340
+ var isHost = (node) => node && node.$tag$ === Host;
341
+ var vdomFnUtils = {
342
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
343
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
344
+ };
345
+ var convertToPublic = (node) => ({
346
+ vattrs: node.$attrs$,
347
+ vchildren: node.$children$,
348
+ vkey: node.$key$,
349
+ vname: node.$name$,
350
+ vtag: node.$tag$,
351
+ vtext: node.$text$
352
+ });
353
+ var convertToPrivate = (node) => {
354
+ if (typeof node.vtag === "function") {
355
+ const vnodeData = { ...node.vattrs };
356
+ if (node.vkey) {
357
+ vnodeData.key = node.vkey;
358
+ }
359
+ if (node.vname) {
360
+ vnodeData.name = node.vname;
361
+ }
362
+ return h(node.vtag, vnodeData, ...node.vchildren || []);
363
+ }
364
+ const vnode = newVNode(node.vtag, node.vtext);
365
+ vnode.$attrs$ = node.vattrs;
366
+ vnode.$children$ = node.vchildren;
367
+ vnode.$key$ = node.vkey;
368
+ vnode.$name$ = node.vname;
369
+ return vnode;
370
+ };
371
+
372
+ // src/runtime/parse-property-value.ts
373
+ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
374
+ if (propValue != null && !isComplexType(propValue)) {
375
+ if (propType & 4 /* Boolean */) {
376
+ {
377
+ return propValue === "false" ? false : propValue === "" || !!propValue;
378
+ }
379
+ }
380
+ if (propType & 2 /* Number */) {
381
+ return typeof propValue === "string" ? parseFloat(propValue) : typeof propValue === "number" ? propValue : NaN;
382
+ }
383
+ if (propType & 1 /* String */) {
384
+ return String(propValue);
385
+ }
386
+ return propValue;
387
+ }
388
+ return propValue;
389
+ };
390
+ var getElement = (ref) => {
391
+ var _a;
392
+ return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
393
+ };
394
+
395
+ // src/runtime/event-emitter.ts
396
+ var createEvent = (ref, name, flags) => {
397
+ const elm = getElement(ref);
398
+ return {
399
+ emit: (detail) => {
400
+ return emitEvent(elm, name, {
401
+ bubbles: !!(flags & 4 /* Bubbles */),
402
+ composed: !!(flags & 2 /* Composed */),
403
+ cancelable: !!(flags & 1 /* Cancellable */),
404
+ detail
405
+ });
406
+ }
407
+ };
408
+ };
409
+ var emitEvent = (elm, name, opts) => {
410
+ const ev = plt.ce(name, opts);
411
+ elm.dispatchEvent(ev);
412
+ return ev;
413
+ };
414
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
415
+ if (oldValue === newValue) {
416
+ return;
417
+ }
418
+ let isProp = isMemberInElement(elm, memberName);
419
+ let ln = memberName.toLowerCase();
420
+ if (memberName === "class") {
421
+ const classList = elm.classList;
422
+ const oldClasses = parseClassList(oldValue);
423
+ let newClasses = parseClassList(newValue);
424
+ {
425
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
426
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
427
+ }
428
+ } else if (memberName === "style") {
429
+ {
430
+ for (const prop in oldValue) {
431
+ if (!newValue || newValue[prop] == null) {
432
+ if (prop.includes("-")) {
433
+ elm.style.removeProperty(prop);
434
+ } else {
435
+ elm.style[prop] = "";
436
+ }
437
+ }
438
+ }
439
+ }
440
+ for (const prop in newValue) {
441
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
442
+ if (prop.includes("-")) {
443
+ elm.style.setProperty(prop, newValue[prop]);
444
+ } else {
445
+ elm.style[prop] = newValue[prop];
446
+ }
447
+ }
448
+ }
449
+ } else if (memberName === "key") ; else if (memberName === "ref") {
450
+ if (newValue) {
451
+ queueRefAttachment(newValue, elm);
452
+ }
453
+ } else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
454
+ if (memberName[2] === "-") {
455
+ memberName = memberName.slice(3);
456
+ } else if (isMemberInElement(win, ln)) {
457
+ memberName = ln.slice(2);
458
+ } else {
459
+ memberName = ln[2] + memberName.slice(3);
460
+ }
461
+ if (oldValue || newValue) {
462
+ const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
463
+ memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
464
+ if (oldValue) {
465
+ plt.rel(elm, memberName, oldValue, capture);
466
+ }
467
+ if (newValue) {
468
+ plt.ael(elm, memberName, newValue, capture);
469
+ }
470
+ }
471
+ } else if (memberName[0] === "a" && memberName.startsWith("attr:")) {
472
+ const propName = memberName.slice(5);
473
+ let attrName;
474
+ {
475
+ const hostRef = getHostRef(elm);
476
+ if (hostRef && hostRef.$cmpMeta$ && hostRef.$cmpMeta$.$members$) {
477
+ const memberMeta = hostRef.$cmpMeta$.$members$[propName];
478
+ if (memberMeta && memberMeta[1]) {
479
+ attrName = memberMeta[1];
480
+ }
481
+ }
482
+ }
483
+ if (!attrName) {
484
+ attrName = propName.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
485
+ }
486
+ if (newValue == null || newValue === false) {
487
+ if (newValue !== false || elm.getAttribute(attrName) === "") {
488
+ elm.removeAttribute(attrName);
489
+ }
490
+ } else {
491
+ elm.setAttribute(attrName, newValue === true ? "" : newValue);
492
+ }
493
+ return;
494
+ } else if (memberName[0] === "p" && memberName.startsWith("prop:")) {
495
+ const propName = memberName.slice(5);
496
+ try {
497
+ elm[propName] = newValue;
498
+ } catch (e) {
499
+ }
500
+ return;
501
+ } else {
502
+ const isComplex = isComplexType(newValue);
503
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
504
+ try {
505
+ if (!elm.tagName.includes("-")) {
506
+ const n = newValue == null ? "" : newValue;
507
+ if (memberName === "list") {
508
+ isProp = false;
509
+ } else if (oldValue == null || elm[memberName] !== n) {
510
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
511
+ elm[memberName] = n;
512
+ } else {
513
+ elm.setAttribute(memberName, n);
514
+ }
515
+ }
516
+ } else if (elm[memberName] !== newValue) {
517
+ elm[memberName] = newValue;
518
+ }
519
+ } catch (e) {
520
+ }
521
+ }
522
+ let xlink = false;
523
+ {
524
+ if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
525
+ memberName = ln;
526
+ xlink = true;
527
+ }
528
+ }
529
+ if (newValue == null || newValue === false) {
530
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
531
+ if (xlink) {
532
+ elm.removeAttributeNS(XLINK_NS, memberName);
533
+ } else {
534
+ elm.removeAttribute(memberName);
535
+ }
536
+ }
537
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
538
+ newValue = newValue === true ? "" : newValue;
539
+ if (xlink) {
540
+ elm.setAttributeNS(XLINK_NS, memberName, newValue);
541
+ } else {
542
+ elm.setAttribute(memberName, newValue);
543
+ }
544
+ }
545
+ }
546
+ };
547
+ var parseClassListRegex = /\s/;
548
+ var parseClassList = (value) => {
549
+ if (typeof value === "object" && value && "baseVal" in value) {
550
+ value = value.baseVal;
551
+ }
552
+ if (!value || typeof value !== "string") {
553
+ return [];
554
+ }
555
+ return value.split(parseClassListRegex);
556
+ };
557
+ var CAPTURE_EVENT_SUFFIX = "Capture";
558
+ var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
559
+
560
+ // src/runtime/vdom/update-element.ts
561
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
562
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
563
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
564
+ const newVnodeAttrs = newVnode.$attrs$ || {};
565
+ {
566
+ for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
567
+ if (!(memberName in newVnodeAttrs)) {
568
+ setAccessor(
569
+ elm,
570
+ memberName,
571
+ oldVnodeAttrs[memberName],
572
+ void 0,
573
+ isSvgMode2,
574
+ newVnode.$flags$);
575
+ }
576
+ }
577
+ }
578
+ for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
579
+ setAccessor(
580
+ elm,
581
+ memberName,
582
+ oldVnodeAttrs[memberName],
583
+ newVnodeAttrs[memberName],
584
+ isSvgMode2,
585
+ newVnode.$flags$);
586
+ }
587
+ };
588
+ function sortedAttrNames(attrNames) {
589
+ return attrNames.includes("ref") ? (
590
+ // we need to sort these to ensure that `'ref'` is the last attr
591
+ [...attrNames.filter((attr) => attr !== "ref"), "ref"]
592
+ ) : (
593
+ // no need to sort, return the original array
594
+ attrNames
595
+ );
596
+ }
597
+ var hostTagName;
598
+ var useNativeShadowDom = false;
599
+ var isSvgMode = false;
600
+ var refCallbacksToRemove = [];
601
+ var refCallbacksToAttach = [];
602
+ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
603
+ const newVNode2 = newParentVNode.$children$[childIndex];
604
+ let i2 = 0;
605
+ let elm;
606
+ let childNode;
607
+ if (newVNode2.$text$ != null) {
608
+ elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
609
+ } else {
610
+ if (!isSvgMode) {
611
+ isSvgMode = newVNode2.$tag$ === "svg";
612
+ }
613
+ if (!win.document) {
614
+ throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
615
+ }
616
+ elm = newVNode2.$elm$ = win.document.createElementNS(
617
+ isSvgMode ? SVG_NS : HTML_NS,
618
+ newVNode2.$tag$
619
+ ) ;
620
+ if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
621
+ isSvgMode = false;
622
+ }
623
+ {
624
+ updateElement(null, newVNode2, isSvgMode);
625
+ }
626
+ if (newVNode2.$children$) {
627
+ const appendTarget = newVNode2.$tag$ === "template" ? elm.content : elm;
628
+ for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
629
+ childNode = createElm(oldParentVNode, newVNode2, i2);
630
+ if (childNode) {
631
+ appendTarget.appendChild(childNode);
632
+ }
633
+ }
634
+ }
635
+ {
636
+ if (newVNode2.$tag$ === "svg") {
637
+ isSvgMode = false;
638
+ } else if (elm.tagName === "foreignObject") {
639
+ isSvgMode = true;
640
+ }
641
+ }
642
+ }
643
+ elm["s-hn"] = hostTagName;
644
+ return elm;
645
+ };
646
+ var relocateToHostRoot = (parentElm) => {
647
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
648
+ const host = parentElm.closest(hostTagName.toLowerCase());
649
+ if (host != null) {
650
+ const contentRefNode = Array.from(host.__childNodes || host.childNodes).find(
651
+ (ref) => ref["s-cr"]
652
+ );
653
+ const childNodeArray = Array.from(
654
+ parentElm.__childNodes || parentElm.childNodes
655
+ );
656
+ for (const childNode of contentRefNode ? childNodeArray.reverse() : childNodeArray) {
657
+ if (childNode["s-sh"] != null) {
658
+ insertBefore(host, childNode, contentRefNode != null ? contentRefNode : null);
659
+ childNode["s-sh"] = void 0;
660
+ }
661
+ }
662
+ }
663
+ plt.$flags$ &= -2 /* isTmpDisconnected */;
664
+ };
665
+ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
666
+ let containerElm = parentElm;
667
+ let childNode;
668
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
669
+ containerElm = containerElm.shadowRoot;
670
+ }
671
+ if (parentVNode.$tag$ === "template") {
672
+ containerElm = containerElm.content;
673
+ }
674
+ for (; startIdx <= endIdx; ++startIdx) {
675
+ if (vnodes[startIdx]) {
676
+ childNode = createElm(null, parentVNode, startIdx);
677
+ if (childNode) {
678
+ vnodes[startIdx].$elm$ = childNode;
679
+ insertBefore(containerElm, childNode, before);
680
+ }
681
+ }
682
+ }
683
+ };
684
+ var removeVnodes = (vnodes, startIdx, endIdx) => {
685
+ for (let index = startIdx; index <= endIdx; ++index) {
686
+ const vnode = vnodes[index];
687
+ if (vnode) {
688
+ const elm = vnode.$elm$;
689
+ nullifyVNodeRefs(vnode);
690
+ if (elm) {
691
+ elm.remove();
692
+ }
693
+ }
694
+ }
695
+ };
696
+ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
697
+ let oldStartIdx = 0;
698
+ let newStartIdx = 0;
699
+ let idxInOld = 0;
700
+ let i2 = 0;
701
+ let oldEndIdx = oldCh.length - 1;
702
+ let oldStartVnode = oldCh[0];
703
+ let oldEndVnode = oldCh[oldEndIdx];
704
+ let newEndIdx = newCh.length - 1;
705
+ let newStartVnode = newCh[0];
706
+ let newEndVnode = newCh[newEndIdx];
707
+ let node;
708
+ let elmToMove;
709
+ const containerElm = newVNode2.$tag$ === "template" ? parentElm.content : parentElm;
710
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
711
+ if (oldStartVnode == null) {
712
+ oldStartVnode = oldCh[++oldStartIdx];
713
+ } else if (oldEndVnode == null) {
714
+ oldEndVnode = oldCh[--oldEndIdx];
715
+ } else if (newStartVnode == null) {
716
+ newStartVnode = newCh[++newStartIdx];
717
+ } else if (newEndVnode == null) {
718
+ newEndVnode = newCh[--newEndIdx];
719
+ } else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
720
+ patch(oldStartVnode, newStartVnode, isInitialRender);
721
+ oldStartVnode = oldCh[++oldStartIdx];
722
+ newStartVnode = newCh[++newStartIdx];
723
+ } else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
724
+ patch(oldEndVnode, newEndVnode, isInitialRender);
725
+ oldEndVnode = oldCh[--oldEndIdx];
726
+ newEndVnode = newCh[--newEndIdx];
727
+ } else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
728
+ patch(oldStartVnode, newEndVnode, isInitialRender);
729
+ insertBefore(containerElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
730
+ oldStartVnode = oldCh[++oldStartIdx];
731
+ newEndVnode = newCh[--newEndIdx];
732
+ } else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
733
+ patch(oldEndVnode, newStartVnode, isInitialRender);
734
+ insertBefore(containerElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
735
+ oldEndVnode = oldCh[--oldEndIdx];
736
+ newStartVnode = newCh[++newStartIdx];
737
+ } else {
738
+ idxInOld = -1;
739
+ {
740
+ for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
741
+ if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
742
+ idxInOld = i2;
743
+ break;
744
+ }
745
+ }
746
+ }
747
+ if (idxInOld >= 0) {
748
+ elmToMove = oldCh[idxInOld];
749
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
750
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
751
+ } else {
752
+ patch(elmToMove, newStartVnode, isInitialRender);
753
+ oldCh[idxInOld] = void 0;
754
+ node = elmToMove.$elm$;
755
+ }
756
+ newStartVnode = newCh[++newStartIdx];
757
+ } else {
758
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
759
+ newStartVnode = newCh[++newStartIdx];
760
+ }
761
+ if (node) {
762
+ {
763
+ insertBefore(oldStartVnode.$elm$.parentNode, node, oldStartVnode.$elm$);
764
+ }
765
+ }
766
+ }
767
+ }
768
+ if (oldStartIdx > oldEndIdx) {
769
+ addVnodes(
770
+ parentElm,
771
+ newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
772
+ newVNode2,
773
+ newCh,
774
+ newStartIdx,
775
+ newEndIdx
776
+ );
777
+ } else if (newStartIdx > newEndIdx) {
778
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
779
+ }
780
+ };
781
+ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
782
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
783
+ if (!isInitialRender) {
784
+ return leftVNode.$key$ === rightVNode.$key$;
785
+ }
786
+ if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
787
+ leftVNode.$key$ = rightVNode.$key$;
788
+ }
789
+ return true;
790
+ }
791
+ return false;
792
+ };
793
+ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
794
+ const elm = newVNode2.$elm$ = oldVNode.$elm$;
795
+ const oldChildren = oldVNode.$children$;
796
+ const newChildren = newVNode2.$children$;
797
+ const tag = newVNode2.$tag$;
798
+ const text = newVNode2.$text$;
799
+ if (text == null) {
800
+ {
801
+ isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
802
+ }
803
+ {
804
+ if (tag === "slot" && !useNativeShadowDom) {
805
+ if (oldVNode.$name$ !== newVNode2.$name$) {
806
+ newVNode2.$elm$["s-sn"] = newVNode2.$name$ || "";
807
+ relocateToHostRoot(newVNode2.$elm$.parentElement);
808
+ }
809
+ }
810
+ updateElement(oldVNode, newVNode2, isSvgMode);
811
+ }
812
+ if (oldChildren !== null && newChildren !== null) {
813
+ updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
814
+ } else if (newChildren !== null) {
815
+ if (oldVNode.$text$ !== null) {
816
+ elm.textContent = "";
817
+ }
818
+ addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
819
+ } else if (
820
+ // don't do this on initial render as it can cause non-hydrated content to be removed
821
+ !isInitialRender && BUILD.updatable && oldChildren !== null
822
+ ) {
823
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
824
+ } else ;
825
+ if (isSvgMode && tag === "svg") {
826
+ isSvgMode = false;
827
+ }
828
+ } else if (oldVNode.$text$ !== text) {
829
+ elm.data = text;
830
+ }
831
+ };
832
+ var nullifyVNodeRefs = (vNode) => {
833
+ {
834
+ if (vNode.$attrs$ && vNode.$attrs$.ref) {
835
+ refCallbacksToRemove.push(() => vNode.$attrs$.ref(null));
836
+ }
837
+ vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
838
+ }
839
+ };
840
+ var queueRefAttachment = (refCallback, elm) => {
841
+ {
842
+ refCallbacksToAttach.push(() => refCallback(elm));
843
+ }
844
+ };
845
+ var flushQueuedRefCallbacks = () => {
846
+ {
847
+ refCallbacksToRemove.forEach((cb) => cb());
848
+ refCallbacksToRemove.length = 0;
849
+ refCallbacksToAttach.forEach((cb) => cb());
850
+ refCallbacksToAttach.length = 0;
851
+ }
852
+ };
853
+ var insertBefore = (parent, newNode, reference, isInitialLoad) => {
854
+ if (parent.__insertBefore) {
855
+ return parent.__insertBefore(newNode, reference);
856
+ } else {
857
+ return parent == null ? void 0 : parent.insertBefore(newNode, reference);
858
+ }
859
+ };
860
+ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
861
+ const hostElm = hostRef.$hostElement$;
862
+ const cmpMeta = hostRef.$cmpMeta$;
863
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
864
+ const isHostElement = isHost(renderFnResults);
865
+ const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
866
+ hostTagName = hostElm.tagName;
867
+ if (cmpMeta.$attrsToReflect$) {
868
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
869
+ cmpMeta.$attrsToReflect$.forEach(([propName, attribute]) => {
870
+ {
871
+ rootVnode.$attrs$[attribute] = hostElm[propName];
872
+ }
873
+ });
874
+ }
875
+ if (isInitialLoad && rootVnode.$attrs$) {
876
+ for (const key of Object.keys(rootVnode.$attrs$)) {
877
+ if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
878
+ rootVnode.$attrs$[key] = hostElm[key];
879
+ }
880
+ }
881
+ }
882
+ rootVnode.$tag$ = null;
883
+ rootVnode.$flags$ |= 4 /* isHost */;
884
+ hostRef.$vnode$ = rootVnode;
885
+ rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
886
+ useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
887
+ patch(oldVNode, rootVnode, isInitialLoad);
888
+ flushQueuedRefCallbacks();
889
+ };
890
+
891
+ // src/runtime/update-component.ts
892
+ var attachToAncestor = (hostRef, ancestorComponent) => {
893
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
894
+ const index = ancestorComponent["s-p"].push(
895
+ new Promise(
896
+ (r) => hostRef.$onRenderResolve$ = () => {
897
+ ancestorComponent["s-p"].splice(index - 1, 1);
898
+ r();
899
+ }
900
+ )
901
+ );
902
+ }
903
+ };
904
+ var scheduleUpdate = (hostRef, isInitialLoad) => {
905
+ {
906
+ hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
907
+ }
908
+ if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
909
+ hostRef.$flags$ |= 512 /* needsRerender */;
910
+ return;
911
+ }
912
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
913
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
914
+ if (isInitialLoad) {
915
+ queueMicrotask(() => {
916
+ dispatch();
917
+ });
918
+ return;
919
+ }
920
+ return writeTask(dispatch) ;
921
+ };
922
+ var dispatchHooks = (hostRef, isInitialLoad) => {
923
+ const elm = hostRef.$hostElement$;
924
+ const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
925
+ const instance = hostRef.$lazyInstance$ ;
926
+ if (!instance) {
927
+ throw new Error(
928
+ `Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
929
+ );
930
+ }
931
+ let maybePromise;
932
+ if (isInitialLoad) {
933
+ {
934
+ {
935
+ hostRef.$flags$ |= 256 /* isListenReady */;
936
+ if (hostRef.$queuedListeners$) {
937
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
938
+ hostRef.$queuedListeners$ = void 0;
939
+ }
940
+ }
941
+ if (hostRef.$fetchedCbList$.length) {
942
+ hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
943
+ }
944
+ }
945
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
946
+ } else {
947
+ maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
948
+ }
949
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
950
+ endSchedule();
951
+ return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
952
+ };
953
+ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err) => {
954
+ console.error(err);
955
+ fn();
956
+ }) : fn();
957
+ var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
958
+ var updateComponent = async (hostRef, instance, isInitialLoad) => {
959
+ var _a;
960
+ const elm = hostRef.$hostElement$;
961
+ const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
962
+ const rc = elm["s-rc"];
963
+ const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
964
+ {
965
+ callRender(hostRef, instance, elm, isInitialLoad);
966
+ }
967
+ if (rc) {
968
+ rc.map((cb) => cb());
969
+ elm["s-rc"] = void 0;
970
+ }
971
+ endRender();
972
+ endUpdate();
973
+ {
974
+ const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
975
+ const postUpdate = () => postUpdateComponent(hostRef);
976
+ if (childrenPromises.length === 0) {
977
+ postUpdate();
978
+ } else {
979
+ Promise.all(childrenPromises).then(postUpdate).catch(postUpdate);
980
+ hostRef.$flags$ |= 4 /* isWaitingForChildren */;
981
+ childrenPromises.length = 0;
982
+ }
983
+ }
984
+ };
985
+ var callRender = (hostRef, instance, elm, isInitialLoad) => {
986
+ try {
987
+ instance = instance.render() ;
988
+ {
989
+ hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
990
+ }
991
+ {
992
+ hostRef.$flags$ |= 2 /* hasRendered */;
993
+ }
994
+ {
995
+ {
996
+ {
997
+ renderVdom(hostRef, instance, isInitialLoad);
998
+ }
999
+ }
1000
+ }
1001
+ } catch (e) {
1002
+ consoleError(e, hostRef.$hostElement$);
1003
+ }
1004
+ return null;
1005
+ };
1006
+ var postUpdateComponent = (hostRef) => {
1007
+ const tagName = hostRef.$cmpMeta$.$tagName$;
1008
+ const elm = hostRef.$hostElement$;
1009
+ const endPostUpdate = createTime("postUpdate", tagName);
1010
+ const instance = hostRef.$lazyInstance$ ;
1011
+ const ancestorComponent = hostRef.$ancestorComponent$;
1012
+ safeCall(instance, "componentDidRender", void 0, elm);
1013
+ if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1014
+ hostRef.$flags$ |= 64 /* hasLoadedComponent */;
1015
+ {
1016
+ addHydratedFlag(elm);
1017
+ }
1018
+ safeCall(instance, "componentDidLoad", void 0, elm);
1019
+ endPostUpdate();
1020
+ {
1021
+ hostRef.$onReadyResolve$(elm);
1022
+ if (!ancestorComponent) {
1023
+ appDidLoad();
1024
+ }
1025
+ }
1026
+ } else {
1027
+ safeCall(instance, "componentDidUpdate", void 0, elm);
1028
+ endPostUpdate();
1029
+ }
1030
+ {
1031
+ hostRef.$onInstanceResolve$(elm);
1032
+ }
1033
+ {
1034
+ if (hostRef.$onRenderResolve$) {
1035
+ hostRef.$onRenderResolve$();
1036
+ hostRef.$onRenderResolve$ = void 0;
1037
+ }
1038
+ if (hostRef.$flags$ & 512 /* needsRerender */) {
1039
+ nextTick(() => scheduleUpdate(hostRef, false));
1040
+ }
1041
+ hostRef.$flags$ &= -517;
1042
+ }
1043
+ };
1044
+ var forceUpdate = (ref) => {
1045
+ var _a;
1046
+ {
1047
+ const hostRef = getHostRef(ref);
1048
+ const isConnected = (_a = hostRef == null ? void 0 : hostRef.$hostElement$) == null ? void 0 : _a.isConnected;
1049
+ if (isConnected && (hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1050
+ scheduleUpdate(hostRef, false);
1051
+ }
1052
+ return isConnected;
1053
+ }
1054
+ };
1055
+ var appDidLoad = (who) => {
1056
+ nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1057
+ };
1058
+ var safeCall = (instance, method, arg, elm) => {
1059
+ if (instance && instance[method]) {
1060
+ try {
1061
+ return instance[method](arg);
1062
+ } catch (e) {
1063
+ consoleError(e, elm);
1064
+ }
1065
+ }
1066
+ return void 0;
1067
+ };
1068
+ var addHydratedFlag = (elm) => {
1069
+ var _a;
1070
+ return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
1071
+ };
1072
+
1073
+ // src/runtime/set-value.ts
1074
+ var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1075
+ var setValue = (ref, propName, newVal, cmpMeta) => {
1076
+ const hostRef = getHostRef(ref);
1077
+ if (!hostRef) {
1078
+ return;
1079
+ }
1080
+ if (!hostRef) {
1081
+ throw new Error(
1082
+ `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
1083
+ );
1084
+ }
1085
+ const elm = hostRef.$hostElement$ ;
1086
+ const oldVal = hostRef.$instanceValues$.get(propName);
1087
+ const flags = hostRef.$flags$;
1088
+ const instance = hostRef.$lazyInstance$ ;
1089
+ newVal = parsePropertyValue(
1090
+ newVal,
1091
+ cmpMeta.$members$[propName][0]);
1092
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1093
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1094
+ if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
1095
+ hostRef.$instanceValues$.set(propName, newVal);
1096
+ if (cmpMeta.$watchers$) {
1097
+ const watchMethods = cmpMeta.$watchers$[propName];
1098
+ if (watchMethods) {
1099
+ watchMethods.map((watcher) => {
1100
+ try {
1101
+ const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
1102
+ if (flags & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */) {
1103
+ if (!instance) {
1104
+ hostRef.$fetchedCbList$.push(() => {
1105
+ hostRef.$lazyInstance$[watchMethodName](newVal, oldVal, propName);
1106
+ });
1107
+ } else {
1108
+ instance[watchMethodName](newVal, oldVal, propName);
1109
+ }
1110
+ }
1111
+ } catch (e) {
1112
+ consoleError(e, elm);
1113
+ }
1114
+ });
1115
+ }
1116
+ }
1117
+ if (flags & 2 /* hasRendered */) {
1118
+ if (instance.componentShouldUpdate) {
1119
+ const shouldUpdate = instance.componentShouldUpdate(newVal, oldVal, propName);
1120
+ if (shouldUpdate === false && !(flags & 16 /* isQueuedForUpdate */)) {
1121
+ return;
1122
+ }
1123
+ }
1124
+ if (!(flags & 16 /* isQueuedForUpdate */)) {
1125
+ scheduleUpdate(hostRef, false);
1126
+ }
1127
+ }
1128
+ }
1129
+ };
1130
+
1131
+ // src/runtime/proxy-component.ts
1132
+ var proxyComponent = (Cstr, cmpMeta, flags) => {
1133
+ var _a, _b;
1134
+ const prototype = Cstr.prototype;
1135
+ if (cmpMeta.$members$ || BUILD.propChangeCallback) {
1136
+ {
1137
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
1138
+ cmpMeta.$watchers$ = Cstr.watchers;
1139
+ }
1140
+ if (Cstr.deserializers && !cmpMeta.$deserializers$) {
1141
+ cmpMeta.$deserializers$ = Cstr.deserializers;
1142
+ }
1143
+ if (Cstr.serializers && !cmpMeta.$serializers$) {
1144
+ cmpMeta.$serializers$ = Cstr.serializers;
1145
+ }
1146
+ }
1147
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1148
+ members.map(([memberName, [memberFlags]]) => {
1149
+ if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1150
+ const { get: origGetter, set: origSetter } = getPropertyDescriptor(prototype, memberName) || {};
1151
+ if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1152
+ if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1153
+ if (flags & 1 /* isElementConstructor */ || !origGetter) {
1154
+ Object.defineProperty(prototype, memberName, {
1155
+ get() {
1156
+ {
1157
+ if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
1158
+ return getValue(this, memberName);
1159
+ }
1160
+ const ref = getHostRef(this);
1161
+ const instance = ref ? ref.$lazyInstance$ : prototype;
1162
+ if (!instance) return;
1163
+ return instance[memberName];
1164
+ }
1165
+ },
1166
+ configurable: true,
1167
+ enumerable: true
1168
+ });
1169
+ }
1170
+ Object.defineProperty(prototype, memberName, {
1171
+ set(newValue) {
1172
+ const ref = getHostRef(this);
1173
+ if (!ref) {
1174
+ return;
1175
+ }
1176
+ if (origSetter) {
1177
+ const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1178
+ if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1179
+ newValue = ref.$instanceValues$.get(memberName);
1180
+ }
1181
+ origSetter.apply(this, [
1182
+ parsePropertyValue(
1183
+ newValue,
1184
+ memberFlags)
1185
+ ]);
1186
+ newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1187
+ setValue(this, memberName, newValue, cmpMeta);
1188
+ return;
1189
+ }
1190
+ {
1191
+ if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1192
+ setValue(this, memberName, newValue, cmpMeta);
1193
+ if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1194
+ ref.$fetchedCbList$.push(() => {
1195
+ if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1196
+ ref.$lazyInstance$[memberName] = newValue;
1197
+ }
1198
+ });
1199
+ }
1200
+ return;
1201
+ }
1202
+ const setterSetVal = () => {
1203
+ const currentValue = ref.$lazyInstance$[memberName];
1204
+ if (!ref.$instanceValues$.get(memberName) && currentValue) {
1205
+ ref.$instanceValues$.set(memberName, currentValue);
1206
+ }
1207
+ ref.$lazyInstance$[memberName] = parsePropertyValue(
1208
+ newValue,
1209
+ memberFlags);
1210
+ setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1211
+ };
1212
+ if (ref.$lazyInstance$) {
1213
+ setterSetVal();
1214
+ } else {
1215
+ ref.$fetchedCbList$.push(() => {
1216
+ setterSetVal();
1217
+ });
1218
+ }
1219
+ }
1220
+ }
1221
+ });
1222
+ } else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
1223
+ Object.defineProperty(prototype, memberName, {
1224
+ value(...args) {
1225
+ var _a2;
1226
+ const ref = getHostRef(this);
1227
+ return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
1228
+ var _a3;
1229
+ return (_a3 = ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
1230
+ });
1231
+ }
1232
+ });
1233
+ }
1234
+ });
1235
+ if ((flags & 1 /* isElementConstructor */)) {
1236
+ const attrNameToPropName = /* @__PURE__ */ new Map();
1237
+ prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
1238
+ plt.jmp(() => {
1239
+ var _a2;
1240
+ const propName = attrNameToPropName.get(attrName);
1241
+ const hostRef = getHostRef(this);
1242
+ if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1243
+ newValue = this[propName];
1244
+ delete this[propName];
1245
+ }
1246
+ if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1247
+ this[propName] == newValue) {
1248
+ return;
1249
+ } else if (propName == null) {
1250
+ const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1251
+ if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && newValue !== oldValue) {
1252
+ const instance = hostRef.$lazyInstance$ ;
1253
+ const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
1254
+ entry == null ? void 0 : entry.forEach((watcher) => {
1255
+ const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
1256
+ if (instance[watchMethodName] != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
1257
+ instance[watchMethodName].call(instance, newValue, oldValue, attrName);
1258
+ }
1259
+ });
1260
+ }
1261
+ return;
1262
+ }
1263
+ const propFlags = members.find(([m]) => m === propName);
1264
+ if (propFlags && propFlags[1][0] & 4 /* Boolean */) {
1265
+ newValue = newValue === null || newValue === "false" ? false : true;
1266
+ }
1267
+ const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1268
+ if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
1269
+ this[propName] = newValue;
1270
+ }
1271
+ });
1272
+ };
1273
+ Cstr.observedAttributes = Array.from(
1274
+ /* @__PURE__ */ new Set([
1275
+ ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
1276
+ ...members.filter(([_, m]) => m[0] & 31 /* HasAttribute */).map(([propName, m]) => {
1277
+ var _a2;
1278
+ const attrName = m[1] || propName;
1279
+ attrNameToPropName.set(attrName, propName);
1280
+ if (m[0] & 512 /* ReflectAttr */) {
1281
+ (_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);
1282
+ }
1283
+ return attrName;
1284
+ })
1285
+ ])
1286
+ );
1287
+ }
1288
+ }
1289
+ return Cstr;
1290
+ };
1291
+
1292
+ // src/runtime/initialize-component.ts
1293
+ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1294
+ let Cstr;
1295
+ try {
1296
+ if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1297
+ hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1298
+ const bundleId = cmpMeta.$lazyBundleId$;
1299
+ if (bundleId) {
1300
+ const CstrImport = loadModule(cmpMeta, hostRef);
1301
+ if (CstrImport && "then" in CstrImport) {
1302
+ const endLoad = uniqueTime();
1303
+ Cstr = await CstrImport;
1304
+ endLoad();
1305
+ } else {
1306
+ Cstr = CstrImport;
1307
+ }
1308
+ if (!Cstr) {
1309
+ throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
1310
+ }
1311
+ if (!Cstr.isProxied) {
1312
+ {
1313
+ cmpMeta.$watchers$ = Cstr.watchers;
1314
+ cmpMeta.$serializers$ = Cstr.serializers;
1315
+ cmpMeta.$deserializers$ = Cstr.deserializers;
1316
+ }
1317
+ proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1318
+ Cstr.isProxied = true;
1319
+ }
1320
+ const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
1321
+ {
1322
+ hostRef.$flags$ |= 8 /* isConstructingInstance */;
1323
+ }
1324
+ try {
1325
+ new Cstr(hostRef);
1326
+ } catch (e) {
1327
+ consoleError(e, elm);
1328
+ }
1329
+ {
1330
+ hostRef.$flags$ &= -9 /* isConstructingInstance */;
1331
+ }
1332
+ {
1333
+ hostRef.$flags$ |= 128 /* isWatchReady */;
1334
+ }
1335
+ endNewInstance();
1336
+ {
1337
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1338
+ }
1339
+ } else {
1340
+ Cstr = elm.constructor;
1341
+ const cmpTag = elm.localName;
1342
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1343
+ }
1344
+ }
1345
+ const ancestorComponent = hostRef.$ancestorComponent$;
1346
+ const schedule = () => scheduleUpdate(hostRef, true);
1347
+ if (ancestorComponent && ancestorComponent["s-rc"]) {
1348
+ ancestorComponent["s-rc"].push(schedule);
1349
+ } else {
1350
+ schedule();
1351
+ }
1352
+ } catch (e) {
1353
+ consoleError(e, elm);
1354
+ if (hostRef.$onRenderResolve$) {
1355
+ hostRef.$onRenderResolve$();
1356
+ hostRef.$onRenderResolve$ = void 0;
1357
+ }
1358
+ if (hostRef.$onReadyResolve$) {
1359
+ hostRef.$onReadyResolve$(elm);
1360
+ }
1361
+ }
1362
+ };
1363
+ var fireConnectedCallback = (instance, elm) => {
1364
+ {
1365
+ safeCall(instance, "connectedCallback", void 0, elm);
1366
+ }
1367
+ };
1368
+
1369
+ // src/runtime/connected-callback.ts
1370
+ var connectedCallback = (elm) => {
1371
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1372
+ const hostRef = getHostRef(elm);
1373
+ if (!hostRef) {
1374
+ return;
1375
+ }
1376
+ const cmpMeta = hostRef.$cmpMeta$;
1377
+ const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1378
+ if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1379
+ hostRef.$flags$ |= 1 /* hasConnected */;
1380
+ {
1381
+ let ancestorComponent = elm;
1382
+ while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
1383
+ if (ancestorComponent["s-p"]) {
1384
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
1385
+ break;
1386
+ }
1387
+ }
1388
+ }
1389
+ if (cmpMeta.$members$) {
1390
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1391
+ if (memberFlags & 31 /* Prop */ && Object.prototype.hasOwnProperty.call(elm, memberName)) {
1392
+ const value = elm[memberName];
1393
+ delete elm[memberName];
1394
+ elm[memberName] = value;
1395
+ }
1396
+ });
1397
+ }
1398
+ {
1399
+ initializeComponent(elm, hostRef, cmpMeta);
1400
+ }
1401
+ } else {
1402
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1403
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1404
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1405
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1406
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
1407
+ }
1408
+ }
1409
+ endConnected();
1410
+ }
1411
+ };
1412
+ var disconnectInstance = (instance, elm) => {
1413
+ {
1414
+ safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1415
+ }
1416
+ };
1417
+ var disconnectedCallback = async (elm) => {
1418
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1419
+ const hostRef = getHostRef(elm);
1420
+ {
1421
+ if (hostRef == null ? void 0 : hostRef.$rmListeners$) {
1422
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
1423
+ hostRef.$rmListeners$ = void 0;
1424
+ }
1425
+ }
1426
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1427
+ disconnectInstance(hostRef.$lazyInstance$, elm);
1428
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1429
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1430
+ }
1431
+ }
1432
+ if (rootAppliedStyles.has(elm)) {
1433
+ rootAppliedStyles.delete(elm);
1434
+ }
1435
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1436
+ rootAppliedStyles.delete(elm.shadowRoot);
1437
+ }
1438
+ };
1439
+
1440
+ // src/runtime/bootstrap-lazy.ts
1441
+ var bootstrapLazy = (lazyBundles, options = {}) => {
1442
+ var _a;
1443
+ if (!win.document) {
1444
+ console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
1445
+ return;
1446
+ }
1447
+ const endBootstrap = createTime();
1448
+ const cmpTags = [];
1449
+ const exclude = options.exclude || [];
1450
+ const customElements2 = win.customElements;
1451
+ const head = win.document.head;
1452
+ const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
1453
+ const dataStyles = /* @__PURE__ */ win.document.createElement("style");
1454
+ const deferredConnectedCallbacks = [];
1455
+ let appLoadFallback;
1456
+ let isBootstrapping = true;
1457
+ Object.assign(plt, options);
1458
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
1459
+ lazyBundles.map((lazyBundle) => {
1460
+ lazyBundle[1].map((compactMeta) => {
1461
+ var _a2, _b, _c;
1462
+ const cmpMeta = {
1463
+ $flags$: compactMeta[0],
1464
+ $tagName$: compactMeta[1],
1465
+ $members$: compactMeta[2],
1466
+ $listeners$: compactMeta[3]
1467
+ };
1468
+ {
1469
+ cmpMeta.$members$ = compactMeta[2];
1470
+ }
1471
+ {
1472
+ cmpMeta.$listeners$ = compactMeta[3];
1473
+ }
1474
+ {
1475
+ cmpMeta.$attrsToReflect$ = [];
1476
+ }
1477
+ {
1478
+ cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
1479
+ cmpMeta.$serializers$ = (_b = compactMeta[5]) != null ? _b : {};
1480
+ cmpMeta.$deserializers$ = (_c = compactMeta[6]) != null ? _c : {};
1481
+ }
1482
+ const tagName = transformTag(cmpMeta.$tagName$);
1483
+ const HostElement = class extends HTMLElement {
1484
+ ["s-p"];
1485
+ ["s-rc"];
1486
+ hasRegisteredEventListeners = false;
1487
+ // StencilLazyHost
1488
+ constructor(self) {
1489
+ super(self);
1490
+ self = this;
1491
+ registerHost(self, cmpMeta);
1492
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1493
+ {
1494
+ if (!self.shadowRoot) {
1495
+ createShadowRoot.call(self, cmpMeta);
1496
+ } else {
1497
+ if (self.shadowRoot.mode !== "open") {
1498
+ throw new Error(
1499
+ `Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${self.shadowRoot.mode} but Stencil only supports open shadow roots.`
1500
+ );
1501
+ }
1502
+ }
1503
+ }
1504
+ }
1505
+ }
1506
+ connectedCallback() {
1507
+ const hostRef = getHostRef(this);
1508
+ if (!hostRef) {
1509
+ return;
1510
+ }
1511
+ if (!this.hasRegisteredEventListeners) {
1512
+ this.hasRegisteredEventListeners = true;
1513
+ addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
1514
+ }
1515
+ if (appLoadFallback) {
1516
+ clearTimeout(appLoadFallback);
1517
+ appLoadFallback = null;
1518
+ }
1519
+ if (isBootstrapping) {
1520
+ deferredConnectedCallbacks.push(this);
1521
+ } else {
1522
+ plt.jmp(() => connectedCallback(this));
1523
+ }
1524
+ }
1525
+ disconnectedCallback() {
1526
+ plt.jmp(() => disconnectedCallback(this));
1527
+ plt.raf(() => {
1528
+ var _a3;
1529
+ const hostRef = getHostRef(this);
1530
+ if (!hostRef) {
1531
+ return;
1532
+ }
1533
+ const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1534
+ if (i2 > -1) {
1535
+ deferredConnectedCallbacks.splice(i2, 1);
1536
+ }
1537
+ if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1538
+ delete hostRef.$vnode$.$elm$;
1539
+ }
1540
+ });
1541
+ }
1542
+ componentOnReady() {
1543
+ var _a3;
1544
+ return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
1545
+ }
1546
+ };
1547
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
1548
+ if (!exclude.includes(tagName) && !customElements2.get(tagName)) {
1549
+ cmpTags.push(tagName);
1550
+ customElements2.define(
1551
+ tagName,
1552
+ proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */)
1553
+ );
1554
+ }
1555
+ });
1556
+ });
1557
+ if (cmpTags.length > 0) {
1558
+ {
1559
+ dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
1560
+ }
1561
+ if (dataStyles.innerHTML.length) {
1562
+ dataStyles.setAttribute("data-styles", "");
1563
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
1564
+ if (nonce != null) {
1565
+ dataStyles.setAttribute("nonce", nonce);
1566
+ }
1567
+ head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1568
+ }
1569
+ }
1570
+ isBootstrapping = false;
1571
+ if (deferredConnectedCallbacks.length) {
1572
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
1573
+ } else {
1574
+ {
1575
+ plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));
1576
+ }
1577
+ }
1578
+ endBootstrap();
1579
+ };
1580
+ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1581
+ if (listeners && win.document) {
1582
+ listeners.map(([flags, name, method]) => {
1583
+ const target = getHostListenerTarget(win.document, elm, flags) ;
1584
+ const handler = hostListenerProxy(hostRef, method);
1585
+ const opts = hostListenerOpts(flags);
1586
+ plt.ael(target, name, handler, opts);
1587
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
1588
+ });
1589
+ }
1590
+ };
1591
+ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1592
+ var _a;
1593
+ try {
1594
+ {
1595
+ if (hostRef.$flags$ & 256 /* isListenReady */) {
1596
+ (_a = hostRef.$lazyInstance$) == null ? void 0 : _a[methodName](ev);
1597
+ } else {
1598
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
1599
+ }
1600
+ }
1601
+ } catch (e) {
1602
+ consoleError(e, hostRef.$hostElement$);
1603
+ }
1604
+ };
1605
+ var getHostListenerTarget = (doc, elm, flags) => {
1606
+ if (flags & 8 /* TargetWindow */) {
1607
+ return win;
1608
+ }
1609
+ return elm;
1610
+ };
1611
+ var hostListenerOpts = (flags) => supportsListenerOptions ? {
1612
+ passive: (flags & 1 /* Passive */) !== 0,
1613
+ capture: (flags & 2 /* Capture */) !== 0
1614
+ } : (flags & 2 /* Capture */) !== 0;
1615
+
1616
+ // src/runtime/nonce.ts
1617
+ var setNonce = (nonce) => plt.$nonce$ = nonce;
1618
+ function transformTag(tag) {
1619
+ return tag;
1620
+ }
1621
+
1622
+ export { Host as H, getElement as a, bootstrapLazy as b, createEvent as c, forceUpdate as f, globalScripts as g, h, promiseResolve as p, registerInstance as r, setNonce as s };