@nova-design-system/nova-webcomponents 3.27.0 → 3.29.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 (494) hide show
  1. package/dist/cjs/{index-Cfkoz1kc.js → index-eLt3bBQs.js} +13 -1
  2. package/dist/cjs/index.cjs.js +6 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/native.cjs.js +2 -2
  5. package/dist/cjs/nova-datetime-DOtVgYBB.js +10643 -0
  6. package/dist/cjs/nv-accordion-item.cjs.entry.js +3 -3
  7. package/dist/cjs/nv-accordion.cjs.entry.js +1 -1
  8. package/dist/cjs/nv-alert.cjs.entry.js +2 -2
  9. package/dist/cjs/nv-avatar.cjs.entry.js +1 -1
  10. package/dist/cjs/nv-badge_2.cjs.entry.js +8 -7
  11. package/dist/cjs/nv-breadcrumb.cjs.entry.js +1 -1
  12. package/dist/cjs/nv-breadcrumbs.cjs.entry.js +1 -1
  13. package/dist/cjs/nv-button.cjs.entry.js +1 -1
  14. package/dist/cjs/nv-buttongroup.cjs.entry.js +1 -1
  15. package/dist/cjs/nv-calendar.cjs.entry.js +1 -1
  16. package/dist/cjs/nv-col.cjs.entry.js +2 -2
  17. package/dist/cjs/nv-datagrid.cjs.entry.js +1 -1
  18. package/dist/cjs/nv-datagridcolumn.cjs.entry.js +1 -1
  19. package/dist/cjs/nv-datetest.cjs.entry.js +66 -0
  20. package/dist/cjs/nv-datetimetest.cjs.entry.js +54 -0
  21. package/dist/cjs/nv-dialog.cjs.entry.js +2 -2
  22. package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +7 -5
  23. package/dist/cjs/nv-drawer.cjs.entry.js +2 -2
  24. package/dist/cjs/nv-drawerfooter_2.cjs.entry.js +5 -3
  25. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +5 -5
  26. package/dist/cjs/nv-fielddate.cjs.entry.js +8 -8
  27. package/dist/cjs/nv-fielddaterange.cjs.entry.js +8 -8
  28. package/dist/cjs/nv-fielddropdown.cjs.entry.js +6 -6
  29. package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +2 -2
  30. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +115 -86
  31. package/dist/cjs/nv-fieldnumber.cjs.entry.js +6 -6
  32. package/dist/cjs/nv-fieldpassword.cjs.entry.js +6 -6
  33. package/dist/cjs/nv-fieldradio.cjs.entry.js +4 -4
  34. package/dist/cjs/nv-fieldselect.cjs.entry.js +7 -7
  35. package/dist/cjs/nv-fieldslider.cjs.entry.js +4 -4
  36. package/dist/cjs/nv-fieldtext.cjs.entry.js +6 -6
  37. package/dist/cjs/nv-fieldtextarea.cjs.entry.js +5 -5
  38. package/dist/cjs/nv-fieldtime.cjs.entry.js +15 -12
  39. package/dist/cjs/nv-icon.cjs.entry.js +3 -3
  40. package/dist/cjs/nv-iconbutton_2.cjs.entry.js +3 -3
  41. package/dist/cjs/nv-menu.cjs.entry.js +2 -2
  42. package/dist/cjs/nv-menuitem.cjs.entry.js +2 -2
  43. package/dist/cjs/nv-notification-bullet.cjs.entry.js +1 -1
  44. package/dist/cjs/nv-notification.cjs.entry.js +2 -2
  45. package/dist/cjs/nv-notificationcontainer.cjs.entry.js +2 -14
  46. package/dist/cjs/nv-pagination-nav.cjs.entry.js +2 -2
  47. package/dist/cjs/nv-paginationtable.cjs.entry.js +2 -2
  48. package/dist/cjs/nv-popover.cjs.entry.js +2 -2
  49. package/dist/cjs/nv-row.cjs.entry.js +2 -2
  50. package/dist/cjs/nv-sidebar.cjs.entry.js +2 -2
  51. package/dist/cjs/nv-sidebarcontent.cjs.entry.js +2 -2
  52. package/dist/cjs/nv-sidebardivider.cjs.entry.js +2 -2
  53. package/dist/cjs/nv-sidebarfooter.cjs.entry.js +2 -2
  54. package/dist/cjs/nv-sidebargroup.cjs.entry.js +2 -2
  55. package/dist/cjs/nv-sidebarheader.cjs.entry.js +2 -2
  56. package/dist/cjs/nv-sidebarlogo.cjs.entry.js +2 -2
  57. package/dist/cjs/nv-sidebarnavitem.cjs.entry.js +3 -3
  58. package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js +2 -2
  59. package/dist/cjs/nv-split.cjs.entry.js +2 -2
  60. package/dist/cjs/nv-stack.cjs.entry.js +2 -2
  61. package/dist/cjs/nv-table.cjs.entry.js +3 -3
  62. package/dist/cjs/nv-tableheader.cjs.entry.js +2 -2
  63. package/dist/cjs/nv-timetest.cjs.entry.js +72 -0
  64. package/dist/cjs/nv-toggle.cjs.entry.js +3 -3
  65. package/dist/cjs/nv-togglebutton.cjs.entry.js +2 -2
  66. package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +2 -2
  67. package/dist/cjs/nv-tooltip.cjs.entry.js +9 -4
  68. package/dist/collection/collection-manifest.json +3 -0
  69. package/dist/collection/components/nv-accordion/nv-accordion.docs.js +1 -0
  70. package/dist/collection/components/nv-accordion-item/nv-accordion-item.docs.js +69 -1
  71. package/dist/collection/components/nv-accordion-item/nv-accordion-item.js +2 -2
  72. package/dist/collection/components/nv-alert/nv-alert.docs.js +1 -0
  73. package/dist/collection/components/nv-alert/nv-alert.js +15 -5
  74. package/dist/collection/components/nv-avatar/nv-avatar.docs.js +1 -0
  75. package/dist/collection/components/nv-badge/nv-badge.docs.js +1 -0
  76. package/dist/collection/components/nv-badge/nv-badge.js +32 -11
  77. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.docs.js +36 -1
  78. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.docs.js +1 -0
  79. package/dist/collection/components/nv-button/nv-button.docs.js +1 -0
  80. package/dist/collection/components/nv-buttongroup/nv-buttongroup.docs.js +1 -0
  81. package/dist/collection/components/nv-calendar/nv-calendar.docs.js +1 -0
  82. package/dist/collection/components/nv-col/nv-col.docs.js +2 -0
  83. package/dist/collection/components/nv-col/nv-col.js +2 -1
  84. package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js +3 -2
  85. package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.docs.js +25 -1
  86. package/dist/collection/components/nv-datetest/nv-datetest.css +15 -0
  87. package/dist/collection/components/nv-datetest/nv-datetest.docs.js +12 -0
  88. package/dist/collection/components/nv-datetest/nv-datetest.js +242 -0
  89. package/dist/collection/components/nv-datetimetest/nv-datetimetest.css +15 -0
  90. package/dist/collection/components/nv-datetimetest/nv-datetimetest.docs.js +5 -0
  91. package/dist/collection/components/nv-datetimetest/nv-datetimetest.js +197 -0
  92. package/dist/collection/components/nv-dialog/nv-dialog.docs.js +1 -0
  93. package/dist/collection/components/nv-dialog/nv-dialog.js +1 -1
  94. package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.docs.js +9 -1
  95. package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +35 -13
  96. package/dist/collection/components/nv-dialogheader/nv-dialogheader.docs.js +9 -1
  97. package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
  98. package/dist/collection/components/nv-drawer/nv-drawer.docs.js +1 -0
  99. package/dist/collection/components/nv-drawer/nv-drawer.js +1 -1
  100. package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.docs.js +9 -1
  101. package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.js +31 -9
  102. package/dist/collection/components/nv-drawerheader/nv-drawerheader.docs.js +9 -1
  103. package/dist/collection/components/nv-drawerheader/nv-drawerheader.js +1 -1
  104. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.js +1 -0
  105. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
  106. package/dist/collection/components/nv-fielddate/nv-fielddate.docs.js +1 -0
  107. package/dist/collection/components/nv-fielddate/nv-fielddate.js +6 -6
  108. package/dist/collection/components/nv-fielddate/styles/nv-fielddate.css +3 -0
  109. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.docs.js +1 -0
  110. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +6 -6
  111. package/dist/collection/components/nv-fielddaterange/styles/nv-fielddaterange.css +3 -0
  112. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +1 -0
  113. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +4 -4
  114. package/dist/collection/components/nv-fielddropdown/styles/nv-fielddropdown.css +3 -0
  115. package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.docs.js +54 -1
  116. package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
  117. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.css +1 -1
  118. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.docs.js +42 -1
  119. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
  120. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js +1 -0
  121. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js +119 -84
  122. package/dist/collection/components/nv-fieldmultiselect/styles/nv-fieldmultiselect.css +13 -2
  123. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.css +3 -0
  124. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js +1 -0
  125. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +4 -4
  126. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.css +3 -0
  127. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js +1 -0
  128. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +4 -4
  129. package/dist/collection/components/nv-fieldradio/nv-fieldradio.docs.js +1 -0
  130. package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
  131. package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js +1 -0
  132. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
  133. package/dist/collection/components/nv-fieldselect/styles/nv-fieldselect.css +3 -0
  134. package/dist/collection/components/nv-fieldslider/nv-fieldslider.docs.js +1 -0
  135. package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
  136. package/dist/collection/components/nv-fieldtext/nv-fieldtext.css +3 -0
  137. package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js +3 -1
  138. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +4 -4
  139. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.css +3 -0
  140. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js +1 -0
  141. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
  142. package/dist/collection/components/nv-fieldtime/nv-fieldtime.docs.js +1 -0
  143. package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +13 -10
  144. package/dist/collection/components/nv-fieldtime/styles/nv-fieldtime.css +3 -0
  145. package/dist/collection/components/nv-icon/nv-icon.docs.js +1 -0
  146. package/dist/collection/components/nv-icon/nv-icon.js +7 -4
  147. package/dist/collection/components/nv-icon/nv-icons.js +4 -0
  148. package/dist/collection/components/nv-iconbutton/nv-iconbutton.docs.js +1 -0
  149. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +7 -4
  150. package/dist/collection/components/nv-loader/nv-loader.docs.js +1 -0
  151. package/dist/collection/components/nv-loader/nv-loader.js +1 -1
  152. package/dist/collection/components/nv-menu/nv-menu.docs.js +1 -0
  153. package/dist/collection/components/nv-menu/nv-menu.js +1 -1
  154. package/dist/collection/components/nv-menuitem/nv-menuitem.docs.js +20 -1
  155. package/dist/collection/components/nv-menuitem/nv-menuitem.js +6 -3
  156. package/dist/collection/components/nv-notification/nv-notification.docs.js +1 -0
  157. package/dist/collection/components/nv-notification/nv-notification.js +15 -5
  158. package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.docs.js +1 -0
  159. package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.docs.js +24 -1
  160. package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -15
  161. package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.js +1 -1
  162. package/dist/collection/components/nv-paginationtable/nv-paginationtable.docs.js +1 -0
  163. package/dist/collection/components/nv-paginationtable/nv-paginationtable.js +1 -1
  164. package/dist/collection/components/nv-popover/nv-popover.docs.js +1 -0
  165. package/dist/collection/components/nv-popover/nv-popover.js +1 -1
  166. package/dist/collection/components/nv-row/nv-row.docs.js +2 -0
  167. package/dist/collection/components/nv-row/nv-row.js +2 -1
  168. package/dist/collection/components/nv-sidebar/nv-sidebar.docs.js +1 -0
  169. package/dist/collection/components/nv-sidebar/nv-sidebar.js +1 -1
  170. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.docs.js +14 -1
  171. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.js +1 -1
  172. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.docs.js +15 -1
  173. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.js +1 -1
  174. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.docs.js +9 -1
  175. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.js +1 -1
  176. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.docs.js +15 -1
  177. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.js +1 -1
  178. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.docs.js +9 -1
  179. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.js +1 -1
  180. package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.docs.js +10 -1
  181. package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.js +1 -1
  182. package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.docs.js +16 -1
  183. package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js +8 -5
  184. package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.docs.js +15 -1
  185. package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js +1 -1
  186. package/dist/collection/components/nv-split/nv-split.docs.js +1 -0
  187. package/dist/collection/components/nv-split/nv-split.js +1 -1
  188. package/dist/collection/components/nv-stack/nv-stack.docs.js +1 -0
  189. package/dist/collection/components/nv-stack/nv-stack.js +1 -1
  190. package/dist/collection/components/nv-table/nv-table.docs.js +1 -0
  191. package/dist/collection/components/nv-table/nv-table.js +1 -1
  192. package/dist/collection/components/nv-table/styles/nv-table.css +19 -2
  193. package/dist/collection/components/nv-tableheader/nv-tableheader.docs.js +1 -0
  194. package/dist/collection/components/nv-tableheader/nv-tableheader.js +1 -1
  195. package/dist/collection/components/nv-timetest/nv-timetest.css +15 -0
  196. package/dist/collection/components/nv-timetest/nv-timetest.docs.js +5 -0
  197. package/dist/collection/components/nv-timetest/nv-timetest.js +248 -0
  198. package/dist/collection/components/nv-toggle/nv-toggle.docs.js +1 -0
  199. package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
  200. package/dist/collection/components/nv-togglebutton/nv-togglebutton.docs.js +48 -1
  201. package/dist/collection/components/nv-togglebutton/nv-togglebutton.js +1 -1
  202. package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.docs.js +1 -0
  203. package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js +1 -1
  204. package/dist/collection/components/nv-tooltip/nv-tooltip.docs.js +1 -0
  205. package/dist/collection/components/nv-tooltip/nv-tooltip.js +8 -3
  206. package/dist/collection/index.js +3 -0
  207. package/dist/collection/interfaces/dates.js +1 -0
  208. package/dist/collection/utils/nova-datetime.js +144 -0
  209. package/dist/collection/utils/test/nova-datetime.test.js +230 -0
  210. package/dist/components/index.js +1 -1
  211. package/dist/components/nv-accordion-item.js +1 -1
  212. package/dist/components/nv-accordion.js +1 -1
  213. package/dist/components/nv-alert.js +1 -1
  214. package/dist/components/nv-avatar.js +1 -1
  215. package/dist/components/nv-badge.js +1 -1
  216. package/dist/components/nv-breadcrumb.js +1 -1
  217. package/dist/components/nv-breadcrumbs.js +1 -1
  218. package/dist/components/nv-button.js +1 -1
  219. package/dist/components/nv-buttongroup.js +1 -1
  220. package/dist/components/nv-calendar.js +1 -1
  221. package/dist/components/nv-col.js +1 -1
  222. package/dist/components/nv-datagrid.js +1 -1
  223. package/dist/components/nv-datagridcolumn.js +1 -1
  224. package/dist/components/nv-datetest.d.ts +11 -0
  225. package/dist/components/nv-datetest.js +1 -0
  226. package/dist/components/nv-datetimetest.d.ts +11 -0
  227. package/dist/components/nv-datetimetest.js +1 -0
  228. package/dist/components/nv-dialog.js +1 -1
  229. package/dist/components/nv-dialogfooter.js +1 -1
  230. package/dist/components/nv-dialogheader.js +1 -1
  231. package/dist/components/nv-drawer.js +1 -1
  232. package/dist/components/nv-drawerfooter.js +1 -1
  233. package/dist/components/nv-drawerheader.js +1 -1
  234. package/dist/components/nv-fieldcheckbox.js +1 -1
  235. package/dist/components/nv-fielddate.js +1 -1
  236. package/dist/components/nv-fielddaterange.js +1 -1
  237. package/dist/components/nv-fielddropdown.js +1 -1
  238. package/dist/components/nv-fielddropdownitem.js +1 -1
  239. package/dist/components/nv-fielddropdownitemcheck.js +1 -1
  240. package/dist/components/nv-fieldmultiselect.js +1 -1
  241. package/dist/components/nv-fieldnumber.js +1 -1
  242. package/dist/components/nv-fieldpassword.js +1 -1
  243. package/dist/components/nv-fieldradio.js +1 -1
  244. package/dist/components/nv-fieldselect.js +1 -1
  245. package/dist/components/nv-fieldslider.js +1 -1
  246. package/dist/components/nv-fieldtext.js +1 -1
  247. package/dist/components/nv-fieldtextarea.js +1 -1
  248. package/dist/components/nv-fieldtime.js +1 -1
  249. package/dist/components/nv-icon.js +1 -1
  250. package/dist/components/nv-iconbutton.js +1 -1
  251. package/dist/components/nv-loader.js +1 -1
  252. package/dist/components/nv-menu.js +1 -1
  253. package/dist/components/nv-menuitem.js +1 -1
  254. package/dist/components/nv-notification-bullet.js +1 -1
  255. package/dist/components/nv-notification.js +1 -1
  256. package/dist/components/nv-notificationcontainer.js +1 -1
  257. package/dist/components/nv-pagination-nav.js +1 -1
  258. package/dist/components/nv-paginationtable.js +1 -1
  259. package/dist/components/nv-popover.js +1 -1
  260. package/dist/components/nv-row.js +1 -1
  261. package/dist/components/nv-sidebar.js +1 -1
  262. package/dist/components/nv-sidebarcontent.js +1 -1
  263. package/dist/components/nv-sidebardivider.js +1 -1
  264. package/dist/components/nv-sidebarfooter.js +1 -1
  265. package/dist/components/nv-sidebargroup.js +1 -1
  266. package/dist/components/nv-sidebarheader.js +1 -1
  267. package/dist/components/nv-sidebarlogo.js +1 -1
  268. package/dist/components/nv-sidebarnavitem.js +1 -1
  269. package/dist/components/nv-sidebarnavsubitem.js +1 -1
  270. package/dist/components/nv-split.js +1 -1
  271. package/dist/components/nv-stack.js +1 -1
  272. package/dist/components/nv-table.js +1 -1
  273. package/dist/components/nv-tableheader.js +1 -1
  274. package/dist/components/nv-timetest.d.ts +11 -0
  275. package/dist/components/nv-timetest.js +1 -0
  276. package/dist/components/nv-toggle.js +1 -1
  277. package/dist/components/nv-togglebutton.js +1 -1
  278. package/dist/components/nv-togglebuttongroup.js +1 -1
  279. package/dist/components/nv-tooltip.js +1 -1
  280. package/dist/components/{p-CAGzfU3O.js → p-Bl7rc9YV.js} +1 -1
  281. package/dist/components/{p-BBy1Mdgv.js → p-Bytxo1iR.js} +1 -1
  282. package/dist/components/p-C47vpaBp.js +1 -0
  283. package/dist/components/{p-BMpkyzCW.js → p-C99g_PrG.js} +1 -1
  284. package/dist/components/{p-BvxuoODv.js → p-CBlrNW6n.js} +1 -1
  285. package/dist/components/{p-DlOgBZa8.js → p-CD12QIMB.js} +2 -2
  286. package/dist/components/{p-Ho_7-x5W.js → p-CT782LKx.js} +1 -1
  287. package/dist/components/{p-D-MnI-R8.js → p-CUjRfVPl.js} +1 -1
  288. package/dist/components/{p-kMTGXpRx.js → p-CfOVizcp.js} +1 -1
  289. package/dist/components/{p-S18SgvAW.js → p-CgufQqes.js} +1 -1
  290. package/dist/components/p-ChVdX6FG.js +1 -0
  291. package/dist/components/{p-Ba1zVklG.js → p-Cnlbk416.js} +1 -1
  292. package/dist/components/p-Cr_-lRNo.js +1 -0
  293. package/dist/components/{p-BwYt1BAb.js → p-Cuq_uNwY.js} +1 -1
  294. package/dist/components/p-CyL2J6O4.js +74 -0
  295. package/dist/components/p-D1psKXwD.js +1 -0
  296. package/dist/components/{p-T-bBxAoT.js → p-D3JDACHw.js} +1 -1
  297. package/dist/components/p-DKgmDzJ1.js +1 -0
  298. package/dist/components/p-DdcXhR3I.js +1 -0
  299. package/dist/components/p-EV8CtE4q.js +1 -0
  300. package/dist/components/{p-DrgqO3gF.js → p-RYxAzR3m.js} +1 -1
  301. package/dist/components/{p-Db4JZxyy.js → p-_zOMJBOq.js} +1 -1
  302. package/dist/components/{p-6nAIGZFL.js → p-flcatmxD.js} +1 -1
  303. package/dist/components/p-p1ofW2Cs.js +1 -0
  304. package/dist/esm/{index-BCjiE1MF.js → index-DU3Vhh_k.js} +13 -1
  305. package/dist/esm/index.js +5 -0
  306. package/dist/esm/loader.js +3 -3
  307. package/dist/esm/native.js +3 -3
  308. package/dist/esm/nova-datetime-CyL2J6O4.js +10636 -0
  309. package/dist/esm/nv-accordion-item.entry.js +3 -3
  310. package/dist/esm/nv-accordion.entry.js +1 -1
  311. package/dist/esm/nv-alert.entry.js +2 -2
  312. package/dist/esm/nv-avatar.entry.js +1 -1
  313. package/dist/esm/nv-badge_2.entry.js +8 -7
  314. package/dist/esm/nv-breadcrumb.entry.js +1 -1
  315. package/dist/esm/nv-breadcrumbs.entry.js +1 -1
  316. package/dist/esm/nv-button.entry.js +1 -1
  317. package/dist/esm/nv-buttongroup.entry.js +1 -1
  318. package/dist/esm/nv-calendar.entry.js +1 -1
  319. package/dist/esm/nv-col.entry.js +2 -2
  320. package/dist/esm/nv-datagrid.entry.js +1 -1
  321. package/dist/esm/nv-datagridcolumn.entry.js +1 -1
  322. package/dist/esm/nv-datetest.entry.js +64 -0
  323. package/dist/esm/nv-datetimetest.entry.js +52 -0
  324. package/dist/esm/nv-dialog.entry.js +2 -2
  325. package/dist/esm/nv-dialogfooter_2.entry.js +7 -5
  326. package/dist/esm/nv-drawer.entry.js +2 -2
  327. package/dist/esm/nv-drawerfooter_2.entry.js +5 -3
  328. package/dist/esm/nv-fieldcheckbox.entry.js +5 -5
  329. package/dist/esm/nv-fielddate.entry.js +8 -8
  330. package/dist/esm/nv-fielddaterange.entry.js +8 -8
  331. package/dist/esm/nv-fielddropdown.entry.js +6 -6
  332. package/dist/esm/nv-fielddropdownitem.entry.js +2 -2
  333. package/dist/esm/nv-fieldmultiselect.entry.js +115 -86
  334. package/dist/esm/nv-fieldnumber.entry.js +6 -6
  335. package/dist/esm/nv-fieldpassword.entry.js +6 -6
  336. package/dist/esm/nv-fieldradio.entry.js +4 -4
  337. package/dist/esm/nv-fieldselect.entry.js +7 -7
  338. package/dist/esm/nv-fieldslider.entry.js +4 -4
  339. package/dist/esm/nv-fieldtext.entry.js +6 -6
  340. package/dist/esm/nv-fieldtextarea.entry.js +5 -5
  341. package/dist/esm/nv-fieldtime.entry.js +15 -12
  342. package/dist/esm/nv-icon.entry.js +3 -3
  343. package/dist/esm/nv-iconbutton_2.entry.js +3 -3
  344. package/dist/esm/nv-menu.entry.js +2 -2
  345. package/dist/esm/nv-menuitem.entry.js +2 -2
  346. package/dist/esm/nv-notification-bullet.entry.js +1 -1
  347. package/dist/esm/nv-notification.entry.js +2 -2
  348. package/dist/esm/nv-notificationcontainer.entry.js +2 -14
  349. package/dist/esm/nv-pagination-nav.entry.js +2 -2
  350. package/dist/esm/nv-paginationtable.entry.js +2 -2
  351. package/dist/esm/nv-popover.entry.js +2 -2
  352. package/dist/esm/nv-row.entry.js +2 -2
  353. package/dist/esm/nv-sidebar.entry.js +2 -2
  354. package/dist/esm/nv-sidebarcontent.entry.js +2 -2
  355. package/dist/esm/nv-sidebardivider.entry.js +2 -2
  356. package/dist/esm/nv-sidebarfooter.entry.js +2 -2
  357. package/dist/esm/nv-sidebargroup.entry.js +2 -2
  358. package/dist/esm/nv-sidebarheader.entry.js +2 -2
  359. package/dist/esm/nv-sidebarlogo.entry.js +2 -2
  360. package/dist/esm/nv-sidebarnavitem.entry.js +3 -3
  361. package/dist/esm/nv-sidebarnavsubitem.entry.js +2 -2
  362. package/dist/esm/nv-split.entry.js +2 -2
  363. package/dist/esm/nv-stack.entry.js +2 -2
  364. package/dist/esm/nv-table.entry.js +3 -3
  365. package/dist/esm/nv-tableheader.entry.js +2 -2
  366. package/dist/esm/nv-timetest.entry.js +70 -0
  367. package/dist/esm/nv-toggle.entry.js +3 -3
  368. package/dist/esm/nv-togglebutton.entry.js +2 -2
  369. package/dist/esm/nv-togglebuttongroup.entry.js +2 -2
  370. package/dist/esm/nv-tooltip.entry.js +9 -4
  371. package/dist/lib/generators/docs-blazor.js +11 -2
  372. package/dist/lib/utils/parseToCSharpTypes.js +114 -18
  373. package/dist/lib/utils/test/parseToCSharpTypes.test.js +95 -1
  374. package/dist/native/index.esm.js +1 -1
  375. package/dist/native/native.css +1 -1
  376. package/dist/native/native.esm.js +1 -1
  377. package/dist/native/p-04e40a1e.entry.js +1 -0
  378. package/dist/native/p-0770997b.entry.js +1 -0
  379. package/dist/native/p-07f3200b.entry.js +1 -0
  380. package/dist/native/{p-a6b3256b.entry.js → p-0a17050f.entry.js} +1 -1
  381. package/dist/native/{p-7d49e88d.entry.js → p-0d03b6ed.entry.js} +1 -1
  382. package/dist/native/p-0d3ab890.entry.js +1 -0
  383. package/dist/native/{p-b3964a1c.entry.js → p-0f59cb66.entry.js} +1 -1
  384. package/dist/native/{p-87758615.entry.js → p-0f9a284e.entry.js} +1 -1
  385. package/dist/native/{p-90b8b889.entry.js → p-12269ed5.entry.js} +1 -1
  386. package/dist/native/{p-fd5e27ae.entry.js → p-1450d746.entry.js} +1 -1
  387. package/dist/native/{p-f9612edf.entry.js → p-16600d93.entry.js} +1 -1
  388. package/dist/native/{p-1e0ca4df.entry.js → p-1bc76216.entry.js} +1 -1
  389. package/dist/native/p-1ea2a804.entry.js +1 -0
  390. package/dist/native/{p-24ce0c8d.entry.js → p-26c0c34b.entry.js} +1 -1
  391. package/dist/native/{p-9709c7d5.entry.js → p-27ecae3c.entry.js} +1 -1
  392. package/dist/native/{p-5a7e46ad.entry.js → p-2b1efb98.entry.js} +1 -1
  393. package/dist/native/{p-927b655d.entry.js → p-2d37df11.entry.js} +1 -1
  394. package/dist/native/{p-eb8ba7a2.entry.js → p-2d5189eb.entry.js} +1 -1
  395. package/dist/native/{p-157c5ac8.entry.js → p-2e40d5d9.entry.js} +1 -1
  396. package/dist/native/{p-0fe84123.entry.js → p-2e932ca4.entry.js} +1 -1
  397. package/dist/native/{p-5c003e50.entry.js → p-336d63c4.entry.js} +1 -1
  398. package/dist/native/p-3afa34d1.entry.js +1 -0
  399. package/dist/native/{p-24f69387.entry.js → p-3ddc967e.entry.js} +1 -1
  400. package/dist/native/p-48c1bab4.entry.js +1 -0
  401. package/dist/native/{p-6742f88f.entry.js → p-49c6d122.entry.js} +1 -1
  402. package/dist/native/{p-8a0dc37b.entry.js → p-4badca4e.entry.js} +1 -1
  403. package/dist/native/{p-bb43a3b4.entry.js → p-4bb9b387.entry.js} +1 -1
  404. package/dist/native/{p-39366f18.entry.js → p-568fbdac.entry.js} +1 -1
  405. package/dist/native/{p-8f76e030.entry.js → p-59ecaf60.entry.js} +1 -1
  406. package/dist/native/p-5cefca3c.entry.js +1 -0
  407. package/dist/native/{p-148c1d3e.entry.js → p-5f6e45ca.entry.js} +1 -1
  408. package/dist/native/{p-fb34fc7d.entry.js → p-6f1213fb.entry.js} +1 -1
  409. package/dist/native/{p-5ce3d30b.entry.js → p-6f91712c.entry.js} +1 -1
  410. package/dist/native/{p-1aea6fe0.entry.js → p-706eeea4.entry.js} +1 -1
  411. package/dist/native/{p-d6e2e120.entry.js → p-7126f67e.entry.js} +1 -1
  412. package/dist/native/{p-1f8cc03a.entry.js → p-748661f0.entry.js} +1 -1
  413. package/dist/native/{p-6f3c3e2a.entry.js → p-7b545176.entry.js} +1 -1
  414. package/dist/native/{p-ecce3e66.entry.js → p-7bb2536f.entry.js} +1 -1
  415. package/dist/native/{p-a16f8a14.entry.js → p-7fd6f0b0.entry.js} +1 -1
  416. package/dist/native/p-803759ef.entry.js +1 -0
  417. package/dist/native/{p-d12a2841.entry.js → p-8e05077a.entry.js} +1 -1
  418. package/dist/native/{p-25ef7329.entry.js → p-92539825.entry.js} +1 -1
  419. package/dist/native/p-943a4dfd.entry.js +1 -0
  420. package/dist/native/{p-7ec28d5d.entry.js → p-96078a63.entry.js} +1 -1
  421. package/dist/native/{p-56593bf0.entry.js → p-9a05395d.entry.js} +1 -1
  422. package/dist/native/{p-f9e4daf7.entry.js → p-9b8478a7.entry.js} +1 -1
  423. package/dist/native/p-CyL2J6O4.js +74 -0
  424. package/dist/native/{p-BCjiE1MF.js → p-DU3Vhh_k.js} +1 -1
  425. package/dist/native/{p-67e0680e.entry.js → p-a5e39524.entry.js} +1 -1
  426. package/dist/native/{p-31ba86b3.entry.js → p-b7436a14.entry.js} +1 -1
  427. package/dist/native/{p-9fda1976.entry.js → p-bff549dd.entry.js} +1 -1
  428. package/dist/native/p-c20e0b5f.entry.js +1 -0
  429. package/dist/native/p-ca4ab8a5.entry.js +1 -0
  430. package/dist/native/{p-591f3dcc.entry.js → p-d468c445.entry.js} +1 -1
  431. package/dist/native/p-d5060f92.entry.js +1 -0
  432. package/dist/native/{p-539c04ad.entry.js → p-d5e931c9.entry.js} +1 -1
  433. package/dist/native/p-dc647a64.entry.js +1 -0
  434. package/dist/native/p-df5c6b0c.entry.js +1 -0
  435. package/dist/native/p-e8569a99.entry.js +1 -0
  436. package/dist/native/p-eb737344.entry.js +1 -0
  437. package/dist/native/{p-ebff7ddb.entry.js → p-f078f10a.entry.js} +1 -1
  438. package/dist/native/p-f3756dfd.entry.js +1 -0
  439. package/dist/native/p-f3ded7e8.entry.js +1 -0
  440. package/dist/native/{p-3a35cf46.entry.js → p-f7fdca43.entry.js} +1 -1
  441. package/dist/types/components/nv-alert/nv-alert.d.ts +3 -1
  442. package/dist/types/components/nv-badge/nv-badge.d.ts +6 -3
  443. package/dist/types/components/nv-col/nv-col.d.ts +1 -0
  444. package/dist/types/components/nv-datetest/nv-datetest.d.ts +48 -0
  445. package/dist/types/components/nv-datetest/nv-datetest.docs.d.ts +4 -0
  446. package/dist/types/components/nv-datetimetest/nv-datetimetest.d.ts +44 -0
  447. package/dist/types/components/nv-datetimetest/nv-datetimetest.docs.d.ts +4 -0
  448. package/dist/types/components/nv-dialogfooter/nv-dialogfooter.d.ts +5 -2
  449. package/dist/types/components/nv-drawerfooter/nv-drawerfooter.d.ts +5 -2
  450. package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.d.ts +16 -11
  451. package/dist/types/components/nv-icon/nv-icon.d.ts +2 -1
  452. package/dist/types/components/nv-icon/nv-icons.d.ts +1 -1
  453. package/dist/types/components/nv-iconbutton/nv-iconbutton.d.ts +2 -1
  454. package/dist/types/components/nv-menuitem/nv-menuitem.d.ts +1 -0
  455. package/dist/types/components/nv-notification/nv-notification.d.ts +3 -1
  456. package/dist/types/components/nv-notificationcontainer/nv-notificationcontainer.d.ts +0 -6
  457. package/dist/types/components/nv-row/nv-row.d.ts +1 -0
  458. package/dist/types/components/nv-sidebarnavitem/nv-sidebarnavitem.d.ts +2 -1
  459. package/dist/types/components/nv-timetest/nv-timetest.d.ts +48 -0
  460. package/dist/types/components/nv-timetest/nv-timetest.docs.d.ts +4 -0
  461. package/dist/types/components.d.ts +349 -44
  462. package/dist/types/index.d.ts +2 -0
  463. package/dist/types/interfaces/dates.d.ts +8 -0
  464. package/dist/types/nova-docs.d.ts +8 -0
  465. package/dist/types/utils/nova-datetime.d.ts +79 -0
  466. package/dist/types/utils/test/nova-datetime.test.d.ts +1 -0
  467. package/dist/vscode-data.json +18259 -2581
  468. package/hydrate/index.js +11008 -219
  469. package/hydrate/index.mjs +11008 -219
  470. package/package.json +14 -1
  471. package/dist/components/p-CV12ukSl.js +0 -1
  472. package/dist/components/p-CZkFkVd8.js +0 -1
  473. package/dist/components/p-CcmfuwSa.js +0 -1
  474. package/dist/components/p-CqJqzGJS.js +0 -1
  475. package/dist/components/p-D0bGRzSN.js +0 -1
  476. package/dist/components/p-DC_2597n.js +0 -1
  477. package/dist/components/p-IzPWk8zx.js +0 -1
  478. package/dist/components/p-uAXqRBhx.js +0 -1
  479. package/dist/native/p-03cc1f2c.entry.js +0 -1
  480. package/dist/native/p-18bdc07a.entry.js +0 -1
  481. package/dist/native/p-1c97c353.entry.js +0 -1
  482. package/dist/native/p-23f0ca96.entry.js +0 -1
  483. package/dist/native/p-34e19b6e.entry.js +0 -1
  484. package/dist/native/p-46267895.entry.js +0 -1
  485. package/dist/native/p-597cac0f.entry.js +0 -1
  486. package/dist/native/p-5f42a7f1.entry.js +0 -1
  487. package/dist/native/p-7aac0b1a.entry.js +0 -1
  488. package/dist/native/p-855f7be1.entry.js +0 -1
  489. package/dist/native/p-99726dd4.entry.js +0 -1
  490. package/dist/native/p-c0b05d6f.entry.js +0 -1
  491. package/dist/native/p-c214e4af.entry.js +0 -1
  492. package/dist/native/p-c29dc907.entry.js +0 -1
  493. package/dist/native/p-d46bd21a.entry.js +0 -1
  494. package/dist/native/p-ddedc9c1.entry.js +0 -1
@@ -1 +1 @@
1
- import{S as t,t as e,p as n,H as o,c as r,h as i,d as s}from"./p-6nAIGZFL.js";import{u as a}from"./p-9xYwU7ku.js";import{u as c}from"./p-D02w_Ru6.js";import"./p-Dz1GUhVy.js";import{a as l,r as u}from"./p-B6GgGra-.js";import{a as f}from"./p-CuXVGECR.js";const d=Math.min,h=Math.max,p=Math.round,m=t=>({x:t,y:t}),g={left:"right",right:"left",bottom:"top",top:"bottom"},y={start:"end",end:"start"};function v(t,e,n){return h(t,d(e,n))}function b(t,e){return"function"==typeof t?t(e):t}function w(t){return t.split("-")[0]}function x(t){return t.split("-")[1]}function k(t){return"x"===t?"y":"x"}function A(t){return"y"===t?"height":"width"}function T(t){return["top","bottom"].includes(w(t))?"y":"x"}function C(t){return k(T(t))}function O(t){return t.replace(/start|end/g,(t=>y[t]))}function S(t){return t.replace(/left|right|bottom|top/g,(t=>g[t]))}function j(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function P(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function D(t,e,n){let{reference:o,floating:r}=t;const i=T(e),s=C(e),a=A(s),c=w(e),l="y"===i,u=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,d=o[a]/2-r[a]/2;let h;switch(c){case"top":h={x:u,y:o.y-r.height};break;case"bottom":h={x:u,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-r.width,y:f};break;default:h={x:o.x,y:o.y}}switch(x(e)){case"start":h[s]-=d*(n&&l?-1:1);break;case"end":h[s]+=d*(n&&l?-1:1)}return h}async function R(t,e){var n;void 0===e&&(e={});const{x:o,y:r,platform:i,rects:s,elements:a,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=b(e,t),p=j(h),m=a[d?"floating"===f?"reference":"floating":f],g=P(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:l,rootBoundary:u,strategy:c})),y="floating"===f?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),w=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},x=P(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:v,strategy:c}):y);return{top:(g.top-x.top+p.top)/w.y,bottom:(x.bottom-g.bottom+p.bottom)/w.y,left:(g.left-x.left+p.left)/w.x,right:(x.right-g.right+p.right)/w.x}}function E(){return"undefined"!=typeof window}function M(t){return B(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function L(t){var e;return null==(e=(B(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function B(t){return!!E()&&(t instanceof Node||t instanceof F(t).Node)}function G(t){return!!E()&&(t instanceof Element||t instanceof F(t).Element)}function N(t){return!!E()&&(t instanceof HTMLElement||t instanceof F(t).HTMLElement)}function $(t){return!(!E()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof F(t).ShadowRoot)}function z(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=X(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(r)}function H(t){return["table","td","th"].includes(M(t))}function I(t){return[":popover-open",":modal"].some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function U(t){const e=V(),n=G(t)?X(t):t;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function V(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function W(t){return["html","body","#document"].includes(M(t))}function X(t){return F(t).getComputedStyle(t)}function Y(t){return G(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function _(t){if("html"===M(t))return t;const e=t.assignedSlot||t.parentNode||$(t)&&t.host||L(t);return $(e)?e.host:e}function K(t){const e=_(t);return W(e)?t.ownerDocument?t.ownerDocument.body:t.body:N(e)&&z(e)?e:K(e)}function Z(t,e){var n;void 0===e&&(e=[]);const o=K(t),r=o===(null==(n=t.ownerDocument)?void 0:n.body),i=F(o);return r?e.concat(i,i.visualViewport||[],z(o)?o:[],[]):e.concat(o,Z(o,[]))}function q(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function J(t){const e=X(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=N(t),i=r?t.offsetWidth:n,s=r?t.offsetHeight:o,a=p(n)!==i||p(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}function Q(t){return G(t)?t:t.contextElement}function tt(t){const e=Q(t);if(!N(e))return m(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=J(e);let s=(i?p(n.width):n.width)/o,a=(i?p(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const et=m(0);function nt(t){const e=F(t);return V()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:et}function ot(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const r=t.getBoundingClientRect(),i=Q(t);let s=m(1);e&&(o?G(o)&&(s=tt(o)):s=tt(t));const a=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==F(t))&&e}(i,n,o)?nt(i):m(0);let c=(r.left+a.x)/s.x,l=(r.top+a.y)/s.y,u=r.width/s.x,f=r.height/s.y;if(i){const t=F(i),e=o&&G(o)?F(o):o;let n=t,r=q(n);for(;r&&o&&e!==n;){const t=tt(r),e=r.getBoundingClientRect(),o=X(r),i=e.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,s=e.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,l*=t.y,u*=t.x,f*=t.y,c+=i,l+=s,n=F(r),r=q(n)}}return P({width:u,height:f,x:c,y:l})}function rt(t,e){const n=Y(t).scrollLeft;return e?e.left+n:ot(L(t)).left+n}function it(t,e,n){let o;if("viewport"===e)o=function(t,e){const n=F(t),o=L(t),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,a=0,c=0;if(r){i=r.width,s=r.height;const t=V();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,c=r.offsetTop)}return{width:i,height:s,x:a,y:c}}(t,n);else if("document"===e)o=function(t){const e=L(t),n=Y(t),o=t.ownerDocument.body,r=h(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=h(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+rt(t);const a=-n.scrollTop;return"rtl"===X(o).direction&&(s+=h(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:a}}(L(t));else if(G(e))o=function(t,e){const n=ot(t,!0,"fixed"===e),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=N(t)?tt(t):m(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(e,n);else{const n=nt(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return P(o)}function st(t,e){const n=_(t);return!(n===e||!G(n)||W(n))&&("fixed"===X(n).position||st(n,e))}function at(t,e,n){const o=N(e),r=L(e),i="fixed"===n,s=ot(t,!0,i,e);let a={scrollLeft:0,scrollTop:0};const c=m(0);if(o||!o&&!i)if(("body"!==M(e)||z(r))&&(a=Y(e)),o){const t=ot(e,!0,i,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else r&&(c.x=rt(r));let l=0,u=0;if(r&&!o&&!i){const t=r.getBoundingClientRect();u=t.top+a.scrollTop,l=t.left+a.scrollLeft-rt(r,t)}return{x:s.left+a.scrollLeft-c.x-l,y:s.top+a.scrollTop-c.y-u,width:s.width,height:s.height}}function ct(t){return"static"===X(t).position}function lt(t,e){if(!N(t)||"fixed"===X(t).position)return null;if(e)return e(t);let n=t.offsetParent;return L(t)===n&&(n=n.ownerDocument.body),n}function ut(t,e){const n=F(t);if(I(t))return n;if(!N(t)){let e=_(t);for(;e&&!W(e);){if(G(e)&&!ct(e))return e;e=_(e)}return n}let o=lt(t,e);for(;o&&H(o)&&ct(o);)o=lt(o,e);return o&&W(o)&&ct(o)&&!U(o)?n:o||function(t){let e=_(t);for(;N(e)&&!W(e);){if(U(e))return e;if(I(e))return null;e=_(e)}return null}(t)||n}const ft={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i="fixed"===r,s=L(o),a=!!e&&I(e.floating);if(o===s||a&&i)return n;let c={scrollLeft:0,scrollTop:0},l=m(1);const u=m(0),f=N(o);if((f||!f&&!i)&&(("body"!==M(o)||z(s))&&(c=Y(o)),N(o))){const t=ot(o);l=tt(o),u.x=t.x+o.clientLeft,u.y=t.y+o.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x,y:n.y*l.y-c.scrollTop*l.y+u.y}},getDocumentElement:L,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===n?I(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let o=Z(t,[]).filter((t=>G(t)&&"body"!==M(t))),r=null;const i="fixed"===X(t).position;let s=i?_(t):t;for(;G(s)&&!W(s);){const e=X(s),n=U(s);n||"fixed"!==e.position||(r=null),(i?!n&&!r:!n&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||z(s)&&!n&&st(t,s))?o=o.filter((t=>t!==s)):r=e,s=_(s)}return e.set(t,o),o}(e,this._c):[].concat(n),o],s=i.reduce(((t,n)=>{const o=it(e,n,r);return t.top=h(o.top,t.top),t.right=d(o.right,t.right),t.bottom=d(o.bottom,t.bottom),t.left=h(o.left,t.left),t}),it(e,i[0],r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ut,getElementRects:async function(t){const e=this.getOffsetParent||ut,n=this.getDimensions,o=await n(t.floating);return{reference:at(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=J(t);return{width:e,height:n}},getScale:tt,isElement:G,isRTL:function(t){return"rtl"===X(t).direction}},dt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=b(t,e),l={x:n,y:o},u=await R(e,c),f=T(w(r)),d=k(f);let h=l[d],p=l[f];i&&(h=v(h+u["y"===d?"top":"left"],h,h-u["y"===d?"bottom":"right"])),s&&(p=v(p+u["y"===f?"top":"left"],p,p-u["y"===f?"bottom":"right"]));const m=a.fn({...e,[d]:h,[f]:p});return{...m,data:{x:m.x-n,y:m.y-o}}}}},ht=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:a,platform:c,elements:l}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...g}=b(t,e);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const y=w(r),v=w(a)===a,k=await(null==c.isRTL?void 0:c.isRTL(l.floating)),T=d||(v||!m?[S(a)]:function(t){const e=S(t);return[O(t),e,O(e)]}(a));d||"none"===p||T.push(...function(t,e,n,o){const r=x(t);let i=function(t,e,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?r:o:e?o:r;case"left":case"right":return e?i:s;default:return[]}}(w(t),"start"===n,o);return r&&(i=i.map((t=>t+"-"+r)),e&&(i=i.concat(i.map(O)))),i}(a,m,p,k));const j=[a,...T],P=await R(e,g),D=[];let E=(null==(o=i.flip)?void 0:o.overflows)||[];if(u&&D.push(P[y]),f){const t=function(t,e,n){void 0===n&&(n=!1);const o=x(t),r=C(t),i=A(r);let s="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=S(s)),[s,S(s)]}(r,s,k);D.push(P[t[0]],P[t[1]])}if(E=[...E,{placement:r,overflows:D}],!D.every((t=>t<=0))){var M,F;const t=((null==(M=i.flip)?void 0:M.index)||0)+1,e=j[t];if(e)return{data:{index:t,overflows:E},reset:{placement:e}};let n=null==(F=E.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:F.placement;if(!n)switch(h){case"bestFit":{var L;const t=null==(L=E.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:L[0];t&&(n=t);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}},pt=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:s,elements:a,middlewareData:c}=e,{element:l,padding:u=0}=b(t,e)||{};if(null==l)return{};const f=j(u),h={x:n,y:o},p=C(r),m=A(p),g=await s.getDimensions(l),y="y"===p,w=y?"top":"left",k=y?"bottom":"right",T=y?"clientHeight":"clientWidth",O=i.reference[m]+i.reference[p]-h[p]-i.floating[m],S=h[p]-i.reference[p],P=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l));let D=P?P[T]:0;D&&await(null==s.isElement?void 0:s.isElement(P))||(D=a.floating[T]||i.floating[m]);const R=O/2-S/2,E=D/2-g[m]/2-1,M=d(f[w],E),F=d(f[k],E),L=M,B=D-g[m]-F,G=D/2-g[m]/2+R,N=v(L,G,B),$=!c.arrow&&null!=x(r)&&G!==N&&i.reference[m]/2-(G<L?M:F)-g[m]/2<0,z=$?G<L?G-L:G-B:0;return{[p]:h[p]+z,data:{[p]:N,centerOffset:G-N-z,...$&&{alignmentOffset:z}},reset:$}}}),mt=(()=>{let t;return(...e)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let e of t.keys()){const n=t.get(e).filter((t=>{const e=t.deref();return e&&(!("isConnected"in(n=e))||n.isConnected);var n}));t.set(e,n)}})(...e)}),2e3)}})(),gt=t.forceUpdate,yt=t.getRenderingRef,vt=(t,e)=>{const n=t.indexOf(e);n>=0&&(t[n]=t[t.length-1],t.length--)},{state:bt}=(()=>{const t=((t,e=(t,e)=>t!==e)=>{const n=()=>{return("function"==typeof(e=t)?e():e)??{};var e},o=n();let r=new Map(Object.entries(o));const i="undefined"!=typeof Proxy,s=i?null:{},a={dispose:[],get:[],set:[],reset:[]},c=new Map,l=()=>{r=new Map(Object.entries(n())),i||m(),a.reset.forEach((t=>t()))},u=t=>(a.get.forEach((e=>e(t))),r.get(t)),f=(t,n)=>{const o=r.get(t);e(n,o,t)&&(r.set(t,n),i||p(t),a.set.forEach((e=>e(t,n,o))))},d=i?new Proxy(o,{get:(t,e)=>u(e),ownKeys:()=>Array.from(r.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,e)=>r.has(e),set:(t,e,n)=>(f(e,n),!0)}):(m(),s),h=(t,e)=>(a[t].push(e),()=>{vt(a[t],e)});function p(t){!i&&s&&(Object.prototype.hasOwnProperty.call(s,t)||Object.defineProperty(s,t,{configurable:!0,enumerable:!0,get:()=>u(t),set(e){f(t,e)}}))}function m(){if(i||!s)return;const t=new Set(r.keys());for(const e of Object.keys(s))t.has(e)||delete s[e];for(const e of t)p(e)}return{state:d,get:u,set:f,on:h,onChange:(t,e)=>{const o=(n,o)=>{n===t&&e(o)},r=()=>{const o=n();e(o[t])},i=h("set",o),s=h("reset",r);return c.set(e,{setHandler:o,resetHandler:r,propName:t}),()=>{i(),s(),c.delete(e)}},use:(...t)=>{const e=t.reduce(((t,e)=>(e.set&&t.push(h("set",e.set)),e.get&&t.push(h("get",e.get)),e.reset&&t.push(h("reset",e.reset)),e.dispose&&t.push(h("dispose",e.dispose)),t)),[]);return()=>e.forEach((t=>t()))},dispose:()=>{a.dispose.forEach((t=>t())),l()},reset:l,forceUpdate:t=>{const e=r.get(t);a.set.forEach((n=>n(t,e,e)))},removeListener:(t,e)=>{const n=c.get(e);n&&n.propName===t&&(vt(a.set,n.setHandler),vt(a.reset,n.resetHandler),c.delete(e))}}})({groups:new Map},void 0);return t.use((()=>{if("function"!=typeof yt||"function"!=typeof gt)return{};const t=gt,e=yt,n=new Map;return{dispose:()=>n.clear(),get:t=>{const o=e();o&&((t,e,n)=>{let o=t.get(e);o||(o=[],t.set(e,o)),o.some((t=>t.deref()===n))||o.push(new WeakRef(n))})(n,t,o)},set:e=>{const o=n.get(e);if(o){const r=o.filter((e=>{const n=e.deref();return!!n&&t(n)}));n.set(e,r)}mt(n)},reset:()=>{n.forEach((e=>{e.forEach((e=>{const n=e.deref();n&&t(n)}))})),mt(n)}}})()),t})(),wt=n(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.openChanged=r(this,"openChanged",3),this.eventsAttached=!1,this.isAnimating=!1,this.clickEvents=[["click",()=>this.open=!this.open]],this.hoverEvents=[["focus",()=>{clearTimeout(this.hideTimeout),this.showTimeout=setTimeout((()=>this.open=!0),this.enterDelay)}],["blur",()=>{clearTimeout(this.showTimeout),this.hideTimeout=setTimeout((()=>this.open=!1),50)}],["mouseenter",()=>{clearTimeout(this.hideTimeout),this.showTimeout=setTimeout((()=>this.open=!0),this.enterDelay)}],["mouseleave",()=>{clearTimeout(this.showTimeout),this.hideTimeout=setTimeout((()=>this.open=!1),100)}]],this.closeEvents=[["keydown",t=>{"Escape"===t.key&&"controlled"!==this.triggerMode&&(this.open=!1)}]],this.open=!1,this.triggerMode="click",this.placement="bottom",this.strategy="absolute",this.offset=6,this.hasArrow=!1,this.disableFlip=!1,this.shiftPadding=0,this.enterDelay=0,this.nested=!1,this.handleClickOutside=t=>{this.el.contains(t.target)||this.triggerElement?.contains(t.target)||(this.open=!1)},this.outsideClickEvents=[["click",this.handleClickOutside],["touchstart",this.handleClickOutside]]}async show(){this.open=!0}async hide(){this.open=!1}async toggle(){this.open=!this.open}attachEventListeners(){this.triggerElement&&!this.eventsAttached&&(l(this.closeEvents,document,this),"click"===this.triggerMode&&(l(this.clickEvents,this.triggerElement,this),l(this.outsideClickEvents,document,this)),"hover"===this.triggerMode&&l(this.hoverEvents,this.triggerElement,this),this.eventsAttached=!0)}positionPopover(){var t;this.triggerElement&&((t,e,n)=>{const o=new Map,r={platform:ft,...n},i={...r.platform,_c:o};return(async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),c=await(null==s.isRTL?void 0:s.isRTL(e));let l=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:u,y:f}=D(l,o,c),d=o,h={},p=0;for(let n=0;n<a.length;n++){const{name:i,fn:m}=a[n],{x:g,y,data:v,reset:b}=await m({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:h,rects:l,platform:s,elements:{reference:t,floating:e}});u=null!=g?g:u,f=null!=y?y:f,h={...h,[i]:{...h[i],...v}},b&&p<=50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(l=!0===b.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):b.rects),({x:u,y:f}=D(l,d,c))),n=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:i})})(f(this.triggerElement),this.popoverElement,{placement:this.placement,strategy:this.strategy,middleware:[(t=this.offset,void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:s,middlewareData:a}=e,c=await async function(t,e){const{placement:n,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),s=w(n),a=x(n),c="y"===T(n),l=["left","top"].includes(s)?-1:1,u=i&&c?-1:1,f=b(e,t);let{mainAxis:d,crossAxis:h,alignmentAxis:p}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&"number"==typeof p&&(h="end"===a?-1*p:p),c?{x:h*u,y:d*l}:{x:d*l,y:h*u}}(e,t);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:r+c.x,y:i+c.y,data:{...c,placement:s}}}}),!this.disableFlip&&ht({fallbackStrategy:"bestFit",crossAxis:!0,fallbackPlacements:["bottom"]}),dt({padding:this.shiftPadding}),this.hasArrow&&pt({element:this.arrowElement})]}).then((({x:t,y:e,placement:n,middlewareData:o,strategy:r})=>{if(Object.assign(this.popoverElement.style,{left:`${t}px`,top:`${e}px`,position:r}),this.hasArrow){const t={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]],e={top:"rotate(225deg)",right:"rotate(315deg)",bottom:"rotate(45deg)",left:"rotate(135deg)"}[n.split("-")[0]],{x:r,y:i}=o.arrow;Object.assign(this.arrowElement.style,{left:null!=r?`${r}px`:"",top:null!=i?`${i}px`:"",right:"",bottom:"",transform:e,[t]:"-4px"})}}))}async handleOpenChange(t){for(;this.isAnimating;)await new Promise((t=>setTimeout(t,50)));this.isAnimating=!0;const e=bt.groups.get(this.groupName),n=e&&e.openedBy!==this.el,o=e&&e.openedBy===this.el;t&&this.popoverElement.style.removeProperty("display"),o&&!t&&bt.groups.delete(this.groupName),this.groupName&&t&&bt.groups.set(this.groupName,{openedBy:this.el});const{growIn:r}=c(this.popoverElement,{duration:n?0:100,amount:.85}),{fadeOut:i}=a(this.popoverElement,{duration:n?0:100});!0===t&&(this.popoverElement.removeAttribute("hidden"),this.positionPopover(),await r()),!1===t&&(await i(),this.popoverElement.setAttribute("hidden","")),this.isAnimating=!1,this.openChanged.emit(t)}handleStrategyChange(){this.open&&this.positionPopover()}componentWillRender(){this.triggerElement||(this.triggerElement=this.el.querySelector('[slot="trigger"]')),this.attachEventListeners()}componentDidLoad(){if(this.open){const{setFadeIn:t}=a(this.popoverElement);t(),this.popoverElement.removeAttribute("hidden")}else{const{setGrowOut:t}=c(this.popoverElement);t()}this.positionPopover()}disconnectedCallback(){u(this.closeEvents,document,this),"click"===this.triggerMode&&(u(this.clickEvents,this.triggerElement,this),u(this.outsideClickEvents,document,this)),"hover"===this.triggerMode&&u(this.hoverEvents,this.triggerElement,this),this.eventsAttached=!1,this.hideTimeout&&clearTimeout(this.hideTimeout),this.showTimeout&&clearTimeout(this.showTimeout)}render(){return i(s,{key:"f45908c500d83bbc4cc2e2bfa71d08297bb353e0"},i("slot",{key:"b0d692a8f25dca9d400b4ebac81bbcff895abe58",name:"trigger"}),i("div",{key:"500fdf54d35104a48936b1c31643c04ca92be8b5","data-scope":"popover","data-strategy":this.strategy,hidden:!0,ref:t=>this.popoverElement=t},this.hasArrow&&i("div",{key:"9d3e96672c6e904ded03bb6338f5e70a18f8bf0c","data-scope":"arrow",ref:t=>this.arrowElement=t}),i("slot",{key:"ce8436ba395b75b42facc362503d272b8852308a",name:"content"})))}get el(){return this}static get watchers(){return{open:[{handleOpenChange:0}],strategy:[{handleStrategyChange:0}]}}static get style(){return"nv-popover{display:inline-block;position:relative}nv-popover:has([fluid]:not([fluid=false])){display:block}nv-popover[strategy=fixed]{position:static}nv-popover>[data-scope=popover]{width:max-content;background-color:var(--components-popover-background);border-color:var(--components-popover-border);font-weight:var(--font-weight-medium-emphasis);border-width:1px;border-style:solid;border-radius:var(--popover-radius);padding:var(--popover-padding-y) var(--popover-padding-x);position:absolute;top:0;left:0;z-index:1;box-shadow:var(--popover-shadow-1-x) var(--popover-shadow-1-y) var(--popover-shadow-1-blur) -2px var(--popover-shadow-1-opacity), var(--popover-shadow-2-x) var(--popover-shadow-2-y) var(--popover-shadow-2-blur) var(--shadow-spread-lg-2) var(--popover-shadow-2-opacity)}nv-popover>[data-scope=popover][hidden]:not([hidden=false]){display:none}nv-popover>[data-scope=popover][data-strategy=fixed]{position:fixed;z-index:9999}nv-popover>[data-scope=popover]>[data-scope=arrow]{background-color:var(--components-popover-background);position:absolute;border-color:var(--components-popover-border);border-width:1px;border-style:solid;border-bottom-color:transparent;border-right-color:transparent;width:8px;height:8px;transform:rotate(45deg);border-radius:1px}nv-popover>[data-scope=popover]>[slot=content]{position:relative;z-index:1}nv-popover>slot-fb{display:none}"}},[260,"nv-popover",{triggerElement:[1040],open:[1540],triggerMode:[513,"trigger-mode"],placement:[513],strategy:[513],groupName:[513,"group-name"],offset:[514],hasArrow:[516,"has-arrow"],disableFlip:[516,"disable-flip"],shiftPadding:[514,"shift-padding"],enterDelay:[514,"enter-delay"],nested:[516],show:[64],hide:[64],toggle:[64]},void 0,{open:[{handleOpenChange:0}],strategy:[{handleStrategyChange:0}]}]);function xt(){"undefined"!=typeof customElements&&["nv-popover"].forEach((t=>{"nv-popover"===t&&(customElements.get(e(t))||customElements.define(e(t),wt))}))}xt();export{wt as N,xt as d}
1
+ import{S as t,t as e,p as n,H as o,c as r,h as i,d as s}from"./p-flcatmxD.js";import{u as a}from"./p-9xYwU7ku.js";import{u as c}from"./p-D02w_Ru6.js";import"./p-Dz1GUhVy.js";import{a as l,r as u}from"./p-B6GgGra-.js";import{a as f}from"./p-CuXVGECR.js";const d=Math.min,h=Math.max,p=Math.round,m=t=>({x:t,y:t}),g={left:"right",right:"left",bottom:"top",top:"bottom"},y={start:"end",end:"start"};function v(t,e,n){return h(t,d(e,n))}function w(t,e){return"function"==typeof t?t(e):t}function b(t){return t.split("-")[0]}function x(t){return t.split("-")[1]}function k(t){return"x"===t?"y":"x"}function A(t){return"y"===t?"height":"width"}function T(t){return["top","bottom"].includes(b(t))?"y":"x"}function C(t){return k(T(t))}function O(t){return t.replace(/start|end/g,(t=>y[t]))}function S(t){return t.replace(/left|right|bottom|top/g,(t=>g[t]))}function j(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function D(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function P(t,e,n){let{reference:o,floating:r}=t;const i=T(e),s=C(e),a=A(s),c=b(e),l="y"===i,u=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,d=o[a]/2-r[a]/2;let h;switch(c){case"top":h={x:u,y:o.y-r.height};break;case"bottom":h={x:u,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-r.width,y:f};break;default:h={x:o.x,y:o.y}}switch(x(e)){case"start":h[s]-=d*(n&&l?-1:1);break;case"end":h[s]+=d*(n&&l?-1:1)}return h}async function R(t,e){var n;void 0===e&&(e={});const{x:o,y:r,platform:i,rects:s,elements:a,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=w(e,t),p=j(h),m=a[d?"floating"===f?"reference":"floating":f],g=D(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:l,rootBoundary:u,strategy:c})),y="floating"===f?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),b=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},x=D(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:v,strategy:c}):y);return{top:(g.top-x.top+p.top)/b.y,bottom:(x.bottom-g.bottom+p.bottom)/b.y,left:(g.left-x.left+p.left)/b.x,right:(x.right-g.right+p.right)/b.x}}function E(){return"undefined"!=typeof window}function M(t){return B(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function L(t){var e;return null==(e=(B(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function B(t){return!!E()&&(t instanceof Node||t instanceof F(t).Node)}function N(t){return!!E()&&(t instanceof Element||t instanceof F(t).Element)}function $(t){return!!E()&&(t instanceof HTMLElement||t instanceof F(t).HTMLElement)}function G(t){return!(!E()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof F(t).ShadowRoot)}function z(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=X(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(r)}function H(t){return["table","td","th"].includes(M(t))}function U(t){return[":popover-open",":modal"].some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function V(t){const e=W(),n=N(t)?X(t):t;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function W(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function I(t){return["html","body","#document"].includes(M(t))}function X(t){return F(t).getComputedStyle(t)}function Y(t){return N(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function _(t){if("html"===M(t))return t;const e=t.assignedSlot||t.parentNode||G(t)&&t.host||L(t);return G(e)?e.host:e}function K(t){const e=_(t);return I(e)?t.ownerDocument?t.ownerDocument.body:t.body:$(e)&&z(e)?e:K(e)}function q(t,e){var n;void 0===e&&(e=[]);const o=K(t),r=o===(null==(n=t.ownerDocument)?void 0:n.body),i=F(o);return r?e.concat(i,i.visualViewport||[],z(o)?o:[],[]):e.concat(o,q(o,[]))}function J(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Q(t){const e=X(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=$(t),i=r?t.offsetWidth:n,s=r?t.offsetHeight:o,a=p(n)!==i||p(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}function Z(t){return N(t)?t:t.contextElement}function tt(t){const e=Z(t);if(!$(e))return m(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=Q(e);let s=(i?p(n.width):n.width)/o,a=(i?p(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const et=m(0);function nt(t){const e=F(t);return W()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:et}function ot(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const r=t.getBoundingClientRect(),i=Z(t);let s=m(1);e&&(o?N(o)&&(s=tt(o)):s=tt(t));const a=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==F(t))&&e}(i,n,o)?nt(i):m(0);let c=(r.left+a.x)/s.x,l=(r.top+a.y)/s.y,u=r.width/s.x,f=r.height/s.y;if(i){const t=F(i),e=o&&N(o)?F(o):o;let n=t,r=J(n);for(;r&&o&&e!==n;){const t=tt(r),e=r.getBoundingClientRect(),o=X(r),i=e.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,s=e.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,l*=t.y,u*=t.x,f*=t.y,c+=i,l+=s,n=F(r),r=J(n)}}return D({width:u,height:f,x:c,y:l})}function rt(t,e){const n=Y(t).scrollLeft;return e?e.left+n:ot(L(t)).left+n}function it(t,e,n){let o;if("viewport"===e)o=function(t,e){const n=F(t),o=L(t),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,a=0,c=0;if(r){i=r.width,s=r.height;const t=W();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,c=r.offsetTop)}return{width:i,height:s,x:a,y:c}}(t,n);else if("document"===e)o=function(t){const e=L(t),n=Y(t),o=t.ownerDocument.body,r=h(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=h(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+rt(t);const a=-n.scrollTop;return"rtl"===X(o).direction&&(s+=h(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:a}}(L(t));else if(N(e))o=function(t,e){const n=ot(t,!0,"fixed"===e),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=$(t)?tt(t):m(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(e,n);else{const n=nt(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return D(o)}function st(t,e){const n=_(t);return!(n===e||!N(n)||I(n))&&("fixed"===X(n).position||st(n,e))}function at(t,e,n){const o=$(e),r=L(e),i="fixed"===n,s=ot(t,!0,i,e);let a={scrollLeft:0,scrollTop:0};const c=m(0);if(o||!o&&!i)if(("body"!==M(e)||z(r))&&(a=Y(e)),o){const t=ot(e,!0,i,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else r&&(c.x=rt(r));let l=0,u=0;if(r&&!o&&!i){const t=r.getBoundingClientRect();u=t.top+a.scrollTop,l=t.left+a.scrollLeft-rt(r,t)}return{x:s.left+a.scrollLeft-c.x-l,y:s.top+a.scrollTop-c.y-u,width:s.width,height:s.height}}function ct(t){return"static"===X(t).position}function lt(t,e){if(!$(t)||"fixed"===X(t).position)return null;if(e)return e(t);let n=t.offsetParent;return L(t)===n&&(n=n.ownerDocument.body),n}function ut(t,e){const n=F(t);if(U(t))return n;if(!$(t)){let e=_(t);for(;e&&!I(e);){if(N(e)&&!ct(e))return e;e=_(e)}return n}let o=lt(t,e);for(;o&&H(o)&&ct(o);)o=lt(o,e);return o&&I(o)&&ct(o)&&!V(o)?n:o||function(t){let e=_(t);for(;$(e)&&!I(e);){if(V(e))return e;if(U(e))return null;e=_(e)}return null}(t)||n}const ft={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i="fixed"===r,s=L(o),a=!!e&&U(e.floating);if(o===s||a&&i)return n;let c={scrollLeft:0,scrollTop:0},l=m(1);const u=m(0),f=$(o);if((f||!f&&!i)&&(("body"!==M(o)||z(s))&&(c=Y(o)),$(o))){const t=ot(o);l=tt(o),u.x=t.x+o.clientLeft,u.y=t.y+o.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x,y:n.y*l.y-c.scrollTop*l.y+u.y}},getDocumentElement:L,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===n?U(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let o=q(t,[]).filter((t=>N(t)&&"body"!==M(t))),r=null;const i="fixed"===X(t).position;let s=i?_(t):t;for(;N(s)&&!I(s);){const e=X(s),n=V(s);n||"fixed"!==e.position||(r=null),(i?!n&&!r:!n&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||z(s)&&!n&&st(t,s))?o=o.filter((t=>t!==s)):r=e,s=_(s)}return e.set(t,o),o}(e,this._c):[].concat(n),o],s=i.reduce(((t,n)=>{const o=it(e,n,r);return t.top=h(o.top,t.top),t.right=d(o.right,t.right),t.bottom=d(o.bottom,t.bottom),t.left=h(o.left,t.left),t}),it(e,i[0],r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ut,getElementRects:async function(t){const e=this.getOffsetParent||ut,n=this.getDimensions,o=await n(t.floating);return{reference:at(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=Q(t);return{width:e,height:n}},getScale:tt,isElement:N,isRTL:function(t){return"rtl"===X(t).direction}},dt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=w(t,e),l={x:n,y:o},u=await R(e,c),f=T(b(r)),d=k(f);let h=l[d],p=l[f];i&&(h=v(h+u["y"===d?"top":"left"],h,h-u["y"===d?"bottom":"right"])),s&&(p=v(p+u["y"===f?"top":"left"],p,p-u["y"===f?"bottom":"right"]));const m=a.fn({...e,[d]:h,[f]:p});return{...m,data:{x:m.x-n,y:m.y-o}}}}},ht=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:a,platform:c,elements:l}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...g}=w(t,e);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const y=b(r),v=b(a)===a,k=await(null==c.isRTL?void 0:c.isRTL(l.floating)),T=d||(v||!m?[S(a)]:function(t){const e=S(t);return[O(t),e,O(e)]}(a));d||"none"===p||T.push(...function(t,e,n,o){const r=x(t);let i=function(t,e,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?r:o:e?o:r;case"left":case"right":return e?i:s;default:return[]}}(b(t),"start"===n,o);return r&&(i=i.map((t=>t+"-"+r)),e&&(i=i.concat(i.map(O)))),i}(a,m,p,k));const j=[a,...T],D=await R(e,g),P=[];let E=(null==(o=i.flip)?void 0:o.overflows)||[];if(u&&P.push(D[y]),f){const t=function(t,e,n){void 0===n&&(n=!1);const o=x(t),r=C(t),i=A(r);let s="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=S(s)),[s,S(s)]}(r,s,k);P.push(D[t[0]],D[t[1]])}if(E=[...E,{placement:r,overflows:P}],!P.every((t=>t<=0))){var M,F;const t=((null==(M=i.flip)?void 0:M.index)||0)+1,e=j[t];if(e)return{data:{index:t,overflows:E},reset:{placement:e}};let n=null==(F=E.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:F.placement;if(!n)switch(h){case"bestFit":{var L;const t=null==(L=E.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:L[0];t&&(n=t);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}},pt=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:s,elements:a,middlewareData:c}=e,{element:l,padding:u=0}=w(t,e)||{};if(null==l)return{};const f=j(u),h={x:n,y:o},p=C(r),m=A(p),g=await s.getDimensions(l),y="y"===p,b=y?"top":"left",k=y?"bottom":"right",T=y?"clientHeight":"clientWidth",O=i.reference[m]+i.reference[p]-h[p]-i.floating[m],S=h[p]-i.reference[p],D=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l));let P=D?D[T]:0;P&&await(null==s.isElement?void 0:s.isElement(D))||(P=a.floating[T]||i.floating[m]);const R=O/2-S/2,E=P/2-g[m]/2-1,M=d(f[b],E),F=d(f[k],E),L=M,B=P-g[m]-F,N=P/2-g[m]/2+R,$=v(L,N,B),G=!c.arrow&&null!=x(r)&&N!==$&&i.reference[m]/2-(N<L?M:F)-g[m]/2<0,z=G?N<L?N-L:N-B:0;return{[p]:h[p]+z,data:{[p]:$,centerOffset:N-$-z,...G&&{alignmentOffset:z}},reset:G}}}),mt=(()=>{let t;return(...e)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let e of t.keys()){const n=t.get(e).filter((t=>{const e=t.deref();return e&&(!("isConnected"in(n=e))||n.isConnected);var n}));t.set(e,n)}})(...e)}),2e3)}})(),gt=t.forceUpdate,yt=t.getRenderingRef,vt=(t,e)=>{const n=t.indexOf(e);n>=0&&(t[n]=t[t.length-1],t.length--)},{state:wt}=(()=>{const t=((t,e=(t,e)=>t!==e)=>{const n=()=>{return("function"==typeof(e=t)?e():e)??{};var e},o=n();let r=new Map(Object.entries(o));const i="undefined"!=typeof Proxy,s=i?null:{},a={dispose:[],get:[],set:[],reset:[]},c=new Map,l=()=>{r=new Map(Object.entries(n())),i||m(),a.reset.forEach((t=>t()))},u=t=>(a.get.forEach((e=>e(t))),r.get(t)),f=(t,n)=>{const o=r.get(t);e(n,o,t)&&(r.set(t,n),i||p(t),a.set.forEach((e=>e(t,n,o))))},d=i?new Proxy(o,{get:(t,e)=>u(e),ownKeys:()=>Array.from(r.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,e)=>r.has(e),set:(t,e,n)=>(f(e,n),!0)}):(m(),s),h=(t,e)=>(a[t].push(e),()=>{vt(a[t],e)});function p(t){!i&&s&&(Object.prototype.hasOwnProperty.call(s,t)||Object.defineProperty(s,t,{configurable:!0,enumerable:!0,get:()=>u(t),set(e){f(t,e)}}))}function m(){if(i||!s)return;const t=new Set(r.keys());for(const e of Object.keys(s))t.has(e)||delete s[e];for(const e of t)p(e)}return{state:d,get:u,set:f,on:h,onChange:(t,e)=>{const o=(n,o)=>{n===t&&e(o)},r=()=>{const o=n();e(o[t])},i=h("set",o),s=h("reset",r);return c.set(e,{setHandler:o,resetHandler:r,propName:t}),()=>{i(),s(),c.delete(e)}},use:(...t)=>{const e=t.reduce(((t,e)=>(e.set&&t.push(h("set",e.set)),e.get&&t.push(h("get",e.get)),e.reset&&t.push(h("reset",e.reset)),e.dispose&&t.push(h("dispose",e.dispose)),t)),[]);return()=>e.forEach((t=>t()))},dispose:()=>{a.dispose.forEach((t=>t())),l()},reset:l,forceUpdate:t=>{const e=r.get(t);a.set.forEach((n=>n(t,e,e)))},removeListener:(t,e)=>{const n=c.get(e);n&&n.propName===t&&(vt(a.set,n.setHandler),vt(a.reset,n.resetHandler),c.delete(e))}}})({groups:new Map},void 0);return t.use((()=>{if("function"!=typeof yt||"function"!=typeof gt)return{};const t=gt,e=yt,n=new Map;return{dispose:()=>n.clear(),get:t=>{const o=e();o&&((t,e,n)=>{let o=t.get(e);o||(o=[],t.set(e,o)),o.some((t=>t.deref()===n))||o.push(new WeakRef(n))})(n,t,o)},set:e=>{const o=n.get(e);if(o){const r=o.filter((e=>{const n=e.deref();return!!n&&t(n)}));n.set(e,r)}mt(n)},reset:()=>{n.forEach((e=>{e.forEach((e=>{const n=e.deref();n&&t(n)}))})),mt(n)}}})()),t})(),bt=n(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.openChanged=r(this,"openChanged",3),this.eventsAttached=!1,this.isAnimating=!1,this.clickEvents=[["click",()=>this.open=!this.open]],this.hoverEvents=[["focus",()=>{clearTimeout(this.hideTimeout),this.showTimeout=setTimeout((()=>this.open=!0),this.enterDelay)}],["blur",()=>{clearTimeout(this.showTimeout),this.hideTimeout=setTimeout((()=>this.open=!1),50)}],["mouseenter",()=>{clearTimeout(this.hideTimeout),this.showTimeout=setTimeout((()=>this.open=!0),this.enterDelay)}],["mouseleave",()=>{clearTimeout(this.showTimeout),this.hideTimeout=setTimeout((()=>this.open=!1),100)}]],this.closeEvents=[["keydown",t=>{"Escape"===t.key&&"controlled"!==this.triggerMode&&(this.open=!1)}]],this.open=!1,this.triggerMode="click",this.placement="bottom",this.strategy="absolute",this.offset=6,this.hasArrow=!1,this.disableFlip=!1,this.shiftPadding=0,this.enterDelay=0,this.nested=!1,this.handleClickOutside=t=>{this.el.contains(t.target)||this.triggerElement?.contains(t.target)||(this.open=!1)},this.outsideClickEvents=[["click",this.handleClickOutside],["touchstart",this.handleClickOutside]]}async show(){this.open=!0}async hide(){this.open=!1}async toggle(){this.open=!this.open}attachEventListeners(){this.triggerElement&&!this.eventsAttached&&(l(this.closeEvents,document,this),"click"===this.triggerMode&&(l(this.clickEvents,this.triggerElement,this),l(this.outsideClickEvents,document,this)),"hover"===this.triggerMode&&l(this.hoverEvents,this.triggerElement,this),this.eventsAttached=!0)}positionPopover(){var t;this.triggerElement&&((t,e,n)=>{const o=new Map,r={platform:ft,...n},i={...r.platform,_c:o};return(async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),c=await(null==s.isRTL?void 0:s.isRTL(e));let l=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:u,y:f}=P(l,o,c),d=o,h={},p=0;for(let n=0;n<a.length;n++){const{name:i,fn:m}=a[n],{x:g,y,data:v,reset:w}=await m({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:h,rects:l,platform:s,elements:{reference:t,floating:e}});u=null!=g?g:u,f=null!=y?y:f,h={...h,[i]:{...h[i],...v}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(l=!0===w.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):w.rects),({x:u,y:f}=P(l,d,c))),n=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:i})})(f(this.triggerElement),this.popoverElement,{placement:this.placement,strategy:this.strategy,middleware:[(t=this.offset,void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:s,middlewareData:a}=e,c=await async function(t,e){const{placement:n,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),s=b(n),a=x(n),c="y"===T(n),l=["left","top"].includes(s)?-1:1,u=i&&c?-1:1,f=w(e,t);let{mainAxis:d,crossAxis:h,alignmentAxis:p}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&"number"==typeof p&&(h="end"===a?-1*p:p),c?{x:h*u,y:d*l}:{x:d*l,y:h*u}}(e,t);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:r+c.x,y:i+c.y,data:{...c,placement:s}}}}),!this.disableFlip&&ht({fallbackStrategy:"bestFit",crossAxis:!0,fallbackPlacements:["bottom"]}),dt({padding:this.shiftPadding}),this.hasArrow&&pt({element:this.arrowElement})]}).then((({x:t,y:e,placement:n,middlewareData:o,strategy:r})=>{if(Object.assign(this.popoverElement.style,{left:`${t}px`,top:`${e}px`,position:r}),this.hasArrow){const t={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]],e={top:"rotate(225deg)",right:"rotate(315deg)",bottom:"rotate(45deg)",left:"rotate(135deg)"}[n.split("-")[0]],{x:r,y:i}=o.arrow;Object.assign(this.arrowElement.style,{left:null!=r?`${r}px`:"",top:null!=i?`${i}px`:"",right:"",bottom:"",transform:e,[t]:"-4px"})}}))}async handleOpenChange(t){for(;this.isAnimating;)await new Promise((t=>setTimeout(t,50)));this.isAnimating=!0;const e=wt.groups.get(this.groupName),n=e&&e.openedBy!==this.el,o=e&&e.openedBy===this.el;t&&this.popoverElement.style.removeProperty("display"),o&&!t&&wt.groups.delete(this.groupName),this.groupName&&t&&wt.groups.set(this.groupName,{openedBy:this.el});const{growIn:r}=c(this.popoverElement,{duration:n?0:100,amount:.85}),{fadeOut:i}=a(this.popoverElement,{duration:n?0:100});!0===t&&(this.popoverElement.removeAttribute("hidden"),this.positionPopover(),await r()),!1===t&&(await i(),this.popoverElement.setAttribute("hidden","")),this.isAnimating=!1,this.openChanged.emit(t)}handleStrategyChange(){this.open&&this.positionPopover()}componentWillRender(){this.triggerElement||(this.triggerElement=this.el.querySelector('[slot="trigger"]')),this.attachEventListeners()}componentDidLoad(){if(this.open){const{setFadeIn:t}=a(this.popoverElement);t(),this.popoverElement.removeAttribute("hidden")}else{const{setGrowOut:t}=c(this.popoverElement);t()}this.positionPopover()}disconnectedCallback(){u(this.closeEvents,document,this),"click"===this.triggerMode&&(u(this.clickEvents,this.triggerElement,this),u(this.outsideClickEvents,document,this)),"hover"===this.triggerMode&&u(this.hoverEvents,this.triggerElement,this),this.eventsAttached=!1,this.hideTimeout&&clearTimeout(this.hideTimeout),this.showTimeout&&clearTimeout(this.showTimeout)}render(){return i(s,{key:"8f9429a26146be5feff838bff9861c8016bcae72"},i("slot",{key:"507917d729f202d0ec29e2011b0aae958a4474b5",name:"trigger"}),i("div",{key:"cc85ae4610b0554b2cddd2fb62a8e8df5b8de21f","data-scope":"popover","data-strategy":this.strategy,hidden:!0,ref:t=>this.popoverElement=t},this.hasArrow&&i("div",{key:"e53a79dc2a4d439271d55391ad087c0db8abaf19","data-scope":"arrow",ref:t=>this.arrowElement=t}),i("slot",{key:"ef72627c588727dff2f558133d46e1689a89fc24",name:"content"})))}get el(){return this}static get watchers(){return{open:[{handleOpenChange:0}],strategy:[{handleStrategyChange:0}]}}static get style(){return"nv-popover{display:inline-block;position:relative}nv-popover:has([fluid]:not([fluid=false])){display:block}nv-popover[strategy=fixed]{position:static}nv-popover>[data-scope=popover]{width:max-content;background-color:var(--components-popover-background);border-color:var(--components-popover-border);font-weight:var(--font-weight-medium-emphasis);border-width:1px;border-style:solid;border-radius:var(--popover-radius);padding:var(--popover-padding-y) var(--popover-padding-x);position:absolute;top:0;left:0;z-index:1;box-shadow:var(--popover-shadow-1-x) var(--popover-shadow-1-y) var(--popover-shadow-1-blur) -2px var(--popover-shadow-1-opacity), var(--popover-shadow-2-x) var(--popover-shadow-2-y) var(--popover-shadow-2-blur) var(--shadow-spread-lg-2) var(--popover-shadow-2-opacity)}nv-popover>[data-scope=popover][hidden]:not([hidden=false]){display:none}nv-popover>[data-scope=popover][data-strategy=fixed]{position:fixed;z-index:9999}nv-popover>[data-scope=popover]>[data-scope=arrow]{background-color:var(--components-popover-background);position:absolute;border-color:var(--components-popover-border);border-width:1px;border-style:solid;border-bottom-color:transparent;border-right-color:transparent;width:8px;height:8px;transform:rotate(45deg);border-radius:1px}nv-popover>[data-scope=popover]>[slot=content]{position:relative;z-index:1}nv-popover>slot-fb{display:none}"}},[260,"nv-popover",{triggerElement:[1040],open:[1540],triggerMode:[513,"trigger-mode"],placement:[513],strategy:[513],groupName:[513,"group-name"],offset:[514],hasArrow:[516,"has-arrow"],disableFlip:[516,"disable-flip"],shiftPadding:[514,"shift-padding"],enterDelay:[514,"enter-delay"],nested:[516],show:[64],hide:[64],toggle:[64]},void 0,{open:[{handleOpenChange:0}],strategy:[{handleStrategyChange:0}]}]);function xt(){"undefined"!=typeof customElements&&["nv-popover"].forEach((t=>{"nv-popover"===t&&(customElements.get(e(t))||customElements.define(e(t),bt))}))}xt();export{bt as N,xt as d}
@@ -1 +1 @@
1
- import{t as o,p as n,H as t,h as e,d as i}from"./p-6nAIGZFL.js";import{c as s}from"./p-ChV9xqsO.js";import{d as a}from"./p-CV12ukSl.js";import{d as r}from"./p-T-bBxAoT.js";const c=n(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.internals=this.attachInternals(),this.size="md",this.emphasis="high",this.loading=!1,this.disabled=!1,this.active=!1,this.type="button",this.shape="square",this.disableTabindex=!1,this.handleClick=o=>{this.disabled?o.preventDefault():("submit"===this.type&&this.internals?.form?.requestSubmit(),"reset"===this.type&&this.internals?.form?.reset())}}handleLoadingChange(o){this.loading=o,this.disabled=o}handleDisabledChange(o){this.disabled=this.loading?this.loading:o}handleKeyDown(o){"Enter"!==o.key&&" "!==o.key||(o.preventDefault(),this.el.click())}handleTouchStart(o){o.touches.length>1||(o.preventDefault(),this.el.click())}componentWillLoad(){this.loading&&(this.disabled=this.loading)}render(){return e(i,{key:"e63c932f14d3b673d43ed48f61bb37a48605338d",role:"button",type:this.type,tabindex:this.disableTabindex?-1:0,disabled:!!this.disabled||void 0,class:s("root",`size-${this.size}`,`emphasis-${this.emphasis}`,this.loading&&"loading",`shape-${this.shape}`),onClick:this.handleClick},this.loading&&e("nv-loader",{key:"22ea154dce89eae701d873674a8bc6b2cecbcab9",size:this.size}),!this.loading&&e("nv-icon",{key:"f05c05c455e62d27aed57de09efd32230f68c450",name:this.name,size:this.size}),e("slot",{key:"a1a163e56c8c027d0df2a019f77c187c6abbd91a"}))}static get formAssociated(){return!0}get el(){return this}static get watchers(){return{loading:[{handleLoadingChange:0}],disabled:[{handleDisabledChange:0}]}}static get style(){return"nv-iconbutton.root{display:inline-flex;justify-content:center;align-items:center;font-style:normal;font-weight:var(--font-weight-medium-emphasis);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;transition:background-color 150ms ease-out;height:fit-content;width:fit-content}nv-iconbutton.size-xs{padding:calc(var(--button-xs-icon-button-padding) - 1px);gap:var(--button-xs-gap);border-radius:var(--button-xs-border-radius);line-height:var(--button-xs-line-height);font-size:var(--button-xs-font-size)}nv-iconbutton.size-sm{padding:calc(var(--button-sm-icon-button-padding) - 1px);gap:var(--button-sm-gap);border-radius:var(--button-sm-border-radius);line-height:var(--button-sm-line-height);font-size:var(--button-sm-font-size)}nv-iconbutton.size-md{padding:calc(var(--button-md-icon-button-padding) - 1px);gap:var(--button-md-gap);border-radius:var(--button-md-border-radius);line-height:var(--button-md-line-height);font-size:var(--button-md-font-size)}nv-iconbutton.size-lg{padding:calc(var(--button-lg-icon-button-padding) - 1px);gap:var(--button-lg-gap);border-radius:var(--button-lg-border-radius);line-height:var(--button-lg-line-height);font-size:var(--button-lg-font-size)}nv-iconbutton.emphasis-high{background:var(--components-button-high-background);border:1px solid var(--components-button-high-border);color:var(--components-button-high-text)}nv-iconbutton.emphasis-high:hover{background:var(--components-button-high-background-hover);color:var(--components-button-high-text-hover)}nv-iconbutton.emphasis-high:focus,nv-iconbutton.emphasis-high:focus-within{outline:none}nv-iconbutton.emphasis-high:focus-visible,nv-iconbutton.emphasis-high:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-iconbutton.emphasis-high:disabled{background:var(--components-button-high-background);color:var(--components-button-high-text);opacity:0.5;cursor:not-allowed;box-shadow:none}nv-iconbutton.emphasis-high nv-icon>svg{color:var(--components-button-high-icon)}nv-iconbutton.emphasis-medium{background:var(--components-button-medium-background);border:1px solid var(--components-button-medium-border);color:var(--components-button-medium-text)}nv-iconbutton.emphasis-medium:hover{background:var(--components-button-medium-background-hover);color:var(--components-button-medium-text-hover)}nv-iconbutton.emphasis-medium:focus,nv-iconbutton.emphasis-medium:focus-within{outline:none}nv-iconbutton.emphasis-medium:focus-visible,nv-iconbutton.emphasis-medium:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-iconbutton.emphasis-medium:disabled{background:var(--components-button-medium-background);color:var(--components-button-medium-text);opacity:0.5;cursor:not-allowed;box-shadow:none}nv-iconbutton.emphasis-medium nv-icon>svg{color:var(--components-button-medium-icon)}nv-iconbutton.emphasis-low{background:var(--components-button-low-background);border:1px solid var(--components-button-low-border);color:var(--components-button-low-text)}nv-iconbutton.emphasis-low:hover{background:var(--components-button-low-background-hover);color:var(--components-button-low-text-hover)}nv-iconbutton.emphasis-low:focus,nv-iconbutton.emphasis-low:focus-within{outline:none}nv-iconbutton.emphasis-low:focus-visible,nv-iconbutton.emphasis-low:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-iconbutton.emphasis-low:disabled{background:var(--components-button-low-background);color:var(--components-button-low-text);opacity:0.5;cursor:not-allowed;box-shadow:none}nv-iconbutton.emphasis-low nv-icon>svg{color:var(--components-button-low-icon)}nv-iconbutton.emphasis-lower{background:var(--components-button-lower-background);border:1px solid var(--components-button-lower-border);color:var(--components-button-lower-text)}nv-iconbutton.emphasis-lower:hover{background:var(--components-button-lower-background-hover);color:var(--components-button-lower-text-hover)}nv-iconbutton.emphasis-lower:focus,nv-iconbutton.emphasis-lower:focus-within{outline:none}nv-iconbutton.emphasis-lower:focus-visible,nv-iconbutton.emphasis-lower:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-iconbutton.emphasis-lower:disabled{background:var(--components-button-lower-background);color:var(--components-button-lower-text);opacity:0.5;cursor:not-allowed;box-shadow:none}nv-iconbutton.emphasis-lower nv-icon>svg{color:var(--components-button-lower-icon)}nv-iconbutton.loading [slot=leading-icon]{display:none}nv-iconbutton.shape-rounded{border-radius:var(--radius-rounded-full)}"}},[324,"nv-iconbutton",{size:[513],emphasis:[513],loading:[1540],disabled:[1540],active:[516],name:[513],type:[513],shape:[513],disableTabindex:[516,"disable-tabindex"]},[[0,"keydown","handleKeyDown"],[0,"touchstart","handleTouchStart"]],{loading:[{handleLoadingChange:0}],disabled:[{handleDisabledChange:0}]}]);function u(){"undefined"!=typeof customElements&&["nv-iconbutton","nv-icon","nv-loader"].forEach((n=>{switch(n){case"nv-iconbutton":customElements.get(o(n))||customElements.define(o(n),c);break;case"nv-icon":customElements.get(o(n))||a();break;case"nv-loader":customElements.get(o(n))||r()}}))}u();export{c as N,u as d}
1
+ import{t as o,p as n,H as t,h as e,d as i}from"./p-flcatmxD.js";import{c as s}from"./p-ChV9xqsO.js";import{d as a}from"./p-DKgmDzJ1.js";import{d as r}from"./p-D3JDACHw.js";const c=n(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.internals=this.attachInternals(),this.size="md",this.emphasis="high",this.loading=!1,this.disabled=!1,this.active=!1,this.type="button",this.shape="square",this.disableTabindex=!1,this.handleClick=o=>{this.disabled?o.preventDefault():("submit"===this.type&&this.internals?.form?.requestSubmit(),"reset"===this.type&&this.internals?.form?.reset())}}handleLoadingChange(o){this.loading=o,this.disabled=o}handleDisabledChange(o){this.disabled=this.loading?this.loading:o}handleKeyDown(o){"Enter"!==o.key&&" "!==o.key||(o.preventDefault(),this.el.click())}handleTouchStart(o){o.touches.length>1||(o.preventDefault(),this.el.click())}componentWillLoad(){this.loading&&(this.disabled=this.loading)}render(){return e(i,{key:"e05d654ad6c926e4bc481f52b4b0290ea9fefad0",role:"button",type:this.type,tabindex:this.disableTabindex?-1:0,disabled:!!this.disabled||void 0,class:s("root",`size-${this.size}`,`emphasis-${this.emphasis}`,this.loading&&"loading",`shape-${this.shape}`),onClick:this.handleClick},this.loading&&e("nv-loader",{key:"9da63b0c9d3ef9cb0b5f53a86fa7389ab43dd43c",size:this.size}),!this.loading&&e("nv-icon",{key:"0cbf1eceb063dbfa995a5c9d8a426580b46e9a24",name:this.name,size:this.size}),e("slot",{key:"eaddd1e0e0a1080461e4990d4b83f2c79340ecc4"}))}static get formAssociated(){return!0}get el(){return this}static get watchers(){return{loading:[{handleLoadingChange:0}],disabled:[{handleDisabledChange:0}]}}static get style(){return"nv-iconbutton.root{display:inline-flex;justify-content:center;align-items:center;font-style:normal;font-weight:var(--font-weight-medium-emphasis);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;transition:background-color 150ms ease-out;height:fit-content;width:fit-content}nv-iconbutton.size-xs{padding:calc(var(--button-xs-icon-button-padding) - 1px);gap:var(--button-xs-gap);border-radius:var(--button-xs-border-radius);line-height:var(--button-xs-line-height);font-size:var(--button-xs-font-size)}nv-iconbutton.size-sm{padding:calc(var(--button-sm-icon-button-padding) - 1px);gap:var(--button-sm-gap);border-radius:var(--button-sm-border-radius);line-height:var(--button-sm-line-height);font-size:var(--button-sm-font-size)}nv-iconbutton.size-md{padding:calc(var(--button-md-icon-button-padding) - 1px);gap:var(--button-md-gap);border-radius:var(--button-md-border-radius);line-height:var(--button-md-line-height);font-size:var(--button-md-font-size)}nv-iconbutton.size-lg{padding:calc(var(--button-lg-icon-button-padding) - 1px);gap:var(--button-lg-gap);border-radius:var(--button-lg-border-radius);line-height:var(--button-lg-line-height);font-size:var(--button-lg-font-size)}nv-iconbutton.emphasis-high{background:var(--components-button-high-background);border:1px solid var(--components-button-high-border);color:var(--components-button-high-text)}nv-iconbutton.emphasis-high:hover{background:var(--components-button-high-background-hover);color:var(--components-button-high-text-hover)}nv-iconbutton.emphasis-high:focus,nv-iconbutton.emphasis-high:focus-within{outline:none}nv-iconbutton.emphasis-high:focus-visible,nv-iconbutton.emphasis-high:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-iconbutton.emphasis-high:disabled{background:var(--components-button-high-background);color:var(--components-button-high-text);opacity:0.5;cursor:not-allowed;box-shadow:none}nv-iconbutton.emphasis-high nv-icon>svg{color:var(--components-button-high-icon)}nv-iconbutton.emphasis-medium{background:var(--components-button-medium-background);border:1px solid var(--components-button-medium-border);color:var(--components-button-medium-text)}nv-iconbutton.emphasis-medium:hover{background:var(--components-button-medium-background-hover);color:var(--components-button-medium-text-hover)}nv-iconbutton.emphasis-medium:focus,nv-iconbutton.emphasis-medium:focus-within{outline:none}nv-iconbutton.emphasis-medium:focus-visible,nv-iconbutton.emphasis-medium:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-iconbutton.emphasis-medium:disabled{background:var(--components-button-medium-background);color:var(--components-button-medium-text);opacity:0.5;cursor:not-allowed;box-shadow:none}nv-iconbutton.emphasis-medium nv-icon>svg{color:var(--components-button-medium-icon)}nv-iconbutton.emphasis-low{background:var(--components-button-low-background);border:1px solid var(--components-button-low-border);color:var(--components-button-low-text)}nv-iconbutton.emphasis-low:hover{background:var(--components-button-low-background-hover);color:var(--components-button-low-text-hover)}nv-iconbutton.emphasis-low:focus,nv-iconbutton.emphasis-low:focus-within{outline:none}nv-iconbutton.emphasis-low:focus-visible,nv-iconbutton.emphasis-low:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-iconbutton.emphasis-low:disabled{background:var(--components-button-low-background);color:var(--components-button-low-text);opacity:0.5;cursor:not-allowed;box-shadow:none}nv-iconbutton.emphasis-low nv-icon>svg{color:var(--components-button-low-icon)}nv-iconbutton.emphasis-lower{background:var(--components-button-lower-background);border:1px solid var(--components-button-lower-border);color:var(--components-button-lower-text)}nv-iconbutton.emphasis-lower:hover{background:var(--components-button-lower-background-hover);color:var(--components-button-lower-text-hover)}nv-iconbutton.emphasis-lower:focus,nv-iconbutton.emphasis-lower:focus-within{outline:none}nv-iconbutton.emphasis-lower:focus-visible,nv-iconbutton.emphasis-lower:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-iconbutton.emphasis-lower:disabled{background:var(--components-button-lower-background);color:var(--components-button-lower-text);opacity:0.5;cursor:not-allowed;box-shadow:none}nv-iconbutton.emphasis-lower nv-icon>svg{color:var(--components-button-lower-icon)}nv-iconbutton.loading [slot=leading-icon]{display:none}nv-iconbutton.shape-rounded{border-radius:var(--radius-rounded-full)}"}},[324,"nv-iconbutton",{size:[513],emphasis:[513],loading:[1540],disabled:[1540],active:[516],name:[513],type:[513],shape:[513],disableTabindex:[516,"disable-tabindex"]},[[0,"keydown","handleKeyDown"],[0,"touchstart","handleTouchStart"]],{loading:[{handleLoadingChange:0}],disabled:[{handleDisabledChange:0}]}]);function u(){"undefined"!=typeof customElements&&["nv-iconbutton","nv-icon","nv-loader"].forEach((n=>{switch(n){case"nv-iconbutton":customElements.get(o(n))||customElements.define(o(n),c);break;case"nv-icon":customElements.get(o(n))||a();break;case"nv-loader":customElements.get(o(n))||r()}}))}u();export{c as N,u as d}