@nubisco/ui 5.50.1 → 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-DHXJJRrw.js → AiProvider-CwQByPUa.js} +5 -5
- package/dist/{AiProvider-C5ezIeiH.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-DMpa5j7m.cjs → Breadcrumbs-C_dG1eHp.cjs} +1 -1
- package/dist/{Breadcrumbs-BDsy1vNm.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-DbrEaYlJ.cjs → Confirm-CQMJX0lc.cjs} +1 -1
- package/dist/{Confirm-CZNS6FNr.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-fS84mRE6.js → DatePicker-DKNte5ZT.js} +95 -91
- package/dist/DatePicker-l-HrmC9V.cjs +1 -0
- 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-04v9eS0u.cjs +1 -0
- package/dist/{NumberInput-B-TvTlXI.js → NumberInput-DmKNMQLk.js} +51 -51
- 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-CQJYl76w.js → Pagination-DLDVJush.js} +2 -2
- package/dist/{Pagination-Sm4rX7gH.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-CfH1Q9GB.cjs → Search-BxYPouus.cjs} +1 -1
- package/dist/{Search-BnGuTcHp.js → Search-CI787J6m.js} +2 -2
- package/dist/{Select-C4s5Eek6.cjs → Select-C77tReXr.cjs} +1 -1
- package/dist/{Select-CuiJz35r.js → Select-CAXyp4ou.js} +6 -6
- 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-D3YgGPcY.cjs → Slider-CtN6andn.cjs} +1 -1
- package/dist/{Slider-BP-oEeJs.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/Submenu-DK6C5mjc.cjs +1 -0
- package/dist/Submenu-M1q8mdSB.js +164 -0
- 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-DqaVhKud.js → TextInput-DG8aUZeu.js} +3 -3
- package/dist/{TextInput-BVTKUEey.cjs → TextInput-r8ap24-5.cjs} +2 -2
- 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/DatePicker.vue.d.ts.map +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/Menu.d.ts +7 -0
- 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/NumberInput.vue.d.ts.map +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/Submenu.vue.d.ts +1 -0
- package/dist/components/Submenu.vue.d.ts.map +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/TextInput.vue.d.ts.map +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 +3 -0
- package/dist/composables/useNbStrings.composable.d.ts.map +1 -1
- package/dist/composables/useNbStrings.composable.mjs +2 -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/NumberInput.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/TextInput.css +1 -1
- package/dist/styles/palette.css +1 -1
- package/dist/ui.css +10 -10
- 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/DatePicker-Du21bjhe.cjs +0 -1
- package/dist/LineChart-CGXpi9l8.cjs +0 -1
- package/dist/NumberInput-DaZI9hc3.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/Submenu-DRkHiWsD.cjs +0 -1
- package/dist/Submenu-Dnj5MiFy.js +0 -149
- 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/{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,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./Button-
|
|
1
|
+
import { t as e } from "./Button-CxJMKPpw.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
3
|
import { useStableId as ee } from "./composables/useStableId.composable.mjs";
|
|
4
4
|
import { useNbStrings as n } from "./composables/useNbStrings.composable.mjs";
|
|
@@ -27,7 +27,7 @@ var oe = [
|
|
|
27
27
|
key: 0,
|
|
28
28
|
class: "nb-number-input__asterisk",
|
|
29
29
|
"aria-hidden": "true"
|
|
30
|
-
},
|
|
30
|
+
}, de = { class: "nb-number-input__fluid-row" }, w = [
|
|
31
31
|
"id",
|
|
32
32
|
"aria-invalid",
|
|
33
33
|
"aria-describedby",
|
|
@@ -37,7 +37,7 @@ var oe = [
|
|
|
37
37
|
"step",
|
|
38
38
|
"disabled",
|
|
39
39
|
"required"
|
|
40
|
-
],
|
|
40
|
+
], T = { class: "nb-number-input__steppers" }, E = /* @__PURE__ */ t(/* @__PURE__ */ p({
|
|
41
41
|
__name: "NumberInput",
|
|
42
42
|
props: {
|
|
43
43
|
modelValue: { default: null },
|
|
@@ -63,51 +63,51 @@ var oe = [
|
|
|
63
63
|
size: { default: "md" }
|
|
64
64
|
},
|
|
65
65
|
emits: ["update:modelValue", "change"],
|
|
66
|
-
setup(t, { expose: p, emit:
|
|
67
|
-
let
|
|
66
|
+
setup(t, { expose: p, emit: E }) {
|
|
67
|
+
let D = n(), O = t, k = E, A = g(null), j = g(!1), M = re(O, ee({})), N = M.grouped, P = M.id, F = M.size, I = M.disabled, { ids: L, messageId: fe, invalid: R, live: z, key: B } = i(O, P), V = o(() => ne(N ? void 0 : fe.value, M.describedBy.value)), H = o(() => R.value ?? (M.status.value === "error" ? "true" : void 0)), U = o(() => !N && !!O.error || M.status.value === "error"), W = o(() => !U.value && (!N && !!O.warning || M.status.value === "warning")), G = o(() => O.min !== void 0 && O.modelValue !== null && O.modelValue !== void 0 && O.modelValue <= O.min), K = o(() => O.max !== void 0 && O.modelValue !== null && O.modelValue !== void 0 && O.modelValue >= O.max);
|
|
68
68
|
function q(e) {
|
|
69
69
|
let t = e;
|
|
70
|
-
return
|
|
70
|
+
return O.min !== void 0 && (t = Math.max(O.min, t)), O.max !== void 0 && (t = Math.min(O.max, t)), t;
|
|
71
71
|
}
|
|
72
72
|
function J(e) {
|
|
73
|
-
|
|
73
|
+
A.value && (A.value.value = e == null ? "" : String(e));
|
|
74
74
|
}
|
|
75
|
-
ie(() => J(
|
|
76
|
-
|
|
75
|
+
ie(() => J(O.modelValue)), ae(() => O.modelValue, (e) => {
|
|
76
|
+
j.value || J(e);
|
|
77
77
|
});
|
|
78
78
|
function Y() {
|
|
79
|
-
let e = q((
|
|
80
|
-
|
|
79
|
+
let e = q((O.modelValue ?? 0) + O.step);
|
|
80
|
+
k("update:modelValue", e), k("change", e), J(e);
|
|
81
81
|
}
|
|
82
82
|
function X() {
|
|
83
|
-
let e = q((
|
|
84
|
-
|
|
83
|
+
let e = q((O.modelValue ?? 0) - O.step);
|
|
84
|
+
k("update:modelValue", e), k("change", e), J(e);
|
|
85
85
|
}
|
|
86
86
|
function Z() {
|
|
87
|
-
if (!
|
|
88
|
-
let e =
|
|
89
|
-
if (e === "")
|
|
87
|
+
if (!A.value) return;
|
|
88
|
+
let e = A.value.value;
|
|
89
|
+
if (e === "") k("update:modelValue", null);
|
|
90
90
|
else {
|
|
91
91
|
let t = parseFloat(e);
|
|
92
|
-
isNaN(t) ||
|
|
92
|
+
isNaN(t) || k("update:modelValue", t);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
function Q() {
|
|
96
|
-
if (
|
|
97
|
-
let e =
|
|
96
|
+
if (j.value = !1, !A.value) return;
|
|
97
|
+
let e = A.value.value;
|
|
98
98
|
if (e === "") {
|
|
99
|
-
|
|
99
|
+
k("update:modelValue", null), k("change", null);
|
|
100
100
|
return;
|
|
101
101
|
}
|
|
102
102
|
let t = parseFloat(e);
|
|
103
103
|
if (!isNaN(t)) {
|
|
104
104
|
let e = q(t);
|
|
105
|
-
|
|
105
|
+
k("update:modelValue", e), k("change", e), J(e);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
let
|
|
108
|
+
let pe = o(() => [
|
|
109
109
|
"nb-number-input",
|
|
110
|
-
`nb-number-input--${
|
|
110
|
+
`nb-number-input--${O.variant}`,
|
|
111
111
|
`nb-number-input--${F.value}`,
|
|
112
112
|
{
|
|
113
113
|
"nb-number-input--error": U.value,
|
|
@@ -115,13 +115,13 @@ var oe = [
|
|
|
115
115
|
"nb-number-input--disabled": I.value
|
|
116
116
|
}
|
|
117
117
|
]), $ = o(() => ({
|
|
118
|
-
"nb-number-input__field-wrapper--focused":
|
|
118
|
+
"nb-number-input__field-wrapper--focused": j.value,
|
|
119
119
|
"nb-number-input__field-wrapper--error": U.value,
|
|
120
120
|
"nb-number-input__field-wrapper--warning": W.value,
|
|
121
121
|
"nb-number-input__field-wrapper--disabled": I.value
|
|
122
122
|
}));
|
|
123
|
-
return p({ focus: () =>
|
|
124
|
-
t.label ? (h(), s(te, {
|
|
123
|
+
return p({ focus: () => A.value?.focus() }), (ee, n) => (h(), l("div", { class: m(pe.value) }, [t.variant === "default" ? (h(), l(a, { key: 0 }, [
|
|
124
|
+
t.label && !v(N) ? (h(), s(te, {
|
|
125
125
|
key: 0,
|
|
126
126
|
for: v(P),
|
|
127
127
|
required: t.required,
|
|
@@ -138,7 +138,7 @@ var oe = [
|
|
|
138
138
|
u("input", {
|
|
139
139
|
id: v(P),
|
|
140
140
|
ref_key: "inputRef",
|
|
141
|
-
ref:
|
|
141
|
+
ref: A,
|
|
142
142
|
"aria-invalid": H.value,
|
|
143
143
|
"aria-describedby": V.value,
|
|
144
144
|
type: "number",
|
|
@@ -151,10 +151,10 @@ var oe = [
|
|
|
151
151
|
required: t.required,
|
|
152
152
|
onInput: Z,
|
|
153
153
|
onBlur: Q,
|
|
154
|
-
onKeydown: n[0] ||= b(x(() =>
|
|
155
|
-
onFocus: n[1] ||= (e) =>
|
|
154
|
+
onKeydown: n[0] ||= b(x(() => A.value?.blur(), ["prevent"]), ["enter"]),
|
|
155
|
+
onFocus: n[1] ||= (e) => j.value = !0
|
|
156
156
|
}, null, 40, oe),
|
|
157
|
-
t.error ? (h(), s(r, {
|
|
157
|
+
t.error && !v(N) ? (h(), s(r, {
|
|
158
158
|
key: 0,
|
|
159
159
|
variant: "error",
|
|
160
160
|
"icon-only": !0,
|
|
@@ -164,7 +164,7 @@ var oe = [
|
|
|
164
164
|
}, {
|
|
165
165
|
default: y(() => [d(_(t.error), 1)]),
|
|
166
166
|
_: 1
|
|
167
|
-
})) : t.warning ? (h(), s(r, {
|
|
167
|
+
})) : t.warning && !v(N) ? (h(), s(r, {
|
|
168
168
|
key: 1,
|
|
169
169
|
variant: "warning",
|
|
170
170
|
"icon-only": !0,
|
|
@@ -184,7 +184,7 @@ var oe = [
|
|
|
184
184
|
variant: "ghost",
|
|
185
185
|
icon: v(C),
|
|
186
186
|
size: v(F),
|
|
187
|
-
label: v(
|
|
187
|
+
label: v(D).numberInputDecrease,
|
|
188
188
|
"tooltip-position": "top",
|
|
189
189
|
class: m(["nb-number-input__stepper", { "nb-number-input__stepper--at-limit": G.value }]),
|
|
190
190
|
tabindex: "-1",
|
|
@@ -208,7 +208,7 @@ var oe = [
|
|
|
208
208
|
variant: "ghost",
|
|
209
209
|
icon: v(S),
|
|
210
210
|
size: v(F),
|
|
211
|
-
label: v(
|
|
211
|
+
label: v(D).numberInputIncrease,
|
|
212
212
|
"tooltip-position": "top",
|
|
213
213
|
class: m(["nb-number-input__stepper", { "nb-number-input__stepper--at-limit": K.value }]),
|
|
214
214
|
tabindex: "-1",
|
|
@@ -226,7 +226,7 @@ var oe = [
|
|
|
226
226
|
])
|
|
227
227
|
])
|
|
228
228
|
], 2),
|
|
229
|
-
t.error ? (h(), s(r, {
|
|
229
|
+
t.error && !v(N) ? (h(), s(r, {
|
|
230
230
|
id: v(L).error,
|
|
231
231
|
key: v(B),
|
|
232
232
|
variant: "error",
|
|
@@ -235,7 +235,7 @@ var oe = [
|
|
|
235
235
|
}, {
|
|
236
236
|
default: y(() => [d(_(t.error), 1)]),
|
|
237
237
|
_: 1
|
|
238
|
-
}, 8, ["id", "live"])) : t.warning ? (h(), s(r, {
|
|
238
|
+
}, 8, ["id", "live"])) : t.warning && !v(N) ? (h(), s(r, {
|
|
239
239
|
id: v(L).warning,
|
|
240
240
|
key: v(B),
|
|
241
241
|
variant: "warning",
|
|
@@ -244,7 +244,7 @@ var oe = [
|
|
|
244
244
|
}, {
|
|
245
245
|
default: y(() => [d(_(t.warning), 1)]),
|
|
246
246
|
_: 1
|
|
247
|
-
}, 8, ["id", "live"])) : t.helper ? (h(), s(r, {
|
|
247
|
+
}, 8, ["id", "live"])) : t.helper && !v(N) ? (h(), s(r, {
|
|
248
248
|
id: v(L).helper,
|
|
249
249
|
key: v(B),
|
|
250
250
|
variant: "helper",
|
|
@@ -254,7 +254,7 @@ var oe = [
|
|
|
254
254
|
default: y(() => [d(_(t.helper), 1)]),
|
|
255
255
|
_: 1
|
|
256
256
|
}, 8, ["id", "live"])) : c("", !0)
|
|
257
|
-
], 64)) : t.variant === "fluid" ? (h(), l(a, { key: 1 }, [u("div", { class: m(["nb-number-input__field-wrapper", $.value]) }, [t.label ? (h(), l("div", ce, [u("label", {
|
|
257
|
+
], 64)) : t.variant === "fluid" ? (h(), l(a, { key: 1 }, [u("div", { class: m(["nb-number-input__field-wrapper", $.value]) }, [t.label && !v(N) ? (h(), l("div", ce, [u("label", {
|
|
258
258
|
for: v(P),
|
|
259
259
|
class: "nb-number-input__inner-label"
|
|
260
260
|
}, [d(_(t.label) + " ", 1), t.required ? (h(), l("span", ue, "*")) : c("", !0)], 8, le), t.helper && !t.error && !t.warning ? (h(), s(r, {
|
|
@@ -267,11 +267,11 @@ var oe = [
|
|
|
267
267
|
}, {
|
|
268
268
|
default: y(() => [d(_(t.helper), 1)]),
|
|
269
269
|
_: 1
|
|
270
|
-
}, 8, ["id"])) : c("", !0)])) : c("", !0), u("div",
|
|
270
|
+
}, 8, ["id"])) : c("", !0)])) : c("", !0), u("div", de, [
|
|
271
271
|
u("input", {
|
|
272
272
|
id: v(P),
|
|
273
273
|
ref_key: "inputRef",
|
|
274
|
-
ref:
|
|
274
|
+
ref: A,
|
|
275
275
|
"aria-invalid": H.value,
|
|
276
276
|
"aria-describedby": V.value,
|
|
277
277
|
type: "number",
|
|
@@ -284,10 +284,10 @@ var oe = [
|
|
|
284
284
|
required: t.required,
|
|
285
285
|
onInput: Z,
|
|
286
286
|
onBlur: Q,
|
|
287
|
-
onKeydown: n[4] ||= b(x(() =>
|
|
288
|
-
onFocus: n[5] ||= (e) =>
|
|
289
|
-
}, null, 40,
|
|
290
|
-
t.error ? (h(), s(r, {
|
|
287
|
+
onKeydown: n[4] ||= b(x(() => A.value?.blur(), ["prevent"]), ["enter"]),
|
|
288
|
+
onFocus: n[5] ||= (e) => j.value = !0
|
|
289
|
+
}, null, 40, w),
|
|
290
|
+
t.error && !v(N) ? (h(), s(r, {
|
|
291
291
|
key: 0,
|
|
292
292
|
variant: "error",
|
|
293
293
|
"icon-only": !0,
|
|
@@ -297,7 +297,7 @@ var oe = [
|
|
|
297
297
|
}, {
|
|
298
298
|
default: y(() => [d(_(t.error), 1)]),
|
|
299
299
|
_: 1
|
|
300
|
-
})) : t.warning ? (h(), s(r, {
|
|
300
|
+
})) : t.warning && !v(N) ? (h(), s(r, {
|
|
301
301
|
key: 1,
|
|
302
302
|
variant: "warning",
|
|
303
303
|
"icon-only": !0,
|
|
@@ -308,7 +308,7 @@ var oe = [
|
|
|
308
308
|
default: y(() => [d(_(t.warning), 1)]),
|
|
309
309
|
_: 1
|
|
310
310
|
})) : c("", !0),
|
|
311
|
-
u("div",
|
|
311
|
+
u("div", T, [
|
|
312
312
|
n[10] ||= u("span", {
|
|
313
313
|
class: "nb-number-input__divider",
|
|
314
314
|
"aria-hidden": "true"
|
|
@@ -317,7 +317,7 @@ var oe = [
|
|
|
317
317
|
variant: "ghost",
|
|
318
318
|
icon: v(C),
|
|
319
319
|
size: v(F),
|
|
320
|
-
label: v(
|
|
320
|
+
label: v(D).numberInputDecrease,
|
|
321
321
|
"tooltip-position": "top",
|
|
322
322
|
class: m(["nb-number-input__stepper", { "nb-number-input__stepper--at-limit": G.value }]),
|
|
323
323
|
tabindex: "-1",
|
|
@@ -341,7 +341,7 @@ var oe = [
|
|
|
341
341
|
variant: "ghost",
|
|
342
342
|
icon: v(S),
|
|
343
343
|
size: v(F),
|
|
344
|
-
label: v(
|
|
344
|
+
label: v(D).numberInputIncrease,
|
|
345
345
|
"tooltip-position": "top",
|
|
346
346
|
class: m(["nb-number-input__stepper", { "nb-number-input__stepper--at-limit": K.value }]),
|
|
347
347
|
tabindex: "-1",
|
|
@@ -358,7 +358,7 @@ var oe = [
|
|
|
358
358
|
"aria-disabled"
|
|
359
359
|
])
|
|
360
360
|
])
|
|
361
|
-
])], 2), t.error ? (h(), s(r, {
|
|
361
|
+
])], 2), t.error && !v(N) ? (h(), s(r, {
|
|
362
362
|
id: v(L).error,
|
|
363
363
|
key: v(B),
|
|
364
364
|
variant: "error",
|
|
@@ -367,7 +367,7 @@ var oe = [
|
|
|
367
367
|
}, {
|
|
368
368
|
default: y(() => [d(_(t.error), 1)]),
|
|
369
369
|
_: 1
|
|
370
|
-
}, 8, ["id", "live"])) : t.warning ? (h(), s(r, {
|
|
370
|
+
}, 8, ["id", "live"])) : t.warning && !v(N) ? (h(), s(r, {
|
|
371
371
|
id: v(L).warning,
|
|
372
372
|
key: v(B),
|
|
373
373
|
variant: "warning",
|
|
@@ -378,6 +378,6 @@ var oe = [
|
|
|
378
378
|
_: 1
|
|
379
379
|
}, 8, ["id", "live"])) : c("", !0)], 64)) : c("", !0)], 2));
|
|
380
380
|
}
|
|
381
|
-
}), [["__scopeId", "data-v-
|
|
381
|
+
}), [["__scopeId", "data-v-3d9d7c38"]]);
|
|
382
382
|
//#endregion
|
|
383
|
-
export {
|
|
383
|
+
export { E as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./Button-
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./Button-5ClGtoaz.cjs`),n=require(`./composables/useNbStrings.composable.cjs`),r=require(`./Toolbar.context-D3Uj5o0_.cjs`),i=require(`./Menu-Bs2Co1sl.cjs`),a=require(`./MenuItem-DFfE_k0L.cjs`);let o=require(`vue`),s=require(`@nubisco/ui/icons/dots-three`);s=e.n(s);var c={class:`nb-overflow-menu`},l=(0,o.defineComponent)({__name:`OverflowMenu`,props:{items:{default:()=>[]},label:{default:void 0},icon:{default:()=>s},size:{default:void 0},align:{default:`end`},disabled:{type:Boolean,default:!1},tooltipPosition:{default:`bottom`}},emits:[`select`,`update:open`],setup(e,{expose:s,emit:l}){let u=e,d=l,f=n.useNbStrings(),p=(0,o.inject)(r.t,null),m=(0,o.computed)(()=>u.label??f.value.overflowMenuLabel),h=(0,o.computed)(()=>{let e=u.size??p?.size.value??`md`;return e===`xxs`||e===`xs`?`xs`:e===`sm`||e===`md`?e:`lg`}),g=(0,o.ref)(!1),_=(0,o.ref)(null),v=(0,o.ref)(null);function y(){return v.value?.$el??null}let b=!1;function x(){b=g.value}function S(){if(u.disabled||g.value)return;let e=y()?.getBoundingClientRect();e&&_.value?.setPosition(e),g.value=!0,d(`update:open`,!0)}function C(){g.value&&(g.value=!1,d(`update:open`,!1))}function w(){if(b||g.value){b=!1,C();return}S()}function T(e){e.key===`ArrowDown`&&(e.preventDefault(),S())}function E(e){if(e)return;C();let t=document.activeElement;(!t||t===document.body||!t.isConnected)&&(0,o.nextTick)(()=>y()?.focus())}function D(e){e.disabled||e.loading||(e.onSelect?.(),d(`select`,e.id))}return s({open:S,close:C,isOpen:g}),(n,r)=>((0,o.openBlock)(),(0,o.createElementBlock)(`span`,c,[(0,o.createVNode)(t.t,{ref_key:`triggerRef`,ref:v,class:`nb-overflow-menu__trigger`,variant:`ghost`,size:e.size,icon:e.icon,label:m.value,"tooltip-position":e.tooltipPosition,disabled:e.disabled,"aria-haspopup":`menu`,"aria-expanded":g.value,onMousedown:x,onClick:w,onKeydown:T},null,8,[`size`,`icon`,`label`,`tooltip-position`,`disabled`,`aria-expanded`]),(0,o.createVNode)(i.t,{ref_key:`menuRef`,ref:_,open:g.value,size:h.value,align:e.align,"onUpdate:open":E},{default:(0,o.withCtx)(()=>[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.items,e=>((0,o.openBlock)(),(0,o.createBlock)(a.t,{key:e.id,label:e.label,icon:e.icon,disabled:e.disabled||e.loading,"disabled-reason":e.disabled?e.disabledReason:void 0,danger:e.danger,selectable:e.pressed!==void 0,selected:e.pressed,onSelect:t=>D(e)},null,8,[`label`,`icon`,`disabled`,`disabled-reason`,`danger`,`selectable`,`selected`,`onSelect`]))),128)),(0,o.renderSlot)(n.$slots,`default`)]),_:3},8,[`open`,`size`,`align`])]))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return l}});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./Button-
|
|
1
|
+
import { t as e } from "./Button-CxJMKPpw.js";
|
|
2
2
|
import { useNbStrings as t } from "./composables/useNbStrings.composable.mjs";
|
|
3
3
|
import { t as n } from "./Toolbar.context-Bli1SqM3.js";
|
|
4
4
|
import { t as r } from "./Menu-7EgnchVu.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./ActionGroup-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./ActionGroup-McCtSDV8.cjs`),n=require(`./PrimaryActionScope-Dp2gvqwk.cjs`);let r=require(`vue`);var i={key:0,class:`nb-page-header__eyebrow`},a={class:`nb-page-header__title-row`},o={class:`nb-page-header__heading`},s={class:`nb-page-header__title`},c={key:0,class:`nb-page-header__status`},l={key:0,class:`nb-page-header__actions`},u={key:1,class:`nb-page-header__description`},d={key:2,class:`nb-page-header__facts`},f=(0,r.defineComponent)({__name:`PageHeader`,props:{title:{default:void 0},actions:{default:void 0},sticky:{type:Boolean,default:!1}},setup(e){let f=(0,r.useSlots)();function p(e){let t=0;for(let n of e)if(n.type!==r.Comment){if(n.type===r.Text){typeof n.children==`string`&&n.children.trim()&&t++;continue}if(n.type===r.Fragment){Array.isArray(n.children)&&(t+=p(n.children));continue}t++}return t}let m=!1;function h(){if(m||typeof process<`u`&&process.env.NODE_ENV===`production`)return;let e=f.status?.();!e||p(e)<=1||(m=!0,console.warn(`[NbPageHeader] The status slot holds more than one element. A page header carries exactly one status badge: fold the rest into it, or move them into the facts. See https://docs.nubisco.io/ui/patterns/status-indicators`))}return(0,r.onMounted)(h),(0,r.onUpdated)(h),(f,p)=>((0,r.openBlock)(),(0,r.createElementBlock)(`header`,{class:(0,r.normalizeClass)([`nb-page-header`,{"nb-page-header--sticky":e.sticky}])},[f.$slots.eyebrow?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,i,[(0,r.renderSlot)(f.$slots,`eyebrow`,{},void 0,!0)])):(0,r.createCommentVNode)(``,!0),(0,r.createElementVNode)(`div`,a,[(0,r.createElementVNode)(`div`,o,[(0,r.createElementVNode)(`h1`,s,[(0,r.renderSlot)(f.$slots,`title`,{},()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.title),1)],!0)]),f.$slots.status?((0,r.openBlock)(),(0,r.createElementBlock)(`span`,c,[(0,r.renderSlot)(f.$slots,`status`,{},void 0,!0)])):(0,r.createCommentVNode)(``,!0)]),e.actions?.length||f.$slots.actions?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,l,[(0,r.createVNode)(n.t,{owner:`NbPageHeader`},{default:(0,r.withCtx)(()=>[e.actions?.length?((0,r.openBlock)(),(0,r.createBlock)(t.t,{key:0,items:e.actions,overflow:`phone`},null,8,[`items`])):(0,r.createCommentVNode)(``,!0),(0,r.renderSlot)(f.$slots,`actions`,{},void 0,!0)]),_:3})])):(0,r.createCommentVNode)(``,!0)]),f.$slots.description?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,u,[(0,r.renderSlot)(f.$slots,`description`,{},void 0,!0)])):(0,r.createCommentVNode)(``,!0),f.$slots.facts?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,d,[(0,r.renderSlot)(f.$slots,`facts`,{},void 0,!0)])):(0,r.createCommentVNode)(``,!0)],2))}}),p=e.t(f,[[`__scopeId`,`data-v-7b0d1ed1`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
-
import { t } from "./ActionGroup-
|
|
2
|
+
import { t } from "./ActionGroup-CkwZEnUN.js";
|
|
3
3
|
import { t as n } from "./PrimaryActionScope-sogYOZXZ.js";
|
|
4
4
|
import { Comment as r, Fragment as i, Text as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, normalizeClass as p, onMounted as m, onUpdated as h, openBlock as g, renderSlot as _, toDisplayString as v, useSlots as y, withCtx as b } from "vue";
|
|
5
5
|
//#region src/components/PageHeader.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./Button-
|
|
1
|
+
import { t as e } from "./Button-CxJMKPpw.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
3
|
import { useNbStrings as n } from "./composables/useNbStrings.composable.mjs";
|
|
4
4
|
import { r } from "./Size.d-DY4ZHW3-.js";
|
|
5
|
-
import { t as i } from "./Select-
|
|
5
|
+
import { t as i } from "./Select-CAXyp4ou.js";
|
|
6
6
|
import { computed as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, normalizeClass as u, openBlock as d, toDisplayString as f, unref as p } from "vue";
|
|
7
7
|
import { regular as m } from "@nubisco/ui/icons/caret-right";
|
|
8
8
|
import { regular as h } from "@nubisco/ui/icons/caret-left";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Button-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Button-5ClGtoaz.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./composables/useNbStrings.composable.cjs`),r=require(`./Size.d-BQ4_AVQe.cjs`),i=require(`./Select-C77tReXr.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/caret-right`),s=require(`@nubisco/ui/icons/caret-left`);var c=[`aria-label`],l={class:`nb-pagination__left`},u={class:`nb-pagination__page-size`},d={class:`nb-pagination__label`},f={class:`nb-pagination__range`,"aria-live":`polite`},p={class:`nb-pagination__right`},m={class:`nb-pagination__page-of`},h=(0,a.defineComponent)({__name:`Pagination`,props:{page:{},pageSize:{},total:{},pageSizeOptions:{default:()=>[10,20,30,40,50]},size:{default:r.r.Medium},disabled:{type:Boolean,default:!1},pageSizeLabel:{default:`Items per page:`},itemLabel:{default:`items`}},emits:[`update:page`,`update:pageSize`],setup(t,{emit:r}){let h=n.useNbStrings(),g=t,_=r,v=(0,a.computed)(()=>g.size),y=(0,a.computed)(()=>g.pageSizeOptions.includes(g.pageSize)?g.pageSizeOptions:[...g.pageSizeOptions,g.pageSize].sort((e,t)=>e-t)),b=(0,a.computed)(()=>y.value.map(e=>({label:String(e),value:e}))),x=(0,a.computed)(()=>Math.max(1,Math.ceil(g.total/Math.max(1,g.pageSize)))),S=(0,a.computed)(()=>Math.min(Math.max(1,g.page),x.value)),C=(0,a.computed)(()=>g.total===0?0:(S.value-1)*g.pageSize+1),w=(0,a.computed)(()=>Math.min(S.value*g.pageSize,g.total));function T(e){let t=Math.min(Math.max(1,e),x.value);t!==g.page&&_(`update:page`,t)}function E(e){let t=Number(e);!Number.isFinite(t)||t===g.pageSize||(_(`update:pageSize`,t),g.page!==1&&_(`update:page`,1))}return(n,r)=>((0,a.openBlock)(),(0,a.createElementBlock)(`nav`,{class:(0,a.normalizeClass)([`nb-pagination`,`nb-pagination--${t.size}`]),"aria-label":(0,a.unref)(h).paginationLabel},[(0,a.createElementVNode)(`div`,l,[(0,a.createElementVNode)(`label`,u,[(0,a.createElementVNode)(`span`,d,(0,a.toDisplayString)(t.pageSizeLabel),1),(0,a.createVNode)(i.t,{size:`xs`,"model-value":t.pageSize,options:b.value,disabled:t.disabled,"onUpdate:modelValue":E},null,8,[`model-value`,`options`,`disabled`])]),(0,a.createElementVNode)(`span`,f,(0,a.toDisplayString)((0,a.unref)(h).paginationRange(C.value,w.value,t.total,t.itemLabel)),1)]),(0,a.createElementVNode)(`div`,p,[(0,a.createElementVNode)(`span`,m,(0,a.toDisplayString)((0,a.unref)(h).paginationPageOf(S.value,x.value)),1),(0,a.createVNode)(e.t,{class:`nb-pagination__nav`,variant:`ghost`,size:v.value,icon:(0,a.unref)(s.regular),disabled:t.disabled||S.value<=1,label:(0,a.unref)(h).paginationPrevious,onClick:r[0]||=e=>T(S.value-1)},null,8,[`size`,`icon`,`disabled`,`label`]),(0,a.createVNode)(e.t,{class:`nb-pagination__nav`,variant:`ghost`,size:v.value,icon:(0,a.unref)(o.regular),disabled:t.disabled||S.value>=x.value,label:(0,a.unref)(h).paginationNext,onClick:r[1]||=e=>T(S.value+1)},null,8,[`size`,`icon`,`disabled`,`label`])])],10,c))}}),g=t.t(h,[[`__scopeId`,`data-v-fe753271`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return g}});
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
+
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
|
+
import { NB_LAYER_INJECTION_KEY as n, clampLayer as r, useSurfaceLayer as i } from "./composables/useSurfaceLayer.composable.mjs";
|
|
4
|
+
import { t as a } from "./PrimaryActionScope-sogYOZXZ.js";
|
|
5
|
+
import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, mergeProps as m, openBlock as h, provide as g, renderSlot as _, resolveDynamicComponent as v, toDisplayString as y, unref as b, useSlots as x, withCtx as S } from "vue";
|
|
6
|
+
//#region src/components/Panel.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var C = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "nb-panel__header"
|
|
10
|
+
}, w = { class: "nb-panel__heading" }, T = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "nb-panel__title-row"
|
|
13
|
+
}, E = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "nb-panel__lead"
|
|
16
|
+
}, D = {
|
|
17
|
+
key: 2,
|
|
18
|
+
class: "nb-panel__meta"
|
|
19
|
+
}, O = {
|
|
20
|
+
key: 1,
|
|
21
|
+
class: "nb-panel__description"
|
|
22
|
+
}, k = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "nb-panel__actions"
|
|
25
|
+
}, A = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
26
|
+
__name: "Panel",
|
|
27
|
+
props: {
|
|
28
|
+
layer: { default: void 0 },
|
|
29
|
+
title: { default: void 0 },
|
|
30
|
+
icon: { default: void 0 },
|
|
31
|
+
description: { default: void 0 },
|
|
32
|
+
headingLevel: { default: "h2" },
|
|
33
|
+
flat: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: !1
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
setup(e) {
|
|
39
|
+
let p = e, A = x(), j = o(() => !!p.title || !!p.description || !!A.meta || !!A.actions), { level: M, layerProps: N } = i({
|
|
40
|
+
level: () => p.layer,
|
|
41
|
+
provideContext: !1
|
|
42
|
+
});
|
|
43
|
+
return g(n, o(() => p.flat ? M.value : r(M.value + 1))), (n, r) => (h(), l("div", m({ class: ["nb-panel", { "nb-panel--flat": e.flat }] }, e.flat ? void 0 : b(N)), [j.value ? (h(), l("div", C, [u("div", w, [e.title || n.$slots.meta ? (h(), l("div", T, [e.icon && e.title ? (h(), l("span", E, [f(t, {
|
|
44
|
+
name: e.icon,
|
|
45
|
+
size: 20,
|
|
46
|
+
class: "nb-panel__icon",
|
|
47
|
+
"aria-hidden": "true"
|
|
48
|
+
}, null, 8, ["name"]), (h(), s(v(e.headingLevel), { class: "nb-panel__title" }, {
|
|
49
|
+
default: S(() => [d(y(e.title), 1)]),
|
|
50
|
+
_: 1
|
|
51
|
+
}))])) : e.title ? (h(), s(v(e.headingLevel), {
|
|
52
|
+
key: 1,
|
|
53
|
+
class: "nb-panel__title"
|
|
54
|
+
}, {
|
|
55
|
+
default: S(() => [d(y(e.title), 1)]),
|
|
56
|
+
_: 1
|
|
57
|
+
})) : c("", !0), n.$slots.meta ? (h(), l("span", D, [_(n.$slots, "meta", {}, void 0, !0)])) : c("", !0)])) : c("", !0), e.description ? (h(), l("p", O, y(e.description), 1)) : c("", !0)]), n.$slots.actions ? (h(), l("div", k, [f(a, { owner: "NbPanel" }, {
|
|
58
|
+
default: S(() => [_(n.$slots, "actions", {}, void 0, !0)]),
|
|
59
|
+
_: 3
|
|
60
|
+
})])) : c("", !0)])) : c("", !0), _(n.$slots, "default", {}, void 0, !0)], 16));
|
|
61
|
+
}
|
|
62
|
+
}), [["__scopeId", "data-v-4a7240b2"]]);
|
|
63
|
+
//#endregion
|
|
64
|
+
export { A as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./Icon-CssV4E2-.cjs`),n=require(`./composables/useSurfaceLayer.composable.cjs`),r=require(`./PrimaryActionScope-Dp2gvqwk.cjs`);let i=require(`vue`);var a={key:0,class:`nb-panel__header`},o={class:`nb-panel__heading`},s={key:0,class:`nb-panel__title-row`},c={key:0,class:`nb-panel__lead`},l={key:2,class:`nb-panel__meta`},u={key:1,class:`nb-panel__description`},d={key:0,class:`nb-panel__actions`},f=(0,i.defineComponent)({__name:`Panel`,props:{layer:{default:void 0},title:{default:void 0},icon:{default:void 0},description:{default:void 0},headingLevel:{default:`h2`},flat:{type:Boolean,default:!1}},setup(e){let f=e,p=(0,i.useSlots)(),m=(0,i.computed)(()=>!!f.title||!!f.description||!!p.meta||!!p.actions),{level:h,layerProps:g}=n.useSurfaceLayer({level:()=>f.layer,provideContext:!1});return(0,i.provide)(n.NB_LAYER_INJECTION_KEY,(0,i.computed)(()=>f.flat?h.value:n.clampLayer(h.value+1))),(n,f)=>((0,i.openBlock)(),(0,i.createElementBlock)(`div`,(0,i.mergeProps)({class:[`nb-panel`,{"nb-panel--flat":e.flat}]},e.flat?void 0:(0,i.unref)(g)),[m.value?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,a,[(0,i.createElementVNode)(`div`,o,[e.title||n.$slots.meta?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,s,[e.icon&&e.title?((0,i.openBlock)(),(0,i.createElementBlock)(`span`,c,[(0,i.createVNode)(t.t,{name:e.icon,size:20,class:`nb-panel__icon`,"aria-hidden":`true`},null,8,[`name`]),((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.headingLevel),{class:`nb-panel__title`},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.title),1)]),_:1}))])):e.title?((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.headingLevel),{key:1,class:`nb-panel__title`},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.title),1)]),_:1})):(0,i.createCommentVNode)(``,!0),n.$slots.meta?((0,i.openBlock)(),(0,i.createElementBlock)(`span`,l,[(0,i.renderSlot)(n.$slots,`meta`,{},void 0,!0)])):(0,i.createCommentVNode)(``,!0)])):(0,i.createCommentVNode)(``,!0),e.description?((0,i.openBlock)(),(0,i.createElementBlock)(`p`,u,(0,i.toDisplayString)(e.description),1)):(0,i.createCommentVNode)(``,!0)]),n.$slots.actions?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,d,[(0,i.createVNode)(r.t,{owner:`NbPanel`},{default:(0,i.withCtx)(()=>[(0,i.renderSlot)(n.$slots,`actions`,{},void 0,!0)]),_:3})])):(0,i.createCommentVNode)(``,!0)])):(0,i.createCommentVNode)(``,!0),(0,i.renderSlot)(n.$slots,`default`,{},void 0,!0)],16))}}),p=e.t(f,[[`__scopeId`,`data-v-4a7240b2`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./composables/useNbStrings.composable.cjs`),n=require(`./palette-MlQ_k4iu.cjs`),r=require(`./ChartLegend-COJeG-2B.cjs`),i=require(`./useChartSize-CUZ7BuGD.cjs`),a=require(`./useChartEntrance-D8vJ7eWq.cjs`);let o=require(`vue`);var s=[`width`,`height`,`role`,`aria-label`],c={key:0},l=[`x`,`y`,`width`,`height`],u=[`r`,`stroke-width`],d=[`transform`,`mask`],f=[`d`,`fill`,`tabindex`,`role`,`aria-label`,`onMouseenter`,`onClick`,`onKeydown`],p=[`x`,`y`],m=(0,o.defineComponent)({__name:`PieChart`,props:{data:{default:()=>[]},innerRadius:{default:0},labels:{default:`percent`},title:{default:void 0},subtitle:{default:void 0},height:{default:280},showLegend:{type:Boolean,default:!0},showTooltip:{type:Boolean,default:!0},colors:{default:()=>n.n},animate:{type:Boolean,default:!1}},emits:[`select`],setup(e,{emit:m}){let h=t.useNbStrings(),g=e,_=m,v=(0,o.getCurrentInstance)(),y=()=>!!v?.vnode.props?.onSelect,b=e=>{if(!y())return;let t=g.data[e];t&&_(`select`,{kind:`categorical`,label:t.label,value:t.value,index:e,datum:t})},x=(e,t)=>{y()&&(e.key!==`Enter`&&e.key!==` `||(e.preventDefault(),b(t)))},{runKey:S}=a.t(()=>g.animate,()=>g.data),C=`nb-pie-sweep-${(0,o.useId)()}`,w=(0,o.ref)(!0);(0,o.watch)(S,()=>{w.value=!0});let T=(0,o.ref)(null),E=i.t(T,{width:280,height:240}),D=(0,o.computed)(()=>g.data.map((e,t)=>({label:e.label,value:e.value,color:e.color??n.i(t,g.colors)}))),O=(0,o.computed)(()=>D.value.reduce((e,t)=>e+Math.max(0,t.value),0)),k=(0,o.computed)(()=>E.value.width/2),A=(0,o.computed)(()=>E.value.height/2),j=(0,o.computed)(()=>Math.max(0,Math.min(E.value.width,E.value.height)/2-8)),M=(0,o.computed)(()=>Math.max(0,Math.min(.95,g.innerRadius))*j.value),N=(0,o.computed)(()=>{if(!O.value)return[];let e=-Math.PI/2,t=[];for(let n=0;n<D.value.length;n++){let r=D.value[n],i=Math.max(0,r.value)/O.value,a=e,o=e+i*Math.PI*2;e=o;let s=P(a,o,M.value,j.value),c=(a+o)/2,l=M.value>0?(M.value+j.value)/2:j.value*.65,u=Math.cos(c)*l,d=Math.sin(c)*l,f=g.labels===`percent`?`${Math.round(i*100)}%`:g.labels===`value`?String(r.value):``;t.push({path:s,color:r.color,labelX:u,labelY:d,labelText:f,labelColor:`var(--nb-c-white)`,startAngle:a,endAngle:o,value:r.value,label:r.label})}return t}),P=(e,t,n,r)=>{if(Math.abs(t-e)>=Math.PI*2-1e-6){let e=`M ${r} 0 A ${r} ${r} 0 1 1 ${-r} 0 A ${r} ${r} 0 1 1 ${r} 0 Z`;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`}`}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;if(n<=0)return`M 0 0 L ${i} ${a} A ${r} ${r} 0 ${c} 1 ${o} ${s} Z`;let l=Math.cos(t)*n,u=Math.sin(t)*n,d=Math.cos(e)*n,f=Math.sin(e)*n;return[`M ${i} ${a}`,`A ${r} ${r} 0 ${c} 1 ${o} ${s}`,`L ${l} ${u}`,`A ${n} ${n} 0 ${c} 0 ${d} ${f}`,`Z`].join(` `)},F=(0,o.ref)(null),I=(0,o.ref)({x:0,y:0}),L=e=>{let t=e.currentTarget.ownerSVGElement;if(!t)return;let n=t.getBoundingClientRect();I.value={x:e.clientX-n.left+12,y:e.clientY-n.top+12}},R=(0,o.computed)(()=>{if(F.value===null)return[];let e=N.value[F.value];if(!e)return[];let t=O.value?Math.round(e.value/O.value*100):0;return[{label:e.label,value:`${e.value} (${t}%)`,color:e.color}]});return(t,i)=>((0,o.openBlock)(),(0,o.createBlock)(n.u,{title:e.title,subtitle:e.subtitle,height:e.height,"show-legend":e.showLegend&&D.value.length>0},{legend:(0,o.withCtx)(()=>[(0,o.createVNode)(r.t,{items:D.value.map(e=>({label:e.label,color:e.color}))},null,8,[`items`])]),default:(0,o.withCtx)(()=>[(0,o.createElementVNode)(`div`,{ref_key:`root`,ref:T,class:`nb-pie-chart`},[((0,o.openBlock)(),(0,o.createElementBlock)(`svg`,{width:(0,o.unref)(E).width,height:(0,o.unref)(E).height,class:(0,o.normalizeClass)([`nb-chart__svg`,{"nb-chart__svg--selectable":y(),"nb-chart__svg--animate":e.animate}]),role:y()?`group`:`img`,"aria-label":e.title||(0,o.unref)(h).chartPie,onMouseleave:i[2]||=e=>F.value=null},[e.animate?((0,o.openBlock)(),(0,o.createElementBlock)(`defs`,c,[(0,o.createElementVNode)(`mask`,{id:C,maskUnits:`userSpaceOnUse`,x:-j.value,y:-j.value,width:j.value*2,height:j.value*2},[((0,o.openBlock)(),(0,o.createElementBlock)(`circle`,{key:(0,o.unref)(S),class:`nb-chart__sweep`,r:j.value/2,fill:`none`,stroke:`white`,"stroke-width":j.value,pathLength:`1`,transform:`rotate(-90)`,onAnimationend:i[0]||=e=>w.value=!1},null,40,u))],8,l)])):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`g`,{transform:`translate(${k.value}, ${A.value})`,mask:e.animate&&w.value?`url(#${C})`:void 0},[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(N.value,(e,t)=>((0,o.openBlock)(),(0,o.createElementBlock)(`path`,{key:`slice-${t}`,class:(0,o.normalizeClass)([`nb-chart__slice`,{"is-dim":F.value!==null&&F.value!==t}]),d:e.path,fill:e.color,tabindex:y()?0:void 0,role:y()?`button`:void 0,"aria-label":y()?`${e.label}: ${e.value}`:void 0,onMouseenter:e=>F.value=t,onMousemove:i[1]||=e=>L(e),onClick:e=>b(t),onKeydown:e=>x(e,t)},null,42,f))),128)),e.labels===`none`?(0,o.createCommentVNode)(``,!0):((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,{key:0},(0,o.renderList)(N.value,(e,t)=>((0,o.openBlock)(),(0,o.createElementBlock)(`text`,{key:`lab-${t}`,class:`nb-chart__slice-label`,x:e.labelX,y:e.labelY,"text-anchor":`middle`,"dominant-baseline":`middle`,style:(0,o.normalizeStyle)({fill:e.labelColor})},(0,o.toDisplayString)(e.labelText),13,p))),128))],8,d)],42,s)),(0,o.createVNode)(n.l,{visible:e.showTooltip&&F.value!==null,x:I.value.x,y:I.value.y,rows:R.value},null,8,[`visible`,`x`,`y`,`rows`])],512)]),_:1},8,[`title`,`subtitle`,`height`,`show-legend`]))}}),h=e.t(m,[[`__scopeId`,`data-v-6f3d824f`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
|