@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,438 @@
|
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
|
+
import { useStableId as n } from "./composables/useStableId.composable.mjs";
|
|
4
|
+
import { useNbStrings as r } from "./composables/useNbStrings.composable.mjs";
|
|
5
|
+
import { t as ee } from "./Label-xwHw_UbN.js";
|
|
6
|
+
import { t as i } from "./Message-DCeg8qsC.js";
|
|
7
|
+
import { t as te } from "./Grid-B7d8x0tA.js";
|
|
8
|
+
import { joinDescribedBy as ne, useFieldMessage as re } from "./composables/useFieldMessage.composable.mjs";
|
|
9
|
+
import { n as ie } from "./InputGroup.context-Dd4e6fGT.js";
|
|
10
|
+
import { t as ae } from "./TextInput.context-B-mipPOo.js";
|
|
11
|
+
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, defineComponent as oe, mergeModels as f, mergeProps as p, nextTick as se, normalizeClass as m, openBlock as h, provide as ce, ref as g, renderSlot as _, toDisplayString as v, unref as y, useAttrs as le, useModel as ue, useSlots as de, vModelDynamic as b, vModelText as fe, watch as pe, withCtx as x, withDirectives as S, withKeys as C, withModifiers as w } from "vue";
|
|
12
|
+
import { regular as T } from "@nubisco/ui/icons/x";
|
|
13
|
+
import { regular as E } from "@nubisco/ui/icons/eye-slash";
|
|
14
|
+
import { regular as D } from "@nubisco/ui/icons/eye";
|
|
15
|
+
//#region src/components/TextInput.vue?vue&type=script&setup=true&lang.ts
|
|
16
|
+
var me = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "nb-text-input__leading"
|
|
19
|
+
}, he = {
|
|
20
|
+
key: 1,
|
|
21
|
+
class: "nb-text-input__overlay-wrap"
|
|
22
|
+
}, ge = ["innerHTML"], _e = [
|
|
23
|
+
"id",
|
|
24
|
+
"aria-invalid",
|
|
25
|
+
"aria-describedby",
|
|
26
|
+
"value",
|
|
27
|
+
"placeholder",
|
|
28
|
+
"disabled",
|
|
29
|
+
"readonly",
|
|
30
|
+
"name",
|
|
31
|
+
"maxlength"
|
|
32
|
+
], ve = [
|
|
33
|
+
"id",
|
|
34
|
+
"aria-invalid",
|
|
35
|
+
"aria-describedby",
|
|
36
|
+
"value",
|
|
37
|
+
"placeholder",
|
|
38
|
+
"disabled",
|
|
39
|
+
"readonly",
|
|
40
|
+
"name",
|
|
41
|
+
"maxlength"
|
|
42
|
+
], ye = [
|
|
43
|
+
"id",
|
|
44
|
+
"aria-invalid",
|
|
45
|
+
"aria-describedby",
|
|
46
|
+
"placeholder",
|
|
47
|
+
"disabled",
|
|
48
|
+
"readonly",
|
|
49
|
+
"name",
|
|
50
|
+
"maxlength",
|
|
51
|
+
"rows"
|
|
52
|
+
], be = [
|
|
53
|
+
"id",
|
|
54
|
+
"aria-invalid",
|
|
55
|
+
"aria-describedby",
|
|
56
|
+
"type",
|
|
57
|
+
"placeholder",
|
|
58
|
+
"disabled",
|
|
59
|
+
"readonly",
|
|
60
|
+
"required",
|
|
61
|
+
"name",
|
|
62
|
+
"min",
|
|
63
|
+
"max",
|
|
64
|
+
"step",
|
|
65
|
+
"maxlength"
|
|
66
|
+
], xe = {
|
|
67
|
+
key: 3,
|
|
68
|
+
class: "nb-text-input__decorator"
|
|
69
|
+
}, Se = {
|
|
70
|
+
key: 4,
|
|
71
|
+
class: "nb-text-input__actions"
|
|
72
|
+
}, Ce = {
|
|
73
|
+
key: 5,
|
|
74
|
+
class: "nb-text-input__controls"
|
|
75
|
+
}, we = {
|
|
76
|
+
key: 3,
|
|
77
|
+
class: "nb-text-input__count"
|
|
78
|
+
}, Te = {
|
|
79
|
+
key: 0,
|
|
80
|
+
class: "nb-text-input__inner-header"
|
|
81
|
+
}, Ee = ["for", "title"], De = {
|
|
82
|
+
key: 0,
|
|
83
|
+
class: "nb-text-input__asterisk",
|
|
84
|
+
"aria-hidden": "true"
|
|
85
|
+
}, Oe = {
|
|
86
|
+
key: 3,
|
|
87
|
+
class: "nb-text-input__count"
|
|
88
|
+
}, ke = { class: "nb-text-input__fluid-row" }, Ae = [
|
|
89
|
+
"id",
|
|
90
|
+
"aria-invalid",
|
|
91
|
+
"aria-describedby",
|
|
92
|
+
"type",
|
|
93
|
+
"placeholder",
|
|
94
|
+
"disabled",
|
|
95
|
+
"readonly",
|
|
96
|
+
"required",
|
|
97
|
+
"name",
|
|
98
|
+
"min",
|
|
99
|
+
"max",
|
|
100
|
+
"step",
|
|
101
|
+
"maxlength"
|
|
102
|
+
], je = {
|
|
103
|
+
key: 0,
|
|
104
|
+
class: "nb-text-input__controls"
|
|
105
|
+
}, O = /* @__PURE__ */ t(/* @__PURE__ */ oe({
|
|
106
|
+
inheritAttrs: !1,
|
|
107
|
+
__name: "TextInput",
|
|
108
|
+
props: /* @__PURE__ */ f({
|
|
109
|
+
type: { default: "text" },
|
|
110
|
+
min: { default: void 0 },
|
|
111
|
+
max: { default: void 0 },
|
|
112
|
+
step: { default: void 0 },
|
|
113
|
+
maxlength: { default: void 0 },
|
|
114
|
+
showCount: {
|
|
115
|
+
type: Boolean,
|
|
116
|
+
default: !1
|
|
117
|
+
},
|
|
118
|
+
multiline: {
|
|
119
|
+
type: Boolean,
|
|
120
|
+
default: !1
|
|
121
|
+
},
|
|
122
|
+
rows: { default: 3 },
|
|
123
|
+
highlight: {
|
|
124
|
+
type: Function,
|
|
125
|
+
default: void 0
|
|
126
|
+
},
|
|
127
|
+
clearable: {
|
|
128
|
+
type: Boolean,
|
|
129
|
+
default: !1
|
|
130
|
+
},
|
|
131
|
+
revealable: {
|
|
132
|
+
type: Boolean,
|
|
133
|
+
default: !1
|
|
134
|
+
},
|
|
135
|
+
readonly: {
|
|
136
|
+
type: Boolean,
|
|
137
|
+
default: !1
|
|
138
|
+
},
|
|
139
|
+
placeholder: { default: "" },
|
|
140
|
+
name: { default: "" },
|
|
141
|
+
disabled: {
|
|
142
|
+
type: Boolean,
|
|
143
|
+
default: !1
|
|
144
|
+
},
|
|
145
|
+
required: {
|
|
146
|
+
type: Boolean,
|
|
147
|
+
default: !1
|
|
148
|
+
},
|
|
149
|
+
id: { default: void 0 },
|
|
150
|
+
label: { default: "" },
|
|
151
|
+
error: { default: "" },
|
|
152
|
+
warning: { default: "" },
|
|
153
|
+
helper: { default: "" },
|
|
154
|
+
variant: { default: "default" },
|
|
155
|
+
size: { default: "md" }
|
|
156
|
+
}, {
|
|
157
|
+
modelValue: { default: "" },
|
|
158
|
+
modelModifiers: {}
|
|
159
|
+
}),
|
|
160
|
+
emits: /* @__PURE__ */ f(["clear"], ["update:modelValue"]),
|
|
161
|
+
setup(t, { expose: oe, emit: f }) {
|
|
162
|
+
let O = t, Me = f, k = ue(t, "modelValue"), A = r(), j = o(() => O.showCount && typeof O.maxlength == "number"), Ne = o(() => A.value.textInputCount((k.value ?? "").length, O.maxlength ?? 0)), M = g(null), N = g(null);
|
|
163
|
+
oe({
|
|
164
|
+
focus: () => M.value?.focus(),
|
|
165
|
+
blur: () => M.value?.blur(),
|
|
166
|
+
nativeEl: M
|
|
167
|
+
}), ce(ae, { field: M });
|
|
168
|
+
let P = g(!1), F = o(() => O.clearable && !O.multiline && !W.value && !O.readonly && !!k.value), I = o(() => O.revealable && !O.multiline && O.type === "password"), L = g(!1), R = o(() => I.value && L.value ? "text" : O.type);
|
|
169
|
+
function z() {
|
|
170
|
+
k.value = "", Me("clear"), M.value?.focus();
|
|
171
|
+
}
|
|
172
|
+
function B(e) {
|
|
173
|
+
F.value && (e.stopPropagation(), z());
|
|
174
|
+
}
|
|
175
|
+
let V = ie(O, n({})), H = V.id, U = V.size, W = V.disabled, G = V.grouped, K = o(() => O.variant === "fluid" ? "sm" : U.value), q = o(() => !!O.highlight), J = o(() => {
|
|
176
|
+
if (!O.highlight) return "";
|
|
177
|
+
let e = String(k.value ?? "");
|
|
178
|
+
return O.highlight(e) + "\n";
|
|
179
|
+
});
|
|
180
|
+
function Y() {
|
|
181
|
+
N.value && M.value && (N.value.scrollTop = M.value.scrollTop);
|
|
182
|
+
}
|
|
183
|
+
pe(J, () => se(Y));
|
|
184
|
+
let { variant: Pe, text: X, messageId: Z, invalid: Fe, live: Ie, key: Le } = re(O, H), Re = o(() => Pe.value ?? "helper"), ze = o(() => !G && !!X.value), Be = le(), Q = o(() => ne(Be["aria-describedby"], G ? void 0 : Z.value, V.describedBy.value)), $ = o(() => Fe.value ?? (V.status.value === "error" ? "true" : void 0)), Ve = o(() => !G && !!O.error || V.status.value === "error"), He = o(() => !Ve.value && (!G && !!O.warning || V.status.value === "warning")), Ue = de(), We = o(() => ({
|
|
185
|
+
"nb-text-input__field-wrapper--focused": P.value,
|
|
186
|
+
"nb-text-input__field-wrapper--error": Ve.value,
|
|
187
|
+
"nb-text-input__field-wrapper--warning": He.value,
|
|
188
|
+
"nb-text-input__field-wrapper--disabled": W.value,
|
|
189
|
+
"nb-text-input__field-wrapper--readonly": O.readonly,
|
|
190
|
+
"nb-text-input__field-wrapper--overlay": q.value,
|
|
191
|
+
"nb-text-input__field-wrapper--multiline": O.multiline,
|
|
192
|
+
"nb-text-input__field-wrapper--leading": !!Ue.leading
|
|
193
|
+
}));
|
|
194
|
+
return (n, r) => (h(), s(te, {
|
|
195
|
+
dir: "col",
|
|
196
|
+
class: m([
|
|
197
|
+
"nb-text-input",
|
|
198
|
+
`nb-text-input--${t.variant}`,
|
|
199
|
+
`nb-text-input--${y(U)}`,
|
|
200
|
+
{ "nb-text-input--multiline": t.multiline }
|
|
201
|
+
])
|
|
202
|
+
}, {
|
|
203
|
+
default: x(() => [t.variant === "default" ? (h(), l(a, { key: 0 }, [
|
|
204
|
+
n.$slots.label && !y(G) ? _(n.$slots, "label", { key: 0 }, void 0, !0) : t.label && !y(G) ? (h(), s(ee, {
|
|
205
|
+
key: 1,
|
|
206
|
+
for: y(H),
|
|
207
|
+
required: t.required,
|
|
208
|
+
disabled: y(W)
|
|
209
|
+
}, {
|
|
210
|
+
default: x(() => [d(v(t.label), 1)]),
|
|
211
|
+
_: 1
|
|
212
|
+
}, 8, [
|
|
213
|
+
"for",
|
|
214
|
+
"required",
|
|
215
|
+
"disabled"
|
|
216
|
+
])) : c("", !0),
|
|
217
|
+
u("div", { class: m(["nb-text-input__field-wrapper", We.value]) }, [
|
|
218
|
+
n.$slots.leading ? (h(), l("div", me, [_(n.$slots, "leading", {}, void 0, !0)])) : c("", !0),
|
|
219
|
+
q.value ? (h(), l("div", he, [u("div", {
|
|
220
|
+
ref_key: "mirrorRef",
|
|
221
|
+
ref: N,
|
|
222
|
+
class: "nb-text-input__mirror",
|
|
223
|
+
"aria-hidden": "true",
|
|
224
|
+
innerHTML: J.value
|
|
225
|
+
}, null, 8, ge), t.multiline ? (h(), l("textarea", p({
|
|
226
|
+
key: 0,
|
|
227
|
+
id: y(H),
|
|
228
|
+
ref_key: "nativeRef",
|
|
229
|
+
ref: M
|
|
230
|
+
}, n.$attrs, {
|
|
231
|
+
"aria-invalid": $.value,
|
|
232
|
+
"aria-describedby": Q.value,
|
|
233
|
+
class: "nb-text-input__field--transparent",
|
|
234
|
+
value: k.value,
|
|
235
|
+
placeholder: t.placeholder,
|
|
236
|
+
disabled: y(W),
|
|
237
|
+
readonly: t.readonly,
|
|
238
|
+
name: t.name,
|
|
239
|
+
maxlength: t.maxlength,
|
|
240
|
+
spellcheck: "false",
|
|
241
|
+
autocomplete: "off",
|
|
242
|
+
autocorrect: "off",
|
|
243
|
+
onInput: r[0] ||= (e) => k.value = e.target.value,
|
|
244
|
+
onFocus: r[1] ||= (e) => P.value = !0,
|
|
245
|
+
onBlur: r[2] ||= (e) => P.value = !1,
|
|
246
|
+
onScroll: Y
|
|
247
|
+
}), null, 16, _e)) : (h(), l("input", p({
|
|
248
|
+
key: 1,
|
|
249
|
+
id: y(H),
|
|
250
|
+
ref_key: "nativeRef",
|
|
251
|
+
ref: M
|
|
252
|
+
}, n.$attrs, {
|
|
253
|
+
"aria-invalid": $.value,
|
|
254
|
+
"aria-describedby": Q.value,
|
|
255
|
+
type: "text",
|
|
256
|
+
class: "nb-text-input__field--transparent",
|
|
257
|
+
value: k.value,
|
|
258
|
+
placeholder: t.placeholder,
|
|
259
|
+
disabled: y(W),
|
|
260
|
+
readonly: t.readonly,
|
|
261
|
+
name: t.name,
|
|
262
|
+
maxlength: t.maxlength,
|
|
263
|
+
spellcheck: "false",
|
|
264
|
+
onInput: r[3] ||= (e) => k.value = e.target.value,
|
|
265
|
+
onFocus: r[4] ||= (e) => P.value = !0,
|
|
266
|
+
onBlur: r[5] ||= (e) => P.value = !1,
|
|
267
|
+
onKeydown: C(B, ["esc"])
|
|
268
|
+
}), null, 16, ve))])) : (h(), l(a, { key: 2 }, [t.multiline ? S((h(), l("textarea", p({
|
|
269
|
+
key: 0,
|
|
270
|
+
id: y(H),
|
|
271
|
+
ref_key: "nativeRef",
|
|
272
|
+
ref: M
|
|
273
|
+
}, n.$attrs, {
|
|
274
|
+
"onUpdate:modelValue": r[6] ||= (e) => k.value = e,
|
|
275
|
+
"aria-invalid": $.value,
|
|
276
|
+
"aria-describedby": Q.value,
|
|
277
|
+
class: "nb-text-input__field",
|
|
278
|
+
placeholder: t.placeholder,
|
|
279
|
+
disabled: y(W),
|
|
280
|
+
readonly: t.readonly,
|
|
281
|
+
name: t.name,
|
|
282
|
+
maxlength: t.maxlength,
|
|
283
|
+
rows: t.rows,
|
|
284
|
+
onFocus: r[7] ||= (e) => P.value = !0,
|
|
285
|
+
onBlur: r[8] ||= (e) => P.value = !1
|
|
286
|
+
}), null, 16, ye)), [[fe, k.value]]) : S((h(), l("input", p({
|
|
287
|
+
key: 1,
|
|
288
|
+
id: y(H),
|
|
289
|
+
ref_key: "nativeRef",
|
|
290
|
+
ref: M
|
|
291
|
+
}, n.$attrs, {
|
|
292
|
+
"onUpdate:modelValue": r[9] ||= (e) => k.value = e,
|
|
293
|
+
"aria-invalid": $.value,
|
|
294
|
+
"aria-describedby": Q.value,
|
|
295
|
+
class: "nb-text-input__field",
|
|
296
|
+
type: R.value,
|
|
297
|
+
placeholder: t.placeholder,
|
|
298
|
+
disabled: y(W),
|
|
299
|
+
readonly: t.readonly,
|
|
300
|
+
required: t.required,
|
|
301
|
+
name: t.name,
|
|
302
|
+
min: t.min,
|
|
303
|
+
max: t.max,
|
|
304
|
+
step: t.step,
|
|
305
|
+
maxlength: t.maxlength,
|
|
306
|
+
onFocus: r[10] ||= (e) => P.value = !0,
|
|
307
|
+
onBlur: r[11] ||= (e) => P.value = !1,
|
|
308
|
+
onKeydown: C(B, ["esc"])
|
|
309
|
+
}), null, 16, be)), [[b, k.value]])], 64)),
|
|
310
|
+
_(n.$slots, "trailing", {}, void 0, !0),
|
|
311
|
+
n.$slots.decorator ? (h(), l("div", xe, [_(n.$slots, "decorator", {}, void 0, !0)])) : c("", !0),
|
|
312
|
+
n.$slots.actions ? (h(), l("div", Se, [_(n.$slots, "actions", {}, void 0, !0)])) : c("", !0),
|
|
313
|
+
F.value || I.value ? (h(), l("div", Ce, [F.value ? (h(), s(e, {
|
|
314
|
+
key: 0,
|
|
315
|
+
variant: "ghost",
|
|
316
|
+
icon: y(T),
|
|
317
|
+
size: K.value,
|
|
318
|
+
label: y(A).textInputClear,
|
|
319
|
+
class: "nb-text-input__control nb-text-input__clear",
|
|
320
|
+
onMousedown: r[12] ||= w(() => {}, ["prevent"]),
|
|
321
|
+
onClick: z
|
|
322
|
+
}, null, 8, [
|
|
323
|
+
"icon",
|
|
324
|
+
"size",
|
|
325
|
+
"label"
|
|
326
|
+
])) : c("", !0), I.value ? (h(), s(e, {
|
|
327
|
+
key: 1,
|
|
328
|
+
variant: "ghost",
|
|
329
|
+
icon: L.value ? y(E) : y(D),
|
|
330
|
+
size: K.value,
|
|
331
|
+
label: L.value ? y(A).textInputHidePassword : y(A).textInputShowPassword,
|
|
332
|
+
disabled: y(W),
|
|
333
|
+
class: "nb-text-input__control nb-text-input__reveal",
|
|
334
|
+
onMousedown: r[13] ||= w(() => {}, ["prevent"]),
|
|
335
|
+
onClick: r[14] ||= (e) => L.value = !L.value
|
|
336
|
+
}, null, 8, [
|
|
337
|
+
"icon",
|
|
338
|
+
"size",
|
|
339
|
+
"label",
|
|
340
|
+
"disabled"
|
|
341
|
+
])) : c("", !0)])) : c("", !0)
|
|
342
|
+
], 2),
|
|
343
|
+
ze.value ? (h(), s(i, {
|
|
344
|
+
id: y(Z),
|
|
345
|
+
key: y(Le),
|
|
346
|
+
variant: Re.value,
|
|
347
|
+
live: y(Ie),
|
|
348
|
+
class: "nb-text-input__message"
|
|
349
|
+
}, {
|
|
350
|
+
default: x(() => [d(v(y(X)), 1)]),
|
|
351
|
+
_: 1
|
|
352
|
+
}, 8, [
|
|
353
|
+
"id",
|
|
354
|
+
"variant",
|
|
355
|
+
"live"
|
|
356
|
+
])) : c("", !0),
|
|
357
|
+
j.value ? (h(), l("span", we, v(Ne.value), 1)) : c("", !0),
|
|
358
|
+
_(n.$slots, "dropdown", {}, void 0, !0)
|
|
359
|
+
], 64)) : t.variant === "fluid" ? (h(), l(a, { key: 1 }, [u("div", { class: m(["nb-text-input__field-wrapper", We.value]) }, [t.label || n.$slots.label ? (h(), l("div", Te, [
|
|
360
|
+
n.$slots.label ? _(n.$slots, "label", { key: 0 }, void 0, !0) : (h(), l("label", {
|
|
361
|
+
key: 1,
|
|
362
|
+
for: y(H),
|
|
363
|
+
class: m(["nb-text-input__inner-label", { "nb-text-input__inner-label--required": t.required }]),
|
|
364
|
+
title: t.label || void 0
|
|
365
|
+
}, [d(v(t.label) + " ", 1), t.required ? (h(), l("span", De, "*")) : c("", !0)], 10, Ee)),
|
|
366
|
+
ze.value ? (h(), s(i, {
|
|
367
|
+
id: y(Z),
|
|
368
|
+
key: y(Le),
|
|
369
|
+
variant: Re.value,
|
|
370
|
+
live: y(Ie),
|
|
371
|
+
"icon-only": "",
|
|
372
|
+
class: "nb-text-input__inner-message"
|
|
373
|
+
}, {
|
|
374
|
+
default: x(() => [d(v(y(X)), 1)]),
|
|
375
|
+
_: 1
|
|
376
|
+
}, 8, [
|
|
377
|
+
"id",
|
|
378
|
+
"variant",
|
|
379
|
+
"live"
|
|
380
|
+
])) : c("", !0),
|
|
381
|
+
j.value ? (h(), l("span", Oe, v(Ne.value), 1)) : c("", !0)
|
|
382
|
+
])) : c("", !0), u("div", ke, [S(u("input", p({
|
|
383
|
+
id: y(H),
|
|
384
|
+
ref_key: "nativeRef",
|
|
385
|
+
ref: M
|
|
386
|
+
}, n.$attrs, {
|
|
387
|
+
"onUpdate:modelValue": r[15] ||= (e) => k.value = e,
|
|
388
|
+
"aria-invalid": $.value,
|
|
389
|
+
"aria-describedby": Q.value,
|
|
390
|
+
class: "nb-text-input__field",
|
|
391
|
+
type: R.value,
|
|
392
|
+
placeholder: t.placeholder,
|
|
393
|
+
disabled: y(W),
|
|
394
|
+
readonly: t.readonly,
|
|
395
|
+
required: t.required,
|
|
396
|
+
name: t.name,
|
|
397
|
+
min: t.min,
|
|
398
|
+
max: t.max,
|
|
399
|
+
step: t.step,
|
|
400
|
+
maxlength: t.maxlength,
|
|
401
|
+
onFocus: r[16] ||= (e) => P.value = !0,
|
|
402
|
+
onBlur: r[17] ||= (e) => P.value = !1,
|
|
403
|
+
onKeydown: C(B, ["esc"])
|
|
404
|
+
}), null, 16, Ae), [[b, k.value]]), F.value || I.value ? (h(), l("div", je, [F.value ? (h(), s(e, {
|
|
405
|
+
key: 0,
|
|
406
|
+
variant: "ghost",
|
|
407
|
+
icon: y(T),
|
|
408
|
+
size: K.value,
|
|
409
|
+
label: y(A).textInputClear,
|
|
410
|
+
class: "nb-text-input__control nb-text-input__clear",
|
|
411
|
+
onMousedown: r[18] ||= w(() => {}, ["prevent"]),
|
|
412
|
+
onClick: z
|
|
413
|
+
}, null, 8, [
|
|
414
|
+
"icon",
|
|
415
|
+
"size",
|
|
416
|
+
"label"
|
|
417
|
+
])) : c("", !0), I.value ? (h(), s(e, {
|
|
418
|
+
key: 1,
|
|
419
|
+
variant: "ghost",
|
|
420
|
+
icon: L.value ? y(E) : y(D),
|
|
421
|
+
size: K.value,
|
|
422
|
+
label: L.value ? y(A).textInputHidePassword : y(A).textInputShowPassword,
|
|
423
|
+
disabled: y(W),
|
|
424
|
+
class: "nb-text-input__control nb-text-input__reveal",
|
|
425
|
+
onMousedown: r[19] ||= w(() => {}, ["prevent"]),
|
|
426
|
+
onClick: r[20] ||= (e) => L.value = !L.value
|
|
427
|
+
}, null, 8, [
|
|
428
|
+
"icon",
|
|
429
|
+
"size",
|
|
430
|
+
"label",
|
|
431
|
+
"disabled"
|
|
432
|
+
])) : c("", !0)])) : c("", !0)])], 2), _(n.$slots, "dropdown", {}, void 0, !0)], 64)) : c("", !0)]),
|
|
433
|
+
_: 3
|
|
434
|
+
}, 8, ["class"]));
|
|
435
|
+
}
|
|
436
|
+
}), [["__scopeId", "data-v-9ff8a693"]]);
|
|
437
|
+
//#endregion
|
|
438
|
+
export { O as t };
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
|
+
import { t as n } from "./Icon-B2tiGiqZ.js";
|
|
4
|
+
import { useNbStrings as r } from "./composables/useNbStrings.composable.mjs";
|
|
5
|
+
import { t as i } from "./CloseButton-CdH12Hdn.js";
|
|
6
|
+
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, normalizeClass as p, normalizeStyle as m, onMounted as h, onUnmounted as g, openBlock as _, ref as v, toDisplayString as y, unref as b, watch as x, withCtx as S } from "vue";
|
|
7
|
+
import * as C from "@nubisco/ui/icons/info";
|
|
8
|
+
import * as w from "@nubisco/ui/icons/warning-circle";
|
|
9
|
+
import * as T from "@nubisco/ui/icons/warning";
|
|
10
|
+
import * as E from "@nubisco/ui/icons/check-circle";
|
|
11
|
+
//#region src/components/Toast.vue?vue&type=script&setup=true&lang.ts
|
|
12
|
+
var D = ["role", "aria-live"], O = { class: "nb-toast__icon" }, k = { class: "nb-toast__body" }, A = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "nb-toast__status"
|
|
15
|
+
}, j = {
|
|
16
|
+
key: 1,
|
|
17
|
+
class: "nb-toast__title"
|
|
18
|
+
}, M = { class: "nb-toast__message" }, N = /* @__PURE__ */ t(/* @__PURE__ */ f({
|
|
19
|
+
__name: "Toast",
|
|
20
|
+
props: {
|
|
21
|
+
variant: { default: "info" },
|
|
22
|
+
title: { default: void 0 },
|
|
23
|
+
message: {},
|
|
24
|
+
duration: { default: 4e3 },
|
|
25
|
+
cta: { default: void 0 },
|
|
26
|
+
role: { default: "alert" },
|
|
27
|
+
ariaLive: { default: void 0 },
|
|
28
|
+
statusLabel: { default: void 0 },
|
|
29
|
+
closeLabel: { default: void 0 },
|
|
30
|
+
managed: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: !1
|
|
33
|
+
},
|
|
34
|
+
paused: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: !1
|
|
37
|
+
},
|
|
38
|
+
cycle: { default: 0 }
|
|
39
|
+
},
|
|
40
|
+
emits: ["close", "action"],
|
|
41
|
+
setup(t, { emit: f }) {
|
|
42
|
+
let N = t, P = f, F = v(!1), I = a(() => N.managed ? N.paused : F.value), L = {
|
|
43
|
+
success: E,
|
|
44
|
+
error: w,
|
|
45
|
+
warning: T,
|
|
46
|
+
info: C
|
|
47
|
+
}, R = r(), z = a(() => ({
|
|
48
|
+
success: R.value.toastSuccess,
|
|
49
|
+
error: R.value.toastError,
|
|
50
|
+
warning: R.value.toastWarning,
|
|
51
|
+
info: R.value.toastInfo
|
|
52
|
+
})), B = a(() => N.statusLabel === void 0 ? z.value[N.variant] : N.statusLabel);
|
|
53
|
+
function V() {
|
|
54
|
+
N.cta?.action(), P("action"), P("close");
|
|
55
|
+
}
|
|
56
|
+
let H = a(() => N.ariaLive ?? (N.variant === "error" ? "assertive" : "polite")), U = null, W = N.duration ?? 0, G = 0;
|
|
57
|
+
function K() {
|
|
58
|
+
N.managed || !W || (G = Date.now(), U = setTimeout(() => P("close"), W));
|
|
59
|
+
}
|
|
60
|
+
function q() {
|
|
61
|
+
N.managed || Y();
|
|
62
|
+
}
|
|
63
|
+
function J() {
|
|
64
|
+
N.managed || X();
|
|
65
|
+
}
|
|
66
|
+
function Y() {
|
|
67
|
+
!W || F.value || (F.value = !0, U && clearTimeout(U), W -= Date.now() - G);
|
|
68
|
+
}
|
|
69
|
+
function X() {
|
|
70
|
+
!W || !F.value || (F.value = !1, K());
|
|
71
|
+
}
|
|
72
|
+
return h(K), g(() => {
|
|
73
|
+
U && clearTimeout(U);
|
|
74
|
+
}), x(() => N.duration, (e) => {
|
|
75
|
+
U && clearTimeout(U), W = e ?? 0, K();
|
|
76
|
+
}), (r, a) => (_(), c("div", {
|
|
77
|
+
class: p(["nb-toast", `nb-toast--${t.variant}`]),
|
|
78
|
+
role: t.role,
|
|
79
|
+
"aria-live": H.value,
|
|
80
|
+
onMouseenter: q,
|
|
81
|
+
onMouseleave: J
|
|
82
|
+
}, [
|
|
83
|
+
l("div", O, [d(n, {
|
|
84
|
+
name: L[t.variant],
|
|
85
|
+
size: 16
|
|
86
|
+
}, null, 8, ["name"])]),
|
|
87
|
+
l("div", k, [
|
|
88
|
+
B.value ? (_(), c("span", A, y(B.value), 1)) : s("", !0),
|
|
89
|
+
t.title ? (_(), c("p", j, y(t.title), 1)) : s("", !0),
|
|
90
|
+
l("p", M, y(t.message), 1),
|
|
91
|
+
t.cta ? (_(), o(e, {
|
|
92
|
+
key: 2,
|
|
93
|
+
class: "nb-toast__cta",
|
|
94
|
+
variant: "link",
|
|
95
|
+
onClick: V
|
|
96
|
+
}, {
|
|
97
|
+
default: S(() => [u(y(t.cta.label), 1)]),
|
|
98
|
+
_: 1
|
|
99
|
+
})) : s("", !0)
|
|
100
|
+
]),
|
|
101
|
+
d(i, {
|
|
102
|
+
class: "nb-toast__close",
|
|
103
|
+
label: t.closeLabel ?? b(R).close,
|
|
104
|
+
onClick: a[0] ||= (e) => P("close")
|
|
105
|
+
}, null, 8, ["label"]),
|
|
106
|
+
t.duration ? (_(), c("div", {
|
|
107
|
+
key: t.cycle,
|
|
108
|
+
class: "nb-toast__progress",
|
|
109
|
+
style: m({
|
|
110
|
+
animationDuration: `${t.duration}ms`,
|
|
111
|
+
animationPlayState: I.value ? "paused" : "running"
|
|
112
|
+
})
|
|
113
|
+
}, null, 4)) : s("", !0)
|
|
114
|
+
], 42, D));
|
|
115
|
+
}
|
|
116
|
+
}), [["__scopeId", "data-v-42d2fd4b"]]);
|
|
117
|
+
//#endregion
|
|
118
|
+
export { N as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./Button-BHFtgOXA.cjs`),n=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),r=require(`./Icon-CssV4E2-.cjs`),i=require(`./composables/useNbStrings.composable.cjs`),a=require(`./CloseButton-9TTFHFmx.cjs`);let o=require(`vue`),s=require(`@nubisco/ui/icons/info`);s=e.n(s);let c=require(`@nubisco/ui/icons/warning-circle`);c=e.n(c);let l=require(`@nubisco/ui/icons/warning`);l=e.n(l);let u=require(`@nubisco/ui/icons/check-circle`);u=e.n(u);var d=[`role`,`aria-live`],f={class:`nb-toast__icon`},p={class:`nb-toast__body`},m={key:0,class:`nb-toast__status`},h={key:1,class:`nb-toast__title`},g={class:`nb-toast__message`},_=(0,o.defineComponent)({__name:`Toast`,props:{variant:{default:`info`},title:{default:void 0},message:{},duration:{default:4e3},cta:{default:void 0},role:{default:`alert`},ariaLive:{default:void 0},statusLabel:{default:void 0},closeLabel:{default:void 0},managed:{type:Boolean,default:!1},paused:{type:Boolean,default:!1},cycle:{default:0}},emits:[`close`,`action`],setup(e,{emit:n}){let _=e,v=n,y=(0,o.ref)(!1),b=(0,o.computed)(()=>_.managed?_.paused:y.value),x={success:u,error:c,warning:l,info:s},S=i.useNbStrings(),C=(0,o.computed)(()=>({success:S.value.toastSuccess,error:S.value.toastError,warning:S.value.toastWarning,info:S.value.toastInfo})),w=(0,o.computed)(()=>_.statusLabel===void 0?C.value[_.variant]:_.statusLabel);function T(){_.cta?.action(),v(`action`),v(`close`)}let E=(0,o.computed)(()=>_.ariaLive??(_.variant===`error`?`assertive`:`polite`)),D=null,O=_.duration??0,k=0;function A(){_.managed||!O||(k=Date.now(),D=setTimeout(()=>v(`close`),O))}function j(){_.managed||N()}function M(){_.managed||P()}function N(){!O||y.value||(y.value=!0,D&&clearTimeout(D),O-=Date.now()-k)}function P(){!O||!y.value||(y.value=!1,A())}return(0,o.onMounted)(A),(0,o.onUnmounted)(()=>{D&&clearTimeout(D)}),(0,o.watch)(()=>_.duration,e=>{D&&clearTimeout(D),O=e??0,A()}),(n,i)=>((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{class:(0,o.normalizeClass)([`nb-toast`,`nb-toast--${e.variant}`]),role:e.role,"aria-live":E.value,onMouseenter:j,onMouseleave:M},[(0,o.createElementVNode)(`div`,f,[(0,o.createVNode)(r.t,{name:x[e.variant],size:16},null,8,[`name`])]),(0,o.createElementVNode)(`div`,p,[w.value?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,m,(0,o.toDisplayString)(w.value),1)):(0,o.createCommentVNode)(``,!0),e.title?((0,o.openBlock)(),(0,o.createElementBlock)(`p`,h,(0,o.toDisplayString)(e.title),1)):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`p`,g,(0,o.toDisplayString)(e.message),1),e.cta?((0,o.openBlock)(),(0,o.createBlock)(t.t,{key:2,class:`nb-toast__cta`,variant:`link`,onClick:T},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.cta.label),1)]),_:1})):(0,o.createCommentVNode)(``,!0)]),(0,o.createVNode)(a.t,{class:`nb-toast__close`,label:e.closeLabel??(0,o.unref)(S).close,onClick:i[0]||=e=>v(`close`)},null,8,[`label`]),e.duration?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:e.cycle,class:`nb-toast__progress`,style:(0,o.normalizeStyle)({animationDuration:`${e.duration}ms`,animationPlayState:b.value?`paused`:`running`})},null,4)):(0,o.createCommentVNode)(``,!0)],42,d))}}),v=n.t(_,[[`__scopeId`,`data-v-42d2fd4b`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return v}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./Toast-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./Toast-BvZywdtO.cjs`),n=require(`./composables/useToast.composable.cjs`);let r=require(`vue`);var i={class:`nb-toaster__announcer`},a={role:`status`,"aria-live":`polite`,"aria-atomic":`true`},o={role:`alert`,"aria-live":`assertive`,"aria-atomic":`true`},s=[`aria-label`,`data-paused`],c=[`data-toast-id`],l=new Map;function u(e,t){let n=(l.get(e)??0)+t;n<=0?l.delete(e):l.set(e,n),!(t<0||n<2)&&(typeof process<`u`&&process.env.NODE_ENV===`production`||console.warn(`[NbToaster] Two hosts are rendering the same queue. Every toast will be shown and announced twice, and both hosts write to queue.max. Mount one NbToaster per application, and give any second host (a demo, a dialog) its own createToastQueue().`))}var d=(0,r.defineComponent)({__name:`Toaster`,props:{queue:{default:void 0},placement:{default:`bottom-end`},max:{default:void 0},label:{default:`Notifications`},to:{type:[String,Boolean],default:`body`},hotkey:{default:`alt+t`},hotkeyHint:{default:`Press Alt plus T to reach it.`}},setup(e,{expose:l}){let d=e,f=(0,r.inject)(n.NB_TOAST_QUEUE_KEY,null),p=(0,r.computed)(()=>d.queue??f??n.useToast()),m=(0,r.computed)(()=>p.value.visible.value),h=(0,r.computed)(()=>[...m.value].reverse()),g=(0,r.ref)(null),_=(0,r.computed)(()=>d.to===!1?`body`:d.to),v=null;function y(){v&&(v.queue.max.value=v.previous),v=null}(0,r.watch)([p,()=>d.max],([e,t])=>{v&&(v.queue!==e||t===void 0)&&y(),t!==void 0&&(v||={queue:e,previous:e.max.value},e.max.value=t)},{immediate:!0});let b=null;function x(e){b!==e&&(b&&u(b,-1),b=e,e&&u(e,1))}(0,r.watch)(p,e=>{b&&x(e)});function S(e){return e.variant===`error`||e.variant===`warning`}let C=(0,r.ref)(``),w=(0,r.ref)(``),T={polite:{text:C,buffer:[],draining:!1,handle:null},assertive:{text:w,buffer:[],draining:!1,handle:null}};function E(e){let t=[p.value.labels.status[e.variant],e.title,e.message].filter(Boolean).join(`. `);if(!e.cta)return t;let n=d.hotkey?` ${d.hotkeyHint}`:``;return`${t}. ${e.cta.label} action available.${n}`}async function D(e){let t=e.buffer.shift();if(t===void 0){e.draining=!1;return}e.draining=!0,e.text.value=``,await(0,r.nextTick)(),e.text.value=t,e.handle=setTimeout(()=>{e.handle=null,D(e)},500)}function O(e){let t=T[S(e)?`assertive`:`polite`];t.buffer.push(E(e)),t.draining||D(t)}(0,r.onBeforeUnmount)(()=>{for(let e of Object.values(T))e.handle&&clearTimeout(e.handle),e.handle=null,e.buffer.length=0,e.draining=!1});let k=new Set;(0,r.watch)(m,e=>{let t=new Set(e.map(e=>e.id));for(let e of[...k])t.has(e.slice(0,e.lastIndexOf(`:`)))||k.delete(e);for(let t of e){let e=`${t.id}:${t.cycle}`;k.has(e)||(k.add(e),O(t))}},{deep:!0,immediate:!0});let A=new Set,j=!1;function M(e){A.size===0&&(j=p.value.paused.value),A.add(e),p.value.pause()}function N(e){A.delete(e)&&A.size===0&&!j&&p.value.resume()}let P=null;function F(e){let t=e.target;!t||t===document.body||g.value?.contains(t)||(P=t)}function I(){M(`focus`)}function L(e){let t=e.relatedTarget;t&&g.value?.contains(t)||N(`focus`)}function R(e){if(e.key!==`Escape`)return;let t=(document.activeElement?.closest(`.nb-toaster__item`))?.dataset.toastId??h.value[0]?.id;t&&(e.stopPropagation(),e.preventDefault(),U(t))}let z=[`button:not([disabled])`,`[href]`,`input:not([disabled]):not([type="hidden"])`,`select:not([disabled])`,`textarea:not([disabled])`,`[tabindex]:not([tabindex="-1"])`].join(`,`);function B(e){return g.value?.querySelector(`[data-toast-id="${e}"]`)??null}function V(e){let t=B(e);return t?t.matches(z)?t:t.querySelector(z):null}let H=new Set;(0,r.watch)(m,(e,t)=>{if(!t)return;let n=document.activeElement;if(!n||!g.value?.contains(n))return;let i=n.closest(`[data-toast-id]`)?.dataset.toastId;if(!i||e.some(e=>e.id===i))return;let a=[...t].reverse().map(e=>e.id),o=new Set(e.map(e=>e.id)),s=a.indexOf(i),c;for(let e=s+1;e<a.length&&!c;e+=1)o.has(a[e])&&(c=a[e]);for(let e=s-1;e>=0&&!c;--e)o.has(a[e])&&(c=a[e]);let l=P;(0,r.nextTick)(()=>{let e=c?V(c):null;if(e){e.focus();return}l?.isConnected&&l.focus(),P=null})});function U(e,t){p.value.dismiss(e,t??(H.has(e)?`action`:`user`)),H.delete(e)}let W={space:`Space`,enter:`Enter`,escape:`Escape`,comma:`Comma`,period:`Period`,slash:`Slash`,backslash:`Backslash`,backquote:`Backquote`,minus:`Minus`,equal:`Equal`};function G(e){return/^[a-z]$/.test(e)?`Key${e.toUpperCase()}`:/^[0-9]$/.test(e)?`Digit${e}`:W[e]??null}function K(e){if(!d.hotkey)return!1;let t=d.hotkey.toLowerCase().split(`+`),n=t[t.length-1],r=G(n);if(r?e.code!==r:e.key.toLowerCase()!==n)return!1;let i=e=>t.includes(e);return e.altKey===i(`alt`)&&e.ctrlKey===i(`ctrl`)&&e.shiftKey===i(`shift`)&&e.metaKey===i(`meta`)}function q(){let e=document.querySelectorAll(`[aria-modal="true"]`);for(let t of e)if(!(g.value&&t.contains(g.value)))return t;return null}function J(e){if(!K(e)||h.value.length===0)return;if(g.value?.contains(document.activeElement)){e.preventDefault(),P?.isConnected?P.focus():document.activeElement?.blur();return}if(q())return;let t=V(h.value[0].id);t&&(e.preventDefault(),t.focus())}function Y(){document.visibilityState===`hidden`?M(`hidden`):N(`hidden`)}return(0,r.onMounted)(()=>{x(p.value),Y(),document.addEventListener(`visibilitychange`,Y),document.addEventListener(`focusin`,F),document.addEventListener(`keydown`,J)}),(0,r.onBeforeUnmount)(()=>{document.removeEventListener(`visibilitychange`,Y),document.removeEventListener(`focusin`,F),document.removeEventListener(`keydown`,J);let e=A.size>0&&!j;A.clear(),e&&p.value.resume(),x(null),y()}),(0,r.watch)(()=>m.value.length,e=>{if(e>0)return;let t=A.delete(`pointer`),n=A.delete(`focus`);!t&&!n||A.size===0&&!j&&p.value.resume()}),l({queue:p}),(e,n)=>((0,r.openBlock)(),(0,r.createBlock)(r.Teleport,{to:_.value,disabled:d.to===!1},[(0,r.createElementVNode)(`div`,i,[(0,r.createElementVNode)(`div`,a,(0,r.toDisplayString)(C.value),1),(0,r.createElementVNode)(`div`,o,(0,r.toDisplayString)(w.value),1)]),m.value.length>0?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{key:0,ref_key:`regionRef`,ref:g,class:(0,r.normalizeClass)([`nb-toaster`,`nb-toaster--${d.placement}`]),role:`region`,"aria-label":d.label,"data-paused":p.value.paused.value?`true`:void 0,onMouseenter:n[0]||=e=>M(`pointer`),onMouseleave:n[1]||=e=>N(`pointer`),onFocusin:I,onFocusout:L,onKeydown:R},[(0,r.createVNode)(r.TransitionGroup,{tag:`div`,class:`nb-toaster__stack`,name:`nb-toaster`},{default:(0,r.withCtx)(()=>[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(h.value,n=>((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{key:n.id,class:`nb-toaster__item`,"data-toast-id":n.id},[(0,r.renderSlot)(e.$slots,`toast`,{toast:n,paused:p.value.paused.value,dismiss:e=>U(n.id,e),action:()=>(0,r.unref)(H).add(n.id)},()=>[(0,r.createVNode)(t.t,{message:n.message,title:n.title,variant:n.variant,cta:n.cta,duration:n.duration,cycle:n.cycle,managed:``,paused:p.value.paused.value,role:`none`,"aria-live":`off`,"status-label":p.value.labels.status[n.variant],"close-label":p.value.labels.close,onAction:e=>(0,r.unref)(H).add(n.id),onClose:e=>U(n.id)},null,8,[`message`,`title`,`variant`,`cta`,`duration`,`cycle`,`paused`,`status-label`,`close-label`,`onAction`,`onClose`])],!0)],8,c))),128))]),_:3})],42,s)):(0,r.createCommentVNode)(``,!0)],8,[`to`,`disabled`]))}}),f=e.t(d,[[`__scopeId`,`data-v-580432ae`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return f}});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
-
import { t } from "./Toast-
|
|
2
|
+
import { t } from "./Toast-BaMGYx8-.js";
|
|
3
3
|
import { NB_TOAST_QUEUE_KEY as n, useToast as r } from "./composables/useToast.composable.mjs";
|
|
4
4
|
import { Fragment as i, Teleport as a, TransitionGroup as o, computed as s, createBlock as c, createCommentVNode as ee, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, inject as p, nextTick as m, normalizeClass as h, onBeforeUnmount as g, onMounted as te, openBlock as _, ref as v, renderList as ne, renderSlot as y, toDisplayString as b, unref as x, watch as S, withCtx as C } from "vue";
|
|
5
5
|
//#region src/components/Toaster.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Toolbar.context-D3Uj5o0_.cjs`),t=require(`./composables/useRovingFocus.composable.cjs`);let n=require(`vue`);var r=[`aria-label`],i={key:0,class:`nb-toolbar__start`},a={class:`nb-toolbar__main`},o={key:1,class:`nb-toolbar__end`},s=(0,n.defineComponent)({__name:`Toolbar`,props:{label:{},size:{default:`lg`},flush:{type:Boolean,default:!1}},setup(s,{expose:c}){let l=s,u=(0,n.ref)(null);(0,n.provide)(e.t,{size:(0,n.computed)(()=>l.size),flush:(0,n.computed)(()=>l.flush)});let{onKeydown:d,onFocusIn:f,focus:p}=t.useRovingFocus(u,{orientation:()=>`horizontal`});return c({focus:p}),(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{ref_key:`rootRef`,ref:u,class:(0,n.normalizeClass)([`nb-toolbar`,`nb-toolbar--${s.size}`,{"nb-toolbar--flush":s.flush}]),role:`toolbar`,"aria-label":s.label,onKeydown:t[0]||=(...e)=>(0,n.unref)(d)&&(0,n.unref)(d)(...e),onFocusin:t[1]||=(...e)=>(0,n.unref)(f)&&(0,n.unref)(f)(...e)},[e.$slots.start?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,i,[(0,n.renderSlot)(e.$slots,`start`)])):(0,n.createCommentVNode)(``,!0),(0,n.createElementVNode)(`div`,a,[(0,n.renderSlot)(e.$slots,`default`)]),e.$slots.end?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,o,[(0,n.renderSlot)(e.$slots,`end`)])):(0,n.createCommentVNode)(``,!0)],42,r))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}});
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { t as e } from "./Toolbar.context-Bli1SqM3.js";
|
|
2
|
+
import { useRovingFocus as t } from "./composables/useRovingFocus.composable.mjs";
|
|
3
|
+
import { computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, normalizeClass as s, openBlock as c, provide as l, ref as u, renderSlot as d, unref as f } from "vue";
|
|
4
|
+
//#region src/components/Toolbar.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var p = ["aria-label"], m = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "nb-toolbar__start"
|
|
8
|
+
}, h = { class: "nb-toolbar__main" }, g = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "nb-toolbar__end"
|
|
11
|
+
}, _ = /* @__PURE__ */ o({
|
|
12
|
+
__name: "Toolbar",
|
|
13
|
+
props: {
|
|
14
|
+
label: {},
|
|
15
|
+
size: { default: "lg" },
|
|
16
|
+
flush: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: !1
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
setup(o, { expose: _ }) {
|
|
22
|
+
let v = o, y = u(null);
|
|
23
|
+
l(e, {
|
|
24
|
+
size: n(() => v.size),
|
|
25
|
+
flush: n(() => v.flush)
|
|
26
|
+
});
|
|
27
|
+
let { onKeydown: b, onFocusIn: x, focus: S } = t(y, { orientation: () => "horizontal" });
|
|
28
|
+
return _({ focus: S }), (e, t) => (c(), i("div", {
|
|
29
|
+
ref_key: "rootRef",
|
|
30
|
+
ref: y,
|
|
31
|
+
class: s([
|
|
32
|
+
"nb-toolbar",
|
|
33
|
+
`nb-toolbar--${o.size}`,
|
|
34
|
+
{ "nb-toolbar--flush": o.flush }
|
|
35
|
+
]),
|
|
36
|
+
role: "toolbar",
|
|
37
|
+
"aria-label": o.label,
|
|
38
|
+
onKeydown: t[0] ||= (...e) => f(b) && f(b)(...e),
|
|
39
|
+
onFocusin: t[1] ||= (...e) => f(x) && f(x)(...e)
|
|
40
|
+
}, [
|
|
41
|
+
e.$slots.start ? (c(), i("div", m, [d(e.$slots, "start")])) : r("", !0),
|
|
42
|
+
a("div", h, [d(e.$slots, "default")]),
|
|
43
|
+
e.$slots.end ? (c(), i("div", g, [d(e.$slots, "end")])) : r("", !0)
|
|
44
|
+
], 42, p));
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
//#endregion
|
|
48
|
+
export { _ as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Symbol.for(`@nubisco/ui:toolbar`);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
|