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

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 (85) hide show
  1. package/README.md +85 -84
  2. package/SKILL.md +55 -27
  3. package/bin/cli.js +5 -6
  4. package/mapping/admin.json +60 -0
  5. package/package.json +4 -13
  6. package/references/adapters/_new-adapter.md +88 -0
  7. package/references/adapters/vue-antdv.md +70 -0
  8. package/references/adapters/vue-element-plus.md +90 -0
  9. package/references/design-apply.md +238 -122
  10. package/scripts/modules.json +2 -2
  11. package/dist/mapping-type.d.ts +0 -33
  12. package/dist/theme-vars.js +0 -62
  13. package/dist/theme-vars.ts +0 -113
  14. package/dist/theme.css +0 -73
  15. package/mapping/basic/color.json +0 -35
  16. package/mapping/basic/radius.json +0 -17
  17. package/mapping/basic/semantic-values.json +0 -72
  18. package/mapping/basic/spacing.json +0 -21
  19. package/mapping/basic/typography.json +0 -21
  20. package/mapping/component/button.json +0 -90
  21. package/mapping/component/card.json +0 -31
  22. package/mapping/component/input.json +0 -42
  23. package/mapping/component/overlay.json +0 -79
  24. package/mapping/component/pagination.json +0 -34
  25. package/mapping/component/table.json +0 -42
  26. package/mapping/component/tag.json +0 -48
  27. package/mapping/layout/breakpoint.json +0 -20
  28. package/mapping/layout/shell-geometry.json +0 -26
  29. package/mapping/scenes/admin/content.json +0 -497
  30. package/mapping/scenes/admin/layout.json +0 -577
  31. package/parser/fixtures/changeset-fullpage-restore.json +0 -259
  32. package/parser/fixtures/changeset-gap-block.json +0 -24
  33. package/parser/fixtures/changeset-legacy.json +0 -11
  34. package/parser/fixtures/changeset-neg1.json +0 -8
  35. package/parser/fixtures/changeset-neg2.json +0 -10
  36. package/parser/fixtures/changeset-neg3.json +0 -22
  37. package/parser/fixtures/changeset-neg4-g8.json +0 -15
  38. package/parser/fixtures/changeset-neg5-g8-stub.json +0 -26
  39. package/parser/fixtures/changeset-neg6-g9-identity.json +0 -39
  40. package/parser/fixtures/changeset-neg7-g10-dims.json +0 -57
  41. package/parser/fixtures/changeset-neg8-g11-oracle.json +0 -57
  42. package/parser/fixtures/changeset-neg9-g6-token-chain.json +0 -34
  43. package/parser/fixtures/changeset-pos-g6-token-chain.json +0 -35
  44. package/parser/fixtures/changeset-pos-theme-neutral.json +0 -264
  45. package/parser/fixtures/changeset-pos-theme-nometa.json +0 -260
  46. package/parser/fixtures/changeset-pos.json +0 -50
  47. package/parser/fixtures/changeset-registry-gap.json +0 -29
  48. package/parser/fixtures/changeset-v32-fields.json +0 -71
  49. package/parser/fixtures/fake-project/src/styles/app.scss +0 -5
  50. package/parser/fixtures/fake-project/src/views/list.vue +0 -13
  51. package/parser/fixtures/registry-bad.json +0 -11
  52. package/parser/fixtures/registry-g6-token-chain.json +0 -10
  53. package/parser/fixtures/registry-sample.json +0 -15
  54. package/parser/fixtures/verify/actual-clean.json +0 -35
  55. package/parser/fixtures/verify/actual.json +0 -33
  56. package/parser/fixtures/verify/mockup-baseline-admin-list.html +0 -27
  57. package/parser/fixtures/verify/mockup-g6-content.html +0 -12
  58. package/parser/fixtures/verify/mockup-neutral.html +0 -26
  59. package/parser/fixtures/verify/mockup-nometa.html +0 -26
  60. package/parser/fixtures/verify/oracle.json +0 -37
  61. package/parser/fixtures/verify/snapshot-latest.json +0 -103
  62. package/parser/generator.js +0 -178
  63. package/parser/index.js +0 -2706
  64. package/parser/loader.js +0 -66
  65. package/parser/override.js +0 -119
  66. package/parser/regression.js +0 -301
  67. package/parser/validator.js +0 -206
  68. package/parser/watch.js +0 -103
  69. package/references/steps/maintenance.md +0 -31
  70. package/references/steps/regression.md +0 -49
  71. package/references/steps/step0-preflight.md +0 -58
  72. package/references/steps/step1-match.md +0 -65
  73. package/references/steps/step1b-audit.md +0 -23
  74. package/references/steps/step1c-registry.md +0 -29
  75. package/references/steps/step2-structure.md +0 -73
  76. package/references/steps/step3-style.md +0 -38
  77. package/references/steps/step3b-shell.md +0 -63
  78. package/references/steps/step3c-priority.md +0 -26
  79. package/references/steps/step4-l3.md +0 -14
  80. package/references/steps/step5-gates.md +0 -64
  81. package/references/steps/step6-verify.md +0 -77
  82. package/scripts/apply-final-gate.mjs +0 -170
  83. package/scripts/check.mjs +0 -207
  84. package/scripts/design-audit.mjs +0 -1575
  85. package/scripts/validate.mjs +0 -106
@@ -1,264 +0,0 @@
1
- {
2
- "$comment": "同构异色归一正例:基线图用【中性文件名】+ 图内 data-mockup-theme=钴蓝 声明身份,本次主题=橘橙。预期:① 不再因「文件名不含主题词」判无基线;② 主题与基线图色板不同已声明 oracle.theme_mapping → 走色值归一而非主题错配;③ exit 0。",
3
- "schema": "design.changeset/1.0",
4
- "changeset_version": "1.0.0",
5
- "mapping_version": "1.0.0",
6
- "scene": "admin",
7
- "scheme": "default",
8
- "mode": "restore",
9
- "layout_type": "vertical",
10
- "global": {
11
- "brand_primary": "橘橙-5",
12
- "sidebar_bg": "橘橙-10"
13
- },
14
- "changes": [
15
- {
16
- "id": "admin.layout.sidebar",
17
- "style": {
18
- "bg": "钴蓝-10"
19
- }
20
- },
21
- {
22
- "id": "admin.layout.sidebar.logo_area",
23
- "style": {
24
- "bg": "钴蓝-10",
25
- "title_color": "#FFFFFF"
26
- }
27
- },
28
- {
29
- "id": "admin.layout.sidebar.menu",
30
- "style": {
31
- "menu_bg": "钴蓝-10",
32
- "menu_text": "钴蓝-2",
33
- "menu_hover_bg": "钴蓝-8",
34
- "menu_title_hover": "#FFFFFF",
35
- "sub_menu_bg": "钴蓝-9",
36
- "sub_menu_active_text": "#FFFFFF",
37
- "menu_active_bg": "钴蓝-5",
38
- "menu_active_indicator": "钴蓝-5"
39
- }
40
- },
41
- {
42
- "id": "admin.layout.header",
43
- "style": {
44
- "bg": "#FFFFFF"
45
- }
46
- },
47
- {
48
- "id": "admin.layout.header.lang_switch",
49
- "form": "inline_switch",
50
- "suppress": [
51
- "icon_only",
52
- "dropdown_popper"
53
- ],
54
- "style": {
55
- "icon_size": "16px",
56
- "gap": "8px",
57
- "text_font_size": "14px"
58
- }
59
- },
60
- {
61
- "id": "admin.layout.header.user_profile",
62
- "style": {
63
- "avatar_width": "28px",
64
- "avatar_height": "28px",
65
- "avatar_radius": "全圆角",
66
- "name_font_size": "14px",
67
- "name_font_weight": "中等"
68
- }
69
- },
70
- {
71
- "id": "admin.layout.tabs",
72
- "form": "chrome",
73
- "style": {
74
- "bg": "#FFFFFF"
75
- }
76
- },
77
- {
78
- "id": "admin.content.table.header_cell",
79
- "style": {
80
- "height": "48px",
81
- "padding": "16px",
82
- "bg": "#FAFAFA",
83
- "font_weight": "中等",
84
- "text_align": "左对齐",
85
- "nowrap": "不换行"
86
- },
87
- "layer": {
88
- "height": "host",
89
- "padding": "host",
90
- "bg": "host",
91
- "font_weight": "host",
92
- "text_align": "inner",
93
- "nowrap": "inner"
94
- },
95
- "suppress_inner": true
96
- },
97
- {
98
- "id": "admin.content.table.cell",
99
- "style": {
100
- "padding": "16px",
101
- "padding_y": "8px",
102
- "vertical_align": "middle"
103
- },
104
- "layer": {
105
- "padding": "host",
106
- "padding_y": "inner",
107
- "vertical_align": "inner"
108
- },
109
- "suppress_inner": true
110
- },
111
- {
112
- "id": "admin.content.table.cell_status",
113
- "form": "filled",
114
- "style": {
115
- "bg": "#E8F3FF",
116
- "text_color": "钴蓝-5",
117
- "radius": "小圆角"
118
- }
119
- },
120
- {
121
- "id": "component.tag.status",
122
- "form": "filled",
123
- "style": {
124
- "height": "24px",
125
- "radius": "小圆角",
126
- "bg_color": "#F6FFED"
127
- }
128
- },
129
- {
130
- "id": "admin.content.page_header",
131
- "style": {
132
- "title_size": "20px",
133
- "title_weight": "加粗",
134
- "desc_color": "钴蓝-3",
135
- "actions_gap": "8px"
136
- }
137
- },
138
- {
139
- "id": "admin.content.filter_area",
140
- "style": {
141
- "radius": "小圆角",
142
- "padding_y": "宽松",
143
- "padding_x": "宽松",
144
- "bg": "#FFFFFF",
145
- "border_bottom": "1px solid #F0F0F0"
146
- }
147
- },
148
- {
149
- "id": "admin.content.table.operation_bar",
150
- "style": {
151
- "gap": "8px",
152
- "padding_y": "紧凑"
153
- }
154
- },
155
- {
156
- "id": "admin.content.table.operation_column",
157
- "form": "text_link",
158
- "style": {
159
- "link_color": "钴蓝-5",
160
- "danger_color": "错误色",
161
- "align": "center",
162
- "divider_color": "#F0F0F0"
163
- }
164
- },
165
- {
166
- "id": "admin.content.table.area",
167
- "style": {
168
- "header_bg": "#FAFAFA",
169
- "row_hover_bg": "#FAFAFA",
170
- "radius": "小圆角"
171
- }
172
- },
173
- {
174
- "id": "admin.content.table.cell_amount",
175
- "style": {
176
- "align": "right",
177
- "font_variant_numeric": "等宽数字"
178
- }
179
- },
180
- {
181
- "id": "admin.content.table.cell_thumb",
182
- "style": {
183
- "thumb_width": "40px",
184
- "thumb_height": "40px",
185
- "thumb_radius": "小圆角"
186
- }
187
- },
188
- {
189
- "id": "component.button.danger",
190
- "style": {
191
- "bg_color": "错误色",
192
- "border_color": "错误色",
193
- "text_color": "#FFFFFF"
194
- }
195
- },
196
- {
197
- "id": "admin.content.pagination",
198
- "style": {
199
- "active_bg": "钴蓝-5",
200
- "active_color": "#FFFFFF"
201
- }
202
- }
203
- ],
204
- "oracle": {
205
- "mockup": "verify/mockup-neutral.html",
206
- "sids": [
207
- "admin.layout.sidebar",
208
- "admin.layout.sidebar.logo_area",
209
- "admin.layout.sidebar.menu",
210
- "admin.layout.header",
211
- "admin.layout.header.lang_switch",
212
- "admin.layout.header.user_profile",
213
- "admin.layout.tabs",
214
- "admin.content.page_header",
215
- "admin.content.filter_area",
216
- "admin.content.table.operation_bar",
217
- "admin.content.table.operation_column",
218
- "admin.content.table.area",
219
- "admin.content.table.header_cell",
220
- "admin.content.table.cell",
221
- "admin.content.table.cell_status",
222
- "admin.content.table.cell_amount",
223
- "admin.content.table.cell_thumb",
224
- "component.tag.status",
225
- "component.button.danger",
226
- "admin.content.pagination"
227
- ],
228
- "theme_mapping": {
229
- "from": "钴蓝",
230
- "to": "橘橙"
231
- }
232
- },
233
- "coverage": {
234
- "registry": "parser/fixtures/registry-sample.json",
235
- "registrable": 6,
236
- "applicable": 5,
237
- "covered": 5,
238
- "gaps": []
239
- },
240
- "pending": [
241
- {
242
- "proposed_id": "admin.content.page_header.greeting",
243
- "function": "页面标题下的说明副标题(一句话描述页面用途)",
244
- "parent": "admin.content.page_header"
245
- },
246
- {
247
- "proposed_id": "admin.content.table.cell_status_badge",
248
- "function": "表格状态列的带图标状态胶囊(图标+文字+浅色底)",
249
- "parent": "admin.content.table.area"
250
- },
251
- {
252
- "proposed_id": "admin.content.table.cell_route_arrow",
253
- "function": "表格线路列的起点到终点箭头展示(如 上海→北京)",
254
- "parent": "admin.content.table.area"
255
- },
256
- {
257
- "proposed_id": "admin.content.table.cell_link",
258
- "function": "表格内可点击的链接文字单元(如运单号)",
259
- "parent": "admin.content.table.area"
260
- }
261
- ],
262
- "notes": "整页场景还原样例(对照效果图逐模块提取)。效果图定制冲突项:侧栏底色用钴蓝-10(极深)而非模板默认 #001529,以用户效果图为准;顶栏保持白底。灰阶临时色申报:白 #FFFFFF、浅灰 #FAFAFA、边框灰 #F0F0F0 为中性色(不属任何主题梯度),按临时主题 hex 直写,全主题通用。页面存在业务结构改动(标题区按钮数量与功能、demo 演示内容去留),需项目侧双层交付:页面结构层走业务闭环开发重建,视觉语义层按本变更集落地。问候语(下午好,张伟)文案属业务层,本变更集只声明其载体形态与样式。",
263
- "theme": "橘橙"
264
- }
@@ -1,260 +0,0 @@
1
- {
2
- "$comment": "中性命名缺元数据回退正例:基线图文件名与图内均无主题身份,但已声明 changeset.theme。预期:仅打印「基线图未带主题身份元数据」提示,不报错、exit 0 —— 保证「改名但漏搬元数据」不会硬失败。",
3
- "schema": "design.changeset/1.0",
4
- "changeset_version": "1.0.0",
5
- "mapping_version": "1.0.0",
6
- "scene": "admin",
7
- "scheme": "default",
8
- "mode": "restore",
9
- "layout_type": "vertical",
10
- "global": {
11
- "brand_primary": "钴蓝-5",
12
- "sidebar_bg": "钴蓝-10"
13
- },
14
- "changes": [
15
- {
16
- "id": "admin.layout.sidebar",
17
- "style": {
18
- "bg": "钴蓝-10"
19
- }
20
- },
21
- {
22
- "id": "admin.layout.sidebar.logo_area",
23
- "style": {
24
- "bg": "钴蓝-10",
25
- "title_color": "#FFFFFF"
26
- }
27
- },
28
- {
29
- "id": "admin.layout.sidebar.menu",
30
- "style": {
31
- "menu_bg": "钴蓝-10",
32
- "menu_text": "钴蓝-2",
33
- "menu_hover_bg": "钴蓝-8",
34
- "menu_title_hover": "#FFFFFF",
35
- "sub_menu_bg": "钴蓝-9",
36
- "sub_menu_active_text": "#FFFFFF",
37
- "menu_active_bg": "钴蓝-5",
38
- "menu_active_indicator": "钴蓝-5"
39
- }
40
- },
41
- {
42
- "id": "admin.layout.header",
43
- "style": {
44
- "bg": "#FFFFFF"
45
- }
46
- },
47
- {
48
- "id": "admin.layout.header.lang_switch",
49
- "form": "inline_switch",
50
- "suppress": [
51
- "icon_only",
52
- "dropdown_popper"
53
- ],
54
- "style": {
55
- "icon_size": "16px",
56
- "gap": "8px",
57
- "text_font_size": "14px"
58
- }
59
- },
60
- {
61
- "id": "admin.layout.header.user_profile",
62
- "style": {
63
- "avatar_width": "28px",
64
- "avatar_height": "28px",
65
- "avatar_radius": "全圆角",
66
- "name_font_size": "14px",
67
- "name_font_weight": "中等"
68
- }
69
- },
70
- {
71
- "id": "admin.layout.tabs",
72
- "form": "chrome",
73
- "style": {
74
- "bg": "#FFFFFF"
75
- }
76
- },
77
- {
78
- "id": "admin.content.table.header_cell",
79
- "style": {
80
- "height": "48px",
81
- "padding": "16px",
82
- "bg": "#FAFAFA",
83
- "font_weight": "中等",
84
- "text_align": "左对齐",
85
- "nowrap": "不换行"
86
- },
87
- "layer": {
88
- "height": "host",
89
- "padding": "host",
90
- "bg": "host",
91
- "font_weight": "host",
92
- "text_align": "inner",
93
- "nowrap": "inner"
94
- },
95
- "suppress_inner": true
96
- },
97
- {
98
- "id": "admin.content.table.cell",
99
- "style": {
100
- "padding": "16px",
101
- "padding_y": "8px",
102
- "vertical_align": "middle"
103
- },
104
- "layer": {
105
- "padding": "host",
106
- "padding_y": "inner",
107
- "vertical_align": "inner"
108
- },
109
- "suppress_inner": true
110
- },
111
- {
112
- "id": "admin.content.table.cell_status",
113
- "form": "filled",
114
- "style": {
115
- "bg": "#E8F3FF",
116
- "text_color": "钴蓝-5",
117
- "radius": "小圆角"
118
- }
119
- },
120
- {
121
- "id": "component.tag.status",
122
- "form": "filled",
123
- "style": {
124
- "height": "24px",
125
- "radius": "小圆角",
126
- "bg_color": "#F6FFED"
127
- }
128
- },
129
- {
130
- "id": "admin.content.page_header",
131
- "style": {
132
- "title_size": "20px",
133
- "title_weight": "加粗",
134
- "desc_color": "钴蓝-3",
135
- "actions_gap": "8px"
136
- }
137
- },
138
- {
139
- "id": "admin.content.filter_area",
140
- "style": {
141
- "radius": "小圆角",
142
- "padding_y": "宽松",
143
- "padding_x": "宽松",
144
- "bg": "#FFFFFF",
145
- "border_bottom": "1px solid #F0F0F0"
146
- }
147
- },
148
- {
149
- "id": "admin.content.table.operation_bar",
150
- "style": {
151
- "gap": "8px",
152
- "padding_y": "紧凑"
153
- }
154
- },
155
- {
156
- "id": "admin.content.table.operation_column",
157
- "form": "text_link",
158
- "style": {
159
- "link_color": "钴蓝-5",
160
- "danger_color": "错误色",
161
- "align": "center",
162
- "divider_color": "#F0F0F0"
163
- }
164
- },
165
- {
166
- "id": "admin.content.table.area",
167
- "style": {
168
- "header_bg": "#FAFAFA",
169
- "row_hover_bg": "#FAFAFA",
170
- "radius": "小圆角"
171
- }
172
- },
173
- {
174
- "id": "admin.content.table.cell_amount",
175
- "style": {
176
- "align": "right",
177
- "font_variant_numeric": "等宽数字"
178
- }
179
- },
180
- {
181
- "id": "admin.content.table.cell_thumb",
182
- "style": {
183
- "thumb_width": "40px",
184
- "thumb_height": "40px",
185
- "thumb_radius": "小圆角"
186
- }
187
- },
188
- {
189
- "id": "component.button.danger",
190
- "style": {
191
- "bg_color": "错误色",
192
- "border_color": "错误色",
193
- "text_color": "#FFFFFF"
194
- }
195
- },
196
- {
197
- "id": "admin.content.pagination",
198
- "style": {
199
- "active_bg": "钴蓝-5",
200
- "active_color": "#FFFFFF"
201
- }
202
- }
203
- ],
204
- "oracle": {
205
- "mockup": "verify/mockup-nometa.html",
206
- "sids": [
207
- "admin.layout.sidebar",
208
- "admin.layout.sidebar.logo_area",
209
- "admin.layout.sidebar.menu",
210
- "admin.layout.header",
211
- "admin.layout.header.lang_switch",
212
- "admin.layout.header.user_profile",
213
- "admin.layout.tabs",
214
- "admin.content.page_header",
215
- "admin.content.filter_area",
216
- "admin.content.table.operation_bar",
217
- "admin.content.table.operation_column",
218
- "admin.content.table.area",
219
- "admin.content.table.header_cell",
220
- "admin.content.table.cell",
221
- "admin.content.table.cell_status",
222
- "admin.content.table.cell_amount",
223
- "admin.content.table.cell_thumb",
224
- "component.tag.status",
225
- "component.button.danger",
226
- "admin.content.pagination"
227
- ]
228
- },
229
- "coverage": {
230
- "registry": "parser/fixtures/registry-sample.json",
231
- "registrable": 6,
232
- "applicable": 5,
233
- "covered": 5,
234
- "gaps": []
235
- },
236
- "pending": [
237
- {
238
- "proposed_id": "admin.content.page_header.greeting",
239
- "function": "页面标题下的说明副标题(一句话描述页面用途)",
240
- "parent": "admin.content.page_header"
241
- },
242
- {
243
- "proposed_id": "admin.content.table.cell_status_badge",
244
- "function": "表格状态列的带图标状态胶囊(图标+文字+浅色底)",
245
- "parent": "admin.content.table.area"
246
- },
247
- {
248
- "proposed_id": "admin.content.table.cell_route_arrow",
249
- "function": "表格线路列的起点到终点箭头展示(如 上海→北京)",
250
- "parent": "admin.content.table.area"
251
- },
252
- {
253
- "proposed_id": "admin.content.table.cell_link",
254
- "function": "表格内可点击的链接文字单元(如运单号)",
255
- "parent": "admin.content.table.area"
256
- }
257
- ],
258
- "notes": "整页场景还原样例(对照效果图逐模块提取)。效果图定制冲突项:侧栏底色用钴蓝-10(极深)而非模板默认 #001529,以用户效果图为准;顶栏保持白底。灰阶临时色申报:白 #FFFFFF、浅灰 #FAFAFA、边框灰 #F0F0F0 为中性色(不属任何主题梯度),按临时主题 hex 直写,全主题通用。页面存在业务结构改动(标题区按钮数量与功能、demo 演示内容去留),需项目侧双层交付:页面结构层走业务闭环开发重建,视觉语义层按本变更集落地。问候语(下午好,张伟)文案属业务层,本变更集只声明其载体形态与样式。",
259
- "theme": "钴蓝"
260
- }
@@ -1,50 +0,0 @@
1
- {
2
- "$comment": "端到端验证夹具 · 正例:语义值 + 临时主题 hex + pending + layout_type + global 全通道覆盖。预期全部通过(L1/L2 命中、钴蓝-5→#245BFF 译表解析、pending 携带功能描述、无阻断)。运行:node parser/index.js match parser/fixtures/changeset-pos.json(cwd 为 skill 根)。",
3
- "schema": "design.changeset/1.0",
4
- "changeset_version": "1.0.0",
5
- "mapping_version": "1.0.0",
6
- "scene": "admin",
7
- "layout_type": "horizontal",
8
- "global": {
9
- "brand_primary": "钴蓝-5"
10
- },
11
- "changes": [
12
- {
13
- "id": "admin.layout.sidebar.menu",
14
- "style": {
15
- "menu_bg": "钴蓝-9",
16
- "menu_active_bg": "钴蓝-5"
17
- }
18
- },
19
- {
20
- "id": "component.button.primary",
21
- "style": {
22
- "bg_color": "钴蓝-5",
23
- "font_weight": "中等"
24
- }
25
- },
26
- {
27
- "id": "admin.layout.tabs",
28
- "form": "card"
29
- },
30
- {
31
- "id": "admin.layout.sidebar.collapse_trigger",
32
- "visible": false
33
- },
34
- {
35
- "id": "admin.layout.header.user_profile",
36
- "style": {
37
- "avatar_radius": "全圆角",
38
- "name_font_size": "14px"
39
- }
40
- }
41
- ],
42
- "pending": [
43
- {
44
- "proposed_id": "portal.content.banner.carousel",
45
- "function": "门户首页顶部轮播横幅",
46
- "parent": "portal.content.banner"
47
- }
48
- ],
49
- "notes": "临时主题:主色 #7C3AED,hover 取 85% 不透明度"
50
- }
@@ -1,29 +0,0 @@
1
- {
2
- "$comment": "回归夹具 · 登记表覆盖率欠声明负例。配 registry-sample.json 使用(--registry):夹具只声明 sample#1/sample#2 两条,sample#3(金额列)与 sample#4(状态列)虽有 oracle.sids 却未声明 → 预期 match exit 1,输出含「登记表覆盖率缺口」。",
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": { "bg": "钴蓝-9", "padding": "16px" },
11
- "layer": { "bg": "host", "padding": "host" }
12
- },
13
- {
14
- "id": "admin.content.table.cell",
15
- "style": { "padding": "16px" },
16
- "layer": { "padding": "host" }
17
- }
18
- ],
19
- "oracle": {
20
- "mockup": "verify/回归夹具-列表页-钴蓝.html",
21
- "sids": [
22
- "admin.content.table.header_cell",
23
- "admin.content.table.cell",
24
- "admin.content.table.cell_amount",
25
- "admin.content.table.cell_status"
26
- ]
27
- },
28
- "notes": "本夹具只用于回归登记表覆盖率细闸,不是真实设计交付件。"
29
- }
@@ -1,71 +0,0 @@
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
- }
@@ -1,5 +0,0 @@
1
- /* audit 夹具:模拟「只写了样式、没人挂类」的历史缺口形态(挂载点可疑) */
2
- .vts-action-bar {
3
- gap: var(--action-bar-gap);
4
- padding: var(--action-bar-padding-y) 0;
5
- }
@@ -1,13 +0,0 @@
1
- <template>
2
- <!-- audit 夹具:模拟「已挂载」的构图钩子(结构挂载点存在) -->
3
- <div class="vts-page-card">
4
- <div class="vts-filter-area"></div>
5
- <div class="vts-table-area">
6
- <el-table :data="rows" />
7
- </div>
8
- </div>
9
- </template>
10
-
11
- <script setup lang="ts">
12
- const rows: unknown[] = [];
13
- </script>