@nubisco/ui 5.47.1 → 5.48.1
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-C6aLQTYv.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-Dq-A6NAJ.js → SidebarCollapseToggle-D5yQ-8Vu.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-r_TpdHsD.cjs → SidebarMenuItem-DP4L8ljr.cjs} +1 -1
- package/dist/{SidebarMenuItem-D8eFyD7l.js → SidebarMenuItem-UFeKPTvc.js} +5 -5
- 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/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/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 +176 -56
- 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,18 +1,18 @@
|
|
|
1
1
|
import { prefersReducedMotion as e } from "./composables/useReducedMotion.composable.mjs";
|
|
2
|
-
import { t } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
3
|
import { useStableId as n } from "./composables/useStableId.composable.mjs";
|
|
4
4
|
import { useSurfaceLayer as r } from "./composables/useSurfaceLayer.composable.mjs";
|
|
5
|
-
import { t as i } from "./Button-
|
|
6
|
-
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
5
|
+
import { t as i } from "./Button-CuwzIVWv.js";
|
|
6
|
+
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as ee, defineComponent as d, mergeProps as f, nextTick as p, normalizeClass as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, renderList as y, resolveComponent as b, toDisplayString as x, unref as S, watch as C, withKeys as w } from "vue";
|
|
7
|
+
import { regular as T } from "@nubisco/ui/icons/caret-right";
|
|
8
|
+
import { regular as E } from "@nubisco/ui/icons/list-dashes";
|
|
9
9
|
//#region src/components/TableOfContentsList.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var D = [
|
|
11
11
|
"href",
|
|
12
12
|
"aria-current",
|
|
13
13
|
"data-id",
|
|
14
14
|
"onClick"
|
|
15
|
-
],
|
|
15
|
+
], te = /* @__PURE__ */ t(/* @__PURE__ */ d({
|
|
16
16
|
name: "TableOfContentsList",
|
|
17
17
|
__name: "TableOfContentsList",
|
|
18
18
|
props: {
|
|
@@ -27,17 +27,17 @@ var D = [
|
|
|
27
27
|
e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button === 0 && (e.preventDefault(), n("go", t));
|
|
28
28
|
}
|
|
29
29
|
return (t, i) => {
|
|
30
|
-
let o =
|
|
31
|
-
return
|
|
30
|
+
let o = b("TableOfContentsList", !0);
|
|
31
|
+
return _(), l("ol", { class: m(["nb-toc-list", { "nb-toc-list--nested": e.nested }]) }, [(_(!0), l(a, null, y(e.nodes, (t) => (_(), l("li", {
|
|
32
32
|
key: t.id,
|
|
33
33
|
class: "nb-toc-list__item"
|
|
34
34
|
}, [u("a", {
|
|
35
|
-
class:
|
|
35
|
+
class: m(["nb-toc-list__link", { "nb-toc-list__link--active": t.id === e.active }]),
|
|
36
36
|
href: `#${t.id}`,
|
|
37
37
|
"aria-current": t.id === e.active ? "location" : void 0,
|
|
38
38
|
"data-id": t.id,
|
|
39
39
|
onClick: (e) => r(e, t)
|
|
40
|
-
},
|
|
40
|
+
}, x(t.label), 11, D), t.children.length > 0 ? (_(), s(o, {
|
|
41
41
|
key: 0,
|
|
42
42
|
nodes: t.children,
|
|
43
43
|
active: e.active,
|
|
@@ -46,7 +46,7 @@ var D = [
|
|
|
46
46
|
}, null, 8, ["nodes", "active"])) : c("", !0)]))), 128))], 2);
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
}), [["__scopeId", "data-v-d0f98dc3"]]),
|
|
49
|
+
}), [["__scopeId", "data-v-d0f98dc3"]]), ne = ["aria-label"], O = { class: "nb-toc__head" }, k = { class: "nb-toc__title" }, A = /* @__PURE__ */ t(/* @__PURE__ */ d({
|
|
50
50
|
__name: "TableOfContents",
|
|
51
51
|
props: {
|
|
52
52
|
items: {},
|
|
@@ -88,23 +88,23 @@ var D = [
|
|
|
88
88
|
"update:open",
|
|
89
89
|
"navigate"
|
|
90
90
|
],
|
|
91
|
-
setup(t, { expose: a, emit:
|
|
92
|
-
let
|
|
93
|
-
function
|
|
94
|
-
!e && !
|
|
91
|
+
setup(t, { expose: a, emit: d }) {
|
|
92
|
+
let y = t, b = d, D = `${n({})}-nav`, A = v(null), j = v(null), { layerProps: M } = r({ overlay: !0 }), N = o(() => y.variant === "floating" ? M.value : {}), P = v(y.variant !== "floating"), F = o(() => y.open ?? P.value), I = o(() => y.variant === "floating" || y.collapsible);
|
|
93
|
+
function L(e) {
|
|
94
|
+
!e && !I.value || (P.value = e, b("update:open", e), e || p(() => re()));
|
|
95
95
|
}
|
|
96
96
|
function re() {
|
|
97
|
-
(
|
|
97
|
+
(j.value?.$el)?.focus();
|
|
98
98
|
}
|
|
99
99
|
function ie(e) {
|
|
100
|
-
|
|
100
|
+
y.variant !== "floating" || !F.value || (e.stopPropagation(), L(!1));
|
|
101
101
|
}
|
|
102
|
-
C(() =>
|
|
103
|
-
|
|
102
|
+
C(() => y.variant, (e) => {
|
|
103
|
+
P.value = e !== "floating";
|
|
104
104
|
});
|
|
105
|
-
let
|
|
105
|
+
let ae = o(() => {
|
|
106
106
|
let e = [], t = [];
|
|
107
|
-
for (let n of
|
|
107
|
+
for (let n of y.items) {
|
|
108
108
|
let r = {
|
|
109
109
|
...n,
|
|
110
110
|
children: []
|
|
@@ -113,12 +113,12 @@ var D = [
|
|
|
113
113
|
t.length === 0 ? e.push(r) : t[t.length - 1].children.push(r), t.push(r);
|
|
114
114
|
}
|
|
115
115
|
return e;
|
|
116
|
-
}), R =
|
|
116
|
+
}), R = v(null), z = o(() => y.active === void 0 ? R.value : y.active);
|
|
117
117
|
function B(e) {
|
|
118
|
-
e !== z.value && (R.value = e,
|
|
118
|
+
e !== z.value && (R.value = e, b("update:active", e));
|
|
119
119
|
}
|
|
120
120
|
function V(e, t) {
|
|
121
|
-
return
|
|
121
|
+
return y.resolveTarget ? y.resolveTarget(e, t) : y.root ? y.root.querySelector(`[id="${e.id.replace(/(["\\])/g, "\\$1")}"]`) : typeof document > "u" ? null : document.getElementById(e.id);
|
|
122
122
|
}
|
|
123
123
|
function H(e) {
|
|
124
124
|
let t = e?.parentElement ?? null;
|
|
@@ -139,8 +139,8 @@ var D = [
|
|
|
139
139
|
}
|
|
140
140
|
let W = null, G = null, K = 0;
|
|
141
141
|
function q() {
|
|
142
|
-
if (G = null, !
|
|
143
|
-
let e =
|
|
142
|
+
if (G = null, !y.spy || typeof window > "u" || Date.now() < K) return;
|
|
143
|
+
let e = y.items.map((e, t) => ({
|
|
144
144
|
item: e,
|
|
145
145
|
el: V(e, t)
|
|
146
146
|
})).filter((e) => !!e.el);
|
|
@@ -153,101 +153,109 @@ var D = [
|
|
|
153
153
|
let e = t;
|
|
154
154
|
n = e.getBoundingClientRect().top, r = e.clientHeight, i = e.scrollTop, a = e.scrollHeight;
|
|
155
155
|
}
|
|
156
|
-
let o = a > r && i + r >= a - 2, s = U(e.map(({ el: e }) => e.getBoundingClientRect().top - n),
|
|
156
|
+
let o = a > r && i + r >= a - 2, s = U(e.map(({ el: e }) => e.getBoundingClientRect().top - n), y.offset, o, r);
|
|
157
157
|
B(s >= 0 ? e[s].item.id : null);
|
|
158
158
|
}
|
|
159
159
|
function J() {
|
|
160
160
|
G === null && (G = typeof requestAnimationFrame == "function" ? requestAnimationFrame(q) : setTimeout(q, 16));
|
|
161
161
|
}
|
|
162
162
|
function Y() {
|
|
163
|
-
X(), !(!
|
|
163
|
+
X(), !(!y.spy || typeof window > "u") && (W = H(y.items.map((e, t) => V(e, t)).find(Boolean) ?? y.root ?? A.value), W.addEventListener("scroll", J, { passive: !0 }), window.addEventListener("resize", J, { passive: !0 }), J());
|
|
164
164
|
}
|
|
165
165
|
function X() {
|
|
166
166
|
W?.removeEventListener("scroll", J), typeof window < "u" && window.removeEventListener("resize", J), W = null;
|
|
167
167
|
}
|
|
168
168
|
function Z(t, n = {}) {
|
|
169
|
-
let r = typeof t == "string" ? t : t.id, i =
|
|
169
|
+
let r = typeof t == "string" ? t : t.id, i = y.items.findIndex((e) => e.id === r);
|
|
170
170
|
if (i < 0) return;
|
|
171
|
-
let a =
|
|
171
|
+
let a = y.items[i], o = V(a, i);
|
|
172
172
|
if (!o) return;
|
|
173
173
|
let s = n.instant || e();
|
|
174
174
|
if (o.scrollIntoView?.({
|
|
175
175
|
behavior: s ? "auto" : "smooth",
|
|
176
176
|
block: "start"
|
|
177
|
-
}), B(r), K = s ? 0 : Date.now() + 700,
|
|
177
|
+
}), B(r), K = s ? 0 : Date.now() + 700, y.updateHash) try {
|
|
178
178
|
let { pathname: e, search: t } = window.location;
|
|
179
179
|
window.history.replaceState(window.history.state, "", `${e}${t}#${r}`);
|
|
180
180
|
} catch {}
|
|
181
|
-
o.closest("[contenteditable=\"true\"]") || (o.hasAttribute("tabindex") || o.setAttribute("tabindex", "-1"), o.focus({ preventScroll: !0 })),
|
|
181
|
+
o.closest("[contenteditable=\"true\"]") || (o.hasAttribute("tabindex") || o.setAttribute("tabindex", "-1"), o.focus({ preventScroll: !0 })), y.variant === "floating" && (P.value = !1, b("update:open", !1)), b("navigate", a);
|
|
182
182
|
}
|
|
183
183
|
let Q = !1;
|
|
184
184
|
function $() {
|
|
185
|
-
if (!
|
|
185
|
+
if (!y.followHash || Q || typeof window > "u") return;
|
|
186
186
|
let e = decodeURIComponent(window.location.hash.slice(1));
|
|
187
187
|
if (!e) {
|
|
188
188
|
Q = !0;
|
|
189
189
|
return;
|
|
190
190
|
}
|
|
191
|
-
let t =
|
|
192
|
-
t < 0 || !V(
|
|
191
|
+
let t = y.items.findIndex((t) => t.id === e);
|
|
192
|
+
t < 0 || !V(y.items[t], t) || (Q = !0, Z(e, { instant: !0 }));
|
|
193
193
|
}
|
|
194
|
-
return C(() =>
|
|
194
|
+
return C(() => y.items, () => void p(() => {
|
|
195
195
|
Y(), $();
|
|
196
196
|
}), {
|
|
197
197
|
flush: "post",
|
|
198
198
|
deep: !0
|
|
199
|
-
}), C(() => [
|
|
200
|
-
Y(),
|
|
201
|
-
}),
|
|
199
|
+
}), C(() => [y.root, y.spy], () => void p(Y), { flush: "post" }), g(() => {
|
|
200
|
+
Y(), p($);
|
|
201
|
+
}), h(() => {
|
|
202
202
|
X(), G !== null && (typeof cancelAnimationFrame == "function" && cancelAnimationFrame(G), clearTimeout(G));
|
|
203
203
|
}), a({
|
|
204
204
|
go: Z,
|
|
205
205
|
measure: q
|
|
206
|
-
}), (e, n) => (
|
|
206
|
+
}), (e, n) => (_(), l("div", {
|
|
207
207
|
ref_key: "rootEl",
|
|
208
|
-
ref:
|
|
209
|
-
class:
|
|
208
|
+
ref: A,
|
|
209
|
+
class: m([
|
|
210
210
|
"nb-toc",
|
|
211
211
|
`nb-toc--${t.variant}`,
|
|
212
|
-
{ "nb-toc--open":
|
|
212
|
+
{ "nb-toc--open": F.value }
|
|
213
213
|
]),
|
|
214
214
|
onKeydown: w(ie, ["esc"])
|
|
215
|
-
}, [
|
|
215
|
+
}, [F.value ? (_(), l("div", f({
|
|
216
216
|
key: 1,
|
|
217
217
|
class: "nb-toc__body"
|
|
218
|
-
},
|
|
218
|
+
}, N.value), [u("nav", {
|
|
219
219
|
id: D,
|
|
220
220
|
class: "nb-toc__nav",
|
|
221
221
|
"aria-label": t.label
|
|
222
|
-
}, [u("div",
|
|
222
|
+
}, [u("div", O, [u("span", k, x(t.title), 1), I.value ? (_(), s(i, {
|
|
223
223
|
key: 0,
|
|
224
224
|
size: "xs",
|
|
225
225
|
variant: "ghost",
|
|
226
|
-
icon: T,
|
|
226
|
+
icon: S(T),
|
|
227
227
|
"aria-label": t.hideLabel,
|
|
228
228
|
title: t.hideLabel,
|
|
229
229
|
"aria-expanded": !0,
|
|
230
230
|
"aria-controls": D,
|
|
231
|
-
onClick: n[1] ||= (e) =>
|
|
232
|
-
}, null, 8, [
|
|
233
|
-
|
|
231
|
+
onClick: n[1] ||= (e) => L(!1)
|
|
232
|
+
}, null, 8, [
|
|
233
|
+
"icon",
|
|
234
|
+
"aria-label",
|
|
235
|
+
"title"
|
|
236
|
+
])) : c("", !0)]), ee(te, {
|
|
237
|
+
nodes: ae.value,
|
|
234
238
|
active: z.value,
|
|
235
239
|
onGo: Z
|
|
236
|
-
}, null, 8, ["nodes", "active"])], 8,
|
|
240
|
+
}, null, 8, ["nodes", "active"])], 8, ne)], 16)) : (_(), s(i, {
|
|
237
241
|
key: 0,
|
|
238
242
|
ref_key: "showButton",
|
|
239
|
-
ref:
|
|
243
|
+
ref: j,
|
|
240
244
|
size: "sm",
|
|
241
245
|
variant: "ghost",
|
|
242
|
-
icon: E,
|
|
246
|
+
icon: S(E),
|
|
243
247
|
class: "nb-toc__show",
|
|
244
248
|
"aria-label": t.showLabel,
|
|
245
249
|
title: t.showLabel,
|
|
246
250
|
"aria-expanded": !1,
|
|
247
251
|
"aria-controls": D,
|
|
248
|
-
onClick: n[0] ||= (e) =>
|
|
249
|
-
}, null, 8, [
|
|
252
|
+
onClick: n[0] ||= (e) => L(!0)
|
|
253
|
+
}, null, 8, [
|
|
254
|
+
"icon",
|
|
255
|
+
"aria-label",
|
|
256
|
+
"title"
|
|
257
|
+
]))], 34));
|
|
250
258
|
}
|
|
251
|
-
}), [["__scopeId", "data-v-
|
|
259
|
+
}), [["__scopeId", "data-v-e4394a5d"]]);
|
|
252
260
|
//#endregion
|
|
253
|
-
export {
|
|
261
|
+
export { A as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import { t } from "./Icon-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
+
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
3
|
import { useStableId as n } from "./composables/useStableId.composable.mjs";
|
|
4
4
|
import { usePhoneLayout as r } from "./composables/usePhoneLayout.composable.mjs";
|
|
5
5
|
import { hasSlotContent as i } from "./utils/slotContent.helper.mjs";
|
|
6
|
-
import { t as a } from "./Badge-
|
|
6
|
+
import { t as a } from "./Badge-BFsoJcCK.js";
|
|
7
7
|
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as ee, defineComponent as f, nextTick as p, normalizeClass as m, normalizeStyle as h, onBeforeUnmount as te, onMounted as ne, openBlock as g, ref as _, renderList as v, renderSlot as re, toDisplayString as y, useSlots as ie, watch as b, withCtx as x } from "vue";
|
|
8
8
|
//#region src/components/Tabs.d.ts
|
|
9
9
|
var S = /* @__PURE__ */ function(e) {
|
|
@@ -216,6 +216,6 @@ var S = /* @__PURE__ */ function(e) {
|
|
|
216
216
|
tabindex: "0"
|
|
217
217
|
}, [re(n.$slots, e.id, { item: e }, void 0, !0)], 8, se)) : l("", !0)], 64))), 128))], 2));
|
|
218
218
|
}
|
|
219
|
-
}), [["__scopeId", "data-v-
|
|
219
|
+
}), [["__scopeId", "data-v-8b4b9149"]]);
|
|
220
220
|
//#endregion
|
|
221
221
|
export { C as n, S as r, E as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./Icon-CssV4E2-.cjs`),n=require(`./composables/useStableId.composable.cjs`),r=require(`./composables/usePhoneLayout.composable.cjs`),i=require(`./utils/slotContent.helper.cjs`),a=require(`./Badge-CfICqXrd.cjs`);let o=require(`vue`);var s=function(e){return e.Line=`line`,e.Contained=`contained`,e}(s||{}),c=function(e){return e.Small=`sm`,e.Medium=`md`,e.Large=`lg`,e}(c||{}),l=[`aria-label`],u=[`id`,`data-tab-id`,`aria-selected`,`aria-controls`,`tabindex`,`disabled`,`onClick`],d={class:`nb-tabs__label`},f=[`id`,`aria-labelledby`],p=24,m=(0,o.defineComponent)({__name:`Tabs`,props:{items:{},ariaLabel:{default:void 0},modelValue:{default:void 0},variant:{default:s.Line},size:{default:c.Medium},disabled:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},id:{default:void 0}},emits:[`update:modelValue`,`change`],setup(e,{emit:s}){let m=e,h=s,g=(0,o.useSlots)(),_=n.useStableId(m),v=(0,o.ref)(null),y=(0,o.computed)(()=>m.items.filter(e=>!w(e))),b=(0,o.ref)(m.modelValue??y.value[0]?.id);(0,o.watch)(()=>m.modelValue,e=>{e!=null&&(b.value=e)});let x=(0,o.computed)(()=>{let e=m.modelValue??b.value,t=m.items.find(t=>t.id===e);return t&&!w(t)?t.id:y.value[0]?.id}),S=(0,o.computed)(()=>m.size===c.Large?18:16),C=(0,o.computed)(()=>[`nb-tabs`,`nb-tabs--${m.variant}`,`nb-tabs--${m.size}`,{"nb-tabs--full-width":m.fullWidth,"nb-tabs--disabled":m.disabled,"nb-tabs--overflow":F.value,"nb-tabs--indicator":H.value!==null}]);function w(e){return m.disabled||!!e.disabled}function T(e){return`${_}-tab-${e}`}function E(e){return`${_}-panel-${e}`}function D(e){return i.hasSlotContent(g,e)}function O(e){w(e)||e.id===x.value||(b.value=e.id,h(`update:modelValue`,e.id),h(`change`,e.id,e))}function k(e){return[...v.value?.querySelectorAll(`[data-tab-id]`)??[]].find(t=>t.dataset.tabId===e)}function A(e){k(e)?.focus()}function j(e){let t=y.value;if(!t.length)return;let n=t[(t.findIndex(e=>e.id===x.value)+e+t.length)%t.length];O(n),A(n.id)}function M(e){e&&(O(e),A(e.id))}let{phone:N}=r.usePhoneLayout(),P=(0,o.ref)(null),F=(0,o.ref)(!1),I=(0,o.computed)(()=>N.value||F.value);function L(){let e=P.value,t=v.value;!e||!t||(F.value=t.scrollWidth>e.clientWidth+1)}let R=(0,o.ref)(!1),z=(0,o.ref)(!1);function B(){let e=v.value;if(!I.value||!e)return;let t=e.scrollWidth-e.clientWidth;R.value=e.scrollLeft>1,z.value=e.scrollLeft<t-1}function V(){let e=v.value;if(!I.value||!e)return;let t=k(x.value);if(t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=r.left-n.left+e.scrollLeft,a=i+r.width,o=[...e.querySelectorAll(`[data-tab-id]`)],s=t===o[0],c=t===o[o.length-1];i<e.scrollLeft+(s?0:p)?e.scrollLeft=Math.max(0,s?0:i-p):a>e.scrollLeft+e.clientWidth-(c?0:p)&&(e.scrollLeft=a-e.clientWidth+(c?0:p))}B()}let H=(0,o.ref)(null);function U(){let e=k(x.value),t=e?.offsetWidth??0;if(!e||t===0){H.value=null;return}let n=e.offsetLeft,r=H.value;r&&r.left===n&&r.width===t||(H.value={left:n,width:t})}(0,o.watch)([x,I],()=>(0,o.nextTick)(()=>{V(),U()}));function W(){L(),V(),U()}let G=null;function K(){!G||!P.value||!v.value||(G.disconnect(),G.observe(P.value),v.value.querySelectorAll(`[data-tab-id]`).forEach(e=>G?.observe(e)))}(0,o.watch)(()=>m.items,()=>(0,o.nextTick)(()=>{K(),W()}),{deep:!0}),(0,o.onMounted)(()=>{L(),V(),U(),window.addEventListener(`resize`,W,{passive:!0}),typeof ResizeObserver<`u`&&(G=new ResizeObserver(W),K())}),(0,o.onBeforeUnmount)(()=>{window.removeEventListener(`resize`,W),G?.disconnect(),G=null});function q(e){switch(e.key){case`ArrowRight`:j(1);break;case`ArrowLeft`:j(-1);break;case`Home`:M(y.value[0]);break;case`End`:M(y.value[y.value.length-1]);break;default:return}e.preventDefault()}return(n,r)=>((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{ref_key:`rootRef`,ref:P,class:(0,o.normalizeClass)(C.value)},[(0,o.createElementVNode)(`div`,{ref_key:`listRef`,ref:v,class:(0,o.normalizeClass)([`nb-tabs__list`,{"nb-tabs__list--fade-start":I.value&&R.value,"nb-tabs__list--fade-end":I.value&&z.value}]),role:`tablist`,"aria-label":e.ariaLabel||void 0,onKeydown:q,onScrollPassive:B},[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.items,e=>((0,o.openBlock)(),(0,o.createElementBlock)(`button`,{id:T(e.id),key:e.id,"data-tab-id":e.id,type:`button`,role:`tab`,class:(0,o.normalizeClass)([`nb-tabs__tab`,{"nb-tabs__tab--active":e.id===x.value}]),"aria-selected":e.id===x.value,"aria-controls":D(e.id)?E(e.id):void 0,tabindex:e.id===x.value?0:-1,disabled:w(e),onClick:t=>O(e)},[e.icon?((0,o.openBlock)(),(0,o.createBlock)(t.t,{key:0,name:e.icon,size:S.value,class:`nb-tabs__icon`},null,8,[`name`,`size`])):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`span`,d,(0,o.toDisplayString)(e.label),1),e.badge==null?(0,o.createCommentVNode)(``,!0):((0,o.openBlock)(),(0,o.createBlock)(a.t,{key:1,size:`sm`,class:`nb-tabs__badge`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.badge),1)]),_:2},1024))],10,u))),128)),H.value?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,{key:0,class:`nb-tabs__indicator`,"aria-hidden":`true`,style:(0,o.normalizeStyle)({transform:`translateX(${H.value.left}px)`,width:`${H.value.width}px`})},null,4)):(0,o.createCommentVNode)(``,!0)],42,l),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.items,e=>((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:`panel-${e.id}`},[e.id===x.value&&D(e.id)?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:0,id:E(e.id),class:`nb-tabs__panel`,role:`tabpanel`,"aria-labelledby":T(e.id),tabindex:`0`},[(0,o.renderSlot)(n.$slots,e.id,{item:e},void 0,!0)],8,f)):(0,o.createCommentVNode)(``,!0)],64))),128))],2))}}),h=e.t(m,[[`__scopeId`,`data-v-8b4b9149`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
+
import { useStableId as t } from "./composables/useStableId.composable.mjs";
|
|
3
|
+
import { t as ee } from "./Label-BDMCrURR.js";
|
|
4
|
+
import { t as n } from "./Message-BONOwoVY.js";
|
|
5
|
+
import { t as te } from "./Grid-jlgLOwom.js";
|
|
6
|
+
import { joinDescribedBy as r, useFieldMessage as ne } from "./composables/useFieldMessage.composable.mjs";
|
|
7
|
+
import { t as i } from "./TextInput.context-DV1MgL_Q.js";
|
|
8
|
+
import { useNbStrings as a } from "./composables/useNbStrings.composable.mjs";
|
|
9
|
+
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, defineComponent as p, mergeModels as m, mergeProps as h, nextTick as g, normalizeClass as _, openBlock as v, provide as re, ref as y, renderSlot as b, toDisplayString as x, unref as S, useAttrs as C, useModel as w, vModelDynamic as T, vModelText as ie, watch as ae, withCtx as E, withDirectives as D } from "vue";
|
|
10
|
+
//#region src/components/TextInput.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
+
var oe = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "nb-text-input__overlay-wrap"
|
|
14
|
+
}, se = ["innerHTML"], ce = [
|
|
15
|
+
"id",
|
|
16
|
+
"aria-invalid",
|
|
17
|
+
"aria-describedby",
|
|
18
|
+
"value",
|
|
19
|
+
"placeholder",
|
|
20
|
+
"disabled",
|
|
21
|
+
"readonly",
|
|
22
|
+
"name",
|
|
23
|
+
"maxlength"
|
|
24
|
+
], le = [
|
|
25
|
+
"id",
|
|
26
|
+
"aria-invalid",
|
|
27
|
+
"aria-describedby",
|
|
28
|
+
"value",
|
|
29
|
+
"placeholder",
|
|
30
|
+
"disabled",
|
|
31
|
+
"readonly",
|
|
32
|
+
"name",
|
|
33
|
+
"maxlength"
|
|
34
|
+
], ue = [
|
|
35
|
+
"id",
|
|
36
|
+
"aria-invalid",
|
|
37
|
+
"aria-describedby",
|
|
38
|
+
"placeholder",
|
|
39
|
+
"disabled",
|
|
40
|
+
"readonly",
|
|
41
|
+
"name",
|
|
42
|
+
"maxlength",
|
|
43
|
+
"rows"
|
|
44
|
+
], O = [
|
|
45
|
+
"id",
|
|
46
|
+
"aria-invalid",
|
|
47
|
+
"aria-describedby",
|
|
48
|
+
"type",
|
|
49
|
+
"placeholder",
|
|
50
|
+
"disabled",
|
|
51
|
+
"readonly",
|
|
52
|
+
"required",
|
|
53
|
+
"name",
|
|
54
|
+
"min",
|
|
55
|
+
"max",
|
|
56
|
+
"step",
|
|
57
|
+
"maxlength"
|
|
58
|
+
], de = {
|
|
59
|
+
key: 2,
|
|
60
|
+
class: "nb-text-input__decorator"
|
|
61
|
+
}, fe = {
|
|
62
|
+
key: 3,
|
|
63
|
+
class: "nb-text-input__actions"
|
|
64
|
+
}, pe = {
|
|
65
|
+
key: 3,
|
|
66
|
+
class: "nb-text-input__count"
|
|
67
|
+
}, k = {
|
|
68
|
+
key: 0,
|
|
69
|
+
class: "nb-text-input__inner-header"
|
|
70
|
+
}, A = ["for", "title"], j = {
|
|
71
|
+
key: 0,
|
|
72
|
+
class: "nb-text-input__asterisk",
|
|
73
|
+
"aria-hidden": "true"
|
|
74
|
+
}, M = {
|
|
75
|
+
key: 3,
|
|
76
|
+
class: "nb-text-input__count"
|
|
77
|
+
}, N = [
|
|
78
|
+
"id",
|
|
79
|
+
"aria-invalid",
|
|
80
|
+
"aria-describedby",
|
|
81
|
+
"type",
|
|
82
|
+
"placeholder",
|
|
83
|
+
"disabled",
|
|
84
|
+
"readonly",
|
|
85
|
+
"required",
|
|
86
|
+
"name",
|
|
87
|
+
"min",
|
|
88
|
+
"max",
|
|
89
|
+
"step",
|
|
90
|
+
"maxlength"
|
|
91
|
+
], P = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
92
|
+
inheritAttrs: !1,
|
|
93
|
+
__name: "TextInput",
|
|
94
|
+
props: /* @__PURE__ */ m({
|
|
95
|
+
type: { default: "text" },
|
|
96
|
+
min: { default: void 0 },
|
|
97
|
+
max: { default: void 0 },
|
|
98
|
+
step: { default: void 0 },
|
|
99
|
+
maxlength: { default: void 0 },
|
|
100
|
+
showCount: {
|
|
101
|
+
type: Boolean,
|
|
102
|
+
default: !1
|
|
103
|
+
},
|
|
104
|
+
multiline: {
|
|
105
|
+
type: Boolean,
|
|
106
|
+
default: !1
|
|
107
|
+
},
|
|
108
|
+
rows: { default: 3 },
|
|
109
|
+
highlight: {
|
|
110
|
+
type: Function,
|
|
111
|
+
default: void 0
|
|
112
|
+
},
|
|
113
|
+
readonly: {
|
|
114
|
+
type: Boolean,
|
|
115
|
+
default: !1
|
|
116
|
+
},
|
|
117
|
+
placeholder: { default: "" },
|
|
118
|
+
name: { default: "" },
|
|
119
|
+
disabled: {
|
|
120
|
+
type: Boolean,
|
|
121
|
+
default: !1
|
|
122
|
+
},
|
|
123
|
+
required: {
|
|
124
|
+
type: Boolean,
|
|
125
|
+
default: !1
|
|
126
|
+
},
|
|
127
|
+
id: { default: void 0 },
|
|
128
|
+
label: { default: "" },
|
|
129
|
+
error: { default: "" },
|
|
130
|
+
warning: { default: "" },
|
|
131
|
+
helper: { default: "" },
|
|
132
|
+
variant: { default: "default" },
|
|
133
|
+
size: { default: "md" }
|
|
134
|
+
}, {
|
|
135
|
+
modelValue: { default: "" },
|
|
136
|
+
modelModifiers: {}
|
|
137
|
+
}),
|
|
138
|
+
emits: ["update:modelValue"],
|
|
139
|
+
setup(e, { expose: p }) {
|
|
140
|
+
let m = e, P = w(e, "modelValue"), F = a(), I = s(() => m.showCount && typeof m.maxlength == "number"), L = s(() => F.value.textInputCount((P.value ?? "").length, m.maxlength ?? 0)), R = y(null), z = y(null);
|
|
141
|
+
p({
|
|
142
|
+
focus: () => R.value?.focus(),
|
|
143
|
+
blur: () => R.value?.blur(),
|
|
144
|
+
nativeEl: R
|
|
145
|
+
}), re(i, { field: R });
|
|
146
|
+
let B = y(!1), me = t({}), V = s(() => m.id ?? me), H = s(() => !!m.highlight), U = s(() => {
|
|
147
|
+
if (!m.highlight) return "";
|
|
148
|
+
let e = String(P.value ?? "");
|
|
149
|
+
return m.highlight(e) + "\n";
|
|
150
|
+
});
|
|
151
|
+
function W() {
|
|
152
|
+
z.value && R.value && (z.value.scrollTop = R.value.scrollTop);
|
|
153
|
+
}
|
|
154
|
+
ae(U, () => g(W));
|
|
155
|
+
let { variant: he, text: G, messageId: K, invalid: q, live: J, key: Y } = ne(m, V), X = s(() => he.value ?? "helper"), Z = s(() => !!G.value), ge = C(), Q = s(() => r(ge["aria-describedby"], K.value)), $ = s(() => ({
|
|
156
|
+
"nb-text-input__field-wrapper--focused": B.value,
|
|
157
|
+
"nb-text-input__field-wrapper--error": !!m.error,
|
|
158
|
+
"nb-text-input__field-wrapper--warning": !m.error && !!m.warning,
|
|
159
|
+
"nb-text-input__field-wrapper--disabled": m.disabled,
|
|
160
|
+
"nb-text-input__field-wrapper--readonly": m.readonly,
|
|
161
|
+
"nb-text-input__field-wrapper--overlay": H.value,
|
|
162
|
+
"nb-text-input__field-wrapper--multiline": m.multiline
|
|
163
|
+
}));
|
|
164
|
+
return (t, r) => (v(), c(te, {
|
|
165
|
+
dir: "col",
|
|
166
|
+
class: _([
|
|
167
|
+
"nb-text-input",
|
|
168
|
+
`nb-text-input--${e.variant}`,
|
|
169
|
+
`nb-text-input--${e.size}`,
|
|
170
|
+
{ "nb-text-input--multiline": e.multiline }
|
|
171
|
+
])
|
|
172
|
+
}, {
|
|
173
|
+
default: E(() => [e.variant === "default" ? (v(), u(o, { key: 0 }, [
|
|
174
|
+
t.$slots.label ? b(t.$slots, "label", { key: 0 }, void 0, !0) : e.label ? (v(), c(ee, {
|
|
175
|
+
key: 1,
|
|
176
|
+
for: V.value,
|
|
177
|
+
required: e.required,
|
|
178
|
+
disabled: e.disabled
|
|
179
|
+
}, {
|
|
180
|
+
default: E(() => [f(x(e.label), 1)]),
|
|
181
|
+
_: 1
|
|
182
|
+
}, 8, [
|
|
183
|
+
"for",
|
|
184
|
+
"required",
|
|
185
|
+
"disabled"
|
|
186
|
+
])) : l("", !0),
|
|
187
|
+
d("div", { class: _(["nb-text-input__field-wrapper", $.value]) }, [
|
|
188
|
+
b(t.$slots, "leading", {}, void 0, !0),
|
|
189
|
+
H.value ? (v(), u("div", oe, [d("div", {
|
|
190
|
+
ref_key: "mirrorRef",
|
|
191
|
+
ref: z,
|
|
192
|
+
class: "nb-text-input__mirror",
|
|
193
|
+
"aria-hidden": "true",
|
|
194
|
+
innerHTML: U.value
|
|
195
|
+
}, null, 8, se), e.multiline ? (v(), u("textarea", h({
|
|
196
|
+
key: 0,
|
|
197
|
+
id: V.value,
|
|
198
|
+
ref_key: "nativeRef",
|
|
199
|
+
ref: R
|
|
200
|
+
}, t.$attrs, {
|
|
201
|
+
"aria-invalid": S(q),
|
|
202
|
+
"aria-describedby": Q.value,
|
|
203
|
+
class: "nb-text-input__field--transparent",
|
|
204
|
+
value: P.value,
|
|
205
|
+
placeholder: e.placeholder,
|
|
206
|
+
disabled: e.disabled,
|
|
207
|
+
readonly: e.readonly,
|
|
208
|
+
name: e.name,
|
|
209
|
+
maxlength: e.maxlength,
|
|
210
|
+
spellcheck: "false",
|
|
211
|
+
autocomplete: "off",
|
|
212
|
+
autocorrect: "off",
|
|
213
|
+
onInput: r[0] ||= (e) => P.value = e.target.value,
|
|
214
|
+
onFocus: r[1] ||= (e) => B.value = !0,
|
|
215
|
+
onBlur: r[2] ||= (e) => B.value = !1,
|
|
216
|
+
onScroll: W
|
|
217
|
+
}), null, 16, ce)) : (v(), u("input", h({
|
|
218
|
+
key: 1,
|
|
219
|
+
id: V.value,
|
|
220
|
+
ref_key: "nativeRef",
|
|
221
|
+
ref: R
|
|
222
|
+
}, t.$attrs, {
|
|
223
|
+
"aria-invalid": S(q),
|
|
224
|
+
"aria-describedby": Q.value,
|
|
225
|
+
type: "text",
|
|
226
|
+
class: "nb-text-input__field--transparent",
|
|
227
|
+
value: P.value,
|
|
228
|
+
placeholder: e.placeholder,
|
|
229
|
+
disabled: e.disabled,
|
|
230
|
+
readonly: e.readonly,
|
|
231
|
+
name: e.name,
|
|
232
|
+
maxlength: e.maxlength,
|
|
233
|
+
spellcheck: "false",
|
|
234
|
+
onInput: r[3] ||= (e) => P.value = e.target.value,
|
|
235
|
+
onFocus: r[4] ||= (e) => B.value = !0,
|
|
236
|
+
onBlur: r[5] ||= (e) => B.value = !1
|
|
237
|
+
}), null, 16, le))])) : (v(), u(o, { key: 1 }, [e.multiline ? D((v(), u("textarea", h({
|
|
238
|
+
key: 0,
|
|
239
|
+
id: V.value,
|
|
240
|
+
ref_key: "nativeRef",
|
|
241
|
+
ref: R
|
|
242
|
+
}, t.$attrs, {
|
|
243
|
+
"onUpdate:modelValue": r[6] ||= (e) => P.value = e,
|
|
244
|
+
"aria-invalid": S(q),
|
|
245
|
+
"aria-describedby": Q.value,
|
|
246
|
+
class: "nb-text-input__field",
|
|
247
|
+
placeholder: e.placeholder,
|
|
248
|
+
disabled: e.disabled,
|
|
249
|
+
readonly: e.readonly,
|
|
250
|
+
name: e.name,
|
|
251
|
+
maxlength: e.maxlength,
|
|
252
|
+
rows: e.rows,
|
|
253
|
+
onFocus: r[7] ||= (e) => B.value = !0,
|
|
254
|
+
onBlur: r[8] ||= (e) => B.value = !1
|
|
255
|
+
}), null, 16, ue)), [[ie, P.value]]) : D((v(), u("input", h({
|
|
256
|
+
key: 1,
|
|
257
|
+
id: V.value,
|
|
258
|
+
ref_key: "nativeRef",
|
|
259
|
+
ref: R
|
|
260
|
+
}, t.$attrs, {
|
|
261
|
+
"onUpdate:modelValue": r[9] ||= (e) => P.value = e,
|
|
262
|
+
"aria-invalid": S(q),
|
|
263
|
+
"aria-describedby": Q.value,
|
|
264
|
+
class: "nb-text-input__field",
|
|
265
|
+
type: e.type,
|
|
266
|
+
placeholder: e.placeholder,
|
|
267
|
+
disabled: e.disabled,
|
|
268
|
+
readonly: e.readonly,
|
|
269
|
+
required: e.required,
|
|
270
|
+
name: e.name,
|
|
271
|
+
min: e.min,
|
|
272
|
+
max: e.max,
|
|
273
|
+
step: e.step,
|
|
274
|
+
maxlength: e.maxlength,
|
|
275
|
+
onFocus: r[10] ||= (e) => B.value = !0,
|
|
276
|
+
onBlur: r[11] ||= (e) => B.value = !1
|
|
277
|
+
}), null, 16, O)), [[T, P.value]])], 64)),
|
|
278
|
+
b(t.$slots, "trailing", {}, void 0, !0),
|
|
279
|
+
t.$slots.decorator ? (v(), u("div", de, [b(t.$slots, "decorator", {}, void 0, !0)])) : l("", !0),
|
|
280
|
+
t.$slots.actions ? (v(), u("div", fe, [b(t.$slots, "actions", {}, void 0, !0)])) : l("", !0)
|
|
281
|
+
], 2),
|
|
282
|
+
Z.value ? (v(), c(n, {
|
|
283
|
+
id: S(K),
|
|
284
|
+
key: S(Y),
|
|
285
|
+
variant: X.value,
|
|
286
|
+
live: S(J),
|
|
287
|
+
class: "nb-text-input__message"
|
|
288
|
+
}, {
|
|
289
|
+
default: E(() => [f(x(S(G)), 1)]),
|
|
290
|
+
_: 1
|
|
291
|
+
}, 8, [
|
|
292
|
+
"id",
|
|
293
|
+
"variant",
|
|
294
|
+
"live"
|
|
295
|
+
])) : l("", !0),
|
|
296
|
+
I.value ? (v(), u("span", pe, x(L.value), 1)) : l("", !0),
|
|
297
|
+
b(t.$slots, "dropdown", {}, void 0, !0)
|
|
298
|
+
], 64)) : e.variant === "fluid" ? (v(), u(o, { key: 1 }, [d("div", { class: _(["nb-text-input__field-wrapper", $.value]) }, [e.label || t.$slots.label ? (v(), u("div", k, [
|
|
299
|
+
t.$slots.label ? b(t.$slots, "label", { key: 0 }, void 0, !0) : (v(), u("label", {
|
|
300
|
+
key: 1,
|
|
301
|
+
for: V.value,
|
|
302
|
+
class: _(["nb-text-input__inner-label", { "nb-text-input__inner-label--required": e.required }]),
|
|
303
|
+
title: e.label || void 0
|
|
304
|
+
}, [f(x(e.label) + " ", 1), e.required ? (v(), u("span", j, "*")) : l("", !0)], 10, A)),
|
|
305
|
+
Z.value ? (v(), c(n, {
|
|
306
|
+
id: S(K),
|
|
307
|
+
key: S(Y),
|
|
308
|
+
variant: X.value,
|
|
309
|
+
live: S(J),
|
|
310
|
+
"icon-only": "",
|
|
311
|
+
class: "nb-text-input__inner-message"
|
|
312
|
+
}, {
|
|
313
|
+
default: E(() => [f(x(S(G)), 1)]),
|
|
314
|
+
_: 1
|
|
315
|
+
}, 8, [
|
|
316
|
+
"id",
|
|
317
|
+
"variant",
|
|
318
|
+
"live"
|
|
319
|
+
])) : l("", !0),
|
|
320
|
+
I.value ? (v(), u("span", M, x(L.value), 1)) : l("", !0)
|
|
321
|
+
])) : l("", !0), D(d("input", h({
|
|
322
|
+
id: V.value,
|
|
323
|
+
ref_key: "nativeRef",
|
|
324
|
+
ref: R
|
|
325
|
+
}, t.$attrs, {
|
|
326
|
+
"onUpdate:modelValue": r[12] ||= (e) => P.value = e,
|
|
327
|
+
"aria-invalid": S(q),
|
|
328
|
+
"aria-describedby": Q.value,
|
|
329
|
+
class: "nb-text-input__field",
|
|
330
|
+
type: e.type,
|
|
331
|
+
placeholder: e.placeholder,
|
|
332
|
+
disabled: e.disabled,
|
|
333
|
+
readonly: e.readonly,
|
|
334
|
+
required: e.required,
|
|
335
|
+
name: e.name,
|
|
336
|
+
min: e.min,
|
|
337
|
+
max: e.max,
|
|
338
|
+
step: e.step,
|
|
339
|
+
maxlength: e.maxlength,
|
|
340
|
+
onFocus: r[13] ||= (e) => B.value = !0,
|
|
341
|
+
onBlur: r[14] ||= (e) => B.value = !1
|
|
342
|
+
}), null, 16, N), [[T, P.value]])], 2), b(t.$slots, "dropdown", {}, void 0, !0)], 64)) : l("", !0)]),
|
|
343
|
+
_: 3
|
|
344
|
+
}, 8, ["class"]));
|
|
345
|
+
}
|
|
346
|
+
}), [["__scopeId", "data-v-f657247a"]]);
|
|
347
|
+
//#endregion
|
|
348
|
+
export { P as t };
|