@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
|
@@ -1,569 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./Icon-rREAqsu0.js";
|
|
2
|
-
import { t } from "./EmptyState-xU5I0laM.js";
|
|
3
|
-
import { t as n } from "./Button-BAfC7ySK.js";
|
|
4
|
-
import { t as r } from "./Spinner-DpldXeXq.js";
|
|
5
|
-
import { t as i } from "./Skeleton-3N9uC9k_.js";
|
|
6
|
-
import { t as a } from "./NotificationCenterItem-yqlKqwI2.js";
|
|
7
|
-
import { Fragment as o, Teleport as s, Transition as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as ee, createTextVNode as te, createVNode as m, defineComponent as h, mergeProps as ne, nextTick as g, normalizeClass as re, normalizeStyle as _, onBeforeUnmount as ie, openBlock as v, ref as y, renderList as ae, renderSlot as b, toDisplayString as x, unref as oe, useId as se, useSlots as ce, watch as S, withCtx as C } from "vue";
|
|
8
|
-
import { regular as le } from "@nubisco/ui/icons/warning-circle";
|
|
9
|
-
import * as ue from "@nubisco/ui/icons/bell";
|
|
10
|
-
//#region src/components/NotificationCenter.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
-
var de = {
|
|
12
|
-
key: 0,
|
|
13
|
-
class: "nb-notification-center__badge",
|
|
14
|
-
"aria-hidden": "true"
|
|
15
|
-
}, fe = ["aria-describedby", "aria-busy"], pe = { class: "nb-notification-center__header" }, me = {
|
|
16
|
-
class: "nb-notification-center__sr",
|
|
17
|
-
role: "status"
|
|
18
|
-
}, he = { class: "nb-notification-center__stale-text" }, ge = { class: "nb-notification-center__sr" }, _e = ["tabindex"], ve = {
|
|
19
|
-
key: 4,
|
|
20
|
-
class: "nb-notification-center__empty"
|
|
21
|
-
}, ye = {
|
|
22
|
-
key: 5,
|
|
23
|
-
class: "nb-notification-center__footer"
|
|
24
|
-
}, w = /* @__PURE__ */ new Set(), T = 8, E = 8, D = 96, O = 88, k = 200;
|
|
25
|
-
function be(e, { align: t, side: n, width: r, maxHeight: i, viewport: a }) {
|
|
26
|
-
let o = e.left + e.width;
|
|
27
|
-
if (n === "right" && a.width - o - T - E >= r) {
|
|
28
|
-
let n = e.top + e.height, r = t === "end" ? n - E : a.height - e.top - E, s = Math.max(O + D, r), c = Math.min(i + D, s), l = Math.max(O, Math.min(i, s - D));
|
|
29
|
-
return t === "end" ? {
|
|
30
|
-
top: Math.max(E, n - c),
|
|
31
|
-
bottom: Math.max(E, a.height - n),
|
|
32
|
-
left: o + T,
|
|
33
|
-
side: "right",
|
|
34
|
-
maxListHeight: l
|
|
35
|
-
} : {
|
|
36
|
-
top: Math.max(E, Math.min(e.top, a.height - E - c)),
|
|
37
|
-
left: o + T,
|
|
38
|
-
side: "right",
|
|
39
|
-
maxListHeight: l
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
let s = t === "start" ? e.left : e.left + e.width - r, c = Math.min(Math.max(s, E), Math.max(E, a.width - r - E)), l = e.top + e.height, u = a.height - l - T - E, d = e.top - T - E, f = u < k && d > u ? "top" : "bottom", p = Math.max(O, f === "top" ? d : u), ee = Math.max(O, Math.min(i, p - D)), te = Math.min(i + D, p);
|
|
43
|
-
return {
|
|
44
|
-
top: f === "top" ? Math.max(E, e.top - T - te) : l + T,
|
|
45
|
-
left: c,
|
|
46
|
-
side: f,
|
|
47
|
-
maxListHeight: ee
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
function xe(e, t) {
|
|
51
|
-
return e.left <= t.width && e.left + e.width >= 0 && e.top <= t.height && e.top + e.height >= 0;
|
|
52
|
-
}
|
|
53
|
-
//#endregion
|
|
54
|
-
//#region src/components/NotificationCenter.vue
|
|
55
|
-
var A = /* @__PURE__ */ h({
|
|
56
|
-
__name: "NotificationCenter",
|
|
57
|
-
props: {
|
|
58
|
-
items: { default: () => [] },
|
|
59
|
-
unreadCount: { default: void 0 },
|
|
60
|
-
itemCount: { default: void 0 },
|
|
61
|
-
open: {
|
|
62
|
-
type: Boolean,
|
|
63
|
-
default: void 0
|
|
64
|
-
},
|
|
65
|
-
label: { default: "Notifications" },
|
|
66
|
-
markAllLabel: { default: "Mark all as read" },
|
|
67
|
-
markAllPendingLabel: { default: "Marking all as read" },
|
|
68
|
-
markAllPending: {
|
|
69
|
-
type: Boolean,
|
|
70
|
-
default: !1
|
|
71
|
-
},
|
|
72
|
-
emptyTitle: { default: "No notifications" },
|
|
73
|
-
emptyDescription: { default: "New activity shows up here." },
|
|
74
|
-
loadingLabel: { default: "Loading notifications" },
|
|
75
|
-
loading: {
|
|
76
|
-
type: Boolean,
|
|
77
|
-
default: !1
|
|
78
|
-
},
|
|
79
|
-
error: {
|
|
80
|
-
type: Boolean,
|
|
81
|
-
default: !1
|
|
82
|
-
},
|
|
83
|
-
errorTitle: { default: "Could not load notifications" },
|
|
84
|
-
errorDescription: { default: "The request failed. Nothing has been lost." },
|
|
85
|
-
errorStaleLabel: { default: "These may be out of date." },
|
|
86
|
-
retryLabel: { default: "Try again" },
|
|
87
|
-
showRetry: {
|
|
88
|
-
type: Boolean,
|
|
89
|
-
default: !0
|
|
90
|
-
},
|
|
91
|
-
maxCount: { default: 99 },
|
|
92
|
-
width: { default: 360 },
|
|
93
|
-
maxHeight: { default: 384 },
|
|
94
|
-
align: { default: "end" },
|
|
95
|
-
side: { default: "vertical" },
|
|
96
|
-
showMarkAll: {
|
|
97
|
-
type: Boolean,
|
|
98
|
-
default: !0
|
|
99
|
-
},
|
|
100
|
-
interactive: {
|
|
101
|
-
type: Boolean,
|
|
102
|
-
default: !0
|
|
103
|
-
},
|
|
104
|
-
closeOnSelect: {
|
|
105
|
-
type: Boolean,
|
|
106
|
-
default: !0
|
|
107
|
-
},
|
|
108
|
-
closeOnNavigate: {
|
|
109
|
-
type: Boolean,
|
|
110
|
-
default: !0
|
|
111
|
-
},
|
|
112
|
-
disabled: {
|
|
113
|
-
type: Boolean,
|
|
114
|
-
default: !1
|
|
115
|
-
},
|
|
116
|
-
icon: { default: void 0 },
|
|
117
|
-
locale: { default: void 0 },
|
|
118
|
-
unreadLabel: { default: "Unread" },
|
|
119
|
-
readLabel: { default: "Read" },
|
|
120
|
-
formatUnread: {
|
|
121
|
-
type: Function,
|
|
122
|
-
default: (e) => e === 1 ? "1 unread" : `${e} unread`
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
emits: [
|
|
126
|
-
"update:open",
|
|
127
|
-
"open",
|
|
128
|
-
"close",
|
|
129
|
-
"select",
|
|
130
|
-
"mark-all-read",
|
|
131
|
-
"retry"
|
|
132
|
-
],
|
|
133
|
-
setup(h, { expose: T, emit: E }) {
|
|
134
|
-
let D = h, O = l(() => D.icon ?? ue), k = E, A = ce(), j = `nb-notification-center-${se()}`, Se = `${j}-title`, Ce = `${j}-trigger`, M = `${j}-error`, N = y(null), we = y(null), P = y(null), F = y(null), Te = y(!1), I = l(() => D.open === void 0 ? Te.value : D.open), L = l(() => typeof D.unreadCount == "number" ? Math.max(0, D.unreadCount) : D.items.filter((e) => !e.read).length), Ee = l(() => L.value > D.maxCount ? `${D.maxCount}+` : String(L.value)), De = l(() => L.value > 0 ? `${D.label}, ${D.formatUnread(L.value)}` : D.label), Oe = l(() => {
|
|
135
|
-
if (typeof D.itemCount == "number") return Math.max(0, D.itemCount);
|
|
136
|
-
if (!A.default) return D.items.length;
|
|
137
|
-
}), ke = l(() => (Oe.value ?? 0) > 0), R = l(() => {
|
|
138
|
-
if (D.loading) return "loading";
|
|
139
|
-
let e = Oe.value;
|
|
140
|
-
return D.error && (e === void 0 || e === 0) ? "error" : e === void 0 || e > 0 ? "list" : "empty";
|
|
141
|
-
}), Ae = l(() => D.error && !D.loading && R.value === "list" && ke.value);
|
|
142
|
-
y(!1), S(() => [
|
|
143
|
-
I.value,
|
|
144
|
-
!!A.default,
|
|
145
|
-
D.itemCount
|
|
146
|
-
], ([e, t, n]) => {}, { immediate: !0 });
|
|
147
|
-
function z() {
|
|
148
|
-
k("retry");
|
|
149
|
-
}
|
|
150
|
-
let je = l(() => ({
|
|
151
|
-
id: Ce,
|
|
152
|
-
"aria-haspopup": "dialog",
|
|
153
|
-
"aria-expanded": I.value ? "true" : "false",
|
|
154
|
-
"aria-controls": I.value ? j : void 0,
|
|
155
|
-
"aria-label": De.value,
|
|
156
|
-
disabled: D.disabled || void 0
|
|
157
|
-
})), Me = l(() => ({
|
|
158
|
-
type: "button",
|
|
159
|
-
disabled: L.value === 0 && !D.markAllPending,
|
|
160
|
-
"aria-disabled": D.markAllPending ? "true" : void 0,
|
|
161
|
-
"aria-busy": D.markAllPending ? "true" : void 0,
|
|
162
|
-
onClick: $e
|
|
163
|
-
})), Ne = l(() => Ae.value || R.value === "error" ? M : void 0);
|
|
164
|
-
function Pe(e) {
|
|
165
|
-
if (!e) {
|
|
166
|
-
P.value = null;
|
|
167
|
-
return;
|
|
168
|
-
}
|
|
169
|
-
let t = e instanceof HTMLElement ? e : e.$el;
|
|
170
|
-
P.value = t instanceof HTMLElement ? t : null;
|
|
171
|
-
}
|
|
172
|
-
let B = y({
|
|
173
|
-
top: 0,
|
|
174
|
-
left: 0,
|
|
175
|
-
side: "bottom",
|
|
176
|
-
maxListHeight: D.maxHeight
|
|
177
|
-
});
|
|
178
|
-
function Fe() {
|
|
179
|
-
return {
|
|
180
|
-
width: window.innerWidth,
|
|
181
|
-
height: window.innerHeight
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
function V() {
|
|
185
|
-
let e = N.value?.getBoundingClientRect();
|
|
186
|
-
e && (B.value = be(e, {
|
|
187
|
-
align: D.align,
|
|
188
|
-
side: D.side,
|
|
189
|
-
width: D.width,
|
|
190
|
-
maxHeight: D.maxHeight,
|
|
191
|
-
viewport: Fe()
|
|
192
|
-
}));
|
|
193
|
-
}
|
|
194
|
-
let Ie = l(() => B.value.bottom === void 0 ? {
|
|
195
|
-
top: `${Math.round(B.value.top)}px`,
|
|
196
|
-
left: `${Math.round(B.value.left)}px`,
|
|
197
|
-
width: `${D.width}px`
|
|
198
|
-
} : {
|
|
199
|
-
bottom: `${Math.round(B.value.bottom)}px`,
|
|
200
|
-
left: `${Math.round(B.value.left)}px`,
|
|
201
|
-
width: `${D.width}px`
|
|
202
|
-
}), Le = l(() => ({ maxHeight: `${Math.round(B.value.maxListHeight)}px` })), Re = l(() => ({
|
|
203
|
-
"nb-notification-center__panel--start": D.align === "start",
|
|
204
|
-
"nb-notification-center__panel--above": B.value.side === "top",
|
|
205
|
-
"nb-notification-center__panel--beside": B.value.side === "right"
|
|
206
|
-
}));
|
|
207
|
-
function ze(e) {
|
|
208
|
-
D.open === void 0 && (Te.value = e), k("update:open", e);
|
|
209
|
-
}
|
|
210
|
-
function H() {
|
|
211
|
-
D.disabled || I.value || (V(), ze(!0), k("open"));
|
|
212
|
-
}
|
|
213
|
-
function U(e = {}) {
|
|
214
|
-
if (!I.value) return;
|
|
215
|
-
let t = F.value?.contains(document.activeElement);
|
|
216
|
-
ze(!1), k("close"), (e.restoreFocus ?? t) && g(Be);
|
|
217
|
-
}
|
|
218
|
-
function Be() {
|
|
219
|
-
let e = P.value;
|
|
220
|
-
if (e?.isConnected) {
|
|
221
|
-
e.focus();
|
|
222
|
-
return;
|
|
223
|
-
}
|
|
224
|
-
(N.value?.querySelector(Y))?.focus();
|
|
225
|
-
}
|
|
226
|
-
function W() {
|
|
227
|
-
I.value ? U({ restoreFocus: !0 }) : H();
|
|
228
|
-
}
|
|
229
|
-
let G = y(0), Ve = new Set([
|
|
230
|
-
"button",
|
|
231
|
-
"link",
|
|
232
|
-
"menuitem",
|
|
233
|
-
"option"
|
|
234
|
-
]);
|
|
235
|
-
function He(e) {
|
|
236
|
-
if (e.tagName === "BUTTON") return !e.hasAttribute("disabled");
|
|
237
|
-
if (e.tagName === "A") return e.hasAttribute("href");
|
|
238
|
-
let t = e.getAttribute("role");
|
|
239
|
-
return t !== null && Ve.has(t);
|
|
240
|
-
}
|
|
241
|
-
function K() {
|
|
242
|
-
return F.value ? Array.from(F.value.querySelectorAll("[data-nb-notification-item]")).filter((e) => !!He(e)) : [];
|
|
243
|
-
}
|
|
244
|
-
let Ue = y(void 0);
|
|
245
|
-
function We(e) {
|
|
246
|
-
let t = we.value;
|
|
247
|
-
Ue.value = t && t.childElementCount > 0 && e.length === 0 ? 0 : void 0;
|
|
248
|
-
}
|
|
249
|
-
function q(e) {
|
|
250
|
-
let t = K();
|
|
251
|
-
We(t), t.length && (G.value = Math.min(Math.max(e, 0), t.length - 1), t.forEach((e, t) => {
|
|
252
|
-
e.setAttribute("tabindex", t === G.value ? "0" : "-1");
|
|
253
|
-
}));
|
|
254
|
-
}
|
|
255
|
-
function J(e) {
|
|
256
|
-
let t = K();
|
|
257
|
-
if (!t.length) return !1;
|
|
258
|
-
let n = Math.min(Math.max(e, 0), t.length - 1);
|
|
259
|
-
return q(n), t[n]?.focus(), !0;
|
|
260
|
-
}
|
|
261
|
-
function Ge(e) {
|
|
262
|
-
let t = e.target?.closest("[data-nb-notification-item]");
|
|
263
|
-
if (!t) return;
|
|
264
|
-
let n = K().indexOf(t);
|
|
265
|
-
n >= 0 && q(n);
|
|
266
|
-
}
|
|
267
|
-
let Y = "a[href]:not([tabindex=\"-1\"]), button:not([disabled]):not([tabindex=\"-1\"]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex=\"0\"]";
|
|
268
|
-
function Ke(e) {
|
|
269
|
-
return !!e?.closest?.("input, textarea, select, [contenteditable=\"\"], [contenteditable=\"true\"]");
|
|
270
|
-
}
|
|
271
|
-
function qe(e) {
|
|
272
|
-
let t = K(), n = e.target?.closest("[data-nb-notification-item]"), r = n ? t.indexOf(n) : -1;
|
|
273
|
-
if (e.key === "Escape") {
|
|
274
|
-
if (!Je(e)) return;
|
|
275
|
-
e.preventDefault(), e.stopPropagation(), U({ restoreFocus: !0 });
|
|
276
|
-
return;
|
|
277
|
-
}
|
|
278
|
-
if (e.key === "Tab") {
|
|
279
|
-
Ye(e);
|
|
280
|
-
return;
|
|
281
|
-
}
|
|
282
|
-
if (!Ke(e.target)) switch (e.key) {
|
|
283
|
-
case "ArrowDown":
|
|
284
|
-
J(r < 0 ? 0 : r + 1) && e.preventDefault();
|
|
285
|
-
break;
|
|
286
|
-
case "ArrowUp":
|
|
287
|
-
J(r < 0 ? t.length - 1 : r - 1) && e.preventDefault();
|
|
288
|
-
break;
|
|
289
|
-
case "Home":
|
|
290
|
-
r >= 0 && (e.preventDefault(), J(0));
|
|
291
|
-
break;
|
|
292
|
-
case "End":
|
|
293
|
-
r >= 0 && (e.preventDefault(), J(t.length - 1));
|
|
294
|
-
break;
|
|
295
|
-
default: break;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
function Je(e) {
|
|
299
|
-
if (e.defaultPrevented) return !1;
|
|
300
|
-
let t = (e.target ?? document.activeElement)?.closest?.("[aria-modal=\"true\"]");
|
|
301
|
-
return !(t && t !== F.value);
|
|
302
|
-
}
|
|
303
|
-
function Ye(e) {
|
|
304
|
-
let t = F.value;
|
|
305
|
-
if (!t) return;
|
|
306
|
-
let n = Array.from(t.querySelectorAll(Y)), r = document.activeElement, i = n[0], a = n[n.length - 1], o = !n.length || r === i || !t.contains(r), s = !n.length || r === a;
|
|
307
|
-
if (e.shiftKey ? !o : !s) return;
|
|
308
|
-
e.preventDefault();
|
|
309
|
-
let c = e.shiftKey ? P.value : Xe();
|
|
310
|
-
U({ restoreFocus: !1 }), g(() => {
|
|
311
|
-
c?.isConnected ? c.focus() : Be();
|
|
312
|
-
});
|
|
313
|
-
}
|
|
314
|
-
function Xe() {
|
|
315
|
-
let e = P.value;
|
|
316
|
-
if (!e) return null;
|
|
317
|
-
let t = Array.from(document.querySelectorAll(Y)).filter((e) => !F.value?.contains(e)).filter((e) => e.tabIndex >= 0), n = t.indexOf(e);
|
|
318
|
-
return n < 0 ? null : t[n + 1] ?? null;
|
|
319
|
-
}
|
|
320
|
-
function Ze(e, t) {
|
|
321
|
-
k("select", e, t), D.closeOnSelect && U({ restoreFocus: !1 });
|
|
322
|
-
}
|
|
323
|
-
function Qe(e) {
|
|
324
|
-
if (!A.default) return;
|
|
325
|
-
let t = e.target?.closest("[data-nb-notification-item]");
|
|
326
|
-
if (t && He(t)) {
|
|
327
|
-
if (e.type === "keydown") {
|
|
328
|
-
let n = e.key;
|
|
329
|
-
if (n !== "Enter" && n !== " " || t.tagName === "BUTTON" || t.tagName === "A") return;
|
|
330
|
-
e.preventDefault();
|
|
331
|
-
}
|
|
332
|
-
k("select", null, e), D.closeOnSelect && U({ restoreFocus: !1 });
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
function $e() {
|
|
336
|
-
D.markAllPending || k("mark-all-read");
|
|
337
|
-
}
|
|
338
|
-
function et(e) {
|
|
339
|
-
let t = e.target;
|
|
340
|
-
N.value?.contains(t) || F.value?.contains(t) || U({ restoreFocus: !1 });
|
|
341
|
-
}
|
|
342
|
-
function tt(e) {
|
|
343
|
-
e.key === "Escape" && (F.value?.contains(document.activeElement) || Je(e) && U({ restoreFocus: N.value?.contains(document.activeElement) ?? !1 }));
|
|
344
|
-
}
|
|
345
|
-
let X = 0;
|
|
346
|
-
function Z() {
|
|
347
|
-
!I.value || X || (X = requestAnimationFrame(() => {
|
|
348
|
-
X = 0, rt();
|
|
349
|
-
}));
|
|
350
|
-
}
|
|
351
|
-
function nt() {
|
|
352
|
-
X &&= (cancelAnimationFrame(X), 0);
|
|
353
|
-
}
|
|
354
|
-
function rt() {
|
|
355
|
-
if (!I.value) return;
|
|
356
|
-
let e = N.value?.getBoundingClientRect();
|
|
357
|
-
if (e && !xe(e, Fe())) {
|
|
358
|
-
U({ restoreFocus: !1 });
|
|
359
|
-
return;
|
|
360
|
-
}
|
|
361
|
-
V();
|
|
362
|
-
}
|
|
363
|
-
function Q() {
|
|
364
|
-
D.closeOnNavigate && U({ restoreFocus: !1 });
|
|
365
|
-
}
|
|
366
|
-
function it() {
|
|
367
|
-
return window.navigation;
|
|
368
|
-
}
|
|
369
|
-
function at() {
|
|
370
|
-
document.addEventListener("mousedown", et), document.addEventListener("keydown", tt), window.addEventListener("resize", Z), window.addEventListener("scroll", Z, !0), window.addEventListener("popstate", Q), window.addEventListener("hashchange", Q), it()?.addEventListener("navigate", Q);
|
|
371
|
-
}
|
|
372
|
-
function ot() {
|
|
373
|
-
nt(), document.removeEventListener("mousedown", et), document.removeEventListener("keydown", tt), window.removeEventListener("resize", Z), window.removeEventListener("scroll", Z, !0), window.removeEventListener("popstate", Q), window.removeEventListener("hashchange", Q), it()?.removeEventListener("navigate", Q);
|
|
374
|
-
}
|
|
375
|
-
let $ = () => U({ restoreFocus: !1 });
|
|
376
|
-
return S(I, (e) => {
|
|
377
|
-
if (e) {
|
|
378
|
-
for (let e of [...w]) e !== $ && e();
|
|
379
|
-
w.add($), at(), g(() => {
|
|
380
|
-
V(), q(0), J(0) || F.value?.focus();
|
|
381
|
-
});
|
|
382
|
-
} else w.delete($), ot(), G.value = 0;
|
|
383
|
-
}), S(() => [D.items.length, R.value], () => {
|
|
384
|
-
I.value && g(() => q(G.value));
|
|
385
|
-
}), ie(() => {
|
|
386
|
-
ot(), w.delete($);
|
|
387
|
-
let e = F.value;
|
|
388
|
-
e?.isConnected && e.remove();
|
|
389
|
-
}), T({
|
|
390
|
-
show: H,
|
|
391
|
-
close: U,
|
|
392
|
-
toggle: W,
|
|
393
|
-
isOpen: I,
|
|
394
|
-
unreadCount: L
|
|
395
|
-
}), (l, g) => (v(), f("div", {
|
|
396
|
-
ref_key: "rootRef",
|
|
397
|
-
ref: N,
|
|
398
|
-
class: "nb-notification-center"
|
|
399
|
-
}, [b(l.$slots, "trigger", {
|
|
400
|
-
open: I.value,
|
|
401
|
-
toggle: W,
|
|
402
|
-
show: H,
|
|
403
|
-
close: U,
|
|
404
|
-
unreadCount: L.value,
|
|
405
|
-
badge: Ee.value,
|
|
406
|
-
panelId: j,
|
|
407
|
-
triggerProps: je.value,
|
|
408
|
-
setTriggerRef: Pe
|
|
409
|
-
}, () => [p("button", ne({
|
|
410
|
-
ref: Pe,
|
|
411
|
-
type: "button",
|
|
412
|
-
class: ["nb-notification-center__trigger", { "nb-notification-center__trigger--active": I.value }]
|
|
413
|
-
}, je.value, { onClick: W }), [m(e, {
|
|
414
|
-
name: O.value,
|
|
415
|
-
size: 18
|
|
416
|
-
}, null, 8, ["name"]), L.value > 0 ? (v(), f("span", de, x(Ee.value), 1)) : d("", !0)], 16)]), (v(), u(s, { to: "body" }, [m(c, { name: "nb-notification-center-pop" }, {
|
|
417
|
-
default: C(() => [I.value ? (v(), f("div", {
|
|
418
|
-
key: 0,
|
|
419
|
-
id: j,
|
|
420
|
-
ref_key: "panelRef",
|
|
421
|
-
ref: F,
|
|
422
|
-
class: re(["nb-notification-center__panel", Re.value]),
|
|
423
|
-
style: _(Ie.value),
|
|
424
|
-
role: "dialog",
|
|
425
|
-
tabindex: "-1",
|
|
426
|
-
"aria-labelledby": Se,
|
|
427
|
-
"aria-describedby": Ne.value,
|
|
428
|
-
"aria-busy": h.loading ? "true" : void 0,
|
|
429
|
-
onKeydown: qe,
|
|
430
|
-
onFocusin: Ge
|
|
431
|
-
}, [
|
|
432
|
-
p("div", pe, [
|
|
433
|
-
p("h2", {
|
|
434
|
-
id: Se,
|
|
435
|
-
class: "nb-notification-center__title"
|
|
436
|
-
}, x(h.label), 1),
|
|
437
|
-
b(l.$slots, "header-start", {
|
|
438
|
-
close: U,
|
|
439
|
-
unreadCount: L.value
|
|
440
|
-
}),
|
|
441
|
-
b(l.$slots, "header-actions", {
|
|
442
|
-
close: U,
|
|
443
|
-
unreadCount: L.value,
|
|
444
|
-
markAllRead: $e,
|
|
445
|
-
markAllPending: h.markAllPending,
|
|
446
|
-
markAllProps: Me.value,
|
|
447
|
-
markAllText: h.markAllPending ? h.markAllPendingLabel : h.markAllLabel
|
|
448
|
-
}, () => [h.showMarkAll ? (v(), f("button", ne({
|
|
449
|
-
key: 0,
|
|
450
|
-
class: "nb-notification-center__mark-all"
|
|
451
|
-
}, Me.value), [h.markAllPending ? (v(), u(r, {
|
|
452
|
-
key: 0,
|
|
453
|
-
size: "xs",
|
|
454
|
-
tone: "inherit",
|
|
455
|
-
decorative: ""
|
|
456
|
-
})) : d("", !0), te(" " + x(h.markAllPending ? h.markAllPendingLabel : h.markAllLabel), 1)], 16)) : d("", !0)])
|
|
457
|
-
]),
|
|
458
|
-
p("span", me, x(h.markAllPending ? h.markAllPendingLabel : ""), 1),
|
|
459
|
-
Ae.value ? (v(), f("div", {
|
|
460
|
-
key: 0,
|
|
461
|
-
id: M,
|
|
462
|
-
class: "nb-notification-center__stale",
|
|
463
|
-
role: "status"
|
|
464
|
-
}, [
|
|
465
|
-
m(e, {
|
|
466
|
-
name: oe(le),
|
|
467
|
-
size: 14,
|
|
468
|
-
"aria-hidden": "true"
|
|
469
|
-
}, null, 8, ["name"]),
|
|
470
|
-
p("span", he, x(h.errorStaleLabel), 1),
|
|
471
|
-
h.showRetry ? (v(), f("button", {
|
|
472
|
-
key: 0,
|
|
473
|
-
type: "button",
|
|
474
|
-
class: "nb-notification-center__retry",
|
|
475
|
-
onClick: z
|
|
476
|
-
}, x(h.retryLabel), 1)) : d("", !0)
|
|
477
|
-
])) : d("", !0),
|
|
478
|
-
R.value === "loading" ? (v(), f("div", {
|
|
479
|
-
key: 1,
|
|
480
|
-
class: "nb-notification-center__loading",
|
|
481
|
-
role: "status",
|
|
482
|
-
style: _(Le.value)
|
|
483
|
-
}, [p("span", ge, x(h.loadingLabel), 1), (v(), f(o, null, ae(3, (e) => m(i, {
|
|
484
|
-
key: e,
|
|
485
|
-
variant: "text",
|
|
486
|
-
type: "body-sm",
|
|
487
|
-
lines: 2,
|
|
488
|
-
"last-line-width": "60%"
|
|
489
|
-
})), 64))], 4)) : R.value === "error" ? (v(), f("div", {
|
|
490
|
-
key: 2,
|
|
491
|
-
id: M,
|
|
492
|
-
class: "nb-notification-center__error",
|
|
493
|
-
role: "alert"
|
|
494
|
-
}, [b(l.$slots, "error", { retry: z }, () => [m(t, {
|
|
495
|
-
size: "sm",
|
|
496
|
-
kind: "error",
|
|
497
|
-
title: h.errorTitle,
|
|
498
|
-
description: h.errorDescription
|
|
499
|
-
}, ee({ _: 2 }, [h.showRetry ? {
|
|
500
|
-
name: "actions",
|
|
501
|
-
fn: C(() => [m(n, {
|
|
502
|
-
size: "sm",
|
|
503
|
-
variant: "secondary",
|
|
504
|
-
onClick: z
|
|
505
|
-
}, {
|
|
506
|
-
default: C(() => [te(x(h.retryLabel), 1)]),
|
|
507
|
-
_: 1
|
|
508
|
-
})]),
|
|
509
|
-
key: "0"
|
|
510
|
-
} : void 0]), 1032, ["title", "description"])])])) : R.value === "list" ? (v(), f("ul", {
|
|
511
|
-
key: 3,
|
|
512
|
-
ref_key: "listRef",
|
|
513
|
-
ref: we,
|
|
514
|
-
class: "nb-notification-center__list",
|
|
515
|
-
role: "list",
|
|
516
|
-
tabindex: Ue.value,
|
|
517
|
-
style: _(Le.value),
|
|
518
|
-
onClick: Qe,
|
|
519
|
-
onKeydown: Qe
|
|
520
|
-
}, [b(l.$slots, "default", {
|
|
521
|
-
close: U,
|
|
522
|
-
items: h.items
|
|
523
|
-
}, () => [(v(!0), f(o, null, ae(h.items, (e) => (v(), u(a, {
|
|
524
|
-
key: e.id,
|
|
525
|
-
title: e.title,
|
|
526
|
-
body: e.body,
|
|
527
|
-
time: e.time,
|
|
528
|
-
"time-label": e.timeLabel,
|
|
529
|
-
read: e.read,
|
|
530
|
-
variant: e.variant ?? "neutral",
|
|
531
|
-
icon: e.icon,
|
|
532
|
-
href: e.href,
|
|
533
|
-
interactive: e.interactive ?? h.interactive,
|
|
534
|
-
locale: h.locale,
|
|
535
|
-
"unread-label": h.unreadLabel,
|
|
536
|
-
"read-label": h.readLabel,
|
|
537
|
-
onSelect: (t) => Ze(e, t)
|
|
538
|
-
}, null, 8, [
|
|
539
|
-
"title",
|
|
540
|
-
"body",
|
|
541
|
-
"time",
|
|
542
|
-
"time-label",
|
|
543
|
-
"read",
|
|
544
|
-
"variant",
|
|
545
|
-
"icon",
|
|
546
|
-
"href",
|
|
547
|
-
"interactive",
|
|
548
|
-
"locale",
|
|
549
|
-
"unread-label",
|
|
550
|
-
"read-label",
|
|
551
|
-
"onSelect"
|
|
552
|
-
]))), 128))])], 44, _e)) : R.value === "empty" ? (v(), f("div", ve, [b(l.$slots, "empty", {}, () => [m(t, {
|
|
553
|
-
size: "sm",
|
|
554
|
-
icon: O.value,
|
|
555
|
-
title: h.emptyTitle,
|
|
556
|
-
description: h.emptyDescription
|
|
557
|
-
}, null, 8, [
|
|
558
|
-
"icon",
|
|
559
|
-
"title",
|
|
560
|
-
"description"
|
|
561
|
-
])])])) : d("", !0),
|
|
562
|
-
l.$slots.footer ? (v(), f("div", ye, [b(l.$slots, "footer", { close: U })])) : d("", !0)
|
|
563
|
-
], 46, fe)) : d("", !0)]),
|
|
564
|
-
_: 3
|
|
565
|
-
})]))], 512));
|
|
566
|
-
}
|
|
567
|
-
});
|
|
568
|
-
//#endregion
|
|
569
|
-
export { A as t };
|
|
@@ -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`);let r=require(`vue`),i=require(`@nubisco/ui/icons/dots-six-vertical`);var a=[`aria-label`,`aria-describedby`],o=[`data-index`,`onPointerdown`],s=[`tabindex`,`aria-disabled`,`aria-label`,`onKeydown`,`onBlur`],c={class:`nb-reorder-list__content`},l=[`id`],u={class:`nb-reorder-list__sr`,"aria-live":`assertive`},d=(0,r.defineComponent)({__name:`ReorderList`,props:{modelValue:{default:()=>[]},itemKey:{type:[String,Function],default:void 0},handle:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},label:{default:``}},emits:[`update:modelValue`,`reorder`],setup(e,{emit:d}){let f=e,p=d,m=n.useStableId({}),h=(0,r.ref)(null),g=(0,r.computed)(()=>f.modelValue);function _(e,t){let n=f.itemKey;return typeof n==`function`?n(e,t):typeof n==`string`?e?.[n]:t}function v(e){let t=g.value[e];if(t&&typeof t==`object`){let e=t,n=e.label??e.name??e.title;if(typeof n==`string`)return n}return String(t??`Item ${e+1}`)}function y(e){let t=`${v(e)}, ${e+1} of ${g.value.length}`;return S.value===e?`${t}, picked up`:t}let b=(0,r.ref)(``);function x(e,t,n){if(e===t||e<0||t<0)return;let r=[...g.value],[i]=r.splice(e,1);r.splice(t,0,i),p(`update:modelValue`,r),p(`reorder`,{from:e,to:t,via:n}),b.value=`${v(e)} moved to position ${t+1} of ${r.length}`}let S=(0,r.ref)(null);function C(e,t){if(f.disabled)return;if(e.key===`Escape`&&S.value!==null){e.preventDefault(),S.value=null,b.value=`Move cancelled`;return}if(e.key===` `||e.key===`Enter`){e.preventDefault(),S.value===t?(S.value=null,b.value=`${v(t)} dropped at position ${t+1}`):(S.value=t,b.value=`${v(t)} picked up, position ${t+1} of ${g.value.length}`);return}let n=e.key===`ArrowUp`?-1:e.key===`ArrowDown`?1:0;if(!n)return;e.preventDefault();let r=t+n;r<0||r>=g.value.length||(S.value===t?(x(t,r,`keyboard`),S.value=r,w(r)):w(r))}async function w(e){await Promise.resolve(),(h.value?.querySelector(`[data-index="${e}"] .nb-reorder-list__grab`))?.focus()}function T(e){S.value===e&&(S.value=null)}let E=(0,r.ref)(null),D=(0,r.ref)(null);function O(e,t){if(f.disabled||e.button!==0)return;let n=e.target,r=!!n.closest(`.nb-reorder-list__grab`);f.handle&&!r||!r&&n.closest(`button, a, input, select, textarea`)||(S.value=null,E.value=t,D.value=t,A(),window.addEventListener(`pointermove`,M),window.addEventListener(`pointerup`,N))}let k=null;function A(){typeof document>`u`||k!==null||(k=document.body.style.userSelect,document.body.style.userSelect=`none`,document.body.style.setProperty(`-webkit-user-select`,`none`))}function j(){typeof document>`u`||k===null||(document.body.style.userSelect=k,document.body.style.removeProperty(`-webkit-user-select`),k=null)}function M(e){if(E.value===null||!h.value)return;let t=[...h.value.querySelectorAll(`[data-index]`)],n=t.length;for(let r of t){let t=r.getBoundingClientRect();if(e.clientY<t.top+t.height/2){n=Number(r.dataset.index);break}}D.value=n}function N(){let e=E.value,t=D.value;P(),!(e===null||t===null)&&x(e,t>e?t-1:t,`pointer`)}function P(){j(),E.value=null,D.value=null,window.removeEventListener(`pointermove`,M),window.removeEventListener(`pointerup`,N)}return(0,r.onBeforeUnmount)(P),(n,d)=>((0,r.openBlock)(),(0,r.createElementBlock)(`ul`,{ref_key:`listRef`,ref:h,class:(0,r.normalizeClass)([`nb-reorder-list`,{"nb-reorder-list--dragging":E.value!==null}]),role:`list`,"aria-label":e.label||void 0,"aria-describedby":`${(0,r.unref)(m)}-hint`},[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(g.value,(a,l)=>((0,r.openBlock)(),(0,r.createElementBlock)(`li`,{key:_(a,l),class:(0,r.normalizeClass)([`nb-reorder-list__row`,{"nb-reorder-list__row--dragging":E.value===l,"nb-reorder-list__row--lifted":S.value===l,"nb-reorder-list__row--drop-before":D.value===l,"nb-reorder-list__row--drop-after":D.value===l+1&&l===g.value.length-1}]),"data-index":l,onPointerdown:e=>O(e,l)},[(0,r.createElementVNode)(`div`,{class:`nb-reorder-list__grab`,tabindex:e.disabled?-1:0,role:`button`,"aria-disabled":e.disabled||void 0,"aria-label":y(l),onKeydown:e=>C(e,l),onBlur:e=>T(l)},[(0,r.renderSlot)(n.$slots,`handle`,{item:a,index:l},()=>[(0,r.createVNode)(t.t,{class:`nb-reorder-list__grip`,name:(0,r.unref)(i.regular),size:16,"aria-hidden":`true`},null,8,[`name`])],!0)],40,s),(0,r.createElementVNode)(`div`,c,[(0,r.renderSlot)(n.$slots,`default`,{item:a,index:l},()=>[(0,r.createTextVNode)((0,r.toDisplayString)(a),1)],!0)])],42,o))),128)),(0,r.createElementVNode)(`li`,{id:`${(0,r.unref)(m)}-hint`,class:`nb-reorder-list__sr`},` Press Space or Enter to pick up, arrow keys to move, Space or Enter to drop, Escape to cancel. `,8,l),(0,r.createElementVNode)(`li`,u,(0,r.toDisplayString)(b.value),1)],10,a))}}),f=e.t(d,[[`__scopeId`,`data-v-c096ef43`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return f}});
|
package/dist/Shell-BzAv4AWb.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./composables/useSurfaceLayer.composable.cjs`),n=require(`./utils/slotContent.helper.cjs`),ee=require(`./composables/useShellSlot.composable.cjs`);let r=require(`vue`);var te=(0,r.defineComponent)({__name:`SurfaceLayerScope`,props:{level:{}},setup(e){let n=e;return(0,r.provide)(t.NB_LAYER_INJECTION_KEY,(0,r.computed)(()=>t.clampLayer(n.level))),(e,t)=>(0,r.renderSlot)(e.$slots,`default`)}}),ne=[`href`],re={class:`nb-shell__middle`},ie=[`id`,`aria-label`,`tabindex`,`inert`,`aria-hidden`],ae={class:`nb-shell__sidebar-logo`},oe={class:`nb-shell__sidebar-nav`},se={class:`nb-shell__sidebar-bottom`},ce={class:`nb-shell__right`},le={key:2,class:`nb-shell__menubar`},ue={key:3,class:`nb-shell__topbar`},de=[`aria-label`,`aria-expanded`,`aria-controls`],fe={class:`nb-shell__content-row`},pe=[`inert`,`aria-hidden`],me=[`aria-expanded`],he={class:`nb-shell__contextbar-toggle-glyph`,"aria-hidden":`true`},ge={class:`nb-shell__main-row`},_e=[`aria-label`],ve=[`id`],ye=[`aria-label`,`inert`,`aria-hidden`],be=[`aria-label`],xe=[`aria-label`,`aria-valuenow`,`aria-valuemax`],i=288,Se=16,Ce=64,we=(0,r.defineComponent)({__name:`Shell`,props:{inspectorVisible:{type:Boolean,default:!1},inspectorExpanded:{type:Boolean,default:!1},inspectorSize:{default:`md`},resizable:{type:Boolean,default:!1},inspectorWidth:{},mainPadding:{type:Boolean,default:!0},sidebarVariant:{default:`compact`},topbar:{default:`auto`},skipToContent:{type:Boolean,default:!0},skipToContentLabel:{default:`Skip to content`},mainId:{},sidebarLabel:{default:`Primary`},inspectorLabel:{default:`Inspector`},contextbarLabel:{default:`Browse`},collapseAt:{default:`md`},sidebarOpen:{type:Boolean},navToggleLabel:{default:`Navigation`},inspectorCloseLabel:{default:`Close inspector`}},emits:[`update:inspectorWidth`,`update:sidebarOpen`,`update:inspectorVisible`],setup(e,{expose:we,emit:a}){let Te=(0,r.useSlots)();function o(e){return n.hasSlotContent(Te,e)}let{registry:Ee,count:s,sharedCount:De,setElement:c}=ee.createShellSlotRegistry();(0,r.provide)(ee.NB_SHELL_SLOT_KEY,Ee);let l=new Map;function u(e){let t=l.get(e);return t||(t=t=>c(e,t??null),l.set(e,t)),t}function d(e){return o(e)||s(e)>0}function f(e){return De(e)>0?`nb-shell__region--ordered`:null}let p=(0,r.computed)(()=>{for(let e of[`sidebar-logo`,`sidebar-nav`,`sidebar-bottom`])if(o(e))return!0;return!1}),m=e,h=(0,r.ref)(!1),g=a,Oe={md:672,lg:1056},_=(0,r.ref)(typeof window<`u`?window.innerWidth:1/0);function v(e){let t=Oe[m.collapseAt];return t!=null&&e<t}let y=0;function b(){let e=window.innerWidth;v(e)!==v(_.value)&&(_.value=e)}function x(){y||=window.requestAnimationFrame(()=>{y=0,_.value=window.innerWidth})}function ke(){typeof window>`u`||(window.removeEventListener(`resize`,x),y&&=(window.cancelAnimationFrame(y),0))}function S(){typeof window>`u`||(_.value=window.innerWidth,window.addEventListener(`resize`,x,{passive:!0}))}let C=(0,r.computed)(()=>v(_.value)),w=(0,r.getCurrentInstance)()?.vnode.props??{};function T(e,t){return e in w||t in w}function Ae(e,t){if(e in w)return w[e];if(t in w)return w[t]}function E(e,t){return T(e,t)&&Ae(e,t)!==void 0}let D=E(`sidebarOpen`,`sidebar-open`),O=(0,r.ref)(!1);T(`sidebarOpen`,`sidebar-open`)&&!D&&(0,r.watch)(()=>m.sidebarOpen,e=>{O.value=e===!0});let k=(0,r.computed)(()=>D?m.sidebarOpen===!0:O.value),je=(0,r.useId)(),Me=(0,r.computed)(()=>`nb-shell-sidebar-${je}`),A=(0,r.ref)(null),j=(0,r.ref)(null),M=(0,r.computed)(()=>p.value&&C.value),N=(0,r.computed)(()=>p.value&&C.value&&!k.value);function P(e){D||(O.value=e),g(`update:sidebarOpen`,e)}function Ne(){if(p.value&&C.value&&k.value){P(!1);return}z.value&&B(!1)}(0,r.watch)(k,async e=>{C.value&&(await(0,r.nextTick)(),e?(j.value?.querySelector(`a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])`)??j.value)?.focus?.():A.value?.focus?.())}),(0,r.watch)(C,e=>{!e&&k.value&&P(!1)});let F=E(`inspectorVisible`,`inspector-visible`),I=(0,r.ref)(m.inspectorVisible===!0);T(`inspectorVisible`,`inspector-visible`)&&!F&&(0,r.watch)(()=>m.inspectorVisible,e=>{I.value=e===!0});let L=(0,r.ref)(!1),R=(0,r.computed)(()=>(F?m.inspectorVisible===!0:I.value)?!(C.value&&L.value):!1),z=(0,r.computed)(()=>C.value&&R.value);function B(e){F?L.value=!e:(I.value=e,L.value=!1),g(`update:inspectorVisible`,e)}(0,r.watch)(()=>m.inspectorVisible,e=>{e&&(L.value=!1)}),(0,r.watch)(C,e=>{e||(L.value=!1)});let V=(0,r.ref)(null),H=(0,r.ref)(null);(0,r.watch)(z,async e=>{if(e)H.value=document.activeElement??null,await(0,r.nextTick)(),V.value?.focus?.();else{let e=H.value;H.value=null,e?.isConnected&&(await(0,r.nextTick)(),e.focus?.())}});let U=(0,r.computed)(()=>z.value),W=(0,r.ref)(null),Pe=(0,r.useId)(),G=(0,r.computed)(()=>m.mainId||`nb-shell-main-${Pe}`);function Fe(){W.value?.focus()}let Ie=(0,r.computed)(()=>M.value||m.topbar===`always`?!0:m.topbar===`never`?!1:o(`topbar-left`)||o(`topbar-right`)||s(`topbar-left`)>0||s(`topbar-right`)>0),{layerProps:Le}=t.useSurfaceLayer(),{layerProps:Re}=t.useSurfaceLayer({level:0,probe:!1,provideContext:!1});(0,r.provide)(`nb-shell-sidebar-variant`,(0,r.toRef)(m,`sidebarVariant`));let K=(0,r.ref)(null),q=(0,r.ref)(!1);(0,r.onMounted)(()=>c(`inspector`,K.value)),(0,r.watch)(K,e=>c(`inspector`,e));let ze={lg:.5,xl:.75},Be={xs:288,sm:360,md:560},J=(0,r.computed)(()=>Number.isFinite(_.value)?_.value:1280),Y=(0,r.computed)(()=>Math.max(i,J.value*.5));function X(e){return Math.round(Math.max(i,Math.min(e,Y.value)))}let Ve=E(`inspectorWidth`,`inspector-width`),He=(0,r.ref)(null),Ue=(0,r.computed)(()=>Ve?m.inspectorWidth??null:He.value);function Z(e){Ve||(He.value=e),g(`update:inspectorWidth`,e)}let We=(0,r.computed)(()=>{let e=Ue.value;if(!(!m.resizable||!R.value||e==null))return{"--nb-shell-inspector-width":`${X(e)}px`}}),Q=(0,r.computed)(()=>{let e=Ue.value;if(e!=null)return X(e);if(m.inspectorExpanded)return Math.round(J.value*.5);let t=ze[m.inspectorSize],n=t==null?Be[m.inspectorSize]??i:J.value*t;return Math.round(m.inspectorSize===`xl`?n:Math.min(n,Y.value))}),Ge=(0,r.computed)(()=>Math.round(Math.max(Y.value,Q.value))),Ke=(0,r.computed)(()=>Q.value);function qe(){return Q.value}function Je(e){let t=K.value;if(!t)return;let n=t.getBoundingClientRect().right;Z(X(n-e.clientX))}function $(){q.value=!1,window.removeEventListener(`pointermove`,Je),window.removeEventListener(`pointerup`,$),window.removeEventListener(`pointercancel`,$)}function Ye(e){m.resizable&&(e.preventDefault(),q.value=!0,window.addEventListener(`pointermove`,Je),window.addEventListener(`pointerup`,$),window.addEventListener(`pointercancel`,$))}function Xe(){Z(null)}function Ze(e){if(!m.resizable)return;let t=e.shiftKey?Ce:Se,n;switch(e.key){case`ArrowLeft`:n=qe()+t;break;case`ArrowRight`:n=qe()-t;break;case`Home`:n=i;break;case`End`:n=Y.value;break;case`Enter`:case` `:n=null;break;default:return}e.preventDefault(),Z(n==null?null:X(n))}return(0,r.onMounted)(()=>{typeof window>`u`||(_.value=window.innerWidth,window.addEventListener(`resize`,b,{passive:!0}),m.resizable&&S())}),(0,r.watch)(()=>m.collapseAt,()=>{typeof window<`u`&&(_.value=window.innerWidth)}),(0,r.watch)(()=>m.resizable,e=>e?S():ke()),(0,r.onBeforeUnmount)(()=>{$(),ke(),typeof window<`u`&&window.removeEventListener(`resize`,b)}),we({mainEl:W,sidebarEl:j,inspectorEl:K,focusMain:()=>W.value?.focus(),setSidebarOpen:P,setInspectorVisible:B}),(t,n)=>((0,r.openBlock)(),(0,r.createElementBlock)(`div`,(0,r.mergeProps)({class:`nb-shell`},(0,r.unref)(Le),{class:[{"nb-shell--no-sidebar":!p.value},p.value?`nb-shell--sidebar-${e.sidebarVariant}`:null,{"nb-shell--collapsed":C.value,"nb-shell--drawer-open":C.value&&k.value}],onKeydown:(0,r.withKeys)(Ne,[`esc`])}),[e.skipToContent?((0,r.openBlock)(),(0,r.createElementBlock)(`a`,{key:0,class:`nb-shell__skip-link`,href:`#${G.value}`,onClick:Fe},(0,r.toDisplayString)(e.skipToContentLabel),9,ne)):(0,r.createCommentVNode)(``,!0),d(`outer-menu`)?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{key:1,ref:u(`outer-menu`),class:(0,r.normalizeClass)([`nb-shell__outer-menu`,f(`outer-menu`)])},[(0,r.renderSlot)(t.$slots,`outer-menu`,{},void 0,!0)],2)):(0,r.createCommentVNode)(``,!0),(0,r.createElementVNode)(`div`,re,[p.value?((0,r.openBlock)(),(0,r.createElementBlock)(`nav`,{key:0,id:Me.value,ref_key:`sidebarRef`,ref:j,class:`nb-shell__sidebar`,"aria-label":e.sidebarLabel,tabindex:C.value?-1:void 0,inert:N.value||void 0,"aria-hidden":N.value||void 0},[(0,r.createElementVNode)(`div`,ae,[(0,r.renderSlot)(t.$slots,`sidebar-logo`,{},void 0,!0)]),(0,r.createElementVNode)(`div`,oe,[(0,r.renderSlot)(t.$slots,`sidebar-nav`,{},void 0,!0)]),n[4]||=(0,r.createElementVNode)(`div`,{class:`nb-shell__sidebar-spacer`},null,-1),(0,r.createElementVNode)(`div`,se,[(0,r.renderSlot)(t.$slots,`sidebar-bottom`,{},void 0,!0)])],8,ie)):(0,r.createCommentVNode)(``,!0),p.value&&C.value&&k.value?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{key:1,class:`nb-shell__scrim`,onClick:n[0]||=e=>P(!1)})):(0,r.createCommentVNode)(``,!0),(0,r.createElementVNode)(`div`,ce,[d(`inner-menu`)?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{key:0,ref:u(`inner-menu`),class:(0,r.normalizeClass)([`nb-shell__inner-menu`,f(`inner-menu`)])},[(0,r.renderSlot)(t.$slots,`inner-menu`,{},void 0,!0)],2)):(0,r.createCommentVNode)(``,!0),d(`notification`)?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{key:1,ref:u(`notification`),class:(0,r.normalizeClass)([`nb-shell__notification`,f(`notification`)])},[(0,r.renderSlot)(t.$slots,`notification`,{},void 0,!0)],2)):(0,r.createCommentVNode)(``,!0),o(`menubar`)?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,le,[(0,r.renderSlot)(t.$slots,`menubar`,{},void 0,!0)])):(0,r.createCommentVNode)(``,!0),Ie.value?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,ue,[M.value?((0,r.openBlock)(),(0,r.createElementBlock)(`button`,{key:0,ref_key:`navToggleRef`,ref:A,type:`button`,class:`nb-shell__nav-toggle`,"aria-label":e.navToggleLabel,"aria-expanded":k.value,"aria-controls":Me.value,onClick:n[1]||=e=>P(!k.value)},[...n[5]||=[(0,r.createElementVNode)(`span`,{class:`nb-shell__nav-toggle-glyph`,"aria-hidden":`true`},[(0,r.createElementVNode)(`span`),(0,r.createElementVNode)(`span`),(0,r.createElementVNode)(`span`)],-1)]],8,de)):(0,r.createCommentVNode)(``,!0),(0,r.createElementVNode)(`div`,{ref:u(`topbar-left`),class:`nb-shell__topbar-left`},[(0,r.renderSlot)(t.$slots,`topbar-left`,{},void 0,!0)],512),(0,r.createElementVNode)(`div`,{ref:u(`topbar-right`),class:`nb-shell__topbar-right`},[(0,r.renderSlot)(t.$slots,`topbar-right`,{},void 0,!0)],512)])):(0,r.createCommentVNode)(``,!0),(0,r.createElementVNode)(`div`,fe,[(0,r.createElementVNode)(`div`,{class:`nb-shell__body`,inert:U.value||void 0,"aria-hidden":U.value||void 0},[d(`fixedbar`)?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{key:0,ref:u(`fixedbar`),class:`nb-shell__fixedbar`},[(0,r.renderSlot)(t.$slots,`fixedbar`,{},void 0,!0)],512)):(0,r.createCommentVNode)(``,!0),C.value&&d(`contextbar`)?((0,r.openBlock)(),(0,r.createElementBlock)(`button`,{key:1,type:`button`,class:`nb-shell__contextbar-toggle`,"aria-expanded":h.value,onClick:n[2]||=e=>h.value=!h.value},[(0,r.createElementVNode)(`span`,null,(0,r.toDisplayString)(e.contextbarLabel),1),(0,r.createElementVNode)(`span`,he,(0,r.toDisplayString)(h.value?`▾`:`▸`),1)],8,me)):(0,r.createCommentVNode)(``,!0),(0,r.createElementVNode)(`div`,ge,[d(`contextbar`)?(0,r.withDirectives)(((0,r.openBlock)(),(0,r.createElementBlock)(`aside`,{key:0,ref:u(`contextbar`),class:(0,r.normalizeClass)([`nb-shell__contextbar`,f(`contextbar`)]),"aria-label":e.contextbarLabel},[(0,r.renderSlot)(t.$slots,`contextbar`,{},void 0,!0)],10,_e)),[[r.vShow,!C.value||h.value]]):(0,r.createCommentVNode)(``,!0),(0,r.createElementVNode)(`main`,(0,r.mergeProps)({id:G.value,ref_key:`mainRef`,ref:W,tabindex:`-1`,class:[`nb-shell__main`,{"nb-shell__main--no-padding":!e.mainPadding}]},(0,r.unref)(Re)),[(0,r.createVNode)(te,{level:1},{default:(0,r.withCtx)(()=>[(0,r.renderSlot)(t.$slots,`default`,{},void 0,!0)]),_:3})],16,ve)]),d(`bottom`)?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{key:2,ref:u(`bottom`),class:`nb-shell__bottom`},[(0,r.renderSlot)(t.$slots,`bottom`,{},void 0,!0)],512)):(0,r.createCommentVNode)(``,!0)],8,pe),(0,r.createElementVNode)(`aside`,{ref_key:`inspectorRef`,ref:K,class:(0,r.normalizeClass)([`nb-shell__inspector`,{"nb-shell__inspector--visible":R.value,"nb-shell__inspector--expanded":R.value&&e.inspectorExpanded,[`nb-shell__inspector--${e.inspectorSize}`]:R.value,"nb-shell__inspector--resizing":q.value,"nb-shell__inspector--overlay":z.value}]),"aria-label":e.inspectorLabel,inert:!R.value||void 0,"aria-hidden":!R.value||void 0,style:(0,r.normalizeStyle)(We.value)},[z.value?((0,r.openBlock)(),(0,r.createElementBlock)(`button`,{key:0,ref_key:`inspectorDismissRef`,ref:V,type:`button`,class:`nb-shell__inspector-dismiss`,"aria-label":e.inspectorCloseLabel,onClick:n[3]||=e=>B(!1)},[...n[6]||=[(0,r.createElementVNode)(`span`,{class:`nb-shell__inspector-dismiss-glyph`,"aria-hidden":`true`},`×`,-1)]],8,be)):(0,r.createCommentVNode)(``,!0),e.resizable&&R.value&&!C.value?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{key:1,class:`nb-shell__inspector-resize`,role:`separator`,tabindex:`0`,"aria-orientation":`vertical`,"aria-label":`Resize ${e.inspectorLabel}`,"aria-valuenow":Ke.value,"aria-valuemin":i,"aria-valuemax":Ge.value,title:`Drag or use the arrow keys to resize, Enter or double-click to reset`,onPointerdown:Ye,onDblclick:Xe,onKeydown:Ze},null,40,xe)):(0,r.createCommentVNode)(``,!0),(0,r.renderSlot)(t.$slots,`inspector`,{},void 0,!0)],14,ye)])])])],16))}}),a=e.t(we,[[`__scopeId`,`data-v-2849726c`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return a}});
|