@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
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { t as e } from "./Accordion.context-DG649PsQ.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
|
+
import { t as n } from "./Icon-B2tiGiqZ.js";
|
|
4
|
+
import { useStableId as r } from "./composables/useStableId.composable.mjs";
|
|
5
|
+
import { useNbStrings as i } from "./composables/useNbStrings.composable.mjs";
|
|
6
|
+
import { t as a } from "./InfoHint-BlHxrTw6.js";
|
|
7
|
+
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, inject as h, normalizeClass as g, onBeforeUnmount as _, openBlock as v, ref as y, renderSlot as b, toDisplayString as x, unref as S, useSlots as C } from "vue";
|
|
8
|
+
import { regular as w } from "@nubisco/ui/icons/caret-down";
|
|
9
|
+
//#region src/components/AccordionItem.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
+
var T = ["aria-level"], E = [
|
|
11
|
+
"id",
|
|
12
|
+
"aria-expanded",
|
|
13
|
+
"aria-controls",
|
|
14
|
+
"aria-describedby",
|
|
15
|
+
"disabled"
|
|
16
|
+
], D = { class: "nb-accordion-item__title" }, O = {
|
|
17
|
+
key: 1,
|
|
18
|
+
class: "nb-accordion-item__meta"
|
|
19
|
+
}, k = ["id"], A = {
|
|
20
|
+
key: 2,
|
|
21
|
+
class: "nb-accordion-item__actions"
|
|
22
|
+
}, j = [
|
|
23
|
+
"id",
|
|
24
|
+
"aria-labelledby",
|
|
25
|
+
"hidden",
|
|
26
|
+
"inert"
|
|
27
|
+
], M = { class: "nb-accordion-item__body" }, N = /* @__PURE__ */ t(/* @__PURE__ */ m({
|
|
28
|
+
__name: "AccordionItem",
|
|
29
|
+
props: {
|
|
30
|
+
id: { default: void 0 },
|
|
31
|
+
title: { default: "" },
|
|
32
|
+
icon: { default: void 0 },
|
|
33
|
+
meta: { default: "" },
|
|
34
|
+
info: { default: void 0 },
|
|
35
|
+
disabled: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: !1
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
setup(t) {
|
|
41
|
+
let m = i(), N = t, P = C(), F = s(() => !!N.meta || !!P.meta), I = s(() => !!N.info || !!P.actions), L = h(e, null), R = r(N), z = s(() => L?.headingLevel?.value ?? 3), B = s(() => R), V = y(null), H = s(() => L?.open.value.includes(B.value) ?? !1);
|
|
42
|
+
L && _(L.register(B.value, () => V.value));
|
|
43
|
+
function U() {
|
|
44
|
+
N.disabled || L?.toggle(B.value);
|
|
45
|
+
}
|
|
46
|
+
let W = {
|
|
47
|
+
ArrowUp: "prev",
|
|
48
|
+
ArrowDown: "next",
|
|
49
|
+
Home: "first",
|
|
50
|
+
End: "last"
|
|
51
|
+
};
|
|
52
|
+
function G(e) {
|
|
53
|
+
let t = W[e.key];
|
|
54
|
+
!t || !L || (e.preventDefault(), L.focusSibling(B.value, t));
|
|
55
|
+
}
|
|
56
|
+
return (e, r) => (v(), u("div", { class: g(["nb-accordion-item", {
|
|
57
|
+
"nb-accordion-item--open": H.value,
|
|
58
|
+
"nb-accordion-item--disabled": t.disabled
|
|
59
|
+
}]) }, [d("div", {
|
|
60
|
+
class: g(["nb-accordion-item__heading", { "nb-accordion-item__heading--aside": I.value }]),
|
|
61
|
+
role: "heading",
|
|
62
|
+
"aria-level": z.value
|
|
63
|
+
}, [d("button", {
|
|
64
|
+
id: `${B.value}-header`,
|
|
65
|
+
ref_key: "headerRef",
|
|
66
|
+
ref: V,
|
|
67
|
+
type: "button",
|
|
68
|
+
class: "nb-accordion-item__header",
|
|
69
|
+
"aria-expanded": H.value,
|
|
70
|
+
"aria-controls": `${B.value}-panel`,
|
|
71
|
+
"aria-describedby": I.value && F.value ? `${B.value}-meta` : void 0,
|
|
72
|
+
disabled: t.disabled,
|
|
73
|
+
onClick: U,
|
|
74
|
+
onKeydown: G
|
|
75
|
+
}, [
|
|
76
|
+
p(n, {
|
|
77
|
+
class: "nb-accordion-item__chevron",
|
|
78
|
+
name: S(w),
|
|
79
|
+
size: 16,
|
|
80
|
+
"aria-hidden": "true"
|
|
81
|
+
}, null, 8, ["name"]),
|
|
82
|
+
t.icon ? (v(), c(n, {
|
|
83
|
+
key: 0,
|
|
84
|
+
name: t.icon,
|
|
85
|
+
size: 16
|
|
86
|
+
}, null, 8, ["name"])) : l("", !0),
|
|
87
|
+
d("span", D, [b(e.$slots, "title", {}, () => [f(x(t.title), 1)], !0)]),
|
|
88
|
+
!I.value && F.value ? (v(), u("span", O, [b(e.$slots, "meta", {}, () => [f(x(t.meta), 1)], !0)])) : l("", !0)
|
|
89
|
+
], 40, E), I.value ? (v(), u(o, { key: 0 }, [
|
|
90
|
+
t.info ? (v(), c(a, {
|
|
91
|
+
key: 0,
|
|
92
|
+
class: "nb-accordion-item__info",
|
|
93
|
+
text: t.info,
|
|
94
|
+
size: 16,
|
|
95
|
+
label: S(m).accordionAbout(t.title ?? "")
|
|
96
|
+
}, null, 8, ["text", "label"])) : l("", !0),
|
|
97
|
+
r[0] ||= d("span", {
|
|
98
|
+
class: "nb-accordion-item__spacer",
|
|
99
|
+
"aria-hidden": "true"
|
|
100
|
+
}, null, -1),
|
|
101
|
+
F.value ? (v(), u("span", {
|
|
102
|
+
key: 1,
|
|
103
|
+
id: `${B.value}-meta`,
|
|
104
|
+
class: "nb-accordion-item__meta nb-accordion-item__meta--raised",
|
|
105
|
+
onClick: U
|
|
106
|
+
}, [b(e.$slots, "meta", {}, () => [f(x(t.meta), 1)], !0)], 8, k)) : l("", !0),
|
|
107
|
+
e.$slots.actions ? (v(), u("span", A, [b(e.$slots, "actions", {}, void 0, !0)])) : l("", !0)
|
|
108
|
+
], 64)) : l("", !0)], 10, T), d("div", {
|
|
109
|
+
id: `${B.value}-panel`,
|
|
110
|
+
class: "nb-accordion-item__panel",
|
|
111
|
+
role: "region",
|
|
112
|
+
"aria-labelledby": `${B.value}-header`,
|
|
113
|
+
hidden: !H.value,
|
|
114
|
+
inert: !H.value || void 0
|
|
115
|
+
}, [d("div", M, [b(e.$slots, "default", {}, void 0, !0)])], 8, j)], 2));
|
|
116
|
+
}
|
|
117
|
+
}), [["__scopeId", "data-v-ef81ad74"]]);
|
|
118
|
+
//#endregion
|
|
119
|
+
export { N as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Accordion.context-Cb_NKUtg.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./composables/useStableId.composable.cjs`),i=require(`./composables/useNbStrings.composable.cjs`),a=require(`./InfoHint-BEzkNQTM.cjs`);let o=require(`vue`),s=require(`@nubisco/ui/icons/caret-down`);var c=[`aria-level`],l=[`id`,`aria-expanded`,`aria-controls`,`aria-describedby`,`disabled`],u={class:`nb-accordion-item__title`},d={key:1,class:`nb-accordion-item__meta`},f=[`id`],p={key:2,class:`nb-accordion-item__actions`},m=[`id`,`aria-labelledby`,`hidden`,`inert`],h={class:`nb-accordion-item__body`},g=(0,o.defineComponent)({__name:`AccordionItem`,props:{id:{default:void 0},title:{default:``},icon:{default:void 0},meta:{default:``},info:{default:void 0},disabled:{type:Boolean,default:!1}},setup(t){let g=i.useNbStrings(),_=t,v=(0,o.useSlots)(),y=(0,o.computed)(()=>!!_.meta||!!v.meta),b=(0,o.computed)(()=>!!_.info||!!v.actions),x=(0,o.inject)(e.t,null),S=r.useStableId(_),C=(0,o.computed)(()=>x?.headingLevel?.value??3),w=(0,o.computed)(()=>S),T=(0,o.ref)(null),E=(0,o.computed)(()=>x?.open.value.includes(w.value)??!1);x&&(0,o.onBeforeUnmount)(x.register(w.value,()=>T.value));function D(){_.disabled||x?.toggle(w.value)}let O={ArrowUp:`prev`,ArrowDown:`next`,Home:`first`,End:`last`};function k(e){let t=O[e.key];!t||!x||(e.preventDefault(),x.focusSibling(w.value,t))}return(e,r)=>((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{class:(0,o.normalizeClass)([`nb-accordion-item`,{"nb-accordion-item--open":E.value,"nb-accordion-item--disabled":t.disabled}])},[(0,o.createElementVNode)(`div`,{class:(0,o.normalizeClass)([`nb-accordion-item__heading`,{"nb-accordion-item__heading--aside":b.value}]),role:`heading`,"aria-level":C.value},[(0,o.createElementVNode)(`button`,{id:`${w.value}-header`,ref_key:`headerRef`,ref:T,type:`button`,class:`nb-accordion-item__header`,"aria-expanded":E.value,"aria-controls":`${w.value}-panel`,"aria-describedby":b.value&&y.value?`${w.value}-meta`:void 0,disabled:t.disabled,onClick:D,onKeydown:k},[(0,o.createVNode)(n.t,{class:`nb-accordion-item__chevron`,name:(0,o.unref)(s.regular),size:16,"aria-hidden":`true`},null,8,[`name`]),t.icon?((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:0,name:t.icon,size:16},null,8,[`name`])):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`span`,u,[(0,o.renderSlot)(e.$slots,`title`,{},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(t.title),1)],!0)]),!b.value&&y.value?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,d,[(0,o.renderSlot)(e.$slots,`meta`,{},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(t.meta),1)],!0)])):(0,o.createCommentVNode)(``,!0)],40,l),b.value?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[t.info?((0,o.openBlock)(),(0,o.createBlock)(a.t,{key:0,class:`nb-accordion-item__info`,text:t.info,size:16,label:(0,o.unref)(g).accordionAbout(t.title??``)},null,8,[`text`,`label`])):(0,o.createCommentVNode)(``,!0),r[0]||=(0,o.createElementVNode)(`span`,{class:`nb-accordion-item__spacer`,"aria-hidden":`true`},null,-1),y.value?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,{key:1,id:`${w.value}-meta`,class:`nb-accordion-item__meta nb-accordion-item__meta--raised`,onClick:D},[(0,o.renderSlot)(e.$slots,`meta`,{},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(t.meta),1)],!0)],8,f)):(0,o.createCommentVNode)(``,!0),e.$slots.actions?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,p,[(0,o.renderSlot)(e.$slots,`actions`,{},void 0,!0)])):(0,o.createCommentVNode)(``,!0)],64)):(0,o.createCommentVNode)(``,!0)],10,c),(0,o.createElementVNode)(`div`,{id:`${w.value}-panel`,class:`nb-accordion-item__panel`,role:`region`,"aria-labelledby":`${w.value}-header`,hidden:!E.value,inert:!E.value||void 0},[(0,o.createElementVNode)(`div`,h,[(0,o.renderSlot)(e.$slots,`default`,{},void 0,!0)])],8,m)],2))}}),_=t.t(g,[[`__scopeId`,`data-v-ef81ad74`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return _}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Button-BHFtgOXA.cjs`),t=require(`./composables/usePhoneLayout.composable.cjs`),n=require(`./composables/useNbStrings.composable.cjs`),r=require(`./Toolbar.context-D3Uj5o0_.cjs`),i=require(`./OverflowMenu-CaC5E0Oy.cjs`),a=require(`./utils/slotContent.helper.cjs`),o=require(`./utils/actionFit.helper.cjs`);let s=require(`vue`);var c=(0,s.defineComponent)({__name:`ActionGroup`,props:{items:{},size:{default:void 0},overflow:{default:`never`},overflowLabel:{default:void 0},phoneVisible:{default:1}},emits:[`select`],setup(c,{emit:l}){let u=c,d=l,f=(0,s.useSlots)(),{phone:p}=t.usePhoneLayout(),m=n.useNbStrings(),h=(0,s.inject)(r.t,null),g=(0,s.computed)(()=>u.size??(h?void 0:`sm`)),_=(0,s.computed)(()=>[`nb-action-group`,{"nb-action-group--in-toolbar":!!h,"nb-action-group--auto":u.overflow===`auto`&&!p.value}]),v=(0,s.ref)(null),y=(0,s.ref)(new Map),b=(0,s.ref)(null),x=(0,s.computed)(()=>u.overflow===`auto`&&!p.value&&b.value===null);function S(){let e=v.value;if(!e)return;let t=new Map;e.querySelectorAll(`[data-action-id]`).forEach(e=>t.set(e.dataset.actionId,e.offsetWidth)),y.value=t}function C(){let e=v.value;if(!e||u.overflow!==`auto`||p.value)return;b.value===null&&S();let t=u.items.map(e=>y.value.get(e.id)??0),n=getComputedStyle(e),r=parseFloat(n.columnGap)||0,i=e.querySelector(`.nb-button`)?.offsetHeight??0;b.value=o.fitActions(t,e.clientWidth,i,r)}let w;function T(){w?.disconnect(),w=void 0,!(u.overflow!==`auto`||!v.value||typeof ResizeObserver>`u`)&&(w=new ResizeObserver(()=>C()),w.observe(v.value))}(0,s.onMounted)(T),(0,s.onBeforeUnmount)(()=>w?.disconnect()),(0,s.watch)(()=>[u.overflow,p.value,u.items.map(e=>e.id).join()],async()=>{b.value=null,await(0,s.nextTick)(),T(),C()});let E=(0,s.computed)(()=>u.overflow===`never`?!1:u.overflow===`always`||p.value?!0:u.overflow===`auto`?b.value!==null&&b.value<u.items.length:!1),D=(0,s.computed)(()=>{if(u.overflow===`auto`&&!p.value)return u.items.slice(0,b.value??u.items.length);let e=Math.max(0,u.phoneVisible),t=u.items.filter(e=>e.priority===`primary`);return(t.length?t:u.items).slice(0,e)}),O=(0,s.computed)(()=>E.value?D.value:u.items),k=(0,s.computed)(()=>u.items.filter(e=>!D.value.includes(e))),A=(0,s.computed)(()=>k.value.length>0||a.hasSlotContent(f,`menu`)),j=(0,s.computed)(()=>u.overflowLabel??m.value.overflowMenuLabel);function M(e){return e.icon?!!e.iconOnly||E.value&&p.value:!1}function N(e){return e.variant??(e.danger?`danger`:void 0)}function P(e){e.disabled||e.loading||(e.onSelect?.(),d(`select`,e.id))}return(t,n)=>((0,s.openBlock)(),(0,s.createElementBlock)(`div`,{ref_key:`rootRef`,ref:v,class:(0,s.normalizeClass)(_.value)},[((0,s.openBlock)(!0),(0,s.createElementBlock)(s.Fragment,null,(0,s.renderList)(O.value,t=>((0,s.openBlock)(),(0,s.createElementBlock)(s.Fragment,{key:t.id},[M(t)?((0,s.openBlock)(),(0,s.createBlock)(e.t,{key:0,variant:N(t),outlined:t.outlined,size:g.value,disabled:t.disabled,loading:t.loading,icon:t.icon,label:t.label,"disabled-reason":t.disabledReason,pressed:t.pressed,"data-action-id":x.value?t.id:void 0,onClick:e=>P(t)},null,8,[`variant`,`outlined`,`size`,`disabled`,`loading`,`icon`,`label`,`disabled-reason`,`pressed`,`data-action-id`,`onClick`])):((0,s.openBlock)(),(0,s.createBlock)(e.t,{key:1,variant:N(t),outlined:t.outlined,size:g.value,disabled:t.disabled,loading:t.loading,icon:t.icon,"disabled-reason":t.disabledReason,pressed:t.pressed,"data-action-id":x.value?t.id:void 0,onClick:e=>P(t)},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(t.label),1)]),_:2},1032,[`variant`,`outlined`,`size`,`disabled`,`loading`,`icon`,`disabled-reason`,`pressed`,`data-action-id`,`onClick`]))],64))),128)),E.value&&A.value?((0,s.openBlock)(),(0,s.createBlock)(i.t,{key:0,class:`nb-action-group__more`,items:k.value,label:j.value,size:g.value,onSelect:n[0]||=e=>d(`select`,e)},{default:(0,s.withCtx)(()=>[(0,s.renderSlot)(t.$slots,`menu`)]),_:3},8,[`items`,`label`,`size`])):(0,s.createCommentVNode)(``,!0)],2))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { usePhoneLayout as t } from "./composables/usePhoneLayout.composable.mjs";
|
|
3
|
+
import { useNbStrings as n } from "./composables/useNbStrings.composable.mjs";
|
|
4
|
+
import { t as r } from "./Toolbar.context-Bli1SqM3.js";
|
|
5
|
+
import { t as i } from "./OverflowMenu-BlZ_wEja.js";
|
|
6
|
+
import { hasSlotContent as a } from "./utils/slotContent.helper.mjs";
|
|
7
|
+
import { fitActions as o } from "./utils/actionFit.helper.mjs";
|
|
8
|
+
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createTextVNode as f, defineComponent as p, inject as m, nextTick as h, normalizeClass as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderList as x, renderSlot as S, toDisplayString as C, useSlots as w, watch as T, withCtx as E } from "vue";
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/components/ActionGroup.vue
|
|
11
|
+
var D = /* @__PURE__ */ p({
|
|
12
|
+
__name: "ActionGroup",
|
|
13
|
+
props: {
|
|
14
|
+
items: {},
|
|
15
|
+
size: { default: void 0 },
|
|
16
|
+
overflow: { default: "never" },
|
|
17
|
+
overflowLabel: { default: void 0 },
|
|
18
|
+
phoneVisible: { default: 1 }
|
|
19
|
+
},
|
|
20
|
+
emits: ["select"],
|
|
21
|
+
setup(p, { emit: D }) {
|
|
22
|
+
let O = p, k = D, A = w(), { phone: j } = t(), M = n(), N = m(r, null), P = c(() => O.size ?? (N ? void 0 : "sm")), F = c(() => ["nb-action-group", {
|
|
23
|
+
"nb-action-group--in-toolbar": !!N,
|
|
24
|
+
"nb-action-group--auto": O.overflow === "auto" && !j.value
|
|
25
|
+
}]), I = b(null), L = b(/* @__PURE__ */ new Map()), R = b(null), z = c(() => O.overflow === "auto" && !j.value && R.value === null);
|
|
26
|
+
function B() {
|
|
27
|
+
let e = I.value;
|
|
28
|
+
if (!e) return;
|
|
29
|
+
let t = /* @__PURE__ */ new Map();
|
|
30
|
+
e.querySelectorAll("[data-action-id]").forEach((e) => t.set(e.dataset.actionId, e.offsetWidth)), L.value = t;
|
|
31
|
+
}
|
|
32
|
+
function V() {
|
|
33
|
+
let e = I.value;
|
|
34
|
+
if (!e || O.overflow !== "auto" || j.value) return;
|
|
35
|
+
R.value === null && B();
|
|
36
|
+
let t = O.items.map((e) => L.value.get(e.id) ?? 0), n = getComputedStyle(e), r = parseFloat(n.columnGap) || 0, i = e.querySelector(".nb-button")?.offsetHeight ?? 0;
|
|
37
|
+
R.value = o(t, e.clientWidth, i, r);
|
|
38
|
+
}
|
|
39
|
+
let H;
|
|
40
|
+
function U() {
|
|
41
|
+
H?.disconnect(), H = void 0, !(O.overflow !== "auto" || !I.value || typeof ResizeObserver > "u") && (H = new ResizeObserver(() => V()), H.observe(I.value));
|
|
42
|
+
}
|
|
43
|
+
v(U), _(() => H?.disconnect()), T(() => [
|
|
44
|
+
O.overflow,
|
|
45
|
+
j.value,
|
|
46
|
+
O.items.map((e) => e.id).join()
|
|
47
|
+
], async () => {
|
|
48
|
+
R.value = null, await h(), U(), V();
|
|
49
|
+
});
|
|
50
|
+
let W = c(() => O.overflow === "never" ? !1 : O.overflow === "always" || j.value ? !0 : O.overflow === "auto" ? R.value !== null && R.value < O.items.length : !1), G = c(() => {
|
|
51
|
+
if (O.overflow === "auto" && !j.value) return O.items.slice(0, R.value ?? O.items.length);
|
|
52
|
+
let e = Math.max(0, O.phoneVisible), t = O.items.filter((e) => e.priority === "primary");
|
|
53
|
+
return (t.length ? t : O.items).slice(0, e);
|
|
54
|
+
}), K = c(() => W.value ? G.value : O.items), q = c(() => O.items.filter((e) => !G.value.includes(e))), J = c(() => q.value.length > 0 || a(A, "menu")), Y = c(() => O.overflowLabel ?? M.value.overflowMenuLabel);
|
|
55
|
+
function X(e) {
|
|
56
|
+
return e.icon ? !!e.iconOnly || W.value && j.value : !1;
|
|
57
|
+
}
|
|
58
|
+
function Z(e) {
|
|
59
|
+
return e.variant ?? (e.danger ? "danger" : void 0);
|
|
60
|
+
}
|
|
61
|
+
function Q(e) {
|
|
62
|
+
e.disabled || e.loading || (e.onSelect?.(), k("select", e.id));
|
|
63
|
+
}
|
|
64
|
+
return (t, n) => (y(), d("div", {
|
|
65
|
+
ref_key: "rootRef",
|
|
66
|
+
ref: I,
|
|
67
|
+
class: g(F.value)
|
|
68
|
+
}, [(y(!0), d(s, null, x(K.value, (t) => (y(), d(s, { key: t.id }, [X(t) ? (y(), l(e, {
|
|
69
|
+
key: 0,
|
|
70
|
+
variant: Z(t),
|
|
71
|
+
outlined: t.outlined,
|
|
72
|
+
size: P.value,
|
|
73
|
+
disabled: t.disabled,
|
|
74
|
+
loading: t.loading,
|
|
75
|
+
icon: t.icon,
|
|
76
|
+
label: t.label,
|
|
77
|
+
"disabled-reason": t.disabledReason,
|
|
78
|
+
pressed: t.pressed,
|
|
79
|
+
"data-action-id": z.value ? t.id : void 0,
|
|
80
|
+
onClick: (e) => Q(t)
|
|
81
|
+
}, null, 8, [
|
|
82
|
+
"variant",
|
|
83
|
+
"outlined",
|
|
84
|
+
"size",
|
|
85
|
+
"disabled",
|
|
86
|
+
"loading",
|
|
87
|
+
"icon",
|
|
88
|
+
"label",
|
|
89
|
+
"disabled-reason",
|
|
90
|
+
"pressed",
|
|
91
|
+
"data-action-id",
|
|
92
|
+
"onClick"
|
|
93
|
+
])) : (y(), l(e, {
|
|
94
|
+
key: 1,
|
|
95
|
+
variant: Z(t),
|
|
96
|
+
outlined: t.outlined,
|
|
97
|
+
size: P.value,
|
|
98
|
+
disabled: t.disabled,
|
|
99
|
+
loading: t.loading,
|
|
100
|
+
icon: t.icon,
|
|
101
|
+
"disabled-reason": t.disabledReason,
|
|
102
|
+
pressed: t.pressed,
|
|
103
|
+
"data-action-id": z.value ? t.id : void 0,
|
|
104
|
+
onClick: (e) => Q(t)
|
|
105
|
+
}, {
|
|
106
|
+
default: E(() => [f(C(t.label), 1)]),
|
|
107
|
+
_: 2
|
|
108
|
+
}, 1032, [
|
|
109
|
+
"variant",
|
|
110
|
+
"outlined",
|
|
111
|
+
"size",
|
|
112
|
+
"disabled",
|
|
113
|
+
"loading",
|
|
114
|
+
"icon",
|
|
115
|
+
"disabled-reason",
|
|
116
|
+
"pressed",
|
|
117
|
+
"data-action-id",
|
|
118
|
+
"onClick"
|
|
119
|
+
]))], 64))), 128)), W.value && J.value ? (y(), l(i, {
|
|
120
|
+
key: 0,
|
|
121
|
+
class: "nb-action-group__more",
|
|
122
|
+
items: q.value,
|
|
123
|
+
label: Y.value,
|
|
124
|
+
size: P.value,
|
|
125
|
+
onSelect: n[0] ||= (e) => k("select", e)
|
|
126
|
+
}, {
|
|
127
|
+
default: E(() => [S(t.$slots, "menu")]),
|
|
128
|
+
_: 3
|
|
129
|
+
}, 8, [
|
|
130
|
+
"items",
|
|
131
|
+
"label",
|
|
132
|
+
"size"
|
|
133
|
+
])) : u("", !0)], 2));
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
//#endregion
|
|
137
|
+
export { D as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
|
+
import { t as n } from "./Icon-B2tiGiqZ.js";
|
|
4
|
+
import { useStableId as r } from "./composables/useStableId.composable.mjs";
|
|
5
|
+
import { useSurfaceLayer as i } from "./composables/useSurfaceLayer.composable.mjs";
|
|
6
|
+
import { usePhoneLayout as a } from "./composables/usePhoneLayout.composable.mjs";
|
|
7
|
+
import { placeAnchored as o, viewportSize as ee } from "./utils/anchorPosition.helper.mjs";
|
|
8
8
|
import { Fragment as te, Teleport as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, defineComponent as m, mergeProps as h, nextTick as ne, onBeforeUnmount as re, openBlock as g, ref as _, renderSlot as v, resolveDynamicComponent as y, toDisplayString as b, unref as x, useAttrs as S, useSlots as C, watch as w, withCtx as T } from "vue";
|
|
9
9
|
import * as ie from "@nubisco/ui/icons/arrow-counter-clockwise";
|
|
10
10
|
//#region src/components/AiLabel.d.ts
|
|
@@ -29,7 +29,7 @@ var E = /* @__PURE__ */ function(e) {
|
|
|
29
29
|
}, ce = ["aria-label"], le = { class: "nb-ai-label--content" }, ue = {
|
|
30
30
|
key: 0,
|
|
31
31
|
class: "nb-ai-label--actions"
|
|
32
|
-
}, de = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", O = /* @__PURE__ */
|
|
32
|
+
}, de = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", O = /* @__PURE__ */ t(/* @__PURE__ */ m({
|
|
33
33
|
__name: "AiLabel",
|
|
34
34
|
props: {
|
|
35
35
|
variant: { default: E.Default },
|
|
@@ -60,8 +60,8 @@ var E = /* @__PURE__ */ function(e) {
|
|
|
60
60
|
"revert",
|
|
61
61
|
"show-plain"
|
|
62
62
|
],
|
|
63
|
-
setup(
|
|
64
|
-
let O =
|
|
63
|
+
setup(t, { expose: m, emit: D }) {
|
|
64
|
+
let O = t, k = D, A = C(), j = S(), M = {
|
|
65
65
|
control: "AI, show information",
|
|
66
66
|
mark: "Written by AI",
|
|
67
67
|
text: "AI",
|
|
@@ -78,7 +78,7 @@ var E = /* @__PURE__ */ function(e) {
|
|
|
78
78
|
showPlain: O.showPlainLabel
|
|
79
79
|
}[e] ?? M[e];
|
|
80
80
|
}
|
|
81
|
-
let P = c(() => !O.static && !O.revertable && !!(A.explain || A.actions || O.explain || O.plainAvailable)), F = c(() => !O.static && O.revertable), I = c(() => P.value || F.value || !O.static && !!j.onClick), L = `${
|
|
81
|
+
let P = c(() => !O.static && !O.revertable && !!(A.explain || A.actions || O.explain || O.plainAvailable)), F = c(() => !O.static && O.revertable), I = c(() => P.value || F.value || !O.static && !!j.onClick), L = `${r({})}-explain`, R = c(() => I.value ? F.value ? {
|
|
82
82
|
type: "button",
|
|
83
83
|
"aria-label": N("revert")
|
|
84
84
|
} : {
|
|
@@ -102,7 +102,7 @@ var E = /* @__PURE__ */ function(e) {
|
|
|
102
102
|
sm: 12,
|
|
103
103
|
md: 16,
|
|
104
104
|
lg: 20
|
|
105
|
-
})[O.size] ?? 16), { layerProps: V } =
|
|
105
|
+
})[O.size] ?? 16), { layerProps: V } = i({ overlay: !0 }), { phone: H } = a(), U = _(null), W = _(null), G = _(!1), K = _(O.placement), q = _({
|
|
106
106
|
top: 0,
|
|
107
107
|
left: 0
|
|
108
108
|
}), fe = c(() => ({
|
|
@@ -112,12 +112,12 @@ var E = /* @__PURE__ */ function(e) {
|
|
|
112
112
|
function J() {
|
|
113
113
|
let e = U.value, t = W.value;
|
|
114
114
|
if (!e || !t || H.value) return;
|
|
115
|
-
let n =
|
|
115
|
+
let n = o(e.getBoundingClientRect(), {
|
|
116
116
|
width: t.offsetWidth,
|
|
117
117
|
height: t.offsetHeight
|
|
118
118
|
}, {
|
|
119
119
|
side: O.placement,
|
|
120
|
-
viewport:
|
|
120
|
+
viewport: ee()
|
|
121
121
|
});
|
|
122
122
|
K.value = n.side, q.value = {
|
|
123
123
|
top: n.top,
|
|
@@ -185,7 +185,7 @@ var E = /* @__PURE__ */ function(e) {
|
|
|
185
185
|
open: Y,
|
|
186
186
|
close: X,
|
|
187
187
|
isOpen: G
|
|
188
|
-
}), (
|
|
188
|
+
}), (r, i) => (g(), l(y(I.value ? "button" : "span"), h({
|
|
189
189
|
ref_key: "rootRef",
|
|
190
190
|
ref: U,
|
|
191
191
|
class: z.value
|
|
@@ -193,23 +193,23 @@ var E = /* @__PURE__ */ function(e) {
|
|
|
193
193
|
onClick: pe,
|
|
194
194
|
onKeydown: me
|
|
195
195
|
}), {
|
|
196
|
-
default: T(() => [F.value ? (g(), l(
|
|
196
|
+
default: T(() => [F.value ? (g(), l(n, {
|
|
197
197
|
key: 0,
|
|
198
198
|
class: "nb-ai-label--revert",
|
|
199
199
|
name: ie,
|
|
200
200
|
size: B.value,
|
|
201
201
|
weight: "regular"
|
|
202
|
-
}, null, 8, ["size"])) : (g(), d(te, { key: 1 }, [
|
|
202
|
+
}, null, 8, ["size"])) : (g(), d(te, { key: 1 }, [t.variant === x(E).Inline ? (g(), d("span", ae)) : u("", !0), t.variant === x(E).Inline && N("text") ? (g(), d("span", oe, b(N("text")), 1)) : (g(), d("svg", se, [...i[1] ||= [f("path", {
|
|
203
203
|
d: "M 104.301 197.8 L 94.501 162.4 L 53.101 162.4 L 43.501 197.8 L 17.101 197.8 L 56.301 58.2 L 92.701 58.2 L 132.101 197.8 L 104.301 197.8 Z M 74.701 84 L 73.101 84 L 57.701 141 L 90.101 141 L 74.701 84 Z M 150.099 197.8 L 150.099 178.2 L 181.499 178.2 L 181.499 77.8 L 150.099 77.8 L 150.099 58.2 L 238.899 58.2 L 238.899 77.8 L 207.499 77.8 L 207.499 178.2 L 238.899 178.2 L 238.899 197.8 L 150.099 197.8 Z",
|
|
204
204
|
fill: "currentColor"
|
|
205
205
|
}, null, -1)]]))], 64)), P.value ? (g(), l(s, {
|
|
206
206
|
key: 2,
|
|
207
|
-
to:
|
|
207
|
+
to: t.teleportTo
|
|
208
208
|
}, [G.value && x(H) ? (g(), d("div", {
|
|
209
209
|
key: 0,
|
|
210
210
|
class: "nb-ai-label--scrim",
|
|
211
211
|
"aria-hidden": "true",
|
|
212
|
-
onClick:
|
|
212
|
+
onClick: i[0] ||= (e) => X()
|
|
213
213
|
})) : u("", !0), G.value ? (g(), d("div", h({
|
|
214
214
|
key: 1,
|
|
215
215
|
id: L,
|
|
@@ -223,7 +223,7 @@ var E = /* @__PURE__ */ function(e) {
|
|
|
223
223
|
style: x(H) ? void 0 : fe.value,
|
|
224
224
|
onKeydown: he,
|
|
225
225
|
onFocusout: ge
|
|
226
|
-
}), [f("div", le, [v(
|
|
226
|
+
}), [f("div", le, [v(r.$slots, "explain", {}, () => [f("p", null, b(t.explain), 1)], !0)]), r.$slots.actions || t.plainAvailable ? (g(), d("div", ue, [v(r.$slots, "actions", {}, void 0, !0), t.plainAvailable ? (g(), l(e, {
|
|
227
227
|
key: 0,
|
|
228
228
|
variant: "ghost",
|
|
229
229
|
size: "sm",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./Button-BHFtgOXA.cjs`),n=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),r=require(`./Icon-CssV4E2-.cjs`),i=require(`./composables/useStableId.composable.cjs`),a=require(`./composables/useSurfaceLayer.composable.cjs`),o=require(`./composables/usePhoneLayout.composable.cjs`),s=require(`./utils/anchorPosition.helper.cjs`);let c=require(`vue`),l=require(`@nubisco/ui/icons/arrow-counter-clockwise`);l=e.n(l);var u=function(e){return e.Default=`default`,e.Inline=`inline`,e}(u||{}),d=function(e){return e.Small=`sm`,e.Medium=`md`,e.Large=`lg`,e}(d||{}),f={key:0,class:`nb-ai-label--dot`,"aria-hidden":`true`},p={key:1,class:`nb-ai-label--text`,"aria-hidden":`true`},m={key:2,class:`nb-ai-label--glyph`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,"aria-hidden":`true`},h=[`aria-label`],g={class:`nb-ai-label--content`},_={key:0,class:`nb-ai-label--actions`},v=`a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])`,y=(0,c.defineComponent)({__name:`AiLabel`,props:{variant:{default:u.Default},size:{default:d.Medium},static:{type:Boolean,default:!1},label:{default:void 0},text:{default:void 0},explain:{default:void 0},placement:{default:`bottom`},teleportTo:{default:`body`},revertable:{type:Boolean,default:!1},revertLabel:{default:void 0},plainAvailable:{type:Boolean,default:!1},showPlainLabel:{default:void 0}},emits:[`open`,`close`,`revert`,`show-plain`],setup(e,{expose:n,emit:d}){let y=e,b=d,x=(0,c.useSlots)(),S=(0,c.useAttrs)(),C={control:`AI, show information`,mark:`Written by AI`,text:`AI`,dialog:`About this AI content`,revert:`Revert to AI input`,showPlain:`Show the plain version`};function w(e){return{control:y.label,mark:y.label,text:y.text,revert:y.revertLabel,showPlain:y.showPlainLabel}[e]??C[e]}let T=(0,c.computed)(()=>!y.static&&!y.revertable&&!!(x.explain||x.actions||y.explain||y.plainAvailable)),E=(0,c.computed)(()=>!y.static&&y.revertable),D=(0,c.computed)(()=>T.value||E.value||!y.static&&!!S.onClick),O=`${i.useStableId({})}-explain`,k=(0,c.computed)(()=>D.value?E.value?{type:`button`,"aria-label":w(`revert`)}:{type:`button`,"aria-label":w(`control`),...T.value&&{"aria-expanded":I.value?`true`:`false`,"aria-controls":O}}:{role:`img`,"aria-label":w(`mark`)}),A=(0,c.computed)(()=>({"nb-ai-label":!0,[`nb-ai-label__${y.variant}`]:!0,[`nb-ai-label__${y.size}`]:!0,"nb-ai-label__static":!D.value,"nb-ai-label__reverting":E.value,"nb-ai-label__open":I.value})),j=(0,c.computed)(()=>({sm:12,md:16,lg:20})[y.size]??16),{layerProps:M}=a.useSurfaceLayer({overlay:!0}),{phone:N}=o.usePhoneLayout(),P=(0,c.ref)(null),F=(0,c.ref)(null),I=(0,c.ref)(!1),L=(0,c.ref)(y.placement),R=(0,c.ref)({top:0,left:0}),z=(0,c.computed)(()=>({top:`${R.value.top}px`,left:`${R.value.left}px`}));function B(){let e=P.value,t=F.value;if(!e||!t||N.value)return;let n=s.placeAnchored(e.getBoundingClientRect(),{width:t.offsetWidth,height:t.offsetHeight},{side:y.placement,viewport:s.viewportSize()});L.value=n.side,R.value={top:n.top,left:n.left}}function V(){!T.value||I.value||(I.value=!0,b(`open`),(0,c.nextTick)(()=>{B(),requestAnimationFrame(B)}))}function H(e=!1){I.value&&(I.value=!1,b(`close`),e&&P.value?.focus())}function U(){if(E.value){b(`revert`);return}T.value&&(I.value?H():V())}function W(){return Array.from(F.value?.querySelectorAll(v)??[])}function G(e){if(I.value){if(e.key===`Escape`){e.preventDefault(),H(!0);return}e.key===`Tab`&&!e.shiftKey&&(e.preventDefault(),(W()[0]??F.value)?.focus())}}function K(e){if(e.key===`Escape`){e.preventDefault(),e.stopPropagation(),H(!0);return}if(e.key!==`Tab`)return;let t=W(),n=t[0],r=t[t.length-1],i=document.activeElement;e.shiftKey&&(i===n||i===F.value)?(e.preventDefault(),P.value?.focus()):!e.shiftKey&&(i===r||!t.length)&&(e.preventDefault(),H(!0))}function q(e){let t=e.relatedTarget;t&&(F.value?.contains(t)||P.value?.contains(t)||H())}function J(){b(`show-plain`),H(!0)}function Y(e){let t=e.target;t&&(P.value?.contains(t)||F.value?.contains(t)||H())}function X(e){N.value||F.value?.contains(e.target)||B()}function Z(e){if(typeof document>`u`)return;let t=e?`addEventListener`:`removeEventListener`;document[t](`pointerdown`,Y,!0),window[t](`resize`,B),window[t](`scroll`,X,!0)}return(0,c.watch)(I,e=>Z(e)),(0,c.watch)(T,e=>{e||H()}),(0,c.onBeforeUnmount)(()=>Z(!1)),n({open:V,close:H,isOpen:I}),(n,i)=>((0,c.openBlock)(),(0,c.createBlock)((0,c.resolveDynamicComponent)(D.value?`button`:`span`),(0,c.mergeProps)({ref_key:`rootRef`,ref:P,class:A.value},k.value,{onClick:U,onKeydown:G}),{default:(0,c.withCtx)(()=>[E.value?((0,c.openBlock)(),(0,c.createBlock)(r.t,{key:0,class:`nb-ai-label--revert`,name:l,size:j.value,weight:`regular`},null,8,[`size`])):((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:1},[e.variant===(0,c.unref)(u).Inline?((0,c.openBlock)(),(0,c.createElementBlock)(`span`,f)):(0,c.createCommentVNode)(``,!0),e.variant===(0,c.unref)(u).Inline&&w(`text`)?((0,c.openBlock)(),(0,c.createElementBlock)(`span`,p,(0,c.toDisplayString)(w(`text`)),1)):((0,c.openBlock)(),(0,c.createElementBlock)(`svg`,m,[...i[1]||=[(0,c.createElementVNode)(`path`,{d:`M 104.301 197.8 L 94.501 162.4 L 53.101 162.4 L 43.501 197.8 L 17.101 197.8 L 56.301 58.2 L 92.701 58.2 L 132.101 197.8 L 104.301 197.8 Z M 74.701 84 L 73.101 84 L 57.701 141 L 90.101 141 L 74.701 84 Z M 150.099 197.8 L 150.099 178.2 L 181.499 178.2 L 181.499 77.8 L 150.099 77.8 L 150.099 58.2 L 238.899 58.2 L 238.899 77.8 L 207.499 77.8 L 207.499 178.2 L 238.899 178.2 L 238.899 197.8 L 150.099 197.8 Z`,fill:`currentColor`},null,-1)]]))],64)),T.value?((0,c.openBlock)(),(0,c.createBlock)(c.Teleport,{key:2,to:e.teleportTo},[I.value&&(0,c.unref)(N)?((0,c.openBlock)(),(0,c.createElementBlock)(`div`,{key:0,class:`nb-ai-label--scrim`,"aria-hidden":`true`,onClick:i[0]||=e=>H()})):(0,c.createCommentVNode)(``,!0),I.value?((0,c.openBlock)(),(0,c.createElementBlock)(`div`,(0,c.mergeProps)({key:1,id:O,ref_key:`popoverRef`,ref:F,role:`dialog`,"aria-label":w(`dialog`),tabindex:`-1`,class:[`nb-ai-label--popover`,(0,c.unref)(N)?`nb-ai-label--popover-sheet`:`nb-ai-label--popover-${L.value}`]},(0,c.unref)(M),{style:(0,c.unref)(N)?void 0:z.value,onKeydown:K,onFocusout:q}),[(0,c.createElementVNode)(`div`,g,[(0,c.renderSlot)(n.$slots,`explain`,{},()=>[(0,c.createElementVNode)(`p`,null,(0,c.toDisplayString)(e.explain),1)],!0)]),n.$slots.actions||e.plainAvailable?((0,c.openBlock)(),(0,c.createElementBlock)(`div`,_,[(0,c.renderSlot)(n.$slots,`actions`,{},void 0,!0),e.plainAvailable?((0,c.openBlock)(),(0,c.createBlock)(t.t,{key:0,variant:`ghost`,size:`sm`,onClick:J},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(w(`showPlain`)),1)]),_:1})):(0,c.createCommentVNode)(``,!0)])):(0,c.createCommentVNode)(``,!0)],16,h)):(0,c.createCommentVNode)(``,!0)],8,[`to`])):(0,c.createCommentVNode)(``,!0)]),_:3},16,[`class`]))}}),b=n.t(y,[[`__scopeId`,`data-v-df642ee3`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return b}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Button-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Button-BHFtgOXA.cjs`),t=require(`./AiLabel-DSKUOcZs.cjs`),n=require(`./Field-COMPegVv.cjs`),r=require(`./Panel-NC6_ZogV.cjs`),i=require(`./Select-DhwcDMnf.cjs`),a=require(`./TextInput-BM2Zc2_R.cjs`);let o=require(`vue`);var s={class:`nb-ai-provider__header`},c={class:`nb-ai-provider__title`},l={key:0,class:`nb-ai-provider__description`},u={class:`nb-ai-provider__row`},d={class:`nb-ai-provider__actions`},f=(0,o.defineComponent)({__name:`AiProvider`,props:{title:{default:`AI briefings`},providers:{default:()=>[{label:`Anthropic (Claude)`,value:`anthropic`},{label:`OpenAI`,value:`openai`},{label:`Google Gemini`,value:`gemini`}]},provider:{default:`anthropic`},model:{default:``},apiKey:{default:``},defaultModels:{default:()=>({})},hasKey:{type:Boolean,default:!1},busy:{type:Boolean,default:!1}},emits:[`update:provider`,`update:model`,`update:apiKey`,`save`,`remove`],setup(f,{emit:p}){let m=p;return(p,h)=>((0,o.openBlock)(),(0,o.createBlock)(r.t,{class:`nb-ai-provider`},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)(`header`,s,[(0,o.createElementVNode)(`h2`,c,[(0,o.createTextVNode)((0,o.toDisplayString)(f.title)+` `,1),(0,o.createVNode)(t.t,{static:``,size:`sm`})]),p.$slots.default?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,l,[(0,o.renderSlot)(p.$slots,`default`)])):(0,o.createCommentVNode)(``,!0)]),(0,o.createElementVNode)(`div`,u,[(0,o.createVNode)(n.t,{label:`Provider`,orientation:`stack`},{default:(0,o.withCtx)(({id:e})=>[(0,o.createVNode)(i.t,{id:e,"model-value":f.provider,options:f.providers,disabled:f.busy,"onUpdate:modelValue":h[0]||=e=>m(`update:provider`,String(e))},null,8,[`id`,`model-value`,`options`,`disabled`])]),_:1}),(0,o.createVNode)(n.t,{label:`Model`,hint:`Empty uses the provider's default.`,orientation:`stack`},{default:(0,o.withCtx)(({id:e})=>[(0,o.createVNode)(a.t,{id:e,"model-value":f.model,placeholder:f.defaultModels[f.provider]??``,disabled:f.busy,"onUpdate:modelValue":h[1]||=e=>m(`update:model`,String(e??``))},null,8,[`id`,`model-value`,`placeholder`,`disabled`])]),_:1})]),(0,o.createVNode)(n.t,{label:`API key`,hint:`Encrypted at rest and never sent back to the browser, so this field is always empty when the page loads.`,orientation:`stack`},{default:(0,o.withCtx)(({id:e})=>[(0,o.createVNode)(a.t,{id:e,"model-value":f.apiKey,type:`password`,autocomplete:`off`,placeholder:f.hasKey?`Stored. Type a new key to replace it.`:`sk-...`,disabled:f.busy,"onUpdate:modelValue":h[2]||=e=>m(`update:apiKey`,String(e??``))},null,8,[`id`,`model-value`,`placeholder`,`disabled`])]),_:1}),(0,o.createElementVNode)(`div`,d,[(0,o.createVNode)(e.t,{variant:`primary`,loading:f.busy,onClick:h[3]||=e=>m(`save`)},{default:(0,o.withCtx)(()=>[...h[5]||=[(0,o.createTextVNode)(` Save AI settings `,-1)]]),_:1},8,[`loading`]),f.hasKey?((0,o.openBlock)(),(0,o.createBlock)(e.t,{key:0,variant:`ghost`,disabled:f.busy,onClick:h[4]||=e=>m(`remove`)},{default:(0,o.withCtx)(()=>[...h[6]||=[(0,o.createTextVNode)(` Remove key `,-1)]]),_:1},8,[`disabled`])):(0,o.createCommentVNode)(``,!0)])]),_:3}))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return f}});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as e } from "./Button-
|
|
2
|
-
import { t } from "./AiLabel-
|
|
3
|
-
import { t as n } from "./Field-
|
|
4
|
-
import { t as r } from "./Panel-
|
|
5
|
-
import { t as i } from "./Select-
|
|
6
|
-
import { t as a } from "./TextInput-
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { t } from "./AiLabel-CSSIkvKP.js";
|
|
3
|
+
import { t as n } from "./Field-D12Dja-u.js";
|
|
4
|
+
import { t as r } from "./Panel-zyzu638n.js";
|
|
5
|
+
import { t as i } from "./Select-Cf0T4gIu.js";
|
|
6
|
+
import { t as a } from "./TextInput-DVpNJNwY.js";
|
|
7
7
|
import { createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, openBlock as p, renderSlot as m, toDisplayString as h, withCtx as g } from "vue";
|
|
8
8
|
//#region src/components/AiProvider.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var _ = { class: "nb-ai-provider__header" }, v = { class: "nb-ai-provider__title" }, y = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./Panel-
|
|
2
|
-
import { t } from "./DefinitionList-
|
|
1
|
+
import { t as e } from "./Panel-zyzu638n.js";
|
|
2
|
+
import { t } from "./DefinitionList-BOVcW-V7.js";
|
|
3
3
|
import { computed as n, createBlock as r, createElementBlock as i, createElementVNode as a, defineComponent as o, openBlock as s, renderSlot as c, toDisplayString as l, withCtx as u } from "vue";
|
|
4
4
|
//#region src/components/AiUsage.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var d = { class: "nb-ai-usage__header" }, f = { class: "nb-ai-usage__title" }, p = { class: "nb-ai-usage__description" }, m = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Panel-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Panel-NC6_ZogV.cjs`),t=require(`./DefinitionList-CndoLDLs.cjs`);let n=require(`vue`);var r={class:`nb-ai-usage__header`},i={class:`nb-ai-usage__title`},a={class:`nb-ai-usage__description`},o={key:0,class:`nb-ai-usage__empty`},s={key:1,class:`nb-ai-usage__empty`},c=(0,n.defineComponent)({__name:`AiUsage`,props:{title:{default:`Usage and cost`},days:{default:30},hasKey:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},requests:{default:0},requestsLabel:{default:`Requests`},cacheHits:{default:null},inputTokens:{default:0},outputTokens:{default:0},estimatedCostUsd:{default:null},unpricedModels:{default:()=>[]},pricingVerifiedOn:{default:``},locale:{default:void 0}},setup(c){let l=c,u=(0,n.computed)(()=>new Intl.NumberFormat(l.locale||(typeof navigator<`u`?navigator.language:``)||`en`));function d(e){return e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}k`:String(e)}function f(e){return e>0&&e<.01?`<$0.01`:`$${e.toFixed(2)}`}let p=(0,n.computed)(()=>[{term:l.requestsLabel,value:`${u.value.format(l.requests)} (requests that reached your provider)`},...l.cacheHits===null?[]:[{term:`Served from cache`,value:`${u.value.format(l.cacheHits)} (free: a question already answered)`}],{term:`Tokens`,value:`${d(l.inputTokens+l.outputTokens)} (${d(l.inputTokens)} in, ${d(l.outputTokens)} out)`},{term:`Estimated cost`,value:l.estimatedCostUsd===null?`n/a: no published price on file for ${l.unpricedModels.join(`, `)||`this model`}`:`${f(l.estimatedCostUsd)} at list prices${l.pricingVerifiedOn?` as of ${l.pricingVerifiedOn}`:``}`}]);return(l,u)=>((0,n.openBlock)(),(0,n.createBlock)(e.t,{class:`nb-ai-usage`},{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)(`header`,r,[(0,n.createElementVNode)(`h2`,i,(0,n.toDisplayString)(c.title),1),(0,n.createElementVNode)(`p`,a,` What has been asked of your provider over the last `+(0,n.toDisplayString)(c.days)+` days. Your provider bills you directly, so these are our records, not an invoice: check the provider console for the authoritative figure. `,1)]),c.hasKey?c.loading?((0,n.openBlock)(),(0,n.createElementBlock)(`p`,s,`Loading usage...`)):((0,n.openBlock)(),(0,n.createBlock)(t.t,{key:2,items:p.value,dividers:``},null,8,[`items`])):((0,n.openBlock)(),(0,n.createElementBlock)(`p`,o,` No key yet, so nothing has been sent to a provider. `)),(0,n.renderSlot)(l.$slots,`default`)]),_:3}))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
|
|
@@ -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/arrow-up`);a=e.n(a);var o={key:0,class:`nb-back-to-top`},s=(0,i.defineComponent)({__name:`BackToTop`,props:{threshold:{default:void 0},label:{default:void 0}},setup(e){let s=e,c=r.useNbStrings(),l=(0,i.ref)(!1),u=0;function d(){u=0;let e=s.threshold??window.innerHeight;l.value=window.scrollY>e}function f(){u||=requestAnimationFrame(d)}function p(e){let t=n.prefersReducedMotion();window.scrollTo({top:0,behavior:t?`instant`:`smooth`}),e.detail===0&&document.querySelector(`a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])`)?.focus({preventScroll:!0})}return(0,i.onMounted)(()=>{d(),window.addEventListener(`scroll`,f,{passive:!0}),window.addEventListener(`resize`,f,{passive:!0})}),(0,i.onBeforeUnmount)(()=>{window.removeEventListener(`scroll`,f),window.removeEventListener(`resize`,f),u&&cancelAnimationFrame(u)}),(n,r)=>((0,i.openBlock)(),(0,i.createBlock)(i.Transition,{name:`nb-back-to-top`},{default:(0,i.withCtx)(()=>[l.value?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,o,[(0,i.createVNode)(t.t,{label:e.label??(0,i.unref)(c).backToTop,"tooltip-position":`left`,class:`nb-back-to-top__button`,variant:`secondary`,icon:a,onClick:p},null,8,[`label`])])):(0,i.createCommentVNode)(``,!0)]),_:1}))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}});
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { Transition as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createVNode as s, defineComponent as c, onBeforeUnmount as l, onMounted as u, openBlock as d, ref as f, unref as p, withCtx as m } from "vue";
|
|
5
|
+
import * as h from "@nubisco/ui/icons/arrow-up";
|
|
6
|
+
//#region src/components/BackToTop.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var g = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "nb-back-to-top"
|
|
10
|
+
}, _ = /* @__PURE__ */ c({
|
|
11
|
+
__name: "BackToTop",
|
|
12
|
+
props: {
|
|
13
|
+
threshold: { default: void 0 },
|
|
14
|
+
label: { default: void 0 }
|
|
15
|
+
},
|
|
16
|
+
setup(c) {
|
|
17
|
+
let _ = c, v = n(), y = f(!1), b = 0;
|
|
18
|
+
function x() {
|
|
19
|
+
b = 0;
|
|
20
|
+
let e = _.threshold ?? window.innerHeight;
|
|
21
|
+
y.value = window.scrollY > e;
|
|
22
|
+
}
|
|
23
|
+
function S() {
|
|
24
|
+
b ||= requestAnimationFrame(x);
|
|
25
|
+
}
|
|
26
|
+
function C(e) {
|
|
27
|
+
let n = t();
|
|
28
|
+
window.scrollTo({
|
|
29
|
+
top: 0,
|
|
30
|
+
behavior: n ? "instant" : "smooth"
|
|
31
|
+
}), e.detail === 0 && document.querySelector("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")?.focus({ preventScroll: !0 });
|
|
32
|
+
}
|
|
33
|
+
return u(() => {
|
|
34
|
+
x(), window.addEventListener("scroll", S, { passive: !0 }), window.addEventListener("resize", S, { passive: !0 });
|
|
35
|
+
}), l(() => {
|
|
36
|
+
window.removeEventListener("scroll", S), window.removeEventListener("resize", S), b && cancelAnimationFrame(b);
|
|
37
|
+
}), (t, n) => (d(), i(r, { name: "nb-back-to-top" }, {
|
|
38
|
+
default: m(() => [y.value ? (d(), o("div", g, [s(e, {
|
|
39
|
+
label: c.label ?? p(v).backToTop,
|
|
40
|
+
"tooltip-position": "left",
|
|
41
|
+
class: "nb-back-to-top__button",
|
|
42
|
+
variant: "secondary",
|
|
43
|
+
icon: h,
|
|
44
|
+
onClick: C
|
|
45
|
+
}, null, 8, ["label"])])) : a("", !0)]),
|
|
46
|
+
_: 1
|
|
47
|
+
}));
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
//#endregion
|
|
51
|
+
export { _ as t };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
+
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
|
+
import { t as n } from "./CloseButton-CdH12Hdn.js";
|
|
4
|
+
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, ref as d, renderSlot as f, toDisplayString as p, useSlots as m } from "vue";
|
|
5
|
+
import * as h from "@nubisco/ui/icons/info";
|
|
6
|
+
import * as g from "@nubisco/ui/icons/warning";
|
|
7
|
+
import * as _ from "@nubisco/ui/icons/check-circle";
|
|
8
|
+
import * as v from "@nubisco/ui/icons/x-circle";
|
|
9
|
+
import * as y from "@nubisco/ui/icons/note";
|
|
10
|
+
//#region src/components/Banner.d.ts
|
|
11
|
+
var b = /* @__PURE__ */ function(e) {
|
|
12
|
+
return e.Info = "info", e.Success = "success", e.Warning = "warning", e.Error = "error", e.Neutral = "neutral", e;
|
|
13
|
+
}(b || {}), x = /* @__PURE__ */ function(e) {
|
|
14
|
+
return e.Inline = "inline", e.Callout = "callout", e;
|
|
15
|
+
}(x || {}), S = ["role", "aria-live"], C = { class: "nb-banner__body" }, w = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "nb-banner__title"
|
|
18
|
+
}, T = {
|
|
19
|
+
key: 1,
|
|
20
|
+
class: "nb-banner__text"
|
|
21
|
+
}, E = {
|
|
22
|
+
key: 1,
|
|
23
|
+
class: "nb-banner__actions"
|
|
24
|
+
}, D = /* @__PURE__ */ e(/* @__PURE__ */ c({
|
|
25
|
+
__name: "Banner",
|
|
26
|
+
props: {
|
|
27
|
+
status: { default: b.Info },
|
|
28
|
+
variant: { default: x.Inline },
|
|
29
|
+
title: {},
|
|
30
|
+
dismissible: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: !1
|
|
33
|
+
},
|
|
34
|
+
icon: {},
|
|
35
|
+
hideIcon: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: !1
|
|
38
|
+
},
|
|
39
|
+
flush: {
|
|
40
|
+
type: Boolean,
|
|
41
|
+
default: !1
|
|
42
|
+
},
|
|
43
|
+
closeLabel: { default: void 0 }
|
|
44
|
+
},
|
|
45
|
+
emits: ["dismiss"],
|
|
46
|
+
setup(e, { emit: c }) {
|
|
47
|
+
let D = e, O = c, k = m(), A = r(() => !!k.default), j = r(() => !!k.action), M = r(() => D.dismissible && D.variant !== x.Callout), N = r(() => D.status === b.Error), P = d(!1);
|
|
48
|
+
function F() {
|
|
49
|
+
P.value = !0, O("dismiss");
|
|
50
|
+
}
|
|
51
|
+
let I = {
|
|
52
|
+
info: h,
|
|
53
|
+
success: _,
|
|
54
|
+
warning: g,
|
|
55
|
+
error: v,
|
|
56
|
+
neutral: y
|
|
57
|
+
};
|
|
58
|
+
return (e, r) => P.value ? a("", !0) : (u(), o("div", {
|
|
59
|
+
key: 0,
|
|
60
|
+
class: l([
|
|
61
|
+
"nb-banner",
|
|
62
|
+
`nb-banner--${D.status}`,
|
|
63
|
+
`nb-banner--${D.variant}`,
|
|
64
|
+
{ "nb-banner--flush": D.flush }
|
|
65
|
+
]),
|
|
66
|
+
role: N.value ? "alert" : "status",
|
|
67
|
+
"aria-live": N.value ? "assertive" : "polite"
|
|
68
|
+
}, [
|
|
69
|
+
D.hideIcon ? a("", !0) : (u(), i(t, {
|
|
70
|
+
key: 0,
|
|
71
|
+
name: D.icon ?? I[D.status],
|
|
72
|
+
size: 18,
|
|
73
|
+
weight: "fill",
|
|
74
|
+
class: "nb-banner__icon",
|
|
75
|
+
"aria-hidden": "true"
|
|
76
|
+
}, null, 8, ["name"])),
|
|
77
|
+
s("p", C, [D.title ? (u(), o("strong", w, p(D.title), 1)) : a("", !0), A.value ? (u(), o("span", T, [f(e.$slots, "default", {}, void 0, !0)])) : a("", !0)]),
|
|
78
|
+
j.value ? (u(), o("div", E, [f(e.$slots, "action", {}, void 0, !0)])) : a("", !0),
|
|
79
|
+
M.value ? (u(), i(n, {
|
|
80
|
+
key: 2,
|
|
81
|
+
class: "nb-banner__close",
|
|
82
|
+
label: D.closeLabel,
|
|
83
|
+
onClick: F
|
|
84
|
+
}, null, 8, ["label"])) : a("", !0)
|
|
85
|
+
], 10, S));
|
|
86
|
+
}
|
|
87
|
+
}), [["__scopeId", "data-v-4896eb17"]]);
|
|
88
|
+
//#endregion
|
|
89
|
+
export { b as n, x as r, D as t };
|