@nubisco/ui 5.48.1 → 5.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AccordionItem--XeLRz2P.js +119 -0
- package/dist/AccordionItem-BYSH6dZK.cjs +1 -0
- package/dist/ActionGroup-48ZXZCsn.cjs +1 -0
- package/dist/ActionGroup-DzQjn3ir.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-BrjUMTRk.cjs} +1 -1
- package/dist/{AiProvider-D8O_YaaP.js → AiProvider-Db47uagx.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-0P-b3qLI.js +84 -0
- package/dist/BatchActions-FDPiGUNh.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-Cda5rPZu.cjs → BlueprintCard-D3h_rGhj.cjs} +1 -1
- package/dist/{BlueprintCard-DDNP1vkk.js → BlueprintCard-_FItugFc.js} +107 -107
- package/dist/{BlueprintControls-D0MdXrVv.js → BlueprintControls-1l0QVtB7.js} +49 -75
- package/dist/BlueprintControls-C3ffD6W8.cjs +1 -0
- package/dist/{Board-CaFH4-Qw.js → Board-CSVCzJ1s.js} +178 -190
- package/dist/Board-gUICo94e.cjs +1 -0
- package/dist/BottomPanel-1EkHEQ_H.js +81 -0
- package/dist/BottomPanel-n2jWpFH7.cjs +1 -0
- package/dist/Breadcrumbs-BgMh5bfe.js +185 -0
- package/dist/Breadcrumbs-DN_2wxQS.cjs +1 -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-BQxQlmjs.cjs +1 -0
- package/dist/Confirm-DLhI3VVh.js +331 -0
- package/dist/{ContainedListItem-Dj7TcGpO.cjs → ContainedListItem-DjHEyhf8.cjs} +1 -1
- package/dist/{ContainedListItem-CSE8d5M6.js → ContainedListItem-DtTZOm-_.js} +1 -1
- 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-CHztTxz1.cjs +1 -0
- package/dist/DataTable-Dp3WZihu.js +545 -0
- package/dist/DatePicker-BLRQEI-6.js +755 -0
- package/dist/DatePicker-CJlffHeM.cjs +1 -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-DIAJy1Sv.cjs +1 -0
- package/dist/InputGroup-DQxpFFlP.js +86 -0
- package/dist/InputGroup.context-BTt6zUkj.cjs +1 -0
- package/dist/InputGroup.context-CJAWx5GI.js +16 -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-CcQpTOd3.js +189 -0
- package/dist/Menu-SlBztEy3.cjs +1 -0
- package/dist/{MenuBarItem-B8H9KfFo.cjs → MenuBarItem-BIDXX-uX.cjs} +1 -1
- package/dist/{MenuBarItem-BLdVIz0j.js → MenuBarItem-BlT1hN-b.js} +1 -1
- 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-CcXqTINb.cjs +1 -0
- package/dist/NumberInput-DfrhQayO.js +383 -0
- package/dist/OverflowMenu-BlZ_wEja.js +124 -0
- package/dist/OverflowMenu-CaC5E0Oy.cjs +1 -0
- package/dist/{PageHeader-BVcTzPcW.cjs → PageHeader-2jBgITYE.cjs} +1 -1
- package/dist/{PageHeader-CFMhwRcw.js → PageHeader-DgjItuag.js} +2 -2
- package/dist/{Pagination-VmE04nzc.cjs → Pagination-B1km1o28.cjs} +1 -1
- package/dist/{Pagination-zTp1lrSP.js → Pagination-DA1Nglqx.js} +26 -26
- 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-BUgIh9TX.js +130 -0
- package/dist/Search-D4SG2q3c.cjs +1 -0
- package/dist/Select-Cf0T4gIu.js +604 -0
- package/dist/Select-DhwcDMnf.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-BaM5cclm.cjs → Slider-D9glvyrU.cjs} +1 -1
- package/dist/{Slider-BAXKJCNG.js → Slider-D9hgB8GJ.js} +4 -4
- 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-BM2Zc2_R.cjs +2 -0
- package/dist/TextInput-DVpNJNwY.js +406 -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 +271 -253
- 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.mjs +1 -1
- package/dist/components/ContainedListItem.cjs +1 -1
- package/dist/components/ContainedListItem.mjs +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 +50 -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 +11 -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/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 +66 -0
- package/dist/composables/useNbStrings.composable.d.ts.map +1 -1
- package/dist/composables/useNbStrings.composable.mjs +61 -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/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/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 +43 -35
- 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/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/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/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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
2
|
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
3
|
import { usePhoneLayout as n } from "./composables/usePhoneLayout.composable.mjs";
|
|
4
|
-
import { n as r, r as i, t as a } from "./TreeContext
|
|
4
|
+
import { n as r, r as i, t as a } from "./TreeContext-Cs4iAw0d.js";
|
|
5
5
|
import { Comment as o, Fragment as s, Text as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, inject as _, normalizeClass as v, normalizeStyle as ee, onBeforeMount as te, onBeforeUnmount as ne, onBeforeUpdate as y, openBlock as b, provide as x, renderSlot as S, toDisplayString as C, unref as w, useSlots as T, withModifiers as E } from "vue";
|
|
6
6
|
import { regular as D } from "@nubisco/ui/icons/caret-right";
|
|
7
7
|
//#region src/components/TreeNode.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./Icon-CssV4E2-.cjs`),n=require(`./composables/usePhoneLayout.composable.cjs`),r=require(`./TreeContext-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./Icon-CssV4E2-.cjs`),n=require(`./composables/usePhoneLayout.composable.cjs`),r=require(`./TreeContext-B2Io2oii.cjs`);let i=require(`vue`),a=require(`@nubisco/ui/icons/caret-right`);var o=[`tabindex`,`data-nb-tree-id`,`draggable`,`aria-expanded`,`aria-selected`,`aria-disabled`,`aria-grabbed`],s={key:1,class:`nb-tree-node__toggle-spacer`},c={class:`nb-tree-node__label-text`},l={key:3,class:`nb-tree-node__meta`},u={key:4,class:`nb-tree-node__actions`},d={key:0,role:`group`,class:`nb-tree-node__children`},f=(0,i.defineComponent)({__name:`TreeNode`,props:{id:{},label:{},icon:{default:void 0},disabled:{type:Boolean,default:!1},depth:{default:null},draggable:{type:[Boolean,null],default:null},expandable:{type:[Boolean,null],default:null},droppable:{type:[Boolean,null],default:null}},emits:[`select`,`toggle`,`contextmenu`,`dblclick`],setup(e,{emit:f}){let p=e,m=f,h=(0,i.useSlots)(),g=(0,i.inject)(r.r),_=(0,i.inject)(r.n,0),v=(0,i.computed)(()=>p.depth??_);(0,i.provide)(r.n,v.value+1);let y=(0,i.inject)(r.t,[]);(0,i.provide)(r.t,[...y,p.id]);function b(){let e=g?.drag.dragId;return!!e&&(e===p.id||y.includes(e))}let x=0,S=-1,C=!1;(0,i.onBeforeMount)(()=>x++),(0,i.onBeforeUpdate)(()=>x++);function w(e){return!!e?.some(e=>e.type===i.Comment?!1:e.type===i.Fragment?w(e.children):e.type===i.Text?String(e.children??``).trim()!==``:!0)}function T(){return S!==x&&(S=x,C=w(h.default?.())),C}function E(){return p.expandable??T()}function D(){return p.droppable??!0}(0,i.onBeforeUnmount)(()=>g?.unregisterNode(p.id));let O=(0,i.computed)(()=>g?.expandedIds.has(p.id)??!1),k=(0,i.computed)(()=>g?.selectedId===p.id),A=(0,i.computed)(()=>g?.compact??!1),{phoneTouch:j}=n.usePhoneLayout(),M=(0,i.computed)(()=>j.value?`44px`:A.value?`24px`:`32px`),N=(0,i.computed)(()=>`${16+v.value*16}px`),P=(0,i.computed)(()=>p.disabled?!1:p.draggable===null?g?.draggable??!1:p.draggable),F=(0,i.computed)(()=>g?.drag.dragId===p.id),I=(0,i.computed)(()=>g?.drag.dropTargetId===p.id),L=(0,i.computed)(()=>I.value?g?.drag.dropPosition:null);function R(){p.disabled||!g||(g.select(p.id),m(`select`,p.id),E()&&(g.toggle(p.id),m(`toggle`,p.id,!O.value)))}function z(e){e.stopPropagation(),!(p.disabled||!g)&&(g.toggle(p.id),m(`toggle`,p.id,!O.value))}function B(){p.disabled||(E()&&g&&g.toggle(p.id),m(`dblclick`,p.id))}function V(e){m(`contextmenu`,e,p.id)}function H(e){e.target?.closest?.(`.nb-tree-node`)===e.currentTarget&&(!P.value||!g||!e.dataTransfer||(e.dataTransfer.effectAllowed=`move`,e.dataTransfer.setData(`text/plain`,p.id),g.onDragStart(p.id)))}function U(e,t){let n=t.getBoundingClientRect(),r=e.clientY-n.top,i=n.height;return r<i*.25?`before`:r>i*.75?`after`:D()?`inside`:r<i*.5?`before`:`after`}function W(e){if(!g||p.disabled||b())return;e.preventDefault(),e.stopPropagation(),e.dataTransfer&&(e.dataTransfer.dropEffect=`move`);let t=e.currentTarget.querySelector(`.nb-tree-node__label`);t&&g.onDragOver(p.id,U(e,t))}function G(e){if(!g)return;let t=e.relatedTarget,n=e.currentTarget;(!t||!n.contains(t))&&g.onDragLeave(p.id)}function K(e){!g||b()||(e.preventDefault(),e.stopPropagation(),g.onDrop())}function q(){g&&g.onDragEnd()}function J(e){!g||e.target!==e.currentTarget||(e.key===`Enter`?(e.preventDefault(),R()):e.key===`ArrowRight`&&E()?(e.preventDefault(),O.value||(g.toggle(p.id),m(`toggle`,p.id,!0))):e.key===`ArrowLeft`?(e.preventDefault(),O.value&&(g.toggle(p.id),m(`toggle`,p.id,!1))):e.key===`F2`&&(e.preventDefault(),m(`dblclick`,p.id)))}return(n,r)=>((0,i.openBlock)(),(0,i.createElementBlock)(`li`,{role:`treeitem`,tabindex:(0,i.unref)(g)?.tabStopId===e.id?0:-1,"data-nb-tree-id":e.id,draggable:P.value||void 0,"aria-expanded":E()?O.value:void 0,"aria-selected":k.value,"aria-disabled":e.disabled||void 0,"aria-grabbed":P.value?F.value:void 0,class:(0,i.normalizeClass)([`nb-tree-node`,{"nb-tree-node--selected":k.value,"nb-tree-node--disabled":e.disabled,"nb-tree-node--branch":E(),"nb-tree-node--leaf":!E(),"nb-tree-node--dragging":F.value,"nb-tree-node--drop-before":L.value===`before`,"nb-tree-node--drop-after":L.value===`after`,"nb-tree-node--drop-inside":L.value===`inside`}]),onClick:(0,i.withModifiers)(R,[`stop`]),onDblclick:(0,i.withModifiers)(B,[`stop`]),onContextmenu:(0,i.withModifiers)(V,[`prevent`]),onKeydown:J,onDragstart:H,onDragover:W,onDragleave:G,onDrop:K,onDragend:q},[(0,i.createElementVNode)(`div`,{class:`nb-tree-node__label`,style:(0,i.normalizeStyle)({minHeight:M.value,paddingInlineStart:N.value})},[E()?((0,i.openBlock)(),(0,i.createElementBlock)(`span`,{key:0,class:`nb-tree-node__toggle`,onClick:z},[(0,i.createVNode)(t.t,{name:(0,i.unref)(a.regular),size:`sm`,class:(0,i.normalizeClass)([`nb-tree-node__toggle-icon`,{"nb-tree-node__toggle-icon--expanded":O.value}])},null,8,[`name`,`class`])])):((0,i.openBlock)(),(0,i.createElementBlock)(`span`,s)),e.icon?((0,i.openBlock)(),(0,i.createBlock)(t.t,{key:2,name:e.icon,size:`sm`,class:`nb-tree-node__icon`},null,8,[`name`])):(0,i.createCommentVNode)(``,!0),(0,i.createElementVNode)(`span`,c,[(0,i.renderSlot)(n.$slots,`label`,{},()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.label),1)],!0)]),n.$slots.meta?((0,i.openBlock)(),(0,i.createElementBlock)(`span`,l,[(0,i.renderSlot)(n.$slots,`meta`,{},void 0,!0)])):(0,i.createCommentVNode)(``,!0),n.$slots.actions?((0,i.openBlock)(),(0,i.createElementBlock)(`span`,u,[(0,i.renderSlot)(n.$slots,`actions`,{},void 0,!0)])):(0,i.createCommentVNode)(``,!0)],4),E()&&O.value?((0,i.openBlock)(),(0,i.createElementBlock)(`ul`,d,[(0,i.renderSlot)(n.$slots,`default`,{},void 0,!0)])):(0,i.createCommentVNode)(``,!0)],42,o))}}),p=e.t(f,[[`__scopeId`,`data-v-1c52a6eb`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Button-BHFtgOXA.cjs`),t=require(`./Icon-CssV4E2-.cjs`),n=require(`./composables/usePhoneLayout.composable.cjs`),r=require(`./utils/initials.helper.cjs`),i=require(`./NubiscoMark-3StsXBoJ.cjs`),a=require(`./vue-i18n-ZdR0XDmN.cjs`),o=require(`./Radio-DuvSK9tl.cjs`),s=require(`./composables/useTheme.composable.cjs`);let c=require(`vue`),l=require(`@nubisco/ui/icons/check`),u=require(`@nubisco/ui/icons/x`),d=require(`@nubisco/ui/icons/shield-star`),ee=require(`@nubisco/ui/icons/users`),f=require(`@nubisco/ui/icons/plus`),p=require(`@nubisco/ui/icons/user`),m=require(`@nubisco/ui/icons/sign-out`);var te=[`title`,`aria-expanded`,`disabled`],ne={class:`nb-user-menu__avatar`,"aria-hidden":`true`},re=[`src`],ie={class:`nb-user-menu__identity-text`},ae={class:`nb-user-menu__identity-name`},oe={key:0,class:`nb-user-menu__identity-email`},se={key:1,class:`nb-user-menu__sr-only`},ce=[`title`,`aria-label`,`aria-expanded`,`disabled`],le=[`src`],ue={class:`nb-user-menu__label`},de={class:`nb-user-menu__email`},fe={key:0,class:`nb-user-menu__role`},pe=[`disabled`,`onClick`],me={class:`nb-user-menu__account-main`},h={class:`nb-user-menu__account-email`},g={key:0,class:`nb-user-menu__account-name`},_={class:`nb-user-menu__brand`},v={key:1,class:`nb-user-menu__brand-name`},y={key:2},b=260,x=8,S=(0,c.defineComponent)({__name:`UserMenu`,props:{user:{},accounts:{default:void 0},accountsUnknown:{type:Boolean,default:!1},showAccountActions:{type:Boolean,default:!0},showProfile:{type:Boolean,default:!0},brand:{default:`footer`},placement:{default:`right-end`},trigger:{default:`avatar`},showTheme:{type:Boolean,default:!1},roleBadge:{default:void 0},disabled:{type:Boolean,default:!1}},emits:[`switch`,`remove`,`switch-account`,`add-account`,`profile`,`sign-out`,`open`,`close`],setup(S,{expose:C,emit:w}){let T={en:{ACCOUNT_MENU:`Account menu`,SIGNED_IN_AS:`Signed in as`,SWITCH_ACCOUNT:`Switch account`,USE_ANOTHER_ACCOUNT:`Use another account`,REMOVE_ACCOUNT:`Sign this account out of this browser`,PROFILE:`Profile`,SIGN_OUT:`Sign out`,APPEARANCE:`Appearance`,THEME_LIGHT:`Light`,THEME_DARK:`Dark`,THEME_SYSTEM:`Match my system`,poweredBy:`Accord by Nubisco`},pt:{ACCOUNT_MENU:`Menu de conta`,SIGNED_IN_AS:`Sessão iniciada como`,SWITCH_ACCOUNT:`Mudar de conta`,USE_ANOTHER_ACCOUNT:`Usar outra conta`,REMOVE_ACCOUNT:`Terminar a sessão desta conta neste browser`,PROFILE:`Perfil`,SIGN_OUT:`Terminar sessão`,APPEARANCE:`Aspeto`,THEME_LIGHT:`Claro`,THEME_DARK:`Escuro`,THEME_SYSTEM:`Seguir o sistema`,poweredBy:`Accord da Nubisco`}},{t:E,te:D,locale:O}=a.t({useScope:`global`});function k(e){if(D(e))return E(e);let t=e.slice(9);return T[String(O.value).toLowerCase().split(`-`)[0]]?.[t]??T.en[t]??e}let A=s.useTheme(),j=(0,c.computed)(()=>[{label:k(`userMenu.THEME_LIGHT`),value:`light`},{label:k(`userMenu.THEME_DARK`),value:`dark`},{label:k(`userMenu.THEME_SYSTEM`),value:`system`}]),M=`nb-user-menu-appearance-${(0,c.useId)()}`,N=S,P=(0,c.inject)(`nb-shell-sidebar-variant`,null),F=(0,c.computed)(()=>N.trigger===`identity`&&(P?.value??`verbose`)===`verbose`),I=(0,c.computed)(()=>N.user.name?.trim()||N.user.email),L=(0,c.computed)(()=>{let e=N.user.name?.trim();return e?e.toLowerCase()===N.user.email.trim().toLowerCase()?``:N.user.email:``}),R=(0,c.ref)(!1);(0,c.watch)(()=>N.user.picture,()=>{R.value=!1});let z=(0,c.computed)(()=>!!N.user.picture&&!R.value),B=/(Accord|Nubisco)/,he=(0,c.computed)(()=>{let e=k(`userMenu.poweredBy`);if(!B.test(e))return[{text:e,name:!0,mark:!0}];let t=!1;return e.split(B).filter(e=>e!==``).map(e=>{let n=e===`Accord`||e===`Nubisco`,r=e===`Nubisco`&&!t;return r&&(t=!0),{text:e,name:n,mark:r}})}),V=w,H=(0,c.ref)(null),U=(0,c.ref)(null),W=(0,c.ref)(!1),G=(0,c.ref)({});function K(e){return r.initialsOf(e)}let{phone:q}=n.usePhoneLayout();function J(){let e=H.value?.getBoundingClientRect();if(e){if(q.value){let t=U.value?.offsetWidth||b,n=Math.max(x,window.innerWidth-t-x);G.value={left:`${Math.round(Math.min(Math.max(e.left,x),n))}px`,bottom:`${Math.round(window.innerHeight-e.top+8)}px`};return}N.placement===`top-start`?G.value={left:`${Math.round(e.left)}px`,bottom:`${Math.round(window.innerHeight-e.top+8)}px`}:G.value={left:`${Math.round(e.right+12)}px`,bottom:`${Math.round(window.innerHeight-e.bottom)}px`}}}function Y(){N.disabled||(W.value?X():(J(),W.value=!0,V(`open`),q.value&&(0,c.nextTick)(J)))}function X(){W.value&&(W.value=!1,V(`close`))}function ge(e){e.current||(X(),V(`switch`,e))}function _e(e){V(`remove`,e)}function ve(){X(),V(`switch-account`)}function Z(){X(),V(`add-account`)}function ye(){X(),V(`profile`)}function be(){X(),V(`sign-out`)}function Q(e){if(!W.value)return;let t=e.target;H.value?.contains(t)||U.value?.contains(t)||X()}function $(e){e.key===`Escape`&&X()}return(0,c.onMounted)(()=>{document.addEventListener(`click`,Q),document.addEventListener(`keydown`,$)}),(0,c.onBeforeUnmount)(()=>{document.removeEventListener(`click`,Q),document.removeEventListener(`keydown`,$)}),C({open:W,toggle:Y,close:X}),(n,r)=>((0,c.openBlock)(),(0,c.createElementBlock)(`div`,{ref_key:`rootRef`,ref:H,class:(0,c.normalizeClass)([`nb-user-menu`,{"nb-user-menu--identity":F.value,"nb-user-menu--elevated":!!N.roleBadge}])},[(0,c.renderSlot)(n.$slots,`trigger`,{open:W.value,toggle:Y},()=>[F.value?((0,c.openBlock)(),(0,c.createElementBlock)(`button`,{key:0,type:`button`,class:`nb-user-menu__identity`,title:N.user.email,"aria-haspopup":`menu`,"aria-expanded":W.value,disabled:S.disabled,onClick:Y},[(0,c.createElementVNode)(`span`,ne,[z.value?((0,c.openBlock)(),(0,c.createElementBlock)(`img`,{key:0,class:`nb-user-menu__picture`,src:N.user.picture??void 0,alt:``,onError:r[0]||=e=>R.value=!0},null,40,re)):((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:1},[(0,c.createTextVNode)((0,c.toDisplayString)(K(N.user)),1)],64))]),(0,c.createElementVNode)(`span`,ie,[(0,c.createElementVNode)(`span`,ae,(0,c.toDisplayString)(I.value),1),L.value?((0,c.openBlock)(),(0,c.createElementBlock)(`span`,oe,(0,c.toDisplayString)(L.value),1)):(0,c.createCommentVNode)(``,!0),N.roleBadge?((0,c.openBlock)(),(0,c.createElementBlock)(`span`,se,` (`+(0,c.toDisplayString)(N.roleBadge)+`)`,1)):(0,c.createCommentVNode)(``,!0)])],8,te)):((0,c.openBlock)(),(0,c.createElementBlock)(`button`,{key:1,type:`button`,class:`nb-user-menu__avatar`,title:N.user.email,"aria-label":N.roleBadge?`${k(`userMenu.ACCOUNT_MENU`)} (${N.roleBadge})`:k(`userMenu.ACCOUNT_MENU`),"aria-haspopup":`menu`,"aria-expanded":W.value,disabled:S.disabled,onClick:Y},[z.value?((0,c.openBlock)(),(0,c.createElementBlock)(`img`,{key:0,class:`nb-user-menu__picture`,src:N.user.picture??void 0,alt:``,onError:r[1]||=e=>R.value=!0},null,40,le)):((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:1},[(0,c.createTextVNode)((0,c.toDisplayString)(K(N.user)),1)],64))],8,ce))]),((0,c.openBlock)(),(0,c.createBlock)(c.Teleport,{to:`body`},[(0,c.createVNode)(c.Transition,{name:`nb-user-menu-pop`},{default:(0,c.withCtx)(()=>[W.value?((0,c.openBlock)(),(0,c.createElementBlock)(`div`,{key:0,ref_key:`panelRef`,ref:U,class:`nb-user-menu__panel`,style:(0,c.normalizeStyle)(G.value),role:`menu`},[(0,c.createElementVNode)(`p`,ue,(0,c.toDisplayString)(k(`userMenu.SIGNED_IN_AS`)),1),(0,c.createElementVNode)(`p`,de,(0,c.toDisplayString)(N.user.email),1),N.roleBadge?((0,c.openBlock)(),(0,c.createElementBlock)(`p`,fe,[(0,c.createVNode)(t.t,{name:(0,c.unref)(d.regular),size:`sm`},null,8,[`name`]),(0,c.createTextVNode)(` `+(0,c.toDisplayString)(N.roleBadge),1)])):(0,c.createCommentVNode)(``,!0),S.showAccountActions?((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:1},[r[3]||=(0,c.createElementVNode)(`div`,{class:`nb-user-menu__divider`,role:`separator`},null,-1),N.accounts&&N.accounts.length?((0,c.openBlock)(!0),(0,c.createElementBlock)(c.Fragment,{key:0},(0,c.renderList)(N.accounts,n=>((0,c.openBlock)(),(0,c.createElementBlock)(`div`,{key:n.id,class:`nb-user-menu__account-row`,role:`none`},[(0,c.createElementVNode)(`button`,{type:`button`,role:`menuitem`,class:(0,c.normalizeClass)([`nb-user-menu__account`,{"nb-user-menu__account--current":n.current}]),disabled:n.current,onClick:e=>ge(n)},[(0,c.createElementVNode)(`span`,me,[(0,c.createElementVNode)(`span`,h,(0,c.toDisplayString)(n.email),1),n.name?((0,c.openBlock)(),(0,c.createElementBlock)(`span`,g,(0,c.toDisplayString)(n.name),1)):(0,c.createCommentVNode)(``,!0)]),n.current?((0,c.openBlock)(),(0,c.createBlock)(t.t,{key:0,name:(0,c.unref)(l.regular),size:`sm`,class:`nb-user-menu__check`},null,8,[`name`])):(0,c.createCommentVNode)(``,!0)],10,pe),!n.current&&n.removable!==!1?((0,c.openBlock)(),(0,c.createBlock)(e.t,{key:0,class:`nb-user-menu__remove`,role:`menuitem`,variant:`ghost`,size:`sm`,icon:(0,c.unref)(u.regular),label:k(`userMenu.REMOVE_ACCOUNT`),"tooltip-position":`left`,onClick:(0,c.withModifiers)(e=>_e(n),[`stop`])},null,8,[`icon`,`label`,`onClick`])):(0,c.createCommentVNode)(``,!0)]))),128)):N.accountsUnknown?((0,c.openBlock)(),(0,c.createElementBlock)(`button`,{key:1,type:`button`,role:`menuitem`,class:`nb-user-menu__action`,onClick:ve},[(0,c.createVNode)(t.t,{name:(0,c.unref)(ee.regular),size:`sm`},null,8,[`name`]),(0,c.createTextVNode)(` `+(0,c.toDisplayString)(k(`userMenu.SWITCH_ACCOUNT`)),1)])):(0,c.createCommentVNode)(``,!0),(0,c.createElementVNode)(`button`,{type:`button`,role:`menuitem`,class:`nb-user-menu__action`,onClick:Z},[(0,c.createVNode)(t.t,{name:(0,c.unref)(f.regular),size:`sm`},null,8,[`name`]),(0,c.createTextVNode)(` `+(0,c.toDisplayString)(k(`userMenu.USE_ANOTHER_ACCOUNT`)),1)])],64)):(0,c.createCommentVNode)(``,!0),N.showTheme?((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:2},[r[4]||=(0,c.createElementVNode)(`div`,{class:`nb-user-menu__divider`,role:`separator`},null,-1),(0,c.createElementVNode)(`div`,{class:`nb-user-menu__appearance`,role:`group`,"aria-labelledby":M},[(0,c.createElementVNode)(`p`,{id:M,class:`nb-user-menu__appearance-title`},(0,c.toDisplayString)(k(`userMenu.APPEARANCE`)),1),(0,c.createVNode)(o.t,{name:M,options:j.value,"model-value":(0,c.unref)(A).theme.value,"onUpdate:modelValue":r[2]||=e=>(0,c.unref)(A).setTheme(e)},null,8,[`options`,`model-value`])])],64)):(0,c.createCommentVNode)(``,!0),n.$slots.default?((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:3},[r[5]||=(0,c.createElementVNode)(`div`,{class:`nb-user-menu__divider`,role:`separator`},null,-1),(0,c.renderSlot)(n.$slots,`default`,{close:X})],64)):(0,c.createCommentVNode)(``,!0),r[7]||=(0,c.createElementVNode)(`div`,{class:`nb-user-menu__divider`,role:`separator`},null,-1),S.showProfile?((0,c.openBlock)(),(0,c.createElementBlock)(`button`,{key:4,type:`button`,role:`menuitem`,class:`nb-user-menu__action`,onClick:ye},[(0,c.createVNode)(t.t,{name:(0,c.unref)(p.regular),size:`sm`},null,8,[`name`]),(0,c.createTextVNode)(` `+(0,c.toDisplayString)(k(`userMenu.PROFILE`)),1)])):(0,c.createCommentVNode)(``,!0),(0,c.createElementVNode)(`button`,{type:`button`,role:`menuitem`,class:`nb-user-menu__action nb-user-menu__action--danger`,onClick:be},[(0,c.createVNode)(t.t,{name:(0,c.unref)(m.regular),size:`sm`},null,8,[`name`]),(0,c.createTextVNode)(` `+(0,c.toDisplayString)(k(`userMenu.SIGN_OUT`)),1)]),N.brand===`none`?(0,c.createCommentVNode)(``,!0):((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:5},[r[6]||=(0,c.createElementVNode)(`div`,{class:`nb-user-menu__divider`,role:`separator`},null,-1),(0,c.renderSlot)(n.$slots,`brand`,{},()=>[(0,c.createElementVNode)(`p`,_,[((0,c.openBlock)(!0),(0,c.createElementBlock)(c.Fragment,null,(0,c.renderList)(he.value,(e,t)=>((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:t},[e.mark?((0,c.openBlock)(),(0,c.createBlock)(i.t,{key:0,size:13,class:`nb-user-menu__mark`})):(0,c.createCommentVNode)(``,!0),e.name?((0,c.openBlock)(),(0,c.createElementBlock)(`span`,v,(0,c.toDisplayString)(e.text),1)):((0,c.openBlock)(),(0,c.createElementBlock)(`span`,y,(0,c.toDisplayString)(e.text),1))],64))),128))])])],64))],4)):(0,c.createCommentVNode)(``,!0)]),_:3})]))],2))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return S}});
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as ee } from "./
|
|
6
|
-
import { t as te } from "./
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
|
+
import { usePhoneLayout as n } from "./composables/usePhoneLayout.composable.mjs";
|
|
4
|
+
import { initialsOf as r } from "./utils/initials.helper.mjs";
|
|
5
|
+
import { t as ee } from "./NubiscoMark-XJWPWIc0.js";
|
|
6
|
+
import { t as te } from "./vue-i18n-DaD-yZmK.js";
|
|
7
|
+
import { t as ne } from "./Radio-DcMkavI8.js";
|
|
8
|
+
import { useTheme as re } from "./composables/useTheme.composable.mjs";
|
|
9
|
+
import { Fragment as i, Teleport as ie, Transition as ae, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, inject as oe, nextTick as p, normalizeClass as m, normalizeStyle as se, onBeforeUnmount as ce, onMounted as le, openBlock as h, ref as g, renderList as _, renderSlot as v, toDisplayString as y, unref as b, useId as ue, watch as de, withCtx as fe, withModifiers as pe } from "vue";
|
|
9
10
|
import { regular as me } from "@nubisco/ui/icons/check";
|
|
10
11
|
import { regular as he } from "@nubisco/ui/icons/x";
|
|
11
12
|
import { regular as ge } from "@nubisco/ui/icons/shield-star";
|
|
@@ -21,27 +22,27 @@ var xe = [
|
|
|
21
22
|
], Se = {
|
|
22
23
|
class: "nb-user-menu__avatar",
|
|
23
24
|
"aria-hidden": "true"
|
|
24
|
-
}, Ce = ["src"], we = { class: "nb-user-menu__identity-text" },
|
|
25
|
+
}, Ce = ["src"], we = { class: "nb-user-menu__identity-text" }, x = { class: "nb-user-menu__identity-name" }, S = {
|
|
25
26
|
key: 0,
|
|
26
27
|
class: "nb-user-menu__identity-email"
|
|
27
|
-
},
|
|
28
|
+
}, C = {
|
|
28
29
|
key: 1,
|
|
29
30
|
class: "nb-user-menu__sr-only"
|
|
30
|
-
},
|
|
31
|
+
}, w = [
|
|
31
32
|
"title",
|
|
32
33
|
"aria-label",
|
|
33
34
|
"aria-expanded",
|
|
34
35
|
"disabled"
|
|
35
|
-
],
|
|
36
|
+
], T = ["src"], E = { class: "nb-user-menu__label" }, D = { class: "nb-user-menu__email" }, O = {
|
|
36
37
|
key: 0,
|
|
37
38
|
class: "nb-user-menu__role"
|
|
38
|
-
},
|
|
39
|
+
}, k = ["disabled", "onClick"], Te = { class: "nb-user-menu__account-main" }, Ee = { class: "nb-user-menu__account-email" }, De = {
|
|
39
40
|
key: 0,
|
|
40
41
|
class: "nb-user-menu__account-name"
|
|
41
42
|
}, Oe = { class: "nb-user-menu__brand" }, ke = {
|
|
42
43
|
key: 1,
|
|
43
44
|
class: "nb-user-menu__brand-name"
|
|
44
|
-
}, Ae = { key: 2 }, je = 260,
|
|
45
|
+
}, Ae = { key: 2 }, je = 260, A = 8, j = /* @__PURE__ */ f({
|
|
45
46
|
__name: "UserMenu",
|
|
46
47
|
props: {
|
|
47
48
|
user: {},
|
|
@@ -81,8 +82,8 @@ var xe = [
|
|
|
81
82
|
"open",
|
|
82
83
|
"close"
|
|
83
84
|
],
|
|
84
|
-
setup(f, { expose:
|
|
85
|
-
let
|
|
85
|
+
setup(f, { expose: j, emit: Me }) {
|
|
86
|
+
let M = {
|
|
86
87
|
en: {
|
|
87
88
|
ACCOUNT_MENU: "Account menu",
|
|
88
89
|
SIGNED_IN_AS: "Signed in as",
|
|
@@ -111,13 +112,13 @@ var xe = [
|
|
|
111
112
|
THEME_SYSTEM: "Seguir o sistema",
|
|
112
113
|
poweredBy: "Accord da Nubisco"
|
|
113
114
|
}
|
|
114
|
-
}, { t: Ne, te: Pe, locale:
|
|
115
|
+
}, { t: Ne, te: Pe, locale: Fe } = te({ useScope: "global" });
|
|
115
116
|
function N(e) {
|
|
116
117
|
if (Pe(e)) return Ne(e);
|
|
117
118
|
let t = e.slice(9);
|
|
118
|
-
return
|
|
119
|
+
return M[String(Fe.value).toLowerCase().split("-")[0]]?.[t] ?? M.en[t] ?? e;
|
|
119
120
|
}
|
|
120
|
-
let P =
|
|
121
|
+
let P = re(), Ie = a(() => [
|
|
121
122
|
{
|
|
122
123
|
label: N("userMenu.THEME_LIGHT"),
|
|
123
124
|
value: "light"
|
|
@@ -130,14 +131,14 @@ var xe = [
|
|
|
130
131
|
label: N("userMenu.THEME_SYSTEM"),
|
|
131
132
|
value: "system"
|
|
132
133
|
}
|
|
133
|
-
]), F = `nb-user-menu-appearance-${ue()}`, I = f,
|
|
134
|
+
]), F = `nb-user-menu-appearance-${ue()}`, I = f, Le = oe("nb-shell-sidebar-variant", null), L = a(() => I.trigger === "identity" && (Le?.value ?? "verbose") === "verbose"), Re = a(() => I.user.name?.trim() || I.user.email), R = a(() => {
|
|
134
135
|
let e = I.user.name?.trim();
|
|
135
136
|
return e ? e.toLowerCase() === I.user.email.trim().toLowerCase() ? "" : I.user.email : "";
|
|
136
|
-
}), z =
|
|
137
|
+
}), z = g(!1);
|
|
137
138
|
de(() => I.user.picture, () => {
|
|
138
139
|
z.value = !1;
|
|
139
140
|
});
|
|
140
|
-
let B = a(() => !!I.user.picture && !z.value), V = /(Accord|Nubisco)/,
|
|
141
|
+
let B = a(() => !!I.user.picture && !z.value), V = /(Accord|Nubisco)/, ze = a(() => {
|
|
141
142
|
let e = N("userMenu.poweredBy");
|
|
142
143
|
if (!V.test(e)) return [{
|
|
143
144
|
text: e,
|
|
@@ -153,18 +154,18 @@ var xe = [
|
|
|
153
154
|
mark: r
|
|
154
155
|
};
|
|
155
156
|
});
|
|
156
|
-
}), H = Me, U =
|
|
157
|
+
}), H = Me, U = g(null), W = g(null), G = g(!1), K = g({});
|
|
157
158
|
function q(e) {
|
|
158
|
-
return
|
|
159
|
+
return r(e);
|
|
159
160
|
}
|
|
160
|
-
let { phone: J } =
|
|
161
|
+
let { phone: J } = n();
|
|
161
162
|
function Y() {
|
|
162
163
|
let e = U.value?.getBoundingClientRect();
|
|
163
164
|
if (e) {
|
|
164
165
|
if (J.value) {
|
|
165
|
-
let t = W.value?.offsetWidth || je, n = Math.max(
|
|
166
|
+
let t = W.value?.offsetWidth || je, n = Math.max(A, window.innerWidth - t - A);
|
|
166
167
|
K.value = {
|
|
167
|
-
left: `${Math.round(Math.min(Math.max(e.left,
|
|
168
|
+
left: `${Math.round(Math.min(Math.max(e.left, A), n))}px`,
|
|
168
169
|
bottom: `${Math.round(window.innerHeight - e.top + 8)}px`
|
|
169
170
|
};
|
|
170
171
|
return;
|
|
@@ -179,27 +180,27 @@ var xe = [
|
|
|
179
180
|
}
|
|
180
181
|
}
|
|
181
182
|
function X() {
|
|
182
|
-
I.disabled || (G.value ? Z() : (Y(), G.value = !0, H("open"), J.value &&
|
|
183
|
+
I.disabled || (G.value ? Z() : (Y(), G.value = !0, H("open"), J.value && p(Y)));
|
|
183
184
|
}
|
|
184
185
|
function Z() {
|
|
185
186
|
G.value && (G.value = !1, H("close"));
|
|
186
187
|
}
|
|
187
|
-
function
|
|
188
|
+
function Be(e) {
|
|
188
189
|
e.current || (Z(), H("switch", e));
|
|
189
190
|
}
|
|
190
|
-
function
|
|
191
|
+
function Ve(e) {
|
|
191
192
|
H("remove", e);
|
|
192
193
|
}
|
|
193
|
-
function
|
|
194
|
+
function He() {
|
|
194
195
|
Z(), H("switch-account");
|
|
195
196
|
}
|
|
196
|
-
function
|
|
197
|
+
function Ue() {
|
|
197
198
|
Z(), H("add-account");
|
|
198
199
|
}
|
|
199
|
-
function
|
|
200
|
+
function We() {
|
|
200
201
|
Z(), H("profile");
|
|
201
202
|
}
|
|
202
|
-
function
|
|
203
|
+
function Ge() {
|
|
203
204
|
Z(), H("sign-out");
|
|
204
205
|
}
|
|
205
206
|
function Q(e) {
|
|
@@ -214,21 +215,21 @@ var xe = [
|
|
|
214
215
|
document.addEventListener("click", Q), document.addEventListener("keydown", $);
|
|
215
216
|
}), ce(() => {
|
|
216
217
|
document.removeEventListener("click", Q), document.removeEventListener("keydown", $);
|
|
217
|
-
}),
|
|
218
|
+
}), j({
|
|
218
219
|
open: G,
|
|
219
220
|
toggle: X,
|
|
220
221
|
close: Z
|
|
221
|
-
}), (
|
|
222
|
+
}), (n, r) => (h(), c("div", {
|
|
222
223
|
ref_key: "rootRef",
|
|
223
224
|
ref: U,
|
|
224
|
-
class:
|
|
225
|
+
class: m(["nb-user-menu", {
|
|
225
226
|
"nb-user-menu--identity": L.value,
|
|
226
227
|
"nb-user-menu--elevated": !!I.roleBadge
|
|
227
228
|
}])
|
|
228
|
-
}, [
|
|
229
|
+
}, [v(n.$slots, "trigger", {
|
|
229
230
|
open: G.value,
|
|
230
231
|
toggle: X
|
|
231
|
-
}, () => [L.value ? (
|
|
232
|
+
}, () => [L.value ? (h(), c("button", {
|
|
232
233
|
key: 0,
|
|
233
234
|
type: "button",
|
|
234
235
|
class: "nb-user-menu__identity",
|
|
@@ -237,17 +238,17 @@ var xe = [
|
|
|
237
238
|
"aria-expanded": G.value,
|
|
238
239
|
disabled: f.disabled,
|
|
239
240
|
onClick: X
|
|
240
|
-
}, [l("span", Se, [B.value ? (
|
|
241
|
+
}, [l("span", Se, [B.value ? (h(), c("img", {
|
|
241
242
|
key: 0,
|
|
242
243
|
class: "nb-user-menu__picture",
|
|
243
244
|
src: I.user.picture ?? void 0,
|
|
244
245
|
alt: "",
|
|
245
|
-
onError:
|
|
246
|
-
}, null, 40, Ce)) : (
|
|
247
|
-
l("span",
|
|
248
|
-
R.value ? (
|
|
249
|
-
I.roleBadge ? (
|
|
250
|
-
])], 8, xe)) : (
|
|
246
|
+
onError: r[0] ||= (e) => z.value = !0
|
|
247
|
+
}, null, 40, Ce)) : (h(), c(i, { key: 1 }, [u(y(q(I.user)), 1)], 64))]), l("span", we, [
|
|
248
|
+
l("span", x, y(Re.value), 1),
|
|
249
|
+
R.value ? (h(), c("span", S, y(R.value), 1)) : s("", !0),
|
|
250
|
+
I.roleBadge ? (h(), c("span", C, " (" + y(I.roleBadge) + ")", 1)) : s("", !0)
|
|
251
|
+
])], 8, xe)) : (h(), c("button", {
|
|
251
252
|
key: 1,
|
|
252
253
|
type: "button",
|
|
253
254
|
class: "nb-user-menu__avatar",
|
|
@@ -257,14 +258,14 @@ var xe = [
|
|
|
257
258
|
"aria-expanded": G.value,
|
|
258
259
|
disabled: f.disabled,
|
|
259
260
|
onClick: X
|
|
260
|
-
}, [B.value ? (
|
|
261
|
+
}, [B.value ? (h(), c("img", {
|
|
261
262
|
key: 0,
|
|
262
263
|
class: "nb-user-menu__picture",
|
|
263
264
|
src: I.user.picture ?? void 0,
|
|
264
265
|
alt: "",
|
|
265
|
-
onError:
|
|
266
|
-
}, null, 40,
|
|
267
|
-
default: fe(() => [G.value ? (
|
|
266
|
+
onError: r[1] ||= (e) => z.value = !0
|
|
267
|
+
}, null, 40, T)) : (h(), c(i, { key: 1 }, [u(y(q(I.user)), 1)], 64))], 8, w))]), (h(), o(ie, { to: "body" }, [d(ae, { name: "nb-user-menu-pop" }, {
|
|
268
|
+
default: fe(() => [G.value ? (h(), c("div", {
|
|
268
269
|
key: 0,
|
|
269
270
|
ref_key: "panelRef",
|
|
270
271
|
ref: W,
|
|
@@ -272,61 +273,67 @@ var xe = [
|
|
|
272
273
|
style: se(K.value),
|
|
273
274
|
role: "menu"
|
|
274
275
|
}, [
|
|
275
|
-
l("p",
|
|
276
|
-
l("p",
|
|
277
|
-
I.roleBadge ? (
|
|
278
|
-
name:
|
|
276
|
+
l("p", E, y(N("userMenu.SIGNED_IN_AS")), 1),
|
|
277
|
+
l("p", D, y(I.user.email), 1),
|
|
278
|
+
I.roleBadge ? (h(), c("p", O, [d(t, {
|
|
279
|
+
name: b(ge),
|
|
279
280
|
size: "sm"
|
|
280
|
-
}, null, 8, ["name"]), u(" " +
|
|
281
|
-
f.showAccountActions ? (
|
|
282
|
-
|
|
281
|
+
}, null, 8, ["name"]), u(" " + y(I.roleBadge), 1)])) : s("", !0),
|
|
282
|
+
f.showAccountActions ? (h(), c(i, { key: 1 }, [
|
|
283
|
+
r[3] ||= l("div", {
|
|
283
284
|
class: "nb-user-menu__divider",
|
|
284
285
|
role: "separator"
|
|
285
286
|
}, null, -1),
|
|
286
|
-
I.accounts && I.accounts.length ? (
|
|
287
|
-
key:
|
|
287
|
+
I.accounts && I.accounts.length ? (h(!0), c(i, { key: 0 }, _(I.accounts, (n) => (h(), c("div", {
|
|
288
|
+
key: n.id,
|
|
289
|
+
class: "nb-user-menu__account-row",
|
|
290
|
+
role: "none"
|
|
291
|
+
}, [l("button", {
|
|
288
292
|
type: "button",
|
|
289
293
|
role: "menuitem",
|
|
290
|
-
class:
|
|
291
|
-
disabled:
|
|
292
|
-
onClick: (e) =>
|
|
293
|
-
}, [l("span",
|
|
294
|
+
class: m(["nb-user-menu__account", { "nb-user-menu__account--current": n.current }]),
|
|
295
|
+
disabled: n.current,
|
|
296
|
+
onClick: (e) => Be(n)
|
|
297
|
+
}, [l("span", Te, [l("span", Ee, y(n.email), 1), n.name ? (h(), c("span", De, y(n.name), 1)) : s("", !0)]), n.current ? (h(), o(t, {
|
|
294
298
|
key: 0,
|
|
295
|
-
name:
|
|
299
|
+
name: b(me),
|
|
296
300
|
size: "sm",
|
|
297
301
|
class: "nb-user-menu__check"
|
|
298
|
-
}, null, 8, ["name"])) :
|
|
299
|
-
key:
|
|
300
|
-
name: y(he),
|
|
301
|
-
size: "sm",
|
|
302
|
+
}, null, 8, ["name"])) : s("", !0)], 10, k), !n.current && n.removable !== !1 ? (h(), o(e, {
|
|
303
|
+
key: 0,
|
|
302
304
|
class: "nb-user-menu__remove",
|
|
303
|
-
|
|
304
|
-
|
|
305
|
+
role: "menuitem",
|
|
306
|
+
variant: "ghost",
|
|
307
|
+
size: "sm",
|
|
308
|
+
icon: b(he),
|
|
309
|
+
label: N("userMenu.REMOVE_ACCOUNT"),
|
|
310
|
+
"tooltip-position": "left",
|
|
311
|
+
onClick: pe((e) => Ve(n), ["stop"])
|
|
305
312
|
}, null, 8, [
|
|
306
|
-
"
|
|
307
|
-
"
|
|
313
|
+
"icon",
|
|
314
|
+
"label",
|
|
308
315
|
"onClick"
|
|
309
|
-
]))
|
|
316
|
+
])) : s("", !0)]))), 128)) : I.accountsUnknown ? (h(), c("button", {
|
|
310
317
|
key: 1,
|
|
311
318
|
type: "button",
|
|
312
319
|
role: "menuitem",
|
|
313
320
|
class: "nb-user-menu__action",
|
|
314
|
-
onClick:
|
|
315
|
-
}, [d(
|
|
316
|
-
name:
|
|
321
|
+
onClick: He
|
|
322
|
+
}, [d(t, {
|
|
323
|
+
name: b(_e),
|
|
317
324
|
size: "sm"
|
|
318
|
-
}, null, 8, ["name"]), u(" " +
|
|
325
|
+
}, null, 8, ["name"]), u(" " + y(N("userMenu.SWITCH_ACCOUNT")), 1)])) : s("", !0),
|
|
319
326
|
l("button", {
|
|
320
327
|
type: "button",
|
|
321
328
|
role: "menuitem",
|
|
322
329
|
class: "nb-user-menu__action",
|
|
323
|
-
onClick:
|
|
324
|
-
}, [d(
|
|
325
|
-
name:
|
|
330
|
+
onClick: Ue
|
|
331
|
+
}, [d(t, {
|
|
332
|
+
name: b(ve),
|
|
326
333
|
size: "sm"
|
|
327
|
-
}, null, 8, ["name"]), u(" " +
|
|
334
|
+
}, null, 8, ["name"]), u(" " + y(N("userMenu.USE_ANOTHER_ACCOUNT")), 1)])
|
|
328
335
|
], 64)) : s("", !0),
|
|
329
|
-
I.showTheme ? (
|
|
336
|
+
I.showTheme ? (h(), c(i, { key: 2 }, [r[4] ||= l("div", {
|
|
330
337
|
class: "nb-user-menu__divider",
|
|
331
338
|
role: "separator"
|
|
332
339
|
}, null, -1), l("div", {
|
|
@@ -336,51 +343,51 @@ var xe = [
|
|
|
336
343
|
}, [l("p", {
|
|
337
344
|
id: F,
|
|
338
345
|
class: "nb-user-menu__appearance-title"
|
|
339
|
-
},
|
|
346
|
+
}, y(N("userMenu.APPEARANCE")), 1), d(ne, {
|
|
340
347
|
name: F,
|
|
341
|
-
options:
|
|
342
|
-
"model-value":
|
|
343
|
-
"onUpdate:modelValue":
|
|
348
|
+
options: Ie.value,
|
|
349
|
+
"model-value": b(P).theme.value,
|
|
350
|
+
"onUpdate:modelValue": r[2] ||= (e) => b(P).setTheme(e)
|
|
344
351
|
}, null, 8, ["options", "model-value"])])], 64)) : s("", !0),
|
|
345
|
-
|
|
352
|
+
n.$slots.default ? (h(), c(i, { key: 3 }, [r[5] ||= l("div", {
|
|
346
353
|
class: "nb-user-menu__divider",
|
|
347
354
|
role: "separator"
|
|
348
|
-
}, null, -1),
|
|
349
|
-
|
|
355
|
+
}, null, -1), v(n.$slots, "default", { close: Z })], 64)) : s("", !0),
|
|
356
|
+
r[7] ||= l("div", {
|
|
350
357
|
class: "nb-user-menu__divider",
|
|
351
358
|
role: "separator"
|
|
352
359
|
}, null, -1),
|
|
353
|
-
f.showProfile ? (
|
|
360
|
+
f.showProfile ? (h(), c("button", {
|
|
354
361
|
key: 4,
|
|
355
362
|
type: "button",
|
|
356
363
|
role: "menuitem",
|
|
357
364
|
class: "nb-user-menu__action",
|
|
358
|
-
onClick:
|
|
359
|
-
}, [d(
|
|
360
|
-
name:
|
|
365
|
+
onClick: We
|
|
366
|
+
}, [d(t, {
|
|
367
|
+
name: b(ye),
|
|
361
368
|
size: "sm"
|
|
362
|
-
}, null, 8, ["name"]), u(" " +
|
|
369
|
+
}, null, 8, ["name"]), u(" " + y(N("userMenu.PROFILE")), 1)])) : s("", !0),
|
|
363
370
|
l("button", {
|
|
364
371
|
type: "button",
|
|
365
372
|
role: "menuitem",
|
|
366
373
|
class: "nb-user-menu__action nb-user-menu__action--danger",
|
|
367
|
-
onClick:
|
|
368
|
-
}, [d(
|
|
369
|
-
name:
|
|
374
|
+
onClick: Ge
|
|
375
|
+
}, [d(t, {
|
|
376
|
+
name: b(be),
|
|
370
377
|
size: "sm"
|
|
371
|
-
}, null, 8, ["name"]), u(" " +
|
|
372
|
-
I.brand === "none" ? s("", !0) : (
|
|
378
|
+
}, null, 8, ["name"]), u(" " + y(N("userMenu.SIGN_OUT")), 1)]),
|
|
379
|
+
I.brand === "none" ? s("", !0) : (h(), c(i, { key: 5 }, [r[6] ||= l("div", {
|
|
373
380
|
class: "nb-user-menu__divider",
|
|
374
381
|
role: "separator"
|
|
375
|
-
}, null, -1),
|
|
382
|
+
}, null, -1), v(n.$slots, "brand", {}, () => [l("p", Oe, [(h(!0), c(i, null, _(ze.value, (e, t) => (h(), c(i, { key: t }, [e.mark ? (h(), o(ee, {
|
|
376
383
|
key: 0,
|
|
377
384
|
size: 13,
|
|
378
385
|
class: "nb-user-menu__mark"
|
|
379
|
-
})) : s("", !0), e.name ? (
|
|
386
|
+
})) : s("", !0), e.name ? (h(), c("span", ke, y(e.text), 1)) : (h(), c("span", Ae, y(e.text), 1))], 64))), 128))])])], 64))
|
|
380
387
|
], 4)) : s("", !0)]),
|
|
381
388
|
_: 3
|
|
382
389
|
})]))], 2));
|
|
383
390
|
}
|
|
384
391
|
});
|
|
385
392
|
//#endregion
|
|
386
|
-
export {
|
|
393
|
+
export { j as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./Button-BHFtgOXA.cjs`),n=require(`./composables/useReducedMotion.composable.cjs`),r=require(`./composables/useNbStrings.composable.cjs`);let i=require(`vue`),a=require(`@nubisco/ui/icons/play`);a=e.n(a);let o=require(`@nubisco/ui/icons/pause`);o=e.n(o);var s=[`poster`,`src`,`loop`,`aria-label`,`aria-hidden`,`width`,`height`],c=(0,i.defineComponent)({__name:`Video`,props:{src:{},poster:{},mobileSrc:{default:void 0},mobileBreakpoint:{default:768},label:{default:void 0},width:{default:void 0},height:{default:void 0},fit:{default:`cover`},loop:{type:Boolean,default:!0},playLabel:{default:void 0},pauseLabel:{default:void 0}},setup(e,{expose:c}){let l=e,u=r.useNbStrings(),d=(0,i.ref)(null),f=(0,i.ref)(null),p=(0,i.ref)(``),m=(0,i.ref)(!1),h=(0,i.computed)(()=>l.width&&l.height?`${l.width} / ${l.height}`:void 0);function g(){let e=n.prefersReducedMotion(),t=navigator.connection?.saveData;return!e&&!t}function _(){return window.matchMedia?.(`(max-width: ${l.mobileBreakpoint-.02}px)`).matches&&l.mobileSrc?l.mobileSrc:l.src}let v=!1,y=!1,b=null;async function x(){let e=f.value;if(e){p.value||(p.value=_(),await(0,i.nextTick)()),e.muted=!0;try{await e.play()}catch{}}}function S(){let e=f.value;e&&(m.value?(v=!0,e.pause()):(v=!1,x()))}return(0,i.onMounted)(()=>{let e=g();if(typeof IntersectionObserver>`u`){e&&x();return}b=new IntersectionObserver(([t])=>{y=t.isIntersecting,y&&e&&!v?x():!y&&m.value&&f.value?.pause()},{rootMargin:`200px 0px`}),d.value&&b.observe(d.value)}),(0,i.onBeforeUnmount)(()=>{b?.disconnect(),b=null}),c({playing:m,toggle:S}),(n,r)=>((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{ref_key:`root`,ref:d,class:(0,i.normalizeClass)([`nb-video`,[`nb-video--${e.fit}`,{"nb-video--playing":m.value}]]),style:(0,i.normalizeStyle)(h.value?{aspectRatio:h.value}:void 0)},[(0,i.createElementVNode)(`video`,{ref_key:`video`,ref:f,class:`nb-video__media`,poster:e.poster,src:p.value||void 0,loop:e.loop,"aria-label":e.label||void 0,"aria-hidden":e.label?void 0:`true`,width:e.width,height:e.height,muted:``,playsinline:``,preload:`none`,disablepictureinpicture:``,onPlaying:r[0]||=e=>m.value=!0,onPause:r[1]||=e=>m.value=!1,onEnded:r[2]||=e=>m.value=!1},null,40,s),(0,i.createVNode)(t.t,{class:`nb-video__toggle`,variant:`secondary`,size:`sm`,icon:m.value?o:a,label:m.value?e.pauseLabel??(0,i.unref)(u).videoPause:e.playLabel??(0,i.unref)(u).videoPlay,"tooltip-position":`top`,onClick:S},null,8,[`icon`,`label`])],6))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { prefersReducedMotion as t } from "./composables/useReducedMotion.composable.mjs";
|
|
3
|
+
import { useNbStrings as n } from "./composables/useNbStrings.composable.mjs";
|
|
4
|
+
import { computed as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, nextTick as c, normalizeClass as l, normalizeStyle as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, unref as h } from "vue";
|
|
5
|
+
import * as g from "@nubisco/ui/icons/play";
|
|
6
|
+
import * as _ from "@nubisco/ui/icons/pause";
|
|
7
|
+
//#region src/components/Video.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
+
var v = [
|
|
9
|
+
"poster",
|
|
10
|
+
"src",
|
|
11
|
+
"loop",
|
|
12
|
+
"aria-label",
|
|
13
|
+
"aria-hidden",
|
|
14
|
+
"width",
|
|
15
|
+
"height"
|
|
16
|
+
], y = /* @__PURE__ */ s({
|
|
17
|
+
__name: "Video",
|
|
18
|
+
props: {
|
|
19
|
+
src: {},
|
|
20
|
+
poster: {},
|
|
21
|
+
mobileSrc: { default: void 0 },
|
|
22
|
+
mobileBreakpoint: { default: 768 },
|
|
23
|
+
label: { default: void 0 },
|
|
24
|
+
width: { default: void 0 },
|
|
25
|
+
height: { default: void 0 },
|
|
26
|
+
fit: { default: "cover" },
|
|
27
|
+
loop: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: !0
|
|
30
|
+
},
|
|
31
|
+
playLabel: { default: void 0 },
|
|
32
|
+
pauseLabel: { default: void 0 }
|
|
33
|
+
},
|
|
34
|
+
setup(s, { expose: y }) {
|
|
35
|
+
let b = s, x = n(), S = m(null), C = m(null), w = m(""), T = m(!1), E = r(() => b.width && b.height ? `${b.width} / ${b.height}` : void 0);
|
|
36
|
+
function D() {
|
|
37
|
+
let e = t(), n = navigator.connection?.saveData;
|
|
38
|
+
return !e && !n;
|
|
39
|
+
}
|
|
40
|
+
function O() {
|
|
41
|
+
return window.matchMedia?.(`(max-width: ${b.mobileBreakpoint - .02}px)`).matches && b.mobileSrc ? b.mobileSrc : b.src;
|
|
42
|
+
}
|
|
43
|
+
let k = !1, A = !1, j = null;
|
|
44
|
+
async function M() {
|
|
45
|
+
let e = C.value;
|
|
46
|
+
if (e) {
|
|
47
|
+
w.value || (w.value = O(), await c()), e.muted = !0;
|
|
48
|
+
try {
|
|
49
|
+
await e.play();
|
|
50
|
+
} catch {}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
function N() {
|
|
54
|
+
let e = C.value;
|
|
55
|
+
e && (T.value ? (k = !0, e.pause()) : (k = !1, M()));
|
|
56
|
+
}
|
|
57
|
+
return f(() => {
|
|
58
|
+
let e = D();
|
|
59
|
+
if (typeof IntersectionObserver > "u") {
|
|
60
|
+
e && M();
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
j = new IntersectionObserver(([t]) => {
|
|
64
|
+
A = t.isIntersecting, A && e && !k ? M() : !A && T.value && C.value?.pause();
|
|
65
|
+
}, { rootMargin: "200px 0px" }), S.value && j.observe(S.value);
|
|
66
|
+
}), d(() => {
|
|
67
|
+
j?.disconnect(), j = null;
|
|
68
|
+
}), y({
|
|
69
|
+
playing: T,
|
|
70
|
+
toggle: N
|
|
71
|
+
}), (t, n) => (p(), i("div", {
|
|
72
|
+
ref_key: "root",
|
|
73
|
+
ref: S,
|
|
74
|
+
class: l(["nb-video", [`nb-video--${s.fit}`, { "nb-video--playing": T.value }]]),
|
|
75
|
+
style: u(E.value ? { aspectRatio: E.value } : void 0)
|
|
76
|
+
}, [a("video", {
|
|
77
|
+
ref_key: "video",
|
|
78
|
+
ref: C,
|
|
79
|
+
class: "nb-video__media",
|
|
80
|
+
poster: s.poster,
|
|
81
|
+
src: w.value || void 0,
|
|
82
|
+
loop: s.loop,
|
|
83
|
+
"aria-label": s.label || void 0,
|
|
84
|
+
"aria-hidden": s.label ? void 0 : "true",
|
|
85
|
+
width: s.width,
|
|
86
|
+
height: s.height,
|
|
87
|
+
muted: "",
|
|
88
|
+
playsinline: "",
|
|
89
|
+
preload: "none",
|
|
90
|
+
disablepictureinpicture: "",
|
|
91
|
+
onPlaying: n[0] ||= (e) => T.value = !0,
|
|
92
|
+
onPause: n[1] ||= (e) => T.value = !1,
|
|
93
|
+
onEnded: n[2] ||= (e) => T.value = !1
|
|
94
|
+
}, null, 40, v), o(e, {
|
|
95
|
+
class: "nb-video__toggle",
|
|
96
|
+
variant: "secondary",
|
|
97
|
+
size: "sm",
|
|
98
|
+
icon: T.value ? _ : g,
|
|
99
|
+
label: T.value ? s.pauseLabel ?? h(x).videoPause : s.playLabel ?? h(x).videoPlay,
|
|
100
|
+
"tooltip-position": "top",
|
|
101
|
+
onClick: N
|
|
102
|
+
}, null, 8, ["icon", "label"])], 6));
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
//#endregion
|
|
106
|
+
export { y as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Button-BHFtgOXA.cjs`),t=require(`./composables/useReducedMotion.composable.cjs`),n=require(`./utils/tourTarget.helper.cjs`),r=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),i=require(`./composables/useStableId.composable.cjs`),a=require(`./composables/useSurfaceLayer.composable.cjs`),o=require(`./utils/anchorPosition.helper.cjs`),s=require(`./composables/useNbStrings.composable.cjs`),c=require(`./ButtonSet-Bj9mIOW2.cjs`),l=require(`./composables/useWalkthrough.composable.cjs`);let u=require(`vue`);var d=[`viewBox`],ee=[`width`,`height`],te=[`x`,`y`,`width`,`height`,`rx`],ne=[`width`,`height`,`mask`],re=[`x`,`y`,`width`,`height`,`rx`],f=[`aria-label`,`aria-labelledby`],p={class:`nb-walkthrough--footer`},ie={class:`nb-walkthrough--progress`,"aria-live":`polite`},m=(0,u.defineComponent)({__name:`Walkthrough`,props:{walkthrough:{default:void 0},controller:{default:void 0},autoStart:{type:Boolean,default:!1},storage:{default:void 0},labels:{default:void 0},teleportTo:{default:`body`},closeOnScrim:{type:Boolean,default:!1},padding:{default:8}},emits:[`step-change`,`finish`,`skip`],setup(r,{expose:m,emit:h}){let g=r,_=h,ae={id:``,version:1,steps:[]},v=s.useNbStrings(),oe=(0,u.computed)(()=>({back:v.value.walkthroughBack,next:v.value.walkthroughNext,skip:v.value.walkthroughSkip,done:v.value.walkthroughDone,progress:v.value.walkthroughProgress,dialog:v.value.walkthroughDialog})),y=g.controller??l.useWalkthrough(()=>g.walkthrough??ae,{storage:g.storage}),b=i.useStableId({}),x=`${b}-mask`,S=`${b}-title`,C=`${b}-body`,w=t.useReducedMotion(),{layerProps:se}=a.useSurfaceLayer({overlay:!0}),T=(0,u.ref)(null),E=(0,u.ref)(null),D=(0,u.ref)(null),O=(0,u.ref)(o.viewportSize()),k=(0,u.ref)(`bottom`),A=(0,u.ref)({top:0,left:0}),j=1,M=null,N=null,P=-1,F=(0,u.computed)(()=>y.step.value),I=(0,u.computed)(()=>y.stepIndex.value),L=(0,u.computed)(()=>y.stepCount.value),R=(0,u.computed)(()=>({...oe.value,...g.labels??{}})),z=(0,u.computed)(()=>F.value?.padding??g.padding),B=(0,u.computed)(()=>{let e=D.value;if(!e)return null;let t=z.value,n=Math.max(0,e.left-t),r=Math.max(0,e.top-t);return{left:n,top:r,width:Math.min(O.value.width-n,e.width+t*2),height:Math.min(O.value.height-r,e.height+t*2)}}),V=(0,u.computed)(()=>Math.min(8,z.value+4)),H=(0,u.computed)(()=>{if(B.value)return{top:`${A.value.top}px`,left:`${A.value.left}px`}});function U(){let e=F.value;!e||P===I.value||(P=I.value,_(`step-change`,e,I.value))}function W(){O.value=o.viewportSize();let e=E.value;D.value=e&&e.isConnected?e.getBoundingClientRect():null,G()}function G(){let e=B.value,t=T.value;if(!e||!t)return;let n=t.getBoundingClientRect(),r=F.value?.placement??`auto`,i=r===`auto`?`bottom`:r,a=o.placeAnchored(e,{width:n.width,height:n.height},{side:i,gap:12,inset:16,viewport:O.value});k.value=a.side,A.value={top:a.top,left:a.left}}function K(e){N?.disconnect(),N=null,!(!e||typeof ResizeObserver>`u`)&&(N=new ResizeObserver(()=>W()),N.observe(e))}function ce(e){e.scrollIntoView({block:`center`,inline:`center`,behavior:w.value?`auto`:`smooth`})}let q=0;async function J(e=!0){if(!y.active.value)return;let t=F.value;if(!t)return;if(!t.target){q=0,E.value=null,K(null),W();return}let r=n.resolveTourTarget(t.target);if(!n.isTargetVisible(r)&&e){if(await(0,u.nextTick)(),await new Promise(e=>requestAnimationFrame(e)),!y.active.value||F.value!==t)return;r=n.resolveTourTarget(t.target)}if(n.isTargetVisible(r)){q=0,E.value=r,K(r),ce(r),W();return}let i=I.value+j;if(++q>L.value||i<0||i>=L.value){q=0,await Z();return}y.goTo(i)}function le(){let e=T.value;return e?Array.from(e.querySelectorAll(`button:not([disabled]), a[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])`)):[]}function ue(e){if(e.key===`Escape`){e.preventDefault(),Q();return}if(e.key!==`Tab`)return;let t=le();if(t.length===0){e.preventDefault(),T.value?.focus();return}let n=t[0],r=t[t.length-1],i=document.activeElement;e.shiftKey&&(i===n||i===T.value)?(e.preventDefault(),r.focus()):!e.shiftKey&&i===r&&(e.preventDefault(),n.focus())}function de(){g.closeOnScrim&&Q()}function Y(){if(j=1,y.isLast.value){Z();return}y.next()}function X(){j=-1,y.back()}async function Z(){let e=y.walkthrough.value;await y.finish(),_(`finish`,e)}async function Q(){let e=y.walkthrough.value,t=I.value;await y.skip(),_(`skip`,e,t)}function fe(){window.addEventListener(`resize`,W),window.addEventListener(`scroll`,W,!0)}function $(){window.removeEventListener(`resize`,W),window.removeEventListener(`scroll`,W,!0)}return(0,u.watch)(()=>y.active.value,async e=>{e?(j=1,q=0,P=-1,M=document.activeElement??null,fe(),await(0,u.nextTick)(),await J(),T.value?.focus(),U()):($(),K(null),E.value=null,D.value=null,M?.focus?.(),M=null,P=-1)}),(0,u.watch)(()=>y.stepIndex.value,async()=>{y.active.value&&(U(),await J())}),g.autoStart&&!g.controller&&(0,u.nextTick)(()=>y.maybeAutoStart()),(0,u.onBeforeUnmount)(()=>{$(),K(null)}),m({start:y.start,restart:y.restart,next:y.next,back:y.back,skip:Q,finish:Z,goTo:y.goTo,active:y.active,stepIndex:y.stepIndex,controller:y}),(t,n)=>((0,u.openBlock)(),(0,u.createBlock)(u.Teleport,{to:r.teleportTo},[(0,u.unref)(y).active.value?((0,u.openBlock)(),(0,u.createElementBlock)(`div`,{key:0,class:(0,u.normalizeClass)([`nb-walkthrough`,{"nb-walkthrough--no-motion":(0,u.unref)(w)}])},[((0,u.openBlock)(),(0,u.createElementBlock)(`svg`,{class:`nb-walkthrough--scrim`,"aria-hidden":`true`,viewBox:`0 0 ${O.value.width} ${O.value.height}`,preserveAspectRatio:`none`,onClick:de},[(0,u.createElementVNode)(`defs`,null,[(0,u.createElementVNode)(`mask`,{id:x},[(0,u.createElementVNode)(`rect`,{x:`0`,y:`0`,width:O.value.width,height:O.value.height,fill:`white`},null,8,ee),B.value?((0,u.openBlock)(),(0,u.createElementBlock)(`rect`,{key:0,x:B.value.left,y:B.value.top,width:B.value.width,height:B.value.height,rx:V.value,fill:`black`},null,8,te)):(0,u.createCommentVNode)(``,!0)])]),(0,u.createElementVNode)(`rect`,{class:`nb-walkthrough--scrim-fill`,x:`0`,y:`0`,width:O.value.width,height:O.value.height,mask:`url(#${x})`},null,8,ne),B.value?((0,u.openBlock)(),(0,u.createElementBlock)(`rect`,{key:0,class:`nb-walkthrough--ring`,x:B.value.left,y:B.value.top,width:B.value.width,height:B.value.height,rx:V.value},null,8,re)):(0,u.createCommentVNode)(``,!0)],8,d)),(0,u.createElementVNode)(`div`,(0,u.mergeProps)({ref_key:`popoverRef`,ref:T,class:[`nb-walkthrough--popover`,`nb-walkthrough--popover-${k.value}`,{"nb-walkthrough--popover-centered":!B.value}]},(0,u.unref)(se),{role:`dialog`,"aria-modal":`true`,"aria-label":R.value.dialog,"aria-labelledby":F.value?.title?S:void 0,"aria-describedby":C,style:H.value,tabindex:`-1`,onKeydown:ue}),[(0,u.renderSlot)(t.$slots,`header`,{step:F.value,index:I.value,total:L.value},()=>[F.value?.title?((0,u.openBlock)(),(0,u.createElementBlock)(`p`,{key:0,id:S,class:`nb-walkthrough--title`},(0,u.toDisplayString)(F.value.title),1)):(0,u.createCommentVNode)(``,!0)],!0),(0,u.createElementVNode)(`div`,{id:C,class:`nb-walkthrough--body`},[(0,u.renderSlot)(t.$slots,`step`,{step:F.value,index:I.value,total:L.value},()=>[(0,u.createTextVNode)((0,u.toDisplayString)(F.value?.body),1)],!0)]),(0,u.createElementVNode)(`div`,p,[(0,u.createElementVNode)(`p`,ie,(0,u.toDisplayString)(R.value.progress(I.value+1,L.value)),1),(0,u.renderSlot)(t.$slots,`actions`,{step:F.value,index:I.value,total:L.value,back:X,next:Y,skip:Q},()=>[(0,u.createVNode)(c.t,{class:`nb-walkthrough--actions`,align:`end`,size:`sm`},{default:(0,u.withCtx)(()=>[(0,u.unref)(y).isLast.value?(0,u.createCommentVNode)(``,!0):((0,u.openBlock)(),(0,u.createBlock)(e.t,{key:0,variant:`ghost`,onClick:Q},{default:(0,u.withCtx)(()=>[(0,u.createTextVNode)((0,u.toDisplayString)(R.value.skip),1)]),_:1})),(0,u.unref)(y).isFirst.value?(0,u.createCommentVNode)(``,!0):((0,u.openBlock)(),(0,u.createBlock)(e.t,{key:1,variant:`secondary`,outlined:``,onClick:X},{default:(0,u.withCtx)(()=>[(0,u.createTextVNode)((0,u.toDisplayString)(R.value.back),1)]),_:1})),(0,u.createVNode)(e.t,{variant:`primary`,onClick:Y},{default:(0,u.withCtx)(()=>[(0,u.createTextVNode)((0,u.toDisplayString)((0,u.unref)(y).isLast.value?R.value.done:R.value.next),1)]),_:1})]),_:1})],!0)])],16,f)],2)):(0,u.createCommentVNode)(``,!0)],8,[`to`]))}}),h=r.t(m,[[`__scopeId`,`data-v-8ad34068`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
|