@nova-design-system/nova-webcomponents 3.21.0 → 3.21.1-beta.0

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 (487) hide show
  1. package/dist/cjs/{grow.animation-f1cef0ad.js → grow.animation-69832995.js} +29 -1
  2. package/dist/cjs/grow.animation-69832995.js.map +1 -0
  3. package/dist/cjs/index-93d3b2f8.js +40 -0
  4. package/dist/cjs/index.cjs.js +2 -3
  5. package/dist/cjs/index.cjs.js.map +1 -1
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/native.cjs.js +1 -1
  8. package/dist/cjs/nv-badge_2.cjs.entry.js +1 -1
  9. package/dist/cjs/nv-dialog.cjs.entry.js +53 -19
  10. package/dist/cjs/nv-dialog.cjs.entry.js.map +1 -1
  11. package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +2 -2
  12. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +4 -4
  13. package/dist/cjs/nv-fielddate.cjs.entry.js +14 -17
  14. package/dist/cjs/nv-fielddate.cjs.entry.js.map +1 -1
  15. package/dist/cjs/nv-fielddaterange.cjs.entry.js +7 -9
  16. package/dist/cjs/nv-fielddaterange.cjs.entry.js.map +1 -1
  17. package/dist/cjs/nv-fielddropdown.cjs.entry.js +14 -5
  18. package/dist/cjs/nv-fielddropdown.cjs.entry.js.map +1 -1
  19. package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +2 -2
  20. package/dist/cjs/nv-fielddropdownitem.cjs.entry.js.map +1 -1
  21. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +1 -1
  22. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js.map +1 -1
  23. package/dist/cjs/nv-fieldnumber.cjs.entry.js +3 -3
  24. package/dist/cjs/nv-fieldpassword.cjs.entry.js +3 -3
  25. package/dist/cjs/nv-fieldradio.cjs.entry.js +3 -3
  26. package/dist/cjs/nv-fieldselect.cjs.entry.js +5 -5
  27. package/dist/cjs/nv-fieldslider.cjs.entry.js +3 -3
  28. package/dist/cjs/nv-fieldtext.cjs.entry.js +3 -3
  29. package/dist/cjs/nv-fieldtextarea.cjs.entry.js +3 -3
  30. package/dist/cjs/nv-fieldtime.cjs.entry.js +3 -3
  31. package/dist/cjs/nv-icon.cjs.entry.js +1 -1
  32. package/dist/cjs/nv-iconbutton_2.cjs.entry.js +2 -2
  33. package/dist/cjs/nv-menu.cjs.entry.js +1 -1
  34. package/dist/cjs/nv-menuitem.cjs.entry.js +1 -1
  35. package/dist/cjs/nv-notification-bullet.cjs.entry.js +79 -0
  36. package/dist/cjs/nv-notification-bullet.cjs.entry.js.map +1 -0
  37. package/dist/cjs/nv-notification.cjs.entry.js +1 -1
  38. package/dist/cjs/nv-notificationcontainer.cjs.entry.js +1 -1
  39. package/dist/cjs/nv-popover.cjs.entry.js +10 -11
  40. package/dist/cjs/nv-popover.cjs.entry.js.map +1 -1
  41. package/dist/cjs/nv-row.cjs.entry.js +1 -1
  42. package/dist/cjs/nv-sidebar.cjs.entry.js +179 -0
  43. package/dist/cjs/nv-sidebar.cjs.entry.js.map +1 -0
  44. package/dist/cjs/nv-sidebarcontent.cjs.entry.js +24 -0
  45. package/dist/cjs/nv-sidebarcontent.cjs.entry.js.map +1 -0
  46. package/dist/cjs/nv-sidebardivider.cjs.entry.js +24 -0
  47. package/dist/cjs/nv-sidebardivider.cjs.entry.js.map +1 -0
  48. package/dist/cjs/nv-sidebarfooter.cjs.entry.js +24 -0
  49. package/dist/cjs/nv-sidebarfooter.cjs.entry.js.map +1 -0
  50. package/dist/cjs/nv-sidebargroup.cjs.entry.js +25 -0
  51. package/dist/cjs/nv-sidebargroup.cjs.entry.js.map +1 -0
  52. package/dist/cjs/nv-sidebarheader.cjs.entry.js +24 -0
  53. package/dist/cjs/nv-sidebarheader.cjs.entry.js.map +1 -0
  54. package/dist/cjs/nv-sidebarlogo.cjs.entry.js +34 -0
  55. package/dist/cjs/nv-sidebarlogo.cjs.entry.js.map +1 -0
  56. package/dist/cjs/nv-sidebarnavitem.cjs.entry.js +299 -0
  57. package/dist/cjs/nv-sidebarnavitem.cjs.entry.js.map +1 -0
  58. package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js +37 -0
  59. package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js.map +1 -0
  60. package/dist/cjs/nv-split.cjs.entry.js +1 -1
  61. package/dist/cjs/nv-stack.cjs.entry.js +1 -1
  62. package/dist/cjs/nv-table.cjs.entry.js +1 -1
  63. package/dist/cjs/nv-tableheader.cjs.entry.js +1 -1
  64. package/dist/cjs/nv-toggle.cjs.entry.js +2 -2
  65. package/dist/cjs/nv-togglebutton.cjs.entry.js +1 -1
  66. package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +1 -1
  67. package/dist/cjs/nv-tooltip.cjs.entry.js +1 -1
  68. package/dist/collection/collection-manifest.json +10 -0
  69. package/dist/collection/components/nv-dialog/nv-dialog.css +29 -22
  70. package/dist/collection/components/nv-dialog/nv-dialog.docs.js +14 -1
  71. package/dist/collection/components/nv-dialog/nv-dialog.docs.js.map +1 -1
  72. package/dist/collection/components/nv-dialog/nv-dialog.js +47 -21
  73. package/dist/collection/components/nv-dialog/nv-dialog.js.map +1 -1
  74. package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +1 -1
  75. package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
  76. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
  77. package/dist/collection/components/nv-fielddate/nv-fielddate.js +20 -17
  78. package/dist/collection/components/nv-fielddate/nv-fielddate.js.map +1 -1
  79. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +7 -9
  80. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js.map +1 -1
  81. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +13 -4
  82. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js.map +1 -1
  83. package/dist/collection/components/nv-fielddropdown/styles/nv-fielddropdown.css +24 -18
  84. package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
  85. package/dist/collection/components/nv-fielddropdownitem/styles/nv-fielddropdownitem.css +5 -3
  86. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
  87. package/dist/collection/components/nv-fieldmultiselect/styles/nv-fieldmultiselect.css +3 -1
  88. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +3 -3
  89. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +3 -3
  90. package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
  91. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
  92. package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
  93. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +3 -3
  94. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
  95. package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +3 -3
  96. package/dist/collection/components/nv-icon/nv-icon.js +1 -1
  97. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
  98. package/dist/collection/components/nv-loader/nv-loader.js +1 -1
  99. package/dist/collection/components/nv-menu/nv-menu.js +1 -1
  100. package/dist/collection/components/nv-menuitem/nv-menuitem.js +1 -1
  101. package/dist/collection/components/nv-notification/nv-notification.js +1 -1
  102. package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.docs.js +68 -0
  103. package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.docs.js.map +1 -0
  104. package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.js +189 -0
  105. package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.js.map +1 -0
  106. package/dist/collection/components/nv-notification-bullet/styles/nv-notification-bullet.css +80 -0
  107. package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -1
  108. package/dist/collection/components/nv-popover/nv-popover.js +1 -1
  109. package/dist/collection/components/nv-row/nv-row.js +1 -1
  110. package/dist/collection/components/nv-sidebar/nv-sidebar.docs.js +37 -0
  111. package/dist/collection/components/nv-sidebar/nv-sidebar.docs.js.map +1 -0
  112. package/dist/collection/components/nv-sidebar/nv-sidebar.js +309 -0
  113. package/dist/collection/components/nv-sidebar/nv-sidebar.js.map +1 -0
  114. package/dist/collection/components/nv-sidebar/styles/nv-sidebar.css +73 -0
  115. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.css +7 -0
  116. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.docs.js +6 -0
  117. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.docs.js.map +1 -0
  118. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.js +24 -0
  119. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.js.map +1 -0
  120. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.css +6 -0
  121. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.docs.js +6 -0
  122. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.docs.js.map +1 -0
  123. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.js +23 -0
  124. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.js.map +1 -0
  125. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.css +4 -0
  126. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.docs.js +6 -0
  127. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.docs.js.map +1 -0
  128. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.js +25 -0
  129. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.js.map +1 -0
  130. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.css +17 -0
  131. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.docs.js +6 -0
  132. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.docs.js.map +1 -0
  133. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.js +48 -0
  134. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.js.map +1 -0
  135. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.css +3 -0
  136. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.docs.js +6 -0
  137. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.docs.js.map +1 -0
  138. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.js +25 -0
  139. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.js.map +1 -0
  140. package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.docs.js +6 -0
  141. package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.docs.js.map +1 -0
  142. package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.js +97 -0
  143. package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.js.map +1 -0
  144. package/dist/collection/components/nv-sidebarlogo/styles/nv-sidebarlogo.css +47 -0
  145. package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.docs.js +6 -0
  146. package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.docs.js.map +1 -0
  147. package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js +422 -0
  148. package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js.map +1 -0
  149. package/dist/collection/components/nv-sidebarnavitem/styles/nv-sidebarnavitem.css +114 -0
  150. package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.docs.js +6 -0
  151. package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.docs.js.map +1 -0
  152. package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js +64 -0
  153. package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js.map +1 -0
  154. package/dist/collection/components/nv-sidebarnavsubitem/styles/nv-sidebarnavsubitem.css +73 -0
  155. package/dist/collection/components/nv-split/nv-split.js +1 -1
  156. package/dist/collection/components/nv-stack/nv-stack.js +1 -1
  157. package/dist/collection/components/nv-table/nv-table.js +1 -1
  158. package/dist/collection/components/nv-tableheader/nv-tableheader.js +1 -1
  159. package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
  160. package/dist/collection/components/nv-togglebutton/nv-togglebutton.js +1 -1
  161. package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js +1 -1
  162. package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
  163. package/dist/components/index.js +2 -2
  164. package/dist/components/nv-accordion-item.js +1 -1
  165. package/dist/components/nv-accordion.js +4 -4
  166. package/dist/components/nv-alert.js +1 -1
  167. package/dist/components/nv-avatar.js +1 -1
  168. package/dist/components/nv-badge.js +1 -1
  169. package/dist/components/nv-breadcrumb.js +2 -2
  170. package/dist/components/nv-button.js +1 -1
  171. package/dist/components/nv-datagrid.js +2 -2
  172. package/dist/components/nv-dialog.js +57 -23
  173. package/dist/components/nv-dialog.js.map +1 -1
  174. package/dist/components/nv-dialogfooter.js +1 -1
  175. package/dist/components/nv-dialogheader.js +1 -1
  176. package/dist/components/nv-fieldcheckbox.js +1 -1
  177. package/dist/components/nv-fielddate.js +19 -22
  178. package/dist/components/nv-fielddate.js.map +1 -1
  179. package/dist/components/nv-fielddaterange.js +11 -13
  180. package/dist/components/nv-fielddaterange.js.map +1 -1
  181. package/dist/components/nv-fielddropdown.js +19 -10
  182. package/dist/components/nv-fielddropdown.js.map +1 -1
  183. package/dist/components/nv-fielddropdownitem.js +1 -1
  184. package/dist/components/nv-fielddropdownitemcheck.js +1 -1
  185. package/dist/components/nv-fieldmultiselect.js +8 -8
  186. package/dist/components/nv-fieldmultiselect.js.map +1 -1
  187. package/dist/components/nv-fieldnumber.js +1 -1
  188. package/dist/components/nv-fieldpassword.js +6 -6
  189. package/dist/components/nv-fieldradio.js +3 -3
  190. package/dist/components/nv-fieldselect.js +8 -8
  191. package/dist/components/nv-fieldslider.js +7 -7
  192. package/dist/components/nv-fieldtext.js +1 -1
  193. package/dist/components/nv-fieldtextarea.js +3 -3
  194. package/dist/components/nv-fieldtime.js +7 -7
  195. package/dist/components/nv-icon.js +1 -1
  196. package/dist/components/nv-iconbutton.js +1 -1
  197. package/dist/components/nv-loader.js +1 -1
  198. package/dist/components/nv-menu.js +4 -4
  199. package/dist/components/nv-menuitem.js +1 -1
  200. package/dist/components/nv-notification-bullet.d.ts +11 -0
  201. package/dist/components/nv-notification-bullet.js +8 -0
  202. package/dist/components/nv-notification-bullet.js.map +1 -0
  203. package/dist/components/nv-notification.js +2 -2
  204. package/dist/components/nv-notificationcontainer.js +1 -1
  205. package/dist/components/nv-popover.js +1 -1
  206. package/dist/components/nv-row.js +1 -1
  207. package/dist/components/nv-sidebar.d.ts +11 -0
  208. package/dist/components/nv-sidebar.js +208 -0
  209. package/dist/components/nv-sidebar.js.map +1 -0
  210. package/dist/components/nv-sidebarcontent.d.ts +11 -0
  211. package/dist/components/nv-sidebarcontent.js +38 -0
  212. package/dist/components/nv-sidebarcontent.js.map +1 -0
  213. package/dist/components/nv-sidebardivider.d.ts +11 -0
  214. package/dist/components/nv-sidebardivider.js +38 -0
  215. package/dist/components/nv-sidebardivider.js.map +1 -0
  216. package/dist/components/nv-sidebarfooter.d.ts +11 -0
  217. package/dist/components/nv-sidebarfooter.js +38 -0
  218. package/dist/components/nv-sidebarfooter.js.map +1 -0
  219. package/dist/components/nv-sidebargroup.d.ts +11 -0
  220. package/dist/components/nv-sidebargroup.js +41 -0
  221. package/dist/components/nv-sidebargroup.js.map +1 -0
  222. package/dist/components/nv-sidebarheader.d.ts +11 -0
  223. package/dist/components/nv-sidebarheader.js +38 -0
  224. package/dist/components/nv-sidebarheader.js.map +1 -0
  225. package/dist/components/nv-sidebarlogo.d.ts +11 -0
  226. package/dist/components/nv-sidebarlogo.js +52 -0
  227. package/dist/components/nv-sidebarlogo.js.map +1 -0
  228. package/dist/components/nv-sidebarnavitem.d.ts +11 -0
  229. package/dist/components/nv-sidebarnavitem.js +335 -0
  230. package/dist/components/nv-sidebarnavitem.js.map +1 -0
  231. package/dist/components/nv-sidebarnavsubitem.d.ts +11 -0
  232. package/dist/components/nv-sidebarnavsubitem.js +53 -0
  233. package/dist/components/nv-sidebarnavsubitem.js.map +1 -0
  234. package/dist/components/nv-split.js +1 -1
  235. package/dist/components/nv-stack.js +1 -1
  236. package/dist/components/nv-table.js +1 -1
  237. package/dist/components/nv-tableheader.js +4 -4
  238. package/dist/components/nv-toggle.js +2 -2
  239. package/dist/components/nv-togglebutton.js +1 -1
  240. package/dist/components/nv-togglebuttongroup.js +1 -1
  241. package/dist/components/nv-tooltip.js +1 -1
  242. package/dist/components/{p-61382072.js → p-20a1c769.js} +2 -2
  243. package/dist/components/{p-61382072.js.map → p-20a1c769.js.map} +1 -1
  244. package/dist/components/{p-a6c29711.js → p-2d7d3aa2.js} +3 -3
  245. package/dist/components/{p-a6c29711.js.map → p-2d7d3aa2.js.map} +1 -1
  246. package/dist/components/{p-643d7802.js → p-439c38c3.js} +3 -3
  247. package/dist/components/{p-643d7802.js.map → p-439c38c3.js.map} +1 -1
  248. package/dist/components/{p-429e01f3.js → p-583b3d89.js} +2 -2
  249. package/dist/components/{p-429e01f3.js.map → p-583b3d89.js.map} +1 -1
  250. package/dist/components/{p-c4d20cc9.js → p-5f78a78f.js} +3 -3
  251. package/dist/components/{p-c4d20cc9.js.map → p-5f78a78f.js.map} +1 -1
  252. package/dist/components/{p-4799b6c3.js → p-62f91b46.js} +3 -4
  253. package/dist/components/p-62f91b46.js.map +1 -0
  254. package/dist/components/{p-5c6b5444.js → p-7214f13f.js} +4 -4
  255. package/dist/components/{p-5c6b5444.js.map → p-7214f13f.js.map} +1 -1
  256. package/dist/components/{p-0bfe8a47.js → p-743b3452.js} +2 -2
  257. package/dist/components/{p-0bfe8a47.js.map → p-743b3452.js.map} +1 -1
  258. package/dist/components/p-82c9b7cc.js +96 -0
  259. package/dist/components/p-82c9b7cc.js.map +1 -0
  260. package/dist/components/{p-00347aae.js → p-94ad267c.js} +5 -5
  261. package/dist/components/{p-00347aae.js.map → p-94ad267c.js.map} +1 -1
  262. package/dist/components/{p-222136c2.js → p-996438a2.js} +2 -2
  263. package/dist/components/{p-222136c2.js.map → p-996438a2.js.map} +1 -1
  264. package/dist/components/{p-4697bd56.js → p-996ed843.js} +27 -2
  265. package/dist/components/p-996ed843.js.map +1 -0
  266. package/dist/components/{p-2062ba39.js → p-af663ff5.js} +2 -2
  267. package/dist/components/{p-2062ba39.js.map → p-af663ff5.js.map} +1 -1
  268. package/dist/components/{p-c69f5a37.js → p-bcf9d309.js} +5 -5
  269. package/dist/components/{p-c69f5a37.js.map → p-bcf9d309.js.map} +1 -1
  270. package/dist/components/{p-d1d4cc45.js → p-cc77f8fe.js} +7 -7
  271. package/dist/components/{p-d1d4cc45.js.map → p-cc77f8fe.js.map} +1 -1
  272. package/dist/components/{p-8ce28cff.js → p-d9c1cd97.js} +4 -4
  273. package/dist/components/{p-8ce28cff.js.map → p-d9c1cd97.js.map} +1 -1
  274. package/dist/components/{p-0d5ed1d7.js → p-e1f82896.js} +5 -5
  275. package/dist/components/{p-0d5ed1d7.js.map → p-e1f82896.js.map} +1 -1
  276. package/dist/components/{p-86588fba.js → p-f6ffffd9.js} +4 -4
  277. package/dist/components/{p-86588fba.js.map → p-f6ffffd9.js.map} +1 -1
  278. package/dist/esm/{grow.animation-03fa5c19.js → grow.animation-24ad5cf8.js} +27 -2
  279. package/dist/esm/grow.animation-24ad5cf8.js.map +1 -0
  280. package/dist/esm/index-dc2723f3.js +40 -0
  281. package/dist/esm/index.js +2 -2
  282. package/dist/esm/loader.js +1 -1
  283. package/dist/esm/native.js +1 -1
  284. package/dist/esm/nv-badge_2.entry.js +1 -1
  285. package/dist/esm/nv-dialog.entry.js +51 -17
  286. package/dist/esm/nv-dialog.entry.js.map +1 -1
  287. package/dist/esm/nv-dialogfooter_2.entry.js +2 -2
  288. package/dist/esm/nv-fieldcheckbox.entry.js +4 -4
  289. package/dist/esm/nv-fielddate.entry.js +14 -17
  290. package/dist/esm/nv-fielddate.entry.js.map +1 -1
  291. package/dist/esm/nv-fielddaterange.entry.js +7 -9
  292. package/dist/esm/nv-fielddaterange.entry.js.map +1 -1
  293. package/dist/esm/nv-fielddropdown.entry.js +14 -5
  294. package/dist/esm/nv-fielddropdown.entry.js.map +1 -1
  295. package/dist/esm/nv-fielddropdownitem.entry.js +2 -2
  296. package/dist/esm/nv-fielddropdownitem.entry.js.map +1 -1
  297. package/dist/esm/nv-fieldmultiselect.entry.js +1 -1
  298. package/dist/esm/nv-fieldmultiselect.entry.js.map +1 -1
  299. package/dist/esm/nv-fieldnumber.entry.js +3 -3
  300. package/dist/esm/nv-fieldpassword.entry.js +3 -3
  301. package/dist/esm/nv-fieldradio.entry.js +3 -3
  302. package/dist/esm/nv-fieldselect.entry.js +5 -5
  303. package/dist/esm/nv-fieldslider.entry.js +3 -3
  304. package/dist/esm/nv-fieldtext.entry.js +3 -3
  305. package/dist/esm/nv-fieldtextarea.entry.js +3 -3
  306. package/dist/esm/nv-fieldtime.entry.js +3 -3
  307. package/dist/esm/nv-icon.entry.js +1 -1
  308. package/dist/esm/nv-iconbutton_2.entry.js +2 -2
  309. package/dist/esm/nv-menu.entry.js +1 -1
  310. package/dist/esm/nv-menuitem.entry.js +1 -1
  311. package/dist/esm/nv-notification-bullet.entry.js +75 -0
  312. package/dist/esm/nv-notification-bullet.entry.js.map +1 -0
  313. package/dist/esm/nv-notification.entry.js +1 -1
  314. package/dist/esm/nv-notificationcontainer.entry.js +1 -1
  315. package/dist/esm/nv-popover.entry.js +2 -3
  316. package/dist/esm/nv-popover.entry.js.map +1 -1
  317. package/dist/esm/nv-row.entry.js +1 -1
  318. package/dist/esm/nv-sidebar.entry.js +175 -0
  319. package/dist/esm/nv-sidebar.entry.js.map +1 -0
  320. package/dist/esm/nv-sidebarcontent.entry.js +20 -0
  321. package/dist/esm/nv-sidebarcontent.entry.js.map +1 -0
  322. package/dist/esm/nv-sidebardivider.entry.js +20 -0
  323. package/dist/esm/nv-sidebardivider.entry.js.map +1 -0
  324. package/dist/esm/nv-sidebarfooter.entry.js +20 -0
  325. package/dist/esm/nv-sidebarfooter.entry.js.map +1 -0
  326. package/dist/esm/nv-sidebargroup.entry.js +21 -0
  327. package/dist/esm/nv-sidebargroup.entry.js.map +1 -0
  328. package/dist/esm/nv-sidebarheader.entry.js +20 -0
  329. package/dist/esm/nv-sidebarheader.entry.js.map +1 -0
  330. package/dist/esm/nv-sidebarlogo.entry.js +30 -0
  331. package/dist/esm/nv-sidebarlogo.entry.js.map +1 -0
  332. package/dist/esm/nv-sidebarnavitem.entry.js +295 -0
  333. package/dist/esm/nv-sidebarnavitem.entry.js.map +1 -0
  334. package/dist/esm/nv-sidebarnavsubitem.entry.js +33 -0
  335. package/dist/esm/nv-sidebarnavsubitem.entry.js.map +1 -0
  336. package/dist/esm/nv-split.entry.js +1 -1
  337. package/dist/esm/nv-stack.entry.js +1 -1
  338. package/dist/esm/nv-table.entry.js +1 -1
  339. package/dist/esm/nv-tableheader.entry.js +1 -1
  340. package/dist/esm/nv-toggle.entry.js +2 -2
  341. package/dist/esm/nv-togglebutton.entry.js +1 -1
  342. package/dist/esm/nv-togglebuttongroup.entry.js +1 -1
  343. package/dist/esm/nv-tooltip.entry.js +1 -1
  344. package/dist/native/index.esm.js +1 -1
  345. package/dist/native/native.css +1 -1
  346. package/dist/native/native.esm.js +1 -1
  347. package/dist/native/native.esm.js.map +1 -1
  348. package/dist/native/p-02debfd0.entry.js +2 -0
  349. package/dist/native/p-02debfd0.entry.js.map +1 -0
  350. package/dist/native/{p-859bf9ad.entry.js → p-1ee225be.entry.js} +2 -2
  351. package/dist/native/p-1ee225be.entry.js.map +1 -0
  352. package/dist/native/p-21dde805.entry.js +2 -0
  353. package/dist/native/{p-56ed7306.entry.js → p-242cdeac.entry.js} +2 -2
  354. package/dist/native/p-2ba7b6f2.entry.js +2 -0
  355. package/dist/native/p-2ba7b6f2.entry.js.map +1 -0
  356. package/dist/native/{p-b4382c94.entry.js → p-2d363bd9.entry.js} +2 -2
  357. package/dist/native/{p-b02c896a.entry.js → p-31a61359.entry.js} +2 -2
  358. package/dist/native/p-32c16132.entry.js +2 -0
  359. package/dist/native/p-32c16132.entry.js.map +1 -0
  360. package/dist/native/p-35263b61.entry.js +2 -0
  361. package/dist/native/p-35263b61.entry.js.map +1 -0
  362. package/dist/native/{p-9950e075.entry.js → p-3df31ed5.entry.js} +2 -2
  363. package/dist/native/{p-c901693d.entry.js → p-4bf63654.entry.js} +2 -2
  364. package/dist/native/p-6005ff69.entry.js +2 -0
  365. package/dist/native/p-6005ff69.entry.js.map +1 -0
  366. package/dist/native/p-63348887.entry.js +2 -0
  367. package/dist/native/p-63348887.entry.js.map +1 -0
  368. package/dist/native/{p-587d94f3.entry.js → p-6fb6b9e4.entry.js} +2 -2
  369. package/dist/native/{p-a2f58133.entry.js → p-7a2f37e2.entry.js} +2 -2
  370. package/dist/native/{p-973f5db2.entry.js → p-7b7bbac7.entry.js} +2 -2
  371. package/dist/native/{p-4de8697c.entry.js → p-87deff5a.entry.js} +2 -2
  372. package/dist/native/p-8bee34e6.entry.js +2 -0
  373. package/dist/native/p-8bee34e6.entry.js.map +1 -0
  374. package/dist/native/{p-6a418ec4.entry.js → p-93d80b03.entry.js} +2 -2
  375. package/dist/native/{p-ae5be175.entry.js → p-98cab7d2.entry.js} +2 -2
  376. package/dist/native/p-996ed843.js +2 -0
  377. package/dist/native/p-996ed843.js.map +1 -0
  378. package/dist/native/{p-fa3e588e.entry.js → p-9e36eebc.entry.js} +2 -2
  379. package/dist/native/{p-2a7f80f4.entry.js → p-a4a0021c.entry.js} +2 -2
  380. package/dist/native/{p-17666092.entry.js → p-a6d8d9a1.entry.js} +2 -2
  381. package/dist/native/{p-eb74feb7.entry.js → p-a9a7f1b8.entry.js} +2 -2
  382. package/dist/native/p-ad5e12d2.entry.js +2 -0
  383. package/dist/native/{p-e6f24210.entry.js.map → p-ad5e12d2.entry.js.map} +1 -1
  384. package/dist/native/{p-fffbd3c1.entry.js → p-aefd32f0.entry.js} +2 -2
  385. package/dist/native/{p-2b4cf4b8.entry.js → p-b369a073.entry.js} +2 -2
  386. package/dist/native/p-b3d6e9f4.entry.js +2 -0
  387. package/dist/native/{p-c9fea0df.entry.js.map → p-b3d6e9f4.entry.js.map} +1 -1
  388. package/dist/native/{p-c4baad6e.entry.js → p-b4128eb5.entry.js} +2 -2
  389. package/dist/native/p-b5e752f5.entry.js +2 -0
  390. package/dist/native/p-b5e752f5.entry.js.map +1 -0
  391. package/dist/native/p-b860d0d3.entry.js +7 -0
  392. package/dist/native/p-b860d0d3.entry.js.map +1 -0
  393. package/dist/native/{p-9c432751.entry.js → p-b97f392a.entry.js} +2 -2
  394. package/dist/native/{p-d63689da.entry.js → p-bd91e0bb.entry.js} +2 -2
  395. package/dist/native/p-bd91e0bb.entry.js.map +1 -0
  396. package/dist/native/{p-a026654f.entry.js → p-c37ab530.entry.js} +2 -2
  397. package/dist/native/{p-533e2530.entry.js → p-c4cd2860.entry.js} +2 -2
  398. package/dist/native/{p-bd9bf6a1.entry.js → p-d22a503b.entry.js} +2 -2
  399. package/dist/native/{p-f3c73492.entry.js → p-da76357c.entry.js} +2 -2
  400. package/dist/native/{p-d0db5e72.entry.js → p-dac1537a.entry.js} +2 -2
  401. package/dist/native/p-e688c905.entry.js +2 -0
  402. package/dist/native/{p-218135b1.entry.js.map → p-e688c905.entry.js.map} +1 -1
  403. package/dist/native/p-e7fdcb83.entry.js +2 -0
  404. package/dist/native/p-e7fdcb83.entry.js.map +1 -0
  405. package/dist/native/{p-0177409b.entry.js → p-e887bbf5.entry.js} +2 -2
  406. package/dist/native/p-f22ac722.entry.js +2 -0
  407. package/dist/native/p-f22ac722.entry.js.map +1 -0
  408. package/dist/native/p-f8a099a5.entry.js +2 -0
  409. package/dist/native/p-f8a099a5.entry.js.map +1 -0
  410. package/dist/types/components/nv-dialog/nv-dialog.d.ts +4 -2
  411. package/dist/types/components/nv-fielddate/nv-fielddate.d.ts +1 -1
  412. package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +1 -0
  413. package/dist/types/components/nv-notification-bullet/nv-notification-bullet.d.ts +44 -0
  414. package/dist/types/components/nv-notification-bullet/nv-notification-bullet.docs.d.ts +4 -0
  415. package/dist/types/components/nv-sidebar/nv-sidebar.d.ts +64 -0
  416. package/dist/types/components/nv-sidebar/nv-sidebar.docs.d.ts +4 -0
  417. package/dist/types/components/nv-sidebarcontent/nv-sidebarcontent.d.ts +8 -0
  418. package/dist/types/components/nv-sidebarcontent/nv-sidebarcontent.docs.d.ts +4 -0
  419. package/dist/types/components/nv-sidebardivider/nv-sidebardivider.d.ts +7 -0
  420. package/dist/types/components/nv-sidebardivider/nv-sidebardivider.docs.d.ts +4 -0
  421. package/dist/types/components/nv-sidebarfooter/nv-sidebarfooter.d.ts +9 -0
  422. package/dist/types/components/nv-sidebarfooter/nv-sidebarfooter.docs.d.ts +4 -0
  423. package/dist/types/components/nv-sidebargroup/nv-sidebargroup.d.ts +13 -0
  424. package/dist/types/components/nv-sidebargroup/nv-sidebargroup.docs.d.ts +4 -0
  425. package/dist/types/components/nv-sidebarheader/nv-sidebarheader.d.ts +9 -0
  426. package/dist/types/components/nv-sidebarheader/nv-sidebarheader.docs.d.ts +4 -0
  427. package/dist/types/components/nv-sidebarlogo/nv-sidebarlogo.d.ts +26 -0
  428. package/dist/types/components/nv-sidebarlogo/nv-sidebarlogo.docs.d.ts +4 -0
  429. package/dist/types/components/nv-sidebarnavitem/nv-sidebarnavitem.d.ts +62 -0
  430. package/dist/types/components/nv-sidebarnavitem/nv-sidebarnavitem.docs.d.ts +4 -0
  431. package/dist/types/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.d.ts +15 -0
  432. package/dist/types/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.docs.d.ts +4 -0
  433. package/dist/types/components.d.ts +502 -0
  434. package/dist/vscode-data.json +1758 -0
  435. package/hydrate/index.js +960 -103
  436. package/hydrate/index.mjs +960 -103
  437. package/package.json +41 -5
  438. package/dist/cjs/events.utils-52846a7d.js +0 -32
  439. package/dist/cjs/events.utils-52846a7d.js.map +0 -1
  440. package/dist/cjs/grow.animation-f1cef0ad.js.map +0 -1
  441. package/dist/components/p-4697bd56.js.map +0 -1
  442. package/dist/components/p-4799b6c3.js.map +0 -1
  443. package/dist/components/p-d429a343.js +0 -28
  444. package/dist/components/p-d429a343.js.map +0 -1
  445. package/dist/esm/events.utils-fe1d907f.js +0 -28
  446. package/dist/esm/events.utils-fe1d907f.js.map +0 -1
  447. package/dist/esm/grow.animation-03fa5c19.js.map +0 -1
  448. package/dist/native/p-144d0f8a.entry.js +0 -2
  449. package/dist/native/p-144d0f8a.entry.js.map +0 -1
  450. package/dist/native/p-218135b1.entry.js +0 -2
  451. package/dist/native/p-44ba73dc.entry.js +0 -7
  452. package/dist/native/p-44ba73dc.entry.js.map +0 -1
  453. package/dist/native/p-4697bd56.js +0 -2
  454. package/dist/native/p-4697bd56.js.map +0 -1
  455. package/dist/native/p-57420a2f.entry.js +0 -2
  456. package/dist/native/p-859bf9ad.entry.js.map +0 -1
  457. package/dist/native/p-c9fea0df.entry.js +0 -2
  458. package/dist/native/p-d429a343.js +0 -2
  459. package/dist/native/p-d429a343.js.map +0 -1
  460. package/dist/native/p-d63689da.entry.js.map +0 -1
  461. package/dist/native/p-e6f24210.entry.js +0 -2
  462. /package/dist/native/{p-57420a2f.entry.js.map → p-21dde805.entry.js.map} +0 -0
  463. /package/dist/native/{p-56ed7306.entry.js.map → p-242cdeac.entry.js.map} +0 -0
  464. /package/dist/native/{p-b4382c94.entry.js.map → p-2d363bd9.entry.js.map} +0 -0
  465. /package/dist/native/{p-b02c896a.entry.js.map → p-31a61359.entry.js.map} +0 -0
  466. /package/dist/native/{p-9950e075.entry.js.map → p-3df31ed5.entry.js.map} +0 -0
  467. /package/dist/native/{p-c901693d.entry.js.map → p-4bf63654.entry.js.map} +0 -0
  468. /package/dist/native/{p-587d94f3.entry.js.map → p-6fb6b9e4.entry.js.map} +0 -0
  469. /package/dist/native/{p-a2f58133.entry.js.map → p-7a2f37e2.entry.js.map} +0 -0
  470. /package/dist/native/{p-973f5db2.entry.js.map → p-7b7bbac7.entry.js.map} +0 -0
  471. /package/dist/native/{p-4de8697c.entry.js.map → p-87deff5a.entry.js.map} +0 -0
  472. /package/dist/native/{p-6a418ec4.entry.js.map → p-93d80b03.entry.js.map} +0 -0
  473. /package/dist/native/{p-ae5be175.entry.js.map → p-98cab7d2.entry.js.map} +0 -0
  474. /package/dist/native/{p-fa3e588e.entry.js.map → p-9e36eebc.entry.js.map} +0 -0
  475. /package/dist/native/{p-2a7f80f4.entry.js.map → p-a4a0021c.entry.js.map} +0 -0
  476. /package/dist/native/{p-17666092.entry.js.map → p-a6d8d9a1.entry.js.map} +0 -0
  477. /package/dist/native/{p-eb74feb7.entry.js.map → p-a9a7f1b8.entry.js.map} +0 -0
  478. /package/dist/native/{p-fffbd3c1.entry.js.map → p-aefd32f0.entry.js.map} +0 -0
  479. /package/dist/native/{p-2b4cf4b8.entry.js.map → p-b369a073.entry.js.map} +0 -0
  480. /package/dist/native/{p-c4baad6e.entry.js.map → p-b4128eb5.entry.js.map} +0 -0
  481. /package/dist/native/{p-9c432751.entry.js.map → p-b97f392a.entry.js.map} +0 -0
  482. /package/dist/native/{p-a026654f.entry.js.map → p-c37ab530.entry.js.map} +0 -0
  483. /package/dist/native/{p-533e2530.entry.js.map → p-c4cd2860.entry.js.map} +0 -0
  484. /package/dist/native/{p-bd9bf6a1.entry.js.map → p-d22a503b.entry.js.map} +0 -0
  485. /package/dist/native/{p-f3c73492.entry.js.map → p-da76357c.entry.js.map} +0 -0
  486. /package/dist/native/{p-d0db5e72.entry.js.map → p-dac1537a.entry.js.map} +0 -0
  487. /package/dist/native/{p-0177409b.entry.js.map → p-e887bbf5.entry.js.map} +0 -0
package/hydrate/index.js CHANGED
@@ -13299,7 +13299,7 @@ function v4(options, buf, offset) {
13299
13299
  return unsafeStringify(rnds);
13300
13300
  }
13301
13301
 
13302
- const nvDialogCss = "dialog{border-radius:var(--radius-rounded-2xl);background:var(--color-level-00-background);min-width:min(90vw, 400px);width:fit-content;max-width:clamp(90vw, min(90vw, 960px), 960px);margin:auto;max-height:90vh;overflow:hidden;box-shadow:0px var(--shadow-y-axis-2xl) var(--shadow-blur-2xl) var(--shadow-spread-2xl) var(--shadow-color-opacity-3) var(--shadow-color-opacity-3)}dialog.full{width:90vw}dialog::backdrop{opacity:var(--components-overlay-opacity);background:var(--components-overlay-background)}dialog .content{display:flex;flex-direction:column;align-items:flex-start;height:fit-content;max-height:90vh;overflow:hidden}dialog .content nv-button.close-button{position:absolute;top:var(--dialog-dismissible-position-top);right:var(--dialog-dismissible-position-right);display:flex;padding:var(--button-sm-icon-button-padding);justify-content:flex-end;align-items:flex-start;gap:10px}dialog .content .content-body{overflow:auto;box-sizing:border-box;padding:var(--dialog-body-padding-y) var(--dialog-body-padding-x);scrollbar-gutter:stable both-edges;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--font-size-md);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--line-height-base);color:var(--color-content-medium-text);width:100%}dialog .content .content-body::-webkit-scrollbar{width:6px;height:6px}dialog .content .content-body::-webkit-scrollbar-track{background-color:var(--color-level-10-background);border-radius:9999px}dialog .content .content-body::-webkit-scrollbar-thumb{background-color:var(--color-gray-200);border-radius:9999px}";
13302
+ const nvDialogCss = "nv-dialog dialog{width:100vw;height:100svh;margin:0;max-height:unset;max-width:unset;padding:0;background:color-mix(in srgb, var(--components-overlay-background) 70%, transparent);backdrop-filter:blur(4px)}nv-dialog dialog.full .content{min-width:90vw;width:90vw;max-width:90vw}nv-dialog .backdrop{display:flex;min-height:100%;padding:var(--spacing-3);box-shadow:0px var(--shadow-y-axis-2xl) var(--shadow-blur-2xl) var(--shadow-spread-2xl) var(--shadow-color-opacity-3) var(--shadow-color-opacity-3)}nv-dialog .backdrop .content{border-radius:var(--radius-rounded-2xl);background:var(--color-level-00-background);min-width:min(90vw, 400px);width:fit-content;max-width:clamp(90vw, min(90vw, 960px), 960px);margin:auto;display:flex;flex-direction:column;align-items:flex-start;height:fit-content;position:relative}nv-dialog .backdrop .content nv-button.close-button{position:absolute;top:var(--dialog-dismissible-position-top);right:var(--dialog-dismissible-position-right);display:flex;padding:var(--button-sm-icon-button-padding);justify-content:flex-end;align-items:flex-start;gap:10px}nv-dialog .backdrop .content .content-body{box-sizing:border-box;padding:var(--dialog-body-padding-y) var(--dialog-body-padding-x);scrollbar-gutter:stable both-edges;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--font-size-md);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--line-height-base);color:var(--color-content-medium-text);width:100%}nv-dialog .backdrop .content .content-body::-webkit-scrollbar{width:6px;height:6px}nv-dialog .backdrop .content .content-body::-webkit-scrollbar-track{background-color:var(--color-level-10-background);border-radius:9999px}nv-dialog .backdrop .content .content-body::-webkit-scrollbar-thumb{background-color:var(--color-gray-200);border-radius:9999px}";
13303
13303
  var NvDialogStyle0 = nvDialogCss;
13304
13304
 
13305
13305
  /**
@@ -13372,13 +13372,30 @@ class NvDialog {
13372
13372
  this.close();
13373
13373
  }
13374
13374
  };
13375
- this.handleClickOutside = (event) => {
13376
- if (event.target === this.dialogElement) {
13375
+ /**
13376
+ * Handles the click event to close the dialog when clickOutside is true.
13377
+ * @param {MouseEvent} event - The click event.
13378
+ */
13379
+ this.handleDialogClick = (event) => {
13380
+ if (!this.clickOutside || this.undismissable)
13381
+ return;
13382
+ if (this.checkForOpenPopovers())
13383
+ return;
13384
+ if (event.target === this.backdropElement) {
13377
13385
  this.close();
13378
13386
  event.preventDefault();
13379
13387
  event.stopPropagation();
13380
13388
  }
13381
13389
  };
13390
+ this.checkForOpenPopovers = () => {
13391
+ let hasOpenPopover = false;
13392
+ this.el.querySelectorAll('nv-popover').forEach(popover => {
13393
+ if (popover.hasAttribute('open')) {
13394
+ hasOpenPopover = true;
13395
+ }
13396
+ });
13397
+ return hasOpenPopover;
13398
+ };
13382
13399
  }
13383
13400
  //#endregion PROPERTIES
13384
13401
  /****************************************************************************/
@@ -13392,7 +13409,18 @@ class NvDialog {
13392
13409
  /** It is recommended to use the .show() or .showModal() method to render
13393
13410
  * dialogs, rather than the open attribute. If a <dialog> is opened using
13394
13411
  * the open attribute, it is non-modal. */
13412
+ const { setFadeOut } = useFade(this.dialogElement);
13413
+ setFadeOut();
13395
13414
  this.dialogElement.showModal();
13415
+ const { setGrowIn, growIn } = useGrow(this.contentElement, {
13416
+ duration: 100,
13417
+ amount: 0.9,
13418
+ });
13419
+ const { fadeIn } = useFade(this.dialogElement, {
13420
+ duration: 100,
13421
+ });
13422
+ setGrowIn();
13423
+ await parallel(fadeIn, growIn).start();
13396
13424
  }
13397
13425
  /**
13398
13426
  * Call this method to hide the dialog, making it disappear from view.
@@ -13400,6 +13428,14 @@ class NvDialog {
13400
13428
  async close() {
13401
13429
  this.open = false;
13402
13430
  this.allowScroll();
13431
+ const { growOut } = useGrow(this.contentElement, {
13432
+ duration: 150,
13433
+ amount: 0.85,
13434
+ });
13435
+ const { fadeOut } = useFade(this.dialogElement, {
13436
+ duration: 150,
13437
+ });
13438
+ await parallel(growOut, fadeOut).start();
13403
13439
  this.dialogElement.close();
13404
13440
  }
13405
13441
  /**
@@ -13482,23 +13518,17 @@ class NvDialog {
13482
13518
  handleKeyDown(event) {
13483
13519
  if (event.key !== 'Escape')
13484
13520
  return;
13485
- if (this.undismissable) {
13521
+ if (!this.open)
13522
+ return;
13523
+ event.preventDefault();
13524
+ event.stopPropagation();
13525
+ const hasOpenPopover = this.checkForOpenPopovers();
13526
+ if (!this.undismissable && !hasOpenPopover) {
13486
13527
  event.preventDefault();
13487
13528
  event.stopPropagation();
13488
- }
13489
- else {
13490
13529
  this.close();
13491
13530
  }
13492
13531
  }
13493
- /**
13494
- * Handles the click event to close the dialog when clickOutside is true.
13495
- * @param {MouseEvent} event - The click event.
13496
- */
13497
- handleDocumentClick(event) {
13498
- if (!this.clickOutside || this.undismissable)
13499
- return;
13500
- this.handleClickOutside(event);
13501
- }
13502
13532
  //#endregion LISTENERS
13503
13533
  /****************************************************************************/
13504
13534
  //#region LIFECYCLE
@@ -13536,6 +13566,7 @@ class NvDialog {
13536
13566
  this.attachEventListeners();
13537
13567
  // Additional form check in case form was added after initial load
13538
13568
  this.checkForForm();
13569
+ // this.setupContentBodyListeners();
13539
13570
  }
13540
13571
  disconnectedCallback() {
13541
13572
  if (this.triggerElement && !this.eventsAttached && !this.controlled) {
@@ -13549,7 +13580,7 @@ class NvDialog {
13549
13580
  //#region RENDER
13550
13581
  render() {
13551
13582
  const hasForm = this.form || this.el.querySelector('form');
13552
- return (hAsync(Host, { key: 'b32680019247cf7e39b5861a77dce61e08eadd7b' }, hAsync("slot", { key: '104978b5cccd97997955a6c0db21f9549643f40a', name: "trigger" }), hAsync("dialog", { key: '951a58755ac49f6c2b2f427599d5bc2540c65e2e', 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: '96b727e70efe35991086ead905f925af28808cb8', class: "content" }, !this.undismissable && (hAsync("nv-button", { key: '36f2214d2ed81d7b85c3c523f490e75ca2bffc68', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDialogClose, "aria-label": "Close dialog" }, hAsync("nv-icon", { key: '7a50fc4e330e7ab67bba0fa429c5cd92630014bc', name: "x", size: "sm" }))), this.headerElement ? (hAsync("slot", { name: "header" })) : (hAsync("nv-dialogheader", { id: "dialog-header" })), hAsync("div", { key: 'cf4269a73467794d0158a4e56f34e2a81edd6643', class: "content-body", id: "dialog-content" }, hAsync("slot", { key: 'f91e72aafdd2f5de65ae78262f274b83bd37560d' })), this.footerElement ? (hAsync("slot", { name: "footer" })) : (hAsync("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDialogCanceled: this.handleDialogClose, undismissable: this.undismissable }))))));
13583
+ return (hAsync(Host, { key: '91b36e5daac0251997c7a6794166794f1e89087f' }, hAsync("slot", { key: 'abeef317af74093c9b09fa6f2d300c23bbde54a6', name: "trigger" }), hAsync("dialog", { key: '1eb417dc921bca7837aa05aad9c252fba7d9d920', ref: el => (this.dialogElement = el), onClose: this.handleDialogClose, onClick: this.handleDialogClick, role: "dialog", "aria-modal": "true", "aria-labelledby": "dialog-header", "aria-describedby": "dialog-content", class: clsx({ full: this.full }) }, hAsync("div", { key: '8ec55c461a747ebb4556fbf791ee1d66d3bcc51a', class: "backdrop", ref: el => (this.backdropElement = el) }, hAsync("div", { key: '373beedad09464f3473935e0464b3f51133e0372', class: "content", ref: el => (this.contentElement = el) }, !this.undismissable && (hAsync("nv-button", { key: '5e94d056687837b017991f54df6cf350159addcc', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDialogClose, "aria-label": "Close dialog" }, hAsync("nv-icon", { key: '98db7848b9796589b9e7670c62a26417228a15d6', name: "x", size: "sm" }))), this.headerElement ? (hAsync("slot", { name: "header" })) : (hAsync("nv-dialogheader", { id: "dialog-header" })), hAsync("div", { key: '611eb7914b65d5a27513f91eb458a578dbc63734', class: "content-body", id: "dialog-content" }, hAsync("slot", { key: 'caf21876e6a33e997eccdc577fb43d6e63fcfc90' })), this.footerElement ? (hAsync("slot", { name: "footer" })) : (hAsync("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDialogCanceled: this.handleDialogClose, undismissable: this.undismissable })))))));
13553
13584
  }
13554
13585
  get el() { return getElement(this); }
13555
13586
  static get watchers() { return {
@@ -13572,7 +13603,7 @@ class NvDialog {
13572
13603
  "show": [64],
13573
13604
  "close": [64]
13574
13605
  },
13575
- "$listeners$": [[4, "keydown", "handleKeyDown"], [4, "click", "handleDocumentClick"]],
13606
+ "$listeners$": [[4, "keydown", "handleKeyDown"]],
13576
13607
  "$lazyBundleId$": "-",
13577
13608
  "$attrsToReflect$": [["open", "open"], ["undismissable", "undismissable"], ["clickOutside", "click-outside"], ["controlled", "controlled"], ["full", "full"], ["autofocus", "autofocus"]]
13578
13609
  }; }
@@ -13669,7 +13700,7 @@ class NvDialogfooter {
13669
13700
  /****************************************************************************/
13670
13701
  //#region RENDER
13671
13702
  render() {
13672
- return (hAsync(Host, { key: '0868c3af73f89219eee7c006b4ddca47c6da29b0' }, !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))));
13703
+ return (hAsync(Host, { key: '908abbe8e2e9aa215641dd056c70dc16f36c3ac3' }, !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))));
13673
13704
  }
13674
13705
  static get formAssociated() { return true; }
13675
13706
  get el() { return getElement(this); }
@@ -13725,7 +13756,7 @@ class NvDialogheader {
13725
13756
  /****************************************************************************/
13726
13757
  //#region RENDER
13727
13758
  render() {
13728
- return (hAsync(Host, { key: 'f91a9aea8aa7116266f52bb356ef2ec493df6354' }, !this.hasSlot ? (hAsync(Fragment, null, hAsync("div", { class: "heading" }, this.heading), hAsync("div", { class: "subheading" }, this.subheading))) : (hAsync("slot", null))));
13759
+ return (hAsync(Host, { key: 'e3390a18cd40f00dd70f71b436d3603fdcb2b337' }, !this.hasSlot ? (hAsync(Fragment, null, hAsync("div", { class: "heading" }, this.heading), hAsync("div", { class: "subheading" }, this.subheading))) : (hAsync("slot", null))));
13729
13760
  }
13730
13761
  get el() { return getElement(this); }
13731
13762
  static get style() { return NvDialogheaderStyle0; }
@@ -13864,13 +13895,13 @@ class NvFieldcheckbox {
13864
13895
  /****************************************************************************/
13865
13896
  //#region RENDER
13866
13897
  render() {
13867
- return (hAsync(Host, { key: '62195333f84808381f19ca4017916380d20d493f', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, hAsync("div", { key: '65f02aee06eacecf83c5297d87130bbe9f85b19c', class: "input-container" }, hAsync("input", { key: 'c3e8fcb41c835f0eba254f9e77de749b7dc6349e', 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 => {
13898
+ return (hAsync(Host, { key: '4db161f34d188b5370f28a39ec9637d269719b04', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, hAsync("div", { key: '7608f50840faf35c4da8dbfcc8240becece6f609', class: "input-container" }, hAsync("input", { key: '733ad01f2cadd1e17d6bfc40022ef9ab1db93f0a', 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 => {
13868
13899
  if (el) {
13869
13900
  el.indeterminate = this.indeterminate;
13870
13901
  }
13871
- } }), hAsync("span", { key: '439a8c467373d734293012514cdb22c419b534ae', class: "icon" }, this.checked && !this.indeterminate && (hAsync("slot", { key: '335a92ed1431fe96af3c7c6fac2f4245c0d4caaa', name: "checked-icon" }, hAsync("svg", { key: '67d97efca27a97c7db77d9f8c182a21fbd21d13c', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, hAsync("path", { key: '9cb6730b00813e8d4fe6fa14549de6f2a41ea068', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (hAsync("slot", { key: 'e47b17269156f72ddaf7af1ecc818ae5b6b8c0d3', name: "indeterminate-icon" }, hAsync("svg", { key: '4748acc27a70e74f9228cdb6e41eae4b1ae82559', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, hAsync("path", { key: '40748b36b277c1ed6ea8fc8f82f4cd687b2f6e3a', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), hAsync("slot", { key: '0fa9e559cefb8169c20b171fcbb6c1786fd6b3ae' }), hAsync("div", { key: '44eef633025d1a7606979d4d8374c2a04081f45c', class: "text-container" }, hAsync("slot", { key: 'b43251a02b15431f5399c3bced485b89741e069e', name: "main" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '7781451a357961ce1606b18c590baa344df4ff95', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, hAsync("slot", { key: 'b420ad1dbdc05a5c57d0b45e62176866ec0527ca', name: "label" }, this.label))), (this.description ||
13872
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '67715bef879e0778b58648b83135edefdbdba53d', class: "description" }, hAsync("slot", { key: 'b1d4d21e83130e19e94efa915abd6661c027bbce', name: "description" }, this.description)))), (this.errorDescription ||
13873
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '157df3faf2cadb4014ba8475c99cf68d86da9f63', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '42aa95b2332618120d846fa481a1b30b7edeccca', name: "error-description" }, this.errorDescription))))));
13902
+ } }), hAsync("span", { key: '81da5960abee0aa2c74f10612d05388e427b3a1a', class: "icon" }, this.checked && !this.indeterminate && (hAsync("slot", { key: 'e257ebad9a1c23bc77961645dabe6e0fc8c51440', name: "checked-icon" }, hAsync("svg", { key: 'd4005dfd634169aa14140c7eba1e0ac63e28342d', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, hAsync("path", { key: '1817c25edf09f09d4317d9e41b52484883c7a943', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (hAsync("slot", { key: '043148db3518e99f2850ffa4b3622f7ae3c654a7', name: "indeterminate-icon" }, hAsync("svg", { key: 'b8a67cfa8d0f880657b62b89ddae7a238b22bc26', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, hAsync("path", { key: 'd63f610ff5cca552d295de18dffeda84cbd370ac', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), hAsync("slot", { key: 'e4befe30753cd2f76da4af10e648704068f7ce55' }), hAsync("div", { key: '281b4046dbeb8b8dcb05fc154b65ed822fa45960', class: "text-container" }, hAsync("slot", { key: '8e40b1e52c55fa45b38bec26e6b20da90c8553ed', name: "main" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'ad2e4a47d1d5a218835b410579e7e93febd08d15', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, hAsync("slot", { key: '815d03f2c69465e430178c29a885ad770e2c561f', name: "label" }, this.label))), (this.description ||
13903
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '22159e2cb8c4897507da91ebee09502922093ead', class: "description" }, hAsync("slot", { key: '61b277015ecb4e0e3b813e45dbb6cd7ebe89506b', name: "description" }, this.description)))), (this.errorDescription ||
13904
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '924d333e443c943b5fe37f31e3191d231b9d87e1', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '2469d3f6cf2121b489b637138642417d27556740', name: "error-description" }, this.errorDescription))))));
13874
13905
  }
13875
13906
  static get formAssociated() { return true; }
13876
13907
  get el() { return getElement(this); }
@@ -17773,17 +17804,17 @@ class NvFielddate {
17773
17804
  * @param {MouseEvent} event - The click event.
17774
17805
  */
17775
17806
  this.handleClickOutside = (event) => {
17776
- if (this.open && this.el && !this.el.contains(event.target)) {
17807
+ var _a;
17808
+ if (!(event.target instanceof Node))
17809
+ return;
17810
+ if (!((_a = this.el) === null || _a === void 0 ? void 0 : _a.contains(event.target)))
17777
17811
  this.open = false;
17778
- }
17779
17812
  };
17780
17813
  /**
17781
17814
  * Focuses the input when the input container is clicked.
17782
17815
  * @param {MouseEvent} event - The click event.
17783
17816
  */
17784
17817
  this.handleInputContainerClick = (event) => {
17785
- // Stop propagation to prevent closing parent dialogs
17786
- event.stopPropagation();
17787
17818
  if (this.readonly || this.disabled) {
17788
17819
  event.preventDefault();
17789
17820
  return;
@@ -17846,12 +17877,10 @@ class NvFielddate {
17846
17877
  * Toggles the opening/closing of the popover.
17847
17878
  * @param {MouseEvent} event - The click event.
17848
17879
  */
17849
- this.toggleCalendar = (event) => {
17880
+ this.toggleCalendar = () => {
17850
17881
  if (this.readonly || this.disabled) {
17851
17882
  return;
17852
17883
  }
17853
- // Stop propagation to prevent closing parent dialogs
17854
- event.stopPropagation();
17855
17884
  this.open = !this.open;
17856
17885
  };
17857
17886
  }
@@ -17928,9 +17957,6 @@ class NvFielddate {
17928
17957
  //#endregion METHODS
17929
17958
  /****************************************************************************/
17930
17959
  //#region LIFECYCLE
17931
- connectedCallback() {
17932
- document.addEventListener('click', this.handleClickOutside);
17933
- }
17934
17960
  componentWillLoad() {
17935
17961
  if (this.value) {
17936
17962
  this.singleValue = this.value;
@@ -17957,7 +17983,6 @@ class NvFielddate {
17957
17983
  }
17958
17984
  }
17959
17985
  disconnectedCallback() {
17960
- document.removeEventListener('click', this.handleClickOutside);
17961
17986
  if (this.inputElement &&
17962
17987
  this.inputElement.inputmask) {
17963
17988
  this.inputElement.inputmask.remove();
@@ -18012,6 +18037,9 @@ class NvFielddate {
18012
18037
  handleClosePopover() {
18013
18038
  this.open = false;
18014
18039
  }
18040
+ handleDocumentClick(event) {
18041
+ this.handleClickOutside(event);
18042
+ }
18015
18043
  handleKeyDown(event) {
18016
18044
  if (event.key === 'Escape') {
18017
18045
  this.open = false;
@@ -18035,13 +18063,13 @@ class NvFielddate {
18035
18063
  /****************************************************************************/
18036
18064
  //#region RENDER
18037
18065
  render() {
18038
- return (hAsync(Host, { key: '0ec615c05a7f830586f21a6e26a62cbbec4902b0' }, ((this.label && this.label.length > 0) ||
18039
- this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '1b1814a4ab2ccef80d2ee641d2624397f6b953d1', htmlFor: this.inputId }, hAsync("slot", { key: '853d2f3ef6561dd05ccd438c717a866a62f4791a', name: "label" }, this.label))), hAsync("nv-popover", { key: '3259f86dbb8051a9ca10fe3a63b5716dc24b356e', ref: this.setPopoverRef, id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", strategy: "fixed", open: this.open }, hAsync("div", { key: 'd6f40610224724396ce6a1b5857f6baa6b308172', slot: "trigger", class: "input-wrapper" }, hAsync("slot", { key: '9736e07f75aff0c74d23198648f6266854c4f523', name: "before-input" }), hAsync("div", { key: 'c7019e5f0c7a88458f3dc1759b4d7d1d5f098dc9', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '1c8fcc1f3cb6dfe5016f09780b5c4085eb53bf9b', name: "leading-input" }), hAsync("input", { key: 'b1482ebabf4753dacb434774df3247c0ea9b885b', id: this.inputId, ref: this.setInputRef, placeholder: this.placeholder ||
18040
- this.convertToInputmaskFormat(this.dateFormat), name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, onInput: this.handleInput, onFocus: this.handleFocus, "data-scope": "date" }), this.error && (hAsync("nv-icon", { key: '7a9448bd1aef0dcf95183651b07621cebdeec467', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: 'c7329b1feaca5f1bcdaae5e8398a6357bb228333', name: "circle-check", class: "validation", size: "md" })), hAsync("nv-iconbutton", { key: 'd26593800bc0f65438906c576adbefabc841081a', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
18066
+ return (hAsync(Host, { key: 'c8b62c90ddfde96e12cb63aafba29d5b507286c6' }, ((this.label && this.label.length > 0) ||
18067
+ this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '761e06fd5d55b23946a87b86403105be049bbb4b', htmlFor: this.inputId }, hAsync("slot", { key: '73676bbc15ddc90172e0d1a6da0c84bb21e433a1', name: "label" }, this.label))), hAsync("nv-popover", { key: 'dddd5f5619c6696b1a7b9991c94fba01e3710199', ref: this.setPopoverRef, id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: '28bcfe3c9a50b81b1c2565b1dbab0479cf0927c0', slot: "trigger", class: "input-wrapper" }, hAsync("slot", { key: '9ff4bfecd08b05c3425baa16f56da95584a33977', name: "before-input" }), hAsync("div", { key: '8cfb31352d12b45d4450fabeb84328bfb9644ee4', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: 'ac99e0f250644eef55a24979f92890b04c03179e', name: "leading-input" }), hAsync("input", { key: 'dd490963055df6295d6a04eda58d44857d827255', id: this.inputId, ref: this.setInputRef, placeholder: this.placeholder ||
18068
+ this.convertToInputmaskFormat(this.dateFormat), name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, onInput: this.handleInput, onFocus: this.handleFocus, "data-scope": "date" }), this.error && (hAsync("nv-icon", { key: '16b6825561152e5157aca753082c7229d15e2c46', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '4780677cf8da9866d2fa4d40557b564b8920b065', name: "circle-check", class: "validation", size: "md" })), hAsync("nv-iconbutton", { key: 'c6bd82b770b28f35b6716abc8cba5a28aa13dd56', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
18041
18069
  ,
18042
- size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: '7308a0126263ca8f0182bfbbc5305d0392fe6187', name: "after-input" })), hAsync("div", { key: '25f181caaa5fa66d0245de5d050f41f603bae804', slot: "content" }, hAsync("nv-calendar", { key: '0ade256f483d9c7d3c7a3af47790646510a59c2e', 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, onValueChanged: this.handleCalendarValueChanged }))), ((this.description && this.description.length > 0) ||
18043
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'a6b011fb140ed508a9681e9dd0635261db705c7c', class: "description" }, hAsync("slot", { key: 'dfffc39d6fd525a359ff72f1ccf263f1f2a57274', name: "description" }, this.description))), (this.errorDescription ||
18044
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'd421e5bf8f9839ce636007864fddfb24bac43631', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (hAsync("slot", { name: "error-description" })) : (this.errorDescription))), hAsync("slot", { key: 'b8e8b003f1fca9a499ab276bf8717f018d33fbb5' })));
18070
+ size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: '85ed704fa118dc5087af5ce8e791e91a3c210093', name: "after-input" })), hAsync("div", { key: 'ad9eaa9cedb72c56d8d5b201904259798a790aa4', slot: "content" }, hAsync("nv-calendar", { key: '79abc83113d0a14bdfcb19e693b6f5d94adaa071', 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, onValueChanged: this.handleCalendarValueChanged }))), ((this.description && this.description.length > 0) ||
18071
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '8d3620b3ddb001c5ed1ba0557310a7bf4af4c5e0', class: "description" }, hAsync("slot", { key: 'b80b706332d733476feec054737f35a4f008a078', name: "description" }, this.description))), (this.errorDescription ||
18072
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '976a1e236e6391ef7e8aeac0b56c1fd815bb9640', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (hAsync("slot", { name: "error-description" })) : (this.errorDescription))), hAsync("slot", { key: 'eb645c44cde2c175892ed31326d71897e3a5062c' })));
18045
18073
  }
18046
18074
  get el() { return getElement(this); }
18047
18075
  static get watchers() { return {
@@ -18082,7 +18110,7 @@ class NvFielddate {
18082
18110
  "open": [32],
18083
18111
  "clear": [64]
18084
18112
  },
18085
- "$listeners$": [[0, "singleDateChange", "handleSingleDateChange"], [0, "closePopover", "handleClosePopover"], [0, "keydown", "handleKeyDown"]],
18113
+ "$listeners$": [[0, "singleDateChange", "handleSingleDateChange"], [0, "closePopover", "handleClosePopover"], [4, "click", "handleDocumentClick"], [0, "keydown", "handleKeyDown"]],
18086
18114
  "$lazyBundleId$": "-",
18087
18115
  "$attrsToReflect$": [["inputId", "input-id"], ["label", "label"], ["description", "description"], ["placeholder", "placeholder"], ["name", "name"], ["disabled", "disabled"], ["readonly", "readonly"], ["required", "required"], ["error", "error"], ["errorDescription", "error-description"], ["success", "success"], ["autofocus", "autofocus"], ["value", "value"], ["firstDayOfWeek", "first-day-of-week"], ["numberOfCalendars", "number-of-calendars"], ["min", "min"], ["max", "max"], ["locale", "locale"], ["dateFormat", "date-format"], ["shortcutsPlacement", "shortcuts-placement"], ["showActions", "show-actions"], ["showWeekNumbers", "show-week-numbers"], ["fluid", "fluid"]]
18088
18116
  }; }
@@ -18317,12 +18345,10 @@ class NvFielddaterange {
18317
18345
  * Toggles the opening/closing of the popover.
18318
18346
  * @param {MouseEvent} event - The click event.
18319
18347
  */
18320
- this.toggleCalendar = (event) => {
18348
+ this.toggleCalendar = () => {
18321
18349
  if (this.readonly || this.disabled) {
18322
18350
  return;
18323
18351
  }
18324
- // Stop propagation to prevent closing parent dialogs
18325
- event.stopPropagation();
18326
18352
  this.open = !this.open;
18327
18353
  };
18328
18354
  }
@@ -18612,12 +18638,12 @@ class NvFielddaterange {
18612
18638
  /****************************************************************************/
18613
18639
  //#region RENDER
18614
18640
  render() {
18615
- return (hAsync(Host, { key: '091fcbf743d63bce095fe2f0dfe2c3b62eb27691' }, ((this.label && this.label.length > 0) ||
18616
- this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '6566223deb5070b16724fdffa5223f3142abe8a8', htmlFor: this.startInputId }, hAsync("slot", { key: 'e26f1c52a4c9326506752679a8cca1952a7a16cc', name: "label" }, this.label))), hAsync("nv-popover", { key: 'f88e0162e05a5267fe79edfce881302959324d0c', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", strategy: "fixed", open: this.open }, hAsync("div", { key: '9891bd8f655bb197937a4cb749ae6aab04dd7d03', slot: "trigger", class: "input-wrapper" }, hAsync("slot", { key: '501373a4a2cd17a8ff0e51f8bb6bd7812686d96f', name: "before-input" }), hAsync("div", { key: '67586c4999a0f5eb7261486162be293ad3a7af88', class: "input-container" }, hAsync("slot", { key: '6f47145fe7a8de22311e5bbf7dbda3f9ad3a7516', name: "leading-input" }), hAsync("div", { key: 'e3d5a24a8874709ef4ee2075934824664817e23c', class: "range-inputs" }, hAsync("input", { key: '15d3ff16f47fe17b72a697e9155cc448253fd9e2', id: this.startInputId, type: "text", placeholder: this.startPlaceholder ||
18617
- this.convertToInputmaskFormat(this.dateFormat), name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus, "data-scope": "date-range" }), hAsync("div", { key: 'f5401156bcf4f3815bab6151446f0d610c15fdd4', class: "range-separator" }), hAsync("input", { key: '0c00bf69390ff60d14cdbaea4bb50ef0b2bad4f6', id: this.endInputId, type: "text", placeholder: this.endPlaceholder ||
18618
- this.convertToInputmaskFormat(this.dateFormat), name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: this.required, value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus, "data-scope": "date-range" })), this.error && (hAsync("nv-icon", { key: '12edaf5750b1859bcf2760a5879e2c95587d56fd', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: 'f5022132ee6771922e84d942764516c9e1beb539', name: "circle-check", class: "validation", size: "md" })), hAsync("nv-iconbutton", { key: '8938c06c316d7fdae873d7ee0f967d56c70824a1', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: '9915b8477bc690f3137b5a9aa6d1b05e7836a951', name: "after-input" })), hAsync("div", { key: '6068c57cf56b056ff5420923864a94472dbac32a', slot: "content" }, hAsync("nv-calendar", { key: '8dd945abd1a9f16f38474fa091dfb8d4919887a0', ref: el => (this.calendarElement = el), dateFormat: this.dateFormat, value: this.value, 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", "data-prevent-navigation": "true" }))), ((this.description && this.description.length > 0) ||
18619
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '7ef39c67687d0bd02e3f7df90a3d219961074602', class: "description" }, hAsync("slot", { key: '8d7a226adcf892da6851406d45c18dfcb2a7f9c7', name: "description" }, this.description))), (this.errorDescription ||
18620
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '23ed909597234f6dde3ace8de00b891e9b6ac862', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (hAsync("slot", { name: "error-description" })) : (this.errorDescription))), hAsync("slot", { key: '34d6bf60a2dab0d3f167ae775e3a43997ae2fa42' })));
18641
+ return (hAsync(Host, { key: '9f0ce8b2e6579ea6225dfbac7cb75cf78ea0c5f5' }, ((this.label && this.label.length > 0) ||
18642
+ this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '9adfefaeda1116c4b3dfa297529aa77a48b66cfe', htmlFor: this.startInputId }, hAsync("slot", { key: '819fcfcf8ee7b649e3271d9c8ae24a4b70a60c81', name: "label" }, this.label))), hAsync("nv-popover", { key: 'f689f4796b739ca1651cb812c428663e5935fa64', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: 'c5f3174c497a74205a4ab5e289ededbc2ab6ca3f', slot: "trigger", class: "input-wrapper" }, hAsync("slot", { key: '08e0703992304fe911a2ff4eef74023c8832629b', name: "before-input" }), hAsync("div", { key: '9bc9c65f34a2de1c9f8054ccc038258982033e1b', class: "input-container" }, hAsync("slot", { key: '47dbf93940e9c452d20b67b81fb7abd9b807af0d', name: "leading-input" }), hAsync("div", { key: 'ea4587f7c5013cbd8d7e093aa85532438c18b5ab', class: "range-inputs" }, hAsync("input", { key: '544297b36fb3646178c663d6aaa22c2cd3e0616b', id: this.startInputId, type: "text", placeholder: this.startPlaceholder ||
18643
+ this.convertToInputmaskFormat(this.dateFormat), name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus, "data-scope": "date-range" }), hAsync("div", { key: '15862aa6acde78f9da8433ded18b5a9ca8508ff5', class: "range-separator" }), hAsync("input", { key: 'f481feb34af3f5581f2d97bafaa126f306aae12b', id: this.endInputId, type: "text", placeholder: this.endPlaceholder ||
18644
+ this.convertToInputmaskFormat(this.dateFormat), name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: this.required, value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus, "data-scope": "date-range" })), this.error && (hAsync("nv-icon", { key: '9a4a155d4e6ab389406ad14cc29e8fa25e578ce9', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '19969e5286a666fceb583de8901191595329f380', name: "circle-check", class: "validation", size: "md" })), hAsync("nv-iconbutton", { key: '76a17a3d44ce189128467997434e34e82d607363', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: '53c374d1628c396015f7006ad63c294932d5e78e', name: "after-input" })), hAsync("div", { key: 'f5d53344987a39a54ac933cc94c802212b98c651', slot: "content" }, hAsync("nv-calendar", { key: '4992731905d118e806a9a22df0413bdfb350f61e', ref: el => (this.calendarElement = el), dateFormat: this.dateFormat, value: this.value, 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", "data-prevent-navigation": "true" }))), ((this.description && this.description.length > 0) ||
18645
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '396e2f1e53b4e7cd6233993c10aac1b1001d6a3c', class: "description" }, hAsync("slot", { key: 'fccf3a987ed03560d8eb8a3657ca3ce9f291493c', name: "description" }, this.description))), (this.errorDescription ||
18646
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'e76e336e460ed64a05fd1748859f159ce3b74120', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (hAsync("slot", { name: "error-description" })) : (this.errorDescription))), hAsync("slot", { key: 'be76d31f0eeaf50e589f0ab317e04bd3be3d9ba4' })));
18621
18647
  }
18622
18648
  get el() { return getElement(this); }
18623
18649
  static get watchers() { return {
@@ -18668,7 +18694,7 @@ class NvFielddaterange {
18668
18694
  }; }
18669
18695
  }
18670
18696
 
18671
- const nvFielddropdownCss = "nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fielddropdown{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box;max-width:480px}nv-fielddropdown[fluid]:not([fluid=false]){max-width:unset}nv-fielddropdown[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fielddropdown[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive-in-field)}nv-fielddropdown[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:var(--font-weight-high-emphasis)}nv-fielddropdown[hidden]:not([hidden=false]) label{display:none}nv-fielddropdown label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-label-line-height)}nv-fielddropdown nv-popover{width:100%;display:block}nv-fielddropdown nv-popover [data-scope=popover]{width:100%;padding:var(--list-dropdown-padding);border-radius:var(--list-dropdown-radius);background-color:var(--components-list-dropdown-background);border:1px solid var(--components-list-dropdown-border)}nv-fielddropdown nv-popover [slot=content]{gap:var(--list-dropdown-gap-y);display:flex;flex-direction:column}nv-fielddropdown nv-popover hr{color:var(--components-list-dropdown-separator)}nv-fielddropdown nv-popover div[slot=content]{max-height:calc(90vh - var(--list-dropdown-padding) * 2);overflow-y:auto;position:relative}nv-fielddropdown nv-popover div[slot=content]::-webkit-scrollbar{width:6px;height:6px}nv-fielddropdown nv-popover div[slot=content]::-webkit-scrollbar-track{background-color:var(--color-level-10-background);border-radius:9999px}nv-fielddropdown nv-popover div[slot=content]::-webkit-scrollbar-thumb{background-color:var(--color-gray-200);border-radius:9999px}nv-fielddropdown .input-wrapper{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch;width:100%}nv-fielddropdown .input-container{display:flex;flex-grow:1;justify-content:center;align-items:center;align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default, 1);background:var(--nv-field-background);transition:all 150ms ease-out;position:relative;width:100%;min-height:40px}nv-fielddropdown .input-container:hover{border-color:var(--nv-field-border-hover)}nv-fielddropdown .input-container:focus-within,nv-fielddropdown .input-container:focus-within:hover,nv-fielddropdown .input-container:focus,nv-fielddropdown .input-container:focus:hover{border-color:var(--nv-field-border-focus);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fielddropdown .input-container:has(input:read-only){opacity:0.5;background-color:var(--components-form-field-background-readonly);border-color:var(--nv-field-border-readonly)}nv-fielddropdown .input-container:has(input:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fielddropdown .input-container input[type=search]::-webkit-search-decoration,nv-fielddropdown .input-container input[type=search]::-webkit-search-cancel-button,nv-fielddropdown .input-container input[type=search]::-webkit-search-results-button,nv-fielddropdown .input-container input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}nv-fielddropdown .input-container input,nv-fielddropdown .input-container p.non-filterable-text{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);padding:var(--form-field-padding-y) var(--form-field-padding-x);font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height);width:100%;}nv-fielddropdown .input-container input:focus,nv-fielddropdown .input-container p.non-filterable-text:focus{outline:none}nv-fielddropdown .input-container input::placeholder,nv-fielddropdown .input-container p.non-filterable-text::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--form-field-line-height)}nv-fielddropdown .input-container input[type=password]::-ms-clear,nv-fielddropdown .input-container input[type=password]::-ms-reveal,nv-fielddropdown .input-container p.non-filterable-text[type=password]::-ms-clear,nv-fielddropdown .input-container p.non-filterable-text[type=password]::-ms-reveal{display:none;width:0;height:0}nv-fielddropdown .input-container>nv-iconbutton{border:0px;border-radius:0px}nv-fielddropdown .input-container>nv-iconbutton:focus-visible{border-radius:var(--button-md-border-radius);outline-offset:-3px}nv-fielddropdown .input-container>nv-iconbutton:last-of-type{border-top-right-radius:var(--form-field-radius);border-bottom-right-radius:var(--form-field-radius)}nv-fielddropdown .input-container nv-icon.validation{color:var(--nv-field-border-default)}nv-fielddropdown .non-filterable-text{display:block;border-radius:var(--form-field-radius);background-color:var(--nv-field-background);color:var(--components-form-field-content-text);font-size:var(--form-field-font-size);font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height);box-sizing:border-box;cursor:pointer;height:100%;min-height:40px}nv-fielddropdown .non-filterable-text span{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis}nv-fielddropdown .description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fielddropdown .error-description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}";
18697
+ const nvFielddropdownCss = "nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fielddropdown{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box;max-width:480px}nv-fielddropdown[fluid]:not([fluid=false]){max-width:unset}nv-fielddropdown[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fielddropdown[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive-in-field)}nv-fielddropdown[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:var(--font-weight-high-emphasis)}nv-fielddropdown[hidden]:not([hidden=false]) label{display:none}nv-fielddropdown label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-label-line-height)}nv-fielddropdown nv-popover{width:100%;display:block}nv-fielddropdown nv-popover [data-scope=popover]{min-width:100%;width:max-content;max-width:400px;padding:var(--list-dropdown-padding);border-radius:var(--list-dropdown-radius);background-color:var(--components-list-dropdown-background);border:1px solid var(--components-list-dropdown-border)}nv-fielddropdown nv-popover [slot=content]{gap:var(--list-dropdown-gap-y);display:flex;flex-direction:column}nv-fielddropdown nv-popover hr{color:var(--components-list-dropdown-separator)}nv-fielddropdown nv-popover div[slot=content]{max-height:calc(90vh - var(--list-dropdown-padding) * 2);overflow-y:auto;position:relative}nv-fielddropdown nv-popover div[slot=content]::-webkit-scrollbar{width:6px;height:6px}nv-fielddropdown nv-popover div[slot=content]::-webkit-scrollbar-track{background-color:var(--color-level-10-background);border-radius:9999px}nv-fielddropdown nv-popover div[slot=content]::-webkit-scrollbar-thumb{background-color:var(--color-gray-200);border-radius:9999px}nv-fielddropdown .input-wrapper{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch;width:100%}nv-fielddropdown .input-container{display:flex;flex-grow:1;justify-content:center;align-items:center;align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default, 1);background:var(--nv-field-background);transition:all 150ms ease-out;position:relative;width:100%;min-height:40px}nv-fielddropdown .input-container:hover{border-color:var(--nv-field-border-hover)}nv-fielddropdown .input-container:focus-within,nv-fielddropdown .input-container:focus-within:hover,nv-fielddropdown .input-container:focus,nv-fielddropdown .input-container:focus:hover{border-color:var(--nv-field-border-focus);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fielddropdown .input-container:has(input:read-only){opacity:0.5;background-color:var(--components-form-field-background-readonly);border-color:var(--nv-field-border-readonly)}nv-fielddropdown .input-container:has(input:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fielddropdown .input-container input[type=search]::-webkit-search-decoration,nv-fielddropdown .input-container input[type=search]::-webkit-search-cancel-button,nv-fielddropdown .input-container input[type=search]::-webkit-search-results-button,nv-fielddropdown .input-container input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}nv-fielddropdown .input-container input,nv-fielddropdown .input-container p.non-filterable-text{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);padding:var(--form-field-padding-y) var(--form-field-padding-x);font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height);width:100%;}nv-fielddropdown .input-container input:focus,nv-fielddropdown .input-container p.non-filterable-text:focus{outline:none}nv-fielddropdown .input-container input::placeholder,nv-fielddropdown .input-container p.non-filterable-text::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--form-field-line-height)}nv-fielddropdown .input-container input[type=password]::-ms-clear,nv-fielddropdown .input-container input[type=password]::-ms-reveal,nv-fielddropdown .input-container p.non-filterable-text[type=password]::-ms-clear,nv-fielddropdown .input-container p.non-filterable-text[type=password]::-ms-reveal{display:none;width:0;height:0}nv-fielddropdown .input-container p.non-filterable-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;border-radius:var(--form-field-radius);background-color:var(--nv-field-background);color:var(--components-form-field-content-text);font-size:var(--form-field-font-size);font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height);box-sizing:border-box;cursor:pointer;height:100%;min-height:40px}nv-fielddropdown .input-container p.non-filterable-text span{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis}nv-fielddropdown .input-container>nv-iconbutton{border:0px;border-radius:0px}nv-fielddropdown .input-container>nv-iconbutton:focus-visible{border-radius:var(--button-md-border-radius);outline-offset:-3px}nv-fielddropdown .input-container>nv-iconbutton:last-of-type{border-top-right-radius:var(--form-field-radius);border-bottom-right-radius:var(--form-field-radius)}nv-fielddropdown .input-container nv-icon.validation{color:var(--nv-field-border-default)}nv-fielddropdown .description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fielddropdown .error-description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}";
18672
18698
  var NvFielddropdownStyle0 = nvFielddropdownCss;
18673
18699
 
18674
18700
  /**
@@ -18940,7 +18966,9 @@ class NvFielddropdown {
18940
18966
  this.open = !this.open;
18941
18967
  }
18942
18968
  setFilterInputToSelectedValue() {
18943
- if (!this.filterable)
18969
+ if (!this.filterable && !this.disabled && !this.readonly)
18970
+ return;
18971
+ if (!this.inputElement)
18944
18972
  return;
18945
18973
  if (!this.value)
18946
18974
  return (this.inputElement.value = '');
@@ -19033,14 +19061,21 @@ class NvFielddropdown {
19033
19061
  disconnectedCallback() {
19034
19062
  clearTimeout(this.debounceTimer);
19035
19063
  }
19064
+ componentDidRender() {
19065
+ // Make sure to show the value when the field is disabled or readonly
19066
+ // as we switch to an input instead of a p in that case
19067
+ if (!this.filterable && (this.disabled || this.readonly)) {
19068
+ this.inputElement.value = this.getSelectedLabel();
19069
+ }
19070
+ }
19036
19071
  //#endregion LIFECYCLE
19037
19072
  /****************************************************************************/
19038
19073
  //#region RENDER
19039
19074
  render() {
19040
19075
  var _a;
19041
- return (hAsync(Host, { key: '428dd85337710d430ac04cf8cbc9021a93307bfe', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'a527c33d31152a90f8641e27fbaf91cf73eb06b6', htmlFor: this.inputId, onClick: this.syncToggleDropdown.bind(this) }, hAsync("slot", { key: 'e4cf96c38db69080228666e4b924367a0c3a9d72', name: "label" }, this.label))), hAsync("nv-popover", { key: '41723f7ec67e4e5680381e217eba45a1d73b47fc', triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: 'd4af00d5171b09923c36df9fd44853e1399e584f', class: "input-wrapper", slot: "trigger" }, hAsync("slot", { key: 'bb6e53746c70fcc8172acd9a7ef8cbf72ae70698', name: "before-input" }), hAsync("div", { key: 'ef3dc9ac5d0d895384653a17f8e61f616a7cbba9', class: "input-container" }, hAsync("slot", { key: '7621b8cb7222330e73a426282877df2e0040714c', 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, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleFilterInput })) : (hAsync("p", { "data-scope": "focusable", id: this.inputId, ref: el => (this.selectElement = el), class: "non-filterable-text", tabIndex: this.disabled ? -1 : 0 }, this.getSelectedLabel() || this.value || this.placeholder)), this.filterable && this.filterText && (hAsync("nv-iconbutton", { key: '3de283e59d0c7811b39e30d98fdd7e400a1b3d49', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter.bind(this), "aria-label": "Clear input" })), this.error && (hAsync("nv-icon", { key: '6f826edb19430ce535dc8742dfbd77b05d673f4d', name: "alert-circle", class: "validation", size: "md" })), hAsync("nv-iconbutton", { key: '611f8df410c38faeb9fec9a43ac1f7013ce9b32b', "data-scope": "toggle-dropdown", ref: el => (this.toggleElement = el), name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', onClick: this.syncToggleDropdown.bind(this), tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: '18d16b6c1d3c1ab910f8a45a339ae750e2277542', name: "after-input" })), hAsync("div", { key: '53624675adac2c6c9345b64e634cbbad4f009a82', slot: "content", style: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, ((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) > 0 && (hAsync("ul", { key: '3dfd5e914176bab898fd7872eb4ea0206d12b80a' }, this.options.map(option => (hAsync("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))), hAsync("slot", { key: 'e1c9151e125d0fe6f129b879b0adf1ae91b94bc4', name: "content" }))), (this.description ||
19042
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '13247930760480ec767ce75c61385036126cd2f3', class: "description" }, hAsync("slot", { key: '09c3f2fa0a1be5bcbe69b757a68a8327fef29ec1', name: "description" }, this.description))), (this.errorDescription ||
19043
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '9b43e41b6b38242b21c750d2d442c78e0930b9bc', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '44f7756522adbc54b8d85a211dace24a37073fc6', name: "error-description" }, this.errorDescription)))));
19076
+ return (hAsync(Host, { key: '349904a9bf07fb37c44f0b73c95ae736efb6a3b2', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'c5f8bb31012cac1c671fdca7b77325b28b7f0fad', htmlFor: this.inputId, onClick: this.syncToggleDropdown.bind(this) }, hAsync("slot", { key: 'cec5527d93c3742abbe5cb26d452a0ce061998dc', name: "label" }, this.label))), hAsync("nv-popover", { key: '6b5c8d8fc0fe2615ac2703e78faa91a4c8e0f792', triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: 'f07d22a294703544be6687e11b880d01a29c1629', class: "input-wrapper", slot: "trigger" }, hAsync("slot", { key: '4067e496595f3647c6ab30a858011f38da9fe039', name: "before-input" }), hAsync("div", { key: 'e13bf4e23b508a3ce621a677509c2052ce6ee146', class: "input-container" }, hAsync("slot", { key: '8f26a1ab3d0c7405e4bc16acfcd6ab7f27336816', 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, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleFilterInput })) : (hAsync("p", { "data-scope": "focusable", id: this.inputId, ref: el => (this.selectElement = el), class: "non-filterable-text", tabIndex: this.disabled ? -1 : 0 }, this.getSelectedLabel() || this.value || this.placeholder)), this.filterable && this.filterText && (hAsync("nv-iconbutton", { key: '715fe5388001e7d005ee4c57f6ea699b2b507dbb', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter.bind(this), "aria-label": "Clear input" })), this.error && (hAsync("nv-icon", { key: '18d825c0bfd9b6bf528dbf34f7e7a2f90678fa87', name: "alert-circle", class: "validation", size: "md" })), hAsync("nv-iconbutton", { key: 'aee8efcaeb022ca3ef73bbd3085755817e6fae12', "data-scope": "toggle-dropdown", ref: el => (this.toggleElement = el), name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', onClick: this.syncToggleDropdown.bind(this), tabIndex: this.disabled ? -1 : 0 })), hAsync("slot", { key: '403e224fadcb71ad15574a100b9892f3b8bfa209', name: "after-input" })), hAsync("div", { key: 'b154f9f5bb6b8bc73c2c0fdfeae096586ca43275', slot: "content", style: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, ((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) > 0 && (hAsync("ul", { key: 'ae92bb94df44b545ce83644fe3cb4b312f7d3147' }, this.options.map(option => (hAsync("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))), hAsync("slot", { key: '8f8a76ba2cfd23cbff34a579222a2e1f8a635142', name: "content" }))), (this.description ||
19077
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'c3b288a86fd98c0cf61bf671524f2a5c0d8ccd47', class: "description" }, hAsync("slot", { key: '212e58e32660ef43042c418c09b828ed388f4017', name: "description" }, this.description))), (this.errorDescription ||
19078
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '0baf91460aac3f2ba5b2d41721fc44c5eeb2f6aa', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '134681ffcf2a86b86bac60ff0ebabbba4e89b380', name: "error-description" }, this.errorDescription)))));
19044
19079
  }
19045
19080
  static get formAssociated() { return true; }
19046
19081
  get el() { return getElement(this); }
@@ -19087,7 +19122,7 @@ class NvFielddropdown {
19087
19122
  }; }
19088
19123
  }
19089
19124
 
19090
- const nvFielddropdownitemCss = "nv-fielddropdownitem{display:flex;gap:var(--spacing-2);flex-wrap:wrap;align-items:center;width:100%;padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);font-weight:var(--menu-contextual-item-font-weight);font-size:var(--list-dropdown-font-size);line-height:var(--list-dropdown-line-height);color:var(--components-list-dropdown-item-label-default);border-radius:var(--list-dropdown-item-radius);transition:background-color 150ms ease-out, color 150ms ease-out;cursor:pointer}nv-fielddropdownitem:hover,nv-fielddropdownitem:focus,nv-fielddropdownitem:focus-within{background-color:var(--components-list-dropdown-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-fielddropdownitem[disabled]:not([disabled=false]){cursor:not-allowed;background-color:unset;color:var(--components-menu-contextual-item-content-disabled)}nv-fielddropdownitem .text-wrapper{display:flex;flex-grow:1;align-items:center;justify-content:space-between}nv-fielddropdownitem [data-scope=text]{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}nv-fielddropdownitem nv-icon[data-scope=selected]{color:var(--components-list-dropdown-item-label-default);align-self:center;margin-left:auto}";
19125
+ const nvFielddropdownitemCss = "nv-fielddropdownitem{display:flex;gap:var(--spacing-2);flex-wrap:wrap;align-items:center;width:100%;padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);font-weight:var(--menu-contextual-item-font-weight);font-size:var(--list-dropdown-font-size);line-height:var(--list-dropdown-line-height);color:var(--components-list-dropdown-item-label-default);border-radius:var(--list-dropdown-item-radius);transition:background-color 150ms ease-out, color 150ms ease-out;cursor:pointer}nv-fielddropdownitem:hover,nv-fielddropdownitem:focus,nv-fielddropdownitem:focus-within{background-color:var(--components-list-dropdown-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-fielddropdownitem[disabled]:not([disabled=false]){cursor:not-allowed;background-color:unset;color:var(--components-menu-contextual-item-content-disabled)}nv-fielddropdownitem .text-wrapper{display:flex;flex-grow:1;align-items:center;justify-content:space-between}nv-fielddropdownitem [data-scope=text]{flex-grow:1;word-break:break-word;overflow-wrap:break-word;padding-right:var(--spacing-5)}nv-fielddropdownitem nv-icon[data-scope=selected]{color:var(--components-list-dropdown-item-label-default);align-self:center;margin-left:auto;position:absolute;right:var(--list-dropdown-item-padding-y)}";
19091
19126
  var NvFielddropdownitemStyle0 = nvFielddropdownitemCss;
19092
19127
 
19093
19128
  /**
@@ -19149,7 +19184,7 @@ class NvFielddropdownitem {
19149
19184
  /****************************************************************************/
19150
19185
  //#region RENDER
19151
19186
  render() {
19152
- return (hAsync(Host, { key: 'e099d616e8cf3aac2ec1fad7f3c0aee8a0456dbf', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, hAsync("slot", { key: '17a6b60db0685997663de23436f673f29627b661' }), !this.composed && (hAsync("div", { key: '92ce5251e1b99c281ca9c26d6927b08056a9957f', class: "text-wrapper" }, hAsync("span", { key: '7821e235f3e342d71f0d6d6e7d6176d3100c9305', "data-scope": "text" }, this.label))), this.selected && (hAsync("nv-icon", { key: '3da4ac75ebd8a662b054c5ad06c4939969fcd5f8', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
19187
+ return (hAsync(Host, { key: 'd5a70771cd557f33b37766fbbe14cd0a401a3d35', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, hAsync("slot", { key: 'e824671ec27c1c1e20260ca4d194ee254d6aa390' }), !this.composed && (hAsync("div", { key: '60f189d2c990d80fd1e16238c38fc7f065e915e6', class: "text-wrapper" }, hAsync("span", { key: '28a2df55dc7b188ce7c6e0e716bef731597c6f28', "data-scope": "text" }, this.label))), this.selected && (hAsync("nv-icon", { key: '6d0257c1e7ea842f9880b68f2c6e0a0da38f0b4e', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
19153
19188
  }
19154
19189
  get el() { return getElement(this); }
19155
19190
  static get style() { return NvFielddropdownitemStyle0; }
@@ -19227,7 +19262,7 @@ class NvFielddropdownitemcheck {
19227
19262
  /****************************************************************************/
19228
19263
  //#region RENDER
19229
19264
  render() {
19230
- return (hAsync(Host, { key: '124db3918761db1f6e308ac3df5859a97b178085', onClick: this.handleClick }, hAsync("nv-fieldcheckbox", { key: '6d76719952e26b0106a3e288731dd6a1d0b1fd1b', checked: this.checked, name: this.label || this.value, label: this.label || this.value, labelPlacement: "after", description: this.description, disabled: this.disabled, tabindex: "-1", onCheckedChanged: this.onFieldcheckboxChanged }, hAsync("slot", { key: 'ce4c4617739a9c26c735a53480177402d5ce60ea' }), hAsync("slot", { key: 'fed41bcc827d3621f41b9a9b309ad9a2eb6d26ab', name: "main" }), hAsync("slot", { key: '69a21ab4968097afde6d4528dca6e8c6e47dc583', name: "label" }), hAsync("slot", { key: '3693201bae40bc035bb3b6ca7fee97970953b5b5', name: "description" }))));
19265
+ return (hAsync(Host, { key: '1687dc92f82edea9c1da273c0bd3c45f788a1d82', onClick: this.handleClick }, hAsync("nv-fieldcheckbox", { key: '78c36b53395398068513256f044a10cd44fc8d98', checked: this.checked, name: this.label || this.value, label: this.label || this.value, labelPlacement: "after", description: this.description, disabled: this.disabled, tabindex: "-1", onCheckedChanged: this.onFieldcheckboxChanged }, hAsync("slot", { key: 'af95c41a46d57060b62098cc4735a8aef0326223' }), hAsync("slot", { key: '0bf00132a35df36f3a4e8dc40610a107c1786eab', name: "main" }), hAsync("slot", { key: '3ce40d59700f4e8b764aeac25e39976329422b67', name: "label" }), hAsync("slot", { key: 'edf7025cebd62843b55f92014d12905574166dd7', name: "description" }))));
19231
19266
  }
19232
19267
  get el() { return getElement(this); }
19233
19268
  static get style() { return NvFielddropdownitemcheckStyle0; }
@@ -19248,7 +19283,7 @@ class NvFielddropdownitemcheck {
19248
19283
  }; }
19249
19284
  }
19250
19285
 
19251
- const nvFieldmultiselectCss = "nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldmultiselect{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box;max-width:480px}nv-fieldmultiselect[fluid]:not([fluid=false]){max-width:unset}nv-fieldmultiselect[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fieldmultiselect[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive-in-field)}nv-fieldmultiselect[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:var(--font-weight-high-emphasis)}nv-fieldmultiselect label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-label-line-height)}nv-fieldmultiselect nv-popover{width:100%;display:block}nv-fieldmultiselect nv-popover [data-scope=popover]{width:100%;padding:var(--list-dropdown-padding);border-radius:var(--list-dropdown-radius);background-color:var(--components-list-dropdown-background);border:1px solid var(--components-list-dropdown-border)}nv-fieldmultiselect nv-popover [slot=content]{gap:var(--list-dropdown-gap-y);display:flex;flex-direction:column}nv-fieldmultiselect nv-popover hr{color:var(--components-list-dropdown-separator)}nv-fieldmultiselect nv-popover div[slot=content]{max-height:calc(90vh - var(--list-dropdown-padding) * 2);overflow-y:auto;position:relative}nv-fieldmultiselect nv-popover div[slot=content]::-webkit-scrollbar{width:6px;height:6px}nv-fieldmultiselect nv-popover div[slot=content]::-webkit-scrollbar-track{background-color:var(--color-level-10-background);border-radius:9999px}nv-fieldmultiselect nv-popover div[slot=content]::-webkit-scrollbar-thumb{background-color:var(--color-gray-200);border-radius:9999px}nv-fieldmultiselect .input-wrapper-multiselect{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch;width:100%}nv-fieldmultiselect .input-container-multiselect{display:flex;flex-grow:1;justify-content:center;align-items:center;align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default, 1);background:var(--nv-field-background);transition:all 150ms ease-out;position:relative;width:100%;min-height:40px}nv-fieldmultiselect .input-container-multiselect:hover{border-color:var(--nv-field-border-hover)}nv-fieldmultiselect .input-container-multiselect:focus-within,nv-fieldmultiselect .input-container-multiselect:focus-within:hover,nv-fieldmultiselect .input-container-multiselect:focus,nv-fieldmultiselect .input-container-multiselect:focus:hover{border-color:var(--nv-field-border-focus);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fieldmultiselect .input-container-multiselect:has(input:read-only){opacity:0.5;background-color:var(--components-form-field-background-readonly);border-color:var(--nv-field-border-readonly)}nv-fieldmultiselect .input-container-multiselect:has(input:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fieldmultiselect .input-container-multiselect>nv-badge{margin-left:var(--form-field-padding-x)}nv-fieldmultiselect .input-container-multiselect input,nv-fieldmultiselect .input-container-multiselect p.non-filterable-text{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);padding:var(--form-field-padding-y) var(--form-field-padding-x);font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height);width:100%;width:100%;flex-grow:1;margin:0;min-height:100%;box-sizing:border-box}nv-fieldmultiselect .input-container-multiselect input:focus,nv-fieldmultiselect .input-container-multiselect p.non-filterable-text:focus{outline:none}nv-fieldmultiselect .input-container-multiselect input::placeholder,nv-fieldmultiselect .input-container-multiselect p.non-filterable-text::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--form-field-line-height)}nv-fieldmultiselect .input-container-multiselect input[type=password]::-ms-clear,nv-fieldmultiselect .input-container-multiselect input[type=password]::-ms-reveal,nv-fieldmultiselect .input-container-multiselect p.non-filterable-text[type=password]::-ms-clear,nv-fieldmultiselect .input-container-multiselect p.non-filterable-text[type=password]::-ms-reveal{display:none;width:0;height:0}nv-fieldmultiselect .input-container-multiselect>nv-iconbutton{border:0px;border-radius:0px}nv-fieldmultiselect .input-container-multiselect>nv-iconbutton:focus-visible{border-radius:var(--button-md-border-radius);outline-offset:-3px}nv-fieldmultiselect .input-container-multiselect>nv-iconbutton:last-of-type{border-top-right-radius:var(--form-field-radius);border-bottom-right-radius:var(--form-field-radius)}nv-fieldmultiselect .input-container-multiselect nv-icon.validation{color:var(--nv-field-border-default)}nv-fieldmultiselect .non-filterable-text{display:block;border-radius:var(--form-field-radius);background-color:var(--nv-field-background);color:var(--components-form-field-content-text);font-size:var(--form-field-font-size);font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height);box-sizing:border-box;cursor:pointer;height:100%;min-height:40px}nv-fieldmultiselect .non-filterable-text span{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis}nv-fieldmultiselect .description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fieldmultiselect .error-description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}.no-results-message{cursor:not-allowed;background-color:unset;color:var(--components-menu-contextual-item-content-disabled);padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x)}.multiselect-divider{display:block;width:100%;height:1px;background-color:var(--components-list-dropdown-separator);margin:var(--list-dropdown-item-padding-y) 0;border:0}.select-all-container{position:sticky;top:0;background-color:var(--components-list-dropdown-background);border-bottom:1px solid var(--components-list-dropdown-separator);padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);z-index:10;margin-bottom:0}.select-all-container .select-all-header{display:flex;align-items:center;gap:var(--form-field-gap)}.select-all-container .select-all-header nv-fieldcheckbox{flex:1;margin:0}.select-all-container .select-all-header nv-iconbutton,.select-all-container .select-all-header nv-button{flex-shrink:0;margin-left:auto}.select-all-container .select-all-header nv-button{justify-content:center}";
19286
+ const nvFieldmultiselectCss = "nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldmultiselect{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box;max-width:480px}nv-fieldmultiselect[fluid]:not([fluid=false]){max-width:unset}nv-fieldmultiselect[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fieldmultiselect[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive-in-field)}nv-fieldmultiselect[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:var(--font-weight-high-emphasis)}nv-fieldmultiselect label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-label-line-height)}nv-fieldmultiselect nv-popover{width:100%;display:block}nv-fieldmultiselect nv-popover [data-scope=popover]{min-width:100%;width:max-content;max-width:400px;padding:var(--list-dropdown-padding);border-radius:var(--list-dropdown-radius);background-color:var(--components-list-dropdown-background);border:1px solid var(--components-list-dropdown-border)}nv-fieldmultiselect nv-popover [slot=content]{gap:var(--list-dropdown-gap-y);display:flex;flex-direction:column}nv-fieldmultiselect nv-popover hr{color:var(--components-list-dropdown-separator)}nv-fieldmultiselect nv-popover div[slot=content]{max-height:calc(90vh - var(--list-dropdown-padding) * 2);overflow-y:auto;position:relative}nv-fieldmultiselect nv-popover div[slot=content]::-webkit-scrollbar{width:6px;height:6px}nv-fieldmultiselect nv-popover div[slot=content]::-webkit-scrollbar-track{background-color:var(--color-level-10-background);border-radius:9999px}nv-fieldmultiselect nv-popover div[slot=content]::-webkit-scrollbar-thumb{background-color:var(--color-gray-200);border-radius:9999px}nv-fieldmultiselect .input-wrapper-multiselect{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch;width:100%}nv-fieldmultiselect .input-container-multiselect{display:flex;flex-grow:1;justify-content:center;align-items:center;align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default, 1);background:var(--nv-field-background);transition:all 150ms ease-out;position:relative;width:100%;min-height:40px}nv-fieldmultiselect .input-container-multiselect:hover{border-color:var(--nv-field-border-hover)}nv-fieldmultiselect .input-container-multiselect:focus-within,nv-fieldmultiselect .input-container-multiselect:focus-within:hover,nv-fieldmultiselect .input-container-multiselect:focus,nv-fieldmultiselect .input-container-multiselect:focus:hover{border-color:var(--nv-field-border-focus);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fieldmultiselect .input-container-multiselect:has(input:read-only){opacity:0.5;background-color:var(--components-form-field-background-readonly);border-color:var(--nv-field-border-readonly)}nv-fieldmultiselect .input-container-multiselect:has(input:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fieldmultiselect .input-container-multiselect>nv-badge{margin-left:var(--form-field-padding-x)}nv-fieldmultiselect .input-container-multiselect input,nv-fieldmultiselect .input-container-multiselect p.non-filterable-text{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);padding:var(--form-field-padding-y) var(--form-field-padding-x);font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height);width:100%;width:100%;flex-grow:1;margin:0;min-height:100%;box-sizing:border-box}nv-fieldmultiselect .input-container-multiselect input:focus,nv-fieldmultiselect .input-container-multiselect p.non-filterable-text:focus{outline:none}nv-fieldmultiselect .input-container-multiselect input::placeholder,nv-fieldmultiselect .input-container-multiselect p.non-filterable-text::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--form-field-line-height)}nv-fieldmultiselect .input-container-multiselect input[type=password]::-ms-clear,nv-fieldmultiselect .input-container-multiselect input[type=password]::-ms-reveal,nv-fieldmultiselect .input-container-multiselect p.non-filterable-text[type=password]::-ms-clear,nv-fieldmultiselect .input-container-multiselect p.non-filterable-text[type=password]::-ms-reveal{display:none;width:0;height:0}nv-fieldmultiselect .input-container-multiselect>nv-iconbutton{border:0px;border-radius:0px}nv-fieldmultiselect .input-container-multiselect>nv-iconbutton:focus-visible{border-radius:var(--button-md-border-radius);outline-offset:-3px}nv-fieldmultiselect .input-container-multiselect>nv-iconbutton:last-of-type{border-top-right-radius:var(--form-field-radius);border-bottom-right-radius:var(--form-field-radius)}nv-fieldmultiselect .input-container-multiselect nv-icon.validation{color:var(--nv-field-border-default)}nv-fieldmultiselect .non-filterable-text{display:block;border-radius:var(--form-field-radius);background-color:var(--nv-field-background);color:var(--components-form-field-content-text);font-size:var(--form-field-font-size);font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height);box-sizing:border-box;cursor:pointer;height:100%;min-height:40px}nv-fieldmultiselect .non-filterable-text span{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis}nv-fieldmultiselect .description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fieldmultiselect .error-description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}.no-results-message{cursor:not-allowed;background-color:unset;color:var(--components-menu-contextual-item-content-disabled);padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x)}.multiselect-divider{display:block;width:100%;height:1px;background-color:var(--components-list-dropdown-separator);margin:var(--list-dropdown-item-padding-y) 0;border:0}.select-all-container{position:sticky;top:0;background-color:var(--components-list-dropdown-background);border-bottom:1px solid var(--components-list-dropdown-separator);padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);z-index:10;margin-bottom:0}.select-all-container .select-all-header{display:flex;align-items:center;gap:var(--form-field-gap)}.select-all-container .select-all-header nv-fieldcheckbox{flex:1;margin:0}.select-all-container .select-all-header nv-iconbutton,.select-all-container .select-all-header nv-button{flex-shrink:0;margin-left:auto}.select-all-container .select-all-header nv-button{justify-content:center}";
19252
19287
  var NvFieldmultiselectStyle0 = nvFieldmultiselectCss;
19253
19288
 
19254
19289
  /**
@@ -20799,9 +20834,9 @@ class NvFieldnumber {
20799
20834
  /****************************************************************************/
20800
20835
  //#region RENDER
20801
20836
  render() {
20802
- return (hAsync(Host, { key: '9b3239f09e6aace03f79f07399723fdbf557f070' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '322478abbaf477a33debcd828387402299ce6762', htmlFor: this.inputId }, hAsync("slot", { key: '75b791ca0fb7eec55faaf966a32733e37b87fb90', name: "label" }, this.label))), hAsync("div", { key: '5ce6c27db2b6b0ba8618ed2eac1f61abf8177793', class: "input-wrapper" }, hAsync("slot", { key: '3a4a86e358d575fc312d27ee5ffba68474904bd4', name: "before-input" }), hAsync("div", { key: '8e07c3c37ea4869aa309fba913663e1d225e21fd', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '91e7c82e46d3268493669e6dd121f643be86a6be', name: "leading-input" }), hAsync("input", { key: '3dcbd9d10e4425ebb29b16b1157845ea4ee7bdef', 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: typeof this.value === 'number' ? this.value : undefined, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), hAsync("slot", { key: '7d0d4a77d121433f4feb8aa2139be8e94f8e57a5', name: "trailing-input" }), this.error && (hAsync("nv-icon", { key: '2a3969e56de0fc3911901c9540e300caf2b6d681', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '8964d7ffaa2cc2a70caf781a37e66383234c6895', name: "circle-check", class: "validation", size: "md" })), hAsync("div", { key: '1ca2fd7095afbc12a1a54c8b09551f28fe5a3579', class: "stepper" }, hAsync("nv-iconbutton", { key: '1c3f9200c5409bc05fab9061dff3847a92298d45', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }), hAsync("nv-iconbutton", { key: 'eb65687b3c31d2ac8bdb534f5ca300a1ada9cd64', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }))), hAsync("slot", { key: '01006c0c2487bce4f908104d263acb0231cdb701', name: "after-input" })), (this.description ||
20803
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '9db93a8aa6bb002a3286763909118e9c7a1661c0', class: "description" }, hAsync("slot", { key: '13b0f797bace74e641cdd658bb798bccbfec70dc', name: "description" }, this.description))), (this.errorDescription ||
20804
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '4ca240bc22fb83a283637e60384e59d687d67e9e', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '145b68572a38e91559431ff51ec38a64027d4978', name: "error-description" }, this.errorDescription)))));
20837
+ return (hAsync(Host, { key: '3afce74f50fe43ac056458d04951d17ddddfeabb' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '57b43fe9c0385d1f2f649a559fc1cf5e99441c75', htmlFor: this.inputId }, hAsync("slot", { key: 'dbc3019bc04f370571cca5ef33d67ed22e3c4a6e', name: "label" }, this.label))), hAsync("div", { key: 'facbb2b93e2057ec061c7a9c612fb09ee5c7687d', class: "input-wrapper" }, hAsync("slot", { key: '0fb079215345c8aa91c5718aaf977f9716c19712', name: "before-input" }), hAsync("div", { key: '348402a3a6b4e65d2a2fbf1baa35740fbbb243b6', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '942c7a43a36da7fd4f89826c4e721077987287f6', name: "leading-input" }), hAsync("input", { key: 'b8edf56607b26003781bae1eacbc40561917073d', 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: typeof this.value === 'number' ? this.value : undefined, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), hAsync("slot", { key: 'bc53377f72c4e1c9363c0e6c32c9d9c0ff18cee2', name: "trailing-input" }), this.error && (hAsync("nv-icon", { key: '74b9e40d6687c8af506a3fcd365889fb98476050', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '9ce0589197135d2baae625e2e34f589077e8a1ea', name: "circle-check", class: "validation", size: "md" })), hAsync("div", { key: '4c04cb39da4f61a66f94044494cf1f02f8175e11', class: "stepper" }, hAsync("nv-iconbutton", { key: 'bd5e034e94e16ea10bd56e23498e648e67ba72eb', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }), hAsync("nv-iconbutton", { key: 'b398efb51f9e6e297a6368424b3ceddf5f2a93a5', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }))), hAsync("slot", { key: 'fbd610d0e620b253b92cd74791a3bbc02aec2e21', name: "after-input" })), (this.description ||
20838
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '46740b8b00f374f16559aa7a3310142c7ae5e74c', class: "description" }, hAsync("slot", { key: 'ed9c74990d0fbf42f46bf8bb9172ef8b84112ecc', name: "description" }, this.description))), (this.errorDescription ||
20839
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'cc9c5076c31cffc91f23db0e14eb4fde1072ecd2', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: 'aa4953c2c12cb7c7605086d72d435507d11b93c7', name: "error-description" }, this.errorDescription)))));
20805
20840
  }
20806
20841
  static get formAssociated() { return true; }
20807
20842
  get el() { return getElement(this); }
@@ -20949,9 +20984,9 @@ class NvFieldpassword {
20949
20984
  /****************************************************************************/
20950
20985
  //#region RENDER
20951
20986
  render() {
20952
- return (hAsync(Host, { key: '3fd88ed71cb3c34fbd4a35cb861617687add3c76' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'b08c3c1d7ca6f196c547fdb42c2289f4fbacd461', htmlFor: this.inputId }, hAsync("slot", { key: '2469c277ea25d8c9ea521cc05da068cf63465637', name: "label" }, this.label))), hAsync("div", { key: '606a09205e3caa2490c3db48411eebc5bddbb786', class: "input-wrapper" }, hAsync("slot", { key: '843cf4814cf84c9d6ca5fec7a13c30820dd0075a', name: "before-input" }), hAsync("div", { key: '4b06bdf556442e8ccb4f28a450bcb5f432740b8a', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: 'c07a3575a5b831e5f803558607fbf677e5b2ffac', name: "leading-input" }), hAsync("input", { key: 'c9536d50ff4ed09cffd13ba06d4599492f77feac', 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: 'df7f3b45b0dec7dabfdea7496ff6576413101cf5', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (hAsync("nv-iconbutton", { key: 'ef3bc855fe5f70ed537d9b564b7f8b990998da48', 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: 'd7e892c362bcab7724c0250a8e097bdd3a7f28a2', name: "after-input" })), (this.description ||
20953
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '5933be1bda9a32ceabcae5144e6a6a131203f9d6', class: "description" }, hAsync("slot", { key: '31671c862c3e5988ef4939d21a75f721b47eacf6', name: "description" }, this.description))), (this.errorDescription ||
20954
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'a38ff2519ae8da933b5884c0e576d91b8825dec7', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: 'ec242e6f6cf28b7e34bfcec658874067019ba540', name: "error-description" }, this.errorDescription)))));
20987
+ return (hAsync(Host, { key: '6fa2fc189b9bda9a8b47258c6d9cb99660337ca6' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'a64902154abd0cc8b6530652f3b4559a8f27213b', htmlFor: this.inputId }, hAsync("slot", { key: 'cd0f5ce29714942ece0f8182975611d8bd9510bf', name: "label" }, this.label))), hAsync("div", { key: '5dbc7fbf9dac95299a396ad4edca17473f314e60', class: "input-wrapper" }, hAsync("slot", { key: '329e418fab60ee3095cac5d8a57fe99c5d1080a7', name: "before-input" }), hAsync("div", { key: 'f719794bd432e5d0d69e6bc21e6c8e142d1d41c9', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: 'abc7a9f5cddd7dcec3b6a56edecde0ba618bfa4b', name: "leading-input" }), hAsync("input", { key: '4e6b9f05c7d71c2f496d8550c6442a65947fe546', 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: '1d54f3a52cf2824661538abd0e9ed7bf6b56acb8', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (hAsync("nv-iconbutton", { key: '6e0e6f11feb4a2b6d3e6690cfb10b3ac61b3e362', 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: '8791f51ca77c07eb0086c4dcee11a3988700c894', name: "after-input" })), (this.description ||
20988
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '090713c53a32fb09222bdf8777df7e734e2d2487', class: "description" }, hAsync("slot", { key: '28e4b9d15e49654d521c294988ff4b6b2ffd89af', name: "description" }, this.description))), (this.errorDescription ||
20989
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '25faf9d05d3d1625cf16c488dc14838af551d849', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '6d7d76d881a2a1238d96c4c09a4a9f86d3128c74', name: "error-description" }, this.errorDescription)))));
20955
20990
  }
20956
20991
  static get formAssociated() { return true; }
20957
20992
  get el() { return getElement(this); }
@@ -21079,9 +21114,9 @@ class NvFieldradio {
21079
21114
  /****************************************************************************/
21080
21115
  //#region RENDER
21081
21116
  render() {
21082
- return (hAsync(Host, { key: '18cad87f89d7532fab554e1ad74fcc615ddd8026', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, hAsync("input", { key: '347c33c2ff2b6377d009c108739e4016f97da16b', 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: '067cebdaf42e94c0b447a91b852a44fa7d5f58cf', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '9c90d0c9e27125576e8194113412795243492c9d', htmlFor: this.inputId }, hAsync("slot", { key: 'c5da5d8f8715635ec0adfd46ee704b7c0d940bdd', name: "label" }, this.label))), (this.description ||
21083
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'f5e00078f008ab49bbac08c3d3614cae05b783a7', class: "description" }, hAsync("slot", { key: 'b70921bbe8acda5c9b7c8e7d81e2d696bc2e4613', name: "description" }, this.description))), (this.errorDescription ||
21084
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'a6ccddfb948ba5db46f355bb3afd73873fcfe8e6', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '896448579ceee1ba50672e58e8a70e21d5d9fc64', name: "error-description" }, this.errorDescription))))));
21117
+ return (hAsync(Host, { key: '87387e9a81489927ca78ffc05e2ebeb13dc900c1', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, hAsync("input", { key: '4aece4c1213ef2af2af42baf24c29a5285685e95', 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: '289eb1becce793d9da96c3792b53fe82cc2ec4b3', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '5315f69fb91a06437f67cc7a1b664a091f87f114', htmlFor: this.inputId }, hAsync("slot", { key: '23364a4093a0b4f5a5ab76cad224049464a41aa2', name: "label" }, this.label))), (this.description ||
21118
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'd17ff8b61c9a085f36ccd7f4846ff4da6e8e506f', class: "description" }, hAsync("slot", { key: '1915dd4d305fbcff26c38fa3b0fbc56ceec23db4', name: "description" }, this.description))), (this.errorDescription ||
21119
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '2b7c1817fb7a0d26ec7aaece07f8da6851b8d0cc', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '8d9fafceba1a6dafa30ed695c01e26dc956ff51b', name: "error-description" }, this.errorDescription))))));
21085
21120
  }
21086
21121
  static get formAssociated() { return true; }
21087
21122
  get el() { return getElement(this); }
@@ -21453,13 +21488,13 @@ class NvFieldselect {
21453
21488
  * @returns {HTMLStencilElement} The HTML element to render.
21454
21489
  */
21455
21490
  render() {
21456
- return (hAsync(Host, { key: 'a1a4eb304e38fb1b058b66af5d3c86edcb05610f' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '8aa279dba4e264b17ebd3b33dcff4480ce6c5d57', htmlFor: this.inputId }, hAsync("slot", { key: 'a7cd14d0efc0f22739ee5496d64aad0930000a6e', name: "label" }, this.label))), hAsync("div", { key: '3929ad8d896250574d437d94ab35c72e55884e04', class: "select-wrapper" }, hAsync("slot", { key: 'c92b18f7639b33ebfcf2f3a4b1c24ab4b5a54fa5', name: "before-input" }), hAsync("div", { key: '8554dc402e570dd48ca5031f5e6e4d48f84e9a7d', class: "select-container", onClick: this.handleSelectContainerClick }, hAsync("slot", { key: 'b76cd121460e53f5f0a1e4e7ca0e96f5e733f6f3', name: "leading-input" }), this.internalReadonly && (hAsync("input", { key: 'f0600651b33c5768bab22f27109de445bdb70fff', 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
21491
+ return (hAsync(Host, { key: '040baa5db03e243169e5ee148cc30d29c4e89984' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'a27e960afe3d71920ba9deacacd74617dfb32941', htmlFor: this.inputId }, hAsync("slot", { key: 'd8cd4638a03d8d1efe10c869ae7682f1f983bd72', name: "label" }, this.label))), hAsync("div", { key: 'e28b6548efb4b7e8e0837165e0d427574dc31948', class: "select-wrapper" }, hAsync("slot", { key: 'caafe9ac5b61ebf8a956363e643c5af43104de3e', name: "before-input" }), hAsync("div", { key: '89cd9c355f6620a0d081c04e7785621712de54fe', class: "select-container", onClick: this.handleSelectContainerClick }, hAsync("slot", { key: 'e59c29a8b301f804d8a93437bd540b3100d27dba', name: "leading-input" }), this.internalReadonly && (hAsync("input", { key: '57aa8ee14544dd181cf438a8e2e8d355fc6946b7', 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
21457
21492
  ? `${this.inputId}-error`
21458
- : `${this.inputId}-description` })), hAsync("select", { key: 'e1f9211919f9eef80c50c21536ee98e6dba71cb6', 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
21493
+ : `${this.inputId}-description` })), hAsync("select", { key: '55bf13d94976c1ceff668d76e463629555ffea55', 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
21459
21494
  ? `${this.inputId}-error`
21460
- : `${this.inputId}-description` }, this.options && this.options.length > 0 ? (this.options.map(option => (hAsync("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (hAsync("slot", null))), hAsync("div", { key: '4e17199de9ac55f30ab27f37ad0f69526a96a53b', class: "select-icons" }, this.error && (hAsync("nv-icon", { key: '6e02a15e6a72cd54910b44dcc3445bc0a875d301', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '2c936e0fe3070fdb1540e50196850531c1a186f3', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (hAsync("nv-iconbutton", { key: '55ff8a3ad2908c9380041b684274ebb275197605', name: "chevron-down", size: "md", emphasis: "lower", tabindex: -1 })))), hAsync("slot", { key: 'd32c4fa7b22a705dcb89224de06c1f5f0a965f34', name: "after-input" })), (this.description ||
21461
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '1a8ba7867fa31618ae6d9149ce03ee63b0c958a1', class: "description", id: `${this.inputId}-description` }, hAsync("slot", { key: '527ee48037f1d76e6478b90de86b5e4f0b819677', name: "description" }, this.description))), (this.errorDescription ||
21462
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '5279561b8a6a20101447a05b4f99d4aea4e6994b', class: "error-description", id: `${this.inputId}-error` }, hAsync("slot", { key: '101f92f3d2bba8c4c9502542fada0a1363ab5ad1', name: "error-description" }, this.errorDescription)))));
21495
+ : `${this.inputId}-description` }, this.options && this.options.length > 0 ? (this.options.map(option => (hAsync("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (hAsync("slot", null))), hAsync("div", { key: 'd810fd3665c88c377b065c40da8ff462294af21f', class: "select-icons" }, this.error && (hAsync("nv-icon", { key: '94b6cedfdae5afb932e74e08080365935514e36c', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: 'a5184b762837e228aaf3aaf033381a9d757beed5', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (hAsync("nv-iconbutton", { key: '3e08d45401ac8c50a2c4c52f88cd1324e49be636', name: "chevron-down", size: "md", emphasis: "lower", tabindex: -1 })))), hAsync("slot", { key: 'b5b10982bb38fe509929b99ebd0a92d8b6687db1', name: "after-input" })), (this.description ||
21496
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '3b673b645dcc175d70928390c721536d3271ab3c', class: "description", id: `${this.inputId}-description` }, hAsync("slot", { key: '296795070aa2679e53ebb0bc0ec056d5eebfaaac', name: "description" }, this.description))), (this.errorDescription ||
21497
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '73b434da2fa2537468a78e8ae15591688f30c49d', class: "error-description", id: `${this.inputId}-error` }, hAsync("slot", { key: '992015d9a5646bb9baad79f74af46b34bd8f0388', name: "error-description" }, this.errorDescription)))));
21463
21498
  }
21464
21499
  static get formAssociated() { return true; }
21465
21500
  get el() { return getElement(this); }
@@ -22206,11 +22241,11 @@ class NvFieldslider {
22206
22241
  /****************************************************************************/
22207
22242
  //#region RENDER
22208
22243
  render() {
22209
- return (hAsync(Host, { key: 'e4d4719682957f858468c3df97c82d5be29e87b8' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'a6d84550e4b91a4f23252e31ebbd3680b5a81aad', htmlFor: this.startInputId }, hAsync("slot", { key: '44ce936f4b50ae5be5c3b8769b990fda82ff9b27', name: "label" }, this.label))), hAsync("div", { key: '578a9673356506f87d906ff34254f93c0f724ebb', class: "slider-container" }, this.range ? (hAsync(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 0, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : null, hAsync("div", { key: '1dd30a5e703309993e8d61dc44bf1ad0adbc11e0', class: "track-container" }, hAsync("div", { key: '870f688ec85678ac490cfc1542cc8d1802a43ec7', class: "track", onPointerDown: this.onTrackInteraction }, this.range ? (hAsync(RangeThumb, { rangeValue: this.rangeValueInternal, rawRangePosition: this.rawRangePosition, activeDragThumb: this.activeDragThumb, isDragging: this.isDragging, snap: this.snap, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue })) : (hAsync(SingleThumb, { value: this.valueInternal, min: this.min, max: this.max, step: this.step, rawPosition: this.rawPosition, isDragging: this.isDragging, snap: this.snap, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue }))), hAsync(TickMarks, { key: '75fb4d22e84ea569928e475e35d0031130f6c6ed', ticks: this.internalTicks, min: this.min, max: this.max })), this.range ? (hAsync(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 1, inputId: this.endInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : (hAsync(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name }))), (this.success ||
22244
+ return (hAsync(Host, { key: 'f5e3bce25553db52f6b10c1797466bc5e8582c84' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'd488aa0a66140d7777d2806d90870a5030593ad8', htmlFor: this.startInputId }, hAsync("slot", { key: 'e5b9be1525b3298c6edcf373ebb9cc1241c1c68e', name: "label" }, this.label))), hAsync("div", { key: 'a05ccf8292ef57359f1104d6369afe10f88be90e', class: "slider-container" }, this.range ? (hAsync(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 0, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : null, hAsync("div", { key: 'a3367fdb2b2a031860f5c2f84829c2a7d9f18aa2', class: "track-container" }, hAsync("div", { key: 'bd71d1c60a9fd684eba6c97cf1e6dde0db714a62', class: "track", onPointerDown: this.onTrackInteraction }, this.range ? (hAsync(RangeThumb, { rangeValue: this.rangeValueInternal, rawRangePosition: this.rawRangePosition, activeDragThumb: this.activeDragThumb, isDragging: this.isDragging, snap: this.snap, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue })) : (hAsync(SingleThumb, { value: this.valueInternal, min: this.min, max: this.max, step: this.step, rawPosition: this.rawPosition, isDragging: this.isDragging, snap: this.snap, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue }))), hAsync(TickMarks, { key: '1db13a620a719f39e2401598b21fa462d6ca863e', ticks: this.internalTicks, min: this.min, max: this.max })), this.range ? (hAsync(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 1, inputId: this.endInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : (hAsync(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name }))), (this.success ||
22210
22245
  this.description ||
22211
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'b88410b4d04254b66c146b39dc4215f92c42b9b8', class: "description" }, this.success && (hAsync("nv-icon", { key: '4b3886cd627e8243d899399c60b85c47ce823170', name: "circle-check", class: "validation", size: "md" })), hAsync("slot", { key: 'b262880c747c3f6d1e51b1d4214761d7aecc9f9c', name: "description" }, this.description))), (this.error ||
22246
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'e4ee7359a7d539dbf42c8885b09c602f9cffb15c', class: "description" }, this.success && (hAsync("nv-icon", { key: 'a46e32115803718d9a7f0f5f3c34002552e56991', name: "circle-check", class: "validation", size: "md" })), hAsync("slot", { key: '18a3e1373d15db2e538ae235c288c2ed4e355688', name: "description" }, this.description))), (this.error ||
22212
22247
  this.errorDescription ||
22213
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'ad5d61a003680c4ff53217bf594dcb4e5fa1b053', class: "error-description", hidden: !this.error }, this.error && (hAsync("nv-icon", { key: '3898c1781b38497b3bd797587980ed9fd32c8afc', name: "alert-circle", class: "validation", size: "md" })), hAsync("slot", { key: '7fa0cf391cdb113eba7dbcd76a66044fc4d60281', name: "error-description" }, this.errorDescription)))));
22248
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'ad4ed6dfd5f96e95ec0b2bba0f639e36d1c35007', class: "error-description", hidden: !this.error }, this.error && (hAsync("nv-icon", { key: '78ec5b1668637a7eea2e5fcd4f6f9cf5bba3a919', name: "alert-circle", class: "validation", size: "md" })), hAsync("slot", { key: '46b604afc64460c0b0db1751974c568595e40ae0', name: "error-description" }, this.errorDescription)))));
22214
22249
  }
22215
22250
  static get formAssociated() { return true; }
22216
22251
  get el() { return getElement(this); }
@@ -22385,9 +22420,9 @@ class NvFieldtext {
22385
22420
  /****************************************************************************/
22386
22421
  //#region RENDER
22387
22422
  render() {
22388
- return (hAsync(Host, { key: '59c03a594971eab5cb8ae4bf7b5342899bba4336' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'a36f03b76cee03be0fe2608fd40a88455818a83b', htmlFor: this.inputId }, hAsync("slot", { key: '284a3f6f9efaed1ee7a40675fd377bdbe3d08d9e', name: "label" }, this.label))), hAsync("div", { key: '963b853f5de42058d1cdced00c7bdc38f4583000', class: "input-wrapper" }, hAsync("slot", { key: 'dce7ea85a9ae76c923ea3dc732d93614b94ba391', name: "before-input" }), hAsync("div", { key: 'eac7b8e1d85f9623287f839cdc7ef3133c9c75d8', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: 'db3ab29c4a0767ffc8f8c1368085052769bdc4cc', name: "leading-input" }), hAsync("input", { key: 'd4759f1dd7bab6da0a4486cf326cb55c61fcb750', 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 }), hAsync("slot", { key: 'e8950b2b41ce5e350e39084c3d6936a1a11960e4', name: "trailing-input" }), this.error && (hAsync("nv-icon", { key: '83eb974690dfd69858877ba434e4dd30802208c8', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '2b8e37bd41e2b98ae17a249379528dd6e1773e6e', name: "circle-check", class: "validation", size: "md" }))), hAsync("slot", { key: '72e5ae030d15c61409095f4067436ee890d21a1e', name: "after-input" })), (this.description ||
22389
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '54a353743334cf7d96597a543d0e2a7c52833a31', class: "description" }, hAsync("slot", { key: '70dd9595b638f0dc56db6ecb24a93fcca629a2d3', name: "description" }, this.description))), (this.errorDescription ||
22390
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '47a26240ae8875cedb50b95d0ad41dab762af6d3', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '0c84a7c46128a5c0960b5e2ecfda94f76ef9d7d7', name: "error-description" }, this.errorDescription)))));
22423
+ return (hAsync(Host, { key: '0446a4e7617f7a0dd1d617411f13f7ed9ab457e7' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '3fa66b23875eac14db7a52deb0fb8134cda4747b', htmlFor: this.inputId }, hAsync("slot", { key: 'd2d145a273fe7790f6551a4f42564c438c659cbf', name: "label" }, this.label))), hAsync("div", { key: 'b6ca6d9125460402ac1cfc0ed5f57b6db3214edf', class: "input-wrapper" }, hAsync("slot", { key: '33331c013dd5d981136518045a8a460c3ab96070', name: "before-input" }), hAsync("div", { key: '405dc274db9b87fd82f50ecf8653414deb7b1206', class: "input-container", onClick: this.handleInputContainerClick }, hAsync("slot", { key: '4b85c02e7c7f7f655c76cac3997d7b4377c9d4b4', name: "leading-input" }), hAsync("input", { key: 'f6e083e97ab21e487bb28190a008469ffa282048', 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 }), hAsync("slot", { key: '019627575fed51776eeb964dafe85c9a0e2e8efe', name: "trailing-input" }), this.error && (hAsync("nv-icon", { key: '0a2952a550e1a3cdc54a97968d8746914ce492d8', name: "alert-circle", class: "validation", size: "md" })), this.success && (hAsync("nv-icon", { key: '874f24d0c3522b8d6a2f65069b68d04dba8fae61', name: "circle-check", class: "validation", size: "md" }))), hAsync("slot", { key: '38f43d5e912df5adaf8587b8efb9d44cccadec50', name: "after-input" })), (this.description ||
22424
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'c681d56939dc0068fc12842699e74f87d9446fe7', class: "description" }, hAsync("slot", { key: '6b2f715fb44a46efbc3cfb98709173804472499e', name: "description" }, this.description))), (this.errorDescription ||
22425
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'f5354afc7bfacec7f7ff58e331e9011bb43da399', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: 'e127f81bf4a9205c94a461fd1555c07783b489a3', name: "error-description" }, this.errorDescription)))));
22391
22426
  }
22392
22427
  static get formAssociated() { return true; }
22393
22428
  get el() { return getElement(this); }
@@ -22607,9 +22642,9 @@ class NvFieldtextarea {
22607
22642
  /****************************************************************************/
22608
22643
  //#region RENDER
22609
22644
  render() {
22610
- return (hAsync(Host, { key: '3011ab5796ff80bef57fa31f8c0c3862ea8b2ec9' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '5ce143e110d23ae0812d8e3282c7cfd7013dbf8c', htmlFor: this.inputId }, hAsync("slot", { key: 'd2aec99e424f7acef8b6831ce88a094e7b97d5a2', name: "label" }, this.label))), hAsync("div", { key: 'd7ca0f0a7002649b62c90a0f414ce951a45fb36f', class: "textarea-wrapper" }, hAsync("div", { key: '7052a545876c11736cc851099aeca3d827e23e94', class: "textarea-container", onClick: this.handleTextareaContainerClick }, hAsync("textarea", { key: 'efd08cdc7604f7394beb6040c4a4e85fffdd01a5', 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 ||
22611
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '03c0ac2d2a63ac5836ec45b64fa368d7e6462e41', class: "description" }, hAsync("slot", { key: 'afe544101550988895f12598adbc13e25d5f221f', name: "description" }, this.description))), (this.errorDescription ||
22612
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '45f08a76bf8abfc53a231d4e8977bbe6ed80b64d', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '4f37c2099badf5ccf9b58bb5ce71292c3b2baae5', name: "error-description" }, this.errorDescription)))));
22645
+ return (hAsync(Host, { key: '8177d18132823809bc6118b8d5267c7a18c21f36' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'a66ea3d0dd7a87cb8a825b83da36ea20251d6eae', htmlFor: this.inputId }, hAsync("slot", { key: 'c91403c3686ddd0f8046992c6c4e0ceffc67a552', name: "label" }, this.label))), hAsync("div", { key: 'a2a5b24933de9838e00cec2d0b80dba5b93d800a', class: "textarea-wrapper" }, hAsync("div", { key: '2f1f3ed08ddaa58198fd0bd609507c8986418686', class: "textarea-container", onClick: this.handleTextareaContainerClick }, hAsync("textarea", { key: 'b3579ad8239912b8fbd220aa5a30918624693267', 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 ||
22646
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '3a6380c9e5a7192ed498ebcf05327bde82f3289e', class: "description" }, hAsync("slot", { key: '760e6757150c4e536d21aa570a88498c09d2a62b', name: "description" }, this.description))), (this.errorDescription ||
22647
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'e6983c5ceeabb94a718b5e5b66e8625f0906f0d3', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: 'd81e0f8cef3c420412a7e01907dede0787162adc', name: "error-description" }, this.errorDescription)))));
22613
22648
  }
22614
22649
  static get formAssociated() { return true; }
22615
22650
  get el() { return getElement(this); }
@@ -23714,9 +23749,9 @@ class NvFieldtime {
23714
23749
  }, key: `${option}-${index}`, onClick: e => this.handleTimeOptionClick(e, type) }, option)))));
23715
23750
  }
23716
23751
  render() {
23717
- return (hAsync(Host, { key: 'f66fe2a29f23a0bc967821a0c9bca4347b622286', onclick: (e) => this.handleHostClick(e), "aria-expanded": this.open ? 'true' : 'false' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: 'f01ce1b034b1b547cbdde5814db9357ee1913e04', htmlFor: this.inputId }, hAsync("slot", { key: 'd81dcb20883b93280db6e76e0299f679f1f9ed84', name: "label" }, this.label))), hAsync("nv-popover", { key: '8c9e83002edcfba89ca4ca282fc82db714ed2f43', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: '3a5b26e4be67f277ead2a9fe2f04e5d12a4bd596', class: "input-wrapper", slot: "trigger" }, hAsync("slot", { key: '2ea5f8269c6f0892c53a002a298ca3ceed8f8a00', name: "before-input" }), hAsync("div", { key: 'ab97bbbf183118d7b510f82c800b4a3fa1fefda3', class: "input-container" }, hAsync("slot", { key: 'a80d2f68b24d4226c18bf0df18ebf13ac6e0873e', name: "leading-input" }), this.renderTimeInputFields(), hAsync("nv-iconbutton", { key: '1f7aacf1ab073c0c6ef10b50e948a7ecbca4dd75', name: 'clock', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide time picker' : 'Show time picker', onClick: () => this.HandleDropdownIconClick() }), this.error && (hAsync("nv-icon", { key: '8f414a3b3daae6f0625b3c62b920621bf8698db3', name: "alert-circle", class: "validation", size: "sm" })), this.success && (hAsync("nv-icon", { key: '13b5671664466b6bb50f2561b5cffb96517a1068', name: "circle-check", class: "validation", size: "sm" }))), hAsync("slot", { key: 'b5d6085a9864ef84d4113062a0b1cb8a807ab241', name: "after-input" })), hAsync("div", { key: '2950c5fac3a0f219e5db2e3a7e9f605d86e50aa2', class: "time-dropdown", slot: "content" }, hAsync("div", { key: 'c5b7ff3818a05e1f6d7ca76657f57b85bb595345', class: "time-columns" }, this.renderTimeDropdownColumns()))), (this.description ||
23718
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'c8cb90fad74721a9b5eb0ab50980f3fd7c587e62', class: "description" }, hAsync("slot", { key: '641d1a6a9dbf580267664831d5b371a601afb039', name: "description" }, this.description))), (this.errorDescription ||
23719
- this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: '5721b81d7a16b626bfa7c3af20897f33b7c37080', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '84cef1043666ab6dd86f70d4ba0054d7f33ca589', name: "error-description" }, this.errorDescription)))));
23752
+ return (hAsync(Host, { key: '9b33f779d721d68375ddfbf1956982f14967272a', onclick: (e) => this.handleHostClick(e), "aria-expanded": this.open ? 'true' : 'false' }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '871876c71fe0df7bff76e702c229275b3090adbe', htmlFor: this.inputId }, hAsync("slot", { key: '100c3f1c159a7b1d5b023204e7dc8697c6f1f43b', name: "label" }, this.label))), hAsync("nv-popover", { key: '39d56cba57193b2dfed275384d6cf40e8560227d', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, hAsync("div", { key: 'aec6f7f818028bb2584a2d72e1d8af9558420b73', class: "input-wrapper", slot: "trigger" }, hAsync("slot", { key: 'ed39cf1ceac3e904250aea8f5b4cd97e792943f1', name: "before-input" }), hAsync("div", { key: '89ec8af6fdfa4b2dc4b804de90cc78f06d54c875', class: "input-container" }, hAsync("slot", { key: '27f5ea3a67272030552d99d105fa5db124db7a8c', name: "leading-input" }), this.renderTimeInputFields(), hAsync("nv-iconbutton", { key: '008060a5a3c08dfb0cb1e71bdce8ce70aa76314d', name: 'clock', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide time picker' : 'Show time picker', onClick: () => this.HandleDropdownIconClick() }), this.error && (hAsync("nv-icon", { key: 'd1aae5841eadcf5fc9c12c3a7ee9872971e57ad8', name: "alert-circle", class: "validation", size: "sm" })), this.success && (hAsync("nv-icon", { key: 'bdf4717f3160d81722562296d5fda18df41295c2', name: "circle-check", class: "validation", size: "sm" }))), hAsync("slot", { key: 'ff65ecb08c4aa48bd0374123d999a7a2d438ba34', name: "after-input" })), hAsync("div", { key: 'c05b0b3e8f0014d6eb5ba95c89e809c920de76b5', class: "time-dropdown", slot: "content" }, hAsync("div", { key: '1f33346f4a3a8c241370965a1c419b8d5f7761c0', class: "time-columns" }, this.renderTimeDropdownColumns()))), (this.description ||
23753
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: '94e101508871bffefcf644683e929d69b5038db3', class: "description" }, hAsync("slot", { key: '037c67df4a303a9b59d4f342e9702e38e5ca07f2', name: "description" }, this.description))), (this.errorDescription ||
23754
+ this.el.querySelector('[slot="error-description"]')) && (hAsync("div", { key: 'bb19bd9d03da1de56978b66f50db6550ce4b8df5', hidden: !this.error, class: "error-description" }, hAsync("slot", { key: '05a8a1c12b6a292d646a43fe1c66a2d8771960da', name: "error-description" }, this.errorDescription)))));
23720
23755
  }
23721
23756
  static get formAssociated() { return true; }
23722
23757
  get el() { return getElement(this); }
@@ -23823,7 +23858,7 @@ class NvIcon {
23823
23858
  /****************************************************************************/
23824
23859
  //#region RENDER
23825
23860
  render() {
23826
- return (hAsync(Host, { key: '6d0cc341a34f4e8b6564a8685a4a48b15cd65ede', class: clsx(this.color && `${this.color}`), role: "img", "aria-label": `${this.name}-icon` }, hAsync("svg", { key: 'f38d1bf6fc71af859517b8938b4edfbab3a869b4', 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: '6575d274a1278ea8a22d7b09616470b6f2b1a982', href: `#nvicon_${this.name}` }))));
23861
+ return (hAsync(Host, { key: '8cb4ada2454c7e9676cd088397eb4416ccab2d82', class: clsx(this.color && `${this.color}`), role: "img", "aria-label": `${this.name}-icon` }, hAsync("svg", { key: '4934c79fa096935be509ff6a641361dac44a4a9f', 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: 'fd1463bd985a473937d6d3035edf83a8d5baf92d', href: `#nvicon_${this.name}` }))));
23827
23862
  }
23828
23863
  static get style() { return NvIconStyle0; }
23829
23864
  static get cmpMeta() { return {
@@ -23972,7 +24007,7 @@ class NvIconbutton {
23972
24007
  /****************************************************************************/
23973
24008
  //#region RENDER
23974
24009
  render() {
23975
- return (hAsync(Host, { key: 'f3d9a8c4f5f3b549595b1a4b8eecddae89b23909', role: "button", type: this.type, tabindex: this.disableTabindex ? -1 : 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: '9f25f8a2c72279f1ad4c92ed6e17341e4b43f26e', size: this.size }), !this.loading && hAsync("nv-icon", { key: 'aa0d10482d4dded8f6680afe066c3c8d781160ef', name: this.name, size: this.size }), hAsync("slot", { key: 'dc2a1ca7305ae4b14924d7acb79286596e5b358f' })));
24010
+ return (hAsync(Host, { key: '81d7f0bfd1e64ecbb640c2f02b7e73cd7b2d3aa4', role: "button", type: this.type, tabindex: this.disableTabindex ? -1 : 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: 'cec3ee02a7fb0882557c8742c8f9d785835e79d0', size: this.size }), !this.loading && hAsync("nv-icon", { key: '4892b3b78b291b159403a63ced6a150dd7def1c0', name: this.name, size: this.size }), hAsync("slot", { key: 'b1204bf2dd026c1232b5e8209fd29f21a8aa704f' })));
23976
24011
  }
23977
24012
  static get formAssociated() { return true; }
23978
24013
  get el() { return getElement(this); }
@@ -24021,7 +24056,7 @@ class NvLoader {
24021
24056
  //#region RENDER
24022
24057
  /* <slot> empty to force rendering change */
24023
24058
  render() {
24024
- return (hAsync(Host, { key: 'b90db971210fb08781098cefaf8832bd5692a09e', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
24059
+ return (hAsync(Host, { key: '049afa243c1ce99643408d86afa99e69c5468b8b', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
24025
24060
  }
24026
24061
  static get style() { return NvLoaderStyle0; }
24027
24062
  static get cmpMeta() { return {
@@ -24244,7 +24279,7 @@ class NvMenu {
24244
24279
  });
24245
24280
  }
24246
24281
  render() {
24247
- return (hAsync(Host, { key: '3f8c9a52825bac7923f2af8f17a163f367d37b65' }, hAsync("slot", { key: '1b49cf3d060a78e71e8e8ff20d62ca4f25f3e3c0', name: "trigger" }), hAsync("nv-popover", { key: '33429ba744ffc8ab7888b0f516837838791ced7c', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open }, this.items ? (hAsync("ul", { slot: "content" }, this.renderMenuItems())) : (hAsync("slot", { name: "content" })))));
24282
+ return (hAsync(Host, { key: '56a2d1b66805128c7bd26d2f6def4eda4fc3780d' }, hAsync("slot", { key: '6bcbd93eebd0b97b95cf52de75ec06750797b042', name: "trigger" }), hAsync("nv-popover", { key: 'b2c68d05416e9912dffa6f0804b090a0e80abd71', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open }, this.items ? (hAsync("ul", { slot: "content" }, this.renderMenuItems())) : (hAsync("slot", { name: "content" })))));
24248
24283
  }
24249
24284
  get el() { return getElement(this); }
24250
24285
  static get watchers() { return {
@@ -24318,7 +24353,7 @@ class NvMenuitem {
24318
24353
  /****************************************************************************/
24319
24354
  //#region RENDER
24320
24355
  render() {
24321
- return (hAsync(Host, { key: '188fd7b927ca35aa8089cec6fd49a61c08c6c7ba', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && hAsync("nv-icon", { key: '503d8d641d04ac0d9f9748bd409cae6ed5f0b21c', name: this.icon }), hAsync("slot", { key: 'df6fdf0eccc984b9a7efd35b105fc8079f0098c9' }), this.label && hAsync("span", { key: '4ff8e176c6f98701048e6db62908e7bdce65af07', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && hAsync("kbd", { key: '09c3ab408942fbb94c9d5124f49e108a0831e58a' }, this.shortcut), this.hasSubmenu && hAsync("nv-icon", { key: '0710cfad417cada843e7624f966111edc5ba99cc', name: "chevron-right" })));
24356
+ return (hAsync(Host, { key: '327165c89f4e5decf8dc4b7b28e18562e528056d', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && hAsync("nv-icon", { key: '4247d922bca3797dc3f2917218749a8d3c038df1', name: this.icon }), hAsync("slot", { key: '1f81464ccf47a5bd918873ef70d3d3385e870638' }), this.label && hAsync("span", { key: '113358a0cacfa53710ec0049a8e1c5e981de5b15', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && hAsync("kbd", { key: 'ee7c773b89bf1f55876cf297600247883cd54937' }, this.shortcut), this.hasSubmenu && hAsync("nv-icon", { key: '70cbe2df51d9fbffe3b474b54e87aa06801acef7', name: "chevron-right" })));
24322
24357
  }
24323
24358
  get el() { return getElement(this); }
24324
24359
  static get style() { return NvMenuitemStyle0; }
@@ -24503,7 +24538,7 @@ class NvNotification {
24503
24538
  //#region RENDER
24504
24539
  render() {
24505
24540
  var _a, _b, _c;
24506
- return (hAsync(Host, { key: '46775401cabedd4ddc4b25d92c63411e9acb82dc', role: this.getAriaRole(), "aria-live": this.getAriaLive(), "aria-atomic": true, "aria-labelledby": (_a = this.getHeadingId()) !== null && _a !== void 0 ? _a : null, "aria-describedby": (_b = this.getMessageId()) !== null && _b !== void 0 ? _b : null, tabindex: "-1" }, hAsync("div", { key: 'e9b66d76b129916e980a150c87fa57bb26323c43', "data-scope": "container", ref: el => (this.container = el) }, this.dismissible && (hAsync("button", { key: 'd5a3b8eea45bf183228c4c8297e031252569e029', "data-scope": "dismiss", type: "button", onClick: this.dismiss.bind(this) }, hAsync("nv-icon", { key: 'd5a8c1fe676259e40a2af7d3dab5d3b301b0583f', name: "x", size: "sm" }))), hAsync("nv-icon", { key: '55b19299a45267b98cb8bea6f3a26c34da03a652', name: (_c = this.icon) !== null && _c !== void 0 ? _c : this.getDefaultIcon(), size: "md", "data-scope": "icon" }), hAsync("div", { key: '4ec36ebdc8d45b0b381cae85f0b3768f9cbc5b73', "data-scope": "content" }, (this.heading || this.headingSlot) && (hAsync("p", { key: 'b9dff96f37cddf2c1cd7c5fa78a20ae55e275db9', id: this.getHeadingId(), "data-scope": "heading" }, hAsync("slot", { key: 'efd279084065fd729ab2b2a629b95405f5dedbc1', name: "heading" }, this.heading))), (this.message || this.messageSlot) && (hAsync("p", { key: '0cdd307c0bf278475d817d385e2af1e946170864', id: this.getMessageId(), "data-scope": "message" }, hAsync("slot", { key: 'f1b5ccc34f45cb7a65bc24868134ca21d9cf3df3', name: "content" }, this.message))), this.actionsSlot && (hAsync("div", { key: '9cced40d8f68f6b755c7a3b90e7c1899bcb95c56', "data-scope": "actions" }, hAsync("slot", { key: 'e30bd73510f7e39e41db8bf395e99301ad53ec45', name: "actions" })))))));
24541
+ return (hAsync(Host, { key: '10e49ace93a23660383f9bbfb45460e610320db3', role: this.getAriaRole(), "aria-live": this.getAriaLive(), "aria-atomic": true, "aria-labelledby": (_a = this.getHeadingId()) !== null && _a !== void 0 ? _a : null, "aria-describedby": (_b = this.getMessageId()) !== null && _b !== void 0 ? _b : null, tabindex: "-1" }, hAsync("div", { key: '1cce0d5c025e404ad641eed3c0ff07045db12de6', "data-scope": "container", ref: el => (this.container = el) }, this.dismissible && (hAsync("button", { key: '64a9e8f95f51908ed82f5c832d5a9738420b574b', "data-scope": "dismiss", type: "button", onClick: this.dismiss.bind(this) }, hAsync("nv-icon", { key: 'f4f5a742b862a52ebf7e2edc320e4521ad575a29', name: "x", size: "sm" }))), hAsync("nv-icon", { key: 'a85552d6f9d81f67643f4a8c428464ed7af2ff90', name: (_c = this.icon) !== null && _c !== void 0 ? _c : this.getDefaultIcon(), size: "md", "data-scope": "icon" }), hAsync("div", { key: 'bb7fd2fd626191f53b59507c3d5003369aaa2d70', "data-scope": "content" }, (this.heading || this.headingSlot) && (hAsync("p", { key: 'ce333015dc488c8371d2dc90b97461888a28174e', id: this.getHeadingId(), "data-scope": "heading" }, hAsync("slot", { key: '32c9d8c3c5a85a60e3993a5963ed019f5900e6c3', name: "heading" }, this.heading))), (this.message || this.messageSlot) && (hAsync("p", { key: '08d57bf3058e3efcaf6d95de5754c34405ddddfb', id: this.getMessageId(), "data-scope": "message" }, hAsync("slot", { key: 'f930fb38f00addf2911fc5401d906ee7c52b0920', name: "content" }, this.message))), this.actionsSlot && (hAsync("div", { key: '983c60ec7fdf1ed85d2ef9d1a5c327d0aaf78013', "data-scope": "actions" }, hAsync("slot", { key: '521bd4d20db65dc6025a9fb285599dbd7643bed0', name: "actions" })))))));
24507
24542
  }
24508
24543
  get el() { return getElement(this); }
24509
24544
  static get style() { return NvNotificationStyle0; }
@@ -24529,6 +24564,95 @@ class NvNotification {
24529
24564
  }; }
24530
24565
  }
24531
24566
 
24567
+ const nvNotificationBulletCss = "nv-notification-bullet{display:inline-flex;align-items:center;position:relative;}nv-notification-bullet .nv-notification-bullet{display:inline-flex;align-items:center;justify-content:center;min-width:var(--sidebar-primary-notification-bullet-size);max-width:var(--sidebar-primary-notification-bullet-size);min-height:var(--sidebar-primary-notification-bullet-size);max-height:var(--sidebar-primary-notification-bullet-size);padding:0 var(--spacing-1);border-radius:var(--radius-rounded-full);font-size:var(--sidebar-primary-notification-bullet-font-size);font-weight:var(--sidebar-primary-notification-bullet-font-weight);white-space:nowrap;flex-shrink:0}nv-notification-bullet.nv-notification-bullet-brand .nv-notification-bullet.nv-notification-bullet-high{background-color:var(--color-brand-500);color:var(--color-feedback-error-high-contrast-title)}nv-notification-bullet.nv-notification-bullet-brand .nv-notification-bullet.nv-notification-bullet-low{background-color:var(--color-brand-50);color:var(--color-brand-600);border:1px solid var(--color-brand-600)}nv-notification-bullet.nv-notification-bullet-neutral .nv-notification-bullet.nv-notification-bullet-high{background-color:var(--color-interaction-container-neutral-background);color:var(--color-interaction-container-neutral-text)}nv-notification-bullet.nv-notification-bullet-neutral .nv-notification-bullet.nv-notification-bullet-low{background-color:var(--color-interaction-container-neutral-background);color:var(--color-interaction-container-neutral-text)}nv-notification-bullet.nv-notification-bullet-with-cross-border::before{content:\"\";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:calc(var(--sidebar-primary-notification-bullet-size) * 1.5);height:calc(var(--sidebar-primary-notification-bullet-size) * 1.5);border-radius:var(--radius-rounded-full);background-color:var(--nv-component-background, var(--nv-sidebarnavitem-background, var(--color-interaction-container-neutral-background)));z-index:-1;pointer-events:none}nv-sidebar[collapsed] nv-notification-bullet.nv-notification-bullet-with-cross-border::before{width:calc(var(--sidebar-primary-notification-bullet-size-reduced) * 1.5);height:calc(var(--sidebar-primary-notification-bullet-size-reduced) * 1.5)}nv-notification-bullet .nv-notification-bullet.nv-notification-bullet-with-border{}nv-notification-bullet .nv-notification-bullet.nv-notification-bullet-reduced,nv-sidebar[collapsed] nv-notification-bullet .nv-notification-bullet{min-width:var(--sidebar-primary-notification-bullet-size-reduced);max-width:var(--sidebar-primary-notification-bullet-size-reduced);min-height:var(--sidebar-primary-notification-bullet-size-reduced);max-height:var(--sidebar-primary-notification-bullet-size-reduced);padding:0;font-size:0;}nv-notification-bullet .nv-notification-bullet.nv-notification-bullet-reduced.nv-notification-bullet-with-border,nv-sidebar[collapsed] nv-notification-bullet .nv-notification-bullet.nv-notification-bullet-with-border{}";
24568
+ var NvNotificationBulletStyle0 = nvNotificationBulletCss;
24569
+
24570
+ /**
24571
+ * Notification bullet component for displaying notification counts in the sidebar.
24572
+ * Automatically adapts its size when the sidebar is collapsed.
24573
+ * Inherits intention and emphasis from parent nv-sidebar if not explicitly set.
24574
+ */
24575
+ class NvNotificationBullet {
24576
+ constructor(hostRef) {
24577
+ registerInstance(this, hostRef);
24578
+ /**
24579
+ * Determines the size of the notification bullet.
24580
+ * - default: Normal size with text visible
24581
+ * - reduced: Smaller size, text hidden (just a dot)
24582
+ */
24583
+ this.size = 'default';
24584
+ /**
24585
+ * Allows to add a border to add contrast on background.
24586
+ */
24587
+ this.contrastingBorder = false;
24588
+ }
24589
+ //#endregion PROPERTIES
24590
+ /****************************************************************************/
24591
+ //#region METHODS
24592
+ getIntention() {
24593
+ if (this.intention) {
24594
+ return this.intention;
24595
+ }
24596
+ // Inherit from parent nv-sidebar
24597
+ const sidebar = this.el.closest('nv-sidebar');
24598
+ if (sidebar) {
24599
+ const sidebarIntention = sidebar.getAttribute('notification-intention');
24600
+ if (sidebarIntention === 'neutral' || sidebarIntention === 'brand') {
24601
+ return sidebarIntention;
24602
+ }
24603
+ }
24604
+ return 'brand'; // Default fallback
24605
+ }
24606
+ getEmphasis() {
24607
+ if (this.emphasis) {
24608
+ return this.emphasis;
24609
+ }
24610
+ // Inherit from parent nv-sidebar
24611
+ const sidebar = this.el.closest('nv-sidebar');
24612
+ if (sidebar) {
24613
+ const sidebarEmphasis = sidebar.getAttribute('notification-emphasis');
24614
+ if (sidebarEmphasis === 'high' || sidebarEmphasis === 'low') {
24615
+ return sidebarEmphasis;
24616
+ }
24617
+ }
24618
+ return 'high'; // Default fallback
24619
+ }
24620
+ //#region RENDER
24621
+ render() {
24622
+ var _a;
24623
+ const displayCount = (_a = this.count) !== null && _a !== void 0 ? _a : 0;
24624
+ const displayText = displayCount > 99 ? '99+' : String(displayCount);
24625
+ if (displayCount <= 0) {
24626
+ return null;
24627
+ }
24628
+ const sizeClass = this.size === 'reduced' ? 'nv-notification-bullet-reduced' : '';
24629
+ const intention = this.getIntention();
24630
+ const emphasis = this.getEmphasis();
24631
+ const intentionClass = `nv-notification-bullet-${intention}`;
24632
+ const emphasisClass = `nv-notification-bullet-${emphasis}`;
24633
+ const borderClass = this.contrastingBorder
24634
+ ? 'nv-notification-bullet-with-border'
24635
+ : '';
24636
+ return (hAsync(Host, { class: `${intentionClass} ${borderClass ? 'nv-notification-bullet-with-cross-border' : ''}` }, hAsync("span", { class: `nv-notification-bullet ${emphasisClass} ${sizeClass} ${borderClass}`, "aria-label": `${displayCount} notifications` }, displayText)));
24637
+ }
24638
+ get el() { return getElement(this); }
24639
+ static get style() { return NvNotificationBulletStyle0; }
24640
+ static get cmpMeta() { return {
24641
+ "$flags$": 0,
24642
+ "$tagName$": "nv-notification-bullet",
24643
+ "$members$": {
24644
+ "count": [514],
24645
+ "intention": [513],
24646
+ "emphasis": [513],
24647
+ "size": [513],
24648
+ "contrastingBorder": [516, "contrasting-border"]
24649
+ },
24650
+ "$listeners$": undefined,
24651
+ "$lazyBundleId$": "-",
24652
+ "$attrsToReflect$": [["count", "count"], ["intention", "intention"], ["emphasis", "emphasis"], ["size", "size"], ["contrastingBorder", "contrasting-border"]]
24653
+ }; }
24654
+ }
24655
+
24532
24656
  const nvNotificationcontainerCss = "nv-notificationcontainer{position:fixed;display:flex;flex-direction:column;padding:var(--spacing-2);padding-top:0;z-index:9999;pointer-events:none;width:100%;max-width:512px}nv-notificationcontainer.position-top-right{top:0;right:0}nv-notificationcontainer.position-top-right nv-notification{margin-top:var(--spacing-2)}nv-notificationcontainer.position-top-left{top:0;left:0}nv-notificationcontainer.position-top-left nv-notification{margin-bottom:var(--spacing-2)}nv-notificationcontainer.position-top-center{top:0;left:50%;transform:translateX(-50%)}nv-notificationcontainer.position-top-center nv-notification{margin-bottom:var(--spacing-2)}nv-notificationcontainer.position-bottom-right{bottom:0;right:0;flex-direction:column-reverse}nv-notificationcontainer.position-bottom-right nv-notification{margin-top:var(--spacing-2)}nv-notificationcontainer.position-bottom-left{bottom:0;left:0;flex-direction:column-reverse}nv-notificationcontainer.position-bottom-left nv-notification{margin-top:var(--spacing-2)}nv-notificationcontainer.position-bottom-center{bottom:0;left:50%;transform:translateX(-50%);flex-direction:column-reverse}nv-notificationcontainer.position-bottom-center nv-notification{margin-top:var(--spacing-2)}nv-notificationcontainer>*{pointer-events:auto}";
24533
24657
  var NvNotificationcontainerStyle0 = nvNotificationcontainerCss;
24534
24658
 
@@ -24563,7 +24687,7 @@ class NvNotificationContainer {
24563
24687
  /****************************************************************************/
24564
24688
  //#region RENDER
24565
24689
  render() {
24566
- return (hAsync(Host, { key: 'ee0a569e38a3f6402b027317b3bbd0f9773b30ea', class: `position-${this.position}` }, hAsync("slot", { key: 'f8829878c8b5b4de5f3e82bbe77a0ae5d9eee809' })));
24690
+ return (hAsync(Host, { key: 'bf0b7cd02e0d214516f352eb7016d6060d6959c5', class: `position-${this.position}` }, hAsync("slot", { key: 'f042e3f11b4d2af4b47aadeba04a332c57889616' })));
24567
24691
  }
24568
24692
  static get style() { return NvNotificationcontainerStyle0; }
24569
24693
  static get cmpMeta() { return {
@@ -26964,7 +27088,7 @@ class NvPopover {
26964
27088
  /****************************************************************************/
26965
27089
  //#region RENDER
26966
27090
  render() {
26967
- return (hAsync(Host, { key: '12a7b1a584b3430808f55294772240a1dc77800e' }, hAsync("slot", { key: '3d9b86bdccf5ed03bbc477c8e0eaad6c9f886cc9', name: "trigger" }), hAsync("div", { key: 'df5924d7e88fda20b769a7ab0329428fc04e3920', "data-scope": "popover", "data-strategy": this.strategy, hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (hAsync("div", { key: '559702ed280c31331703e98d4c57a189491481c4', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), hAsync("slot", { key: 'f5872f0bb2865f053b56e9aa128414f777dd9454', name: "content" }))));
27091
+ return (hAsync(Host, { key: 'c54fc90b90bbe48b0410c750bf4ba97e51eb24e5' }, hAsync("slot", { key: 'd957fba61d4e91d8afd85f14b602290c88e5128a', name: "trigger" }), hAsync("div", { key: '548c798fc047d41c06d8a84cc9a4f65a4cbf75b5', "data-scope": "popover", "data-strategy": this.strategy, hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (hAsync("div", { key: 'd3c6e110e2c3f45ba0ed5c69b99f0a60413cbb39', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), hAsync("slot", { key: '20c2d8e3ff0ed3d3b9957513e19586e4aa4a39ca', name: "content" }))));
26968
27092
  }
26969
27093
  get el() { return getElement(this); }
26970
27094
  static get watchers() { return {
@@ -27011,7 +27135,7 @@ class NvRow {
27011
27135
  /****************************************************************************/
27012
27136
  //#region RENDER
27013
27137
  render() {
27014
- return (hAsync(Host, { key: '7349317dfee793dd34ceab919bae6155811f25f4' }, hAsync("slot", { key: '0b31cf4d03d1057ec6f02b65b0ace85ee390cbc4' })));
27138
+ return (hAsync(Host, { key: '8415bdad0106bd3d836996c617a749294e0c19e2' }, hAsync("slot", { key: '77c069ced0dc25c4169945877c388f30d27fdc4f' })));
27015
27139
  }
27016
27140
  static get style() { return NvRowStyle0; }
27017
27141
  static get cmpMeta() { return {
@@ -27024,6 +27148,729 @@ class NvRow {
27024
27148
  }; }
27025
27149
  }
27026
27150
 
27151
+ const nvSidebarCss = "nv-sidebarnavitem a,nv-sidebarnavitem a:link,nv-sidebarnavitem a:visited,nv-sidebarnavitem a:hover,nv-sidebarnavitem a:active,nv-sidebarnavsubitem a,nv-sidebarnavsubitem a:link,nv-sidebarnavsubitem a:visited,nv-sidebarnavsubitem a:hover,nv-sidebarnavsubitem a:active{color:inherit !important;text-decoration:none !important}nv-sidebar{display:flex;flex-direction:column;position:relative;height:100vh;background-color:var(--color-level-00-background);border-right:var(--sidebar-primary-separator-size) solid var(--color-content-low-border);transition:width 0.3s ease;width:var(--sidebar-width)}nv-sidebar[collapsed]{width:var(--sidebar-reduced-max-width)}nv-sidebar[collapsed] [data-hide-on-collapsed]{display:none !important}nv-sidebar[collapsed] .nv-sidebar-container{padding:var(--spacing-6) var(--spacing-5)}nv-sidebar .nv-sidebar-container{display:flex;flex-direction:column;flex:1;overflow:hidden;padding:var(--spacing-6);gap:var(--sidebar-gap-y)}nv-sidebar .nv-sidebar-toggle{position:absolute;top:var(--spacing-8);right:calc(var(--spacing-8) / -2);display:flex;align-items:center;justify-content:center;width:var(--spacing-8);height:var(--spacing-8);padding:var(--sidebar-collapsible-button-padding);background-color:var(--color-level-00-background);border:var(--sidebar-primary-separator-size) solid var(--color-content-low-border);border-radius:var(--radius-rounded-full);cursor:pointer;transition:transform 0.2s ease;z-index:10}nv-sidebar .nv-sidebar-toggle:hover{background-color:var(--color-level-10-background)}nv-sidebar .nv-sidebar-toggle:focus,nv-sidebar .nv-sidebar-toggle:focus-within{outline:none}nv-sidebar .nv-sidebar-toggle:focus-visible,nv-sidebar .nv-sidebar-toggle:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-sidebar .nv-sidebar-toggle nv-icon{width:var(--sidebar-collapsible-button-icon-size);height:var(--sidebar-collapsible-button-icon-size);color:var(--color-interaction-container-neutral-icon)}";
27152
+ var NvSidebarStyle0 = nvSidebarCss;
27153
+
27154
+ /**
27155
+ * Main sidebar container for navigation. Supports collapsible and persistent modes.
27156
+ * @slot default - All sidebar components (logo, header, content, footer).
27157
+ */
27158
+ class NvSidebar {
27159
+ constructor(hostRef) {
27160
+ registerInstance(this, hostRef);
27161
+ this.openChanged = createEvent(this, "openChanged", 7);
27162
+ /****************************************************************************/
27163
+ //#region PROPERTIES
27164
+ /**
27165
+ * The type of sidebar behavior.
27166
+ * - collapsible: Can be toggled open/closed
27167
+ * - persistent: Always visible
27168
+ */
27169
+ this.type = 'persistent';
27170
+ /**
27171
+ * Whether the sidebar is currently open (only applies to collapsible type).
27172
+ */
27173
+ // eslint-disable-next-line @stencil-community/ban-default-true
27174
+ this.open = true;
27175
+ /**
27176
+ * Determines the type of notification bullets in the sidebar.
27177
+ * - neutral: Uses neutral colors (gray)
27178
+ * - brand: Uses brand colors (orange/teal depending on theme)
27179
+ */
27180
+ this.notificationIntention = 'brand';
27181
+ /**
27182
+ * Determines the emphasis of notification bullets in the sidebar.
27183
+ * - high: More prominent appearance
27184
+ * - low: Less prominent appearance
27185
+ */
27186
+ this.notificationEmphasis = 'high';
27187
+ //#endregion EVENTS
27188
+ /****************************************************************************/
27189
+ //#region METHODS
27190
+ this.handleToggle = () => {
27191
+ if (this.type === 'collapsible') {
27192
+ // Changing open will trigger @Watch which emits the event
27193
+ this.open = !this.open;
27194
+ }
27195
+ };
27196
+ /**
27197
+ * Sets the active state of navigation items based on activePath
27198
+ */
27199
+ this.setActiveNavItems = () => {
27200
+ if (!this.activePath)
27201
+ return;
27202
+ // First, check all subitems to find if any matches exactly
27203
+ const activeSubitemHrefs = new Set();
27204
+ this.el.querySelectorAll('nv-sidebarnavsubitem').forEach(subItem => {
27205
+ const link = subItem.querySelector('a');
27206
+ const href = link === null || link === void 0 ? void 0 : link.getAttribute('href');
27207
+ if (href) {
27208
+ const isActive = this.activePath === href;
27209
+ subItem.active = isActive;
27210
+ if (isActive) {
27211
+ activeSubitemHrefs.add(href);
27212
+ }
27213
+ }
27214
+ });
27215
+ // Then, set nav items active only if:
27216
+ // 1. Exact match with activePath AND no subitem matches
27217
+ // 2. OR the navitem has no subitems and activePath starts with its href
27218
+ this.el.querySelectorAll('nv-sidebarnavitem').forEach(navItem => {
27219
+ const link = navItem.querySelector(':scope > a, :scope > .nv-sidebarnavitem-trigger a, .nv-sidebarnavitem-content > a');
27220
+ const href = link === null || link === void 0 ? void 0 : link.getAttribute('href');
27221
+ const hasSubitems = navItem.querySelector('nv-sidebarnavsubitem') !== null;
27222
+ if (href) {
27223
+ if (hasSubitems) {
27224
+ // Parent with subitems: only active if exact match (not when subitem is active)
27225
+ navItem.active = this.activePath === href;
27226
+ }
27227
+ else {
27228
+ // Item without subitems: active on exact match
27229
+ navItem.active = this.activePath === href;
27230
+ }
27231
+ }
27232
+ });
27233
+ };
27234
+ this.pendingActiveUpdate = null;
27235
+ /**
27236
+ * Sets up the MutationObserver to watch for changes in child elements.
27237
+ * Only triggers on new nav items being added, not on attribute changes.
27238
+ */
27239
+ this.setupMutationObserver = () => {
27240
+ this.mutationObserver = new MutationObserver(mutations => {
27241
+ // Only react to new nav items being added, ignore other mutations
27242
+ const hasNewNavItems = mutations.some(mutation => {
27243
+ if (mutation.type !== 'childList')
27244
+ return false;
27245
+ return Array.from(mutation.addedNodes).some(node => {
27246
+ if (node.nodeType !== Node.ELEMENT_NODE)
27247
+ return false;
27248
+ const el = node;
27249
+ return (el.tagName.toLowerCase() === 'nv-sidebarnavitem' ||
27250
+ el.tagName.toLowerCase() === 'nv-sidebarnavsubitem' ||
27251
+ el.querySelector('nv-sidebarnavitem, nv-sidebarnavsubitem'));
27252
+ });
27253
+ });
27254
+ if (hasNewNavItems) {
27255
+ // Debounce to prevent multiple rapid calls
27256
+ if (this.pendingActiveUpdate) {
27257
+ clearTimeout(this.pendingActiveUpdate);
27258
+ }
27259
+ this.pendingActiveUpdate = window.setTimeout(() => {
27260
+ this.setActiveNavItems();
27261
+ this.pendingActiveUpdate = null;
27262
+ }, 50);
27263
+ }
27264
+ });
27265
+ this.mutationObserver.observe(this.el, {
27266
+ childList: true,
27267
+ subtree: true,
27268
+ });
27269
+ };
27270
+ }
27271
+ handleCollapsedSideEffects(isCollapsed) {
27272
+ if (!isCollapsed) {
27273
+ return;
27274
+ }
27275
+ this.el.querySelectorAll('nv-sidebarnavitem[open]').forEach(navItem => {
27276
+ navItem.open = false;
27277
+ });
27278
+ }
27279
+ //#endregion METHODS
27280
+ /****************************************************************************/
27281
+ //#region WATCHERS
27282
+ onActivePathChanged() {
27283
+ this.setActiveNavItems();
27284
+ }
27285
+ //#endregion WATCHERS
27286
+ /****************************************************************************/
27287
+ //#region LIFECYCLE
27288
+ componentWillLoad() {
27289
+ this.setActiveNavItems();
27290
+ this.setupMutationObserver();
27291
+ this.handleCollapsedSideEffects(this.type === 'collapsible' && !this.open);
27292
+ }
27293
+ onOpenChanged(newValue, oldValue) {
27294
+ this.handleCollapsedSideEffects(this.type === 'collapsible' && !newValue);
27295
+ // Only emit event when open state actually changes (not on re-render with same value)
27296
+ if (this.type === 'collapsible' && newValue !== oldValue) {
27297
+ this.openChanged.emit(newValue);
27298
+ }
27299
+ }
27300
+ disconnectedCallback() {
27301
+ if (this.mutationObserver) {
27302
+ this.mutationObserver.disconnect();
27303
+ }
27304
+ if (this.pendingActiveUpdate) {
27305
+ clearTimeout(this.pendingActiveUpdate);
27306
+ }
27307
+ }
27308
+ //#endregion LIFECYCLE
27309
+ /****************************************************************************/
27310
+ //#region RENDER
27311
+ render() {
27312
+ const isCollapsed = this.type === 'collapsible' && !this.open;
27313
+ return (hAsync(Host, { key: 'af78cae6f6cd895dbef098e549e63ac8baace243', role: "navigation", collapsed: isCollapsed ? true : undefined, "notification-intention": this.notificationIntention, "notification-emphasis": this.notificationEmphasis, "aria-expanded": this.type === 'collapsible' ? String(this.open) : undefined }, hAsync("div", { key: '28a2ec38d36308d803362d361a243dc5c1b6083e', class: "nv-sidebar-container" }, hAsync("slot", { key: 'c4d85987d256e89508392b6e28fdb74be9140ccb' })), this.type === 'collapsible' && (hAsync("button", { key: 'a34c2b6a0be9b1bd494ac542db3ed096c81e32f9', class: "nv-sidebar-toggle", onClick: this.handleToggle, "aria-label": this.open ? 'Collapse sidebar' : 'Expand sidebar' }, hAsync("nv-icon", { key: '8905351a55b339106a4c7bb5cf61582a98dd31a5', name: this.open
27314
+ ? 'layout-sidebar-left-collapse'
27315
+ : 'layout-sidebar-right-collapse', size: "sm" })))));
27316
+ }
27317
+ get el() { return getElement(this); }
27318
+ static get watchers() { return {
27319
+ "activePath": ["onActivePathChanged"],
27320
+ "open": ["onOpenChanged"]
27321
+ }; }
27322
+ static get style() { return NvSidebarStyle0; }
27323
+ static get cmpMeta() { return {
27324
+ "$flags$": 4,
27325
+ "$tagName$": "nv-sidebar",
27326
+ "$members$": {
27327
+ "type": [513],
27328
+ "open": [1540],
27329
+ "activePath": [513, "active-path"],
27330
+ "notificationIntention": [513, "notification-intention"],
27331
+ "notificationEmphasis": [513, "notification-emphasis"]
27332
+ },
27333
+ "$listeners$": undefined,
27334
+ "$lazyBundleId$": "-",
27335
+ "$attrsToReflect$": [["type", "type"], ["open", "open"], ["activePath", "active-path"], ["notificationIntention", "notification-intention"], ["notificationEmphasis", "notification-emphasis"]]
27336
+ }; }
27337
+ }
27338
+
27339
+ const nvSidebarcontentCss = "nv-sidebarcontent{display:flex;flex-direction:column;flex:1;overflow-y:auto;overflow-x:hidden}";
27340
+ var NvSidebarcontentStyle0 = nvSidebarcontentCss;
27341
+
27342
+ /**
27343
+ * Scrollable main content area of the sidebar containing navigation groups and items.
27344
+ * @slot default - Navigation groups, items, and dividers.
27345
+ */
27346
+ class NvSidebarcontent {
27347
+ constructor(hostRef) {
27348
+ registerInstance(this, hostRef);
27349
+ }
27350
+ /****************************************************************************/
27351
+ //#region RENDER
27352
+ render() {
27353
+ return (hAsync(Host, { key: 'd960a2c2abe06db605980bf35d2c7cc74f4e0dba', role: "list" }, hAsync("slot", { key: '7c0b0ad872d1afc279bfd9c9d381097207f055e2' })));
27354
+ }
27355
+ static get style() { return NvSidebarcontentStyle0; }
27356
+ static get cmpMeta() { return {
27357
+ "$flags$": 4,
27358
+ "$tagName$": "nv-sidebarcontent",
27359
+ "$members$": undefined,
27360
+ "$listeners$": undefined,
27361
+ "$lazyBundleId$": "-",
27362
+ "$attrsToReflect$": []
27363
+ }; }
27364
+ }
27365
+
27366
+ const nvSidebardividerCss = "nv-sidebardivider{display:block;height:var(--sidebar-primary-separator-size);background-color:var(--color-content-low-border);margin:var(--spacing-2) 0}";
27367
+ var NvSidebardividerStyle0 = nvSidebardividerCss;
27368
+
27369
+ /**
27370
+ * A horizontal divider for separating sidebar navigation groups.
27371
+ */
27372
+ class NvSidebardivider {
27373
+ constructor(hostRef) {
27374
+ registerInstance(this, hostRef);
27375
+ }
27376
+ /****************************************************************************/
27377
+ //#region RENDER
27378
+ render() {
27379
+ return hAsync(Host, { key: 'a4328b357b750232920c8b5e24e91503bba7e235', role: "separator", "aria-orientation": "horizontal" });
27380
+ }
27381
+ static get style() { return NvSidebardividerStyle0; }
27382
+ static get cmpMeta() { return {
27383
+ "$flags$": 0,
27384
+ "$tagName$": "nv-sidebardivider",
27385
+ "$members$": undefined,
27386
+ "$listeners$": undefined,
27387
+ "$lazyBundleId$": "-",
27388
+ "$attrsToReflect$": []
27389
+ }; }
27390
+ }
27391
+
27392
+ const nvSidebarfooterCss = "nv-sidebarfooter{display:block;margin-top:auto}";
27393
+ var NvSidebarfooterStyle0 = nvSidebarfooterCss;
27394
+
27395
+ /**
27396
+ * Optional footer container for the sidebar. Use this to display custom elements
27397
+ * like user settings, logout buttons, or version information at the bottom of the sidebar.
27398
+ * @slot default - Custom content to display in the footer.
27399
+ */
27400
+ class NvSidebarfooter {
27401
+ constructor(hostRef) {
27402
+ registerInstance(this, hostRef);
27403
+ }
27404
+ /****************************************************************************/
27405
+ //#region RENDER
27406
+ render() {
27407
+ return (hAsync(Host, { key: '73ce5246f93d982caf0d65f2cde8156dfbe565da' }, hAsync("slot", { key: '92a297a59988ce6e70875eedd50227cdf011d4bf' })));
27408
+ }
27409
+ static get style() { return NvSidebarfooterStyle0; }
27410
+ static get cmpMeta() { return {
27411
+ "$flags$": 4,
27412
+ "$tagName$": "nv-sidebarfooter",
27413
+ "$members$": undefined,
27414
+ "$listeners$": undefined,
27415
+ "$lazyBundleId$": "-",
27416
+ "$attrsToReflect$": []
27417
+ }; }
27418
+ }
27419
+
27420
+ const nvSidebargroupCss = "nv-sidebargroup{display:flex;flex-direction:column;gap:var(--spacing-1)}nv-sidebargroup .nv-sidebargroup-label{display:block;font-size:var(--font-size-sm);line-height:var(--line-height-sm);font-weight:var(--font-weight-medium-emphasis);color:var(--color-content-lower-text);letter-spacing:0;padding:var(--sidebar-primary-title-padding-y) var(--sidebar-primary-title-padding-x)}nv-sidebar[collapsed] nv-sidebargroup .nv-sidebargroup-label{display:none}";
27421
+ var NvSidebargroupStyle0 = nvSidebargroupCss;
27422
+
27423
+ /**
27424
+ * Groups navigation items together with an optional label.
27425
+ * @slot default - Navigation items (nv-sidebarnavitem) to display in this group.
27426
+ */
27427
+ class NvSidebargroup {
27428
+ constructor(hostRef) {
27429
+ registerInstance(this, hostRef);
27430
+ }
27431
+ //#endregion PROPERTIES
27432
+ /****************************************************************************/
27433
+ //#region RENDER
27434
+ render() {
27435
+ return (hAsync(Host, { key: 'c7b4e34d8237dc93adaa33f12d7cfda36a8ac269', role: "group", "aria-label": this.label }, this.label && hAsync("div", { key: '7cafdf840b12c89604efda7895b764331c8054b7', class: "nv-sidebargroup-label" }, this.label), hAsync("slot", { key: 'b6567a223f7cc05ce2874a632d38d6665c255659' })));
27436
+ }
27437
+ static get style() { return NvSidebargroupStyle0; }
27438
+ static get cmpMeta() { return {
27439
+ "$flags$": 4,
27440
+ "$tagName$": "nv-sidebargroup",
27441
+ "$members$": {
27442
+ "label": [513]
27443
+ },
27444
+ "$listeners$": undefined,
27445
+ "$lazyBundleId$": "-",
27446
+ "$attrsToReflect$": [["label", "label"]]
27447
+ }; }
27448
+ }
27449
+
27450
+ const nvSidebarheaderCss = "nv-sidebarheader{display:block}";
27451
+ var NvSidebarheaderStyle0 = nvSidebarheaderCss;
27452
+
27453
+ /**
27454
+ * Optional header container for the sidebar. Use this to display custom elements
27455
+ * like search bars, user profiles, or action buttons at the top of the sidebar.
27456
+ * @slot default - Custom content to display in the header.
27457
+ */
27458
+ class NvSidebarheader {
27459
+ constructor(hostRef) {
27460
+ registerInstance(this, hostRef);
27461
+ }
27462
+ /****************************************************************************/
27463
+ //#region RENDER
27464
+ render() {
27465
+ return (hAsync(Host, { key: '42d91f8325df19e8208ab045a057657c97bf3ff4' }, hAsync("slot", { key: '42b4e5952fd55b95fe2934297929cef3bd1b226c' })));
27466
+ }
27467
+ static get style() { return NvSidebarheaderStyle0; }
27468
+ static get cmpMeta() { return {
27469
+ "$flags$": 4,
27470
+ "$tagName$": "nv-sidebarheader",
27471
+ "$members$": undefined,
27472
+ "$listeners$": undefined,
27473
+ "$lazyBundleId$": "-",
27474
+ "$attrsToReflect$": []
27475
+ }; }
27476
+ }
27477
+
27478
+ const nvSidebarlogoCss = "nv-sidebarlogo{display:block}nv-sidebarlogo .nv-sidebarlogo-container{display:flex;align-items:center;gap:var(--spacing-3)}nv-sidebarlogo .nv-sidebarlogo-full,nv-sidebarlogo .nv-sidebarlogo-collapsed{height:var(--spacing-8);width:auto;object-fit:contain}nv-sidebarlogo .nv-sidebarlogo-collapsed{display:none}nv-sidebarlogo .nv-sidebarlogo-title{font-size:var(--nv-sidebarlogo-font-size, var(--font-size-md));font-weight:var(--nv-sidebarlogo-font-weight, var(--font-weight-high-emphasis));font-family:var(--nv-sidebarlogo-font-family, inherit);color:var(--color-content-high-text);white-space:nowrap;overflow:hidden;transition:opacity 0.2s ease, max-width 0.3s ease, margin-left 0.3s ease;max-width:200px;opacity:1}nv-sidebar[collapsed] nv-sidebarlogo .nv-sidebarlogo-full{display:none}nv-sidebar[collapsed] nv-sidebarlogo .nv-sidebarlogo-collapsed{display:block}nv-sidebar[collapsed] nv-sidebarlogo .nv-sidebarlogo-title{max-width:0;opacity:0;margin-left:0}nv-sidebar[collapsed] nv-sidebarlogo .nv-sidebarlogo-container{justify-content:center;align-items:center;gap:0;width:100%;min-height:var(--spacing-12);padding:0}";
27479
+ var NvSidebarlogoStyle0 = nvSidebarlogoCss;
27480
+
27481
+ /**
27482
+ * Displays the logo and title at the top of the sidebar.
27483
+ * Automatically switches between full and collapsed logos based on the sidebar state.
27484
+ */
27485
+ class NvSidebarlogo {
27486
+ constructor(hostRef) {
27487
+ registerInstance(this, hostRef);
27488
+ //#endregion PROPERTIES
27489
+ /****************************************************************************/
27490
+ //#region CONSTANTS
27491
+ // Default Nova logo SVG (expanded - icon only, text comes from label prop)
27492
+ this.defaultLogo = 'data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"%3E%3Cstyle%3E.cls-1{fill:%23f0801a;}%3C/style%3E%3Cpath class="cls-1" d="M25.71,2.13l-5.08,11.39c-.39.88-.38,1.92.13,2.73.74,1.17,2.19,1.59,3.42,1.07l14.26-6-3.14-2.27-10.89,4.66c-.15.06-.3-.09-.23-.24l4.34-9.31-2.81-2.03Z"/%3E%3Cpath class="cls-1" d="M4.29,10l9.22,8.4c.71.65,1.7.97,2.63.73,1.34-.34,2.2-1.58,2.09-2.91l-1.22-15.43-3.14,2.27,1.01,11.8c.01.16-.18.26-.3.15l-7.48-7.04-2.81,2.03Z"/%3E%3Cpath class="cls-1" d="M26.95,39.15l-2.59-12.2c-.2-.94-.82-1.78-1.71-2.13-1.29-.51-2.71,0-3.4,1.14l-8.01,13.24h3.87s6.07-10.18,6.07-10.18c.08-.14.3-.1.33.06l1.97,10.08h3.47Z"/%3E%3Cpath class="cls-1" d="M4.85,32.76l10.82-6.19c.83-.48,1.44-1.32,1.5-2.28.09-1.38-.83-2.58-2.13-2.89L0,17.82l1.2,3.68,11.54,2.67c.16.04.19.25.05.33l-9,4.96,1.07,3.3Z"/%3E%3Cpath class="cls-1" d="M40,20.11l-12.4-1.35c-.95-.1-1.94.22-2.56.96-.89,1.07-.84,2.58.03,3.58l10.08,11.74,1.2-3.69-7.77-8.94c-.11-.12,0-.32.16-.3l10.19,1.28,1.07-3.3Z"/%3E%3C/svg%3E';
27493
+ // Default Nova icon (collapsed - same logo but will be displayed smaller)
27494
+ this.defaultCollapsedLogo = 'data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"%3E%3Cstyle%3E.cls-1{fill:%23f0801a;}%3C/style%3E%3Cpath class="cls-1" d="M25.71,2.13l-5.08,11.39c-.39.88-.38,1.92.13,2.73.74,1.17,2.19,1.59,3.42,1.07l14.26-6-3.14-2.27-10.89,4.66c-.15.06-.3-.09-.23-.24l4.34-9.31-2.81-2.03Z"/%3E%3Cpath class="cls-1" d="M4.29,10l9.22,8.4c.71.65,1.7.97,2.63.73,1.34-.34,2.2-1.58,2.09-2.91l-1.22-15.43-3.14,2.27,1.01,11.8c.01.16-.18.26-.3.15l-7.48-7.04-2.81,2.03Z"/%3E%3Cpath class="cls-1" d="M26.95,39.15l-2.59-12.2c-.2-.94-.82-1.78-1.71-2.13-1.29-.51-2.71,0-3.4,1.14l-8.01,13.24h3.87s6.07-10.18,6.07-10.18c.08-.14.3-.1.33.06l1.97,10.08h3.47Z"/%3E%3Cpath class="cls-1" d="M4.85,32.76l10.82-6.19c.83-.48,1.44-1.32,1.5-2.28.09-1.38-.83-2.58-2.13-2.89L0,17.82l1.2,3.68,11.54,2.67c.16.04.19.25.05.33l-9,4.96,1.07,3.3Z"/%3E%3Cpath class="cls-1" d="M40,20.11l-12.4-1.35c-.95-.1-1.94.22-2.56.96-.89,1.07-.84,2.58.03,3.58l10.08,11.74,1.2-3.69-7.77-8.94c-.11-.12,0-.32.16-.3l10.19,1.28,1.07-3.3Z"/%3E%3C/svg%3E';
27495
+ }
27496
+ //#endregion CONSTANTS
27497
+ /****************************************************************************/
27498
+ //#region RENDER
27499
+ render() {
27500
+ const logoSrc = this.logo || this.defaultLogo;
27501
+ const collapsedLogoSrc = this.collapsedLogo || this.defaultCollapsedLogo;
27502
+ return (hAsync(Host, { key: 'ec2aba08293e4def2fe083c311b69cafe005cf5e' }, hAsync("div", { key: '3a24d832a0bb5aa44264fe1fc3091878556649bd', class: "nv-sidebarlogo-container" }, hAsync("img", { key: 'a9a08e7c5dd51902d9ffbda0d9216a4ffb186756', src: logoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-full" }), hAsync("img", { key: 'daef311e11c8d5ee6b823a4896be36ea5bd696cc', src: collapsedLogoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-collapsed" }), this.label && hAsync("span", { key: '9685e4c110e7bb7356f5d49b615105033a32a736', class: "nv-sidebarlogo-title" }, this.label))));
27503
+ }
27504
+ static get style() { return NvSidebarlogoStyle0; }
27505
+ static get cmpMeta() { return {
27506
+ "$flags$": 0,
27507
+ "$tagName$": "nv-sidebarlogo",
27508
+ "$members$": {
27509
+ "label": [513],
27510
+ "logo": [513],
27511
+ "collapsedLogo": [513, "collapsed-logo"]
27512
+ },
27513
+ "$listeners$": undefined,
27514
+ "$lazyBundleId$": "-",
27515
+ "$attrsToReflect$": [["label", "label"], ["logo", "logo"], ["collapsedLogo", "collapsed-logo"]]
27516
+ }; }
27517
+ }
27518
+
27519
+ const nvSidebarnavitemCss = "nv-sidebarnavitem{display:flex;flex-direction:column;gap:0}nv-sidebarnavitem .nv-sidebarnavitem-trigger{display:flex;align-items:center;gap:var(--sidebar-primary-item-gap-x);padding:var(--sidebar-primary-item-padding-y) var(--sidebar-primary-item-padding-x);border-radius:var(--sidebar-primary-item-radius);cursor:pointer;transition:all 0.15s ease;font-size:var(--sidebar-primary-item-font-size);font-weight:var(--font-weight-medium-emphasis);color:var(--color-content-low-text);background:var(--color-interaction-container-neutral-background);text-decoration:none;--nv-component-background:var(--color-interaction-container-neutral-background);--nv-sidebarnavitem-background:var(--color-interaction-container-neutral-background)}nv-sidebarnavitem .nv-sidebarnavitem-trigger:hover{background-color:var(--color-interaction-container-neutral-background-hover);color:var(--color-content-medium-text);--nv-component-background:var(--color-interaction-container-neutral-background-hover);--nv-sidebarnavitem-background:var(--color-interaction-container-neutral-background-hover)}nv-sidebarnavitem .nv-sidebarnavitem-trigger:focus,nv-sidebarnavitem .nv-sidebarnavitem-trigger:focus-within{outline:none}nv-sidebarnavitem .nv-sidebarnavitem-trigger:focus-visible,nv-sidebarnavitem .nv-sidebarnavitem-trigger:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-sidebarnavitem[active] .nv-sidebarnavitem-trigger{background-color:var(--color-interaction-container-neutral-background-active);color:var(--color-interaction-container-neutral-text-active);font-weight:var(--font-weight-medium-emphasis);--nv-component-background:var(--color-interaction-container-neutral-background-active);--nv-sidebarnavitem-background:var(--color-interaction-container-neutral-background-active)}nv-sidebarnavitem .nv-sidebarnavitem-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:inherit;width:var(--sidebar-primary-item-icon-size);height:var(--sidebar-primary-item-icon-size);position:relative}nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-icon{overflow:visible;margin:0;justify-content:center}nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-icon nv-notification-bullet{position:absolute;transform:translate(50%, -50%);z-index:1;--sidebar-primary-notification-bullet-size-reduced:calc(\n var(--sidebar-primary-item-icon-size) * 0.4\n )}nv-sidebarnavitem .nv-sidebarnavitem-content{flex:1;display:flex;align-items:center}nv-sidebarnavitem .nv-sidebarnavitem-content a{color:inherit !important;text-decoration:none !important;font-weight:var(--font-weight-medium-emphasis) !important;flex:1}nv-sidebarnavitem .nv-sidebarnavitem-trailing{display:flex;align-items:center;gap:var(--spacing-2);margin-left:auto}nv-sidebarnavitem .nv-sidebarnavitem-chevron{transition:transform 0.2s ease;color:inherit}nv-sidebarnavitem[open] .nv-sidebarnavitem-chevron{transform:rotate(180deg)}nv-sidebarnavitem .nv-sidebarnavitem-subitems{display:flex;flex-direction:column;gap:0;max-height:0;overflow:hidden;opacity:0;transition:max-height 0.3s ease, opacity 0.2s ease;padding-left:0}nv-sidebarnavitem[open] .nv-sidebarnavitem-subitems{opacity:1;margin-top:var(--spacing-1)}nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-trigger{justify-content:center;gap:0;width:100%}nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-content{display:none}nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-trailing,nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-chevron{display:none}";
27520
+ var NvSidebarnavitemStyle0 = nvSidebarnavitemCss;
27521
+
27522
+ /**
27523
+ * A navigation item in the sidebar. Can be a simple link or a collapsible parent with sub-items.
27524
+ * @slot default - The link or content of the item (usually an <a> tag).
27525
+ * @slot subitems - Sub-navigation items (nv-sidebarnavsubitem elements). Automatically assigned.
27526
+ * @slot trailing - Optional content displayed at the end of the item (e.g., badges, icons, chevron).
27527
+ */
27528
+ class NvSidebarnavitem {
27529
+ constructor(hostRef) {
27530
+ registerInstance(this, hostRef);
27531
+ /**
27532
+ * Whether this item represents the active/current page.
27533
+ * Can be set automatically when a sub-item becomes active.
27534
+ */
27535
+ this.active = false;
27536
+ /**
27537
+ * Whether this item can be collapsed/expanded (has sub-items).
27538
+ */
27539
+ this.collapsible = false;
27540
+ /**
27541
+ * Whether the collapsible item is currently open (showing sub-items).
27542
+ */
27543
+ this.open = false;
27544
+ //#endregion PROPERTIES
27545
+ /****************************************************************************/
27546
+ //#region STATE
27547
+ this.hasSubitems = false;
27548
+ this.isSidebarCollapsed = false;
27549
+ this.wasActiveFromSubitem = false; // Track if active was set by subitem logic
27550
+ //#endregion STATE
27551
+ /****************************************************************************/
27552
+ //#region METHODS
27553
+ this.handleToggle = (event) => {
27554
+ // Ignore clicks that originated from subitems (they bubble up but shouldn't toggle)
27555
+ const target = event.target;
27556
+ if (target.closest('nv-sidebarnavsubitem')) {
27557
+ return; // Let the subitem's link handle navigation normally
27558
+ }
27559
+ // In collapsed sidebar mode, navigate to the main link instead of toggling
27560
+ if (this.isSidebarCollapsed) {
27561
+ // Find the first link that is NOT inside subitems
27562
+ const link = this.el.querySelector('.nv-sidebarnavitem-content a, :scope > a');
27563
+ if (link === null || link === void 0 ? void 0 : link.href) {
27564
+ // Check if click was directly on the link - if so, let it handle naturally
27565
+ if (target.closest('a')) {
27566
+ return;
27567
+ }
27568
+ // Trigger navigation by clicking the link programmatically
27569
+ link.click();
27570
+ }
27571
+ return;
27572
+ }
27573
+ // Only handle toggle for collapsible items when sidebar is expanded
27574
+ if (this.collapsible) {
27575
+ event.preventDefault();
27576
+ event.stopPropagation();
27577
+ this.open = !this.open;
27578
+ }
27579
+ // For non-collapsible items in expanded mode, let the link handle the navigation
27580
+ // Don't prevent default or stop propagation - allow the link to work normally
27581
+ };
27582
+ this.isAnimating = false;
27583
+ this.hasInitializedHeight = false;
27584
+ /** Tracks the last open state that was animated to, to prevent redundant animations */
27585
+ this.lastAnimatedOpenState = null;
27586
+ this.updateSubitemsHeight = (force = false) => {
27587
+ if (!this.subitemsRef)
27588
+ return;
27589
+ // Skip animation if we're already in the target state (prevents animation on active change)
27590
+ // Only animate if:
27591
+ // 1. forced (explicit toggle by user via @Watch)
27592
+ // 2. OR this is the first animation (lastAnimatedOpenState is null)
27593
+ // 3. OR the open state has actually changed since last animation
27594
+ if (!force &&
27595
+ this.lastAnimatedOpenState !== null &&
27596
+ this.lastAnimatedOpenState === this.open) {
27597
+ return;
27598
+ }
27599
+ // Don't re-animate if already animating and not forced
27600
+ if (this.isAnimating && !force) {
27601
+ return;
27602
+ }
27603
+ this.isAnimating = true;
27604
+ this.lastAnimatedOpenState = this.open;
27605
+ if (this.open) {
27606
+ // Calculate real height and animate to it
27607
+ this.subitemsRef.style.transition = 'none';
27608
+ this.subitemsRef.style.maxHeight = '0px';
27609
+ requestAnimationFrame(() => {
27610
+ if (this.subitemsRef) {
27611
+ this.subitemsRef.style.transition =
27612
+ 'max-height 0.3s ease, opacity 0.2s ease';
27613
+ this.subitemsRef.style.maxHeight =
27614
+ this.subitemsRef.scrollHeight + 'px';
27615
+ // Reset animation flag after animation completes
27616
+ setTimeout(() => {
27617
+ this.isAnimating = false;
27618
+ }, 300); // Match animation duration
27619
+ }
27620
+ });
27621
+ }
27622
+ else {
27623
+ // Animate to 0
27624
+ this.subitemsRef.style.transition = 'none';
27625
+ this.subitemsRef.style.maxHeight = this.subitemsRef.scrollHeight + 'px';
27626
+ requestAnimationFrame(() => {
27627
+ if (this.subitemsRef) {
27628
+ this.subitemsRef.style.transition =
27629
+ 'max-height 0.3s ease, opacity 0.2s ease';
27630
+ this.subitemsRef.style.maxHeight = '0px';
27631
+ // Reset animation flag after animation completes
27632
+ setTimeout(() => {
27633
+ this.isAnimating = false;
27634
+ }, 300); // Match animation duration
27635
+ }
27636
+ });
27637
+ }
27638
+ };
27639
+ this.checkSidebarCollapsed = () => {
27640
+ var _a;
27641
+ const sidebar = this.el.closest('nv-sidebar');
27642
+ const wasCollapsed = this.isSidebarCollapsed;
27643
+ this.isSidebarCollapsed = (_a = sidebar === null || sidebar === void 0 ? void 0 : sidebar.hasAttribute('collapsed')) !== null && _a !== void 0 ? _a : false;
27644
+ // When sidebar collapse state changes, update active state based on subitems
27645
+ if (wasCollapsed !== this.isSidebarCollapsed) {
27646
+ this.updateActiveFromSubitems();
27647
+ }
27648
+ };
27649
+ /**
27650
+ * Checks if any sub-item is active and updates parent active state.
27651
+ * - When sidebar is collapsed: if a sub-item is active, parent should be active
27652
+ * - When sidebar is expanded: if a sub-item is active AND parent is not open, parent should be active
27653
+ * (because sub-items are hidden, we need to indicate the parent contains an active child)
27654
+ */
27655
+ this.updateActiveFromSubitems = () => {
27656
+ if (!this.hasSubitems)
27657
+ return;
27658
+ // Find all sub-items
27659
+ const subItems = Array.from(this.el.querySelectorAll('nv-sidebarnavsubitem'));
27660
+ // Check if any sub-item is active
27661
+ const hasActiveSubitem = subItems.some(subItem => subItem.active);
27662
+ if (this.isSidebarCollapsed) {
27663
+ // When sidebar is collapsed AND a sub-item is active, make parent active
27664
+ if (hasActiveSubitem) {
27665
+ this.active = true;
27666
+ this.wasActiveFromSubitem = true;
27667
+ }
27668
+ else {
27669
+ // When collapsed and no sub-item is active, remove active state only if we set it
27670
+ if (this.wasActiveFromSubitem) {
27671
+ this.active = false;
27672
+ this.wasActiveFromSubitem = false;
27673
+ }
27674
+ }
27675
+ }
27676
+ else {
27677
+ // When sidebar is expanded
27678
+ if (hasActiveSubitem && !this.open) {
27679
+ // If a sub-item is active AND parent is not open (sub-items hidden),
27680
+ // make parent active to indicate it contains an active child
27681
+ this.active = true;
27682
+ this.wasActiveFromSubitem = true;
27683
+ }
27684
+ else if (hasActiveSubitem && this.open) {
27685
+ // If a sub-item is active BUT parent is open (sub-items visible),
27686
+ // remove active state from parent (only sub-item should be active)
27687
+ if (this.wasActiveFromSubitem) {
27688
+ this.active = false;
27689
+ this.wasActiveFromSubitem = false;
27690
+ }
27691
+ }
27692
+ else {
27693
+ // No active sub-item, remove active state if we set it
27694
+ if (this.wasActiveFromSubitem) {
27695
+ this.active = false;
27696
+ this.wasActiveFromSubitem = false;
27697
+ }
27698
+ }
27699
+ // Note: activePath logic in nv-sidebar can also manage parent active state
27700
+ // (when parent href matches activePath exactly)
27701
+ }
27702
+ };
27703
+ }
27704
+ //#endregion METHODS
27705
+ /****************************************************************************/
27706
+ //#region LIFECYCLE
27707
+ componentWillLoad() {
27708
+ // Check if there are sub-items in any slot
27709
+ const subItems = Array.from(this.el.children).filter(child => child.tagName.toLowerCase() === 'nv-sidebarnavsubitem');
27710
+ this.hasSubitems = subItems.length > 0;
27711
+ // Move sub-items to the subitems slot
27712
+ if (this.hasSubitems) {
27713
+ subItems.forEach(item => {
27714
+ item.setAttribute('slot', 'subitems');
27715
+ });
27716
+ }
27717
+ // Check sidebar collapsed state
27718
+ this.checkSidebarCollapsed();
27719
+ // Watch for sidebar state changes
27720
+ const sidebar = this.el.closest('nv-sidebar');
27721
+ if (sidebar) {
27722
+ this.mutationObserver = new MutationObserver(() => {
27723
+ this.checkSidebarCollapsed();
27724
+ });
27725
+ this.mutationObserver.observe(sidebar, {
27726
+ attributes: true,
27727
+ attributeFilter: ['collapsed'],
27728
+ });
27729
+ }
27730
+ // Watch for sub-items active state changes
27731
+ if (this.hasSubitems) {
27732
+ // Observe the subitems container for changes (including new sub-items being added)
27733
+ // Using subtree: true to catch all attribute changes in descendants
27734
+ const subitemsContainer = this.el.querySelector('.nv-sidebarnavitem-subitems');
27735
+ if (subitemsContainer) {
27736
+ this.subitemsMutationObserver = new MutationObserver(() => {
27737
+ this.updateActiveFromSubitems();
27738
+ });
27739
+ // Observe the container for child list changes and attribute changes in descendants
27740
+ this.subitemsMutationObserver.observe(subitemsContainer, {
27741
+ childList: true,
27742
+ subtree: true,
27743
+ attributes: true,
27744
+ attributeFilter: ['active'],
27745
+ });
27746
+ }
27747
+ else {
27748
+ // If container doesn't exist yet (not collapsible or not rendered), observe the element itself
27749
+ // This handles cases where sub-items are direct children
27750
+ this.subitemsMutationObserver = new MutationObserver(() => {
27751
+ this.updateActiveFromSubitems();
27752
+ });
27753
+ this.subitemsMutationObserver.observe(this.el, {
27754
+ childList: true,
27755
+ subtree: true,
27756
+ attributes: true,
27757
+ attributeFilter: ['active'],
27758
+ });
27759
+ }
27760
+ }
27761
+ // Initial check for active subitems
27762
+ this.updateActiveFromSubitems();
27763
+ }
27764
+ disconnectedCallback() {
27765
+ if (this.mutationObserver) {
27766
+ this.mutationObserver.disconnect();
27767
+ }
27768
+ if (this.subitemsMutationObserver) {
27769
+ this.subitemsMutationObserver.disconnect();
27770
+ }
27771
+ }
27772
+ //#endregion LIFECYCLE
27773
+ /****************************************************************************/
27774
+ //#region WATCHERS
27775
+ onOpenChanged(newValue, oldValue) {
27776
+ // Only animate if the value actually changed (prevents false triggers from React re-renders)
27777
+ if (newValue === oldValue) {
27778
+ return;
27779
+ }
27780
+ // Force update when open state changes (user clicked toggle)
27781
+ this.updateSubitemsHeight(true);
27782
+ // Update active state based on subitems when open state changes
27783
+ this.updateActiveFromSubitems();
27784
+ }
27785
+ //#endregion WATCHERS
27786
+ /****************************************************************************/
27787
+ //#region RENDER
27788
+ render() {
27789
+ const showNotificationBullet = this.notificationCount !== undefined && this.notificationCount > 0;
27790
+ const notificationSize = this.isSidebarCollapsed ? 'reduced' : 'default';
27791
+ return (hAsync(Host, { key: 'c0c9c63cb295441389b5ced9a4b0a0d5a1af99cd', role: "listitem" }, hAsync("div", { key: '6673c3f4c14762bff8512ecc430febddfa74b307', class: "nv-sidebarnavitem-trigger", onClick: this.handleToggle, "aria-expanded": this.collapsible ? String(this.open) : undefined, "aria-current": this.active && !this.collapsible ? 'page' : undefined }, this.icon && (hAsync("div", { key: '25f703e9fb7375b8b562be54f080120ae037dd9f', class: "nv-sidebarnavitem-icon" }, hAsync("nv-icon", { key: '1a4e345c90afcec159890db6c6b0e22d53dd673d', name: this.icon, size: "md" }), showNotificationBullet && this.isSidebarCollapsed && (hAsync("nv-notification-bullet", { key: '15b69d1a2325daed7d6583ed10906fe4e91809e5', count: this.notificationCount, size: notificationSize, contrastingBorder: true })))), hAsync("div", { key: 'c717c09f39eab07616de419a35b11a5b7dfce5d1', class: "nv-sidebarnavitem-content" }, hAsync("slot", { key: '9f8687f151fd082a6737e7fbe6036cc3ebff3cc2' })), hAsync("div", { key: 'b2c3d7a4c30ce96273731a05a1d361f5654582de', class: "nv-sidebarnavitem-trailing" }, hAsync("slot", { key: 'acf2dddbbbc7d2e83703c731a244237e0dc81153', name: "trailing" }), showNotificationBullet && !this.isSidebarCollapsed && (hAsync("nv-notification-bullet", { key: 'adca5c7418a3b58afa5ef21ddd3fa9b2d880a56c', count: this.notificationCount, size: notificationSize })), this.collapsible && (hAsync("nv-icon", { key: 'a4a4369d4ba76f567cca439d1b4c7e95ad5ba98c', name: "chevron-down", size: "sm", class: "nv-sidebarnavitem-chevron" })))), this.collapsible && this.hasSubitems && (hAsync("div", { key: '2d4fadb0b547eb369a702bb8210b3312dde505b2', class: "nv-sidebarnavitem-subitems", ref: el => {
27792
+ // Only update ref and initialize if element changed or not yet initialized
27793
+ if (el !== this.subitemsRef) {
27794
+ this.subitemsRef = el;
27795
+ if (el && !this.hasInitializedHeight) {
27796
+ // Initialize height only on first mount, not on re-renders
27797
+ this.hasInitializedHeight = true;
27798
+ requestAnimationFrame(() => {
27799
+ // Only animate if item is open, otherwise it will animate when opened
27800
+ if (this.open) {
27801
+ this.updateSubitemsHeight();
27802
+ }
27803
+ });
27804
+ }
27805
+ }
27806
+ } }, hAsync("slot", { key: 'f0ffb970aa2d84580205ba110858d3f1c27875a3', name: "subitems" })))));
27807
+ }
27808
+ get el() { return getElement(this); }
27809
+ static get watchers() { return {
27810
+ "open": ["onOpenChanged"]
27811
+ }; }
27812
+ static get style() { return NvSidebarnavitemStyle0; }
27813
+ static get cmpMeta() { return {
27814
+ "$flags$": 4,
27815
+ "$tagName$": "nv-sidebarnavitem",
27816
+ "$members$": {
27817
+ "icon": [513],
27818
+ "active": [1540],
27819
+ "collapsible": [516],
27820
+ "open": [1540],
27821
+ "notificationCount": [514, "notification-count"],
27822
+ "hasSubitems": [32],
27823
+ "isSidebarCollapsed": [32]
27824
+ },
27825
+ "$listeners$": undefined,
27826
+ "$lazyBundleId$": "-",
27827
+ "$attrsToReflect$": [["icon", "icon"], ["active", "active"], ["collapsible", "collapsible"], ["open", "open"], ["notificationCount", "notification-count"]]
27828
+ }; }
27829
+ }
27830
+
27831
+ const nvSidebarnavsubitemCss = "nv-sidebarnavsubitem{display:flex;align-items:center;gap:var(--spacing-2);padding:var(--spacing-2) var(--spacing-3) var(--spacing-2) var(--list-dropdown-sub-item-padding-left);cursor:pointer;transition:all 0.15s ease;position:relative;min-height:var(--spacing-10);background-color:var(--color-interaction-container-neutral-background);border-radius:var(--sidebar-primary-item-radius);--nv-component-background:var(--color-interaction-container-neutral-background)}nv-sidebarnavsubitem:hover{background-color:var(--color-interaction-container-neutral-background-hover);--nv-component-background:var(--color-interaction-container-neutral-background-hover)}nv-sidebarnavsubitem:focus,nv-sidebarnavsubitem:focus-within{outline:none}nv-sidebarnavsubitem:focus-visible,nv-sidebarnavsubitem:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-sidebarnavsubitem .nv-sidebarnavsubitem-indicator{display:none}nv-sidebarnavsubitem .nv-sidebarnavsubitem-content{flex:1;display:flex;align-items:center;gap:var(--spacing-2);font-size:var(--font-size-sm);color:var(--color-content-medium-text);text-decoration:none;font-weight:var(--font-weight-medium-emphasis)}nv-sidebarnavsubitem .nv-sidebarnavsubitem-content a{color:inherit !important;text-decoration:none !important;font-weight:var(--font-weight-medium-emphasis) !important;flex:1}nv-sidebarnavsubitem:hover .nv-sidebarnavsubitem-content{color:var(--color-content-medium-text)}nv-sidebarnavsubitem[active]{background-color:var(--color-interaction-container-neutral-background-active);--nv-component-background:var(--color-interaction-container-neutral-background-active)}nv-sidebarnavsubitem[active] .nv-sidebarnavsubitem-content{color:var(--color-orange-600);font-weight:var(--font-weight-high-emphasis)}nv-sidebarnavsubitem .nv-sidebarnavsubitem-trailing{display:flex;align-items:center}nv-sidebar[collapsed] nv-sidebarnavsubitem .nv-sidebarnavsubitem-content{max-width:0;opacity:0;margin:0;overflow:hidden;transition:opacity 0.2s ease, max-width 0.2s ease}nv-sidebar[collapsed] nv-sidebarnavsubitem .nv-sidebarnavsubitem-indicator{margin-right:0;width:var(--spacing-6);justify-content:center}nv-sidebar[collapsed] nv-sidebarnavsubitem .nv-sidebarnavsubitem-trailing{display:none}";
27832
+ var NvSidebarnavsubitemStyle0 = nvSidebarnavsubitemCss;
27833
+
27834
+ /**
27835
+ * A sub-item in the sidebar navigation, typically used as a child of nv-sidebarnavitem.
27836
+ * @slot default - The link or content of the sub-item (usually an <a> tag).
27837
+ * @slot trailing - Optional content displayed at the end of the sub-item (e.g., badges, icons).
27838
+ */
27839
+ class NvSidebarnavsubitem {
27840
+ constructor(hostRef) {
27841
+ registerInstance(this, hostRef);
27842
+ /****************************************************************************/
27843
+ //#region PROPERTIES
27844
+ /**
27845
+ * Whether this sub-item represents the active/current page.
27846
+ */
27847
+ this.active = false;
27848
+ }
27849
+ //#endregion PROPERTIES
27850
+ /****************************************************************************/
27851
+ //#region METHODS
27852
+ // Note: We no longer use stopPropagation() here because it prevents React Router
27853
+ // (and other SPA routers) from receiving the click event due to event delegation.
27854
+ // Instead, the parent nv-sidebarnavitem checks if clicks originate from subitems.
27855
+ //#endregion METHODS
27856
+ /****************************************************************************/
27857
+ //#region RENDER
27858
+ render() {
27859
+ return (hAsync(Host, { key: '8ae8c5e2038145bd458a35d237495a06fde97294', role: "listitem", "aria-current": this.active ? 'page' : undefined }, hAsync("div", { key: '559a99d72973f7af43091c5c920e77d8cad3944c', class: "nv-sidebarnavsubitem-indicator" }), hAsync("div", { key: '204c7ad681d51310f43b618ef14a12d0ccc93ddc', class: "nv-sidebarnavsubitem-content" }, hAsync("slot", { key: 'f4717aee216fbeac4dbfe0d98b34fe7e83476701' })), hAsync("div", { key: 'b5db84c75ae4e51d8a048000a49697eaf4b20f1d', class: "nv-sidebarnavsubitem-trailing" }, hAsync("slot", { key: 'b6d0afcd6b4ace60b32f531f414b70aba513a274', name: "trailing" }))));
27860
+ }
27861
+ static get style() { return NvSidebarnavsubitemStyle0; }
27862
+ static get cmpMeta() { return {
27863
+ "$flags$": 4,
27864
+ "$tagName$": "nv-sidebarnavsubitem",
27865
+ "$members$": {
27866
+ "active": [516]
27867
+ },
27868
+ "$listeners$": undefined,
27869
+ "$lazyBundleId$": "-",
27870
+ "$attrsToReflect$": [["active", "active"]]
27871
+ }; }
27872
+ }
27873
+
27027
27874
  const nvSplitCss = "nv-split{display:flex;width:100%;height:100%;position:relative}nv-split[direction=horizontal]{flex-direction:row}nv-split[direction=vertical]{flex-direction:column}nv-split .nv-split-gutter{position:absolute;z-index:10;background:transparent;display:flex;align-items:center;justify-content:center;flex:0 0 auto;transition:background-color 0.2s ease}nv-split .nv-split-gutter::after{content:\"\";position:absolute;background:var(--nv-color-neutral-400, #ccc);border-radius:2px;transition:background-color 0.2s ease}nv-split .nv-split-gutter:hover::after{background:var(--nv-color-brand-primary, #0066cc)}nv-split .nv-split-gutter::before{content:\"\";position:absolute;background-repeat:no-repeat;background-position:center;opacity:0.4;transition:opacity 0.2s ease;pointer-events:none}nv-split .nv-split-gutter:hover::before{opacity:0.7}nv-split[direction=horizontal]>.nv-split-gutter{width:var(--nv-split-gutter-size, 24px);top:0;bottom:0;transform:translateX(-50%);cursor:col-resize}nv-split[direction=horizontal]>.nv-split-gutter::after{width:2px;height:60%;left:50%;top:20%;transform:translateX(-50%)}nv-split[direction=horizontal]>.nv-split-gutter::before{width:16px;height:16px}nv-split[direction=vertical]>.nv-split-gutter{height:var(--nv-split-gutter-size, 24px);left:0;right:0;transform:translateY(-50%);cursor:row-resize}nv-split[direction=vertical]>.nv-split-gutter::after{height:2px;width:60%;top:50%;left:20%;transform:translateY(-50%)}nv-split[direction=vertical]>.nv-split-gutter::before{width:16px;height:16px}nv-split[data-dragging=true]>.nv-split-gutter::after{background:var(--nv-color-neutral-500, #9ca3af)}nv-split>[slot=pane]{flex:1 1 auto;overflow:hidden;min-width:0;min-height:0;display:flex;flex-direction:column}nv-split>[slot=pane]>nv-split{flex:1 1 auto;width:100%;height:100%}";
27028
27875
  var NvSplitStyle0 = nvSplitCss;
27029
27876
 
@@ -27349,7 +28196,7 @@ class NvSplit {
27349
28196
  /****************************************************************************/
27350
28197
  //#region RENDER
27351
28198
  render() {
27352
- return (hAsync(Host, { key: 'd0bcb4330d157fa239289fa7176c502bfe01d0b8', "data-dragging": this.isDragging.toString() }, hAsync("slot", { key: '490799f805f0833e5a33b480e205c8deb65f215b', name: "pane" }), hAsync("slot", { key: '69d05ed6f6bbeac1f123ac100c753cf78ced3f08', name: "gutter" })));
28199
+ return (hAsync(Host, { key: 'df6a2141e14d1f691af162d1eae2e2763ffad014', "data-dragging": this.isDragging.toString() }, hAsync("slot", { key: 'ce9d941bc73fa6e12161f334d4cd86e9045f6271', name: "pane" }), hAsync("slot", { key: 'a70c14b0989a758ad35dc3c611563f7d03be0d02', name: "gutter" })));
27353
28200
  }
27354
28201
  get el() { return getElement(this); }
27355
28202
  static get watchers() { return {
@@ -27399,7 +28246,7 @@ class NvStack {
27399
28246
  /****************************************************************************/
27400
28247
  //#region RENDER
27401
28248
  render() {
27402
- return (hAsync(Host, { key: '8f771805224c769b5a87f5c550ddbcb8f888d002', class: clsx(this.fill && 'nv-stack-fill', this.flex && 'nv-stack-flex', this.full && 'w-full', this.gutter && !this.vertical && `gap-x-${this.gutter}`, this.gutter && this.vertical && `gap-y-${this.gutter}`, this.vertical && 'nv-stack-vertical') }, hAsync("slot", { key: '6fcd46cfd74415d2f07c762b065e3aa0f0194764' })));
28249
+ return (hAsync(Host, { key: 'fbdaf5b2fb134b050883a512b4aeb96b070017c1', class: clsx(this.fill && 'nv-stack-fill', this.flex && 'nv-stack-flex', this.full && 'w-full', this.gutter && !this.vertical && `gap-x-${this.gutter}`, this.gutter && this.vertical && `gap-y-${this.gutter}`, this.vertical && 'nv-stack-vertical') }, hAsync("slot", { key: '6c7c231b8ff2575a1b509539d227468629fae6ab' })));
27403
28250
  }
27404
28251
  static get style() { return NvStackStyle0; }
27405
28252
  static get cmpMeta() { return {
@@ -27653,7 +28500,7 @@ class NvTable {
27653
28500
  /****************************************************************************/
27654
28501
  //#region RENDER
27655
28502
  render() {
27656
- return (hAsync(Host, { key: 'b63510e2da93a1b98eb3813ba7ac9bed97b81c1f' }, hAsync("slot", { key: '14fb76c397db4da5dfba94bce599d1e4d8992a6b' })));
28503
+ return (hAsync(Host, { key: 'ec194bed7ec58642be9f6b52a737e2f9375a152e' }, hAsync("slot", { key: '009ce0f20491156ca93141c85683f0be499a9938' })));
27657
28504
  }
27658
28505
  get host() { return getElement(this); }
27659
28506
  static get style() { return NvTableStyle0; }
@@ -27728,7 +28575,7 @@ class NvTableheader {
27728
28575
  /****************************************************************************/
27729
28576
  //#region RENDER
27730
28577
  render() {
27731
- return (hAsync(Host, { key: 'ff2fc290253d468d2d139afdc708b012258b3f31', role: "columnheader", "aria-sort": this.ariaSort, tabindex: this.sortable ? 0 : undefined, onKeyDown: this.handleKeyDown.bind(this), onClick: this.cycleSortDirection.bind(this) }, hAsync("slot", { key: '3c70c590cc33ca2d722dbc3313c9e10583bfa631' }), this.sortable && (hAsync("span", { key: '219a872d53157545302495cec6844d55b5026e00', class: "sort-icon-wrap", "aria-hidden": "true" }, hAsync("nv-iconbutton", { key: 'd39698493a8504bb7e2af6fa52ac4c548b91bf40', disableTabindex: true, name: "arrow-up", size: "xs", emphasis: this.sortDirection === 'none' ? 'lower' : 'low',
28578
+ return (hAsync(Host, { key: '6719336a9812b1d1abd161b955b841c1459fb584', role: "columnheader", "aria-sort": this.ariaSort, tabindex: this.sortable ? 0 : undefined, onKeyDown: this.handleKeyDown.bind(this), onClick: this.cycleSortDirection.bind(this) }, hAsync("slot", { key: 'd559e3b7c74f6dcf8197e2d082310660a23291d6' }), this.sortable && (hAsync("span", { key: '540c8c8cf3cccac47a3ece7d9be4e97c4e283690', class: "sort-icon-wrap", "aria-hidden": "true" }, hAsync("nv-iconbutton", { key: 'ac713c7af3b5b2e452f02d0d77cb64398b0febd4', disableTabindex: true, name: "arrow-up", size: "xs", emphasis: this.sortDirection === 'none' ? 'lower' : 'low',
27732
28579
  // prevent mousedown from selecting text
27733
28580
  onMouseDown: (e) => e.preventDefault(), class: {
27734
28581
  'is-none': this.sortDirection === 'none',
@@ -27813,8 +28660,8 @@ class NvToggle {
27813
28660
  /****************************************************************************/
27814
28661
  //#region RENDER
27815
28662
  render() {
27816
- return (hAsync(Host, { key: '8e5b801ed4263b02b9b00628e94de448986eca98', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, hAsync("div", { key: 'b25ed406fae37d41f1c1fbe4234ded3f94db14b0', class: "input-container" }, hAsync("input", { key: '5a98b81705597f2a115517b6031289ee9be54bda', 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: '89366dfe5c0106d7e28a858745941f0358220ce7', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '3f0192378adbd8d5d5f5f5684d1e929462d7832b', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, hAsync("slot", { key: 'ee95958740e62af025bc4a456fe1b9f12b9aac71', name: "label" }, this.label))), (this.description ||
27817
- this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'eee5a91ccbe1eed1d2ce41c0ce08cf8b49440501', class: "description" }, hAsync("slot", { key: 'a925c57db61229d032412e315ff1f738a479b090', name: "description" }, this.description))))));
28663
+ return (hAsync(Host, { key: '1a217a31999750cb1c8f26af5407ef2d7277600c', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, hAsync("div", { key: '35e39e8df6475ffa41cd8b811948454ba956e814', class: "input-container" }, hAsync("input", { key: '359a584d868d37affcb7b5fe5c24fef71eae209e', 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: '3bc4c7d7ef8bca23391ede4b08eb596bab68289a', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (hAsync("label", { key: '61be38f883222b69807c0e8b8540f6ad20ed0cf4', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, hAsync("slot", { key: 'e5ad1f81fc6e98794931b5e6dc811d9cc6aa9c73', name: "label" }, this.label))), (this.description ||
28664
+ this.el.querySelector('[slot="description"]')) && (hAsync("div", { key: 'f1f0d41c28be40b24e17d9f6f29224fbb2f9f05e', class: "description" }, hAsync("slot", { key: '5418c3c3195045200e9ad0eb4bc6438eee453fd9', name: "description" }, this.description))))));
27818
28665
  }
27819
28666
  static get formAssociated() { return true; }
27820
28667
  get el() { return getElement(this); }
@@ -27890,7 +28737,7 @@ class NvTogglebutton {
27890
28737
  /****************************************************************************/
27891
28738
  //#region RENDER
27892
28739
  render() {
27893
- return (hAsync(Host, { key: 'a36d2ac3ed287145dae1812e8488313e7509b979', role: "button", tabindex: "0", "aria-pressed": String(this.active), onClick: this.handleClick }, hAsync("slot", { key: '463f95e6e68148d94047e8b71c99c449dccffbd6' })));
28740
+ return (hAsync(Host, { key: '35199476bd724fe4a6b4dde51b7822bed5c374ff', role: "button", tabindex: "0", "aria-pressed": String(this.active), onClick: this.handleClick }, hAsync("slot", { key: '864cf0f2550b66b0b34c4f779086d4b4847732e6' })));
27894
28741
  }
27895
28742
  static get style() { return NvTogglebuttonStyle0; }
27896
28743
  static get cmpMeta() { return {
@@ -28064,7 +28911,7 @@ class NvTogglebuttongroup {
28064
28911
  /****************************************************************************/
28065
28912
  //#region RENDER
28066
28913
  render() {
28067
- return (hAsync(Host, { key: '02b7814ffceeaa875edcbce4ebdd6465b24abf62' }, hAsync("slot", { key: '89c9387a50ec0c1c660e490b66742be96e6f6b3e' })));
28914
+ return (hAsync(Host, { key: 'b7c5cb46244f10a93330dc601d0347e3cb53c276' }, hAsync("slot", { key: '0808ec94f479f52f60b50ac14ce1a4eb989e5778' })));
28068
28915
  }
28069
28916
  get el() { return getElement(this); }
28070
28917
  static get watchers() { return {
@@ -28135,7 +28982,7 @@ class NvTooltip {
28135
28982
  /****************************************************************************/
28136
28983
  //#region RENDER
28137
28984
  render() {
28138
- return (hAsync(Host, { key: '2ec10db6ad78e1637696e383069caf3fc8919587' }, hAsync("slot", { key: '0df02ac8d76de82ae25ec3d9c73ef18cd6eee4d8' }), hAsync("nv-popover", { key: '1ed0766ed0c3d43952be2be0dbafd94f07ec44b3', triggerMode: "hover", hasArrow: true, placement: this.placement, strategy: this.strategy, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay }, hAsync("p", { key: 'bd44fba212d86969688bdf3e00a711f152500952', slot: "content" }, this.message), hAsync("slot", { key: '31f2c47d800e4bd057c7475de931e11542eb5208', name: "content" }))));
28985
+ return (hAsync(Host, { key: 'ff1ca24735ec78d279cdc2f98cb54c0d6a7b4103' }, hAsync("slot", { key: '3e0676a49b957ecb6eb3e0e6bfc1d8d8f0d2e02a' }), hAsync("nv-popover", { key: '063fb414e47a1a6b722ee8b61f3dd68a61c5b7df', triggerMode: "hover", hasArrow: true, placement: this.placement, strategy: this.strategy, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay }, hAsync("p", { key: 'a8714211a3a5c723d187acdcb23484610bd91a36', slot: "content" }, this.message), hAsync("slot", { key: 'edae83eb3c0f5c57b9b7263ccc139463b044f68e', name: "content" }))));
28139
28986
  }
28140
28987
  get el() { return getElement(this); }
28141
28988
  static get style() { return NvTooltipStyle0; }
@@ -28193,9 +29040,19 @@ registerComponents([
28193
29040
  NvMenu,
28194
29041
  NvMenuitem,
28195
29042
  NvNotification,
29043
+ NvNotificationBullet,
28196
29044
  NvNotificationContainer,
28197
29045
  NvPopover,
28198
29046
  NvRow,
29047
+ NvSidebar,
29048
+ NvSidebarcontent,
29049
+ NvSidebardivider,
29050
+ NvSidebarfooter,
29051
+ NvSidebargroup,
29052
+ NvSidebarheader,
29053
+ NvSidebarlogo,
29054
+ NvSidebarnavitem,
29055
+ NvSidebarnavsubitem,
28199
29056
  NvSplit,
28200
29057
  NvStack,
28201
29058
  NvTable,