@nubisco/ui 5.48.1 → 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 (753) 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-C6aLQTYv.cjs → SidebarCollapseToggle-CqVURaqs.cjs} +1 -1
  128. package/dist/{SidebarCollapseToggle-D5yQ-8Vu.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/Skeleton-CMuZJ1dR.cjs +1 -0
  132. package/dist/{Skeleton-C1e02dcW.js → Skeleton-Hmb5a2G_.js} +48 -31
  133. package/dist/{Slider-BaM5cclm.cjs → Slider-D9glvyrU.cjs} +1 -1
  134. package/dist/{Slider-BAXKJCNG.js → Slider-D9hgB8GJ.js} +4 -4
  135. package/dist/{Spinner-PT95bjWq.cjs → Spinner-BTN06wsE.cjs} +1 -1
  136. package/dist/{Spinner-CbBPddUx.js → Spinner-C3MeCm2k.js} +1 -1
  137. package/dist/{Stat-C9XaqyaG.cjs → Stat-BoQUn69z.cjs} +1 -1
  138. package/dist/{Stat-DJJln4rH.js → Stat-Bz0NCLTm.js} +2 -2
  139. package/dist/{Stepper-DV0q0Dfv.cjs → Stepper-BLyPFPge.cjs} +1 -1
  140. package/dist/{Stepper-B4xqkWXg.js → Stepper-BXPgrQE8.js} +1 -1
  141. package/dist/{StepperStep-iGyGKnQL.cjs → StepperStep-DGeyZQXY.cjs} +1 -1
  142. package/dist/{StepperStep-BYhlgeb1.js → StepperStep-DLr_ctr4.js} +1 -1
  143. package/dist/SuggestionList-DjtF5POh.cjs +1 -0
  144. package/dist/SuggestionList-SYGj7Sjv.js +225 -0
  145. package/dist/{Switch-D3j7PPhY.cjs → Switch-CQj6AsQh.cjs} +1 -1
  146. package/dist/{Switch-CbYMiEbQ.js → Switch-CqLfdT_m.js} +2 -2
  147. package/dist/{TableOfContents-CM0HKSde.js → TableOfContents-BIzH0Twf.js} +24 -34
  148. package/dist/{TableOfContents-By2Non4K.cjs → TableOfContents-Ct-Kwm8X.cjs} +1 -1
  149. package/dist/{Tabs--lz44FBk.js → Tabs-B_bsdxWy.js} +1 -1
  150. package/dist/{Tabs-DKikiz0_.cjs → Tabs-CTMUPND5.cjs} +1 -1
  151. package/dist/TextInput-BM2Zc2_R.cjs +2 -0
  152. package/dist/TextInput-DVpNJNwY.js +406 -0
  153. package/dist/Toast-BaMGYx8-.js +118 -0
  154. package/dist/Toast-BvZywdtO.cjs +1 -0
  155. package/dist/{Toaster-CJMQM8JU.cjs → Toaster-CYSWYmUm.cjs} +1 -1
  156. package/dist/{Toaster-DxBW9XQ0.js → Toaster-DtUkjQM_.js} +1 -1
  157. package/dist/Toolbar-BmJeXz4C.cjs +1 -0
  158. package/dist/Toolbar-tOeTdj8a.js +48 -0
  159. package/dist/Toolbar.context-Bli1SqM3.js +4 -0
  160. package/dist/Toolbar.context-D3Uj5o0_.cjs +1 -0
  161. package/dist/{Tree-DP2NPXOL.cjs → Tree-CeXSIcpy.cjs} +1 -1
  162. package/dist/{Tree-CkcFwDr7.js → Tree-RRVk_0QJ.js} +1 -1
  163. package/dist/{TreeNode-DCnlEEpj.js → TreeNode-D9fc2RE_.js} +1 -1
  164. package/dist/{TreeNode-CtklZefA.cjs → TreeNode-z6APXuvr.cjs} +1 -1
  165. package/dist/UserMenu-BGIIKwi6.cjs +1 -0
  166. package/dist/{UserMenu-CWRMaPGO.js → UserMenu-GGR8K7gP.js} +109 -102
  167. package/dist/Video-BxNkDWqi.cjs +1 -0
  168. package/dist/Video-DD01piHm.js +106 -0
  169. package/dist/Walkthrough-C_5h67cq.cjs +1 -0
  170. package/dist/Walkthrough-DpxYuLMU.js +333 -0
  171. package/dist/all.cjs +1 -1
  172. package/dist/all.mjs +271 -253
  173. package/dist/component-styles.json +88 -2
  174. package/dist/components/AccordionItem.cjs +1 -1
  175. package/dist/components/AccordionItem.mjs +1 -1
  176. package/dist/components/AccordionItem.vue.d.ts.map +1 -1
  177. package/dist/components/ActionGroup.cjs +1 -1
  178. package/dist/components/ActionGroup.d.ts +41 -9
  179. package/dist/components/ActionGroup.mjs +1 -1
  180. package/dist/components/ActionGroup.vue.d.ts +2 -2
  181. package/dist/components/ActionGroup.vue.d.ts.map +1 -1
  182. package/dist/components/AiLabel.cjs +1 -1
  183. package/dist/components/AiLabel.mjs +1 -1
  184. package/dist/components/AiProvider.cjs +1 -1
  185. package/dist/components/AiProvider.mjs +1 -1
  186. package/dist/components/AiUsage.cjs +1 -1
  187. package/dist/components/AiUsage.mjs +1 -1
  188. package/dist/components/BackToTop.cjs +1 -1
  189. package/dist/components/BackToTop.mjs +1 -1
  190. package/dist/components/BackToTop.vue.d.ts.map +1 -1
  191. package/dist/components/Badge.cjs +1 -1
  192. package/dist/components/Badge.mjs +1 -1
  193. package/dist/components/Banner.cjs +1 -1
  194. package/dist/components/Banner.mjs +1 -1
  195. package/dist/components/Banner.vue.d.ts.map +1 -1
  196. package/dist/components/BatchActions.cjs +1 -0
  197. package/dist/components/BatchActions.d.ts +43 -0
  198. package/dist/components/BatchActions.mjs +2 -0
  199. package/dist/components/BatchActions.vue.d.ts +30 -0
  200. package/dist/components/BatchActions.vue.d.ts.map +1 -0
  201. package/dist/components/Blueprint.cjs +1 -1
  202. package/dist/components/Blueprint.mjs +1 -1
  203. package/dist/components/Blueprint.vue.d.ts +2 -2
  204. package/dist/components/BlueprintBackground.cjs +1 -1
  205. package/dist/components/BlueprintBackground.mjs +1 -1
  206. package/dist/components/BlueprintCard.cjs +1 -1
  207. package/dist/components/BlueprintCard.mjs +1 -1
  208. package/dist/components/BlueprintCard.vue.d.ts.map +1 -1
  209. package/dist/components/BlueprintControls.cjs +1 -1
  210. package/dist/components/BlueprintControls.mjs +1 -1
  211. package/dist/components/BlueprintControls.vue.d.ts.map +1 -1
  212. package/dist/components/BlueprintMinimap.cjs +1 -1
  213. package/dist/components/BlueprintMinimap.mjs +1 -1
  214. package/dist/components/Board.cjs +1 -1
  215. package/dist/components/Board.mjs +1 -1
  216. package/dist/components/Board.vue.d.ts +2 -2
  217. package/dist/components/Board.vue.d.ts.map +1 -1
  218. package/dist/components/BottomPanel.cjs +1 -1
  219. package/dist/components/BottomPanel.mjs +1 -1
  220. package/dist/components/BottomPanel.vue.d.ts +2 -2
  221. package/dist/components/BottomPanel.vue.d.ts.map +1 -1
  222. package/dist/components/Breadcrumbs.cjs +1 -1
  223. package/dist/components/Breadcrumbs.mjs +1 -1
  224. package/dist/components/Breadcrumbs.vue.d.ts.map +1 -1
  225. package/dist/components/Briefing.cjs +1 -1
  226. package/dist/components/Briefing.mjs +1 -1
  227. package/dist/components/BriefingDestination.cjs +1 -1
  228. package/dist/components/BriefingDestination.mjs +1 -1
  229. package/dist/components/Button.cjs +1 -1
  230. package/dist/components/Button.d.ts +38 -1
  231. package/dist/components/Button.mjs +1 -1
  232. package/dist/components/Button.vue.d.ts +4 -0
  233. package/dist/components/Button.vue.d.ts.map +1 -1
  234. package/dist/components/ButtonSet.cjs +1 -0
  235. package/dist/components/ButtonSet.d.ts +43 -0
  236. package/dist/components/ButtonSet.mjs +2 -0
  237. package/dist/components/ButtonSet.vue.d.ts +11 -0
  238. package/dist/components/ButtonSet.vue.d.ts.map +1 -0
  239. package/dist/components/Calendar.cjs +1 -1
  240. package/dist/components/Calendar.mjs +1 -1
  241. package/dist/components/Calendar.vue.d.ts +2 -2
  242. package/dist/components/Calendar.vue.d.ts.map +1 -1
  243. package/dist/components/Card.cjs +1 -1
  244. package/dist/components/Card.mjs +1 -1
  245. package/dist/components/Card.vue.d.ts +11 -10
  246. package/dist/components/Card.vue.d.ts.map +1 -1
  247. package/dist/components/CardGrid.cjs +1 -1
  248. package/dist/components/CardGrid.d.ts +15 -0
  249. package/dist/components/CardGrid.mjs +1 -1
  250. package/dist/components/Charts/BarChart.cjs +1 -1
  251. package/dist/components/Charts/BarChart.mjs +1 -1
  252. package/dist/components/Charts/GanttChart.cjs +1 -1
  253. package/dist/components/Charts/GanttChart.mjs +1 -1
  254. package/dist/components/Charts/InterpolationChart.cjs +1 -1
  255. package/dist/components/Charts/InterpolationChart.mjs +1 -1
  256. package/dist/components/Charts/LineChart.cjs +1 -1
  257. package/dist/components/Charts/LineChart.mjs +1 -1
  258. package/dist/components/Charts/PieChart.cjs +1 -1
  259. package/dist/components/Charts/PieChart.mjs +1 -1
  260. package/dist/components/Charts/Sparkline.cjs +1 -1
  261. package/dist/components/Charts/Sparkline.mjs +1 -1
  262. package/dist/components/Checkbox.cjs +1 -1
  263. package/dist/components/Checkbox.mjs +1 -1
  264. package/dist/components/CheckboxGroup.cjs +1 -1
  265. package/dist/components/CheckboxGroup.mjs +1 -1
  266. package/dist/components/ChipGroup.cjs +1 -0
  267. package/dist/components/ChipGroup.d.ts +29 -0
  268. package/dist/components/ChipGroup.mjs +2 -0
  269. package/dist/components/ChipGroup.vue.d.ts +14 -0
  270. package/dist/components/ChipGroup.vue.d.ts.map +1 -0
  271. package/dist/components/CloseButton.cjs +1 -0
  272. package/dist/components/CloseButton.d.ts +26 -0
  273. package/dist/components/CloseButton.mjs +2 -0
  274. package/dist/components/CloseButton.vue.d.ts +19 -0
  275. package/dist/components/CloseButton.vue.d.ts.map +1 -0
  276. package/dist/components/ColorStrip.cjs +1 -1
  277. package/dist/components/ColorStrip.mjs +1 -1
  278. package/dist/components/CommandPalette.cjs +1 -1
  279. package/dist/components/CommandPalette.mjs +1 -1
  280. package/dist/components/CommandPalette.vue.d.ts.map +1 -1
  281. package/dist/components/Confirm.cjs +1 -1
  282. package/dist/components/Confirm.d.ts +7 -5
  283. package/dist/components/Confirm.mjs +1 -1
  284. package/dist/components/Confirm.vue.d.ts +1 -1
  285. package/dist/components/Confirm.vue.d.ts.map +1 -1
  286. package/dist/components/ContainedList.cjs +1 -1
  287. package/dist/components/ContainedList.mjs +1 -1
  288. package/dist/components/ContainedListItem.cjs +1 -1
  289. package/dist/components/ContainedListItem.mjs +1 -1
  290. package/dist/components/ContentSwitcher.cjs +1 -0
  291. package/dist/components/ContentSwitcher.d.ts +36 -0
  292. package/dist/components/ContentSwitcher.mjs +2 -0
  293. package/dist/components/ContentSwitcher.vue.d.ts +13 -0
  294. package/dist/components/ContentSwitcher.vue.d.ts.map +1 -0
  295. package/dist/components/CopyButton.cjs +1 -1
  296. package/dist/components/CopyButton.mjs +1 -1
  297. package/dist/components/CopyButton.vue.d.ts.map +1 -1
  298. package/dist/components/DataTable.cjs +1 -1
  299. package/dist/components/DataTable.d.ts +12 -1
  300. package/dist/components/DataTable.mjs +1 -1
  301. package/dist/components/DataTable.vue.d.ts +1 -0
  302. package/dist/components/DataTable.vue.d.ts.map +1 -1
  303. package/dist/components/DatePicker.cjs +1 -1
  304. package/dist/components/DatePicker.mjs +1 -1
  305. package/dist/components/DatePicker.vue.d.ts +2 -2
  306. package/dist/components/DatePicker.vue.d.ts.map +1 -1
  307. package/dist/components/DefinitionList.cjs +1 -1
  308. package/dist/components/DefinitionList.mjs +1 -1
  309. package/dist/components/DefinitionListItem.cjs +1 -1
  310. package/dist/components/DefinitionListItem.mjs +1 -1
  311. package/dist/components/DragHandle.cjs +1 -1
  312. package/dist/components/DragHandle.mjs +1 -1
  313. package/dist/components/EmptyState.cjs +1 -1
  314. package/dist/components/EmptyState.mjs +1 -1
  315. package/dist/components/Field.cjs +1 -1
  316. package/dist/components/Field.mjs +1 -1
  317. package/dist/components/FileUploader.cjs +1 -1
  318. package/dist/components/FileUploader.mjs +1 -1
  319. package/dist/components/FileUploader.vue.d.ts.map +1 -1
  320. package/dist/components/Flag.cjs +1 -1
  321. package/dist/components/Flag.mjs +1 -1
  322. package/dist/components/FloatingToolbar.cjs +1 -1
  323. package/dist/components/FloatingToolbar.mjs +1 -1
  324. package/dist/components/FloatingToolbar.vue.d.ts +1 -3
  325. package/dist/components/FloatingToolbar.vue.d.ts.map +1 -1
  326. package/dist/components/Form.cjs +1 -1
  327. package/dist/components/Form.mjs +1 -1
  328. package/dist/components/Grid.cjs +1 -1
  329. package/dist/components/Grid.mjs +1 -1
  330. package/dist/components/Grid.vue.d.ts +1 -1
  331. package/dist/components/ImageCropper.cjs +1 -1
  332. package/dist/components/ImageCropper.mjs +1 -1
  333. package/dist/components/ImagePicker.cjs +1 -1
  334. package/dist/components/ImagePicker.mjs +1 -1
  335. package/dist/components/ImagePicker.vue.d.ts.map +1 -1
  336. package/dist/components/InfoHint.cjs +1 -1
  337. package/dist/components/InfoHint.mjs +1 -1
  338. package/dist/components/InfoHint.vue.d.ts.map +1 -1
  339. package/dist/components/InlineEdit.cjs +1 -1
  340. package/dist/components/InlineEdit.mjs +1 -1
  341. package/dist/components/InlineEdit.vue.d.ts.map +1 -1
  342. package/dist/components/InlineLoading.cjs +1 -1
  343. package/dist/components/InlineLoading.mjs +1 -1
  344. package/dist/components/InputGroup.cjs +1 -0
  345. package/dist/components/InputGroup.context.d.ts +50 -0
  346. package/dist/components/InputGroup.context.d.ts.map +1 -0
  347. package/dist/components/InputGroup.d.ts +37 -0
  348. package/dist/components/InputGroup.mjs +2 -0
  349. package/dist/components/InputGroup.vue.d.ts +27 -0
  350. package/dist/components/InputGroup.vue.d.ts.map +1 -0
  351. package/dist/components/JsonTree.cjs +1 -1
  352. package/dist/components/JsonTree.mjs +1 -1
  353. package/dist/components/Label.cjs +1 -1
  354. package/dist/components/Label.mjs +1 -1
  355. package/dist/components/Layer.cjs +1 -1
  356. package/dist/components/Layer.mjs +1 -1
  357. package/dist/components/Menu.cjs +1 -1
  358. package/dist/components/Menu.d.ts +11 -0
  359. package/dist/components/Menu.mjs +1 -1
  360. package/dist/components/Menu.vue.d.ts +2 -0
  361. package/dist/components/Menu.vue.d.ts.map +1 -1
  362. package/dist/components/MenuBar.cjs +1 -1
  363. package/dist/components/MenuBar.mjs +1 -1
  364. package/dist/components/MenuBarItem.cjs +1 -1
  365. package/dist/components/MenuBarItem.mjs +1 -1
  366. package/dist/components/MenuDivider.cjs +1 -1
  367. package/dist/components/MenuDivider.mjs +1 -1
  368. package/dist/components/Message.cjs +1 -1
  369. package/dist/components/Message.mjs +1 -1
  370. package/dist/components/Modal.cjs +1 -1
  371. package/dist/components/Modal.d.ts +11 -7
  372. package/dist/components/Modal.mjs +1 -1
  373. package/dist/components/Modal.vue.d.ts +3 -3
  374. package/dist/components/Modal.vue.d.ts.map +1 -1
  375. package/dist/components/NotificationCenter.cjs +1 -1
  376. package/dist/components/NotificationCenter.d.ts +2 -1
  377. package/dist/components/NotificationCenter.mjs +1 -1
  378. package/dist/components/NotificationCenter.vue.d.ts.map +1 -1
  379. package/dist/components/NotificationCenterItem.cjs +1 -1
  380. package/dist/components/NotificationCenterItem.mjs +1 -1
  381. package/dist/components/NubiscoMark.cjs +1 -1
  382. package/dist/components/NubiscoMark.mjs +1 -1
  383. package/dist/components/NubiscoPlatformMark.cjs +1 -1
  384. package/dist/components/NubiscoPlatformMark.mjs +1 -1
  385. package/dist/components/NumberInput.cjs +1 -1
  386. package/dist/components/NumberInput.mjs +1 -1
  387. package/dist/components/NumberInput.vue.d.ts.map +1 -1
  388. package/dist/components/OverflowMenu.cjs +1 -0
  389. package/dist/components/OverflowMenu.d.ts +41 -0
  390. package/dist/components/OverflowMenu.mjs +2 -0
  391. package/dist/components/OverflowMenu.vue.d.ts +36 -0
  392. package/dist/components/OverflowMenu.vue.d.ts.map +1 -0
  393. package/dist/components/PageHeader.cjs +1 -1
  394. package/dist/components/PageHeader.mjs +1 -1
  395. package/dist/components/PageLayout.cjs +1 -1
  396. package/dist/components/PageLayout.mjs +1 -1
  397. package/dist/components/Pagination.cjs +1 -1
  398. package/dist/components/Pagination.mjs +1 -1
  399. package/dist/components/Panel.cjs +1 -1
  400. package/dist/components/Panel.mjs +1 -1
  401. package/dist/components/ProgressBar.cjs +1 -1
  402. package/dist/components/ProgressBar.mjs +1 -1
  403. package/dist/components/Radio.cjs +1 -1
  404. package/dist/components/Radio.mjs +1 -1
  405. package/dist/components/ReorderList.cjs +1 -1
  406. package/dist/components/ReorderList.mjs +1 -1
  407. package/dist/components/Search.cjs +1 -0
  408. package/dist/components/Search.d.ts +36 -0
  409. package/dist/components/Search.mjs +2 -0
  410. package/dist/components/Search.vue.d.ts +32 -0
  411. package/dist/components/Search.vue.d.ts.map +1 -0
  412. package/dist/components/Select.cjs +1 -1
  413. package/dist/components/Select.d.ts +4 -1
  414. package/dist/components/Select.mjs +1 -1
  415. package/dist/components/Select.vue.d.ts +6 -6
  416. package/dist/components/Select.vue.d.ts.map +1 -1
  417. package/dist/components/Shell.cjs +1 -1
  418. package/dist/components/Shell.d.ts +1 -0
  419. package/dist/components/Shell.mjs +1 -1
  420. package/dist/components/Shell.vue.d.ts +2 -2
  421. package/dist/components/Shell.vue.d.ts.map +1 -1
  422. package/dist/components/ShellPanel.cjs +1 -1
  423. package/dist/components/ShellPanel.mjs +1 -1
  424. package/dist/components/ShellPanel.vue.d.ts +2 -2
  425. package/dist/components/ShellPanel.vue.d.ts.map +1 -1
  426. package/dist/components/SidebarBrand.cjs +1 -1
  427. package/dist/components/SidebarBrand.mjs +1 -1
  428. package/dist/components/SidebarCollapseToggle.cjs +1 -1
  429. package/dist/components/SidebarCollapseToggle.mjs +1 -1
  430. package/dist/components/SidebarHeaderToggle.cjs +1 -1
  431. package/dist/components/SidebarHeaderToggle.mjs +1 -1
  432. package/dist/components/SidebarHeaderToggle.vue.d.ts.map +1 -1
  433. package/dist/components/SidebarLink.cjs +1 -1
  434. package/dist/components/SidebarLink.mjs +1 -1
  435. package/dist/components/SidebarMenu.cjs +1 -1
  436. package/dist/components/SidebarMenu.mjs +1 -1
  437. package/dist/components/SidebarMenuGroup.cjs +1 -1
  438. package/dist/components/SidebarMenuGroup.mjs +1 -1
  439. package/dist/components/SidebarMenuItem.cjs +1 -1
  440. package/dist/components/SidebarMenuItem.mjs +1 -1
  441. package/dist/components/SidebarStatus.cjs +1 -1
  442. package/dist/components/SidebarStatus.mjs +1 -1
  443. package/dist/components/Skeleton.cjs +1 -1
  444. package/dist/components/Skeleton.d.ts +20 -1
  445. package/dist/components/Skeleton.mjs +1 -1
  446. package/dist/components/Skeleton.vue.d.ts +3 -0
  447. package/dist/components/Skeleton.vue.d.ts.map +1 -1
  448. package/dist/components/Slider.cjs +1 -1
  449. package/dist/components/Slider.mjs +1 -1
  450. package/dist/components/Spinner.cjs +1 -1
  451. package/dist/components/Spinner.mjs +1 -1
  452. package/dist/components/Stat.cjs +1 -1
  453. package/dist/components/Stat.mjs +1 -1
  454. package/dist/components/Stepper.cjs +1 -1
  455. package/dist/components/Stepper.mjs +1 -1
  456. package/dist/components/StepperStep.cjs +1 -1
  457. package/dist/components/StepperStep.mjs +1 -1
  458. package/dist/components/StructuredList.cjs +1 -1
  459. package/dist/components/StructuredList.mjs +1 -1
  460. package/dist/components/StructuredList.vue.d.ts +2 -2
  461. package/dist/components/Submenu.cjs +1 -1
  462. package/dist/components/Submenu.mjs +1 -1
  463. package/dist/components/SuggestionList.cjs +1 -1
  464. package/dist/components/SuggestionList.d.ts +8 -0
  465. package/dist/components/SuggestionList.mjs +1 -1
  466. package/dist/components/SuggestionList.vue.d.ts +3 -0
  467. package/dist/components/SuggestionList.vue.d.ts.map +1 -1
  468. package/dist/components/Switch.cjs +1 -1
  469. package/dist/components/Switch.mjs +1 -1
  470. package/dist/components/TableOfContents.cjs +1 -1
  471. package/dist/components/TableOfContents.mjs +1 -1
  472. package/dist/components/TableOfContents.vue.d.ts.map +1 -1
  473. package/dist/components/Tabs.cjs +1 -1
  474. package/dist/components/Tabs.mjs +1 -1
  475. package/dist/components/TextInput.cjs +1 -1
  476. package/dist/components/TextInput.mjs +1 -1
  477. package/dist/components/TextInput.vue.d.ts +20 -4
  478. package/dist/components/TextInput.vue.d.ts.map +1 -1
  479. package/dist/components/Toast.cjs +1 -1
  480. package/dist/components/Toast.mjs +1 -1
  481. package/dist/components/Toast.vue.d.ts +4 -1
  482. package/dist/components/Toast.vue.d.ts.map +1 -1
  483. package/dist/components/Toaster.cjs +1 -1
  484. package/dist/components/Toaster.mjs +1 -1
  485. package/dist/components/Toolbar.cjs +1 -0
  486. package/dist/components/Toolbar.context.d.ts +22 -0
  487. package/dist/components/Toolbar.context.d.ts.map +1 -0
  488. package/dist/components/Toolbar.d.ts +26 -0
  489. package/dist/components/Toolbar.mjs +2 -0
  490. package/dist/components/Toolbar.vue.d.ts +24 -0
  491. package/dist/components/Toolbar.vue.d.ts.map +1 -0
  492. package/dist/components/Tree.cjs +1 -1
  493. package/dist/components/Tree.mjs +1 -1
  494. package/dist/components/TreeNode.cjs +1 -1
  495. package/dist/components/TreeNode.mjs +1 -1
  496. package/dist/components/TreeNode.vue.d.ts +1 -1
  497. package/dist/components/UserMenu.cjs +1 -1
  498. package/dist/components/UserMenu.mjs +1 -1
  499. package/dist/components/UserMenu.vue.d.ts.map +1 -1
  500. package/dist/components/Video.cjs +1 -1
  501. package/dist/components/Video.mjs +1 -1
  502. package/dist/components/Video.vue.d.ts.map +1 -1
  503. package/dist/components/Walkthrough.cjs +1 -1
  504. package/dist/components/Walkthrough.mjs +1 -1
  505. package/dist/components/Walkthrough.vue.d.ts.map +1 -1
  506. package/dist/components/Wireframe.cjs +1 -1
  507. package/dist/components/Wireframe.mjs +1 -1
  508. package/dist/components/index.d.ts.map +1 -1
  509. package/dist/components/manifest.d.ts +9 -0
  510. package/dist/components/manifest.d.ts.map +1 -1
  511. package/dist/components/manifest.js +9 -0
  512. package/dist/composables/useBlueprint.composable.cjs +1 -1
  513. package/dist/composables/useBlueprint.composable.mjs +1 -1
  514. package/dist/composables/useConfirm.composable.cjs +1 -1
  515. package/dist/composables/useConfirm.composable.mjs +3 -3
  516. package/dist/composables/useInlineLoading.composable.cjs +1 -1
  517. package/dist/composables/useInlineLoading.composable.mjs +1 -1
  518. package/dist/composables/useLoadingAnnouncer.composable.cjs +1 -1
  519. package/dist/composables/useLoadingAnnouncer.composable.mjs +1 -1
  520. package/dist/composables/useNbStrings.composable.cjs +1 -1
  521. package/dist/composables/useNbStrings.composable.d.ts +66 -0
  522. package/dist/composables/useNbStrings.composable.d.ts.map +1 -1
  523. package/dist/composables/useNbStrings.composable.mjs +61 -0
  524. package/dist/composables/useRovingFocus.composable.cjs +1 -0
  525. package/dist/composables/useRovingFocus.composable.d.ts +22 -0
  526. package/dist/composables/useRovingFocus.composable.d.ts.map +1 -0
  527. package/dist/composables/useRovingFocus.composable.mjs +56 -0
  528. package/dist/directives/ToolTip.directive.d.ts +56 -0
  529. package/dist/directives/ToolTip.directive.d.ts.map +1 -1
  530. package/dist/global.d.ts +18 -0
  531. package/dist/index.cjs +1 -1
  532. package/dist/index.mjs +152 -143
  533. package/dist/main-Bo1B-xzL.cjs +4 -0
  534. package/dist/main-nO1LQzsc.js +744 -0
  535. package/dist/main.d.ts +21 -1
  536. package/dist/main.d.ts.map +1 -1
  537. package/dist/styles/AccordionItem.css +1 -1
  538. package/dist/styles/ActionGroup.css +1 -1
  539. package/dist/styles/Banner.css +1 -1
  540. package/dist/styles/BatchActions.css +1 -0
  541. package/dist/styles/BlueprintCard.css +1 -1
  542. package/dist/styles/BlueprintControls.css +1 -1
  543. package/dist/styles/Board.css +1 -1
  544. package/dist/styles/BottomPanel.css +1 -1
  545. package/dist/styles/Breadcrumbs.css +1 -1
  546. package/dist/styles/Button.css +1 -1
  547. package/dist/styles/ButtonSet.css +1 -0
  548. package/dist/styles/Calendar.css +1 -1
  549. package/dist/styles/Card.css +1 -1
  550. package/dist/styles/ChipGroup.css +1 -0
  551. package/dist/styles/CommandPalette.css +1 -1
  552. package/dist/styles/Confirm.css +1 -1
  553. package/dist/styles/ContentSwitcher.css +1 -0
  554. package/dist/styles/DataTable.css +1 -1
  555. package/dist/styles/DatePicker.css +1 -1
  556. package/dist/styles/FileUploader.css +1 -1
  557. package/dist/styles/FloatingToolbar.css +1 -1
  558. package/dist/styles/ImagePicker.css +1 -1
  559. package/dist/styles/InfoHint.css +1 -1
  560. package/dist/styles/InlineEdit.css +1 -1
  561. package/dist/styles/InputGroup.css +1 -0
  562. package/dist/styles/Modal.css +1 -1
  563. package/dist/styles/NotificationCenter.css +1 -1
  564. package/dist/styles/NumberInput.css +1 -1
  565. package/dist/styles/OverflowMenu.css +1 -0
  566. package/dist/styles/Pagination.css +1 -1
  567. package/dist/styles/Search.css +1 -0
  568. package/dist/styles/Select.css +1 -1
  569. package/dist/styles/Shell.css +1 -1
  570. package/dist/styles/ShellPanel.css +1 -1
  571. package/dist/styles/SidebarHeaderToggle.css +1 -1
  572. package/dist/styles/Skeleton.css +1 -1
  573. package/dist/styles/SuggestionList.css +1 -1
  574. package/dist/styles/TableOfContents.css +1 -1
  575. package/dist/styles/TextInput.css +1 -1
  576. package/dist/styles/Toast.css +1 -1
  577. package/dist/styles/Toolbar.css +1 -0
  578. package/dist/styles/UserMenu.css +1 -1
  579. package/dist/styles/Walkthrough.css +1 -1
  580. package/dist/ui.css +43 -35
  581. package/dist/utils/actionFit.helper.cjs +1 -0
  582. package/dist/utils/actionFit.helper.d.ts +20 -0
  583. package/dist/utils/actionFit.helper.d.ts.map +1 -0
  584. package/dist/utils/actionFit.helper.mjs +13 -0
  585. package/package.json +2 -2
  586. package/src/styles/_theme.scss +11 -4
  587. package/src/styles/logic/_field.scss +22 -0
  588. package/src/styles/logic/_focus.scss +20 -0
  589. package/src/styles/logic/index.scss +1 -0
  590. package/src/utils/actionFit.helper.ts +40 -0
  591. package/dist/AccordionItem-DFwj28eL.js +0 -118
  592. package/dist/AccordionItem-DhZD2kJL.cjs +0 -1
  593. package/dist/ActionGroup-CJoBGUvw.js +0 -171
  594. package/dist/ActionGroup-CU9YQboQ.cjs +0 -1
  595. package/dist/BackToTop-C5gFfuu7.cjs +0 -1
  596. package/dist/BackToTop-DZhl6N_Q.js +0 -56
  597. package/dist/Banner-5uX-ujbu.js +0 -93
  598. package/dist/Banner-CiIQKSxv.cjs +0 -1
  599. package/dist/BlueprintControls-DnUoI9qp.cjs +0 -1
  600. package/dist/Board-BNB96CXm.cjs +0 -1
  601. package/dist/BottomPanel-CYxavAS0.cjs +0 -1
  602. package/dist/BottomPanel-vFcIk2nf.js +0 -115
  603. package/dist/Breadcrumbs-B-pjVWeD.js +0 -184
  604. package/dist/Breadcrumbs-CqDYLfIQ.cjs +0 -1
  605. package/dist/Button-C0N1cyOQ.cjs +0 -1
  606. package/dist/Button-CuwzIVWv.js +0 -132
  607. package/dist/Calendar-Bbk7bPW1.cjs +0 -1
  608. package/dist/Calendar-EiqHtUG2.js +0 -155
  609. package/dist/Card-B5FTcFEQ.cjs +0 -1
  610. package/dist/Card-DUTWbKv7.js +0 -143
  611. package/dist/CommandPalette-C8-2XCrf.cjs +0 -1
  612. package/dist/Confirm-BA-t4jPF.cjs +0 -1
  613. package/dist/Confirm-MmMvMttu.js +0 -313
  614. package/dist/CopyButton-Bcc2BDJ8.js +0 -65
  615. package/dist/CopyButton-CwHAVKQ6.cjs +0 -1
  616. package/dist/DataTable-D4KrQH5E.js +0 -485
  617. package/dist/DataTable-DVJnvBQM.cjs +0 -1
  618. package/dist/DatePicker-BmuVSyZ3.cjs +0 -1
  619. package/dist/DatePicker-CagtB0Sd.js +0 -743
  620. package/dist/FileUploader-B9j-HmX3.js +0 -193
  621. package/dist/FileUploader-BolhAWrI.cjs +0 -1
  622. package/dist/FloatingToolbar-CYOuKLd7.js +0 -140
  623. package/dist/FloatingToolbar-DxUUozlf.cjs +0 -1
  624. package/dist/ImagePicker-CZEFzYC8.js +0 -171
  625. package/dist/ImagePicker-CebI8MDy.cjs +0 -1
  626. package/dist/InfoHint-DVrm41q9.js +0 -177
  627. package/dist/InfoHint-WYitTbYz.cjs +0 -1
  628. package/dist/InlineEdit-DViLVwtn.js +0 -116
  629. package/dist/InlineEdit-DfkmTudh.cjs +0 -1
  630. package/dist/Menu-CLDGxi-1.cjs +0 -1
  631. package/dist/Menu-C_UsGyKX.js +0 -177
  632. package/dist/Modal-1i_nDqvM.cjs +0 -1
  633. package/dist/Modal-CxIl02xU.js +0 -229
  634. package/dist/NotificationCenter-CXn7sGFw.cjs +0 -1
  635. package/dist/NotificationCenter-Cu_vs-jh.js +0 -584
  636. package/dist/NumberInput-CMxlZ54a.cjs +0 -1
  637. package/dist/NumberInput-Dy0leAIF.js +0 -324
  638. package/dist/Select-Bz4tf2H_.cjs +0 -1
  639. package/dist/Select-hL8I-aNK.js +0 -603
  640. package/dist/Shell-BxGBrQsM.js +0 -536
  641. package/dist/Shell-BzXh23BU.cjs +0 -1
  642. package/dist/ShellPanel-DzkkJYVd.js +0 -126
  643. package/dist/ShellPanel-XYKkAc5n.cjs +0 -1
  644. package/dist/Skeleton-CqZ9O0X0.cjs +0 -1
  645. package/dist/SuggestionList-BJjbVvt2.cjs +0 -1
  646. package/dist/SuggestionList-Bdx7CK__.js +0 -189
  647. package/dist/TextInput-BXyJQfGx.js +0 -348
  648. package/dist/TextInput-DKp819VS.cjs +0 -2
  649. package/dist/Toast-BKrvlON6.cjs +0 -1
  650. package/dist/Toast-fRHhhjZV.js +0 -115
  651. package/dist/UserMenu-GJHs1fKI.cjs +0 -1
  652. package/dist/Video-D1WOYCYH.cjs +0 -1
  653. package/dist/Video-DrDqaCXl.js +0 -104
  654. package/dist/Walkthrough-DXMDgB9t.cjs +0 -1
  655. package/dist/Walkthrough-D_vfYTWP.js +0 -327
  656. package/dist/main-BTximdIU.js +0 -1255
  657. package/dist/main-DkNxc78b.cjs +0 -4
  658. package/dist/motion-BjVtMTXD.cjs +0 -1
  659. package/dist/motion-C0h9XZQZ.js +0 -18
  660. /package/dist/{Badge-CfICqXrd.cjs → Badge-BYfdJcdD.cjs} +0 -0
  661. /package/dist/{Badge-BFsoJcCK.js → Badge-scjsdx_V.js} +0 -0
  662. /package/dist/{Blueprint.context-B3d5-4jD.cjs → Blueprint.context-BX56xsrT.cjs} +0 -0
  663. /package/dist/{Blueprint.context-B4bRLj7m.js → Blueprint.context-Bz6Jy1Ou.js} +0 -0
  664. /package/dist/{BlueprintBackground-5OOF-VpK.js → BlueprintBackground-DPjZeMwY.js} +0 -0
  665. /package/dist/{BlueprintBackground-D_JokLTK.cjs → BlueprintBackground-yHRGclEz.cjs} +0 -0
  666. /package/dist/{BlueprintMinimap-CACuVJqI.cjs → BlueprintMinimap-qskDNYyr.cjs} +0 -0
  667. /package/dist/{BlueprintMinimap-Ehrltju2.js → BlueprintMinimap-xnsyS1M8.js} +0 -0
  668. /package/dist/{Card.link-eRkbFiF1.cjs → Card.link-Bw2B_lPO.cjs} +0 -0
  669. /package/dist/{Card.link-CB8_CTbn.js → Card.link-CdvubtHJ.js} +0 -0
  670. /package/dist/{CardGrid-DzjiR2wg.cjs → CardGrid-DPaITpcU.cjs} +0 -0
  671. /package/dist/{CardGrid-BOhFOzTs.js → CardGrid-j0TFmVrQ.js} +0 -0
  672. /package/dist/{ChartLegend-C81jju4k.cjs → ChartLegend-COJeG-2B.cjs} +0 -0
  673. /package/dist/{ChartLegend-fsJqOyGj.js → ChartLegend-LDNukufA.js} +0 -0
  674. /package/dist/{CheckboxGroup.context-C8p21aqH.cjs → CheckboxGroup.context-ADwiY4gy.cjs} +0 -0
  675. /package/dist/{CheckboxGroup.context-Cu0BA648.js → CheckboxGroup.context-C1QB-Zsq.js} +0 -0
  676. /package/dist/{ContainedList-DV8kZgTS.cjs → ContainedList-CBWwEmoK.cjs} +0 -0
  677. /package/dist/{ContainedList-7uMU4e4Z.js → ContainedList-PUA2OJ08.js} +0 -0
  678. /package/dist/{DefinitionList-DIPobaPW.js → DefinitionList-BOVcW-V7.js} +0 -0
  679. /package/dist/{DefinitionList-BuRW4drr.cjs → DefinitionList-CndoLDLs.cjs} +0 -0
  680. /package/dist/{DefinitionListItem-CbVnrShi.js → DefinitionListItem-C3VrLhWY.js} +0 -0
  681. /package/dist/{DefinitionListItem-Bf9amK8a.cjs → DefinitionListItem-CLztc8mQ.cjs} +0 -0
  682. /package/dist/{DragHandle-snItY92k.cjs → DragHandle-Bz2N22Sm.cjs} +0 -0
  683. /package/dist/{DragHandle-dCNBfHJe.js → DragHandle-Cc7WrUj7.js} +0 -0
  684. /package/dist/{EmptyState-B8EM9ynK.cjs → EmptyState-Db0Zrrk2.cjs} +0 -0
  685. /package/dist/{EmptyState-D-fku2DD.js → EmptyState-DhlJV0C6.js} +0 -0
  686. /package/dist/{Field-3S8uGW95.cjs → Field-COMPegVv.cjs} +0 -0
  687. /package/dist/{Field-DK5iec3Z.js → Field-D12Dja-u.js} +0 -0
  688. /package/dist/{Flag-myXFwopO.js → Flag-DyDqHJy3.js} +0 -0
  689. /package/dist/{Flag-CNx_cE4Q.cjs → Flag-gM91kXTi.cjs} +0 -0
  690. /package/dist/{Grid-jlgLOwom.js → Grid-B7d8x0tA.js} +0 -0
  691. /package/dist/{Grid-C0muGlj3.cjs → Grid-BOtE_jXr.cjs} +0 -0
  692. /package/dist/{JsonTree-Bmj8WtzK.cjs → JsonTree-MjCO8_Xk.cjs} +0 -0
  693. /package/dist/{JsonTree-BWfMcWOV.js → JsonTree-VbXpLPoG.js} +0 -0
  694. /package/dist/{Label-CTOPIIbR.cjs → Label-CjxnZgNy.cjs} +0 -0
  695. /package/dist/{Label-BDMCrURR.js → Label-xwHw_UbN.js} +0 -0
  696. /package/dist/{Layer-BJeI6Q6N.js → Layer-Btb-b9Mk.js} +0 -0
  697. /package/dist/{Layer-D-MNrLiB.cjs → Layer-D0NqQYM0.cjs} +0 -0
  698. /package/dist/{MenuBar-aLDr7-eJ.cjs → MenuBar-BVgGbppN.cjs} +0 -0
  699. /package/dist/{MenuBar-DyJufs5b.js → MenuBar-M2eiYZG0.js} +0 -0
  700. /package/dist/{MenuDivider-aZIXvYsH.js → MenuDivider-B3tNv2aj.js} +0 -0
  701. /package/dist/{MenuDivider-D75yF8o8.cjs → MenuDivider-BSMtwoUU.cjs} +0 -0
  702. /package/dist/{Message-Bija1nMK.cjs → Message-BJO4MjiQ.cjs} +0 -0
  703. /package/dist/{Message-BONOwoVY.js → Message-DCeg8qsC.js} +0 -0
  704. /package/dist/{NotificationCenterItem-zdOMnxv1.cjs → NotificationCenterItem-D0agavaK.cjs} +0 -0
  705. /package/dist/{NotificationCenterItem-BbbBFYEu.js → NotificationCenterItem-O6SR_6KR.js} +0 -0
  706. /package/dist/{NubiscoMark-Cf7Ek83E.cjs → NubiscoMark-3StsXBoJ.cjs} +0 -0
  707. /package/dist/{NubiscoMark-BLT8ULAl.js → NubiscoMark-XJWPWIc0.js} +0 -0
  708. /package/dist/{NubiscoPlatformMark-Dca7vi6H.js → NubiscoPlatformMark-BgQLjI89.js} +0 -0
  709. /package/dist/{NubiscoPlatformMark-CXMSQDYh.cjs → NubiscoPlatformMark-D8WIp4On.cjs} +0 -0
  710. /package/dist/{PageLayout-DQKfOSQq.js → PageLayout-BMcT2mzU.js} +0 -0
  711. /package/dist/{PageLayout-Dw4JYS3k.cjs → PageLayout-DHi1w1PD.cjs} +0 -0
  712. /package/dist/{PrimaryAction.context-BkYkcMlm.js → PrimaryAction.context-DZUcR5ER.js} +0 -0
  713. /package/dist/{PrimaryAction.context-2v_jcQAo.cjs → PrimaryAction.context-DnzRVqGH.cjs} +0 -0
  714. /package/dist/{ReorderList-B1CYGR0e.js → ReorderList-DmjW30Mw.js} +0 -0
  715. /package/dist/{ReorderList-DBW8TBu6.cjs → ReorderList-qScXc3-v.cjs} +0 -0
  716. /package/dist/{SidebarBrand-FHBO4Dw3.js → SidebarBrand-CZf-kRyZ.js} +0 -0
  717. /package/dist/{SidebarBrand-CX-BgI4X.cjs → SidebarBrand-D2u7hX-v.cjs} +0 -0
  718. /package/dist/{SidebarLink-xtGCDABj.js → SidebarLink-BuRBmv_k.js} +0 -0
  719. /package/dist/{SidebarLink-DTGVapwa.cjs → SidebarLink-CSTNfb2F.cjs} +0 -0
  720. /package/dist/{SidebarMenu-CnsOBXeM.cjs → SidebarMenu-CAthEmyy.cjs} +0 -0
  721. /package/dist/{SidebarMenu-D24o7HS-.js → SidebarMenu-CgWUHllQ.js} +0 -0
  722. /package/dist/{SidebarMenuGroup-DJasr_cx.cjs → SidebarMenuGroup-B9JGPBcF.cjs} +0 -0
  723. /package/dist/{SidebarMenuGroup-Bjc2IeK5.js → SidebarMenuGroup-DdWg57Wv.js} +0 -0
  724. /package/dist/{SidebarMenuItem-UFeKPTvc.js → SidebarMenuItem-BvvoDIjK.js} +0 -0
  725. /package/dist/{SidebarMenuItem-DP4L8ljr.cjs → SidebarMenuItem-eFnj5QoE.cjs} +0 -0
  726. /package/dist/{SidebarStatus-D-CfUYFc.js → SidebarStatus-CnTnYL4x.js} +0 -0
  727. /package/dist/{SidebarStatus-YfLW9xzC.cjs → SidebarStatus-CvjuggXO.cjs} +0 -0
  728. /package/dist/{Sparkline-MAi1Fh2T.cjs → Sparkline-B7kUEfuW.cjs} +0 -0
  729. /package/dist/{Sparkline-m3wbt-f1.js → Sparkline-CVzkzaOJ.js} +0 -0
  730. /package/dist/{Stepper.context-DUIDhN9Q.cjs → Stepper.context-Brnt5IZv.cjs} +0 -0
  731. /package/dist/{Stepper.context-DqfEvgGM.js → Stepper.context-CRKX8lxW.js} +0 -0
  732. /package/dist/{StructuredList-h9JFXpF4.cjs → StructuredList-BexC0c1Z.cjs} +0 -0
  733. /package/dist/{StructuredList-BSfuLANB.js → StructuredList-DuBBP01p.js} +0 -0
  734. /package/dist/{Submenu-Dxo3DUDA.cjs → Submenu-DRkHiWsD.cjs} +0 -0
  735. /package/dist/{Submenu-BnMaJKYm.js → Submenu-Dnj5MiFy.js} +0 -0
  736. /package/dist/{TextInput.context-DV1MgL_Q.js → TextInput.context-B-mipPOo.js} +0 -0
  737. /package/dist/{TextInput.context-UTLuljcO.cjs → TextInput.context-ChkcqMNM.cjs} +0 -0
  738. /package/dist/{TreeContext-TZ35sT5B.cjs → TreeContext-B2Io2oii.cjs} +0 -0
  739. /package/dist/{TreeContext--GZ21fCm.js → TreeContext-Cs4iAw0d.js} +0 -0
  740. /package/dist/{Wireframe-CL0rjsos.cjs → Wireframe-3fvc4I5-.cjs} +0 -0
  741. /package/dist/{Wireframe-BxUNaH2g.js → Wireframe-C_Ca3wCn.js} +0 -0
  742. /package/dist/{palette-CWU7exM6.js → palette-6bEW4KUN.js} +0 -0
  743. /package/dist/{palette-B7XEOMVB.cjs → palette-LbOzdAXj.cjs} +0 -0
  744. /package/dist/{pixi-scene-BKyneWmd.cjs → pixi-scene-CQ1qoZvX.cjs} +0 -0
  745. /package/dist/{pixi-scene-TbaBQ2-u.js → pixi-scene-DFCEvc1j.js} +0 -0
  746. /package/dist/{scales-CNW8JgKC.js → scales-BGzTviac.js} +0 -0
  747. /package/dist/{scales-B8IbC7t_.cjs → scales-BRSHTjbp.cjs} +0 -0
  748. /package/dist/{useChartSize-CftshgoY.js → useChartSize-05CLdiR0.js} +0 -0
  749. /package/dist/{useChartSize-B6Bes760.cjs → useChartSize-CUZ7BuGD.cjs} +0 -0
  750. /package/dist/{useLoadingAnnouncer.composable-Dn1mqnqe.cjs → useLoadingAnnouncer.composable-CEPRjDi3.cjs} +0 -0
  751. /package/dist/{useLoadingAnnouncer.composable-BAwecV1M.js → useLoadingAnnouncer.composable-c0XX_xNT.js} +0 -0
  752. /package/dist/{vue-i18n-DSR949qU.js → vue-i18n-DaD-yZmK.js} +0 -0
  753. /package/dist/{vue-i18n-DIvTc6LM.cjs → vue-i18n-ZdR0XDmN.cjs} +0 -0
@@ -1,743 +0,0 @@
1
- import { t as e } from "./Icon-B2tiGiqZ.js";
2
- import { useSurfaceLayer as t } from "./composables/useSurfaceLayer.composable.mjs";
3
- import { usePhoneLayout as n } from "./composables/usePhoneLayout.composable.mjs";
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";
7
- import { useMenuSurface as o } from "./composables/useMenuSurface.composable.mjs";
8
- import { useNbStrings as s } from "./composables/useNbStrings.composable.mjs";
9
- import { useVisualViewportVar as c } from "./composables/useVisualViewportVar.composable.mjs";
10
- import { Fragment as l, Teleport as ee, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineComponent as _, mergeProps as te, nextTick as v, normalizeClass as y, onBeforeUnmount as ne, openBlock as b, ref as x, renderList as re, renderSlot as ie, toDisplayString as S, unref as C, useId as ae, watch as oe, withCtx as w, withModifiers as se } from "vue";
11
- import { regular as ce } from "@nubisco/ui/icons/caret-right";
12
- import { regular as le } from "@nubisco/ui/icons/calendar";
13
- import { regular as ue } from "@nubisco/ui/icons/caret-double-left";
14
- import { regular as de } from "@nubisco/ui/icons/caret-left";
15
- import { regular as fe } from "@nubisco/ui/icons/caret-double-right";
16
- //#region src/components/DatePicker.vue?vue&type=script&setup=true&lang.ts
17
- var pe = { class: "nb-date-picker__col" }, me = [
18
- "id",
19
- "value",
20
- "placeholder",
21
- "disabled",
22
- "readonly",
23
- "required",
24
- "name",
25
- "aria-invalid",
26
- "aria-describedby"
27
- ], he = ["disabled", "aria-label"], ge = {
28
- key: 0,
29
- class: "nb-date-picker__col"
30
- }, _e = [
31
- "id",
32
- "value",
33
- "placeholder",
34
- "disabled",
35
- "readonly",
36
- "required",
37
- "aria-invalid",
38
- "aria-describedby"
39
- ], ve = ["disabled", "aria-label"], ye = {
40
- key: 0,
41
- class: "nb-date-picker__inner-header"
42
- }, be = ["for"], xe = {
43
- key: 0,
44
- class: "nb-date-picker__asterisk",
45
- "aria-hidden": "true"
46
- }, Se = { class: "nb-date-picker__fluid-row" }, Ce = [
47
- "id",
48
- "value",
49
- "placeholder",
50
- "disabled",
51
- "readonly",
52
- "required",
53
- "name",
54
- "aria-invalid"
55
- ], we = ["disabled", "aria-label"], Te = {
56
- key: 0,
57
- class: "nb-date-picker__inner-header"
58
- }, Ee = ["for"], De = {
59
- key: 0,
60
- class: "nb-date-picker__asterisk",
61
- "aria-hidden": "true"
62
- }, Oe = { class: "nb-date-picker__fluid-row" }, ke = [
63
- "id",
64
- "value",
65
- "placeholder",
66
- "disabled",
67
- "readonly",
68
- "required",
69
- "aria-invalid"
70
- ], Ae = ["disabled", "aria-label"], je = ["aria-label"], Me = { class: "nb-date-picker__cal-header" }, Ne = ["aria-label"], Pe = ["aria-label"], Fe = ["id"], Ie = ["aria-label"], Le = ["aria-label"], Re = ["aria-labelledby"], ze = { class: "nb-date-picker__cal-weekdays" }, Be = ["abbr"], Ve = ["aria-selected", "aria-disabled"], He = [
71
- "tabindex",
72
- "disabled",
73
- "aria-label",
74
- "data-date",
75
- "onClick"
76
- ], Ue = /* @__PURE__ */ _({
77
- inheritAttrs: !1,
78
- __name: "DatePicker",
79
- props: {
80
- modelValue: { default: null },
81
- type: { default: "single" },
82
- endValue: { default: null },
83
- min: { default: void 0 },
84
- max: { default: void 0 },
85
- weekStart: { default: 1 },
86
- locale: { default: void 0 },
87
- endPlaceholder: { default: "" },
88
- endLabel: { default: "" },
89
- endError: { default: "" },
90
- endWarning: { default: "" },
91
- disabledDates: {
92
- type: [Array, Function],
93
- default: void 0
94
- },
95
- readonly: {
96
- type: Boolean,
97
- default: !1
98
- },
99
- placeholder: { default: "" },
100
- name: { default: "" },
101
- disabled: {
102
- type: Boolean,
103
- default: !1
104
- },
105
- required: {
106
- type: Boolean,
107
- default: !1
108
- },
109
- id: { default: void 0 },
110
- label: { default: "" },
111
- error: { default: "" },
112
- warning: { default: "" },
113
- helper: { default: "" },
114
- variant: { default: "default" },
115
- size: { default: "md" }
116
- },
117
- emits: [
118
- "update:modelValue",
119
- "update:endValue",
120
- "change"
121
- ],
122
- setup(_, { expose: Ue, emit: We }) {
123
- let T = s(), E = _, { layerProps: Ge } = t({ overlay: !0 }), D = We, Ke = `nb-date-picker-${ae()}`, O = u(() => E.id ?? Ke), qe = u(() => `${O.value}-end`), Je = u(() => `${O.value}-helper`), Ye = u(() => `${O.value}-message`), Xe = u(() => `${O.value}-end-message`), Ze = u(() => `${O.value}-cal-title`), k = x(null), Qe = u(() => k.value !== null), A = x(!1), j = x($(/* @__PURE__ */ new Date())), $e = x(null), M = x(null), N = x(null), P = x(null);
124
- o(P);
125
- let { phone: et } = n(), tt = x(null);
126
- c(() => A.value);
127
- let nt = x({
128
- position: "fixed",
129
- top: "0px",
130
- left: "0px",
131
- zIndex: "9999"
132
- }), F = x("start"), I = u(() => E.locale || (typeof navigator < "u" ? navigator.language : "") || "en"), L = u(() => new Intl.DateTimeFormat(I.value).formatToParts(new Date(2e3, 0, 15)).map((e) => e.type === "day" ? "dd" : e.type === "month" ? "mm" : e.type === "year" ? "yyyy" : e.value).join(""));
133
- function R(e) {
134
- if (!e) return "";
135
- let t = /* @__PURE__ */ new Date(e + "T00:00:00");
136
- return isNaN(t.getTime()) ? e : t.toLocaleDateString(I.value);
137
- }
138
- function rt(e) {
139
- return (/* @__PURE__ */ new Date(e + "T00:00:00")).toLocaleDateString(I.value, {
140
- weekday: "long",
141
- year: "numeric",
142
- month: "long",
143
- day: "numeric"
144
- });
145
- }
146
- let it = u(() => R(E.modelValue ?? null)), at = u(() => R(E.endValue ?? null)), z = u(() => E.error ? {
147
- variant: "error",
148
- text: E.error
149
- } : E.warning ? {
150
- variant: "warning",
151
- text: E.warning
152
- } : null), B = u(() => E.type === "range" ? E.endError ? {
153
- variant: "error",
154
- text: E.endError
155
- } : E.endWarning ? {
156
- variant: "warning",
157
- text: E.endWarning
158
- } : null : null), V = u(() => z.value ? z.value : E.helper ? {
159
- variant: "helper",
160
- text: E.helper
161
- } : null), ot = u(() => {
162
- if (E.variant === "default") return z.value ? Ye.value : E.helper ? Je.value : void 0;
163
- }), st = u(() => {
164
- if (E.variant === "default") return B.value ? Xe.value : E.helper ? Je.value : void 0;
165
- }), ct = u(() => E.type === "range" && !!E.endLabel), lt = u(() => E.endLabel || E.endPlaceholder);
166
- function H(e) {
167
- return E.min != null && e < E.min || E.max != null && e > E.max ? !0 : E.disabledDates ? typeof E.disabledDates == "function" ? E.disabledDates(e) : E.disabledDates.includes(e) : !1;
168
- }
169
- let ut = u(() => new Intl.DateTimeFormat(I.value).formatToParts(new Date(2e3, 0, 15)).map((e) => e.type).filter((e) => e === "day" || e === "month" || e === "year"));
170
- function dt(e, t, n) {
171
- let r = new Date(e, t - 1, n);
172
- return r.getMonth() !== t - 1 || r.getDate() !== n ? null : (r.setFullYear(e), $(r));
173
- }
174
- function ft(e) {
175
- let t = e.split(/[\s./-]+/).filter(Boolean);
176
- if (t.length !== 3) return null;
177
- let n = t[0].length === 4 ? [
178
- "year",
179
- "month",
180
- "day"
181
- ] : ut.value;
182
- if (n.length !== 3) return null;
183
- let r = {
184
- day: 0,
185
- month: 0,
186
- year: 0
187
- };
188
- for (let e = 0; e < 3; e++) {
189
- let i = n[e], a = t[e];
190
- if (i === "year" ? a.length !== 4 : a.length > 2) return null;
191
- r[i] = Number(a);
192
- }
193
- return dt(r.year, r.month, r.day);
194
- }
195
- function pt(e) {
196
- let t = e.trim();
197
- if (!t) return null;
198
- if (/^\d{4}-\d{2}-\d{2}$/.test(t)) {
199
- let e = /* @__PURE__ */ new Date(t + "T00:00:00");
200
- return isNaN(e.getTime()) ? null : t;
201
- }
202
- if (/^[\d\s./-]+$/.test(t)) return ft(t);
203
- let n = new Date(t);
204
- return isNaN(n.getTime()) ? null : $(n);
205
- }
206
- function mt(e) {
207
- let t = e.target.value, n = pt(t);
208
- n && H(n) || (n || t === "") && (D("update:modelValue", n), D("change", n));
209
- }
210
- function ht(e) {
211
- let t = e.target.value, n = pt(t);
212
- n && H(n) || (n || t === "") && D("update:endValue", n);
213
- }
214
- function U(e) {
215
- k.value = e.target === N.value ? "end" : "start", E.type !== "simple" && !E.readonly && (F.value = k.value, A.value ? K() : q());
216
- }
217
- function W() {
218
- k.value = null;
219
- }
220
- function G(e) {
221
- if (!(E.type === "simple" || E.readonly)) switch (e.key) {
222
- case "Escape":
223
- A.value && (J(), e.preventDefault());
224
- break;
225
- case "ArrowDown":
226
- e.preventDefault(), A.value || q(), v(Y);
227
- break;
228
- case "Enter":
229
- A.value || (e.preventDefault(), q(), v(Y));
230
- break;
231
- }
232
- }
233
- function K() {
234
- let e = $e.value?.querySelectorAll(".nb-date-picker__input-wrapper");
235
- if (!e?.length) return;
236
- let t = (F.value === "end" && e.length > 1 ? e[1] : e[0]).getBoundingClientRect(), n = P.value?.offsetWidth ?? 0, r = P.value?.offsetHeight ?? 0, i = t.left, a = t.bottom + 4;
237
- n > 0 && (i = Math.max(8, Math.min(i, window.innerWidth - n - 8))), r > 0 && a + r > window.innerHeight - 8 && t.top - 4 - r >= 8 && (a = t.top - 4 - r), nt.value = {
238
- position: "fixed",
239
- top: `${a}px`,
240
- left: `${i}px`,
241
- zIndex: "9999"
242
- };
243
- }
244
- function q() {
245
- if (E.disabled || E.readonly || E.type === "simple" || A.value) return;
246
- A.value = !0;
247
- let e = F.value === "end" && E.endValue ? E.endValue : E.modelValue, t = e ? /* @__PURE__ */ new Date(e + "T00:00:00") : /* @__PURE__ */ new Date();
248
- Z.value = t.getFullYear(), Q.value = t.getMonth(), j.value = e || $(/* @__PURE__ */ new Date()), K(), v(K);
249
- }
250
- function J() {
251
- A.value && (A.value = !1, v(() => {
252
- F.value === "end" && N.value ? N.value.focus() : M.value?.focus();
253
- }));
254
- }
255
- function gt() {
256
- A.value ? J() : (F.value = "start", q(), v(Y));
257
- }
258
- function Y() {
259
- v(() => {
260
- (P.value?.querySelector(`[data-date="${j.value}"]`))?.focus();
261
- });
262
- }
263
- function _t(e) {
264
- H(e) || (E.type === "range" ? F.value === "start" ? (D("update:modelValue", e), D("change", e), F.value = "end", j.value = e, v(() => N.value?.focus())) : (E.modelValue && e < E.modelValue ? (D("update:endValue", E.modelValue), D("update:modelValue", e), D("change", e)) : D("update:endValue", e), J()) : (D("update:modelValue", e), D("change", e), J()));
265
- }
266
- function vt(e) {
267
- let t = /* @__PURE__ */ new Date(j.value + "T00:00:00"), n = !0;
268
- switch (e.key) {
269
- case "ArrowRight":
270
- yt(t, 1);
271
- break;
272
- case "ArrowLeft":
273
- yt(t, -1);
274
- break;
275
- case "ArrowDown":
276
- yt(t, 7);
277
- break;
278
- case "ArrowUp":
279
- yt(t, -7);
280
- break;
281
- case "Home":
282
- bt(t, "start");
283
- break;
284
- case "End":
285
- bt(t, "end");
286
- break;
287
- case "PageUp":
288
- e.shiftKey ? xt(t, -12) : xt(t, -1);
289
- break;
290
- case "PageDown":
291
- e.shiftKey ? xt(t, 12) : xt(t, 1);
292
- break;
293
- case "Enter":
294
- case " ":
295
- e.preventDefault(), _t(j.value);
296
- return;
297
- case "Escape":
298
- J();
299
- break;
300
- case "Tab":
301
- J();
302
- return;
303
- default: n = !1;
304
- }
305
- n && e.preventDefault();
306
- }
307
- function yt(e, t) {
308
- let n = new Date(e);
309
- n.setDate(n.getDate() + t), St(n);
310
- }
311
- function bt(e, t) {
312
- let n = e.getDay();
313
- E.weekStart === 1 && (n = n === 0 ? 6 : n - 1);
314
- let r = t === "start" ? -n : 6 - n, i = new Date(e);
315
- i.setDate(i.getDate() + r), St(i);
316
- }
317
- function xt(e, t) {
318
- let n = new Date(e);
319
- n.setMonth(n.getMonth() + t), n.getDate() !== e.getDate() && n.setDate(0), St(n);
320
- }
321
- function St(e) {
322
- let t = $(e);
323
- E.min != null && t < E.min || E.max != null && t > E.max || (j.value = t, Z.value = e.getFullYear(), Q.value = e.getMonth(), Y());
324
- }
325
- function Ct(e) {
326
- let t = e.target, n = $e.value?.contains(t) ?? !1, r = P.value?.contains(t) ?? !1, i = tt.value?.contains(t) ?? !1;
327
- !n && !r && !i && J();
328
- }
329
- function X() {
330
- A.value && K();
331
- }
332
- oe(A, (e) => {
333
- e ? (document.addEventListener("mousedown", Ct), window.addEventListener("scroll", X, !0), window.addEventListener("resize", X)) : (document.removeEventListener("mousedown", Ct), window.removeEventListener("scroll", X, !0), window.removeEventListener("resize", X));
334
- }), ne(() => {
335
- document.removeEventListener("mousedown", Ct), window.removeEventListener("scroll", X, !0), window.removeEventListener("resize", X);
336
- });
337
- let Z = x((/* @__PURE__ */ new Date()).getFullYear()), Q = x((/* @__PURE__ */ new Date()).getMonth());
338
- function wt(e) {
339
- let t = Z.value * 12 + Q.value + e;
340
- Z.value = Math.floor(t / 12), Q.value = (t % 12 + 12) % 12;
341
- let n = (/* @__PURE__ */ new Date(j.value + "T00:00:00")).getDate(), r = new Date(Z.value, Q.value + 1, 0).getDate();
342
- j.value = $(new Date(Z.value, Q.value, Math.min(n, r))), Y();
343
- }
344
- let Tt = () => wt(-1), Et = () => wt(1), Dt = () => wt(-12), Ot = () => wt(12), kt = u(() => {
345
- let e = new Date(Z.value, Q.value, 1).toLocaleDateString(I.value, {
346
- month: "long",
347
- year: "numeric"
348
- });
349
- return e.charAt(0).toUpperCase() + e.slice(1);
350
- }), At = u(() => {
351
- let e = [], t = new Date(2024, 0, E.weekStart === 0 ? 7 : 1);
352
- for (let n = 0; n < 7; n++) {
353
- let r = new Date(t);
354
- r.setDate(t.getDate() + n);
355
- let i = r.toLocaleDateString(I.value, { weekday: "narrow" }).toUpperCase(), a = r.toLocaleDateString(I.value, { weekday: "long" });
356
- e.push({
357
- narrow: i,
358
- full: a.charAt(0).toUpperCase() + a.slice(1)
359
- });
360
- }
361
- return e;
362
- });
363
- function $(e) {
364
- return `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}`;
365
- }
366
- let jt = u(() => $(/* @__PURE__ */ new Date())), Mt = u(() => {
367
- let e = Z.value, t = Q.value, n = new Date(e, t, 1), r = new Date(e, t + 1, 0), i = n.getDay();
368
- E.weekStart === 1 && (i = i === 0 ? 6 : i - 1);
369
- let a = [], o = E.modelValue ?? null, s = E.endValue ?? null, c = o && s ? o < s ? o : s : null, l = o && s ? o < s ? s : o : null;
370
- function ee(e, t) {
371
- let n = $(e);
372
- return {
373
- key: n,
374
- date: n,
375
- day: e.getDate(),
376
- inMonth: t,
377
- isToday: n === jt.value,
378
- isSelected: n === o || n === s,
379
- inRange: c != null && l != null && n > c && n < l,
380
- isRangeStart: n === c && l != null,
381
- isRangeEnd: n === l && c != null,
382
- isDisabled: H(n)
383
- };
384
- }
385
- for (let n = i - 1; n >= 0; n--) a.push(ee(new Date(e, t, -n), !1));
386
- for (let n = 1; n <= r.getDate(); n++) a.push(ee(new Date(e, t, n), !0));
387
- let u = 7 - a.length % 7;
388
- if (u < 7) for (let n = 1; n <= u; n++) a.push(ee(new Date(e, t + 1, n), !1));
389
- return a;
390
- }), Nt = u(() => {
391
- let e = [];
392
- for (let t = 0; t < Mt.value.length; t += 7) e.push(Mt.value.slice(t, t + 7));
393
- return e;
394
- }), Pt = u(() => [
395
- "nb-date-picker",
396
- `nb-date-picker--${E.variant}`,
397
- `nb-date-picker--${E.size}`,
398
- `nb-date-picker--${E.type}`,
399
- {
400
- "nb-date-picker--focused": Qe.value,
401
- "nb-date-picker--open": A.value,
402
- "nb-date-picker--error": !!E.error || !!E.endError,
403
- "nb-date-picker--warning": !E.error && !E.endError && (!!E.warning || !!E.endWarning),
404
- "nb-date-picker--disabled": E.disabled,
405
- "nb-date-picker--readonly": E.readonly
406
- }
407
- ]), Ft = u(() => ({
408
- "nb-date-picker__input-wrapper--focused": k.value === "start",
409
- "nb-date-picker__input-wrapper--error": !!E.error,
410
- "nb-date-picker__input-wrapper--warning": !E.error && !!E.warning,
411
- "nb-date-picker__input-wrapper--disabled": E.disabled,
412
- "nb-date-picker__input-wrapper--readonly": E.readonly
413
- })), It = u(() => ({
414
- "nb-date-picker__input-wrapper--focused": k.value === "end",
415
- "nb-date-picker__input-wrapper--error": !!E.endError,
416
- "nb-date-picker__input-wrapper--warning": !E.endError && !!E.endWarning,
417
- "nb-date-picker__input-wrapper--disabled": E.disabled,
418
- "nb-date-picker__input-wrapper--readonly": E.readonly
419
- }));
420
- return Ue({
421
- open: q,
422
- close: J,
423
- focus: () => M.value?.focus()
424
- }), (t, n) => (b(), p(l, null, [m("div", {
425
- ref_key: "rootRef",
426
- ref: $e,
427
- class: y(Pt.value)
428
- }, [_.variant === "default" ? (b(), p(l, { key: 0 }, [
429
- t.$slots.label ? ie(t.$slots, "label", { key: 0 }) : _.label && !ct.value ? (b(), d(r, {
430
- key: 1,
431
- for: O.value,
432
- required: _.required,
433
- disabled: _.disabled
434
- }, {
435
- default: w(() => [h(S(_.label), 1)]),
436
- _: 1
437
- }, 8, [
438
- "for",
439
- "required",
440
- "disabled"
441
- ])) : f("", !0),
442
- g(a, {
443
- dir: "row",
444
- gap: _.type === "range" ? "sm" : void 0,
445
- class: "nb-date-picker__fields"
446
- }, {
447
- default: w(() => [m("div", pe, [ct.value && _.label ? (b(), d(r, {
448
- key: 0,
449
- for: O.value,
450
- required: _.required,
451
- disabled: _.disabled
452
- }, {
453
- default: w(() => [h(S(_.label), 1)]),
454
- _: 1
455
- }, 8, [
456
- "for",
457
- "required",
458
- "disabled"
459
- ])) : f("", !0), m("div", { class: y(["nb-date-picker__input-wrapper", Ft.value]) }, [m("input", te({
460
- id: O.value,
461
- ref_key: "inputRef",
462
- ref: M
463
- }, t.$attrs, {
464
- type: "text",
465
- class: "nb-date-picker__field",
466
- value: it.value,
467
- placeholder: _.placeholder || L.value,
468
- disabled: _.disabled,
469
- readonly: _.readonly,
470
- required: _.required,
471
- name: _.name,
472
- "aria-invalid": _.error ? !0 : void 0,
473
- "aria-describedby": ot.value,
474
- onInput: n[0] ||= (e) => mt(e),
475
- onFocus: U,
476
- onBlur: W,
477
- onKeydown: G
478
- }), null, 16, me), _.type === "simple" ? f("", !0) : (b(), p("button", {
479
- key: 0,
480
- type: "button",
481
- class: "nb-date-picker__icon",
482
- disabled: _.disabled || _.readonly,
483
- tabindex: "-1",
484
- "aria-label": _.modelValue ? C(T).datePickerChangeDate(R(_.modelValue)) : C(T).datePickerChooseDate,
485
- onClick: gt
486
- }, [g(e, {
487
- name: C(le),
488
- size: 16
489
- }, null, 8, ["name"])], 8, he))], 2)]), _.type === "range" ? (b(), p("div", ge, [ct.value ? (b(), d(r, {
490
- key: 0,
491
- for: qe.value,
492
- required: _.required,
493
- disabled: _.disabled
494
- }, {
495
- default: w(() => [h(S(_.endLabel), 1)]),
496
- _: 1
497
- }, 8, [
498
- "for",
499
- "required",
500
- "disabled"
501
- ])) : f("", !0), m("div", { class: y(["nb-date-picker__input-wrapper", It.value]) }, [m("input", {
502
- id: qe.value,
503
- ref_key: "endInputRef",
504
- ref: N,
505
- type: "text",
506
- class: "nb-date-picker__field",
507
- value: at.value,
508
- placeholder: _.endPlaceholder || L.value,
509
- disabled: _.disabled,
510
- readonly: _.readonly,
511
- required: _.required,
512
- "aria-invalid": _.endError ? !0 : void 0,
513
- "aria-describedby": st.value,
514
- onInput: n[1] ||= (e) => ht(e),
515
- onFocus: U,
516
- onBlur: W,
517
- onKeydown: G
518
- }, null, 40, _e), m("button", {
519
- type: "button",
520
- class: "nb-date-picker__icon",
521
- disabled: _.disabled || _.readonly,
522
- tabindex: "-1",
523
- "aria-label": _.endValue ? C(T).datePickerChangeEndDate(R(_.endValue)) : C(T).datePickerChooseEndDate,
524
- onClick: gt
525
- }, [g(e, {
526
- name: C(le),
527
- size: 16
528
- }, null, 8, ["name"])], 8, ve)], 2)])) : f("", !0)]),
529
- _: 1
530
- }, 8, ["gap"]),
531
- z.value ? (b(), d(i, {
532
- key: 2,
533
- id: Ye.value,
534
- variant: z.value.variant,
535
- class: "nb-date-picker__message"
536
- }, {
537
- default: w(() => [h(S(z.value.text), 1)]),
538
- _: 1
539
- }, 8, ["id", "variant"])) : f("", !0),
540
- B.value ? (b(), d(i, {
541
- key: 3,
542
- id: Xe.value,
543
- variant: B.value.variant,
544
- class: "nb-date-picker__message"
545
- }, {
546
- default: w(() => [h(S(B.value.text), 1)]),
547
- _: 1
548
- }, 8, ["id", "variant"])) : f("", !0),
549
- !z.value && !B.value && _.helper ? (b(), d(i, {
550
- key: 4,
551
- id: Je.value,
552
- variant: "helper",
553
- class: "nb-date-picker__message"
554
- }, {
555
- default: w(() => [h(S(_.helper), 1)]),
556
- _: 1
557
- }, 8, ["id"])) : f("", !0)
558
- ], 64)) : _.variant === "fluid" ? (b(), d(a, {
559
- key: 1,
560
- dir: "row",
561
- gap: _.type === "range" ? "sm" : void 0,
562
- class: "nb-date-picker__fields"
563
- }, {
564
- default: w(() => [m("div", { class: y(["nb-date-picker__input-wrapper nb-date-picker__input-wrapper--fluid", Ft.value]) }, [_.label || t.$slots.label || V.value ? (b(), p("div", ye, [t.$slots.label ? ie(t.$slots, "label", { key: 0 }) : (b(), p("label", {
565
- key: 1,
566
- for: O.value,
567
- class: "nb-date-picker__inner-label"
568
- }, [h(S(_.label) + " ", 1), _.required ? (b(), p("span", xe, "*")) : f("", !0)], 8, be)), V.value ? (b(), d(i, {
569
- key: 2,
570
- variant: V.value.variant,
571
- "icon-only": "",
572
- class: "nb-date-picker__inner-message"
573
- }, {
574
- default: w(() => [h(S(V.value.text), 1)]),
575
- _: 1
576
- }, 8, ["variant"])) : f("", !0)])) : f("", !0), m("div", Se, [m("input", te({
577
- id: O.value,
578
- ref_key: "inputRef",
579
- ref: M
580
- }, t.$attrs, {
581
- type: "text",
582
- class: "nb-date-picker__field",
583
- value: it.value,
584
- placeholder: _.placeholder || L.value,
585
- disabled: _.disabled,
586
- readonly: _.readonly,
587
- required: _.required,
588
- name: _.name,
589
- "aria-invalid": _.error ? !0 : void 0,
590
- onInput: n[2] ||= (e) => mt(e),
591
- onFocus: U,
592
- onBlur: W,
593
- onKeydown: G
594
- }), null, 16, Ce), _.type === "simple" ? f("", !0) : (b(), p("button", {
595
- key: 0,
596
- type: "button",
597
- class: "nb-date-picker__icon",
598
- disabled: _.disabled || _.readonly,
599
- tabindex: "-1",
600
- "aria-label": _.modelValue ? C(T).datePickerChangeDate(R(_.modelValue)) : C(T).datePickerChooseDate,
601
- onClick: gt
602
- }, [g(e, {
603
- name: C(le),
604
- size: 16
605
- }, null, 8, ["name"])], 8, we))])], 2), _.type === "range" ? (b(), p("div", {
606
- key: 0,
607
- class: y(["nb-date-picker__input-wrapper nb-date-picker__input-wrapper--fluid", It.value])
608
- }, [lt.value || B.value ? (b(), p("div", Te, [m("label", {
609
- for: qe.value,
610
- class: "nb-date-picker__inner-label"
611
- }, [h(S(lt.value) + " ", 1), _.required ? (b(), p("span", De, "*")) : f("", !0)], 8, Ee), B.value ? (b(), d(i, {
612
- key: 0,
613
- variant: B.value.variant,
614
- "icon-only": "",
615
- class: "nb-date-picker__inner-message"
616
- }, {
617
- default: w(() => [h(S(B.value.text), 1)]),
618
- _: 1
619
- }, 8, ["variant"])) : f("", !0)])) : f("", !0), m("div", Oe, [m("input", {
620
- id: qe.value,
621
- ref_key: "endInputRef",
622
- ref: N,
623
- type: "text",
624
- class: "nb-date-picker__field",
625
- value: at.value,
626
- placeholder: _.endPlaceholder || L.value,
627
- disabled: _.disabled,
628
- readonly: _.readonly,
629
- required: _.required,
630
- "aria-invalid": _.endError ? !0 : void 0,
631
- onInput: n[3] ||= (e) => ht(e),
632
- onFocus: U,
633
- onBlur: W,
634
- onKeydown: G
635
- }, null, 40, ke), m("button", {
636
- type: "button",
637
- class: "nb-date-picker__icon",
638
- disabled: _.disabled || _.readonly,
639
- tabindex: "-1",
640
- "aria-label": _.endValue ? C(T).datePickerChangeEndDate(R(_.endValue)) : C(T).datePickerChooseEndDate,
641
- onClick: gt
642
- }, [g(e, {
643
- name: C(le),
644
- size: 16
645
- }, null, 8, ["name"])], 8, Ae)])], 2)) : f("", !0)]),
646
- _: 3
647
- }, 8, ["gap"])) : f("", !0)], 2), (b(), d(ee, { to: "body" }, [A.value && C(et) ? (b(), p("div", {
648
- key: 0,
649
- ref_key: "scrimRef",
650
- ref: tt,
651
- class: "nb-date-picker__scrim",
652
- "aria-hidden": "true",
653
- onClick: J
654
- }, null, 512)) : f("", !0), A.value ? (b(), p("div", te({
655
- key: 1,
656
- ref_key: "calendarRef",
657
- ref: P,
658
- role: "dialog",
659
- "aria-modal": "true",
660
- "aria-label": _.label ? C(T).datePickerDialogFor(_.label) : C(T).datePickerDialog,
661
- class: ["nb-date-picker__calendar", { "nb-date-picker__calendar--sheet": C(et) }]
662
- }, C(Ge), {
663
- style: C(et) ? void 0 : nt.value,
664
- onKeydown: vt,
665
- onMousedown: n[4] ||= se(() => {}, ["prevent"])
666
- }), [m("div", Me, [
667
- m("button", {
668
- type: "button",
669
- class: "nb-date-picker__cal-nav",
670
- "aria-label": C(T).datePickerPreviousYear,
671
- onClick: Dt
672
- }, [g(e, {
673
- name: C(ue),
674
- size: 16
675
- }, null, 8, ["name"])], 8, Ne),
676
- m("button", {
677
- type: "button",
678
- class: "nb-date-picker__cal-nav",
679
- "aria-label": C(T).datePickerPreviousMonth,
680
- onClick: Tt
681
- }, [g(e, {
682
- name: C(de),
683
- size: 16
684
- }, null, 8, ["name"])], 8, Pe),
685
- m("span", {
686
- id: Ze.value,
687
- class: "nb-date-picker__cal-title",
688
- "aria-live": "polite"
689
- }, S(kt.value), 9, Fe),
690
- m("button", {
691
- type: "button",
692
- class: "nb-date-picker__cal-nav",
693
- "aria-label": C(T).datePickerNextMonth,
694
- onClick: Et
695
- }, [g(e, {
696
- name: C(ce),
697
- size: 16
698
- }, null, 8, ["name"])], 8, Ie),
699
- m("button", {
700
- type: "button",
701
- class: "nb-date-picker__cal-nav",
702
- "aria-label": C(T).datePickerNextYear,
703
- onClick: Ot
704
- }, [g(e, {
705
- name: C(fe),
706
- size: 16
707
- }, null, 8, ["name"])], 8, Le)
708
- ]), m("table", {
709
- role: "grid",
710
- "aria-labelledby": Ze.value,
711
- class: "nb-date-picker__cal-table"
712
- }, [m("thead", null, [m("tr", ze, [(b(!0), p(l, null, re(At.value, (e) => (b(), p("th", {
713
- key: e.narrow,
714
- scope: "col",
715
- class: "nb-date-picker__cal-weekday",
716
- abbr: e.full
717
- }, S(e.narrow), 9, Be))), 128))])]), m("tbody", null, [(b(!0), p(l, null, re(Nt.value, (e, t) => (b(), p("tr", { key: t }, [(b(!0), p(l, null, re(e, (e) => (b(), p("td", {
718
- key: e.key,
719
- role: "gridcell",
720
- "aria-selected": e.isSelected || void 0,
721
- "aria-disabled": e.isDisabled || void 0
722
- }, [m("button", {
723
- type: "button",
724
- class: y(["nb-date-picker__cal-day", {
725
- "nb-date-picker__cal-day--outside": !e.inMonth,
726
- "nb-date-picker__cal-day--today": e.isToday,
727
- "nb-date-picker__cal-day--selected": e.isSelected,
728
- "nb-date-picker__cal-day--in-range": e.inRange,
729
- "nb-date-picker__cal-day--range-start": e.isRangeStart,
730
- "nb-date-picker__cal-day--range-end": e.isRangeEnd,
731
- "nb-date-picker__cal-day--disabled": e.isDisabled,
732
- "nb-date-picker__cal-day--focused": e.date === j.value
733
- }]),
734
- tabindex: e.date === j.value ? 0 : -1,
735
- disabled: e.isDisabled,
736
- "aria-label": rt(e.date),
737
- "data-date": e.date,
738
- onClick: (t) => _t(e.date)
739
- }, S(e.day), 11, He)], 8, Ve))), 128))]))), 128))])], 8, Re)], 16, je)) : f("", !0)]))], 64));
740
- }
741
- });
742
- //#endregion
743
- export { Ue as t };