dsh-workbench-salary 0.4.16 → 0.4.17
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/lib/client.js +1 -1
- package/lib/index.js +4 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -4237,7 +4237,7 @@ var GLYPHS = require_icons2().ICONS;
|
|
|
4237
4237
|
ensureStyles();
|
|
4238
4238
|
host.registerAddon({
|
|
4239
4239
|
id: "wb-addon-salary",
|
|
4240
|
-
version: "0.4.
|
|
4240
|
+
version: "0.4.17",
|
|
4241
4241
|
icon: GLYPHS["wallet"],
|
|
4242
4242
|
views: [
|
|
4243
4243
|
{ id: "stats", icon: tabIcon("stats"), title: { zh: "\u7EDF\u8BA1", en: "Stats" }, component: withProps(require_stats(), "\u7EDF\u8BA1") },
|
package/lib/index.js
CHANGED
|
@@ -34,7 +34,10 @@ export function apply(ctx) {
|
|
|
34
34
|
// 更新来源:宿主「插件」页按它查新版本并安装(只认官方 npm registry)。
|
|
35
35
|
update: { source: "npm", package: "dsh-workbench-salary" },
|
|
36
36
|
category: "finance",
|
|
37
|
-
|
|
37
|
+
// 工资记录随备份迁移(同步清单为空:不上云)。
|
|
38
|
+
tables: [
|
|
39
|
+
{ name: "salary_record", persistence: "persistent" },
|
|
40
|
+
],
|
|
38
41
|
sync: { tables: [] },
|
|
39
42
|
views: VIEWS,
|
|
40
43
|
capability: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-workbench-salary",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.17",
|
|
4
4
|
"description": "个人工作台工资插件:按发薪日期记录工资构成、扣款与实发",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"addon": {
|
|
17
17
|
"id": "wb-addon-salary",
|
|
18
18
|
"title": "工资",
|
|
19
|
-
"version": "0.4.
|
|
19
|
+
"version": "0.4.17",
|
|
20
20
|
"minShell": "0.8.0",
|
|
21
21
|
"tables": [
|
|
22
22
|
"salary_record"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"dsh-workbench-host": "^0.
|
|
42
|
+
"dsh-workbench-host": "^0.28.0"
|
|
43
43
|
},
|
|
44
44
|
"dsh": {
|
|
45
45
|
"bundle": {
|