@nova-design-system/nova-webcomponents 3.0.0-beta.31 → 3.0.0-beta.33

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 (452) hide show
  1. package/dist/blazor-docs.json +370 -128
  2. package/dist/cjs/{app-globals-69764290.js → app-globals-6b0931bc.js} +2 -2
  3. package/dist/cjs/app-globals-6b0931bc.js.map +1 -0
  4. package/dist/cjs/{constants-33057c89.js → constants-9525a915.js} +7 -1
  5. package/dist/cjs/constants-9525a915.js.map +1 -0
  6. package/dist/cjs/{index-72b8a9ad.js → index-ddc37f87.js} +22 -10
  7. package/dist/cjs/index-ddc37f87.js.map +1 -0
  8. package/dist/cjs/index.cjs.js +1 -1
  9. package/dist/cjs/loader.cjs.js +3 -3
  10. package/dist/cjs/native.cjs.js +3 -3
  11. package/dist/cjs/nv-alert.cjs.entry.js +3 -3
  12. package/dist/cjs/nv-avatar.cjs.entry.js +4 -4
  13. package/dist/cjs/nv-avatar.cjs.entry.js.map +1 -1
  14. package/dist/cjs/nv-badge.cjs.entry.js +4 -4
  15. package/dist/cjs/nv-badge.cjs.entry.js.map +1 -1
  16. package/dist/cjs/nv-base.cjs.entry.js +2 -3
  17. package/dist/cjs/nv-base.cjs.entry.js.map +1 -1
  18. package/dist/cjs/nv-breadcrumb.cjs.entry.js +47 -0
  19. package/dist/cjs/nv-breadcrumb.cjs.entry.js.map +1 -0
  20. package/dist/cjs/nv-breadcrumbs.cjs.entry.js +23 -0
  21. package/dist/cjs/nv-breadcrumbs.cjs.entry.js.map +1 -0
  22. package/dist/cjs/nv-button.cjs.entry.js +4 -4
  23. package/dist/cjs/nv-button.cjs.entry.js.map +1 -1
  24. package/dist/cjs/nv-col.cjs.entry.js +2 -2
  25. package/dist/cjs/nv-datagrid.cjs.entry.js +4 -4
  26. package/dist/cjs/nv-datagrid.cjs.entry.js.map +1 -1
  27. package/dist/cjs/nv-datagridbody.cjs.entry.js +2 -2
  28. package/dist/cjs/nv-datagridcolumn.cjs.entry.js +2 -2
  29. package/dist/cjs/nv-datagriddatacell.cjs.entry.js +2 -2
  30. package/dist/cjs/nv-datagridhead.cjs.entry.js +2 -2
  31. package/dist/cjs/nv-datagridrow.cjs.entry.js +2 -2
  32. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +5 -5
  33. package/dist/cjs/nv-fielddropdown.cjs.entry.js +64 -25
  34. package/dist/cjs/nv-fielddropdown.cjs.entry.js.map +1 -1
  35. package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +2 -2
  36. package/dist/cjs/nv-fieldnumber.cjs.entry.js +4 -4
  37. package/dist/cjs/nv-fieldpassword.cjs.entry.js +4 -4
  38. package/dist/cjs/nv-fieldpassword.cjs.entry.js.map +1 -1
  39. package/dist/cjs/nv-fieldradio.cjs.entry.js +4 -4
  40. package/dist/cjs/nv-fieldselect.cjs.entry.js +9 -9
  41. package/dist/cjs/nv-fieldselect.cjs.entry.js.map +1 -1
  42. package/dist/cjs/nv-fieldtext.cjs.entry.js +4 -4
  43. package/dist/cjs/nv-fieldtext.cjs.entry.js.map +1 -1
  44. package/dist/cjs/nv-fieldtextarea.cjs.entry.js +46 -44
  45. package/dist/cjs/nv-fieldtextarea.cjs.entry.js.map +1 -1
  46. package/dist/cjs/nv-fieldtoggle.cjs.entry.js +3 -3
  47. package/dist/cjs/nv-icon.cjs.entry.js +3 -3
  48. package/dist/cjs/nv-icon.cjs.entry.js.map +1 -1
  49. package/dist/cjs/nv-iconbutton.cjs.entry.js +3 -3
  50. package/dist/cjs/nv-iconbutton.cjs.entry.js.map +1 -1
  51. package/dist/cjs/nv-loader.cjs.entry.js +2 -2
  52. package/dist/cjs/nv-menu.cjs.entry.js +7 -44
  53. package/dist/cjs/nv-menu.cjs.entry.js.map +1 -1
  54. package/dist/cjs/nv-menuitem.cjs.entry.js +30 -3
  55. package/dist/cjs/nv-menuitem.cjs.entry.js.map +1 -1
  56. package/dist/cjs/nv-popover.cjs.entry.js +21 -7
  57. package/dist/cjs/nv-popover.cjs.entry.js.map +1 -1
  58. package/dist/cjs/nv-row.cjs.entry.js +2 -2
  59. package/dist/cjs/nv-stack.cjs.entry.js +2 -2
  60. package/dist/cjs/nv-table.cjs.entry.js +3 -3
  61. package/dist/cjs/nv-tablebody.cjs.entry.js +2 -2
  62. package/dist/cjs/nv-tablecolumn.cjs.entry.js +2 -2
  63. package/dist/cjs/nv-tabledatacell.cjs.entry.js +2 -2
  64. package/dist/cjs/nv-tablehead.cjs.entry.js +2 -2
  65. package/dist/cjs/nv-tablerow.cjs.entry.js +2 -2
  66. package/dist/cjs/nv-tooltip.cjs.entry.js +6 -5
  67. package/dist/cjs/nv-tooltip.cjs.entry.js.map +1 -1
  68. package/dist/collection/collection-manifest.json +3 -1
  69. package/dist/collection/components/nv-alert/nv-alert.js +1 -1
  70. package/dist/collection/components/nv-avatar/nv-avatar.css +0 -33
  71. package/dist/collection/components/nv-avatar/nv-avatar.js +1 -1
  72. package/dist/collection/components/nv-badge/nv-badge.css +0 -33
  73. package/dist/collection/components/nv-badge/nv-badge.js +2 -2
  74. package/dist/collection/components/nv-base/nv-base.js +1 -2
  75. package/dist/collection/components/nv-base/nv-base.js.map +1 -1
  76. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.css +14 -0
  77. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.docs.js +6 -0
  78. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.docs.js.map +1 -0
  79. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.js +111 -0
  80. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.js.map +1 -0
  81. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.css +12 -0
  82. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.docs.js +34 -0
  83. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.docs.js.map +1 -0
  84. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.js +22 -0
  85. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.js.map +1 -0
  86. package/dist/collection/components/nv-button/nv-button.docs.js +5 -0
  87. package/dist/collection/components/nv-button/nv-button.docs.js.map +1 -1
  88. package/dist/collection/components/nv-button/nv-button.js +3 -3
  89. package/dist/collection/components/nv-button/nv-button.js.map +1 -1
  90. package/dist/collection/components/nv-button/{nv-button.css → styles/nv-button.css} +25 -60
  91. package/dist/collection/components/nv-col/nv-col.js +1 -1
  92. package/dist/collection/components/nv-datagrid/nv-datagrid.js +3 -3
  93. package/dist/collection/components/nv-datagrid/nv-datagrid.js.map +1 -1
  94. package/dist/collection/components/nv-datagridbody/nv-datagridbody.js +1 -1
  95. package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +1 -1
  96. package/dist/collection/components/nv-datagriddatacell/nv-datagriddatacell.js +1 -1
  97. package/dist/collection/components/nv-datagridhead/nv-datagridhead.js +1 -1
  98. package/dist/collection/components/nv-datagridrow/nv-datagridrow.js +1 -1
  99. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
  100. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.css +13 -9
  101. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +8 -19
  102. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js.map +1 -1
  103. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +63 -24
  104. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js.map +1 -1
  105. package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
  106. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +3 -3
  107. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +5 -5
  108. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js.map +1 -1
  109. package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
  110. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +10 -10
  111. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js.map +1 -1
  112. package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js +1 -1
  113. package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js.map +1 -1
  114. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +5 -5
  115. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js.map +1 -1
  116. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +46 -42
  117. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js.map +1 -1
  118. package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.js +2 -2
  119. package/dist/collection/components/nv-icon/nv-icon.js +3 -3
  120. package/dist/collection/components/nv-icon/nv-icon.js.map +1 -1
  121. package/dist/collection/components/nv-icon/{nv-icon.css → styles/nv-icon.css} +0 -1
  122. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +10 -4
  123. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js.map +1 -1
  124. package/dist/collection/components/nv-loader/nv-loader.js +1 -1
  125. package/dist/collection/components/nv-menu/nv-menu.js +11 -48
  126. package/dist/collection/components/nv-menu/nv-menu.js.map +1 -1
  127. package/dist/collection/components/nv-menuitem/nv-menuitem.js +88 -4
  128. package/dist/collection/components/nv-menuitem/nv-menuitem.js.map +1 -1
  129. package/dist/collection/components/nv-popover/nv-popover.js +20 -6
  130. package/dist/collection/components/nv-popover/nv-popover.js.map +1 -1
  131. package/dist/collection/components/nv-row/nv-row.js +1 -1
  132. package/dist/collection/components/nv-stack/nv-stack.js +1 -1
  133. package/dist/collection/components/nv-table/nv-table.js +2 -2
  134. package/dist/collection/components/nv-tablebody/nv-tablebody.js +1 -1
  135. package/dist/collection/components/nv-tablecolumn/nv-tablecolumn.js +1 -1
  136. package/dist/collection/components/nv-tabledatacell/nv-tabledatacell.js +1 -1
  137. package/dist/collection/components/nv-tablehead/nv-tablehead.js +1 -1
  138. package/dist/collection/components/nv-tablerow/nv-tablerow.js +1 -1
  139. package/dist/collection/components/nv-tooltip/nv-tooltip.js +31 -4
  140. package/dist/collection/components/nv-tooltip/nv-tooltip.js.map +1 -1
  141. package/dist/collection/dev/dev-components.js +1 -1
  142. package/dist/collection/dev/dev-components.js.map +1 -1
  143. package/dist/collection/templates/navigation.docs.js +13 -0
  144. package/dist/collection/templates/navigation.docs.js.map +1 -0
  145. package/dist/collection/utils/constants.js +5 -0
  146. package/dist/collection/utils/constants.js.map +1 -1
  147. package/dist/components/index.js +4 -4
  148. package/dist/components/nv-alert.js +4 -4
  149. package/dist/components/nv-avatar.js +5 -5
  150. package/dist/components/nv-avatar.js.map +1 -1
  151. package/dist/components/nv-badge.js +5 -5
  152. package/dist/components/nv-badge.js.map +1 -1
  153. package/dist/components/nv-base.js +2 -3
  154. package/dist/components/nv-base.js.map +1 -1
  155. package/dist/components/nv-breadcrumb.d.ts +11 -0
  156. package/dist/components/nv-breadcrumb.js +83 -0
  157. package/dist/components/nv-breadcrumb.js.map +1 -0
  158. package/dist/components/nv-breadcrumbs.d.ts +11 -0
  159. package/dist/components/nv-breadcrumbs.js +37 -0
  160. package/dist/components/nv-breadcrumbs.js.map +1 -0
  161. package/dist/components/nv-button.js +5 -5
  162. package/dist/components/nv-button.js.map +1 -1
  163. package/dist/components/nv-col.js +2 -2
  164. package/dist/components/nv-datagrid.js +4 -4
  165. package/dist/components/nv-datagrid.js.map +1 -1
  166. package/dist/components/nv-datagridbody.js +2 -2
  167. package/dist/components/nv-datagridcolumn.js +2 -2
  168. package/dist/components/nv-datagriddatacell.js +2 -2
  169. package/dist/components/nv-datagridhead.js +2 -2
  170. package/dist/components/nv-datagridrow.js +2 -2
  171. package/dist/components/nv-fieldcheckbox.js +5 -5
  172. package/dist/components/nv-fielddropdown.js +69 -30
  173. package/dist/components/nv-fielddropdown.js.map +1 -1
  174. package/dist/components/nv-fielddropdownitem.js +1 -1
  175. package/dist/components/nv-fieldnumber.js +5 -5
  176. package/dist/components/nv-fieldpassword.js +7 -7
  177. package/dist/components/nv-fieldpassword.js.map +1 -1
  178. package/dist/components/nv-fieldradio.js +4 -4
  179. package/dist/components/nv-fieldselect.js +11 -11
  180. package/dist/components/nv-fieldselect.js.map +1 -1
  181. package/dist/components/nv-fieldtext.js +5 -5
  182. package/dist/components/nv-fieldtext.js.map +1 -1
  183. package/dist/components/nv-fieldtextarea.js +48 -45
  184. package/dist/components/nv-fieldtextarea.js.map +1 -1
  185. package/dist/components/nv-fieldtoggle.js +3 -3
  186. package/dist/components/nv-icon.js +1 -1
  187. package/dist/components/nv-iconbutton.js +1 -1
  188. package/dist/components/nv-loader.js +1 -1
  189. package/dist/components/nv-menu.js +9 -46
  190. package/dist/components/nv-menu.js.map +1 -1
  191. package/dist/components/nv-menuitem.js +34 -6
  192. package/dist/components/nv-menuitem.js.map +1 -1
  193. package/dist/components/nv-popover.js +1 -1
  194. package/dist/components/nv-row.js +2 -2
  195. package/dist/components/nv-stack.js +2 -2
  196. package/dist/components/nv-table.js +3 -3
  197. package/dist/components/nv-tablebody.js +2 -2
  198. package/dist/components/nv-tablecolumn.js +2 -2
  199. package/dist/components/nv-tabledatacell.js +2 -2
  200. package/dist/components/nv-tablehead.js +2 -2
  201. package/dist/components/nv-tablerow.js +2 -2
  202. package/dist/components/nv-tooltip.js +1 -63
  203. package/dist/components/nv-tooltip.js.map +1 -1
  204. package/dist/components/{p-ca5c171f.js → p-09a2a880.js} +4 -4
  205. package/dist/components/{p-ca5c171f.js.map → p-09a2a880.js.map} +1 -1
  206. package/dist/components/{p-f0d5586a.js → p-0cdf2cc7.js} +6 -6
  207. package/dist/components/p-0cdf2cc7.js.map +1 -0
  208. package/dist/components/{p-c08a278d.js → p-3a65a05e.js} +6 -2
  209. package/dist/components/p-3a65a05e.js.map +1 -0
  210. package/dist/components/{p-0caa4741.js → p-3b209e94.js} +17 -3
  211. package/dist/components/{p-c08a278d.js.map → p-3b209e94.js.map} +1 -1
  212. package/dist/{esm/constants-e9bee611.js → components/p-74407727.js} +7 -1
  213. package/dist/components/p-74407727.js.map +1 -0
  214. package/dist/components/{p-39e93e5b.js → p-a61d9ce8.js} +4 -4
  215. package/dist/{native/p-d4277c50.entry.js.map → components/p-a61d9ce8.js.map} +1 -1
  216. package/dist/components/{p-3ef4ded9.js → p-b7462fc2.js} +3 -3
  217. package/dist/components/{p-3ef4ded9.js.map → p-b7462fc2.js.map} +1 -1
  218. package/dist/components/{p-1fa35ae5.js → p-ce67d70c.js} +23 -9
  219. package/dist/components/p-ce67d70c.js.map +1 -0
  220. package/dist/components/p-e7131c30.js +69 -0
  221. package/dist/components/p-e7131c30.js.map +1 -0
  222. package/dist/docs.json +377 -143
  223. package/dist/esm/{app-globals-c5484a00.js → app-globals-246d6b7c.js} +2 -2
  224. package/dist/esm/app-globals-246d6b7c.js.map +1 -0
  225. package/dist/{components/p-a15ddd42.js → esm/constants-7b642e1d.js} +7 -1
  226. package/dist/esm/constants-7b642e1d.js.map +1 -0
  227. package/dist/esm/{index-b6f70e4a.js → index-cd557d0a.js} +22 -10
  228. package/dist/esm/index-cd557d0a.js.map +1 -0
  229. package/dist/esm/index.js +1 -1
  230. package/dist/esm/loader.js +4 -4
  231. package/dist/esm/native.js +4 -4
  232. package/dist/esm/nv-alert.entry.js +3 -3
  233. package/dist/esm/nv-avatar.entry.js +4 -4
  234. package/dist/esm/nv-avatar.entry.js.map +1 -1
  235. package/dist/esm/nv-badge.entry.js +4 -4
  236. package/dist/esm/nv-badge.entry.js.map +1 -1
  237. package/dist/esm/nv-base.entry.js +2 -3
  238. package/dist/esm/nv-base.entry.js.map +1 -1
  239. package/dist/esm/nv-breadcrumb.entry.js +43 -0
  240. package/dist/esm/nv-breadcrumb.entry.js.map +1 -0
  241. package/dist/esm/nv-breadcrumbs.entry.js +19 -0
  242. package/dist/esm/nv-breadcrumbs.entry.js.map +1 -0
  243. package/dist/esm/nv-button.entry.js +4 -4
  244. package/dist/esm/nv-button.entry.js.map +1 -1
  245. package/dist/esm/nv-col.entry.js +2 -2
  246. package/dist/esm/nv-datagrid.entry.js +4 -4
  247. package/dist/esm/nv-datagrid.entry.js.map +1 -1
  248. package/dist/esm/nv-datagridbody.entry.js +2 -2
  249. package/dist/esm/nv-datagridcolumn.entry.js +2 -2
  250. package/dist/esm/nv-datagriddatacell.entry.js +2 -2
  251. package/dist/esm/nv-datagridhead.entry.js +2 -2
  252. package/dist/esm/nv-datagridrow.entry.js +2 -2
  253. package/dist/esm/nv-fieldcheckbox.entry.js +5 -5
  254. package/dist/esm/nv-fielddropdown.entry.js +64 -25
  255. package/dist/esm/nv-fielddropdown.entry.js.map +1 -1
  256. package/dist/esm/nv-fielddropdownitem.entry.js +2 -2
  257. package/dist/esm/nv-fieldnumber.entry.js +4 -4
  258. package/dist/esm/nv-fieldpassword.entry.js +4 -4
  259. package/dist/esm/nv-fieldpassword.entry.js.map +1 -1
  260. package/dist/esm/nv-fieldradio.entry.js +4 -4
  261. package/dist/esm/nv-fieldselect.entry.js +9 -9
  262. package/dist/esm/nv-fieldselect.entry.js.map +1 -1
  263. package/dist/esm/nv-fieldtext.entry.js +4 -4
  264. package/dist/esm/nv-fieldtext.entry.js.map +1 -1
  265. package/dist/esm/nv-fieldtextarea.entry.js +46 -44
  266. package/dist/esm/nv-fieldtextarea.entry.js.map +1 -1
  267. package/dist/esm/nv-fieldtoggle.entry.js +3 -3
  268. package/dist/esm/nv-icon.entry.js +3 -3
  269. package/dist/esm/nv-icon.entry.js.map +1 -1
  270. package/dist/esm/nv-iconbutton.entry.js +3 -3
  271. package/dist/esm/nv-iconbutton.entry.js.map +1 -1
  272. package/dist/esm/nv-loader.entry.js +2 -2
  273. package/dist/esm/nv-menu.entry.js +7 -44
  274. package/dist/esm/nv-menu.entry.js.map +1 -1
  275. package/dist/esm/nv-menuitem.entry.js +30 -3
  276. package/dist/esm/nv-menuitem.entry.js.map +1 -1
  277. package/dist/esm/nv-popover.entry.js +22 -8
  278. package/dist/esm/nv-popover.entry.js.map +1 -1
  279. package/dist/esm/nv-row.entry.js +2 -2
  280. package/dist/esm/nv-stack.entry.js +2 -2
  281. package/dist/esm/nv-table.entry.js +3 -3
  282. package/dist/esm/nv-tablebody.entry.js +2 -2
  283. package/dist/esm/nv-tablecolumn.entry.js +2 -2
  284. package/dist/esm/nv-tabledatacell.entry.js +2 -2
  285. package/dist/esm/nv-tablehead.entry.js +2 -2
  286. package/dist/esm/nv-tablerow.entry.js +2 -2
  287. package/dist/esm/nv-tooltip.entry.js +6 -5
  288. package/dist/esm/nv-tooltip.entry.js.map +1 -1
  289. package/dist/native/index.esm.js +1 -1
  290. package/dist/native/native.css +1 -1
  291. package/dist/native/native.esm.js +1 -1
  292. package/dist/native/native.esm.js.map +1 -1
  293. package/dist/native/p-0710efd7.entry.js +2 -0
  294. package/dist/native/p-0710efd7.entry.js.map +1 -0
  295. package/dist/native/p-0f9262ed.entry.js +2 -0
  296. package/dist/native/{p-dacd68ab.entry.js → p-10a06059.entry.js} +2 -2
  297. package/dist/native/p-10a06059.entry.js.map +1 -0
  298. package/dist/native/p-132b8588.entry.js +2 -0
  299. package/dist/native/{p-c5e3e234.entry.js.map → p-132b8588.entry.js.map} +1 -1
  300. package/dist/native/p-2063c768.entry.js +2 -0
  301. package/dist/native/p-2063c768.entry.js.map +1 -0
  302. package/dist/native/p-2ac838b8.entry.js +2 -0
  303. package/dist/native/p-2ac838b8.entry.js.map +1 -0
  304. package/dist/native/p-38d3eee3.js +2 -0
  305. package/dist/native/p-38d3eee3.js.map +1 -0
  306. package/dist/native/{p-d4277c50.entry.js → p-3e9521a0.entry.js} +2 -2
  307. package/dist/native/p-3e9521a0.entry.js.map +1 -0
  308. package/dist/native/{p-11faaf31.entry.js → p-40f4828a.entry.js} +2 -2
  309. package/dist/native/p-44cc8b59.entry.js +2 -0
  310. package/dist/native/p-44cc8b59.entry.js.map +1 -0
  311. package/dist/native/p-45aa0c68.entry.js +2 -0
  312. package/dist/native/p-45aa0c68.entry.js.map +1 -0
  313. package/dist/native/p-4f30312d.entry.js +2 -0
  314. package/dist/native/p-4f30312d.entry.js.map +1 -0
  315. package/dist/native/p-52a7f936.entry.js +2 -0
  316. package/dist/native/{p-50c31094.entry.js → p-5d0dc7c8.entry.js} +2 -2
  317. package/dist/native/p-5d67a825.entry.js +2 -0
  318. package/dist/native/{p-47c78fe4.entry.js.map → p-5d67a825.entry.js.map} +1 -1
  319. package/dist/native/p-5e467b49.entry.js +2 -0
  320. package/dist/native/p-6c1b9c89.entry.js +2 -0
  321. package/dist/native/{p-b3ec71c9.entry.js.map → p-6c1b9c89.entry.js.map} +1 -1
  322. package/dist/native/p-74407727.js +2 -0
  323. package/dist/native/p-74407727.js.map +1 -0
  324. package/dist/native/{p-df6c9137.entry.js → p-74778f5f.entry.js} +2 -2
  325. package/dist/native/p-87b93cc2.entry.js +2 -0
  326. package/dist/native/p-8f0984b0.entry.js +2 -0
  327. package/dist/native/p-8f0984b0.entry.js.map +1 -0
  328. package/dist/native/p-907c3eda.entry.js +2 -0
  329. package/dist/native/p-91d4b4d7.entry.js +2 -0
  330. package/dist/native/{p-9f89229b.entry.js → p-9341cf9d.entry.js} +2 -2
  331. package/dist/native/{p-6ef216c4.js → p-9b093b92.js} +3 -3
  332. package/dist/native/p-9b093b92.js.map +1 -0
  333. package/dist/native/{p-31367928.entry.js → p-9cef006d.entry.js} +2 -2
  334. package/dist/native/{p-01262eaf.entry.js → p-a9b6461b.entry.js} +2 -2
  335. package/dist/native/p-a9b6461b.entry.js.map +1 -0
  336. package/dist/native/{p-a89f5542.entry.js → p-b902c7c0.entry.js} +2 -2
  337. package/dist/native/p-bbc45099.entry.js +2 -0
  338. package/dist/native/{p-919cf3ec.entry.js → p-c59e3500.entry.js} +2 -2
  339. package/dist/native/{p-4a64f5b0.entry.js → p-d0f83d1f.entry.js} +2 -2
  340. package/dist/native/{p-4a64f5b0.entry.js.map → p-d0f83d1f.entry.js.map} +1 -1
  341. package/dist/native/p-e390557d.entry.js +2 -0
  342. package/dist/native/p-e390557d.entry.js.map +1 -0
  343. package/dist/native/p-e56d3715.entry.js +2 -0
  344. package/dist/native/p-e56d3715.entry.js.map +1 -0
  345. package/dist/native/{p-e05b0c4a.entry.js → p-e5fbe545.entry.js} +2 -2
  346. package/dist/native/p-eade52d4.entry.js +2 -0
  347. package/dist/native/p-eade52d4.entry.js.map +1 -0
  348. package/dist/native/p-eda8cd9d.entry.js +2 -0
  349. package/dist/native/p-ee78addb.entry.js +2 -0
  350. package/dist/native/p-ee78addb.entry.js.map +1 -0
  351. package/dist/native/p-f1545844.entry.js +2 -0
  352. package/dist/native/p-f1545844.entry.js.map +1 -0
  353. package/dist/native/{p-6eb50254.entry.js → p-f2ea8aa9.entry.js} +2 -2
  354. package/dist/native/{p-6eb50254.entry.js.map → p-f2ea8aa9.entry.js.map} +1 -1
  355. package/dist/native/p-f42e87b5.entry.js +2 -0
  356. package/dist/native/{p-0bf2007c.entry.js → p-f4ecacf6.entry.js} +2 -2
  357. package/dist/native/{p-c85d031d.entry.js → p-f7db0785.entry.js} +3 -3
  358. package/dist/native/{p-c85d031d.entry.js.map → p-f7db0785.entry.js.map} +1 -1
  359. package/dist/types/components/nv-base/nv-base.docs.d.ts +1 -1
  360. package/dist/types/components/nv-breadcrumb/nv-breadcrumb.d.ts +30 -0
  361. package/dist/types/components/nv-breadcrumb/nv-breadcrumb.docs.d.ts +4 -0
  362. package/dist/types/components/nv-breadcrumbs/nv-breadcrumbs.d.ts +6 -0
  363. package/dist/types/components/nv-breadcrumbs/nv-breadcrumbs.docs.d.ts +4 -0
  364. package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +4 -1
  365. package/dist/types/components/nv-fieldpassword/nv-fieldpassword.d.ts +1 -1
  366. package/dist/types/components/nv-fieldselect/nv-fieldselect.d.ts +1 -1
  367. package/dist/types/components/nv-fieldtext/nv-fieldtext.d.ts +1 -1
  368. package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.d.ts +5 -9
  369. package/dist/types/components/nv-iconbutton/nv-iconbutton.d.ts +2 -2
  370. package/dist/types/components/nv-menu/nv-menu.d.ts +4 -5
  371. package/dist/types/components/nv-menuitem/nv-menuitem.d.ts +25 -1
  372. package/dist/types/components/nv-popover/nv-popover.d.ts +7 -0
  373. package/dist/types/components/nv-tooltip/nv-tooltip.d.ts +6 -1
  374. package/dist/types/components.d.ts +97 -17
  375. package/dist/types/nova-docs.d.ts +46 -24
  376. package/dist/types/templates/navigation.docs.d.ts +3 -0
  377. package/dist/types/utils/constants.d.ts +4 -0
  378. package/dist/vscode-data.json +113 -72
  379. package/hydrate/index.js +322 -188
  380. package/hydrate/index.mjs +322 -188
  381. package/package.json +17 -15
  382. package/dist/cjs/app-globals-69764290.js.map +0 -1
  383. package/dist/cjs/constants-33057c89.js.map +0 -1
  384. package/dist/cjs/index-72b8a9ad.js.map +0 -1
  385. package/dist/collection/components/nv-icon/test/nv-icon.test.js +0 -25
  386. package/dist/collection/components/nv-icon/test/nv-icon.test.js.map +0 -1
  387. package/dist/components/p-0caa4741.js.map +0 -1
  388. package/dist/components/p-1fa35ae5.js.map +0 -1
  389. package/dist/components/p-39e93e5b.js.map +0 -1
  390. package/dist/components/p-a15ddd42.js.map +0 -1
  391. package/dist/components/p-f0d5586a.js.map +0 -1
  392. package/dist/esm/app-globals-c5484a00.js.map +0 -1
  393. package/dist/esm/constants-e9bee611.js.map +0 -1
  394. package/dist/esm/index-b6f70e4a.js.map +0 -1
  395. package/dist/native/p-01262eaf.entry.js.map +0 -1
  396. package/dist/native/p-17dba26d.entry.js +0 -2
  397. package/dist/native/p-2a6ca749.entry.js +0 -2
  398. package/dist/native/p-2a6ca749.entry.js.map +0 -1
  399. package/dist/native/p-327fa1a0.entry.js +0 -2
  400. package/dist/native/p-380bcc2b.entry.js +0 -2
  401. package/dist/native/p-380bcc2b.entry.js.map +0 -1
  402. package/dist/native/p-47c78fe4.entry.js +0 -2
  403. package/dist/native/p-605f8b3d.entry.js +0 -2
  404. package/dist/native/p-605f8b3d.entry.js.map +0 -1
  405. package/dist/native/p-64ae9a21.entry.js +0 -2
  406. package/dist/native/p-64ae9a21.entry.js.map +0 -1
  407. package/dist/native/p-6e8bcd5b.entry.js +0 -2
  408. package/dist/native/p-6e8bcd5b.entry.js.map +0 -1
  409. package/dist/native/p-6ef216c4.js.map +0 -1
  410. package/dist/native/p-7701e4cc.entry.js +0 -2
  411. package/dist/native/p-7701e4cc.entry.js.map +0 -1
  412. package/dist/native/p-86947929.entry.js +0 -2
  413. package/dist/native/p-8f95f4fa.entry.js +0 -2
  414. package/dist/native/p-93eea6e1.entry.js +0 -2
  415. package/dist/native/p-95714583.js +0 -2
  416. package/dist/native/p-95714583.js.map +0 -1
  417. package/dist/native/p-9fe47948.entry.js +0 -2
  418. package/dist/native/p-9fe47948.entry.js.map +0 -1
  419. package/dist/native/p-a15ddd42.js +0 -2
  420. package/dist/native/p-a15ddd42.js.map +0 -1
  421. package/dist/native/p-afbc5259.entry.js +0 -2
  422. package/dist/native/p-afbc5259.entry.js.map +0 -1
  423. package/dist/native/p-b3ec71c9.entry.js +0 -2
  424. package/dist/native/p-bbe9a373.entry.js +0 -2
  425. package/dist/native/p-c2dfee1a.entry.js +0 -2
  426. package/dist/native/p-c5e3e234.entry.js +0 -2
  427. package/dist/native/p-dacd68ab.entry.js.map +0 -1
  428. package/dist/native/p-de9d0b05.entry.js +0 -2
  429. package/dist/native/p-de9d0b05.entry.js.map +0 -1
  430. package/dist/native/p-e71fc762.entry.js +0 -2
  431. package/dist/native/p-e71fc762.entry.js.map +0 -1
  432. package/dist/native/p-ef7f605a.entry.js +0 -2
  433. package/dist/native/p-f2e31579.entry.js +0 -2
  434. package/dist/types/components/nv-icon/test/nv-icon.test.d.ts +0 -1
  435. /package/dist/native/{p-bbe9a373.entry.js.map → p-0f9262ed.entry.js.map} +0 -0
  436. /package/dist/native/{p-11faaf31.entry.js.map → p-40f4828a.entry.js.map} +0 -0
  437. /package/dist/native/{p-f2e31579.entry.js.map → p-52a7f936.entry.js.map} +0 -0
  438. /package/dist/native/{p-50c31094.entry.js.map → p-5d0dc7c8.entry.js.map} +0 -0
  439. /package/dist/native/{p-86947929.entry.js.map → p-5e467b49.entry.js.map} +0 -0
  440. /package/dist/native/{p-df6c9137.entry.js.map → p-74778f5f.entry.js.map} +0 -0
  441. /package/dist/native/{p-ef7f605a.entry.js.map → p-87b93cc2.entry.js.map} +0 -0
  442. /package/dist/native/{p-17dba26d.entry.js.map → p-907c3eda.entry.js.map} +0 -0
  443. /package/dist/native/{p-8f95f4fa.entry.js.map → p-91d4b4d7.entry.js.map} +0 -0
  444. /package/dist/native/{p-9f89229b.entry.js.map → p-9341cf9d.entry.js.map} +0 -0
  445. /package/dist/native/{p-31367928.entry.js.map → p-9cef006d.entry.js.map} +0 -0
  446. /package/dist/native/{p-a89f5542.entry.js.map → p-b902c7c0.entry.js.map} +0 -0
  447. /package/dist/native/{p-327fa1a0.entry.js.map → p-bbc45099.entry.js.map} +0 -0
  448. /package/dist/native/{p-919cf3ec.entry.js.map → p-c59e3500.entry.js.map} +0 -0
  449. /package/dist/native/{p-e05b0c4a.entry.js.map → p-e5fbe545.entry.js.map} +0 -0
  450. /package/dist/native/{p-93eea6e1.entry.js.map → p-eda8cd9d.entry.js.map} +0 -0
  451. /package/dist/native/{p-c2dfee1a.entry.js.map → p-f42e87b5.entry.js.map} +0 -0
  452. /package/dist/native/{p-0bf2007c.entry.js.map → p-f4ecacf6.entry.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["nvButtonCss","NvButtonStyle0","NvButton","constructor","hostRef","this","size","emphasis","danger","loading","disabled","fluid","type","handleClick","event","preventDefault","_b","_a","internals","form","requestSubmit","_d","_c","reset","handleLoadingChange","handleDisabledChange","componentWillLoad","render","h","Host","key","role","tabindex","onClick","ButtonSize","Large","name"],"sources":["src/components/nv-button/styles/nv-button.scss?tag=nv-button","src/components/nv-button/nv-button.tsx"],"sourcesContent":["@use \"./mixins\" as *;\n\n// Make sure to update nv-button class in the tailwind-components.scss file when\n// you add new styles or change the structure here.\nnv-button {\n @include root-styles();\n\n @each $size in $sizes {\n &[size=\"#{$size}\"] {\n @include size-styles($size);\n }\n }\n\n @each $emphasis in $emphases {\n &[emphasis=\"#{$emphasis}\"] {\n @include emphasis-styles($emphasis);\n\n &[danger]:not([danger=\"false\"]) {\n @include danger-styles($emphasis);\n }\n }\n }\n\n &[fluid]:not([fluid=\"false\"]) {\n @include fluid-styles();\n }\n\n &[loading]:not([loading=\"false\"]) {\n [slot=\"leading-icon\"] {\n display: none;\n }\n }\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n AttachInternals,\n Element,\n Watch,\n} from '@stencil/core';\n\nimport { ButtonSize, ButtonEmphasis, ButtonType } from '../../utils/constants';\n\n/**\n * @slot default - Content of the button.\n * @slot leading-icon - Icon before the label.\n * @slot trailing-icon - Icon after the label.\n */\n@Component({\n tag: 'nv-button',\n shadow: false,\n formAssociated: true,\n styleUrl: 'styles/nv-button.scss',\n})\nexport class NvButton {\n @AttachInternals() internals: ElementInternals;\n @Element() el: HTMLNvButtonElement;\n\n /****************************************************************************/\n //#region PROPERTIES\n\n /**\n * Determines how large or small the button appears, allowing for\n * customization of the button's dimensions to fit different design\n * specifications and user needs.\n */\n @Prop({ reflect: true })\n readonly size: `${ButtonSize}` = 'md';\n\n /**\n * Adjusts the button's emphasis to make it more or less visually prominent\n * to users. Use this to draw attention to important actions or reduce focus\n * on less critical ones\n */\n @Prop({ reflect: true })\n readonly emphasis: `${ButtonEmphasis}` = 'high';\n\n /**\n * Applies styling that visually indicates the button represents a dangerous\n * action.\n */\n @Prop({ reflect: true })\n readonly danger: boolean = false;\n\n /**\n * Set this to true to show a spinner on the button, letting users know that\n * their action is being processed. It helps improve user experience by\n * indicating ongoing activities.\n */\n @Prop({ reflect: true, mutable: true })\n loading: boolean = false;\n\n /**\n * Disables the button, preventing user interaction.\n */\n @Prop({ reflect: true, mutable: true })\n disabled: boolean = false;\n\n /**\n * Allows the button to stretch and fill the entire width of its container.\n */\n @Prop({ reflect: true })\n readonly fluid: boolean = false;\n\n /**\n * Sets the button type to control its function in forms. Use 'submit' to send\n * form data, 'reset' to clear the form, or 'button' for a standard button\n * that doesn’t interact with form submission by default.\n */\n @Prop({ reflect: true })\n readonly type: `${ButtonType}` = 'button';\n\n //#endregion PROPERTIES\n /****************************************************************************/\n //#region METHODS\n\n /**\n * Handles form-related actions when the button is clicked.\n * - Submits the form if the button type is 'submit'.\n * - Resets the form if the button type is 'reset'.\n * @param {Event} event - The click event.\n */\n private handleClick = (event: Event) => {\n if (this.loading || this.disabled) {\n event.preventDefault();\n return;\n }\n\n if (this.type === 'submit') {\n this.internals?.form?.requestSubmit();\n }\n if (this.type === 'reset') {\n this.internals?.form?.reset();\n }\n };\n\n //#endregion METHODS\n /****************************************************************************/\n //#region WATCHERS\n\n @Watch('loading')\n handleLoadingChange(loading: boolean) {\n this.loading = loading;\n this.disabled = loading;\n }\n\n @Watch('disabled')\n handleDisabledChange(disabled: boolean) {\n if (this.loading) {\n this.disabled = this.loading;\n } else {\n this.disabled = disabled;\n }\n }\n\n //#endregion WATCHERS\n /****************************************************************************/\n //#region LIFECYCLE\n\n componentWillLoad() {\n if (this.loading) {\n this.disabled = this.loading;\n }\n }\n\n //#endregion LIFECYCLE\n /****************************************************************************/\n //#region RENDER\n\n render() {\n return (\n <Host role=\"button\" tabindex=\"0\" onClick={this.handleClick}>\n {this.loading && (\n <nv-loader\n size={this.size === ButtonSize.Large ? 'sm' : 'xs'}\n ></nv-loader>\n )}\n\n <slot name=\"leading-icon\"></slot>\n <slot></slot>\n <slot name=\"trailing-icon\"></slot>\n </Host>\n );\n }\n\n //#endregion RENDER\n}\n"],"mappings":"6FAAA,MAAMA,EAAc,wlQACpB,MAAAC,EAAeD,E,MCsBFE,EAAQ,MANrB,WAAAC,CAAAC,G,0KAmBWC,KAAAC,KAAwB,KAQxBD,KAAAE,SAAgC,OAOhCF,KAAAG,OAAkB,MAQ3BH,KAAAI,QAAmB,MAMnBJ,KAAAK,SAAoB,MAMXL,KAAAM,MAAiB,MAQjBN,KAAAO,KAAwB,SAYzBP,KAAAQ,YAAeC,I,YACrB,GAAIT,KAAKI,SAAWJ,KAAKK,SAAU,CACjCI,EAAMC,iBACN,M,CAGF,GAAIV,KAAKO,OAAS,SAAU,EAC1BI,GAAAC,EAAAZ,KAAKa,aAAS,MAAAD,SAAA,SAAAA,EAAEE,QAAI,MAAAH,SAAA,SAAAA,EAAEI,e,CAExB,GAAIf,KAAKO,OAAS,QAAS,EACzBS,GAAAC,EAAAjB,KAAKa,aAAS,MAAAI,SAAA,SAAAA,EAAEH,QAAI,MAAAE,SAAA,SAAAA,EAAEE,O,GAS1B,mBAAAC,CAAoBf,GAClBJ,KAAKI,QAAUA,EACfJ,KAAKK,SAAWD,C,CAIlB,oBAAAgB,CAAqBf,GACnB,GAAIL,KAAKI,QAAS,CAChBJ,KAAKK,SAAWL,KAAKI,O,KAChB,CACLJ,KAAKK,SAAWA,C,EAQpB,iBAAAgB,GACE,GAAIrB,KAAKI,QAAS,CAChBJ,KAAKK,SAAWL,KAAKI,O,EAQzB,MAAAkB,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,KAAK,SAASC,SAAS,IAAIC,QAAS5B,KAAKQ,aAC5CR,KAAKI,SACJmB,EAAA,aAAAE,IAAA,2CACExB,KAAMD,KAAKC,OAAS4B,EAAWC,MAAQ,KAAO,OAIlDP,EAAA,QAAAE,IAAA,2CAAMM,KAAK,iBACXR,EAAA,QAAAE,IAAA,6CACAF,EAAA,QAAAE,IAAA,2CAAMM,KAAK,kB","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as a,h as e,a as b}from"./p-9b093b92.js";const d="";const s=d;const t=class{constructor(e){a(this,e)}render(){return e(b,{key:"e56a8e78a9034ce2cd2eda97ee074662b533ace9"},e("thead",{key:"0a32742beaf23f214bbf3f03f9de5bab748573cd"},e("slot",{key:"0beabbfbadee2af0caa07f31fb681d24fe6da240"})))}};t.style=s;export{t as nv_datagridhead};
2
+ //# sourceMappingURL=p-52a7f936.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,c as o,h as c,a as i,g as r}from"./p-6ef216c4.js";import{c as n}from"./p-8a1a6e56.js";import{v as t}from"./p-f5ff676c.js";const d='nv-fieldcheckbox{--nv-fieldcheckbox-border-default:var(--components-form-field-border-default);--nv-fieldcheckbox-border-hover:var(--components-form-field-border-hover);--nv-fieldcheckbox-border-focus:var(--components-form-field-border-default);--nv-fieldcheckbox-background-default:var(--components-form-field-background-default);--nv-fieldcheckbox-background-checked:var(--components-form-field-background-checked);--nv-fieldcheckbox-background-disabled:var(--components-form-field-background-disabled);--nv-fieldcheckbox-focus-box-shadow:var(--color-focus-brand);--nv-fieldcheckbox-color-checked:var(--components-form-shape-foreground-default);--nv-fieldcheckbox-color-disabled:var(--components-form-shape-foreground-disabled);--nv-fieldcheckbox-outline-color:var(--color-focus-brand);display:inline-flex;align-items:flex-start;gap:var(--form-gap-x);position:relative}nv-fieldcheckbox:not([disabled],[readonly]) input,nv-fieldcheckbox:not([disabled],[readonly]) label{cursor:pointer}nv-fieldcheckbox.error .input-container{--nv-fieldcheckbox-border-default:var(--components-form-field-border-error);--nv-fieldcheckbox-border-hover:var(--nv-fieldcheckbox-border-default);--nv-fieldcheckbox-border-focus:var(--components-form-field-border-error);--nv-fieldcheckbox-focus-box-shadow:var(--color-focus-destructive);--nv-fieldcheckbox-color-disabled:var(--components-form-shape-foreground-disabled-error);--nv-fieldcheckbox-background-checked:var(--components-form-field-background-error);--nv-fieldcheckbox-outline-color:var(--color-focus-destructive)}nv-fieldcheckbox.label-placement-before{flex-direction:row-reverse}nv-fieldcheckbox[disabled]{opacity:0.5}nv-fieldcheckbox label{align-self:stretch;color:var(--components-form-text-label-default);font-family:"TT Norms Pro", sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--form-label-font-weight);line-height:var(--form-label-line-height)}nv-fieldcheckbox .input-container{position:relative;color:var(--nv-fieldcheckbox-color-checked)}nv-fieldcheckbox .input-container input[type=checkbox][readonly]{opacity:0.5}nv-fieldcheckbox .input-container:has(input[type=checkbox]:disabled:not([readonly])){color:var(--nv-fieldcheckbox-color-disabled)}nv-fieldcheckbox .input-container input[type=checkbox]{appearance:none;position:relative;display:flex;width:var(--form-checkbox-size);height:var(--form-checkbox-size);flex-direction:column;align-items:flex-start;border-radius:var(--form-checkbox-radius);border-width:var(--form-checkbox-border-width);border-style:solid;border-color:var(--nv-fieldcheckbox-border-default);background:var(--nv-fieldcheckbox-background-default)}nv-fieldcheckbox .input-container input[type=checkbox]:hover{border-color:var(--nv-fieldcheckbox-border-hover)}nv-fieldcheckbox .input-container input[type=checkbox]:focus{border-color:var(--nv-fieldcheckbox-border-focus)}nv-fieldcheckbox .input-container input[type=checkbox]:focus,nv-fieldcheckbox .input-container input[type=checkbox]:focus-within{outline:none}nv-fieldcheckbox .input-container input[type=checkbox]:focus-visible,nv-fieldcheckbox .input-container input[type=checkbox]:has(:focus-visible){outline:var(--focus-outline-stroke) solid var(--nv-fieldcheckbox-outline-color);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-fieldcheckbox .input-container input[type=checkbox]:checked,nv-fieldcheckbox .input-container input[type=checkbox]:indeterminate{background:var(--nv-fieldcheckbox-background-checked);border-color:var(--nv-fieldcheckbox-background-checked)}nv-fieldcheckbox .input-container input[type=checkbox]:disabled:not([readonly]){background:var(--nv-fieldcheckbox-background-disabled);border-color:var(--nv-fieldcheckbox-border-default)}nv-fieldcheckbox .input-container input[type=checkbox][readonly]{opacity:0.5}nv-fieldcheckbox .input-container .icon{pointer-events:none;position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}nv-fieldcheckbox .input-container .icon svg{width:var(--form-checkbox-icon-size);height:var(--form-checkbox-icon-size);fill:none;stroke:currentcolor;stroke-width:var(--form-checkbox-icon-stroke);flex-shrink:0}nv-fieldcheckbox .description{align-self:stretch;color:var(--components-form-text-description-default);font-family:"TT Norms Pro", sans-serif;font-size:var(--form-description-font-size);font-style:normal;font-weight:var(--form-description-font-weight);line-height:var(--form-description-line-height)}nv-fieldcheckbox .error-description{align-self:stretch;color:var(--components-form-text-description-default);font-family:"TT Norms Pro", sans-serif;font-size:var(--form-description-font-size);font-style:normal;font-weight:var(--form-description-font-weight);line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}nv-fieldcheckbox .text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}';const a=d;const l=class{constructor(c){e(this,c);this.checkedChanged=o(this,"checkedChanged",7);this.labelBefore=false;this.inputId=t();this.hideLabel=false;this.error=false;this.checked=false;this.indeterminate=false;this.disabled=false;this.readonly=false;this.required=false}componentWillRender(){if(this.message){this.description=this.message}if(this.labelBefore){this.labelPlacement="before"}if(this.validation){this.errorDescription=this.validation}}onCheckedChanged(e){this.checkedChanged.emit(e)}handleChange(e){const o=e.target;if(o.type==="checkbox"&&o.id===this.inputId){if(this.readonly||this.disabled){e.preventDefault();return}if(this.indeterminate){this.indeterminate=false}this.checked=o.checked}}render(){return c(i,{key:"c87c2b3e3a4b81c9d6eb6c3784919a5fcb78e38b",class:n(this.labelPlacement==="before"&&"label-placement-before",this.error&&"error")},c("div",{key:"8e43a91fec01b02dfa6b27408e1c1fd252558014",class:"input-container"},c("input",{key:"bffbfc1ac879fb70e1c7b436c3a9845150b78bca",type:"checkbox",id:this.inputId,name:this.name,autocomplete:"off",value:this.value,checked:Boolean(this.checked),disabled:this.disabled||this.readonly,readonly:this.readonly&&!this.required,required:this.required,indeterminate:this.indeterminate,ref:e=>{if(e){e.indeterminate=this.indeterminate}}}),c("span",{key:"b100feee33694f72c59496f09f5ecbbf9358d7c6",class:"icon"},this.checked&&!this.indeterminate&&c("slot",{key:"a5f5159aff04c111e4b944123686f00f817ecb1e",name:"checked-icon"},c("svg",{key:"26a750b600fa0857ec9adf17f9d4dcd9ce0e2aad",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"},c("path",{key:"ddf0155de05297d7ec966bdaf9633ceb1ee413d7",d:"M11.6667 3.5L5.25004 9.91667L2.33337 7","stroke-linecap":"round","stroke-linejoin":"round"}))),this.indeterminate&&c("slot",{key:"e64681ce70326348083402f7996eaf6134aaca3e",name:"indeterminate-icon"},c("svg",{key:"9cfcd8118bb6f208278614711fd726fe29c9070a",class:"indeterminate-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14 14",fill:"none"},c("path",{key:"8d88be8c4bd195982bf0024e4f67f30601ddfb80",d:"M2.9165 7H11.0832","stroke-linecap":"round","stroke-linejoin":"round"}))))),c("div",{key:"061d18d589ef2a8efd0fb73f70d5c0a6013c497d",class:"text-container"},(this.label||this.el.querySelector('[slot="label"]'))&&c("label",{key:"129013f8e60d1aaae82b97321c4cc26ab6229bbb",htmlFor:this.inputId,class:n(this.hideLabel&&"visually-hidden")},c("slot",{key:"e134c0683e4c4c410c78d45f3537d8ed1491c67e",name:"label"},this.label)),(this.description||this.el.querySelector('[slot="description"]'))&&c("div",{key:"78166f4fb7d1e5dc20f13ce5b4ca567a90862493",class:"description"},c("slot",{key:"6bced15913e4a22371520818343de5598c5a5e6d",name:"description"},this.description)),(this.errorDescription||this.el.querySelector('[slot="error-description"]'))&&c("div",{key:"88f4ceaef2412ce5f4bb08b19485fc27d9842792",hidden:!this.error,class:"error-description"},c("slot",{key:"96a581ce5d0e66416d24bf52219a87d3c39457d8",name:"error-description"},this.errorDescription))))}get el(){return r(this)}static get watchers(){return{checked:["onCheckedChanged"]}}};l.style=a;export{l as nv_fieldcheckbox};
2
- //# sourceMappingURL=p-50c31094.entry.js.map
1
+ import{r as e,c as o,h as c,a as i,g as r}from"./p-9b093b92.js";import{c as n}from"./p-8a1a6e56.js";import{v as t}from"./p-f5ff676c.js";const a='nv-fieldcheckbox{--nv-fieldcheckbox-border-default:var(--components-form-field-border-default);--nv-fieldcheckbox-border-hover:var(--components-form-field-border-hover);--nv-fieldcheckbox-border-focus:var(--components-form-field-border-default);--nv-fieldcheckbox-background-default:var(--components-form-field-background-default);--nv-fieldcheckbox-background-checked:var(--components-form-field-background-checked);--nv-fieldcheckbox-background-disabled:var(--components-form-field-background-disabled);--nv-fieldcheckbox-focus-box-shadow:var(--color-focus-brand);--nv-fieldcheckbox-color-checked:var(--components-form-shape-foreground-default);--nv-fieldcheckbox-color-disabled:var(--components-form-shape-foreground-disabled);--nv-fieldcheckbox-outline-color:var(--color-focus-brand);display:inline-flex;align-items:flex-start;gap:var(--form-gap-x);position:relative}nv-fieldcheckbox:not([disabled],[readonly]) input,nv-fieldcheckbox:not([disabled],[readonly]) label{cursor:pointer}nv-fieldcheckbox.error .input-container{--nv-fieldcheckbox-border-default:var(--components-form-field-border-error);--nv-fieldcheckbox-border-hover:var(--nv-fieldcheckbox-border-default);--nv-fieldcheckbox-border-focus:var(--components-form-field-border-error);--nv-fieldcheckbox-focus-box-shadow:var(--color-focus-destructive);--nv-fieldcheckbox-color-disabled:var(--components-form-shape-foreground-disabled-error);--nv-fieldcheckbox-background-checked:var(--components-form-field-background-error);--nv-fieldcheckbox-outline-color:var(--color-focus-destructive)}nv-fieldcheckbox.label-placement-before{flex-direction:row-reverse}nv-fieldcheckbox[disabled]{opacity:0.5}nv-fieldcheckbox label{align-self:stretch;color:var(--components-form-text-label-default);font-family:"TT Norms Pro", sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--form-label-font-weight);line-height:var(--form-label-line-height)}nv-fieldcheckbox .input-container{position:relative;color:var(--nv-fieldcheckbox-color-checked)}nv-fieldcheckbox .input-container input[type=checkbox][readonly]{opacity:0.5}nv-fieldcheckbox .input-container:has(input[type=checkbox]:disabled:not([readonly])){color:var(--nv-fieldcheckbox-color-disabled)}nv-fieldcheckbox .input-container input[type=checkbox]{appearance:none;position:relative;display:flex;width:var(--form-checkbox-size);height:var(--form-checkbox-size);flex-direction:column;align-items:flex-start;border-radius:var(--form-checkbox-radius);border-width:var(--form-checkbox-border-width);border-style:solid;border-color:var(--nv-fieldcheckbox-border-default);background:var(--nv-fieldcheckbox-background-default)}nv-fieldcheckbox .input-container input[type=checkbox]:hover{border-color:var(--nv-fieldcheckbox-border-hover)}nv-fieldcheckbox .input-container input[type=checkbox]:focus{border-color:var(--nv-fieldcheckbox-border-focus)}nv-fieldcheckbox .input-container input[type=checkbox]:focus,nv-fieldcheckbox .input-container input[type=checkbox]:focus-within{outline:none}nv-fieldcheckbox .input-container input[type=checkbox]:focus-visible,nv-fieldcheckbox .input-container input[type=checkbox]:has(:focus-visible){outline:var(--focus-outline-stroke) solid var(--nv-fieldcheckbox-outline-color);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-fieldcheckbox .input-container input[type=checkbox]:checked,nv-fieldcheckbox .input-container input[type=checkbox]:indeterminate{background:var(--nv-fieldcheckbox-background-checked);border-color:var(--nv-fieldcheckbox-background-checked)}nv-fieldcheckbox .input-container input[type=checkbox]:disabled:not([readonly]){background:var(--nv-fieldcheckbox-background-disabled);border-color:var(--nv-fieldcheckbox-border-default)}nv-fieldcheckbox .input-container input[type=checkbox][readonly]{opacity:0.5}nv-fieldcheckbox .input-container .icon{pointer-events:none;position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}nv-fieldcheckbox .input-container .icon svg{width:var(--form-checkbox-icon-size);height:var(--form-checkbox-icon-size);fill:none;stroke:currentcolor;stroke-width:var(--form-checkbox-icon-stroke);flex-shrink:0}nv-fieldcheckbox .description{align-self:stretch;color:var(--components-form-text-description-default);font-family:"TT Norms Pro", sans-serif;font-size:var(--form-description-font-size);font-style:normal;font-weight:var(--form-description-font-weight);line-height:var(--form-description-line-height)}nv-fieldcheckbox .error-description{align-self:stretch;color:var(--components-form-text-description-default);font-family:"TT Norms Pro", sans-serif;font-size:var(--form-description-font-size);font-style:normal;font-weight:var(--form-description-font-weight);line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}nv-fieldcheckbox .text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}';const d=a;const l=class{constructor(c){e(this,c);this.checkedChanged=o(this,"checkedChanged",7);this.labelBefore=false;this.inputId=t();this.hideLabel=false;this.error=false;this.checked=false;this.indeterminate=false;this.disabled=false;this.readonly=false;this.required=false}componentWillRender(){if(this.message){this.description=this.message}if(this.labelBefore){this.labelPlacement="before"}if(this.validation){this.errorDescription=this.validation}}onCheckedChanged(e){this.checkedChanged.emit(e)}handleChange(e){const o=e.target;if(o.type==="checkbox"&&o.id===this.inputId){if(this.readonly||this.disabled){e.preventDefault();return}if(this.indeterminate){this.indeterminate=false}this.checked=o.checked}}render(){return c(i,{key:"dee6fd99a2e97591189c8a6bdce3c8909b4ceb97",class:n(this.labelPlacement==="before"&&"label-placement-before",this.error&&"error")},c("div",{key:"dd6ab7f4cddd11c89cc15249290fe43d83a669ab",class:"input-container"},c("input",{key:"1132052e8f369f16d3a0ce4698b72644975886f8",type:"checkbox",id:this.inputId,name:this.name,autocomplete:"off",value:this.value,checked:Boolean(this.checked),disabled:this.disabled||this.readonly,readonly:this.readonly&&!this.required,required:this.required,indeterminate:this.indeterminate,ref:e=>{if(e){e.indeterminate=this.indeterminate}}}),c("span",{key:"ac87b7d83e5731da6ce8f9990a1d55bd247cb750",class:"icon"},this.checked&&!this.indeterminate&&c("slot",{key:"911e69045129dc8755fea438570858f338a18ad3",name:"checked-icon"},c("svg",{key:"de2e547ac9ab00c52ee9c924fdb4e24cf0321158",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"},c("path",{key:"10dc26b32951b18a6bd29482349894bf1ca87bd8",d:"M11.6667 3.5L5.25004 9.91667L2.33337 7","stroke-linecap":"round","stroke-linejoin":"round"}))),this.indeterminate&&c("slot",{key:"7e957be646aa6a96f94e0cf70b5ef88b8037e07e",name:"indeterminate-icon"},c("svg",{key:"d132aabc77f0dcf5c67377a60004b72307cf61ba",class:"indeterminate-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14 14",fill:"none"},c("path",{key:"353c950a9d8d14c32e276e393c9314374d10337f",d:"M2.9165 7H11.0832","stroke-linecap":"round","stroke-linejoin":"round"}))))),c("div",{key:"a14fc39e16a9dcee74e722a361fcc8df63fad5d6",class:"text-container"},(this.label||this.el.querySelector('[slot="label"]'))&&c("label",{key:"13a9fee6f1c4aea8735eca27f36944d6c26cf7f2",htmlFor:this.inputId,class:n(this.hideLabel&&"visually-hidden")},c("slot",{key:"dbbce25b8f65d2b12d10e419f94ae56ef2d0c355",name:"label"},this.label)),(this.description||this.el.querySelector('[slot="description"]'))&&c("div",{key:"3647cdaa6a4ec2cacab7b2c1fe731e3454746648",class:"description"},c("slot",{key:"19dff40045f22c6403029731a0a628455b831c5c",name:"description"},this.description)),(this.errorDescription||this.el.querySelector('[slot="error-description"]'))&&c("div",{key:"dd78ae62d1a1cd6c2a9b41d32740321cb1f36f2a",hidden:!this.error,class:"error-description"},c("slot",{key:"1e4d1c10387aaea37c87111c43c84cd204ca1619",name:"error-description"},this.errorDescription))))}get el(){return r(this)}static get watchers(){return{checked:["onCheckedChanged"]}}};l.style=d;export{l as nv_fieldcheckbox};
2
+ //# sourceMappingURL=p-5d0dc7c8.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as s,h as a,a as c}from"./p-9b093b92.js";const t="";const e=t;const b=class{constructor(a){s(this,a);this.colspan=1;this.rowspan=1}render(){return a(c,{key:"976a7fb6560a797a1fdf754714f44f2879cf7346"},a("th",{key:"d2fb85bea5e7ca5ee9cf8a6e0b5ec86d248f400b",abbr:this.abbr,colSpan:this.colspan,headers:this.headers,rowSpan:this.rowspan,scope:this.scope},a("slot",{key:"0e7fc2dbda83ac114bcb70cfd81c4f324c4155a6"})))}};b.style=e;export{b as nv_tablecolumn};
2
+ //# sourceMappingURL=p-5d67a825.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["nvTablecolumnCss","NvTablecolumnStyle0","NvTablecolumn","constructor","hostRef","this","colspan","rowspan","render","h","Host","key","abbr","colSpan","headers","rowSpan","scope"],"sources":["src/components/nv-tablecolumn/nv-tablecolumn.scss?tag=nv-tablecolumn","src/components/nv-tablecolumn/nv-tablecolumn.tsx"],"sourcesContent":["// No need for the moment\n","import { Component, Host, Prop, h } from '@stencil/core';\n\n/**\n * @slot default - Use this slot to insert HTML into the table column.\n */\n@Component({\n tag: 'nv-tablecolumn',\n styleUrl: 'nv-tablecolumn.scss',\n shadow: false,\n})\nexport class NvTablecolumn {\n /****************************************************************************/\n //#region PROPERTIES\n\n /**\n * A short, abbreviated description of the header cell's content provided as an\n * alternative label to use for the header cell when referencing the cell in other\n * contexts. Some user-agents, such as speech readers, may present this description\n * before the content itself.\n */\n @Prop()\n readonly abbr: string;\n\n /**\n * A non-negative integer value indicating how many columns the header cell spans\n * or extends. The default value is 1. User agents dismiss values higher than 1000\n * as incorrect, defaulting such values to 1.\n * @default 1\n */\n @Prop()\n readonly colspan: number = 1;\n\n /**\n * A non-negative integer value indicating how many rows the header cell spans or\n * extends. The default value is 1; if its value is set to 0, the header cell will\n * extends to the end of the table grouping section (`<thead>`, `<tbody>`, `<tfoot>`,\n * even if implicitly defined), that the `<th>` belongs to. Values higher than 65534\n * are clipped at 65534.\n * @default 1\n */\n @Prop()\n readonly rowspan: number = 1;\n\n /**\n * A list of space-separated strings corresponding to the id attributes of the `<th>`\n * elements that provide the headers for this header cell.\n * @example 'col1 col2'\n */\n @Prop()\n readonly headers: string;\n\n /**\n * Defines the cells that the header (defined in the `<th>`) element relates to.\n * Possible enumerated values are:\n *\n * - `col`: The header relates to all cells of the column it belongs to.\n * - `row`: The header relates to all cells of the row it belongs to.\n * - `colgroup`: The header relates to all cells of the column group it belongs to.\n * - `rowgroup`: The header relates to all cells of the row group it belongs to.\n *\n * If the `scope` attribute is not specified, or its value is not `row`, `col`,\n * `rowgroup`, or `colgroup`, then browsers automatically select the set of cells to\n * which the header cell applies.\n */\n @Prop()\n readonly scope: 'col' | 'row' | 'colgroup' | 'rowgroup';\n\n //#endregion PROPERTIES\n /****************************************************************************/\n //#region RENDER\n\n render() {\n return (\n <Host>\n <th\n abbr={this.abbr}\n colSpan={this.colspan}\n headers={this.headers}\n rowSpan={this.rowspan}\n scope={this.scope}\n >\n <slot></slot>\n </th>\n </Host>\n );\n }\n\n //#endregion RENDER\n /****************************************************************************/\n}\n"],"mappings":"6CAAA,MAAMA,EAAmB,GACzB,MAAAC,EAAeD,E,MCSFE,EAAa,MAL1B,WAAAC,CAAAC,G,UAyBWC,KAAAC,QAAkB,EAWlBD,KAAAE,QAAkB,C,CA8B3B,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,MAAAE,IAAA,2CACEC,KAAMP,KAAKO,KACXC,QAASR,KAAKC,QACdQ,QAAST,KAAKS,QACdC,QAASV,KAAKE,QACdS,MAAOX,KAAKW,OAEZP,EAAA,QAAAE,IAAA,8C","ignoreList":[]}
1
+ {"version":3,"names":["nvTablecolumnCss","NvTablecolumnStyle0","NvTablecolumn","constructor","hostRef","this","colspan","rowspan","render","h","Host","key","abbr","colSpan","headers","rowSpan","scope"],"sources":["src/components/nv-tablecolumn/nv-tablecolumn.scss?tag=nv-tablecolumn","src/components/nv-tablecolumn/nv-tablecolumn.tsx"],"sourcesContent":["// No need for the moment\n","import { Component, Host, Prop, h } from '@stencil/core';\n\n/**\n * @slot default - Use this slot to insert HTML into the table column.\n */\n@Component({\n tag: 'nv-tablecolumn',\n styleUrl: 'nv-tablecolumn.scss',\n shadow: false,\n})\nexport class NvTablecolumn {\n /****************************************************************************/\n //#region PROPERTIES\n\n /**\n * A short, abbreviated description of the header cell's content provided as an\n * alternative label to use for the header cell when referencing the cell in other\n * contexts. Some user-agents, such as speech readers, may present this description\n * before the content itself.\n */\n @Prop()\n readonly abbr: string;\n\n /**\n * A non-negative integer value indicating how many columns the header cell spans\n * or extends. The default value is 1. User agents dismiss values higher than 1000\n * as incorrect, defaulting such values to 1.\n * @default 1\n */\n @Prop()\n readonly colspan: number = 1;\n\n /**\n * A non-negative integer value indicating how many rows the header cell spans or\n * extends. The default value is 1; if its value is set to 0, the header cell will\n * extends to the end of the table grouping section (`<thead>`, `<tbody>`, `<tfoot>`,\n * even if implicitly defined), that the `<th>` belongs to. Values higher than 65534\n * are clipped at 65534.\n * @default 1\n */\n @Prop()\n readonly rowspan: number = 1;\n\n /**\n * A list of space-separated strings corresponding to the id attributes of the `<th>`\n * elements that provide the headers for this header cell.\n * @example 'col1 col2'\n */\n @Prop()\n readonly headers: string;\n\n /**\n * Defines the cells that the header (defined in the `<th>`) element relates to.\n * Possible enumerated values are:\n *\n * - `col`: The header relates to all cells of the column it belongs to.\n * - `row`: The header relates to all cells of the row it belongs to.\n * - `colgroup`: The header relates to all cells of the column group it belongs to.\n * - `rowgroup`: The header relates to all cells of the row group it belongs to.\n *\n * If the `scope` attribute is not specified, or its value is not `row`, `col`,\n * `rowgroup`, or `colgroup`, then browsers automatically select the set of cells to\n * which the header cell applies.\n */\n @Prop()\n readonly scope: 'col' | 'row' | 'colgroup' | 'rowgroup';\n\n //#endregion PROPERTIES\n /****************************************************************************/\n //#region RENDER\n\n render() {\n return (\n <Host>\n <th\n abbr={this.abbr}\n colSpan={this.colspan}\n headers={this.headers}\n rowSpan={this.rowspan}\n scope={this.scope}\n >\n <slot></slot>\n </th>\n </Host>\n );\n }\n\n //#endregion RENDER\n /****************************************************************************/\n}\n"],"mappings":"kDAAA,MAAMA,EAAmB,GACzB,MAAAC,EAAeD,E,MCSFE,EAAa,MAL1B,WAAAC,CAAAC,G,UAyBWC,KAAAC,QAAkB,EAWlBD,KAAAE,QAAkB,C,CA8B3B,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,MAAAE,IAAA,2CACEC,KAAMP,KAAKO,KACXC,QAASR,KAAKC,QACdQ,QAAST,KAAKS,QACdC,QAASV,KAAKE,QACdS,MAAOX,KAAKW,OAEZP,EAAA,QAAAE,IAAA,8C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,h as d,a as t}from"./p-9b093b92.js";const a="";const f=a;const s=class{constructor(d){e(this,d)}render(){return d(t,{key:"dbdf7fa0353e84e702ddd082fe466f89492f48e1"},d("td",{key:"3d3d8ae038cb5a6bf3404fe7178003529790fc10"},d("slot",{key:"b8585f6517d053f90be59fe7e492771114911496"})))}};s.style=f;export{s as nv_datagriddatacell};
2
+ //# sourceMappingURL=p-5e467b49.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as c,h as e,a}from"./p-9b093b92.js";const b="";const d=b;const s=class{constructor(e){c(this,e)}render(){return e(a,{key:"7a5935aabb4a5136d60d1f16047f914bbd187ef3"},e("tbody",{key:"ec41d476bec5f5e1b745cc0282b6b19a4ed674af"},e("slot",{key:"5c974cca2fd9207860615d81f4f0343e5d69d95c"})))}};s.style=d;export{s as nv_tablebody};
2
+ //# sourceMappingURL=p-6c1b9c89.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["nvTablebodyCss","NvTablebodyStyle0","NvTablebody","render","h","Host","key"],"sources":["src/components/nv-tablebody/nv-tablebody.scss?tag=nv-tablebody","src/components/nv-tablebody/nv-tablebody.tsx"],"sourcesContent":["// No need for the moment\n","import { Component, Host, h } from '@stencil/core';\n\n/**\n * @slot default - Use this slot to insert HTML into the table body.\n */\n@Component({\n tag: 'nv-tablebody',\n styleUrl: 'nv-tablebody.scss',\n shadow: false,\n})\nexport class NvTablebody {\n /****************************************************************************/\n //#region RENDER\n\n render() {\n return (\n <Host>\n <tbody>\n <slot></slot>\n </tbody>\n </Host>\n );\n }\n\n //#endregion RENDER\n /****************************************************************************/\n}\n"],"mappings":"kDAAA,MAAMA,EAAiB,GACvB,MAAAC,EAAeD,E,MCSFE,EAAW,M,yBAItB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,SAAAE,IAAA,4CACEF,EAAA,QAAAE,IAAA,8C","ignoreList":[]}
1
+ {"version":3,"names":["nvTablebodyCss","NvTablebodyStyle0","NvTablebody","render","h","Host","key"],"sources":["src/components/nv-tablebody/nv-tablebody.scss?tag=nv-tablebody","src/components/nv-tablebody/nv-tablebody.tsx"],"sourcesContent":["// No need for the moment\n","import { Component, Host, h } from '@stencil/core';\n\n/**\n * @slot default - Use this slot to insert HTML into the table body.\n */\n@Component({\n tag: 'nv-tablebody',\n styleUrl: 'nv-tablebody.scss',\n shadow: false,\n})\nexport class NvTablebody {\n /****************************************************************************/\n //#region RENDER\n\n render() {\n return (\n <Host>\n <tbody>\n <slot></slot>\n </tbody>\n </Host>\n );\n }\n\n //#endregion RENDER\n /****************************************************************************/\n}\n"],"mappings":"6CAAA,MAAMA,EAAiB,GACvB,MAAAC,EAAeD,E,MCSFE,EAAW,M,yBAItB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,SAAAE,IAAA,4CACEF,EAAA,QAAAE,IAAA,8C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ var e;(function(e){e["Information"]="information";e["Warning"]="warning";e["Success"]="success";e["Error"]="error";e["Neutral"]="neutral"})(e||(e={}));var n;(function(e){e["Neutral"]="neutral";e["Primary"]="primary";e["Secondary"]="secondary";e["Success"]="success";e["Error"]="error"})(n||(n={}));var t;(function(e){e["ExtraSmall"]="xs";e["Small"]="sm";e["Medium"]="md";e["Large"]="lg";e["ExtraLarge"]="xl"})(t||(t={}));var r;(function(e){e["ExtraSmall"]="xs";e["Small"]="sm";e["Medium"]="md";e["Large"]="lg"})(r||(r={}));var a;(function(e){e["High"]="high";e["Medium"]="medium";e["Low"]="low";e["Lower"]="lower"})(a||(a={}));var o;(function(e){e["Submit"]="submit";e["Reset"]="reset";e["Button"]="button"})(o||(o={}));var c;(function(e){e["Square"]="square";e["Rounded"]="rounded"})(c||(c={}));var i;(function(e){e["High"]="brand";e["Low"]="white"})(i||(i={}));var s;(function(e){e["Before"]="before";e["After"]="after"})(s||(s={}));var l;(function(e){e["On"]="on";e["Off"]="off";e["Section"]="section-*";e["Shipping"]="shipping";e["Billing"]="billing";e["Home"]="home";e["Work"]="work";e["Mobile"]="mobile";e["Fax"]="fax";e["Pager"]="pager";e["Tel"]="tel";e["TelCountryCode"]="tel-country-code";e["TelNational"]="tel-national";e["TelAreaCode"]="tel-area-code";e["TelLocal"]="tel-local";e["TelLocalPrefix"]="tel-local-prefix";e["TelLocalSuffix"]="tel-local-suffix";e["TelExtension"]="tel-extension";e["Email"]="email";e["IMProtocol"]="impp";e["Name"]="name";e["HonorificPrefix"]="honorific-prefix";e["GivenName"]="given-name";e["AdditionalName"]="additional-name";e["FamilyName"]="family-name";e["HonorificSuffix"]="honorific-suffix";e["Nickname"]="nickname";e["Username"]="username";e["NewPassword"]="new-password";e["CurrentPassword"]="current-password";e["OneTimeCode"]="one-time-code";e["OrganizationTitle"]="organization-title";e["Organization"]="organization";e["StreetAddress"]="street-address";e["AddressLine1"]="address-line1";e["AddressLine2"]="address-line2";e["AddressLine3"]="address-line3";e["AddressLevel4"]="address-level4";e["AddressLevel3"]="address-level3";e["AddressLevel2"]="address-level2";e["AddressLevel1"]="address-level1";e["Country"]="country";e["CountryName"]="country-name";e["PostalCode"]="postal-code";e["CCName"]="cc-name";e["CCGivenName"]="cc-given-name";e["CCAdditionalName"]="cc-additional-name";e["CCFamilyName"]="cc-family-name";e["CCNumber"]="cc-number";e["CCExp"]="cc-exp";e["CCExpMonth"]="cc-exp-month";e["CCExpYear"]="cc-exp-year";e["CCCSC"]="cc-csc";e["CCType"]="cc-type";e["TransactionCurrency"]="transaction-currency";e["TransactionAmount"]="transaction-amount";e["Language"]="language";e["Bday"]="bday";e["BdayDay"]="bday-day";e["BdayMonth"]="bday-month";e["BdayYear"]="bday-year";e["Sex"]="sex";e["Url"]="url";e["Photo"]="photo"})(l||(l={}));const u=Object.freeze({__proto__:null,get FeedbackColors(){return e},get DeprecatedSemanticColors(){return n},get SemanticSizes(){return t},get ButtonSize(){return r},get ButtonEmphasis(){return a},get ButtonType(){return o},get IconButtonShape(){return c},get LoaderColors(){return i},get FieldLabelPlacement(){return s},get TextInputAutocomplete(){return l}});export{r as B,e as F,t as S,u as c};
2
+ //# sourceMappingURL=p-74407727.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["FeedbackColors","DeprecatedSemanticColors","SemanticSizes","ButtonSize","ButtonEmphasis","ButtonType","IconButtonShape","LoaderColors","FieldLabelPlacement","TextInputAutocomplete"],"sources":["src/utils/constants.ts"],"sourcesContent":["export enum FeedbackColors {\n Information = 'information',\n Warning = 'warning',\n Success = 'success',\n Error = 'error',\n Neutral = 'neutral',\n}\nexport enum DeprecatedSemanticColors {\n Neutral = 'neutral',\n Primary = 'primary',\n Secondary = 'secondary',\n Success = 'success',\n Error = 'error',\n}\nexport enum SemanticSizes {\n ExtraSmall = 'xs',\n Small = 'sm',\n Medium = 'md',\n Large = 'lg',\n ExtraLarge = 'xl',\n}\nexport enum ButtonSize {\n ExtraSmall = 'xs',\n Small = 'sm',\n Medium = 'md',\n Large = 'lg',\n}\nexport enum ButtonEmphasis {\n High = 'high',\n Medium = 'medium',\n Low = 'low',\n Lower = 'lower',\n}\nexport enum ButtonType {\n Submit = 'submit',\n Reset = 'reset',\n Button = 'button',\n}\nexport enum IconButtonShape {\n Square = 'square',\n Rounded = 'rounded',\n}\nexport enum LoaderColors {\n High = 'brand',\n Low = 'white',\n}\nexport enum FieldLabelPlacement {\n Before = 'before',\n After = 'after',\n}\n\nexport enum TextInputAutocomplete {\n On = 'on',\n Off = 'off',\n Section = 'section-*',\n Shipping = 'shipping',\n Billing = 'billing',\n Home = 'home',\n Work = 'work',\n Mobile = 'mobile',\n Fax = 'fax',\n Pager = 'pager',\n Tel = 'tel',\n TelCountryCode = 'tel-country-code',\n TelNational = 'tel-national',\n TelAreaCode = 'tel-area-code',\n TelLocal = 'tel-local',\n TelLocalPrefix = 'tel-local-prefix',\n TelLocalSuffix = 'tel-local-suffix',\n TelExtension = 'tel-extension',\n Email = 'email',\n IMProtocol = 'impp',\n Name = 'name',\n HonorificPrefix = 'honorific-prefix',\n GivenName = 'given-name',\n AdditionalName = 'additional-name',\n FamilyName = 'family-name',\n HonorificSuffix = 'honorific-suffix',\n Nickname = 'nickname',\n Username = 'username',\n NewPassword = 'new-password',\n CurrentPassword = 'current-password',\n OneTimeCode = 'one-time-code',\n OrganizationTitle = 'organization-title',\n Organization = 'organization',\n StreetAddress = 'street-address',\n AddressLine1 = 'address-line1',\n AddressLine2 = 'address-line2',\n AddressLine3 = 'address-line3',\n AddressLevel4 = 'address-level4',\n AddressLevel3 = 'address-level3',\n AddressLevel2 = 'address-level2',\n AddressLevel1 = 'address-level1',\n Country = 'country',\n CountryName = 'country-name',\n PostalCode = 'postal-code',\n CCName = 'cc-name',\n CCGivenName = 'cc-given-name',\n CCAdditionalName = 'cc-additional-name',\n CCFamilyName = 'cc-family-name',\n CCNumber = 'cc-number',\n CCExp = 'cc-exp',\n CCExpMonth = 'cc-exp-month',\n CCExpYear = 'cc-exp-year',\n CCCSC = 'cc-csc',\n CCType = 'cc-type',\n TransactionCurrency = 'transaction-currency',\n TransactionAmount = 'transaction-amount',\n Language = 'language',\n Bday = 'bday',\n BdayDay = 'bday-day',\n BdayMonth = 'bday-month',\n BdayYear = 'bday-year',\n Sex = 'sex',\n Url = 'url',\n Photo = 'photo',\n}\n"],"mappings":"IAAYA,GAAZ,SAAYA,GACVA,EAAA,6BACAA,EAAA,qBACAA,EAAA,qBACAA,EAAA,iBACAA,EAAA,oBACD,EAND,CAAYA,MAAc,KAO1B,IAAYC,GAAZ,SAAYA,GACVA,EAAA,qBACAA,EAAA,qBACAA,EAAA,yBACAA,EAAA,qBACAA,EAAA,gBACD,EAND,CAAYA,MAAwB,K,IAOxBC,GAAZ,SAAYA,GACVA,EAAA,mBACAA,EAAA,cACAA,EAAA,eACAA,EAAA,cACAA,EAAA,kBACD,EAND,CAAYA,MAAa,K,IAObC,GAAZ,SAAYA,GACVA,EAAA,mBACAA,EAAA,cACAA,EAAA,eACAA,EAAA,aACD,EALD,CAAYA,MAAU,KAMtB,IAAYC,GAAZ,SAAYA,GACVA,EAAA,eACAA,EAAA,mBACAA,EAAA,aACAA,EAAA,gBACD,EALD,CAAYA,MAAc,KAM1B,IAAYC,GAAZ,SAAYA,GACVA,EAAA,mBACAA,EAAA,iBACAA,EAAA,kBACD,EAJD,CAAYA,MAAU,KAKtB,IAAYC,GAAZ,SAAYA,GACVA,EAAA,mBACAA,EAAA,oBACD,EAHD,CAAYA,MAAe,KAI3B,IAAYC,GAAZ,SAAYA,GACVA,EAAA,gBACAA,EAAA,cACD,EAHD,CAAYA,MAAY,KAIxB,IAAYC,GAAZ,SAAYA,GACVA,EAAA,mBACAA,EAAA,gBACD,EAHD,CAAYA,MAAmB,KAK/B,IAAYC,GAAZ,SAAYA,GACVA,EAAA,WACAA,EAAA,aACAA,EAAA,uBACAA,EAAA,uBACAA,EAAA,qBACAA,EAAA,eACAA,EAAA,eACAA,EAAA,mBACAA,EAAA,aACAA,EAAA,iBACAA,EAAA,aACAA,EAAA,qCACAA,EAAA,8BACAA,EAAA,+BACAA,EAAA,wBACAA,EAAA,qCACAA,EAAA,qCACAA,EAAA,gCACAA,EAAA,iBACAA,EAAA,qBACAA,EAAA,eACAA,EAAA,sCACAA,EAAA,0BACAA,EAAA,oCACAA,EAAA,4BACAA,EAAA,sCACAA,EAAA,uBACAA,EAAA,uBACAA,EAAA,8BACAA,EAAA,sCACAA,EAAA,+BACAA,EAAA,0CACAA,EAAA,+BACAA,EAAA,kCACAA,EAAA,gCACAA,EAAA,gCACAA,EAAA,gCACAA,EAAA,kCACAA,EAAA,kCACAA,EAAA,kCACAA,EAAA,kCACAA,EAAA,qBACAA,EAAA,8BACAA,EAAA,4BACAA,EAAA,oBACAA,EAAA,+BACAA,EAAA,yCACAA,EAAA,iCACAA,EAAA,wBACAA,EAAA,kBACAA,EAAA,6BACAA,EAAA,2BACAA,EAAA,kBACAA,EAAA,oBACAA,EAAA,8CACAA,EAAA,0CACAA,EAAA,uBACAA,EAAA,eACAA,EAAA,sBACAA,EAAA,0BACAA,EAAA,wBACAA,EAAA,aACAA,EAAA,aACAA,EAAA,gBACD,EAjED,CAAYA,MAAqB,K","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as t,h as a,a as s}from"./p-6ef216c4.js";import{c as n}from"./p-8a1a6e56.js";const c="nv-stack{display:flex;align-items:center;justify-content:flex-start;flex-direction:row}nv-stack nv-col{display:flex}nv-stack:not(nv-row){flex-wrap:nowrap}nv-stack>.nv-stack-item-flex{flex-shrink:1;flex-grow:1}nv-stack>.nv-stack-item-lead{margin-right:auto}nv-stack>.nv-stack-item-lead+*{margin-left:0}nv-stack>.nv-stack-item-center{margin-right:auto;margin-left:auto}nv-stack>.nv-stack-item-tail{margin-left:auto}nv-stack>.nv-stack-nowrap{white-space:nowrap}nv-stack.nv-stack-vertical{align-items:stretch;flex-direction:column}nv-stack.nv-stack-vertical>.nv-stack-item-lead{margin-right:0;margin-bottom:auto}nv-stack.nv-stack-vertical>.nv-stack-item-lead+*{margin-top:0}nv-stack.nv-stack-vertical>.nv-stack-item-tail{margin-left:0;margin-top:auto}nv-stack.nv-stack-vertical>.nv-stack-item-center{margin:auto 0}nv-stack.nv-stack-flex>*{flex-shrink:1;flex-grow:1}nv-stack.nv-stack-fill>*{height:100%}nv-stack.nv-stack-fill.nv-stack-vertical>*{height:auto;width:100%}";const e=c;const i=class{constructor(a){t(this,a);this.gutter=2}render(){return a(s,{key:"900b3afd3b0394433a719769797b4275998be59d",class:n(this.fill&&"nv-stack-fill",this.flex&&"nv-stack-flex",this.full&&"w-full",this.gutter&&!this.vertical&&`gutter-x-${this.gutter}`,this.gutter&&this.vertical&&`gutter-y-${this.gutter}`,this.vertical&&"nv-stack-vertical")},a("slot",{key:"de28519746e3c18f04bdaea3f13258bc3d3d49a9"}))}};i.style=e;export{i as nv_stack};
2
- //# sourceMappingURL=p-df6c9137.entry.js.map
1
+ import{r as t,h as a,a as s}from"./p-9b093b92.js";import{c as n}from"./p-8a1a6e56.js";const c="nv-stack{display:flex;align-items:center;justify-content:flex-start;flex-direction:row}nv-stack nv-col{display:flex}nv-stack:not(nv-row){flex-wrap:nowrap}nv-stack>.nv-stack-item-flex{flex-shrink:1;flex-grow:1}nv-stack>.nv-stack-item-lead{margin-right:auto}nv-stack>.nv-stack-item-lead+*{margin-left:0}nv-stack>.nv-stack-item-center{margin-right:auto;margin-left:auto}nv-stack>.nv-stack-item-tail{margin-left:auto}nv-stack>.nv-stack-nowrap{white-space:nowrap}nv-stack.nv-stack-vertical{align-items:stretch;flex-direction:column}nv-stack.nv-stack-vertical>.nv-stack-item-lead{margin-right:0;margin-bottom:auto}nv-stack.nv-stack-vertical>.nv-stack-item-lead+*{margin-top:0}nv-stack.nv-stack-vertical>.nv-stack-item-tail{margin-left:0;margin-top:auto}nv-stack.nv-stack-vertical>.nv-stack-item-center{margin:auto 0}nv-stack.nv-stack-flex>*{flex-shrink:1;flex-grow:1}nv-stack.nv-stack-fill>*{height:100%}nv-stack.nv-stack-fill.nv-stack-vertical>*{height:auto;width:100%}";const e=c;const i=class{constructor(a){t(this,a);this.gutter=2}render(){return a(s,{key:"adb66e681e65a9ae43a1d6651d5c85299a60d095",class:n(this.fill&&"nv-stack-fill",this.flex&&"nv-stack-flex",this.full&&"w-full",this.gutter&&!this.vertical&&`gutter-x-${this.gutter}`,this.gutter&&this.vertical&&`gutter-y-${this.gutter}`,this.vertical&&"nv-stack-vertical")},a("slot",{key:"882bebcf2fe4c09a8a5bbf689c54d849a99e5941"}))}};i.style=e;export{i as nv_stack};
2
+ //# sourceMappingURL=p-74778f5f.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as c,h as a,a as e}from"./p-9b093b92.js";const r="";const d=r;const s=class{constructor(a){c(this,a)}render(){return a(e,{key:"99a83706b411732ff2d2443794ab61bdc0a95c7e"},a("tr",{key:"d64ab8c5d39236cdbe4950c7d891f3aca9c696dc"},a("slot",{key:"696117c1e59fe60e0d3de5928658ba479cfeb472"})))}};s.style=d;export{s as nv_datagridrow};
2
+ //# sourceMappingURL=p-87b93cc2.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as e,c as o,h as t,a as i,g as r}from"./p-9b093b92.js";import{v as n}from"./p-f5ff676c.js";const d='nv-fielddropdown{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box}nv-fielddropdown[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fielddropdown[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive)}nv-fielddropdown[required]:not([required=false]) label::after{content:"*";color:var(--components-form-text-required);font-weight:700}nv-fielddropdown label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:"TT Norms Pro", sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:500;line-height:var(--form-label-line-height)}nv-fielddropdown nv-popover{width:100%;display:block}nv-fielddropdown nv-popover [data-scope=popover]{padding:var(--list-custom-padding);background-color:var(--components-list-custom-background);border:1px solid var(--components-list-custom-border);width:100%}nv-fielddropdown nv-popover [data-scope=popover] hr{color:var(--components-list-custom-separator)}nv-fielddropdown nv-popover [slot=content]{gap:var(--list-custom-gap-y);display:flex;flex-direction:column}nv-fielddropdown .input-wrapper{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch;width:100%}nv-fielddropdown .input-container{display:flex;flex-grow:1;padding:calc(var(--form-field-padding-y) - 1px) var(--form-field-padding-x);justify-content:center;align-items:center;gap:var(--form-field-gap);align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default);background:var(--nv-field-background);transition:all 150ms ease-out;display:flex;align-items:center;position:relative;width:100%;min-height:40px}nv-fielddropdown .input-container:hover{border-color:var(--nv-field-border-hover)}nv-fielddropdown .input-container:focus-within{border-color:var(--nv-field-border-focus);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fielddropdown .input-container:has(input:read-only){opacity:0.5;background-color:var(--components-form-field-background-readonly);border-color:var(--nv-field-border-readonly)}nv-fielddropdown .input-container:has(input:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fielddropdown .input-container input,nv-fielddropdown .input-container p.non-filterable-text{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);text-overflow:ellipsis;font-size:var(--form-field-font-size);font-style:normal;font-weight:500;line-height:var(--form-field-line-height);width:100%;padding-right:2rem;flex-grow:1;margin:0;min-height:100%;box-sizing:border-box}nv-fielddropdown .input-container input:focus,nv-fielddropdown .input-container p.non-filterable-text:focus{outline:none}nv-fielddropdown .input-container input::placeholder,nv-fielddropdown .input-container p.non-filterable-text::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:"TT Norms Pro", sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:400;line-height:var(--form-field-line-height)}nv-fielddropdown .input-container .toggle-dropdown-icon{position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:2}nv-fielddropdown .input-container nv-icon.validation{color:var(--nv-field-border-default);position:absolute;right:50px}nv-fielddropdown .input-container.focus-within,nv-fielddropdown .input-container:hover{border-color:var(--nv-field-border-focus);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fielddropdown .non-filterable-text{display:block;border-radius:var(--form-field-radius);background-color:var(--nv-field-background);color:var(--components-form-field-content-text);font-size:var(--form-field-font-size);font-weight:500;line-height:var(--form-field-line-height);box-sizing:border-box;cursor:pointer;height:100%;min-height:40px}nv-fielddropdown .non-filterable-text span{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis}nv-fielddropdown .description{align-self:stretch;color:var(--components-form-text-description-default);font-family:"TT Norms Pro", sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fielddropdown .error-description{align-self:stretch;color:var(--components-form-text-description-default);font-family:"TT Norms Pro", sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}nv-fielddropdown hr{border:none;height:1px;background-color:var(--components-list-custom-separator);margin:0}.input-container.focus-within,.input-container:hover{border-color:var(--nv-field-border-focus);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}';const s=d;const l=class{constructor(t){e(this,t);this.dropdownItemSelected=o(this,"dropdownItemSelected",7);this.valueChanged=o(this,"valueChanged",7);this.inputId=n();this.open=false;this.autocomplete="off";this.required=false;this.error=false;this.readonly=false;this.disabled=false;this.emptyresult="No results found";this.filterText="";this.filterable=false;this.isFilterable=this.filterable;this.selectedValues=new Set;this.handleInputContainerClick=e=>{if(this.disabled||this.readonly){return}const o=e.target;if(o.tagName==="P"||o.tagName==="SPAN"){this.open=true;this.popoverElement.show();const e=this.el.querySelector(".input-container");if(e){e.classList.add("focus-within");const o=()=>{e.classList.remove("focus-within")};this.popoverElement.addEventListener("hide",o)}}};this.handleInput=e=>{if(!this.filterable)return;if(this.disabled||this.readonly){return}const o=e.target;this.filterText=o.value.toLowerCase();this.value=o.value;this.valueChanged.emit(o.value);this.filterItems()};this.handleInputFocus=()=>{if(this.disabled||this.readonly){return}this.open=true};this.handleInputBlur=()=>{setTimeout((()=>{if(!this.el.contains(document.activeElement)){this.open=false;this.popoverElement.hide()}}),150)};this.togglePopover=()=>{if(this.disabled||this.readonly){return}this.open=!this.open;if(this.open){this.popoverElement.show();if(!this.filterable){this.focusFirstItem()}}else{this.popoverElement.hide()}}}handleItemSelected(e){if(this.disabled||this.readonly)return;const o=Array.from(this.el.querySelectorAll("nv-fielddropdownitem"));o.forEach((o=>{if(o!==e.target){o.removeAttribute("selected");o.classList.remove("selected")}}));this.value=e.detail.value;e.target.setAttribute("selected","true");e.target.classList.add("selected");this.dropdownItemSelected.emit(e.detail);if(this.popoverElement){this.popoverElement.hide()}}handleOpenChanged(e){this.open=e.detail}watchFilterableHandler(e){this.isFilterable=e;this.filterable=e}watchValueHandler(e){if(e){this.updateSelectedItem(e)}}componentWillLoad(){if(this.value){this.updateSelectedItem(this.value)}}componentDidLoad(){document.addEventListener("click",this.handleClickOutside.bind(this));if(this.value){this.updateSelectedItem(this.value)}}connectedCallback(){document.addEventListener("click",this.handleClickOutside.bind(this));this.resetFilter();this.setInitialSelection();if(this.filterable&&this.filterText){this.filterItems()}}setInitialSelection(){var e;const o=Array.from(this.el.querySelectorAll("nv-fielddropdownitem"));const t=o.find((e=>{var o;return e.getAttribute("label")===this.value||e.getAttribute("value")===this.value||((o=e.textContent)===null||o===void 0?void 0:o.trim())===this.value}));o.forEach((e=>{e.removeAttribute("selected");e.classList.remove("selected")}));if(t){t.setAttribute("selected","true");t.classList.add("selected");this.value=t.getAttribute("label")||t.getAttribute("value")||((e=t.textContent)===null||e===void 0?void 0:e.trim())||"";if(this.inputElement){this.inputElement.value=this.value}}else{console.warn("No matching item found for value:",this.value)}}disconnectedCallback(){document.removeEventListener("click",this.handleClickOutside.bind(this))}filterItems(){var e;const o=Array.from(this.el.querySelectorAll("nv-fielddropdownitem"));const t=this.el.querySelector("nv-fielddropdownitem[data-empty]");if(t){t.remove()}let i=false;o.forEach((e=>{var o,t;const r=((o=e.textContent)===null||o===void 0?void 0:o.toLowerCase())||"";const n=((t=e.value)===null||t===void 0?void 0:t.toLowerCase())||"";const d=n.includes(this.filterText)||r.includes(this.filterText);e.style.display=d?"":"none";if(d){i=true}}));if(!i){const o=document.createElement("nv-fielddropdownitem");o.setAttribute("data-empty","true");o.setAttribute("disabled","true");o.textContent=this.emptyresult;(e=this.el.querySelector('ul[slot="content"]'))===null||e===void 0?void 0:e.appendChild(o)}}resetFilter(){const e=Array.from(this.el.querySelectorAll("nv-fielddropdownitem"));e.forEach((e=>{e.style.display=""}))}async getFilterText(){return this.filterText}handleClickOutside(e){if(this.el.contains(e.target)||this.inputElement&&this.inputElement.contains(e.target)){return}this.popoverElement.hide()}handleKeyDown(e){if(!this.open){if(e.key==="ArrowDown"){this.open=true;this.popoverElement.show();if(!this.filterable){this.focusFirstItem()}e.preventDefault();return}return}if(!this.popoverElement){console.warn("Popover element is not defined");return}const o=Array.from(this.el.querySelectorAll("nv-fielddropdownitem:not([data-empty])"));if(o.length===0){console.warn("No dropdown items found to navigate");return}let t=o.findIndex((e=>e.classList.contains("highlighted")));if(e.key==="ArrowDown"){e.preventDefault();t=(t+1)%o.length;this.updateHighlightedItem(o,t)}else if(e.key==="ArrowUp"){e.preventDefault();t=(t-1+o.length)%o.length;this.updateHighlightedItem(o,t)}else if(e.key==="Enter"&&t>=0){e.preventDefault();o[t].click()}else if(e.key==="Escape"){e.preventDefault();this.open=false;this.popoverElement.hide();if(this.inputElement){this.inputElement.blur()}}}updateHighlightedItem(e,o){e.forEach(((e,t)=>{if(t===o){e.classList.add("highlighted");e.setAttribute("tabindex","0");e.focus();e.scrollIntoView({block:"nearest"})}else{e.classList.remove("highlighted");e.setAttribute("tabindex","-1")}}))}focusFirstItem(){const e=this.el.querySelector("nv-fielddropdownitem");if(e){e.focus();this.updateHighlightedItem(Array.from(this.el.querySelectorAll("nv-fielddropdownitem")),0)}else{console.warn("No first item found to focus")}}updateSelectedItem(e){const o=Array.from(this.el.querySelectorAll("nv-fielddropdownitem"));o.forEach((e=>{e.removeAttribute("selected");e.classList.remove("selected")}));const t=o.find((o=>{var t;const i=o.getAttribute("label");const r=o.getAttribute("value");const n=(t=o.textContent)===null||t===void 0?void 0:t.trim();return i===e||r===e||n===e}));if(t){t.setAttribute("selected","true");t.classList.add("selected");if(this.inputElement){this.inputElement.value=e}this.dropdownItemSelected.emit({value:e,label:t.getAttribute("label")||e,selected:true,disabled:t.hasAttribute("disabled")})}}render(){return t(i,{key:"2ff0476929b58734a50c303ebb6ad308f0c41602"},(this.label||this.el.querySelector('[slot="label"]'))&&t("label",{key:"87756cac62747e76d851813426c4aa560b6a5a4e",htmlFor:this.inputId},t("slot",{key:"ae2d7374b524274e86777639cd1ad5cbc5c57404",name:"label"},this.label)),t("nv-popover",{key:"ed58d72aab9b23f25cd4ec8359ce7148a43fb22e",ref:e=>this.popoverElement=e,triggerMode:"controlled",placement:"bottom-start",open:this.open},t("div",{key:"ae3e65b9274c56f012e9798f549ee62063879688",class:"input-wrapper",slot:"trigger"},t("slot",{key:"1fc77f160aebd9e21c8a79406ec1e829bd3c9265",name:"before-input"}),t("div",{key:"7502dc9df91a3b91bf1bb448e9f3cbee9f356f80",class:"input-container",onClick:this.handleInputContainerClick},t("slot",{key:"50acd86050d4357c8e7af3c8464ad34cb73382ad",name:"leading-input"}),this.isFilterable||this.disabled||this.readonly?t("input",{id:this.inputId,type:"search",ref:e=>this.inputElement=e,autocomplete:this.autocomplete,placeholder:this.placeholder,name:this.name,value:this.value,required:this.required,disabled:this.disabled,readOnly:this.readonly,onInput:this.handleInput,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onKeyDown:this.handleKeyDown}):t("p",{id:this.inputId,class:"non-filterable-text",onClick:this.handleInputContainerClick,tabIndex:0,onKeyDown:this.handleKeyDown,onFocus:this.handleInputFocus},t("span",null,this.value||this.placeholder)),t("nv-iconbutton",{key:"2f8c2773754656835583484e2fa7acc0fabcffb6",class:"toggle-dropdown-icon",name:this.open?"chevron-top":"chevron-down",size:"md",emphasis:"lower","aria-label":this.open?"Hide dropdown":"Show dropdown","aria-pressed":this.open.toString(),onClick:this.togglePopover})),t("slot",{key:"26d4de108aa80b931f03201adc7b2470dc9ed526",name:"after-input"})),t("slot",{key:"b9a39773f100d2579b2a9e568c19fabbbabbcefe",name:"content"})),(this.description||this.el.querySelector('[slot="description"]'))&&t("div",{key:"220b815bc502ff4f18fe40471139efc808f6a31b",class:"description"},t("slot",{key:"6d0bfc07e3c5c5329d38e447f0c3a1974663e15b",name:"description"},this.description)),(this.errorDescription||this.el.querySelector('[slot="error-description"]'))&&t("div",{key:"0cc511a914c00de65ee9f0f2033e292b9123620c",hidden:!this.error,class:"error-description"},t("slot",{key:"f442db41fdde383abc0873bafbaabba8be1387b3",name:"error-description"},this.errorDescription)))}static get formAssociated(){return true}get el(){return r(this)}static get watchers(){return{filterable:["watchFilterableHandler"],value:["watchValueHandler"]}}};l.style=s;export{l as nv_fielddropdown};
2
+ //# sourceMappingURL=p-8f0984b0.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["nvFielddropdownCss","NvFielddropdownStyle0","NVFieldDropDown","constructor","hostRef","this","inputId","uuidv4","open","autocomplete","required","error","readonly","disabled","emptyresult","filterText","filterable","isFilterable","selectedValues","Set","handleInputContainerClick","event","target","tagName","popoverElement","show","inputContainer","el","querySelector","classList","add","removeFocusWithin","remove","addEventListener","handleInput","input","value","toLowerCase","valueChanged","emit","filterItems","handleInputFocus","handleInputBlur","setTimeout","contains","document","activeElement","hide","togglePopover","focusFirstItem","handleItemSelected","items","Array","from","querySelectorAll","forEach","item","removeAttribute","detail","setAttribute","dropdownItemSelected","handleOpenChanged","watchFilterableHandler","newValue","watchValueHandler","updateSelectedItem","componentWillLoad","componentDidLoad","handleClickOutside","bind","connectedCallback","resetFilter","setInitialSelection","selectedItem","find","getAttribute","_a","textContent","trim","inputElement","console","warn","disconnectedCallback","removeEventListener","existingEmptyItem","hasVisibleItems","_b","shouldShow","includes","style","display","emptyItem","createElement","appendChild","getFilterText","handleKeyDown","key","preventDefault","length","currentIndex","findIndex","updateHighlightedItem","click","blur","index","i","focus","scrollIntoView","block","firstItem","matchingItem","itemLabel","itemValue","itemText","label","selected","hasAttribute","render","h","Host","htmlFor","name","ref","triggerMode","placement","class","slot","onClick","id","type","e","placeholder","readOnly","onInput","onFocus","onBlur","onKeyDown","tabIndex","size","emphasis","toString","description","errorDescription","hidden"],"sources":["src/components/nv-fielddropdown/nv-fielddropdown.scss?tag=nv-fielddropdown","src/components/nv-fielddropdown/nv-fielddropdown.tsx"],"sourcesContent":["@import '../../styles/form-field';\n\nnv-fielddropdown {\n @include form-field-variables();\n @include form-field-root();\n\n &[readonly]:not([readonly='false']) {\n @include form-field-readonly-variables();\n }\n\n &[error]:not([error='false']) {\n @include form-field-error-variables();\n }\n\n &[required]:not([required='false']) label {\n @include form-field-label-required();\n }\n\n label {\n @include form-field-label();\n }\n\n nv-popover {\n width: 100%;\n display: block;\n }\n\n nv-popover [data-scope=popover]{\n padding: var(--list-custom-padding);\n background-color: var(--components-list-custom-background);\n border: 1px solid var(--components-list-custom-border);\n width: 100%;\n \n hr{\n color : var(--components-list-custom-separator);\n }\n }\n\n nv-popover [slot=content] {\n gap: var(--list-custom-gap-y);\n display: flex;\n flex-direction: column;\n }\n\n .input-wrapper {\n @include form-field-input-wrapper();\n width: 100%;\n }\n\n .input-container {\n @include form-field-input-container();\n display: flex;\n align-items: center;\n position: relative;\n width: 100%;\n min-height: 40px;\n input,\n p.non-filterable-text {\n @include form-field-input();\n width: 100%;\n padding-right: 2rem;\n flex-grow: 1;\n margin: 0;\n min-height: 100%;\n box-sizing: border-box;\n }\n\n .toggle-dropdown-icon {\n position: absolute;\n right: 0;\n top: 50%;\n transform: translateY(-50%);\n z-index: 2;\n }\n\n nv-icon.validation {\n @include form-field-icon();\n position: absolute;\n right: 50px;\n }\n\n &.focus-within,\n &:hover {\n border-color: var(--nv-field-border-focus);\n box-shadow: 0px 0px 0px var(--focus-field-stroke)\n var(--nv-field-focus-box-shadow);\n }\n }\n\n .non-filterable-text {\n display: block;\n border-radius: var(--form-field-radius);\n background-color: var(--nv-field-background);\n color: var(--components-form-field-content-text);\n font-size: var(--form-field-font-size);\n font-weight: 500;\n line-height: var(--form-field-line-height);\n box-sizing: border-box;\n cursor: pointer;\n height: 100%;\n min-height: 40px;\n\n span {\n display: inline-block;\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n }\n\n .description {\n @include form-field-description();\n }\n\n .error-description {\n @include form-field-error-description();\n }\n\n hr {\n border: none;\n height: 1px;\n background-color: var(--components-list-custom-separator);\n margin: 0;\n }\n}\n\n.input-container.focus-within,\n.input-container:hover {\n border-color: var(--nv-field-border-focus);\n box-shadow: 0px 0px 0px var(--focus-field-stroke)\n var(--nv-field-focus-box-shadow);\n}\n","import {\n Component,\n Host,\n h,\n Element,\n Prop,\n State,\n Listen,\n Event,\n EventEmitter,\n Watch,\n Method,\n} from '@stencil/core';\n\nimport { v4 as uuidv4 } from 'uuid';\nimport { TextInputAutocomplete } from '../../utils/constants';\nimport { DropdownItemSelectedEventDetail } from '../nv-fielddropdownitem/DropdownItemSelectedEventDetail';\n\n/**\n * @slot content - Use a <ul></ul> tag for the slot, and place <nv-dropdownitem> elements inside.\n * @slot leading-input - Content to be placed before the input text, within the input container.\n * @slot before-input - Content to be placed before the input text, outside the input container.\n * @slot after-input - Content to be placed after the input text, outside the input container.\n * @slot label - Content to be placed as the label, will override the label prop.\n * @slot description - Content to be placed as the description, will override the description prop.\n * @slot error-description - Content to be placed as the error description, will override the errorDescription prop.\n */\n\n@Component({\n tag: 'nv-fielddropdown',\n styleUrl: 'nv-fielddropdown.scss',\n shadow: false,\n formAssociated: true,\n})\nexport class NVFieldDropDown {\n @Element() el: HTMLNvFielddropdownElement;\n private inputElement!: HTMLInputElement;\n private popoverElement!: HTMLNvPopoverElement;\n\n /****************************************************************************/\n //#region PROPERTIES\n\n /**\n * Sets the ID for the input element and the for attribute of the associated\n * label. If no ID is provided, a random one will be automatically generated\n * to ensure unique identification, facilitating proper label association and\n * accessibility.\n */\n @Prop({ reflect: true })\n readonly inputId: string = uuidv4();\n\n /**\n * Lets you define the text that explains what users should enter in the text\n * input field. It’s a crucial element for making forms clear and\n * user-friendly.\n */\n @Prop({ reflect: true })\n readonly label: string;\n\n /**\n * Add helpful hints or extra information under the text input field. This is\n * where you can clarify what users should enter or provide additional\n * instructions, making the form easier to fill out correctly.\n */\n @Prop({ reflect: true })\n readonly description: string;\n\n /**\n * Display temporary text inside the input field to give users a hint about\n * what to type. It’s a great way to provide examples or suggestions directly\n * in the field before they start typing.\n * The placeholder is displayed only when the filterable option is enabled.\n */\n @Prop({ reflect: true })\n readonly placeholder: string;\n\n /**\n * Defines the name attribute of the input field, which is crucial for form\n * submission. This value is used as the key in the key-value pair sent to\n * the server, representing the input’s data in form submissions. It should be\n * unique within the form to avoid conflicts.\n */\n @Prop({ reflect: true })\n readonly name: string;\n\n /**\n * State of the dropdown popover.\n */\n @Prop({ reflect: true, mutable: true })\n open: boolean = false;\n\n /**\n * The autocomplete prop helps users fill out the input field faster by\n * suggesting entries they’ve used before, like their email or address.\n * You can turn it on to make forms more convenient or off to ensure users\n * always type in fresh data.\n */\n @Prop({ reflect: true })\n readonly autocomplete: `${TextInputAutocomplete}` = 'off';\n\n /**\n * Specifies the value of the input field, which determines the text displayed\n * within the field. This prop is typically used in controlled components\n * where the input’s value is managed by the component’s state.\n */\n @Prop({ reflect: true, mutable: true })\n value: string;\n\n /**\n * Marks the input field as required, ensuring that the user must fill it out\n * before submitting the form.\n */\n @Prop({ reflect: true })\n readonly required: boolean = false;\n\n /**\n * Alters the input field’s appearance to indicate an error, helping users\n * identify fields that need correction.\n * @validator error\n */\n @Prop({ reflect: true })\n readonly error: boolean = false;\n\n /**\n * A description that appears when there is an error related to the dropdown\n * field.\n * @validator message\n */\n @Prop({ reflect: true })\n readonly errorDescription: string;\n\n /**\n * Display the input field’s content without allowing users to change it.\n * Users can still click on it, select, and copy the text, but they won’t be\n * able to type or delete anything.\n */\n @Prop({ reflect: true })\n readonly readonly: boolean = false;\n\n /**\n * The disabled prop lets you turn off the input field so that users can’t\n * type in it. When disabled, the field is grayed out and won’t respond to\n * clicks or touches.\n */\n @Prop({ reflect: true })\n readonly disabled: boolean = false;\n\n /**\n * The text to display when no items match the filter.\n */\n @Prop({ reflect: true })\n readonly emptyresult: string = 'No results found';\n\n /**\n * The text entered by the user for filtering dropdown items.\n */\n @State()\n filterText: string = '';\n\n /**\n * Enables or disables the filtering feature for the dropdown items.\n */\n @Prop({ reflect: true, mutable: true })\n filterable: boolean = false;\n\n @State()\n isFilterable: boolean = this.filterable;\n\n @State()\n selectedValues: Set<string> = new Set();\n\n //#endregion PROPERTIES\n /****************************************************************************/\n //#region EVENTS\n\n /**\n * Event emitted when an item is selected.\n */\n @Event()\n dropdownItemSelected: EventEmitter<DropdownItemSelectedEventDetail>;\n\n @Listen('itemSelected')\n handleItemSelected(event: CustomEvent<DropdownItemSelectedEventDetail>) {\n if (this.disabled || this.readonly) return;\n\n // Retrieve all nv-fielddropdownitem elements present in the dropdown.\n const items = Array.from(\n this.el.querySelectorAll('nv-fielddropdownitem'),\n ) as HTMLNvFielddropdownitemElement[];\n\n // For each item, remove the 'selected' attribute and the 'selected' class.\n items.forEach(item => {\n if (item !== event.target) {\n item.removeAttribute('selected');\n item.classList.remove('selected');\n }\n });\n\n // Update the value and emit the event with the selected item.\n this.value = event.detail.value;\n (event.target as HTMLNvFielddropdownitemElement).setAttribute(\n 'selected',\n 'true',\n );\n (event.target as HTMLElement).classList.add('selected');\n this.dropdownItemSelected.emit(event.detail);\n\n // Close the popover after selecting.\n if (this.popoverElement) {\n this.popoverElement.hide();\n }\n }\n\n /**\n * Emitted when the input value changes.\n * @bind value\n */\n @Event()\n valueChanged: EventEmitter<string>;\n\n @Listen('openChanged')\n handleOpenChanged(event: CustomEvent<boolean>) {\n this.open = event.detail; // Update `open` based on the popover state\n }\n\n @Watch('filterable')\n watchFilterableHandler(newValue: boolean) {\n this.isFilterable = newValue;\n this.filterable = newValue;\n }\n\n @Watch('value')\n watchValueHandler(newValue: string) {\n if (newValue) {\n this.updateSelectedItem(newValue);\n }\n }\n\n //#endregion EVENTS\n /****************************************************************************/\n //#region METHODS\n\n componentWillLoad() {\n if (this.value) {\n // If an initial value exists, set it as selected\n this.updateSelectedItem(this.value);\n }\n }\n\n componentDidLoad() {\n document.addEventListener('click', this.handleClickOutside.bind(this));\n\n // Check again after complete rendering\n if (this.value) {\n this.updateSelectedItem(this.value);\n }\n }\n\n /**\n * Subscribe to click outside event.\n */\n connectedCallback() {\n document.addEventListener('click', this.handleClickOutside.bind(this));\n\n // First, reset the filter to ensure all elements are visible\n this.resetFilter();\n\n // Then, handle the pre-selection\n this.setInitialSelection();\n\n // Finally, apply the filter if needed\n if (this.filterable && this.filterText) {\n this.filterItems();\n }\n }\n\n /**\n * Set the initial selection based on the current value and update the inputElement value.\n */\n private setInitialSelection() {\n const items = Array.from(\n this.el.querySelectorAll('nv-fielddropdownitem'),\n ) as HTMLNvFielddropdownitemElement[];\n\n const selectedItem = items.find(\n item =>\n item.getAttribute('label') === this.value ||\n item.getAttribute('value') === this.value ||\n item.textContent?.trim() === this.value,\n );\n\n items.forEach(item => {\n item.removeAttribute('selected');\n item.classList.remove('selected');\n });\n\n if (selectedItem) {\n selectedItem.setAttribute('selected', 'true');\n selectedItem.classList.add('selected');\n this.value =\n selectedItem.getAttribute('label') ||\n selectedItem.getAttribute('value') ||\n selectedItem.textContent?.trim() ||\n '';\n if (this.inputElement) {\n this.inputElement.value = this.value;\n }\n } else {\n console.warn('No matching item found for value:', this.value);\n }\n }\n\n /**\n * Unsubscribe from click outside event.\n */\n disconnectedCallback() {\n document.removeEventListener('click', this.handleClickOutside.bind(this));\n }\n\n /**\n * Handle click on the input container.\n * @param {MouseEvent} event - The click event.\n */\n private handleInputContainerClick = (event: MouseEvent) => {\n if (this.disabled || this.readonly) {\n return; // Do nothing if the dropdown is disabled or read-only\n }\n\n const target = event.target as HTMLElement;\n\n // Check if it is the paragraph or another part of the container\n if (target.tagName === 'P' || target.tagName === 'SPAN') {\n this.open = true;\n this.popoverElement.show();\n\n // Simulate focus to trigger \"focus-within\" style\n const inputContainer = this.el.querySelector(\n '.input-container',\n ) as HTMLElement;\n if (inputContainer) {\n inputContainer.classList.add('focus-within');\n\n // Remove the \"focus-within\" class after a delay or when the popover is closed\n const removeFocusWithin = () => {\n inputContainer.classList.remove('focus-within');\n };\n\n // Or remove the class when the popover is closed\n this.popoverElement.addEventListener('hide', removeFocusWithin);\n }\n }\n };\n\n /**\n * Handle input change.\n * @param {Event} event - The input event.\n */\n private handleInput = (event: Event) => {\n if (!this.filterable) return; // Do not filter if `filterable` is false\n if (this.disabled || this.readonly) {\n return; // Do not toggle the state if the dropdown is disabled or read-only\n }\n const input = event.target as HTMLInputElement;\n this.filterText = input.value.toLowerCase();\n this.value = input.value; // Update the value\n this.valueChanged.emit(input.value); // Emit an event if needed\n this.filterItems(); // Update the visibility of items\n };\n\n /**\n * Filter dropdown items based on the text entered by the user.\n * If no items are found, display a message indicating no results.\n */\n private filterItems() {\n const items = Array.from(\n this.el.querySelectorAll('nv-fielddropdownitem'),\n ) as HTMLNvFielddropdownitemElement[];\n\n // Remove the \"no results found\" item if it exists\n const existingEmptyItem = this.el.querySelector(\n 'nv-fielddropdownitem[data-empty]',\n );\n if (existingEmptyItem) {\n existingEmptyItem.remove();\n }\n\n let hasVisibleItems = false;\n\n // Iterate over all items and adjust their visibility\n items.forEach(item => {\n const textContent = item.textContent?.toLowerCase() || ''; // Get the textual content of the slot\n const value = item.value?.toLowerCase() || ''; // Get the value of the `value` attribute\n\n // Check if the filtered text is present either in the value or in the textual content\n const shouldShow =\n value.includes(this.filterText) ||\n textContent.includes(this.filterText);\n\n item.style.display = shouldShow ? '' : 'none'; // Hide or show the item\n\n if (shouldShow) {\n hasVisibleItems = true;\n }\n });\n\n // If no items are visible, add the \"no results found\" item\n if (!hasVisibleItems) {\n const emptyItem = document.createElement('nv-fielddropdownitem');\n emptyItem.setAttribute('data-empty', 'true');\n emptyItem.setAttribute('disabled', 'true');\n emptyItem.textContent = this.emptyresult;\n this.el.querySelector('ul[slot=\"content\"]')?.appendChild(emptyItem);\n }\n }\n\n /**\n * Reset the filter and make all items visible.\n */\n private resetFilter() {\n const items = Array.from(\n this.el.querySelectorAll('nv-fielddropdownitem'),\n ) as HTMLNvFielddropdownitemElement[];\n\n items.forEach(item => {\n item.style.display = '';\n });\n }\n\n /**\n * Retrieves the current filter text entered by the user.\n * @returns {string} The filter text.\n */\n @Method()\n async getFilterText(): Promise<string> {\n return this.filterText;\n }\n\n /**\n * Handle click outside the component.\n * @param {MouseEvent} event - The click event.\n */\n private handleClickOutside(event: MouseEvent) {\n if (\n this.el.contains(event.target as Node) ||\n (this.inputElement && this.inputElement.contains(event.target as Node))\n ) {\n return;\n }\n this.popoverElement.hide();\n }\n\n /**\n * Handle input focus.\n */\n private handleInputFocus = () => {\n if (this.disabled || this.readonly) {\n return; // Do not toggle the state if the dropdown is disabled or read-only\n }\n this.open = true; // Force the popover to open\n };\n\n /**\n * Handle input blur.\n */\n private handleInputBlur = () => {\n // Use a delay to check if the focus is still within the popover\n setTimeout(() => {\n if (!this.el.contains(document.activeElement)) {\n this.open = false;\n this.popoverElement.hide(); // Close the popover if the focus is outside the component\n }\n }, 150);\n };\n\n /**\n * Toggle the dropdown popover.\n * @returns {void}\n */\n private togglePopover = (): void => {\n if (this.disabled || this.readonly) {\n return; // Do not toggle if disabled or read-only\n }\n\n this.open = !this.open;\n if (this.open) {\n this.popoverElement.show();\n\n // Si le dropdown n'est pas filtrable, focus sur le premier élément\n if (!this.filterable) {\n this.focusFirstItem();\n }\n } else {\n this.popoverElement.hide();\n }\n };\n\n @Listen('keydown', { passive: false })\n handleKeyDown(event: KeyboardEvent) {\n if (!this.open) {\n if (event.key === 'ArrowDown') {\n this.open = true;\n this.popoverElement.show();\n\n if (!this.filterable) {\n // Focus sur le premier élément si ce n'est pas filtrable\n this.focusFirstItem();\n }\n\n event.preventDefault();\n return;\n }\n return;\n }\n\n // Vérifiez si le popover est défini avant de chercher les items\n if (!this.popoverElement) {\n console.warn('Popover element is not defined');\n return;\n }\n\n const items = Array.from(\n this.el.querySelectorAll('nv-fielddropdownitem:not([data-empty])'),\n ) as HTMLNvFielddropdownitemElement[];\n\n // Vérifiez si les items existent\n if (items.length === 0) {\n console.warn('No dropdown items found to navigate');\n return;\n }\n\n let currentIndex = items.findIndex(item =>\n item.classList.contains('highlighted'),\n );\n\n if (event.key === 'ArrowDown') {\n event.preventDefault();\n currentIndex = (currentIndex + 1) % items.length;\n this.updateHighlightedItem(items, currentIndex);\n } else if (event.key === 'ArrowUp') {\n event.preventDefault();\n currentIndex = (currentIndex - 1 + items.length) % items.length;\n this.updateHighlightedItem(items, currentIndex);\n } else if (event.key === 'Enter' && currentIndex >= 0) {\n event.preventDefault();\n items[currentIndex].click();\n } else if (event.key === 'Escape') {\n event.preventDefault();\n this.open = false;\n this.popoverElement.hide();\n if (this.inputElement) {\n this.inputElement.blur();\n }\n }\n }\n\n private updateHighlightedItem(\n items: HTMLNvFielddropdownitemElement[],\n index: number,\n ) {\n items.forEach((item, i) => {\n if (i === index) {\n item.classList.add('highlighted');\n item.setAttribute('tabindex', '0');\n item.focus(); // Forcer le focus ici\n item.scrollIntoView({ block: 'nearest' });\n } else {\n item.classList.remove('highlighted');\n item.setAttribute('tabindex', '-1');\n }\n });\n }\n\n private focusFirstItem() {\n const firstItem = this.el.querySelector('nv-fielddropdownitem');\n if (firstItem) {\n (firstItem as HTMLElement).focus();\n this.updateHighlightedItem(\n Array.from(\n this.el.querySelectorAll('nv-fielddropdownitem'),\n ) as HTMLNvFielddropdownitemElement[],\n 0,\n );\n } else {\n console.warn('No first item found to focus');\n }\n }\n\n private updateSelectedItem(value: string) {\n const items = Array.from(\n this.el.querySelectorAll('nv-fielddropdownitem'),\n ) as HTMLNvFielddropdownitemElement[];\n\n // Reset all items\n items.forEach(item => {\n item.removeAttribute('selected');\n item.classList.remove('selected');\n });\n\n // Find the item matching the value\n const matchingItem = items.find(item => {\n const itemLabel = item.getAttribute('label');\n const itemValue = item.getAttribute('value');\n const itemText = item.textContent?.trim();\n\n return itemLabel === value || itemValue === value || itemText === value;\n });\n\n if (matchingItem) {\n // Mark the item as selected\n matchingItem.setAttribute('selected', 'true');\n matchingItem.classList.add('selected');\n\n // Update the input\n if (this.inputElement) {\n this.inputElement.value = value;\n }\n\n // Emit the selection event\n this.dropdownItemSelected.emit({\n value: value,\n label: matchingItem.getAttribute('label') || value,\n selected: true,\n disabled: matchingItem.hasAttribute('disabled'),\n });\n }\n }\n\n //#endregion METHODS\n /****************************************************************************/\n //#region RENDER\n\n render() {\n return (\n <Host>\n {(this.label || this.el.querySelector('[slot=\"label\"]')) && (\n <label htmlFor={this.inputId}>\n <slot name=\"label\">{this.label}</slot>\n </label>\n )}\n\n <nv-popover\n ref={el => (this.popoverElement = el as HTMLNvPopoverElement)}\n triggerMode=\"controlled\"\n placement=\"bottom-start\"\n open={this.open}\n >\n <div class=\"input-wrapper\" slot=\"trigger\">\n <slot name=\"before-input\"></slot>\n\n <div\n class=\"input-container\"\n onClick={this.handleInputContainerClick}\n >\n <slot name=\"leading-input\"></slot>\n\n {this.isFilterable || this.disabled || this.readonly ? (\n <input\n id={this.inputId}\n type=\"search\"\n ref={e => (this.inputElement = e)}\n autocomplete={this.autocomplete}\n placeholder={this.placeholder}\n name={this.name}\n value={this.value}\n required={this.required}\n disabled={this.disabled}\n readOnly={this.readonly}\n onInput={this.handleInput}\n onFocus={this.handleInputFocus}\n onBlur={this.handleInputBlur}\n onKeyDown={this.handleKeyDown} // Gérer les touches fléchées ici\n />\n ) : (\n <p\n id={this.inputId}\n class=\"non-filterable-text\"\n onClick={this.handleInputContainerClick}\n tabIndex={0} // Ajout du tabindex pour permettre de le focus\n onKeyDown={this.handleKeyDown} // Gérer les touches fléchées ici également\n onFocus={this.handleInputFocus}\n >\n <span>{this.value || this.placeholder}</span>\n </p>\n )}\n\n <nv-iconbutton\n class=\"toggle-dropdown-icon\"\n name={this.open ? 'chevron-top' : 'chevron-down'}\n size=\"md\"\n emphasis=\"lower\"\n aria-label={this.open ? 'Hide dropdown' : 'Show dropdown'}\n aria-pressed={this.open.toString()}\n onClick={this.togglePopover}\n />\n </div>\n\n <slot name=\"after-input\"></slot>\n </div>\n\n <slot name=\"content\"></slot>\n </nv-popover>\n\n {(this.description ||\n this.el.querySelector('[slot=\"description\"]')) && (\n <div class=\"description\">\n <slot name=\"description\">{this.description}</slot>\n </div>\n )}\n\n {(this.errorDescription ||\n this.el.querySelector('[slot=\"error-description\"]')) && (\n <div hidden={!this.error} class=\"error-description\">\n <slot name=\"error-description\">{this.errorDescription}</slot>\n </div>\n )}\n </Host>\n );\n }\n //#endregion RENDER\n}\n"],"mappings":"oGAAA,MAAMA,EAAqB,wpMAC3B,MAAAC,EAAeD,E,MCiCFE,EAAe,MAN5B,WAAAC,CAAAC,G,gHAqBWC,KAAAC,QAAkBC,IAwC3BF,KAAAG,KAAgB,MASPH,KAAAI,aAA2C,MAe3CJ,KAAAK,SAAoB,MAQpBL,KAAAM,MAAiB,MAgBjBN,KAAAO,SAAoB,MAQpBP,KAAAQ,SAAoB,MAMpBR,KAAAS,YAAsB,mBAM/BT,KAAAU,WAAqB,GAMrBV,KAAAW,WAAsB,MAGtBX,KAAAY,aAAwBZ,KAAKW,WAG7BX,KAAAa,eAA8B,IAAIC,IA0J1Bd,KAAAe,0BAA6BC,IACnC,GAAIhB,KAAKQ,UAAYR,KAAKO,SAAU,CAClC,M,CAGF,MAAMU,EAASD,EAAMC,OAGrB,GAAIA,EAAOC,UAAY,KAAOD,EAAOC,UAAY,OAAQ,CACvDlB,KAAKG,KAAO,KACZH,KAAKmB,eAAeC,OAGpB,MAAMC,EAAiBrB,KAAKsB,GAAGC,cAC7B,oBAEF,GAAIF,EAAgB,CAClBA,EAAeG,UAAUC,IAAI,gBAG7B,MAAMC,EAAoB,KACxBL,EAAeG,UAAUG,OAAO,eAAe,EAIjD3B,KAAKmB,eAAeS,iBAAiB,OAAQF,E,IAS3C1B,KAAA6B,YAAeb,IACrB,IAAKhB,KAAKW,WAAY,OACtB,GAAIX,KAAKQ,UAAYR,KAAKO,SAAU,CAClC,M,CAEF,MAAMuB,EAAQd,EAAMC,OACpBjB,KAAKU,WAAaoB,EAAMC,MAAMC,cAC9BhC,KAAK+B,MAAQD,EAAMC,MACnB/B,KAAKiC,aAAaC,KAAKJ,EAAMC,OAC7B/B,KAAKmC,aAAa,EAwFZnC,KAAAoC,iBAAmB,KACzB,GAAIpC,KAAKQ,UAAYR,KAAKO,SAAU,CAClC,M,CAEFP,KAAKG,KAAO,IAAI,EAMVH,KAAAqC,gBAAkB,KAExBC,YAAW,KACT,IAAKtC,KAAKsB,GAAGiB,SAASC,SAASC,eAAgB,CAC7CzC,KAAKG,KAAO,MACZH,KAAKmB,eAAeuB,M,IAErB,IAAI,EAOD1C,KAAA2C,cAAgB,KACtB,GAAI3C,KAAKQ,UAAYR,KAAKO,SAAU,CAClC,M,CAGFP,KAAKG,MAAQH,KAAKG,KAClB,GAAIH,KAAKG,KAAM,CACbH,KAAKmB,eAAeC,OAGpB,IAAKpB,KAAKW,WAAY,CACpBX,KAAK4C,gB,MAEF,CACL5C,KAAKmB,eAAeuB,M,GAtTxB,kBAAAG,CAAmB7B,GACjB,GAAIhB,KAAKQ,UAAYR,KAAKO,SAAU,OAGpC,MAAMuC,EAAQC,MAAMC,KAClBhD,KAAKsB,GAAG2B,iBAAiB,yBAI3BH,EAAMI,SAAQC,IACZ,GAAIA,IAASnC,EAAMC,OAAQ,CACzBkC,EAAKC,gBAAgB,YACrBD,EAAK3B,UAAUG,OAAO,W,KAK1B3B,KAAK+B,MAAQf,EAAMqC,OAAOtB,MACzBf,EAAMC,OAA0CqC,aAC/C,WACA,QAEDtC,EAAMC,OAAuBO,UAAUC,IAAI,YAC5CzB,KAAKuD,qBAAqBrB,KAAKlB,EAAMqC,QAGrC,GAAIrD,KAAKmB,eAAgB,CACvBnB,KAAKmB,eAAeuB,M,EAYxB,iBAAAc,CAAkBxC,GAChBhB,KAAKG,KAAOa,EAAMqC,M,CAIpB,sBAAAI,CAAuBC,GACrB1D,KAAKY,aAAe8C,EACpB1D,KAAKW,WAAa+C,C,CAIpB,iBAAAC,CAAkBD,GAChB,GAAIA,EAAU,CACZ1D,KAAK4D,mBAAmBF,E,EAQ5B,iBAAAG,GACE,GAAI7D,KAAK+B,MAAO,CAEd/B,KAAK4D,mBAAmB5D,KAAK+B,M,EAIjC,gBAAA+B,GACEtB,SAASZ,iBAAiB,QAAS5B,KAAK+D,mBAAmBC,KAAKhE,OAGhE,GAAIA,KAAK+B,MAAO,CACd/B,KAAK4D,mBAAmB5D,KAAK+B,M,EAOjC,iBAAAkC,GACEzB,SAASZ,iBAAiB,QAAS5B,KAAK+D,mBAAmBC,KAAKhE,OAGhEA,KAAKkE,cAGLlE,KAAKmE,sBAGL,GAAInE,KAAKW,YAAcX,KAAKU,WAAY,CACtCV,KAAKmC,a,EAOD,mBAAAgC,G,MACN,MAAMrB,EAAQC,MAAMC,KAClBhD,KAAKsB,GAAG2B,iBAAiB,yBAG3B,MAAMmB,EAAetB,EAAMuB,MACzBlB,I,MACE,OAAAA,EAAKmB,aAAa,WAAatE,KAAK+B,OACpCoB,EAAKmB,aAAa,WAAatE,KAAK+B,SACpCwC,EAAApB,EAAKqB,eAAW,MAAAD,SAAA,SAAAA,EAAEE,UAAWzE,KAAK+B,KAAK,IAG3Ce,EAAMI,SAAQC,IACZA,EAAKC,gBAAgB,YACrBD,EAAK3B,UAAUG,OAAO,WAAW,IAGnC,GAAIyC,EAAc,CAChBA,EAAad,aAAa,WAAY,QACtCc,EAAa5C,UAAUC,IAAI,YAC3BzB,KAAK+B,MACHqC,EAAaE,aAAa,UAC1BF,EAAaE,aAAa,YAC1BC,EAAAH,EAAaI,eAAW,MAAAD,SAAA,SAAAA,EAAEE,SAC1B,GACF,GAAIzE,KAAK0E,aAAc,CACrB1E,KAAK0E,aAAa3C,MAAQ/B,KAAK+B,K,MAE5B,CACL4C,QAAQC,KAAK,oCAAqC5E,KAAK+B,M,EAO3D,oBAAA8C,GACErC,SAASsC,oBAAoB,QAAS9E,KAAK+D,mBAAmBC,KAAKhE,M,CAyD7D,WAAAmC,G,MACN,MAAMW,EAAQC,MAAMC,KAClBhD,KAAKsB,GAAG2B,iBAAiB,yBAI3B,MAAM8B,EAAoB/E,KAAKsB,GAAGC,cAChC,oCAEF,GAAIwD,EAAmB,CACrBA,EAAkBpD,Q,CAGpB,IAAIqD,EAAkB,MAGtBlC,EAAMI,SAAQC,I,QACZ,MAAMqB,IAAcD,EAAApB,EAAKqB,eAAW,MAAAD,SAAA,SAAAA,EAAEvC,gBAAiB,GACvD,MAAMD,IAAQkD,EAAA9B,EAAKpB,SAAK,MAAAkD,SAAA,SAAAA,EAAEjD,gBAAiB,GAG3C,MAAMkD,EACJnD,EAAMoD,SAASnF,KAAKU,aACpB8D,EAAYW,SAASnF,KAAKU,YAE5ByC,EAAKiC,MAAMC,QAAUH,EAAa,GAAK,OAEvC,GAAIA,EAAY,CACdF,EAAkB,I,KAKtB,IAAKA,EAAiB,CACpB,MAAMM,EAAY9C,SAAS+C,cAAc,wBACzCD,EAAUhC,aAAa,aAAc,QACrCgC,EAAUhC,aAAa,WAAY,QACnCgC,EAAUd,YAAcxE,KAAKS,aAC7B8D,EAAAvE,KAAKsB,GAAGC,cAAc,yBAAqB,MAAAgD,SAAA,SAAAA,EAAEiB,YAAYF,E,EAOrD,WAAApB,GACN,MAAMpB,EAAQC,MAAMC,KAClBhD,KAAKsB,GAAG2B,iBAAiB,yBAG3BH,EAAMI,SAAQC,IACZA,EAAKiC,MAAMC,QAAU,EAAE,G,CAS3B,mBAAMI,GACJ,OAAOzF,KAAKU,U,CAON,kBAAAqD,CAAmB/C,GACzB,GACEhB,KAAKsB,GAAGiB,SAASvB,EAAMC,SACtBjB,KAAK0E,cAAgB1E,KAAK0E,aAAanC,SAASvB,EAAMC,QACvD,CACA,M,CAEFjB,KAAKmB,eAAeuB,M,CAiDtB,aAAAgD,CAAc1E,GACZ,IAAKhB,KAAKG,KAAM,CACd,GAAIa,EAAM2E,MAAQ,YAAa,CAC7B3F,KAAKG,KAAO,KACZH,KAAKmB,eAAeC,OAEpB,IAAKpB,KAAKW,WAAY,CAEpBX,KAAK4C,gB,CAGP5B,EAAM4E,iBACN,M,CAEF,M,CAIF,IAAK5F,KAAKmB,eAAgB,CACxBwD,QAAQC,KAAK,kCACb,M,CAGF,MAAM9B,EAAQC,MAAMC,KAClBhD,KAAKsB,GAAG2B,iBAAiB,2CAI3B,GAAIH,EAAM+C,SAAW,EAAG,CACtBlB,QAAQC,KAAK,uCACb,M,CAGF,IAAIkB,EAAehD,EAAMiD,WAAU5C,GACjCA,EAAK3B,UAAUe,SAAS,iBAG1B,GAAIvB,EAAM2E,MAAQ,YAAa,CAC7B3E,EAAM4E,iBACNE,GAAgBA,EAAe,GAAKhD,EAAM+C,OAC1C7F,KAAKgG,sBAAsBlD,EAAOgD,E,MAC7B,GAAI9E,EAAM2E,MAAQ,UAAW,CAClC3E,EAAM4E,iBACNE,GAAgBA,EAAe,EAAIhD,EAAM+C,QAAU/C,EAAM+C,OACzD7F,KAAKgG,sBAAsBlD,EAAOgD,E,MAC7B,GAAI9E,EAAM2E,MAAQ,SAAWG,GAAgB,EAAG,CACrD9E,EAAM4E,iBACN9C,EAAMgD,GAAcG,O,MACf,GAAIjF,EAAM2E,MAAQ,SAAU,CACjC3E,EAAM4E,iBACN5F,KAAKG,KAAO,MACZH,KAAKmB,eAAeuB,OACpB,GAAI1C,KAAK0E,aAAc,CACrB1E,KAAK0E,aAAawB,M,GAKhB,qBAAAF,CACNlD,EACAqD,GAEArD,EAAMI,SAAQ,CAACC,EAAMiD,KACnB,GAAIA,IAAMD,EAAO,CACfhD,EAAK3B,UAAUC,IAAI,eACnB0B,EAAKG,aAAa,WAAY,KAC9BH,EAAKkD,QACLlD,EAAKmD,eAAe,CAAEC,MAAO,W,KACxB,CACLpD,EAAK3B,UAAUG,OAAO,eACtBwB,EAAKG,aAAa,WAAY,K,KAK5B,cAAAV,GACN,MAAM4D,EAAYxG,KAAKsB,GAAGC,cAAc,wBACxC,GAAIiF,EAAW,CACZA,EAA0BH,QAC3BrG,KAAKgG,sBACHjD,MAAMC,KACJhD,KAAKsB,GAAG2B,iBAAiB,yBAE3B,E,KAEG,CACL0B,QAAQC,KAAK,+B,EAIT,kBAAAhB,CAAmB7B,GACzB,MAAMe,EAAQC,MAAMC,KAClBhD,KAAKsB,GAAG2B,iBAAiB,yBAI3BH,EAAMI,SAAQC,IACZA,EAAKC,gBAAgB,YACrBD,EAAK3B,UAAUG,OAAO,WAAW,IAInC,MAAM8E,EAAe3D,EAAMuB,MAAKlB,I,MAC9B,MAAMuD,EAAYvD,EAAKmB,aAAa,SACpC,MAAMqC,EAAYxD,EAAKmB,aAAa,SACpC,MAAMsC,GAAWrC,EAAApB,EAAKqB,eAAW,MAAAD,SAAA,SAAAA,EAAEE,OAEnC,OAAOiC,IAAc3E,GAAS4E,IAAc5E,GAAS6E,IAAa7E,CAAK,IAGzE,GAAI0E,EAAc,CAEhBA,EAAanD,aAAa,WAAY,QACtCmD,EAAajF,UAAUC,IAAI,YAG3B,GAAIzB,KAAK0E,aAAc,CACrB1E,KAAK0E,aAAa3C,MAAQA,C,CAI5B/B,KAAKuD,qBAAqBrB,KAAK,CAC7BH,MAAOA,EACP8E,MAAOJ,EAAanC,aAAa,UAAYvC,EAC7C+E,SAAU,KACVtG,SAAUiG,EAAaM,aAAa,a,EAS1C,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAvB,IAAA,6CACD3F,KAAK6G,OAAS7G,KAAKsB,GAAGC,cAAc,oBACpC0F,EAAA,SAAAtB,IAAA,2CAAOwB,QAASnH,KAAKC,SACnBgH,EAAA,QAAAtB,IAAA,2CAAMyB,KAAK,SAASpH,KAAK6G,QAI7BI,EAAA,cAAAtB,IAAA,2CACE0B,IAAK/F,GAAOtB,KAAKmB,eAAiBG,EAClCgG,YAAY,aACZC,UAAU,eACVpH,KAAMH,KAAKG,MAEX8G,EAAA,OAAAtB,IAAA,2CAAK6B,MAAM,gBAAgBC,KAAK,WAC9BR,EAAA,QAAAtB,IAAA,2CAAMyB,KAAK,iBAEXH,EAAA,OAAAtB,IAAA,2CACE6B,MAAM,kBACNE,QAAS1H,KAAKe,2BAEdkG,EAAA,QAAAtB,IAAA,2CAAMyB,KAAK,kBAEVpH,KAAKY,cAAgBZ,KAAKQ,UAAYR,KAAKO,SAC1C0G,EAAA,SACEU,GAAI3H,KAAKC,QACT2H,KAAK,SACLP,IAAKQ,GAAM7H,KAAK0E,aAAemD,EAC/BzH,aAAcJ,KAAKI,aACnB0H,YAAa9H,KAAK8H,YAClBV,KAAMpH,KAAKoH,KACXrF,MAAO/B,KAAK+B,MACZ1B,SAAUL,KAAKK,SACfG,SAAUR,KAAKQ,SACfuH,SAAU/H,KAAKO,SACfyH,QAAShI,KAAK6B,YACdoG,QAASjI,KAAKoC,iBACd8F,OAAQlI,KAAKqC,gBACb8F,UAAWnI,KAAK0F,gBAGlBuB,EAAA,KACEU,GAAI3H,KAAKC,QACTuH,MAAM,sBACNE,QAAS1H,KAAKe,0BACdqH,SAAU,EACVD,UAAWnI,KAAK0F,cAChBuC,QAASjI,KAAKoC,kBAEd6E,EAAA,YAAOjH,KAAK+B,OAAS/B,KAAK8H,cAI9Bb,EAAA,iBAAAtB,IAAA,2CACE6B,MAAM,uBACNJ,KAAMpH,KAAKG,KAAO,cAAgB,eAClCkI,KAAK,KACLC,SAAS,QAAO,aACJtI,KAAKG,KAAO,gBAAkB,gBAAe,eAC3CH,KAAKG,KAAKoI,WACxBb,QAAS1H,KAAK2C,iBAIlBsE,EAAA,QAAAtB,IAAA,2CAAMyB,KAAK,iBAGbH,EAAA,QAAAtB,IAAA,2CAAMyB,KAAK,cAGXpH,KAAKwI,aACLxI,KAAKsB,GAAGC,cAAc,0BACtB0F,EAAA,OAAAtB,IAAA,2CAAK6B,MAAM,eACTP,EAAA,QAAAtB,IAAA,2CAAMyB,KAAK,eAAepH,KAAKwI,eAIjCxI,KAAKyI,kBACLzI,KAAKsB,GAAGC,cAAc,gCACtB0F,EAAA,OAAAtB,IAAA,2CAAK+C,QAAS1I,KAAKM,MAAOkH,MAAM,qBAC9BP,EAAA,QAAAtB,IAAA,2CAAMyB,KAAK,qBAAqBpH,KAAKyI,mB","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as a,h as c,a as e}from"./p-9b093b92.js";const b="";const r=b;const s=class{constructor(c){a(this,c)}render(){return c(e,{key:"4c4a058b45a05fcff3ed541f7ffcb80aaaec6c3d"},c("tr",{key:"c37eb2098562ba01e8376b5ab6614f64988fe454"},c("slot",{key:"4b202392edb7345547c423697a2211457b591c00"})))}};s.style=r;export{s as nv_tablerow};
2
+ //# sourceMappingURL=p-907c3eda.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as e,h as s,a as t}from"./p-9b093b92.js";const a="";const c=a;const d=class{constructor(s){e(this,s);this.colspan=1;this.rowspan=1}render(){return s(t,{key:"7ac83ec253d7dc4646a647b90f2930ea18d20c9b"},s("td",{key:"dedbdb25b21e28cfde242966dc950e1ddf1497ca",colSpan:this.colspan,rowSpan:this.rowspan,headers:this.headers},s("slot",{key:"f899ee0423444463fb943c4fd9096bc91ba16ea3"})))}};d.style=c;export{d as nv_tabledatacell};
2
+ //# sourceMappingURL=p-91d4b4d7.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as c,h as l,a}from"./p-6ef216c4.js";import{c as t}from"./p-8a1a6e56.js";const i="nv-col{display:block;flex:1 1 0%;padding-left:calc(var(--spacing-4) / 2);padding-right:calc(var(--spacing-4) / 2)}nv-col[class*=w-]{flex:none}nv-col.w-1\\/12{width:calc(100% * 1 / 12)}nv-col.w-2\\/12{width:calc(100% * 2 / 12)}nv-col.w-3\\/12{width:calc(100% * 3 / 12)}nv-col.w-4\\/12{width:calc(100% * 4 / 12)}nv-col.w-5\\/12{width:calc(100% * 5 / 12)}nv-col.w-6\\/12{width:calc(100% * 6 / 12)}nv-col.w-7\\/12{width:calc(100% * 7 / 12)}nv-col.w-8\\/12{width:calc(100% * 8 / 12)}nv-col.w-9\\/12{width:calc(100% * 9 / 12)}nv-col.w-10\\/12{width:calc(100% * 10 / 12)}nv-col.w-11\\/12{width:calc(100% * 11 / 12)}nv-col.w-12\\/12{width:calc(100% * 12 / 12)}";const n=i;const o=class{constructor(l){c(this,l)}getColSize(){if(this.size){if(this.size<1||this.size>12)return;return`w-${this.size}/12`}}render(){return l(a,{key:"e0caccedd19c02c1854eb48f89302405e2cb0f46",class:t(this.getColSize())},l("slot",{key:"a8d672a55a70d6ee551e9ac9e7366455f76aa1e5"}))}};o.style=n;export{o as nv_col};
2
- //# sourceMappingURL=p-9f89229b.entry.js.map
1
+ import{r as c,h as l,a}from"./p-9b093b92.js";import{c as t}from"./p-8a1a6e56.js";const i="nv-col{display:block;flex:1 1 0%;padding-left:calc(var(--spacing-4) / 2);padding-right:calc(var(--spacing-4) / 2)}nv-col[class*=w-]{flex:none}nv-col.w-1\\/12{width:calc(100% * 1 / 12)}nv-col.w-2\\/12{width:calc(100% * 2 / 12)}nv-col.w-3\\/12{width:calc(100% * 3 / 12)}nv-col.w-4\\/12{width:calc(100% * 4 / 12)}nv-col.w-5\\/12{width:calc(100% * 5 / 12)}nv-col.w-6\\/12{width:calc(100% * 6 / 12)}nv-col.w-7\\/12{width:calc(100% * 7 / 12)}nv-col.w-8\\/12{width:calc(100% * 8 / 12)}nv-col.w-9\\/12{width:calc(100% * 9 / 12)}nv-col.w-10\\/12{width:calc(100% * 10 / 12)}nv-col.w-11\\/12{width:calc(100% * 11 / 12)}nv-col.w-12\\/12{width:calc(100% * 12 / 12)}";const n=i;const o=class{constructor(l){c(this,l)}getColSize(){if(this.size){if(this.size<1||this.size>12)return;return`w-${this.size}/12`}}render(){return l(a,{key:"b3ef4b6e10022cdb97e2ea6238ba99b5a84c5c82",class:t(this.getColSize())},l("slot",{key:"a77821b6384d2abc78233bfa966795b99db785ff"}))}};o.style=n;export{o as nv_col};
2
+ //# sourceMappingURL=p-9341cf9d.entry.js.map
@@ -1,3 +1,3 @@
1
- const e="native";const t={allRenderFn:true,appendChildSlotFix:true,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:true,cmpDidLoad:true,cmpDidRender:false,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:true,experimentalSlotFixes:true,formAssociated:true,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,modernPropertyDecls:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:true,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:false,slot:true,slotChildNodesFix:true,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:false,watchCallback:true};var n=Object.defineProperty;var l=(e,t)=>{for(var l in t)n(e,l,{get:t[l],enumerable:true})};var r={};var i="http://www.w3.org/2000/svg";var s="http://www.w3.org/1999/xhtml";var o=new WeakMap;var f=e=>o.get(e);var a=(e,t)=>{o.set(t.t=e,t)};var c=(e,t)=>{const n={l:0,$hostElement$:e,i:t,o:new Map};{n.u=new Promise((e=>n.v=e))}{n.h=new Promise((e=>n.p=e));e["s-p"]=[];e["s-rc"]=[]}const l=o.set(e,n);return l};var u=(e,t)=>t in e;var v=(e,t)=>(0,console.error)(e,t);var d=new Map;var h=(e,t,n)=>{const l=e.m.replace(/-/g,"_");const r=e.$;if(!r){return void 0}const i=d.get(r);if(i){return i[l]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${r}.entry.js${""}`).then((e=>{{d.set(r,e)}return e[l]}),v)};var p=new Map;var m="r";var $="o";var b="s";var y="t";var g="c";var w="s-id";var S="sty-id";var O="c-id";var j="{visibility:hidden}.hydrated{visibility:inherit}";var C="slot-fb{display:contents}slot-fb[hidden]{display:none}";var k=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var x=typeof window!=="undefined"?window:{};var E=x.document||{head:{}};var T=x.HTMLElement||class{};var L={l:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)};var R=t.shadowDom;var D=(()=>{let e=false;try{E.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=true}}))}catch(e){}return e})();var A=e=>Promise.resolve(e);var F=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var M=false;var N=[];var P=[];var I=(e,t)=>n=>{e.push(n);if(!M){M=true;if(t&&L.l&4){B(W)}else{L.raf(W)}}};var U=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){v(e)}}e.length=0};var W=()=>{U(N);{U(P);if(M=N.length>0){L.raf(W)}}};var B=e=>A().then(e);var H=I(P,true);var _=e=>{e=typeof e;return e==="object"||e==="function"};function z(e){var t,n,l;return(l=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?l:void 0}var Q={};l(Q,{err:()=>q,map:()=>G,ok:()=>V,unwrap:()=>K,unwrapErr:()=>X});var V=e=>({isOk:true,isErr:false,value:e});var q=e=>({isOk:false,isErr:true,value:e});function G(e,t){if(e.isOk){const n=t(e.value);if(n instanceof Promise){return n.then((e=>V(e)))}else{return V(n)}}if(e.isErr){const t=e.value;return q(t)}throw"should never get here"}var K=e=>{if(e.isOk){return e.value}else{throw e.value}};var X=e=>{if(e.isErr){return e.value}else{throw e.value}};var J=e=>{const t=e.__childNodes||e.childNodes;if(e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"){Y(t,e.tagName).forEach((e=>{var t;if(e.nodeType===1&&e.tagName==="SLOT-FB"){if((t=Z(e,e["s-sn"],false))==null?void 0:t.length){e.hidden=true}else{e.hidden=false}}}))}for(const e of t){if(e.nodeType===1&&(e.__childNodes||e.childNodes).length){J(e)}}};var Y=(e,t,n)=>{let l=0;let r=[];let i;for(;l<e.length;l++){i=e[l];if(i["s-sr"]&&i["s-hn"]===t&&(!n||i["s-sn"]===n)){r.push(i);if(typeof n!=="undefined")return r}r=[...r,...Y(i.childNodes,t,n)]}return r};var Z=(e,t,n=true)=>{const l=[];if(n&&e["s-sr"]||!e["s-sr"])l.push(e);while((e=e.nextSibling)&&e["s-sn"]===t){l.push(e)}return l};var ee=(e,t)=>{if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var te=(e,t,n,l)=>{let r;if(e["s-ol"]&&e["s-ol"].isConnected){r=e["s-ol"]}else{r=document.createTextNode("");r["s-nr"]=e}if(!t["s-cr"]||!t["s-cr"].parentNode)return;const i=t["s-cr"].parentNode;const s=n?i.__prepend||i.prepend:i.__appendChild||i.appendChild;if(typeof l!=="undefined"){{r["s-oo"]=l;const e=i.__childNodes||i.childNodes;const t=[r];e.forEach((e=>{if(e["s-nr"])t.push(e)}));t.sort(((e,t)=>{if(!e["s-oo"]||e["s-oo"]<t["s-oo"])return-1;else if(!t["s-oo"]||t["s-oo"]<e["s-oo"])return 1;return 0}));t.forEach((e=>s.call(i,e)))}}else{s.call(i,r)}e["s-ol"]=r;e["s-sh"]=t["s-hn"]};var ne=(e,t,...n)=>{let l=null;let r=null;let i=null;let s=false;let o=false;const f=[];const a=t=>{for(let n=0;n<t.length;n++){l=t[n];if(Array.isArray(l)){a(l)}else if(l!=null&&typeof l!=="boolean"){if(s=typeof e!=="function"&&!_(l)){l=String(l)}if(s&&o){f[f.length-1].O+=l}else{f.push(s?le(null,l):l)}o=s}}};a(n);if(t){if(t.key){r=t.key}if(t.name){i=t.name}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}const c=le(e,null);c.j=t;if(f.length>0){c.C=f}{c.k=r}{c.T=i}return c};var le=(e,t)=>{const n={l:0,L:e,O:t,R:null,C:null};{n.j=null}{n.k=null}{n.T=null}return n};var re={};var ie=e=>e&&e.L===re;var se=(e,t,n,l,r,i)=>{if(n!==l){let s=u(e,t);let o=t.toLowerCase();if(t==="class"){const t=e.classList;const r=fe(n);let i=fe(l);if(e["s-si"]){i.push(e["s-si"]);r.forEach((t=>{if(t.startsWith(e["s-si"]))i.push(t)}));i=[...new Set(i)];t.add(...i);delete e["s-si"]}else{t.remove(...r.filter((e=>e&&!i.includes(e))));t.add(...i.filter((e=>e&&!r.includes(e))))}}else if(t==="style"){{for(const t in n){if(!l||l[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in l){if(!n||l[t]!==n[t]){if(t.includes("-")){e.style.setProperty(t,l[t])}else{e.style[t]=l[t]}}}}else if(t==="key");else if(t==="ref"){if(l){l(e)}}else if(!s&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(u(x,o)){t=o.slice(2)}else{t=o[2]+t.slice(3)}if(n||l){const r=t.endsWith(ae);t=t.replace(ce,"");if(n){L.rel(e,t,n,r)}if(l){L.ael(e,t,l,r)}}}else{const o=_(l);if((s||o&&l!==null)&&!r){try{if(!e.tagName.includes("-")){const r=l==null?"":l;if(t==="list"){s=false}else if(n==null||e[t]!=r){if(typeof e.__lookupSetter__(t)==="function"){e[t]=r}else{e.setAttribute(t,r)}}}else{e[t]=l}}catch(e){}}if(l==null||l===false){if(l!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!s||i&4||r)&&!o){l=l===true?"":l;{e.setAttribute(t,l)}}}}};var oe=/\s/;var fe=e=>{if(typeof e==="object"&&"baseVal"in e){e=e.baseVal}if(!e){return[]}return e.split(oe)};var ae="Capture";var ce=new RegExp(ae+"$");var ue=(e,t,n)=>{const l=t.R.nodeType===11&&t.R.host?t.R.host:t.R;const i=e&&e.j||r;const s=t.j||r;{for(const e of ve(Object.keys(i))){if(!(e in s)){se(l,e,i[e],void 0,n,t.l)}}}for(const e of ve(Object.keys(s))){se(l,e,i[e],s[e],n,t.l)}};function ve(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var de;var he;var pe=false;var me=false;var $e=false;var be=false;var ye=(e,n,l)=>{var r;const o=n.C[l];let f=0;let a;let c;let u;if(!pe){$e=true;if(o.L==="slot"){o.l|=o.C?2:1}}if(o.O!==null){a=o.R=E.createTextNode(o.O)}else if(o.l&1){a=o.R=E.createTextNode("")}else{if(!be){be=o.L==="svg"}a=o.R=E.createElementNS(be?i:s,!pe&&t.slotRelocation&&o.l&2?"slot-fb":o.L);if(be&&o.L==="foreignObject"){be=false}{ue(null,o,be)}if(o.C){for(f=0;f<o.C.length;++f){c=ye(e,o,f);if(c){a.appendChild(c)}}}{if(o.L==="svg"){be=false}else if(a.tagName==="foreignObject"){be=true}}}a["s-hn"]=he;{if(o.l&(2|1)){a["s-sr"]=true;a["s-cr"]=de;a["s-sn"]=o.T||"";a["s-rf"]=(r=o.j)==null?void 0:r.ref;u=e&&e.C&&e.C[l];if(u&&u.L===o.L&&e.R){{ge(e.R)}}}}return a};var ge=e=>{L.l|=1;const t=e.closest(he.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((e=>e["s-cr"]));const l=Array.from(e.__childNodes||e.childNodes);for(const e of n?l.reverse():l){if(e["s-sh"]!=null){Re(t,e,n!=null?n:null);e["s-sh"]=void 0;$e=true}}}L.l&=~1};var we=(e,n)=>{L.l|=1;const l=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;while(t=t.nextSibling){if(t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===he){l.push(t)}}}for(let e=l.length-1;e>=0;e--){const t=l[e];if(t["s-hn"]!==he&&t["s-ol"]){Re(ke(t).parentNode,t,ke(t));t["s-ol"].remove();t["s-ol"]=void 0;t["s-sh"]=void 0;$e=true}if(n){we(t,n)}}L.l&=~1};var Se=(e,t,n,l,r,i)=>{let s=e["s-cr"]&&e["s-cr"].parentNode||e;let o;for(;r<=i;++r){if(l[r]){o=ye(null,n,r);if(o){l[r].R=o;Re(s,o,ke(t))}}}};var Oe=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.R;Le(t);if(e){{me=true;if(e["s-ol"]){e["s-ol"].remove()}else{we(e,true)}}e.remove()}}}};var je=(e,t,n,l,r=false)=>{let i=0;let s=0;let o=0;let f=0;let a=t.length-1;let c=t[0];let u=t[a];let v=l.length-1;let d=l[0];let h=l[v];let p;let m;while(i<=a&&s<=v){if(c==null){c=t[++i]}else if(u==null){u=t[--a]}else if(d==null){d=l[++s]}else if(h==null){h=l[--v]}else if(Ce(c,d,r)){xe(c,d,r);c=t[++i];d=l[++s]}else if(Ce(u,h,r)){xe(u,h,r);u=t[--a];h=l[--v]}else if(Ce(c,h,r)){if(c.L==="slot"||h.L==="slot"){we(c.R.parentNode,false)}xe(c,h,r);Re(e,c.R,u.R.nextSibling);c=t[++i];h=l[--v]}else if(Ce(u,d,r)){if(c.L==="slot"||h.L==="slot"){we(u.R.parentNode,false)}xe(u,d,r);Re(e,u.R,c.R);u=t[--a];d=l[++s]}else{o=-1;{for(f=i;f<=a;++f){if(t[f]&&t[f].k!==null&&t[f].k===d.k){o=f;break}}}if(o>=0){m=t[o];if(m.L!==d.L){p=ye(t&&t[s],n,o)}else{xe(m,d,r);t[o]=void 0;p=m.R}d=l[++s]}else{p=ye(t&&t[s],n,s);d=l[++s]}if(p){{Re(ke(c.R).parentNode,p,ke(c.R))}}}}if(i>a){Se(e,l[v+1]==null?null:l[v+1].R,n,l,s,v)}else if(s>v){Oe(t,i,a)}};var Ce=(e,t,n=false)=>{if(e.L===t.L){if(e.L==="slot"){return e.T===t.T}if(!n){return e.k===t.k}if(n&&!e.k&&t.k){e.k=t.k}return true}return false};var ke=e=>e&&e["s-ol"]||e;var xe=(e,n,l=false)=>{const r=n.R=e.R;const i=e.C;const s=n.C;const o=n.L;const f=n.O;let a;if(f===null){{be=o==="svg"?true:o==="foreignObject"?false:be}{if(o==="slot"&&!pe){if(e.T!==n.T){n.R["s-sn"]=n.T||"";ge(n.R.parentElement)}}else{ue(e,n,be)}}if(i!==null&&s!==null){je(r,i,n,s,l)}else if(s!==null){if(e.O!==null){r.textContent=""}Se(r,null,n,s,0,s.length-1)}else if(!l&&t.updatable&&i!==null){Oe(i,0,i.length-1)}if(be&&o==="svg"){be=false}}else if(a=r["s-cr"]){a.parentNode.textContent=f}else if(e.O!==f){r.data=f}};var Ee=[];var Te=e=>{let t;let n;let l;const r=e.__childNodes||e.childNodes;for(const e of r){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const r=e["s-sn"];for(l=n.length-1;l>=0;l--){t=n[l];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==e["s-hn"]&&(!t["s-sh"]||t["s-sh"]!==e["s-hn"])){if(ee(t,r)){let n=Ee.find((e=>e.D===t));me=true;t["s-sn"]=t["s-sn"]||r;if(n){n.D["s-sh"]=e["s-hn"];n.A=e}else{t["s-sh"]=e["s-hn"];Ee.push({A:e,D:t})}if(t["s-sr"]){Ee.map((e=>{if(ee(e.D,t["s-sn"])){n=Ee.find((e=>e.D===t));if(n&&!e.A){e.A=n.A}}}))}}else if(!Ee.some((e=>e.D===t))){Ee.push({D:t})}}}}if(e.nodeType===1){Te(e)}}};var Le=e=>{{e.j&&e.j.ref&&e.j.ref(null);e.C&&e.C.map(Le)}};var Re=(e,t,n)=>{const l=e==null?void 0:e.insertBefore(t,n);return l};var De=(e,t,n=false)=>{var l,r,i,s,o;const f=e.$hostElement$;const a=e.i;const c=e.F||le(null,null);const u=ie(t)?t:ne(null,null,t);he=f.tagName;if(a.M){u.j=u.j||{};a.M.map((([e,t])=>u.j[t]=f[e]))}if(n&&u.j){for(const e of Object.keys(u.j)){if(f.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){u.j[e]=f[e]}}}u.L=null;u.l|=4;e.F=u;u.R=c.R=f;pe=R;{de=f["s-cr"];me=false}xe(c,u,n);{L.l|=1;if($e){Te(u.R);for(const e of Ee){const t=e.D;if(!t["s-ol"]){const e=E.createTextNode("");e["s-nr"]=t;Re(t.parentNode,t["s-ol"]=e,t)}}for(const e of Ee){const t=e.D;const o=e.A;if(o){const e=o.parentNode;let n=o.nextSibling;if(n&&n.nodeType===1){let i=(l=t["s-ol"])==null?void 0:l.previousSibling;while(i){let l=(r=i["s-nr"])!=null?r:null;if(l&&l["s-sn"]===t["s-sn"]&&e===l.parentNode){l=l.nextSibling;while(l===t||(l==null?void 0:l["s-sr"])){l=l==null?void 0:l.nextSibling}if(!l||!l["s-nr"]){n=l;break}}i=i.previousSibling}}if(!n&&e!==t.parentNode||t.nextSibling!==n){if(t!==n){Re(e,t,n);if(t.nodeType===1&&t.tagName!=="SLOT-FB"){t.hidden=(i=t["s-ih"])!=null?i:false}}}t&&typeof o["s-rf"]==="function"&&o["s-rf"](t)}else{if(t.nodeType===1){if(n){t["s-ih"]=(s=t.hidden)!=null?s:false}t.hidden=true}}}}if(me){J(u.R)}L.l&=~1;Ee.length=0}if(a.l&2){const e=u.R.__childNodes||u.R.childNodes;for(const t of e){if(t["s-hn"]!==he&&!t["s-sh"]){if(n&&t["s-ih"]==null){t["s-ih"]=(o=t.hidden)!=null?o:false}t.hidden=true}}}de=void 0};var Ae=e=>{if(!e||e.__nextSibling||!globalThis.Node)return;Fe(e);Ne(e);if(e.nodeType===Node.ELEMENT_NODE){Me(e);Pe(e)}};var Fe=e=>{if(!e||e.__nextSibling)return;We("nextSibling",e);Object.defineProperty(e,"nextSibling",{get:function(){var e;const t=(e=this["s-ol"])==null?void 0:e.parentNode.childNodes;const n=t==null?void 0:t.indexOf(this);if(t&&n>-1){return t[n+1]}return this.__nextSibling}})};var Me=e=>{if(!e||e.__nextElementSibling)return;We("nextElementSibling",e);Object.defineProperty(e,"nextElementSibling",{get:function(){var e;const t=(e=this["s-ol"])==null?void 0:e.parentNode.children;const n=t==null?void 0:t.indexOf(this);if(t&&n>-1){return t[n+1]}return this.__nextElementSibling}})};var Ne=e=>{if(!e||e.__previousSibling)return;We("previousSibling",e);Object.defineProperty(e,"previousSibling",{get:function(){var e;const t=(e=this["s-ol"])==null?void 0:e.parentNode.childNodes;const n=t==null?void 0:t.indexOf(this);if(t&&n>-1){return t[n-1]}return this.__previousSibling}})};var Pe=e=>{if(!e||e.__previousElementSibling)return;We("previousElementSibling",e);Object.defineProperty(e,"previousElementSibling",{get:function(){var e;const t=(e=this["s-ol"])==null?void 0:e.parentNode.children;const n=t==null?void 0:t.indexOf(this);if(t&&n>-1){return t[n-1]}return this.__previousElementSibling}})};var Ie=["children","nextElementSibling","previousElementSibling"];var Ue=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent"];function We(e,t){let n;if(Ie.includes(e)){n=Object.getOwnPropertyDescriptor(Element.prototype,e)}else if(Ue.includes(e)){n=Object.getOwnPropertyDescriptor(Node.prototype,e)}if(!n){n=Object.getOwnPropertyDescriptor(t,e)}if(n)Object.defineProperty(t,"__"+e,n)}var Be=(e,t="")=>{{return()=>{}}};var He=(e,t)=>{{return()=>{}}};var _e=(e,t,n,l)=>{const r=Be("hydrateClient",t);const i=e.shadowRoot;const s=[];const o=[];const f=[];const a=null;const c=le(t,null);c.R=e;if(!L.N){Qe(E.body,L.N=new Map)}e[w]=n;e.removeAttribute(w);l.F=ze(c,s,o,a,e,e,n,f);let u=0;const v=s.length;let d;for(u;u<v;u++){d=s[u];const n=d.P+"."+d.I;const l=L.N.get(n);const r=d.R;if(!i){r["s-hn"]=t.toUpperCase();if(d.L==="slot"){r["s-cr"]=e["s-cr"]}}if(d.L==="slot"){if(d.C){d.l|=2;if(!d.R.childNodes.length){d.C.forEach((e=>{d.R.appendChild(e.R)}))}}else{d.l|=1}}if(l&&l.isConnected){if(i&&l["s-en"]===""){l.parentNode.insertBefore(r,l.nextSibling)}l.parentNode.removeChild(l);if(!i){r["s-oo"]=parseInt(d.I)}}L.N.delete(n)}const h=[];const p=f.length;let m=0;let $;let b;let y;let g;for(m;m<p;m++){$=f[m];if(!$||!$.length)continue;y=$.length;b=0;for(b;b<y;b++){g=$[b];if(!h[g.hostId]){h[g.hostId]=L.N.get(g.hostId)}if(!h[g.hostId])continue;const e=h[g.hostId];if(!e.shadowRoot||!i){g.slot["s-cr"]=e["s-cr"];if(!g.slot["s-cr"]&&e.shadowRoot){g.slot["s-cr"]=e}else{g.slot["s-cr"]=(e.__childNodes||e.childNodes)[0]}te(g.node,g.slot,false,g.node["s-oo"]);{Ae(g.node)}}if(e.shadowRoot&&g.node.parentElement!==e){e.appendChild(g.node)}}}l.$hostElement$=e;r()};var ze=(e,t,n,l,r,i,s,o=[])=>{let f;let a;let c;let u;if(i.nodeType===1){f=i.getAttribute(O);if(f){a=f.split(".");if(a[0]===s||a[0]==="0"){c=Ve({l:0,P:a[0],I:a[1],U:a[2],W:a[3],L:i.tagName.toLowerCase(),R:i,j:{class:i.className||""}});t.push(c);i.removeAttribute(O);if(!e.C){e.C=[]}const r=c.R.getAttribute("s-sn");if(typeof r==="string"){if(c.L==="slot-fb"){qe(r,a[2],c,i,e,t,n,l,o)}c.R["s-sn"]=r;c.R.removeAttribute("s-sn")}if(c.W!==void 0){e.C[c.W]=c}e=c;if(l&&c.U==="0"){l[c.W]=c.R}}}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){ze(e,t,n,l,r,i.shadowRoot.childNodes[u],s,o)}}const v=i.__childNodes||i.childNodes;for(u=v.length-1;u>=0;u--){ze(e,t,n,l,r,v[u],s,o)}}else if(i.nodeType===8){a=i.nodeValue.split(".");if(a[1]===s||a[1]==="0"){f=a[0];c=Ve({P:a[1],I:a[2],U:a[3],W:a[4]||"0",R:i,j:null,C:null,k:null,T:null,L:null,O:null});if(f===y){c.R=i.nextSibling;if(c.R&&c.R.nodeType===3){c.O=c.R.textContent;t.push(c);i.remove();if(s===c.P){if(!e.C){e.C=[]}e.C[c.W]=c}if(l&&c.U==="0"){l[c.W]=c.R}}}else if(f===g){c.R=i.nextSibling;if(c.R&&c.R.nodeType===8){t.push(c);i.remove()}}else if(c.P===s){if(f===b){const r=i["s-sn"]=a[5]||"";qe(r,a[2],c,i,e,t,n,l,o)}else if(f===m){{r["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.L==="style"){const t=le(null,i.textContent);t.R=i;t.W="0";e.C=[t]}return e};var Qe=(e,t)=>{if(e.nodeType===1){const n=e[w]||e.getAttribute(w);if(n){t.set(n,e)}let l=0;if(e.shadowRoot){for(;l<e.shadowRoot.childNodes.length;l++){Qe(e.shadowRoot.childNodes[l],t)}}const r=e.__childNodes||e.childNodes;for(l=0;l<r.length;l++){Qe(r[l],t)}}else if(e.nodeType===8){const n=e.nodeValue.split(".");if(n[0]===$){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var Ve=e=>{const t={l:0,P:null,I:null,U:null,W:"0",R:null,j:null,C:null,k:null,T:null,L:null,O:null};return{...t,...e}};function qe(e,t,n,l,r,i,s,o,f){l["s-sr"]=true;n.T=e||null;n.L="slot";const a=(r==null?void 0:r.R)?r.R["s-id"]||r.R.getAttribute("s-id"):"";{const s=n.R;const o=a&&a!==n.P&&r.R.shadowRoot;Ge(f,t,e,l,o?a:n.P);if(o){r.R.insertBefore(s,r.R.children[0])}i.push(n)}s.push(n);if(!r.C){r.C=[]}r.C[n.W]=n}var Ge=(e,t,n,l,r)=>{let i=l.nextSibling;e[t]=e[t]||[];while(i&&((i["getAttribute"]&&i.getAttribute("slot")||i["s-sn"])===n||n===""&&!i["s-sn"]&&(i.nodeType===8&&i.nodeValue.indexOf(".")!==1||i.nodeType===3))){i["s-sn"]=n;e[t].push({slot:l,node:i,hostId:r});i=i.nextSibling}};var Ke=(e,t)=>{if(e!=null&&!_(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var Xe=e=>f(e).$hostElement$;var Je=(e,t,n)=>{const l=Xe(e);return{emit:e=>Ye(l,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}};var Ye=(e,t,n)=>{const l=L.ce(t,n);e.dispatchEvent(l);return l};var Ze=new WeakMap;var et=(e,t,n)=>{let l=p.get(e);if(F&&n){l=l||new CSSStyleSheet;if(typeof l==="string"){l=t}else{l.replaceSync(t)}}else{l=t}p.set(e,l)};var tt=(e,t,n)=>{var l;const r=lt(t);const i=p.get(r);e=e.nodeType===11?e:E;if(i){if(typeof i==="string"){e=e.head||e;let n=Ze.get(e);let s;if(!n){Ze.set(e,n=new Set)}if(!n.has(r)){if(e.host&&(s=e.querySelector(`[${S}="${r}"]`))){s.innerHTML=i}else{s=document.querySelector(`[${S}="${r}"]`)||E.createElement("style");s.innerHTML=i;const n=(l=L.B)!=null?l:z(E);if(n!=null){s.setAttribute("nonce",n)}if(!(t.l&1)){if(e.nodeName==="HEAD"){const t=e.querySelectorAll("link[rel=preconnect]");const n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e){if(F){const t=new CSSStyleSheet;t.replaceSync(i);e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");if(t){t.innerHTML=i+t.innerHTML}else{e.prepend(s)}}}else{e.append(s)}}if(t.l&1&&e.nodeName!=="HEAD"){e.insertBefore(s,null)}}if(t.l&4){s.innerHTML+=C}if(n){n.add(r)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]}}return r};var nt=e=>{const t=e.i;const n=e.$hostElement$;const l=Be("attachStyles",t.m);tt(n.getRootNode(),t);l()};var lt=(e,t)=>"sc-"+e.m;var rt=(e,t)=>{if(t&&!e.H&&t["s-p"]){t["s-p"].push(new Promise((t=>e.H=t)))}};var it=(e,t)=>{{e.l|=16}if(e.l&4){e.l|=512;return}rt(e,e._);const n=()=>st(e,t);return H(n)};var st=(e,t)=>{const n=e.$hostElement$;const l=Be("scheduleUpdate",e.i.m);const r=e.t;if(!r){throw new Error(`Can't render component <${n.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`)}let i;if(t){{e.l|=256;if(e.V){e.V.map((([e,t])=>mt(r,e,t)));e.V=void 0}}{i=mt(r,"componentWillLoad")}}{i=ot(i,(()=>mt(r,"componentWillRender")))}l();return ot(i,(()=>at(e,r,t)))};var ot=(e,t)=>ft(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var ft=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var at=async(e,t,n)=>{var l;const r=e.$hostElement$;const i=Be("update",e.i.m);const s=r["s-rc"];if(n){nt(e)}const o=Be("render",e.i.m);{ut(e,t,r,n)}if(s){s.map((e=>e()));r["s-rc"]=void 0}o();i();{const t=(l=r["s-p"])!=null?l:[];const n=()=>dt(e);if(t.length===0){n()}else{Promise.all(t).then(n);e.l|=4;t.length=0}}};var ct=null;var ut=(e,t,n,l)=>{try{ct=t;t=t.render();{e.l&=~16}{e.l|=2}{{{De(e,t,l)}}}}catch(t){v(t,e.$hostElement$)}ct=null;return null};var vt=()=>ct;var dt=e=>{const t=e.i.m;const n=e.$hostElement$;const l=Be("postUpdate",t);const r=e.t;const i=e._;if(!(e.l&64)){e.l|=64;{$t(n)}{mt(r,"componentDidLoad")}l();{e.p(n);if(!i){pt()}}}else{l()}{e.v(n)}{if(e.H){e.H();e.H=void 0}if(e.l&512){B((()=>it(e,false)))}e.l&=~(4|512)}};var ht=e=>{{const t=f(e);const n=t.$hostElement$.isConnected;if(n&&(t.l&(2|16))===2){it(t,false)}return n}};var pt=t=>{{$t(E.documentElement)}B((()=>Ye(x,"appload",{detail:{namespace:e}})))};var mt=(e,t,n)=>{if(e&&e[t]){try{return e[t](n)}catch(e){v(e)}}return void 0};var $t=e=>{var n;return e.classList.add((n=t.hydratedSelectorName)!=null?n:"hydrated")};var bt=(e,t)=>f(e).o.get(t);var yt=(e,t,n,l)=>{const r=f(e);if(!r){throw new Error(`Couldn't find host element for "${l.m}" 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/ionic-team/stencil/issues/5457).`)}const i=r.$hostElement$;const s=r.o.get(t);const o=r.l;const a=r.t;n=Ke(n,l.q[t][0]);const c=Number.isNaN(s)&&Number.isNaN(n);const u=n!==s&&!c;if((!(o&8)||s===void 0)&&u){r.o.set(t,n);if(a){if(l.G&&o&128){const e=l.G[t];if(e){e.map((e=>{try{a[e](n,s,t)}catch(e){v(e,i)}}))}}if((o&(2|16))===2){it(r,false)}}}};var gt=(e,n,l)=>{var r,i;const s=e.prototype;if(n.l&64&&l&1){k.forEach((e=>{Object.defineProperty(s,e,{value(...t){const n=f(this);const l=n.t;if(!l){n.h.then((n=>{const l=n[e];typeof l==="function"&&l.call(n,...t)}))}else{const n=l[e];typeof n==="function"&&n.call(l,...t)}}})}))}if(n.q||(n.G||e.watchers)){if(e.watchers&&!n.G){n.G=e.watchers}const o=Object.entries((r=n.q)!=null?r:{});o.map((([e,[t]])=>{if(t&31||l&2&&t&32){if((t&2048)===0){Object.defineProperty(s,e,{get(){return bt(this,e)},set(t){yt(this,e,t,n)},configurable:true,enumerable:true})}else if(l&1&&t&2048){{Object.defineProperty(s,e,{get(){const t=f(this);const n=t?t.t:s;if(!n)return;return n[e]},configurable:true,enumerable:true})}if(t&4096){const t=Object.getOwnPropertyDescriptor(s,e).set;Object.defineProperty(s,e,{set(l){const r=f(this);if(t){const i=r.$hostElement$[e];if(!r.o.get(e)&&i){r.o.set(e,i)}t.apply(this,[Ke(l,n.q[e][0])]);yt(this,e,r.$hostElement$[e],n);return}if(!r)return;const i=()=>{const t=r.t[e];if(!r.o.get(e)&&t){r.o.set(e,t)}r.t[e]=Ke(l,n.q[e][0]);yt(this,e,r.t[e],n)};if(r.t){i()}else{r.h.then((()=>i()))}}})}}}else if(l&1&&t&64){Object.defineProperty(s,e,{value(...t){var n;const l=f(this);return(n=l==null?void 0:l.u)==null?void 0:n.then((()=>{var n;return(n=l.t)==null?void 0:n[e](...t)}))}})}}));if(l&1){const l=new Map;s.attributeChangedCallback=function(e,r,i){L.jmp((()=>{var o;const a=l.get(e);if(this.hasOwnProperty(a)&&t.lazyLoad){i=this[a];delete this[a]}else if(s.hasOwnProperty(a)&&typeof this[a]==="number"&&this[a]==i){return}else if(a==null){const t=f(this);const l=t==null?void 0:t.l;if(l&&!(l&8)&&l&128&&i!==r){const l=t.t;const s=(o=n.G)==null?void 0:o[e];s==null?void 0:s.forEach((t=>{if(l[t]!=null){l[t].call(l,i,r,e)}}))}return}const c=Object.getOwnPropertyDescriptor(s,a);if(!c.get||!!c.set){this[a]=i===null&&typeof this[a]==="boolean"?false:i}}))};e.observedAttributes=Array.from(new Set([...Object.keys((i=n.G)!=null?i:{}),...o.filter((([e,t])=>t[0]&15)).map((([e,t])=>{var r;const i=t[1]||e;l.set(i,e);if(t[0]&512){(r=n.M)==null?void 0:r.push([e,i])}return i}))]))}}return e};var wt=async(e,t,n,l)=>{let r;if((t.l&32)===0){t.l|=32;const l=n.$;if(l){const e=h(n);if(e&&"then"in e){const t=He();r=await e;t()}else{r=e}if(!r){throw new Error(`Constructor for "${n.m}#${t.K}" was not found`)}if(!r.isProxied){{n.G=r.watchers}gt(r,n,2);r.isProxied=true}const l=Be("createInstance",n.m);{t.l|=8}try{new r(t)}catch(e){v(e)}{t.l&=~8}{t.l|=128}l();St(t.t)}else{r=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.l|=128))}if(r&&r.style){let e;if(typeof r.style==="string"){e=r.style}const t=lt(n);if(!p.has(t)){const l=Be("registerStyles",n.m);et(t,e,!!(n.l&1));l()}}}const i=t._;const s=()=>it(t,true);if(i&&i["s-rc"]){i["s-rc"].push(s)}else{s()}};var St=e=>{{mt(e,"connectedCallback")}};var Ot=e=>{if((L.l&1)===0){const t=f(e);const n=t.i;const l=Be("connectedCallback",n.m);if(!(t.l&1)){t.l|=1;let l;{l=e.getAttribute(w);if(l){_e(e,n.m,l,t)}}if(!l){if(n.l&(4|8)){jt(e)}}{let n=e;while(n=n.parentNode||n.host){if(n.nodeType===1&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){rt(t,t._=n);break}}}if(n.q){Object.entries(n.q).map((([t,[n]])=>{if(n&31&&e.hasOwnProperty(t)){const n=e[t];delete e[t];e[t]=n}}))}{wt(e,t,n)}}else{Et(e,t,n.X);if(t==null?void 0:t.t){St(t.t)}else if(t==null?void 0:t.h){t.h.then((()=>St(t.t)))}}l()}};var jt=e=>{const t=e["s-cr"]=E.createComment("");t["s-cn"]=true;Re(e,t,e.firstChild)};var Ct=e=>{{mt(e,"disconnectedCallback")}};var kt=async e=>{if((L.l&1)===0){const t=f(e);{if(t.J){t.J.map((e=>e()));t.J=void 0}}if(t==null?void 0:t.t){Ct(t.t)}else if(t==null?void 0:t.h){t.h.then((()=>Ct(t.t)))}}};var xt=(e,t={})=>{var n;const l=Be();const r=[];const i=t.exclude||[];const s=x.customElements;const o=E.head;const a=o.querySelector("meta[charset]");const u=E.createElement("style");const v=[];let d;let h=true;Object.assign(L,t);L.S=new URL(t.resourcesUrl||"./",E.baseURI).href;{L.l|=2}let p=false;e.map((e=>{e[1].map((t=>{var n;const l={l:t[0],m:t[1],q:t[2],X:t[3]};if(l.l&4){p=true}{l.q=t[2]}{l.X=t[3]}{l.M=[]}{l.G=(n=t[4])!=null?n:{}}const o=l.m;const a=class extends HTMLElement{constructor(e){super(e);this.hasRegisteredEventListeners=false;e=this;c(e,l)}connectedCallback(){const e=f(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;Et(this,e,l.X)}if(d){clearTimeout(d);d=null}if(h){v.push(this)}else{L.jmp((()=>Ot(this)))}}disconnectedCallback(){L.jmp((()=>kt(this)))}componentOnReady(){return f(this).h}};if(l.l&64){a.formAssociated=true}l.$=e[0];if(!i.includes(o)&&!s.get(o)){r.push(o);s.define(o,gt(a,l,1))}}))}));if(r.length>0){if(p){u.textContent+=C}{u.textContent+=r.sort()+j}if(u.innerHTML.length){u.setAttribute("data-styles","");const e=(n=L.B)!=null?n:z(E);if(e!=null){u.setAttribute("nonce",e)}o.insertBefore(u,a?a.nextSibling:o.firstChild)}}h=false;if(v.length){v.map((e=>e.connectedCallback()))}else{{L.jmp((()=>d=setTimeout(pt,30)))}}l()};var Et=(e,t,n,l)=>{if(n){n.map((([n,l,r])=>{const i=Lt(e,n);const s=Tt(t,r);const o=Rt(n);L.ael(i,l,s,o);(t.J=t.J||[]).push((()=>L.rel(i,l,s,o)))}))}};var Tt=(e,t)=>n=>{var l;try{{if(e.l&256){(l=e.t)==null?void 0:l[t](n)}else{(e.V=e.V||[]).push([t,n])}}}catch(e){v(e)}};var Lt=(e,t)=>{if(t&4)return E;return e};var Rt=e=>D?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;var Dt=e=>L.B=e;export{T as H,re as a,xt as b,Je as c,vt as d,ht as f,Xe as g,ne as h,A as p,a as r,Dt as s};
3
- //# sourceMappingURL=p-6ef216c4.js.map
1
+ const e="native";const t={allRenderFn:true,appendChildSlotFix:true,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:true,cmpDidLoad:true,cmpDidRender:false,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:true,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:true,experimentalSlotFixes:true,formAssociated:true,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,modernPropertyDecls:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:true,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:false,slot:true,slotChildNodesFix:true,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:false,watchCallback:true};var n=Object.defineProperty;var l=(e,t)=>{for(var l in t)n(e,l,{get:t[l],enumerable:true})};var r={};var i="http://www.w3.org/2000/svg";var s="http://www.w3.org/1999/xhtml";var o=new WeakMap;var f=e=>o.get(e);var a=(e,t)=>{o.set(t.t=e,t)};var c=(e,t)=>{const n={l:0,$hostElement$:e,i:t,o:new Map};{n.u=new Promise((e=>n.v=e))}{n.h=new Promise((e=>n.p=e));e["s-p"]=[];e["s-rc"]=[]}const l=o.set(e,n);return l};var u=(e,t)=>t in e;var v=(e,t)=>(0,console.error)(e,t);var d=new Map;var h=(e,t,n)=>{const l=e.m.replace(/-/g,"_");const r=e.$;if(!r){return void 0}const i=d.get(r);if(i){return i[l]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${r}.entry.js${""}`).then((e=>{{d.set(r,e)}return e[l]}),v)};var p=new Map;var m="r";var $="o";var b="s";var y="t";var g="c";var w="s-id";var S="sty-id";var O="c-id";var j="{visibility:hidden}.hydrated{visibility:inherit}";var C="slot-fb{display:contents}slot-fb[hidden]{display:none}";var k=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var x=typeof window!=="undefined"?window:{};var E=x.document||{head:{}};var T=x.HTMLElement||class{};var L={l:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)};var R=t.shadowDom;var D=(()=>{let e=false;try{E.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=true}}))}catch(e){}return e})();var A=e=>Promise.resolve(e);var F=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var M=false;var N=[];var P=[];var I=(e,t)=>n=>{e.push(n);if(!M){M=true;if(t&&L.l&4){B(W)}else{L.raf(W)}}};var U=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){v(e)}}e.length=0};var W=()=>{U(N);{U(P);if(M=N.length>0){L.raf(W)}}};var B=e=>A().then(e);var H=I(P,true);var _=e=>{e=typeof e;return e==="object"||e==="function"};function z(e){var t,n,l;return(l=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?l:void 0}var Q={};l(Q,{err:()=>q,map:()=>G,ok:()=>V,unwrap:()=>K,unwrapErr:()=>X});var V=e=>({isOk:true,isErr:false,value:e});var q=e=>({isOk:false,isErr:true,value:e});function G(e,t){if(e.isOk){const n=t(e.value);if(n instanceof Promise){return n.then((e=>V(e)))}else{return V(n)}}if(e.isErr){const t=e.value;return q(t)}throw"should never get here"}var K=e=>{if(e.isOk){return e.value}else{throw e.value}};var X=e=>{if(e.isErr){return e.value}else{throw e.value}};var J=e=>{const t=e.__childNodes||e.childNodes;if(e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"){Y(t,e.tagName).forEach((e=>{var t;if(e.nodeType===1&&e.tagName==="SLOT-FB"){if((t=Z(e,e["s-sn"],false))==null?void 0:t.length){e.hidden=true}else{e.hidden=false}}}))}for(const e of t){if(e.nodeType===1&&(e.__childNodes||e.childNodes).length){J(e)}}};var Y=(e,t,n)=>{let l=0;let r=[];let i;for(;l<e.length;l++){i=e[l];if(i["s-sr"]&&i["s-hn"]===t&&(!n||i["s-sn"]===n)){r.push(i);if(typeof n!=="undefined")return r}r=[...r,...Y(i.childNodes,t,n)]}return r};var Z=(e,t,n=true)=>{const l=[];if(n&&e["s-sr"]||!e["s-sr"])l.push(e);while((e=e.nextSibling)&&e["s-sn"]===t){l.push(e)}return l};var ee=(e,t)=>{if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var te=(e,t,n,l)=>{let r;if(e["s-ol"]&&e["s-ol"].isConnected){r=e["s-ol"]}else{r=document.createTextNode("");r["s-nr"]=e}if(!t["s-cr"]||!t["s-cr"].parentNode)return;const i=t["s-cr"].parentNode;const s=n?i.__prepend||i.prepend:i.__appendChild||i.appendChild;if(typeof l!=="undefined"){{r["s-oo"]=l;const e=i.__childNodes||i.childNodes;const t=[r];e.forEach((e=>{if(e["s-nr"])t.push(e)}));t.sort(((e,t)=>{if(!e["s-oo"]||e["s-oo"]<t["s-oo"])return-1;else if(!t["s-oo"]||t["s-oo"]<e["s-oo"])return 1;return 0}));t.forEach((e=>s.call(i,e)))}}else{s.call(i,r)}e["s-ol"]=r;e["s-sh"]=t["s-hn"]};var ne=(e,t,...n)=>{let l=null;let r=null;let i=null;let s=false;let o=false;const f=[];const a=t=>{for(let n=0;n<t.length;n++){l=t[n];if(Array.isArray(l)){a(l)}else if(l!=null&&typeof l!=="boolean"){if(s=typeof e!=="function"&&!_(l)){l=String(l)}if(s&&o){f[f.length-1].O+=l}else{f.push(s?le(null,l):l)}o=s}}};a(n);if(t){if(t.key){r=t.key}if(t.name){i=t.name}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}const c=le(e,null);c.j=t;if(f.length>0){c.C=f}{c.k=r}{c.T=i}return c};var le=(e,t)=>{const n={l:0,L:e,O:t,R:null,C:null};{n.j=null}{n.k=null}{n.T=null}return n};var re={};var ie=e=>e&&e.L===re;var se=(e,t,n,l,r,i)=>{if(n!==l){let s=u(e,t);let o=t.toLowerCase();if(t==="class"){const t=e.classList;const r=fe(n);let i=fe(l);if(e["s-si"]){i.push(e["s-si"]);r.forEach((t=>{if(t.startsWith(e["s-si"]))i.push(t)}));i=[...new Set(i)];t.add(...i);delete e["s-si"]}else{t.remove(...r.filter((e=>e&&!i.includes(e))));t.add(...i.filter((e=>e&&!r.includes(e))))}}else if(t==="style"){{for(const t in n){if(!l||l[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in l){if(!n||l[t]!==n[t]){if(t.includes("-")){e.style.setProperty(t,l[t])}else{e.style[t]=l[t]}}}}else if(t==="key");else if(t==="ref"){if(l){l(e)}}else if(!s&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(u(x,o)){t=o.slice(2)}else{t=o[2]+t.slice(3)}if(n||l){const r=t.endsWith(ae);t=t.replace(ce,"");if(n){L.rel(e,t,n,r)}if(l){L.ael(e,t,l,r)}}}else{const o=_(l);if((s||o&&l!==null)&&!r){try{if(!e.tagName.includes("-")){const r=l==null?"":l;if(t==="list"){s=false}else if(n==null||e[t]!=r){if(typeof e.__lookupSetter__(t)==="function"){e[t]=r}else{e.setAttribute(t,r)}}}else{e[t]=l}}catch(e){}}if(l==null||l===false){if(l!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!s||i&4||r)&&!o){l=l===true?"":l;{e.setAttribute(t,l)}}}}};var oe=/\s/;var fe=e=>{if(typeof e==="object"&&"baseVal"in e){e=e.baseVal}if(!e){return[]}return e.split(oe)};var ae="Capture";var ce=new RegExp(ae+"$");var ue=(e,t,n)=>{const l=t.R.nodeType===11&&t.R.host?t.R.host:t.R;const i=e&&e.j||r;const s=t.j||r;{for(const e of ve(Object.keys(i))){if(!(e in s)){se(l,e,i[e],void 0,n,t.l)}}}for(const e of ve(Object.keys(s))){se(l,e,i[e],s[e],n,t.l)}};function ve(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var de;var he;var pe=false;var me=false;var $e=false;var be=false;var ye=(e,n,l)=>{var r;const o=n.C[l];let f=0;let a;let c;let u;if(!pe){$e=true;if(o.L==="slot"){o.l|=o.C?2:1}}if(o.O!==null){a=o.R=E.createTextNode(o.O)}else if(o.l&1){a=o.R=E.createTextNode("")}else{if(!be){be=o.L==="svg"}a=o.R=E.createElementNS(be?i:s,!pe&&t.slotRelocation&&o.l&2?"slot-fb":o.L);if(be&&o.L==="foreignObject"){be=false}{ue(null,o,be)}if(o.C){for(f=0;f<o.C.length;++f){c=ye(e,o,f);if(c){a.appendChild(c)}}}{if(o.L==="svg"){be=false}else if(a.tagName==="foreignObject"){be=true}}}a["s-hn"]=he;{if(o.l&(2|1)){a["s-sr"]=true;a["s-cr"]=de;a["s-sn"]=o.T||"";a["s-rf"]=(r=o.j)==null?void 0:r.ref;u=e&&e.C&&e.C[l];if(u&&u.L===o.L&&e.R){{ge(e.R)}}}}return a};var ge=e=>{L.l|=1;const t=e.closest(he.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((e=>e["s-cr"]));const l=Array.from(e.__childNodes||e.childNodes);for(const e of n?l.reverse():l){if(e["s-sh"]!=null){Re(t,e,n!=null?n:null);e["s-sh"]=void 0;$e=true}}}L.l&=~1};var we=(e,n)=>{L.l|=1;const l=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;while(t=t.nextSibling){if(t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===he){l.push(t)}}}for(let e=l.length-1;e>=0;e--){const t=l[e];if(t["s-hn"]!==he&&t["s-ol"]){Re(ke(t).parentNode,t,ke(t));t["s-ol"].remove();t["s-ol"]=void 0;t["s-sh"]=void 0;$e=true}if(n){we(t,n)}}L.l&=~1};var Se=(e,t,n,l,r,i)=>{let s=e["s-cr"]&&e["s-cr"].parentNode||e;let o;for(;r<=i;++r){if(l[r]){o=ye(null,n,r);if(o){l[r].R=o;Re(s,o,ke(t))}}}};var Oe=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.R;Le(t);if(e){{me=true;if(e["s-ol"]){e["s-ol"].remove()}else{we(e,true)}}e.remove()}}}};var je=(e,t,n,l,r=false)=>{let i=0;let s=0;let o=0;let f=0;let a=t.length-1;let c=t[0];let u=t[a];let v=l.length-1;let d=l[0];let h=l[v];let p;let m;while(i<=a&&s<=v){if(c==null){c=t[++i]}else if(u==null){u=t[--a]}else if(d==null){d=l[++s]}else if(h==null){h=l[--v]}else if(Ce(c,d,r)){xe(c,d,r);c=t[++i];d=l[++s]}else if(Ce(u,h,r)){xe(u,h,r);u=t[--a];h=l[--v]}else if(Ce(c,h,r)){if(c.L==="slot"||h.L==="slot"){we(c.R.parentNode,false)}xe(c,h,r);Re(e,c.R,u.R.nextSibling);c=t[++i];h=l[--v]}else if(Ce(u,d,r)){if(c.L==="slot"||h.L==="slot"){we(u.R.parentNode,false)}xe(u,d,r);Re(e,u.R,c.R);u=t[--a];d=l[++s]}else{o=-1;{for(f=i;f<=a;++f){if(t[f]&&t[f].k!==null&&t[f].k===d.k){o=f;break}}}if(o>=0){m=t[o];if(m.L!==d.L){p=ye(t&&t[s],n,o)}else{xe(m,d,r);t[o]=void 0;p=m.R}d=l[++s]}else{p=ye(t&&t[s],n,s);d=l[++s]}if(p){{Re(ke(c.R).parentNode,p,ke(c.R))}}}}if(i>a){Se(e,l[v+1]==null?null:l[v+1].R,n,l,s,v)}else if(s>v){Oe(t,i,a)}};var Ce=(e,t,n=false)=>{if(e.L===t.L){if(e.L==="slot"){return e.T===t.T}if(!n){return e.k===t.k}if(n&&!e.k&&t.k){e.k=t.k}return true}return false};var ke=e=>e&&e["s-ol"]||e;var xe=(e,n,l=false)=>{const r=n.R=e.R;const i=e.C;const s=n.C;const o=n.L;const f=n.O;let a;if(f===null){{be=o==="svg"?true:o==="foreignObject"?false:be}{if(o==="slot"&&!pe){if(e.T!==n.T){n.R["s-sn"]=n.T||"";ge(n.R.parentElement)}}else{ue(e,n,be)}}if(i!==null&&s!==null){je(r,i,n,s,l)}else if(s!==null){if(e.O!==null){r.textContent=""}Se(r,null,n,s,0,s.length-1)}else if(!l&&t.updatable&&i!==null){Oe(i,0,i.length-1)}if(be&&o==="svg"){be=false}}else if(a=r["s-cr"]){a.parentNode.textContent=f}else if(e.O!==f){r.data=f}};var Ee=[];var Te=e=>{let t;let n;let l;const r=e.__childNodes||e.childNodes;for(const e of r){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const r=e["s-sn"];for(l=n.length-1;l>=0;l--){t=n[l];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==e["s-hn"]&&(!t["s-sh"]||t["s-sh"]!==e["s-hn"])){if(ee(t,r)){let n=Ee.find((e=>e.D===t));me=true;t["s-sn"]=t["s-sn"]||r;if(n){n.D["s-sh"]=e["s-hn"];n.A=e}else{t["s-sh"]=e["s-hn"];Ee.push({A:e,D:t})}if(t["s-sr"]){Ee.map((e=>{if(ee(e.D,t["s-sn"])){n=Ee.find((e=>e.D===t));if(n&&!e.A){e.A=n.A}}}))}}else if(!Ee.some((e=>e.D===t))){Ee.push({D:t})}}}}if(e.nodeType===1){Te(e)}}};var Le=e=>{{e.j&&e.j.ref&&e.j.ref(null);e.C&&e.C.map(Le)}};var Re=(e,t,n)=>{const l=e==null?void 0:e.insertBefore(t,n);return l};var De=(e,t,n=false)=>{var l,r,i,s,o;const f=e.$hostElement$;const a=e.i;const c=e.F||le(null,null);const u=ie(t)?t:ne(null,null,t);he=f.tagName;if(a.M){u.j=u.j||{};a.M.map((([e,t])=>u.j[t]=f[e]))}if(n&&u.j){for(const e of Object.keys(u.j)){if(f.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){u.j[e]=f[e]}}}u.L=null;u.l|=4;e.F=u;u.R=c.R=f;pe=R;{de=f["s-cr"];me=false}xe(c,u,n);{L.l|=1;if($e){Te(u.R);for(const e of Ee){const t=e.D;if(!t["s-ol"]){const e=E.createTextNode("");e["s-nr"]=t;Re(t.parentNode,t["s-ol"]=e,t)}}for(const e of Ee){const t=e.D;const o=e.A;if(o){const e=o.parentNode;let n=o.nextSibling;if(n&&n.nodeType===1){let i=(l=t["s-ol"])==null?void 0:l.previousSibling;while(i){let l=(r=i["s-nr"])!=null?r:null;if(l&&l["s-sn"]===t["s-sn"]&&e===l.parentNode){l=l.nextSibling;while(l===t||(l==null?void 0:l["s-sr"])){l=l==null?void 0:l.nextSibling}if(!l||!l["s-nr"]){n=l;break}}i=i.previousSibling}}if(!n&&e!==t.parentNode||t.nextSibling!==n){if(t!==n){Re(e,t,n);if(t.nodeType===1&&t.tagName!=="SLOT-FB"){t.hidden=(i=t["s-ih"])!=null?i:false}}}t&&typeof o["s-rf"]==="function"&&o["s-rf"](t)}else{if(t.nodeType===1){if(n){t["s-ih"]=(s=t.hidden)!=null?s:false}t.hidden=true}}}}if(me){J(u.R)}L.l&=~1;Ee.length=0}if(a.l&2){const e=u.R.__childNodes||u.R.childNodes;for(const t of e){if(t["s-hn"]!==he&&!t["s-sh"]){if(n&&t["s-ih"]==null){t["s-ih"]=(o=t.hidden)!=null?o:false}t.hidden=true}}}de=void 0};var Ae=e=>{if(!e||e.__nextSibling||!globalThis.Node)return;Fe(e);Ne(e);if(e.nodeType===Node.ELEMENT_NODE){Me(e);Pe(e)}};var Fe=e=>{if(!e||e.__nextSibling)return;We("nextSibling",e);Object.defineProperty(e,"nextSibling",{get:function(){var e;const t=(e=this["s-ol"])==null?void 0:e.parentNode.childNodes;const n=t==null?void 0:t.indexOf(this);if(t&&n>-1){return t[n+1]}return this.__nextSibling}})};var Me=e=>{if(!e||e.__nextElementSibling)return;We("nextElementSibling",e);Object.defineProperty(e,"nextElementSibling",{get:function(){var e;const t=(e=this["s-ol"])==null?void 0:e.parentNode.children;const n=t==null?void 0:t.indexOf(this);if(t&&n>-1){return t[n+1]}return this.__nextElementSibling}})};var Ne=e=>{if(!e||e.__previousSibling)return;We("previousSibling",e);Object.defineProperty(e,"previousSibling",{get:function(){var e;const t=(e=this["s-ol"])==null?void 0:e.parentNode.childNodes;const n=t==null?void 0:t.indexOf(this);if(t&&n>-1){return t[n-1]}return this.__previousSibling}})};var Pe=e=>{if(!e||e.__previousElementSibling)return;We("previousElementSibling",e);Object.defineProperty(e,"previousElementSibling",{get:function(){var e;const t=(e=this["s-ol"])==null?void 0:e.parentNode.children;const n=t==null?void 0:t.indexOf(this);if(t&&n>-1){return t[n-1]}return this.__previousElementSibling}})};var Ie=["children","nextElementSibling","previousElementSibling"];var Ue=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent"];function We(e,t){let n;if(Ie.includes(e)){n=Object.getOwnPropertyDescriptor(Element.prototype,e)}else if(Ue.includes(e)){n=Object.getOwnPropertyDescriptor(Node.prototype,e)}if(!n){n=Object.getOwnPropertyDescriptor(t,e)}if(n)Object.defineProperty(t,"__"+e,n)}var Be=(e,t="")=>{{return()=>{}}};var He=(e,t)=>{{return()=>{}}};var _e=(e,t,n,l)=>{const r=Be("hydrateClient",t);const i=e.shadowRoot;const s=[];const o=[];const f=[];const a=null;const c=le(t,null);c.R=e;if(!L.N){Qe(E.body,L.N=new Map)}e[w]=n;e.removeAttribute(w);l.F=ze(c,s,o,a,e,e,n,f);let u=0;const v=s.length;let d;for(u;u<v;u++){d=s[u];const n=d.P+"."+d.I;const l=L.N.get(n);const r=d.R;if(!i){r["s-hn"]=t.toUpperCase();if(d.L==="slot"){r["s-cr"]=e["s-cr"]}}if(d.L==="slot"){if(d.C){d.l|=2;if(!d.R.childNodes.length){d.C.forEach((e=>{d.R.appendChild(e.R)}))}}else{d.l|=1}}if(l&&l.isConnected){if(i&&l["s-en"]===""){l.parentNode.insertBefore(r,l.nextSibling)}l.parentNode.removeChild(l);if(!i){r["s-oo"]=parseInt(d.I)}}L.N.delete(n)}const h=[];const p=f.length;let m=0;let $;let b;let y;let g;for(m;m<p;m++){$=f[m];if(!$||!$.length)continue;y=$.length;b=0;for(b;b<y;b++){g=$[b];if(!h[g.hostId]){h[g.hostId]=L.N.get(g.hostId)}if(!h[g.hostId])continue;const e=h[g.hostId];if(!e.shadowRoot||!i){g.slot["s-cr"]=e["s-cr"];if(!g.slot["s-cr"]&&e.shadowRoot){g.slot["s-cr"]=e}else{g.slot["s-cr"]=(e.__childNodes||e.childNodes)[0]}te(g.node,g.slot,false,g.node["s-oo"]);{Ae(g.node)}}if(e.shadowRoot&&g.node.parentElement!==e){e.appendChild(g.node)}}}l.$hostElement$=e;r()};var ze=(e,t,n,l,r,i,s,o=[])=>{let f;let a;let c;let u;if(i.nodeType===1){f=i.getAttribute(O);if(f){a=f.split(".");if(a[0]===s||a[0]==="0"){c=Ve({l:0,P:a[0],I:a[1],U:a[2],W:a[3],L:i.tagName.toLowerCase(),R:i,j:{class:i.className||""}});t.push(c);i.removeAttribute(O);if(!e.C){e.C=[]}const r=c.R.getAttribute("s-sn");if(typeof r==="string"){if(c.L==="slot-fb"){qe(r,a[2],c,i,e,t,n,l,o)}c.R["s-sn"]=r;c.R.removeAttribute("s-sn")}if(c.W!==void 0){e.C[c.W]=c}e=c;if(l&&c.U==="0"){l[c.W]=c.R}}}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){ze(e,t,n,l,r,i.shadowRoot.childNodes[u],s,o)}}const v=i.__childNodes||i.childNodes;for(u=v.length-1;u>=0;u--){ze(e,t,n,l,r,v[u],s,o)}}else if(i.nodeType===8){a=i.nodeValue.split(".");if(a[1]===s||a[1]==="0"){f=a[0];c=Ve({P:a[1],I:a[2],U:a[3],W:a[4]||"0",R:i,j:null,C:null,k:null,T:null,L:null,O:null});if(f===y){c.R=i.nextSibling;if(c.R&&c.R.nodeType===3){c.O=c.R.textContent;t.push(c);i.remove();if(s===c.P){if(!e.C){e.C=[]}e.C[c.W]=c}if(l&&c.U==="0"){l[c.W]=c.R}}}else if(f===g){c.R=i.nextSibling;if(c.R&&c.R.nodeType===8){t.push(c);i.remove()}}else if(c.P===s){if(f===b){const r=i["s-sn"]=a[5]||"";qe(r,a[2],c,i,e,t,n,l,o)}else if(f===m){{r["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.L==="style"){const t=le(null,i.textContent);t.R=i;t.W="0";e.C=[t]}return e};var Qe=(e,t)=>{if(e.nodeType===1){const n=e[w]||e.getAttribute(w);if(n){t.set(n,e)}let l=0;if(e.shadowRoot){for(;l<e.shadowRoot.childNodes.length;l++){Qe(e.shadowRoot.childNodes[l],t)}}const r=e.__childNodes||e.childNodes;for(l=0;l<r.length;l++){Qe(r[l],t)}}else if(e.nodeType===8){const n=e.nodeValue.split(".");if(n[0]===$){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var Ve=e=>{const t={l:0,P:null,I:null,U:null,W:"0",R:null,j:null,C:null,k:null,T:null,L:null,O:null};return{...t,...e}};function qe(e,t,n,l,r,i,s,o,f){l["s-sr"]=true;n.T=e||null;n.L="slot";const a=(r==null?void 0:r.R)?r.R["s-id"]||r.R.getAttribute("s-id"):"";{const s=n.R;const o=a&&a!==n.P&&r.R.shadowRoot;Ge(f,t,e,l,o?a:n.P);if(o){r.R.insertBefore(s,r.R.children[0])}i.push(n)}s.push(n);if(!r.C){r.C=[]}r.C[n.W]=n}var Ge=(e,t,n,l,r)=>{let i=l.nextSibling;e[t]=e[t]||[];while(i&&((i["getAttribute"]&&i.getAttribute("slot")||i["s-sn"])===n||n===""&&!i["s-sn"]&&(i.nodeType===8&&i.nodeValue.indexOf(".")!==1||i.nodeType===3))){i["s-sn"]=n;e[t].push({slot:l,node:i,hostId:r});i=i.nextSibling}};var Ke=(e,t)=>{if(e!=null&&!_(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var Xe=e=>f(e).$hostElement$;var Je=(e,t,n)=>{const l=Xe(e);return{emit:e=>Ye(l,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}};var Ye=(e,t,n)=>{const l=L.ce(t,n);e.dispatchEvent(l);return l};var Ze=new WeakMap;var et=(e,t,n)=>{let l=p.get(e);if(F&&n){l=l||new CSSStyleSheet;if(typeof l==="string"){l=t}else{l.replaceSync(t)}}else{l=t}p.set(e,l)};var tt=(e,t,n)=>{var l;const r=lt(t);const i=p.get(r);e=e.nodeType===11?e:E;if(i){if(typeof i==="string"){e=e.head||e;let n=Ze.get(e);let s;if(!n){Ze.set(e,n=new Set)}if(!n.has(r)){if(e.host&&(s=e.querySelector(`[${S}="${r}"]`))){s.innerHTML=i}else{s=document.querySelector(`[${S}="${r}"]`)||E.createElement("style");s.innerHTML=i;const n=(l=L.B)!=null?l:z(E);if(n!=null){s.setAttribute("nonce",n)}if(!(t.l&1)){if(e.nodeName==="HEAD"){const t=e.querySelectorAll("link[rel=preconnect]");const n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e){if(F){const t=new CSSStyleSheet;t.replaceSync(i);e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");if(t){t.innerHTML=i+t.innerHTML}else{e.prepend(s)}}}else{e.append(s)}}if(t.l&1&&e.nodeName!=="HEAD"){e.insertBefore(s,null)}}if(t.l&4){s.innerHTML+=C}if(n){n.add(r)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]}}return r};var nt=e=>{const t=e.i;const n=e.$hostElement$;const l=Be("attachStyles",t.m);tt(n.getRootNode(),t);l()};var lt=(e,t)=>"sc-"+e.m;var rt=(e,t)=>{if(t&&!e.H&&t["s-p"]){t["s-p"].push(new Promise((t=>e.H=t)))}};var it=(e,t)=>{{e.l|=16}if(e.l&4){e.l|=512;return}rt(e,e._);const n=()=>st(e,t);return H(n)};var st=(e,t)=>{const n=e.$hostElement$;const l=Be("scheduleUpdate",e.i.m);const r=e.t;if(!r){throw new Error(`Can't render component <${n.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`)}let i;if(t){{e.l|=256;if(e.V){e.V.map((([e,t])=>mt(r,e,t)));e.V=void 0}}{i=mt(r,"componentWillLoad")}}else{{i=mt(r,"componentWillUpdate")}}{i=ot(i,(()=>mt(r,"componentWillRender")))}l();return ot(i,(()=>at(e,r,t)))};var ot=(e,t)=>ft(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var ft=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var at=async(e,t,n)=>{var l;const r=e.$hostElement$;const i=Be("update",e.i.m);const s=r["s-rc"];if(n){nt(e)}const o=Be("render",e.i.m);{ut(e,t,r,n)}if(s){s.map((e=>e()));r["s-rc"]=void 0}o();i();{const t=(l=r["s-p"])!=null?l:[];const n=()=>dt(e);if(t.length===0){n()}else{Promise.all(t).then(n);e.l|=4;t.length=0}}};var ct=null;var ut=(e,t,n,l)=>{try{ct=t;t=t.render();{e.l&=~16}{e.l|=2}{{{De(e,t,l)}}}}catch(t){v(t,e.$hostElement$)}ct=null;return null};var vt=()=>ct;var dt=e=>{const t=e.i.m;const n=e.$hostElement$;const l=Be("postUpdate",t);const r=e.t;const i=e._;if(!(e.l&64)){e.l|=64;{$t(n)}{mt(r,"componentDidLoad")}l();{e.p(n);if(!i){pt()}}}else{l()}{e.v(n)}{if(e.H){e.H();e.H=void 0}if(e.l&512){B((()=>it(e,false)))}e.l&=~(4|512)}};var ht=e=>{{const t=f(e);const n=t.$hostElement$.isConnected;if(n&&(t.l&(2|16))===2){it(t,false)}return n}};var pt=t=>{{$t(E.documentElement)}B((()=>Ye(x,"appload",{detail:{namespace:e}})))};var mt=(e,t,n)=>{if(e&&e[t]){try{return e[t](n)}catch(e){v(e)}}return void 0};var $t=e=>{var n;return e.classList.add((n=t.hydratedSelectorName)!=null?n:"hydrated")};var bt=(e,t)=>f(e).o.get(t);var yt=(e,t,n,l)=>{const r=f(e);if(!r){throw new Error(`Couldn't find host element for "${l.m}" 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/ionic-team/stencil/issues/5457).`)}const i=r.$hostElement$;const s=r.o.get(t);const o=r.l;const a=r.t;n=Ke(n,l.q[t][0]);const c=Number.isNaN(s)&&Number.isNaN(n);const u=n!==s&&!c;if((!(o&8)||s===void 0)&&u){r.o.set(t,n);if(a){if(l.G&&o&128){const e=l.G[t];if(e){e.map((e=>{try{a[e](n,s,t)}catch(e){v(e,i)}}))}}if((o&(2|16))===2){it(r,false)}}}};var gt=(e,n,l)=>{var r,i;const s=e.prototype;if(n.l&64&&l&1){k.forEach((e=>{Object.defineProperty(s,e,{value(...t){const n=f(this);const l=n.t;if(!l){n.h.then((n=>{const l=n[e];typeof l==="function"&&l.call(n,...t)}))}else{const n=l[e];typeof n==="function"&&n.call(l,...t)}}})}))}if(n.q||(n.G||e.watchers)){if(e.watchers&&!n.G){n.G=e.watchers}const o=Object.entries((r=n.q)!=null?r:{});o.map((([e,[t]])=>{if(t&31||l&2&&t&32){if((t&2048)===0){Object.defineProperty(s,e,{get(){return bt(this,e)},set(t){yt(this,e,t,n)},configurable:true,enumerable:true})}else if(l&1&&t&2048){{Object.defineProperty(s,e,{get(){const t=f(this);const n=t?t.t:s;if(!n)return;return n[e]},configurable:true,enumerable:true})}if(t&4096){const t=Object.getOwnPropertyDescriptor(s,e).set;Object.defineProperty(s,e,{set(l){const r=f(this);if(t){const i=r.$hostElement$[e];if(!r.o.get(e)&&i){r.o.set(e,i)}t.apply(this,[Ke(l,n.q[e][0])]);yt(this,e,r.$hostElement$[e],n);return}if(!r)return;const i=()=>{const t=r.t[e];if(!r.o.get(e)&&t){r.o.set(e,t)}r.t[e]=Ke(l,n.q[e][0]);yt(this,e,r.t[e],n)};if(r.t){i()}else{r.h.then((()=>i()))}}})}}}else if(l&1&&t&64){Object.defineProperty(s,e,{value(...t){var n;const l=f(this);return(n=l==null?void 0:l.u)==null?void 0:n.then((()=>{var n;return(n=l.t)==null?void 0:n[e](...t)}))}})}}));if(l&1){const l=new Map;s.attributeChangedCallback=function(e,r,i){L.jmp((()=>{var o;const a=l.get(e);if(this.hasOwnProperty(a)&&t.lazyLoad){i=this[a];delete this[a]}else if(s.hasOwnProperty(a)&&typeof this[a]==="number"&&this[a]==i){return}else if(a==null){const t=f(this);const l=t==null?void 0:t.l;if(l&&!(l&8)&&l&128&&i!==r){const l=t.t;const s=(o=n.G)==null?void 0:o[e];s==null?void 0:s.forEach((t=>{if(l[t]!=null){l[t].call(l,i,r,e)}}))}return}const c=Object.getOwnPropertyDescriptor(s,a);if(!c.get||!!c.set){this[a]=i===null&&typeof this[a]==="boolean"?false:i}}))};e.observedAttributes=Array.from(new Set([...Object.keys((i=n.G)!=null?i:{}),...o.filter((([e,t])=>t[0]&15)).map((([e,t])=>{var r;const i=t[1]||e;l.set(i,e);if(t[0]&512){(r=n.M)==null?void 0:r.push([e,i])}return i}))]))}}return e};var wt=async(e,t,n,l)=>{let r;if((t.l&32)===0){t.l|=32;const l=n.$;if(l){const e=h(n);if(e&&"then"in e){const t=He();r=await e;t()}else{r=e}if(!r){throw new Error(`Constructor for "${n.m}#${t.K}" was not found`)}if(!r.isProxied){{n.G=r.watchers}gt(r,n,2);r.isProxied=true}const l=Be("createInstance",n.m);{t.l|=8}try{new r(t)}catch(e){v(e)}{t.l&=~8}{t.l|=128}l();St(t.t)}else{r=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.l|=128))}if(r&&r.style){let e;if(typeof r.style==="string"){e=r.style}const t=lt(n);if(!p.has(t)){const l=Be("registerStyles",n.m);et(t,e,!!(n.l&1));l()}}}const i=t._;const s=()=>it(t,true);if(i&&i["s-rc"]){i["s-rc"].push(s)}else{s()}};var St=e=>{{mt(e,"connectedCallback")}};var Ot=e=>{if((L.l&1)===0){const t=f(e);const n=t.i;const l=Be("connectedCallback",n.m);if(!(t.l&1)){t.l|=1;let l;{l=e.getAttribute(w);if(l){_e(e,n.m,l,t)}}if(!l){if(n.l&(4|8)){jt(e)}}{let n=e;while(n=n.parentNode||n.host){if(n.nodeType===1&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){rt(t,t._=n);break}}}if(n.q){Object.entries(n.q).map((([t,[n]])=>{if(n&31&&e.hasOwnProperty(t)){const n=e[t];delete e[t];e[t]=n}}))}{wt(e,t,n)}}else{Et(e,t,n.X);if(t==null?void 0:t.t){St(t.t)}else if(t==null?void 0:t.h){t.h.then((()=>St(t.t)))}}l()}};var jt=e=>{const t=e["s-cr"]=E.createComment("");t["s-cn"]=true;Re(e,t,e.firstChild)};var Ct=e=>{{mt(e,"disconnectedCallback")}};var kt=async e=>{if((L.l&1)===0){const t=f(e);{if(t.J){t.J.map((e=>e()));t.J=void 0}}if(t==null?void 0:t.t){Ct(t.t)}else if(t==null?void 0:t.h){t.h.then((()=>Ct(t.t)))}}};var xt=(e,t={})=>{var n;const l=Be();const r=[];const i=t.exclude||[];const s=x.customElements;const o=E.head;const a=o.querySelector("meta[charset]");const u=E.createElement("style");const v=[];let d;let h=true;Object.assign(L,t);L.S=new URL(t.resourcesUrl||"./",E.baseURI).href;{L.l|=2}let p=false;e.map((e=>{e[1].map((t=>{var n;const l={l:t[0],m:t[1],q:t[2],X:t[3]};if(l.l&4){p=true}{l.q=t[2]}{l.X=t[3]}{l.M=[]}{l.G=(n=t[4])!=null?n:{}}const o=l.m;const a=class extends HTMLElement{constructor(e){super(e);this.hasRegisteredEventListeners=false;e=this;c(e,l)}connectedCallback(){const e=f(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;Et(this,e,l.X)}if(d){clearTimeout(d);d=null}if(h){v.push(this)}else{L.jmp((()=>Ot(this)))}}disconnectedCallback(){L.jmp((()=>kt(this)))}componentOnReady(){return f(this).h}};if(l.l&64){a.formAssociated=true}l.$=e[0];if(!i.includes(o)&&!s.get(o)){r.push(o);s.define(o,gt(a,l,1))}}))}));if(r.length>0){if(p){u.textContent+=C}{u.textContent+=r.sort()+j}if(u.innerHTML.length){u.setAttribute("data-styles","");const e=(n=L.B)!=null?n:z(E);if(e!=null){u.setAttribute("nonce",e)}o.insertBefore(u,a?a.nextSibling:o.firstChild)}}h=false;if(v.length){v.map((e=>e.connectedCallback()))}else{{L.jmp((()=>d=setTimeout(pt,30)))}}l()};var Et=(e,t,n,l)=>{if(n){n.map((([n,l,r])=>{const i=Lt(e,n);const s=Tt(t,r);const o=Rt(n);L.ael(i,l,s,o);(t.J=t.J||[]).push((()=>L.rel(i,l,s,o)))}))}};var Tt=(e,t)=>n=>{var l;try{{if(e.l&256){(l=e.t)==null?void 0:l[t](n)}else{(e.V=e.V||[]).push([t,n])}}}catch(e){v(e)}};var Lt=(e,t)=>{if(t&4)return E;return e};var Rt=e=>D?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;var Dt=e=>L.B=e;export{T as H,re as a,xt as b,Je as c,vt as d,ht as f,Xe as g,ne as h,A as p,a as r,Dt as s};
3
+ //# sourceMappingURL=p-9b093b92.js.map