@nubisco/ui 5.48.0 → 5.49.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-48ZXZCsn.cjs +1 -0
- package/dist/ActionGroup-DzQjn3ir.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-BrjUMTRk.cjs} +1 -1
- package/dist/{AiProvider-D8O_YaaP.js → AiProvider-Db47uagx.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-0P-b3qLI.js +84 -0
- package/dist/BatchActions-FDPiGUNh.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-Cda5rPZu.cjs → BlueprintCard-D3h_rGhj.cjs} +1 -1
- package/dist/{BlueprintCard-DDNP1vkk.js → BlueprintCard-_FItugFc.js} +107 -107
- package/dist/{BlueprintControls-D0MdXrVv.js → BlueprintControls-1l0QVtB7.js} +49 -75
- package/dist/BlueprintControls-C3ffD6W8.cjs +1 -0
- package/dist/{Board-CaFH4-Qw.js → Board-CSVCzJ1s.js} +178 -190
- package/dist/Board-gUICo94e.cjs +1 -0
- package/dist/BottomPanel-1EkHEQ_H.js +81 -0
- package/dist/BottomPanel-n2jWpFH7.cjs +1 -0
- package/dist/Breadcrumbs-BgMh5bfe.js +185 -0
- package/dist/Breadcrumbs-DN_2wxQS.cjs +1 -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-BQxQlmjs.cjs +1 -0
- package/dist/Confirm-DLhI3VVh.js +331 -0
- package/dist/{ContainedListItem-Dj7TcGpO.cjs → ContainedListItem-DjHEyhf8.cjs} +1 -1
- package/dist/{ContainedListItem-CSE8d5M6.js → ContainedListItem-DtTZOm-_.js} +1 -1
- 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-CHztTxz1.cjs +1 -0
- package/dist/DataTable-Dp3WZihu.js +545 -0
- package/dist/DatePicker-BLRQEI-6.js +755 -0
- package/dist/DatePicker-CJlffHeM.cjs +1 -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-DIAJy1Sv.cjs +1 -0
- package/dist/InputGroup-DQxpFFlP.js +86 -0
- package/dist/InputGroup.context-BTt6zUkj.cjs +1 -0
- package/dist/InputGroup.context-CJAWx5GI.js +16 -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-CcQpTOd3.js +189 -0
- package/dist/Menu-SlBztEy3.cjs +1 -0
- package/dist/{MenuBarItem-B8H9KfFo.cjs → MenuBarItem-BIDXX-uX.cjs} +1 -1
- package/dist/{MenuBarItem-BLdVIz0j.js → MenuBarItem-BlT1hN-b.js} +1 -1
- 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-CcXqTINb.cjs +1 -0
- package/dist/NumberInput-DfrhQayO.js +383 -0
- package/dist/OverflowMenu-BlZ_wEja.js +124 -0
- package/dist/OverflowMenu-CaC5E0Oy.cjs +1 -0
- package/dist/{PageHeader-BVcTzPcW.cjs → PageHeader-2jBgITYE.cjs} +1 -1
- package/dist/{PageHeader-CFMhwRcw.js → PageHeader-DgjItuag.js} +2 -2
- package/dist/{Pagination-VmE04nzc.cjs → Pagination-B1km1o28.cjs} +1 -1
- package/dist/{Pagination-zTp1lrSP.js → Pagination-DA1Nglqx.js} +26 -26
- 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-BUgIh9TX.js +130 -0
- package/dist/Search-D4SG2q3c.cjs +1 -0
- package/dist/Select-Cf0T4gIu.js +604 -0
- package/dist/Select-DhwcDMnf.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-DM-4DAEu.cjs → SidebarCollapseToggle-CqVURaqs.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-W1Z_MUIC.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/{SidebarMenuItem-CNunAuyB.js → SidebarMenuItem-BvvoDIjK.js} +1 -1
- package/dist/{SidebarMenuItem-DCR-nXAK.cjs → SidebarMenuItem-eFnj5QoE.cjs} +1 -1
- package/dist/Skeleton-CMuZJ1dR.cjs +1 -0
- package/dist/{Skeleton-C1e02dcW.js → Skeleton-Hmb5a2G_.js} +48 -31
- package/dist/{Slider-BaM5cclm.cjs → Slider-D9glvyrU.cjs} +1 -1
- package/dist/{Slider-BAXKJCNG.js → Slider-D9hgB8GJ.js} +4 -4
- 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-BM2Zc2_R.cjs +2 -0
- package/dist/TextInput-DVpNJNwY.js +406 -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 +271 -253
- 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.mjs +1 -1
- package/dist/components/ContainedListItem.cjs +1 -1
- package/dist/components/ContainedListItem.mjs +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 +50 -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 +11 -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/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/SidebarMenuItem.vue.d.ts.map +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 +66 -0
- package/dist/composables/useNbStrings.composable.d.ts.map +1 -1
- package/dist/composables/useNbStrings.composable.mjs +61 -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/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/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/SidebarMenuItem.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 +44 -36
- 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 +19 -9
- 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/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/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/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/{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
|
@@ -1,584 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./Icon-B2tiGiqZ.js";
|
|
2
|
-
import { usePhoneLayout as t } from "./composables/usePhoneLayout.composable.mjs";
|
|
3
|
-
import { t as n } from "./Button-CuwzIVWv.js";
|
|
4
|
-
import { t as r } from "./EmptyState-D-fku2DD.js";
|
|
5
|
-
import { t as i } from "./Spinner-CbBPddUx.js";
|
|
6
|
-
import { t as a } from "./Skeleton-C1e02dcW.js";
|
|
7
|
-
import { t as o } from "./NotificationCenterItem-BbbBFYEu.js";
|
|
8
|
-
import { Fragment as s, Teleport as c, Transition as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as ee, createTextVNode as te, createVNode as h, defineComponent as g, mergeProps as ne, nextTick as _, normalizeClass as re, normalizeStyle as v, onBeforeUnmount as ie, openBlock as y, ref as b, renderList as ae, renderSlot as x, toDisplayString as S, unref as oe, useId as se, useSlots as ce, watch as C, withCtx as w } from "vue";
|
|
9
|
-
import { regular as le } from "@nubisco/ui/icons/x";
|
|
10
|
-
import { regular as ue } from "@nubisco/ui/icons/warning-circle";
|
|
11
|
-
import * as de from "@nubisco/ui/icons/bell";
|
|
12
|
-
//#region src/components/NotificationCenter.vue?vue&type=script&setup=true&lang.ts
|
|
13
|
-
var fe = {
|
|
14
|
-
key: 0,
|
|
15
|
-
class: "nb-notification-center__badge",
|
|
16
|
-
"aria-hidden": "true"
|
|
17
|
-
}, pe = ["aria-describedby", "aria-busy"], me = { class: "nb-notification-center__header" }, he = {
|
|
18
|
-
class: "nb-notification-center__sr",
|
|
19
|
-
role: "status"
|
|
20
|
-
}, ge = { class: "nb-notification-center__stale-text" }, _e = { class: "nb-notification-center__sr" }, ve = ["tabindex"], ye = {
|
|
21
|
-
key: 4,
|
|
22
|
-
class: "nb-notification-center__empty"
|
|
23
|
-
}, be = {
|
|
24
|
-
key: 5,
|
|
25
|
-
class: "nb-notification-center__footer"
|
|
26
|
-
}, T = /* @__PURE__ */ new Set(), E = 8, D = 8, O = 96, k = 88, A = 200;
|
|
27
|
-
function xe(e, { align: t, side: n, width: r, maxHeight: i, viewport: a }) {
|
|
28
|
-
let o = e.left + e.width;
|
|
29
|
-
if (n === "right" && a.width - o - E - D >= r) {
|
|
30
|
-
let n = e.top + e.height, r = t === "end" ? n - D : a.height - e.top - D, s = Math.max(k + O, r), c = Math.min(i + O, s), l = Math.max(k, Math.min(i, s - O));
|
|
31
|
-
return t === "end" ? {
|
|
32
|
-
top: Math.max(D, n - c),
|
|
33
|
-
bottom: Math.max(D, a.height - n),
|
|
34
|
-
left: o + E,
|
|
35
|
-
side: "right",
|
|
36
|
-
maxListHeight: l
|
|
37
|
-
} : {
|
|
38
|
-
top: Math.max(D, Math.min(e.top, a.height - D - c)),
|
|
39
|
-
left: o + E,
|
|
40
|
-
side: "right",
|
|
41
|
-
maxListHeight: l
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
let s = t === "start" ? e.left : e.left + e.width - r, c = Math.min(Math.max(s, D), Math.max(D, a.width - r - D)), l = e.top + e.height, u = a.height - l - E - D, d = e.top - E - D, f = u < A && d > u ? "top" : "bottom", p = Math.max(k, f === "top" ? d : u), m = Math.max(k, Math.min(i, p - O)), ee = Math.min(i + O, p);
|
|
45
|
-
return {
|
|
46
|
-
top: f === "top" ? Math.max(D, e.top - E - ee) : l + E,
|
|
47
|
-
left: c,
|
|
48
|
-
side: f,
|
|
49
|
-
maxListHeight: m
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function Se(e, t) {
|
|
53
|
-
return e.left <= t.width && e.left + e.width >= 0 && e.top <= t.height && e.top + e.height >= 0;
|
|
54
|
-
}
|
|
55
|
-
//#endregion
|
|
56
|
-
//#region src/components/NotificationCenter.vue
|
|
57
|
-
var j = /* @__PURE__ */ g({
|
|
58
|
-
__name: "NotificationCenter",
|
|
59
|
-
props: {
|
|
60
|
-
items: { default: () => [] },
|
|
61
|
-
unreadCount: { default: void 0 },
|
|
62
|
-
itemCount: { default: void 0 },
|
|
63
|
-
open: {
|
|
64
|
-
type: Boolean,
|
|
65
|
-
default: void 0
|
|
66
|
-
},
|
|
67
|
-
label: { default: "Notifications" },
|
|
68
|
-
markAllLabel: { default: "Mark all as read" },
|
|
69
|
-
markAllPendingLabel: { default: "Marking all as read" },
|
|
70
|
-
markAllPending: {
|
|
71
|
-
type: Boolean,
|
|
72
|
-
default: !1
|
|
73
|
-
},
|
|
74
|
-
emptyTitle: { default: "No notifications" },
|
|
75
|
-
emptyDescription: { default: "New activity shows up here." },
|
|
76
|
-
loadingLabel: { default: "Loading notifications" },
|
|
77
|
-
loading: {
|
|
78
|
-
type: Boolean,
|
|
79
|
-
default: !1
|
|
80
|
-
},
|
|
81
|
-
error: {
|
|
82
|
-
type: Boolean,
|
|
83
|
-
default: !1
|
|
84
|
-
},
|
|
85
|
-
errorTitle: { default: "Could not load notifications" },
|
|
86
|
-
errorDescription: { default: "The request failed. Nothing has been lost." },
|
|
87
|
-
errorStaleLabel: { default: "These may be out of date." },
|
|
88
|
-
retryLabel: { default: "Try again" },
|
|
89
|
-
showRetry: {
|
|
90
|
-
type: Boolean,
|
|
91
|
-
default: !0
|
|
92
|
-
},
|
|
93
|
-
maxCount: { default: 99 },
|
|
94
|
-
width: { default: 360 },
|
|
95
|
-
closeLabel: { default: "Close notifications" },
|
|
96
|
-
maxHeight: { default: 384 },
|
|
97
|
-
align: { default: "end" },
|
|
98
|
-
side: { default: "vertical" },
|
|
99
|
-
showMarkAll: {
|
|
100
|
-
type: Boolean,
|
|
101
|
-
default: !0
|
|
102
|
-
},
|
|
103
|
-
interactive: {
|
|
104
|
-
type: Boolean,
|
|
105
|
-
default: !0
|
|
106
|
-
},
|
|
107
|
-
closeOnSelect: {
|
|
108
|
-
type: Boolean,
|
|
109
|
-
default: !0
|
|
110
|
-
},
|
|
111
|
-
closeOnNavigate: {
|
|
112
|
-
type: Boolean,
|
|
113
|
-
default: !0
|
|
114
|
-
},
|
|
115
|
-
disabled: {
|
|
116
|
-
type: Boolean,
|
|
117
|
-
default: !1
|
|
118
|
-
},
|
|
119
|
-
icon: { default: void 0 },
|
|
120
|
-
locale: { default: void 0 },
|
|
121
|
-
unreadLabel: { default: "Unread" },
|
|
122
|
-
readLabel: { default: "Read" },
|
|
123
|
-
formatUnread: {
|
|
124
|
-
type: Function,
|
|
125
|
-
default: (e) => `${e} unread`
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
emits: [
|
|
129
|
-
"update:open",
|
|
130
|
-
"open",
|
|
131
|
-
"close",
|
|
132
|
-
"select",
|
|
133
|
-
"mark-all-read",
|
|
134
|
-
"retry"
|
|
135
|
-
],
|
|
136
|
-
setup(g, { expose: E, emit: D }) {
|
|
137
|
-
let O = g, k = u(() => O.icon ?? de), A = D, j = ce(), M = `nb-notification-center-${se()}`, Ce = `${M}-title`, we = `${M}-trigger`, N = `${M}-error`, P = b(null), Te = b(null), F = b(null), I = b(null), Ee = b(!1), L = u(() => O.open === void 0 ? Ee.value : O.open), R = u(() => typeof O.unreadCount == "number" ? Math.max(0, O.unreadCount) : O.items.filter((e) => !e.read).length), De = u(() => R.value > O.maxCount ? `${O.maxCount}+` : String(R.value)), Oe = u(() => R.value > 0 ? `${O.label}, ${O.formatUnread(R.value)}` : O.label), ke = u(() => {
|
|
138
|
-
if (typeof O.itemCount == "number") return Math.max(0, O.itemCount);
|
|
139
|
-
if (!j.default) return O.items.length;
|
|
140
|
-
}), Ae = u(() => (ke.value ?? 0) > 0), z = u(() => {
|
|
141
|
-
if (O.loading) return "loading";
|
|
142
|
-
let e = ke.value;
|
|
143
|
-
return O.error && (e === void 0 || e === 0) ? "error" : e === void 0 || e > 0 ? "list" : "empty";
|
|
144
|
-
}), je = u(() => O.error && !O.loading && z.value === "list" && Ae.value);
|
|
145
|
-
b(!1), C(() => [
|
|
146
|
-
L.value,
|
|
147
|
-
!!j.default,
|
|
148
|
-
O.itemCount
|
|
149
|
-
], ([e, t, n]) => {}, { immediate: !0 });
|
|
150
|
-
function B() {
|
|
151
|
-
A("retry");
|
|
152
|
-
}
|
|
153
|
-
let Me = u(() => ({
|
|
154
|
-
id: we,
|
|
155
|
-
"aria-haspopup": "dialog",
|
|
156
|
-
"aria-expanded": L.value ? "true" : "false",
|
|
157
|
-
"aria-controls": L.value ? M : void 0,
|
|
158
|
-
"aria-label": Oe.value,
|
|
159
|
-
disabled: O.disabled || void 0
|
|
160
|
-
})), Ne = u(() => ({
|
|
161
|
-
type: "button",
|
|
162
|
-
disabled: R.value === 0 && !O.markAllPending,
|
|
163
|
-
"aria-disabled": O.markAllPending ? "true" : void 0,
|
|
164
|
-
"aria-busy": O.markAllPending ? "true" : void 0,
|
|
165
|
-
onClick: rt
|
|
166
|
-
})), Pe = u(() => je.value || z.value === "error" ? N : void 0);
|
|
167
|
-
function Fe(e) {
|
|
168
|
-
if (!e) {
|
|
169
|
-
F.value = null;
|
|
170
|
-
return;
|
|
171
|
-
}
|
|
172
|
-
let t = e instanceof HTMLElement ? e : e.$el;
|
|
173
|
-
F.value = t instanceof HTMLElement ? t : null;
|
|
174
|
-
}
|
|
175
|
-
let V = b({
|
|
176
|
-
top: 0,
|
|
177
|
-
left: 0,
|
|
178
|
-
side: "bottom",
|
|
179
|
-
maxListHeight: O.maxHeight
|
|
180
|
-
});
|
|
181
|
-
function Ie() {
|
|
182
|
-
return {
|
|
183
|
-
width: window.innerWidth,
|
|
184
|
-
height: window.innerHeight
|
|
185
|
-
};
|
|
186
|
-
}
|
|
187
|
-
function H() {
|
|
188
|
-
let e = P.value?.getBoundingClientRect();
|
|
189
|
-
e && (V.value = xe(e, {
|
|
190
|
-
align: O.align,
|
|
191
|
-
side: O.side,
|
|
192
|
-
width: O.width,
|
|
193
|
-
maxHeight: O.maxHeight,
|
|
194
|
-
viewport: Ie()
|
|
195
|
-
}));
|
|
196
|
-
}
|
|
197
|
-
let { phone: Le } = t(), U = u(() => Le.value), Re = u(() => {
|
|
198
|
-
if (!U.value) return V.value.bottom === void 0 ? {
|
|
199
|
-
top: `${Math.round(V.value.top)}px`,
|
|
200
|
-
left: `${Math.round(V.value.left)}px`,
|
|
201
|
-
width: `${O.width}px`
|
|
202
|
-
} : {
|
|
203
|
-
bottom: `${Math.round(V.value.bottom)}px`,
|
|
204
|
-
left: `${Math.round(V.value.left)}px`,
|
|
205
|
-
width: `${O.width}px`
|
|
206
|
-
};
|
|
207
|
-
}), ze = u(() => U.value ? void 0 : { maxHeight: `${Math.round(V.value.maxListHeight)}px` }), Be = u(() => ({
|
|
208
|
-
"nb-notification-center__panel--sheet": U.value,
|
|
209
|
-
"nb-notification-center__panel--start": O.align === "start",
|
|
210
|
-
"nb-notification-center__panel--above": !U.value && V.value.side === "top",
|
|
211
|
-
"nb-notification-center__panel--beside": !U.value && V.value.side === "right"
|
|
212
|
-
}));
|
|
213
|
-
function Ve(e) {
|
|
214
|
-
O.open === void 0 && (Ee.value = e), A("update:open", e);
|
|
215
|
-
}
|
|
216
|
-
function W() {
|
|
217
|
-
O.disabled || L.value || (H(), Ve(!0), A("open"));
|
|
218
|
-
}
|
|
219
|
-
function G(e = {}) {
|
|
220
|
-
if (!L.value) return;
|
|
221
|
-
let t = I.value?.contains(document.activeElement);
|
|
222
|
-
Ve(!1), A("close"), (e.restoreFocus ?? t) && _(He);
|
|
223
|
-
}
|
|
224
|
-
function He() {
|
|
225
|
-
let e = F.value;
|
|
226
|
-
if (e?.isConnected) {
|
|
227
|
-
e.focus();
|
|
228
|
-
return;
|
|
229
|
-
}
|
|
230
|
-
(P.value?.querySelector(Ye))?.focus();
|
|
231
|
-
}
|
|
232
|
-
function Ue() {
|
|
233
|
-
L.value ? G({ restoreFocus: !0 }) : W();
|
|
234
|
-
}
|
|
235
|
-
let K = b(0), We = new Set([
|
|
236
|
-
"button",
|
|
237
|
-
"link",
|
|
238
|
-
"menuitem",
|
|
239
|
-
"option"
|
|
240
|
-
]);
|
|
241
|
-
function Ge(e) {
|
|
242
|
-
if (e.tagName === "BUTTON") return !e.hasAttribute("disabled");
|
|
243
|
-
if (e.tagName === "A") return e.hasAttribute("href");
|
|
244
|
-
let t = e.getAttribute("role");
|
|
245
|
-
return t !== null && We.has(t);
|
|
246
|
-
}
|
|
247
|
-
function q() {
|
|
248
|
-
return I.value ? Array.from(I.value.querySelectorAll("[data-nb-notification-item]")).filter((e) => !!Ge(e)) : [];
|
|
249
|
-
}
|
|
250
|
-
let Ke = b(void 0);
|
|
251
|
-
function qe(e) {
|
|
252
|
-
let t = Te.value;
|
|
253
|
-
Ke.value = t && t.childElementCount > 0 && e.length === 0 ? 0 : void 0;
|
|
254
|
-
}
|
|
255
|
-
function J(e) {
|
|
256
|
-
let t = q();
|
|
257
|
-
qe(t), t.length && (K.value = Math.min(Math.max(e, 0), t.length - 1), t.forEach((e, t) => {
|
|
258
|
-
e.setAttribute("tabindex", t === K.value ? "0" : "-1");
|
|
259
|
-
}));
|
|
260
|
-
}
|
|
261
|
-
function Y(e) {
|
|
262
|
-
let t = q();
|
|
263
|
-
if (!t.length) return !1;
|
|
264
|
-
let n = Math.min(Math.max(e, 0), t.length - 1);
|
|
265
|
-
return J(n), t[n]?.focus(), !0;
|
|
266
|
-
}
|
|
267
|
-
function Je(e) {
|
|
268
|
-
let t = e.target?.closest("[data-nb-notification-item]");
|
|
269
|
-
if (!t) return;
|
|
270
|
-
let n = q().indexOf(t);
|
|
271
|
-
n >= 0 && J(n);
|
|
272
|
-
}
|
|
273
|
-
let Ye = "a[href]:not([tabindex=\"-1\"]), button:not([disabled]):not([tabindex=\"-1\"]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex=\"0\"]";
|
|
274
|
-
function Xe(e) {
|
|
275
|
-
return !!e?.closest?.("input, textarea, select, [contenteditable=\"\"], [contenteditable=\"true\"]");
|
|
276
|
-
}
|
|
277
|
-
function Ze(e) {
|
|
278
|
-
let t = q(), n = e.target?.closest("[data-nb-notification-item]"), r = n ? t.indexOf(n) : -1;
|
|
279
|
-
if (e.key === "Escape") {
|
|
280
|
-
if (!Qe(e)) return;
|
|
281
|
-
e.preventDefault(), e.stopPropagation(), G({ restoreFocus: !0 });
|
|
282
|
-
return;
|
|
283
|
-
}
|
|
284
|
-
if (e.key === "Tab") {
|
|
285
|
-
$e(e);
|
|
286
|
-
return;
|
|
287
|
-
}
|
|
288
|
-
if (!Xe(e.target)) switch (e.key) {
|
|
289
|
-
case "ArrowDown":
|
|
290
|
-
Y(r < 0 ? 0 : r + 1) && e.preventDefault();
|
|
291
|
-
break;
|
|
292
|
-
case "ArrowUp":
|
|
293
|
-
Y(r < 0 ? t.length - 1 : r - 1) && e.preventDefault();
|
|
294
|
-
break;
|
|
295
|
-
case "Home":
|
|
296
|
-
r >= 0 && (e.preventDefault(), Y(0));
|
|
297
|
-
break;
|
|
298
|
-
case "End":
|
|
299
|
-
r >= 0 && (e.preventDefault(), Y(t.length - 1));
|
|
300
|
-
break;
|
|
301
|
-
default: break;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
function Qe(e) {
|
|
305
|
-
if (e.defaultPrevented) return !1;
|
|
306
|
-
let t = (e.target ?? document.activeElement)?.closest?.("[aria-modal=\"true\"]");
|
|
307
|
-
return !(t && t !== I.value);
|
|
308
|
-
}
|
|
309
|
-
function $e(e) {
|
|
310
|
-
let t = I.value;
|
|
311
|
-
if (!t) return;
|
|
312
|
-
let n = Array.from(t.querySelectorAll(Ye)), r = document.activeElement, i = n[0], a = n[n.length - 1], o = !n.length || r === i || !t.contains(r), s = !n.length || r === a;
|
|
313
|
-
if (e.shiftKey ? !o : !s) return;
|
|
314
|
-
e.preventDefault();
|
|
315
|
-
let c = e.shiftKey ? F.value : et();
|
|
316
|
-
G({ restoreFocus: !1 }), _(() => {
|
|
317
|
-
c?.isConnected ? c.focus() : He();
|
|
318
|
-
});
|
|
319
|
-
}
|
|
320
|
-
function et() {
|
|
321
|
-
let e = F.value;
|
|
322
|
-
if (!e) return null;
|
|
323
|
-
let t = Array.from(document.querySelectorAll(Ye)).filter((e) => !I.value?.contains(e)).filter((e) => e.tabIndex >= 0), n = t.indexOf(e);
|
|
324
|
-
return n < 0 ? null : t[n + 1] ?? null;
|
|
325
|
-
}
|
|
326
|
-
function tt(e, t) {
|
|
327
|
-
A("select", e, t), O.closeOnSelect && G({ restoreFocus: !1 });
|
|
328
|
-
}
|
|
329
|
-
function nt(e) {
|
|
330
|
-
if (!j.default) return;
|
|
331
|
-
let t = e.target?.closest("[data-nb-notification-item]");
|
|
332
|
-
if (t && Ge(t)) {
|
|
333
|
-
if (e.type === "keydown") {
|
|
334
|
-
let n = e.key;
|
|
335
|
-
if (n !== "Enter" && n !== " " || t.tagName === "BUTTON" || t.tagName === "A") return;
|
|
336
|
-
e.preventDefault();
|
|
337
|
-
}
|
|
338
|
-
A("select", null, e), O.closeOnSelect && G({ restoreFocus: !1 });
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
function rt() {
|
|
342
|
-
O.markAllPending || A("mark-all-read");
|
|
343
|
-
}
|
|
344
|
-
function it(e) {
|
|
345
|
-
let t = e.target;
|
|
346
|
-
P.value?.contains(t) || I.value?.contains(t) || G({ restoreFocus: !1 });
|
|
347
|
-
}
|
|
348
|
-
function at(e) {
|
|
349
|
-
e.key === "Escape" && (I.value?.contains(document.activeElement) || Qe(e) && G({ restoreFocus: P.value?.contains(document.activeElement) ?? !1 }));
|
|
350
|
-
}
|
|
351
|
-
let X = 0;
|
|
352
|
-
function Z() {
|
|
353
|
-
!L.value || X || (X = requestAnimationFrame(() => {
|
|
354
|
-
X = 0, st();
|
|
355
|
-
}));
|
|
356
|
-
}
|
|
357
|
-
function ot() {
|
|
358
|
-
X &&= (cancelAnimationFrame(X), 0);
|
|
359
|
-
}
|
|
360
|
-
function st() {
|
|
361
|
-
if (!L.value || U.value) return;
|
|
362
|
-
let e = P.value?.getBoundingClientRect();
|
|
363
|
-
if (e && !Se(e, Ie())) {
|
|
364
|
-
G({ restoreFocus: !1 });
|
|
365
|
-
return;
|
|
366
|
-
}
|
|
367
|
-
H();
|
|
368
|
-
}
|
|
369
|
-
function Q() {
|
|
370
|
-
O.closeOnNavigate && G({ restoreFocus: !1 });
|
|
371
|
-
}
|
|
372
|
-
function ct() {
|
|
373
|
-
return window.navigation;
|
|
374
|
-
}
|
|
375
|
-
function lt() {
|
|
376
|
-
document.addEventListener("mousedown", it), document.addEventListener("keydown", at), window.addEventListener("resize", Z), window.addEventListener("scroll", Z, !0), window.addEventListener("popstate", Q), window.addEventListener("hashchange", Q), ct()?.addEventListener("navigate", Q);
|
|
377
|
-
}
|
|
378
|
-
function ut() {
|
|
379
|
-
ot(), document.removeEventListener("mousedown", it), document.removeEventListener("keydown", at), window.removeEventListener("resize", Z), window.removeEventListener("scroll", Z, !0), window.removeEventListener("popstate", Q), window.removeEventListener("hashchange", Q), ct()?.removeEventListener("navigate", Q);
|
|
380
|
-
}
|
|
381
|
-
let $ = () => G({ restoreFocus: !1 });
|
|
382
|
-
return C(L, (e) => {
|
|
383
|
-
if (e) {
|
|
384
|
-
for (let e of [...T]) e !== $ && e();
|
|
385
|
-
T.add($), lt(), _(() => {
|
|
386
|
-
H(), J(0), Y(0) || I.value?.focus();
|
|
387
|
-
});
|
|
388
|
-
} else T.delete($), ut(), K.value = 0;
|
|
389
|
-
}), C(() => [O.items.length, z.value], () => {
|
|
390
|
-
L.value && _(() => J(K.value));
|
|
391
|
-
}), ie(() => {
|
|
392
|
-
ut(), T.delete($);
|
|
393
|
-
let e = I.value;
|
|
394
|
-
e?.isConnected && e.remove();
|
|
395
|
-
}), E({
|
|
396
|
-
show: W,
|
|
397
|
-
close: G,
|
|
398
|
-
toggle: Ue,
|
|
399
|
-
isOpen: L,
|
|
400
|
-
unreadCount: R
|
|
401
|
-
}), (t, u) => (y(), p("div", {
|
|
402
|
-
ref_key: "rootRef",
|
|
403
|
-
ref: P,
|
|
404
|
-
class: "nb-notification-center"
|
|
405
|
-
}, [x(t.$slots, "trigger", {
|
|
406
|
-
open: L.value,
|
|
407
|
-
toggle: Ue,
|
|
408
|
-
show: W,
|
|
409
|
-
close: G,
|
|
410
|
-
unreadCount: R.value,
|
|
411
|
-
badge: De.value,
|
|
412
|
-
panelId: M,
|
|
413
|
-
triggerProps: Me.value,
|
|
414
|
-
setTriggerRef: Fe
|
|
415
|
-
}, () => [m("button", ne({
|
|
416
|
-
ref: Fe,
|
|
417
|
-
type: "button",
|
|
418
|
-
class: ["nb-notification-center__trigger", { "nb-notification-center__trigger--active": L.value }]
|
|
419
|
-
}, Me.value, { onClick: Ue }), [h(e, {
|
|
420
|
-
name: k.value,
|
|
421
|
-
size: 18
|
|
422
|
-
}, null, 8, ["name"]), R.value > 0 ? (y(), p("span", fe, S(De.value), 1)) : f("", !0)], 16)]), (y(), d(c, { to: "body" }, [h(l, { name: "nb-notification-center-pop" }, {
|
|
423
|
-
default: w(() => [L.value ? (y(), p("div", {
|
|
424
|
-
key: 0,
|
|
425
|
-
id: M,
|
|
426
|
-
ref_key: "panelRef",
|
|
427
|
-
ref: I,
|
|
428
|
-
class: re(["nb-notification-center__panel", Be.value]),
|
|
429
|
-
style: v(Re.value),
|
|
430
|
-
role: "dialog",
|
|
431
|
-
tabindex: "-1",
|
|
432
|
-
"aria-labelledby": Ce,
|
|
433
|
-
"aria-describedby": Pe.value,
|
|
434
|
-
"aria-busy": g.loading ? "true" : void 0,
|
|
435
|
-
onKeydown: Ze,
|
|
436
|
-
onFocusin: Je
|
|
437
|
-
}, [
|
|
438
|
-
m("div", me, [
|
|
439
|
-
m("h2", {
|
|
440
|
-
id: Ce,
|
|
441
|
-
class: "nb-notification-center__title"
|
|
442
|
-
}, S(g.label), 1),
|
|
443
|
-
x(t.$slots, "header-start", {
|
|
444
|
-
close: G,
|
|
445
|
-
unreadCount: R.value
|
|
446
|
-
}),
|
|
447
|
-
x(t.$slots, "header-actions", {
|
|
448
|
-
close: G,
|
|
449
|
-
unreadCount: R.value,
|
|
450
|
-
markAllRead: rt,
|
|
451
|
-
markAllPending: g.markAllPending,
|
|
452
|
-
markAllProps: Ne.value,
|
|
453
|
-
markAllText: g.markAllPending ? g.markAllPendingLabel : g.markAllLabel
|
|
454
|
-
}, () => [g.showMarkAll ? (y(), p("button", ne({
|
|
455
|
-
key: 0,
|
|
456
|
-
class: "nb-notification-center__mark-all"
|
|
457
|
-
}, Ne.value), [g.markAllPending ? (y(), d(i, {
|
|
458
|
-
key: 0,
|
|
459
|
-
size: "xs",
|
|
460
|
-
tone: "inherit",
|
|
461
|
-
decorative: ""
|
|
462
|
-
})) : f("", !0), te(" " + S(g.markAllPending ? g.markAllPendingLabel : g.markAllLabel), 1)], 16)) : f("", !0)]),
|
|
463
|
-
U.value ? (y(), d(n, {
|
|
464
|
-
key: 0,
|
|
465
|
-
class: "nb-notification-center__close",
|
|
466
|
-
variant: "ghost",
|
|
467
|
-
size: "lg",
|
|
468
|
-
icon: oe(le),
|
|
469
|
-
"aria-label": g.closeLabel,
|
|
470
|
-
onClick: u[0] ||= (e) => G()
|
|
471
|
-
}, null, 8, ["icon", "aria-label"])) : f("", !0)
|
|
472
|
-
]),
|
|
473
|
-
m("span", he, S(g.markAllPending ? g.markAllPendingLabel : ""), 1),
|
|
474
|
-
je.value ? (y(), p("div", {
|
|
475
|
-
key: 0,
|
|
476
|
-
id: N,
|
|
477
|
-
class: "nb-notification-center__stale",
|
|
478
|
-
role: "status"
|
|
479
|
-
}, [
|
|
480
|
-
h(e, {
|
|
481
|
-
name: oe(ue),
|
|
482
|
-
size: "sm",
|
|
483
|
-
"aria-hidden": "true"
|
|
484
|
-
}, null, 8, ["name"]),
|
|
485
|
-
m("span", ge, S(g.errorStaleLabel), 1),
|
|
486
|
-
g.showRetry ? (y(), p("button", {
|
|
487
|
-
key: 0,
|
|
488
|
-
type: "button",
|
|
489
|
-
class: "nb-notification-center__retry",
|
|
490
|
-
onClick: B
|
|
491
|
-
}, S(g.retryLabel), 1)) : f("", !0)
|
|
492
|
-
])) : f("", !0),
|
|
493
|
-
z.value === "loading" ? (y(), p("div", {
|
|
494
|
-
key: 1,
|
|
495
|
-
class: "nb-notification-center__loading",
|
|
496
|
-
role: "status",
|
|
497
|
-
style: v(ze.value)
|
|
498
|
-
}, [m("span", _e, S(g.loadingLabel), 1), (y(), p(s, null, ae(3, (e) => h(a, {
|
|
499
|
-
key: e,
|
|
500
|
-
variant: "text",
|
|
501
|
-
type: "body-sm",
|
|
502
|
-
lines: 2,
|
|
503
|
-
"last-line-width": "60%"
|
|
504
|
-
})), 64))], 4)) : z.value === "error" ? (y(), p("div", {
|
|
505
|
-
key: 2,
|
|
506
|
-
id: N,
|
|
507
|
-
class: "nb-notification-center__error",
|
|
508
|
-
role: "alert"
|
|
509
|
-
}, [x(t.$slots, "error", { retry: B }, () => [h(r, {
|
|
510
|
-
size: "sm",
|
|
511
|
-
kind: "error",
|
|
512
|
-
title: g.errorTitle,
|
|
513
|
-
description: g.errorDescription
|
|
514
|
-
}, ee({ _: 2 }, [g.showRetry ? {
|
|
515
|
-
name: "actions",
|
|
516
|
-
fn: w(() => [h(n, {
|
|
517
|
-
size: "sm",
|
|
518
|
-
variant: "secondary",
|
|
519
|
-
onClick: B
|
|
520
|
-
}, {
|
|
521
|
-
default: w(() => [te(S(g.retryLabel), 1)]),
|
|
522
|
-
_: 1
|
|
523
|
-
})]),
|
|
524
|
-
key: "0"
|
|
525
|
-
} : void 0]), 1032, ["title", "description"])])])) : z.value === "list" ? (y(), p("ul", {
|
|
526
|
-
key: 3,
|
|
527
|
-
ref_key: "listRef",
|
|
528
|
-
ref: Te,
|
|
529
|
-
class: "nb-notification-center__list",
|
|
530
|
-
role: "list",
|
|
531
|
-
tabindex: Ke.value,
|
|
532
|
-
style: v(ze.value),
|
|
533
|
-
onClick: nt,
|
|
534
|
-
onKeydown: nt
|
|
535
|
-
}, [x(t.$slots, "default", {
|
|
536
|
-
close: G,
|
|
537
|
-
items: g.items
|
|
538
|
-
}, () => [(y(!0), p(s, null, ae(g.items, (e) => (y(), d(o, {
|
|
539
|
-
key: e.id,
|
|
540
|
-
title: e.title,
|
|
541
|
-
body: e.body,
|
|
542
|
-
time: e.time,
|
|
543
|
-
"time-label": e.timeLabel,
|
|
544
|
-
read: e.read,
|
|
545
|
-
variant: e.variant ?? "neutral",
|
|
546
|
-
icon: e.icon,
|
|
547
|
-
href: e.href,
|
|
548
|
-
interactive: e.interactive ?? g.interactive,
|
|
549
|
-
locale: g.locale,
|
|
550
|
-
"unread-label": g.unreadLabel,
|
|
551
|
-
"read-label": g.readLabel,
|
|
552
|
-
onSelect: (t) => tt(e, t)
|
|
553
|
-
}, null, 8, [
|
|
554
|
-
"title",
|
|
555
|
-
"body",
|
|
556
|
-
"time",
|
|
557
|
-
"time-label",
|
|
558
|
-
"read",
|
|
559
|
-
"variant",
|
|
560
|
-
"icon",
|
|
561
|
-
"href",
|
|
562
|
-
"interactive",
|
|
563
|
-
"locale",
|
|
564
|
-
"unread-label",
|
|
565
|
-
"read-label",
|
|
566
|
-
"onSelect"
|
|
567
|
-
]))), 128))])], 44, ve)) : z.value === "empty" ? (y(), p("div", ye, [x(t.$slots, "empty", {}, () => [h(r, {
|
|
568
|
-
size: "sm",
|
|
569
|
-
icon: k.value,
|
|
570
|
-
title: g.emptyTitle,
|
|
571
|
-
description: g.emptyDescription
|
|
572
|
-
}, null, 8, [
|
|
573
|
-
"icon",
|
|
574
|
-
"title",
|
|
575
|
-
"description"
|
|
576
|
-
])])])) : f("", !0),
|
|
577
|
-
t.$slots.footer ? (y(), p("div", be, [x(t.$slots, "footer", { close: G })])) : f("", !0)
|
|
578
|
-
], 46, pe)) : f("", !0)]),
|
|
579
|
-
_: 3
|
|
580
|
-
})]))], 512));
|
|
581
|
-
}
|
|
582
|
-
});
|
|
583
|
-
//#endregion
|
|
584
|
-
export { j as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./Icon-CssV4E2-.cjs`),n=require(`./composables/useStableId.composable.cjs`),r=require(`./Label-CTOPIIbR.cjs`),i=require(`./Message-Bija1nMK.cjs`),a=require(`./composables/useFieldMessage.composable.cjs`),o=require(`./composables/useNbStrings.composable.cjs`);let s=require(`vue`),c=require(`@nubisco/ui/icons/plus`),l=require(`@nubisco/ui/icons/minus`);var u=[`id`,`aria-invalid`,`aria-describedby`,`placeholder`,`min`,`max`,`step`,`disabled`,`required`],d={class:`nb-number-input__steppers`},f=[`disabled`,`aria-label`],p=[`disabled`,`aria-label`],m={key:0,class:`nb-number-input__inner-header`},h=[`for`],g={key:0,class:`nb-number-input__asterisk`,"aria-hidden":`true`},_={class:`nb-number-input__fluid-row`},v=[`id`,`aria-invalid`,`aria-describedby`,`placeholder`,`min`,`max`,`step`,`disabled`,`required`],y={class:`nb-number-input__steppers`},b=[`disabled`,`aria-label`],x=[`disabled`,`aria-label`],S=(0,s.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(e,{expose:S,emit:C}){let w=o.useNbStrings(),T=e,E=C,D=(0,s.ref)(null),O=(0,s.ref)(!1),k=n.useStableId({}),A=(0,s.computed)(()=>T.id??k),{ids:j,messageId:M,invalid:N,live:P,key:F}=a.useFieldMessage(T,A),I=(0,s.computed)(()=>T.min!==void 0&&T.modelValue!==null&&T.modelValue!==void 0&&T.modelValue<=T.min),L=(0,s.computed)(()=>T.max!==void 0&&T.modelValue!==null&&T.modelValue!==void 0&&T.modelValue>=T.max);function R(e){let t=e;return T.min!==void 0&&(t=Math.max(T.min,t)),T.max!==void 0&&(t=Math.min(T.max,t)),t}function z(e){D.value&&(D.value.value=e==null?``:String(e))}(0,s.onMounted)(()=>z(T.modelValue)),(0,s.watch)(()=>T.modelValue,e=>{O.value||z(e)});function B(){let e=R((T.modelValue??0)+T.step);E(`update:modelValue`,e),E(`change`,e),z(e)}function V(){let e=R((T.modelValue??0)-T.step);E(`update:modelValue`,e),E(`change`,e),z(e)}function H(){if(!D.value)return;let e=D.value.value;if(e===``)E(`update:modelValue`,null);else{let t=parseFloat(e);isNaN(t)||E(`update:modelValue`,t)}}function U(){if(O.value=!1,!D.value)return;let e=D.value.value;if(e===``){E(`update:modelValue`,null),E(`change`,null);return}let t=parseFloat(e);if(!isNaN(t)){let e=R(t);E(`update:modelValue`,e),E(`change`,e),z(e)}}let W=(0,s.computed)(()=>[`nb-number-input`,`nb-number-input--${T.variant}`,`nb-number-input--${T.size}`,{"nb-number-input--error":!!T.error,"nb-number-input--warning":!T.error&&!!T.warning,"nb-number-input--disabled":T.disabled}]),G=(0,s.computed)(()=>({"nb-number-input__field-wrapper--focused":O.value,"nb-number-input__field-wrapper--error":!!T.error,"nb-number-input__field-wrapper--warning":!T.error&&!!T.warning,"nb-number-input__field-wrapper--disabled":T.disabled}));return S({focus:()=>D.value?.focus()}),(n,a)=>((0,s.openBlock)(),(0,s.createElementBlock)(`div`,{class:(0,s.normalizeClass)(W.value)},[e.variant===`default`?((0,s.openBlock)(),(0,s.createElementBlock)(s.Fragment,{key:0},[e.label?((0,s.openBlock)(),(0,s.createBlock)(r.t,{key:0,for:A.value,required:e.required,disabled:e.disabled},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.label),1)]),_:1},8,[`for`,`required`,`disabled`])):(0,s.createCommentVNode)(``,!0),(0,s.createElementVNode)(`div`,{class:(0,s.normalizeClass)([`nb-number-input__field-wrapper`,G.value])},[(0,s.createElementVNode)(`input`,{id:A.value,ref_key:`inputRef`,ref:D,"aria-invalid":(0,s.unref)(N),"aria-describedby":(0,s.unref)(M),type:`number`,class:`nb-number-input__field`,placeholder:e.placeholder,min:e.min,max:e.max,step:e.step,disabled:e.disabled,required:e.required,onInput:H,onBlur:U,onKeydown:a[0]||=(0,s.withKeys)((0,s.withModifiers)(()=>D.value?.blur(),[`prevent`]),[`enter`]),onFocus:a[1]||=e=>O.value=!0},null,40,u),e.error?((0,s.openBlock)(),(0,s.createBlock)(i.t,{key:0,variant:`error`,"icon-only":!0,live:`off`,"aria-hidden":`true`,class:`nb-number-input__status`},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.error),1)]),_:1})):e.warning?((0,s.openBlock)(),(0,s.createBlock)(i.t,{key:1,variant:`warning`,"icon-only":!0,live:`off`,"aria-hidden":`true`,class:`nb-number-input__status`},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.warning),1)]),_:1})):(0,s.createCommentVNode)(``,!0),(0,s.createElementVNode)(`div`,d,[(0,s.createElementVNode)(`button`,{type:`button`,class:(0,s.normalizeClass)([`nb-number-input__stepper`,{"nb-number-input__stepper--at-limit":I.value}]),disabled:e.disabled,"aria-label":(0,s.unref)(w).numberInputDecrease,onMousedown:a[2]||=(0,s.withModifiers)(()=>{},[`prevent`]),onClick:V},[(0,s.createVNode)(t.t,{name:(0,s.unref)(l.regular),size:16},null,8,[`name`])],42,f),(0,s.createElementVNode)(`button`,{type:`button`,class:(0,s.normalizeClass)([`nb-number-input__stepper`,{"nb-number-input__stepper--at-limit":L.value}]),disabled:e.disabled,"aria-label":(0,s.unref)(w).numberInputIncrease,onMousedown:a[3]||=(0,s.withModifiers)(()=>{},[`prevent`]),onClick:B},[(0,s.createVNode)(t.t,{name:(0,s.unref)(c.regular),size:16},null,8,[`name`])],42,p)])],2),e.error?((0,s.openBlock)(),(0,s.createBlock)(i.t,{id:(0,s.unref)(j).error,key:(0,s.unref)(F),variant:`error`,live:(0,s.unref)(P),class:`nb-number-input__message`},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.error),1)]),_:1},8,[`id`,`live`])):e.warning?((0,s.openBlock)(),(0,s.createBlock)(i.t,{id:(0,s.unref)(j).warning,key:(0,s.unref)(F),variant:`warning`,live:(0,s.unref)(P),class:`nb-number-input__message`},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.warning),1)]),_:1},8,[`id`,`live`])):e.helper?((0,s.openBlock)(),(0,s.createBlock)(i.t,{id:(0,s.unref)(j).helper,key:(0,s.unref)(F),variant:`helper`,live:(0,s.unref)(P),class:`nb-number-input__message`},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.helper),1)]),_:1},8,[`id`,`live`])):(0,s.createCommentVNode)(``,!0)],64)):e.variant===`fluid`?((0,s.openBlock)(),(0,s.createElementBlock)(s.Fragment,{key:1},[(0,s.createElementVNode)(`div`,{class:(0,s.normalizeClass)([`nb-number-input__field-wrapper`,G.value])},[e.label?((0,s.openBlock)(),(0,s.createElementBlock)(`div`,m,[(0,s.createElementVNode)(`label`,{for:A.value,class:`nb-number-input__inner-label`},[(0,s.createTextVNode)((0,s.toDisplayString)(e.label)+` `,1),e.required?((0,s.openBlock)(),(0,s.createElementBlock)(`span`,g,`*`)):(0,s.createCommentVNode)(``,!0)],8,h),e.helper&&!e.error&&!e.warning?((0,s.openBlock)(),(0,s.createBlock)(i.t,{key:0,id:(0,s.unref)(j).helper,variant:`helper`,live:`off`,"icon-only":!0,class:`nb-number-input__inner-message`},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.helper),1)]),_:1},8,[`id`])):(0,s.createCommentVNode)(``,!0)])):(0,s.createCommentVNode)(``,!0),(0,s.createElementVNode)(`div`,_,[(0,s.createElementVNode)(`input`,{id:A.value,ref_key:`inputRef`,ref:D,"aria-invalid":(0,s.unref)(N),"aria-describedby":(0,s.unref)(M),type:`number`,class:`nb-number-input__field`,placeholder:e.placeholder,min:e.min,max:e.max,step:e.step,disabled:e.disabled,required:e.required,onInput:H,onBlur:U,onKeydown:a[4]||=(0,s.withKeys)((0,s.withModifiers)(()=>D.value?.blur(),[`prevent`]),[`enter`]),onFocus:a[5]||=e=>O.value=!0},null,40,v),e.error?((0,s.openBlock)(),(0,s.createBlock)(i.t,{key:0,variant:`error`,"icon-only":!0,live:`off`,"aria-hidden":`true`,class:`nb-number-input__status`},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.error),1)]),_:1})):e.warning?((0,s.openBlock)(),(0,s.createBlock)(i.t,{key:1,variant:`warning`,"icon-only":!0,live:`off`,"aria-hidden":`true`,class:`nb-number-input__status`},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.warning),1)]),_:1})):(0,s.createCommentVNode)(``,!0),(0,s.createElementVNode)(`div`,y,[(0,s.createElementVNode)(`button`,{type:`button`,class:(0,s.normalizeClass)([`nb-number-input__stepper`,{"nb-number-input__stepper--at-limit":I.value}]),disabled:e.disabled,"aria-label":(0,s.unref)(w).numberInputDecrease,onMousedown:a[6]||=(0,s.withModifiers)(()=>{},[`prevent`]),onClick:V},[(0,s.createVNode)(t.t,{name:(0,s.unref)(l.regular),size:16},null,8,[`name`])],42,b),(0,s.createElementVNode)(`button`,{type:`button`,class:(0,s.normalizeClass)([`nb-number-input__stepper`,{"nb-number-input__stepper--at-limit":L.value}]),disabled:e.disabled,"aria-label":(0,s.unref)(w).numberInputIncrease,onMousedown:a[7]||=(0,s.withModifiers)(()=>{},[`prevent`]),onClick:B},[(0,s.createVNode)(t.t,{name:(0,s.unref)(c.regular),size:16},null,8,[`name`])],42,x)])])],2),e.error?((0,s.openBlock)(),(0,s.createBlock)(i.t,{id:(0,s.unref)(j).error,key:(0,s.unref)(F),variant:`error`,live:(0,s.unref)(P),class:`nb-number-input__fluid-message`},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.error),1)]),_:1},8,[`id`,`live`])):e.warning?((0,s.openBlock)(),(0,s.createBlock)(i.t,{id:(0,s.unref)(j).warning,key:(0,s.unref)(F),variant:`warning`,live:(0,s.unref)(P),class:`nb-number-input__fluid-message`},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.warning),1)]),_:1},8,[`id`,`live`])):(0,s.createCommentVNode)(``,!0)],64)):(0,s.createCommentVNode)(``,!0)],2))}}),C=e.t(S,[[`__scopeId`,`data-v-abb2bc53`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return C}});
|