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": "Table",
|
|
3
|
-
"semanticStructure": [
|
|
4
|
-
{
|
|
5
|
-
"key": "root",
|
|
6
|
-
"description": "Root element with font-size, background, border-radius, scrollbar-color and other basic table container styles",
|
|
7
|
-
"descriptionZh": "根元素,包含字体大小、背景色、圆角、滚动条颜色等表格容器的基础样式"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"key": "section",
|
|
11
|
-
"description": "Container element with clear-fix, max-width, scrollbar background and other table wrapper styles",
|
|
12
|
-
"descriptionZh": "容器元素,包含清除浮动、最大宽度、滚动条背景等表格包装容器样式"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"key": "header.wrapper",
|
|
16
|
-
"description": "Header wrapper element with table header layout and container styles",
|
|
17
|
-
"descriptionZh": "头部容器元素,包含表头的布局和容器样式"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"key": "header.row",
|
|
21
|
-
"description": "Header row element with table header row layout and styling",
|
|
22
|
-
"descriptionZh": "头部行元素,包含表头行的布局和样式"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"key": "header.cell",
|
|
26
|
-
"description": "Header cell element with relative positioning, padding, word-wrap, background, text color, font-weight and other header cell styles",
|
|
27
|
-
"descriptionZh": "头部单元格元素,包含相对定位、内边距、文字换行、背景色、文字颜色、字体权重等表头单元格样式"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"key": "title",
|
|
31
|
-
"description": "Title element with table title styling and layout",
|
|
32
|
-
"descriptionZh": "标题元素,包含表格标题的样式和布局"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"key": "body.wrapper",
|
|
36
|
-
"description": "Body wrapper element with table body layout and container styles",
|
|
37
|
-
"descriptionZh": "主体容器元素,包含表格主体的布局和容器样式"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"key": "body.row",
|
|
41
|
-
"description": "Body row element with hover effects, selected states, expanded states and other interactive row styles",
|
|
42
|
-
"descriptionZh": "主体行元素,包含数据行的悬浮效果、选中状态、展开状态等交互样式"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"key": "body.cell",
|
|
46
|
-
"description": "Body cell element with relative positioning, padding, word-wrap and other basic data cell styles",
|
|
47
|
-
"descriptionZh": "主体单元格元素,包含相对定位、内边距、文字换行等数据单元格的基础样式"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"key": "footer",
|
|
51
|
-
"description": "Footer element with table footer background color, text color and other footer styles",
|
|
52
|
-
"descriptionZh": "底部元素,包含表格底部的背景色、文字颜色等样式"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"key": "content",
|
|
56
|
-
"description": "Content element with table content area styling and layout",
|
|
57
|
-
"descriptionZh": "内容元素,包含表格内容区域的样式和布局"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"key": "pagination.root",
|
|
61
|
-
"description": "Pagination root element with pagination component basic styles and layout",
|
|
62
|
-
"descriptionZh": "分页根元素,包含分页组件的基础样式和布局"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"key": "pagination.item",
|
|
66
|
-
"description": "Pagination item element with pagination item styling and interactive effects",
|
|
67
|
-
"descriptionZh": "分页单项元素,包含分页项的样式和交互效果"
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
}
|
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"token": [
|
|
3
|
-
{
|
|
4
|
-
"name": "bodySortBg",
|
|
5
|
-
"type": "string",
|
|
6
|
-
"default": "#fafafa",
|
|
7
|
-
"description": "Background color of table sorted column",
|
|
8
|
-
"descriptionZh": "表格排序列背景色"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"name": "borderColor",
|
|
12
|
-
"type": "string",
|
|
13
|
-
"default": "#f0f0f0",
|
|
14
|
-
"description": "Border color of table",
|
|
15
|
-
"descriptionZh": "表格边框/分割线颜色"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "cellFontSize",
|
|
19
|
-
"type": "number",
|
|
20
|
-
"default": "14",
|
|
21
|
-
"description": "Font size of table cell (large size by default)",
|
|
22
|
-
"descriptionZh": "单元格文字大小(默认大尺寸)"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "cellFontSizeMD",
|
|
26
|
-
"type": "number",
|
|
27
|
-
"default": "14",
|
|
28
|
-
"description": "Font size of table cell (middle size)",
|
|
29
|
-
"descriptionZh": "单元格文字大小(中等尺寸)"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "cellFontSizeSM",
|
|
33
|
-
"type": "number",
|
|
34
|
-
"default": "14",
|
|
35
|
-
"description": "Font size of table cell (small size)",
|
|
36
|
-
"descriptionZh": "单元格文字大小(小尺寸)"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "cellPaddingBlock",
|
|
40
|
-
"type": "number",
|
|
41
|
-
"default": "16",
|
|
42
|
-
"description": "Vertical padding of table cell",
|
|
43
|
-
"descriptionZh": "单元格纵向内间距"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"name": "cellPaddingBlockMD",
|
|
47
|
-
"type": "number",
|
|
48
|
-
"default": "12",
|
|
49
|
-
"description": "Vertical padding of table cell (middle size)",
|
|
50
|
-
"descriptionZh": "单元格纵向内间距(中等尺寸)"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "cellPaddingBlockSM",
|
|
54
|
-
"type": "number",
|
|
55
|
-
"default": "8",
|
|
56
|
-
"description": "Vertical padding of table cell (small size)",
|
|
57
|
-
"descriptionZh": "单元格纵向内间距(小尺寸)"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"name": "cellPaddingInline",
|
|
61
|
-
"type": "number",
|
|
62
|
-
"default": "16",
|
|
63
|
-
"description": "Horizontal padding of table cell (large size by default)",
|
|
64
|
-
"descriptionZh": "单元格横向内间距(默认大尺寸)"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"name": "cellPaddingInlineMD",
|
|
68
|
-
"type": "number",
|
|
69
|
-
"default": "8",
|
|
70
|
-
"description": "Horizontal padding of table cell (middle size)",
|
|
71
|
-
"descriptionZh": "单元格横向内间距(中等尺寸)"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "cellPaddingInlineSM",
|
|
75
|
-
"type": "number",
|
|
76
|
-
"default": "8",
|
|
77
|
-
"description": "Horizontal padding of table cell (small size)",
|
|
78
|
-
"descriptionZh": "单元格横向内间距(小尺寸)"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"name": "expandIconBg",
|
|
82
|
-
"type": "string",
|
|
83
|
-
"default": "#ffffff",
|
|
84
|
-
"description": "Background of expand button",
|
|
85
|
-
"descriptionZh": "展开按钮背景色"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"name": "expandIconHalfInner",
|
|
89
|
-
"type": "number",
|
|
90
|
-
"default": "7",
|
|
91
|
-
"description": "",
|
|
92
|
-
"descriptionZh": ""
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "expandIconMarginTop",
|
|
96
|
-
"type": "number",
|
|
97
|
-
"default": "2.5",
|
|
98
|
-
"description": "",
|
|
99
|
-
"descriptionZh": ""
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"name": "expandIconScale",
|
|
103
|
-
"type": "number",
|
|
104
|
-
"default": "0.9411764705882353",
|
|
105
|
-
"description": "",
|
|
106
|
-
"descriptionZh": ""
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"name": "expandIconSize",
|
|
110
|
-
"type": "number",
|
|
111
|
-
"default": "17",
|
|
112
|
-
"description": "",
|
|
113
|
-
"descriptionZh": ""
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"name": "filterDropdownBg",
|
|
117
|
-
"type": "string",
|
|
118
|
-
"default": "#ffffff",
|
|
119
|
-
"description": "Color of filter dropdown",
|
|
120
|
-
"descriptionZh": "过滤下拉菜单颜色"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"name": "filterDropdownMenuBg",
|
|
124
|
-
"type": "string",
|
|
125
|
-
"default": "#ffffff",
|
|
126
|
-
"description": "Background of filter dropdown menu item",
|
|
127
|
-
"descriptionZh": "过滤下拉菜单选项背景"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"name": "fixedHeaderSortActiveBg",
|
|
131
|
-
"type": "string",
|
|
132
|
-
"default": "#f0f0f0",
|
|
133
|
-
"description": "Background color of fixed table header when sorted",
|
|
134
|
-
"descriptionZh": "固定表头排序激活态背景色"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"name": "footerBg",
|
|
138
|
-
"type": "string",
|
|
139
|
-
"default": "#fafafa",
|
|
140
|
-
"description": "Background of footer",
|
|
141
|
-
"descriptionZh": "表格底部背景色"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"name": "footerColor",
|
|
145
|
-
"type": "string",
|
|
146
|
-
"default": "rgba(0,0,0,0.88)",
|
|
147
|
-
"description": "Color of footer text",
|
|
148
|
-
"descriptionZh": "表格底部文字颜色"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"name": "headerBg",
|
|
152
|
-
"type": "string",
|
|
153
|
-
"default": "#fafafa",
|
|
154
|
-
"description": "Background of table header",
|
|
155
|
-
"descriptionZh": "表头背景"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"name": "headerBorderRadius",
|
|
159
|
-
"type": "number",
|
|
160
|
-
"default": "8",
|
|
161
|
-
"description": "Border radius of table header",
|
|
162
|
-
"descriptionZh": "表头圆角"
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"name": "headerColor",
|
|
166
|
-
"type": "string",
|
|
167
|
-
"default": "rgba(0,0,0,0.88)",
|
|
168
|
-
"description": "Color of table header text",
|
|
169
|
-
"descriptionZh": "表头文字颜色"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"name": "headerFilterHoverBg",
|
|
173
|
-
"type": "string",
|
|
174
|
-
"default": "rgba(0,0,0,0.06)",
|
|
175
|
-
"description": "Background color of table header filter button when hovered",
|
|
176
|
-
"descriptionZh": "表头过滤按钮悬浮背景色"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"name": "headerIconColor",
|
|
180
|
-
"type": "string",
|
|
181
|
-
"default": "rgba(0,0,0,0.29250000000000004)",
|
|
182
|
-
"description": "",
|
|
183
|
-
"descriptionZh": ""
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"name": "headerIconHoverColor",
|
|
187
|
-
"type": "string",
|
|
188
|
-
"default": "rgba(0,0,0,0.5720000000000001)",
|
|
189
|
-
"description": "",
|
|
190
|
-
"descriptionZh": ""
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
"name": "headerSortActiveBg",
|
|
194
|
-
"type": "string",
|
|
195
|
-
"default": "#f0f0f0",
|
|
196
|
-
"description": "Background color of table header when sorted",
|
|
197
|
-
"descriptionZh": "表头排序激活态背景色"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"name": "headerSortHoverBg",
|
|
201
|
-
"type": "string",
|
|
202
|
-
"default": "#f0f0f0",
|
|
203
|
-
"description": "Background color of table header when sorted and hovered",
|
|
204
|
-
"descriptionZh": "表头排序激活态悬浮背景色"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"name": "headerSplitColor",
|
|
208
|
-
"type": "string",
|
|
209
|
-
"default": "#f0f0f0",
|
|
210
|
-
"description": "Split border color of table header",
|
|
211
|
-
"descriptionZh": "表头分割线颜色"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"name": "rowExpandedBg",
|
|
215
|
-
"type": "string",
|
|
216
|
-
"default": "rgba(0,0,0,0.02)",
|
|
217
|
-
"description": "Background color of table expanded row",
|
|
218
|
-
"descriptionZh": "表格行展开背景色"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"name": "rowHoverBg",
|
|
222
|
-
"type": "string",
|
|
223
|
-
"default": "#fafafa",
|
|
224
|
-
"description": "Background color of table hovered row",
|
|
225
|
-
"descriptionZh": "表格行悬浮背景色"
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"name": "rowSelectedBg",
|
|
229
|
-
"type": "string",
|
|
230
|
-
"default": "#e6f4ff",
|
|
231
|
-
"description": "Background color of table selected row",
|
|
232
|
-
"descriptionZh": "表格行选中背景色"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"name": "rowSelectedHoverBg",
|
|
236
|
-
"type": "string",
|
|
237
|
-
"default": "#bae0ff",
|
|
238
|
-
"description": "Background color of table selected row when hovered",
|
|
239
|
-
"descriptionZh": "表格行选中悬浮背景色"
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"name": "selectionColumnWidth",
|
|
243
|
-
"type": "string | number",
|
|
244
|
-
"default": "32",
|
|
245
|
-
"description": "Width of selection column",
|
|
246
|
-
"descriptionZh": "选择列宽度"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"name": "stickyScrollBarBg",
|
|
250
|
-
"type": "string",
|
|
251
|
-
"default": "rgba(0,0,0,0.25)",
|
|
252
|
-
"description": "Background of sticky scrollbar",
|
|
253
|
-
"descriptionZh": "Sticky 模式下滚动条背景色"
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"name": "stickyScrollBarBorderRadius",
|
|
257
|
-
"type": "number",
|
|
258
|
-
"default": "100",
|
|
259
|
-
"description": "Border radius of sticky scrollbar",
|
|
260
|
-
"descriptionZh": "Sticky 模式下滚动条圆角"
|
|
261
|
-
}
|
|
262
|
-
]
|
|
263
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": "Tag",
|
|
3
|
-
"name": "basic",
|
|
4
|
-
"title": "Basic",
|
|
5
|
-
"description": "Usage of basic Tag, and it could be closable and customize close button by set `closeIcon` property, will display default close button when `closeIcon` is setting to `true`. Closable Tag supports `onClose` events.",
|
|
6
|
-
"code": "<script setup lang=\"ts\">\nimport { CloseCircleOutlined, DeleteOutlined } from '@antdv-next/icons'\nimport { shallowRef } from 'vue'\n\nfunction preventDefault() {\n console.log('Clicked! Default Not Close.')\n}\nconst tag2 = shallowRef(true)\nfunction handleCloseTag2() {\n tag2.value = false\n}\nconst tag3 = shallowRef(true)\nfunction handleCloseTag3() {\n tag3.value = false\n}\nfunction handleClick() {\n console.log('click')\n}\n</script>\n\n<template>\n <a-flex gap=\"small\" align=\"center\" wrap>\n <a-tag @click=\"handleClick\">\n Tag 1\n </a-tag>\n\n <a-tag>\n <a href=\"https://github.com/ant-design/ant-design/issues/1862\" target=\"_blank\" rel=\"noopener noreferrer\">\n Link\n </a>\n </a-tag>\n <a-tag close-icon @close=\"preventDefault\">\n Prevent Default\n </a-tag>\n <a-tag v-if=\"tag2\" @close=\"handleCloseTag2\">\n <template #closeIcon>\n <CloseCircleOutlined />\n </template>\n Tag 2\n </a-tag>\n\n <a-tag\n v-if=\"tag3\"\n :closable=\"{\n 'aria-label': 'Close Button',\n }\"\n @close=\"handleCloseTag3\"\n >\n <template #closeIcon>\n <DeleteOutlined />\n </template>\n Tag 3\n </a-tag>\n </a-flex>\n</template>"
|
|
7
|
-
}
|
|
@@ -1,321 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Tag",
|
|
3
|
-
"nameZh": "标签",
|
|
4
|
-
"description": "Used for marking and categorization.",
|
|
5
|
-
"props": [
|
|
6
|
-
{
|
|
7
|
-
"name": "closable",
|
|
8
|
-
"type": "boolean",
|
|
9
|
-
"default": "false",
|
|
10
|
-
"description": "Whether the Tag can be closed",
|
|
11
|
-
"descriptionZh": "标签是否可以关闭"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"name": "closeIcon",
|
|
15
|
-
"type": "VueNode",
|
|
16
|
-
"default": "-",
|
|
17
|
-
"description": "Custom close icon. Setting to `null` or `false` hides the close button",
|
|
18
|
-
"descriptionZh": "自定义关闭按钮。设置为 `null` 或 `false` 时隐藏关闭按钮"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"name": "color",
|
|
22
|
-
"type": "string",
|
|
23
|
-
"default": "-",
|
|
24
|
-
"description": "Color of the Tag",
|
|
25
|
-
"descriptionZh": "标签色"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "classes",
|
|
29
|
-
"type": "TagClassNamesType",
|
|
30
|
-
"default": "-",
|
|
31
|
-
"description": "Customize class for each semantic structure inside the component. Supports object or function",
|
|
32
|
-
"descriptionZh": "用于自定义组件内部各语义化结构的 class,支持对象或函数"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"name": "disabled",
|
|
36
|
-
"type": "boolean",
|
|
37
|
-
"default": "false",
|
|
38
|
-
"description": "Whether the tag is disabled",
|
|
39
|
-
"descriptionZh": "是否禁用标签"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "href",
|
|
43
|
-
"type": "string",
|
|
44
|
-
"default": "-",
|
|
45
|
-
"description": "The address to jump when clicking, when specified the tag will be rendered as `<a>` tag",
|
|
46
|
-
"descriptionZh": "点击跳转的地址,指定此属性 tag 组件会渲染成 `<a>` 标签"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"name": "icon",
|
|
50
|
-
"type": "VueNode",
|
|
51
|
-
"default": "-",
|
|
52
|
-
"description": "Set the icon of tag",
|
|
53
|
-
"descriptionZh": "设置图标"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "styles",
|
|
57
|
-
"type": "TagStylesType",
|
|
58
|
-
"default": "-",
|
|
59
|
-
"description": "Customize inline style for each semantic structure inside the component. Supports object or function",
|
|
60
|
-
"descriptionZh": "用于自定义组件内部各语义化结构的行内 style,支持对象或函数"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "target",
|
|
64
|
-
"type": "string",
|
|
65
|
-
"default": "-",
|
|
66
|
-
"description": "Same as target attribute of `<a>`, works when href is specified",
|
|
67
|
-
"descriptionZh": "相当于 `<a>` 标签的 target 属性,href 存在时生效"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"name": "variant",
|
|
71
|
-
"type": "`filled` \\| `solid` \\| `outlined`",
|
|
72
|
-
"default": "`filled`",
|
|
73
|
-
"description": "Variant of the tag",
|
|
74
|
-
"descriptionZh": "标签变体"
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
"events": [
|
|
78
|
-
{
|
|
79
|
-
"name": "close",
|
|
80
|
-
"type": "(e: MouseEvent) => void",
|
|
81
|
-
"default": "",
|
|
82
|
-
"description": "Callback executed when tag is closed (can be prevented by `e.preventDefault()`)",
|
|
83
|
-
"descriptionZh": "关闭时的回调(可通过 `e.preventDefault()` 来阻止默认行为)"
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
"slots": [
|
|
87
|
-
{
|
|
88
|
-
"name": "closeIcon",
|
|
89
|
-
"type": "() => VueNode",
|
|
90
|
-
"default": "",
|
|
91
|
-
"description": "Custom close icon. Setting to `null` or `false` hides the close button",
|
|
92
|
-
"descriptionZh": "自定义关闭按钮。设置为 `null` 或 `false` 时隐藏关闭按钮"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "icon",
|
|
96
|
-
"type": "() => VueNode",
|
|
97
|
-
"default": "",
|
|
98
|
-
"description": "Set the icon of tag",
|
|
99
|
-
"descriptionZh": "设置图标"
|
|
100
|
-
}
|
|
101
|
-
],
|
|
102
|
-
"methods": [],
|
|
103
|
-
"subComponentProps": {
|
|
104
|
-
"CheckableTag": {
|
|
105
|
-
"properties": [
|
|
106
|
-
{
|
|
107
|
-
"name": "checked",
|
|
108
|
-
"type": "boolean",
|
|
109
|
-
"default": "false",
|
|
110
|
-
"description": "Checked status of Tag. This is a controlled component",
|
|
111
|
-
"descriptionZh": ""
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"name": "icon",
|
|
115
|
-
"type": "VueNode",
|
|
116
|
-
"default": "-",
|
|
117
|
-
"description": "Set the icon of tag",
|
|
118
|
-
"descriptionZh": ""
|
|
119
|
-
}
|
|
120
|
-
],
|
|
121
|
-
"events": [
|
|
122
|
-
{
|
|
123
|
-
"name": "change",
|
|
124
|
-
"type": "(checked: boolean) => void",
|
|
125
|
-
"default": "",
|
|
126
|
-
"description": "Callback executed when Tag is checked/unchecked",
|
|
127
|
-
"descriptionZh": ""
|
|
128
|
-
}
|
|
129
|
-
],
|
|
130
|
-
"slots": [],
|
|
131
|
-
"methods": []
|
|
132
|
-
},
|
|
133
|
-
"CheckableTagGroup": {
|
|
134
|
-
"properties": [
|
|
135
|
-
{
|
|
136
|
-
"name": "classes",
|
|
137
|
-
"type": "Record<SemanticDOM, string>",
|
|
138
|
-
"default": "-",
|
|
139
|
-
"description": "Customize class for each semantic structure inside the component. Supports object or function",
|
|
140
|
-
"descriptionZh": ""
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"name": "defaultValue",
|
|
144
|
-
"type": "string \\| number \\| Array<string \\| number> \\| null",
|
|
145
|
-
"default": "-",
|
|
146
|
-
"description": "Initial value",
|
|
147
|
-
"descriptionZh": ""
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"name": "disabled",
|
|
151
|
-
"type": "boolean",
|
|
152
|
-
"default": "false",
|
|
153
|
-
"description": "Disable check/uncheck",
|
|
154
|
-
"descriptionZh": ""
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"name": "multiple",
|
|
158
|
-
"type": "boolean",
|
|
159
|
-
"default": "false",
|
|
160
|
-
"description": "Multiple select mode",
|
|
161
|
-
"descriptionZh": ""
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"name": "options",
|
|
165
|
-
"type": "Array<{ label: VueNode; value: string \\| number } \\| string \\| number>",
|
|
166
|
-
"default": "-",
|
|
167
|
-
"description": "Option list",
|
|
168
|
-
"descriptionZh": ""
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"name": "styles",
|
|
172
|
-
"type": "Record<SemanticDOM, CSSProperties>",
|
|
173
|
-
"default": "-",
|
|
174
|
-
"description": "Customize inline style for each semantic structure inside the component. Supports object or function",
|
|
175
|
-
"descriptionZh": ""
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"name": "value",
|
|
179
|
-
"type": "string \\| number \\| Array<string \\| number> \\| null",
|
|
180
|
-
"default": "-",
|
|
181
|
-
"description": "Value of checked tag(s), support `v-model:value`",
|
|
182
|
-
"descriptionZh": ""
|
|
183
|
-
}
|
|
184
|
-
],
|
|
185
|
-
"events": [
|
|
186
|
-
{
|
|
187
|
-
"name": "change",
|
|
188
|
-
"type": "(value: string \\| number \\| Array<string \\| number> \\| null) => void",
|
|
189
|
-
"default": "",
|
|
190
|
-
"description": "Callback when Tag is checked/unchecked",
|
|
191
|
-
"descriptionZh": ""
|
|
192
|
-
}
|
|
193
|
-
],
|
|
194
|
-
"slots": [],
|
|
195
|
-
"methods": []
|
|
196
|
-
},
|
|
197
|
-
"TagCheckableTag": {
|
|
198
|
-
"properties": [
|
|
199
|
-
{
|
|
200
|
-
"name": "checked",
|
|
201
|
-
"type": "boolean",
|
|
202
|
-
"default": "false",
|
|
203
|
-
"description": "",
|
|
204
|
-
"descriptionZh": "设置标签的选中状态。该组件为完全受控组件"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"name": "icon",
|
|
208
|
-
"type": "VueNode",
|
|
209
|
-
"default": "-",
|
|
210
|
-
"description": "",
|
|
211
|
-
"descriptionZh": "设置图标"
|
|
212
|
-
}
|
|
213
|
-
],
|
|
214
|
-
"events": [
|
|
215
|
-
{
|
|
216
|
-
"name": "change",
|
|
217
|
-
"type": "(checked: boolean) => void",
|
|
218
|
-
"default": "",
|
|
219
|
-
"description": "",
|
|
220
|
-
"descriptionZh": "点击标签时触发的回调"
|
|
221
|
-
}
|
|
222
|
-
],
|
|
223
|
-
"slots": [],
|
|
224
|
-
"methods": []
|
|
225
|
-
},
|
|
226
|
-
"TagCheckableTagGroup": {
|
|
227
|
-
"properties": [
|
|
228
|
-
{
|
|
229
|
-
"name": "classes",
|
|
230
|
-
"type": "Record<SemanticDOM, string>",
|
|
231
|
-
"default": "-",
|
|
232
|
-
"description": "",
|
|
233
|
-
"descriptionZh": "用于自定义组件内部各语义化结构的 class,支持对象或函数"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"name": "defaultValue",
|
|
237
|
-
"type": "string \\| number \\| Array<string \\| number> \\| null",
|
|
238
|
-
"default": "-",
|
|
239
|
-
"description": "",
|
|
240
|
-
"descriptionZh": "初始选中值"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"name": "disabled",
|
|
244
|
-
"type": "boolean",
|
|
245
|
-
"default": "false",
|
|
246
|
-
"description": "",
|
|
247
|
-
"descriptionZh": "禁用选中"
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"name": "multiple",
|
|
251
|
-
"type": "boolean",
|
|
252
|
-
"default": "false",
|
|
253
|
-
"description": "",
|
|
254
|
-
"descriptionZh": "多选模式"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"name": "options",
|
|
258
|
-
"type": "Array<{ label: VueNode; value: string \\| number } \\| string \\| number>",
|
|
259
|
-
"default": "-",
|
|
260
|
-
"description": "",
|
|
261
|
-
"descriptionZh": "选项列表"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"name": "styles",
|
|
265
|
-
"type": "Record<SemanticDOM, CSSProperties>",
|
|
266
|
-
"default": "-",
|
|
267
|
-
"description": "",
|
|
268
|
-
"descriptionZh": "用于自定义组件内部各语义化结构的行内 style,支持对象或函数"
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
"name": "value",
|
|
272
|
-
"type": "string \\| number \\| Array<string \\| number> \\| null",
|
|
273
|
-
"default": "-",
|
|
274
|
-
"description": "",
|
|
275
|
-
"descriptionZh": "选中值,支持 `v-model:value`"
|
|
276
|
-
}
|
|
277
|
-
],
|
|
278
|
-
"events": [
|
|
279
|
-
{
|
|
280
|
-
"name": "change",
|
|
281
|
-
"type": "(value: string \\| number \\| Array<string \\| number> \\| null) => void",
|
|
282
|
-
"default": "",
|
|
283
|
-
"description": "",
|
|
284
|
-
"descriptionZh": "点击标签时触发的回调"
|
|
285
|
-
}
|
|
286
|
-
],
|
|
287
|
-
"slots": [],
|
|
288
|
-
"methods": []
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
"commonProps": [
|
|
292
|
-
{
|
|
293
|
-
"name": "style",
|
|
294
|
-
"type": "CSSProperties",
|
|
295
|
-
"default": "-",
|
|
296
|
-
"description": "The additional style",
|
|
297
|
-
"descriptionZh": "自定义样式"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"name": "class",
|
|
301
|
-
"type": "string",
|
|
302
|
-
"default": "-",
|
|
303
|
-
"description": "The additional css class",
|
|
304
|
-
"descriptionZh": "自定义类名"
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"name": "rootClass",
|
|
308
|
-
"type": "string",
|
|
309
|
-
"default": "-",
|
|
310
|
-
"description": "ClassName on the root element",
|
|
311
|
-
"descriptionZh": "添加在组件最外层的 className"
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"name": "autoFocus",
|
|
315
|
-
"type": "boolean",
|
|
316
|
-
"default": "false",
|
|
317
|
-
"description": "Auto focus when component mounted, only effective for focusable elements like forms, links, etc.",
|
|
318
|
-
"descriptionZh": "自动获取焦点,仅对表单类、链接、交互容器等可聚焦元素生效"
|
|
319
|
-
}
|
|
320
|
-
]
|
|
321
|
-
}
|