create-yss-spec 3.4.10 → 3.5.0

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 (174) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
  3. package/src/api/_sync-service.js +111 -18
  4. package/src/cli/args.js +1 -0
  5. package/src/cli/help.js +10 -1
  6. package/src/cli/index.js +3 -0
  7. package/src/cli/prompts.js +5 -1
  8. package/src/cli/router.js +2 -0
  9. package/src/commands/attach.js +12 -2
  10. package/src/commands/init.js +2 -0
  11. package/src/commands/skills.js +253 -0
  12. package/src/commands/sync.js +3 -0
  13. package/src/family-identity.js +1 -1
  14. package/src/template/asset-runtime.js +220 -0
  15. package/src/template/distribution-runtime.js +165 -0
  16. package/src/template/instance-runtime.js +76 -29
  17. package/src/template/ownership-policy.js +17 -1
  18. package/src/template/prune-planner.js +6 -1
  19. package/src/template/sync-planner.js +3 -0
  20. package/src/template/verification-runtime.js +56 -1
  21. package/src/validation/metadata.js +24 -1
  22. package/template/.agents/skills/.strategic-design-skills-manifest.json +1 -1
  23. package/template/.agents/skills/yss-cache/SKILL.md +6 -5
  24. package/template/.agents/skills/yss-cache/references/annotations.md +3 -1
  25. package/template/.agents/skills/yss-cache/references/architecture.md +4 -2
  26. package/template/.agents/skills/yss-cache/references/configuration.md +6 -3
  27. package/template/.agents/skills/yss-cache/references/jetcache.md +21 -0
  28. package/template/.agents/skills/yss-cache/references/redis-fallback.md +5 -3
  29. package/template/.agents/skills/yss-cache/references/verification.md +10 -4
  30. package/template/.agents/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
  31. package/template/.agents/skills/yss-distributed-id/SKILL.md +14 -58
  32. package/template/.agents/skills/yss-distributed-id/agents/openai.yaml +2 -2
  33. package/template/.agents/skills/yss-distributed-id/references/README.md +11 -47
  34. package/template/.agents/skills/yss-mybatis/SKILL.md +14 -2
  35. package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +5 -4
  36. package/template/.agents/skills/yss-product-lifecycle/references/state-model.md +8 -8
  37. package/template/.agents/skills/yss-prototype-stage/SKILL.md +2 -2
  38. package/template/.agents/skills/yss-repository/SKILL.md +1 -0
  39. package/template/.codex/skills/yss-cache/SKILL.md +6 -5
  40. package/template/.codex/skills/yss-cache/references/annotations.md +3 -1
  41. package/template/.codex/skills/yss-cache/references/architecture.md +4 -2
  42. package/template/.codex/skills/yss-cache/references/configuration.md +6 -3
  43. package/template/.codex/skills/yss-cache/references/jetcache.md +21 -0
  44. package/template/.codex/skills/yss-cache/references/redis-fallback.md +5 -3
  45. package/template/.codex/skills/yss-cache/references/verification.md +10 -4
  46. package/template/.codex/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
  47. package/template/.codex/skills/yss-distributed-id/SKILL.md +14 -58
  48. package/template/.codex/skills/yss-distributed-id/agents/openai.yaml +2 -2
  49. package/template/.codex/skills/yss-distributed-id/references/README.md +11 -47
  50. package/template/.codex/skills/yss-mybatis/SKILL.md +14 -2
  51. package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +5 -4
  52. package/template/.codex/skills/yss-product-lifecycle/references/state-model.md +8 -8
  53. package/template/.codex/skills/yss-prototype-stage/SKILL.md +2 -2
  54. package/template/.codex/skills/yss-repository/SKILL.md +1 -0
  55. package/template/.cursor/skills/yss-cache/SKILL.md +6 -5
  56. package/template/.cursor/skills/yss-cache/references/annotations.md +3 -1
  57. package/template/.cursor/skills/yss-cache/references/architecture.md +4 -2
  58. package/template/.cursor/skills/yss-cache/references/configuration.md +6 -3
  59. package/template/.cursor/skills/yss-cache/references/jetcache.md +21 -0
  60. package/template/.cursor/skills/yss-cache/references/redis-fallback.md +5 -3
  61. package/template/.cursor/skills/yss-cache/references/verification.md +10 -4
  62. package/template/.cursor/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
  63. package/template/.cursor/skills/yss-distributed-id/SKILL.md +14 -58
  64. package/template/.cursor/skills/yss-distributed-id/agents/openai.yaml +2 -2
  65. package/template/.cursor/skills/yss-distributed-id/references/README.md +11 -47
  66. package/template/.cursor/skills/yss-mybatis/SKILL.md +14 -2
  67. package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +5 -4
  68. package/template/.cursor/skills/yss-product-lifecycle/references/state-model.md +8 -8
  69. package/template/.cursor/skills/yss-prototype-stage/SKILL.md +2 -2
  70. package/template/.cursor/skills/yss-repository/SKILL.md +1 -0
  71. package/template/.pi/skills/yss-cache/SKILL.md +6 -5
  72. package/template/.pi/skills/yss-cache/references/annotations.md +3 -1
  73. package/template/.pi/skills/yss-cache/references/architecture.md +4 -2
  74. package/template/.pi/skills/yss-cache/references/configuration.md +6 -3
  75. package/template/.pi/skills/yss-cache/references/jetcache.md +21 -0
  76. package/template/.pi/skills/yss-cache/references/redis-fallback.md +5 -3
  77. package/template/.pi/skills/yss-cache/references/verification.md +10 -4
  78. package/template/.pi/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
  79. package/template/.pi/skills/yss-distributed-id/SKILL.md +14 -58
  80. package/template/.pi/skills/yss-distributed-id/agents/openai.yaml +2 -2
  81. package/template/.pi/skills/yss-distributed-id/references/README.md +11 -47
  82. package/template/.pi/skills/yss-mybatis/SKILL.md +14 -2
  83. package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +5 -4
  84. package/template/.pi/skills/yss-product-lifecycle/references/state-model.md +8 -8
  85. package/template/.pi/skills/yss-prototype-stage/SKILL.md +2 -2
  86. package/template/.pi/skills/yss-repository/SKILL.md +1 -0
  87. package/template/README.md +2 -5
  88. package/template/docs/agents/skill-migrations.md +4 -0
  89. package/template/docs/agents/yss-skill-registry.yaml +7 -6
  90. package/template/docs/design/README.md +0 -1
  91. package/template/docs/design/design.md +2 -2
  92. package/template/docs/design/templates/interaction-spec-template.md +1 -1
  93. package/template/docs/engineering/evidence/aliyun-artifact-resolution.json +446 -0
  94. package/template/scripts/design-md +2 -0
  95. package/template/scripts/lib/design-md.mjs +230 -0
  96. package/template/scripts/lib/skill-registry.mjs +9 -2
  97. package/template/scripts/lib/skill-supply-chain.mjs +33 -14
  98. package/template/scripts/verify-project-instance +11 -10
  99. package/template/skills-lock.json +11 -26
  100. package/template.manifest.json +18 -3
  101. package/template.snapshot.json +5 -5
  102. package/template/.agents/skills/grill-me/SKILL.md +0 -7
  103. package/template/.agents/skills/grill-me/agents/openai.yaml +0 -5
  104. package/template/.agents/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
  105. package/template/.agents/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
  106. package/template/.agents/skills/yss-distributed-id/assets/LeafConf.java +0 -36
  107. package/template/.codex/skills/grill-me/SKILL.md +0 -7
  108. package/template/.codex/skills/grill-me/agents/openai.yaml +0 -5
  109. package/template/.codex/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
  110. package/template/.codex/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
  111. package/template/.codex/skills/yss-distributed-id/assets/LeafConf.java +0 -36
  112. package/template/.cursor/skills/grill-me/SKILL.md +0 -7
  113. package/template/.cursor/skills/grill-me/agents/openai.yaml +0 -5
  114. package/template/.cursor/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
  115. package/template/.cursor/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
  116. package/template/.cursor/skills/yss-distributed-id/assets/LeafConf.java +0 -36
  117. package/template/.pi/skills/grill-me/SKILL.md +0 -7
  118. package/template/.pi/skills/grill-me/agents/openai.yaml +0 -5
  119. package/template/.pi/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
  120. package/template/.pi/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
  121. package/template/.pi/skills/yss-distributed-id/assets/LeafConf.java +0 -36
  122. package/template/docs/agents/yss-plugin-dependency-contract.md +0 -45
  123. package/template/docs/api/.gitkeep +0 -0
  124. package/template/docs/api/specs/.gitkeep +0 -0
  125. package/template/docs/architecture/.gitkeep +0 -0
  126. package/template/docs/design/facts/antdv-next/1.5.2/cli-help.txt +0 -38
  127. package/template/docs/design/facts/antdv-next/1.5.2/component-list.json +0 -434
  128. package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/demo-basic.json +0 -7
  129. package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/info.json +0 -246
  130. package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/semantic.json +0 -40
  131. package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/token.json +0 -32
  132. package/template/docs/design/facts/antdv-next/1.5.2/components/Button/demo-basic.json +0 -7
  133. package/template/docs/design/facts/antdv-next/1.5.2/components/Button/info.json +0 -190
  134. package/template/docs/design/facts/antdv-next/1.5.2/components/Button/semantic.json +0 -20
  135. package/template/docs/design/facts/antdv-next/1.5.2/components/Button/token.json +0 -256
  136. package/template/docs/design/facts/antdv-next/1.5.2/components/Input/demo-basic.json +0 -7
  137. package/template/docs/design/facts/antdv-next/1.5.2/components/Input/info.json +0 -460
  138. package/template/docs/design/facts/antdv-next/1.5.2/components/Input/semantic.json +0 -70
  139. package/template/docs/design/facts/antdv-next/1.5.2/components/Input/token.json +0 -123
  140. package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/demo-basic.json +0 -7
  141. package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/info.json +0 -646
  142. package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/semantic.json +0 -50
  143. package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/token.json +0 -130
  144. package/template/docs/design/facts/antdv-next/1.5.2/components/Select/demo-basic.json +0 -7
  145. package/template/docs/design/facts/antdv-next/1.5.2/components/Select/info.json +0 -640
  146. package/template/docs/design/facts/antdv-next/1.5.2/components/Select/semantic.json +0 -70
  147. package/template/docs/design/facts/antdv-next/1.5.2/components/Select/token.json +0 -172
  148. package/template/docs/design/facts/antdv-next/1.5.2/components/Table/demo-basic.json +0 -7
  149. package/template/docs/design/facts/antdv-next/1.5.2/components/Table/info.json +0 -1010
  150. package/template/docs/design/facts/antdv-next/1.5.2/components/Table/semantic.json +0 -70
  151. package/template/docs/design/facts/antdv-next/1.5.2/components/Table/token.json +0 -263
  152. package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/demo-basic.json +0 -7
  153. package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/info.json +0 -321
  154. package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/semantic.json +0 -25
  155. package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/token.json +0 -25
  156. package/template/docs/design/facts/antdv-next/1.5.2/design-md.json +0 -3
  157. package/template/docs/design/facts/antdv-next/1.5.2/manifest.json +0 -215
  158. package/template/docs/design/facts/antdv-next/1.5.2/resolution-probe.json +0 -5
  159. package/template/docs/design/prototypes/.gitkeep +0 -1
  160. package/template/docs/implementation/.gitkeep +0 -1
  161. package/template/docs/plan/IDEATION.md +0 -96
  162. package/template/docs/process/PDCA-SCRUM.md +0 -10
  163. package/template/docs/process/harness-executive-blueprint.md +0 -10
  164. package/template/docs/releases/.gitkeep +0 -1
  165. package/template/docs/requirements/README.md +0 -85
  166. package/template/docs/requirements/tickets/.gitkeep +0 -1
  167. package/template/docs/templates/agent-brief-template.md +0 -46
  168. package/template/docs/templates/architecture-proposal-template.md +0 -18
  169. package/template/docs/templates/implementation-plan-template.md +0 -16
  170. package/template/docs/templates/implementation-routing-template.md +0 -350
  171. package/template/docs/templates/requirement-freeze-template.md +0 -63
  172. package/template/docs/templates/risk-register-template.md +0 -11
  173. package/template/docs/templates/user-story-template.md +0 -20
  174. package/template/docs/testing/README.md +0 -110
@@ -1,70 +0,0 @@
1
- {
2
- "name": "Select",
3
- "semanticStructure": [
4
- {
5
- "key": "root",
6
- "description": "Root element with relative positioning, inline-flex layout, cursor styles, transitions, border and other basic selector container styles",
7
- "descriptionZh": "根元素,包含相对定位、行内 flex 布局、光标样式、过渡动画、边框等选择器容器的基础样式"
8
- },
9
- {
10
- "key": "prefix",
11
- "description": "Prefix element with layout and styling for prefix content",
12
- "descriptionZh": "前缀元素,包含前缀内容的布局和样式"
13
- },
14
- {
15
- "key": "content",
16
- "description": "Multiple selection container with layout, spacing, and wrapping styles for selected items",
17
- "descriptionZh": "多选容器,包含已选项的布局、间距、换行相关样式"
18
- },
19
- {
20
- "key": "placeholder",
21
- "description": "Placeholder element with font styles and colors for placeholder text",
22
- "descriptionZh": "占位符元素,包含占位符文本的字体样式和颜色"
23
- },
24
- {
25
- "key": "clear",
26
- "description": "Clear button element with layout, styling and interactive effects for clear button",
27
- "descriptionZh": "清除按钮元素,包含清除按钮的布局、样式和交互效果"
28
- },
29
- {
30
- "key": "input",
31
- "description": "Input element with search input styling, cursor control, font inheritance and other search-related styles. Remove border styles",
32
- "descriptionZh": "输入框元素,包含搜索输入框的样式、光标控制、字体继承等搜索相关样式,去除了边框样式"
33
- },
34
- {
35
- "key": "suffix",
36
- "description": "Suffix element with layout and styling for suffix content like clear button, arrow icon, etc.",
37
- "descriptionZh": "后缀元素,包含后缀内容的布局和样式,如清除按钮、箭头图标等"
38
- },
39
- {
40
- "key": "item",
41
- "description": "Multiple selection item element with border, background, padding, and margin styles",
42
- "descriptionZh": "多选项元素,包含边框、背景、内边距、外边距样式"
43
- },
44
- {
45
- "key": "itemContent",
46
- "description": "Multiple selection item content area with text ellipsis styles",
47
- "descriptionZh": "多选项内容区域,包含文字的省略样式"
48
- },
49
- {
50
- "key": "itemRemove",
51
- "description": "Multiple selection item remove button with font-related styless",
52
- "descriptionZh": "多选项移除按钮,包含字体相关样式"
53
- },
54
- {
55
- "key": "popup.root",
56
- "description": "Popup element with popup layer positioning, z-index, background, border, box-shadow and other popup container styles",
57
- "descriptionZh": "弹出菜单元素,包含弹出层的定位、层级、背景、边框、阴影等弹出容器样式"
58
- },
59
- {
60
- "key": "popup.list",
61
- "description": "Popup list element with option list layout, scrolling, max-height and other list container styles",
62
- "descriptionZh": "弹出菜单列表元素,包含选项列表的布局、滚动、最大高度等列表容器样式"
63
- },
64
- {
65
- "key": "popup.listItem",
66
- "description": "Popup item element with option item padding, hover effects, selected states, disabled states and other option interactive styles",
67
- "descriptionZh": "弹出菜单条目元素,包含选项项的内边距、悬浮效果、选中状态、禁用状态等选项交互样式"
68
- }
69
- ]
70
- }
@@ -1,172 +0,0 @@
1
- {
2
- "token": [
3
- {
4
- "name": "activeBorderColor",
5
- "type": "string",
6
- "default": "#1677ff",
7
- "description": "Active border color",
8
- "descriptionZh": "激活态边框色"
9
- },
10
- {
11
- "name": "activeOutlineColor",
12
- "type": "string",
13
- "default": "rgba(5,145,255,0.1)",
14
- "description": "Active outline color",
15
- "descriptionZh": "激活态 outline 颜色"
16
- },
17
- {
18
- "name": "clearBg",
19
- "type": "string",
20
- "default": "#ffffff",
21
- "description": "Background color of clear button",
22
- "descriptionZh": "清空按钮背景色"
23
- },
24
- {
25
- "name": "hoverBorderColor",
26
- "type": "string",
27
- "default": "#4096ff",
28
- "description": "Hover border color",
29
- "descriptionZh": "悬浮态边框色"
30
- },
31
- {
32
- "name": "multipleItemBg",
33
- "type": "string",
34
- "default": "rgba(0,0,0,0.06)",
35
- "description": "Background color of multiple tag",
36
- "descriptionZh": "多选标签背景色"
37
- },
38
- {
39
- "name": "multipleItemBorderColor",
40
- "type": "string",
41
- "default": "transparent",
42
- "description": "Border color of multiple tag",
43
- "descriptionZh": "多选标签边框色"
44
- },
45
- {
46
- "name": "multipleItemBorderColorDisabled",
47
- "type": "string",
48
- "default": "transparent",
49
- "description": "Border color of multiple tag when disabled",
50
- "descriptionZh": "多选标签禁用边框色"
51
- },
52
- {
53
- "name": "multipleItemColorDisabled",
54
- "type": "string",
55
- "default": "rgba(0,0,0,0.25)",
56
- "description": "Text color of multiple tag when disabled",
57
- "descriptionZh": "多选标签禁用文本颜色"
58
- },
59
- {
60
- "name": "multipleItemHeight",
61
- "type": "number",
62
- "default": "24",
63
- "description": "Height of multiple tag",
64
- "descriptionZh": "多选标签高度"
65
- },
66
- {
67
- "name": "multipleItemHeightLG",
68
- "type": "number",
69
- "default": "32",
70
- "description": "Height of multiple tag with large size",
71
- "descriptionZh": "大号多选标签高度"
72
- },
73
- {
74
- "name": "multipleItemHeightSM",
75
- "type": "number",
76
- "default": "16",
77
- "description": "Height of multiple tag with small size",
78
- "descriptionZh": "小号多选标签高度"
79
- },
80
- {
81
- "name": "multipleSelectorBgDisabled",
82
- "type": "string",
83
- "default": "rgba(0,0,0,0.04)",
84
- "description": "Background color of multiple selector when disabled",
85
- "descriptionZh": "多选框禁用背景"
86
- },
87
- {
88
- "name": "optionActiveBg",
89
- "type": "string",
90
- "default": "rgba(0,0,0,0.04)",
91
- "description": "Background color when option is active",
92
- "descriptionZh": "选项激活态时背景色"
93
- },
94
- {
95
- "name": "optionFontSize",
96
- "type": "number",
97
- "default": "14",
98
- "description": "Font size of option",
99
- "descriptionZh": "选项字体大小"
100
- },
101
- {
102
- "name": "optionHeight",
103
- "type": "number",
104
- "default": "32",
105
- "description": "Height of option",
106
- "descriptionZh": "选项高度"
107
- },
108
- {
109
- "name": "optionLineHeight",
110
- "type": "LineHeight<string | number> | undefined",
111
- "default": "1.5714285714285714",
112
- "description": "Line height of option",
113
- "descriptionZh": "选项行高"
114
- },
115
- {
116
- "name": "optionPadding",
117
- "type": "Padding<string | number> | undefined",
118
- "default": "5px 12px",
119
- "description": "Padding of option",
120
- "descriptionZh": "选项内间距"
121
- },
122
- {
123
- "name": "optionSelectedBg",
124
- "type": "string",
125
- "default": "#e6f4ff",
126
- "description": "Background color when option is selected",
127
- "descriptionZh": "选项选中时背景色"
128
- },
129
- {
130
- "name": "optionSelectedColor",
131
- "type": "string",
132
- "default": "rgba(0,0,0,0.88)",
133
- "description": "Text color when option is selected",
134
- "descriptionZh": "选项选中时文本颜色"
135
- },
136
- {
137
- "name": "optionSelectedFontWeight",
138
- "type": "FontWeight | undefined",
139
- "default": "600",
140
- "description": "Font weight when option is selected",
141
- "descriptionZh": "选项选中时文本字重"
142
- },
143
- {
144
- "name": "selectorBg",
145
- "type": "string",
146
- "default": "#ffffff",
147
- "description": "Background color of selector",
148
- "descriptionZh": "选框背景色"
149
- },
150
- {
151
- "name": "showArrowPaddingInlineEnd",
152
- "type": "number",
153
- "default": "18",
154
- "description": "Inline end padding of arrow",
155
- "descriptionZh": "箭头的行末内边距"
156
- },
157
- {
158
- "name": "singleItemHeightLG",
159
- "type": "number",
160
- "default": "40",
161
- "description": "Height of single selected item with large size",
162
- "descriptionZh": "单选大号回填项高度"
163
- },
164
- {
165
- "name": "zIndexPopup",
166
- "type": "number",
167
- "default": "1050",
168
- "description": "z-index of dropdown",
169
- "descriptionZh": "下拉菜单 z-index"
170
- }
171
- ]
172
- }
@@ -1,7 +0,0 @@
1
- {
2
- "component": "Table",
3
- "name": "basic",
4
- "title": "Basic",
5
- "description": "Simple table with actions.",
6
- "code": "<script setup lang=\"ts\">\nimport type { TableProps } from 'antdv-next'\nimport { h } from 'vue'\n\ninterface DataType {\n key: string\n name: string\n age: number\n address: string\n tags: string[]\n}\n\nconst columns: TableProps<DataType>['columns'] = [\n {\n title: 'Name',\n dataIndex: 'name',\n key: 'name',\n render: text => h('a', text),\n },\n {\n title: 'Age',\n dataIndex: 'age',\n key: 'age',\n },\n {\n title: 'Address',\n dataIndex: 'address',\n key: 'address',\n },\n {\n title: 'Tags',\n key: 'tags',\n dataIndex: 'tags',\n render: (_, record) => record.tags,\n },\n {\n title: 'Action',\n key: 'action',\n render: (_, record) => h('span', [`Invite ${record.name}`, ' | ', 'Delete']),\n },\n]\n\nconst dataSource: DataType[] = [\n {\n key: '1',\n name: 'John Brown',\n age: 32,\n address: 'New York No. 1 Lake Park',\n tags: ['nice', 'developer'],\n },\n {\n key: '2',\n name: 'Jim Green',\n age: 42,\n address: 'London No. 1 Lake Park',\n tags: ['loser'],\n },\n {\n key: '3',\n name: 'Joe Black',\n age: 32,\n address: 'Sydney No. 1 Lake Park',\n tags: ['cool', 'teacher'],\n },\n]\n\nfunction tagColor(tag: string) {\n if (tag === 'loser') {\n return 'volcano'\n }\n return tag.length > 5 ? 'geekblue' : 'green'\n}\n</script>\n\n<template>\n <a-table :columns=\"columns\" :data-source=\"dataSource\">\n <template #bodyCell=\"{ column, record }\">\n <template v-if=\"column.key === 'tags'\">\n <a-space size=\"small\" wrap>\n <a-tag v-for=\"tag in record.tags\" :key=\"tag\" :color=\"tagColor(tag)\">\n {{ tag.toUpperCase() }}\n </a-tag>\n </a-space>\n </template>\n <template v-else-if=\"column.key === 'action'\">\n <a-space size=\"middle\">\n <a>Invite {{ record.name }}</a>\n <a>Delete</a>\n </a-space>\n </template>\n </template>\n </a-table>\n</template>"
7
- }