@qilitt-mickey/vue3-temp-skill 1.1.72 → 1.1.75

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 (40) hide show
  1. package/bin/cli.js +1 -1
  2. package/dist/theme-vars.js +1 -1
  3. package/dist/theme.css +1 -1
  4. package/mapping/layout/shell-geometry.json +26 -26
  5. package/mapping/scenes/admin/content.json +3 -0
  6. package/mapping/scenes/admin/layout.json +4 -1
  7. package/package.json +1 -1
  8. package/parser/fixtures/changeset-fullpage-restore.json +259 -138
  9. package/parser/fixtures/changeset-gap-block.json +24 -0
  10. package/parser/fixtures/changeset-neg4-g8.json +15 -15
  11. package/parser/fixtures/changeset-neg6-g9-identity.json +39 -39
  12. package/parser/fixtures/changeset-neg8-g11-oracle.json +57 -57
  13. package/parser/fixtures/changeset-neg9-g6-token-chain.json +34 -0
  14. package/parser/fixtures/changeset-pos-g6-token-chain.json +35 -0
  15. package/parser/fixtures/changeset-pos-theme-neutral.json +264 -264
  16. package/parser/fixtures/changeset-pos.json +50 -43
  17. package/parser/fixtures/changeset-v32-fields.json +71 -63
  18. package/parser/fixtures/registry-g6-token-chain.json +10 -0
  19. package/parser/fixtures/registry-sample.json +15 -15
  20. package/parser/fixtures/verify/mockup-baseline-admin-list.html +27 -0
  21. package/parser/fixtures/verify/mockup-g6-content.html +12 -0
  22. package/parser/fixtures/verify/oracle.json +37 -37
  23. package/parser/generator.js +178 -178
  24. package/parser/index.js +2706 -2648
  25. package/parser/override.js +119 -119
  26. package/parser/regression.js +301 -293
  27. package/parser/watch.js +103 -103
  28. package/references/layout-theme.md +2 -0
  29. package/references/steps/maintenance.md +31 -31
  30. package/references/steps/regression.md +49 -49
  31. package/references/steps/step1-match.md +65 -64
  32. package/references/steps/step1b-audit.md +23 -23
  33. package/references/steps/step1c-registry.md +29 -29
  34. package/references/steps/step2-structure.md +73 -73
  35. package/references/steps/step3-style.md +5 -0
  36. package/references/steps/step3b-shell.md +63 -61
  37. package/references/steps/step5-gates.md +1 -0
  38. package/scripts/apply-final-gate.mjs +170 -170
  39. package/scripts/check.mjs +24 -0
  40. package/scripts/design-audit.mjs +1575 -1502
@@ -1,63 +1,71 @@
1
- {
2
- "$comment": " 三声明维度正例(apply_via / layer / structure_ops)+ coverage 覆盖率记账。预期:match exit 0;输出含「结构施工 structure_ops」「覆写优先级 priority」「inner 层」「覆盖率 coverage」且覆盖率校验通过(C = A、gaps 为空)。",
3
- "schema": "design.changeset/1.0",
4
- "changeset_version": "1.0.0",
5
- "mapping_version": "1.0.0",
6
- "scene": "admin",
7
- "changes": [
8
- {
9
- "id": "admin.content.table.header_cell",
10
- "style": {
11
- "bg": "钴蓝-9",
12
- "padding": "16px",
13
- "text_align": "左对齐",
14
- "nowrap": "不换行"
15
- },
16
- "layer": {
17
- "bg": "host",
18
- "padding": "host",
19
- "text_align": "inner",
20
- "nowrap": "inner"
21
- }
22
- },
23
- {
24
- "id": "admin.content.table.cell_status",
25
- "form": "filled",
26
- "structure_ops": [
27
- { "op": "render_branch", "node": "status_tag", "source": "row.status" }
28
- ],
29
- "style": {
30
- "bg": "成功色",
31
- "text_color": "成功色",
32
- "radius": "4px"
33
- }
34
- },
35
- {
36
- "id": "admin.content.table.cell_amount",
37
- "apply_via": "admin.content.table.cell_amount",
38
- "structure_ops": [
39
- { "op": "bind_source", "node": "amount_column", "source": "column_class_name" }
40
- ],
41
- "style": {
42
- "align": "右对齐",
43
- "font_variant_numeric": "等宽数字"
44
- }
45
- }
46
- ],
47
- "oracle": {
48
- "mockup": "verify/回归夹具-列表页-钴蓝.html",
49
- "sids": [
50
- "admin.content.table.header_cell",
51
- "admin.content.table.cell_status",
52
- "admin.content.table.cell_amount"
53
- ]
54
- },
55
- "coverage": {
56
- "registry": "restore-registry.json",
57
- "registrable": 62,
58
- "applicable": 3,
59
- "covered": 3,
60
- "gaps": []
61
- },
62
- "notes": "本夹具只用于回归 三个声明维度的解析与输出,不是真实设计交付件。"
63
- }
1
+ {
2
+ "$comment": " 三声明维度正例(apply_via / layer / structure_ops)+ coverage 覆盖率记账。预期:match exit 0;输出含「结构施工 structure_ops」「覆写优先级 priority」「inner 层」「覆盖率 coverage」且覆盖率校验通过(C = A、gaps 为空)。",
3
+ "schema": "design.changeset/1.0",
4
+ "changeset_version": "1.0.0",
5
+ "mapping_version": "1.0.0",
6
+ "scene": "admin",
7
+ "changes": [
8
+ {
9
+ "id": "admin.content.table.header_cell",
10
+ "style": {
11
+ "bg": "钴蓝-9",
12
+ "padding": "16px",
13
+ "text_align": "左对齐",
14
+ "nowrap": "不换行"
15
+ },
16
+ "layer": {
17
+ "bg": "host",
18
+ "padding": "host",
19
+ "text_align": "inner",
20
+ "nowrap": "inner"
21
+ }
22
+ },
23
+ {
24
+ "id": "admin.content.table.cell_status",
25
+ "form": "filled",
26
+ "structure_ops": [
27
+ {
28
+ "op": "render_branch",
29
+ "node": "status_tag",
30
+ "source": "row.status"
31
+ }
32
+ ],
33
+ "style": {
34
+ "bg": "成功色",
35
+ "text_color": "成功色",
36
+ "radius": "4px"
37
+ }
38
+ },
39
+ {
40
+ "id": "admin.content.table.cell_amount",
41
+ "apply_via": "admin.content.table.cell_amount",
42
+ "structure_ops": [
43
+ {
44
+ "op": "bind_source",
45
+ "node": "amount_column",
46
+ "source": "column_class_name"
47
+ }
48
+ ],
49
+ "style": {
50
+ "align": "右对齐",
51
+ "font_variant_numeric": "等宽数字"
52
+ }
53
+ }
54
+ ],
55
+ "oracle": {
56
+ "mockup": "verify/mockup-baseline-admin-list.html",
57
+ "sids": [
58
+ "admin.content.table.header_cell",
59
+ "admin.content.table.cell_status",
60
+ "admin.content.table.cell_amount"
61
+ ]
62
+ },
63
+ "coverage": {
64
+ "registry": "restore-registry.json",
65
+ "registrable": 62,
66
+ "applicable": 3,
67
+ "covered": 3,
68
+ "gaps": []
69
+ },
70
+ "notes": "本夹具只用于回归 三个声明维度的解析与输出,不是真实设计交付件。"
71
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$comment": "G6 层间令牌链对账闸回归专用迷你登记表:只含 admin.layout.content 一条 always 子项,配合 changeset-neg9-g6-token-chain.json 隔离出唯一拦截点 = G6(不入其他回归步)。",
3
+ "schema": "design.restore-registry/1.0",
4
+ "design_scheme": "default",
5
+ "scene": "admin",
6
+ "counts": { "total": 1 },
7
+ "items": [
8
+ { "rule": "g6#1", "group": "样例·内容区", "sid": "admin.layout.content", "dims": ["padding", "bg"], "channel": ["style"], "source": "spec", "always": true }
9
+ ]
10
+ }
@@ -1,15 +1,15 @@
1
- {
2
- "$comment": "回归夹具 · 登记表样例(不是真实交付件)。6 条登记项示范粒度与字段口径:4 条 always(恒存在,必登)、2 条条件项。用于 M/N/H/R/S/T 步:M 校验覆盖率重算能报出欠声明并 exit 1,N 校验通道核验能跑通,H 为 G8/G9/G10 正例,R/S/T 分别负例 G9 身份错配 / G10 dims 缺维度 / G11 主题错配。sample#1 的 dims 含 text_align/nowrap(表头竖排事故的 G10 机检锚点:S 步夹具故意漏给这两维)。⚠ selection_column / cell 等点位词典已补建通道,本夹具不再示范 pending 标注(pending 演示见 registry-bad.json 的硬缺口反例)。",
3
- "schema": "design.restore-registry/1.0",
4
- "design_scheme": "default",
5
- "scene": "admin",
6
- "counts": { "total": 6 },
7
- "items": [
8
- { "rule": "sample#1", "group": "样例·表格区", "sid": "admin.content.table.header_cell", "dims": ["height", "padding", "text_align", "nowrap"], "channel": ["style", "layer"], "source": "both", "always": true },
9
- { "rule": "sample#2", "group": "样例·表格区", "sid": "admin.content.table.cell", "dims": ["padding", "padding_y"], "channel": ["style", "layer"], "source": "both", "always": true },
10
- { "rule": "sample#3", "group": "样例·金额列", "sid": "admin.content.table.cell_amount", "dims": ["align"], "channel": ["style", "structure_ops"], "source": "spec", "always": true },
11
- { "rule": "sample#4", "group": "样例·状态列", "sid": "admin.content.table.cell_status", "dims": ["form", "bg"], "channel": ["form", "structure_ops"], "source": "spec", "always": true },
12
- { "rule": "sample#5", "group": "样例·选择列", "sid": "admin.content.table.selection_column", "dims": ["text_align", "padding"], "channel": ["style"], "source": "spec", "always": false },
13
- { "rule": "sample#6", "group": "样例·状态列", "sid": "component.tag.status", "dims": ["bg_color"], "channel": ["style"], "source": "spec", "always": false }
14
- ]
15
- }
1
+ {
2
+ "$comment": "回归夹具 · 登记表样例(不是真实交付件)。6 条登记项示范粒度与字段口径:4 条 always(恒存在,必登)、2 条条件项。用于 M/N/H/R/S/T 步:M 校验覆盖率重算能报出欠声明并 exit 1,N 校验通道核验能跑通,H 为 G8/G9/G10 正例,R/S/T 分别负例 G9 身份错配 / G10 dims 缺维度 / G11 主题错配。sample#1 的 dims 含 text_align/nowrap(表头竖排失效模式的 G10 机检锚点:S 步夹具故意漏给这两维)。⚠ selection_column / cell 等点位词典已补建通道,本夹具不再示范 pending 标注(pending 演示见 registry-bad.json 的硬缺口反例)。",
3
+ "schema": "design.restore-registry/1.0",
4
+ "design_scheme": "default",
5
+ "scene": "admin",
6
+ "counts": { "total": 6 },
7
+ "items": [
8
+ { "rule": "sample#1", "group": "样例·表格区", "sid": "admin.content.table.header_cell", "dims": ["height", "padding", "text_align", "nowrap"], "channel": ["style", "layer"], "source": "both", "always": true },
9
+ { "rule": "sample#2", "group": "样例·表格区", "sid": "admin.content.table.cell", "dims": ["padding", "padding_y"], "channel": ["style", "layer"], "source": "both", "always": true },
10
+ { "rule": "sample#3", "group": "样例·金额列", "sid": "admin.content.table.cell_amount", "dims": ["align"], "channel": ["style", "structure_ops"], "source": "spec", "always": true },
11
+ { "rule": "sample#4", "group": "样例·状态列", "sid": "admin.content.table.cell_status", "dims": ["form", "bg"], "channel": ["form", "structure_ops"], "source": "spec", "always": true },
12
+ { "rule": "sample#5", "group": "样例·选择列", "sid": "admin.content.table.selection_column", "dims": ["text_align", "padding"], "channel": ["style"], "source": "spec", "always": false },
13
+ { "rule": "sample#6", "group": "样例·状态列", "sid": "component.tag.status", "dims": ["bg_color"], "channel": ["style"], "source": "spec", "always": false }
14
+ ]
15
+ }
@@ -0,0 +1,27 @@
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <!-- 回归夹具基线图:仅为 match 实物闭合提供 data-sid 标注集合,与业务页面无关;不含主题身份元数据(身份缺失仅提示不阻断)。 -->
4
+ <head><meta charset="utf-8"><title>回归夹具基线</title></head>
5
+ <body>
6
+ <div data-sid="admin.layout.sidebar"></div>
7
+ <div data-sid="admin.layout.sidebar.logo_area"></div>
8
+ <div data-sid="admin.layout.sidebar.menu"></div>
9
+ <div data-sid="admin.layout.header"></div>
10
+ <div data-sid="admin.layout.header.lang_switch"></div>
11
+ <div data-sid="admin.layout.header.user_profile"></div>
12
+ <div data-sid="admin.layout.tabs"></div>
13
+ <div data-sid="admin.content.page_header"></div>
14
+ <div data-sid="admin.content.filter_area"></div>
15
+ <div data-sid="admin.content.table.operation_bar"></div>
16
+ <div data-sid="admin.content.table.operation_column"></div>
17
+ <div data-sid="admin.content.table.area"></div>
18
+ <div data-sid="admin.content.table.header_cell"></div>
19
+ <div data-sid="admin.content.table.cell"></div>
20
+ <div data-sid="admin.content.table.cell_status"></div>
21
+ <div data-sid="admin.content.table.cell_amount"></div>
22
+ <div data-sid="admin.content.table.cell_thumb"></div>
23
+ <div data-sid="component.tag.status"></div>
24
+ <div data-sid="component.button.danger"></div>
25
+ <div data-sid="admin.content.pagination"></div>
26
+ </body>
27
+ </html>
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <!-- G6 层间令牌链对账闸回归专用迷你效果图:只为 changeset-neg9/pos-g6-token-chain.json 提供
3
+ 可读、可标注的基线实物(data-sid=admin.layout.content),隔离出唯一闸点。不是真实设计交付件。 -->
4
+ <html lang="zh-CN" data-mockup-theme="钴蓝">
5
+ <head>
6
+ <meta charset="UTF-8">
7
+ <title>G6 回归夹具 · 内容区</title>
8
+ </head>
9
+ <body>
10
+ <div class="app-content" data-sid="admin.layout.content" style="padding: 24px; background: #F5F5F5;"></div>
11
+ </body>
12
+ </html>
@@ -1,37 +1,37 @@
1
- {
2
- "$comment": "verify 夹具 · 效果图期望(computed style 转储外形)。真实抽取由浏览器链路完成,本文件仅用于回归。顶层扩展字段:absent=效果图上不存在的出厂点位(G12 存在性闸断言目标,2026-09-21 面包屑事故机制化);residual_accepted=申报过的固有残差(命中豁免不计缺口,reason 必填);states=交互态期望(G14 状态断言闸,键 <sid>@<state>,2026-09-22 批量按钮禁用态事故机制化——静态快照取不到交互态,逐点 diff 永远验不到)。header_cell 增补 white-space 期望 = 列头截断防线的期望值加密(oracle 无期望值的属性验了等于没验)。",
3
- "sids": {
4
- "admin.layout.sidebar.logo_area": {
5
- "background-color": "#0B1A3C"
6
- },
7
- "admin.content.table.header_cell": {
8
- "padding": "16px",
9
- "font-weight": "500",
10
- "text-align": "left",
11
- "background-color": "#FAFAFA",
12
- "white-space": "nowrap"
13
- },
14
- "admin.content.table.cell_amount": {
15
- "text-align": "right"
16
- },
17
- "admin.layout.tabs.item_active": {
18
- "font-weight": "500",
19
- "color": "#245BFF"
20
- },
21
- "admin.layout.header.user_profile": {
22
- "gap": "12px"
23
- }
24
- },
25
- "absent": [
26
- "admin.layout.header.breadcrumb"
27
- ],
28
- "states": {
29
- "admin.content.list.batch_delete@disabled": {
30
- "opacity": "0.4",
31
- "cursor": "not-allowed"
32
- }
33
- },
34
- "residual_accepted": [
35
- { "sid": "admin.layout.sidebar.logo_area", "reason": "出厂 logo 图形属业务资产,效果图占位图形与实际 logo 不逐像素比对(restore-checklist §三:只还原载体模块)" }
36
- ]
37
- }
1
+ {
2
+ "$comment": "verify 夹具 · 效果图期望(computed style 转储外形)。真实抽取由浏览器链路完成,本文件仅用于回归。顶层扩展字段:absent=效果图上不存在的出厂点位(G12 存在性闸断言目标,如出厂面包屑点位未收口的失效模式);residual_accepted=申报过的固有残差(命中豁免不计缺口,reason 必填);states=交互态期望(G14 状态断言闸,键 <sid>@<state>——静态快照取不到交互态,逐点 diff 永远验不到,交互态必须由浏览器触发后抽取)。header_cell 增补 white-space 期望 = 列头截断防线的期望值加密(oracle 无期望值的属性验了等于没验)。",
3
+ "sids": {
4
+ "admin.layout.sidebar.logo_area": {
5
+ "background-color": "#0B1A3C"
6
+ },
7
+ "admin.content.table.header_cell": {
8
+ "padding": "16px",
9
+ "font-weight": "500",
10
+ "text-align": "left",
11
+ "background-color": "#FAFAFA",
12
+ "white-space": "nowrap"
13
+ },
14
+ "admin.content.table.cell_amount": {
15
+ "text-align": "right"
16
+ },
17
+ "admin.layout.tabs.item_active": {
18
+ "font-weight": "500",
19
+ "color": "#245BFF"
20
+ },
21
+ "admin.layout.header.user_profile": {
22
+ "gap": "12px"
23
+ }
24
+ },
25
+ "absent": [
26
+ "admin.layout.header.breadcrumb"
27
+ ],
28
+ "states": {
29
+ "admin.content.list.batch_delete@disabled": {
30
+ "opacity": "0.4",
31
+ "cursor": "not-allowed"
32
+ }
33
+ },
34
+ "residual_accepted": [
35
+ { "sid": "admin.layout.sidebar.logo_area", "reason": "出厂 logo 图形属业务资产,效果图占位图形与实际 logo 不逐像素比对(restore-checklist §三:只还原载体模块)" }
36
+ ]
37
+ }