@soft-stech/bootsman-ui-shadcn 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BuiAccordionContent.vue_vue_type_script_setup_true_lang-UAifo1pg.js → BuiAccordionContent.vue_vue_type_script_setup_true_lang-c5_VH1eD.js} +1 -1
- package/dist/{BuiAccordionItem.vue_vue_type_script_setup_true_lang-BygEMP_w.js → BuiAccordionItem.vue_vue_type_script_setup_true_lang-Dd1nCo36.js} +1 -1
- package/dist/{BuiAccordionTrigger.vue_vue_type_script_setup_true_lang-DhRPvcdd.js → BuiAccordionTrigger.vue_vue_type_script_setup_true_lang-De_bds34.js} +2 -2
- package/dist/{BuiAdvancedAccordionTrigger.vue_vue_type_script_setup_true_lang-Dva7EMOG.js → BuiAdvancedAccordionTrigger.vue_vue_type_script_setup_true_lang-QQc0J0w-.js} +2 -2
- package/dist/{BuiAlertDescription.vue_vue_type_script_setup_true_lang-KBmUwwtX.js → BuiAlertDescription.vue_vue_type_script_setup_true_lang-BupSMJLi.js} +1 -1
- package/dist/{BuiAlertDialogAction.vue_vue_type_script_setup_true_lang-CG6fMJpw.js → BuiAlertDialogAction.vue_vue_type_script_setup_true_lang-BNcy4kS-.js} +1 -1
- package/dist/{BuiAlertDialogCancel.vue_vue_type_script_setup_true_lang-D7MlLhMW.js → BuiAlertDialogCancel.vue_vue_type_script_setup_true_lang-BLCRGPIx.js} +1 -1
- package/dist/{BuiAlertDialogContent.vue_vue_type_script_setup_true_lang-BE0PDCss.js → BuiAlertDialogContent.vue_vue_type_script_setup_true_lang-BOb2gQa_.js} +1 -1
- package/dist/{BuiAlertDialogDescription.vue_vue_type_script_setup_true_lang-DCsNaH8D.js → BuiAlertDialogDescription.vue_vue_type_script_setup_true_lang-BT-a2lf_.js} +1 -1
- package/dist/{BuiAlertDialogFooter.vue_vue_type_script_setup_true_lang-CMry1wvx.js → BuiAlertDialogFooter.vue_vue_type_script_setup_true_lang-BO-qXyZw.js} +1 -1
- package/dist/{BuiAlertDialogHeader.vue_vue_type_script_setup_true_lang-nDLdR-9O.js → BuiAlertDialogHeader.vue_vue_type_script_setup_true_lang-wvST-_z5.js} +1 -1
- package/dist/{BuiAlertDialogTitle.vue_vue_type_script_setup_true_lang-CzakiaYs.js → BuiAlertDialogTitle.vue_vue_type_script_setup_true_lang-CGFwvdeR.js} +1 -1
- package/dist/{BuiAlertTitle.vue_vue_type_script_setup_true_lang-B8OILWXX.js → BuiAlertTitle.vue_vue_type_script_setup_true_lang-tPnX3HZp.js} +1 -1
- package/dist/{BuiCard.vue_vue_type_script_setup_true_lang-CDInmzmo.js → BuiCard.vue_vue_type_script_setup_true_lang-G5gw92_E.js} +1 -1
- package/dist/{BuiCardContent.vue_vue_type_script_setup_true_lang-9j_VgccG.js → BuiCardContent.vue_vue_type_script_setup_true_lang-Bduq13_Y.js} +1 -1
- package/dist/{BuiCardDescription.vue_vue_type_script_setup_true_lang-CoP3Ph4D.js → BuiCardDescription.vue_vue_type_script_setup_true_lang-QL1qVCTG.js} +1 -1
- package/dist/{BuiCardFooter.vue_vue_type_script_setup_true_lang-BajgrGkz.js → BuiCardFooter.vue_vue_type_script_setup_true_lang-BIxgRWEQ.js} +1 -1
- package/dist/{BuiCardHeader.vue_vue_type_script_setup_true_lang-BwfdY2ob.js → BuiCardHeader.vue_vue_type_script_setup_true_lang-BHOflRIn.js} +1 -1
- package/dist/{BuiCardTitle.vue_vue_type_script_setup_true_lang-g9b2xtnX.js → BuiCardTitle.vue_vue_type_script_setup_true_lang-CegtBD12.js} +1 -1
- package/dist/{BuiCheckbox.vue_vue_type_script_setup_true_lang-BzN61Zpy.js → BuiCheckbox.vue_vue_type_script_setup_true_lang-Dou42Vk7.js} +2 -2
- package/dist/{BuiCommand.vue_vue_type_script_setup_true_lang-BSgaC6Ww.js → BuiCommand.vue_vue_type_script_setup_true_lang-C9t6KZHd.js} +1 -1
- package/dist/{BuiCommandDialog.vue_vue_type_script_setup_true_lang-vxdoNDyw.js → BuiCommandDialog.vue_vue_type_script_setup_true_lang-BtyMqpd2.js} +2 -2
- package/dist/{BuiCommandEmpty.vue_vue_type_script_setup_true_lang-B42jJkFd.js → BuiCommandEmpty.vue_vue_type_script_setup_true_lang-C9kuC-R8.js} +1 -1
- package/dist/{BuiCommandGroup.vue_vue_type_script_setup_true_lang-70WWbLGh.js → BuiCommandGroup.vue_vue_type_script_setup_true_lang-03YpNr6K.js} +1 -1
- package/dist/{BuiCommandInput.vue_vue_type_script_setup_true_lang-DjzLxbB4.js → BuiCommandInput.vue_vue_type_script_setup_true_lang-pTNZk09S.js} +1 -1
- package/dist/{BuiCommandItem.vue_vue_type_script_setup_true_lang-S2XDjPDP.js → BuiCommandItem.vue_vue_type_script_setup_true_lang-ClI0K_P_.js} +1 -1
- package/dist/{BuiCommandList.vue_vue_type_script_setup_true_lang-BfBwjyqH.js → BuiCommandList.vue_vue_type_script_setup_true_lang-D1GTM_xk.js} +1 -1
- package/dist/{BuiCommandNewItem.vue_vue_type_script_setup_true_lang-DG2QlRSW.js → BuiCommandNewItem.vue_vue_type_script_setup_true_lang-D86u3DZr.js} +1 -1
- package/dist/{BuiCommandSeparator.vue_vue_type_script_setup_true_lang-BtKClSd9.js → BuiCommandSeparator.vue_vue_type_script_setup_true_lang-wP8_ZP4Z.js} +1 -1
- package/dist/{BuiCommandShortcut.vue_vue_type_script_setup_true_lang-vtHeai7E.js → BuiCommandShortcut.vue_vue_type_script_setup_true_lang-sG1r1uvP.js} +1 -1
- package/dist/{BuiContextMenuCheckboxItem.vue_vue_type_script_setup_true_lang-ByIA7RVH.js → BuiContextMenuCheckboxItem.vue_vue_type_script_setup_true_lang-B29N0Ruh.js} +2 -2
- package/dist/{BuiContextMenuContent.vue_vue_type_script_setup_true_lang-DaHIZV11.js → BuiContextMenuContent.vue_vue_type_script_setup_true_lang-DL_M24yI.js} +1 -1
- package/dist/{BuiContextMenuItem.vue_vue_type_script_setup_true_lang-DRj9GGtT.js → BuiContextMenuItem.vue_vue_type_script_setup_true_lang-B_5hk25d.js} +1 -1
- package/dist/{BuiContextMenuLabel.vue_vue_type_script_setup_true_lang-Bb1eJERp.js → BuiContextMenuLabel.vue_vue_type_script_setup_true_lang-B1A_ur9H.js} +1 -1
- package/dist/{BuiContextMenuRadioItem.vue_vue_type_script_setup_true_lang-CNdmMZ63.js → BuiContextMenuRadioItem.vue_vue_type_script_setup_true_lang-B_QDH93H.js} +2 -2
- package/dist/{BuiContextMenuSeparator.vue_vue_type_script_setup_true_lang-CESVy0Bc.js → BuiContextMenuSeparator.vue_vue_type_script_setup_true_lang-BcxDg2BX.js} +1 -1
- package/dist/{BuiContextMenuShortcut.vue_vue_type_script_setup_true_lang-Cvi63HCk.js → BuiContextMenuShortcut.vue_vue_type_script_setup_true_lang-kj5A-Wd9.js} +1 -1
- package/dist/{BuiContextMenuSubContent.vue_vue_type_script_setup_true_lang-BSvsfNPp.js → BuiContextMenuSubContent.vue_vue_type_script_setup_true_lang-BIHMmzb5.js} +1 -1
- package/dist/{BuiContextMenuSubTrigger.vue_vue_type_script_setup_true_lang-ClkPe5lN.js → BuiContextMenuSubTrigger.vue_vue_type_script_setup_true_lang-DbB8H94x.js} +2 -2
- package/dist/{BuiDataTableColumnList.vue_vue_type_script_setup_true_lang-CjisOp79.js → BuiDataTableColumnList.vue_vue_type_script_setup_true_lang-D773bU4z.js} +2 -2
- package/dist/{BuiDialogContent.vue_vue_type_script_setup_true_lang-e7J631vv.js → BuiDialogContent.vue_vue_type_script_setup_true_lang-CCfPUGLe.js} +2 -2
- package/dist/{BuiDialogDescription.vue_vue_type_script_setup_true_lang-DrMa5s7y.js → BuiDialogDescription.vue_vue_type_script_setup_true_lang-ky8ablqV.js} +1 -1
- package/dist/{BuiDialogFooter.vue_vue_type_script_setup_true_lang-Cfqk7Y6N.js → BuiDialogFooter.vue_vue_type_script_setup_true_lang-CKgQ_fNI.js} +1 -1
- package/dist/{BuiDialogHeader.vue_vue_type_script_setup_true_lang-BizX9GnL.js → BuiDialogHeader.vue_vue_type_script_setup_true_lang-ti0pnQoP.js} +1 -1
- package/dist/{BuiDialogTitle.vue_vue_type_script_setup_true_lang-CKp_7cQC.js → BuiDialogTitle.vue_vue_type_script_setup_true_lang-BpWuDai-.js} +1 -1
- package/dist/{BuiDropdownMenuCheckboxItem.vue_vue_type_script_setup_true_lang-xDn643Ks.js → BuiDropdownMenuCheckboxItem.vue_vue_type_script_setup_true_lang-C38joVma.js} +2 -2
- package/dist/{BuiDropdownMenuContent.vue_vue_type_script_setup_true_lang-DVh1fGn7.js → BuiDropdownMenuContent.vue_vue_type_script_setup_true_lang-CLG9EUSR.js} +1 -1
- package/dist/{BuiDropdownMenuItem.vue_vue_type_script_setup_true_lang-Clj6VYlM.js → BuiDropdownMenuItem.vue_vue_type_script_setup_true_lang-BVeRJ5Lm.js} +1 -1
- package/dist/{BuiDropdownMenuLabel.vue_vue_type_script_setup_true_lang-DDzsRGZr.js → BuiDropdownMenuLabel.vue_vue_type_script_setup_true_lang-jQJxat90.js} +1 -1
- package/dist/{BuiDropdownMenuRadioItem.vue_vue_type_script_setup_true_lang-BN9rQFpr.js → BuiDropdownMenuRadioItem.vue_vue_type_script_setup_true_lang-Dj9HJln9.js} +2 -2
- package/dist/{BuiDropdownMenuShortcut.vue_vue_type_script_setup_true_lang--YXT3XSy.js → BuiDropdownMenuShortcut.vue_vue_type_script_setup_true_lang-THMNQLTb.js} +1 -1
- package/dist/{BuiDropdownMenuSubContent.vue_vue_type_script_setup_true_lang-BMyaaUTq.js → BuiDropdownMenuSubContent.vue_vue_type_script_setup_true_lang-BAWLIxOQ.js} +1 -1
- package/dist/{BuiDropdownMenuSubTrigger.vue_vue_type_script_setup_true_lang-BmElIjbk.js → BuiDropdownMenuSubTrigger.vue_vue_type_script_setup_true_lang-DpRXTW6w.js} +2 -2
- package/dist/{BuiHoverCardContent.vue_vue_type_script_setup_true_lang-fG5t5Gy_.js → BuiHoverCardContent.vue_vue_type_script_setup_true_lang-Cn3GL2Ht.js} +1 -1
- package/dist/{BuiLabel.vue_vue_type_script_setup_true_lang-jZwMULvn.js → BuiLabel.vue_vue_type_script_setup_true_lang-aH1riW93.js} +1 -1
- package/dist/{BuiPaginationCommon.vue_vue_type_script_setup_true_lang-W2oLNrC8.js → BuiPaginationCommon.vue_vue_type_script_setup_true_lang-BmHKj-mX.js} +8 -8
- package/dist/{BuiPaginationEllipsis.vue_vue_type_script_setup_true_lang-BtzoPpAb.js → BuiPaginationEllipsis.vue_vue_type_script_setup_true_lang-B8gA9YF7.js} +1 -1
- package/dist/{BuiPaginationFirst.vue_vue_type_script_setup_true_lang-BNcAnGyC.js → BuiPaginationFirst.vue_vue_type_script_setup_true_lang-D9fQ7GgI.js} +1 -1
- package/dist/{BuiPaginationLast.vue_vue_type_script_setup_true_lang-DDAPAUK4.js → BuiPaginationLast.vue_vue_type_script_setup_true_lang-CdZ1DLOE.js} +1 -1
- package/dist/{BuiPaginationNext.vue_vue_type_script_setup_true_lang-BHCwlGNs.js → BuiPaginationNext.vue_vue_type_script_setup_true_lang-C4s8P6OX.js} +2 -2
- package/dist/{BuiPaginationPrev.vue_vue_type_script_setup_true_lang-XOd1LU56.js → BuiPaginationPrev.vue_vue_type_script_setup_true_lang-ZV5pyiwB.js} +2 -2
- package/dist/{BuiPopoverContent.vue_vue_type_script_setup_true_lang-Bk_YVhGO.js → BuiPopoverContent.vue_vue_type_script_setup_true_lang-D2HrsdcJ.js} +1 -1
- package/dist/{BuiRadioGroup.vue_vue_type_script_setup_true_lang-4hspwwpe.js → BuiRadioGroup.vue_vue_type_script_setup_true_lang-C0S39HCk.js} +1 -1
- package/dist/{BuiRadioGroupItem.vue_vue_type_script_setup_true_lang-Yxzj2m7E.js → BuiRadioGroupItem.vue_vue_type_script_setup_true_lang-B4-euvSx.js} +2 -2
- package/dist/{BuiScrollArea.vue_vue_type_script_setup_true_lang-_EG_KhUd.js → BuiScrollArea.vue_vue_type_script_setup_true_lang-miMST-A8.js} +2 -2
- package/dist/{BuiScrollBar.vue_vue_type_script_setup_true_lang-Cps_IAtL.js → BuiScrollBar.vue_vue_type_script_setup_true_lang-B3j42w_b.js} +1 -1
- package/dist/{BuiSelect.vue_vue_type_script_setup_true_lang-BrkkZ3QS.js → BuiSelect.vue_vue_type_script_setup_true_lang-7nuIk5zm.js} +1 -1
- package/dist/{BuiSelectContent.vue_vue_type_script_setup_true_lang-QPc4hA5b.js → BuiSelectContent.vue_vue_type_script_setup_true_lang-C5jkSDWv.js} +1 -1
- package/dist/{BuiSelectGroup.vue_vue_type_script_setup_true_lang-CIhcJPaF.js → BuiSelectGroup.vue_vue_type_script_setup_true_lang-SvmhhRm4.js} +1 -1
- package/dist/{BuiSelectItem.vue_vue_type_script_setup_true_lang-DsyBlpQu.js → BuiSelectItem.vue_vue_type_script_setup_true_lang-BWwndLfo.js} +2 -2
- package/dist/{BuiSelectLabel.vue_vue_type_script_setup_true_lang-Bui66_eB.js → BuiSelectLabel.vue_vue_type_script_setup_true_lang-DzpZp0zv.js} +1 -1
- package/dist/{BuiSelectSeparator.vue_vue_type_script_setup_true_lang-fhHANlBN.js → BuiSelectSeparator.vue_vue_type_script_setup_true_lang-DPkKme6-.js} +1 -1
- package/dist/{BuiSelectTrigger.vue_vue_type_script_setup_true_lang-DXGN7wlD.js → BuiSelectTrigger.vue_vue_type_script_setup_true_lang-BDl_H1RT.js} +2 -2
- package/dist/{BuiSeparator.vue_vue_type_script_setup_true_lang-C8rvjRM-.js → BuiSeparator.vue_vue_type_script_setup_true_lang-CPQEQcdy.js} +1 -1
- package/dist/{BuiSheetDescription.vue_vue_type_script_setup_true_lang-C-o1J_vl.js → BuiSheetDescription.vue_vue_type_script_setup_true_lang-CX0D6ei7.js} +1 -1
- package/dist/{BuiSheetFooter.vue_vue_type_script_setup_true_lang-C7-i_EFk.js → BuiSheetFooter.vue_vue_type_script_setup_true_lang-Bu6nIFer.js} +1 -1
- package/dist/{BuiSheetHeader.vue_vue_type_script_setup_true_lang-DZ_1xzjv.js → BuiSheetHeader.vue_vue_type_script_setup_true_lang-BaW1v4MY.js} +1 -1
- package/dist/{BuiSheetTitle.vue_vue_type_script_setup_true_lang-uQwvN0Ya.js → BuiSheetTitle.vue_vue_type_script_setup_true_lang-DdO6pkNU.js} +1 -1
- package/dist/{BuiSlider.vue_vue_type_script_setup_true_lang-ROPSjvv_.js → BuiSlider.vue_vue_type_script_setup_true_lang-CwWWg-YR.js} +1 -1
- package/dist/{BuiStepper.vue_vue_type_script_setup_true_lang-4HiUCR7f.js → BuiStepper.vue_vue_type_script_setup_true_lang-BK8shmbx.js} +1 -1
- package/dist/{BuiStepperDescription.vue_vue_type_script_setup_true_lang-B8bx_81P.js → BuiStepperDescription.vue_vue_type_script_setup_true_lang-BLYnrGXi.js} +1 -1
- package/dist/{BuiStepperIndicator.vue_vue_type_script_setup_true_lang-CoqNm362.js → BuiStepperIndicator.vue_vue_type_script_setup_true_lang-UHpLeLHD.js} +1 -1
- package/dist/{BuiStepperItem.vue_vue_type_script_setup_true_lang-DZ4syPyn.js → BuiStepperItem.vue_vue_type_script_setup_true_lang-DgLQ_dOu.js} +1 -1
- package/dist/{BuiStepperSeparator.vue_vue_type_script_setup_true_lang-x9K6Ih-S.js → BuiStepperSeparator.vue_vue_type_script_setup_true_lang-mGXtOyN_.js} +1 -1
- package/dist/{BuiStepperTitle.vue_vue_type_script_setup_true_lang-Bmd5cuMW.js → BuiStepperTitle.vue_vue_type_script_setup_true_lang-DaiclCaJ.js} +1 -1
- package/dist/{BuiStepperTrigger.vue_vue_type_script_setup_true_lang-BpAKlli4.js → BuiStepperTrigger.vue_vue_type_script_setup_true_lang-CFkP8dRM.js} +1 -1
- package/dist/{BuiSwitch.vue_vue_type_script_setup_true_lang-XFLo2vqO.js → BuiSwitch.vue_vue_type_script_setup_true_lang-DjcLgXGh.js} +1 -1
- package/dist/{BuiTable.vue_vue_type_script_setup_true_lang-Binw-Rld.js → BuiTable.vue_vue_type_script_setup_true_lang-TmQWdrcP.js} +8 -8
- package/dist/{BuiTableBody.vue_vue_type_script_setup_true_lang-CMvrY2ha.js → BuiTableBody.vue_vue_type_script_setup_true_lang-Px00iYCK.js} +1 -1
- package/dist/{BuiTableCaption.vue_vue_type_script_setup_true_lang-D91bjQTX.js → BuiTableCaption.vue_vue_type_script_setup_true_lang-CFuiQU2a.js} +1 -1
- package/dist/{BuiTableCell.vue_vue_type_script_setup_true_lang-DIfJCEoN.js → BuiTableCell.vue_vue_type_script_setup_true_lang-CKoEGoFg.js} +1 -1
- package/dist/{BuiTableEmpty.vue_vue_type_script_setup_true_lang-CaVhbPyY.js → BuiTableEmpty.vue_vue_type_script_setup_true_lang-CtV7Xvx3.js} +3 -3
- package/dist/{BuiTableFooter.vue_vue_type_script_setup_true_lang-B6IzB_Ja.js → BuiTableFooter.vue_vue_type_script_setup_true_lang-DKrPWcAK.js} +1 -1
- package/dist/{BuiTableHead.vue_vue_type_script_setup_true_lang-D3Os5Lh1.js → BuiTableHead.vue_vue_type_script_setup_true_lang-DZmCKU6-.js} +1 -1
- package/dist/{BuiTableHeader.vue_vue_type_script_setup_true_lang-BWh-n8pz.js → BuiTableHeader.vue_vue_type_script_setup_true_lang-QrYFzMe6.js} +1 -1
- package/dist/{BuiTableRow.vue_vue_type_script_setup_true_lang-C7YHOlec.js → BuiTableRow.vue_vue_type_script_setup_true_lang-DVZltB3S.js} +1 -1
- package/dist/{BuiTabsContent.vue_vue_type_script_setup_true_lang-KkegJgUo.js → BuiTabsContent.vue_vue_type_script_setup_true_lang-Dkt7IoDQ.js} +1 -1
- package/dist/{BuiToastAction.vue_vue_type_script_setup_true_lang-Bw-47Iz7.js → BuiToastAction.vue_vue_type_script_setup_true_lang-D_VSjMYs.js} +1 -1
- package/dist/{BuiToastClose.vue_vue_type_script_setup_true_lang-Crs1hVnm.js → BuiToastClose.vue_vue_type_script_setup_true_lang-ClEb_oEW.js} +2 -2
- package/dist/{BuiToastDescription.vue_vue_type_script_setup_true_lang-D8FleK5g.js → BuiToastDescription.vue_vue_type_script_setup_true_lang-DSjJhbb8.js} +1 -1
- package/dist/{BuiToastTitle.vue_vue_type_script_setup_true_lang-CPf2t0Dq.js → BuiToastTitle.vue_vue_type_script_setup_true_lang-DSRRavBx.js} +1 -1
- package/dist/{BuiToastViewport.vue_vue_type_script_setup_true_lang-DSYWt4WY.js → BuiToastViewport.vue_vue_type_script_setup_true_lang-Ri_enqSY.js} +1 -1
- package/dist/{BuiToggleGroup.vue_vue_type_script_setup_true_lang-CX67CMp-.js → BuiToggleGroup.vue_vue_type_script_setup_true_lang-BM9bG9WW.js} +1 -1
- package/dist/{BuiToggleGroupItem.vue_vue_type_script_setup_true_lang-MwA1tL4W.js → BuiToggleGroupItem.vue_vue_type_script_setup_true_lang-C90gihY4.js} +2 -2
- package/dist/{BuiTooltipContent.vue_vue_type_script_setup_true_lang-CHXHHfQD.js → BuiTooltipContent.vue_vue_type_script_setup_true_lang-DIJkMNh3.js} +1 -1
- package/dist/{Skeleton.vue_vue_type_script_setup_true_lang-CT7g2lO8.js → Skeleton.vue_vue_type_script_setup_true_lang-CdYEU8Gk.js} +1 -1
- package/dist/{check-ClBDNfpL.js → check-D8Xwea81.js} +1 -1
- package/dist/{chevron-down-CnyZx8-A.js → chevron-down-DkE5OWOj.js} +1 -1
- package/dist/{chevron-left-CanA8Qa-.js → chevron-left-CUDX_zEV.js} +1 -1
- package/dist/{chevron-right-DrML6GnW.js → chevron-right-BLqSTd4Q.js} +1 -1
- package/dist/{circle-Cm0FuBSd.js → circle-CcZTYfrk.js} +1 -1
- package/dist/components/accordion/BuiAccordionContent.js +1 -1
- package/dist/components/accordion/BuiAccordionItem.js +1 -1
- package/dist/components/accordion/BuiAccordionTrigger.js +1 -1
- package/dist/components/accordion/BuiAdvancedAccordionTrigger.js +1 -1
- package/dist/components/accordion/index.js +4 -4
- package/dist/components/alert/BuiAlertDescription.js +1 -1
- package/dist/components/alert/BuiAlertTitle.js +1 -1
- package/dist/components/alert/index.js +3 -3
- package/dist/components/alert-dialog/BuiAlertDialogAction.js +1 -1
- package/dist/components/alert-dialog/BuiAlertDialogCancel.js +1 -1
- package/dist/components/alert-dialog/BuiAlertDialogContent.js +1 -1
- package/dist/components/alert-dialog/BuiAlertDialogDescription.js +1 -1
- package/dist/components/alert-dialog/BuiAlertDialogFooter.js +1 -1
- package/dist/components/alert-dialog/BuiAlertDialogHeader.js +1 -1
- package/dist/components/alert-dialog/BuiAlertDialogTitle.js +1 -1
- package/dist/components/alert-dialog/index.js +7 -7
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/badge/index.js +2 -2
- package/dist/components/button/BuiButton.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/calendar/index.js +3 -3
- package/dist/components/card/BuiCard.js +1 -1
- package/dist/components/card/BuiCardContent.js +1 -1
- package/dist/components/card/BuiCardDescription.js +1 -1
- package/dist/components/card/BuiCardFooter.js +1 -1
- package/dist/components/card/BuiCardHeader.js +1 -1
- package/dist/components/card/BuiCardTitle.js +1 -1
- package/dist/components/card/index.js +6 -6
- package/dist/components/checkbox/BuiCheckbox.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/command/BuiCommand.js +1 -1
- package/dist/components/command/BuiCommandDialog.js +1 -1
- package/dist/components/command/BuiCommandEmpty.js +1 -1
- package/dist/components/command/BuiCommandGroup.js +1 -1
- package/dist/components/command/BuiCommandInput.js +1 -1
- package/dist/components/command/BuiCommandItem.js +1 -1
- package/dist/components/command/BuiCommandList.js +1 -1
- package/dist/components/command/BuiCommandNewItem.js +1 -1
- package/dist/components/command/BuiCommandSeparator.js +1 -1
- package/dist/components/command/BuiCommandShortcut.js +1 -1
- package/dist/components/command/index.js +10 -10
- package/dist/components/context-menu/BuiContextMenuCheckboxItem.js +1 -1
- package/dist/components/context-menu/BuiContextMenuContent.js +1 -1
- package/dist/components/context-menu/BuiContextMenuItem.js +1 -1
- package/dist/components/context-menu/BuiContextMenuLabel.js +1 -1
- package/dist/components/context-menu/BuiContextMenuRadioItem.js +1 -1
- package/dist/components/context-menu/BuiContextMenuSeparator.js +1 -1
- package/dist/components/context-menu/BuiContextMenuShortcut.js +1 -1
- package/dist/components/context-menu/BuiContextMenuSubContent.js +1 -1
- package/dist/components/context-menu/BuiContextMenuSubTrigger.js +1 -1
- package/dist/components/context-menu/index.js +9 -9
- package/dist/components/dialog/BuiDialogContent.js +1 -1
- package/dist/components/dialog/BuiDialogDescription.js +1 -1
- package/dist/components/dialog/BuiDialogFooter.js +1 -1
- package/dist/components/dialog/BuiDialogHeader.js +1 -1
- package/dist/components/dialog/BuiDialogTitle.js +1 -1
- package/dist/components/dialog/index.js +5 -5
- package/dist/components/dropdown-menu/BuiDropdownMenuCheckboxItem.js +1 -1
- package/dist/components/dropdown-menu/BuiDropdownMenuContent.js +1 -1
- package/dist/components/dropdown-menu/BuiDropdownMenuItem.js +1 -1
- package/dist/components/dropdown-menu/BuiDropdownMenuLabel.js +1 -1
- package/dist/components/dropdown-menu/BuiDropdownMenuRadioItem.js +1 -1
- package/dist/components/dropdown-menu/BuiDropdownMenuShortcut.js +1 -1
- package/dist/components/dropdown-menu/BuiDropdownMenuSubContent.js +1 -1
- package/dist/components/dropdown-menu/BuiDropdownMenuSubTrigger.js +1 -1
- package/dist/components/dropdown-menu/index.js +8 -8
- package/dist/components/form/BuiFormControl.js +1 -1
- package/dist/components/form/BuiFormDescription.js +1 -1
- package/dist/components/form/BuiFormItem.js +2 -2
- package/dist/components/form/BuiFormLabel.js +1 -1
- package/dist/components/form/BuiFormMessage.js +1 -1
- package/dist/components/form/index.js +1 -1
- package/dist/components/form/useFormField.js +1 -1
- package/dist/components/health/index.js +1 -1
- package/dist/components/hover-card/BuiHoverCardContent.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/input/index.js +2 -2
- package/dist/components/label/BuiLabel.js +1 -1
- package/dist/components/label/index.js +1 -1
- package/dist/components/pagination/BuiPaginationCommon.js +1 -1
- package/dist/components/pagination/BuiPaginationEllipsis.js +1 -1
- package/dist/components/pagination/BuiPaginationFirst.js +1 -1
- package/dist/components/pagination/BuiPaginationLast.js +1 -1
- package/dist/components/pagination/BuiPaginationNext.js +1 -1
- package/dist/components/pagination/BuiPaginationPrev.js +1 -1
- package/dist/components/pagination/index.js +6 -6
- package/dist/components/popover/BuiPopoverContent.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/radio-group/BuiRadioGroup.js +1 -1
- package/dist/components/radio-group/BuiRadioGroupItem.js +1 -1
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/scroll-area/BuiScrollArea.js +1 -1
- package/dist/components/scroll-area/BuiScrollBar.js +1 -1
- package/dist/components/scroll-area/index.js +2 -2
- package/dist/components/select/BuiSelect.js +1 -1
- package/dist/components/select/BuiSelectContent.js +1 -1
- package/dist/components/select/BuiSelectGroup.js +1 -1
- package/dist/components/select/BuiSelectItem.js +1 -1
- package/dist/components/select/BuiSelectLabel.js +1 -1
- package/dist/components/select/BuiSelectSeparator.js +1 -1
- package/dist/components/select/BuiSelectTrigger.js +1 -1
- package/dist/components/select/index.js +7 -7
- package/dist/components/separator/BuiSeparator.js +1 -1
- package/dist/components/separator/index.js +1 -1
- package/dist/components/sheet/BuiSheetDescription.js +1 -1
- package/dist/components/sheet/BuiSheetFooter.js +1 -1
- package/dist/components/sheet/BuiSheetHeader.js +1 -1
- package/dist/components/sheet/BuiSheetTitle.js +1 -1
- package/dist/components/sheet/index.js +6 -6
- package/dist/components/skeleton/Skeleton.js +1 -1
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/slider/BuiSlider.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/stepper/BuiStepper.js +1 -1
- package/dist/components/stepper/BuiStepperDescription.js +1 -1
- package/dist/components/stepper/BuiStepperIndicator.js +1 -1
- package/dist/components/stepper/BuiStepperItem.js +1 -1
- package/dist/components/stepper/BuiStepperSeparator.js +1 -1
- package/dist/components/stepper/BuiStepperTitle.js +1 -1
- package/dist/components/stepper/BuiStepperTrigger.js +1 -1
- package/dist/components/stepper/index.js +7 -7
- package/dist/components/switch/BuiSwitch.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/table/BuiDataTable.vue.d.ts +2 -1
- package/dist/components/table/BuiDataTableColumnList.js +1 -1
- package/dist/components/table/BuiTable.js +1 -1
- package/dist/components/table/BuiTableBody.js +1 -1
- package/dist/components/table/BuiTableCaption.js +1 -1
- package/dist/components/table/BuiTableCell.js +1 -1
- package/dist/components/table/BuiTableEmpty.js +1 -1
- package/dist/components/table/BuiTableFooter.js +1 -1
- package/dist/components/table/BuiTableHead.js +1 -1
- package/dist/components/table/BuiTableHeader.js +1 -1
- package/dist/components/table/BuiTableRow.js +1 -1
- package/dist/components/table/BuiTableRowSubrow.vue.d.ts +1 -1
- package/dist/components/table/index.js +539 -489
- package/dist/components/tabs/BuiTabsContent.js +1 -1
- package/dist/components/tabs/index.js +3 -3
- package/dist/components/textarea/index.js +1 -1
- package/dist/components/toast/BuiToastAction.js +1 -1
- package/dist/components/toast/BuiToastClose.js +1 -1
- package/dist/components/toast/BuiToastDescription.js +1 -1
- package/dist/components/toast/BuiToastTitle.js +1 -1
- package/dist/components/toast/BuiToastViewport.js +1 -1
- package/dist/components/toast/index.js +6 -6
- package/dist/components/toggle/BuiToggle.js +1 -1
- package/dist/components/toggle/index.js +2 -2
- package/dist/components/toggle-group/BuiToggleGroup.js +1 -1
- package/dist/components/toggle-group/BuiToggleGroupItem.js +1 -1
- package/dist/components/toggle-group/index.js +2 -2
- package/dist/components/tooltip/BuiTooltipContent.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/{index-CJkXCE_U.js → index-B9Nbbj8n.js} +1 -1
- package/dist/index.js +108 -108
- package/dist/lib/utils.d.ts +6 -3
- package/dist/lib/utils.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{utils-BYyL6OyR.js → utils-DIEJYj9K.js} +128 -128
- package/dist/{x-CSdSFLPu.js → x-CDyOFgEX.js} +1 -1
- package/package.json +1 -1
- package/src/components/calendar/BuiCalendar.vue +1 -1
- package/src/components/pagination/BuiPaginationCommon.vue +1 -1
- package/src/components/select/BuiSelect.vue +4 -4
- package/src/components/table/BuiDataTable.vue +106 -40
- package/src/components/table/BuiTable.vue +1 -1
- package/src/components/table/BuiTableRowSubrow.vue +1 -1
- package/src/index.ts +0 -1
- package/src/lib/utils.ts +10 -4
- package/src/stories/BuiSelect.stories.ts +6 -2
- package/src/stories/components/BuiDataTableStory.vue +1 -0
- package/src/stories/components/LoginForm.vue +3 -3
- package/src/stories/components/ReadonlyForm.vue +1 -1
- package/dist/BuiAutoForm.vue_vue_type_script_setup_true_lang-BtWYgZh_.js +0 -74
- package/dist/BuiAutoFormField.vue_vue_type_script_setup_true_lang-CkJZ-W-M.js +0 -263
- package/dist/BuiAutoFormFieldArray.vue_vue_type_script_setup_true_lang-DmN_5xMb.js +0 -140
- package/dist/BuiAutoFormFieldBoolean.vue_vue_type_script_setup_true_lang-Bmf4vSRZ.js +0 -63
- package/dist/BuiAutoFormFieldDate.vue_vue_type_script_setup_true_lang-CNbwzj_1.js +0 -210
- package/dist/BuiAutoFormFieldEnum.vue_vue_type_script_setup_true_lang-CHxcdlL2.js +0 -117
- package/dist/BuiAutoFormFieldFile.vue_vue_type_script_setup_true_lang-_l-sSiNa.js +0 -113
- package/dist/BuiAutoFormFieldInput.vue_vue_type_script_setup_true_lang-y7oqmsm4.js +0 -60
- package/dist/BuiAutoFormFieldNumber.vue_vue_type_script_setup_true_lang-CLBkqMya.js +0 -59
- package/dist/BuiAutoFormFieldObject.vue_vue_type_script_setup_true_lang-B6toFU56.js +0 -96
- package/dist/BuiAutoFormLabel.vue_vue_type_script_setup_true_lang-BXFo0DTk.js +0 -24
- package/dist/components/auto-form/BuiAutoForm.js +0 -4
- package/dist/components/auto-form/BuiAutoForm.vue.d.ts +0 -39
- package/dist/components/auto-form/BuiAutoFormField.js +0 -4
- package/dist/components/auto-form/BuiAutoFormField.vue.d.ts +0 -21
- package/dist/components/auto-form/BuiAutoFormFieldArray.js +0 -4
- package/dist/components/auto-form/BuiAutoFormFieldArray.vue.d.ts +0 -29
- package/dist/components/auto-form/BuiAutoFormFieldArrayCard.js +0 -4
- package/dist/components/auto-form/BuiAutoFormFieldArrayCard.vue.d.ts +0 -29
- package/dist/components/auto-form/BuiAutoFormFieldBoolean.js +0 -4
- package/dist/components/auto-form/BuiAutoFormFieldBoolean.vue.d.ts +0 -10
- package/dist/components/auto-form/BuiAutoFormFieldDate.js +0 -4
- package/dist/components/auto-form/BuiAutoFormFieldDate.vue.d.ts +0 -34
- package/dist/components/auto-form/BuiAutoFormFieldEnum.js +0 -4
- package/dist/components/auto-form/BuiAutoFormFieldEnum.vue.d.ts +0 -37
- package/dist/components/auto-form/BuiAutoFormFieldFile.js +0 -4
- package/dist/components/auto-form/BuiAutoFormFieldFile.vue.d.ts +0 -34
- package/dist/components/auto-form/BuiAutoFormFieldInput.js +0 -4
- package/dist/components/auto-form/BuiAutoFormFieldInput.vue.d.ts +0 -34
- package/dist/components/auto-form/BuiAutoFormFieldNumber.js +0 -4
- package/dist/components/auto-form/BuiAutoFormFieldNumber.vue.d.ts +0 -34
- package/dist/components/auto-form/BuiAutoFormFieldObject.js +0 -4
- package/dist/components/auto-form/BuiAutoFormFieldObject.vue.d.ts +0 -29
- package/dist/components/auto-form/BuiAutoFormFieldObjectCard.js +0 -4
- package/dist/components/auto-form/BuiAutoFormFieldObjectCard.vue.d.ts +0 -29
- package/dist/components/auto-form/BuiAutoFormLabel.js +0 -4
- package/dist/components/auto-form/BuiAutoFormLabel.vue.d.ts +0 -20
- package/dist/components/auto-form/constant.d.ts +0 -8
- package/dist/components/auto-form/constant.js +0 -11
- package/dist/components/auto-form/dependencies.d.ts +0 -33
- package/dist/components/auto-form/dependencies.js +0 -59
- package/dist/components/auto-form/index.d.ts +0 -15
- package/dist/components/auto-form/index.js +0 -30
- package/dist/components/auto-form/interface.d.ts +0 -54
- package/dist/components/auto-form/interface.js +0 -4
- package/dist/components/auto-form/utils.d.ts +0 -45
- package/dist/components/auto-form/utils.js +0 -74
- package/src/components/auto-form/BuiAutoForm.vue +0 -109
- package/src/components/auto-form/BuiAutoFormField.vue +0 -45
- package/src/components/auto-form/BuiAutoFormFieldArray.vue +0 -105
- package/src/components/auto-form/BuiAutoFormFieldArrayCard.vue +0 -97
- package/src/components/auto-form/BuiAutoFormFieldBoolean.vue +0 -47
- package/src/components/auto-form/BuiAutoFormFieldDate.vue +0 -73
- package/src/components/auto-form/BuiAutoFormFieldEnum.vue +0 -75
- package/src/components/auto-form/BuiAutoFormFieldFile.vue +0 -87
- package/src/components/auto-form/BuiAutoFormFieldInput.vue +0 -42
- package/src/components/auto-form/BuiAutoFormFieldNumber.vue +0 -42
- package/src/components/auto-form/BuiAutoFormFieldObject.vue +0 -81
- package/src/components/auto-form/BuiAutoFormFieldObjectCard.vue +0 -76
- package/src/components/auto-form/BuiAutoFormLabel.vue +0 -14
- package/src/components/auto-form/constant.ts +0 -39
- package/src/components/auto-form/dependencies.ts +0 -95
- package/src/components/auto-form/index.ts +0 -17
- package/src/components/auto-form/interface.ts +0 -81
- package/src/components/auto-form/utils.ts +0 -171
- package/src/stories/components/BuiAutoFormStory.vue +0 -113
@@ -1,75 +0,0 @@
|
|
1
|
-
<script setup lang="ts">
|
2
|
-
import AutoFormLabel from './BuiAutoFormLabel.vue'
|
3
|
-
import { beautifyObjectName } from './utils'
|
4
|
-
import type { FieldProps } from './interface'
|
5
|
-
import {
|
6
|
-
BuiFormControl as FormControl,
|
7
|
-
BuiFormDescription as FormDescription,
|
8
|
-
BuiFormField as FormField,
|
9
|
-
BuiFormItem as FormItem,
|
10
|
-
BuiFormMessage as FormMessage
|
11
|
-
} from '@/components/form'
|
12
|
-
import {
|
13
|
-
BuiSelect as Select,
|
14
|
-
BuiSelectContent as SelectContent,
|
15
|
-
BuiSelectItem as SelectItem,
|
16
|
-
BuiSelectTrigger as SelectTrigger,
|
17
|
-
BuiSelectValue as SelectValue
|
18
|
-
} from '@/components/select'
|
19
|
-
import { BuiLabel as Label } from '@/components/label'
|
20
|
-
import {
|
21
|
-
BuiRadioGroup as RadioGroup,
|
22
|
-
BuiRadioGroupItem as RadioGroupItem
|
23
|
-
} from '@/components/radio-group'
|
24
|
-
|
25
|
-
defineProps<
|
26
|
-
FieldProps & {
|
27
|
-
options?: string[]
|
28
|
-
}
|
29
|
-
>()
|
30
|
-
</script>
|
31
|
-
|
32
|
-
<template>
|
33
|
-
<FormField v-slot="slotProps" :name="fieldName">
|
34
|
-
<FormItem>
|
35
|
-
<AutoFormLabel v-if="!config?.hideLabel" :required="required">
|
36
|
-
{{ config?.label || beautifyObjectName(label ?? fieldName) }}
|
37
|
-
</AutoFormLabel>
|
38
|
-
<FormControl>
|
39
|
-
<slot v-bind="slotProps">
|
40
|
-
<RadioGroup
|
41
|
-
v-if="config?.component === 'radio'"
|
42
|
-
:disabled="disabled"
|
43
|
-
:orientation="'vertical'"
|
44
|
-
v-bind="{ ...slotProps.componentField }"
|
45
|
-
>
|
46
|
-
<div
|
47
|
-
v-for="(option, index) in options"
|
48
|
-
:key="option"
|
49
|
-
class="mb-2 flex items-center gap-3 space-y-0"
|
50
|
-
>
|
51
|
-
<RadioGroupItem :id="`${option}-${index}`" :value="option" />
|
52
|
-
<Label :for="`${option}-${index}`">{{ beautifyObjectName(option) }}</Label>
|
53
|
-
</div>
|
54
|
-
</RadioGroup>
|
55
|
-
|
56
|
-
<Select v-else :disabled="disabled" v-bind="{ ...slotProps.componentField }">
|
57
|
-
<SelectTrigger class="w-full">
|
58
|
-
<SelectValue :placeholder="config?.inputProps?.placeholder" />
|
59
|
-
</SelectTrigger>
|
60
|
-
<SelectContent>
|
61
|
-
<SelectItem v-for="option in options" :key="option" :value="option">
|
62
|
-
{{ beautifyObjectName(option) }}
|
63
|
-
</SelectItem>
|
64
|
-
</SelectContent>
|
65
|
-
</Select>
|
66
|
-
</slot>
|
67
|
-
</FormControl>
|
68
|
-
|
69
|
-
<FormDescription v-if="config?.description">
|
70
|
-
{{ config.description }}
|
71
|
-
</FormDescription>
|
72
|
-
<FormMessage />
|
73
|
-
</FormItem>
|
74
|
-
</FormField>
|
75
|
-
</template>
|
@@ -1,87 +0,0 @@
|
|
1
|
-
<script setup lang="ts">
|
2
|
-
import { ref } from 'vue'
|
3
|
-
import { TrashIcon } from 'lucide-vue-next'
|
4
|
-
import AutoFormLabel from './BuiAutoFormLabel.vue'
|
5
|
-
import { beautifyObjectName } from './utils'
|
6
|
-
import type { FieldProps } from './interface'
|
7
|
-
import {
|
8
|
-
BuiFormControl as FormControl,
|
9
|
-
BuiFormDescription as FormDescription,
|
10
|
-
BuiFormField as FormField,
|
11
|
-
BuiFormItem as FormItem,
|
12
|
-
BuiFormMessage as FormMessage
|
13
|
-
} from '@/components/form'
|
14
|
-
import { BuiInput as Input } from '@/components/input'
|
15
|
-
import { BuiButton as Button } from '@/components/button'
|
16
|
-
|
17
|
-
defineProps<FieldProps>()
|
18
|
-
|
19
|
-
const inputFile = ref<File>()
|
20
|
-
async function parseFileAsString(file: File | undefined): Promise<string> {
|
21
|
-
return new Promise((resolve, reject) => {
|
22
|
-
if (file) {
|
23
|
-
const reader = new FileReader()
|
24
|
-
reader.onloadend = () => {
|
25
|
-
resolve(reader.result as string)
|
26
|
-
}
|
27
|
-
reader.onerror = (err) => {
|
28
|
-
reject(err)
|
29
|
-
}
|
30
|
-
reader.readAsDataURL(file)
|
31
|
-
}
|
32
|
-
})
|
33
|
-
}
|
34
|
-
</script>
|
35
|
-
|
36
|
-
<template>
|
37
|
-
<FormField v-slot="slotProps" :name="fieldName">
|
38
|
-
<FormItem v-bind="$attrs">
|
39
|
-
<AutoFormLabel v-if="!config?.hideLabel" :required="required">
|
40
|
-
{{ config?.label || beautifyObjectName(label ?? fieldName) }}
|
41
|
-
</AutoFormLabel>
|
42
|
-
<FormControl>
|
43
|
-
<slot v-bind="slotProps">
|
44
|
-
<Input
|
45
|
-
v-if="!inputFile"
|
46
|
-
type="file"
|
47
|
-
v-bind="{ ...config?.inputProps }"
|
48
|
-
:disabled="disabled"
|
49
|
-
@change="
|
50
|
-
async (ev: InputEvent) => {
|
51
|
-
const file = (ev.target as HTMLInputElement).files?.[0]
|
52
|
-
inputFile = file
|
53
|
-
const parsed = await parseFileAsString(file)
|
54
|
-
slotProps.componentField.onInput(parsed)
|
55
|
-
}
|
56
|
-
"
|
57
|
-
/>
|
58
|
-
<div
|
59
|
-
v-else
|
60
|
-
class="border-input flex h-10 w-full items-center justify-between rounded-md border bg-transparent py-1 pr-1 pl-3 text-sm shadow-xs transition-colors"
|
61
|
-
>
|
62
|
-
<p>{{ inputFile?.name }}</p>
|
63
|
-
<Button
|
64
|
-
:size="'icon'"
|
65
|
-
:variant="'ghost'"
|
66
|
-
class="h-[26px] w-[26px]"
|
67
|
-
aria-label="Remove file"
|
68
|
-
type="button"
|
69
|
-
@click="
|
70
|
-
() => {
|
71
|
-
inputFile = undefined
|
72
|
-
slotProps.componentField.onInput(undefined)
|
73
|
-
}
|
74
|
-
"
|
75
|
-
>
|
76
|
-
<TrashIcon :size="16" />
|
77
|
-
</Button>
|
78
|
-
</div>
|
79
|
-
</slot>
|
80
|
-
</FormControl>
|
81
|
-
<FormDescription v-if="config?.description">
|
82
|
-
{{ config.description }}
|
83
|
-
</FormDescription>
|
84
|
-
<FormMessage />
|
85
|
-
</FormItem>
|
86
|
-
</FormField>
|
87
|
-
</template>
|
@@ -1,42 +0,0 @@
|
|
1
|
-
<script setup lang="ts">
|
2
|
-
import { computed } from 'vue'
|
3
|
-
import AutoFormLabel from './BuiAutoFormLabel.vue'
|
4
|
-
import { beautifyObjectName } from './utils'
|
5
|
-
import type { FieldProps } from './interface'
|
6
|
-
import {
|
7
|
-
BuiFormControl as FormControl,
|
8
|
-
BuiFormDescription as FormDescription,
|
9
|
-
BuiFormField as FormField,
|
10
|
-
BuiFormItem as FormItem,
|
11
|
-
BuiFormMessage as FormMessage
|
12
|
-
} from '@/components/form'
|
13
|
-
import { BuiInput as Input } from '@/components/input'
|
14
|
-
import { BuiTextarea as Textarea } from '@/components/textarea'
|
15
|
-
|
16
|
-
const props = defineProps<FieldProps>()
|
17
|
-
const inputComponent = computed(() => (props.config?.component === 'textarea' ? Textarea : Input))
|
18
|
-
</script>
|
19
|
-
|
20
|
-
<template>
|
21
|
-
<FormField v-slot="slotProps" :name="fieldName">
|
22
|
-
<FormItem v-bind="$attrs">
|
23
|
-
<AutoFormLabel v-if="!config?.hideLabel" :required="required">
|
24
|
-
{{ config?.label || beautifyObjectName(label ?? fieldName) }}
|
25
|
-
</AutoFormLabel>
|
26
|
-
<FormControl>
|
27
|
-
<slot v-bind="slotProps">
|
28
|
-
<component
|
29
|
-
:is="inputComponent"
|
30
|
-
type="text"
|
31
|
-
v-bind="{ ...slotProps.componentField, ...config?.inputProps }"
|
32
|
-
:disabled="disabled"
|
33
|
-
/>
|
34
|
-
</slot>
|
35
|
-
</FormControl>
|
36
|
-
<FormDescription v-if="config?.description">
|
37
|
-
{{ config.description }}
|
38
|
-
</FormDescription>
|
39
|
-
<FormMessage />
|
40
|
-
</FormItem>
|
41
|
-
</FormField>
|
42
|
-
</template>
|
@@ -1,42 +0,0 @@
|
|
1
|
-
<script setup lang="ts">
|
2
|
-
import AutoFormLabel from './BuiAutoFormLabel.vue'
|
3
|
-
import { beautifyObjectName } from './utils'
|
4
|
-
import type { FieldProps } from './interface'
|
5
|
-
import {
|
6
|
-
BuiFormControl as FormControl,
|
7
|
-
BuiFormDescription as FormDescription,
|
8
|
-
BuiFormField as FormField,
|
9
|
-
BuiFormItem as FormItem,
|
10
|
-
BuiFormMessage as FormMessage
|
11
|
-
} from '@/components/form'
|
12
|
-
import { BuiInput as Input } from '@/components/input'
|
13
|
-
|
14
|
-
defineOptions({
|
15
|
-
inheritAttrs: false
|
16
|
-
})
|
17
|
-
|
18
|
-
defineProps<FieldProps>()
|
19
|
-
</script>
|
20
|
-
|
21
|
-
<template>
|
22
|
-
<FormField v-slot="slotProps" :name="fieldName">
|
23
|
-
<FormItem>
|
24
|
-
<AutoFormLabel v-if="!config?.hideLabel" :required="required">
|
25
|
-
{{ config?.label || beautifyObjectName(label ?? fieldName) }}
|
26
|
-
</AutoFormLabel>
|
27
|
-
<FormControl>
|
28
|
-
<slot v-bind="slotProps">
|
29
|
-
<Input
|
30
|
-
type="number"
|
31
|
-
v-bind="{ ...slotProps.componentField, ...config?.inputProps }"
|
32
|
-
:disabled="disabled"
|
33
|
-
/>
|
34
|
-
</slot>
|
35
|
-
</FormControl>
|
36
|
-
<FormDescription v-if="config?.description">
|
37
|
-
{{ config.description }}
|
38
|
-
</FormDescription>
|
39
|
-
<FormMessage />
|
40
|
-
</FormItem>
|
41
|
-
</FormField>
|
42
|
-
</template>
|
@@ -1,81 +0,0 @@
|
|
1
|
-
<script setup lang="ts" generic="T extends ZodRawShape">
|
2
|
-
import type { ZodAny, ZodObject, ZodRawShape } from 'zod'
|
3
|
-
import { computed, provide } from 'vue'
|
4
|
-
import { FieldContextKey, useField } from 'vee-validate'
|
5
|
-
import AutoFormField from './BuiAutoFormField.vue'
|
6
|
-
import type { Config, ConfigItem, Shape } from './interface'
|
7
|
-
import { beautifyObjectName, getBaseSchema, getBaseType, getDefaultValueInZodStack } from './utils'
|
8
|
-
import AutoFormLabel from './BuiAutoFormLabel.vue'
|
9
|
-
import {
|
10
|
-
BuiAccordion as Accordion,
|
11
|
-
BuiAccordionContent as AccordionContent,
|
12
|
-
BuiAccordionItem as AccordionItem,
|
13
|
-
BuiAccordionTrigger as AccordionTrigger
|
14
|
-
} from '@/components/accordion'
|
15
|
-
import { BuiFormItem as FormItem } from '@/components/form'
|
16
|
-
|
17
|
-
const props = defineProps<{
|
18
|
-
fieldName: string
|
19
|
-
required?: boolean
|
20
|
-
config?: Config<T>
|
21
|
-
schema?: ZodObject<T>
|
22
|
-
disabled?: boolean
|
23
|
-
}>()
|
24
|
-
|
25
|
-
const shapes = computed(() => {
|
26
|
-
// @ts-expect-error ignore {} not assignable to object
|
27
|
-
const val: { [key in keyof T]: Shape } = {}
|
28
|
-
|
29
|
-
if (!props.schema) return
|
30
|
-
const shape = getBaseSchema(props.schema)?.shape
|
31
|
-
if (!shape) return
|
32
|
-
Object.keys(shape).forEach((name) => {
|
33
|
-
const item = shape[name] as ZodAny
|
34
|
-
const baseItem = getBaseSchema(item) as ZodAny
|
35
|
-
let options =
|
36
|
-
baseItem && 'values' in baseItem._def ? (baseItem._def.values as string[]) : undefined
|
37
|
-
if (!Array.isArray(options) && typeof options === 'object') options = Object.values(options)
|
38
|
-
|
39
|
-
val[name as keyof T] = {
|
40
|
-
type: getBaseType(item),
|
41
|
-
default: getDefaultValueInZodStack(item),
|
42
|
-
options,
|
43
|
-
required: !['ZodOptional', 'ZodNullable'].includes(item._def.typeName),
|
44
|
-
schema: item
|
45
|
-
}
|
46
|
-
})
|
47
|
-
return val
|
48
|
-
})
|
49
|
-
|
50
|
-
const fieldContext = useField(props.fieldName)
|
51
|
-
// @ts-expect-error ignore missing `id`
|
52
|
-
provide(FieldContextKey, fieldContext)
|
53
|
-
</script>
|
54
|
-
|
55
|
-
<template>
|
56
|
-
<section>
|
57
|
-
<slot v-bind="props">
|
58
|
-
<Accordion type="single" as-child class="w-full" collapsible :disabled="disabled">
|
59
|
-
<FormItem>
|
60
|
-
<AccordionItem :value="fieldName" class="border-none">
|
61
|
-
<AccordionTrigger>
|
62
|
-
<AutoFormLabel class="text-base" :required="required">
|
63
|
-
{{ schema?.description || beautifyObjectName(fieldName) }}
|
64
|
-
</AutoFormLabel>
|
65
|
-
</AccordionTrigger>
|
66
|
-
<AccordionContent class="space-y-5 p-1">
|
67
|
-
<template v-for="(shape, key) in shapes" :key="key">
|
68
|
-
<AutoFormField
|
69
|
-
:config="config?.[key as keyof typeof config] as ConfigItem"
|
70
|
-
:field-name="`${fieldName}.${key.toString()}`"
|
71
|
-
:label="key.toString()"
|
72
|
-
:shape="shape"
|
73
|
-
/>
|
74
|
-
</template>
|
75
|
-
</AccordionContent>
|
76
|
-
</AccordionItem>
|
77
|
-
</FormItem>
|
78
|
-
</Accordion>
|
79
|
-
</slot>
|
80
|
-
</section>
|
81
|
-
</template>
|
@@ -1,76 +0,0 @@
|
|
1
|
-
<script setup lang="ts" generic="T extends ZodRawShape">
|
2
|
-
import type { ZodAny, ZodObject, ZodRawShape } from 'zod'
|
3
|
-
import { computed, provide } from 'vue'
|
4
|
-
import { FieldContextKey, useField } from 'vee-validate'
|
5
|
-
import AutoFormField from './BuiAutoFormField.vue'
|
6
|
-
import type { Config, ConfigItem, Shape } from './interface'
|
7
|
-
import { beautifyObjectName, getBaseSchema, getBaseType, getDefaultValueInZodStack } from './utils'
|
8
|
-
import { BuiCard, BuiCardContent, BuiCardHeader, BuiCardTitle } from '@/components/card'
|
9
|
-
import { BuiFormItem as FormItem } from '@/components/form'
|
10
|
-
|
11
|
-
const props = defineProps<{
|
12
|
-
fieldName: string
|
13
|
-
required?: boolean
|
14
|
-
config?: Config<T>
|
15
|
-
schema?: ZodObject<T>
|
16
|
-
disabled?: boolean
|
17
|
-
}>()
|
18
|
-
|
19
|
-
const shapes = computed(() => {
|
20
|
-
// @ts-expect-error ignore {} not assignable to object
|
21
|
-
const val: { [key in keyof T]: Shape } = {}
|
22
|
-
|
23
|
-
if (!props.schema) return
|
24
|
-
const shape = getBaseSchema(props.schema)?.shape
|
25
|
-
if (!shape) return
|
26
|
-
Object.keys(shape).forEach((name) => {
|
27
|
-
const item = shape[name] as ZodAny
|
28
|
-
const baseItem = getBaseSchema(item) as ZodAny
|
29
|
-
let options =
|
30
|
-
baseItem && 'values' in baseItem._def ? (baseItem._def.values as string[]) : undefined
|
31
|
-
if (!Array.isArray(options) && typeof options === 'object') options = Object.values(options)
|
32
|
-
|
33
|
-
val[name as keyof T] = {
|
34
|
-
type: getBaseType(item),
|
35
|
-
default: getDefaultValueInZodStack(item),
|
36
|
-
options,
|
37
|
-
required: !['ZodOptional', 'ZodNullable'].includes(item._def.typeName),
|
38
|
-
schema: item
|
39
|
-
}
|
40
|
-
})
|
41
|
-
return val
|
42
|
-
})
|
43
|
-
|
44
|
-
const fieldContext = useField(props.fieldName)
|
45
|
-
// @ts-expect-error ignore missing `id`
|
46
|
-
provide(FieldContextKey, fieldContext)
|
47
|
-
</script>
|
48
|
-
|
49
|
-
<template>
|
50
|
-
<section>
|
51
|
-
<slot v-bind="props">
|
52
|
-
<BuiCard as-child class="w-full border-0 shadow-none">
|
53
|
-
<FormItem>
|
54
|
-
<BuiCardHeader class="border-b-border/16 border-b py-1">
|
55
|
-
<BuiCardTitle class="py-0 text-base">
|
56
|
-
{{
|
57
|
-
schema?.description ||
|
58
|
-
beautifyObjectName(fieldName.split('.')[fieldName.split('.').length - 1])
|
59
|
-
}}
|
60
|
-
</BuiCardTitle>
|
61
|
-
</BuiCardHeader>
|
62
|
-
<BuiCardContent class="flex flex-col gap-5 pr-0 pb-0">
|
63
|
-
<template v-for="(shape, key) in shapes" :key="key">
|
64
|
-
<AutoFormField
|
65
|
-
:config="config?.[key as keyof typeof config] as ConfigItem"
|
66
|
-
:field-name="`${fieldName}.${key.toString()}`"
|
67
|
-
:label="key.toString()"
|
68
|
-
:shape="shape"
|
69
|
-
/>
|
70
|
-
</template>
|
71
|
-
</BuiCardContent>
|
72
|
-
</FormItem>
|
73
|
-
</BuiCard>
|
74
|
-
</slot>
|
75
|
-
</section>
|
76
|
-
</template>
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<script setup lang="ts">
|
2
|
-
import { BuiFormLabel as FormLabel } from '@/components/form'
|
3
|
-
|
4
|
-
defineProps<{
|
5
|
-
required?: boolean
|
6
|
-
}>()
|
7
|
-
</script>
|
8
|
-
|
9
|
-
<template>
|
10
|
-
<FormLabel>
|
11
|
-
<slot />
|
12
|
-
<span v-if="required" class="text-destructive"> *</span>
|
13
|
-
</FormLabel>
|
14
|
-
</template>
|
@@ -1,39 +0,0 @@
|
|
1
|
-
import BuiAutoFormFieldArrayCard from './BuiAutoFormFieldArrayCard.vue'
|
2
|
-
import BuiAutoFormFieldBoolean from './BuiAutoFormFieldBoolean.vue'
|
3
|
-
import BuiAutoFormFieldDate from './BuiAutoFormFieldDate.vue'
|
4
|
-
import BuiAutoFormFieldEnum from './BuiAutoFormFieldEnum.vue'
|
5
|
-
import BuiAutoFormFieldFile from './BuiAutoFormFieldFile.vue'
|
6
|
-
import BuiAutoFormFieldInput from './BuiAutoFormFieldInput.vue'
|
7
|
-
import BuiAutoFormFieldNumber from './BuiAutoFormFieldNumber.vue'
|
8
|
-
import BuiAutoFormFieldObjectCard from './BuiAutoFormFieldObjectCard.vue'
|
9
|
-
|
10
|
-
export const INPUT_COMPONENTS = {
|
11
|
-
date: BuiAutoFormFieldDate,
|
12
|
-
select: BuiAutoFormFieldEnum,
|
13
|
-
radio: BuiAutoFormFieldEnum,
|
14
|
-
checkbox: BuiAutoFormFieldBoolean,
|
15
|
-
switch: BuiAutoFormFieldBoolean,
|
16
|
-
textarea: BuiAutoFormFieldInput,
|
17
|
-
number: BuiAutoFormFieldNumber,
|
18
|
-
string: BuiAutoFormFieldInput,
|
19
|
-
file: BuiAutoFormFieldFile,
|
20
|
-
array: BuiAutoFormFieldArrayCard,
|
21
|
-
object: BuiAutoFormFieldObjectCard
|
22
|
-
}
|
23
|
-
|
24
|
-
/**
|
25
|
-
* Define handlers for specific Zod types.
|
26
|
-
* You can expand this object to support more types.
|
27
|
-
*/
|
28
|
-
export const DEFAULT_ZOD_HANDLERS: {
|
29
|
-
[key: string]: keyof typeof INPUT_COMPONENTS
|
30
|
-
} = {
|
31
|
-
ZodString: 'string',
|
32
|
-
ZodBoolean: 'checkbox',
|
33
|
-
ZodDate: 'date',
|
34
|
-
ZodEnum: 'select',
|
35
|
-
ZodNativeEnum: 'select',
|
36
|
-
ZodNumber: 'number',
|
37
|
-
ZodArray: 'array',
|
38
|
-
ZodObject: 'object'
|
39
|
-
}
|
@@ -1,95 +0,0 @@
|
|
1
|
-
import type * as z from 'zod'
|
2
|
-
import type { Ref } from 'vue'
|
3
|
-
import { computed, ref, watch } from 'vue'
|
4
|
-
import { useFieldValue, useFormValues } from 'vee-validate'
|
5
|
-
import { createContext } from 'reka-ui'
|
6
|
-
import { type Dependency, DependencyType, type EnumValues } from './interface'
|
7
|
-
import { getFromPath, getIndexIfArray } from './utils'
|
8
|
-
|
9
|
-
export const [injectDependencies, provideDependencies] =
|
10
|
-
createContext<Ref<Dependency<z.infer<z.ZodObject<any>>>[] | undefined>>('AutoFormDependencies')
|
11
|
-
|
12
|
-
export default function useDependencies(fieldName: string) {
|
13
|
-
const form = useFormValues()
|
14
|
-
// parsed test[0].age => test.age
|
15
|
-
const currentFieldName = fieldName.replace(/\[\d+\]/g, '')
|
16
|
-
const currentFieldValue = useFieldValue<any>(fieldName)
|
17
|
-
|
18
|
-
if (!form) throw new Error('useDependencies should be used within <AutoForm>')
|
19
|
-
|
20
|
-
const dependencies = injectDependencies()
|
21
|
-
const isDisabled = ref(false)
|
22
|
-
const isHidden = ref(false)
|
23
|
-
const isRequired = ref(false)
|
24
|
-
const overrideOptions = ref<EnumValues | undefined>()
|
25
|
-
|
26
|
-
const currentFieldDependencies = computed(() =>
|
27
|
-
dependencies.value?.filter((dependency) => dependency.targetField === currentFieldName)
|
28
|
-
)
|
29
|
-
|
30
|
-
function getSourceValue(dep: Dependency<any>) {
|
31
|
-
const source = dep.sourceField as string
|
32
|
-
const index = getIndexIfArray(fieldName) ?? -1
|
33
|
-
//@ts-ignore
|
34
|
-
const [sourceLast, ...sourceInitial] = source.split('.').toReversed()
|
35
|
-
//@ts-ignore
|
36
|
-
const [_targetLast, ...targetInitial] = (dep.targetField as string).split('.').toReversed()
|
37
|
-
|
38
|
-
if (index >= 0 && sourceInitial.join(',') === targetInitial.join(',')) {
|
39
|
-
//@ts-ignore
|
40
|
-
const [_currentLast, ...currentInitial] = fieldName.split('.').toReversed()
|
41
|
-
return getFromPath(form.value, currentInitial.join('.') + sourceLast)
|
42
|
-
}
|
43
|
-
|
44
|
-
return getFromPath(form.value, source)
|
45
|
-
}
|
46
|
-
|
47
|
-
const sourceFieldValues = computed(() =>
|
48
|
-
currentFieldDependencies.value?.map((dep) => getSourceValue(dep))
|
49
|
-
)
|
50
|
-
|
51
|
-
const resetConditionState = () => {
|
52
|
-
isDisabled.value = false
|
53
|
-
isHidden.value = false
|
54
|
-
isRequired.value = false
|
55
|
-
overrideOptions.value = undefined
|
56
|
-
}
|
57
|
-
|
58
|
-
watch(
|
59
|
-
[sourceFieldValues, dependencies],
|
60
|
-
() => {
|
61
|
-
resetConditionState()
|
62
|
-
currentFieldDependencies.value?.forEach((dep) => {
|
63
|
-
const sourceValue = getSourceValue(dep)
|
64
|
-
const conditionMet = dep.when(sourceValue, currentFieldValue.value)
|
65
|
-
|
66
|
-
switch (dep.type) {
|
67
|
-
case DependencyType.DISABLES:
|
68
|
-
if (conditionMet) isDisabled.value = true
|
69
|
-
|
70
|
-
break
|
71
|
-
case DependencyType.REQUIRES:
|
72
|
-
if (conditionMet) isRequired.value = true
|
73
|
-
|
74
|
-
break
|
75
|
-
case DependencyType.HIDES:
|
76
|
-
if (conditionMet) isHidden.value = true
|
77
|
-
|
78
|
-
break
|
79
|
-
case DependencyType.SETS_OPTIONS:
|
80
|
-
if (conditionMet) overrideOptions.value = dep.options
|
81
|
-
|
82
|
-
break
|
83
|
-
}
|
84
|
-
})
|
85
|
-
},
|
86
|
-
{ immediate: true, deep: true }
|
87
|
-
)
|
88
|
-
|
89
|
-
return {
|
90
|
-
isDisabled,
|
91
|
-
isHidden,
|
92
|
-
isRequired,
|
93
|
-
overrideOptions
|
94
|
-
}
|
95
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
export { getObjectFormSchema, getBaseSchema, getBaseType } from './utils'
|
2
|
-
export type { Config, ConfigItem, FieldProps } from './interface'
|
3
|
-
|
4
|
-
export { default as BuiAutoForm } from './BuiAutoForm.vue'
|
5
|
-
export { default as BuiAutoFormField } from './BuiAutoFormField.vue'
|
6
|
-
export { default as BuiAutoFormLabel } from './BuiAutoFormLabel.vue'
|
7
|
-
|
8
|
-
export { default as BuiAutoFormFieldArray } from './BuiAutoFormFieldArray.vue'
|
9
|
-
export { default as BuiAutoFormFieldBoolean } from './BuiAutoFormFieldBoolean.vue'
|
10
|
-
export { default as BuiAutoFormFieldDate } from './BuiAutoFormFieldDate.vue'
|
11
|
-
export { default as BuiAutoFormFieldEnum } from './BuiAutoFormFieldEnum.vue'
|
12
|
-
export { default as BuiAutoFormFieldFile } from './BuiAutoFormFieldFile.vue'
|
13
|
-
export { default as BuiAutoFormFieldInput } from './BuiAutoFormFieldInput.vue'
|
14
|
-
export { default as BuiAutoFormFieldNumber } from './BuiAutoFormFieldNumber.vue'
|
15
|
-
export { default as BuiAutoFormFieldObject } from './BuiAutoFormFieldObject.vue'
|
16
|
-
export { default as BuiAutoFormFieldObjectCard } from './BuiAutoFormFieldObjectCard.vue'
|
17
|
-
export { default as BuiAutoFormFieldArrayCard } from './BuiAutoFormFieldArrayCard.vue'
|
@@ -1,81 +0,0 @@
|
|
1
|
-
import type { Component, InputHTMLAttributes } from 'vue'
|
2
|
-
import type { ZodAny, z } from 'zod'
|
3
|
-
import type { INPUT_COMPONENTS } from './constant'
|
4
|
-
|
5
|
-
export interface FieldProps {
|
6
|
-
fieldName: string
|
7
|
-
label?: string
|
8
|
-
required?: boolean
|
9
|
-
config?: ConfigItem
|
10
|
-
disabled?: boolean
|
11
|
-
}
|
12
|
-
|
13
|
-
export interface Shape {
|
14
|
-
type: string
|
15
|
-
default?: any
|
16
|
-
required?: boolean
|
17
|
-
options?: string[]
|
18
|
-
schema?: ZodAny
|
19
|
-
}
|
20
|
-
|
21
|
-
export interface ConfigItem {
|
22
|
-
/** Value for the `FormLabel` */
|
23
|
-
label?: string
|
24
|
-
/** Value for the `FormDescription` */
|
25
|
-
description?: string
|
26
|
-
/** Pick which component to be rendered. */
|
27
|
-
component?: keyof typeof INPUT_COMPONENTS | Component
|
28
|
-
/** Hide `FormLabel`. */
|
29
|
-
hideLabel?: boolean
|
30
|
-
inputProps?: InputHTMLAttributes
|
31
|
-
}
|
32
|
-
|
33
|
-
// Define a type to unwrap an array
|
34
|
-
type UnwrapArray<T> = T extends (infer U)[] ? U : never
|
35
|
-
|
36
|
-
export type Config<SchemaType extends object> = {
|
37
|
-
// If SchemaType.key is an object, create a nested Config, otherwise ConfigItem
|
38
|
-
[Key in keyof SchemaType]?:
|
39
|
-
SchemaType[Key] extends any[]
|
40
|
-
? UnwrapArray<Config<SchemaType[Key]>>
|
41
|
-
: SchemaType[Key] extends object
|
42
|
-
? Config<SchemaType[Key]>
|
43
|
-
: ConfigItem;
|
44
|
-
}
|
45
|
-
|
46
|
-
export enum DependencyType {
|
47
|
-
DISABLES,
|
48
|
-
REQUIRES,
|
49
|
-
HIDES,
|
50
|
-
SETS_OPTIONS,
|
51
|
-
}
|
52
|
-
|
53
|
-
interface BaseDependency<SchemaType extends z.infer<z.ZodObject<any, any>>> {
|
54
|
-
sourceField: keyof SchemaType
|
55
|
-
type: DependencyType
|
56
|
-
targetField: keyof SchemaType
|
57
|
-
when: (sourceFieldValue: any, targetFieldValue: any) => boolean
|
58
|
-
}
|
59
|
-
|
60
|
-
export type ValueDependency<SchemaType extends z.infer<z.ZodObject<any, any>>> =
|
61
|
-
BaseDependency<SchemaType> & {
|
62
|
-
type:
|
63
|
-
| DependencyType.DISABLES
|
64
|
-
| DependencyType.REQUIRES
|
65
|
-
| DependencyType.HIDES
|
66
|
-
}
|
67
|
-
|
68
|
-
export type EnumValues = readonly [string, ...string[]]
|
69
|
-
|
70
|
-
export type OptionsDependency<
|
71
|
-
SchemaType extends z.infer<z.ZodObject<any, any>>,
|
72
|
-
> = BaseDependency<SchemaType> & {
|
73
|
-
type: DependencyType.SETS_OPTIONS
|
74
|
-
|
75
|
-
// Partial array of values from sourceField that will trigger the dependency
|
76
|
-
options: EnumValues
|
77
|
-
}
|
78
|
-
|
79
|
-
export type Dependency<SchemaType extends z.infer<z.ZodObject<any, any>>> =
|
80
|
-
| ValueDependency<SchemaType>
|
81
|
-
| OptionsDependency<SchemaType>
|