@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,699 @@
|
|
|
1
|
+
import { prefersReducedMotion 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 "./Size.d-DY4ZHW3-.js";
|
|
5
|
+
import { useRouterLink as i } from "./composables/useRouterLink.composable.mjs";
|
|
6
|
+
import { t as a } from "./PrimaryAction.context-DZUcR5ER.js";
|
|
7
|
+
import { t as o } from "./Toolbar.context-Bli1SqM3.js";
|
|
8
|
+
import { computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, defineComponent as d, getCurrentInstance as f, inject as p, mergeProps as m, nextTick as ee, onBeforeUnmount as te, onMounted as ne, openBlock as h, renderSlot as re, resolveDynamicComponent as ie, unref as ae, useAttrs as oe, useSlots as se, withCtx as ce, withDirectives as le } from "vue";
|
|
9
|
+
//#region \0rolldown/runtime.js
|
|
10
|
+
var g = Object.defineProperty, _ = (e, t) => {
|
|
11
|
+
let n = {};
|
|
12
|
+
for (var r in e) g(n, r, {
|
|
13
|
+
get: e[r],
|
|
14
|
+
enumerable: !0
|
|
15
|
+
});
|
|
16
|
+
return t || g(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
17
|
+
}, v = /* @__PURE__ */ _({
|
|
18
|
+
devWarn: () => k,
|
|
19
|
+
renderTooltipContent: () => j
|
|
20
|
+
}), y = new Set([
|
|
21
|
+
"span",
|
|
22
|
+
"div",
|
|
23
|
+
"p",
|
|
24
|
+
"b",
|
|
25
|
+
"strong",
|
|
26
|
+
"em",
|
|
27
|
+
"i",
|
|
28
|
+
"u",
|
|
29
|
+
"s",
|
|
30
|
+
"small",
|
|
31
|
+
"code",
|
|
32
|
+
"kbd",
|
|
33
|
+
"br",
|
|
34
|
+
"ul",
|
|
35
|
+
"ol",
|
|
36
|
+
"li"
|
|
37
|
+
]), ue = new Set(["br"]), b = new Set([
|
|
38
|
+
"class",
|
|
39
|
+
"style",
|
|
40
|
+
"dir",
|
|
41
|
+
"lang"
|
|
42
|
+
]), x = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'"), de = new Set(/* @__PURE__ */ "color.background-color.font-family.font-size.font-style.font-variant.font-weight.letter-spacing.line-height.text-align.text-decoration.text-transform.white-space.word-break.overflow-wrap.opacity.display.flex-direction.align-items.justify-content.gap.margin.margin-top.margin-right.margin-bottom.margin-left.padding.padding-top.padding-right.padding-bottom.padding-left.max-width.min-width.border-radius".split(".")), fe = /url\(|image-set\(|expression\(|javascript:|@import|\\/i, S = /^[A-Za-z_-][A-Za-z0-9_-]*$/, C = (e) => e.split(";").map((e) => {
|
|
43
|
+
let t = e.indexOf(":");
|
|
44
|
+
if (t < 0) return "";
|
|
45
|
+
let n = e.slice(0, t).trim().toLowerCase(), r = e.slice(t + 1).trim();
|
|
46
|
+
return !n || !r ? "" : de.has(n) ? fe.test(r) ? (k(`style-value:${n}`, `The value of "${n}" was dropped: tooltip content may not load a resource or call a CSS function that does.`), "") : `${n}: ${r}` : (k(`style:${n}`, `"${n}" is not an allowed tooltip content style property and was dropped.`), "");
|
|
47
|
+
}).filter(Boolean).join("; "), pe = (e) => e.split(/\s+/).filter((e) => e ? S.test(e) ? !0 : (k(`class:${e}`, `"${e}" is not a valid class token for tooltip content and was dropped.`), !1) : !1).join(" "), me = (e, t) => e === "style" ? C(t) : e === "class" ? pe(t) : t, w = new Set([
|
|
48
|
+
"b",
|
|
49
|
+
"strong",
|
|
50
|
+
"em",
|
|
51
|
+
"i",
|
|
52
|
+
"u",
|
|
53
|
+
"s",
|
|
54
|
+
"small",
|
|
55
|
+
"code",
|
|
56
|
+
"kbd",
|
|
57
|
+
"br",
|
|
58
|
+
"p"
|
|
59
|
+
]), T = {
|
|
60
|
+
"<": "<",
|
|
61
|
+
">": ">",
|
|
62
|
+
"\"": """,
|
|
63
|
+
"'": "'"
|
|
64
|
+
}, E = (e) => e.replace(/&(?!(?:[a-zA-Z][a-zA-Z0-9]{1,10}|#\d{1,7}|#[xX][0-9a-fA-F]{1,6});)/g, "&").replace(/[<>"']/g, (e) => T[e]), D = (e) => e.split(/(<[^<>]*>)/g).map((e) => {
|
|
65
|
+
if (e.startsWith("<") && e.endsWith(">")) {
|
|
66
|
+
let t = /^<\s*(\/?)\s*([a-zA-Z][a-zA-Z0-9]*)\s*\/?\s*>$/.exec(e), n = t?.[2]?.toLowerCase();
|
|
67
|
+
return n && w.has(n) ? `<${t[1]}${n}>` : (n && k(`string-tag:${n}`, `<${n}> is not allowed in a tooltip string and was shown as text. Use the structured content form for anything richer.`), E(e));
|
|
68
|
+
}
|
|
69
|
+
return E(e).replace(/\n/g, "<br>");
|
|
70
|
+
}).join(""), O = /* @__PURE__ */ new Set(), k = (e, t) => {
|
|
71
|
+
typeof process < "u" && process.env.NODE_ENV === "production" || O.has(e) || (O.add(e), console.warn(`[nb-tooltip] ${t}`));
|
|
72
|
+
}, A = (e) => {
|
|
73
|
+
if (Array.isArray(e)) return e.map((e) => A(e)).join("");
|
|
74
|
+
if (!e || typeof e != "object" || !e.component) return "";
|
|
75
|
+
let { component: t, props: n = {}, children: r, content: i } = e, a = r === void 0 ? i : r, o = Array.isArray(a) ? A(a) : a === void 0 ? "" : D(String(a)), s = String(t).toLowerCase();
|
|
76
|
+
if (!y.has(s)) return k(`tag:${s}`, `<${s}> is not allowed in tooltip content and was dropped. Allowed tags: ${[...y].join(", ")}.`), o;
|
|
77
|
+
let c = Object.entries(n).filter(([e]) => b.has(e) ? !0 : (k(`prop:${e}`, `"${e}" is not an allowed tooltip content prop and was dropped. Allowed props: ${[...b].join(", ")}.`), !1)).map(([e, t]) => [e, me(e, String(t))]).filter(([, e]) => e !== "").map(([e, t]) => `${e}="${x(t)}"`).join(" "), l = `<${s}${c ? ` ${c}` : ""}>`;
|
|
78
|
+
return ue.has(s) ? l : `${l}${o}</${s}>`;
|
|
79
|
+
}, j = (e) => e ? typeof e == "string" ? D(e) : Array.isArray(e) ? A(e) : "" : "", M = Object.freeze({
|
|
80
|
+
micro: 70,
|
|
81
|
+
quick: 110,
|
|
82
|
+
short: 150,
|
|
83
|
+
medium: 240,
|
|
84
|
+
long: 400,
|
|
85
|
+
slow: 700
|
|
86
|
+
}), he = Object.freeze({
|
|
87
|
+
standard: "cubic-bezier(0.2, 0, 0.38, 0.9)",
|
|
88
|
+
enter: "cubic-bezier(0, 0, 0.38, 0.9)",
|
|
89
|
+
exit: "cubic-bezier(0.2, 0, 1, 0.9)",
|
|
90
|
+
"standard-expressive": "cubic-bezier(0.4, 0.14, 0.3, 1)",
|
|
91
|
+
"enter-expressive": "cubic-bezier(0, 0, 0.3, 1)",
|
|
92
|
+
"exit-expressive": "cubic-bezier(0.4, 0.14, 1, 1)"
|
|
93
|
+
}), ge = /* @__PURE__ */ _({
|
|
94
|
+
default: () => ft,
|
|
95
|
+
dismissAllTooltips: () => St,
|
|
96
|
+
nbTooltip: () => Y
|
|
97
|
+
}), N = (e) => e.status ?? e.flavor ?? "default", P = (e) => e.chipClass ?? e.classExtra, F = /* @__PURE__ */ new Set(), _e = 0, ve = () => `nb-tooltip-${++_e}`, ye = 900, be = 4e3, xe = 500, Se = 0, I = (e, t) => {
|
|
98
|
+
if (!e) return !1;
|
|
99
|
+
let n = Date.now() - e;
|
|
100
|
+
return n >= 0 && n < t;
|
|
101
|
+
}, Ce = !1, we = () => {
|
|
102
|
+
if (Ce || typeof document > "u") return;
|
|
103
|
+
Ce = !0;
|
|
104
|
+
let e = (e) => {
|
|
105
|
+
if (F.size === 0) return;
|
|
106
|
+
let t = e?.target;
|
|
107
|
+
t instanceof Element && t.closest(".nb-tooltip") || xt("dismiss");
|
|
108
|
+
};
|
|
109
|
+
document.addEventListener("pointerdown", () => {
|
|
110
|
+
Se = Date.now();
|
|
111
|
+
}, !0), document.addEventListener("dragstart", () => e(), !0), document.addEventListener("keydown", (t) => {
|
|
112
|
+
t.key === "Escape" && e();
|
|
113
|
+
}, !0), document.addEventListener("pointerdown", e, !0), window.addEventListener("blur", e), document.addEventListener("mouseleave", e);
|
|
114
|
+
}, Te = M.micro, Ee = 1e3, De = 2, Oe = (e) => {
|
|
115
|
+
let t = e.tooltipElement;
|
|
116
|
+
if (!t) return !1;
|
|
117
|
+
if (t.__hovered__) return !0;
|
|
118
|
+
try {
|
|
119
|
+
return t.isConnected && t.matches(":hover");
|
|
120
|
+
} catch {
|
|
121
|
+
return !1;
|
|
122
|
+
}
|
|
123
|
+
}, ke = (e) => {
|
|
124
|
+
if (!e.isConnected) return !1;
|
|
125
|
+
if (Oe(e) || e.__trigger__ === "focus" && e.contains(document.activeElement) || e.__trigger__ === "touch" && I(e.__lastTouchAt__, be)) return !0;
|
|
126
|
+
try {
|
|
127
|
+
return e.matches(":hover");
|
|
128
|
+
} catch {
|
|
129
|
+
return !0;
|
|
130
|
+
}
|
|
131
|
+
}, L = (e) => {
|
|
132
|
+
clearTimeout(e.__watchdogTimer__), e.__watchdogTimer__ = void 0, e.__watchdogMisses__ = 0;
|
|
133
|
+
}, Ae = (e) => {
|
|
134
|
+
L(e);
|
|
135
|
+
let t = () => {
|
|
136
|
+
if (!e.__chips__?.size) {
|
|
137
|
+
L(e);
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
if (ke(e)) e.__watchdogMisses__ = 0;
|
|
141
|
+
else {
|
|
142
|
+
if (e.__watchdogMisses__ = (e.__watchdogMisses__ ?? 0) + 1, !e.isConnected) {
|
|
143
|
+
Q(e, !0, "program");
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
if (e.__watchdogMisses__ >= De) {
|
|
147
|
+
Z(e, "dismiss");
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
e.__watchdogTimer__ = setTimeout(t, Ee);
|
|
152
|
+
};
|
|
153
|
+
e.__watchdogTimer__ = setTimeout(t, Ee);
|
|
154
|
+
}, R = /* @__PURE__ */ new Set(), z = null, je = (e) => `${Math.round(e.top)}:${Math.round(e.left)}:${Math.round(e.width)}:${Math.round(e.height)}`, Me = (e) => {
|
|
155
|
+
if (typeof getComputedStyle != "function") return !1;
|
|
156
|
+
let t;
|
|
157
|
+
try {
|
|
158
|
+
t = getComputedStyle(e);
|
|
159
|
+
} catch {
|
|
160
|
+
return !1;
|
|
161
|
+
}
|
|
162
|
+
let n = `${t.overflow} ${t.overflowX} ${t.overflowY}`;
|
|
163
|
+
return /hidden|scroll|auto|clip|overlay/.test(n);
|
|
164
|
+
}, Ne = (e) => {
|
|
165
|
+
let t = [], n = e.parentElement;
|
|
166
|
+
for (; n && n !== document.body && n !== document.documentElement;) Me(n) && t.push(n), n = n.parentElement;
|
|
167
|
+
return t;
|
|
168
|
+
}, B = (e) => !(e.width === 0 && e.height === 0 && e.top === 0 && e.left === 0), Pe = (e, t) => {
|
|
169
|
+
if (!e.isConnected) return !1;
|
|
170
|
+
if (!B(t)) return !0;
|
|
171
|
+
if (t.width === 0 || t.height === 0 || !(t.bottom > 0 && t.right > 0 && t.top < window.innerHeight && t.left < window.innerWidth)) return !1;
|
|
172
|
+
for (let n of e.__clippers__ ?? []) {
|
|
173
|
+
if (!n.isConnected) continue;
|
|
174
|
+
let e = n.getBoundingClientRect();
|
|
175
|
+
if (B(e) && (t.bottom <= e.top || t.top >= e.bottom || t.right <= e.left || t.left >= e.right)) return !1;
|
|
176
|
+
}
|
|
177
|
+
return !0;
|
|
178
|
+
}, Fe = (e) => {
|
|
179
|
+
let t = e.tooltipElement;
|
|
180
|
+
if (!t || !e.__chips__?.size) {
|
|
181
|
+
R.delete(e);
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
let n = e.getBoundingClientRect();
|
|
185
|
+
if (!Pe(e, n)) {
|
|
186
|
+
e.__offscreenReported__ || (e.__offscreenReported__ = !0, Z(e, "dismiss"));
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
e.__offscreenReported__ = !1, e.__lastRect__ = je(n), e.__side__ !== "cursor" && $(e, t, e.__requestedSide__ ?? e.__side__);
|
|
190
|
+
}, V = () => {
|
|
191
|
+
Be();
|
|
192
|
+
for (let e of Array.from(R)) Fe(e);
|
|
193
|
+
}, Ie = 100, Le = 320, Re = 0, ze = 0, Be = () => {
|
|
194
|
+
ze = Date.now() + Le;
|
|
195
|
+
}, H = () => {
|
|
196
|
+
if (R.size === 0) {
|
|
197
|
+
z = null;
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
let e = Date.now();
|
|
201
|
+
if (e >= ze && e - Re < Ie) {
|
|
202
|
+
z = requestAnimationFrame(H);
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
Re = e;
|
|
206
|
+
for (let e of Array.from(R)) {
|
|
207
|
+
if (!e.tooltipElement) {
|
|
208
|
+
R.delete(e);
|
|
209
|
+
continue;
|
|
210
|
+
}
|
|
211
|
+
je(e.getBoundingClientRect()) !== e.__lastRect__ && (Be(), Fe(e));
|
|
212
|
+
}
|
|
213
|
+
z = requestAnimationFrame(H);
|
|
214
|
+
}, U = !1, Ve = (e) => {
|
|
215
|
+
R.add(e), e.__lastRect__ = void 0, e.__clippers__ = Ne(e), !(typeof window > "u") && (U || (U = !0, document.addEventListener("scroll", V, {
|
|
216
|
+
capture: !0,
|
|
217
|
+
passive: !0
|
|
218
|
+
}), window.addEventListener("resize", V, { passive: !0 })), z === null && typeof requestAnimationFrame == "function" && (z = requestAnimationFrame(H)));
|
|
219
|
+
}, W = (e) => {
|
|
220
|
+
R.delete(e), e.__lastRect__ = void 0, e.__clippers__ = void 0, !(R.size > 0 || typeof window > "u") && (U && (U = !1, document.removeEventListener("scroll", V, { capture: !0 }), window.removeEventListener("resize", V)), z !== null && typeof cancelAnimationFrame == "function" && (cancelAnimationFrame(z), z = null));
|
|
221
|
+
}, He = (t, n, r) => {
|
|
222
|
+
if (t.__chips__?.delete(n), clearTimeout(n.__removeTimer__), n.__removeTimer__ = void 0, r || e()) {
|
|
223
|
+
n.remove();
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
226
|
+
n.style.animation = "tooltipDisappear var(--nb-motion-micro) var(--nb-ease-exit) forwards", n.__removeTimer__ = setTimeout(() => {
|
|
227
|
+
n.__removeTimer__ = void 0, n.remove();
|
|
228
|
+
}, Te);
|
|
229
|
+
}, Ue = (e, t) => {
|
|
230
|
+
if (W(e), e.__trigger__ = void 0, e.__side__ = void 0, e.__chips__) for (let n of Array.from(e.__chips__)) He(e, n, t);
|
|
231
|
+
e.tooltipElement = void 0, e.__lastContent__ = void 0, L(e);
|
|
232
|
+
}, We = "a[href], button, input, select, textarea, summary, [tabindex]", G = "data-nb-tooltip-anchor", Ge = (e, t) => {
|
|
233
|
+
let n = t.target;
|
|
234
|
+
if (!(n instanceof Element) || n === e) return !0;
|
|
235
|
+
let r = n.closest(`[${G}]`);
|
|
236
|
+
return r === null || r === e;
|
|
237
|
+
}, Ke = "button, a[href], [role=\"button\"], [role=\"tab\"], [role=\"menuitem\"], input, select, textarea, label", qe = (e) => {
|
|
238
|
+
let t = e.closest(Ke);
|
|
239
|
+
return !t || t.disabled === !0 ? !1 : t.getAttribute("aria-disabled") !== "true";
|
|
240
|
+
}, K = (e) => {
|
|
241
|
+
if (!e) return "";
|
|
242
|
+
if (typeof e == "string") return e.replace(/<[^>]*>/g, " ").replace(/ /g, " ").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, "\"").replace(/'/g, "'").replace(/\s+/g, " ").trim();
|
|
243
|
+
if (Array.isArray(e)) return e.map((e) => K(e)).filter(Boolean).join(" ");
|
|
244
|
+
if (typeof e == "object") {
|
|
245
|
+
let t = e;
|
|
246
|
+
return K(t.children ?? t.content);
|
|
247
|
+
}
|
|
248
|
+
return "";
|
|
249
|
+
}, Je = (e) => [
|
|
250
|
+
K(e.header),
|
|
251
|
+
K(e.body),
|
|
252
|
+
K(e.tip)
|
|
253
|
+
].filter(Boolean).join(". "), Ye = (e) => {
|
|
254
|
+
if (e.hasAttribute("aria-labelledby") || e.hasAttribute("aria-label") && !e.__ownsAriaLabel__ || e.hasAttribute("title") || (e.textContent ?? "").trim().length > 0) return !0;
|
|
255
|
+
let t = e.querySelector("img[alt]");
|
|
256
|
+
return !!t && (t.getAttribute("alt") ?? "").trim().length > 0;
|
|
257
|
+
}, Xe = (e, t) => {
|
|
258
|
+
let n = t.aria ?? "auto";
|
|
259
|
+
return n === "auto" ? Ye(e) ? "description" : "label" : n;
|
|
260
|
+
}, Ze = (e, t) => {
|
|
261
|
+
if (!t || Xe(e, t) !== "label") {
|
|
262
|
+
e.__ownsAriaLabel__ &&= (e.removeAttribute("aria-label"), !1), e.__ownsRole__ &&= (e.removeAttribute("role"), !1);
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
let n = Je(t);
|
|
266
|
+
n && (e.setAttribute("aria-label", n), e.__ownsAriaLabel__ = !0, !e.__ownsRole__ && !e.hasAttribute("role") && !e.matches(We) && (e.setAttribute("role", "img"), e.__ownsRole__ = !0));
|
|
267
|
+
}, q = (e, t) => {
|
|
268
|
+
let n = !!t?.focusable;
|
|
269
|
+
if (n && !e.__ownsTabIndex__) {
|
|
270
|
+
if (e.matches(We) || e.hasAttribute("tabindex")) return;
|
|
271
|
+
e.setAttribute("tabindex", "0"), e.__ownsTabIndex__ = !0;
|
|
272
|
+
return;
|
|
273
|
+
}
|
|
274
|
+
!n && e.__ownsTabIndex__ && (e.removeAttribute("tabindex"), e.__ownsTabIndex__ = !1);
|
|
275
|
+
}, Qe = (e, t) => {
|
|
276
|
+
e.__prevDescribedBy__ = e.getAttribute("aria-describedby");
|
|
277
|
+
let n = [e.__prevDescribedBy__, t].filter(Boolean).join(" ");
|
|
278
|
+
e.setAttribute("aria-describedby", n);
|
|
279
|
+
}, $e = (e) => {
|
|
280
|
+
e.__prevDescribedBy__ !== void 0 && (e.__prevDescribedBy__ ? e.setAttribute("aria-describedby", e.__prevDescribedBy__) : e.removeAttribute("aria-describedby"), e.__prevDescribedBy__ = void 0);
|
|
281
|
+
}, et = "nb-tooltip-description", tt = (e) => !!e && !!(e.body || e.header || e.tip), nt = (e, t) => {
|
|
282
|
+
if (typeof document > "u") return;
|
|
283
|
+
let n = t && tt(t) && Xe(e, t) === "description" ? Je(t) : "";
|
|
284
|
+
if (!n) {
|
|
285
|
+
rt(e);
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
let r = e.__descNode__;
|
|
289
|
+
r || (r = document.createElement("span"), r.className = et, r.id = ve(), r.setAttribute("role", "tooltip"), document.body.appendChild(r), e.__descNode__ = r, Qe(e, r.id)), e.__descText__ !== n && (r.textContent = n, e.__descText__ = n);
|
|
290
|
+
}, rt = (e) => {
|
|
291
|
+
e.__descNode__ && ($e(e), e.__descNode__.remove(), e.__descNode__ = void 0, e.__descText__ = void 0);
|
|
292
|
+
}, it = (e, t) => {
|
|
293
|
+
if (tt(t)) {
|
|
294
|
+
e.__prevTitle__ === void 0 && e.hasAttribute("title") && (e.__prevTitle__ = e.getAttribute("title") ?? "", e.removeAttribute("title"));
|
|
295
|
+
return;
|
|
296
|
+
}
|
|
297
|
+
at(e);
|
|
298
|
+
}, at = (e) => {
|
|
299
|
+
e.__prevTitle__ !== void 0 && (e.hasAttribute("title") || e.setAttribute("title", e.__prevTitle__), e.__prevTitle__ = void 0);
|
|
300
|
+
}, J = (e, t) => {
|
|
301
|
+
it(e, t), Ze(e, t), nt(e, t);
|
|
302
|
+
}, ot = (e) => e.disabled === !0 ? !0 : !!e.closest?.("fieldset[disabled]") && !e.closest?.("fieldset[disabled] > legend:first-of-type"), st = (e, t, n) => t >= e.left && t <= e.right && n >= e.top && n <= e.bottom, ct = (e) => {
|
|
303
|
+
let t = e.__proxyHost__;
|
|
304
|
+
t && (e.__proxyMove__ && t.removeEventListener("mousemove", e.__proxyMove__), e.__proxyLeave__ && t.removeEventListener("mouseleave", e.__proxyLeave__), e.__proxyHost__ = void 0, e.__proxyMove__ = void 0, e.__proxyLeave__ = void 0, e.__proxyInside__ = !1);
|
|
305
|
+
}, lt = (e) => {
|
|
306
|
+
let t = e.__tooltipBinding__ && ot(e) ? e.parentElement : null;
|
|
307
|
+
e.__proxyHost__ !== t && (ct(e), t && (e.__proxyMove__ = ((t) => {
|
|
308
|
+
let n = t;
|
|
309
|
+
if (n.buttons) return;
|
|
310
|
+
let r = e.getBoundingClientRect();
|
|
311
|
+
if (B(r) ? st(r, n.clientX, n.clientY) : t.target === e || e.contains(t.target)) {
|
|
312
|
+
e.__mouseX__ = n.clientX, e.__mouseY__ = n.clientY, e.__proxyInside__ ? e.__tooltipBinding__?.followCursor && $(e, e.tooltipElement, e.__requestedSide__) : (e.__proxyInside__ = !0, e.__showTooltip__?.("pointer"));
|
|
313
|
+
return;
|
|
314
|
+
}
|
|
315
|
+
e.__proxyInside__ && (e.__proxyInside__ = !1, e.__hideTooltip__?.(void 0, "pointer"));
|
|
316
|
+
}), e.__proxyLeave__ = (() => {
|
|
317
|
+
e.__proxyInside__ && (e.__proxyInside__ = !1, e.__hideTooltip__?.(void 0, "pointer"));
|
|
318
|
+
}), t.addEventListener("mousemove", e.__proxyMove__), t.addEventListener("mouseleave", e.__proxyLeave__), e.__proxyHost__ = t));
|
|
319
|
+
}, ut = (e) => {
|
|
320
|
+
e.onOpenChange || k("controlled-no-handler", "a tooltip was given `open` but no `onOpenChange`, so nothing the user does (hover, blur, Escape) can change it. Either handle `onOpenChange` or drop `open` and let the directive own visibility.");
|
|
321
|
+
}, dt = (e, t) => {
|
|
322
|
+
if (!t) return;
|
|
323
|
+
let n = t.open === void 0 ? e.__openState__ === void 0 && t.defaultOpen ? !0 : void 0 : t.open;
|
|
324
|
+
n !== void 0 && n !== (e.__openState__ === !0 || !!e.__showTimer__) && (n ? e.__showTooltip__?.("program") : e.__hideTooltip__?.(0, "program"));
|
|
325
|
+
}, Y = {
|
|
326
|
+
mounted(e, t) {
|
|
327
|
+
we(), e.__showTooltip__ = (t = "pointer") => {
|
|
328
|
+
let n = e.__tooltipBinding__;
|
|
329
|
+
if (n) {
|
|
330
|
+
if (n.open !== void 0 && t !== "program") {
|
|
331
|
+
ut(n), n.onOpenChange?.(!0, t);
|
|
332
|
+
return;
|
|
333
|
+
}
|
|
334
|
+
clearTimeout(e.__hideTimer__), e.__hideTimer__ = void 0, ht(e, n, t);
|
|
335
|
+
}
|
|
336
|
+
}, e.__hideTooltip__ = (t = e.__tooltipBinding__?.hideDelay ?? 150, n = "dismiss") => {
|
|
337
|
+
let r = e.__tooltipBinding__;
|
|
338
|
+
if (r?.open !== void 0 && n !== "program") {
|
|
339
|
+
ut(r), r.onOpenChange?.(!1, n);
|
|
340
|
+
return;
|
|
341
|
+
}
|
|
342
|
+
if (clearTimeout(e.__hideTimer__), t <= 0) {
|
|
343
|
+
e.__hideTimer__ = void 0, Q(e, !0, n);
|
|
344
|
+
return;
|
|
345
|
+
}
|
|
346
|
+
e.__hideTimer__ = setTimeout(() => {
|
|
347
|
+
e.__hideTimer__ = void 0, Q(e, t <= 0, n);
|
|
348
|
+
}, t);
|
|
349
|
+
}, e.__mouseMove__ = (t) => {
|
|
350
|
+
e.__mouseX__ = t.clientX, e.__mouseY__ = t.clientY, e.__tooltipBinding__?.followCursor && $(e, e.tooltipElement, e.__tooltipBinding__?.position);
|
|
351
|
+
}, e.__tooltipBinding__ = t.value, e.__showHandler__ = (t) => {
|
|
352
|
+
if (I(e.__lastTouchAt__, ye)) return;
|
|
353
|
+
let n = t;
|
|
354
|
+
n.buttons || (typeof n.clientX == "number" && (n.clientX || n.clientY) && (e.__mouseX__ = n.clientX, e.__mouseY__ = n.clientY), e.__showTooltip__?.("pointer"));
|
|
355
|
+
}, e.__hideHandler__ = () => e.__hideTooltip__?.(void 0, "pointer"), e.__focusHandler__ = (t) => {
|
|
356
|
+
I(Se, xe) || Ge(e, t) && e.__showTooltip__?.("focus");
|
|
357
|
+
}, e.__blurHandler__ = () => e.__hideTooltip__?.(void 0, "focus"), e.__touchHandler__ = (t) => {
|
|
358
|
+
e.__tooltipBinding__?.touch !== !1 && Ge(e, t) && (e.__lastTouchAt__ = Date.now(), !qe(e) && (e.__showTooltip__?.("touch"), e.__hideTooltip__?.(be, "touch")));
|
|
359
|
+
}, q(e, t.value), J(e, t.value), e.setAttribute(G, ""), e.addEventListener("mouseenter", e.__showHandler__), e.addEventListener("mouseleave", e.__hideHandler__), e.addEventListener("mousemove", e.__mouseMove__), e.addEventListener("focusin", e.__focusHandler__), e.addEventListener("focusout", e.__blurHandler__), e.addEventListener("touchstart", e.__touchHandler__, { passive: !0 }), lt(e), dt(e, t.value);
|
|
360
|
+
},
|
|
361
|
+
updated(e, t) {
|
|
362
|
+
let n = e.__tooltipBinding__;
|
|
363
|
+
if (e.__tooltipBinding__ = t.value, !t.value) {
|
|
364
|
+
J(e, void 0), q(e, void 0), Q(e, !0);
|
|
365
|
+
return;
|
|
366
|
+
}
|
|
367
|
+
if (n !== t.value && (J(e, t.value), q(e, t.value)), lt(e), dt(e, t.value), !e.tooltipElement || n === t.value) return;
|
|
368
|
+
let r = mt(t.value);
|
|
369
|
+
r !== e.__lastContent__ && (e.__lastContent__ = r, gt(e, t.value));
|
|
370
|
+
},
|
|
371
|
+
unmounted(e) {
|
|
372
|
+
clearTimeout(e.__showTimer__), e.__showTimer__ = void 0, clearTimeout(e.__hideTimer__), e.__hideTimer__ = void 0, Q(e, !0), F.delete(e), e.__showHandler__ && e.removeEventListener("mouseenter", e.__showHandler__), e.__hideHandler__ && e.removeEventListener("mouseleave", e.__hideHandler__), e.__focusHandler__ && e.removeEventListener("focusin", e.__focusHandler__), e.__blurHandler__ && e.removeEventListener("focusout", e.__blurHandler__), e.__touchHandler__ && e.removeEventListener("touchstart", e.__touchHandler__), rt(e), at(e), e.__ownsAriaLabel__ &&= (e.removeAttribute("aria-label"), !1), e.__ownsTabIndex__ &&= (e.removeAttribute("tabindex"), !1), e.__ownsRole__ &&= (e.removeAttribute("role"), !1), e.removeAttribute(G), ct(e), e.__mouseMove__ && e.removeEventListener("mousemove", e.__mouseMove__), W(e);
|
|
373
|
+
}
|
|
374
|
+
}, ft = (e) => {
|
|
375
|
+
we();
|
|
376
|
+
let t = e.config.globalProperties.$router;
|
|
377
|
+
t && t.beforeEach(() => {
|
|
378
|
+
F.forEach((e) => e?.__hideTooltip__?.(0, "program")), F.clear();
|
|
379
|
+
}), e.directive("nb-tooltip", Y);
|
|
380
|
+
}, X = ({ header: e = "", body: t = "", tip: n = "" }) => `<div class="nb-tooltip-content"><div class="nb-tooltip-header">${j(e)}</div><div class="nb-tooltip-body">${j(t)}</div><div class="nb-tooltip-tip">${j(n)}</div></div>`, pt = (e, t, n) => [
|
|
381
|
+
"nb-tooltip",
|
|
382
|
+
`nb-tooltip-${e}`,
|
|
383
|
+
t ? `nb-tooltip-flavor-${t}` : "",
|
|
384
|
+
n || ""
|
|
385
|
+
].filter(Boolean).join(" "), mt = (e) => `${e.position ?? ""}|${N(e)}|${P(e) ?? ""}|${X(e)}`, ht = (t, n, r = "pointer") => {
|
|
386
|
+
let { header: i, body: a, tip: o, delay: s = 400, animationTime: c, position: l, overflowOnly: u } = n, d = N(n), f = P(n);
|
|
387
|
+
if (clearTimeout(t.__showTimer__), t.__showTimer__ = void 0, Ue(t, !0), u) {
|
|
388
|
+
let e = t.getBoundingClientRect();
|
|
389
|
+
if (!(Math.round(e.width) < Math.round(t.scrollWidth))) return;
|
|
390
|
+
}
|
|
391
|
+
if (!(a || i || o)) return;
|
|
392
|
+
let p = r === "pointer" ? s : 0, m = e();
|
|
393
|
+
t.__showTimer__ = setTimeout(() => {
|
|
394
|
+
if (t.__showTimer__ = void 0, !t.isConnected) return;
|
|
395
|
+
let e = r === "pointer" ? l ?? "cursor" : l && l !== "cursor" ? l : "top";
|
|
396
|
+
for (let e of Array.from(R)) e !== t && Z(e, "superseded");
|
|
397
|
+
let s = document.createElement("span");
|
|
398
|
+
if (s.className = pt(e, d, f), s.innerHTML = X({
|
|
399
|
+
header: i,
|
|
400
|
+
body: a,
|
|
401
|
+
tip: o
|
|
402
|
+
}), s.addEventListener("mouseenter", () => {
|
|
403
|
+
s.__hovered__ = !0, clearTimeout(t.__hideTimer__), t.__hideTimer__ = void 0, t.__watchdogMisses__ = 0;
|
|
404
|
+
}), s.addEventListener("mouseleave", () => {
|
|
405
|
+
s.__hovered__ = !1, t.__hideTooltip__?.();
|
|
406
|
+
}), m) s.style.opacity = "1";
|
|
407
|
+
else {
|
|
408
|
+
let e = c === void 0 ? "var(--nb-motion-quick)" : `${c}ms`;
|
|
409
|
+
s.style.transition = `opacity ${e} ease-in-out`, s.style.animation = `tooltipAppear ${e} var(--nb-ease-enter) forwards`;
|
|
410
|
+
}
|
|
411
|
+
s.setAttribute("aria-hidden", "true"), t.__trigger__ = r, t.tooltipElement = s, (t.__chips__ ??= /* @__PURE__ */ new Set()).add(s), t.__lastContent__ = mt(n), F.add(t), document.body.appendChild(s), t.__requestedSide__ = e, t.__side__ = e, $(t, s, e), Ve(t), Ae(t);
|
|
412
|
+
let u = t.__openState__ === !0;
|
|
413
|
+
t.__openState__ = !0, u || n.onOpenChange?.(!0, r);
|
|
414
|
+
}, p);
|
|
415
|
+
}, Z = (e, t, n = !0) => {
|
|
416
|
+
if (e.__hideTooltip__) {
|
|
417
|
+
e.__hideTooltip__(n ? 0 : void 0, t);
|
|
418
|
+
return;
|
|
419
|
+
}
|
|
420
|
+
Q(e, n, t);
|
|
421
|
+
}, Q = (e, t = !1, n = "dismiss") => {
|
|
422
|
+
clearTimeout(e.__showTimer__), e.__showTimer__ = void 0;
|
|
423
|
+
let r = e.__openState__ === !0;
|
|
424
|
+
Ue(e, t), F.delete(e), e.__requestedSide__ = void 0, r && (e.__openState__ = !1, e.__tooltipBinding__?.onOpenChange?.(!1, n));
|
|
425
|
+
}, gt = (e, t) => {
|
|
426
|
+
let { header: n, body: r, tip: i, position: a } = t, o = N(t), s = P(t), c = e.__requestedSide__ ?? e.__side__ ?? a, l = e.tooltipElement;
|
|
427
|
+
l && (l.innerHTML = X({
|
|
428
|
+
header: n,
|
|
429
|
+
body: r,
|
|
430
|
+
tip: i
|
|
431
|
+
}), l.className = pt(e.__side__ ?? c ?? "cursor", o, s), $(e, l, c));
|
|
432
|
+
};
|
|
433
|
+
function _t(e, t, n, r, i, a, o) {
|
|
434
|
+
switch (e) {
|
|
435
|
+
case "top": return {
|
|
436
|
+
top: t.top - (r + i * 2),
|
|
437
|
+
left: t.left + t.width / 2 - (n / 2 + i / 2)
|
|
438
|
+
};
|
|
439
|
+
case "bottom": return {
|
|
440
|
+
top: t.bottom + i,
|
|
441
|
+
left: t.left + t.width / 2 - (n / 2 + i / 2)
|
|
442
|
+
};
|
|
443
|
+
case "left": return {
|
|
444
|
+
top: t.top + t.height / 2 - r / 2,
|
|
445
|
+
left: t.left - (n + i * 2)
|
|
446
|
+
};
|
|
447
|
+
case "right": return {
|
|
448
|
+
top: t.top + t.height / 2 - r / 2,
|
|
449
|
+
left: t.right + i
|
|
450
|
+
};
|
|
451
|
+
default: return {
|
|
452
|
+
top: o + vt,
|
|
453
|
+
left: a + vt
|
|
454
|
+
};
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
var vt = 14;
|
|
458
|
+
function yt(e, t, n, r, i) {
|
|
459
|
+
return t >= i && e >= i && t + n <= window.innerWidth - i && e + r <= window.innerHeight - i;
|
|
460
|
+
}
|
|
461
|
+
var bt = {
|
|
462
|
+
top: [
|
|
463
|
+
"bottom",
|
|
464
|
+
"right",
|
|
465
|
+
"left"
|
|
466
|
+
],
|
|
467
|
+
bottom: [
|
|
468
|
+
"top",
|
|
469
|
+
"right",
|
|
470
|
+
"left"
|
|
471
|
+
],
|
|
472
|
+
left: [
|
|
473
|
+
"right",
|
|
474
|
+
"top",
|
|
475
|
+
"bottom"
|
|
476
|
+
],
|
|
477
|
+
right: [
|
|
478
|
+
"left",
|
|
479
|
+
"top",
|
|
480
|
+
"bottom"
|
|
481
|
+
],
|
|
482
|
+
cursor: []
|
|
483
|
+
}, $ = (e, t, n) => {
|
|
484
|
+
if (!t) return;
|
|
485
|
+
let r = e.getBoundingClientRect(), i = t.getBoundingClientRect(), a = i.width || 0, o = i.height || 0, s = e.__mouseX__ ?? 0, c = e.__mouseY__ ?? 0, l = n ?? "cursor", u = (e) => _t(e, r, a, o, 4, s, c), d = u(l), f = l;
|
|
486
|
+
if (a > 0 && o > 0 && !yt(d.top, d.left, a, o, 16)) for (let e of bt[l]) {
|
|
487
|
+
let t = u(e);
|
|
488
|
+
if (yt(t.top, t.left, a, o, 16)) {
|
|
489
|
+
d = t, f = e;
|
|
490
|
+
break;
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
let { top: p, left: m } = d;
|
|
494
|
+
if (a > 0 && o > 0) {
|
|
495
|
+
let e = window.innerWidth - a - 16, t = window.innerHeight - o - 16;
|
|
496
|
+
m > e && (m = e), m < 16 && (m = 16), p > t && (p = t), p < 16 && (p = 16);
|
|
497
|
+
}
|
|
498
|
+
if (f !== "cursor") {
|
|
499
|
+
for (let e of [
|
|
500
|
+
"top",
|
|
501
|
+
"bottom",
|
|
502
|
+
"left",
|
|
503
|
+
"right"
|
|
504
|
+
]) t.classList.remove(`nb-tooltip-${e}`);
|
|
505
|
+
t.classList.add(`nb-tooltip-${f}`);
|
|
506
|
+
}
|
|
507
|
+
if (e.__side__ = f, a > 0 && o > 0 && f !== "cursor") {
|
|
508
|
+
let e = r.left + r.width / 2, n = r.top + r.height / 2;
|
|
509
|
+
if (f === "top" || f === "bottom") {
|
|
510
|
+
let n = Math.max(8, Math.min(a - 8, e - m)) / a * 100;
|
|
511
|
+
t.style.setProperty("--nb-tooltip-arrow-offset", `${n}%`);
|
|
512
|
+
} else {
|
|
513
|
+
let e = Math.max(8, Math.min(o - 8, n - p)) / o * 100;
|
|
514
|
+
t.style.setProperty("--nb-tooltip-arrow-offset", `${e}%`);
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
t.style.top = `${p}px`, t.style.left = `${m}px`;
|
|
518
|
+
};
|
|
519
|
+
function xt(e) {
|
|
520
|
+
for (let t of Array.from(F)) t.__hideTooltip__?.(0, e);
|
|
521
|
+
let t = /* @__PURE__ */ new Set();
|
|
522
|
+
for (let e of Array.from(F)) for (let n of e.__chips__ ?? []) t.add(n);
|
|
523
|
+
document.querySelectorAll("span.nb-tooltip").forEach((e) => {
|
|
524
|
+
t.has(e) || e.remove();
|
|
525
|
+
});
|
|
526
|
+
}
|
|
527
|
+
function St() {
|
|
528
|
+
for (let e of Array.from(F)) e.__hideTooltip__?.(0, "program");
|
|
529
|
+
F.clear();
|
|
530
|
+
for (let e of Array.from(R)) W(e);
|
|
531
|
+
document.querySelectorAll("span.nb-tooltip").forEach((e) => e.remove());
|
|
532
|
+
}
|
|
533
|
+
//#endregion
|
|
534
|
+
//#region src/components/Button.d.ts
|
|
535
|
+
var Ct = /* @__PURE__ */ function(e) {
|
|
536
|
+
return e.Button = "button", e.Submit = "submit", e.Reset = "reset", e;
|
|
537
|
+
}(Ct || {}), wt = {
|
|
538
|
+
key: 0,
|
|
539
|
+
class: "nb-button__label"
|
|
540
|
+
}, Tt = {
|
|
541
|
+
key: 1,
|
|
542
|
+
class: "nb-button__decorations"
|
|
543
|
+
}, Et = {
|
|
544
|
+
key: 0,
|
|
545
|
+
class: "nb-button__spinner",
|
|
546
|
+
"aria-hidden": "true"
|
|
547
|
+
}, Dt = /* @__PURE__ */ new Set();
|
|
548
|
+
function Ot(e) {
|
|
549
|
+
if (typeof e == "string") return e;
|
|
550
|
+
if (e && (typeof e == "object" || typeof e == "function")) {
|
|
551
|
+
let t = e;
|
|
552
|
+
if (typeof t.glyphName == "string") return t.glyphName;
|
|
553
|
+
}
|
|
554
|
+
return "";
|
|
555
|
+
}
|
|
556
|
+
//#endregion
|
|
557
|
+
//#region src/components/Button.vue
|
|
558
|
+
var kt = /* @__PURE__ */ t(/* @__PURE__ */ d({
|
|
559
|
+
__name: "Button",
|
|
560
|
+
props: {
|
|
561
|
+
variant: { default: void 0 },
|
|
562
|
+
outlined: {
|
|
563
|
+
type: Boolean,
|
|
564
|
+
default: !1
|
|
565
|
+
},
|
|
566
|
+
size: { default: void 0 },
|
|
567
|
+
disabled: {
|
|
568
|
+
type: Boolean,
|
|
569
|
+
default: !1
|
|
570
|
+
},
|
|
571
|
+
loading: {
|
|
572
|
+
type: Boolean,
|
|
573
|
+
default: !1
|
|
574
|
+
},
|
|
575
|
+
icon: { default: void 0 },
|
|
576
|
+
iconWeight: { default: "regular" },
|
|
577
|
+
label: { default: void 0 },
|
|
578
|
+
disabledReason: { default: void 0 },
|
|
579
|
+
tooltipPosition: { default: "bottom" },
|
|
580
|
+
pressed: {
|
|
581
|
+
type: Boolean,
|
|
582
|
+
default: void 0
|
|
583
|
+
},
|
|
584
|
+
type: { default: Ct.Button },
|
|
585
|
+
href: { default: void 0 },
|
|
586
|
+
target: { default: void 0 },
|
|
587
|
+
rel: { default: void 0 },
|
|
588
|
+
to: { default: void 0 }
|
|
589
|
+
},
|
|
590
|
+
emits: ["click"],
|
|
591
|
+
setup(e, { emit: t }) {
|
|
592
|
+
let d = e, g = t, _ = s(() => d.variant === "tertiary" ? "primary" : d.variant === "danger-tertiary" ? "danger" : d.variant), v = s(() => d.outlined || d.variant === "tertiary" || d.variant === "danger-tertiary"), y = p(o, null), ue = s(() => d.size ?? y?.size.value ?? r.Medium), b = p(a, null), x = null;
|
|
593
|
+
ne(() => {
|
|
594
|
+
b && _.value === "primary" && !v.value && (x = b.register());
|
|
595
|
+
}), te(() => x?.());
|
|
596
|
+
let de = se(), fe = oe(), S = s(() => !de.default && !!(d.icon || d.loading)), C = s(() => !!(d.loading || d.icon)), pe = s(() => {
|
|
597
|
+
if (!(!S.value || !d.label)) return fe["aria-label"] ?? d.label;
|
|
598
|
+
}), me = s(() => {
|
|
599
|
+
let e = d.tooltipPosition;
|
|
600
|
+
return E.value ? {
|
|
601
|
+
header: S.value ? d.label : void 0,
|
|
602
|
+
body: d.disabledReason,
|
|
603
|
+
aria: "description",
|
|
604
|
+
position: e
|
|
605
|
+
} : S.value && d.label ? {
|
|
606
|
+
body: d.label,
|
|
607
|
+
aria: "none",
|
|
608
|
+
position: e
|
|
609
|
+
} : void 0;
|
|
610
|
+
}), w = i(), T = s(() => d.disabled || d.loading), E = s(() => d.disabled && !!d.disabledReason), D = s(() => A.value === "button" && T.value && !E.value ? !0 : void 0), O = s(() => d.to != null && !!w.value && !T.value), k = s(() => {
|
|
611
|
+
if (typeof d.to == "string") return d.to;
|
|
612
|
+
if (d.href) return d.href;
|
|
613
|
+
}), A = s(() => O.value ? w.value : k.value || d.to != null && w.value ? "a" : "button"), j = s(() => A.value === "a" ? T.value ? { role: "link" } : {
|
|
614
|
+
href: k.value,
|
|
615
|
+
target: d.target,
|
|
616
|
+
rel: d.rel
|
|
617
|
+
} : {});
|
|
618
|
+
function M(e) {
|
|
619
|
+
if (T.value) {
|
|
620
|
+
e.preventDefault();
|
|
621
|
+
return;
|
|
622
|
+
}
|
|
623
|
+
g("click", e);
|
|
624
|
+
}
|
|
625
|
+
let he = {
|
|
626
|
+
xxs: 16,
|
|
627
|
+
xs: 16,
|
|
628
|
+
sm: 16,
|
|
629
|
+
md: 16,
|
|
630
|
+
lg: 16,
|
|
631
|
+
xl: 16,
|
|
632
|
+
xxl: 16
|
|
633
|
+
}, ge = {
|
|
634
|
+
xxs: 16,
|
|
635
|
+
xs: 16,
|
|
636
|
+
sm: 16,
|
|
637
|
+
md: 20,
|
|
638
|
+
lg: 20,
|
|
639
|
+
xl: 24,
|
|
640
|
+
xxl: 32
|
|
641
|
+
}, N = s(() => (S.value ? ge : he)[ue.value] ?? (S.value ? 20 : 16)), P = f();
|
|
642
|
+
return ne(() => {
|
|
643
|
+
typeof process < "u" && process.env.NODE_ENV === "production" || S.value && ee(() => {
|
|
644
|
+
let e = P?.proxy?.$el;
|
|
645
|
+
if (!e || typeof e.getAttribute != "function" || [
|
|
646
|
+
"aria-label",
|
|
647
|
+
"aria-labelledby",
|
|
648
|
+
"title"
|
|
649
|
+
].some((t) => (e.getAttribute(t) ?? "").trim().length > 0) || (e.textContent ?? "").trim().length > 0) return;
|
|
650
|
+
let t = Ot(d.icon);
|
|
651
|
+
Dt.has(t) || (Dt.add(t), console.warn(`[NbButton] An icon-only button${t ? ` (icon "${t}")` : ""} has no accessible name, so a screen reader announces it as "button". Give it a \`label\`, which names it and shows the same words as its tooltip.`, e));
|
|
652
|
+
});
|
|
653
|
+
}), (t, r) => le((h(), c(ie(A.value), m({
|
|
654
|
+
class: [
|
|
655
|
+
"nb-button",
|
|
656
|
+
_.value ? `nb-button--${_.value}` : null,
|
|
657
|
+
`nb-button--${ue.value}`,
|
|
658
|
+
{ "nb-button--outlined": v.value },
|
|
659
|
+
{ "nb-button--loading": e.loading },
|
|
660
|
+
{ "nb-button--icon-only": S.value },
|
|
661
|
+
{ "nb-button--with-icon": C.value && !S.value },
|
|
662
|
+
{ "nb-button--pressed": e.pressed },
|
|
663
|
+
{ "nb-button--flush": ae(y)?.flush.value },
|
|
664
|
+
{ "nb-button--explained": E.value }
|
|
665
|
+
],
|
|
666
|
+
to: O.value ? e.to : void 0
|
|
667
|
+
}, j.value, {
|
|
668
|
+
disabled: D.value,
|
|
669
|
+
"aria-disabled": T.value && !D.value ? !0 : void 0,
|
|
670
|
+
"aria-label": pe.value,
|
|
671
|
+
"aria-pressed": e.pressed === void 0 ? void 0 : e.pressed,
|
|
672
|
+
type: A.value === "button" ? e.type : void 0,
|
|
673
|
+
onClick: M
|
|
674
|
+
}), {
|
|
675
|
+
default: ce(() => [S.value ? l("", !0) : (h(), u("span", wt, [re(t.$slots, "default", {}, void 0, !0)])), C.value ? (h(), u("span", Tt, [e.loading ? (h(), u("span", Et)) : e.icon ? (h(), c(n, {
|
|
676
|
+
key: 1,
|
|
677
|
+
name: e.icon,
|
|
678
|
+
size: N.value,
|
|
679
|
+
weight: e.iconWeight,
|
|
680
|
+
class: "nb-button__icon"
|
|
681
|
+
}, null, 8, [
|
|
682
|
+
"name",
|
|
683
|
+
"size",
|
|
684
|
+
"weight"
|
|
685
|
+
])) : l("", !0)])) : l("", !0)]),
|
|
686
|
+
_: 3
|
|
687
|
+
}, 16, [
|
|
688
|
+
"class",
|
|
689
|
+
"to",
|
|
690
|
+
"disabled",
|
|
691
|
+
"aria-disabled",
|
|
692
|
+
"aria-label",
|
|
693
|
+
"aria-pressed",
|
|
694
|
+
"type"
|
|
695
|
+
])), [[ae(Y), me.value]]);
|
|
696
|
+
}
|
|
697
|
+
}), [["__scopeId", "data-v-1835df29"]]);
|
|
698
|
+
//#endregion
|
|
699
|
+
export { ft as a, v as c, St as i, _ as l, Ct as n, he as o, ge as r, M as s, kt as t };
|