@nubisco/ui 5.48.1 → 5.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AccordionItem--XeLRz2P.js +119 -0
- package/dist/AccordionItem-BYSH6dZK.cjs +1 -0
- package/dist/ActionGroup-CZWoWOYj.cjs +1 -0
- package/dist/ActionGroup-DEeOrkKF.js +137 -0
- package/dist/{AiLabel-DywBjSzr.js → AiLabel-CSSIkvKP.js} +20 -20
- package/dist/{AiLabel-pRN10dQV.cjs → AiLabel-DSKUOcZs.cjs} +1 -1
- package/dist/{AiProvider-DY1xxZff.cjs → AiProvider-BLGmpN6e.cjs} +1 -1
- package/dist/{AiProvider-D8O_YaaP.js → AiProvider-BY5kxf6u.js} +6 -6
- package/dist/{AiUsage-HcYF6RQ2.js → AiUsage-BOrAXk2-.js} +2 -2
- package/dist/{AiUsage-DRj51zK5.cjs → AiUsage-fQqE0B6N.cjs} +1 -1
- package/dist/BackToTop-DgFlV4p4.cjs +1 -0
- package/dist/BackToTop-DrgXqZgF.js +51 -0
- package/dist/Banner-CazPCK0F.js +89 -0
- package/dist/Banner-CyU3PPnt.cjs +1 -0
- package/dist/{BarChart-IX4imFVT.cjs → BarChart-3YO4YfUt.cjs} +1 -1
- package/dist/{BarChart-tB6MOMoR.js → BarChart-CDvhhPk0.js} +4 -4
- package/dist/BatchActions-CLCwxCoa.js +86 -0
- package/dist/BatchActions-DfAPQSU6.cjs +1 -0
- package/dist/{Blueprint-46DWDZmu.js → Blueprint-CGGNppmS.js} +2 -2
- package/dist/{Blueprint-NyUNNf-G.cjs → Blueprint-DBIXzLYg.cjs} +1 -1
- package/dist/{BlueprintCard-DDNP1vkk.js → BlueprintCard-CqlU0QFY.js} +114 -116
- package/dist/BlueprintCard-DGUNttWj.cjs +1 -0
- package/dist/{BlueprintControls-D0MdXrVv.js → BlueprintControls-1l0QVtB7.js} +49 -75
- package/dist/BlueprintControls-C3ffD6W8.cjs +1 -0
- package/dist/{Board-CaFH4-Qw.js → Board-DEBP52eI.js} +178 -190
- package/dist/Board-DIbzPDsD.cjs +1 -0
- package/dist/BottomPanel-1EkHEQ_H.js +81 -0
- package/dist/BottomPanel-n2jWpFH7.cjs +1 -0
- package/dist/Breadcrumbs-CCPzuiiv.cjs +1 -0
- package/dist/Breadcrumbs-CQsziZK3.js +185 -0
- package/dist/{Briefing-CoDyU3k4.js → Briefing-0A1frO4v.js} +3 -3
- package/dist/{Briefing-B_ofl8Rt.cjs → Briefing-AqSz-ZdZ.cjs} +1 -1
- package/dist/{BriefingDestination-DAu5S2HI.cjs → BriefingDestination-CqyKzyXx.cjs} +1 -1
- package/dist/{BriefingDestination-CK4XdAOo.js → BriefingDestination-v3kNa6o_.js} +4 -4
- package/dist/Button-BHFtgOXA.cjs +1 -0
- package/dist/Button-tpOmP8iV.js +699 -0
- package/dist/ButtonSet-BV76HHgD.js +67 -0
- package/dist/ButtonSet-Bj9mIOW2.cjs +1 -0
- package/dist/Calendar-Bf0Nk0rA.js +153 -0
- package/dist/Calendar-D9J17bTp.cjs +1 -0
- package/dist/Card-C6KAn4tN.cjs +1 -0
- package/dist/Card-qNem4s60.js +162 -0
- package/dist/{Checkbox-DXQpih7I.js → Checkbox-BgXXVsCC.js} +1 -1
- package/dist/{Checkbox-7JJdh4sN.cjs → Checkbox-DPPln6oG.cjs} +1 -1
- package/dist/{CheckboxGroup-B8T3zLQC.cjs → CheckboxGroup-B2a3ezEK.cjs} +1 -1
- package/dist/{CheckboxGroup-BHn1hpzh.js → CheckboxGroup-Ck1ylAX9.js} +3 -3
- package/dist/ChipGroup-CVDk4ElV.js +74 -0
- package/dist/ChipGroup-DojKPHhq.cjs +1 -0
- package/dist/CloseButton-9TTFHFmx.cjs +1 -0
- package/dist/CloseButton-CdH12Hdn.js +48 -0
- package/dist/{ColorStrip-BW1nFTja.js → ColorStrip-CuF9ZGoO.js} +2 -2
- package/dist/{ColorStrip-AEg8dQbl.cjs → ColorStrip-bpguV5b2.cjs} +1 -1
- package/dist/CommandPalette-CCEzVWfb.cjs +1 -0
- package/dist/{CommandPalette-CD75Qytr.js → CommandPalette-D1DuzaA1.js} +100 -85
- package/dist/Confirm-CZNS6FNr.js +331 -0
- package/dist/Confirm-DbrEaYlJ.cjs +1 -0
- package/dist/{ContainedListItem-CSE8d5M6.js → ContainedListItem-8z2bmoRG.js} +20 -18
- package/dist/ContainedListItem-BKvHedZO.cjs +1 -0
- package/dist/ContentSwitcher-B-PUG0FE.js +99 -0
- package/dist/ContentSwitcher-CYSF2B-a.cjs +1 -0
- package/dist/CopyButton-CQ9tcyfs.js +60 -0
- package/dist/CopyButton-DRvJ4rf5.cjs +1 -0
- package/dist/DataTable-DDqMaOqP.js +545 -0
- package/dist/DataTable-DQUX-6li.cjs +1 -0
- package/dist/DatePicker-Du21bjhe.cjs +1 -0
- package/dist/DatePicker-fS84mRE6.js +761 -0
- package/dist/FileUploader-UzgK5RKz.cjs +1 -0
- package/dist/FileUploader-dzVu4iSo.js +195 -0
- package/dist/FloatingToolbar-BTmWtGU7.js +116 -0
- package/dist/FloatingToolbar-DDCJuaq0.cjs +1 -0
- package/dist/{Form-D6rgkJ_Y.cjs → Form-D2KHlP7N.cjs} +1 -1
- package/dist/{Form-1UVOFWaf.js → Form-igwYeEVI.js} +1 -1
- package/dist/{GanttChart-B_LqsmcR.cjs → GanttChart-ClFarMf-.cjs} +1 -1
- package/dist/{GanttChart-cZguVXW8.js → GanttChart-N05mLdsn.js} +3 -3
- package/dist/{ImageCropper-CJ2mCj9z.cjs → ImageCropper-CoYR_Hhy.cjs} +1 -1
- package/dist/{ImageCropper-BFKMYthJ.js → ImageCropper-wQknqxNK.js} +2 -2
- package/dist/ImagePicker-Dhj01jq7.cjs +1 -0
- package/dist/ImagePicker-zkoay3zZ.js +171 -0
- package/dist/InfoHint-BEzkNQTM.cjs +1 -0
- package/dist/InfoHint-BlHxrTw6.js +178 -0
- package/dist/InlineEdit-DBMKJ3xP.cjs +1 -0
- package/dist/InlineEdit-Y8i0ibjH.js +117 -0
- package/dist/{InlineLoading-D8T0WO05.js → InlineLoading-CDJ_ZJ6v.js} +1 -1
- package/dist/{InlineLoading-CB_1PwMx.cjs → InlineLoading-DKCzcjZJ.cjs} +1 -1
- package/dist/InputGroup-BYThVO5L.js +86 -0
- package/dist/InputGroup-BYoHNpY0.cjs +1 -0
- package/dist/InputGroup.context-BHj-IvcT.cjs +1 -0
- package/dist/InputGroup.context-Dd4e6fGT.js +28 -0
- package/dist/{InterpolationChart-CttBiNWU.js → InterpolationChart-BX8-UOeZ.js} +3 -3
- package/dist/{InterpolationChart-CYWJFUcs.cjs → InterpolationChart-DaqKUIWi.cjs} +1 -1
- package/dist/{LineChart-DNDSJQrB.cjs → LineChart-CGXpi9l8.cjs} +1 -1
- package/dist/{LineChart-J8gCM2Ba.js → LineChart-CplGrv8-.js} +4 -4
- package/dist/Menu-7EgnchVu.js +189 -0
- package/dist/Menu-Bs2Co1sl.cjs +1 -0
- package/dist/{MenuBarItem-BLdVIz0j.js → MenuBarItem-CQsy3y2I.js} +1 -1
- package/dist/{MenuBarItem-B8H9KfFo.cjs → MenuBarItem-Dd9hNBra.cjs} +1 -1
- package/dist/MenuItem-DFfE_k0L.cjs +1 -0
- package/dist/{MenuItem-BerQIsRQ.js → MenuItem-DMYDHaa0.js} +44 -28
- package/dist/Modal-BSGKOUi_.js +223 -0
- package/dist/Modal-D0hGHXic.cjs +1 -0
- package/dist/NotificationCenter-_CK8Eejg.js +587 -0
- package/dist/NotificationCenter-xg0ZCegj.cjs +1 -0
- package/dist/NumberInput-B-TvTlXI.js +383 -0
- package/dist/NumberInput-DaZI9hc3.cjs +1 -0
- package/dist/OverflowMenu-DFOJSaS7.cjs +1 -0
- package/dist/OverflowMenu-OCAeE3W0.js +126 -0
- package/dist/{PageHeader-CFMhwRcw.js → PageHeader-1wou3Him.js} +2 -2
- package/dist/{PageHeader-BVcTzPcW.cjs → PageHeader-BfUlrscM.cjs} +1 -1
- package/dist/{Pagination-zTp1lrSP.js → Pagination-CUat0BVv.js} +26 -26
- package/dist/{Pagination-VmE04nzc.cjs → Pagination-DypRMTsC.cjs} +1 -1
- package/dist/{Panel-7qPoq2lb.cjs → Panel-NC6_ZogV.cjs} +1 -1
- package/dist/{Panel-D5OHjaTP.js → Panel-zyzu638n.js} +1 -1
- package/dist/{PieChart-Ct8oicOS.cjs → PieChart-DQhs44eH.cjs} +1 -1
- package/dist/{PieChart-CAB3b8LE.js → PieChart-D_02nX0-.js} +3 -3
- package/dist/{PrimaryActionScope-B7VLsHzT.cjs → PrimaryActionScope-Dp2gvqwk.cjs} +1 -1
- package/dist/{PrimaryActionScope-CRdjZE0V.js → PrimaryActionScope-sogYOZXZ.js} +1 -1
- package/dist/{ProgressBar-DK-j6Bzv.js → ProgressBar-Bp-pe6sU.js} +2 -2
- package/dist/{ProgressBar-CfJJf7Sc.cjs → ProgressBar-z912Ppfm.cjs} +1 -1
- package/dist/{Radio-CWWt_o_F.js → Radio-DcMkavI8.js} +2 -2
- package/dist/{Radio-D0YjKuB2.cjs → Radio-DuvSK9tl.cjs} +1 -1
- package/dist/Search-BnGuTcHp.js +130 -0
- package/dist/Search-CfH1Q9GB.cjs +1 -0
- package/dist/Select-BxPZtw_Q.js +604 -0
- package/dist/Select-uwMyqZ2S.cjs +1 -0
- package/dist/Shell-B2y5hn9K.cjs +1 -0
- package/dist/Shell-Bh6s0T89.js +536 -0
- package/dist/ShellPanel-BDE6Y773.cjs +1 -0
- package/dist/ShellPanel-CB71IKMY.js +89 -0
- package/dist/{SidebarCollapseToggle-C6aLQTYv.cjs → SidebarCollapseToggle-CqVURaqs.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-D5yQ-8Vu.js → SidebarCollapseToggle-Dm4QMGpc.js} +2 -2
- package/dist/{SidebarHeaderToggle-Bdh1Z9aF.cjs → SidebarHeaderToggle-KW1yBlpF.cjs} +1 -1
- package/dist/{SidebarHeaderToggle-C-QIOLnU.js → SidebarHeaderToggle-daU1HfJH.js} +3 -3
- package/dist/Skeleton-CMuZJ1dR.cjs +1 -0
- package/dist/{Skeleton-C1e02dcW.js → Skeleton-Hmb5a2G_.js} +48 -31
- package/dist/{Slider-BAXKJCNG.js → Slider-BP-oEeJs.js} +4 -4
- package/dist/{Slider-BaM5cclm.cjs → Slider-D3YgGPcY.cjs} +1 -1
- package/dist/{Spinner-PT95bjWq.cjs → Spinner-BTN06wsE.cjs} +1 -1
- package/dist/{Spinner-CbBPddUx.js → Spinner-C3MeCm2k.js} +1 -1
- package/dist/{Stat-C9XaqyaG.cjs → Stat-BoQUn69z.cjs} +1 -1
- package/dist/{Stat-DJJln4rH.js → Stat-Bz0NCLTm.js} +2 -2
- package/dist/{Stepper-DV0q0Dfv.cjs → Stepper-BLyPFPge.cjs} +1 -1
- package/dist/{Stepper-B4xqkWXg.js → Stepper-BXPgrQE8.js} +1 -1
- package/dist/{StepperStep-iGyGKnQL.cjs → StepperStep-DGeyZQXY.cjs} +1 -1
- package/dist/{StepperStep-BYhlgeb1.js → StepperStep-DLr_ctr4.js} +1 -1
- package/dist/SuggestionList-DjtF5POh.cjs +1 -0
- package/dist/SuggestionList-SYGj7Sjv.js +225 -0
- package/dist/{Switch-D3j7PPhY.cjs → Switch-CQj6AsQh.cjs} +1 -1
- package/dist/{Switch-CbYMiEbQ.js → Switch-CqLfdT_m.js} +2 -2
- package/dist/{TableOfContents-CM0HKSde.js → TableOfContents-BIzH0Twf.js} +24 -34
- package/dist/{TableOfContents-By2Non4K.cjs → TableOfContents-Ct-Kwm8X.cjs} +1 -1
- package/dist/{Tabs--lz44FBk.js → Tabs-B_bsdxWy.js} +1 -1
- package/dist/{Tabs-DKikiz0_.cjs → Tabs-CTMUPND5.cjs} +1 -1
- package/dist/TextInput-BVTKUEey.cjs +2 -0
- package/dist/TextInput-DqaVhKud.js +438 -0
- package/dist/Toast-BaMGYx8-.js +118 -0
- package/dist/Toast-BvZywdtO.cjs +1 -0
- package/dist/{Toaster-CJMQM8JU.cjs → Toaster-CYSWYmUm.cjs} +1 -1
- package/dist/{Toaster-DxBW9XQ0.js → Toaster-DtUkjQM_.js} +1 -1
- package/dist/Toolbar-BmJeXz4C.cjs +1 -0
- package/dist/Toolbar-tOeTdj8a.js +48 -0
- package/dist/Toolbar.context-Bli1SqM3.js +4 -0
- package/dist/Toolbar.context-D3Uj5o0_.cjs +1 -0
- package/dist/{Tree-DP2NPXOL.cjs → Tree-CeXSIcpy.cjs} +1 -1
- package/dist/{Tree-CkcFwDr7.js → Tree-RRVk_0QJ.js} +1 -1
- package/dist/{TreeNode-DCnlEEpj.js → TreeNode-D9fc2RE_.js} +1 -1
- package/dist/{TreeNode-CtklZefA.cjs → TreeNode-z6APXuvr.cjs} +1 -1
- package/dist/UserMenu-BGIIKwi6.cjs +1 -0
- package/dist/{UserMenu-CWRMaPGO.js → UserMenu-GGR8K7gP.js} +109 -102
- package/dist/Video-BxNkDWqi.cjs +1 -0
- package/dist/Video-DD01piHm.js +106 -0
- package/dist/Walkthrough-C_5h67cq.cjs +1 -0
- package/dist/Walkthrough-DpxYuLMU.js +333 -0
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +272 -254
- package/dist/component-styles.json +88 -2
- package/dist/components/AccordionItem.cjs +1 -1
- package/dist/components/AccordionItem.mjs +1 -1
- package/dist/components/AccordionItem.vue.d.ts.map +1 -1
- package/dist/components/ActionGroup.cjs +1 -1
- package/dist/components/ActionGroup.d.ts +41 -9
- package/dist/components/ActionGroup.mjs +1 -1
- package/dist/components/ActionGroup.vue.d.ts +2 -2
- package/dist/components/ActionGroup.vue.d.ts.map +1 -1
- package/dist/components/AiLabel.cjs +1 -1
- package/dist/components/AiLabel.mjs +1 -1
- package/dist/components/AiProvider.cjs +1 -1
- package/dist/components/AiProvider.mjs +1 -1
- package/dist/components/AiUsage.cjs +1 -1
- package/dist/components/AiUsage.mjs +1 -1
- package/dist/components/BackToTop.cjs +1 -1
- package/dist/components/BackToTop.mjs +1 -1
- package/dist/components/BackToTop.vue.d.ts.map +1 -1
- package/dist/components/Badge.cjs +1 -1
- package/dist/components/Badge.mjs +1 -1
- package/dist/components/Banner.cjs +1 -1
- package/dist/components/Banner.mjs +1 -1
- package/dist/components/Banner.vue.d.ts.map +1 -1
- package/dist/components/BatchActions.cjs +1 -0
- package/dist/components/BatchActions.d.ts +43 -0
- package/dist/components/BatchActions.mjs +2 -0
- package/dist/components/BatchActions.vue.d.ts +30 -0
- package/dist/components/BatchActions.vue.d.ts.map +1 -0
- package/dist/components/Blueprint.cjs +1 -1
- package/dist/components/Blueprint.mjs +1 -1
- package/dist/components/Blueprint.vue.d.ts +2 -2
- package/dist/components/BlueprintBackground.cjs +1 -1
- package/dist/components/BlueprintBackground.mjs +1 -1
- package/dist/components/BlueprintCard.cjs +1 -1
- package/dist/components/BlueprintCard.mjs +1 -1
- package/dist/components/BlueprintCard.vue.d.ts.map +1 -1
- package/dist/components/BlueprintControls.cjs +1 -1
- package/dist/components/BlueprintControls.mjs +1 -1
- package/dist/components/BlueprintControls.vue.d.ts.map +1 -1
- package/dist/components/BlueprintMinimap.cjs +1 -1
- package/dist/components/BlueprintMinimap.mjs +1 -1
- package/dist/components/Board.cjs +1 -1
- package/dist/components/Board.mjs +1 -1
- package/dist/components/Board.vue.d.ts +2 -2
- package/dist/components/Board.vue.d.ts.map +1 -1
- package/dist/components/BottomPanel.cjs +1 -1
- package/dist/components/BottomPanel.mjs +1 -1
- package/dist/components/BottomPanel.vue.d.ts +2 -2
- package/dist/components/BottomPanel.vue.d.ts.map +1 -1
- package/dist/components/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs.mjs +1 -1
- package/dist/components/Breadcrumbs.vue.d.ts.map +1 -1
- package/dist/components/Briefing.cjs +1 -1
- package/dist/components/Briefing.mjs +1 -1
- package/dist/components/BriefingDestination.cjs +1 -1
- package/dist/components/BriefingDestination.mjs +1 -1
- package/dist/components/Button.cjs +1 -1
- package/dist/components/Button.d.ts +38 -1
- package/dist/components/Button.mjs +1 -1
- package/dist/components/Button.vue.d.ts +4 -0
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/ButtonSet.cjs +1 -0
- package/dist/components/ButtonSet.d.ts +43 -0
- package/dist/components/ButtonSet.mjs +2 -0
- package/dist/components/ButtonSet.vue.d.ts +11 -0
- package/dist/components/ButtonSet.vue.d.ts.map +1 -0
- package/dist/components/Calendar.cjs +1 -1
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Calendar.vue.d.ts +2 -2
- package/dist/components/Calendar.vue.d.ts.map +1 -1
- package/dist/components/Card.cjs +1 -1
- package/dist/components/Card.mjs +1 -1
- package/dist/components/Card.vue.d.ts +11 -10
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/CardGrid.cjs +1 -1
- package/dist/components/CardGrid.d.ts +15 -0
- package/dist/components/CardGrid.mjs +1 -1
- package/dist/components/Charts/BarChart.cjs +1 -1
- package/dist/components/Charts/BarChart.mjs +1 -1
- package/dist/components/Charts/GanttChart.cjs +1 -1
- package/dist/components/Charts/GanttChart.mjs +1 -1
- package/dist/components/Charts/InterpolationChart.cjs +1 -1
- package/dist/components/Charts/InterpolationChart.mjs +1 -1
- package/dist/components/Charts/LineChart.cjs +1 -1
- package/dist/components/Charts/LineChart.mjs +1 -1
- package/dist/components/Charts/PieChart.cjs +1 -1
- package/dist/components/Charts/PieChart.mjs +1 -1
- package/dist/components/Charts/Sparkline.cjs +1 -1
- package/dist/components/Charts/Sparkline.mjs +1 -1
- package/dist/components/Checkbox.cjs +1 -1
- package/dist/components/Checkbox.mjs +1 -1
- package/dist/components/CheckboxGroup.cjs +1 -1
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/ChipGroup.cjs +1 -0
- package/dist/components/ChipGroup.d.ts +29 -0
- package/dist/components/ChipGroup.mjs +2 -0
- package/dist/components/ChipGroup.vue.d.ts +14 -0
- package/dist/components/ChipGroup.vue.d.ts.map +1 -0
- package/dist/components/CloseButton.cjs +1 -0
- package/dist/components/CloseButton.d.ts +26 -0
- package/dist/components/CloseButton.mjs +2 -0
- package/dist/components/CloseButton.vue.d.ts +19 -0
- package/dist/components/CloseButton.vue.d.ts.map +1 -0
- package/dist/components/ColorStrip.cjs +1 -1
- package/dist/components/ColorStrip.mjs +1 -1
- package/dist/components/CommandPalette.cjs +1 -1
- package/dist/components/CommandPalette.mjs +1 -1
- package/dist/components/CommandPalette.vue.d.ts.map +1 -1
- package/dist/components/Confirm.cjs +1 -1
- package/dist/components/Confirm.d.ts +7 -5
- package/dist/components/Confirm.mjs +1 -1
- package/dist/components/Confirm.vue.d.ts +1 -1
- package/dist/components/Confirm.vue.d.ts.map +1 -1
- package/dist/components/ContainedList.cjs +1 -1
- package/dist/components/ContainedList.d.ts +7 -0
- package/dist/components/ContainedList.mjs +1 -1
- package/dist/components/ContainedListItem.cjs +1 -1
- package/dist/components/ContainedListItem.mjs +1 -1
- package/dist/components/ContainedListItem.vue.d.ts +1 -0
- package/dist/components/ContainedListItem.vue.d.ts.map +1 -1
- package/dist/components/ContentSwitcher.cjs +1 -0
- package/dist/components/ContentSwitcher.d.ts +36 -0
- package/dist/components/ContentSwitcher.mjs +2 -0
- package/dist/components/ContentSwitcher.vue.d.ts +13 -0
- package/dist/components/ContentSwitcher.vue.d.ts.map +1 -0
- package/dist/components/CopyButton.cjs +1 -1
- package/dist/components/CopyButton.mjs +1 -1
- package/dist/components/CopyButton.vue.d.ts.map +1 -1
- package/dist/components/DataTable.cjs +1 -1
- package/dist/components/DataTable.d.ts +12 -1
- package/dist/components/DataTable.mjs +1 -1
- package/dist/components/DataTable.vue.d.ts +1 -0
- package/dist/components/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DatePicker.cjs +1 -1
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/DatePicker.vue.d.ts +2 -2
- package/dist/components/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DefinitionList.cjs +1 -1
- package/dist/components/DefinitionList.mjs +1 -1
- package/dist/components/DefinitionListItem.cjs +1 -1
- package/dist/components/DefinitionListItem.mjs +1 -1
- package/dist/components/DragHandle.cjs +1 -1
- package/dist/components/DragHandle.mjs +1 -1
- package/dist/components/EmptyState.cjs +1 -1
- package/dist/components/EmptyState.mjs +1 -1
- package/dist/components/Field.cjs +1 -1
- package/dist/components/Field.mjs +1 -1
- package/dist/components/FileUploader.cjs +1 -1
- package/dist/components/FileUploader.mjs +1 -1
- package/dist/components/FileUploader.vue.d.ts.map +1 -1
- package/dist/components/Flag.cjs +1 -1
- package/dist/components/Flag.mjs +1 -1
- package/dist/components/FloatingToolbar.cjs +1 -1
- package/dist/components/FloatingToolbar.mjs +1 -1
- package/dist/components/FloatingToolbar.vue.d.ts +1 -3
- package/dist/components/FloatingToolbar.vue.d.ts.map +1 -1
- package/dist/components/Form.cjs +1 -1
- package/dist/components/Form.mjs +1 -1
- package/dist/components/Grid.cjs +1 -1
- package/dist/components/Grid.mjs +1 -1
- package/dist/components/Grid.vue.d.ts +1 -1
- package/dist/components/ImageCropper.cjs +1 -1
- package/dist/components/ImageCropper.mjs +1 -1
- package/dist/components/ImagePicker.cjs +1 -1
- package/dist/components/ImagePicker.mjs +1 -1
- package/dist/components/ImagePicker.vue.d.ts.map +1 -1
- package/dist/components/InfoHint.cjs +1 -1
- package/dist/components/InfoHint.mjs +1 -1
- package/dist/components/InfoHint.vue.d.ts.map +1 -1
- package/dist/components/InlineEdit.cjs +1 -1
- package/dist/components/InlineEdit.mjs +1 -1
- package/dist/components/InlineEdit.vue.d.ts.map +1 -1
- package/dist/components/InlineLoading.cjs +1 -1
- package/dist/components/InlineLoading.mjs +1 -1
- package/dist/components/InputGroup.cjs +1 -0
- package/dist/components/InputGroup.context.d.ts +54 -0
- package/dist/components/InputGroup.context.d.ts.map +1 -0
- package/dist/components/InputGroup.d.ts +37 -0
- package/dist/components/InputGroup.mjs +2 -0
- package/dist/components/InputGroup.vue.d.ts +27 -0
- package/dist/components/InputGroup.vue.d.ts.map +1 -0
- package/dist/components/JsonTree.cjs +1 -1
- package/dist/components/JsonTree.mjs +1 -1
- package/dist/components/Label.cjs +1 -1
- package/dist/components/Label.mjs +1 -1
- package/dist/components/Layer.cjs +1 -1
- package/dist/components/Layer.mjs +1 -1
- package/dist/components/Menu.cjs +1 -1
- package/dist/components/Menu.d.ts +21 -0
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/Menu.vue.d.ts +2 -0
- package/dist/components/Menu.vue.d.ts.map +1 -1
- package/dist/components/MenuBar.cjs +1 -1
- package/dist/components/MenuBar.mjs +1 -1
- package/dist/components/MenuBarItem.cjs +1 -1
- package/dist/components/MenuBarItem.mjs +1 -1
- package/dist/components/MenuDivider.cjs +1 -1
- package/dist/components/MenuDivider.mjs +1 -1
- package/dist/components/MenuItem.cjs +1 -1
- package/dist/components/MenuItem.mjs +1 -1
- package/dist/components/MenuItem.vue.d.ts +1 -0
- package/dist/components/MenuItem.vue.d.ts.map +1 -1
- package/dist/components/Message.cjs +1 -1
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Modal.cjs +1 -1
- package/dist/components/Modal.d.ts +11 -7
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Modal.vue.d.ts +3 -3
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.d.ts +2 -1
- package/dist/components/NotificationCenter.mjs +1 -1
- package/dist/components/NotificationCenter.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenterItem.cjs +1 -1
- package/dist/components/NotificationCenterItem.mjs +1 -1
- package/dist/components/NubiscoMark.cjs +1 -1
- package/dist/components/NubiscoMark.mjs +1 -1
- package/dist/components/NubiscoPlatformMark.cjs +1 -1
- package/dist/components/NubiscoPlatformMark.mjs +1 -1
- package/dist/components/NumberInput.cjs +1 -1
- package/dist/components/NumberInput.mjs +1 -1
- package/dist/components/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/OverflowMenu.cjs +1 -0
- package/dist/components/OverflowMenu.d.ts +41 -0
- package/dist/components/OverflowMenu.mjs +2 -0
- package/dist/components/OverflowMenu.vue.d.ts +36 -0
- package/dist/components/OverflowMenu.vue.d.ts.map +1 -0
- package/dist/components/PageHeader.cjs +1 -1
- package/dist/components/PageHeader.mjs +1 -1
- package/dist/components/PageLayout.cjs +1 -1
- package/dist/components/PageLayout.mjs +1 -1
- package/dist/components/Pagination.cjs +1 -1
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/Panel.cjs +1 -1
- package/dist/components/Panel.mjs +1 -1
- package/dist/components/ProgressBar.cjs +1 -1
- package/dist/components/ProgressBar.mjs +1 -1
- package/dist/components/Radio.cjs +1 -1
- package/dist/components/Radio.mjs +1 -1
- package/dist/components/ReorderList.cjs +1 -1
- package/dist/components/ReorderList.mjs +1 -1
- package/dist/components/Search.cjs +1 -0
- package/dist/components/Search.d.ts +36 -0
- package/dist/components/Search.mjs +2 -0
- package/dist/components/Search.vue.d.ts +32 -0
- package/dist/components/Search.vue.d.ts.map +1 -0
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.d.ts +4 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Select.vue.d.ts +6 -6
- package/dist/components/Select.vue.d.ts.map +1 -1
- package/dist/components/Shell.cjs +1 -1
- package/dist/components/Shell.d.ts +1 -0
- package/dist/components/Shell.mjs +1 -1
- package/dist/components/Shell.vue.d.ts +2 -2
- package/dist/components/Shell.vue.d.ts.map +1 -1
- package/dist/components/ShellPanel.cjs +1 -1
- package/dist/components/ShellPanel.mjs +1 -1
- package/dist/components/ShellPanel.vue.d.ts +2 -2
- package/dist/components/ShellPanel.vue.d.ts.map +1 -1
- package/dist/components/SidebarBrand.cjs +1 -1
- package/dist/components/SidebarBrand.mjs +1 -1
- package/dist/components/SidebarCollapseToggle.cjs +1 -1
- package/dist/components/SidebarCollapseToggle.mjs +1 -1
- package/dist/components/SidebarHeaderToggle.cjs +1 -1
- package/dist/components/SidebarHeaderToggle.mjs +1 -1
- package/dist/components/SidebarHeaderToggle.vue.d.ts.map +1 -1
- package/dist/components/SidebarLink.cjs +1 -1
- package/dist/components/SidebarLink.mjs +1 -1
- package/dist/components/SidebarMenu.cjs +1 -1
- package/dist/components/SidebarMenu.mjs +1 -1
- package/dist/components/SidebarMenuGroup.cjs +1 -1
- package/dist/components/SidebarMenuGroup.mjs +1 -1
- package/dist/components/SidebarMenuItem.cjs +1 -1
- package/dist/components/SidebarMenuItem.mjs +1 -1
- package/dist/components/SidebarStatus.cjs +1 -1
- package/dist/components/SidebarStatus.mjs +1 -1
- package/dist/components/Skeleton.cjs +1 -1
- package/dist/components/Skeleton.d.ts +20 -1
- package/dist/components/Skeleton.mjs +1 -1
- package/dist/components/Skeleton.vue.d.ts +3 -0
- package/dist/components/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/Slider.cjs +1 -1
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Spinner.cjs +1 -1
- package/dist/components/Spinner.mjs +1 -1
- package/dist/components/Stat.cjs +1 -1
- package/dist/components/Stat.mjs +1 -1
- package/dist/components/Stepper.cjs +1 -1
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/StepperStep.cjs +1 -1
- package/dist/components/StepperStep.mjs +1 -1
- package/dist/components/StructuredList.cjs +1 -1
- package/dist/components/StructuredList.mjs +1 -1
- package/dist/components/StructuredList.vue.d.ts +2 -2
- package/dist/components/Submenu.cjs +1 -1
- package/dist/components/Submenu.mjs +1 -1
- package/dist/components/SuggestionList.cjs +1 -1
- package/dist/components/SuggestionList.d.ts +8 -0
- package/dist/components/SuggestionList.mjs +1 -1
- package/dist/components/SuggestionList.vue.d.ts +3 -0
- package/dist/components/SuggestionList.vue.d.ts.map +1 -1
- package/dist/components/Switch.cjs +1 -1
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/TableOfContents.cjs +1 -1
- package/dist/components/TableOfContents.mjs +1 -1
- package/dist/components/TableOfContents.vue.d.ts.map +1 -1
- package/dist/components/Tabs.cjs +1 -1
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/TextInput.cjs +1 -1
- package/dist/components/TextInput.mjs +1 -1
- package/dist/components/TextInput.vue.d.ts +20 -4
- package/dist/components/TextInput.vue.d.ts.map +1 -1
- package/dist/components/Toast.cjs +1 -1
- package/dist/components/Toast.mjs +1 -1
- package/dist/components/Toast.vue.d.ts +4 -1
- package/dist/components/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toaster.cjs +1 -1
- package/dist/components/Toaster.mjs +1 -1
- package/dist/components/Toolbar.cjs +1 -0
- package/dist/components/Toolbar.context.d.ts +22 -0
- package/dist/components/Toolbar.context.d.ts.map +1 -0
- package/dist/components/Toolbar.d.ts +26 -0
- package/dist/components/Toolbar.mjs +2 -0
- package/dist/components/Toolbar.vue.d.ts +24 -0
- package/dist/components/Toolbar.vue.d.ts.map +1 -0
- package/dist/components/Tree.cjs +1 -1
- package/dist/components/Tree.mjs +1 -1
- package/dist/components/TreeNode.cjs +1 -1
- package/dist/components/TreeNode.mjs +1 -1
- package/dist/components/TreeNode.vue.d.ts +1 -1
- package/dist/components/UserMenu.cjs +1 -1
- package/dist/components/UserMenu.mjs +1 -1
- package/dist/components/UserMenu.vue.d.ts.map +1 -1
- package/dist/components/Video.cjs +1 -1
- package/dist/components/Video.mjs +1 -1
- package/dist/components/Video.vue.d.ts.map +1 -1
- package/dist/components/Walkthrough.cjs +1 -1
- package/dist/components/Walkthrough.mjs +1 -1
- package/dist/components/Walkthrough.vue.d.ts.map +1 -1
- package/dist/components/Wireframe.cjs +1 -1
- package/dist/components/Wireframe.mjs +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/manifest.d.ts +9 -0
- package/dist/components/manifest.d.ts.map +1 -1
- package/dist/components/manifest.js +9 -0
- package/dist/composables/useBlueprint.composable.cjs +1 -1
- package/dist/composables/useBlueprint.composable.mjs +1 -1
- package/dist/composables/useConfirm.composable.cjs +1 -1
- package/dist/composables/useConfirm.composable.mjs +3 -3
- package/dist/composables/useInlineLoading.composable.cjs +1 -1
- package/dist/composables/useInlineLoading.composable.mjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.cjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.mjs +1 -1
- package/dist/composables/useNbStrings.composable.cjs +1 -1
- package/dist/composables/useNbStrings.composable.d.ts +77 -0
- package/dist/composables/useNbStrings.composable.d.ts.map +1 -1
- package/dist/composables/useNbStrings.composable.mjs +68 -0
- package/dist/composables/useRovingFocus.composable.cjs +1 -0
- package/dist/composables/useRovingFocus.composable.d.ts +22 -0
- package/dist/composables/useRovingFocus.composable.d.ts.map +1 -0
- package/dist/composables/useRovingFocus.composable.mjs +56 -0
- package/dist/directives/ToolTip.directive.d.ts +56 -0
- package/dist/directives/ToolTip.directive.d.ts.map +1 -1
- package/dist/global.d.ts +18 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +152 -143
- package/dist/main-Bo1B-xzL.cjs +4 -0
- package/dist/main-nO1LQzsc.js +744 -0
- package/dist/main.d.ts +21 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/styles/AccordionItem.css +1 -1
- package/dist/styles/ActionGroup.css +1 -1
- package/dist/styles/Banner.css +1 -1
- package/dist/styles/BatchActions.css +1 -0
- package/dist/styles/BlueprintCard.css +1 -1
- package/dist/styles/BlueprintControls.css +1 -1
- package/dist/styles/Board.css +1 -1
- package/dist/styles/BottomPanel.css +1 -1
- package/dist/styles/Breadcrumbs.css +1 -1
- package/dist/styles/Button.css +1 -1
- package/dist/styles/ButtonSet.css +1 -0
- package/dist/styles/Calendar.css +1 -1
- package/dist/styles/Card.css +1 -1
- package/dist/styles/ChipGroup.css +1 -0
- package/dist/styles/CommandPalette.css +1 -1
- package/dist/styles/Confirm.css +1 -1
- package/dist/styles/ContainedListItem.css +1 -1
- package/dist/styles/ContentSwitcher.css +1 -0
- package/dist/styles/DataTable.css +1 -1
- package/dist/styles/DatePicker.css +1 -1
- package/dist/styles/FileUploader.css +1 -1
- package/dist/styles/FloatingToolbar.css +1 -1
- package/dist/styles/ImagePicker.css +1 -1
- package/dist/styles/InfoHint.css +1 -1
- package/dist/styles/InlineEdit.css +1 -1
- package/dist/styles/InputGroup.css +1 -0
- package/dist/styles/MenuItem.css +1 -1
- package/dist/styles/Modal.css +1 -1
- package/dist/styles/NotificationCenter.css +1 -1
- package/dist/styles/NumberInput.css +1 -1
- package/dist/styles/OverflowMenu.css +1 -0
- package/dist/styles/Pagination.css +1 -1
- package/dist/styles/Search.css +1 -0
- package/dist/styles/Select.css +1 -1
- package/dist/styles/Shell.css +1 -1
- package/dist/styles/ShellPanel.css +1 -1
- package/dist/styles/SidebarHeaderToggle.css +1 -1
- package/dist/styles/Skeleton.css +1 -1
- package/dist/styles/SuggestionList.css +1 -1
- package/dist/styles/TableOfContents.css +1 -1
- package/dist/styles/TextInput.css +1 -1
- package/dist/styles/Toast.css +1 -1
- package/dist/styles/Toolbar.css +1 -0
- package/dist/styles/UserMenu.css +1 -1
- package/dist/styles/Walkthrough.css +1 -1
- package/dist/ui.css +45 -37
- package/dist/utils/actionFit.helper.cjs +1 -0
- package/dist/utils/actionFit.helper.d.ts +20 -0
- package/dist/utils/actionFit.helper.d.ts.map +1 -0
- package/dist/utils/actionFit.helper.mjs +13 -0
- package/package.json +2 -2
- package/src/styles/_theme.scss +11 -4
- package/src/styles/logic/_field.scss +22 -0
- package/src/styles/logic/_focus.scss +20 -0
- package/src/styles/logic/index.scss +1 -0
- package/src/utils/actionFit.helper.ts +40 -0
- package/dist/AccordionItem-DFwj28eL.js +0 -118
- package/dist/AccordionItem-DhZD2kJL.cjs +0 -1
- package/dist/ActionGroup-CJoBGUvw.js +0 -171
- package/dist/ActionGroup-CU9YQboQ.cjs +0 -1
- package/dist/BackToTop-C5gFfuu7.cjs +0 -1
- package/dist/BackToTop-DZhl6N_Q.js +0 -56
- package/dist/Banner-5uX-ujbu.js +0 -93
- package/dist/Banner-CiIQKSxv.cjs +0 -1
- package/dist/BlueprintCard-Cda5rPZu.cjs +0 -1
- package/dist/BlueprintControls-DnUoI9qp.cjs +0 -1
- package/dist/Board-BNB96CXm.cjs +0 -1
- package/dist/BottomPanel-CYxavAS0.cjs +0 -1
- package/dist/BottomPanel-vFcIk2nf.js +0 -115
- package/dist/Breadcrumbs-B-pjVWeD.js +0 -184
- package/dist/Breadcrumbs-CqDYLfIQ.cjs +0 -1
- package/dist/Button-C0N1cyOQ.cjs +0 -1
- package/dist/Button-CuwzIVWv.js +0 -132
- package/dist/Calendar-Bbk7bPW1.cjs +0 -1
- package/dist/Calendar-EiqHtUG2.js +0 -155
- package/dist/Card-B5FTcFEQ.cjs +0 -1
- package/dist/Card-DUTWbKv7.js +0 -143
- package/dist/CommandPalette-C8-2XCrf.cjs +0 -1
- package/dist/Confirm-BA-t4jPF.cjs +0 -1
- package/dist/Confirm-MmMvMttu.js +0 -313
- package/dist/ContainedListItem-Dj7TcGpO.cjs +0 -1
- package/dist/CopyButton-Bcc2BDJ8.js +0 -65
- package/dist/CopyButton-CwHAVKQ6.cjs +0 -1
- package/dist/DataTable-D4KrQH5E.js +0 -485
- package/dist/DataTable-DVJnvBQM.cjs +0 -1
- package/dist/DatePicker-BmuVSyZ3.cjs +0 -1
- package/dist/DatePicker-CagtB0Sd.js +0 -743
- package/dist/FileUploader-B9j-HmX3.js +0 -193
- package/dist/FileUploader-BolhAWrI.cjs +0 -1
- package/dist/FloatingToolbar-CYOuKLd7.js +0 -140
- package/dist/FloatingToolbar-DxUUozlf.cjs +0 -1
- package/dist/ImagePicker-CZEFzYC8.js +0 -171
- package/dist/ImagePicker-CebI8MDy.cjs +0 -1
- package/dist/InfoHint-DVrm41q9.js +0 -177
- package/dist/InfoHint-WYitTbYz.cjs +0 -1
- package/dist/InlineEdit-DViLVwtn.js +0 -116
- package/dist/InlineEdit-DfkmTudh.cjs +0 -1
- package/dist/Menu-CLDGxi-1.cjs +0 -1
- package/dist/Menu-C_UsGyKX.js +0 -177
- package/dist/MenuItem-CvpxnM4W.cjs +0 -1
- package/dist/Modal-1i_nDqvM.cjs +0 -1
- package/dist/Modal-CxIl02xU.js +0 -229
- package/dist/NotificationCenter-CXn7sGFw.cjs +0 -1
- package/dist/NotificationCenter-Cu_vs-jh.js +0 -584
- package/dist/NumberInput-CMxlZ54a.cjs +0 -1
- package/dist/NumberInput-Dy0leAIF.js +0 -324
- package/dist/Select-Bz4tf2H_.cjs +0 -1
- package/dist/Select-hL8I-aNK.js +0 -603
- package/dist/Shell-BxGBrQsM.js +0 -536
- package/dist/Shell-BzXh23BU.cjs +0 -1
- package/dist/ShellPanel-DzkkJYVd.js +0 -126
- package/dist/ShellPanel-XYKkAc5n.cjs +0 -1
- package/dist/Skeleton-CqZ9O0X0.cjs +0 -1
- package/dist/SuggestionList-BJjbVvt2.cjs +0 -1
- package/dist/SuggestionList-Bdx7CK__.js +0 -189
- package/dist/TextInput-BXyJQfGx.js +0 -348
- package/dist/TextInput-DKp819VS.cjs +0 -2
- package/dist/Toast-BKrvlON6.cjs +0 -1
- package/dist/Toast-fRHhhjZV.js +0 -115
- package/dist/UserMenu-GJHs1fKI.cjs +0 -1
- package/dist/Video-D1WOYCYH.cjs +0 -1
- package/dist/Video-DrDqaCXl.js +0 -104
- package/dist/Walkthrough-DXMDgB9t.cjs +0 -1
- package/dist/Walkthrough-D_vfYTWP.js +0 -327
- package/dist/main-BTximdIU.js +0 -1255
- package/dist/main-DkNxc78b.cjs +0 -4
- package/dist/motion-BjVtMTXD.cjs +0 -1
- package/dist/motion-C0h9XZQZ.js +0 -18
- /package/dist/{Badge-CfICqXrd.cjs → Badge-BYfdJcdD.cjs} +0 -0
- /package/dist/{Badge-BFsoJcCK.js → Badge-scjsdx_V.js} +0 -0
- /package/dist/{Blueprint.context-B3d5-4jD.cjs → Blueprint.context-BX56xsrT.cjs} +0 -0
- /package/dist/{Blueprint.context-B4bRLj7m.js → Blueprint.context-Bz6Jy1Ou.js} +0 -0
- /package/dist/{BlueprintBackground-5OOF-VpK.js → BlueprintBackground-DPjZeMwY.js} +0 -0
- /package/dist/{BlueprintBackground-D_JokLTK.cjs → BlueprintBackground-yHRGclEz.cjs} +0 -0
- /package/dist/{BlueprintMinimap-CACuVJqI.cjs → BlueprintMinimap-qskDNYyr.cjs} +0 -0
- /package/dist/{BlueprintMinimap-Ehrltju2.js → BlueprintMinimap-xnsyS1M8.js} +0 -0
- /package/dist/{Card.link-eRkbFiF1.cjs → Card.link-Bw2B_lPO.cjs} +0 -0
- /package/dist/{Card.link-CB8_CTbn.js → Card.link-CdvubtHJ.js} +0 -0
- /package/dist/{CardGrid-DzjiR2wg.cjs → CardGrid-DPaITpcU.cjs} +0 -0
- /package/dist/{CardGrid-BOhFOzTs.js → CardGrid-j0TFmVrQ.js} +0 -0
- /package/dist/{ChartLegend-C81jju4k.cjs → ChartLegend-COJeG-2B.cjs} +0 -0
- /package/dist/{ChartLegend-fsJqOyGj.js → ChartLegend-LDNukufA.js} +0 -0
- /package/dist/{CheckboxGroup.context-C8p21aqH.cjs → CheckboxGroup.context-ADwiY4gy.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-Cu0BA648.js → CheckboxGroup.context-C1QB-Zsq.js} +0 -0
- /package/dist/{ContainedList-DV8kZgTS.cjs → ContainedList-CBWwEmoK.cjs} +0 -0
- /package/dist/{ContainedList-7uMU4e4Z.js → ContainedList-PUA2OJ08.js} +0 -0
- /package/dist/{DefinitionList-DIPobaPW.js → DefinitionList-BOVcW-V7.js} +0 -0
- /package/dist/{DefinitionList-BuRW4drr.cjs → DefinitionList-CndoLDLs.cjs} +0 -0
- /package/dist/{DefinitionListItem-CbVnrShi.js → DefinitionListItem-C3VrLhWY.js} +0 -0
- /package/dist/{DefinitionListItem-Bf9amK8a.cjs → DefinitionListItem-CLztc8mQ.cjs} +0 -0
- /package/dist/{DragHandle-snItY92k.cjs → DragHandle-Bz2N22Sm.cjs} +0 -0
- /package/dist/{DragHandle-dCNBfHJe.js → DragHandle-Cc7WrUj7.js} +0 -0
- /package/dist/{EmptyState-B8EM9ynK.cjs → EmptyState-Db0Zrrk2.cjs} +0 -0
- /package/dist/{EmptyState-D-fku2DD.js → EmptyState-DhlJV0C6.js} +0 -0
- /package/dist/{Field-3S8uGW95.cjs → Field-COMPegVv.cjs} +0 -0
- /package/dist/{Field-DK5iec3Z.js → Field-D12Dja-u.js} +0 -0
- /package/dist/{Flag-myXFwopO.js → Flag-DyDqHJy3.js} +0 -0
- /package/dist/{Flag-CNx_cE4Q.cjs → Flag-gM91kXTi.cjs} +0 -0
- /package/dist/{Grid-jlgLOwom.js → Grid-B7d8x0tA.js} +0 -0
- /package/dist/{Grid-C0muGlj3.cjs → Grid-BOtE_jXr.cjs} +0 -0
- /package/dist/{JsonTree-Bmj8WtzK.cjs → JsonTree-MjCO8_Xk.cjs} +0 -0
- /package/dist/{JsonTree-BWfMcWOV.js → JsonTree-VbXpLPoG.js} +0 -0
- /package/dist/{Label-CTOPIIbR.cjs → Label-CjxnZgNy.cjs} +0 -0
- /package/dist/{Label-BDMCrURR.js → Label-xwHw_UbN.js} +0 -0
- /package/dist/{Layer-BJeI6Q6N.js → Layer-Btb-b9Mk.js} +0 -0
- /package/dist/{Layer-D-MNrLiB.cjs → Layer-D0NqQYM0.cjs} +0 -0
- /package/dist/{MenuBar-aLDr7-eJ.cjs → MenuBar-BVgGbppN.cjs} +0 -0
- /package/dist/{MenuBar-DyJufs5b.js → MenuBar-M2eiYZG0.js} +0 -0
- /package/dist/{MenuDivider-aZIXvYsH.js → MenuDivider-B3tNv2aj.js} +0 -0
- /package/dist/{MenuDivider-D75yF8o8.cjs → MenuDivider-BSMtwoUU.cjs} +0 -0
- /package/dist/{Message-Bija1nMK.cjs → Message-BJO4MjiQ.cjs} +0 -0
- /package/dist/{Message-BONOwoVY.js → Message-DCeg8qsC.js} +0 -0
- /package/dist/{NotificationCenterItem-zdOMnxv1.cjs → NotificationCenterItem-D0agavaK.cjs} +0 -0
- /package/dist/{NotificationCenterItem-BbbBFYEu.js → NotificationCenterItem-O6SR_6KR.js} +0 -0
- /package/dist/{NubiscoMark-Cf7Ek83E.cjs → NubiscoMark-3StsXBoJ.cjs} +0 -0
- /package/dist/{NubiscoMark-BLT8ULAl.js → NubiscoMark-XJWPWIc0.js} +0 -0
- /package/dist/{NubiscoPlatformMark-Dca7vi6H.js → NubiscoPlatformMark-BgQLjI89.js} +0 -0
- /package/dist/{NubiscoPlatformMark-CXMSQDYh.cjs → NubiscoPlatformMark-D8WIp4On.cjs} +0 -0
- /package/dist/{PageLayout-DQKfOSQq.js → PageLayout-BMcT2mzU.js} +0 -0
- /package/dist/{PageLayout-Dw4JYS3k.cjs → PageLayout-DHi1w1PD.cjs} +0 -0
- /package/dist/{PrimaryAction.context-BkYkcMlm.js → PrimaryAction.context-DZUcR5ER.js} +0 -0
- /package/dist/{PrimaryAction.context-2v_jcQAo.cjs → PrimaryAction.context-DnzRVqGH.cjs} +0 -0
- /package/dist/{ReorderList-B1CYGR0e.js → ReorderList-DmjW30Mw.js} +0 -0
- /package/dist/{ReorderList-DBW8TBu6.cjs → ReorderList-qScXc3-v.cjs} +0 -0
- /package/dist/{SidebarBrand-FHBO4Dw3.js → SidebarBrand-CZf-kRyZ.js} +0 -0
- /package/dist/{SidebarBrand-CX-BgI4X.cjs → SidebarBrand-D2u7hX-v.cjs} +0 -0
- /package/dist/{SidebarLink-xtGCDABj.js → SidebarLink-BuRBmv_k.js} +0 -0
- /package/dist/{SidebarLink-DTGVapwa.cjs → SidebarLink-CSTNfb2F.cjs} +0 -0
- /package/dist/{SidebarMenu-CnsOBXeM.cjs → SidebarMenu-CAthEmyy.cjs} +0 -0
- /package/dist/{SidebarMenu-D24o7HS-.js → SidebarMenu-CgWUHllQ.js} +0 -0
- /package/dist/{SidebarMenuGroup-DJasr_cx.cjs → SidebarMenuGroup-B9JGPBcF.cjs} +0 -0
- /package/dist/{SidebarMenuGroup-Bjc2IeK5.js → SidebarMenuGroup-DdWg57Wv.js} +0 -0
- /package/dist/{SidebarMenuItem-UFeKPTvc.js → SidebarMenuItem-BvvoDIjK.js} +0 -0
- /package/dist/{SidebarMenuItem-DP4L8ljr.cjs → SidebarMenuItem-eFnj5QoE.cjs} +0 -0
- /package/dist/{SidebarStatus-D-CfUYFc.js → SidebarStatus-CnTnYL4x.js} +0 -0
- /package/dist/{SidebarStatus-YfLW9xzC.cjs → SidebarStatus-CvjuggXO.cjs} +0 -0
- /package/dist/{Sparkline-MAi1Fh2T.cjs → Sparkline-B7kUEfuW.cjs} +0 -0
- /package/dist/{Sparkline-m3wbt-f1.js → Sparkline-CVzkzaOJ.js} +0 -0
- /package/dist/{Stepper.context-DUIDhN9Q.cjs → Stepper.context-Brnt5IZv.cjs} +0 -0
- /package/dist/{Stepper.context-DqfEvgGM.js → Stepper.context-CRKX8lxW.js} +0 -0
- /package/dist/{StructuredList-h9JFXpF4.cjs → StructuredList-BexC0c1Z.cjs} +0 -0
- /package/dist/{StructuredList-BSfuLANB.js → StructuredList-DuBBP01p.js} +0 -0
- /package/dist/{Submenu-Dxo3DUDA.cjs → Submenu-DRkHiWsD.cjs} +0 -0
- /package/dist/{Submenu-BnMaJKYm.js → Submenu-Dnj5MiFy.js} +0 -0
- /package/dist/{TextInput.context-DV1MgL_Q.js → TextInput.context-B-mipPOo.js} +0 -0
- /package/dist/{TextInput.context-UTLuljcO.cjs → TextInput.context-ChkcqMNM.cjs} +0 -0
- /package/dist/{TreeContext-TZ35sT5B.cjs → TreeContext-B2Io2oii.cjs} +0 -0
- /package/dist/{TreeContext--GZ21fCm.js → TreeContext-Cs4iAw0d.js} +0 -0
- /package/dist/{Wireframe-CL0rjsos.cjs → Wireframe-3fvc4I5-.cjs} +0 -0
- /package/dist/{Wireframe-BxUNaH2g.js → Wireframe-C_Ca3wCn.js} +0 -0
- /package/dist/{palette-CWU7exM6.js → palette-6bEW4KUN.js} +0 -0
- /package/dist/{palette-B7XEOMVB.cjs → palette-LbOzdAXj.cjs} +0 -0
- /package/dist/{pixi-scene-BKyneWmd.cjs → pixi-scene-CQ1qoZvX.cjs} +0 -0
- /package/dist/{pixi-scene-TbaBQ2-u.js → pixi-scene-DFCEvc1j.js} +0 -0
- /package/dist/{scales-CNW8JgKC.js → scales-BGzTviac.js} +0 -0
- /package/dist/{scales-B8IbC7t_.cjs → scales-BRSHTjbp.cjs} +0 -0
- /package/dist/{useChartSize-CftshgoY.js → useChartSize-05CLdiR0.js} +0 -0
- /package/dist/{useChartSize-B6Bes760.cjs → useChartSize-CUZ7BuGD.cjs} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-Dn1mqnqe.cjs → useLoadingAnnouncer.composable-CEPRjDi3.cjs} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-BAwecV1M.js → useLoadingAnnouncer.composable-c0XX_xNT.js} +0 -0
- /package/dist/{vue-i18n-DSR949qU.js → vue-i18n-DaD-yZmK.js} +0 -0
- /package/dist/{vue-i18n-DIvTc6LM.cjs → vue-i18n-ZdR0XDmN.cjs} +0 -0
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { useReducedMotion as t } from "./composables/useReducedMotion.composable.mjs";
|
|
3
|
+
import { t as n } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
4
|
+
import { t as r } from "./Icon-B2tiGiqZ.js";
|
|
5
|
+
import { useNbStrings as i } from "./composables/useNbStrings.composable.mjs";
|
|
6
|
+
import { t as a } from "./Message-DCeg8qsC.js";
|
|
7
|
+
import { t as ee } from "./TextInput-DqaVhKud.js";
|
|
8
|
+
import { i as te, r as ne, t as re } from "./Modal-BSGKOUi_.js";
|
|
9
|
+
import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, nextTick as m, normalizeClass as h, onMounted as ie, onUnmounted as ae, openBlock as g, ref as _, renderSlot as oe, toDisplayString as v, unref as y, useId as se, useSlots as ce, watch as b, withCtx as x, withKeys as le, withModifiers as ue } from "vue";
|
|
10
|
+
import { regular as de } from "@nubisco/ui/icons/check";
|
|
11
|
+
import { regular as fe } from "@nubisco/ui/icons/warning";
|
|
12
|
+
//#region src/components/Confirm.vue?vue&type=script&setup=true&lang.ts
|
|
13
|
+
var pe = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "nb-confirm__message"
|
|
16
|
+
}, me = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "nb-confirm__subject-kind"
|
|
19
|
+
}, he = { class: "nb-confirm__subject-name" }, ge = {
|
|
20
|
+
key: 1,
|
|
21
|
+
class: "nb-confirm__gate"
|
|
22
|
+
}, _e = { class: "nb-confirm__live" }, ve = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "nb-confirm__status",
|
|
25
|
+
role: "status"
|
|
26
|
+
}, ye = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "nb-confirm__status nb-confirm__status--success",
|
|
29
|
+
role: "status"
|
|
30
|
+
}, S = /* @__PURE__ */ n(/* @__PURE__ */ p({
|
|
31
|
+
__name: "Confirm",
|
|
32
|
+
props: {
|
|
33
|
+
open: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: !1
|
|
36
|
+
},
|
|
37
|
+
title: {},
|
|
38
|
+
message: { default: void 0 },
|
|
39
|
+
subject: { default: void 0 },
|
|
40
|
+
subjectLabel: { default: void 0 },
|
|
41
|
+
confirmLabel: { default: void 0 },
|
|
42
|
+
cancelLabel: { default: void 0 },
|
|
43
|
+
tone: { default: "danger" },
|
|
44
|
+
typeToConfirm: { default: void 0 },
|
|
45
|
+
typeToConfirmLabel: { default: void 0 },
|
|
46
|
+
typeToConfirmHelper: { default: void 0 },
|
|
47
|
+
busy: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
default: !1
|
|
50
|
+
},
|
|
51
|
+
busyLabel: { default: void 0 },
|
|
52
|
+
succeeded: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: !1
|
|
55
|
+
},
|
|
56
|
+
successLabel: { default: void 0 },
|
|
57
|
+
error: { default: void 0 },
|
|
58
|
+
size: { default: "sm" },
|
|
59
|
+
floatingSelectors: { default: () => [] },
|
|
60
|
+
contentClass: { default: void 0 }
|
|
61
|
+
},
|
|
62
|
+
emits: ["confirm", "cancel"],
|
|
63
|
+
setup(n, { expose: p, emit: S }) {
|
|
64
|
+
let C = n, w = S, T = se(), E = `nb-confirm-title-${T}`, D = `nb-confirm-body-${T}`, be = ce(), O = _(null), k = _(null), A = _(null), j = _(null), M = _(""), N = t(), P = o(() => C.busy || C.succeeded);
|
|
65
|
+
function F() {
|
|
66
|
+
return !!C.message || !!C.subject || !!be.default;
|
|
67
|
+
}
|
|
68
|
+
let xe = o(() => C.tone === "danger" ? "danger" : "primary"), I = i(), Se = o(() => C.confirmLabel ?? I.value.confirmConfirm), Ce = o(() => C.cancelLabel ?? I.value.confirmCancel), we = o(() => C.busyLabel ?? I.value.confirmBusy), Te = o(() => C.typeToConfirmLabel ?? I.value.confirmTypeToConfirm(C.typeToConfirm ?? "")), Ee = o(() => !C.typeToConfirm || M.value.trim() === C.typeToConfirm), L = o(() => Ee.value && !P.value);
|
|
69
|
+
function De() {
|
|
70
|
+
L.value && w("confirm");
|
|
71
|
+
}
|
|
72
|
+
function R() {
|
|
73
|
+
let e = A.value?.$el;
|
|
74
|
+
return e instanceof HTMLElement ? e : null;
|
|
75
|
+
}
|
|
76
|
+
function Oe() {
|
|
77
|
+
let e = j.value?.$el;
|
|
78
|
+
return e instanceof HTMLElement ? e : null;
|
|
79
|
+
}
|
|
80
|
+
function ke() {
|
|
81
|
+
return O.value?.querySelector("[data-nb-confirm=\"gate\"] input, input[data-nb-confirm=\"gate\"]") ?? null;
|
|
82
|
+
}
|
|
83
|
+
function Ae() {
|
|
84
|
+
if (C.tone === "danger") return R();
|
|
85
|
+
if (C.typeToConfirm) return ke() ?? R();
|
|
86
|
+
let e = Oe();
|
|
87
|
+
return e && !e.disabled ? e : R();
|
|
88
|
+
}
|
|
89
|
+
function z() {
|
|
90
|
+
let e = Ae();
|
|
91
|
+
e ? e.focus() : G();
|
|
92
|
+
}
|
|
93
|
+
function B() {
|
|
94
|
+
return O.value?.closest("[role=\"dialog\"],[role=\"alertdialog\"]") ?? null;
|
|
95
|
+
}
|
|
96
|
+
function je() {
|
|
97
|
+
return typeof document > "u" ? [] : Array.from(document.querySelectorAll("[aria-modal=\"true\"]"));
|
|
98
|
+
}
|
|
99
|
+
function V() {
|
|
100
|
+
let e = B();
|
|
101
|
+
if (!e) return !1;
|
|
102
|
+
let t = je();
|
|
103
|
+
return t.length === 0 || t[t.length - 1] === e;
|
|
104
|
+
}
|
|
105
|
+
let Me = [
|
|
106
|
+
"a[href]:not([tabindex=\"-1\"])",
|
|
107
|
+
"area[href]:not([tabindex=\"-1\"])",
|
|
108
|
+
"button:not([disabled]):not([tabindex=\"-1\"])",
|
|
109
|
+
"input:not([disabled]):not([type=\"hidden\"]):not([tabindex=\"-1\"])",
|
|
110
|
+
"select:not([disabled]):not([tabindex=\"-1\"])",
|
|
111
|
+
"textarea:not([disabled]):not([tabindex=\"-1\"])",
|
|
112
|
+
"summary:not([tabindex=\"-1\"])",
|
|
113
|
+
"audio[controls]:not([tabindex=\"-1\"])",
|
|
114
|
+
"video[controls]:not([tabindex=\"-1\"])",
|
|
115
|
+
"iframe:not([tabindex=\"-1\"])",
|
|
116
|
+
"[contenteditable]:not([contenteditable=\"false\"]):not([tabindex=\"-1\"])",
|
|
117
|
+
"[tabindex]:not([tabindex=\"-1\"])"
|
|
118
|
+
].map((e) => `${e}:not([hidden]):not([aria-hidden="true"])`).join(",");
|
|
119
|
+
function Ne() {
|
|
120
|
+
return te(C.floatingSelectors);
|
|
121
|
+
}
|
|
122
|
+
function H(e) {
|
|
123
|
+
return e instanceof Element ? !!e.closest(Ne()) : !1;
|
|
124
|
+
}
|
|
125
|
+
function U(e) {
|
|
126
|
+
let t = B();
|
|
127
|
+
return !!t && !!e && t.contains(e);
|
|
128
|
+
}
|
|
129
|
+
function W() {
|
|
130
|
+
let e = B();
|
|
131
|
+
return e ? Array.from(e.querySelectorAll(Me)).filter((e) => e.getAttribute("aria-disabled") !== "true") : [];
|
|
132
|
+
}
|
|
133
|
+
function G() {
|
|
134
|
+
let e = B();
|
|
135
|
+
return e ? (e.focus(), !0) : !1;
|
|
136
|
+
}
|
|
137
|
+
function K() {
|
|
138
|
+
let e = W()[0];
|
|
139
|
+
e ? e.focus() : G();
|
|
140
|
+
}
|
|
141
|
+
let q = null;
|
|
142
|
+
function J() {
|
|
143
|
+
let e = q;
|
|
144
|
+
q = null, e?.isConnected && e.focus();
|
|
145
|
+
}
|
|
146
|
+
function Y() {
|
|
147
|
+
ne(B(), N.value);
|
|
148
|
+
}
|
|
149
|
+
b(N, () => {
|
|
150
|
+
C.open && Y();
|
|
151
|
+
}), b(() => [C.busy, C.error], async (e, t) => {
|
|
152
|
+
if (!C.open) return;
|
|
153
|
+
let [n, r] = e, i = t?.[0] ?? !1;
|
|
154
|
+
if (await m(), n) {
|
|
155
|
+
W().length === 0 && G();
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
if (i && r) {
|
|
159
|
+
let e = k.value;
|
|
160
|
+
e ? e.focus() : K();
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
let a = document.activeElement;
|
|
164
|
+
!U(a) && !H(a) && K();
|
|
165
|
+
}), b(() => C.open, async (e) => {
|
|
166
|
+
e ? (q = document.activeElement instanceof HTMLElement ? document.activeElement : null, M.value = "", await m(), Y(), z()) : J();
|
|
167
|
+
}, { immediate: !0 });
|
|
168
|
+
function X() {
|
|
169
|
+
P.value || w("cancel");
|
|
170
|
+
}
|
|
171
|
+
let Z = !1, Pe = !1;
|
|
172
|
+
function Q(e) {
|
|
173
|
+
let t = e.target;
|
|
174
|
+
Z = U(t) || H(t);
|
|
175
|
+
}
|
|
176
|
+
function Fe(e) {
|
|
177
|
+
Pe = U(e.target);
|
|
178
|
+
}
|
|
179
|
+
function Ie() {
|
|
180
|
+
let e = Z && !Pe;
|
|
181
|
+
Z = !1, !e && X();
|
|
182
|
+
}
|
|
183
|
+
function Le(e) {
|
|
184
|
+
if (!C.open || H(document.activeElement)) return;
|
|
185
|
+
if (e.key === "Escape") {
|
|
186
|
+
if (!V()) return;
|
|
187
|
+
e.preventDefault(), e.stopPropagation(), e.stopImmediatePropagation(), X();
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
if (e.key !== "Tab" || !V()) return;
|
|
191
|
+
let t = W();
|
|
192
|
+
if (t.length === 0) {
|
|
193
|
+
e.preventDefault(), U(document.activeElement) || G();
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
let n = t[0], r = t[t.length - 1], i = document.activeElement;
|
|
197
|
+
e.shiftKey && (i === n || !U(i)) ? (e.preventDefault(), r.focus()) : !e.shiftKey && i === r ? (e.preventDefault(), n.focus()) : U(i) || (e.preventDefault(), n.focus());
|
|
198
|
+
}
|
|
199
|
+
function $(e) {
|
|
200
|
+
if (!C.open) return;
|
|
201
|
+
let t = e.relatedTarget;
|
|
202
|
+
if (t instanceof Element) {
|
|
203
|
+
if (U(t) || H(t)) return;
|
|
204
|
+
} else if (t !== null) return;
|
|
205
|
+
requestAnimationFrame(() => {
|
|
206
|
+
if (!C.open) return;
|
|
207
|
+
let e = document.activeElement;
|
|
208
|
+
U(e) || H(e) || e && e !== document.body && !e.isConnected || V() && K();
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
return typeof document < "u" && (document.addEventListener("keydown", Le, !0), document.addEventListener("focusout", $, !0), document.addEventListener("mousedown", Q, !0), document.addEventListener("touchstart", Q, !0), document.addEventListener("click", Fe, !0)), ie(() => {
|
|
212
|
+
C.open && (Y(), z());
|
|
213
|
+
}), ae(() => {
|
|
214
|
+
typeof document < "u" && (document.removeEventListener("keydown", Le, !0), document.removeEventListener("focusout", $, !0), document.removeEventListener("mousedown", Q, !0), document.removeEventListener("touchstart", Q, !0), document.removeEventListener("click", Fe, !0)), J();
|
|
215
|
+
}), p({
|
|
216
|
+
focusCancel: () => R()?.focus(),
|
|
217
|
+
restoreFocus: J,
|
|
218
|
+
isTopmost: V
|
|
219
|
+
}), (t, i) => (g(), s(re, {
|
|
220
|
+
open: n.open,
|
|
221
|
+
size: n.size,
|
|
222
|
+
role: n.tone === "danger" ? "alertdialog" : "dialog",
|
|
223
|
+
"labelled-by": E,
|
|
224
|
+
"described-by": F() ? D : void 0,
|
|
225
|
+
busy: n.busy,
|
|
226
|
+
"close-on-overlay": !P.value,
|
|
227
|
+
"close-disabled": P.value,
|
|
228
|
+
"close-on-escape": !1,
|
|
229
|
+
"trap-focus": !1,
|
|
230
|
+
onClose: Ie
|
|
231
|
+
}, {
|
|
232
|
+
header: x(() => [u("span", {
|
|
233
|
+
id: E,
|
|
234
|
+
class: h(["nb-confirm__heading", `nb-confirm__heading--${n.tone}`])
|
|
235
|
+
}, [n.tone === "danger" ? (g(), s(r, {
|
|
236
|
+
key: 0,
|
|
237
|
+
name: y(fe),
|
|
238
|
+
size: 16,
|
|
239
|
+
"aria-hidden": "true"
|
|
240
|
+
}, null, 8, ["name"])) : c("", !0), u("span", null, v(n.title), 1)], 2)]),
|
|
241
|
+
footer: x(() => [f(e, {
|
|
242
|
+
ref_key: "cancelRef",
|
|
243
|
+
ref: A,
|
|
244
|
+
class: "nb-confirm__action nb-confirm__action--cancel",
|
|
245
|
+
variant: "secondary",
|
|
246
|
+
disabled: P.value,
|
|
247
|
+
"data-nb-confirm": "cancel",
|
|
248
|
+
onClick: X
|
|
249
|
+
}, {
|
|
250
|
+
default: x(() => [d(v(Ce.value), 1)]),
|
|
251
|
+
_: 1
|
|
252
|
+
}, 8, ["disabled"]), f(e, {
|
|
253
|
+
ref_key: "confirmRef",
|
|
254
|
+
ref: j,
|
|
255
|
+
class: "nb-confirm__action nb-confirm__action--confirm",
|
|
256
|
+
variant: xe.value,
|
|
257
|
+
disabled: !L.value,
|
|
258
|
+
loading: n.busy,
|
|
259
|
+
"data-nb-confirm": "confirm",
|
|
260
|
+
onClick: De
|
|
261
|
+
}, {
|
|
262
|
+
default: x(() => [d(v(Se.value), 1)]),
|
|
263
|
+
_: 1
|
|
264
|
+
}, 8, [
|
|
265
|
+
"variant",
|
|
266
|
+
"disabled",
|
|
267
|
+
"loading"
|
|
268
|
+
])]),
|
|
269
|
+
default: x(() => [u("div", {
|
|
270
|
+
ref_key: "rootRef",
|
|
271
|
+
ref: O,
|
|
272
|
+
class: h(["nb-confirm", n.contentClass])
|
|
273
|
+
}, [
|
|
274
|
+
F() ? (g(), l("div", {
|
|
275
|
+
key: 0,
|
|
276
|
+
id: D,
|
|
277
|
+
class: "nb-confirm__body"
|
|
278
|
+
}, [oe(t.$slots, "default", {}, () => [n.message ? (g(), l("p", pe, v(n.message), 1)) : c("", !0)], !0), n.subject ? (g(), l("p", {
|
|
279
|
+
key: 0,
|
|
280
|
+
class: h(["nb-confirm__subject", `nb-confirm__subject--${n.tone}`])
|
|
281
|
+
}, [n.subjectLabel ? (g(), l("span", me, v(n.subjectLabel), 1)) : c("", !0), u("span", he, v(n.subject), 1)], 2)) : c("", !0)])) : c("", !0),
|
|
282
|
+
n.typeToConfirm ? (g(), l("div", ge, [f(ee, {
|
|
283
|
+
modelValue: M.value,
|
|
284
|
+
"onUpdate:modelValue": i[0] ||= (e) => M.value = e,
|
|
285
|
+
class: "nb-confirm__gate-field",
|
|
286
|
+
label: Te.value,
|
|
287
|
+
helper: n.typeToConfirmHelper,
|
|
288
|
+
disabled: P.value,
|
|
289
|
+
autocomplete: "off",
|
|
290
|
+
spellcheck: "false",
|
|
291
|
+
"data-nb-confirm": "gate",
|
|
292
|
+
onKeydown: i[1] ||= le(ue(() => {}, ["prevent"]), ["enter"])
|
|
293
|
+
}, null, 8, [
|
|
294
|
+
"modelValue",
|
|
295
|
+
"label",
|
|
296
|
+
"helper",
|
|
297
|
+
"disabled"
|
|
298
|
+
])])) : c("", !0),
|
|
299
|
+
u("div", _e, [
|
|
300
|
+
n.busy ? (g(), l("p", ve, v(we.value), 1)) : c("", !0),
|
|
301
|
+
n.succeeded && n.successLabel ? (g(), l("p", ye, [f(r, {
|
|
302
|
+
name: y(de),
|
|
303
|
+
size: "sm",
|
|
304
|
+
"aria-hidden": "true"
|
|
305
|
+
}, null, 8, ["name"]), u("span", null, v(n.successLabel), 1)])) : c("", !0),
|
|
306
|
+
n.error ? (g(), l("div", {
|
|
307
|
+
key: 2,
|
|
308
|
+
ref_key: "errorRef",
|
|
309
|
+
ref: k,
|
|
310
|
+
class: "nb-confirm__error",
|
|
311
|
+
tabindex: "-1"
|
|
312
|
+
}, [f(a, { variant: "error" }, {
|
|
313
|
+
default: x(() => [d(v(n.error), 1)]),
|
|
314
|
+
_: 1
|
|
315
|
+
})], 512)) : c("", !0)
|
|
316
|
+
])
|
|
317
|
+
], 2)]),
|
|
318
|
+
_: 3
|
|
319
|
+
}, 8, [
|
|
320
|
+
"open",
|
|
321
|
+
"size",
|
|
322
|
+
"role",
|
|
323
|
+
"described-by",
|
|
324
|
+
"busy",
|
|
325
|
+
"close-on-overlay",
|
|
326
|
+
"close-disabled"
|
|
327
|
+
]));
|
|
328
|
+
}
|
|
329
|
+
}), [["__scopeId", "data-v-52687d15"]]);
|
|
330
|
+
//#endregion
|
|
331
|
+
export { S as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Button-BHFtgOXA.cjs`),t=require(`./composables/useReducedMotion.composable.cjs`),n=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),r=require(`./Icon-CssV4E2-.cjs`),i=require(`./composables/useNbStrings.composable.cjs`),a=require(`./Message-BJO4MjiQ.cjs`),ee=require(`./TextInput-BVTKUEey.cjs`),o=require(`./Modal-D0hGHXic.cjs`);let s=require(`vue`),te=require(`@nubisco/ui/icons/check`),ne=require(`@nubisco/ui/icons/warning`);var c={key:0,class:`nb-confirm__message`},l={key:0,class:`nb-confirm__subject-kind`},u={class:`nb-confirm__subject-name`},re={key:1,class:`nb-confirm__gate`},ie={class:`nb-confirm__live`},d={key:0,class:`nb-confirm__status`,role:`status`},ae={key:1,class:`nb-confirm__status nb-confirm__status--success`,role:`status`},f=(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:void 0},cancelLabel:{default:void 0},tone:{default:`danger`},typeToConfirm:{default:void 0},typeToConfirmLabel:{default:void 0},typeToConfirmHelper:{default:void 0},busy:{type:Boolean,default:!1},busyLabel:{default:void 0},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(n,{expose:f,emit:p}){let m=n,h=p,g=(0,s.useId)(),_=`nb-confirm-title-${g}`,v=`nb-confirm-body-${g}`,y=(0,s.useSlots)(),b=(0,s.ref)(null),x=(0,s.ref)(null),S=(0,s.ref)(null),C=(0,s.ref)(null),w=(0,s.ref)(``),T=t.useReducedMotion(),E=(0,s.computed)(()=>m.busy||m.succeeded);function D(){return!!m.message||!!m.subject||!!y.default}let oe=(0,s.computed)(()=>m.tone===`danger`?`danger`:`primary`),O=i.useNbStrings(),se=(0,s.computed)(()=>m.confirmLabel??O.value.confirmConfirm),ce=(0,s.computed)(()=>m.cancelLabel??O.value.confirmCancel),le=(0,s.computed)(()=>m.busyLabel??O.value.confirmBusy),ue=(0,s.computed)(()=>m.typeToConfirmLabel??O.value.confirmTypeToConfirm(m.typeToConfirm??``)),de=(0,s.computed)(()=>!m.typeToConfirm||w.value.trim()===m.typeToConfirm),k=(0,s.computed)(()=>de.value&&!E.value);function fe(){k.value&&h(`confirm`)}function A(){let e=S.value?.$el;return e instanceof HTMLElement?e:null}function pe(){let e=C.value?.$el;return e instanceof HTMLElement?e:null}function j(){return b.value?.querySelector(`[data-nb-confirm="gate"] input, input[data-nb-confirm="gate"]`)??null}function M(){if(m.tone===`danger`)return A();if(m.typeToConfirm)return j()??A();let e=pe();return e&&!e.disabled?e:A()}function N(){let e=M();e?e.focus():H()}function P(){return b.value?.closest(`[role="dialog"],[role="alertdialog"]`)??null}function F(){return typeof document>`u`?[]:Array.from(document.querySelectorAll(`[aria-modal="true"]`))}function I(){let e=P();if(!e)return!1;let t=F();return t.length===0||t[t.length-1]===e}let L=[`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 R(){return o.i(m.floatingSelectors)}function z(e){return e instanceof Element?!!e.closest(R()):!1}function B(e){let t=P();return!!t&&!!e&&t.contains(e)}function V(){let e=P();return e?Array.from(e.querySelectorAll(L)).filter(e=>e.getAttribute(`aria-disabled`)!==`true`):[]}function H(){let e=P();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(P(),T.value)}(0,s.watch)(T,()=>{m.open&&K()}),(0,s.watch)(()=>[m.busy,m.error],async(e,t)=>{if(!m.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=x.value;e?e.focus():U();return}let a=document.activeElement;!B(a)&&!z(a)&&U()}),(0,s.watch)(()=>m.open,async e=>{e?(W=document.activeElement instanceof HTMLElement?document.activeElement:null,w.value=``,await(0,s.nextTick)(),K(),N()):G()},{immediate:!0});function q(){E.value||h(`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 me(){let e=J&&!Y;J=!1,!e&&q()}function Q(e){if(!m.open||z(document.activeElement))return;if(e.key===`Escape`){if(!I())return;e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation(),q();return}if(e.key!==`Tab`||!I())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(!m.open)return;let t=e.relatedTarget;if(t instanceof Element){if(B(t)||z(t))return}else if(t!==null)return;requestAnimationFrame(()=>{if(!m.open)return;let e=document.activeElement;B(e)||z(e)||e&&e!==document.body&&!e.isConnected||I()&&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)(()=>{m.open&&(K(),N())}),(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()}),f({focusCancel:()=>A()?.focus(),restoreFocus:G,isTopmost:I}),(t,i)=>((0,s.openBlock)(),(0,s.createBlock)(o.t,{open:n.open,size:n.size,role:n.tone===`danger`?`alertdialog`:`dialog`,"labelled-by":_,"described-by":D()?v:void 0,busy:n.busy,"close-on-overlay":!E.value,"close-disabled":E.value,"close-on-escape":!1,"trap-focus":!1,onClose:me},{header:(0,s.withCtx)(()=>[(0,s.createElementVNode)(`span`,{id:_,class:(0,s.normalizeClass)([`nb-confirm__heading`,`nb-confirm__heading--${n.tone}`])},[n.tone===`danger`?((0,s.openBlock)(),(0,s.createBlock)(r.t,{key:0,name:(0,s.unref)(ne.regular),size:16,"aria-hidden":`true`},null,8,[`name`])):(0,s.createCommentVNode)(``,!0),(0,s.createElementVNode)(`span`,null,(0,s.toDisplayString)(n.title),1)],2)]),footer:(0,s.withCtx)(()=>[(0,s.createVNode)(e.t,{ref_key:`cancelRef`,ref:S,class:`nb-confirm__action nb-confirm__action--cancel`,variant:`secondary`,disabled:E.value,"data-nb-confirm":`cancel`,onClick:q},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(ce.value),1)]),_:1},8,[`disabled`]),(0,s.createVNode)(e.t,{ref_key:`confirmRef`,ref:C,class:`nb-confirm__action nb-confirm__action--confirm`,variant:oe.value,disabled:!k.value,loading:n.busy,"data-nb-confirm":`confirm`,onClick:fe},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(se.value),1)]),_:1},8,[`variant`,`disabled`,`loading`])]),default:(0,s.withCtx)(()=>[(0,s.createElementVNode)(`div`,{ref_key:`rootRef`,ref:b,class:(0,s.normalizeClass)([`nb-confirm`,n.contentClass])},[D()?((0,s.openBlock)(),(0,s.createElementBlock)(`div`,{key:0,id:v,class:`nb-confirm__body`},[(0,s.renderSlot)(t.$slots,`default`,{},()=>[n.message?((0,s.openBlock)(),(0,s.createElementBlock)(`p`,c,(0,s.toDisplayString)(n.message),1)):(0,s.createCommentVNode)(``,!0)],!0),n.subject?((0,s.openBlock)(),(0,s.createElementBlock)(`p`,{key:0,class:(0,s.normalizeClass)([`nb-confirm__subject`,`nb-confirm__subject--${n.tone}`])},[n.subjectLabel?((0,s.openBlock)(),(0,s.createElementBlock)(`span`,l,(0,s.toDisplayString)(n.subjectLabel),1)):(0,s.createCommentVNode)(``,!0),(0,s.createElementVNode)(`span`,u,(0,s.toDisplayString)(n.subject),1)],2)):(0,s.createCommentVNode)(``,!0)])):(0,s.createCommentVNode)(``,!0),n.typeToConfirm?((0,s.openBlock)(),(0,s.createElementBlock)(`div`,re,[(0,s.createVNode)(ee.t,{modelValue:w.value,"onUpdate:modelValue":i[0]||=e=>w.value=e,class:`nb-confirm__gate-field`,label:ue.value,helper:n.typeToConfirmHelper,disabled:E.value,autocomplete:`off`,spellcheck:`false`,"data-nb-confirm":`gate`,onKeydown:i[1]||=(0,s.withKeys)((0,s.withModifiers)(()=>{},[`prevent`]),[`enter`])},null,8,[`modelValue`,`label`,`helper`,`disabled`])])):(0,s.createCommentVNode)(``,!0),(0,s.createElementVNode)(`div`,ie,[n.busy?((0,s.openBlock)(),(0,s.createElementBlock)(`p`,d,(0,s.toDisplayString)(le.value),1)):(0,s.createCommentVNode)(``,!0),n.succeeded&&n.successLabel?((0,s.openBlock)(),(0,s.createElementBlock)(`p`,ae,[(0,s.createVNode)(r.t,{name:(0,s.unref)(te.regular),size:`sm`,"aria-hidden":`true`},null,8,[`name`]),(0,s.createElementVNode)(`span`,null,(0,s.toDisplayString)(n.successLabel),1)])):(0,s.createCommentVNode)(``,!0),n.error?((0,s.openBlock)(),(0,s.createElementBlock)(`div`,{key:2,ref_key:`errorRef`,ref:x,class:`nb-confirm__error`,tabindex:`-1`},[(0,s.createVNode)(a.t,{variant:`error`},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(n.error),1)]),_:1})],512)):(0,s.createCommentVNode)(``,!0)])],2)]),_:3},8,[`open`,`size`,`role`,`described-by`,`busy`,`close-on-overlay`,`close-disabled`]))}}),p=n.t(f,[[`__scopeId`,`data-v-52687d15`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
-
import { t } from "./Card.link-
|
|
3
|
-
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, mergeProps as l, normalizeClass as u,
|
|
2
|
+
import { t } from "./Card.link-CdvubtHJ.js";
|
|
3
|
+
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, mergeProps as l, normalizeClass as u, normalizeStyle as d, openBlock as f, renderSlot as p, resolveDynamicComponent as m, toDisplayString as h, unref as g, withCtx as _ } from "vue";
|
|
4
4
|
//#region src/components/ContainedListItem.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var
|
|
5
|
+
var v = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "nb-contained-list-item__leading"
|
|
8
|
-
},
|
|
8
|
+
}, y = { class: "nb-contained-list-item__main" }, b = { class: "nb-contained-list-item__title-line" }, x = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "nb-contained-list-item__key"
|
|
11
|
-
},
|
|
12
|
-
key: 0,
|
|
13
|
-
class: "nb-contained-list-item__line"
|
|
14
|
-
}, C = {
|
|
11
|
+
}, S = { class: "nb-contained-list-item__title" }, C = {
|
|
15
12
|
key: 1,
|
|
16
13
|
class: "nb-contained-list-item__trailing"
|
|
17
14
|
}, w = /* @__PURE__ */ e(/* @__PURE__ */ c({
|
|
@@ -20,6 +17,7 @@ var _ = {
|
|
|
20
17
|
title: { default: void 0 },
|
|
21
18
|
itemKey: { default: void 0 },
|
|
22
19
|
line: { default: void 0 },
|
|
20
|
+
lineClamp: { default: 1 },
|
|
23
21
|
to: { default: void 0 },
|
|
24
22
|
href: { default: void 0 },
|
|
25
23
|
target: { default: void 0 },
|
|
@@ -41,20 +39,24 @@ var _ = {
|
|
|
41
39
|
let w = e, T = c, { tag: E, attrs: D, isLink: O, isInteractive: k, onClick: A, onKeydown: j } = t(w, (e) => T("select", e)), M = n(() => {
|
|
42
40
|
if (w.current) return O.value ? "page" : "true";
|
|
43
41
|
});
|
|
44
|
-
return (t, n) => (
|
|
45
|
-
"nb-contained-list-item--interactive":
|
|
42
|
+
return (t, n) => (f(), a("li", { class: u(["nb-contained-list-item", {
|
|
43
|
+
"nb-contained-list-item--interactive": g(k),
|
|
46
44
|
"nb-contained-list-item--current": e.current,
|
|
47
45
|
"nb-contained-list-item--disabled": e.disabled
|
|
48
|
-
}]) }, [(
|
|
46
|
+
}]) }, [(f(), r(m(g(E)), l({ class: "nb-contained-list-item__row" }, g(D), {
|
|
49
47
|
"aria-current": M.value,
|
|
50
48
|
"aria-disabled": e.disabled ? !0 : void 0,
|
|
51
|
-
onClick:
|
|
52
|
-
onKeydown:
|
|
49
|
+
onClick: g(A),
|
|
50
|
+
onKeydown: g(j)
|
|
53
51
|
}), {
|
|
54
|
-
default:
|
|
55
|
-
t.$slots.leading ? (
|
|
56
|
-
o("span",
|
|
57
|
-
|
|
52
|
+
default: _(() => [
|
|
53
|
+
t.$slots.leading ? (f(), a("span", v, [p(t.$slots, "leading", {}, void 0, !0)])) : i("", !0),
|
|
54
|
+
o("span", y, [o("span", b, [e.itemKey ? (f(), a("span", x, h(e.itemKey), 1)) : i("", !0), o("span", S, [p(t.$slots, "default", {}, () => [s(h(e.title), 1)], !0)])]), e.line || t.$slots.line ? (f(), a("span", {
|
|
55
|
+
key: 0,
|
|
56
|
+
class: u(["nb-contained-list-item__line", { "nb-contained-list-item__line--wraps": e.lineClamp > 1 }]),
|
|
57
|
+
style: d(e.lineClamp > 1 ? { "--nb-contained-list-item-line-clamp": e.lineClamp } : void 0)
|
|
58
|
+
}, [p(t.$slots, "line", {}, () => [s(h(e.line), 1)], !0)], 6)) : i("", !0)]),
|
|
59
|
+
t.$slots.trailing ? (f(), a("span", C, [p(t.$slots, "trailing", {}, void 0, !0)])) : i("", !0)
|
|
58
60
|
]),
|
|
59
61
|
_: 3
|
|
60
62
|
}, 16, [
|
|
@@ -64,6 +66,6 @@ var _ = {
|
|
|
64
66
|
"onKeydown"
|
|
65
67
|
]))], 2));
|
|
66
68
|
}
|
|
67
|
-
}), [["__scopeId", "data-v-
|
|
69
|
+
}), [["__scopeId", "data-v-8ff82633"]]);
|
|
68
70
|
//#endregion
|
|
69
71
|
export { w as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./Card.link-Bw2B_lPO.cjs`);let n=require(`vue`);var r={key:0,class:`nb-contained-list-item__leading`},i={class:`nb-contained-list-item__main`},a={class:`nb-contained-list-item__title-line`},o={key:0,class:`nb-contained-list-item__key`},s={class:`nb-contained-list-item__title`},c={key:1,class:`nb-contained-list-item__trailing`},l=(0,n.defineComponent)({__name:`ContainedListItem`,props:{title:{default:void 0},itemKey:{default:void 0},line:{default:void 0},lineClamp:{default:1},to:{default:void 0},href:{default:void 0},target:{default:void 0},clickable:{type:Boolean,default:!1},current:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:[`select`],setup(e,{emit:l}){let u=e,d=l,{tag:f,attrs:p,isLink:m,isInteractive:h,onClick:g,onKeydown:_}=t.t(u,e=>d(`select`,e)),v=(0,n.computed)(()=>{if(u.current)return m.value?`page`:`true`});return(t,l)=>((0,n.openBlock)(),(0,n.createElementBlock)(`li`,{class:(0,n.normalizeClass)([`nb-contained-list-item`,{"nb-contained-list-item--interactive":(0,n.unref)(h),"nb-contained-list-item--current":e.current,"nb-contained-list-item--disabled":e.disabled}])},[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)((0,n.unref)(f)),(0,n.mergeProps)({class:`nb-contained-list-item__row`},(0,n.unref)(p),{"aria-current":v.value,"aria-disabled":e.disabled?!0:void 0,onClick:(0,n.unref)(g),onKeydown:(0,n.unref)(_)}),{default:(0,n.withCtx)(()=>[t.$slots.leading?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,r,[(0,n.renderSlot)(t.$slots,`leading`,{},void 0,!0)])):(0,n.createCommentVNode)(``,!0),(0,n.createElementVNode)(`span`,i,[(0,n.createElementVNode)(`span`,a,[e.itemKey?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,o,(0,n.toDisplayString)(e.itemKey),1)):(0,n.createCommentVNode)(``,!0),(0,n.createElementVNode)(`span`,s,[(0,n.renderSlot)(t.$slots,`default`,{},()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.title),1)],!0)])]),e.line||t.$slots.line?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,{key:0,class:(0,n.normalizeClass)([`nb-contained-list-item__line`,{"nb-contained-list-item__line--wraps":e.lineClamp>1}]),style:(0,n.normalizeStyle)(e.lineClamp>1?{"--nb-contained-list-item-line-clamp":e.lineClamp}:void 0)},[(0,n.renderSlot)(t.$slots,`line`,{},()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.line),1)],!0)],6)):(0,n.createCommentVNode)(``,!0)]),t.$slots.trailing?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,c,[(0,n.renderSlot)(t.$slots,`trailing`,{},void 0,!0)])):(0,n.createCommentVNode)(``,!0)]),_:3},16,[`aria-current`,`aria-disabled`,`onClick`,`onKeydown`]))],2))}}),u=e.t(l,[[`__scopeId`,`data-v-8ff82633`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { Fragment as t, computed as n, createBlock as r, createElementBlock as i, createTextVNode as a, defineComponent as o, nextTick as s, normalizeClass as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, withCtx as p } from "vue";
|
|
3
|
+
//#region src/components/ContentSwitcher.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var m = ["aria-label"], h = /* @__PURE__ */ o({
|
|
5
|
+
__name: "ContentSwitcher",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: { default: void 0 },
|
|
8
|
+
items: {},
|
|
9
|
+
label: {},
|
|
10
|
+
iconOnly: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: !1
|
|
13
|
+
},
|
|
14
|
+
size: { default: "md" }
|
|
15
|
+
},
|
|
16
|
+
emits: ["update:modelValue"],
|
|
17
|
+
setup(o, { emit: h }) {
|
|
18
|
+
let g = o, _ = h, v = u(null), y = n(() => g.items.filter((e) => !e.disabled)), b = n(() => (y.value.find((e) => e.id === g.modelValue) ?? y.value[0])?.id);
|
|
19
|
+
function x(e) {
|
|
20
|
+
return ["nb-content-switcher__item", { "nb-content-switcher__item--selected": e.id === g.modelValue }];
|
|
21
|
+
}
|
|
22
|
+
function S(e) {
|
|
23
|
+
e.disabled || e.id === g.modelValue || _("update:modelValue", e.id);
|
|
24
|
+
}
|
|
25
|
+
function C(e) {
|
|
26
|
+
s(() => {
|
|
27
|
+
let t = v.value?.querySelectorAll("[data-id]");
|
|
28
|
+
Array.from(t ?? []).find((t) => t.dataset.id === e)?.focus();
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
function w(e) {
|
|
32
|
+
let t = y.value;
|
|
33
|
+
if (!t.length) return;
|
|
34
|
+
let n = t.findIndex((e) => e.id === b.value), r = -1;
|
|
35
|
+
e.key === "ArrowRight" || e.key === "ArrowDown" ? r = (n + 1) % t.length : e.key === "ArrowLeft" || e.key === "ArrowUp" ? r = (n - 1 + t.length) % t.length : e.key === "Home" ? r = 0 : e.key === "End" && (r = t.length - 1), !(r < 0) && (e.preventDefault(), S(t[r]), C(t[r].id));
|
|
36
|
+
}
|
|
37
|
+
return (n, s) => (l(), i("div", {
|
|
38
|
+
ref_key: "rootRef",
|
|
39
|
+
ref: v,
|
|
40
|
+
class: c([
|
|
41
|
+
"nb-content-switcher",
|
|
42
|
+
`nb-content-switcher--${o.size}`,
|
|
43
|
+
{ "nb-content-switcher--icon-only": o.iconOnly }
|
|
44
|
+
]),
|
|
45
|
+
role: "radiogroup",
|
|
46
|
+
"aria-label": o.label,
|
|
47
|
+
onKeydown: w
|
|
48
|
+
}, [(l(!0), i(t, null, d(o.items, (n) => (l(), i(t, { key: n.id }, [o.iconOnly && n.icon ? (l(), r(e, {
|
|
49
|
+
key: 0,
|
|
50
|
+
class: c(x(n)),
|
|
51
|
+
variant: "ghost",
|
|
52
|
+
size: o.size,
|
|
53
|
+
icon: n.icon,
|
|
54
|
+
label: n.label,
|
|
55
|
+
disabled: n.disabled,
|
|
56
|
+
role: "radio",
|
|
57
|
+
"aria-checked": n.id === o.modelValue,
|
|
58
|
+
tabindex: b.value === n.id ? 0 : -1,
|
|
59
|
+
"data-id": n.id,
|
|
60
|
+
onClick: (e) => S(n)
|
|
61
|
+
}, null, 8, [
|
|
62
|
+
"class",
|
|
63
|
+
"size",
|
|
64
|
+
"icon",
|
|
65
|
+
"label",
|
|
66
|
+
"disabled",
|
|
67
|
+
"aria-checked",
|
|
68
|
+
"tabindex",
|
|
69
|
+
"data-id",
|
|
70
|
+
"onClick"
|
|
71
|
+
])) : (l(), r(e, {
|
|
72
|
+
key: 1,
|
|
73
|
+
class: c(x(n)),
|
|
74
|
+
variant: "ghost",
|
|
75
|
+
size: o.size,
|
|
76
|
+
icon: n.icon,
|
|
77
|
+
disabled: n.disabled,
|
|
78
|
+
role: "radio",
|
|
79
|
+
"aria-checked": n.id === o.modelValue,
|
|
80
|
+
tabindex: b.value === n.id ? 0 : -1,
|
|
81
|
+
"data-id": n.id,
|
|
82
|
+
onClick: (e) => S(n)
|
|
83
|
+
}, {
|
|
84
|
+
default: p(() => [a(f(n.label), 1)]),
|
|
85
|
+
_: 2
|
|
86
|
+
}, 1032, [
|
|
87
|
+
"class",
|
|
88
|
+
"size",
|
|
89
|
+
"icon",
|
|
90
|
+
"disabled",
|
|
91
|
+
"aria-checked",
|
|
92
|
+
"tabindex",
|
|
93
|
+
"data-id",
|
|
94
|
+
"onClick"
|
|
95
|
+
]))], 64))), 128))], 42, m));
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
//#endregion
|
|
99
|
+
export { h as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Button-BHFtgOXA.cjs`);let t=require(`vue`);var n=[`aria-label`],r=(0,t.defineComponent)({__name:`ContentSwitcher`,props:{modelValue:{default:void 0},items:{},label:{},iconOnly:{type:Boolean,default:!1},size:{default:`md`}},emits:[`update:modelValue`],setup(r,{emit:i}){let a=r,o=i,s=(0,t.ref)(null),c=(0,t.computed)(()=>a.items.filter(e=>!e.disabled)),l=(0,t.computed)(()=>(c.value.find(e=>e.id===a.modelValue)??c.value[0])?.id);function u(e){return[`nb-content-switcher__item`,{"nb-content-switcher__item--selected":e.id===a.modelValue}]}function d(e){e.disabled||e.id===a.modelValue||o(`update:modelValue`,e.id)}function f(e){(0,t.nextTick)(()=>{let t=s.value?.querySelectorAll(`[data-id]`);Array.from(t??[]).find(t=>t.dataset.id===e)?.focus()})}function p(e){let t=c.value;if(!t.length)return;let n=t.findIndex(e=>e.id===l.value),r=-1;e.key===`ArrowRight`||e.key===`ArrowDown`?r=(n+1)%t.length:e.key===`ArrowLeft`||e.key===`ArrowUp`?r=(n-1+t.length)%t.length:e.key===`Home`?r=0:e.key===`End`&&(r=t.length-1),!(r<0)&&(e.preventDefault(),d(t[r]),f(t[r].id))}return(i,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{ref_key:`rootRef`,ref:s,class:(0,t.normalizeClass)([`nb-content-switcher`,`nb-content-switcher--${r.size}`,{"nb-content-switcher--icon-only":r.iconOnly}]),role:`radiogroup`,"aria-label":r.label,onKeydown:p},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(r.items,n=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:n.id},[r.iconOnly&&n.icon?((0,t.openBlock)(),(0,t.createBlock)(e.t,{key:0,class:(0,t.normalizeClass)(u(n)),variant:`ghost`,size:r.size,icon:n.icon,label:n.label,disabled:n.disabled,role:`radio`,"aria-checked":n.id===r.modelValue,tabindex:l.value===n.id?0:-1,"data-id":n.id,onClick:e=>d(n)},null,8,[`class`,`size`,`icon`,`label`,`disabled`,`aria-checked`,`tabindex`,`data-id`,`onClick`])):((0,t.openBlock)(),(0,t.createBlock)(e.t,{key:1,class:(0,t.normalizeClass)(u(n)),variant:`ghost`,size:r.size,icon:n.icon,disabled:n.disabled,role:`radio`,"aria-checked":n.id===r.modelValue,tabindex:l.value===n.id?0:-1,"data-id":n.id,onClick:e=>d(n)},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(n.label),1)]),_:2},1032,[`class`,`size`,`icon`,`disabled`,`aria-checked`,`tabindex`,`data-id`,`onClick`]))],64))),128))],42,n))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { useNbStrings as t } from "./composables/useNbStrings.composable.mjs";
|
|
3
|
+
import { computed as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, normalizeClass as s, onBeforeUnmount as c, openBlock as l, ref as u, toDisplayString as d, withModifiers as f } from "vue";
|
|
4
|
+
import * as p from "@nubisco/ui/icons/check";
|
|
5
|
+
import * as m from "@nubisco/ui/icons/copy";
|
|
6
|
+
//#region src/components/CopyButton.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var h = { class: "nb-copy-button" }, g = {
|
|
8
|
+
class: "nb-copy-button__status",
|
|
9
|
+
role: "status"
|
|
10
|
+
}, _ = /* @__PURE__ */ o({
|
|
11
|
+
__name: "CopyButton",
|
|
12
|
+
props: {
|
|
13
|
+
text: {},
|
|
14
|
+
label: { default: void 0 },
|
|
15
|
+
copiedLabel: { default: void 0 },
|
|
16
|
+
size: { default: "xs" },
|
|
17
|
+
duration: { default: 1500 }
|
|
18
|
+
},
|
|
19
|
+
emits: ["copied", "error"],
|
|
20
|
+
setup(o, { emit: _ }) {
|
|
21
|
+
let v = o, y = t(), b = n(() => v.label ?? y.value.copyButtonCopy), x = n(() => v.copiedLabel ?? y.value.copyButtonCopied), S = _, C = u(!1), w;
|
|
22
|
+
async function T(e) {
|
|
23
|
+
if (navigator.clipboard?.writeText) try {
|
|
24
|
+
await navigator.clipboard.writeText(e);
|
|
25
|
+
return;
|
|
26
|
+
} catch {}
|
|
27
|
+
let t = document.createElement("textarea");
|
|
28
|
+
t.value = e, t.setAttribute("readonly", ""), t.style.position = "fixed", t.style.opacity = "0", document.body.appendChild(t), t.select();
|
|
29
|
+
let n = document.execCommand?.("copy") ?? !1;
|
|
30
|
+
if (t.remove(), !n) throw Error("The browser did not allow copying.");
|
|
31
|
+
}
|
|
32
|
+
async function E() {
|
|
33
|
+
try {
|
|
34
|
+
await T(v.text);
|
|
35
|
+
} catch (e) {
|
|
36
|
+
S("error", e);
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
C.value = !0, S("copied", v.text), clearTimeout(w), w = setTimeout(() => C.value = !1, v.duration);
|
|
40
|
+
}
|
|
41
|
+
return c(() => clearTimeout(w)), (t, n) => (l(), r("span", h, [a(e, {
|
|
42
|
+
label: C.value ? x.value : b.value,
|
|
43
|
+
class: s(["nb-copy-button__button", { "nb-copy-button__button--copied": C.value }]),
|
|
44
|
+
variant: "ghost",
|
|
45
|
+
size: o.size,
|
|
46
|
+
icon: C.value ? p : m,
|
|
47
|
+
onClick: f(E, ["stop", "prevent"]),
|
|
48
|
+
onPointerdown: n[0] ||= f(() => {}, ["stop"]),
|
|
49
|
+
onMousedown: n[1] ||= f(() => {}, ["stop"]),
|
|
50
|
+
onDblclick: n[2] ||= f(() => {}, ["stop"])
|
|
51
|
+
}, null, 8, [
|
|
52
|
+
"label",
|
|
53
|
+
"class",
|
|
54
|
+
"size",
|
|
55
|
+
"icon"
|
|
56
|
+
]), i("span", g, d(C.value ? x.value : ""), 1)]));
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
//#endregion
|
|
60
|
+
export { _ as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./Button-BHFtgOXA.cjs`),n=require(`./composables/useNbStrings.composable.cjs`);let r=require(`vue`),i=require(`@nubisco/ui/icons/check`);i=e.n(i);let a=require(`@nubisco/ui/icons/copy`);a=e.n(a);var o={class:`nb-copy-button`},s={class:`nb-copy-button__status`,role:`status`},c=(0,r.defineComponent)({__name:`CopyButton`,props:{text:{},label:{default:void 0},copiedLabel:{default:void 0},size:{default:`xs`},duration:{default:1500}},emits:[`copied`,`error`],setup(e,{emit:c}){let l=e,u=n.useNbStrings(),d=(0,r.computed)(()=>l.label??u.value.copyButtonCopy),f=(0,r.computed)(()=>l.copiedLabel??u.value.copyButtonCopied),p=c,m=(0,r.ref)(!1),h;async function g(e){if(navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(e);return}catch{}let t=document.createElement(`textarea`);t.value=e,t.setAttribute(`readonly`,``),t.style.position=`fixed`,t.style.opacity=`0`,document.body.appendChild(t),t.select();let n=document.execCommand?.(`copy`)??!1;if(t.remove(),!n)throw Error(`The browser did not allow copying.`)}async function _(){try{await g(l.text)}catch(e){p(`error`,e);return}m.value=!0,p(`copied`,l.text),clearTimeout(h),h=setTimeout(()=>m.value=!1,l.duration)}return(0,r.onBeforeUnmount)(()=>clearTimeout(h)),(n,c)=>((0,r.openBlock)(),(0,r.createElementBlock)(`span`,o,[(0,r.createVNode)(t.t,{label:m.value?f.value:d.value,class:(0,r.normalizeClass)([`nb-copy-button__button`,{"nb-copy-button__button--copied":m.value}]),variant:`ghost`,size:e.size,icon:m.value?i:a,onClick:(0,r.withModifiers)(_,[`stop`,`prevent`]),onPointerdown:c[0]||=(0,r.withModifiers)(()=>{},[`stop`]),onMousedown:c[1]||=(0,r.withModifiers)(()=>{},[`stop`]),onDblclick:c[2]||=(0,r.withModifiers)(()=>{},[`stop`])},null,8,[`label`,`class`,`size`,`icon`]),(0,r.createElementVNode)(`span`,s,(0,r.toDisplayString)(m.value?f.value:``),1)]))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
|