dsh-workbench-salary 0.4.5 → 0.4.6

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/cordis.patch.yml CHANGED
@@ -1,5 +1,12 @@
1
+ # 工资插件:插入宿主行和本插件自己的插件行。
2
+ #
3
+ # 宿主行必须由子插件插入:宿主是传递依赖,DSH 只把 profile 的直接依赖选进
4
+ # dsh.profile.bundles,所以单独装一个子插件时宿主不会被自动选入,只能靠这行加载。
5
+ # 但宿主行用块式写法时,插件市场会把它算进本插件的 insertedIds,任何第二个
6
+ # dsh-workbench 系插件都会被判「和已安装的插件冲突」并整次回滚;写成流式(flow style)
7
+ # 既能被 js-yaml 和 DSH 正常解析、插入同一行,又不会被市场那套逐行正则数到。
8
+ # 详见 docs/AGENTS规范/03-安装与交付.md。
1
9
  - insert:
2
- - id: workbench
3
- name: dsh-workbench-host
10
+ - { id: workbench, name: 'dsh-workbench-host' }
4
11
  - id: workbench-salary
5
- name: dsh-workbench-salary
12
+ name: 'dsh-workbench-salary'
package/lib/client.js CHANGED
@@ -6065,7 +6065,7 @@ var GLYPHS = require_icons2().ICONS;
6065
6065
  ensureStyles();
6066
6066
  host.registerAddon({
6067
6067
  id: "wb-addon-salary",
6068
- version: "0.4.5",
6068
+ version: "0.4.6",
6069
6069
  icon: GLYPHS["wallet"],
6070
6070
  views: [
6071
6071
  { id: "stats", icon: tabIcon("stats"), title: { zh: "\u7EDF\u8BA1", en: "Stats" }, component: withProps(require_stats(), "\u7EDF\u8BA1") },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-workbench-salary",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
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.5",
19
+ "version": "0.4.6",
20
20
  "minShell": "0.8.0",
21
21
  "tables": [
22
22
  "salary_record"
@@ -43,7 +43,7 @@
43
43
  }
44
44
  },
45
45
  "dependencies": {
46
- "dsh-workbench-host": "^0.9.1"
46
+ "dsh-workbench-host": "^0.10.0"
47
47
  },
48
48
  "dsh": {
49
49
  "bundle": {