@nubisco/ui 5.51.0 → 5.52.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/{ActionGroup-DEeOrkKF.js → ActionGroup-CkwZEnUN.js} +2 -2
- package/dist/{ActionGroup-CZWoWOYj.cjs → ActionGroup-McCtSDV8.cjs} +1 -1
- package/dist/{AiLabel-CSSIkvKP.js → AiLabel-DKhHwWNt.js} +1 -1
- package/dist/{AiLabel-DSKUOcZs.cjs → AiLabel-oV9j_9bX.cjs} +1 -1
- package/dist/{AiProvider-DkRd4Oee.js → AiProvider-CwQByPUa.js} +5 -5
- package/dist/{AiProvider-C5PGq8_N.cjs → AiProvider-YQRUV0n0.cjs} +1 -1
- package/dist/{AiUsage-fQqE0B6N.cjs → AiUsage-C2t5uXV-.cjs} +1 -1
- package/dist/{AiUsage-BOrAXk2-.js → AiUsage-eY9pNKxE.js} +1 -1
- package/dist/{BackToTop-DgFlV4p4.cjs → BackToTop-DQ6vCoQu.cjs} +1 -1
- package/dist/{BackToTop-DrgXqZgF.js → BackToTop-DumUwoJ1.js} +1 -1
- package/dist/{Banner-CyU3PPnt.cjs → Banner-DTIRkPRb.cjs} +1 -1
- package/dist/{Banner-CazPCK0F.js → Banner-FWDVwwVx.js} +1 -1
- package/dist/BarChart-DKpSrGm3.cjs +1 -0
- package/dist/{BarChart-CDvhhPk0.js → BarChart-hs_OZZD4.js} +96 -66
- package/dist/{BatchActions-CLCwxCoa.js → BatchActions-B5hv7U0E.js} +2 -2
- package/dist/{BatchActions-DfAPQSU6.cjs → BatchActions-DmMLy_y-.cjs} +1 -1
- package/dist/{Blueprint-CGGNppmS.js → Blueprint-ePiyl5dw.js} +2 -2
- package/dist/{Blueprint-DBIXzLYg.cjs → Blueprint-kNZLEHJz.cjs} +1 -1
- package/dist/{BlueprintCard-CqlU0QFY.js → BlueprintCard-Ce48mEtN.js} +1 -1
- package/dist/{BlueprintCard-DGUNttWj.cjs → BlueprintCard-L5FqZKvJ.cjs} +1 -1
- package/dist/{BlueprintControls-C3ffD6W8.cjs → BlueprintControls-C0V9FX8S.cjs} +1 -1
- package/dist/{BlueprintControls-1l0QVtB7.js → BlueprintControls-DQE_gDOe.js} +1 -1
- package/dist/{Board-DEBP52eI.js → Board-DyAO3ko2.js} +1 -1
- package/dist/{Board-DIbzPDsD.cjs → Board-Htlm-mra.cjs} +1 -1
- package/dist/{BottomPanel-1EkHEQ_H.js → BottomPanel-BsfMrQaS.js} +1 -1
- package/dist/{BottomPanel-n2jWpFH7.cjs → BottomPanel-Dad7czGY.cjs} +1 -1
- package/dist/{Breadcrumbs-avQltgRZ.cjs → Breadcrumbs-C_dG1eHp.cjs} +1 -1
- package/dist/{Breadcrumbs-8VM5XZTT.js → Breadcrumbs-DHHPeG-B.js} +2 -2
- package/dist/{Briefing-0A1frO4v.js → Briefing-BTgNodqs.js} +2 -2
- package/dist/{Briefing-AqSz-ZdZ.cjs → Briefing-C_n8mZ-O.cjs} +1 -1
- package/dist/{BriefingDestination-CqyKzyXx.cjs → BriefingDestination-B2_e90ZN.cjs} +1 -1
- package/dist/{BriefingDestination-v3kNa6o_.js → BriefingDestination-BMsPXWd6.js} +1 -1
- package/dist/{Button-BHFtgOXA.cjs → Button-5ClGtoaz.cjs} +1 -1
- package/dist/{Button-tpOmP8iV.js → Button-CxJMKPpw.js} +1 -1
- package/dist/{ButtonSet-Bj9mIOW2.cjs → ButtonSet-CmM3Tj5N.cjs} +1 -1
- package/dist/{ButtonSet-BV76HHgD.js → ButtonSet-tmTOMWpZ.js} +1 -1
- package/dist/{Calendar-D9J17bTp.cjs → Calendar-BKJoim3w.cjs} +1 -1
- package/dist/{Calendar-Bf0Nk0rA.js → Calendar-C_UWF6F5.js} +1 -1
- package/dist/{Checkbox-DPPln6oG.cjs → Checkbox-B6qnpOXg.cjs} +1 -1
- package/dist/{Checkbox-BgXXVsCC.js → Checkbox-Bf3XzGbG.js} +1 -1
- package/dist/{CheckboxGroup-B2a3ezEK.cjs → CheckboxGroup-BG1efn5_.cjs} +1 -1
- package/dist/{CheckboxGroup-Ck1ylAX9.js → CheckboxGroup-C3ng8k3R.js} +1 -1
- package/dist/{CloseButton-CdH12Hdn.js → CloseButton-BeaS7MQc.js} +1 -1
- package/dist/{CloseButton-9TTFHFmx.cjs → CloseButton-D0Aj3uQK.cjs} +1 -1
- package/dist/{CommandPalette-CCEzVWfb.cjs → CommandPalette-CI31tVG0.cjs} +1 -1
- package/dist/{CommandPalette-D1DuzaA1.js → CommandPalette-Co6sxIQz.js} +1 -1
- package/dist/{Confirm-YFZK3eSw.cjs → Confirm-CQMJX0lc.cjs} +1 -1
- package/dist/{Confirm-Bsf8R78g.js → Confirm-q2m_4sBN.js} +3 -3
- package/dist/{ContentSwitcher-CYSF2B-a.cjs → ContentSwitcher-B96jZqzZ.cjs} +1 -1
- package/dist/{ContentSwitcher-B-PUG0FE.js → ContentSwitcher-DCB9W7wd.js} +1 -1
- package/dist/{CopyButton-CQ9tcyfs.js → CopyButton-CfEOWedU.js} +1 -1
- package/dist/{CopyButton-DRvJ4rf5.cjs → CopyButton-DMuuBwJc.cjs} +1 -1
- package/dist/{DataTable-DDqMaOqP.js → DataTable-CA_p6GdD.js} +5 -5
- package/dist/{DataTable-DQUX-6li.cjs → DataTable-DNAUGxuj.cjs} +1 -1
- package/dist/{DatePicker-DPTMT52Y.js → DatePicker-DKNte5ZT.js} +1 -1
- package/dist/{DatePicker-DShl7pkk.cjs → DatePicker-l-HrmC9V.cjs} +1 -1
- package/dist/{FileUploader-dzVu4iSo.js → FileUploader-CYa_FX-W.js} +1 -1
- package/dist/{FileUploader-UzgK5RKz.cjs → FileUploader-DCTMJY5p.cjs} +1 -1
- package/dist/{GanttChart-N05mLdsn.js → GanttChart-C70BwZZo.js} +1 -1
- package/dist/{GanttChart-ClFarMf-.cjs → GanttChart-D24__YLV.cjs} +1 -1
- package/dist/{ImageCropper-CoYR_Hhy.cjs → ImageCropper-3omi5zWi.cjs} +1 -1
- package/dist/{ImageCropper-wQknqxNK.js → ImageCropper-lLgzrsWr.js} +1 -1
- package/dist/{ImagePicker-Dhj01jq7.cjs → ImagePicker-4LRkWaLL.cjs} +1 -1
- package/dist/{ImagePicker-zkoay3zZ.js → ImagePicker-DOnGfEc6.js} +2 -2
- package/dist/{InlineLoading-DKCzcjZJ.cjs → InlineLoading-BovtIkg7.cjs} +1 -1
- package/dist/{InlineLoading-CDJ_ZJ6v.js → InlineLoading-CNetV7ih.js} +1 -1
- package/dist/{InterpolationChart-BX8-UOeZ.js → InterpolationChart-Cohmbfep.js} +1 -1
- package/dist/{InterpolationChart-DaqKUIWi.cjs → InterpolationChart-DnHzBcLG.cjs} +1 -1
- package/dist/LineChart-BNhJBKO6.cjs +1 -0
- package/dist/{LineChart-CplGrv8-.js → LineChart-lMX9rTr7.js} +110 -100
- package/dist/{Modal-D0hGHXic.cjs → Modal-B2gNgKIK.cjs} +1 -1
- package/dist/{Modal-BSGKOUi_.js → Modal-RgLIB-Gw.js} +3 -3
- package/dist/{NotificationCenter-_CK8Eejg.js → NotificationCenter-4MBTSGRl.js} +5 -5
- package/dist/{NotificationCenter-xg0ZCegj.cjs → NotificationCenter-BuVz7oP1.cjs} +1 -1
- package/dist/{NumberInput-BNlXW5XD.cjs → NumberInput-04v9eS0u.cjs} +1 -1
- package/dist/{NumberInput-BgrIXtsT.js → NumberInput-DmKNMQLk.js} +1 -1
- package/dist/{OverflowMenu-DFOJSaS7.cjs → OverflowMenu-CWgdicDN.cjs} +1 -1
- package/dist/{OverflowMenu-OCAeE3W0.js → OverflowMenu-DXJ8waZo.js} +1 -1
- package/dist/{PageHeader-BfUlrscM.cjs → PageHeader-8n0wHC1J.cjs} +1 -1
- package/dist/{PageHeader-1wou3Him.js → PageHeader-ChUje7zF.js} +1 -1
- package/dist/{Pagination-BTvOfCJG.js → Pagination-DLDVJush.js} +2 -2
- package/dist/{Pagination-5qvBYkmf.cjs → Pagination-dhLORMeq.cjs} +1 -1
- package/dist/Panel-7LIVYu68.js +64 -0
- package/dist/Panel-BRPE3B-O.cjs +1 -0
- package/dist/PieChart-0_n0Ihir.cjs +1 -0
- package/dist/PieChart-Be8RVmz0.js +219 -0
- package/dist/{Search-CQlcMCZ0.cjs → Search-BxYPouus.cjs} +1 -1
- package/dist/{Search-Cj9aSYg2.js → Search-CI787J6m.js} +2 -2
- package/dist/{Select-dAsXp4vb.cjs → Select-C77tReXr.cjs} +1 -1
- package/dist/{Select-DUAPhMYG.js → Select-CAXyp4ou.js} +1 -1
- package/dist/{Shell-B2y5hn9K.cjs → Shell-Btxqmkh-.cjs} +1 -1
- package/dist/{Shell-Bh6s0T89.js → Shell-nNxGdcuI.js} +2 -2
- package/dist/{ShellPanel-BDE6Y773.cjs → ShellPanel-BeTojwfU.cjs} +1 -1
- package/dist/{ShellPanel-CB71IKMY.js → ShellPanel-D1-l6JRg.js} +1 -1
- package/dist/{SidebarCollapseToggle-Dm4QMGpc.js → SidebarCollapseToggle-BLY8EEaD.js} +2 -2
- package/dist/{SidebarCollapseToggle-CqVURaqs.cjs → SidebarCollapseToggle-DobruD4n.cjs} +1 -1
- package/dist/{SidebarHeaderToggle-daU1HfJH.js → SidebarHeaderToggle-BVfhMhvD.js} +1 -1
- package/dist/{SidebarHeaderToggle-KW1yBlpF.cjs → SidebarHeaderToggle-TwULd9e3.cjs} +1 -1
- package/dist/{Skeleton-CMuZJ1dR.cjs → Skeleton-CUUa44lM.cjs} +1 -1
- package/dist/{Skeleton-Hmb5a2G_.js → Skeleton-DI7l_96J.js} +1 -1
- package/dist/{Slider-CYYnC2N6.cjs → Slider-CtN6andn.cjs} +1 -1
- package/dist/{Slider-DjPICUZY.js → Slider-D7BgYMeu.js} +1 -1
- package/dist/Sparkline-0CmemDu3.js +122 -0
- package/dist/Sparkline-ByPgkuSC.cjs +1 -0
- package/dist/{Spinner-BTN06wsE.cjs → Spinner-BDwIIS4H.cjs} +1 -1
- package/dist/{Spinner-C3MeCm2k.js → Spinner-D_6qJT6u.js} +1 -1
- package/dist/Stat-BiuBoOoE.cjs +1 -0
- package/dist/Stat-C_Z2D-TS.js +159 -0
- package/dist/{Stepper-BXPgrQE8.js → Stepper-BG9PfjPD.js} +1 -1
- package/dist/{Stepper-BLyPFPge.cjs → Stepper-CARQL6xx.cjs} +1 -1
- package/dist/{StepperStep-DLr_ctr4.js → StepperStep-C7F_8ErM.js} +1 -1
- package/dist/{StepperStep-DGeyZQXY.cjs → StepperStep-DHsfAMv0.cjs} +1 -1
- package/dist/{SuggestionList-DjtF5POh.cjs → SuggestionList-BT-xOJBx.cjs} +1 -1
- package/dist/{SuggestionList-SYGj7Sjv.js → SuggestionList-Cm0pD7_C.js} +1 -1
- package/dist/{TableOfContents-BIzH0Twf.js → TableOfContents-B7Qmz4t9.js} +1 -1
- package/dist/{TableOfContents-Ct-Kwm8X.cjs → TableOfContents-IQordoiY.cjs} +1 -1
- package/dist/{TextInput-CYhPkNwH.js → TextInput-DG8aUZeu.js} +1 -1
- package/dist/{TextInput-BTPC7DyL.cjs → TextInput-r8ap24-5.cjs} +1 -1
- package/dist/{Toast-BaMGYx8-.js → Toast-CpdX-63Q.js} +2 -2
- package/dist/{Toast-BvZywdtO.cjs → Toast-yB4u936W.cjs} +1 -1
- package/dist/{Toaster-CYSWYmUm.cjs → Toaster-BqCi69_x.cjs} +1 -1
- package/dist/{Toaster-DtUkjQM_.js → Toaster-XMqkamDu.js} +1 -1
- package/dist/{Tree-RRVk_0QJ.js → Tree-Nn3HGP-T.js} +1 -1
- package/dist/{Tree-CeXSIcpy.cjs → Tree-hitkY9yg.cjs} +1 -1
- package/dist/{TreeNode-z6APXuvr.cjs → TreeNode-DHSYezap.cjs} +1 -1
- package/dist/{TreeNode-D9fc2RE_.js → TreeNode-giUfunjf.js} +1 -1
- package/dist/{UserMenu-GGR8K7gP.js → UserMenu-C52WN7-m.js} +4 -4
- package/dist/{UserMenu-BGIIKwi6.cjs → UserMenu-DFxqVHMM.cjs} +1 -1
- package/dist/{Video-DD01piHm.js → Video-B0FTFBYF.js} +1 -1
- package/dist/{Video-BxNkDWqi.cjs → Video-DxTpvMsS.cjs} +1 -1
- package/dist/{Walkthrough-DpxYuLMU.js → Walkthrough-CCb4OKc-.js} +2 -2
- package/dist/{Walkthrough-C_5h67cq.cjs → Walkthrough-QtFJ_YOo.cjs} +1 -1
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +101 -101
- package/dist/component-styles.json +3 -0
- package/dist/components/ActionGroup.cjs +1 -1
- package/dist/components/ActionGroup.mjs +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/Banner.cjs +1 -1
- package/dist/components/Banner.mjs +1 -1
- package/dist/components/BatchActions.cjs +1 -1
- package/dist/components/BatchActions.mjs +1 -1
- package/dist/components/Blueprint.cjs +1 -1
- package/dist/components/Blueprint.mjs +1 -1
- 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/BlueprintControls.cjs +1 -1
- package/dist/components/BlueprintControls.mjs +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/BottomPanel.cjs +1 -1
- package/dist/components/BottomPanel.mjs +1 -1
- package/dist/components/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs.mjs +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.mjs +1 -1
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/ButtonSet.cjs +1 -1
- package/dist/components/ButtonSet.mjs +1 -1
- package/dist/components/Calendar.cjs +1 -1
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Charts/BarChart.cjs +1 -1
- package/dist/components/Charts/BarChart.d.ts +5 -1
- package/dist/components/Charts/BarChart.mjs +1 -1
- package/dist/components/Charts/BarChart.vue.d.ts +2 -0
- package/dist/components/Charts/BarChart.vue.d.ts.map +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.d.ts +2 -1
- package/dist/components/Charts/LineChart.mjs +1 -1
- package/dist/components/Charts/LineChart.vue.d.ts +1 -0
- package/dist/components/Charts/LineChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/PieChart.cjs +1 -1
- package/dist/components/Charts/PieChart.d.ts +7 -2
- package/dist/components/Charts/PieChart.mjs +1 -1
- package/dist/components/Charts/PieChart.vue.d.ts +1 -0
- package/dist/components/Charts/PieChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/Sparkline.cjs +1 -1
- package/dist/components/Charts/Sparkline.d.ts +6 -0
- package/dist/components/Charts/Sparkline.mjs +1 -1
- package/dist/components/Charts/Sparkline.vue.d.ts +1 -0
- package/dist/components/Charts/Sparkline.vue.d.ts.map +1 -1
- package/dist/components/Charts/shared/ChartTooltip.vue.d.ts +4 -0
- package/dist/components/Charts/shared/ChartTooltip.vue.d.ts.map +1 -1
- package/dist/components/Charts/shared/types.d.ts +11 -0
- package/dist/components/Charts/shared/useChartEntrance.d.ts +17 -0
- package/dist/components/Charts/shared/useChartEntrance.d.ts.map +1 -0
- 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 -1
- package/dist/components/ChipGroup.mjs +1 -1
- package/dist/components/CloseButton.cjs +1 -1
- package/dist/components/CloseButton.mjs +1 -1
- 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/Confirm.cjs +1 -1
- package/dist/components/Confirm.mjs +1 -1
- package/dist/components/ContentSwitcher.cjs +1 -1
- package/dist/components/ContentSwitcher.mjs +1 -1
- package/dist/components/CopyButton.cjs +1 -1
- package/dist/components/CopyButton.mjs +1 -1
- package/dist/components/DataTable.cjs +1 -1
- package/dist/components/DataTable.mjs +1 -1
- package/dist/components/DatePicker.cjs +1 -1
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/DragHandle.cjs +1 -1
- package/dist/components/DragHandle.mjs +1 -1
- package/dist/components/FileUploader.cjs +1 -1
- package/dist/components/FileUploader.mjs +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/Form.cjs +1 -1
- package/dist/components/Form.mjs +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/InlineEdit.cjs +1 -1
- package/dist/components/InlineEdit.mjs +1 -1
- package/dist/components/InlineLoading.cjs +1 -1
- package/dist/components/InlineLoading.mjs +1 -1
- package/dist/components/InputGroup.cjs +1 -1
- package/dist/components/InputGroup.mjs +1 -1
- package/dist/components/JsonTree.cjs +1 -1
- package/dist/components/JsonTree.mjs +1 -1
- package/dist/components/Layer.cjs +1 -1
- package/dist/components/Layer.mjs +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/Modal.cjs +1 -1
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.mjs +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/OverflowMenu.cjs +1 -1
- package/dist/components/OverflowMenu.mjs +1 -1
- package/dist/components/PageHeader.cjs +1 -1
- package/dist/components/PageHeader.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.d.ts +6 -0
- package/dist/components/Panel.mjs +1 -1
- package/dist/components/Panel.vue.d.ts +5 -4
- package/dist/components/Panel.vue.d.ts.map +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/Search.cjs +1 -1
- package/dist/components/Search.mjs +1 -1
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Shell.cjs +1 -1
- package/dist/components/Shell.mjs +1 -1
- package/dist/components/ShellPanel.cjs +1 -1
- package/dist/components/ShellPanel.mjs +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/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.mjs +1 -1
- package/dist/components/Skeleton.vue.d.ts +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.d.ts +19 -0
- package/dist/components/Stat.mjs +1 -1
- package/dist/components/Stat.vue.d.ts +10 -4
- package/dist/components/Stat.vue.d.ts.map +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/Submenu.cjs +1 -1
- package/dist/components/Submenu.mjs +1 -1
- package/dist/components/SuggestionList.cjs +1 -1
- package/dist/components/SuggestionList.mjs +1 -1
- package/dist/components/TableOfContents.cjs +1 -1
- package/dist/components/TableOfContents.mjs +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/Toast.cjs +1 -1
- package/dist/components/Toast.mjs +1 -1
- package/dist/components/Toaster.cjs +1 -1
- package/dist/components/Toaster.mjs +1 -1
- package/dist/components/Toolbar.cjs +1 -1
- package/dist/components/Toolbar.mjs +1 -1
- 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/UserMenu.cjs +1 -1
- package/dist/components/UserMenu.mjs +1 -1
- package/dist/components/Video.cjs +1 -1
- package/dist/components/Video.mjs +1 -1
- package/dist/components/Walkthrough.cjs +1 -1
- package/dist/components/Walkthrough.mjs +1 -1
- package/dist/components/Wireframe.cjs +1 -1
- package/dist/components/Wireframe.mjs +1 -1
- 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 +2 -2
- 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 +1 -0
- package/dist/composables/useNbStrings.composable.d.ts.map +1 -1
- package/dist/composables/useNbStrings.composable.mjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +101 -101
- package/dist/{main-Bo1B-xzL.cjs → main-Dr-OZ97R.cjs} +1 -1
- package/dist/{main-nO1LQzsc.js → main-hHSQ2Z9E.js} +1 -1
- package/dist/{palette-6bEW4KUN.js → palette-BPqd521m.js} +24 -16
- package/dist/palette-MlQ_k4iu.cjs +1 -0
- package/dist/styles/BarChart.css +1 -1
- package/dist/styles/Button.css +1 -1
- package/dist/styles/LineChart.css +1 -1
- package/dist/styles/Panel.css +1 -1
- package/dist/styles/PieChart.css +1 -1
- package/dist/styles/Sparkline.css +1 -1
- package/dist/styles/Stat.css +1 -1
- package/dist/styles/palette.css +1 -1
- package/dist/ui.css +8 -8
- package/dist/useChartEntrance-D8vJ7eWq.cjs +1 -0
- package/dist/useChartEntrance-heEx5_ZG.js +10 -0
- package/package.json +2 -2
- package/dist/BarChart-3YO4YfUt.cjs +0 -1
- package/dist/LineChart-CGXpi9l8.cjs +0 -1
- package/dist/Panel-NC6_ZogV.cjs +0 -1
- package/dist/Panel-zyzu638n.js +0 -51
- package/dist/PieChart-DQhs44eH.cjs +0 -1
- package/dist/PieChart-D_02nX0-.js +0 -182
- package/dist/Sparkline-B7kUEfuW.cjs +0 -1
- package/dist/Sparkline-CVzkzaOJ.js +0 -95
- package/dist/Stat-BoQUn69z.cjs +0 -1
- package/dist/Stat-Bz0NCLTm.js +0 -101
- package/dist/palette-LbOzdAXj.cjs +0 -1
- /package/dist/{Blueprint.context-Bz6Jy1Ou.js → Blueprint.context-CWzHXNtU.js} +0 -0
- /package/dist/{Blueprint.context-BX56xsrT.cjs → Blueprint.context-KUd38ozw.cjs} +0 -0
- /package/dist/{BlueprintBackground-DPjZeMwY.js → BlueprintBackground-CBU9iwAA.js} +0 -0
- /package/dist/{BlueprintBackground-yHRGclEz.cjs → BlueprintBackground-CfII_po9.cjs} +0 -0
- /package/dist/{BlueprintMinimap-qskDNYyr.cjs → BlueprintMinimap-5mdeNCgk.cjs} +0 -0
- /package/dist/{BlueprintMinimap-xnsyS1M8.js → BlueprintMinimap-CP2-gY4i.js} +0 -0
- /package/dist/{CheckboxGroup.context-C1QB-Zsq.js → CheckboxGroup.context-B21mAPv4.js} +0 -0
- /package/dist/{CheckboxGroup.context-ADwiY4gy.cjs → CheckboxGroup.context-DRWqTj9S.cjs} +0 -0
- /package/dist/{ChipGroup-CVDk4ElV.js → ChipGroup-BNp7OB2t.js} +0 -0
- /package/dist/{ChipGroup-DojKPHhq.cjs → ChipGroup-BplLSI81.cjs} +0 -0
- /package/dist/{ColorStrip-CuF9ZGoO.js → ColorStrip-BaLKZV51.js} +0 -0
- /package/dist/{ColorStrip-bpguV5b2.cjs → ColorStrip-D6p71EPQ.cjs} +0 -0
- /package/dist/{DragHandle-Cc7WrUj7.js → DragHandle-CuEBPvz8.js} +0 -0
- /package/dist/{DragHandle-Bz2N22Sm.cjs → DragHandle-IJoaUK75.cjs} +0 -0
- /package/dist/{Flag-DyDqHJy3.js → Flag-CKhucUhD.js} +0 -0
- /package/dist/{Flag-gM91kXTi.cjs → Flag-D5hPnq37.cjs} +0 -0
- /package/dist/{FloatingToolbar-DDCJuaq0.cjs → FloatingToolbar-By_-ubVi.cjs} +0 -0
- /package/dist/{FloatingToolbar-BTmWtGU7.js → FloatingToolbar-Clz7tlQQ.js} +0 -0
- /package/dist/{Form-D2KHlP7N.cjs → Form-Bc4QF6Lk.cjs} +0 -0
- /package/dist/{Form-igwYeEVI.js → Form-Co-23Ktg.js} +0 -0
- /package/dist/{InlineEdit-Y8i0ibjH.js → InlineEdit-Ccm5eW9r.js} +0 -0
- /package/dist/{InlineEdit-DBMKJ3xP.cjs → InlineEdit-hVNTw3FL.cjs} +0 -0
- /package/dist/{InputGroup-BYoHNpY0.cjs → InputGroup-BHOJSSQ_.cjs} +0 -0
- /package/dist/{InputGroup-BYThVO5L.js → InputGroup-OytJ8AMk.js} +0 -0
- /package/dist/{JsonTree-MjCO8_Xk.cjs → JsonTree-D2auUavc.cjs} +0 -0
- /package/dist/{JsonTree-VbXpLPoG.js → JsonTree-E9Z-ELBN.js} +0 -0
- /package/dist/{Layer-Btb-b9Mk.js → Layer--aoEMtI2.js} +0 -0
- /package/dist/{Layer-D0NqQYM0.cjs → Layer-C8RYJ-6a.cjs} +0 -0
- /package/dist/{MenuBar-BVgGbppN.cjs → MenuBar-3tuFXaKq.cjs} +0 -0
- /package/dist/{MenuBar-M2eiYZG0.js → MenuBar-T-R82ARB.js} +0 -0
- /package/dist/{MenuBarItem-CQsy3y2I.js → MenuBarItem-DWx9J8-L.js} +0 -0
- /package/dist/{MenuBarItem-Dd9hNBra.cjs → MenuBarItem-GgXvNoo-.cjs} +0 -0
- /package/dist/{MenuDivider-BSMtwoUU.cjs → MenuDivider-9wQ-fCik.cjs} +0 -0
- /package/dist/{MenuDivider-B3tNv2aj.js → MenuDivider-ksA6NvMu.js} +0 -0
- /package/dist/{NotificationCenterItem-O6SR_6KR.js → NotificationCenterItem-DdH7jvvg.js} +0 -0
- /package/dist/{NotificationCenterItem-D0agavaK.cjs → NotificationCenterItem-zIL89umA.cjs} +0 -0
- /package/dist/{NubiscoMark-XJWPWIc0.js → NubiscoMark-BmzCQO-3.js} +0 -0
- /package/dist/{NubiscoMark-3StsXBoJ.cjs → NubiscoMark-xthZ972G.cjs} +0 -0
- /package/dist/{NubiscoPlatformMark-D8WIp4On.cjs → NubiscoPlatformMark-DA2jJFJN.cjs} +0 -0
- /package/dist/{NubiscoPlatformMark-BgQLjI89.js → NubiscoPlatformMark-DCr77bqN.js} +0 -0
- /package/dist/{ProgressBar-z912Ppfm.cjs → ProgressBar-BSPcsJ13.cjs} +0 -0
- /package/dist/{ProgressBar-Bp-pe6sU.js → ProgressBar-C-mDH8u0.js} +0 -0
- /package/dist/{Radio-DuvSK9tl.cjs → Radio-LlTK1Sug.cjs} +0 -0
- /package/dist/{Radio-DcMkavI8.js → Radio-q_unHymB.js} +0 -0
- /package/dist/{SidebarBrand-D2u7hX-v.cjs → SidebarBrand-DmWBakJG.cjs} +0 -0
- /package/dist/{SidebarBrand-CZf-kRyZ.js → SidebarBrand-Dz8O0JHj.js} +0 -0
- /package/dist/{SidebarLink-CSTNfb2F.cjs → SidebarLink-D1rsmzP_.cjs} +0 -0
- /package/dist/{SidebarLink-BuRBmv_k.js → SidebarLink-qbDy2Jip.js} +0 -0
- /package/dist/{SidebarMenu-CAthEmyy.cjs → SidebarMenu-CEff0kWr.cjs} +0 -0
- /package/dist/{SidebarMenu-CgWUHllQ.js → SidebarMenu-Cz7k20qd.js} +0 -0
- /package/dist/{SidebarMenuGroup-DdWg57Wv.js → SidebarMenuGroup-BvrYrQQi.js} +0 -0
- /package/dist/{SidebarMenuGroup-B9JGPBcF.cjs → SidebarMenuGroup-vc3SM277.cjs} +0 -0
- /package/dist/{SidebarMenuItem-BvvoDIjK.js → SidebarMenuItem-D7rkGP2L.js} +0 -0
- /package/dist/{SidebarMenuItem-eFnj5QoE.cjs → SidebarMenuItem-DYREDfqx.cjs} +0 -0
- /package/dist/{SidebarStatus-CnTnYL4x.js → SidebarStatus-COgGJjkA.js} +0 -0
- /package/dist/{SidebarStatus-CvjuggXO.cjs → SidebarStatus-Coh-cSGj.cjs} +0 -0
- /package/dist/{Stepper.context-CRKX8lxW.js → Stepper.context-BBwBAwSJ.js} +0 -0
- /package/dist/{Stepper.context-Brnt5IZv.cjs → Stepper.context-CIIC0ucN.cjs} +0 -0
- /package/dist/{Submenu-BabY14Vm.cjs → Submenu-DK6C5mjc.cjs} +0 -0
- /package/dist/{Submenu-DOzhF4BM.js → Submenu-M1q8mdSB.js} +0 -0
- /package/dist/{Tabs-B_bsdxWy.js → Tabs-D_LFyWTX.js} +0 -0
- /package/dist/{Tabs-CTMUPND5.cjs → Tabs-W2hUdYvl.cjs} +0 -0
- /package/dist/{Toolbar-tOeTdj8a.js → Toolbar-Cc_31FMW.js} +0 -0
- /package/dist/{Toolbar-BmJeXz4C.cjs → Toolbar-DN0gMuyj.cjs} +0 -0
- /package/dist/{TreeContext-Cs4iAw0d.js → TreeContext-BSNQGIEd.js} +0 -0
- /package/dist/{TreeContext-B2Io2oii.cjs → TreeContext-JbeO4_mW.cjs} +0 -0
- /package/dist/{Wireframe-C_Ca3wCn.js → Wireframe-B-Dnmefu.js} +0 -0
- /package/dist/{Wireframe-3fvc4I5-.cjs → Wireframe-DBqyeEzE.cjs} +0 -0
- /package/dist/{pixi-scene-DFCEvc1j.js → pixi-scene-CdHSFEve.js} +0 -0
- /package/dist/{pixi-scene-CQ1qoZvX.cjs → pixi-scene-RJljCo62.cjs} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-CEPRjDi3.cjs → useLoadingAnnouncer.composable-BXyCMUDe.cjs} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-c0XX_xNT.js → useLoadingAnnouncer.composable-CZT2zf7e.js} +0 -0
- /package/dist/{vue-i18n-DaD-yZmK.js → vue-i18n-B8N89VAx.js} +0 -0
- /package/dist/{vue-i18n-ZdR0XDmN.cjs → vue-i18n-D8JKgg8C.cjs} +0 -0
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
-
import { useNbStrings as t } from "./composables/useNbStrings.composable.mjs";
|
|
3
|
-
import { i as n, l as r, n as i, u as a } from "./palette-6bEW4KUN.js";
|
|
4
|
-
import { t as o } from "./ChartLegend-LDNukufA.js";
|
|
5
|
-
import { t as s } from "./useChartSize-05CLdiR0.js";
|
|
6
|
-
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineComponent as h, getCurrentInstance as g, normalizeClass as _, normalizeStyle as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, withCtx as w } from "vue";
|
|
7
|
-
//#region src/components/Charts/PieChart.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
-
var T = [
|
|
9
|
-
"width",
|
|
10
|
-
"height",
|
|
11
|
-
"role",
|
|
12
|
-
"aria-label"
|
|
13
|
-
], E = ["transform"], D = [
|
|
14
|
-
"d",
|
|
15
|
-
"fill",
|
|
16
|
-
"tabindex",
|
|
17
|
-
"role",
|
|
18
|
-
"aria-label",
|
|
19
|
-
"onMouseenter",
|
|
20
|
-
"onClick",
|
|
21
|
-
"onKeydown"
|
|
22
|
-
], O = ["x", "y"], k = /* @__PURE__ */ e(/* @__PURE__ */ h({
|
|
23
|
-
__name: "PieChart",
|
|
24
|
-
props: {
|
|
25
|
-
data: { default: () => [] },
|
|
26
|
-
innerRadius: { default: 0 },
|
|
27
|
-
labels: { default: "percent" },
|
|
28
|
-
title: { default: void 0 },
|
|
29
|
-
subtitle: { default: void 0 },
|
|
30
|
-
height: { default: 280 },
|
|
31
|
-
showLegend: {
|
|
32
|
-
type: Boolean,
|
|
33
|
-
default: !0
|
|
34
|
-
},
|
|
35
|
-
showTooltip: {
|
|
36
|
-
type: Boolean,
|
|
37
|
-
default: !0
|
|
38
|
-
},
|
|
39
|
-
colors: { default: () => i }
|
|
40
|
-
},
|
|
41
|
-
emits: ["select"],
|
|
42
|
-
setup(e, { emit: i }) {
|
|
43
|
-
let h = t(), k = e, A = i, j = g(), M = () => !!j?.vnode.props?.onSelect, N = (e) => {
|
|
44
|
-
if (!M()) return;
|
|
45
|
-
let t = k.data[e];
|
|
46
|
-
t && A("select", {
|
|
47
|
-
kind: "categorical",
|
|
48
|
-
label: t.label,
|
|
49
|
-
value: t.value,
|
|
50
|
-
index: e,
|
|
51
|
-
datum: t
|
|
52
|
-
});
|
|
53
|
-
}, P = (e, t) => {
|
|
54
|
-
M() && (e.key !== "Enter" && e.key !== " " || (e.preventDefault(), N(t)));
|
|
55
|
-
}, F = b(null), I = s(F, {
|
|
56
|
-
width: 280,
|
|
57
|
-
height: 240
|
|
58
|
-
}), L = l(() => k.data.map((e, t) => ({
|
|
59
|
-
label: e.label,
|
|
60
|
-
value: e.value,
|
|
61
|
-
color: e.color ?? n(t, k.colors)
|
|
62
|
-
}))), R = l(() => L.value.reduce((e, t) => e + Math.max(0, t.value), 0)), z = l(() => I.value.width / 2), B = l(() => I.value.height / 2), V = l(() => Math.max(0, Math.min(I.value.width, I.value.height) / 2 - 8)), H = l(() => Math.max(0, Math.min(.95, k.innerRadius)) * V.value), U = l(() => {
|
|
63
|
-
if (!R.value) return [];
|
|
64
|
-
let e = -Math.PI / 2, t = [];
|
|
65
|
-
for (let n = 0; n < L.value.length; n++) {
|
|
66
|
-
let r = L.value[n], i = Math.max(0, r.value) / R.value, a = e, o = e + i * Math.PI * 2;
|
|
67
|
-
e = o;
|
|
68
|
-
let s = W(a, o, H.value, V.value), c = (a + o) / 2, l = H.value > 0 ? (H.value + V.value) / 2 : V.value * .65, u = Math.cos(c) * l, d = Math.sin(c) * l, f = k.labels === "percent" ? `${Math.round(i * 100)}%` : k.labels === "value" ? String(r.value) : "";
|
|
69
|
-
t.push({
|
|
70
|
-
path: s,
|
|
71
|
-
color: r.color,
|
|
72
|
-
labelX: u,
|
|
73
|
-
labelY: d,
|
|
74
|
-
labelText: f,
|
|
75
|
-
labelColor: "var(--nb-c-white)",
|
|
76
|
-
startAngle: a,
|
|
77
|
-
endAngle: o,
|
|
78
|
-
value: r.value,
|
|
79
|
-
label: r.label
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
return t;
|
|
83
|
-
}), W = (e, t, n, r) => {
|
|
84
|
-
if (Math.abs(t - e) >= Math.PI * 2 - 1e-6) {
|
|
85
|
-
let e = `M ${r} 0 A ${r} ${r} 0 1 1 ${-r} 0 A ${r} ${r} 0 1 1 ${r} 0 Z`;
|
|
86
|
-
return n <= 0 ? e : `${e} ${`M ${n} 0 A ${n} ${n} 0 1 0 ${-n} 0 A ${n} ${n} 0 1 0 ${n} 0 Z`}`;
|
|
87
|
-
}
|
|
88
|
-
let i = Math.cos(e) * r, a = Math.sin(e) * r, o = Math.cos(t) * r, s = Math.sin(t) * r, c = t - e > Math.PI ? 1 : 0;
|
|
89
|
-
if (n <= 0) return `M 0 0 L ${i} ${a} A ${r} ${r} 0 ${c} 1 ${o} ${s} Z`;
|
|
90
|
-
let l = Math.cos(t) * n, u = Math.sin(t) * n, d = Math.cos(e) * n, f = Math.sin(e) * n;
|
|
91
|
-
return [
|
|
92
|
-
`M ${i} ${a}`,
|
|
93
|
-
`A ${r} ${r} 0 ${c} 1 ${o} ${s}`,
|
|
94
|
-
`L ${l} ${u}`,
|
|
95
|
-
`A ${n} ${n} 0 ${c} 0 ${d} ${f}`,
|
|
96
|
-
"Z"
|
|
97
|
-
].join(" ");
|
|
98
|
-
}, G = b(null), K = b({
|
|
99
|
-
x: 0,
|
|
100
|
-
y: 0
|
|
101
|
-
}), q = (e) => {
|
|
102
|
-
let t = e.currentTarget.ownerSVGElement;
|
|
103
|
-
if (!t) return;
|
|
104
|
-
let n = t.getBoundingClientRect();
|
|
105
|
-
K.value = {
|
|
106
|
-
x: e.clientX - n.left + 12,
|
|
107
|
-
y: e.clientY - n.top + 12
|
|
108
|
-
};
|
|
109
|
-
}, J = l(() => {
|
|
110
|
-
if (G.value === null) return [];
|
|
111
|
-
let e = U.value[G.value];
|
|
112
|
-
if (!e) return [];
|
|
113
|
-
let t = R.value ? Math.round(e.value / R.value * 100) : 0;
|
|
114
|
-
return [{
|
|
115
|
-
label: e.label,
|
|
116
|
-
value: `${e.value} (${t}%)`,
|
|
117
|
-
color: e.color
|
|
118
|
-
}];
|
|
119
|
-
});
|
|
120
|
-
return (t, n) => (y(), u(a, {
|
|
121
|
-
title: e.title,
|
|
122
|
-
subtitle: e.subtitle,
|
|
123
|
-
height: e.height,
|
|
124
|
-
"show-legend": e.showLegend && L.value.length > 0
|
|
125
|
-
}, {
|
|
126
|
-
legend: w(() => [m(o, { items: L.value.map((e) => ({
|
|
127
|
-
label: e.label,
|
|
128
|
-
color: e.color
|
|
129
|
-
})) }, null, 8, ["items"])]),
|
|
130
|
-
default: w(() => [p("div", {
|
|
131
|
-
ref_key: "root",
|
|
132
|
-
ref: F,
|
|
133
|
-
class: "nb-pie-chart"
|
|
134
|
-
}, [(y(), f("svg", {
|
|
135
|
-
width: C(I).width,
|
|
136
|
-
height: C(I).height,
|
|
137
|
-
class: _(["nb-chart__svg", { "nb-chart__svg--selectable": M() }]),
|
|
138
|
-
role: M() ? "group" : "img",
|
|
139
|
-
"aria-label": e.title || C(h).chartPie,
|
|
140
|
-
onMouseleave: n[1] ||= (e) => G.value = null
|
|
141
|
-
}, [p("g", { transform: `translate(${z.value}, ${B.value})` }, [(y(!0), f(c, null, x(U.value, (e, t) => (y(), f("path", {
|
|
142
|
-
key: `slice-${t}`,
|
|
143
|
-
class: _(["nb-chart__slice", { "is-dim": G.value !== null && G.value !== t }]),
|
|
144
|
-
d: e.path,
|
|
145
|
-
fill: e.color,
|
|
146
|
-
tabindex: M() ? 0 : void 0,
|
|
147
|
-
role: M() ? "button" : void 0,
|
|
148
|
-
"aria-label": M() ? `${e.label}: ${e.value}` : void 0,
|
|
149
|
-
onMouseenter: (e) => G.value = t,
|
|
150
|
-
onMousemove: n[0] ||= (e) => q(e),
|
|
151
|
-
onClick: (e) => N(t),
|
|
152
|
-
onKeydown: (e) => P(e, t)
|
|
153
|
-
}, null, 42, D))), 128)), e.labels === "none" ? d("", !0) : (y(!0), f(c, { key: 0 }, x(U.value, (e, t) => (y(), f("text", {
|
|
154
|
-
key: `lab-${t}`,
|
|
155
|
-
class: "nb-chart__slice-label",
|
|
156
|
-
x: e.labelX,
|
|
157
|
-
y: e.labelY,
|
|
158
|
-
"text-anchor": "middle",
|
|
159
|
-
"dominant-baseline": "middle",
|
|
160
|
-
style: v({ fill: e.labelColor })
|
|
161
|
-
}, S(e.labelText), 13, O))), 128))], 8, E)], 42, T)), m(r, {
|
|
162
|
-
visible: e.showTooltip && G.value !== null,
|
|
163
|
-
x: K.value.x,
|
|
164
|
-
y: K.value.y,
|
|
165
|
-
rows: J.value
|
|
166
|
-
}, null, 8, [
|
|
167
|
-
"visible",
|
|
168
|
-
"x",
|
|
169
|
-
"y",
|
|
170
|
-
"rows"
|
|
171
|
-
])], 512)]),
|
|
172
|
-
_: 1
|
|
173
|
-
}, 8, [
|
|
174
|
-
"title",
|
|
175
|
-
"subtitle",
|
|
176
|
-
"height",
|
|
177
|
-
"show-legend"
|
|
178
|
-
]));
|
|
179
|
-
}
|
|
180
|
-
}), [["__scopeId", "data-v-fd8b338b"]]);
|
|
181
|
-
//#endregion
|
|
182
|
-
export { k as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./composables/useNbStrings.composable.cjs`);let n=require(`vue`);var r=[`aria-label`],i=[`stop-color`],a=[`stop-color`],o=[`d`,`fill`],s=[`d`,`stroke`,`stroke-width`],c=100,l=30,u=(0,n.defineComponent)({__name:`Sparkline`,props:{data:{},color:{default:`var(--nb-c-primary)`},height:{default:40},width:{default:`100%`},strokeWidth:{default:1.5},fill:{type:Boolean,default:!0},smooth:{type:Boolean,default:!0}},setup(e){let u=t.useNbStrings(),d=e,f=`0 0 ${c} ${l}`,p=`nb-sparkline-grad-${(0,n.useId)()}`,m=(0,n.computed)(()=>({width:typeof d.width==`number`?`${d.width}px`:d.width,height:typeof d.height==`number`?`${d.height}px`:d.height})),h=(0,n.computed)(()=>{let e=d.data;if(!e||e.length<2)return{line:``,area:``};let t=Math.max(...e),n=Math.min(...e),r=t-n||1,i=c/(e.length-1),a=l*.08,o=l-a*2,s=e.map((e,t)=>({x:t*i,y:l-a-(e-n)/r*o})),u=`M ${s[0].x.toFixed(2)} ${s[0].y.toFixed(2)}`;if(d.smooth)for(let e=1;e<s.length;e++){let t=s[e-1],n=s[e],r=t.x+i*.45,a=t.y,o=n.x-i*.45,c=n.y;u+=` C ${r.toFixed(2)} ${a.toFixed(2)}, ${o.toFixed(2)} ${c.toFixed(2)}, ${n.x.toFixed(2)} ${n.y.toFixed(2)}`}else for(let e=1;e<s.length;e++)u+=` L ${s[e].x.toFixed(2)} ${s[e].y.toFixed(2)}`;let f=s[s.length-1],p=`${u} L ${f.x.toFixed(2)} ${l} L ${s[0].x.toFixed(2)} ${l} Z`;return{line:u,area:p}});return(t,c)=>((0,n.openBlock)(),(0,n.createElementBlock)(`svg`,{class:`nb-sparkline`,style:(0,n.normalizeStyle)(m.value),viewBox:f,preserveAspectRatio:`none`,role:`img`,"aria-label":(0,n.unref)(u).chartSparkline,xmlns:`http://www.w3.org/2000/svg`},[(0,n.createElementVNode)(`defs`,null,[(0,n.createElementVNode)(`linearGradient`,{id:p,x1:`0`,y1:`0`,x2:`0`,y2:`1`},[(0,n.createElementVNode)(`stop`,{offset:`0%`,"stop-color":e.color,"stop-opacity":`0.3`},null,8,i),(0,n.createElementVNode)(`stop`,{offset:`100%`,"stop-color":e.color,"stop-opacity":`0`},null,8,a)])]),e.fill&&h.value.area?((0,n.openBlock)(),(0,n.createElementBlock)(`path`,{key:0,d:h.value.area,fill:`url(#${p})`,stroke:`none`},null,8,o)):(0,n.createCommentVNode)(``,!0),h.value.line?((0,n.openBlock)(),(0,n.createElementBlock)(`path`,{key:1,d:h.value.line,stroke:e.color,"stroke-width":e.strokeWidth,"vector-effect":`non-scaling-stroke`,fill:`none`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,8,s)):(0,n.createCommentVNode)(``,!0)],12,r))}}),d=e.t(u,[[`__scopeId`,`data-v-1627fc2f`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return d}});
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
-
import { useNbStrings as t } from "./composables/useNbStrings.composable.mjs";
|
|
3
|
-
import { computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, normalizeStyle as s, openBlock as c, unref as l, useId as u } from "vue";
|
|
4
|
-
//#region src/components/Charts/Sparkline.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var d = ["aria-label"], f = ["stop-color"], p = ["stop-color"], m = ["d", "fill"], h = [
|
|
6
|
-
"d",
|
|
7
|
-
"stroke",
|
|
8
|
-
"stroke-width"
|
|
9
|
-
], g = 100, _ = 30, v = /* @__PURE__ */ e(/* @__PURE__ */ o({
|
|
10
|
-
__name: "Sparkline",
|
|
11
|
-
props: {
|
|
12
|
-
data: {},
|
|
13
|
-
color: { default: "var(--nb-c-primary)" },
|
|
14
|
-
height: { default: 40 },
|
|
15
|
-
width: { default: "100%" },
|
|
16
|
-
strokeWidth: { default: 1.5 },
|
|
17
|
-
fill: {
|
|
18
|
-
type: Boolean,
|
|
19
|
-
default: !0
|
|
20
|
-
},
|
|
21
|
-
smooth: {
|
|
22
|
-
type: Boolean,
|
|
23
|
-
default: !0
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
setup(e) {
|
|
27
|
-
let o = t(), v = e, y = `0 0 ${g} ${_}`, b = `nb-sparkline-grad-${u()}`, x = n(() => ({
|
|
28
|
-
width: typeof v.width == "number" ? `${v.width}px` : v.width,
|
|
29
|
-
height: typeof v.height == "number" ? `${v.height}px` : v.height
|
|
30
|
-
})), S = n(() => {
|
|
31
|
-
let e = v.data;
|
|
32
|
-
if (!e || e.length < 2) return {
|
|
33
|
-
line: "",
|
|
34
|
-
area: ""
|
|
35
|
-
};
|
|
36
|
-
let t = Math.max(...e), n = Math.min(...e), r = t - n || 1, i = g / (e.length - 1), a = _ * .08, o = _ - a * 2, s = e.map((e, t) => ({
|
|
37
|
-
x: t * i,
|
|
38
|
-
y: _ - a - (e - n) / r * o
|
|
39
|
-
})), c = `M ${s[0].x.toFixed(2)} ${s[0].y.toFixed(2)}`;
|
|
40
|
-
if (v.smooth) for (let e = 1; e < s.length; e++) {
|
|
41
|
-
let t = s[e - 1], n = s[e], r = t.x + i * .45, a = t.y, o = n.x - i * .45, l = n.y;
|
|
42
|
-
c += ` C ${r.toFixed(2)} ${a.toFixed(2)}, ${o.toFixed(2)} ${l.toFixed(2)}, ${n.x.toFixed(2)} ${n.y.toFixed(2)}`;
|
|
43
|
-
}
|
|
44
|
-
else for (let e = 1; e < s.length; e++) c += ` L ${s[e].x.toFixed(2)} ${s[e].y.toFixed(2)}`;
|
|
45
|
-
let l = s[s.length - 1], u = `${c} L ${l.x.toFixed(2)} ${_} L ${s[0].x.toFixed(2)} ${_} Z`;
|
|
46
|
-
return {
|
|
47
|
-
line: c,
|
|
48
|
-
area: u
|
|
49
|
-
};
|
|
50
|
-
});
|
|
51
|
-
return (t, n) => (c(), i("svg", {
|
|
52
|
-
class: "nb-sparkline",
|
|
53
|
-
style: s(x.value),
|
|
54
|
-
viewBox: y,
|
|
55
|
-
preserveAspectRatio: "none",
|
|
56
|
-
role: "img",
|
|
57
|
-
"aria-label": l(o).chartSparkline,
|
|
58
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
59
|
-
}, [
|
|
60
|
-
a("defs", null, [a("linearGradient", {
|
|
61
|
-
id: b,
|
|
62
|
-
x1: "0",
|
|
63
|
-
y1: "0",
|
|
64
|
-
x2: "0",
|
|
65
|
-
y2: "1"
|
|
66
|
-
}, [a("stop", {
|
|
67
|
-
offset: "0%",
|
|
68
|
-
"stop-color": e.color,
|
|
69
|
-
"stop-opacity": "0.3"
|
|
70
|
-
}, null, 8, f), a("stop", {
|
|
71
|
-
offset: "100%",
|
|
72
|
-
"stop-color": e.color,
|
|
73
|
-
"stop-opacity": "0"
|
|
74
|
-
}, null, 8, p)])]),
|
|
75
|
-
e.fill && S.value.area ? (c(), i("path", {
|
|
76
|
-
key: 0,
|
|
77
|
-
d: S.value.area,
|
|
78
|
-
fill: `url(#${b})`,
|
|
79
|
-
stroke: "none"
|
|
80
|
-
}, null, 8, m)) : r("", !0),
|
|
81
|
-
S.value.line ? (c(), i("path", {
|
|
82
|
-
key: 1,
|
|
83
|
-
d: S.value.line,
|
|
84
|
-
stroke: e.color,
|
|
85
|
-
"stroke-width": e.strokeWidth,
|
|
86
|
-
"vector-effect": "non-scaling-stroke",
|
|
87
|
-
fill: "none",
|
|
88
|
-
"stroke-linecap": "round",
|
|
89
|
-
"stroke-linejoin": "round"
|
|
90
|
-
}, null, 8, h)) : r("", !0)
|
|
91
|
-
], 12, d));
|
|
92
|
-
}
|
|
93
|
-
}), [["__scopeId", "data-v-1627fc2f"]]);
|
|
94
|
-
//#endregion
|
|
95
|
-
export { v as t };
|
package/dist/Stat-BoQUn69z.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
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/useSurfaceLayer.composable.cjs`),i=require(`./Card.link-Bw2B_lPO.cjs`),a=require(`./Skeleton-CMuZJ1dR.cjs`);let o=require(`vue`),s=require(`@nubisco/ui/icons/arrow-up-right`);s=e.n(s);let c=require(`@nubisco/ui/icons/arrow-down-right`);c=e.n(c);let l=require(`@nubisco/ui/icons/minus`);l=e.n(l);var u={class:`nb-stat__label`},d={class:`nb-stat__value`},f={key:1},p={key:2,class:`nb-stat__comparison`},m=(0,o.defineComponent)({__name:`Stat`,props:{label:{},value:{default:void 0},status:{default:`neutral`},delta:{default:void 0},trend:{default:void 0},invertTrend:{type:Boolean,default:!1},comparison:{default:void 0},size:{default:`md`},loading:{type:Boolean,default:!1},to:{default:void 0},href:{default:void 0},target:{default:void 0},clickable:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:[`select`],setup(e,{emit:t}){let m=e,h=t,{layerProps:g}=r.useSurfaceLayer(),{tag:_,attrs:v,isInteractive:y,onClick:b,onKeydown:x}=i.t(m,e=>h(`select`,e)),S=(0,o.computed)(()=>m.size===`lg`?36:m.size===`sm`?20:28),C=(0,o.computed)(()=>m.trend===`up`?s:m.trend===`down`?c:m.trend===`flat`?l:null),w=(0,o.computed)(()=>m.trend===`up`?m.invertTrend?`negative`:`positive`:m.trend===`down`?m.invertTrend?`positive`:`negative`:`neutral`);return(t,r)=>((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)((0,o.unref)(_)),(0,o.mergeProps)({class:[`nb-stat`,[`nb-stat--${e.status}`,`nb-stat--${e.size}`,{"nb-stat--interactive":(0,o.unref)(y),"nb-stat--selected":e.selected,"nb-stat--disabled":e.disabled}]]},{...(0,o.unref)(v),...(0,o.unref)(g)},{"aria-busy":e.loading?!0:void 0,onClick:(0,o.unref)(b),onKeydown:(0,o.unref)(x)}),{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)(`span`,u,[(0,o.renderSlot)(t.$slots,`label`,{},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.label),1)],!0)]),(0,o.createElementVNode)(`span`,d,[e.loading?((0,o.openBlock)(),(0,o.createBlock)(a.t,{key:0,variant:`block`,height:S.value,width:`4.5ch`,radius:`sm`},null,8,[`height`])):(0,o.renderSlot)(t.$slots,`value`,{key:1},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.value),1)],!0)]),!e.loading&&(e.delta||e.trend||e.comparison||t.$slots.delta)?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,{key:0,class:(0,o.normalizeClass)([`nb-stat__delta`,e.trend?`nb-stat__delta--${w.value}`:null])},[(0,o.renderSlot)(t.$slots,`delta`,{},()=>[C.value?((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:0,name:C.value,size:`sm`,class:`nb-stat__trend`,"aria-hidden":`true`},null,8,[`name`])):(0,o.createCommentVNode)(``,!0),e.delta?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,f,(0,o.toDisplayString)(e.delta),1)):(0,o.createCommentVNode)(``,!0),e.comparison?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,p,(0,o.toDisplayString)(e.comparison),1)):(0,o.createCommentVNode)(``,!0)],!0)],2)):(0,o.createCommentVNode)(``,!0)]),_:3},16,[`class`,`aria-busy`,`onClick`,`onKeydown`]))}}),h=t.t(m,[[`__scopeId`,`data-v-f708c9e1`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
|
package/dist/Stat-Bz0NCLTm.js
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
-
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
|
-
import { useSurfaceLayer as n } from "./composables/useSurfaceLayer.composable.mjs";
|
|
4
|
-
import { t as r } from "./Card.link-CdvubtHJ.js";
|
|
5
|
-
import { t as i } from "./Skeleton-Hmb5a2G_.js";
|
|
6
|
-
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, defineComponent as d, mergeProps as f, normalizeClass as p, openBlock as m, renderSlot as h, resolveDynamicComponent as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
|
|
7
|
-
import * as b from "@nubisco/ui/icons/arrow-up-right";
|
|
8
|
-
import * as x from "@nubisco/ui/icons/arrow-down-right";
|
|
9
|
-
import * as S from "@nubisco/ui/icons/minus";
|
|
10
|
-
//#region src/components/Stat.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
-
var C = { class: "nb-stat__label" }, w = { class: "nb-stat__value" }, T = { key: 1 }, E = {
|
|
12
|
-
key: 2,
|
|
13
|
-
class: "nb-stat__comparison"
|
|
14
|
-
}, D = /* @__PURE__ */ e(/* @__PURE__ */ d({
|
|
15
|
-
__name: "Stat",
|
|
16
|
-
props: {
|
|
17
|
-
label: {},
|
|
18
|
-
value: { default: void 0 },
|
|
19
|
-
status: { default: "neutral" },
|
|
20
|
-
delta: { default: void 0 },
|
|
21
|
-
trend: { default: void 0 },
|
|
22
|
-
invertTrend: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: !1
|
|
25
|
-
},
|
|
26
|
-
comparison: { default: void 0 },
|
|
27
|
-
size: { default: "md" },
|
|
28
|
-
loading: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: !1
|
|
31
|
-
},
|
|
32
|
-
to: { default: void 0 },
|
|
33
|
-
href: { default: void 0 },
|
|
34
|
-
target: { default: void 0 },
|
|
35
|
-
clickable: {
|
|
36
|
-
type: Boolean,
|
|
37
|
-
default: !1
|
|
38
|
-
},
|
|
39
|
-
selected: {
|
|
40
|
-
type: Boolean,
|
|
41
|
-
default: !1
|
|
42
|
-
},
|
|
43
|
-
disabled: {
|
|
44
|
-
type: Boolean,
|
|
45
|
-
default: !1
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
emits: ["select"],
|
|
49
|
-
setup(e, { emit: d }) {
|
|
50
|
-
let D = e, O = d, { layerProps: k } = n(), { tag: A, attrs: j, isInteractive: M, onClick: N, onKeydown: P } = r(D, (e) => O("select", e)), F = a(() => D.size === "lg" ? 36 : D.size === "sm" ? 20 : 28), I = a(() => D.trend === "up" ? b : D.trend === "down" ? x : D.trend === "flat" ? S : null), L = a(() => D.trend === "up" ? D.invertTrend ? "negative" : "positive" : D.trend === "down" ? D.invertTrend ? "positive" : "negative" : "neutral");
|
|
51
|
-
return (n, r) => (m(), o(g(v(A)), f({ class: ["nb-stat", [
|
|
52
|
-
`nb-stat--${e.status}`,
|
|
53
|
-
`nb-stat--${e.size}`,
|
|
54
|
-
{
|
|
55
|
-
"nb-stat--interactive": v(M),
|
|
56
|
-
"nb-stat--selected": e.selected,
|
|
57
|
-
"nb-stat--disabled": e.disabled
|
|
58
|
-
}
|
|
59
|
-
]] }, {
|
|
60
|
-
...v(j),
|
|
61
|
-
...v(k)
|
|
62
|
-
}, {
|
|
63
|
-
"aria-busy": e.loading ? !0 : void 0,
|
|
64
|
-
onClick: v(N),
|
|
65
|
-
onKeydown: v(P)
|
|
66
|
-
}), {
|
|
67
|
-
default: y(() => [
|
|
68
|
-
l("span", C, [h(n.$slots, "label", {}, () => [u(_(e.label), 1)], !0)]),
|
|
69
|
-
l("span", w, [e.loading ? (m(), o(i, {
|
|
70
|
-
key: 0,
|
|
71
|
-
variant: "block",
|
|
72
|
-
height: F.value,
|
|
73
|
-
width: "4.5ch",
|
|
74
|
-
radius: "sm"
|
|
75
|
-
}, null, 8, ["height"])) : h(n.$slots, "value", { key: 1 }, () => [u(_(e.value), 1)], !0)]),
|
|
76
|
-
!e.loading && (e.delta || e.trend || e.comparison || n.$slots.delta) ? (m(), c("span", {
|
|
77
|
-
key: 0,
|
|
78
|
-
class: p(["nb-stat__delta", e.trend ? `nb-stat__delta--${L.value}` : null])
|
|
79
|
-
}, [h(n.$slots, "delta", {}, () => [
|
|
80
|
-
I.value ? (m(), o(t, {
|
|
81
|
-
key: 0,
|
|
82
|
-
name: I.value,
|
|
83
|
-
size: "sm",
|
|
84
|
-
class: "nb-stat__trend",
|
|
85
|
-
"aria-hidden": "true"
|
|
86
|
-
}, null, 8, ["name"])) : s("", !0),
|
|
87
|
-
e.delta ? (m(), c("span", T, _(e.delta), 1)) : s("", !0),
|
|
88
|
-
e.comparison ? (m(), c("span", E, _(e.comparison), 1)) : s("", !0)
|
|
89
|
-
], !0)], 2)) : s("", !0)
|
|
90
|
-
]),
|
|
91
|
-
_: 3
|
|
92
|
-
}, 16, [
|
|
93
|
-
"class",
|
|
94
|
-
"aria-busy",
|
|
95
|
-
"onClick",
|
|
96
|
-
"onKeydown"
|
|
97
|
-
]));
|
|
98
|
-
}
|
|
99
|
-
}), [["__scopeId", "data-v-f708c9e1"]]);
|
|
100
|
-
//#endregion
|
|
101
|
-
export { D as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`);let t=require(`vue`);var n={key:0,class:`nb-chart__header`},r={key:0,class:`nb-chart__title`},i={key:1,class:`nb-chart__subtitle`},a=(0,t.defineComponent)({__name:`ChartFrame`,props:{title:{default:void 0},subtitle:{default:void 0},height:{default:280},showLegend:{type:Boolean,default:!0}},setup(e,{expose:a}){let o=e,s=(0,t.ref)(null),c=(0,t.computed)(()=>{let e=o.height;return typeof e==`number`||/^\d+(\.\d+)?$/.test(e)?`${e}px`:e});return a({viewport:s}),(a,o)=>((0,t.openBlock)(),(0,t.createElementBlock)(`figure`,{class:`nb-chart`,style:(0,t.normalizeStyle)({height:c.value})},[e.title||e.subtitle?((0,t.openBlock)(),(0,t.createElementBlock)(`figcaption`,n,[e.title?((0,t.openBlock)(),(0,t.createElementBlock)(`h4`,r,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)(``,!0),e.subtitle?((0,t.openBlock)(),(0,t.createElementBlock)(`p`,i,(0,t.toDisplayString)(e.subtitle),1)):(0,t.createCommentVNode)(``,!0)])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,{ref_key:`viewport`,ref:s,class:`nb-chart__viewport`},[(0,t.renderSlot)(a.$slots,`default`,{},void 0,!0)],512),e.showLegend?(0,t.renderSlot)(a.$slots,`legend`,{key:1},void 0,!0):(0,t.createCommentVNode)(``,!0)],4))}}),o=e.t(a,[[`__scopeId`,`data-v-6b1bfb8f`]]),s={key:0,class:`nb-chart__tooltip-title`},c={class:`nb-chart__tooltip-rows`},l={class:`nb-chart__tooltip-label`},u={class:`nb-chart__tooltip-value`},d=(0,t.defineComponent)({__name:`ChartTooltip`,props:{visible:{type:Boolean},x:{},y:{},title:{},rows:{}},setup(e){return(n,r)=>((0,t.openBlock)(),(0,t.createBlock)(t.Transition,{name:`nb-chart-tooltip`},{default:(0,t.withCtx)(()=>[e.visible?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:`nb-chart__tooltip`,style:(0,t.normalizeStyle)({transform:`translate(${e.x}px, ${e.y}px)`}),role:`tooltip`},[e.title?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,s,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`ul`,c,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.rows,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{key:`${e.label}-${n}`,class:`nb-chart__tooltip-row`},[(0,t.createElementVNode)(`span`,{class:`nb-chart__tooltip-swatch`,style:(0,t.normalizeStyle)({background:e.color})},null,4),(0,t.createElementVNode)(`span`,l,(0,t.toDisplayString)(e.label),1),(0,t.createElementVNode)(`span`,u,(0,t.toDisplayString)(e.value),1)]))),128))])],4)):(0,t.createCommentVNode)(``,!0)]),_:1}))}}),f=e.t(d,[[`__scopeId`,`data-v-b7e5e28b`]]),p=8,m=[`var(--nb-c-chart-1)`,`var(--nb-c-chart-2)`,`var(--nb-c-chart-3)`,`var(--nb-c-chart-4)`,`var(--nb-c-chart-5)`,`var(--nb-c-chart-6)`,`var(--nb-c-chart-7)`,`var(--nb-c-chart-8)`],h=(e,t=m)=>{let n=t.length>0?t:m;return n[((Number.isFinite(e)?Math.trunc(e):0)%n.length+n.length)%n.length]},g=e=>`var(--nb-c-chart-${(Math.trunc(e)-1+8)%8+1})`,_=[2,4,5,8,3,6,1,7],v=[2,5,8,6,1,7,4,3],y=(e,t={})=>{let n=Number.isFinite(e)?Math.trunc(e):0;if(n<=0)return[];let r=t.mark===`line`?v:_;return Array.from({length:n},(e,t)=>g(r[t%r.length]))},b=e=>Number.isFinite(e)?Math.min(1,Math.max(0,e)):0,x=(e,t,n)=>`color-mix(in oklab, ${t} ${(b(n)*100).toFixed(2)}%, ${e})`,S=e=>x(`var(--nb-c-chart-sequential-from)`,`var(--nb-c-chart-sequential-to)`,e),C=e=>{let t=b(e);return t<=.5?x(`var(--nb-c-chart-diverging-low)`,`var(--nb-c-chart-diverging-mid)`,t*2):x(`var(--nb-c-chart-diverging-mid)`,`var(--nb-c-chart-diverging-high)`,(t-.5)*2)},w=(e,t=S)=>{let n=Math.max(1,Math.trunc(e));return n===1?[t(1)]:Array.from({length:n},(e,r)=>t(r/(n-1)))};Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return S}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return o}});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|