@kordar/easyui-tpl 2.0.2 → 2.0.3

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.
@@ -1,5 +1,5 @@
1
- {
2
- "Page": {
3
- "Setting": "BBB"
4
- }
1
+ {
2
+ "Page": {
3
+ "Setting": "BBB"
4
+ }
5
5
  }
@@ -1,280 +1,280 @@
1
- {
2
- "Page": {
3
- "Dict": {
4
- "title": "字典管理",
5
- "params": {
6
- "add": {
7
- "text": "新增字典"
8
- },
9
- "update": {
10
- "text": "更新字典【{#name}】"
11
- },
12
- "item_list": {
13
- "text": "字典项",
14
- "title": "字典项列表【{#name}】"
15
- }
16
- },
17
- "fields": {
18
- "name": {
19
- "placeholder": "",
20
- "label": "字典名称"
21
- },
22
- "sign": {
23
- "placeholder": "",
24
- "label": "字典标识符"
25
- },
26
- "remark": {
27
- "placeholder": "",
28
- "label": "备注"
29
- }
30
- }
31
- },
32
- "DictItem": {
33
- "params": {},
34
- "fields": {
35
- "label": {
36
- "placeholder": "",
37
- "label": "字典项"
38
- },
39
- "value": {
40
- "placeholder": "",
41
- "label": "值"
42
- },
43
- "data": {
44
- "placeholder": "",
45
- "label": "数据"
46
- }
47
- }
48
- },
49
- "Login": {
50
- "title": "后台管理系统",
51
- "params": {
52
- "submit": {
53
- "text": "登录"
54
- }
55
- },
56
- "fields": {
57
- "username": {
58
- "placeholder": "请输入用户名",
59
- "icon": "icon-username2"
60
- },
61
- "password": {
62
- "placeholder": "请输入密码"
63
- },
64
- "code": {
65
- "placeholder": "验证码"
66
- }
67
- }
68
- },
69
- "Admin": {
70
- "fields": {
71
- "id": {
72
- "label": "用户ID"
73
- },
74
- "username": {
75
- "label": "账号"
76
- },
77
- "name": {
78
- "label": "用户名"
79
- },
80
- "phone": {
81
- "label": "手机号"
82
- },
83
- "status": {
84
- "label": "状态"
85
- },
86
- "type": {
87
- "label": "类型"
88
- },
89
- "version": {
90
- "label": "版本"
91
- }
92
- },
93
- "params": {
94
- "update": {
95
- "text": "更新用户【{#name}】"
96
- }
97
- }
98
- },
99
- "Setting": {
100
- "fields": {
101
- "title": {
102
- "label": "标题",
103
- "placeholder": "请填写项目名称"
104
- },
105
- "icon": {
106
- "label": "图标",
107
- "placeholder": "请选择图标"
108
- },
109
- "active": {
110
- "label": "状态"
111
- },
112
- "type": {
113
- "label": "类型"
114
- },
115
- "position": {
116
- "label": "位置"
117
- },
118
- "router_name": {
119
- "label": "路由",
120
- "placeholder": "请选择路由"
121
- },
122
- "url": {
123
- "label": "URL",
124
- "placeholder": ""
125
- },
126
- "pid": {
127
- "label": "上级栏目"
128
- },
129
- "sort": {
130
- "label": "排序"
131
- }
132
- },
133
- "params": {
134
- "none_parent": "无",
135
- "router_title": "路由列表"
136
- }
137
- },
138
- "Router": {
139
- "fields": {
140
- "name": {
141
- "label": "路由名称",
142
- "placeholder": "请填写路由名称"
143
- },
144
- "url": {
145
- "label": "URL",
146
- "placeholder": "请输入/选择URL"
147
- },
148
- "type": {
149
- "label": "路由类型"
150
- },
151
- "data": {
152
- "label": "扩展数据"
153
- }
154
- },
155
- "params": {
156
- "update": {
157
- "text": "更新路由: {#name}"
158
- }
159
- }
160
- },
161
- "Roles": {
162
- "fields": {
163
- "name": {
164
- "label": "角色名称",
165
- "placeholder": "请填写角色名称"
166
- },
167
- "type": {
168
- "label": "类型"
169
- },
170
- "rule_name": {
171
- "label": "规则"
172
- },
173
- "description": {
174
- "label": "描述",
175
- "placeholder": "请输入描述信息"
176
- }
177
- },
178
- "params": {
179
- "assign_role_list": {
180
- "text": "分配所属角色"
181
- },
182
- "assign_permission": {
183
- "text": "权限划分【{#name}】"
184
- }
185
- }
186
- },
187
- "Permissions": {
188
- "fields": {
189
- "name": {
190
- "label": "权限名称",
191
- "placeholder": "请填写权限名称"
192
- },
193
- "type": {
194
- "label": "类型"
195
- },
196
- "rule_name": {
197
- "label": "规则"
198
- },
199
- "description": {
200
- "label": "描述",
201
- "placeholder": "请输入描述信息"
202
- },
203
- "fast_add_resource": {
204
- "label": "资源标识符",
205
- "placeholder": "资源标识符"
206
- },
207
- "fast_add_name": {
208
- "label": "资源描述",
209
- "placeholder": "资源描述名称"
210
- }
211
- },
212
- "params": {
213
- "fast_add": {
214
- "text": "快速生成权限"
215
- }
216
- }
217
- },
218
- "Common": {
219
- "fields": {
220
- "_serial": {
221
- "label": "序号"
222
- },
223
- "create_time": {
224
- "label": "创建时间"
225
- },
226
- "update_time": {
227
- "label": "更新时间"
228
- },
229
- "sort": {
230
- "label": "排序"
231
- }
232
- },
233
- "params": {
234
- "submit": {
235
- "text": "提交"
236
- },
237
- "cancel": {
238
- "text": "取消"
239
- },
240
- "save": {
241
- "text": "保存"
242
- },
243
- "close": {
244
- "text": "关闭"
245
- },
246
- "refresh": {
247
- "text": "刷新"
248
- },
249
- "add": {
250
- "text": "新增"
251
- },
252
- "update": {
253
- "text": "更新"
254
- },
255
- "search": {
256
- "text": "查询"
257
- },
258
- "batch_remove": {
259
- "text": "批量删除"
260
- },
261
- "reset": {
262
- "text": "重置"
263
- }
264
- }
265
- }
266
- },
267
- "Message": {
268
- "confirm_del_title": "警告",
269
- "confirm_del_msg": "确定删除该记录?",
270
- "checkbox_no_empty": "待操作的数据不能为空",
271
- "save_success": "保存成功",
272
- "edit_success": "编辑成功",
273
- "del_success": "删除成功",
274
- "update_success": "更新成功",
275
- "confirm_logout": "确定退出该系统?"
276
- },
277
- "App": {
278
- "title": "后台管理系统"
279
- }
1
+ {
2
+ "Page": {
3
+ "Dict": {
4
+ "title": "字典管理",
5
+ "params": {
6
+ "add": {
7
+ "text": "新增字典"
8
+ },
9
+ "update": {
10
+ "text": "更新字典【{#name}】"
11
+ },
12
+ "item_list": {
13
+ "text": "字典项",
14
+ "title": "字典项列表【{#name}】"
15
+ }
16
+ },
17
+ "fields": {
18
+ "name": {
19
+ "placeholder": "",
20
+ "label": "字典名称"
21
+ },
22
+ "sign": {
23
+ "placeholder": "",
24
+ "label": "字典标识符"
25
+ },
26
+ "remark": {
27
+ "placeholder": "",
28
+ "label": "备注"
29
+ }
30
+ }
31
+ },
32
+ "DictItem": {
33
+ "params": {},
34
+ "fields": {
35
+ "label": {
36
+ "placeholder": "",
37
+ "label": "字典项"
38
+ },
39
+ "value": {
40
+ "placeholder": "",
41
+ "label": "值"
42
+ },
43
+ "data": {
44
+ "placeholder": "",
45
+ "label": "数据"
46
+ }
47
+ }
48
+ },
49
+ "Login": {
50
+ "title": "后台管理系统",
51
+ "params": {
52
+ "submit": {
53
+ "text": "登录"
54
+ }
55
+ },
56
+ "fields": {
57
+ "username": {
58
+ "placeholder": "请输入用户名",
59
+ "icon": "icon-username2"
60
+ },
61
+ "password": {
62
+ "placeholder": "请输入密码"
63
+ },
64
+ "code": {
65
+ "placeholder": "验证码"
66
+ }
67
+ }
68
+ },
69
+ "Admin": {
70
+ "fields": {
71
+ "id": {
72
+ "label": "用户ID"
73
+ },
74
+ "username": {
75
+ "label": "账号"
76
+ },
77
+ "name": {
78
+ "label": "用户名"
79
+ },
80
+ "phone": {
81
+ "label": "手机号"
82
+ },
83
+ "status": {
84
+ "label": "状态"
85
+ },
86
+ "type": {
87
+ "label": "类型"
88
+ },
89
+ "version": {
90
+ "label": "版本"
91
+ }
92
+ },
93
+ "params": {
94
+ "update": {
95
+ "text": "更新用户【{#name}】"
96
+ }
97
+ }
98
+ },
99
+ "Setting": {
100
+ "fields": {
101
+ "title": {
102
+ "label": "标题",
103
+ "placeholder": "请填写项目名称"
104
+ },
105
+ "icon": {
106
+ "label": "图标",
107
+ "placeholder": "请选择图标"
108
+ },
109
+ "active": {
110
+ "label": "状态"
111
+ },
112
+ "type": {
113
+ "label": "类型"
114
+ },
115
+ "position": {
116
+ "label": "位置"
117
+ },
118
+ "router_name": {
119
+ "label": "路由",
120
+ "placeholder": "请选择路由"
121
+ },
122
+ "url": {
123
+ "label": "URL",
124
+ "placeholder": ""
125
+ },
126
+ "pid": {
127
+ "label": "上级栏目"
128
+ },
129
+ "sort": {
130
+ "label": "排序"
131
+ }
132
+ },
133
+ "params": {
134
+ "none_parent": "无",
135
+ "router_title": "路由列表"
136
+ }
137
+ },
138
+ "Router": {
139
+ "fields": {
140
+ "name": {
141
+ "label": "路由名称",
142
+ "placeholder": "请填写路由名称"
143
+ },
144
+ "url": {
145
+ "label": "URL",
146
+ "placeholder": "请输入/选择URL"
147
+ },
148
+ "type": {
149
+ "label": "路由类型"
150
+ },
151
+ "data": {
152
+ "label": "扩展数据"
153
+ }
154
+ },
155
+ "params": {
156
+ "update": {
157
+ "text": "更新路由: {#name}"
158
+ }
159
+ }
160
+ },
161
+ "Roles": {
162
+ "fields": {
163
+ "name": {
164
+ "label": "角色名称",
165
+ "placeholder": "请填写角色名称"
166
+ },
167
+ "type": {
168
+ "label": "类型"
169
+ },
170
+ "rule_name": {
171
+ "label": "规则"
172
+ },
173
+ "description": {
174
+ "label": "描述",
175
+ "placeholder": "请输入描述信息"
176
+ }
177
+ },
178
+ "params": {
179
+ "assign_role_list": {
180
+ "text": "分配所属角色"
181
+ },
182
+ "assign_permission": {
183
+ "text": "权限划分【{#name}】"
184
+ }
185
+ }
186
+ },
187
+ "Permissions": {
188
+ "fields": {
189
+ "name": {
190
+ "label": "权限名称",
191
+ "placeholder": "请填写权限名称"
192
+ },
193
+ "type": {
194
+ "label": "类型"
195
+ },
196
+ "rule_name": {
197
+ "label": "规则"
198
+ },
199
+ "description": {
200
+ "label": "描述",
201
+ "placeholder": "请输入描述信息"
202
+ },
203
+ "fast_add_resource": {
204
+ "label": "资源标识符",
205
+ "placeholder": "资源标识符"
206
+ },
207
+ "fast_add_name": {
208
+ "label": "资源描述",
209
+ "placeholder": "资源描述名称"
210
+ }
211
+ },
212
+ "params": {
213
+ "fast_add": {
214
+ "text": "快速生成权限"
215
+ }
216
+ }
217
+ },
218
+ "Common": {
219
+ "fields": {
220
+ "_serial": {
221
+ "label": "序号"
222
+ },
223
+ "create_time": {
224
+ "label": "创建时间"
225
+ },
226
+ "update_time": {
227
+ "label": "更新时间"
228
+ },
229
+ "sort": {
230
+ "label": "排序"
231
+ }
232
+ },
233
+ "params": {
234
+ "submit": {
235
+ "text": "提交"
236
+ },
237
+ "cancel": {
238
+ "text": "取消"
239
+ },
240
+ "save": {
241
+ "text": "保存"
242
+ },
243
+ "close": {
244
+ "text": "关闭"
245
+ },
246
+ "refresh": {
247
+ "text": "刷新"
248
+ },
249
+ "add": {
250
+ "text": "新增"
251
+ },
252
+ "update": {
253
+ "text": "更新"
254
+ },
255
+ "search": {
256
+ "text": "查询"
257
+ },
258
+ "batch_remove": {
259
+ "text": "批量删除"
260
+ },
261
+ "reset": {
262
+ "text": "重置"
263
+ }
264
+ }
265
+ }
266
+ },
267
+ "Message": {
268
+ "confirm_del_title": "警告",
269
+ "confirm_del_msg": "确定删除该记录?",
270
+ "checkbox_no_empty": "待操作的数据不能为空",
271
+ "save_success": "保存成功",
272
+ "edit_success": "编辑成功",
273
+ "del_success": "删除成功",
274
+ "update_success": "更新成功",
275
+ "confirm_logout": "确定退出该系统?"
276
+ },
277
+ "App": {
278
+ "title": "后台管理系统"
279
+ }
280
280
  }
@@ -29,7 +29,7 @@ import BaseLayout from "./components/BaseLayout";
29
29
  import LocaleBarItem from "./components/LocaleBarItem";
30
30
  import PaginationPanel from "./components/PaginationPanel";
31
31
  import SettingBarItem from "./components/SettingBarItem";
32
- import { EasyUITooltip as Tooltip } from "./components/tips/Tooltip";
32
+ import { EasyUITooltip as Tooltip } from "./components/Tooltip";
33
33
  import withDocHoc from "./hoc/withDocHoc";
34
34
  export interface AdminConfig {
35
35
  request: Request;
package/package.json CHANGED
@@ -1,48 +1,48 @@
1
- {
2
- "name": "@kordar/easyui-tpl",
3
- "version": "2.0.2",
4
- "main": "dist/index.umd.cjs",
5
- "module": "dist/index.js",
6
- "types": "dist/types/index.d.ts",
7
- "type": "module",
8
- "scripts": {
9
- "build": "rollup -c",
10
- "dev": "vite",
11
- "test": "jest"
12
- },
13
- "dependencies": {
14
- "@kordar-lib/i18n": "^2.0.1",
15
- "@kordar-lib/reducers": "^2.0.1",
16
- "@kordar/easyui": "^2.0.0",
17
- "@kordar/easyui-datepicker": "^2.0.0",
18
- "@reduxjs/toolkit": "^2.5.0",
19
- "axios": "^1.8.3",
20
- "flatpickr": "^4.6.13",
21
- "i18next": "^23.2.3",
22
- "lodash-es": "^4.17.21",
23
- "moment": "^2.30.1",
24
- "rc-drawer": "^6.1.5",
25
- "rc-easyui": "^1.2.9",
26
- "react": "^18.2.0",
27
- "react-dnd": "^16.0.1",
28
- "react-dnd-html5-backend": "^16.0.1",
29
- "react-dom": "^18.2.0",
30
- "react-i18next": "^13",
31
- "react-redux": "^9.2.0",
32
- "react-router": "^7.3.0",
33
- "react-router-dom": "^7.3.0",
34
- "redux-persist": "^6.0.0"
35
- },
36
- "devDependencies": {
37
- "@babel/preset-react": "^7.28.5",
38
- "@rollup/plugin-node-resolve": "^16.0.0",
39
- "@types/react": "^19.2.14",
40
- "@types/react-dom": "^19.2.3",
41
- "@vitejs/plugin-react": "^4.7.0",
42
- "@babel/preset-env": "^7.26.0",
43
- "rollup-plugin-copy": "^3.5.0"
44
- },
45
- "files": [
46
- "dist"
47
- ]
1
+ {
2
+ "name": "@kordar/easyui-tpl",
3
+ "version": "2.0.3",
4
+ "main": "dist/index.umd.cjs",
5
+ "module": "dist/index.js",
6
+ "types": "dist/types/index.d.ts",
7
+ "type": "module",
8
+ "scripts": {
9
+ "build": "rollup -c",
10
+ "dev": "vite",
11
+ "test": "jest"
12
+ },
13
+ "dependencies": {
14
+ "@kordar-lib/i18n": "^2.0.1",
15
+ "@kordar-lib/reducers": "^2.0.1",
16
+ "@kordar/easyui": "^2.0.0",
17
+ "@kordar/easyui-datepicker": "^2.0.0",
18
+ "@reduxjs/toolkit": "^2.5.0",
19
+ "axios": "^1.8.3",
20
+ "flatpickr": "^4.6.13",
21
+ "i18next": "^23.2.3",
22
+ "lodash-es": "^4.17.21",
23
+ "moment": "^2.30.1",
24
+ "rc-drawer": "^6.1.5",
25
+ "rc-easyui": "^1.2.9",
26
+ "react": "^18.2.0",
27
+ "react-dnd": "^16.0.1",
28
+ "react-dnd-html5-backend": "^16.0.1",
29
+ "react-dom": "^18.2.0",
30
+ "react-i18next": "^13",
31
+ "react-redux": "^9.2.0",
32
+ "react-router": "^7.3.0",
33
+ "react-router-dom": "^7.3.0",
34
+ "redux-persist": "^6.0.0"
35
+ },
36
+ "devDependencies": {
37
+ "@babel/preset-react": "^7.28.5",
38
+ "@rollup/plugin-node-resolve": "^16.0.0",
39
+ "@types/react": "^19.2.14",
40
+ "@types/react-dom": "^19.2.3",
41
+ "@vitejs/plugin-react": "^4.7.0",
42
+ "@babel/preset-env": "^7.26.0",
43
+ "rollup-plugin-copy": "^3.5.0"
44
+ },
45
+ "files": [
46
+ "dist"
47
+ ]
48
48
  }