@nubisco/ui 5.48.1 → 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-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-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/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/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 +43 -35
- 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/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/{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,171 @@
|
|
|
1
|
+
import { t as e } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
|
+
import { useNbStrings as n } from "./composables/useNbStrings.composable.mjs";
|
|
4
|
+
import { t as r } from "./Spinner-C3MeCm2k.js";
|
|
5
|
+
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, openBlock as p, ref as m, toDisplayString as h, watch as g, withModifiers as _ } from "vue";
|
|
6
|
+
import * as v from "@nubisco/ui/icons/plus";
|
|
7
|
+
import * as y from "@nubisco/ui/icons/trash";
|
|
8
|
+
//#region src/components/ImagePicker.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
+
var b = [
|
|
10
|
+
"aria-label",
|
|
11
|
+
"aria-busy",
|
|
12
|
+
"disabled"
|
|
13
|
+
], x = ["src", "alt"], S = {
|
|
14
|
+
key: 1,
|
|
15
|
+
class: "nb-image-picker__empty"
|
|
16
|
+
}, C = { class: "nb-image-picker__label" }, w = {
|
|
17
|
+
key: 2,
|
|
18
|
+
class: "nb-image-picker__drop"
|
|
19
|
+
}, T = {
|
|
20
|
+
key: 0,
|
|
21
|
+
class: "nb-image-picker__loading"
|
|
22
|
+
}, E = ["accept", "disabled"], D = /* @__PURE__ */ u({
|
|
23
|
+
__name: "ImagePicker",
|
|
24
|
+
props: {
|
|
25
|
+
src: { default: "" },
|
|
26
|
+
alt: { default: "" },
|
|
27
|
+
label: { default: void 0 },
|
|
28
|
+
dropLabel: { default: void 0 },
|
|
29
|
+
replaceLabel: { default: void 0 },
|
|
30
|
+
removeLabel: { default: void 0 },
|
|
31
|
+
accept: { default: "image/*" },
|
|
32
|
+
maxSize: { default: void 0 },
|
|
33
|
+
removable: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: !0
|
|
36
|
+
},
|
|
37
|
+
removeDisabled: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: !1
|
|
40
|
+
},
|
|
41
|
+
loading: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: !1
|
|
44
|
+
},
|
|
45
|
+
disabled: {
|
|
46
|
+
type: Boolean,
|
|
47
|
+
default: !1
|
|
48
|
+
},
|
|
49
|
+
size: { default: "10rem" },
|
|
50
|
+
ratio: { default: "1 / 1" },
|
|
51
|
+
fit: { default: "contain" },
|
|
52
|
+
id: {}
|
|
53
|
+
},
|
|
54
|
+
emits: [
|
|
55
|
+
"pick",
|
|
56
|
+
"remove",
|
|
57
|
+
"reject"
|
|
58
|
+
],
|
|
59
|
+
setup(u, { expose: D, emit: O }) {
|
|
60
|
+
let k = u, A = n(), j = i(() => ({
|
|
61
|
+
add: k.label ?? A.value.imagePickerAdd,
|
|
62
|
+
drop: k.dropLabel ?? A.value.imagePickerDrop,
|
|
63
|
+
replace: k.replaceLabel ?? A.value.imagePickerReplace,
|
|
64
|
+
remove: k.removeLabel ?? A.value.imagePickerRemove
|
|
65
|
+
})), M = O, N = m(null), P = m(!1), F = 0, I = i(() => !!k.src), L = i(() => k.disabled || k.loading), R = i(() => ({
|
|
66
|
+
"--nb-image-picker-size": typeof k.size == "number" ? `${k.size}px` : k.size,
|
|
67
|
+
"--nb-image-picker-ratio": k.ratio,
|
|
68
|
+
"--nb-image-picker-fit": k.fit
|
|
69
|
+
}));
|
|
70
|
+
g(L, (e) => {
|
|
71
|
+
e && (F = 0, P.value = !1);
|
|
72
|
+
});
|
|
73
|
+
function z() {
|
|
74
|
+
L.value || N.value?.click();
|
|
75
|
+
}
|
|
76
|
+
function B(e) {
|
|
77
|
+
let t = k.accept.split(",").map((e) => e.trim().toLowerCase()).filter(Boolean);
|
|
78
|
+
if (t.length === 0) return !0;
|
|
79
|
+
let n = e.name.toLowerCase(), r = e.type.toLowerCase();
|
|
80
|
+
return t.some((e) => e.startsWith(".") ? n.endsWith(e) : e.endsWith("/*") ? r.startsWith(e.slice(0, -1)) : r === e);
|
|
81
|
+
}
|
|
82
|
+
function V(e) {
|
|
83
|
+
if (!B(e)) return M("reject", {
|
|
84
|
+
file: e,
|
|
85
|
+
reason: "type"
|
|
86
|
+
});
|
|
87
|
+
if (k.maxSize && e.size > k.maxSize) return M("reject", {
|
|
88
|
+
file: e,
|
|
89
|
+
reason: "size"
|
|
90
|
+
});
|
|
91
|
+
M("pick", e);
|
|
92
|
+
}
|
|
93
|
+
function H(e) {
|
|
94
|
+
let t = e.target, n = t.files?.[0];
|
|
95
|
+
t.value = "", n && !L.value && V(n);
|
|
96
|
+
}
|
|
97
|
+
function U() {
|
|
98
|
+
L.value || (F++, P.value = !0);
|
|
99
|
+
}
|
|
100
|
+
function W() {
|
|
101
|
+
F--, F <= 0 && (F = 0, P.value = !1);
|
|
102
|
+
}
|
|
103
|
+
function G(e) {
|
|
104
|
+
L.value && e.dataTransfer && (e.dataTransfer.dropEffect = "none");
|
|
105
|
+
}
|
|
106
|
+
function K(e) {
|
|
107
|
+
if (F = 0, P.value = !1, L.value) return;
|
|
108
|
+
let t = e.dataTransfer?.files?.[0];
|
|
109
|
+
t && V(t);
|
|
110
|
+
}
|
|
111
|
+
return D({ open: z }), (n, i) => (p(), s("div", {
|
|
112
|
+
class: d(["nb-image-picker", {
|
|
113
|
+
"nb-image-picker--filled": I.value,
|
|
114
|
+
"nb-image-picker--dragging": P.value,
|
|
115
|
+
"nb-image-picker--loading": u.loading,
|
|
116
|
+
"nb-image-picker--disabled": u.disabled
|
|
117
|
+
}]),
|
|
118
|
+
style: f(R.value),
|
|
119
|
+
onDragenter: _(U, ["prevent"]),
|
|
120
|
+
onDragover: _(G, ["prevent"]),
|
|
121
|
+
onDragleave: _(W, ["prevent"]),
|
|
122
|
+
onDrop: _(K, ["prevent"])
|
|
123
|
+
}, [
|
|
124
|
+
c("button", {
|
|
125
|
+
type: "button",
|
|
126
|
+
class: "nb-image-picker__surface",
|
|
127
|
+
"aria-label": I.value ? j.value.replace : j.value.add,
|
|
128
|
+
"aria-busy": u.loading || void 0,
|
|
129
|
+
disabled: u.disabled || u.loading,
|
|
130
|
+
onClick: z
|
|
131
|
+
}, [I.value ? (p(), s("img", {
|
|
132
|
+
key: 0,
|
|
133
|
+
class: "nb-image-picker__image",
|
|
134
|
+
src: u.src,
|
|
135
|
+
alt: u.alt
|
|
136
|
+
}, null, 8, x)) : (p(), s("span", S, [l(t, {
|
|
137
|
+
name: v,
|
|
138
|
+
size: 20,
|
|
139
|
+
"aria-hidden": "true"
|
|
140
|
+
}), c("span", C, h(j.value.add), 1)])), P.value ? (p(), s("span", w, h(j.value.drop), 1)) : o("", !0)], 8, b),
|
|
141
|
+
u.loading ? (p(), s("span", T, [l(r, {
|
|
142
|
+
size: "md",
|
|
143
|
+
decorative: ""
|
|
144
|
+
})])) : o("", !0),
|
|
145
|
+
I.value && u.removable ? (p(), a(e, {
|
|
146
|
+
key: 1,
|
|
147
|
+
class: "nb-image-picker__remove",
|
|
148
|
+
variant: "ghost",
|
|
149
|
+
size: "xs",
|
|
150
|
+
icon: y,
|
|
151
|
+
label: j.value.remove,
|
|
152
|
+
"tooltip-position": "left",
|
|
153
|
+
disabled: u.removeDisabled || u.disabled || u.loading,
|
|
154
|
+
onClick: i[0] ||= _((e) => M("remove"), ["stop"])
|
|
155
|
+
}, null, 8, ["label", "disabled"])) : o("", !0),
|
|
156
|
+
c("input", {
|
|
157
|
+
ref_key: "inputRef",
|
|
158
|
+
ref: N,
|
|
159
|
+
type: "file",
|
|
160
|
+
class: "nb-image-picker__input",
|
|
161
|
+
tabindex: "-1",
|
|
162
|
+
"aria-hidden": "true",
|
|
163
|
+
accept: u.accept,
|
|
164
|
+
disabled: u.disabled || u.loading,
|
|
165
|
+
onChange: H
|
|
166
|
+
}, null, 40, E)
|
|
167
|
+
], 38));
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
//#endregion
|
|
171
|
+
export { D as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./composables/useStableId.composable.cjs`),i=require(`./composables/useSurfaceLayer.composable.cjs`),a=require(`./composables/usePhoneLayout.composable.cjs`),o=require(`./utils/anchorPosition.helper.cjs`),s=require(`./composables/useNbStrings.composable.cjs`);let c=require(`vue`),l=require(`@nubisco/ui/icons/info`);l=e.n(l);var u=[`data-term`],d=[`aria-label`,`aria-expanded`,`aria-describedby`,`disabled`],f={key:0,class:`nb-info-hint--title`},p={class:`nb-info-hint--body`},m=(0,c.defineComponent)({__name:`InfoHint`,props:{text:{default:void 0},title:{default:void 0},term:{default:void 0},placement:{default:`top`},size:{default:16},icon:{default:void 0},label:{default:void 0},openDelay:{default:120},closeDelay:{default:140},teleportTo:{default:`body`},disabled:{type:Boolean,default:!1}},emits:[`open`,`close`,`activate`],setup(e,{expose:t,emit:m}){let h=e,g=s.useNbStrings(),_=(0,c.computed)(()=>h.icon??l),v=m,y=`${r.useStableId({})}-popover`,{layerProps:b}=i.useSurfaceLayer({overlay:!0}),x=(0,c.ref)(null),S=(0,c.ref)(null),C=(0,c.ref)(!1),w=(0,c.ref)(!1),T=(0,c.ref)(h.placement),E=(0,c.ref)({top:0,left:0,arrowOffset:50}),D,O,k=(0,c.computed)(()=>({top:`${E.value.top}px`,left:`${E.value.left}px`,"--nb-info-hint-arrow-offset":`${E.value.arrowOffset}%`}));function A(){clearTimeout(D),clearTimeout(O),D=void 0,O=void 0}function j(){let e=x.value,t=S.value;if(!e||!t)return;let n=o.placeAnchored(e.getBoundingClientRect(),{width:t.offsetWidth,height:t.offsetHeight},{side:h.placement,viewport:o.viewportSize()});T.value=n.side,E.value={top:n.top,left:n.left,arrowOffset:n.arrowOffset}}function M(){h.disabled||C.value||(A(),C.value=!0,v(`open`),(0,c.nextTick)(()=>{j(),requestAnimationFrame(j)}))}function N(){C.value&&(A(),C.value=!1,w.value=!1,v(`close`))}function P(){h.disabled||(clearTimeout(O),O=void 0,!C.value&&(D=setTimeout(M,h.openDelay)))}function F(){clearTimeout(D),D=void 0,!w.value&&(O=setTimeout(N,h.closeDelay))}function I(){if(!h.disabled){if(w.value){N();return}w.value=!0,M(),v(`activate`,h.term)}}function L(e){if(e.key===`Escape`){C.value&&(e.preventDefault(),N());return}}function R(){h.disabled||(clearTimeout(O),O=void 0,M())}function z(e){if(w.value)return;let t=e.relatedTarget;t&&S.value?.contains(t)||N()}function B(e){let t=e.target;t&&(x.value?.contains(t)||S.value?.contains(t)||N())}function V(e){e.key===`Escape`&&N()}let{phone:H}=a.usePhoneLayout();function U(e){if(H.value&&W(e.target)){N();return}j()}function W(e){return e===document||e===window?!0:!(e instanceof Node)||S.value?.contains(e)?!1:!!x.value&&e.contains(x.value)}return(0,c.watch)(C,e=>{typeof document>`u`||(e?(document.addEventListener(`pointerdown`,B,!0),document.addEventListener(`keydown`,V),window.addEventListener(`resize`,j),window.addEventListener(`scroll`,U,!0)):(document.removeEventListener(`pointerdown`,B,!0),document.removeEventListener(`keydown`,V),window.removeEventListener(`resize`,j),window.removeEventListener(`scroll`,U,!0)))}),(0,c.watch)(()=>h.disabled,e=>{e&&N()}),(0,c.onBeforeUnmount)(()=>{A(),!(typeof document>`u`)&&(document.removeEventListener(`pointerdown`,B,!0),document.removeEventListener(`keydown`,V),window.removeEventListener(`resize`,j),window.removeEventListener(`scroll`,U,!0))}),t({open:M,close:N,isOpen:C}),(t,r)=>((0,c.openBlock)(),(0,c.createElementBlock)(`span`,{class:`nb-info-hint`,"data-term":e.term||void 0},[(0,c.createElementVNode)(`button`,{ref_key:`triggerRef`,ref:x,type:`button`,class:(0,c.normalizeClass)([`nb-info-hint--trigger`,{"nb-info-hint--trigger-open":C.value}]),"aria-label":e.label??(0,c.unref)(g).infoHintLabel,"aria-expanded":C.value,"aria-describedby":C.value?y:void 0,disabled:e.disabled,onClick:(0,c.withModifiers)(I,[`stop`]),onMousedown:r[0]||=(0,c.withModifiers)(()=>{},[`stop`]),onPointerdown:r[1]||=(0,c.withModifiers)(()=>{},[`stop`]),onKeydown:(0,c.withModifiers)(L,[`stop`]),onMouseenter:P,onMouseleave:F,onFocus:R,onBlur:z},[(0,c.createVNode)(n.t,{name:_.value,size:e.size,weight:`regular`},null,8,[`name`,`size`])],42,d),((0,c.openBlock)(),(0,c.createBlock)(c.Teleport,{to:e.teleportTo},[C.value?((0,c.openBlock)(),(0,c.createElementBlock)(`div`,(0,c.mergeProps)({key:0,id:y,ref_key:`popoverRef`,ref:S,class:[`nb-info-hint--popover`,`nb-info-hint--popover-${T.value}`]},(0,c.unref)(b),{role:`tooltip`,style:k.value,onClick:r[2]||=(0,c.withModifiers)(()=>{},[`stop`]),onMousedown:r[3]||=(0,c.withModifiers)(()=>{},[`stop`]),onPointerdown:r[4]||=(0,c.withModifiers)(()=>{},[`stop`]),onMouseenter:P,onMouseleave:F}),[e.title?((0,c.openBlock)(),(0,c.createElementBlock)(`p`,f,(0,c.toDisplayString)(e.title),1)):(0,c.createCommentVNode)(``,!0),(0,c.createElementVNode)(`div`,p,[(0,c.renderSlot)(t.$slots,`default`,{},()=>[(0,c.createTextVNode)((0,c.toDisplayString)(e.text),1)],!0)])],16)):(0,c.createCommentVNode)(``,!0)],8,[`to`]))],8,u))}}),h=t.t(m,[[`__scopeId`,`data-v-e48bdebd`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
+
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
|
+
import { useStableId as n } from "./composables/useStableId.composable.mjs";
|
|
4
|
+
import { useSurfaceLayer as r } from "./composables/useSurfaceLayer.composable.mjs";
|
|
5
|
+
import { usePhoneLayout as i } from "./composables/usePhoneLayout.composable.mjs";
|
|
6
|
+
import { placeAnchored as a, viewportSize as o } from "./utils/anchorPosition.helper.mjs";
|
|
7
|
+
import { useNbStrings as s } from "./composables/useNbStrings.composable.mjs";
|
|
8
|
+
import { Teleport as ee, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as te, defineComponent as m, mergeProps as ne, nextTick as h, normalizeClass as g, onBeforeUnmount as _, openBlock as v, ref as y, renderSlot as b, toDisplayString as x, unref as S, watch as C, withModifiers as w } from "vue";
|
|
9
|
+
import * as T from "@nubisco/ui/icons/info";
|
|
10
|
+
//#region src/components/InfoHint.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
+
var E = ["data-term"], D = [
|
|
12
|
+
"aria-label",
|
|
13
|
+
"aria-expanded",
|
|
14
|
+
"aria-describedby",
|
|
15
|
+
"disabled"
|
|
16
|
+
], O = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "nb-info-hint--title"
|
|
19
|
+
}, k = { class: "nb-info-hint--body" }, A = /* @__PURE__ */ e(/* @__PURE__ */ m({
|
|
20
|
+
__name: "InfoHint",
|
|
21
|
+
props: {
|
|
22
|
+
text: { default: void 0 },
|
|
23
|
+
title: { default: void 0 },
|
|
24
|
+
term: { default: void 0 },
|
|
25
|
+
placement: { default: "top" },
|
|
26
|
+
size: { default: 16 },
|
|
27
|
+
icon: { default: void 0 },
|
|
28
|
+
label: { default: void 0 },
|
|
29
|
+
openDelay: { default: 120 },
|
|
30
|
+
closeDelay: { default: 140 },
|
|
31
|
+
teleportTo: { default: "body" },
|
|
32
|
+
disabled: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: !1
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
emits: [
|
|
38
|
+
"open",
|
|
39
|
+
"close",
|
|
40
|
+
"activate"
|
|
41
|
+
],
|
|
42
|
+
setup(e, { expose: m, emit: A }) {
|
|
43
|
+
let j = e, re = s(), M = c(() => j.icon ?? T), N = A, P = `${n({})}-popover`, { layerProps: F } = r({ overlay: !0 }), I = y(null), L = y(null), R = y(!1), z = y(!1), B = y(j.placement), V = y({
|
|
44
|
+
top: 0,
|
|
45
|
+
left: 0,
|
|
46
|
+
arrowOffset: 50
|
|
47
|
+
}), H, U, W = c(() => ({
|
|
48
|
+
top: `${V.value.top}px`,
|
|
49
|
+
left: `${V.value.left}px`,
|
|
50
|
+
"--nb-info-hint-arrow-offset": `${V.value.arrowOffset}%`
|
|
51
|
+
}));
|
|
52
|
+
function G() {
|
|
53
|
+
clearTimeout(H), clearTimeout(U), H = void 0, U = void 0;
|
|
54
|
+
}
|
|
55
|
+
function K() {
|
|
56
|
+
let e = I.value, t = L.value;
|
|
57
|
+
if (!e || !t) return;
|
|
58
|
+
let n = a(e.getBoundingClientRect(), {
|
|
59
|
+
width: t.offsetWidth,
|
|
60
|
+
height: t.offsetHeight
|
|
61
|
+
}, {
|
|
62
|
+
side: j.placement,
|
|
63
|
+
viewport: o()
|
|
64
|
+
});
|
|
65
|
+
B.value = n.side, V.value = {
|
|
66
|
+
top: n.top,
|
|
67
|
+
left: n.left,
|
|
68
|
+
arrowOffset: n.arrowOffset
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
function q() {
|
|
72
|
+
j.disabled || R.value || (G(), R.value = !0, N("open"), h(() => {
|
|
73
|
+
K(), requestAnimationFrame(K);
|
|
74
|
+
}));
|
|
75
|
+
}
|
|
76
|
+
function J() {
|
|
77
|
+
R.value && (G(), R.value = !1, z.value = !1, N("close"));
|
|
78
|
+
}
|
|
79
|
+
function Y() {
|
|
80
|
+
j.disabled || (clearTimeout(U), U = void 0, !R.value && (H = setTimeout(q, j.openDelay)));
|
|
81
|
+
}
|
|
82
|
+
function X() {
|
|
83
|
+
clearTimeout(H), H = void 0, !z.value && (U = setTimeout(J, j.closeDelay));
|
|
84
|
+
}
|
|
85
|
+
function ie() {
|
|
86
|
+
if (!j.disabled) {
|
|
87
|
+
if (z.value) {
|
|
88
|
+
J();
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
z.value = !0, q(), N("activate", j.term);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
function ae(e) {
|
|
95
|
+
if (e.key === "Escape") {
|
|
96
|
+
R.value && (e.preventDefault(), J());
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
function oe() {
|
|
101
|
+
j.disabled || (clearTimeout(U), U = void 0, q());
|
|
102
|
+
}
|
|
103
|
+
function se(e) {
|
|
104
|
+
if (z.value) return;
|
|
105
|
+
let t = e.relatedTarget;
|
|
106
|
+
t && L.value?.contains(t) || J();
|
|
107
|
+
}
|
|
108
|
+
function Z(e) {
|
|
109
|
+
let t = e.target;
|
|
110
|
+
t && (I.value?.contains(t) || L.value?.contains(t) || J());
|
|
111
|
+
}
|
|
112
|
+
function Q(e) {
|
|
113
|
+
e.key === "Escape" && J();
|
|
114
|
+
}
|
|
115
|
+
let { phone: ce } = i();
|
|
116
|
+
function $(e) {
|
|
117
|
+
if (ce.value && le(e.target)) {
|
|
118
|
+
J();
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
K();
|
|
122
|
+
}
|
|
123
|
+
function le(e) {
|
|
124
|
+
return e === document || e === window ? !0 : !(e instanceof Node) || L.value?.contains(e) ? !1 : !!I.value && e.contains(I.value);
|
|
125
|
+
}
|
|
126
|
+
return C(R, (e) => {
|
|
127
|
+
typeof document > "u" || (e ? (document.addEventListener("pointerdown", Z, !0), document.addEventListener("keydown", Q), window.addEventListener("resize", K), window.addEventListener("scroll", $, !0)) : (document.removeEventListener("pointerdown", Z, !0), document.removeEventListener("keydown", Q), window.removeEventListener("resize", K), window.removeEventListener("scroll", $, !0)));
|
|
128
|
+
}), C(() => j.disabled, (e) => {
|
|
129
|
+
e && J();
|
|
130
|
+
}), _(() => {
|
|
131
|
+
G(), !(typeof document > "u") && (document.removeEventListener("pointerdown", Z, !0), document.removeEventListener("keydown", Q), window.removeEventListener("resize", K), window.removeEventListener("scroll", $, !0));
|
|
132
|
+
}), m({
|
|
133
|
+
open: q,
|
|
134
|
+
close: J,
|
|
135
|
+
isOpen: R
|
|
136
|
+
}), (n, r) => (v(), d("span", {
|
|
137
|
+
class: "nb-info-hint",
|
|
138
|
+
"data-term": e.term || void 0
|
|
139
|
+
}, [f("button", {
|
|
140
|
+
ref_key: "triggerRef",
|
|
141
|
+
ref: I,
|
|
142
|
+
type: "button",
|
|
143
|
+
class: g(["nb-info-hint--trigger", { "nb-info-hint--trigger-open": R.value }]),
|
|
144
|
+
"aria-label": e.label ?? S(re).infoHintLabel,
|
|
145
|
+
"aria-expanded": R.value,
|
|
146
|
+
"aria-describedby": R.value ? P : void 0,
|
|
147
|
+
disabled: e.disabled,
|
|
148
|
+
onClick: w(ie, ["stop"]),
|
|
149
|
+
onMousedown: r[0] ||= w(() => {}, ["stop"]),
|
|
150
|
+
onPointerdown: r[1] ||= w(() => {}, ["stop"]),
|
|
151
|
+
onKeydown: w(ae, ["stop"]),
|
|
152
|
+
onMouseenter: Y,
|
|
153
|
+
onMouseleave: X,
|
|
154
|
+
onFocus: oe,
|
|
155
|
+
onBlur: se
|
|
156
|
+
}, [te(t, {
|
|
157
|
+
name: M.value,
|
|
158
|
+
size: e.size,
|
|
159
|
+
weight: "regular"
|
|
160
|
+
}, null, 8, ["name", "size"])], 42, D), (v(), l(ee, { to: e.teleportTo }, [R.value ? (v(), d("div", ne({
|
|
161
|
+
key: 0,
|
|
162
|
+
id: P,
|
|
163
|
+
ref_key: "popoverRef",
|
|
164
|
+
ref: L,
|
|
165
|
+
class: ["nb-info-hint--popover", `nb-info-hint--popover-${B.value}`]
|
|
166
|
+
}, S(F), {
|
|
167
|
+
role: "tooltip",
|
|
168
|
+
style: W.value,
|
|
169
|
+
onClick: r[2] ||= w(() => {}, ["stop"]),
|
|
170
|
+
onMousedown: r[3] ||= w(() => {}, ["stop"]),
|
|
171
|
+
onPointerdown: r[4] ||= w(() => {}, ["stop"]),
|
|
172
|
+
onMouseenter: Y,
|
|
173
|
+
onMouseleave: X
|
|
174
|
+
}), [e.title ? (v(), d("p", O, x(e.title), 1)) : u("", !0), f("div", k, [b(n.$slots, "default", {}, () => [p(x(e.text), 1)], !0)])], 16)) : u("", !0)], 8, ["to"]))], 8, E));
|
|
175
|
+
}
|
|
176
|
+
}), [["__scopeId", "data-v-e48bdebd"]]);
|
|
177
|
+
//#endregion
|
|
178
|
+
export { A as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./Icon-CssV4E2-.cjs`),n=require(`./composables/useNbStrings.composable.cjs`);let r=require(`vue`),i=require(`@nubisco/ui/icons/pencil-simple`);var a=[`id`,`value`,`aria-label`,`placeholder`,`onKeydown`],o=[`id`,`value`,`aria-label`,`placeholder`,`onKeydown`],s=[`id`,`aria-label`,`disabled`],c=(0,r.defineComponent)({__name:`InlineEdit`,props:{modelValue:{},label:{},placeholder:{default:void 0},size:{default:`md`},disabled:{type:Boolean,default:!1},multiline:{type:Boolean,default:!1},id:{}},emits:[`update:modelValue`,`commit`,`cancel`],setup(e,{expose:c,emit:l}){let u=e,d=l,f=n.useNbStrings(),p=(0,r.ref)(!1),m=(0,r.ref)(null),h=``,g=(0,r.computed)(()=>({md:16,lg:16,xl:20})[u.size??`md`]);function _(){u.disabled||(h=u.modelValue,p.value=!0,(0,r.nextTick)(()=>{y(),m.value?.focus(),m.value?.select()}))}function v(e){d(`update:modelValue`,e.target.value)}function y(){let e=m.value;!u.multiline||!(e instanceof HTMLTextAreaElement)||(e.style.height=`auto`,e.style.height=`${e.scrollHeight}px`)}function b(e){d(`update:modelValue`,e.target.value),y()}function x(e){e.shiftKey||e.isComposing||(e.preventDefault(),S())}function S(){p.value&&(p.value=!1,d(`commit`,u.modelValue))}function C(){p.value&&(p.value=!1,d(`update:modelValue`,h),d(`cancel`))}return c({start:_}),(n,c)=>p.value&&e.multiline?((0,r.openBlock)(),(0,r.createElementBlock)(`textarea`,{key:0,id:e.id,ref_key:`input`,ref:m,class:(0,r.normalizeClass)([`nb-inline-edit__input nb-inline-edit__input--multiline`,`nb-inline-edit__input--${e.size}`]),rows:`1`,value:e.modelValue,"aria-label":e.label,placeholder:e.placeholder,onInput:b,onBlur:S,onKeydown:[(0,r.withKeys)(x,[`enter`]),(0,r.withKeys)((0,r.withModifiers)(C,[`prevent`]),[`esc`])]},null,42,a)):p.value?((0,r.openBlock)(),(0,r.createElementBlock)(`input`,{key:1,id:e.id,ref_key:`input`,ref:m,class:(0,r.normalizeClass)([`nb-inline-edit__input`,`nb-inline-edit__input--${e.size}`]),value:e.modelValue,"aria-label":e.label,placeholder:e.placeholder,onInput:v,onBlur:S,onKeydown:[(0,r.withKeys)((0,r.withModifiers)(S,[`prevent`]),[`enter`]),(0,r.withKeys)((0,r.withModifiers)(C,[`prevent`]),[`esc`])]},null,42,o)):((0,r.openBlock)(),(0,r.createElementBlock)(`button`,{key:2,id:e.id,type:`button`,class:(0,r.normalizeClass)([`nb-inline-edit__text`,[`nb-inline-edit__text--${e.size}`,{"is-disabled":e.disabled}]]),"aria-label":(0,r.unref)(f).inlineEditName(e.label,e.modelValue||e.placeholder||(0,r.unref)(f).inlineEditEmpty),disabled:e.disabled,onClick:_},[(0,r.createElementVNode)(`span`,{class:(0,r.normalizeClass)({"nb-inline-edit__placeholder":!e.modelValue})},(0,r.toDisplayString)(e.modelValue||e.placeholder),3),e.disabled?(0,r.createCommentVNode)(``,!0):((0,r.openBlock)(),(0,r.createBlock)(t.t,{key:0,class:`nb-inline-edit__pencil`,name:(0,r.unref)(i.regular),size:g.value},null,8,[`name`,`size`]))],10,s))}}),l=e.t(c,[[`__scopeId`,`data-v-a0e16528`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return l}});
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
+
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
|
+
import { useNbStrings as n } from "./composables/useNbStrings.composable.mjs";
|
|
4
|
+
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, nextTick as l, normalizeClass as u, openBlock as d, ref as f, toDisplayString as p, unref as m, withKeys as h, withModifiers as g } from "vue";
|
|
5
|
+
import { regular as _ } from "@nubisco/ui/icons/pencil-simple";
|
|
6
|
+
//#region src/components/InlineEdit.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var v = [
|
|
8
|
+
"id",
|
|
9
|
+
"value",
|
|
10
|
+
"aria-label",
|
|
11
|
+
"placeholder",
|
|
12
|
+
"onKeydown"
|
|
13
|
+
], y = [
|
|
14
|
+
"id",
|
|
15
|
+
"value",
|
|
16
|
+
"aria-label",
|
|
17
|
+
"placeholder",
|
|
18
|
+
"onKeydown"
|
|
19
|
+
], b = [
|
|
20
|
+
"id",
|
|
21
|
+
"aria-label",
|
|
22
|
+
"disabled"
|
|
23
|
+
], x = /* @__PURE__ */ e(/* @__PURE__ */ c({
|
|
24
|
+
__name: "InlineEdit",
|
|
25
|
+
props: {
|
|
26
|
+
modelValue: {},
|
|
27
|
+
label: {},
|
|
28
|
+
placeholder: { default: void 0 },
|
|
29
|
+
size: { default: "md" },
|
|
30
|
+
disabled: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: !1
|
|
33
|
+
},
|
|
34
|
+
multiline: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: !1
|
|
37
|
+
},
|
|
38
|
+
id: {}
|
|
39
|
+
},
|
|
40
|
+
emits: [
|
|
41
|
+
"update:modelValue",
|
|
42
|
+
"commit",
|
|
43
|
+
"cancel"
|
|
44
|
+
],
|
|
45
|
+
setup(e, { expose: c, emit: x }) {
|
|
46
|
+
let S = e, C = x, w = n(), T = f(!1), E = f(null), D = "", O = r(() => ({
|
|
47
|
+
md: 16,
|
|
48
|
+
lg: 16,
|
|
49
|
+
xl: 20
|
|
50
|
+
})[S.size ?? "md"]);
|
|
51
|
+
function k() {
|
|
52
|
+
S.disabled || (D = S.modelValue, T.value = !0, l(() => {
|
|
53
|
+
j(), E.value?.focus(), E.value?.select();
|
|
54
|
+
}));
|
|
55
|
+
}
|
|
56
|
+
function A(e) {
|
|
57
|
+
C("update:modelValue", e.target.value);
|
|
58
|
+
}
|
|
59
|
+
function j() {
|
|
60
|
+
let e = E.value;
|
|
61
|
+
!S.multiline || !(e instanceof HTMLTextAreaElement) || (e.style.height = "auto", e.style.height = `${e.scrollHeight}px`);
|
|
62
|
+
}
|
|
63
|
+
function M(e) {
|
|
64
|
+
C("update:modelValue", e.target.value), j();
|
|
65
|
+
}
|
|
66
|
+
function N(e) {
|
|
67
|
+
e.shiftKey || e.isComposing || (e.preventDefault(), P());
|
|
68
|
+
}
|
|
69
|
+
function P() {
|
|
70
|
+
T.value && (T.value = !1, C("commit", S.modelValue));
|
|
71
|
+
}
|
|
72
|
+
function F() {
|
|
73
|
+
T.value && (T.value = !1, C("update:modelValue", D), C("cancel"));
|
|
74
|
+
}
|
|
75
|
+
return c({ start: k }), (n, r) => T.value && e.multiline ? (d(), o("textarea", {
|
|
76
|
+
key: 0,
|
|
77
|
+
id: e.id,
|
|
78
|
+
ref_key: "input",
|
|
79
|
+
ref: E,
|
|
80
|
+
class: u(["nb-inline-edit__input nb-inline-edit__input--multiline", `nb-inline-edit__input--${e.size}`]),
|
|
81
|
+
rows: "1",
|
|
82
|
+
value: e.modelValue,
|
|
83
|
+
"aria-label": e.label,
|
|
84
|
+
placeholder: e.placeholder,
|
|
85
|
+
onInput: M,
|
|
86
|
+
onBlur: P,
|
|
87
|
+
onKeydown: [h(N, ["enter"]), h(g(F, ["prevent"]), ["esc"])]
|
|
88
|
+
}, null, 42, v)) : T.value ? (d(), o("input", {
|
|
89
|
+
key: 1,
|
|
90
|
+
id: e.id,
|
|
91
|
+
ref_key: "input",
|
|
92
|
+
ref: E,
|
|
93
|
+
class: u(["nb-inline-edit__input", `nb-inline-edit__input--${e.size}`]),
|
|
94
|
+
value: e.modelValue,
|
|
95
|
+
"aria-label": e.label,
|
|
96
|
+
placeholder: e.placeholder,
|
|
97
|
+
onInput: A,
|
|
98
|
+
onBlur: P,
|
|
99
|
+
onKeydown: [h(g(P, ["prevent"]), ["enter"]), h(g(F, ["prevent"]), ["esc"])]
|
|
100
|
+
}, null, 42, y)) : (d(), o("button", {
|
|
101
|
+
key: 2,
|
|
102
|
+
id: e.id,
|
|
103
|
+
type: "button",
|
|
104
|
+
class: u(["nb-inline-edit__text", [`nb-inline-edit__text--${e.size}`, { "is-disabled": e.disabled }]]),
|
|
105
|
+
"aria-label": m(w).inlineEditName(e.label, e.modelValue || e.placeholder || m(w).inlineEditEmpty),
|
|
106
|
+
disabled: e.disabled,
|
|
107
|
+
onClick: k
|
|
108
|
+
}, [s("span", { class: u({ "nb-inline-edit__placeholder": !e.modelValue }) }, p(e.modelValue || e.placeholder), 3), e.disabled ? a("", !0) : (d(), i(t, {
|
|
109
|
+
key: 0,
|
|
110
|
+
class: "nb-inline-edit__pencil",
|
|
111
|
+
name: m(_),
|
|
112
|
+
size: O.value
|
|
113
|
+
}, null, 8, ["name", "size"]))], 10, b));
|
|
114
|
+
}
|
|
115
|
+
}), [["__scopeId", "data-v-a0e16528"]]);
|
|
116
|
+
//#endregion
|
|
117
|
+
export { x as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
2
|
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
3
|
import { useStableId as n } from "./composables/useStableId.composable.mjs";
|
|
4
|
-
import { t as r } from "./Spinner-
|
|
4
|
+
import { t as r } from "./Spinner-C3MeCm2k.js";
|
|
5
5
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, onBeforeUnmount as p, openBlock as m, renderSlot as h, toDisplayString as g, unref as _, watch as v } from "vue";
|
|
6
6
|
import * as y from "@nubisco/ui/icons/warning-circle";
|
|
7
7
|
import * as b from "@nubisco/ui/icons/check-circle";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./composables/useStableId.composable.cjs`),i=require(`./Spinner-
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./composables/useStableId.composable.cjs`),i=require(`./Spinner-BTN06wsE.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/warning-circle`);o=e.n(o);let s=require(`@nubisco/ui/icons/check-circle`);s=e.n(s);var c=function(e){return e.Inactive=`inactive`,e.Active=`active`,e.Finished=`finished`,e.Error=`error`,e}(c||{}),l=[`id`,`aria-live`],u={class:`nb-inline-loading__text`},d=(0,a.defineComponent)({__name:`InlineLoading`,props:{status:{default:c.Inactive},label:{default:`Saving`},finishedLabel:{default:`Saved`},errorLabel:{default:`Could not save`},dwell:{default:1600},reserveSpace:{type:Boolean,default:!0},id:{default:void 0}},emits:[`success`],setup(e,{emit:t}){let d=e,f=t,p=r.useStableId(d),m;function h(){m&&=(clearTimeout(m),void 0)}(0,a.watch)(()=>d.status,e=>{h(),e===c.Finished&&(m=setTimeout(()=>{m=void 0,f(`success`)},d.dwell))},{immediate:!0}),(0,a.onBeforeUnmount)(h);let g=(0,a.computed)(()=>{switch(d.status){case c.Active:return d.label;case c.Finished:return d.finishedLabel;case c.Error:return d.errorLabel;default:return``}}),_=(0,a.computed)(()=>d.status===c.Finished?s:d.status===c.Error?o:null),v=(0,a.computed)(()=>d.status===c.Inactive?`off`:d.status===c.Error?`assertive`:`polite`),y=(0,a.computed)(()=>[`nb-inline-loading`,`nb-inline-loading--${d.status}`]),b=(0,a.computed)(()=>{if(!d.reserveSpace)return;let e=Math.max(d.label.length,d.finishedLabel.length,d.errorLabel.length);return{"--nb-inline-loading-reserve":`${e+1}ch`}});return(t,r)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{id:(0,a.unref)(p),class:(0,a.normalizeClass)(y.value),style:(0,a.normalizeStyle)(b.value),role:`status`,"aria-live":v.value},[e.status===`active`?((0,a.openBlock)(),(0,a.createBlock)(i.t,{key:0,class:`nb-inline-loading__spinner`,size:`sm`,tone:`inherit`,decorative:``})):_.value?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:1,class:`nb-inline-loading__icon`,name:_.value,size:16,"aria-hidden":`true`},null,8,[`name`])):(0,a.createCommentVNode)(``,!0),(0,a.createElementVNode)(`span`,u,[(0,a.renderSlot)(t.$slots,`default`,{status:e.status,text:g.value},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(g.value),1)],!0)])],14,l))}}),f=t.t(d,[[`__scopeId`,`data-v-6f38f00f`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return f}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./composables/useStableId.composable.cjs`),n=require(`./Label-CjxnZgNy.cjs`),r=require(`./Message-BJO4MjiQ.cjs`),i=require(`./composables/useFieldMessage.composable.cjs`),a=require(`./InputGroup.context-BTt6zUkj.cjs`);let o=require(`vue`);var s=[`aria-labelledby`],c=(0,o.defineComponent)({__name:`InputGroup`,props:{label:{default:``},helper:{default:``},error:{default:``},warning:{default:``},size:{default:`md`},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},id:{default:void 0}},setup(e){let c=e,l=t.useStableId({}),u=(0,o.computed)(()=>c.id??l),d=(0,o.computed)(()=>`${u.value}-label`),{variant:f,text:p,messageId:m,live:h,key:g}=i.useFieldMessage(c,u),_=(0,o.computed)(()=>f.value??`helper`),v=!1;return(0,o.provide)(a.t,{size:(0,o.computed)(()=>c.size),disabled:(0,o.computed)(()=>c.disabled),status:(0,o.computed)(()=>{if(c.error)return`error`;if(c.warning)return`warning`}),describedBy:m,claimControlId:()=>{if(!v)return v=!0,u.value}}),(t,i)=>((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{class:(0,o.normalizeClass)([`nb-input-group`,`nb-input-group--${e.size}`,{"nb-input-group--disabled":e.disabled}])},[e.label?((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:0,id:d.value,for:u.value,required:e.required,disabled:e.disabled},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.label),1)]),_:1},8,[`id`,`for`,`required`,`disabled`])):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`div`,{class:`nb-input-group__row`,role:`group`,"aria-labelledby":e.label?d.value:void 0},[(0,o.renderSlot)(t.$slots,`default`,{size:e.size,disabled:e.disabled},void 0,!0)],8,s),(0,o.unref)(p)?((0,o.openBlock)(),(0,o.createBlock)(r.t,{id:(0,o.unref)(m),key:(0,o.unref)(g),variant:_.value,live:(0,o.unref)(h),class:`nb-input-group__message`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)((0,o.unref)(p)),1)]),_:1},8,[`id`,`variant`,`live`])):(0,o.createCommentVNode)(``,!0)],2))}}),l=e.t(c,[[`__scopeId`,`data-v-ab65cfc9`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return l}});
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
+
import { useStableId as t } from "./composables/useStableId.composable.mjs";
|
|
3
|
+
import { t as n } from "./Label-xwHw_UbN.js";
|
|
4
|
+
import { t as r } from "./Message-DCeg8qsC.js";
|
|
5
|
+
import { useFieldMessage as i } from "./composables/useFieldMessage.composable.mjs";
|
|
6
|
+
import { t as a } from "./InputGroup.context-CJAWx5GI.js";
|
|
7
|
+
import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, defineComponent as f, normalizeClass as p, openBlock as m, provide as h, renderSlot as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
|
|
8
|
+
//#region src/components/InputGroup.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
+
var b = ["aria-labelledby"], x = /* @__PURE__ */ e(/* @__PURE__ */ f({
|
|
10
|
+
__name: "InputGroup",
|
|
11
|
+
props: {
|
|
12
|
+
label: { default: "" },
|
|
13
|
+
helper: { default: "" },
|
|
14
|
+
error: { default: "" },
|
|
15
|
+
warning: { default: "" },
|
|
16
|
+
size: { default: "md" },
|
|
17
|
+
disabled: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !1
|
|
20
|
+
},
|
|
21
|
+
required: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1
|
|
24
|
+
},
|
|
25
|
+
id: { default: void 0 }
|
|
26
|
+
},
|
|
27
|
+
setup(e) {
|
|
28
|
+
let f = e, x = t({}), S = o(() => f.id ?? x), C = o(() => `${S.value}-label`), { variant: w, text: T, messageId: E, live: D, key: O } = i(f, S), k = o(() => w.value ?? "helper"), A = !1;
|
|
29
|
+
return h(a, {
|
|
30
|
+
size: o(() => f.size),
|
|
31
|
+
disabled: o(() => f.disabled),
|
|
32
|
+
status: o(() => {
|
|
33
|
+
if (f.error) return "error";
|
|
34
|
+
if (f.warning) return "warning";
|
|
35
|
+
}),
|
|
36
|
+
describedBy: E,
|
|
37
|
+
claimControlId: () => {
|
|
38
|
+
if (!A) return A = !0, S.value;
|
|
39
|
+
}
|
|
40
|
+
}), (t, i) => (m(), l("div", { class: p([
|
|
41
|
+
"nb-input-group",
|
|
42
|
+
`nb-input-group--${e.size}`,
|
|
43
|
+
{ "nb-input-group--disabled": e.disabled }
|
|
44
|
+
]) }, [
|
|
45
|
+
e.label ? (m(), s(n, {
|
|
46
|
+
key: 0,
|
|
47
|
+
id: C.value,
|
|
48
|
+
for: S.value,
|
|
49
|
+
required: e.required,
|
|
50
|
+
disabled: e.disabled
|
|
51
|
+
}, {
|
|
52
|
+
default: y(() => [d(_(e.label), 1)]),
|
|
53
|
+
_: 1
|
|
54
|
+
}, 8, [
|
|
55
|
+
"id",
|
|
56
|
+
"for",
|
|
57
|
+
"required",
|
|
58
|
+
"disabled"
|
|
59
|
+
])) : c("", !0),
|
|
60
|
+
u("div", {
|
|
61
|
+
class: "nb-input-group__row",
|
|
62
|
+
role: "group",
|
|
63
|
+
"aria-labelledby": e.label ? C.value : void 0
|
|
64
|
+
}, [g(t.$slots, "default", {
|
|
65
|
+
size: e.size,
|
|
66
|
+
disabled: e.disabled
|
|
67
|
+
}, void 0, !0)], 8, b),
|
|
68
|
+
v(T) ? (m(), s(r, {
|
|
69
|
+
id: v(E),
|
|
70
|
+
key: v(O),
|
|
71
|
+
variant: k.value,
|
|
72
|
+
live: v(D),
|
|
73
|
+
class: "nb-input-group__message"
|
|
74
|
+
}, {
|
|
75
|
+
default: y(() => [d(_(v(T)), 1)]),
|
|
76
|
+
_: 1
|
|
77
|
+
}, 8, [
|
|
78
|
+
"id",
|
|
79
|
+
"variant",
|
|
80
|
+
"live"
|
|
81
|
+
])) : c("", !0)
|
|
82
|
+
], 2));
|
|
83
|
+
}
|
|
84
|
+
}), [["__scopeId", "data-v-ab65cfc9"]]);
|
|
85
|
+
//#endregion
|
|
86
|
+
export { x as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);let e=require(`vue`);var t=Symbol.for(`@nubisco/ui:input-group-context`);function n(n,r){let i=(0,e.inject)(t,null),a=i?.claimControlId(),o=(0,e.computed)(()=>n.id??a??r),s=(0,e.computed)(()=>i?.size.value??n.size??`md`),c=(0,e.computed)(()=>!!n.disabled||!!i?.disabled.value),l=(0,e.computed)(()=>i?.status.value),u=(0,e.computed)(()=>i?.describedBy.value);return{grouped:!!i,id:o,size:s,disabled:c,status:l,describedBy:u}}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return t}});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { computed as e, inject as t } from "vue";
|
|
2
|
+
//#region src/components/InputGroup.context.ts
|
|
3
|
+
var n = Symbol.for("@nubisco/ui:input-group-context");
|
|
4
|
+
function r(r, i) {
|
|
5
|
+
let a = t(n, null), o = a?.claimControlId(), s = e(() => r.id ?? o ?? i), c = e(() => a?.size.value ?? r.size ?? "md"), l = e(() => !!r.disabled || !!a?.disabled.value), u = e(() => a?.status.value), d = e(() => a?.describedBy.value);
|
|
6
|
+
return {
|
|
7
|
+
grouped: !!a,
|
|
8
|
+
id: s,
|
|
9
|
+
size: c,
|
|
10
|
+
disabled: l,
|
|
11
|
+
status: u,
|
|
12
|
+
describedBy: d
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { r as n, n as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
2
|
import { useNbStrings as t } from "./composables/useNbStrings.composable.mjs";
|
|
3
|
-
import { i as n, l as r, u as i } from "./palette-
|
|
4
|
-
import { i as a, r as o } from "./scales-
|
|
5
|
-
import { t as s } from "./useChartSize-
|
|
3
|
+
import { i as n, l as r, u as i } from "./palette-6bEW4KUN.js";
|
|
4
|
+
import { i as a, r as o } from "./scales-BGzTviac.js";
|
|
5
|
+
import { t as s } from "./useChartSize-05CLdiR0.js";
|
|
6
6
|
import { Fragment as c, computed as l, createBlock as ee, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as te, defineComponent as p, normalizeClass as m, onBeforeUnmount as ne, openBlock as h, ref as g, renderList as _, toDisplayString as v, unref as y, withCtx as b, withModifiers as x } from "vue";
|
|
7
7
|
//#region src/components/Charts/InterpolationChart.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var re = [
|