@qlover/create-app 1.1.0 → 2.0.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/CHANGELOG.md +28 -0
- package/dist/index.cjs +9 -9
- package/dist/index.js +9 -9
- package/package.json +3 -2
- package/dist/configs/_common/.editorconfig +0 -23
- package/dist/configs/_common/.env.template +0 -13
- package/dist/configs/_common/.gitattributes +0 -2
- package/dist/configs/_common/.github/workflows/general-check.yml +0 -41
- package/dist/configs/_common/.github/workflows/release.yml +0 -81
- package/dist/configs/_common/.gitignore.template +0 -64
- package/dist/configs/_common/.husky/commit-msg +0 -3
- package/dist/configs/_common/.husky/pre-commit +0 -3
- package/dist/configs/_common/.prettierignore +0 -17
- package/dist/configs/_common/.prettierrc.js +0 -7
- package/dist/configs/_common/.vscode/extensions.json +0 -9
- package/dist/configs/_common/.vscode/react.code-snippets +0 -19
- package/dist/configs/_common/.vscode/settings.json +0 -16
- package/dist/configs/_common/commitlint.config.js +0 -10
- package/dist/configs/_common/package.json.template +0 -75
- package/dist/configs/node-lib/eslint.config.js +0 -50
- package/dist/templates/next-app/.env.template +0 -25
- package/dist/templates/next-app/.prettierignore +0 -58
- package/dist/templates/next-app/README.en.md +0 -130
- package/dist/templates/next-app/README.md +0 -130
- package/dist/templates/next-app/config/IOCIdentifier.ts +0 -74
- package/dist/templates/next-app/config/Identifier/api.ts +0 -41
- package/dist/templates/next-app/config/Identifier/common/admint.table.ts +0 -69
- package/dist/templates/next-app/config/Identifier/common/common.ts +0 -90
- package/dist/templates/next-app/config/Identifier/common/index.ts +0 -3
- package/dist/templates/next-app/config/Identifier/common/validators.ts +0 -34
- package/dist/templates/next-app/config/Identifier/index.ts +0 -3
- package/dist/templates/next-app/config/Identifier/pages/index.ts +0 -7
- package/dist/templates/next-app/config/Identifier/pages/page.about.ts +0 -20
- package/dist/templates/next-app/config/Identifier/pages/page.admin.home.ts +0 -27
- package/dist/templates/next-app/config/Identifier/pages/page.admin.locales.ts +0 -266
- package/dist/templates/next-app/config/Identifier/pages/page.admin.user.ts +0 -293
- package/dist/templates/next-app/config/Identifier/pages/page.home.ts +0 -56
- package/dist/templates/next-app/config/Identifier/pages/page.login.ts +0 -159
- package/dist/templates/next-app/config/Identifier/pages/page.register.ts +0 -177
- package/dist/templates/next-app/config/adminNavs.ts +0 -19
- package/dist/templates/next-app/config/common.ts +0 -43
- package/dist/templates/next-app/config/cookies.ts +0 -23
- package/dist/templates/next-app/config/i18n/AboutI18n.ts +0 -14
- package/dist/templates/next-app/config/i18n/HomeI18n.ts +0 -24
- package/dist/templates/next-app/config/i18n/PageI18nInterface.ts +0 -51
- package/dist/templates/next-app/config/i18n/admin18n.ts +0 -75
- package/dist/templates/next-app/config/i18n/i18nConfig.ts +0 -16
- package/dist/templates/next-app/config/i18n/i18nKeyScheam.ts +0 -36
- package/dist/templates/next-app/config/i18n/index.ts +0 -7
- package/dist/templates/next-app/config/i18n/loginI18n.ts +0 -50
- package/dist/templates/next-app/config/i18n/register18n.ts +0 -44
- package/dist/templates/next-app/config/route.ts +0 -9
- package/dist/templates/next-app/config/theme.ts +0 -28
- package/dist/templates/next-app/docs/en/api.md +0 -387
- package/dist/templates/next-app/docs/en/component.md +0 -544
- package/dist/templates/next-app/docs/en/database.md +0 -496
- package/dist/templates/next-app/docs/en/development-guide.md +0 -727
- package/dist/templates/next-app/docs/en/env.md +0 -563
- package/dist/templates/next-app/docs/en/i18n.md +0 -287
- package/dist/templates/next-app/docs/en/index.md +0 -165
- package/dist/templates/next-app/docs/en/page.md +0 -457
- package/dist/templates/next-app/docs/en/project-structure.md +0 -176
- package/dist/templates/next-app/docs/en/router.md +0 -427
- package/dist/templates/next-app/docs/en/theme.md +0 -532
- package/dist/templates/next-app/docs/en/validator.md +0 -478
- package/dist/templates/next-app/docs/zh/api.md +0 -387
- package/dist/templates/next-app/docs/zh/component.md +0 -544
- package/dist/templates/next-app/docs/zh/database.md +0 -496
- package/dist/templates/next-app/docs/zh/development-guide.md +0 -727
- package/dist/templates/next-app/docs/zh/env.md +0 -563
- package/dist/templates/next-app/docs/zh/i18n.md +0 -287
- package/dist/templates/next-app/docs/zh/index.md +0 -165
- package/dist/templates/next-app/docs/zh/page.md +0 -457
- package/dist/templates/next-app/docs/zh/project-structure.md +0 -176
- package/dist/templates/next-app/docs/zh/router.md +0 -427
- package/dist/templates/next-app/docs/zh/theme.md +0 -532
- package/dist/templates/next-app/docs/zh/validator.md +0 -476
- package/dist/templates/next-app/eslint.config.mjs +0 -285
- package/dist/templates/next-app/make/generateLocales.ts +0 -32
- package/dist/templates/next-app/migrations/schema/LocalesSchema.ts +0 -15
- package/dist/templates/next-app/migrations/schema/UserSchema.ts +0 -38
- package/dist/templates/next-app/migrations/sql/1694244000000.sql +0 -21
- package/dist/templates/next-app/next.config.ts +0 -25
- package/dist/templates/next-app/package.json +0 -87
- package/dist/templates/next-app/postcss.config.mjs +0 -5
- package/dist/templates/next-app/public/favicon.ico +0 -0
- package/dist/templates/next-app/public/file.svg +0 -1
- package/dist/templates/next-app/public/globe.svg +0 -1
- package/dist/templates/next-app/public/locales/en.json +0 -182
- package/dist/templates/next-app/public/locales/zh.json +0 -182
- package/dist/templates/next-app/public/next.svg +0 -1
- package/dist/templates/next-app/public/vercel.svg +0 -1
- package/dist/templates/next-app/public/window.svg +0 -1
- package/dist/templates/next-app/src/app/[locale]/admin/AdminI18nProvider.tsx +0 -37
- package/dist/templates/next-app/src/app/[locale]/admin/layout.tsx +0 -42
- package/dist/templates/next-app/src/app/[locale]/admin/locales/page.tsx +0 -153
- package/dist/templates/next-app/src/app/[locale]/admin/page.tsx +0 -20
- package/dist/templates/next-app/src/app/[locale]/admin/users/page.tsx +0 -67
- package/dist/templates/next-app/src/app/[locale]/auth/layout.tsx +0 -18
- package/dist/templates/next-app/src/app/[locale]/auth/login/LoginForm.tsx +0 -126
- package/dist/templates/next-app/src/app/[locale]/auth/login/page.tsx +0 -90
- package/dist/templates/next-app/src/app/[locale]/auth/page.tsx +0 -8
- package/dist/templates/next-app/src/app/[locale]/auth/register/RegisterForm.tsx +0 -197
- package/dist/templates/next-app/src/app/[locale]/auth/register/page.tsx +0 -90
- package/dist/templates/next-app/src/app/[locale]/layout.tsx +0 -63
- package/dist/templates/next-app/src/app/[locale]/not-found.tsx +0 -24
- package/dist/templates/next-app/src/app/[locale]/page.tsx +0 -98
- package/dist/templates/next-app/src/app/api/admin/locales/create/route.ts +0 -13
- package/dist/templates/next-app/src/app/api/admin/locales/import/route.ts +0 -13
- package/dist/templates/next-app/src/app/api/admin/locales/route.ts +0 -20
- package/dist/templates/next-app/src/app/api/admin/locales/update/route.ts +0 -13
- package/dist/templates/next-app/src/app/api/admin/users/route.ts +0 -20
- package/dist/templates/next-app/src/app/api/ai/completions/route.ts +0 -32
- package/dist/templates/next-app/src/app/api/auth/callback/route.ts +0 -11
- package/dist/templates/next-app/src/app/api/callback/route.ts +0 -49
- package/dist/templates/next-app/src/app/api/locales/json/route.ts +0 -33
- package/dist/templates/next-app/src/app/api/user/login/route.ts +0 -10
- package/dist/templates/next-app/src/app/api/user/logout/route.ts +0 -8
- package/dist/templates/next-app/src/app/api/user/register/route.ts +0 -11
- package/dist/templates/next-app/src/app/manifest.ts +0 -16
- package/dist/templates/next-app/src/app/robots.txt +0 -2
- package/dist/templates/next-app/src/base/cases/AdminPageManager.ts +0 -28
- package/dist/templates/next-app/src/base/cases/AppConfig.ts +0 -40
- package/dist/templates/next-app/src/base/cases/Datetime.ts +0 -18
- package/dist/templates/next-app/src/base/cases/DialogErrorPlugin.ts +0 -57
- package/dist/templates/next-app/src/base/cases/DialogHandler.ts +0 -116
- package/dist/templates/next-app/src/base/cases/InversifyContainer.ts +0 -45
- package/dist/templates/next-app/src/base/cases/NavigateBridge.ts +0 -32
- package/dist/templates/next-app/src/base/cases/RequestEncryptPlugin.ts +0 -77
- package/dist/templates/next-app/src/base/cases/ResourceState.ts +0 -17
- package/dist/templates/next-app/src/base/cases/RouterService.ts +0 -52
- package/dist/templates/next-app/src/base/cases/StringEncryptor.ts +0 -73
- package/dist/templates/next-app/src/base/cases/TranslateI18nUtil.ts +0 -53
- package/dist/templates/next-app/src/base/cases/ZodColumnBuilder.ts +0 -212
- package/dist/templates/next-app/src/base/port/AdminLayoutInterface.ts +0 -26
- package/dist/templates/next-app/src/base/port/AppApiInterface.ts +0 -36
- package/dist/templates/next-app/src/base/port/AppUserApiInterface.ts +0 -27
- package/dist/templates/next-app/src/base/port/I18nServiceInterface.ts +0 -25
- package/dist/templates/next-app/src/base/port/IOCInterface.ts +0 -33
- package/dist/templates/next-app/src/base/port/RouterInterface.ts +0 -11
- package/dist/templates/next-app/src/base/port/UserServiceInterface.ts +0 -25
- package/dist/templates/next-app/src/base/port/ZodBuilderInterface.ts +0 -8
- package/dist/templates/next-app/src/base/services/AdminPageEvent.ts +0 -26
- package/dist/templates/next-app/src/base/services/AdminPageScheduler.ts +0 -42
- package/dist/templates/next-app/src/base/services/AppApiRequester.ts +0 -67
- package/dist/templates/next-app/src/base/services/AppUserGateway.ts +0 -110
- package/dist/templates/next-app/src/base/services/I18nService.ts +0 -87
- package/dist/templates/next-app/src/base/services/ResourceService.ts +0 -139
- package/dist/templates/next-app/src/base/services/UserService.ts +0 -68
- package/dist/templates/next-app/src/base/services/adminApi/AdminLocalesApi.ts +0 -106
- package/dist/templates/next-app/src/base/services/adminApi/AdminUserApi.ts +0 -87
- package/dist/templates/next-app/src/base/services/appApi/AppApiPlugin.ts +0 -110
- package/dist/templates/next-app/src/base/services/appApi/AppUserApiBootstrap.ts +0 -52
- package/dist/templates/next-app/src/base/types/AppPageRouter.ts +0 -12
- package/dist/templates/next-app/src/base/types/PagesRouter.ts +0 -9
- package/dist/templates/next-app/src/core/bootstraps/BootstrapClient.ts +0 -76
- package/dist/templates/next-app/src/core/bootstraps/BootstrapServer.ts +0 -125
- package/dist/templates/next-app/src/core/bootstraps/BootstrapsRegistry.ts +0 -50
- package/dist/templates/next-app/src/core/bootstraps/IocIdentifierTest.ts +0 -26
- package/dist/templates/next-app/src/core/bootstraps/PrintBootstrap.ts +0 -18
- package/dist/templates/next-app/src/core/clientIoc/ClientIOC.ts +0 -68
- package/dist/templates/next-app/src/core/clientIoc/ClientIOCRegister.ts +0 -100
- package/dist/templates/next-app/src/core/globals.ts +0 -28
- package/dist/templates/next-app/src/core/serverIoc/ServerIOC.ts +0 -80
- package/dist/templates/next-app/src/core/serverIoc/ServerIOCRegister.ts +0 -66
- package/dist/templates/next-app/src/i18n/loadMessages.ts +0 -103
- package/dist/templates/next-app/src/i18n/request.ts +0 -31
- package/dist/templates/next-app/src/i18n/routing.ts +0 -35
- package/dist/templates/next-app/src/lib/supabase/client.ts +0 -8
- package/dist/templates/next-app/src/lib/supabase/conts.ts +0 -2
- package/dist/templates/next-app/src/lib/supabase/proxy.ts +0 -84
- package/dist/templates/next-app/src/lib/supabase/server.ts +0 -38
- package/dist/templates/next-app/src/pages/[locale]/about.tsx +0 -61
- package/dist/templates/next-app/src/pages/_app.tsx +0 -50
- package/dist/templates/next-app/src/pages/_document.tsx +0 -13
- package/dist/templates/next-app/src/proxy.ts +0 -33
- package/dist/templates/next-app/src/server/AppErrorApi.ts +0 -10
- package/dist/templates/next-app/src/server/AppPageRouteParams.ts +0 -110
- package/dist/templates/next-app/src/server/AppSuccessApi.ts +0 -7
- package/dist/templates/next-app/src/server/NextApiServer.ts +0 -61
- package/dist/templates/next-app/src/server/PagesRouteParams.ts +0 -145
- package/dist/templates/next-app/src/server/PasswordEncrypt.ts +0 -18
- package/dist/templates/next-app/src/server/ServerAuth.ts +0 -81
- package/dist/templates/next-app/src/server/SupabaseBridge.ts +0 -262
- package/dist/templates/next-app/src/server/UserCredentialToken.ts +0 -53
- package/dist/templates/next-app/src/server/controllers/AdminLocalesController.ts +0 -86
- package/dist/templates/next-app/src/server/controllers/AdminUserController.ts +0 -42
- package/dist/templates/next-app/src/server/controllers/LocalesController.ts +0 -36
- package/dist/templates/next-app/src/server/controllers/UserController.ts +0 -91
- package/dist/templates/next-app/src/server/port/AIControllerInterface.ts +0 -8
- package/dist/templates/next-app/src/server/port/AdminLocalesControllerInterface.ts +0 -21
- package/dist/templates/next-app/src/server/port/AdminUserControllerInterface.ts +0 -11
- package/dist/templates/next-app/src/server/port/CrentialTokenInterface.ts +0 -5
- package/dist/templates/next-app/src/server/port/DBBridgeInterface.ts +0 -36
- package/dist/templates/next-app/src/server/port/DBTableInterface.ts +0 -12
- package/dist/templates/next-app/src/server/port/LocalesControllerInterface.ts +0 -10
- package/dist/templates/next-app/src/server/port/LocalesRepositoryInterface.ts +0 -43
- package/dist/templates/next-app/src/server/port/PaginationInterface.ts +0 -6
- package/dist/templates/next-app/src/server/port/RouteParamsnHandlerInterface.ts +0 -18
- package/dist/templates/next-app/src/server/port/ServerAuthInterface.ts +0 -15
- package/dist/templates/next-app/src/server/port/ServerInterface.ts +0 -23
- package/dist/templates/next-app/src/server/port/UserRepositoryInterface.ts +0 -15
- package/dist/templates/next-app/src/server/port/UserServiceInterface.ts +0 -14
- package/dist/templates/next-app/src/server/port/ValidatorInterface.ts +0 -23
- package/dist/templates/next-app/src/server/repositorys/LocalesRepository.ts +0 -216
- package/dist/templates/next-app/src/server/repositorys/UserRepository.ts +0 -102
- package/dist/templates/next-app/src/server/services/AIService.ts +0 -45
- package/dist/templates/next-app/src/server/services/AdminAuthPlugin.ts +0 -21
- package/dist/templates/next-app/src/server/services/AdminLocalesService.ts +0 -20
- package/dist/templates/next-app/src/server/services/ApiLocaleService.ts +0 -137
- package/dist/templates/next-app/src/server/services/ApiUserService.ts +0 -29
- package/dist/templates/next-app/src/server/services/UserService.ts +0 -134
- package/dist/templates/next-app/src/server/validators/ExtendedExecutorError.ts +0 -6
- package/dist/templates/next-app/src/server/validators/LocalesValidator.ts +0 -145
- package/dist/templates/next-app/src/server/validators/LoginValidator.ts +0 -82
- package/dist/templates/next-app/src/server/validators/PaginationValidator.ts +0 -70
- package/dist/templates/next-app/src/server/validators/SignupVerifyValidator.ts +0 -68
- package/dist/templates/next-app/src/styles/css/antd-themes/_common/_default.css +0 -280
- package/dist/templates/next-app/src/styles/css/antd-themes/_common/dark.css +0 -233
- package/dist/templates/next-app/src/styles/css/antd-themes/_common/index.css +0 -3
- package/dist/templates/next-app/src/styles/css/antd-themes/_common/pink.css +0 -246
- package/dist/templates/next-app/src/styles/css/antd-themes/index.css +0 -4
- package/dist/templates/next-app/src/styles/css/antd-themes/menu/_default.css +0 -108
- package/dist/templates/next-app/src/styles/css/antd-themes/menu/dark.css +0 -67
- package/dist/templates/next-app/src/styles/css/antd-themes/menu/index.css +0 -3
- package/dist/templates/next-app/src/styles/css/antd-themes/menu/pink.css +0 -67
- package/dist/templates/next-app/src/styles/css/antd-themes/no-context.css +0 -34
- package/dist/templates/next-app/src/styles/css/antd-themes/pagination/_default.css +0 -34
- package/dist/templates/next-app/src/styles/css/antd-themes/pagination/dark.css +0 -31
- package/dist/templates/next-app/src/styles/css/antd-themes/pagination/index.css +0 -3
- package/dist/templates/next-app/src/styles/css/antd-themes/pagination/pink.css +0 -36
- package/dist/templates/next-app/src/styles/css/antd-themes/table/_default.css +0 -44
- package/dist/templates/next-app/src/styles/css/antd-themes/table/dark.css +0 -43
- package/dist/templates/next-app/src/styles/css/antd-themes/table/index.css +0 -3
- package/dist/templates/next-app/src/styles/css/antd-themes/table/pink.css +0 -43
- package/dist/templates/next-app/src/styles/css/index.css +0 -6
- package/dist/templates/next-app/src/styles/css/page.css +0 -20
- package/dist/templates/next-app/src/styles/css/scrollbar.css +0 -34
- package/dist/templates/next-app/src/styles/css/tailwind.css +0 -5
- package/dist/templates/next-app/src/styles/css/themes/_default.css +0 -30
- package/dist/templates/next-app/src/styles/css/themes/dark.css +0 -30
- package/dist/templates/next-app/src/styles/css/themes/index.css +0 -3
- package/dist/templates/next-app/src/styles/css/themes/pink.css +0 -30
- package/dist/templates/next-app/src/styles/css/zIndex.css +0 -9
- package/dist/templates/next-app/src/uikit/components/AdminLayout.tsx +0 -150
- package/dist/templates/next-app/src/uikit/components/BootstrapsProvider.tsx +0 -39
- package/dist/templates/next-app/src/uikit/components/ClientRootProvider.tsx +0 -64
- package/dist/templates/next-app/src/uikit/components/ClientSeo.tsx +0 -36
- package/dist/templates/next-app/src/uikit/components/ClinetRenderProvider.tsx +0 -42
- package/dist/templates/next-app/src/uikit/components/EditableCell.tsx +0 -118
- package/dist/templates/next-app/src/uikit/components/FeatureItem.tsx +0 -13
- package/dist/templates/next-app/src/uikit/components/IOCProvider.tsx +0 -34
- package/dist/templates/next-app/src/uikit/components/LocaleLink.tsx +0 -50
- package/dist/templates/next-app/src/uikit/components/With.tsx +0 -17
- package/dist/templates/next-app/src/uikit/components/localesImportButton/LocalesImportButton.tsx +0 -62
- package/dist/templates/next-app/src/uikit/components/localesImportButton/LocalesImportEvent.ts +0 -28
- package/dist/templates/next-app/src/uikit/components/localesImportButton/import.module.css +0 -6
- package/dist/templates/next-app/src/uikit/components-app/AdminButton.tsx +0 -29
- package/dist/templates/next-app/src/uikit/components-app/AppBridge.tsx +0 -17
- package/dist/templates/next-app/src/uikit/components-app/AppRoutePage.tsx +0 -105
- package/dist/templates/next-app/src/uikit/components-app/AuthButton.tsx +0 -20
- package/dist/templates/next-app/src/uikit/components-app/LanguageSwitcher.tsx +0 -75
- package/dist/templates/next-app/src/uikit/components-app/LogoutButton.tsx +0 -45
- package/dist/templates/next-app/src/uikit/components-app/ThemeSwitcher.tsx +0 -144
- package/dist/templates/next-app/src/uikit/components-pages/LanguageSwitcher.tsx +0 -98
- package/dist/templates/next-app/src/uikit/components-pages/PagesRoutePage.tsx +0 -93
- package/dist/templates/next-app/src/uikit/context/IOCContext.ts +0 -25
- package/dist/templates/next-app/src/uikit/hook/useI18nInterface.ts +0 -22
- package/dist/templates/next-app/src/uikit/hook/useIOC.ts +0 -37
- package/dist/templates/next-app/src/uikit/hook/useStrictEffect.ts +0 -32
- package/dist/templates/next-app/src/uikit/hook/useWarnTranslations.ts +0 -11
- package/dist/templates/next-app/src/uikit/utils/getHashParams.ts +0 -8
- package/dist/templates/next-app/src/uikit/utils/getHashVerifyEmailParams.ts +0 -42
- package/dist/templates/next-app/tailwind.config.ts +0 -8
- package/dist/templates/next-app/tsconfig.json +0 -39
- package/dist/templates/node-lib/__tests__/readJson.test.ts +0 -26
- package/dist/templates/node-lib/bin/test.js +0 -30
- package/dist/templates/node-lib/package.json +0 -66
- package/dist/templates/node-lib/rollup.config.js +0 -79
- package/dist/templates/node-lib/src/index.ts +0 -7
- package/dist/templates/node-lib/src/readJson.ts +0 -12
- package/dist/templates/node-lib/tsconfig.json +0 -23
- package/dist/templates/pack-app/README.md +0 -108
- package/dist/templates/pack-app/eslint.config.js +0 -97
- package/dist/templates/pack-app/fe-config.json +0 -35
- package/dist/templates/pack-app/package.json +0 -86
- package/dist/templates/pack-app/pnpm-workspace.yaml +0 -2
- package/dist/templates/pack-app/tsconfig.json +0 -9
- package/dist/templates/pack-app/tsconfig.test.json +0 -10
- package/dist/templates/pack-app/vite.config.ts +0 -14
- package/dist/templates/react-app/.env.template +0 -22
- package/dist/templates/react-app/.prettierignore +0 -17
- package/dist/templates/react-app/README.en.md +0 -274
- package/dist/templates/react-app/README.md +0 -273
- package/dist/templates/react-app/__tests__/__mocks__/BootstrapTest.ts +0 -16
- package/dist/templates/react-app/__tests__/__mocks__/MockAppConfig.ts +0 -48
- package/dist/templates/react-app/__tests__/__mocks__/MockDialogHandler.ts +0 -17
- package/dist/templates/react-app/__tests__/__mocks__/MockLogger.ts +0 -14
- package/dist/templates/react-app/__tests__/__mocks__/components/TestApp.tsx +0 -38
- package/dist/templates/react-app/__tests__/__mocks__/components/TestBootstrapsProvider.tsx +0 -53
- package/dist/templates/react-app/__tests__/__mocks__/components/TestRouter.tsx +0 -46
- package/dist/templates/react-app/__tests__/__mocks__/components/index.ts +0 -12
- package/dist/templates/react-app/__tests__/__mocks__/createMockGlobals.ts +0 -96
- package/dist/templates/react-app/__tests__/__mocks__/i18nextHttpBackend.ts +0 -110
- package/dist/templates/react-app/__tests__/__mocks__/testIOC/TestIOC.ts +0 -55
- package/dist/templates/react-app/__tests__/__mocks__/testIOC/TestIOCRegister.ts +0 -74
- package/dist/templates/react-app/__tests__/setup/index.ts +0 -1
- package/dist/templates/react-app/__tests__/setup/setupGlobal.ts +0 -64
- package/dist/templates/react-app/__tests__/src/App.structure.test.tsx +0 -115
- package/dist/templates/react-app/__tests__/src/base/cases/AppConfig.test.ts +0 -288
- package/dist/templates/react-app/__tests__/src/base/cases/DialogHandler.test.ts +0 -226
- package/dist/templates/react-app/__tests__/src/base/cases/I18nKeyErrorPlugin.test.ts +0 -178
- package/dist/templates/react-app/__tests__/src/base/cases/InversifyContainer.test.ts +0 -181
- package/dist/templates/react-app/__tests__/src/base/cases/PublicAssetsPath.test.ts +0 -61
- package/dist/templates/react-app/__tests__/src/base/cases/RequestLogger.test.ts +0 -177
- package/dist/templates/react-app/__tests__/src/base/cases/RequestStatusCatcher.test.ts +0 -191
- package/dist/templates/react-app/__tests__/src/base/cases/RouterLoader.test.ts +0 -245
- package/dist/templates/react-app/__tests__/src/base/services/I18nService.test.ts +0 -240
- package/dist/templates/react-app/__tests__/src/core/IOC.test.ts +0 -242
- package/dist/templates/react-app/__tests__/src/core/bootstraps/BootstrapClient.test.ts +0 -135
- package/dist/templates/react-app/__tests__/src/core/bootstraps/BootstrapsApp.test.ts +0 -74
- package/dist/templates/react-app/__tests__/src/main.test.tsx +0 -46
- package/dist/templates/react-app/__tests__/src/uikit/components/BaseHeader.test.tsx +0 -97
- package/dist/templates/react-app/__tests__/src/uikit/components/chatMessage/ChatRoot.test.tsx +0 -274
- package/dist/templates/react-app/config/IOCIdentifier.ts +0 -91
- package/dist/templates/react-app/config/Identifier/common/common.error.ts +0 -34
- package/dist/templates/react-app/config/Identifier/common/common.ts +0 -62
- package/dist/templates/react-app/config/Identifier/common/index.ts +0 -2
- package/dist/templates/react-app/config/Identifier/components/component.chatMessage.ts +0 -56
- package/dist/templates/react-app/config/Identifier/components/component.messageBaseList.ts +0 -103
- package/dist/templates/react-app/config/Identifier/index.ts +0 -2
- package/dist/templates/react-app/config/Identifier/pages/index.ts +0 -9
- package/dist/templates/react-app/config/Identifier/pages/page.about.ts +0 -189
- package/dist/templates/react-app/config/Identifier/pages/page.executor.ts +0 -275
- package/dist/templates/react-app/config/Identifier/pages/page.home.ts +0 -71
- package/dist/templates/react-app/config/Identifier/pages/page.identifiter.ts +0 -102
- package/dist/templates/react-app/config/Identifier/pages/page.jsonStorage.ts +0 -77
- package/dist/templates/react-app/config/Identifier/pages/page.login.ts +0 -162
- package/dist/templates/react-app/config/Identifier/pages/page.message.ts +0 -20
- package/dist/templates/react-app/config/Identifier/pages/page.register.ts +0 -159
- package/dist/templates/react-app/config/Identifier/pages/page.request.ts +0 -169
- package/dist/templates/react-app/config/app.router.ts +0 -338
- package/dist/templates/react-app/config/common.ts +0 -85
- package/dist/templates/react-app/config/feapi.mock.json +0 -34
- package/dist/templates/react-app/config/i18n/PageI18nInterface.ts +0 -53
- package/dist/templates/react-app/config/i18n/aboutI18n.ts +0 -42
- package/dist/templates/react-app/config/i18n/chatMessageI18n.ts +0 -17
- package/dist/templates/react-app/config/i18n/executorI18n.ts +0 -51
- package/dist/templates/react-app/config/i18n/homeI18n.ts +0 -24
- package/dist/templates/react-app/config/i18n/i18nConfig.ts +0 -30
- package/dist/templates/react-app/config/i18n/identifiter18n.ts +0 -30
- package/dist/templates/react-app/config/i18n/jsonStorage18n.ts +0 -27
- package/dist/templates/react-app/config/i18n/login18n.ts +0 -42
- package/dist/templates/react-app/config/i18n/messageBaseListI18n.ts +0 -22
- package/dist/templates/react-app/config/i18n/messageI18n.ts +0 -14
- package/dist/templates/react-app/config/i18n/notFoundI18n.ts +0 -34
- package/dist/templates/react-app/config/i18n/register18n.ts +0 -40
- package/dist/templates/react-app/config/i18n/request18n.ts +0 -41
- package/dist/templates/react-app/config/theme.ts +0 -21
- package/dist/templates/react-app/docs/en/bootstrap.md +0 -1891
- package/dist/templates/react-app/docs/en/components/chat-message-component.md +0 -320
- package/dist/templates/react-app/docs/en/components/chat-message-refactor.md +0 -283
- package/dist/templates/react-app/docs/en/components/message-base-list-component.md +0 -171
- package/dist/templates/react-app/docs/en/development-guide.md +0 -1199
- package/dist/templates/react-app/docs/en/env.md +0 -1336
- package/dist/templates/react-app/docs/en/global.md +0 -509
- package/dist/templates/react-app/docs/en/i18n.md +0 -979
- package/dist/templates/react-app/docs/en/index.md +0 -802
- package/dist/templates/react-app/docs/en/ioc.md +0 -1365
- package/dist/templates/react-app/docs/en/playwright/e2e-tests.md +0 -321
- package/dist/templates/react-app/docs/en/playwright/index.md +0 -19
- package/dist/templates/react-app/docs/en/playwright/installation-summary.md +0 -332
- package/dist/templates/react-app/docs/en/playwright/overview.md +0 -222
- package/dist/templates/react-app/docs/en/playwright/quickstart.md +0 -325
- package/dist/templates/react-app/docs/en/playwright/reorganization-notes.md +0 -340
- package/dist/templates/react-app/docs/en/playwright/setup-complete.md +0 -290
- package/dist/templates/react-app/docs/en/playwright/testing-guide.md +0 -565
- package/dist/templates/react-app/docs/en/request.md +0 -423
- package/dist/templates/react-app/docs/en/router.md +0 -404
- package/dist/templates/react-app/docs/en/store.md +0 -1331
- package/dist/templates/react-app/docs/en/test-guide.md +0 -976
- package/dist/templates/react-app/docs/en/theme.md +0 -424
- package/dist/templates/react-app/docs/en/typescript-guide.md +0 -473
- package/dist/templates/react-app/docs/en/why-no-globals.md +0 -797
- package/dist/templates/react-app/docs/zh/bootstrap.md +0 -1891
- package/dist/templates/react-app/docs/zh/components/chat-message-component.md +0 -320
- package/dist/templates/react-app/docs/zh/components/chat-message-refactor.md +0 -283
- package/dist/templates/react-app/docs/zh/components/message-base-list-component.md +0 -171
- package/dist/templates/react-app/docs/zh/development-guide.md +0 -1199
- package/dist/templates/react-app/docs/zh/env.md +0 -1336
- package/dist/templates/react-app/docs/zh/global.md +0 -511
- package/dist/templates/react-app/docs/zh/i18n.md +0 -979
- package/dist/templates/react-app/docs/zh/index.md +0 -786
- package/dist/templates/react-app/docs/zh/ioc.md +0 -1364
- package/dist/templates/react-app/docs/zh/playwright/e2e-tests.md +0 -321
- package/dist/templates/react-app/docs/zh/playwright/index.md +0 -19
- package/dist/templates/react-app/docs/zh/playwright/installation-summary.md +0 -332
- package/dist/templates/react-app/docs/zh/playwright/overview.md +0 -222
- package/dist/templates/react-app/docs/zh/playwright/quickstart.md +0 -325
- package/dist/templates/react-app/docs/zh/playwright/reorganization-notes.md +0 -340
- package/dist/templates/react-app/docs/zh/playwright/setup-complete.md +0 -290
- package/dist/templates/react-app/docs/zh/playwright/testing-guide.md +0 -565
- package/dist/templates/react-app/docs/zh/request.md +0 -427
- package/dist/templates/react-app/docs/zh/router.md +0 -408
- package/dist/templates/react-app/docs/zh/store.md +0 -1329
- package/dist/templates/react-app/docs/zh/test-guide.md +0 -976
- package/dist/templates/react-app/docs/zh/theme.md +0 -424
- package/dist/templates/react-app/docs/zh/typescript-guide.md +0 -473
- package/dist/templates/react-app/docs/zh/why-no-globals.md +0 -797
- package/dist/templates/react-app/e2e/App.spec.ts +0 -319
- package/dist/templates/react-app/e2e/fixtures/base.fixture.ts +0 -40
- package/dist/templates/react-app/e2e/main.spec.ts +0 -20
- package/dist/templates/react-app/e2e/utils/test-helpers.ts +0 -19
- package/dist/templates/react-app/eslint.config.mjs +0 -325
- package/dist/templates/react-app/index.html +0 -13
- package/dist/templates/react-app/makes/generateTs2LocalesOptions.ts +0 -26
- package/dist/templates/react-app/package.json +0 -125
- package/dist/templates/react-app/playwright.config.ts +0 -79
- package/dist/templates/react-app/postcss.config.js +0 -5
- package/dist/templates/react-app/public/locales/en/common.json +0 -235
- package/dist/templates/react-app/public/locales/zh/common.json +0 -235
- package/dist/templates/react-app/public/logo.svg +0 -1
- package/dist/templates/react-app/public/router-root/logo.svg +0 -1
- package/dist/templates/react-app/src/App.tsx +0 -35
- package/dist/templates/react-app/src/assets/react.svg +0 -1
- package/dist/templates/react-app/src/base/apis/AiApi.ts +0 -68
- package/dist/templates/react-app/src/base/apis/feApi/FeApi.ts +0 -29
- package/dist/templates/react-app/src/base/apis/feApi/FeApiAdapter.ts +0 -14
- package/dist/templates/react-app/src/base/apis/feApi/FeApiBootstarp.ts +0 -86
- package/dist/templates/react-app/src/base/apis/feApi/FeApiType.ts +0 -21
- package/dist/templates/react-app/src/base/apis/userApi/UserApi.ts +0 -142
- package/dist/templates/react-app/src/base/apis/userApi/UserApiAdapter.ts +0 -14
- package/dist/templates/react-app/src/base/apis/userApi/UserApiBootstarp.ts +0 -86
- package/dist/templates/react-app/src/base/apis/userApi/UserApiType.ts +0 -70
- package/dist/templates/react-app/src/base/cases/AppConfig.ts +0 -123
- package/dist/templates/react-app/src/base/cases/DialogHandler.ts +0 -115
- package/dist/templates/react-app/src/base/cases/I18nKeyErrorPlugin.ts +0 -64
- package/dist/templates/react-app/src/base/cases/InversifyContainer.ts +0 -45
- package/dist/templates/react-app/src/base/cases/PublicAssetsPath.ts +0 -23
- package/dist/templates/react-app/src/base/cases/RequestLanguages.ts +0 -55
- package/dist/templates/react-app/src/base/cases/RequestLogger.ts +0 -80
- package/dist/templates/react-app/src/base/cases/RequestStatusCatcher.ts +0 -40
- package/dist/templates/react-app/src/base/cases/ResourceState.ts +0 -23
- package/dist/templates/react-app/src/base/cases/RouterLoader.ts +0 -173
- package/dist/templates/react-app/src/base/cases/TranslateI18nInterface.ts +0 -26
- package/dist/templates/react-app/src/base/port/ExecutorPageBridgeInterface.ts +0 -23
- package/dist/templates/react-app/src/base/port/I18nServiceInterface.ts +0 -10
- package/dist/templates/react-app/src/base/port/IOCInterface.ts +0 -38
- package/dist/templates/react-app/src/base/port/JSONStoragePageBridgeInterface.ts +0 -21
- package/dist/templates/react-app/src/base/port/RequestPageBridgeInterface.ts +0 -23
- package/dist/templates/react-app/src/base/port/RequestStatusInterface.ts +0 -5
- package/dist/templates/react-app/src/base/port/RouteServiceInterface.ts +0 -29
- package/dist/templates/react-app/src/base/port/UserServiceInterface.ts +0 -20
- package/dist/templates/react-app/src/base/services/BaseLayoutService.ts +0 -61
- package/dist/templates/react-app/src/base/services/I18nService.ts +0 -146
- package/dist/templates/react-app/src/base/services/IdentifierService.ts +0 -162
- package/dist/templates/react-app/src/base/services/RouteService.ts +0 -115
- package/dist/templates/react-app/src/base/services/UserBootstrap.ts +0 -45
- package/dist/templates/react-app/src/base/services/UserService.ts +0 -88
- package/dist/templates/react-app/src/base/types/Page.ts +0 -47
- package/dist/templates/react-app/src/base/types/deprecated-antd.d.ts +0 -60
- package/dist/templates/react-app/src/base/types/global.d.ts +0 -8
- package/dist/templates/react-app/src/core/IOC.ts +0 -28
- package/dist/templates/react-app/src/core/bootstraps/BootstrapClient.ts +0 -108
- package/dist/templates/react-app/src/core/bootstraps/BootstrapsRegistry.ts +0 -54
- package/dist/templates/react-app/src/core/bootstraps/IocIdentifierTest.ts +0 -26
- package/dist/templates/react-app/src/core/bootstraps/PrintBootstrap.ts +0 -14
- package/dist/templates/react-app/src/core/bootstraps/SaveAppInfo.ts +0 -28
- package/dist/templates/react-app/src/core/clientIoc/ClientIOC.ts +0 -47
- package/dist/templates/react-app/src/core/clientIoc/ClientIOCRegister.ts +0 -142
- package/dist/templates/react-app/src/core/globals.ts +0 -47
- package/dist/templates/react-app/src/main.tsx +0 -19
- package/dist/templates/react-app/src/pages/404.tsx +0 -19
- package/dist/templates/react-app/src/pages/500.tsx +0 -18
- package/dist/templates/react-app/src/pages/NoRouteFound.tsx +0 -5
- package/dist/templates/react-app/src/pages/auth/Layout.tsx +0 -27
- package/dist/templates/react-app/src/pages/auth/LoginPage.tsx +0 -166
- package/dist/templates/react-app/src/pages/auth/RegisterPage.tsx +0 -226
- package/dist/templates/react-app/src/pages/base/AboutPage.tsx +0 -123
- package/dist/templates/react-app/src/pages/base/ExecutorPage.tsx +0 -467
- package/dist/templates/react-app/src/pages/base/HomePage.tsx +0 -81
- package/dist/templates/react-app/src/pages/base/IdentifierPage.tsx +0 -117
- package/dist/templates/react-app/src/pages/base/JSONStoragePage.tsx +0 -132
- package/dist/templates/react-app/src/pages/base/Layout.tsx +0 -20
- package/dist/templates/react-app/src/pages/base/MessagePage.tsx +0 -71
- package/dist/templates/react-app/src/pages/base/RedirectPathname.tsx +0 -18
- package/dist/templates/react-app/src/pages/base/RequestPage.tsx +0 -193
- package/dist/templates/react-app/src/styles/css/antd-themes/_common/_default.css +0 -280
- package/dist/templates/react-app/src/styles/css/antd-themes/_common/dark.css +0 -233
- package/dist/templates/react-app/src/styles/css/antd-themes/_common/index.css +0 -3
- package/dist/templates/react-app/src/styles/css/antd-themes/_common/pink.css +0 -246
- package/dist/templates/react-app/src/styles/css/antd-themes/index.css +0 -4
- package/dist/templates/react-app/src/styles/css/antd-themes/menu/_default.css +0 -108
- package/dist/templates/react-app/src/styles/css/antd-themes/menu/dark.css +0 -67
- package/dist/templates/react-app/src/styles/css/antd-themes/menu/index.css +0 -3
- package/dist/templates/react-app/src/styles/css/antd-themes/menu/pink.css +0 -67
- package/dist/templates/react-app/src/styles/css/antd-themes/no-context.css +0 -34
- package/dist/templates/react-app/src/styles/css/antd-themes/pagination/_default.css +0 -34
- package/dist/templates/react-app/src/styles/css/antd-themes/pagination/dark.css +0 -31
- package/dist/templates/react-app/src/styles/css/antd-themes/pagination/index.css +0 -3
- package/dist/templates/react-app/src/styles/css/antd-themes/pagination/pink.css +0 -36
- package/dist/templates/react-app/src/styles/css/antd-themes/table/_default.css +0 -44
- package/dist/templates/react-app/src/styles/css/antd-themes/table/dark.css +0 -43
- package/dist/templates/react-app/src/styles/css/antd-themes/table/index.css +0 -3
- package/dist/templates/react-app/src/styles/css/antd-themes/table/pink.css +0 -43
- package/dist/templates/react-app/src/styles/css/index.css +0 -6
- package/dist/templates/react-app/src/styles/css/page.css +0 -20
- package/dist/templates/react-app/src/styles/css/scrollbar.css +0 -34
- package/dist/templates/react-app/src/styles/css/tailwind.css +0 -5
- package/dist/templates/react-app/src/styles/css/themes/_default.css +0 -30
- package/dist/templates/react-app/src/styles/css/themes/dark.css +0 -30
- package/dist/templates/react-app/src/styles/css/themes/index.css +0 -3
- package/dist/templates/react-app/src/styles/css/themes/pink.css +0 -30
- package/dist/templates/react-app/src/styles/css/zIndex.css +0 -9
- package/dist/templates/react-app/src/uikit/bridges/ExecutorPageBridge.ts +0 -72
- package/dist/templates/react-app/src/uikit/bridges/JSONStoragePageBridge.ts +0 -41
- package/dist/templates/react-app/src/uikit/bridges/NavigateBridge.ts +0 -22
- package/dist/templates/react-app/src/uikit/bridges/RequestPageBridge.ts +0 -136
- package/dist/templates/react-app/src/uikit/components/AppRouterProvider.tsx +0 -35
- package/dist/templates/react-app/src/uikit/components/BaseHeader.tsx +0 -51
- package/dist/templates/react-app/src/uikit/components/BaseLayoutProvider.tsx +0 -44
- package/dist/templates/react-app/src/uikit/components/BaseRouteProvider.tsx +0 -21
- package/dist/templates/react-app/src/uikit/components/BaseRouteSeo.tsx +0 -18
- package/dist/templates/react-app/src/uikit/components/BootstrapsProvider.tsx +0 -11
- package/dist/templates/react-app/src/uikit/components/ClientSeo.tsx +0 -62
- package/dist/templates/react-app/src/uikit/components/ComboProvider.tsx +0 -38
- package/dist/templates/react-app/src/uikit/components/LanguageSwitcher.tsx +0 -78
- package/dist/templates/react-app/src/uikit/components/Loading.tsx +0 -49
- package/dist/templates/react-app/src/uikit/components/LocaleLink.tsx +0 -43
- package/dist/templates/react-app/src/uikit/components/LogoutButton.tsx +0 -58
- package/dist/templates/react-app/src/uikit/components/MessageBaseList.tsx +0 -258
- package/dist/templates/react-app/src/uikit/components/RouterRenderComponent.tsx +0 -19
- package/dist/templates/react-app/src/uikit/components/ThemeSwitcher.tsx +0 -137
- package/dist/templates/react-app/src/uikit/components/With.tsx +0 -17
- package/dist/templates/react-app/src/uikit/components/chatMessage/ChatMessageBridge.ts +0 -205
- package/dist/templates/react-app/src/uikit/components/chatMessage/ChatRoot.tsx +0 -21
- package/dist/templates/react-app/src/uikit/components/chatMessage/FocusBar.tsx +0 -108
- package/dist/templates/react-app/src/uikit/components/chatMessage/MessageApi.ts +0 -282
- package/dist/templates/react-app/src/uikit/components/chatMessage/MessageItem.tsx +0 -102
- package/dist/templates/react-app/src/uikit/components/chatMessage/MessagesList.tsx +0 -86
- package/dist/templates/react-app/src/uikit/contexts/BaseRouteContext.ts +0 -42
- package/dist/templates/react-app/src/uikit/contexts/IOCContext.ts +0 -13
- package/dist/templates/react-app/src/uikit/hooks/useAppTranslation.ts +0 -26
- package/dist/templates/react-app/src/uikit/hooks/useI18nInterface.ts +0 -25
- package/dist/templates/react-app/src/uikit/hooks/useIOC.ts +0 -35
- package/dist/templates/react-app/src/uikit/hooks/useNavigateBridge.ts +0 -21
- package/dist/templates/react-app/src/uikit/hooks/useRouterI18nGuard.ts +0 -25
- package/dist/templates/react-app/src/uikit/hooks/useStrictEffect.ts +0 -31
- package/dist/templates/react-app/src/vite-env.d.ts +0 -1
- package/dist/templates/react-app/tailwind.config.js +0 -4
- package/dist/templates/react-app/tsconfig.app.json +0 -36
- package/dist/templates/react-app/tsconfig.e2e.json +0 -24
- package/dist/templates/react-app/tsconfig.json +0 -22
- package/dist/templates/react-app/tsconfig.node.json +0 -27
- package/dist/templates/react-app/tsconfig.test.json +0 -18
- package/dist/templates/react-app/vite.config.ts +0 -144
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"api:user__not_found": "User not found",
|
|
3
|
-
"api:user__already_exists": "User already exists",
|
|
4
|
-
"api:RESPONSE_NOT_OK": "Response not correct",
|
|
5
|
-
"api:not_authorized": "Not authorized",
|
|
6
|
-
"api:page__invalid": "Page number is incorrect",
|
|
7
|
-
"common:admin_table__create": "New",
|
|
8
|
-
"common:admin_table__refresh": "Refresh",
|
|
9
|
-
"common:admin_table__search": "Search",
|
|
10
|
-
"common:admin_table__reset": "Reset",
|
|
11
|
-
"common:admin_table__export": "Export",
|
|
12
|
-
"common:admin_table__settings": "Settings",
|
|
13
|
-
"common:admin_table__action": "Action",
|
|
14
|
-
"common:admin_table__edit": "Edit",
|
|
15
|
-
"common:admin_table__delete": "Delete",
|
|
16
|
-
"common:admin_table__detail": "Detail",
|
|
17
|
-
"common:save": "Save",
|
|
18
|
-
"common:cancel": "Cancel",
|
|
19
|
-
"common:create": "Create",
|
|
20
|
-
"common:detail": "Detail",
|
|
21
|
-
"common:theme__default": "Default Theme",
|
|
22
|
-
"common:theme__light": "Light Theme",
|
|
23
|
-
"common:theme__dark": "Dark Theme",
|
|
24
|
-
"common:theme__pink": "Pink Theme",
|
|
25
|
-
"common:admin__title": "Admin Backend",
|
|
26
|
-
"common:logout__dialog__title": "Logout",
|
|
27
|
-
"common:logout__dialog__content": "Are you sure you want to logout?",
|
|
28
|
-
"common:i18n_key_invalid": "I18n key format is incorrect",
|
|
29
|
-
"common:manifest__name": "Application Name",
|
|
30
|
-
"common:v:login_params_required": "Not a valid login parameter",
|
|
31
|
-
"common:v:email_invalid": "Invalid email format validation message",
|
|
32
|
-
"common:v:password_min_length": "Password minimum length validation message(6)",
|
|
33
|
-
"common:v:password_max_length": "Password maximum length validation message(50)",
|
|
34
|
-
"common:v:password_special_chars": "Password cannot contain whitespace characters validation message",
|
|
35
|
-
"page_about:title": "About Us",
|
|
36
|
-
"page_about:description": "Learn about our team and mission",
|
|
37
|
-
"page_about:keywords": "About us, team, mission",
|
|
38
|
-
"admin_home:title": "Admin page",
|
|
39
|
-
"admin_home:description": "Admin page",
|
|
40
|
-
"admin_home:keywords": "Admin page",
|
|
41
|
-
"admin_home:welcome": "Welcome to the admin page",
|
|
42
|
-
"admin_locales:title": "Admin locales page",
|
|
43
|
-
"admin_locales:description": "Admin locales page",
|
|
44
|
-
"admin_locales:keywords": "Admin locales page keywords",
|
|
45
|
-
"admin_locales:id__title": "id title",
|
|
46
|
-
"admin_locales:id__description": "id description",
|
|
47
|
-
"admin_locales:id__label": "id label",
|
|
48
|
-
"admin_locales:id__placeholder": "id placeholder",
|
|
49
|
-
"admin_locales:id__error": "id error",
|
|
50
|
-
"admin_locales:value__title": "value title",
|
|
51
|
-
"admin_locales:value__label": "value label",
|
|
52
|
-
"admin_locales:value__placeholder": "value placeholder",
|
|
53
|
-
"admin_locales:en__title": "en title",
|
|
54
|
-
"admin_locales:en__label": "en label",
|
|
55
|
-
"admin_locales:en__placeholder": "en placeholder",
|
|
56
|
-
"admin_locales:zh__title": "zh title",
|
|
57
|
-
"admin_locales:zh__label": "zh label",
|
|
58
|
-
"admin_locales:zh__placeholder": "zh placeholder",
|
|
59
|
-
"admin_locales:description__title": "description title",
|
|
60
|
-
"admin_locales:description__label": "description label",
|
|
61
|
-
"admin_locales:description__placeholder": "description placeholder",
|
|
62
|
-
"admin_locales:namespace__title": "namespace title",
|
|
63
|
-
"admin_locales:namespace__label": "namespace label",
|
|
64
|
-
"admin_locales:namespace__placeholder": "namespace placeholder",
|
|
65
|
-
"admin_locales:created_at__title": "created at title",
|
|
66
|
-
"admin_locales:created_at__label": "created at label",
|
|
67
|
-
"admin_locales:created_at__placeholder": "created at placeholder",
|
|
68
|
-
"admin_locales:updated_at__title": "updated at title",
|
|
69
|
-
"admin_locales:updated_at__label": "updated at label",
|
|
70
|
-
"admin_locales:updated_at__placeholder": "updated at placeholder",
|
|
71
|
-
"admin_locales:import__title": "Import i18n",
|
|
72
|
-
"admin_locales:import__zh__title": "Import zh data",
|
|
73
|
-
"admin_locales:import__en__title": "Import en data",
|
|
74
|
-
"admin_locales:create__title": "Create i18n",
|
|
75
|
-
"admin_locales:edit__title": "Edit i18n",
|
|
76
|
-
"admin_locales:detail__title": "View i18n",
|
|
77
|
-
"admin_locales:delete__title": "Delete i18n",
|
|
78
|
-
"admin_locales:delete__content": "Delete i18n content",
|
|
79
|
-
"admin_users:title": "Admin users page",
|
|
80
|
-
"admin_users:description": "Admin users page",
|
|
81
|
-
"admin_users:keywords": "Admin users page keywords",
|
|
82
|
-
"admin_users:create__title": "Create user",
|
|
83
|
-
"admin_users:edit__title": "Edit user",
|
|
84
|
-
"admin_users:detail__title": "View user",
|
|
85
|
-
"admin_users:delete__title": "Delete user",
|
|
86
|
-
"admin_users:delete__content": "Delete user content",
|
|
87
|
-
"admin_users:id__title": "ID",
|
|
88
|
-
"admin_users:id__description": "Description",
|
|
89
|
-
"admin_users:id__label": "ID label",
|
|
90
|
-
"admin_users:id__placeholder": "ID placeholder",
|
|
91
|
-
"admin_users:role__title": "Role",
|
|
92
|
-
"admin_users:role__description": "Role description",
|
|
93
|
-
"admin_users:role__label": "Role label",
|
|
94
|
-
"admin_users:role__placeholder": "Role placeholder",
|
|
95
|
-
"admin_users:email__title": "Email",
|
|
96
|
-
"admin_users:email__description": "Email description",
|
|
97
|
-
"admin_users:email__label": "Email label",
|
|
98
|
-
"admin_users:email__placeholder": "Email placeholder",
|
|
99
|
-
"admin_users:password__title": "Password",
|
|
100
|
-
"admin_users:password__description": "User password",
|
|
101
|
-
"admin_users:password__label": "Password",
|
|
102
|
-
"admin_users:password__placeholder": "Please enter password",
|
|
103
|
-
"admin_users:credential_token__title": "Credential Token",
|
|
104
|
-
"admin_users:credential_token__description": "User credential token",
|
|
105
|
-
"admin_users:credential_token__label": "Credential Token",
|
|
106
|
-
"admin_users:credential_token__placeholder": "Credential token",
|
|
107
|
-
"admin_users:email_confirmed_at__title": "Email Confirmed At",
|
|
108
|
-
"admin_users:email_confirmed_at__description": "Email confirmed at timestamp",
|
|
109
|
-
"admin_users:email_confirmed_at__label": "Email Confirmed At",
|
|
110
|
-
"admin_users:email_confirmed_at__placeholder": "Email confirmed at",
|
|
111
|
-
"admin_users:created_at__title": "Created At",
|
|
112
|
-
"admin_users:created_at__description": "User creation timestamp",
|
|
113
|
-
"admin_users:created_at__label": "Created At",
|
|
114
|
-
"admin_users:created_at__placeholder": "Created at",
|
|
115
|
-
"admin_users:updated_at__title": "Updated At",
|
|
116
|
-
"admin_users:updated_at__description": "User update timestamp",
|
|
117
|
-
"admin_users:updated_at__label": "Updated At",
|
|
118
|
-
"admin_users:updated_at__placeholder": "Updated at",
|
|
119
|
-
"page_home:title": "Home",
|
|
120
|
-
"page_home:description": "A modern frontend utility library collection providing various practical tools and components",
|
|
121
|
-
"page_home:keywords": "Modern frontend utility library, practical tools, components",
|
|
122
|
-
"page_home:welcome": "Welcome to the home page",
|
|
123
|
-
"page_home:introduction": "A modern frontend utility library collection providing various practical tools and components",
|
|
124
|
-
"page_home:get_started": "Ready to Get Started?",
|
|
125
|
-
"page_home:get_started__description": "Join us and discover the power of our utilities",
|
|
126
|
-
"page_home:get_started__button": "Get Started Now",
|
|
127
|
-
"page_login:title": "Login",
|
|
128
|
-
"page_login:description": "Login Page Description",
|
|
129
|
-
"page_login:content": "Login Page Content",
|
|
130
|
-
"page_login:keywords": "Login Page Keywords",
|
|
131
|
-
"page_login:email": "Email",
|
|
132
|
-
"page_login:username": "Username",
|
|
133
|
-
"page_login:password": "Password",
|
|
134
|
-
"page_login:login": "Login",
|
|
135
|
-
"page_login:welcome": "Welcome to the future of learning",
|
|
136
|
-
"page_login:subtitle": "Unlock personalized AI-powered learning experiences designed to accelerate your knowledge journey__",
|
|
137
|
-
"page_login:forgot_password": "Forgot your password?",
|
|
138
|
-
"page_login:continue_with": "or continue with",
|
|
139
|
-
"page_login:with_google": "Sign in with Google",
|
|
140
|
-
"page_login:no_account": "Don't have an account?",
|
|
141
|
-
"page_login:create_account": "Create one here",
|
|
142
|
-
"page_login:email_required": "Please input a valid email!",
|
|
143
|
-
"page_login:password_required": "Please input your password!",
|
|
144
|
-
"page_login:feature__ai_paths": "AI-powered personalized learning paths",
|
|
145
|
-
"page_login:feature__smart": "Smart content recommendations",
|
|
146
|
-
"page_login:tracking": "Real-time progress tracking",
|
|
147
|
-
"page_login:email2": "Enter email",
|
|
148
|
-
"page_login:password2": "Enter password",
|
|
149
|
-
"page_login:forgot_password2": "Reset password",
|
|
150
|
-
"page_login:button2": "Sign in to account",
|
|
151
|
-
"page_login:with_google2": "Sign in with Google account",
|
|
152
|
-
"page_login:create_account2": "Create new account",
|
|
153
|
-
"page_register:title": "Create Account",
|
|
154
|
-
"page_register:description": "Create Account Page Description",
|
|
155
|
-
"page_register:content": "Create Account Page Content",
|
|
156
|
-
"page_register:keywords": "Create Account Page Keywords",
|
|
157
|
-
"page_register:welcome": "Welcome to our platform",
|
|
158
|
-
"page_register:subtitle": "Start your learning journey",
|
|
159
|
-
"page_register:ai_paths": "AI Paths",
|
|
160
|
-
"page_register:recommendations": "Smart Recommendations",
|
|
161
|
-
"page_register:tracking": "Progress Tracking",
|
|
162
|
-
"page_register:username": "Username",
|
|
163
|
-
"page_register:username_required": "Please input your username!",
|
|
164
|
-
"page_register:email": "Email",
|
|
165
|
-
"page_register:email_required": "Please input your email!",
|
|
166
|
-
"page_register:password": "Password",
|
|
167
|
-
"page_register:password_required": "Please input your password!",
|
|
168
|
-
"page_register:confirm_password": "Confirm Password",
|
|
169
|
-
"page_register:confirm_password_required": "Please confirm your password!",
|
|
170
|
-
"page_register:password_mismatch": "The passwords you entered don't match!",
|
|
171
|
-
"page_register:button": "Register",
|
|
172
|
-
"page_register:terms_prefix": "By registering, you agree to our",
|
|
173
|
-
"page_register:terms_link": "Terms of Service",
|
|
174
|
-
"page_register:terms_and": "and",
|
|
175
|
-
"page_register:privacy_link": "Privacy Policy",
|
|
176
|
-
"page_register:have_account": "Already have an account?",
|
|
177
|
-
"page_register:login_link": "Sign in",
|
|
178
|
-
"page_register:terms_required": "Please agree to the Terms of Service and Privacy Policy",
|
|
179
|
-
"api:user__not_verfified": "User not verified",
|
|
180
|
-
"page_register:email_verify_title": "Please check your email to complete the registration",
|
|
181
|
-
"page_home:welcome_with_user": "Welcome {email} to the homepage"
|
|
182
|
-
}
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"api:user__not_found": "用户未找到",
|
|
3
|
-
"api:user__already_exists": "用户已存在",
|
|
4
|
-
"api:RESPONSE_NOT_OK": "响应不正确",
|
|
5
|
-
"api:not_authorized": "未授权",
|
|
6
|
-
"api:page__invalid": "页码不正确",
|
|
7
|
-
"common:admin_table__create": "新建",
|
|
8
|
-
"common:admin_table__refresh": "刷新",
|
|
9
|
-
"common:admin_table__search": "搜索",
|
|
10
|
-
"common:admin_table__reset": "重置",
|
|
11
|
-
"common:admin_table__export": "导出",
|
|
12
|
-
"common:admin_table__settings": "设置",
|
|
13
|
-
"common:admin_table__action": "操作",
|
|
14
|
-
"common:admin_table__edit": "编辑",
|
|
15
|
-
"common:admin_table__delete": "删除",
|
|
16
|
-
"common:admin_table__detail": "详情",
|
|
17
|
-
"common:save": "保存",
|
|
18
|
-
"common:cancel": "取消",
|
|
19
|
-
"common:create": "创建",
|
|
20
|
-
"common:detail": "详情",
|
|
21
|
-
"common:theme__default": "默认主题",
|
|
22
|
-
"common:theme__light": "亮色主题",
|
|
23
|
-
"common:theme__dark": "暗色主题",
|
|
24
|
-
"common:theme__pink": "粉色主题",
|
|
25
|
-
"common:admin__title": "管理后台",
|
|
26
|
-
"common:logout__dialog__title": "登出",
|
|
27
|
-
"common:logout__dialog__content": "确定要登出吗?",
|
|
28
|
-
"common:i18n_key_invalid": "i18n 键格式不正确",
|
|
29
|
-
"common:manifest__name": "应用名称",
|
|
30
|
-
"common:v:login_params_required": "不是一个有效的登录参数",
|
|
31
|
-
"common:v:email_invalid": "邮箱格式无效的验证消息",
|
|
32
|
-
"common:v:password_min_length": "密码最小长度验证消息(6)",
|
|
33
|
-
"common:v:password_max_length": "密码最大长度验证消息(50)",
|
|
34
|
-
"common:v:password_special_chars": "密码不能包含空格的验证消息",
|
|
35
|
-
"page_about:title": "关于我们",
|
|
36
|
-
"page_about:description": "了解我们的团队和使命",
|
|
37
|
-
"page_about:keywords": "关于我们, 团队, 使命",
|
|
38
|
-
"admin_home:title": "管理员页面",
|
|
39
|
-
"admin_home:description": "管理员页面",
|
|
40
|
-
"admin_home:keywords": "管理员页面关键词",
|
|
41
|
-
"admin_home:welcome": "欢迎来到管理员页面",
|
|
42
|
-
"admin_locales:title": "后台管理 - 管理员语言页面",
|
|
43
|
-
"admin_locales:description": "后台管理 - 管理员语言页面",
|
|
44
|
-
"admin_locales:keywords": "后台管理 - 管理员语言页面关键词",
|
|
45
|
-
"admin_locales:id__title": "id 标题",
|
|
46
|
-
"admin_locales:id__description": "后台管理 - 管理员语言页面 id 描述",
|
|
47
|
-
"admin_locales:id__label": "后台管理 - 管理员语言页面 id 标签",
|
|
48
|
-
"admin_locales:id__placeholder": "id 占位符",
|
|
49
|
-
"admin_locales:id__error": "id 错误",
|
|
50
|
-
"admin_locales:value__title": "value 标题",
|
|
51
|
-
"admin_locales:value__label": "value 标签",
|
|
52
|
-
"admin_locales:value__placeholder": "value 占位符",
|
|
53
|
-
"admin_locales:en__title": "en 标题",
|
|
54
|
-
"admin_locales:en__label": "en 标签",
|
|
55
|
-
"admin_locales:en__placeholder": "en 占位符",
|
|
56
|
-
"admin_locales:zh__title": "zh 标题",
|
|
57
|
-
"admin_locales:zh__label": "zh 标签",
|
|
58
|
-
"admin_locales:zh__placeholder": "zh 占位符",
|
|
59
|
-
"admin_locales:description__title": "description 标题",
|
|
60
|
-
"admin_locales:description__label": "description 标签",
|
|
61
|
-
"admin_locales:description__placeholder": "description 占位符",
|
|
62
|
-
"admin_locales:namespace__title": "namespace 标题",
|
|
63
|
-
"admin_locales:namespace__label": "namespace 标签",
|
|
64
|
-
"admin_locales:namespace__placeholder": "namespace 占位符",
|
|
65
|
-
"admin_locales:created_at__title": "created at 标题",
|
|
66
|
-
"admin_locales:created_at__label": "created at 标签",
|
|
67
|
-
"admin_locales:created_at__placeholder": "created at 占位符",
|
|
68
|
-
"admin_locales:updated_at__title": "updated at 标题",
|
|
69
|
-
"admin_locales:updated_at__label": "updated at 标签",
|
|
70
|
-
"admin_locales:updated_at__placeholder": "updated at 占位符",
|
|
71
|
-
"admin_locales:import__title": "导入国际化数据",
|
|
72
|
-
"admin_locales:import__zh__title": "导入中文数据",
|
|
73
|
-
"admin_locales:import__en__title": "导入英文数据",
|
|
74
|
-
"admin_locales:create__title": "创建国际化数据",
|
|
75
|
-
"admin_locales:edit__title": "编辑国际化数据",
|
|
76
|
-
"admin_locales:detail__title": "查看国际化数据",
|
|
77
|
-
"admin_locales:delete__title": "删除国际化数据",
|
|
78
|
-
"admin_locales:delete__content": "删除国际化数据内容",
|
|
79
|
-
"admin_users:title": "后台管理 - 管理员用户页面",
|
|
80
|
-
"admin_users:description": "后台管理 - 管理员用户页面",
|
|
81
|
-
"admin_users:keywords": "后台管理 - 管理员用户页面关键词",
|
|
82
|
-
"admin_users:create__title": "创建用户",
|
|
83
|
-
"admin_users:edit__title": "编辑用户",
|
|
84
|
-
"admin_users:detail__title": "查看用户",
|
|
85
|
-
"admin_users:delete__title": "删除用户",
|
|
86
|
-
"admin_users:delete__content": "删除用户内容",
|
|
87
|
-
"admin_users:id__title": "标题",
|
|
88
|
-
"admin_users:id__description": "ID 描述",
|
|
89
|
-
"admin_users:id__label": "ID 标签",
|
|
90
|
-
"admin_users:id__placeholder": "ID 占位符",
|
|
91
|
-
"admin_users:role__title": "角色",
|
|
92
|
-
"admin_users:role__description": "角色描述",
|
|
93
|
-
"admin_users:role__label": "角色标签",
|
|
94
|
-
"admin_users:role__placeholder": "角色占位符",
|
|
95
|
-
"admin_users:email__title": "邮箱",
|
|
96
|
-
"admin_users:email__description": "邮箱描述",
|
|
97
|
-
"admin_users:email__label": "邮箱标签",
|
|
98
|
-
"admin_users:email__placeholder": "邮箱占位符",
|
|
99
|
-
"admin_users:password__title": "密码",
|
|
100
|
-
"admin_users:password__description": "用户密码",
|
|
101
|
-
"admin_users:password__label": "密码",
|
|
102
|
-
"admin_users:password__placeholder": "请输入密码",
|
|
103
|
-
"admin_users:credential_token__title": "凭证令牌",
|
|
104
|
-
"admin_users:credential_token__description": "用户凭证令牌",
|
|
105
|
-
"admin_users:credential_token__label": "凭证令牌",
|
|
106
|
-
"admin_users:credential_token__placeholder": "凭证令牌",
|
|
107
|
-
"admin_users:email_confirmed_at__title": "邮箱确认时间",
|
|
108
|
-
"admin_users:email_confirmed_at__description": "邮箱确认时间",
|
|
109
|
-
"admin_users:email_confirmed_at__label": "邮箱确认时间",
|
|
110
|
-
"admin_users:email_confirmed_at__placeholder": "邮箱确认时间",
|
|
111
|
-
"admin_users:created_at__title": "创建时间",
|
|
112
|
-
"admin_users:created_at__description": "用户创建时间",
|
|
113
|
-
"admin_users:created_at__label": "创建时间",
|
|
114
|
-
"admin_users:created_at__placeholder": "创建时间",
|
|
115
|
-
"admin_users:updated_at__title": "更新时间",
|
|
116
|
-
"admin_users:updated_at__description": "用户更新时间",
|
|
117
|
-
"admin_users:updated_at__label": "更新时间",
|
|
118
|
-
"admin_users:updated_at__placeholder": "更新时间",
|
|
119
|
-
"page_home:title": "首页",
|
|
120
|
-
"page_home:description": "一个现代前端实用库集合,提供各种实用工具和组件",
|
|
121
|
-
"page_home:keywords": "现代前端实用库, 实用工具, 组件",
|
|
122
|
-
"page_home:welcome": "欢迎来到主页",
|
|
123
|
-
"page_home:introduction": "一个现代前端实用库集合,提供各种实用工具和组件",
|
|
124
|
-
"page_home:get_started": "准备开始使用?",
|
|
125
|
-
"page_home:get_started__description": "加入我们,探索实用工具的力量",
|
|
126
|
-
"page_home:get_started__button": "立即开始",
|
|
127
|
-
"page_login:title": "登录",
|
|
128
|
-
"page_login:description": "登录页面描述",
|
|
129
|
-
"page_login:content": "登录页面内容",
|
|
130
|
-
"page_login:keywords": "登录页面关键词",
|
|
131
|
-
"page_login:email": "邮箱",
|
|
132
|
-
"page_login:username": "用户名",
|
|
133
|
-
"page_login:password": "密码",
|
|
134
|
-
"page_login:login": "登录",
|
|
135
|
-
"page_login:welcome": "欢迎来到未来学习",
|
|
136
|
-
"page_login:subtitle": "解锁个性化 AI 驱动的学习体验,加速您的知识旅程。",
|
|
137
|
-
"page_login:forgot_password": "忘记密码?",
|
|
138
|
-
"page_login:continue_with": "或继续使用",
|
|
139
|
-
"page_login:with_google": "使用 Google 登录",
|
|
140
|
-
"page_login:no_account": "还没有账号?",
|
|
141
|
-
"page_login:create_account": "在此创建",
|
|
142
|
-
"page_login:email_required": "请输入正确的邮箱!",
|
|
143
|
-
"page_login:password_required": "请输入您的密码!",
|
|
144
|
-
"page_login:feature__ai_paths": "AI驱动的个性化学习路径",
|
|
145
|
-
"page_login:feature__smart": "智能内容推荐",
|
|
146
|
-
"page_login:tracking": "实时进度追踪",
|
|
147
|
-
"page_login:email2": "输入邮箱",
|
|
148
|
-
"page_login:password2": "输入密码",
|
|
149
|
-
"page_login:forgot_password2": "重置密码",
|
|
150
|
-
"page_login:button2": "登录账号",
|
|
151
|
-
"page_login:with_google2": "使用Google账号登录",
|
|
152
|
-
"page_login:create_account2": "创建新账号",
|
|
153
|
-
"page_register:title": "创建账号",
|
|
154
|
-
"page_register:description": "创建账号页面描述",
|
|
155
|
-
"page_register:content": "创建账号页面内容",
|
|
156
|
-
"page_register:keywords": "创建账号页面关键词",
|
|
157
|
-
"page_register:welcome": "欢迎来到我们的平台",
|
|
158
|
-
"page_register:subtitle": "开始您的学习之旅",
|
|
159
|
-
"page_register:ai_paths": "AI路径",
|
|
160
|
-
"page_register:recommendations": "智能推荐",
|
|
161
|
-
"page_register:tracking": "进度跟踪",
|
|
162
|
-
"page_register:username": "用户名",
|
|
163
|
-
"page_register:username_required": "请输入用户名!",
|
|
164
|
-
"page_register:email": "邮箱",
|
|
165
|
-
"page_register:email_required": "请输入邮箱!",
|
|
166
|
-
"page_register:password": "密码",
|
|
167
|
-
"page_register:password_required": "请输入密码!",
|
|
168
|
-
"page_register:confirm_password": "确认密码",
|
|
169
|
-
"page_register:confirm_password_required": "请确认密码!",
|
|
170
|
-
"page_register:password_mismatch": "两次输入的密码不匹配!",
|
|
171
|
-
"page_register:button": "注册",
|
|
172
|
-
"page_register:terms_prefix": "注册即表示您同意我们的",
|
|
173
|
-
"page_register:terms_link": "服务条款",
|
|
174
|
-
"page_register:terms_and": "和",
|
|
175
|
-
"page_register:privacy_link": "隐私政策",
|
|
176
|
-
"page_register:have_account": "已有账号?",
|
|
177
|
-
"page_register:login_link": "登录",
|
|
178
|
-
"page_register:terms_required": "请同意服务条款和隐私政策",
|
|
179
|
-
"api:user__not_verfified": "用户未验证",
|
|
180
|
-
"page_register:email_verify_title": "请查收邮箱完成账号注册",
|
|
181
|
-
"page_home:welcome_with_user": "欢迎 {email} 来到主页"
|
|
182
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1155 1000"><path d="m577.3 0 577.4 1000H0z" fill="#fff"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 2.5h13v10a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1zM0 1h16v11.5a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 0 12.5zm3.75 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M7 4.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m1.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5" fill="#666"/></svg>
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import { NextIntlClientProvider, useMessages } from 'next-intl';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Client component wrapper to merge admin i18n messages
|
|
7
|
-
* NextIntlClientProvider supports nesting and will merge messages from parent provider
|
|
8
|
-
*/
|
|
9
|
-
export function AdminI18nProvider({
|
|
10
|
-
children,
|
|
11
|
-
locale,
|
|
12
|
-
adminMessages
|
|
13
|
-
}: {
|
|
14
|
-
children: React.ReactNode;
|
|
15
|
-
locale: string;
|
|
16
|
-
adminMessages: Record<string, string>;
|
|
17
|
-
}) {
|
|
18
|
-
// Get existing messages from parent NextIntlClientProvider (includes common, api)
|
|
19
|
-
const existingMessages = useMessages();
|
|
20
|
-
|
|
21
|
-
// Merge admin messages with existing messages
|
|
22
|
-
// Admin messages will override any existing keys with the same name
|
|
23
|
-
const mergedMessages = {
|
|
24
|
-
...existingMessages,
|
|
25
|
-
...adminMessages
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
return (
|
|
29
|
-
<NextIntlClientProvider
|
|
30
|
-
data-testid="AdminI18nProvider"
|
|
31
|
-
locale={locale}
|
|
32
|
-
messages={mergedMessages}
|
|
33
|
-
>
|
|
34
|
-
{children}
|
|
35
|
-
</NextIntlClientProvider>
|
|
36
|
-
);
|
|
37
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { PageLayoutProps } from '@/base/types/AppPageRouter';
|
|
2
|
-
import { AppPageRouteParams } from '@/server/AppPageRouteParams';
|
|
3
|
-
import '@/styles/css/index.css';
|
|
4
|
-
import { AdminLayout } from '@/uikit/components/AdminLayout';
|
|
5
|
-
import { ClinetRenderProvider } from '@/uikit/components/ClinetRenderProvider';
|
|
6
|
-
import { AdminI18nProvider } from './AdminI18nProvider';
|
|
7
|
-
|
|
8
|
-
export default async function AdminRootLayout({
|
|
9
|
-
children,
|
|
10
|
-
params
|
|
11
|
-
}: PageLayoutProps) {
|
|
12
|
-
const pageParams = new AppPageRouteParams(await params!);
|
|
13
|
-
const locale = pageParams.getLocale();
|
|
14
|
-
|
|
15
|
-
// Load admin i18n namespaces for admin pages
|
|
16
|
-
// Note: getI18nMessages will merge with default namespaces (common, api)
|
|
17
|
-
// but we only need admin namespaces here since common/api are already in root layout
|
|
18
|
-
const adminNamespaces = ['admin_home', 'admin_locales', 'admin_users'];
|
|
19
|
-
const allMessages = await pageParams.getI18nMessages(adminNamespaces);
|
|
20
|
-
|
|
21
|
-
// Extract only admin messages (excluding common and api which are already in root layout)
|
|
22
|
-
// This avoids duplicate messages and ensures we only add what's needed
|
|
23
|
-
const adminMessages = Object.fromEntries(
|
|
24
|
-
Object.entries(allMessages).filter(([key]) =>
|
|
25
|
-
adminNamespaces.some((ns) => key.startsWith(`${ns}:`))
|
|
26
|
-
)
|
|
27
|
-
);
|
|
28
|
-
|
|
29
|
-
return (
|
|
30
|
-
<AdminI18nProvider
|
|
31
|
-
data-testid="AdminI18nProvider"
|
|
32
|
-
locale={locale}
|
|
33
|
-
adminMessages={adminMessages}
|
|
34
|
-
>
|
|
35
|
-
<ClinetRenderProvider>
|
|
36
|
-
<AdminLayout data-testid="AdminRootLayout" lang={locale}>
|
|
37
|
-
{children}
|
|
38
|
-
</AdminLayout>
|
|
39
|
-
</ClinetRenderProvider>
|
|
40
|
-
</AdminI18nProvider>
|
|
41
|
-
);
|
|
42
|
-
}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ResourceTable,
|
|
5
|
-
ResourceTableHeader,
|
|
6
|
-
ResourceTablePopup,
|
|
7
|
-
ResourceTableSchemaForm
|
|
8
|
-
} from '@brain-toolkit/antd-blocks/resourceTable';
|
|
9
|
-
import { useFactory, useLifecycle } from '@brain-toolkit/react-kit';
|
|
10
|
-
import { Form, Input } from 'antd';
|
|
11
|
-
import { useCallback, useMemo } from 'react';
|
|
12
|
-
import { ZodColumnBuilder } from '@/base/cases/ZodColumnBuilder';
|
|
13
|
-
import type { AdminLocalesApi } from '@/base/services/adminApi/AdminLocalesApi';
|
|
14
|
-
import { AdminPageEvent } from '@/base/services/AdminPageEvent';
|
|
15
|
-
import { AdminLocalesService } from '@/server/services/AdminLocalesService';
|
|
16
|
-
import { ClientSeo } from '@/uikit/components/ClientSeo';
|
|
17
|
-
import { EditableCell } from '@/uikit/components/EditableCell';
|
|
18
|
-
import { LocalesImportButton } from '@/uikit/components/localesImportButton/LocalesImportButton';
|
|
19
|
-
import { LocalesImportEvent } from '@/uikit/components/localesImportButton/LocalesImportEvent';
|
|
20
|
-
import { useI18nInterface } from '@/uikit/hook/useI18nInterface';
|
|
21
|
-
import { useIOC } from '@/uikit/hook/useIOC';
|
|
22
|
-
import { useWarnTranslations } from '@/uikit/hook/useWarnTranslations';
|
|
23
|
-
import {
|
|
24
|
-
localesSchema,
|
|
25
|
-
type LocalesSchema
|
|
26
|
-
} from '@migrations/schema/LocalesSchema';
|
|
27
|
-
import { adminLocales18n, adminTableI18n, i18nConfig } from '@config/i18n';
|
|
28
|
-
import { I } from '@config/IOCIdentifier';
|
|
29
|
-
|
|
30
|
-
const localesTT = {
|
|
31
|
-
...adminLocales18n,
|
|
32
|
-
...adminTableI18n
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export default function LocalesPage() {
|
|
36
|
-
const tt = useI18nInterface(localesTT);
|
|
37
|
-
const t = useWarnTranslations();
|
|
38
|
-
const [schemaFormRef] = Form.useForm();
|
|
39
|
-
|
|
40
|
-
const pageService = useIOC(AdminLocalesService);
|
|
41
|
-
const uiDialog = useIOC(I.DialogHandler);
|
|
42
|
-
const ns = pageService.serviceName;
|
|
43
|
-
|
|
44
|
-
const zodColumnBuilder = useFactory(ZodColumnBuilder, ns, localesSchema);
|
|
45
|
-
const pageEvent = useFactory(
|
|
46
|
-
AdminPageEvent,
|
|
47
|
-
ns,
|
|
48
|
-
pageService,
|
|
49
|
-
schemaFormRef,
|
|
50
|
-
uiDialog
|
|
51
|
-
);
|
|
52
|
-
const localesImportEvent = useFactory(
|
|
53
|
-
LocalesImportEvent,
|
|
54
|
-
pageService.resourceApi as AdminLocalesApi
|
|
55
|
-
);
|
|
56
|
-
|
|
57
|
-
const importTT = {
|
|
58
|
-
zh: {
|
|
59
|
-
title: tt.importZhTitle
|
|
60
|
-
},
|
|
61
|
-
en: {
|
|
62
|
-
title: tt.importEnTitle
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
useLifecycle(pageEvent);
|
|
67
|
-
|
|
68
|
-
const renderCell = useCallback(
|
|
69
|
-
(key: string) => {
|
|
70
|
-
const renderEditableCell = (
|
|
71
|
-
value: unknown,
|
|
72
|
-
record: LocalesSchema,
|
|
73
|
-
_index: number
|
|
74
|
-
) => {
|
|
75
|
-
return (
|
|
76
|
-
<EditableCell
|
|
77
|
-
data-testid={`editable-cell-${key}`}
|
|
78
|
-
value={value as string}
|
|
79
|
-
onSave={(value) =>
|
|
80
|
-
pageService.update({
|
|
81
|
-
id: record.id,
|
|
82
|
-
[key]: value
|
|
83
|
-
})
|
|
84
|
-
}
|
|
85
|
-
/>
|
|
86
|
-
);
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
renderEditableCell.displayName = `EditableCellWrapper-${key}`;
|
|
90
|
-
|
|
91
|
-
return renderEditableCell;
|
|
92
|
-
},
|
|
93
|
-
[pageService]
|
|
94
|
-
);
|
|
95
|
-
|
|
96
|
-
const options = useMemo(() => {
|
|
97
|
-
i18nConfig.supportedLngs.forEach((locale) => {
|
|
98
|
-
zodColumnBuilder.render(locale, renderCell(locale));
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
return zodColumnBuilder.translate(t).buildAll();
|
|
102
|
-
}, [t, zodColumnBuilder, renderCell]);
|
|
103
|
-
|
|
104
|
-
return (
|
|
105
|
-
<div data-testid="LocalesPage">
|
|
106
|
-
<ClientSeo i18nInterface={tt} />
|
|
107
|
-
|
|
108
|
-
<ResourceTableHeader
|
|
109
|
-
settings={tt}
|
|
110
|
-
tableEvent={pageEvent}
|
|
111
|
-
actionLeft={
|
|
112
|
-
<>
|
|
113
|
-
<LocalesImportButton
|
|
114
|
-
event={localesImportEvent}
|
|
115
|
-
title={tt.importTitle}
|
|
116
|
-
tt={importTT}
|
|
117
|
-
/>
|
|
118
|
-
</>
|
|
119
|
-
}
|
|
120
|
-
/>
|
|
121
|
-
|
|
122
|
-
<ResourceTable
|
|
123
|
-
columns={options}
|
|
124
|
-
tableEvent={pageEvent}
|
|
125
|
-
actionProps={{
|
|
126
|
-
title: tt.action,
|
|
127
|
-
editText: tt.editText,
|
|
128
|
-
deleteText: tt.deleteText,
|
|
129
|
-
detailText: tt.detailText
|
|
130
|
-
}}
|
|
131
|
-
/>
|
|
132
|
-
|
|
133
|
-
<ResourceTablePopup
|
|
134
|
-
tableEvent={pageEvent}
|
|
135
|
-
tt={{
|
|
136
|
-
create: tt.createTitle,
|
|
137
|
-
edit: tt.editTitle,
|
|
138
|
-
detail: tt.detailTitle
|
|
139
|
-
}}
|
|
140
|
-
>
|
|
141
|
-
<ResourceTableSchemaForm
|
|
142
|
-
formComponents={{
|
|
143
|
-
input: Input
|
|
144
|
-
}}
|
|
145
|
-
formRef={schemaFormRef}
|
|
146
|
-
options={options}
|
|
147
|
-
tt={tt}
|
|
148
|
-
tableEvent={pageEvent}
|
|
149
|
-
/>
|
|
150
|
-
</ResourceTablePopup>
|
|
151
|
-
</div>
|
|
152
|
-
);
|
|
153
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import { ClientSeo } from '@/uikit/components/ClientSeo';
|
|
4
|
-
import { useI18nInterface } from '@/uikit/hook/useI18nInterface';
|
|
5
|
-
import { admin18n } from '@config/i18n';
|
|
6
|
-
|
|
7
|
-
export default function AdminPage() {
|
|
8
|
-
const tt = useI18nInterface(admin18n);
|
|
9
|
-
|
|
10
|
-
return (
|
|
11
|
-
<>
|
|
12
|
-
<ClientSeo i18nInterface={tt} />
|
|
13
|
-
<div data-testid="AdminPageWrapper">
|
|
14
|
-
<div data-testid="AdminPage">
|
|
15
|
-
<h1>{tt.welcome}</h1>
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
</>
|
|
19
|
-
);
|
|
20
|
-
}
|