@nubisco/ui 5.18.1 → 5.19.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.
- package/dist/{AccordionItem-Cg8wmypl.js → AccordionItem-BrpJObcb.js} +2 -2
- package/dist/{AccordionItem-CCndN0ln.cjs → AccordionItem-DVwcaU3f.cjs} +1 -1
- package/dist/ActionGroup-0u17QzT8.js +170 -0
- package/dist/ActionGroup-CMuposow.cjs +1 -0
- package/dist/{AiLabel-BxCWEOn-.js → AiLabel-BFrehX_F.js} +1 -1
- package/dist/{AiLabel-D4gkbAEC.cjs → AiLabel-kmL1-Hdo.cjs} +1 -1
- package/dist/{BarChart-DUy6vE_i.js → BarChart-DTStA9jd.js} +4 -4
- package/dist/{BarChart-B3B7wH20.cjs → BarChart-Dvrl4xeX.cjs} +1 -1
- package/dist/{Blueprint-DzzoerbM.js → Blueprint-CB5a7H5o.js} +2 -2
- package/dist/{Blueprint-CnXyZkSE.cjs → Blueprint-DIrWXKml.cjs} +1 -1
- package/dist/{BlueprintCard-2Q1zYWcN.js → BlueprintCard-BmuGjOCn.js} +1 -1
- package/dist/{BlueprintCard-D3Rr5cKO.cjs → BlueprintCard-DhnoClRB.cjs} +1 -1
- package/dist/{BlueprintControls-CuOAdppD.js → BlueprintControls-C0yhBzYT.js} +1 -1
- package/dist/{BlueprintControls-LCIgk-cb.cjs → BlueprintControls-Qtd2vep2.cjs} +1 -1
- package/dist/Board-CDrukIty.js +553 -0
- package/dist/Board-D1BkK3J5.cjs +1 -0
- package/dist/Breadcrumbs-B8eAWAvg.js +48 -0
- package/dist/Breadcrumbs-cTxSMgeW.cjs +1 -0
- package/dist/{Button-BZn2lmMA.cjs → Button-C0UUTgEB.cjs} +1 -1
- package/dist/{Button-BAfC7ySK.js → Button-IcCXOoCT.js} +1 -1
- package/dist/{Checkbox-BkRL6Ops.js → Checkbox-CXlovpPs.js} +2 -2
- package/dist/{Checkbox-D8Curaxc.cjs → Checkbox-CZVNZ2pn.cjs} +1 -1
- package/dist/{CheckboxGroup-Hu-wWRto.js → CheckboxGroup-AQ6XgVPU.js} +3 -3
- package/dist/{CheckboxGroup-fEs9Ye8M.cjs → CheckboxGroup-BuvjRAeC.cjs} +1 -1
- package/dist/{ColorStrip-Doh0adti.cjs → ColorStrip-D4vNVSeW.cjs} +1 -1
- package/dist/{ColorStrip-CcMzeYOw.js → ColorStrip-Dknkw-RX.js} +2 -2
- package/dist/{Confirm-Br9VOB2-.cjs → Confirm-DCkG5bUZ.cjs} +1 -1
- package/dist/{Confirm-DztLfQzB.js → Confirm-OMhu2Fuz.js} +8 -8
- package/dist/DataTable-CWMlmjMi.cjs +1 -0
- package/dist/DataTable-DaNZAixf.js +389 -0
- package/dist/DatePicker-BgMtkY76.cjs +1 -0
- package/dist/DatePicker-MDaQ2l8I.js +715 -0
- package/dist/{FileUploader-OJJIlvmH.js → FileUploader-DC1nE86P.js} +1 -1
- package/dist/{FileUploader-DPIAWehF.cjs → FileUploader-DehZc0gP.cjs} +1 -1
- package/dist/FloatingToolbar-J9ucYTsb.js +140 -0
- package/dist/FloatingToolbar-vWo7YmH3.cjs +1 -0
- package/dist/{Form-j4QMRkL5.js → Form-DJ1Hhwnm.js} +1 -1
- package/dist/{Form-u6XCVBqX.cjs → Form-WtS-IVIs.cjs} +1 -1
- package/dist/{GanttChart-C6uVsNrq.cjs → GanttChart-BJ_6YCza.cjs} +1 -1
- package/dist/{GanttChart-asYYkfjM.js → GanttChart-CwCH8pby.js} +3 -3
- package/dist/{ImageCropper-Bl8BjRur.cjs → ImageCropper-BfGyTTY5.cjs} +1 -1
- package/dist/{ImageCropper-DBjxzZhN.js → ImageCropper-Ds5Zq1J0.js} +2 -2
- package/dist/InfoHint-D35B8g96.cjs +1 -0
- package/dist/{InfoHint-CK96hjMo.js → InfoHint-ieo2S-YE.js} +41 -29
- package/dist/InlineEdit-9E8-8JQr.cjs +1 -0
- package/dist/{InlineEdit-DssyFZM6.js → InlineEdit-BCHxGdSy.js} +58 -25
- package/dist/{InlineLoading-DXsOmC3w.cjs → InlineLoading-B2L_asnZ.cjs} +1 -1
- package/dist/{InlineLoading-LCwTwjyJ.js → InlineLoading-DQzKEw-L.js} +1 -1
- package/dist/{InterpolationChart-w1GgDSDT.cjs → InterpolationChart-BXS1n0dY.cjs} +1 -1
- package/dist/{InterpolationChart-CdbT0AvE.js → InterpolationChart-CSEYS5aB.js} +3 -3
- package/dist/{LineChart-CmBBttxc.cjs → LineChart-C5bQNxQ-.cjs} +1 -1
- package/dist/{LineChart-BgnDKI8u.js → LineChart-DG_ows6r.js} +4 -4
- package/dist/Menu-BALfMobG.cjs +1 -0
- package/dist/Menu-D-zvh-SA.js +136 -0
- package/dist/{MenuBarItem-H1sFt0Mx.js → MenuBarItem-BDqp9LzY.js} +1 -1
- package/dist/{MenuBarItem-42bSEdWZ.cjs → MenuBarItem-Dmutkr1p.cjs} +1 -1
- package/dist/Modal-BNgLfB88.cjs +1 -0
- package/dist/{Modal-BvZulLj2.js → Modal-C97dRTiP.js} +35 -34
- package/dist/NotificationCenter-BpUiKPsp.cjs +1 -0
- package/dist/NotificationCenter-Br-YtY5w.js +584 -0
- package/dist/{NumberInput-DsjKITeI.cjs → NumberInput-1taaS5G3.cjs} +1 -1
- package/dist/{NumberInput-CrbTiAkP.js → NumberInput-DWf2LMGN.js} +3 -3
- package/dist/{Pagination-JW-O2kLk.js → Pagination-Br-k9zuG.js} +2 -2
- package/dist/{Pagination-Di4RPomA.cjs → Pagination-CCMhqtoz.cjs} +1 -1
- package/dist/{PieChart-CUckdHre.cjs → PieChart-BABG-xXQ.cjs} +1 -1
- package/dist/{PieChart-CpkjCb1W.js → PieChart-CmvfqpXR.js} +3 -3
- package/dist/{ProgressBar-Cn-FnvZR.cjs → ProgressBar-BHKgJ4UK.cjs} +1 -1
- package/dist/{ProgressBar-BF-2nm2N.js → ProgressBar-Blt5BdgQ.js} +2 -2
- package/dist/{Radio-pH924Ch3.js → Radio-DsYitO1Z.js} +3 -3
- package/dist/{Radio-CkFwMQZ-.cjs → Radio-zdXHagRQ.cjs} +1 -1
- package/dist/ReorderList-hHh9XYQY.cjs +1 -0
- package/dist/{ReorderList-DC83oBGi.js → ReorderList-v1aWbXjb.js} +31 -15
- package/dist/{Select-Det8tjo1.cjs → Select-ClkEzw5T.cjs} +1 -1
- package/dist/{Select-dJWuOWN0.js → Select-DIw08nte.js} +3 -3
- package/dist/Shell-CfHe8tIp.js +487 -0
- package/dist/Shell-DrXByQxR.cjs +1 -0
- package/dist/{SidebarCollapseToggle-VOdswrKP.cjs → SidebarCollapseToggle-BOLWB51F.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-pNj344jL.js → SidebarCollapseToggle-IzDpcwPs.js} +2 -2
- package/dist/{Skeleton-3N9uC9k_.js → Skeleton-BLn8a0wV.js} +1 -1
- package/dist/{Skeleton-DEzKdU7W.cjs → Skeleton-lLu_CakO.cjs} +1 -1
- package/dist/{Slider-Clgfp-vI.cjs → Slider-Ca5ru23S.cjs} +1 -1
- package/dist/{Slider-Dxh4sXev.js → Slider-CrhYMw5S.js} +4 -4
- package/dist/{Spinner-DpldXeXq.js → Spinner-C7NYF-Xf.js} +1 -1
- package/dist/{Spinner-Cwlskvjj.cjs → Spinner-UsyGqwVq.cjs} +1 -1
- package/dist/{Stepper-BlRuqNKX.cjs → Stepper-BIWoeqFS.cjs} +1 -1
- package/dist/{Stepper-SLb_qc9m.js → Stepper-CrVuq2Ba.js} +1 -1
- package/dist/{StepperStep-DxQQgCrC.js → StepperStep-CBaZPJV7.js} +4 -4
- package/dist/{StepperStep-DoJ3MUEl.cjs → StepperStep-DCpcJbTJ.cjs} +1 -1
- package/dist/Submenu-BC9j6dvb.cjs +1 -0
- package/dist/Submenu-CnRi1GdL.js +149 -0
- package/dist/{Switch-CI_QKz2n.js → Switch-BiqjLsXd.js} +3 -3
- package/dist/{Switch-BnzV_QMu.cjs → Switch-CA01aJ7b.cjs} +1 -1
- package/dist/{TableOfContents-C6Qnq6aS.cjs → TableOfContents-DCfZ4DYi.cjs} +1 -1
- package/dist/{TableOfContents-DwnnMxv5.js → TableOfContents-EYrBCeci.js} +1 -1
- package/dist/Tabs-CrrG1hvh.cjs +1 -0
- package/dist/Tabs-D3pdOieX.js +180 -0
- package/dist/{TextInput--u9htMqc.cjs → TextInput-BdZPqTzI.cjs} +2 -2
- package/dist/{TextInput-C_i6Miob.js → TextInput-KQGVZCcT.js} +4 -4
- package/dist/{Toaster-sBQX6bee.js → Toaster-B4ce6OBe.js} +1 -1
- package/dist/{Toaster-noCUOlwh.cjs → Toaster-CubmjJ_C.cjs} +1 -1
- package/dist/{Tree-CR_288A-.cjs → Tree-CnaGeX7W.cjs} +1 -1
- package/dist/{Tree-C6rMUOja.js → Tree-E3A0GUIG.js} +1 -1
- package/dist/TreeNode-C2W4uFhP.cjs +1 -0
- package/dist/TreeNode-xv6es6z2.js +176 -0
- package/dist/UserMenu-CVXfSmUQ.cjs +1 -0
- package/dist/UserMenu-E-PhzT3T.js +313 -0
- package/dist/{Walkthrough-vAJctcje.js → Walkthrough-BxwgYRUB.js} +1 -1
- package/dist/{Walkthrough-DRx76ziA.cjs → Walkthrough-Dvyp-4Sr.cjs} +1 -1
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +207 -203
- package/dist/component-styles.json +7 -0
- package/dist/components/AccordionItem.cjs +1 -1
- package/dist/components/AccordionItem.mjs +1 -1
- package/dist/components/AccordionItem.vue.d.ts.map +1 -1
- package/dist/components/ActionGroup.cjs +1 -0
- package/dist/components/ActionGroup.d.ts +64 -0
- package/dist/components/ActionGroup.mjs +2 -0
- package/dist/components/ActionGroup.vue.d.ts +24 -0
- package/dist/components/ActionGroup.vue.d.ts.map +1 -0
- package/dist/components/AiLabel.cjs +1 -1
- package/dist/components/AiLabel.mjs +1 -1
- package/dist/components/Avatar.cjs +1 -1
- package/dist/components/Avatar.mjs +1 -1
- package/dist/components/Badge.cjs +1 -1
- package/dist/components/Badge.mjs +1 -1
- package/dist/components/Banner.cjs +1 -1
- package/dist/components/Banner.mjs +1 -1
- package/dist/components/Blueprint.cjs +1 -1
- package/dist/components/Blueprint.mjs +1 -1
- package/dist/components/BlueprintBackground.cjs +1 -1
- package/dist/components/BlueprintBackground.mjs +1 -1
- package/dist/components/BlueprintCard.cjs +1 -1
- package/dist/components/BlueprintCard.mjs +1 -1
- package/dist/components/BlueprintCard.vue.d.ts +1 -1
- package/dist/components/BlueprintControls.cjs +1 -1
- package/dist/components/BlueprintControls.mjs +1 -1
- package/dist/components/BlueprintMinimap.cjs +1 -1
- package/dist/components/BlueprintMinimap.mjs +1 -1
- package/dist/components/Board.cjs +1 -1
- package/dist/components/Board.d.ts +8 -0
- package/dist/components/Board.mjs +1 -1
- package/dist/components/Board.vue.d.ts +7 -3
- package/dist/components/Board.vue.d.ts.map +1 -1
- package/dist/components/BottomPanel.cjs +1 -1
- package/dist/components/BottomPanel.mjs +1 -1
- package/dist/components/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs.mjs +1 -1
- package/dist/components/Breadcrumbs.vue.d.ts +12 -1
- package/dist/components/Breadcrumbs.vue.d.ts.map +1 -1
- package/dist/components/Button.cjs +1 -1
- package/dist/components/Button.mjs +1 -1
- package/dist/components/Button.vue.d.ts +3 -3
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/Calendar.cjs +1 -1
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Card.cjs +1 -1
- package/dist/components/Card.mjs +1 -1
- package/dist/components/Card.vue.d.ts +1 -1
- package/dist/components/CardGrid.cjs +1 -1
- package/dist/components/CardGrid.mjs +1 -1
- package/dist/components/Charts/BarChart.cjs +1 -1
- package/dist/components/Charts/BarChart.mjs +1 -1
- package/dist/components/Charts/GanttChart.cjs +1 -1
- package/dist/components/Charts/GanttChart.mjs +1 -1
- package/dist/components/Charts/InterpolationChart.cjs +1 -1
- package/dist/components/Charts/InterpolationChart.mjs +1 -1
- package/dist/components/Charts/LineChart.cjs +1 -1
- package/dist/components/Charts/LineChart.mjs +1 -1
- package/dist/components/Charts/PieChart.cjs +1 -1
- package/dist/components/Charts/PieChart.mjs +1 -1
- package/dist/components/Charts/Sparkline.cjs +1 -1
- package/dist/components/Charts/Sparkline.mjs +1 -1
- package/dist/components/Checkbox.cjs +1 -1
- package/dist/components/Checkbox.mjs +1 -1
- package/dist/components/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/CheckboxGroup.cjs +1 -1
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/ColorStrip.cjs +1 -1
- package/dist/components/ColorStrip.mjs +1 -1
- package/dist/components/CommandPalette.cjs +1 -1
- package/dist/components/CommandPalette.mjs +1 -1
- package/dist/components/CommandPalette.vue.d.ts.map +1 -1
- package/dist/components/Confirm.cjs +1 -1
- package/dist/components/Confirm.mjs +1 -1
- package/dist/components/DataTable.cjs +1 -1
- package/dist/components/DataTable.d.ts +23 -0
- package/dist/components/DataTable.mjs +1 -1
- package/dist/components/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DatePicker.cjs +1 -1
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/DatePicker.vue.d.ts +1 -1
- package/dist/components/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DefinitionList.cjs +1 -1
- package/dist/components/DefinitionList.mjs +1 -1
- package/dist/components/DefinitionListItem.cjs +1 -1
- package/dist/components/DefinitionListItem.mjs +1 -1
- package/dist/components/DragHandle.cjs +1 -1
- package/dist/components/DragHandle.mjs +1 -1
- package/dist/components/EmptyState.cjs +1 -1
- package/dist/components/EmptyState.mjs +1 -1
- package/dist/components/Field.cjs +1 -1
- package/dist/components/Field.mjs +1 -1
- package/dist/components/FileUploader.cjs +1 -1
- package/dist/components/FileUploader.mjs +1 -1
- package/dist/components/Flag.cjs +1 -1
- package/dist/components/Flag.mjs +1 -1
- package/dist/components/FloatingToolbar.cjs +1 -1
- package/dist/components/FloatingToolbar.d.ts +11 -0
- package/dist/components/FloatingToolbar.mjs +1 -1
- package/dist/components/FloatingToolbar.vue.d.ts +1 -0
- package/dist/components/FloatingToolbar.vue.d.ts.map +1 -1
- package/dist/components/Form.cjs +1 -1
- package/dist/components/Form.mjs +1 -1
- package/dist/components/Grid.cjs +1 -1
- package/dist/components/Grid.mjs +1 -1
- package/dist/components/ImageCropper.cjs +1 -1
- package/dist/components/ImageCropper.mjs +1 -1
- package/dist/components/InfoHint.cjs +1 -1
- package/dist/components/InfoHint.mjs +1 -1
- package/dist/components/InfoHint.vue.d.ts.map +1 -1
- package/dist/components/InlineEdit.cjs +1 -1
- package/dist/components/InlineEdit.d.ts +5 -0
- package/dist/components/InlineEdit.mjs +1 -1
- package/dist/components/InlineEdit.vue.d.ts +1 -0
- package/dist/components/InlineEdit.vue.d.ts.map +1 -1
- package/dist/components/InlineLoading.cjs +1 -1
- package/dist/components/InlineLoading.mjs +1 -1
- package/dist/components/JsonTree.cjs +1 -1
- package/dist/components/JsonTree.mjs +1 -1
- package/dist/components/Label.cjs +1 -1
- package/dist/components/Label.mjs +1 -1
- package/dist/components/Layer.cjs +1 -1
- package/dist/components/Layer.mjs +1 -1
- package/dist/components/Menu.cjs +1 -1
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/Menu.vue.d.ts.map +1 -1
- package/dist/components/MenuBar.cjs +1 -1
- package/dist/components/MenuBar.mjs +1 -1
- package/dist/components/MenuBarItem.cjs +1 -1
- package/dist/components/MenuBarItem.mjs +1 -1
- package/dist/components/MenuDivider.cjs +1 -1
- package/dist/components/MenuDivider.mjs +1 -1
- package/dist/components/MenuItem.cjs +1 -1
- package/dist/components/MenuItem.mjs +1 -1
- package/dist/components/MenuItem.vue.d.ts +1 -1
- package/dist/components/MenuItem.vue.d.ts.map +1 -1
- package/dist/components/Message.cjs +1 -1
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Modal.cjs +1 -1
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.d.ts +6 -1
- package/dist/components/NotificationCenter.mjs +1 -1
- package/dist/components/NotificationCenter.vue.d.ts +2 -1
- package/dist/components/NotificationCenter.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenterItem.cjs +1 -1
- package/dist/components/NotificationCenterItem.mjs +1 -1
- package/dist/components/NotificationCenterItem.vue.d.ts +1 -1
- package/dist/components/NubiscoMark.cjs +1 -1
- package/dist/components/NubiscoMark.mjs +1 -1
- package/dist/components/NubiscoPlatformMark.cjs +1 -1
- package/dist/components/NubiscoPlatformMark.mjs +1 -1
- package/dist/components/NumberInput.cjs +1 -1
- package/dist/components/NumberInput.mjs +1 -1
- package/dist/components/NumberInput.vue.d.ts +1 -1
- package/dist/components/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/Pagination.cjs +1 -1
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/Panel.cjs +1 -1
- package/dist/components/Panel.mjs +1 -1
- package/dist/components/ProgressBar.cjs +1 -1
- package/dist/components/ProgressBar.mjs +1 -1
- package/dist/components/Radio.cjs +1 -1
- package/dist/components/Radio.mjs +1 -1
- package/dist/components/Radio.vue.d.ts.map +1 -1
- package/dist/components/ReorderList.cjs +1 -1
- package/dist/components/ReorderList.mjs +1 -1
- package/dist/components/ReorderList.vue.d.ts.map +1 -1
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Select.vue.d.ts.map +1 -1
- package/dist/components/Shell.cjs +1 -1
- package/dist/components/Shell.mjs +1 -1
- package/dist/components/Shell.vue.d.ts +14 -1
- package/dist/components/Shell.vue.d.ts.map +1 -1
- package/dist/components/ShellPanel.cjs +1 -1
- package/dist/components/ShellPanel.mjs +1 -1
- package/dist/components/SidebarBrand.cjs +1 -1
- package/dist/components/SidebarBrand.mjs +1 -1
- package/dist/components/SidebarCollapseToggle.cjs +1 -1
- package/dist/components/SidebarCollapseToggle.mjs +1 -1
- package/dist/components/SidebarLink.cjs +1 -1
- package/dist/components/SidebarLink.mjs +1 -1
- package/dist/components/SidebarMenu.cjs +1 -1
- package/dist/components/SidebarMenu.mjs +1 -1
- package/dist/components/SidebarMenuGroup.cjs +1 -1
- package/dist/components/SidebarMenuGroup.mjs +1 -1
- package/dist/components/SidebarMenuItem.cjs +1 -1
- package/dist/components/SidebarMenuItem.mjs +1 -1
- package/dist/components/Skeleton.cjs +1 -1
- package/dist/components/Skeleton.mjs +1 -1
- package/dist/components/Slider.cjs +1 -1
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Slider.vue.d.ts +1 -1
- package/dist/components/Spinner.cjs +1 -1
- package/dist/components/Spinner.mjs +1 -1
- package/dist/components/Stepper.cjs +1 -1
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/StepperStep.cjs +1 -1
- package/dist/components/StepperStep.mjs +1 -1
- package/dist/components/Submenu.cjs +1 -1
- package/dist/components/Submenu.mjs +1 -1
- package/dist/components/Submenu.vue.d.ts.map +1 -1
- package/dist/components/Switch.cjs +1 -1
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/Switch.vue.d.ts.map +1 -1
- package/dist/components/TableOfContents.cjs +1 -1
- package/dist/components/TableOfContents.mjs +1 -1
- package/dist/components/Tabs.cjs +1 -1
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tabs.vue.d.ts.map +1 -1
- package/dist/components/TextInput.cjs +1 -1
- package/dist/components/TextInput.mjs +1 -1
- package/dist/components/TextInput.vue.d.ts +4 -4
- package/dist/components/TextInput.vue.d.ts.map +1 -1
- package/dist/components/Toast.cjs +1 -1
- package/dist/components/Toast.mjs +1 -1
- package/dist/components/Toast.vue.d.ts +1 -1
- package/dist/components/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toaster.cjs +1 -1
- package/dist/components/Toaster.mjs +1 -1
- package/dist/components/Tree.cjs +1 -1
- package/dist/components/Tree.mjs +1 -1
- package/dist/components/TreeNode.cjs +1 -1
- package/dist/components/TreeNode.mjs +1 -1
- package/dist/components/TreeNode.vue.d.ts.map +1 -1
- package/dist/components/UserMenu.cjs +1 -1
- package/dist/components/UserMenu.mjs +1 -1
- package/dist/components/UserMenu.vue.d.ts.map +1 -1
- package/dist/components/Walkthrough.cjs +1 -1
- package/dist/components/Walkthrough.mjs +1 -1
- package/dist/components/Wireframe.cjs +1 -1
- package/dist/components/Wireframe.mjs +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/manifest.d.ts +1 -0
- package/dist/components/manifest.d.ts.map +1 -1
- package/dist/components/manifest.js +1 -0
- package/dist/composables/useBlueprint.composable.cjs +1 -1
- package/dist/composables/useBlueprint.composable.mjs +1 -1
- package/dist/composables/useConfirm.composable.cjs +1 -1
- package/dist/composables/useConfirm.composable.mjs +3 -3
- package/dist/composables/useInlineLoading.composable.cjs +1 -1
- package/dist/composables/useInlineLoading.composable.mjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.cjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.mjs +1 -1
- package/dist/composables/usePhoneLayout.composable.cjs +1 -0
- package/dist/composables/usePhoneLayout.composable.d.ts +28 -0
- package/dist/composables/usePhoneLayout.composable.d.ts.map +1 -0
- package/dist/composables/usePhoneLayout.composable.mjs +25 -0
- package/dist/composables/useShellLayout.composable.cjs +1 -0
- package/dist/composables/useShellLayout.composable.d.ts +24 -0
- package/dist/composables/useShellLayout.composable.d.ts.map +1 -0
- package/dist/composables/useShellLayout.composable.mjs +14 -0
- package/dist/composables/useVisualViewportVar.composable.cjs +1 -0
- package/dist/composables/useVisualViewportVar.composable.d.ts +36 -0
- package/dist/composables/useVisualViewportVar.composable.d.ts.map +1 -0
- package/dist/composables/useVisualViewportVar.composable.mjs +30 -0
- package/dist/directives/ToolTip.directive.d.ts.map +1 -1
- package/dist/global.d.ts +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +113 -110
- package/dist/{main-DgTv5UiQ.js → main-3k7sSIY5.js} +102 -99
- package/dist/main-DmyKNXAy.cjs +4 -0
- package/dist/main.d.ts +5 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/styles/AccordionItem.css +1 -1
- package/dist/styles/ActionGroup.css +1 -0
- package/dist/styles/Board.css +1 -1
- package/dist/styles/Breadcrumbs.css +1 -1
- package/dist/styles/Button.css +1 -1
- package/dist/styles/Checkbox.css +1 -1
- package/dist/styles/CommandPalette.css +1 -1
- package/dist/styles/DataTable.css +1 -1
- package/dist/styles/DatePicker.css +1 -1
- package/dist/styles/FloatingToolbar.css +1 -1
- package/dist/styles/InfoHint.css +1 -1
- package/dist/styles/InlineEdit.css +1 -1
- package/dist/styles/MenuItem.css +1 -1
- package/dist/styles/Modal.css +1 -1
- package/dist/styles/NotificationCenter.css +1 -1
- package/dist/styles/NumberInput.css +1 -1
- package/dist/styles/Radio.css +1 -1
- package/dist/styles/ReorderList.css +1 -1
- package/dist/styles/Select.css +1 -1
- package/dist/styles/Shell.css +1 -1
- package/dist/styles/Switch.css +1 -1
- package/dist/styles/Tabs.css +1 -1
- package/dist/styles/TextInput.css +1 -1
- package/dist/styles/TreeNode.css +1 -1
- package/dist/styles/UserMenu.css +1 -1
- package/dist/ui.css +26 -25
- package/package.json +1 -1
- package/src/styles/logic/_touch.scss +31 -0
- package/src/styles/logic/index.scss +1 -0
- package/src/styles/variables/_breakpoints.scss +36 -0
- package/dist/Board-6D49Yld8.js +0 -524
- package/dist/Board-Cp8XfgZm.cjs +0 -1
- package/dist/Breadcrumbs-BXsbR60g.js +0 -46
- package/dist/Breadcrumbs-CPucjD0z.cjs +0 -1
- package/dist/DataTable-8VaU0T7V.js +0 -358
- package/dist/DataTable-Mq7v4Dyk.cjs +0 -1
- package/dist/DatePicker-Cgnm0ku3.js +0 -704
- package/dist/DatePicker-DytDcACW.cjs +0 -1
- package/dist/FloatingToolbar-DpBbWZL6.cjs +0 -1
- package/dist/FloatingToolbar-_loB4pae.js +0 -134
- package/dist/InfoHint-Cs9-C043.cjs +0 -1
- package/dist/InlineEdit-CR9vOw3i.cjs +0 -1
- package/dist/Menu-CsA8dtMR.js +0 -128
- package/dist/Menu-Xt1MCf-q.cjs +0 -1
- package/dist/Modal-Xa9TIGNi.cjs +0 -1
- package/dist/NotificationCenter-B12PMiat.cjs +0 -1
- package/dist/NotificationCenter-B2kJXtA9.js +0 -569
- package/dist/ReorderList-CigXh_u8.cjs +0 -1
- package/dist/Shell-BzAv4AWb.cjs +0 -1
- package/dist/Shell-COpscGYO.js +0 -448
- package/dist/Submenu-QgPVi2bN.cjs +0 -1
- package/dist/Submenu-SQTJc81U.js +0 -148
- package/dist/Tabs-B5crovQe.cjs +0 -1
- package/dist/Tabs-DRrq4YCX.js +0 -149
- package/dist/TreeNode-CXaEp3-m.js +0 -175
- package/dist/TreeNode-kgKGox1Y.cjs +0 -1
- package/dist/UserMenu-C65Ky9ov.cjs +0 -1
- package/dist/UserMenu-ClcDEyTu.js +0 -301
- package/dist/main-BNXD4cwz.cjs +0 -4
- /package/dist/{Avatar-uYRUtK1R.js → Avatar-B8JS0B-W.js} +0 -0
- /package/dist/{Avatar-CLL3i8dn.cjs → Avatar-C-yA5Rqn.cjs} +0 -0
- /package/dist/{Badge-wDtZdOfk.js → Badge-D3oJVwDo.js} +0 -0
- /package/dist/{Badge-ouVFB318.cjs → Badge-Dkm7PBJ8.cjs} +0 -0
- /package/dist/{Banner-DKMPZuXR.js → Banner-C2DFPW-D.js} +0 -0
- /package/dist/{Banner-CtaMbfyG.cjs → Banner-DXfzpyxc.cjs} +0 -0
- /package/dist/{Blueprint.context-DQAE9pH9.cjs → Blueprint.context-CNt0_OyK.cjs} +0 -0
- /package/dist/{Blueprint.context-C51gyX3c.js → Blueprint.context-Cp__sufg.js} +0 -0
- /package/dist/{BlueprintBackground-CCuLvvq5.cjs → BlueprintBackground-CRbAZfZP.cjs} +0 -0
- /package/dist/{BlueprintBackground-DJhMflIN.js → BlueprintBackground-DqRpS-jP.js} +0 -0
- /package/dist/{BlueprintMinimap-C4hKP0wV.cjs → BlueprintMinimap-Bk6V5xcq.cjs} +0 -0
- /package/dist/{BlueprintMinimap-CUNeYFVd.js → BlueprintMinimap-KRlkpH14.js} +0 -0
- /package/dist/{BottomPanel-BkD7euB4.js → BottomPanel-Bt4k2PJn.js} +0 -0
- /package/dist/{BottomPanel-DvS5Q8c8.cjs → BottomPanel-C1mT0_I0.cjs} +0 -0
- /package/dist/{Calendar-D3ExPJ2t.cjs → Calendar-CI6TG85W.cjs} +0 -0
- /package/dist/{Calendar-DCoZLEcA.js → Calendar-CV-B4qeT.js} +0 -0
- /package/dist/{Card-ChgbYLJP.js → Card-BqIF-svL.js} +0 -0
- /package/dist/{Card-duvlUAg9.cjs → Card-Xmv6oz9a.cjs} +0 -0
- /package/dist/{CardGrid-Desk_vNP.cjs → CardGrid-BbGLqQmb.cjs} +0 -0
- /package/dist/{CardGrid-ChwQuHLa.js → CardGrid-CphjVIvE.js} +0 -0
- /package/dist/{ChartLegend-B_Y9TNfO.js → ChartLegend-BLTbVV2E.js} +0 -0
- /package/dist/{ChartLegend-k-7LH8-7.cjs → ChartLegend-DGgW0yjG.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-DYPnnK72.cjs → CheckboxGroup.context-CBJMSIiT.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-BssNljp4.js → CheckboxGroup.context-D-C4RVyg.js} +0 -0
- /package/dist/{CommandPalette-dNJMbapr.cjs → CommandPalette-C56CkOfF.cjs} +0 -0
- /package/dist/{CommandPalette-Bv_AnaSi.js → CommandPalette-CubX_Udj.js} +0 -0
- /package/dist/{DefinitionList-C5cqvaLy.cjs → DefinitionList-CSBl-Ogy.cjs} +0 -0
- /package/dist/{DefinitionList-fmy6J4Re.js → DefinitionList-MsqB9Lxo.js} +0 -0
- /package/dist/{DefinitionListItem-CJK5RkIw.js → DefinitionListItem-Ddz2wLyc.js} +0 -0
- /package/dist/{DefinitionListItem-CWqjObrZ.cjs → DefinitionListItem-DnphEEw1.cjs} +0 -0
- /package/dist/{DragHandle-CoJEyCLX.cjs → DragHandle-B_rMbMxm.cjs} +0 -0
- /package/dist/{DragHandle-DDJ1Hsmo.js → DragHandle-D9NnsyJc.js} +0 -0
- /package/dist/{EmptyState-xU5I0laM.js → EmptyState-B6pEj4jk.js} +0 -0
- /package/dist/{EmptyState-u1iAtZUB.cjs → EmptyState-DRbjP890.cjs} +0 -0
- /package/dist/{Field-CfktrvRe.cjs → Field-BZ2cHQlw.cjs} +0 -0
- /package/dist/{Field-D7ImyCWp.js → Field-tNwOATAd.js} +0 -0
- /package/dist/{Flag-k-Aakupd.js → Flag-C4SjTXTD.js} +0 -0
- /package/dist/{Flag-Pk2LFD1t.cjs → Flag-DFg5FTus.cjs} +0 -0
- /package/dist/{Grid-HifmWSUS.cjs → Grid-DiCxrPaO.cjs} +0 -0
- /package/dist/{Grid-DA2jibMM.js → Grid-iox-7xyH.js} +0 -0
- /package/dist/{JsonTree-BLgpxnrT.js → JsonTree-Do_bunoq.js} +0 -0
- /package/dist/{JsonTree-DGzMCcSN.cjs → JsonTree-DygODsNE.cjs} +0 -0
- /package/dist/{Label-BIM21I7D.cjs → Label-CZhQEyoi.cjs} +0 -0
- /package/dist/{Label-CiWiUQ_H.js → Label-DGK5nxFy.js} +0 -0
- /package/dist/{Layer-B47tXgJm.js → Layer-CPWK7fSy.js} +0 -0
- /package/dist/{Layer-Csk6CZPD.cjs → Layer-Dn8JBO94.cjs} +0 -0
- /package/dist/{MenuBar-cNc__THT.cjs → MenuBar-Cmty676_.cjs} +0 -0
- /package/dist/{MenuBar-CdBcgokD.js → MenuBar-DgoQm2e6.js} +0 -0
- /package/dist/{MenuDivider-DEy1DSW1.js → MenuDivider-Clt77czV.js} +0 -0
- /package/dist/{MenuDivider-GuRZ5Dek.cjs → MenuDivider-SpMk4am3.cjs} +0 -0
- /package/dist/{MenuItem-BKjhq9o2.js → MenuItem-BDLX2QWw.js} +0 -0
- /package/dist/{MenuItem-B-Q5sVlO.cjs → MenuItem-ZQcFYe4m.cjs} +0 -0
- /package/dist/{Message-DjxOb8mu.cjs → Message-C44ftsaT.cjs} +0 -0
- /package/dist/{Message-SQvoXiWl.js → Message-CHkTWe0K.js} +0 -0
- /package/dist/{NotificationCenterItem-pWiBpKMc.cjs → NotificationCenterItem-BP0VBTaB.cjs} +0 -0
- /package/dist/{NotificationCenterItem-yqlKqwI2.js → NotificationCenterItem-CjJh9W_a.js} +0 -0
- /package/dist/{NubiscoMark-BN6bzMMG.cjs → NubiscoMark-BumRk78m.cjs} +0 -0
- /package/dist/{NubiscoMark-Bj6eID79.js → NubiscoMark-eVqSGOjI.js} +0 -0
- /package/dist/{NubiscoPlatformMark-C0OeymWK.js → NubiscoPlatformMark-Ch6dCICn.js} +0 -0
- /package/dist/{NubiscoPlatformMark-CE-poDEU.cjs → NubiscoPlatformMark-IX-E5QQ_.cjs} +0 -0
- /package/dist/{Panel-PtasWgYu.cjs → Panel-Cd29GNxw.cjs} +0 -0
- /package/dist/{Panel-MK5IWy0W.js → Panel-Y8gOQKuw.js} +0 -0
- /package/dist/{ShellPanel-f75v2_V2.js → ShellPanel-BA7QLnzE.js} +0 -0
- /package/dist/{ShellPanel-DzMmoG81.cjs → ShellPanel-CC_QJlLu.cjs} +0 -0
- /package/dist/{SidebarBrand-B3hJvpkF.js → SidebarBrand-8yDIYIQZ.js} +0 -0
- /package/dist/{SidebarBrand-CHxEUgzI.cjs → SidebarBrand-u8Oau9DK.cjs} +0 -0
- /package/dist/{SidebarLink-QG3kJ2EO.js → SidebarLink-XVXCHDBm.js} +0 -0
- /package/dist/{SidebarLink-B_5TV_Y_.cjs → SidebarLink-pgjUnWzl.cjs} +0 -0
- /package/dist/{SidebarMenu-CHra29Qu.cjs → SidebarMenu-CA0y5Zle.cjs} +0 -0
- /package/dist/{SidebarMenu-B4oKxxC9.js → SidebarMenu-e0qP4Nh-.js} +0 -0
- /package/dist/{SidebarMenuGroup-D4zw60k-.js → SidebarMenuGroup-CGnMAAUM.js} +0 -0
- /package/dist/{SidebarMenuGroup-D3-id6rV.cjs → SidebarMenuGroup-VQLxJ1CS.cjs} +0 -0
- /package/dist/{SidebarMenuItem-rDAFayv3.cjs → SidebarMenuItem-CqDbzAAk.cjs} +0 -0
- /package/dist/{SidebarMenuItem-DKfynXs8.js → SidebarMenuItem-DwBLBW-N.js} +0 -0
- /package/dist/{Sparkline-C__UzqcW.js → Sparkline-Bbt4vFjI.js} +0 -0
- /package/dist/{Sparkline-hfnHBqr_.cjs → Sparkline-CdLiYBEr.cjs} +0 -0
- /package/dist/{Stepper.context-DtdxFiTP.js → Stepper.context-BgQfa8xl.js} +0 -0
- /package/dist/{Stepper.context-OTxRDrqb.cjs → Stepper.context-DBNE-GYb.cjs} +0 -0
- /package/dist/{Toast-DdjLfZW7.cjs → Toast-XjSCXTx8.cjs} +0 -0
- /package/dist/{Toast-C7ZcSqjz.js → Toast-q9KByfYq.js} +0 -0
- /package/dist/{TreeContext-CN8Jmm3J.js → TreeContext-BN1eHAL6.js} +0 -0
- /package/dist/{TreeContext-CRgX277A.cjs → TreeContext-PgcV87_V.cjs} +0 -0
- /package/dist/{Wireframe-yxCSPLE-.cjs → Wireframe-DDRVqrll.cjs} +0 -0
- /package/dist/{Wireframe-Lb8viOfl.js → Wireframe-ql6EOtd2.js} +0 -0
- /package/dist/{palette-CP7R55wd.cjs → palette-Cy2_8mLH.cjs} +0 -0
- /package/dist/{palette-BVXsOJol.js → palette-StNyj_sM.js} +0 -0
- /package/dist/{pixi-scene-CjZJN5UI.js → pixi-scene-CuO3As43.js} +0 -0
- /package/dist/{pixi-scene-Be5EU7HP.cjs → pixi-scene-DE1dBR9n.cjs} +0 -0
- /package/dist/{scales-DJ_hCmZX.cjs → scales-4WxjhxBm.cjs} +0 -0
- /package/dist/{scales-CsGzsNm7.js → scales-DlFF1BRk.js} +0 -0
- /package/dist/{useChartSize-DGUae61E.cjs → useChartSize-C-BIN0vc.cjs} +0 -0
- /package/dist/{useChartSize-6K6L_Xnm.js → useChartSize-UdZSuP3G.js} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-TdYpHGvK.js → useLoadingAnnouncer.composable-C7FA-Ui1.js} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-DeoNGDYL.cjs → useLoadingAnnouncer.composable-DMycMLn-.cjs} +0 -0
- /package/dist/{vue-i18n-CkVGSKx4.js → vue-i18n-B2FDvjI1.js} +0 -0
- /package/dist/{vue-i18n-Bhwom92P.cjs → vue-i18n-D3Ga_miE.cjs} +0 -0
package/dist/Shell-COpscGYO.js
DELETED
|
@@ -1,448 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-O4QQSku4.js";
|
|
2
|
-
import { NB_LAYER_INJECTION_KEY as t, clampLayer as n, useSurfaceLayer as r } from "./composables/useSurfaceLayer.composable.mjs";
|
|
3
|
-
import { hasSlotContent as ee } from "./utils/slotContent.helper.mjs";
|
|
4
|
-
import { NB_SHELL_SLOT_KEY as te, createShellSlotRegistry as ne } from "./composables/useShellSlot.composable.mjs";
|
|
5
|
-
import { computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as re, defineComponent as c, getCurrentInstance as ie, mergeProps as ae, nextTick as l, normalizeClass as u, normalizeStyle as oe, onBeforeUnmount as se, onMounted as ce, openBlock as d, provide as f, ref as p, renderSlot as m, toDisplayString as h, toRef as le, unref as ue, useId as de, useSlots as fe, vShow as pe, watch as g, withCtx as me, withDirectives as he, withKeys as ge } from "vue";
|
|
6
|
-
//#endregion
|
|
7
|
-
//#region src/components/SurfaceLayerScope.vue
|
|
8
|
-
var _e = /* @__PURE__ */ c({
|
|
9
|
-
__name: "SurfaceLayerScope",
|
|
10
|
-
props: { level: {} },
|
|
11
|
-
setup(e) {
|
|
12
|
-
let r = e;
|
|
13
|
-
return f(t, i(() => n(r.level))), (e, t) => m(e.$slots, "default");
|
|
14
|
-
}
|
|
15
|
-
}), ve = ["href"], ye = { class: "nb-shell__middle" }, be = [
|
|
16
|
-
"id",
|
|
17
|
-
"aria-label",
|
|
18
|
-
"tabindex",
|
|
19
|
-
"inert",
|
|
20
|
-
"aria-hidden"
|
|
21
|
-
], xe = { class: "nb-shell__sidebar-logo" }, Se = { class: "nb-shell__sidebar-nav" }, Ce = { class: "nb-shell__sidebar-bottom" }, we = { class: "nb-shell__right" }, Te = {
|
|
22
|
-
key: 2,
|
|
23
|
-
class: "nb-shell__menubar"
|
|
24
|
-
}, Ee = {
|
|
25
|
-
key: 3,
|
|
26
|
-
class: "nb-shell__topbar"
|
|
27
|
-
}, De = [
|
|
28
|
-
"aria-label",
|
|
29
|
-
"aria-expanded",
|
|
30
|
-
"aria-controls"
|
|
31
|
-
], Oe = { class: "nb-shell__content-row" }, ke = ["inert", "aria-hidden"], Ae = ["aria-expanded"], je = {
|
|
32
|
-
class: "nb-shell__contextbar-toggle-glyph",
|
|
33
|
-
"aria-hidden": "true"
|
|
34
|
-
}, Me = { class: "nb-shell__main-row" }, Ne = ["aria-label"], Pe = ["id"], Fe = [
|
|
35
|
-
"aria-label",
|
|
36
|
-
"inert",
|
|
37
|
-
"aria-hidden"
|
|
38
|
-
], Ie = ["aria-label"], Le = [
|
|
39
|
-
"aria-label",
|
|
40
|
-
"aria-valuenow",
|
|
41
|
-
"aria-valuemax"
|
|
42
|
-
], _ = 288, Re = 16, ze = 64, v = /* @__PURE__ */ e(/* @__PURE__ */ c({
|
|
43
|
-
__name: "Shell",
|
|
44
|
-
props: {
|
|
45
|
-
inspectorVisible: {
|
|
46
|
-
type: Boolean,
|
|
47
|
-
default: !1
|
|
48
|
-
},
|
|
49
|
-
inspectorExpanded: {
|
|
50
|
-
type: Boolean,
|
|
51
|
-
default: !1
|
|
52
|
-
},
|
|
53
|
-
inspectorSize: { default: "md" },
|
|
54
|
-
resizable: {
|
|
55
|
-
type: Boolean,
|
|
56
|
-
default: !1
|
|
57
|
-
},
|
|
58
|
-
inspectorWidth: {},
|
|
59
|
-
mainPadding: {
|
|
60
|
-
type: Boolean,
|
|
61
|
-
default: !0
|
|
62
|
-
},
|
|
63
|
-
sidebarVariant: { default: "compact" },
|
|
64
|
-
topbar: { default: "auto" },
|
|
65
|
-
skipToContent: {
|
|
66
|
-
type: Boolean,
|
|
67
|
-
default: !0
|
|
68
|
-
},
|
|
69
|
-
skipToContentLabel: { default: "Skip to content" },
|
|
70
|
-
mainId: {},
|
|
71
|
-
sidebarLabel: { default: "Primary" },
|
|
72
|
-
inspectorLabel: { default: "Inspector" },
|
|
73
|
-
contextbarLabel: { default: "Browse" },
|
|
74
|
-
collapseAt: { default: "md" },
|
|
75
|
-
sidebarOpen: { type: Boolean },
|
|
76
|
-
navToggleLabel: { default: "Navigation" },
|
|
77
|
-
inspectorCloseLabel: { default: "Close inspector" }
|
|
78
|
-
},
|
|
79
|
-
emits: [
|
|
80
|
-
"update:inspectorWidth",
|
|
81
|
-
"update:sidebarOpen",
|
|
82
|
-
"update:inspectorVisible"
|
|
83
|
-
],
|
|
84
|
-
setup(e, { expose: t, emit: n }) {
|
|
85
|
-
let c = fe();
|
|
86
|
-
function v(e) {
|
|
87
|
-
return ee(c, e);
|
|
88
|
-
}
|
|
89
|
-
let { registry: Be, count: y, sharedCount: Ve, setElement: b } = ne();
|
|
90
|
-
f(te, Be);
|
|
91
|
-
let He = /* @__PURE__ */ new Map();
|
|
92
|
-
function x(e) {
|
|
93
|
-
let t = He.get(e);
|
|
94
|
-
return t || (t = (t) => b(e, t ?? null), He.set(e, t)), t;
|
|
95
|
-
}
|
|
96
|
-
function S(e) {
|
|
97
|
-
return v(e) || y(e) > 0;
|
|
98
|
-
}
|
|
99
|
-
function C(e) {
|
|
100
|
-
return Ve(e) > 0 ? "nb-shell__region--ordered" : null;
|
|
101
|
-
}
|
|
102
|
-
let w = i(() => {
|
|
103
|
-
for (let e of [
|
|
104
|
-
"sidebar-logo",
|
|
105
|
-
"sidebar-nav",
|
|
106
|
-
"sidebar-bottom"
|
|
107
|
-
]) if (v(e)) return !0;
|
|
108
|
-
return !1;
|
|
109
|
-
}), T = e, E = p(!1), D = n, Ue = {
|
|
110
|
-
md: 672,
|
|
111
|
-
lg: 1056
|
|
112
|
-
}, O = p(typeof window < "u" ? window.innerWidth : Infinity);
|
|
113
|
-
function k(e) {
|
|
114
|
-
let t = Ue[T.collapseAt];
|
|
115
|
-
return t != null && e < t;
|
|
116
|
-
}
|
|
117
|
-
let A = 0;
|
|
118
|
-
function We() {
|
|
119
|
-
let e = window.innerWidth;
|
|
120
|
-
k(e) !== k(O.value) && (O.value = e);
|
|
121
|
-
}
|
|
122
|
-
function Ge() {
|
|
123
|
-
A ||= window.requestAnimationFrame(() => {
|
|
124
|
-
A = 0, O.value = window.innerWidth;
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
function Ke() {
|
|
128
|
-
typeof window > "u" || (window.removeEventListener("resize", Ge), A &&= (window.cancelAnimationFrame(A), 0));
|
|
129
|
-
}
|
|
130
|
-
function qe() {
|
|
131
|
-
typeof window > "u" || (O.value = window.innerWidth, window.addEventListener("resize", Ge, { passive: !0 }));
|
|
132
|
-
}
|
|
133
|
-
let j = i(() => k(O.value)), M = ie()?.vnode.props ?? {};
|
|
134
|
-
function N(e, t) {
|
|
135
|
-
return e in M || t in M;
|
|
136
|
-
}
|
|
137
|
-
function Je(e, t) {
|
|
138
|
-
if (e in M) return M[e];
|
|
139
|
-
if (t in M) return M[t];
|
|
140
|
-
}
|
|
141
|
-
function P(e, t) {
|
|
142
|
-
return N(e, t) && Je(e, t) !== void 0;
|
|
143
|
-
}
|
|
144
|
-
let F = P("sidebarOpen", "sidebar-open"), Ye = p(!1);
|
|
145
|
-
N("sidebarOpen", "sidebar-open") && !F && g(() => T.sidebarOpen, (e) => {
|
|
146
|
-
Ye.value = e === !0;
|
|
147
|
-
});
|
|
148
|
-
let I = i(() => F ? T.sidebarOpen === !0 : Ye.value), Xe = de(), Ze = i(() => `nb-shell-sidebar-${Xe}`), Qe = p(null), L = p(null), $e = i(() => w.value && j.value), et = i(() => w.value && j.value && !I.value);
|
|
149
|
-
function R(e) {
|
|
150
|
-
F || (Ye.value = e), D("update:sidebarOpen", e);
|
|
151
|
-
}
|
|
152
|
-
function tt() {
|
|
153
|
-
if (w.value && j.value && I.value) {
|
|
154
|
-
R(!1);
|
|
155
|
-
return;
|
|
156
|
-
}
|
|
157
|
-
U.value && W(!1);
|
|
158
|
-
}
|
|
159
|
-
g(I, async (e) => {
|
|
160
|
-
j.value && (await l(), e ? (L.value?.querySelector("a[href], button:not([disabled]), [tabindex]:not([tabindex=\"-1\"])") ?? L.value)?.focus?.() : Qe.value?.focus?.());
|
|
161
|
-
}), g(j, (e) => {
|
|
162
|
-
!e && I.value && R(!1);
|
|
163
|
-
});
|
|
164
|
-
let z = P("inspectorVisible", "inspector-visible"), B = p(T.inspectorVisible === !0);
|
|
165
|
-
N("inspectorVisible", "inspector-visible") && !z && g(() => T.inspectorVisible, (e) => {
|
|
166
|
-
B.value = e === !0;
|
|
167
|
-
});
|
|
168
|
-
let V = p(!1), H = i(() => (z ? T.inspectorVisible === !0 : B.value) ? !(j.value && V.value) : !1), U = i(() => j.value && H.value);
|
|
169
|
-
function W(e) {
|
|
170
|
-
z ? V.value = !e : (B.value = e, V.value = !1), D("update:inspectorVisible", e);
|
|
171
|
-
}
|
|
172
|
-
g(() => T.inspectorVisible, (e) => {
|
|
173
|
-
e && (V.value = !1);
|
|
174
|
-
}), g(j, (e) => {
|
|
175
|
-
e || (V.value = !1);
|
|
176
|
-
});
|
|
177
|
-
let nt = p(null), G = p(null);
|
|
178
|
-
g(U, async (e) => {
|
|
179
|
-
if (e) G.value = document.activeElement ?? null, await l(), nt.value?.focus?.();
|
|
180
|
-
else {
|
|
181
|
-
let e = G.value;
|
|
182
|
-
G.value = null, e?.isConnected && (await l(), e.focus?.());
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
let rt = i(() => U.value), K = p(null), it = de(), at = i(() => T.mainId || `nb-shell-main-${it}`);
|
|
186
|
-
function ot() {
|
|
187
|
-
K.value?.focus();
|
|
188
|
-
}
|
|
189
|
-
let st = i(() => $e.value || T.topbar === "always" ? !0 : T.topbar === "never" ? !1 : v("topbar-left") || v("topbar-right") || y("topbar-left") > 0 || y("topbar-right") > 0), { layerProps: ct } = r(), { layerProps: lt } = r({
|
|
190
|
-
level: 0,
|
|
191
|
-
probe: !1,
|
|
192
|
-
provideContext: !1
|
|
193
|
-
});
|
|
194
|
-
f("nb-shell-sidebar-variant", le(T, "sidebarVariant"));
|
|
195
|
-
let q = p(null), J = p(!1);
|
|
196
|
-
ce(() => b("inspector", q.value)), g(q, (e) => b("inspector", e));
|
|
197
|
-
let ut = {
|
|
198
|
-
lg: .5,
|
|
199
|
-
xl: .75
|
|
200
|
-
}, dt = {
|
|
201
|
-
xs: 288,
|
|
202
|
-
sm: 360,
|
|
203
|
-
md: 560
|
|
204
|
-
}, Y = i(() => Number.isFinite(O.value) ? O.value : 1280), X = i(() => Math.max(_, Y.value * .5));
|
|
205
|
-
function Z(e) {
|
|
206
|
-
return Math.round(Math.max(_, Math.min(e, X.value)));
|
|
207
|
-
}
|
|
208
|
-
let ft = P("inspectorWidth", "inspector-width"), pt = p(null), mt = i(() => ft ? T.inspectorWidth ?? null : pt.value);
|
|
209
|
-
function Q(e) {
|
|
210
|
-
ft || (pt.value = e), D("update:inspectorWidth", e);
|
|
211
|
-
}
|
|
212
|
-
let ht = i(() => {
|
|
213
|
-
let e = mt.value;
|
|
214
|
-
if (!(!T.resizable || !H.value || e == null)) return { "--nb-shell-inspector-width": `${Z(e)}px` };
|
|
215
|
-
}), gt = i(() => {
|
|
216
|
-
let e = mt.value;
|
|
217
|
-
if (e != null) return Z(e);
|
|
218
|
-
if (T.inspectorExpanded) return Math.round(Y.value * .5);
|
|
219
|
-
let t = ut[T.inspectorSize], n = t == null ? dt[T.inspectorSize] ?? _ : Y.value * t;
|
|
220
|
-
return Math.round(T.inspectorSize === "xl" ? n : Math.min(n, X.value));
|
|
221
|
-
}), _t = i(() => Math.round(Math.max(X.value, gt.value))), vt = i(() => gt.value);
|
|
222
|
-
function yt() {
|
|
223
|
-
return gt.value;
|
|
224
|
-
}
|
|
225
|
-
function bt(e) {
|
|
226
|
-
let t = q.value;
|
|
227
|
-
if (!t) return;
|
|
228
|
-
let n = t.getBoundingClientRect().right;
|
|
229
|
-
Q(Z(n - e.clientX));
|
|
230
|
-
}
|
|
231
|
-
function $() {
|
|
232
|
-
J.value = !1, window.removeEventListener("pointermove", bt), window.removeEventListener("pointerup", $), window.removeEventListener("pointercancel", $);
|
|
233
|
-
}
|
|
234
|
-
function xt(e) {
|
|
235
|
-
T.resizable && (e.preventDefault(), J.value = !0, window.addEventListener("pointermove", bt), window.addEventListener("pointerup", $), window.addEventListener("pointercancel", $));
|
|
236
|
-
}
|
|
237
|
-
function St() {
|
|
238
|
-
Q(null);
|
|
239
|
-
}
|
|
240
|
-
function Ct(e) {
|
|
241
|
-
if (!T.resizable) return;
|
|
242
|
-
let t = e.shiftKey ? ze : Re, n;
|
|
243
|
-
switch (e.key) {
|
|
244
|
-
case "ArrowLeft":
|
|
245
|
-
n = yt() + t;
|
|
246
|
-
break;
|
|
247
|
-
case "ArrowRight":
|
|
248
|
-
n = yt() - t;
|
|
249
|
-
break;
|
|
250
|
-
case "Home":
|
|
251
|
-
n = _;
|
|
252
|
-
break;
|
|
253
|
-
case "End":
|
|
254
|
-
n = X.value;
|
|
255
|
-
break;
|
|
256
|
-
case "Enter":
|
|
257
|
-
case " ":
|
|
258
|
-
n = null;
|
|
259
|
-
break;
|
|
260
|
-
default: return;
|
|
261
|
-
}
|
|
262
|
-
e.preventDefault(), Q(n == null ? null : Z(n));
|
|
263
|
-
}
|
|
264
|
-
return ce(() => {
|
|
265
|
-
typeof window > "u" || (O.value = window.innerWidth, window.addEventListener("resize", We, { passive: !0 }), T.resizable && qe());
|
|
266
|
-
}), g(() => T.collapseAt, () => {
|
|
267
|
-
typeof window < "u" && (O.value = window.innerWidth);
|
|
268
|
-
}), g(() => T.resizable, (e) => e ? qe() : Ke()), se(() => {
|
|
269
|
-
$(), Ke(), typeof window < "u" && window.removeEventListener("resize", We);
|
|
270
|
-
}), t({
|
|
271
|
-
mainEl: K,
|
|
272
|
-
sidebarEl: L,
|
|
273
|
-
inspectorEl: q,
|
|
274
|
-
focusMain: () => K.value?.focus(),
|
|
275
|
-
setSidebarOpen: R,
|
|
276
|
-
setInspectorVisible: W
|
|
277
|
-
}), (t, n) => (d(), o("div", ae({ class: "nb-shell" }, ue(ct), {
|
|
278
|
-
class: [
|
|
279
|
-
{ "nb-shell--no-sidebar": !w.value },
|
|
280
|
-
w.value ? `nb-shell--sidebar-${e.sidebarVariant}` : null,
|
|
281
|
-
{
|
|
282
|
-
"nb-shell--collapsed": j.value,
|
|
283
|
-
"nb-shell--drawer-open": j.value && I.value
|
|
284
|
-
}
|
|
285
|
-
],
|
|
286
|
-
onKeydown: ge(tt, ["esc"])
|
|
287
|
-
}), [
|
|
288
|
-
e.skipToContent ? (d(), o("a", {
|
|
289
|
-
key: 0,
|
|
290
|
-
class: "nb-shell__skip-link",
|
|
291
|
-
href: `#${at.value}`,
|
|
292
|
-
onClick: ot
|
|
293
|
-
}, h(e.skipToContentLabel), 9, ve)) : a("", !0),
|
|
294
|
-
S("outer-menu") ? (d(), o("div", {
|
|
295
|
-
key: 1,
|
|
296
|
-
ref: x("outer-menu"),
|
|
297
|
-
class: u(["nb-shell__outer-menu", C("outer-menu")])
|
|
298
|
-
}, [m(t.$slots, "outer-menu", {}, void 0, !0)], 2)) : a("", !0),
|
|
299
|
-
s("div", ye, [
|
|
300
|
-
w.value ? (d(), o("nav", {
|
|
301
|
-
key: 0,
|
|
302
|
-
id: Ze.value,
|
|
303
|
-
ref_key: "sidebarRef",
|
|
304
|
-
ref: L,
|
|
305
|
-
class: "nb-shell__sidebar",
|
|
306
|
-
"aria-label": e.sidebarLabel,
|
|
307
|
-
tabindex: j.value ? -1 : void 0,
|
|
308
|
-
inert: et.value || void 0,
|
|
309
|
-
"aria-hidden": et.value || void 0
|
|
310
|
-
}, [
|
|
311
|
-
s("div", xe, [m(t.$slots, "sidebar-logo", {}, void 0, !0)]),
|
|
312
|
-
s("div", Se, [m(t.$slots, "sidebar-nav", {}, void 0, !0)]),
|
|
313
|
-
n[4] ||= s("div", { class: "nb-shell__sidebar-spacer" }, null, -1),
|
|
314
|
-
s("div", Ce, [m(t.$slots, "sidebar-bottom", {}, void 0, !0)])
|
|
315
|
-
], 8, be)) : a("", !0),
|
|
316
|
-
w.value && j.value && I.value ? (d(), o("div", {
|
|
317
|
-
key: 1,
|
|
318
|
-
class: "nb-shell__scrim",
|
|
319
|
-
onClick: n[0] ||= (e) => R(!1)
|
|
320
|
-
})) : a("", !0),
|
|
321
|
-
s("div", we, [
|
|
322
|
-
S("inner-menu") ? (d(), o("div", {
|
|
323
|
-
key: 0,
|
|
324
|
-
ref: x("inner-menu"),
|
|
325
|
-
class: u(["nb-shell__inner-menu", C("inner-menu")])
|
|
326
|
-
}, [m(t.$slots, "inner-menu", {}, void 0, !0)], 2)) : a("", !0),
|
|
327
|
-
S("notification") ? (d(), o("div", {
|
|
328
|
-
key: 1,
|
|
329
|
-
ref: x("notification"),
|
|
330
|
-
class: u(["nb-shell__notification", C("notification")])
|
|
331
|
-
}, [m(t.$slots, "notification", {}, void 0, !0)], 2)) : a("", !0),
|
|
332
|
-
v("menubar") ? (d(), o("div", Te, [m(t.$slots, "menubar", {}, void 0, !0)])) : a("", !0),
|
|
333
|
-
st.value ? (d(), o("div", Ee, [
|
|
334
|
-
$e.value ? (d(), o("button", {
|
|
335
|
-
key: 0,
|
|
336
|
-
ref_key: "navToggleRef",
|
|
337
|
-
ref: Qe,
|
|
338
|
-
type: "button",
|
|
339
|
-
class: "nb-shell__nav-toggle",
|
|
340
|
-
"aria-label": e.navToggleLabel,
|
|
341
|
-
"aria-expanded": I.value,
|
|
342
|
-
"aria-controls": Ze.value,
|
|
343
|
-
onClick: n[1] ||= (e) => R(!I.value)
|
|
344
|
-
}, [...n[5] ||= [s("span", {
|
|
345
|
-
class: "nb-shell__nav-toggle-glyph",
|
|
346
|
-
"aria-hidden": "true"
|
|
347
|
-
}, [
|
|
348
|
-
s("span"),
|
|
349
|
-
s("span"),
|
|
350
|
-
s("span")
|
|
351
|
-
], -1)]], 8, De)) : a("", !0),
|
|
352
|
-
s("div", {
|
|
353
|
-
ref: x("topbar-left"),
|
|
354
|
-
class: "nb-shell__topbar-left"
|
|
355
|
-
}, [m(t.$slots, "topbar-left", {}, void 0, !0)], 512),
|
|
356
|
-
s("div", {
|
|
357
|
-
ref: x("topbar-right"),
|
|
358
|
-
class: "nb-shell__topbar-right"
|
|
359
|
-
}, [m(t.$slots, "topbar-right", {}, void 0, !0)], 512)
|
|
360
|
-
])) : a("", !0),
|
|
361
|
-
s("div", Oe, [s("div", {
|
|
362
|
-
class: "nb-shell__body",
|
|
363
|
-
inert: rt.value || void 0,
|
|
364
|
-
"aria-hidden": rt.value || void 0
|
|
365
|
-
}, [
|
|
366
|
-
S("fixedbar") ? (d(), o("div", {
|
|
367
|
-
key: 0,
|
|
368
|
-
ref: x("fixedbar"),
|
|
369
|
-
class: "nb-shell__fixedbar"
|
|
370
|
-
}, [m(t.$slots, "fixedbar", {}, void 0, !0)], 512)) : a("", !0),
|
|
371
|
-
j.value && S("contextbar") ? (d(), o("button", {
|
|
372
|
-
key: 1,
|
|
373
|
-
type: "button",
|
|
374
|
-
class: "nb-shell__contextbar-toggle",
|
|
375
|
-
"aria-expanded": E.value,
|
|
376
|
-
onClick: n[2] ||= (e) => E.value = !E.value
|
|
377
|
-
}, [s("span", null, h(e.contextbarLabel), 1), s("span", je, h(E.value ? "▾" : "▸"), 1)], 8, Ae)) : a("", !0),
|
|
378
|
-
s("div", Me, [S("contextbar") ? he((d(), o("aside", {
|
|
379
|
-
key: 0,
|
|
380
|
-
ref: x("contextbar"),
|
|
381
|
-
class: u(["nb-shell__contextbar", C("contextbar")]),
|
|
382
|
-
"aria-label": e.contextbarLabel
|
|
383
|
-
}, [m(t.$slots, "contextbar", {}, void 0, !0)], 10, Ne)), [[pe, !j.value || E.value]]) : a("", !0), s("main", ae({
|
|
384
|
-
id: at.value,
|
|
385
|
-
ref_key: "mainRef",
|
|
386
|
-
ref: K,
|
|
387
|
-
tabindex: "-1",
|
|
388
|
-
class: ["nb-shell__main", { "nb-shell__main--no-padding": !e.mainPadding }]
|
|
389
|
-
}, ue(lt)), [re(_e, { level: 1 }, {
|
|
390
|
-
default: me(() => [m(t.$slots, "default", {}, void 0, !0)]),
|
|
391
|
-
_: 3
|
|
392
|
-
})], 16, Pe)]),
|
|
393
|
-
S("bottom") ? (d(), o("div", {
|
|
394
|
-
key: 2,
|
|
395
|
-
ref: x("bottom"),
|
|
396
|
-
class: "nb-shell__bottom"
|
|
397
|
-
}, [m(t.$slots, "bottom", {}, void 0, !0)], 512)) : a("", !0)
|
|
398
|
-
], 8, ke), s("aside", {
|
|
399
|
-
ref_key: "inspectorRef",
|
|
400
|
-
ref: q,
|
|
401
|
-
class: u(["nb-shell__inspector", {
|
|
402
|
-
"nb-shell__inspector--visible": H.value,
|
|
403
|
-
"nb-shell__inspector--expanded": H.value && e.inspectorExpanded,
|
|
404
|
-
[`nb-shell__inspector--${e.inspectorSize}`]: H.value,
|
|
405
|
-
"nb-shell__inspector--resizing": J.value,
|
|
406
|
-
"nb-shell__inspector--overlay": U.value
|
|
407
|
-
}]),
|
|
408
|
-
"aria-label": e.inspectorLabel,
|
|
409
|
-
inert: !H.value || void 0,
|
|
410
|
-
"aria-hidden": !H.value || void 0,
|
|
411
|
-
style: oe(ht.value)
|
|
412
|
-
}, [
|
|
413
|
-
U.value ? (d(), o("button", {
|
|
414
|
-
key: 0,
|
|
415
|
-
ref_key: "inspectorDismissRef",
|
|
416
|
-
ref: nt,
|
|
417
|
-
type: "button",
|
|
418
|
-
class: "nb-shell__inspector-dismiss",
|
|
419
|
-
"aria-label": e.inspectorCloseLabel,
|
|
420
|
-
onClick: n[3] ||= (e) => W(!1)
|
|
421
|
-
}, [...n[6] ||= [s("span", {
|
|
422
|
-
class: "nb-shell__inspector-dismiss-glyph",
|
|
423
|
-
"aria-hidden": "true"
|
|
424
|
-
}, "×", -1)]], 8, Ie)) : a("", !0),
|
|
425
|
-
e.resizable && H.value && !j.value ? (d(), o("div", {
|
|
426
|
-
key: 1,
|
|
427
|
-
class: "nb-shell__inspector-resize",
|
|
428
|
-
role: "separator",
|
|
429
|
-
tabindex: "0",
|
|
430
|
-
"aria-orientation": "vertical",
|
|
431
|
-
"aria-label": `Resize ${e.inspectorLabel}`,
|
|
432
|
-
"aria-valuenow": vt.value,
|
|
433
|
-
"aria-valuemin": _,
|
|
434
|
-
"aria-valuemax": _t.value,
|
|
435
|
-
title: "Drag or use the arrow keys to resize, Enter or double-click to reset",
|
|
436
|
-
onPointerdown: xt,
|
|
437
|
-
onDblclick: St,
|
|
438
|
-
onKeydown: Ct
|
|
439
|
-
}, null, 40, Le)) : a("", !0),
|
|
440
|
-
m(t.$slots, "inspector", {}, void 0, !0)
|
|
441
|
-
], 14, Fe)])
|
|
442
|
-
])
|
|
443
|
-
])
|
|
444
|
-
], 16));
|
|
445
|
-
}
|
|
446
|
-
}), [["__scopeId", "data-v-2849726c"]]);
|
|
447
|
-
//#endregion
|
|
448
|
-
export { v as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Icon-C8R_r_In.cjs`);let t=require(`vue`),n=require(`@nubisco/ui/icons/caret-right`);var r=[`aria-expanded`,`aria-disabled`,`onKeydown`],i={class:`nb-menu-item__label`},a=(0,t.defineComponent)({__name:`Submenu`,props:{icon:{default:void 0},label:{},disabled:{type:Boolean,default:!1}},setup(a){let o=a,s=(0,t.ref)(null),c=(0,t.ref)(null),l=(0,t.ref)(!1),u=(0,t.inject)(`nb-menu`,null),d=null,f=null,p=(0,t.computed)(()=>`nb-menu--${u?.size??`md`}`),m=(0,t.ref)({position:`fixed`,top:`0px`,left:`0px`,zIndex:`var(--nb-zindex-menu)`});function h(){if(!s.value)return;let e=s.value.getBoundingClientRect(),t=e.right,n=e.top;t+200>window.innerWidth&&(t=e.left-200),n+200>window.innerHeight&&(n=Math.max(8,window.innerHeight-200)),m.value={position:`fixed`,top:`${n}px`,left:`${t}px`,zIndex:`var(--nb-zindex-menu)`}}function g(){o.disabled||(S(),l.value=!0,h(),(0,t.nextTick)(()=>{if(c.value&&s.value){let e=s.value.getBoundingClientRect(),t=c.value.getBoundingClientRect(),n=e.right;n+t.width>window.innerWidth&&(n=e.left-t.width);let r=e.top;r+t.height>window.innerHeight&&(r=Math.max(8,window.innerHeight-t.height)),m.value={position:`fixed`,top:`${r}px`,left:`${n}px`,zIndex:`var(--nb-zindex-menu)`}}}))}function _(){if(S(),!l.value)return;let e=!!c.value?.contains(document.activeElement);l.value=!1,e&&s.value?.focus()}function v(){return c.value?Array.from(c.value.querySelectorAll(`[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]`)):[]}function y(e,t){let n=v();for(let r=e;r>=0&&r<n.length;r+=t)if(n[r].getAttribute(`aria-disabled`)!==`true`){n[r].focus();return}}function b(){o.disabled||(g(),(0,t.nextTick)(()=>y(0,1)))}function x(e){let t=v().indexOf(document.activeElement);e.key===`ArrowDown`?(e.preventDefault(),e.stopPropagation(),y(t+1,1)):e.key===`ArrowUp`?(e.preventDefault(),e.stopPropagation(),t>0&&y(t-1,-1)):e.key===`ArrowLeft`||e.key===`Escape`?(e.preventDefault(),e.stopPropagation(),_()):e.key===`Tab`&&(_(),u?.close())}(0,t.watch)(c,(e,t)=>{t&&u?.unregisterSurface(t),e&&u?.registerSurface(e)});function S(){d&&=(clearTimeout(d),null),f&&=(clearTimeout(f),null)}function C(){S(),d=setTimeout(g,150)}function w(){S(),f=setTimeout(_,150)}function T(){S()}function E(){S(),f=setTimeout(_,150)}function D(){o.disabled||(l.value?_():g())}return(0,t.onBeforeUnmount)(()=>{S(),c.value&&u?.unregisterSurface(c.value)}),(o,u)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.createElementVNode)(`li`,{ref_key:`triggerRef`,ref:s,class:(0,t.normalizeClass)([`nb-menu-item nb-submenu-trigger`,{"nb-menu-item--disabled":a.disabled,"nb-menu-item--highlighted":l.value}]),role:`menuitem`,"aria-haspopup":`menu`,"aria-expanded":l.value,"aria-disabled":a.disabled||void 0,tabindex:-1,onMouseenter:C,onMouseleave:w,onKeydown:[(0,t.withKeys)((0,t.withModifiers)(b,[`prevent`]),[`right`]),(0,t.withKeys)((0,t.withModifiers)(b,[`prevent`]),[`enter`]),(0,t.withKeys)((0,t.withModifiers)(b,[`prevent`]),[`space`]),(0,t.withKeys)((0,t.withModifiers)(_,[`prevent`]),[`left`]),(0,t.withKeys)((0,t.withModifiers)(_,[`prevent`]),[`escape`])],onClick:D},[a.icon?((0,t.openBlock)(),(0,t.createBlock)(e.t,{key:0,name:a.icon,size:16,class:`nb-menu-item__icon`},null,8,[`name`])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`span`,i,(0,t.toDisplayString)(a.label),1),(0,t.createVNode)(e.t,{name:(0,t.unref)(n.regular),size:14,class:`nb-submenu-trigger__caret`},null,8,[`name`])],42,r),((0,t.openBlock)(),(0,t.createBlock)(t.Teleport,{to:`body`},[(0,t.createVNode)(t.Transition,{name:`nb-submenu`},{default:(0,t.withCtx)(()=>[l.value?((0,t.openBlock)(),(0,t.createElementBlock)(`ul`,{key:0,ref_key:`submenuRef`,ref:c,role:`menu`,class:(0,t.normalizeClass)([`nb-menu nb-submenu`,[p.value]]),style:(0,t.normalizeStyle)(m.value),onMouseenter:T,onMouseleave:E,onKeydown:x},[(0,t.renderSlot)(o.$slots,`default`)],38)):(0,t.createCommentVNode)(``,!0)]),_:3})]))],64))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return a}});
|
package/dist/Submenu-SQTJc81U.js
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./Icon-rREAqsu0.js";
|
|
2
|
-
import { Fragment as t, Teleport as n, Transition as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, inject as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onBeforeUnmount as h, openBlock as g, ref as _, renderSlot as v, toDisplayString as y, unref as b, watch as x, withCtx as S, withKeys as C, withModifiers as w } from "vue";
|
|
3
|
-
import { regular as T } from "@nubisco/ui/icons/caret-right";
|
|
4
|
-
//#region src/components/Submenu.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var E = [
|
|
6
|
-
"aria-expanded",
|
|
7
|
-
"aria-disabled",
|
|
8
|
-
"onKeydown"
|
|
9
|
-
], D = { class: "nb-menu-item__label" }, O = /* @__PURE__ */ u({
|
|
10
|
-
__name: "Submenu",
|
|
11
|
-
props: {
|
|
12
|
-
icon: { default: void 0 },
|
|
13
|
-
label: {},
|
|
14
|
-
disabled: {
|
|
15
|
-
type: Boolean,
|
|
16
|
-
default: !1
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
setup(u) {
|
|
20
|
-
let O = u, k = _(null), A = _(null), j = _(!1), M = d("nb-menu", null), N = null, P = null, F = i(() => `nb-menu--${M?.size ?? "md"}`), I = _({
|
|
21
|
-
position: "fixed",
|
|
22
|
-
top: "0px",
|
|
23
|
-
left: "0px",
|
|
24
|
-
zIndex: "var(--nb-zindex-menu)"
|
|
25
|
-
});
|
|
26
|
-
function L() {
|
|
27
|
-
if (!k.value) return;
|
|
28
|
-
let e = k.value.getBoundingClientRect(), t = e.right, n = e.top;
|
|
29
|
-
t + 200 > window.innerWidth && (t = e.left - 200), n + 200 > window.innerHeight && (n = Math.max(8, window.innerHeight - 200)), I.value = {
|
|
30
|
-
position: "fixed",
|
|
31
|
-
top: `${n}px`,
|
|
32
|
-
left: `${t}px`,
|
|
33
|
-
zIndex: "var(--nb-zindex-menu)"
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
function R() {
|
|
37
|
-
O.disabled || (W(), j.value = !0, L(), f(() => {
|
|
38
|
-
if (A.value && k.value) {
|
|
39
|
-
let e = k.value.getBoundingClientRect(), t = A.value.getBoundingClientRect(), n = e.right;
|
|
40
|
-
n + t.width > window.innerWidth && (n = e.left - t.width);
|
|
41
|
-
let r = e.top;
|
|
42
|
-
r + t.height > window.innerHeight && (r = Math.max(8, window.innerHeight - t.height)), I.value = {
|
|
43
|
-
position: "fixed",
|
|
44
|
-
top: `${r}px`,
|
|
45
|
-
left: `${n}px`,
|
|
46
|
-
zIndex: "var(--nb-zindex-menu)"
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
}));
|
|
50
|
-
}
|
|
51
|
-
function z() {
|
|
52
|
-
if (W(), !j.value) return;
|
|
53
|
-
let e = !!A.value?.contains(document.activeElement);
|
|
54
|
-
j.value = !1, e && k.value?.focus();
|
|
55
|
-
}
|
|
56
|
-
function B() {
|
|
57
|
-
return A.value ? Array.from(A.value.querySelectorAll("[role=\"menuitem\"], [role=\"menuitemcheckbox\"], [role=\"menuitemradio\"]")) : [];
|
|
58
|
-
}
|
|
59
|
-
function V(e, t) {
|
|
60
|
-
let n = B();
|
|
61
|
-
for (let r = e; r >= 0 && r < n.length; r += t) if (n[r].getAttribute("aria-disabled") !== "true") {
|
|
62
|
-
n[r].focus();
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
function H() {
|
|
67
|
-
O.disabled || (R(), f(() => V(0, 1)));
|
|
68
|
-
}
|
|
69
|
-
function U(e) {
|
|
70
|
-
let t = B().indexOf(document.activeElement);
|
|
71
|
-
e.key === "ArrowDown" ? (e.preventDefault(), e.stopPropagation(), V(t + 1, 1)) : e.key === "ArrowUp" ? (e.preventDefault(), e.stopPropagation(), t > 0 && V(t - 1, -1)) : e.key === "ArrowLeft" || e.key === "Escape" ? (e.preventDefault(), e.stopPropagation(), z()) : e.key === "Tab" && (z(), M?.close());
|
|
72
|
-
}
|
|
73
|
-
x(A, (e, t) => {
|
|
74
|
-
t && M?.unregisterSurface(t), e && M?.registerSurface(e);
|
|
75
|
-
});
|
|
76
|
-
function W() {
|
|
77
|
-
N &&= (clearTimeout(N), null), P &&= (clearTimeout(P), null);
|
|
78
|
-
}
|
|
79
|
-
function G() {
|
|
80
|
-
W(), N = setTimeout(R, 150);
|
|
81
|
-
}
|
|
82
|
-
function K() {
|
|
83
|
-
W(), P = setTimeout(z, 150);
|
|
84
|
-
}
|
|
85
|
-
function q() {
|
|
86
|
-
W();
|
|
87
|
-
}
|
|
88
|
-
function J() {
|
|
89
|
-
W(), P = setTimeout(z, 150);
|
|
90
|
-
}
|
|
91
|
-
function Y() {
|
|
92
|
-
O.disabled || (j.value ? z() : R());
|
|
93
|
-
}
|
|
94
|
-
return h(() => {
|
|
95
|
-
W(), A.value && M?.unregisterSurface(A.value);
|
|
96
|
-
}), (i, d) => (g(), s(t, null, [c("li", {
|
|
97
|
-
ref_key: "triggerRef",
|
|
98
|
-
ref: k,
|
|
99
|
-
class: p(["nb-menu-item nb-submenu-trigger", {
|
|
100
|
-
"nb-menu-item--disabled": u.disabled,
|
|
101
|
-
"nb-menu-item--highlighted": j.value
|
|
102
|
-
}]),
|
|
103
|
-
role: "menuitem",
|
|
104
|
-
"aria-haspopup": "menu",
|
|
105
|
-
"aria-expanded": j.value,
|
|
106
|
-
"aria-disabled": u.disabled || void 0,
|
|
107
|
-
tabindex: -1,
|
|
108
|
-
onMouseenter: G,
|
|
109
|
-
onMouseleave: K,
|
|
110
|
-
onKeydown: [
|
|
111
|
-
C(w(H, ["prevent"]), ["right"]),
|
|
112
|
-
C(w(H, ["prevent"]), ["enter"]),
|
|
113
|
-
C(w(H, ["prevent"]), ["space"]),
|
|
114
|
-
C(w(z, ["prevent"]), ["left"]),
|
|
115
|
-
C(w(z, ["prevent"]), ["escape"])
|
|
116
|
-
],
|
|
117
|
-
onClick: Y
|
|
118
|
-
}, [
|
|
119
|
-
u.icon ? (g(), a(e, {
|
|
120
|
-
key: 0,
|
|
121
|
-
name: u.icon,
|
|
122
|
-
size: 16,
|
|
123
|
-
class: "nb-menu-item__icon"
|
|
124
|
-
}, null, 8, ["name"])) : o("", !0),
|
|
125
|
-
c("span", D, y(u.label), 1),
|
|
126
|
-
l(e, {
|
|
127
|
-
name: b(T),
|
|
128
|
-
size: 14,
|
|
129
|
-
class: "nb-submenu-trigger__caret"
|
|
130
|
-
}, null, 8, ["name"])
|
|
131
|
-
], 42, E), (g(), a(n, { to: "body" }, [l(r, { name: "nb-submenu" }, {
|
|
132
|
-
default: S(() => [j.value ? (g(), s("ul", {
|
|
133
|
-
key: 0,
|
|
134
|
-
ref_key: "submenuRef",
|
|
135
|
-
ref: A,
|
|
136
|
-
role: "menu",
|
|
137
|
-
class: p(["nb-menu nb-submenu", [F.value]]),
|
|
138
|
-
style: m(I.value),
|
|
139
|
-
onMouseenter: q,
|
|
140
|
-
onMouseleave: J,
|
|
141
|
-
onKeydown: U
|
|
142
|
-
}, [v(i.$slots, "default")], 38)) : o("", !0)]),
|
|
143
|
-
_: 3
|
|
144
|
-
})]))], 64));
|
|
145
|
-
}
|
|
146
|
-
});
|
|
147
|
-
//#endregion
|
|
148
|
-
export { O as t };
|
package/dist/Tabs-B5crovQe.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./Icon-C8R_r_In.cjs`),n=require(`./composables/useStableId.composable.cjs`),r=require(`./Badge-ouVFB318.cjs`),i=require(`./utils/slotContent.helper.cjs`);let a=require(`vue`);var o=function(e){return e.Line=`line`,e.Contained=`contained`,e}(o||{}),s=function(e){return e.Small=`sm`,e.Medium=`md`,e.Large=`lg`,e}(s||{}),c=[`aria-label`],l=[`id`,`data-tab-id`,`aria-selected`,`aria-controls`,`tabindex`,`disabled`,`onClick`],u={class:`nb-tabs__label`},d=[`id`,`aria-labelledby`],f=(0,a.defineComponent)({__name:`Tabs`,props:{items:{},ariaLabel:{default:void 0},modelValue:{default:void 0},variant:{default:o.Line},size:{default:s.Medium},disabled:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},id:{default:void 0}},emits:[`update:modelValue`,`change`],setup(e,{emit:o}){let f=e,p=o,m=(0,a.useSlots)(),h=n.useStableId(f),g=(0,a.ref)(null),_=(0,a.computed)(()=>f.items.filter(e=>!S(e))),v=(0,a.ref)(f.modelValue??_.value[0]?.id);(0,a.watch)(()=>f.modelValue,e=>{e!=null&&(v.value=e)});let y=(0,a.computed)(()=>{let e=f.modelValue??v.value,t=f.items.find(t=>t.id===e);return t&&!S(t)?t.id:_.value[0]?.id}),b=(0,a.computed)(()=>f.size===s.Large?18:16),x=(0,a.computed)(()=>[`nb-tabs`,`nb-tabs--${f.variant}`,`nb-tabs--${f.size}`,{"nb-tabs--full-width":f.fullWidth,"nb-tabs--disabled":f.disabled}]);function S(e){return f.disabled||!!e.disabled}function C(e){return`${h}-tab-${e}`}function w(e){return`${h}-panel-${e}`}function T(e){return i.hasSlotContent(m,e)}function E(e){S(e)||e.id===y.value||(v.value=e.id,p(`update:modelValue`,e.id),p(`change`,e.id,e))}function D(e){(g.value?.querySelectorAll(`[data-tab-id]`))?.forEach(t=>{t.dataset.tabId===e&&t.focus()})}function O(e){let t=_.value;if(!t.length)return;let n=t[(t.findIndex(e=>e.id===y.value)+e+t.length)%t.length];E(n),D(n.id)}function k(e){e&&(E(e),D(e.id))}function A(e){switch(e.key){case`ArrowRight`:O(1);break;case`ArrowLeft`:O(-1);break;case`Home`:k(_.value[0]);break;case`End`:k(_.value[_.value.length-1]);break;default:return}e.preventDefault()}return(n,i)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{class:(0,a.normalizeClass)(x.value)},[(0,a.createElementVNode)(`div`,{ref_key:`listRef`,ref:g,class:`nb-tabs__list`,role:`tablist`,"aria-label":e.ariaLabel||void 0,onKeydown:A},[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(e.items,e=>((0,a.openBlock)(),(0,a.createElementBlock)(`button`,{id:C(e.id),key:e.id,"data-tab-id":e.id,type:`button`,role:`tab`,class:(0,a.normalizeClass)([`nb-tabs__tab`,{"nb-tabs__tab--active":e.id===y.value}]),"aria-selected":e.id===y.value,"aria-controls":T(e.id)?w(e.id):void 0,tabindex:e.id===y.value?0:-1,disabled:S(e),onClick:t=>E(e)},[e.icon?((0,a.openBlock)(),(0,a.createBlock)(t.t,{key:0,name:e.icon,size:b.value,class:`nb-tabs__icon`},null,8,[`name`,`size`])):(0,a.createCommentVNode)(``,!0),(0,a.createElementVNode)(`span`,u,(0,a.toDisplayString)(e.label),1),e.badge==null?(0,a.createCommentVNode)(``,!0):((0,a.openBlock)(),(0,a.createBlock)(r.t,{key:1,size:`sm`,class:`nb-tabs__badge`},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.badge),1)]),_:2},1024))],10,l))),128))],40,c),((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(e.items,e=>((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:`panel-${e.id}`},[e.id===y.value&&T(e.id)?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:0,id:w(e.id),class:`nb-tabs__panel`,role:`tabpanel`,"aria-labelledby":C(e.id),tabindex:`0`},[(0,a.renderSlot)(n.$slots,e.id,{item:e},void 0,!0)],8,d)):(0,a.createCommentVNode)(``,!0)],64))),128))],2))}}),p=e.t(f,[[`__scopeId`,`data-v-84dd1ef0`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
|