create-yss-spec 3.4.9 → 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.
- package/README.md +2 -2
- package/package.json +1 -1
- package/src/api/_sync-service.js +111 -18
- package/src/cli/args.js +1 -0
- package/src/cli/help.js +10 -1
- package/src/cli/index.js +3 -0
- package/src/cli/prompts.js +5 -1
- package/src/cli/router.js +2 -0
- package/src/commands/attach.js +12 -2
- package/src/commands/init.js +2 -0
- package/src/commands/skills.js +253 -0
- package/src/commands/sync.js +3 -0
- package/src/family-identity.js +1 -1
- package/src/template/asset-runtime.js +220 -0
- package/src/template/attach-planner.js +5 -0
- package/src/template/distribution-runtime.js +165 -0
- package/src/template/instance-runtime.js +76 -29
- package/src/template/ownership-policy.js +17 -1
- package/src/template/prune-planner.js +6 -1
- package/src/template/sync-planner.js +8 -0
- package/src/template/verification-runtime.js +56 -1
- package/src/validation/metadata.js +24 -1
- package/template/.agents/skills/.strategic-design-skills-manifest.json +1 -1
- package/template/.agents/skills/yss-cache/SKILL.md +6 -5
- package/template/.agents/skills/yss-cache/references/annotations.md +3 -1
- package/template/.agents/skills/yss-cache/references/architecture.md +4 -2
- package/template/.agents/skills/yss-cache/references/configuration.md +6 -3
- package/template/.agents/skills/yss-cache/references/jetcache.md +21 -0
- package/template/.agents/skills/yss-cache/references/redis-fallback.md +5 -3
- package/template/.agents/skills/yss-cache/references/verification.md +10 -4
- package/template/.agents/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
- package/template/.agents/skills/yss-distributed-id/SKILL.md +14 -58
- package/template/.agents/skills/yss-distributed-id/agents/openai.yaml +2 -2
- package/template/.agents/skills/yss-distributed-id/references/README.md +11 -47
- package/template/.agents/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.agents/skills/yss-mybatis/SKILL.md +14 -2
- package/template/.agents/skills/yss-openapi-draft-review/SKILL.md +2 -0
- package/template/.agents/skills/yss-openapi-governance/SKILL.md +4 -0
- package/template/.agents/skills/yss-product-lifecycle/SKILL.md +11 -5
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +68 -5
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.agents/skills/yss-product-lifecycle/references/state-model.md +8 -8
- package/template/.agents/skills/yss-prototype-stage/SKILL.md +4 -2
- package/template/.agents/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs +2 -2
- package/template/.agents/skills/yss-repository/SKILL.md +1 -0
- package/template/.agents/skills/yss-stage-decision/SKILL.md +2 -0
- package/template/.agents/skills/yss-tactical-design/SKILL.md +2 -0
- package/template/.agents/skills/yss-technical-design/SKILL.md +2 -0
- package/template/.agents/skills/yss-technical-design/scripts/engineering-design.mjs +1 -1
- package/template/.agents/skills/yss-technical-design/scripts/validate-technical-design.mjs +11 -8
- package/template/.codex/skills/yss-cache/SKILL.md +6 -5
- package/template/.codex/skills/yss-cache/references/annotations.md +3 -1
- package/template/.codex/skills/yss-cache/references/architecture.md +4 -2
- package/template/.codex/skills/yss-cache/references/configuration.md +6 -3
- package/template/.codex/skills/yss-cache/references/jetcache.md +21 -0
- package/template/.codex/skills/yss-cache/references/redis-fallback.md +5 -3
- package/template/.codex/skills/yss-cache/references/verification.md +10 -4
- package/template/.codex/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
- package/template/.codex/skills/yss-distributed-id/SKILL.md +14 -58
- package/template/.codex/skills/yss-distributed-id/agents/openai.yaml +2 -2
- package/template/.codex/skills/yss-distributed-id/references/README.md +11 -47
- package/template/.codex/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.codex/skills/yss-mybatis/SKILL.md +14 -2
- package/template/.codex/skills/yss-openapi-draft-review/SKILL.md +2 -0
- package/template/.codex/skills/yss-openapi-governance/SKILL.md +4 -0
- package/template/.codex/skills/yss-product-lifecycle/SKILL.md +11 -5
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +68 -5
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.codex/skills/yss-product-lifecycle/references/state-model.md +8 -8
- package/template/.codex/skills/yss-prototype-stage/SKILL.md +4 -2
- package/template/.codex/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs +2 -2
- package/template/.codex/skills/yss-repository/SKILL.md +1 -0
- package/template/.codex/skills/yss-stage-decision/SKILL.md +2 -0
- package/template/.codex/skills/yss-tactical-design/SKILL.md +2 -0
- package/template/.codex/skills/yss-technical-design/SKILL.md +2 -0
- package/template/.codex/skills/yss-technical-design/scripts/engineering-design.mjs +1 -1
- package/template/.codex/skills/yss-technical-design/scripts/validate-technical-design.mjs +11 -8
- package/template/.cursor/skills/yss-cache/SKILL.md +6 -5
- package/template/.cursor/skills/yss-cache/references/annotations.md +3 -1
- package/template/.cursor/skills/yss-cache/references/architecture.md +4 -2
- package/template/.cursor/skills/yss-cache/references/configuration.md +6 -3
- package/template/.cursor/skills/yss-cache/references/jetcache.md +21 -0
- package/template/.cursor/skills/yss-cache/references/redis-fallback.md +5 -3
- package/template/.cursor/skills/yss-cache/references/verification.md +10 -4
- package/template/.cursor/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
- package/template/.cursor/skills/yss-distributed-id/SKILL.md +14 -58
- package/template/.cursor/skills/yss-distributed-id/agents/openai.yaml +2 -2
- package/template/.cursor/skills/yss-distributed-id/references/README.md +11 -47
- package/template/.cursor/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.cursor/skills/yss-mybatis/SKILL.md +14 -2
- package/template/.cursor/skills/yss-openapi-draft-review/SKILL.md +2 -0
- package/template/.cursor/skills/yss-openapi-governance/SKILL.md +4 -0
- package/template/.cursor/skills/yss-product-lifecycle/SKILL.md +11 -5
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +68 -5
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.cursor/skills/yss-product-lifecycle/references/state-model.md +8 -8
- package/template/.cursor/skills/yss-prototype-stage/SKILL.md +4 -2
- package/template/.cursor/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs +2 -2
- package/template/.cursor/skills/yss-repository/SKILL.md +1 -0
- package/template/.cursor/skills/yss-stage-decision/SKILL.md +2 -0
- package/template/.cursor/skills/yss-tactical-design/SKILL.md +2 -0
- package/template/.cursor/skills/yss-technical-design/SKILL.md +2 -0
- package/template/.cursor/skills/yss-technical-design/scripts/engineering-design.mjs +1 -1
- package/template/.cursor/skills/yss-technical-design/scripts/validate-technical-design.mjs +11 -8
- package/template/.pi/skills/yss-cache/SKILL.md +6 -5
- package/template/.pi/skills/yss-cache/references/annotations.md +3 -1
- package/template/.pi/skills/yss-cache/references/architecture.md +4 -2
- package/template/.pi/skills/yss-cache/references/configuration.md +6 -3
- package/template/.pi/skills/yss-cache/references/jetcache.md +21 -0
- package/template/.pi/skills/yss-cache/references/redis-fallback.md +5 -3
- package/template/.pi/skills/yss-cache/references/verification.md +10 -4
- package/template/.pi/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
- package/template/.pi/skills/yss-distributed-id/SKILL.md +14 -58
- package/template/.pi/skills/yss-distributed-id/agents/openai.yaml +2 -2
- package/template/.pi/skills/yss-distributed-id/references/README.md +11 -47
- package/template/.pi/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.pi/skills/yss-mybatis/SKILL.md +14 -2
- package/template/.pi/skills/yss-openapi-draft-review/SKILL.md +2 -0
- package/template/.pi/skills/yss-openapi-governance/SKILL.md +4 -0
- package/template/.pi/skills/yss-product-lifecycle/SKILL.md +11 -5
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +68 -5
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.pi/skills/yss-product-lifecycle/references/state-model.md +8 -8
- package/template/.pi/skills/yss-prototype-stage/SKILL.md +4 -2
- package/template/.pi/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs +2 -2
- package/template/.pi/skills/yss-repository/SKILL.md +1 -0
- package/template/.pi/skills/yss-stage-decision/SKILL.md +2 -0
- package/template/.pi/skills/yss-tactical-design/SKILL.md +2 -0
- package/template/.pi/skills/yss-technical-design/SKILL.md +2 -0
- package/template/.pi/skills/yss-technical-design/scripts/engineering-design.mjs +1 -1
- package/template/.pi/skills/yss-technical-design/scripts/validate-technical-design.mjs +11 -8
- package/template/AGENTS.md +2 -0
- package/template/CONTEXT.md +2 -1
- package/template/README.md +3 -5
- package/template/docs/agents/issue-tracker.md +7 -0
- package/template/docs/agents/skill-migrations.md +4 -0
- package/template/docs/agents/yss-skill-registry.yaml +7 -6
- package/template/docs/design/README.md +0 -1
- package/template/docs/design/design.md +2 -2
- package/template/docs/design/templates/interaction-spec-template.md +1 -1
- package/template/docs/engineering/evidence/aliyun-artifact-resolution.json +446 -0
- package/template/docs/process/contract-reading.md +46 -0
- package/template/docs/process/lifecycle-artifact-map.md +2 -2
- package/template/docs/process/lifecycle-registry-baseline.json +2 -1
- package/template/docs/process/lifecycle-registry.yaml +10 -4
- package/template/docs/process/schemas/api-contract-decision-v2.schema.json +198 -0
- package/template/docs/process/schemas/digital-human-task-package.schema.json +8 -0
- package/template/docs/process/schemas/lifecycle-checkpoint.schema.json +259 -0
- package/template/docs/process/schemas/stage-tracking.schema.json +259 -0
- package/template/docs/process/stage-tracking.md +62 -0
- package/template/docs/process/strategic-handoff-package.md +8 -0
- package/template/docs/user-guide//347/224/250/346/210/267/346/211/213/345/206/214.md +2 -0
- package/template/docs/user-guide//347/224/250/346/210/267/346/211/213/345/206/214/347/264/242/345/274/225.md +1 -0
- package/template/docs/user-guide//351/230/266/346/256/265/346/216/245/345/205/245/344/270/216/344/272/247/347/211/251/345/244/215/347/224/250/344/275/277/347/224/250/346/211/213/345/206/214.md +243 -0
- package/template/scripts/api-contract-decision +16 -0
- package/template/scripts/complete-backend-delivery +17 -0
- package/template/scripts/contract +13 -0
- package/template/scripts/design-md +2 -0
- package/template/scripts/dispatch-slice-task +13 -0
- package/template/scripts/lib/api-contract-decision.mjs +45 -4
- package/template/scripts/lib/approval-record.mjs +1 -1
- package/template/scripts/lib/approved-execution-context.mjs +35 -7
- package/template/scripts/lib/backend-architecture.mjs +2 -2
- package/template/scripts/lib/backend-delivery-terminal.mjs +51 -0
- package/template/scripts/lib/backend-platform-provenance.mjs +1 -1
- package/template/scripts/lib/backend-platform.mjs +1 -1
- package/template/scripts/lib/backend-scaffold-prerequisites.mjs +1 -1
- package/template/scripts/lib/context-contract.mjs +1 -1
- package/template/scripts/lib/context-reconciliation.mjs +1 -1
- package/template/scripts/lib/contract-source.mjs +22 -0
- package/template/scripts/lib/contract-views.mjs +109 -0
- package/template/scripts/lib/delivery-preflight.mjs +3 -2
- package/template/scripts/lib/design-md.mjs +230 -0
- package/template/scripts/lib/digital-human-roles.mjs +1 -1
- package/template/scripts/lib/existing-backend-architecture.mjs +4 -3
- package/template/scripts/lib/existing-ui-baseline.mjs +4 -2
- package/template/scripts/lib/frontend-delivery-boundary.mjs +1 -1
- package/template/scripts/lib/frontend-delivery.mjs +1 -1
- package/template/scripts/lib/harness-execution-scope.mjs +15 -1
- package/template/scripts/lib/implementation-contract-compiler.mjs +4 -4
- package/template/scripts/lib/json-schema.mjs +19 -4
- package/template/scripts/lib/lifecycle-context-query.mjs +5 -1
- package/template/scripts/lib/lifecycle-controls.mjs +1 -1
- package/template/scripts/lib/lifecycle-execution-scope.mjs +92 -0
- package/template/scripts/lib/lifecycle-registry.mjs +2 -1
- package/template/scripts/lib/lifecycle-transition.mjs +21 -3
- package/template/scripts/lib/openapi-draft-validation.mjs +2 -1
- package/template/scripts/lib/skill-registry.mjs +10 -3
- package/template/scripts/lib/skill-supply-chain.mjs +33 -14
- package/template/scripts/lib/slice-contract-preparation.mjs +16 -14
- package/template/scripts/lib/slice-contract-views.mjs +1 -1
- package/template/scripts/lib/slice-contract.mjs +18 -3
- package/template/scripts/lib/slice-execution-preflight.mjs +7 -3
- package/template/scripts/lib/slice-repositories.mjs +1 -1
- package/template/scripts/lib/slice-task-package.mjs +3 -2
- package/template/scripts/lib/stage-tracking-migration.mjs +176 -0
- package/template/scripts/lib/stage-tracking.mjs +184 -0
- package/template/scripts/lib/strategic-handoff-consumption.mjs +5 -4
- package/template/scripts/lib/strategic-handoff-io.mjs +5 -2
- package/template/scripts/lib/strategic-handoff-routing.mjs +31 -0
- package/template/scripts/lib/strategic-handoff.mjs +4 -2
- package/template/scripts/lib/task-package.mjs +2 -0
- package/template/scripts/lib/technical-design-boundary.mjs +4 -2
- package/template/scripts/lib/ui-baseline.mjs +1 -1
- package/template/scripts/lib/user-decision.mjs +1 -1
- package/template/scripts/lib/validation-phase.mjs +72 -0
- package/template/scripts/stage-tracking +25 -0
- package/template/scripts/strategic-consumer-entry +47 -0
- package/template/scripts/verify-context-reconciliation +4 -3
- package/template/scripts/verify-lifecycle-checkpoint +10 -0
- package/template/scripts/verify-project-instance +11 -10
- package/template/skills-lock.json +17 -32
- package/template.manifest.json +18 -3
- package/template.snapshot.json +5 -5
- package/template/.agents/skills/grill-me/SKILL.md +0 -7
- package/template/.agents/skills/grill-me/agents/openai.yaml +0 -5
- package/template/.agents/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
- package/template/.agents/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
- package/template/.agents/skills/yss-distributed-id/assets/LeafConf.java +0 -36
- package/template/.codex/skills/grill-me/SKILL.md +0 -7
- package/template/.codex/skills/grill-me/agents/openai.yaml +0 -5
- package/template/.codex/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
- package/template/.codex/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
- package/template/.codex/skills/yss-distributed-id/assets/LeafConf.java +0 -36
- package/template/.cursor/skills/grill-me/SKILL.md +0 -7
- package/template/.cursor/skills/grill-me/agents/openai.yaml +0 -5
- package/template/.cursor/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
- package/template/.cursor/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
- package/template/.cursor/skills/yss-distributed-id/assets/LeafConf.java +0 -36
- package/template/.pi/skills/grill-me/SKILL.md +0 -7
- package/template/.pi/skills/grill-me/agents/openai.yaml +0 -5
- package/template/.pi/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
- package/template/.pi/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
- package/template/.pi/skills/yss-distributed-id/assets/LeafConf.java +0 -36
- package/template/docs/agents/yss-plugin-dependency-contract.md +0 -45
- package/template/docs/api/.gitkeep +0 -0
- package/template/docs/api/specs/.gitkeep +0 -0
- package/template/docs/architecture/.gitkeep +0 -0
- package/template/docs/design/facts/antdv-next/1.5.2/cli-help.txt +0 -38
- package/template/docs/design/facts/antdv-next/1.5.2/component-list.json +0 -434
- package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/info.json +0 -246
- package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/semantic.json +0 -40
- package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/token.json +0 -32
- package/template/docs/design/facts/antdv-next/1.5.2/components/Button/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Button/info.json +0 -190
- package/template/docs/design/facts/antdv-next/1.5.2/components/Button/semantic.json +0 -20
- package/template/docs/design/facts/antdv-next/1.5.2/components/Button/token.json +0 -256
- package/template/docs/design/facts/antdv-next/1.5.2/components/Input/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Input/info.json +0 -460
- package/template/docs/design/facts/antdv-next/1.5.2/components/Input/semantic.json +0 -70
- package/template/docs/design/facts/antdv-next/1.5.2/components/Input/token.json +0 -123
- package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/info.json +0 -646
- package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/semantic.json +0 -50
- package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/token.json +0 -130
- package/template/docs/design/facts/antdv-next/1.5.2/components/Select/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Select/info.json +0 -640
- package/template/docs/design/facts/antdv-next/1.5.2/components/Select/semantic.json +0 -70
- package/template/docs/design/facts/antdv-next/1.5.2/components/Select/token.json +0 -172
- package/template/docs/design/facts/antdv-next/1.5.2/components/Table/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Table/info.json +0 -1010
- package/template/docs/design/facts/antdv-next/1.5.2/components/Table/semantic.json +0 -70
- package/template/docs/design/facts/antdv-next/1.5.2/components/Table/token.json +0 -263
- package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/info.json +0 -321
- package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/semantic.json +0 -25
- package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/token.json +0 -25
- package/template/docs/design/facts/antdv-next/1.5.2/design-md.json +0 -3
- package/template/docs/design/facts/antdv-next/1.5.2/manifest.json +0 -215
- package/template/docs/design/facts/antdv-next/1.5.2/resolution-probe.json +0 -5
- package/template/docs/design/prototypes/.gitkeep +0 -1
- package/template/docs/implementation/.gitkeep +0 -1
- package/template/docs/plan/IDEATION.md +0 -96
- package/template/docs/process/PDCA-SCRUM.md +0 -10
- package/template/docs/process/harness-executive-blueprint.md +0 -10
- package/template/docs/releases/.gitkeep +0 -1
- package/template/docs/requirements/README.md +0 -85
- package/template/docs/requirements/tickets/.gitkeep +0 -1
- package/template/docs/templates/agent-brief-template.md +0 -46
- package/template/docs/templates/architecture-proposal-template.md +0 -18
- package/template/docs/templates/implementation-plan-template.md +0 -16
- package/template/docs/templates/implementation-routing-template.md +0 -350
- package/template/docs/templates/requirement-freeze-template.md +0 -63
- package/template/docs/templates/risk-register-template.md +0 -11
- package/template/docs/templates/user-story-template.md +0 -20
- 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
|
-
}
|