@nubisco/ui 5.48.1 → 5.50.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--XeLRz2P.js +119 -0
- package/dist/AccordionItem-BYSH6dZK.cjs +1 -0
- package/dist/ActionGroup-CZWoWOYj.cjs +1 -0
- package/dist/ActionGroup-DEeOrkKF.js +137 -0
- package/dist/{AiLabel-DywBjSzr.js → AiLabel-CSSIkvKP.js} +20 -20
- package/dist/{AiLabel-pRN10dQV.cjs → AiLabel-DSKUOcZs.cjs} +1 -1
- package/dist/{AiProvider-DY1xxZff.cjs → AiProvider-BLGmpN6e.cjs} +1 -1
- package/dist/{AiProvider-D8O_YaaP.js → AiProvider-BY5kxf6u.js} +6 -6
- package/dist/{AiUsage-HcYF6RQ2.js → AiUsage-BOrAXk2-.js} +2 -2
- package/dist/{AiUsage-DRj51zK5.cjs → AiUsage-fQqE0B6N.cjs} +1 -1
- package/dist/BackToTop-DgFlV4p4.cjs +1 -0
- package/dist/BackToTop-DrgXqZgF.js +51 -0
- package/dist/Banner-CazPCK0F.js +89 -0
- package/dist/Banner-CyU3PPnt.cjs +1 -0
- package/dist/{BarChart-IX4imFVT.cjs → BarChart-3YO4YfUt.cjs} +1 -1
- package/dist/{BarChart-tB6MOMoR.js → BarChart-CDvhhPk0.js} +4 -4
- package/dist/BatchActions-CLCwxCoa.js +86 -0
- package/dist/BatchActions-DfAPQSU6.cjs +1 -0
- package/dist/{Blueprint-46DWDZmu.js → Blueprint-CGGNppmS.js} +2 -2
- package/dist/{Blueprint-NyUNNf-G.cjs → Blueprint-DBIXzLYg.cjs} +1 -1
- package/dist/{BlueprintCard-DDNP1vkk.js → BlueprintCard-CqlU0QFY.js} +114 -116
- package/dist/BlueprintCard-DGUNttWj.cjs +1 -0
- package/dist/{BlueprintControls-D0MdXrVv.js → BlueprintControls-1l0QVtB7.js} +49 -75
- package/dist/BlueprintControls-C3ffD6W8.cjs +1 -0
- package/dist/{Board-CaFH4-Qw.js → Board-DEBP52eI.js} +178 -190
- package/dist/Board-DIbzPDsD.cjs +1 -0
- package/dist/BottomPanel-1EkHEQ_H.js +81 -0
- package/dist/BottomPanel-n2jWpFH7.cjs +1 -0
- package/dist/Breadcrumbs-CCPzuiiv.cjs +1 -0
- package/dist/Breadcrumbs-CQsziZK3.js +185 -0
- package/dist/{Briefing-CoDyU3k4.js → Briefing-0A1frO4v.js} +3 -3
- package/dist/{Briefing-B_ofl8Rt.cjs → Briefing-AqSz-ZdZ.cjs} +1 -1
- package/dist/{BriefingDestination-DAu5S2HI.cjs → BriefingDestination-CqyKzyXx.cjs} +1 -1
- package/dist/{BriefingDestination-CK4XdAOo.js → BriefingDestination-v3kNa6o_.js} +4 -4
- package/dist/Button-BHFtgOXA.cjs +1 -0
- package/dist/Button-tpOmP8iV.js +699 -0
- package/dist/ButtonSet-BV76HHgD.js +67 -0
- package/dist/ButtonSet-Bj9mIOW2.cjs +1 -0
- package/dist/Calendar-Bf0Nk0rA.js +153 -0
- package/dist/Calendar-D9J17bTp.cjs +1 -0
- package/dist/Card-C6KAn4tN.cjs +1 -0
- package/dist/Card-qNem4s60.js +162 -0
- package/dist/{Checkbox-DXQpih7I.js → Checkbox-BgXXVsCC.js} +1 -1
- package/dist/{Checkbox-7JJdh4sN.cjs → Checkbox-DPPln6oG.cjs} +1 -1
- package/dist/{CheckboxGroup-B8T3zLQC.cjs → CheckboxGroup-B2a3ezEK.cjs} +1 -1
- package/dist/{CheckboxGroup-BHn1hpzh.js → CheckboxGroup-Ck1ylAX9.js} +3 -3
- package/dist/ChipGroup-CVDk4ElV.js +74 -0
- package/dist/ChipGroup-DojKPHhq.cjs +1 -0
- package/dist/CloseButton-9TTFHFmx.cjs +1 -0
- package/dist/CloseButton-CdH12Hdn.js +48 -0
- package/dist/{ColorStrip-BW1nFTja.js → ColorStrip-CuF9ZGoO.js} +2 -2
- package/dist/{ColorStrip-AEg8dQbl.cjs → ColorStrip-bpguV5b2.cjs} +1 -1
- package/dist/CommandPalette-CCEzVWfb.cjs +1 -0
- package/dist/{CommandPalette-CD75Qytr.js → CommandPalette-D1DuzaA1.js} +100 -85
- package/dist/Confirm-CZNS6FNr.js +331 -0
- package/dist/Confirm-DbrEaYlJ.cjs +1 -0
- package/dist/{ContainedListItem-CSE8d5M6.js → ContainedListItem-8z2bmoRG.js} +20 -18
- package/dist/ContainedListItem-BKvHedZO.cjs +1 -0
- package/dist/ContentSwitcher-B-PUG0FE.js +99 -0
- package/dist/ContentSwitcher-CYSF2B-a.cjs +1 -0
- package/dist/CopyButton-CQ9tcyfs.js +60 -0
- package/dist/CopyButton-DRvJ4rf5.cjs +1 -0
- package/dist/DataTable-DDqMaOqP.js +545 -0
- package/dist/DataTable-DQUX-6li.cjs +1 -0
- package/dist/DatePicker-Du21bjhe.cjs +1 -0
- package/dist/DatePicker-fS84mRE6.js +761 -0
- package/dist/FileUploader-UzgK5RKz.cjs +1 -0
- package/dist/FileUploader-dzVu4iSo.js +195 -0
- package/dist/FloatingToolbar-BTmWtGU7.js +116 -0
- package/dist/FloatingToolbar-DDCJuaq0.cjs +1 -0
- package/dist/{Form-D6rgkJ_Y.cjs → Form-D2KHlP7N.cjs} +1 -1
- package/dist/{Form-1UVOFWaf.js → Form-igwYeEVI.js} +1 -1
- package/dist/{GanttChart-B_LqsmcR.cjs → GanttChart-ClFarMf-.cjs} +1 -1
- package/dist/{GanttChart-cZguVXW8.js → GanttChart-N05mLdsn.js} +3 -3
- package/dist/{ImageCropper-CJ2mCj9z.cjs → ImageCropper-CoYR_Hhy.cjs} +1 -1
- package/dist/{ImageCropper-BFKMYthJ.js → ImageCropper-wQknqxNK.js} +2 -2
- package/dist/ImagePicker-Dhj01jq7.cjs +1 -0
- package/dist/ImagePicker-zkoay3zZ.js +171 -0
- package/dist/InfoHint-BEzkNQTM.cjs +1 -0
- package/dist/InfoHint-BlHxrTw6.js +178 -0
- package/dist/InlineEdit-DBMKJ3xP.cjs +1 -0
- package/dist/InlineEdit-Y8i0ibjH.js +117 -0
- package/dist/{InlineLoading-D8T0WO05.js → InlineLoading-CDJ_ZJ6v.js} +1 -1
- package/dist/{InlineLoading-CB_1PwMx.cjs → InlineLoading-DKCzcjZJ.cjs} +1 -1
- package/dist/InputGroup-BYThVO5L.js +86 -0
- package/dist/InputGroup-BYoHNpY0.cjs +1 -0
- package/dist/InputGroup.context-BHj-IvcT.cjs +1 -0
- package/dist/InputGroup.context-Dd4e6fGT.js +28 -0
- package/dist/{InterpolationChart-CttBiNWU.js → InterpolationChart-BX8-UOeZ.js} +3 -3
- package/dist/{InterpolationChart-CYWJFUcs.cjs → InterpolationChart-DaqKUIWi.cjs} +1 -1
- package/dist/{LineChart-DNDSJQrB.cjs → LineChart-CGXpi9l8.cjs} +1 -1
- package/dist/{LineChart-J8gCM2Ba.js → LineChart-CplGrv8-.js} +4 -4
- package/dist/Menu-7EgnchVu.js +189 -0
- package/dist/Menu-Bs2Co1sl.cjs +1 -0
- package/dist/{MenuBarItem-BLdVIz0j.js → MenuBarItem-CQsy3y2I.js} +1 -1
- package/dist/{MenuBarItem-B8H9KfFo.cjs → MenuBarItem-Dd9hNBra.cjs} +1 -1
- package/dist/MenuItem-DFfE_k0L.cjs +1 -0
- package/dist/{MenuItem-BerQIsRQ.js → MenuItem-DMYDHaa0.js} +44 -28
- package/dist/Modal-BSGKOUi_.js +223 -0
- package/dist/Modal-D0hGHXic.cjs +1 -0
- package/dist/NotificationCenter-_CK8Eejg.js +587 -0
- package/dist/NotificationCenter-xg0ZCegj.cjs +1 -0
- package/dist/NumberInput-B-TvTlXI.js +383 -0
- package/dist/NumberInput-DaZI9hc3.cjs +1 -0
- package/dist/OverflowMenu-DFOJSaS7.cjs +1 -0
- package/dist/OverflowMenu-OCAeE3W0.js +126 -0
- package/dist/{PageHeader-CFMhwRcw.js → PageHeader-1wou3Him.js} +2 -2
- package/dist/{PageHeader-BVcTzPcW.cjs → PageHeader-BfUlrscM.cjs} +1 -1
- package/dist/{Pagination-zTp1lrSP.js → Pagination-CUat0BVv.js} +26 -26
- package/dist/{Pagination-VmE04nzc.cjs → Pagination-DypRMTsC.cjs} +1 -1
- package/dist/{Panel-7qPoq2lb.cjs → Panel-NC6_ZogV.cjs} +1 -1
- package/dist/{Panel-D5OHjaTP.js → Panel-zyzu638n.js} +1 -1
- package/dist/{PieChart-Ct8oicOS.cjs → PieChart-DQhs44eH.cjs} +1 -1
- package/dist/{PieChart-CAB3b8LE.js → PieChart-D_02nX0-.js} +3 -3
- package/dist/{PrimaryActionScope-B7VLsHzT.cjs → PrimaryActionScope-Dp2gvqwk.cjs} +1 -1
- package/dist/{PrimaryActionScope-CRdjZE0V.js → PrimaryActionScope-sogYOZXZ.js} +1 -1
- package/dist/{ProgressBar-DK-j6Bzv.js → ProgressBar-Bp-pe6sU.js} +2 -2
- package/dist/{ProgressBar-CfJJf7Sc.cjs → ProgressBar-z912Ppfm.cjs} +1 -1
- package/dist/{Radio-CWWt_o_F.js → Radio-DcMkavI8.js} +2 -2
- package/dist/{Radio-D0YjKuB2.cjs → Radio-DuvSK9tl.cjs} +1 -1
- package/dist/Search-BnGuTcHp.js +130 -0
- package/dist/Search-CfH1Q9GB.cjs +1 -0
- package/dist/Select-BxPZtw_Q.js +604 -0
- package/dist/Select-uwMyqZ2S.cjs +1 -0
- package/dist/Shell-B2y5hn9K.cjs +1 -0
- package/dist/Shell-Bh6s0T89.js +536 -0
- package/dist/ShellPanel-BDE6Y773.cjs +1 -0
- package/dist/ShellPanel-CB71IKMY.js +89 -0
- package/dist/{SidebarCollapseToggle-C6aLQTYv.cjs → SidebarCollapseToggle-CqVURaqs.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-D5yQ-8Vu.js → SidebarCollapseToggle-Dm4QMGpc.js} +2 -2
- package/dist/{SidebarHeaderToggle-Bdh1Z9aF.cjs → SidebarHeaderToggle-KW1yBlpF.cjs} +1 -1
- package/dist/{SidebarHeaderToggle-C-QIOLnU.js → SidebarHeaderToggle-daU1HfJH.js} +3 -3
- package/dist/Skeleton-CMuZJ1dR.cjs +1 -0
- package/dist/{Skeleton-C1e02dcW.js → Skeleton-Hmb5a2G_.js} +48 -31
- package/dist/{Slider-BAXKJCNG.js → Slider-BP-oEeJs.js} +4 -4
- package/dist/{Slider-BaM5cclm.cjs → Slider-D3YgGPcY.cjs} +1 -1
- package/dist/{Spinner-PT95bjWq.cjs → Spinner-BTN06wsE.cjs} +1 -1
- package/dist/{Spinner-CbBPddUx.js → Spinner-C3MeCm2k.js} +1 -1
- package/dist/{Stat-C9XaqyaG.cjs → Stat-BoQUn69z.cjs} +1 -1
- package/dist/{Stat-DJJln4rH.js → Stat-Bz0NCLTm.js} +2 -2
- package/dist/{Stepper-DV0q0Dfv.cjs → Stepper-BLyPFPge.cjs} +1 -1
- package/dist/{Stepper-B4xqkWXg.js → Stepper-BXPgrQE8.js} +1 -1
- package/dist/{StepperStep-iGyGKnQL.cjs → StepperStep-DGeyZQXY.cjs} +1 -1
- package/dist/{StepperStep-BYhlgeb1.js → StepperStep-DLr_ctr4.js} +1 -1
- package/dist/SuggestionList-DjtF5POh.cjs +1 -0
- package/dist/SuggestionList-SYGj7Sjv.js +225 -0
- package/dist/{Switch-D3j7PPhY.cjs → Switch-CQj6AsQh.cjs} +1 -1
- package/dist/{Switch-CbYMiEbQ.js → Switch-CqLfdT_m.js} +2 -2
- package/dist/{TableOfContents-CM0HKSde.js → TableOfContents-BIzH0Twf.js} +24 -34
- package/dist/{TableOfContents-By2Non4K.cjs → TableOfContents-Ct-Kwm8X.cjs} +1 -1
- package/dist/{Tabs--lz44FBk.js → Tabs-B_bsdxWy.js} +1 -1
- package/dist/{Tabs-DKikiz0_.cjs → Tabs-CTMUPND5.cjs} +1 -1
- package/dist/TextInput-BVTKUEey.cjs +2 -0
- package/dist/TextInput-DqaVhKud.js +438 -0
- package/dist/Toast-BaMGYx8-.js +118 -0
- package/dist/Toast-BvZywdtO.cjs +1 -0
- package/dist/{Toaster-CJMQM8JU.cjs → Toaster-CYSWYmUm.cjs} +1 -1
- package/dist/{Toaster-DxBW9XQ0.js → Toaster-DtUkjQM_.js} +1 -1
- package/dist/Toolbar-BmJeXz4C.cjs +1 -0
- package/dist/Toolbar-tOeTdj8a.js +48 -0
- package/dist/Toolbar.context-Bli1SqM3.js +4 -0
- package/dist/Toolbar.context-D3Uj5o0_.cjs +1 -0
- package/dist/{Tree-DP2NPXOL.cjs → Tree-CeXSIcpy.cjs} +1 -1
- package/dist/{Tree-CkcFwDr7.js → Tree-RRVk_0QJ.js} +1 -1
- package/dist/{TreeNode-DCnlEEpj.js → TreeNode-D9fc2RE_.js} +1 -1
- package/dist/{TreeNode-CtklZefA.cjs → TreeNode-z6APXuvr.cjs} +1 -1
- package/dist/UserMenu-BGIIKwi6.cjs +1 -0
- package/dist/{UserMenu-CWRMaPGO.js → UserMenu-GGR8K7gP.js} +109 -102
- package/dist/Video-BxNkDWqi.cjs +1 -0
- package/dist/Video-DD01piHm.js +106 -0
- package/dist/Walkthrough-C_5h67cq.cjs +1 -0
- package/dist/Walkthrough-DpxYuLMU.js +333 -0
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +272 -254
- package/dist/component-styles.json +88 -2
- 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 -1
- package/dist/components/ActionGroup.d.ts +41 -9
- package/dist/components/ActionGroup.mjs +1 -1
- package/dist/components/ActionGroup.vue.d.ts +2 -2
- package/dist/components/ActionGroup.vue.d.ts.map +1 -1
- package/dist/components/AiLabel.cjs +1 -1
- package/dist/components/AiLabel.mjs +1 -1
- package/dist/components/AiProvider.cjs +1 -1
- package/dist/components/AiProvider.mjs +1 -1
- package/dist/components/AiUsage.cjs +1 -1
- package/dist/components/AiUsage.mjs +1 -1
- package/dist/components/BackToTop.cjs +1 -1
- package/dist/components/BackToTop.mjs +1 -1
- package/dist/components/BackToTop.vue.d.ts.map +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/Banner.vue.d.ts.map +1 -1
- package/dist/components/BatchActions.cjs +1 -0
- package/dist/components/BatchActions.d.ts +43 -0
- package/dist/components/BatchActions.mjs +2 -0
- package/dist/components/BatchActions.vue.d.ts +30 -0
- package/dist/components/BatchActions.vue.d.ts.map +1 -0
- package/dist/components/Blueprint.cjs +1 -1
- package/dist/components/Blueprint.mjs +1 -1
- package/dist/components/Blueprint.vue.d.ts +2 -2
- 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.map +1 -1
- package/dist/components/BlueprintControls.cjs +1 -1
- package/dist/components/BlueprintControls.mjs +1 -1
- package/dist/components/BlueprintControls.vue.d.ts.map +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.mjs +1 -1
- package/dist/components/Board.vue.d.ts +2 -2
- 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/BottomPanel.vue.d.ts +2 -2
- package/dist/components/BottomPanel.vue.d.ts.map +1 -1
- package/dist/components/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs.mjs +1 -1
- package/dist/components/Breadcrumbs.vue.d.ts.map +1 -1
- package/dist/components/Briefing.cjs +1 -1
- package/dist/components/Briefing.mjs +1 -1
- package/dist/components/BriefingDestination.cjs +1 -1
- package/dist/components/BriefingDestination.mjs +1 -1
- package/dist/components/Button.cjs +1 -1
- package/dist/components/Button.d.ts +38 -1
- package/dist/components/Button.mjs +1 -1
- package/dist/components/Button.vue.d.ts +4 -0
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/ButtonSet.cjs +1 -0
- package/dist/components/ButtonSet.d.ts +43 -0
- package/dist/components/ButtonSet.mjs +2 -0
- package/dist/components/ButtonSet.vue.d.ts +11 -0
- package/dist/components/ButtonSet.vue.d.ts.map +1 -0
- package/dist/components/Calendar.cjs +1 -1
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Calendar.vue.d.ts +2 -2
- package/dist/components/Calendar.vue.d.ts.map +1 -1
- package/dist/components/Card.cjs +1 -1
- package/dist/components/Card.mjs +1 -1
- package/dist/components/Card.vue.d.ts +11 -10
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/CardGrid.cjs +1 -1
- package/dist/components/CardGrid.d.ts +15 -0
- 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/CheckboxGroup.cjs +1 -1
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/ChipGroup.cjs +1 -0
- package/dist/components/ChipGroup.d.ts +29 -0
- package/dist/components/ChipGroup.mjs +2 -0
- package/dist/components/ChipGroup.vue.d.ts +14 -0
- package/dist/components/ChipGroup.vue.d.ts.map +1 -0
- package/dist/components/CloseButton.cjs +1 -0
- package/dist/components/CloseButton.d.ts +26 -0
- package/dist/components/CloseButton.mjs +2 -0
- package/dist/components/CloseButton.vue.d.ts +19 -0
- package/dist/components/CloseButton.vue.d.ts.map +1 -0
- 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.d.ts +7 -5
- package/dist/components/Confirm.mjs +1 -1
- package/dist/components/Confirm.vue.d.ts +1 -1
- package/dist/components/Confirm.vue.d.ts.map +1 -1
- package/dist/components/ContainedList.cjs +1 -1
- package/dist/components/ContainedList.d.ts +7 -0
- package/dist/components/ContainedList.mjs +1 -1
- package/dist/components/ContainedListItem.cjs +1 -1
- package/dist/components/ContainedListItem.mjs +1 -1
- package/dist/components/ContainedListItem.vue.d.ts +1 -0
- package/dist/components/ContainedListItem.vue.d.ts.map +1 -1
- package/dist/components/ContentSwitcher.cjs +1 -0
- package/dist/components/ContentSwitcher.d.ts +36 -0
- package/dist/components/ContentSwitcher.mjs +2 -0
- package/dist/components/ContentSwitcher.vue.d.ts +13 -0
- package/dist/components/ContentSwitcher.vue.d.ts.map +1 -0
- package/dist/components/CopyButton.cjs +1 -1
- package/dist/components/CopyButton.mjs +1 -1
- package/dist/components/CopyButton.vue.d.ts.map +1 -1
- package/dist/components/DataTable.cjs +1 -1
- package/dist/components/DataTable.d.ts +12 -1
- package/dist/components/DataTable.mjs +1 -1
- package/dist/components/DataTable.vue.d.ts +1 -0
- 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 +2 -2
- 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/FileUploader.vue.d.ts.map +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.mjs +1 -1
- package/dist/components/FloatingToolbar.vue.d.ts +1 -3
- 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/Grid.vue.d.ts +1 -1
- package/dist/components/ImageCropper.cjs +1 -1
- package/dist/components/ImageCropper.mjs +1 -1
- package/dist/components/ImagePicker.cjs +1 -1
- package/dist/components/ImagePicker.mjs +1 -1
- package/dist/components/ImagePicker.vue.d.ts.map +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.mjs +1 -1
- 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/InputGroup.cjs +1 -0
- package/dist/components/InputGroup.context.d.ts +54 -0
- package/dist/components/InputGroup.context.d.ts.map +1 -0
- package/dist/components/InputGroup.d.ts +37 -0
- package/dist/components/InputGroup.mjs +2 -0
- package/dist/components/InputGroup.vue.d.ts +27 -0
- package/dist/components/InputGroup.vue.d.ts.map +1 -0
- 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.d.ts +21 -0
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/Menu.vue.d.ts +2 -0
- 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 -0
- 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.d.ts +11 -7
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Modal.vue.d.ts +3 -3
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.d.ts +2 -1
- package/dist/components/NotificationCenter.mjs +1 -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/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.map +1 -1
- package/dist/components/OverflowMenu.cjs +1 -0
- package/dist/components/OverflowMenu.d.ts +41 -0
- package/dist/components/OverflowMenu.mjs +2 -0
- package/dist/components/OverflowMenu.vue.d.ts +36 -0
- package/dist/components/OverflowMenu.vue.d.ts.map +1 -0
- package/dist/components/PageHeader.cjs +1 -1
- package/dist/components/PageHeader.mjs +1 -1
- package/dist/components/PageLayout.cjs +1 -1
- package/dist/components/PageLayout.mjs +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/ReorderList.cjs +1 -1
- package/dist/components/ReorderList.mjs +1 -1
- package/dist/components/Search.cjs +1 -0
- package/dist/components/Search.d.ts +36 -0
- package/dist/components/Search.mjs +2 -0
- package/dist/components/Search.vue.d.ts +32 -0
- package/dist/components/Search.vue.d.ts.map +1 -0
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.d.ts +4 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Select.vue.d.ts +6 -6
- package/dist/components/Select.vue.d.ts.map +1 -1
- package/dist/components/Shell.cjs +1 -1
- package/dist/components/Shell.d.ts +1 -0
- package/dist/components/Shell.mjs +1 -1
- package/dist/components/Shell.vue.d.ts +2 -2
- 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/ShellPanel.vue.d.ts +2 -2
- package/dist/components/ShellPanel.vue.d.ts.map +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/SidebarHeaderToggle.cjs +1 -1
- package/dist/components/SidebarHeaderToggle.mjs +1 -1
- package/dist/components/SidebarHeaderToggle.vue.d.ts.map +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/SidebarStatus.cjs +1 -1
- package/dist/components/SidebarStatus.mjs +1 -1
- package/dist/components/Skeleton.cjs +1 -1
- package/dist/components/Skeleton.d.ts +20 -1
- package/dist/components/Skeleton.mjs +1 -1
- package/dist/components/Skeleton.vue.d.ts +3 -0
- package/dist/components/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/Slider.cjs +1 -1
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Spinner.cjs +1 -1
- package/dist/components/Spinner.mjs +1 -1
- package/dist/components/Stat.cjs +1 -1
- package/dist/components/Stat.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/StructuredList.cjs +1 -1
- package/dist/components/StructuredList.mjs +1 -1
- package/dist/components/StructuredList.vue.d.ts +2 -2
- package/dist/components/Submenu.cjs +1 -1
- package/dist/components/Submenu.mjs +1 -1
- package/dist/components/SuggestionList.cjs +1 -1
- package/dist/components/SuggestionList.d.ts +8 -0
- package/dist/components/SuggestionList.mjs +1 -1
- package/dist/components/SuggestionList.vue.d.ts +3 -0
- package/dist/components/SuggestionList.vue.d.ts.map +1 -1
- package/dist/components/Switch.cjs +1 -1
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/TableOfContents.cjs +1 -1
- package/dist/components/TableOfContents.mjs +1 -1
- package/dist/components/TableOfContents.vue.d.ts.map +1 -1
- package/dist/components/Tabs.cjs +1 -1
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/TextInput.cjs +1 -1
- package/dist/components/TextInput.mjs +1 -1
- package/dist/components/TextInput.vue.d.ts +20 -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 +4 -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/Toolbar.cjs +1 -0
- package/dist/components/Toolbar.context.d.ts +22 -0
- package/dist/components/Toolbar.context.d.ts.map +1 -0
- package/dist/components/Toolbar.d.ts +26 -0
- package/dist/components/Toolbar.mjs +2 -0
- package/dist/components/Toolbar.vue.d.ts +24 -0
- package/dist/components/Toolbar.vue.d.ts.map +1 -0
- 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 +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/Video.cjs +1 -1
- package/dist/components/Video.mjs +1 -1
- package/dist/components/Video.vue.d.ts.map +1 -1
- package/dist/components/Walkthrough.cjs +1 -1
- package/dist/components/Walkthrough.mjs +1 -1
- package/dist/components/Walkthrough.vue.d.ts.map +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 +9 -0
- package/dist/components/manifest.d.ts.map +1 -1
- package/dist/components/manifest.js +9 -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/useNbStrings.composable.cjs +1 -1
- package/dist/composables/useNbStrings.composable.d.ts +77 -0
- package/dist/composables/useNbStrings.composable.d.ts.map +1 -1
- package/dist/composables/useNbStrings.composable.mjs +68 -0
- package/dist/composables/useRovingFocus.composable.cjs +1 -0
- package/dist/composables/useRovingFocus.composable.d.ts +22 -0
- package/dist/composables/useRovingFocus.composable.d.ts.map +1 -0
- package/dist/composables/useRovingFocus.composable.mjs +56 -0
- package/dist/directives/ToolTip.directive.d.ts +56 -0
- package/dist/directives/ToolTip.directive.d.ts.map +1 -1
- package/dist/global.d.ts +18 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +152 -143
- package/dist/main-Bo1B-xzL.cjs +4 -0
- package/dist/main-nO1LQzsc.js +744 -0
- package/dist/main.d.ts +21 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/styles/AccordionItem.css +1 -1
- package/dist/styles/ActionGroup.css +1 -1
- package/dist/styles/Banner.css +1 -1
- package/dist/styles/BatchActions.css +1 -0
- package/dist/styles/BlueprintCard.css +1 -1
- package/dist/styles/BlueprintControls.css +1 -1
- package/dist/styles/Board.css +1 -1
- package/dist/styles/BottomPanel.css +1 -1
- package/dist/styles/Breadcrumbs.css +1 -1
- package/dist/styles/Button.css +1 -1
- package/dist/styles/ButtonSet.css +1 -0
- package/dist/styles/Calendar.css +1 -1
- package/dist/styles/Card.css +1 -1
- package/dist/styles/ChipGroup.css +1 -0
- package/dist/styles/CommandPalette.css +1 -1
- package/dist/styles/Confirm.css +1 -1
- package/dist/styles/ContainedListItem.css +1 -1
- package/dist/styles/ContentSwitcher.css +1 -0
- package/dist/styles/DataTable.css +1 -1
- package/dist/styles/DatePicker.css +1 -1
- package/dist/styles/FileUploader.css +1 -1
- package/dist/styles/FloatingToolbar.css +1 -1
- package/dist/styles/ImagePicker.css +1 -1
- package/dist/styles/InfoHint.css +1 -1
- package/dist/styles/InlineEdit.css +1 -1
- package/dist/styles/InputGroup.css +1 -0
- 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/OverflowMenu.css +1 -0
- package/dist/styles/Pagination.css +1 -1
- package/dist/styles/Search.css +1 -0
- package/dist/styles/Select.css +1 -1
- package/dist/styles/Shell.css +1 -1
- package/dist/styles/ShellPanel.css +1 -1
- package/dist/styles/SidebarHeaderToggle.css +1 -1
- package/dist/styles/Skeleton.css +1 -1
- package/dist/styles/SuggestionList.css +1 -1
- package/dist/styles/TableOfContents.css +1 -1
- package/dist/styles/TextInput.css +1 -1
- package/dist/styles/Toast.css +1 -1
- package/dist/styles/Toolbar.css +1 -0
- package/dist/styles/UserMenu.css +1 -1
- package/dist/styles/Walkthrough.css +1 -1
- package/dist/ui.css +45 -37
- package/dist/utils/actionFit.helper.cjs +1 -0
- package/dist/utils/actionFit.helper.d.ts +20 -0
- package/dist/utils/actionFit.helper.d.ts.map +1 -0
- package/dist/utils/actionFit.helper.mjs +13 -0
- package/package.json +2 -2
- package/src/styles/_theme.scss +11 -4
- package/src/styles/logic/_field.scss +22 -0
- package/src/styles/logic/_focus.scss +20 -0
- package/src/styles/logic/index.scss +1 -0
- package/src/utils/actionFit.helper.ts +40 -0
- package/dist/AccordionItem-DFwj28eL.js +0 -118
- package/dist/AccordionItem-DhZD2kJL.cjs +0 -1
- package/dist/ActionGroup-CJoBGUvw.js +0 -171
- package/dist/ActionGroup-CU9YQboQ.cjs +0 -1
- package/dist/BackToTop-C5gFfuu7.cjs +0 -1
- package/dist/BackToTop-DZhl6N_Q.js +0 -56
- package/dist/Banner-5uX-ujbu.js +0 -93
- package/dist/Banner-CiIQKSxv.cjs +0 -1
- package/dist/BlueprintCard-Cda5rPZu.cjs +0 -1
- package/dist/BlueprintControls-DnUoI9qp.cjs +0 -1
- package/dist/Board-BNB96CXm.cjs +0 -1
- package/dist/BottomPanel-CYxavAS0.cjs +0 -1
- package/dist/BottomPanel-vFcIk2nf.js +0 -115
- package/dist/Breadcrumbs-B-pjVWeD.js +0 -184
- package/dist/Breadcrumbs-CqDYLfIQ.cjs +0 -1
- package/dist/Button-C0N1cyOQ.cjs +0 -1
- package/dist/Button-CuwzIVWv.js +0 -132
- package/dist/Calendar-Bbk7bPW1.cjs +0 -1
- package/dist/Calendar-EiqHtUG2.js +0 -155
- package/dist/Card-B5FTcFEQ.cjs +0 -1
- package/dist/Card-DUTWbKv7.js +0 -143
- package/dist/CommandPalette-C8-2XCrf.cjs +0 -1
- package/dist/Confirm-BA-t4jPF.cjs +0 -1
- package/dist/Confirm-MmMvMttu.js +0 -313
- package/dist/ContainedListItem-Dj7TcGpO.cjs +0 -1
- package/dist/CopyButton-Bcc2BDJ8.js +0 -65
- package/dist/CopyButton-CwHAVKQ6.cjs +0 -1
- package/dist/DataTable-D4KrQH5E.js +0 -485
- package/dist/DataTable-DVJnvBQM.cjs +0 -1
- package/dist/DatePicker-BmuVSyZ3.cjs +0 -1
- package/dist/DatePicker-CagtB0Sd.js +0 -743
- package/dist/FileUploader-B9j-HmX3.js +0 -193
- package/dist/FileUploader-BolhAWrI.cjs +0 -1
- package/dist/FloatingToolbar-CYOuKLd7.js +0 -140
- package/dist/FloatingToolbar-DxUUozlf.cjs +0 -1
- package/dist/ImagePicker-CZEFzYC8.js +0 -171
- package/dist/ImagePicker-CebI8MDy.cjs +0 -1
- package/dist/InfoHint-DVrm41q9.js +0 -177
- package/dist/InfoHint-WYitTbYz.cjs +0 -1
- package/dist/InlineEdit-DViLVwtn.js +0 -116
- package/dist/InlineEdit-DfkmTudh.cjs +0 -1
- package/dist/Menu-CLDGxi-1.cjs +0 -1
- package/dist/Menu-C_UsGyKX.js +0 -177
- package/dist/MenuItem-CvpxnM4W.cjs +0 -1
- package/dist/Modal-1i_nDqvM.cjs +0 -1
- package/dist/Modal-CxIl02xU.js +0 -229
- package/dist/NotificationCenter-CXn7sGFw.cjs +0 -1
- package/dist/NotificationCenter-Cu_vs-jh.js +0 -584
- package/dist/NumberInput-CMxlZ54a.cjs +0 -1
- package/dist/NumberInput-Dy0leAIF.js +0 -324
- package/dist/Select-Bz4tf2H_.cjs +0 -1
- package/dist/Select-hL8I-aNK.js +0 -603
- package/dist/Shell-BxGBrQsM.js +0 -536
- package/dist/Shell-BzXh23BU.cjs +0 -1
- package/dist/ShellPanel-DzkkJYVd.js +0 -126
- package/dist/ShellPanel-XYKkAc5n.cjs +0 -1
- package/dist/Skeleton-CqZ9O0X0.cjs +0 -1
- package/dist/SuggestionList-BJjbVvt2.cjs +0 -1
- package/dist/SuggestionList-Bdx7CK__.js +0 -189
- package/dist/TextInput-BXyJQfGx.js +0 -348
- package/dist/TextInput-DKp819VS.cjs +0 -2
- package/dist/Toast-BKrvlON6.cjs +0 -1
- package/dist/Toast-fRHhhjZV.js +0 -115
- package/dist/UserMenu-GJHs1fKI.cjs +0 -1
- package/dist/Video-D1WOYCYH.cjs +0 -1
- package/dist/Video-DrDqaCXl.js +0 -104
- package/dist/Walkthrough-DXMDgB9t.cjs +0 -1
- package/dist/Walkthrough-D_vfYTWP.js +0 -327
- package/dist/main-BTximdIU.js +0 -1255
- package/dist/main-DkNxc78b.cjs +0 -4
- package/dist/motion-BjVtMTXD.cjs +0 -1
- package/dist/motion-C0h9XZQZ.js +0 -18
- /package/dist/{Badge-CfICqXrd.cjs → Badge-BYfdJcdD.cjs} +0 -0
- /package/dist/{Badge-BFsoJcCK.js → Badge-scjsdx_V.js} +0 -0
- /package/dist/{Blueprint.context-B3d5-4jD.cjs → Blueprint.context-BX56xsrT.cjs} +0 -0
- /package/dist/{Blueprint.context-B4bRLj7m.js → Blueprint.context-Bz6Jy1Ou.js} +0 -0
- /package/dist/{BlueprintBackground-5OOF-VpK.js → BlueprintBackground-DPjZeMwY.js} +0 -0
- /package/dist/{BlueprintBackground-D_JokLTK.cjs → BlueprintBackground-yHRGclEz.cjs} +0 -0
- /package/dist/{BlueprintMinimap-CACuVJqI.cjs → BlueprintMinimap-qskDNYyr.cjs} +0 -0
- /package/dist/{BlueprintMinimap-Ehrltju2.js → BlueprintMinimap-xnsyS1M8.js} +0 -0
- /package/dist/{Card.link-eRkbFiF1.cjs → Card.link-Bw2B_lPO.cjs} +0 -0
- /package/dist/{Card.link-CB8_CTbn.js → Card.link-CdvubtHJ.js} +0 -0
- /package/dist/{CardGrid-DzjiR2wg.cjs → CardGrid-DPaITpcU.cjs} +0 -0
- /package/dist/{CardGrid-BOhFOzTs.js → CardGrid-j0TFmVrQ.js} +0 -0
- /package/dist/{ChartLegend-C81jju4k.cjs → ChartLegend-COJeG-2B.cjs} +0 -0
- /package/dist/{ChartLegend-fsJqOyGj.js → ChartLegend-LDNukufA.js} +0 -0
- /package/dist/{CheckboxGroup.context-C8p21aqH.cjs → CheckboxGroup.context-ADwiY4gy.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-Cu0BA648.js → CheckboxGroup.context-C1QB-Zsq.js} +0 -0
- /package/dist/{ContainedList-DV8kZgTS.cjs → ContainedList-CBWwEmoK.cjs} +0 -0
- /package/dist/{ContainedList-7uMU4e4Z.js → ContainedList-PUA2OJ08.js} +0 -0
- /package/dist/{DefinitionList-DIPobaPW.js → DefinitionList-BOVcW-V7.js} +0 -0
- /package/dist/{DefinitionList-BuRW4drr.cjs → DefinitionList-CndoLDLs.cjs} +0 -0
- /package/dist/{DefinitionListItem-CbVnrShi.js → DefinitionListItem-C3VrLhWY.js} +0 -0
- /package/dist/{DefinitionListItem-Bf9amK8a.cjs → DefinitionListItem-CLztc8mQ.cjs} +0 -0
- /package/dist/{DragHandle-snItY92k.cjs → DragHandle-Bz2N22Sm.cjs} +0 -0
- /package/dist/{DragHandle-dCNBfHJe.js → DragHandle-Cc7WrUj7.js} +0 -0
- /package/dist/{EmptyState-B8EM9ynK.cjs → EmptyState-Db0Zrrk2.cjs} +0 -0
- /package/dist/{EmptyState-D-fku2DD.js → EmptyState-DhlJV0C6.js} +0 -0
- /package/dist/{Field-3S8uGW95.cjs → Field-COMPegVv.cjs} +0 -0
- /package/dist/{Field-DK5iec3Z.js → Field-D12Dja-u.js} +0 -0
- /package/dist/{Flag-myXFwopO.js → Flag-DyDqHJy3.js} +0 -0
- /package/dist/{Flag-CNx_cE4Q.cjs → Flag-gM91kXTi.cjs} +0 -0
- /package/dist/{Grid-jlgLOwom.js → Grid-B7d8x0tA.js} +0 -0
- /package/dist/{Grid-C0muGlj3.cjs → Grid-BOtE_jXr.cjs} +0 -0
- /package/dist/{JsonTree-Bmj8WtzK.cjs → JsonTree-MjCO8_Xk.cjs} +0 -0
- /package/dist/{JsonTree-BWfMcWOV.js → JsonTree-VbXpLPoG.js} +0 -0
- /package/dist/{Label-CTOPIIbR.cjs → Label-CjxnZgNy.cjs} +0 -0
- /package/dist/{Label-BDMCrURR.js → Label-xwHw_UbN.js} +0 -0
- /package/dist/{Layer-BJeI6Q6N.js → Layer-Btb-b9Mk.js} +0 -0
- /package/dist/{Layer-D-MNrLiB.cjs → Layer-D0NqQYM0.cjs} +0 -0
- /package/dist/{MenuBar-aLDr7-eJ.cjs → MenuBar-BVgGbppN.cjs} +0 -0
- /package/dist/{MenuBar-DyJufs5b.js → MenuBar-M2eiYZG0.js} +0 -0
- /package/dist/{MenuDivider-aZIXvYsH.js → MenuDivider-B3tNv2aj.js} +0 -0
- /package/dist/{MenuDivider-D75yF8o8.cjs → MenuDivider-BSMtwoUU.cjs} +0 -0
- /package/dist/{Message-Bija1nMK.cjs → Message-BJO4MjiQ.cjs} +0 -0
- /package/dist/{Message-BONOwoVY.js → Message-DCeg8qsC.js} +0 -0
- /package/dist/{NotificationCenterItem-zdOMnxv1.cjs → NotificationCenterItem-D0agavaK.cjs} +0 -0
- /package/dist/{NotificationCenterItem-BbbBFYEu.js → NotificationCenterItem-O6SR_6KR.js} +0 -0
- /package/dist/{NubiscoMark-Cf7Ek83E.cjs → NubiscoMark-3StsXBoJ.cjs} +0 -0
- /package/dist/{NubiscoMark-BLT8ULAl.js → NubiscoMark-XJWPWIc0.js} +0 -0
- /package/dist/{NubiscoPlatformMark-Dca7vi6H.js → NubiscoPlatformMark-BgQLjI89.js} +0 -0
- /package/dist/{NubiscoPlatformMark-CXMSQDYh.cjs → NubiscoPlatformMark-D8WIp4On.cjs} +0 -0
- /package/dist/{PageLayout-DQKfOSQq.js → PageLayout-BMcT2mzU.js} +0 -0
- /package/dist/{PageLayout-Dw4JYS3k.cjs → PageLayout-DHi1w1PD.cjs} +0 -0
- /package/dist/{PrimaryAction.context-BkYkcMlm.js → PrimaryAction.context-DZUcR5ER.js} +0 -0
- /package/dist/{PrimaryAction.context-2v_jcQAo.cjs → PrimaryAction.context-DnzRVqGH.cjs} +0 -0
- /package/dist/{ReorderList-B1CYGR0e.js → ReorderList-DmjW30Mw.js} +0 -0
- /package/dist/{ReorderList-DBW8TBu6.cjs → ReorderList-qScXc3-v.cjs} +0 -0
- /package/dist/{SidebarBrand-FHBO4Dw3.js → SidebarBrand-CZf-kRyZ.js} +0 -0
- /package/dist/{SidebarBrand-CX-BgI4X.cjs → SidebarBrand-D2u7hX-v.cjs} +0 -0
- /package/dist/{SidebarLink-xtGCDABj.js → SidebarLink-BuRBmv_k.js} +0 -0
- /package/dist/{SidebarLink-DTGVapwa.cjs → SidebarLink-CSTNfb2F.cjs} +0 -0
- /package/dist/{SidebarMenu-CnsOBXeM.cjs → SidebarMenu-CAthEmyy.cjs} +0 -0
- /package/dist/{SidebarMenu-D24o7HS-.js → SidebarMenu-CgWUHllQ.js} +0 -0
- /package/dist/{SidebarMenuGroup-DJasr_cx.cjs → SidebarMenuGroup-B9JGPBcF.cjs} +0 -0
- /package/dist/{SidebarMenuGroup-Bjc2IeK5.js → SidebarMenuGroup-DdWg57Wv.js} +0 -0
- /package/dist/{SidebarMenuItem-UFeKPTvc.js → SidebarMenuItem-BvvoDIjK.js} +0 -0
- /package/dist/{SidebarMenuItem-DP4L8ljr.cjs → SidebarMenuItem-eFnj5QoE.cjs} +0 -0
- /package/dist/{SidebarStatus-D-CfUYFc.js → SidebarStatus-CnTnYL4x.js} +0 -0
- /package/dist/{SidebarStatus-YfLW9xzC.cjs → SidebarStatus-CvjuggXO.cjs} +0 -0
- /package/dist/{Sparkline-MAi1Fh2T.cjs → Sparkline-B7kUEfuW.cjs} +0 -0
- /package/dist/{Sparkline-m3wbt-f1.js → Sparkline-CVzkzaOJ.js} +0 -0
- /package/dist/{Stepper.context-DUIDhN9Q.cjs → Stepper.context-Brnt5IZv.cjs} +0 -0
- /package/dist/{Stepper.context-DqfEvgGM.js → Stepper.context-CRKX8lxW.js} +0 -0
- /package/dist/{StructuredList-h9JFXpF4.cjs → StructuredList-BexC0c1Z.cjs} +0 -0
- /package/dist/{StructuredList-BSfuLANB.js → StructuredList-DuBBP01p.js} +0 -0
- /package/dist/{Submenu-Dxo3DUDA.cjs → Submenu-DRkHiWsD.cjs} +0 -0
- /package/dist/{Submenu-BnMaJKYm.js → Submenu-Dnj5MiFy.js} +0 -0
- /package/dist/{TextInput.context-DV1MgL_Q.js → TextInput.context-B-mipPOo.js} +0 -0
- /package/dist/{TextInput.context-UTLuljcO.cjs → TextInput.context-ChkcqMNM.cjs} +0 -0
- /package/dist/{TreeContext-TZ35sT5B.cjs → TreeContext-B2Io2oii.cjs} +0 -0
- /package/dist/{TreeContext--GZ21fCm.js → TreeContext-Cs4iAw0d.js} +0 -0
- /package/dist/{Wireframe-CL0rjsos.cjs → Wireframe-3fvc4I5-.cjs} +0 -0
- /package/dist/{Wireframe-BxUNaH2g.js → Wireframe-C_Ca3wCn.js} +0 -0
- /package/dist/{palette-CWU7exM6.js → palette-6bEW4KUN.js} +0 -0
- /package/dist/{palette-B7XEOMVB.cjs → palette-LbOzdAXj.cjs} +0 -0
- /package/dist/{pixi-scene-BKyneWmd.cjs → pixi-scene-CQ1qoZvX.cjs} +0 -0
- /package/dist/{pixi-scene-TbaBQ2-u.js → pixi-scene-DFCEvc1j.js} +0 -0
- /package/dist/{scales-CNW8JgKC.js → scales-BGzTviac.js} +0 -0
- /package/dist/{scales-B8IbC7t_.cjs → scales-BRSHTjbp.cjs} +0 -0
- /package/dist/{useChartSize-CftshgoY.js → useChartSize-05CLdiR0.js} +0 -0
- /package/dist/{useChartSize-B6Bes760.cjs → useChartSize-CUZ7BuGD.cjs} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-Dn1mqnqe.cjs → useLoadingAnnouncer.composable-CEPRjDi3.cjs} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-BAwecV1M.js → useLoadingAnnouncer.composable-c0XX_xNT.js} +0 -0
- /package/dist/{vue-i18n-DSR949qU.js → vue-i18n-DaD-yZmK.js} +0 -0
- /package/dist/{vue-i18n-DIvTc6LM.cjs → vue-i18n-ZdR0XDmN.cjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Button-BHFtgOXA.cjs`),t=require(`./composables/useReducedMotion.composable.cjs`),n=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),r=require(`./composables/useSurfaceLayer.composable.cjs`),i=require(`./composables/useNbStrings.composable.cjs`),ee=require(`./utils/slotContent.helper.cjs`),te=require(`./CloseButton-9TTFHFmx.cjs`),a=require(`./composables/useShellSlot.composable.cjs`),ne=require(`./composables/useShellLayout.composable.cjs`);let o=require(`vue`);var re=(0,o.defineComponent)({__name:`SurfaceLayerScope`,props:{level:{}},setup(e){let t=e;return(0,o.provide)(r.NB_LAYER_INJECTION_KEY,(0,o.computed)(()=>r.clampLayer(t.level))),(e,t)=>(0,o.renderSlot)(e.$slots,`default`)}}),ie=[`href`],ae={class:`nb-shell__middle`},oe=[`id`,`aria-label`,`tabindex`,`inert`,`aria-hidden`],se={class:`nb-shell__sidebar-logo`},ce={class:`nb-shell__sidebar-header-action`},le={key:1,class:`nb-shell__sidebar-logo`},ue={class:`nb-shell__sidebar-nav`},de={class:`nb-shell__sidebar-bottom`},fe={class:`nb-shell__right`},pe={key:2,class:`nb-shell__menubar`},me={key:3,class:`nb-shell__topbar`},he=[`aria-label`,`aria-expanded`,`aria-controls`],ge={class:`nb-shell__content-row`},_e=[`inert`,`aria-hidden`],ve={class:`nb-shell__page`},ye=[`aria-expanded`],be={class:`nb-shell__contextbar-toggle-glyph`,"aria-hidden":`true`},xe={class:`nb-shell__main-row`},Se=[`aria-label`],Ce=[`id`],we=[`aria-label`,`inert`,`aria-hidden`],Te=[`aria-label`,`aria-valuenow`,`aria-valuemax`],Ee=`(pointer: coarse) and (hover: none) and (max-height: 500px)`,De=`a[href], [role="menuitem"]`,s=288,Oe=16,ke=64,Ae=(0,o.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},routeTransition:{type:Boolean,default:!1},routeKey:{},sidebarVariant:{default:`compact`},sidebarHeaderActionPosition:{default:`end`},sidebarHeaderActionCompact:{default:`stack`},topbar:{default:`auto`},frame:{default:`attached`},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:void 0}},emits:[`update:inspectorWidth`,`update:sidebarOpen`,`update:inspectorVisible`],setup(n,{expose:Ae,emit:je}){let Me=(0,o.useSlots)(),Ne=i.useNbStrings();function c(e){return ee.hasSlotContent(Me,e)}let{registry:Pe,count:l,sharedCount:Fe,setElement:u}=a.createShellSlotRegistry();(0,o.provide)(a.NB_SHELL_SLOT_KEY,Pe);let Ie=new Map;function d(e){let t=Ie.get(e);return t||(t=t=>u(e,t??null),Ie.set(e,t)),t}function f(e){return c(e)||l(e)>0}function p(e){return Fe(e)>0?`nb-shell__region--ordered`:null}let m=(0,o.computed)(()=>{for(let e of[`sidebar-logo`,`sidebar-nav`,`sidebar-bottom`])if(c(e))return!0;return!1}),h=n,Le=(0,o.getCurrentInstance)()?.appContext.config.globalProperties,Re=(0,o.computed)(()=>h.routeKey===void 0?Le?.$route?.path??``:h.routeKey),g=(0,o.ref)(!1),_=je,ze={md:672,lg:1056},v=(0,o.ref)(typeof window<`u`?window.innerWidth:1/0);function y(e){let t=ze[h.collapseAt];return t!=null&&e<t}let b=0;function Be(){let e=window.innerWidth;y(e)!==y(v.value)&&(v.value=e)}function Ve(){b||=window.requestAnimationFrame(()=>{b=0,v.value=window.innerWidth})}function He(){typeof window>`u`||(window.removeEventListener(`resize`,Ve),b&&=(window.cancelAnimationFrame(b),0))}function Ue(){typeof window>`u`||(v.value=window.innerWidth,window.addEventListener(`resize`,Ve,{passive:!0}))}let x=typeof window<`u`&&typeof window.matchMedia==`function`?window.matchMedia(Ee):null,S=(0,o.ref)(x?.matches===!0);function C(e){S.value=e.matches}let w=(0,o.computed)(()=>y(v.value)||h.collapseAt!==`none`&&S.value),T=(0,o.getCurrentInstance)()?.vnode.props??{};function E(e,t){return e in T||t in T}function We(e,t){if(e in T)return T[e];if(t in T)return T[t]}function D(e,t){return E(e,t)&&We(e,t)!==void 0}let O=D(`sidebarOpen`,`sidebar-open`),k=(0,o.ref)(!1);E(`sidebarOpen`,`sidebar-open`)&&!O&&(0,o.watch)(()=>h.sidebarOpen,e=>{k.value=e===!0});let A=(0,o.computed)(()=>O?h.sidebarOpen===!0:k.value),Ge=(0,o.useId)(),Ke=(0,o.computed)(()=>`nb-shell-sidebar-${Ge}`),qe=(0,o.ref)(null),j=(0,o.ref)(null),Je=(0,o.computed)(()=>m.value&&w.value),Ye=(0,o.computed)(()=>m.value&&w.value&&!A.value);function M(e){O||(k.value=e),_(`update:sidebarOpen`,e)}function Xe(e){if(!e.defaultPrevented){if(m.value&&w.value&&A.value){M(!1);return}R.value&&z(!1)}}function N(e,t){let n=e.target,r=n?.closest?.(De);if(!r||!t?.contains(r))return!1;let i=r.getAttribute(`aria-haspopup`);return!(i!=null&&i!==`false`||r.hasAttribute(`aria-expanded`)||r.getAttribute(`aria-disabled`)===`true`||n?.closest?.(`[data-nb-keep-open]`))}function Ze(e){!w.value||!A.value||N(e,j.value)&&M(!1)}function Qe(e){!w.value||!g.value||N(e,e.currentTarget)&&(g.value=!1)}function $e(e){g.value=e}(0,o.watch)(A,async e=>{w.value&&(await(0,o.nextTick)(),e?(j.value?.querySelector(`a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])`)??j.value)?.focus?.():qe.value?.focus?.())}),(0,o.watch)(w,e=>{!e&&A.value&&M(!1)});let P=D(`inspectorVisible`,`inspector-visible`),F=(0,o.ref)(h.inspectorVisible===!0);E(`inspectorVisible`,`inspector-visible`)&&!P&&(0,o.watch)(()=>h.inspectorVisible,e=>{F.value=e===!0});let I=(0,o.ref)(!1),L=(0,o.computed)(()=>(P?h.inspectorVisible===!0:F.value)?!(w.value&&I.value):!1),R=(0,o.computed)(()=>w.value&&L.value);function z(e){P?I.value=!e:(F.value=e,I.value=!1),_(`update:inspectorVisible`,e)}(0,o.watch)(()=>h.inspectorVisible,e=>{e&&(I.value=!1)}),(0,o.watch)(w,e=>{e||(I.value=!1)});let et=(0,o.ref)(null),B=(0,o.ref)(null);(0,o.watch)(R,async e=>{if(e)B.value=document.activeElement??null,await(0,o.nextTick)(),et.value?.focus?.();else{let e=B.value;B.value=null,e?.isConnected&&(await(0,o.nextTick)(),e.focus?.())}}),(0,o.watch)(R,e=>{e&&m.value&&A.value&&M(!1)});function tt(){z(!1)}(0,o.provide)(ne.NB_SHELL_LAYOUT_KEY,{collapsed:w,inspectorOverlay:R});let V=(0,o.computed)(()=>R.value),H=(0,o.ref)(null),nt=(0,o.useId)(),rt=(0,o.computed)(()=>h.mainId||`nb-shell-main-${nt}`);function it(){H.value?.focus()}let at=(0,o.computed)(()=>Je.value||h.topbar===`always`?!0:h.topbar===`never`?!1:c(`topbar-left`)||c(`topbar-right`)||l(`topbar-left`)>0||l(`topbar-right`)>0),{layerProps:ot}=r.useSurfaceLayer(),{layerProps:st}=r.useSurfaceLayer({level:0,probe:!1,provideContext:!1}),ct=e.s.medium,U=(0,o.ref)(h.sidebarVariant),lt=(0,o.computed)(()=>w.value&&c(`sidebar-header-action`)?`verbose`:h.sidebarVariant),W=(0,o.ref)(null),G,ut=()=>typeof window>`u`||typeof window.matchMedia!=`function`||t.prefersReducedMotion();(0,o.watch)(()=>h.sidebarVariant,e=>{if(clearTimeout(G),ut()||w.value){U.value=e,W.value=null;return}if(e===`verbose`){U.value=e,W.value=`expanding`,G=setTimeout(()=>{W.value=null},ct);return}W.value=`collapsing`,G=setTimeout(()=>{U.value=e,W.value=null},ct)}),(0,o.onBeforeUnmount)(()=>clearTimeout(G));let dt=(0,o.computed)(()=>w.value&&c(`sidebar-header-action`)?`verbose`:U.value);(0,o.provide)(`nb-shell-sidebar-variant`,dt);let ft=(0,o.computed)(()=>c(`sidebar-header-action`)&&!w.value);(0,o.provide)(`nb-shell-sidebar-header-action-position`,(0,o.toRef)(h,`sidebarHeaderActionPosition`));let K=(0,o.ref)(null),q=(0,o.ref)(!1);(0,o.onMounted)(()=>u(`inspector`,K.value)),(0,o.watch)(K,e=>u(`inspector`,e));let pt={lg:.5,xl:.75},mt={xs:288,sm:360,md:560},J=(0,o.computed)(()=>Number.isFinite(v.value)?v.value:1280),Y=(0,o.computed)(()=>Math.max(s,J.value*.5));function X(e){return Math.round(Math.max(s,Math.min(e,Y.value)))}let ht=D(`inspectorWidth`,`inspector-width`),gt=(0,o.ref)(null),_t=(0,o.computed)(()=>ht?h.inspectorWidth??null:gt.value);function Z(e){ht||(gt.value=e),_(`update:inspectorWidth`,e)}let vt=(0,o.computed)(()=>{let e=_t.value;if(!(!h.resizable||!L.value||e==null))return{"--nb-shell-inspector-width":`${X(e)}px`}}),Q=(0,o.computed)(()=>{let e=_t.value;if(e!=null)return X(e);if(h.inspectorExpanded)return Math.round(J.value*.5);let t=pt[h.inspectorSize],n=t==null?mt[h.inspectorSize]??s:J.value*t;return Math.round(h.inspectorSize===`xl`?n:Math.min(n,Y.value))}),yt=(0,o.computed)(()=>Math.round(Math.max(Y.value,Q.value))),bt=(0,o.computed)(()=>Q.value);function xt(){return Q.value}function St(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`,St),window.removeEventListener(`pointerup`,$),window.removeEventListener(`pointercancel`,$)}function Ct(e){h.resizable&&(e.preventDefault(),q.value=!0,window.addEventListener(`pointermove`,St),window.addEventListener(`pointerup`,$),window.addEventListener(`pointercancel`,$))}function wt(){Z(null)}function Tt(e){if(!h.resizable)return;let t=e.shiftKey?ke:Oe,n;switch(e.key){case`ArrowLeft`:n=xt()+t;break;case`ArrowRight`:n=xt()-t;break;case`Home`:n=s;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,o.onMounted)(()=>{typeof window>`u`||(v.value=window.innerWidth,window.addEventListener(`resize`,Be,{passive:!0}),h.resizable&&Ue(),x&&(S.value=x.matches,typeof x.addEventListener==`function`?x.addEventListener(`change`,C):x.addListener?.(C)))}),(0,o.watch)(()=>h.collapseAt,()=>{typeof window<`u`&&(v.value=window.innerWidth)}),(0,o.watch)(()=>h.resizable,e=>e?Ue():He()),(0,o.onBeforeUnmount)(()=>{$(),He(),typeof window<`u`&&window.removeEventListener(`resize`,Be),x&&(typeof x.removeEventListener==`function`?x.removeEventListener(`change`,C):x.removeListener?.(C))}),Ae({mainEl:H,sidebarEl:j,inspectorEl:K,focusMain:()=>H.value?.focus(),setSidebarOpen:M,setInspectorVisible:z,collapsed:w,inspectorOverlay:R,setContextbarOpen:$e}),(e,t)=>((0,o.openBlock)(),(0,o.createElementBlock)(`div`,(0,o.mergeProps)({class:`nb-shell`},(0,o.unref)(ot),{class:[{"nb-shell--no-sidebar":!m.value},m.value?`nb-shell--sidebar-${dt.value}`:null,{"nb-shell--rail-wide":m.value&<.value===`verbose`,"nb-shell--detached":n.frame===`detached`,"nb-shell--collapsed":w.value,"nb-shell--drawer-open":w.value&&A.value,"nb-shell--rail-collapsing":W.value===`collapsing`,"nb-shell--rail-expanding":W.value===`expanding`}],onKeydown:(0,o.withKeys)(Xe,[`esc`])}),[n.skipToContent?((0,o.openBlock)(),(0,o.createElementBlock)(`a`,{key:0,class:`nb-shell__skip-link`,href:`#${rt.value}`,onClick:it},(0,o.toDisplayString)(n.skipToContentLabel),9,ie)):(0,o.createCommentVNode)(``,!0),f(`outer-menu`)?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:1,ref:d(`outer-menu`),class:(0,o.normalizeClass)([`nb-shell__outer-menu`,p(`outer-menu`)])},[(0,o.renderSlot)(e.$slots,`outer-menu`,{},void 0,!0)],2)):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`div`,ae,[m.value?((0,o.openBlock)(),(0,o.createElementBlock)(`nav`,{key:0,id:Ke.value,ref_key:`sidebarRef`,ref:j,class:`nb-shell__sidebar`,"aria-label":n.sidebarLabel,tabindex:w.value?-1:void 0,inert:Ye.value||void 0,"aria-hidden":Ye.value||void 0,onClickCapture:Ze},[ft.value?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:0,class:(0,o.normalizeClass)([`nb-shell__sidebar-header`,[`nb-shell__sidebar-header--${n.sidebarHeaderActionPosition}`,`nb-shell__sidebar-header--compact-${n.sidebarHeaderActionCompact}`]])},[(0,o.createElementVNode)(`div`,se,[(0,o.renderSlot)(e.$slots,`sidebar-logo`,{},void 0,!0)]),(0,o.createElementVNode)(`div`,ce,[(0,o.renderSlot)(e.$slots,`sidebar-header-action`,{},void 0,!0)])],2)):((0,o.openBlock)(),(0,o.createElementBlock)(`div`,le,[(0,o.renderSlot)(e.$slots,`sidebar-logo`,{},void 0,!0)])),(0,o.createElementVNode)(`div`,ue,[(0,o.renderSlot)(e.$slots,`sidebar-nav`,{},void 0,!0)]),t[4]||=(0,o.createElementVNode)(`div`,{class:`nb-shell__sidebar-spacer`},null,-1),(0,o.createElementVNode)(`div`,de,[(0,o.renderSlot)(e.$slots,`sidebar-bottom`,{},void 0,!0)])],40,oe)):(0,o.createCommentVNode)(``,!0),(0,o.createVNode)(o.Transition,{name:`nb-shell-scrim`},{default:(0,o.withCtx)(()=>[m.value&&w.value&&A.value?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:0,class:`nb-shell__scrim`,onClick:t[0]||=e=>M(!1)})):(0,o.createCommentVNode)(``,!0)]),_:1}),(0,o.createElementVNode)(`div`,fe,[f(`inner-menu`)?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:0,ref:d(`inner-menu`),class:(0,o.normalizeClass)([`nb-shell__inner-menu`,p(`inner-menu`)])},[(0,o.renderSlot)(e.$slots,`inner-menu`,{},void 0,!0)],2)):(0,o.createCommentVNode)(``,!0),f(`notification`)?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:1,ref:d(`notification`),class:(0,o.normalizeClass)([`nb-shell__notification`,p(`notification`)])},[(0,o.renderSlot)(e.$slots,`notification`,{},void 0,!0)],2)):(0,o.createCommentVNode)(``,!0),c(`menubar`)?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,pe,[(0,o.renderSlot)(e.$slots,`menubar`,{},void 0,!0)])):(0,o.createCommentVNode)(``,!0),at.value?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,me,[Je.value?((0,o.openBlock)(),(0,o.createElementBlock)(`button`,{key:0,ref_key:`navToggleRef`,ref:qe,type:`button`,class:`nb-shell__nav-toggle`,"aria-label":n.navToggleLabel,"aria-expanded":A.value,"aria-controls":Ke.value,onClick:t[1]||=e=>M(!A.value)},[...t[5]||=[(0,o.createElementVNode)(`span`,{class:`nb-shell__nav-toggle-glyph`,"aria-hidden":`true`},[(0,o.createElementVNode)(`span`),(0,o.createElementVNode)(`span`),(0,o.createElementVNode)(`span`)],-1)]],8,he)):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`div`,{ref:d(`topbar-left`),class:`nb-shell__topbar-left`},[(0,o.renderSlot)(e.$slots,`topbar-left`,{},void 0,!0)],512),(0,o.createElementVNode)(`div`,{ref:d(`topbar-right`),class:`nb-shell__topbar-right`},[(0,o.renderSlot)(e.$slots,`topbar-right`,{},void 0,!0)],512)])):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`div`,ge,[(0,o.createElementVNode)(`div`,{class:`nb-shell__body`,inert:V.value||void 0,"aria-hidden":V.value||void 0},[(0,o.createElementVNode)(`div`,ve,[f(`fixedbar`)?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:0,ref:d(`fixedbar`),class:`nb-shell__fixedbar`},[(0,o.renderSlot)(e.$slots,`fixedbar`,{},void 0,!0)],512)):(0,o.createCommentVNode)(``,!0),w.value&&f(`contextbar`)?((0,o.openBlock)(),(0,o.createElementBlock)(`button`,{key:1,type:`button`,class:`nb-shell__contextbar-toggle`,"aria-expanded":g.value,onClick:t[2]||=e=>g.value=!g.value},[(0,o.createElementVNode)(`span`,null,(0,o.toDisplayString)(n.contextbarLabel),1),(0,o.createElementVNode)(`span`,be,(0,o.toDisplayString)(g.value?`▾`:`▸`),1)],8,ye)):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`div`,xe,[f(`contextbar`)?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)(`aside`,{key:0,ref:d(`contextbar`),class:(0,o.normalizeClass)([`nb-shell__contextbar`,p(`contextbar`)]),"aria-label":n.contextbarLabel,onClickCapture:Qe},[(0,o.renderSlot)(e.$slots,`contextbar`,{},void 0,!0)],42,Se)),[[o.vShow,!w.value||g.value]]):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`main`,(0,o.mergeProps)({id:rt.value,ref_key:`mainRef`,ref:H,tabindex:`-1`,class:[`nb-shell__main`,{"nb-shell__main--no-padding":!n.mainPadding}]},(0,o.unref)(st)),[(0,o.createVNode)(re,{level:1},{default:(0,o.withCtx)(()=>[n.routeTransition?((0,o.openBlock)(),(0,o.createBlock)(o.Transition,{key:0,name:`nb-shell-route`},{default:(0,o.withCtx)(()=>[((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:Re.value,class:`nb-shell__route`},[(0,o.renderSlot)(e.$slots,`default`,{},void 0,!0)]))]),_:3})):(0,o.renderSlot)(e.$slots,`default`,{key:1},void 0,!0)]),_:3})],16,Ce)])]),f(`bottom`)?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:0,ref:d(`bottom`),class:`nb-shell__bottom`},[(0,o.renderSlot)(e.$slots,`bottom`,{},void 0,!0)],512)):(0,o.createCommentVNode)(``,!0)],8,_e),(0,o.createElementVNode)(`aside`,{ref_key:`inspectorRef`,ref:K,class:(0,o.normalizeClass)([`nb-shell__inspector`,{"nb-shell__inspector--visible":L.value,"nb-shell__inspector--expanded":L.value&&n.inspectorExpanded,[`nb-shell__inspector--${n.inspectorSize}`]:L.value,"nb-shell__inspector--resizing":q.value,"nb-shell__inspector--overlay":R.value}]),"aria-label":n.inspectorLabel,inert:!L.value||void 0,"aria-hidden":!L.value||void 0,style:(0,o.normalizeStyle)(vt.value)},[R.value?((0,o.openBlock)(),(0,o.createBlock)(te.t,{key:0,ref_key:`inspectorDismissRef`,ref:et,class:`nb-shell__inspector-dismiss`,size:`lg`,label:n.inspectorCloseLabel??(0,o.unref)(Ne).shellInspectorClose,"tooltip-position":`left`,onClick:t[3]||=e=>z(!1)},null,8,[`label`])):(0,o.createCommentVNode)(``,!0),n.resizable&&L.value&&!w.value?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:1,class:`nb-shell__inspector-resize`,role:`separator`,tabindex:`0`,"aria-orientation":`vertical`,"aria-label":`Resize ${n.inspectorLabel}`,"aria-valuenow":bt.value,"aria-valuemin":s,"aria-valuemax":yt.value,title:`Drag or use the arrow keys to resize, Enter or double-click to reset`,onPointerdown:Ct,onDblclick:wt,onKeydown:Tt},null,40,Te)):(0,o.createCommentVNode)(``,!0),(0,o.renderSlot)(e.$slots,`inspector`,{overlay:R.value,close:tt},void 0,!0)],14,we)])])])],16))}}),je=n.t(Ae,[[`__scopeId`,`data-v-d0605397`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return je}});
|
|
@@ -0,0 +1,536 @@
|
|
|
1
|
+
import { s as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { prefersReducedMotion as t } from "./composables/useReducedMotion.composable.mjs";
|
|
3
|
+
import { t as n } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
4
|
+
import { NB_LAYER_INJECTION_KEY as r, clampLayer as i, useSurfaceLayer as ee } from "./composables/useSurfaceLayer.composable.mjs";
|
|
5
|
+
import { useNbStrings as te } from "./composables/useNbStrings.composable.mjs";
|
|
6
|
+
import { hasSlotContent as ne } from "./utils/slotContent.helper.mjs";
|
|
7
|
+
import { t as re } from "./CloseButton-CdH12Hdn.js";
|
|
8
|
+
import { NB_SHELL_SLOT_KEY as ie, createShellSlotRegistry as ae } from "./composables/useShellSlot.composable.mjs";
|
|
9
|
+
import { NB_SHELL_LAYOUT_KEY as oe } from "./composables/useShellLayout.composable.mjs";
|
|
10
|
+
import { Transition as se, computed as a, createBlock as ce, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as le, defineComponent as ue, getCurrentInstance as de, mergeProps as fe, nextTick as l, normalizeClass as u, normalizeStyle as pe, onBeforeUnmount as me, onMounted as he, openBlock as d, provide as f, ref as p, renderSlot as m, toDisplayString as h, toRef as ge, unref as g, useId as _e, useSlots as ve, vShow as ye, watch as _, withCtx as be, withDirectives as xe, withKeys as Se } from "vue";
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/components/SurfaceLayerScope.vue
|
|
13
|
+
var Ce = /* @__PURE__ */ ue({
|
|
14
|
+
__name: "SurfaceLayerScope",
|
|
15
|
+
props: { level: {} },
|
|
16
|
+
setup(e) {
|
|
17
|
+
let t = e;
|
|
18
|
+
return f(r, a(() => i(t.level))), (e, t) => m(e.$slots, "default");
|
|
19
|
+
}
|
|
20
|
+
}), we = ["href"], Te = { class: "nb-shell__middle" }, Ee = [
|
|
21
|
+
"id",
|
|
22
|
+
"aria-label",
|
|
23
|
+
"tabindex",
|
|
24
|
+
"inert",
|
|
25
|
+
"aria-hidden"
|
|
26
|
+
], De = { class: "nb-shell__sidebar-logo" }, Oe = { class: "nb-shell__sidebar-header-action" }, ke = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "nb-shell__sidebar-logo"
|
|
29
|
+
}, Ae = { class: "nb-shell__sidebar-nav" }, je = { class: "nb-shell__sidebar-bottom" }, Me = { class: "nb-shell__right" }, Ne = {
|
|
30
|
+
key: 2,
|
|
31
|
+
class: "nb-shell__menubar"
|
|
32
|
+
}, Pe = {
|
|
33
|
+
key: 3,
|
|
34
|
+
class: "nb-shell__topbar"
|
|
35
|
+
}, Fe = [
|
|
36
|
+
"aria-label",
|
|
37
|
+
"aria-expanded",
|
|
38
|
+
"aria-controls"
|
|
39
|
+
], Ie = { class: "nb-shell__content-row" }, Le = ["inert", "aria-hidden"], Re = { class: "nb-shell__page" }, ze = ["aria-expanded"], Be = {
|
|
40
|
+
class: "nb-shell__contextbar-toggle-glyph",
|
|
41
|
+
"aria-hidden": "true"
|
|
42
|
+
}, Ve = { class: "nb-shell__main-row" }, He = ["aria-label"], Ue = ["id"], We = [
|
|
43
|
+
"aria-label",
|
|
44
|
+
"inert",
|
|
45
|
+
"aria-hidden"
|
|
46
|
+
], Ge = [
|
|
47
|
+
"aria-label",
|
|
48
|
+
"aria-valuenow",
|
|
49
|
+
"aria-valuemax"
|
|
50
|
+
], Ke = "(pointer: coarse) and (hover: none) and (max-height: 500px)", qe = "a[href], [role=\"menuitem\"]", v = 288, Je = 16, Ye = 64, Xe = /* @__PURE__ */ n(/* @__PURE__ */ ue({
|
|
51
|
+
__name: "Shell",
|
|
52
|
+
props: {
|
|
53
|
+
inspectorVisible: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: !1
|
|
56
|
+
},
|
|
57
|
+
inspectorExpanded: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: !1
|
|
60
|
+
},
|
|
61
|
+
inspectorSize: { default: "md" },
|
|
62
|
+
resizable: {
|
|
63
|
+
type: Boolean,
|
|
64
|
+
default: !1
|
|
65
|
+
},
|
|
66
|
+
inspectorWidth: {},
|
|
67
|
+
mainPadding: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: !0
|
|
70
|
+
},
|
|
71
|
+
routeTransition: {
|
|
72
|
+
type: Boolean,
|
|
73
|
+
default: !1
|
|
74
|
+
},
|
|
75
|
+
routeKey: {},
|
|
76
|
+
sidebarVariant: { default: "compact" },
|
|
77
|
+
sidebarHeaderActionPosition: { default: "end" },
|
|
78
|
+
sidebarHeaderActionCompact: { default: "stack" },
|
|
79
|
+
topbar: { default: "auto" },
|
|
80
|
+
frame: { default: "attached" },
|
|
81
|
+
skipToContent: {
|
|
82
|
+
type: Boolean,
|
|
83
|
+
default: !0
|
|
84
|
+
},
|
|
85
|
+
skipToContentLabel: { default: "Skip to content" },
|
|
86
|
+
mainId: {},
|
|
87
|
+
sidebarLabel: { default: "Primary" },
|
|
88
|
+
inspectorLabel: { default: "Inspector" },
|
|
89
|
+
contextbarLabel: { default: "Browse" },
|
|
90
|
+
collapseAt: { default: "md" },
|
|
91
|
+
sidebarOpen: { type: Boolean },
|
|
92
|
+
navToggleLabel: { default: "Navigation" },
|
|
93
|
+
inspectorCloseLabel: { default: void 0 }
|
|
94
|
+
},
|
|
95
|
+
emits: [
|
|
96
|
+
"update:inspectorWidth",
|
|
97
|
+
"update:sidebarOpen",
|
|
98
|
+
"update:inspectorVisible"
|
|
99
|
+
],
|
|
100
|
+
setup(n, { expose: r, emit: i }) {
|
|
101
|
+
let ue = ve(), Xe = te();
|
|
102
|
+
function y(e) {
|
|
103
|
+
return ne(ue, e);
|
|
104
|
+
}
|
|
105
|
+
let { registry: Ze, count: Qe, sharedCount: $e, setElement: b } = ae();
|
|
106
|
+
f(ie, Ze);
|
|
107
|
+
let et = /* @__PURE__ */ new Map();
|
|
108
|
+
function x(e) {
|
|
109
|
+
let t = et.get(e);
|
|
110
|
+
return t || (t = (t) => b(e, t ?? null), et.set(e, t)), t;
|
|
111
|
+
}
|
|
112
|
+
function S(e) {
|
|
113
|
+
return y(e) || Qe(e) > 0;
|
|
114
|
+
}
|
|
115
|
+
function C(e) {
|
|
116
|
+
return $e(e) > 0 ? "nb-shell__region--ordered" : null;
|
|
117
|
+
}
|
|
118
|
+
let w = a(() => {
|
|
119
|
+
for (let e of [
|
|
120
|
+
"sidebar-logo",
|
|
121
|
+
"sidebar-nav",
|
|
122
|
+
"sidebar-bottom"
|
|
123
|
+
]) if (y(e)) return !0;
|
|
124
|
+
return !1;
|
|
125
|
+
}), T = n, tt = de()?.appContext.config.globalProperties, nt = a(() => T.routeKey === void 0 ? tt?.$route?.path ?? "" : T.routeKey), E = p(!1), rt = i, it = {
|
|
126
|
+
md: 672,
|
|
127
|
+
lg: 1056
|
|
128
|
+
}, D = p(typeof window < "u" ? window.innerWidth : Infinity);
|
|
129
|
+
function at(e) {
|
|
130
|
+
let t = it[T.collapseAt];
|
|
131
|
+
return t != null && e < t;
|
|
132
|
+
}
|
|
133
|
+
let O = 0;
|
|
134
|
+
function ot() {
|
|
135
|
+
let e = window.innerWidth;
|
|
136
|
+
at(e) !== at(D.value) && (D.value = e);
|
|
137
|
+
}
|
|
138
|
+
function st() {
|
|
139
|
+
O ||= window.requestAnimationFrame(() => {
|
|
140
|
+
O = 0, D.value = window.innerWidth;
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
function ct() {
|
|
144
|
+
typeof window > "u" || (window.removeEventListener("resize", st), O &&= (window.cancelAnimationFrame(O), 0));
|
|
145
|
+
}
|
|
146
|
+
function lt() {
|
|
147
|
+
typeof window > "u" || (D.value = window.innerWidth, window.addEventListener("resize", st, { passive: !0 }));
|
|
148
|
+
}
|
|
149
|
+
let k = typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia(Ke) : null, A = p(k?.matches === !0);
|
|
150
|
+
function j(e) {
|
|
151
|
+
A.value = e.matches;
|
|
152
|
+
}
|
|
153
|
+
let M = a(() => at(D.value) || T.collapseAt !== "none" && A.value), N = de()?.vnode.props ?? {};
|
|
154
|
+
function P(e, t) {
|
|
155
|
+
return e in N || t in N;
|
|
156
|
+
}
|
|
157
|
+
function ut(e, t) {
|
|
158
|
+
if (e in N) return N[e];
|
|
159
|
+
if (t in N) return N[t];
|
|
160
|
+
}
|
|
161
|
+
function F(e, t) {
|
|
162
|
+
return P(e, t) && ut(e, t) !== void 0;
|
|
163
|
+
}
|
|
164
|
+
let I = F("sidebarOpen", "sidebar-open"), L = p(!1);
|
|
165
|
+
P("sidebarOpen", "sidebar-open") && !I && _(() => T.sidebarOpen, (e) => {
|
|
166
|
+
L.value = e === !0;
|
|
167
|
+
});
|
|
168
|
+
let R = a(() => I ? T.sidebarOpen === !0 : L.value), dt = _e(), ft = a(() => `nb-shell-sidebar-${dt}`), pt = p(null), z = p(null), mt = a(() => w.value && M.value), ht = a(() => w.value && M.value && !R.value);
|
|
169
|
+
function B(e) {
|
|
170
|
+
I || (L.value = e), rt("update:sidebarOpen", e);
|
|
171
|
+
}
|
|
172
|
+
function gt(e) {
|
|
173
|
+
if (!e.defaultPrevented) {
|
|
174
|
+
if (w.value && M.value && R.value) {
|
|
175
|
+
B(!1);
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
W.value && G(!1);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
function _t(e, t) {
|
|
182
|
+
let n = e.target, r = n?.closest?.(qe);
|
|
183
|
+
if (!r || !t?.contains(r)) return !1;
|
|
184
|
+
let i = r.getAttribute("aria-haspopup");
|
|
185
|
+
return !(i != null && i !== "false" || r.hasAttribute("aria-expanded") || r.getAttribute("aria-disabled") === "true" || n?.closest?.("[data-nb-keep-open]"));
|
|
186
|
+
}
|
|
187
|
+
function vt(e) {
|
|
188
|
+
!M.value || !R.value || _t(e, z.value) && B(!1);
|
|
189
|
+
}
|
|
190
|
+
function yt(e) {
|
|
191
|
+
!M.value || !E.value || _t(e, e.currentTarget) && (E.value = !1);
|
|
192
|
+
}
|
|
193
|
+
function bt(e) {
|
|
194
|
+
E.value = e;
|
|
195
|
+
}
|
|
196
|
+
_(R, async (e) => {
|
|
197
|
+
M.value && (await l(), e ? (z.value?.querySelector("a[href], button:not([disabled]), [tabindex]:not([tabindex=\"-1\"])") ?? z.value)?.focus?.() : pt.value?.focus?.());
|
|
198
|
+
}), _(M, (e) => {
|
|
199
|
+
!e && R.value && B(!1);
|
|
200
|
+
});
|
|
201
|
+
let V = F("inspectorVisible", "inspector-visible"), xt = p(T.inspectorVisible === !0);
|
|
202
|
+
P("inspectorVisible", "inspector-visible") && !V && _(() => T.inspectorVisible, (e) => {
|
|
203
|
+
xt.value = e === !0;
|
|
204
|
+
});
|
|
205
|
+
let H = p(!1), U = a(() => (V ? T.inspectorVisible === !0 : xt.value) ? !(M.value && H.value) : !1), W = a(() => M.value && U.value);
|
|
206
|
+
function G(e) {
|
|
207
|
+
V ? H.value = !e : (xt.value = e, H.value = !1), rt("update:inspectorVisible", e);
|
|
208
|
+
}
|
|
209
|
+
_(() => T.inspectorVisible, (e) => {
|
|
210
|
+
e && (H.value = !1);
|
|
211
|
+
}), _(M, (e) => {
|
|
212
|
+
e || (H.value = !1);
|
|
213
|
+
});
|
|
214
|
+
let St = p(null), Ct = p(null);
|
|
215
|
+
_(W, async (e) => {
|
|
216
|
+
if (e) Ct.value = document.activeElement ?? null, await l(), St.value?.focus?.();
|
|
217
|
+
else {
|
|
218
|
+
let e = Ct.value;
|
|
219
|
+
Ct.value = null, e?.isConnected && (await l(), e.focus?.());
|
|
220
|
+
}
|
|
221
|
+
}), _(W, (e) => {
|
|
222
|
+
e && w.value && R.value && B(!1);
|
|
223
|
+
});
|
|
224
|
+
function wt() {
|
|
225
|
+
G(!1);
|
|
226
|
+
}
|
|
227
|
+
f(oe, {
|
|
228
|
+
collapsed: M,
|
|
229
|
+
inspectorOverlay: W
|
|
230
|
+
});
|
|
231
|
+
let Tt = a(() => W.value), K = p(null), Et = _e(), Dt = a(() => T.mainId || `nb-shell-main-${Et}`);
|
|
232
|
+
function Ot() {
|
|
233
|
+
K.value?.focus();
|
|
234
|
+
}
|
|
235
|
+
let kt = a(() => mt.value || T.topbar === "always" ? !0 : T.topbar === "never" ? !1 : y("topbar-left") || y("topbar-right") || Qe("topbar-left") > 0 || Qe("topbar-right") > 0), { layerProps: At } = ee(), { layerProps: jt } = ee({
|
|
236
|
+
level: 0,
|
|
237
|
+
probe: !1,
|
|
238
|
+
provideContext: !1
|
|
239
|
+
}), Mt = e.medium, q = p(T.sidebarVariant), Nt = a(() => M.value && y("sidebar-header-action") ? "verbose" : T.sidebarVariant), J = p(null), Y, Pt = () => typeof window > "u" || typeof window.matchMedia != "function" || t();
|
|
240
|
+
_(() => T.sidebarVariant, (e) => {
|
|
241
|
+
if (clearTimeout(Y), Pt() || M.value) {
|
|
242
|
+
q.value = e, J.value = null;
|
|
243
|
+
return;
|
|
244
|
+
}
|
|
245
|
+
if (e === "verbose") {
|
|
246
|
+
q.value = e, J.value = "expanding", Y = setTimeout(() => {
|
|
247
|
+
J.value = null;
|
|
248
|
+
}, Mt);
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
J.value = "collapsing", Y = setTimeout(() => {
|
|
252
|
+
q.value = e, J.value = null;
|
|
253
|
+
}, Mt);
|
|
254
|
+
}), me(() => clearTimeout(Y));
|
|
255
|
+
let Ft = a(() => M.value && y("sidebar-header-action") ? "verbose" : q.value);
|
|
256
|
+
f("nb-shell-sidebar-variant", Ft);
|
|
257
|
+
let It = a(() => y("sidebar-header-action") && !M.value);
|
|
258
|
+
f("nb-shell-sidebar-header-action-position", ge(T, "sidebarHeaderActionPosition"));
|
|
259
|
+
let X = p(null), Lt = p(!1);
|
|
260
|
+
he(() => b("inspector", X.value)), _(X, (e) => b("inspector", e));
|
|
261
|
+
let Rt = {
|
|
262
|
+
lg: .5,
|
|
263
|
+
xl: .75
|
|
264
|
+
}, zt = {
|
|
265
|
+
xs: 288,
|
|
266
|
+
sm: 360,
|
|
267
|
+
md: 560
|
|
268
|
+
}, Bt = a(() => Number.isFinite(D.value) ? D.value : 1280), Z = a(() => Math.max(v, Bt.value * .5));
|
|
269
|
+
function Q(e) {
|
|
270
|
+
return Math.round(Math.max(v, Math.min(e, Z.value)));
|
|
271
|
+
}
|
|
272
|
+
let Vt = F("inspectorWidth", "inspector-width"), Ht = p(null), Ut = a(() => Vt ? T.inspectorWidth ?? null : Ht.value);
|
|
273
|
+
function Wt(e) {
|
|
274
|
+
Vt || (Ht.value = e), rt("update:inspectorWidth", e);
|
|
275
|
+
}
|
|
276
|
+
let Gt = a(() => {
|
|
277
|
+
let e = Ut.value;
|
|
278
|
+
if (!(!T.resizable || !U.value || e == null)) return { "--nb-shell-inspector-width": `${Q(e)}px` };
|
|
279
|
+
}), Kt = a(() => {
|
|
280
|
+
let e = Ut.value;
|
|
281
|
+
if (e != null) return Q(e);
|
|
282
|
+
if (T.inspectorExpanded) return Math.round(Bt.value * .5);
|
|
283
|
+
let t = Rt[T.inspectorSize], n = t == null ? zt[T.inspectorSize] ?? v : Bt.value * t;
|
|
284
|
+
return Math.round(T.inspectorSize === "xl" ? n : Math.min(n, Z.value));
|
|
285
|
+
}), qt = a(() => Math.round(Math.max(Z.value, Kt.value))), Jt = a(() => Kt.value);
|
|
286
|
+
function Yt() {
|
|
287
|
+
return Kt.value;
|
|
288
|
+
}
|
|
289
|
+
function Xt(e) {
|
|
290
|
+
let t = X.value;
|
|
291
|
+
if (!t) return;
|
|
292
|
+
let n = t.getBoundingClientRect().right;
|
|
293
|
+
Wt(Q(n - e.clientX));
|
|
294
|
+
}
|
|
295
|
+
function $() {
|
|
296
|
+
Lt.value = !1, window.removeEventListener("pointermove", Xt), window.removeEventListener("pointerup", $), window.removeEventListener("pointercancel", $);
|
|
297
|
+
}
|
|
298
|
+
function Zt(e) {
|
|
299
|
+
T.resizable && (e.preventDefault(), Lt.value = !0, window.addEventListener("pointermove", Xt), window.addEventListener("pointerup", $), window.addEventListener("pointercancel", $));
|
|
300
|
+
}
|
|
301
|
+
function Qt() {
|
|
302
|
+
Wt(null);
|
|
303
|
+
}
|
|
304
|
+
function $t(e) {
|
|
305
|
+
if (!T.resizable) return;
|
|
306
|
+
let t = e.shiftKey ? Ye : Je, n;
|
|
307
|
+
switch (e.key) {
|
|
308
|
+
case "ArrowLeft":
|
|
309
|
+
n = Yt() + t;
|
|
310
|
+
break;
|
|
311
|
+
case "ArrowRight":
|
|
312
|
+
n = Yt() - t;
|
|
313
|
+
break;
|
|
314
|
+
case "Home":
|
|
315
|
+
n = v;
|
|
316
|
+
break;
|
|
317
|
+
case "End":
|
|
318
|
+
n = Z.value;
|
|
319
|
+
break;
|
|
320
|
+
case "Enter":
|
|
321
|
+
case " ":
|
|
322
|
+
n = null;
|
|
323
|
+
break;
|
|
324
|
+
default: return;
|
|
325
|
+
}
|
|
326
|
+
e.preventDefault(), Wt(n == null ? null : Q(n));
|
|
327
|
+
}
|
|
328
|
+
return he(() => {
|
|
329
|
+
typeof window > "u" || (D.value = window.innerWidth, window.addEventListener("resize", ot, { passive: !0 }), T.resizable && lt(), k && (A.value = k.matches, typeof k.addEventListener == "function" ? k.addEventListener("change", j) : k.addListener?.(j)));
|
|
330
|
+
}), _(() => T.collapseAt, () => {
|
|
331
|
+
typeof window < "u" && (D.value = window.innerWidth);
|
|
332
|
+
}), _(() => T.resizable, (e) => e ? lt() : ct()), me(() => {
|
|
333
|
+
$(), ct(), typeof window < "u" && window.removeEventListener("resize", ot), k && (typeof k.removeEventListener == "function" ? k.removeEventListener("change", j) : k.removeListener?.(j));
|
|
334
|
+
}), r({
|
|
335
|
+
mainEl: K,
|
|
336
|
+
sidebarEl: z,
|
|
337
|
+
inspectorEl: X,
|
|
338
|
+
focusMain: () => K.value?.focus(),
|
|
339
|
+
setSidebarOpen: B,
|
|
340
|
+
setInspectorVisible: G,
|
|
341
|
+
collapsed: M,
|
|
342
|
+
inspectorOverlay: W,
|
|
343
|
+
setContextbarOpen: bt
|
|
344
|
+
}), (e, t) => (d(), s("div", fe({ class: "nb-shell" }, g(At), {
|
|
345
|
+
class: [
|
|
346
|
+
{ "nb-shell--no-sidebar": !w.value },
|
|
347
|
+
w.value ? `nb-shell--sidebar-${Ft.value}` : null,
|
|
348
|
+
{
|
|
349
|
+
"nb-shell--rail-wide": w.value && Nt.value === "verbose",
|
|
350
|
+
"nb-shell--detached": n.frame === "detached",
|
|
351
|
+
"nb-shell--collapsed": M.value,
|
|
352
|
+
"nb-shell--drawer-open": M.value && R.value,
|
|
353
|
+
"nb-shell--rail-collapsing": J.value === "collapsing",
|
|
354
|
+
"nb-shell--rail-expanding": J.value === "expanding"
|
|
355
|
+
}
|
|
356
|
+
],
|
|
357
|
+
onKeydown: Se(gt, ["esc"])
|
|
358
|
+
}), [
|
|
359
|
+
n.skipToContent ? (d(), s("a", {
|
|
360
|
+
key: 0,
|
|
361
|
+
class: "nb-shell__skip-link",
|
|
362
|
+
href: `#${Dt.value}`,
|
|
363
|
+
onClick: Ot
|
|
364
|
+
}, h(n.skipToContentLabel), 9, we)) : o("", !0),
|
|
365
|
+
S("outer-menu") ? (d(), s("div", {
|
|
366
|
+
key: 1,
|
|
367
|
+
ref: x("outer-menu"),
|
|
368
|
+
class: u(["nb-shell__outer-menu", C("outer-menu")])
|
|
369
|
+
}, [m(e.$slots, "outer-menu", {}, void 0, !0)], 2)) : o("", !0),
|
|
370
|
+
c("div", Te, [
|
|
371
|
+
w.value ? (d(), s("nav", {
|
|
372
|
+
key: 0,
|
|
373
|
+
id: ft.value,
|
|
374
|
+
ref_key: "sidebarRef",
|
|
375
|
+
ref: z,
|
|
376
|
+
class: "nb-shell__sidebar",
|
|
377
|
+
"aria-label": n.sidebarLabel,
|
|
378
|
+
tabindex: M.value ? -1 : void 0,
|
|
379
|
+
inert: ht.value || void 0,
|
|
380
|
+
"aria-hidden": ht.value || void 0,
|
|
381
|
+
onClickCapture: vt
|
|
382
|
+
}, [
|
|
383
|
+
It.value ? (d(), s("div", {
|
|
384
|
+
key: 0,
|
|
385
|
+
class: u(["nb-shell__sidebar-header", [`nb-shell__sidebar-header--${n.sidebarHeaderActionPosition}`, `nb-shell__sidebar-header--compact-${n.sidebarHeaderActionCompact}`]])
|
|
386
|
+
}, [c("div", De, [m(e.$slots, "sidebar-logo", {}, void 0, !0)]), c("div", Oe, [m(e.$slots, "sidebar-header-action", {}, void 0, !0)])], 2)) : (d(), s("div", ke, [m(e.$slots, "sidebar-logo", {}, void 0, !0)])),
|
|
387
|
+
c("div", Ae, [m(e.$slots, "sidebar-nav", {}, void 0, !0)]),
|
|
388
|
+
t[4] ||= c("div", { class: "nb-shell__sidebar-spacer" }, null, -1),
|
|
389
|
+
c("div", je, [m(e.$slots, "sidebar-bottom", {}, void 0, !0)])
|
|
390
|
+
], 40, Ee)) : o("", !0),
|
|
391
|
+
le(se, { name: "nb-shell-scrim" }, {
|
|
392
|
+
default: be(() => [w.value && M.value && R.value ? (d(), s("div", {
|
|
393
|
+
key: 0,
|
|
394
|
+
class: "nb-shell__scrim",
|
|
395
|
+
onClick: t[0] ||= (e) => B(!1)
|
|
396
|
+
})) : o("", !0)]),
|
|
397
|
+
_: 1
|
|
398
|
+
}),
|
|
399
|
+
c("div", Me, [
|
|
400
|
+
S("inner-menu") ? (d(), s("div", {
|
|
401
|
+
key: 0,
|
|
402
|
+
ref: x("inner-menu"),
|
|
403
|
+
class: u(["nb-shell__inner-menu", C("inner-menu")])
|
|
404
|
+
}, [m(e.$slots, "inner-menu", {}, void 0, !0)], 2)) : o("", !0),
|
|
405
|
+
S("notification") ? (d(), s("div", {
|
|
406
|
+
key: 1,
|
|
407
|
+
ref: x("notification"),
|
|
408
|
+
class: u(["nb-shell__notification", C("notification")])
|
|
409
|
+
}, [m(e.$slots, "notification", {}, void 0, !0)], 2)) : o("", !0),
|
|
410
|
+
y("menubar") ? (d(), s("div", Ne, [m(e.$slots, "menubar", {}, void 0, !0)])) : o("", !0),
|
|
411
|
+
kt.value ? (d(), s("div", Pe, [
|
|
412
|
+
mt.value ? (d(), s("button", {
|
|
413
|
+
key: 0,
|
|
414
|
+
ref_key: "navToggleRef",
|
|
415
|
+
ref: pt,
|
|
416
|
+
type: "button",
|
|
417
|
+
class: "nb-shell__nav-toggle",
|
|
418
|
+
"aria-label": n.navToggleLabel,
|
|
419
|
+
"aria-expanded": R.value,
|
|
420
|
+
"aria-controls": ft.value,
|
|
421
|
+
onClick: t[1] ||= (e) => B(!R.value)
|
|
422
|
+
}, [...t[5] ||= [c("span", {
|
|
423
|
+
class: "nb-shell__nav-toggle-glyph",
|
|
424
|
+
"aria-hidden": "true"
|
|
425
|
+
}, [
|
|
426
|
+
c("span"),
|
|
427
|
+
c("span"),
|
|
428
|
+
c("span")
|
|
429
|
+
], -1)]], 8, Fe)) : o("", !0),
|
|
430
|
+
c("div", {
|
|
431
|
+
ref: x("topbar-left"),
|
|
432
|
+
class: "nb-shell__topbar-left"
|
|
433
|
+
}, [m(e.$slots, "topbar-left", {}, void 0, !0)], 512),
|
|
434
|
+
c("div", {
|
|
435
|
+
ref: x("topbar-right"),
|
|
436
|
+
class: "nb-shell__topbar-right"
|
|
437
|
+
}, [m(e.$slots, "topbar-right", {}, void 0, !0)], 512)
|
|
438
|
+
])) : o("", !0),
|
|
439
|
+
c("div", Ie, [c("div", {
|
|
440
|
+
class: "nb-shell__body",
|
|
441
|
+
inert: Tt.value || void 0,
|
|
442
|
+
"aria-hidden": Tt.value || void 0
|
|
443
|
+
}, [c("div", Re, [
|
|
444
|
+
S("fixedbar") ? (d(), s("div", {
|
|
445
|
+
key: 0,
|
|
446
|
+
ref: x("fixedbar"),
|
|
447
|
+
class: "nb-shell__fixedbar"
|
|
448
|
+
}, [m(e.$slots, "fixedbar", {}, void 0, !0)], 512)) : o("", !0),
|
|
449
|
+
M.value && S("contextbar") ? (d(), s("button", {
|
|
450
|
+
key: 1,
|
|
451
|
+
type: "button",
|
|
452
|
+
class: "nb-shell__contextbar-toggle",
|
|
453
|
+
"aria-expanded": E.value,
|
|
454
|
+
onClick: t[2] ||= (e) => E.value = !E.value
|
|
455
|
+
}, [c("span", null, h(n.contextbarLabel), 1), c("span", Be, h(E.value ? "▾" : "▸"), 1)], 8, ze)) : o("", !0),
|
|
456
|
+
c("div", Ve, [S("contextbar") ? xe((d(), s("aside", {
|
|
457
|
+
key: 0,
|
|
458
|
+
ref: x("contextbar"),
|
|
459
|
+
class: u(["nb-shell__contextbar", C("contextbar")]),
|
|
460
|
+
"aria-label": n.contextbarLabel,
|
|
461
|
+
onClickCapture: yt
|
|
462
|
+
}, [m(e.$slots, "contextbar", {}, void 0, !0)], 42, He)), [[ye, !M.value || E.value]]) : o("", !0), c("main", fe({
|
|
463
|
+
id: Dt.value,
|
|
464
|
+
ref_key: "mainRef",
|
|
465
|
+
ref: K,
|
|
466
|
+
tabindex: "-1",
|
|
467
|
+
class: ["nb-shell__main", { "nb-shell__main--no-padding": !n.mainPadding }]
|
|
468
|
+
}, g(jt)), [le(Ce, { level: 1 }, {
|
|
469
|
+
default: be(() => [n.routeTransition ? (d(), ce(se, {
|
|
470
|
+
key: 0,
|
|
471
|
+
name: "nb-shell-route"
|
|
472
|
+
}, {
|
|
473
|
+
default: be(() => [(d(), s("div", {
|
|
474
|
+
key: nt.value,
|
|
475
|
+
class: "nb-shell__route"
|
|
476
|
+
}, [m(e.$slots, "default", {}, void 0, !0)]))]),
|
|
477
|
+
_: 3
|
|
478
|
+
})) : m(e.$slots, "default", { key: 1 }, void 0, !0)]),
|
|
479
|
+
_: 3
|
|
480
|
+
})], 16, Ue)])
|
|
481
|
+
]), S("bottom") ? (d(), s("div", {
|
|
482
|
+
key: 0,
|
|
483
|
+
ref: x("bottom"),
|
|
484
|
+
class: "nb-shell__bottom"
|
|
485
|
+
}, [m(e.$slots, "bottom", {}, void 0, !0)], 512)) : o("", !0)], 8, Le), c("aside", {
|
|
486
|
+
ref_key: "inspectorRef",
|
|
487
|
+
ref: X,
|
|
488
|
+
class: u(["nb-shell__inspector", {
|
|
489
|
+
"nb-shell__inspector--visible": U.value,
|
|
490
|
+
"nb-shell__inspector--expanded": U.value && n.inspectorExpanded,
|
|
491
|
+
[`nb-shell__inspector--${n.inspectorSize}`]: U.value,
|
|
492
|
+
"nb-shell__inspector--resizing": Lt.value,
|
|
493
|
+
"nb-shell__inspector--overlay": W.value
|
|
494
|
+
}]),
|
|
495
|
+
"aria-label": n.inspectorLabel,
|
|
496
|
+
inert: !U.value || void 0,
|
|
497
|
+
"aria-hidden": !U.value || void 0,
|
|
498
|
+
style: pe(Gt.value)
|
|
499
|
+
}, [
|
|
500
|
+
W.value ? (d(), ce(re, {
|
|
501
|
+
key: 0,
|
|
502
|
+
ref_key: "inspectorDismissRef",
|
|
503
|
+
ref: St,
|
|
504
|
+
class: "nb-shell__inspector-dismiss",
|
|
505
|
+
size: "lg",
|
|
506
|
+
label: n.inspectorCloseLabel ?? g(Xe).shellInspectorClose,
|
|
507
|
+
"tooltip-position": "left",
|
|
508
|
+
onClick: t[3] ||= (e) => G(!1)
|
|
509
|
+
}, null, 8, ["label"])) : o("", !0),
|
|
510
|
+
n.resizable && U.value && !M.value ? (d(), s("div", {
|
|
511
|
+
key: 1,
|
|
512
|
+
class: "nb-shell__inspector-resize",
|
|
513
|
+
role: "separator",
|
|
514
|
+
tabindex: "0",
|
|
515
|
+
"aria-orientation": "vertical",
|
|
516
|
+
"aria-label": `Resize ${n.inspectorLabel}`,
|
|
517
|
+
"aria-valuenow": Jt.value,
|
|
518
|
+
"aria-valuemin": v,
|
|
519
|
+
"aria-valuemax": qt.value,
|
|
520
|
+
title: "Drag or use the arrow keys to resize, Enter or double-click to reset",
|
|
521
|
+
onPointerdown: Zt,
|
|
522
|
+
onDblclick: Qt,
|
|
523
|
+
onKeydown: $t
|
|
524
|
+
}, null, 40, Ge)) : o("", !0),
|
|
525
|
+
m(e.$slots, "inspector", {
|
|
526
|
+
overlay: W.value,
|
|
527
|
+
close: wt
|
|
528
|
+
}, void 0, !0)
|
|
529
|
+
], 14, We)])
|
|
530
|
+
])
|
|
531
|
+
])
|
|
532
|
+
], 16));
|
|
533
|
+
}
|
|
534
|
+
}), [["__scopeId", "data-v-d0605397"]]);
|
|
535
|
+
//#endregion
|
|
536
|
+
export { Xe as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./Button-BHFtgOXA.cjs`),n=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),r=require(`./composables/useSurfaceLayer.composable.cjs`),i=require(`./composables/useNbStrings.composable.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/minus`);o=e.n(o);let s=require(`@nubisco/ui/icons/corners-in`);s=e.n(s);let c=require(`@nubisco/ui/icons/corners-out`);c=e.n(c);var l={class:`nb-shell-panel__header`},u={class:`nb-shell-panel__header-left`},d=[`title`],f={class:`nb-shell-panel__header-center`},p={class:`nb-shell-panel__toolbar`},m=[`aria-label`],h={key:0,class:`nb-shell-panel__content`},g=(0,a.defineComponent)({__name:`ShellPanel`,props:{size:{default:`default`},title:{default:``},fluid:{type:Boolean,default:!1},fill:{type:Boolean,default:!1}},emits:[`update:size`],setup(e,{expose:n,emit:g}){let _=e,{layerProps:v}=r.useSurfaceLayer(),y=g,b=(0,a.ref)(_.size);(0,a.watch)(()=>_.size,e=>b.value=e);let x=(0,a.computed)({get:()=>b.value,set:e=>{b.value=e,y(`update:size`,e)}}),S=i.useNbStrings(),C=(0,a.computed)(()=>[{size:`collapsed`,icon:o,label:S.value.shellPanelMinimize},{size:`default`,icon:s,label:S.value.shellPanelRestore},{size:`full`,icon:c,label:S.value.shellPanelMaximize}]);function w(e){x.value=e}return n({setSize:w}),(n,r)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,(0,a.mergeProps)({class:`nb-shell-panel`},(0,a.unref)(v),{class:[x.value,{"nb-shell-panel--fluid":e.fluid,"nb-shell-panel--fill":e.fill}]}),[(0,a.createElementVNode)(`div`,l,[(0,a.createElementVNode)(`div`,u,[e.title?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:0,class:`nb-shell-panel__title`,title:e.title},(0,a.toDisplayString)(e.title),9,d)):(0,a.createCommentVNode)(``,!0),(0,a.renderSlot)(n.$slots,`title`,{},void 0,!0)]),(0,a.createElementVNode)(`div`,f,[(0,a.createElementVNode)(`div`,p,[(0,a.renderSlot)(n.$slots,`toolbar`,{},void 0,!0)])]),(0,a.createElementVNode)(`div`,{class:`nb-shell-panel__header-right`,role:`group`,"aria-label":e.title?(0,a.unref)(S).shellPanelSizeFor(e.title):(0,a.unref)(S).shellPanelSize},[(0,a.renderSlot)(n.$slots,`controls`,{},()=>[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(C.value,e=>((0,a.openBlock)(),(0,a.createBlock)(t.t,{key:e.size,class:`nb-shell-panel__size-btn`,variant:`ghost`,size:`xs`,icon:e.icon,label:e.label,pressed:x.value===e.size,onClick:t=>w(e.size)},null,8,[`icon`,`label`,`pressed`,`onClick`]))),128))],!0)],8,m)]),x.value===`collapsed`?(0,a.createCommentVNode)(``,!0):((0,a.openBlock)(),(0,a.createElementBlock)(`div`,h,[(0,a.renderSlot)(n.$slots,`default`,{},void 0,!0)]))],16))}}),_=n.t(g,[[`__scopeId`,`data-v-8902e84b`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return _}});
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
|
+
import { useSurfaceLayer as n } from "./composables/useSurfaceLayer.composable.mjs";
|
|
4
|
+
import { useNbStrings as r } from "./composables/useNbStrings.composable.mjs";
|
|
5
|
+
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, mergeProps as d, openBlock as f, ref as p, renderList as m, renderSlot as h, toDisplayString as g, unref as _, watch as v } from "vue";
|
|
6
|
+
import * as y from "@nubisco/ui/icons/minus";
|
|
7
|
+
import * as b from "@nubisco/ui/icons/corners-in";
|
|
8
|
+
import * as x from "@nubisco/ui/icons/corners-out";
|
|
9
|
+
//#region src/components/ShellPanel.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
+
var S = { class: "nb-shell-panel__header" }, C = { class: "nb-shell-panel__header-left" }, w = ["title"], T = { class: "nb-shell-panel__header-center" }, E = { class: "nb-shell-panel__toolbar" }, D = ["aria-label"], O = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "nb-shell-panel__content"
|
|
13
|
+
}, k = /* @__PURE__ */ t(/* @__PURE__ */ u({
|
|
14
|
+
__name: "ShellPanel",
|
|
15
|
+
props: {
|
|
16
|
+
size: { default: "default" },
|
|
17
|
+
title: { default: "" },
|
|
18
|
+
fluid: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !1
|
|
21
|
+
},
|
|
22
|
+
fill: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !1
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
emits: ["update:size"],
|
|
28
|
+
setup(t, { expose: u, emit: k }) {
|
|
29
|
+
let A = t, { layerProps: j } = n(), M = k, N = p(A.size);
|
|
30
|
+
v(() => A.size, (e) => N.value = e);
|
|
31
|
+
let P = a({
|
|
32
|
+
get: () => N.value,
|
|
33
|
+
set: (e) => {
|
|
34
|
+
N.value = e, M("update:size", e);
|
|
35
|
+
}
|
|
36
|
+
}), F = r(), I = a(() => [
|
|
37
|
+
{
|
|
38
|
+
size: "collapsed",
|
|
39
|
+
icon: y,
|
|
40
|
+
label: F.value.shellPanelMinimize
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
size: "default",
|
|
44
|
+
icon: b,
|
|
45
|
+
label: F.value.shellPanelRestore
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
size: "full",
|
|
49
|
+
icon: x,
|
|
50
|
+
label: F.value.shellPanelMaximize
|
|
51
|
+
}
|
|
52
|
+
]);
|
|
53
|
+
function L(e) {
|
|
54
|
+
P.value = e;
|
|
55
|
+
}
|
|
56
|
+
return u({ setSize: L }), (n, r) => (f(), c("div", d({ class: "nb-shell-panel" }, _(j), { class: [P.value, {
|
|
57
|
+
"nb-shell-panel--fluid": t.fluid,
|
|
58
|
+
"nb-shell-panel--fill": t.fill
|
|
59
|
+
}] }), [l("div", S, [
|
|
60
|
+
l("div", C, [t.title ? (f(), c("span", {
|
|
61
|
+
key: 0,
|
|
62
|
+
class: "nb-shell-panel__title",
|
|
63
|
+
title: t.title
|
|
64
|
+
}, g(t.title), 9, w)) : s("", !0), h(n.$slots, "title", {}, void 0, !0)]),
|
|
65
|
+
l("div", T, [l("div", E, [h(n.$slots, "toolbar", {}, void 0, !0)])]),
|
|
66
|
+
l("div", {
|
|
67
|
+
class: "nb-shell-panel__header-right",
|
|
68
|
+
role: "group",
|
|
69
|
+
"aria-label": t.title ? _(F).shellPanelSizeFor(t.title) : _(F).shellPanelSize
|
|
70
|
+
}, [h(n.$slots, "controls", {}, () => [(f(!0), c(i, null, m(I.value, (t) => (f(), o(e, {
|
|
71
|
+
key: t.size,
|
|
72
|
+
class: "nb-shell-panel__size-btn",
|
|
73
|
+
variant: "ghost",
|
|
74
|
+
size: "xs",
|
|
75
|
+
icon: t.icon,
|
|
76
|
+
label: t.label,
|
|
77
|
+
pressed: P.value === t.size,
|
|
78
|
+
onClick: (e) => L(t.size)
|
|
79
|
+
}, null, 8, [
|
|
80
|
+
"icon",
|
|
81
|
+
"label",
|
|
82
|
+
"pressed",
|
|
83
|
+
"onClick"
|
|
84
|
+
]))), 128))], !0)], 8, D)
|
|
85
|
+
]), P.value === "collapsed" ? s("", !0) : (f(), c("div", O, [h(n.$slots, "default", {}, void 0, !0)]))], 16));
|
|
86
|
+
}
|
|
87
|
+
}), [["__scopeId", "data-v-8902e84b"]]);
|
|
88
|
+
//#endregion
|
|
89
|
+
export { k as t };
|