@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,383 @@
|
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
|
+
import { useStableId as ee } from "./composables/useStableId.composable.mjs";
|
|
4
|
+
import { useNbStrings as n } from "./composables/useNbStrings.composable.mjs";
|
|
5
|
+
import { t as te } from "./Label-xwHw_UbN.js";
|
|
6
|
+
import { t as r } from "./Message-DCeg8qsC.js";
|
|
7
|
+
import { joinDescribedBy as ne, useFieldMessage as i } from "./composables/useFieldMessage.composable.mjs";
|
|
8
|
+
import { n as re } from "./InputGroup.context-Dd4e6fGT.js";
|
|
9
|
+
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, onMounted as ie, openBlock as h, ref as g, toDisplayString as _, unref as v, watch as ae, withCtx as y, withKeys as b, withModifiers as x } from "vue";
|
|
10
|
+
import { regular as S } from "@nubisco/ui/icons/plus";
|
|
11
|
+
import { regular as C } from "@nubisco/ui/icons/minus";
|
|
12
|
+
//#region src/components/NumberInput.vue?vue&type=script&setup=true&lang.ts
|
|
13
|
+
var oe = [
|
|
14
|
+
"id",
|
|
15
|
+
"aria-invalid",
|
|
16
|
+
"aria-describedby",
|
|
17
|
+
"placeholder",
|
|
18
|
+
"min",
|
|
19
|
+
"max",
|
|
20
|
+
"step",
|
|
21
|
+
"disabled",
|
|
22
|
+
"required"
|
|
23
|
+
], se = { class: "nb-number-input__steppers" }, ce = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "nb-number-input__inner-header"
|
|
26
|
+
}, le = ["for"], ue = {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: "nb-number-input__asterisk",
|
|
29
|
+
"aria-hidden": "true"
|
|
30
|
+
}, w = { class: "nb-number-input__fluid-row" }, T = [
|
|
31
|
+
"id",
|
|
32
|
+
"aria-invalid",
|
|
33
|
+
"aria-describedby",
|
|
34
|
+
"placeholder",
|
|
35
|
+
"min",
|
|
36
|
+
"max",
|
|
37
|
+
"step",
|
|
38
|
+
"disabled",
|
|
39
|
+
"required"
|
|
40
|
+
], E = { class: "nb-number-input__steppers" }, D = /* @__PURE__ */ t(/* @__PURE__ */ p({
|
|
41
|
+
__name: "NumberInput",
|
|
42
|
+
props: {
|
|
43
|
+
modelValue: { default: null },
|
|
44
|
+
min: { default: void 0 },
|
|
45
|
+
max: { default: void 0 },
|
|
46
|
+
step: { default: 1 },
|
|
47
|
+
placeholder: { default: "" },
|
|
48
|
+
name: {},
|
|
49
|
+
disabled: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
default: !1
|
|
52
|
+
},
|
|
53
|
+
required: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: !1
|
|
56
|
+
},
|
|
57
|
+
id: { default: void 0 },
|
|
58
|
+
label: { default: "" },
|
|
59
|
+
error: { default: "" },
|
|
60
|
+
warning: { default: "" },
|
|
61
|
+
helper: { default: "" },
|
|
62
|
+
variant: { default: "default" },
|
|
63
|
+
size: { default: "md" }
|
|
64
|
+
},
|
|
65
|
+
emits: ["update:modelValue", "change"],
|
|
66
|
+
setup(t, { expose: p, emit: D }) {
|
|
67
|
+
let O = n(), k = t, A = D, j = g(null), M = g(!1), N = re(k, ee({})), P = N.id, F = N.size, I = N.disabled, { ids: L, messageId: de, invalid: R, live: z, key: B } = i(k, P), V = o(() => ne(de.value, N.describedBy.value)), H = o(() => R.value ?? (N.status.value === "error" ? "true" : void 0)), U = o(() => !!k.error || N.status.value === "error"), W = o(() => !U.value && (!!k.warning || N.status.value === "warning")), G = o(() => k.min !== void 0 && k.modelValue !== null && k.modelValue !== void 0 && k.modelValue <= k.min), K = o(() => k.max !== void 0 && k.modelValue !== null && k.modelValue !== void 0 && k.modelValue >= k.max);
|
|
68
|
+
function q(e) {
|
|
69
|
+
let t = e;
|
|
70
|
+
return k.min !== void 0 && (t = Math.max(k.min, t)), k.max !== void 0 && (t = Math.min(k.max, t)), t;
|
|
71
|
+
}
|
|
72
|
+
function J(e) {
|
|
73
|
+
j.value && (j.value.value = e == null ? "" : String(e));
|
|
74
|
+
}
|
|
75
|
+
ie(() => J(k.modelValue)), ae(() => k.modelValue, (e) => {
|
|
76
|
+
M.value || J(e);
|
|
77
|
+
});
|
|
78
|
+
function Y() {
|
|
79
|
+
let e = q((k.modelValue ?? 0) + k.step);
|
|
80
|
+
A("update:modelValue", e), A("change", e), J(e);
|
|
81
|
+
}
|
|
82
|
+
function X() {
|
|
83
|
+
let e = q((k.modelValue ?? 0) - k.step);
|
|
84
|
+
A("update:modelValue", e), A("change", e), J(e);
|
|
85
|
+
}
|
|
86
|
+
function Z() {
|
|
87
|
+
if (!j.value) return;
|
|
88
|
+
let e = j.value.value;
|
|
89
|
+
if (e === "") A("update:modelValue", null);
|
|
90
|
+
else {
|
|
91
|
+
let t = parseFloat(e);
|
|
92
|
+
isNaN(t) || A("update:modelValue", t);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
function Q() {
|
|
96
|
+
if (M.value = !1, !j.value) return;
|
|
97
|
+
let e = j.value.value;
|
|
98
|
+
if (e === "") {
|
|
99
|
+
A("update:modelValue", null), A("change", null);
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
let t = parseFloat(e);
|
|
103
|
+
if (!isNaN(t)) {
|
|
104
|
+
let e = q(t);
|
|
105
|
+
A("update:modelValue", e), A("change", e), J(e);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
let fe = o(() => [
|
|
109
|
+
"nb-number-input",
|
|
110
|
+
`nb-number-input--${k.variant}`,
|
|
111
|
+
`nb-number-input--${F.value}`,
|
|
112
|
+
{
|
|
113
|
+
"nb-number-input--error": U.value,
|
|
114
|
+
"nb-number-input--warning": W.value,
|
|
115
|
+
"nb-number-input--disabled": I.value
|
|
116
|
+
}
|
|
117
|
+
]), $ = o(() => ({
|
|
118
|
+
"nb-number-input__field-wrapper--focused": M.value,
|
|
119
|
+
"nb-number-input__field-wrapper--error": U.value,
|
|
120
|
+
"nb-number-input__field-wrapper--warning": W.value,
|
|
121
|
+
"nb-number-input__field-wrapper--disabled": I.value
|
|
122
|
+
}));
|
|
123
|
+
return p({ focus: () => j.value?.focus() }), (ee, n) => (h(), l("div", { class: m(fe.value) }, [t.variant === "default" ? (h(), l(a, { key: 0 }, [
|
|
124
|
+
t.label ? (h(), s(te, {
|
|
125
|
+
key: 0,
|
|
126
|
+
for: v(P),
|
|
127
|
+
required: t.required,
|
|
128
|
+
disabled: v(I)
|
|
129
|
+
}, {
|
|
130
|
+
default: y(() => [d(_(t.label), 1)]),
|
|
131
|
+
_: 1
|
|
132
|
+
}, 8, [
|
|
133
|
+
"for",
|
|
134
|
+
"required",
|
|
135
|
+
"disabled"
|
|
136
|
+
])) : c("", !0),
|
|
137
|
+
u("div", { class: m(["nb-number-input__field-wrapper", $.value]) }, [
|
|
138
|
+
u("input", {
|
|
139
|
+
id: v(P),
|
|
140
|
+
ref_key: "inputRef",
|
|
141
|
+
ref: j,
|
|
142
|
+
"aria-invalid": H.value,
|
|
143
|
+
"aria-describedby": V.value,
|
|
144
|
+
type: "number",
|
|
145
|
+
class: "nb-number-input__field",
|
|
146
|
+
placeholder: t.placeholder,
|
|
147
|
+
min: t.min,
|
|
148
|
+
max: t.max,
|
|
149
|
+
step: t.step,
|
|
150
|
+
disabled: v(I),
|
|
151
|
+
required: t.required,
|
|
152
|
+
onInput: Z,
|
|
153
|
+
onBlur: Q,
|
|
154
|
+
onKeydown: n[0] ||= b(x(() => j.value?.blur(), ["prevent"]), ["enter"]),
|
|
155
|
+
onFocus: n[1] ||= (e) => M.value = !0
|
|
156
|
+
}, null, 40, oe),
|
|
157
|
+
t.error ? (h(), s(r, {
|
|
158
|
+
key: 0,
|
|
159
|
+
variant: "error",
|
|
160
|
+
"icon-only": !0,
|
|
161
|
+
live: "off",
|
|
162
|
+
"aria-hidden": "true",
|
|
163
|
+
class: "nb-number-input__status"
|
|
164
|
+
}, {
|
|
165
|
+
default: y(() => [d(_(t.error), 1)]),
|
|
166
|
+
_: 1
|
|
167
|
+
})) : t.warning ? (h(), s(r, {
|
|
168
|
+
key: 1,
|
|
169
|
+
variant: "warning",
|
|
170
|
+
"icon-only": !0,
|
|
171
|
+
live: "off",
|
|
172
|
+
"aria-hidden": "true",
|
|
173
|
+
class: "nb-number-input__status"
|
|
174
|
+
}, {
|
|
175
|
+
default: y(() => [d(_(t.warning), 1)]),
|
|
176
|
+
_: 1
|
|
177
|
+
})) : c("", !0),
|
|
178
|
+
u("div", se, [
|
|
179
|
+
n[8] ||= u("span", {
|
|
180
|
+
class: "nb-number-input__divider",
|
|
181
|
+
"aria-hidden": "true"
|
|
182
|
+
}, null, -1),
|
|
183
|
+
f(e, {
|
|
184
|
+
variant: "ghost",
|
|
185
|
+
icon: v(C),
|
|
186
|
+
size: v(F),
|
|
187
|
+
label: v(O).numberInputDecrease,
|
|
188
|
+
"tooltip-position": "top",
|
|
189
|
+
class: m(["nb-number-input__stepper", { "nb-number-input__stepper--at-limit": G.value }]),
|
|
190
|
+
tabindex: "-1",
|
|
191
|
+
disabled: v(I),
|
|
192
|
+
"aria-disabled": G.value || void 0,
|
|
193
|
+
onMousedown: n[2] ||= x(() => {}, ["prevent"]),
|
|
194
|
+
onClick: X
|
|
195
|
+
}, null, 8, [
|
|
196
|
+
"icon",
|
|
197
|
+
"size",
|
|
198
|
+
"label",
|
|
199
|
+
"class",
|
|
200
|
+
"disabled",
|
|
201
|
+
"aria-disabled"
|
|
202
|
+
]),
|
|
203
|
+
n[9] ||= u("span", {
|
|
204
|
+
class: "nb-number-input__divider",
|
|
205
|
+
"aria-hidden": "true"
|
|
206
|
+
}, null, -1),
|
|
207
|
+
f(e, {
|
|
208
|
+
variant: "ghost",
|
|
209
|
+
icon: v(S),
|
|
210
|
+
size: v(F),
|
|
211
|
+
label: v(O).numberInputIncrease,
|
|
212
|
+
"tooltip-position": "top",
|
|
213
|
+
class: m(["nb-number-input__stepper", { "nb-number-input__stepper--at-limit": K.value }]),
|
|
214
|
+
tabindex: "-1",
|
|
215
|
+
disabled: v(I),
|
|
216
|
+
"aria-disabled": K.value || void 0,
|
|
217
|
+
onMousedown: n[3] ||= x(() => {}, ["prevent"]),
|
|
218
|
+
onClick: Y
|
|
219
|
+
}, null, 8, [
|
|
220
|
+
"icon",
|
|
221
|
+
"size",
|
|
222
|
+
"label",
|
|
223
|
+
"class",
|
|
224
|
+
"disabled",
|
|
225
|
+
"aria-disabled"
|
|
226
|
+
])
|
|
227
|
+
])
|
|
228
|
+
], 2),
|
|
229
|
+
t.error ? (h(), s(r, {
|
|
230
|
+
id: v(L).error,
|
|
231
|
+
key: v(B),
|
|
232
|
+
variant: "error",
|
|
233
|
+
live: v(z),
|
|
234
|
+
class: "nb-number-input__message"
|
|
235
|
+
}, {
|
|
236
|
+
default: y(() => [d(_(t.error), 1)]),
|
|
237
|
+
_: 1
|
|
238
|
+
}, 8, ["id", "live"])) : t.warning ? (h(), s(r, {
|
|
239
|
+
id: v(L).warning,
|
|
240
|
+
key: v(B),
|
|
241
|
+
variant: "warning",
|
|
242
|
+
live: v(z),
|
|
243
|
+
class: "nb-number-input__message"
|
|
244
|
+
}, {
|
|
245
|
+
default: y(() => [d(_(t.warning), 1)]),
|
|
246
|
+
_: 1
|
|
247
|
+
}, 8, ["id", "live"])) : t.helper ? (h(), s(r, {
|
|
248
|
+
id: v(L).helper,
|
|
249
|
+
key: v(B),
|
|
250
|
+
variant: "helper",
|
|
251
|
+
live: v(z),
|
|
252
|
+
class: "nb-number-input__message"
|
|
253
|
+
}, {
|
|
254
|
+
default: y(() => [d(_(t.helper), 1)]),
|
|
255
|
+
_: 1
|
|
256
|
+
}, 8, ["id", "live"])) : c("", !0)
|
|
257
|
+
], 64)) : t.variant === "fluid" ? (h(), l(a, { key: 1 }, [u("div", { class: m(["nb-number-input__field-wrapper", $.value]) }, [t.label ? (h(), l("div", ce, [u("label", {
|
|
258
|
+
for: v(P),
|
|
259
|
+
class: "nb-number-input__inner-label"
|
|
260
|
+
}, [d(_(t.label) + " ", 1), t.required ? (h(), l("span", ue, "*")) : c("", !0)], 8, le), t.helper && !t.error && !t.warning ? (h(), s(r, {
|
|
261
|
+
key: 0,
|
|
262
|
+
id: v(L).helper,
|
|
263
|
+
variant: "helper",
|
|
264
|
+
live: "off",
|
|
265
|
+
"icon-only": !0,
|
|
266
|
+
class: "nb-number-input__inner-message"
|
|
267
|
+
}, {
|
|
268
|
+
default: y(() => [d(_(t.helper), 1)]),
|
|
269
|
+
_: 1
|
|
270
|
+
}, 8, ["id"])) : c("", !0)])) : c("", !0), u("div", w, [
|
|
271
|
+
u("input", {
|
|
272
|
+
id: v(P),
|
|
273
|
+
ref_key: "inputRef",
|
|
274
|
+
ref: j,
|
|
275
|
+
"aria-invalid": H.value,
|
|
276
|
+
"aria-describedby": V.value,
|
|
277
|
+
type: "number",
|
|
278
|
+
class: "nb-number-input__field",
|
|
279
|
+
placeholder: t.placeholder,
|
|
280
|
+
min: t.min,
|
|
281
|
+
max: t.max,
|
|
282
|
+
step: t.step,
|
|
283
|
+
disabled: v(I),
|
|
284
|
+
required: t.required,
|
|
285
|
+
onInput: Z,
|
|
286
|
+
onBlur: Q,
|
|
287
|
+
onKeydown: n[4] ||= b(x(() => j.value?.blur(), ["prevent"]), ["enter"]),
|
|
288
|
+
onFocus: n[5] ||= (e) => M.value = !0
|
|
289
|
+
}, null, 40, T),
|
|
290
|
+
t.error ? (h(), s(r, {
|
|
291
|
+
key: 0,
|
|
292
|
+
variant: "error",
|
|
293
|
+
"icon-only": !0,
|
|
294
|
+
live: "off",
|
|
295
|
+
"aria-hidden": "true",
|
|
296
|
+
class: "nb-number-input__status"
|
|
297
|
+
}, {
|
|
298
|
+
default: y(() => [d(_(t.error), 1)]),
|
|
299
|
+
_: 1
|
|
300
|
+
})) : t.warning ? (h(), s(r, {
|
|
301
|
+
key: 1,
|
|
302
|
+
variant: "warning",
|
|
303
|
+
"icon-only": !0,
|
|
304
|
+
live: "off",
|
|
305
|
+
"aria-hidden": "true",
|
|
306
|
+
class: "nb-number-input__status"
|
|
307
|
+
}, {
|
|
308
|
+
default: y(() => [d(_(t.warning), 1)]),
|
|
309
|
+
_: 1
|
|
310
|
+
})) : c("", !0),
|
|
311
|
+
u("div", E, [
|
|
312
|
+
n[10] ||= u("span", {
|
|
313
|
+
class: "nb-number-input__divider",
|
|
314
|
+
"aria-hidden": "true"
|
|
315
|
+
}, null, -1),
|
|
316
|
+
f(e, {
|
|
317
|
+
variant: "ghost",
|
|
318
|
+
icon: v(C),
|
|
319
|
+
size: v(F),
|
|
320
|
+
label: v(O).numberInputDecrease,
|
|
321
|
+
"tooltip-position": "top",
|
|
322
|
+
class: m(["nb-number-input__stepper", { "nb-number-input__stepper--at-limit": G.value }]),
|
|
323
|
+
tabindex: "-1",
|
|
324
|
+
disabled: v(I),
|
|
325
|
+
"aria-disabled": G.value || void 0,
|
|
326
|
+
onMousedown: n[6] ||= x(() => {}, ["prevent"]),
|
|
327
|
+
onClick: X
|
|
328
|
+
}, null, 8, [
|
|
329
|
+
"icon",
|
|
330
|
+
"size",
|
|
331
|
+
"label",
|
|
332
|
+
"class",
|
|
333
|
+
"disabled",
|
|
334
|
+
"aria-disabled"
|
|
335
|
+
]),
|
|
336
|
+
n[11] ||= u("span", {
|
|
337
|
+
class: "nb-number-input__divider",
|
|
338
|
+
"aria-hidden": "true"
|
|
339
|
+
}, null, -1),
|
|
340
|
+
f(e, {
|
|
341
|
+
variant: "ghost",
|
|
342
|
+
icon: v(S),
|
|
343
|
+
size: v(F),
|
|
344
|
+
label: v(O).numberInputIncrease,
|
|
345
|
+
"tooltip-position": "top",
|
|
346
|
+
class: m(["nb-number-input__stepper", { "nb-number-input__stepper--at-limit": K.value }]),
|
|
347
|
+
tabindex: "-1",
|
|
348
|
+
disabled: v(I),
|
|
349
|
+
"aria-disabled": K.value || void 0,
|
|
350
|
+
onMousedown: n[7] ||= x(() => {}, ["prevent"]),
|
|
351
|
+
onClick: Y
|
|
352
|
+
}, null, 8, [
|
|
353
|
+
"icon",
|
|
354
|
+
"size",
|
|
355
|
+
"label",
|
|
356
|
+
"class",
|
|
357
|
+
"disabled",
|
|
358
|
+
"aria-disabled"
|
|
359
|
+
])
|
|
360
|
+
])
|
|
361
|
+
])], 2), t.error ? (h(), s(r, {
|
|
362
|
+
id: v(L).error,
|
|
363
|
+
key: v(B),
|
|
364
|
+
variant: "error",
|
|
365
|
+
live: v(z),
|
|
366
|
+
class: "nb-number-input__fluid-message"
|
|
367
|
+
}, {
|
|
368
|
+
default: y(() => [d(_(t.error), 1)]),
|
|
369
|
+
_: 1
|
|
370
|
+
}, 8, ["id", "live"])) : t.warning ? (h(), s(r, {
|
|
371
|
+
id: v(L).warning,
|
|
372
|
+
key: v(B),
|
|
373
|
+
variant: "warning",
|
|
374
|
+
live: v(z),
|
|
375
|
+
class: "nb-number-input__fluid-message"
|
|
376
|
+
}, {
|
|
377
|
+
default: y(() => [d(_(t.warning), 1)]),
|
|
378
|
+
_: 1
|
|
379
|
+
}, 8, ["id", "live"])) : c("", !0)], 64)) : c("", !0)], 2));
|
|
380
|
+
}
|
|
381
|
+
}), [["__scopeId", "data-v-69480d87"]]);
|
|
382
|
+
//#endregion
|
|
383
|
+
export { D as t };
|
|
@@ -0,0 +1 @@
|
|
|
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`),i=require(`./Label-CjxnZgNy.cjs`),a=require(`./Message-BJO4MjiQ.cjs`),o=require(`./composables/useFieldMessage.composable.cjs`),s=require(`./InputGroup.context-BHj-IvcT.cjs`);let c=require(`vue`),l=require(`@nubisco/ui/icons/plus`),u=require(`@nubisco/ui/icons/minus`);var d=[`id`,`aria-invalid`,`aria-describedby`,`placeholder`,`min`,`max`,`step`,`disabled`,`required`],f={class:`nb-number-input__steppers`},p={key:0,class:`nb-number-input__inner-header`},m=[`for`],h={key:0,class:`nb-number-input__asterisk`,"aria-hidden":`true`},g={class:`nb-number-input__fluid-row`},_=[`id`,`aria-invalid`,`aria-describedby`,`placeholder`,`min`,`max`,`step`,`disabled`,`required`],v={class:`nb-number-input__steppers`},y=(0,c.defineComponent)({__name:`NumberInput`,props:{modelValue:{default:null},min:{default:void 0},max:{default:void 0},step:{default:1},placeholder:{default:``},name:{},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`}},emits:[`update:modelValue`,`change`],setup(t,{expose:y,emit:b}){let x=r.useNbStrings(),S=t,C=b,w=(0,c.ref)(null),T=(0,c.ref)(!1),E=s.n(S,n.useStableId({})),D=E.id,O=E.size,k=E.disabled,{ids:A,messageId:j,invalid:M,live:N,key:P}=o.useFieldMessage(S,D),F=(0,c.computed)(()=>o.joinDescribedBy(j.value,E.describedBy.value)),I=(0,c.computed)(()=>M.value??(E.status.value===`error`?`true`:void 0)),L=(0,c.computed)(()=>!!S.error||E.status.value===`error`),R=(0,c.computed)(()=>!L.value&&(!!S.warning||E.status.value===`warning`)),z=(0,c.computed)(()=>S.min!==void 0&&S.modelValue!==null&&S.modelValue!==void 0&&S.modelValue<=S.min),B=(0,c.computed)(()=>S.max!==void 0&&S.modelValue!==null&&S.modelValue!==void 0&&S.modelValue>=S.max);function V(e){let t=e;return S.min!==void 0&&(t=Math.max(S.min,t)),S.max!==void 0&&(t=Math.min(S.max,t)),t}function H(e){w.value&&(w.value.value=e==null?``:String(e))}(0,c.onMounted)(()=>H(S.modelValue)),(0,c.watch)(()=>S.modelValue,e=>{T.value||H(e)});function U(){let e=V((S.modelValue??0)+S.step);C(`update:modelValue`,e),C(`change`,e),H(e)}function W(){let e=V((S.modelValue??0)-S.step);C(`update:modelValue`,e),C(`change`,e),H(e)}function G(){if(!w.value)return;let e=w.value.value;if(e===``)C(`update:modelValue`,null);else{let t=parseFloat(e);isNaN(t)||C(`update:modelValue`,t)}}function K(){if(T.value=!1,!w.value)return;let e=w.value.value;if(e===``){C(`update:modelValue`,null),C(`change`,null);return}let t=parseFloat(e);if(!isNaN(t)){let e=V(t);C(`update:modelValue`,e),C(`change`,e),H(e)}}let q=(0,c.computed)(()=>[`nb-number-input`,`nb-number-input--${S.variant}`,`nb-number-input--${O.value}`,{"nb-number-input--error":L.value,"nb-number-input--warning":R.value,"nb-number-input--disabled":k.value}]),J=(0,c.computed)(()=>({"nb-number-input__field-wrapper--focused":T.value,"nb-number-input__field-wrapper--error":L.value,"nb-number-input__field-wrapper--warning":R.value,"nb-number-input__field-wrapper--disabled":k.value}));return y({focus:()=>w.value?.focus()}),(n,r)=>((0,c.openBlock)(),(0,c.createElementBlock)(`div`,{class:(0,c.normalizeClass)(q.value)},[t.variant===`default`?((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:0},[t.label?((0,c.openBlock)(),(0,c.createBlock)(i.t,{key:0,for:(0,c.unref)(D),required:t.required,disabled:(0,c.unref)(k)},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(t.label),1)]),_:1},8,[`for`,`required`,`disabled`])):(0,c.createCommentVNode)(``,!0),(0,c.createElementVNode)(`div`,{class:(0,c.normalizeClass)([`nb-number-input__field-wrapper`,J.value])},[(0,c.createElementVNode)(`input`,{id:(0,c.unref)(D),ref_key:`inputRef`,ref:w,"aria-invalid":I.value,"aria-describedby":F.value,type:`number`,class:`nb-number-input__field`,placeholder:t.placeholder,min:t.min,max:t.max,step:t.step,disabled:(0,c.unref)(k),required:t.required,onInput:G,onBlur:K,onKeydown:r[0]||=(0,c.withKeys)((0,c.withModifiers)(()=>w.value?.blur(),[`prevent`]),[`enter`]),onFocus:r[1]||=e=>T.value=!0},null,40,d),t.error?((0,c.openBlock)(),(0,c.createBlock)(a.t,{key:0,variant:`error`,"icon-only":!0,live:`off`,"aria-hidden":`true`,class:`nb-number-input__status`},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(t.error),1)]),_:1})):t.warning?((0,c.openBlock)(),(0,c.createBlock)(a.t,{key:1,variant:`warning`,"icon-only":!0,live:`off`,"aria-hidden":`true`,class:`nb-number-input__status`},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(t.warning),1)]),_:1})):(0,c.createCommentVNode)(``,!0),(0,c.createElementVNode)(`div`,f,[r[8]||=(0,c.createElementVNode)(`span`,{class:`nb-number-input__divider`,"aria-hidden":`true`},null,-1),(0,c.createVNode)(e.t,{variant:`ghost`,icon:(0,c.unref)(u.regular),size:(0,c.unref)(O),label:(0,c.unref)(x).numberInputDecrease,"tooltip-position":`top`,class:(0,c.normalizeClass)([`nb-number-input__stepper`,{"nb-number-input__stepper--at-limit":z.value}]),tabindex:`-1`,disabled:(0,c.unref)(k),"aria-disabled":z.value||void 0,onMousedown:r[2]||=(0,c.withModifiers)(()=>{},[`prevent`]),onClick:W},null,8,[`icon`,`size`,`label`,`class`,`disabled`,`aria-disabled`]),r[9]||=(0,c.createElementVNode)(`span`,{class:`nb-number-input__divider`,"aria-hidden":`true`},null,-1),(0,c.createVNode)(e.t,{variant:`ghost`,icon:(0,c.unref)(l.regular),size:(0,c.unref)(O),label:(0,c.unref)(x).numberInputIncrease,"tooltip-position":`top`,class:(0,c.normalizeClass)([`nb-number-input__stepper`,{"nb-number-input__stepper--at-limit":B.value}]),tabindex:`-1`,disabled:(0,c.unref)(k),"aria-disabled":B.value||void 0,onMousedown:r[3]||=(0,c.withModifiers)(()=>{},[`prevent`]),onClick:U},null,8,[`icon`,`size`,`label`,`class`,`disabled`,`aria-disabled`])])],2),t.error?((0,c.openBlock)(),(0,c.createBlock)(a.t,{id:(0,c.unref)(A).error,key:(0,c.unref)(P),variant:`error`,live:(0,c.unref)(N),class:`nb-number-input__message`},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(t.error),1)]),_:1},8,[`id`,`live`])):t.warning?((0,c.openBlock)(),(0,c.createBlock)(a.t,{id:(0,c.unref)(A).warning,key:(0,c.unref)(P),variant:`warning`,live:(0,c.unref)(N),class:`nb-number-input__message`},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(t.warning),1)]),_:1},8,[`id`,`live`])):t.helper?((0,c.openBlock)(),(0,c.createBlock)(a.t,{id:(0,c.unref)(A).helper,key:(0,c.unref)(P),variant:`helper`,live:(0,c.unref)(N),class:`nb-number-input__message`},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(t.helper),1)]),_:1},8,[`id`,`live`])):(0,c.createCommentVNode)(``,!0)],64)):t.variant===`fluid`?((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:1},[(0,c.createElementVNode)(`div`,{class:(0,c.normalizeClass)([`nb-number-input__field-wrapper`,J.value])},[t.label?((0,c.openBlock)(),(0,c.createElementBlock)(`div`,p,[(0,c.createElementVNode)(`label`,{for:(0,c.unref)(D),class:`nb-number-input__inner-label`},[(0,c.createTextVNode)((0,c.toDisplayString)(t.label)+` `,1),t.required?((0,c.openBlock)(),(0,c.createElementBlock)(`span`,h,`*`)):(0,c.createCommentVNode)(``,!0)],8,m),t.helper&&!t.error&&!t.warning?((0,c.openBlock)(),(0,c.createBlock)(a.t,{key:0,id:(0,c.unref)(A).helper,variant:`helper`,live:`off`,"icon-only":!0,class:`nb-number-input__inner-message`},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(t.helper),1)]),_:1},8,[`id`])):(0,c.createCommentVNode)(``,!0)])):(0,c.createCommentVNode)(``,!0),(0,c.createElementVNode)(`div`,g,[(0,c.createElementVNode)(`input`,{id:(0,c.unref)(D),ref_key:`inputRef`,ref:w,"aria-invalid":I.value,"aria-describedby":F.value,type:`number`,class:`nb-number-input__field`,placeholder:t.placeholder,min:t.min,max:t.max,step:t.step,disabled:(0,c.unref)(k),required:t.required,onInput:G,onBlur:K,onKeydown:r[4]||=(0,c.withKeys)((0,c.withModifiers)(()=>w.value?.blur(),[`prevent`]),[`enter`]),onFocus:r[5]||=e=>T.value=!0},null,40,_),t.error?((0,c.openBlock)(),(0,c.createBlock)(a.t,{key:0,variant:`error`,"icon-only":!0,live:`off`,"aria-hidden":`true`,class:`nb-number-input__status`},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(t.error),1)]),_:1})):t.warning?((0,c.openBlock)(),(0,c.createBlock)(a.t,{key:1,variant:`warning`,"icon-only":!0,live:`off`,"aria-hidden":`true`,class:`nb-number-input__status`},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(t.warning),1)]),_:1})):(0,c.createCommentVNode)(``,!0),(0,c.createElementVNode)(`div`,v,[r[10]||=(0,c.createElementVNode)(`span`,{class:`nb-number-input__divider`,"aria-hidden":`true`},null,-1),(0,c.createVNode)(e.t,{variant:`ghost`,icon:(0,c.unref)(u.regular),size:(0,c.unref)(O),label:(0,c.unref)(x).numberInputDecrease,"tooltip-position":`top`,class:(0,c.normalizeClass)([`nb-number-input__stepper`,{"nb-number-input__stepper--at-limit":z.value}]),tabindex:`-1`,disabled:(0,c.unref)(k),"aria-disabled":z.value||void 0,onMousedown:r[6]||=(0,c.withModifiers)(()=>{},[`prevent`]),onClick:W},null,8,[`icon`,`size`,`label`,`class`,`disabled`,`aria-disabled`]),r[11]||=(0,c.createElementVNode)(`span`,{class:`nb-number-input__divider`,"aria-hidden":`true`},null,-1),(0,c.createVNode)(e.t,{variant:`ghost`,icon:(0,c.unref)(l.regular),size:(0,c.unref)(O),label:(0,c.unref)(x).numberInputIncrease,"tooltip-position":`top`,class:(0,c.normalizeClass)([`nb-number-input__stepper`,{"nb-number-input__stepper--at-limit":B.value}]),tabindex:`-1`,disabled:(0,c.unref)(k),"aria-disabled":B.value||void 0,onMousedown:r[7]||=(0,c.withModifiers)(()=>{},[`prevent`]),onClick:U},null,8,[`icon`,`size`,`label`,`class`,`disabled`,`aria-disabled`])])])],2),t.error?((0,c.openBlock)(),(0,c.createBlock)(a.t,{id:(0,c.unref)(A).error,key:(0,c.unref)(P),variant:`error`,live:(0,c.unref)(N),class:`nb-number-input__fluid-message`},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(t.error),1)]),_:1},8,[`id`,`live`])):t.warning?((0,c.openBlock)(),(0,c.createBlock)(a.t,{id:(0,c.unref)(A).warning,key:(0,c.unref)(P),variant:`warning`,live:(0,c.unref)(N),class:`nb-number-input__fluid-message`},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(t.warning),1)]),_:1},8,[`id`,`live`])):(0,c.createCommentVNode)(``,!0)],64)):(0,c.createCommentVNode)(``,!0)],2))}}),b=t.t(y,[[`__scopeId`,`data-v-69480d87`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return b}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./Button-BHFtgOXA.cjs`),n=require(`./composables/useNbStrings.composable.cjs`),r=require(`./Toolbar.context-D3Uj5o0_.cjs`),i=require(`./Menu-Bs2Co1sl.cjs`),a=require(`./MenuItem-DFfE_k0L.cjs`);let o=require(`vue`),s=require(`@nubisco/ui/icons/dots-three`);s=e.n(s);var c={class:`nb-overflow-menu`},l=(0,o.defineComponent)({__name:`OverflowMenu`,props:{items:{default:()=>[]},label:{default:void 0},icon:{default:()=>s},size:{default:void 0},align:{default:`end`},disabled:{type:Boolean,default:!1},tooltipPosition:{default:`bottom`}},emits:[`select`,`update:open`],setup(e,{expose:s,emit:l}){let u=e,d=l,f=n.useNbStrings(),p=(0,o.inject)(r.t,null),m=(0,o.computed)(()=>u.label??f.value.overflowMenuLabel),h=(0,o.computed)(()=>{let e=u.size??p?.size.value??`md`;return e===`xxs`||e===`xs`?`xs`:e===`sm`||e===`md`?e:`lg`}),g=(0,o.ref)(!1),_=(0,o.ref)(null),v=(0,o.ref)(null);function y(){return v.value?.$el??null}let b=!1;function x(){b=g.value}function S(){if(u.disabled||g.value)return;let e=y()?.getBoundingClientRect();e&&_.value?.setPosition(e),g.value=!0,d(`update:open`,!0)}function C(){g.value&&(g.value=!1,d(`update:open`,!1))}function w(){if(b||g.value){b=!1,C();return}S()}function T(e){e.key===`ArrowDown`&&(e.preventDefault(),S())}function E(e){if(e)return;C();let t=document.activeElement;(!t||t===document.body||!t.isConnected)&&(0,o.nextTick)(()=>y()?.focus())}function D(e){e.disabled||e.loading||(e.onSelect?.(),d(`select`,e.id))}return s({open:S,close:C,isOpen:g}),(n,r)=>((0,o.openBlock)(),(0,o.createElementBlock)(`span`,c,[(0,o.createVNode)(t.t,{ref_key:`triggerRef`,ref:v,class:`nb-overflow-menu__trigger`,variant:`ghost`,size:e.size,icon:e.icon,label:m.value,"tooltip-position":e.tooltipPosition,disabled:e.disabled,"aria-haspopup":`menu`,"aria-expanded":g.value,onMousedown:x,onClick:w,onKeydown:T},null,8,[`size`,`icon`,`label`,`tooltip-position`,`disabled`,`aria-expanded`]),(0,o.createVNode)(i.t,{ref_key:`menuRef`,ref:_,open:g.value,size:h.value,align:e.align,"onUpdate:open":E},{default:(0,o.withCtx)(()=>[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.items,e=>((0,o.openBlock)(),(0,o.createBlock)(a.t,{key:e.id,label:e.label,icon:e.icon,disabled:e.disabled||e.loading,"disabled-reason":e.disabled?e.disabledReason:void 0,danger:e.danger,selectable:e.pressed!==void 0,selected:e.pressed,onSelect:t=>D(e)},null,8,[`label`,`icon`,`disabled`,`disabled-reason`,`danger`,`selectable`,`selected`,`onSelect`]))),128)),(0,o.renderSlot)(n.$slots,`default`)]),_:3},8,[`open`,`size`,`align`])]))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return l}});
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { useNbStrings as t } from "./composables/useNbStrings.composable.mjs";
|
|
3
|
+
import { t as n } from "./Toolbar.context-Bli1SqM3.js";
|
|
4
|
+
import { t as r } from "./Menu-7EgnchVu.js";
|
|
5
|
+
import { t as i } from "./MenuItem-DMYDHaa0.js";
|
|
6
|
+
import { Fragment as a, computed as o, createBlock as s, createElementBlock as c, createVNode as l, defineComponent as u, inject as d, nextTick as f, openBlock as p, ref as m, renderList as h, renderSlot as g, withCtx as _ } from "vue";
|
|
7
|
+
import * as v from "@nubisco/ui/icons/dots-three";
|
|
8
|
+
//#region src/components/OverflowMenu.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
+
var y = { class: "nb-overflow-menu" }, b = /* @__PURE__ */ u({
|
|
10
|
+
__name: "OverflowMenu",
|
|
11
|
+
props: {
|
|
12
|
+
items: { default: () => [] },
|
|
13
|
+
label: { default: void 0 },
|
|
14
|
+
icon: { default: () => v },
|
|
15
|
+
size: { default: void 0 },
|
|
16
|
+
align: { default: "end" },
|
|
17
|
+
disabled: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !1
|
|
20
|
+
},
|
|
21
|
+
tooltipPosition: { default: "bottom" }
|
|
22
|
+
},
|
|
23
|
+
emits: ["select", "update:open"],
|
|
24
|
+
setup(u, { expose: v, emit: b }) {
|
|
25
|
+
let x = u, S = b, C = t(), w = d(n, null), T = o(() => x.label ?? C.value.overflowMenuLabel), E = o(() => {
|
|
26
|
+
let e = x.size ?? w?.size.value ?? "md";
|
|
27
|
+
return e === "xxs" || e === "xs" ? "xs" : e === "sm" || e === "md" ? e : "lg";
|
|
28
|
+
}), D = m(!1), O = m(null), k = m(null);
|
|
29
|
+
function A() {
|
|
30
|
+
return k.value?.$el ?? null;
|
|
31
|
+
}
|
|
32
|
+
let j = !1;
|
|
33
|
+
function M() {
|
|
34
|
+
j = D.value;
|
|
35
|
+
}
|
|
36
|
+
function N() {
|
|
37
|
+
if (x.disabled || D.value) return;
|
|
38
|
+
let e = A()?.getBoundingClientRect();
|
|
39
|
+
e && O.value?.setPosition(e), D.value = !0, S("update:open", !0);
|
|
40
|
+
}
|
|
41
|
+
function P() {
|
|
42
|
+
D.value && (D.value = !1, S("update:open", !1));
|
|
43
|
+
}
|
|
44
|
+
function F() {
|
|
45
|
+
if (j || D.value) {
|
|
46
|
+
j = !1, P();
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
N();
|
|
50
|
+
}
|
|
51
|
+
function I(e) {
|
|
52
|
+
e.key === "ArrowDown" && (e.preventDefault(), N());
|
|
53
|
+
}
|
|
54
|
+
function L(e) {
|
|
55
|
+
if (e) return;
|
|
56
|
+
P();
|
|
57
|
+
let t = document.activeElement;
|
|
58
|
+
(!t || t === document.body || !t.isConnected) && f(() => A()?.focus());
|
|
59
|
+
}
|
|
60
|
+
function R(e) {
|
|
61
|
+
e.disabled || e.loading || (e.onSelect?.(), S("select", e.id));
|
|
62
|
+
}
|
|
63
|
+
return v({
|
|
64
|
+
open: N,
|
|
65
|
+
close: P,
|
|
66
|
+
isOpen: D
|
|
67
|
+
}), (t, n) => (p(), c("span", y, [l(e, {
|
|
68
|
+
ref_key: "triggerRef",
|
|
69
|
+
ref: k,
|
|
70
|
+
class: "nb-overflow-menu__trigger",
|
|
71
|
+
variant: "ghost",
|
|
72
|
+
size: u.size,
|
|
73
|
+
icon: u.icon,
|
|
74
|
+
label: T.value,
|
|
75
|
+
"tooltip-position": u.tooltipPosition,
|
|
76
|
+
disabled: u.disabled,
|
|
77
|
+
"aria-haspopup": "menu",
|
|
78
|
+
"aria-expanded": D.value,
|
|
79
|
+
onMousedown: M,
|
|
80
|
+
onClick: F,
|
|
81
|
+
onKeydown: I
|
|
82
|
+
}, null, 8, [
|
|
83
|
+
"size",
|
|
84
|
+
"icon",
|
|
85
|
+
"label",
|
|
86
|
+
"tooltip-position",
|
|
87
|
+
"disabled",
|
|
88
|
+
"aria-expanded"
|
|
89
|
+
]), l(r, {
|
|
90
|
+
ref_key: "menuRef",
|
|
91
|
+
ref: O,
|
|
92
|
+
open: D.value,
|
|
93
|
+
size: E.value,
|
|
94
|
+
align: u.align,
|
|
95
|
+
"onUpdate:open": L
|
|
96
|
+
}, {
|
|
97
|
+
default: _(() => [(p(!0), c(a, null, h(u.items, (e) => (p(), s(i, {
|
|
98
|
+
key: e.id,
|
|
99
|
+
label: e.label,
|
|
100
|
+
icon: e.icon,
|
|
101
|
+
disabled: e.disabled || e.loading,
|
|
102
|
+
"disabled-reason": e.disabled ? e.disabledReason : void 0,
|
|
103
|
+
danger: e.danger,
|
|
104
|
+
selectable: e.pressed !== void 0,
|
|
105
|
+
selected: e.pressed,
|
|
106
|
+
onSelect: (t) => R(e)
|
|
107
|
+
}, null, 8, [
|
|
108
|
+
"label",
|
|
109
|
+
"icon",
|
|
110
|
+
"disabled",
|
|
111
|
+
"disabled-reason",
|
|
112
|
+
"danger",
|
|
113
|
+
"selectable",
|
|
114
|
+
"selected",
|
|
115
|
+
"onSelect"
|
|
116
|
+
]))), 128)), g(t.$slots, "default")]),
|
|
117
|
+
_: 3
|
|
118
|
+
}, 8, [
|
|
119
|
+
"open",
|
|
120
|
+
"size",
|
|
121
|
+
"align"
|
|
122
|
+
])]));
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
//#endregion
|
|
126
|
+
export { b as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
-
import { t } from "./ActionGroup-
|
|
3
|
-
import { t as n } from "./PrimaryActionScope-
|
|
2
|
+
import { t } from "./ActionGroup-DEeOrkKF.js";
|
|
3
|
+
import { t as n } from "./PrimaryActionScope-sogYOZXZ.js";
|
|
4
4
|
import { Comment as r, Fragment as i, Text 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, onMounted as m, onUpdated as h, openBlock as g, renderSlot as _, toDisplayString as v, useSlots as y, withCtx as b } from "vue";
|
|
5
5
|
//#region src/components/PageHeader.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var x = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./ActionGroup-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./ActionGroup-CZWoWOYj.cjs`),n=require(`./PrimaryActionScope-Dp2gvqwk.cjs`);let r=require(`vue`);var i={key:0,class:`nb-page-header__eyebrow`},a={class:`nb-page-header__title-row`},o={class:`nb-page-header__heading`},s={class:`nb-page-header__title`},c={key:0,class:`nb-page-header__status`},l={key:0,class:`nb-page-header__actions`},u={key:1,class:`nb-page-header__description`},d={key:2,class:`nb-page-header__facts`},f=(0,r.defineComponent)({__name:`PageHeader`,props:{title:{default:void 0},actions:{default:void 0},sticky:{type:Boolean,default:!1}},setup(e){let f=(0,r.useSlots)();function p(e){let t=0;for(let n of e)if(n.type!==r.Comment){if(n.type===r.Text){typeof n.children==`string`&&n.children.trim()&&t++;continue}if(n.type===r.Fragment){Array.isArray(n.children)&&(t+=p(n.children));continue}t++}return t}let m=!1;function h(){if(m||typeof process<`u`&&process.env.NODE_ENV===`production`)return;let e=f.status?.();!e||p(e)<=1||(m=!0,console.warn(`[NbPageHeader] The status slot holds more than one element. A page header carries exactly one status badge: fold the rest into it, or move them into the facts. See https://docs.nubisco.io/ui/patterns/status-indicators`))}return(0,r.onMounted)(h),(0,r.onUpdated)(h),(f,p)=>((0,r.openBlock)(),(0,r.createElementBlock)(`header`,{class:(0,r.normalizeClass)([`nb-page-header`,{"nb-page-header--sticky":e.sticky}])},[f.$slots.eyebrow?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,i,[(0,r.renderSlot)(f.$slots,`eyebrow`,{},void 0,!0)])):(0,r.createCommentVNode)(``,!0),(0,r.createElementVNode)(`div`,a,[(0,r.createElementVNode)(`div`,o,[(0,r.createElementVNode)(`h1`,s,[(0,r.renderSlot)(f.$slots,`title`,{},()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.title),1)],!0)]),f.$slots.status?((0,r.openBlock)(),(0,r.createElementBlock)(`span`,c,[(0,r.renderSlot)(f.$slots,`status`,{},void 0,!0)])):(0,r.createCommentVNode)(``,!0)]),e.actions?.length||f.$slots.actions?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,l,[(0,r.createVNode)(n.t,{owner:`NbPageHeader`},{default:(0,r.withCtx)(()=>[e.actions?.length?((0,r.openBlock)(),(0,r.createBlock)(t.t,{key:0,items:e.actions,overflow:`phone`},null,8,[`items`])):(0,r.createCommentVNode)(``,!0),(0,r.renderSlot)(f.$slots,`actions`,{},void 0,!0)]),_:3})])):(0,r.createCommentVNode)(``,!0)]),f.$slots.description?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,u,[(0,r.renderSlot)(f.$slots,`description`,{},void 0,!0)])):(0,r.createCommentVNode)(``,!0),f.$slots.facts?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,d,[(0,r.renderSlot)(f.$slots,`facts`,{},void 0,!0)])):(0,r.createCommentVNode)(``,!0)],2))}}),p=e.t(f,[[`__scopeId`,`data-v-7b0d1ed1`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
|
+
import { useNbStrings as n } from "./composables/useNbStrings.composable.mjs";
|
|
4
|
+
import { r } from "./Size.d-DY4ZHW3-.js";
|
|
5
|
+
import { t as i } from "./Select-BxPZtw_Q.js";
|
|
6
6
|
import { computed as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, normalizeClass as u, openBlock as d, toDisplayString as f, unref as p } from "vue";
|
|
7
7
|
import { regular as m } from "@nubisco/ui/icons/caret-right";
|
|
8
8
|
import { regular as h } from "@nubisco/ui/icons/caret-left";
|
|
@@ -10,7 +10,7 @@ import { regular as h } from "@nubisco/ui/icons/caret-left";
|
|
|
10
10
|
var g = ["aria-label"], _ = { class: "nb-pagination__left" }, v = { class: "nb-pagination__page-size" }, y = { class: "nb-pagination__label" }, b = {
|
|
11
11
|
class: "nb-pagination__range",
|
|
12
12
|
"aria-live": "polite"
|
|
13
|
-
}, x = { class: "nb-pagination__right" }, S = { class: "nb-pagination__page-of" }, C = /* @__PURE__ */
|
|
13
|
+
}, x = { class: "nb-pagination__right" }, S = { class: "nb-pagination__page-of" }, C = /* @__PURE__ */ t(/* @__PURE__ */ l({
|
|
14
14
|
__name: "Pagination",
|
|
15
15
|
props: {
|
|
16
16
|
page: {},
|
|
@@ -23,7 +23,7 @@ var g = ["aria-label"], _ = { class: "nb-pagination__left" }, v = { class: "nb-p
|
|
|
23
23
|
40,
|
|
24
24
|
50
|
|
25
25
|
] },
|
|
26
|
-
size: { default:
|
|
26
|
+
size: { default: r.Medium },
|
|
27
27
|
disabled: {
|
|
28
28
|
type: Boolean,
|
|
29
29
|
default: !1
|
|
@@ -32,8 +32,8 @@ var g = ["aria-label"], _ = { class: "nb-pagination__left" }, v = { class: "nb-p
|
|
|
32
32
|
itemLabel: { default: "items" }
|
|
33
33
|
},
|
|
34
34
|
emits: ["update:page", "update:pageSize"],
|
|
35
|
-
setup(
|
|
36
|
-
let l =
|
|
35
|
+
setup(t, { emit: r }) {
|
|
36
|
+
let l = n(), C = t, w = r, T = a(() => C.size), E = a(() => C.pageSizeOptions.includes(C.pageSize) ? C.pageSizeOptions : [...C.pageSizeOptions, C.pageSize].sort((e, t) => e - t)), D = a(() => E.value.map((e) => ({
|
|
37
37
|
label: String(e),
|
|
38
38
|
value: e
|
|
39
39
|
}))), O = a(() => Math.max(1, Math.ceil(C.total / Math.max(1, C.pageSize)))), k = a(() => Math.min(Math.max(1, C.page), O.value)), A = a(() => C.total === 0 ? 0 : (k.value - 1) * C.pageSize + 1), j = a(() => Math.min(k.value * C.pageSize, C.total));
|
|
@@ -45,51 +45,51 @@ var g = ["aria-label"], _ = { class: "nb-pagination__left" }, v = { class: "nb-p
|
|
|
45
45
|
let t = Number(e);
|
|
46
46
|
!Number.isFinite(t) || t === C.pageSize || (w("update:pageSize", t), C.page !== 1 && w("update:page", 1));
|
|
47
47
|
}
|
|
48
|
-
return (
|
|
49
|
-
class: u(["nb-pagination", `nb-pagination--${
|
|
48
|
+
return (n, r) => (d(), o("nav", {
|
|
49
|
+
class: u(["nb-pagination", `nb-pagination--${t.size}`]),
|
|
50
50
|
"aria-label": p(l).paginationLabel
|
|
51
|
-
}, [s("div", _, [s("label", v, [s("span", y, f(
|
|
51
|
+
}, [s("div", _, [s("label", v, [s("span", y, f(t.pageSizeLabel), 1), c(i, {
|
|
52
52
|
size: "xs",
|
|
53
|
-
"model-value":
|
|
53
|
+
"model-value": t.pageSize,
|
|
54
54
|
options: D.value,
|
|
55
|
-
disabled:
|
|
55
|
+
disabled: t.disabled,
|
|
56
56
|
"onUpdate:modelValue": N
|
|
57
57
|
}, null, 8, [
|
|
58
58
|
"model-value",
|
|
59
59
|
"options",
|
|
60
60
|
"disabled"
|
|
61
|
-
])]), s("span", b, f(p(l).paginationRange(A.value, j.value,
|
|
61
|
+
])]), s("span", b, f(p(l).paginationRange(A.value, j.value, t.total, t.itemLabel)), 1)]), s("div", x, [
|
|
62
62
|
s("span", S, f(p(l).paginationPageOf(k.value, O.value)), 1),
|
|
63
|
-
c(
|
|
63
|
+
c(e, {
|
|
64
64
|
class: "nb-pagination__nav",
|
|
65
65
|
variant: "ghost",
|
|
66
66
|
size: T.value,
|
|
67
67
|
icon: p(h),
|
|
68
|
-
disabled:
|
|
69
|
-
|
|
70
|
-
onClick:
|
|
68
|
+
disabled: t.disabled || k.value <= 1,
|
|
69
|
+
label: p(l).paginationPrevious,
|
|
70
|
+
onClick: r[0] ||= (e) => M(k.value - 1)
|
|
71
71
|
}, null, 8, [
|
|
72
72
|
"size",
|
|
73
73
|
"icon",
|
|
74
74
|
"disabled",
|
|
75
|
-
"
|
|
75
|
+
"label"
|
|
76
76
|
]),
|
|
77
|
-
c(
|
|
77
|
+
c(e, {
|
|
78
78
|
class: "nb-pagination__nav",
|
|
79
79
|
variant: "ghost",
|
|
80
80
|
size: T.value,
|
|
81
81
|
icon: p(m),
|
|
82
|
-
disabled:
|
|
83
|
-
|
|
84
|
-
onClick:
|
|
82
|
+
disabled: t.disabled || k.value >= O.value,
|
|
83
|
+
label: p(l).paginationNext,
|
|
84
|
+
onClick: r[1] ||= (e) => M(k.value + 1)
|
|
85
85
|
}, null, 8, [
|
|
86
86
|
"size",
|
|
87
87
|
"icon",
|
|
88
88
|
"disabled",
|
|
89
|
-
"
|
|
89
|
+
"label"
|
|
90
90
|
])
|
|
91
91
|
])], 10, g));
|
|
92
92
|
}
|
|
93
|
-
}), [["__scopeId", "data-v-
|
|
93
|
+
}), [["__scopeId", "data-v-fe753271"]]);
|
|
94
94
|
//#endregion
|
|
95
95
|
export { C as t };
|