@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,744 @@
|
|
|
1
|
+
import { c as e, l as t, r as n } from "./Button-tpOmP8iV.js";
|
|
2
|
+
import { TOUR_STEP_ATTRIBUTE as r } from "./utils/tourTarget.helper.mjs";
|
|
3
|
+
import { NB_COMMAND_PALETTE_KEY as i, createCommandPaletteState as a } from "./composables/useCommandPalette.composable.mjs";
|
|
4
|
+
import { t as o } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
5
|
+
import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, defineComponent as f, nextTick as p, normalizeClass as m, normalizeStyle as h, onMounted as ee, openBlock as g, ref as _, renderList as v, renderSlot as te, toDisplayString as y, useTemplateRef as b, vModelText as ne, withDirectives as re, withModifiers as x } from "vue";
|
|
6
|
+
//#region src/directives/ContextMenu.directive.ts
|
|
7
|
+
var S = /* @__PURE__ */ t({ default: () => C });
|
|
8
|
+
function C(e) {
|
|
9
|
+
e.directive("nb-context-menu", {
|
|
10
|
+
mounted(e, t) {
|
|
11
|
+
let n = (e) => {
|
|
12
|
+
e.preventDefault(), typeof t.value == "function" && t.value({
|
|
13
|
+
x: e.clientX,
|
|
14
|
+
y: e.clientY
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
e.__nbContextMenuHandler__ = n, e.addEventListener("contextmenu", n);
|
|
18
|
+
},
|
|
19
|
+
updated(e, t) {
|
|
20
|
+
e.__nbContextMenuHandler__ && e.removeEventListener("contextmenu", e.__nbContextMenuHandler__);
|
|
21
|
+
let n = (e) => {
|
|
22
|
+
e.preventDefault(), typeof t.value == "function" && t.value({
|
|
23
|
+
x: e.clientX,
|
|
24
|
+
y: e.clientY
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
e.__nbContextMenuHandler__ = n, e.addEventListener("contextmenu", n);
|
|
28
|
+
},
|
|
29
|
+
unmounted(e) {
|
|
30
|
+
e.__nbContextMenuHandler__ && (e.removeEventListener("contextmenu", e.__nbContextMenuHandler__), delete e.__nbContextMenuHandler__);
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
//#region src/directives/TourStep.directive.ts
|
|
36
|
+
var w = /* @__PURE__ */ t({ default: () => E });
|
|
37
|
+
function T(e, t) {
|
|
38
|
+
let n = t.value;
|
|
39
|
+
if (n == null || n === "") {
|
|
40
|
+
e.removeAttribute(r);
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
e.setAttribute(r, String(n));
|
|
44
|
+
}
|
|
45
|
+
var E = (e) => {
|
|
46
|
+
e.directive("nb-tour-step", {
|
|
47
|
+
mounted: T,
|
|
48
|
+
updated: T,
|
|
49
|
+
unmounted(e) {
|
|
50
|
+
e.removeAttribute(r);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}, D = /* @__PURE__ */ Object.assign({
|
|
54
|
+
"./ContextMenu.directive.ts": S,
|
|
55
|
+
"./ToolTip.content.ts": e,
|
|
56
|
+
"./ToolTip.directive.ts": n,
|
|
57
|
+
"./TourStep.directive.ts": w
|
|
58
|
+
}), O = { install(e) {
|
|
59
|
+
Object.values(D).forEach((t) => {
|
|
60
|
+
typeof t.default == "function" && t.default(e);
|
|
61
|
+
});
|
|
62
|
+
} }, k = { install(e) {
|
|
63
|
+
let t = a();
|
|
64
|
+
e.provide(i, t);
|
|
65
|
+
} }, A = /* @__PURE__ */ function(e) {
|
|
66
|
+
return e.Object = "object", e.Array = "array", e.Primitive = "primitive", e;
|
|
67
|
+
}(A || {}), ie = {
|
|
68
|
+
key: 0,
|
|
69
|
+
class: "nb-spreadsheet__toolbar"
|
|
70
|
+
}, ae = {
|
|
71
|
+
key: 0,
|
|
72
|
+
class: "nb-spreadsheet__corner",
|
|
73
|
+
style: {
|
|
74
|
+
gridRow: 1,
|
|
75
|
+
gridColumn: 1
|
|
76
|
+
}
|
|
77
|
+
}, oe = ["onClick"], se = { class: "nb-spreadsheet__header-label" }, ce = {
|
|
78
|
+
key: 0,
|
|
79
|
+
class: "nb-spreadsheet__sort",
|
|
80
|
+
"aria-hidden": "true"
|
|
81
|
+
}, le = ["onMousedown"], ue = [
|
|
82
|
+
"title",
|
|
83
|
+
"data-cell",
|
|
84
|
+
"data-row",
|
|
85
|
+
"data-col",
|
|
86
|
+
"onMousedown",
|
|
87
|
+
"onMouseenter",
|
|
88
|
+
"onDblclick"
|
|
89
|
+
], de = ["inputmode"], fe = 36, j = 32, M = /* @__PURE__ */ f({
|
|
90
|
+
__name: "Spreadsheet",
|
|
91
|
+
props: {
|
|
92
|
+
columns: {},
|
|
93
|
+
rows: {},
|
|
94
|
+
cellAttrs: {},
|
|
95
|
+
computed: {},
|
|
96
|
+
resizable: {
|
|
97
|
+
type: Boolean,
|
|
98
|
+
default: !0
|
|
99
|
+
},
|
|
100
|
+
rowReorderable: {
|
|
101
|
+
type: Boolean,
|
|
102
|
+
default: !1
|
|
103
|
+
},
|
|
104
|
+
showGutter: {
|
|
105
|
+
type: Boolean,
|
|
106
|
+
default: !0
|
|
107
|
+
},
|
|
108
|
+
gutterWidth: { default: 44 },
|
|
109
|
+
windowRows: { default: 80 },
|
|
110
|
+
locale: { default: "pt-PT" }
|
|
111
|
+
},
|
|
112
|
+
emits: [
|
|
113
|
+
"commit",
|
|
114
|
+
"change",
|
|
115
|
+
"selection",
|
|
116
|
+
"focus",
|
|
117
|
+
"row-reorder"
|
|
118
|
+
],
|
|
119
|
+
setup(e, { expose: t, emit: n }) {
|
|
120
|
+
let r = e, i = n, a = b("scrollerRef"), o = b("editorRef"), f = _({}), S = _(null), C = _(null), w = _(null), T = _(!1), E = _(null), D = _(0), O = _(0), k = "", A = _([]), M = _([]), N = c(() => {
|
|
121
|
+
let e = r.columns.filter((e) => e.pinned === "left"), t = r.columns.filter((e) => e.pinned === "right"), n = r.columns.filter((e) => !e.pinned);
|
|
122
|
+
return [
|
|
123
|
+
...e,
|
|
124
|
+
...n,
|
|
125
|
+
...t
|
|
126
|
+
];
|
|
127
|
+
});
|
|
128
|
+
function P(e) {
|
|
129
|
+
return f.value[e.id] ?? e.width ?? 120;
|
|
130
|
+
}
|
|
131
|
+
let F = c(() => ({ gridTemplateColumns: (r.showGutter ? `${r.gutterWidth}px ` : "") + N.value.map((e) => `${P(e)}px`).join(" ") })), I = c(() => {
|
|
132
|
+
let e = r.rows.filter((e) => !e.pinned);
|
|
133
|
+
if (!S.value) return e;
|
|
134
|
+
let t = r.columns.find((e) => e.id === S.value.columnId);
|
|
135
|
+
if (!t) return e;
|
|
136
|
+
let n = S.value.direction === "asc" ? 1 : -1, i = (e, t) => e == null && t == null ? 0 : e == null ? -1 : t == null ? 1 : typeof e == "number" && typeof t == "number" ? (e - t) * n : String(e).localeCompare(String(t)) * n;
|
|
137
|
+
return [...e].sort((e, n) => i(e.values[t.id], n.values[t.id]));
|
|
138
|
+
}), L = c(() => r.rows.filter((e) => e.pinned === "top")), R = c(() => r.rows.filter((e) => e.pinned === "bottom")), z = c(() => {
|
|
139
|
+
let e = Math.max(1, Math.ceil((a.value?.clientHeight ?? 600) / j)), t = Math.max(10, Math.floor(r.windowRows / 4)), n = Math.floor(D.value / j) - L.value.length - t, i = Math.max(0, n), o = Math.min(I.value.length, i + e + t * 2), s = L.value.map((e, t) => ({
|
|
140
|
+
...e,
|
|
141
|
+
__virtualIndex: t,
|
|
142
|
+
gutterLabel: ""
|
|
143
|
+
})), c = I.value.slice(i, o).map((e, t) => ({
|
|
144
|
+
...e,
|
|
145
|
+
__virtualIndex: i + t + L.value.length
|
|
146
|
+
})), l = R.value.map((e, t) => ({
|
|
147
|
+
...e,
|
|
148
|
+
__virtualIndex: L.value.length + I.value.length + t,
|
|
149
|
+
gutterLabel: ""
|
|
150
|
+
}));
|
|
151
|
+
return [
|
|
152
|
+
...s,
|
|
153
|
+
...c,
|
|
154
|
+
...l
|
|
155
|
+
];
|
|
156
|
+
});
|
|
157
|
+
function pe(e, t) {
|
|
158
|
+
if (t == null || t === "") return "";
|
|
159
|
+
if (e.type === "number") {
|
|
160
|
+
let e = typeof t == "number" ? t : Number(t);
|
|
161
|
+
return Number.isFinite(e) ? new Intl.NumberFormat(r.locale, { maximumFractionDigits: 4 }).format(e) : String(t);
|
|
162
|
+
}
|
|
163
|
+
if (e.type === "date") {
|
|
164
|
+
let e = t instanceof Date ? t : new Date(t);
|
|
165
|
+
return Number.isNaN(e.getTime()) ? String(t) : new Intl.DateTimeFormat(r.locale).format(e);
|
|
166
|
+
}
|
|
167
|
+
return String(t);
|
|
168
|
+
}
|
|
169
|
+
function B(e, t) {
|
|
170
|
+
if (t === "") return null;
|
|
171
|
+
if (e.type === "number") {
|
|
172
|
+
let e = t.replace(/\s/g, "").replace(",", "."), n = Number(e);
|
|
173
|
+
if (!Number.isFinite(n)) throw Error("Invalid number");
|
|
174
|
+
return n;
|
|
175
|
+
}
|
|
176
|
+
if (e.type === "date") {
|
|
177
|
+
let e = new Date(t);
|
|
178
|
+
if (Number.isNaN(e.getTime())) throw Error("Invalid date");
|
|
179
|
+
return e.toISOString().slice(0, 10);
|
|
180
|
+
}
|
|
181
|
+
return t;
|
|
182
|
+
}
|
|
183
|
+
function V(e, t) {
|
|
184
|
+
let n = r.rows.find((t) => t.id === e);
|
|
185
|
+
if (!n) return;
|
|
186
|
+
let i = n.values[t];
|
|
187
|
+
if (i !== void 0) return i;
|
|
188
|
+
if (r.computed) return r.computed(e, t, V);
|
|
189
|
+
}
|
|
190
|
+
function H(e, t) {
|
|
191
|
+
return r.cellAttrs ? r.cellAttrs(e.id, t.id, e, t) ?? {} : {};
|
|
192
|
+
}
|
|
193
|
+
function me(e, t) {
|
|
194
|
+
let n = H(e, t);
|
|
195
|
+
if (n.display !== void 0) return n.display;
|
|
196
|
+
let r = V(e.id, t.id);
|
|
197
|
+
return t.format ? t.format(r, e) : pe(t, r);
|
|
198
|
+
}
|
|
199
|
+
function he(e, t) {
|
|
200
|
+
let n = H(e, t), r = C.value?.rowId === e.id && C.value?.columnId === t.id, i = Ce(e.id, t.id);
|
|
201
|
+
return {
|
|
202
|
+
[`nb-spreadsheet__cell--${t.align ?? (t.type === "number" || t.type === "date" ? "right" : "left")}`]: !0,
|
|
203
|
+
"nb-spreadsheet__cell--focused": r,
|
|
204
|
+
"nb-spreadsheet__cell--selected": i,
|
|
205
|
+
"nb-spreadsheet__cell--readonly": U(e, t),
|
|
206
|
+
"nb-spreadsheet__cell--computed": !!n.computed || !!e.computed,
|
|
207
|
+
"nb-spreadsheet__cell--pinned-top": e.pinned === "top",
|
|
208
|
+
"nb-spreadsheet__cell--pinned-bottom": e.pinned === "bottom",
|
|
209
|
+
[n.className ?? ""]: !!n.className,
|
|
210
|
+
[e.className ?? ""]: !!e.className
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
function U(e, t) {
|
|
214
|
+
if (e.computed || t.readOnly) return !0;
|
|
215
|
+
let n = H(e, t);
|
|
216
|
+
return !!n.readOnly || !!n.computed;
|
|
217
|
+
}
|
|
218
|
+
function ge(e, t) {
|
|
219
|
+
return H(e, t).tooltip ?? "";
|
|
220
|
+
}
|
|
221
|
+
function _e(e) {
|
|
222
|
+
return {
|
|
223
|
+
"nb-spreadsheet__header--sortable": !!e.sortable,
|
|
224
|
+
"nb-spreadsheet__header--pinned-left": e.pinned === "left",
|
|
225
|
+
"nb-spreadsheet__header--pinned-right": e.pinned === "right"
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
function W(e) {
|
|
229
|
+
if (e.pinned !== "left") return 0;
|
|
230
|
+
let t = r.showGutter ? r.gutterWidth : 0;
|
|
231
|
+
for (let n of N.value) {
|
|
232
|
+
if (n.id === e.id) break;
|
|
233
|
+
n.pinned === "left" && (t += P(n));
|
|
234
|
+
}
|
|
235
|
+
return t;
|
|
236
|
+
}
|
|
237
|
+
function G(e) {
|
|
238
|
+
if (e.pinned !== "right") return 0;
|
|
239
|
+
let t = 0, n = [...N.value].reverse();
|
|
240
|
+
for (let r of n) {
|
|
241
|
+
if (r.id === e.id) break;
|
|
242
|
+
r.pinned === "right" && (t += P(r));
|
|
243
|
+
}
|
|
244
|
+
return t;
|
|
245
|
+
}
|
|
246
|
+
function ve(e, t) {
|
|
247
|
+
let n = (r.showGutter ? 2 : 1) + t, i = {};
|
|
248
|
+
return e.pinned === "left" ? (i.position = "sticky", i.left = `${W(e)}px`, i.zIndex = "3") : e.pinned === "right" && (i.position = "sticky", i.right = `${G(e)}px`, i.zIndex = "3"), {
|
|
249
|
+
gridRow: 1,
|
|
250
|
+
gridColumn: n,
|
|
251
|
+
...i
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
function ye(e, t, n) {
|
|
255
|
+
let i = (r.showGutter ? 2 : 1) + n, a = e.__virtualIndex + 2, o = {};
|
|
256
|
+
return t.pinned === "left" ? (o.position = "sticky", o.left = `${W(t)}px`, o.zIndex = "2") : t.pinned === "right" && (o.position = "sticky", o.right = `${G(t)}px`, o.zIndex = "2"), (e.pinned === "top" || e.pinned === "bottom") && (o.position = "sticky", o.zIndex = String(Math.max(Number(o.zIndex ?? 0), 2)), Object.assign(o, be(e))), {
|
|
257
|
+
gridRow: a,
|
|
258
|
+
gridColumn: i,
|
|
259
|
+
...o
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
function be(e) {
|
|
263
|
+
if (e.pinned === "top") {
|
|
264
|
+
let t = L.value.findIndex((t) => t.id === e.id);
|
|
265
|
+
return { top: `calc(var(--nbss-header-height) + var(--nbss-row-height) * ${Math.max(0, t)})` };
|
|
266
|
+
}
|
|
267
|
+
if (e.pinned === "bottom") {
|
|
268
|
+
let t = R.value, n = t.findIndex((t) => t.id === e.id);
|
|
269
|
+
return { bottom: `calc(var(--nbss-row-height) * ${Math.max(0, t.length - 1 - n)})` };
|
|
270
|
+
}
|
|
271
|
+
return {};
|
|
272
|
+
}
|
|
273
|
+
function xe(e) {
|
|
274
|
+
return e.label === void 0 ? e.gutterLabel === void 0 ? String(e.__virtualIndex - L.value.length + 1) : e.gutterLabel : e.label;
|
|
275
|
+
}
|
|
276
|
+
function Se(e) {
|
|
277
|
+
let t = {
|
|
278
|
+
position: "sticky",
|
|
279
|
+
left: "0",
|
|
280
|
+
zIndex: "2"
|
|
281
|
+
};
|
|
282
|
+
return e.pinned && (Object.assign(t, be(e)), t.zIndex = "4"), {
|
|
283
|
+
gridRow: e.__virtualIndex + 2,
|
|
284
|
+
gridColumn: 1,
|
|
285
|
+
...t
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
function Ce(e, t) {
|
|
289
|
+
if (!w.value) return !1;
|
|
290
|
+
let n = [
|
|
291
|
+
...L.value,
|
|
292
|
+
...I.value,
|
|
293
|
+
...R.value
|
|
294
|
+
].map((e) => e.id), r = N.value.map((e) => e.id), i = n.indexOf(w.value.startRowId), a = n.indexOf(w.value.endRowId), o = r.indexOf(w.value.startColumnId), s = r.indexOf(w.value.endColumnId), c = n.indexOf(e), l = r.indexOf(t);
|
|
295
|
+
return c >= Math.min(i, a) && c <= Math.max(i, a) && l >= Math.min(o, s) && l <= Math.max(o, s);
|
|
296
|
+
}
|
|
297
|
+
function K(e, t, n = !1) {
|
|
298
|
+
C.value = {
|
|
299
|
+
rowId: e,
|
|
300
|
+
columnId: t
|
|
301
|
+
}, n && w.value ? w.value = {
|
|
302
|
+
...w.value,
|
|
303
|
+
endRowId: e,
|
|
304
|
+
endColumnId: t
|
|
305
|
+
} : w.value = {
|
|
306
|
+
startRowId: e,
|
|
307
|
+
startColumnId: t,
|
|
308
|
+
endRowId: e,
|
|
309
|
+
endColumnId: t
|
|
310
|
+
}, i("focus", C.value), i("selection", w.value);
|
|
311
|
+
}
|
|
312
|
+
function we(e) {
|
|
313
|
+
k = e.pointerType;
|
|
314
|
+
}
|
|
315
|
+
function Te(e, t, n) {
|
|
316
|
+
let r = k === "touch" && !e.shiftKey && C.value?.rowId === t.id && C.value?.columnId === n.id;
|
|
317
|
+
if (k = "", E.value && Z(), T.value = !0, K(t.id, n.id, e.shiftKey), q(), e.preventDefault(), document.addEventListener("mouseup", De, { once: !0 }), r && !U(t, n)) {
|
|
318
|
+
let e = V(t.id, n.id);
|
|
319
|
+
X(t, n, e == null ? "" : String(e), "edit");
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
function Ee(e, t) {
|
|
323
|
+
!T.value || !w.value || (w.value = {
|
|
324
|
+
...w.value,
|
|
325
|
+
endRowId: e.id,
|
|
326
|
+
endColumnId: t.id
|
|
327
|
+
}, i("selection", w.value));
|
|
328
|
+
}
|
|
329
|
+
function De() {
|
|
330
|
+
T.value = !1;
|
|
331
|
+
}
|
|
332
|
+
function Oe(e, t) {
|
|
333
|
+
if (U(e, t)) return;
|
|
334
|
+
let n = V(e.id, t.id);
|
|
335
|
+
X(e, t, n == null ? "" : String(n), "edit");
|
|
336
|
+
}
|
|
337
|
+
function q() {
|
|
338
|
+
a.value?.focus({ preventScroll: !0 });
|
|
339
|
+
}
|
|
340
|
+
function J(e, t, n = !1) {
|
|
341
|
+
if (!C.value) {
|
|
342
|
+
let e = N.value[0], t = z.value[0];
|
|
343
|
+
e && t && K(t.id, e.id);
|
|
344
|
+
return;
|
|
345
|
+
}
|
|
346
|
+
let r = [
|
|
347
|
+
...L.value,
|
|
348
|
+
...I.value,
|
|
349
|
+
...R.value
|
|
350
|
+
], i = r.findIndex((e) => e.id === C.value.rowId), a = N.value.findIndex((e) => e.id === C.value.columnId), o = Math.max(0, Math.min(r.length - 1, i + e)), s = Math.max(0, Math.min(N.value.length - 1, a + t)), c = r[o].id, l = N.value[s].id;
|
|
351
|
+
K(c, l, n), Me(c, l);
|
|
352
|
+
}
|
|
353
|
+
function ke(e) {
|
|
354
|
+
return e.replace(/["\\]/g, "\\$&");
|
|
355
|
+
}
|
|
356
|
+
function Y(e) {
|
|
357
|
+
let t = a.value?.querySelector(e);
|
|
358
|
+
return t ? t.offsetHeight : 0;
|
|
359
|
+
}
|
|
360
|
+
function Ae(e) {
|
|
361
|
+
let t = 0;
|
|
362
|
+
for (let n of e) t += Y(`[data-row="${ke(n.id)}"]`);
|
|
363
|
+
return t;
|
|
364
|
+
}
|
|
365
|
+
function je(e) {
|
|
366
|
+
let t = e === "left" && r.showGutter ? r.gutterWidth : 0;
|
|
367
|
+
for (let n of N.value) n.pinned === e && (t += P(n));
|
|
368
|
+
return t;
|
|
369
|
+
}
|
|
370
|
+
function Me(e, t) {
|
|
371
|
+
let n = a.value;
|
|
372
|
+
if (!n) return;
|
|
373
|
+
let i = I.value.findIndex((t) => t.id === e);
|
|
374
|
+
if (i >= 0) {
|
|
375
|
+
let e = Y(".nb-spreadsheet__header") || fe, t = Y(".nb-spreadsheet__cell") || j, r = e + (L.value.length + i) * t, a = e + Ae(L.value), o = Ae(R.value);
|
|
376
|
+
r - a < n.scrollTop ? n.scrollTop = r - a : r + t > n.scrollTop + n.clientHeight - o && (n.scrollTop = r + t - n.clientHeight + o);
|
|
377
|
+
}
|
|
378
|
+
let o = t ? N.value.find((e) => e.id === t) : void 0;
|
|
379
|
+
if (o && !o.pinned) {
|
|
380
|
+
let e = r.showGutter ? r.gutterWidth : 0;
|
|
381
|
+
for (let t of N.value) {
|
|
382
|
+
if (t.id === o.id) break;
|
|
383
|
+
e += P(t);
|
|
384
|
+
}
|
|
385
|
+
let t = P(o), i = je("left"), a = je("right");
|
|
386
|
+
e - i < n.scrollLeft ? n.scrollLeft = e - i : e + t > n.scrollLeft + n.clientWidth - a && (n.scrollLeft = e + t - n.clientWidth + a);
|
|
387
|
+
}
|
|
388
|
+
Ne();
|
|
389
|
+
}
|
|
390
|
+
function Ne() {
|
|
391
|
+
D.value = a.value?.scrollTop ?? 0, O.value = a.value?.scrollLeft ?? 0;
|
|
392
|
+
}
|
|
393
|
+
function Pe() {
|
|
394
|
+
if (!C.value) return null;
|
|
395
|
+
let e = r.rows.find((e) => e.id === C.value.rowId), t = r.columns.find((e) => e.id === C.value.columnId);
|
|
396
|
+
return e && t ? {
|
|
397
|
+
r: e,
|
|
398
|
+
c: t
|
|
399
|
+
} : null;
|
|
400
|
+
}
|
|
401
|
+
function Fe(e) {
|
|
402
|
+
return !e.metaKey && !e.ctrlKey && !e.altKey && e.key.length === 1;
|
|
403
|
+
}
|
|
404
|
+
function Ie(e) {
|
|
405
|
+
if (E.value) {
|
|
406
|
+
e.target !== o.value && (Fe(e) ? (e.preventDefault(), E.value.draft += e.key) : ze(e));
|
|
407
|
+
return;
|
|
408
|
+
}
|
|
409
|
+
if ((e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "z") {
|
|
410
|
+
e.preventDefault(), e.shiftKey ? $() : qe();
|
|
411
|
+
return;
|
|
412
|
+
}
|
|
413
|
+
switch (e.key) {
|
|
414
|
+
case "ArrowDown":
|
|
415
|
+
e.preventDefault(), J(1, 0, e.shiftKey);
|
|
416
|
+
break;
|
|
417
|
+
case "ArrowUp":
|
|
418
|
+
e.preventDefault(), J(-1, 0, e.shiftKey);
|
|
419
|
+
break;
|
|
420
|
+
case "ArrowLeft":
|
|
421
|
+
e.preventDefault(), J(0, -1, e.shiftKey);
|
|
422
|
+
break;
|
|
423
|
+
case "ArrowRight":
|
|
424
|
+
e.preventDefault(), J(0, 1, e.shiftKey);
|
|
425
|
+
break;
|
|
426
|
+
case "Tab":
|
|
427
|
+
e.preventDefault(), J(0, e.shiftKey ? -1 : 1);
|
|
428
|
+
break;
|
|
429
|
+
case "Enter":
|
|
430
|
+
e.preventDefault(), J(e.shiftKey ? -1 : 1, 0);
|
|
431
|
+
break;
|
|
432
|
+
case "Escape":
|
|
433
|
+
w.value = null, i("selection", null);
|
|
434
|
+
break;
|
|
435
|
+
case "Delete":
|
|
436
|
+
case "Backspace":
|
|
437
|
+
e.preventDefault(), Ve();
|
|
438
|
+
break;
|
|
439
|
+
case "F2": {
|
|
440
|
+
e.preventDefault();
|
|
441
|
+
let t = Pe();
|
|
442
|
+
if (t && !U(t.r, t.c)) {
|
|
443
|
+
let e = V(t.r.id, t.c.id);
|
|
444
|
+
X(t.r, t.c, e == null ? "" : String(e), "edit");
|
|
445
|
+
}
|
|
446
|
+
break;
|
|
447
|
+
}
|
|
448
|
+
default: {
|
|
449
|
+
if (!Fe(e)) break;
|
|
450
|
+
let t = Pe();
|
|
451
|
+
t && !U(t.r, t.c) && (e.preventDefault(), X(t.r, t.c, e.key, "enter"));
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
function X(e, t, n, r) {
|
|
456
|
+
Me(e.id, t.id), E.value = {
|
|
457
|
+
rowId: e.id,
|
|
458
|
+
columnId: t.id,
|
|
459
|
+
draft: n,
|
|
460
|
+
mode: r
|
|
461
|
+
}, p(() => {
|
|
462
|
+
let e = o.value;
|
|
463
|
+
if (e) if (e.focus({ preventScroll: !0 }), r === "enter") {
|
|
464
|
+
let t = e.value.length;
|
|
465
|
+
e.setSelectionRange(t, t);
|
|
466
|
+
} else e.select();
|
|
467
|
+
});
|
|
468
|
+
}
|
|
469
|
+
let Le = c(() => {
|
|
470
|
+
if (E.value) return r.columns.find((e) => e.id === E.value.columnId)?.type === "number" ? "decimal" : "text";
|
|
471
|
+
}), Re = c(() => {
|
|
472
|
+
if (!E.value) return { display: "none" };
|
|
473
|
+
let e = a.value, t = e?.querySelector(`[data-cell="${ke(`${E.value.rowId}::${E.value.columnId}`)}"]`);
|
|
474
|
+
if (!e || !t) return { display: "none" };
|
|
475
|
+
let n = t.getBoundingClientRect(), r = e.getBoundingClientRect();
|
|
476
|
+
return {
|
|
477
|
+
top: `${n.top - r.top - e.clientTop + D.value}px`,
|
|
478
|
+
left: `${n.left - r.left - e.clientLeft + O.value}px`,
|
|
479
|
+
width: `${n.width}px`,
|
|
480
|
+
height: `${n.height}px`
|
|
481
|
+
};
|
|
482
|
+
});
|
|
483
|
+
function ze(e) {
|
|
484
|
+
let t = E.value?.mode, n = null;
|
|
485
|
+
switch (e.key) {
|
|
486
|
+
case "Enter":
|
|
487
|
+
n = [e.shiftKey ? -1 : 1, 0];
|
|
488
|
+
break;
|
|
489
|
+
case "Tab":
|
|
490
|
+
n = [0, e.shiftKey ? -1 : 1];
|
|
491
|
+
break;
|
|
492
|
+
case "ArrowDown":
|
|
493
|
+
n = [1, 0];
|
|
494
|
+
break;
|
|
495
|
+
case "ArrowUp":
|
|
496
|
+
n = [-1, 0];
|
|
497
|
+
break;
|
|
498
|
+
case "ArrowLeft":
|
|
499
|
+
t === "enter" && (n = [0, -1]);
|
|
500
|
+
break;
|
|
501
|
+
case "ArrowRight":
|
|
502
|
+
t === "enter" && (n = [0, 1]);
|
|
503
|
+
break;
|
|
504
|
+
case "Escape":
|
|
505
|
+
e.preventDefault(), E.value = null, q();
|
|
506
|
+
return;
|
|
507
|
+
}
|
|
508
|
+
n && (e.preventDefault(), Z(), J(n[0], n[1]));
|
|
509
|
+
}
|
|
510
|
+
function Z(e = !0) {
|
|
511
|
+
if (!E.value) return;
|
|
512
|
+
let { rowId: t, columnId: n, draft: a } = E.value;
|
|
513
|
+
E.value = null;
|
|
514
|
+
let o = r.columns.find((e) => e.id === n);
|
|
515
|
+
if (!o) return;
|
|
516
|
+
let s;
|
|
517
|
+
try {
|
|
518
|
+
s = o.parse ? o.parse(a) : B(o, a);
|
|
519
|
+
} catch {
|
|
520
|
+
e && q();
|
|
521
|
+
return;
|
|
522
|
+
}
|
|
523
|
+
let c = V(t, n);
|
|
524
|
+
if (c !== s) {
|
|
525
|
+
let e = {
|
|
526
|
+
rowId: t,
|
|
527
|
+
columnId: n,
|
|
528
|
+
before: c,
|
|
529
|
+
after: s
|
|
530
|
+
};
|
|
531
|
+
Q([e]), i("commit", e), i("change", [e]);
|
|
532
|
+
}
|
|
533
|
+
e && q();
|
|
534
|
+
}
|
|
535
|
+
function Be() {
|
|
536
|
+
if (!w.value) return [];
|
|
537
|
+
let e = [
|
|
538
|
+
...L.value,
|
|
539
|
+
...I.value,
|
|
540
|
+
...R.value
|
|
541
|
+
].map((e) => e.id), t = N.value.map((e) => e.id), n = e.indexOf(w.value.startRowId), r = e.indexOf(w.value.endRowId), i = t.indexOf(w.value.startColumnId), a = t.indexOf(w.value.endColumnId), o = [];
|
|
542
|
+
for (let s = Math.min(n, r); s <= Math.max(n, r); s++) for (let n = Math.min(i, a); n <= Math.max(i, a); n++) o.push({
|
|
543
|
+
rowId: e[s],
|
|
544
|
+
columnId: t[n]
|
|
545
|
+
});
|
|
546
|
+
return o;
|
|
547
|
+
}
|
|
548
|
+
function Ve() {
|
|
549
|
+
let e = Be(), t = [];
|
|
550
|
+
for (let { rowId: n, columnId: i } of e) {
|
|
551
|
+
let e = r.rows.find((e) => e.id === n), a = r.columns.find((e) => e.id === i);
|
|
552
|
+
if (!e || !a || U(e, a)) continue;
|
|
553
|
+
let o = V(n, i);
|
|
554
|
+
o == null || o === "" || t.push({
|
|
555
|
+
rowId: n,
|
|
556
|
+
columnId: i,
|
|
557
|
+
before: o,
|
|
558
|
+
after: null
|
|
559
|
+
});
|
|
560
|
+
}
|
|
561
|
+
if (t.length !== 0) {
|
|
562
|
+
Q(t);
|
|
563
|
+
for (let e of t) i("commit", e);
|
|
564
|
+
i("change", t);
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
function He(e) {
|
|
568
|
+
if (Be().length === 0) return;
|
|
569
|
+
let t = [
|
|
570
|
+
...L.value,
|
|
571
|
+
...I.value,
|
|
572
|
+
...R.value
|
|
573
|
+
].map((e) => e.id), n = N.value.map((e) => e.id), r = Math.min(t.indexOf(w.value.startRowId), t.indexOf(w.value.endRowId)), i = Math.max(t.indexOf(w.value.startRowId), t.indexOf(w.value.endRowId)), a = Math.min(n.indexOf(w.value.startColumnId), n.indexOf(w.value.endColumnId)), o = Math.max(n.indexOf(w.value.startColumnId), n.indexOf(w.value.endColumnId)), s = [];
|
|
574
|
+
for (let e = r; e <= i; e++) {
|
|
575
|
+
let r = [];
|
|
576
|
+
for (let i = a; i <= o; i++) {
|
|
577
|
+
let a = V(t[e], n[i]);
|
|
578
|
+
r.push(a == null ? "" : String(a));
|
|
579
|
+
}
|
|
580
|
+
s.push(r.join(" "));
|
|
581
|
+
}
|
|
582
|
+
e.preventDefault(), e.clipboardData?.setData("text/plain", s.join("\n"));
|
|
583
|
+
}
|
|
584
|
+
function Ue(e) {
|
|
585
|
+
He(e), Ve();
|
|
586
|
+
}
|
|
587
|
+
function We(e) {
|
|
588
|
+
if (!C.value) return;
|
|
589
|
+
let t = e.clipboardData?.getData("text/plain") ?? "";
|
|
590
|
+
if (!t) return;
|
|
591
|
+
e.preventDefault();
|
|
592
|
+
let n = t.replace(/\r\n?/g, "\n").split("\n").map((e) => e.split(" ")), a = [
|
|
593
|
+
...L.value,
|
|
594
|
+
...I.value,
|
|
595
|
+
...R.value
|
|
596
|
+
].map((e) => e.id), o = N.value.map((e) => e.id), s = a.indexOf(C.value.rowId), c = o.indexOf(C.value.columnId), l = [];
|
|
597
|
+
if (n.forEach((e, t) => {
|
|
598
|
+
e.forEach((e, n) => {
|
|
599
|
+
let i = a[s + t], u = o[c + n];
|
|
600
|
+
if (!i || !u) return;
|
|
601
|
+
let d = r.rows.find((e) => e.id === i), f = r.columns.find((e) => e.id === u);
|
|
602
|
+
if (!d || !f || U(d, f)) return;
|
|
603
|
+
let p;
|
|
604
|
+
try {
|
|
605
|
+
p = f.parse ? f.parse(e) : B(f, e);
|
|
606
|
+
} catch {
|
|
607
|
+
return;
|
|
608
|
+
}
|
|
609
|
+
let m = V(i, u);
|
|
610
|
+
m !== p && l.push({
|
|
611
|
+
rowId: i,
|
|
612
|
+
columnId: u,
|
|
613
|
+
before: m,
|
|
614
|
+
after: p
|
|
615
|
+
});
|
|
616
|
+
});
|
|
617
|
+
}), l.length !== 0) {
|
|
618
|
+
Q(l);
|
|
619
|
+
for (let e of l) i("commit", e);
|
|
620
|
+
i("change", l);
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
function Ge(e, t) {
|
|
624
|
+
let n = e.clientX, r = P(t), i = t.minWidth ?? 60, a = (e) => {
|
|
625
|
+
let a = Math.max(i, r + (e.clientX - n));
|
|
626
|
+
f.value = {
|
|
627
|
+
...f.value,
|
|
628
|
+
[t.id]: a
|
|
629
|
+
};
|
|
630
|
+
}, o = () => {
|
|
631
|
+
window.removeEventListener("mousemove", a), window.removeEventListener("mouseup", o);
|
|
632
|
+
};
|
|
633
|
+
window.addEventListener("mousemove", a), window.addEventListener("mouseup", o);
|
|
634
|
+
}
|
|
635
|
+
function Ke(e) {
|
|
636
|
+
e.sortable && (S.value?.columnId === e.id ? S.value = S.value.direction === "asc" ? {
|
|
637
|
+
columnId: e.id,
|
|
638
|
+
direction: "desc"
|
|
639
|
+
} : null : S.value = {
|
|
640
|
+
columnId: e.id,
|
|
641
|
+
direction: "asc"
|
|
642
|
+
});
|
|
643
|
+
}
|
|
644
|
+
function Q(e) {
|
|
645
|
+
A.value.push(e), M.value = [];
|
|
646
|
+
}
|
|
647
|
+
function qe() {
|
|
648
|
+
let e = A.value.pop();
|
|
649
|
+
if (!e) return;
|
|
650
|
+
let t = e.map((e) => ({
|
|
651
|
+
...e,
|
|
652
|
+
before: e.after,
|
|
653
|
+
after: e.before
|
|
654
|
+
}));
|
|
655
|
+
for (let e of t) i("commit", e);
|
|
656
|
+
i("change", t), M.value.push(e);
|
|
657
|
+
}
|
|
658
|
+
function $() {
|
|
659
|
+
let e = M.value.pop();
|
|
660
|
+
if (e) {
|
|
661
|
+
for (let t of e) i("commit", t);
|
|
662
|
+
i("change", e), A.value.push(e);
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
return ee(() => {
|
|
666
|
+
q();
|
|
667
|
+
}), t({
|
|
668
|
+
focus: (e, t) => K(e, t),
|
|
669
|
+
undo: qe,
|
|
670
|
+
redo: $,
|
|
671
|
+
getSelection: () => w.value
|
|
672
|
+
}), (t, n) => (g(), u("div", { class: m(["nb-spreadsheet", { "nb-spreadsheet--editing": !!E.value }]) }, [t.$slots.toolbar ? (g(), u("div", ie, [te(t.$slots, "toolbar", {}, void 0, !0)])) : l("", !0), d("div", {
|
|
673
|
+
ref_key: "scrollerRef",
|
|
674
|
+
ref: a,
|
|
675
|
+
class: "nb-spreadsheet__scroller",
|
|
676
|
+
tabindex: "0",
|
|
677
|
+
onKeydown: Ie,
|
|
678
|
+
onCopy: He,
|
|
679
|
+
onCut: Ue,
|
|
680
|
+
onPaste: We,
|
|
681
|
+
onScroll: Ne
|
|
682
|
+
}, [d("div", {
|
|
683
|
+
class: "nb-spreadsheet__grid",
|
|
684
|
+
style: h(F.value)
|
|
685
|
+
}, [
|
|
686
|
+
e.showGutter ? (g(), u("div", ae)) : l("", !0),
|
|
687
|
+
(g(!0), u(s, null, v(N.value, (t, n) => (g(), u("div", {
|
|
688
|
+
key: `h-${t.id}`,
|
|
689
|
+
class: m(["nb-spreadsheet__header", _e(t)]),
|
|
690
|
+
style: h(ve(t, n)),
|
|
691
|
+
onClick: (e) => Ke(t)
|
|
692
|
+
}, [
|
|
693
|
+
d("span", se, y(t.label), 1),
|
|
694
|
+
S.value && S.value.columnId === t.id ? (g(), u("span", ce, y(S.value.direction === "asc" ? "▲" : "▼"), 1)) : l("", !0),
|
|
695
|
+
e.resizable ? (g(), u("span", {
|
|
696
|
+
key: 1,
|
|
697
|
+
class: "nb-spreadsheet__resize-handle",
|
|
698
|
+
onMousedown: x((e) => Ge(e, t), ["stop"])
|
|
699
|
+
}, null, 40, le)) : l("", !0)
|
|
700
|
+
], 14, oe))), 128)),
|
|
701
|
+
(g(!0), u(s, null, v(z.value, (t) => (g(), u(s, { key: `r-${t.id}` }, [e.showGutter ? (g(), u("div", {
|
|
702
|
+
key: 0,
|
|
703
|
+
class: m(["nb-spreadsheet__gutter", {
|
|
704
|
+
"nb-spreadsheet__gutter--pinned-top": t.pinned === "top",
|
|
705
|
+
"nb-spreadsheet__gutter--pinned-bottom": t.pinned === "bottom"
|
|
706
|
+
}]),
|
|
707
|
+
style: h(Se(t))
|
|
708
|
+
}, y(xe(t)), 7)) : l("", !0), (g(!0), u(s, null, v(N.value, (e, r) => (g(), u("div", {
|
|
709
|
+
key: `c-${t.id}-${e.id}`,
|
|
710
|
+
class: m(["nb-spreadsheet__cell", he(t, e)]),
|
|
711
|
+
style: h(ye(t, e, r)),
|
|
712
|
+
title: ge(t, e),
|
|
713
|
+
"data-cell": `${t.id}::${e.id}`,
|
|
714
|
+
"data-row": t.id,
|
|
715
|
+
"data-col": e.id,
|
|
716
|
+
onPointerdown: n[0] ||= (e) => we(e),
|
|
717
|
+
onMousedown: (n) => Te(n, t, e),
|
|
718
|
+
onMouseenter: (n) => Ee(t, e),
|
|
719
|
+
onDblclick: (n) => Oe(t, e)
|
|
720
|
+
}, [d("span", null, y(me(t, e)), 1)], 46, ue))), 128))], 64))), 128))
|
|
721
|
+
], 4), E.value ? re((g(), u("input", {
|
|
722
|
+
key: 0,
|
|
723
|
+
ref_key: "editorRef",
|
|
724
|
+
ref: o,
|
|
725
|
+
"onUpdate:modelValue": n[1] ||= (e) => E.value.draft = e,
|
|
726
|
+
class: "nb-spreadsheet__editor",
|
|
727
|
+
style: h(Re.value),
|
|
728
|
+
inputmode: Le.value,
|
|
729
|
+
enterkeyhint: "next",
|
|
730
|
+
onBlur: n[2] ||= (e) => Z(!1),
|
|
731
|
+
onKeydown: x(ze, ["stop"])
|
|
732
|
+
}, null, 44, de)), [[ne, E.value.draft]]) : l("", !0)], 544)], 2));
|
|
733
|
+
}
|
|
734
|
+
}), N = /* @__PURE__ */ t({ default: () => P }), P = /* @__PURE__ */ o(M, [["__scopeId", "data-v-a10ecfbb"]]), F = /* @__PURE__ */ Object.assign({ "./components/labs/Spreadsheet.vue": N }), I = { install(e) {
|
|
735
|
+
Object.keys(F).forEach((t) => {
|
|
736
|
+
let n = `Nb${t.replace(/(.+\/)(\w+)(\.vue)$/, "$2")}`, r = F[t];
|
|
737
|
+
e.component(n, r.default);
|
|
738
|
+
});
|
|
739
|
+
} }, L = { install(e, t = {}) {
|
|
740
|
+
if (t.components) for (let [n, r] of Object.entries(t.components)) e.component(n, r);
|
|
741
|
+
e.use(O), e.use(k);
|
|
742
|
+
} };
|
|
743
|
+
//#endregion
|
|
744
|
+
export { k as a, A as i, I as n, E as o, P as r, L as t };
|