@nova-design-system/nova-webcomponents 3.0.0-beta.20 → 3.0.0-beta.21

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 (219) hide show
  1. package/dist/blazor-docs.json +9342 -0
  2. package/dist/cjs/{app-globals-8dbc03be.js → app-globals-2ceecab2.js} +2 -2
  3. package/dist/cjs/{app-globals-8dbc03be.js.map → app-globals-2ceecab2.js.map} +1 -1
  4. package/dist/cjs/{index-b925c7f5.js → index-5d1f2412.js} +6 -20
  5. package/dist/cjs/index-5d1f2412.js.map +1 -0
  6. package/dist/cjs/loader.cjs.js +3 -3
  7. package/dist/cjs/native.cjs.js +3 -3
  8. package/dist/cjs/nv-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/nv-avatar.cjs.entry.js +1 -1
  10. package/dist/cjs/nv-badge.cjs.entry.js +1 -1
  11. package/dist/cjs/nv-base.cjs.entry.js +1 -1
  12. package/dist/cjs/nv-button.cjs.entry.js +1 -1
  13. package/dist/cjs/nv-col.cjs.entry.js +1 -1
  14. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +1 -1
  15. package/dist/cjs/nv-fieldnumber.cjs.entry.js +4 -4
  16. package/dist/cjs/nv-fieldpassword.cjs.entry.js +4 -4
  17. package/dist/cjs/nv-fieldradio.cjs.entry.js +4 -4
  18. package/dist/cjs/nv-fieldselect.cjs.entry.js +6 -6
  19. package/dist/cjs/nv-fieldtext.cjs.entry.js +4 -4
  20. package/dist/cjs/nv-fieldtextarea.cjs.entry.js +4 -4
  21. package/dist/cjs/nv-fieldtoggle.cjs.entry.js +3 -3
  22. package/dist/cjs/nv-icon.cjs.entry.js +2 -2
  23. package/dist/cjs/nv-icon.cjs.entry.js.map +1 -1
  24. package/dist/cjs/nv-iconbutton.cjs.entry.js +2 -2
  25. package/dist/cjs/nv-loader.cjs.entry.js +2 -2
  26. package/dist/cjs/nv-menu.cjs.entry.js +2 -2
  27. package/dist/cjs/nv-menuitem.cjs.entry.js +1 -1
  28. package/dist/cjs/nv-popover.cjs.entry.js +2 -2
  29. package/dist/cjs/nv-row.cjs.entry.js +2 -2
  30. package/dist/cjs/nv-stack.cjs.entry.js +2 -2
  31. package/dist/cjs/nv-tooltip.cjs.entry.js +2 -2
  32. package/dist/collection/collection-manifest.json +0 -2
  33. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +3 -3
  34. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +3 -3
  35. package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
  36. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
  37. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +3 -3
  38. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
  39. package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.js +2 -2
  40. package/dist/collection/components/nv-icon/nv-icon.js +2 -2
  41. package/dist/collection/components/nv-icon/nv-icon.js.map +1 -1
  42. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
  43. package/dist/collection/components/nv-loader/nv-loader.js +1 -1
  44. package/dist/collection/components/nv-menu/nv-menu.js +1 -1
  45. package/dist/collection/components/nv-popover/nv-popover.js +1 -1
  46. package/dist/collection/components/nv-row/nv-row.js +1 -1
  47. package/dist/collection/components/nv-stack/nv-stack.js +1 -1
  48. package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
  49. package/dist/components/index.js +3 -3
  50. package/dist/components/nv-alert.js +2 -2
  51. package/dist/components/nv-avatar.js +2 -2
  52. package/dist/components/nv-badge.js +2 -2
  53. package/dist/components/nv-base.js +1 -1
  54. package/dist/components/nv-button.js +2 -2
  55. package/dist/components/nv-col.js +1 -1
  56. package/dist/components/nv-fieldcheckbox.js +121 -1
  57. package/dist/components/nv-fieldcheckbox.js.map +1 -1
  58. package/dist/components/nv-fieldnumber.js +5 -5
  59. package/dist/components/nv-fieldpassword.js +7 -7
  60. package/dist/components/nv-fieldradio.js +4 -4
  61. package/dist/components/nv-fieldselect.js +7 -7
  62. package/dist/components/nv-fieldtext.js +5 -5
  63. package/dist/components/nv-fieldtextarea.js +4 -4
  64. package/dist/components/nv-fieldtoggle.js +3 -3
  65. package/dist/components/nv-icon.js +1 -1
  66. package/dist/components/nv-iconbutton.js +1 -1
  67. package/dist/components/nv-loader.js +1 -1
  68. package/dist/components/nv-menu.js +3 -3
  69. package/dist/components/nv-menuitem.js +2 -2
  70. package/dist/components/nv-popover.js +1 -1
  71. package/dist/components/nv-row.js +2 -2
  72. package/dist/components/nv-stack.js +2 -2
  73. package/dist/components/nv-tooltip.js +3 -3
  74. package/dist/components/{p-45ffa910.js → p-50bd2808.js} +2 -2
  75. package/dist/components/{p-45ffa910.js.map → p-50bd2808.js.map} +1 -1
  76. package/dist/components/{p-9cbeeff9.js → p-6146d4b0.js} +3 -3
  77. package/dist/components/{p-9cbeeff9.js.map → p-6146d4b0.js.map} +1 -1
  78. package/dist/components/{p-c434f2e5.js → p-632bedb8.js} +2 -6
  79. package/dist/components/p-632bedb8.js.map +1 -0
  80. package/dist/components/{p-d8a41fbe.js → p-8da6d9a3.js} +3 -3
  81. package/dist/components/{p-d8a41fbe.js.map → p-8da6d9a3.js.map} +1 -1
  82. package/dist/components/{p-813b38b1.js → p-be79e7bc.js} +5 -5
  83. package/dist/components/{p-813b38b1.js.map → p-be79e7bc.js.map} +1 -1
  84. package/dist/components/{p-d9d56e06.js → p-c711fe67.js} +4 -4
  85. package/dist/components/{p-d9d56e06.js.map → p-c711fe67.js.map} +1 -1
  86. package/dist/docs.json +3 -1049
  87. package/dist/esm/{app-globals-ec286266.js → app-globals-df0a3c8d.js} +2 -2
  88. package/dist/esm/{app-globals-ec286266.js.map → app-globals-df0a3c8d.js.map} +1 -1
  89. package/dist/esm/{index-3762ddc4.js → index-179dfba2.js} +6 -20
  90. package/dist/esm/index-179dfba2.js.map +1 -0
  91. package/dist/esm/loader.js +4 -4
  92. package/dist/esm/native.js +4 -4
  93. package/dist/esm/nv-alert.entry.js +1 -1
  94. package/dist/esm/nv-avatar.entry.js +1 -1
  95. package/dist/esm/nv-badge.entry.js +1 -1
  96. package/dist/esm/nv-base.entry.js +1 -1
  97. package/dist/esm/nv-button.entry.js +1 -1
  98. package/dist/esm/nv-col.entry.js +1 -1
  99. package/dist/esm/nv-fieldcheckbox.entry.js +1 -1
  100. package/dist/esm/nv-fieldnumber.entry.js +4 -4
  101. package/dist/esm/nv-fieldpassword.entry.js +4 -4
  102. package/dist/esm/nv-fieldradio.entry.js +4 -4
  103. package/dist/esm/nv-fieldselect.entry.js +6 -6
  104. package/dist/esm/nv-fieldtext.entry.js +4 -4
  105. package/dist/esm/nv-fieldtextarea.entry.js +4 -4
  106. package/dist/esm/nv-fieldtoggle.entry.js +3 -3
  107. package/dist/esm/nv-icon.entry.js +2 -2
  108. package/dist/esm/nv-icon.entry.js.map +1 -1
  109. package/dist/esm/nv-iconbutton.entry.js +2 -2
  110. package/dist/esm/nv-loader.entry.js +2 -2
  111. package/dist/esm/nv-menu.entry.js +2 -2
  112. package/dist/esm/nv-menuitem.entry.js +1 -1
  113. package/dist/esm/nv-popover.entry.js +2 -2
  114. package/dist/esm/nv-row.entry.js +2 -2
  115. package/dist/esm/nv-stack.entry.js +2 -2
  116. package/dist/esm/nv-tooltip.entry.js +2 -2
  117. package/dist/native/native.esm.js +1 -1
  118. package/dist/native/native.esm.js.map +1 -1
  119. package/dist/native/{p-60f027d4.entry.js → p-06f64d05.entry.js} +2 -2
  120. package/dist/native/{p-a8fe9493.entry.js → p-0aa0193b.entry.js} +2 -2
  121. package/dist/native/{p-95a054ed.entry.js → p-124a7067.entry.js} +2 -2
  122. package/dist/native/{p-ee23e820.entry.js → p-13d0ab5b.entry.js} +2 -2
  123. package/dist/native/{p-ee23e820.entry.js.map → p-13d0ab5b.entry.js.map} +1 -1
  124. package/dist/native/{p-3bb76528.entry.js → p-14c08510.entry.js} +2 -2
  125. package/dist/native/{p-ce6ff56c.entry.js → p-1ceee367.entry.js} +2 -2
  126. package/dist/native/p-29d482cd.entry.js +2 -0
  127. package/dist/native/{p-70c73c72.entry.js.map → p-29d482cd.entry.js.map} +1 -1
  128. package/dist/native/{p-3935c952.entry.js → p-43cd42ca.entry.js} +2 -2
  129. package/dist/native/{p-8d472724.entry.js → p-519e0f59.entry.js} +2 -2
  130. package/dist/native/{p-c749aafd.entry.js → p-617d6a09.entry.js} +2 -2
  131. package/dist/native/p-6f762ec2.entry.js +2 -0
  132. package/dist/native/{p-068965e9.entry.js.map → p-6f762ec2.entry.js.map} +1 -1
  133. package/dist/native/{p-1e575590.entry.js → p-71d6aad8.entry.js} +2 -2
  134. package/dist/native/{p-fd8ee23e.entry.js → p-7ce1b712.entry.js} +2 -2
  135. package/dist/native/p-80788ddf.js +2 -0
  136. package/dist/native/{p-5c0e7fda.entry.js → p-830ec54a.entry.js} +2 -2
  137. package/dist/native/{p-09d57171.entry.js → p-89accab1.entry.js} +2 -2
  138. package/dist/native/{p-1adc83f5.entry.js → p-8b65b16f.entry.js} +2 -2
  139. package/dist/native/{p-21bc1cf9.entry.js → p-b5e4a9e7.entry.js} +2 -2
  140. package/dist/native/{p-c3c9444e.entry.js → p-b8eb4c31.entry.js} +2 -2
  141. package/dist/native/p-b99aa075.entry.js +2 -0
  142. package/dist/native/{p-e4d12abd.entry.js → p-d5a8b6c4.entry.js} +2 -2
  143. package/dist/native/{p-006006b6.js → p-db2a68f3.js} +3 -3
  144. package/dist/native/p-db2a68f3.js.map +1 -0
  145. package/dist/native/{p-60679799.entry.js → p-f5acea50.entry.js} +2 -2
  146. package/dist/native/{p-f215822a.entry.js → p-f9aac71a.entry.js} +2 -2
  147. package/dist/native/{p-99e17032.entry.js → p-fb6f42b7.entry.js} +2 -2
  148. package/dist/types/components.d.ts +0 -287
  149. package/dist/vscode-data.json +3179 -0
  150. package/hydrate/index.js +33 -495
  151. package/hydrate/index.mjs +33 -495
  152. package/hydrate/package.json +1 -1
  153. package/package.json +3 -2
  154. package/postinstall.js +15 -0
  155. package/dist/cjs/index-b925c7f5.js.map +0 -1
  156. package/dist/cjs/nv-fielddropdownitemcheck.cjs.entry.js +0 -48
  157. package/dist/cjs/nv-fielddropdownitemcheck.cjs.entry.js.map +0 -1
  158. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +0 -368
  159. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js.map +0 -1
  160. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.css +0 -12
  161. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.docs.js +0 -6
  162. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.docs.js.map +0 -1
  163. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +0 -190
  164. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js.map +0 -1
  165. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.css +0 -195
  166. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js +0 -169
  167. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js.map +0 -1
  168. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js +0 -822
  169. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js.map +0 -1
  170. package/dist/components/nv-fielddropdownitemcheck.d.ts +0 -11
  171. package/dist/components/nv-fielddropdownitemcheck.js +0 -8
  172. package/dist/components/nv-fielddropdownitemcheck.js.map +0 -1
  173. package/dist/components/nv-fieldmultiselect.d.ts +0 -11
  174. package/dist/components/nv-fieldmultiselect.js +0 -445
  175. package/dist/components/nv-fieldmultiselect.js.map +0 -1
  176. package/dist/components/p-1079b972.js +0 -125
  177. package/dist/components/p-1079b972.js.map +0 -1
  178. package/dist/components/p-c434f2e5.js.map +0 -1
  179. package/dist/components/p-dbbda3ac.js +0 -72
  180. package/dist/components/p-dbbda3ac.js.map +0 -1
  181. package/dist/esm/index-3762ddc4.js.map +0 -1
  182. package/dist/esm/nv-fielddropdownitemcheck.entry.js +0 -44
  183. package/dist/esm/nv-fielddropdownitemcheck.entry.js.map +0 -1
  184. package/dist/esm/nv-fieldmultiselect.entry.js +0 -364
  185. package/dist/esm/nv-fieldmultiselect.entry.js.map +0 -1
  186. package/dist/native/p-006006b6.js.map +0 -1
  187. package/dist/native/p-056455a2.entry.js +0 -2
  188. package/dist/native/p-068965e9.entry.js +0 -2
  189. package/dist/native/p-1392b30f.entry.js +0 -2
  190. package/dist/native/p-1392b30f.entry.js.map +0 -1
  191. package/dist/native/p-21cdc57d.entry.js +0 -2
  192. package/dist/native/p-21cdc57d.entry.js.map +0 -1
  193. package/dist/native/p-70c73c72.entry.js +0 -2
  194. package/dist/native/p-b0955577.js +0 -2
  195. package/dist/types/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.d.ts +0 -43
  196. package/dist/types/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.docs.d.ts +0 -4
  197. package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.d.ts +0 -215
  198. package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.d.ts +0 -4
  199. /package/dist/native/{p-60f027d4.entry.js.map → p-06f64d05.entry.js.map} +0 -0
  200. /package/dist/native/{p-a8fe9493.entry.js.map → p-0aa0193b.entry.js.map} +0 -0
  201. /package/dist/native/{p-95a054ed.entry.js.map → p-124a7067.entry.js.map} +0 -0
  202. /package/dist/native/{p-3bb76528.entry.js.map → p-14c08510.entry.js.map} +0 -0
  203. /package/dist/native/{p-ce6ff56c.entry.js.map → p-1ceee367.entry.js.map} +0 -0
  204. /package/dist/native/{p-3935c952.entry.js.map → p-43cd42ca.entry.js.map} +0 -0
  205. /package/dist/native/{p-8d472724.entry.js.map → p-519e0f59.entry.js.map} +0 -0
  206. /package/dist/native/{p-c749aafd.entry.js.map → p-617d6a09.entry.js.map} +0 -0
  207. /package/dist/native/{p-1e575590.entry.js.map → p-71d6aad8.entry.js.map} +0 -0
  208. /package/dist/native/{p-fd8ee23e.entry.js.map → p-7ce1b712.entry.js.map} +0 -0
  209. /package/dist/native/{p-b0955577.js.map → p-80788ddf.js.map} +0 -0
  210. /package/dist/native/{p-5c0e7fda.entry.js.map → p-830ec54a.entry.js.map} +0 -0
  211. /package/dist/native/{p-09d57171.entry.js.map → p-89accab1.entry.js.map} +0 -0
  212. /package/dist/native/{p-1adc83f5.entry.js.map → p-8b65b16f.entry.js.map} +0 -0
  213. /package/dist/native/{p-21bc1cf9.entry.js.map → p-b5e4a9e7.entry.js.map} +0 -0
  214. /package/dist/native/{p-c3c9444e.entry.js.map → p-b8eb4c31.entry.js.map} +0 -0
  215. /package/dist/native/{p-056455a2.entry.js.map → p-b99aa075.entry.js.map} +0 -0
  216. /package/dist/native/{p-e4d12abd.entry.js.map → p-d5a8b6c4.entry.js.map} +0 -0
  217. /package/dist/native/{p-60679799.entry.js.map → p-f5acea50.entry.js.map} +0 -0
  218. /package/dist/native/{p-f215822a.entry.js.map → p-f9aac71a.entry.js.map} +0 -0
  219. /package/dist/native/{p-99e17032.entry.js.map → p-fb6f42b7.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as a,h as t,a as r}from"./p-006006b6.js";import{c as n}from"./p-8a1a6e56.js";import{S as o}from"./p-a15ddd42.js";const i='nv-icon{display:inline-block;width:fit-content;height:fit-content;color:inherit}nv-icon>.nv-icon-xs{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-icon>.nv-icon-sm{width:var(--spacing-4);height:var(--spacing-4);stroke-width:1.5px}nv-icon>.nv-icon-md{width:var(--spacing-5);height:var(--spacing-5);stroke-width:1.6px}nv-icon>.nv-icon-lg{width:var(--spacing-6);height:var(--spacing-6);stroke-width:1.8px}nv-icon>.nv-icon-xl{width:var(--spacing-7);height:var(--spacing-7);stroke-width:1.9px}nv-avatar{align-items:center !important;background-color:var(--components-avatar-background-1);border-radius:var(--radius-rounded-full) !important;display:flex !important;flex-shrink:0 !important;font-family:"TT Norms Pro", sans-serif;font-style:normal;font-weight:var(--font-weight-medium-emphasis);justify-content:center !important;leading-trim:both;line-height:1 !important;text-align:center;text-edge:cap;text-transform:uppercase}nv-avatar.avatar-color-1{background-color:var(--components-avatar-background-1);color:var(--components-avatar-content-1)}nv-avatar.avatar-color-2{background-color:var(--components-avatar-background-2);color:var(--components-avatar-content-2)}nv-avatar.avatar-color-3{background-color:var(--components-avatar-background-3);color:var(--components-avatar-content-3)}nv-avatar.avatar-color-4{background-color:var(--components-avatar-background-4);color:var(--components-avatar-content-4)}nv-avatar.avatar-color-5{background-color:var(--components-avatar-background-5);color:var(--components-avatar-content-5)}nv-avatar.avatar-color-6{background-color:var(--components-avatar-background-6);color:var(--components-avatar-content-6)}nv-avatar.avatar-color-7{background-color:var(--components-avatar-background-7);color:var(--components-avatar-content-7)}nv-avatar.avatar-color-8{background-color:var(--components-avatar-background-8);color:var(--components-avatar-content-8)}nv-avatar.avatar-color-9{background-color:var(--components-avatar-background-9);color:var(--components-avatar-content-9)}nv-avatar.avatar-color-10{background-color:var(--components-avatar-background-10);color:var(--components-avatar-content-10)}nv-avatar img{height:100%;width:100%;object-fit:cover;object-position:center;border-radius:50%}nv-avatar.avatar-xs{width:var(--avatar-xs-size);height:var(--avatar-xs-size);font-size:var(--avatar-xs-font-size);line-height:var(--avatar-xs-font-size)}nv-avatar.avatar-xs nv-icon>svg{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-avatar.avatar-sm{width:var(--avatar-sm-size);height:var(--avatar-sm-size);font-size:var(--avatar-sm-font-size);line-height:var(--avatar-sm-font-size)}nv-avatar.avatar-sm nv-icon>svg{width:var(--spacing-4);height:var(--spacing-4);stroke-width:1.5px}nv-avatar.avatar-md{width:var(--avatar-md-size);height:var(--avatar-md-size);font-size:var(--avatar-md-font-size);line-height:var(--avatar-md-font-size)}nv-avatar.avatar-md nv-icon>svg{width:var(--spacing-5);height:var(--spacing-5);stroke-width:1.6px}nv-avatar.avatar-lg{width:var(--avatar-lg-size);height:var(--avatar-lg-size);font-size:var(--avatar-lg-font-size);line-height:var(--avatar-lg-font-size)}nv-avatar.avatar-lg nv-icon>svg{width:var(--spacing-6);height:var(--spacing-6);stroke-width:1.8px}nv-avatar.avatar-xl{width:var(--avatar-xl-size);height:var(--avatar-xl-size);font-size:var(--avatar-xl-font-size);line-height:var(--avatar-xl-font-size)}nv-avatar.avatar-xl nv-icon>svg{width:var(--spacing-7);height:var(--spacing-7);stroke-width:1.9px}';const v=i;const e=class{constructor(t){a(this,t);this.xsmall=undefined;this.small=undefined;this.medium=undefined;this.large=undefined;this.xlarge=undefined;this.text=undefined;this.url=undefined;this.alt=undefined;this.src=undefined;this.initials=undefined;this.size="md";this.color="1"}componentWillRender(){if(this.xsmall){this.size=o.ExtraSmall}if(this.small){this.size=o.Small}if(this.medium){this.size=o.Medium}if(this.large){this.size=o.Large}if(this.xlarge){this.size=o.ExtraLarge}if(this.text){this.initials=this.text}if(this.url){this.src=this.url}}trimInitials(a){return a.trim().substring(0,2)}render(){return t(r,{key:"8cd1fe9e804aa11e821c0983c28eefdbe2275235",class:n(`avatar-${this.size}`,`avatar-color-${this.color}`),"aria-label":this.alt},this.src?t("img",{src:this.src,alt:this.alt}):this.initials?this.trimInitials(this.initials):t("slot",{name:"icon"},t("nv-icon",{name:"user"})))}};e.style=v;export{e as nv_avatar};
2
- //# sourceMappingURL=p-60679799.entry.js.map
1
+ import{r as a,h as t,a as r}from"./p-db2a68f3.js";import{c as n}from"./p-8a1a6e56.js";import{S as o}from"./p-a15ddd42.js";const i='nv-icon{display:inline-block;width:fit-content;height:fit-content;color:inherit}nv-icon>.nv-icon-xs{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-icon>.nv-icon-sm{width:var(--spacing-4);height:var(--spacing-4);stroke-width:1.5px}nv-icon>.nv-icon-md{width:var(--spacing-5);height:var(--spacing-5);stroke-width:1.6px}nv-icon>.nv-icon-lg{width:var(--spacing-6);height:var(--spacing-6);stroke-width:1.8px}nv-icon>.nv-icon-xl{width:var(--spacing-7);height:var(--spacing-7);stroke-width:1.9px}nv-avatar{align-items:center !important;background-color:var(--components-avatar-background-1);border-radius:var(--radius-rounded-full) !important;display:flex !important;flex-shrink:0 !important;font-family:"TT Norms Pro", sans-serif;font-style:normal;font-weight:var(--font-weight-medium-emphasis);justify-content:center !important;leading-trim:both;line-height:1 !important;text-align:center;text-edge:cap;text-transform:uppercase}nv-avatar.avatar-color-1{background-color:var(--components-avatar-background-1);color:var(--components-avatar-content-1)}nv-avatar.avatar-color-2{background-color:var(--components-avatar-background-2);color:var(--components-avatar-content-2)}nv-avatar.avatar-color-3{background-color:var(--components-avatar-background-3);color:var(--components-avatar-content-3)}nv-avatar.avatar-color-4{background-color:var(--components-avatar-background-4);color:var(--components-avatar-content-4)}nv-avatar.avatar-color-5{background-color:var(--components-avatar-background-5);color:var(--components-avatar-content-5)}nv-avatar.avatar-color-6{background-color:var(--components-avatar-background-6);color:var(--components-avatar-content-6)}nv-avatar.avatar-color-7{background-color:var(--components-avatar-background-7);color:var(--components-avatar-content-7)}nv-avatar.avatar-color-8{background-color:var(--components-avatar-background-8);color:var(--components-avatar-content-8)}nv-avatar.avatar-color-9{background-color:var(--components-avatar-background-9);color:var(--components-avatar-content-9)}nv-avatar.avatar-color-10{background-color:var(--components-avatar-background-10);color:var(--components-avatar-content-10)}nv-avatar img{height:100%;width:100%;object-fit:cover;object-position:center;border-radius:50%}nv-avatar.avatar-xs{width:var(--avatar-xs-size);height:var(--avatar-xs-size);font-size:var(--avatar-xs-font-size);line-height:var(--avatar-xs-font-size)}nv-avatar.avatar-xs nv-icon>svg{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-avatar.avatar-sm{width:var(--avatar-sm-size);height:var(--avatar-sm-size);font-size:var(--avatar-sm-font-size);line-height:var(--avatar-sm-font-size)}nv-avatar.avatar-sm nv-icon>svg{width:var(--spacing-4);height:var(--spacing-4);stroke-width:1.5px}nv-avatar.avatar-md{width:var(--avatar-md-size);height:var(--avatar-md-size);font-size:var(--avatar-md-font-size);line-height:var(--avatar-md-font-size)}nv-avatar.avatar-md nv-icon>svg{width:var(--spacing-5);height:var(--spacing-5);stroke-width:1.6px}nv-avatar.avatar-lg{width:var(--avatar-lg-size);height:var(--avatar-lg-size);font-size:var(--avatar-lg-font-size);line-height:var(--avatar-lg-font-size)}nv-avatar.avatar-lg nv-icon>svg{width:var(--spacing-6);height:var(--spacing-6);stroke-width:1.8px}nv-avatar.avatar-xl{width:var(--avatar-xl-size);height:var(--avatar-xl-size);font-size:var(--avatar-xl-font-size);line-height:var(--avatar-xl-font-size)}nv-avatar.avatar-xl nv-icon>svg{width:var(--spacing-7);height:var(--spacing-7);stroke-width:1.9px}';const v=i;const e=class{constructor(t){a(this,t);this.xsmall=undefined;this.small=undefined;this.medium=undefined;this.large=undefined;this.xlarge=undefined;this.text=undefined;this.url=undefined;this.alt=undefined;this.src=undefined;this.initials=undefined;this.size="md";this.color="1"}componentWillRender(){if(this.xsmall){this.size=o.ExtraSmall}if(this.small){this.size=o.Small}if(this.medium){this.size=o.Medium}if(this.large){this.size=o.Large}if(this.xlarge){this.size=o.ExtraLarge}if(this.text){this.initials=this.text}if(this.url){this.src=this.url}}trimInitials(a){return a.trim().substring(0,2)}render(){return t(r,{key:"8cd1fe9e804aa11e821c0983c28eefdbe2275235",class:n(`avatar-${this.size}`,`avatar-color-${this.color}`),"aria-label":this.alt},this.src?t("img",{src:this.src,alt:this.alt}):this.initials?this.trimInitials(this.initials):t("slot",{name:"icon"},t("nv-icon",{name:"user"})))}};e.style=v;export{e as nv_avatar};
2
+ //# sourceMappingURL=p-f5acea50.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as a,a as n}from"./p-006006b6.js";import{c as s}from"./p-8a1a6e56.js";const e="nv-stack{display:flex;align-items:center;justify-content:flex-start;flex-direction:row}nv-stack nv-col{display:flex}nv-stack:not(nv-row){flex-wrap:nowrap}nv-stack>.nv-stack-item-flex{flex-shrink:1;flex-grow:1}nv-stack>.nv-stack-item-lead{margin-right:auto}nv-stack>.nv-stack-item-lead+*{margin-left:0}nv-stack>.nv-stack-item-center{margin-right:auto;margin-left:auto}nv-stack>.nv-stack-item-tail{margin-left:auto}nv-stack>.nv-stack-nowrap{white-space:nowrap}nv-stack.nv-stack-vertical{align-items:stretch;flex-direction:column}nv-stack.nv-stack-vertical>.nv-stack-item-lead{margin-right:0;margin-bottom:auto}nv-stack.nv-stack-vertical>.nv-stack-item-lead+*{margin-top:0}nv-stack.nv-stack-vertical>.nv-stack-item-tail{margin-left:0;margin-top:auto}nv-stack.nv-stack-vertical>.nv-stack-item-center{margin:auto 0}nv-stack.nv-stack-flex>*{flex-shrink:1;flex-grow:1}nv-stack.nv-stack-fill>*{height:100%}nv-stack.nv-stack-fill.nv-stack-vertical>*{height:auto;width:100%}";const i=e;const c=class{constructor(a){t(this,a);this.gutter=2;this.fill=undefined;this.flex=undefined;this.full=undefined;this.vertical=undefined}render(){return a(n,{key:"a06b3c85ea07e19125e1b8b23561869de8c8edcc",class:s(this.fill&&"nv-stack-fill",this.flex&&"nv-stack-flex",this.full&&"w-full",this.gutter&&!this.vertical&&`gutter-x-${this.gutter}`,this.gutter&&this.vertical&&`gutter-y-${this.gutter}`,this.vertical&&"nv-stack-vertical")},a("slot",{key:"8d902ed2b636bb6d1d8930c6d89117c7a1081707"}))}};c.style=i;export{c as nv_stack};
2
- //# sourceMappingURL=p-f215822a.entry.js.map
1
+ import{r as t,h as a,a as n}from"./p-db2a68f3.js";import{c as s}from"./p-8a1a6e56.js";const c="nv-stack{display:flex;align-items:center;justify-content:flex-start;flex-direction:row}nv-stack nv-col{display:flex}nv-stack:not(nv-row){flex-wrap:nowrap}nv-stack>.nv-stack-item-flex{flex-shrink:1;flex-grow:1}nv-stack>.nv-stack-item-lead{margin-right:auto}nv-stack>.nv-stack-item-lead+*{margin-left:0}nv-stack>.nv-stack-item-center{margin-right:auto;margin-left:auto}nv-stack>.nv-stack-item-tail{margin-left:auto}nv-stack>.nv-stack-nowrap{white-space:nowrap}nv-stack.nv-stack-vertical{align-items:stretch;flex-direction:column}nv-stack.nv-stack-vertical>.nv-stack-item-lead{margin-right:0;margin-bottom:auto}nv-stack.nv-stack-vertical>.nv-stack-item-lead+*{margin-top:0}nv-stack.nv-stack-vertical>.nv-stack-item-tail{margin-left:0;margin-top:auto}nv-stack.nv-stack-vertical>.nv-stack-item-center{margin:auto 0}nv-stack.nv-stack-flex>*{flex-shrink:1;flex-grow:1}nv-stack.nv-stack-fill>*{height:100%}nv-stack.nv-stack-fill.nv-stack-vertical>*{height:auto;width:100%}";const i=c;const e=class{constructor(a){t(this,a);this.gutter=2;this.fill=undefined;this.flex=undefined;this.full=undefined;this.vertical=undefined}render(){return a(n,{key:"4c8889bb870137f5c3aa8fc499c26fc77bc6fba1",class:s(this.fill&&"nv-stack-fill",this.flex&&"nv-stack-flex",this.full&&"w-full",this.gutter&&!this.vertical&&`gutter-x-${this.gutter}`,this.gutter&&this.vertical&&`gutter-y-${this.gutter}`,this.vertical&&"nv-stack-vertical")},a("slot",{key:"dbd5b334a0e6ee5aa3bbc0431d44d81933f1c05c"}))}};e.style=i;export{e as nv_stack};
2
+ //# sourceMappingURL=p-f9aac71a.entry.js.map
@@ -1,2 +1,2 @@
1
- import{d as t,f as n,r as e,c as o,h as s,a as i,g as r}from"./p-006006b6.js";import{u as c}from"./p-1daca48a.js";import{u as a,a as l,r as f}from"./p-a37c2ac2.js";const u=["top","right","bottom","left"];const d=["start","end"];const h=u.reduce(((t,n)=>t.concat(n,n+"-"+d[0],n+"-"+d[1])),[]);const p=Math.min;const m=Math.max;const y=Math.round;const g=t=>({x:t,y:t});const w={left:"right",right:"left",bottom:"top",top:"bottom"};const v={start:"end",end:"start"};function b(t,n,e){return m(t,p(n,e))}function x(t,n){return typeof t==="function"?t(n):t}function k(t){return t.split("-")[0]}function A(t){return t.split("-")[1]}function T(t){return t==="x"?"y":"x"}function O(t){return t==="y"?"height":"width"}function C(t){return["top","bottom"].includes(k(t))?"y":"x"}function P(t){return T(C(t))}function D(t,n,e){if(e===void 0){e=false}const o=A(t);const s=P(t);const i=O(s);let r=s==="x"?o===(e?"end":"start")?"right":"left":o==="start"?"bottom":"top";if(n.reference[i]>n.floating[i]){r=B(r)}return[r,B(r)]}function S(t){const n=B(t);return[R(t),n,R(n)]}function R(t){return t.replace(/start|end/g,(t=>v[t]))}function j(t,n,e){const o=["left","right"];const s=["right","left"];const i=["top","bottom"];const r=["bottom","top"];switch(t){case"top":case"bottom":if(e)return n?s:o;return n?o:s;case"left":case"right":return n?i:r;default:return[]}}function M(t,n,e,o){const s=A(t);let i=j(k(t),e==="start",o);if(s){i=i.map((t=>t+"-"+s));if(n){i=i.concat(i.map(R))}}return i}function B(t){return t.replace(/left|right|bottom|top/g,(t=>w[t]))}function F(t){return{top:0,right:0,bottom:0,left:0,...t}}function L(t){return typeof t!=="number"?F(t):{top:t,right:t,bottom:t,left:t}}function E(t){const{x:n,y:e,width:o,height:s}=t;return{width:o,height:s,top:e,left:n,right:n+o,bottom:e+s,x:n,y:e}}function H(t,n,e){let{reference:o,floating:s}=t;const i=C(n);const r=P(n);const c=O(r);const a=k(n);const l=i==="y";const f=o.x+o.width/2-s.width/2;const u=o.y+o.height/2-s.height/2;const d=o[c]/2-s[c]/2;let h;switch(a){case"top":h={x:f,y:o.y-s.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:u};break;case"left":h={x:o.x-s.width,y:u};break;default:h={x:o.x,y:o.y}}switch(A(n)){case"start":h[r]-=d*(e&&l?-1:1);break;case"end":h[r]+=d*(e&&l?-1:1);break}return h}const $=async(t,n,e)=>{const{placement:o="bottom",strategy:s="absolute",middleware:i=[],platform:r}=e;const c=i.filter(Boolean);const a=await(r.isRTL==null?void 0:r.isRTL(n));let l=await r.getElementRects({reference:t,floating:n,strategy:s});let{x:f,y:u}=H(l,o,a);let d=o;let h={};let p=0;for(let e=0;e<c.length;e++){const{name:i,fn:m}=c[e];const{x:y,y:g,data:w,reset:v}=await m({x:f,y:u,initialPlacement:o,placement:d,strategy:s,middlewareData:h,rects:l,platform:r,elements:{reference:t,floating:n}});f=y!=null?y:f;u=g!=null?g:u;h={...h,[i]:{...h[i],...w}};if(v&&p<=50){p++;if(typeof v==="object"){if(v.placement){d=v.placement}if(v.rects){l=v.rects===true?await r.getElementRects({reference:t,floating:n,strategy:s}):v.rects}({x:f,y:u}=H(l,d,a))}e=-1}}return{x:f,y:u,placement:d,strategy:s,middlewareData:h}};async function z(t,n){var e;if(n===void 0){n={}}const{x:o,y:s,platform:i,rects:r,elements:c,strategy:a}=t;const{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=false,padding:h=0}=x(n,t);const p=L(h);const m=u==="floating"?"reference":"floating";const y=c[d?m:u];const g=E(await i.getClippingRect({element:((e=await(i.isElement==null?void 0:i.isElement(y)))!=null?e:true)?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:l,rootBoundary:f,strategy:a}));const w=u==="floating"?{x:o,y:s,width:r.floating.width,height:r.floating.height}:r.reference;const v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating));const b=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1};const k=E(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:v,strategy:a}):w);return{top:(g.top-k.top+p.top)/b.y,bottom:(k.bottom-g.bottom+p.bottom)/b.y,left:(g.left-k.left+p.left)/b.x,right:(k.right-g.right+p.right)/b.x}}const N=t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:s,rects:i,platform:r,elements:c,middlewareData:a}=n;const{element:l,padding:f=0}=x(t,n)||{};if(l==null){return{}}const u=L(f);const d={x:e,y:o};const h=P(s);const m=O(h);const y=await r.getDimensions(l);const g=h==="y";const w=g?"top":"left";const v=g?"bottom":"right";const k=g?"clientHeight":"clientWidth";const T=i.reference[m]+i.reference[h]-d[h]-i.floating[m];const C=d[h]-i.reference[h];const D=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l));let S=D?D[k]:0;if(!S||!await(r.isElement==null?void 0:r.isElement(D))){S=c.floating[k]||i.floating[m]}const R=T/2-C/2;const j=S/2-y[m]/2-1;const M=p(u[w],j);const B=p(u[v],j);const F=M;const E=S-y[m]-B;const H=S/2-y[m]/2+R;const $=b(F,H,E);const z=!a.arrow&&A(s)!=null&&H!==$&&i.reference[m]/2-(H<F?M:B)-y[m]/2<0;const N=z?H<F?H-F:H-E:0;return{[h]:d[h]+N,data:{[h]:$,centerOffset:H-$-N,...z&&{alignmentOffset:N}},reset:z}}});function W(t,n,e){const o=t?[...e.filter((n=>A(n)===t)),...e.filter((n=>A(n)!==t))]:e.filter((t=>k(t)===t));return o.filter((e=>{if(t){return A(e)===t||(n?R(e)!==e:false)}return true}))}const I=function(t){if(t===void 0){t={}}return{name:"autoPlacement",options:t,async fn(n){var e,o,s;const{rects:i,middlewareData:r,placement:c,platform:a,elements:l}=n;const{crossAxis:f=false,alignment:u,allowedPlacements:d=h,autoAlignment:p=true,...m}=x(t,n);const y=u!==undefined||d===h?W(u||null,p,d):d;const g=await z(n,m);const w=((e=r.autoPlacement)==null?void 0:e.index)||0;const v=y[w];if(v==null){return{}}const b=D(v,i,await(a.isRTL==null?void 0:a.isRTL(l.floating)));if(c!==v){return{reset:{placement:y[0]}}}const T=[g[k(v)],g[b[0]],g[b[1]]];const O=[...((o=r.autoPlacement)==null?void 0:o.overflows)||[],{placement:v,overflows:T}];const C=y[w+1];if(C){return{data:{index:w+1,overflows:O},reset:{placement:C}}}const P=O.map((t=>{const n=A(t.placement);return[t.placement,n&&f?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1]));const S=P.filter((t=>t[2].slice(0,A(t[0])?2:3).every((t=>t<=0))));const R=((s=S[0])==null?void 0:s[0])||P[0][0];if(R!==c){return{data:{index:w+1,overflows:O},reset:{placement:R}}}return{}}}};const _=function(t){if(t===void 0){t={}}return{name:"flip",options:t,async fn(n){var e,o;const{placement:s,middlewareData:i,rects:r,initialPlacement:c,platform:a,elements:l}=n;const{mainAxis:f=true,crossAxis:u=true,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=true,...y}=x(t,n);if((e=i.arrow)!=null&&e.alignmentOffset){return{}}const g=k(s);const w=k(c)===c;const v=await(a.isRTL==null?void 0:a.isRTL(l.floating));const b=d||(w||!m?[B(c)]:S(c));if(!d&&p!=="none"){b.push(...M(c,m,p,v))}const A=[c,...b];const T=await z(n,y);const O=[];let C=((o=i.flip)==null?void 0:o.overflows)||[];if(f){O.push(T[g])}if(u){const t=D(s,r,v);O.push(T[t[0]],T[t[1]])}C=[...C,{placement:s,overflows:O}];if(!O.every((t=>t<=0))){var P,R;const t=(((P=i.flip)==null?void 0:P.index)||0)+1;const n=A[t];if(n){return{data:{index:t,overflows:C},reset:{placement:n}}}let e=(R=C.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])==null?void 0:R.placement;if(!e){switch(h){case"bestFit":{var j;const t=(j=C.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])==null?void 0:j[0];if(t){e=t}break}case"initialPlacement":e=c;break}}if(s!==e){return{reset:{placement:e}}}}return{}}}};function G(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function K(t){return u.some((n=>t[n]>=0))}const U=function(t){if(t===void 0){t={}}return{name:"hide",options:t,async fn(n){const{rects:e}=n;const{strategy:o="referenceHidden",...s}=x(t,n);switch(o){case"referenceHidden":{const t=await z(n,{...s,elementContext:"reference"});const o=G(t,e.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:K(o)}}}case"escaped":{const t=await z(n,{...s,altBoundary:true});const o=G(t,e.floating);return{data:{escapedOffsets:o,escaped:K(o)}}}default:{return{}}}}}};function V(t){const n=p(...t.map((t=>t.left)));const e=p(...t.map((t=>t.top)));const o=m(...t.map((t=>t.right)));const s=m(...t.map((t=>t.bottom)));return{x:n,y:e,width:o-n,height:s-e}}function X(t){const n=t.slice().sort(((t,n)=>t.y-n.y));const e=[];let o=null;for(let t=0;t<n.length;t++){const s=n[t];if(!o||s.y-o.y>o.height/2){e.push([s])}else{e[e.length-1].push(s)}o=s}return e.map((t=>E(V(t))))}const Y=function(t){if(t===void 0){t={}}return{name:"inline",options:t,async fn(n){const{placement:e,elements:o,rects:s,platform:i,strategy:r}=n;const{padding:c=2,x:a,y:l}=x(t,n);const f=Array.from(await(i.getClientRects==null?void 0:i.getClientRects(o.reference))||[]);const u=X(f);const d=E(V(f));const h=L(c);function y(){if(u.length===2&&u[0].left>u[1].right&&a!=null&&l!=null){return u.find((t=>a>t.left-h.left&&a<t.right+h.right&&l>t.top-h.top&&l<t.bottom+h.bottom))||d}if(u.length>=2){if(C(e)==="y"){const t=u[0];const n=u[u.length-1];const o=k(e)==="top";const s=t.top;const i=n.bottom;const r=o?t.left:n.left;const c=o?t.right:n.right;const a=c-r;const l=i-s;return{top:s,bottom:i,left:r,right:c,width:a,height:l,x:r,y:s}}const t=k(e)==="left";const n=m(...u.map((t=>t.right)));const o=p(...u.map((t=>t.left)));const s=u.filter((e=>t?e.left===o:e.right===n));const i=s[0].top;const r=s[s.length-1].bottom;const c=o;const a=n;const l=a-c;const f=r-i;return{top:i,bottom:r,left:c,right:a,width:l,height:f,x:c,y:i}}return d}const g=await i.getElementRects({reference:{getBoundingClientRect:y},floating:o.floating,strategy:r});if(s.reference.x!==g.reference.x||s.reference.y!==g.reference.y||s.reference.width!==g.reference.width||s.reference.height!==g.reference.height){return{reset:{rects:g}}}return{}}}};async function q(t,n){const{placement:e,platform:o,elements:s}=t;const i=await(o.isRTL==null?void 0:o.isRTL(s.floating));const r=k(e);const c=A(e);const a=C(e)==="y";const l=["left","top"].includes(r)?-1:1;const f=i&&a?-1:1;const u=x(n,t);let{mainAxis:d,crossAxis:h,alignmentAxis:p}=typeof u==="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};if(c&&typeof p==="number"){h=c==="end"?p*-1:p}return a?{x:h*f,y:d*l}:{x:d*l,y:h*f}}const J=function(t){if(t===void 0){t=0}return{name:"offset",options:t,async fn(n){var e,o;const{x:s,y:i,placement:r,middlewareData:c}=n;const a=await q(n,t);if(r===((e=c.offset)==null?void 0:e.placement)&&(o=c.arrow)!=null&&o.alignmentOffset){return{}}return{x:s+a.x,y:i+a.y,data:{...a,placement:r}}}}};const Q=function(t){if(t===void 0){t={}}return{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:s}=n;const{mainAxis:i=true,crossAxis:r=false,limiter:c={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...a}=x(t,n);const l={x:e,y:o};const f=await z(n,a);const u=C(k(s));const d=T(u);let h=l[d];let p=l[u];if(i){const t=d==="y"?"top":"left";const n=d==="y"?"bottom":"right";const e=h+f[t];const o=h-f[n];h=b(e,h,o)}if(r){const t=u==="y"?"top":"left";const n=u==="y"?"bottom":"right";const e=p+f[t];const o=p-f[n];p=b(e,p,o)}const m=c.fn({...n,[d]:h,[u]:p});return{...m,data:{x:m.x-e,y:m.y-o}}}}};const Z=function(t){if(t===void 0){t={}}return{options:t,fn(n){const{x:e,y:o,placement:s,rects:i,middlewareData:r}=n;const{offset:c=0,mainAxis:a=true,crossAxis:l=true}=x(t,n);const f={x:e,y:o};const u=C(s);const d=T(u);let h=f[d];let p=f[u];const m=x(c,n);const y=typeof m==="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(a){const t=d==="y"?"height":"width";const n=i.reference[d]-i.floating[t]+y.mainAxis;const e=i.reference[d]+i.reference[t]-y.mainAxis;if(h<n){h=n}else if(h>e){h=e}}if(l){var g,w;const t=d==="y"?"width":"height";const n=["top","left"].includes(k(s));const e=i.reference[u]-i.floating[t]+(n?((g=r.offset)==null?void 0:g[u])||0:0)+(n?0:y.crossAxis);const o=i.reference[u]+i.reference[t]+(n?0:((w=r.offset)==null?void 0:w[u])||0)-(n?y.crossAxis:0);if(p<e){p=e}else if(p>o){p=o}}return{[d]:h,[u]:p}}}};const tt=function(t){if(t===void 0){t={}}return{name:"size",options:t,async fn(n){const{placement:e,rects:o,platform:s,elements:i}=n;const{apply:r=(()=>{}),...c}=x(t,n);const a=await z(n,c);const l=k(e);const f=A(e);const u=C(e)==="y";const{width:d,height:h}=o.floating;let y;let g;if(l==="top"||l==="bottom"){y=l;g=f===(await(s.isRTL==null?void 0:s.isRTL(i.floating))?"start":"end")?"left":"right"}else{g=l;y=f==="end"?"top":"bottom"}const w=h-a.top-a.bottom;const v=d-a.left-a.right;const b=p(h-a[y],w);const T=p(d-a[g],v);const O=!n.middlewareData.shift;let P=b;let D=T;if(u){D=f||O?p(T,v):v}else{P=f||O?p(b,w):w}if(O&&!f){const t=m(a.left,0);const n=m(a.right,0);const e=m(a.top,0);const o=m(a.bottom,0);if(u){D=d-2*(t!==0||n!==0?t+n:m(a.left,a.right))}else{P=h-2*(e!==0||o!==0?e+o:m(a.top,a.bottom))}}await r({...n,availableWidth:D,availableHeight:P});const S=await s.getDimensions(i.floating);if(d!==S.width||h!==S.height){return{reset:{rects:true}}}return{}}}};function nt(){return typeof window!=="undefined"}function et(t){if(it(t)){return(t.nodeName||"").toLowerCase()}return"#document"}function ot(t){var n;return(t==null||(n=t.ownerDocument)==null?void 0:n.defaultView)||window}function st(t){var n;return(n=(it(t)?t.ownerDocument:t.document)||window.document)==null?void 0:n.documentElement}function it(t){if(!nt()){return false}return t instanceof Node||t instanceof ot(t).Node}function rt(t){if(!nt()){return false}return t instanceof Element||t instanceof ot(t).Element}function ct(t){if(!nt()){return false}return t instanceof HTMLElement||t instanceof ot(t).HTMLElement}function at(t){if(!nt()||typeof ShadowRoot==="undefined"){return false}return t instanceof ShadowRoot||t instanceof ot(t).ShadowRoot}function lt(t){const{overflow:n,overflowX:e,overflowY:o,display:s}=yt(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(s)}function ft(t){return["table","td","th"].includes(et(t))}function ut(t){return[":popover-open",":modal"].some((n=>{try{return t.matches(n)}catch(t){return false}}))}function dt(t){const n=pt();const e=rt(t)?yt(t):t;return e.transform!=="none"||e.perspective!=="none"||(e.containerType?e.containerType!=="normal":false)||!n&&(e.backdropFilter?e.backdropFilter!=="none":false)||!n&&(e.filter?e.filter!=="none":false)||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ht(t){let n=wt(t);while(ct(n)&&!mt(n)){if(dt(n)){return n}else if(ut(n)){return null}n=wt(n)}return null}function pt(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}function mt(t){return["html","body","#document"].includes(et(t))}function yt(t){return ot(t).getComputedStyle(t)}function gt(t){if(rt(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function wt(t){if(et(t)==="html"){return t}const n=t.assignedSlot||t.parentNode||at(t)&&t.host||st(t);return at(n)?n.host:n}function vt(t){const n=wt(t);if(mt(n)){return t.ownerDocument?t.ownerDocument.body:t.body}if(ct(n)&&lt(n)){return n}return vt(n)}function bt(t,n,e){var o;if(n===void 0){n=[]}if(e===void 0){e=true}const s=vt(t);const i=s===((o=t.ownerDocument)==null?void 0:o.body);const r=ot(s);if(i){const t=xt(r);return n.concat(r,r.visualViewport||[],lt(s)?s:[],t&&e?bt(t):[])}return n.concat(s,bt(s,[],e))}function xt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function kt(t){const n=yt(t);let e=parseFloat(n.width)||0;let o=parseFloat(n.height)||0;const s=ct(t);const i=s?t.offsetWidth:e;const r=s?t.offsetHeight:o;const c=y(e)!==i||y(o)!==r;if(c){e=i;o=r}return{width:e,height:o,$:c}}function At(t){return!rt(t)?t.contextElement:t}function Tt(t){const n=At(t);if(!ct(n)){return g(1)}const e=n.getBoundingClientRect();const{width:o,height:s,$:i}=kt(n);let r=(i?y(e.width):e.width)/o;let c=(i?y(e.height):e.height)/s;if(!r||!Number.isFinite(r)){r=1}if(!c||!Number.isFinite(c)){c=1}return{x:r,y:c}}const Ot=g(0);function Ct(t){const n=ot(t);if(!pt()||!n.visualViewport){return Ot}return{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function Pt(t,n,e){if(n===void 0){n=false}if(!e||n&&e!==ot(t)){return false}return n}function Dt(t,n,e,o){if(n===void 0){n=false}if(e===void 0){e=false}const s=t.getBoundingClientRect();const i=At(t);let r=g(1);if(n){if(o){if(rt(o)){r=Tt(o)}}else{r=Tt(t)}}const c=Pt(i,e,o)?Ct(i):g(0);let a=(s.left+c.x)/r.x;let l=(s.top+c.y)/r.y;let f=s.width/r.x;let u=s.height/r.y;if(i){const t=ot(i);const n=o&&rt(o)?ot(o):o;let e=t;let s=xt(e);while(s&&o&&n!==e){const t=Tt(s);const n=s.getBoundingClientRect();const o=yt(s);const i=n.left+(s.clientLeft+parseFloat(o.paddingLeft))*t.x;const r=n.top+(s.clientTop+parseFloat(o.paddingTop))*t.y;a*=t.x;l*=t.y;f*=t.x;u*=t.y;a+=i;l+=r;e=ot(s);s=xt(e)}}return E({width:f,height:u,x:a,y:l})}function St(t){let{elements:n,rect:e,offsetParent:o,strategy:s}=t;const i=s==="fixed";const r=st(o);const c=n?ut(n.floating):false;if(o===r||c&&i){return e}let a={scrollLeft:0,scrollTop:0};let l=g(1);const f=g(0);const u=ct(o);if(u||!u&&!i){if(et(o)!=="body"||lt(r)){a=gt(o)}if(ct(o)){const t=Dt(o);l=Tt(o);f.x=t.x+o.clientLeft;f.y=t.y+o.clientTop}}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-a.scrollLeft*l.x+f.x,y:e.y*l.y-a.scrollTop*l.y+f.y}}function Rt(t){return Array.from(t.getClientRects())}function jt(t,n){const e=gt(t).scrollLeft;if(!n){return Dt(st(t)).left+e}return n.left+e}function Mt(t){const n=st(t);const e=gt(t);const o=t.ownerDocument.body;const s=m(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth);const i=m(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let r=-e.scrollLeft+jt(t);const c=-e.scrollTop;if(yt(o).direction==="rtl"){r+=m(n.clientWidth,o.clientWidth)-s}return{width:s,height:i,x:r,y:c}}function Bt(t,n){const e=ot(t);const o=st(t);const s=e.visualViewport;let i=o.clientWidth;let r=o.clientHeight;let c=0;let a=0;if(s){i=s.width;r=s.height;const t=pt();if(!t||t&&n==="fixed"){c=s.offsetLeft;a=s.offsetTop}}return{width:i,height:r,x:c,y:a}}function Ft(t,n){const e=Dt(t,true,n==="fixed");const o=e.top+t.clientTop;const s=e.left+t.clientLeft;const i=ct(t)?Tt(t):g(1);const r=t.clientWidth*i.x;const c=t.clientHeight*i.y;const a=s*i.x;const l=o*i.y;return{width:r,height:c,x:a,y:l}}function Lt(t,n,e){let o;if(n==="viewport"){o=Bt(t,e)}else if(n==="document"){o=Mt(st(t))}else if(rt(n)){o=Ft(n,e)}else{const e=Ct(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return E(o)}function Et(t,n){const e=wt(t);if(e===n||!rt(e)||mt(e)){return false}return yt(e).position==="fixed"||Et(e,n)}function Ht(t,n){const e=n.get(t);if(e){return e}let o=bt(t,[],false).filter((t=>rt(t)&&et(t)!=="body"));let s=null;const i=yt(t).position==="fixed";let r=i?wt(t):t;while(rt(r)&&!mt(r)){const n=yt(r);const e=dt(r);if(!e&&n.position==="fixed"){s=null}const c=i?!e&&!s:!e&&n.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||lt(r)&&!e&&Et(t,r);if(c){o=o.filter((t=>t!==r))}else{s=n}r=wt(r)}n.set(t,o);return o}function $t(t){let{element:n,boundary:e,rootBoundary:o,strategy:s}=t;const i=e==="clippingAncestors"?ut(n)?[]:Ht(n,this._c):[].concat(e);const r=[...i,o];const c=r[0];const a=r.reduce(((t,e)=>{const o=Lt(n,e,s);t.top=m(o.top,t.top);t.right=p(o.right,t.right);t.bottom=p(o.bottom,t.bottom);t.left=m(o.left,t.left);return t}),Lt(n,c,s));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function zt(t){const{width:n,height:e}=kt(t);return{width:n,height:e}}function Nt(t,n,e){const o=ct(n);const s=st(n);const i=e==="fixed";const r=Dt(t,true,i,n);let c={scrollLeft:0,scrollTop:0};const a=g(0);if(o||!o&&!i){if(et(n)!=="body"||lt(s)){c=gt(n)}if(o){const t=Dt(n,true,i,n);a.x=t.x+n.clientLeft;a.y=t.y+n.clientTop}else if(s){a.x=jt(s)}}let l=0;let f=0;if(s&&!o&&!i){const t=s.getBoundingClientRect();f=t.top+c.scrollTop;l=t.left+c.scrollLeft-jt(s,t)}const u=r.left+c.scrollLeft-a.x-l;const d=r.top+c.scrollTop-a.y-f;return{x:u,y:d,width:r.width,height:r.height}}function Wt(t){return yt(t).position==="static"}function It(t,n){if(!ct(t)||yt(t).position==="fixed"){return null}if(n){return n(t)}let e=t.offsetParent;if(st(t)===e){e=e.ownerDocument.body}return e}function _t(t,n){const e=ot(t);if(ut(t)){return e}if(!ct(t)){let n=wt(t);while(n&&!mt(n)){if(rt(n)&&!Wt(n)){return n}n=wt(n)}return e}let o=It(t,n);while(o&&ft(o)&&Wt(o)){o=It(o,n)}if(o&&mt(o)&&Wt(o)&&!dt(o)){return e}return o||ht(t)||e}const Gt=async function(t){const n=this.getOffsetParent||_t;const e=this.getDimensions;const o=await e(t.floating);return{reference:Nt(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Kt(t){return yt(t).direction==="rtl"}const Ut={convertOffsetParentRelativeRectToViewportRelativeRect:St,getDocumentElement:st,getClippingRect:$t,getOffsetParent:_t,getElementRects:Gt,getClientRects:Rt,getDimensions:zt,getScale:Tt,isElement:rt,isRTL:Kt};const Vt=J;I;const Xt=Q;const Yt=_;tt;U;const qt=N;Y;Z;const Jt=(t,n,e)=>{const o=new Map;const s={platform:Ut,...e};const i={...s.platform,_c:o};return $(t,n,{...s,platform:i})};const Qt=(t,n,e)=>{const o=t.get(n);if(!o){t.set(n,[e])}else if(!o.includes(e)){o.push(e)}};const Zt=(t,n)=>{let e;return(...o)=>{if(e){clearTimeout(e)}e=setTimeout((()=>{e=0;t(...o)}),n)}};const tn=t=>!("isConnected"in t)||t.isConnected;const nn=Zt((t=>{for(let n of t.keys()){t.set(n,t.get(n).filter(tn))}}),2e3);const en=()=>{if(typeof t!=="function"){return{}}const e=new Map;return{dispose:()=>e.clear(),get:n=>{const o=t();if(o){Qt(e,n,o)}},set:t=>{const o=e.get(t);if(o){e.set(t,o.filter(n))}nn(e)},reset:()=>{e.forEach((t=>t.forEach(n)));nn(e)}}};const on=t=>typeof t==="function"?t():t;const sn=(t,n=((t,n)=>t!==n))=>{const e=on(t);let o=new Map(Object.entries(e!==null&&e!==void 0?e:{}));const s={dispose:[],get:[],set:[],reset:[]};const i=()=>{var n;o=new Map(Object.entries((n=on(t))!==null&&n!==void 0?n:{}));s.reset.forEach((t=>t()))};const r=()=>{s.dispose.forEach((t=>t()));i()};const c=t=>{s.get.forEach((n=>n(t)));return o.get(t)};const a=(t,e)=>{const i=o.get(t);if(n(e,i,t)){o.set(t,e);s.set.forEach((n=>n(t,e,i)))}};const l=typeof Proxy==="undefined"?{}:new Proxy(e,{get(t,n){return c(n)},ownKeys(t){return Array.from(o.keys())},getOwnPropertyDescriptor(){return{enumerable:true,configurable:true}},has(t,n){return o.has(n)},set(t,n,e){a(n,e);return true}});const f=(t,n)=>{s[t].push(n);return()=>{rn(s[t],n)}};const u=(n,e)=>{const o=f("set",((t,o)=>{if(t===n){e(o)}}));const s=f("reset",(()=>e(on(t)[n])));return()=>{o();s()}};const d=(...t)=>{const n=t.reduce(((t,n)=>{if(n.set){t.push(f("set",n.set))}if(n.get){t.push(f("get",n.get))}if(n.reset){t.push(f("reset",n.reset))}if(n.dispose){t.push(f("dispose",n.dispose))}return t}),[]);return()=>n.forEach((t=>t()))};const h=t=>{const n=o.get(t);s.set.forEach((e=>e(t,n,n)))};return{state:l,get:c,set:a,on:f,onChange:u,use:d,dispose:r,reset:i,forceUpdate:h}};const rn=(t,n)=>{const e=t.indexOf(n);if(e>=0){t[e]=t[t.length-1];t.length--}};const cn=(t,n)=>{const e=sn(t,n);e.use(en());return e};const an="nv-popover{display:inline-block;position:relative}nv-popover:has([fluid]:not([fluid=false])){display:block}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=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 [slot=content]{position:relative;z-index:1}nv-popover slot-fb{display:none}";const ln=an;const{state:fn}=cn({groups:new Map});const un=class{constructor(t){e(this,t);this.openChanged=o(this,"openChanged",7);this.handleClickOutside=t=>{if(this.el.contains(t.target))return;if(this.triggerElement.contains(t.target))return;this.hide()};this.clickEvents=[["click",this.toggle],["touchstart",this.toggle],["keydown",t=>{if(t.key==="Enter"||t.key===" "){t.preventDefault();this.toggle()}}]];this.hoverEvents=[["focus",()=>{clearTimeout(this.hideTimeout);this.showTimeout=setTimeout((()=>this.show()),this.enterDelay)}],["blur",()=>{clearTimeout(this.showTimeout);this.hideTimeout=setTimeout((()=>this.hide()),50)}],["mouseenter",()=>{clearTimeout(this.hideTimeout);this.showTimeout=setTimeout((()=>this.show()),this.enterDelay)}],["mouseleave",()=>{clearTimeout(this.showTimeout);this.hideTimeout=setTimeout((()=>this.hide()),100)}]];this.closeEvents=[["keydown",t=>{if(t.key==="Escape"){this.hide()}}]];this.isAnimating=false;this.triggerElement=undefined;this.open=false;this.triggerMode="click";this.placement="bottom";this.groupName=undefined;this.offset=12;this.hasArrow=false;this.disableFlip=false;this.shiftPadding=16;this.enterDelay=0;this.nested=false}async show(){this.open=true}async hide(){this.open=false}async toggle(){this.open=!this.open}positionPopover(){if(!this.triggerElement)return;Jt(this.triggerElement,this.popoverElement,{placement:this.placement,middleware:[Vt(this.offset),!this.disableFlip&&Yt({fallbackStrategy:"bestFit",crossAxis:true,fallbackPlacements:["bottom"]}),Xt({padding:this.shiftPadding}),this.hasArrow&&qt({element:this.arrowElement})]}).then((({x:t,y:n,placement:e,middlewareData:o})=>{Object.assign(this.popoverElement.style,{left:`${t}px`,top:`${n}px`});if(this.hasArrow){const t={top:"bottom",right:"left",bottom:"top",left:"right"}[e.split("-")[0]];const n={top:"rotate(225deg)",right:"rotate(315deg)",bottom:"rotate(45deg)",left:"rotate(135deg)"}[e.split("-")[0]];const{x:s,y:i}=o.arrow;Object.assign(this.arrowElement.style,{left:s!=null?`${s}px`:"",top:i!=null?`${i}px`:"",right:"",bottom:"",transform:n,[t]:"-4px"})}}))}handleOpenChanged(t){var n;if(this.triggerMode==="controlled")return;if(this.nested)return;if((n=t.target)===null||n===void 0?void 0:n.hasAttribute("nested"))return;if(t.target!==this.el&&t.detail===true)this.hide()}handleDocumentClick(t){if(this.triggerMode==="controlled")return;this.handleClickOutside(t)}handleDocumentTouch(t){if(this.triggerMode==="controlled")return;this.handleClickOutside(t)}async handleOpenChange(t){while(this.isAnimating){await new Promise((t=>setTimeout(t,50)))}this.isAnimating=true;const n=fn.groups.get(this.groupName);const e=n&&n.openedBy!==this.el;const o=n&&n.openedBy===this.el;if(t)this.popoverElement.style.removeProperty("display");if(o&&!t)fn.groups.delete(this.groupName);if(this.groupName&&t)fn.groups.set(this.groupName,{openedBy:this.el});const{growIn:s}=a(this.popoverElement,{duration:e?0:100,amount:.85});const{fadeOut:i}=c(this.popoverElement,{duration:e?0:100});if(t===true){this.popoverElement.removeAttribute("hidden");this.positionPopover();await s()}if(t===false){await i();this.popoverElement.setAttribute("hidden","")}this.isAnimating=false;this.openChanged.emit(t)}componentWillLoad(){if(!this.triggerElement)this.triggerElement=Array.from(this.el.children).find((t=>t.getAttribute("slot")==="trigger"))}componentDidLoad(){if(!this.open){const{setGrowOut:t}=a(this.popoverElement);t()}else{const{setFadeIn:t}=c(this.popoverElement);t();this.popoverElement.removeAttribute("hidden")}this.positionPopover();l(this.closeEvents,document,this);if(this.triggerMode==="click")l(this.clickEvents,this.triggerElement,this);if(this.triggerMode==="hover")l(this.hoverEvents,this.triggerElement,this)}disconnectedCallback(){f(this.closeEvents,document,this);if(this.triggerMode==="click")f(this.clickEvents,this.triggerElement,this);if(this.triggerMode==="hover")f(this.hoverEvents,this.triggerElement,this)}render(){return s(i,{key:"305452892fe5a5889aa81ad8a794f91407965a82"},s("slot",{key:"c82770ebfafb46c8e5ceb55b71199873ac7ca039",name:"trigger"}),s("div",{key:"02646f26b908fa4103ebb0a44233a833713c57bc","data-scope":"popover",hidden:true,ref:t=>this.popoverElement=t},this.hasArrow&&s("div",{key:"dc654f5595b1e9b2fae2b8eab2d8716ad8c1fcee","data-scope":"arrow",ref:t=>this.arrowElement=t}),s("slot",{key:"0d2dd2e1fca7f73815add0cd4ff85b41932f01fb",name:"content"})))}get el(){return r(this)}static get watchers(){return{open:["handleOpenChange"]}}};un.style=ln;export{un as nv_popover};
2
- //# sourceMappingURL=p-99e17032.entry.js.map
1
+ import{d as t,f as n,r as e,c as o,h as s,a as i,g as r}from"./p-db2a68f3.js";import{u as c}from"./p-1daca48a.js";import{u as a,a as l,r as f}from"./p-a37c2ac2.js";const u=["top","right","bottom","left"];const d=["start","end"];const h=u.reduce(((t,n)=>t.concat(n,n+"-"+d[0],n+"-"+d[1])),[]);const p=Math.min;const m=Math.max;const y=Math.round;const g=t=>({x:t,y:t});const w={left:"right",right:"left",bottom:"top",top:"bottom"};const v={start:"end",end:"start"};function b(t,n,e){return m(t,p(n,e))}function x(t,n){return typeof t==="function"?t(n):t}function k(t){return t.split("-")[0]}function A(t){return t.split("-")[1]}function T(t){return t==="x"?"y":"x"}function O(t){return t==="y"?"height":"width"}function C(t){return["top","bottom"].includes(k(t))?"y":"x"}function P(t){return T(C(t))}function D(t,n,e){if(e===void 0){e=false}const o=A(t);const s=P(t);const i=O(s);let r=s==="x"?o===(e?"end":"start")?"right":"left":o==="start"?"bottom":"top";if(n.reference[i]>n.floating[i]){r=B(r)}return[r,B(r)]}function S(t){const n=B(t);return[R(t),n,R(n)]}function R(t){return t.replace(/start|end/g,(t=>v[t]))}function j(t,n,e){const o=["left","right"];const s=["right","left"];const i=["top","bottom"];const r=["bottom","top"];switch(t){case"top":case"bottom":if(e)return n?s:o;return n?o:s;case"left":case"right":return n?i:r;default:return[]}}function M(t,n,e,o){const s=A(t);let i=j(k(t),e==="start",o);if(s){i=i.map((t=>t+"-"+s));if(n){i=i.concat(i.map(R))}}return i}function B(t){return t.replace(/left|right|bottom|top/g,(t=>w[t]))}function F(t){return{top:0,right:0,bottom:0,left:0,...t}}function L(t){return typeof t!=="number"?F(t):{top:t,right:t,bottom:t,left:t}}function E(t){const{x:n,y:e,width:o,height:s}=t;return{width:o,height:s,top:e,left:n,right:n+o,bottom:e+s,x:n,y:e}}function H(t,n,e){let{reference:o,floating:s}=t;const i=C(n);const r=P(n);const c=O(r);const a=k(n);const l=i==="y";const f=o.x+o.width/2-s.width/2;const u=o.y+o.height/2-s.height/2;const d=o[c]/2-s[c]/2;let h;switch(a){case"top":h={x:f,y:o.y-s.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:u};break;case"left":h={x:o.x-s.width,y:u};break;default:h={x:o.x,y:o.y}}switch(A(n)){case"start":h[r]-=d*(e&&l?-1:1);break;case"end":h[r]+=d*(e&&l?-1:1);break}return h}const $=async(t,n,e)=>{const{placement:o="bottom",strategy:s="absolute",middleware:i=[],platform:r}=e;const c=i.filter(Boolean);const a=await(r.isRTL==null?void 0:r.isRTL(n));let l=await r.getElementRects({reference:t,floating:n,strategy:s});let{x:f,y:u}=H(l,o,a);let d=o;let h={};let p=0;for(let e=0;e<c.length;e++){const{name:i,fn:m}=c[e];const{x:y,y:g,data:w,reset:v}=await m({x:f,y:u,initialPlacement:o,placement:d,strategy:s,middlewareData:h,rects:l,platform:r,elements:{reference:t,floating:n}});f=y!=null?y:f;u=g!=null?g:u;h={...h,[i]:{...h[i],...w}};if(v&&p<=50){p++;if(typeof v==="object"){if(v.placement){d=v.placement}if(v.rects){l=v.rects===true?await r.getElementRects({reference:t,floating:n,strategy:s}):v.rects}({x:f,y:u}=H(l,d,a))}e=-1}}return{x:f,y:u,placement:d,strategy:s,middlewareData:h}};async function z(t,n){var e;if(n===void 0){n={}}const{x:o,y:s,platform:i,rects:r,elements:c,strategy:a}=t;const{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=false,padding:h=0}=x(n,t);const p=L(h);const m=u==="floating"?"reference":"floating";const y=c[d?m:u];const g=E(await i.getClippingRect({element:((e=await(i.isElement==null?void 0:i.isElement(y)))!=null?e:true)?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:l,rootBoundary:f,strategy:a}));const w=u==="floating"?{x:o,y:s,width:r.floating.width,height:r.floating.height}:r.reference;const v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating));const b=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1};const k=E(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:v,strategy:a}):w);return{top:(g.top-k.top+p.top)/b.y,bottom:(k.bottom-g.bottom+p.bottom)/b.y,left:(g.left-k.left+p.left)/b.x,right:(k.right-g.right+p.right)/b.x}}const N=t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:s,rects:i,platform:r,elements:c,middlewareData:a}=n;const{element:l,padding:f=0}=x(t,n)||{};if(l==null){return{}}const u=L(f);const d={x:e,y:o};const h=P(s);const m=O(h);const y=await r.getDimensions(l);const g=h==="y";const w=g?"top":"left";const v=g?"bottom":"right";const k=g?"clientHeight":"clientWidth";const T=i.reference[m]+i.reference[h]-d[h]-i.floating[m];const C=d[h]-i.reference[h];const D=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l));let S=D?D[k]:0;if(!S||!await(r.isElement==null?void 0:r.isElement(D))){S=c.floating[k]||i.floating[m]}const R=T/2-C/2;const j=S/2-y[m]/2-1;const M=p(u[w],j);const B=p(u[v],j);const F=M;const E=S-y[m]-B;const H=S/2-y[m]/2+R;const $=b(F,H,E);const z=!a.arrow&&A(s)!=null&&H!==$&&i.reference[m]/2-(H<F?M:B)-y[m]/2<0;const N=z?H<F?H-F:H-E:0;return{[h]:d[h]+N,data:{[h]:$,centerOffset:H-$-N,...z&&{alignmentOffset:N}},reset:z}}});function W(t,n,e){const o=t?[...e.filter((n=>A(n)===t)),...e.filter((n=>A(n)!==t))]:e.filter((t=>k(t)===t));return o.filter((e=>{if(t){return A(e)===t||(n?R(e)!==e:false)}return true}))}const I=function(t){if(t===void 0){t={}}return{name:"autoPlacement",options:t,async fn(n){var e,o,s;const{rects:i,middlewareData:r,placement:c,platform:a,elements:l}=n;const{crossAxis:f=false,alignment:u,allowedPlacements:d=h,autoAlignment:p=true,...m}=x(t,n);const y=u!==undefined||d===h?W(u||null,p,d):d;const g=await z(n,m);const w=((e=r.autoPlacement)==null?void 0:e.index)||0;const v=y[w];if(v==null){return{}}const b=D(v,i,await(a.isRTL==null?void 0:a.isRTL(l.floating)));if(c!==v){return{reset:{placement:y[0]}}}const T=[g[k(v)],g[b[0]],g[b[1]]];const O=[...((o=r.autoPlacement)==null?void 0:o.overflows)||[],{placement:v,overflows:T}];const C=y[w+1];if(C){return{data:{index:w+1,overflows:O},reset:{placement:C}}}const P=O.map((t=>{const n=A(t.placement);return[t.placement,n&&f?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1]));const S=P.filter((t=>t[2].slice(0,A(t[0])?2:3).every((t=>t<=0))));const R=((s=S[0])==null?void 0:s[0])||P[0][0];if(R!==c){return{data:{index:w+1,overflows:O},reset:{placement:R}}}return{}}}};const _=function(t){if(t===void 0){t={}}return{name:"flip",options:t,async fn(n){var e,o;const{placement:s,middlewareData:i,rects:r,initialPlacement:c,platform:a,elements:l}=n;const{mainAxis:f=true,crossAxis:u=true,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=true,...y}=x(t,n);if((e=i.arrow)!=null&&e.alignmentOffset){return{}}const g=k(s);const w=k(c)===c;const v=await(a.isRTL==null?void 0:a.isRTL(l.floating));const b=d||(w||!m?[B(c)]:S(c));if(!d&&p!=="none"){b.push(...M(c,m,p,v))}const A=[c,...b];const T=await z(n,y);const O=[];let C=((o=i.flip)==null?void 0:o.overflows)||[];if(f){O.push(T[g])}if(u){const t=D(s,r,v);O.push(T[t[0]],T[t[1]])}C=[...C,{placement:s,overflows:O}];if(!O.every((t=>t<=0))){var P,R;const t=(((P=i.flip)==null?void 0:P.index)||0)+1;const n=A[t];if(n){return{data:{index:t,overflows:C},reset:{placement:n}}}let e=(R=C.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])==null?void 0:R.placement;if(!e){switch(h){case"bestFit":{var j;const t=(j=C.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])==null?void 0:j[0];if(t){e=t}break}case"initialPlacement":e=c;break}}if(s!==e){return{reset:{placement:e}}}}return{}}}};function G(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function K(t){return u.some((n=>t[n]>=0))}const U=function(t){if(t===void 0){t={}}return{name:"hide",options:t,async fn(n){const{rects:e}=n;const{strategy:o="referenceHidden",...s}=x(t,n);switch(o){case"referenceHidden":{const t=await z(n,{...s,elementContext:"reference"});const o=G(t,e.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:K(o)}}}case"escaped":{const t=await z(n,{...s,altBoundary:true});const o=G(t,e.floating);return{data:{escapedOffsets:o,escaped:K(o)}}}default:{return{}}}}}};function V(t){const n=p(...t.map((t=>t.left)));const e=p(...t.map((t=>t.top)));const o=m(...t.map((t=>t.right)));const s=m(...t.map((t=>t.bottom)));return{x:n,y:e,width:o-n,height:s-e}}function X(t){const n=t.slice().sort(((t,n)=>t.y-n.y));const e=[];let o=null;for(let t=0;t<n.length;t++){const s=n[t];if(!o||s.y-o.y>o.height/2){e.push([s])}else{e[e.length-1].push(s)}o=s}return e.map((t=>E(V(t))))}const Y=function(t){if(t===void 0){t={}}return{name:"inline",options:t,async fn(n){const{placement:e,elements:o,rects:s,platform:i,strategy:r}=n;const{padding:c=2,x:a,y:l}=x(t,n);const f=Array.from(await(i.getClientRects==null?void 0:i.getClientRects(o.reference))||[]);const u=X(f);const d=E(V(f));const h=L(c);function y(){if(u.length===2&&u[0].left>u[1].right&&a!=null&&l!=null){return u.find((t=>a>t.left-h.left&&a<t.right+h.right&&l>t.top-h.top&&l<t.bottom+h.bottom))||d}if(u.length>=2){if(C(e)==="y"){const t=u[0];const n=u[u.length-1];const o=k(e)==="top";const s=t.top;const i=n.bottom;const r=o?t.left:n.left;const c=o?t.right:n.right;const a=c-r;const l=i-s;return{top:s,bottom:i,left:r,right:c,width:a,height:l,x:r,y:s}}const t=k(e)==="left";const n=m(...u.map((t=>t.right)));const o=p(...u.map((t=>t.left)));const s=u.filter((e=>t?e.left===o:e.right===n));const i=s[0].top;const r=s[s.length-1].bottom;const c=o;const a=n;const l=a-c;const f=r-i;return{top:i,bottom:r,left:c,right:a,width:l,height:f,x:c,y:i}}return d}const g=await i.getElementRects({reference:{getBoundingClientRect:y},floating:o.floating,strategy:r});if(s.reference.x!==g.reference.x||s.reference.y!==g.reference.y||s.reference.width!==g.reference.width||s.reference.height!==g.reference.height){return{reset:{rects:g}}}return{}}}};async function q(t,n){const{placement:e,platform:o,elements:s}=t;const i=await(o.isRTL==null?void 0:o.isRTL(s.floating));const r=k(e);const c=A(e);const a=C(e)==="y";const l=["left","top"].includes(r)?-1:1;const f=i&&a?-1:1;const u=x(n,t);let{mainAxis:d,crossAxis:h,alignmentAxis:p}=typeof u==="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};if(c&&typeof p==="number"){h=c==="end"?p*-1:p}return a?{x:h*f,y:d*l}:{x:d*l,y:h*f}}const J=function(t){if(t===void 0){t=0}return{name:"offset",options:t,async fn(n){var e,o;const{x:s,y:i,placement:r,middlewareData:c}=n;const a=await q(n,t);if(r===((e=c.offset)==null?void 0:e.placement)&&(o=c.arrow)!=null&&o.alignmentOffset){return{}}return{x:s+a.x,y:i+a.y,data:{...a,placement:r}}}}};const Q=function(t){if(t===void 0){t={}}return{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:s}=n;const{mainAxis:i=true,crossAxis:r=false,limiter:c={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...a}=x(t,n);const l={x:e,y:o};const f=await z(n,a);const u=C(k(s));const d=T(u);let h=l[d];let p=l[u];if(i){const t=d==="y"?"top":"left";const n=d==="y"?"bottom":"right";const e=h+f[t];const o=h-f[n];h=b(e,h,o)}if(r){const t=u==="y"?"top":"left";const n=u==="y"?"bottom":"right";const e=p+f[t];const o=p-f[n];p=b(e,p,o)}const m=c.fn({...n,[d]:h,[u]:p});return{...m,data:{x:m.x-e,y:m.y-o}}}}};const Z=function(t){if(t===void 0){t={}}return{options:t,fn(n){const{x:e,y:o,placement:s,rects:i,middlewareData:r}=n;const{offset:c=0,mainAxis:a=true,crossAxis:l=true}=x(t,n);const f={x:e,y:o};const u=C(s);const d=T(u);let h=f[d];let p=f[u];const m=x(c,n);const y=typeof m==="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(a){const t=d==="y"?"height":"width";const n=i.reference[d]-i.floating[t]+y.mainAxis;const e=i.reference[d]+i.reference[t]-y.mainAxis;if(h<n){h=n}else if(h>e){h=e}}if(l){var g,w;const t=d==="y"?"width":"height";const n=["top","left"].includes(k(s));const e=i.reference[u]-i.floating[t]+(n?((g=r.offset)==null?void 0:g[u])||0:0)+(n?0:y.crossAxis);const o=i.reference[u]+i.reference[t]+(n?0:((w=r.offset)==null?void 0:w[u])||0)-(n?y.crossAxis:0);if(p<e){p=e}else if(p>o){p=o}}return{[d]:h,[u]:p}}}};const tt=function(t){if(t===void 0){t={}}return{name:"size",options:t,async fn(n){const{placement:e,rects:o,platform:s,elements:i}=n;const{apply:r=(()=>{}),...c}=x(t,n);const a=await z(n,c);const l=k(e);const f=A(e);const u=C(e)==="y";const{width:d,height:h}=o.floating;let y;let g;if(l==="top"||l==="bottom"){y=l;g=f===(await(s.isRTL==null?void 0:s.isRTL(i.floating))?"start":"end")?"left":"right"}else{g=l;y=f==="end"?"top":"bottom"}const w=h-a.top-a.bottom;const v=d-a.left-a.right;const b=p(h-a[y],w);const T=p(d-a[g],v);const O=!n.middlewareData.shift;let P=b;let D=T;if(u){D=f||O?p(T,v):v}else{P=f||O?p(b,w):w}if(O&&!f){const t=m(a.left,0);const n=m(a.right,0);const e=m(a.top,0);const o=m(a.bottom,0);if(u){D=d-2*(t!==0||n!==0?t+n:m(a.left,a.right))}else{P=h-2*(e!==0||o!==0?e+o:m(a.top,a.bottom))}}await r({...n,availableWidth:D,availableHeight:P});const S=await s.getDimensions(i.floating);if(d!==S.width||h!==S.height){return{reset:{rects:true}}}return{}}}};function nt(){return typeof window!=="undefined"}function et(t){if(it(t)){return(t.nodeName||"").toLowerCase()}return"#document"}function ot(t){var n;return(t==null||(n=t.ownerDocument)==null?void 0:n.defaultView)||window}function st(t){var n;return(n=(it(t)?t.ownerDocument:t.document)||window.document)==null?void 0:n.documentElement}function it(t){if(!nt()){return false}return t instanceof Node||t instanceof ot(t).Node}function rt(t){if(!nt()){return false}return t instanceof Element||t instanceof ot(t).Element}function ct(t){if(!nt()){return false}return t instanceof HTMLElement||t instanceof ot(t).HTMLElement}function at(t){if(!nt()||typeof ShadowRoot==="undefined"){return false}return t instanceof ShadowRoot||t instanceof ot(t).ShadowRoot}function lt(t){const{overflow:n,overflowX:e,overflowY:o,display:s}=yt(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(s)}function ft(t){return["table","td","th"].includes(et(t))}function ut(t){return[":popover-open",":modal"].some((n=>{try{return t.matches(n)}catch(t){return false}}))}function dt(t){const n=pt();const e=rt(t)?yt(t):t;return e.transform!=="none"||e.perspective!=="none"||(e.containerType?e.containerType!=="normal":false)||!n&&(e.backdropFilter?e.backdropFilter!=="none":false)||!n&&(e.filter?e.filter!=="none":false)||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ht(t){let n=wt(t);while(ct(n)&&!mt(n)){if(dt(n)){return n}else if(ut(n)){return null}n=wt(n)}return null}function pt(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}function mt(t){return["html","body","#document"].includes(et(t))}function yt(t){return ot(t).getComputedStyle(t)}function gt(t){if(rt(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function wt(t){if(et(t)==="html"){return t}const n=t.assignedSlot||t.parentNode||at(t)&&t.host||st(t);return at(n)?n.host:n}function vt(t){const n=wt(t);if(mt(n)){return t.ownerDocument?t.ownerDocument.body:t.body}if(ct(n)&&lt(n)){return n}return vt(n)}function bt(t,n,e){var o;if(n===void 0){n=[]}if(e===void 0){e=true}const s=vt(t);const i=s===((o=t.ownerDocument)==null?void 0:o.body);const r=ot(s);if(i){const t=xt(r);return n.concat(r,r.visualViewport||[],lt(s)?s:[],t&&e?bt(t):[])}return n.concat(s,bt(s,[],e))}function xt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function kt(t){const n=yt(t);let e=parseFloat(n.width)||0;let o=parseFloat(n.height)||0;const s=ct(t);const i=s?t.offsetWidth:e;const r=s?t.offsetHeight:o;const c=y(e)!==i||y(o)!==r;if(c){e=i;o=r}return{width:e,height:o,$:c}}function At(t){return!rt(t)?t.contextElement:t}function Tt(t){const n=At(t);if(!ct(n)){return g(1)}const e=n.getBoundingClientRect();const{width:o,height:s,$:i}=kt(n);let r=(i?y(e.width):e.width)/o;let c=(i?y(e.height):e.height)/s;if(!r||!Number.isFinite(r)){r=1}if(!c||!Number.isFinite(c)){c=1}return{x:r,y:c}}const Ot=g(0);function Ct(t){const n=ot(t);if(!pt()||!n.visualViewport){return Ot}return{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function Pt(t,n,e){if(n===void 0){n=false}if(!e||n&&e!==ot(t)){return false}return n}function Dt(t,n,e,o){if(n===void 0){n=false}if(e===void 0){e=false}const s=t.getBoundingClientRect();const i=At(t);let r=g(1);if(n){if(o){if(rt(o)){r=Tt(o)}}else{r=Tt(t)}}const c=Pt(i,e,o)?Ct(i):g(0);let a=(s.left+c.x)/r.x;let l=(s.top+c.y)/r.y;let f=s.width/r.x;let u=s.height/r.y;if(i){const t=ot(i);const n=o&&rt(o)?ot(o):o;let e=t;let s=xt(e);while(s&&o&&n!==e){const t=Tt(s);const n=s.getBoundingClientRect();const o=yt(s);const i=n.left+(s.clientLeft+parseFloat(o.paddingLeft))*t.x;const r=n.top+(s.clientTop+parseFloat(o.paddingTop))*t.y;a*=t.x;l*=t.y;f*=t.x;u*=t.y;a+=i;l+=r;e=ot(s);s=xt(e)}}return E({width:f,height:u,x:a,y:l})}function St(t){let{elements:n,rect:e,offsetParent:o,strategy:s}=t;const i=s==="fixed";const r=st(o);const c=n?ut(n.floating):false;if(o===r||c&&i){return e}let a={scrollLeft:0,scrollTop:0};let l=g(1);const f=g(0);const u=ct(o);if(u||!u&&!i){if(et(o)!=="body"||lt(r)){a=gt(o)}if(ct(o)){const t=Dt(o);l=Tt(o);f.x=t.x+o.clientLeft;f.y=t.y+o.clientTop}}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-a.scrollLeft*l.x+f.x,y:e.y*l.y-a.scrollTop*l.y+f.y}}function Rt(t){return Array.from(t.getClientRects())}function jt(t,n){const e=gt(t).scrollLeft;if(!n){return Dt(st(t)).left+e}return n.left+e}function Mt(t){const n=st(t);const e=gt(t);const o=t.ownerDocument.body;const s=m(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth);const i=m(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let r=-e.scrollLeft+jt(t);const c=-e.scrollTop;if(yt(o).direction==="rtl"){r+=m(n.clientWidth,o.clientWidth)-s}return{width:s,height:i,x:r,y:c}}function Bt(t,n){const e=ot(t);const o=st(t);const s=e.visualViewport;let i=o.clientWidth;let r=o.clientHeight;let c=0;let a=0;if(s){i=s.width;r=s.height;const t=pt();if(!t||t&&n==="fixed"){c=s.offsetLeft;a=s.offsetTop}}return{width:i,height:r,x:c,y:a}}function Ft(t,n){const e=Dt(t,true,n==="fixed");const o=e.top+t.clientTop;const s=e.left+t.clientLeft;const i=ct(t)?Tt(t):g(1);const r=t.clientWidth*i.x;const c=t.clientHeight*i.y;const a=s*i.x;const l=o*i.y;return{width:r,height:c,x:a,y:l}}function Lt(t,n,e){let o;if(n==="viewport"){o=Bt(t,e)}else if(n==="document"){o=Mt(st(t))}else if(rt(n)){o=Ft(n,e)}else{const e=Ct(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return E(o)}function Et(t,n){const e=wt(t);if(e===n||!rt(e)||mt(e)){return false}return yt(e).position==="fixed"||Et(e,n)}function Ht(t,n){const e=n.get(t);if(e){return e}let o=bt(t,[],false).filter((t=>rt(t)&&et(t)!=="body"));let s=null;const i=yt(t).position==="fixed";let r=i?wt(t):t;while(rt(r)&&!mt(r)){const n=yt(r);const e=dt(r);if(!e&&n.position==="fixed"){s=null}const c=i?!e&&!s:!e&&n.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||lt(r)&&!e&&Et(t,r);if(c){o=o.filter((t=>t!==r))}else{s=n}r=wt(r)}n.set(t,o);return o}function $t(t){let{element:n,boundary:e,rootBoundary:o,strategy:s}=t;const i=e==="clippingAncestors"?ut(n)?[]:Ht(n,this._c):[].concat(e);const r=[...i,o];const c=r[0];const a=r.reduce(((t,e)=>{const o=Lt(n,e,s);t.top=m(o.top,t.top);t.right=p(o.right,t.right);t.bottom=p(o.bottom,t.bottom);t.left=m(o.left,t.left);return t}),Lt(n,c,s));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function zt(t){const{width:n,height:e}=kt(t);return{width:n,height:e}}function Nt(t,n,e){const o=ct(n);const s=st(n);const i=e==="fixed";const r=Dt(t,true,i,n);let c={scrollLeft:0,scrollTop:0};const a=g(0);if(o||!o&&!i){if(et(n)!=="body"||lt(s)){c=gt(n)}if(o){const t=Dt(n,true,i,n);a.x=t.x+n.clientLeft;a.y=t.y+n.clientTop}else if(s){a.x=jt(s)}}let l=0;let f=0;if(s&&!o&&!i){const t=s.getBoundingClientRect();f=t.top+c.scrollTop;l=t.left+c.scrollLeft-jt(s,t)}const u=r.left+c.scrollLeft-a.x-l;const d=r.top+c.scrollTop-a.y-f;return{x:u,y:d,width:r.width,height:r.height}}function Wt(t){return yt(t).position==="static"}function It(t,n){if(!ct(t)||yt(t).position==="fixed"){return null}if(n){return n(t)}let e=t.offsetParent;if(st(t)===e){e=e.ownerDocument.body}return e}function _t(t,n){const e=ot(t);if(ut(t)){return e}if(!ct(t)){let n=wt(t);while(n&&!mt(n)){if(rt(n)&&!Wt(n)){return n}n=wt(n)}return e}let o=It(t,n);while(o&&ft(o)&&Wt(o)){o=It(o,n)}if(o&&mt(o)&&Wt(o)&&!dt(o)){return e}return o||ht(t)||e}const Gt=async function(t){const n=this.getOffsetParent||_t;const e=this.getDimensions;const o=await e(t.floating);return{reference:Nt(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Kt(t){return yt(t).direction==="rtl"}const Ut={convertOffsetParentRelativeRectToViewportRelativeRect:St,getDocumentElement:st,getClippingRect:$t,getOffsetParent:_t,getElementRects:Gt,getClientRects:Rt,getDimensions:zt,getScale:Tt,isElement:rt,isRTL:Kt};const Vt=J;I;const Xt=Q;const Yt=_;tt;U;const qt=N;Y;Z;const Jt=(t,n,e)=>{const o=new Map;const s={platform:Ut,...e};const i={...s.platform,_c:o};return $(t,n,{...s,platform:i})};const Qt=(t,n,e)=>{const o=t.get(n);if(!o){t.set(n,[e])}else if(!o.includes(e)){o.push(e)}};const Zt=(t,n)=>{let e;return(...o)=>{if(e){clearTimeout(e)}e=setTimeout((()=>{e=0;t(...o)}),n)}};const tn=t=>!("isConnected"in t)||t.isConnected;const nn=Zt((t=>{for(let n of t.keys()){t.set(n,t.get(n).filter(tn))}}),2e3);const en=()=>{if(typeof t!=="function"){return{}}const e=new Map;return{dispose:()=>e.clear(),get:n=>{const o=t();if(o){Qt(e,n,o)}},set:t=>{const o=e.get(t);if(o){e.set(t,o.filter(n))}nn(e)},reset:()=>{e.forEach((t=>t.forEach(n)));nn(e)}}};const on=t=>typeof t==="function"?t():t;const sn=(t,n=((t,n)=>t!==n))=>{const e=on(t);let o=new Map(Object.entries(e!==null&&e!==void 0?e:{}));const s={dispose:[],get:[],set:[],reset:[]};const i=()=>{var n;o=new Map(Object.entries((n=on(t))!==null&&n!==void 0?n:{}));s.reset.forEach((t=>t()))};const r=()=>{s.dispose.forEach((t=>t()));i()};const c=t=>{s.get.forEach((n=>n(t)));return o.get(t)};const a=(t,e)=>{const i=o.get(t);if(n(e,i,t)){o.set(t,e);s.set.forEach((n=>n(t,e,i)))}};const l=typeof Proxy==="undefined"?{}:new Proxy(e,{get(t,n){return c(n)},ownKeys(t){return Array.from(o.keys())},getOwnPropertyDescriptor(){return{enumerable:true,configurable:true}},has(t,n){return o.has(n)},set(t,n,e){a(n,e);return true}});const f=(t,n)=>{s[t].push(n);return()=>{rn(s[t],n)}};const u=(n,e)=>{const o=f("set",((t,o)=>{if(t===n){e(o)}}));const s=f("reset",(()=>e(on(t)[n])));return()=>{o();s()}};const d=(...t)=>{const n=t.reduce(((t,n)=>{if(n.set){t.push(f("set",n.set))}if(n.get){t.push(f("get",n.get))}if(n.reset){t.push(f("reset",n.reset))}if(n.dispose){t.push(f("dispose",n.dispose))}return t}),[]);return()=>n.forEach((t=>t()))};const h=t=>{const n=o.get(t);s.set.forEach((e=>e(t,n,n)))};return{state:l,get:c,set:a,on:f,onChange:u,use:d,dispose:r,reset:i,forceUpdate:h}};const rn=(t,n)=>{const e=t.indexOf(n);if(e>=0){t[e]=t[t.length-1];t.length--}};const cn=(t,n)=>{const e=sn(t,n);e.use(en());return e};const an="nv-popover{display:inline-block;position:relative}nv-popover:has([fluid]:not([fluid=false])){display:block}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=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 [slot=content]{position:relative;z-index:1}nv-popover slot-fb{display:none}";const ln=an;const{state:fn}=cn({groups:new Map});const un=class{constructor(t){e(this,t);this.openChanged=o(this,"openChanged",7);this.handleClickOutside=t=>{if(this.el.contains(t.target))return;if(this.triggerElement.contains(t.target))return;this.hide()};this.clickEvents=[["click",this.toggle],["touchstart",this.toggle],["keydown",t=>{if(t.key==="Enter"||t.key===" "){t.preventDefault();this.toggle()}}]];this.hoverEvents=[["focus",()=>{clearTimeout(this.hideTimeout);this.showTimeout=setTimeout((()=>this.show()),this.enterDelay)}],["blur",()=>{clearTimeout(this.showTimeout);this.hideTimeout=setTimeout((()=>this.hide()),50)}],["mouseenter",()=>{clearTimeout(this.hideTimeout);this.showTimeout=setTimeout((()=>this.show()),this.enterDelay)}],["mouseleave",()=>{clearTimeout(this.showTimeout);this.hideTimeout=setTimeout((()=>this.hide()),100)}]];this.closeEvents=[["keydown",t=>{if(t.key==="Escape"){this.hide()}}]];this.isAnimating=false;this.triggerElement=undefined;this.open=false;this.triggerMode="click";this.placement="bottom";this.groupName=undefined;this.offset=12;this.hasArrow=false;this.disableFlip=false;this.shiftPadding=16;this.enterDelay=0;this.nested=false}async show(){this.open=true}async hide(){this.open=false}async toggle(){this.open=!this.open}positionPopover(){if(!this.triggerElement)return;Jt(this.triggerElement,this.popoverElement,{placement:this.placement,middleware:[Vt(this.offset),!this.disableFlip&&Yt({fallbackStrategy:"bestFit",crossAxis:true,fallbackPlacements:["bottom"]}),Xt({padding:this.shiftPadding}),this.hasArrow&&qt({element:this.arrowElement})]}).then((({x:t,y:n,placement:e,middlewareData:o})=>{Object.assign(this.popoverElement.style,{left:`${t}px`,top:`${n}px`});if(this.hasArrow){const t={top:"bottom",right:"left",bottom:"top",left:"right"}[e.split("-")[0]];const n={top:"rotate(225deg)",right:"rotate(315deg)",bottom:"rotate(45deg)",left:"rotate(135deg)"}[e.split("-")[0]];const{x:s,y:i}=o.arrow;Object.assign(this.arrowElement.style,{left:s!=null?`${s}px`:"",top:i!=null?`${i}px`:"",right:"",bottom:"",transform:n,[t]:"-4px"})}}))}handleOpenChanged(t){var n;if(this.triggerMode==="controlled")return;if(this.nested)return;if((n=t.target)===null||n===void 0?void 0:n.hasAttribute("nested"))return;if(t.target!==this.el&&t.detail===true)this.hide()}handleDocumentClick(t){if(this.triggerMode==="controlled")return;this.handleClickOutside(t)}handleDocumentTouch(t){if(this.triggerMode==="controlled")return;this.handleClickOutside(t)}async handleOpenChange(t){while(this.isAnimating){await new Promise((t=>setTimeout(t,50)))}this.isAnimating=true;const n=fn.groups.get(this.groupName);const e=n&&n.openedBy!==this.el;const o=n&&n.openedBy===this.el;if(t)this.popoverElement.style.removeProperty("display");if(o&&!t)fn.groups.delete(this.groupName);if(this.groupName&&t)fn.groups.set(this.groupName,{openedBy:this.el});const{growIn:s}=a(this.popoverElement,{duration:e?0:100,amount:.85});const{fadeOut:i}=c(this.popoverElement,{duration:e?0:100});if(t===true){this.popoverElement.removeAttribute("hidden");this.positionPopover();await s()}if(t===false){await i();this.popoverElement.setAttribute("hidden","")}this.isAnimating=false;this.openChanged.emit(t)}componentWillLoad(){if(!this.triggerElement)this.triggerElement=Array.from(this.el.children).find((t=>t.getAttribute("slot")==="trigger"))}componentDidLoad(){if(!this.open){const{setGrowOut:t}=a(this.popoverElement);t()}else{const{setFadeIn:t}=c(this.popoverElement);t();this.popoverElement.removeAttribute("hidden")}this.positionPopover();l(this.closeEvents,document,this);if(this.triggerMode==="click")l(this.clickEvents,this.triggerElement,this);if(this.triggerMode==="hover")l(this.hoverEvents,this.triggerElement,this)}disconnectedCallback(){f(this.closeEvents,document,this);if(this.triggerMode==="click")f(this.clickEvents,this.triggerElement,this);if(this.triggerMode==="hover")f(this.hoverEvents,this.triggerElement,this)}render(){return s(i,{key:"8d32b4cb618de8d8c88e813b5cb446eb4e667f27"},s("slot",{key:"bb4688a7ed334a32c1033c340d765e5abc8aef4a",name:"trigger"}),s("div",{key:"2e3847dd205be87742f3794f806ed1d903d88f14","data-scope":"popover",hidden:true,ref:t=>this.popoverElement=t},this.hasArrow&&s("div",{key:"8259476267d3c14043c649b95d875452909e1e08","data-scope":"arrow",ref:t=>this.arrowElement=t}),s("slot",{key:"e6d68d89876b7353c0abd349b7c3bc1bfe790a76",name:"content"})))}get el(){return r(this)}static get watchers(){return{open:["handleOpenChange"]}}};un.style=ln;export{un as nv_popover};
2
+ //# sourceMappingURL=p-fb6f42b7.entry.js.map
@@ -263,117 +263,6 @@ export namespace Components {
263
263
  */
264
264
  "value"?: string;
265
265
  }
266
- interface NvFielddropdownitemcheck {
267
- /**
268
- * Indicates whether the checkbox is selected.
269
- */
270
- "checked": boolean;
271
- /**
272
- * A description providing additional context or information about the checkbox.
273
- */
274
- "description"?: string;
275
- /**
276
- * Disables the item, preventing any user interaction.
277
- */
278
- "disabled": boolean;
279
- /**
280
- * The group this item belongs to, if applicable.
281
- */
282
- "group"?: string;
283
- /**
284
- * The label displayed alongside the checkbox.
285
- */
286
- "label"?: string;
287
- /**
288
- * The value associated with this item.
289
- */
290
- "value"?: string;
291
- }
292
- interface NvFieldmultiselect {
293
- /**
294
- * The autocomplete prop helps users fill out the input field faster by suggesting entries they’ve used before, like their email or address. You can turn it on to make forms more convenient or off to ensure users always type in fresh data.
295
- */
296
- "autocomplete": `${TextInputAutocomplete}`;
297
- /**
298
- * Text for the badge showing the number of selected items.
299
- */
300
- "badgeLabel": string;
301
- /**
302
- * Enables a clear-all button for the selection.
303
- */
304
- "clearable": boolean;
305
- /**
306
- * Add helpful hints or extra information under the text input field. This is where you can clarify what users should enter or provide additional instructions, making the form easier to fill out correctly.
307
- */
308
- "description": string;
309
- /**
310
- * The disabled prop lets you turn off the input field so that users can’t type in it. When disabled, the field is grayed out and won’t respond to clicks or touches.
311
- */
312
- "disabled": boolean;
313
- /**
314
- * The text to display when no items match the filter.
315
- */
316
- "emptyresult": string;
317
- /**
318
- * Alters the input field’s appearance to indicate an error, helping users identify fields that need correction.
319
- * @validator error
320
- */
321
- "error": boolean;
322
- /**
323
- * A description that appears when there is an error related to the dropdown field.
324
- * @validator message
325
- */
326
- "errorDescription": string;
327
- /**
328
- * Enables or disables the filtering feature for the dropdown items.
329
- */
330
- "filterable": boolean;
331
- /**
332
- * Retrieves the current filter text entered by the user.
333
- * @returns The filter text.
334
- */
335
- "getFilterText": () => Promise<string>;
336
- /**
337
- * Sets the ID for the input element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
338
- */
339
- "inputId": string;
340
- /**
341
- * Lets you define the text that explains what users should enter in the text input field. It’s a crucial element for making forms clear and user-friendly.
342
- */
343
- "label": string;
344
- /**
345
- * Maximum height of the dropdown list when open.
346
- */
347
- "maxHeight": string;
348
- /**
349
- * Defines the name attribute of the input field, which is crucial for form submission. This value is used as the key in the key-value pair sent to the server, representing the input’s data in form submissions. It should be unique within the form to avoid conflicts.
350
- */
351
- "name": string;
352
- /**
353
- * State of the dropdown popover.
354
- */
355
- "open": boolean;
356
- /**
357
- * List of options available in the dropdown.
358
- */
359
- "options": Array<{ label: string; value: string }>;
360
- /**
361
- * Display temporary text inside the input field to give users a hint about what to type. It’s a great way to provide examples or suggestions directly in the field before they start typing. The placeholder is displayed only when the filterable option is enabled.
362
- */
363
- "placeholder": string;
364
- /**
365
- * Display the input field’s content without allowing users to change it. Users can still click on it, select, and copy the text, but they won’t be able to type or delete anything.
366
- */
367
- "readonly": boolean;
368
- /**
369
- * Marks the input field as required, ensuring that the user must fill it out before submitting the form.
370
- */
371
- "required": boolean;
372
- /**
373
- * Specifies the value of the input field, which determines the text displayed within the field. This prop is typically used in controlled components where the input’s value is managed by the component’s state.
374
- */
375
- "value": string;
376
- }
377
266
  interface NvFieldnumber {
378
267
  /**
379
268
  * Add helpful hints or extra information under the text input field. This is where you can clarify what users should enter or provide additional instructions, making the form easier to fill out correctly.
@@ -1101,14 +990,6 @@ export interface NvFieldcheckboxCustomEvent<T> extends CustomEvent<T> {
1101
990
  detail: T;
1102
991
  target: HTMLNvFieldcheckboxElement;
1103
992
  }
1104
- export interface NvFielddropdownitemcheckCustomEvent<T> extends CustomEvent<T> {
1105
- detail: T;
1106
- target: HTMLNvFielddropdownitemcheckElement;
1107
- }
1108
- export interface NvFieldmultiselectCustomEvent<T> extends CustomEvent<T> {
1109
- detail: T;
1110
- target: HTMLNvFieldmultiselectElement;
1111
- }
1112
993
  export interface NvFieldnumberCustomEvent<T> extends CustomEvent<T> {
1113
994
  detail: T;
1114
995
  target: HTMLNvFieldnumberElement;
@@ -1228,45 +1109,6 @@ declare global {
1228
1109
  prototype: HTMLNvFieldcheckboxElement;
1229
1110
  new (): HTMLNvFieldcheckboxElement;
1230
1111
  };
1231
- interface HTMLNvFielddropdownitemcheckElementEventMap {
1232
- "itemChecked": {
1233
- value: string | undefined;
1234
- checked: boolean;
1235
- group?: string | undefined;
1236
- };
1237
- }
1238
- interface HTMLNvFielddropdownitemcheckElement extends Components.NvFielddropdownitemcheck, HTMLStencilElement {
1239
- addEventListener<K extends keyof HTMLNvFielddropdownitemcheckElementEventMap>(type: K, listener: (this: HTMLNvFielddropdownitemcheckElement, ev: NvFielddropdownitemcheckCustomEvent<HTMLNvFielddropdownitemcheckElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1240
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1241
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1242
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1243
- removeEventListener<K extends keyof HTMLNvFielddropdownitemcheckElementEventMap>(type: K, listener: (this: HTMLNvFielddropdownitemcheckElement, ev: NvFielddropdownitemcheckCustomEvent<HTMLNvFielddropdownitemcheckElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1244
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1245
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1246
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1247
- }
1248
- var HTMLNvFielddropdownitemcheckElement: {
1249
- prototype: HTMLNvFielddropdownitemcheckElement;
1250
- new (): HTMLNvFielddropdownitemcheckElement;
1251
- };
1252
- interface HTMLNvFieldmultiselectElementEventMap {
1253
- "valueChanged": string;
1254
- "multiselectChange": string[];
1255
- }
1256
- interface HTMLNvFieldmultiselectElement extends Components.NvFieldmultiselect, HTMLStencilElement {
1257
- addEventListener<K extends keyof HTMLNvFieldmultiselectElementEventMap>(type: K, listener: (this: HTMLNvFieldmultiselectElement, ev: NvFieldmultiselectCustomEvent<HTMLNvFieldmultiselectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1258
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1259
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1260
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1261
- removeEventListener<K extends keyof HTMLNvFieldmultiselectElementEventMap>(type: K, listener: (this: HTMLNvFieldmultiselectElement, ev: NvFieldmultiselectCustomEvent<HTMLNvFieldmultiselectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1262
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1263
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1264
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1265
- }
1266
- var HTMLNvFieldmultiselectElement: {
1267
- prototype: HTMLNvFieldmultiselectElement;
1268
- new (): HTMLNvFieldmultiselectElement;
1269
- };
1270
1112
  interface HTMLNvFieldnumberElementEventMap {
1271
1113
  "valueChanged": number;
1272
1114
  }
@@ -1473,8 +1315,6 @@ declare global {
1473
1315
  "nv-button": HTMLNvButtonElement;
1474
1316
  "nv-col": HTMLNvColElement;
1475
1317
  "nv-fieldcheckbox": HTMLNvFieldcheckboxElement;
1476
- "nv-fielddropdownitemcheck": HTMLNvFielddropdownitemcheckElement;
1477
- "nv-fieldmultiselect": HTMLNvFieldmultiselectElement;
1478
1318
  "nv-fieldnumber": HTMLNvFieldnumberElement;
1479
1319
  "nv-fieldpassword": HTMLNvFieldpasswordElement;
1480
1320
  "nv-fieldradio": HTMLNvFieldradioElement;
@@ -1771,129 +1611,6 @@ declare namespace LocalJSX {
1771
1611
  */
1772
1612
  "value"?: string;
1773
1613
  }
1774
- interface NvFielddropdownitemcheck {
1775
- /**
1776
- * Indicates whether the checkbox is selected.
1777
- */
1778
- "checked"?: boolean;
1779
- /**
1780
- * A description providing additional context or information about the checkbox.
1781
- */
1782
- "description"?: string;
1783
- /**
1784
- * Disables the item, preventing any user interaction.
1785
- */
1786
- "disabled"?: boolean;
1787
- /**
1788
- * The group this item belongs to, if applicable.
1789
- */
1790
- "group"?: string;
1791
- /**
1792
- * The label displayed alongside the checkbox.
1793
- */
1794
- "label"?: string;
1795
- /**
1796
- * Event emitted when the checkbox is toggled. It provides details about the current state of the item.
1797
- */
1798
- "onItemChecked"?: (event: NvFielddropdownitemcheckCustomEvent<{
1799
- value: string | undefined;
1800
- checked: boolean;
1801
- group?: string | undefined;
1802
- }>) => void;
1803
- /**
1804
- * The value associated with this item.
1805
- */
1806
- "value"?: string;
1807
- }
1808
- interface NvFieldmultiselect {
1809
- /**
1810
- * The autocomplete prop helps users fill out the input field faster by suggesting entries they’ve used before, like their email or address. You can turn it on to make forms more convenient or off to ensure users always type in fresh data.
1811
- */
1812
- "autocomplete"?: `${TextInputAutocomplete}`;
1813
- /**
1814
- * Text for the badge showing the number of selected items.
1815
- */
1816
- "badgeLabel"?: string;
1817
- /**
1818
- * Enables a clear-all button for the selection.
1819
- */
1820
- "clearable"?: boolean;
1821
- /**
1822
- * Add helpful hints or extra information under the text input field. This is where you can clarify what users should enter or provide additional instructions, making the form easier to fill out correctly.
1823
- */
1824
- "description"?: string;
1825
- /**
1826
- * The disabled prop lets you turn off the input field so that users can’t type in it. When disabled, the field is grayed out and won’t respond to clicks or touches.
1827
- */
1828
- "disabled"?: boolean;
1829
- /**
1830
- * The text to display when no items match the filter.
1831
- */
1832
- "emptyresult"?: string;
1833
- /**
1834
- * Alters the input field’s appearance to indicate an error, helping users identify fields that need correction.
1835
- * @validator error
1836
- */
1837
- "error"?: boolean;
1838
- /**
1839
- * A description that appears when there is an error related to the dropdown field.
1840
- * @validator message
1841
- */
1842
- "errorDescription"?: string;
1843
- /**
1844
- * Enables or disables the filtering feature for the dropdown items.
1845
- */
1846
- "filterable"?: boolean;
1847
- /**
1848
- * Sets the ID for the input element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
1849
- */
1850
- "inputId"?: string;
1851
- /**
1852
- * Lets you define the text that explains what users should enter in the text input field. It’s a crucial element for making forms clear and user-friendly.
1853
- */
1854
- "label"?: string;
1855
- /**
1856
- * Maximum height of the dropdown list when open.
1857
- */
1858
- "maxHeight"?: string;
1859
- /**
1860
- * Defines the name attribute of the input field, which is crucial for form submission. This value is used as the key in the key-value pair sent to the server, representing the input’s data in form submissions. It should be unique within the form to avoid conflicts.
1861
- */
1862
- "name"?: string;
1863
- /**
1864
- * Event emitted when the selection changes in the multiselect. Emits the current list of selected values.
1865
- */
1866
- "onMultiselectChange"?: (event: NvFieldmultiselectCustomEvent<string[]>) => void;
1867
- /**
1868
- * Emitted when the input value changes.
1869
- * @bind value
1870
- */
1871
- "onValueChanged"?: (event: NvFieldmultiselectCustomEvent<string>) => void;
1872
- /**
1873
- * State of the dropdown popover.
1874
- */
1875
- "open"?: boolean;
1876
- /**
1877
- * List of options available in the dropdown.
1878
- */
1879
- "options"?: Array<{ label: string; value: string }>;
1880
- /**
1881
- * Display temporary text inside the input field to give users a hint about what to type. It’s a great way to provide examples or suggestions directly in the field before they start typing. The placeholder is displayed only when the filterable option is enabled.
1882
- */
1883
- "placeholder"?: string;
1884
- /**
1885
- * Display the input field’s content without allowing users to change it. Users can still click on it, select, and copy the text, but they won’t be able to type or delete anything.
1886
- */
1887
- "readonly"?: boolean;
1888
- /**
1889
- * Marks the input field as required, ensuring that the user must fill it out before submitting the form.
1890
- */
1891
- "required"?: boolean;
1892
- /**
1893
- * Specifies the value of the input field, which determines the text displayed within the field. This prop is typically used in controlled components where the input’s value is managed by the component’s state.
1894
- */
1895
- "value"?: string;
1896
- }
1897
1614
  interface NvFieldnumber {
1898
1615
  /**
1899
1616
  * Add helpful hints or extra information under the text input field. This is where you can clarify what users should enter or provide additional instructions, making the form easier to fill out correctly.
@@ -2639,8 +2356,6 @@ declare namespace LocalJSX {
2639
2356
  "nv-button": NvButton;
2640
2357
  "nv-col": NvCol;
2641
2358
  "nv-fieldcheckbox": NvFieldcheckbox;
2642
- "nv-fielddropdownitemcheck": NvFielddropdownitemcheck;
2643
- "nv-fieldmultiselect": NvFieldmultiselect;
2644
2359
  "nv-fieldnumber": NvFieldnumber;
2645
2360
  "nv-fieldpassword": NvFieldpassword;
2646
2361
  "nv-fieldradio": NvFieldradio;
@@ -2673,8 +2388,6 @@ declare module "@stencil/core" {
2673
2388
  "nv-button": LocalJSX.NvButton & JSXBase.HTMLAttributes<HTMLNvButtonElement>;
2674
2389
  "nv-col": LocalJSX.NvCol & JSXBase.HTMLAttributes<HTMLNvColElement>;
2675
2390
  "nv-fieldcheckbox": LocalJSX.NvFieldcheckbox & JSXBase.HTMLAttributes<HTMLNvFieldcheckboxElement>;
2676
- "nv-fielddropdownitemcheck": LocalJSX.NvFielddropdownitemcheck & JSXBase.HTMLAttributes<HTMLNvFielddropdownitemcheckElement>;
2677
- "nv-fieldmultiselect": LocalJSX.NvFieldmultiselect & JSXBase.HTMLAttributes<HTMLNvFieldmultiselectElement>;
2678
2391
  "nv-fieldnumber": LocalJSX.NvFieldnumber & JSXBase.HTMLAttributes<HTMLNvFieldnumberElement>;
2679
2392
  "nv-fieldpassword": LocalJSX.NvFieldpassword & JSXBase.HTMLAttributes<HTMLNvFieldpasswordElement>;
2680
2393
  "nv-fieldradio": LocalJSX.NvFieldradio & JSXBase.HTMLAttributes<HTMLNvFieldradioElement>;