@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": "Development Dependency",
|
|
4
|
+
"introduction": "SkyrocAdmin is a React admin example built for real dashboard workflows. Its current stack centers on React 19, TypeScript, Vite, TanStack Router, TanStack Query, Jotai, Ant Design 6, and UnoCSS. Routing, permissions, themes, i18n, request handling, notifications, layouts, and global styles are split into @skyroc workspace packages, while apps/admin-example focuses on application orchestration and demo pages. Use it as a reference for the Skyroc admin architecture, component composition, and engineering conventions.",
|
|
5
|
+
"prdDep": "Production Dependency",
|
|
6
|
+
"projectInfo": {
|
|
7
|
+
"githubLink": "Github Link",
|
|
8
|
+
"latestBuildTime": "Latest Build Time",
|
|
9
|
+
"previewLink": "Preview Link",
|
|
10
|
+
"title": "Project Info",
|
|
11
|
+
"version": "Version"
|
|
12
|
+
},
|
|
13
|
+
"title": "About"
|
|
14
|
+
},
|
|
15
|
+
"function": {
|
|
16
|
+
"multiTab": {
|
|
17
|
+
"backTab": "Back function_tab",
|
|
18
|
+
"routeParam": "Route Param"
|
|
19
|
+
},
|
|
20
|
+
"request": {
|
|
21
|
+
"repeatedError": "Repeated Request Error",
|
|
22
|
+
"repeatedErrorMsg1": "Custom Request Error 1",
|
|
23
|
+
"repeatedErrorMsg2": "Custom Request Error 2",
|
|
24
|
+
"repeatedErrorOccurOnce": "Repeated Request Error Occurs Once"
|
|
25
|
+
},
|
|
26
|
+
"tab": {
|
|
27
|
+
"tabOperate": {
|
|
28
|
+
"addMultiTab": "Add Multi Tab",
|
|
29
|
+
"addMultiTabDesc1": "To MultiTab page",
|
|
30
|
+
"addMultiTabDesc2": "To MultiTab page(with query params)",
|
|
31
|
+
"addTab": "Add Tab",
|
|
32
|
+
"addTabDesc": "To about page",
|
|
33
|
+
"closeAboutTab": "Close \"About\" Tab",
|
|
34
|
+
"closeCurrentTab": "Close Current Tab",
|
|
35
|
+
"closeTab": "Close Tab",
|
|
36
|
+
"title": "Tab Operation"
|
|
37
|
+
},
|
|
38
|
+
"tabTitle": {
|
|
39
|
+
"change": "Change",
|
|
40
|
+
"changeTitle": "Change Title",
|
|
41
|
+
"reset": "Reset",
|
|
42
|
+
"resetTitle": "Reset Title",
|
|
43
|
+
"title": "Tab Title"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"toggleAuth": {
|
|
47
|
+
"adminOrUserVisible": "Admin and User Visible",
|
|
48
|
+
"adminVisible": "Admin Visible",
|
|
49
|
+
"authHook": "Auth Hook Function `hasAuth`",
|
|
50
|
+
"superAdminVisible": "Super Admin Visible",
|
|
51
|
+
"toggleAccount": "Toggle Account"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"home": {
|
|
55
|
+
"creativity": "Creativity",
|
|
56
|
+
"dealCount": "Deal Count",
|
|
57
|
+
"downloadCount": "Download Count",
|
|
58
|
+
"entertainment": "Entertainment",
|
|
59
|
+
"greeting": "Good morning, {{userName}}, today is another day full of vitality!",
|
|
60
|
+
"message": "Message",
|
|
61
|
+
"projectCount": "Project Count",
|
|
62
|
+
"projectNews": {
|
|
63
|
+
"desc1": "Skyroc created the open source project skyroc-admin on May 28, 2021!",
|
|
64
|
+
"desc2": "Yanbowe submitted a bug to skyroc-admin, the multi-tab bar will not adapt.",
|
|
65
|
+
"desc3": "Skyroc is ready to do sufficient preparation for the release of skyroc-admin!",
|
|
66
|
+
"desc4": "Skyroc is busy writing project documentation for skyroc-admin!",
|
|
67
|
+
"desc5": "Skyroc just wrote some of the workbench pages casually, and it was enough to see!",
|
|
68
|
+
"moreNews": "More News",
|
|
69
|
+
"title": "Project News"
|
|
70
|
+
},
|
|
71
|
+
"registerCount": "Register Count",
|
|
72
|
+
"rest": "Rest",
|
|
73
|
+
"schedule": "Work and rest Schedule",
|
|
74
|
+
"study": "Study",
|
|
75
|
+
"todo": "Todo",
|
|
76
|
+
"turnover": "Turnover",
|
|
77
|
+
"visitCount": "Visit Count",
|
|
78
|
+
"weatherDesc": "Today is cloudy to clear, 20℃ - 25℃!",
|
|
79
|
+
"work": "Work"
|
|
80
|
+
},
|
|
81
|
+
"login": {
|
|
82
|
+
"bindWeChat": {
|
|
83
|
+
"title": "Bind WeChat"
|
|
84
|
+
},
|
|
85
|
+
"codeLogin": {
|
|
86
|
+
"getCode": "Get verification code",
|
|
87
|
+
"imageCodePlaceholder": "Please enter image verification code",
|
|
88
|
+
"reGetCode": "Reacquire after {{time}}s",
|
|
89
|
+
"sendCodeSuccess": "Verification code sent successfully",
|
|
90
|
+
"title": "Verification Code Login"
|
|
91
|
+
},
|
|
92
|
+
"common": {
|
|
93
|
+
"back": "Back",
|
|
94
|
+
"codeLogin": "Verification code login",
|
|
95
|
+
"codePlaceholder": "Please enter verification code",
|
|
96
|
+
"confirm": "Confirm",
|
|
97
|
+
"confirmPasswordPlaceholder": "Please enter password again",
|
|
98
|
+
"loginOrRegister": "Login / Register",
|
|
99
|
+
"loginSuccess": "Login successfully",
|
|
100
|
+
"passwordPlaceholder": "Please enter password",
|
|
101
|
+
"phonePlaceholder": "Please enter phone number",
|
|
102
|
+
"userNamePlaceholder": "Please enter user name",
|
|
103
|
+
"validateSuccess": "Verification passed",
|
|
104
|
+
"welcomeBack": "Welcome back, {{userName}} !"
|
|
105
|
+
},
|
|
106
|
+
"enterprise": {
|
|
107
|
+
"accountLabel": "Account",
|
|
108
|
+
"accountPlaceholder": "Enter username, phone number, or email",
|
|
109
|
+
"accountRequired": "Please enter your account",
|
|
110
|
+
"adminHint": "Accounts are created by administrators. Contact your administrator if you need help.",
|
|
111
|
+
"brandDescription": "View organization, access, tenants, and system status, then handle everyday admin work.",
|
|
112
|
+
"brandFeatureAudit": "Traceable critical actions",
|
|
113
|
+
"brandFeaturePermission": "Unified organization and permissions",
|
|
114
|
+
"brandFeatureSecure": "A secure and reliable admin gateway",
|
|
115
|
+
"brandTitle": "Skyroc Admin Workspace",
|
|
116
|
+
"captchaAlt": "Image verification code",
|
|
117
|
+
"captchaLabel": "Image verification code",
|
|
118
|
+
"captchaLoadError": "Load failed. Click to retry.",
|
|
119
|
+
"captchaPlaceholder": "Enter the characters shown",
|
|
120
|
+
"captchaRefresh": "Refresh verification code",
|
|
121
|
+
"captchaRefreshShort": "Refresh",
|
|
122
|
+
"captchaRequired": "Please enter the image verification code",
|
|
123
|
+
"codeChannelLabel": "Verification code method",
|
|
124
|
+
"codeLogin": "Use verification code",
|
|
125
|
+
"codeNotReceived": "Didn't get it? Make sure it is linked to an account, or contact your administrator",
|
|
126
|
+
"codeSentEmail": "If that email is registered, a code has been sent",
|
|
127
|
+
"codeSentPhone": "If that phone number is registered, a code has been sent",
|
|
128
|
+
"codeSubtitle": "Sign in with a phone or email verification code",
|
|
129
|
+
"codeTitle": "Verification code login",
|
|
130
|
+
"emailCode": "Email code",
|
|
131
|
+
"emailLabel": "Email",
|
|
132
|
+
"emailPlaceholder": "Enter your email",
|
|
133
|
+
"forgetPassword": "Forgot password?",
|
|
134
|
+
"getCode": "Get code",
|
|
135
|
+
"keepSignedIn": "Stay signed in",
|
|
136
|
+
"previewActivity": "Access trend",
|
|
137
|
+
"previewEmpty": "No notifications",
|
|
138
|
+
"previewEventConfig": "System settings updated",
|
|
139
|
+
"previewEventMember": "New member joined Engineering",
|
|
140
|
+
"previewEventRole": "Admin role access changed",
|
|
141
|
+
"previewEvents": "Latest activity",
|
|
142
|
+
"previewGreeting": "Good evening, admin",
|
|
143
|
+
"previewGreetingHint": "Handle what matters, then continue your work.",
|
|
144
|
+
"previewHome": "Home",
|
|
145
|
+
"previewLatest": "Latest notifications",
|
|
146
|
+
"previewLatestHint": "Your most recent messages",
|
|
147
|
+
"previewMembers": "Team members",
|
|
148
|
+
"previewOverview": "Operations overview",
|
|
149
|
+
"previewMonitor": "System monitor",
|
|
150
|
+
"previewOrganization": "Organization",
|
|
151
|
+
"previewPending": "Pending items",
|
|
152
|
+
"previewPermission": "Access roles",
|
|
153
|
+
"previewRole": "My roles",
|
|
154
|
+
"previewRoles": "Access roles",
|
|
155
|
+
"previewSessions": "Online sessions",
|
|
156
|
+
"previewShortcuts": "Quick access",
|
|
157
|
+
"previewShortcutsHint": "Open everyday admin modules",
|
|
158
|
+
"previewTenant": "Tenants",
|
|
159
|
+
"previewUnread": "Unread",
|
|
160
|
+
"previewUpdated": "updated",
|
|
161
|
+
"previewWorkspace": "Skyroc Workspace",
|
|
162
|
+
"login": "Log in",
|
|
163
|
+
"notConfigured": "This feature is not configured. Contact your administrator.",
|
|
164
|
+
"otherLogin": "Other sign-in methods",
|
|
165
|
+
"passwordLogin": "Use password",
|
|
166
|
+
"passwordLabel": "Password",
|
|
167
|
+
"passwordPlaceholder": "Enter your password",
|
|
168
|
+
"phoneCode": "Phone code",
|
|
169
|
+
"phoneLabel": "Phone number",
|
|
170
|
+
"phonePlaceholder": "Enter your phone number",
|
|
171
|
+
"privacy": "Privacy Policy",
|
|
172
|
+
"socialFeishu": "Continue with Feishu",
|
|
173
|
+
"socialWechat": "Continue with WeChat",
|
|
174
|
+
"subtitle": "Continue with your enterprise account",
|
|
175
|
+
"tenantLabel": "Company",
|
|
176
|
+
"tenantPlaceholder": "Select your company",
|
|
177
|
+
"terms": "Terms of Service",
|
|
178
|
+
"title": "Welcome to Skyroc",
|
|
179
|
+
"verificationLabel": "Verification code",
|
|
180
|
+
"verificationPlaceholder": "Enter the 6-digit code",
|
|
181
|
+
"verificationRequired": "Please enter the verification code"
|
|
182
|
+
},
|
|
183
|
+
"pwdLogin": {
|
|
184
|
+
"admin": "Admin",
|
|
185
|
+
"forgetPassword": "Forget password?",
|
|
186
|
+
"otherAccountLogin": "Other Account Login",
|
|
187
|
+
"otherLoginMode": "Other Login Mode",
|
|
188
|
+
"register": "Register",
|
|
189
|
+
"rememberMe": "Remember me",
|
|
190
|
+
"superAdmin": "Super Admin",
|
|
191
|
+
"title": "Password Login",
|
|
192
|
+
"user": "User"
|
|
193
|
+
},
|
|
194
|
+
"register": {
|
|
195
|
+
"agreement": "I have read and agree to",
|
|
196
|
+
"policy": "《Privacy Policy》",
|
|
197
|
+
"protocol": "《User Agreement》",
|
|
198
|
+
"title": "Register"
|
|
199
|
+
},
|
|
200
|
+
"resetPwd": {
|
|
201
|
+
"title": "Reset Password"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"userCenter": {
|
|
205
|
+
"activity": {
|
|
206
|
+
"currentLogin": "Current session has passed access token validation",
|
|
207
|
+
"permissionSynced": "Menu and button permissions have been synced",
|
|
208
|
+
"profileUpdated": "Profile sample information has been loaded",
|
|
209
|
+
"securityChecked": "Account security status check completed",
|
|
210
|
+
"title": "Recent Activity"
|
|
211
|
+
},
|
|
212
|
+
"emptyUserName": "Unnamed User",
|
|
213
|
+
"messages": {
|
|
214
|
+
"profileSaved": "Profile saved",
|
|
215
|
+
"securityActionTodo": "This is a demo action. Connect it to backend APIs in a real project."
|
|
216
|
+
},
|
|
217
|
+
"preferences": {
|
|
218
|
+
"fullContent": "Full Content",
|
|
219
|
+
"fullContentDesc": "Hide navigation areas and focus on the current page",
|
|
220
|
+
"language": "Language",
|
|
221
|
+
"languageDesc": "Switch the admin display language",
|
|
222
|
+
"openThemeConfig": "Theme Config",
|
|
223
|
+
"siderCollapse": "Collapse Menu",
|
|
224
|
+
"siderCollapseDesc": "Control the left menu expanded state",
|
|
225
|
+
"themeAuto": "System",
|
|
226
|
+
"themeDark": "Dark",
|
|
227
|
+
"themeLight": "Light",
|
|
228
|
+
"themeScheme": "Theme Mode",
|
|
229
|
+
"themeSchemeDesc": "Use light, dark, or system mode",
|
|
230
|
+
"title": "Preferences"
|
|
231
|
+
},
|
|
232
|
+
"profile": {
|
|
233
|
+
"accountId": "Account ID",
|
|
234
|
+
"buttonPermissionCount": "Button Permissions",
|
|
235
|
+
"roleCount": "Role Count",
|
|
236
|
+
"roles": "Role Permissions",
|
|
237
|
+
"title": "Identity Overview"
|
|
238
|
+
},
|
|
239
|
+
"profileForm": {
|
|
240
|
+
"displayName": "Display Name",
|
|
241
|
+
"displayNamePlaceholder": "Enter display name",
|
|
242
|
+
"email": "Email",
|
|
243
|
+
"emailPlaceholder": "Enter email",
|
|
244
|
+
"gender": "Gender",
|
|
245
|
+
"genderFemale": "Female",
|
|
246
|
+
"genderMale": "Male",
|
|
247
|
+
"genderPlaceholder": "Select gender",
|
|
248
|
+
"introduction": "Introduction",
|
|
249
|
+
"introductionPlaceholder": "Add your position, responsibilities, or personal notes",
|
|
250
|
+
"phone": "Phone",
|
|
251
|
+
"phonePlaceholder": "Enter phone number",
|
|
252
|
+
"saveProfile": "Save Profile",
|
|
253
|
+
"title": "Basic Profile"
|
|
254
|
+
},
|
|
255
|
+
"security": {
|
|
256
|
+
"device": {
|
|
257
|
+
"action": "View",
|
|
258
|
+
"desc": "Review recent login devices for this account",
|
|
259
|
+
"title": "Login Devices"
|
|
260
|
+
},
|
|
261
|
+
"email": {
|
|
262
|
+
"action": "Change",
|
|
263
|
+
"desc": "Used for account notifications and security alerts",
|
|
264
|
+
"title": "Security Email"
|
|
265
|
+
},
|
|
266
|
+
"password": {
|
|
267
|
+
"action": "Change",
|
|
268
|
+
"desc": "Update your login password regularly",
|
|
269
|
+
"title": "Login Password"
|
|
270
|
+
},
|
|
271
|
+
"phone": {
|
|
272
|
+
"action": "Change",
|
|
273
|
+
"desc": "Used for login verification and account recovery",
|
|
274
|
+
"title": "Security Phone"
|
|
275
|
+
},
|
|
276
|
+
"title": "Account Security"
|
|
277
|
+
},
|
|
278
|
+
"status": {
|
|
279
|
+
"bound": "Bound",
|
|
280
|
+
"enabled": "Enabled",
|
|
281
|
+
"online": "Online",
|
|
282
|
+
"trusted": "Trusted"
|
|
283
|
+
},
|
|
284
|
+
"subtitle": "Manage your profile, account security, and admin preferences"
|
|
285
|
+
},
|
|
286
|
+
"manage": {
|
|
287
|
+
"common": {
|
|
288
|
+
"status": {
|
|
289
|
+
"disable": "Disable",
|
|
290
|
+
"enable": "Enable"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"menu": {
|
|
294
|
+
"activeMenu": "Active Menu",
|
|
295
|
+
"addChildMenu": "Add Child Menu",
|
|
296
|
+
"addMenu": "Add Menu",
|
|
297
|
+
"badge": "Badge",
|
|
298
|
+
"badgeShowZero": "Show Zero",
|
|
299
|
+
"badgeType": {
|
|
300
|
+
"dot": "Dot",
|
|
301
|
+
"normal": "Content"
|
|
302
|
+
},
|
|
303
|
+
"badgeTypeTitle": "Badge Type",
|
|
304
|
+
"badgeValue": "Badge Value",
|
|
305
|
+
"badgeValueKey": "Badge Value Key",
|
|
306
|
+
"badgeVariant": {
|
|
307
|
+
"default": "Default",
|
|
308
|
+
"error": "Error",
|
|
309
|
+
"info": "Info",
|
|
310
|
+
"primary": "Primary",
|
|
311
|
+
"success": "Success",
|
|
312
|
+
"warning": "Warning"
|
|
313
|
+
},
|
|
314
|
+
"badgeVariantTitle": "Badge Color",
|
|
315
|
+
"accessConfig": "Access",
|
|
316
|
+
"behaviorConfig": "Behavior",
|
|
317
|
+
"constant": "Constant",
|
|
318
|
+
"editMenu": "Edit Menu",
|
|
319
|
+
"extra": "Extra Component",
|
|
320
|
+
"fixedIndexInTab": "Fixed Index In Tab",
|
|
321
|
+
"form": {
|
|
322
|
+
"activeMenu": "Please select the highlighted menu path",
|
|
323
|
+
"badgeType": "Please select badge type",
|
|
324
|
+
"badgeValue": "Please enter static badge value",
|
|
325
|
+
"badgeValueKey": "Please enter dynamic badge value key",
|
|
326
|
+
"badgeVariant": "Please select badge color",
|
|
327
|
+
"extra": "Please select extra component",
|
|
328
|
+
"fixedIndexInTab": "Please enter the fixed tab index",
|
|
329
|
+
"hideInMenu": "Please select whether to hide menu",
|
|
330
|
+
"home": "Please select home",
|
|
331
|
+
"href": "Please enter href",
|
|
332
|
+
"i18nKey": "Please enter i18n key",
|
|
333
|
+
"icon": "Please enter Iconify icon",
|
|
334
|
+
"id": "Please enter backend route ID",
|
|
335
|
+
"keepAlive": "Please select whether to cache route",
|
|
336
|
+
"layout": "Please select menu category",
|
|
337
|
+
"localIcon": "Please select local icon",
|
|
338
|
+
"menuName": "Please enter menu title",
|
|
339
|
+
"menuType": "Please select menu type",
|
|
340
|
+
"multiTab": "Please select whether to support multiple tabs",
|
|
341
|
+
"order": "Please enter order",
|
|
342
|
+
"parent": "Please select parent route",
|
|
343
|
+
"queryKey": "Please enter route parameter key",
|
|
344
|
+
"queryValue": "Please enter route parameter value",
|
|
345
|
+
"redirect": "Please enter redirect target",
|
|
346
|
+
"roles": "Please enter allowed roles",
|
|
347
|
+
"routeName": "Please enter route name",
|
|
348
|
+
"routePath": "Please enter route path",
|
|
349
|
+
"title": "Please enter menu title",
|
|
350
|
+
"url": "Please enter iframe URL"
|
|
351
|
+
},
|
|
352
|
+
"handle": "Menu Handle",
|
|
353
|
+
"hideInMenu": "Hide In Menu",
|
|
354
|
+
"home": "Home",
|
|
355
|
+
"href": "Href",
|
|
356
|
+
"i18nKey": "I18n Key",
|
|
357
|
+
"icon": "Icon",
|
|
358
|
+
"id": "ID",
|
|
359
|
+
"keepAlive": "Keep Alive",
|
|
360
|
+
"layout": "Menu Category",
|
|
361
|
+
"localIcon": "Local Icon",
|
|
362
|
+
"menuConfig": "Menu Config",
|
|
363
|
+
"menuInfo": "Menu",
|
|
364
|
+
"menuName": "Menu Title",
|
|
365
|
+
"menuType": "Menu Type",
|
|
366
|
+
"multiTab": "Multi Tab",
|
|
367
|
+
"notConfigured": "Not configured",
|
|
368
|
+
"navigation": "Navigation",
|
|
369
|
+
"order": "Order",
|
|
370
|
+
"parent": "Parent Route",
|
|
371
|
+
"parentId": "Parent Route ID",
|
|
372
|
+
"query": "Route Params",
|
|
373
|
+
"redirect": "Redirect",
|
|
374
|
+
"roles": "Roles",
|
|
375
|
+
"routeInfo": "Route",
|
|
376
|
+
"routeName": "Route Name",
|
|
377
|
+
"routePath": "Route Path",
|
|
378
|
+
"routePayload": "Route Payload",
|
|
379
|
+
"title": "Dynamic Menu List",
|
|
380
|
+
"type": {
|
|
381
|
+
"directory": "Directory",
|
|
382
|
+
"divider": "Divider",
|
|
383
|
+
"group": "Group",
|
|
384
|
+
"item": "Menu Item",
|
|
385
|
+
"menu": "Menu"
|
|
386
|
+
},
|
|
387
|
+
"url": "Iframe URL"
|
|
388
|
+
},
|
|
389
|
+
"role": {
|
|
390
|
+
"addRole": "Add Role",
|
|
391
|
+
"buttonAuth": "Button Auth",
|
|
392
|
+
"editRole": "Edit Role",
|
|
393
|
+
"form": {
|
|
394
|
+
"roleCode": "Please enter role code",
|
|
395
|
+
"roleDesc": "Please enter role description",
|
|
396
|
+
"roleName": "Please enter role name",
|
|
397
|
+
"roleStatus": "Please select role status"
|
|
398
|
+
},
|
|
399
|
+
"menuAuth": "Menu Auth",
|
|
400
|
+
"roleCode": "Role Code",
|
|
401
|
+
"roleDesc": "Role Description",
|
|
402
|
+
"roleName": "Role Name",
|
|
403
|
+
"roleStatus": "Role Status",
|
|
404
|
+
"title": "Role List"
|
|
405
|
+
},
|
|
406
|
+
"roleDetail": {
|
|
407
|
+
"content": "This page is solely for displaying all matched multi-level dynamic routes.",
|
|
408
|
+
"explain": "Current role detail data is prefetched by the TanStack Router loader and reuses the TanStack Query cache.",
|
|
409
|
+
"title": "Role Detail"
|
|
410
|
+
},
|
|
411
|
+
"user": {
|
|
412
|
+
"addUser": "Add User",
|
|
413
|
+
"editUser": "Edit User",
|
|
414
|
+
"form": {
|
|
415
|
+
"nickName": "Please enter nick name",
|
|
416
|
+
"userEmail": "Please enter email",
|
|
417
|
+
"userGender": "Please select gender",
|
|
418
|
+
"userName": "Please enter user name",
|
|
419
|
+
"userPhone": "Please enter phone number",
|
|
420
|
+
"userRole": "Please select user role",
|
|
421
|
+
"userStatus": "Please select user status"
|
|
422
|
+
},
|
|
423
|
+
"gender": {
|
|
424
|
+
"female": "Female",
|
|
425
|
+
"male": "Male"
|
|
426
|
+
},
|
|
427
|
+
"nickName": "Nick Name",
|
|
428
|
+
"title": "User List",
|
|
429
|
+
"userEmail": "Email",
|
|
430
|
+
"userGender": "Gender",
|
|
431
|
+
"userName": "User Name",
|
|
432
|
+
"userPhone": "Phone Number",
|
|
433
|
+
"userRole": "User Role",
|
|
434
|
+
"userStatus": "User Status"
|
|
435
|
+
},
|
|
436
|
+
"userDetail": {
|
|
437
|
+
"content": "The loader allows network requests and lazy-loaded files to be triggered almost simultaneously, enabling the lazy-loaded files to be parsed while waiting for the network request to complete. Once the network request finishes, the page is displayed all at once. Leveraging React's Fiber architecture, if users find the waiting time too long, they can switch to different pages during the wait. This is an advantage of the React framework and React Router's data loader, as it avoids the conventional sequence of: request lazy-loaded file -> parse -> mount -> send network request -> render page -> display, and eliminates the need for manually adding a loading effect.",
|
|
438
|
+
"explain": "Current detail data is prefetched by the TanStack Router loader and reuses the TanStack Query cache.",
|
|
439
|
+
"title": "User Detail"
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"logout": "Logout user after request failed",
|
|
3
|
+
"logoutMsg": "User status is invalid, please log in again",
|
|
4
|
+
"logoutWithModal": "Pop up modal after request failed and then log out user",
|
|
5
|
+
"logoutWithModalMsg": "User status is invalid, please log in again",
|
|
6
|
+
"refreshToken": "The requested token has expired, refresh the token",
|
|
7
|
+
"tokenExpired": "The requested token has expired"
|
|
8
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"403": "No Permission",
|
|
3
|
+
"404": "Page Not Found",
|
|
4
|
+
"500": "Server Error",
|
|
5
|
+
"about": "About",
|
|
6
|
+
"document": "Documents",
|
|
7
|
+
"document_admin-docs": "Admin Docs",
|
|
8
|
+
"document_ant-design": "Ant Design",
|
|
9
|
+
"document_jotai": "Jotai",
|
|
10
|
+
"document_react": "React",
|
|
11
|
+
"document_repository": "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 Docs",
|
|
17
|
+
"document_web-ui-docs": "Web UI Docs",
|
|
18
|
+
"home": "Home",
|
|
19
|
+
"keep-alive-form": "Keep Alive Form",
|
|
20
|
+
"notFound": "Not Found",
|
|
21
|
+
"root": "Root",
|
|
22
|
+
"login": "Login",
|
|
23
|
+
"login_code-login": "Code Login",
|
|
24
|
+
"login_register": "Register Account",
|
|
25
|
+
"login_reset-pwd": "Reset Password",
|
|
26
|
+
"login-out": "Login Out",
|
|
27
|
+
"plugin": "Plugin",
|
|
28
|
+
"plugin_barcode": "Barcode",
|
|
29
|
+
"plugin_charts": "Charts",
|
|
30
|
+
"plugin_charts_echarts": "ECharts",
|
|
31
|
+
"plugin_copy": "Copy",
|
|
32
|
+
"plugin_editor": "Editor",
|
|
33
|
+
"plugin_editor_markdown": "Markdown",
|
|
34
|
+
"plugin_editor_quill": "Rich Text Editor",
|
|
35
|
+
"plugin_excel": "Excel",
|
|
36
|
+
"plugin_gantt": "Gantt Chart",
|
|
37
|
+
"plugin_gantt_dhtmlx": "dhtmlxGantt",
|
|
38
|
+
"plugin_icon": "Icon",
|
|
39
|
+
"plugin_map": "Map",
|
|
40
|
+
"plugin_pdf": "PDF Preview",
|
|
41
|
+
"plugin_pinyin": "Pinyin",
|
|
42
|
+
"plugin_print": "Print",
|
|
43
|
+
"plugin_swiper": "Swiper",
|
|
44
|
+
"plugin_tables": "Tables",
|
|
45
|
+
"plugin_tables_vtable": "VTable",
|
|
46
|
+
"plugin_typeit": "Typeit",
|
|
47
|
+
"plugin_video": "Video",
|
|
48
|
+
"function": "System Function",
|
|
49
|
+
"function_event-bus": "Event Bus Demo",
|
|
50
|
+
"function_hide-child": "Hide Child",
|
|
51
|
+
"function_hide-child_one": "Hide Child",
|
|
52
|
+
"function_hide-child_three": "Three",
|
|
53
|
+
"function_hide-child_two": "Two",
|
|
54
|
+
"function_multi-tab": "Multi Tab",
|
|
55
|
+
"function_request": "Request",
|
|
56
|
+
"function_super-page": "Super Admin Visible",
|
|
57
|
+
"function_tab": "Tab",
|
|
58
|
+
"function_toggle-auth": "Toggle Auth",
|
|
59
|
+
"interaction": "Interaction Examples",
|
|
60
|
+
"interaction_feedback": "Global Feedback",
|
|
61
|
+
"interaction_notification": "Notification System",
|
|
62
|
+
"interaction_theme": "Theme System",
|
|
63
|
+
"manage": "System Manage",
|
|
64
|
+
"manage_menu": "Menu Management",
|
|
65
|
+
"manage_role": "Role Management",
|
|
66
|
+
"manage_role_$id": "Role Detail",
|
|
67
|
+
"manage_user": "User Management",
|
|
68
|
+
"manage_user_$id": "User Detail",
|
|
69
|
+
"projects": "Projects",
|
|
70
|
+
"projects_$pid": "Project Detail",
|
|
71
|
+
"projects_$pid_edit": "Project Edit",
|
|
72
|
+
"projects_$pid_edit_$id": "Project Edit Detail",
|
|
73
|
+
"user-center": "User Center",
|
|
74
|
+
"multi-menu": "Multi Menu",
|
|
75
|
+
"multi-menu_first": "Menu One",
|
|
76
|
+
"multi-menu_first_child": "Menu One Child",
|
|
77
|
+
"multi-menu_second": "Menu Two",
|
|
78
|
+
"multi-menu_second_child": "Menu Two Child",
|
|
79
|
+
"multi-menu_second_child_home": "Menu Two Child Home",
|
|
80
|
+
"exception": "Exception",
|
|
81
|
+
"exception_403": "403",
|
|
82
|
+
"exception_404": "404",
|
|
83
|
+
"exception_500": "500"
|
|
84
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"errorReason": "Cause Error",
|
|
3
|
+
"reload": "Reload Page",
|
|
4
|
+
"title": "SkyrocAdmin",
|
|
5
|
+
"updateCancel": "Later",
|
|
6
|
+
"updateConfirm": "Refresh immediately",
|
|
7
|
+
"updateContent": "A new version of the system has been detected. Do you want to refresh the page immediately?",
|
|
8
|
+
"updateTitle": "System Version Update Notification"
|
|
9
|
+
}
|