@nubisco/ui 5.48.0 → 5.49.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 (755) hide show
  1. package/dist/AccordionItem--XeLRz2P.js +119 -0
  2. package/dist/AccordionItem-BYSH6dZK.cjs +1 -0
  3. package/dist/ActionGroup-48ZXZCsn.cjs +1 -0
  4. package/dist/ActionGroup-DzQjn3ir.js +137 -0
  5. package/dist/{AiLabel-DywBjSzr.js → AiLabel-CSSIkvKP.js} +20 -20
  6. package/dist/{AiLabel-pRN10dQV.cjs → AiLabel-DSKUOcZs.cjs} +1 -1
  7. package/dist/{AiProvider-DY1xxZff.cjs → AiProvider-BrjUMTRk.cjs} +1 -1
  8. package/dist/{AiProvider-D8O_YaaP.js → AiProvider-Db47uagx.js} +6 -6
  9. package/dist/{AiUsage-HcYF6RQ2.js → AiUsage-BOrAXk2-.js} +2 -2
  10. package/dist/{AiUsage-DRj51zK5.cjs → AiUsage-fQqE0B6N.cjs} +1 -1
  11. package/dist/BackToTop-DgFlV4p4.cjs +1 -0
  12. package/dist/BackToTop-DrgXqZgF.js +51 -0
  13. package/dist/Banner-CazPCK0F.js +89 -0
  14. package/dist/Banner-CyU3PPnt.cjs +1 -0
  15. package/dist/{BarChart-IX4imFVT.cjs → BarChart-3YO4YfUt.cjs} +1 -1
  16. package/dist/{BarChart-tB6MOMoR.js → BarChart-CDvhhPk0.js} +4 -4
  17. package/dist/BatchActions-0P-b3qLI.js +84 -0
  18. package/dist/BatchActions-FDPiGUNh.cjs +1 -0
  19. package/dist/{Blueprint-46DWDZmu.js → Blueprint-CGGNppmS.js} +2 -2
  20. package/dist/{Blueprint-NyUNNf-G.cjs → Blueprint-DBIXzLYg.cjs} +1 -1
  21. package/dist/{BlueprintCard-Cda5rPZu.cjs → BlueprintCard-D3h_rGhj.cjs} +1 -1
  22. package/dist/{BlueprintCard-DDNP1vkk.js → BlueprintCard-_FItugFc.js} +107 -107
  23. package/dist/{BlueprintControls-D0MdXrVv.js → BlueprintControls-1l0QVtB7.js} +49 -75
  24. package/dist/BlueprintControls-C3ffD6W8.cjs +1 -0
  25. package/dist/{Board-CaFH4-Qw.js → Board-CSVCzJ1s.js} +178 -190
  26. package/dist/Board-gUICo94e.cjs +1 -0
  27. package/dist/BottomPanel-1EkHEQ_H.js +81 -0
  28. package/dist/BottomPanel-n2jWpFH7.cjs +1 -0
  29. package/dist/Breadcrumbs-BgMh5bfe.js +185 -0
  30. package/dist/Breadcrumbs-DN_2wxQS.cjs +1 -0
  31. package/dist/{Briefing-CoDyU3k4.js → Briefing-0A1frO4v.js} +3 -3
  32. package/dist/{Briefing-B_ofl8Rt.cjs → Briefing-AqSz-ZdZ.cjs} +1 -1
  33. package/dist/{BriefingDestination-DAu5S2HI.cjs → BriefingDestination-CqyKzyXx.cjs} +1 -1
  34. package/dist/{BriefingDestination-CK4XdAOo.js → BriefingDestination-v3kNa6o_.js} +4 -4
  35. package/dist/Button-BHFtgOXA.cjs +1 -0
  36. package/dist/Button-tpOmP8iV.js +699 -0
  37. package/dist/ButtonSet-BV76HHgD.js +67 -0
  38. package/dist/ButtonSet-Bj9mIOW2.cjs +1 -0
  39. package/dist/Calendar-Bf0Nk0rA.js +153 -0
  40. package/dist/Calendar-D9J17bTp.cjs +1 -0
  41. package/dist/Card-C6KAn4tN.cjs +1 -0
  42. package/dist/Card-qNem4s60.js +162 -0
  43. package/dist/{Checkbox-DXQpih7I.js → Checkbox-BgXXVsCC.js} +1 -1
  44. package/dist/{Checkbox-7JJdh4sN.cjs → Checkbox-DPPln6oG.cjs} +1 -1
  45. package/dist/{CheckboxGroup-B8T3zLQC.cjs → CheckboxGroup-B2a3ezEK.cjs} +1 -1
  46. package/dist/{CheckboxGroup-BHn1hpzh.js → CheckboxGroup-Ck1ylAX9.js} +3 -3
  47. package/dist/ChipGroup-CVDk4ElV.js +74 -0
  48. package/dist/ChipGroup-DojKPHhq.cjs +1 -0
  49. package/dist/CloseButton-9TTFHFmx.cjs +1 -0
  50. package/dist/CloseButton-CdH12Hdn.js +48 -0
  51. package/dist/{ColorStrip-BW1nFTja.js → ColorStrip-CuF9ZGoO.js} +2 -2
  52. package/dist/{ColorStrip-AEg8dQbl.cjs → ColorStrip-bpguV5b2.cjs} +1 -1
  53. package/dist/CommandPalette-CCEzVWfb.cjs +1 -0
  54. package/dist/{CommandPalette-CD75Qytr.js → CommandPalette-D1DuzaA1.js} +100 -85
  55. package/dist/Confirm-BQxQlmjs.cjs +1 -0
  56. package/dist/Confirm-DLhI3VVh.js +331 -0
  57. package/dist/{ContainedListItem-Dj7TcGpO.cjs → ContainedListItem-DjHEyhf8.cjs} +1 -1
  58. package/dist/{ContainedListItem-CSE8d5M6.js → ContainedListItem-DtTZOm-_.js} +1 -1
  59. package/dist/ContentSwitcher-B-PUG0FE.js +99 -0
  60. package/dist/ContentSwitcher-CYSF2B-a.cjs +1 -0
  61. package/dist/CopyButton-CQ9tcyfs.js +60 -0
  62. package/dist/CopyButton-DRvJ4rf5.cjs +1 -0
  63. package/dist/DataTable-CHztTxz1.cjs +1 -0
  64. package/dist/DataTable-Dp3WZihu.js +545 -0
  65. package/dist/DatePicker-BLRQEI-6.js +755 -0
  66. package/dist/DatePicker-CJlffHeM.cjs +1 -0
  67. package/dist/FileUploader-UzgK5RKz.cjs +1 -0
  68. package/dist/FileUploader-dzVu4iSo.js +195 -0
  69. package/dist/FloatingToolbar-BTmWtGU7.js +116 -0
  70. package/dist/FloatingToolbar-DDCJuaq0.cjs +1 -0
  71. package/dist/{Form-D6rgkJ_Y.cjs → Form-D2KHlP7N.cjs} +1 -1
  72. package/dist/{Form-1UVOFWaf.js → Form-igwYeEVI.js} +1 -1
  73. package/dist/{GanttChart-B_LqsmcR.cjs → GanttChart-ClFarMf-.cjs} +1 -1
  74. package/dist/{GanttChart-cZguVXW8.js → GanttChart-N05mLdsn.js} +3 -3
  75. package/dist/{ImageCropper-CJ2mCj9z.cjs → ImageCropper-CoYR_Hhy.cjs} +1 -1
  76. package/dist/{ImageCropper-BFKMYthJ.js → ImageCropper-wQknqxNK.js} +2 -2
  77. package/dist/ImagePicker-Dhj01jq7.cjs +1 -0
  78. package/dist/ImagePicker-zkoay3zZ.js +171 -0
  79. package/dist/InfoHint-BEzkNQTM.cjs +1 -0
  80. package/dist/InfoHint-BlHxrTw6.js +178 -0
  81. package/dist/InlineEdit-DBMKJ3xP.cjs +1 -0
  82. package/dist/InlineEdit-Y8i0ibjH.js +117 -0
  83. package/dist/{InlineLoading-D8T0WO05.js → InlineLoading-CDJ_ZJ6v.js} +1 -1
  84. package/dist/{InlineLoading-CB_1PwMx.cjs → InlineLoading-DKCzcjZJ.cjs} +1 -1
  85. package/dist/InputGroup-DIAJy1Sv.cjs +1 -0
  86. package/dist/InputGroup-DQxpFFlP.js +86 -0
  87. package/dist/InputGroup.context-BTt6zUkj.cjs +1 -0
  88. package/dist/InputGroup.context-CJAWx5GI.js +16 -0
  89. package/dist/{InterpolationChart-CttBiNWU.js → InterpolationChart-BX8-UOeZ.js} +3 -3
  90. package/dist/{InterpolationChart-CYWJFUcs.cjs → InterpolationChart-DaqKUIWi.cjs} +1 -1
  91. package/dist/{LineChart-DNDSJQrB.cjs → LineChart-CGXpi9l8.cjs} +1 -1
  92. package/dist/{LineChart-J8gCM2Ba.js → LineChart-CplGrv8-.js} +4 -4
  93. package/dist/Menu-CcQpTOd3.js +189 -0
  94. package/dist/Menu-SlBztEy3.cjs +1 -0
  95. package/dist/{MenuBarItem-B8H9KfFo.cjs → MenuBarItem-BIDXX-uX.cjs} +1 -1
  96. package/dist/{MenuBarItem-BLdVIz0j.js → MenuBarItem-BlT1hN-b.js} +1 -1
  97. package/dist/Modal-BSGKOUi_.js +223 -0
  98. package/dist/Modal-D0hGHXic.cjs +1 -0
  99. package/dist/NotificationCenter-_CK8Eejg.js +587 -0
  100. package/dist/NotificationCenter-xg0ZCegj.cjs +1 -0
  101. package/dist/NumberInput-CcXqTINb.cjs +1 -0
  102. package/dist/NumberInput-DfrhQayO.js +383 -0
  103. package/dist/OverflowMenu-BlZ_wEja.js +124 -0
  104. package/dist/OverflowMenu-CaC5E0Oy.cjs +1 -0
  105. package/dist/{PageHeader-BVcTzPcW.cjs → PageHeader-2jBgITYE.cjs} +1 -1
  106. package/dist/{PageHeader-CFMhwRcw.js → PageHeader-DgjItuag.js} +2 -2
  107. package/dist/{Pagination-VmE04nzc.cjs → Pagination-B1km1o28.cjs} +1 -1
  108. package/dist/{Pagination-zTp1lrSP.js → Pagination-DA1Nglqx.js} +26 -26
  109. package/dist/{Panel-7qPoq2lb.cjs → Panel-NC6_ZogV.cjs} +1 -1
  110. package/dist/{Panel-D5OHjaTP.js → Panel-zyzu638n.js} +1 -1
  111. package/dist/{PieChart-Ct8oicOS.cjs → PieChart-DQhs44eH.cjs} +1 -1
  112. package/dist/{PieChart-CAB3b8LE.js → PieChart-D_02nX0-.js} +3 -3
  113. package/dist/{PrimaryActionScope-B7VLsHzT.cjs → PrimaryActionScope-Dp2gvqwk.cjs} +1 -1
  114. package/dist/{PrimaryActionScope-CRdjZE0V.js → PrimaryActionScope-sogYOZXZ.js} +1 -1
  115. package/dist/{ProgressBar-DK-j6Bzv.js → ProgressBar-Bp-pe6sU.js} +2 -2
  116. package/dist/{ProgressBar-CfJJf7Sc.cjs → ProgressBar-z912Ppfm.cjs} +1 -1
  117. package/dist/{Radio-CWWt_o_F.js → Radio-DcMkavI8.js} +2 -2
  118. package/dist/{Radio-D0YjKuB2.cjs → Radio-DuvSK9tl.cjs} +1 -1
  119. package/dist/Search-BUgIh9TX.js +130 -0
  120. package/dist/Search-D4SG2q3c.cjs +1 -0
  121. package/dist/Select-Cf0T4gIu.js +604 -0
  122. package/dist/Select-DhwcDMnf.cjs +1 -0
  123. package/dist/Shell-B2y5hn9K.cjs +1 -0
  124. package/dist/Shell-Bh6s0T89.js +536 -0
  125. package/dist/ShellPanel-BDE6Y773.cjs +1 -0
  126. package/dist/ShellPanel-CB71IKMY.js +89 -0
  127. package/dist/{SidebarCollapseToggle-DM-4DAEu.cjs → SidebarCollapseToggle-CqVURaqs.cjs} +1 -1
  128. package/dist/{SidebarCollapseToggle-W1Z_MUIC.js → SidebarCollapseToggle-Dm4QMGpc.js} +2 -2
  129. package/dist/{SidebarHeaderToggle-Bdh1Z9aF.cjs → SidebarHeaderToggle-KW1yBlpF.cjs} +1 -1
  130. package/dist/{SidebarHeaderToggle-C-QIOLnU.js → SidebarHeaderToggle-daU1HfJH.js} +3 -3
  131. package/dist/{SidebarMenuItem-CNunAuyB.js → SidebarMenuItem-BvvoDIjK.js} +1 -1
  132. package/dist/{SidebarMenuItem-DCR-nXAK.cjs → SidebarMenuItem-eFnj5QoE.cjs} +1 -1
  133. package/dist/Skeleton-CMuZJ1dR.cjs +1 -0
  134. package/dist/{Skeleton-C1e02dcW.js → Skeleton-Hmb5a2G_.js} +48 -31
  135. package/dist/{Slider-BaM5cclm.cjs → Slider-D9glvyrU.cjs} +1 -1
  136. package/dist/{Slider-BAXKJCNG.js → Slider-D9hgB8GJ.js} +4 -4
  137. package/dist/{Spinner-PT95bjWq.cjs → Spinner-BTN06wsE.cjs} +1 -1
  138. package/dist/{Spinner-CbBPddUx.js → Spinner-C3MeCm2k.js} +1 -1
  139. package/dist/{Stat-C9XaqyaG.cjs → Stat-BoQUn69z.cjs} +1 -1
  140. package/dist/{Stat-DJJln4rH.js → Stat-Bz0NCLTm.js} +2 -2
  141. package/dist/{Stepper-DV0q0Dfv.cjs → Stepper-BLyPFPge.cjs} +1 -1
  142. package/dist/{Stepper-B4xqkWXg.js → Stepper-BXPgrQE8.js} +1 -1
  143. package/dist/{StepperStep-iGyGKnQL.cjs → StepperStep-DGeyZQXY.cjs} +1 -1
  144. package/dist/{StepperStep-BYhlgeb1.js → StepperStep-DLr_ctr4.js} +1 -1
  145. package/dist/SuggestionList-DjtF5POh.cjs +1 -0
  146. package/dist/SuggestionList-SYGj7Sjv.js +225 -0
  147. package/dist/{Switch-D3j7PPhY.cjs → Switch-CQj6AsQh.cjs} +1 -1
  148. package/dist/{Switch-CbYMiEbQ.js → Switch-CqLfdT_m.js} +2 -2
  149. package/dist/{TableOfContents-CM0HKSde.js → TableOfContents-BIzH0Twf.js} +24 -34
  150. package/dist/{TableOfContents-By2Non4K.cjs → TableOfContents-Ct-Kwm8X.cjs} +1 -1
  151. package/dist/{Tabs--lz44FBk.js → Tabs-B_bsdxWy.js} +1 -1
  152. package/dist/{Tabs-DKikiz0_.cjs → Tabs-CTMUPND5.cjs} +1 -1
  153. package/dist/TextInput-BM2Zc2_R.cjs +2 -0
  154. package/dist/TextInput-DVpNJNwY.js +406 -0
  155. package/dist/Toast-BaMGYx8-.js +118 -0
  156. package/dist/Toast-BvZywdtO.cjs +1 -0
  157. package/dist/{Toaster-CJMQM8JU.cjs → Toaster-CYSWYmUm.cjs} +1 -1
  158. package/dist/{Toaster-DxBW9XQ0.js → Toaster-DtUkjQM_.js} +1 -1
  159. package/dist/Toolbar-BmJeXz4C.cjs +1 -0
  160. package/dist/Toolbar-tOeTdj8a.js +48 -0
  161. package/dist/Toolbar.context-Bli1SqM3.js +4 -0
  162. package/dist/Toolbar.context-D3Uj5o0_.cjs +1 -0
  163. package/dist/{Tree-DP2NPXOL.cjs → Tree-CeXSIcpy.cjs} +1 -1
  164. package/dist/{Tree-CkcFwDr7.js → Tree-RRVk_0QJ.js} +1 -1
  165. package/dist/{TreeNode-DCnlEEpj.js → TreeNode-D9fc2RE_.js} +1 -1
  166. package/dist/{TreeNode-CtklZefA.cjs → TreeNode-z6APXuvr.cjs} +1 -1
  167. package/dist/UserMenu-BGIIKwi6.cjs +1 -0
  168. package/dist/{UserMenu-CWRMaPGO.js → UserMenu-GGR8K7gP.js} +109 -102
  169. package/dist/Video-BxNkDWqi.cjs +1 -0
  170. package/dist/Video-DD01piHm.js +106 -0
  171. package/dist/Walkthrough-C_5h67cq.cjs +1 -0
  172. package/dist/Walkthrough-DpxYuLMU.js +333 -0
  173. package/dist/all.cjs +1 -1
  174. package/dist/all.mjs +271 -253
  175. package/dist/component-styles.json +88 -2
  176. package/dist/components/AccordionItem.cjs +1 -1
  177. package/dist/components/AccordionItem.mjs +1 -1
  178. package/dist/components/AccordionItem.vue.d.ts.map +1 -1
  179. package/dist/components/ActionGroup.cjs +1 -1
  180. package/dist/components/ActionGroup.d.ts +41 -9
  181. package/dist/components/ActionGroup.mjs +1 -1
  182. package/dist/components/ActionGroup.vue.d.ts +2 -2
  183. package/dist/components/ActionGroup.vue.d.ts.map +1 -1
  184. package/dist/components/AiLabel.cjs +1 -1
  185. package/dist/components/AiLabel.mjs +1 -1
  186. package/dist/components/AiProvider.cjs +1 -1
  187. package/dist/components/AiProvider.mjs +1 -1
  188. package/dist/components/AiUsage.cjs +1 -1
  189. package/dist/components/AiUsage.mjs +1 -1
  190. package/dist/components/BackToTop.cjs +1 -1
  191. package/dist/components/BackToTop.mjs +1 -1
  192. package/dist/components/BackToTop.vue.d.ts.map +1 -1
  193. package/dist/components/Badge.cjs +1 -1
  194. package/dist/components/Badge.mjs +1 -1
  195. package/dist/components/Banner.cjs +1 -1
  196. package/dist/components/Banner.mjs +1 -1
  197. package/dist/components/Banner.vue.d.ts.map +1 -1
  198. package/dist/components/BatchActions.cjs +1 -0
  199. package/dist/components/BatchActions.d.ts +43 -0
  200. package/dist/components/BatchActions.mjs +2 -0
  201. package/dist/components/BatchActions.vue.d.ts +30 -0
  202. package/dist/components/BatchActions.vue.d.ts.map +1 -0
  203. package/dist/components/Blueprint.cjs +1 -1
  204. package/dist/components/Blueprint.mjs +1 -1
  205. package/dist/components/Blueprint.vue.d.ts +2 -2
  206. package/dist/components/BlueprintBackground.cjs +1 -1
  207. package/dist/components/BlueprintBackground.mjs +1 -1
  208. package/dist/components/BlueprintCard.cjs +1 -1
  209. package/dist/components/BlueprintCard.mjs +1 -1
  210. package/dist/components/BlueprintCard.vue.d.ts.map +1 -1
  211. package/dist/components/BlueprintControls.cjs +1 -1
  212. package/dist/components/BlueprintControls.mjs +1 -1
  213. package/dist/components/BlueprintControls.vue.d.ts.map +1 -1
  214. package/dist/components/BlueprintMinimap.cjs +1 -1
  215. package/dist/components/BlueprintMinimap.mjs +1 -1
  216. package/dist/components/Board.cjs +1 -1
  217. package/dist/components/Board.mjs +1 -1
  218. package/dist/components/Board.vue.d.ts +2 -2
  219. package/dist/components/Board.vue.d.ts.map +1 -1
  220. package/dist/components/BottomPanel.cjs +1 -1
  221. package/dist/components/BottomPanel.mjs +1 -1
  222. package/dist/components/BottomPanel.vue.d.ts +2 -2
  223. package/dist/components/BottomPanel.vue.d.ts.map +1 -1
  224. package/dist/components/Breadcrumbs.cjs +1 -1
  225. package/dist/components/Breadcrumbs.mjs +1 -1
  226. package/dist/components/Breadcrumbs.vue.d.ts.map +1 -1
  227. package/dist/components/Briefing.cjs +1 -1
  228. package/dist/components/Briefing.mjs +1 -1
  229. package/dist/components/BriefingDestination.cjs +1 -1
  230. package/dist/components/BriefingDestination.mjs +1 -1
  231. package/dist/components/Button.cjs +1 -1
  232. package/dist/components/Button.d.ts +38 -1
  233. package/dist/components/Button.mjs +1 -1
  234. package/dist/components/Button.vue.d.ts +4 -0
  235. package/dist/components/Button.vue.d.ts.map +1 -1
  236. package/dist/components/ButtonSet.cjs +1 -0
  237. package/dist/components/ButtonSet.d.ts +43 -0
  238. package/dist/components/ButtonSet.mjs +2 -0
  239. package/dist/components/ButtonSet.vue.d.ts +11 -0
  240. package/dist/components/ButtonSet.vue.d.ts.map +1 -0
  241. package/dist/components/Calendar.cjs +1 -1
  242. package/dist/components/Calendar.mjs +1 -1
  243. package/dist/components/Calendar.vue.d.ts +2 -2
  244. package/dist/components/Calendar.vue.d.ts.map +1 -1
  245. package/dist/components/Card.cjs +1 -1
  246. package/dist/components/Card.mjs +1 -1
  247. package/dist/components/Card.vue.d.ts +11 -10
  248. package/dist/components/Card.vue.d.ts.map +1 -1
  249. package/dist/components/CardGrid.cjs +1 -1
  250. package/dist/components/CardGrid.d.ts +15 -0
  251. package/dist/components/CardGrid.mjs +1 -1
  252. package/dist/components/Charts/BarChart.cjs +1 -1
  253. package/dist/components/Charts/BarChart.mjs +1 -1
  254. package/dist/components/Charts/GanttChart.cjs +1 -1
  255. package/dist/components/Charts/GanttChart.mjs +1 -1
  256. package/dist/components/Charts/InterpolationChart.cjs +1 -1
  257. package/dist/components/Charts/InterpolationChart.mjs +1 -1
  258. package/dist/components/Charts/LineChart.cjs +1 -1
  259. package/dist/components/Charts/LineChart.mjs +1 -1
  260. package/dist/components/Charts/PieChart.cjs +1 -1
  261. package/dist/components/Charts/PieChart.mjs +1 -1
  262. package/dist/components/Charts/Sparkline.cjs +1 -1
  263. package/dist/components/Charts/Sparkline.mjs +1 -1
  264. package/dist/components/Checkbox.cjs +1 -1
  265. package/dist/components/Checkbox.mjs +1 -1
  266. package/dist/components/CheckboxGroup.cjs +1 -1
  267. package/dist/components/CheckboxGroup.mjs +1 -1
  268. package/dist/components/ChipGroup.cjs +1 -0
  269. package/dist/components/ChipGroup.d.ts +29 -0
  270. package/dist/components/ChipGroup.mjs +2 -0
  271. package/dist/components/ChipGroup.vue.d.ts +14 -0
  272. package/dist/components/ChipGroup.vue.d.ts.map +1 -0
  273. package/dist/components/CloseButton.cjs +1 -0
  274. package/dist/components/CloseButton.d.ts +26 -0
  275. package/dist/components/CloseButton.mjs +2 -0
  276. package/dist/components/CloseButton.vue.d.ts +19 -0
  277. package/dist/components/CloseButton.vue.d.ts.map +1 -0
  278. package/dist/components/ColorStrip.cjs +1 -1
  279. package/dist/components/ColorStrip.mjs +1 -1
  280. package/dist/components/CommandPalette.cjs +1 -1
  281. package/dist/components/CommandPalette.mjs +1 -1
  282. package/dist/components/CommandPalette.vue.d.ts.map +1 -1
  283. package/dist/components/Confirm.cjs +1 -1
  284. package/dist/components/Confirm.d.ts +7 -5
  285. package/dist/components/Confirm.mjs +1 -1
  286. package/dist/components/Confirm.vue.d.ts +1 -1
  287. package/dist/components/Confirm.vue.d.ts.map +1 -1
  288. package/dist/components/ContainedList.cjs +1 -1
  289. package/dist/components/ContainedList.mjs +1 -1
  290. package/dist/components/ContainedListItem.cjs +1 -1
  291. package/dist/components/ContainedListItem.mjs +1 -1
  292. package/dist/components/ContentSwitcher.cjs +1 -0
  293. package/dist/components/ContentSwitcher.d.ts +36 -0
  294. package/dist/components/ContentSwitcher.mjs +2 -0
  295. package/dist/components/ContentSwitcher.vue.d.ts +13 -0
  296. package/dist/components/ContentSwitcher.vue.d.ts.map +1 -0
  297. package/dist/components/CopyButton.cjs +1 -1
  298. package/dist/components/CopyButton.mjs +1 -1
  299. package/dist/components/CopyButton.vue.d.ts.map +1 -1
  300. package/dist/components/DataTable.cjs +1 -1
  301. package/dist/components/DataTable.d.ts +12 -1
  302. package/dist/components/DataTable.mjs +1 -1
  303. package/dist/components/DataTable.vue.d.ts +1 -0
  304. package/dist/components/DataTable.vue.d.ts.map +1 -1
  305. package/dist/components/DatePicker.cjs +1 -1
  306. package/dist/components/DatePicker.mjs +1 -1
  307. package/dist/components/DatePicker.vue.d.ts +2 -2
  308. package/dist/components/DatePicker.vue.d.ts.map +1 -1
  309. package/dist/components/DefinitionList.cjs +1 -1
  310. package/dist/components/DefinitionList.mjs +1 -1
  311. package/dist/components/DefinitionListItem.cjs +1 -1
  312. package/dist/components/DefinitionListItem.mjs +1 -1
  313. package/dist/components/DragHandle.cjs +1 -1
  314. package/dist/components/DragHandle.mjs +1 -1
  315. package/dist/components/EmptyState.cjs +1 -1
  316. package/dist/components/EmptyState.mjs +1 -1
  317. package/dist/components/Field.cjs +1 -1
  318. package/dist/components/Field.mjs +1 -1
  319. package/dist/components/FileUploader.cjs +1 -1
  320. package/dist/components/FileUploader.mjs +1 -1
  321. package/dist/components/FileUploader.vue.d.ts.map +1 -1
  322. package/dist/components/Flag.cjs +1 -1
  323. package/dist/components/Flag.mjs +1 -1
  324. package/dist/components/FloatingToolbar.cjs +1 -1
  325. package/dist/components/FloatingToolbar.mjs +1 -1
  326. package/dist/components/FloatingToolbar.vue.d.ts +1 -3
  327. package/dist/components/FloatingToolbar.vue.d.ts.map +1 -1
  328. package/dist/components/Form.cjs +1 -1
  329. package/dist/components/Form.mjs +1 -1
  330. package/dist/components/Grid.cjs +1 -1
  331. package/dist/components/Grid.mjs +1 -1
  332. package/dist/components/Grid.vue.d.ts +1 -1
  333. package/dist/components/ImageCropper.cjs +1 -1
  334. package/dist/components/ImageCropper.mjs +1 -1
  335. package/dist/components/ImagePicker.cjs +1 -1
  336. package/dist/components/ImagePicker.mjs +1 -1
  337. package/dist/components/ImagePicker.vue.d.ts.map +1 -1
  338. package/dist/components/InfoHint.cjs +1 -1
  339. package/dist/components/InfoHint.mjs +1 -1
  340. package/dist/components/InfoHint.vue.d.ts.map +1 -1
  341. package/dist/components/InlineEdit.cjs +1 -1
  342. package/dist/components/InlineEdit.mjs +1 -1
  343. package/dist/components/InlineEdit.vue.d.ts.map +1 -1
  344. package/dist/components/InlineLoading.cjs +1 -1
  345. package/dist/components/InlineLoading.mjs +1 -1
  346. package/dist/components/InputGroup.cjs +1 -0
  347. package/dist/components/InputGroup.context.d.ts +50 -0
  348. package/dist/components/InputGroup.context.d.ts.map +1 -0
  349. package/dist/components/InputGroup.d.ts +37 -0
  350. package/dist/components/InputGroup.mjs +2 -0
  351. package/dist/components/InputGroup.vue.d.ts +27 -0
  352. package/dist/components/InputGroup.vue.d.ts.map +1 -0
  353. package/dist/components/JsonTree.cjs +1 -1
  354. package/dist/components/JsonTree.mjs +1 -1
  355. package/dist/components/Label.cjs +1 -1
  356. package/dist/components/Label.mjs +1 -1
  357. package/dist/components/Layer.cjs +1 -1
  358. package/dist/components/Layer.mjs +1 -1
  359. package/dist/components/Menu.cjs +1 -1
  360. package/dist/components/Menu.d.ts +11 -0
  361. package/dist/components/Menu.mjs +1 -1
  362. package/dist/components/Menu.vue.d.ts +2 -0
  363. package/dist/components/Menu.vue.d.ts.map +1 -1
  364. package/dist/components/MenuBar.cjs +1 -1
  365. package/dist/components/MenuBar.mjs +1 -1
  366. package/dist/components/MenuBarItem.cjs +1 -1
  367. package/dist/components/MenuBarItem.mjs +1 -1
  368. package/dist/components/MenuDivider.cjs +1 -1
  369. package/dist/components/MenuDivider.mjs +1 -1
  370. package/dist/components/Message.cjs +1 -1
  371. package/dist/components/Message.mjs +1 -1
  372. package/dist/components/Modal.cjs +1 -1
  373. package/dist/components/Modal.d.ts +11 -7
  374. package/dist/components/Modal.mjs +1 -1
  375. package/dist/components/Modal.vue.d.ts +3 -3
  376. package/dist/components/Modal.vue.d.ts.map +1 -1
  377. package/dist/components/NotificationCenter.cjs +1 -1
  378. package/dist/components/NotificationCenter.d.ts +2 -1
  379. package/dist/components/NotificationCenter.mjs +1 -1
  380. package/dist/components/NotificationCenter.vue.d.ts.map +1 -1
  381. package/dist/components/NotificationCenterItem.cjs +1 -1
  382. package/dist/components/NotificationCenterItem.mjs +1 -1
  383. package/dist/components/NubiscoMark.cjs +1 -1
  384. package/dist/components/NubiscoMark.mjs +1 -1
  385. package/dist/components/NubiscoPlatformMark.cjs +1 -1
  386. package/dist/components/NubiscoPlatformMark.mjs +1 -1
  387. package/dist/components/NumberInput.cjs +1 -1
  388. package/dist/components/NumberInput.mjs +1 -1
  389. package/dist/components/NumberInput.vue.d.ts.map +1 -1
  390. package/dist/components/OverflowMenu.cjs +1 -0
  391. package/dist/components/OverflowMenu.d.ts +41 -0
  392. package/dist/components/OverflowMenu.mjs +2 -0
  393. package/dist/components/OverflowMenu.vue.d.ts +36 -0
  394. package/dist/components/OverflowMenu.vue.d.ts.map +1 -0
  395. package/dist/components/PageHeader.cjs +1 -1
  396. package/dist/components/PageHeader.mjs +1 -1
  397. package/dist/components/PageLayout.cjs +1 -1
  398. package/dist/components/PageLayout.mjs +1 -1
  399. package/dist/components/Pagination.cjs +1 -1
  400. package/dist/components/Pagination.mjs +1 -1
  401. package/dist/components/Panel.cjs +1 -1
  402. package/dist/components/Panel.mjs +1 -1
  403. package/dist/components/ProgressBar.cjs +1 -1
  404. package/dist/components/ProgressBar.mjs +1 -1
  405. package/dist/components/Radio.cjs +1 -1
  406. package/dist/components/Radio.mjs +1 -1
  407. package/dist/components/ReorderList.cjs +1 -1
  408. package/dist/components/ReorderList.mjs +1 -1
  409. package/dist/components/Search.cjs +1 -0
  410. package/dist/components/Search.d.ts +36 -0
  411. package/dist/components/Search.mjs +2 -0
  412. package/dist/components/Search.vue.d.ts +32 -0
  413. package/dist/components/Search.vue.d.ts.map +1 -0
  414. package/dist/components/Select.cjs +1 -1
  415. package/dist/components/Select.d.ts +4 -1
  416. package/dist/components/Select.mjs +1 -1
  417. package/dist/components/Select.vue.d.ts +6 -6
  418. package/dist/components/Select.vue.d.ts.map +1 -1
  419. package/dist/components/Shell.cjs +1 -1
  420. package/dist/components/Shell.d.ts +1 -0
  421. package/dist/components/Shell.mjs +1 -1
  422. package/dist/components/Shell.vue.d.ts +2 -2
  423. package/dist/components/Shell.vue.d.ts.map +1 -1
  424. package/dist/components/ShellPanel.cjs +1 -1
  425. package/dist/components/ShellPanel.mjs +1 -1
  426. package/dist/components/ShellPanel.vue.d.ts +2 -2
  427. package/dist/components/ShellPanel.vue.d.ts.map +1 -1
  428. package/dist/components/SidebarBrand.cjs +1 -1
  429. package/dist/components/SidebarBrand.mjs +1 -1
  430. package/dist/components/SidebarCollapseToggle.cjs +1 -1
  431. package/dist/components/SidebarCollapseToggle.mjs +1 -1
  432. package/dist/components/SidebarHeaderToggle.cjs +1 -1
  433. package/dist/components/SidebarHeaderToggle.mjs +1 -1
  434. package/dist/components/SidebarHeaderToggle.vue.d.ts.map +1 -1
  435. package/dist/components/SidebarLink.cjs +1 -1
  436. package/dist/components/SidebarLink.mjs +1 -1
  437. package/dist/components/SidebarMenu.cjs +1 -1
  438. package/dist/components/SidebarMenu.mjs +1 -1
  439. package/dist/components/SidebarMenuGroup.cjs +1 -1
  440. package/dist/components/SidebarMenuGroup.mjs +1 -1
  441. package/dist/components/SidebarMenuItem.cjs +1 -1
  442. package/dist/components/SidebarMenuItem.mjs +1 -1
  443. package/dist/components/SidebarMenuItem.vue.d.ts.map +1 -1
  444. package/dist/components/SidebarStatus.cjs +1 -1
  445. package/dist/components/SidebarStatus.mjs +1 -1
  446. package/dist/components/Skeleton.cjs +1 -1
  447. package/dist/components/Skeleton.d.ts +20 -1
  448. package/dist/components/Skeleton.mjs +1 -1
  449. package/dist/components/Skeleton.vue.d.ts +3 -0
  450. package/dist/components/Skeleton.vue.d.ts.map +1 -1
  451. package/dist/components/Slider.cjs +1 -1
  452. package/dist/components/Slider.mjs +1 -1
  453. package/dist/components/Spinner.cjs +1 -1
  454. package/dist/components/Spinner.mjs +1 -1
  455. package/dist/components/Stat.cjs +1 -1
  456. package/dist/components/Stat.mjs +1 -1
  457. package/dist/components/Stepper.cjs +1 -1
  458. package/dist/components/Stepper.mjs +1 -1
  459. package/dist/components/StepperStep.cjs +1 -1
  460. package/dist/components/StepperStep.mjs +1 -1
  461. package/dist/components/StructuredList.cjs +1 -1
  462. package/dist/components/StructuredList.mjs +1 -1
  463. package/dist/components/StructuredList.vue.d.ts +2 -2
  464. package/dist/components/Submenu.cjs +1 -1
  465. package/dist/components/Submenu.mjs +1 -1
  466. package/dist/components/SuggestionList.cjs +1 -1
  467. package/dist/components/SuggestionList.d.ts +8 -0
  468. package/dist/components/SuggestionList.mjs +1 -1
  469. package/dist/components/SuggestionList.vue.d.ts +3 -0
  470. package/dist/components/SuggestionList.vue.d.ts.map +1 -1
  471. package/dist/components/Switch.cjs +1 -1
  472. package/dist/components/Switch.mjs +1 -1
  473. package/dist/components/TableOfContents.cjs +1 -1
  474. package/dist/components/TableOfContents.mjs +1 -1
  475. package/dist/components/TableOfContents.vue.d.ts.map +1 -1
  476. package/dist/components/Tabs.cjs +1 -1
  477. package/dist/components/Tabs.mjs +1 -1
  478. package/dist/components/TextInput.cjs +1 -1
  479. package/dist/components/TextInput.mjs +1 -1
  480. package/dist/components/TextInput.vue.d.ts +20 -4
  481. package/dist/components/TextInput.vue.d.ts.map +1 -1
  482. package/dist/components/Toast.cjs +1 -1
  483. package/dist/components/Toast.mjs +1 -1
  484. package/dist/components/Toast.vue.d.ts +4 -1
  485. package/dist/components/Toast.vue.d.ts.map +1 -1
  486. package/dist/components/Toaster.cjs +1 -1
  487. package/dist/components/Toaster.mjs +1 -1
  488. package/dist/components/Toolbar.cjs +1 -0
  489. package/dist/components/Toolbar.context.d.ts +22 -0
  490. package/dist/components/Toolbar.context.d.ts.map +1 -0
  491. package/dist/components/Toolbar.d.ts +26 -0
  492. package/dist/components/Toolbar.mjs +2 -0
  493. package/dist/components/Toolbar.vue.d.ts +24 -0
  494. package/dist/components/Toolbar.vue.d.ts.map +1 -0
  495. package/dist/components/Tree.cjs +1 -1
  496. package/dist/components/Tree.mjs +1 -1
  497. package/dist/components/TreeNode.cjs +1 -1
  498. package/dist/components/TreeNode.mjs +1 -1
  499. package/dist/components/TreeNode.vue.d.ts +1 -1
  500. package/dist/components/UserMenu.cjs +1 -1
  501. package/dist/components/UserMenu.mjs +1 -1
  502. package/dist/components/UserMenu.vue.d.ts.map +1 -1
  503. package/dist/components/Video.cjs +1 -1
  504. package/dist/components/Video.mjs +1 -1
  505. package/dist/components/Video.vue.d.ts.map +1 -1
  506. package/dist/components/Walkthrough.cjs +1 -1
  507. package/dist/components/Walkthrough.mjs +1 -1
  508. package/dist/components/Walkthrough.vue.d.ts.map +1 -1
  509. package/dist/components/Wireframe.cjs +1 -1
  510. package/dist/components/Wireframe.mjs +1 -1
  511. package/dist/components/index.d.ts.map +1 -1
  512. package/dist/components/manifest.d.ts +9 -0
  513. package/dist/components/manifest.d.ts.map +1 -1
  514. package/dist/components/manifest.js +9 -0
  515. package/dist/composables/useBlueprint.composable.cjs +1 -1
  516. package/dist/composables/useBlueprint.composable.mjs +1 -1
  517. package/dist/composables/useConfirm.composable.cjs +1 -1
  518. package/dist/composables/useConfirm.composable.mjs +3 -3
  519. package/dist/composables/useInlineLoading.composable.cjs +1 -1
  520. package/dist/composables/useInlineLoading.composable.mjs +1 -1
  521. package/dist/composables/useLoadingAnnouncer.composable.cjs +1 -1
  522. package/dist/composables/useLoadingAnnouncer.composable.mjs +1 -1
  523. package/dist/composables/useNbStrings.composable.cjs +1 -1
  524. package/dist/composables/useNbStrings.composable.d.ts +66 -0
  525. package/dist/composables/useNbStrings.composable.d.ts.map +1 -1
  526. package/dist/composables/useNbStrings.composable.mjs +61 -0
  527. package/dist/composables/useRovingFocus.composable.cjs +1 -0
  528. package/dist/composables/useRovingFocus.composable.d.ts +22 -0
  529. package/dist/composables/useRovingFocus.composable.d.ts.map +1 -0
  530. package/dist/composables/useRovingFocus.composable.mjs +56 -0
  531. package/dist/directives/ToolTip.directive.d.ts +56 -0
  532. package/dist/directives/ToolTip.directive.d.ts.map +1 -1
  533. package/dist/global.d.ts +18 -0
  534. package/dist/index.cjs +1 -1
  535. package/dist/index.mjs +152 -143
  536. package/dist/main-Bo1B-xzL.cjs +4 -0
  537. package/dist/main-nO1LQzsc.js +744 -0
  538. package/dist/main.d.ts +21 -1
  539. package/dist/main.d.ts.map +1 -1
  540. package/dist/styles/AccordionItem.css +1 -1
  541. package/dist/styles/ActionGroup.css +1 -1
  542. package/dist/styles/Banner.css +1 -1
  543. package/dist/styles/BatchActions.css +1 -0
  544. package/dist/styles/BlueprintCard.css +1 -1
  545. package/dist/styles/BlueprintControls.css +1 -1
  546. package/dist/styles/Board.css +1 -1
  547. package/dist/styles/BottomPanel.css +1 -1
  548. package/dist/styles/Breadcrumbs.css +1 -1
  549. package/dist/styles/Button.css +1 -1
  550. package/dist/styles/ButtonSet.css +1 -0
  551. package/dist/styles/Calendar.css +1 -1
  552. package/dist/styles/Card.css +1 -1
  553. package/dist/styles/ChipGroup.css +1 -0
  554. package/dist/styles/CommandPalette.css +1 -1
  555. package/dist/styles/Confirm.css +1 -1
  556. package/dist/styles/ContentSwitcher.css +1 -0
  557. package/dist/styles/DataTable.css +1 -1
  558. package/dist/styles/DatePicker.css +1 -1
  559. package/dist/styles/FileUploader.css +1 -1
  560. package/dist/styles/FloatingToolbar.css +1 -1
  561. package/dist/styles/ImagePicker.css +1 -1
  562. package/dist/styles/InfoHint.css +1 -1
  563. package/dist/styles/InlineEdit.css +1 -1
  564. package/dist/styles/InputGroup.css +1 -0
  565. package/dist/styles/Modal.css +1 -1
  566. package/dist/styles/NotificationCenter.css +1 -1
  567. package/dist/styles/NumberInput.css +1 -1
  568. package/dist/styles/OverflowMenu.css +1 -0
  569. package/dist/styles/Pagination.css +1 -1
  570. package/dist/styles/Search.css +1 -0
  571. package/dist/styles/Select.css +1 -1
  572. package/dist/styles/Shell.css +1 -1
  573. package/dist/styles/ShellPanel.css +1 -1
  574. package/dist/styles/SidebarHeaderToggle.css +1 -1
  575. package/dist/styles/SidebarMenuItem.css +1 -1
  576. package/dist/styles/Skeleton.css +1 -1
  577. package/dist/styles/SuggestionList.css +1 -1
  578. package/dist/styles/TableOfContents.css +1 -1
  579. package/dist/styles/TextInput.css +1 -1
  580. package/dist/styles/Toast.css +1 -1
  581. package/dist/styles/Toolbar.css +1 -0
  582. package/dist/styles/UserMenu.css +1 -1
  583. package/dist/styles/Walkthrough.css +1 -1
  584. package/dist/ui.css +44 -36
  585. package/dist/utils/actionFit.helper.cjs +1 -0
  586. package/dist/utils/actionFit.helper.d.ts +20 -0
  587. package/dist/utils/actionFit.helper.d.ts.map +1 -0
  588. package/dist/utils/actionFit.helper.mjs +13 -0
  589. package/package.json +2 -2
  590. package/src/styles/_theme.scss +19 -9
  591. package/src/styles/logic/_field.scss +22 -0
  592. package/src/styles/logic/_focus.scss +20 -0
  593. package/src/styles/logic/index.scss +1 -0
  594. package/src/utils/actionFit.helper.ts +40 -0
  595. package/dist/AccordionItem-DFwj28eL.js +0 -118
  596. package/dist/AccordionItem-DhZD2kJL.cjs +0 -1
  597. package/dist/ActionGroup-CJoBGUvw.js +0 -171
  598. package/dist/ActionGroup-CU9YQboQ.cjs +0 -1
  599. package/dist/BackToTop-C5gFfuu7.cjs +0 -1
  600. package/dist/BackToTop-DZhl6N_Q.js +0 -56
  601. package/dist/Banner-5uX-ujbu.js +0 -93
  602. package/dist/Banner-CiIQKSxv.cjs +0 -1
  603. package/dist/BlueprintControls-DnUoI9qp.cjs +0 -1
  604. package/dist/Board-BNB96CXm.cjs +0 -1
  605. package/dist/BottomPanel-CYxavAS0.cjs +0 -1
  606. package/dist/BottomPanel-vFcIk2nf.js +0 -115
  607. package/dist/Breadcrumbs-B-pjVWeD.js +0 -184
  608. package/dist/Breadcrumbs-CqDYLfIQ.cjs +0 -1
  609. package/dist/Button-C0N1cyOQ.cjs +0 -1
  610. package/dist/Button-CuwzIVWv.js +0 -132
  611. package/dist/Calendar-Bbk7bPW1.cjs +0 -1
  612. package/dist/Calendar-EiqHtUG2.js +0 -155
  613. package/dist/Card-B5FTcFEQ.cjs +0 -1
  614. package/dist/Card-DUTWbKv7.js +0 -143
  615. package/dist/CommandPalette-C8-2XCrf.cjs +0 -1
  616. package/dist/Confirm-BA-t4jPF.cjs +0 -1
  617. package/dist/Confirm-MmMvMttu.js +0 -313
  618. package/dist/CopyButton-Bcc2BDJ8.js +0 -65
  619. package/dist/CopyButton-CwHAVKQ6.cjs +0 -1
  620. package/dist/DataTable-D4KrQH5E.js +0 -485
  621. package/dist/DataTable-DVJnvBQM.cjs +0 -1
  622. package/dist/DatePicker-BmuVSyZ3.cjs +0 -1
  623. package/dist/DatePicker-CagtB0Sd.js +0 -743
  624. package/dist/FileUploader-B9j-HmX3.js +0 -193
  625. package/dist/FileUploader-BolhAWrI.cjs +0 -1
  626. package/dist/FloatingToolbar-CYOuKLd7.js +0 -140
  627. package/dist/FloatingToolbar-DxUUozlf.cjs +0 -1
  628. package/dist/ImagePicker-CZEFzYC8.js +0 -171
  629. package/dist/ImagePicker-CebI8MDy.cjs +0 -1
  630. package/dist/InfoHint-DVrm41q9.js +0 -177
  631. package/dist/InfoHint-WYitTbYz.cjs +0 -1
  632. package/dist/InlineEdit-DViLVwtn.js +0 -116
  633. package/dist/InlineEdit-DfkmTudh.cjs +0 -1
  634. package/dist/Menu-CLDGxi-1.cjs +0 -1
  635. package/dist/Menu-C_UsGyKX.js +0 -177
  636. package/dist/Modal-1i_nDqvM.cjs +0 -1
  637. package/dist/Modal-CxIl02xU.js +0 -229
  638. package/dist/NotificationCenter-CXn7sGFw.cjs +0 -1
  639. package/dist/NotificationCenter-Cu_vs-jh.js +0 -584
  640. package/dist/NumberInput-CMxlZ54a.cjs +0 -1
  641. package/dist/NumberInput-Dy0leAIF.js +0 -324
  642. package/dist/Select-Bz4tf2H_.cjs +0 -1
  643. package/dist/Select-hL8I-aNK.js +0 -603
  644. package/dist/Shell-BxGBrQsM.js +0 -536
  645. package/dist/Shell-BzXh23BU.cjs +0 -1
  646. package/dist/ShellPanel-DzkkJYVd.js +0 -126
  647. package/dist/ShellPanel-XYKkAc5n.cjs +0 -1
  648. package/dist/Skeleton-CqZ9O0X0.cjs +0 -1
  649. package/dist/SuggestionList-BJjbVvt2.cjs +0 -1
  650. package/dist/SuggestionList-Bdx7CK__.js +0 -189
  651. package/dist/TextInput-BXyJQfGx.js +0 -348
  652. package/dist/TextInput-DKp819VS.cjs +0 -2
  653. package/dist/Toast-BKrvlON6.cjs +0 -1
  654. package/dist/Toast-fRHhhjZV.js +0 -115
  655. package/dist/UserMenu-GJHs1fKI.cjs +0 -1
  656. package/dist/Video-D1WOYCYH.cjs +0 -1
  657. package/dist/Video-DrDqaCXl.js +0 -104
  658. package/dist/Walkthrough-DXMDgB9t.cjs +0 -1
  659. package/dist/Walkthrough-D_vfYTWP.js +0 -327
  660. package/dist/main-BTximdIU.js +0 -1255
  661. package/dist/main-DkNxc78b.cjs +0 -4
  662. package/dist/motion-BjVtMTXD.cjs +0 -1
  663. package/dist/motion-C0h9XZQZ.js +0 -18
  664. /package/dist/{Badge-CfICqXrd.cjs → Badge-BYfdJcdD.cjs} +0 -0
  665. /package/dist/{Badge-BFsoJcCK.js → Badge-scjsdx_V.js} +0 -0
  666. /package/dist/{Blueprint.context-B3d5-4jD.cjs → Blueprint.context-BX56xsrT.cjs} +0 -0
  667. /package/dist/{Blueprint.context-B4bRLj7m.js → Blueprint.context-Bz6Jy1Ou.js} +0 -0
  668. /package/dist/{BlueprintBackground-5OOF-VpK.js → BlueprintBackground-DPjZeMwY.js} +0 -0
  669. /package/dist/{BlueprintBackground-D_JokLTK.cjs → BlueprintBackground-yHRGclEz.cjs} +0 -0
  670. /package/dist/{BlueprintMinimap-CACuVJqI.cjs → BlueprintMinimap-qskDNYyr.cjs} +0 -0
  671. /package/dist/{BlueprintMinimap-Ehrltju2.js → BlueprintMinimap-xnsyS1M8.js} +0 -0
  672. /package/dist/{Card.link-eRkbFiF1.cjs → Card.link-Bw2B_lPO.cjs} +0 -0
  673. /package/dist/{Card.link-CB8_CTbn.js → Card.link-CdvubtHJ.js} +0 -0
  674. /package/dist/{CardGrid-DzjiR2wg.cjs → CardGrid-DPaITpcU.cjs} +0 -0
  675. /package/dist/{CardGrid-BOhFOzTs.js → CardGrid-j0TFmVrQ.js} +0 -0
  676. /package/dist/{ChartLegend-C81jju4k.cjs → ChartLegend-COJeG-2B.cjs} +0 -0
  677. /package/dist/{ChartLegend-fsJqOyGj.js → ChartLegend-LDNukufA.js} +0 -0
  678. /package/dist/{CheckboxGroup.context-C8p21aqH.cjs → CheckboxGroup.context-ADwiY4gy.cjs} +0 -0
  679. /package/dist/{CheckboxGroup.context-Cu0BA648.js → CheckboxGroup.context-C1QB-Zsq.js} +0 -0
  680. /package/dist/{ContainedList-DV8kZgTS.cjs → ContainedList-CBWwEmoK.cjs} +0 -0
  681. /package/dist/{ContainedList-7uMU4e4Z.js → ContainedList-PUA2OJ08.js} +0 -0
  682. /package/dist/{DefinitionList-DIPobaPW.js → DefinitionList-BOVcW-V7.js} +0 -0
  683. /package/dist/{DefinitionList-BuRW4drr.cjs → DefinitionList-CndoLDLs.cjs} +0 -0
  684. /package/dist/{DefinitionListItem-CbVnrShi.js → DefinitionListItem-C3VrLhWY.js} +0 -0
  685. /package/dist/{DefinitionListItem-Bf9amK8a.cjs → DefinitionListItem-CLztc8mQ.cjs} +0 -0
  686. /package/dist/{DragHandle-snItY92k.cjs → DragHandle-Bz2N22Sm.cjs} +0 -0
  687. /package/dist/{DragHandle-dCNBfHJe.js → DragHandle-Cc7WrUj7.js} +0 -0
  688. /package/dist/{EmptyState-B8EM9ynK.cjs → EmptyState-Db0Zrrk2.cjs} +0 -0
  689. /package/dist/{EmptyState-D-fku2DD.js → EmptyState-DhlJV0C6.js} +0 -0
  690. /package/dist/{Field-3S8uGW95.cjs → Field-COMPegVv.cjs} +0 -0
  691. /package/dist/{Field-DK5iec3Z.js → Field-D12Dja-u.js} +0 -0
  692. /package/dist/{Flag-myXFwopO.js → Flag-DyDqHJy3.js} +0 -0
  693. /package/dist/{Flag-CNx_cE4Q.cjs → Flag-gM91kXTi.cjs} +0 -0
  694. /package/dist/{Grid-jlgLOwom.js → Grid-B7d8x0tA.js} +0 -0
  695. /package/dist/{Grid-C0muGlj3.cjs → Grid-BOtE_jXr.cjs} +0 -0
  696. /package/dist/{JsonTree-Bmj8WtzK.cjs → JsonTree-MjCO8_Xk.cjs} +0 -0
  697. /package/dist/{JsonTree-BWfMcWOV.js → JsonTree-VbXpLPoG.js} +0 -0
  698. /package/dist/{Label-CTOPIIbR.cjs → Label-CjxnZgNy.cjs} +0 -0
  699. /package/dist/{Label-BDMCrURR.js → Label-xwHw_UbN.js} +0 -0
  700. /package/dist/{Layer-BJeI6Q6N.js → Layer-Btb-b9Mk.js} +0 -0
  701. /package/dist/{Layer-D-MNrLiB.cjs → Layer-D0NqQYM0.cjs} +0 -0
  702. /package/dist/{MenuBar-aLDr7-eJ.cjs → MenuBar-BVgGbppN.cjs} +0 -0
  703. /package/dist/{MenuBar-DyJufs5b.js → MenuBar-M2eiYZG0.js} +0 -0
  704. /package/dist/{MenuDivider-aZIXvYsH.js → MenuDivider-B3tNv2aj.js} +0 -0
  705. /package/dist/{MenuDivider-D75yF8o8.cjs → MenuDivider-BSMtwoUU.cjs} +0 -0
  706. /package/dist/{Message-Bija1nMK.cjs → Message-BJO4MjiQ.cjs} +0 -0
  707. /package/dist/{Message-BONOwoVY.js → Message-DCeg8qsC.js} +0 -0
  708. /package/dist/{NotificationCenterItem-zdOMnxv1.cjs → NotificationCenterItem-D0agavaK.cjs} +0 -0
  709. /package/dist/{NotificationCenterItem-BbbBFYEu.js → NotificationCenterItem-O6SR_6KR.js} +0 -0
  710. /package/dist/{NubiscoMark-Cf7Ek83E.cjs → NubiscoMark-3StsXBoJ.cjs} +0 -0
  711. /package/dist/{NubiscoMark-BLT8ULAl.js → NubiscoMark-XJWPWIc0.js} +0 -0
  712. /package/dist/{NubiscoPlatformMark-Dca7vi6H.js → NubiscoPlatformMark-BgQLjI89.js} +0 -0
  713. /package/dist/{NubiscoPlatformMark-CXMSQDYh.cjs → NubiscoPlatformMark-D8WIp4On.cjs} +0 -0
  714. /package/dist/{PageLayout-DQKfOSQq.js → PageLayout-BMcT2mzU.js} +0 -0
  715. /package/dist/{PageLayout-Dw4JYS3k.cjs → PageLayout-DHi1w1PD.cjs} +0 -0
  716. /package/dist/{PrimaryAction.context-BkYkcMlm.js → PrimaryAction.context-DZUcR5ER.js} +0 -0
  717. /package/dist/{PrimaryAction.context-2v_jcQAo.cjs → PrimaryAction.context-DnzRVqGH.cjs} +0 -0
  718. /package/dist/{ReorderList-B1CYGR0e.js → ReorderList-DmjW30Mw.js} +0 -0
  719. /package/dist/{ReorderList-DBW8TBu6.cjs → ReorderList-qScXc3-v.cjs} +0 -0
  720. /package/dist/{SidebarBrand-FHBO4Dw3.js → SidebarBrand-CZf-kRyZ.js} +0 -0
  721. /package/dist/{SidebarBrand-CX-BgI4X.cjs → SidebarBrand-D2u7hX-v.cjs} +0 -0
  722. /package/dist/{SidebarLink-xtGCDABj.js → SidebarLink-BuRBmv_k.js} +0 -0
  723. /package/dist/{SidebarLink-DTGVapwa.cjs → SidebarLink-CSTNfb2F.cjs} +0 -0
  724. /package/dist/{SidebarMenu-CnsOBXeM.cjs → SidebarMenu-CAthEmyy.cjs} +0 -0
  725. /package/dist/{SidebarMenu-D24o7HS-.js → SidebarMenu-CgWUHllQ.js} +0 -0
  726. /package/dist/{SidebarMenuGroup-DJasr_cx.cjs → SidebarMenuGroup-B9JGPBcF.cjs} +0 -0
  727. /package/dist/{SidebarMenuGroup-Bjc2IeK5.js → SidebarMenuGroup-DdWg57Wv.js} +0 -0
  728. /package/dist/{SidebarStatus-D-CfUYFc.js → SidebarStatus-CnTnYL4x.js} +0 -0
  729. /package/dist/{SidebarStatus-YfLW9xzC.cjs → SidebarStatus-CvjuggXO.cjs} +0 -0
  730. /package/dist/{Sparkline-MAi1Fh2T.cjs → Sparkline-B7kUEfuW.cjs} +0 -0
  731. /package/dist/{Sparkline-m3wbt-f1.js → Sparkline-CVzkzaOJ.js} +0 -0
  732. /package/dist/{Stepper.context-DUIDhN9Q.cjs → Stepper.context-Brnt5IZv.cjs} +0 -0
  733. /package/dist/{Stepper.context-DqfEvgGM.js → Stepper.context-CRKX8lxW.js} +0 -0
  734. /package/dist/{StructuredList-h9JFXpF4.cjs → StructuredList-BexC0c1Z.cjs} +0 -0
  735. /package/dist/{StructuredList-BSfuLANB.js → StructuredList-DuBBP01p.js} +0 -0
  736. /package/dist/{Submenu-Dxo3DUDA.cjs → Submenu-DRkHiWsD.cjs} +0 -0
  737. /package/dist/{Submenu-BnMaJKYm.js → Submenu-Dnj5MiFy.js} +0 -0
  738. /package/dist/{TextInput.context-DV1MgL_Q.js → TextInput.context-B-mipPOo.js} +0 -0
  739. /package/dist/{TextInput.context-UTLuljcO.cjs → TextInput.context-ChkcqMNM.cjs} +0 -0
  740. /package/dist/{TreeContext-TZ35sT5B.cjs → TreeContext-B2Io2oii.cjs} +0 -0
  741. /package/dist/{TreeContext--GZ21fCm.js → TreeContext-Cs4iAw0d.js} +0 -0
  742. /package/dist/{Wireframe-CL0rjsos.cjs → Wireframe-3fvc4I5-.cjs} +0 -0
  743. /package/dist/{Wireframe-BxUNaH2g.js → Wireframe-C_Ca3wCn.js} +0 -0
  744. /package/dist/{palette-CWU7exM6.js → palette-6bEW4KUN.js} +0 -0
  745. /package/dist/{palette-B7XEOMVB.cjs → palette-LbOzdAXj.cjs} +0 -0
  746. /package/dist/{pixi-scene-BKyneWmd.cjs → pixi-scene-CQ1qoZvX.cjs} +0 -0
  747. /package/dist/{pixi-scene-TbaBQ2-u.js → pixi-scene-DFCEvc1j.js} +0 -0
  748. /package/dist/{scales-CNW8JgKC.js → scales-BGzTviac.js} +0 -0
  749. /package/dist/{scales-B8IbC7t_.cjs → scales-BRSHTjbp.cjs} +0 -0
  750. /package/dist/{useChartSize-CftshgoY.js → useChartSize-05CLdiR0.js} +0 -0
  751. /package/dist/{useChartSize-B6Bes760.cjs → useChartSize-CUZ7BuGD.cjs} +0 -0
  752. /package/dist/{useLoadingAnnouncer.composable-Dn1mqnqe.cjs → useLoadingAnnouncer.composable-CEPRjDi3.cjs} +0 -0
  753. /package/dist/{useLoadingAnnouncer.composable-BAwecV1M.js → useLoadingAnnouncer.composable-c0XX_xNT.js} +0 -0
  754. /package/dist/{vue-i18n-DSR949qU.js → vue-i18n-DaD-yZmK.js} +0 -0
  755. /package/dist/{vue-i18n-DIvTc6LM.cjs → vue-i18n-ZdR0XDmN.cjs} +0 -0
@@ -1 +1 @@
1
- const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./vue-i18n-DIvTc6LM.cjs`),n=require(`./SidebarMenuItem-DCR-nXAK.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-ZdR0XDmN.cjs`),n=require(`./SidebarMenuItem-eFnj5QoE.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,5 +1,5 @@
1
- import { t as e } from "./vue-i18n-DSR949qU.js";
2
- import { t } from "./SidebarMenuItem-CNunAuyB.js";
1
+ import { t as e } from "./vue-i18n-DaD-yZmK.js";
2
+ import { t } from "./SidebarMenuItem-BvvoDIjK.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(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./vue-i18n-DIvTc6LM.cjs`);let i=require(`vue`),a=require(`@nubisco/ui/icons/caret-right`);a=e.n(a);let o=require(`@nubisco/ui/icons/caret-left`);o=e.n(o);let s=require(`@nubisco/ui/icons/sidebar-simple`);s=e.n(s);var c=[`aria-label`,`aria-expanded`],l=(0,i.defineComponent)({__name:`SidebarHeaderToggle`,props:{collapseLabel:{default:void 0},expandLabel:{default:void 0},icon:{default:void 0}},emits:[`toggle`],setup(e,{emit:t}){let l=e,u=t,d=(0,i.inject)(`nb-shell-sidebar-variant`,(0,i.ref)(`verbose`)),f=(0,i.inject)(`nb-shell-sidebar-header-action-position`,(0,i.ref)(`end`)),p=(0,i.computed)(()=>d.value===`compact`),m=(0,i.computed)(()=>f.value===`edge`),h=(0,i.computed)(()=>l.icon?l.icon:m.value?p.value?a:o:s),g={en:{COLLAPSE:`Collapse sidebar`,EXPAND:`Expand sidebar`},pt:{COLLAPSE:`Recolher barra lateral`,EXPAND:`Expandir barra lateral`}};function _(){try{return r.t({useScope:`global`})}catch{return null}}let v=_();function y(e){let t=`sidebarCollapseToggle.${e}`;return v?.te(t)?v.t(t):g[String(v?.locale.value??`en`).toLowerCase().split(`-`)[0]]?.[e]??g.en[e]}let b=(0,i.computed)(()=>p.value?l.expandLabel??y(`EXPAND`):l.collapseLabel??y(`COLLAPSE`));return(e,t)=>{let r=(0,i.resolveDirective)(`nb-tooltip`);return(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)(`button`,{type:`button`,class:(0,i.normalizeClass)([`nb-sidebar-header-toggle`,{"nb-sidebar-header-toggle--edge":m.value}]),"aria-label":b.value,"aria-expanded":!p.value,onClick:t[0]||=e=>u(`toggle`)},[(0,i.createVNode)(n.t,{name:h.value,size:m.value?16:18},null,8,[`name`,`size`])],10,c)),[[r,{body:b.value,aria:`none`,position:`right`}]])}}}),u=t.t(l,[[`__scopeId`,`data-v-84ba2aa1`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
1
+ const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./vue-i18n-ZdR0XDmN.cjs`);let i=require(`vue`),a=require(`@nubisco/ui/icons/caret-right`);a=e.n(a);let o=require(`@nubisco/ui/icons/caret-left`);o=e.n(o);let s=require(`@nubisco/ui/icons/sidebar-simple`);s=e.n(s);var c=[`aria-label`,`aria-expanded`],l=(0,i.defineComponent)({__name:`SidebarHeaderToggle`,props:{collapseLabel:{default:void 0},expandLabel:{default:void 0},icon:{default:void 0}},emits:[`toggle`],setup(e,{emit:t}){let l=e,u=t,d=(0,i.inject)(`nb-shell-sidebar-variant`,(0,i.ref)(`verbose`)),f=(0,i.inject)(`nb-shell-sidebar-header-action-position`,(0,i.ref)(`end`)),p=(0,i.computed)(()=>d.value===`compact`),m=(0,i.computed)(()=>f.value===`edge`),h=(0,i.computed)(()=>l.icon?l.icon:m.value?p.value?a:o:s),g={en:{COLLAPSE:`Collapse sidebar`,EXPAND:`Expand sidebar`},pt:{COLLAPSE:`Recolher barra lateral`,EXPAND:`Expandir barra lateral`}};function _(){try{return r.t({useScope:`global`})}catch{return null}}let v=_();function y(e){let t=`sidebarCollapseToggle.${e}`;return v?.te(t)?v.t(t):g[String(v?.locale.value??`en`).toLowerCase().split(`-`)[0]]?.[e]??g.en[e]}let b=(0,i.computed)(()=>p.value?l.expandLabel??y(`EXPAND`):l.collapseLabel??y(`COLLAPSE`));return(e,t)=>{let r=(0,i.resolveDirective)(`nb-tooltip`);return(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)(`button`,{type:`button`,class:(0,i.normalizeClass)([`nb-sidebar-header-toggle`,{"nb-sidebar-header-toggle--edge":m.value}]),"aria-label":b.value,"aria-expanded":!p.value,onClick:t[0]||=e=>u(`toggle`)},[(0,i.createVNode)(n.t,{name:h.value,size:m.value?16:20},null,8,[`name`,`size`])],10,c)),[[r,{body:b.value,aria:`none`,position:`right`}]])}}}),u=t.t(l,[[`__scopeId`,`data-v-c354f6d9`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
2
2
  import { t } from "./Icon-B2tiGiqZ.js";
3
- import { t as n } from "./vue-i18n-DSR949qU.js";
3
+ import { t as n } from "./vue-i18n-DaD-yZmK.js";
4
4
  import { computed as r, createElementBlock as i, createVNode as a, defineComponent as o, inject as s, normalizeClass as c, openBlock as l, ref as u, resolveDirective as d, withDirectives as f } from "vue";
5
5
  import * as p from "@nubisco/ui/icons/caret-right";
6
6
  import * as m from "@nubisco/ui/icons/caret-left";
@@ -48,7 +48,7 @@ var g = ["aria-label", "aria-expanded"], _ = /* @__PURE__ */ e(/* @__PURE__ */ o
48
48
  onClick: n[0] ||= (e) => v("toggle")
49
49
  }, [a(t, {
50
50
  name: C.value,
51
- size: S.value ? 16 : 18
51
+ size: S.value ? 16 : 20
52
52
  }, null, 8, ["name", "size"])], 10, g)), [[r, {
53
53
  body: O.value,
54
54
  aria: "none",
@@ -56,6 +56,6 @@ var g = ["aria-label", "aria-expanded"], _ = /* @__PURE__ */ e(/* @__PURE__ */ o
56
56
  }]]);
57
57
  };
58
58
  }
59
- }), [["__scopeId", "data-v-84ba2aa1"]]);
59
+ }), [["__scopeId", "data-v-c354f6d9"]]);
60
60
  //#endregion
61
61
  export { _ as t };
@@ -263,6 +263,6 @@ var T = /* @__PURE__ */ u({
263
263
  })) : s("", !0)], 36)])) : s("", !0)
264
264
  ], 34));
265
265
  }
266
- }), [["__scopeId", "data-v-8d63e3c1"]]);
266
+ }), [["__scopeId", "data-v-8a9f73a3"]]);
267
267
  //#endregion
268
268
  export { O as t };
@@ -1 +1 @@
1
- require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./Icon-CssV4E2-.cjs`),n=require(`./composables/useRouterLink.composable.cjs`),r=require(`./Avatar-UO0ySqkY.cjs`),i=require(`./utils/slotContent.helper.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/caret-right`);var s=(0,a.defineComponent)({__name:`SidebarVariantScope`,props:{variant:{}},setup(e){return(0,a.provide)(`nb-shell-sidebar-variant`,(0,a.toRef)(e,`variant`)),(e,t)=>(0,a.renderSlot)(e.$slots,`default`)}}),c={class:`nb-sidebar-menu-item__label`},l=[`title`],u={key:0,class:`nb-sidebar-menu-item__children`,role:`group`},d={class:`nb-sidebar-menu-item__flyout-header`},f={class:`nb-sidebar-menu-item__flyout-label`},p=[`aria-label`],m=(0,a.defineComponent)({__name:`SidebarMenuItem`,props:{label:{},icon:{default:void 0},picture:{default:void 0},to:{default:void 0},href:{default:void 0},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},defaultExpanded:{type:Boolean,default:!1},badge:{default:void 0},badgeVariant:{default:`neutral`}},emits:[`click`],setup(e,{emit:m}){let h=e,g=m,_=(0,a.inject)(`nb-shell-sidebar-variant`,(0,a.ref)(`verbose`)),v=(0,a.computed)(()=>_.value),y=(0,a.useSlots)(),b=(0,a.computed)(()=>{let e=h.badge;if(e===void 0)return;let t=typeof e==`number`?e:Number(String(e).trim());if(!(!Number.isFinite(t)||String(e).trim()===``))return t>99?`99+`:String(t)}),x=(0,a.computed)(()=>h.badge===void 0?h.label:`${h.label} (${h.badge})`),S=(0,a.computed)(()=>{let e=y.default?.();return e?i.hasRenderableContent(e):!1}),C=(0,a.ref)(h.defaultExpanded||h.active),w=n.useRouterLink(),T=(0,a.computed)(()=>{if(typeof h.to==`string`)return h.to;if(h.href)return h.href}),E=(0,a.computed)(()=>S.value),D=(0,a.computed)(()=>h.to!=null&&!E.value&&!!w.value),O=(0,a.computed)(()=>E.value?`button`:D.value?w.value:T.value?`a`:`button`),k=(0,a.computed)(()=>O.value===`a`?{href:T.value}:{});function A(e){if(h.disabled){e.preventDefault();return}if(E.value&&v.value===`verbose`){C.value=!C.value;return}E.value&&v.value===`compact`&&q(e),g(`click`,e)}let j=(0,a.ref)(null),M=(0,a.ref)(null),N=(0,a.ref)(!1),P=(0,a.ref)(!1),F=(0,a.ref)({}),I=null;function L(){if(v.value!==`compact`)return;I&&=(clearTimeout(I),null);let e=U();if(!e)return;let t=e.getBoundingClientRect();F.value={top:`${t.top}px`,left:`${t.right+8}px`},N.value=!0}function R(){P.value||(I&&clearTimeout(I),I=setTimeout(()=>{N.value=!1,I=null},120))}function z(){L()}function B(){R()}function V(){I&&=(clearTimeout(I),null)}function H(){R()}function U(){let e=j.value;return e?e instanceof HTMLElement?e:e.$el??null:null}function W(e=!1){I&&=(clearTimeout(I),null),N.value=!1,P.value=!1,e&&U()?.focus()}function G(){let e=M.value;return e?Array.from(e.querySelectorAll(`[role="menuitem"]`)).filter(e=>!e.hasAttribute(`disabled`)&&e.getAttribute(`aria-disabled`)!==`true`&&!e.closest(`[style*="display: none"]`)):[]}async function K(e){L(),P.value=!0,e&&(await(0,a.nextTick)(),G()[0]?.focus())}function q(e){if(N.value&&P.value){W();return}K(e.detail===0)}function J(e){!E.value||v.value!==`compact`||(e.key===`ArrowRight`||e.key===`ArrowDown`?(e.preventDefault(),K(!0)):e.key===`Escape`&&N.value&&(e.preventDefault(),W(!0)))}function Y(e){let t=G(),n=t.indexOf(document.activeElement);switch(e.key){case`Escape`:case`ArrowLeft`:e.preventDefault(),e.stopPropagation(),W(!0);return;case`ArrowDown`:e.preventDefault(),t[(n+1)%t.length]?.focus();return;case`ArrowUp`:e.preventDefault(),t[(n-1+t.length)%t.length]?.focus();return;case`Home`:e.preventDefault(),t[0]?.focus();return;case`End`:e.preventDefault(),t[t.length-1]?.focus();return;case`Tab`:W(!0);return}}function X(e){let t=e.relatedTarget;t&&(M.value?.contains(t)||U()?.contains(t)||W())}function Z(e){let t=e.target?.closest(`[role="menuitem"]`);t&&!t.hasAttribute(`aria-expanded`)&&W()}function Q(e){let t=e.target;t&&(M.value?.contains(t)||U()?.contains(t)||W())}return(0,a.watch)(N,e=>{typeof document>`u`||(e?document.addEventListener(`pointerdown`,Q,!0):document.removeEventListener(`pointerdown`,Q,!0))}),(0,a.watch)(v,()=>W()),(0,a.onBeforeUnmount)(()=>{I&&clearTimeout(I),typeof document<`u`&&document.removeEventListener(`pointerdown`,Q,!0)}),(n,i)=>((0,a.openBlock)(),(0,a.createElementBlock)(`li`,{class:(0,a.normalizeClass)([`nb-sidebar-menu-item`,[`nb-sidebar-menu-item--${v.value}`]]),role:`none`,onMouseenter:z,onMouseleave:B},[((0,a.openBlock)(),(0,a.createBlock)((0,a.resolveDynamicComponent)(O.value),(0,a.mergeProps)({ref_key:`rowRef`,ref:j,class:[`nb-sidebar-menu-item__row`,{"nb-sidebar-menu-item__row--active":e.active,"nb-sidebar-menu-item__row--disabled":e.disabled,"nb-sidebar-menu-item__row--expandable":S.value&&v.value===`verbose`,"nb-sidebar-menu-item__row--compact":v.value===`compact`}],type:O.value===`button`?`button`:void 0,to:D.value?e.to:void 0},k.value,{disabled:O.value===`button`&&!S.value&&e.disabled||void 0,"aria-disabled":e.disabled||void 0,"aria-expanded":S.value?v.value===`verbose`?C.value:N.value:void 0,"aria-haspopup":S.value&&v.value===`compact`?`menu`:void 0,"aria-label":v.value===`compact`?x.value:void 0,role:`menuitem`,onClick:A,onKeydown:J}),{default:(0,a.withCtx)(()=>[e.picture===void 0?e.icon?((0,a.openBlock)(),(0,a.createBlock)(t.t,{key:1,class:`nb-sidebar-menu-item__icon`,name:e.icon,size:v.value===`compact`?18:16},null,8,[`name`,`size`])):(0,a.createCommentVNode)(``,!0):((0,a.openBlock)(),(0,a.createBlock)(r.t,{key:0,class:`nb-sidebar-menu-item__icon nb-sidebar-menu-item__picture`,name:e.label,picture:e.picture,size:v.value===`compact`?18:16,decorative:``},null,8,[`name`,`picture`,`size`])),v.value===`verbose`?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:2},[(0,a.createElementVNode)(`span`,c,(0,a.toDisplayString)(e.label),1),e.badge===void 0?(0,a.createCommentVNode)(``,!0):((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:0,class:(0,a.normalizeClass)([`nb-sidebar-menu-item__badge`,[`nb-sidebar-menu-item__badge--${e.badgeVariant}`]])},(0,a.toDisplayString)(e.badge),3)),S.value?((0,a.openBlock)(),(0,a.createBlock)(t.t,{key:1,class:(0,a.normalizeClass)([`nb-sidebar-menu-item__caret`,{"nb-sidebar-menu-item__caret--expanded":C.value}]),name:(0,a.unref)(o.regular),size:`sm`},null,8,[`class`,`name`])):(0,a.createCommentVNode)(``,!0)],64)):b.value===void 0?e.badge===void 0?(0,a.createCommentVNode)(``,!0):((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:4,class:(0,a.normalizeClass)([`nb-sidebar-menu-item__badge-dot`,[`nb-sidebar-menu-item__badge-dot--${e.badgeVariant}`]]),title:String(e.badge)},null,10,l)):((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:3,class:(0,a.normalizeClass)([`nb-sidebar-menu-item__badge-count`,[`nb-sidebar-menu-item__badge-count--${e.badgeVariant}`]]),"aria-hidden":`true`},(0,a.toDisplayString)(b.value),3))]),_:1},16,[`class`,`type`,`to`,`disabled`,`aria-disabled`,`aria-expanded`,`aria-haspopup`,`aria-label`])),S.value&&v.value===`verbose`?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)(`ul`,u,[(0,a.renderSlot)(n.$slots,`default`,{},void 0,!0)],512)),[[a.vShow,C.value]]):(0,a.createCommentVNode)(``,!0),v.value===`compact`&&N.value?((0,a.openBlock)(),(0,a.createBlock)(a.Teleport,{key:1,to:`body`},[(0,a.createElementVNode)(`div`,{ref_key:`flyoutRef`,ref:M,class:`nb-sidebar-menu-item__flyout`,style:(0,a.normalizeStyle)(F.value),onMouseenter:V,onMouseleave:H,onKeydown:Y,onFocusout:X,onClick:Z},[(0,a.createElementVNode)(`div`,d,[(0,a.createElementVNode)(`span`,f,(0,a.toDisplayString)(e.label),1),e.badge===void 0?(0,a.createCommentVNode)(``,!0):((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:0,class:(0,a.normalizeClass)([`nb-sidebar-menu-item__badge`,[`nb-sidebar-menu-item__badge--${e.badgeVariant}`]])},(0,a.toDisplayString)(e.badge),3))]),S.value?((0,a.openBlock)(),(0,a.createBlock)(s,{key:0,variant:`verbose`},{default:(0,a.withCtx)(()=>[(0,a.createElementVNode)(`ul`,{class:`nb-sidebar-menu-item__flyout-children`,role:`menu`,"aria-label":e.label},[(0,a.renderSlot)(n.$slots,`default`,{},void 0,!0)],8,p)]),_:3})):(0,a.createCommentVNode)(``,!0)],36)])):(0,a.createCommentVNode)(``,!0)],34))}}),h=e.t(m,[[`__scopeId`,`data-v-8d63e3c1`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
1
+ require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./Icon-CssV4E2-.cjs`),n=require(`./composables/useRouterLink.composable.cjs`),r=require(`./Avatar-UO0ySqkY.cjs`),i=require(`./utils/slotContent.helper.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/caret-right`);var s=(0,a.defineComponent)({__name:`SidebarVariantScope`,props:{variant:{}},setup(e){return(0,a.provide)(`nb-shell-sidebar-variant`,(0,a.toRef)(e,`variant`)),(e,t)=>(0,a.renderSlot)(e.$slots,`default`)}}),c={class:`nb-sidebar-menu-item__label`},l=[`title`],u={key:0,class:`nb-sidebar-menu-item__children`,role:`group`},d={class:`nb-sidebar-menu-item__flyout-header`},f={class:`nb-sidebar-menu-item__flyout-label`},p=[`aria-label`],m=(0,a.defineComponent)({__name:`SidebarMenuItem`,props:{label:{},icon:{default:void 0},picture:{default:void 0},to:{default:void 0},href:{default:void 0},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},defaultExpanded:{type:Boolean,default:!1},badge:{default:void 0},badgeVariant:{default:`neutral`}},emits:[`click`],setup(e,{emit:m}){let h=e,g=m,_=(0,a.inject)(`nb-shell-sidebar-variant`,(0,a.ref)(`verbose`)),v=(0,a.computed)(()=>_.value),y=(0,a.useSlots)(),b=(0,a.computed)(()=>{let e=h.badge;if(e===void 0)return;let t=typeof e==`number`?e:Number(String(e).trim());if(!(!Number.isFinite(t)||String(e).trim()===``))return t>99?`99+`:String(t)}),x=(0,a.computed)(()=>h.badge===void 0?h.label:`${h.label} (${h.badge})`),S=(0,a.computed)(()=>{let e=y.default?.();return e?i.hasRenderableContent(e):!1}),C=(0,a.ref)(h.defaultExpanded||h.active),w=n.useRouterLink(),T=(0,a.computed)(()=>{if(typeof h.to==`string`)return h.to;if(h.href)return h.href}),E=(0,a.computed)(()=>S.value),D=(0,a.computed)(()=>h.to!=null&&!E.value&&!!w.value),O=(0,a.computed)(()=>E.value?`button`:D.value?w.value:T.value?`a`:`button`),k=(0,a.computed)(()=>O.value===`a`?{href:T.value}:{});function A(e){if(h.disabled){e.preventDefault();return}if(E.value&&v.value===`verbose`){C.value=!C.value;return}E.value&&v.value===`compact`&&q(e),g(`click`,e)}let j=(0,a.ref)(null),M=(0,a.ref)(null),N=(0,a.ref)(!1),P=(0,a.ref)(!1),F=(0,a.ref)({}),I=null;function L(){if(v.value!==`compact`)return;I&&=(clearTimeout(I),null);let e=U();if(!e)return;let t=e.getBoundingClientRect();F.value={top:`${t.top}px`,left:`${t.right+8}px`},N.value=!0}function R(){P.value||(I&&clearTimeout(I),I=setTimeout(()=>{N.value=!1,I=null},120))}function z(){L()}function B(){R()}function V(){I&&=(clearTimeout(I),null)}function H(){R()}function U(){let e=j.value;return e?e instanceof HTMLElement?e:e.$el??null:null}function W(e=!1){I&&=(clearTimeout(I),null),N.value=!1,P.value=!1,e&&U()?.focus()}function G(){let e=M.value;return e?Array.from(e.querySelectorAll(`[role="menuitem"]`)).filter(e=>!e.hasAttribute(`disabled`)&&e.getAttribute(`aria-disabled`)!==`true`&&!e.closest(`[style*="display: none"]`)):[]}async function K(e){L(),P.value=!0,e&&(await(0,a.nextTick)(),G()[0]?.focus())}function q(e){if(N.value&&P.value){W();return}K(e.detail===0)}function J(e){!E.value||v.value!==`compact`||(e.key===`ArrowRight`||e.key===`ArrowDown`?(e.preventDefault(),K(!0)):e.key===`Escape`&&N.value&&(e.preventDefault(),W(!0)))}function Y(e){let t=G(),n=t.indexOf(document.activeElement);switch(e.key){case`Escape`:case`ArrowLeft`:e.preventDefault(),e.stopPropagation(),W(!0);return;case`ArrowDown`:e.preventDefault(),t[(n+1)%t.length]?.focus();return;case`ArrowUp`:e.preventDefault(),t[(n-1+t.length)%t.length]?.focus();return;case`Home`:e.preventDefault(),t[0]?.focus();return;case`End`:e.preventDefault(),t[t.length-1]?.focus();return;case`Tab`:W(!0);return}}function X(e){let t=e.relatedTarget;t&&(M.value?.contains(t)||U()?.contains(t)||W())}function Z(e){let t=e.target?.closest(`[role="menuitem"]`);t&&!t.hasAttribute(`aria-expanded`)&&W()}function Q(e){let t=e.target;t&&(M.value?.contains(t)||U()?.contains(t)||W())}return(0,a.watch)(N,e=>{typeof document>`u`||(e?document.addEventListener(`pointerdown`,Q,!0):document.removeEventListener(`pointerdown`,Q,!0))}),(0,a.watch)(v,()=>W()),(0,a.onBeforeUnmount)(()=>{I&&clearTimeout(I),typeof document<`u`&&document.removeEventListener(`pointerdown`,Q,!0)}),(n,i)=>((0,a.openBlock)(),(0,a.createElementBlock)(`li`,{class:(0,a.normalizeClass)([`nb-sidebar-menu-item`,[`nb-sidebar-menu-item--${v.value}`]]),role:`none`,onMouseenter:z,onMouseleave:B},[((0,a.openBlock)(),(0,a.createBlock)((0,a.resolveDynamicComponent)(O.value),(0,a.mergeProps)({ref_key:`rowRef`,ref:j,class:[`nb-sidebar-menu-item__row`,{"nb-sidebar-menu-item__row--active":e.active,"nb-sidebar-menu-item__row--disabled":e.disabled,"nb-sidebar-menu-item__row--expandable":S.value&&v.value===`verbose`,"nb-sidebar-menu-item__row--compact":v.value===`compact`}],type:O.value===`button`?`button`:void 0,to:D.value?e.to:void 0},k.value,{disabled:O.value===`button`&&!S.value&&e.disabled||void 0,"aria-disabled":e.disabled||void 0,"aria-expanded":S.value?v.value===`verbose`?C.value:N.value:void 0,"aria-haspopup":S.value&&v.value===`compact`?`menu`:void 0,"aria-label":v.value===`compact`?x.value:void 0,role:`menuitem`,onClick:A,onKeydown:J}),{default:(0,a.withCtx)(()=>[e.picture===void 0?e.icon?((0,a.openBlock)(),(0,a.createBlock)(t.t,{key:1,class:`nb-sidebar-menu-item__icon`,name:e.icon,size:v.value===`compact`?18:16},null,8,[`name`,`size`])):(0,a.createCommentVNode)(``,!0):((0,a.openBlock)(),(0,a.createBlock)(r.t,{key:0,class:`nb-sidebar-menu-item__icon nb-sidebar-menu-item__picture`,name:e.label,picture:e.picture,size:v.value===`compact`?18:16,decorative:``},null,8,[`name`,`picture`,`size`])),v.value===`verbose`?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:2},[(0,a.createElementVNode)(`span`,c,(0,a.toDisplayString)(e.label),1),e.badge===void 0?(0,a.createCommentVNode)(``,!0):((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:0,class:(0,a.normalizeClass)([`nb-sidebar-menu-item__badge`,[`nb-sidebar-menu-item__badge--${e.badgeVariant}`]])},(0,a.toDisplayString)(e.badge),3)),S.value?((0,a.openBlock)(),(0,a.createBlock)(t.t,{key:1,class:(0,a.normalizeClass)([`nb-sidebar-menu-item__caret`,{"nb-sidebar-menu-item__caret--expanded":C.value}]),name:(0,a.unref)(o.regular),size:`sm`},null,8,[`class`,`name`])):(0,a.createCommentVNode)(``,!0)],64)):b.value===void 0?e.badge===void 0?(0,a.createCommentVNode)(``,!0):((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:4,class:(0,a.normalizeClass)([`nb-sidebar-menu-item__badge-dot`,[`nb-sidebar-menu-item__badge-dot--${e.badgeVariant}`]]),title:String(e.badge)},null,10,l)):((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:3,class:(0,a.normalizeClass)([`nb-sidebar-menu-item__badge-count`,[`nb-sidebar-menu-item__badge-count--${e.badgeVariant}`]]),"aria-hidden":`true`},(0,a.toDisplayString)(b.value),3))]),_:1},16,[`class`,`type`,`to`,`disabled`,`aria-disabled`,`aria-expanded`,`aria-haspopup`,`aria-label`])),S.value&&v.value===`verbose`?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)(`ul`,u,[(0,a.renderSlot)(n.$slots,`default`,{},void 0,!0)],512)),[[a.vShow,C.value]]):(0,a.createCommentVNode)(``,!0),v.value===`compact`&&N.value?((0,a.openBlock)(),(0,a.createBlock)(a.Teleport,{key:1,to:`body`},[(0,a.createElementVNode)(`div`,{ref_key:`flyoutRef`,ref:M,class:`nb-sidebar-menu-item__flyout`,style:(0,a.normalizeStyle)(F.value),onMouseenter:V,onMouseleave:H,onKeydown:Y,onFocusout:X,onClick:Z},[(0,a.createElementVNode)(`div`,d,[(0,a.createElementVNode)(`span`,f,(0,a.toDisplayString)(e.label),1),e.badge===void 0?(0,a.createCommentVNode)(``,!0):((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:0,class:(0,a.normalizeClass)([`nb-sidebar-menu-item__badge`,[`nb-sidebar-menu-item__badge--${e.badgeVariant}`]])},(0,a.toDisplayString)(e.badge),3))]),S.value?((0,a.openBlock)(),(0,a.createBlock)(s,{key:0,variant:`verbose`},{default:(0,a.withCtx)(()=>[(0,a.createElementVNode)(`ul`,{class:`nb-sidebar-menu-item__flyout-children`,role:`menu`,"aria-label":e.label},[(0,a.renderSlot)(n.$slots,`default`,{},void 0,!0)],8,p)]),_:3})):(0,a.createCommentVNode)(``,!0)],36)])):(0,a.createCommentVNode)(``,!0)],34))}}),h=e.t(m,[[`__scopeId`,`data-v-8a9f73a3`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
@@ -0,0 +1 @@
1
+ require(`./chunk-D-qHiVGv.cjs`);const e=require(`./composables/useReducedMotion.composable.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./composables/useStableId.composable.cjs`),r=require(`./useLoadingAnnouncer.composable-CEPRjDi3.cjs`);let i=require(`vue`);var a=function(e){return e.Text=`text`,e.Heading=`heading`,e.Block=`block`,e.Circle=`circle`,e.Button=`button`,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=`calc(var(--nb-base-unit) * 18.75)`,u=(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},size:{default:`md`},iconOnly:{type:Boolean,default:!1},radius:{default:`sm`},animated:{type:Boolean,default:!0},label:{default:void 0},completeLabel:{default:void 0},id:{default:void 0}},setup(t){let u=t,d=n.useStableId(u),f=e.useReducedMotion(),p=(0,i.ref)(``),m;(0,i.watch)(()=>u.label,e=>{if(m&&=(clearTimeout(m),void 0),!e){p.value=``;return}if(p.value!==``){p.value=e;return}m=setTimeout(()=>{m=void 0,p.value=e},0)},{immediate:!0}),(0,i.onBeforeUnmount)(()=>{m&&clearTimeout(m),r.t(u.completeLabel)});let h=[`label`,`label-sm`,`label-md`,`label-lg`,`helper-text`,`overline`,`body-sm`,`body-compact`,`body-md`,`body-lg`,`code-sm`,`code-md`,`code-lg`,`heading-compact`,`heading-01`,`heading-02`,`heading-03`,`heading-04`,`heading-05`,`heading-06`],g=(0,i.computed)(()=>u.type&&h.includes(u.type)?u.type:u.variant===a.Heading?`heading-02`:`body-md`),_=(0,i.computed)(()=>u.variant===a.Text||u.variant===a.Heading),v=(0,i.computed)(()=>u.variant===a.Text?Math.max(1,Math.floor(u.lines)):1);function y(e){if(e!=null)return typeof e==`number`?`${e}px`:e}let b=(0,i.computed)(()=>Array.from({length:v.value},(e,t)=>{let n=t===v.value-1;if(u.variant===a.Text&&v.value>1&&n)return{width:u.lastLineWidth}})),x={xxs:2,xs:3,sm:4,md:5,lg:6,xl:8,xxl:10},S=(0,i.computed)(()=>[`nb-skeleton`,`nb-skeleton--${u.variant}`,`nb-skeleton--radius-${u.radius}`,{"nb-skeleton--static":!u.animated,"nb-skeleton--reduced-motion":f.value}]),C=(0,i.computed)(()=>{let e={};if(_.value&&(e[`--nb-skeleton-font-size`]=`var(--nb-type-${g.value}-size)`,e[`--nb-skeleton-line-height`]=`var(--nb-type-${g.value}-line-height)`),u.variant===a.Button){let t=`calc(var(--nb-base-unit) * ${x[u.size]??x.md})`;return e[`--nb-skeleton-height`]=t,e.width=u.iconOnly?t:y(u.width)??l,e}if(u.variant===a.Circle){let t=y(u.height??u.width);return t&&(e.width=t,e[`--nb-skeleton-height`]=t),e}let t=y(u.width);t&&(e.width=t);let n=y(u.height);return n&&!_.value&&(e[`--nb-skeleton-height`]=n),e});return(e,n)=>((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{id:(0,i.unref)(d),class:(0,i.normalizeClass)(S.value),style:(0,i.normalizeStyle)(C.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)(p.value),1)):(0,i.createCommentVNode)(``,!0),(0,i.createElementVNode)(`div`,c,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(b.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))}}),d=t.t(u,[[`__scopeId`,`data-v-916b82e7`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return d}});
@@ -1,11 +1,11 @@
1
1
  import { useReducedMotion as e } from "./composables/useReducedMotion.composable.mjs";
2
2
  import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
3
3
  import { useStableId as n } from "./composables/useStableId.composable.mjs";
4
- import { t as r } from "./useLoadingAnnouncer.composable-BAwecV1M.js";
4
+ import { t as r } from "./useLoadingAnnouncer.composable-c0XX_xNT.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) {
8
- return e.Text = "text", e.Heading = "heading", e.Block = "block", e.Circle = "circle", e;
8
+ return e.Text = "text", e.Heading = "heading", e.Block = "block", e.Circle = "circle", e.Button = "button", e;
9
9
  }(y || {}), b = [
10
10
  "id",
11
11
  "role",
@@ -17,7 +17,7 @@ var y = /* @__PURE__ */ function(e) {
17
17
  }, S = {
18
18
  class: "nb-skeleton__lines",
19
19
  "aria-busy": "true"
20
- }, C = /* @__PURE__ */ t(/* @__PURE__ */ l({
20
+ }, C = "calc(var(--nb-base-unit) * 18.75)", w = /* @__PURE__ */ t(/* @__PURE__ */ l({
21
21
  __name: "Skeleton",
22
22
  props: {
23
23
  variant: { default: y.Text },
@@ -26,6 +26,11 @@ var y = /* @__PURE__ */ function(e) {
26
26
  lastLineWidth: { default: "60%" },
27
27
  width: { default: void 0 },
28
28
  height: { default: void 0 },
29
+ size: { default: "md" },
30
+ iconOnly: {
31
+ type: Boolean,
32
+ default: !1
33
+ },
29
34
  radius: { default: "sm" },
30
35
  animated: {
31
36
  type: Boolean,
@@ -36,23 +41,23 @@ var y = /* @__PURE__ */ function(e) {
36
41
  id: { default: void 0 }
37
42
  },
38
43
  setup(t) {
39
- let l = t, C = n(l), w = e(), T = m(""), E;
44
+ let l = t, w = n(l), T = e(), E = m(""), D;
40
45
  v(() => l.label, (e) => {
41
- if (E &&= (clearTimeout(E), void 0), !e) {
42
- T.value = "";
46
+ if (D &&= (clearTimeout(D), void 0), !e) {
47
+ E.value = "";
43
48
  return;
44
49
  }
45
- if (T.value !== "") {
46
- T.value = e;
50
+ if (E.value !== "") {
51
+ E.value = e;
47
52
  return;
48
53
  }
49
- E = setTimeout(() => {
50
- E = void 0, T.value = e;
54
+ D = setTimeout(() => {
55
+ D = void 0, E.value = e;
51
56
  }, 0);
52
57
  }, { immediate: !0 }), f(() => {
53
- E && clearTimeout(E), r(l.completeLabel);
58
+ D && clearTimeout(D), r(l.completeLabel);
54
59
  });
55
- let D = [
60
+ let O = [
56
61
  "label",
57
62
  "label-sm",
58
63
  "label-md",
@@ -73,40 +78,52 @@ var y = /* @__PURE__ */ function(e) {
73
78
  "heading-04",
74
79
  "heading-05",
75
80
  "heading-06"
76
- ], O = a(() => l.type && D.includes(l.type) ? l.type : l.variant === y.Heading ? "heading-02" : "body-md"), k = a(() => l.variant === y.Text || l.variant === y.Heading), A = a(() => l.variant === y.Text ? Math.max(1, Math.floor(l.lines)) : 1);
77
- function j(e) {
81
+ ], k = a(() => l.type && O.includes(l.type) ? l.type : l.variant === y.Heading ? "heading-02" : "body-md"), A = a(() => l.variant === y.Text || l.variant === y.Heading), j = a(() => l.variant === y.Text ? Math.max(1, Math.floor(l.lines)) : 1);
82
+ function M(e) {
78
83
  if (e != null) return typeof e == "number" ? `${e}px` : e;
79
84
  }
80
- let M = a(() => Array.from({ length: A.value }, (e, t) => {
81
- let n = t === A.value - 1;
82
- if (l.variant === y.Text && A.value > 1 && n) return { width: l.lastLineWidth };
83
- })), N = a(() => [
85
+ let N = a(() => Array.from({ length: j.value }, (e, t) => {
86
+ let n = t === j.value - 1;
87
+ if (l.variant === y.Text && j.value > 1 && n) return { width: l.lastLineWidth };
88
+ })), P = {
89
+ xxs: 2,
90
+ xs: 3,
91
+ sm: 4,
92
+ md: 5,
93
+ lg: 6,
94
+ xl: 8,
95
+ xxl: 10
96
+ }, F = a(() => [
84
97
  "nb-skeleton",
85
98
  `nb-skeleton--${l.variant}`,
86
99
  `nb-skeleton--radius-${l.radius}`,
87
100
  {
88
101
  "nb-skeleton--static": !l.animated,
89
- "nb-skeleton--reduced-motion": w.value
102
+ "nb-skeleton--reduced-motion": T.value
90
103
  }
91
- ]), P = a(() => {
104
+ ]), I = a(() => {
92
105
  let e = {};
93
- if (k.value && (e["--nb-skeleton-font-size"] = `var(--nb-type-${O.value}-size)`, e["--nb-skeleton-line-height"] = `var(--nb-type-${O.value}-line-height)`), l.variant === y.Circle) {
94
- let t = j(l.height ?? l.width);
106
+ if (A.value && (e["--nb-skeleton-font-size"] = `var(--nb-type-${k.value}-size)`, e["--nb-skeleton-line-height"] = `var(--nb-type-${k.value}-line-height)`), l.variant === y.Button) {
107
+ let t = `calc(var(--nb-base-unit) * ${P[l.size] ?? P.md})`;
108
+ return e["--nb-skeleton-height"] = t, e.width = l.iconOnly ? t : M(l.width) ?? C, e;
109
+ }
110
+ if (l.variant === y.Circle) {
111
+ let t = M(l.height ?? l.width);
95
112
  return t && (e.width = t, e["--nb-skeleton-height"] = t), e;
96
113
  }
97
- let t = j(l.width);
114
+ let t = M(l.width);
98
115
  t && (e.width = t);
99
- let n = j(l.height);
100
- return n && !k.value && (e["--nb-skeleton-height"] = n), e;
116
+ let n = M(l.height);
117
+ return n && !A.value && (e["--nb-skeleton-height"] = n), e;
101
118
  });
102
119
  return (e, n) => (p(), s("div", {
103
- id: _(C),
104
- class: u(N.value),
105
- style: d(P.value),
120
+ id: _(w),
121
+ class: u(F.value),
122
+ style: d(I.value),
106
123
  role: t.label ? "status" : void 0,
107
124
  "aria-live": t.label ? "polite" : void 0,
108
125
  "aria-hidden": t.label ? void 0 : "true"
109
- }, [t.label ? (p(), s("span", x, g(T.value), 1)) : o("", !0), c("div", S, [(p(!0), s(i, null, h(M.value, (e, t) => (p(), s("span", {
126
+ }, [t.label ? (p(), s("span", x, g(E.value), 1)) : o("", !0), c("div", S, [(p(!0), s(i, null, h(N.value, (e, t) => (p(), s("span", {
110
127
  key: t,
111
128
  class: "nb-skeleton__line"
112
129
  }, [c("span", {
@@ -114,6 +131,6 @@ var y = /* @__PURE__ */ function(e) {
114
131
  style: d(e)
115
132
  }, null, 4)]))), 128))])], 14, b));
116
133
  }
117
- }), [["__scopeId", "data-v-bb31df2c"]]);
134
+ }), [["__scopeId", "data-v-916b82e7"]]);
118
135
  //#endregion
119
- export { y as n, C as t };
136
+ export { y as n, w as t };
@@ -1 +1 @@
1
- require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./composables/useStableId.composable.cjs`),n=require(`./Size.d-BQ4_AVQe.cjs`),r=require(`./Label-CTOPIIbR.cjs`),i=require(`./Message-Bija1nMK.cjs`),a=require(`./Grid-C0muGlj3.cjs`),o=require(`./composables/useFieldMessage.composable.cjs`),s=require(`./NumberInput-CMxlZ54a.cjs`);let c=require(`vue`);var l={class:`nb-slider__field-box`},u={key:0,class:`nb-slider__inner-header`},d=[`id`],f={class:`nb-slider__track-row`},ee={key:0,class:`nb-slider__track-label`},te=[`tabindex`,`aria-valuemin`,`aria-valuemax`,`aria-valuenow`,`aria-labelledby`,`aria-disabled`,`aria-invalid`,`aria-describedby`],p=[`tabindex`,`aria-valuemin`,`aria-valuemax`,`aria-valuenow`,`aria-label`,`aria-labelledby`,`aria-disabled`,`aria-invalid`,`aria-describedby`],ne=[`tabindex`,`aria-valuemin`,`aria-valuemax`,`aria-valuenow`,`aria-label`,`aria-labelledby`,`aria-disabled`,`aria-invalid`,`aria-describedby`],re=[`id`],m=[`id`],ie={key:1,class:`nb-slider__track-label`},h=(0,c.defineComponent)({__name:`Slider`,props:{modelValue:{},min:{default:0},max:{default:100},step:{default:1},range:{type:Boolean,default:!1},showInput:{type:Boolean,default:!0},showBounds:{type:Boolean,default:!0},name:{},disabled:{type:Boolean,default:!1},required:{type:Boolean},id:{},label:{},error:{},warning:{},helper:{},variant:{default:`default`},size:{default:n.r.Medium}},emits:[`update:modelValue`,`change`],setup(e,{emit:n}){let h=e,g=n,_=(0,c.ref)(null),v=t.useStableId({}),y=(0,c.computed)(()=>h.id??v),b=(0,c.computed)(()=>`${y.value}-label`),{variant:x,text:S,messageId:C,invalid:w,live:T,key:E}=o.useFieldMessage(h,y),D=(0,c.ref)(null),O=(0,c.computed)(()=>h.range||h.modelValue===null||h.modelValue===void 0?h.min??0:Array.isArray(h.modelValue)?h.modelValue[0]??h.min??0:h.modelValue),k=(0,c.computed)(()=>!h.range||!Array.isArray(h.modelValue)?h.min??0:h.modelValue[0]??h.min??0),A=(0,c.computed)(()=>!h.range||!Array.isArray(h.modelValue)?h.max??100:h.modelValue[1]??h.max??100),j=(0,c.computed)(()=>{let e=h.step??1;if(!isFinite(e)||e<=0)return 0;let t=String(e),n=t.indexOf(`.`);return n===-1?0:t.length-n-1});function M(e){let t=j.value;return t>0?Number(e.toFixed(t)):Math.round(e)}let N=(0,c.computed)(()=>M(h.range?A.value:O.value));function P(e){let t=h.min??0,n=h.max??100;return n===t?0:(e-t)/(n-t)*100}function ae(e){let t=h.min??0,n=h.max??100,r=h.step??1,i=t+e/100*(n-t),a=Math.round(i/r)*r;return Math.max(t,Math.min(n,a))}function F(e){if(!_.value)return 0;let t=_.value.getBoundingClientRect(),n=`touches`in e?e.touches[0].clientX:e.clientX;return Math.max(0,Math.min(100,(n-t.left)/t.width*100))}let oe=(0,c.computed)(()=>{if(!h.range)return{left:`0%`,width:`${P(O.value)}%`};let e=P(k.value),t=P(A.value);return{left:`${e}%`,width:`${t-e}%`}});function I(e){g(`update:modelValue`,e)}function L(e,t){g(`update:modelValue`,[e,t])}function R(e){if(e===null)return;let t=h.min??0,n=h.max??100;I(Math.max(t,Math.min(n,e)))}function z(e){if(e===null)return;let t=h.min??0;L(Math.max(t,Math.min(A.value,e)),A.value)}function B(e){if(e===null)return;let t=h.max??100,n=Math.max(k.value,Math.min(t,e));L(k.value,n)}function V(e){if(!h.range)return null;let t=P(k.value),n=P(A.value);return Math.abs(e-t)<=Math.abs(e-n)?`low`:`high`}function H(e){let t=ae(e);if(!h.range){I(t);return}if(D.value===`low`)L(Math.min(t,A.value),A.value);else{let e=Math.max(t,k.value);L(k.value,e)}}function U(e){h.disabled||H(F(e))}function W(e){h.disabled||(g(`change`,h.range?[k.value,A.value]:O.value),H(F(e))),J()}function G(e){h.disabled||H(F(e))}function K(e){h.disabled||(g(`change`,h.range?[k.value,A.value]:O.value),H(F(e))),X()}function q(){document.addEventListener(`mousemove`,U),document.addEventListener(`mouseup`,W)}function J(){D.value=null,document.removeEventListener(`mousemove`,U),document.removeEventListener(`mouseup`,W)}function Y(){document.addEventListener(`touchmove`,G,{passive:!0}),document.addEventListener(`touchend`,K)}function X(){D.value=null,document.removeEventListener(`touchmove`,G),document.removeEventListener(`touchend`,K)}function se(e){if(h.disabled)return;let t=F(e);D.value=V(t),H(t),q()}function ce(e){if(h.disabled)return;let t=F(e);D.value=V(t),H(t),Y()}function Z(e,t){h.disabled||(D.value=h.range?e:null,q())}function Q(e,t){h.disabled||(D.value=h.range?e:null,Y())}function $(e,t){if(h.disabled)return;let n=h.min??0,r=h.max??100,i=h.step??1,a=e===`low`?k.value:e===`high`?A.value:O.value,o;switch(t.key){case`ArrowRight`:case`ArrowUp`:o=a+i;break;case`ArrowLeft`:case`ArrowDown`:o=a-i;break;case`PageUp`:o=a+i*10;break;case`PageDown`:o=a-i*10;break;case`Home`:o=n;break;case`End`:o=r;break;default:return}t.preventDefault(),o=M(o);let s;s=e===`low`?[Math.max(n,Math.min(A.value,o)),A.value]:e===`high`?[k.value,Math.max(k.value,Math.min(r,o))]:Math.max(n,Math.min(r,o)),g(`update:modelValue`,s),g(`change`,s)}(0,c.onBeforeUnmount)(()=>{J(),X()});let le=(0,c.computed)(()=>[`nb-slider`,`nb-slider--${h.size}`,`nb-slider--${h.variant}`,{"nb-slider--range":h.range,"nb-slider--disabled":h.disabled,"nb-slider--error":!!h.error,"nb-slider--warning":!h.error&&!!h.warning}]),ue=(0,c.computed)(()=>({"nb-slider__track-area--error":!!h.error,"nb-slider__track-area--warning":!h.error&&!!h.warning}));return(t,n)=>((0,c.openBlock)(),(0,c.createElementBlock)(`div`,{class:(0,c.normalizeClass)(le.value)},[e.variant===`default`&&e.label?((0,c.openBlock)(),(0,c.createBlock)(r.t,{key:0,id:b.value,class:`nb-slider__label`},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(e.label),1)]),_:1},8,[`id`])):(0,c.createCommentVNode)(``,!0),(0,c.createElementVNode)(`div`,l,[e.variant===`fluid`&&e.label?((0,c.openBlock)(),(0,c.createElementBlock)(`div`,u,[(0,c.createElementVNode)(`label`,{id:b.value,class:`nb-slider__inner-label`},(0,c.toDisplayString)(e.label),9,d)])):(0,c.createCommentVNode)(``,!0),(0,c.createVNode)(a.t,{dir:`row`,align:`center`,gap:`sm`,class:`nb-slider__row`},{default:(0,c.withCtx)(()=>[e.range&&e.showInput?((0,c.openBlock)(),(0,c.createBlock)(s.t,{key:0,size:e.variant===`fluid`?`sm`:e.size,"model-value":k.value,min:e.min,max:A.value,step:e.step,disabled:e.disabled,class:`nb-slider__input`,"onUpdate:modelValue":z,onChange:z},null,8,[`size`,`model-value`,`min`,`max`,`step`,`disabled`])):(0,c.createCommentVNode)(``,!0),(0,c.createVNode)(a.t,{dir:`col`,justify:`end`,gap:`xs`,class:(0,c.normalizeClass)([`nb-slider__track-area`,ue.value]),grow:``},{default:(0,c.withCtx)(()=>[(0,c.createElementVNode)(`div`,f,[e.showBounds?((0,c.openBlock)(),(0,c.createElementBlock)(`span`,ee,(0,c.toDisplayString)(e.min),1)):(0,c.createCommentVNode)(``,!0),(0,c.createElementVNode)(`div`,{ref_key:`trackRef`,ref:_,class:`nb-slider__track`,onMousedown:se,onTouchstartPassive:ce},[(0,c.createElementVNode)(`div`,{class:`nb-slider__track__fill`,style:(0,c.normalizeStyle)(oe.value)},null,4),e.range?((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:1},[(0,c.createElementVNode)(`div`,{class:`nb-slider__track__handle nb-slider__track__handle--low`,role:`slider`,tabindex:e.disabled?-1:0,"aria-valuemin":e.min,"aria-valuemax":A.value,"aria-valuenow":k.value,"aria-label":e.label?void 0:`Minimum`,"aria-labelledby":e.label?`${b.value} ${y.value}-low`:void 0,"aria-disabled":e.disabled||void 0,"aria-invalid":(0,c.unref)(w),"aria-describedby":(0,c.unref)(C),style:(0,c.normalizeStyle)({left:`${P(k.value)}%`}),onKeydown:n[3]||=e=>$(`low`,e),onMousedown:n[4]||=(0,c.withModifiers)(e=>Z(`low`,e),[`stop`]),onTouchstartPassive:n[5]||=(0,c.withModifiers)(e=>Q(`low`,e),[`stop`])},null,44,p),(0,c.createElementVNode)(`div`,{class:`nb-slider__track__handle nb-slider__track__handle--high`,role:`slider`,tabindex:e.disabled?-1:0,"aria-valuemin":k.value,"aria-valuemax":e.max,"aria-valuenow":A.value,"aria-label":e.label?void 0:`Maximum`,"aria-labelledby":e.label?`${b.value} ${y.value}-high`:void 0,"aria-disabled":e.disabled||void 0,"aria-invalid":(0,c.unref)(w),"aria-describedby":(0,c.unref)(C),style:(0,c.normalizeStyle)({left:`${P(A.value)}%`}),onKeydown:n[6]||=e=>$(`high`,e),onMousedown:n[7]||=(0,c.withModifiers)(e=>Z(`high`,e),[`stop`]),onTouchstartPassive:n[8]||=(0,c.withModifiers)(e=>Q(`high`,e),[`stop`])},null,44,ne),n[11]||=(0,c.createElementVNode)(`div`,{class:`nb-slider__tick`},null,-1),(0,c.createElementVNode)(`span`,{id:`${y.value}-low`,class:`nb-slider__sr-only`},` Minimum `,8,re),(0,c.createElementVNode)(`span`,{id:`${y.value}-high`,class:`nb-slider__sr-only`},` Maximum `,8,m)],64)):((0,c.openBlock)(),(0,c.createElementBlock)(`div`,{key:0,class:`nb-slider__track__handle`,role:`slider`,tabindex:e.disabled?-1:0,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":O.value,"aria-labelledby":e.label?b.value:void 0,"aria-disabled":e.disabled||void 0,"aria-invalid":(0,c.unref)(w),"aria-describedby":(0,c.unref)(C),style:(0,c.normalizeStyle)({left:`${P(O.value)}%`}),onKeydown:n[0]||=e=>$(null,e),onMousedown:n[1]||=(0,c.withModifiers)(e=>Z(null,e),[`stop`]),onTouchstartPassive:n[2]||=(0,c.withModifiers)(e=>Q(null,e),[`stop`])},null,44,te))],544),e.showBounds?((0,c.openBlock)(),(0,c.createElementBlock)(`span`,ie,(0,c.toDisplayString)(e.max),1)):(0,c.createCommentVNode)(``,!0)])]),_:1},8,[`class`]),e.showInput?((0,c.openBlock)(),(0,c.createBlock)(s.t,{key:1,size:e.variant===`fluid`?`sm`:e.size,"model-value":N.value,min:e.range?k.value:e.min,max:e.max,step:e.step,disabled:e.disabled,class:`nb-slider__input`,"onUpdate:modelValue":n[9]||=t=>e.range?B(t):R(t),onChange:n[10]||=t=>e.range?B(t):R(t)},null,8,[`size`,`model-value`,`min`,`max`,`step`,`disabled`])):(0,c.createCommentVNode)(``,!0)]),_:1})]),(0,c.unref)(x)?((0,c.openBlock)(),(0,c.createBlock)(i.t,{id:(0,c.unref)(C),key:(0,c.unref)(E),variant:(0,c.unref)(x),live:(0,c.unref)(T),class:`nb-slider__message`},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)((0,c.unref)(S)),1)]),_:1},8,[`id`,`variant`,`live`])):(0,c.createCommentVNode)(``,!0)],2))}}),g=e.t(h,[[`__scopeId`,`data-v-a29be5b4`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return g}});
1
+ require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./composables/useStableId.composable.cjs`),n=require(`./Size.d-BQ4_AVQe.cjs`),r=require(`./Label-CjxnZgNy.cjs`),i=require(`./Message-BJO4MjiQ.cjs`),a=require(`./Grid-BOtE_jXr.cjs`),o=require(`./composables/useFieldMessage.composable.cjs`),s=require(`./NumberInput-CcXqTINb.cjs`);let c=require(`vue`);var l={class:`nb-slider__field-box`},u={key:0,class:`nb-slider__inner-header`},d=[`id`],f={class:`nb-slider__track-row`},ee={key:0,class:`nb-slider__track-label`},te=[`tabindex`,`aria-valuemin`,`aria-valuemax`,`aria-valuenow`,`aria-labelledby`,`aria-disabled`,`aria-invalid`,`aria-describedby`],p=[`tabindex`,`aria-valuemin`,`aria-valuemax`,`aria-valuenow`,`aria-label`,`aria-labelledby`,`aria-disabled`,`aria-invalid`,`aria-describedby`],ne=[`tabindex`,`aria-valuemin`,`aria-valuemax`,`aria-valuenow`,`aria-label`,`aria-labelledby`,`aria-disabled`,`aria-invalid`,`aria-describedby`],re=[`id`],m=[`id`],ie={key:1,class:`nb-slider__track-label`},h=(0,c.defineComponent)({__name:`Slider`,props:{modelValue:{},min:{default:0},max:{default:100},step:{default:1},range:{type:Boolean,default:!1},showInput:{type:Boolean,default:!0},showBounds:{type:Boolean,default:!0},name:{},disabled:{type:Boolean,default:!1},required:{type:Boolean},id:{},label:{},error:{},warning:{},helper:{},variant:{default:`default`},size:{default:n.r.Medium}},emits:[`update:modelValue`,`change`],setup(e,{emit:n}){let h=e,g=n,_=(0,c.ref)(null),v=t.useStableId({}),y=(0,c.computed)(()=>h.id??v),b=(0,c.computed)(()=>`${y.value}-label`),{variant:x,text:S,messageId:C,invalid:w,live:T,key:E}=o.useFieldMessage(h,y),D=(0,c.ref)(null),O=(0,c.computed)(()=>h.range||h.modelValue===null||h.modelValue===void 0?h.min??0:Array.isArray(h.modelValue)?h.modelValue[0]??h.min??0:h.modelValue),k=(0,c.computed)(()=>!h.range||!Array.isArray(h.modelValue)?h.min??0:h.modelValue[0]??h.min??0),A=(0,c.computed)(()=>!h.range||!Array.isArray(h.modelValue)?h.max??100:h.modelValue[1]??h.max??100),j=(0,c.computed)(()=>{let e=h.step??1;if(!isFinite(e)||e<=0)return 0;let t=String(e),n=t.indexOf(`.`);return n===-1?0:t.length-n-1});function M(e){let t=j.value;return t>0?Number(e.toFixed(t)):Math.round(e)}let N=(0,c.computed)(()=>M(h.range?A.value:O.value));function P(e){let t=h.min??0,n=h.max??100;return n===t?0:(e-t)/(n-t)*100}function ae(e){let t=h.min??0,n=h.max??100,r=h.step??1,i=t+e/100*(n-t),a=Math.round(i/r)*r;return Math.max(t,Math.min(n,a))}function F(e){if(!_.value)return 0;let t=_.value.getBoundingClientRect(),n=`touches`in e?e.touches[0].clientX:e.clientX;return Math.max(0,Math.min(100,(n-t.left)/t.width*100))}let oe=(0,c.computed)(()=>{if(!h.range)return{left:`0%`,width:`${P(O.value)}%`};let e=P(k.value),t=P(A.value);return{left:`${e}%`,width:`${t-e}%`}});function I(e){g(`update:modelValue`,e)}function L(e,t){g(`update:modelValue`,[e,t])}function R(e){if(e===null)return;let t=h.min??0,n=h.max??100;I(Math.max(t,Math.min(n,e)))}function z(e){if(e===null)return;let t=h.min??0;L(Math.max(t,Math.min(A.value,e)),A.value)}function B(e){if(e===null)return;let t=h.max??100,n=Math.max(k.value,Math.min(t,e));L(k.value,n)}function V(e){if(!h.range)return null;let t=P(k.value),n=P(A.value);return Math.abs(e-t)<=Math.abs(e-n)?`low`:`high`}function H(e){let t=ae(e);if(!h.range){I(t);return}if(D.value===`low`)L(Math.min(t,A.value),A.value);else{let e=Math.max(t,k.value);L(k.value,e)}}function U(e){h.disabled||H(F(e))}function W(e){h.disabled||(g(`change`,h.range?[k.value,A.value]:O.value),H(F(e))),J()}function G(e){h.disabled||H(F(e))}function K(e){h.disabled||(g(`change`,h.range?[k.value,A.value]:O.value),H(F(e))),X()}function q(){document.addEventListener(`mousemove`,U),document.addEventListener(`mouseup`,W)}function J(){D.value=null,document.removeEventListener(`mousemove`,U),document.removeEventListener(`mouseup`,W)}function Y(){document.addEventListener(`touchmove`,G,{passive:!0}),document.addEventListener(`touchend`,K)}function X(){D.value=null,document.removeEventListener(`touchmove`,G),document.removeEventListener(`touchend`,K)}function se(e){if(h.disabled)return;let t=F(e);D.value=V(t),H(t),q()}function ce(e){if(h.disabled)return;let t=F(e);D.value=V(t),H(t),Y()}function Z(e,t){h.disabled||(D.value=h.range?e:null,q())}function Q(e,t){h.disabled||(D.value=h.range?e:null,Y())}function $(e,t){if(h.disabled)return;let n=h.min??0,r=h.max??100,i=h.step??1,a=e===`low`?k.value:e===`high`?A.value:O.value,o;switch(t.key){case`ArrowRight`:case`ArrowUp`:o=a+i;break;case`ArrowLeft`:case`ArrowDown`:o=a-i;break;case`PageUp`:o=a+i*10;break;case`PageDown`:o=a-i*10;break;case`Home`:o=n;break;case`End`:o=r;break;default:return}t.preventDefault(),o=M(o);let s;s=e===`low`?[Math.max(n,Math.min(A.value,o)),A.value]:e===`high`?[k.value,Math.max(k.value,Math.min(r,o))]:Math.max(n,Math.min(r,o)),g(`update:modelValue`,s),g(`change`,s)}(0,c.onBeforeUnmount)(()=>{J(),X()});let le=(0,c.computed)(()=>[`nb-slider`,`nb-slider--${h.size}`,`nb-slider--${h.variant}`,{"nb-slider--range":h.range,"nb-slider--disabled":h.disabled,"nb-slider--error":!!h.error,"nb-slider--warning":!h.error&&!!h.warning}]),ue=(0,c.computed)(()=>({"nb-slider__track-area--error":!!h.error,"nb-slider__track-area--warning":!h.error&&!!h.warning}));return(t,n)=>((0,c.openBlock)(),(0,c.createElementBlock)(`div`,{class:(0,c.normalizeClass)(le.value)},[e.variant===`default`&&e.label?((0,c.openBlock)(),(0,c.createBlock)(r.t,{key:0,id:b.value,class:`nb-slider__label`},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(e.label),1)]),_:1},8,[`id`])):(0,c.createCommentVNode)(``,!0),(0,c.createElementVNode)(`div`,l,[e.variant===`fluid`&&e.label?((0,c.openBlock)(),(0,c.createElementBlock)(`div`,u,[(0,c.createElementVNode)(`label`,{id:b.value,class:`nb-slider__inner-label`},(0,c.toDisplayString)(e.label),9,d)])):(0,c.createCommentVNode)(``,!0),(0,c.createVNode)(a.t,{dir:`row`,align:`center`,gap:`sm`,class:`nb-slider__row`},{default:(0,c.withCtx)(()=>[e.range&&e.showInput?((0,c.openBlock)(),(0,c.createBlock)(s.t,{key:0,size:e.variant===`fluid`?`sm`:e.size,"model-value":k.value,min:e.min,max:A.value,step:e.step,disabled:e.disabled,class:`nb-slider__input`,"onUpdate:modelValue":z,onChange:z},null,8,[`size`,`model-value`,`min`,`max`,`step`,`disabled`])):(0,c.createCommentVNode)(``,!0),(0,c.createVNode)(a.t,{dir:`col`,justify:`end`,gap:`xs`,class:(0,c.normalizeClass)([`nb-slider__track-area`,ue.value]),grow:``},{default:(0,c.withCtx)(()=>[(0,c.createElementVNode)(`div`,f,[e.showBounds?((0,c.openBlock)(),(0,c.createElementBlock)(`span`,ee,(0,c.toDisplayString)(e.min),1)):(0,c.createCommentVNode)(``,!0),(0,c.createElementVNode)(`div`,{ref_key:`trackRef`,ref:_,class:`nb-slider__track`,onMousedown:se,onTouchstartPassive:ce},[(0,c.createElementVNode)(`div`,{class:`nb-slider__track__fill`,style:(0,c.normalizeStyle)(oe.value)},null,4),e.range?((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:1},[(0,c.createElementVNode)(`div`,{class:`nb-slider__track__handle nb-slider__track__handle--low`,role:`slider`,tabindex:e.disabled?-1:0,"aria-valuemin":e.min,"aria-valuemax":A.value,"aria-valuenow":k.value,"aria-label":e.label?void 0:`Minimum`,"aria-labelledby":e.label?`${b.value} ${y.value}-low`:void 0,"aria-disabled":e.disabled||void 0,"aria-invalid":(0,c.unref)(w),"aria-describedby":(0,c.unref)(C),style:(0,c.normalizeStyle)({left:`${P(k.value)}%`}),onKeydown:n[3]||=e=>$(`low`,e),onMousedown:n[4]||=(0,c.withModifiers)(e=>Z(`low`,e),[`stop`]),onTouchstartPassive:n[5]||=(0,c.withModifiers)(e=>Q(`low`,e),[`stop`])},null,44,p),(0,c.createElementVNode)(`div`,{class:`nb-slider__track__handle nb-slider__track__handle--high`,role:`slider`,tabindex:e.disabled?-1:0,"aria-valuemin":k.value,"aria-valuemax":e.max,"aria-valuenow":A.value,"aria-label":e.label?void 0:`Maximum`,"aria-labelledby":e.label?`${b.value} ${y.value}-high`:void 0,"aria-disabled":e.disabled||void 0,"aria-invalid":(0,c.unref)(w),"aria-describedby":(0,c.unref)(C),style:(0,c.normalizeStyle)({left:`${P(A.value)}%`}),onKeydown:n[6]||=e=>$(`high`,e),onMousedown:n[7]||=(0,c.withModifiers)(e=>Z(`high`,e),[`stop`]),onTouchstartPassive:n[8]||=(0,c.withModifiers)(e=>Q(`high`,e),[`stop`])},null,44,ne),n[11]||=(0,c.createElementVNode)(`div`,{class:`nb-slider__tick`},null,-1),(0,c.createElementVNode)(`span`,{id:`${y.value}-low`,class:`nb-slider__sr-only`},` Minimum `,8,re),(0,c.createElementVNode)(`span`,{id:`${y.value}-high`,class:`nb-slider__sr-only`},` Maximum `,8,m)],64)):((0,c.openBlock)(),(0,c.createElementBlock)(`div`,{key:0,class:`nb-slider__track__handle`,role:`slider`,tabindex:e.disabled?-1:0,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":O.value,"aria-labelledby":e.label?b.value:void 0,"aria-disabled":e.disabled||void 0,"aria-invalid":(0,c.unref)(w),"aria-describedby":(0,c.unref)(C),style:(0,c.normalizeStyle)({left:`${P(O.value)}%`}),onKeydown:n[0]||=e=>$(null,e),onMousedown:n[1]||=(0,c.withModifiers)(e=>Z(null,e),[`stop`]),onTouchstartPassive:n[2]||=(0,c.withModifiers)(e=>Q(null,e),[`stop`])},null,44,te))],544),e.showBounds?((0,c.openBlock)(),(0,c.createElementBlock)(`span`,ie,(0,c.toDisplayString)(e.max),1)):(0,c.createCommentVNode)(``,!0)])]),_:1},8,[`class`]),e.showInput?((0,c.openBlock)(),(0,c.createBlock)(s.t,{key:1,size:e.variant===`fluid`?`sm`:e.size,"model-value":N.value,min:e.range?k.value:e.min,max:e.max,step:e.step,disabled:e.disabled,class:`nb-slider__input`,"onUpdate:modelValue":n[9]||=t=>e.range?B(t):R(t),onChange:n[10]||=t=>e.range?B(t):R(t)},null,8,[`size`,`model-value`,`min`,`max`,`step`,`disabled`])):(0,c.createCommentVNode)(``,!0)]),_:1})]),(0,c.unref)(x)?((0,c.openBlock)(),(0,c.createBlock)(i.t,{id:(0,c.unref)(C),key:(0,c.unref)(E),variant:(0,c.unref)(x),live:(0,c.unref)(T),class:`nb-slider__message`},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)((0,c.unref)(S)),1)]),_:1},8,[`id`,`variant`,`live`])):(0,c.createCommentVNode)(``,!0)],2))}}),g=e.t(h,[[`__scopeId`,`data-v-a29be5b4`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return g}});
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
2
2
  import { useStableId as t } from "./composables/useStableId.composable.mjs";
3
3
  import { r as n } from "./Size.d-DY4ZHW3-.js";
4
- import { t as r } from "./Label-BDMCrURR.js";
5
- import { t as i } from "./Message-BONOwoVY.js";
6
- import { t as a } from "./Grid-jlgLOwom.js";
4
+ import { t as r } from "./Label-xwHw_UbN.js";
5
+ import { t as i } from "./Message-DCeg8qsC.js";
6
+ import { t as a } from "./Grid-B7d8x0tA.js";
7
7
  import { useFieldMessage as o } from "./composables/useFieldMessage.composable.mjs";
8
- import { t as s } from "./NumberInput-Dy0leAIF.js";
8
+ import { t as s } from "./NumberInput-DfrhQayO.js";
9
9
  import { Fragment as ee, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as te, openBlock as v, ref as y, toDisplayString as b, unref as x, withCtx as S, withModifiers as C } from "vue";
10
10
  //#region src/components/Slider.vue?vue&type=script&setup=true&lang.ts
11
11
  var ne = { class: "nb-slider__field-box" }, re = {
@@ -1 +1 @@
1
- require(`./chunk-D-qHiVGv.cjs`);const e=require(`./composables/useReducedMotion.composable.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./composables/useStableId.composable.cjs`),r=require(`./composables/useNbStrings.composable.cjs`),i=require(`./useLoadingAnnouncer.composable-Dn1mqnqe.cjs`);let a=require(`vue`);var o=function(e){return e.ExtraSmall=`xs`,e.Small=`sm`,e.Medium=`md`,e.Large=`lg`,e}(o||{}),s=function(e){return e.None=`none`,e.Container=`container`,e.Page=`page`,e}(s||{}),c=function(e){return e.Primary=`primary`,e.Inherit=`inherit`,e}(c||{}),l=[`id`,`tabindex`,`role`,`aria-live`,`aria-hidden`],u={key:0,class:`nb-spinner__label`,"aria-hidden":`true`},d={key:1,class:`nb-spinner__announcement`},f=!1,p=(0,a.defineComponent)({inheritAttrs:!1,__name:`Spinner`,props:{size:{default:o.Medium},label:{default:void 0},showLabel:{type:Boolean,default:!1},overlay:{default:s.None},tone:{default:c.Primary},delay:{default:0},completeLabel:{default:void 0},decorative:{type:Boolean,default:!1},id:{default:void 0}},setup(t){let o=t,c=n.useStableId(o),p=r.useNbStrings(),m=(0,a.computed)(()=>o.label??p.value.spinnerLabel),h=Symbol(`nb-spinner-page-overlay`),g=(0,a.ref)(null),_=e.useReducedMotion(),v=(0,a.computed)(()=>o.overlay===s.Page),y=(0,a.computed)(()=>o.overlay===s.Container),b=(0,a.computed)(()=>o.decorative&&!v.value),x=(0,a.computed)(()=>!b.value),S=(0,a.ref)(o.delay<=0),C;function w(){C&&=(clearTimeout(C),void 0)}(0,a.watch)(()=>o.delay,e=>{if(!S.value){if(w(),e<=0){S.value=!0;return}C=setTimeout(()=>{C=void 0,S.value=!0},e)}},{immediate:!0});let T=(0,a.ref)(``),E;function D(){E&&=(clearTimeout(E),void 0)}(0,a.watch)([S,x,m],([e,t,n])=>{if(D(),!e||!t){T.value=``;return}if(T.value!==``){T.value=n;return}E=setTimeout(()=>{E=void 0,T.value=n},0)},{immediate:!0});function O(){typeof process<`u`&&process.env.NODE_ENV===`production`||f||o.label!==void 0||b.value||(f=!0,console.warn('[nubisco-ui] NbSpinner has no `label`, so it announces "'+m.value+'". Name what is loading ("Loading invoices"), or mark the spinner `decorative` when something else already announces the load.'))}let k=null,A=null;function j(){if(k===null)return;let e=k;k=null,e===`page`&&i.u(h),A?.(),A=null}function M(){let e=S.value?v.value?`page`:y.value?`container`:null:null;if(e===k||(j(),e===null))return;let t=g.value;if(!t)return;if(k=e,e===`page`){i.o(h,t);return}let n=t.parentElement;n&&(A=i.s(n,t))}(0,a.watch)([S,()=>o.overlay],M,{flush:`post`}),(0,a.onMounted)(M),(0,a.onMounted)(O),(0,a.onBeforeUnmount)(()=>{S.value&&x.value&&i.t(o.completeLabel),w(),D(),j()});let N=(0,a.computed)(()=>[`nb-spinner`,`nb-spinner--${o.size}`,`nb-spinner--tone-${o.tone}`,`nb-spinner--overlay-${o.overlay}`,{"nb-spinner--with-label":o.showLabel&&!b.value,"nb-spinner--reduced-motion":_.value,"nb-spinner--overlay-stacked":v.value&&S.value&&!i.c(h)}]);return(e,n)=>((0,a.openBlock)(),(0,a.createBlock)(a.Teleport,{to:`body`,disabled:!v.value},[S.value?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,(0,a.mergeProps)({key:0},e.$attrs,{id:(0,a.unref)(c),ref_key:`rootEl`,ref:g,class:N.value,tabindex:v.value?-1:void 0,role:x.value?`status`:void 0,"aria-live":x.value?`polite`:void 0,"aria-hidden":b.value?`true`:void 0}),[n[1]||=(0,a.createElementVNode)(`svg`,{class:`nb-spinner__ring`,viewBox:`0 0 32 32`,"aria-hidden":`true`,focusable:`false`},[(0,a.createElementVNode)(`circle`,{class:`nb-spinner__track`,cx:`16`,cy:`16`,r:`14`}),(0,a.createElementVNode)(`circle`,{class:`nb-spinner__arc`,cx:`16`,cy:`16`,r:`14`})],-1),t.showLabel&&!b.value?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,u,(0,a.toDisplayString)(m.value),1)):(0,a.createCommentVNode)(``,!0),x.value?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,d,(0,a.toDisplayString)(T.value),1)):(0,a.createCommentVNode)(``,!0),e.$slots.default?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:2,class:`nb-spinner__actions`,"aria-live":`off`,onClick:n[0]||=(0,a.withModifiers)(()=>{},[`stop`])},[(0,a.renderSlot)(e.$slots,`default`,{},void 0,!0)])):(0,a.createCommentVNode)(``,!0)],16,l)):(0,a.createCommentVNode)(``,!0)],8,[`disabled`]))}}),m=t.t(p,[[`__scopeId`,`data-v-833f43a0`]]);Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return m}});
1
+ require(`./chunk-D-qHiVGv.cjs`);const e=require(`./composables/useReducedMotion.composable.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./composables/useStableId.composable.cjs`),r=require(`./composables/useNbStrings.composable.cjs`),i=require(`./useLoadingAnnouncer.composable-CEPRjDi3.cjs`);let a=require(`vue`);var o=function(e){return e.ExtraSmall=`xs`,e.Small=`sm`,e.Medium=`md`,e.Large=`lg`,e}(o||{}),s=function(e){return e.None=`none`,e.Container=`container`,e.Page=`page`,e}(s||{}),c=function(e){return e.Primary=`primary`,e.Inherit=`inherit`,e}(c||{}),l=[`id`,`tabindex`,`role`,`aria-live`,`aria-hidden`],u={key:0,class:`nb-spinner__label`,"aria-hidden":`true`},d={key:1,class:`nb-spinner__announcement`},f=!1,p=(0,a.defineComponent)({inheritAttrs:!1,__name:`Spinner`,props:{size:{default:o.Medium},label:{default:void 0},showLabel:{type:Boolean,default:!1},overlay:{default:s.None},tone:{default:c.Primary},delay:{default:0},completeLabel:{default:void 0},decorative:{type:Boolean,default:!1},id:{default:void 0}},setup(t){let o=t,c=n.useStableId(o),p=r.useNbStrings(),m=(0,a.computed)(()=>o.label??p.value.spinnerLabel),h=Symbol(`nb-spinner-page-overlay`),g=(0,a.ref)(null),_=e.useReducedMotion(),v=(0,a.computed)(()=>o.overlay===s.Page),y=(0,a.computed)(()=>o.overlay===s.Container),b=(0,a.computed)(()=>o.decorative&&!v.value),x=(0,a.computed)(()=>!b.value),S=(0,a.ref)(o.delay<=0),C;function w(){C&&=(clearTimeout(C),void 0)}(0,a.watch)(()=>o.delay,e=>{if(!S.value){if(w(),e<=0){S.value=!0;return}C=setTimeout(()=>{C=void 0,S.value=!0},e)}},{immediate:!0});let T=(0,a.ref)(``),E;function D(){E&&=(clearTimeout(E),void 0)}(0,a.watch)([S,x,m],([e,t,n])=>{if(D(),!e||!t){T.value=``;return}if(T.value!==``){T.value=n;return}E=setTimeout(()=>{E=void 0,T.value=n},0)},{immediate:!0});function O(){typeof process<`u`&&process.env.NODE_ENV===`production`||f||o.label!==void 0||b.value||(f=!0,console.warn('[nubisco-ui] NbSpinner has no `label`, so it announces "'+m.value+'". Name what is loading ("Loading invoices"), or mark the spinner `decorative` when something else already announces the load.'))}let k=null,A=null;function j(){if(k===null)return;let e=k;k=null,e===`page`&&i.u(h),A?.(),A=null}function M(){let e=S.value?v.value?`page`:y.value?`container`:null:null;if(e===k||(j(),e===null))return;let t=g.value;if(!t)return;if(k=e,e===`page`){i.o(h,t);return}let n=t.parentElement;n&&(A=i.s(n,t))}(0,a.watch)([S,()=>o.overlay],M,{flush:`post`}),(0,a.onMounted)(M),(0,a.onMounted)(O),(0,a.onBeforeUnmount)(()=>{S.value&&x.value&&i.t(o.completeLabel),w(),D(),j()});let N=(0,a.computed)(()=>[`nb-spinner`,`nb-spinner--${o.size}`,`nb-spinner--tone-${o.tone}`,`nb-spinner--overlay-${o.overlay}`,{"nb-spinner--with-label":o.showLabel&&!b.value,"nb-spinner--reduced-motion":_.value,"nb-spinner--overlay-stacked":v.value&&S.value&&!i.c(h)}]);return(e,n)=>((0,a.openBlock)(),(0,a.createBlock)(a.Teleport,{to:`body`,disabled:!v.value},[S.value?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,(0,a.mergeProps)({key:0},e.$attrs,{id:(0,a.unref)(c),ref_key:`rootEl`,ref:g,class:N.value,tabindex:v.value?-1:void 0,role:x.value?`status`:void 0,"aria-live":x.value?`polite`:void 0,"aria-hidden":b.value?`true`:void 0}),[n[1]||=(0,a.createElementVNode)(`svg`,{class:`nb-spinner__ring`,viewBox:`0 0 32 32`,"aria-hidden":`true`,focusable:`false`},[(0,a.createElementVNode)(`circle`,{class:`nb-spinner__track`,cx:`16`,cy:`16`,r:`14`}),(0,a.createElementVNode)(`circle`,{class:`nb-spinner__arc`,cx:`16`,cy:`16`,r:`14`})],-1),t.showLabel&&!b.value?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,u,(0,a.toDisplayString)(m.value),1)):(0,a.createCommentVNode)(``,!0),x.value?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,d,(0,a.toDisplayString)(T.value),1)):(0,a.createCommentVNode)(``,!0),e.$slots.default?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:2,class:`nb-spinner__actions`,"aria-live":`off`,onClick:n[0]||=(0,a.withModifiers)(()=>{},[`stop`])},[(0,a.renderSlot)(e.$slots,`default`,{},void 0,!0)])):(0,a.createCommentVNode)(``,!0)],16,l)):(0,a.createCommentVNode)(``,!0)],8,[`disabled`]))}}),m=t.t(p,[[`__scopeId`,`data-v-833f43a0`]]);Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return m}});
@@ -2,7 +2,7 @@ import { useReducedMotion as e } from "./composables/useReducedMotion.composable
2
2
  import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
3
3
  import { useStableId as n } from "./composables/useStableId.composable.mjs";
4
4
  import { useNbStrings as r } from "./composables/useNbStrings.composable.mjs";
5
- import { c as i, o as a, s as o, t as s, u as c } from "./useLoadingAnnouncer.composable-BAwecV1M.js";
5
+ import { c as i, o as a, s as o, t as s, u as c } from "./useLoadingAnnouncer.composable-c0XX_xNT.js";
6
6
  import { Teleport as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, defineComponent as h, mergeProps as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderSlot as x, toDisplayString as S, unref as C, watch as w, withModifiers as T } from "vue";
7
7
  //#region src/components/Spinner.d.ts
8
8
  var E = /* @__PURE__ */ function(e) {
@@ -1 +1 @@
1
- const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./composables/useSurfaceLayer.composable.cjs`),i=require(`./Card.link-eRkbFiF1.cjs`),a=require(`./Skeleton-CqZ9O0X0.cjs`);let o=require(`vue`),s=require(`@nubisco/ui/icons/arrow-up-right`);s=e.n(s);let c=require(`@nubisco/ui/icons/arrow-down-right`);c=e.n(c);let l=require(`@nubisco/ui/icons/minus`);l=e.n(l);var u={class:`nb-stat__label`},d={class:`nb-stat__value`},f={key:1},p={key:2,class:`nb-stat__comparison`},m=(0,o.defineComponent)({__name:`Stat`,props:{label:{},value:{default:void 0},status:{default:`neutral`},delta:{default:void 0},trend:{default:void 0},invertTrend:{type:Boolean,default:!1},comparison:{default:void 0},size:{default:`md`},loading:{type:Boolean,default:!1},to:{default:void 0},href:{default:void 0},target:{default:void 0},clickable:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:[`select`],setup(e,{emit:t}){let m=e,h=t,{layerProps:g}=r.useSurfaceLayer(),{tag:_,attrs:v,isInteractive:y,onClick:b,onKeydown:x}=i.t(m,e=>h(`select`,e)),S=(0,o.computed)(()=>m.size===`lg`?36:m.size===`sm`?20:28),C=(0,o.computed)(()=>m.trend===`up`?s:m.trend===`down`?c:m.trend===`flat`?l:null),w=(0,o.computed)(()=>m.trend===`up`?m.invertTrend?`negative`:`positive`:m.trend===`down`?m.invertTrend?`positive`:`negative`:`neutral`);return(t,r)=>((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)((0,o.unref)(_)),(0,o.mergeProps)({class:[`nb-stat`,[`nb-stat--${e.status}`,`nb-stat--${e.size}`,{"nb-stat--interactive":(0,o.unref)(y),"nb-stat--selected":e.selected,"nb-stat--disabled":e.disabled}]]},{...(0,o.unref)(v),...(0,o.unref)(g)},{"aria-busy":e.loading?!0:void 0,onClick:(0,o.unref)(b),onKeydown:(0,o.unref)(x)}),{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)(`span`,u,[(0,o.renderSlot)(t.$slots,`label`,{},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.label),1)],!0)]),(0,o.createElementVNode)(`span`,d,[e.loading?((0,o.openBlock)(),(0,o.createBlock)(a.t,{key:0,variant:`block`,height:S.value,width:`4.5ch`,radius:`sm`},null,8,[`height`])):(0,o.renderSlot)(t.$slots,`value`,{key:1},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.value),1)],!0)]),!e.loading&&(e.delta||e.trend||e.comparison||t.$slots.delta)?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,{key:0,class:(0,o.normalizeClass)([`nb-stat__delta`,e.trend?`nb-stat__delta--${w.value}`:null])},[(0,o.renderSlot)(t.$slots,`delta`,{},()=>[C.value?((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:0,name:C.value,size:`sm`,class:`nb-stat__trend`,"aria-hidden":`true`},null,8,[`name`])):(0,o.createCommentVNode)(``,!0),e.delta?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,f,(0,o.toDisplayString)(e.delta),1)):(0,o.createCommentVNode)(``,!0),e.comparison?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,p,(0,o.toDisplayString)(e.comparison),1)):(0,o.createCommentVNode)(``,!0)],!0)],2)):(0,o.createCommentVNode)(``,!0)]),_:3},16,[`class`,`aria-busy`,`onClick`,`onKeydown`]))}}),h=t.t(m,[[`__scopeId`,`data-v-f708c9e1`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
1
+ const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./composables/useSurfaceLayer.composable.cjs`),i=require(`./Card.link-Bw2B_lPO.cjs`),a=require(`./Skeleton-CMuZJ1dR.cjs`);let o=require(`vue`),s=require(`@nubisco/ui/icons/arrow-up-right`);s=e.n(s);let c=require(`@nubisco/ui/icons/arrow-down-right`);c=e.n(c);let l=require(`@nubisco/ui/icons/minus`);l=e.n(l);var u={class:`nb-stat__label`},d={class:`nb-stat__value`},f={key:1},p={key:2,class:`nb-stat__comparison`},m=(0,o.defineComponent)({__name:`Stat`,props:{label:{},value:{default:void 0},status:{default:`neutral`},delta:{default:void 0},trend:{default:void 0},invertTrend:{type:Boolean,default:!1},comparison:{default:void 0},size:{default:`md`},loading:{type:Boolean,default:!1},to:{default:void 0},href:{default:void 0},target:{default:void 0},clickable:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:[`select`],setup(e,{emit:t}){let m=e,h=t,{layerProps:g}=r.useSurfaceLayer(),{tag:_,attrs:v,isInteractive:y,onClick:b,onKeydown:x}=i.t(m,e=>h(`select`,e)),S=(0,o.computed)(()=>m.size===`lg`?36:m.size===`sm`?20:28),C=(0,o.computed)(()=>m.trend===`up`?s:m.trend===`down`?c:m.trend===`flat`?l:null),w=(0,o.computed)(()=>m.trend===`up`?m.invertTrend?`negative`:`positive`:m.trend===`down`?m.invertTrend?`positive`:`negative`:`neutral`);return(t,r)=>((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)((0,o.unref)(_)),(0,o.mergeProps)({class:[`nb-stat`,[`nb-stat--${e.status}`,`nb-stat--${e.size}`,{"nb-stat--interactive":(0,o.unref)(y),"nb-stat--selected":e.selected,"nb-stat--disabled":e.disabled}]]},{...(0,o.unref)(v),...(0,o.unref)(g)},{"aria-busy":e.loading?!0:void 0,onClick:(0,o.unref)(b),onKeydown:(0,o.unref)(x)}),{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)(`span`,u,[(0,o.renderSlot)(t.$slots,`label`,{},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.label),1)],!0)]),(0,o.createElementVNode)(`span`,d,[e.loading?((0,o.openBlock)(),(0,o.createBlock)(a.t,{key:0,variant:`block`,height:S.value,width:`4.5ch`,radius:`sm`},null,8,[`height`])):(0,o.renderSlot)(t.$slots,`value`,{key:1},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.value),1)],!0)]),!e.loading&&(e.delta||e.trend||e.comparison||t.$slots.delta)?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,{key:0,class:(0,o.normalizeClass)([`nb-stat__delta`,e.trend?`nb-stat__delta--${w.value}`:null])},[(0,o.renderSlot)(t.$slots,`delta`,{},()=>[C.value?((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:0,name:C.value,size:`sm`,class:`nb-stat__trend`,"aria-hidden":`true`},null,8,[`name`])):(0,o.createCommentVNode)(``,!0),e.delta?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,f,(0,o.toDisplayString)(e.delta),1)):(0,o.createCommentVNode)(``,!0),e.comparison?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,p,(0,o.toDisplayString)(e.comparison),1)):(0,o.createCommentVNode)(``,!0)],!0)],2)):(0,o.createCommentVNode)(``,!0)]),_:3},16,[`class`,`aria-busy`,`onClick`,`onKeydown`]))}}),h=t.t(m,[[`__scopeId`,`data-v-f708c9e1`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
2
2
  import { t } from "./Icon-B2tiGiqZ.js";
3
3
  import { useSurfaceLayer as n } from "./composables/useSurfaceLayer.composable.mjs";
4
- import { t as r } from "./Card.link-CB8_CTbn.js";
5
- import { t as i } from "./Skeleton-C1e02dcW.js";
4
+ import { t as r } from "./Card.link-CdvubtHJ.js";
5
+ import { t as i } from "./Skeleton-Hmb5a2G_.js";
6
6
  import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, defineComponent as d, mergeProps as f, normalizeClass as p, openBlock as m, renderSlot as h, resolveDynamicComponent as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
7
7
  import * as b from "@nubisco/ui/icons/arrow-up-right";
8
8
  import * as x from "@nubisco/ui/icons/arrow-down-right";
@@ -1 +1 @@
1
- require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./composables/useStableId.composable.cjs`),n=require(`./Stepper.context-DUIDhN9Q.cjs`);let r=require(`vue`);var i=[`id`],a=[`aria-label`],o={class:`nb-stepper__announcement`,role:`status`,"aria-live":`polite`},s=(0,r.defineComponent)({__name:`Stepper`,props:{modelValue:{default:void 0},orientation:{default:n.r.Horizontal},size:{default:n.i.Medium},navigable:{type:Boolean,default:!1},furthest:{default:void 0},ariaLabel:{default:void 0},labels:{default:void 0},announce:{type:Boolean,default:!0},id:{default:void 0}},emits:[`update:modelValue`,`change`],setup(e,{emit:s}){let c=e,l=s,u=t.useStableId(c),d=(0,r.ref)(null),f={progress:`Progress`,announcement:`Step {step} of {total}: {label}`,complete:`Complete`,current:`Current step`,incomplete:`Not started`,disabled:`Unavailable`,invalid:`Needs attention`},p=(0,r.computed)(()=>({...f,...c.labels??{}})),m=(0,r.ref)(c.modelValue??0),h=(0,r.computed)(()=>c.modelValue===void 0?m.value:c.modelValue),g=(0,r.ref)(h.value);(0,r.watch)(h,e=>{e>g.value&&(g.value=e)});let _=(0,r.computed)(()=>c.furthest??g.value),v=[],y=(0,r.ref)([]);function b(){let e=v.map((e,t)=>({uid:e.uid,node:e.el(),at:t}));e.sort((e,t)=>!e.node||!t.node?e.at-t.at:e.node.compareDocumentPosition(t.node)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1);let t=e.map(e=>e.uid);(t.length!==y.value.length||t.some((e,t)=>e!==y.value[t]))&&(y.value=t)}function x(e){return v.push(e),b(),()=>{let t=v.findIndex(t=>t.uid===e.uid);t>=0&&v.splice(t,1),b()}}(0,r.onMounted)(b),(0,r.onUpdated)(b);let S=e=>{let t=y.value[e];return v.find(e=>e.uid===t)?.disabled.value??!1};function C(e,t){return!c.navigable||t||e<0||e===h.value?!1:e<=_.value}let w=(0,r.ref)(-1),T=(0,r.computed)(()=>w.value>=0&&C(w.value,S(w.value))?w.value:y.value.findIndex((e,t)=>C(t,S(t)))),E=(0,r.ref)(null);function D(e){let t=e.target;E.value=t;let n=(t?.closest?.(`[data-nb-step]`))?.dataset?.nbStep;if(!n)return;let r=y.value.indexOf(n);r>=0&&(w.value=r)}function O(e){let t=e.relatedTarget;if(t&&d.value?.contains(t))return;if(t){E.value=null;return}let n=e.target;n&&!d.value?.contains(n)&&(E.value=null)}async function k(){let e=E.value;if(!e)return;await(0,r.nextTick)();let t=d.value;if(!t)return;let n=document.activeElement;if(n&&n!==document.body&&t.contains(n))return;if(e.isConnected&&t.contains(e)&&e.matches(`[data-nb-stepper-button]`)){e.focus();return}let i=N();if(!i.length){E.value=null;return}let a=y.value[T.value],o=i.find(e=>e.closest(`[data-nb-step]`)?.dataset.nbStep===a)??i[0];o.focus(),E.value=o}function A(e,t){C(e,t)&&(c.modelValue===void 0&&(m.value=e),l(`update:modelValue`,e),l(`change`,e))}(0,r.provide)(n.t,{current:h,furthest:_,orientation:(0,r.toRef)(c,`orientation`),size:(0,r.toRef)(c,`size`),navigable:(0,r.toRef)(c,`navigable`),labels:p,order:y,tabbable:T,register:x,clickable:C,select:A});let j=(0,r.computed)(()=>[`nb-stepper`,`nb-stepper--${c.orientation}`,`nb-stepper--${c.size}`,{"nb-stepper--navigable":c.navigable}]),M=(0,r.ref)(``);(0,r.watch)(h,e=>{let t=y.value[e],n=v.find(e=>e.uid===t)?.el()??null;if(c.announce){let t=n?.querySelector(`.nb-stepper__label`)?.textContent?.trim()??``;M.value=p.value.announcement.replace(`{step}`,String(e+1)).replace(`{total}`,String(y.value.length)).replace(`{label}`,t).replace(/[:,\-\s]+$/,``)}k();let r=d.value;r&&n&&r.scrollWidth>r.clientWidth&&n.scrollIntoView?.({block:`nearest`,inline:`nearest`})});function N(){return Array.from(d.value?.querySelectorAll(`[data-nb-stepper-button]`)??[])}function P(e){let t=N();if(!t.length)return;let n=t.indexOf(document.activeElement);t[((n<0?0:n+e)+t.length)%t.length]?.focus()}function F(e){let t=N();t.length&&(e===`first`?t[0]:t[t.length-1]).focus()}function I(e){let t=c.orientation===n.r.Horizontal;switch(e.key){case`ArrowRight`:if(!t)return;P(1);break;case`ArrowLeft`:if(!t)return;P(-1);break;case`ArrowDown`:if(t)return;P(1);break;case`ArrowUp`:if(t)return;P(-1);break;case`Home`:F(`first`);break;case`End`:F(`last`);break;default:return}e.preventDefault()}return(t,n)=>((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{id:(0,r.unref)(u),class:(0,r.normalizeClass)(j.value)},[(0,r.createElementVNode)(`ol`,{ref_key:`listRef`,ref:d,class:`nb-stepper__list`,role:`list`,"aria-label":e.ariaLabel||p.value.progress,onKeydown:I,onFocusin:D,onFocusout:O},[(0,r.renderSlot)(t.$slots,`default`,{},void 0,!0)],40,a),(0,r.createElementVNode)(`p`,o,(0,r.toDisplayString)(M.value),1)],10,i))}}),c=e.t(s,[[`__scopeId`,`data-v-5da3536e`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
1
+ require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./composables/useStableId.composable.cjs`),n=require(`./Stepper.context-Brnt5IZv.cjs`);let r=require(`vue`);var i=[`id`],a=[`aria-label`],o={class:`nb-stepper__announcement`,role:`status`,"aria-live":`polite`},s=(0,r.defineComponent)({__name:`Stepper`,props:{modelValue:{default:void 0},orientation:{default:n.r.Horizontal},size:{default:n.i.Medium},navigable:{type:Boolean,default:!1},furthest:{default:void 0},ariaLabel:{default:void 0},labels:{default:void 0},announce:{type:Boolean,default:!0},id:{default:void 0}},emits:[`update:modelValue`,`change`],setup(e,{emit:s}){let c=e,l=s,u=t.useStableId(c),d=(0,r.ref)(null),f={progress:`Progress`,announcement:`Step {step} of {total}: {label}`,complete:`Complete`,current:`Current step`,incomplete:`Not started`,disabled:`Unavailable`,invalid:`Needs attention`},p=(0,r.computed)(()=>({...f,...c.labels??{}})),m=(0,r.ref)(c.modelValue??0),h=(0,r.computed)(()=>c.modelValue===void 0?m.value:c.modelValue),g=(0,r.ref)(h.value);(0,r.watch)(h,e=>{e>g.value&&(g.value=e)});let _=(0,r.computed)(()=>c.furthest??g.value),v=[],y=(0,r.ref)([]);function b(){let e=v.map((e,t)=>({uid:e.uid,node:e.el(),at:t}));e.sort((e,t)=>!e.node||!t.node?e.at-t.at:e.node.compareDocumentPosition(t.node)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1);let t=e.map(e=>e.uid);(t.length!==y.value.length||t.some((e,t)=>e!==y.value[t]))&&(y.value=t)}function x(e){return v.push(e),b(),()=>{let t=v.findIndex(t=>t.uid===e.uid);t>=0&&v.splice(t,1),b()}}(0,r.onMounted)(b),(0,r.onUpdated)(b);let S=e=>{let t=y.value[e];return v.find(e=>e.uid===t)?.disabled.value??!1};function C(e,t){return!c.navigable||t||e<0||e===h.value?!1:e<=_.value}let w=(0,r.ref)(-1),T=(0,r.computed)(()=>w.value>=0&&C(w.value,S(w.value))?w.value:y.value.findIndex((e,t)=>C(t,S(t)))),E=(0,r.ref)(null);function D(e){let t=e.target;E.value=t;let n=(t?.closest?.(`[data-nb-step]`))?.dataset?.nbStep;if(!n)return;let r=y.value.indexOf(n);r>=0&&(w.value=r)}function O(e){let t=e.relatedTarget;if(t&&d.value?.contains(t))return;if(t){E.value=null;return}let n=e.target;n&&!d.value?.contains(n)&&(E.value=null)}async function k(){let e=E.value;if(!e)return;await(0,r.nextTick)();let t=d.value;if(!t)return;let n=document.activeElement;if(n&&n!==document.body&&t.contains(n))return;if(e.isConnected&&t.contains(e)&&e.matches(`[data-nb-stepper-button]`)){e.focus();return}let i=N();if(!i.length){E.value=null;return}let a=y.value[T.value],o=i.find(e=>e.closest(`[data-nb-step]`)?.dataset.nbStep===a)??i[0];o.focus(),E.value=o}function A(e,t){C(e,t)&&(c.modelValue===void 0&&(m.value=e),l(`update:modelValue`,e),l(`change`,e))}(0,r.provide)(n.t,{current:h,furthest:_,orientation:(0,r.toRef)(c,`orientation`),size:(0,r.toRef)(c,`size`),navigable:(0,r.toRef)(c,`navigable`),labels:p,order:y,tabbable:T,register:x,clickable:C,select:A});let j=(0,r.computed)(()=>[`nb-stepper`,`nb-stepper--${c.orientation}`,`nb-stepper--${c.size}`,{"nb-stepper--navigable":c.navigable}]),M=(0,r.ref)(``);(0,r.watch)(h,e=>{let t=y.value[e],n=v.find(e=>e.uid===t)?.el()??null;if(c.announce){let t=n?.querySelector(`.nb-stepper__label`)?.textContent?.trim()??``;M.value=p.value.announcement.replace(`{step}`,String(e+1)).replace(`{total}`,String(y.value.length)).replace(`{label}`,t).replace(/[:,\-\s]+$/,``)}k();let r=d.value;r&&n&&r.scrollWidth>r.clientWidth&&n.scrollIntoView?.({block:`nearest`,inline:`nearest`})});function N(){return Array.from(d.value?.querySelectorAll(`[data-nb-stepper-button]`)??[])}function P(e){let t=N();if(!t.length)return;let n=t.indexOf(document.activeElement);t[((n<0?0:n+e)+t.length)%t.length]?.focus()}function F(e){let t=N();t.length&&(e===`first`?t[0]:t[t.length-1]).focus()}function I(e){let t=c.orientation===n.r.Horizontal;switch(e.key){case`ArrowRight`:if(!t)return;P(1);break;case`ArrowLeft`:if(!t)return;P(-1);break;case`ArrowDown`:if(t)return;P(1);break;case`ArrowUp`:if(t)return;P(-1);break;case`Home`:F(`first`);break;case`End`:F(`last`);break;default:return}e.preventDefault()}return(t,n)=>((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{id:(0,r.unref)(u),class:(0,r.normalizeClass)(j.value)},[(0,r.createElementVNode)(`ol`,{ref_key:`listRef`,ref:d,class:`nb-stepper__list`,role:`list`,"aria-label":e.ariaLabel||p.value.progress,onKeydown:I,onFocusin:D,onFocusout:O},[(0,r.renderSlot)(t.$slots,`default`,{},void 0,!0)],40,a),(0,r.createElementVNode)(`p`,o,(0,r.toDisplayString)(M.value),1)],10,i))}}),c=e.t(s,[[`__scopeId`,`data-v-5da3536e`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
2
2
  import { useStableId as t } from "./composables/useStableId.composable.mjs";
3
- import { i as n, r, t as i } from "./Stepper.context-DqfEvgGM.js";
3
+ import { i as n, r, t as i } from "./Stepper.context-CRKX8lxW.js";
4
4
  import { computed as a, createElementBlock as o, createElementVNode as s, defineComponent as c, nextTick as l, normalizeClass as u, onMounted as d, onUpdated as f, openBlock as p, provide as m, ref as h, renderSlot as g, toDisplayString as _, toRef as v, unref as y, watch as b } from "vue";
5
5
  //#region src/components/Stepper.vue?vue&type=script&setup=true&lang.ts
6
6
  var x = ["id"], S = ["aria-label"], C = {
@@ -1 +1 @@
1
- const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./composables/useStableId.composable.cjs`),i=require(`./Stepper.context-DUIDhN9Q.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/check`);o=e.n(o);let s=require(`@nubisco/ui/icons/warning`);s=e.n(s);var c=[`data-nb-step`,`data-status`,`data-orientation`,`aria-current`],l={class:`nb-stepper__marker`,"aria-hidden":`true`},u={class:`nb-stepper__text`},d=[`id`],f=[`id`],p=[`id`],m=(0,a.defineComponent)({__name:`StepperStep`,props:{label:{default:``},description:{default:void 0},complete:{type:Boolean,default:!1},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},id:{default:void 0}},setup(e){let t=e,m=r.useStableId(t),h=(0,a.useSlots)(),g=(0,a.inject)(i.t,null),_=(0,a.ref)(null),v=(0,a.computed)(()=>t.disabled),y=g?.register({uid:m,disabled:v,el:()=>_.value});(0,a.onUnmounted)(()=>y?.());let b=(0,a.computed)(()=>g?.order.value.indexOf(m)??-1),x=(0,a.computed)(()=>b.value===g?.current.value),S=(0,a.computed)(()=>b.value<0?1:b.value+1),C=(0,a.computed)(()=>t.disabled?i.n.Disabled:t.invalid?i.n.Invalid:x.value?i.n.Current:t.complete||b.value>=0&&b.value<(g?.current.value??0)?i.n.Complete:i.n.Incomplete),w=(0,a.computed)(()=>g?.labels.value[C.value]??``),T=(0,a.computed)(()=>`${m}-label`),E=(0,a.computed)(()=>`${m}-description`),D=(0,a.computed)(()=>`${m}-status`),O=(0,a.computed)(()=>!!t.description||!!h.description),k=(0,a.computed)(()=>[O.value?E.value:null,D.value].filter(Boolean).join(` `)),A=(0,a.computed)(()=>g?.tabbable.value??-1),j=(0,a.computed)(()=>g?.clickable(b.value,t.disabled)??!1),M=(0,a.computed)(()=>C.value===i.n.Complete?o:C.value===i.n.Invalid?s:null),N=(0,a.computed)(()=>g?.orientation.value??`horizontal`);function P(){g?.select(b.value,t.disabled)}return(t,r)=>((0,a.openBlock)(),(0,a.createElementBlock)(`li`,{ref_key:`rootEl`,ref:_,class:(0,a.normalizeClass)([`nb-stepper__step`,[`nb-stepper__step--${C.value}`,{"nb-stepper__step--clickable":j.value}]]),"data-nb-step":(0,a.unref)(m),"data-status":C.value,"data-orientation":N.value,"aria-current":x.value?`step`:void 0},[((0,a.openBlock)(),(0,a.createBlock)((0,a.resolveDynamicComponent)(j.value?`button`:`div`),(0,a.mergeProps)({id:(0,a.unref)(m),class:`nb-stepper__body`},j.value?{type:`button`,"data-nb-stepper-button":``,tabindex:b.value===A.value?0:-1,"aria-labelledby":T.value,"aria-describedby":k.value}:{},{onClick:P}),{default:(0,a.withCtx)(()=>[(0,a.createElementVNode)(`span`,l,[M.value?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:0,name:M.value,size:`sm`},null,8,[`name`])):((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:1},[(0,a.createTextVNode)((0,a.toDisplayString)(S.value),1)],64))]),(0,a.createElementVNode)(`span`,u,[(0,a.createElementVNode)(`span`,{id:T.value,class:`nb-stepper__label`},[(0,a.renderSlot)(t.$slots,`label`,{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.label),1)],!0)],8,d),e.description||t.$slots.description?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:0,id:E.value,class:`nb-stepper__description`},[(0,a.renderSlot)(t.$slots,`description`,{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.description),1)],!0)],8,f)):(0,a.createCommentVNode)(``,!0),(0,a.createElementVNode)(`span`,{id:D.value,class:`nb-stepper__status`},(0,a.toDisplayString)(w.value),9,p)])]),_:3},16,[`id`])),r[0]||=(0,a.createElementVNode)(`span`,{class:`nb-stepper__line`,"aria-hidden":`true`},null,-1)],10,c))}}),h=t.t(m,[[`__scopeId`,`data-v-4cf87b21`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
1
+ const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./composables/useStableId.composable.cjs`),i=require(`./Stepper.context-Brnt5IZv.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/check`);o=e.n(o);let s=require(`@nubisco/ui/icons/warning`);s=e.n(s);var c=[`data-nb-step`,`data-status`,`data-orientation`,`aria-current`],l={class:`nb-stepper__marker`,"aria-hidden":`true`},u={class:`nb-stepper__text`},d=[`id`],f=[`id`],p=[`id`],m=(0,a.defineComponent)({__name:`StepperStep`,props:{label:{default:``},description:{default:void 0},complete:{type:Boolean,default:!1},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},id:{default:void 0}},setup(e){let t=e,m=r.useStableId(t),h=(0,a.useSlots)(),g=(0,a.inject)(i.t,null),_=(0,a.ref)(null),v=(0,a.computed)(()=>t.disabled),y=g?.register({uid:m,disabled:v,el:()=>_.value});(0,a.onUnmounted)(()=>y?.());let b=(0,a.computed)(()=>g?.order.value.indexOf(m)??-1),x=(0,a.computed)(()=>b.value===g?.current.value),S=(0,a.computed)(()=>b.value<0?1:b.value+1),C=(0,a.computed)(()=>t.disabled?i.n.Disabled:t.invalid?i.n.Invalid:x.value?i.n.Current:t.complete||b.value>=0&&b.value<(g?.current.value??0)?i.n.Complete:i.n.Incomplete),w=(0,a.computed)(()=>g?.labels.value[C.value]??``),T=(0,a.computed)(()=>`${m}-label`),E=(0,a.computed)(()=>`${m}-description`),D=(0,a.computed)(()=>`${m}-status`),O=(0,a.computed)(()=>!!t.description||!!h.description),k=(0,a.computed)(()=>[O.value?E.value:null,D.value].filter(Boolean).join(` `)),A=(0,a.computed)(()=>g?.tabbable.value??-1),j=(0,a.computed)(()=>g?.clickable(b.value,t.disabled)??!1),M=(0,a.computed)(()=>C.value===i.n.Complete?o:C.value===i.n.Invalid?s:null),N=(0,a.computed)(()=>g?.orientation.value??`horizontal`);function P(){g?.select(b.value,t.disabled)}return(t,r)=>((0,a.openBlock)(),(0,a.createElementBlock)(`li`,{ref_key:`rootEl`,ref:_,class:(0,a.normalizeClass)([`nb-stepper__step`,[`nb-stepper__step--${C.value}`,{"nb-stepper__step--clickable":j.value}]]),"data-nb-step":(0,a.unref)(m),"data-status":C.value,"data-orientation":N.value,"aria-current":x.value?`step`:void 0},[((0,a.openBlock)(),(0,a.createBlock)((0,a.resolveDynamicComponent)(j.value?`button`:`div`),(0,a.mergeProps)({id:(0,a.unref)(m),class:`nb-stepper__body`},j.value?{type:`button`,"data-nb-stepper-button":``,tabindex:b.value===A.value?0:-1,"aria-labelledby":T.value,"aria-describedby":k.value}:{},{onClick:P}),{default:(0,a.withCtx)(()=>[(0,a.createElementVNode)(`span`,l,[M.value?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:0,name:M.value,size:`sm`},null,8,[`name`])):((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:1},[(0,a.createTextVNode)((0,a.toDisplayString)(S.value),1)],64))]),(0,a.createElementVNode)(`span`,u,[(0,a.createElementVNode)(`span`,{id:T.value,class:`nb-stepper__label`},[(0,a.renderSlot)(t.$slots,`label`,{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.label),1)],!0)],8,d),e.description||t.$slots.description?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:0,id:E.value,class:`nb-stepper__description`},[(0,a.renderSlot)(t.$slots,`description`,{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.description),1)],!0)],8,f)):(0,a.createCommentVNode)(``,!0),(0,a.createElementVNode)(`span`,{id:D.value,class:`nb-stepper__status`},(0,a.toDisplayString)(w.value),9,p)])]),_:3},16,[`id`])),r[0]||=(0,a.createElementVNode)(`span`,{class:`nb-stepper__line`,"aria-hidden":`true`},null,-1)],10,c))}}),h=t.t(m,[[`__scopeId`,`data-v-4cf87b21`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
2
2
  import { t } from "./Icon-B2tiGiqZ.js";
3
3
  import { useStableId as n } from "./composables/useStableId.composable.mjs";
4
- import { n as r, t as i } from "./Stepper.context-DqfEvgGM.js";
4
+ import { n as r, t as i } from "./Stepper.context-CRKX8lxW.js";
5
5
  import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, defineComponent as f, inject as p, mergeProps as m, normalizeClass as h, onUnmounted as g, openBlock as _, ref as v, renderSlot as y, resolveDynamicComponent as b, toDisplayString as x, unref as S, useSlots as C, withCtx as w } from "vue";
6
6
  import * as T from "@nubisco/ui/icons/check";
7
7
  import * as E from "@nubisco/ui/icons/warning";
@@ -0,0 +1 @@
1
+ require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./composables/useStableId.composable.cjs`),n=require(`./TextInput.context-ChkcqMNM.cjs`),r=require(`./InlineLoading-DKCzcjZJ.cjs`);let i=require(`vue`);var a=[`id`,`aria-label`,`aria-busy`],o=[`role`,`aria-labelledby`],s=[`id`],c=[`id`,`aria-selected`,`onMousemove`,`onClick`],l={key:0,class:`nb-suggestion-list__loading`,role:`presentation`},u={key:1,class:`nb-suggestion-list__empty`,role:`presentation`},d=(0,i.defineComponent)({__name:`SuggestionList`,props:{items:{},open:{type:Boolean,default:!0},itemLabel:{type:Function,default:void 0},itemKey:{type:Function,default:void 0},emptyText:{default:``},loading:{type:Boolean,default:!1},loadingText:{default:``},placement:{default:`bottom`},itemGroup:{type:Function,default:void 0},label:{default:``},for:{default:void 0},id:{default:void 0}},emits:[`select`,`update:open`,`close`],setup(e,{expose:d,emit:f}){let p=e,m=f,h=(0,i.useSlots)(),g=t.useStableId({id:p.id}),_=(0,i.ref)(null),v=(0,i.ref)(0),y=(0,i.inject)(n.t,null),b=(0,i.computed)(()=>!!p.emptyText||!!h.empty),x=(0,i.computed)(()=>p.open&&(p.items.length>0||b.value||p.loading)),S=(0,i.computed)(()=>{let e=[];return p.items.forEach((t,n)=>{let r=p.itemGroup?.(t)??``,i=e[e.length-1];if(i&&i.name===r){i.entries.push({item:t,index:n});return}e.push({key:`${e.length}:${r}`,name:r,headingId:`${g}-group-${e.length}`,entries:[{item:t,index:n}]})}),e});function C(e){return p.itemLabel?p.itemLabel(e):e&&typeof e==`object`&&`label`in e?String(e.label):String(e)}function w(e,t){return p.itemKey?p.itemKey(e,t):C(e)}function T(e){return`${g}-option-${e}`}function E(){if(p.for&&typeof document<`u`){let e=document.getElementById(p.for);if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)return e}return y?.field.value??null}function D(){m(`update:open`,!1),m(`close`)}function O(e){let t=p.items[e];t!==void 0&&(m(`select`,t,e),D())}function k(e){let t=p.items.length;t!==0&&(v.value=(e+t)%t)}function A(e){if(!x.value||e.isComposing)return;let t=p.items.length>0;switch(e.key){case`ArrowDown`:if(!t)return;k(v.value+1);break;case`ArrowUp`:if(!t)return;k(v.value-1);break;case`Home`:case`End`:if(!t||!(e.ctrlKey||e.metaKey))return;v.value=e.key===`Home`?0:p.items.length-1;break;case`Enter`:case`Tab`:if(!t)return;O(v.value);break;case`Escape`:D(),e.stopPropagation();break;default:return}e.preventDefault()}function j(){p.open&&D()}let M=[`role`,`aria-autocomplete`,`aria-expanded`,`aria-controls`,`aria-activedescendant`],N=null;function P(){N&&(N.setAttribute(`role`,`combobox`),N.setAttribute(`aria-autocomplete`,`list`),N.setAttribute(`aria-expanded`,String(x.value)),x.value?N.setAttribute(`aria-controls`,g):N.removeAttribute(`aria-controls`),x.value&&p.items.length>0?N.setAttribute(`aria-activedescendant`,T(v.value)):N.removeAttribute(`aria-activedescendant`))}function F(){let e=E();if(e===N||(I(),!e))return;N=e;let t=e;t.addEventListener(`keydown`,A,!0),t.addEventListener(`blur`,j),P()}function I(){if(N){N.removeEventListener(`keydown`,A,!0),N.removeEventListener(`blur`,j);for(let e of M)N.removeAttribute(e);N=null}}function L(){(_.value?.querySelectorAll(`.nb-suggestion-list__item`))?.[v.value]?.scrollIntoView?.({block:`nearest`})}return(0,i.watch)(()=>p.items,()=>{v.value=0}),(0,i.watch)(()=>p.open,e=>{e&&(v.value=0)}),(0,i.watch)([x,v,()=>p.items.length],async()=>{P(),await(0,i.nextTick)(),L()}),(0,i.onMounted)(()=>{F(),N||(0,i.nextTick)(F)}),(0,i.onBeforeUnmount)(I),d({onKeydown:A,activeIndex:v}),(t,n)=>x.value?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{key:0,id:(0,i.unref)(g),ref_key:`listRef`,ref:_,class:(0,i.normalizeClass)([`nb-suggestion-list`,`nb-suggestion-list--${e.placement}`]),role:`listbox`,"aria-label":e.label||void 0,"aria-busy":e.loading||void 0},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(S.value,e=>((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{key:e.key,role:e.name?`group`:void 0,"aria-labelledby":e.name?e.headingId:void 0,class:(0,i.normalizeClass)({"nb-suggestion-list__section":e.name}),style:(0,i.normalizeStyle)(e.name?void 0:{display:`contents`})},[e.name?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{key:0,id:e.headingId,class:`nb-suggestion-list__group`,role:`presentation`},[(0,i.renderSlot)(t.$slots,`group`,{group:e.name},()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.name),1)],!0)],8,s)):(0,i.createCommentVNode)(``,!0),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.entries,({item:e,index:r})=>((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{id:T(r),key:w(e,r),class:(0,i.normalizeClass)([`nb-suggestion-list__item`,{"nb-suggestion-list__item--active":r===v.value}]),role:`option`,"aria-selected":r===v.value,onMousedown:n[0]||=(0,i.withModifiers)(()=>{},[`prevent`]),onMousemove:e=>v.value=r,onClick:e=>O(r)},[(0,i.renderSlot)(t.$slots,`item`,{item:e,index:r,active:r===v.value},()=>[(0,i.createTextVNode)((0,i.toDisplayString)(C(e)),1)],!0)],42,c))),128))],14,o))),128)),e.loading?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,l,[(0,i.renderSlot)(t.$slots,`loading`,{},()=>[(0,i.createVNode)(r.t,{status:`active`,label:e.loadingText,"reserve-space":!1},null,8,[`label`])],!0)])):e.items.length===0?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,u,[(0,i.renderSlot)(t.$slots,`empty`,{},()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.emptyText),1)],!0)])):(0,i.createCommentVNode)(``,!0)],10,a)):(0,i.createCommentVNode)(``,!0)}}),f=e.t(d,[[`__scopeId`,`data-v-ed911e2f`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return f}});