@qlover/create-app 0.7.14 → 0.8.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 +27 -0
- package/dist/configs/_common/.gitignore.template +6 -0
- package/dist/configs/_common/.prettierignore +17 -5
- package/dist/configs/_common/.vscode/settings.json +6 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/templates/next-app/.env.template +1 -1
- package/dist/templates/next-app/README.en.md +130 -0
- package/dist/templates/next-app/README.md +114 -20
- package/dist/templates/next-app/config/Identifier/api.ts +5 -5
- package/dist/templates/next-app/config/Identifier/common/admint.table.ts +69 -0
- package/dist/templates/next-app/config/Identifier/common/common.ts +76 -0
- package/dist/templates/next-app/config/Identifier/common/index.ts +3 -0
- package/dist/templates/next-app/config/Identifier/{validator.ts → common/validators.ts} +5 -5
- package/dist/templates/next-app/config/Identifier/index.ts +2 -12
- package/dist/templates/next-app/config/Identifier/pages/index.ts +6 -0
- package/dist/templates/next-app/config/Identifier/pages/page.admin.home.ts +27 -0
- package/dist/templates/next-app/config/Identifier/pages/page.admin.locales.ts +266 -0
- package/dist/templates/next-app/config/Identifier/pages/page.admin.user.ts +293 -0
- package/dist/templates/{react-app/config/Identifier → next-app/config/Identifier/pages}/page.home.ts +15 -22
- package/dist/templates/next-app/config/Identifier/{page.login.ts → pages/page.login.ts} +28 -34
- package/dist/templates/next-app/config/Identifier/{page.register.ts → pages/page.register.ts} +30 -29
- package/dist/templates/next-app/config/adminNavs.ts +19 -0
- package/dist/templates/next-app/config/common.ts +22 -13
- package/dist/templates/next-app/config/i18n/HomeI18n.ts +5 -5
- package/dist/templates/next-app/config/i18n/admin18n.ts +61 -19
- package/dist/templates/next-app/config/i18n/i18nConfig.ts +2 -0
- package/dist/templates/next-app/config/i18n/i18nKeyScheam.ts +36 -0
- package/dist/templates/next-app/config/i18n/loginI18n.ts +22 -22
- package/dist/templates/next-app/config/i18n/register18n.ts +23 -24
- package/dist/templates/next-app/docs/en/api.md +387 -0
- package/dist/templates/next-app/docs/en/component.md +544 -0
- package/dist/templates/next-app/docs/en/database.md +496 -0
- package/dist/templates/next-app/docs/en/development-guide.md +727 -0
- package/dist/templates/next-app/docs/en/env.md +563 -0
- package/dist/templates/next-app/docs/en/i18n.md +287 -0
- package/dist/templates/next-app/docs/en/index.md +165 -0
- package/dist/templates/next-app/docs/en/page.md +457 -0
- package/dist/templates/next-app/docs/en/project-structure.md +176 -0
- package/dist/templates/next-app/docs/en/router.md +427 -0
- package/dist/templates/next-app/docs/en/theme.md +532 -0
- package/dist/templates/next-app/docs/en/validator.md +478 -0
- package/dist/templates/next-app/docs/zh/api.md +387 -0
- package/dist/templates/next-app/docs/zh/component.md +544 -0
- package/dist/templates/next-app/docs/zh/database.md +496 -0
- package/dist/templates/next-app/docs/zh/development-guide.md +727 -0
- package/dist/templates/next-app/docs/zh/env.md +563 -0
- package/dist/templates/next-app/docs/zh/i18n.md +287 -0
- package/dist/templates/next-app/docs/zh/index.md +165 -0
- package/dist/templates/next-app/docs/zh/page.md +457 -0
- package/dist/templates/next-app/docs/zh/project-structure.md +176 -0
- package/dist/templates/next-app/docs/zh/router.md +427 -0
- package/dist/templates/next-app/docs/zh/theme.md +532 -0
- package/dist/templates/next-app/docs/zh/validator.md +476 -0
- package/dist/templates/next-app/make/generateLocales.ts +19 -12
- package/dist/templates/next-app/migrations/schema/LocalesSchema.ts +15 -0
- package/dist/templates/next-app/migrations/sql/1694244000000.sql +11 -0
- package/dist/templates/next-app/package.json +7 -3
- package/dist/templates/next-app/public/locales/en.json +172 -207
- package/dist/templates/next-app/public/locales/zh.json +172 -207
- package/dist/templates/next-app/src/app/[locale]/admin/locales/page.tsx +153 -0
- package/dist/templates/next-app/src/app/[locale]/admin/users/page.tsx +48 -50
- package/dist/templates/next-app/src/app/[locale]/login/LoginForm.tsx +2 -2
- package/dist/templates/next-app/src/app/api/admin/locales/create/route.ts +34 -0
- package/dist/templates/next-app/src/app/api/admin/locales/import/route.ts +40 -0
- package/dist/templates/next-app/src/app/api/admin/locales/route.ts +42 -0
- package/dist/templates/next-app/src/app/api/admin/locales/update/route.ts +32 -0
- package/dist/templates/next-app/src/app/api/locales/json/route.ts +44 -0
- package/dist/templates/next-app/src/base/cases/AdminPageManager.ts +1 -13
- package/dist/templates/next-app/src/base/cases/Datetime.ts +18 -0
- package/dist/templates/next-app/src/base/cases/DialogErrorPlugin.ts +12 -6
- package/dist/templates/next-app/src/base/cases/ResourceState.ts +17 -0
- package/dist/templates/next-app/src/base/cases/TranslateI18nInterface.ts +25 -0
- package/dist/templates/next-app/src/base/cases/ZodColumnBuilder.ts +200 -0
- package/dist/templates/next-app/src/base/port/ZodBuilderInterface.ts +8 -0
- package/dist/templates/next-app/src/base/services/AdminLocalesService.ts +20 -0
- package/dist/templates/next-app/src/base/services/AdminPageEvent.ts +26 -0
- package/dist/templates/next-app/src/base/services/AdminPageScheduler.ts +42 -0
- package/dist/templates/next-app/src/base/services/ResourceService.ts +122 -0
- package/dist/templates/next-app/src/base/services/adminApi/AdminLocalesApi.ts +104 -0
- package/dist/templates/next-app/src/base/services/adminApi/AdminUserApi.ts +38 -5
- package/dist/templates/next-app/src/base/services/appApi/AppApiPlugin.ts +1 -1
- package/dist/templates/next-app/src/i18n/request.ts +30 -1
- package/dist/templates/next-app/src/server/PageParams.ts +2 -10
- package/dist/templates/next-app/src/server/port/DBBridgeInterface.ts +5 -0
- package/dist/templates/next-app/src/server/port/DBTableInterface.ts +2 -0
- package/dist/templates/next-app/src/server/port/LocalesRepositoryInterface.ts +43 -0
- package/dist/templates/next-app/src/server/repositorys/LocalesRepository.ts +197 -0
- package/dist/templates/next-app/src/server/services/ApiLocaleService.ts +122 -0
- package/dist/templates/next-app/src/server/sqlBridges/SupabaseBridge.ts +60 -11
- package/dist/templates/next-app/src/server/validators/ExtendedExecutorError.ts +6 -0
- package/dist/templates/next-app/src/server/validators/LocalesValidator.ts +131 -0
- package/dist/templates/next-app/src/server/validators/LoginValidator.ts +2 -5
- package/dist/templates/next-app/src/server/validators/PaginationValidator.ts +32 -16
- package/dist/templates/next-app/src/styles/css/antd-themes/pagination/_default.css +2 -1
- package/dist/templates/next-app/src/styles/css/antd-themes/pagination/dark.css +28 -29
- package/dist/templates/next-app/src/styles/css/antd-themes/pagination/pink.css +2 -1
- package/dist/templates/next-app/src/uikit/components/AdminLayout.tsx +17 -3
- package/dist/templates/next-app/src/uikit/components/BaseHeader.tsx +5 -4
- package/dist/templates/next-app/src/uikit/components/BaseLayout.tsx +5 -4
- package/dist/templates/next-app/src/uikit/components/BootstrapsProvider.tsx +3 -2
- package/dist/templates/next-app/src/uikit/components/ComboProvider.tsx +1 -1
- package/dist/templates/next-app/src/uikit/components/EditableCell.tsx +118 -0
- package/dist/templates/next-app/src/uikit/components/LogoutButton.tsx +5 -6
- package/dist/templates/next-app/src/uikit/components/ThemeSwitcher.tsx +1 -1
- package/dist/templates/next-app/src/uikit/components/With.tsx +2 -2
- package/dist/templates/next-app/src/uikit/components/localesImportButton/LocalesImportButton.tsx +62 -0
- package/dist/templates/next-app/src/uikit/components/localesImportButton/LocalesImportEvent.ts +28 -0
- package/dist/templates/next-app/src/uikit/components/localesImportButton/import.module.css +6 -0
- package/dist/templates/next-app/src/uikit/hook/useI18nInterface.ts +8 -14
- package/dist/templates/next-app/src/uikit/hook/useWarnTranslations.ts +25 -0
- package/dist/templates/react-app/.prettierignore +17 -0
- package/dist/templates/react-app/README.en.md +71 -54
- package/dist/templates/react-app/README.md +35 -18
- package/dist/templates/react-app/__tests__/__mocks__/BootstrapTest.ts +14 -0
- package/dist/templates/react-app/__tests__/__mocks__/MockAppConfit.ts +1 -1
- package/dist/templates/react-app/__tests__/__mocks__/MockDialogHandler.ts +2 -2
- package/dist/templates/react-app/__tests__/__mocks__/MockLogger.ts +1 -1
- package/dist/templates/react-app/__tests__/__mocks__/components/TestApp.tsx +45 -0
- package/dist/templates/react-app/__tests__/__mocks__/components/TestBootstrapsProvider.tsx +34 -0
- package/dist/templates/react-app/__tests__/__mocks__/components/TestRouter.tsx +46 -0
- package/dist/templates/react-app/__tests__/__mocks__/components/index.ts +12 -0
- package/dist/templates/react-app/__tests__/__mocks__/createMockGlobals.ts +1 -2
- package/dist/templates/react-app/__tests__/__mocks__/testIOC/TestIOC.ts +51 -0
- package/dist/templates/react-app/__tests__/__mocks__/testIOC/TestIOCRegister.ts +69 -0
- package/dist/templates/react-app/__tests__/setup/index.ts +1 -51
- package/dist/templates/react-app/__tests__/setup/setupGlobal.ts +51 -0
- package/dist/templates/react-app/__tests__/src/App.structure.test.tsx +115 -0
- package/dist/templates/react-app/__tests__/src/base/cases/AppConfig.test.ts +2 -2
- package/dist/templates/react-app/__tests__/src/base/cases/AppError.test.ts +1 -1
- package/dist/templates/react-app/__tests__/src/base/cases/DialogHandler.test.ts +3 -5
- package/dist/templates/react-app/__tests__/src/base/cases/I18nKeyErrorPlugin.test.ts +13 -2
- package/dist/templates/react-app/__tests__/src/base/cases/InversifyContainer.test.ts +1 -1
- package/dist/templates/react-app/__tests__/src/base/cases/PublicAssetsPath.test.ts +1 -1
- package/dist/templates/react-app/__tests__/src/base/cases/RequestLogger.test.ts +5 -5
- package/dist/templates/react-app/__tests__/src/base/cases/RequestStatusCatcher.test.ts +1 -2
- package/dist/templates/react-app/__tests__/src/base/cases/RouterLoader.test.ts +25 -15
- package/dist/templates/react-app/__tests__/src/base/services/I18nService.test.ts +29 -15
- package/dist/templates/react-app/__tests__/src/core/IOC.test.ts +19 -9
- package/dist/templates/react-app/__tests__/src/core/bootstraps/BootstrapClient.test.ts +153 -0
- package/dist/templates/react-app/__tests__/src/core/bootstraps/BootstrapsApp.test.ts +9 -7
- package/dist/templates/react-app/__tests__/src/main.integration.test.tsx +4 -5
- package/dist/templates/react-app/__tests__/src/main.test.tsx +4 -4
- package/dist/templates/react-app/__tests__/src/uikit/components/BaseHeader.test.tsx +68 -59
- package/dist/templates/react-app/config/IOCIdentifier.ts +8 -8
- package/dist/templates/react-app/config/Identifier/{common.error.ts → common/common.error.ts} +5 -5
- package/dist/templates/react-app/config/Identifier/{common.ts → common/common.ts} +9 -9
- package/dist/templates/react-app/config/Identifier/common/index.ts +2 -0
- package/dist/templates/react-app/config/Identifier/index.ts +1 -9
- package/dist/templates/react-app/config/Identifier/pages/index.ts +8 -0
- package/dist/templates/react-app/config/Identifier/{page.about.ts → pages/page.about.ts} +34 -26
- package/dist/templates/react-app/config/Identifier/{page.executor.ts → pages/page.executor.ts} +47 -39
- package/dist/templates/{next-app/config/Identifier → react-app/config/Identifier/pages}/page.home.ts +24 -23
- package/dist/templates/react-app/config/Identifier/pages/page.identifiter.ts +102 -0
- package/dist/templates/react-app/config/Identifier/{page.jsonStorage.ts → pages/page.jsonStorage.ts} +18 -11
- package/dist/templates/react-app/config/Identifier/{page.login.ts → pages/page.login.ts} +37 -27
- package/dist/templates/react-app/config/Identifier/{page.register.ts → pages/page.register.ts} +37 -25
- package/dist/templates/react-app/config/Identifier/{page.request.ts → pages/page.request.ts} +34 -44
- package/dist/templates/react-app/config/app.router.ts +66 -69
- package/dist/templates/react-app/config/i18n/PageI18nInterface.ts +51 -0
- package/dist/templates/react-app/config/i18n/aboutI18n.ts +42 -0
- package/dist/templates/react-app/config/i18n/executorI18n.ts +51 -0
- package/dist/templates/react-app/config/i18n/homeI18n.ts +24 -0
- package/dist/templates/react-app/config/i18n/i18nConfig.ts +30 -0
- package/dist/templates/react-app/config/i18n/identifiter18n.ts +30 -0
- package/dist/templates/react-app/config/i18n/jsonStorage18n.ts +27 -0
- package/dist/templates/react-app/config/i18n/login18n.ts +42 -0
- package/dist/templates/react-app/config/i18n/notFoundI18n.ts +34 -0
- package/dist/templates/react-app/config/i18n/register18n.ts +40 -0
- package/dist/templates/react-app/config/i18n/request18n.ts +41 -0
- package/dist/templates/react-app/config/theme.ts +14 -4
- package/dist/templates/react-app/docs/en/bootstrap.md +1670 -341
- package/dist/templates/react-app/docs/en/development-guide.md +1021 -345
- package/dist/templates/react-app/docs/en/env.md +1132 -278
- package/dist/templates/react-app/docs/en/i18n.md +858 -147
- package/dist/templates/react-app/docs/en/index.md +733 -104
- package/dist/templates/react-app/docs/en/ioc.md +1228 -287
- package/dist/templates/react-app/docs/en/playwright/e2e-tests.md +321 -0
- package/dist/templates/react-app/docs/en/playwright/index.md +19 -0
- package/dist/templates/react-app/docs/en/playwright/installation-summary.md +332 -0
- package/dist/templates/react-app/docs/en/playwright/overview.md +222 -0
- package/dist/templates/react-app/docs/en/playwright/quickstart.md +325 -0
- package/dist/templates/react-app/docs/en/playwright/reorganization-notes.md +340 -0
- package/dist/templates/react-app/docs/en/playwright/setup-complete.md +290 -0
- package/dist/templates/react-app/docs/en/playwright/testing-guide.md +565 -0
- package/dist/templates/react-app/docs/en/store.md +1194 -184
- package/dist/templates/react-app/docs/en/why-no-globals.md +797 -0
- package/dist/templates/react-app/docs/zh/bootstrap.md +1670 -341
- package/dist/templates/react-app/docs/zh/development-guide.md +1021 -345
- package/dist/templates/react-app/docs/zh/env.md +1132 -275
- package/dist/templates/react-app/docs/zh/i18n.md +858 -147
- package/dist/templates/react-app/docs/zh/index.md +717 -104
- package/dist/templates/react-app/docs/zh/ioc.md +1229 -287
- package/dist/templates/react-app/docs/zh/playwright/e2e-tests.md +321 -0
- package/dist/templates/react-app/docs/zh/playwright/index.md +19 -0
- package/dist/templates/react-app/docs/zh/playwright/installation-summary.md +332 -0
- package/dist/templates/react-app/docs/zh/playwright/overview.md +222 -0
- package/dist/templates/react-app/docs/zh/playwright/quickstart.md +325 -0
- package/dist/templates/react-app/docs/zh/playwright/reorganization-notes.md +340 -0
- package/dist/templates/react-app/docs/zh/playwright/setup-complete.md +290 -0
- package/dist/templates/react-app/docs/zh/playwright/testing-guide.md +565 -0
- package/dist/templates/react-app/docs/zh/store.md +1192 -184
- package/dist/templates/react-app/docs/zh/why-no-globals.md +797 -0
- package/dist/templates/react-app/e2e/App.spec.ts +319 -0
- package/dist/templates/react-app/e2e/fixtures/base.fixture.ts +40 -0
- package/dist/templates/react-app/e2e/main.spec.ts +20 -0
- package/dist/templates/react-app/e2e/utils/test-helpers.ts +19 -0
- package/dist/templates/react-app/eslint.config.mjs +247 -0
- package/dist/templates/react-app/makes/eslint-utils.mjs +195 -0
- package/dist/templates/react-app/makes/generateTs2LocalesOptions.ts +26 -0
- package/dist/templates/react-app/package.json +31 -3
- package/dist/templates/react-app/playwright.config.ts +79 -0
- package/dist/templates/react-app/public/locales/en/common.json +190 -179
- package/dist/templates/react-app/public/locales/zh/common.json +190 -179
- package/dist/templates/react-app/src/App.tsx +15 -42
- package/dist/templates/react-app/src/base/apis/AiApi.ts +5 -5
- package/dist/templates/react-app/src/base/apis/feApi/FeApi.ts +1 -1
- package/dist/templates/react-app/src/base/apis/feApi/FeApiAdapter.ts +1 -1
- package/dist/templates/react-app/src/base/apis/feApi/FeApiBootstarp.ts +8 -8
- package/dist/templates/react-app/src/base/apis/feApi/FeApiType.ts +1 -1
- package/dist/templates/react-app/src/base/apis/userApi/UserApi.ts +6 -6
- package/dist/templates/react-app/src/base/apis/userApi/UserApiAdapter.ts +1 -1
- package/dist/templates/react-app/src/base/apis/userApi/UserApiBootstarp.ts +12 -14
- package/dist/templates/react-app/src/base/apis/userApi/UserApiType.ts +1 -1
- package/dist/templates/react-app/src/base/cases/DialogHandler.ts +5 -2
- package/dist/templates/react-app/src/base/cases/I18nKeyErrorPlugin.ts +3 -3
- package/dist/templates/react-app/src/base/cases/InversifyContainer.ts +3 -3
- package/dist/templates/react-app/src/base/cases/RequestLanguages.ts +2 -2
- package/dist/templates/react-app/src/base/cases/RequestLogger.ts +4 -4
- package/dist/templates/react-app/src/base/cases/RequestStatusCatcher.ts +1 -1
- package/dist/templates/react-app/src/base/cases/ResourceState.ts +23 -0
- package/dist/templates/react-app/src/base/cases/RouterLoader.ts +4 -4
- package/dist/templates/react-app/src/base/cases/TranslateI18nInterface.ts +26 -0
- package/dist/templates/react-app/src/base/port/ExecutorPageBridgeInterface.ts +2 -3
- package/dist/templates/react-app/src/base/port/I18nServiceInterface.ts +1 -1
- package/dist/templates/react-app/src/base/port/IOCInterface.ts +36 -0
- package/dist/templates/react-app/src/base/port/JSONStoragePageBridgeInterface.ts +2 -1
- package/dist/templates/react-app/src/base/port/ProcesserExecutorInterface.ts +1 -1
- package/dist/templates/react-app/src/base/port/RequestPageBridgeInterface.ts +2 -2
- package/dist/templates/react-app/src/base/port/RouteServiceInterface.ts +9 -5
- package/dist/templates/react-app/src/base/port/UserServiceInterface.ts +1 -1
- package/dist/templates/react-app/src/base/services/I18nService.ts +29 -29
- package/dist/templates/react-app/src/base/services/IdentifierService.ts +143 -0
- package/dist/templates/react-app/src/base/services/ProcesserExecutor.ts +3 -3
- package/dist/templates/react-app/src/base/services/RouteService.ts +27 -8
- package/dist/templates/react-app/src/base/services/UserService.ts +8 -8
- package/dist/templates/react-app/src/base/types/Page.ts +14 -2
- package/dist/templates/react-app/src/base/types/global.d.ts +1 -1
- package/dist/templates/react-app/src/core/IOC.ts +5 -46
- package/dist/templates/react-app/src/core/bootstraps/{BootstrapApp.ts → BootstrapClient.ts} +44 -17
- package/dist/templates/react-app/src/core/bootstraps/BootstrapsRegistry.ts +14 -7
- package/dist/templates/react-app/src/core/bootstraps/IocIdentifierTest.ts +1 -1
- package/dist/templates/react-app/src/core/bootstraps/PrintBootstrap.ts +1 -1
- package/dist/templates/react-app/src/core/clientIoc/ClientIOC.ts +40 -0
- package/dist/templates/react-app/src/core/{IocRegisterImpl.ts → clientIoc/ClientIOCRegister.ts} +35 -24
- package/dist/templates/react-app/src/core/globals.ts +9 -9
- package/dist/templates/react-app/src/main.tsx +4 -4
- package/dist/templates/react-app/src/pages/404.tsx +6 -3
- package/dist/templates/react-app/src/pages/500.tsx +5 -2
- package/dist/templates/react-app/src/pages/NoRouteFound.tsx +5 -0
- package/dist/templates/react-app/src/pages/auth/Layout.tsx +9 -6
- package/dist/templates/react-app/src/pages/auth/LoginPage.tsx +46 -56
- package/dist/templates/react-app/src/pages/auth/RegisterPage.tsx +46 -58
- package/dist/templates/react-app/src/pages/base/AboutPage.tsx +35 -40
- package/dist/templates/react-app/src/pages/base/ExecutorPage.tsx +51 -51
- package/dist/templates/react-app/src/pages/base/HomePage.tsx +14 -15
- package/dist/templates/react-app/src/pages/base/IdentifierPage.tsx +70 -11
- package/dist/templates/react-app/src/pages/base/JSONStoragePage.tsx +24 -25
- package/dist/templates/react-app/src/pages/base/Layout.tsx +2 -2
- package/dist/templates/react-app/src/pages/base/RedirectPathname.tsx +3 -2
- package/dist/templates/react-app/src/pages/base/RequestPage.tsx +41 -59
- package/dist/templates/react-app/src/styles/css/antd-themes/{_default.css → _common/_default.css} +85 -0
- package/dist/templates/react-app/src/styles/css/antd-themes/{dark.css → _common/dark.css} +99 -0
- package/dist/templates/react-app/src/styles/css/antd-themes/_common/index.css +3 -0
- package/dist/templates/react-app/src/styles/css/antd-themes/{pink.css → _common/pink.css} +86 -0
- package/dist/templates/react-app/src/styles/css/antd-themes/index.css +4 -3
- package/dist/templates/react-app/src/styles/css/antd-themes/menu/_default.css +108 -0
- package/dist/templates/react-app/src/styles/css/antd-themes/menu/dark.css +67 -0
- package/dist/templates/react-app/src/styles/css/antd-themes/menu/index.css +3 -0
- package/dist/templates/react-app/src/styles/css/antd-themes/menu/pink.css +67 -0
- package/dist/templates/react-app/src/styles/css/antd-themes/pagination/_default.css +34 -0
- package/dist/templates/react-app/src/styles/css/antd-themes/pagination/dark.css +31 -0
- package/dist/templates/react-app/src/styles/css/antd-themes/pagination/index.css +3 -0
- package/dist/templates/react-app/src/styles/css/antd-themes/pagination/pink.css +36 -0
- package/dist/templates/react-app/src/styles/css/antd-themes/table/_default.css +44 -0
- package/dist/templates/react-app/src/styles/css/antd-themes/table/dark.css +43 -0
- package/dist/templates/react-app/src/styles/css/antd-themes/table/index.css +3 -0
- package/dist/templates/react-app/src/styles/css/antd-themes/table/pink.css +43 -0
- package/dist/templates/react-app/src/styles/css/page.css +4 -3
- package/dist/templates/react-app/src/styles/css/themes/_default.css +1 -0
- package/dist/templates/react-app/src/styles/css/themes/dark.css +1 -0
- package/dist/templates/react-app/src/styles/css/themes/pink.css +1 -0
- package/dist/templates/react-app/src/styles/css/zIndex.css +1 -1
- package/dist/templates/react-app/src/uikit/bridges/ExecutorPageBridge.ts +3 -3
- package/dist/templates/react-app/src/uikit/bridges/JSONStoragePageBridge.ts +2 -2
- package/dist/templates/react-app/src/uikit/bridges/NavigateBridge.ts +1 -1
- package/dist/templates/react-app/src/uikit/bridges/RequestPageBridge.ts +3 -3
- package/dist/templates/react-app/src/uikit/components/AppRouterProvider.tsx +35 -0
- package/dist/templates/react-app/src/uikit/components/BaseHeader.tsx +15 -11
- package/dist/templates/react-app/src/uikit/components/BaseRouteProvider.tsx +14 -11
- package/dist/templates/react-app/src/uikit/components/BaseRouteSeo.tsx +18 -0
- package/dist/templates/react-app/src/uikit/components/BootstrapsProvider.tsx +13 -0
- package/dist/templates/react-app/src/uikit/components/ClientSeo.tsx +62 -0
- package/dist/templates/react-app/src/uikit/components/ComboProvider.tsx +38 -0
- package/dist/templates/react-app/src/uikit/components/LanguageSwitcher.tsx +48 -27
- package/dist/templates/react-app/src/uikit/components/Loading.tsx +4 -2
- package/dist/templates/react-app/src/uikit/components/LocaleLink.tsx +4 -5
- package/dist/templates/react-app/src/uikit/components/LogoutButton.tsx +34 -11
- package/dist/templates/react-app/src/uikit/components/ProcessExecutorProvider.tsx +9 -5
- package/dist/templates/react-app/src/uikit/components/RouterRenderComponent.tsx +6 -3
- package/dist/templates/react-app/src/uikit/components/ThemeSwitcher.tsx +97 -40
- package/dist/templates/react-app/src/uikit/components/UserAuthProvider.tsx +5 -5
- package/dist/templates/react-app/src/uikit/components/With.tsx +17 -0
- package/dist/templates/react-app/src/uikit/contexts/BaseRouteContext.ts +17 -11
- package/dist/templates/react-app/src/uikit/contexts/IOCContext.ts +13 -0
- package/dist/templates/react-app/src/uikit/hooks/useAppTranslation.ts +26 -0
- package/dist/templates/react-app/src/uikit/hooks/useI18nGuard.ts +8 -11
- package/dist/templates/react-app/src/uikit/hooks/useI18nInterface.ts +25 -0
- package/dist/templates/react-app/src/uikit/hooks/useIOC.ts +35 -0
- package/dist/templates/react-app/src/uikit/hooks/useNavigateBridge.ts +3 -3
- package/dist/templates/react-app/src/uikit/hooks/useStrictEffect.ts +0 -1
- package/dist/templates/react-app/tsconfig.e2e.json +21 -0
- package/dist/templates/react-app/tsconfig.json +8 -1
- package/dist/templates/react-app/tsconfig.node.json +1 -1
- package/dist/templates/react-app/tsconfig.test.json +3 -1
- package/dist/templates/react-app/vite.config.ts +50 -34
- package/package.json +2 -1
- package/dist/configs/react-app/eslint.config.js +0 -94
- package/dist/templates/next-app/config/Identifier/common.error.ts +0 -41
- package/dist/templates/next-app/config/Identifier/common.ts +0 -69
- package/dist/templates/next-app/config/Identifier/page.about.ts +0 -181
- package/dist/templates/next-app/config/Identifier/page.admin.ts +0 -48
- package/dist/templates/next-app/config/Identifier/page.executor.ts +0 -272
- package/dist/templates/next-app/config/Identifier/page.identifiter.ts +0 -39
- package/dist/templates/next-app/config/Identifier/page.jsonStorage.ts +0 -72
- package/dist/templates/next-app/config/Identifier/page.request.ts +0 -182
- package/dist/templates/next-app/docs/env.md +0 -94
- package/dist/templates/next-app/src/base/cases/ChatAction.ts +0 -21
- package/dist/templates/next-app/src/base/cases/FocusBarAction.ts +0 -36
- package/dist/templates/next-app/src/base/cases/RequestState.ts +0 -20
- package/dist/templates/next-app/src/base/port/AdminPageInterface.ts +0 -85
- package/dist/templates/next-app/src/base/port/AsyncStateInterface.ts +0 -7
- package/dist/templates/next-app/src/base/services/AdminUserService.ts +0 -45
- package/dist/templates/next-app/src/uikit/components/ChatRoot.tsx +0 -17
- package/dist/templates/next-app/src/uikit/components/chat/ChatActionInterface.ts +0 -30
- package/dist/templates/next-app/src/uikit/components/chat/ChatFocusBar.tsx +0 -65
- package/dist/templates/next-app/src/uikit/components/chat/ChatMessages.tsx +0 -59
- package/dist/templates/next-app/src/uikit/components/chat/ChatWrap.tsx +0 -28
- package/dist/templates/next-app/src/uikit/components/chat/FocusBarActionInterface.ts +0 -19
- package/dist/templates/next-app/src/uikit/hook/useMountedClient.ts +0 -17
- package/dist/templates/next-app/src/uikit/hook/useStore.ts +0 -15
- package/dist/templates/react-app/__tests__/__mocks__/I18nService.ts +0 -13
- package/dist/templates/react-app/__tests__/src/App.test.tsx +0 -139
- package/dist/templates/react-app/config/Identifier/page.identifiter.ts +0 -39
- package/dist/templates/react-app/config/i18n.ts +0 -15
- package/dist/templates/react-app/docs/en/project-structure.md +0 -434
- package/dist/templates/react-app/docs/zh/project-structure.md +0 -434
- package/dist/templates/react-app/src/base/cases/RequestState.ts +0 -20
- package/dist/templates/react-app/src/base/port/AsyncStateInterface.ts +0 -7
- package/dist/templates/react-app/src/uikit/hooks/useDocumentTitle.ts +0 -15
- package/dist/templates/react-app/src/uikit/hooks/useStore.ts +0 -15
|
@@ -3,32 +3,32 @@
|
|
|
3
3
|
* @localZh 不是一个有效的登录参数
|
|
4
4
|
* @localEn Not a valid login parameter
|
|
5
5
|
*/
|
|
6
|
-
export const V_LOGIN_PARAMS_REQUIRED = '
|
|
6
|
+
export const V_LOGIN_PARAMS_REQUIRED = 'common:v:login_params_required';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @description Invalid email format validation message
|
|
10
10
|
* @localZh 邮箱格式无效的验证消息
|
|
11
11
|
* @localEn Invalid email format validation message
|
|
12
12
|
*/
|
|
13
|
-
export const V_EMAIL_INVALID = '
|
|
13
|
+
export const V_EMAIL_INVALID = 'common:v:email_invalid';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @description Password minimum length validation message
|
|
17
17
|
* @localZh 密码最小长度验证消息(6)
|
|
18
18
|
* @localEn Password minimum length validation message(6)
|
|
19
19
|
*/
|
|
20
|
-
export const V_PASSWORD_MIN_LENGTH = '
|
|
20
|
+
export const V_PASSWORD_MIN_LENGTH = 'common:v:password_min_length';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* @description Password maximum length validation message
|
|
24
24
|
* @localZh 密码最大长度验证消息(50)
|
|
25
25
|
* @localEn Password maximum length validation message(50)
|
|
26
26
|
*/
|
|
27
|
-
export const V_PASSWORD_MAX_LENGTH = '
|
|
27
|
+
export const V_PASSWORD_MAX_LENGTH = 'common:v:password_max_length';
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* @description Password whitespace validation message
|
|
31
31
|
* @localZh 密码不能包含空格的验证消息
|
|
32
32
|
* @localEn Password cannot contain whitespace characters validation message
|
|
33
33
|
*/
|
|
34
|
-
export const V_PASSWORD_SPECIAL_CHARS = '
|
|
34
|
+
export const V_PASSWORD_SPECIAL_CHARS = 'common:v:password_special_chars';
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
export * from './api';
|
|
2
1
|
export * from './common';
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './page.admin';
|
|
6
|
-
export * from './page.executor';
|
|
7
|
-
export * from './page.home';
|
|
8
|
-
export * from './page.identifiter';
|
|
9
|
-
export * from './page.jsonStorage';
|
|
10
|
-
export * from './page.login';
|
|
11
|
-
export * from './page.register';
|
|
12
|
-
export * from './page.request';
|
|
13
|
-
export * from './validator';
|
|
2
|
+
export * from './pages';
|
|
3
|
+
export * from './api';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description Admin page title
|
|
3
|
+
* @localZh 管理员页面
|
|
4
|
+
* @localEn Admin page
|
|
5
|
+
*/
|
|
6
|
+
export const ADMIN_HOME_TITLE = 'admin_home:title';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @description Admin page description
|
|
10
|
+
* @localZh 管理员页面
|
|
11
|
+
* @localEn Admin page
|
|
12
|
+
*/
|
|
13
|
+
export const ADMIN_HOME_DESCRIPTION = 'admin_home:description';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @description Admin page keywords
|
|
17
|
+
* @localZh 管理员页面关键词
|
|
18
|
+
* @localEn Admin page
|
|
19
|
+
*/
|
|
20
|
+
export const ADMIN_HOME_KEYWORDS = 'admin_home:keywords';
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @description Home page welcome message
|
|
24
|
+
* @localZh 欢迎来到管理员页面
|
|
25
|
+
* @localEn Welcome to the admin page
|
|
26
|
+
*/
|
|
27
|
+
export const ADMIN_HOME_WELCOME = 'admin_home:welcome';
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description Admin locales page title
|
|
3
|
+
* @localZh 后台管理 - 管理员语言页面
|
|
4
|
+
* @localEn Admin locales page
|
|
5
|
+
*/
|
|
6
|
+
export const ADMIN_LOCALES_TITLE = 'admin_locales:title';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @description Admin locales page description
|
|
10
|
+
* @localZh 后台管理 - 管理员语言页面
|
|
11
|
+
* @localEn Admin locales page
|
|
12
|
+
*/
|
|
13
|
+
export const ADMIN_LOCALES_DESCRIPTION = 'admin_locales:description';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @description Admin locales page keywords
|
|
17
|
+
* @localZh 后台管理 - 管理员语言页面关键词
|
|
18
|
+
* @localEn Admin locales page keywords
|
|
19
|
+
*/
|
|
20
|
+
export const ADMIN_LOCALES_KEYWORDS = 'admin_locales:keywords';
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @description Admin locales page id title
|
|
24
|
+
* @localZh id 标题
|
|
25
|
+
* @localEn id title
|
|
26
|
+
*/
|
|
27
|
+
export const ADMIN_LOCALES_ID_TITLE = 'admin_locales:id__title';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @description Admin locales page id description
|
|
31
|
+
* @localZh 后台管理 - 管理员语言页面 id 描述
|
|
32
|
+
* @localEn id description
|
|
33
|
+
*/
|
|
34
|
+
export const ADMIN_LOCALES_ID_DESCRIPTION = 'admin_locales:id__description';
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @description Admin locales page id label
|
|
38
|
+
* @localZh 后台管理 - 管理员语言页面 id 标签
|
|
39
|
+
* @localEn id label
|
|
40
|
+
*/
|
|
41
|
+
export const ADMIN_LOCALES_ID_LABEL = 'admin_locales:id__label';
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @description Admin locales page id placeholder
|
|
45
|
+
* @localZh id 占位符
|
|
46
|
+
* @localEn id placeholder
|
|
47
|
+
*/
|
|
48
|
+
export const ADMIN_LOCALES_ID_PLACEHOLDER = 'admin_locales:id__placeholder';
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @description Admin locales page id error
|
|
52
|
+
* @localZh id 错误
|
|
53
|
+
* @localEn id error
|
|
54
|
+
*/
|
|
55
|
+
export const ADMIN_LOCALES_ID_ERROR = 'admin_locales:id__error';
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @description Admin locales page value title
|
|
59
|
+
* @localZh value 标题
|
|
60
|
+
* @localEn value title
|
|
61
|
+
*/
|
|
62
|
+
export const ADMIN_LOCALES_VALUE_TITLE = 'admin_locales:value__title';
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @description Admin locales page value label
|
|
66
|
+
* @localZh value 标签
|
|
67
|
+
* @localEn value label
|
|
68
|
+
*/
|
|
69
|
+
export const ADMIN_LOCALES_VALUE_LABEL = 'admin_locales:value__label';
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @description Admin locales page value placeholder
|
|
73
|
+
* @localZh value 占位符
|
|
74
|
+
* @localEn value placeholder
|
|
75
|
+
*/
|
|
76
|
+
export const ADMIN_LOCALES_VALUE_PLACEHOLDER =
|
|
77
|
+
'admin_locales:value__placeholder';
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @description Admin locales page en title
|
|
81
|
+
* @localZh en 标题
|
|
82
|
+
* @localEn en title
|
|
83
|
+
*/
|
|
84
|
+
export const ADMIN_LOCALES_EN_TITLE = 'admin_locales:en__title';
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @description Admin locales page en label
|
|
88
|
+
* @localZh en 标签
|
|
89
|
+
* @localEn en label
|
|
90
|
+
*/
|
|
91
|
+
export const ADMIN_LOCALES_EN_LABEL = 'admin_locales:en__label';
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @description Admin locales page en placeholder
|
|
95
|
+
* @localZh en 占位符
|
|
96
|
+
* @localEn en placeholder
|
|
97
|
+
*/
|
|
98
|
+
export const ADMIN_LOCALES_EN_PLACEHOLDER = 'admin_locales:en__placeholder';
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @description Admin locales page zh title
|
|
102
|
+
* @localZh zh 标题
|
|
103
|
+
* @localEn zh title
|
|
104
|
+
*/
|
|
105
|
+
export const ADMIN_LOCALES_ZH_TITLE = 'admin_locales:zh__title';
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @description Admin locales page zh label
|
|
109
|
+
* @localZh zh 标签
|
|
110
|
+
* @localEn zh label
|
|
111
|
+
*/
|
|
112
|
+
export const ADMIN_LOCALES_ZH_LABEL = 'admin_locales:zh__label';
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @description Admin locales page zh placeholder
|
|
116
|
+
* @localZh zh 占位符
|
|
117
|
+
* @localEn zh placeholder
|
|
118
|
+
*/
|
|
119
|
+
export const ADMIN_LOCALES_ZH_PLACEHOLDER = 'admin_locales:zh__placeholder';
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @description Admin locales page description title
|
|
123
|
+
* @localZh description 标题
|
|
124
|
+
* @localEn description title
|
|
125
|
+
*/
|
|
126
|
+
export const ADMIN_LOCALES_DESCRIPTION_TITLE =
|
|
127
|
+
'admin_locales:description__title';
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @description Admin locales page description label
|
|
131
|
+
* @localZh description 标签
|
|
132
|
+
* @localEn description label
|
|
133
|
+
*/
|
|
134
|
+
export const ADMIN_LOCALES_DESCRIPTION_LABEL =
|
|
135
|
+
'admin_locales:description__label';
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @description Admin locales page description placeholder
|
|
139
|
+
* @localZh description 占位符
|
|
140
|
+
* @localEn description placeholder
|
|
141
|
+
*/
|
|
142
|
+
export const ADMIN_LOCALES_DESCRIPTION_PLACEHOLDER =
|
|
143
|
+
'admin_locales:description__placeholder';
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @description Admin locales page namespace title
|
|
147
|
+
* @localZh namespace 标题
|
|
148
|
+
* @localEn namespace title
|
|
149
|
+
*/
|
|
150
|
+
export const ADMIN_LOCALES_NAMESPACE_TITLE = 'admin_locales:namespace__title';
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @description Admin locales page namespace label
|
|
154
|
+
* @localZh namespace 标签
|
|
155
|
+
* @localEn namespace label
|
|
156
|
+
*/
|
|
157
|
+
export const ADMIN_LOCALES_NAMESPACE_LABEL = 'admin_locales:namespace__label';
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @description Admin locales page namespace placeholder
|
|
161
|
+
* @localZh namespace 占位符
|
|
162
|
+
* @localEn namespace placeholder
|
|
163
|
+
*/
|
|
164
|
+
export const ADMIN_LOCALES_NAMESPACE_PLACEHOLDER =
|
|
165
|
+
'admin_locales:namespace__placeholder';
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @description Admin locales page created at title
|
|
169
|
+
* @localZh created at 标题
|
|
170
|
+
* @localEn created at title
|
|
171
|
+
*/
|
|
172
|
+
export const ADMIN_LOCALES_CREATED_AT_TITLE = 'admin_locales:created_at__title';
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @description Admin locales page created at label
|
|
176
|
+
* @localZh created at 标签
|
|
177
|
+
* @localEn created at label
|
|
178
|
+
*/
|
|
179
|
+
export const ADMIN_LOCALES_CREATED_AT_LABEL = 'admin_locales:created_at__label';
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @description Admin locales page created at placeholder
|
|
183
|
+
* @localZh created at 占位符
|
|
184
|
+
* @localEn created at placeholder
|
|
185
|
+
*/
|
|
186
|
+
export const ADMIN_LOCALES_CREATED_AT_PLACEHOLDER =
|
|
187
|
+
'admin_locales:created_at__placeholder';
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* @description Admin locales page updated at title
|
|
191
|
+
* @localZh updated at 标题
|
|
192
|
+
* @localEn updated at title
|
|
193
|
+
* */
|
|
194
|
+
export const ADMIN_LOCALES_UPDATED_AT_TITLE = 'admin_locales:updated_at__title';
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @description Admin locales page updated at label
|
|
198
|
+
* @localZh updated at 标签
|
|
199
|
+
* @localEn updated at label
|
|
200
|
+
*/
|
|
201
|
+
|
|
202
|
+
export const ADMIN_LOCALES_UPDATED_AT_LABEL = 'admin_locales:updated_at__label';
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @description Admin locales page updated at placeholder
|
|
206
|
+
* @localZh updated at 占位符
|
|
207
|
+
* @localEn updated at placeholder
|
|
208
|
+
*/
|
|
209
|
+
export const ADMIN_LOCALES_UPDATED_AT_PLACEHOLDER =
|
|
210
|
+
'admin_locales:updated_at__placeholder';
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @description Admin locales page import title
|
|
214
|
+
* @localZh 导入国际化数据
|
|
215
|
+
* @localEn Import i18n
|
|
216
|
+
*/
|
|
217
|
+
export const ADMIN_LOCALES_IMPORT_TITLE = 'admin_locales:import__title';
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @description Admin locales page import zh title
|
|
221
|
+
* @localZh 导入中文数据
|
|
222
|
+
* @localEn Import zh data
|
|
223
|
+
*/
|
|
224
|
+
export const ADMIN_LOCALES_IMPORT_ZH_TITLE = 'admin_locales:import__zh__title';
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @description Admin locales page import en title
|
|
228
|
+
* @localZh 导入英文数据
|
|
229
|
+
* @localEn Import en data
|
|
230
|
+
*/
|
|
231
|
+
export const ADMIN_LOCALES_IMPORT_EN_TITLE = 'admin_locales:import__en__title';
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* @description Admin locales page form create title
|
|
235
|
+
* @localZh 创建国际化数据
|
|
236
|
+
* @localEn Create i18n
|
|
237
|
+
*/
|
|
238
|
+
export const ADMIN_LOCALES_CREATE_TITLE = 'admin_locales:create__title';
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* @description Admin locales page form edit title
|
|
242
|
+
* @localZh 编辑国际化数据
|
|
243
|
+
* @localEn Edit i18n
|
|
244
|
+
*/
|
|
245
|
+
export const ADMIN_LOCALES_EDIT_TITLE = 'admin_locales:edit__title';
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @description Admin locales page form detail title
|
|
249
|
+
* @localZh 查看国际化数据
|
|
250
|
+
* @localEn View i18n
|
|
251
|
+
*/
|
|
252
|
+
export const ADMIN_LOCALES_DETAIL_TITLE = 'admin_locales:detail__title';
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* @description Admin locales page form delete title
|
|
256
|
+
* @localZh 删除国际化数据
|
|
257
|
+
* @localEn Delete i18n
|
|
258
|
+
*/
|
|
259
|
+
export const ADMIN_LOCALES_DELETE_TITLE = 'admin_locales:delete__title';
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* @description Admin locales page form delete content
|
|
263
|
+
* @localZh 删除国际化数据内容
|
|
264
|
+
* @localEn Delete i18n content
|
|
265
|
+
*/
|
|
266
|
+
export const ADMIN_LOCALES_DELETE_CONTENT = 'admin_locales:delete__content';
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description Admin users page title
|
|
3
|
+
* @localZh 后台管理 - 管理员用户页面
|
|
4
|
+
* @localEn Admin users page
|
|
5
|
+
*/
|
|
6
|
+
export const ADMIN_USERS_TITLE = 'admin_users:title';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @description Admin users page description
|
|
10
|
+
* @localZh 后台管理 - 管理员用户页面
|
|
11
|
+
* @localEn Admin users page
|
|
12
|
+
*/
|
|
13
|
+
export const ADMIN_USERS_DESCRIPTION = 'admin_users:description';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @description Admin users page keywords
|
|
17
|
+
* @localZh 后台管理 - 管理员用户页面关键词
|
|
18
|
+
* @localEn Admin users page keywords
|
|
19
|
+
*/
|
|
20
|
+
export const ADMIN_USERS_KEYWORDS = 'admin_users:keywords';
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @description Admin users page form create title
|
|
24
|
+
* @localZh 创建用户
|
|
25
|
+
* @localEn Create user
|
|
26
|
+
*/
|
|
27
|
+
export const ADMIN_USERS_CREATE_TITLE = 'admin_users:create__title';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @description Admin users page form edit title
|
|
31
|
+
* @localZh 编辑用户
|
|
32
|
+
* @localEn Edit user
|
|
33
|
+
*/
|
|
34
|
+
export const ADMIN_USERS_EDIT_TITLE = 'admin_users:edit__title';
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @description Admin users page form detail title
|
|
38
|
+
* @localZh 查看用户
|
|
39
|
+
* @localEn View user
|
|
40
|
+
*/
|
|
41
|
+
export const ADMIN_USERS_DETAIL_TITLE = 'admin_users:detail__title';
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @description Admin users page form delete title
|
|
45
|
+
* @localZh 删除用户
|
|
46
|
+
* @localEn Delete user
|
|
47
|
+
*/
|
|
48
|
+
export const ADMIN_USERS_DELETE_TITLE = 'admin_users:delete__title';
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @description Admin users page form delete content
|
|
52
|
+
* @localZh 删除用户内容
|
|
53
|
+
* @localEn Delete user content
|
|
54
|
+
*/
|
|
55
|
+
export const ADMIN_USERS_DELETE_CONTENT = 'admin_users:delete__content';
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @description Admin users page id title
|
|
59
|
+
* @localZh 标题
|
|
60
|
+
* @localEn ID
|
|
61
|
+
*/
|
|
62
|
+
export const ADMIN_USERS_ID_TITLE = 'admin_users:id__title';
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @description Admin users page id description
|
|
66
|
+
* @localZh ID 描述
|
|
67
|
+
* @localEn Description
|
|
68
|
+
*/
|
|
69
|
+
export const ADMIN_USERS_ID_DESCRIPTION = 'admin_users:id__description';
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @description Admin users page id label
|
|
73
|
+
* @localZh ID 标签
|
|
74
|
+
* @localEn ID label
|
|
75
|
+
*/
|
|
76
|
+
export const ADMIN_USERS_ID_LABEL = 'admin_users:id__label';
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @description Admin users page id placeholder
|
|
80
|
+
* @localZh ID 占位符
|
|
81
|
+
* @localEn ID placeholder
|
|
82
|
+
*/
|
|
83
|
+
export const ADMIN_USERS_ID_PLACEHOLDER = 'admin_users:id__placeholder';
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @description Admin users page id title
|
|
87
|
+
* @localZh 角色
|
|
88
|
+
* @localEn Role
|
|
89
|
+
*/
|
|
90
|
+
export const ADMIN_USERS_ROLE_TITLE = 'admin_users:role__title';
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @description Admin users page id description
|
|
94
|
+
* @localZh 角色描述
|
|
95
|
+
* @localEn Role description
|
|
96
|
+
*/
|
|
97
|
+
export const ADMIN_USERS_ROLE_DESCRIPTION = 'admin_users:role__description';
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @description Admin users page id label
|
|
101
|
+
* @localZh 角色标签
|
|
102
|
+
* @localEn Role label
|
|
103
|
+
*/
|
|
104
|
+
export const ADMIN_USERS_ROLE_LABEL = 'admin_users:role__label';
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @description Admin users page id placeholder
|
|
108
|
+
* @localZh 角色占位符
|
|
109
|
+
* @localEn Role placeholder
|
|
110
|
+
*/
|
|
111
|
+
export const ADMIN_USERS_ROLE_PLACEHOLDER = 'admin_users:role__placeholder';
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @description Admin users page id title
|
|
115
|
+
* @localZh 邮箱
|
|
116
|
+
* @localEn Email
|
|
117
|
+
*/
|
|
118
|
+
export const ADMIN_USERS_EMAIL_TITLE = 'admin_users:email__title';
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @description Admin users page id description
|
|
122
|
+
* @localZh 邮箱描述
|
|
123
|
+
* @localEn Email description
|
|
124
|
+
*/
|
|
125
|
+
export const ADMIN_USERS_EMAIL_DESCRIPTION = 'admin_users:email__description';
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @description Admin users page id label
|
|
129
|
+
* @localZh 邮箱标签
|
|
130
|
+
* @localEn Email label
|
|
131
|
+
*/
|
|
132
|
+
export const ADMIN_USERS_EMAIL_LABEL = 'admin_users:email__label';
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @description Admin users page id placeholder
|
|
136
|
+
* @localZh 邮箱占位符
|
|
137
|
+
* @localEn Email placeholder
|
|
138
|
+
*/
|
|
139
|
+
export const ADMIN_USERS_EMAIL_PLACEHOLDER = 'admin_users:email__placeholder';
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* @description Admin users page password title
|
|
143
|
+
* @localZh 密码
|
|
144
|
+
* @localEn Password
|
|
145
|
+
*/
|
|
146
|
+
export const ADMIN_USERS_PASSWORD_TITLE = 'admin_users:password__title';
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @description Admin users page password description
|
|
150
|
+
* @localZh 用户密码
|
|
151
|
+
* @localEn User password
|
|
152
|
+
*/
|
|
153
|
+
export const ADMIN_USERS_PASSWORD_DESCRIPTION =
|
|
154
|
+
'admin_users:password__description';
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @description Admin users page password label
|
|
158
|
+
* @localZh 密码
|
|
159
|
+
* @localEn Password
|
|
160
|
+
*/
|
|
161
|
+
export const ADMIN_USERS_PASSWORD_LABEL = 'admin_users:password__label';
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @description Admin users page password placeholder
|
|
165
|
+
* @localZh 请输入密码
|
|
166
|
+
* @localEn Please enter password
|
|
167
|
+
*/
|
|
168
|
+
export const ADMIN_USERS_PASSWORD_PLACEHOLDER =
|
|
169
|
+
'admin_users:password__placeholder';
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* @description Admin users page credential token title
|
|
173
|
+
* @localZh 凭证令牌
|
|
174
|
+
* @localEn Credential Token
|
|
175
|
+
*/
|
|
176
|
+
export const ADMIN_USERS_CREDENTIAL_TOKEN_TITLE =
|
|
177
|
+
'admin_users:credential_token__title';
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @description Admin users page credential token description
|
|
181
|
+
* @localZh 用户凭证令牌
|
|
182
|
+
* @localEn User credential token
|
|
183
|
+
*/
|
|
184
|
+
export const ADMIN_USERS_CREDENTIAL_TOKEN_DESCRIPTION =
|
|
185
|
+
'admin_users:credential_token__description';
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @description Admin users page credential token label
|
|
189
|
+
* @localZh 凭证令牌
|
|
190
|
+
* @localEn Credential Token
|
|
191
|
+
*/
|
|
192
|
+
export const ADMIN_USERS_CREDENTIAL_TOKEN_LABEL =
|
|
193
|
+
'admin_users:credential_token__label';
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* @description Admin users page credential token placeholder
|
|
197
|
+
* @localZh 凭证令牌
|
|
198
|
+
* @localEn Credential token
|
|
199
|
+
*/
|
|
200
|
+
export const ADMIN_USERS_CREDENTIAL_TOKEN_PLACEHOLDER =
|
|
201
|
+
'admin_users:credential_token__placeholder';
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @description Admin users page email confirmed at title
|
|
205
|
+
* @localZh 邮箱确认时间
|
|
206
|
+
* @localEn Email Confirmed At
|
|
207
|
+
*/
|
|
208
|
+
export const ADMIN_USERS_EMAIL_CONFIRMED_AT_TITLE =
|
|
209
|
+
'admin_users:email_confirmed_at__title';
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* @description Admin users page email confirmed at description
|
|
213
|
+
* @localZh 邮箱确认时间
|
|
214
|
+
* @localEn Email confirmed at timestamp
|
|
215
|
+
*/
|
|
216
|
+
export const ADMIN_USERS_EMAIL_CONFIRMED_AT_DESCRIPTION =
|
|
217
|
+
'admin_users:email_confirmed_at__description';
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @description Admin users page email confirmed at label
|
|
221
|
+
* @localZh 邮箱确认时间
|
|
222
|
+
* @localEn Email Confirmed At
|
|
223
|
+
*/
|
|
224
|
+
export const ADMIN_USERS_EMAIL_CONFIRMED_AT_LABEL =
|
|
225
|
+
'admin_users:email_confirmed_at__label';
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* @description Admin users page email confirmed at placeholder
|
|
229
|
+
* @localZh 邮箱确认时间
|
|
230
|
+
* @localEn Email confirmed at
|
|
231
|
+
*/
|
|
232
|
+
export const ADMIN_USERS_EMAIL_CONFIRMED_AT_PLACEHOLDER =
|
|
233
|
+
'admin_users:email_confirmed_at__placeholder';
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* @description Admin users page created at title
|
|
237
|
+
* @localZh 创建时间
|
|
238
|
+
* @localEn Created At
|
|
239
|
+
*/
|
|
240
|
+
export const ADMIN_USERS_CREATED_AT_TITLE = 'admin_users:created_at__title';
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @description Admin users page created at description
|
|
244
|
+
* @localZh 用户创建时间
|
|
245
|
+
* @localEn User creation timestamp
|
|
246
|
+
*/
|
|
247
|
+
export const ADMIN_USERS_CREATED_AT_DESCRIPTION =
|
|
248
|
+
'admin_users:created_at__description';
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* @description Admin users page created at label
|
|
252
|
+
* @localZh 创建时间
|
|
253
|
+
* @localEn Created At
|
|
254
|
+
*/
|
|
255
|
+
export const ADMIN_USERS_CREATED_AT_LABEL = 'admin_users:created_at__label';
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @description Admin users page created at placeholder
|
|
259
|
+
* @localZh 创建时间
|
|
260
|
+
* @localEn Created at
|
|
261
|
+
*/
|
|
262
|
+
export const ADMIN_USERS_CREATED_AT_PLACEHOLDER =
|
|
263
|
+
'admin_users:created_at__placeholder';
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* @description Admin users page updated at title
|
|
267
|
+
* @localZh 更新时间
|
|
268
|
+
* @localEn Updated At
|
|
269
|
+
*/
|
|
270
|
+
export const ADMIN_USERS_UPDATED_AT_TITLE = 'admin_users:updated_at__title';
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @description Admin users page updated at description
|
|
274
|
+
* @localZh 用户更新时间
|
|
275
|
+
* @localEn User update timestamp
|
|
276
|
+
*/
|
|
277
|
+
export const ADMIN_USERS_UPDATED_AT_DESCRIPTION =
|
|
278
|
+
'admin_users:updated_at__description';
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* @description Admin users page updated at label
|
|
282
|
+
* @localZh 更新时间
|
|
283
|
+
* @localEn Updated At
|
|
284
|
+
*/
|
|
285
|
+
export const ADMIN_USERS_UPDATED_AT_LABEL = 'admin_users:updated_at__label';
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @description Admin users page updated at placeholder
|
|
289
|
+
* @localZh 更新时间
|
|
290
|
+
* @localEn Updated at
|
|
291
|
+
*/
|
|
292
|
+
export const ADMIN_USERS_UPDATED_AT_PLACEHOLDER =
|
|
293
|
+
'admin_users:updated_at__placeholder';
|