@nova-design-system/nova-webcomponents 3.0.0-beta.44 → 3.0.0-beta.46

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 (351) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/native.cjs.js +1 -1
  3. package/dist/cjs/nv-badge_2.cjs.entry.js +6 -5
  4. package/dist/cjs/nv-badge_2.cjs.entry.js.map +1 -1
  5. package/dist/cjs/nv-base.cjs.entry.js +1 -1
  6. package/dist/cjs/nv-breadcrumb.cjs.entry.js +2 -2
  7. package/dist/cjs/nv-breadcrumb.cjs.entry.js.map +1 -1
  8. package/dist/cjs/nv-breadcrumbs.cjs.entry.js +1 -1
  9. package/dist/cjs/nv-button.cjs.entry.js +5 -3
  10. package/dist/cjs/nv-button.cjs.entry.js.map +1 -1
  11. package/dist/cjs/nv-calendar.cjs.entry.js +1 -1
  12. package/dist/cjs/nv-col.cjs.entry.js +1 -1
  13. package/dist/cjs/nv-datagrid.cjs.entry.js +66 -6
  14. package/dist/cjs/nv-datagrid.cjs.entry.js.map +1 -1
  15. package/dist/cjs/nv-datagridcolumn.cjs.entry.js +5 -1
  16. package/dist/cjs/nv-datagridcolumn.cjs.entry.js.map +1 -1
  17. package/dist/cjs/nv-dialog.cjs.entry.js +16 -12
  18. package/dist/cjs/nv-dialog.cjs.entry.js.map +1 -1
  19. package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +2 -2
  20. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +5 -5
  21. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js.map +1 -1
  22. package/dist/cjs/nv-fielddate.cjs.entry.js +5 -5
  23. package/dist/cjs/nv-fielddaterange.cjs.entry.js +4 -4
  24. package/dist/cjs/nv-fielddropdown.cjs.entry.js +3 -9
  25. package/dist/cjs/nv-fielddropdown.cjs.entry.js.map +1 -1
  26. package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +1 -1
  27. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +9 -64
  28. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js.map +1 -1
  29. package/dist/cjs/nv-fieldnumber.cjs.entry.js +3 -3
  30. package/dist/cjs/nv-fieldpassword.cjs.entry.js +9 -7
  31. package/dist/cjs/nv-fieldpassword.cjs.entry.js.map +1 -1
  32. package/dist/cjs/nv-fieldradio.cjs.entry.js +3 -3
  33. package/dist/cjs/nv-fieldselect.cjs.entry.js +5 -5
  34. package/dist/cjs/nv-fieldselect.cjs.entry.js.map +1 -1
  35. package/dist/cjs/nv-fieldtext.cjs.entry.js +3 -3
  36. package/dist/cjs/nv-fieldtextarea.cjs.entry.js +3 -3
  37. package/dist/cjs/nv-fieldtime.cjs.entry.js +9 -9
  38. package/dist/cjs/nv-icon.cjs.entry.js +1 -1
  39. package/dist/cjs/nv-iconbutton_2.cjs.entry.js +2 -2
  40. package/dist/cjs/nv-menu.cjs.entry.js +3 -3
  41. package/dist/cjs/nv-menu.cjs.entry.js.map +1 -1
  42. package/dist/cjs/nv-menuitem.cjs.entry.js +1 -1
  43. package/dist/cjs/nv-popover.cjs.entry.js +11 -9
  44. package/dist/cjs/nv-popover.cjs.entry.js.map +1 -1
  45. package/dist/cjs/nv-row.cjs.entry.js +1 -1
  46. package/dist/cjs/nv-stack.cjs.entry.js +1 -1
  47. package/dist/cjs/nv-table.cjs.entry.js +2 -2
  48. package/dist/cjs/nv-toggle.cjs.entry.js +3 -3
  49. package/dist/cjs/nv-toggle.cjs.entry.js.map +1 -1
  50. package/dist/cjs/nv-tooltip.cjs.entry.js +1 -1
  51. package/dist/collection/components/nv-badge/nv-badge.css +11 -0
  52. package/dist/collection/components/nv-badge/nv-badge.js +5 -4
  53. package/dist/collection/components/nv-badge/nv-badge.js.map +1 -1
  54. package/dist/collection/components/nv-base/nv-base.js +1 -1
  55. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.css +11 -0
  56. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.js +1 -1
  57. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.js +1 -1
  58. package/dist/collection/components/nv-button/nv-button.js +5 -3
  59. package/dist/collection/components/nv-button/nv-button.js.map +1 -1
  60. package/dist/collection/components/nv-calendar/nv-calendar.js +1 -1
  61. package/dist/collection/components/nv-col/nv-col.js +1 -1
  62. package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js +43 -2
  63. package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js.map +1 -1
  64. package/dist/collection/components/nv-datagrid/nv-datagrid.js +91 -7
  65. package/dist/collection/components/nv-datagrid/nv-datagrid.js.map +1 -1
  66. package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +27 -1
  67. package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js.map +1 -1
  68. package/dist/collection/components/nv-dialog/nv-dialog.js +24 -17
  69. package/dist/collection/components/nv-dialog/nv-dialog.js.map +1 -1
  70. package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +1 -1
  71. package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
  72. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.css +11 -0
  73. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
  74. package/dist/collection/components/nv-fielddate/nv-fielddate.js +5 -5
  75. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +4 -4
  76. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +4 -13
  77. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js.map +1 -1
  78. package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
  79. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
  80. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js +9 -67
  81. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js.map +1 -1
  82. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +3 -3
  83. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +9 -7
  84. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js.map +1 -1
  85. package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
  86. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
  87. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js.map +1 -1
  88. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +3 -3
  89. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
  90. package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +9 -9
  91. package/dist/collection/components/nv-icon/nv-icon.docs.js +1 -0
  92. package/dist/collection/components/nv-icon/nv-icon.docs.js.map +1 -1
  93. package/dist/collection/components/nv-icon/nv-icon.js +1 -1
  94. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
  95. package/dist/collection/components/nv-loader/nv-loader.js +1 -1
  96. package/dist/collection/components/nv-menu/nv-menu.js +6 -6
  97. package/dist/collection/components/nv-menu/nv-menu.js.map +1 -1
  98. package/dist/collection/components/nv-menuitem/nv-menuitem.js +1 -1
  99. package/dist/collection/components/nv-popover/nv-popover.js +11 -9
  100. package/dist/collection/components/nv-popover/nv-popover.js.map +1 -1
  101. package/dist/collection/components/nv-row/nv-row.js +1 -1
  102. package/dist/collection/components/nv-stack/nv-stack.js +1 -1
  103. package/dist/collection/components/nv-table/nv-table.js +2 -2
  104. package/dist/collection/components/nv-toggle/nv-toggle.css +11 -0
  105. package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
  106. package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
  107. package/dist/components/nv-alert.js +1 -1
  108. package/dist/components/nv-avatar.js +1 -1
  109. package/dist/components/nv-badge.js +1 -1
  110. package/dist/components/nv-base.js +1 -1
  111. package/dist/components/nv-breadcrumb.js +4 -4
  112. package/dist/components/nv-breadcrumb.js.map +1 -1
  113. package/dist/components/nv-breadcrumbs.js +1 -1
  114. package/dist/components/nv-button.js +1 -1
  115. package/dist/components/nv-calendar.js +1 -1
  116. package/dist/components/nv-col.js +1 -1
  117. package/dist/components/nv-datagrid.js +69 -7
  118. package/dist/components/nv-datagrid.js.map +1 -1
  119. package/dist/components/nv-datagridcolumn.js +7 -2
  120. package/dist/components/nv-datagridcolumn.js.map +1 -1
  121. package/dist/components/nv-dialog.js +22 -18
  122. package/dist/components/nv-dialog.js.map +1 -1
  123. package/dist/components/nv-dialogfooter.js +1 -1
  124. package/dist/components/nv-dialogheader.js +1 -1
  125. package/dist/components/nv-fieldcheckbox.js +1 -1
  126. package/dist/components/nv-fielddate.js +12 -12
  127. package/dist/components/nv-fielddaterange.js +11 -11
  128. package/dist/components/nv-fielddropdown.js +9 -17
  129. package/dist/components/nv-fielddropdown.js.map +1 -1
  130. package/dist/components/nv-fielddropdownitem.js +1 -1
  131. package/dist/components/nv-fielddropdownitemcheck.js +1 -1
  132. package/dist/components/nv-fieldmultiselect.js +18 -75
  133. package/dist/components/nv-fieldmultiselect.js.map +1 -1
  134. package/dist/components/nv-fieldnumber.js +6 -6
  135. package/dist/components/nv-fieldpassword.js +12 -10
  136. package/dist/components/nv-fieldpassword.js.map +1 -1
  137. package/dist/components/nv-fieldradio.js +3 -3
  138. package/dist/components/nv-fieldselect.js +8 -8
  139. package/dist/components/nv-fieldselect.js.map +1 -1
  140. package/dist/components/nv-fieldtext.js +4 -4
  141. package/dist/components/nv-fieldtextarea.js +3 -3
  142. package/dist/components/nv-fieldtime.js +13 -13
  143. package/dist/components/nv-icon.js +1 -1
  144. package/dist/components/nv-iconbutton.js +1 -1
  145. package/dist/components/nv-loader.js +1 -1
  146. package/dist/components/nv-menu.js +6 -6
  147. package/dist/components/nv-menu.js.map +1 -1
  148. package/dist/components/nv-menuitem.js +1 -1
  149. package/dist/components/nv-popover.js +1 -1
  150. package/dist/components/nv-row.js +1 -1
  151. package/dist/components/nv-stack.js +1 -1
  152. package/dist/components/nv-table.js +2 -2
  153. package/dist/components/nv-toggle.js +3 -3
  154. package/dist/components/nv-toggle.js.map +1 -1
  155. package/dist/components/nv-tooltip.js +1 -1
  156. package/dist/components/{p-e66d6274.js → p-18bc0291.js} +3 -3
  157. package/dist/components/{p-e66d6274.js.map → p-18bc0291.js.map} +1 -1
  158. package/dist/components/{p-b2d2fd35.js → p-56ef8131.js} +3 -3
  159. package/dist/components/{p-b2d2fd35.js.map → p-56ef8131.js.map} +1 -1
  160. package/dist/components/p-5a5f11c2.js +177 -0
  161. package/dist/components/p-5a5f11c2.js.map +1 -0
  162. package/dist/components/{p-62f6da8a.js → p-664c5a14.js} +12 -10
  163. package/dist/components/p-664c5a14.js.map +1 -0
  164. package/dist/components/{p-6726f512.js → p-7b89fb48.js} +2 -2
  165. package/dist/components/{p-6726f512.js.map → p-7b89fb48.js.map} +1 -1
  166. package/dist/components/{p-0631d152.js → p-8674c7af.js} +7 -5
  167. package/dist/components/p-8674c7af.js.map +1 -0
  168. package/dist/components/{p-293e1a5c.js → p-8c5a861b.js} +3 -3
  169. package/dist/components/{p-293e1a5c.js.map → p-8c5a861b.js.map} +1 -1
  170. package/dist/components/{p-23b6b33b.js → p-91b58443.js} +2 -2
  171. package/dist/components/{p-23b6b33b.js.map → p-91b58443.js.map} +1 -1
  172. package/dist/components/{p-d552352b.js → p-9d6aaf76.js} +6 -6
  173. package/dist/components/p-9d6aaf76.js.map +1 -0
  174. package/dist/components/{p-3a74719c.js → p-a9e1bf70.js} +4 -4
  175. package/dist/components/{p-3a74719c.js.map → p-a9e1bf70.js.map} +1 -1
  176. package/dist/components/{p-016dbae8.js → p-a9f162a8.js} +6 -6
  177. package/dist/components/{p-016dbae8.js.map → p-a9f162a8.js.map} +1 -1
  178. package/dist/components/{p-3a990da7.js → p-b4768da6.js} +5 -5
  179. package/dist/components/{p-3a990da7.js.map → p-b4768da6.js.map} +1 -1
  180. package/dist/components/{p-543082ff.js → p-d88ced51.js} +2 -2
  181. package/dist/components/{p-543082ff.js.map → p-d88ced51.js.map} +1 -1
  182. package/dist/components/{p-e7f21fe7.js → p-dcabc6fa.js} +3 -3
  183. package/dist/components/{p-e7f21fe7.js.map → p-dcabc6fa.js.map} +1 -1
  184. package/dist/components/{p-e40363fd.js → p-f469df15.js} +2 -2
  185. package/dist/components/{p-e40363fd.js.map → p-f469df15.js.map} +1 -1
  186. package/dist/esm/loader.js +1 -1
  187. package/dist/esm/native.js +1 -1
  188. package/dist/esm/nv-badge_2.entry.js +6 -5
  189. package/dist/esm/nv-badge_2.entry.js.map +1 -1
  190. package/dist/esm/nv-base.entry.js +1 -1
  191. package/dist/esm/nv-breadcrumb.entry.js +2 -2
  192. package/dist/esm/nv-breadcrumb.entry.js.map +1 -1
  193. package/dist/esm/nv-breadcrumbs.entry.js +1 -1
  194. package/dist/esm/nv-button.entry.js +5 -3
  195. package/dist/esm/nv-button.entry.js.map +1 -1
  196. package/dist/esm/nv-calendar.entry.js +1 -1
  197. package/dist/esm/nv-col.entry.js +1 -1
  198. package/dist/esm/nv-datagrid.entry.js +66 -6
  199. package/dist/esm/nv-datagrid.entry.js.map +1 -1
  200. package/dist/esm/nv-datagridcolumn.entry.js +5 -1
  201. package/dist/esm/nv-datagridcolumn.entry.js.map +1 -1
  202. package/dist/esm/nv-dialog.entry.js +16 -12
  203. package/dist/esm/nv-dialog.entry.js.map +1 -1
  204. package/dist/esm/nv-dialogfooter_2.entry.js +2 -2
  205. package/dist/esm/nv-fieldcheckbox.entry.js +5 -5
  206. package/dist/esm/nv-fieldcheckbox.entry.js.map +1 -1
  207. package/dist/esm/nv-fielddate.entry.js +5 -5
  208. package/dist/esm/nv-fielddaterange.entry.js +4 -4
  209. package/dist/esm/nv-fielddropdown.entry.js +3 -9
  210. package/dist/esm/nv-fielddropdown.entry.js.map +1 -1
  211. package/dist/esm/nv-fielddropdownitem.entry.js +1 -1
  212. package/dist/esm/nv-fieldmultiselect.entry.js +9 -64
  213. package/dist/esm/nv-fieldmultiselect.entry.js.map +1 -1
  214. package/dist/esm/nv-fieldnumber.entry.js +3 -3
  215. package/dist/esm/nv-fieldpassword.entry.js +9 -7
  216. package/dist/esm/nv-fieldpassword.entry.js.map +1 -1
  217. package/dist/esm/nv-fieldradio.entry.js +3 -3
  218. package/dist/esm/nv-fieldselect.entry.js +5 -5
  219. package/dist/esm/nv-fieldselect.entry.js.map +1 -1
  220. package/dist/esm/nv-fieldtext.entry.js +3 -3
  221. package/dist/esm/nv-fieldtextarea.entry.js +3 -3
  222. package/dist/esm/nv-fieldtime.entry.js +9 -9
  223. package/dist/esm/nv-icon.entry.js +1 -1
  224. package/dist/esm/nv-iconbutton_2.entry.js +2 -2
  225. package/dist/esm/nv-menu.entry.js +3 -3
  226. package/dist/esm/nv-menu.entry.js.map +1 -1
  227. package/dist/esm/nv-menuitem.entry.js +1 -1
  228. package/dist/esm/nv-popover.entry.js +11 -9
  229. package/dist/esm/nv-popover.entry.js.map +1 -1
  230. package/dist/esm/nv-row.entry.js +1 -1
  231. package/dist/esm/nv-stack.entry.js +1 -1
  232. package/dist/esm/nv-table.entry.js +2 -2
  233. package/dist/esm/nv-toggle.entry.js +3 -3
  234. package/dist/esm/nv-toggle.entry.js.map +1 -1
  235. package/dist/esm/nv-tooltip.entry.js +1 -1
  236. package/dist/native/native.css +1 -1
  237. package/dist/native/native.esm.js +1 -1
  238. package/dist/native/native.esm.js.map +1 -1
  239. package/dist/native/{p-ddb4fcc3.entry.js → p-000ef9c9.entry.js} +2 -2
  240. package/dist/native/p-000ef9c9.entry.js.map +1 -0
  241. package/dist/native/{p-4d2adf8c.entry.js → p-002e7bf1.entry.js} +2 -2
  242. package/dist/native/{p-3a47035f.entry.js → p-115ad66c.entry.js} +2 -2
  243. package/dist/native/{p-2b584e35.entry.js → p-1e5453be.entry.js} +2 -2
  244. package/dist/native/p-2ed9934a.entry.js +2 -0
  245. package/dist/native/{p-5e04b50f.entry.js → p-3df6febe.entry.js} +2 -2
  246. package/dist/native/{p-794b7820.entry.js → p-43cc98dc.entry.js} +2 -2
  247. package/dist/native/p-4977fcd0.entry.js +2 -0
  248. package/dist/native/{p-16b38dc2.entry.js → p-4c859a14.entry.js} +2 -2
  249. package/dist/native/{p-9fe6a9b7.entry.js → p-4fe5ebe9.entry.js} +2 -2
  250. package/dist/native/{p-dcfef507.entry.js → p-50dcce07.entry.js} +2 -2
  251. package/dist/native/{p-657a0b8a.entry.js → p-60d6ffa3.entry.js} +2 -2
  252. package/dist/native/p-60d6ffa3.entry.js.map +1 -0
  253. package/dist/native/{p-569e9663.entry.js → p-626a1372.entry.js} +2 -2
  254. package/dist/native/p-6603d939.entry.js +2 -0
  255. package/dist/native/p-6603d939.entry.js.map +1 -0
  256. package/dist/native/{p-a6834c17.entry.js → p-74f7f404.entry.js} +2 -2
  257. package/dist/native/{p-a6834c17.entry.js.map → p-74f7f404.entry.js.map} +1 -1
  258. package/dist/native/p-75f4bfe8.entry.js +2 -0
  259. package/dist/native/{p-ca1eff59.entry.js.map → p-75f4bfe8.entry.js.map} +1 -1
  260. package/dist/native/{p-c84eb11f.entry.js → p-76cd466a.entry.js} +2 -2
  261. package/dist/native/p-76cd466a.entry.js.map +1 -0
  262. package/dist/native/p-7e1fa44c.entry.js +2 -0
  263. package/dist/native/{p-4b6d3739.entry.js.map → p-7e1fa44c.entry.js.map} +1 -1
  264. package/dist/native/p-8946883b.entry.js +2 -0
  265. package/dist/native/p-8946883b.entry.js.map +1 -0
  266. package/dist/native/{p-552ca13e.entry.js → p-8f7c1bb8.entry.js} +2 -2
  267. package/dist/native/{p-ede0c391.entry.js → p-98030346.entry.js} +2 -2
  268. package/dist/native/p-98030346.entry.js.map +1 -0
  269. package/dist/native/{p-ac72abfc.entry.js → p-aa957898.entry.js} +2 -2
  270. package/dist/native/{p-4c88e8be.entry.js → p-aeac63ea.entry.js} +2 -2
  271. package/dist/native/{p-4c88e8be.entry.js.map → p-aeac63ea.entry.js.map} +1 -1
  272. package/dist/native/{p-39fd54e3.entry.js → p-b11fdaed.entry.js} +2 -2
  273. package/dist/native/{p-a3ea7b59.entry.js → p-b6164ebc.entry.js} +2 -2
  274. package/dist/native/p-b8b58064.entry.js +2 -0
  275. package/dist/native/p-b8b58064.entry.js.map +1 -0
  276. package/dist/native/{p-ffcf8271.entry.js → p-be5f62e5.entry.js} +2 -2
  277. package/dist/native/p-be5f62e5.entry.js.map +1 -0
  278. package/dist/native/p-c6fe73a9.entry.js +2 -0
  279. package/dist/native/p-c6fe73a9.entry.js.map +1 -0
  280. package/dist/native/p-ce64d562.entry.js +2 -0
  281. package/dist/native/p-d352a8b3.entry.js +2 -0
  282. package/dist/native/p-d352a8b3.entry.js.map +1 -0
  283. package/dist/native/{p-d987271c.entry.js → p-d4e48d08.entry.js} +2 -2
  284. package/dist/native/p-d5158e27.entry.js +2 -0
  285. package/dist/native/p-d5158e27.entry.js.map +1 -0
  286. package/dist/native/{p-4eb132d3.entry.js → p-e200185a.entry.js} +2 -2
  287. package/dist/native/p-e200185a.entry.js.map +1 -0
  288. package/dist/native/{p-870d5a5c.entry.js → p-e4f84faa.entry.js} +2 -2
  289. package/dist/types/components/nv-badge/nv-badge.d.ts +1 -1
  290. package/dist/types/components/nv-datagrid/nv-datagrid.d.ts +7 -0
  291. package/dist/types/components/nv-datagridcolumn/nv-datagridcolumn.d.ts +4 -0
  292. package/dist/types/components/nv-dialog/nv-dialog.d.ts +4 -3
  293. package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +1 -3
  294. package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.d.ts +2 -11
  295. package/dist/types/components/nv-fieldpassword/nv-fieldpassword.d.ts +2 -0
  296. package/dist/types/components/nv-menu/nv-menu.d.ts +4 -4
  297. package/dist/types/components.d.ts +43 -8
  298. package/dist/types/nova-docs.d.ts +11 -0
  299. package/dist/vscode-data.json +9 -1
  300. package/hydrate/index.js +207 -192
  301. package/hydrate/index.mjs +207 -192
  302. package/package.json +11 -10
  303. package/dist/blazor-docs.json +0 -18738
  304. package/dist/components/p-0631d152.js.map +0 -1
  305. package/dist/components/p-62f6da8a.js.map +0 -1
  306. package/dist/components/p-cd083aba.js +0 -176
  307. package/dist/components/p-cd083aba.js.map +0 -1
  308. package/dist/components/p-d552352b.js.map +0 -1
  309. package/dist/docs.d.ts +0 -443
  310. package/dist/docs.json +0 -18538
  311. package/dist/native/p-1d5b6c6d.entry.js +0 -2
  312. package/dist/native/p-4b6d3739.entry.js +0 -2
  313. package/dist/native/p-4c96b614.entry.js +0 -2
  314. package/dist/native/p-4eb132d3.entry.js.map +0 -1
  315. package/dist/native/p-657a0b8a.entry.js.map +0 -1
  316. package/dist/native/p-8ae27c0a.entry.js +0 -2
  317. package/dist/native/p-8ae27c0a.entry.js.map +0 -1
  318. package/dist/native/p-adf0f628.entry.js +0 -2
  319. package/dist/native/p-adf0f628.entry.js.map +0 -1
  320. package/dist/native/p-c84eb11f.entry.js.map +0 -1
  321. package/dist/native/p-ca1eff59.entry.js +0 -2
  322. package/dist/native/p-cce90f27.entry.js +0 -2
  323. package/dist/native/p-cce90f27.entry.js.map +0 -1
  324. package/dist/native/p-d3d664c7.entry.js +0 -2
  325. package/dist/native/p-d3d664c7.entry.js.map +0 -1
  326. package/dist/native/p-d7b5ab6e.entry.js +0 -2
  327. package/dist/native/p-d7b5ab6e.entry.js.map +0 -1
  328. package/dist/native/p-ddb4fcc3.entry.js.map +0 -1
  329. package/dist/native/p-ed595c96.entry.js +0 -2
  330. package/dist/native/p-ed595c96.entry.js.map +0 -1
  331. package/dist/native/p-ede0c391.entry.js.map +0 -1
  332. package/dist/native/p-efb52057.entry.js +0 -2
  333. package/dist/native/p-ffcf8271.entry.js.map +0 -1
  334. /package/dist/native/{p-4d2adf8c.entry.js.map → p-002e7bf1.entry.js.map} +0 -0
  335. /package/dist/native/{p-3a47035f.entry.js.map → p-115ad66c.entry.js.map} +0 -0
  336. /package/dist/native/{p-2b584e35.entry.js.map → p-1e5453be.entry.js.map} +0 -0
  337. /package/dist/native/{p-efb52057.entry.js.map → p-2ed9934a.entry.js.map} +0 -0
  338. /package/dist/native/{p-5e04b50f.entry.js.map → p-3df6febe.entry.js.map} +0 -0
  339. /package/dist/native/{p-794b7820.entry.js.map → p-43cc98dc.entry.js.map} +0 -0
  340. /package/dist/native/{p-4c96b614.entry.js.map → p-4977fcd0.entry.js.map} +0 -0
  341. /package/dist/native/{p-16b38dc2.entry.js.map → p-4c859a14.entry.js.map} +0 -0
  342. /package/dist/native/{p-9fe6a9b7.entry.js.map → p-4fe5ebe9.entry.js.map} +0 -0
  343. /package/dist/native/{p-dcfef507.entry.js.map → p-50dcce07.entry.js.map} +0 -0
  344. /package/dist/native/{p-569e9663.entry.js.map → p-626a1372.entry.js.map} +0 -0
  345. /package/dist/native/{p-552ca13e.entry.js.map → p-8f7c1bb8.entry.js.map} +0 -0
  346. /package/dist/native/{p-ac72abfc.entry.js.map → p-aa957898.entry.js.map} +0 -0
  347. /package/dist/native/{p-39fd54e3.entry.js.map → p-b11fdaed.entry.js.map} +0 -0
  348. /package/dist/native/{p-a3ea7b59.entry.js.map → p-b6164ebc.entry.js.map} +0 -0
  349. /package/dist/native/{p-1d5b6c6d.entry.js.map → p-ce64d562.entry.js.map} +0 -0
  350. /package/dist/native/{p-d987271c.entry.js.map → p-d4e48d08.entry.js.map} +0 -0
  351. /package/dist/native/{p-870d5a5c.entry.js.map → p-e4f84faa.entry.js.map} +0 -0
package/hydrate/index.js CHANGED
@@ -5278,12 +5278,12 @@ class NvAvatar {
5278
5278
  }; }
5279
5279
  }
5280
5280
 
5281
- const nvBadgeCss = "nv-badge{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;vertical-align:middle;align-items:center;border-radius:var(--radius-rounded-full);border-style:solid;border-width:0.5px;height:fit-content;width:fit-content}nv-badge.with-gap{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;vertical-align:middle;align-items:center;border-radius:var(--radius-rounded-full);border-style:solid;border-width:0.5px;height:fit-content;width:fit-content;gap:var(--badge-gap-x)}nv-badge:not(.with-gap){padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;vertical-align:middle;align-items:center;border-radius:var(--radius-rounded-full);border-style:solid;border-width:0.5px;height:fit-content;width:fit-content}nv-badge.badge-1{color:var(--color-rainbow-1-text);background-color:var(--color-rainbow-1-background);border-color:var(--color-rainbow-1-border)}nv-badge.badge-1 .close:focus,nv-badge.badge-1 .close:focus-within{outline:none}nv-badge.badge-1 .close:focus-visible,nv-badge.badge-1 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-1-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-1 nv-icon{color:var(--color-rainbow-1-icon)}nv-badge.badge-2{color:var(--color-rainbow-2-text);background-color:var(--color-rainbow-2-background);border-color:var(--color-rainbow-2-border)}nv-badge.badge-2 .close:focus,nv-badge.badge-2 .close:focus-within{outline:none}nv-badge.badge-2 .close:focus-visible,nv-badge.badge-2 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-2-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-2 nv-icon{color:var(--color-rainbow-2-icon)}nv-badge.badge-3{color:var(--color-rainbow-3-text);background-color:var(--color-rainbow-3-background);border-color:var(--color-rainbow-3-border)}nv-badge.badge-3 .close:focus,nv-badge.badge-3 .close:focus-within{outline:none}nv-badge.badge-3 .close:focus-visible,nv-badge.badge-3 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-3-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-3 nv-icon{color:var(--color-rainbow-3-icon)}nv-badge.badge-4{color:var(--color-rainbow-4-text);background-color:var(--color-rainbow-4-background);border-color:var(--color-rainbow-4-border)}nv-badge.badge-4 .close:focus,nv-badge.badge-4 .close:focus-within{outline:none}nv-badge.badge-4 .close:focus-visible,nv-badge.badge-4 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-4-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-4 nv-icon{color:var(--color-rainbow-4-icon)}nv-badge.badge-5{color:var(--color-rainbow-5-text);background-color:var(--color-rainbow-5-background);border-color:var(--color-rainbow-5-border)}nv-badge.badge-5 .close:focus,nv-badge.badge-5 .close:focus-within{outline:none}nv-badge.badge-5 .close:focus-visible,nv-badge.badge-5 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-5-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-5 nv-icon{color:var(--color-rainbow-5-icon)}nv-badge.badge-6{color:var(--color-rainbow-6-text);background-color:var(--color-rainbow-6-background);border-color:var(--color-rainbow-6-border)}nv-badge.badge-6 .close:focus,nv-badge.badge-6 .close:focus-within{outline:none}nv-badge.badge-6 .close:focus-visible,nv-badge.badge-6 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-6-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-6 nv-icon{color:var(--color-rainbow-6-icon)}nv-badge.badge-7{color:var(--color-rainbow-7-text);background-color:var(--color-rainbow-7-background);border-color:var(--color-rainbow-7-border)}nv-badge.badge-7 .close:focus,nv-badge.badge-7 .close:focus-within{outline:none}nv-badge.badge-7 .close:focus-visible,nv-badge.badge-7 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-7-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-7 nv-icon{color:var(--color-rainbow-7-icon)}nv-badge.badge-8{color:var(--color-rainbow-8-text);background-color:var(--color-rainbow-8-background);border-color:var(--color-rainbow-8-border)}nv-badge.badge-8 .close:focus,nv-badge.badge-8 .close:focus-within{outline:none}nv-badge.badge-8 .close:focus-visible,nv-badge.badge-8 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-8-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-8 nv-icon{color:var(--color-rainbow-8-icon)}nv-badge.badge-9{color:var(--color-rainbow-9-text);background-color:var(--color-rainbow-9-background);border-color:var(--color-rainbow-9-border)}nv-badge.badge-9 .close:focus,nv-badge.badge-9 .close:focus-within{outline:none}nv-badge.badge-9 .close:focus-visible,nv-badge.badge-9 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-9-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-9 nv-icon{color:var(--color-rainbow-9-icon)}nv-badge.badge-10{color:var(--color-rainbow-10-text);background-color:var(--color-rainbow-10-background);border-color:var(--color-rainbow-10-border)}nv-badge.badge-10 .close:focus,nv-badge.badge-10 .close:focus-within{outline:none}nv-badge.badge-10 .close:focus-visible,nv-badge.badge-10 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-10-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-10 nv-icon{color:var(--color-rainbow-10-icon)}nv-badge span{font-size:var(--font-size-xs);line-height:var(--line-height-xs) !important}nv-badge nv-icon>svg.icon-xs{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-sm{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-md{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-lg{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-xl{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge .close{padding:0;line-height:0;border:none;background:none;cursor:pointer;color:inherit;display:inline-flex;align-items:center;aspect-ratio:1/1;border-radius:var(--radius-rounded-full)}";
5281
+ const nvBadgeCss = "nv-badge{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;vertical-align:middle;align-items:center;border-radius:var(--radius-rounded-full);border-style:solid;border-width:0.5px;height:fit-content;width:fit-content}nv-badge.with-gap{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;vertical-align:middle;align-items:center;border-radius:var(--radius-rounded-full);border-style:solid;border-width:0.5px;height:fit-content;width:fit-content;gap:var(--badge-gap-x)}nv-badge.visually-hidden{position:absolute;padding:0;border:0;overflow:hidden;white-space:nowrap;width:1px;height:1px;margin:-1px;clip:rect(0, 0, 0, 0)}nv-badge:not(.with-gap){padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;vertical-align:middle;align-items:center;border-radius:var(--radius-rounded-full);border-style:solid;border-width:0.5px;height:fit-content;width:fit-content}nv-badge.badge-1{color:var(--color-rainbow-1-text);background-color:var(--color-rainbow-1-background);border-color:var(--color-rainbow-1-border)}nv-badge.badge-1 .close:focus,nv-badge.badge-1 .close:focus-within{outline:none}nv-badge.badge-1 .close:focus-visible,nv-badge.badge-1 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-1-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-1 nv-icon{color:var(--color-rainbow-1-icon)}nv-badge.badge-2{color:var(--color-rainbow-2-text);background-color:var(--color-rainbow-2-background);border-color:var(--color-rainbow-2-border)}nv-badge.badge-2 .close:focus,nv-badge.badge-2 .close:focus-within{outline:none}nv-badge.badge-2 .close:focus-visible,nv-badge.badge-2 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-2-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-2 nv-icon{color:var(--color-rainbow-2-icon)}nv-badge.badge-3{color:var(--color-rainbow-3-text);background-color:var(--color-rainbow-3-background);border-color:var(--color-rainbow-3-border)}nv-badge.badge-3 .close:focus,nv-badge.badge-3 .close:focus-within{outline:none}nv-badge.badge-3 .close:focus-visible,nv-badge.badge-3 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-3-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-3 nv-icon{color:var(--color-rainbow-3-icon)}nv-badge.badge-4{color:var(--color-rainbow-4-text);background-color:var(--color-rainbow-4-background);border-color:var(--color-rainbow-4-border)}nv-badge.badge-4 .close:focus,nv-badge.badge-4 .close:focus-within{outline:none}nv-badge.badge-4 .close:focus-visible,nv-badge.badge-4 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-4-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-4 nv-icon{color:var(--color-rainbow-4-icon)}nv-badge.badge-5{color:var(--color-rainbow-5-text);background-color:var(--color-rainbow-5-background);border-color:var(--color-rainbow-5-border)}nv-badge.badge-5 .close:focus,nv-badge.badge-5 .close:focus-within{outline:none}nv-badge.badge-5 .close:focus-visible,nv-badge.badge-5 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-5-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-5 nv-icon{color:var(--color-rainbow-5-icon)}nv-badge.badge-6{color:var(--color-rainbow-6-text);background-color:var(--color-rainbow-6-background);border-color:var(--color-rainbow-6-border)}nv-badge.badge-6 .close:focus,nv-badge.badge-6 .close:focus-within{outline:none}nv-badge.badge-6 .close:focus-visible,nv-badge.badge-6 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-6-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-6 nv-icon{color:var(--color-rainbow-6-icon)}nv-badge.badge-7{color:var(--color-rainbow-7-text);background-color:var(--color-rainbow-7-background);border-color:var(--color-rainbow-7-border)}nv-badge.badge-7 .close:focus,nv-badge.badge-7 .close:focus-within{outline:none}nv-badge.badge-7 .close:focus-visible,nv-badge.badge-7 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-7-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-7 nv-icon{color:var(--color-rainbow-7-icon)}nv-badge.badge-8{color:var(--color-rainbow-8-text);background-color:var(--color-rainbow-8-background);border-color:var(--color-rainbow-8-border)}nv-badge.badge-8 .close:focus,nv-badge.badge-8 .close:focus-within{outline:none}nv-badge.badge-8 .close:focus-visible,nv-badge.badge-8 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-8-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-8 nv-icon{color:var(--color-rainbow-8-icon)}nv-badge.badge-9{color:var(--color-rainbow-9-text);background-color:var(--color-rainbow-9-background);border-color:var(--color-rainbow-9-border)}nv-badge.badge-9 .close:focus,nv-badge.badge-9 .close:focus-within{outline:none}nv-badge.badge-9 .close:focus-visible,nv-badge.badge-9 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-9-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-9 nv-icon{color:var(--color-rainbow-9-icon)}nv-badge.badge-10{color:var(--color-rainbow-10-text);background-color:var(--color-rainbow-10-background);border-color:var(--color-rainbow-10-border)}nv-badge.badge-10 .close:focus,nv-badge.badge-10 .close:focus-within{outline:none}nv-badge.badge-10 .close:focus-visible,nv-badge.badge-10 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-10-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-10 nv-icon{color:var(--color-rainbow-10-icon)}nv-badge span{font-size:var(--font-size-xs);line-height:var(--line-height-xs) !important}nv-badge nv-icon>svg.icon-xs{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-sm{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-md{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-lg{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-xl{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge .close{padding:0;line-height:0;border:none;background:none;cursor:pointer;color:inherit;display:inline-flex;align-items:center;aspect-ratio:1/1;border-radius:var(--radius-rounded-full)}";
5282
5282
  var NvBadgeStyle0 = nvBadgeCss;
5283
5283
 
5284
5284
  /**
5285
5285
  * @slot leading-icon - Icon before the label.
5286
- * @slot default - Default slot for the badge label.
5286
+ * @slot default - for custom content, for pure text use label instead.
5287
5287
  */
5288
5288
  class NvBadge {
5289
5289
  constructor(hostRef) {
@@ -5321,7 +5321,6 @@ class NvBadge {
5321
5321
  * Controls the visibility of the badge. Will animate with fade and collapse.
5322
5322
  */
5323
5323
  this.hidden = false; // eslint-disable-line @stencil-community/reserved-member-names
5324
- this._isHidden = this.hidden;
5325
5324
  /**
5326
5325
  * When true, the alert does not automatically close upon dismissing.
5327
5326
  * Useful for externally controlled component behavior.
@@ -5390,6 +5389,7 @@ class NvBadge {
5390
5389
  this.leadIcon = this.icon;
5391
5390
  }
5392
5391
  if (this.hidden) {
5392
+ this._isHidden = true;
5393
5393
  const { setCollapsed } = useCollapse(this.ref);
5394
5394
  const { setFadeOut } = useFade(this.ref);
5395
5395
  setCollapsed();
@@ -5400,10 +5400,11 @@ class NvBadge {
5400
5400
  /****************************************************************************/
5401
5401
  //#region RENDER
5402
5402
  render() {
5403
- return (hAsync(Host, { key: '0fe871313f0a98b8dfb4b84e1fc4898ae73baa69', class: clsx(`badge-${this.color} with-gap`, {
5403
+ return (hAsync(Host, { key: '8d97eed4a84f2f913e4f8cd64d08c806d9724f33', class: clsx(`badge-${this.color}`, {
5404
5404
  'has-close': this.dismissible,
5405
+ 'with-gap': this.dismissible || this.label,
5405
5406
  'visually-hidden': this._isHidden,
5406
- }) }, hAsync("slot", { key: '728a5ed5ad4795619bf0bc1c89478c68bc47497a', name: "leading-icon" }, this.leadIcon && (hAsync("nv-icon", { key: '4b48fc280769ffe520c6a8f15eb2b283cb42243b', slot: "leading-icon", name: this.leadIcon, size: "sm" }))), this.label && hAsync("span", { key: 'c1f3ab6775ffcf3079bf2c861fb34831aa5ffda7' }, this.label), hAsync("span", { key: '352cca4c6a6ffb300c25f7ed05d9fdca3fda161c' }, hAsync("slot", { key: 'a0a36898691b9a3cf42eb1d87ab3fb3084ae8489' })), this.dismissible && (hAsync("button", { key: 'e5702056e9a2080d15df91d2bc3a32898bdc0ce5', onClick: this.handleClose, class: "close", type: "button" }, hAsync("nv-icon", { key: '23a856aaa98c4489cd1dabe2eb4a88a5d9065e92', name: "x", size: "sm" })))));
5407
+ }) }, hAsync("slot", { key: '34c2c387727e6b68d37fe2b2ac68c82799356e3d', name: "leading-icon" }, this.leadIcon && hAsync("nv-icon", { key: '0c23dd58e48fce39d7935549c6289f87f1fb66af', name: this.leadIcon, size: "sm" })), hAsync("slot", { key: '7485f570aa3cf519b030bedfa8ccf6a6d37d2c1b' }, this.label && hAsync("span", { key: 'eb7afa0eb52582c6d782d2383dfe2eeb41a9649b' }, this.label)), this.dismissible && (hAsync("button", { key: 'bc07eed3e1328a8009cb2c8add026a7f8a5335da', onClick: this.handleClose, class: "close", type: "button" }, hAsync("nv-icon", { key: 'ab0b2c6224f4b8b147e8158856acbf1ab987b392', name: "x", size: "sm" })))));
5407
5408
  }
5408
5409
  get ref() { return getElement(this); }
5409
5410
  static get watchers() { return {
@@ -5497,7 +5498,7 @@ class NvBaseComponent {
5497
5498
  /****************************************************************************/
5498
5499
  //#region RENDER
5499
5500
  render() {
5500
- return (hAsync(Host, { key: '1294fcaf46e19af023796e1f21cbb2b2506d8163', style: { display: 'block' } }, hAsync("slot", { key: '447dad96223063ef7914d21a98a370a47441d97f' })));
5501
+ return (hAsync(Host, { key: 'ba3d284241a61fa30bd434f563b7e4962ea3f238', style: { display: 'block' } }, hAsync("slot", { key: '44a0f1bc5267cf7e7bd0c1d258e8d9b8020a59f3' })));
5501
5502
  }
5502
5503
  get el() { return getElement(this); }
5503
5504
  static get cmpMeta() { return {
@@ -5510,7 +5511,7 @@ class NvBaseComponent {
5510
5511
  }; }
5511
5512
  }
5512
5513
 
5513
- const nvBreadcrumbCss = "nv-breadcrumb{display:flex;align-items:center;color:var(--components-breadcrumb-text);font-size:var(--font-size-sm);font-style:normal;font-weight:500;line-height:var(--line-height-sm)}nv-breadcrumb ul{display:flex;flex-direction:column;gap:var(--spacing-1-5);padding:var(--spacing-1)}nv-breadcrumb ul a,nv-breadcrumb ul button{display:inline-flex;align-self:center;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;text-decoration:none}nv-breadcrumb ul a:focus,nv-breadcrumb ul a:focus-within,nv-breadcrumb ul button:focus,nv-breadcrumb ul button:focus-within{outline:none}nv-breadcrumb ul a:focus-visible,nv-breadcrumb ul a:has(:focus-visible),nv-breadcrumb ul button:focus-visible,nv-breadcrumb ul button:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 0.5) solid var(--components-breadcrumb-text-hover);outline-offset:calc(var(--focus-outline-offset) * 0.3)}nv-breadcrumb ul a:hover,nv-breadcrumb ul button:hover{text-decoration:underline;color:var(--components-breadcrumb-text-hover)}nv-breadcrumb>a,nv-breadcrumb>button{display:inline-flex;align-self:center;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;text-decoration:none}nv-breadcrumb>a:focus,nv-breadcrumb>a:focus-within,nv-breadcrumb>button:focus,nv-breadcrumb>button:focus-within{outline:none}nv-breadcrumb>a:focus-visible,nv-breadcrumb>a:has(:focus-visible),nv-breadcrumb>button:focus-visible,nv-breadcrumb>button:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 0.5) solid var(--components-breadcrumb-text-hover);outline-offset:calc(var(--focus-outline-offset) * 0.3)}nv-breadcrumb>a:hover,nv-breadcrumb>button:hover{text-decoration:underline;color:var(--components-breadcrumb-text-hover)}nv-breadcrumb span[data-scope=separator]{display:inline-flex;padding-left:var(--breadcrumb-padding-y)}";
5514
+ const nvBreadcrumbCss = "nv-breadcrumb{display:flex;align-items:center;color:var(--components-breadcrumb-text);font-size:var(--font-size-sm);font-style:normal;font-weight:500;line-height:var(--line-height-sm)}nv-breadcrumb.visually-hidden{position:absolute;padding:0;border:0;overflow:hidden;white-space:nowrap;width:1px;height:1px;margin:-1px;clip:rect(0, 0, 0, 0)}nv-breadcrumb ul{display:flex;flex-direction:column;gap:var(--spacing-1-5);padding:var(--spacing-1)}nv-breadcrumb ul a,nv-breadcrumb ul button{display:inline-flex;align-self:center;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;text-decoration:none}nv-breadcrumb ul a:focus,nv-breadcrumb ul a:focus-within,nv-breadcrumb ul button:focus,nv-breadcrumb ul button:focus-within{outline:none}nv-breadcrumb ul a:focus-visible,nv-breadcrumb ul a:has(:focus-visible),nv-breadcrumb ul button:focus-visible,nv-breadcrumb ul button:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 0.5) solid var(--components-breadcrumb-text-hover);outline-offset:calc(var(--focus-outline-offset) * 0.3)}nv-breadcrumb ul a:hover,nv-breadcrumb ul button:hover{text-decoration:underline;color:var(--components-breadcrumb-text-hover)}nv-breadcrumb>a,nv-breadcrumb>button{display:inline-flex;align-self:center;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;text-decoration:none}nv-breadcrumb>a:focus,nv-breadcrumb>a:focus-within,nv-breadcrumb>button:focus,nv-breadcrumb>button:focus-within{outline:none}nv-breadcrumb>a:focus-visible,nv-breadcrumb>a:has(:focus-visible),nv-breadcrumb>button:focus-visible,nv-breadcrumb>button:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 0.5) solid var(--components-breadcrumb-text-hover);outline-offset:calc(var(--focus-outline-offset) * 0.3)}nv-breadcrumb>a:hover,nv-breadcrumb>button:hover{text-decoration:underline;color:var(--components-breadcrumb-text-hover)}nv-breadcrumb span[data-scope=separator]{display:inline-flex;padding-left:var(--breadcrumb-padding-y)}";
5514
5515
  var NvBreadcrumbStyle0 = nvBreadcrumbCss;
5515
5516
 
5516
5517
  /**
@@ -5542,7 +5543,7 @@ class NvBreadcrumb {
5542
5543
  /****************************************************************************/
5543
5544
  //#region RENDER
5544
5545
  render() {
5545
- return (hAsync(Host, { key: '54b25de1375f6a01c5bb5b302474d00c5b26bb33', role: "listitem", "aria-current": this.current ? 'location' : undefined, class: clsx({ 'visually-hidden': this.current }) }, this.type === 'collapsed' ? (hAsync("button", { ref: el => (this.popoverTrigger = el) }, "...")) : (hAsync("slot", null)), this.tooltip && (hAsync("nv-tooltip", { key: '636034df91035bbd6d8e06a53d61a3997a3c5ff2', message: this.tooltip, triggerElement: this.popoverTrigger, placement: "top" })), this.type === 'collapsed' && (hAsync("nv-popover", { key: 'ab5b203d0f40b130d31c5a1830278e3cc2117c00', triggerMode: "click", groupName: "breadcrumbs", triggerElement: this.popoverTrigger }, hAsync("ul", { key: 'acb0cd65282b1091823664a9769509cafbba15db', slot: "content" }, hAsync("slot", { key: 'c343113351979000b071404e8edb1632147415e6' })))), hAsync("span", { key: '9ccdb10f973c408b655c4bf94f312fb5d4ac18c7', "data-scope": "separator" }, "/")));
5546
+ return (hAsync(Host, { key: '8ffa46d8714261924aaab55940c7dc6b36f2a9f9', role: "listitem", "aria-current": this.current ? 'location' : undefined, class: clsx({ 'visually-hidden': this.current }) }, this.type === 'collapsed' ? (hAsync("button", { ref: el => (this.popoverTrigger = el) }, "...")) : (hAsync("slot", null)), this.tooltip && (hAsync("nv-tooltip", { key: 'a2beda9f4b9a5eb71962a1cc060f5467fd2b0134', message: this.tooltip, triggerElement: this.popoverTrigger, placement: "top" })), this.type === 'collapsed' && (hAsync("nv-popover", { key: 'd4a837d21c07697d6ef01506169474bd5cf5a304', triggerMode: "click", groupName: "breadcrumbs", triggerElement: this.popoverTrigger }, hAsync("ul", { key: 'bf089278cfe03ed3ae4beeac57ad67dc029b91cf', slot: "content" }, hAsync("slot", { key: '23f21367fc803a5f176947720e55dba4201f64c4' })))), hAsync("span", { key: 'e1a9414f3be1fd6ef3450f3e7b99d7ff091ec2f0', "data-scope": "separator" }, "/")));
5546
5547
  }
5547
5548
  get el() { return getElement(this); }
5548
5549
  static get style() { return NvBreadcrumbStyle0; }
@@ -5572,7 +5573,7 @@ class NvBreadcrumbs {
5572
5573
  }
5573
5574
  //#region RENDER
5574
5575
  render() {
5575
- return (hAsync(Host, { key: '6dd93d8f605b851f8a1d5de50b04b32b694e73e8', role: "navigation", "aria-label": "breadcrumbs" }, hAsync("ol", { key: 'c116a1e51d947a81686770a5283c8efe44de63ef' }, hAsync("slot", { key: '3afae5018687f3906f207aef913c7b329bcfce2f' }))));
5576
+ return (hAsync(Host, { key: '5ab0f09cb86a92464ffcd06d8129543539bdcddf', role: "navigation", "aria-label": "breadcrumbs" }, hAsync("ol", { key: 'a7624a2400d9a91ec477694bbd3600960e198981' }, hAsync("slot", { key: '7c4102ceebe110377bf212e0695bdec6b455ea74' }))));
5576
5577
  }
5577
5578
  static get style() { return NvBreadcrumbsStyle0; }
5578
5579
  static get cmpMeta() { return {
@@ -5657,14 +5658,16 @@ class NvButton {
5657
5658
  * @param {Event} event - The click event.
5658
5659
  */
5659
5660
  this.handleButtonClick = (event) => {
5661
+ var _a;
5660
5662
  if (this.loading || this.disabled) {
5661
5663
  event.preventDefault();
5662
5664
  return;
5663
5665
  }
5664
- if (this.form && this.type !== ButtonType.Button) {
5666
+ if (this.type !== ButtonType.Button &&
5667
+ (this.form || ((_a = this.internals) === null || _a === void 0 ? void 0 : _a.form))) {
5665
5668
  this.processFormAction();
5666
5669
  }
5667
- else if (this.form) {
5670
+ else if (this.form && this.type === ButtonType.Button) {
5668
5671
  console.warn('Button has a form id but is not of type submit or reset so no form action will be processed.', `Button:`, this.el);
5669
5672
  }
5670
5673
  };
@@ -5734,7 +5737,7 @@ class NvButton {
5734
5737
  /****************************************************************************/
5735
5738
  //#region RENDER
5736
5739
  render() {
5737
- return (hAsync(Host, { key: '2919f1f230ca7c49e4f722832b36cf139f5cebf1', role: "button", tabindex: "0", onClick: this.handleButtonClick }, this.loading && (hAsync("nv-loader", { key: 'e2105d891322b9dbe2c5d6138d59533a13115d96', size: this.size === ButtonSize.Large ? 'sm' : 'xs' })), hAsync("slot", { key: 'ba5757e4ff651db4e5a5e074f0fd72590f94fcf6', name: "leading-icon" }), hAsync("slot", { key: 'b0e0c3869846618b0d8558d247e72271838f0a27' }), hAsync("slot", { key: '1cea166b81b36016e095d65691d9d364436f8d91', name: "trailing-icon" })));
5740
+ return (hAsync(Host, { key: '751fa0a552eaf13a193a15f9c9d6fe0c257b93e8', role: "button", tabindex: "0", onClick: this.handleButtonClick }, this.loading && (hAsync("nv-loader", { key: 'ae8b39b13bfd6cd8a33f7a30afea19e426d0064d', size: this.size === ButtonSize.Large ? 'sm' : 'xs' })), hAsync("slot", { key: 'e1a213305895c9b35d517bedce3a61f49e39642a', name: "leading-icon" }), hAsync("slot", { key: '2e9e5ed4381790f3c1c06f1a4bf5f60bda79bd1c' }), hAsync("slot", { key: 'e960ec4f4eca0a2a941ca7f3b96a4e31603fa633', name: "trailing-icon" })));
5738
5741
  }
5739
5742
  static get formAssociated() { return true; }
5740
5743
  get el() { return getElement(this); }
@@ -6789,7 +6792,7 @@ class NvCalendar {
6789
6792
  * @slot default - Child content of the component.
6790
6793
  */
6791
6794
  render() {
6792
- return (hAsync(Host, { key: '9b09650b368bcc9e0ce3c9508630c2fdeb573674' }, hAsync("div", { key: '57d3ef9b5f450570176132293fb2a102bba51312', class: "datepicker-root" }, hAsync("div", { key: 'aa49f6897b3da87214945d77eb046dc7f8c68b82', class: `datepicker-container ${this.numberOfCalendars === 1 ? 'datepicker-container-single' : ''}` }, hAsync("div", { key: '0939858f254cfc36db1d40e8fdb4e524699a8e91', class: `datepicker-wrapper ${this.numberOfCalendars === 1 ? 'single' : ''}` }, this.shortcutsPlacement === 'left' && this.renderShortcuts(), Array.from({ length: this.numberOfCalendars }, (_, index) => this.renderCalendar(index, index)), this.shortcutsPlacement === 'right' && this.renderShortcuts()), (this.hasShortcuts || this.hasActions) && (hAsync("div", { key: '39df0c4b31203d6fd500a8b97c1c33c87b2e326a', class: "datepicker-controls" }, this.hasShortcuts && this.renderShortcuts(), this.hasActions && this.renderActions())))), hAsync("slot", { key: 'a1433b59ecda88aad2d5589cebd310dff4ad30fb' })));
6795
+ return (hAsync(Host, { key: '49bdf5cc44f9e8f13b0fd61936d3b015e6105d18' }, hAsync("div", { key: 'e1a0fcc20c7c12930df31c36751824a64fae053f', class: "datepicker-root" }, hAsync("div", { key: '48cd6f6d92c41c748fdd05a6d932cbb634e3dfd6', class: `datepicker-container ${this.numberOfCalendars === 1 ? 'datepicker-container-single' : ''}` }, hAsync("div", { key: 'f5d5ca631e448067cbfb04f0bcc74695b5c6fb5e', class: `datepicker-wrapper ${this.numberOfCalendars === 1 ? 'single' : ''}` }, this.shortcutsPlacement === 'left' && this.renderShortcuts(), Array.from({ length: this.numberOfCalendars }, (_, index) => this.renderCalendar(index, index)), this.shortcutsPlacement === 'right' && this.renderShortcuts()), (this.hasShortcuts || this.hasActions) && (hAsync("div", { key: 'cb1ebc42e3616b9c35d147c227a53924fd2c73c8', class: "datepicker-controls" }, this.hasShortcuts && this.renderShortcuts(), this.hasActions && this.renderActions())))), hAsync("slot", { key: 'e9bec2dd219502e8855c6195ebe69bff8fff0da5' })));
6793
6796
  }
6794
6797
  get el() { return getElement(this); }
6795
6798
  static get watchers() { return {
@@ -6857,7 +6860,7 @@ class NvCol {
6857
6860
  /****************************************************************************/
6858
6861
  //#region RENDER
6859
6862
  render() {
6860
- return (hAsync(Host, { key: '2f4052741fbe2e2c67c4ce6e1fd83446e724e216', class: clsx(this.getColSize()) }, hAsync("slot", { key: 'a5803fe2cfcd9ced01e025907759f4859db60470' })));
6863
+ return (hAsync(Host, { key: '8c6efe159aa3b9d853d07897e17045adabf5716c', class: clsx(this.getColSize()) }, hAsync("slot", { key: '5438e2dd941088fde68b17495a4d231cc56fba3c' })));
6861
6864
  }
6862
6865
  static get style() { return NvColStyle0; }
6863
6866
  static get cmpMeta() { return {
@@ -10219,6 +10222,7 @@ class NvDatagrid {
10219
10222
  this.parsedColumns = []; // Parsed array
10220
10223
  this.parsedData = []; // Parsed array
10221
10224
  this.globalFilter = '';
10225
+ this.columnData = [];
10222
10226
  //#endregion STATES
10223
10227
  /****************************************************************************/
10224
10228
  //#region PROPERTIES
@@ -10262,6 +10266,12 @@ class NvDatagrid {
10262
10266
  * @default false
10263
10267
  */
10264
10268
  this.enableGlobalFilter = false;
10269
+ /**
10270
+ * Whether to automatically generate columns if none are provided.
10271
+ * If columns are explicitly set, this property is ignored.
10272
+ * @default false
10273
+ */
10274
+ this.autoGenerateColumns = false;
10265
10275
  this.debouncedFilter = debounce$1((value) => {
10266
10276
  this.globalFilter = value;
10267
10277
  }, 300);
@@ -10288,6 +10298,7 @@ class NvDatagrid {
10288
10298
  */
10289
10299
  cacheTemplates() {
10290
10300
  const columns = Array.from(this.el.querySelectorAll('nv-datagridcolumn'));
10301
+ this.columnData = [];
10291
10302
  columns.forEach((col) => {
10292
10303
  const key = col.accessor;
10293
10304
  const cellSlot = col.querySelector('[slot="cell"]');
@@ -10308,6 +10319,12 @@ class NvDatagrid {
10308
10319
  this.headerTemplateCache.set(key, headerDiv);
10309
10320
  }
10310
10321
  }
10322
+ const colData = {
10323
+ header: col.header,
10324
+ accessor: col.accessor,
10325
+ repeatTemplate: col.hasAttribute('repeat-template'),
10326
+ };
10327
+ this.columnData.push(colData);
10311
10328
  });
10312
10329
  }
10313
10330
  parseDataAndColumns() {
@@ -10334,7 +10351,9 @@ class NvDatagrid {
10334
10351
  accessor: key,
10335
10352
  header: key.charAt(0).toUpperCase() + key.slice(1),
10336
10353
  }));
10337
- this.parseColumnsArray(arrayColumnsConfig, this.parsedColumns);
10354
+ if (this.autoGenerateColumns) {
10355
+ this.parseColumnsArray(arrayColumnsConfig, this.parsedColumns);
10356
+ }
10338
10357
  }
10339
10358
  }
10340
10359
  deepEqual(a, b) {
@@ -10440,6 +10459,25 @@ class NvDatagrid {
10440
10459
  tableOptions.columns = this.generateColumns(validColumns, tableOptions);
10441
10460
  }
10442
10461
  }
10462
+ else {
10463
+ // No columns and data is available
10464
+ const hasData = this.parsedData &&
10465
+ Array.isArray(this.parsedData) &&
10466
+ this.parsedData.length > 0;
10467
+ if (hasData) {
10468
+ // No columns and data is available
10469
+ const firstRow = this.parsedData[0];
10470
+ const arrayColumnsConfig = Object.keys(firstRow).map(key => ({
10471
+ accessor: key,
10472
+ header: key.charAt(0).toUpperCase() + key.slice(1),
10473
+ }));
10474
+ if (this.autoGenerateColumns) {
10475
+ this.parseColumnsArray(arrayColumnsConfig, this.parsedColumns);
10476
+ }
10477
+ tableOptions.data = this.getTableData();
10478
+ tableOptions.columns = this.generateColumns(arrayColumnsConfig, tableOptions);
10479
+ }
10480
+ }
10443
10481
  // Initialize the table
10444
10482
  this.table = createTable(tableOptions);
10445
10483
  }
@@ -10568,7 +10606,25 @@ class NvDatagrid {
10568
10606
  }
10569
10607
  }
10570
10608
  // Handle single-level key lookup
10571
- return key in cellValue ? String(cellValue[key]) : this.fallbackValue;
10609
+ if (key in cellValue) {
10610
+ return String(cellValue[key]);
10611
+ }
10612
+ else if (Array.isArray(cellValue)) {
10613
+ // Handle array of objects
10614
+ const response = cellValue.map((item) => {
10615
+ if (typeof item !== 'object') {
10616
+ return item.toString();
10617
+ }
10618
+ else if (key in item) {
10619
+ return item[key];
10620
+ }
10621
+ else {
10622
+ return item.toString();
10623
+ }
10624
+ });
10625
+ return response.join(', ');
10626
+ }
10627
+ return this.fallbackValue;
10572
10628
  }
10573
10629
  // If cellValue is a primitive (string, number, boolean, etc.), return it as a string
10574
10630
  return (_a = cellValue === null || cellValue === void 0 ? void 0 : cellValue.toString()) !== null && _a !== void 0 ? _a : this.fallbackValue;
@@ -10679,7 +10735,7 @@ class NvDatagrid {
10679
10735
  const rows = !this.table || this.table === undefined || this.parsedData.length === 0
10680
10736
  ? []
10681
10737
  : (_c = (_b = this.table) === null || _b === void 0 ? void 0 : _b.getRowModel()) === null || _c === void 0 ? void 0 : _c.rows;
10682
- return (hAsync(Host, { key: '1c5233899e6940571c3aedefbd65f2ee5ec4f601' }, hAsync("div", { key: '164f47d8c6c758a457b28b610d2660d51ae3707b', class: "hidden" }, hAsync("slot", { key: '792284e9478b8486578e6a9b1e946df16a1f6c14' })), hAsync("slot", { key: 'e8ea5758ec2c918a7f0af963312a114d162aabf5', name: "before" }), this.enableGlobalFilter && this.table && (hAsync("div", { key: '6532e4d4427c5fa5ae9125bf434cd34b182099c9', class: "search-container" }, hAsync("input", { key: 'd7740d417a6e649294a38454ba3f4a6c59e86547', type: "text", value: (_d = this.globalFilter) !== null && _d !== void 0 ? _d : '', onInput: this.handleGlobalFilteringOnInput, placeholder: "Search all columns...", class: "search-input", "aria-label": "Search all columns" }))), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (hAsync("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (hAsync("table", null, this.parsedColumns.length > 0 && headerGroups.length > 0 && (hAsync("thead", null, this.parsedColumns.length > 0 && headerGroups
10738
+ return (hAsync(Host, { key: '94163c2c73d03dca35795bfb536c5743cb3aa0dc' }, hAsync("div", { key: '022776844872a4a6fcf9d7bdc71651e946e83724', class: "hidden" }, hAsync("slot", { key: 'a479cfc2b5ee53aa83450ec784451625e1ae7667' })), hAsync("slot", { key: '9beeb16975a685d8ce05981923c999ab2ffa004e', name: "before" }), this.enableGlobalFilter && this.table && (hAsync("div", { key: '57efcd1ee55fae941a0071000dc665ee76615f32', class: "search-container" }, hAsync("input", { key: 'd7352618ce123a7c14d8ebcc0b228136ae2df66a', type: "text", value: (_d = this.globalFilter) !== null && _d !== void 0 ? _d : '', onInput: this.handleGlobalFilteringOnInput, placeholder: "Search all columns...", class: "search-input", "aria-label": "Search all columns" }))), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (hAsync("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (hAsync("table", null, this.parsedColumns.length > 0 && headerGroups.length > 0 && (hAsync("thead", null, this.parsedColumns.length > 0 && headerGroups
10683
10739
  ? headerGroups === null || headerGroups === void 0 ? void 0 : headerGroups.map(headerGroup => (hAsync("tr", { key: headerGroup.id }, headerGroup.headers.map(header => {
10684
10740
  return (hAsync("th", { key: header.id }, header.isPlaceholder
10685
10741
  ? null
@@ -10689,12 +10745,19 @@ class NvDatagrid {
10689
10745
  const rowId = row.id;
10690
10746
  const visibleCells = row === null || row === void 0 ? void 0 : row.getVisibleCells();
10691
10747
  return (hAsync("tr", { key: rowId }, visibleCells.map(cell => {
10748
+ var _a, _b;
10692
10749
  const cellAccessors = cell.column.id;
10693
10750
  const cellValue = cell.getValue();
10694
- return (hAsync("td", { key: cell.id, "data-row-id": rowId }, this.renderTemplate(this.templateCache.get(cellAccessors), cellValue, row) ||
10695
- (cellValue !== null && cellValue !== void 0 ? cellValue : this.fallbackValue)));
10751
+ return (hAsync("td", { key: cell.id, "data-row-id": rowId }, ((_a = this.columnData.find(x => x.accessor === cellAccessors)) === null || _a === void 0 ? void 0 : _a.repeatTemplate) && Array.isArray(cellValue)
10752
+ ? cellValue.map((item) => {
10753
+ var _a;
10754
+ return (_a = (this.renderTemplate(this.templateCache.get(cellAccessors), item, row) ||
10755
+ item)) !== null && _a !== void 0 ? _a : this.fallbackValue;
10756
+ })
10757
+ : (_b = (this.renderTemplate(this.templateCache.get(cellAccessors), cellValue, row) ||
10758
+ cellValue)) !== null && _b !== void 0 ? _b : this.fallbackValue));
10696
10759
  })));
10697
- }))))), hAsync("slot", { key: '3a3f83daf332e7d38ad9f225cc5a886197283a0a', name: "after" })));
10760
+ }))))), hAsync("slot", { key: '15815f259d3936559c89ff943dc349f99fda34fa', name: "after" })));
10698
10761
  }
10699
10762
  get el() { return getElement(this); }
10700
10763
  static get watchers() { return {
@@ -10719,14 +10782,16 @@ class NvDatagrid {
10719
10782
  "noDataMessage": [513, "no-data-message"],
10720
10783
  "noColumnsNoDataMessage": [513, "no-columns-no-data-message"],
10721
10784
  "enableGlobalFilter": [516, "enable-global-filter"],
10785
+ "autoGenerateColumns": [516, "auto-generate-columns"],
10722
10786
  "table": [32],
10723
10787
  "parsedColumns": [32],
10724
10788
  "parsedData": [32],
10725
- "globalFilter": [32]
10789
+ "globalFilter": [32],
10790
+ "columnData": [32]
10726
10791
  },
10727
10792
  "$listeners$": undefined,
10728
10793
  "$lazyBundleId$": "-",
10729
- "$attrsToReflect$": [["dataJson", "data-json"], ["columnsJson", "columns-json"], ["fallbackValue", "fallback-value"], ["noDataMessage", "no-data-message"], ["noColumnsNoDataMessage", "no-columns-no-data-message"], ["enableGlobalFilter", "enable-global-filter"]]
10794
+ "$attrsToReflect$": [["dataJson", "data-json"], ["columnsJson", "columns-json"], ["fallbackValue", "fallback-value"], ["noDataMessage", "no-data-message"], ["noColumnsNoDataMessage", "no-columns-no-data-message"], ["enableGlobalFilter", "enable-global-filter"], ["autoGenerateColumns", "auto-generate-columns"]]
10730
10795
  }; }
10731
10796
  }
10732
10797
 
@@ -10737,23 +10802,28 @@ class NvDatagrid {
10737
10802
  class NvDatagridcolumn {
10738
10803
  constructor(hostRef) {
10739
10804
  registerInstance(this, hostRef);
10805
+ /**
10806
+ * Whether the column need to be repeated with the template.
10807
+ */
10808
+ this.repeatTemplate = false;
10740
10809
  }
10741
10810
  //#endregion PROPERTIES
10742
10811
  /****************************************************************************/
10743
10812
  //#region RENDER
10744
10813
  render() {
10745
- return (hAsync(Host, { key: '3528bee82ffaa794f35b525ceb246947848e1bc2' }, hAsync("slot", { key: 'd8ac07dcdb1912b331443adcdb13e121cc59fc87', name: "header" }), hAsync("slot", { key: '59dc43378b92ba201f3a549104adedeb9528c3e7', name: "cell" })));
10814
+ return (hAsync(Host, { key: '462144dc8ea401f4f3e3683bdafba983c7147737' }, hAsync("slot", { key: '9af4055567f5199f6b4393e37a8a77b884ce82b9', name: "header" }), hAsync("slot", { key: '36b8cfd9bc974ed9d2a249418ababa504b66091d', name: "cell" })));
10746
10815
  }
10747
10816
  static get cmpMeta() { return {
10748
10817
  "$flags$": 4,
10749
10818
  "$tagName$": "nv-datagridcolumn",
10750
10819
  "$members$": {
10751
10820
  "header": [513],
10752
- "accessor": [513]
10821
+ "accessor": [513],
10822
+ "repeatTemplate": [516, "repeat-template"]
10753
10823
  },
10754
10824
  "$listeners$": undefined,
10755
10825
  "$lazyBundleId$": "-",
10756
- "$attrsToReflect$": [["header", "header"], ["accessor", "accessor"]]
10826
+ "$attrsToReflect$": [["header", "header"], ["accessor", "accessor"], ["repeatTemplate", "repeat-template"]]
10757
10827
  }; }
10758
10828
  }
10759
10829
 
@@ -11384,7 +11454,7 @@ var NvDialogStyle0 = nvDialogCss;
11384
11454
  class NvDialog {
11385
11455
  constructor(hostRef) {
11386
11456
  registerInstance(this, hostRef);
11387
- this.close = createEvent(this, "close", 7);
11457
+ this.openChanged = createEvent(this, "openChanged", 7);
11388
11458
  this.eventsAttached = false;
11389
11459
  /**
11390
11460
  * Use this prop to toggle the visibility of the dialog. Set to true to show
@@ -11411,24 +11481,25 @@ class NvDialog {
11411
11481
  * Handles the close button click.
11412
11482
  */
11413
11483
  this.handleCloseButton = () => {
11414
- this.hide();
11484
+ this.close();
11415
11485
  };
11416
11486
  /**
11417
11487
  * Handles the cancel button click.
11418
11488
  */
11419
11489
  this.handleCancelButton = () => {
11420
- this.hide();
11490
+ this.close();
11421
11491
  };
11422
11492
  /**
11423
- * Handles the dialog close event.
11493
+ * Handles the native dialog close event.
11424
11494
  */
11425
11495
  this.handleDialogClose = () => {
11426
- this.hide();
11427
- this.close.emit();
11496
+ if (this.open) {
11497
+ this.close();
11498
+ }
11428
11499
  };
11429
11500
  this.handleClickOutside = (event) => {
11430
11501
  if (event.target === this.dialogElement) {
11431
- this.hide();
11502
+ this.close();
11432
11503
  event.preventDefault();
11433
11504
  event.stopPropagation();
11434
11505
  }
@@ -11454,17 +11525,20 @@ class NvDialog {
11454
11525
  * Call this method to show the dialog, making it visible on the screen.
11455
11526
  */
11456
11527
  async show() {
11528
+ this.open = true;
11457
11529
  this.preventScroll();
11530
+ // It is recommended to use the .show() or .showModal() method to render dialogs, rather than the open attribute. If a <dialog> is opened using the open attribute, it is non-modal.
11458
11531
  this.dialogElement.showModal();
11459
- this.open = true;
11532
+ this.openChanged.emit(this.open);
11460
11533
  }
11461
11534
  /**
11462
11535
  * Call this method to hide the dialog, making it disappear from view.
11463
11536
  */
11464
- async hide() {
11537
+ async close() {
11538
+ this.open = false;
11465
11539
  this.allowScroll();
11466
11540
  this.dialogElement.close();
11467
- this.open = false;
11541
+ this.openChanged.emit(this.open);
11468
11542
  }
11469
11543
  /**
11470
11544
  * Sets the autofocus on the first focusable element in the dialog.
@@ -11551,7 +11625,7 @@ class NvDialog {
11551
11625
  this.show();
11552
11626
  }
11553
11627
  else {
11554
- this.hide();
11628
+ this.close();
11555
11629
  }
11556
11630
  }
11557
11631
  //#endregion WATCHERS
@@ -11609,7 +11683,7 @@ class NvDialog {
11609
11683
  //#region RENDER
11610
11684
  render() {
11611
11685
  const hasForm = this.form || this.el.querySelector('form');
11612
- return (hAsync(Host, { key: '731274a64589490c56ab51e29de4d5a1b0f46fcb' }, hAsync("slot", { key: '87364a75032d2912402cb7521f8139534b31e836', name: "trigger" }), hAsync("dialog", { key: '689f5acab998db40d17014a70956b227af28fdce', ref: el => (this.dialogElement = el), onClose: this.handleDialogClose, role: "dialog", "aria-modal": "true", "aria-labelledby": "dialog-header", "aria-describedby": "dialog-content", class: clsx({ full: this.full }) }, hAsync("div", { key: '819b8a7c7b57c80f6581d2130ef799bc66697a2a', class: "content" }, !this.undismissable && (hAsync("nv-button", { key: 'bb370ddcf138c75f383a0cd21417a738f49574b7', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleCloseButton, "aria-label": "Close dialog" }, hAsync("nv-icon", { key: '1a6f429045572f88bd5c0ceba0d7745ce074316e', name: "x", size: "sm" }))), this.headerElement ? (hAsync("slot", { name: "header" })) : (hAsync("nv-dialogheader", { id: "dialog-header" })), hAsync("div", { key: '609b0f6c8f902270e497cd31fd6eabe41b889978', class: "content-body", id: "dialog-content" }, hAsync("slot", { key: '7923f02b0aed38de9db5e61ab38b90b4888e3735' })), this.footerElement ? (hAsync("slot", { name: "footer" })) : (hAsync("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDialogCanceled: this.handleCancelButton, undismissable: this.undismissable }))))));
11686
+ return (hAsync(Host, { key: '61eba0f85db952b244052a3ee2ef7b7f87fd326c' }, hAsync("slot", { key: '44c72cba8610442c45386055285fcc81b9fccc4f', name: "trigger" }), hAsync("dialog", { key: 'db3983ac428f7e537037884f5556d97330928238', ref: el => (this.dialogElement = el), onClose: this.handleDialogClose, role: "dialog", "aria-modal": "true", "aria-labelledby": "dialog-header", "aria-describedby": "dialog-content", class: clsx({ full: this.full }) }, hAsync("div", { key: '9ec2a2df306d68ac4cea2c5b2c303d3b491d5e34', class: "content" }, !this.undismissable && (hAsync("nv-button", { key: 'a586462512605de60726b912897fa16c39f8f68f', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleCloseButton, "aria-label": "Close dialog" }, hAsync("nv-icon", { key: '95eb4b492442aa0eb43dcab3f9111d9961421322', name: "x", size: "sm" }))), this.headerElement ? (hAsync("slot", { name: "header" })) : (hAsync("nv-dialogheader", { id: "dialog-header" })), hAsync("div", { key: 'f9c1cf75b545166afc4dbb3d650e90042a83ea7a', class: "content-body", id: "dialog-content" }, hAsync("slot", { key: '7716af492453f1a9f142aaf2a8af06689e4ded82' })), this.footerElement ? (hAsync("slot", { name: "footer" })) : (hAsync("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDialogCanceled: this.handleCancelButton, undismissable: this.undismissable }))))));
11613
11687
  }
11614
11688
  get el() { return getElement(this); }
11615
11689
  static get watchers() { return {
@@ -11629,7 +11703,7 @@ class NvDialog {
11629
11703
  "controlled": [516],
11630
11704
  "full": [516],
11631
11705
  "show": [64],
11632
- "hide": [64]
11706
+ "close": [64]
11633
11707
  },
11634
11708
  "$listeners$": [[4, "keydown", "handleKeyDown"], [4, "click", "handleDocumentClick"], [5, "touchstart", "handleDocumentTouch"]],
11635
11709
  "$lazyBundleId$": "-",
@@ -11725,7 +11799,7 @@ class NvDialogfooter {
11725
11799
  /****************************************************************************/
11726
11800
  //#region RENDER
11727
11801
  render() {
11728
- return (hAsync(Host, { key: '20d86d12b859505ed088fc21ee04d8ee1d9bbb81' }, !this.hasSlot ? (hAsync(Fragment, null, !this.undismissable && (hAsync("nv-button", { onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), hAsync("nv-button", { onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (hAsync("nv-icon", { slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (hAsync("nv-icon", { slot: "trailing-icon", name: this.trailingIcon, size: "sm" }))))) : (hAsync("slot", null))));
11802
+ return (hAsync(Host, { key: '11bfb772cb942d91363b9636f0baf10d33ce6bbd' }, !this.hasSlot ? (hAsync(Fragment, null, !this.undismissable && (hAsync("nv-button", { onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), hAsync("nv-button", { onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (hAsync("nv-icon", { slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (hAsync("nv-icon", { slot: "trailing-icon", name: this.trailingIcon, size: "sm" }))))) : (hAsync("slot", null))));
11729
11803
  }
11730
11804
  static get formAssociated() { return true; }
11731
11805
  get el() { return getElement(this); }
@@ -11781,7 +11855,7 @@ class NvDialogheader {
11781
11855
  /****************************************************************************/
11782
11856
  //#region RENDER
11783
11857
  render() {
11784
- return (hAsync(Host, { key: '6840a5af95a0534339bc0682d829c33d7376a79a' }, !this.hasSlot ? (hAsync(Fragment, null, hAsync("div", { class: "heading" }, this.heading), hAsync("div", { class: "subheading" }, this.subheading))) : (hAsync("slot", null))));
11858
+ return (hAsync(Host, { key: '7658d8f0517e63b3688b938108e8c3a6df788a77' }, !this.hasSlot ? (hAsync(Fragment, null, hAsync("div", { class: "heading" }, this.heading), hAsync("div", { class: "subheading" }, this.subheading))) : (hAsync("slot", null))));
11785
11859
  }
11786
11860
  get el() { return getElement(this); }
11787
11861
  static get style() { return NvDialogheaderStyle0; }
@@ -11798,7 +11872,7 @@ class NvDialogheader {
11798
11872
  }; }
11799
11873
  }
11800
11874
 
11801
- const nvFieldcheckboxCss = "nv-fieldcheckbox{--nv-fieldcheckbox-border-default:var(\n --components-form-field-border-default\n );--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(\n --components-form-field-background-default\n );--nv-fieldcheckbox-background-checked:var(\n --components-form-field-background-checked\n );--nv-fieldcheckbox-background-disabled:var(\n --components-form-field-background-disabled\n );--nv-fieldcheckbox-focus-box-shadow:var(--color-focus-brand);--nv-fieldcheckbox-color-checked:var(\n --components-form-shape-foreground-default\n );--nv-fieldcheckbox-color-disabled:var(\n --components-form-shape-foreground-disabled\n );--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(\n --components-form-shape-foreground-disabled-error\n );--nv-fieldcheckbox-background-checked:var(\n --components-form-field-background-error\n );--nv-fieldcheckbox-outline-color:var(--color-focus-destructive)}nv-fieldcheckbox.label-placement-before{flex-direction:row-reverse}nv-fieldcheckbox[disabled]:not([disabled=false]){opacity:0.5}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:calc(var(--focus-outline-stroke) * 1) 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>.text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}nv-fieldcheckbox>.text-container 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>.text-container .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>.text-container .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)}";
11875
+ const nvFieldcheckboxCss = "nv-fieldcheckbox{--nv-fieldcheckbox-border-default:var(\n --components-form-field-border-default\n );--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(\n --components-form-field-background-default\n );--nv-fieldcheckbox-background-checked:var(\n --components-form-field-background-checked\n );--nv-fieldcheckbox-background-disabled:var(\n --components-form-field-background-disabled\n );--nv-fieldcheckbox-focus-box-shadow:var(--color-focus-brand);--nv-fieldcheckbox-color-checked:var(\n --components-form-shape-foreground-default\n );--nv-fieldcheckbox-color-disabled:var(\n --components-form-shape-foreground-disabled\n );--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(\n --components-form-shape-foreground-disabled-error\n );--nv-fieldcheckbox-background-checked:var(\n --components-form-field-background-error\n );--nv-fieldcheckbox-outline-color:var(--color-focus-destructive)}nv-fieldcheckbox.label-placement-before{flex-direction:row-reverse}nv-fieldcheckbox[disabled]:not([disabled=false]){opacity:0.5}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:calc(var(--focus-outline-stroke) * 1) 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>.text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}nv-fieldcheckbox>.text-container 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>.text-container label.visually-hidden{position:absolute;padding:0;border:0;overflow:hidden;white-space:nowrap;width:1px;height:1px;margin:-1px;clip:rect(0, 0, 0, 0)}nv-fieldcheckbox>.text-container .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>.text-container .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)}";
11802
11876
  var NvFieldcheckboxStyle0 = nvFieldcheckboxCss;
11803
11877
 
11804
11878
  /**
@@ -11918,13 +11992,13 @@ class NvFieldcheckbox {
11918
11992
  /****************************************************************************/
11919
11993
  //#region RENDER
11920
11994
  render() {
11921
- return (hAsync(Host, { key: 'de53d56a14565faed09432cf9caa2ac04009a395', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, hAsync("div", { key: '1b2eaf318015983b76354a0f98ca659748defaf2', class: "input-container" }, hAsync("input", { key: '949928601227543717db9cec038e6f55efa618d1', type: "checkbox", id: this.inputId, name: this.name, autofocus: this.autofocus, 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: el => {
11995
+ return (hAsync(Host, { key: '1d627199f94d133d82bbef8f20de86590d9a3813', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, hAsync("div", { key: 'bca54e59576da2ec632a7ef7c5f8adb6fb3c77fb', class: "input-container" }, hAsync("input", { key: '4f27772a35e74cc945fc4de202099866fbd8a317', type: "checkbox", id: this.inputId, name: this.name, autofocus: this.autofocus, 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: el => {
11922
11996
  if (el) {
11923
11997
  el.indeterminate = this.indeterminate;
11924
11998
  }
11925
- } }), hAsync("span", { key: '6e969279cb7279a1fbe6c1112e77139d274eccfd', class: "icon" }, this.checked && !this.indeterminate && (hAsync("slot", { key: '9655696bf7ecda02105f4ab68743800fec0c6500', name: "checked-icon" }, hAsync("svg", { key: '1fe56dea643795713cc6df292757256d89a7ae11', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, hAsync("path", { key: 'd3ee68e0b4199591794ba39b4cc6aa4b24e61ee6', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (hAsync("slot", { key: 'c598b604c2c3aec0c1d36d36ff243972b33d4f77', name: "indeterminate-icon" }, hAsync("svg", { key: '38eb1768bc6e5d7b5dfdcaafbc39a7618500a1d4', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, hAsync("path", { key: '06170fa3c62bb8793ea76ea30925d1a2b3520a77', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), hAsync("div", { key: '375979126e20eea97fde15f7c3b9237880f40766', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'abe195bf795d754abd5462605440e2fa40c756e1', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, hAsync("slot", { key: '7c25e043ab0bb79cc51594336dfce76086b6c901', name: "label" }, this.label))), (this.description ||
11926
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '365c2da85957590b6c365b95c78309711dec1fc7', class: "description" }, hAsync("slot", { key: '4f95fa143036d8f701cce9e2bd29036414426f38', name: "description" }, this.description))), (this.errorDescription ||
11927
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'c7db38efbfcfb30d8de8ccad513e96019ade14be', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: 'c0ecad03278dc4ebbb43a3b30ff00c5be5051f6e', name: "error-description" }, this.errorDescription))))));
11999
+ } }), hAsync("span", { key: 'd575209c82fe0cbb4f3136a50eb78a9db12cacc0', class: "icon" }, this.checked && !this.indeterminate && (hAsync("slot", { key: 'c265cb54bc4d76962203e8ee0298508e9f96bc58', name: "checked-icon" }, hAsync("svg", { key: '03d326e69ac11bf22bc3ce43a80023f8c2ff8401', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, hAsync("path", { key: 'ae602d5613c82569f89f97d9e1b6994940f03f9c', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (hAsync("slot", { key: '9f90d9b9a63a50bd0ecd4433b390d4c03604e124', name: "indeterminate-icon" }, hAsync("svg", { key: '7681c9b1203240f419fb7cf93644cef77f8438f6', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, hAsync("path", { key: 'c28a5d22adace616ede31baa3a4edbc8cb899f01', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), hAsync("div", { key: '9213ad654a4c4f9576160c80195aec378559f2a0', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '73f6c22fe57659b0618216e69289a5704ac231eb', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, hAsync("slot", { key: 'fd70342006329609c2b0f9b501d0e2e7ad311f07', name: "label" }, this.label))), (this.description ||
12000
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '17fb2ed0060b24b1ef797efe34b53c94a755a1ac', class: "description" }, hAsync("slot", { key: '96d6c1b135f716de40c1223f35a479d3c8cc6c0d', name: "description" }, this.description))), (this.errorDescription ||
12001
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'c63392b6d315d5104087561ca2abf166e190f0f7', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '154010b1ec725f95d88bbf18a9e5d309b73affdd', name: "error-description" }, this.errorDescription))))));
11928
12002
  }
11929
12003
  static get formAssociated() { return true; }
11930
12004
  get el() { return getElement(this); }
@@ -15981,12 +16055,12 @@ class NvFielddate {
15981
16055
  /****************************************************************************/
15982
16056
  //#region RENDER
15983
16057
  render() {
15984
- return (hAsync(Host, { key: 'f4ac8fc14fa8e152377801da2ad06db00a780632' }, ((this.label && this.label.length > 0) ||
15985
- this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '29ad17b261aeb6013b72b03e2f2e960a7395c4ff', htmlFor: this.inputId }, hAsync("slot", { key: 'e478022257fe1b4c8667f9a7813c270664e51fb1', name: "label" }, this.label))), hAsync("nv-popover", { key: 'fb6e74859034ea4a918901794dc50569327246f3', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: '8144b07f3310cfd684fc5eff8e2f4b195afa0a85', slot: "trigger", class: "input-wrapper" }, hAsync("slot", { key: '13719fa680565927f1d4d49c9b8b18fbd8724895', name: "before-input" }), hAsync("div", { key: '7483c3a0f194f1c433a378dbf8def6c644062520', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: 'def0c8bd58dc65d121d6a5259d0ff71cd32df6d0', name: "leading-input" }), hAsync("input", { key: 'e3a9c13f3da9437a7eebd849c89b59f9014312dd', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.singleValue, onInput: this.handleInput, onFocus: this.handleFocus }), hAsync("nv-iconbutton", { key: 'c82ab5489ec156ed6d83f249e69a19230e990bda', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
16058
+ return (hAsync(Host, { key: 'c7df11a97881887a55ebcedcb2b92aa1ac24097e' }, ((this.label && this.label.length > 0) ||
16059
+ this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'a1b973f2de3b2510e7ed9c4a02d38ebc96cf5261', htmlFor: this.inputId }, hAsync("slot", { key: '8a236ef847c3c65994fa47fad12f7c1a84820859', name: "label" }, this.label))), hAsync("nv-popover", { key: '76448ee54d85eeed56bc700b6cf5c92bfbad75b3', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: '1e3610ab28f294d1075aa78a971ee80a2c5f67bc', slot: "trigger", class: "input-wrapper" }, hAsync("slot", { key: '1ddf6042b74ba760238a92a4bd76e1385ed5b964', name: "before-input" }), hAsync("div", { key: 'ed60189f121928bc42fdf6f419a92fe2733ad2a3', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '27d9c9302a8cb2d9d803020e2bc7b86b8c2c673b', name: "leading-input" }), hAsync("input", { key: 'c8edffba97c6c51ef545c218459a8ce80698b3c4', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.singleValue, onInput: this.handleInput, onFocus: this.handleFocus }), hAsync("nv-iconbutton", { key: 'e69bf0edb9726c201659f5a4aa7453eb3f5067ac', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
15986
16060
  ,
15987
- size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: 'dce118ee3c305e63d9ee35ea2862ca6a0d461329', name: "after-input" })), hAsync("div", { key: '5f6ec80b1552401b386e9d18cc77ba6238ded537', slot: "content" }, hAsync("nv-calendar", { key: '100f2ddb0f3f5393143aeaaebc16ced4c84ba8fe', dateFormat: this.dateFormat, singleValue: this.singleValue, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates }))), ((this.description && this.description.length > 0) ||
15988
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '2e04bba3f1578f4cb4e9d9fdff3f969f06965231', class: "description" }, hAsync("slot", { key: '9b5d6314cd11e146cc03febfe0d588b7671371c5', name: "description" }, this.description))), (this.errorDescription ||
15989
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'be836494c6ee4972b6830069517c8402946244bd', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (hAsync("slot", { name: "error-description" })) : (this.errorDescription))), hAsync("slot", { key: '6483eb88eabdda1f3feb3cf63dfabc66fad4ca2f' })));
16061
+ size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: 'd8231b608d9d08abb88e261118f9dd02cf8f5c2c', name: "after-input" })), hAsync("div", { key: 'c8bb3d4a753e8ad311db1947717f1dad109999c1', slot: "content" }, hAsync("nv-calendar", { key: 'bd73bc48c48e708f3655c112b874135003f1a16f', dateFormat: this.dateFormat, singleValue: this.singleValue, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates }))), ((this.description && this.description.length > 0) ||
16062
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'dee7ad7eaa2854756e616ef033264c4a2cf8f96c', class: "description" }, hAsync("slot", { key: '5556239ae6ed962cd2d51944d2f394f8d7741fb0', name: "description" }, this.description))), (this.errorDescription ||
16063
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '82ba5366e053563fe5fc9471493fb99c78bf078f', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (hAsync("slot", { name: "error-description" })) : (this.errorDescription))), hAsync("slot", { key: '1fda22554d69a5998b99d3f8c95362a926b44fb3' })));
15990
16064
  }
15991
16065
  get el() { return getElement(this); }
15992
16066
  static get watchers() { return {
@@ -16368,15 +16442,15 @@ class NvFielddaterange {
16368
16442
  /****************************************************************************/
16369
16443
  //#region RENDER
16370
16444
  render() {
16371
- return (hAsync(Host, { key: '093caee1d7944ccded9cd64f579057492e0d0493' }, ((this.label && this.label.length > 0) ||
16372
- this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '423a473a9d996cc57efdf140440d9c8282c47552', htmlFor: this.startInputId }, hAsync("slot", { key: '9c0e45cc247755fa4e01c2a1f47ed55ee26d5120', name: "label" }, this.label))), hAsync("nv-popover", { key: '7c80be4f96c66bef3f06da587db9f316b2bc7a8b', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: '84d7bb82e508521c80d5aa28e5738b95a6d88301', slot: "trigger", class: "input-wrapper" }, hAsync("slot", { key: '6e26220a3d633dd70a538cc1039db23518013eac', name: "before-input" }), hAsync("div", { key: '6d4cc658e1aa63d62f55acc5cad858a5269f3629', class: "input-container" }, hAsync("slot", { key: 'e71bbd1de9fb33b95ba0e71a8de19e9d0acfeb56', name: "leading-input" }), hAsync("div", { key: '7f48156f1a9c18ff71a6a21aa5ddb8f3e72fa03c', class: "range-inputs" }, hAsync("input", { key: '306a3feeeb8af8e340427a240f36cd38c5be8ee9', id: this.startInputId, type: "text", placeholder: this.startPlaceholder, name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.shouldAutoFocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus }), hAsync("svg", { key: 'b49d1c29dc4cc6c9fd2452212781a326bc673a93', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "icon icon-tabler icons-tabler-outline icon-tabler-arrows-move-horizontal" }, hAsync("path", { key: '39c7a7e3ab83f9231ffd2df9d31d451939868aff', stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), hAsync("path", { key: 'c3ad84053b33be954398f387ee58c680a8f11420', d: "M18 9l3 3l-3 3" }), hAsync("path", { key: 'd2ec3d45a4b599ff12b054c8f027652f64da09f0', d: "M15 12h6" }), hAsync("path", { key: '509aac76d4974dc4a522f6a37d20be6847f8fbc7', d: "M6 9l-3 3l3 3" }), hAsync("path", { key: 'c3e97c1c2b42b66197ce1d7b0b4b09bad8780bea', d: "M3 12h6" })), hAsync("input", { key: 'fa3c9a646a96a078a7e5b5360847f4ba4d5e132d', id: this.endInputId, type: "text", placeholder: this.endPlaceholder, name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: this.required, value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus })), hAsync("nv-iconbutton", { key: 'e38df040bf7450f1aefe5f5d2d4e824935ddb2f9', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: 'd60c491f4688d9e04888af97d027fa7e02492f6c', name: "after-input" })), hAsync("div", { key: '2b54c1c5c19b6dff615850d151cb52bccbd322fc', slot: "content" }, hAsync("nv-calendar", { key: '11d1c70f9e3e5ce1979f7127d828fc06f2b52078', dateFormat: this.dateFormat, rangeValue: this.startValue && this.endValue
16445
+ return (hAsync(Host, { key: '357f98b39d7cade75f24caaba007eec4279cd24e' }, ((this.label && this.label.length > 0) ||
16446
+ this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '0731f0d5ad79d323dade2f023f5a9c3088c744b2', htmlFor: this.startInputId }, hAsync("slot", { key: '75309cb4161e1652f0445ba924c6d7a58de140c3', name: "label" }, this.label))), hAsync("nv-popover", { key: 'f66e2544956ea3dedd249719a4b436077bdc85c0', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: 'c1a3b117056a521f6f778a978b4bc8edac32a111', slot: "trigger", class: "input-wrapper" }, hAsync("slot", { key: '5fbe2aff9687456dd299792016904470386dfb94', name: "before-input" }), hAsync("div", { key: '46726768e9724e983063479e0f301c3d09169669', class: "input-container" }, hAsync("slot", { key: 'f4a405be4a98566bd40dc9d19087d2c5c0ac798f', name: "leading-input" }), hAsync("div", { key: 'd1abc5e239272e57f0fdbf4c0e9e76ca86230996', class: "range-inputs" }, hAsync("input", { key: 'd13584d024b50162d47a74e68592c05206484876', id: this.startInputId, type: "text", placeholder: this.startPlaceholder, name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.shouldAutoFocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus }), hAsync("svg", { key: '641dda60614637939d8ffaa25052e8f2bcb234d8', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "icon icon-tabler icons-tabler-outline icon-tabler-arrows-move-horizontal" }, hAsync("path", { key: 'c6245bd4ffa2bb12df3a295a6a10ce8386b5f54b', stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), hAsync("path", { key: 'c1b3400148e367dae092eecec9da410cfa2e7547', d: "M18 9l3 3l-3 3" }), hAsync("path", { key: '08bc414df54afe457775aec97897ed0acf2dca38', d: "M15 12h6" }), hAsync("path", { key: 'd9136526597df7a8193f71414caba9481248ebf2', d: "M6 9l-3 3l3 3" }), hAsync("path", { key: '1d194b3449c53be3f05458ade789e99998861371', d: "M3 12h6" })), hAsync("input", { key: '5ed58df2a2680b1fa66916f65c2dc48dc648e461', id: this.endInputId, type: "text", placeholder: this.endPlaceholder, name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: this.required, value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus })), hAsync("nv-iconbutton", { key: 'e06b3a9326245e581998a60627634560be7124f0', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: 'bf0ea3f63a5476e7ff4a6954fb200c15a493d6ac', name: "after-input" })), hAsync("div", { key: '32fcfbafe86ce08d87d597d40ad25702dd059ed6', slot: "content" }, hAsync("nv-calendar", { key: 'ef670618ecca933d976adefaec9996f172f95d7a', dateFormat: this.dateFormat, rangeValue: this.startValue && this.endValue
16373
16447
  ? JSON.stringify({
16374
16448
  start: this.startValue,
16375
16449
  end: this.endValue,
16376
16450
  })
16377
16451
  : '', firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, selectionType: "range" }))), ((this.description && this.description.length > 0) ||
16378
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '609d5a80059699ffad7272459975ee4ac04fabd3', class: "description" }, hAsync("slot", { key: '472e10256149d7729186152da03e356da1360ded', name: "description" }, this.description))), (this.errorDescription ||
16379
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'a2e3f0db10b38d4e37616ef0df0c28c31c1480c6', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (hAsync("slot", { name: "error-description" })) : (this.errorDescription))), hAsync("slot", { key: '8ee594b994a8e86909bf47718f20b9d1f2a653db' })));
16452
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '15dbab39d7ceaf406246462812d8a1307dad40bb', class: "description" }, hAsync("slot", { key: '1c5f74676b312a6bbca659a783473da7c3936829', name: "description" }, this.description))), (this.errorDescription ||
16453
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '8f48ac666968cddfdd2c282366ed2f6dccd3013c', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (hAsync("slot", { name: "error-description" })) : (this.errorDescription))), hAsync("slot", { key: '92dc673a2d62a34d3830cf6644b84103b73b695b' })));
16380
16454
  }
16381
16455
  get el() { return getElement(this); }
16382
16456
  static get watchers() { return {
@@ -16503,7 +16577,6 @@ class NvFielddropdown {
16503
16577
  //#region STATE
16504
16578
  /** The text entered by the user for filtering dropdown items. */
16505
16579
  this.filterText = '';
16506
- this.isFilterable = this.filterable;
16507
16580
  this.selectedValues = new Set();
16508
16581
  /**
16509
16582
  * Options configuration for the dropdown items.
@@ -16593,10 +16666,6 @@ class NvFielddropdown {
16593
16666
  handleOpenChanged(event) {
16594
16667
  this.open = event.detail; // Update `open` based on the popover state
16595
16668
  }
16596
- watchFilterableHandler(newValue) {
16597
- this.isFilterable = newValue;
16598
- this.filterable = newValue;
16599
- }
16600
16669
  watchValueHandler(newValue) {
16601
16670
  this.valueChanged.emit(newValue);
16602
16671
  }
@@ -16773,14 +16842,13 @@ class NvFielddropdown {
16773
16842
  /****************************************************************************/
16774
16843
  //#region RENDER
16775
16844
  render() {
16776
- return (hAsync(Host, { key: 'fd9c415beb138bf85bdd914c6143b50a2f2330bf', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '3bd9ea3ac7f1202882511ab6bf0d187975eaaaf6', htmlFor: this.inputId }, hAsync("slot", { key: '0e33a34af113e622401e5d23843fc67afce8c7a0', name: "label" }, this.label))), hAsync("nv-popover", { key: 'cf41abb986f71b746f7b83828eb69244e502626a', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: 'c030054877c24d5091bc9ea91f8b90182a5150b9', class: "input-wrapper", slot: "trigger" }, hAsync("slot", { key: '974aa8736caa3112d2e17a6e6fc33d0271315303', name: "before-input" }), hAsync("div", { key: '7b657cf2dd489e8e22ecd52403a9eba8193c1728', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '26d55cabf26329cde6f7ac93464def081533dd7d', name: "leading-input" }), this.isFilterable || this.disabled || this.readonly ? (hAsync("input", { "data-scope": "focusable", id: this.inputId, type: "search", ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.getSelectedLabel(), required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput, onFocus: this.handleInputFocus, onClick: this.handleInputFocus, onKeyDown: this.handleKeyDown })) : (hAsync("p", { "data-scope": "focusable", id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClick, tabIndex: this.disabled ? -1 : 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocus }, this.getSelectedLabel() || this.value || this.placeholder)), this.isFilterable && this.filterText && this.open && (hAsync("nv-iconbutton", { key: '4dab0dd29d016a68b94681893bd0367c2f2bbccb', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter, "aria-label": "Clear input" })), this.error && (hAsync("nv-icon", { key: '94555a8f663a45ce5e744a2c4f42442ee725556f', name: "alert-circle", class: "validation", size: "md" })), hAsync("nv-iconbutton", { key: 'c52dcc16864b6093cc7c1417d98506c9b4739f4b', "data-scope": "toggle-dropdown", 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, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: 'a78197668881b8fc5fd7522a3b2ebcb4e4d6c1cc', name: "after-input" })), hAsync("div", { key: '161678718ea939874d27b800052f3ff2df94a07d', slot: "content" }, this.parsedOptions.length > 0 ? (hAsync("ul", null, this.parsedOptions.map(option => (hAsync("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))) : (hAsync("slot", { name: "content" })))), (this.description ||
16777
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'b4ea5b9e6d12307201847c8b9979e7c77442c0a9', class: "description" }, hAsync("slot", { key: '7162553aadfbeae787683a1fcf4ac7a1ca4788da', name: "description" }, this.description))), (this.errorDescription ||
16778
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'c96506582bd9c604490ce0d9c4a398ff70b7e814', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '9069e068a0e1624344b248d68799ecf07f10c649', name: "error-description" }, this.errorDescription)))));
16845
+ return (hAsync(Host, { key: '9624c909eb35f0e6d9a9875cbeaec8ffb8122d40', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '27389b0b422af6b7714cea6654ac243d1e9c242f', htmlFor: this.inputId }, hAsync("slot", { key: 'd77573395386ba0c0afa2233f420fa250b86ac9f', name: "label" }, this.label))), hAsync("nv-popover", { key: '0b1dda746e71b810ab6050cd8ef6a6bb9a44866e', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: '437a94f2230891674dd9c820595fcecfcea48e77', class: "input-wrapper", slot: "trigger" }, hAsync("slot", { key: 'e01c2e4bda2806b21c0016bfe710969044994dfc', name: "before-input" }), hAsync("div", { key: '310d387f5cc22ad85232c0f491763a810833befc', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: 'c16096b15be3fe16ad8f5fb4a730050f6f797342', name: "leading-input" }), this.filterable || this.disabled || this.readonly ? (hAsync("input", { "data-scope": "focusable", id: this.inputId, type: "search", ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.getSelectedLabel(), required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput, onFocus: this.handleInputFocus, onClick: this.handleInputFocus, onKeyDown: this.handleKeyDown })) : (hAsync("p", { "data-scope": "focusable", id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClick, tabIndex: this.disabled ? -1 : 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocus }, this.getSelectedLabel() || this.value || this.placeholder)), this.filterable && this.filterText && this.open && (hAsync("nv-iconbutton", { key: '208c945944cddcb1c67a3b560428f21ca056b17b', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter, "aria-label": "Clear input" })), this.error && (hAsync("nv-icon", { key: 'e3797d5e47e54fd328c0bcd86d14e80ee5e21e17', name: "alert-circle", class: "validation", size: "md" })), hAsync("nv-iconbutton", { key: '1ccb8f3bb1ad086339b9888bf89e929164576910', "data-scope": "toggle-dropdown", 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, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: '92a66b2da4f7ada21fdb8199d2b047840050be13', name: "after-input" })), hAsync("div", { key: '51ba49500cb0e03531c5b4b939e76817f432be57', slot: "content" }, this.parsedOptions.length > 0 ? (hAsync("ul", null, this.parsedOptions.map(option => (hAsync("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))) : (hAsync("slot", { name: "content" })))), (this.description ||
16846
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '3cb31c8bfb17db1862af12e817f6646480cd697c', class: "description" }, hAsync("slot", { key: '830538f4e63f9de6a613fcce23a80370d941e9da', name: "description" }, this.description))), (this.errorDescription ||
16847
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '8ffee4c7d2c9a93bc4de344f812ff568e3d6a23e', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '8f534be6233f54e6b43e2271d0a151a02148d5d8', name: "error-description" }, this.errorDescription)))));
16779
16848
  }
16780
16849
  static get formAssociated() { return true; }
16781
16850
  get el() { return getElement(this); }
16782
16851
  static get watchers() { return {
16783
- "filterable": ["watchFilterableHandler"],
16784
16852
  "value": ["watchValueHandler"],
16785
16853
  "options": ["handleOptionsChange"]
16786
16854
  }; }
@@ -16803,11 +16871,10 @@ class NvFielddropdown {
16803
16871
  "readonly": [516],
16804
16872
  "disabled": [516],
16805
16873
  "emptyResult": [513, "empty-result"],
16806
- "filterable": [1540],
16874
+ "filterable": [516],
16807
16875
  "options": [513],
16808
16876
  "autofocus": [516],
16809
16877
  "filterText": [32],
16810
- "isFilterable": [32],
16811
16878
  "selectedValues": [32],
16812
16879
  "parsedOptions": [32],
16813
16880
  "getFilterText": [64]
@@ -16877,7 +16944,7 @@ class NvFielddropdownitem {
16877
16944
  /****************************************************************************/
16878
16945
  //#region RENDER
16879
16946
  render() {
16880
- return (hAsync(Host, { key: 'acee05b9d46a503b8ca19acf9f96577f83686c38', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, hAsync("slot", { key: '07eb6931adeb42c1bd9d83b58ef43d07eb0fd4df' }), !this.composed && (hAsync("div", { key: '4a1c9d51f6d7e2ea3680ddd2294bc5a88c6a354b', class: "text-wrapper" }, hAsync("span", { key: '6f13add04158044d4b3cd00b386ed0ed5cde87fc', "data-scope": "text" }, this.label))), this.selected && (hAsync("nv-icon", { key: '88bfab2accd9b3bb8a2bb8fbbc6bafab8712432e', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
16947
+ return (hAsync(Host, { key: '228a213b0a8acb108676e412ed2aa8bcd3f2e88d', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, hAsync("slot", { key: '4578676f2a58e9a3a3a5173ff4659ca8e65755df' }), !this.composed && (hAsync("div", { key: 'a4f670296e56319007852726fd5fa3dca1ea3d04', class: "text-wrapper" }, hAsync("span", { key: '2b69bca3ee6e1d7e8db57befdfb57bd27c096658', "data-scope": "text" }, this.label))), this.selected && (hAsync("nv-icon", { key: '869900dc55ef7e35550d9de1aea06478e90ba890', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
16881
16948
  }
16882
16949
  get el() { return getElement(this); }
16883
16950
  static get style() { return NvFielddropdownitemStyle0; }
@@ -16942,7 +17009,7 @@ class NvFielddropdownitemcheck {
16942
17009
  };
16943
17010
  }
16944
17011
  render() {
16945
- return (hAsync(Host, { key: '99198b739ef8440c24997cd06c563b2c7b0fbcc0', onClick: this.handleClick }, hAsync("nv-fieldcheckbox", { key: 'f57f89e6c9e889e254809c0587f92d05339b0116', checked: this.checked, name: this.label || this.value, label: this.label || this.value, "label-placement": "after", description: this.description, disabled: this.disabled, tabindex: "-1", role: "option", onCheckedChanged: this.onFieldcheckboxChanged })));
17012
+ return (hAsync(Host, { key: '69e403031200efea98b211ed6d69d3a21338bea0', onClick: this.handleClick }, hAsync("nv-fieldcheckbox", { key: '0d12dbeef8532087d950bfc4e14994821b1cd3f1', checked: this.checked, name: this.label || this.value, label: this.label || this.value, "label-placement": "after", description: this.description, disabled: this.disabled, tabindex: "-1", role: "option", onCheckedChanged: this.onFieldcheckboxChanged })));
16946
17013
  }
16947
17014
  get el() { return getElement(this); }
16948
17015
  static get style() { return NvFielddropdownitemcheckStyle0; }
@@ -17047,10 +17114,6 @@ class NvFieldmultiselect {
17047
17114
  * The text entered by the user for filtering multiselect items.
17048
17115
  */
17049
17116
  this.filterText = '';
17050
- /**
17051
- * Determines whether the multiselect is filterable.
17052
- */
17053
- this.isFilterable = this.filterable;
17054
17117
  /**
17055
17118
  * Delay in milliseconds before the search is triggered when typing in the filter input.
17056
17119
  * @default 300
@@ -17069,7 +17132,7 @@ class NvFieldmultiselect {
17069
17132
  * element.
17070
17133
  */
17071
17134
  this.autofocus = false;
17072
- /**x
17135
+ /**
17073
17136
  * Handle badge close for options mode.
17074
17137
  */
17075
17138
  this.handleBadgeCloseOptions = () => {
@@ -17109,7 +17172,6 @@ class NvFieldmultiselect {
17109
17172
  if (this.isHandlingEscape) {
17110
17173
  return;
17111
17174
  }
17112
- this.open = false;
17113
17175
  this.filterText = '';
17114
17176
  // Only reorder based on the mode
17115
17177
  if (this.modeState === 'options') {
@@ -17131,7 +17193,6 @@ class NvFieldmultiselect {
17131
17193
  if (!this.el.contains(document.activeElement)) {
17132
17194
  // Close the popover without affecting the divider
17133
17195
  this.open = false;
17134
- this.popoverElement.hide();
17135
17196
  // Reset filter if needed
17136
17197
  if (this.filterable) {
17137
17198
  this.filterText = '';
@@ -17151,7 +17212,6 @@ class NvFieldmultiselect {
17151
17212
  const target = event.target;
17152
17213
  if (target.tagName === 'P' || target.tagName === 'SPAN') {
17153
17214
  this.open = true;
17154
- this.popoverElement.show();
17155
17215
  const inputContainer = this.el.querySelector('.input-container');
17156
17216
  if (inputContainer) {
17157
17217
  inputContainer.classList.add('focus-within');
@@ -17173,7 +17233,6 @@ class NvFieldmultiselect {
17173
17233
  const target = event.target;
17174
17234
  if (target.tagName === 'P' || target.tagName === 'SPAN') {
17175
17235
  this.open = true;
17176
- this.popoverElement.show();
17177
17236
  const inputContainer = this.el.querySelector('.input-container');
17178
17237
  if (inputContainer) {
17179
17238
  inputContainer.classList.add('focus-within');
@@ -17255,7 +17314,6 @@ class NvFieldmultiselect {
17255
17314
  if (!this.el.contains(document.activeElement)) {
17256
17315
  // Close the popover without affecting the divider
17257
17316
  this.open = false;
17258
- this.popoverElement.hide();
17259
17317
  // Reset filter if needed
17260
17318
  if (this.filterable) {
17261
17319
  this.filterText = '';
@@ -17271,16 +17329,7 @@ class NvFieldmultiselect {
17271
17329
  if (this.disabled || this.readonly) {
17272
17330
  return;
17273
17331
  }
17274
- if (this.open) {
17275
- this.handlePopoverClose();
17276
- }
17277
- else {
17278
- this.open = true;
17279
- this.popoverElement.show();
17280
- if (!this.filterable) {
17281
- this.focusFirstItem();
17282
- }
17283
- }
17332
+ this.open = !this.open;
17284
17333
  };
17285
17334
  /**
17286
17335
  * Toggle the multiselect popover for slots mode.
@@ -17289,16 +17338,7 @@ class NvFieldmultiselect {
17289
17338
  if (this.disabled || this.readonly) {
17290
17339
  return;
17291
17340
  }
17292
- if (this.open) {
17293
- this.handlePopoverClose();
17294
- }
17295
- else {
17296
- this.open = true;
17297
- this.popoverElement.show();
17298
- if (!this.filterable) {
17299
- this.focusFirstItem();
17300
- }
17301
- }
17341
+ this.open = !this.open;
17302
17342
  };
17303
17343
  //#endregion METHODS
17304
17344
  /****************************************************************************/
@@ -17308,14 +17348,14 @@ class NvFieldmultiselect {
17308
17348
  * @returns {any} The JSX for options mode
17309
17349
  */
17310
17350
  this.renderOptionsMode = () => {
17311
- return (hAsync(Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { htmlFor: this.inputId }, hAsync("slot", { name: "label" }, this.label))), hAsync("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { class: "input-wrapper-multiselect", slot: "trigger" }, hAsync("slot", { name: "before-input" }), hAsync("div", { class: "input-container-multiselect" }, hAsync("slot", { name: "leading-input" }), hAsync("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, hidden: this.selectedValues.length <= 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseOptions }), this.isFilterable || this.disabled || this.readonly ? (hAsync("input", { type: "text", id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.value, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputOptions, onFocus: this.handleInputFocusOptions, onBlur: this.handleInputBlurOptions, onKeyDown: this.handleKeyDown })) : (hAsync("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickOptions, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusOptions, role: "combobox", "aria-expanded": this.open }, hAsync("span", null, this.value || this.placeholder))), this.error && (hAsync("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), hAsync("nv-iconbutton", { "data-scope": "toggle-dropdown", 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.togglePopoverOptions })), hAsync("slot", { name: "after-input" })), hAsync("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, hAsync("ul", { role: "content" }, this.parsedOptions.map(option => (hAsync("nv-fielddropdownitemcheck", { label: option.label, description: option.description, value: option.value, checked: this.selectedValues.includes(option.value), disabled: option.disabled }))), hAsync("hr", { class: "multiselect-divider", style: { display: 'none' } })))), this.renderDescriptions()));
17351
+ return (hAsync(Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { htmlFor: this.inputId }, hAsync("slot", { name: "label" }, this.label))), hAsync("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { class: "input-wrapper-multiselect", slot: "trigger" }, hAsync("slot", { name: "before-input" }), hAsync("div", { class: "input-container-multiselect" }, hAsync("slot", { name: "leading-input" }), this.selectedValues.length > 0 && (hAsync("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseOptions })), this.filterable || this.disabled || this.readonly ? (hAsync("input", { type: "text", id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.value, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputOptions, onFocus: this.handleInputFocusOptions, onBlur: this.handleInputBlurOptions, onKeyDown: this.handleKeyDown })) : (hAsync("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickOptions, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusOptions, role: "combobox", "aria-expanded": this.open }, hAsync("span", null, this.value || this.placeholder))), this.error && (hAsync("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), hAsync("nv-iconbutton", { "data-scope": "toggle-dropdown", 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.togglePopoverOptions })), hAsync("slot", { name: "after-input" })), hAsync("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, hAsync("ul", { role: "content" }, this.parsedOptions.map(option => (hAsync("nv-fielddropdownitemcheck", { label: option.label, description: option.description, value: option.value, checked: this.selectedValues.includes(option.value), disabled: option.disabled }))), hAsync("hr", { class: "multiselect-divider", style: { display: 'none' } })))), this.renderDescriptions()));
17312
17352
  };
17313
17353
  /**
17314
17354
  * Renders the component in slots mode
17315
17355
  * @returns {any} The JSX for slots mode
17316
17356
  */
17317
17357
  this.renderSlotsMode = () => {
17318
- return (hAsync(Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { htmlFor: this.inputId }, hAsync("slot", { name: "label" }, this.label))), hAsync("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { class: "input-wrapper-multiselect", slot: "trigger" }, hAsync("slot", { name: "before-input" }), hAsync("div", { class: "input-container-multiselect", onClick: this.handleInputContainerClickSlots }, hAsync("slot", { name: "leading-input" }), hAsync("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, hidden: this.selectedValues.length <= 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseSlots }), this.isFilterable || this.disabled || this.readonly ? (hAsync("input", { id: this.inputId, 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.handleInputSlots, onFocus: this.handleInputFocusSlots, onBlur: this.handleInputBlurSlots, onKeyDown: this.handleKeyDown })) : (hAsync("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickSlots, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusSlots, role: "combobox", "aria-expanded": this.open }, hAsync("span", null, this.value || this.placeholder))), this.error && (hAsync("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), hAsync("nv-iconbutton", { "data-scope": "toggle-dropdown", 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.togglePopoverSlots })), hAsync("slot", { name: "after-input" })), hAsync("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, hAsync("slot", { name: "content" }))), this.renderDescriptions()));
17358
+ return (hAsync(Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { htmlFor: this.inputId }, hAsync("slot", { name: "label" }, this.label))), hAsync("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { class: "input-wrapper-multiselect", slot: "trigger" }, hAsync("slot", { name: "before-input" }), hAsync("div", { class: "input-container-multiselect", onClick: this.handleInputContainerClickSlots }, hAsync("slot", { name: "leading-input" }), this.selectedValues.length > 0 && (hAsync("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseSlots })), this.filterable || this.disabled || this.readonly ? (hAsync("input", { id: this.inputId, 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.handleInputSlots, onFocus: this.handleInputFocusSlots, onBlur: this.handleInputBlurSlots, onKeyDown: this.handleKeyDown })) : (hAsync("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickSlots, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusSlots, role: "combobox", "aria-expanded": this.open }, hAsync("span", null, this.value || this.placeholder))), this.error && (hAsync("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), hAsync("nv-iconbutton", { "data-scope": "toggle-dropdown", 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.togglePopoverSlots })), hAsync("slot", { name: "after-input" })), hAsync("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, hAsync("slot", { name: "content" }))), this.renderDescriptions()));
17319
17359
  };
17320
17360
  }
17321
17361
  //#endregion PROPERTIES
@@ -17336,14 +17376,6 @@ class NvFieldmultiselect {
17336
17376
  if (this.modeState === 'options') {
17337
17377
  this.handleOptionsChange(this.options);
17338
17378
  }
17339
- // Add the listener for the hide event
17340
- requestAnimationFrame(() => {
17341
- if (this.popoverElement) {
17342
- this.popoverElement.addEventListener('hide', () => {
17343
- this.handlePopoverClose();
17344
- });
17345
- }
17346
- });
17347
17379
  // Specific initialization for slots mode
17348
17380
  if (this.modeState === 'slots') {
17349
17381
  Promise.resolve().then(() => {
@@ -17387,12 +17419,6 @@ class NvFieldmultiselect {
17387
17419
  */
17388
17420
  disconnectedCallback() {
17389
17421
  document.removeEventListener('click', this.handleClickOutside.bind(this));
17390
- // Remove the listener for the hide event
17391
- if (this.popoverElement) {
17392
- this.popoverElement.removeEventListener('hide', () => {
17393
- this.handlePopoverClose();
17394
- });
17395
- }
17396
17422
  }
17397
17423
  /**
17398
17424
  * Emitted when the input loses focus.
@@ -17402,15 +17428,13 @@ class NvFieldmultiselect {
17402
17428
  // Update the open state of popover
17403
17429
  this.open = event.detail;
17404
17430
  if (this.open) {
17431
+ // Filter items only if there is filter text
17405
17432
  if (this.filterText) {
17406
17433
  this.filterItems();
17407
17434
  }
17408
17435
  }
17409
- else if (this.modeState === 'options') {
17410
- this.reorderOptionsContent();
17411
- }
17412
17436
  else {
17413
- this.reorderSlotContent();
17437
+ this.handlePopoverClose();
17414
17438
  }
17415
17439
  }
17416
17440
  /**
@@ -17488,14 +17512,6 @@ class NvFieldmultiselect {
17488
17512
  // Handle value change and update the corresponding multiselect item if it exists
17489
17513
  this.setInitialSelection();
17490
17514
  }
17491
- /**
17492
- * Emitted when the filterable property changes.
17493
- * @param {boolean} newValue - The new value of the filterable property.
17494
- */
17495
- watchFilterableHandler(newValue) {
17496
- this.isFilterable = newValue;
17497
- this.filterable = newValue;
17498
- }
17499
17515
  // Add a listener for the slot content
17500
17516
  handleSlotChange(event) {
17501
17517
  // Check: we only want to reorder if it's the "content" slot
@@ -17834,8 +17850,7 @@ class NvFieldmultiselect {
17834
17850
  (this.inputElement && this.inputElement.contains(event.target))) {
17835
17851
  return;
17836
17852
  }
17837
- // Use handlePopoverClose for all cases
17838
- this.handlePopoverClose();
17853
+ this.open = false;
17839
17854
  }
17840
17855
  /**
17841
17856
  * Handle keyboard events & arrow key navigation.
@@ -17847,7 +17862,6 @@ class NvFieldmultiselect {
17847
17862
  if (!this.open) {
17848
17863
  if (event.key === 'ArrowDown') {
17849
17864
  this.open = true;
17850
- this.popoverElement.show();
17851
17865
  // Focus on the first item if the list is not filterable
17852
17866
  if (!this.filterable) {
17853
17867
  requestAnimationFrame(() => {
@@ -17910,7 +17924,6 @@ class NvFieldmultiselect {
17910
17924
  setTimeout(() => {
17911
17925
  this.isHandlingEscape = false;
17912
17926
  this.open = false;
17913
- this.popoverElement.hide();
17914
17927
  }, 150);
17915
17928
  if (this.inputElement) {
17916
17929
  this.inputElement.blur();
@@ -18019,8 +18032,7 @@ class NvFieldmultiselect {
18019
18032
  get el() { return getElement(this); }
18020
18033
  static get watchers() { return {
18021
18034
  "options": ["handleOptionsChange"],
18022
- "value": ["watchValueHandler"],
18023
- "filterable": ["watchFilterableHandler"]
18035
+ "value": ["watchValueHandler"]
18024
18036
  }; }
18025
18037
  static get style() { return NvFieldmultiselectStyle0; }
18026
18038
  static get cmpMeta() { return {
@@ -18041,7 +18053,7 @@ class NvFieldmultiselect {
18041
18053
  "readonly": [516],
18042
18054
  "disabled": [516],
18043
18055
  "autocomplete": [513],
18044
- "filterable": [1540],
18056
+ "filterable": [516],
18045
18057
  "value": [1537],
18046
18058
  "open": [1540],
18047
18059
  "options": [513],
@@ -18051,7 +18063,6 @@ class NvFieldmultiselect {
18051
18063
  "selectedValues": [32],
18052
18064
  "sortedOptions": [32],
18053
18065
  "filterText": [32],
18054
- "isFilterable": [32],
18055
18066
  "modeState": [32],
18056
18067
  "isHandlingEscape": [32],
18057
18068
  "getFilterText": [64],
@@ -18179,9 +18190,9 @@ class NvFieldnumber {
18179
18190
  /****************************************************************************/
18180
18191
  //#region RENDER
18181
18192
  render() {
18182
- return (hAsync(Host, { key: 'd4a702bbb94585da82e6c40ac83d0f3508564a7b' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '11cfc66c6796aae236796fb5a637aa72ef6c2340', htmlFor: this.inputId }, hAsync("slot", { key: 'bce23d0b1a283ec2d1c1ce0cc6d2c61a6d2cf6e9', name: "label" }, this.label))), hAsync("div", { key: 'c62aa0a4d69fd0235912ef16c89a4d511348aa48', class: "input-wrapper" }, hAsync("slot", { key: '2f7a66f50f7256b7ef5dcc90d112da47a4cac511', name: "before-input" }), hAsync("div", { key: 'b00c8348136289513a1c3d5ef68a08a581fa4d9c', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '9d4cce93ff07c710db6cafb3d5c644fad480a397', name: "leading-input" }), hAsync("input", { key: '44ef9c168f0e6e1ce9166cc896127f79d0794392', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: "number", autofocus: this.autofocus, required: this.required, max: this.max, min: this.min, step: this.step, value: this.value, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), this.error && (hAsync("nv-icon", { key: 'b2335c490f6ff69c3019731e309d450c94f0a881', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '5b259e0b4fce9444d6bd4019a5a9c01b66cb8b67', name: "circle-check", class: "validation", size: "md" })), hAsync("div", { key: 'a22e29f5af849084331ddda2d63339b3517cb0cf', class: "stepper" }, hAsync("nv-iconbutton", { key: '97b7a1646b20fb0804daa5c830c70be05bc6673f', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabIndex: -1 }), hAsync("nv-iconbutton", { key: '2a9cfde9dfa60a3a565a4673a3696f2907e67845', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabIndex: -1 }))), hAsync("slot", { key: '85b9df5f03f45486dec27961d9c98eafa90e008a', name: "after-input" })), (this.description ||
18183
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '1bab44c8766935832acf883732f059333426bd61', class: "description" }, hAsync("slot", { key: 'f148c139053ce336f342a93e6bc9b8ac11872909', name: "description" }, this.description))), (this.errorDescription ||
18184
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'a47082dd9ae82156fde1dd4948e31dcfec804a64', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '9537d8157e4acd4a2c502e271b9b2640c0cc71a6', name: "error-description" }, this.errorDescription)))));
18193
+ return (hAsync(Host, { key: '99076502efb577ad65e43827f4d4959fb1f84055' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '365821e9e3cb25367591680279f05d951f6a5fd9', htmlFor: this.inputId }, hAsync("slot", { key: '92273b991f6c6bd34fe6a302dedb808d46abb71d', name: "label" }, this.label))), hAsync("div", { key: 'ab849355fa1719ed40b5379a8aeee160f98ea798', class: "input-wrapper" }, hAsync("slot", { key: '71e4de7753f3880756cd763a7a8955832066d0e7', name: "before-input" }), hAsync("div", { key: '6da56e990c4ad0329c5d974868e9520cb5ac7a99', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: 'd09eb9350067116d5236142951f0e7ed81d9aa5c', name: "leading-input" }), hAsync("input", { key: '6df1d2f3acb880000b57e5be990f6d843c7d3b2c', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: "number", autofocus: this.autofocus, required: this.required, max: this.max, min: this.min, step: this.step, value: this.value, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), this.error && (hAsync("nv-icon", { key: '85deaf9197825370d0bc7d81bd82cf9fd86b7a05', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '68ed66eb7a9af38f974e515d554eed6e3d28a915', name: "circle-check", class: "validation", size: "md" })), hAsync("div", { key: '16b0e4b303cce4ee7df29ea411e8fee808e5ddb0', class: "stepper" }, hAsync("nv-iconbutton", { key: '6dec84d7c05b467b5178177351e6fa769d2a9433', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabIndex: -1 }), hAsync("nv-iconbutton", { key: '66391588b961555aa20a1974098c114aadceadd1', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabIndex: -1 }))), hAsync("slot", { key: '4549e591971e83d5d14f08b56a8d5357c5d6aaf0', name: "after-input" })), (this.description ||
18194
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'cef21ffaf75f976708d0c8b51f928daea26f1221', class: "description" }, hAsync("slot", { key: 'be36b7c3c6a606847805dc1a50f762a80155d695', name: "description" }, this.description))), (this.errorDescription ||
18195
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '91b5b8c969520bb10bccd59066ddea32d6fa58f3', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '7e0729d42390a1fc62d320841de4e016e01e2485', name: "error-description" }, this.errorDescription)))));
18185
18196
  }
18186
18197
  static get formAssociated() { return true; }
18187
18198
  get el() { return getElement(this); }
@@ -18290,10 +18301,6 @@ class NvFieldpassword {
18290
18301
  * Show/hide the password programmatically.
18291
18302
  */
18292
18303
  this.showPassword = false;
18293
- /**
18294
- * Defines whether the password is visible or not.
18295
- */
18296
- this.showPasswordState = this.showPassword;
18297
18304
  /**
18298
18305
  * Applies focus to the input field as soon as the component is mounted. This
18299
18306
  * is equivalent to setting the native autofocus attribute on an <input>
@@ -18320,11 +18327,17 @@ class NvFieldpassword {
18320
18327
  }
18321
18328
  //#endregion METHODS
18322
18329
  /****************************************************************************/
18330
+ //#region LIFECYCLE
18331
+ componentWillLoad() {
18332
+ this.showPasswordState = this.showPassword;
18333
+ }
18334
+ //#endregion LIFECYCLE
18335
+ /****************************************************************************/
18323
18336
  //#region RENDER
18324
18337
  render() {
18325
- return (hAsync(Host, { key: '38452ffde2d780abd369e0a4a395736c99ba3698' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'aba6b414793d44094dee6c80ee5f08ee8a6ff563', htmlFor: this.inputId }, hAsync("slot", { key: 'd69148906088a40b1f43b3734870d45e279af814', name: "label" }, this.label))), hAsync("div", { key: '9f23cf52be9502bbeae61b7c288c0232d64c4503', class: "input-wrapper" }, hAsync("slot", { key: '75317dbe9b44d2cc83745c12b1d856d0f3a70559', name: "before-input" }), hAsync("div", { key: 'c522f4b7b8346a34a345f9027b06090e596da5db', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: 'd816df16413183ab21887d90527dd66b6f36e922', name: "leading-input" }), hAsync("input", { key: '02d98198a48492e70738177651d69d606ea5a350', id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, type: this.showPasswordState ? 'text' : 'password', inputMode: this.mode, value: this.value, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), (this.success || this.error) && (hAsync("nv-icon", { key: '796e8f87c15ae450b79973f66478491c53d43c54', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (hAsync("nv-iconbutton", { key: 'c8b3c5605caad59c387f7211137de382692a6155', name: this.showPasswordState ? 'eye' : 'eye-off', size: "md", emphasis: "lower", onClick: this.togglePasswordVisibility, "aria-label": this.showPasswordState ? 'Hide password' : 'Show password', "aria-pressed": this.showPasswordState.toString() }))), hAsync("slot", { key: '5f78d51ab2a4f095d136bb912b8d8c98f10bb297', name: "after-input" })), (this.description ||
18326
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '87a876d189f8f66cbbf9d558316f8962bf8ef2db', class: "description" }, hAsync("slot", { key: 'e387e44b850db2cd0aebecadffe1395312049454', name: "description" }, this.description))), (this.errorDescription ||
18327
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '4b723b9d4a68f3536565e1cb4b701ef2c0aaad4c', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '896c7c76f4eb9ed88914a37edd1c832cf94e8b46', name: "error-description" }, this.errorDescription)))));
18338
+ return (hAsync(Host, { key: '79c87deb52017b4500b695a513dc4100e7359d97' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'bd4785278a21ea61de41ed694e429228286f853b', htmlFor: this.inputId }, hAsync("slot", { key: '7c3cd8188e35aa00c0377ffdefb1d5e9c380ac59', name: "label" }, this.label))), hAsync("div", { key: '61f0e04b056ba1b08e9e3ede89d5975b4549705f', class: "input-wrapper" }, hAsync("slot", { key: '96070a1d584277de90962700a9e6764f0bd36a38', name: "before-input" }), hAsync("div", { key: 'ea04afadccfb828f5d081b1f30ef3d4619659b80', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: 'cfd54cbdf3d9d03c31cdd781491097cc6db405bd', name: "leading-input" }), hAsync("input", { key: '04bf191014aef621d314973d531533ffa50d8b2f', id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, type: this.showPasswordState ? 'text' : 'password', inputMode: this.mode, value: this.value, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), (this.success || this.error) && (hAsync("nv-icon", { key: 'b2e57a5f496bda92dbb877850e67ffb921a288df', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (hAsync("nv-iconbutton", { key: '2664cbcbfd7aa04a5292a6821fa79a1cb12e1578', name: this.showPasswordState ? 'eye' : 'eye-off', size: "md", emphasis: "lower", onClick: this.togglePasswordVisibility, "aria-label": this.showPasswordState ? 'Hide password' : 'Show password', "aria-pressed": this.showPasswordState.toString() }))), hAsync("slot", { key: '959a8d098548c85db4b1a8f9c0d2d8a8cdc5e386', name: "after-input" })), (this.description ||
18339
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'c7b85cb8d2f1f42d133e9937bccb8d3edd9d1cf8', class: "description" }, hAsync("slot", { key: 'fd41c7389e871ad4d57df283f9872c6964176bb3', name: "description" }, this.description))), (this.errorDescription ||
18340
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '014db98dbf132a493b8842ffcc45ced808e9f52c', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '3909a8e0ac73dae4731e23806875f26bfb2185ff', name: "error-description" }, this.errorDescription)))));
18328
18341
  }
18329
18342
  static get formAssociated() { return true; }
18330
18343
  get el() { return getElement(this); }
@@ -18451,9 +18464,9 @@ class NvFieldradio {
18451
18464
  /****************************************************************************/
18452
18465
  //#region RENDER
18453
18466
  render() {
18454
- return (hAsync(Host, { key: 'c600a157513b8401903807773cbd269008b35197', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, hAsync("input", { key: '7861b2a7e9f6b5b4bef5f74781401eb4fb3c746d', type: "radio", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: this.checked, disabled: this.disabled }), hAsync("div", { key: '3612e5a6667d8bb1800a724386f84debe33cc0f4', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'e9caab357d06e25dab7b7b72020f56029d89f373', htmlFor: this.inputId }, hAsync("slot", { key: '04441ea9acb42628cf0618c566e9d7be159d962d', name: "label" }, this.label))), (this.description ||
18455
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '190427a3db123787a85f2abb72e47192a06586b4', class: "description" }, hAsync("slot", { key: '6799968f7ebbc302890c4544fe16f5928ac2a0e8', name: "description" }, this.description))), (this.errorDescription ||
18456
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'b37bd97668df39b1160c581f0b62a5140ada9b59', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '7a715e8cc5dd5f41173d3b4d5d7cc229a787e2f9', name: "error-description" }, this.errorDescription))))));
18467
+ return (hAsync(Host, { key: 'fd326df67c5617156ef00d50d789d3328584788e', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, hAsync("input", { key: 'fae44c510d1f43c508a837b94cc16f8094617813', type: "radio", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: this.checked, disabled: this.disabled }), hAsync("div", { key: 'd4e9378e300691439bf57a580e8381a8142d8c78', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '56cdbda0feb823825f5ba5e125a478db23321379', htmlFor: this.inputId }, hAsync("slot", { key: '83e67f52228b7d6313fd35cd4a46edeeabc83a1b', name: "label" }, this.label))), (this.description ||
18468
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '8bb15a57d23f2826dfff31a7a3101ed263618e5f', class: "description" }, hAsync("slot", { key: '6d339430073e1eada1557ea762d9abeda7f338e1', name: "description" }, this.description))), (this.errorDescription ||
18469
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'd4b3c8ef17c70442839c61cf19bc0d9598be57c2', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: 'ca609be33a5253f85ed5101786c1981101f83743', name: "error-description" }, this.errorDescription))))));
18457
18470
  }
18458
18471
  static get formAssociated() { return true; }
18459
18472
  get el() { return getElement(this); }
@@ -18833,13 +18846,13 @@ class NvFieldselect {
18833
18846
  * @returns {HTMLStencilElement} The HTML element to render.
18834
18847
  */
18835
18848
  render() {
18836
- return (hAsync(Host, { key: '2d7fbe4141cbef0243b0c08c5af89e6249f20c09' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'e8a03bde5c1c35d24d4ebe0b266aa3a653e6f763', htmlFor: this.inputId }, hAsync("slot", { key: '9a2ec1d03f76c5349fc93c99f3a409ea47a24f62', name: "label" }, this.label))), hAsync("div", { key: '6226069dcdc067cec3f6a3eaaf9ba536baf9ddf9', class: "select-wrapper" }, hAsync("slot", { key: 'f94e5b37a4008571913260b371aa2a710ba16fad', name: "before-input" }), hAsync("div", { key: '9774c2ee0b8b0b4159e90d2ac4b1bd98616e9554', class: "select-container", onClick: this.handleSelectContainerClick }, hAsync("slot", { key: 'e84d98a96ab47916d8332968f1d94946251582b3', name: "leading-input" }), this.internalReadonly && (hAsync("input", { key: 'c0a22ae71c95e0b22a8d1a8dbd5a6d447970147b', id: this.inputId + '-readonly', type: "text", value: this.computedDisplayValue, readonly: true, class: "readonly-input", "aria-readonly": "true", "aria-label": this.label, "aria-describedby": this.error
18849
+ return (hAsync(Host, { key: '017364e5a5df156be42741e3acc4457414f8e6ee' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '2e4b247018a759307ea5e3920a4066a2c1c14e92', htmlFor: this.inputId }, hAsync("slot", { key: '1bbad9d0b4be9fc35c0cc63859ba6dcdb4375377', name: "label" }, this.label))), hAsync("div", { key: '572073518f738014fd27d8de84fc856a01889636', class: "select-wrapper" }, hAsync("slot", { key: '490730d4fc16f78284a8ca40ab952870eb01b503', name: "before-input" }), hAsync("div", { key: 'a92ea3295f64ce1c6d8da5cf439d7c796493fdf5', class: "select-container", onClick: this.handleSelectContainerClick }, hAsync("slot", { key: 'f80e732415ec42a4c7b02922f1b50d2cf3950e88', name: "leading-input" }), this.internalReadonly && (hAsync("input", { key: 'b1ee7e799434d0e36d1f98031338137347bcedea', id: this.inputId + '-readonly', type: "text", value: this.computedDisplayValue, readonly: true, class: "readonly-input", "aria-readonly": "true", "aria-label": this.label, "aria-describedby": this.error
18837
18850
  ? `${this.inputId}-error`
18838
- : `${this.inputId}-description` })), hAsync("select", { key: '792ea3aa8c7cc04110951e7896ff54c0e097fb9d', id: this.inputId, ref: el => (this.selectElement = el), name: this.name, autofocus: this.autofocus, disabled: this.disabled, required: this.required, multiple: this.multiple, onChange: this.handleSelectChange, class: this.internalReadonly ? 'hidden' : '', "aria-label": this.label, "aria-describedby": this.error
18851
+ : `${this.inputId}-description` })), hAsync("select", { key: '9a8b48a7a41522b09b65a5c76b7e861b5d6eef49', id: this.inputId, ref: el => (this.selectElement = el), name: this.name, autofocus: this.autofocus, disabled: this.disabled, required: this.required, multiple: this.multiple, onChange: this.handleSelectChange, class: this.internalReadonly ? 'hidden' : '', "aria-label": this.label, "aria-describedby": this.error
18839
18852
  ? `${this.inputId}-error`
18840
- : `${this.inputId}-description` }, this.parsedOptions.length > 0 ? (this.parsedOptions.map(option => (hAsync("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (hAsync("slot", null))), hAsync("div", { key: 'c05c31e672ac5e63c6935aa1457f180860193af3', class: "select-icons" }, this.error && (hAsync("nv-icon", { key: 'b8a51b02da5a15bed729022268a298fe4242af78', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '2e54e71e2ca509762616baa546ade6362e9b3607', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (hAsync("nv-iconbutton", { key: '7d7548609c904d261ffc347a24bf5fcfe10c3896', name: "chevron-down", size: "md", emphasis: "lower", tabIndex: -1 })))), hAsync("slot", { key: '22741934d8e09a384c9b1a84b773e3dbbd5ea061', name: "after-input" })), (this.description ||
18841
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '2b352c4845ed135b03429b8382b8b7c79a1468ea', class: "description", id: `${this.inputId}-description` }, hAsync("slot", { key: 'b1afb4fa2a554d5ce8a9e8d7c1a122baef2af671', name: "description" }, this.description))), (this.errorDescription ||
18842
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '7a472dfd9df5d9e1a2bab533d24d6f3656072a2d', class: "error-description", id: `${this.inputId}-error` }, hAsync("slot", { key: '70bf1c4c53a26f4aaeb72cce36260560e5d098fd', name: "error-description" }, this.errorDescription)))));
18853
+ : `${this.inputId}-description` }, this.parsedOptions.length > 0 ? (this.parsedOptions.map(option => (hAsync("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (hAsync("slot", null))), hAsync("div", { key: '7ecac0a159ca2b4925b8a940c80f8aef94a2ca1d', class: "select-icons" }, this.error && (hAsync("nv-icon", { key: 'fd3d75a5c621a49f45550d9596f4910ef01a56b2', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '45b3e11a48f5f700ac9c21ba276ee9c93640d0d9', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (hAsync("nv-iconbutton", { key: '07171fbe1fc88f4c7af0513ed718376ce1a1aeb3', name: "chevron-down", size: "md", emphasis: "lower", tabindex: -1 })))), hAsync("slot", { key: '096bf49c55359062fc790d31660b331a5988ad22', name: "after-input" })), (this.description ||
18854
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '7b292eeb3a1ca29b7cb1b631926b591183ab50fc', class: "description", id: `${this.inputId}-description` }, hAsync("slot", { key: 'a2fdc1929f7aa2571cd11d01e2c1ed165afb856c', name: "description" }, this.description))), (this.errorDescription ||
18855
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '3d189e87ff7cee9a43ccad85c6e84fcdb3343f1f', class: "error-description", id: `${this.inputId}-error` }, hAsync("slot", { key: '515059b75c8e2c1e600a28124135cbd7af87ccbf', name: "error-description" }, this.errorDescription)))));
18843
18856
  }
18844
18857
  static get formAssociated() { return true; }
18845
18858
  get el() { return getElement(this); }
@@ -18992,9 +19005,9 @@ class NvFieldtext {
18992
19005
  /****************************************************************************/
18993
19006
  //#region RENDER
18994
19007
  render() {
18995
- return (hAsync(Host, { key: '322d1e58130e04d69a5f14343fc5325c299e7d74' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '12cc27c3d8e7791db20ba39be84a261708ac1b81', htmlFor: this.inputId }, hAsync("slot", { key: '01cbeb48a79294d3c10283891fcdd68fce8b5597', name: "label" }, this.label))), hAsync("div", { key: 'd13eccee6cb016d49b9e2bba0a6333ea9ddb7cb0', class: "input-wrapper" }, hAsync("slot", { key: 'af2ffdddf6f9ae4f1af16a1710a0f829ef30196c', name: "before-input" }), hAsync("div", { key: 'b598d6b8709bd56051b25a12705a3b785cc5c7d5', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: 'c3006ed040dee98b443467e5d4a081fb4404efd8', name: "leading-input" }), hAsync("input", { key: '057f8836541e78d465083174ec029ed9ba56d950', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: this.type, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, autofocus: this.autofocus, autocomplete: this.autocomplete, multiple: this.multiple, value: this.value, onInput: this.handleInput }), this.error && (hAsync("nv-icon", { key: '1c961288b97eb8f2580fd421b03db1f275709d47', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '4ffaf30cf97c5c6e69709abcca3db5ef7fa2598e', name: "circle-check", class: "validation", size: "md" }))), hAsync("slot", { key: '46257b784d082071ed717f37aeac1e1bbffaeac3', name: "after-input" })), (this.description ||
18996
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'dad03cc1954a17b4d9075f5c0949abdb83bee15c', class: "description" }, hAsync("slot", { key: '62c4d6315ad5eff50c86e289d7bcc61afacf64bc', name: "description" }, this.description))), (this.errorDescription ||
18997
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '3cd561cd634519ae18da4edfe8ec35dd2000a4ce', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '7fc992b0285652f46530ca23f12e626752dd1282', name: "error-description" }, this.errorDescription)))));
19008
+ return (hAsync(Host, { key: 'ffcbe1c8f14257f6380d28f2c50fe8b77ae73027' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '3b84598a05eedc7625312def01ca726dc68fa247', htmlFor: this.inputId }, hAsync("slot", { key: '8c8f0d2f86742dd0699b8b309cbea0dca1d294ce', name: "label" }, this.label))), hAsync("div", { key: 'c2adf3acc7780a7eba5d4762b7275d1c63304bf5', class: "input-wrapper" }, hAsync("slot", { key: 'c49756d1daaba476222ebda2df4854b1094655b3', name: "before-input" }), hAsync("div", { key: '723c34f09e6c073bdef2db799246da72ffd52703', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '4e94bcac72ac2e5147a8d5e33396a13359820009', name: "leading-input" }), hAsync("input", { key: '96cbf022912735445467320600e372fba03de4e4', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: this.type, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, autofocus: this.autofocus, autocomplete: this.autocomplete, multiple: this.multiple, value: this.value, onInput: this.handleInput }), this.error && (hAsync("nv-icon", { key: '39a55c42a49006d316e5dcc5389793c6264d2b09', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: 'bf1b6040dbb392b5c46b3b9af665d7cdc7389d29', name: "circle-check", class: "validation", size: "md" }))), hAsync("slot", { key: 'bb2256bf3fc5165e61f162fe89dd7be564a989c0', name: "after-input" })), (this.description ||
19009
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '3d2c5a89247042184b3a110ca7982b793b0bd86a', class: "description" }, hAsync("slot", { key: '2358cc5217d6ba65b4d4baa927b397dbe62982e8', name: "description" }, this.description))), (this.errorDescription ||
19010
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'cdef4117d71b8a6bdde19fea1a0f4070ba02ab2e', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '66a2b100ab641aa9c2e22fdfc9a987bb86cd44a0', name: "error-description" }, this.errorDescription)))));
18998
19011
  }
18999
19012
  static get formAssociated() { return true; }
19000
19013
  get el() { return getElement(this); }
@@ -19209,9 +19222,9 @@ class NvFieldtextarea {
19209
19222
  /****************************************************************************/
19210
19223
  //#region RENDER
19211
19224
  render() {
19212
- return (hAsync(Host, { key: '9edf7962ccdff743da72152b98f03d27c8f14f1f' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'c3f365dc9d7b27464ead7b80d2bf29ab830cc8df', htmlFor: this.inputId }, hAsync("slot", { key: 'bcfc6ada8c84894be98adcc58c5d5dbc19da5693', name: "label" }, this.label))), hAsync("div", { key: 'e6341cf7d87d9e0d2534ddb0401b595970beabfb', class: "textarea-wrapper" }, hAsync("div", { key: '80e0b0bc0cb7ec4b237b032e0a4c00a3d6a2e16a', class: "textarea-container", onClick: this.handleTextareaContainerClick }, hAsync("textarea", { key: '20bcce08c32dddaa9fcd54b5fca5724318f31010', id: this.inputId, ref: e => (this.textareaElement = e), placeholder: this.placeholder, autofocus: this.autofocus, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, autocomplete: "off", value: this.value, onInput: this.handleTextarea, rows: this.rows, class: clsx(this.resize === 'none' && 'resize-none', this.resize === 'vertical' && 'resize-y', this.resize === 'horizontal' && 'resize-x', this.resize === 'both' && 'resize') }))), (this.description ||
19213
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'd3f26d3a2f81d5009e55e532ce8079433bbe60bb', class: "description" }, hAsync("slot", { key: 'd9f16157d8ea355d57d8935aec45aa1fcaba2b68', name: "description" }, this.description))), (this.errorDescription ||
19214
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'c4b838a46fc477530dcb6101f8d8758d99466f65', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '3370a1b2d89a1d24a9e3ed93aebf04751aaa1e86', name: "error-description" }, this.errorDescription)))));
19225
+ return (hAsync(Host, { key: 'b5d6707fa7ebbd64f3b1616c9f61746f394e347d' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '6fd76411b08da2d22d86d0a4ef81ce99534d0112', htmlFor: this.inputId }, hAsync("slot", { key: '634339fa1bd5ccb2627dab03117535b2bc09b9cc', name: "label" }, this.label))), hAsync("div", { key: '6a521f191ebae60a874c4d48a1872b7a61181c54', class: "textarea-wrapper" }, hAsync("div", { key: 'ecca606c8775282c5b21b8f8e12a9c98df7aa410', class: "textarea-container", onClick: this.handleTextareaContainerClick }, hAsync("textarea", { key: '7547d01134c155c9f76e1978f08075d1e8ff50fd', id: this.inputId, ref: e => (this.textareaElement = e), placeholder: this.placeholder, autofocus: this.autofocus, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, autocomplete: "off", value: this.value, onInput: this.handleTextarea, rows: this.rows, class: clsx(this.resize === 'none' && 'resize-none', this.resize === 'vertical' && 'resize-y', this.resize === 'horizontal' && 'resize-x', this.resize === 'both' && 'resize') }))), (this.description ||
19226
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'fc436e3cc4dbdf8730920173a74f4da249678e39', class: "description" }, hAsync("slot", { key: '27aa71e73818742bc92f3860dd0071eef182474a', name: "description" }, this.description))), (this.errorDescription ||
19227
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'cc3733783b2f5985358d1c21e502845f7bab8406', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '1db584479ed23d616d88dc9fc28fe1e0acd7a463', name: "error-description" }, this.errorDescription)))));
19215
19228
  }
19216
19229
  static get formAssociated() { return true; }
19217
19230
  get el() { return getElement(this); }
@@ -20235,26 +20248,26 @@ class NvFieldtime {
20235
20248
  }, key: `${option}-${index}`, onClick: e => this.handleTimeOptionClick(e, type) }, option)))));
20236
20249
  }
20237
20250
  render() {
20238
- return (hAsync(Host, { key: '2bd5109091c0e07418ce9565e87384f386428c7f', onclick: e => this.handleHostClick(e) }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'fb435b88f17474c69e9400f3f74545a6e1b9e71c', htmlFor: this.inputId }, hAsync("slot", { key: 'c252c0daf40bec73e405ad53a06ca84de823b3d7', name: "label" }, this.label))), hAsync("nv-popover", { key: '009f40e96c5cb95ef985909e8a0edfa9df3e7c7f', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: 'd22fa1424d88309d07dbbd73a8c1d25d21392329', class: "input-wrapper", slot: "trigger" }, hAsync("slot", { key: 'e56bcfab83d254bc7df35ac84481b5ef67b23ca2', name: "before-input" }), hAsync("div", { key: '20ce8289edbfbddd54424dd86e672ab4689cd51d', class: "input-container" }, hAsync("slot", { key: '98c4d58900edfc2b618f6882be0832eae4ce1e65', name: "leading-input" }), startsWithIgnoreCase(this.format, 'HH') && [
20239
- hAsync("input", { key: '9317fddf11f5715a585f784cda78b54aa62be063', ref: el => (this.inputElements[TimeType.Hours] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.hours, onInput: e => this.handleInputChange(e, TimeType.Hours), placeholder: this.format.includes('hh') ? 'hh' : 'HH', inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Hours), name: this.name
20251
+ return (hAsync(Host, { key: 'd9b980ce6cf9d4c00da007608b03261983ae49b7', onclick: e => this.handleHostClick(e) }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'ff69b45e9b30ee4b0dd2034c1e29b698796f8796', htmlFor: this.inputId }, hAsync("slot", { key: '6cfd62e39f69451c326b5266a3c8b33520366ac7', name: "label" }, this.label))), hAsync("nv-popover", { key: 'f2c68b4286769203b9f4af8cc61375dc60795589', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: 'eb45e4d83e5d9754336bc7d03a2937931fa56378', class: "input-wrapper", slot: "trigger" }, hAsync("slot", { key: '644faecac37927eae57da8eb039a79154ebf5787', name: "before-input" }), hAsync("div", { key: '10b656c08d991100a5ef0fe87299af7a3d0a7831', class: "input-container" }, hAsync("slot", { key: '3908fc76c97f4a362974199f30bdc2535172e4dc', name: "leading-input" }), startsWithIgnoreCase(this.format, 'HH') && [
20252
+ hAsync("input", { key: 'b68e32193ab056a230138dfbb2d14240fa700b1d', ref: el => (this.inputElements[TimeType.Hours] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.hours, onInput: e => this.handleInputChange(e, TimeType.Hours), placeholder: this.format.includes('hh') ? 'hh' : 'HH', inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Hours), name: this.name
20240
20253
  ? `${TimeType.Hours}-${this.name}`
20241
20254
  : TimeType.Hours, id: this.inputId, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
20242
20255
  ], this.format.includes('mm') && [
20243
- hAsync("span", { key: '044a1a102651f107f84815479428737a01ec9bc5' }, ":"),
20244
- hAsync("input", { key: '19facb2211d8e3505a66effb65357e40cd5d4cdb', ref: el => (this.inputElements[TimeType.Minutes] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.minutes, onInput: e => this.handleInputChange(e, TimeType.Minutes), placeholder: "mm", inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Minutes), name: this.name
20256
+ hAsync("span", { key: 'ebef6f727c34aa8f9348c65c02ab970a409cce2e' }, ":"),
20257
+ hAsync("input", { key: 'd4aa6001b2f462d64eae1bdda7f46d97a926802e', ref: el => (this.inputElements[TimeType.Minutes] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.minutes, onInput: e => this.handleInputChange(e, TimeType.Minutes), placeholder: "mm", inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Minutes), name: this.name
20245
20258
  ? `${TimeType.Minutes}-${this.name}`
20246
20259
  : TimeType.Minutes, id: `${this.inputId}-minutes`, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
20247
20260
  ], this.format.includes('ss') && [
20248
- hAsync("span", { key: '239c6cee81a91eaa37c66dad419838eac713dc52' }, ":"),
20249
- hAsync("input", { key: '86b90a830be379c88c93b56cb19ff2f7905ae90a', ref: el => (this.inputElements[TimeType.Seconds] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.seconds, onInput: e => this.handleInputChange(e, TimeType.Seconds), placeholder: "ss", inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Seconds), name: this.name
20261
+ hAsync("span", { key: '9ce4067c241aae590f4cd4383b1ece3a7510a2c7' }, ":"),
20262
+ hAsync("input", { key: 'f42706c6e606c59e739b0460b9c9016c796542da', ref: el => (this.inputElements[TimeType.Seconds] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.seconds, onInput: e => this.handleInputChange(e, TimeType.Seconds), placeholder: "ss", inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Seconds), name: this.name
20250
20263
  ? `${TimeType.Seconds}-${this.name}`
20251
20264
  : TimeType.Seconds, id: `${this.inputId}-seconds`, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
20252
- ], hAsync("nv-iconbutton", { key: '2aed05d3ba441bb145e43b480d3c30b227559fd5', name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide time picker' : 'Show time picker', "aria-pressed": this.open.toString(), onClick: () => this.HandleDropdownIconClick() }), this.error && (hAsync("nv-icon", { key: '88e621d6753e3b4661a49d612133eff268abe459', name: "alert-circle", class: "validation", size: "sm" })), this.success && (hAsync("nv-icon", { key: 'c9493053d4c60c9826517e63d8bdb9d3d915e5a4', name: "circle-check", class: "validation", size: "sm" }))), hAsync("slot", { key: 'd1e56ff18a036b3eecfc3b82603417747444f515', name: "after-input" })), hAsync("div", { key: 'ee316a5355842ba4b94d7f155be4ee76170b653d', class: "time-dropdown", slot: "content" }, hAsync("div", { key: 'b4c00d933a89420c2b7f6c91e52dab14b00aacd2', class: "time-columns" }, startsWithIgnoreCase(this.format, 'HH') &&
20265
+ ], hAsync("nv-iconbutton", { key: '4c233506c36553289c0e21d889e6c77c46e2862a', name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide time picker' : 'Show time picker', "aria-pressed": this.open.toString(), onClick: () => this.HandleDropdownIconClick() }), this.error && (hAsync("nv-icon", { key: '9dcf992cc15a5462269208daecec4dbfc7fc9183', name: "alert-circle", class: "validation", size: "sm" })), this.success && (hAsync("nv-icon", { key: '3614bfd444d8243c110bf2b458e0d2d5f296566f', name: "circle-check", class: "validation", size: "sm" }))), hAsync("slot", { key: 'e703a923e7c98e2d9fd5d69a5741f1f67c9710b4', name: "after-input" })), hAsync("div", { key: '6a56bd36fac3051ae1a40cbb450a51a415c00db2', class: "time-dropdown", slot: "content" }, hAsync("div", { key: 'c001e4f3afa3fadf49df9186ef38ac10ca3c1f70', class: "time-columns" }, startsWithIgnoreCase(this.format, 'HH') &&
20253
20266
  this.RenderTimeOptionsColumn(TimeType.Hours), this.format.includes('mm') &&
20254
20267
  this.RenderTimeOptionsColumn(TimeType.Minutes), this.format.includes('ss') &&
20255
20268
  this.RenderTimeOptionsColumn(TimeType.Seconds)))), (this.description ||
20256
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'ebb6ca0885ea6f099617f2deebd1e55e53dd4f05', class: "description" }, hAsync("slot", { key: '7045fe19cba7c811db78636b57f05d2f9913f49e', name: "description" }, this.description))), (this.errorDescription ||
20257
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'b6b52a078889f4a5e5856bc29580f1dd461175e0', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '76759966defe06d595e9aa5df3a580ebea1d7f81', name: "error-description" }, this.errorDescription)))));
20269
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '62782d291c7e065b79c91a51ebd61afcef60c058', class: "description" }, hAsync("slot", { key: '70d29b36d481bfc5ec8a9435e2eadf0007aa95c3', name: "description" }, this.description))), (this.errorDescription ||
20270
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '71818050156b31a39daf70e4cf8cb1a03f809458', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: 'cb7fb776375e7afaaa22ae90f8e6eb533e066e53', name: "error-description" }, this.errorDescription)))));
20258
20271
  }
20259
20272
  static get formAssociated() { return true; }
20260
20273
  get el() { return getElement(this); }
@@ -20359,7 +20372,7 @@ class NvIcon {
20359
20372
  /****************************************************************************/
20360
20373
  //#region RENDER
20361
20374
  render() {
20362
- return (hAsync(Host, { key: 'af052140e4b3d9e7b8b11b7a9f074b1a774500b8', class: clsx(this.color && `${this.color}`), role: "img", "aria-label": `${this.name}-icon` }, hAsync("svg", { key: '0f7d916bdc94a13c5efbef392696197b511d6060', stroke: "currentColor", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: `nv-icon-${this.size}` }, hAsync("use", { key: 'b333c06450a2467e13202edee9dd869a5f38cd66', href: `#${this.name}` }))));
20375
+ return (hAsync(Host, { key: 'a5d7dbfd9cf1be24ba19e8a8902a5a7adb89cc24', class: clsx(this.color && `${this.color}`), role: "img", "aria-label": `${this.name}-icon` }, hAsync("svg", { key: 'b35bc42c038fd288022e13650556086d1dc3604d', stroke: "currentColor", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: `nv-icon-${this.size}` }, hAsync("use", { key: '41833d3d27433422c859b513f28dc48a202d5919', href: `#${this.name}` }))));
20363
20376
  }
20364
20377
  static get style() { return NvIconStyle0; }
20365
20378
  static get cmpMeta() { return {
@@ -20503,7 +20516,7 @@ class NvIconbutton {
20503
20516
  /****************************************************************************/
20504
20517
  //#region RENDER
20505
20518
  render() {
20506
- return (hAsync(Host, { key: '87a2f7fcf90b0fbc331d35cfc47b7b994b92de4b', role: "button", type: this.type, tabindex: "0", disabled: this.disabled ? true : undefined, class: clsx('root', `size-${this.size}`, `emphasis-${this.emphasis}`, this.loading && 'loading', `shape-${this.shape}`), onClick: this.handleClick }, this.loading && hAsync("nv-loader", { key: '0b22f0bb31b62300da99367d7db8979964f7a9d3', size: this.size }), !this.loading && hAsync("nv-icon", { key: '878aaefbdae6da207cfc433c0d2a3110ef3d269f', name: this.name, size: this.size }), hAsync("slot", { key: 'b3c802b3498683cccc511941ead4254c6de22466' })));
20519
+ return (hAsync(Host, { key: 'e67f2cfb172fc315ea4d12290000cd92ff683e88', role: "button", type: this.type, tabindex: "0", disabled: this.disabled ? true : undefined, class: clsx('root', `size-${this.size}`, `emphasis-${this.emphasis}`, this.loading && 'loading', `shape-${this.shape}`), onClick: this.handleClick }, this.loading && hAsync("nv-loader", { key: '6477c82dcaa79147d03ae730d9ab2835959bcde6', size: this.size }), !this.loading && hAsync("nv-icon", { key: '8ffecf3db1d721ff88ba3c7b4e08543e48adedd5', name: this.name, size: this.size }), hAsync("slot", { key: 'c03cccb5aff47a9f758fc23b4e2226301d2d2fcc' })));
20507
20520
  }
20508
20521
  static get formAssociated() { return true; }
20509
20522
  get el() { return getElement(this); }
@@ -20551,7 +20564,7 @@ class NvLoader {
20551
20564
  //#region RENDER
20552
20565
  /* <slot> empty to force rendering change */
20553
20566
  render() {
20554
- return (hAsync(Host, { key: 'e52bc6752a57515a595064e2ebc284c88aca52d3', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
20567
+ return (hAsync(Host, { key: '701552c6cf9126e60d81f844648ec1d29079fdd3', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
20555
20568
  }
20556
20569
  static get style() { return NvLoaderStyle0; }
20557
20570
  static get cmpMeta() { return {
@@ -20571,8 +20584,8 @@ const nvMenuCss = "nv-menuitem{display:flex;align-items:center;max-width:300px;w
20571
20584
  var NvMenuStyle0 = nvMenuCss;
20572
20585
 
20573
20586
  /**
20574
- * @slot trigger - Button to toggle the menu popover.
20575
- * @slot content - Use an &lt;ul&gt;&lt;/ul&gt; tag for the slot, and place &lt;nv-menuitem&gt; elements inside.
20587
+ * @slot trigger - The button element that toggles the menu popover
20588
+ * @slot content - The content of the menu, should be wrapped in a ul element containing nv-menuitem elements
20576
20589
  */
20577
20590
  class NvMenu {
20578
20591
  constructor(hostRef) {
@@ -20597,8 +20610,8 @@ class NvMenu {
20597
20610
  */
20598
20611
  this.disableCloseOnSelect = false;
20599
20612
  /**
20600
- * Decides where the menu shows up next to the button its linked to (above,
20601
- * below, to the sides). If there isnt enough room, it will adjust its
20613
+ * Decides where the menu shows up next to the button it's linked to (above,
20614
+ * below, to the sides). If there isn't enough room, it will adjust its
20602
20615
  * position on the axis to fit on the screen, so users can always see it.
20603
20616
  */
20604
20617
  this.placement = 'bottom-end';
@@ -20783,7 +20796,7 @@ class NvMenu {
20783
20796
  });
20784
20797
  }
20785
20798
  render() {
20786
- return (hAsync(Host, { key: '1fb6ff6905cf3c0ed2f900e1ad733b5bde66e4ba' }, hAsync("slot", { key: '442dddad7f81672de063c90ab86f7271c412c6a2', name: "trigger" }), hAsync("nv-popover", { key: '02e1c322caf45ac2efba7313f66ddb6743c7691d', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open }, this.parsedItems.length > 0 ? (hAsync("ul", { slot: "content" }, this.renderMenuItems(this.parsedItems))) : (hAsync("slot", { name: "content" })))));
20799
+ return (hAsync(Host, { key: '8334eee36cadee43d5d78d227841b43da86a46c6' }, hAsync("slot", { key: 'a4f260a9161dc239eabfc9c43178b1394721f37d', name: "trigger" }), hAsync("nv-popover", { key: '6f163bc5c02afba3af1e9bb43cf3b6bfec1e9374', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open }, this.parsedItems.length > 0 ? (hAsync("ul", { slot: "content" }, this.renderMenuItems(this.parsedItems))) : (hAsync("slot", { name: "content" })))));
20787
20800
  }
20788
20801
  get el() { return getElement(this); }
20789
20802
  static get watchers() { return {
@@ -20858,7 +20871,7 @@ class NvMenuitem {
20858
20871
  /****************************************************************************/
20859
20872
  //#region RENDER
20860
20873
  render() {
20861
- return (hAsync(Host, { key: 'b8cac84bb424c083ed0be5943b385ba54187adb5', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && hAsync("nv-icon", { key: '6032ba2e7048c89e6470adc95483db8d77352827', name: this.icon }), hAsync("slot", { key: '29164bf0c16df37d5d8c2fe9646220cf740a5795' }), this.label && hAsync("span", { key: 'ac544f68655d4d8423c475e68d9a9b5ae4151145', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && hAsync("kbd", { key: 'a2a4b1ab816c4feb2946df548d538a3052195954' }, this.shortcut), this.hasSubmenu && hAsync("nv-icon", { key: 'e39a45bc31f9bafbfe5a1dfa20dbc9d7bf26b2e6', name: "chevron-right" })));
20874
+ return (hAsync(Host, { key: 'd1d9969a8e812f22d2097dca29b8e46b54115709', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && hAsync("nv-icon", { key: '4dd5c1c2fdd741cec06ca112788d8d00863b0ac7', name: this.icon }), hAsync("slot", { key: '6030b5a030b46281d54ca139e55163e8ede064fe' }), this.label && hAsync("span", { key: 'f253f5eb0fed0853a46ed08c211a42bace1784f6', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && hAsync("kbd", { key: 'b7c445db91af3ae3e2a845a839fee7c77a768045' }, this.shortcut), this.hasSubmenu && hAsync("nv-icon", { key: '54bcd0bc879136d542b5e2c4241949f623258ad0', name: "chevron-right" })));
20862
20875
  }
20863
20876
  get el() { return getElement(this); }
20864
20877
  static get style() { return NvMenuitemStyle0; }
@@ -23008,9 +23021,11 @@ class NvPopover {
23008
23021
  return;
23009
23022
  if ((_a = this.triggerElement) === null || _a === void 0 ? void 0 : _a.contains(event.target))
23010
23023
  return;
23011
- this.hide();
23024
+ this.open = false;
23012
23025
  };
23013
- this.clickEvents = [['click', this.toggle]];
23026
+ this.clickEvents = [
23027
+ ['click', () => (this.open = !this.open)],
23028
+ ];
23014
23029
  this.outsideClickEvents = [
23015
23030
  ['click', this.handleClickOutside],
23016
23031
  ['touchstart', this.handleClickOutside],
@@ -23020,28 +23035,28 @@ class NvPopover {
23020
23035
  'focus',
23021
23036
  () => {
23022
23037
  clearTimeout(this.hideTimeout);
23023
- this.showTimeout = setTimeout(() => this.show(), this.enterDelay);
23038
+ this.showTimeout = setTimeout(() => (this.open = true), this.enterDelay);
23024
23039
  },
23025
23040
  ],
23026
23041
  [
23027
23042
  'blur',
23028
23043
  () => {
23029
23044
  clearTimeout(this.showTimeout);
23030
- this.hideTimeout = setTimeout(() => this.hide(), 50);
23045
+ this.hideTimeout = setTimeout(() => (this.open = false), 50);
23031
23046
  },
23032
23047
  ],
23033
23048
  [
23034
23049
  'mouseenter',
23035
23050
  () => {
23036
23051
  clearTimeout(this.hideTimeout);
23037
- this.showTimeout = setTimeout(() => this.show(), this.enterDelay);
23052
+ this.showTimeout = setTimeout(() => (this.open = true), this.enterDelay);
23038
23053
  },
23039
23054
  ],
23040
23055
  [
23041
23056
  'mouseleave',
23042
23057
  () => {
23043
23058
  clearTimeout(this.showTimeout);
23044
- this.hideTimeout = setTimeout(() => this.hide(), 100);
23059
+ this.hideTimeout = setTimeout(() => (this.open = false), 100);
23045
23060
  },
23046
23061
  ],
23047
23062
  ];
@@ -23050,7 +23065,7 @@ class NvPopover {
23050
23065
  'keydown',
23051
23066
  (e) => {
23052
23067
  if (e.key === 'Escape') {
23053
- this.hide();
23068
+ this.open = false;
23054
23069
  }
23055
23070
  },
23056
23071
  ],
@@ -23160,7 +23175,7 @@ class NvPopover {
23160
23175
  return;
23161
23176
  // This popover should close when another one is opened.
23162
23177
  if (event.target !== this.el && event.detail === true)
23163
- this.hide();
23178
+ this.open = false;
23164
23179
  }
23165
23180
  async handleOpenChange(open) {
23166
23181
  // Prevent multiple animations from running at the same time.
@@ -23241,7 +23256,7 @@ class NvPopover {
23241
23256
  /****************************************************************************/
23242
23257
  //#region RENDER
23243
23258
  render() {
23244
- return (hAsync(Host, { key: '71e205e04f915a2fa9e4657b65c41159306b8bbe' }, hAsync("slot", { key: '490d0bb186a1d535616ecde7a6e7aec3bbedacd1', name: "trigger" }), hAsync("div", { key: '8c4841e9eb86ff090cf82298f3d91578880f67ab', "data-scope": "popover", hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (hAsync("div", { key: 'ca0cb19cd0313a94119232acffe7702f162aaad5', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), hAsync("slot", { key: 'e391466de2b07c5beba80896a7c910b0fa4b426d', name: "content" }))));
23259
+ return (hAsync(Host, { key: 'efab8d78e1163d23e197ca04786b9f99f248ce05' }, hAsync("slot", { key: 'b8197a385e5d9cda08d6b3e0232c052fb7238d01', name: "trigger" }), hAsync("div", { key: '480c3cc8352bc833216cd64c8bfcf75ba9c79130', "data-scope": "popover", hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (hAsync("div", { key: '8b1b10a15427ef05bc267460161e4a53be4cc3d1', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), hAsync("slot", { key: '8c9a8708a36fae6cac5e533b5c1a3128d7375195', name: "content" }))));
23245
23260
  }
23246
23261
  get el() { return getElement(this); }
23247
23262
  static get watchers() { return {
@@ -23286,7 +23301,7 @@ class NvRow {
23286
23301
  /****************************************************************************/
23287
23302
  //#region RENDER
23288
23303
  render() {
23289
- return (hAsync(Host, { key: '81e601144158d09429560e6d936454485807d92d' }, hAsync("slot", { key: 'f58b212ba8c754db2f84bc48468db5a6ee817f59' })));
23304
+ return (hAsync(Host, { key: '0b27560267e6f5186ca4237658ad35f3a436b70d' }, hAsync("slot", { key: 'b2805eb6abe9d02b57f030c91344ecf4927136d8' })));
23290
23305
  }
23291
23306
  static get style() { return NvRowStyle0; }
23292
23307
  static get cmpMeta() { return {
@@ -23321,7 +23336,7 @@ class NvStack {
23321
23336
  /****************************************************************************/
23322
23337
  //#region RENDER
23323
23338
  render() {
23324
- return (hAsync(Host, { key: 'cb020ed488cd43090467bbe122b83b0c714d8606', class: clsx(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') }, hAsync("slot", { key: 'd06069ed1efd5e81b4a32dac07c37ce884841c06' })));
23339
+ return (hAsync(Host, { key: '9869c0eaa423e363482bd4685dbd082dfba017f5', class: clsx(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') }, hAsync("slot", { key: 'd4b597ec95f71c47edf99d58d22c95a5540e904c' })));
23325
23340
  }
23326
23341
  static get style() { return NvStackStyle0; }
23327
23342
  static get cmpMeta() { return {
@@ -23655,14 +23670,14 @@ class NvTable {
23655
23670
  const rows = !this.table || this.table === undefined || this.parsedData.length === 0
23656
23671
  ? []
23657
23672
  : this.table.data;
23658
- return (hAsync(Host, { key: 'a08b8c3fbb73b6201ad09ade112f30bf386e9d57' }, hAsync("div", { key: '061f5b1e31292efce4d6c97f2377811b0f8c1551', class: "hidden" }, hAsync("slot", { key: 'd40cc5c47598873b865bd3175e0f6db00b034a0b' })), hAsync("slot", { key: 'e51a7bb121f10cdcf893a594cc27e46b89855403', name: "before" }), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (hAsync("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (hAsync("table", { class: "table" }, this.parsedColumns.length > 0 && headerGroups.length > 0 && (hAsync("thead", { class: "table-header" }, hAsync("tr", null, headerGroups &&
23673
+ return (hAsync(Host, { key: '89d230b38e5f853a9d8246b3634d25f3add88bb0' }, hAsync("div", { key: '130f44d0833635aec8eb1ff5db6f92f5342e39b4', class: "hidden" }, hAsync("slot", { key: 'e68523ead80fd187bfb0fc6710aaea42e1d9c4e7' })), hAsync("slot", { key: '087164f8a817d99091d54ed841b4faa5f01b215e', name: "before" }), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (hAsync("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (hAsync("table", { class: "table" }, this.parsedColumns.length > 0 && headerGroups.length > 0 && (hAsync("thead", { class: "table-header" }, hAsync("tr", null, headerGroups &&
23659
23674
  headerGroups.map(col => {
23660
23675
  return (hAsync("th", { key: col.name }, this.renderTemplate(this.headerTemplateCache.get(col.name), {}) || col.header));
23661
23676
  })))), hAsync("tbody", { class: "table-body" }, !rows || rows.length === 0 ? (hAsync("tr", null, hAsync("td", { colSpan: headerGroups.length || 12, class: "no-data" }, this.noDataMessage))) : (rows.map(row => (hAsync("tr", { key: JSON.stringify(row) }, headerGroups.map(col => {
23662
23677
  var _a;
23663
23678
  return (hAsync("td", null, this.renderTemplate(this.templateCache.get(col.name), row) ||
23664
23679
  ((_a = row[col.name]) !== null && _a !== void 0 ? _a : this.fallbackValue)));
23665
- })))))))), hAsync("slot", { key: '3cf2f0a8de9f52bf60dcd7a641e40e046874c164', name: "after" })));
23680
+ })))))))), hAsync("slot", { key: '046b1b705c5885eb2685a0e8780e6eec2f1ca50e', name: "after" })));
23666
23681
  }
23667
23682
  get el() { return getElement(this); }
23668
23683
  static get watchers() { return {
@@ -23718,7 +23733,7 @@ class NvTablecolumn {
23718
23733
  }; }
23719
23734
  }
23720
23735
 
23721
- const nvToggleCss = "nv-toggle{display:inline-flex;align-items:flex-start;gap:var(--form-gap-x);position:relative}nv-toggle:not([disabled],[readonly]) input,nv-toggle:not([disabled],[readonly]) label{cursor:pointer}nv-toggle.label-placement-before{flex-direction:row-reverse}nv-toggle[disabled]{opacity:0.5}nv-toggle 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:500;line-height:var(--form-label-line-height)}nv-toggle .input-container{position:relative;color:var(--components-form-shape-foreground-default)}nv-toggle .input-container:has(input[type=checkbox]:disabled:not([readonly])){color:var(--components-form-shape-foreground-disabled)}nv-toggle .input-container input[type=checkbox]{appearance:none;position:relative;display:flex;width:var(--form-toggle-width);height:var(--form-toggle-height);flex-direction:column;align-items:flex-start;border-radius:var(--form-toggle-radius);border-width:var(--form-toggle-border-width);border-style:solid;border-color:var(--components-form-field-border-default);background:var(--components-form-field-background-default)}nv-toggle .input-container input[type=checkbox]::after{content:\"\";display:block;width:var(--form-toggle-switch-dot-default);height:var(--form-toggle-switch-dot-default);background-color:var(--components-form-shape-foreground-switch-dot);border-radius:var(--radius-rounded-full);position:absolute;top:50%;left:25%;transform:translate(-50%, -50%)}nv-toggle .input-container input[type=checkbox]:hover{border-color:var(--components-form-field-border-hover)}nv-toggle .input-container input[type=checkbox]:focus{border-color:var(--components-form-field-border-default)}nv-toggle .input-container input[type=checkbox]:focus,nv-toggle .input-container input[type=checkbox]:focus-within{outline:none}nv-toggle .input-container input[type=checkbox]:focus-visible,nv-toggle .input-container input[type=checkbox]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-toggle .input-container input[type=checkbox]:checked{background:var(--components-form-field-background-checked);border-color:var(--components-form-field-background-checked)}nv-toggle .input-container input[type=checkbox]:checked::after{content:\"\";display:block;width:var(--form-toggle-switch-dot-default);height:var(--form-toggle-switch-dot-default);background-color:var(--components-form-shape-foreground-default);border-radius:var(--radius-rounded-full);position:absolute;top:50%;left:75%;transform:translate(-50%, -50%)}nv-toggle .input-container input[type=checkbox]:checked:focus{background:var(--components-form-field-background-checked);border-color:var(--components-form-field-border-focus)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]){box-shadow:unset;background:var(--components-form-field-background-disabled);border-color:var(--components-form-field-border-default)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]):checked::after{background-color:var(--components-form-shape-foreground-disabled)}nv-toggle .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:450;line-height:var(--form-description-line-height)}nv-toggle .text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}";
23736
+ const nvToggleCss = "nv-toggle{display:inline-flex;align-items:flex-start;gap:var(--form-gap-x);position:relative}nv-toggle:not([disabled],[readonly]) input,nv-toggle:not([disabled],[readonly]) label{cursor:pointer}nv-toggle.label-placement-before{flex-direction:row-reverse}nv-toggle[disabled]{opacity:0.5}nv-toggle 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:500;line-height:var(--form-label-line-height)}nv-toggle label.visually-hidden{position:absolute;padding:0;border:0;overflow:hidden;white-space:nowrap;width:1px;height:1px;margin:-1px;clip:rect(0, 0, 0, 0)}nv-toggle .input-container{position:relative;color:var(--components-form-shape-foreground-default)}nv-toggle .input-container:has(input[type=checkbox]:disabled:not([readonly])){color:var(--components-form-shape-foreground-disabled)}nv-toggle .input-container input[type=checkbox]{appearance:none;position:relative;display:flex;width:var(--form-toggle-width);height:var(--form-toggle-height);flex-direction:column;align-items:flex-start;border-radius:var(--form-toggle-radius);border-width:var(--form-toggle-border-width);border-style:solid;border-color:var(--components-form-field-border-default);background:var(--components-form-field-background-default)}nv-toggle .input-container input[type=checkbox]::after{content:\"\";display:block;width:var(--form-toggle-switch-dot-default);height:var(--form-toggle-switch-dot-default);background-color:var(--components-form-shape-foreground-switch-dot);border-radius:var(--radius-rounded-full);position:absolute;top:50%;left:25%;transform:translate(-50%, -50%)}nv-toggle .input-container input[type=checkbox]:hover{border-color:var(--components-form-field-border-hover)}nv-toggle .input-container input[type=checkbox]:focus{border-color:var(--components-form-field-border-default)}nv-toggle .input-container input[type=checkbox]:focus,nv-toggle .input-container input[type=checkbox]:focus-within{outline:none}nv-toggle .input-container input[type=checkbox]:focus-visible,nv-toggle .input-container input[type=checkbox]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-toggle .input-container input[type=checkbox]:checked{background:var(--components-form-field-background-checked);border-color:var(--components-form-field-background-checked)}nv-toggle .input-container input[type=checkbox]:checked::after{content:\"\";display:block;width:var(--form-toggle-switch-dot-default);height:var(--form-toggle-switch-dot-default);background-color:var(--components-form-shape-foreground-default);border-radius:var(--radius-rounded-full);position:absolute;top:50%;left:75%;transform:translate(-50%, -50%)}nv-toggle .input-container input[type=checkbox]:checked:focus{background:var(--components-form-field-background-checked);border-color:var(--components-form-field-border-focus)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]){box-shadow:unset;background:var(--components-form-field-background-disabled);border-color:var(--components-form-field-border-default)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]):checked::after{background-color:var(--components-form-shape-foreground-disabled)}nv-toggle .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:450;line-height:var(--form-description-line-height)}nv-toggle .text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}";
23722
23737
  var NvToggleStyle0 = nvToggleCss;
23723
23738
 
23724
23739
  /**
@@ -23782,8 +23797,8 @@ class NvToggle {
23782
23797
  /****************************************************************************/
23783
23798
  //#region RENDER
23784
23799
  render() {
23785
- return (hAsync(Host, { key: '59aa4f6fba2a51afd7e2ed35396e1e906cf338e9', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, hAsync("div", { key: '5ed63f6be69e49e93e21761e583122f3a5c73ea0', class: "input-container" }, hAsync("input", { key: 'dc48775994ef9873478191bdb7ecfb11090b0298', 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 })), hAsync("div", { key: '4731c95eefb7a762f868b5105c613b635be330bf', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '80b0737dc38cbee593cb15f84362cbf2d5a4fbdd', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, hAsync("slot", { key: '8c886a43d3f7e30330f6f2c23f27fd8848bb845d', name: "label" }, this.label))), (this.description ||
23786
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '32036ee81dd3d286950d85f7b9ce4a3e06661ed3', class: "description" }, hAsync("slot", { key: '090417815292fa0b07bb21551b47630261f7f7dd', name: "description" }, this.description))))));
23800
+ return (hAsync(Host, { key: '6e18c6145fccdf7926bcc64a2414e6b41d364487', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, hAsync("div", { key: 'fda6ce7b087d1acef0f2afb24edbdc2566ca6cbf', class: "input-container" }, hAsync("input", { key: '53569ce97f75b7a2ac0c94a702096d3f9215432a', 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 })), hAsync("div", { key: '26f0a6f570b8ef4150d53a7733c832f1c5f4343d', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '5ff30cca4abfd0c2f4283eab6c7ae678653748d3', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, hAsync("slot", { key: 'c6cc3536fa741fb89ebb24dfe455957b66edd77b', name: "label" }, this.label))), (this.description ||
23801
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '0b1804f9e5407f15037fb6e5c80d7b8dafee5599', class: "description" }, hAsync("slot", { key: '8f1b272158ffebb03992ed8c3b115e52504ff8ce', name: "description" }, this.description))))));
23787
23802
  }
23788
23803
  static get formAssociated() { return true; }
23789
23804
  get el() { return getElement(this); }
@@ -23848,7 +23863,7 @@ class NvTooltip {
23848
23863
  /****************************************************************************/
23849
23864
  //#region RENDER
23850
23865
  render() {
23851
- return (hAsync(Host, { key: 'e11a19bbdd775cb54b054bd502c589d80feacb35' }, hAsync("slot", { key: '9fb404ae962570d3b1f5cdd42ed8673f86eeedae' }), hAsync("nv-popover", { key: 'd5114554c2e97909b25dfa7ec0d64a7d10d624ec', triggerMode: "hover", hasArrow: true, placement: this.placement, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay }, hAsync("p", { key: '4d675b15e413054b7bd9fd71df6f3c236c175c47', slot: "content" }, this.message), hAsync("slot", { key: '2967e58a96ed6d8d4d0fecc195209c8b2f9d1353', name: "content" }))));
23866
+ return (hAsync(Host, { key: '42d55bd749a31fc808d6685b75b5002b10575b63' }, hAsync("slot", { key: '7ccb801774290a4e47c9bf6e61994936f0cb793e' }), hAsync("nv-popover", { key: '6c67ddae0787dbc9e24d239e3b34218dfa997747', triggerMode: "hover", hasArrow: true, placement: this.placement, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay }, hAsync("p", { key: '900d3a61fc7adb7aee3f9982d932c6e2f9889ab3', slot: "content" }, this.message), hAsync("slot", { key: '3f5e490d760e723271acef897cf4e0247ca7cd44', name: "content" }))));
23852
23867
  }
23853
23868
  get el() { return getElement(this); }
23854
23869
  static get style() { return NvTooltipStyle0; }