@qlover/create-app 0.7.6 → 0.7.8

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.
Files changed (104) hide show
  1. package/CHANGELOG.md +328 -0
  2. package/dist/index.cjs +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/templates/next-app/.env.template +22 -0
  5. package/dist/templates/next-app/.prettierignore +58 -0
  6. package/dist/templates/next-app/README.md +36 -0
  7. package/dist/templates/next-app/build/generateLocales.ts +25 -0
  8. package/dist/templates/next-app/config/IOCIdentifier.ts +58 -0
  9. package/dist/templates/next-app/config/Identifier/common.error.ts +41 -0
  10. package/dist/templates/next-app/config/Identifier/common.ts +62 -0
  11. package/dist/templates/next-app/config/Identifier/index.ts +10 -0
  12. package/dist/templates/next-app/config/Identifier/page.about.ts +181 -0
  13. package/dist/templates/next-app/config/Identifier/page.executor.ts +272 -0
  14. package/dist/templates/next-app/config/Identifier/page.home.ts +63 -0
  15. package/dist/templates/next-app/config/Identifier/page.identifiter.ts +39 -0
  16. package/dist/templates/next-app/config/Identifier/page.jsonStorage.ts +72 -0
  17. package/dist/templates/next-app/config/Identifier/page.login.ts +165 -0
  18. package/dist/templates/next-app/config/Identifier/page.register.ts +147 -0
  19. package/dist/templates/next-app/config/Identifier/page.request.ts +182 -0
  20. package/dist/templates/next-app/config/common.ts +34 -0
  21. package/dist/templates/next-app/config/i18n/PageI18nInterface.ts +51 -0
  22. package/dist/templates/next-app/config/i18n/i18nConfig.ts +12 -0
  23. package/dist/templates/next-app/config/i18n/index.ts +3 -0
  24. package/dist/templates/next-app/config/i18n/loginI18n.ts +42 -0
  25. package/dist/templates/next-app/config/theme.ts +23 -0
  26. package/dist/templates/next-app/docs/env.md +94 -0
  27. package/dist/templates/next-app/eslint.config.mjs +181 -0
  28. package/dist/templates/next-app/next.config.ts +21 -0
  29. package/dist/templates/next-app/package.json +58 -0
  30. package/dist/templates/next-app/postcss.config.mjs +5 -0
  31. package/dist/templates/next-app/public/file.svg +1 -0
  32. package/dist/templates/next-app/public/globe.svg +1 -0
  33. package/dist/templates/next-app/public/locales/en.json +184 -0
  34. package/dist/templates/next-app/public/locales/zh.json +184 -0
  35. package/dist/templates/next-app/public/next.svg +1 -0
  36. package/dist/templates/next-app/public/vercel.svg +1 -0
  37. package/dist/templates/next-app/public/window.svg +1 -0
  38. package/dist/templates/next-app/src/app/[locale]/favicon.ico +0 -0
  39. package/dist/templates/next-app/src/app/[locale]/layout.tsx +32 -0
  40. package/dist/templates/next-app/src/app/[locale]/login/FeatureItem.tsx +13 -0
  41. package/dist/templates/next-app/src/app/[locale]/login/LoginForm.tsx +114 -0
  42. package/dist/templates/next-app/src/app/[locale]/login/page.tsx +86 -0
  43. package/dist/templates/next-app/src/app/[locale]/not-found.tsx +24 -0
  44. package/dist/templates/next-app/src/app/[locale]/page.tsx +119 -0
  45. package/dist/templates/next-app/src/base/cases/AppConfig.ts +15 -0
  46. package/dist/templates/next-app/src/base/cases/DialogHandler.ts +92 -0
  47. package/dist/templates/next-app/src/base/cases/InversifyContainer.ts +33 -0
  48. package/dist/templates/next-app/src/base/cases/NavigateBridge.ts +16 -0
  49. package/dist/templates/next-app/src/base/cases/PageParams.ts +74 -0
  50. package/dist/templates/next-app/src/base/cases/RouterService.ts +35 -0
  51. package/dist/templates/next-app/src/base/cases/ServerAuth.ts +17 -0
  52. package/dist/templates/next-app/src/base/cases/ServerErrorHandler.ts +27 -0
  53. package/dist/templates/next-app/src/base/port/I18nServiceInterface.ts +25 -0
  54. package/dist/templates/next-app/src/base/port/IOCInterface.ts +24 -0
  55. package/dist/templates/next-app/src/base/port/ParamsHandlerInterface.ts +11 -0
  56. package/dist/templates/next-app/src/base/port/RouterInterface.ts +11 -0
  57. package/dist/templates/next-app/src/base/port/ServerAuthInterface.ts +3 -0
  58. package/dist/templates/next-app/src/base/port/ServerInterface.ts +12 -0
  59. package/dist/templates/next-app/src/base/port/UserServiceInterface.ts +11 -0
  60. package/dist/templates/next-app/src/base/services/I18nService.ts +115 -0
  61. package/dist/templates/next-app/src/base/services/UserService.ts +23 -0
  62. package/dist/templates/next-app/src/base/types/PageProps.ts +9 -0
  63. package/dist/templates/next-app/src/core/bootstraps/BootstrapClient.ts +61 -0
  64. package/dist/templates/next-app/src/core/bootstraps/BootstrapServer.ts +78 -0
  65. package/dist/templates/next-app/src/core/bootstraps/BootstrapsRegistry.ts +47 -0
  66. package/dist/templates/next-app/src/core/bootstraps/IocIdentifierTest.ts +26 -0
  67. package/dist/templates/next-app/src/core/bootstraps/PrintBootstrap.ts +18 -0
  68. package/dist/templates/next-app/src/core/clientIoc/ClientIOC.ts +37 -0
  69. package/dist/templates/next-app/src/core/clientIoc/ClientIOCRegister.ts +97 -0
  70. package/dist/templates/next-app/src/core/globals.ts +24 -0
  71. package/dist/templates/next-app/src/core/serverIoc/ServerIOC.ts +52 -0
  72. package/dist/templates/next-app/src/core/serverIoc/ServerIOCRegister.ts +63 -0
  73. package/dist/templates/next-app/src/i18n/request.ts +21 -0
  74. package/dist/templates/next-app/src/i18n/routing.ts +30 -0
  75. package/dist/templates/next-app/src/middleware.ts +25 -0
  76. package/dist/templates/next-app/src/styles/css/antd-themes/_default.css +239 -0
  77. package/dist/templates/next-app/src/styles/css/antd-themes/dark.css +178 -0
  78. package/dist/templates/next-app/src/styles/css/antd-themes/index.css +3 -0
  79. package/dist/templates/next-app/src/styles/css/antd-themes/no-context.css +34 -0
  80. package/dist/templates/next-app/src/styles/css/antd-themes/pink.css +204 -0
  81. package/dist/templates/next-app/src/styles/css/index.css +6 -0
  82. package/dist/templates/next-app/src/styles/css/page.css +19 -0
  83. package/dist/templates/next-app/src/styles/css/tailwind.css +5 -0
  84. package/dist/templates/next-app/src/styles/css/themes/_default.css +29 -0
  85. package/dist/templates/next-app/src/styles/css/themes/dark.css +29 -0
  86. package/dist/templates/next-app/src/styles/css/themes/index.css +3 -0
  87. package/dist/templates/next-app/src/styles/css/themes/pink.css +29 -0
  88. package/dist/templates/next-app/src/styles/css/zIndex.css +9 -0
  89. package/dist/templates/next-app/src/uikit/components/BaseHeader.tsx +47 -0
  90. package/dist/templates/next-app/src/uikit/components/BootstrapsProvider.tsx +37 -0
  91. package/dist/templates/next-app/src/uikit/components/ComboProvider.tsx +50 -0
  92. package/dist/templates/next-app/src/uikit/components/LanguageSwitcher.tsx +52 -0
  93. package/dist/templates/next-app/src/uikit/components/LocaleLink.tsx +51 -0
  94. package/dist/templates/next-app/src/uikit/components/LogoutButton.tsx +34 -0
  95. package/dist/templates/next-app/src/uikit/components/NextIntlProvider.tsx +21 -0
  96. package/dist/templates/next-app/src/uikit/components/ThemeSwitcher.tsx +99 -0
  97. package/dist/templates/next-app/src/uikit/context/IOCContext.ts +13 -0
  98. package/dist/templates/next-app/src/uikit/hook/useI18nInterface.ts +28 -0
  99. package/dist/templates/next-app/src/uikit/hook/useIOC.ts +37 -0
  100. package/dist/templates/next-app/src/uikit/hook/useMountedClient.ts +11 -0
  101. package/dist/templates/next-app/src/uikit/hook/useStore.ts +15 -0
  102. package/dist/templates/next-app/tailwind.config.ts +8 -0
  103. package/dist/templates/next-app/tsconfig.json +36 -0
  104. package/package.json +1 -1
@@ -0,0 +1,41 @@
1
+ /**
2
+ * @description 本地未找到 user token
3
+ * @localZh 本地未找到 user token
4
+ * @localEn Local no user token
5
+ */
6
+ export const LOCAL_NO_USER_TOKEN = 'err__local__no__user__token';
7
+
8
+ /**
9
+ * @description 全局未找到 window
10
+ * @localZh 全局未找到 window
11
+ * @localEn Global no window
12
+ */
13
+ export const GLOBAL_NO_WINDOW = 'err__global__no__window';
14
+
15
+ /**
16
+ * @description 必须在 PageProvider 中使用
17
+ * @localZh 必须在 PageProvider 中使用
18
+ * @localEn Must be used in PageProvider
19
+ */
20
+ export const WITHIN_PAGE_PROVIDER = 'err__within__page__provider';
21
+
22
+ /**
23
+ * @description 响应内容没有 token 值
24
+ * @localZh 响应内容没有 token 值
25
+ * @localEn Response not token value
26
+ */
27
+ export const RES_NO_TOKEN = 'err__response__no__token';
28
+
29
+ /**
30
+ * @description 未找到组件
31
+ * @localZh 未找到组件
32
+ * @localEn Not found component
33
+ */
34
+ export const NOT_FOUND_COMPONENT = 'err__not__found__component';
35
+
36
+ /**
37
+ * @description 服务器认证错误
38
+ * @localZh 服务器认证错误
39
+ * @localEn Server auth error
40
+ */
41
+ export const SERVER_AUTH_ERROR = 'err__server__auth__error';
@@ -0,0 +1,62 @@
1
+ /**
2
+ * @description Theme switcher default theme label
3
+ * @localZh 默认主题
4
+ * @localEn Default Theme
5
+ */
6
+ export const HEADER_THEME_DEFAULT = 'header__theme__default';
7
+
8
+ /**
9
+ * @description Theme switcher dark theme label
10
+ * @localZh 暗色主题
11
+ * @localEn Dark Theme
12
+ */
13
+ export const HEADER_THEME_DARK = 'header__theme__dark';
14
+
15
+ /**
16
+ * @description Theme switcher pink theme label
17
+ * @localZh 粉色主题
18
+ * @localEn Pink Theme
19
+ */
20
+ export const HEADER_THEME_PINK = 'header__theme__pink';
21
+
22
+ /**
23
+ * @description logout dialog title
24
+ * @localZh 登出
25
+ * @localEn Logout
26
+ */
27
+ export const AUTH_LOGOUT_DIALOG_TITLE = 'auth__logout__dialog__title';
28
+
29
+ /**
30
+ * @description logout dialog content
31
+ * @localZh 确定要登出吗?
32
+ * @localEn Are you sure you want to logout?
33
+ */
34
+ export const AUTH_LOGOUT_DIALOG_CONTENT = 'auth__logout__dialog__content';
35
+
36
+ /**
37
+ * @description 404 page title
38
+ * @localZh 404 页面未找到
39
+ * @localEn 404 Page Not Found
40
+ */
41
+ export const PAGE_404_TITLE = 'page__404__title';
42
+
43
+ /**
44
+ * @description 404 page description
45
+ * @localZh 404 页面描述
46
+ * @localEn 404 Page Description
47
+ */
48
+ export const PAGE_404_DESCRIPTION = 'page__404__description';
49
+
50
+ /**
51
+ * @description 500 page title
52
+ * @localZh 500 页面错误
53
+ * @localEn 500 Page Error
54
+ */
55
+ export const PAGE_500_TITLE = 'page__500__title';
56
+
57
+ /**
58
+ * @description 500 page description
59
+ * @localZh 500 页面描述
60
+ * @localEn 500 Page Description
61
+ */
62
+ export const PAGE_500_DESCRIPTION = 'page__500__description';
@@ -0,0 +1,10 @@
1
+ export * from './common';
2
+ export * from './common.error';
3
+ export * from './page.about';
4
+ export * from './page.executor';
5
+ export * from './page.home';
6
+ export * from './page.identifiter';
7
+ export * from './page.jsonStorage';
8
+ export * from './page.login';
9
+ export * from './page.register';
10
+ export * from './page.request';
@@ -0,0 +1,181 @@
1
+ /**
2
+ * @description About page title
3
+ * @localZh 关于我们
4
+ * @localEn About
5
+ */
6
+ export const PAGE_ABOUT_TITLE = 'page__about__title';
7
+
8
+ /**
9
+ * @description About Page Description
10
+ * @localZh 了解更多关于我们的项目和团队信息
11
+ * @localEn Learn more about our project and team information
12
+ */
13
+ export const PAGE_ABOUT_DESCRIPTION = 'page__about__description';
14
+
15
+ /**
16
+ * @description Test message for About page
17
+ * @localZh 这是一条测试消息
18
+ * @localEn This is a test message
19
+ */
20
+ export const ABOUT_MESSAGE_TEST = 'about__message__test';
21
+
22
+ /**
23
+ * @description Notification title for About page
24
+ * @localZh 通知标题
25
+ * @localEn Notification Title
26
+ */
27
+ export const ABOUT_NOTIFICATION_TITLE = 'about__notification__title';
28
+
29
+ /**
30
+ * @description Notification description for About page
31
+ * @localZh 这是一条测试通知
32
+ * @localEn This is a test notification
33
+ */
34
+ export const ABOUT_NOTIFICATION_DESC = 'about__notification__description';
35
+
36
+ /**
37
+ * @description Message button text for About page
38
+ * @localZh 显示 Message
39
+ * @localEn Show Message
40
+ */
41
+ export const ABOUT_BTN_MESSAGE = 'about__button__message';
42
+
43
+ /**
44
+ * @description Message button text for About page
45
+ * @localZh 静态消息
46
+ * @localEn Static Message
47
+ */
48
+ export const ABOUT_BTN_MESSAGE2 = 'about__button__message2';
49
+
50
+ /**
51
+ * @description Notification button text for About page
52
+ * @localZh 显示 Notification
53
+ * @localEn Show Notification
54
+ */
55
+ export const ABOUT_BTN_NOTIFICATION = 'about__button__notification';
56
+
57
+ /**
58
+ * @description Notification button text for About page
59
+ * @localZh 静态通知
60
+ * @localEn Static Notification
61
+ */
62
+ export const ABOUT_BTN_NOTIFICATION2 = 'about__button__notification2';
63
+
64
+ /**
65
+ * @description Tooltip text for About page
66
+ * @localZh 这是一个提示文本
67
+ * @localEn This is a tooltip text
68
+ */
69
+ export const ABOUT_TOOLTIP_TEXT = 'about__tooltip__text';
70
+
71
+ /**
72
+ * @description Tooltip button text for About page
73
+ * @localZh 悬停显示 Tooltip
74
+ * @localEn Hover to show Tooltip
75
+ */
76
+ export const ABOUT_BTN_TOOLTIP = 'about__button__tooltip';
77
+
78
+ /**
79
+ * @description Modal title for About page
80
+ * @localZh 模态框示例
81
+ * @localEn Modal Example
82
+ */
83
+ export const ABOUT_MODAL_TITLE = 'about__modal__title';
84
+
85
+ /**
86
+ * @description Modal content for About page
87
+ * @localZh 这是一个模态框的内容
88
+ * @localEn This is modal content
89
+ */
90
+ export const ABOUT_MODAL_CONTENT = 'about__modal__content';
91
+
92
+ /**
93
+ * @description Modal button text for About page
94
+ * @localZh 显示 Modal
95
+ * @localEn Show Modal
96
+ */
97
+ export const ABOUT_BTN_MODAL = 'about__button__modal';
98
+
99
+ /**
100
+ * @description Drawer title for About page
101
+ * @localZh 抽屉示例
102
+ * @localEn Drawer Example
103
+ */
104
+ export const ABOUT_DRAWER_TITLE = 'about__drawer__title';
105
+
106
+ /**
107
+ * @description Drawer content for About page
108
+ * @localZh 这是一个抽屉的内容
109
+ * @localEn This is drawer content
110
+ */
111
+ export const ABOUT_DRAWER_CONTENT = 'about__drawer__content';
112
+
113
+ /**
114
+ * @description Drawer button text for About page
115
+ * @localZh 显示 Drawer
116
+ * @localEn Show Drawer
117
+ */
118
+ export const ABOUT_BTN_DRAWER = 'about__button__drawer';
119
+
120
+ /**
121
+ * @description Popover content for About page
122
+ * @localZh 这是一个气泡卡片
123
+ * @localEn This is a popover card
124
+ */
125
+ export const ABOUT_POPOVER_CONTENT = 'about__popover__content';
126
+
127
+ /**
128
+ * @description Popover title for About page
129
+ * @localZh Popover 标题
130
+ * @localEn Popover Title
131
+ */
132
+ export const ABOUT_POPOVER_TITLE = 'about__popover__title';
133
+
134
+ /**
135
+ * @description Popover button text for About page
136
+ * @localZh 显示 Popover
137
+ * @localEn Show Popover
138
+ */
139
+ export const ABOUT_BTN_POPOVER = 'about__button__popover';
140
+
141
+ /**
142
+ * @description Popconfirm title for About page
143
+ * @localZh 确认提示
144
+ * @localEn Confirmation
145
+ */
146
+ export const ABOUT_POPCONFIRM_TITLE = 'about__popconfirm__title';
147
+
148
+ /**
149
+ * @description Popconfirm description for About page
150
+ * @localZh 您确定要执行此操作吗?
151
+ * @localEn Are you sure you want to perform this action?
152
+ */
153
+ export const ABOUT_POPCONFIRM_DESC = 'about__popconfirm__description';
154
+
155
+ /**
156
+ * @description Popconfirm button text for About page
157
+ * @localZh 显示 Popconfirm
158
+ * @localEn Show Popconfirm
159
+ */
160
+ export const ABOUT_BTN_POPCONFIRM = 'about__button__popconfirm';
161
+
162
+ /**
163
+ * @description Alert message for About page
164
+ * @localZh 这是一个警告提示
165
+ * @localEn This is a warning alert
166
+ */
167
+ export const ABOUT_ALERT_MESSAGE = 'about__alert__message';
168
+
169
+ /**
170
+ * @description Alert ok text for About page
171
+ * @localZh 确定
172
+ * @localEn OK
173
+ */
174
+ export const ABOUT_OK_TEXT = 'about__ok__text';
175
+
176
+ /**
177
+ * @description Alert cancel text for About page
178
+ * @localZh 取消
179
+ * @localEn Cancel
180
+ */
181
+ export const ABOUT_CANCEL_TEXT = 'about__cancel__text';
@@ -0,0 +1,272 @@
1
+ /**
2
+ * @description Executor page title
3
+ * @localZh 执行器示例
4
+ * @localEn Executor Examples
5
+ */
6
+ export const PAGE_EXECUTOR_TITLE = 'page__executor__title';
7
+
8
+ /**
9
+ * @description Executor page description
10
+ * @localZh 一个强大的任务执行器,支持多种任务类型和状态管理
11
+ * @localEn A powerful task executor supporting multiple task types and state management
12
+ */
13
+ export const PAGE_EXECUTOR_DESCRIPTION = 'page__executor__description';
14
+
15
+ /**
16
+ * @description Error Identifier page title
17
+ * @localZh 错误标识符
18
+ * @localEn Error Identifier
19
+ */
20
+ export const PAGE_ERROR_IDENTIFIER_TITLE = 'page__error_identifier__title';
21
+
22
+ /**
23
+ * @description Executor page main title
24
+ * @localZh 执行器
25
+ * @localEn Executor
26
+ */
27
+ export const PAGE_EXECUTOR_MAIN_TITLE = 'page__executor__main_title';
28
+
29
+ /**
30
+ * @description Executor test plugin section title
31
+ * @localZh 测试插件
32
+ * @localEn Test Plugin
33
+ */
34
+ export const PAGE_EXECUTOR_TEST_PLUGIN_TITLE =
35
+ 'page__executor__test_plugin__title';
36
+
37
+ /**
38
+ * @description Executor task status pending
39
+ * @localZh 等待中
40
+ * @localEn Pending
41
+ */
42
+ export const PAGE_EXECUTOR_TASK_STATUS_PENDING =
43
+ 'page__executor__task__status__pending';
44
+
45
+ /**
46
+ * @description Executor task status running
47
+ * @localZh 运行中
48
+ * @localEn Running
49
+ */
50
+ export const PAGE_EXECUTOR_TASK_STATUS_RUNNING =
51
+ 'page__executor__task__status__running';
52
+
53
+ /**
54
+ * @description Executor task status completed
55
+ * @localZh 已完成
56
+ * @localEn Completed
57
+ */
58
+ export const PAGE_EXECUTOR_TASK_STATUS_COMPLETED =
59
+ 'page__executor__task__status__completed';
60
+
61
+ /**
62
+ * @description Executor task status failed
63
+ * @localZh 失败
64
+ * @localEn Failed
65
+ */
66
+ export const PAGE_EXECUTOR_TASK_STATUS_FAILED =
67
+ 'page__executor__task__status__failed';
68
+
69
+ /**
70
+ * @description Executor task type data sync
71
+ * @localZh 数据同步
72
+ * @localEn Data Sync
73
+ */
74
+ export const PAGE_EXECUTOR_TASK_TYPE_DATA_SYNC =
75
+ 'page__executor__task__type__data_sync';
76
+
77
+ /**
78
+ * @description Executor task type report generation
79
+ * @localZh 报告生成
80
+ * @localEn Report Generation
81
+ */
82
+ export const PAGE_EXECUTOR_TASK_TYPE_REPORT =
83
+ 'page__executor__task__type__report';
84
+
85
+ /**
86
+ * @description Executor task type system maintenance
87
+ * @localZh 系统维护
88
+ * @localEn System Maintenance
89
+ */
90
+ export const PAGE_EXECUTOR_TASK_TYPE_MAINTENANCE =
91
+ 'page__executor__task__type__maintenance';
92
+
93
+ /**
94
+ * @description Executor task type backup
95
+ * @localZh 数据备份
96
+ * @localEn Backup
97
+ */
98
+ export const PAGE_EXECUTOR_TASK_TYPE_BACKUP =
99
+ 'page__executor__task__type__backup';
100
+
101
+ /**
102
+ * @description Executor task duration unit
103
+ * @localZh 分钟
104
+ * @localEn minutes
105
+ */
106
+ export const PAGE_EXECUTOR_TASK_DURATION_UNIT =
107
+ 'page__executor__task__duration__unit';
108
+
109
+ /**
110
+ * @description Executor task start button
111
+ * @localZh 开始
112
+ * @localEn Start
113
+ */
114
+ export const PAGE_EXECUTOR_TASK_START = 'page__executor__task__start';
115
+
116
+ /**
117
+ * @description Executor task stop button
118
+ * @localZh 停止
119
+ * @localEn Stop
120
+ */
121
+ export const PAGE_EXECUTOR_TASK_STOP = 'page__executor__task__stop';
122
+
123
+ /**
124
+ * @description Executor task success message
125
+ * @localZh 任务 %{name} 执行成功
126
+ * @localEn Task %{name} executed successfully
127
+ */
128
+ export const PAGE_EXECUTOR_TASK_SUCCESS = 'page__executor__task__success';
129
+
130
+ /**
131
+ * @description Executor task failure message
132
+ * @localZh 任务 %{name} 执行失败
133
+ * @localEn Task %{name} execution failed
134
+ */
135
+ export const PAGE_EXECUTOR_TASK_FAILURE = 'page__executor__task__failure';
136
+
137
+ /**
138
+ * @description Executor plugin test success message
139
+ * @localZh 插件测试成功
140
+ * @localEn Plugin test successful
141
+ */
142
+ export const PAGE_EXECUTOR_PLUGIN_TEST_SUCCESS =
143
+ 'page__executor__plugin__test__success';
144
+
145
+ /**
146
+ * @description Executor plugin test failure message
147
+ * @localZh 插件测试失败
148
+ * @localEn Plugin test failed
149
+ */
150
+ export const PAGE_EXECUTOR_PLUGIN_TEST_FAILURE =
151
+ 'page__executor__plugin__test__failure';
152
+
153
+ /**
154
+ * @description Executor custom task url required message
155
+ * @localZh 请输入URL
156
+ * @localEn Please enter URL
157
+ */
158
+ export const PAGE_EXECUTOR_CUSTOM_TASK_URL_REQUIRED =
159
+ 'page__executor__custom_task__url_required';
160
+
161
+ /**
162
+ * @description Executor custom task name template
163
+ * @localZh 自定义任务 %{method} %{url}
164
+ * @localEn Custom Task %{method} %{url}
165
+ */
166
+ export const PAGE_EXECUTOR_CUSTOM_TASK_NAME =
167
+ 'page__executor__custom_task__name';
168
+
169
+ /**
170
+ * @description Executor create custom task title
171
+ * @localZh 创建自定义任务
172
+ * @localEn Create Custom Task
173
+ */
174
+ export const PAGE_EXECUTOR_CREATE_TASK_TITLE =
175
+ 'page__executor__create_task__title';
176
+
177
+ /**
178
+ * @description Executor create button text
179
+ * @localZh 创建
180
+ * @localEn Create
181
+ */
182
+ export const PAGE_EXECUTOR_CREATE_BUTTON = 'page__executor__create_button';
183
+
184
+ /**
185
+ * @description Executor enter URL placeholder
186
+ * @localZh 输入URL
187
+ * @localEn Enter URL
188
+ */
189
+ export const PAGE_EXECUTOR_ENTER_URL = 'page__executor__enter_url';
190
+
191
+ /**
192
+ * @description Executor task list title
193
+ * @localZh 任务列表
194
+ * @localEn Task List
195
+ */
196
+ export const PAGE_EXECUTOR_TASK_LIST_TITLE = 'page__executor__task_list__title';
197
+
198
+ /**
199
+ * @description Executor task statistics total tasks
200
+ * @localZh 总任务数
201
+ * @localEn Total Tasks
202
+ */
203
+ export const PAGE_EXECUTOR_TASK_STATS_TOTAL =
204
+ 'page__executor__task_stats__total';
205
+
206
+ /**
207
+ * @description Executor task statistics running tasks
208
+ * @localZh 运行中
209
+ * @localEn Running
210
+ */
211
+ export const PAGE_EXECUTOR_TASK_STATS_RUNNING =
212
+ 'page__executor__task_stats__running';
213
+
214
+ /**
215
+ * @description Executor task statistics completed tasks
216
+ * @localZh 已完成
217
+ * @localEn Completed
218
+ */
219
+ export const PAGE_EXECUTOR_TASK_STATS_COMPLETED =
220
+ 'page__executor__task_stats__completed';
221
+
222
+ /**
223
+ * @description Executor task statistics failed tasks
224
+ * @localZh 失败
225
+ * @localEn Failed
226
+ */
227
+ export const PAGE_EXECUTOR_TASK_STATS_FAILED =
228
+ 'page__executor__task_stats__failed';
229
+
230
+ /**
231
+ * @description Executor task history title
232
+ * @localZh 执行历史
233
+ * @localEn Execution History
234
+ */
235
+ export const PAGE_EXECUTOR_TASK_HISTORY_TITLE =
236
+ 'page__executor__task_history__title';
237
+
238
+ /**
239
+ * @description Executor help section title
240
+ * @localZh 需要帮助?
241
+ * @localEn Need Help?
242
+ */
243
+ export const PAGE_EXECUTOR_HELP_TITLE = 'page__executor__help__title';
244
+
245
+ /**
246
+ * @description Executor help section description
247
+ * @localZh 遇到问题?查看我们的任务执行指南或联系支持团队
248
+ * @localEn Having issues? Check our task execution guide or contact support
249
+ */
250
+ export const PAGE_EXECUTOR_HELP_DESCRIPTION =
251
+ 'page__executor__help__description';
252
+
253
+ /**
254
+ * @description Executor view guide button
255
+ * @localZh 查看指南
256
+ * @localEn View Guide
257
+ */
258
+ export const PAGE_EXECUTOR_VIEW_GUIDE = 'page__executor__view_guide';
259
+
260
+ /**
261
+ * @description Executor contact support button
262
+ * @localZh 联系支持
263
+ * @localEn Contact Support
264
+ */
265
+ export const PAGE_EXECUTOR_CONTACT_SUPPORT = 'page__executor__contact_support';
266
+
267
+ /**
268
+ * @description Request page timeout title
269
+ * @localZh 请求超时时间
270
+ * @localEn Request Timeout
271
+ */
272
+ export const PAGE_EXECUTOR_REQUEST_TIMEOUT = 'page__executor__request__timeout';
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @description Home page title
3
+ * @localZh 首页
4
+ * @localEn Home
5
+ */
6
+ export const PAGE_HOME_TITLE = 'page__home__title';
7
+
8
+ /**
9
+ * @description Home page description
10
+ * @localZh 一个现代前端实用库集合,提供各种实用工具和组件
11
+ * @localEn A modern frontend utility library collection providing various practical tools and components
12
+ */
13
+ export const PAGE_HOME_DESCRIPTION = 'page__home__description';
14
+
15
+ /**
16
+ * @description Home page welcome message
17
+ * @localZh 欢迎来到主页
18
+ * @localEn Welcome to the home page
19
+ */
20
+ export const HOME_WELCOME = 'home__welcome';
21
+
22
+ /**
23
+ * @description Home page description
24
+ * @localZh 一个现代前端实用库集合,提供各种实用工具和组件
25
+ * @localEn A modern frontend utility library collection providing various practical tools and components
26
+ */
27
+ export const HOME_DESCRIPTION = 'home__description';
28
+
29
+ /**
30
+ * @description Error Identifier page description
31
+ * @localZh 错误标识符的使用和示例
32
+ * @localEn Error identifier usage and examples
33
+ */
34
+ export const PAGE_ERROR_IDENTIFIER_DESCRIPTION =
35
+ 'page__error__identifier__description';
36
+
37
+ /**
38
+ * @description Home page explore button text
39
+ * @localZh 探索
40
+ * @localEn Explore
41
+ */
42
+ export const HOME_EXPLORE = 'home__explore';
43
+
44
+ /**
45
+ * @description Home page get started section title
46
+ * @localZh 准备开始使用?
47
+ * @localEn Ready to Get Started?
48
+ */
49
+ export const HOME_GET_STARTED_TITLE = 'home__get_started__title';
50
+
51
+ /**
52
+ * @description Home page get started section description
53
+ * @localZh 加入我们,探索实用工具的力量
54
+ * @localEn Join us and discover the power of our utilities
55
+ */
56
+ export const HOME_GET_STARTED_DESCRIPTION = 'home__get_started__description';
57
+
58
+ /**
59
+ * @description Home page get started button text
60
+ * @localZh 立即开始
61
+ * @localEn Get Started Now
62
+ */
63
+ export const HOME_GET_STARTED_BUTTON = 'home__get_started__button';
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @description ErrorIdentifier page main title
3
+ * @localZh 错误标识符
4
+ * @localEn Error Identifier
5
+ */
6
+ export const PAGE_ERROR_IDENTIFIER_MAIN_TITLE =
7
+ 'page__error__identifier__main_title';
8
+
9
+ /**
10
+ * @description ErrorIdentifier page description
11
+ * @localZh 来自 '@config/Identifier/error' 的标识符
12
+ * @localEn Identifier From: '@config/Identifier/error'
13
+ */
14
+ export const PAGE_ERROR_IDENTIFIER_SOURCE_DESCRIPTION =
15
+ 'page__error__identifier__source_description';
16
+
17
+ /**
18
+ * @description ErrorIdentifier help section title
19
+ * @localZh 需要帮助?
20
+ * @localEn Need Help?
21
+ */
22
+ export const PAGE_ERROR_IDENTIFIER_HELP_TITLE =
23
+ 'page__error__identifier__help__title';
24
+
25
+ /**
26
+ * @description ErrorIdentifier help section description
27
+ * @localZh 如果您在使用错误标识符时遇到问题,请联系我们的支持团队
28
+ * @localEn If you encounter any issues while using error identifiers, please contact our support team
29
+ */
30
+ export const PAGE_ERROR_IDENTIFIER_HELP_DESCRIPTION =
31
+ 'page__error__identifier__help__description';
32
+
33
+ /**
34
+ * @description ErrorIdentifier contact support button
35
+ * @localZh 联系支持
36
+ * @localEn Contact Support
37
+ */
38
+ export const PAGE_ERROR_IDENTIFIER_CONTACT_SUPPORT =
39
+ 'page__error__identifier__contact_support';