@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,225 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
+
import { useStableId as t } from "./composables/useStableId.composable.mjs";
|
|
3
|
+
import { t as n } from "./TextInput.context-B-mipPOo.js";
|
|
4
|
+
import { t as r } from "./InlineLoading-CDJ_ZJ6v.js";
|
|
5
|
+
import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, inject as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onBeforeUnmount as h, onMounted as ee, openBlock as g, ref as _, renderList as v, renderSlot as y, toDisplayString as b, unref as x, useSlots as S, watch as C, withModifiers as w } from "vue";
|
|
6
|
+
//#region src/components/SuggestionList.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var te = [
|
|
8
|
+
"id",
|
|
9
|
+
"aria-label",
|
|
10
|
+
"aria-busy"
|
|
11
|
+
], T = ["role", "aria-labelledby"], E = ["id"], D = [
|
|
12
|
+
"id",
|
|
13
|
+
"aria-selected",
|
|
14
|
+
"onMousemove",
|
|
15
|
+
"onClick"
|
|
16
|
+
], O = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "nb-suggestion-list__loading",
|
|
19
|
+
role: "presentation"
|
|
20
|
+
}, k = {
|
|
21
|
+
key: 1,
|
|
22
|
+
class: "nb-suggestion-list__empty",
|
|
23
|
+
role: "presentation"
|
|
24
|
+
}, A = /* @__PURE__ */ e(/* @__PURE__ */ u({
|
|
25
|
+
__name: "SuggestionList",
|
|
26
|
+
props: {
|
|
27
|
+
items: {},
|
|
28
|
+
open: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !0
|
|
31
|
+
},
|
|
32
|
+
itemLabel: {
|
|
33
|
+
type: Function,
|
|
34
|
+
default: void 0
|
|
35
|
+
},
|
|
36
|
+
itemKey: {
|
|
37
|
+
type: Function,
|
|
38
|
+
default: void 0
|
|
39
|
+
},
|
|
40
|
+
emptyText: { default: "" },
|
|
41
|
+
loading: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: !1
|
|
44
|
+
},
|
|
45
|
+
loadingText: { default: "" },
|
|
46
|
+
placement: { default: "bottom" },
|
|
47
|
+
itemGroup: {
|
|
48
|
+
type: Function,
|
|
49
|
+
default: void 0
|
|
50
|
+
},
|
|
51
|
+
label: { default: "" },
|
|
52
|
+
for: { default: void 0 },
|
|
53
|
+
id: { default: void 0 }
|
|
54
|
+
},
|
|
55
|
+
emits: [
|
|
56
|
+
"select",
|
|
57
|
+
"update:open",
|
|
58
|
+
"close"
|
|
59
|
+
],
|
|
60
|
+
setup(e, { expose: u, emit: A }) {
|
|
61
|
+
let j = e, M = A, ne = S(), N = t({ id: j.id }), P = _(null), F = _(0), I = d(n, null), L = a(() => !!j.emptyText || !!ne.empty), R = a(() => j.open && (j.items.length > 0 || L.value || j.loading)), z = a(() => {
|
|
62
|
+
let e = [];
|
|
63
|
+
return j.items.forEach((t, n) => {
|
|
64
|
+
let r = j.itemGroup?.(t) ?? "", i = e[e.length - 1];
|
|
65
|
+
if (i && i.name === r) {
|
|
66
|
+
i.entries.push({
|
|
67
|
+
item: t,
|
|
68
|
+
index: n
|
|
69
|
+
});
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
e.push({
|
|
73
|
+
key: `${e.length}:${r}`,
|
|
74
|
+
name: r,
|
|
75
|
+
headingId: `${N}-group-${e.length}`,
|
|
76
|
+
entries: [{
|
|
77
|
+
item: t,
|
|
78
|
+
index: n
|
|
79
|
+
}]
|
|
80
|
+
});
|
|
81
|
+
}), e;
|
|
82
|
+
});
|
|
83
|
+
function B(e) {
|
|
84
|
+
return j.itemLabel ? j.itemLabel(e) : e && typeof e == "object" && "label" in e ? String(e.label) : String(e);
|
|
85
|
+
}
|
|
86
|
+
function V(e, t) {
|
|
87
|
+
return j.itemKey ? j.itemKey(e, t) : B(e);
|
|
88
|
+
}
|
|
89
|
+
function H(e) {
|
|
90
|
+
return `${N}-option-${e}`;
|
|
91
|
+
}
|
|
92
|
+
function U() {
|
|
93
|
+
if (j.for && typeof document < "u") {
|
|
94
|
+
let e = document.getElementById(j.for);
|
|
95
|
+
if (e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement) return e;
|
|
96
|
+
}
|
|
97
|
+
return I?.field.value ?? null;
|
|
98
|
+
}
|
|
99
|
+
function W() {
|
|
100
|
+
M("update:open", !1), M("close");
|
|
101
|
+
}
|
|
102
|
+
function G(e) {
|
|
103
|
+
let t = j.items[e];
|
|
104
|
+
t !== void 0 && (M("select", t, e), W());
|
|
105
|
+
}
|
|
106
|
+
function K(e) {
|
|
107
|
+
let t = j.items.length;
|
|
108
|
+
t !== 0 && (F.value = (e + t) % t);
|
|
109
|
+
}
|
|
110
|
+
function q(e) {
|
|
111
|
+
if (!R.value || e.isComposing) return;
|
|
112
|
+
let t = j.items.length > 0;
|
|
113
|
+
switch (e.key) {
|
|
114
|
+
case "ArrowDown":
|
|
115
|
+
if (!t) return;
|
|
116
|
+
K(F.value + 1);
|
|
117
|
+
break;
|
|
118
|
+
case "ArrowUp":
|
|
119
|
+
if (!t) return;
|
|
120
|
+
K(F.value - 1);
|
|
121
|
+
break;
|
|
122
|
+
case "Home":
|
|
123
|
+
case "End":
|
|
124
|
+
if (!t || !(e.ctrlKey || e.metaKey)) return;
|
|
125
|
+
F.value = e.key === "Home" ? 0 : j.items.length - 1;
|
|
126
|
+
break;
|
|
127
|
+
case "Enter":
|
|
128
|
+
case "Tab":
|
|
129
|
+
if (!t) return;
|
|
130
|
+
G(F.value);
|
|
131
|
+
break;
|
|
132
|
+
case "Escape":
|
|
133
|
+
W(), e.stopPropagation();
|
|
134
|
+
break;
|
|
135
|
+
default: return;
|
|
136
|
+
}
|
|
137
|
+
e.preventDefault();
|
|
138
|
+
}
|
|
139
|
+
function J() {
|
|
140
|
+
j.open && W();
|
|
141
|
+
}
|
|
142
|
+
let Y = [
|
|
143
|
+
"role",
|
|
144
|
+
"aria-autocomplete",
|
|
145
|
+
"aria-expanded",
|
|
146
|
+
"aria-controls",
|
|
147
|
+
"aria-activedescendant"
|
|
148
|
+
], X = null;
|
|
149
|
+
function Z() {
|
|
150
|
+
X && (X.setAttribute("role", "combobox"), X.setAttribute("aria-autocomplete", "list"), X.setAttribute("aria-expanded", String(R.value)), R.value ? X.setAttribute("aria-controls", N) : X.removeAttribute("aria-controls"), R.value && j.items.length > 0 ? X.setAttribute("aria-activedescendant", H(F.value)) : X.removeAttribute("aria-activedescendant"));
|
|
151
|
+
}
|
|
152
|
+
function Q() {
|
|
153
|
+
let e = U();
|
|
154
|
+
if (e === X || ($(), !e)) return;
|
|
155
|
+
X = e;
|
|
156
|
+
let t = e;
|
|
157
|
+
t.addEventListener("keydown", q, !0), t.addEventListener("blur", J), Z();
|
|
158
|
+
}
|
|
159
|
+
function $() {
|
|
160
|
+
if (X) {
|
|
161
|
+
X.removeEventListener("keydown", q, !0), X.removeEventListener("blur", J);
|
|
162
|
+
for (let e of Y) X.removeAttribute(e);
|
|
163
|
+
X = null;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
function re() {
|
|
167
|
+
(P.value?.querySelectorAll(".nb-suggestion-list__item"))?.[F.value]?.scrollIntoView?.({ block: "nearest" });
|
|
168
|
+
}
|
|
169
|
+
return C(() => j.items, () => {
|
|
170
|
+
F.value = 0;
|
|
171
|
+
}), C(() => j.open, (e) => {
|
|
172
|
+
e && (F.value = 0);
|
|
173
|
+
}), C([
|
|
174
|
+
R,
|
|
175
|
+
F,
|
|
176
|
+
() => j.items.length
|
|
177
|
+
], async () => {
|
|
178
|
+
Z(), await f(), re();
|
|
179
|
+
}), ee(() => {
|
|
180
|
+
Q(), X || f(Q);
|
|
181
|
+
}), h($), u({
|
|
182
|
+
onKeydown: q,
|
|
183
|
+
activeIndex: F
|
|
184
|
+
}), (t, n) => R.value ? (g(), s("div", {
|
|
185
|
+
key: 0,
|
|
186
|
+
id: x(N),
|
|
187
|
+
ref_key: "listRef",
|
|
188
|
+
ref: P,
|
|
189
|
+
class: p(["nb-suggestion-list", `nb-suggestion-list--${e.placement}`]),
|
|
190
|
+
role: "listbox",
|
|
191
|
+
"aria-label": e.label || void 0,
|
|
192
|
+
"aria-busy": e.loading || void 0
|
|
193
|
+
}, [(g(!0), s(i, null, v(z.value, (e) => (g(), s("div", {
|
|
194
|
+
key: e.key,
|
|
195
|
+
role: e.name ? "group" : void 0,
|
|
196
|
+
"aria-labelledby": e.name ? e.headingId : void 0,
|
|
197
|
+
class: p({ "nb-suggestion-list__section": e.name }),
|
|
198
|
+
style: m(e.name ? void 0 : { display: "contents" })
|
|
199
|
+
}, [e.name ? (g(), s("div", {
|
|
200
|
+
key: 0,
|
|
201
|
+
id: e.headingId,
|
|
202
|
+
class: "nb-suggestion-list__group",
|
|
203
|
+
role: "presentation"
|
|
204
|
+
}, [y(t.$slots, "group", { group: e.name }, () => [c(b(e.name), 1)], !0)], 8, E)) : o("", !0), (g(!0), s(i, null, v(e.entries, ({ item: e, index: r }) => (g(), s("div", {
|
|
205
|
+
id: H(r),
|
|
206
|
+
key: V(e, r),
|
|
207
|
+
class: p(["nb-suggestion-list__item", { "nb-suggestion-list__item--active": r === F.value }]),
|
|
208
|
+
role: "option",
|
|
209
|
+
"aria-selected": r === F.value,
|
|
210
|
+
onMousedown: n[0] ||= w(() => {}, ["prevent"]),
|
|
211
|
+
onMousemove: (e) => F.value = r,
|
|
212
|
+
onClick: (e) => G(r)
|
|
213
|
+
}, [y(t.$slots, "item", {
|
|
214
|
+
item: e,
|
|
215
|
+
index: r,
|
|
216
|
+
active: r === F.value
|
|
217
|
+
}, () => [c(b(B(e)), 1)], !0)], 42, D))), 128))], 14, T))), 128)), e.loading ? (g(), s("div", O, [y(t.$slots, "loading", {}, () => [l(r, {
|
|
218
|
+
status: "active",
|
|
219
|
+
label: e.loadingText,
|
|
220
|
+
"reserve-space": !1
|
|
221
|
+
}, null, 8, ["label"])], !0)])) : e.items.length === 0 ? (g(), s("div", k, [y(t.$slots, "empty", {}, () => [c(b(e.emptyText), 1)], !0)])) : o("", !0)], 10, te)) : o("", !0);
|
|
222
|
+
}
|
|
223
|
+
}), [["__scopeId", "data-v-ed911e2f"]]);
|
|
224
|
+
//#endregion
|
|
225
|
+
export { A as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./composables/useStableId.composable.cjs`),n=require(`./Label-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./composables/useStableId.composable.cjs`),n=require(`./Label-CjxnZgNy.cjs`),r=require(`./Grid-BOtE_jXr.cjs`);let i=require(`vue`);var a=function(e){return e.Small=`sm`,e.Medium=`md`,e.Large=`lg`,e}(a||{}),o=function(e){return e.Primary=`primary`,e.Secondary=`secondary`,e}(o||{}),s=[`for`],c=[`id`,`name`,`disabled`],l=(0,i.defineComponent)({__name:`Switch`,props:(0,i.mergeModels)({id:{type:String,default:()=>null},label:{type:String,default:``},size:{type:String,default:a.Medium,validator:e=>Object.values(a).includes(e)},verbose:Boolean,hideLabel:Boolean,name:{type:String,required:!0},disabled:Boolean,variant:{type:String,default:o.Primary,validator:e=>Object.values(o).includes(e)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let a=(0,i.useModel)(e,`modelValue`),o=e,l=t.useStableId(o),u=(0,i.computed)(()=>({"aria-disabled":o.disabled})),d=(0,i.computed)(()=>({"nb-switch":!0,disabled:o.disabled})),f=(0,i.computed)(()=>({"nb-switch-wrapper":!0,verbose:o.verbose,[o.size]:!0,[`nb-${o.variant}`]:!0}));return(t,o)=>((0,i.openBlock)(),(0,i.createBlock)(r.t,{id:(0,i.unref)(l),class:(0,i.normalizeClass)(d.value),align:`center`,gap:`sm`},{default:(0,i.withCtx)(()=>[e.label?((0,i.openBlock)(),(0,i.createBlock)(n.t,{key:0,for:`${(0,i.unref)(l)}-input`,disabled:e.disabled,class:(0,i.normalizeClass)({"nb-switch__label--hidden":e.hideLabel})},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.label),1)]),_:1},8,[`for`,`disabled`,`class`])):(0,i.createCommentVNode)(``,!0),(0,i.createElementVNode)(`label`,(0,i.mergeProps)({for:`${(0,i.unref)(l)}-input`,class:f.value},u.value,{onClick:o[1]||=(0,i.withModifiers)(()=>{},[`stop`])}),[(0,i.withDirectives)((0,i.createElementVNode)(`input`,{id:`${(0,i.unref)(l)}-input`,"onUpdate:modelValue":o[0]||=e=>a.value=e,name:e.name,type:`checkbox`,role:`switch`,disabled:e.disabled},null,8,c),[[i.vModelCheckbox,a.value]]),o[2]||=(0,i.createElementVNode)(`div`,{class:`slider round`},null,-1)],16,s)]),_:1},8,[`id`,`class`]))}}),u=e.t(l,[[`__scopeId`,`data-v-8ea7332a`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
2
|
import { useStableId as t } from "./composables/useStableId.composable.mjs";
|
|
3
|
-
import { t as n } from "./Label-
|
|
4
|
-
import { t as r } from "./Grid-
|
|
3
|
+
import { t as n } from "./Label-xwHw_UbN.js";
|
|
4
|
+
import { t as r } from "./Grid-B7d8x0tA.js";
|
|
5
5
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementVNode as s, createTextVNode as c, defineComponent as l, mergeModels as u, mergeProps as d, normalizeClass as f, openBlock as p, toDisplayString as m, unref as h, useModel as g, vModelCheckbox as _, withCtx as v, withDirectives as y, withModifiers as b } from "vue";
|
|
6
6
|
//#region src/components/Switch.d.ts
|
|
7
7
|
var x = /* @__PURE__ */ function(e) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { prefersReducedMotion as t } from "./composables/useReducedMotion.composable.mjs";
|
|
3
|
+
import { t as n } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
4
|
+
import { useStableId as r } from "./composables/useStableId.composable.mjs";
|
|
5
|
+
import { useSurfaceLayer as i } from "./composables/useSurfaceLayer.composable.mjs";
|
|
6
6
|
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as ee, defineComponent as d, mergeProps as f, nextTick as p, normalizeClass as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, renderList as y, resolveComponent as b, toDisplayString as x, unref as S, watch as C, withKeys as w } from "vue";
|
|
7
7
|
import { regular as T } from "@nubisco/ui/icons/caret-right";
|
|
8
8
|
import { regular as E } from "@nubisco/ui/icons/list-dashes";
|
|
@@ -12,7 +12,7 @@ var D = [
|
|
|
12
12
|
"aria-current",
|
|
13
13
|
"data-id",
|
|
14
14
|
"onClick"
|
|
15
|
-
], te = /* @__PURE__ */
|
|
15
|
+
], te = /* @__PURE__ */ n(/* @__PURE__ */ d({
|
|
16
16
|
name: "TableOfContentsList",
|
|
17
17
|
__name: "TableOfContentsList",
|
|
18
18
|
props: {
|
|
@@ -46,7 +46,7 @@ var D = [
|
|
|
46
46
|
}, null, 8, ["nodes", "active"])) : c("", !0)]))), 128))], 2);
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
}), [["__scopeId", "data-v-d0f98dc3"]]), ne = ["aria-label"], O = { class: "nb-toc__head" }, k = { class: "nb-toc__title" }, A = /* @__PURE__ */
|
|
49
|
+
}), [["__scopeId", "data-v-d0f98dc3"]]), ne = ["aria-label"], O = { class: "nb-toc__head" }, k = { class: "nb-toc__title" }, A = /* @__PURE__ */ n(/* @__PURE__ */ d({
|
|
50
50
|
__name: "TableOfContents",
|
|
51
51
|
props: {
|
|
52
52
|
items: {},
|
|
@@ -88,8 +88,8 @@ var D = [
|
|
|
88
88
|
"update:open",
|
|
89
89
|
"navigate"
|
|
90
90
|
],
|
|
91
|
-
setup(
|
|
92
|
-
let y =
|
|
91
|
+
setup(n, { expose: a, emit: d }) {
|
|
92
|
+
let y = n, b = d, D = `${r({})}-nav`, A = v(null), j = v(null), { layerProps: M } = i({ overlay: !0 }), N = o(() => y.variant === "floating" ? M.value : {}), P = v(y.variant !== "floating"), F = o(() => y.open ?? P.value), I = o(() => y.variant === "floating" || y.collapsible);
|
|
93
93
|
function L(e) {
|
|
94
94
|
!e && !I.value || (P.value = e, b("update:open", e), e || p(() => re()));
|
|
95
95
|
}
|
|
@@ -165,12 +165,12 @@ var D = [
|
|
|
165
165
|
function X() {
|
|
166
166
|
W?.removeEventListener("scroll", J), typeof window < "u" && window.removeEventListener("resize", J), W = null;
|
|
167
167
|
}
|
|
168
|
-
function Z(
|
|
169
|
-
let r = typeof
|
|
168
|
+
function Z(e, n = {}) {
|
|
169
|
+
let r = typeof e == "string" ? e : e.id, i = y.items.findIndex((e) => e.id === r);
|
|
170
170
|
if (i < 0) return;
|
|
171
171
|
let a = y.items[i], o = V(a, i);
|
|
172
172
|
if (!o) return;
|
|
173
|
-
let s = n.instant ||
|
|
173
|
+
let s = n.instant || t();
|
|
174
174
|
if (o.scrollIntoView?.({
|
|
175
175
|
behavior: s ? "auto" : "smooth",
|
|
176
176
|
block: "start"
|
|
@@ -203,12 +203,12 @@ var D = [
|
|
|
203
203
|
}), a({
|
|
204
204
|
go: Z,
|
|
205
205
|
measure: q
|
|
206
|
-
}), (
|
|
206
|
+
}), (t, r) => (_(), l("div", {
|
|
207
207
|
ref_key: "rootEl",
|
|
208
208
|
ref: A,
|
|
209
209
|
class: m([
|
|
210
210
|
"nb-toc",
|
|
211
|
-
`nb-toc--${
|
|
211
|
+
`nb-toc--${n.variant}`,
|
|
212
212
|
{ "nb-toc--open": F.value }
|
|
213
213
|
]),
|
|
214
214
|
onKeydown: w(ie, ["esc"])
|
|
@@ -218,26 +218,21 @@ var D = [
|
|
|
218
218
|
}, N.value), [u("nav", {
|
|
219
219
|
id: D,
|
|
220
220
|
class: "nb-toc__nav",
|
|
221
|
-
"aria-label":
|
|
222
|
-
}, [u("div", O, [u("span", k, x(
|
|
221
|
+
"aria-label": n.label
|
|
222
|
+
}, [u("div", O, [u("span", k, x(n.title), 1), I.value ? (_(), s(e, {
|
|
223
223
|
key: 0,
|
|
224
224
|
size: "xs",
|
|
225
225
|
variant: "ghost",
|
|
226
226
|
icon: S(T),
|
|
227
|
-
|
|
228
|
-
title: t.hideLabel,
|
|
227
|
+
label: n.hideLabel,
|
|
229
228
|
"aria-expanded": !0,
|
|
230
229
|
"aria-controls": D,
|
|
231
|
-
onClick:
|
|
232
|
-
}, null, 8, [
|
|
233
|
-
"icon",
|
|
234
|
-
"aria-label",
|
|
235
|
-
"title"
|
|
236
|
-
])) : c("", !0)]), ee(te, {
|
|
230
|
+
onClick: r[1] ||= (e) => L(!1)
|
|
231
|
+
}, null, 8, ["icon", "label"])) : c("", !0)]), ee(te, {
|
|
237
232
|
nodes: ae.value,
|
|
238
233
|
active: z.value,
|
|
239
234
|
onGo: Z
|
|
240
|
-
}, null, 8, ["nodes", "active"])], 8, ne)], 16)) : (_(), s(
|
|
235
|
+
}, null, 8, ["nodes", "active"])], 8, ne)], 16)) : (_(), s(e, {
|
|
241
236
|
key: 0,
|
|
242
237
|
ref_key: "showButton",
|
|
243
238
|
ref: j,
|
|
@@ -245,17 +240,12 @@ var D = [
|
|
|
245
240
|
variant: "ghost",
|
|
246
241
|
icon: S(E),
|
|
247
242
|
class: "nb-toc__show",
|
|
248
|
-
|
|
249
|
-
title: t.showLabel,
|
|
243
|
+
label: n.showLabel,
|
|
250
244
|
"aria-expanded": !1,
|
|
251
245
|
"aria-controls": D,
|
|
252
|
-
onClick:
|
|
253
|
-
}, null, 8, [
|
|
254
|
-
"icon",
|
|
255
|
-
"aria-label",
|
|
256
|
-
"title"
|
|
257
|
-
]))], 34));
|
|
246
|
+
onClick: r[0] ||= (e) => L(!0)
|
|
247
|
+
}, null, 8, ["icon", "label"]))], 34));
|
|
258
248
|
}
|
|
259
|
-
}), [["__scopeId", "data-v-
|
|
249
|
+
}), [["__scopeId", "data-v-5b0db3e2"]]);
|
|
260
250
|
//#endregion
|
|
261
251
|
export { A as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./composables/useReducedMotion.composable.cjs`),
|
|
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(`./composables/useStableId.composable.cjs`),i=require(`./composables/useSurfaceLayer.composable.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/caret-right`),s=require(`@nubisco/ui/icons/list-dashes`);var c=[`href`,`aria-current`,`data-id`,`onClick`],l=(0,a.defineComponent)({name:`TableOfContentsList`,__name:`TableOfContentsList`,props:{nodes:{},active:{},nested:{type:Boolean}},emits:[`go`],setup(e,{emit:t}){let n=t;function r(e,t){e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.button===0&&(e.preventDefault(),n(`go`,t))}return(t,i)=>{let o=(0,a.resolveComponent)(`TableOfContentsList`,!0);return(0,a.openBlock)(),(0,a.createElementBlock)(`ol`,{class:(0,a.normalizeClass)([`nb-toc-list`,{"nb-toc-list--nested":e.nested}])},[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(e.nodes,t=>((0,a.openBlock)(),(0,a.createElementBlock)(`li`,{key:t.id,class:`nb-toc-list__item`},[(0,a.createElementVNode)(`a`,{class:(0,a.normalizeClass)([`nb-toc-list__link`,{"nb-toc-list__link--active":t.id===e.active}]),href:`#${t.id}`,"aria-current":t.id===e.active?`location`:void 0,"data-id":t.id,onClick:e=>r(e,t)},(0,a.toDisplayString)(t.label),11,c),t.children.length>0?((0,a.openBlock)(),(0,a.createBlock)(o,{key:0,nodes:t.children,active:e.active,nested:``,onGo:i[0]||=e=>n(`go`,e)},null,8,[`nodes`,`active`])):(0,a.createCommentVNode)(``,!0)]))),128))],2)}}}),u=n.t(l,[[`__scopeId`,`data-v-d0f98dc3`]]),d=[`aria-label`],f={class:`nb-toc__head`},p={class:`nb-toc__title`},m=(0,a.defineComponent)({__name:`TableOfContents`,props:{items:{},active:{default:void 0},open:{type:Boolean,default:void 0},variant:{default:`docked`},collapsible:{type:Boolean,default:!0},title:{default:`Contents`},label:{default:`Table of contents`},showLabel:{default:`Show contents`},hideLabel:{default:`Hide contents`},root:{default:null},resolveTarget:{type:Function,default:void 0},spy:{type:Boolean,default:!0},offset:{default:96},updateHash:{type:Boolean,default:!0},followHash:{type:Boolean,default:!1}},emits:[`update:active`,`update:open`,`navigate`],setup(n,{expose:c,emit:l}){let m=n,h=l,g=`${r.useStableId({})}-nav`,_=(0,a.ref)(null),v=(0,a.ref)(null),{layerProps:y}=i.useSurfaceLayer({overlay:!0}),b=(0,a.computed)(()=>m.variant===`floating`?y.value:{}),x=(0,a.ref)(m.variant!==`floating`),S=(0,a.computed)(()=>m.open??x.value),C=(0,a.computed)(()=>m.variant===`floating`||m.collapsible);function w(e){!e&&!C.value||(x.value=e,h(`update:open`,e),e||(0,a.nextTick)(()=>T()))}function T(){(v.value?.$el)?.focus()}function E(e){m.variant!==`floating`||!S.value||(e.stopPropagation(),w(!1))}(0,a.watch)(()=>m.variant,e=>{x.value=e!==`floating`});let D=(0,a.computed)(()=>{let e=[],t=[];for(let n of m.items){let r={...n,children:[]};for(;t.length>0&&t[t.length-1].level>=n.level;)t.pop();t.length===0?e.push(r):t[t.length-1].children.push(r),t.push(r)}return e}),O=(0,a.ref)(null),k=(0,a.computed)(()=>m.active===void 0?O.value:m.active);function A(e){e!==k.value&&(O.value=e,h(`update:active`,e))}function j(e,t){return m.resolveTarget?m.resolveTarget(e,t):m.root?m.root.querySelector(`[id="${e.id.replace(/(["\\])/g,`\\$1`)}"]`):typeof document>`u`?null:document.getElementById(e.id)}function M(e){let t=e?.parentElement??null;for(;t;){let{overflowY:e}=getComputedStyle(t);if(e===`auto`||e===`scroll`)return t;t=t.parentElement}return window}function N(e,t,n,r){if(n){for(let t=e.length-1;t>=0;t--)if(e[t]<r)return t}let i=-1;for(let n=0;n<e.length&&e[n]<=t;n++)i=n;return i}let P=null,F=null,I=0;function L(){if(F=null,!m.spy||typeof window>`u`||Date.now()<I)return;let e=m.items.map((e,t)=>({item:e,el:j(e,t)})).filter(e=>!!e.el);if(e.length===0){A(null);return}let t=P??window,n=0,r=window.innerHeight,i=window.scrollY,a=document.documentElement.scrollHeight;if(t!==window){let e=t;n=e.getBoundingClientRect().top,r=e.clientHeight,i=e.scrollTop,a=e.scrollHeight}let o=a>r&&i+r>=a-2,s=N(e.map(({el:e})=>e.getBoundingClientRect().top-n),m.offset,o,r);A(s>=0?e[s].item.id:null)}function R(){F===null&&(F=typeof requestAnimationFrame==`function`?requestAnimationFrame(L):setTimeout(L,16))}function z(){B(),!(!m.spy||typeof window>`u`)&&(P=M(m.items.map((e,t)=>j(e,t)).find(Boolean)??m.root??_.value),P.addEventListener(`scroll`,R,{passive:!0}),window.addEventListener(`resize`,R,{passive:!0}),R())}function B(){P?.removeEventListener(`scroll`,R),typeof window<`u`&&window.removeEventListener(`resize`,R),P=null}function V(e,n={}){let r=typeof e==`string`?e:e.id,i=m.items.findIndex(e=>e.id===r);if(i<0)return;let a=m.items[i],o=j(a,i);if(!o)return;let s=n.instant||t.prefersReducedMotion();if(o.scrollIntoView?.({behavior:s?`auto`:`smooth`,block:`start`}),A(r),I=s?0:Date.now()+700,m.updateHash)try{let{pathname:e,search:t}=window.location;window.history.replaceState(window.history.state,``,`${e}${t}#${r}`)}catch{}o.closest(`[contenteditable="true"]`)||(o.hasAttribute(`tabindex`)||o.setAttribute(`tabindex`,`-1`),o.focus({preventScroll:!0})),m.variant===`floating`&&(x.value=!1,h(`update:open`,!1)),h(`navigate`,a)}let H=!1;function U(){if(!m.followHash||H||typeof window>`u`)return;let e=decodeURIComponent(window.location.hash.slice(1));if(!e){H=!0;return}let t=m.items.findIndex(t=>t.id===e);t<0||!j(m.items[t],t)||(H=!0,V(e,{instant:!0}))}return(0,a.watch)(()=>m.items,()=>void(0,a.nextTick)(()=>{z(),U()}),{flush:`post`,deep:!0}),(0,a.watch)(()=>[m.root,m.spy],()=>void(0,a.nextTick)(z),{flush:`post`}),(0,a.onMounted)(()=>{z(),(0,a.nextTick)(U)}),(0,a.onBeforeUnmount)(()=>{B(),F!==null&&(typeof cancelAnimationFrame==`function`&&cancelAnimationFrame(F),clearTimeout(F))}),c({go:V,measure:L}),(t,r)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{ref_key:`rootEl`,ref:_,class:(0,a.normalizeClass)([`nb-toc`,`nb-toc--${n.variant}`,{"nb-toc--open":S.value}]),onKeydown:(0,a.withKeys)(E,[`esc`])},[S.value?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,(0,a.mergeProps)({key:1,class:`nb-toc__body`},b.value),[(0,a.createElementVNode)(`nav`,{id:g,class:`nb-toc__nav`,"aria-label":n.label},[(0,a.createElementVNode)(`div`,f,[(0,a.createElementVNode)(`span`,p,(0,a.toDisplayString)(n.title),1),C.value?((0,a.openBlock)(),(0,a.createBlock)(e.t,{key:0,size:`xs`,variant:`ghost`,icon:(0,a.unref)(o.regular),label:n.hideLabel,"aria-expanded":!0,"aria-controls":g,onClick:r[1]||=e=>w(!1)},null,8,[`icon`,`label`])):(0,a.createCommentVNode)(``,!0)]),(0,a.createVNode)(u,{nodes:D.value,active:k.value,onGo:V},null,8,[`nodes`,`active`])],8,d)],16)):((0,a.openBlock)(),(0,a.createBlock)(e.t,{key:0,ref_key:`showButton`,ref:v,size:`sm`,variant:`ghost`,icon:(0,a.unref)(s.regular),class:`nb-toc__show`,label:n.showLabel,"aria-expanded":!1,"aria-controls":g,onClick:r[0]||=e=>w(!0)},null,8,[`icon`,`label`]))],34))}}),h=n.t(m,[[`__scopeId`,`data-v-5b0db3e2`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
|
|
@@ -3,7 +3,7 @@ import { t } from "./Icon-B2tiGiqZ.js";
|
|
|
3
3
|
import { useStableId as n } from "./composables/useStableId.composable.mjs";
|
|
4
4
|
import { usePhoneLayout as r } from "./composables/usePhoneLayout.composable.mjs";
|
|
5
5
|
import { hasSlotContent as i } from "./utils/slotContent.helper.mjs";
|
|
6
|
-
import { t as a } from "./Badge-
|
|
6
|
+
import { t as a } from "./Badge-scjsdx_V.js";
|
|
7
7
|
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as ee, defineComponent as f, nextTick as p, normalizeClass as m, normalizeStyle as h, onBeforeUnmount as te, onMounted as ne, openBlock as g, ref as _, renderList as v, renderSlot as re, toDisplayString as y, useSlots as ie, watch as b, withCtx as x } from "vue";
|
|
8
8
|
//#region src/components/Tabs.d.ts
|
|
9
9
|
var S = /* @__PURE__ */ function(e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./Icon-CssV4E2-.cjs`),n=require(`./composables/useStableId.composable.cjs`),r=require(`./composables/usePhoneLayout.composable.cjs`),i=require(`./utils/slotContent.helper.cjs`),a=require(`./Badge-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./Icon-CssV4E2-.cjs`),n=require(`./composables/useStableId.composable.cjs`),r=require(`./composables/usePhoneLayout.composable.cjs`),i=require(`./utils/slotContent.helper.cjs`),a=require(`./Badge-BYfdJcdD.cjs`);let o=require(`vue`);var s=function(e){return e.Line=`line`,e.Contained=`contained`,e}(s||{}),c=function(e){return e.Small=`sm`,e.Medium=`md`,e.Large=`lg`,e}(c||{}),l=[`aria-label`],u=[`id`,`data-tab-id`,`aria-selected`,`aria-controls`,`tabindex`,`disabled`,`onClick`],d={class:`nb-tabs__label`},f=[`id`,`aria-labelledby`],p=24,m=(0,o.defineComponent)({__name:`Tabs`,props:{items:{},ariaLabel:{default:void 0},modelValue:{default:void 0},variant:{default:s.Line},size:{default:c.Medium},disabled:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},id:{default:void 0}},emits:[`update:modelValue`,`change`],setup(e,{emit:s}){let m=e,h=s,g=(0,o.useSlots)(),_=n.useStableId(m),v=(0,o.ref)(null),y=(0,o.computed)(()=>m.items.filter(e=>!w(e))),b=(0,o.ref)(m.modelValue??y.value[0]?.id);(0,o.watch)(()=>m.modelValue,e=>{e!=null&&(b.value=e)});let x=(0,o.computed)(()=>{let e=m.modelValue??b.value,t=m.items.find(t=>t.id===e);return t&&!w(t)?t.id:y.value[0]?.id}),S=(0,o.computed)(()=>m.size===c.Large?18:16),C=(0,o.computed)(()=>[`nb-tabs`,`nb-tabs--${m.variant}`,`nb-tabs--${m.size}`,{"nb-tabs--full-width":m.fullWidth,"nb-tabs--disabled":m.disabled,"nb-tabs--overflow":F.value,"nb-tabs--indicator":H.value!==null}]);function w(e){return m.disabled||!!e.disabled}function T(e){return`${_}-tab-${e}`}function E(e){return`${_}-panel-${e}`}function D(e){return i.hasSlotContent(g,e)}function O(e){w(e)||e.id===x.value||(b.value=e.id,h(`update:modelValue`,e.id),h(`change`,e.id,e))}function k(e){return[...v.value?.querySelectorAll(`[data-tab-id]`)??[]].find(t=>t.dataset.tabId===e)}function A(e){k(e)?.focus()}function j(e){let t=y.value;if(!t.length)return;let n=t[(t.findIndex(e=>e.id===x.value)+e+t.length)%t.length];O(n),A(n.id)}function M(e){e&&(O(e),A(e.id))}let{phone:N}=r.usePhoneLayout(),P=(0,o.ref)(null),F=(0,o.ref)(!1),I=(0,o.computed)(()=>N.value||F.value);function L(){let e=P.value,t=v.value;!e||!t||(F.value=t.scrollWidth>e.clientWidth+1)}let R=(0,o.ref)(!1),z=(0,o.ref)(!1);function B(){let e=v.value;if(!I.value||!e)return;let t=e.scrollWidth-e.clientWidth;R.value=e.scrollLeft>1,z.value=e.scrollLeft<t-1}function V(){let e=v.value;if(!I.value||!e)return;let t=k(x.value);if(t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=r.left-n.left+e.scrollLeft,a=i+r.width,o=[...e.querySelectorAll(`[data-tab-id]`)],s=t===o[0],c=t===o[o.length-1];i<e.scrollLeft+(s?0:p)?e.scrollLeft=Math.max(0,s?0:i-p):a>e.scrollLeft+e.clientWidth-(c?0:p)&&(e.scrollLeft=a-e.clientWidth+(c?0:p))}B()}let H=(0,o.ref)(null);function U(){let e=k(x.value),t=e?.offsetWidth??0;if(!e||t===0){H.value=null;return}let n=e.offsetLeft,r=H.value;r&&r.left===n&&r.width===t||(H.value={left:n,width:t})}(0,o.watch)([x,I],()=>(0,o.nextTick)(()=>{V(),U()}));function W(){L(),V(),U()}let G=null;function K(){!G||!P.value||!v.value||(G.disconnect(),G.observe(P.value),v.value.querySelectorAll(`[data-tab-id]`).forEach(e=>G?.observe(e)))}(0,o.watch)(()=>m.items,()=>(0,o.nextTick)(()=>{K(),W()}),{deep:!0}),(0,o.onMounted)(()=>{L(),V(),U(),window.addEventListener(`resize`,W,{passive:!0}),typeof ResizeObserver<`u`&&(G=new ResizeObserver(W),K())}),(0,o.onBeforeUnmount)(()=>{window.removeEventListener(`resize`,W),G?.disconnect(),G=null});function q(e){switch(e.key){case`ArrowRight`:j(1);break;case`ArrowLeft`:j(-1);break;case`Home`:M(y.value[0]);break;case`End`:M(y.value[y.value.length-1]);break;default:return}e.preventDefault()}return(n,r)=>((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{ref_key:`rootRef`,ref:P,class:(0,o.normalizeClass)(C.value)},[(0,o.createElementVNode)(`div`,{ref_key:`listRef`,ref:v,class:(0,o.normalizeClass)([`nb-tabs__list`,{"nb-tabs__list--fade-start":I.value&&R.value,"nb-tabs__list--fade-end":I.value&&z.value}]),role:`tablist`,"aria-label":e.ariaLabel||void 0,onKeydown:q,onScrollPassive:B},[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.items,e=>((0,o.openBlock)(),(0,o.createElementBlock)(`button`,{id:T(e.id),key:e.id,"data-tab-id":e.id,type:`button`,role:`tab`,class:(0,o.normalizeClass)([`nb-tabs__tab`,{"nb-tabs__tab--active":e.id===x.value}]),"aria-selected":e.id===x.value,"aria-controls":D(e.id)?E(e.id):void 0,tabindex:e.id===x.value?0:-1,disabled:w(e),onClick:t=>O(e)},[e.icon?((0,o.openBlock)(),(0,o.createBlock)(t.t,{key:0,name:e.icon,size:S.value,class:`nb-tabs__icon`},null,8,[`name`,`size`])):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`span`,d,(0,o.toDisplayString)(e.label),1),e.badge==null?(0,o.createCommentVNode)(``,!0):((0,o.openBlock)(),(0,o.createBlock)(a.t,{key:1,size:`sm`,class:`nb-tabs__badge`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.badge),1)]),_:2},1024))],10,u))),128)),H.value?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,{key:0,class:`nb-tabs__indicator`,"aria-hidden":`true`,style:(0,o.normalizeStyle)({transform:`translateX(${H.value.left}px)`,width:`${H.value.width}px`})},null,4)):(0,o.createCommentVNode)(``,!0)],42,l),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.items,e=>((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:`panel-${e.id}`},[e.id===x.value&&D(e.id)?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:0,id:E(e.id),class:`nb-tabs__panel`,role:`tabpanel`,"aria-labelledby":T(e.id),tabindex:`0`},[(0,o.renderSlot)(n.$slots,e.id,{item:e},void 0,!0)],8,f)):(0,o.createCommentVNode)(``,!0)],64))),128))],2))}}),h=e.t(m,[[`__scopeId`,`data-v-8b4b9149`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Button-BHFtgOXA.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./composables/useStableId.composable.cjs`),r=require(`./composables/useNbStrings.composable.cjs`),ee=require(`./Label-CjxnZgNy.cjs`),i=require(`./Message-BJO4MjiQ.cjs`),te=require(`./Grid-BOtE_jXr.cjs`),a=require(`./composables/useFieldMessage.composable.cjs`),ne=require(`./InputGroup.context-BHj-IvcT.cjs`),re=require(`./TextInput.context-ChkcqMNM.cjs`);let o=require(`vue`),s=require(`@nubisco/ui/icons/x`),c=require(`@nubisco/ui/icons/eye-slash`),l=require(`@nubisco/ui/icons/eye`);var u={key:0,class:`nb-text-input__leading`},d={key:1,class:`nb-text-input__overlay-wrap`},f=[`innerHTML`],p=[`id`,`aria-invalid`,`aria-describedby`,`value`,`placeholder`,`disabled`,`readonly`,`name`,`maxlength`],m=[`id`,`aria-invalid`,`aria-describedby`,`value`,`placeholder`,`disabled`,`readonly`,`name`,`maxlength`],h=[`id`,`aria-invalid`,`aria-describedby`,`placeholder`,`disabled`,`readonly`,`name`,`maxlength`,`rows`],ie=[`id`,`aria-invalid`,`aria-describedby`,`type`,`placeholder`,`disabled`,`readonly`,`required`,`name`,`min`,`max`,`step`,`maxlength`],ae={key:3,class:`nb-text-input__decorator`},oe={key:4,class:`nb-text-input__actions`},se={key:5,class:`nb-text-input__controls`},ce={key:3,class:`nb-text-input__count`},le={key:0,class:`nb-text-input__inner-header`},ue=[`for`,`title`],g={key:0,class:`nb-text-input__asterisk`,"aria-hidden":`true`},_={key:3,class:`nb-text-input__count`},de={class:`nb-text-input__fluid-row`},fe=[`id`,`aria-invalid`,`aria-describedby`,`type`,`placeholder`,`disabled`,`readonly`,`required`,`name`,`min`,`max`,`step`,`maxlength`],pe={key:0,class:`nb-text-input__controls`},v=(0,o.defineComponent)({inheritAttrs:!1,__name:`TextInput`,props:(0,o.mergeModels)({type:{default:`text`},min:{default:void 0},max:{default:void 0},step:{default:void 0},maxlength:{default:void 0},showCount:{type:Boolean,default:!1},multiline:{type:Boolean,default:!1},rows:{default:3},highlight:{type:Function,default:void 0},clearable:{type:Boolean,default:!1},revealable:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},placeholder:{default:``},name:{default:``},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},id:{default:void 0},label:{default:``},error:{default:``},warning:{default:``},helper:{default:``},variant:{default:`default`},size:{default:`md`}},{modelValue:{default:``},modelModifiers:{}}),emits:(0,o.mergeModels)([`clear`],[`update:modelValue`]),setup(t,{expose:v,emit:y}){let b=t,me=y,x=(0,o.useModel)(t,`modelValue`),S=r.useNbStrings(),C=(0,o.computed)(()=>b.showCount&&typeof b.maxlength==`number`),w=(0,o.computed)(()=>S.value.textInputCount((x.value??``).length,b.maxlength??0)),T=(0,o.ref)(null),E=(0,o.ref)(null);v({focus:()=>T.value?.focus(),blur:()=>T.value?.blur(),nativeEl:T}),(0,o.provide)(re.t,{field:T});let D=(0,o.ref)(!1),O=(0,o.computed)(()=>b.clearable&&!b.multiline&&!L.value&&!b.readonly&&!!x.value),k=(0,o.computed)(()=>b.revealable&&!b.multiline&&b.type===`password`),A=(0,o.ref)(!1),j=(0,o.computed)(()=>k.value&&A.value?`text`:b.type);function M(){x.value=``,me(`clear`),T.value?.focus()}function N(e){O.value&&(e.stopPropagation(),M())}let P=ne.n(b,n.useStableId({})),F=P.id,I=P.size,L=P.disabled,R=P.grouped,z=(0,o.computed)(()=>b.variant===`fluid`?`sm`:I.value),B=(0,o.computed)(()=>!!b.highlight),V=(0,o.computed)(()=>{if(!b.highlight)return``;let e=String(x.value??``);return b.highlight(e)+`
|
|
2
|
+
`});function H(){E.value&&T.value&&(E.value.scrollTop=T.value.scrollTop)}(0,o.watch)(V,()=>(0,o.nextTick)(H));let{variant:he,text:U,messageId:W,invalid:G,live:K,key:q}=a.useFieldMessage(b,F),J=(0,o.computed)(()=>he.value??`helper`),Y=(0,o.computed)(()=>!R&&!!U.value),ge=(0,o.useAttrs)(),X=(0,o.computed)(()=>a.joinDescribedBy(ge[`aria-describedby`],R?void 0:W.value,P.describedBy.value)),Z=(0,o.computed)(()=>G.value??(P.status.value===`error`?`true`:void 0)),Q=(0,o.computed)(()=>!R&&!!b.error||P.status.value===`error`),_e=(0,o.computed)(()=>!Q.value&&(!R&&!!b.warning||P.status.value===`warning`)),ve=(0,o.useSlots)(),$=(0,o.computed)(()=>({"nb-text-input__field-wrapper--focused":D.value,"nb-text-input__field-wrapper--error":Q.value,"nb-text-input__field-wrapper--warning":_e.value,"nb-text-input__field-wrapper--disabled":L.value,"nb-text-input__field-wrapper--readonly":b.readonly,"nb-text-input__field-wrapper--overlay":B.value,"nb-text-input__field-wrapper--multiline":b.multiline,"nb-text-input__field-wrapper--leading":!!ve.leading}));return(n,r)=>((0,o.openBlock)(),(0,o.createBlock)(te.t,{dir:`col`,class:(0,o.normalizeClass)([`nb-text-input`,`nb-text-input--${t.variant}`,`nb-text-input--${(0,o.unref)(I)}`,{"nb-text-input--multiline":t.multiline}])},{default:(0,o.withCtx)(()=>[t.variant===`default`?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[n.$slots.label&&!(0,o.unref)(R)?(0,o.renderSlot)(n.$slots,`label`,{key:0},void 0,!0):t.label&&!(0,o.unref)(R)?((0,o.openBlock)(),(0,o.createBlock)(ee.t,{key:1,for:(0,o.unref)(F),required:t.required,disabled:(0,o.unref)(L)},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(t.label),1)]),_:1},8,[`for`,`required`,`disabled`])):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`div`,{class:(0,o.normalizeClass)([`nb-text-input__field-wrapper`,$.value])},[n.$slots.leading?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,u,[(0,o.renderSlot)(n.$slots,`leading`,{},void 0,!0)])):(0,o.createCommentVNode)(``,!0),B.value?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,d,[(0,o.createElementVNode)(`div`,{ref_key:`mirrorRef`,ref:E,class:`nb-text-input__mirror`,"aria-hidden":`true`,innerHTML:V.value},null,8,f),t.multiline?((0,o.openBlock)(),(0,o.createElementBlock)(`textarea`,(0,o.mergeProps)({key:0,id:(0,o.unref)(F),ref_key:`nativeRef`,ref:T},n.$attrs,{"aria-invalid":Z.value,"aria-describedby":X.value,class:`nb-text-input__field--transparent`,value:x.value,placeholder:t.placeholder,disabled:(0,o.unref)(L),readonly:t.readonly,name:t.name,maxlength:t.maxlength,spellcheck:`false`,autocomplete:`off`,autocorrect:`off`,onInput:r[0]||=e=>x.value=e.target.value,onFocus:r[1]||=e=>D.value=!0,onBlur:r[2]||=e=>D.value=!1,onScroll:H}),null,16,p)):((0,o.openBlock)(),(0,o.createElementBlock)(`input`,(0,o.mergeProps)({key:1,id:(0,o.unref)(F),ref_key:`nativeRef`,ref:T},n.$attrs,{"aria-invalid":Z.value,"aria-describedby":X.value,type:`text`,class:`nb-text-input__field--transparent`,value:x.value,placeholder:t.placeholder,disabled:(0,o.unref)(L),readonly:t.readonly,name:t.name,maxlength:t.maxlength,spellcheck:`false`,onInput:r[3]||=e=>x.value=e.target.value,onFocus:r[4]||=e=>D.value=!0,onBlur:r[5]||=e=>D.value=!1,onKeydown:(0,o.withKeys)(N,[`esc`])}),null,16,m))])):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:2},[t.multiline?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)(`textarea`,(0,o.mergeProps)({key:0,id:(0,o.unref)(F),ref_key:`nativeRef`,ref:T},n.$attrs,{"onUpdate:modelValue":r[6]||=e=>x.value=e,"aria-invalid":Z.value,"aria-describedby":X.value,class:`nb-text-input__field`,placeholder:t.placeholder,disabled:(0,o.unref)(L),readonly:t.readonly,name:t.name,maxlength:t.maxlength,rows:t.rows,onFocus:r[7]||=e=>D.value=!0,onBlur:r[8]||=e=>D.value=!1}),null,16,h)),[[o.vModelText,x.value]]):(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)(`input`,(0,o.mergeProps)({key:1,id:(0,o.unref)(F),ref_key:`nativeRef`,ref:T},n.$attrs,{"onUpdate:modelValue":r[9]||=e=>x.value=e,"aria-invalid":Z.value,"aria-describedby":X.value,class:`nb-text-input__field`,type:j.value,placeholder:t.placeholder,disabled:(0,o.unref)(L),readonly:t.readonly,required:t.required,name:t.name,min:t.min,max:t.max,step:t.step,maxlength:t.maxlength,onFocus:r[10]||=e=>D.value=!0,onBlur:r[11]||=e=>D.value=!1,onKeydown:(0,o.withKeys)(N,[`esc`])}),null,16,ie)),[[o.vModelDynamic,x.value]])],64)),(0,o.renderSlot)(n.$slots,`trailing`,{},void 0,!0),n.$slots.decorator?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,ae,[(0,o.renderSlot)(n.$slots,`decorator`,{},void 0,!0)])):(0,o.createCommentVNode)(``,!0),n.$slots.actions?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,oe,[(0,o.renderSlot)(n.$slots,`actions`,{},void 0,!0)])):(0,o.createCommentVNode)(``,!0),O.value||k.value?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,se,[O.value?((0,o.openBlock)(),(0,o.createBlock)(e.t,{key:0,variant:`ghost`,icon:(0,o.unref)(s.regular),size:z.value,label:(0,o.unref)(S).textInputClear,class:`nb-text-input__control nb-text-input__clear`,onMousedown:r[12]||=(0,o.withModifiers)(()=>{},[`prevent`]),onClick:M},null,8,[`icon`,`size`,`label`])):(0,o.createCommentVNode)(``,!0),k.value?((0,o.openBlock)(),(0,o.createBlock)(e.t,{key:1,variant:`ghost`,icon:A.value?(0,o.unref)(c.regular):(0,o.unref)(l.regular),size:z.value,label:A.value?(0,o.unref)(S).textInputHidePassword:(0,o.unref)(S).textInputShowPassword,disabled:(0,o.unref)(L),class:`nb-text-input__control nb-text-input__reveal`,onMousedown:r[13]||=(0,o.withModifiers)(()=>{},[`prevent`]),onClick:r[14]||=e=>A.value=!A.value},null,8,[`icon`,`size`,`label`,`disabled`])):(0,o.createCommentVNode)(``,!0)])):(0,o.createCommentVNode)(``,!0)],2),Y.value?((0,o.openBlock)(),(0,o.createBlock)(i.t,{id:(0,o.unref)(W),key:(0,o.unref)(q),variant:J.value,live:(0,o.unref)(K),class:`nb-text-input__message`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)((0,o.unref)(U)),1)]),_:1},8,[`id`,`variant`,`live`])):(0,o.createCommentVNode)(``,!0),C.value?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,ce,(0,o.toDisplayString)(w.value),1)):(0,o.createCommentVNode)(``,!0),(0,o.renderSlot)(n.$slots,`dropdown`,{},void 0,!0)],64)):t.variant===`fluid`?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createElementVNode)(`div`,{class:(0,o.normalizeClass)([`nb-text-input__field-wrapper`,$.value])},[t.label||n.$slots.label?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,le,[n.$slots.label?(0,o.renderSlot)(n.$slots,`label`,{key:0},void 0,!0):((0,o.openBlock)(),(0,o.createElementBlock)(`label`,{key:1,for:(0,o.unref)(F),class:(0,o.normalizeClass)([`nb-text-input__inner-label`,{"nb-text-input__inner-label--required":t.required}]),title:t.label||void 0},[(0,o.createTextVNode)((0,o.toDisplayString)(t.label)+` `,1),t.required?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,g,`*`)):(0,o.createCommentVNode)(``,!0)],10,ue)),Y.value?((0,o.openBlock)(),(0,o.createBlock)(i.t,{id:(0,o.unref)(W),key:(0,o.unref)(q),variant:J.value,live:(0,o.unref)(K),"icon-only":``,class:`nb-text-input__inner-message`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)((0,o.unref)(U)),1)]),_:1},8,[`id`,`variant`,`live`])):(0,o.createCommentVNode)(``,!0),C.value?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,_,(0,o.toDisplayString)(w.value),1)):(0,o.createCommentVNode)(``,!0)])):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`div`,de,[(0,o.withDirectives)((0,o.createElementVNode)(`input`,(0,o.mergeProps)({id:(0,o.unref)(F),ref_key:`nativeRef`,ref:T},n.$attrs,{"onUpdate:modelValue":r[15]||=e=>x.value=e,"aria-invalid":Z.value,"aria-describedby":X.value,class:`nb-text-input__field`,type:j.value,placeholder:t.placeholder,disabled:(0,o.unref)(L),readonly:t.readonly,required:t.required,name:t.name,min:t.min,max:t.max,step:t.step,maxlength:t.maxlength,onFocus:r[16]||=e=>D.value=!0,onBlur:r[17]||=e=>D.value=!1,onKeydown:(0,o.withKeys)(N,[`esc`])}),null,16,fe),[[o.vModelDynamic,x.value]]),O.value||k.value?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,pe,[O.value?((0,o.openBlock)(),(0,o.createBlock)(e.t,{key:0,variant:`ghost`,icon:(0,o.unref)(s.regular),size:z.value,label:(0,o.unref)(S).textInputClear,class:`nb-text-input__control nb-text-input__clear`,onMousedown:r[18]||=(0,o.withModifiers)(()=>{},[`prevent`]),onClick:M},null,8,[`icon`,`size`,`label`])):(0,o.createCommentVNode)(``,!0),k.value?((0,o.openBlock)(),(0,o.createBlock)(e.t,{key:1,variant:`ghost`,icon:A.value?(0,o.unref)(c.regular):(0,o.unref)(l.regular),size:z.value,label:A.value?(0,o.unref)(S).textInputHidePassword:(0,o.unref)(S).textInputShowPassword,disabled:(0,o.unref)(L),class:`nb-text-input__control nb-text-input__reveal`,onMousedown:r[19]||=(0,o.withModifiers)(()=>{},[`prevent`]),onClick:r[20]||=e=>A.value=!A.value},null,8,[`icon`,`size`,`label`,`disabled`])):(0,o.createCommentVNode)(``,!0)])):(0,o.createCommentVNode)(``,!0)])],2),(0,o.renderSlot)(n.$slots,`dropdown`,{},void 0,!0)],64)):(0,o.createCommentVNode)(``,!0)]),_:3},8,[`class`]))}}),y=t.t(v,[[`__scopeId`,`data-v-9ff8a693`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return y}});
|