@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,155 +0,0 @@
|
|
|
1
|
-
import { useSurfaceLayer as e } from "./composables/useSurfaceLayer.composable.mjs";
|
|
2
|
-
import { Fragment as t, computed as n, createElementBlock as r, createElementVNode as i, defineComponent as a, mergeProps as o, normalizeClass as s, normalizeStyle as c, openBlock as l, ref as u, renderList as d, renderSlot as f, toDisplayString as p, unref as m, watch as h, withModifiers as g } from "vue";
|
|
3
|
-
//#region src/components/Calendar.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var _ = { class: "nb-calendar__header" }, v = { class: "nb-calendar__title" }, y = { class: "nb-calendar__weekdays" }, b = { class: "nb-calendar__grid" }, x = ["onClick"], S = { class: "nb-calendar__day-num" }, C = { class: "nb-calendar__events" }, w = ["title", "onClick"], T = { class: "nb-calendar__event-label" }, E = /* @__PURE__ */ a({
|
|
5
|
-
__name: "Calendar",
|
|
6
|
-
props: {
|
|
7
|
-
events: { default: () => [] },
|
|
8
|
-
month: { default: void 0 },
|
|
9
|
-
weekStart: { default: 1 },
|
|
10
|
-
locale: { default: void 0 }
|
|
11
|
-
},
|
|
12
|
-
emits: ["day-click", "event-click"],
|
|
13
|
-
setup(a) {
|
|
14
|
-
let E = a, { layerProps: D } = e();
|
|
15
|
-
function O(e) {
|
|
16
|
-
return typeof e == "string" ? e.slice(0, 10) : e.toISOString().slice(0, 10);
|
|
17
|
-
}
|
|
18
|
-
let k = u((/* @__PURE__ */ new Date()).getFullYear()), A = u((/* @__PURE__ */ new Date()).getMonth());
|
|
19
|
-
h(() => E.month, (e) => {
|
|
20
|
-
if (!e) return;
|
|
21
|
-
let t = typeof e == "string" ? /* @__PURE__ */ new Date(e + "-01") : e;
|
|
22
|
-
k.value = t.getFullYear(), A.value = t.getMonth();
|
|
23
|
-
}, { immediate: !0 });
|
|
24
|
-
function j() {
|
|
25
|
-
A.value === 0 ? (A.value = 11, k.value--) : A.value--;
|
|
26
|
-
}
|
|
27
|
-
function M() {
|
|
28
|
-
A.value === 11 ? (A.value = 0, k.value++) : A.value++;
|
|
29
|
-
}
|
|
30
|
-
function N() {
|
|
31
|
-
let e = /* @__PURE__ */ new Date();
|
|
32
|
-
k.value = e.getFullYear(), A.value = e.getMonth();
|
|
33
|
-
}
|
|
34
|
-
let P = n(() => E.locale || (typeof navigator < "u" ? navigator.language : "") || "en"), F = n(() => {
|
|
35
|
-
let e = new Date(k.value, A.value, 1).toLocaleDateString(P.value, {
|
|
36
|
-
month: "long",
|
|
37
|
-
year: "numeric"
|
|
38
|
-
});
|
|
39
|
-
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
40
|
-
}), I = n(() => {
|
|
41
|
-
let e = [], t = new Date(2024, 0, E.weekStart === 0 ? 7 : 1);
|
|
42
|
-
for (let n = 0; n < 7; n++) {
|
|
43
|
-
let r = new Date(t);
|
|
44
|
-
r.setDate(t.getDate() + n);
|
|
45
|
-
let i = r.toLocaleDateString(P.value, { weekday: "short" });
|
|
46
|
-
e.push(i.charAt(0).toUpperCase() + i.slice(1));
|
|
47
|
-
}
|
|
48
|
-
return e;
|
|
49
|
-
}), L = n(() => O(/* @__PURE__ */ new Date())), R = n(() => {
|
|
50
|
-
let e = k.value, t = A.value, n = new Date(e, t, 1), r = new Date(e, t + 1, 0), i = n.getDay();
|
|
51
|
-
E.weekStart === 1 && (i = i === 0 ? 6 : i - 1);
|
|
52
|
-
let a = [];
|
|
53
|
-
for (let n = i - 1; n >= 0; n--) {
|
|
54
|
-
let r = new Date(e, t, -n), i = O(r);
|
|
55
|
-
a.push({
|
|
56
|
-
key: i,
|
|
57
|
-
date: i,
|
|
58
|
-
day: r.getDate(),
|
|
59
|
-
inMonth: !1,
|
|
60
|
-
isToday: i === L.value,
|
|
61
|
-
events: z(i)
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
for (let n = 1; n <= r.getDate(); n++) {
|
|
65
|
-
let r = `${e}-${String(t + 1).padStart(2, "0")}-${String(n).padStart(2, "0")}`;
|
|
66
|
-
a.push({
|
|
67
|
-
key: r,
|
|
68
|
-
date: r,
|
|
69
|
-
day: n,
|
|
70
|
-
inMonth: !0,
|
|
71
|
-
isToday: r === L.value,
|
|
72
|
-
events: z(r)
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
let o = 7 - a.length % 7;
|
|
76
|
-
if (o < 7) for (let n = 1; n <= o; n++) {
|
|
77
|
-
let r = new Date(e, t + 1, n), i = O(r);
|
|
78
|
-
a.push({
|
|
79
|
-
key: i,
|
|
80
|
-
date: i,
|
|
81
|
-
day: r.getDate(),
|
|
82
|
-
inMonth: !1,
|
|
83
|
-
isToday: i === L.value,
|
|
84
|
-
events: z(i)
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
return a;
|
|
88
|
-
});
|
|
89
|
-
function z(e) {
|
|
90
|
-
return (E.events ?? []).filter((t) => {
|
|
91
|
-
let n = O(t.start), r = t.end ? O(t.end) : n;
|
|
92
|
-
return e >= n && e <= r;
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
return (e, n) => (l(), r("div", o({ class: "nb-calendar" }, m(D)), [
|
|
96
|
-
i("div", _, [
|
|
97
|
-
i("button", {
|
|
98
|
-
class: "nb-calendar__today-btn",
|
|
99
|
-
onClick: N
|
|
100
|
-
}, "Today"),
|
|
101
|
-
i("button", {
|
|
102
|
-
class: "nb-calendar__nav",
|
|
103
|
-
onClick: j
|
|
104
|
-
}, [...n[0] ||= [i("svg", {
|
|
105
|
-
width: "16",
|
|
106
|
-
height: "16",
|
|
107
|
-
viewBox: "0 0 16 16",
|
|
108
|
-
fill: "none"
|
|
109
|
-
}, [i("path", {
|
|
110
|
-
d: "M10 12L6 8l4-4",
|
|
111
|
-
stroke: "currentColor",
|
|
112
|
-
"stroke-width": "1.5",
|
|
113
|
-
"stroke-linecap": "round",
|
|
114
|
-
"stroke-linejoin": "round"
|
|
115
|
-
})], -1)]]),
|
|
116
|
-
i("button", {
|
|
117
|
-
class: "nb-calendar__nav",
|
|
118
|
-
onClick: M
|
|
119
|
-
}, [...n[1] ||= [i("svg", {
|
|
120
|
-
width: "16",
|
|
121
|
-
height: "16",
|
|
122
|
-
viewBox: "0 0 16 16",
|
|
123
|
-
fill: "none"
|
|
124
|
-
}, [i("path", {
|
|
125
|
-
d: "M6 4l4 4-4 4",
|
|
126
|
-
stroke: "currentColor",
|
|
127
|
-
"stroke-width": "1.5",
|
|
128
|
-
"stroke-linecap": "round",
|
|
129
|
-
"stroke-linejoin": "round"
|
|
130
|
-
})], -1)]]),
|
|
131
|
-
i("span", v, p(F.value), 1)
|
|
132
|
-
]),
|
|
133
|
-
i("div", y, [(l(!0), r(t, null, d(I.value, (e) => (l(), r("div", {
|
|
134
|
-
key: e,
|
|
135
|
-
class: "nb-calendar__weekday"
|
|
136
|
-
}, p(e), 1))), 128))]),
|
|
137
|
-
i("div", b, [(l(!0), r(t, null, d(R.value, (n) => (l(), r("div", {
|
|
138
|
-
key: n.key,
|
|
139
|
-
class: s(["nb-calendar__cell", {
|
|
140
|
-
"nb-calendar__cell--outside": !n.inMonth,
|
|
141
|
-
"nb-calendar__cell--today": n.isToday
|
|
142
|
-
}]),
|
|
143
|
-
onClick: (t) => e.$emit("day-click", n.date)
|
|
144
|
-
}, [i("span", S, p(n.day), 1), i("div", C, [(l(!0), r(t, null, d(n.events, (t) => (l(), r("div", {
|
|
145
|
-
key: t.id,
|
|
146
|
-
class: "nb-calendar__event",
|
|
147
|
-
style: c({ background: t.color || "var(--nb-c-primary)" }),
|
|
148
|
-
title: t.label,
|
|
149
|
-
onClick: g((n) => e.$emit("event-click", t), ["stop"])
|
|
150
|
-
}, [f(e.$slots, "event", { event: t }, () => [i("span", T, p(t.label), 1)])], 12, w))), 128))])], 10, x))), 128))])
|
|
151
|
-
], 16));
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
//#endregion
|
|
155
|
-
export { E as t };
|
package/dist/Card-B5FTcFEQ.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./composables/useSurfaceLayer.composable.cjs`),i=require(`./PrimaryActionScope-B7VLsHzT.cjs`),a=require(`./Card.link-eRkbFiF1.cjs`);let o=require(`vue`),s=require(`@nubisco/ui/icons/image`);s=e.n(s);var c=[`src`,`alt`],l={key:1,class:`nb-card__icon`},u={key:0,class:`nb-card__meta`},d={key:1,class:`nb-card__actions`},f={key:2,class:`nb-card__subtitle`},p={key:3,class:`nb-card__body`},m={key:4,class:`nb-card__footer`},h=(0,o.defineComponent)({__name:`Card`,props:{title:{default:``},subtitle:{default:``},description:{default:void 0},headingLevel:{default:`h3`},flat:{type:Boolean,default:!1},icon:{default:void 0},orientation:{default:`vertical`},size:{default:`md`},image:{default:void 0},imageAlt:{default:``},imageRatio:{default:void 0},imageFit:{default:`cover`},href:{default:void 0},to:{default:void 0},target:{default:void 0},clickable:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:[`select`],setup(e,{emit:t}){let h=e,g=t,_=(0,o.useSlots)(),v=(0,o.computed)(()=>h.image!==void 0||!!_.media),y=(0,o.ref)(!1);(0,o.watch)(()=>h.image,()=>{y.value=!1});let b=(0,o.computed)(()=>!h.image||y.value),x=(0,o.computed)(()=>({"--nb-card-image-ratio":h.imageRatio,"--nb-card-image-fit":h.imageFit})),{level:S,layerProps:C}=r.useSurfaceLayer({provideContext:!1}),w=(0,o.computed)(()=>h.flat?{}:C.value);(0,o.provide)(r.NB_LAYER_INJECTION_KEY,(0,o.computed)(()=>h.flat?S.value:r.clampLayer(S.value+1)));let T=(0,o.computed)(()=>h.description||h.subtitle),E=(0,o.computed)(()=>!h.title&&!_.title||h.clickable&&!h.href&&!h.to?`span`:h.headingLevel),D=(0,o.computed)(()=>r.layerClassFor(r.clampLayer(S.value+1))),{tag:O,attrs:k,isInteractive:A,onClick:j,onKeydown:M}=a.t(h,e=>g(`select`,e));return(t,r)=>((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)((0,o.unref)(O)),(0,o.mergeProps)({class:[`nb-card`,{"nb-card--horizontal":e.orientation===`horizontal`,"nb-card--sm":e.size===`sm`,"nb-card--interactive":(0,o.unref)(A),"nb-card--selected":e.selected,"nb-card--disabled":e.disabled,"nb-card--decorated":!!t.$slots.decorator,"nb-card--flat":e.flat}]},{...(0,o.unref)(k),...w.value},{onClick:(0,o.unref)(j),onKeydown:(0,o.unref)(M)}),{default:(0,o.withCtx)(()=>[v.value?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:0,class:(0,o.normalizeClass)([`nb-card__media`,[D.value,{"nb-card__media--empty":b.value&&!t.$slots.media}]]),style:(0,o.normalizeStyle)(x.value)},[(0,o.renderSlot)(t.$slots,`media`,{},()=>[b.value?((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:1,class:`nb-card__placeholder`,name:s,size:24,"aria-hidden":`true`})):((0,o.openBlock)(),(0,o.createElementBlock)(`img`,{key:0,class:`nb-card__image`,src:e.image,alt:e.imageAlt,loading:`lazy`,decoding:`async`,onError:r[0]||=e=>y.value=!0},null,40,c))])],6)):(0,o.createCommentVNode)(``,!0),e.icon||t.$slots.icon?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,l,[(0,o.renderSlot)(t.$slots,`icon`,{},()=>[(0,o.createVNode)(n.t,{name:e.icon,size:20,"aria-hidden":`true`},null,8,[`name`])])])):(0,o.createCommentVNode)(``,!0),t.$slots.decorator?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:2,class:`nb-card__decorator`,onClick:r[1]||=(0,o.withModifiers)(()=>{},[`stop`]),onKeydown:r[2]||=(0,o.withModifiers)(()=>{},[`stop`])},[(0,o.renderSlot)(t.$slots,`decorator`)],32)):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`div`,{class:(0,o.normalizeClass)([`nb-card__head`,{"nb-card__head--bar":t.$slots.meta||t.$slots.actions}])},[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(E.value),{class:`nb-card__title`},{default:(0,o.withCtx)(()=>[(0,o.renderSlot)(t.$slots,`title`,{},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.title),1)])]),_:3})),t.$slots.meta?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,u,[(0,o.renderSlot)(t.$slots,`meta`)])):(0,o.createCommentVNode)(``,!0),t.$slots.actions?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,d,[(0,o.createVNode)(i.t,{owner:`NbCard`},{default:(0,o.withCtx)(()=>[(0,o.renderSlot)(t.$slots,`actions`)]),_:3})])):(0,o.createCommentVNode)(``,!0),T.value||t.$slots.subtitle?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,f,[(0,o.renderSlot)(t.$slots,`subtitle`,{},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(T.value),1)])])):(0,o.createCommentVNode)(``,!0)],2),t.$slots.default?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,p,[(0,o.renderSlot)(t.$slots,`default`)])):(0,o.createCommentVNode)(``,!0),t.$slots.footer?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,m,[(0,o.renderSlot)(t.$slots,`footer`)])):(0,o.createCommentVNode)(``,!0)]),_:3},16,[`class`,`onClick`,`onKeydown`]))}}),g=t.t(h,[[`__scopeId`,`data-v-4aacef20`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return g}});
|
package/dist/Card-DUTWbKv7.js
DELETED
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
-
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
|
-
import { NB_LAYER_INJECTION_KEY as n, clampLayer as r, layerClassFor as i, useSurfaceLayer as a } from "./composables/useSurfaceLayer.composable.mjs";
|
|
4
|
-
import { t as o } from "./PrimaryActionScope-CRdjZE0V.js";
|
|
5
|
-
import { t as s } from "./Card.link-CB8_CTbn.js";
|
|
6
|
-
import { computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, mergeProps as g, normalizeClass as _, normalizeStyle as v, openBlock as y, provide as b, ref as x, renderSlot as S, resolveDynamicComponent as C, toDisplayString as w, unref as T, useSlots as E, watch as D, withCtx as O, withModifiers as k } from "vue";
|
|
7
|
-
import * as A from "@nubisco/ui/icons/image";
|
|
8
|
-
//#region src/components/Card.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
-
var j = ["src", "alt"], M = {
|
|
10
|
-
key: 1,
|
|
11
|
-
class: "nb-card__icon"
|
|
12
|
-
}, N = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "nb-card__meta"
|
|
15
|
-
}, P = {
|
|
16
|
-
key: 1,
|
|
17
|
-
class: "nb-card__actions"
|
|
18
|
-
}, F = {
|
|
19
|
-
key: 2,
|
|
20
|
-
class: "nb-card__subtitle"
|
|
21
|
-
}, I = {
|
|
22
|
-
key: 3,
|
|
23
|
-
class: "nb-card__body"
|
|
24
|
-
}, L = {
|
|
25
|
-
key: 4,
|
|
26
|
-
class: "nb-card__footer"
|
|
27
|
-
}, R = /* @__PURE__ */ e(/* @__PURE__ */ h({
|
|
28
|
-
__name: "Card",
|
|
29
|
-
props: {
|
|
30
|
-
title: { default: "" },
|
|
31
|
-
subtitle: { default: "" },
|
|
32
|
-
description: { default: void 0 },
|
|
33
|
-
headingLevel: { default: "h3" },
|
|
34
|
-
flat: {
|
|
35
|
-
type: Boolean,
|
|
36
|
-
default: !1
|
|
37
|
-
},
|
|
38
|
-
icon: { default: void 0 },
|
|
39
|
-
orientation: { default: "vertical" },
|
|
40
|
-
size: { default: "md" },
|
|
41
|
-
image: { default: void 0 },
|
|
42
|
-
imageAlt: { default: "" },
|
|
43
|
-
imageRatio: { default: void 0 },
|
|
44
|
-
imageFit: { default: "cover" },
|
|
45
|
-
href: { default: void 0 },
|
|
46
|
-
to: { default: void 0 },
|
|
47
|
-
target: { default: void 0 },
|
|
48
|
-
clickable: {
|
|
49
|
-
type: Boolean,
|
|
50
|
-
default: !1
|
|
51
|
-
},
|
|
52
|
-
selected: {
|
|
53
|
-
type: Boolean,
|
|
54
|
-
default: !1
|
|
55
|
-
},
|
|
56
|
-
disabled: {
|
|
57
|
-
type: Boolean,
|
|
58
|
-
default: !1
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
emits: ["select"],
|
|
62
|
-
setup(e, { emit: h }) {
|
|
63
|
-
let R = e, z = h, B = E(), V = c(() => R.image !== void 0 || !!B.media), H = x(!1);
|
|
64
|
-
D(() => R.image, () => {
|
|
65
|
-
H.value = !1;
|
|
66
|
-
});
|
|
67
|
-
let U = c(() => !R.image || H.value), W = c(() => ({
|
|
68
|
-
"--nb-card-image-ratio": R.imageRatio,
|
|
69
|
-
"--nb-card-image-fit": R.imageFit
|
|
70
|
-
})), { level: G, layerProps: K } = a({ provideContext: !1 }), q = c(() => R.flat ? {} : K.value);
|
|
71
|
-
b(n, c(() => R.flat ? G.value : r(G.value + 1)));
|
|
72
|
-
let J = c(() => R.description || R.subtitle), Y = c(() => !R.title && !B.title || R.clickable && !R.href && !R.to ? "span" : R.headingLevel), X = c(() => i(r(G.value + 1))), { tag: Z, attrs: Q, isInteractive: $, onClick: ee, onKeydown: te } = s(R, (e) => z("select", e));
|
|
73
|
-
return (n, r) => (y(), l(C(T(Z)), g({ class: ["nb-card", {
|
|
74
|
-
"nb-card--horizontal": e.orientation === "horizontal",
|
|
75
|
-
"nb-card--sm": e.size === "sm",
|
|
76
|
-
"nb-card--interactive": T($),
|
|
77
|
-
"nb-card--selected": e.selected,
|
|
78
|
-
"nb-card--disabled": e.disabled,
|
|
79
|
-
"nb-card--decorated": !!n.$slots.decorator,
|
|
80
|
-
"nb-card--flat": e.flat
|
|
81
|
-
}] }, {
|
|
82
|
-
...T(Q),
|
|
83
|
-
...q.value
|
|
84
|
-
}, {
|
|
85
|
-
onClick: T(ee),
|
|
86
|
-
onKeydown: T(te)
|
|
87
|
-
}), {
|
|
88
|
-
default: O(() => [
|
|
89
|
-
V.value ? (y(), d("div", {
|
|
90
|
-
key: 0,
|
|
91
|
-
class: _(["nb-card__media", [X.value, { "nb-card__media--empty": U.value && !n.$slots.media }]]),
|
|
92
|
-
style: v(W.value)
|
|
93
|
-
}, [S(n.$slots, "media", {}, () => [U.value ? (y(), l(t, {
|
|
94
|
-
key: 1,
|
|
95
|
-
class: "nb-card__placeholder",
|
|
96
|
-
name: A,
|
|
97
|
-
size: 24,
|
|
98
|
-
"aria-hidden": "true"
|
|
99
|
-
})) : (y(), d("img", {
|
|
100
|
-
key: 0,
|
|
101
|
-
class: "nb-card__image",
|
|
102
|
-
src: e.image,
|
|
103
|
-
alt: e.imageAlt,
|
|
104
|
-
loading: "lazy",
|
|
105
|
-
decoding: "async",
|
|
106
|
-
onError: r[0] ||= (e) => H.value = !0
|
|
107
|
-
}, null, 40, j))])], 6)) : u("", !0),
|
|
108
|
-
e.icon || n.$slots.icon ? (y(), d("div", M, [S(n.$slots, "icon", {}, () => [m(t, {
|
|
109
|
-
name: e.icon,
|
|
110
|
-
size: 20,
|
|
111
|
-
"aria-hidden": "true"
|
|
112
|
-
}, null, 8, ["name"])])])) : u("", !0),
|
|
113
|
-
n.$slots.decorator ? (y(), d("div", {
|
|
114
|
-
key: 2,
|
|
115
|
-
class: "nb-card__decorator",
|
|
116
|
-
onClick: r[1] ||= k(() => {}, ["stop"]),
|
|
117
|
-
onKeydown: r[2] ||= k(() => {}, ["stop"])
|
|
118
|
-
}, [S(n.$slots, "decorator")], 32)) : u("", !0),
|
|
119
|
-
f("div", { class: _(["nb-card__head", { "nb-card__head--bar": n.$slots.meta || n.$slots.actions }]) }, [
|
|
120
|
-
(y(), l(C(Y.value), { class: "nb-card__title" }, {
|
|
121
|
-
default: O(() => [S(n.$slots, "title", {}, () => [p(w(e.title), 1)])]),
|
|
122
|
-
_: 3
|
|
123
|
-
})),
|
|
124
|
-
n.$slots.meta ? (y(), d("span", N, [S(n.$slots, "meta")])) : u("", !0),
|
|
125
|
-
n.$slots.actions ? (y(), d("div", P, [m(o, { owner: "NbCard" }, {
|
|
126
|
-
default: O(() => [S(n.$slots, "actions")]),
|
|
127
|
-
_: 3
|
|
128
|
-
})])) : u("", !0),
|
|
129
|
-
J.value || n.$slots.subtitle ? (y(), d("span", F, [S(n.$slots, "subtitle", {}, () => [p(w(J.value), 1)])])) : u("", !0)
|
|
130
|
-
], 2),
|
|
131
|
-
n.$slots.default ? (y(), d("div", I, [S(n.$slots, "default")])) : u("", !0),
|
|
132
|
-
n.$slots.footer ? (y(), d("div", L, [S(n.$slots, "footer")])) : u("", !0)
|
|
133
|
-
]),
|
|
134
|
-
_: 3
|
|
135
|
-
}, 16, [
|
|
136
|
-
"class",
|
|
137
|
-
"onClick",
|
|
138
|
-
"onKeydown"
|
|
139
|
-
]));
|
|
140
|
-
}
|
|
141
|
-
}), [["__scopeId", "data-v-4aacef20"]]);
|
|
142
|
-
//#endregion
|
|
143
|
-
export { R as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./composables/useCommandPalette.composable.cjs`),t=require(`./Icon-CssV4E2-.cjs`),n=require(`./composables/useFocusTrap.composable.cjs`),r=require(`./composables/useScrollLock.composable.cjs`);let i=require(`vue`),a=require(`@nubisco/ui/icons/magnifying-glass`);var o=[`aria-label`],s={class:`nb-command-palette__input-row`},c=[`aria-label`,`aria-expanded`,`aria-controls`,`aria-activedescendant`,`placeholder`],l=[`aria-label`],u=[`role`,`aria-labelledby`],d=[`id`],f=[`id`,`aria-selected`,`onClick`,`onMouseenter`],p=[`title`],m={key:1,class:`nb-command-palette__item-shortcut`},h={key:1,class:`nb-command-palette__empty`,role:`status`},g={key:2,class:`nb-command-palette__empty`,role:`status`},_={key:3,class:`nb-command-palette__empty`},v=(0,i.defineComponent)({__name:`CommandPalette`,props:{openShortcut:{default:`Meta+k`},placeholder:{default:`Search commands...`},maxResults:{default:50},suggest:{type:Function,default:void 0},suggestDebounce:{default:150},label:{default:`Command palette`}},setup(v){let{lock:y,unlock:b}=r.useScrollLock(),x=v,S=(0,i.inject)(e.NB_COMMAND_PALETTE_KEY),C=(0,i.ref)(null),w=(0,i.ref)(null),T=`nb-command-palette-${(0,i.useId)()}`,E=new Map;function D(e){let t=E.get(e);return t||(t=`${T}-option-${E.size}`,E.set(e,t)),t}n.useFocusTrap({container:()=>w.value,active:()=>S.isOpen,initialFocus:()=>C.value});let O=(0,i.ref)(``),k=(0,i.ref)(null),A=(0,i.ref)([]),j=(0,i.ref)(!1),M=null,N=0;function P(){M!==null&&(clearTimeout(M),M=null)}function F(){P(),N++,A.value=[],j.value=!1}async function I(e){let t=x.suggest;if(!t)return;let n=++N;j.value=!0;try{let r=await t(e);if(n!==N)return;A.value=r}catch{n===N&&(A.value=[])}finally{n===N&&(j.value=!1)}}(0,i.watch)(O,e=>{if(!x.suggest)return;P();let t=e.trim();if(!t){F();return}j.value=!0,M=setTimeout(()=>void I(t),x.suggestDebounce)});function L(e,t){let n=e.toLowerCase(),r=t.toLowerCase();if(n.startsWith(r))return 1e3+r.length/n.length*100;if(n.split(/[\s\-_./]+/).some(e=>e.startsWith(r)))return 500;let i=n.indexOf(r);if(i>=0)return 300-i;let a=0,o=0;for(let e=0;e<n.length&&a<r.length;e++)n[e]===r[a]&&(o+=10,e>0&&n[e-1]===(a>0?r[a-1]:``)&&(o+=5),a++);return a===r.length?o:-1}function R(e,t){let n=L(e.label,t);if(e.namespace&&(n=Math.max(n,L(e.namespace,t)*.8)),e.keywords)for(let r of e.keywords)n=Math.max(n,L(r,t)*.7);return n}let z=(0,i.computed)(()=>{let e=Array.from(S.commands.values()).filter(e=>!e.context||e.context===S.activeContext);return O.value?e.map(e=>({cmd:e,score:R(e,O.value)})).filter(e=>e.score>0).sort((e,t)=>t.score-e.score).slice(0,x.maxResults).map(e=>e.cmd):e.slice(0,x.maxResults)}),B=(0,i.computed)(()=>{let e=new Map;for(let t of z.value){let n=t.namespace??``;e.has(n)||e.set(n,[]),e.get(n).push(t)}let t=Array.from(e.entries()).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>({namespace:e,commands:t.sort((e,t)=>e.label.localeCompare(t.label))}));if(A.value.length===0)return t;let n=new Map;for(let e of A.value.slice(0,x.maxResults)){let t=e.namespace??``;n.has(t)||n.set(t,[]),n.get(t).push(e)}return[...Array.from(n.entries()).map(([e,t])=>({namespace:e,commands:t})),...t]}),V=(0,i.computed)(()=>B.value.flatMap(e=>e.commands));function H(e){S.close(),O.value=``,F(),e.handler()}function U(e){if(e.key===`Escape`){e.preventDefault(),S.close(),O.value=``,F();return}let t=V.value;if(!t.length)return;let n=t.findIndex(e=>e.id===k.value);if(e.key===`ArrowDown`)e.preventDefault(),k.value=t[n<t.length-1?n+1:0].id,W();else if(e.key===`ArrowUp`)e.preventDefault(),k.value=t[n>0?n-1:t.length-1].id,W();else if(e.key===`Enter`&&k.value){e.preventDefault();let n=t.find(e=>e.id===k.value);n&&H(n)}}function W(){(0,i.nextTick)(()=>{document.querySelector(`.nb-command-palette__item--highlighted`)?.scrollIntoView({block:`nearest`})})}(0,i.watch)(()=>S.isOpen,e=>{e?(O.value=S.searchFilter??``,k.value=null,(0,i.nextTick)(()=>{(0,i.nextTick)(()=>{V.value.length>0&&(k.value=V.value[0].id)})}),y()):(O.value=``,F(),b())}),(0,i.watch)(V,e=>{e.length>0&&!e.find(e=>e.id===k.value)?k.value=e[0].id:e.length===0&&(k.value=null)});let G={cmd:`⌘`,meta:`⌘`,shift:`⇧`,alt:`⌥`,option:`⌥`,ctrl:`⌃`,control:`⌃`};function K(e){return e.split(`+`).map(e=>G[e.trim().toLowerCase()]||e.trim())}function q(e){let t=e.toLowerCase().split(`+`);return{key:t[t.length-1],meta:t.includes(`meta`)||t.includes(`cmd`),ctrl:t.includes(`ctrl`)||t.includes(`control`),shift:t.includes(`shift`),alt:t.includes(`alt`)}}function J(e){if(e.key===`Escape`&&S.isOpen){e.preventDefault(),S.close(),O.value=``;return}let t=q(x.openShortcut),n=e.key.toLowerCase()===t.key,r=t.meta?e.metaKey:!e.metaKey,i=t.ctrl?e.ctrlKey:!e.ctrlKey,a=t.shift?e.shiftKey:!e.shiftKey,o=t.alt?e.altKey:!e.altKey;n&&r&&i&&a&&o&&(e.preventDefault(),S.isOpen?S.close():S.open())}return(0,i.onMounted)(()=>{document.addEventListener(`keydown`,J)}),(0,i.onBeforeUnmount)(()=>{document.removeEventListener(`keydown`,J),P(),b()}),(e,n)=>((0,i.openBlock)(),(0,i.createBlock)(i.Teleport,{to:`body`},[(0,i.createVNode)(i.Transition,{name:`nb-command-palette`},{default:(0,i.withCtx)(()=>[(0,i.unref)(S).isOpen?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{key:0,class:`nb-command-palette__overlay`,onClick:n[1]||=(0,i.withModifiers)(e=>(0,i.unref)(S).close(),[`self`])},[(0,i.createElementVNode)(`div`,{ref_key:`paletteRef`,ref:w,class:`nb-command-palette`,role:`dialog`,"aria-modal":`true`,"aria-label":v.label,tabindex:`-1`,onKeydown:U},[(0,i.createElementVNode)(`div`,s,[(0,i.createVNode)(t.t,{name:(0,i.unref)(a.regular),size:20,class:`nb-command-palette__search-icon`},null,8,[`name`]),(0,i.withDirectives)((0,i.createElementVNode)(`input`,{ref_key:`inputRef`,ref:C,"onUpdate:modelValue":n[0]||=e=>O.value=e,type:`text`,class:`nb-command-palette__input`,role:`combobox`,"aria-autocomplete":`list`,"aria-label":v.label,"aria-expanded":V.value.length>0,"aria-controls":V.value.length>0?T:void 0,"aria-activedescendant":k.value===null?void 0:D(k.value),placeholder:v.placeholder,autocomplete:`off`,spellcheck:`false`},null,8,c),[[i.vModelText,O.value]])]),B.value.length>0?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{key:0,id:T,class:`nb-command-palette__results`,role:`listbox`,"aria-label":v.label},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(B.value,(e,n)=>((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{key:e.namespace,role:e.namespace?`group`:`presentation`,"aria-labelledby":e.namespace?`${T}-group-${n}`:void 0},[e.namespace?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{key:0,id:`${T}-group-${n}`,class:`nb-command-palette__group-header`,role:`presentation`},(0,i.toDisplayString)(e.namespace),9,d)):(0,i.createCommentVNode)(``,!0),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.commands,e=>((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{id:D(e.id),key:e.id,role:`option`,"aria-selected":e.id===k.value,class:(0,i.normalizeClass)([`nb-command-palette__item`,{"nb-command-palette__item--highlighted":e.id===k.value}]),onClick:t=>H(e),onMouseenter:t=>k.value=e.id},[e.icon?((0,i.openBlock)(),(0,i.createBlock)(t.t,{key:0,name:e.icon,size:16,class:`nb-command-palette__item-icon`},null,8,[`name`])):(0,i.createCommentVNode)(``,!0),(0,i.createElementVNode)(`span`,{class:`nb-command-palette__item-label`,title:e.label},(0,i.toDisplayString)(e.label),9,p),e.shortcut?((0,i.openBlock)(),(0,i.createElementBlock)(`span`,m,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(K(e.shortcut),(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(`kbd`,{key:t,class:`nb-command-palette__key`},(0,i.toDisplayString)(e),1))),128))])):(0,i.createCommentVNode)(``,!0)],42,f))),128))],8,u))),128))],8,l)):j.value?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,h,` Searching... `)):O.value?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,g,` No matches `)):((0,i.openBlock)(),(0,i.createElementBlock)(`div`,_,` Type to search commands `))],40,o)])):(0,i.createCommentVNode)(``,!0)]),_:1})]))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return v}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./composables/useReducedMotion.composable.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./Button-C0N1cyOQ.cjs`),i=require(`./Message-Bija1nMK.cjs`),a=require(`./TextInput-DKp819VS.cjs`),o=require(`./Modal-1i_nDqvM.cjs`);let s=require(`vue`),ee=require(`@nubisco/ui/icons/check`),c=require(`@nubisco/ui/icons/warning`);var l={key:0,class:`nb-confirm__message`},u={key:0,class:`nb-confirm__subject-kind`},d={class:`nb-confirm__subject-name`},f={key:1,class:`nb-confirm__gate`},p={class:`nb-confirm__live`},m={key:0,class:`nb-confirm__status`,role:`status`},h={key:1,class:`nb-confirm__status nb-confirm__status--success`,role:`status`},g=(0,s.defineComponent)({__name:`Confirm`,props:{open:{type:Boolean,default:!1},title:{},message:{default:void 0},subject:{default:void 0},subjectLabel:{default:void 0},confirmLabel:{default:`Confirm`},cancelLabel:{default:`Cancel`},tone:{default:`danger`},typeToConfirm:{default:void 0},typeToConfirmLabel:{default:void 0},typeToConfirmHelper:{default:void 0},busy:{type:Boolean,default:!1},busyLabel:{default:`Working`},succeeded:{type:Boolean,default:!1},successLabel:{default:void 0},error:{default:void 0},size:{default:`sm`},floatingSelectors:{default:()=>[]},contentClass:{default:void 0}},emits:[`confirm`,`cancel`],setup(t,{expose:g,emit:_}){let v=t,y=_,b=(0,s.useId)(),x=`nb-confirm-title-${b}`,S=`nb-confirm-body-${b}`,C=(0,s.useSlots)(),w=(0,s.ref)(null),T=(0,s.ref)(null),E=(0,s.ref)(null),D=(0,s.ref)(``),O=e.useReducedMotion(),k=(0,s.computed)(()=>v.busy||v.succeeded);function A(){return!!v.message||!!v.subject||!!C.default}let j=(0,s.computed)(()=>v.tone===`danger`?`danger`:`primary`),M=(0,s.computed)(()=>v.typeToConfirmLabel??`Type ${v.typeToConfirm} to confirm`),N=(0,s.computed)(()=>!v.typeToConfirm||D.value.trim()===v.typeToConfirm),P=(0,s.computed)(()=>N.value&&!k.value);function F(){P.value&&y(`confirm`)}function I(){let e=E.value?.$el;return e instanceof HTMLElement?e:null}function L(){return w.value?.closest(`[role="dialog"],[role="alertdialog"]`)??null}function te(){return typeof document>`u`?[]:Array.from(document.querySelectorAll(`[aria-modal="true"]`))}function R(){let e=L();if(!e)return!1;let t=te();return t.length===0||t[t.length-1]===e}let ne=[`a[href]:not([tabindex="-1"])`,`area[href]:not([tabindex="-1"])`,`button:not([disabled]):not([tabindex="-1"])`,`input:not([disabled]):not([type="hidden"]):not([tabindex="-1"])`,`select:not([disabled]):not([tabindex="-1"])`,`textarea:not([disabled]):not([tabindex="-1"])`,`summary:not([tabindex="-1"])`,`audio[controls]:not([tabindex="-1"])`,`video[controls]:not([tabindex="-1"])`,`iframe:not([tabindex="-1"])`,`[contenteditable]:not([contenteditable="false"]):not([tabindex="-1"])`,`[tabindex]:not([tabindex="-1"])`].map(e=>`${e}:not([hidden]):not([aria-hidden="true"])`).join(`,`);function re(){return o.i(v.floatingSelectors)}function z(e){return e instanceof Element?!!e.closest(re()):!1}function B(e){let t=L();return!!t&&!!e&&t.contains(e)}function V(){let e=L();return e?Array.from(e.querySelectorAll(ne)).filter(e=>e.getAttribute(`aria-disabled`)!==`true`):[]}function H(){let e=L();return e?(e.focus(),!0):!1}function U(){let e=V()[0];e?e.focus():H()}let W=null;function G(){let e=W;W=null,e?.isConnected&&e.focus()}function K(){o.r(L(),O.value)}(0,s.watch)(O,()=>{v.open&&K()}),(0,s.watch)(()=>[v.busy,v.error],async(e,t)=>{if(!v.open)return;let[n,r]=e,i=t?.[0]??!1;if(await(0,s.nextTick)(),n){V().length===0&&H();return}if(i&&r){let e=T.value;e?e.focus():U();return}let a=document.activeElement;!B(a)&&!z(a)&&U()}),(0,s.watch)(()=>v.open,async e=>{e?(W=document.activeElement instanceof HTMLElement?document.activeElement:null,D.value=``,await(0,s.nextTick)(),K(),I()?I()?.focus():H()):G()},{immediate:!0});function q(){k.value||y(`cancel`)}let J=!1,Y=!1;function X(e){let t=e.target;J=B(t)||z(t)}function Z(e){Y=B(e.target)}function ie(){let e=J&&!Y;J=!1,!e&&q()}function Q(e){if(!v.open||z(document.activeElement))return;if(e.key===`Escape`){if(!R())return;e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation(),q();return}if(e.key!==`Tab`||!R())return;let t=V();if(t.length===0){e.preventDefault(),B(document.activeElement)||H();return}let n=t[0],r=t[t.length-1],i=document.activeElement;e.shiftKey&&(i===n||!B(i))?(e.preventDefault(),r.focus()):!e.shiftKey&&i===r?(e.preventDefault(),n.focus()):B(i)||(e.preventDefault(),n.focus())}function $(e){if(!v.open)return;let t=e.relatedTarget;if(t instanceof Element){if(B(t)||z(t))return}else if(t!==null)return;requestAnimationFrame(()=>{if(!v.open)return;let e=document.activeElement;B(e)||z(e)||e&&e!==document.body&&!e.isConnected||R()&&U()})}return typeof document<`u`&&(document.addEventListener(`keydown`,Q,!0),document.addEventListener(`focusout`,$,!0),document.addEventListener(`mousedown`,X,!0),document.addEventListener(`touchstart`,X,!0),document.addEventListener(`click`,Z,!0)),(0,s.onMounted)(()=>{v.open&&(K(),I()?I()?.focus():H())}),(0,s.onUnmounted)(()=>{typeof document<`u`&&(document.removeEventListener(`keydown`,Q,!0),document.removeEventListener(`focusout`,$,!0),document.removeEventListener(`mousedown`,X,!0),document.removeEventListener(`touchstart`,X,!0),document.removeEventListener(`click`,Z,!0)),G()}),g({focusCancel:()=>I()?.focus(),restoreFocus:G,isTopmost:R}),(e,g)=>((0,s.openBlock)(),(0,s.createBlock)(o.t,{open:t.open,size:t.size,role:t.tone===`danger`?`alertdialog`:`dialog`,"labelled-by":x,"described-by":A()?S:void 0,busy:t.busy,"close-on-overlay":!k.value,"close-disabled":k.value,"close-on-escape":!1,"trap-focus":!1,onClose:ie},{header:(0,s.withCtx)(()=>[(0,s.createElementVNode)(`span`,{id:x,class:(0,s.normalizeClass)([`nb-confirm__heading`,`nb-confirm__heading--${t.tone}`])},[t.tone===`danger`?((0,s.openBlock)(),(0,s.createBlock)(n.t,{key:0,name:(0,s.unref)(c.regular),size:16,"aria-hidden":`true`},null,8,[`name`])):(0,s.createCommentVNode)(``,!0),(0,s.createElementVNode)(`span`,null,(0,s.toDisplayString)(t.title),1)],2)]),footer:(0,s.withCtx)(()=>[(0,s.createVNode)(r.t,{ref_key:`cancelRef`,ref:E,class:`nb-confirm__action nb-confirm__action--cancel`,variant:`ghost`,size:`lg`,disabled:k.value,"data-nb-confirm":`cancel`,onClick:q},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(t.cancelLabel),1)]),_:1},8,[`disabled`]),(0,s.createVNode)(r.t,{class:`nb-confirm__action nb-confirm__action--confirm`,variant:j.value,size:`lg`,disabled:!P.value,loading:t.busy,"data-nb-confirm":`confirm`,onClick:F},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(t.confirmLabel),1)]),_:1},8,[`variant`,`disabled`,`loading`])]),default:(0,s.withCtx)(()=>[(0,s.createElementVNode)(`div`,{ref_key:`rootRef`,ref:w,class:(0,s.normalizeClass)([`nb-confirm`,t.contentClass])},[A()?((0,s.openBlock)(),(0,s.createElementBlock)(`div`,{key:0,id:S,class:`nb-confirm__body`},[(0,s.renderSlot)(e.$slots,`default`,{},()=>[t.message?((0,s.openBlock)(),(0,s.createElementBlock)(`p`,l,(0,s.toDisplayString)(t.message),1)):(0,s.createCommentVNode)(``,!0)],!0),t.subject?((0,s.openBlock)(),(0,s.createElementBlock)(`p`,{key:0,class:(0,s.normalizeClass)([`nb-confirm__subject`,`nb-confirm__subject--${t.tone}`])},[t.subjectLabel?((0,s.openBlock)(),(0,s.createElementBlock)(`span`,u,(0,s.toDisplayString)(t.subjectLabel),1)):(0,s.createCommentVNode)(``,!0),(0,s.createElementVNode)(`span`,d,(0,s.toDisplayString)(t.subject),1)],2)):(0,s.createCommentVNode)(``,!0)])):(0,s.createCommentVNode)(``,!0),t.typeToConfirm?((0,s.openBlock)(),(0,s.createElementBlock)(`div`,f,[(0,s.createVNode)(a.t,{modelValue:D.value,"onUpdate:modelValue":g[0]||=e=>D.value=e,class:`nb-confirm__gate-field`,label:M.value,helper:t.typeToConfirmHelper,disabled:k.value,autocomplete:`off`,spellcheck:`false`,"data-nb-confirm":`gate`,onKeydown:g[1]||=(0,s.withKeys)((0,s.withModifiers)(()=>{},[`prevent`]),[`enter`])},null,8,[`modelValue`,`label`,`helper`,`disabled`])])):(0,s.createCommentVNode)(``,!0),(0,s.createElementVNode)(`div`,p,[t.busy?((0,s.openBlock)(),(0,s.createElementBlock)(`p`,m,(0,s.toDisplayString)(t.busyLabel),1)):(0,s.createCommentVNode)(``,!0),t.succeeded&&t.successLabel?((0,s.openBlock)(),(0,s.createElementBlock)(`p`,h,[(0,s.createVNode)(n.t,{name:(0,s.unref)(ee.regular),size:`sm`,"aria-hidden":`true`},null,8,[`name`]),(0,s.createElementVNode)(`span`,null,(0,s.toDisplayString)(t.successLabel),1)])):(0,s.createCommentVNode)(``,!0),t.error?((0,s.openBlock)(),(0,s.createElementBlock)(`div`,{key:2,ref_key:`errorRef`,ref:T,class:`nb-confirm__error`,tabindex:`-1`},[(0,s.createVNode)(i.t,{variant:`error`},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(t.error),1)]),_:1})],512)):(0,s.createCommentVNode)(``,!0)])],2)]),_:3},8,[`open`,`size`,`role`,`described-by`,`busy`,`close-on-overlay`,`close-disabled`]))}}),_=t.t(g,[[`__scopeId`,`data-v-50d0e1f8`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return _}});
|
package/dist/Confirm-MmMvMttu.js
DELETED
|
@@ -1,313 +0,0 @@
|
|
|
1
|
-
import { useReducedMotion as e } from "./composables/useReducedMotion.composable.mjs";
|
|
2
|
-
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
|
-
import { t as n } from "./Icon-B2tiGiqZ.js";
|
|
4
|
-
import { t as r } from "./Button-CuwzIVWv.js";
|
|
5
|
-
import { t as i } from "./Message-BONOwoVY.js";
|
|
6
|
-
import { t as a } from "./TextInput-BXyJQfGx.js";
|
|
7
|
-
import { i as o, r as ee, t as te } from "./Modal-CxIl02xU.js";
|
|
8
|
-
import { computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, nextTick as h, normalizeClass as g, onMounted as ne, onUnmounted as re, openBlock as _, ref as v, renderSlot as ie, toDisplayString as y, unref as b, useId as ae, useSlots as oe, watch as x, withCtx as S, withKeys as se, withModifiers as ce } from "vue";
|
|
9
|
-
import { regular as le } from "@nubisco/ui/icons/check";
|
|
10
|
-
import { regular as ue } from "@nubisco/ui/icons/warning";
|
|
11
|
-
//#region src/components/Confirm.vue?vue&type=script&setup=true&lang.ts
|
|
12
|
-
var de = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "nb-confirm__message"
|
|
15
|
-
}, fe = {
|
|
16
|
-
key: 0,
|
|
17
|
-
class: "nb-confirm__subject-kind"
|
|
18
|
-
}, pe = { class: "nb-confirm__subject-name" }, me = {
|
|
19
|
-
key: 1,
|
|
20
|
-
class: "nb-confirm__gate"
|
|
21
|
-
}, he = { class: "nb-confirm__live" }, ge = {
|
|
22
|
-
key: 0,
|
|
23
|
-
class: "nb-confirm__status",
|
|
24
|
-
role: "status"
|
|
25
|
-
}, _e = {
|
|
26
|
-
key: 1,
|
|
27
|
-
class: "nb-confirm__status nb-confirm__status--success",
|
|
28
|
-
role: "status"
|
|
29
|
-
}, C = /* @__PURE__ */ t(/* @__PURE__ */ m({
|
|
30
|
-
__name: "Confirm",
|
|
31
|
-
props: {
|
|
32
|
-
open: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: !1
|
|
35
|
-
},
|
|
36
|
-
title: {},
|
|
37
|
-
message: { default: void 0 },
|
|
38
|
-
subject: { default: void 0 },
|
|
39
|
-
subjectLabel: { default: void 0 },
|
|
40
|
-
confirmLabel: { default: "Confirm" },
|
|
41
|
-
cancelLabel: { default: "Cancel" },
|
|
42
|
-
tone: { default: "danger" },
|
|
43
|
-
typeToConfirm: { default: void 0 },
|
|
44
|
-
typeToConfirmLabel: { default: void 0 },
|
|
45
|
-
typeToConfirmHelper: { default: void 0 },
|
|
46
|
-
busy: {
|
|
47
|
-
type: Boolean,
|
|
48
|
-
default: !1
|
|
49
|
-
},
|
|
50
|
-
busyLabel: { default: "Working" },
|
|
51
|
-
succeeded: {
|
|
52
|
-
type: Boolean,
|
|
53
|
-
default: !1
|
|
54
|
-
},
|
|
55
|
-
successLabel: { default: void 0 },
|
|
56
|
-
error: { default: void 0 },
|
|
57
|
-
size: { default: "sm" },
|
|
58
|
-
floatingSelectors: { default: () => [] },
|
|
59
|
-
contentClass: { default: void 0 }
|
|
60
|
-
},
|
|
61
|
-
emits: ["confirm", "cancel"],
|
|
62
|
-
setup(t, { expose: m, emit: C }) {
|
|
63
|
-
let w = t, T = C, E = ae(), D = `nb-confirm-title-${E}`, O = `nb-confirm-body-${E}`, ve = oe(), k = v(null), A = v(null), j = v(null), M = v(""), N = e(), P = s(() => w.busy || w.succeeded);
|
|
64
|
-
function F() {
|
|
65
|
-
return !!w.message || !!w.subject || !!ve.default;
|
|
66
|
-
}
|
|
67
|
-
let ye = s(() => w.tone === "danger" ? "danger" : "primary"), be = s(() => w.typeToConfirmLabel ?? `Type ${w.typeToConfirm} to confirm`), xe = s(() => !w.typeToConfirm || M.value.trim() === w.typeToConfirm), I = s(() => xe.value && !P.value);
|
|
68
|
-
function Se() {
|
|
69
|
-
I.value && T("confirm");
|
|
70
|
-
}
|
|
71
|
-
function L() {
|
|
72
|
-
let e = j.value?.$el;
|
|
73
|
-
return e instanceof HTMLElement ? e : null;
|
|
74
|
-
}
|
|
75
|
-
function R() {
|
|
76
|
-
return k.value?.closest("[role=\"dialog\"],[role=\"alertdialog\"]") ?? null;
|
|
77
|
-
}
|
|
78
|
-
function Ce() {
|
|
79
|
-
return typeof document > "u" ? [] : Array.from(document.querySelectorAll("[aria-modal=\"true\"]"));
|
|
80
|
-
}
|
|
81
|
-
function z() {
|
|
82
|
-
let e = R();
|
|
83
|
-
if (!e) return !1;
|
|
84
|
-
let t = Ce();
|
|
85
|
-
return t.length === 0 || t[t.length - 1] === e;
|
|
86
|
-
}
|
|
87
|
-
let we = [
|
|
88
|
-
"a[href]:not([tabindex=\"-1\"])",
|
|
89
|
-
"area[href]:not([tabindex=\"-1\"])",
|
|
90
|
-
"button:not([disabled]):not([tabindex=\"-1\"])",
|
|
91
|
-
"input:not([disabled]):not([type=\"hidden\"]):not([tabindex=\"-1\"])",
|
|
92
|
-
"select:not([disabled]):not([tabindex=\"-1\"])",
|
|
93
|
-
"textarea:not([disabled]):not([tabindex=\"-1\"])",
|
|
94
|
-
"summary:not([tabindex=\"-1\"])",
|
|
95
|
-
"audio[controls]:not([tabindex=\"-1\"])",
|
|
96
|
-
"video[controls]:not([tabindex=\"-1\"])",
|
|
97
|
-
"iframe:not([tabindex=\"-1\"])",
|
|
98
|
-
"[contenteditable]:not([contenteditable=\"false\"]):not([tabindex=\"-1\"])",
|
|
99
|
-
"[tabindex]:not([tabindex=\"-1\"])"
|
|
100
|
-
].map((e) => `${e}:not([hidden]):not([aria-hidden="true"])`).join(",");
|
|
101
|
-
function Te() {
|
|
102
|
-
return o(w.floatingSelectors);
|
|
103
|
-
}
|
|
104
|
-
function B(e) {
|
|
105
|
-
return e instanceof Element ? !!e.closest(Te()) : !1;
|
|
106
|
-
}
|
|
107
|
-
function V(e) {
|
|
108
|
-
let t = R();
|
|
109
|
-
return !!t && !!e && t.contains(e);
|
|
110
|
-
}
|
|
111
|
-
function H() {
|
|
112
|
-
let e = R();
|
|
113
|
-
return e ? Array.from(e.querySelectorAll(we)).filter((e) => e.getAttribute("aria-disabled") !== "true") : [];
|
|
114
|
-
}
|
|
115
|
-
function U() {
|
|
116
|
-
let e = R();
|
|
117
|
-
return e ? (e.focus(), !0) : !1;
|
|
118
|
-
}
|
|
119
|
-
function W() {
|
|
120
|
-
let e = H()[0];
|
|
121
|
-
e ? e.focus() : U();
|
|
122
|
-
}
|
|
123
|
-
let G = null;
|
|
124
|
-
function K() {
|
|
125
|
-
let e = G;
|
|
126
|
-
G = null, e?.isConnected && e.focus();
|
|
127
|
-
}
|
|
128
|
-
function q() {
|
|
129
|
-
ee(R(), N.value);
|
|
130
|
-
}
|
|
131
|
-
x(N, () => {
|
|
132
|
-
w.open && q();
|
|
133
|
-
}), x(() => [w.busy, w.error], async (e, t) => {
|
|
134
|
-
if (!w.open) return;
|
|
135
|
-
let [n, r] = e, i = t?.[0] ?? !1;
|
|
136
|
-
if (await h(), n) {
|
|
137
|
-
H().length === 0 && U();
|
|
138
|
-
return;
|
|
139
|
-
}
|
|
140
|
-
if (i && r) {
|
|
141
|
-
let e = A.value;
|
|
142
|
-
e ? e.focus() : W();
|
|
143
|
-
return;
|
|
144
|
-
}
|
|
145
|
-
let a = document.activeElement;
|
|
146
|
-
!V(a) && !B(a) && W();
|
|
147
|
-
}), x(() => w.open, async (e) => {
|
|
148
|
-
e ? (G = document.activeElement instanceof HTMLElement ? document.activeElement : null, M.value = "", await h(), q(), L() ? L()?.focus() : U()) : K();
|
|
149
|
-
}, { immediate: !0 });
|
|
150
|
-
function J() {
|
|
151
|
-
P.value || T("cancel");
|
|
152
|
-
}
|
|
153
|
-
let Y = !1, X = !1;
|
|
154
|
-
function Z(e) {
|
|
155
|
-
let t = e.target;
|
|
156
|
-
Y = V(t) || B(t);
|
|
157
|
-
}
|
|
158
|
-
function Q(e) {
|
|
159
|
-
X = V(e.target);
|
|
160
|
-
}
|
|
161
|
-
function Ee() {
|
|
162
|
-
let e = Y && !X;
|
|
163
|
-
Y = !1, !e && J();
|
|
164
|
-
}
|
|
165
|
-
function De(e) {
|
|
166
|
-
if (!w.open || B(document.activeElement)) return;
|
|
167
|
-
if (e.key === "Escape") {
|
|
168
|
-
if (!z()) return;
|
|
169
|
-
e.preventDefault(), e.stopPropagation(), e.stopImmediatePropagation(), J();
|
|
170
|
-
return;
|
|
171
|
-
}
|
|
172
|
-
if (e.key !== "Tab" || !z()) return;
|
|
173
|
-
let t = H();
|
|
174
|
-
if (t.length === 0) {
|
|
175
|
-
e.preventDefault(), V(document.activeElement) || U();
|
|
176
|
-
return;
|
|
177
|
-
}
|
|
178
|
-
let n = t[0], r = t[t.length - 1], i = document.activeElement;
|
|
179
|
-
e.shiftKey && (i === n || !V(i)) ? (e.preventDefault(), r.focus()) : !e.shiftKey && i === r ? (e.preventDefault(), n.focus()) : V(i) || (e.preventDefault(), n.focus());
|
|
180
|
-
}
|
|
181
|
-
function $(e) {
|
|
182
|
-
if (!w.open) return;
|
|
183
|
-
let t = e.relatedTarget;
|
|
184
|
-
if (t instanceof Element) {
|
|
185
|
-
if (V(t) || B(t)) return;
|
|
186
|
-
} else if (t !== null) return;
|
|
187
|
-
requestAnimationFrame(() => {
|
|
188
|
-
if (!w.open) return;
|
|
189
|
-
let e = document.activeElement;
|
|
190
|
-
V(e) || B(e) || e && e !== document.body && !e.isConnected || z() && W();
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
return typeof document < "u" && (document.addEventListener("keydown", De, !0), document.addEventListener("focusout", $, !0), document.addEventListener("mousedown", Z, !0), document.addEventListener("touchstart", Z, !0), document.addEventListener("click", Q, !0)), ne(() => {
|
|
194
|
-
w.open && (q(), L() ? L()?.focus() : U());
|
|
195
|
-
}), re(() => {
|
|
196
|
-
typeof document < "u" && (document.removeEventListener("keydown", De, !0), document.removeEventListener("focusout", $, !0), document.removeEventListener("mousedown", Z, !0), document.removeEventListener("touchstart", Z, !0), document.removeEventListener("click", Q, !0)), K();
|
|
197
|
-
}), m({
|
|
198
|
-
focusCancel: () => L()?.focus(),
|
|
199
|
-
restoreFocus: K,
|
|
200
|
-
isTopmost: z
|
|
201
|
-
}), (e, o) => (_(), c(te, {
|
|
202
|
-
open: t.open,
|
|
203
|
-
size: t.size,
|
|
204
|
-
role: t.tone === "danger" ? "alertdialog" : "dialog",
|
|
205
|
-
"labelled-by": D,
|
|
206
|
-
"described-by": F() ? O : void 0,
|
|
207
|
-
busy: t.busy,
|
|
208
|
-
"close-on-overlay": !P.value,
|
|
209
|
-
"close-disabled": P.value,
|
|
210
|
-
"close-on-escape": !1,
|
|
211
|
-
"trap-focus": !1,
|
|
212
|
-
onClose: Ee
|
|
213
|
-
}, {
|
|
214
|
-
header: S(() => [d("span", {
|
|
215
|
-
id: D,
|
|
216
|
-
class: g(["nb-confirm__heading", `nb-confirm__heading--${t.tone}`])
|
|
217
|
-
}, [t.tone === "danger" ? (_(), c(n, {
|
|
218
|
-
key: 0,
|
|
219
|
-
name: b(ue),
|
|
220
|
-
size: 16,
|
|
221
|
-
"aria-hidden": "true"
|
|
222
|
-
}, null, 8, ["name"])) : l("", !0), d("span", null, y(t.title), 1)], 2)]),
|
|
223
|
-
footer: S(() => [p(r, {
|
|
224
|
-
ref_key: "cancelRef",
|
|
225
|
-
ref: j,
|
|
226
|
-
class: "nb-confirm__action nb-confirm__action--cancel",
|
|
227
|
-
variant: "ghost",
|
|
228
|
-
size: "lg",
|
|
229
|
-
disabled: P.value,
|
|
230
|
-
"data-nb-confirm": "cancel",
|
|
231
|
-
onClick: J
|
|
232
|
-
}, {
|
|
233
|
-
default: S(() => [f(y(t.cancelLabel), 1)]),
|
|
234
|
-
_: 1
|
|
235
|
-
}, 8, ["disabled"]), p(r, {
|
|
236
|
-
class: "nb-confirm__action nb-confirm__action--confirm",
|
|
237
|
-
variant: ye.value,
|
|
238
|
-
size: "lg",
|
|
239
|
-
disabled: !I.value,
|
|
240
|
-
loading: t.busy,
|
|
241
|
-
"data-nb-confirm": "confirm",
|
|
242
|
-
onClick: Se
|
|
243
|
-
}, {
|
|
244
|
-
default: S(() => [f(y(t.confirmLabel), 1)]),
|
|
245
|
-
_: 1
|
|
246
|
-
}, 8, [
|
|
247
|
-
"variant",
|
|
248
|
-
"disabled",
|
|
249
|
-
"loading"
|
|
250
|
-
])]),
|
|
251
|
-
default: S(() => [d("div", {
|
|
252
|
-
ref_key: "rootRef",
|
|
253
|
-
ref: k,
|
|
254
|
-
class: g(["nb-confirm", t.contentClass])
|
|
255
|
-
}, [
|
|
256
|
-
F() ? (_(), u("div", {
|
|
257
|
-
key: 0,
|
|
258
|
-
id: O,
|
|
259
|
-
class: "nb-confirm__body"
|
|
260
|
-
}, [ie(e.$slots, "default", {}, () => [t.message ? (_(), u("p", de, y(t.message), 1)) : l("", !0)], !0), t.subject ? (_(), u("p", {
|
|
261
|
-
key: 0,
|
|
262
|
-
class: g(["nb-confirm__subject", `nb-confirm__subject--${t.tone}`])
|
|
263
|
-
}, [t.subjectLabel ? (_(), u("span", fe, y(t.subjectLabel), 1)) : l("", !0), d("span", pe, y(t.subject), 1)], 2)) : l("", !0)])) : l("", !0),
|
|
264
|
-
t.typeToConfirm ? (_(), u("div", me, [p(a, {
|
|
265
|
-
modelValue: M.value,
|
|
266
|
-
"onUpdate:modelValue": o[0] ||= (e) => M.value = e,
|
|
267
|
-
class: "nb-confirm__gate-field",
|
|
268
|
-
label: be.value,
|
|
269
|
-
helper: t.typeToConfirmHelper,
|
|
270
|
-
disabled: P.value,
|
|
271
|
-
autocomplete: "off",
|
|
272
|
-
spellcheck: "false",
|
|
273
|
-
"data-nb-confirm": "gate",
|
|
274
|
-
onKeydown: o[1] ||= se(ce(() => {}, ["prevent"]), ["enter"])
|
|
275
|
-
}, null, 8, [
|
|
276
|
-
"modelValue",
|
|
277
|
-
"label",
|
|
278
|
-
"helper",
|
|
279
|
-
"disabled"
|
|
280
|
-
])])) : l("", !0),
|
|
281
|
-
d("div", he, [
|
|
282
|
-
t.busy ? (_(), u("p", ge, y(t.busyLabel), 1)) : l("", !0),
|
|
283
|
-
t.succeeded && t.successLabel ? (_(), u("p", _e, [p(n, {
|
|
284
|
-
name: b(le),
|
|
285
|
-
size: "sm",
|
|
286
|
-
"aria-hidden": "true"
|
|
287
|
-
}, null, 8, ["name"]), d("span", null, y(t.successLabel), 1)])) : l("", !0),
|
|
288
|
-
t.error ? (_(), u("div", {
|
|
289
|
-
key: 2,
|
|
290
|
-
ref_key: "errorRef",
|
|
291
|
-
ref: A,
|
|
292
|
-
class: "nb-confirm__error",
|
|
293
|
-
tabindex: "-1"
|
|
294
|
-
}, [p(i, { variant: "error" }, {
|
|
295
|
-
default: S(() => [f(y(t.error), 1)]),
|
|
296
|
-
_: 1
|
|
297
|
-
})], 512)) : l("", !0)
|
|
298
|
-
])
|
|
299
|
-
], 2)]),
|
|
300
|
-
_: 3
|
|
301
|
-
}, 8, [
|
|
302
|
-
"open",
|
|
303
|
-
"size",
|
|
304
|
-
"role",
|
|
305
|
-
"described-by",
|
|
306
|
-
"busy",
|
|
307
|
-
"close-on-overlay",
|
|
308
|
-
"close-disabled"
|
|
309
|
-
]));
|
|
310
|
-
}
|
|
311
|
-
}), [["__scopeId", "data-v-50d0e1f8"]]);
|
|
312
|
-
//#endregion
|
|
313
|
-
export { C as t };
|