@skyroc/scripts 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +508 -0
- package/dist/cli.mjs +78 -0
- package/dist/config-BKkdncJS.mjs +987 -0
- package/dist/index.mjs +14 -0
- package/package.json +83 -0
- package/templates/admin/.env +62 -0
- package/templates/admin/.env.prod +7 -0
- package/templates/admin/.env.test +7 -0
- package/templates/admin/.oxlintrc.json +6 -0
- package/templates/admin/README.md +508 -0
- package/templates/admin/index.html +14 -0
- package/templates/admin/package.json +105 -0
- package/templates/admin/public/favicon.svg +3 -0
- package/templates/admin/src/App.tsx +71 -0
- package/templates/admin/src/assets/audio/wechat-style-notification.wav +0 -0
- package/templates/admin/src/assets/imgs/skyroc.jpg +0 -0
- package/templates/admin/src/assets/svg-icon/activity.svg +1 -0
- package/templates/admin/src/assets/svg-icon/at-sign.svg +1 -0
- package/templates/admin/src/assets/svg-icon/avatar.svg +1 -0
- package/templates/admin/src/assets/svg-icon/banner.svg +1 -0
- package/templates/admin/src/assets/svg-icon/cast.svg +1 -0
- package/templates/admin/src/assets/svg-icon/chrome.svg +1 -0
- package/templates/admin/src/assets/svg-icon/copy.svg +1 -0
- package/templates/admin/src/assets/svg-icon/custom-icon.svg +1 -0
- package/templates/admin/src/assets/svg-icon/empty-data.svg +1 -0
- package/templates/admin/src/assets/svg-icon/error.svg +1 -0
- package/templates/admin/src/assets/svg-icon/expectation.svg +1 -0
- package/templates/admin/src/assets/svg-icon/heart.svg +1 -0
- package/templates/admin/src/assets/svg-icon/logo.svg +15 -0
- package/templates/admin/src/assets/svg-icon/network-error.svg +1 -0
- package/templates/admin/src/assets/svg-icon/no-icon.svg +1 -0
- package/templates/admin/src/assets/svg-icon/no-permission.svg +1 -0
- package/templates/admin/src/assets/svg-icon/not-found.svg +1 -0
- package/templates/admin/src/assets/svg-icon/service-error.svg +1 -0
- package/templates/admin/src/bootstrap.tsx +60 -0
- package/templates/admin/src/components/SkyrocAvatar.tsx +13 -0
- package/templates/admin/src/components/SystemLogo.tsx +7 -0
- package/templates/admin/src/config.ts +125 -0
- package/templates/admin/src/features/antd/AntdProvider.tsx +21 -0
- package/templates/admin/src/features/auth/components/UserAvatar.tsx +76 -0
- package/templates/admin/src/features/auth/use-auth-form-rules.ts +83 -0
- package/templates/admin/src/features/auth/use-auth.ts +96 -0
- package/templates/admin/src/features/auth/use-login.ts +72 -0
- package/templates/admin/src/features/effects/GlobalEffect.tsx +15 -0
- package/templates/admin/src/features/menus/dynamic-routes.ts +10 -0
- package/templates/admin/src/features/menus/extras.ts +3 -0
- package/templates/admin/src/features/menus/menu-category.ts +14 -0
- package/templates/admin/src/features/menus/menu-config.ts +5 -0
- package/templates/admin/src/features/router/RouterProvider.tsx +18 -0
- package/templates/admin/src/features/router/guard.ts +97 -0
- package/templates/admin/src/features/router/index.ts +52 -0
- package/templates/admin/src/features/router/routeTree.gen.ts +237 -0
- package/templates/admin/src/features/router/router-ref.ts +24 -0
- package/templates/admin/src/locales/antd.ts +8 -0
- package/templates/admin/src/locales/index.ts +22 -0
- package/templates/admin/src/locales/sync.ts +14 -0
- package/templates/admin/src/main.tsx +9 -0
- package/templates/admin/src/pages/(admin)/home/index.tsx +46 -0
- package/templates/admin/src/pages/(admin)/layout.tsx +44 -0
- package/templates/admin/src/pages/(auth)/login/index.tsx +102 -0
- package/templates/admin/src/pages/(auth)/login/layout.tsx +71 -0
- package/templates/admin/src/pages/(auth)/login-out.tsx +27 -0
- package/templates/admin/src/pages/(errors)/403.tsx +16 -0
- package/templates/admin/src/pages/(errors)/404.tsx +16 -0
- package/templates/admin/src/pages/(errors)/500.tsx +16 -0
- package/templates/admin/src/pages/__root.tsx +54 -0
- package/templates/admin/src/pages/error.tsx +19 -0
- package/templates/admin/src/pages/index.tsx +14 -0
- package/templates/admin/src/pages/loading.tsx +45 -0
- package/templates/admin/src/pages/not-found.tsx +9 -0
- package/templates/admin/src/plugins/app.tsx +47 -0
- package/templates/admin/src/plugins/assets.ts +4 -0
- package/templates/admin/src/plugins/index.ts +32 -0
- package/templates/admin/src/service/adapter.ts +63 -0
- package/templates/admin/src/service/api/auth/api.ts +31 -0
- package/templates/admin/src/service/api/auth/hooks.ts +28 -0
- package/templates/admin/src/service/api/auth/index.ts +10 -0
- package/templates/admin/src/service/api/auth/keys.ts +7 -0
- package/templates/admin/src/service/api/auth/urls.ts +7 -0
- package/templates/admin/src/service/api/index.ts +2 -0
- package/templates/admin/src/service/api/route/api.ts +7 -0
- package/templates/admin/src/service/api/route/hooks.ts +21 -0
- package/templates/admin/src/service/api/route/index.ts +10 -0
- package/templates/admin/src/service/api/route/keys.ts +3 -0
- package/templates/admin/src/service/api/route/urls.ts +5 -0
- package/templates/admin/src/service/queryClient.ts +13 -0
- package/templates/admin/src/service/request/index.ts +62 -0
- package/templates/admin/src/styles/scss/global.scss +1 -0
- package/templates/admin/src/styles/scss/scrollbar.scss +28 -0
- package/templates/admin/src/types/auto-imports.d.ts +186 -0
- package/templates/admin/src/types/global.d.ts +16 -0
- package/templates/admin/src/types/router.d.ts +14 -0
- package/templates/admin/src/types/storage.d.ts +17 -0
- package/templates/admin/src/types/vite-env.d.ts +117 -0
- package/templates/admin/src/utils/common.tsx +38 -0
- package/templates/admin/src/utils/icon.ts +9 -0
- package/templates/admin/src/utils/service.ts +75 -0
- package/templates/admin/src/utils/storage.ts +7 -0
- package/templates/admin/tsconfig.json +22 -0
- package/templates/admin/uno.config.ts +18 -0
- package/templates/admin/vite.config.ts +13 -0
- package/templates/admin-shell/i18n/atoms/lang.ts +20 -0
- package/templates/admin-shell/i18n/config/default.ts +11 -0
- package/templates/admin-shell/i18n/features/lang/LangEffect.tsx +25 -0
- package/templates/admin-shell/i18n/features/lang/LangSwitch.tsx +49 -0
- package/templates/admin-shell/i18n/hooks/use-lang.ts +47 -0
- package/templates/admin-shell/i18n/i18n.ts +116 -0
- package/templates/admin-shell/i18n/index.ts +23 -0
- package/templates/admin-shell/i18n/langs/en-us/common.json +49 -0
- package/templates/admin-shell/i18n/langs/en-us/datatable.json +8 -0
- package/templates/admin-shell/i18n/langs/en-us/dropdown.json +9 -0
- package/templates/admin-shell/i18n/langs/en-us/form.json +27 -0
- package/templates/admin-shell/i18n/langs/en-us/icon.json +13 -0
- package/templates/admin-shell/i18n/langs/en-us/notification.json +20 -0
- package/templates/admin-shell/i18n/langs/en-us/page.json +442 -0
- package/templates/admin-shell/i18n/langs/en-us/request.json +8 -0
- package/templates/admin-shell/i18n/langs/en-us/route.json +84 -0
- package/templates/admin-shell/i18n/langs/en-us/system.json +9 -0
- package/templates/admin-shell/i18n/langs/en-us/theme.json +173 -0
- package/templates/admin-shell/i18n/langs/index.ts +63 -0
- package/templates/admin-shell/i18n/langs/zh-cn/common.json +49 -0
- package/templates/admin-shell/i18n/langs/zh-cn/datatable.json +8 -0
- package/templates/admin-shell/i18n/langs/zh-cn/dropdown.json +9 -0
- package/templates/admin-shell/i18n/langs/zh-cn/form.json +27 -0
- package/templates/admin-shell/i18n/langs/zh-cn/icon.json +13 -0
- package/templates/admin-shell/i18n/langs/zh-cn/notification.json +20 -0
- package/templates/admin-shell/i18n/langs/zh-cn/page.json +442 -0
- package/templates/admin-shell/i18n/langs/zh-cn/request.json +8 -0
- package/templates/admin-shell/i18n/langs/zh-cn/route.json +84 -0
- package/templates/admin-shell/i18n/langs/zh-cn/system.json +9 -0
- package/templates/admin-shell/i18n/langs/zh-cn/theme.json +173 -0
- package/templates/admin-shell/i18n/types/i18n.ts +29 -0
- package/templates/admin-shell/i18n/types.ts +53 -0
- package/templates/admin-shell/i18n/utils/helpers.ts +18 -0
- package/templates/admin-shell/layouts/AdminLayout.tsx +161 -0
- package/templates/admin-shell/layouts/constant.ts +56 -0
- package/templates/admin-shell/layouts/context.tsx +101 -0
- package/templates/admin-shell/layouts/features/menus/MenuBadge.tsx +76 -0
- package/templates/admin-shell/layouts/features/menus/dynamic-routes.ts +146 -0
- package/templates/admin-shell/layouts/features/menus/menu-generator.tsx +444 -0
- package/templates/admin-shell/layouts/features/menus/menu-renderer.tsx +149 -0
- package/templates/admin-shell/layouts/features/menus/permissions.ts +28 -0
- package/templates/admin-shell/layouts/features/menus/use-menus.ts +98 -0
- package/templates/admin-shell/layouts/features/use-route.ts +30 -0
- package/templates/admin-shell/layouts/index.ts +44 -0
- package/templates/admin-shell/layouts/materials/index.ts +6 -0
- package/templates/admin-shell/layouts/materials/libs/admin-layout/index.module.css +63 -0
- package/templates/admin-shell/layouts/materials/libs/admin-layout/index.module.css.d.ts +18 -0
- package/templates/admin-shell/layouts/materials/libs/admin-layout/index.tsx +238 -0
- package/templates/admin-shell/layouts/materials/libs/admin-layout/shared.ts +67 -0
- package/templates/admin-shell/layouts/materials/libs/page-tab/ButtonTab.tsx +44 -0
- package/templates/admin-shell/layouts/materials/libs/page-tab/ChromeTab.tsx +54 -0
- package/templates/admin-shell/layouts/materials/libs/page-tab/ChromeTabBg.tsx +30 -0
- package/templates/admin-shell/layouts/materials/libs/page-tab/SliderTab.tsx +44 -0
- package/templates/admin-shell/layouts/materials/libs/page-tab/SvgClose.tsx +51 -0
- package/templates/admin-shell/layouts/materials/libs/page-tab/hook.ts +34 -0
- package/templates/admin-shell/layouts/materials/libs/page-tab/index.module.css +120 -0
- package/templates/admin-shell/layouts/materials/libs/page-tab/index.module.css.d.ts +18 -0
- package/templates/admin-shell/layouts/materials/libs/page-tab/index.tsx +76 -0
- package/templates/admin-shell/layouts/materials/libs/page-tab/shared.ts +32 -0
- package/templates/admin-shell/layouts/materials/types/index.ts +322 -0
- package/templates/admin-shell/layouts/modules/AdminContent.tsx +285 -0
- package/templates/admin-shell/layouts/modules/AdminFooter.tsx +13 -0
- package/templates/admin-shell/layouts/modules/AdminLogo.tsx +28 -0
- package/templates/admin-shell/layouts/modules/AdminSider.tsx +50 -0
- package/templates/admin-shell/layouts/modules/admin-header/AdminHeader.tsx +132 -0
- package/templates/admin-shell/layouts/modules/admin-header/components/Breadcrumb.tsx +62 -0
- package/templates/admin-shell/layouts/modules/admin-header/components/ThemeButton.tsx +24 -0
- package/templates/admin-shell/layouts/modules/admin-menu/AdminMenu.tsx +37 -0
- package/templates/admin-shell/layouts/modules/admin-menu/components/FirstLevelMenu.tsx +156 -0
- package/templates/admin-shell/layouts/modules/admin-menu/components/HorizontalMenu.tsx +88 -0
- package/templates/admin-shell/layouts/modules/admin-menu/components/MenuPortal.tsx +28 -0
- package/templates/admin-shell/layouts/modules/admin-menu/components/VerticalMenu.tsx +123 -0
- package/templates/admin-shell/layouts/modules/admin-menu/enum.ts +47 -0
- package/templates/admin-shell/layouts/modules/admin-menu/modules/Horizontal.tsx +22 -0
- package/templates/admin-shell/layouts/modules/admin-menu/modules/TopHybridHeaderFirst.tsx +15 -0
- package/templates/admin-shell/layouts/modules/admin-menu/modules/TopHybridSidebarFirst.tsx +18 -0
- package/templates/admin-shell/layouts/modules/admin-menu/modules/Vertical.tsx +14 -0
- package/templates/admin-shell/layouts/modules/admin-menu/modules/VerticalHybridHeaderFirst.tsx +18 -0
- package/templates/admin-shell/layouts/modules/admin-menu/modules/VerticalMix.tsx +132 -0
- package/templates/admin-shell/layouts/modules/admin-search/AdminSearch.tsx +36 -0
- package/templates/admin-shell/layouts/modules/admin-search/components/SearchFooter.tsx +38 -0
- package/templates/admin-shell/layouts/modules/admin-search/components/SearchModal.tsx +171 -0
- package/templates/admin-shell/layouts/modules/admin-search/components/SearchResult.tsx +43 -0
- package/templates/admin-shell/layouts/modules/admin-tab/AdminTab.tsx +125 -0
- package/templates/admin-shell/layouts/modules/admin-tab/components/TabContextMenu.tsx +107 -0
- package/templates/admin-shell/layouts/modules/admin-tab/hooks/useTabScroll.ts +86 -0
- package/templates/admin-shell/layouts/modules/shared/logo.ts +42 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/ThemeDrawer.tsx +68 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/components/AnimatedCollapse.tsx +36 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/components/AnimatedItem.tsx +35 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/components/LayoutModeCard.tsx +110 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/components/SettingItem.tsx +31 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/ConfigOperation.tsx +53 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/appearance/CustomPicker.tsx +105 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/appearance/ThemeColor.tsx +58 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/appearance/ThemeSchema.tsx +42 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/appearance/ThemeToken.tsx +44 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/appearance/index.tsx +23 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/general/GlobalSettings.tsx +57 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/general/ThemeGeneral.tsx +20 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/general/WatermarkSettings.tsx +103 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/layout/ContentSettings.tsx +100 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/layout/FooterSettings.tsx +71 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/layout/HeaderSettings.tsx +63 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/layout/LayoutMode.tsx +73 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/layout/SiderSettings.tsx +124 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/layout/TabSettings.tsx +95 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/layout/ThemeLayout.tsx +32 -0
- package/templates/admin-shell/layouts/modules/theme-drawer/modules/preset/ThemePreset.tsx +132 -0
- package/templates/admin-shell/layouts/options.tsx +79 -0
- package/templates/admin-shell/layouts/setup.ts +102 -0
- package/templates/admin-shell/layouts/state/AdminEffect.tsx +56 -0
- package/templates/admin-shell/layouts/state/AdminTabEffect.tsx +28 -0
- package/templates/admin-shell/layouts/state/index.ts +3 -0
- package/templates/admin-shell/layouts/state/menus/MenuToggler.tsx +53 -0
- package/templates/admin-shell/layouts/state/menus/use-admin-menu-badges.ts +46 -0
- package/templates/admin-shell/layouts/state/menus/use-admin-menus.tsx +164 -0
- package/templates/admin-shell/layouts/state/tabs/index.ts +1 -0
- package/templates/admin-shell/layouts/state/tabs/shared.tsx +148 -0
- package/templates/admin-shell/layouts/state/tabs/use-admin-tab.ts +377 -0
- package/templates/admin-shell/layouts/state/use-admin-state.ts +118 -0
- package/templates/admin-shell/layouts/types/router.d.ts +10 -0
- package/templates/admin-shell/layouts/types/storage.ts +18 -0
- package/templates/admin-shell/notification/NotificationButton.tsx +91 -0
- package/templates/admin-shell/notification/NotificationContext.ts +8 -0
- package/templates/admin-shell/notification/NotificationPanel.tsx +194 -0
- package/templates/admin-shell/notification/NotificationProvider.tsx +59 -0
- package/templates/admin-shell/notification/index.ts +12 -0
- package/templates/admin-shell/notification/mock.ts +59 -0
- package/templates/admin-shell/notification/notification-store.ts +438 -0
- package/templates/admin-shell/notification/notification.css +60 -0
- package/templates/admin-shell/notification/types.ts +104 -0
- package/templates/admin-shell/notification/use-notification.ts +51 -0
- package/templates/admin-shell/notification/useNotificationContext.ts +14 -0
- package/templates/admin-shell/runtime/app-update.ts +156 -0
- package/templates/admin-shell/runtime/dayjs.ts +20 -0
- package/templates/admin-shell/runtime/iconify.ts +17 -0
- package/templates/admin-shell/runtime/index.ts +10 -0
- package/templates/admin-shell/runtime/nprogress.ts +25 -0
- package/templates/admin-shell/runtime/plugins.ts +62 -0
- package/templates/admin-shell/styles/global.css +54 -0
- package/templates/admin-shell/styles/nprogress.css +85 -0
- package/templates/admin-shell/styles/reset.css +378 -0
- package/templates/admin-shell/theme/antd/AntdProvider.tsx +106 -0
- package/templates/admin-shell/theme/antd/index.ts +23 -0
- package/templates/admin-shell/theme/antd/shared.ts +80 -0
- package/templates/admin-shell/theme/antd/ui.ts +250 -0
- package/templates/admin-shell/theme/antd-algorithm/algorithm/dark/colors.ts +99 -0
- package/templates/admin-shell/theme/antd-algorithm/algorithm/dark/index.ts +87 -0
- package/templates/admin-shell/theme/antd-algorithm/algorithm/default/colors.ts +91 -0
- package/templates/admin-shell/theme/antd-algorithm/algorithm/default/index.ts +77 -0
- package/templates/admin-shell/theme/antd-algorithm/index.ts +80 -0
- package/templates/admin-shell/theme/antd-algorithm/seed/index.ts +41 -0
- package/templates/admin-shell/theme/antd-algorithm/shared/colorAlgorithm.ts +10 -0
- package/templates/admin-shell/theme/antd-algorithm/shared/genColorMapToken.ts +165 -0
- package/templates/admin-shell/theme/antd-algorithm/shared/genCommonMapToken.ts +23 -0
- package/templates/admin-shell/theme/antd-algorithm/shared/genControlHeight.ts +14 -0
- package/templates/admin-shell/theme/antd-algorithm/shared/genFontMapToken.ts +274 -0
- package/templates/admin-shell/theme/antd-algorithm/shared/genRadiusMapToken.ts +139 -0
- package/templates/admin-shell/theme/antd-algorithm/shared/genSizeMapToken.ts +114 -0
- package/templates/admin-shell/theme/antd-algorithm/types/index.ts +20 -0
- package/templates/admin-shell/theme/components/ThemeEffect.tsx +55 -0
- package/templates/admin-shell/theme/components/ThemeSchemaSegmented.tsx +27 -0
- package/templates/admin-shell/theme/components/ThemeSchemaSwitch.tsx +77 -0
- package/templates/admin-shell/theme/components/shared.ts +5 -0
- package/templates/admin-shell/theme/config/default.ts +108 -0
- package/templates/admin-shell/theme/config/index.ts +1 -0
- package/templates/admin-shell/theme/hooks/index.ts +2 -0
- package/templates/admin-shell/theme/hooks/use-theme.ts +244 -0
- package/templates/admin-shell/theme/index.ts +78 -0
- package/templates/admin-shell/theme/presets/azir.json +39 -0
- package/templates/admin-shell/theme/presets/compact.json +38 -0
- package/templates/admin-shell/theme/presets/dark.json +93 -0
- package/templates/admin-shell/theme/presets/default.json +95 -0
- package/templates/admin-shell/theme/presets/index.ts +29 -0
- package/templates/admin-shell/theme/presets/shadcn.json +99 -0
- package/templates/admin-shell/theme/setup.ts +115 -0
- package/templates/admin-shell/theme/types/index.ts +27 -0
- package/templates/admin-shell/theme/types/theme.d.ts +316 -0
- package/templates/admin-shell/theme/utils/dark-mode.ts +46 -0
- package/templates/admin-shell/theme/utils/filters.ts +20 -0
- package/templates/admin-shell/theme/utils/index.ts +3 -0
- package/templates/admin-shell/theme/utils/settings.ts +43 -0
- package/templates/admin-shell/types/api/auth.d.ts +148 -0
- package/templates/admin-shell/types/api/common.d.ts +54 -0
- package/templates/admin-shell/types/api/route.d.ts +104 -0
- package/templates/admin-shell/types/api/service.d.ts +51 -0
- package/templates/admin-shell/types/api/system-manage.d.ts +160 -0
- package/templates/admin-shell/types/app/common.d.ts +31 -0
- package/templates/admin-shell/types/app/global.d.ts +71 -0
- package/templates/admin-shell/types/app/menu.d.ts +57 -0
- package/templates/admin-shell/types/app/router.d.ts +201 -0
- package/templates/admin-shell/types/app/storage.d.ts +10 -0
- package/templates/admin-shell/types/app/union-key.d.ts +156 -0
- package/templates/admin-shell/types/locales/i18n.d.ts +135 -0
- package/templates/admin-shell/ui/antd/components/AppTree.tsx +62 -0
- package/templates/admin-shell/ui/antd/components/BeyondHiding.tsx +42 -0
- package/templates/admin-shell/ui/antd/components/ButtonIcon.tsx +123 -0
- package/templates/admin-shell/ui/antd/components/ButtonLink.tsx +30 -0
- package/templates/admin-shell/ui/antd/components/ErrorBoundary.tsx +45 -0
- package/templates/admin-shell/ui/antd/components/ExceptionBase.tsx +69 -0
- package/templates/admin-shell/ui/antd/components/FullScreen.tsx +33 -0
- package/templates/admin-shell/ui/antd/components/PinToggler.tsx +35 -0
- package/templates/admin-shell/ui/antd/components/ReloadButton.tsx +20 -0
- package/templates/admin-shell/ui/antd/components/index.ts +12 -0
- package/templates/admin-shell/ui/antd/components/styles/button-icon-animations.css +246 -0
- package/templates/admin-shell/ui/antd/index.ts +1 -0
- package/templates/admin-shell/ui/antd/styles.d.ts +1 -0
- package/templates/admin-shell/ui/compose/animate-feature.ts +5 -0
- package/templates/admin-shell/ui/compose/components/BetterScroll.tsx +51 -0
- package/templates/admin-shell/ui/compose/components/DarkModeContainer.tsx +22 -0
- package/templates/admin-shell/ui/compose/components/FlipText.tsx +41 -0
- package/templates/admin-shell/ui/compose/components/I18nLabel.tsx +18 -0
- package/templates/admin-shell/ui/compose/components/LazyAnimate.tsx +10 -0
- package/templates/admin-shell/ui/compose/components/LookForward.tsx +24 -0
- package/templates/admin-shell/ui/compose/components/NumberTicker.tsx +105 -0
- package/templates/admin-shell/ui/compose/components/Portal.tsx +74 -0
- package/templates/admin-shell/ui/compose/components/SvgIcon.tsx +39 -0
- package/templates/admin-shell/ui/compose/components/TypingAnimation.tsx +83 -0
- package/templates/admin-shell/ui/compose/components/WaveBg.tsx +56 -0
- package/templates/admin-shell/ui/compose/components/index.ts +11 -0
- package/templates/admin-shell/ui/compose/index.ts +2 -0
- package/templates/admin-shell/ui/compose/table/DragContent.tsx +239 -0
- package/templates/admin-shell/ui/compose/table/TableHeaderOperation.tsx +210 -0
- package/templates/admin-shell/ui/compose/table/hooks.ts +196 -0
- package/templates/admin-shell/ui/compose/table/index.ts +16 -0
- package/templates/admin-shell/ui/compose/table/types.ts +244 -0
- package/templates/admin-shell/ui/compose/table/use-table-operate.ts +136 -0
- package/templates/admin-shell/ui/compose/table/use-table-scroll.ts +49 -0
- package/templates/admin-shell/ui/compose/table/use-table.ts +303 -0
- package/templates/admin.meta.json +756 -0
|
@@ -0,0 +1,442 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": {
|
|
3
|
+
"devDep": "开发依赖",
|
|
4
|
+
"introduction": "SkyrocAdmin 是一个面向真实后台业务的 React 管理端示例,当前技术栈以 React 19、TypeScript、Vite、TanStack Router、TanStack Query、Jotai、Ant Design 6 和 UnoCSS 为核心。项目将路由、权限、主题、国际化、请求、通知、布局和全局样式拆分到 @skyroc 工作区包,由 apps/admin-example 负责应用编排和示例页面。它适合作为 Skyroc 管理端架构、组件组合和工程化约定的参考实现。",
|
|
5
|
+
"prdDep": "生产依赖",
|
|
6
|
+
"projectInfo": {
|
|
7
|
+
"githubLink": "Github 地址",
|
|
8
|
+
"latestBuildTime": "最新构建时间",
|
|
9
|
+
"previewLink": "预览地址",
|
|
10
|
+
"title": "项目信息",
|
|
11
|
+
"version": "版本"
|
|
12
|
+
},
|
|
13
|
+
"title": "关于"
|
|
14
|
+
},
|
|
15
|
+
"function": {
|
|
16
|
+
"multiTab": {
|
|
17
|
+
"backTab": "返回 function_tab",
|
|
18
|
+
"routeParam": "路由参数"
|
|
19
|
+
},
|
|
20
|
+
"request": {
|
|
21
|
+
"repeatedError": "重复请求错误",
|
|
22
|
+
"repeatedErrorMsg1": "自定义请求错误 1",
|
|
23
|
+
"repeatedErrorMsg2": "自定义请求错误 2",
|
|
24
|
+
"repeatedErrorOccurOnce": "重复请求错误只出现一次"
|
|
25
|
+
},
|
|
26
|
+
"tab": {
|
|
27
|
+
"tabOperate": {
|
|
28
|
+
"addMultiTab": "添加多标签页",
|
|
29
|
+
"addMultiTabDesc1": "跳转到多标签页页面",
|
|
30
|
+
"addMultiTabDesc2": "跳转到多标签页页面(带有查询参数)",
|
|
31
|
+
"addTab": "添加标签页",
|
|
32
|
+
"addTabDesc": "跳转到关于页面",
|
|
33
|
+
"closeAboutTab": "关闭\"关于\"标签页",
|
|
34
|
+
"closeCurrentTab": "关闭当前标签页",
|
|
35
|
+
"closeTab": "关闭标签页",
|
|
36
|
+
"title": "标签页操作"
|
|
37
|
+
},
|
|
38
|
+
"tabTitle": {
|
|
39
|
+
"change": "修改",
|
|
40
|
+
"changeTitle": "修改标题",
|
|
41
|
+
"reset": "重置",
|
|
42
|
+
"resetTitle": "重置标题",
|
|
43
|
+
"title": "标签页标题"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"toggleAuth": {
|
|
47
|
+
"adminOrUserVisible": "管理员和用户可见",
|
|
48
|
+
"adminVisible": "管理员可见",
|
|
49
|
+
"authHook": "权限钩子函数 `hasAuth`",
|
|
50
|
+
"superAdminVisible": "超级管理员可见",
|
|
51
|
+
"toggleAccount": "切换账号"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"home": {
|
|
55
|
+
"creativity": "创意",
|
|
56
|
+
"dealCount": "成交量",
|
|
57
|
+
"downloadCount": "下载量",
|
|
58
|
+
"entertainment": "娱乐",
|
|
59
|
+
"greeting": "早安,{{userName}}, 今天又是充满活力的一天!",
|
|
60
|
+
"message": "消息",
|
|
61
|
+
"projectCount": "项目数",
|
|
62
|
+
"projectNews": {
|
|
63
|
+
"desc1": "Skyroc 在2021年5月28日创建了开源项目 skyroc-admin!",
|
|
64
|
+
"desc2": "Yanbowe 向 skyroc-admin 提交了一个bug,多标签栏不会自适应。",
|
|
65
|
+
"desc3": "Skyroc 准备为 skyroc-admin 的发布做充分的准备工作!",
|
|
66
|
+
"desc4": "Skyroc 正在忙于为skyroc-admin写项目说明文档!",
|
|
67
|
+
"desc5": "Skyroc 刚才把工作台页面随便写了一些,凑合能看了!",
|
|
68
|
+
"moreNews": "更多动态",
|
|
69
|
+
"title": "项目动态"
|
|
70
|
+
},
|
|
71
|
+
"registerCount": "注册量",
|
|
72
|
+
"rest": "休息",
|
|
73
|
+
"schedule": "作息安排",
|
|
74
|
+
"study": "学习",
|
|
75
|
+
"todo": "待办",
|
|
76
|
+
"turnover": "成交额",
|
|
77
|
+
"visitCount": "访问量",
|
|
78
|
+
"weatherDesc": "今日多云转晴,20℃ - 25℃!",
|
|
79
|
+
"work": "工作"
|
|
80
|
+
},
|
|
81
|
+
"login": {
|
|
82
|
+
"bindWeChat": {
|
|
83
|
+
"title": "绑定微信"
|
|
84
|
+
},
|
|
85
|
+
"codeLogin": {
|
|
86
|
+
"getCode": "获取验证码",
|
|
87
|
+
"imageCodePlaceholder": "请输入图片验证码",
|
|
88
|
+
"reGetCode": "{{time}}秒后重新获取",
|
|
89
|
+
"sendCodeSuccess": "验证码发送成功",
|
|
90
|
+
"title": "验证码登录"
|
|
91
|
+
},
|
|
92
|
+
"common": {
|
|
93
|
+
"back": "返回",
|
|
94
|
+
"codeLogin": "验证码登录",
|
|
95
|
+
"codePlaceholder": "请输入验证码",
|
|
96
|
+
"confirm": "确定",
|
|
97
|
+
"confirmPasswordPlaceholder": "请再次输入密码",
|
|
98
|
+
"loginOrRegister": "登录 / 注册",
|
|
99
|
+
"loginSuccess": "登录成功",
|
|
100
|
+
"passwordPlaceholder": "请输入密码",
|
|
101
|
+
"phonePlaceholder": "请输入手机号",
|
|
102
|
+
"userNamePlaceholder": "请输入用户名",
|
|
103
|
+
"validateSuccess": "验证成功",
|
|
104
|
+
"welcomeBack": "欢迎回来,{{userName}} !"
|
|
105
|
+
},
|
|
106
|
+
"enterprise": {
|
|
107
|
+
"accountLabel": "账号",
|
|
108
|
+
"accountPlaceholder": "请输入用户名、手机号或邮箱",
|
|
109
|
+
"accountRequired": "请输入账号",
|
|
110
|
+
"adminHint": "账号由管理员创建,如需帮助请联系管理员",
|
|
111
|
+
"brandDescription": "集中查看组织、权限、租户与系统状态,处理日常管理工作。",
|
|
112
|
+
"brandFeatureAudit": "关键操作可追溯",
|
|
113
|
+
"brandFeaturePermission": "统一组织与权限",
|
|
114
|
+
"brandFeatureSecure": "安全可靠的管理入口",
|
|
115
|
+
"brandTitle": "Skyroc 管理工作台",
|
|
116
|
+
"captchaAlt": "图形验证码",
|
|
117
|
+
"captchaLabel": "图形验证码",
|
|
118
|
+
"captchaLoadError": "加载失败,点击重试",
|
|
119
|
+
"captchaPlaceholder": "请输入图中字符",
|
|
120
|
+
"captchaRefresh": "换一张验证码",
|
|
121
|
+
"captchaRefreshShort": "换一张",
|
|
122
|
+
"captchaRequired": "请输入图形验证码",
|
|
123
|
+
"codeChannelLabel": "验证码登录方式",
|
|
124
|
+
"codeLogin": "使用验证码登录",
|
|
125
|
+
"codeNotReceived": "没收到?请确认它已绑定到系统账号,或联系管理员",
|
|
126
|
+
"codeSentEmail": "若该邮箱已注册,验证码已发送",
|
|
127
|
+
"codeSentPhone": "若该手机号已注册,验证码已发送",
|
|
128
|
+
"codeSubtitle": "使用手机号或邮箱验证码登录",
|
|
129
|
+
"codeTitle": "验证码登录",
|
|
130
|
+
"emailCode": "邮箱验证码",
|
|
131
|
+
"emailLabel": "邮箱",
|
|
132
|
+
"emailPlaceholder": "请输入邮箱",
|
|
133
|
+
"forgetPassword": "忘记密码?",
|
|
134
|
+
"getCode": "获取验证码",
|
|
135
|
+
"keepSignedIn": "保持登录",
|
|
136
|
+
"previewActivity": "访问趋势",
|
|
137
|
+
"previewEmpty": "暂无通知",
|
|
138
|
+
"previewEventConfig": "系统参数已更新",
|
|
139
|
+
"previewEventMember": "新成员加入研发中心",
|
|
140
|
+
"previewEventRole": "管理员角色权限已调整",
|
|
141
|
+
"previewEvents": "最新动态",
|
|
142
|
+
"previewGreeting": "夜深了,疯狂的狮子Li",
|
|
143
|
+
"previewGreetingHint": "先处理重要事项,再继续今天的工作。",
|
|
144
|
+
"previewHome": "首页",
|
|
145
|
+
"previewLatest": "最新通知",
|
|
146
|
+
"previewLatestHint": "与你相关的最近消息",
|
|
147
|
+
"previewMembers": "团队成员",
|
|
148
|
+
"previewOverview": "运行概览",
|
|
149
|
+
"previewMonitor": "系统监控",
|
|
150
|
+
"previewOrganization": "组织与用户",
|
|
151
|
+
"previewPending": "待处理事项",
|
|
152
|
+
"previewPermission": "角色权限",
|
|
153
|
+
"previewRole": "我的角色",
|
|
154
|
+
"previewRoles": "权限角色",
|
|
155
|
+
"previewSessions": "在线会话",
|
|
156
|
+
"previewShortcuts": "常用功能",
|
|
157
|
+
"previewShortcutsHint": "快速进入日常管理模块",
|
|
158
|
+
"previewTenant": "租户管理",
|
|
159
|
+
"previewUnread": "未读通知",
|
|
160
|
+
"previewUpdated": "项变更",
|
|
161
|
+
"previewWorkspace": "Skyroc Workspace",
|
|
162
|
+
"login": "登录",
|
|
163
|
+
"notConfigured": "该功能尚未配置,请联系管理员",
|
|
164
|
+
"otherLogin": "其他方式登录",
|
|
165
|
+
"passwordLogin": "使用密码登录",
|
|
166
|
+
"passwordLabel": "密码",
|
|
167
|
+
"passwordPlaceholder": "请输入密码",
|
|
168
|
+
"phoneCode": "手机验证码",
|
|
169
|
+
"phoneLabel": "手机号",
|
|
170
|
+
"phonePlaceholder": "请输入手机号",
|
|
171
|
+
"privacy": "隐私政策",
|
|
172
|
+
"socialFeishu": "飞书登录",
|
|
173
|
+
"socialWechat": "微信登录",
|
|
174
|
+
"subtitle": "使用企业账号继续",
|
|
175
|
+
"tenantLabel": "所属企业",
|
|
176
|
+
"tenantPlaceholder": "请选择所属企业",
|
|
177
|
+
"terms": "服务条款",
|
|
178
|
+
"title": "欢迎登录 Skyroc",
|
|
179
|
+
"verificationLabel": "验证码",
|
|
180
|
+
"verificationPlaceholder": "请输入 6 位验证码",
|
|
181
|
+
"verificationRequired": "请输入验证码"
|
|
182
|
+
},
|
|
183
|
+
"pwdLogin": {
|
|
184
|
+
"admin": "管理员",
|
|
185
|
+
"forgetPassword": "忘记密码?",
|
|
186
|
+
"otherAccountLogin": "其他账号登录",
|
|
187
|
+
"otherLoginMode": "其他登录方式",
|
|
188
|
+
"register": "注册账号",
|
|
189
|
+
"rememberMe": "记住我",
|
|
190
|
+
"superAdmin": "超级管理员",
|
|
191
|
+
"title": "密码登录",
|
|
192
|
+
"user": "普通用户"
|
|
193
|
+
},
|
|
194
|
+
"register": {
|
|
195
|
+
"agreement": "我已经仔细阅读并接受",
|
|
196
|
+
"policy": "《隐私权政策》",
|
|
197
|
+
"protocol": "《用户协议》",
|
|
198
|
+
"title": "注册账号"
|
|
199
|
+
},
|
|
200
|
+
"resetPwd": {
|
|
201
|
+
"title": "重置密码"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"userCenter": {
|
|
205
|
+
"activity": {
|
|
206
|
+
"currentLogin": "当前会话已通过访问令牌校验",
|
|
207
|
+
"permissionSynced": "菜单与按钮权限已同步",
|
|
208
|
+
"profileUpdated": "个人资料示例信息已载入",
|
|
209
|
+
"securityChecked": "账号安全状态检查完成",
|
|
210
|
+
"title": "最近操作"
|
|
211
|
+
},
|
|
212
|
+
"emptyUserName": "未命名用户",
|
|
213
|
+
"messages": {
|
|
214
|
+
"profileSaved": "个人资料已保存",
|
|
215
|
+
"securityActionTodo": "当前为示例操作,实际项目可接入后端接口"
|
|
216
|
+
},
|
|
217
|
+
"preferences": {
|
|
218
|
+
"fullContent": "内容全屏",
|
|
219
|
+
"fullContentDesc": "隐藏导航区域,专注当前页面",
|
|
220
|
+
"language": "界面语言",
|
|
221
|
+
"languageDesc": "切换后台系统展示语言",
|
|
222
|
+
"openThemeConfig": "主题配置",
|
|
223
|
+
"siderCollapse": "折叠菜单",
|
|
224
|
+
"siderCollapseDesc": "控制左侧菜单展开状态",
|
|
225
|
+
"themeAuto": "跟随系统",
|
|
226
|
+
"themeDark": "暗黑",
|
|
227
|
+
"themeLight": "明亮",
|
|
228
|
+
"themeScheme": "主题模式",
|
|
229
|
+
"themeSchemeDesc": "控制明亮、暗黑或系统模式",
|
|
230
|
+
"title": "偏好设置"
|
|
231
|
+
},
|
|
232
|
+
"profile": {
|
|
233
|
+
"accountId": "账号 ID",
|
|
234
|
+
"buttonPermissionCount": "按钮权限数",
|
|
235
|
+
"roleCount": "角色数量",
|
|
236
|
+
"roles": "角色权限",
|
|
237
|
+
"title": "身份概览"
|
|
238
|
+
},
|
|
239
|
+
"profileForm": {
|
|
240
|
+
"displayName": "显示名称",
|
|
241
|
+
"displayNamePlaceholder": "请输入显示名称",
|
|
242
|
+
"email": "邮箱",
|
|
243
|
+
"emailPlaceholder": "请输入邮箱",
|
|
244
|
+
"gender": "性别",
|
|
245
|
+
"genderFemale": "女",
|
|
246
|
+
"genderMale": "男",
|
|
247
|
+
"genderPlaceholder": "请选择性别",
|
|
248
|
+
"introduction": "个人简介",
|
|
249
|
+
"introductionPlaceholder": "补充你的岗位、职责或个人说明",
|
|
250
|
+
"phone": "手机号",
|
|
251
|
+
"phonePlaceholder": "请输入手机号",
|
|
252
|
+
"saveProfile": "保存资料",
|
|
253
|
+
"title": "基础资料"
|
|
254
|
+
},
|
|
255
|
+
"security": {
|
|
256
|
+
"device": {
|
|
257
|
+
"action": "查看",
|
|
258
|
+
"desc": "查看当前账号最近登录设备",
|
|
259
|
+
"title": "登录设备"
|
|
260
|
+
},
|
|
261
|
+
"email": {
|
|
262
|
+
"action": "换绑",
|
|
263
|
+
"desc": "用于接收账号通知与安全提醒",
|
|
264
|
+
"title": "安全邮箱"
|
|
265
|
+
},
|
|
266
|
+
"password": {
|
|
267
|
+
"action": "修改",
|
|
268
|
+
"desc": "建议定期更新登录密码",
|
|
269
|
+
"title": "登录密码"
|
|
270
|
+
},
|
|
271
|
+
"phone": {
|
|
272
|
+
"action": "换绑",
|
|
273
|
+
"desc": "用于登录验证与找回账号",
|
|
274
|
+
"title": "安全手机"
|
|
275
|
+
},
|
|
276
|
+
"title": "账号安全"
|
|
277
|
+
},
|
|
278
|
+
"status": {
|
|
279
|
+
"bound": "已绑定",
|
|
280
|
+
"enabled": "已启用",
|
|
281
|
+
"online": "在线",
|
|
282
|
+
"trusted": "可信"
|
|
283
|
+
},
|
|
284
|
+
"subtitle": "管理你的基础资料、账号安全和后台使用偏好"
|
|
285
|
+
},
|
|
286
|
+
"manage": {
|
|
287
|
+
"common": {
|
|
288
|
+
"status": {
|
|
289
|
+
"disable": "禁用",
|
|
290
|
+
"enable": "启用"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"menu": {
|
|
294
|
+
"activeMenu": "高亮的菜单",
|
|
295
|
+
"addChildMenu": "新增子菜单",
|
|
296
|
+
"addMenu": "新增菜单",
|
|
297
|
+
"badge": "徽标",
|
|
298
|
+
"badgeShowZero": "零值显示",
|
|
299
|
+
"badgeType": {
|
|
300
|
+
"dot": "圆点",
|
|
301
|
+
"normal": "内容"
|
|
302
|
+
},
|
|
303
|
+
"badgeTypeTitle": "徽标类型",
|
|
304
|
+
"badgeValue": "徽标值",
|
|
305
|
+
"badgeValueKey": "徽标值 Key",
|
|
306
|
+
"badgeVariant": {
|
|
307
|
+
"default": "默认",
|
|
308
|
+
"error": "错误",
|
|
309
|
+
"info": "信息",
|
|
310
|
+
"primary": "主色",
|
|
311
|
+
"success": "成功",
|
|
312
|
+
"warning": "警告"
|
|
313
|
+
},
|
|
314
|
+
"badgeVariantTitle": "徽标颜色",
|
|
315
|
+
"accessConfig": "访问配置",
|
|
316
|
+
"behaviorConfig": "导航行为",
|
|
317
|
+
"constant": "常量路由",
|
|
318
|
+
"editMenu": "编辑菜单",
|
|
319
|
+
"extra": "扩展组件",
|
|
320
|
+
"fixedIndexInTab": "固定在页签中的序号",
|
|
321
|
+
"form": {
|
|
322
|
+
"activeMenu": "请选择需要高亮的菜单路径",
|
|
323
|
+
"badgeType": "请选择徽标类型",
|
|
324
|
+
"badgeValue": "请输入静态徽标值",
|
|
325
|
+
"badgeValueKey": "请输入动态徽标值 Key",
|
|
326
|
+
"badgeVariant": "请选择徽标颜色",
|
|
327
|
+
"extra": "请选择扩展组件",
|
|
328
|
+
"fixedIndexInTab": "请输入固定在页签中的序号",
|
|
329
|
+
"hideInMenu": "请选择是否隐藏菜单",
|
|
330
|
+
"home": "请选择首页",
|
|
331
|
+
"href": "请输入外链",
|
|
332
|
+
"i18nKey": "请输入国际化 key",
|
|
333
|
+
"icon": "请输入 Iconify 图标",
|
|
334
|
+
"id": "请输入后端路由 ID",
|
|
335
|
+
"keepAlive": "请选择是否缓存路由",
|
|
336
|
+
"layout": "请选择菜单分类",
|
|
337
|
+
"localIcon": "请选择本地图标",
|
|
338
|
+
"menuName": "请输入菜单标题",
|
|
339
|
+
"menuType": "请选择菜单类型",
|
|
340
|
+
"multiTab": "请选择是否支持多标签",
|
|
341
|
+
"order": "请输入排序",
|
|
342
|
+
"parent": "请选择父级路由",
|
|
343
|
+
"queryKey": "请输入路由参数 Key",
|
|
344
|
+
"queryValue": "请输入路由参数 Value",
|
|
345
|
+
"redirect": "请输入重定向地址",
|
|
346
|
+
"roles": "请输入可访问角色",
|
|
347
|
+
"routeName": "请输入路由名称",
|
|
348
|
+
"routePath": "请输入路由路径",
|
|
349
|
+
"title": "请输入菜单标题",
|
|
350
|
+
"url": "请输入内嵌页 URL"
|
|
351
|
+
},
|
|
352
|
+
"handle": "菜单 Handle",
|
|
353
|
+
"hideInMenu": "隐藏菜单",
|
|
354
|
+
"home": "首页",
|
|
355
|
+
"href": "外链",
|
|
356
|
+
"i18nKey": "国际化 key",
|
|
357
|
+
"icon": "图标",
|
|
358
|
+
"id": "ID",
|
|
359
|
+
"keepAlive": "缓存路由",
|
|
360
|
+
"layout": "菜单分类",
|
|
361
|
+
"localIcon": "本地图标",
|
|
362
|
+
"menuConfig": "菜单配置",
|
|
363
|
+
"menuInfo": "菜单",
|
|
364
|
+
"menuName": "菜单标题",
|
|
365
|
+
"menuType": "菜单类型",
|
|
366
|
+
"multiTab": "支持多页签",
|
|
367
|
+
"notConfigured": "未配置",
|
|
368
|
+
"navigation": "导航行为",
|
|
369
|
+
"order": "排序",
|
|
370
|
+
"parent": "父级路由",
|
|
371
|
+
"parentId": "父级路由 ID",
|
|
372
|
+
"query": "路由参数",
|
|
373
|
+
"redirect": "重定向",
|
|
374
|
+
"roles": "角色",
|
|
375
|
+
"routeInfo": "路由信息",
|
|
376
|
+
"routeName": "路由名称",
|
|
377
|
+
"routePath": "路由路径",
|
|
378
|
+
"routePayload": "路由载荷",
|
|
379
|
+
"title": "动态菜单列表",
|
|
380
|
+
"type": {
|
|
381
|
+
"directory": "目录",
|
|
382
|
+
"divider": "分隔线",
|
|
383
|
+
"group": "分组",
|
|
384
|
+
"item": "菜单项",
|
|
385
|
+
"menu": "菜单"
|
|
386
|
+
},
|
|
387
|
+
"url": "内嵌页 URL"
|
|
388
|
+
},
|
|
389
|
+
"role": {
|
|
390
|
+
"addRole": "新增角色",
|
|
391
|
+
"buttonAuth": "按钮权限",
|
|
392
|
+
"editRole": "编辑角色",
|
|
393
|
+
"form": {
|
|
394
|
+
"roleCode": "请输入角色编码",
|
|
395
|
+
"roleDesc": "请输入角色描述",
|
|
396
|
+
"roleName": "请输入角色名称",
|
|
397
|
+
"roleStatus": "请选择角色状态"
|
|
398
|
+
},
|
|
399
|
+
"menuAuth": "菜单权限",
|
|
400
|
+
"roleCode": "角色编码",
|
|
401
|
+
"roleDesc": "角色描述",
|
|
402
|
+
"roleName": "角色名称",
|
|
403
|
+
"roleStatus": "角色状态",
|
|
404
|
+
"title": "角色列表"
|
|
405
|
+
},
|
|
406
|
+
"roleDetail": {
|
|
407
|
+
"content": "这个页面仅仅是为了展示匹配到所有多级动态路由",
|
|
408
|
+
"explain": "当前角色详情数据由 TanStack Router loader 预取,并复用 TanStack Query 缓存。",
|
|
409
|
+
"title": "角色详情"
|
|
410
|
+
},
|
|
411
|
+
"user": {
|
|
412
|
+
"addUser": "新增用户",
|
|
413
|
+
"editUser": "编辑用户",
|
|
414
|
+
"form": {
|
|
415
|
+
"nickName": "请输入昵称",
|
|
416
|
+
"userEmail": "请输入邮箱",
|
|
417
|
+
"userGender": "请选择性别",
|
|
418
|
+
"userName": "请输入用户名",
|
|
419
|
+
"userPhone": "请输入手机号",
|
|
420
|
+
"userRole": "请选择用户角色",
|
|
421
|
+
"userStatus": "请选择用户状态"
|
|
422
|
+
},
|
|
423
|
+
"gender": {
|
|
424
|
+
"female": "女",
|
|
425
|
+
"male": "男"
|
|
426
|
+
},
|
|
427
|
+
"nickName": "昵称",
|
|
428
|
+
"title": "用户列表",
|
|
429
|
+
"userEmail": "邮箱",
|
|
430
|
+
"userGender": "性别",
|
|
431
|
+
"userName": "用户名",
|
|
432
|
+
"userPhone": "手机号",
|
|
433
|
+
"userRole": "用户角色",
|
|
434
|
+
"userStatus": "用户状态"
|
|
435
|
+
},
|
|
436
|
+
"userDetail": {
|
|
437
|
+
"content": "loader 会让网络请求跟懒加载的文件几乎一起发出请求 然后 一边解析懒加载的文件 一边去等待 网络请求\n 待到网络请求完成页面 一起显示 配合react的fiber架构 可以做到 用户如果嫌弃等待时间较长 在等待期间用户可以去\n 切换不同的页面 这是react 框架和react-router数据路由器的优势 而不用非得等到 页面的显现 而不是常规的\n 请求懒加载的文件 - 解析 - 请求懒加载的文件 - 挂载之后去发出网络请求 - 然后渲染页面 - 渲染完成\n 还要自己加loading效果",
|
|
438
|
+
"explain": "当前详情数据由 TanStack Router loader 预取,并复用 TanStack Query 缓存。",
|
|
439
|
+
"title": "用户详情"
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"403": "无权限",
|
|
3
|
+
"404": "页面不存在",
|
|
4
|
+
"500": "服务器错误",
|
|
5
|
+
"about": "关于",
|
|
6
|
+
"document": "文档",
|
|
7
|
+
"document_admin-docs": "管理端文档",
|
|
8
|
+
"document_ant-design": "Ant Design",
|
|
9
|
+
"document_jotai": "Jotai",
|
|
10
|
+
"document_react": "React",
|
|
11
|
+
"document_repository": "项目仓库",
|
|
12
|
+
"document_tanstack-query": "TanStack Query",
|
|
13
|
+
"document_tanstack-router": "TanStack Router",
|
|
14
|
+
"document_unocss": "UnoCSS",
|
|
15
|
+
"document_vite": "Vite",
|
|
16
|
+
"document_native-ui-docs": "Native UI 文档",
|
|
17
|
+
"document_web-ui-docs": "Web UI 文档",
|
|
18
|
+
"home": "首页",
|
|
19
|
+
"keep-alive-form": "缓存表单",
|
|
20
|
+
"notFound": "页面不存在",
|
|
21
|
+
"root": "首页",
|
|
22
|
+
"login": "登录",
|
|
23
|
+
"login_code-login": "验证码登录",
|
|
24
|
+
"login_register": " 注册账号",
|
|
25
|
+
"login_reset-pwd": "重置密码",
|
|
26
|
+
"login-out": "退出登录",
|
|
27
|
+
"plugin": "插件示例",
|
|
28
|
+
"plugin_barcode": "条形码",
|
|
29
|
+
"plugin_charts": "图表",
|
|
30
|
+
"plugin_charts_echarts": "ECharts",
|
|
31
|
+
"plugin_copy": "剪贴板",
|
|
32
|
+
"plugin_editor": "编辑器",
|
|
33
|
+
"plugin_editor_markdown": "MD 编辑器",
|
|
34
|
+
"plugin_editor_quill": "富文本编辑器",
|
|
35
|
+
"plugin_excel": "Excel",
|
|
36
|
+
"plugin_gantt": "甘特图",
|
|
37
|
+
"plugin_gantt_dhtmlx": "dhtmlxGantt",
|
|
38
|
+
"plugin_icon": "图标",
|
|
39
|
+
"plugin_map": "地图",
|
|
40
|
+
"plugin_pdf": "PDF 预览",
|
|
41
|
+
"plugin_pinyin": "拼音",
|
|
42
|
+
"plugin_print": "打印",
|
|
43
|
+
"plugin_swiper": "Swiper",
|
|
44
|
+
"plugin_tables": "表格",
|
|
45
|
+
"plugin_tables_vtable": "VTable",
|
|
46
|
+
"plugin_typeit": "打字机",
|
|
47
|
+
"plugin_video": "视频",
|
|
48
|
+
"exception_403": "403",
|
|
49
|
+
"exception_404": "404",
|
|
50
|
+
"exception_500": "500",
|
|
51
|
+
"exception": "异常示例",
|
|
52
|
+
"function": "系统功能",
|
|
53
|
+
"function_event-bus": "事件总线演示",
|
|
54
|
+
"function_hide-child": "隐藏子菜单",
|
|
55
|
+
"function_hide-child_one": "隐藏子菜单",
|
|
56
|
+
"function_hide-child_three": "菜单三",
|
|
57
|
+
"function_hide-child_two": "菜单二",
|
|
58
|
+
"function_multi-tab": "多标签页",
|
|
59
|
+
"function_request": "请求",
|
|
60
|
+
"function_super-page": "超级管理员可见",
|
|
61
|
+
"function_tab": "标签页",
|
|
62
|
+
"function_toggle-auth": "切换权限",
|
|
63
|
+
"multi-menu": "多级菜单",
|
|
64
|
+
"multi-menu_first": "菜单一",
|
|
65
|
+
"multi-menu_first_child": "菜单一子菜单",
|
|
66
|
+
"multi-menu_second": "菜单二",
|
|
67
|
+
"multi-menu_second_child": "菜单二子菜单",
|
|
68
|
+
"multi-menu_second_child_home": "菜单二子菜单首页",
|
|
69
|
+
"interaction": "交互示例",
|
|
70
|
+
"interaction_feedback": "全局反馈",
|
|
71
|
+
"interaction_notification": "通知系统",
|
|
72
|
+
"interaction_theme": "主题系统",
|
|
73
|
+
"manage": "系统管理",
|
|
74
|
+
"manage_menu": "菜单管理",
|
|
75
|
+
"manage_role": "角色管理",
|
|
76
|
+
"manage_role_$id": "角色详情",
|
|
77
|
+
"manage_user": "用户管理",
|
|
78
|
+
"manage_user_$id": "用户详情",
|
|
79
|
+
"projects": "项目",
|
|
80
|
+
"projects_$pid": "项目详情",
|
|
81
|
+
"projects_$pid_edit": "项目编辑",
|
|
82
|
+
"projects_$pid_edit_$id": "项目编辑详情",
|
|
83
|
+
"user-center": "用户中心"
|
|
84
|
+
}
|