@nubisco/ui 5.47.0 → 5.48.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/README.md +1 -1
- package/THIRD_PARTY_NOTICES.md +35 -0
- package/dist/{Accordion-CD_BZ3Xb.cjs → Accordion-BeKz0oeM.cjs} +1 -1
- package/dist/{Accordion-2bbHhUR3.js → Accordion-Cx0hbUIx.js} +3 -3
- package/dist/{AccordionItem-BybHChPs.js → AccordionItem-DFwj28eL.js} +6 -6
- package/dist/{AccordionItem-D6mruuMX.cjs → AccordionItem-DhZD2kJL.cjs} +1 -1
- package/dist/{ActionGroup-D3Gl1-JX.js → ActionGroup-CJoBGUvw.js} +53 -52
- package/dist/ActionGroup-CU9YQboQ.cjs +1 -0
- package/dist/AiLabel-DywBjSzr.js +240 -0
- package/dist/AiLabel-pRN10dQV.cjs +1 -0
- package/dist/{AiProvider-HhveBBc_.js → AiProvider-D8O_YaaP.js} +6 -6
- package/dist/{AiProvider-CXIEBABi.cjs → AiProvider-DY1xxZff.cjs} +1 -1
- package/dist/{AiUsage-DFo022zD.cjs → AiUsage-DRj51zK5.cjs} +1 -1
- package/dist/{AiUsage-CFdp1EMH.js → AiUsage-HcYF6RQ2.js} +13 -12
- package/dist/BackToTop-C5gFfuu7.cjs +1 -0
- package/dist/BackToTop-DZhl6N_Q.js +56 -0
- package/dist/Badge-BFsoJcCK.js +70 -0
- package/dist/Badge-CfICqXrd.cjs +1 -0
- package/dist/{Banner-CsxChQ3U.js → Banner-5uX-ujbu.js} +5 -5
- package/dist/Banner-CiIQKSxv.cjs +1 -0
- package/dist/BarChart-IX4imFVT.cjs +1 -0
- package/dist/BarChart-tB6MOMoR.js +400 -0
- package/dist/{Blueprint-lTBswuCE.js → Blueprint-46DWDZmu.js} +5 -5
- package/dist/{Blueprint-BBRar8Vu.cjs → Blueprint-NyUNNf-G.cjs} +1 -1
- package/dist/{BlueprintBackground-Ez4ICRal.js → BlueprintBackground-5OOF-VpK.js} +1 -1
- package/dist/{BlueprintBackground-BpkT_8A8.cjs → BlueprintBackground-D_JokLTK.cjs} +1 -1
- package/dist/BlueprintCard-Cda5rPZu.cjs +1 -0
- package/dist/{BlueprintCard-CsOQhmxj.js → BlueprintCard-DDNP1vkk.js} +111 -110
- package/dist/BlueprintControls-D0MdXrVv.js +222 -0
- package/dist/BlueprintControls-DnUoI9qp.cjs +1 -0
- package/dist/BlueprintMinimap-CACuVJqI.cjs +1 -0
- package/dist/BlueprintMinimap-Ehrltju2.js +163 -0
- package/dist/Board-BNB96CXm.cjs +1 -0
- package/dist/{Board-CovoTYff.js → Board-CaFH4-Qw.js} +139 -138
- package/dist/BottomPanel-CYxavAS0.cjs +1 -0
- package/dist/BottomPanel-vFcIk2nf.js +115 -0
- package/dist/{Breadcrumbs-BievPitp.js → Breadcrumbs-B-pjVWeD.js} +7 -7
- package/dist/{Breadcrumbs-BxhAEegP.cjs → Breadcrumbs-CqDYLfIQ.cjs} +1 -1
- package/dist/{Briefing-DVkZ2qDG.cjs → Briefing-B_ofl8Rt.cjs} +1 -1
- package/dist/{Briefing-DOKq89AG.js → Briefing-CoDyU3k4.js} +3 -3
- package/dist/{BriefingDestination-Bt07cVas.js → BriefingDestination-CK4XdAOo.js} +2 -2
- package/dist/{BriefingDestination-DymsWBLL.cjs → BriefingDestination-DAu5S2HI.cjs} +1 -1
- package/dist/Button-C0N1cyOQ.cjs +1 -0
- package/dist/Button-CuwzIVWv.js +132 -0
- package/dist/Calendar-Bbk7bPW1.cjs +1 -0
- package/dist/{Calendar-BTE4rmqe.js → Calendar-EiqHtUG2.js} +1 -1
- package/dist/Card-B5FTcFEQ.cjs +1 -0
- package/dist/Card-DUTWbKv7.js +143 -0
- package/dist/{CardGrid-BXFxfmlA.js → CardGrid-BOhFOzTs.js} +7 -5
- package/dist/CardGrid-DzjiR2wg.cjs +1 -0
- package/dist/{ChartLegend-DGUo_MYi.cjs → ChartLegend-C81jju4k.cjs} +1 -1
- package/dist/{ChartLegend-BythwRMJ.js → ChartLegend-fsJqOyGj.js} +2 -2
- package/dist/Checkbox-7JJdh4sN.cjs +1 -0
- package/dist/{Checkbox-B_nSNoZ0.js → Checkbox-DXQpih7I.js} +23 -19
- package/dist/CheckboxGroup-B8T3zLQC.cjs +1 -0
- package/dist/CheckboxGroup-BHn1hpzh.js +70 -0
- package/dist/{ColorStrip-CeQebn7z.cjs → ColorStrip-AEg8dQbl.cjs} +1 -1
- package/dist/{ColorStrip-BSzZPdsl.js → ColorStrip-BW1nFTja.js} +17 -17
- package/dist/CommandPalette-C8-2XCrf.cjs +1 -0
- package/dist/CommandPalette-CD75Qytr.js +275 -0
- package/dist/Confirm-BA-t4jPF.cjs +1 -0
- package/dist/{Confirm-BZizwCO1.js → Confirm-MmMvMttu.js} +9 -9
- package/dist/ContainedList-7uMU4e4Z.js +48 -0
- package/dist/ContainedList-DV8kZgTS.cjs +1 -0
- package/dist/ContainedListItem-CSE8d5M6.js +69 -0
- package/dist/ContainedListItem-Dj7TcGpO.cjs +1 -0
- package/dist/{CopyButton-Bm1kmCNv.js → CopyButton-Bcc2BDJ8.js} +1 -1
- package/dist/{CopyButton-Bctl1-xC.cjs → CopyButton-CwHAVKQ6.cjs} +1 -1
- package/dist/DataTable-D4KrQH5E.js +485 -0
- package/dist/DataTable-DVJnvBQM.cjs +1 -0
- package/dist/DatePicker-BmuVSyZ3.cjs +1 -0
- package/dist/{DatePicker-On8SAmN4.js → DatePicker-CagtB0Sd.js} +234 -233
- package/dist/{DefinitionList-BH2HAPr3.cjs → DefinitionList-BuRW4drr.cjs} +1 -1
- package/dist/{DefinitionList-CCWqE3Kh.js → DefinitionList-DIPobaPW.js} +2 -2
- package/dist/{DragHandle-CCsaiV6I.js → DragHandle-dCNBfHJe.js} +3 -3
- package/dist/{DragHandle-BiRZHXXV.cjs → DragHandle-snItY92k.cjs} +1 -1
- package/dist/{EmptyState-DNIDvUi9.cjs → EmptyState-B8EM9ynK.cjs} +1 -1
- package/dist/{EmptyState-CAEo8pSi.js → EmptyState-D-fku2DD.js} +3 -3
- package/dist/Field-3S8uGW95.cjs +1 -0
- package/dist/{Field-BCzaQlaY.js → Field-DK5iec3Z.js} +17 -13
- package/dist/FileUploader-B9j-HmX3.js +193 -0
- package/dist/FileUploader-BolhAWrI.cjs +1 -0
- package/dist/{Flag-Mpl1_r4m.cjs → Flag-CNx_cE4Q.cjs} +1 -1
- package/dist/{Flag-B5E4tHa2.js → Flag-myXFwopO.js} +6 -6
- package/dist/{FloatingToolbar-CLQOPq4x.js → FloatingToolbar-CYOuKLd7.js} +2 -2
- package/dist/{FloatingToolbar-D7PkAjS7.cjs → FloatingToolbar-DxUUozlf.cjs} +1 -1
- package/dist/{Form-KF4-rBll.js → Form-1UVOFWaf.js} +1 -1
- package/dist/{Form-DLQDzw3T.cjs → Form-D6rgkJ_Y.cjs} +1 -1
- package/dist/GanttChart-B_LqsmcR.cjs +1 -0
- package/dist/GanttChart-cZguVXW8.js +468 -0
- package/dist/Grid-C0muGlj3.cjs +1 -0
- package/dist/{Grid-CVFkhOfa.js → Grid-jlgLOwom.js} +33 -5
- package/dist/Icon-B2tiGiqZ.js +119 -0
- package/dist/Icon-CssV4E2-.cjs +1 -0
- package/dist/{ImageCropper-xicq_NFy.js → ImageCropper-BFKMYthJ.js} +4 -4
- package/dist/{ImageCropper-B6aiAxIi.cjs → ImageCropper-CJ2mCj9z.cjs} +1 -1
- package/dist/{ImagePicker-DNtBcBbo.js → ImagePicker-CZEFzYC8.js} +3 -3
- package/dist/{ImagePicker-CTfZfaq9.cjs → ImagePicker-CebI8MDy.cjs} +1 -1
- package/dist/{InfoHint-KtTzQk1z.js → InfoHint-DVrm41q9.js} +4 -4
- package/dist/{InfoHint-DaBGsnrK.cjs → InfoHint-WYitTbYz.cjs} +1 -1
- package/dist/{InlineEdit-CqMv5XBG.js → InlineEdit-DViLVwtn.js} +5 -5
- package/dist/{InlineEdit-JuytHnWO.cjs → InlineEdit-DfkmTudh.cjs} +1 -1
- package/dist/{InlineLoading-CUycVgGa.cjs → InlineLoading-CB_1PwMx.cjs} +1 -1
- package/dist/{InlineLoading-D7ku7ugr.js → InlineLoading-D8T0WO05.js} +4 -4
- package/dist/InterpolationChart-CYWJFUcs.cjs +1 -0
- package/dist/InterpolationChart-CttBiNWU.js +320 -0
- package/dist/{Label-D1_MfuTA.js → Label-BDMCrURR.js} +2 -2
- package/dist/{Label-B9x4-i1C.cjs → Label-CTOPIIbR.cjs} +1 -1
- package/dist/LineChart-DNDSJQrB.cjs +1 -0
- package/dist/LineChart-J8gCM2Ba.js +310 -0
- package/dist/Menu-CLDGxi-1.cjs +1 -0
- package/dist/Menu-C_UsGyKX.js +177 -0
- package/dist/{MenuBar-BrOsK3Qa.js → MenuBar-DyJufs5b.js} +1 -1
- package/dist/{MenuBar-Bdz7lk2r.cjs → MenuBar-aLDr7-eJ.cjs} +1 -1
- package/dist/{MenuBarItem-DCArqyTW.cjs → MenuBarItem-B8H9KfFo.cjs} +1 -1
- package/dist/{MenuBarItem-BlRZXDnm.js → MenuBarItem-BLdVIz0j.js} +1 -1
- package/dist/{MenuDivider-Bz7uGAPE.cjs → MenuDivider-D75yF8o8.cjs} +1 -1
- package/dist/{MenuDivider-CEeFfvpa.js → MenuDivider-aZIXvYsH.js} +1 -1
- package/dist/{MenuItem-DSFh9Akf.js → MenuItem-BerQIsRQ.js} +7 -4
- package/dist/MenuItem-CvpxnM4W.cjs +1 -0
- package/dist/Message-BONOwoVY.js +56 -0
- package/dist/Message-Bija1nMK.cjs +1 -0
- package/dist/Modal-1i_nDqvM.cjs +1 -0
- package/dist/{Modal-C75Kf4t7.js → Modal-CxIl02xU.js} +59 -50
- package/dist/NotificationCenter-CXn7sGFw.cjs +1 -0
- package/dist/{NotificationCenter-bGbvX-iA.js → NotificationCenter-Cu_vs-jh.js} +11 -11
- package/dist/{NotificationCenterItem-BIhM59Xh.js → NotificationCenterItem-BbbBFYEu.js} +8 -7
- package/dist/{NotificationCenterItem-Dpj3jDEN.cjs → NotificationCenterItem-zdOMnxv1.cjs} +1 -1
- package/dist/NumberInput-CMxlZ54a.cjs +1 -0
- package/dist/NumberInput-Dy0leAIF.js +324 -0
- package/dist/PageHeader-BVcTzPcW.cjs +1 -0
- package/dist/PageHeader-CFMhwRcw.js +70 -0
- package/dist/PageLayout-DQKfOSQq.js +31 -0
- package/dist/PageLayout-Dw4JYS3k.cjs +1 -0
- package/dist/Pagination-VmE04nzc.cjs +1 -0
- package/dist/Pagination-zTp1lrSP.js +95 -0
- package/dist/Panel-7qPoq2lb.cjs +1 -0
- package/dist/Panel-D5OHjaTP.js +51 -0
- package/dist/PieChart-CAB3b8LE.js +182 -0
- package/dist/PieChart-Ct8oicOS.cjs +1 -0
- package/dist/PrimaryAction.context-2v_jcQAo.cjs +1 -0
- package/dist/PrimaryAction.context-BkYkcMlm.js +4 -0
- package/dist/PrimaryActionScope-B7VLsHzT.cjs +1 -0
- package/dist/PrimaryActionScope-CRdjZE0V.js +23 -0
- package/dist/{ProgressBar-DukxUvmt.cjs → ProgressBar-CfJJf7Sc.cjs} +1 -1
- package/dist/{ProgressBar-B26wk0nU.js → ProgressBar-DK-j6Bzv.js} +6 -6
- package/dist/Radio-CWWt_o_F.js +107 -0
- package/dist/Radio-D0YjKuB2.cjs +1 -0
- package/dist/{ReorderList-BMIf_x8B.js → ReorderList-B1CYGR0e.js} +3 -3
- package/dist/{ReorderList-97H8hsPW.cjs → ReorderList-DBW8TBu6.cjs} +1 -1
- package/dist/Select-Bz4tf2H_.cjs +1 -0
- package/dist/{Select-Dah-tYeb.js → Select-hL8I-aNK.js} +204 -177
- package/dist/Shell-BxGBrQsM.js +536 -0
- package/dist/Shell-BzXh23BU.cjs +1 -0
- package/dist/{ShellPanel-DAOuAPdn.js → ShellPanel-DzkkJYVd.js} +2 -2
- package/dist/{ShellPanel-CB_Rn_JF.cjs → ShellPanel-XYKkAc5n.cjs} +1 -1
- package/dist/{SidebarBrand-DLKszSpJ.cjs → SidebarBrand-CX-BgI4X.cjs} +1 -1
- package/dist/{SidebarBrand-ZZknryCa.js → SidebarBrand-FHBO4Dw3.js} +3 -3
- package/dist/{SidebarCollapseToggle-CCNVQPFh.cjs → SidebarCollapseToggle-DM-4DAEu.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-Dq-A6NAJ.js → SidebarCollapseToggle-W1Z_MUIC.js} +2 -2
- package/dist/{SidebarHeaderToggle-CRsdm90m.cjs → SidebarHeaderToggle-Bdh1Z9aF.cjs} +1 -1
- package/dist/{SidebarHeaderToggle-8K_NrpBm.js → SidebarHeaderToggle-C-QIOLnU.js} +5 -5
- package/dist/{SidebarLink-BeuUiOLd.cjs → SidebarLink-DTGVapwa.cjs} +1 -1
- package/dist/{SidebarLink-m9WhGcc2.js → SidebarLink-xtGCDABj.js} +2 -2
- package/dist/{SidebarMenu-N9opcSs0.cjs → SidebarMenu-CnsOBXeM.cjs} +1 -1
- package/dist/{SidebarMenu-ippvct70.js → SidebarMenu-D24o7HS-.js} +2 -2
- package/dist/{SidebarMenuGroup-RczOdr4t.js → SidebarMenuGroup-Bjc2IeK5.js} +5 -5
- package/dist/{SidebarMenuGroup-D1jYkspC.cjs → SidebarMenuGroup-DJasr_cx.cjs} +1 -1
- package/dist/{SidebarMenuItem-D8eFyD7l.js → SidebarMenuItem-CNunAuyB.js} +5 -5
- package/dist/{SidebarMenuItem-r_TpdHsD.cjs → SidebarMenuItem-DCR-nXAK.cjs} +1 -1
- package/dist/{SidebarStatus-DxJwYk3n.js → SidebarStatus-D-CfUYFc.js} +2 -2
- package/dist/{SidebarStatus-8xHtWS22.cjs → SidebarStatus-YfLW9xzC.cjs} +1 -1
- package/dist/{Skeleton-TgkyQXSq.js → Skeleton-C1e02dcW.js} +8 -3
- package/dist/Skeleton-CqZ9O0X0.cjs +1 -0
- package/dist/Slider-BAXKJCNG.js +405 -0
- package/dist/Slider-BaM5cclm.cjs +1 -0
- package/dist/Sparkline-MAi1Fh2T.cjs +1 -0
- package/dist/Sparkline-m3wbt-f1.js +95 -0
- package/dist/Spinner-CbBPddUx.js +160 -0
- package/dist/Spinner-PT95bjWq.cjs +1 -0
- package/dist/{Stat-DmdfVU4X.cjs → Stat-C9XaqyaG.cjs} +1 -1
- package/dist/{Stat-BHuShwuo.js → Stat-DJJln4rH.js} +6 -6
- package/dist/{Stepper-n2ZH-4Gf.js → Stepper-B4xqkWXg.js} +3 -3
- package/dist/{Stepper-Br62BsXD.cjs → Stepper-DV0q0Dfv.cjs} +1 -1
- package/dist/{StepperStep-BMts1ePk.js → StepperStep-BYhlgeb1.js} +10 -10
- package/dist/StepperStep-iGyGKnQL.cjs +1 -0
- package/dist/StructuredList-BSfuLANB.js +74 -0
- package/dist/StructuredList-h9JFXpF4.cjs +1 -0
- package/dist/{Submenu-D3kcN7Qm.js → Submenu-BnMaJKYm.js} +2 -2
- package/dist/{Submenu-DTqj37HQ.cjs → Submenu-Dxo3DUDA.cjs} +1 -1
- package/dist/{SuggestionList--DXpfDSJ.cjs → SuggestionList-BJjbVvt2.cjs} +1 -1
- package/dist/{SuggestionList-CNtaiJFb.js → SuggestionList-Bdx7CK__.js} +4 -4
- package/dist/{Switch-Bhn_b5ue.js → Switch-CbYMiEbQ.js} +7 -6
- package/dist/{Switch-DPxYeU1r.cjs → Switch-D3j7PPhY.cjs} +1 -1
- package/dist/TableOfContents-By2Non4K.cjs +1 -0
- package/dist/{TableOfContents-DvsufeVY.js → TableOfContents-CM0HKSde.js} +65 -57
- package/dist/{Tabs-S3I4uaTq.js → Tabs--lz44FBk.js} +4 -4
- package/dist/{Tabs-DPd-CKi1.cjs → Tabs-DKikiz0_.cjs} +1 -1
- package/dist/TextInput-BXyJQfGx.js +348 -0
- package/dist/TextInput-DKp819VS.cjs +2 -0
- package/dist/{Toast-BZZgBE9V.cjs → Toast-BKrvlON6.cjs} +1 -1
- package/dist/{Toast-CHqiHiKq.js → Toast-fRHhhjZV.js} +4 -4
- package/dist/{Toaster-CwLeMxh_.cjs → Toaster-CJMQM8JU.cjs} +1 -1
- package/dist/{Toaster-6tdIn4we.js → Toaster-DxBW9XQ0.js} +3 -3
- package/dist/Tree-CkcFwDr7.js +180 -0
- package/dist/Tree-DP2NPXOL.cjs +1 -0
- package/dist/TreeNode-CtklZefA.cjs +1 -0
- package/dist/TreeNode-DCnlEEpj.js +180 -0
- package/dist/{UserMenu-SokwKvM0.js → UserMenu-CWRMaPGO.js} +11 -11
- package/dist/{UserMenu-BtS4CcwB.cjs → UserMenu-GJHs1fKI.cjs} +1 -1
- package/dist/Video-D1WOYCYH.cjs +1 -0
- package/dist/Video-DrDqaCXl.js +104 -0
- package/dist/{Walkthrough-9SbBr6ig.cjs → Walkthrough-DXMDgB9t.cjs} +1 -1
- package/dist/{Walkthrough-BX3cVdLo.js → Walkthrough-D_vfYTWP.js} +3 -3
- package/dist/{Wireframe-CT2d4yey.js → Wireframe-BxUNaH2g.js} +1 -1
- package/dist/{Wireframe-YFaVOmuO.cjs → Wireframe-CL0rjsos.cjs} +1 -1
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +237 -223
- package/dist/component-styles.json +26 -1
- package/dist/components/Accordion.cjs +1 -1
- package/dist/components/Accordion.mjs +1 -1
- package/dist/components/AccordionItem.cjs +1 -1
- package/dist/components/AccordionItem.mjs +1 -1
- 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.d.ts +49 -4
- package/dist/components/AiLabel.mjs +1 -1
- package/dist/components/AiLabel.vue.d.ts +44 -2
- package/dist/components/AiLabel.vue.d.ts.map +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.d.ts +2 -0
- package/dist/components/AiUsage.mjs +1 -1
- package/dist/components/AiUsage.vue.d.ts +1 -0
- package/dist/components/AiUsage.vue.d.ts.map +1 -1
- package/dist/components/Avatar.cjs +1 -1
- package/dist/components/Avatar.mjs +1 -1
- package/dist/components/BackToTop.cjs +1 -1
- package/dist/components/BackToTop.mjs +1 -1
- package/dist/components/BackToTop.vue.d.ts.map +1 -1
- package/dist/components/Badge.cjs +1 -1
- package/dist/components/Badge.d.ts +22 -2
- package/dist/components/Badge.mjs +1 -1
- package/dist/components/Badge.vue.d.ts +7 -10
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/Banner.cjs +1 -1
- package/dist/components/Banner.mjs +1 -1
- package/dist/components/Banner.vue.d.ts.map +1 -1
- package/dist/components/Blueprint.cjs +1 -1
- package/dist/components/Blueprint.mjs +1 -1
- package/dist/components/Blueprint.vue.d.ts.map +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/BlueprintCard.vue.d.ts.map +1 -1
- package/dist/components/BlueprintControls.cjs +1 -1
- package/dist/components/BlueprintControls.mjs +1 -1
- package/dist/components/BlueprintControls.vue.d.ts.map +1 -1
- package/dist/components/BlueprintDomRenderer.vue.d.ts.map +1 -1
- package/dist/components/BlueprintMinimap.cjs +1 -1
- package/dist/components/BlueprintMinimap.mjs +1 -1
- package/dist/components/BlueprintMinimap.vue.d.ts.map +1 -1
- package/dist/components/Board.cjs +1 -1
- package/dist/components/Board.mjs +1 -1
- package/dist/components/Board.vue.d.ts.map +1 -1
- package/dist/components/BottomPanel.cjs +1 -1
- package/dist/components/BottomPanel.mjs +1 -1
- package/dist/components/BottomPanel.vue.d.ts.map +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.d.ts +14 -1
- package/dist/components/Button.mjs +1 -1
- package/dist/components/Button.vue.d.ts +1 -0
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/Calendar.cjs +1 -1
- package/dist/components/Calendar.d.ts +1 -1
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Calendar.vue.d.ts +1 -1
- package/dist/components/Calendar.vue.d.ts.map +1 -1
- package/dist/components/Card.cjs +1 -1
- package/dist/components/Card.mjs +1 -1
- package/dist/components/Card.vue.d.ts +14 -5
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/CardGrid.cjs +1 -1
- package/dist/components/CardGrid.d.ts +33 -1
- package/dist/components/CardGrid.mjs +1 -1
- package/dist/components/CardGrid.vue.d.ts.map +1 -1
- package/dist/components/Charts/BarChart.cjs +1 -1
- package/dist/components/Charts/BarChart.mjs +1 -1
- package/dist/components/Charts/BarChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/GanttChart.cjs +1 -1
- package/dist/components/Charts/GanttChart.d.ts +2 -0
- package/dist/components/Charts/GanttChart.mjs +1 -1
- package/dist/components/Charts/GanttChart.vue.d.ts +1 -0
- package/dist/components/Charts/GanttChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/InterpolationChart.cjs +1 -1
- package/dist/components/Charts/InterpolationChart.mjs +1 -1
- package/dist/components/Charts/InterpolationChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/LineChart.cjs +1 -1
- package/dist/components/Charts/LineChart.mjs +1 -1
- package/dist/components/Charts/LineChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/PieChart.cjs +1 -1
- package/dist/components/Charts/PieChart.mjs +1 -1
- package/dist/components/Charts/PieChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/Sparkline.cjs +1 -1
- package/dist/components/Charts/Sparkline.mjs +1 -1
- package/dist/components/Charts/Sparkline.vue.d.ts.map +1 -1
- package/dist/components/Charts/shared/palette.d.ts.map +1 -1
- package/dist/components/Checkbox.cjs +1 -1
- package/dist/components/Checkbox.mjs +1 -1
- package/dist/components/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/CheckboxGroup.cjs +1 -1
- package/dist/components/CheckboxGroup.context.d.ts +4 -0
- package/dist/components/CheckboxGroup.context.d.ts.map +1 -1
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/CheckboxGroup.vue.d.ts.map +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.d.ts +5 -0
- package/dist/components/CommandPalette.mjs +1 -1
- package/dist/components/CommandPalette.vue.d.ts +1 -0
- package/dist/components/CommandPalette.vue.d.ts.map +1 -1
- package/dist/components/Confirm.cjs +1 -1
- package/dist/components/Confirm.d.ts +4 -6
- package/dist/components/Confirm.env.d.ts +3 -2
- package/dist/components/Confirm.env.d.ts.map +1 -1
- package/dist/components/Confirm.mjs +1 -1
- package/dist/components/Confirm.vue.d.ts.map +1 -1
- package/dist/components/ContainedList.cjs +1 -0
- package/dist/components/ContainedList.d.ts +65 -0
- package/dist/components/ContainedList.mjs +2 -0
- package/dist/components/ContainedList.vue.d.ts +25 -0
- package/dist/components/ContainedList.vue.d.ts.map +1 -0
- package/dist/components/ContainedListItem.cjs +1 -0
- package/dist/components/ContainedListItem.d.ts +1 -0
- package/dist/components/ContainedListItem.mjs +2 -0
- package/dist/components/ContainedListItem.vue.d.ts +35 -0
- package/dist/components/ContainedListItem.vue.d.ts.map +1 -0
- 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.d.ts +6 -2
- package/dist/components/DataTable.mjs +1 -1
- package/dist/components/DataTable.vue.d.ts +1 -1
- package/dist/components/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DatePicker.cjs +1 -1
- package/dist/components/DatePicker.d.ts +1 -1
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/DatePicker.vue.d.ts +1 -1
- package/dist/components/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DefinitionList.cjs +1 -1
- package/dist/components/DefinitionList.mjs +1 -1
- package/dist/components/DefinitionListItem.cjs +1 -1
- package/dist/components/DefinitionListItem.mjs +1 -1
- package/dist/components/DragHandle.cjs +1 -1
- package/dist/components/DragHandle.mjs +1 -1
- package/dist/components/DragHandle.vue.d.ts.map +1 -1
- package/dist/components/EmptyState.cjs +1 -1
- package/dist/components/EmptyState.mjs +1 -1
- package/dist/components/Field.cjs +1 -1
- package/dist/components/Field.mjs +1 -1
- package/dist/components/Field.vue.d.ts +2 -1
- package/dist/components/Field.vue.d.ts.map +1 -1
- package/dist/components/FileUploader.cjs +1 -1
- package/dist/components/FileUploader.mjs +1 -1
- package/dist/components/FileUploader.vue.d.ts.map +1 -1
- package/dist/components/Flag.cjs +1 -1
- package/dist/components/Flag.mjs +1 -1
- package/dist/components/FloatingToolbar.cjs +1 -1
- package/dist/components/FloatingToolbar.mjs +1 -1
- package/dist/components/FloatingToolbar.vue.d.ts.map +1 -1
- package/dist/components/Form.cjs +1 -1
- package/dist/components/Form.mjs +1 -1
- package/dist/components/Grid.cjs +1 -1
- package/dist/components/Grid.d.ts +53 -4
- package/dist/components/Grid.mjs +1 -1
- package/dist/components/Grid.vue.d.ts +42 -4
- package/dist/components/Grid.vue.d.ts.map +1 -1
- package/dist/components/Icon.cjs +1 -1
- package/dist/components/Icon.d.ts +34 -6
- package/dist/components/Icon.mjs +1 -1
- package/dist/components/Icon.vue.d.ts +4 -4
- package/dist/components/Icon.vue.d.ts.map +1 -1
- package/dist/components/ImageCropper.cjs +1 -1
- package/dist/components/ImageCropper.mjs +1 -1
- package/dist/components/ImagePicker.cjs +1 -1
- package/dist/components/ImagePicker.mjs +1 -1
- package/dist/components/ImagePicker.vue.d.ts +1 -1
- package/dist/components/InfoHint.cjs +1 -1
- package/dist/components/InfoHint.d.ts +1 -1
- package/dist/components/InfoHint.mjs +1 -1
- package/dist/components/InfoHint.vue.d.ts.map +1 -1
- package/dist/components/InlineEdit.cjs +1 -1
- package/dist/components/InlineEdit.mjs +1 -1
- package/dist/components/InlineLoading.cjs +1 -1
- package/dist/components/InlineLoading.mjs +1 -1
- package/dist/components/JsonTree.cjs +1 -1
- package/dist/components/JsonTree.mjs +1 -1
- package/dist/components/Label.cjs +1 -1
- package/dist/components/Label.mjs +1 -1
- package/dist/components/Label.vue.d.ts.map +1 -1
- package/dist/components/Layer.cjs +1 -1
- package/dist/components/Layer.mjs +1 -1
- package/dist/components/Menu.cjs +1 -1
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/Menu.vue.d.ts.map +1 -1
- package/dist/components/MenuBar.cjs +1 -1
- package/dist/components/MenuBar.mjs +1 -1
- package/dist/components/MenuBarItem.cjs +1 -1
- package/dist/components/MenuBarItem.mjs +1 -1
- package/dist/components/MenuDivider.cjs +1 -1
- package/dist/components/MenuDivider.mjs +1 -1
- package/dist/components/MenuItem.cjs +1 -1
- package/dist/components/MenuItem.mjs +1 -1
- package/dist/components/MenuItem.vue.d.ts.map +1 -1
- package/dist/components/Message.cjs +1 -1
- package/dist/components/Message.d.ts +6 -0
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Message.vue.d.ts +1 -0
- package/dist/components/Message.vue.d.ts.map +1 -1
- package/dist/components/Modal.cjs +1 -1
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Modal.vue.d.ts +2 -2
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.d.ts +2 -3
- package/dist/components/NotificationCenter.mjs +1 -1
- package/dist/components/NotificationCenter.vue.d.ts +1 -1
- package/dist/components/NotificationCenter.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenterItem.cjs +1 -1
- package/dist/components/NotificationCenterItem.d.ts +4 -6
- package/dist/components/NotificationCenterItem.mjs +1 -1
- package/dist/components/NotificationCenterItem.vue.d.ts +1 -1
- package/dist/components/NotificationCenterItem.vue.d.ts.map +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/PageHeader.cjs +1 -0
- package/dist/components/PageHeader.d.ts +28 -0
- package/dist/components/PageHeader.mjs +2 -0
- package/dist/components/PageHeader.vue.d.ts +29 -0
- package/dist/components/PageHeader.vue.d.ts.map +1 -0
- package/dist/components/PageLayout.cjs +1 -0
- package/dist/components/PageLayout.d.ts +39 -0
- package/dist/components/PageLayout.mjs +2 -0
- package/dist/components/PageLayout.vue.d.ts +22 -0
- package/dist/components/PageLayout.vue.d.ts.map +1 -0
- package/dist/components/Pagination.cjs +1 -1
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Panel.cjs +1 -1
- package/dist/components/Panel.d.ts +29 -0
- package/dist/components/Panel.mjs +1 -1
- package/dist/components/Panel.vue.d.ts +10 -2
- package/dist/components/Panel.vue.d.ts.map +1 -1
- package/dist/components/PrimaryAction.context.d.ts +16 -0
- package/dist/components/PrimaryAction.context.d.ts.map +1 -0
- package/dist/components/PrimaryActionScope.vue.d.ts +18 -0
- package/dist/components/PrimaryActionScope.vue.d.ts.map +1 -0
- package/dist/components/ProgressBar.cjs +1 -1
- package/dist/components/ProgressBar.mjs +1 -1
- package/dist/components/ProgressBar.vue.d.ts.map +1 -1
- package/dist/components/Radio.cjs +1 -1
- package/dist/components/Radio.mjs +1 -1
- package/dist/components/Radio.vue.d.ts.map +1 -1
- package/dist/components/ReorderList.cjs +1 -1
- package/dist/components/ReorderList.mjs +1 -1
- package/dist/components/ReorderList.vue.d.ts.map +1 -1
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Select.vue.d.ts +1 -0
- package/dist/components/Select.vue.d.ts.map +1 -1
- package/dist/components/Shell.cjs +1 -1
- package/dist/components/Shell.d.ts +20 -0
- package/dist/components/Shell.mjs +1 -1
- package/dist/components/Shell.vue.d.ts +7 -4
- package/dist/components/Shell.vue.d.ts.map +1 -1
- package/dist/components/ShellPanel.cjs +1 -1
- package/dist/components/ShellPanel.mjs +1 -1
- package/dist/components/ShellPanel.vue.d.ts.map +1 -1
- package/dist/components/SidebarBrand.cjs +1 -1
- package/dist/components/SidebarBrand.mjs +1 -1
- package/dist/components/SidebarCollapseToggle.cjs +1 -1
- package/dist/components/SidebarCollapseToggle.mjs +1 -1
- package/dist/components/SidebarHeaderToggle.cjs +1 -1
- package/dist/components/SidebarHeaderToggle.mjs +1 -1
- package/dist/components/SidebarHeaderToggle.vue.d.ts.map +1 -1
- package/dist/components/SidebarLink.cjs +1 -1
- package/dist/components/SidebarLink.mjs +1 -1
- package/dist/components/SidebarMenu.cjs +1 -1
- package/dist/components/SidebarMenu.mjs +1 -1
- package/dist/components/SidebarMenuGroup.cjs +1 -1
- package/dist/components/SidebarMenuGroup.mjs +1 -1
- package/dist/components/SidebarMenuGroup.vue.d.ts.map +1 -1
- package/dist/components/SidebarMenuItem.cjs +1 -1
- package/dist/components/SidebarMenuItem.mjs +1 -1
- package/dist/components/SidebarMenuItem.vue.d.ts.map +1 -1
- package/dist/components/SidebarStatus.cjs +1 -1
- package/dist/components/SidebarStatus.mjs +1 -1
- package/dist/components/Skeleton.cjs +1 -1
- package/dist/components/Skeleton.d.ts +5 -0
- package/dist/components/Skeleton.mjs +1 -1
- package/dist/components/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/Slider.cjs +1 -1
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Slider.vue.d.ts.map +1 -1
- package/dist/components/Spinner.cjs +1 -1
- package/dist/components/Spinner.d.ts +3 -1
- package/dist/components/Spinner.mjs +1 -1
- package/dist/components/Spinner.vue.d.ts +6 -9
- package/dist/components/Spinner.vue.d.ts.map +1 -1
- package/dist/components/Stat.cjs +1 -1
- package/dist/components/Stat.mjs +1 -1
- 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/Stepper.vue.d.ts.map +1 -1
- package/dist/components/StepperStep.cjs +1 -1
- package/dist/components/StepperStep.mjs +1 -1
- package/dist/components/StepperStep.vue.d.ts.map +1 -1
- package/dist/components/StructuredList.cjs +1 -0
- package/dist/components/StructuredList.d.ts +39 -0
- package/dist/components/StructuredList.mjs +2 -0
- package/dist/components/StructuredList.vue.d.ts +24 -0
- package/dist/components/StructuredList.vue.d.ts.map +1 -0
- package/dist/components/Submenu.cjs +1 -1
- package/dist/components/Submenu.mjs +1 -1
- 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/Switch.cjs +1 -1
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/Switch.vue.d.ts.map +1 -1
- package/dist/components/TableOfContents.cjs +1 -1
- package/dist/components/TableOfContents.mjs +1 -1
- package/dist/components/TableOfContents.vue.d.ts +1 -1
- package/dist/components/Tabs.cjs +1 -1
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tabs.vue.d.ts.map +1 -1
- package/dist/components/TextInput.cjs +1 -1
- package/dist/components/TextInput.mjs +1 -1
- package/dist/components/TextInput.vue.d.ts +13 -5
- package/dist/components/TextInput.vue.d.ts.map +1 -1
- package/dist/components/Toast.cjs +1 -1
- package/dist/components/Toast.mjs +1 -1
- package/dist/components/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toaster.cjs +1 -1
- package/dist/components/Toaster.d.ts +1 -2
- package/dist/components/Toaster.mjs +1 -1
- package/dist/components/Toaster.vue.d.ts.map +1 -1
- package/dist/components/Tree.cjs +1 -1
- package/dist/components/Tree.d.ts +2 -0
- package/dist/components/Tree.mjs +1 -1
- package/dist/components/Tree.vue.d.ts.map +1 -1
- package/dist/components/TreeNode.cjs +1 -1
- package/dist/components/TreeNode.mjs +1 -1
- package/dist/components/TreeNode.vue.d.ts.map +1 -1
- package/dist/components/UserMenu.cjs +1 -1
- package/dist/components/UserMenu.mjs +1 -1
- package/dist/components/UserMenu.vue.d.ts.map +1 -1
- package/dist/components/Video.cjs +1 -1
- package/dist/components/Video.mjs +1 -1
- package/dist/components/Video.vue.d.ts.map +1 -1
- package/dist/components/Walkthrough.cjs +1 -1
- package/dist/components/Walkthrough.mjs +1 -1
- package/dist/components/Walkthrough.vue.d.ts.map +1 -1
- package/dist/components/Wireframe.cjs +1 -1
- package/dist/components/Wireframe.mjs +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/manifest.d.ts +5 -0
- package/dist/components/manifest.d.ts.map +1 -1
- package/dist/components/manifest.js +5 -0
- package/dist/composables/useBlueprint.composable.cjs +1 -1
- package/dist/composables/useBlueprint.composable.mjs +1 -1
- package/dist/composables/useConfirm.composable.cjs +1 -1
- package/dist/composables/useConfirm.composable.d.ts +9 -0
- package/dist/composables/useConfirm.composable.d.ts.map +1 -1
- package/dist/composables/useConfirm.composable.mjs +62 -63
- package/dist/composables/useFieldMessage.composable.cjs +1 -0
- package/dist/composables/useFieldMessage.composable.d.ts +44 -0
- package/dist/composables/useFieldMessage.composable.d.ts.map +1 -0
- package/dist/composables/useFieldMessage.composable.mjs +33 -0
- package/dist/composables/useInlineLoading.composable.cjs +1 -1
- package/dist/composables/useInlineLoading.composable.d.ts +3 -4
- package/dist/composables/useInlineLoading.composable.d.ts.map +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 -0
- package/dist/composables/useNbStrings.composable.d.ts +105 -0
- package/dist/composables/useNbStrings.composable.d.ts.map +1 -0
- package/dist/composables/useNbStrings.composable.mjs +111 -0
- package/dist/composables/useShellSlot.composable.d.ts +3 -5
- package/dist/composables/useShellSlot.composable.d.ts.map +1 -1
- package/dist/composables/useToast.composable.cjs +1 -1
- package/dist/composables/useToast.composable.d.ts +3 -1
- package/dist/composables/useToast.composable.d.ts.map +1 -1
- package/dist/composables/useToast.composable.mjs +113 -102
- package/dist/directives/ToolTip.directive.d.ts +1 -1
- package/dist/directives/ToolTip.directive.d.ts.map +1 -1
- package/dist/global.d.ts +12 -0
- package/dist/icons/ai.mjs +26 -0
- package/dist/icons/all.mjs +2 -1
- package/dist/icons/catalog.mjs +2 -1
- package/dist/icons/names.json +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +142 -133
- package/dist/{main-TRQw3oqC.js → main-BTximdIU.js} +349 -343
- package/dist/main-DkNxc78b.cjs +4 -0
- package/dist/main.d.ts +20 -4
- package/dist/main.d.ts.map +1 -1
- package/dist/motion-BjVtMTXD.cjs +1 -0
- package/dist/motion-C0h9XZQZ.js +18 -0
- package/dist/{palette-9NBcW3rl.cjs → palette-B7XEOMVB.cjs} +1 -1
- package/dist/{palette-Cq2Mb9QH.js → palette-CWU7exM6.js} +3 -3
- package/dist/plugins/fonts.d.ts +10 -5
- package/dist/plugins/fonts.d.ts.map +1 -1
- package/dist/plugins/fonts.js +13 -8
- package/dist/plugins/vite/glyphs.d.ts.map +1 -1
- package/dist/plugins/vite/glyphs.js +28 -9
- package/dist/plugins/vite/imports.d.ts +15 -0
- package/dist/plugins/vite/imports.d.ts.map +1 -1
- package/dist/plugins/vite/imports.js +77 -4
- package/dist/plugins/vite/index.d.ts.map +1 -1
- package/dist/plugins/vite/index.js +2 -1
- package/dist/styles/Accordion.css +1 -1
- package/dist/styles/AccordionItem.css +1 -1
- package/dist/styles/AiLabel.css +1 -1
- package/dist/styles/Avatar.css +1 -1
- package/dist/styles/Badge.css +1 -1
- package/dist/styles/Banner.css +1 -1
- package/dist/styles/BarChart.css +1 -1
- package/dist/styles/Blueprint.css +1 -1
- package/dist/styles/BlueprintCard.css +1 -1
- package/dist/styles/BlueprintControls.css +1 -1
- package/dist/styles/BlueprintMinimap.css +1 -1
- package/dist/styles/Board.css +1 -1
- package/dist/styles/BottomPanel.css +1 -1
- package/dist/styles/Breadcrumbs.css +1 -1
- package/dist/styles/Button.css +1 -1
- package/dist/styles/Calendar.css +1 -1
- package/dist/styles/Card.css +1 -1
- package/dist/styles/CardGrid.css +1 -1
- package/dist/styles/ChartLegend.css +1 -1
- package/dist/styles/Checkbox.css +1 -1
- package/dist/styles/CheckboxGroup.css +1 -1
- package/dist/styles/ColorStrip.css +1 -1
- package/dist/styles/CommandPalette.css +1 -1
- package/dist/styles/Confirm.css +1 -1
- package/dist/styles/ContainedList.css +1 -0
- package/dist/styles/ContainedListItem.css +1 -0
- package/dist/styles/DataTable.css +1 -1
- package/dist/styles/DatePicker.css +1 -1
- package/dist/styles/DefinitionList.css +1 -1
- package/dist/styles/DragHandle.css +1 -1
- package/dist/styles/EmptyState.css +1 -1
- package/dist/styles/Field.css +1 -1
- package/dist/styles/FileUploader.css +1 -1
- package/dist/styles/FloatingToolbar.css +1 -1
- package/dist/styles/GanttChart.css +1 -1
- package/dist/styles/Icon.css +1 -1
- package/dist/styles/ImageCropper.css +1 -1
- package/dist/styles/ImagePicker.css +1 -1
- package/dist/styles/InfoHint.css +1 -1
- package/dist/styles/InlineEdit.css +1 -1
- package/dist/styles/InlineLoading.css +1 -1
- package/dist/styles/InterpolationChart.css +1 -1
- package/dist/styles/JsonTree.css +1 -1
- package/dist/styles/Label.css +1 -1
- package/dist/styles/LineChart.css +1 -1
- package/dist/styles/MenuBarItem.css +1 -1
- package/dist/styles/MenuItem.css +1 -1
- package/dist/styles/Message.css +1 -1
- package/dist/styles/Modal.css +1 -1
- package/dist/styles/NotificationCenter.css +1 -1
- package/dist/styles/NotificationCenterItem.css +1 -1
- package/dist/styles/NumberInput.css +1 -1
- package/dist/styles/PageHeader.css +1 -0
- package/dist/styles/PageLayout.css +1 -0
- package/dist/styles/Pagination.css +1 -1
- package/dist/styles/Panel.css +1 -1
- package/dist/styles/PieChart.css +1 -1
- package/dist/styles/ProgressBar.css +1 -1
- package/dist/styles/Radio.css +1 -1
- package/dist/styles/ReorderList.css +1 -1
- package/dist/styles/Select.css +1 -1
- package/dist/styles/Shell.css +1 -1
- package/dist/styles/ShellPanel.css +1 -1
- package/dist/styles/SidebarBrand.css +1 -1
- package/dist/styles/SidebarHeaderToggle.css +1 -1
- package/dist/styles/SidebarLink.css +1 -1
- package/dist/styles/SidebarMenu.css +1 -1
- package/dist/styles/SidebarMenuGroup.css +1 -1
- package/dist/styles/SidebarMenuItem.css +1 -1
- package/dist/styles/SidebarStatus.css +1 -1
- package/dist/styles/Skeleton.css +1 -1
- package/dist/styles/Slider.css +1 -1
- package/dist/styles/Sparkline.css +1 -1
- package/dist/styles/Spinner.css +1 -1
- package/dist/styles/Stat.css +1 -1
- package/dist/styles/Stepper.css +1 -1
- package/dist/styles/StepperStep.css +1 -1
- package/dist/styles/StructuredList.css +1 -0
- package/dist/styles/SuggestionList.css +1 -1
- package/dist/styles/Switch.css +1 -1
- package/dist/styles/TableOfContents.css +1 -1
- package/dist/styles/Tabs.css +1 -1
- package/dist/styles/TextInput.css +1 -1
- package/dist/styles/Toast.css +1 -1
- package/dist/styles/Toaster.css +1 -1
- package/dist/styles/Tree.css +1 -1
- package/dist/styles/TreeNode.css +1 -1
- package/dist/styles/UserMenu.css +1 -1
- package/dist/styles/Walkthrough.css +1 -1
- package/dist/styles/main.css +1 -1
- package/dist/styles/palette.css +1 -1
- package/dist/tokens/motion.d.ts +42 -0
- package/dist/tokens/motion.d.ts.map +1 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/ui.css +91 -86
- package/dist/utils/pluralize.helper.cjs +1 -0
- package/dist/utils/pluralize.helper.d.ts +28 -0
- package/dist/utils/pluralize.helper.d.ts.map +1 -0
- package/dist/utils/pluralize.helper.mjs +14 -0
- package/dist/utils/truncateMiddle.helper.cjs +1 -0
- package/dist/utils/truncateMiddle.helper.d.ts +16 -0
- package/dist/utils/truncateMiddle.helper.d.ts.map +1 -0
- package/dist/utils/truncateMiddle.helper.mjs +11 -0
- package/package.json +8 -5
- package/src/assets/icons/ai.svg +4 -0
- package/src/plugins/fonts.ts +13 -8
- package/src/plugins/vite/glyphs.ts +32 -9
- package/src/plugins/vite/imports.ts +64 -4
- package/src/plugins/vite/index.ts +2 -1
- package/src/styles/_accent.scss +60 -2
- package/src/styles/_ai.scss +128 -0
- package/src/styles/_contrast.scss +64 -0
- package/src/styles/_focus.scss +28 -0
- package/src/styles/_reset.scss +5 -5
- package/src/styles/_theme-api.scss +17 -2
- package/src/styles/_theme.scss +168 -51
- package/src/styles/_typography.scss +5 -0
- package/src/styles/directives/_tooltip.scss +12 -8
- package/src/styles/grid/_common.scss +3 -0
- package/src/styles/grid/_mixins.scss +3 -2
- package/src/styles/grid/index.scss +63 -0
- package/src/styles/index.scss +6 -0
- package/src/styles/logic/_a11y.scss +1 -1
- package/src/styles/logic/_motion.scss +246 -2
- package/src/styles/patterns/_inspector.scss +5 -5
- package/src/styles/presets/_classic-fields.scss +36 -10
- package/src/styles/transitions/_fade.scss +31 -8
- package/src/styles/variables/_animations.scss +13 -4
- package/src/styles/variables/_categories.scss +130 -0
- package/src/styles/variables/_grid.scss +31 -8
- package/src/styles/variables/_layers.scss +185 -6
- package/src/styles/variables/_spacing.scss +87 -0
- package/src/styles/variables/_type.scss +165 -116
- package/src/utils/pluralize.helper.ts +55 -0
- package/src/utils/truncateMiddle.helper.ts +34 -0
- package/dist/ActionGroup-BW4jTdT0.cjs +0 -1
- package/dist/AiLabel-DSiCpLvM.js +0 -56
- package/dist/AiLabel-G7b92e7Q.cjs +0 -1
- package/dist/BackToTop-BAyTy5SN.js +0 -55
- package/dist/BackToTop-DvNNsQcS.cjs +0 -1
- package/dist/Badge-BC7sqGRj.cjs +0 -1
- package/dist/Badge-DVujzLka.js +0 -59
- package/dist/Banner-BWfbWQjt.cjs +0 -1
- package/dist/BarChart-34fIWzBC.cjs +0 -1
- package/dist/BarChart-CcmkojSX.js +0 -399
- package/dist/BlueprintCard-BISElEk0.cjs +0 -1
- package/dist/BlueprintControls-BwZeMwyC.cjs +0 -1
- package/dist/BlueprintControls-bMZ4hJTJ.js +0 -156
- package/dist/BlueprintMinimap-CWmys37d.cjs +0 -1
- package/dist/BlueprintMinimap-zXf1g5UN.js +0 -161
- package/dist/Board-BVpQ2OAm.cjs +0 -1
- package/dist/BottomPanel-9wXoX7C0.cjs +0 -1
- package/dist/BottomPanel-COy4nW-t.js +0 -114
- package/dist/Button-Cepcs335.js +0 -121
- package/dist/Button-tmwLbryG.cjs +0 -1
- package/dist/Calendar-C_tRujlw.cjs +0 -1
- package/dist/Card-BNmkM0Cr.cjs +0 -1
- package/dist/Card-D5brHuVU.js +0 -109
- package/dist/CardGrid-q_Zz_Ip_.cjs +0 -1
- package/dist/Checkbox-DHjkrPUP.cjs +0 -1
- package/dist/CheckboxGroup-B2GnAaDG.js +0 -72
- package/dist/CheckboxGroup-DJs_1dDP.cjs +0 -1
- package/dist/CommandPalette--Xg6G2hP.cjs +0 -1
- package/dist/CommandPalette-C-Hz6lEX.js +0 -223
- package/dist/Confirm-CquZnoj-.cjs +0 -1
- package/dist/DataTable-Bm6OM1uz.js +0 -477
- package/dist/DataTable-DrWZCe55.cjs +0 -1
- package/dist/DatePicker-wMeO_BAn.cjs +0 -1
- package/dist/Field-3zUVZEMG.cjs +0 -1
- package/dist/FileUploader-CrtHrF9n.cjs +0 -1
- package/dist/FileUploader-D9H4klul.js +0 -187
- package/dist/GanttChart-C2ql59iv.cjs +0 -1
- package/dist/GanttChart-tHaks3Qu.js +0 -466
- package/dist/Grid-BEezjVdC.cjs +0 -1
- package/dist/Icon-Bwec1Nfv.cjs +0 -1
- package/dist/Icon-DwhI2DFK.js +0 -104
- package/dist/InterpolationChart-CezKg7nG.cjs +0 -1
- package/dist/InterpolationChart-x2yvZUFf.js +0 -319
- package/dist/LineChart-A2so8GBH.js +0 -309
- package/dist/LineChart-DnYgeNPe.cjs +0 -1
- package/dist/Menu-2Se8F81Q.js +0 -136
- package/dist/Menu-CAZmNx60.cjs +0 -1
- package/dist/MenuItem-D6hIjWBm.cjs +0 -1
- package/dist/Message-COxRTtqI.cjs +0 -1
- package/dist/Message-DlluDLCZ.js +0 -54
- package/dist/Modal-F7rA1EFq.cjs +0 -1
- package/dist/NotificationCenter-C3D55kLa.cjs +0 -1
- package/dist/NumberInput-DZ2JIarM.js +0 -293
- package/dist/NumberInput-Daauv-mS.cjs +0 -1
- package/dist/Pagination-BiXAAS94.cjs +0 -1
- package/dist/Pagination-oWMOC9Qw.js +0 -84
- package/dist/Panel-CWBZ-kgD.js +0 -15
- package/dist/Panel-ap8JYHvL.cjs +0 -1
- package/dist/PieChart-C3MInQWP.cjs +0 -1
- package/dist/PieChart-DnGl86Lc.js +0 -181
- package/dist/Radio-DuW0s5JD.cjs +0 -1
- package/dist/Radio-LrqGD0NJ.js +0 -98
- package/dist/Select-Z6XKZwgn.cjs +0 -1
- package/dist/Shell-BCBzgwZl.cjs +0 -1
- package/dist/Shell-DSY0rcWY.js +0 -520
- package/dist/Skeleton-CSRjBPVt.cjs +0 -1
- package/dist/Slider-CM-YIOPa.js +0 -308
- package/dist/Slider-CNqWXBhw.cjs +0 -1
- package/dist/Sparkline-DgmOYz7G.cjs +0 -1
- package/dist/Sparkline-TptJc3Gp.js +0 -94
- package/dist/Spinner-BPC4GV2R.cjs +0 -1
- package/dist/Spinner-DT8nD53U.js +0 -156
- package/dist/StepperStep-DM__K4sj.cjs +0 -1
- package/dist/TableOfContents-pJY07qUd.cjs +0 -1
- package/dist/TextInput-CMNHASTy.js +0 -293
- package/dist/TextInput-Dim1RJ1e.cjs +0 -2
- package/dist/Tree-BMKUnt--.js +0 -125
- package/dist/Tree-DDYIaQhW.cjs +0 -1
- package/dist/TreeNode-BjqvPxI6.cjs +0 -1
- package/dist/TreeNode-Bnlm_eRb.js +0 -176
- package/dist/Video-CfRR9Ire.cjs +0 -1
- package/dist/Video-CvpT9tlK.js +0 -103
- package/dist/main-R1TM8Ptt.cjs +0 -4
- /package/dist/{Accordion.context-D0CjtbPU.cjs → Accordion.context-Cb_NKUtg.cjs} +0 -0
- /package/dist/{Accordion.context-Wz0ugH_k.js → Accordion.context-DG649PsQ.js} +0 -0
- /package/dist/{Avatar-BtPUauIn.cjs → Avatar-UO0ySqkY.cjs} +0 -0
- /package/dist/{Avatar-DqZ-eYb8.js → Avatar-ZG-WROXx.js} +0 -0
- /package/dist/{Blueprint.context-BxEzW6uR.cjs → Blueprint.context-B3d5-4jD.cjs} +0 -0
- /package/dist/{Blueprint.context-CFAikJ3j.js → Blueprint.context-B4bRLj7m.js} +0 -0
- /package/dist/{Card.link-dJAabUqe.js → Card.link-CB8_CTbn.js} +0 -0
- /package/dist/{Card.link-crO1EgJA.cjs → Card.link-eRkbFiF1.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-BapH2lov.cjs → CheckboxGroup.context-C8p21aqH.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-uxyp82XM.js → CheckboxGroup.context-Cu0BA648.js} +0 -0
- /package/dist/{DefinitionListItem-DnFxxXWI.cjs → DefinitionListItem-Bf9amK8a.cjs} +0 -0
- /package/dist/{DefinitionListItem-Cg8BggyX.js → DefinitionListItem-CbVnrShi.js} +0 -0
- /package/dist/{JsonTree-DbyC2G2G.js → JsonTree-BWfMcWOV.js} +0 -0
- /package/dist/{JsonTree-CjeK5gqm.cjs → JsonTree-Bmj8WtzK.cjs} +0 -0
- /package/dist/{Layer-BgL2sFav.js → Layer-BJeI6Q6N.js} +0 -0
- /package/dist/{Layer-BPC6XSrP.cjs → Layer-D-MNrLiB.cjs} +0 -0
- /package/dist/{NubiscoMark-BGi9b3YU.js → NubiscoMark-BLT8ULAl.js} +0 -0
- /package/dist/{NubiscoMark-DH9Ngmod.cjs → NubiscoMark-Cf7Ek83E.cjs} +0 -0
- /package/dist/{NubiscoPlatformMark-ddkDJ0AU.cjs → NubiscoPlatformMark-CXMSQDYh.cjs} +0 -0
- /package/dist/{NubiscoPlatformMark-C6WbipA4.js → NubiscoPlatformMark-Dca7vi6H.js} +0 -0
- /package/dist/{Size.d-GBIblj2D.cjs → Size.d-BQ4_AVQe.cjs} +0 -0
- /package/dist/{Size.d-Bah6vMl3.js → Size.d-DY4ZHW3-.js} +0 -0
- /package/dist/{Stepper.context-DVnGO61u.cjs → Stepper.context-DUIDhN9Q.cjs} +0 -0
- /package/dist/{Stepper.context-7n0SuGh_.js → Stepper.context-DqfEvgGM.js} +0 -0
- /package/dist/{TextInput.context-DvCbZUx_.js → TextInput.context-DV1MgL_Q.js} +0 -0
- /package/dist/{TextInput.context-C0YTT4zw.cjs → TextInput.context-UTLuljcO.cjs} +0 -0
- /package/dist/{TreeContext-CvZCLIr2.js → TreeContext--GZ21fCm.js} +0 -0
- /package/dist/{TreeContext-CKcfg0Nq.cjs → TreeContext-TZ35sT5B.cjs} +0 -0
- /package/dist/{_plugin-vue_export-helper-O4QQSku4.js → _plugin-vue_export-helper-C6QCLu9I.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-tagjRzOz.cjs → _plugin-vue_export-helper-D0Q0f7-M.cjs} +0 -0
- /package/dist/{pixi-scene-DSMij-ex.cjs → pixi-scene-BKyneWmd.cjs} +0 -0
- /package/dist/{pixi-scene-Du_Uq_zl.js → pixi-scene-TbaBQ2-u.js} +0 -0
- /package/dist/{scales-Bdgv87s2.cjs → scales-B8IbC7t_.cjs} +0 -0
- /package/dist/{scales-CzvC8OOZ.js → scales-CNW8JgKC.js} +0 -0
- /package/dist/{useChartSize-ByPUvppp.cjs → useChartSize-B6Bes760.cjs} +0 -0
- /package/dist/{useChartSize-BXgOzSCU.js → useChartSize-CftshgoY.js} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-DQEzOEt_.js → useLoadingAnnouncer.composable-BAwecV1M.js} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-pW7VKY0k.cjs → useLoadingAnnouncer.composable-Dn1mqnqe.cjs} +0 -0
- /package/dist/{vue-i18n-CNxAi_sd.cjs → vue-i18n-DIvTc6LM.cjs} +0 -0
- /package/dist/{vue-i18n-BERFm5iG.js → vue-i18n-DSR949qU.js} +0 -0
|
@@ -1,293 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-O4QQSku4.js";
|
|
2
|
-
import { t } from "./Icon-DwhI2DFK.js";
|
|
3
|
-
import { t as n } from "./Label-D1_MfuTA.js";
|
|
4
|
-
import { t as r } from "./Message-DlluDLCZ.js";
|
|
5
|
-
import { Fragment as i, computed 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, openBlock as h, ref as g, toDisplayString as _, unref as v, useId as y, watch as b, withCtx as x, withKeys as S, withModifiers as C } from "vue";
|
|
6
|
-
import { regular as w } from "@nubisco/ui/icons/plus";
|
|
7
|
-
import { regular as T } from "@nubisco/ui/icons/minus";
|
|
8
|
-
//#region src/components/NumberInput.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
-
var E = [
|
|
10
|
-
"id",
|
|
11
|
-
"placeholder",
|
|
12
|
-
"min",
|
|
13
|
-
"max",
|
|
14
|
-
"step",
|
|
15
|
-
"disabled",
|
|
16
|
-
"required"
|
|
17
|
-
], D = { class: "nb-number-input__steppers" }, O = ["disabled"], k = ["disabled"], A = {
|
|
18
|
-
key: 0,
|
|
19
|
-
class: "nb-number-input__inner-header"
|
|
20
|
-
}, j = ["for"], M = {
|
|
21
|
-
key: 0,
|
|
22
|
-
class: "nb-number-input__asterisk",
|
|
23
|
-
"aria-hidden": "true"
|
|
24
|
-
}, N = { class: "nb-number-input__fluid-row" }, P = [
|
|
25
|
-
"id",
|
|
26
|
-
"placeholder",
|
|
27
|
-
"min",
|
|
28
|
-
"max",
|
|
29
|
-
"step",
|
|
30
|
-
"disabled",
|
|
31
|
-
"required"
|
|
32
|
-
], F = { class: "nb-number-input__steppers" }, I = ["disabled"], ee = ["disabled"], L = /* @__PURE__ */ e(/* @__PURE__ */ f({
|
|
33
|
-
__name: "NumberInput",
|
|
34
|
-
props: {
|
|
35
|
-
modelValue: { default: null },
|
|
36
|
-
min: { default: void 0 },
|
|
37
|
-
max: { default: void 0 },
|
|
38
|
-
step: { default: 1 },
|
|
39
|
-
placeholder: { default: "" },
|
|
40
|
-
name: {},
|
|
41
|
-
disabled: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: !1
|
|
44
|
-
},
|
|
45
|
-
required: {
|
|
46
|
-
type: Boolean,
|
|
47
|
-
default: !1
|
|
48
|
-
},
|
|
49
|
-
id: { default: void 0 },
|
|
50
|
-
label: { default: "" },
|
|
51
|
-
error: { default: "" },
|
|
52
|
-
warning: { default: "" },
|
|
53
|
-
helper: { default: "" },
|
|
54
|
-
variant: { default: "default" },
|
|
55
|
-
size: { default: "md" }
|
|
56
|
-
},
|
|
57
|
-
emits: ["update:modelValue", "change"],
|
|
58
|
-
setup(e, { expose: f, emit: L }) {
|
|
59
|
-
let R = e, z = L, B = g(null), V = g(!1), H = `nb-number-input-${y()}`, U = a(() => R.id ?? H), W = a(() => R.min !== void 0 && R.modelValue !== null && R.modelValue !== void 0 && R.modelValue <= R.min), G = a(() => R.max !== void 0 && R.modelValue !== null && R.modelValue !== void 0 && R.modelValue >= R.max);
|
|
60
|
-
function K(e) {
|
|
61
|
-
let t = e;
|
|
62
|
-
return R.min !== void 0 && (t = Math.max(R.min, t)), R.max !== void 0 && (t = Math.min(R.max, t)), t;
|
|
63
|
-
}
|
|
64
|
-
function q(e) {
|
|
65
|
-
B.value && (B.value.value = e == null ? "" : String(e));
|
|
66
|
-
}
|
|
67
|
-
m(() => q(R.modelValue)), b(() => R.modelValue, (e) => {
|
|
68
|
-
V.value || q(e);
|
|
69
|
-
});
|
|
70
|
-
function J() {
|
|
71
|
-
let e = K((R.modelValue ?? 0) + R.step);
|
|
72
|
-
z("update:modelValue", e), z("change", e), q(e);
|
|
73
|
-
}
|
|
74
|
-
function Y() {
|
|
75
|
-
let e = K((R.modelValue ?? 0) - R.step);
|
|
76
|
-
z("update:modelValue", e), z("change", e), q(e);
|
|
77
|
-
}
|
|
78
|
-
function X() {
|
|
79
|
-
if (!B.value) return;
|
|
80
|
-
let e = B.value.value;
|
|
81
|
-
if (e === "") z("update:modelValue", null);
|
|
82
|
-
else {
|
|
83
|
-
let t = parseFloat(e);
|
|
84
|
-
isNaN(t) || z("update:modelValue", t);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
function Z() {
|
|
88
|
-
if (V.value = !1, !B.value) return;
|
|
89
|
-
let e = B.value.value;
|
|
90
|
-
if (e === "") {
|
|
91
|
-
z("update:modelValue", null), z("change", null);
|
|
92
|
-
return;
|
|
93
|
-
}
|
|
94
|
-
let t = parseFloat(e);
|
|
95
|
-
if (!isNaN(t)) {
|
|
96
|
-
let e = K(t);
|
|
97
|
-
z("update:modelValue", e), z("change", e), q(e);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
let Q = a(() => [
|
|
101
|
-
"nb-number-input",
|
|
102
|
-
`nb-number-input--${R.variant}`,
|
|
103
|
-
`nb-number-input--${R.size}`,
|
|
104
|
-
{
|
|
105
|
-
"nb-number-input--error": !!R.error,
|
|
106
|
-
"nb-number-input--warning": !R.error && !!R.warning,
|
|
107
|
-
"nb-number-input--disabled": R.disabled
|
|
108
|
-
}
|
|
109
|
-
]), $ = a(() => ({
|
|
110
|
-
"nb-number-input__field-wrapper--focused": V.value,
|
|
111
|
-
"nb-number-input__field-wrapper--error": !!R.error,
|
|
112
|
-
"nb-number-input__field-wrapper--warning": !R.error && !!R.warning,
|
|
113
|
-
"nb-number-input__field-wrapper--disabled": R.disabled
|
|
114
|
-
}));
|
|
115
|
-
return f({ focus: () => B.value?.focus() }), (a, f) => (h(), c("div", { class: p(Q.value) }, [e.variant === "default" ? (h(), c(i, { key: 0 }, [
|
|
116
|
-
e.label ? (h(), o(n, {
|
|
117
|
-
key: 0,
|
|
118
|
-
for: U.value,
|
|
119
|
-
required: e.required,
|
|
120
|
-
disabled: e.disabled
|
|
121
|
-
}, {
|
|
122
|
-
default: x(() => [u(_(e.label), 1)]),
|
|
123
|
-
_: 1
|
|
124
|
-
}, 8, [
|
|
125
|
-
"for",
|
|
126
|
-
"required",
|
|
127
|
-
"disabled"
|
|
128
|
-
])) : s("", !0),
|
|
129
|
-
l("div", { class: p(["nb-number-input__field-wrapper", $.value]) }, [
|
|
130
|
-
l("input", {
|
|
131
|
-
id: U.value,
|
|
132
|
-
ref_key: "inputRef",
|
|
133
|
-
ref: B,
|
|
134
|
-
type: "number",
|
|
135
|
-
class: "nb-number-input__field",
|
|
136
|
-
placeholder: e.placeholder,
|
|
137
|
-
min: e.min,
|
|
138
|
-
max: e.max,
|
|
139
|
-
step: e.step,
|
|
140
|
-
disabled: e.disabled,
|
|
141
|
-
required: e.required,
|
|
142
|
-
onInput: X,
|
|
143
|
-
onBlur: Z,
|
|
144
|
-
onKeydown: f[0] ||= S(C(() => B.value?.blur(), ["prevent"]), ["enter"]),
|
|
145
|
-
onFocus: f[1] ||= (e) => V.value = !0
|
|
146
|
-
}, null, 40, E),
|
|
147
|
-
e.error ? (h(), o(r, {
|
|
148
|
-
key: 0,
|
|
149
|
-
variant: "error",
|
|
150
|
-
"icon-only": !0,
|
|
151
|
-
class: "nb-number-input__status"
|
|
152
|
-
}, {
|
|
153
|
-
default: x(() => [u(_(e.error), 1)]),
|
|
154
|
-
_: 1
|
|
155
|
-
})) : e.warning ? (h(), o(r, {
|
|
156
|
-
key: 1,
|
|
157
|
-
variant: "warning",
|
|
158
|
-
"icon-only": !0,
|
|
159
|
-
class: "nb-number-input__status"
|
|
160
|
-
}, {
|
|
161
|
-
default: x(() => [u(_(e.warning), 1)]),
|
|
162
|
-
_: 1
|
|
163
|
-
})) : s("", !0),
|
|
164
|
-
l("div", D, [l("button", {
|
|
165
|
-
type: "button",
|
|
166
|
-
class: p(["nb-number-input__stepper", { "nb-number-input__stepper--at-limit": W.value }]),
|
|
167
|
-
disabled: e.disabled,
|
|
168
|
-
"aria-label": "Decrease",
|
|
169
|
-
onMousedown: f[2] ||= C(() => {}, ["prevent"]),
|
|
170
|
-
onClick: Y
|
|
171
|
-
}, [d(t, {
|
|
172
|
-
name: v(T),
|
|
173
|
-
size: 16
|
|
174
|
-
}, null, 8, ["name"])], 42, O), l("button", {
|
|
175
|
-
type: "button",
|
|
176
|
-
class: p(["nb-number-input__stepper", { "nb-number-input__stepper--at-limit": G.value }]),
|
|
177
|
-
disabled: e.disabled,
|
|
178
|
-
"aria-label": "Increase",
|
|
179
|
-
onMousedown: f[3] ||= C(() => {}, ["prevent"]),
|
|
180
|
-
onClick: J
|
|
181
|
-
}, [d(t, {
|
|
182
|
-
name: v(w),
|
|
183
|
-
size: 16
|
|
184
|
-
}, null, 8, ["name"])], 42, k)])
|
|
185
|
-
], 2),
|
|
186
|
-
e.error ? (h(), o(r, {
|
|
187
|
-
key: 1,
|
|
188
|
-
variant: "error",
|
|
189
|
-
class: "nb-number-input__message"
|
|
190
|
-
}, {
|
|
191
|
-
default: x(() => [u(_(e.error), 1)]),
|
|
192
|
-
_: 1
|
|
193
|
-
})) : e.warning ? (h(), o(r, {
|
|
194
|
-
key: 2,
|
|
195
|
-
variant: "warning",
|
|
196
|
-
class: "nb-number-input__message"
|
|
197
|
-
}, {
|
|
198
|
-
default: x(() => [u(_(e.warning), 1)]),
|
|
199
|
-
_: 1
|
|
200
|
-
})) : e.helper ? (h(), o(r, {
|
|
201
|
-
key: 3,
|
|
202
|
-
variant: "helper",
|
|
203
|
-
class: "nb-number-input__message"
|
|
204
|
-
}, {
|
|
205
|
-
default: x(() => [u(_(e.helper), 1)]),
|
|
206
|
-
_: 1
|
|
207
|
-
})) : s("", !0)
|
|
208
|
-
], 64)) : e.variant === "fluid" ? (h(), c(i, { key: 1 }, [l("div", { class: p(["nb-number-input__field-wrapper", $.value]) }, [e.label ? (h(), c("div", A, [l("label", {
|
|
209
|
-
for: U.value,
|
|
210
|
-
class: "nb-number-input__inner-label"
|
|
211
|
-
}, [u(_(e.label) + " ", 1), e.required ? (h(), c("span", M, "*")) : s("", !0)], 8, j), e.helper && !e.error && !e.warning ? (h(), o(r, {
|
|
212
|
-
key: 0,
|
|
213
|
-
variant: "helper",
|
|
214
|
-
"icon-only": !0,
|
|
215
|
-
class: "nb-number-input__inner-message"
|
|
216
|
-
}, {
|
|
217
|
-
default: x(() => [u(_(e.helper), 1)]),
|
|
218
|
-
_: 1
|
|
219
|
-
})) : s("", !0)])) : s("", !0), l("div", N, [
|
|
220
|
-
l("input", {
|
|
221
|
-
id: U.value,
|
|
222
|
-
ref_key: "inputRef",
|
|
223
|
-
ref: B,
|
|
224
|
-
type: "number",
|
|
225
|
-
class: "nb-number-input__field",
|
|
226
|
-
placeholder: e.placeholder,
|
|
227
|
-
min: e.min,
|
|
228
|
-
max: e.max,
|
|
229
|
-
step: e.step,
|
|
230
|
-
disabled: e.disabled,
|
|
231
|
-
required: e.required,
|
|
232
|
-
onInput: X,
|
|
233
|
-
onBlur: Z,
|
|
234
|
-
onKeydown: f[4] ||= S(C(() => B.value?.blur(), ["prevent"]), ["enter"]),
|
|
235
|
-
onFocus: f[5] ||= (e) => V.value = !0
|
|
236
|
-
}, null, 40, P),
|
|
237
|
-
e.error ? (h(), o(r, {
|
|
238
|
-
key: 0,
|
|
239
|
-
variant: "error",
|
|
240
|
-
"icon-only": !0,
|
|
241
|
-
class: "nb-number-input__status"
|
|
242
|
-
}, {
|
|
243
|
-
default: x(() => [u(_(e.error), 1)]),
|
|
244
|
-
_: 1
|
|
245
|
-
})) : e.warning ? (h(), o(r, {
|
|
246
|
-
key: 1,
|
|
247
|
-
variant: "warning",
|
|
248
|
-
"icon-only": !0,
|
|
249
|
-
class: "nb-number-input__status"
|
|
250
|
-
}, {
|
|
251
|
-
default: x(() => [u(_(e.warning), 1)]),
|
|
252
|
-
_: 1
|
|
253
|
-
})) : s("", !0),
|
|
254
|
-
l("div", F, [l("button", {
|
|
255
|
-
type: "button",
|
|
256
|
-
class: p(["nb-number-input__stepper", { "nb-number-input__stepper--at-limit": W.value }]),
|
|
257
|
-
disabled: e.disabled,
|
|
258
|
-
"aria-label": "Decrease",
|
|
259
|
-
onMousedown: f[6] ||= C(() => {}, ["prevent"]),
|
|
260
|
-
onClick: Y
|
|
261
|
-
}, [d(t, {
|
|
262
|
-
name: v(T),
|
|
263
|
-
size: 16
|
|
264
|
-
}, null, 8, ["name"])], 42, I), l("button", {
|
|
265
|
-
type: "button",
|
|
266
|
-
class: p(["nb-number-input__stepper", { "nb-number-input__stepper--at-limit": G.value }]),
|
|
267
|
-
disabled: e.disabled,
|
|
268
|
-
"aria-label": "Increase",
|
|
269
|
-
onMousedown: f[7] ||= C(() => {}, ["prevent"]),
|
|
270
|
-
onClick: J
|
|
271
|
-
}, [d(t, {
|
|
272
|
-
name: v(w),
|
|
273
|
-
size: 16
|
|
274
|
-
}, null, 8, ["name"])], 42, ee)])
|
|
275
|
-
])], 2), e.error ? (h(), o(r, {
|
|
276
|
-
key: 0,
|
|
277
|
-
variant: "error",
|
|
278
|
-
class: "nb-number-input__fluid-message"
|
|
279
|
-
}, {
|
|
280
|
-
default: x(() => [u(_(e.error), 1)]),
|
|
281
|
-
_: 1
|
|
282
|
-
})) : e.warning ? (h(), o(r, {
|
|
283
|
-
key: 1,
|
|
284
|
-
variant: "warning",
|
|
285
|
-
class: "nb-number-input__fluid-message"
|
|
286
|
-
}, {
|
|
287
|
-
default: x(() => [u(_(e.warning), 1)]),
|
|
288
|
-
_: 1
|
|
289
|
-
})) : s("", !0)], 64)) : s("", !0)], 2));
|
|
290
|
-
}
|
|
291
|
-
}), [["__scopeId", "data-v-fa5256a1"]]);
|
|
292
|
-
//#endregion
|
|
293
|
-
export { L as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./Icon-Bwec1Nfv.cjs`),n=require(`./Label-B9x4-i1C.cjs`),r=require(`./Message-COxRTtqI.cjs`);let i=require(`vue`),a=require(`@nubisco/ui/icons/plus`),o=require(`@nubisco/ui/icons/minus`);var s=[`id`,`placeholder`,`min`,`max`,`step`,`disabled`,`required`],c={class:`nb-number-input__steppers`},l=[`disabled`],u=[`disabled`],d={key:0,class:`nb-number-input__inner-header`},f=[`for`],p={key:0,class:`nb-number-input__asterisk`,"aria-hidden":`true`},m={class:`nb-number-input__fluid-row`},h=[`id`,`placeholder`,`min`,`max`,`step`,`disabled`,`required`],g={class:`nb-number-input__steppers`},_=[`disabled`],v=[`disabled`],y=(0,i.defineComponent)({__name:`NumberInput`,props:{modelValue:{default:null},min:{default:void 0},max:{default:void 0},step:{default:1},placeholder:{default:``},name:{},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},id:{default:void 0},label:{default:``},error:{default:``},warning:{default:``},helper:{default:``},variant:{default:`default`},size:{default:`md`}},emits:[`update:modelValue`,`change`],setup(e,{expose:y,emit:b}){let x=e,S=b,C=(0,i.ref)(null),w=(0,i.ref)(!1),T=`nb-number-input-${(0,i.useId)()}`,E=(0,i.computed)(()=>x.id??T),D=(0,i.computed)(()=>x.min!==void 0&&x.modelValue!==null&&x.modelValue!==void 0&&x.modelValue<=x.min),O=(0,i.computed)(()=>x.max!==void 0&&x.modelValue!==null&&x.modelValue!==void 0&&x.modelValue>=x.max);function k(e){let t=e;return x.min!==void 0&&(t=Math.max(x.min,t)),x.max!==void 0&&(t=Math.min(x.max,t)),t}function A(e){C.value&&(C.value.value=e==null?``:String(e))}(0,i.onMounted)(()=>A(x.modelValue)),(0,i.watch)(()=>x.modelValue,e=>{w.value||A(e)});function j(){let e=k((x.modelValue??0)+x.step);S(`update:modelValue`,e),S(`change`,e),A(e)}function M(){let e=k((x.modelValue??0)-x.step);S(`update:modelValue`,e),S(`change`,e),A(e)}function N(){if(!C.value)return;let e=C.value.value;if(e===``)S(`update:modelValue`,null);else{let t=parseFloat(e);isNaN(t)||S(`update:modelValue`,t)}}function P(){if(w.value=!1,!C.value)return;let e=C.value.value;if(e===``){S(`update:modelValue`,null),S(`change`,null);return}let t=parseFloat(e);if(!isNaN(t)){let e=k(t);S(`update:modelValue`,e),S(`change`,e),A(e)}}let F=(0,i.computed)(()=>[`nb-number-input`,`nb-number-input--${x.variant}`,`nb-number-input--${x.size}`,{"nb-number-input--error":!!x.error,"nb-number-input--warning":!x.error&&!!x.warning,"nb-number-input--disabled":x.disabled}]),I=(0,i.computed)(()=>({"nb-number-input__field-wrapper--focused":w.value,"nb-number-input__field-wrapper--error":!!x.error,"nb-number-input__field-wrapper--warning":!x.error&&!!x.warning,"nb-number-input__field-wrapper--disabled":x.disabled}));return y({focus:()=>C.value?.focus()}),(y,b)=>((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{class:(0,i.normalizeClass)(F.value)},[e.variant===`default`?((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:0},[e.label?((0,i.openBlock)(),(0,i.createBlock)(n.t,{key:0,for:E.value,required:e.required,disabled:e.disabled},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.label),1)]),_:1},8,[`for`,`required`,`disabled`])):(0,i.createCommentVNode)(``,!0),(0,i.createElementVNode)(`div`,{class:(0,i.normalizeClass)([`nb-number-input__field-wrapper`,I.value])},[(0,i.createElementVNode)(`input`,{id:E.value,ref_key:`inputRef`,ref:C,type:`number`,class:`nb-number-input__field`,placeholder:e.placeholder,min:e.min,max:e.max,step:e.step,disabled:e.disabled,required:e.required,onInput:N,onBlur:P,onKeydown:b[0]||=(0,i.withKeys)((0,i.withModifiers)(()=>C.value?.blur(),[`prevent`]),[`enter`]),onFocus:b[1]||=e=>w.value=!0},null,40,s),e.error?((0,i.openBlock)(),(0,i.createBlock)(r.t,{key:0,variant:`error`,"icon-only":!0,class:`nb-number-input__status`},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.error),1)]),_:1})):e.warning?((0,i.openBlock)(),(0,i.createBlock)(r.t,{key:1,variant:`warning`,"icon-only":!0,class:`nb-number-input__status`},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.warning),1)]),_:1})):(0,i.createCommentVNode)(``,!0),(0,i.createElementVNode)(`div`,c,[(0,i.createElementVNode)(`button`,{type:`button`,class:(0,i.normalizeClass)([`nb-number-input__stepper`,{"nb-number-input__stepper--at-limit":D.value}]),disabled:e.disabled,"aria-label":`Decrease`,onMousedown:b[2]||=(0,i.withModifiers)(()=>{},[`prevent`]),onClick:M},[(0,i.createVNode)(t.t,{name:(0,i.unref)(o.regular),size:16},null,8,[`name`])],42,l),(0,i.createElementVNode)(`button`,{type:`button`,class:(0,i.normalizeClass)([`nb-number-input__stepper`,{"nb-number-input__stepper--at-limit":O.value}]),disabled:e.disabled,"aria-label":`Increase`,onMousedown:b[3]||=(0,i.withModifiers)(()=>{},[`prevent`]),onClick:j},[(0,i.createVNode)(t.t,{name:(0,i.unref)(a.regular),size:16},null,8,[`name`])],42,u)])],2),e.error?((0,i.openBlock)(),(0,i.createBlock)(r.t,{key:1,variant:`error`,class:`nb-number-input__message`},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.error),1)]),_:1})):e.warning?((0,i.openBlock)(),(0,i.createBlock)(r.t,{key:2,variant:`warning`,class:`nb-number-input__message`},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.warning),1)]),_:1})):e.helper?((0,i.openBlock)(),(0,i.createBlock)(r.t,{key:3,variant:`helper`,class:`nb-number-input__message`},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.helper),1)]),_:1})):(0,i.createCommentVNode)(``,!0)],64)):e.variant===`fluid`?((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:1},[(0,i.createElementVNode)(`div`,{class:(0,i.normalizeClass)([`nb-number-input__field-wrapper`,I.value])},[e.label?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,d,[(0,i.createElementVNode)(`label`,{for:E.value,class:`nb-number-input__inner-label`},[(0,i.createTextVNode)((0,i.toDisplayString)(e.label)+` `,1),e.required?((0,i.openBlock)(),(0,i.createElementBlock)(`span`,p,`*`)):(0,i.createCommentVNode)(``,!0)],8,f),e.helper&&!e.error&&!e.warning?((0,i.openBlock)(),(0,i.createBlock)(r.t,{key:0,variant:`helper`,"icon-only":!0,class:`nb-number-input__inner-message`},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.helper),1)]),_:1})):(0,i.createCommentVNode)(``,!0)])):(0,i.createCommentVNode)(``,!0),(0,i.createElementVNode)(`div`,m,[(0,i.createElementVNode)(`input`,{id:E.value,ref_key:`inputRef`,ref:C,type:`number`,class:`nb-number-input__field`,placeholder:e.placeholder,min:e.min,max:e.max,step:e.step,disabled:e.disabled,required:e.required,onInput:N,onBlur:P,onKeydown:b[4]||=(0,i.withKeys)((0,i.withModifiers)(()=>C.value?.blur(),[`prevent`]),[`enter`]),onFocus:b[5]||=e=>w.value=!0},null,40,h),e.error?((0,i.openBlock)(),(0,i.createBlock)(r.t,{key:0,variant:`error`,"icon-only":!0,class:`nb-number-input__status`},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.error),1)]),_:1})):e.warning?((0,i.openBlock)(),(0,i.createBlock)(r.t,{key:1,variant:`warning`,"icon-only":!0,class:`nb-number-input__status`},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.warning),1)]),_:1})):(0,i.createCommentVNode)(``,!0),(0,i.createElementVNode)(`div`,g,[(0,i.createElementVNode)(`button`,{type:`button`,class:(0,i.normalizeClass)([`nb-number-input__stepper`,{"nb-number-input__stepper--at-limit":D.value}]),disabled:e.disabled,"aria-label":`Decrease`,onMousedown:b[6]||=(0,i.withModifiers)(()=>{},[`prevent`]),onClick:M},[(0,i.createVNode)(t.t,{name:(0,i.unref)(o.regular),size:16},null,8,[`name`])],42,_),(0,i.createElementVNode)(`button`,{type:`button`,class:(0,i.normalizeClass)([`nb-number-input__stepper`,{"nb-number-input__stepper--at-limit":O.value}]),disabled:e.disabled,"aria-label":`Increase`,onMousedown:b[7]||=(0,i.withModifiers)(()=>{},[`prevent`]),onClick:j},[(0,i.createVNode)(t.t,{name:(0,i.unref)(a.regular),size:16},null,8,[`name`])],42,v)])])],2),e.error?((0,i.openBlock)(),(0,i.createBlock)(r.t,{key:0,variant:`error`,class:`nb-number-input__fluid-message`},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.error),1)]),_:1})):e.warning?((0,i.openBlock)(),(0,i.createBlock)(r.t,{key:1,variant:`warning`,class:`nb-number-input__fluid-message`},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.warning),1)]),_:1})):(0,i.createCommentVNode)(``,!0)],64)):(0,i.createCommentVNode)(``,!0)],2))}}),b=e.t(y,[[`__scopeId`,`data-v-fa5256a1`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return b}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),n=require(`./Size.d-GBIblj2D.cjs`),r=require(`./Button-tmwLbryG.cjs`),i=require(`./Select-Z6XKZwgn.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/caret-right`);o=e.n(o);let s=require(`@nubisco/ui/icons/caret-left`);s=e.n(s);var c={class:`nb-pagination__left`},l={class:`nb-pagination__page-size`},u={class:`nb-pagination__label`},d={class:`nb-pagination__range`,"aria-live":`polite`},f={class:`nb-pagination__right`},p={class:`nb-pagination__page-of`},m=(0,a.defineComponent)({__name:`Pagination`,props:{page:{},pageSize:{},total:{},pageSizeOptions:{default:()=>[10,20,30,40,50]},size:{default:n.r.Medium},disabled:{type:Boolean,default:!1},pageSizeLabel:{default:`Items per page:`},itemLabel:{default:`items`}},emits:[`update:page`,`update:pageSize`],setup(e,{emit:t}){let n=e,m=t,h=(0,a.computed)(()=>n.size),g=(0,a.computed)(()=>n.pageSizeOptions.includes(n.pageSize)?n.pageSizeOptions:[...n.pageSizeOptions,n.pageSize].sort((e,t)=>e-t)),_=(0,a.computed)(()=>g.value.map(e=>({label:String(e),value:e}))),v=(0,a.computed)(()=>Math.max(1,Math.ceil(n.total/Math.max(1,n.pageSize)))),y=(0,a.computed)(()=>Math.min(Math.max(1,n.page),v.value)),b=(0,a.computed)(()=>n.total===0?0:(y.value-1)*n.pageSize+1),x=(0,a.computed)(()=>Math.min(y.value*n.pageSize,n.total));function S(e){let t=Math.min(Math.max(1,e),v.value);t!==n.page&&m(`update:page`,t)}function C(e){let t=Number(e);!Number.isFinite(t)||t===n.pageSize||(m(`update:pageSize`,t),n.page!==1&&m(`update:page`,1))}return(t,n)=>((0,a.openBlock)(),(0,a.createElementBlock)(`nav`,{class:(0,a.normalizeClass)([`nb-pagination`,`nb-pagination--${e.size}`]),"aria-label":`Pagination`},[(0,a.createElementVNode)(`div`,c,[(0,a.createElementVNode)(`label`,l,[(0,a.createElementVNode)(`span`,u,(0,a.toDisplayString)(e.pageSizeLabel),1),(0,a.createVNode)(i.t,{size:`xs`,"model-value":e.pageSize,options:_.value,disabled:e.disabled,"onUpdate:modelValue":C},null,8,[`model-value`,`options`,`disabled`])]),(0,a.createElementVNode)(`span`,d,(0,a.toDisplayString)(b.value)+`–`+(0,a.toDisplayString)(x.value)+` of `+(0,a.toDisplayString)(e.total)+` `+(0,a.toDisplayString)(e.itemLabel),1)]),(0,a.createElementVNode)(`div`,f,[(0,a.createElementVNode)(`span`,p,` Page `+(0,a.toDisplayString)(y.value)+` of `+(0,a.toDisplayString)(v.value),1),(0,a.createVNode)(r.t,{class:`nb-pagination__nav`,variant:`ghost`,size:h.value,icon:s,disabled:e.disabled||y.value<=1,"aria-label":`Previous page`,onClick:n[0]||=e=>S(y.value-1)},null,8,[`size`,`disabled`]),(0,a.createVNode)(r.t,{class:`nb-pagination__nav`,variant:`ghost`,size:h.value,icon:o,disabled:e.disabled||y.value>=v.value,"aria-label":`Next page`,onClick:n[1]||=e=>S(y.value+1)},null,8,[`size`,`disabled`])])],2))}}),h=t.t(m,[[`__scopeId`,`data-v-884e19f9`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-O4QQSku4.js";
|
|
2
|
-
import { r as t } from "./Size.d-Bah6vMl3.js";
|
|
3
|
-
import { t as n } from "./Button-Cepcs335.js";
|
|
4
|
-
import { t as r } from "./Select-Dah-tYeb.js";
|
|
5
|
-
import { computed as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, toDisplayString as d } from "vue";
|
|
6
|
-
import * as f from "@nubisco/ui/icons/caret-right";
|
|
7
|
-
import * as p from "@nubisco/ui/icons/caret-left";
|
|
8
|
-
//#region src/components/Pagination.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
-
var m = { class: "nb-pagination__left" }, h = { class: "nb-pagination__page-size" }, g = { class: "nb-pagination__label" }, _ = {
|
|
10
|
-
class: "nb-pagination__range",
|
|
11
|
-
"aria-live": "polite"
|
|
12
|
-
}, v = { class: "nb-pagination__right" }, y = { class: "nb-pagination__page-of" }, b = /* @__PURE__ */ e(/* @__PURE__ */ c({
|
|
13
|
-
__name: "Pagination",
|
|
14
|
-
props: {
|
|
15
|
-
page: {},
|
|
16
|
-
pageSize: {},
|
|
17
|
-
total: {},
|
|
18
|
-
pageSizeOptions: { default: () => [
|
|
19
|
-
10,
|
|
20
|
-
20,
|
|
21
|
-
30,
|
|
22
|
-
40,
|
|
23
|
-
50
|
|
24
|
-
] },
|
|
25
|
-
size: { default: t.Medium },
|
|
26
|
-
disabled: {
|
|
27
|
-
type: Boolean,
|
|
28
|
-
default: !1
|
|
29
|
-
},
|
|
30
|
-
pageSizeLabel: { default: "Items per page:" },
|
|
31
|
-
itemLabel: { default: "items" }
|
|
32
|
-
},
|
|
33
|
-
emits: ["update:page", "update:pageSize"],
|
|
34
|
-
setup(e, { emit: t }) {
|
|
35
|
-
let c = e, b = t, x = i(() => c.size), S = i(() => c.pageSizeOptions.includes(c.pageSize) ? c.pageSizeOptions : [...c.pageSizeOptions, c.pageSize].sort((e, t) => e - t)), C = i(() => S.value.map((e) => ({
|
|
36
|
-
label: String(e),
|
|
37
|
-
value: e
|
|
38
|
-
}))), w = i(() => Math.max(1, Math.ceil(c.total / Math.max(1, c.pageSize)))), T = i(() => Math.min(Math.max(1, c.page), w.value)), E = i(() => c.total === 0 ? 0 : (T.value - 1) * c.pageSize + 1), D = i(() => Math.min(T.value * c.pageSize, c.total));
|
|
39
|
-
function O(e) {
|
|
40
|
-
let t = Math.min(Math.max(1, e), w.value);
|
|
41
|
-
t !== c.page && b("update:page", t);
|
|
42
|
-
}
|
|
43
|
-
function k(e) {
|
|
44
|
-
let t = Number(e);
|
|
45
|
-
!Number.isFinite(t) || t === c.pageSize || (b("update:pageSize", t), c.page !== 1 && b("update:page", 1));
|
|
46
|
-
}
|
|
47
|
-
return (t, i) => (u(), a("nav", {
|
|
48
|
-
class: l(["nb-pagination", `nb-pagination--${e.size}`]),
|
|
49
|
-
"aria-label": "Pagination"
|
|
50
|
-
}, [o("div", m, [o("label", h, [o("span", g, d(e.pageSizeLabel), 1), s(r, {
|
|
51
|
-
size: "xs",
|
|
52
|
-
"model-value": e.pageSize,
|
|
53
|
-
options: C.value,
|
|
54
|
-
disabled: e.disabled,
|
|
55
|
-
"onUpdate:modelValue": k
|
|
56
|
-
}, null, 8, [
|
|
57
|
-
"model-value",
|
|
58
|
-
"options",
|
|
59
|
-
"disabled"
|
|
60
|
-
])]), o("span", _, d(E.value) + "–" + d(D.value) + " of " + d(e.total) + " " + d(e.itemLabel), 1)]), o("div", v, [
|
|
61
|
-
o("span", y, " Page " + d(T.value) + " of " + d(w.value), 1),
|
|
62
|
-
s(n, {
|
|
63
|
-
class: "nb-pagination__nav",
|
|
64
|
-
variant: "ghost",
|
|
65
|
-
size: x.value,
|
|
66
|
-
icon: p,
|
|
67
|
-
disabled: e.disabled || T.value <= 1,
|
|
68
|
-
"aria-label": "Previous page",
|
|
69
|
-
onClick: i[0] ||= (e) => O(T.value - 1)
|
|
70
|
-
}, null, 8, ["size", "disabled"]),
|
|
71
|
-
s(n, {
|
|
72
|
-
class: "nb-pagination__nav",
|
|
73
|
-
variant: "ghost",
|
|
74
|
-
size: x.value,
|
|
75
|
-
icon: f,
|
|
76
|
-
disabled: e.disabled || T.value >= w.value,
|
|
77
|
-
"aria-label": "Next page",
|
|
78
|
-
onClick: i[1] ||= (e) => O(T.value + 1)
|
|
79
|
-
}, null, 8, ["size", "disabled"])
|
|
80
|
-
])], 2));
|
|
81
|
-
}
|
|
82
|
-
}), [["__scopeId", "data-v-884e19f9"]]);
|
|
83
|
-
//#endregion
|
|
84
|
-
export { b as t };
|
package/dist/Panel-CWBZ-kgD.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-O4QQSku4.js";
|
|
2
|
-
import { useSurfaceLayer as t } from "./composables/useSurfaceLayer.composable.mjs";
|
|
3
|
-
import { createElementBlock as n, defineComponent as r, mergeProps as i, openBlock as a, renderSlot as o, unref as s } from "vue";
|
|
4
|
-
//#endregion
|
|
5
|
-
//#region src/components/Panel.vue
|
|
6
|
-
var c = /* @__PURE__ */ e(/* @__PURE__ */ r({
|
|
7
|
-
__name: "Panel",
|
|
8
|
-
props: { layer: { default: void 0 } },
|
|
9
|
-
setup(e) {
|
|
10
|
-
let r = e, { layerProps: c } = t({ level: () => r.layer });
|
|
11
|
-
return (e, t) => (a(), n("div", i({ class: "nb-panel" }, s(c)), [o(e.$slots, "default", {}, void 0, !0)], 16));
|
|
12
|
-
}
|
|
13
|
-
}), [["__scopeId", "data-v-a0d6ea95"]]);
|
|
14
|
-
//#endregion
|
|
15
|
-
export { c as t };
|
package/dist/Panel-ap8JYHvL.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./composables/useSurfaceLayer.composable.cjs`);let n=require(`vue`);var r=(0,n.defineComponent)({__name:`Panel`,props:{layer:{default:void 0}},setup(e){let r=e,{layerProps:i}=t.useSurfaceLayer({level:()=>r.layer});return(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,(0,n.mergeProps)({class:`nb-panel`},(0,n.unref)(i)),[(0,n.renderSlot)(e.$slots,`default`,{},void 0,!0)],16))}}),i=e.t(r,[[`__scopeId`,`data-v-a0d6ea95`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./palette-9NBcW3rl.cjs`),n=require(`./ChartLegend-DGUo_MYi.cjs`),r=require(`./useChartSize-ByPUvppp.cjs`);let i=require(`vue`);var a=[`width`,`height`,`role`,`aria-label`],o=[`transform`],s=[`d`,`fill`,`tabindex`,`role`,`aria-label`,`onMouseenter`,`onClick`,`onKeydown`],c=[`x`,`y`],l=(0,i.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:()=>t.n}},emits:[`select`],setup(e,{emit:l}){let u=e,d=l,f=(0,i.getCurrentInstance)(),p=()=>!!f?.vnode.props?.onSelect,m=e=>{if(!p())return;let t=u.data[e];t&&d(`select`,{kind:`categorical`,label:t.label,value:t.value,index:e,datum:t})},h=(e,t)=>{p()&&(e.key!==`Enter`&&e.key!==` `||(e.preventDefault(),m(t)))},g=(0,i.ref)(null),_=r.t(g,{width:280,height:240}),v=(0,i.computed)(()=>u.data.map((e,n)=>({label:e.label,value:e.value,color:e.color??t.i(n,u.colors)}))),y=(0,i.computed)(()=>v.value.reduce((e,t)=>e+Math.max(0,t.value),0)),b=(0,i.computed)(()=>_.value.width/2),x=(0,i.computed)(()=>_.value.height/2),S=(0,i.computed)(()=>Math.max(0,Math.min(_.value.width,_.value.height)/2-8)),C=(0,i.computed)(()=>Math.max(0,Math.min(.95,u.innerRadius))*S.value),w=(0,i.computed)(()=>{if(!y.value)return[];let e=-Math.PI/2,t=[];for(let n=0;n<v.value.length;n++){let r=v.value[n],i=Math.max(0,r.value)/y.value,a=e,o=e+i*Math.PI*2;e=o;let s=T(a,o,C.value,S.value),c=(a+o)/2,l=C.value>0?(C.value+S.value)/2:S.value*.65,d=Math.cos(c)*l,f=Math.sin(c)*l,p=u.labels===`percent`?`${Math.round(i*100)}%`:u.labels===`value`?String(r.value):``;t.push({path:s,color:r.color,labelX:d,labelY:f,labelText:p,labelColor:`var(--nb-c-white)`,startAngle:a,endAngle:o,value:r.value,label:r.label})}return t}),T=(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(` `)},E=(0,i.ref)(null),D=(0,i.ref)({x:0,y:0}),O=e=>{let t=e.currentTarget.ownerSVGElement;if(!t)return;let n=t.getBoundingClientRect();D.value={x:e.clientX-n.left+12,y:e.clientY-n.top+12}},k=(0,i.computed)(()=>{if(E.value===null)return[];let e=w.value[E.value];if(!e)return[];let t=y.value?Math.round(e.value/y.value*100):0;return[{label:e.label,value:`${e.value} (${t}%)`,color:e.color}]});return(r,l)=>((0,i.openBlock)(),(0,i.createBlock)(t.u,{title:e.title,subtitle:e.subtitle,height:e.height,"show-legend":e.showLegend&&v.value.length>0},{legend:(0,i.withCtx)(()=>[(0,i.createVNode)(n.t,{items:v.value.map(e=>({label:e.label,color:e.color}))},null,8,[`items`])]),default:(0,i.withCtx)(()=>[(0,i.createElementVNode)(`div`,{ref_key:`root`,ref:g,class:`nb-pie-chart`},[((0,i.openBlock)(),(0,i.createElementBlock)(`svg`,{width:(0,i.unref)(_).width,height:(0,i.unref)(_).height,class:(0,i.normalizeClass)([`nb-chart__svg`,{"nb-chart__svg--selectable":p()}]),role:p()?`group`:`img`,"aria-label":e.title||`Pie chart`,onMouseleave:l[1]||=e=>E.value=null},[(0,i.createElementVNode)(`g`,{transform:`translate(${b.value}, ${x.value})`},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(w.value,(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(`path`,{key:`slice-${t}`,class:(0,i.normalizeClass)([`nb-chart__slice`,{"is-dim":E.value!==null&&E.value!==t}]),d:e.path,fill:e.color,tabindex:p()?0:void 0,role:p()?`button`:void 0,"aria-label":p()?`${e.label}: ${e.value}`:void 0,onMouseenter:e=>E.value=t,onMousemove:l[0]||=e=>O(e),onClick:e=>m(t),onKeydown:e=>h(e,t)},null,42,s))),128)),e.labels===`none`?(0,i.createCommentVNode)(``,!0):((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,{key:0},(0,i.renderList)(w.value,(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(`text`,{key:`lab-${t}`,class:`nb-chart__slice-label`,x:e.labelX,y:e.labelY,"text-anchor":`middle`,"dominant-baseline":`middle`,style:(0,i.normalizeStyle)({fill:e.labelColor})},(0,i.toDisplayString)(e.labelText),13,c))),128))],8,o)],42,a)),(0,i.createVNode)(t.l,{visible:e.showTooltip&&E.value!==null,x:D.value.x,y:D.value.y,rows:k.value},null,8,[`visible`,`x`,`y`,`rows`])],512)]),_:1},8,[`title`,`subtitle`,`height`,`show-legend`]))}}),u=e.t(l,[[`__scopeId`,`data-v-f68902ef`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-O4QQSku4.js";
|
|
2
|
-
import { i as t, l as n, n as r, u as i } from "./palette-Cq2Mb9QH.js";
|
|
3
|
-
import { t as a } from "./ChartLegend-BythwRMJ.js";
|
|
4
|
-
import { t as o } from "./useChartSize-BXgOzSCU.js";
|
|
5
|
-
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, getCurrentInstance as h, normalizeClass as g, normalizeStyle as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, unref as S, withCtx as C } from "vue";
|
|
6
|
-
//#region src/components/Charts/PieChart.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
-
var w = [
|
|
8
|
-
"width",
|
|
9
|
-
"height",
|
|
10
|
-
"role",
|
|
11
|
-
"aria-label"
|
|
12
|
-
], T = ["transform"], E = [
|
|
13
|
-
"d",
|
|
14
|
-
"fill",
|
|
15
|
-
"tabindex",
|
|
16
|
-
"role",
|
|
17
|
-
"aria-label",
|
|
18
|
-
"onMouseenter",
|
|
19
|
-
"onClick",
|
|
20
|
-
"onKeydown"
|
|
21
|
-
], D = ["x", "y"], O = /* @__PURE__ */ e(/* @__PURE__ */ m({
|
|
22
|
-
__name: "PieChart",
|
|
23
|
-
props: {
|
|
24
|
-
data: { default: () => [] },
|
|
25
|
-
innerRadius: { default: 0 },
|
|
26
|
-
labels: { default: "percent" },
|
|
27
|
-
title: { default: void 0 },
|
|
28
|
-
subtitle: { default: void 0 },
|
|
29
|
-
height: { default: 280 },
|
|
30
|
-
showLegend: {
|
|
31
|
-
type: Boolean,
|
|
32
|
-
default: !0
|
|
33
|
-
},
|
|
34
|
-
showTooltip: {
|
|
35
|
-
type: Boolean,
|
|
36
|
-
default: !0
|
|
37
|
-
},
|
|
38
|
-
colors: { default: () => r }
|
|
39
|
-
},
|
|
40
|
-
emits: ["select"],
|
|
41
|
-
setup(e, { emit: r }) {
|
|
42
|
-
let m = e, O = r, k = h(), A = () => !!k?.vnode.props?.onSelect, j = (e) => {
|
|
43
|
-
if (!A()) return;
|
|
44
|
-
let t = m.data[e];
|
|
45
|
-
t && O("select", {
|
|
46
|
-
kind: "categorical",
|
|
47
|
-
label: t.label,
|
|
48
|
-
value: t.value,
|
|
49
|
-
index: e,
|
|
50
|
-
datum: t
|
|
51
|
-
});
|
|
52
|
-
}, M = (e, t) => {
|
|
53
|
-
A() && (e.key !== "Enter" && e.key !== " " || (e.preventDefault(), j(t)));
|
|
54
|
-
}, N = y(null), P = o(N, {
|
|
55
|
-
width: 280,
|
|
56
|
-
height: 240
|
|
57
|
-
}), F = c(() => m.data.map((e, n) => ({
|
|
58
|
-
label: e.label,
|
|
59
|
-
value: e.value,
|
|
60
|
-
color: e.color ?? t(n, m.colors)
|
|
61
|
-
}))), I = c(() => F.value.reduce((e, t) => e + Math.max(0, t.value), 0)), L = c(() => P.value.width / 2), R = c(() => P.value.height / 2), z = c(() => Math.max(0, Math.min(P.value.width, P.value.height) / 2 - 8)), B = c(() => Math.max(0, Math.min(.95, m.innerRadius)) * z.value), V = c(() => {
|
|
62
|
-
if (!I.value) return [];
|
|
63
|
-
let e = -Math.PI / 2, t = [];
|
|
64
|
-
for (let n = 0; n < F.value.length; n++) {
|
|
65
|
-
let r = F.value[n], i = Math.max(0, r.value) / I.value, a = e, o = e + i * Math.PI * 2;
|
|
66
|
-
e = o;
|
|
67
|
-
let s = H(a, o, B.value, z.value), c = (a + o) / 2, l = B.value > 0 ? (B.value + z.value) / 2 : z.value * .65, u = Math.cos(c) * l, d = Math.sin(c) * l, f = m.labels === "percent" ? `${Math.round(i * 100)}%` : m.labels === "value" ? String(r.value) : "";
|
|
68
|
-
t.push({
|
|
69
|
-
path: s,
|
|
70
|
-
color: r.color,
|
|
71
|
-
labelX: u,
|
|
72
|
-
labelY: d,
|
|
73
|
-
labelText: f,
|
|
74
|
-
labelColor: "var(--nb-c-white)",
|
|
75
|
-
startAngle: a,
|
|
76
|
-
endAngle: o,
|
|
77
|
-
value: r.value,
|
|
78
|
-
label: r.label
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
return t;
|
|
82
|
-
}), H = (e, t, n, r) => {
|
|
83
|
-
if (Math.abs(t - e) >= Math.PI * 2 - 1e-6) {
|
|
84
|
-
let e = `M ${r} 0 A ${r} ${r} 0 1 1 ${-r} 0 A ${r} ${r} 0 1 1 ${r} 0 Z`;
|
|
85
|
-
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`}`;
|
|
86
|
-
}
|
|
87
|
-
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;
|
|
88
|
-
if (n <= 0) return `M 0 0 L ${i} ${a} A ${r} ${r} 0 ${c} 1 ${o} ${s} Z`;
|
|
89
|
-
let l = Math.cos(t) * n, u = Math.sin(t) * n, d = Math.cos(e) * n, f = Math.sin(e) * n;
|
|
90
|
-
return [
|
|
91
|
-
`M ${i} ${a}`,
|
|
92
|
-
`A ${r} ${r} 0 ${c} 1 ${o} ${s}`,
|
|
93
|
-
`L ${l} ${u}`,
|
|
94
|
-
`A ${n} ${n} 0 ${c} 0 ${d} ${f}`,
|
|
95
|
-
"Z"
|
|
96
|
-
].join(" ");
|
|
97
|
-
}, U = y(null), W = y({
|
|
98
|
-
x: 0,
|
|
99
|
-
y: 0
|
|
100
|
-
}), G = (e) => {
|
|
101
|
-
let t = e.currentTarget.ownerSVGElement;
|
|
102
|
-
if (!t) return;
|
|
103
|
-
let n = t.getBoundingClientRect();
|
|
104
|
-
W.value = {
|
|
105
|
-
x: e.clientX - n.left + 12,
|
|
106
|
-
y: e.clientY - n.top + 12
|
|
107
|
-
};
|
|
108
|
-
}, K = c(() => {
|
|
109
|
-
if (U.value === null) return [];
|
|
110
|
-
let e = V.value[U.value];
|
|
111
|
-
if (!e) return [];
|
|
112
|
-
let t = I.value ? Math.round(e.value / I.value * 100) : 0;
|
|
113
|
-
return [{
|
|
114
|
-
label: e.label,
|
|
115
|
-
value: `${e.value} (${t}%)`,
|
|
116
|
-
color: e.color
|
|
117
|
-
}];
|
|
118
|
-
});
|
|
119
|
-
return (t, r) => (v(), l(i, {
|
|
120
|
-
title: e.title,
|
|
121
|
-
subtitle: e.subtitle,
|
|
122
|
-
height: e.height,
|
|
123
|
-
"show-legend": e.showLegend && F.value.length > 0
|
|
124
|
-
}, {
|
|
125
|
-
legend: C(() => [p(a, { items: F.value.map((e) => ({
|
|
126
|
-
label: e.label,
|
|
127
|
-
color: e.color
|
|
128
|
-
})) }, null, 8, ["items"])]),
|
|
129
|
-
default: C(() => [f("div", {
|
|
130
|
-
ref_key: "root",
|
|
131
|
-
ref: N,
|
|
132
|
-
class: "nb-pie-chart"
|
|
133
|
-
}, [(v(), d("svg", {
|
|
134
|
-
width: S(P).width,
|
|
135
|
-
height: S(P).height,
|
|
136
|
-
class: g(["nb-chart__svg", { "nb-chart__svg--selectable": A() }]),
|
|
137
|
-
role: A() ? "group" : "img",
|
|
138
|
-
"aria-label": e.title || "Pie chart",
|
|
139
|
-
onMouseleave: r[1] ||= (e) => U.value = null
|
|
140
|
-
}, [f("g", { transform: `translate(${L.value}, ${R.value})` }, [(v(!0), d(s, null, b(V.value, (e, t) => (v(), d("path", {
|
|
141
|
-
key: `slice-${t}`,
|
|
142
|
-
class: g(["nb-chart__slice", { "is-dim": U.value !== null && U.value !== t }]),
|
|
143
|
-
d: e.path,
|
|
144
|
-
fill: e.color,
|
|
145
|
-
tabindex: A() ? 0 : void 0,
|
|
146
|
-
role: A() ? "button" : void 0,
|
|
147
|
-
"aria-label": A() ? `${e.label}: ${e.value}` : void 0,
|
|
148
|
-
onMouseenter: (e) => U.value = t,
|
|
149
|
-
onMousemove: r[0] ||= (e) => G(e),
|
|
150
|
-
onClick: (e) => j(t),
|
|
151
|
-
onKeydown: (e) => M(e, t)
|
|
152
|
-
}, null, 42, E))), 128)), e.labels === "none" ? u("", !0) : (v(!0), d(s, { key: 0 }, b(V.value, (e, t) => (v(), d("text", {
|
|
153
|
-
key: `lab-${t}`,
|
|
154
|
-
class: "nb-chart__slice-label",
|
|
155
|
-
x: e.labelX,
|
|
156
|
-
y: e.labelY,
|
|
157
|
-
"text-anchor": "middle",
|
|
158
|
-
"dominant-baseline": "middle",
|
|
159
|
-
style: _({ fill: e.labelColor })
|
|
160
|
-
}, x(e.labelText), 13, D))), 128))], 8, T)], 42, w)), p(n, {
|
|
161
|
-
visible: e.showTooltip && U.value !== null,
|
|
162
|
-
x: W.value.x,
|
|
163
|
-
y: W.value.y,
|
|
164
|
-
rows: K.value
|
|
165
|
-
}, null, 8, [
|
|
166
|
-
"visible",
|
|
167
|
-
"x",
|
|
168
|
-
"y",
|
|
169
|
-
"rows"
|
|
170
|
-
])], 512)]),
|
|
171
|
-
_: 1
|
|
172
|
-
}, 8, [
|
|
173
|
-
"title",
|
|
174
|
-
"subtitle",
|
|
175
|
-
"height",
|
|
176
|
-
"show-legend"
|
|
177
|
-
]));
|
|
178
|
-
}
|
|
179
|
-
}), [["__scopeId", "data-v-f68902ef"]]);
|
|
180
|
-
//#endregion
|
|
181
|
-
export { O as t };
|
package/dist/Radio-DuW0s5JD.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./Label-B9x4-i1C.cjs`),n=require(`./Message-COxRTtqI.cjs`);let r=require(`vue`);var i=function(e){return e.Horizontal=`horizontal`,e.Vertical=`vertical`,e}(i||{}),a={class:`nb-radio__control`},o=[`name`,`value`,`checked`,`disabled`,`readonly`,`onChange`],s={class:`nb-radio__circle`},c={key:0,class:`nb-radio__dot`},l={class:`nb-radio__text`},u=(0,r.defineComponent)({__name:`Radio`,props:{modelValue:{},options:{},name:{},direction:{default:i.Vertical},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},required:{type:Boolean},id:{default:`radio`},label:{},error:{default:void 0},warning:{default:void 0},helper:{default:void 0}},emits:[`update:modelValue`],setup(e){let i=e,u=(0,r.computed)(()=>[`nb-radio`,{"nb-radio--error":!!i.error,"nb-radio--warning":!i.error&&!!i.warning,"nb-radio--disabled":i.disabled,"nb-radio--readonly":i.readonly}]);function d(e){return[`nb-radio__option`,{"nb-radio__option--disabled":i.disabled||e.disabled,"nb-radio__option--readonly":i.readonly}]}return(i,f)=>((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{class:(0,r.normalizeClass)(u.value)},[e.label?((0,r.openBlock)(),(0,r.createBlock)(t.t,{key:0},{default:(0,r.withCtx)(()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.label),1)]),_:1})):(0,r.createCommentVNode)(``,!0),(0,r.createElementVNode)(`div`,{class:(0,r.normalizeClass)([`nb-radio__group`,`nb-radio__group--${e.direction}`])},[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(e.options,t=>((0,r.openBlock)(),(0,r.createElementBlock)(`label`,{key:t.value,class:(0,r.normalizeClass)(d(t))},[(0,r.createElementVNode)(`span`,a,[(0,r.createElementVNode)(`input`,{type:`radio`,name:e.name,value:t.value,checked:e.modelValue===t.value,disabled:e.disabled||t.disabled,readonly:e.readonly,class:`nb-radio__input`,onChange:n=>!e.readonly&&i.$emit(`update:modelValue`,t.value)},null,40,o),(0,r.createElementVNode)(`span`,s,[e.modelValue===t.value?((0,r.openBlock)(),(0,r.createElementBlock)(`span`,c)):(0,r.createCommentVNode)(``,!0)])]),(0,r.createElementVNode)(`span`,l,(0,r.toDisplayString)(t.label),1)],2))),128))],2),e.error?((0,r.openBlock)(),(0,r.createBlock)(n.t,{key:1,variant:`error`,class:`nb-radio__message`},{default:(0,r.withCtx)(()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.error),1)]),_:1})):e.warning?((0,r.openBlock)(),(0,r.createBlock)(n.t,{key:2,variant:`warning`,class:`nb-radio__message`},{default:(0,r.withCtx)(()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.warning),1)]),_:1})):e.helper?((0,r.openBlock)(),(0,r.createBlock)(n.t,{key:3,variant:`helper`,class:`nb-radio__message`},{default:(0,r.withCtx)(()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.helper),1)]),_:1})):(0,r.createCommentVNode)(``,!0)],2))}}),d=e.t(u,[[`__scopeId`,`data-v-d44a6f66`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return d}});
|