@nubisco/ui 5.19.1 → 5.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (414) hide show
  1. package/dist/{AiLabel-BFrehX_F.js → AiLabel-BKyoadhO.js} +1 -1
  2. package/dist/{AiLabel-kmL1-Hdo.cjs → AiLabel-DRx9pIMA.cjs} +1 -1
  3. package/dist/BarChart-D43kElHn.cjs +1 -0
  4. package/dist/BarChart-vpdxtX1H.js +294 -0
  5. package/dist/{Blueprint-DIrWXKml.cjs → Blueprint-BaTB7N_f.cjs} +1 -1
  6. package/dist/{Blueprint-CB5a7H5o.js → Blueprint-GvbvIrUB.js} +2 -2
  7. package/dist/{BlueprintCard-DhnoClRB.cjs → BlueprintCard-BS3PXYdC.cjs} +1 -1
  8. package/dist/{BlueprintCard-BmuGjOCn.js → BlueprintCard-lr2vhE8j.js} +1 -1
  9. package/dist/{Checkbox-CZVNZ2pn.cjs → Checkbox-BU9auHYV.cjs} +1 -1
  10. package/dist/{Checkbox-CXlovpPs.js → Checkbox-D_Gd5z5o.js} +1 -1
  11. package/dist/{CheckboxGroup-AQ6XgVPU.js → CheckboxGroup-BcgIYz9T.js} +3 -3
  12. package/dist/{CheckboxGroup-BuvjRAeC.cjs → CheckboxGroup-CPbEEem5.cjs} +1 -1
  13. package/dist/{ColorStrip-D4vNVSeW.cjs → ColorStrip-CFpoGu3-.cjs} +1 -1
  14. package/dist/{ColorStrip-Dknkw-RX.js → ColorStrip-NwjQnLcB.js} +2 -2
  15. package/dist/{Confirm-Dh1H2PMh.js → Confirm-Auq-9DpN.js} +3 -3
  16. package/dist/{Confirm-ue689l-w.cjs → Confirm-DtxCYbRy.cjs} +1 -1
  17. package/dist/CopyButton-BfjJRwj9.cjs +1 -0
  18. package/dist/CopyButton-CqrXMntq.js +65 -0
  19. package/dist/DataTable-CVIaedVs.cjs +1 -0
  20. package/dist/DataTable-eXsolKwX.js +412 -0
  21. package/dist/DatePicker-Bf-H59iv.cjs +1 -0
  22. package/dist/{DatePicker-DMiiGKYY.js → DatePicker-Dpe3oZUB.js} +116 -89
  23. package/dist/{Form-WtS-IVIs.cjs → Form-6Q-UfH77.cjs} +1 -1
  24. package/dist/{Form-DJ1Hhwnm.js → Form-BvmiAnWD.js} +1 -1
  25. package/dist/{GanttChart-CwCH8pby.js → GanttChart-C4rwEpeE.js} +3 -3
  26. package/dist/{GanttChart-BJ_6YCza.cjs → GanttChart-DZsawOGg.cjs} +1 -1
  27. package/dist/{ImageCropper-BfGyTTY5.cjs → ImageCropper-BIdQmSmG.cjs} +1 -1
  28. package/dist/{ImageCropper-Ds5Zq1J0.js → ImageCropper-D_IGt9rj.js} +2 -2
  29. package/dist/{InlineLoading-B2L_asnZ.cjs → InlineLoading-iZLgELpG.cjs} +1 -1
  30. package/dist/{InlineLoading-DQzKEw-L.js → InlineLoading-xvKhPBaV.js} +1 -1
  31. package/dist/{InterpolationChart-CSEYS5aB.js → InterpolationChart-BCHoGcM7.js} +3 -3
  32. package/dist/{InterpolationChart-BXS1n0dY.cjs → InterpolationChart-DKNJzd67.cjs} +1 -1
  33. package/dist/{LineChart-DG_ows6r.js → LineChart-ByG1jC-D.js} +29 -25
  34. package/dist/LineChart-Dt-NlGJs.cjs +1 -0
  35. package/dist/{Modal-BxSP1eyD.js → Modal-ByjVye2a.js} +1 -1
  36. package/dist/{Modal-sGlC__uQ.cjs → Modal-oT09Tx3v.cjs} +1 -1
  37. package/dist/{NotificationCenter-Br-YtY5w.js → NotificationCenter-CzMc-eOd.js} +4 -4
  38. package/dist/{NotificationCenter-BpUiKPsp.cjs → NotificationCenter-JXVpNYsI.cjs} +1 -1
  39. package/dist/{NumberInput-DWf2LMGN.js → NumberInput-CGTrgj8q.js} +2 -2
  40. package/dist/{NumberInput-1taaS5G3.cjs → NumberInput-CwbDxpTO.cjs} +1 -1
  41. package/dist/{Pagination-CCMhqtoz.cjs → Pagination-1CJyhaVf.cjs} +1 -1
  42. package/dist/{Pagination-Br-k9zuG.js → Pagination-Cf-bF0cO.js} +1 -1
  43. package/dist/{PieChart-BABG-xXQ.cjs → PieChart-C-4RKuvA.cjs} +1 -1
  44. package/dist/{PieChart-CmvfqpXR.js → PieChart-okqwoJfR.js} +3 -3
  45. package/dist/{ProgressBar-Blt5BdgQ.js → ProgressBar-DAKxcGUz.js} +2 -2
  46. package/dist/{ProgressBar-BHKgJ4UK.cjs → ProgressBar-WHd3-8_S.cjs} +1 -1
  47. package/dist/{Radio-zdXHagRQ.cjs → Radio-BKSNByp5.cjs} +1 -1
  48. package/dist/{Radio-DsYitO1Z.js → Radio-CuuNBw3O.js} +2 -2
  49. package/dist/Select-QByEv_Tv.js +489 -0
  50. package/dist/Select-S8UH8d2D.cjs +1 -0
  51. package/dist/{SidebarCollapseToggle-IzDpcwPs.js → SidebarCollapseToggle-D1hnbgoR.js} +2 -2
  52. package/dist/{SidebarCollapseToggle-BOLWB51F.cjs → SidebarCollapseToggle-DVXcdTnG.cjs} +1 -1
  53. package/dist/{Skeleton-BLn8a0wV.js → Skeleton-DOnMvGJH.js} +1 -1
  54. package/dist/{Skeleton-lLu_CakO.cjs → Skeleton-DpFPETOp.cjs} +1 -1
  55. package/dist/{Slider-Ca5ru23S.cjs → Slider-C3opYFvY.cjs} +1 -1
  56. package/dist/{Slider-CrhYMw5S.js → Slider-DB6lFos1.js} +4 -4
  57. package/dist/{Spinner-C7NYF-Xf.js → Spinner-B2YYYAXJ.js} +1 -1
  58. package/dist/{Spinner-UsyGqwVq.cjs → Spinner-CgizCUqT.cjs} +1 -1
  59. package/dist/{Stepper-BIWoeqFS.cjs → Stepper-CnwA6gOD.cjs} +1 -1
  60. package/dist/{Stepper-CrVuq2Ba.js → Stepper-DOobCMUg.js} +1 -1
  61. package/dist/{StepperStep-CBaZPJV7.js → StepperStep-Cp8n2JoE.js} +1 -1
  62. package/dist/{StepperStep-DCpcJbTJ.cjs → StepperStep-a7JuzE0O.cjs} +1 -1
  63. package/dist/{Switch-BiqjLsXd.js → Switch-64BBMyrL.js} +2 -2
  64. package/dist/{Switch-CA01aJ7b.cjs → Switch-BXvzo4G9.cjs} +1 -1
  65. package/dist/Tabs-BvUckpF4.cjs +1 -0
  66. package/dist/Tabs-DI_L9kv1.js +196 -0
  67. package/dist/{TextInput-KQGVZCcT.js → TextInput-7G3euyrE.js} +3 -3
  68. package/dist/{TextInput-BdZPqTzI.cjs → TextInput-O9WeHs5s.cjs} +1 -1
  69. package/dist/{Toaster-CubmjJ_C.cjs → Toaster-DuJnC4ix.cjs} +1 -1
  70. package/dist/{Toaster-B4ce6OBe.js → Toaster-qdmsFaEH.js} +1 -1
  71. package/dist/{Tree-CnaGeX7W.cjs → Tree-BTIZ0c3l.cjs} +1 -1
  72. package/dist/{Tree-E3A0GUIG.js → Tree-Ctd1iADF.js} +1 -1
  73. package/dist/{TreeNode-xv6es6z2.js → TreeNode-C5IZMjf-.js} +1 -1
  74. package/dist/{TreeNode-C2W4uFhP.cjs → TreeNode-C9uFja1c.cjs} +1 -1
  75. package/dist/{UserMenu-E-PhzT3T.js → UserMenu-BOoM0Mer.js} +2 -2
  76. package/dist/{UserMenu-CVXfSmUQ.cjs → UserMenu-DonTitqc.cjs} +1 -1
  77. package/dist/all.cjs +1 -1
  78. package/dist/all.mjs +192 -190
  79. package/dist/component-styles.json +5 -0
  80. package/dist/components/AiLabel.cjs +1 -1
  81. package/dist/components/AiLabel.mjs +1 -1
  82. package/dist/components/Avatar.cjs +1 -1
  83. package/dist/components/Avatar.mjs +1 -1
  84. package/dist/components/Badge.cjs +1 -1
  85. package/dist/components/Badge.mjs +1 -1
  86. package/dist/components/Banner.cjs +1 -1
  87. package/dist/components/Banner.mjs +1 -1
  88. package/dist/components/Blueprint.cjs +1 -1
  89. package/dist/components/Blueprint.mjs +1 -1
  90. package/dist/components/BlueprintBackground.cjs +1 -1
  91. package/dist/components/BlueprintBackground.mjs +1 -1
  92. package/dist/components/BlueprintCard.cjs +1 -1
  93. package/dist/components/BlueprintCard.mjs +1 -1
  94. package/dist/components/BlueprintControls.cjs +1 -1
  95. package/dist/components/BlueprintControls.mjs +1 -1
  96. package/dist/components/BlueprintMinimap.cjs +1 -1
  97. package/dist/components/BlueprintMinimap.mjs +1 -1
  98. package/dist/components/Board.cjs +1 -1
  99. package/dist/components/Board.mjs +1 -1
  100. package/dist/components/BottomPanel.cjs +1 -1
  101. package/dist/components/BottomPanel.mjs +1 -1
  102. package/dist/components/Breadcrumbs.cjs +1 -1
  103. package/dist/components/Breadcrumbs.mjs +1 -1
  104. package/dist/components/Calendar.cjs +1 -1
  105. package/dist/components/Calendar.mjs +1 -1
  106. package/dist/components/Charts/BarChart.cjs +1 -1
  107. package/dist/components/Charts/BarChart.d.ts +8 -1
  108. package/dist/components/Charts/BarChart.mjs +1 -1
  109. package/dist/components/Charts/BarChart.vue.d.ts.map +1 -1
  110. package/dist/components/Charts/GanttChart.cjs +1 -1
  111. package/dist/components/Charts/GanttChart.mjs +1 -1
  112. package/dist/components/Charts/InterpolationChart.cjs +1 -1
  113. package/dist/components/Charts/InterpolationChart.mjs +1 -1
  114. package/dist/components/Charts/LineChart.cjs +1 -1
  115. package/dist/components/Charts/LineChart.d.ts +8 -1
  116. package/dist/components/Charts/LineChart.mjs +1 -1
  117. package/dist/components/Charts/LineChart.vue.d.ts.map +1 -1
  118. package/dist/components/Charts/PieChart.cjs +1 -1
  119. package/dist/components/Charts/PieChart.mjs +1 -1
  120. package/dist/components/Charts/Sparkline.cjs +1 -1
  121. package/dist/components/Charts/Sparkline.mjs +1 -1
  122. package/dist/components/Charts/shared/types.d.ts +7 -0
  123. package/dist/components/Checkbox.cjs +1 -1
  124. package/dist/components/Checkbox.mjs +1 -1
  125. package/dist/components/CheckboxGroup.cjs +1 -1
  126. package/dist/components/CheckboxGroup.mjs +1 -1
  127. package/dist/components/ColorStrip.cjs +1 -1
  128. package/dist/components/ColorStrip.mjs +1 -1
  129. package/dist/components/CommandPalette.cjs +1 -1
  130. package/dist/components/CommandPalette.mjs +1 -1
  131. package/dist/components/Confirm.cjs +1 -1
  132. package/dist/components/Confirm.mjs +1 -1
  133. package/dist/components/CopyButton.cjs +1 -0
  134. package/dist/components/CopyButton.d.ts +20 -0
  135. package/dist/components/CopyButton.mjs +2 -0
  136. package/dist/components/CopyButton.vue.d.ts +16 -0
  137. package/dist/components/CopyButton.vue.d.ts.map +1 -0
  138. package/dist/components/DataTable.cjs +1 -1
  139. package/dist/components/DataTable.mjs +1 -1
  140. package/dist/components/DataTable.vue.d.ts.map +1 -1
  141. package/dist/components/DatePicker.cjs +1 -1
  142. package/dist/components/DatePicker.mjs +1 -1
  143. package/dist/components/DatePicker.vue.d.ts +1 -1
  144. package/dist/components/DatePicker.vue.d.ts.map +1 -1
  145. package/dist/components/DefinitionList.cjs +1 -1
  146. package/dist/components/DefinitionList.mjs +1 -1
  147. package/dist/components/DefinitionListItem.cjs +1 -1
  148. package/dist/components/DefinitionListItem.mjs +1 -1
  149. package/dist/components/DragHandle.cjs +1 -1
  150. package/dist/components/DragHandle.mjs +1 -1
  151. package/dist/components/EmptyState.cjs +1 -1
  152. package/dist/components/EmptyState.mjs +1 -1
  153. package/dist/components/Field.cjs +1 -1
  154. package/dist/components/Field.mjs +1 -1
  155. package/dist/components/FileUploader.cjs +1 -1
  156. package/dist/components/FileUploader.mjs +1 -1
  157. package/dist/components/Flag.cjs +1 -1
  158. package/dist/components/Flag.mjs +1 -1
  159. package/dist/components/FloatingToolbar.cjs +1 -1
  160. package/dist/components/FloatingToolbar.mjs +1 -1
  161. package/dist/components/Form.cjs +1 -1
  162. package/dist/components/Form.mjs +1 -1
  163. package/dist/components/Grid.cjs +1 -1
  164. package/dist/components/Grid.mjs +1 -1
  165. package/dist/components/ImageCropper.cjs +1 -1
  166. package/dist/components/ImageCropper.mjs +1 -1
  167. package/dist/components/InlineEdit.cjs +1 -1
  168. package/dist/components/InlineEdit.mjs +1 -1
  169. package/dist/components/InlineLoading.cjs +1 -1
  170. package/dist/components/InlineLoading.mjs +1 -1
  171. package/dist/components/JsonTree.cjs +1 -1
  172. package/dist/components/JsonTree.mjs +1 -1
  173. package/dist/components/Label.cjs +1 -1
  174. package/dist/components/Label.mjs +1 -1
  175. package/dist/components/Layer.cjs +1 -1
  176. package/dist/components/Layer.mjs +1 -1
  177. package/dist/components/MenuBar.cjs +1 -1
  178. package/dist/components/MenuBar.mjs +1 -1
  179. package/dist/components/MenuBarItem.cjs +1 -1
  180. package/dist/components/MenuBarItem.mjs +1 -1
  181. package/dist/components/MenuDivider.cjs +1 -1
  182. package/dist/components/MenuDivider.mjs +1 -1
  183. package/dist/components/Message.cjs +1 -1
  184. package/dist/components/Message.mjs +1 -1
  185. package/dist/components/Modal.cjs +1 -1
  186. package/dist/components/Modal.mjs +1 -1
  187. package/dist/components/NotificationCenter.cjs +1 -1
  188. package/dist/components/NotificationCenter.mjs +1 -1
  189. package/dist/components/NotificationCenterItem.cjs +1 -1
  190. package/dist/components/NotificationCenterItem.mjs +1 -1
  191. package/dist/components/NubiscoMark.cjs +1 -1
  192. package/dist/components/NubiscoMark.mjs +1 -1
  193. package/dist/components/NubiscoPlatformMark.cjs +1 -1
  194. package/dist/components/NubiscoPlatformMark.mjs +1 -1
  195. package/dist/components/NumberInput.cjs +1 -1
  196. package/dist/components/NumberInput.mjs +1 -1
  197. package/dist/components/Pagination.cjs +1 -1
  198. package/dist/components/Pagination.mjs +1 -1
  199. package/dist/components/Panel.cjs +1 -1
  200. package/dist/components/Panel.mjs +1 -1
  201. package/dist/components/ProgressBar.cjs +1 -1
  202. package/dist/components/ProgressBar.mjs +1 -1
  203. package/dist/components/Radio.cjs +1 -1
  204. package/dist/components/Radio.mjs +1 -1
  205. package/dist/components/Radio.vue.d.ts +1 -1
  206. package/dist/components/ReorderList.cjs +1 -1
  207. package/dist/components/ReorderList.mjs +1 -1
  208. package/dist/components/Select.cjs +1 -1
  209. package/dist/components/Select.d.ts +8 -0
  210. package/dist/components/Select.mjs +1 -1
  211. package/dist/components/Select.vue.d.ts +9 -7
  212. package/dist/components/Select.vue.d.ts.map +1 -1
  213. package/dist/components/Shell.cjs +1 -1
  214. package/dist/components/Shell.mjs +1 -1
  215. package/dist/components/ShellPanel.cjs +1 -1
  216. package/dist/components/ShellPanel.mjs +1 -1
  217. package/dist/components/SidebarBrand.cjs +1 -1
  218. package/dist/components/SidebarBrand.mjs +1 -1
  219. package/dist/components/SidebarCollapseToggle.cjs +1 -1
  220. package/dist/components/SidebarCollapseToggle.mjs +1 -1
  221. package/dist/components/SidebarLink.cjs +1 -1
  222. package/dist/components/SidebarLink.mjs +1 -1
  223. package/dist/components/SidebarMenu.cjs +1 -1
  224. package/dist/components/SidebarMenu.mjs +1 -1
  225. package/dist/components/SidebarMenuGroup.cjs +1 -1
  226. package/dist/components/SidebarMenuGroup.mjs +1 -1
  227. package/dist/components/SidebarMenuItem.cjs +1 -1
  228. package/dist/components/SidebarMenuItem.mjs +1 -1
  229. package/dist/components/Skeleton.cjs +1 -1
  230. package/dist/components/Skeleton.mjs +1 -1
  231. package/dist/components/Slider.cjs +1 -1
  232. package/dist/components/Slider.mjs +1 -1
  233. package/dist/components/Spinner.cjs +1 -1
  234. package/dist/components/Spinner.mjs +1 -1
  235. package/dist/components/Stepper.cjs +1 -1
  236. package/dist/components/Stepper.mjs +1 -1
  237. package/dist/components/StepperStep.cjs +1 -1
  238. package/dist/components/StepperStep.mjs +1 -1
  239. package/dist/components/Submenu.cjs +1 -1
  240. package/dist/components/Submenu.mjs +1 -1
  241. package/dist/components/Switch.cjs +1 -1
  242. package/dist/components/Switch.mjs +1 -1
  243. package/dist/components/TableOfContents.cjs +1 -1
  244. package/dist/components/TableOfContents.mjs +1 -1
  245. package/dist/components/Tabs.cjs +1 -1
  246. package/dist/components/Tabs.mjs +1 -1
  247. package/dist/components/Tabs.vue.d.ts.map +1 -1
  248. package/dist/components/TextInput.cjs +1 -1
  249. package/dist/components/TextInput.mjs +1 -1
  250. package/dist/components/TextInput.vue.d.ts +1 -1
  251. package/dist/components/TextInput.vue.d.ts.map +1 -1
  252. package/dist/components/Toast.cjs +1 -1
  253. package/dist/components/Toast.mjs +1 -1
  254. package/dist/components/Toaster.cjs +1 -1
  255. package/dist/components/Toaster.mjs +1 -1
  256. package/dist/components/Tree.cjs +1 -1
  257. package/dist/components/Tree.mjs +1 -1
  258. package/dist/components/TreeNode.cjs +1 -1
  259. package/dist/components/TreeNode.mjs +1 -1
  260. package/dist/components/UserMenu.cjs +1 -1
  261. package/dist/components/UserMenu.mjs +1 -1
  262. package/dist/components/Walkthrough.cjs +1 -1
  263. package/dist/components/Walkthrough.mjs +1 -1
  264. package/dist/components/Wireframe.cjs +1 -1
  265. package/dist/components/Wireframe.mjs +1 -1
  266. package/dist/components/index.d.ts.map +1 -1
  267. package/dist/components/manifest.d.ts +1 -0
  268. package/dist/components/manifest.d.ts.map +1 -1
  269. package/dist/components/manifest.js +1 -0
  270. package/dist/composables/useBlueprint.composable.cjs +1 -1
  271. package/dist/composables/useBlueprint.composable.mjs +1 -1
  272. package/dist/composables/useConfirm.composable.cjs +1 -1
  273. package/dist/composables/useConfirm.composable.mjs +3 -3
  274. package/dist/composables/useInlineLoading.composable.cjs +1 -1
  275. package/dist/composables/useInlineLoading.composable.mjs +1 -1
  276. package/dist/composables/useLoadingAnnouncer.composable.cjs +1 -1
  277. package/dist/composables/useLoadingAnnouncer.composable.mjs +1 -1
  278. package/dist/global.d.ts +2 -0
  279. package/dist/index.cjs +1 -1
  280. package/dist/index.mjs +104 -103
  281. package/dist/main.d.ts +3 -1
  282. package/dist/main.d.ts.map +1 -1
  283. package/dist/styles/BarChart.css +1 -1
  284. package/dist/styles/CopyButton.css +1 -0
  285. package/dist/styles/DataTable.css +1 -1
  286. package/dist/styles/LineChart.css +1 -1
  287. package/dist/styles/Select.css +1 -1
  288. package/dist/styles/Tabs.css +1 -1
  289. package/dist/ui.css +6 -5
  290. package/package.json +1 -1
  291. package/dist/BarChart-DTStA9jd.js +0 -290
  292. package/dist/BarChart-Dvrl4xeX.cjs +0 -1
  293. package/dist/DataTable-CWMlmjMi.cjs +0 -1
  294. package/dist/DataTable-DaNZAixf.js +0 -389
  295. package/dist/DatePicker-tAhXSR2o.cjs +0 -1
  296. package/dist/LineChart-C5bQNxQ-.cjs +0 -1
  297. package/dist/Select-ClkEzw5T.cjs +0 -1
  298. package/dist/Select-DIw08nte.js +0 -437
  299. package/dist/Tabs-CrrG1hvh.cjs +0 -1
  300. package/dist/Tabs-D3pdOieX.js +0 -180
  301. /package/dist/{Avatar-C-yA5Rqn.cjs → Avatar-8g9ORf0G.cjs} +0 -0
  302. /package/dist/{Avatar-B8JS0B-W.js → Avatar-BVNfQGSr.js} +0 -0
  303. /package/dist/{Badge-D3oJVwDo.js → Badge-BTXYgn3x.js} +0 -0
  304. /package/dist/{Badge-Dkm7PBJ8.cjs → Badge-Q9diPwDN.cjs} +0 -0
  305. /package/dist/{Banner-C2DFPW-D.js → Banner-6TIXgL2R.js} +0 -0
  306. /package/dist/{Banner-DXfzpyxc.cjs → Banner-gpADtLFp.cjs} +0 -0
  307. /package/dist/{Blueprint.context-Cp__sufg.js → Blueprint.context-C4vHlqSG.js} +0 -0
  308. /package/dist/{Blueprint.context-CNt0_OyK.cjs → Blueprint.context-DoZRtnC4.cjs} +0 -0
  309. /package/dist/{BlueprintBackground-DqRpS-jP.js → BlueprintBackground-B2jBQy9K.js} +0 -0
  310. /package/dist/{BlueprintBackground-CRbAZfZP.cjs → BlueprintBackground-d5ycVcso.cjs} +0 -0
  311. /package/dist/{BlueprintControls-C0yhBzYT.js → BlueprintControls-BrUTlm_Y.js} +0 -0
  312. /package/dist/{BlueprintControls-Qtd2vep2.cjs → BlueprintControls-Cf5H3Ly7.cjs} +0 -0
  313. /package/dist/{BlueprintMinimap-Bk6V5xcq.cjs → BlueprintMinimap-BUQvahxH.cjs} +0 -0
  314. /package/dist/{BlueprintMinimap-KRlkpH14.js → BlueprintMinimap-DB7gUPTz.js} +0 -0
  315. /package/dist/{Board-CDrukIty.js → Board-D7I0nDfI.js} +0 -0
  316. /package/dist/{Board-D1BkK3J5.cjs → Board-v8b7YDzf.cjs} +0 -0
  317. /package/dist/{BottomPanel-Bt4k2PJn.js → BottomPanel-BltDni2C.js} +0 -0
  318. /package/dist/{BottomPanel-C1mT0_I0.cjs → BottomPanel-DTHLQ_Qr.cjs} +0 -0
  319. /package/dist/{Breadcrumbs-cTxSMgeW.cjs → Breadcrumbs-CcP2pnTk.cjs} +0 -0
  320. /package/dist/{Breadcrumbs-B8eAWAvg.js → Breadcrumbs-DUxB0VdV.js} +0 -0
  321. /package/dist/{Calendar-CV-B4qeT.js → Calendar-CAly1ZWu.js} +0 -0
  322. /package/dist/{Calendar-CI6TG85W.cjs → Calendar-DNDcCbdh.cjs} +0 -0
  323. /package/dist/{ChartLegend-DGgW0yjG.cjs → ChartLegend-Bm3lWWjg.cjs} +0 -0
  324. /package/dist/{ChartLegend-BLTbVV2E.js → ChartLegend-pWTcI_8-.js} +0 -0
  325. /package/dist/{CheckboxGroup.context-CBJMSIiT.cjs → CheckboxGroup.context-7VztaE1q.cjs} +0 -0
  326. /package/dist/{CheckboxGroup.context-D-C4RVyg.js → CheckboxGroup.context-DSWDQTzm.js} +0 -0
  327. /package/dist/{CommandPalette-CubX_Udj.js → CommandPalette-CQj6gn7o.js} +0 -0
  328. /package/dist/{CommandPalette-C56CkOfF.cjs → CommandPalette-_Y5CEU1X.cjs} +0 -0
  329. /package/dist/{DefinitionList-MsqB9Lxo.js → DefinitionList-B7_XqH2S.js} +0 -0
  330. /package/dist/{DefinitionList-CSBl-Ogy.cjs → DefinitionList-CSFWnojc.cjs} +0 -0
  331. /package/dist/{DefinitionListItem-DnphEEw1.cjs → DefinitionListItem-BoSGWlc6.cjs} +0 -0
  332. /package/dist/{DefinitionListItem-Ddz2wLyc.js → DefinitionListItem-CwookJTo.js} +0 -0
  333. /package/dist/{DragHandle-D9NnsyJc.js → DragHandle-DObJBJTl.js} +0 -0
  334. /package/dist/{DragHandle-B_rMbMxm.cjs → DragHandle-LknZzyau.cjs} +0 -0
  335. /package/dist/{EmptyState-B6pEj4jk.js → EmptyState-OFT7py0Y.js} +0 -0
  336. /package/dist/{EmptyState-DRbjP890.cjs → EmptyState-kKd8_FYg.cjs} +0 -0
  337. /package/dist/{Field-tNwOATAd.js → Field-C5vOxa-8.js} +0 -0
  338. /package/dist/{Field-BZ2cHQlw.cjs → Field-uEaPF5Wl.cjs} +0 -0
  339. /package/dist/{FileUploader-DC1nE86P.js → FileUploader-BThVgvR_.js} +0 -0
  340. /package/dist/{FileUploader-DehZc0gP.cjs → FileUploader-Ci8QdwIA.cjs} +0 -0
  341. /package/dist/{Flag-DFg5FTus.cjs → Flag-BfIeBiSa.cjs} +0 -0
  342. /package/dist/{Flag-C4SjTXTD.js → Flag-Bzq8UX26.js} +0 -0
  343. /package/dist/{FloatingToolbar-J9ucYTsb.js → FloatingToolbar-C4qGyarE.js} +0 -0
  344. /package/dist/{FloatingToolbar-vWo7YmH3.cjs → FloatingToolbar-DZs8kFYa.cjs} +0 -0
  345. /package/dist/{Grid-DiCxrPaO.cjs → Grid-BhBKhgln.cjs} +0 -0
  346. /package/dist/{Grid-iox-7xyH.js → Grid-Cc13B5BH.js} +0 -0
  347. /package/dist/{InlineEdit-9E8-8JQr.cjs → InlineEdit-Cmux9zMo.cjs} +0 -0
  348. /package/dist/{InlineEdit-BCHxGdSy.js → InlineEdit-CwxZh9RS.js} +0 -0
  349. /package/dist/{JsonTree-DygODsNE.cjs → JsonTree-BRXBiGbK.cjs} +0 -0
  350. /package/dist/{JsonTree-Do_bunoq.js → JsonTree-C3H2YKdl.js} +0 -0
  351. /package/dist/{Label-DGK5nxFy.js → Label-ByPjahGR.js} +0 -0
  352. /package/dist/{Label-CZhQEyoi.cjs → Label-wjk0O-kq.cjs} +0 -0
  353. /package/dist/{Layer-Dn8JBO94.cjs → Layer-C2smYk1p.cjs} +0 -0
  354. /package/dist/{Layer-CPWK7fSy.js → Layer-DRDUSJFB.js} +0 -0
  355. /package/dist/{MenuBar-Cmty676_.cjs → MenuBar-BUg3Rmg0.cjs} +0 -0
  356. /package/dist/{MenuBar-DgoQm2e6.js → MenuBar-CYwXbF0g.js} +0 -0
  357. /package/dist/{MenuBarItem-Cxxs8Dnr.js → MenuBarItem-CSorVwfy.js} +0 -0
  358. /package/dist/{MenuBarItem-dBEuTZ3Q.cjs → MenuBarItem-CbfKgiDU.cjs} +0 -0
  359. /package/dist/{MenuDivider-SpMk4am3.cjs → MenuDivider-C2YR-Eju.cjs} +0 -0
  360. /package/dist/{MenuDivider-Clt77czV.js → MenuDivider-DYrFiAQC.js} +0 -0
  361. /package/dist/{Message-CHkTWe0K.js → Message-DlxDNDdA.js} +0 -0
  362. /package/dist/{Message-C44ftsaT.cjs → Message-MKemyYRl.cjs} +0 -0
  363. /package/dist/{NotificationCenterItem-BP0VBTaB.cjs → NotificationCenterItem-0SzaPX5t.cjs} +0 -0
  364. /package/dist/{NotificationCenterItem-CjJh9W_a.js → NotificationCenterItem-5E6EJNp8.js} +0 -0
  365. /package/dist/{NubiscoMark-BumRk78m.cjs → NubiscoMark-BZHBU-Hr.cjs} +0 -0
  366. /package/dist/{NubiscoMark-eVqSGOjI.js → NubiscoMark-CVDS0VyU.js} +0 -0
  367. /package/dist/{NubiscoPlatformMark-Ch6dCICn.js → NubiscoPlatformMark-BKNLO5R5.js} +0 -0
  368. /package/dist/{NubiscoPlatformMark-IX-E5QQ_.cjs → NubiscoPlatformMark-CQ-MPQFs.cjs} +0 -0
  369. /package/dist/{Panel-Cd29GNxw.cjs → Panel-BYnLh1DT.cjs} +0 -0
  370. /package/dist/{Panel-Y8gOQKuw.js → Panel-KYvcxf_L.js} +0 -0
  371. /package/dist/{ReorderList-hHh9XYQY.cjs → ReorderList-WV4mkeuP.cjs} +0 -0
  372. /package/dist/{ReorderList-v1aWbXjb.js → ReorderList-u9pyTdeA.js} +0 -0
  373. /package/dist/{Shell-CfHe8tIp.js → Shell-DN74eBmE.js} +0 -0
  374. /package/dist/{Shell-DrXByQxR.cjs → Shell-Dmv8U1S6.cjs} +0 -0
  375. /package/dist/{ShellPanel-BA7QLnzE.js → ShellPanel-CvO-jf8v.js} +0 -0
  376. /package/dist/{ShellPanel-CC_QJlLu.cjs → ShellPanel-DnXAu2jC.cjs} +0 -0
  377. /package/dist/{SidebarBrand-8yDIYIQZ.js → SidebarBrand-CG9y4xEK.js} +0 -0
  378. /package/dist/{SidebarBrand-u8Oau9DK.cjs → SidebarBrand-Dyi_NM1K.cjs} +0 -0
  379. /package/dist/{SidebarLink-XVXCHDBm.js → SidebarLink-DDwp4Zr4.js} +0 -0
  380. /package/dist/{SidebarLink-pgjUnWzl.cjs → SidebarLink-DoXNAgxZ.cjs} +0 -0
  381. /package/dist/{SidebarMenu-e0qP4Nh-.js → SidebarMenu-BEfmvgr-.js} +0 -0
  382. /package/dist/{SidebarMenu-CA0y5Zle.cjs → SidebarMenu-CfEUpi__.cjs} +0 -0
  383. /package/dist/{SidebarMenuGroup-VQLxJ1CS.cjs → SidebarMenuGroup-BqBLbfoW.cjs} +0 -0
  384. /package/dist/{SidebarMenuGroup-CGnMAAUM.js → SidebarMenuGroup-ByHNJaEp.js} +0 -0
  385. /package/dist/{SidebarMenuItem-CqDbzAAk.cjs → SidebarMenuItem-BXO7-6mW.cjs} +0 -0
  386. /package/dist/{SidebarMenuItem-DwBLBW-N.js → SidebarMenuItem-DfpEwFWz.js} +0 -0
  387. /package/dist/{Sparkline-Bbt4vFjI.js → Sparkline-BSupaEBO.js} +0 -0
  388. /package/dist/{Sparkline-CdLiYBEr.cjs → Sparkline-Bj0C7f6j.cjs} +0 -0
  389. /package/dist/{Stepper.context-BgQfa8xl.js → Stepper.context-26sKIGs-.js} +0 -0
  390. /package/dist/{Stepper.context-DBNE-GYb.cjs → Stepper.context-C5STWFki.cjs} +0 -0
  391. /package/dist/{Submenu-BC9j6dvb.cjs → Submenu-CoCaEj3F.cjs} +0 -0
  392. /package/dist/{Submenu-CnRi1GdL.js → Submenu-OnSeKMTp.js} +0 -0
  393. /package/dist/{TableOfContents-DCfZ4DYi.cjs → TableOfContents-CnEiZ-XO.cjs} +0 -0
  394. /package/dist/{TableOfContents-EYrBCeci.js → TableOfContents-DjBNG0ti.js} +0 -0
  395. /package/dist/{Toast-XjSCXTx8.cjs → Toast-Wm-0U4X4.cjs} +0 -0
  396. /package/dist/{Toast-q9KByfYq.js → Toast-t80w8V3w.js} +0 -0
  397. /package/dist/{TreeContext-PgcV87_V.cjs → TreeContext-43FbckfR.cjs} +0 -0
  398. /package/dist/{TreeContext-BN1eHAL6.js → TreeContext-DBZ6DCFn.js} +0 -0
  399. /package/dist/{Walkthrough-Dvyp-4Sr.cjs → Walkthrough-B8phXDRA.cjs} +0 -0
  400. /package/dist/{Walkthrough-BxwgYRUB.js → Walkthrough-E_zGYzHh.js} +0 -0
  401. /package/dist/{Wireframe-DDRVqrll.cjs → Wireframe-C64EI3JN.cjs} +0 -0
  402. /package/dist/{Wireframe-ql6EOtd2.js → Wireframe-EQUemMFo.js} +0 -0
  403. /package/dist/{palette-Cy2_8mLH.cjs → palette-Bw_ZEUW9.cjs} +0 -0
  404. /package/dist/{palette-StNyj_sM.js → palette-DWJZEKeE.js} +0 -0
  405. /package/dist/{pixi-scene-CuO3As43.js → pixi-scene-D36iD2QV.js} +0 -0
  406. /package/dist/{pixi-scene-DE1dBR9n.cjs → pixi-scene-PTeatzhb.cjs} +0 -0
  407. /package/dist/{scales-4WxjhxBm.cjs → scales-CdS9bhNN.cjs} +0 -0
  408. /package/dist/{scales-DlFF1BRk.js → scales-qYu_XbF9.js} +0 -0
  409. /package/dist/{useChartSize-UdZSuP3G.js → useChartSize-D1SiiiO5.js} +0 -0
  410. /package/dist/{useChartSize-C-BIN0vc.cjs → useChartSize-FL0Z5O7-.cjs} +0 -0
  411. /package/dist/{useLoadingAnnouncer.composable-DMycMLn-.cjs → useLoadingAnnouncer.composable-BfB0FyHh.cjs} +0 -0
  412. /package/dist/{useLoadingAnnouncer.composable-C7FA-Ui1.js → useLoadingAnnouncer.composable-JILdPA0V.js} +0 -0
  413. /package/dist/{vue-i18n-B2FDvjI1.js → vue-i18n-C_Yfj1G0.js} +0 -0
  414. /package/dist/{vue-i18n-D3Ga_miE.cjs → vue-i18n-Cbsz5l3N.cjs} +0 -0
@@ -1 +1 @@
1
- require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./palette-Cy2_8mLH.cjs`),n=require(`./ChartLegend-DGgW0yjG.cjs`),r=require(`./useChartSize-C-BIN0vc.cjs`);let i=require(`vue`);var a=[`width`,`height`,`role`,`aria-label`],o=[`transform`],s=[`d`,`fill`,`tabindex`,`role`,`aria-label`,`onMouseenter`,`onClick`,`onKeydown`],c=[`x`,`y`],l=(0,i.defineComponent)({__name:`PieChart`,props:{data:{default:()=>[]},innerRadius:{default:0},labels:{default:`percent`},title:{default:void 0},subtitle:{default:void 0},height:{default:280},showLegend:{type:Boolean,default:!0},showTooltip:{type:Boolean,default:!0},colors:{default:()=>t.n}},emits:[`select`],setup(e,{emit:l}){let u=e,d=l,f=(0,i.getCurrentInstance)(),p=()=>!!f?.vnode.props?.onSelect,m=e=>{if(!p())return;let t=u.data[e];t&&d(`select`,{kind:`categorical`,label:t.label,value:t.value,index:e,datum:t})},h=(e,t)=>{p()&&(e.key!==`Enter`&&e.key!==` `||(e.preventDefault(),m(t)))},g=(0,i.ref)(null),_=r.t(g,{width:280,height:240}),v=(0,i.computed)(()=>u.data.map((e,n)=>({label:e.label,value:e.value,color:e.color??t.i(n,u.colors)}))),y=(0,i.computed)(()=>v.value.reduce((e,t)=>e+Math.max(0,t.value),0)),b=(0,i.computed)(()=>_.value.width/2),x=(0,i.computed)(()=>_.value.height/2),S=(0,i.computed)(()=>Math.max(0,Math.min(_.value.width,_.value.height)/2-8)),C=(0,i.computed)(()=>Math.max(0,Math.min(.95,u.innerRadius))*S.value),w=(0,i.computed)(()=>{if(!y.value)return[];let e=-Math.PI/2,t=[];for(let n=0;n<v.value.length;n++){let r=v.value[n],i=Math.max(0,r.value)/y.value,a=e,o=e+i*Math.PI*2;e=o;let s=T(a,o,C.value,S.value),c=(a+o)/2,l=C.value>0?(C.value+S.value)/2:S.value*.65,d=Math.cos(c)*l,f=Math.sin(c)*l,p=u.labels===`percent`?`${Math.round(i*100)}%`:u.labels===`value`?String(r.value):``;t.push({path:s,color:r.color,labelX:d,labelY:f,labelText:p,labelColor:`var(--nb-c-white)`,startAngle:a,endAngle:o,value:r.value,label:r.label})}return t}),T=(e,t,n,r)=>{if(Math.abs(t-e)>=Math.PI*2-1e-6){let e=`M ${r} 0 A ${r} ${r} 0 1 1 ${-r} 0 A ${r} ${r} 0 1 1 ${r} 0 Z`;return n<=0?e:`${e} ${`M ${n} 0 A ${n} ${n} 0 1 0 ${-n} 0 A ${n} ${n} 0 1 0 ${n} 0 Z`}`}let i=Math.cos(e)*r,a=Math.sin(e)*r,o=Math.cos(t)*r,s=Math.sin(t)*r,c=t-e>Math.PI?1:0;if(n<=0)return`M 0 0 L ${i} ${a} A ${r} ${r} 0 ${c} 1 ${o} ${s} Z`;let l=Math.cos(t)*n,u=Math.sin(t)*n,d=Math.cos(e)*n,f=Math.sin(e)*n;return[`M ${i} ${a}`,`A ${r} ${r} 0 ${c} 1 ${o} ${s}`,`L ${l} ${u}`,`A ${n} ${n} 0 ${c} 0 ${d} ${f}`,`Z`].join(` `)},E=(0,i.ref)(null),D=(0,i.ref)({x:0,y:0}),O=e=>{let t=e.currentTarget.ownerSVGElement;if(!t)return;let n=t.getBoundingClientRect();D.value={x:e.clientX-n.left+12,y:e.clientY-n.top+12}},k=(0,i.computed)(()=>{if(E.value===null)return[];let e=w.value[E.value];if(!e)return[];let t=y.value?Math.round(e.value/y.value*100):0;return[{label:e.label,value:`${e.value} (${t}%)`,color:e.color}]});return(r,l)=>((0,i.openBlock)(),(0,i.createBlock)(t.u,{title:e.title,subtitle:e.subtitle,height:e.height,"show-legend":e.showLegend&&v.value.length>0},{legend:(0,i.withCtx)(()=>[(0,i.createVNode)(n.t,{items:v.value.map(e=>({label:e.label,color:e.color}))},null,8,[`items`])]),default:(0,i.withCtx)(()=>[(0,i.createElementVNode)(`div`,{ref_key:`root`,ref:g,class:`nb-pie-chart`},[((0,i.openBlock)(),(0,i.createElementBlock)(`svg`,{width:(0,i.unref)(_).width,height:(0,i.unref)(_).height,class:(0,i.normalizeClass)([`nb-chart__svg`,{"nb-chart__svg--selectable":p()}]),role:p()?`group`:`img`,"aria-label":e.title||`Pie chart`,onMouseleave:l[1]||=e=>E.value=null},[(0,i.createElementVNode)(`g`,{transform:`translate(${b.value}, ${x.value})`},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(w.value,(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(`path`,{key:`slice-${t}`,class:(0,i.normalizeClass)([`nb-chart__slice`,{"is-dim":E.value!==null&&E.value!==t}]),d:e.path,fill:e.color,tabindex:p()?0:void 0,role:p()?`button`:void 0,"aria-label":p()?`${e.label}: ${e.value}`:void 0,onMouseenter:e=>E.value=t,onMousemove:l[0]||=e=>O(e),onClick:e=>m(t),onKeydown:e=>h(e,t)},null,42,s))),128)),e.labels===`none`?(0,i.createCommentVNode)(``,!0):((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,{key:0},(0,i.renderList)(w.value,(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(`text`,{key:`lab-${t}`,class:`nb-chart__slice-label`,x:e.labelX,y:e.labelY,"text-anchor":`middle`,"dominant-baseline":`middle`,style:(0,i.normalizeStyle)({fill:e.labelColor})},(0,i.toDisplayString)(e.labelText),13,c))),128))],8,o)],42,a)),(0,i.createVNode)(t.l,{visible:e.showTooltip&&E.value!==null,x:D.value.x,y:D.value.y,rows:k.value},null,8,[`visible`,`x`,`y`,`rows`])],512)]),_:1},8,[`title`,`subtitle`,`height`,`show-legend`]))}}),u=e.t(l,[[`__scopeId`,`data-v-f68902ef`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
1
+ require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./palette-Bw_ZEUW9.cjs`),n=require(`./ChartLegend-Bm3lWWjg.cjs`),r=require(`./useChartSize-FL0Z5O7-.cjs`);let i=require(`vue`);var a=[`width`,`height`,`role`,`aria-label`],o=[`transform`],s=[`d`,`fill`,`tabindex`,`role`,`aria-label`,`onMouseenter`,`onClick`,`onKeydown`],c=[`x`,`y`],l=(0,i.defineComponent)({__name:`PieChart`,props:{data:{default:()=>[]},innerRadius:{default:0},labels:{default:`percent`},title:{default:void 0},subtitle:{default:void 0},height:{default:280},showLegend:{type:Boolean,default:!0},showTooltip:{type:Boolean,default:!0},colors:{default:()=>t.n}},emits:[`select`],setup(e,{emit:l}){let u=e,d=l,f=(0,i.getCurrentInstance)(),p=()=>!!f?.vnode.props?.onSelect,m=e=>{if(!p())return;let t=u.data[e];t&&d(`select`,{kind:`categorical`,label:t.label,value:t.value,index:e,datum:t})},h=(e,t)=>{p()&&(e.key!==`Enter`&&e.key!==` `||(e.preventDefault(),m(t)))},g=(0,i.ref)(null),_=r.t(g,{width:280,height:240}),v=(0,i.computed)(()=>u.data.map((e,n)=>({label:e.label,value:e.value,color:e.color??t.i(n,u.colors)}))),y=(0,i.computed)(()=>v.value.reduce((e,t)=>e+Math.max(0,t.value),0)),b=(0,i.computed)(()=>_.value.width/2),x=(0,i.computed)(()=>_.value.height/2),S=(0,i.computed)(()=>Math.max(0,Math.min(_.value.width,_.value.height)/2-8)),C=(0,i.computed)(()=>Math.max(0,Math.min(.95,u.innerRadius))*S.value),w=(0,i.computed)(()=>{if(!y.value)return[];let e=-Math.PI/2,t=[];for(let n=0;n<v.value.length;n++){let r=v.value[n],i=Math.max(0,r.value)/y.value,a=e,o=e+i*Math.PI*2;e=o;let s=T(a,o,C.value,S.value),c=(a+o)/2,l=C.value>0?(C.value+S.value)/2:S.value*.65,d=Math.cos(c)*l,f=Math.sin(c)*l,p=u.labels===`percent`?`${Math.round(i*100)}%`:u.labels===`value`?String(r.value):``;t.push({path:s,color:r.color,labelX:d,labelY:f,labelText:p,labelColor:`var(--nb-c-white)`,startAngle:a,endAngle:o,value:r.value,label:r.label})}return t}),T=(e,t,n,r)=>{if(Math.abs(t-e)>=Math.PI*2-1e-6){let e=`M ${r} 0 A ${r} ${r} 0 1 1 ${-r} 0 A ${r} ${r} 0 1 1 ${r} 0 Z`;return n<=0?e:`${e} ${`M ${n} 0 A ${n} ${n} 0 1 0 ${-n} 0 A ${n} ${n} 0 1 0 ${n} 0 Z`}`}let i=Math.cos(e)*r,a=Math.sin(e)*r,o=Math.cos(t)*r,s=Math.sin(t)*r,c=t-e>Math.PI?1:0;if(n<=0)return`M 0 0 L ${i} ${a} A ${r} ${r} 0 ${c} 1 ${o} ${s} Z`;let l=Math.cos(t)*n,u=Math.sin(t)*n,d=Math.cos(e)*n,f=Math.sin(e)*n;return[`M ${i} ${a}`,`A ${r} ${r} 0 ${c} 1 ${o} ${s}`,`L ${l} ${u}`,`A ${n} ${n} 0 ${c} 0 ${d} ${f}`,`Z`].join(` `)},E=(0,i.ref)(null),D=(0,i.ref)({x:0,y:0}),O=e=>{let t=e.currentTarget.ownerSVGElement;if(!t)return;let n=t.getBoundingClientRect();D.value={x:e.clientX-n.left+12,y:e.clientY-n.top+12}},k=(0,i.computed)(()=>{if(E.value===null)return[];let e=w.value[E.value];if(!e)return[];let t=y.value?Math.round(e.value/y.value*100):0;return[{label:e.label,value:`${e.value} (${t}%)`,color:e.color}]});return(r,l)=>((0,i.openBlock)(),(0,i.createBlock)(t.u,{title:e.title,subtitle:e.subtitle,height:e.height,"show-legend":e.showLegend&&v.value.length>0},{legend:(0,i.withCtx)(()=>[(0,i.createVNode)(n.t,{items:v.value.map(e=>({label:e.label,color:e.color}))},null,8,[`items`])]),default:(0,i.withCtx)(()=>[(0,i.createElementVNode)(`div`,{ref_key:`root`,ref:g,class:`nb-pie-chart`},[((0,i.openBlock)(),(0,i.createElementBlock)(`svg`,{width:(0,i.unref)(_).width,height:(0,i.unref)(_).height,class:(0,i.normalizeClass)([`nb-chart__svg`,{"nb-chart__svg--selectable":p()}]),role:p()?`group`:`img`,"aria-label":e.title||`Pie chart`,onMouseleave:l[1]||=e=>E.value=null},[(0,i.createElementVNode)(`g`,{transform:`translate(${b.value}, ${x.value})`},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(w.value,(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(`path`,{key:`slice-${t}`,class:(0,i.normalizeClass)([`nb-chart__slice`,{"is-dim":E.value!==null&&E.value!==t}]),d:e.path,fill:e.color,tabindex:p()?0:void 0,role:p()?`button`:void 0,"aria-label":p()?`${e.label}: ${e.value}`:void 0,onMouseenter:e=>E.value=t,onMousemove:l[0]||=e=>O(e),onClick:e=>m(t),onKeydown:e=>h(e,t)},null,42,s))),128)),e.labels===`none`?(0,i.createCommentVNode)(``,!0):((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,{key:0},(0,i.renderList)(w.value,(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(`text`,{key:`lab-${t}`,class:`nb-chart__slice-label`,x:e.labelX,y:e.labelY,"text-anchor":`middle`,"dominant-baseline":`middle`,style:(0,i.normalizeStyle)({fill:e.labelColor})},(0,i.toDisplayString)(e.labelText),13,c))),128))],8,o)],42,a)),(0,i.createVNode)(t.l,{visible:e.showTooltip&&E.value!==null,x:D.value.x,y:D.value.y,rows:k.value},null,8,[`visible`,`x`,`y`,`rows`])],512)]),_:1},8,[`title`,`subtitle`,`height`,`show-legend`]))}}),u=e.t(l,[[`__scopeId`,`data-v-f68902ef`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-O4QQSku4.js";
2
- import { i as t, l as n, n as r, u as i } from "./palette-StNyj_sM.js";
3
- import { t as a } from "./ChartLegend-BLTbVV2E.js";
4
- import { t as o } from "./useChartSize-UdZSuP3G.js";
2
+ import { i as t, l as n, n as r, u as i } from "./palette-DWJZEKeE.js";
3
+ import { t as a } from "./ChartLegend-pWTcI_8-.js";
4
+ import { t as o } from "./useChartSize-D1SiiiO5.js";
5
5
  import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, getCurrentInstance as h, normalizeClass as g, normalizeStyle as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, unref as S, withCtx as C } from "vue";
6
6
  //#region src/components/Charts/PieChart.vue?vue&type=script&setup=true&lang.ts
7
7
  var w = [
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-O4QQSku4.js";
2
2
  import { t } from "./Icon-rREAqsu0.js";
3
- import { t as n } from "./Label-DGK5nxFy.js";
4
- import { n as r, t as i } from "./Message-CHkTWe0K.js";
3
+ import { t as n } from "./Label-ByPjahGR.js";
4
+ import { n as r, t as i } from "./Message-DlxDNDdA.js";
5
5
  import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, normalizeClass as p, normalizeStyle as m, openBlock as h, toDisplayString as g, withCtx as _ } from "vue";
6
6
  import * as v from "@nubisco/ui/icons/warning-circle";
7
7
  import * as y from "@nubisco/ui/icons/check-circle";
@@ -1 +1 @@
1
- const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),n=require(`./Icon-C8R_r_In.cjs`),r=require(`./Label-CZhQEyoi.cjs`),i=require(`./Message-C44ftsaT.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/warning-circle`);o=e.n(o);let s=require(`@nubisco/ui/icons/check-circle`);s=e.n(s);var c=function(e){return e.Small=`sm`,e.Medium=`md`,e}(c||{}),l=function(e){return e.Active=`active`,e.Finished=`finished`,e.Error=`error`,e}(l||{}),u={key:0,class:`nb-progress-bar__header`},d=[`aria-label`,`aria-valuemax`,`aria-valuenow`],f=(0,a.defineComponent)({__name:`ProgressBar`,props:{value:{default:void 0},max:{default:100},helper:{default:void 0},size:{default:c.Medium},status:{default:l.Active},id:{default:`progress-bar`},label:{}},setup(e){let t=e,c=(0,a.computed)(()=>t.value==null&&t.status===l.Active),f=(0,a.computed)(()=>t.status===l.Active?t.value==null||t.max<=0?0:Math.min(Math.max(t.value/t.max,0),1):1),p=(0,a.computed)(()=>c.value?void 0:f.value*t.max),m=(0,a.computed)(()=>[`nb-progress-bar`,`nb-progress-bar--${t.size}`,`nb-progress-bar--${t.status}`,{"nb-progress-bar--indeterminate":c.value}]),h=(0,a.computed)(()=>({transform:`scaleX(${f.value})`})),g=(0,a.computed)(()=>t.status===l.Finished?s:t.status===l.Error?o:null),_=(0,a.computed)(()=>t.status===l.Error?i.n.Error:i.n.Helper);return(t,o)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{class:(0,a.normalizeClass)(m.value)},[e.label?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,u,[(0,a.createVNode)(r.t,null,{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.label),1)]),_:1}),g.value?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:0,name:g.value,size:14,class:`nb-progress-bar__status-icon`},null,8,[`name`])):(0,a.createCommentVNode)(``,!0)])):(0,a.createCommentVNode)(``,!0),(0,a.createElementVNode)(`div`,{class:`nb-progress-bar__track`,role:`progressbar`,"aria-label":e.label,"aria-valuemin":`0`,"aria-valuemax":e.max,"aria-valuenow":p.value},[(0,a.createElementVNode)(`div`,{class:`nb-progress-bar__bar`,style:(0,a.normalizeStyle)(h.value)},null,4)],8,d),e.helper?((0,a.openBlock)(),(0,a.createBlock)(i.t,{key:1,variant:_.value,class:`nb-progress-bar__message`},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.helper),1)]),_:1},8,[`variant`])):(0,a.createCommentVNode)(``,!0)],2))}}),p=t.t(f,[[`__scopeId`,`data-v-5c8dd315`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
1
+ const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),n=require(`./Icon-C8R_r_In.cjs`),r=require(`./Label-wjk0O-kq.cjs`),i=require(`./Message-MKemyYRl.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/warning-circle`);o=e.n(o);let s=require(`@nubisco/ui/icons/check-circle`);s=e.n(s);var c=function(e){return e.Small=`sm`,e.Medium=`md`,e}(c||{}),l=function(e){return e.Active=`active`,e.Finished=`finished`,e.Error=`error`,e}(l||{}),u={key:0,class:`nb-progress-bar__header`},d=[`aria-label`,`aria-valuemax`,`aria-valuenow`],f=(0,a.defineComponent)({__name:`ProgressBar`,props:{value:{default:void 0},max:{default:100},helper:{default:void 0},size:{default:c.Medium},status:{default:l.Active},id:{default:`progress-bar`},label:{}},setup(e){let t=e,c=(0,a.computed)(()=>t.value==null&&t.status===l.Active),f=(0,a.computed)(()=>t.status===l.Active?t.value==null||t.max<=0?0:Math.min(Math.max(t.value/t.max,0),1):1),p=(0,a.computed)(()=>c.value?void 0:f.value*t.max),m=(0,a.computed)(()=>[`nb-progress-bar`,`nb-progress-bar--${t.size}`,`nb-progress-bar--${t.status}`,{"nb-progress-bar--indeterminate":c.value}]),h=(0,a.computed)(()=>({transform:`scaleX(${f.value})`})),g=(0,a.computed)(()=>t.status===l.Finished?s:t.status===l.Error?o:null),_=(0,a.computed)(()=>t.status===l.Error?i.n.Error:i.n.Helper);return(t,o)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{class:(0,a.normalizeClass)(m.value)},[e.label?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,u,[(0,a.createVNode)(r.t,null,{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.label),1)]),_:1}),g.value?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:0,name:g.value,size:14,class:`nb-progress-bar__status-icon`},null,8,[`name`])):(0,a.createCommentVNode)(``,!0)])):(0,a.createCommentVNode)(``,!0),(0,a.createElementVNode)(`div`,{class:`nb-progress-bar__track`,role:`progressbar`,"aria-label":e.label,"aria-valuemin":`0`,"aria-valuemax":e.max,"aria-valuenow":p.value},[(0,a.createElementVNode)(`div`,{class:`nb-progress-bar__bar`,style:(0,a.normalizeStyle)(h.value)},null,4)],8,d),e.helper?((0,a.openBlock)(),(0,a.createBlock)(i.t,{key:1,variant:_.value,class:`nb-progress-bar__message`},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.helper),1)]),_:1},8,[`variant`])):(0,a.createCommentVNode)(``,!0)],2))}}),p=t.t(f,[[`__scopeId`,`data-v-5c8dd315`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
@@ -1 +1 @@
1
- require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./Label-CZhQEyoi.cjs`),n=require(`./Message-C44ftsaT.cjs`);let r=require(`vue`);var i=function(e){return e.Horizontal=`horizontal`,e.Vertical=`vertical`,e}(i||{}),a={class:`nb-radio__control`},o=[`name`,`value`,`checked`,`disabled`,`readonly`,`onChange`],s={class:`nb-radio__circle`},c={key:0,class:`nb-radio__dot`},l={class:`nb-radio__text`},u=(0,r.defineComponent)({__name:`Radio`,props:{modelValue:{},options:{},name:{},direction:{default:i.Vertical},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},required:{type:Boolean},id:{default:`radio`},label:{},error:{default:void 0},warning:{default:void 0},helper:{default:void 0}},emits:[`update:modelValue`],setup(e){let i=e,u=(0,r.computed)(()=>[`nb-radio`,{"nb-radio--error":!!i.error,"nb-radio--warning":!i.error&&!!i.warning,"nb-radio--disabled":i.disabled,"nb-radio--readonly":i.readonly}]);function d(e){return[`nb-radio__option`,{"nb-radio__option--disabled":i.disabled||e.disabled,"nb-radio__option--readonly":i.readonly}]}return(i,f)=>((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{class:(0,r.normalizeClass)(u.value)},[e.label?((0,r.openBlock)(),(0,r.createBlock)(t.t,{key:0},{default:(0,r.withCtx)(()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.label),1)]),_:1})):(0,r.createCommentVNode)(``,!0),(0,r.createElementVNode)(`div`,{class:(0,r.normalizeClass)([`nb-radio__group`,`nb-radio__group--${e.direction}`])},[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(e.options,t=>((0,r.openBlock)(),(0,r.createElementBlock)(`label`,{key:t.value,class:(0,r.normalizeClass)(d(t))},[(0,r.createElementVNode)(`span`,a,[(0,r.createElementVNode)(`input`,{type:`radio`,name:e.name,value:t.value,checked:e.modelValue===t.value,disabled:e.disabled||t.disabled,readonly:e.readonly,class:`nb-radio__input`,onChange:n=>!e.readonly&&i.$emit(`update:modelValue`,t.value)},null,40,o),(0,r.createElementVNode)(`span`,s,[e.modelValue===t.value?((0,r.openBlock)(),(0,r.createElementBlock)(`span`,c)):(0,r.createCommentVNode)(``,!0)])]),(0,r.createElementVNode)(`span`,l,(0,r.toDisplayString)(t.label),1)],2))),128))],2),e.error?((0,r.openBlock)(),(0,r.createBlock)(n.t,{key:1,variant:`error`,class:`nb-radio__message`},{default:(0,r.withCtx)(()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.error),1)]),_:1})):e.warning?((0,r.openBlock)(),(0,r.createBlock)(n.t,{key:2,variant:`warning`,class:`nb-radio__message`},{default:(0,r.withCtx)(()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.warning),1)]),_:1})):e.helper?((0,r.openBlock)(),(0,r.createBlock)(n.t,{key:3,variant:`helper`,class:`nb-radio__message`},{default:(0,r.withCtx)(()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.helper),1)]),_:1})):(0,r.createCommentVNode)(``,!0)],2))}}),d=e.t(u,[[`__scopeId`,`data-v-9d4bd809`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return d}});
1
+ require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./Label-wjk0O-kq.cjs`),n=require(`./Message-MKemyYRl.cjs`);let r=require(`vue`);var i=function(e){return e.Horizontal=`horizontal`,e.Vertical=`vertical`,e}(i||{}),a={class:`nb-radio__control`},o=[`name`,`value`,`checked`,`disabled`,`readonly`,`onChange`],s={class:`nb-radio__circle`},c={key:0,class:`nb-radio__dot`},l={class:`nb-radio__text`},u=(0,r.defineComponent)({__name:`Radio`,props:{modelValue:{},options:{},name:{},direction:{default:i.Vertical},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},required:{type:Boolean},id:{default:`radio`},label:{},error:{default:void 0},warning:{default:void 0},helper:{default:void 0}},emits:[`update:modelValue`],setup(e){let i=e,u=(0,r.computed)(()=>[`nb-radio`,{"nb-radio--error":!!i.error,"nb-radio--warning":!i.error&&!!i.warning,"nb-radio--disabled":i.disabled,"nb-radio--readonly":i.readonly}]);function d(e){return[`nb-radio__option`,{"nb-radio__option--disabled":i.disabled||e.disabled,"nb-radio__option--readonly":i.readonly}]}return(i,f)=>((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{class:(0,r.normalizeClass)(u.value)},[e.label?((0,r.openBlock)(),(0,r.createBlock)(t.t,{key:0},{default:(0,r.withCtx)(()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.label),1)]),_:1})):(0,r.createCommentVNode)(``,!0),(0,r.createElementVNode)(`div`,{class:(0,r.normalizeClass)([`nb-radio__group`,`nb-radio__group--${e.direction}`])},[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(e.options,t=>((0,r.openBlock)(),(0,r.createElementBlock)(`label`,{key:t.value,class:(0,r.normalizeClass)(d(t))},[(0,r.createElementVNode)(`span`,a,[(0,r.createElementVNode)(`input`,{type:`radio`,name:e.name,value:t.value,checked:e.modelValue===t.value,disabled:e.disabled||t.disabled,readonly:e.readonly,class:`nb-radio__input`,onChange:n=>!e.readonly&&i.$emit(`update:modelValue`,t.value)},null,40,o),(0,r.createElementVNode)(`span`,s,[e.modelValue===t.value?((0,r.openBlock)(),(0,r.createElementBlock)(`span`,c)):(0,r.createCommentVNode)(``,!0)])]),(0,r.createElementVNode)(`span`,l,(0,r.toDisplayString)(t.label),1)],2))),128))],2),e.error?((0,r.openBlock)(),(0,r.createBlock)(n.t,{key:1,variant:`error`,class:`nb-radio__message`},{default:(0,r.withCtx)(()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.error),1)]),_:1})):e.warning?((0,r.openBlock)(),(0,r.createBlock)(n.t,{key:2,variant:`warning`,class:`nb-radio__message`},{default:(0,r.withCtx)(()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.warning),1)]),_:1})):e.helper?((0,r.openBlock)(),(0,r.createBlock)(n.t,{key:3,variant:`helper`,class:`nb-radio__message`},{default:(0,r.withCtx)(()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.helper),1)]),_:1})):(0,r.createCommentVNode)(``,!0)],2))}}),d=e.t(u,[[`__scopeId`,`data-v-9d4bd809`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return d}});
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-O4QQSku4.js";
2
- import { t } from "./Label-DGK5nxFy.js";
3
- import { t as n } from "./Message-CHkTWe0K.js";
2
+ import { t } from "./Label-ByPjahGR.js";
3
+ import { t as n } from "./Message-DlxDNDdA.js";
4
4
  import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, renderList as p, toDisplayString as m, withCtx as h } from "vue";
5
5
  //#region src/components/Radio.d.ts
6
6
  var g = /* @__PURE__ */ function(e) {
@@ -0,0 +1,489 @@
1
+ import { t as e } from "./Icon-rREAqsu0.js";
2
+ import { t } from "./Label-ByPjahGR.js";
3
+ import { t as n } from "./Message-DlxDNDdA.js";
4
+ import { t as r } from "./Grid-Cc13B5BH.js";
5
+ import { useMenuSurface as i } from "./composables/useMenuSurface.composable.mjs";
6
+ import { Fragment as a, Teleport as ee, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, h as te, nextTick as m, normalizeClass as h, normalizeStyle as ne, onBeforeUnmount as re, openBlock as g, ref as _, renderList as v, renderSlot as y, toDisplayString as b, unref as x, useId as ie, vModelText as ae, watch as oe, withCtx as S, withDirectives as se, withKeys as C, withModifiers as w } from "vue";
7
+ import { regular as T } from "@nubisco/ui/icons/caret-down";
8
+ import { regular as E } from "@nubisco/ui/icons/x";
9
+ import { regular as ce } from "@nubisco/ui/icons/caret-up";
10
+ //#region src/components/Select.vue?vue&type=script&setup=true&lang.ts
11
+ var le = [
12
+ "id",
13
+ "aria-expanded",
14
+ "aria-disabled",
15
+ "aria-required",
16
+ "disabled"
17
+ ], ue = {
18
+ key: 2,
19
+ class: "nb-select__clear-space",
20
+ "aria-hidden": "true"
21
+ }, de = ["aria-label"], fe = [
22
+ "id",
23
+ "aria-expanded",
24
+ "aria-disabled",
25
+ "aria-required",
26
+ "disabled"
27
+ ], pe = {
28
+ key: 1,
29
+ class: "nb-select__inner-label"
30
+ }, me = {
31
+ key: 0,
32
+ class: "nb-select__asterisk",
33
+ "aria-hidden": "true"
34
+ }, he = {
35
+ key: 0,
36
+ class: "nb-select__clear-space",
37
+ "aria-hidden": "true"
38
+ }, ge = ["aria-label"], _e = ["aria-multiselectable"], ve = ["aria-labelledby"], ye = ["id"], be = [
39
+ "aria-selected",
40
+ "aria-disabled",
41
+ "onMouseenter",
42
+ "onClick"
43
+ ], xe = {
44
+ key: 0,
45
+ class: "nb-select__option-check",
46
+ "aria-hidden": "true"
47
+ }, Se = {
48
+ key: 0,
49
+ viewBox: "0 0 10 8",
50
+ fill: "none",
51
+ width: "10",
52
+ height: "8"
53
+ }, Ce = { class: "nb-select__option-label" }, we = {
54
+ key: 0,
55
+ class: "nb-select__empty"
56
+ }, Te = ["placeholder", "onKeydown"], D = /* @__PURE__ */ p({
57
+ __name: "Select",
58
+ props: {
59
+ modelValue: { default: null },
60
+ options: { default: () => [] },
61
+ multiple: {
62
+ type: Boolean,
63
+ default: !1
64
+ },
65
+ creatable: {
66
+ type: Boolean,
67
+ default: !1
68
+ },
69
+ createPlaceholder: { default: "" },
70
+ clearable: {
71
+ type: Boolean,
72
+ default: !1
73
+ },
74
+ clearLabel: { default: "Clear selection" },
75
+ placeholder: { default: "Select…" },
76
+ name: { default: "" },
77
+ disabled: {
78
+ type: Boolean,
79
+ default: !1
80
+ },
81
+ required: {
82
+ type: Boolean,
83
+ default: !1
84
+ },
85
+ id: { default: void 0 },
86
+ label: { default: "" },
87
+ error: { default: "" },
88
+ warning: { default: "" },
89
+ helper: { default: "" },
90
+ variant: { default: "default" },
91
+ size: { default: "md" }
92
+ },
93
+ emits: [
94
+ "update:modelValue",
95
+ "change",
96
+ "create"
97
+ ],
98
+ setup(p, { expose: D, emit: Ee }) {
99
+ let O = p, k = Ee, A = (e, { slots: t }) => e.wrap ? te("div", { class: "nb-select__control" }, t.default?.()) : t.default?.();
100
+ A.props = ["wrap"];
101
+ let j = _("");
102
+ function De() {
103
+ let e = j.value.trim();
104
+ e && (k("create", e), j.value = "");
105
+ }
106
+ let M = _(!1), N = _(!1), P = _(-1), F = _(null), I = _(null), L = _(null);
107
+ i(L);
108
+ let R = _({
109
+ position: "fixed",
110
+ top: "0px",
111
+ left: "0px",
112
+ width: "0px",
113
+ zIndex: "9999"
114
+ }), Oe = `nb-select-${ie()}`, z = o(() => O.id ?? Oe), B = o(() => O.modelValue == null ? [] : Array.isArray(O.modelValue) ? O.modelValue : [O.modelValue]), V = o(() => {
115
+ if (!(O.multiple || B.value.length !== 1)) return (O.options ?? []).find((e) => e.value === B.value[0])?.icon;
116
+ }), H = o(() => {
117
+ if (B.value.length === 0) return "";
118
+ let e = O.options ?? [];
119
+ return O.multiple ? B.value.length === 1 ? e.find((e) => e.value === B.value[0])?.label ?? String(B.value[0]) : B.value.length === 2 ? B.value.map((t) => e.find((e) => e.value === t)?.label ?? String(t)).join(", ") : `${B.value.length} selected` : e.find((e) => e.value === B.value[0])?.label ?? String(B.value[0]);
120
+ });
121
+ function U(e) {
122
+ return B.value.includes(e);
123
+ }
124
+ let ke = o(() => {
125
+ let e = [];
126
+ return (O.options ?? []).forEach((t, n) => {
127
+ let r = e[e.length - 1];
128
+ (!r || r.name !== t.group) && e.push({
129
+ key: `${e.length}:${t.group ?? ""}`,
130
+ name: t.group,
131
+ labelId: `${z.value}-group-${e.length}`,
132
+ entries: []
133
+ }), e[e.length - 1].entries.push({
134
+ option: t,
135
+ index: n
136
+ });
137
+ }), e;
138
+ });
139
+ function W(e, t) {
140
+ let n = O.options ?? [];
141
+ for (let r = e + t; r >= 0 && r < n.length; r += t) if (!n[r].disabled) return r;
142
+ return e;
143
+ }
144
+ function G(e) {
145
+ if (e.disabled) return;
146
+ let t;
147
+ if (O.multiple) {
148
+ let n = [...B.value], r = n.indexOf(e.value);
149
+ r >= 0 ? n.splice(r, 1) : n.push(e.value), t = n;
150
+ } else t = e.value, J();
151
+ k("update:modelValue", t), k("change", t);
152
+ }
153
+ function K() {
154
+ if (!I.value) return;
155
+ let e = I.value.getBoundingClientRect(), t = L.value?.offsetHeight ?? 0, n = window.innerHeight - e.bottom, r = e.top;
156
+ R.value = {
157
+ position: "fixed",
158
+ top: t > 0 && n < t && r > n ? `${e.top - t}px` : `${e.bottom}px`,
159
+ left: `${e.left}px`,
160
+ width: `${e.width}px`,
161
+ zIndex: "9999"
162
+ };
163
+ }
164
+ function q() {
165
+ if (O.disabled) return;
166
+ M.value = !0, K();
167
+ let e = O.options ?? [];
168
+ P.value = B.value.length > 0 ? Math.max(0, e.findIndex((e) => e.value === B.value[0])) : -1, m(() => {
169
+ K(), Z();
170
+ });
171
+ }
172
+ function J() {
173
+ M.value = !1, P.value = -1;
174
+ }
175
+ function Ae() {
176
+ M.value ? J() : q();
177
+ }
178
+ function Y(e) {
179
+ let t = e.target, n = F.value?.contains(t) ?? !1, r = L.value?.contains(t) ?? !1;
180
+ !n && !r && J();
181
+ }
182
+ function X() {
183
+ M.value && K();
184
+ }
185
+ oe(M, (e) => {
186
+ e ? (document.addEventListener("mousedown", Y), window.addEventListener("scroll", X, !0), window.addEventListener("resize", X)) : (document.removeEventListener("mousedown", Y), window.removeEventListener("scroll", X, !0), window.removeEventListener("resize", X));
187
+ }), re(() => {
188
+ document.removeEventListener("mousedown", Y), window.removeEventListener("scroll", X, !0), window.removeEventListener("resize", X);
189
+ });
190
+ function je(e) {
191
+ let t = O.options ?? [];
192
+ if (!M.value) {
193
+ (e.key === "Enter" || e.key === " " || e.key === "ArrowDown") && (e.preventDefault(), q());
194
+ return;
195
+ }
196
+ e.key === "Escape" ? (J(), e.preventDefault()) : e.key === "Tab" ? J() : e.key === "ArrowDown" ? (e.preventDefault(), P.value = W(P.value, 1), Z()) : e.key === "ArrowUp" ? (e.preventDefault(), P.value > 0 && (P.value = W(P.value, -1)), Z()) : (e.key === "Enter" || e.key === " ") && P.value >= 0 && (e.preventDefault(), G(t[P.value]));
197
+ }
198
+ function Z() {
199
+ m(() => {
200
+ !L.value || P.value < 0 || L.value.querySelectorAll(".nb-select__option")[P.value]?.scrollIntoView({ block: "nearest" });
201
+ });
202
+ }
203
+ let Q = o(() => O.clearable && !O.disabled && B.value.length > 0);
204
+ function $() {
205
+ let e = O.multiple ? [] : null;
206
+ J(), k("update:modelValue", e), k("change", e), I.value?.focus();
207
+ }
208
+ let Me = o(() => [
209
+ "nb-select",
210
+ `nb-select--${O.variant}`,
211
+ `nb-select--${O.size}`,
212
+ {
213
+ "nb-select--open": M.value,
214
+ "nb-select--focused": N.value && !M.value,
215
+ "nb-select--error": !!O.error,
216
+ "nb-select--warning": !O.error && !!O.warning,
217
+ "nb-select--multiple": O.multiple
218
+ }
219
+ ]);
220
+ return D({
221
+ open: q,
222
+ close: J
223
+ }), (i, o) => (g(), l(a, null, [u("div", {
224
+ ref_key: "rootRef",
225
+ ref: F,
226
+ class: h(Me.value),
227
+ onKeydown: je
228
+ }, [p.variant === "default" ? (g(), l(a, { key: 0 }, [
229
+ i.$slots.label ? y(i.$slots, "label", { key: 0 }) : p.label ? (g(), s(t, {
230
+ key: 1,
231
+ for: z.value,
232
+ required: p.required,
233
+ disabled: p.disabled
234
+ }, {
235
+ default: S(() => [d(b(p.label), 1)]),
236
+ _: 1
237
+ }, 8, [
238
+ "for",
239
+ "required",
240
+ "disabled"
241
+ ])) : c("", !0),
242
+ f(A, { wrap: p.clearable }, {
243
+ default: S(() => [u("button", {
244
+ id: z.value,
245
+ ref_key: "triggerRef",
246
+ ref: I,
247
+ type: "button",
248
+ class: "nb-select__trigger",
249
+ role: "combobox",
250
+ "aria-expanded": M.value,
251
+ "aria-haspopup": "listbox",
252
+ "aria-disabled": p.disabled || void 0,
253
+ "aria-required": p.required || void 0,
254
+ disabled: p.disabled || void 0,
255
+ onClick: Ae,
256
+ onFocus: o[0] ||= (e) => N.value = !0,
257
+ onBlur: o[1] ||= (e) => N.value = !1
258
+ }, [
259
+ u("span", { class: h(["nb-select__value", {
260
+ "nb-select__value--placeholder": !H.value,
261
+ "nb-select__value--with-icon": !!V.value
262
+ }]) }, [V.value ? (g(), s(e, {
263
+ key: 0,
264
+ class: "nb-select__value-icon",
265
+ name: V.value,
266
+ size: 16
267
+ }, null, 8, ["name"])) : c("", !0), H.value ? y(i.$slots, "value", {
268
+ key: 1,
269
+ values: B.value
270
+ }, () => [d(b(H.value), 1)]) : (g(), l(a, { key: 2 }, [d(b(p.placeholder), 1)], 64))], 2),
271
+ p.error ? (g(), s(n, {
272
+ key: 0,
273
+ variant: "error",
274
+ "icon-only": !0,
275
+ class: "nb-select__status-icon"
276
+ }, {
277
+ default: S(() => [d(b(p.error), 1)]),
278
+ _: 1
279
+ })) : p.warning ? (g(), s(n, {
280
+ key: 1,
281
+ variant: "warning",
282
+ "icon-only": !0,
283
+ class: "nb-select__status-icon"
284
+ }, {
285
+ default: S(() => [d(b(p.warning), 1)]),
286
+ _: 1
287
+ })) : c("", !0),
288
+ Q.value ? (g(), l("span", ue)) : c("", !0),
289
+ f(r, {
290
+ align: "center",
291
+ justify: "center",
292
+ class: "nb-select__caret"
293
+ }, {
294
+ default: S(() => [f(e, {
295
+ name: M.value ? x(ce) : x(T),
296
+ size: 16
297
+ }, null, 8, ["name"])]),
298
+ _: 1
299
+ })
300
+ ], 40, le), Q.value ? (g(), l("button", {
301
+ key: 0,
302
+ type: "button",
303
+ class: "nb-select__clear",
304
+ "aria-label": p.clearLabel,
305
+ onClick: $,
306
+ onKeydown: [o[2] ||= C(w(() => {}, ["stop"]), ["enter"]), o[3] ||= C(w(() => {}, ["stop"]), ["space"])]
307
+ }, [f(e, {
308
+ name: x(E),
309
+ size: 16
310
+ }, null, 8, ["name"])], 40, de)) : c("", !0)]),
311
+ _: 3
312
+ }, 8, ["wrap"]),
313
+ p.error ? (g(), s(n, {
314
+ key: 2,
315
+ variant: "error",
316
+ class: "nb-select__message"
317
+ }, {
318
+ default: S(() => [d(b(p.error), 1)]),
319
+ _: 1
320
+ })) : p.warning ? (g(), s(n, {
321
+ key: 3,
322
+ variant: "warning",
323
+ class: "nb-select__message"
324
+ }, {
325
+ default: S(() => [d(b(p.warning), 1)]),
326
+ _: 1
327
+ })) : p.helper ? (g(), s(n, {
328
+ key: 4,
329
+ variant: "helper",
330
+ class: "nb-select__message"
331
+ }, {
332
+ default: S(() => [d(b(p.helper), 1)]),
333
+ _: 1
334
+ })) : c("", !0)
335
+ ], 64)) : p.variant === "fluid" ? (g(), l(a, { key: 1 }, [f(A, { wrap: p.clearable }, {
336
+ default: S(() => [u("button", {
337
+ id: z.value,
338
+ ref_key: "triggerRef",
339
+ ref: I,
340
+ type: "button",
341
+ class: "nb-select__trigger",
342
+ role: "combobox",
343
+ "aria-expanded": M.value,
344
+ "aria-haspopup": "listbox",
345
+ "aria-disabled": p.disabled || void 0,
346
+ "aria-required": p.required || void 0,
347
+ disabled: p.disabled || void 0,
348
+ onClick: Ae,
349
+ onFocus: o[4] ||= (e) => N.value = !0,
350
+ onBlur: o[5] ||= (e) => N.value = !1
351
+ }, [p.label || i.$slots.label ? (g(), s(r, {
352
+ key: 0,
353
+ dir: "row",
354
+ align: "center",
355
+ gap: "xs",
356
+ class: "nb-select__inner-header"
357
+ }, {
358
+ default: S(() => [i.$slots.label ? y(i.$slots, "label", { key: 0 }) : (g(), l("label", pe, [d(b(p.label) + " ", 1), p.required ? (g(), l("span", me, "*")) : c("", !0)])), p.helper && !p.error && !p.warning ? (g(), s(n, {
359
+ key: 2,
360
+ variant: "helper",
361
+ "icon-only": !0,
362
+ class: "nb-select__inner-message"
363
+ }, {
364
+ default: S(() => [d(b(p.helper), 1)]),
365
+ _: 1
366
+ })) : c("", !0)]),
367
+ _: 3
368
+ })) : c("", !0), f(r, {
369
+ dir: "row",
370
+ align: "end",
371
+ flex: "",
372
+ class: "nb-select__value-row"
373
+ }, {
374
+ default: S(() => [
375
+ u("span", { class: h(["nb-select__value", {
376
+ "nb-select__value--placeholder": !H.value,
377
+ "nb-select__value--with-icon": !!V.value
378
+ }]) }, [V.value ? (g(), s(e, {
379
+ key: 0,
380
+ class: "nb-select__value-icon",
381
+ name: V.value,
382
+ size: 16
383
+ }, null, 8, ["name"])) : c("", !0), H.value ? y(i.$slots, "value", {
384
+ key: 1,
385
+ values: B.value
386
+ }, () => [d(b(H.value), 1)]) : (g(), l(a, { key: 2 }, [d(b(p.placeholder), 1)], 64))], 2),
387
+ Q.value ? (g(), l("span", he)) : c("", !0),
388
+ f(r, {
389
+ align: "center",
390
+ justify: "center",
391
+ class: "nb-select__caret"
392
+ }, {
393
+ default: S(() => [f(e, {
394
+ name: M.value ? x(ce) : x(T),
395
+ size: 16
396
+ }, null, 8, ["name"])]),
397
+ _: 1
398
+ })
399
+ ]),
400
+ _: 3
401
+ })], 40, fe), Q.value ? (g(), l("button", {
402
+ key: 0,
403
+ type: "button",
404
+ class: "nb-select__clear",
405
+ "aria-label": p.clearLabel,
406
+ onClick: $,
407
+ onKeydown: [o[6] ||= C(w(() => {}, ["stop"]), ["enter"]), o[7] ||= C(w(() => {}, ["stop"]), ["space"])]
408
+ }, [f(e, {
409
+ name: x(E),
410
+ size: 16
411
+ }, null, 8, ["name"])], 40, ge)) : c("", !0)]),
412
+ _: 3
413
+ }, 8, ["wrap"]), p.error ? (g(), s(n, {
414
+ key: 0,
415
+ variant: "error",
416
+ class: "nb-select__fluid-message"
417
+ }, {
418
+ default: S(() => [d(b(p.error), 1)]),
419
+ _: 1
420
+ })) : p.warning ? (g(), s(n, {
421
+ key: 1,
422
+ variant: "warning",
423
+ class: "nb-select__fluid-message"
424
+ }, {
425
+ default: S(() => [d(b(p.warning), 1)]),
426
+ _: 1
427
+ })) : c("", !0)], 64)) : c("", !0)], 34), (g(), s(ee, { to: "body" }, [M.value ? (g(), l("div", {
428
+ key: 0,
429
+ ref_key: "dropdownRef",
430
+ ref: L,
431
+ class: "nb-select__dropdown",
432
+ style: ne(R.value),
433
+ role: "listbox",
434
+ "aria-multiselectable": p.multiple || void 0
435
+ }, [
436
+ (g(!0), l(a, null, v(ke.value, (t) => (g(), l("div", {
437
+ key: t.key,
438
+ class: "nb-select__group",
439
+ role: "group",
440
+ "aria-labelledby": t.name ? t.labelId : void 0
441
+ }, [t.name ? (g(), l("div", {
442
+ key: 0,
443
+ id: t.labelId,
444
+ class: "nb-select__group-label"
445
+ }, b(t.name), 9, ye)) : c("", !0), (g(!0), l(a, null, v(t.entries, (t) => (g(), l("div", {
446
+ key: t.option.value,
447
+ class: h(["nb-select__option", {
448
+ "nb-select__option--selected": U(t.option.value),
449
+ "nb-select__option--highlighted": P.value === t.index,
450
+ "nb-select__option--disabled": t.option.disabled
451
+ }]),
452
+ role: "option",
453
+ "aria-selected": U(t.option.value),
454
+ "aria-disabled": t.option.disabled || void 0,
455
+ onMouseenter: (e) => P.value = t.index,
456
+ onClick: (e) => G(t.option)
457
+ }, [
458
+ p.multiple ? (g(), l("span", xe, [U(t.option.value) ? (g(), l("svg", Se, [...o[11] ||= [u("path", {
459
+ d: "M1 4l3 3 5-6",
460
+ stroke: "currentColor",
461
+ "stroke-width": "1.5",
462
+ "stroke-linecap": "round",
463
+ "stroke-linejoin": "round"
464
+ }, null, -1)]])) : c("", !0)])) : c("", !0),
465
+ t.option.icon ? (g(), s(e, {
466
+ key: 1,
467
+ class: "nb-select__option-icon",
468
+ name: t.option.icon,
469
+ size: 16
470
+ }, null, 8, ["name"])) : c("", !0),
471
+ u("span", Ce, [y(i.$slots, "option", { option: t.option }, () => [d(b(t.option.label), 1)])])
472
+ ], 42, be))), 128))], 8, ve))), 128)),
473
+ !p.options || p.options.length === 0 ? (g(), l("div", we, " No options ")) : c("", !0),
474
+ p.creatable ? (g(), l("div", {
475
+ key: 1,
476
+ class: "nb-select__create",
477
+ onMousedown: o[10] ||= w(() => {}, ["prevent"])
478
+ }, [se(u("input", {
479
+ "onUpdate:modelValue": o[8] ||= (e) => j.value = e,
480
+ type: "text",
481
+ class: "nb-select__create-input",
482
+ placeholder: p.createPlaceholder || "Add new…",
483
+ onKeydown: [C(w(De, ["prevent"]), ["enter"]), o[9] ||= w(() => {}, ["stop"])]
484
+ }, null, 40, Te), [[ae, j.value]])], 32)) : c("", !0)
485
+ ], 12, _e)) : c("", !0)]))], 64));
486
+ }
487
+ });
488
+ //#endregion
489
+ export { D as t };
@@ -0,0 +1 @@
1
+ require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Icon-C8R_r_In.cjs`),t=require(`./Label-wjk0O-kq.cjs`),n=require(`./Message-MKemyYRl.cjs`),r=require(`./Grid-BhBKhgln.cjs`),i=require(`./composables/useMenuSurface.composable.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/caret-down`),s=require(`@nubisco/ui/icons/x`),c=require(`@nubisco/ui/icons/caret-up`);var l=[`id`,`aria-expanded`,`aria-disabled`,`aria-required`,`disabled`],u={key:2,class:`nb-select__clear-space`,"aria-hidden":`true`},d=[`aria-label`],f=[`id`,`aria-expanded`,`aria-disabled`,`aria-required`,`disabled`],p={key:1,class:`nb-select__inner-label`},m={key:0,class:`nb-select__asterisk`,"aria-hidden":`true`},h={key:0,class:`nb-select__clear-space`,"aria-hidden":`true`},g=[`aria-label`],_=[`aria-multiselectable`],v=[`aria-labelledby`],y=[`id`],b=[`aria-selected`,`aria-disabled`,`onMouseenter`,`onClick`],x={key:0,class:`nb-select__option-check`,"aria-hidden":`true`},ee={key:0,viewBox:`0 0 10 8`,fill:`none`,width:`10`,height:`8`},te={class:`nb-select__option-label`},ne={key:0,class:`nb-select__empty`},re=[`placeholder`,`onKeydown`],S=(0,a.defineComponent)({__name:`Select`,props:{modelValue:{default:null},options:{default:()=>[]},multiple:{type:Boolean,default:!1},creatable:{type:Boolean,default:!1},createPlaceholder:{default:``},clearable:{type:Boolean,default:!1},clearLabel:{default:`Clear selection`},placeholder:{default:`Select…`},name:{default:``},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},id:{default:void 0},label:{default:``},error:{default:``},warning:{default:``},helper:{default:``},variant:{default:`default`},size:{default:`md`}},emits:[`update:modelValue`,`change`,`create`],setup(S,{expose:C,emit:ie}){let w=S,T=ie,E=(e,{slots:t})=>e.wrap?(0,a.h)(`div`,{class:`nb-select__control`},t.default?.()):t.default?.();E.props=[`wrap`];let D=(0,a.ref)(``);function O(){let e=D.value.trim();e&&(T(`create`,e),D.value=``)}let k=(0,a.ref)(!1),A=(0,a.ref)(!1),j=(0,a.ref)(-1),M=(0,a.ref)(null),N=(0,a.ref)(null),P=(0,a.ref)(null);i.useMenuSurface(P);let F=(0,a.ref)({position:`fixed`,top:`0px`,left:`0px`,width:`0px`,zIndex:`9999`}),I=`nb-select-${(0,a.useId)()}`,L=(0,a.computed)(()=>w.id??I),R=(0,a.computed)(()=>w.modelValue==null?[]:Array.isArray(w.modelValue)?w.modelValue:[w.modelValue]),z=(0,a.computed)(()=>{if(!(w.multiple||R.value.length!==1))return(w.options??[]).find(e=>e.value===R.value[0])?.icon}),B=(0,a.computed)(()=>{if(R.value.length===0)return``;let e=w.options??[];return w.multiple?R.value.length===1?e.find(e=>e.value===R.value[0])?.label??String(R.value[0]):R.value.length===2?R.value.map(t=>e.find(e=>e.value===t)?.label??String(t)).join(`, `):`${R.value.length} selected`:e.find(e=>e.value===R.value[0])?.label??String(R.value[0])});function V(e){return R.value.includes(e)}let H=(0,a.computed)(()=>{let e=[];return(w.options??[]).forEach((t,n)=>{let r=e[e.length-1];(!r||r.name!==t.group)&&e.push({key:`${e.length}:${t.group??``}`,name:t.group,labelId:`${L.value}-group-${e.length}`,entries:[]}),e[e.length-1].entries.push({option:t,index:n})}),e});function U(e,t){let n=w.options??[];for(let r=e+t;r>=0&&r<n.length;r+=t)if(!n[r].disabled)return r;return e}function W(e){if(e.disabled)return;let t;if(w.multiple){let n=[...R.value],r=n.indexOf(e.value);r>=0?n.splice(r,1):n.push(e.value),t=n}else t=e.value,q();T(`update:modelValue`,t),T(`change`,t)}function G(){if(!N.value)return;let e=N.value.getBoundingClientRect(),t=P.value?.offsetHeight??0,n=window.innerHeight-e.bottom,r=e.top;F.value={position:`fixed`,top:t>0&&n<t&&r>n?`${e.top-t}px`:`${e.bottom}px`,left:`${e.left}px`,width:`${e.width}px`,zIndex:`9999`}}function K(){if(w.disabled)return;k.value=!0,G();let e=w.options??[];j.value=R.value.length>0?Math.max(0,e.findIndex(e=>e.value===R.value[0])):-1,(0,a.nextTick)(()=>{G(),Z()})}function q(){k.value=!1,j.value=-1}function J(){k.value?q():K()}function Y(e){let t=e.target,n=M.value?.contains(t)??!1,r=P.value?.contains(t)??!1;!n&&!r&&q()}function X(){k.value&&G()}(0,a.watch)(k,e=>{e?(document.addEventListener(`mousedown`,Y),window.addEventListener(`scroll`,X,!0),window.addEventListener(`resize`,X)):(document.removeEventListener(`mousedown`,Y),window.removeEventListener(`scroll`,X,!0),window.removeEventListener(`resize`,X))}),(0,a.onBeforeUnmount)(()=>{document.removeEventListener(`mousedown`,Y),window.removeEventListener(`scroll`,X,!0),window.removeEventListener(`resize`,X)});function ae(e){let t=w.options??[];if(!k.value){(e.key===`Enter`||e.key===` `||e.key===`ArrowDown`)&&(e.preventDefault(),K());return}e.key===`Escape`?(q(),e.preventDefault()):e.key===`Tab`?q():e.key===`ArrowDown`?(e.preventDefault(),j.value=U(j.value,1),Z()):e.key===`ArrowUp`?(e.preventDefault(),j.value>0&&(j.value=U(j.value,-1)),Z()):(e.key===`Enter`||e.key===` `)&&j.value>=0&&(e.preventDefault(),W(t[j.value]))}function Z(){(0,a.nextTick)(()=>{!P.value||j.value<0||P.value.querySelectorAll(`.nb-select__option`)[j.value]?.scrollIntoView({block:`nearest`})})}let Q=(0,a.computed)(()=>w.clearable&&!w.disabled&&R.value.length>0);function $(){let e=w.multiple?[]:null;q(),T(`update:modelValue`,e),T(`change`,e),N.value?.focus()}let oe=(0,a.computed)(()=>[`nb-select`,`nb-select--${w.variant}`,`nb-select--${w.size}`,{"nb-select--open":k.value,"nb-select--focused":A.value&&!k.value,"nb-select--error":!!w.error,"nb-select--warning":!w.error&&!!w.warning,"nb-select--multiple":w.multiple}]);return C({open:K,close:q}),(i,C)=>((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,null,[(0,a.createElementVNode)(`div`,{ref_key:`rootRef`,ref:M,class:(0,a.normalizeClass)(oe.value),onKeydown:ae},[S.variant===`default`?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:0},[i.$slots.label?(0,a.renderSlot)(i.$slots,`label`,{key:0}):S.label?((0,a.openBlock)(),(0,a.createBlock)(t.t,{key:1,for:L.value,required:S.required,disabled:S.disabled},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(S.label),1)]),_:1},8,[`for`,`required`,`disabled`])):(0,a.createCommentVNode)(``,!0),(0,a.createVNode)(E,{wrap:S.clearable},{default:(0,a.withCtx)(()=>[(0,a.createElementVNode)(`button`,{id:L.value,ref_key:`triggerRef`,ref:N,type:`button`,class:`nb-select__trigger`,role:`combobox`,"aria-expanded":k.value,"aria-haspopup":`listbox`,"aria-disabled":S.disabled||void 0,"aria-required":S.required||void 0,disabled:S.disabled||void 0,onClick:J,onFocus:C[0]||=e=>A.value=!0,onBlur:C[1]||=e=>A.value=!1},[(0,a.createElementVNode)(`span`,{class:(0,a.normalizeClass)([`nb-select__value`,{"nb-select__value--placeholder":!B.value,"nb-select__value--with-icon":!!z.value}])},[z.value?((0,a.openBlock)(),(0,a.createBlock)(e.t,{key:0,class:`nb-select__value-icon`,name:z.value,size:16},null,8,[`name`])):(0,a.createCommentVNode)(``,!0),B.value?(0,a.renderSlot)(i.$slots,`value`,{key:1,values:R.value},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(B.value),1)]):((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:2},[(0,a.createTextVNode)((0,a.toDisplayString)(S.placeholder),1)],64))],2),S.error?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:0,variant:`error`,"icon-only":!0,class:`nb-select__status-icon`},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(S.error),1)]),_:1})):S.warning?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:1,variant:`warning`,"icon-only":!0,class:`nb-select__status-icon`},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(S.warning),1)]),_:1})):(0,a.createCommentVNode)(``,!0),Q.value?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,u)):(0,a.createCommentVNode)(``,!0),(0,a.createVNode)(r.t,{align:`center`,justify:`center`,class:`nb-select__caret`},{default:(0,a.withCtx)(()=>[(0,a.createVNode)(e.t,{name:k.value?(0,a.unref)(c.regular):(0,a.unref)(o.regular),size:16},null,8,[`name`])]),_:1})],40,l),Q.value?((0,a.openBlock)(),(0,a.createElementBlock)(`button`,{key:0,type:`button`,class:`nb-select__clear`,"aria-label":S.clearLabel,onClick:$,onKeydown:[C[2]||=(0,a.withKeys)((0,a.withModifiers)(()=>{},[`stop`]),[`enter`]),C[3]||=(0,a.withKeys)((0,a.withModifiers)(()=>{},[`stop`]),[`space`])]},[(0,a.createVNode)(e.t,{name:(0,a.unref)(s.regular),size:16},null,8,[`name`])],40,d)):(0,a.createCommentVNode)(``,!0)]),_:3},8,[`wrap`]),S.error?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:2,variant:`error`,class:`nb-select__message`},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(S.error),1)]),_:1})):S.warning?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:3,variant:`warning`,class:`nb-select__message`},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(S.warning),1)]),_:1})):S.helper?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:4,variant:`helper`,class:`nb-select__message`},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(S.helper),1)]),_:1})):(0,a.createCommentVNode)(``,!0)],64)):S.variant===`fluid`?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:1},[(0,a.createVNode)(E,{wrap:S.clearable},{default:(0,a.withCtx)(()=>[(0,a.createElementVNode)(`button`,{id:L.value,ref_key:`triggerRef`,ref:N,type:`button`,class:`nb-select__trigger`,role:`combobox`,"aria-expanded":k.value,"aria-haspopup":`listbox`,"aria-disabled":S.disabled||void 0,"aria-required":S.required||void 0,disabled:S.disabled||void 0,onClick:J,onFocus:C[4]||=e=>A.value=!0,onBlur:C[5]||=e=>A.value=!1},[S.label||i.$slots.label?((0,a.openBlock)(),(0,a.createBlock)(r.t,{key:0,dir:`row`,align:`center`,gap:`xs`,class:`nb-select__inner-header`},{default:(0,a.withCtx)(()=>[i.$slots.label?(0,a.renderSlot)(i.$slots,`label`,{key:0}):((0,a.openBlock)(),(0,a.createElementBlock)(`label`,p,[(0,a.createTextVNode)((0,a.toDisplayString)(S.label)+` `,1),S.required?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,m,`*`)):(0,a.createCommentVNode)(``,!0)])),S.helper&&!S.error&&!S.warning?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:2,variant:`helper`,"icon-only":!0,class:`nb-select__inner-message`},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(S.helper),1)]),_:1})):(0,a.createCommentVNode)(``,!0)]),_:3})):(0,a.createCommentVNode)(``,!0),(0,a.createVNode)(r.t,{dir:`row`,align:`end`,flex:``,class:`nb-select__value-row`},{default:(0,a.withCtx)(()=>[(0,a.createElementVNode)(`span`,{class:(0,a.normalizeClass)([`nb-select__value`,{"nb-select__value--placeholder":!B.value,"nb-select__value--with-icon":!!z.value}])},[z.value?((0,a.openBlock)(),(0,a.createBlock)(e.t,{key:0,class:`nb-select__value-icon`,name:z.value,size:16},null,8,[`name`])):(0,a.createCommentVNode)(``,!0),B.value?(0,a.renderSlot)(i.$slots,`value`,{key:1,values:R.value},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(B.value),1)]):((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:2},[(0,a.createTextVNode)((0,a.toDisplayString)(S.placeholder),1)],64))],2),Q.value?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,h)):(0,a.createCommentVNode)(``,!0),(0,a.createVNode)(r.t,{align:`center`,justify:`center`,class:`nb-select__caret`},{default:(0,a.withCtx)(()=>[(0,a.createVNode)(e.t,{name:k.value?(0,a.unref)(c.regular):(0,a.unref)(o.regular),size:16},null,8,[`name`])]),_:1})]),_:3})],40,f),Q.value?((0,a.openBlock)(),(0,a.createElementBlock)(`button`,{key:0,type:`button`,class:`nb-select__clear`,"aria-label":S.clearLabel,onClick:$,onKeydown:[C[6]||=(0,a.withKeys)((0,a.withModifiers)(()=>{},[`stop`]),[`enter`]),C[7]||=(0,a.withKeys)((0,a.withModifiers)(()=>{},[`stop`]),[`space`])]},[(0,a.createVNode)(e.t,{name:(0,a.unref)(s.regular),size:16},null,8,[`name`])],40,g)):(0,a.createCommentVNode)(``,!0)]),_:3},8,[`wrap`]),S.error?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:0,variant:`error`,class:`nb-select__fluid-message`},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(S.error),1)]),_:1})):S.warning?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:1,variant:`warning`,class:`nb-select__fluid-message`},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(S.warning),1)]),_:1})):(0,a.createCommentVNode)(``,!0)],64)):(0,a.createCommentVNode)(``,!0)],34),((0,a.openBlock)(),(0,a.createBlock)(a.Teleport,{to:`body`},[k.value?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:0,ref_key:`dropdownRef`,ref:P,class:`nb-select__dropdown`,style:(0,a.normalizeStyle)(F.value),role:`listbox`,"aria-multiselectable":S.multiple||void 0},[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(H.value,t=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:t.key,class:`nb-select__group`,role:`group`,"aria-labelledby":t.name?t.labelId:void 0},[t.name?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:0,id:t.labelId,class:`nb-select__group-label`},(0,a.toDisplayString)(t.name),9,y)):(0,a.createCommentVNode)(``,!0),((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(t.entries,t=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:t.option.value,class:(0,a.normalizeClass)([`nb-select__option`,{"nb-select__option--selected":V(t.option.value),"nb-select__option--highlighted":j.value===t.index,"nb-select__option--disabled":t.option.disabled}]),role:`option`,"aria-selected":V(t.option.value),"aria-disabled":t.option.disabled||void 0,onMouseenter:e=>j.value=t.index,onClick:e=>W(t.option)},[S.multiple?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,x,[V(t.option.value)?((0,a.openBlock)(),(0,a.createElementBlock)(`svg`,ee,[...C[11]||=[(0,a.createElementVNode)(`path`,{d:`M1 4l3 3 5-6`,stroke:`currentColor`,"stroke-width":`1.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])):(0,a.createCommentVNode)(``,!0)])):(0,a.createCommentVNode)(``,!0),t.option.icon?((0,a.openBlock)(),(0,a.createBlock)(e.t,{key:1,class:`nb-select__option-icon`,name:t.option.icon,size:16},null,8,[`name`])):(0,a.createCommentVNode)(``,!0),(0,a.createElementVNode)(`span`,te,[(0,a.renderSlot)(i.$slots,`option`,{option:t.option},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(t.option.label),1)])])],42,b))),128))],8,v))),128)),!S.options||S.options.length===0?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,ne,` No options `)):(0,a.createCommentVNode)(``,!0),S.creatable?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:1,class:`nb-select__create`,onMousedown:C[10]||=(0,a.withModifiers)(()=>{},[`prevent`])},[(0,a.withDirectives)((0,a.createElementVNode)(`input`,{"onUpdate:modelValue":C[8]||=e=>D.value=e,type:`text`,class:`nb-select__create-input`,placeholder:S.createPlaceholder||`Add new…`,onKeydown:[(0,a.withKeys)((0,a.withModifiers)(O,[`prevent`]),[`enter`]),C[9]||=(0,a.withModifiers)(()=>{},[`stop`])]},null,40,re),[[a.vModelText,D.value]])],32)):(0,a.createCommentVNode)(``,!0)],12,_)):(0,a.createCommentVNode)(``,!0)]))],64))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return S}});
@@ -1,5 +1,5 @@
1
- import { t as e } from "./vue-i18n-B2FDvjI1.js";
2
- import { t } from "./SidebarMenuItem-DwBLBW-N.js";
1
+ import { t as e } from "./vue-i18n-C_Yfj1G0.js";
2
+ import { t } from "./SidebarMenuItem-DfpEwFWz.js";
3
3
  import { computed as n, createBlock as r, defineComponent as i, inject as a, openBlock as o, ref as s } from "vue";
4
4
  import * as c from "@nubisco/ui/icons/caret-line-left";
5
5
  import * as l from "@nubisco/ui/icons/caret-line-right";
@@ -1 +1 @@
1
- const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./vue-i18n-D3Ga_miE.cjs`),n=require(`./SidebarMenuItem-CqDbzAAk.cjs`);let r=require(`vue`),i=require(`@nubisco/ui/icons/caret-line-left`);i=e.n(i);let a=require(`@nubisco/ui/icons/caret-line-right`);a=e.n(a);var o=(0,r.defineComponent)({__name:`SidebarCollapseToggle`,props:{collapseLabel:{default:void 0},expandLabel:{default:void 0}},emits:[`toggle`],setup(e,{emit:o}){let s=e,c=o,l=(0,r.inject)(`nb-shell-sidebar-variant`,(0,r.ref)(`verbose`)),u=(0,r.computed)(()=>l.value===`compact`),d={en:{COLLAPSE:`Collapse sidebar`,EXPAND:`Expand sidebar`},pt:{COLLAPSE:`Recolher barra lateral`,EXPAND:`Expandir barra lateral`}};function f(){try{return t.t({useScope:`global`})}catch{return null}}let p=f();function m(e){let t=`sidebarCollapseToggle.${e}`;return p?.te(t)?p.t(t):d[String(p?.locale.value??`en`).toLowerCase().split(`-`)[0]]?.[e]??d.en[e]}let h=(0,r.computed)(()=>u.value?s.expandLabel??m(`EXPAND`):s.collapseLabel??m(`COLLAPSE`));return(e,t)=>((0,r.openBlock)(),(0,r.createBlock)(n.t,{class:`nb-sidebar-collapse-toggle`,label:h.value,icon:u.value?a:i,onClick:t[0]||=e=>c(`toggle`)},null,8,[`label`,`icon`]))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
1
+ const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./vue-i18n-Cbsz5l3N.cjs`),n=require(`./SidebarMenuItem-BXO7-6mW.cjs`);let r=require(`vue`),i=require(`@nubisco/ui/icons/caret-line-left`);i=e.n(i);let a=require(`@nubisco/ui/icons/caret-line-right`);a=e.n(a);var o=(0,r.defineComponent)({__name:`SidebarCollapseToggle`,props:{collapseLabel:{default:void 0},expandLabel:{default:void 0}},emits:[`toggle`],setup(e,{emit:o}){let s=e,c=o,l=(0,r.inject)(`nb-shell-sidebar-variant`,(0,r.ref)(`verbose`)),u=(0,r.computed)(()=>l.value===`compact`),d={en:{COLLAPSE:`Collapse sidebar`,EXPAND:`Expand sidebar`},pt:{COLLAPSE:`Recolher barra lateral`,EXPAND:`Expandir barra lateral`}};function f(){try{return t.t({useScope:`global`})}catch{return null}}let p=f();function m(e){let t=`sidebarCollapseToggle.${e}`;return p?.te(t)?p.t(t):d[String(p?.locale.value??`en`).toLowerCase().split(`-`)[0]]?.[e]??d.en[e]}let h=(0,r.computed)(()=>u.value?s.expandLabel??m(`EXPAND`):s.collapseLabel??m(`COLLAPSE`));return(e,t)=>((0,r.openBlock)(),(0,r.createBlock)(n.t,{class:`nb-sidebar-collapse-toggle`,label:h.value,icon:u.value?a:i,onClick:t[0]||=e=>c(`toggle`)},null,8,[`label`,`icon`]))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
@@ -1,7 +1,7 @@
1
1
  import { useReducedMotion as e } from "./composables/useReducedMotion.composable.mjs";
2
2
  import { t } from "./_plugin-vue_export-helper-O4QQSku4.js";
3
3
  import { useStableId as n } from "./composables/useStableId.composable.mjs";
4
- import { t as r } from "./useLoadingAnnouncer.composable-C7FA-Ui1.js";
4
+ import { t as r } from "./useLoadingAnnouncer.composable-JILdPA0V.js";
5
5
  import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, defineComponent as l, normalizeClass as u, normalizeStyle as d, onBeforeUnmount as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, watch as v } from "vue";
6
6
  //#region src/components/Skeleton.d.ts
7
7
  var y = /* @__PURE__ */ function(e) {
@@ -1 +1 @@
1
- require(`./chunk-D-qHiVGv.cjs`);const e=require(`./composables/useReducedMotion.composable.cjs`),t=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),n=require(`./composables/useStableId.composable.cjs`),r=require(`./useLoadingAnnouncer.composable-DMycMLn-.cjs`);let i=require(`vue`);var a=function(e){return e.Text=`text`,e.Heading=`heading`,e.Block=`block`,e.Circle=`circle`,e}(a||{}),o=[`id`,`role`,`aria-live`,`aria-hidden`],s={key:0,class:`nb-skeleton__label`},c={class:`nb-skeleton__lines`,"aria-busy":`true`},l=(0,i.defineComponent)({__name:`Skeleton`,props:{variant:{default:a.Text},type:{default:void 0},lines:{default:1},lastLineWidth:{default:`60%`},width:{default:void 0},height:{default:void 0},radius:{default:`sm`},animated:{type:Boolean,default:!0},label:{default:void 0},completeLabel:{default:void 0},id:{default:void 0}},setup(t){let l=t,u=n.useStableId(l),d=e.useReducedMotion(),f=(0,i.ref)(``),p;(0,i.watch)(()=>l.label,e=>{if(p&&=(clearTimeout(p),void 0),!e){f.value=``;return}if(f.value!==``){f.value=e;return}p=setTimeout(()=>{p=void 0,f.value=e},0)},{immediate:!0}),(0,i.onBeforeUnmount)(()=>{p&&clearTimeout(p),r.t(l.completeLabel)});let m=[`label-sm`,`label-md`,`label-lg`,`body-sm`,`body-md`,`body-lg`,`code-sm`,`code-md`,`code-lg`,`heading-01`,`heading-02`,`heading-03`,`heading-04`,`heading-05`,`heading-06`],h=(0,i.computed)(()=>l.type&&m.includes(l.type)?l.type:l.variant===a.Heading?`heading-02`:`body-md`),g=(0,i.computed)(()=>l.variant===a.Text||l.variant===a.Heading),_=(0,i.computed)(()=>l.variant===a.Text?Math.max(1,Math.floor(l.lines)):1);function v(e){if(e!=null)return typeof e==`number`?`${e}px`:e}let y=(0,i.computed)(()=>Array.from({length:_.value},(e,t)=>{let n=t===_.value-1;if(l.variant===a.Text&&_.value>1&&n)return{width:l.lastLineWidth}})),b=(0,i.computed)(()=>[`nb-skeleton`,`nb-skeleton--${l.variant}`,`nb-skeleton--radius-${l.radius}`,{"nb-skeleton--static":!l.animated,"nb-skeleton--reduced-motion":d.value}]),x=(0,i.computed)(()=>{let e={};if(g.value&&(e[`--nb-skeleton-font-size`]=`var(--nb-type-${h.value}-size)`,e[`--nb-skeleton-line-height`]=`var(--nb-type-${h.value}-line-height)`),l.variant===a.Circle){let t=v(l.height??l.width);return t&&(e.width=t,e[`--nb-skeleton-height`]=t),e}let t=v(l.width);t&&(e.width=t);let n=v(l.height);return n&&!g.value&&(e[`--nb-skeleton-height`]=n),e});return(e,n)=>((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{id:(0,i.unref)(u),class:(0,i.normalizeClass)(b.value),style:(0,i.normalizeStyle)(x.value),role:t.label?`status`:void 0,"aria-live":t.label?`polite`:void 0,"aria-hidden":t.label?void 0:`true`},[t.label?((0,i.openBlock)(),(0,i.createElementBlock)(`span`,s,(0,i.toDisplayString)(f.value),1)):(0,i.createCommentVNode)(``,!0),(0,i.createElementVNode)(`div`,c,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(y.value,(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(`span`,{key:t,class:`nb-skeleton__line`},[(0,i.createElementVNode)(`span`,{class:`nb-skeleton__fill`,style:(0,i.normalizeStyle)(e)},null,4)]))),128))])],14,o))}}),u=t.t(l,[[`__scopeId`,`data-v-a57a3982`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
1
+ require(`./chunk-D-qHiVGv.cjs`);const e=require(`./composables/useReducedMotion.composable.cjs`),t=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),n=require(`./composables/useStableId.composable.cjs`),r=require(`./useLoadingAnnouncer.composable-BfB0FyHh.cjs`);let i=require(`vue`);var a=function(e){return e.Text=`text`,e.Heading=`heading`,e.Block=`block`,e.Circle=`circle`,e}(a||{}),o=[`id`,`role`,`aria-live`,`aria-hidden`],s={key:0,class:`nb-skeleton__label`},c={class:`nb-skeleton__lines`,"aria-busy":`true`},l=(0,i.defineComponent)({__name:`Skeleton`,props:{variant:{default:a.Text},type:{default:void 0},lines:{default:1},lastLineWidth:{default:`60%`},width:{default:void 0},height:{default:void 0},radius:{default:`sm`},animated:{type:Boolean,default:!0},label:{default:void 0},completeLabel:{default:void 0},id:{default:void 0}},setup(t){let l=t,u=n.useStableId(l),d=e.useReducedMotion(),f=(0,i.ref)(``),p;(0,i.watch)(()=>l.label,e=>{if(p&&=(clearTimeout(p),void 0),!e){f.value=``;return}if(f.value!==``){f.value=e;return}p=setTimeout(()=>{p=void 0,f.value=e},0)},{immediate:!0}),(0,i.onBeforeUnmount)(()=>{p&&clearTimeout(p),r.t(l.completeLabel)});let m=[`label-sm`,`label-md`,`label-lg`,`body-sm`,`body-md`,`body-lg`,`code-sm`,`code-md`,`code-lg`,`heading-01`,`heading-02`,`heading-03`,`heading-04`,`heading-05`,`heading-06`],h=(0,i.computed)(()=>l.type&&m.includes(l.type)?l.type:l.variant===a.Heading?`heading-02`:`body-md`),g=(0,i.computed)(()=>l.variant===a.Text||l.variant===a.Heading),_=(0,i.computed)(()=>l.variant===a.Text?Math.max(1,Math.floor(l.lines)):1);function v(e){if(e!=null)return typeof e==`number`?`${e}px`:e}let y=(0,i.computed)(()=>Array.from({length:_.value},(e,t)=>{let n=t===_.value-1;if(l.variant===a.Text&&_.value>1&&n)return{width:l.lastLineWidth}})),b=(0,i.computed)(()=>[`nb-skeleton`,`nb-skeleton--${l.variant}`,`nb-skeleton--radius-${l.radius}`,{"nb-skeleton--static":!l.animated,"nb-skeleton--reduced-motion":d.value}]),x=(0,i.computed)(()=>{let e={};if(g.value&&(e[`--nb-skeleton-font-size`]=`var(--nb-type-${h.value}-size)`,e[`--nb-skeleton-line-height`]=`var(--nb-type-${h.value}-line-height)`),l.variant===a.Circle){let t=v(l.height??l.width);return t&&(e.width=t,e[`--nb-skeleton-height`]=t),e}let t=v(l.width);t&&(e.width=t);let n=v(l.height);return n&&!g.value&&(e[`--nb-skeleton-height`]=n),e});return(e,n)=>((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{id:(0,i.unref)(u),class:(0,i.normalizeClass)(b.value),style:(0,i.normalizeStyle)(x.value),role:t.label?`status`:void 0,"aria-live":t.label?`polite`:void 0,"aria-hidden":t.label?void 0:`true`},[t.label?((0,i.openBlock)(),(0,i.createElementBlock)(`span`,s,(0,i.toDisplayString)(f.value),1)):(0,i.createCommentVNode)(``,!0),(0,i.createElementVNode)(`div`,c,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(y.value,(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(`span`,{key:t,class:`nb-skeleton__line`},[(0,i.createElementVNode)(`span`,{class:`nb-skeleton__fill`,style:(0,i.normalizeStyle)(e)},null,4)]))),128))])],14,o))}}),u=t.t(l,[[`__scopeId`,`data-v-a57a3982`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});