@jackbo_vip/admin-kit 1.0.14 → 1.0.16

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/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CwNrBgwR.cjs");exports.ADMIN_ANT_PREVIEW_URL=e.ADMIN_ANT_PREVIEW_URL,exports.ADMIN_DOC_URL=e.ADMIN_DOC_URL,exports.ADMIN_ELE_PREVIEW_URL=e.ADMIN_ELE_PREVIEW_URL,exports.ADMIN_GITHUB_URL=e.ADMIN_GITHUB_URL,exports.ADMIN_LOGO_URL=e.ADMIN_LOGO_URL,exports.ADMIN_NAIVE_PREVIEW_URL=e.ADMIN_NAIVE_PREVIEW_URL,exports.ADMIN_PREVIEW_URL=e.ADMIN_PREVIEW_URL,exports.ADMIN_TD_PREVIEW_URL=e.ADMIN_TD_PREVIEW_URL,exports.Accordion=e._sfc_main$27,exports.AccordionContent=e._sfc_main$28,exports.AccordionItem=e._sfc_main$29,exports.AccordionTrigger=e._sfc_main$30,exports.AdminAvatar=e._sfc_main$5,exports.AdminBackTop=e._sfc_main$6,exports.AdminBreadcrumbView=e.breadcrumbView,exports.AdminButton=e._sfc_main$7,exports.AdminButtonGroup=e.AdminButtonGroup,exports.AdminCheckButtonGroup=e.checkButtonGroup,exports.AdminCheckbox=e._sfc_main$9,exports.AdminContextMenu=e._sfc_main$10,exports.AdminCountToAnimator=e._sfc_main$11,exports.AdminDrawer=e._sfc_main$3,exports.AdminDropdownMenu=e._sfc_main$12,exports.AdminDropdownRadioMenu=e._sfc_main$13,exports.AdminExpandableArrow=e._sfc_main$14,exports.AdminFullScreen=e._sfc_main$15,exports.AdminHelpTooltip=e._sfc_main$25,exports.AdminHoverCard=e._sfc_main$16,exports.AdminIcon=e._sfc_main$17,exports.AdminIconButton=e._sfc_main$8,exports.AdminInputPassword=e._sfc_main$18,exports.AdminLayout=e._sfc_main,exports.AdminLoading=e.AdminLoading,exports.AdminLogo=e._sfc_main$19,exports.AdminModal=e._sfc_main$4,exports.AdminPinInput=e._sfc_main$20,exports.AdminPopover=e._sfc_main$21,exports.AdminRenderContent=e._sfc_main$22,exports.AdminScrollbar=e.AdminScrollbar,exports.AdminSegmented=e._sfc_main$23,exports.AdminSelect=e.AdminSelect,exports.AdminSpineText=e._sfc_main$24,exports.AdminSpinner=e.spinner,exports.AdminTooltip=e._sfc_main$26,exports.AdminTree=e.tree,exports.Alert=e._sfc_main$2,exports.AlertDialog=e._sfc_main$31,exports.AlertDialogAction=e._sfc_main$32,exports.AlertDialogCancel=e._sfc_main$33,exports.AlertDialogContent=e._sfc_main$34,exports.AlertDialogDescription=e._sfc_main$35,exports.AlertDialogTitle=e._sfc_main$36,exports.ArrowDown=e.ArrowDown,exports.ArrowLeft=e.ArrowLeft,exports.ArrowLeftToLine=e.ArrowLeftToLine,exports.ArrowRightLeft=e.ArrowRightLeft,exports.ArrowRightToLine=e.ArrowRightToLine,exports.ArrowUp=e.ArrowUp,exports.ArrowUpToLine=e.ArrowUpToLine,exports.Avatar=e._sfc_main$37,exports.AvatarFallback=e._sfc_main$38,exports.AvatarImage=e._sfc_main$39,exports.BUILT_IN_THEME_PRESETS=e.BUILT_IN_THEME_PRESETS,exports.Badge=e._sfc_main$40,exports.Bell=e.Bell,exports.BookOpenText=e.BookOpenText,exports.Breadcrumb=e._sfc_main$41,exports.BreadcrumbEllipsis=e._sfc_main$42,exports.BreadcrumbItem=e._sfc_main$43,exports.BreadcrumbLink=e._sfc_main$44,exports.BreadcrumbList=e._sfc_main$45,exports.BreadcrumbPage=e._sfc_main$46,exports.BreadcrumbSeparator=e._sfc_main$47,exports.Button=e._sfc_main$48,exports.COLOR_PRESETS=e.COLOR_PRESETS,exports.CSS_VARIABLE_LAYOUT_CONTENT_HEIGHT=e.CSS_VARIABLE_LAYOUT_CONTENT_HEIGHT,exports.CSS_VARIABLE_LAYOUT_CONTENT_WIDTH=e.CSS_VARIABLE_LAYOUT_CONTENT_WIDTH,exports.CSS_VARIABLE_LAYOUT_FOOTER_HEIGHT=e.CSS_VARIABLE_LAYOUT_FOOTER_HEIGHT,exports.CSS_VARIABLE_LAYOUT_HEADER_HEIGHT=e.CSS_VARIABLE_LAYOUT_HEADER_HEIGHT,exports.Card=e._sfc_main$49,exports.CardContent=e._sfc_main$50,exports.CardDescription=e._sfc_main$51,exports.CardFooter=e._sfc_main$52,exports.CardHeader=e._sfc_main$53,exports.CardTitle=e._sfc_main$54,exports.Check=e.Check,exports.Checkbox=e._sfc_main$55,exports.ChevronDown=e.ChevronDown,exports.ChevronLeft=e.ChevronLeft,exports.ChevronRight=e.ChevronRight,exports.ChevronsLeft=e.ChevronsLeft,exports.ChevronsRight=e.ChevronsRight,exports.Circle=e.Circle,exports.CircleAlert=e.CircleAlert,exports.CircleCheckBig=e.CircleCheckBig,exports.CircleHelp=e.CircleQuestionMark,exports.CircleX=e.CircleX,exports.Copy=e.Copy,exports.CornerDownLeft=e.CornerDownLeft,exports.DEFAULT_NAMESPACE=e.DEFAULT_NAMESPACE,exports.DEFAULT_TIME_ZONE_OPTIONS=e.DEFAULT_TIME_ZONE_OPTIONS,exports.Derived=e.Derived,exports.Dialog=e._sfc_main$56,exports.DialogClose=e._sfc_main$57,exports.DialogContent=e._sfc_main$58,exports.DialogDescription=e._sfc_main$59,exports.DialogFooter=e._sfc_main$60,exports.DialogHeader=e._sfc_main$61,exports.DialogScrollContent=e._sfc_main$62,exports.DialogTitle=e._sfc_main$63,exports.DialogTrigger=e._sfc_main$64,exports.DropdownMenu=e._sfc_main$65,exports.DropdownMenuCheckboxItem=e._sfc_main$66,exports.DropdownMenuContent=e._sfc_main$67,exports.DropdownMenuGroup=e._sfc_main$68,exports.DropdownMenuItem=e._sfc_main$69,exports.DropdownMenuLabel=e._sfc_main$70,exports.DropdownMenuPortal=e.DropdownMenuPortal_default,exports.DropdownMenuRadioGroup=e._sfc_main$71,exports.DropdownMenuRadioItem=e._sfc_main$72,exports.DropdownMenuSeparator=e._sfc_main$73,exports.DropdownMenuShortcut=e._sfc_main$74,exports.DropdownMenuSub=e._sfc_main$75,exports.DropdownMenuSubContent=e._sfc_main$76,exports.DropdownMenuSubTrigger=e._sfc_main$77,exports.DropdownMenuTrigger=e._sfc_main$78,exports.ELEMENT_ID_MAIN_CONTENT=e.ELEMENT_ID_MAIN_CONTENT,exports.Effect=e.Effect,exports.Ellipsis=e.Ellipsis,exports.Expand=e.Expand,exports.ExternalLink=e.ExternalLink,exports.Eye=e.Eye,exports.EyeOff=e.EyeOff,exports.FORM_ITEM_INJECTION_KEY=e.FORM_ITEM_INJECTION_KEY,exports.FoldHorizontal=e.FoldHorizontal,exports.Form=e.Form,exports.FormControl=e._sfc_main$79,exports.FormDescription=e._sfc_main$80,exports.FormField=e.Field,exports.FormFieldArray=e.FieldArray,exports.FormItem=e._sfc_main$81,exports.FormLabel=e._sfc_main$82,exports.FormMessage=e._sfc_main$83,exports.Fullscreen=e.Fullscreen,exports.Github=e.Github,exports.Grip=e.Grip,exports.GripVertical=e.GripVertical,exports.HoverCard=e._sfc_main$84,exports.HoverCardContent=e._sfc_main$85,exports.HoverCardTrigger=e._sfc_main$86,exports.IconDefault=e.Menu,exports.IconifyIcon=e.Icon,exports.Inbox=e.Inbox,exports.Info=e.Info,exports.Input=e.Input,exports.InspectionPanel=e.InspectionPanel,exports.Label=e._sfc_main$87,exports.Languages=e.Languages,exports.LoaderCircle=e.LoaderCircle,exports.LockKeyhole=e.LockKeyhole,exports.LogOut=e.LogOut,exports.MailCheck=e.MailCheck,exports.Maximize=e.Maximize,exports.MdiMenuClose=e.ArrowRightFromLine,exports.MdiMenuOpen=e.ArrowLeftFromLine,exports.MenuBadge=e._sfc_main$1,exports.Minimize=e.Minimize,exports.Minimize2=e.Minimize2,exports.MoonStar=e.MoonStar,exports.NormalMenu=e.normalMenu,exports.NumberField=e._sfc_main$88,exports.NumberFieldContent=e._sfc_main$89,exports.NumberFieldDecrement=e._sfc_main$90,exports.NumberFieldIncrement=e._sfc_main$91,exports.NumberFieldInput=e._sfc_main$92,exports.Pagination=e.PaginationRoot_default,exports.PaginationEllipsis=e._sfc_main$93,exports.PaginationFirst=e._sfc_main$94,exports.PaginationLast=e._sfc_main$95,exports.PaginationList=e.PaginationList_default,exports.PaginationListItem=e.PaginationListItem_default,exports.PaginationNext=e._sfc_main$96,exports.PaginationPrev=e._sfc_main$97,exports.Palette=e.Palette,exports.PanelLeft=e.PanelLeft,exports.PanelRight=e.PanelRight,exports.Pin=e.Pin,exports.PinInput=e._sfc_main$98,exports.PinInputGroup=e._sfc_main$99,exports.PinInputInput=e._sfc_main$100,exports.PinInputSeparator=e._sfc_main$101,exports.PinOff=e.PinOff,exports.Plus=e.Plus,exports.Popover=e._sfc_main$102,exports.PopoverAnchor=e.PopoverAnchor_default,exports.PopoverContent=e._sfc_main$103,exports.PopoverTrigger=e._sfc_main$104,exports.RadioGroup=e._sfc_main$105,exports.RadioGroupItem=e._sfc_main$106,exports.ResizableHandle=e._sfc_main$107,exports.ResizablePanel=e.SplitterPanel_default,exports.ResizablePanelGroup=e._sfc_main$108,exports.RotateCw=e.RotateCw,exports.SCROLL_FIXED_CLASS=e.SCROLL_FIXED_CLASS,exports.ScrollArea=e._sfc_main$109,exports.ScrollBar=e._sfc_main$110,exports.Search=e.Search,exports.SearchX=e.SearchX,exports.Select=e._sfc_main$111,exports.SelectContent=e._sfc_main$112,exports.SelectGroup=e._sfc_main$113,exports.SelectItem=e._sfc_main$114,exports.SelectItemText=e._sfc_main$115,exports.SelectLabel=e._sfc_main$116,exports.SelectScrollDownButton=e._sfc_main$117,exports.SelectScrollUpButton=e._sfc_main$118,exports.SelectSeparator=e._sfc_main$119,exports.SelectTrigger=e._sfc_main$120,exports.SelectValue=e._sfc_main$121,exports.Separator=e._sfc_main$122,exports.Settings=e.Settings,exports.Sheet=e._sfc_main$123,exports.SheetClose=e._sfc_main$124,exports.SheetContent=e._sfc_main$125,exports.SheetDescription=e._sfc_main$126,exports.SheetFooter=e._sfc_main$127,exports.SheetHeader=e._sfc_main$128,exports.SheetTitle=e._sfc_main$129,exports.SheetTrigger=e._sfc_main$130,exports.Shrink=e.Shrink,exports.Slot=e.Slot,exports.Square=e.Square,exports.SquareCheckBig=e.SquareCheckBig,exports.SquareMinus=e.SquareMinus,exports.StateHandler=e.StateHandler,exports.StorageManager=e.StorageManager,exports.Store=e.Store,exports.Sun=e.Sun,exports.SunMoon=e.SunMoon,exports.SwatchBook=e.SwatchBook,exports.Switch=e._sfc_main$131,exports.Tabs=e._sfc_main$132,exports.TabsContent=e._sfc_main$133,exports.TabsIndicator=e.TabsIndicator_default,exports.TabsList=e._sfc_main$134,exports.TabsToolMore=e._sfc_main$145,exports.TabsToolScreen=e._sfc_main$146,exports.TabsTrigger=e._sfc_main$135,exports.TabsView=e._sfc_main$144,exports.Textarea=e._sfc_main$136,exports.TinyColor=e.TinyColor,exports.Toggle=e._sfc_main$137,exports.ToggleGroup=e._sfc_main$138,exports.ToggleGroupItem=e._sfc_main$139,exports.Tooltip=e._sfc_main$140,exports.TooltipContent=e._sfc_main$141,exports.TooltipProvider=e._sfc_main$142,exports.TooltipTrigger=e._sfc_main$143,exports.UserRoundPen=e.UserRoundPen,exports.VisuallyHidden=e.VisuallyHidden_default,exports.X=e.X,exports.__depsThatHaveWrittenThisTick=e.__depsThatHaveWrittenThisTick,exports.__derivedToStore=e.__derivedToStore,exports.__flush=e.__flush,exports.__storeToDerived=e.__storeToDerived,exports.addCollection=e.addCollection,exports.addIcon=e.addIcon,exports.alert=e.adminAlert,exports.arraysEqual=e.arraysEqual,exports.avatarVariant=e.avatarVariant,exports.badgeVariants=e.badgeVariants,exports.batch=e.batch,exports.bindMethods=e.bindMethods,exports.buttonVariants=e.buttonVariants,exports.capitalizeFirstLetter=e.capitalizeFirstLetter,exports.clearAllAlerts=e.clearAllAlerts,exports.clearCache=e.clearCache,exports.cloneDeep=e.cloneDeep,exports.cn=e.cn,exports.confirm=e.adminConfirm,exports.convertToHsl=e.convertToHsl,exports.convertToHslCssVar=e.convertToHslCssVar,exports.convertToRgb=e.convertToRgb,exports.createContext=e.createContext,exports.createIconifyIcon=e.createIconifyIcon,exports.createMerge=e.createDefu,exports.diff=e.diff,exports.downloadFileFromBase64=e.downloadFileFromBase64,exports.downloadFileFromBlob=e.downloadFileFromBlob,exports.downloadFileFromBlobPart=e.downloadFileFromBlobPart,exports.downloadFileFromImageUrl=e.downloadFileFromImageUrl,exports.downloadFileFromUrl=e.downloadFileFromUrl,exports.filterTree=e.filterTree,exports.formatDate=e.formatDate,exports.formatDateTime=e.formatDateTime,exports.generatorColorVariables=e.generatorColorVariables,exports.get=e.get,exports.getCurrentTimezone=e.getCurrentTimezone,exports.getElementVisibleRect=e.getElementVisibleRect,exports.getFirstNonNullOrUndefined=e.getFirstNonNullOrUndefined,exports.getNestedValue=e.getNestedValue,exports.getPreferences=e.getPreferences,exports.getScrollbarWidth=e.getScrollbarWidth,exports.getSystemTimezone=e.getSystemTimezone,exports.globalShareState=e.globalShareState,exports.initPreferences=e.initPreferences,exports.isBoolean=e.isBoolean,exports.isDarkColor=e.isDarkColor,exports.isDate=e.isDate,exports.isDayjsObject=e.isDayjsObject,exports.isEmpty=e.isEmpty,exports.isEqual=e.isEqual,exports.isFunction=e.isFunction,exports.isHttpUrl=e.isHttpUrl,exports.isLightColor=e.isLightColor,exports.isMacOs=e.isMacOs,exports.isNumber=e.isNumber,exports.isObject=e.isObject,exports.isString=e.isString,exports.isUndefined=e.isUndefined,exports.isUpdaterFunction=e.isUpdaterFunction,exports.isValidColor=e.isValidColor,exports.isWindow=e.isWindow,exports.isWindowsOs=e.isWindowsOs,exports.kebabToCamelCase=e.kebabToCamelCase,exports.listIcons=e.listIcons,exports.loadScript=e.loadScript,exports.mapTree=e.mapTree,exports.merge=e.defu,exports.mergeWithArrayOverride=e.mergeWithArrayOverride,exports.needsScrollbar=e.needsScrollbar,exports.openRouteInNewWindow=e.openRouteInNewWindow,exports.openWindow=e.openWindow,exports.preferences=e.preferences,exports.preferencesManager=e.preferencesManager,exports.prompt=e.adminPrompt,exports.resetPreferences=e.resetPreferences,exports.set=e.set,exports.setCurrentTimezone=e.setCurrentTimezone,exports.setDefaultDrawerProps=e.setDefaultDrawerProps,exports.setDefaultModalProps=e.setDefaultModalProps,exports.setupAdminForm=e.setupAdminForm,exports.shallow=e.shallow,exports.sheetVariants=e.sheetVariants,exports.sortTree=e.sortTree,exports.startProgress=e.startProgress,exports.stopProgress=e.stopProgress,exports.to=e.to,exports.toCamelCase=e.toCamelCase,exports.toLowerCaseFirstLetter=e.toLowerCaseFirstLetter,exports.toggleVariants=e.toggleVariants,exports.traverseTreeValues=e.traverseTreeValues,exports.treePropsDefaults=e.treePropsDefaults,exports.triggerDownload=e.triggerDownload,exports.triggerWindowResize=e.triggerWindowResize,exports.uniqueByField=e.uniqueByField,exports.updateCSSVariables=e.updateCSSVariables,exports.updatePreferences=e.updatePreferences,exports.urlToBase64=e.urlToBase64,exports.useAdminDrawer=e.useAdminDrawer,exports.useAdminForm=e.useAdminForm,exports.useAdminModal=e.useAdminModal,exports.useAlertContext=e.useAlertContext,exports.useEmitAsProps=e.useEmitAsProps,exports.useForwardExpose=e.useForwardExpose,exports.useForwardPriorityValues=e.useForwardPriorityValues,exports.useForwardProps=e.useForwardProps,exports.useForwardPropsEmits=e.useForwardPropsEmits,exports.useIsMobile=e.useIsMobile,exports.useLayoutContentStyle=e.useLayoutContentStyle,exports.useLayoutFooterStyle=e.useLayoutFooterStyle,exports.useLayoutHeaderStyle=e.useLayoutHeaderStyle,exports.useNamespace=e.useNamespace,exports.usePreferences=e.usePreferences,exports.usePriorityValue=e.usePriorityValue,exports.usePriorityValues=e.usePriorityValues,exports.useScrollLock=e.useScrollLock,exports.useSimpleLocale=e.useSimpleLocale,exports.useSortable=e.useSortable,exports.useStore=e.useStore,exports.z=e.index;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Gn-7O2I5.cjs");exports.ADMIN_ANT_PREVIEW_URL=e.ADMIN_ANT_PREVIEW_URL,exports.ADMIN_DOC_URL=e.ADMIN_DOC_URL,exports.ADMIN_ELE_PREVIEW_URL=e.ADMIN_ELE_PREVIEW_URL,exports.ADMIN_GITHUB_URL=e.ADMIN_GITHUB_URL,exports.ADMIN_LOGO_URL=e.ADMIN_LOGO_URL,exports.ADMIN_NAIVE_PREVIEW_URL=e.ADMIN_NAIVE_PREVIEW_URL,exports.ADMIN_PREVIEW_URL=e.ADMIN_PREVIEW_URL,exports.ADMIN_TD_PREVIEW_URL=e.ADMIN_TD_PREVIEW_URL,exports.Accordion=e._sfc_main$28,exports.AccordionContent=e._sfc_main$29,exports.AccordionItem=e._sfc_main$30,exports.AccordionTrigger=e._sfc_main$31,exports.AdminAvatar=e._sfc_main$6,exports.AdminBackTop=e._sfc_main$7,exports.AdminBreadcrumbView=e.breadcrumbView,exports.AdminButton=e._sfc_main$8,exports.AdminButtonGroup=e.AdminButtonGroup,exports.AdminCheckButtonGroup=e.checkButtonGroup,exports.AdminCheckbox=e._sfc_main$10,exports.AdminContextMenu=e._sfc_main$11,exports.AdminCountToAnimator=e._sfc_main$12,exports.AdminDrawer=e._sfc_main$4,exports.AdminDropdownMenu=e._sfc_main$13,exports.AdminDropdownRadioMenu=e._sfc_main$14,exports.AdminExpandableArrow=e._sfc_main$15,exports.AdminFullScreen=e._sfc_main$16,exports.AdminHelpTooltip=e._sfc_main$26,exports.AdminHoverCard=e._sfc_main$17,exports.AdminIcon=e._sfc_main$18,exports.AdminIconButton=e._sfc_main$9,exports.AdminInputPassword=e._sfc_main$19,exports.AdminLayout=e._sfc_main,exports.AdminLoading=e.AdminLoading,exports.AdminLogo=e._sfc_main$20,exports.AdminModal=e._sfc_main$5,exports.AdminPinInput=e._sfc_main$21,exports.AdminPopover=e._sfc_main$22,exports.AdminRenderContent=e._sfc_main$23,exports.AdminScrollbar=e.AdminScrollbar,exports.AdminSegmented=e._sfc_main$24,exports.AdminSelect=e.AdminSelect,exports.AdminSpineText=e._sfc_main$25,exports.AdminSpinner=e.spinner,exports.AdminTooltip=e._sfc_main$27,exports.AdminTree=e.tree,exports.Alert=e._sfc_main$3,exports.AlertDialog=e._sfc_main$32,exports.AlertDialogAction=e._sfc_main$33,exports.AlertDialogCancel=e._sfc_main$34,exports.AlertDialogContent=e._sfc_main$35,exports.AlertDialogDescription=e._sfc_main$36,exports.AlertDialogTitle=e._sfc_main$37,exports.ArrowDown=e.ArrowDown,exports.ArrowLeft=e.ArrowLeft,exports.ArrowLeftToLine=e.ArrowLeftToLine,exports.ArrowRightLeft=e.ArrowRightLeft,exports.ArrowRightToLine=e.ArrowRightToLine,exports.ArrowUp=e.ArrowUp,exports.ArrowUpToLine=e.ArrowUpToLine,exports.Avatar=e._sfc_main$38,exports.AvatarFallback=e._sfc_main$39,exports.AvatarImage=e._sfc_main$40,exports.BUILT_IN_THEME_PRESETS=e.BUILT_IN_THEME_PRESETS,exports.Badge=e._sfc_main$41,exports.Bell=e.Bell,exports.BookOpenText=e.BookOpenText,exports.Breadcrumb=e._sfc_main$42,exports.BreadcrumbEllipsis=e._sfc_main$43,exports.BreadcrumbItem=e._sfc_main$44,exports.BreadcrumbLink=e._sfc_main$45,exports.BreadcrumbList=e._sfc_main$46,exports.BreadcrumbPage=e._sfc_main$47,exports.BreadcrumbSeparator=e._sfc_main$48,exports.Button=e._sfc_main$49,exports.COLOR_PRESETS=e.COLOR_PRESETS,exports.CSS_VARIABLE_LAYOUT_CONTENT_HEIGHT=e.CSS_VARIABLE_LAYOUT_CONTENT_HEIGHT,exports.CSS_VARIABLE_LAYOUT_CONTENT_WIDTH=e.CSS_VARIABLE_LAYOUT_CONTENT_WIDTH,exports.CSS_VARIABLE_LAYOUT_FOOTER_HEIGHT=e.CSS_VARIABLE_LAYOUT_FOOTER_HEIGHT,exports.CSS_VARIABLE_LAYOUT_HEADER_HEIGHT=e.CSS_VARIABLE_LAYOUT_HEADER_HEIGHT,exports.Card=e._sfc_main$50,exports.CardContent=e._sfc_main$51,exports.CardDescription=e._sfc_main$52,exports.CardFooter=e._sfc_main$53,exports.CardHeader=e._sfc_main$54,exports.CardTitle=e._sfc_main$55,exports.Check=e.Check,exports.Checkbox=e._sfc_main$56,exports.ChevronDown=e.ChevronDown,exports.ChevronLeft=e.ChevronLeft,exports.ChevronRight=e.ChevronRight,exports.ChevronsLeft=e.ChevronsLeft,exports.ChevronsRight=e.ChevronsRight,exports.Circle=e.Circle,exports.CircleAlert=e.CircleAlert,exports.CircleCheckBig=e.CircleCheckBig,exports.CircleHelp=e.CircleQuestionMark,exports.CircleX=e.CircleX,exports.Copy=e.Copy,exports.CornerDownLeft=e.CornerDownLeft,exports.DEFAULT_NAMESPACE=e.DEFAULT_NAMESPACE,exports.DEFAULT_TIME_ZONE_OPTIONS=e.DEFAULT_TIME_ZONE_OPTIONS,exports.Derived=e.Derived,exports.Dialog=e._sfc_main$57,exports.DialogClose=e._sfc_main$58,exports.DialogContent=e._sfc_main$59,exports.DialogDescription=e._sfc_main$60,exports.DialogFooter=e._sfc_main$61,exports.DialogHeader=e._sfc_main$62,exports.DialogScrollContent=e._sfc_main$63,exports.DialogTitle=e._sfc_main$64,exports.DialogTrigger=e._sfc_main$65,exports.DropdownMenu=e._sfc_main$66,exports.DropdownMenuCheckboxItem=e._sfc_main$67,exports.DropdownMenuContent=e._sfc_main$68,exports.DropdownMenuGroup=e._sfc_main$69,exports.DropdownMenuItem=e._sfc_main$70,exports.DropdownMenuLabel=e._sfc_main$71,exports.DropdownMenuPortal=e.DropdownMenuPortal_default,exports.DropdownMenuRadioGroup=e._sfc_main$72,exports.DropdownMenuRadioItem=e._sfc_main$73,exports.DropdownMenuSeparator=e._sfc_main$74,exports.DropdownMenuShortcut=e._sfc_main$75,exports.DropdownMenuSub=e._sfc_main$76,exports.DropdownMenuSubContent=e._sfc_main$77,exports.DropdownMenuSubTrigger=e._sfc_main$78,exports.DropdownMenuTrigger=e._sfc_main$79,exports.ELEMENT_ID_MAIN_CONTENT=e.ELEMENT_ID_MAIN_CONTENT,exports.Effect=e.Effect,exports.Ellipsis=e.Ellipsis,exports.Expand=e.Expand,exports.ExternalLink=e.ExternalLink,exports.Eye=e.Eye,exports.EyeOff=e.EyeOff,exports.FORM_ITEM_INJECTION_KEY=e.FORM_ITEM_INJECTION_KEY,exports.FoldHorizontal=e.FoldHorizontal,exports.Form=e.Form,exports.FormControl=e._sfc_main$80,exports.FormDescription=e._sfc_main$81,exports.FormField=e.Field,exports.FormFieldArray=e.FieldArray,exports.FormItem=e._sfc_main$82,exports.FormLabel=e._sfc_main$83,exports.FormMessage=e._sfc_main$84,exports.Fullscreen=e.Fullscreen,exports.Github=e.Github,exports.Grip=e.Grip,exports.GripVertical=e.GripVertical,exports.HoverCard=e._sfc_main$85,exports.HoverCardContent=e._sfc_main$86,exports.HoverCardTrigger=e._sfc_main$87,exports.IconMenu=e.Menu,exports.IconifyIcon=e.Icon,exports.Inbox=e.Inbox,exports.Info=e.Info,exports.Input=e.Input,exports.InspectionPanel=e.InspectionPanel,exports.Label=e._sfc_main$88,exports.Languages=e.Languages,exports.LoaderCircle=e.LoaderCircle,exports.LockKeyhole=e.LockKeyhole,exports.LogOut=e.LogOut,exports.MailCheck=e.MailCheck,exports.Maximize=e.Maximize,exports.MdiMenuClose=e.ArrowRightFromLine,exports.MdiMenuOpen=e.ArrowLeftFromLine,exports.Menu=e._sfc_main$2,exports.MenuBadge=e._sfc_main$1,exports.Minimize=e.Minimize,exports.Minimize2=e.Minimize2,exports.MoonStar=e.MoonStar,exports.NormalMenu=e.normalMenu,exports.NumberField=e._sfc_main$89,exports.NumberFieldContent=e._sfc_main$90,exports.NumberFieldDecrement=e._sfc_main$91,exports.NumberFieldIncrement=e._sfc_main$92,exports.NumberFieldInput=e._sfc_main$93,exports.Pagination=e.PaginationRoot_default,exports.PaginationEllipsis=e._sfc_main$94,exports.PaginationFirst=e._sfc_main$95,exports.PaginationLast=e._sfc_main$96,exports.PaginationList=e.PaginationList_default,exports.PaginationListItem=e.PaginationListItem_default,exports.PaginationNext=e._sfc_main$97,exports.PaginationPrev=e._sfc_main$98,exports.Palette=e.Palette,exports.PanelLeft=e.PanelLeft,exports.PanelRight=e.PanelRight,exports.Pin=e.Pin,exports.PinInput=e._sfc_main$99,exports.PinInputGroup=e._sfc_main$100,exports.PinInputInput=e._sfc_main$101,exports.PinInputSeparator=e._sfc_main$102,exports.PinOff=e.PinOff,exports.Plus=e.Plus,exports.Popover=e._sfc_main$103,exports.PopoverAnchor=e.PopoverAnchor_default,exports.PopoverContent=e._sfc_main$104,exports.PopoverTrigger=e._sfc_main$105,exports.RadioGroup=e._sfc_main$106,exports.RadioGroupItem=e._sfc_main$107,exports.ResizableHandle=e._sfc_main$108,exports.ResizablePanel=e.SplitterPanel_default,exports.ResizablePanelGroup=e._sfc_main$109,exports.RotateCw=e.RotateCw,exports.SCROLL_FIXED_CLASS=e.SCROLL_FIXED_CLASS,exports.ScrollArea=e._sfc_main$110,exports.ScrollBar=e._sfc_main$111,exports.Search=e.Search,exports.SearchX=e.SearchX,exports.Select=e._sfc_main$112,exports.SelectContent=e._sfc_main$113,exports.SelectGroup=e._sfc_main$114,exports.SelectItem=e._sfc_main$115,exports.SelectItemText=e._sfc_main$116,exports.SelectLabel=e._sfc_main$117,exports.SelectScrollDownButton=e._sfc_main$118,exports.SelectScrollUpButton=e._sfc_main$119,exports.SelectSeparator=e._sfc_main$120,exports.SelectTrigger=e._sfc_main$121,exports.SelectValue=e._sfc_main$122,exports.Separator=e._sfc_main$123,exports.Settings=e.Settings,exports.Sheet=e._sfc_main$124,exports.SheetClose=e._sfc_main$125,exports.SheetContent=e._sfc_main$126,exports.SheetDescription=e._sfc_main$127,exports.SheetFooter=e._sfc_main$128,exports.SheetHeader=e._sfc_main$129,exports.SheetTitle=e._sfc_main$130,exports.SheetTrigger=e._sfc_main$131,exports.Shrink=e.Shrink,exports.Slot=e.Slot,exports.Square=e.Square,exports.SquareCheckBig=e.SquareCheckBig,exports.SquareMinus=e.SquareMinus,exports.StateHandler=e.StateHandler,exports.StorageManager=e.StorageManager,exports.Store=e.Store,exports.Sun=e.Sun,exports.SunMoon=e.SunMoon,exports.SwatchBook=e.SwatchBook,exports.Switch=e._sfc_main$132,exports.Tabs=e._sfc_main$133,exports.TabsContent=e._sfc_main$134,exports.TabsIndicator=e.TabsIndicator_default,exports.TabsList=e._sfc_main$135,exports.TabsToolMore=e._sfc_main$146,exports.TabsToolScreen=e._sfc_main$147,exports.TabsTrigger=e._sfc_main$136,exports.TabsView=e._sfc_main$145,exports.Textarea=e._sfc_main$137,exports.TinyColor=e.TinyColor,exports.Toggle=e._sfc_main$138,exports.ToggleGroup=e._sfc_main$139,exports.ToggleGroupItem=e._sfc_main$140,exports.Tooltip=e._sfc_main$141,exports.TooltipContent=e._sfc_main$142,exports.TooltipProvider=e._sfc_main$143,exports.TooltipTrigger=e._sfc_main$144,exports.UserRoundPen=e.UserRoundPen,exports.VisuallyHidden=e.VisuallyHidden_default,exports.X=e.X,exports.__depsThatHaveWrittenThisTick=e.__depsThatHaveWrittenThisTick,exports.__derivedToStore=e.__derivedToStore,exports.__flush=e.__flush,exports.__storeToDerived=e.__storeToDerived,exports.addCollection=e.addCollection,exports.addIcon=e.addIcon,exports.alert=e.adminAlert,exports.arraysEqual=e.arraysEqual,exports.avatarVariant=e.avatarVariant,exports.badgeVariants=e.badgeVariants,exports.batch=e.batch,exports.bindMethods=e.bindMethods,exports.buttonVariants=e.buttonVariants,exports.capitalizeFirstLetter=e.capitalizeFirstLetter,exports.clearAllAlerts=e.clearAllAlerts,exports.clearCache=e.clearCache,exports.cloneDeep=e.cloneDeep,exports.cn=e.cn,exports.confirm=e.adminConfirm,exports.convertToHsl=e.convertToHsl,exports.convertToHslCssVar=e.convertToHslCssVar,exports.convertToRgb=e.convertToRgb,exports.createContext=e.createContext,exports.createIconifyIcon=e.createIconifyIcon,exports.createMerge=e.createDefu,exports.diff=e.diff,exports.downloadFileFromBase64=e.downloadFileFromBase64,exports.downloadFileFromBlob=e.downloadFileFromBlob,exports.downloadFileFromBlobPart=e.downloadFileFromBlobPart,exports.downloadFileFromImageUrl=e.downloadFileFromImageUrl,exports.downloadFileFromUrl=e.downloadFileFromUrl,exports.filterTree=e.filterTree,exports.formatDate=e.formatDate,exports.formatDateTime=e.formatDateTime,exports.generatorColorVariables=e.generatorColorVariables,exports.get=e.get,exports.getCurrentTimezone=e.getCurrentTimezone,exports.getElementVisibleRect=e.getElementVisibleRect,exports.getFirstNonNullOrUndefined=e.getFirstNonNullOrUndefined,exports.getNestedValue=e.getNestedValue,exports.getPreferences=e.getPreferences,exports.getScrollbarWidth=e.getScrollbarWidth,exports.getSystemTimezone=e.getSystemTimezone,exports.globalShareState=e.globalShareState,exports.initPreferences=e.initPreferences,exports.isBoolean=e.isBoolean,exports.isDarkColor=e.isDarkColor,exports.isDate=e.isDate,exports.isDayjsObject=e.isDayjsObject,exports.isEmpty=e.isEmpty,exports.isEqual=e.isEqual,exports.isFunction=e.isFunction,exports.isHttpUrl=e.isHttpUrl,exports.isLightColor=e.isLightColor,exports.isMacOs=e.isMacOs,exports.isNumber=e.isNumber,exports.isObject=e.isObject,exports.isString=e.isString,exports.isUndefined=e.isUndefined,exports.isUpdaterFunction=e.isUpdaterFunction,exports.isValidColor=e.isValidColor,exports.isWindow=e.isWindow,exports.isWindowsOs=e.isWindowsOs,exports.kebabToCamelCase=e.kebabToCamelCase,exports.listIcons=e.listIcons,exports.loadScript=e.loadScript,exports.mapTree=e.mapTree,exports.merge=e.defu,exports.mergeWithArrayOverride=e.mergeWithArrayOverride,exports.needsScrollbar=e.needsScrollbar,exports.openRouteInNewWindow=e.openRouteInNewWindow,exports.openWindow=e.openWindow,exports.preferences=e.preferences,exports.preferencesManager=e.preferencesManager,exports.prompt=e.adminPrompt,exports.resetPreferences=e.resetPreferences,exports.set=e.set,exports.setCurrentTimezone=e.setCurrentTimezone,exports.setDefaultDrawerProps=e.setDefaultDrawerProps,exports.setDefaultModalProps=e.setDefaultModalProps,exports.setupAdminForm=e.setupAdminForm,exports.shallow=e.shallow,exports.sheetVariants=e.sheetVariants,exports.sortTree=e.sortTree,exports.startProgress=e.startProgress,exports.stopProgress=e.stopProgress,exports.to=e.to,exports.toCamelCase=e.toCamelCase,exports.toLowerCaseFirstLetter=e.toLowerCaseFirstLetter,exports.toggleVariants=e.toggleVariants,exports.traverseTreeValues=e.traverseTreeValues,exports.treePropsDefaults=e.treePropsDefaults,exports.triggerDownload=e.triggerDownload,exports.triggerWindowResize=e.triggerWindowResize,exports.uniqueByField=e.uniqueByField,exports.updateCSSVariables=e.updateCSSVariables,exports.updatePreferences=e.updatePreferences,exports.urlToBase64=e.urlToBase64,exports.useAdminDrawer=e.useAdminDrawer,exports.useAdminForm=e.useAdminForm,exports.useAdminModal=e.useAdminModal,exports.useAlertContext=e.useAlertContext,exports.useEmitAsProps=e.useEmitAsProps,exports.useForwardExpose=e.useForwardExpose,exports.useForwardPriorityValues=e.useForwardPriorityValues,exports.useForwardProps=e.useForwardProps,exports.useForwardPropsEmits=e.useForwardPropsEmits,exports.useIsMobile=e.useIsMobile,exports.useLayoutContentStyle=e.useLayoutContentStyle,exports.useLayoutFooterStyle=e.useLayoutFooterStyle,exports.useLayoutHeaderStyle=e.useLayoutHeaderStyle,exports.useNamespace=e.useNamespace,exports.usePreferences=e.usePreferences,exports.usePriorityValue=e.usePriorityValue,exports.usePriorityValues=e.usePriorityValues,exports.useScrollLock=e.useScrollLock,exports.useSimpleLocale=e.useSimpleLocale,exports.useSortable=e.useSortable,exports.useStore=e.useStore,exports.z=e.index;
2
2
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.ts CHANGED
@@ -1,40 +1,571 @@
1
1
  // Type declarations for @jackbo_vip/admin-kit
2
2
  // This package bundles all dependencies into a single distributable package
3
+ // Generated automatically - do not edit
3
4
 
4
- // Note: Full type declarations will be available after building all workspace packages
5
- // For now, we provide basic type support
6
-
7
- export * from 'vue';
8
- export * from 'vue-router';
9
- export * from '@vueuse/core';
10
-
11
- // Component types
12
- export declare const AdminButton: any;
13
- export declare const AdminIcon: any;
14
- export declare const Badge: any;
15
- export declare const Card: any;
16
- export declare const CardHeader: any;
17
- export declare const CardTitle: any;
18
- export declare const CardDescription: any;
19
- export declare const CardContent: any;
20
- export declare const CardFooter: any;
21
-
22
- // Composables
23
- export declare function useIsMobile(): any;
24
- export declare function useNamespace(name: string): any;
25
-
26
- // Utilities
27
- export declare function cn(...inputs: any[]): string;
28
- export declare function formatDate(time?: any, format?: string): string;
29
- export declare function formatDateTime(time?: any): string;
30
-
31
- // Form System
32
- export declare function useAdminForm(options: any): readonly [any, any];
33
- export declare function setupAdminForm(options: any): void;
5
+
6
+ // ==========================================
7
+ // From @admin-kit/icons
8
+ // ==========================================
9
+ import * as vue from 'vue';
10
+ export { ArrowDown, ArrowLeft, ArrowLeftToLine, ArrowRightLeft, ArrowRightToLine, ArrowUp, ArrowUpToLine, Bell, BookOpenText, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight, Circle, CircleAlert, CircleCheckBig, CircleHelp, CircleX, Copy, CornerDownLeft, Ellipsis, Expand, ExternalLink, Eye, EyeOff, FoldHorizontal, Fullscreen, Github, Grip, GripVertical, Menu as IconDefault, Inbox, Info, InspectionPanel, Languages, LoaderCircle, LockKeyhole, LogOut, MailCheck, Maximize, ArrowRightFromLine as MdiMenuClose, ArrowLeftFromLine as MdiMenuOpen, Menu, Minimize, Minimize2, MoonStar, Palette, PanelLeft, PanelRight, Pin, PinOff, Plus, RotateCw, Search, SearchX, Settings, Shrink, Square, SquareCheckBig, SquareMinus, Sun, SunMoon, SwatchBook, UserRoundPen, X } from 'lucide-vue-next';
11
+ export { Icon as IconifyIcon, IconifyIcon as IconifyIconStructure, addCollection, addIcon, listIcons } from '@iconify/vue';
12
+
13
+ declare function createIconifyIcon(icon: string): vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
14
+ [key: string]: any;
15
+ }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
16
+
17
+ export { createIconifyIcon };
18
+
19
+
20
+ // ==========================================
21
+ // From @admin-kit/typings
22
+ // ==========================================
23
+ import { ComputedRef, MaybeRef, Component } from 'vue';
24
+ import { RouteRecordRaw, RouteLocationNormalized, Router } from 'vue-router';
25
+ export { RouteRecordRaw } from 'vue-router';
26
+
27
+ type LayoutType =
28
+ | 'full-content'
29
+ | 'header-mixed-nav'
30
+ | 'header-nav'
31
+ | 'header-sidebar-nav'
32
+ | 'mixed-nav'
33
+ | 'sidebar-mixed-nav'
34
+ | 'sidebar-nav';
35
+
36
+ type ThemeModeType = 'auto' | 'dark' | 'light';
37
+
38
+ /**
39
+ * 偏好设置按钮位置
40
+ * fixed 固定在右侧
41
+ * header 顶栏
42
+ * auto 自动
43
+ */
44
+ type PreferencesButtonPositionType = 'auto' | 'fixed' | 'header';
45
+
46
+ type BuiltinThemeType =
47
+ | 'custom'
48
+ | 'deep-blue'
49
+ | 'deep-green'
50
+ | 'default'
51
+ | 'gray'
52
+ | 'green'
53
+ | 'neutral'
54
+ | 'orange'
55
+ | 'pink'
56
+ | 'red'
57
+ | 'rose'
58
+ | 'sky-blue'
59
+ | 'slate'
60
+ | 'stone'
61
+ | 'violet'
62
+ | 'yellow'
63
+ | 'zinc'
64
+ | (Record<never, never> & string);
65
+
66
+ type ContentCompactType = 'compact' | 'wide';
67
+
68
+ type LayoutHeaderModeType = 'auto' | 'auto-scroll' | 'fixed' | 'static';
69
+ type LayoutHeaderMenuAlignType = 'center' | 'end' | 'start';
70
+
71
+ /**
72
+ * 登录过期模式
73
+ * modal 弹窗模式
74
+ * page 页面模式
75
+ */
76
+ type LoginExpiredModeType = 'modal' | 'page';
77
+
78
+ /**
79
+ * 面包屑样式
80
+ * background 背景
81
+ * normal 默认
82
+ */
83
+ type BreadcrumbStyleType = 'background' | 'normal';
84
+
85
+ /**
86
+ * 权限模式
87
+ * backend 后端权限模式
88
+ * frontend 前端权限模式
89
+ * mixed 混合权限模式
90
+ */
91
+ type AccessModeType = 'backend' | 'frontend' | 'mixed';
92
+
93
+ /**
94
+ * 导航风格
95
+ * plain 朴素
96
+ * rounded 圆润
97
+ */
98
+ type NavigationStyleType = 'plain' | 'rounded';
99
+
100
+ /**
101
+ * 标签栏风格
102
+ * brisk 轻快
103
+ * card 卡片
104
+ * chrome 谷歌
105
+ * plain 朴素
106
+ */
107
+ type TabsStyleType = 'brisk' | 'card' | 'chrome' | 'plain';
108
+
109
+ /**
110
+ * 页面切换动画
111
+ */
112
+ type PageTransitionType = 'fade' | 'fade-down' | 'fade-slide' | 'fade-up';
113
+
114
+ /**
115
+ * 页面切换动画
116
+ * panel-center 居中布局
117
+ * panel-left 居左布局
118
+ * panel-right 居右布局
119
+ */
120
+ type AuthPageLayoutType = 'panel-center' | 'panel-left' | 'panel-right';
121
+
122
+ /**
123
+ * 时区选项
124
+ */
125
+ interface TimezoneOption {
126
+ label: string;
127
+ offset: number;
128
+ timezone: string;
129
+ }
130
+
131
+ interface BasicOption {
132
+ label: string;
133
+ value: string;
134
+ }
135
+
136
+ type SelectOption = BasicOption;
137
+
138
+ type TabOption = BasicOption;
139
+
140
+ interface BasicUserInfo {
141
+ /**
142
+ * 头像
143
+ */
144
+ avatar: string;
145
+ /**
146
+ * 用户昵称
147
+ */
148
+ realName: string;
149
+ /**
150
+ * 用户角色
151
+ */
152
+ roles?: string[];
153
+ /**
154
+ * 用户id
155
+ */
156
+ userId: string;
157
+ /**
158
+ * 用户名
159
+ */
160
+ username: string;
161
+ }
162
+
163
+ type ClassType = Array<object | string> | object | string;
164
+
165
+ /**
166
+ * 深层递归所有属性为可选
167
+ */
168
+ type DeepPartial<T> = T extends object
169
+ ? {
170
+ [P in keyof T]?: DeepPartial<T[P]>;
171
+ }
172
+ : T;
173
+
174
+ /**
175
+ * 深层递归所有属性为只读
176
+ */
177
+ type DeepReadonly<T> = {
178
+ readonly [P in keyof T]: T[P] extends object ? DeepReadonly<T[P]> : T[P];
179
+ };
180
+
181
+ /**
182
+ * 任意类型的异步函数
183
+ */
184
+
185
+ type AnyPromiseFunction<T extends any[] = any[], R = void> = (
186
+ ...arg: T
187
+ ) => PromiseLike<R>;
188
+
189
+ /**
190
+ * 任意类型的普通函数
191
+ */
192
+ type AnyNormalFunction<T extends any[] = any[], R = void> = (...arg: T) => R;
193
+
194
+ /**
195
+ * 任意类型的函数
196
+ */
197
+ type AnyFunction<T extends any[] = any[], R = void> =
198
+ | AnyNormalFunction<T, R>
199
+ | AnyPromiseFunction<T, R>;
200
+
201
+ /**
202
+ * T | null 包装
203
+ */
204
+ type Nullable<T> = null | T;
205
+
206
+ /**
207
+ * T | Not null 包装
208
+ */
209
+ type NonNullable<T> = T extends null | undefined ? never : T;
210
+
211
+ /**
212
+ * 字符串类型对象
213
+ */
214
+ type Recordable$1<T> = Record<string, T>;
215
+
216
+ /**
217
+ * 字符串类型对象(只读)
218
+ */
219
+ interface ReadonlyRecordable<T = any> {
220
+ readonly [key: string]: T;
221
+ }
222
+
223
+ /**
224
+ * setTimeout 返回值类型
225
+ */
226
+ type TimeoutHandle = ReturnType<typeof setTimeout>;
227
+
228
+ /**
229
+ * setInterval 返回值类型
230
+ */
231
+ type IntervalHandle = ReturnType<typeof setInterval>;
232
+
233
+ /**
234
+ * 也许它是一个计算的 ref,或者一个 getter 函数
235
+ *
236
+ */
237
+ type MaybeReadonlyRef<T> = (() => T) | ComputedRef<T>;
238
+
239
+ /**
240
+ * 也许它是一个 ref,或者一个普通值,或者一个 getter 函数
241
+ *
242
+ */
243
+ type MaybeComputedRef<T> = MaybeReadonlyRef<T> | MaybeRef<T>;
244
+
245
+ type Merge<O extends object, T extends object> = {
246
+ [K in keyof O | keyof T]: K extends keyof T
247
+ ? T[K]
248
+ : K extends keyof O
249
+ ? O[K]
250
+ : never;
251
+ };
252
+
253
+ /**
254
+ * T = [
255
+ * { name: string; age: number; },
256
+ * { sex: 'male' | 'female'; age: string }
257
+ * ]
258
+ * =>
259
+ * MergeAll<T> = {
260
+ * name: string;
261
+ * sex: 'male' | 'female';
262
+ * age: string
263
+ * }
264
+ */
265
+ type MergeAll<
266
+ T extends object[],
267
+ R extends object = Record<string, any>,
268
+ > = T extends [infer F extends object, ...infer Rest extends object[]]
269
+ ? MergeAll<Rest, Merge<R, F>>
270
+ : R;
271
+
272
+ type EmitType = (name: Name, ...args: any[]) => void;
273
+
274
+ type MaybePromise<T> = Promise<T> | T;
275
+
276
+ type ExRouteRecordRaw = RouteRecordRaw & {
277
+ parent?: string;
278
+ parents?: string[];
279
+ path?: any;
280
+ };
281
+ interface MenuRecordBadgeRaw {
282
+ badge?: string;
283
+ badgeType?: 'dot' | 'normal';
284
+ badgeVariants?: 'destructive' | 'primary' | string;
285
+ }
286
+ interface MenuRecordRaw extends MenuRecordBadgeRaw {
287
+ activeIcon?: string;
288
+ children?: MenuRecordRaw[];
289
+ disabled?: boolean;
290
+ icon?: Component | string;
291
+ name: string;
292
+ order?: number;
293
+ parent?: string;
294
+ parents?: string[];
295
+ path: string;
296
+ show?: boolean;
297
+ }
298
+
299
+ interface TabDefinition extends RouteLocationNormalized {
300
+ key?: string;
301
+ }
302
+
303
+ interface RouteMeta {
304
+ /**
305
+ * 激活图标(菜单/tab)
306
+ */
307
+ activeIcon?: string;
308
+ /**
309
+ * 当前激活的菜单,有时候不想激活现有菜单,需要激活父级菜单时使用
310
+ */
311
+ activePath?: string;
312
+ /**
313
+ * 是否固定标签页
314
+ * @default false
315
+ */
316
+ affixTab?: boolean;
317
+ /**
318
+ * 固定标签页的顺序
319
+ * @default 0
320
+ */
321
+ affixTabOrder?: number;
322
+ /**
323
+ * 需要特定的角色标识才可以访问
324
+ * @default []
325
+ */
326
+ authority?: string[];
327
+ /**
328
+ * 徽标
329
+ */
330
+ badge?: string;
331
+ /**
332
+ * 徽标类型
333
+ */
334
+ badgeType?: 'dot' | 'normal';
335
+ /**
336
+ * 徽标颜色
337
+ */
338
+ badgeVariants?:
339
+ | 'default'
340
+ | 'destructive'
341
+ | 'primary'
342
+ | 'success'
343
+ | 'warning'
344
+ | string;
345
+ /**
346
+ * 路由的完整路径作为key(默认true)
347
+ */
348
+ fullPathKey?: boolean;
349
+ /**
350
+ * 当前路由的子级在菜单中不展现
351
+ * @default false
352
+ */
353
+ hideChildrenInMenu?: boolean;
354
+ /**
355
+ * 当前路由在面包屑中不展现
356
+ * @default false
357
+ */
358
+ hideInBreadcrumb?: boolean;
359
+ /**
360
+ * 当前路由在菜单中不展现
361
+ * @default false
362
+ */
363
+ hideInMenu?: boolean;
364
+ /**
365
+ * 当前路由在标签页不展现
366
+ * @default false
367
+ */
368
+ hideInTab?: boolean;
369
+ /**
370
+ * 图标(菜单/tab)
371
+ */
372
+ icon?: Component | string;
373
+ /**
374
+ * iframe 地址
375
+ */
376
+ iframeSrc?: string;
377
+ /**
378
+ * 忽略权限,直接可以访问
379
+ * @default false
380
+ */
381
+ ignoreAccess?: boolean;
382
+ /**
383
+ * 开启KeepAlive缓存
384
+ */
385
+ keepAlive?: boolean;
386
+ /**
387
+ * 外链-跳转路径
388
+ */
389
+ link?: string;
390
+ /**
391
+ * 路由是否已经加载过
392
+ */
393
+ loaded?: boolean;
394
+ /**
395
+ * 标签页最大打开数量
396
+ * @default -1
397
+ */
398
+ maxNumOfOpenTab?: number;
399
+ /**
400
+ * 菜单可以看到,但是访问会被重定向到403
401
+ */
402
+ menuVisibleWithForbidden?: boolean;
403
+ /**
404
+ * 不使用基础布局(仅在顶级生效)
405
+ */
406
+ noBasicLayout?: boolean;
407
+ /**
408
+ * 在新窗口打开
409
+ */
410
+ openInNewWindow?: boolean;
411
+ /**
412
+ * 用于路由->菜单排序
413
+ */
414
+ order?: number;
415
+ /**
416
+ * 菜单所携带的参数
417
+ */
418
+ query?: Recordable;
419
+ /**
420
+ * 标题名称
421
+ */
422
+ title: string;
423
+ }
424
+
425
+ // 定义递归类型以将 RouteRecordRaw 的 component 属性更改为 string
426
+ type RouteRecordStringComponent<T = string> = Omit<
427
+ RouteRecordRaw,
428
+ 'children' | 'component'
429
+ > & {
430
+ children?: RouteRecordStringComponent<T>[];
431
+ component: T;
432
+ };
433
+
434
+ type ComponentRecordType = Record<string, () => Promise<Component>>;
435
+
436
+ interface GenerateMenuAndRoutesOptions {
437
+ fetchMenuListAsync?: () => Promise<RouteRecordStringComponent[]>;
438
+ forbiddenComponent?: RouteRecordRaw['component'];
439
+ layoutMap?: ComponentRecordType;
440
+ pageMap?: ComponentRecordType;
441
+ roles?: string[];
442
+ router: Router;
443
+ routes: RouteRecordRaw[];
444
+ }
445
+
446
+ export type { AccessModeType, AnyFunction, AnyNormalFunction, AnyPromiseFunction, AuthPageLayoutType, BasicOption, BasicUserInfo, BreadcrumbStyleType, BuiltinThemeType, ClassType, ComponentRecordType, ContentCompactType, DeepPartial, DeepReadonly, EmitType, ExRouteRecordRaw, GenerateMenuAndRoutesOptions, IntervalHandle, LayoutHeaderMenuAlignType, LayoutHeaderModeType, LayoutType, LoginExpiredModeType, MaybeComputedRef, MaybePromise, MaybeReadonlyRef, MenuRecordBadgeRaw, MenuRecordRaw, Merge, MergeAll, NavigationStyleType, NonNullable, Nullable, PageTransitionType, PreferencesButtonPositionType, ReadonlyRecordable, Recordable$1 as Recordable, RouteMeta, RouteRecordStringComponent, SelectOption, TabDefinition, TabOption, TabsStyleType, ThemeModeType, TimeoutHandle, TimezoneOption };
447
+
448
+
449
+ // ==========================================
450
+ // From @admin-kit/composables
451
+ // ==========================================
452
+ import * as vue from 'vue';
453
+ import { CSSProperties, Ref, ComputedRef } from 'vue';
454
+ export { default as Sortable } from 'sortablejs';
455
+ export { useEmitAsProps, useForwardExpose, useForwardProps, useForwardPropsEmits } from 'reka-ui';
456
+
457
+ declare function useIsMobile(): {
458
+ isMobile: vue.ComputedRef<boolean>;
459
+ };
460
+
461
+ declare function useLayoutContentStyle(): {
462
+ contentElement: vue.Ref<HTMLDivElement | null, HTMLDivElement | null>;
463
+ overlayStyle: vue.ComputedRef<CSSProperties>;
464
+ visibleDomRect: vue.Ref<{
465
+ bottom: number;
466
+ height: number;
467
+ left: number;
468
+ right: number;
469
+ top: number;
470
+ width: number;
471
+ } | null, VisibleDomRect | {
472
+ bottom: number;
473
+ height: number;
474
+ left: number;
475
+ right: number;
476
+ top: number;
477
+ width: number;
478
+ } | null>;
479
+ };
480
+ declare function useLayoutHeaderStyle(): {
481
+ getLayoutHeaderHeight: () => number;
482
+ setLayoutHeaderHeight: (height: number) => void;
483
+ };
484
+ declare function useLayoutFooterStyle(): {
485
+ getLayoutFooterHeight: () => number;
486
+ setLayoutFooterHeight: (height: number) => void;
487
+ };
488
+
489
+ declare const useNamespace: (block: string) => {
490
+ b: (blockSuffix?: string) => string;
491
+ be: (blockSuffix?: string, element?: string) => string;
492
+ bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
493
+ bm: (blockSuffix?: string, modifier?: string) => string;
494
+ cssVar: (object: Record<string, string>) => Record<string, string>;
495
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
496
+ cssVarBlockName: (name: string) => string;
497
+ cssVarName: (name: string) => string;
498
+ e: (element?: string) => string;
499
+ em: (element?: string, modifier?: string) => string;
500
+ is: {
501
+ (name: string): string;
502
+ (name: string, state: boolean | undefined): string;
503
+ };
504
+ m: (modifier?: string) => string;
505
+ namespace: string;
506
+ };
507
+ type UseNamespaceReturn = ReturnType<typeof useNamespace>;
508
+
509
+ declare function usePriorityValue<T extends Record<string, any>, S extends Record<string, any>, K extends keyof T = keyof T>(key: K, props: T, state: Readonly<Ref<NoInfer<S>>> | undefined): ComputedRef<T[K]>;
510
+ declare function usePriorityValues<T extends Record<string, any>, S extends Ref<Record<string, any>> = Readonly<Ref<NoInfer<T>, NoInfer<T>>>>(props: T, state: S | undefined): { [K in keyof T]: ComputedRef<T[K]>; };
511
+ declare function useForwardPriorityValues<T extends Record<string, any>, S extends Ref<Record<string, any>> = Readonly<Ref<NoInfer<T>, NoInfer<T>>>>(props: T, state: S | undefined): ComputedRef<{ [K in keyof T]: T[K]; }>;
512
+
513
+ declare const SCROLL_FIXED_CLASS = "_scroll__fixed_";
514
+ declare function useScrollLock(): void;
515
+
516
+ type Locale = 'en-US' | 'zh-CN';
517
+
518
+ declare const useSimpleLocale: () => {
519
+ $t: vue.ComputedRef<(key: string) => string>;
520
+ currentLocale: vue.Ref<Locale, Locale>;
521
+ setSimpleLocale: (locale: Locale) => void;
522
+ };
523
+
524
+ declare function useSortable<T extends HTMLElement>(sortableContainer: T, options?: SortableOptions): {
525
+ initializeSortable: () => Promise<Sortable>;
526
+ };
527
+
528
+ export { SCROLL_FIXED_CLASS, useForwardPriorityValues, useIsMobile, useLayoutContentStyle, useLayoutFooterStyle, useLayoutHeaderStyle, useNamespace, usePriorityValue, usePriorityValues, useScrollLock, useSimpleLocale, useSortable };
529
+ export type { UseNamespaceReturn };
530
+
531
+
532
+ // ==========================================
533
+ // From @admin-kit/form-ui
534
+ // ==========================================
535
+ export { setupAdminForm } from './config';
536
+ export type { BaseFormComponentType, ExtendedFormApi, AdminFormProps, FormSchema as AdminFormSchema, } from './types';
537
+ export * from './use-admin-form';
34
538
  export * as z from 'zod';
35
539
 
36
- // Form Types
37
- export type BaseFormComponentType = string;
38
- export type ExtendedFormApi = any;
39
- export type AdminFormProps = any;
40
- export type AdminFormSchema = any;
540
+
541
+ // ==========================================
542
+ // From @admin-kit/layout-ui
543
+ // ==========================================
544
+ export type * from './admin-layout';
545
+ export { default as AdminLayout } from './admin-layout.vue';
546
+
547
+
548
+ // ==========================================
549
+ // From @admin-kit/menu-ui
550
+ // ==========================================
551
+ export { default as MenuBadge } from './components/menu-badge.vue';
552
+ export * from './components/normal-menu';
553
+ export { default as Menu } from './menu.vue';
554
+ export type * from './types';
555
+
556
+
557
+ // ==========================================
558
+ // From @admin-kit/popup-ui
559
+ // ==========================================
560
+ export * from './alert';
561
+ export * from './drawer';
562
+ export * from './modal';
563
+
564
+
565
+ // ==========================================
566
+ // From @admin-kit/tabs-ui
567
+ // ==========================================
568
+ export * from './components/widgets';
569
+ export { default as TabsView } from './tabs-view.vue';
570
+ export type { IContextMenuItem } from '@admin-kit/shadcn-ui';
571
+