king-design-analyzer 1.1.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/affix.json +175 -175
- package/components/az.json +83 -83
- package/components/badge.json +161 -161
- package/components/billtypes.json +87 -87
- package/components/breadcrumb.json +217 -217
- package/components/button.json +5 -5
- package/components/carousel.json +193 -193
- package/components/cascader.json +358 -358
- package/components/checkbox.json +293 -293
- package/components/collapse.json +342 -342
- package/components/copy.json +217 -217
- package/components/datepicker.json +513 -513
- package/components/descriptions.json +298 -298
- package/components/dialog.json +448 -448
- package/components/drawer.json +559 -559
- package/components/dropdown.json +385 -385
- package/components/editable.json +324 -324
- package/components/form.json +623 -623
- package/components/grid.json +354 -354
- package/components/input.json +793 -793
- package/components/menu.json +459 -459
- package/components/pagination.json +431 -431
- package/components/popover.json +435 -435
- package/components/region.json +110 -110
- package/components/select.json +667 -667
- package/components/spinner.json +429 -429
- package/components/steps.json +276 -276
- package/components/table.json +991 -990
- package/components/tablecolumnid.json +199 -199
- package/components/tabs.json +338 -338
- package/components/tag.json +465 -465
- package/components/tip.json +297 -297
- package/components/tooltip.json +393 -393
- package/components/tour.json +374 -374
- package/components/transfer.json +412 -412
- package/components/tree.json +469 -469
- package/components/treeselect.json +470 -470
- package/components/upload.json +474 -474
- package/components/virtuallist.json +175 -175
- package/dist/ast/index.js +3 -3
- package/dist/ast/index.mjs +1 -1
- package/dist/{chunk-RB7FS3FG.js → chunk-6ZHVWMNH.js} +2 -2
- package/dist/{chunk-EZD2XOI2.mjs → chunk-74XF3JB4.mjs} +1 -1
- package/dist/{chunk-KC775NWI.js → chunk-CEPXZKU4.js} +6 -2
- package/dist/{chunk-FZOV65VR.mjs → chunk-RQBLMKWL.mjs} +5 -2
- package/dist/docs/index.d.mts +28 -0
- package/dist/docs/index.d.ts +28 -0
- package/dist/docs/index.js +66 -0
- package/dist/docs/index.mjs +39 -0
- package/dist/full/index.js +4 -4
- package/dist/full/index.mjs +2 -2
- package/dist/index.js +6 -6
- package/dist/index.mjs +2 -2
- package/dist/metadata/index.d.mts +77 -0
- package/dist/metadata/index.d.ts +77 -0
- package/dist/metadata/index.js +67 -0
- package/dist/metadata/index.mjs +40 -0
- package/docs_for_llm/affix.doc.md +98 -0
- package/docs_for_llm/az.doc.md +33 -0
- package/docs_for_llm/badge.doc.md +108 -0
- package/docs_for_llm/billtypes.doc.md +33 -0
- package/docs_for_llm/breadcrumb.doc.md +213 -0
- package/docs_for_llm/button.doc.md +180 -0
- package/docs_for_llm/card.doc.md +227 -0
- package/docs_for_llm/cardcontent.doc.md +32 -0
- package/docs_for_llm/carousel.doc.md +111 -0
- package/docs_for_llm/cascader.doc.md +175 -0
- package/docs_for_llm/checkbox.doc.md +206 -0
- package/docs_for_llm/code.doc.md +201 -0
- package/docs_for_llm/collapse.doc.md +267 -0
- package/docs_for_llm/copy.doc.md +193 -0
- package/docs_for_llm/datepicker.doc.md +256 -0
- package/docs_for_llm/descriptions.doc.md +229 -0
- package/docs_for_llm/dialog.doc.md +245 -0
- package/docs_for_llm/divider.doc.md +114 -0
- package/docs_for_llm/drawer.doc.md +290 -0
- package/docs_for_llm/dropdown.doc.md +292 -0
- package/docs_for_llm/editable.doc.md +222 -0
- package/docs_for_llm/ellipsis.doc.md +165 -0
- package/docs_for_llm/form.doc.md +334 -0
- package/docs_for_llm/grid.doc.md +176 -0
- package/docs_for_llm/icon.doc.md +197 -0
- package/docs_for_llm/input.doc.md +328 -0
- package/docs_for_llm/layoutcontent.doc.md +43 -0
- package/docs_for_llm/menu.doc.md +338 -0
- package/docs_for_llm/message.doc.md +195 -0
- package/docs_for_llm/pagination.doc.md +248 -0
- package/docs_for_llm/paginationplus.doc.md +32 -0
- package/docs_for_llm/popover.doc.md +227 -0
- package/docs_for_llm/progress.doc.md +194 -0
- package/docs_for_llm/protable.doc.md +66 -0
- package/docs_for_llm/radio.doc.md +191 -0
- package/docs_for_llm/region.doc.md +40 -0
- package/docs_for_llm/select.doc.md +316 -0
- package/docs_for_llm/slider.doc.md +214 -0
- package/docs_for_llm/spin.doc.md +179 -0
- package/docs_for_llm/spinner.doc.md +232 -0
- package/docs_for_llm/status.doc.md +22 -0
- package/docs_for_llm/steps.doc.md +204 -0
- package/docs_for_llm/switch.doc.md +213 -0
- package/docs_for_llm/table.doc.md +280 -0
- package/docs_for_llm/tablecolumnid.doc.md +36 -0
- package/docs_for_llm/tabs.doc.md +227 -0
- package/docs_for_llm/tag.doc.md +265 -0
- package/docs_for_llm/timepicker.doc.md +206 -0
- package/docs_for_llm/tip.doc.md +158 -0
- package/docs_for_llm/tooltip.doc.md +206 -0
- package/docs_for_llm/tour.doc.md +279 -0
- package/docs_for_llm/transfer.doc.md +255 -0
- package/docs_for_llm/tree.doc.md +304 -0
- package/docs_for_llm/treeselect.doc.md +296 -0
- package/docs_for_llm/upload.doc.md +260 -0
- package/docs_for_llm/virtuallist.doc.md +223 -0
- package/package.json +14 -2
package/components/affix.json
CHANGED
|
@@ -1,178 +1,178 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
"id": "affix",
|
|
3
|
+
"name": "Affix",
|
|
4
|
+
"displayName": "图钉",
|
|
5
|
+
"category": "navigation",
|
|
6
|
+
"description": "将页面元素固定在可视窗口的某个位置。常用于侧边菜单、侧边导航等。",
|
|
7
|
+
"importStatement": "import { Affix } from '@king-design/vue';",
|
|
8
|
+
"props": [
|
|
9
|
+
{
|
|
10
|
+
"name": "top",
|
|
11
|
+
"description": "距离窗口顶部的偏移量,设置为 undefined 则不生效",
|
|
12
|
+
"type": {
|
|
13
|
+
"raw": "number",
|
|
14
|
+
"kind": "number"
|
|
15
|
+
},
|
|
16
|
+
"required": false,
|
|
17
|
+
"default": "undefined",
|
|
18
|
+
"usageExample": "<Affix :top=\"100\"></Affix>"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "bottom",
|
|
22
|
+
"description": "距离窗口底部的偏移量,设置为 undefined 则不生效",
|
|
23
|
+
"type": {
|
|
24
|
+
"raw": "number",
|
|
25
|
+
"kind": "number"
|
|
26
|
+
},
|
|
27
|
+
"required": false,
|
|
28
|
+
"default": "undefined",
|
|
29
|
+
"usageExample": "<Affix :bottom=\"50\"></Affix>"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "shouldFix",
|
|
33
|
+
"description": "自定义是否需要固定的函数,返回 boolean",
|
|
34
|
+
"type": {
|
|
35
|
+
"raw": "Function",
|
|
36
|
+
"kind": "function"
|
|
37
|
+
},
|
|
38
|
+
"required": false,
|
|
39
|
+
"default": "undefined",
|
|
40
|
+
"usageExample": "<Affix :shouldFix=\"checkFix\"></Affix>"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "exclude",
|
|
44
|
+
"description": "自定义排除固定的函数,返回 boolean 表示不固定",
|
|
45
|
+
"type": {
|
|
46
|
+
"raw": "Function",
|
|
47
|
+
"kind": "function"
|
|
48
|
+
},
|
|
49
|
+
"required": false,
|
|
50
|
+
"default": "undefined",
|
|
51
|
+
"usageExample": "<Affix :exclude=\"checkExclude\"></Affix>"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "disabled",
|
|
55
|
+
"description": "是否禁用固定功能",
|
|
56
|
+
"type": {
|
|
57
|
+
"raw": "boolean",
|
|
58
|
+
"kind": "boolean"
|
|
59
|
+
},
|
|
60
|
+
"required": false,
|
|
61
|
+
"default": "false",
|
|
62
|
+
"usageExample": "<Affix disabled></Affix>"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"events": [
|
|
66
|
+
{
|
|
67
|
+
"name": "change",
|
|
68
|
+
"description": "固定状态改变时触发",
|
|
69
|
+
"params": [
|
|
9
70
|
{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"raw": "number",
|
|
14
|
-
"kind": "number"
|
|
15
|
-
},
|
|
16
|
-
"required": false,
|
|
17
|
-
"default": "undefined",
|
|
18
|
-
"usageExample": "<Affix :top=\"100\">"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"name": "bottom",
|
|
22
|
-
"description": "距离窗口底部的偏移量,设置为 undefined 则不生效",
|
|
23
|
-
"type": {
|
|
24
|
-
"raw": "number",
|
|
25
|
-
"kind": "number"
|
|
26
|
-
},
|
|
27
|
-
"required": false,
|
|
28
|
-
"default": "undefined",
|
|
29
|
-
"usageExample": "<Affix :bottom=\"50\">"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "shouldFix",
|
|
33
|
-
"description": "自定义是否需要固定的函数,返回 boolean",
|
|
34
|
-
"type": {
|
|
35
|
-
"raw": "Function",
|
|
36
|
-
"kind": "function"
|
|
37
|
-
},
|
|
38
|
-
"required": false,
|
|
39
|
-
"default": "undefined",
|
|
40
|
-
"usageExample": "<Affix :shouldFix=\"checkFix\">"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "exclude",
|
|
44
|
-
"description": "自定义排除固定的函数,返回 boolean 表示不固定",
|
|
45
|
-
"type": {
|
|
46
|
-
"raw": "Function",
|
|
47
|
-
"kind": "function"
|
|
48
|
-
},
|
|
49
|
-
"required": false,
|
|
50
|
-
"default": "undefined",
|
|
51
|
-
"usageExample": "<Affix :exclude=\"checkExclude\">"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "disabled",
|
|
55
|
-
"description": "是否禁用固定功能",
|
|
56
|
-
"type": {
|
|
57
|
-
"raw": "boolean",
|
|
58
|
-
"kind": "boolean"
|
|
59
|
-
},
|
|
60
|
-
"required": false,
|
|
61
|
-
"default": "false",
|
|
62
|
-
"usageExample": "<Affix disabled>"
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"events": [
|
|
66
|
-
{
|
|
67
|
-
"name": "change",
|
|
68
|
-
"description": "固定状态改变时触发",
|
|
69
|
-
"params": [
|
|
70
|
-
{
|
|
71
|
-
"name": "isFixed",
|
|
72
|
-
"type": "boolean",
|
|
73
|
-
"description": "当前是否处于固定状态"
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"usageExample": "<Affix @change=\"handleChange\">"
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"methods": [],
|
|
80
|
-
"slots": [
|
|
81
|
-
{
|
|
82
|
-
"name": "default",
|
|
83
|
-
"description": "需要被固定的元素",
|
|
84
|
-
"vueTemplate": "#default",
|
|
85
|
-
"usageExample": "<Affix><Button>Fixed Button</Button></Affix>"
|
|
86
|
-
}
|
|
87
|
-
],
|
|
88
|
-
"examples": [
|
|
89
|
-
{
|
|
90
|
-
"id": "affix_top",
|
|
91
|
-
"title": "固定在顶部",
|
|
92
|
-
"description": "设置 distance-top",
|
|
93
|
-
"difficulty": "easy",
|
|
94
|
-
"code": "<script setup lang=\"ts\">\nimport { Affix, Button } from '@king-design/vue';\n</script>\n<template>\n <Affix :top=\"10\">\n <Button type=\"primary\">距离顶部 10px 固定</Button>\n </Affix>\n</template>",
|
|
95
|
-
"tags": [
|
|
96
|
-
"top",
|
|
97
|
-
"basic"
|
|
98
|
-
],
|
|
99
|
-
"usedProps": [
|
|
100
|
-
"top"
|
|
101
|
-
],
|
|
102
|
-
"usedEvents": [],
|
|
103
|
-
"usedSlots": [
|
|
104
|
-
"default"
|
|
105
|
-
],
|
|
106
|
-
"usedMethods": [],
|
|
107
|
-
"scenario": "将导航或工具栏固定在页面顶部"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"id": "affix_bottom",
|
|
111
|
-
"title": "固定在底部",
|
|
112
|
-
"description": "设置 distance-bottom",
|
|
113
|
-
"difficulty": "easy",
|
|
114
|
-
"code": "<script setup lang=\"ts\">\nimport { Affix, Button } from '@king-design/vue';\n</script>\n<template>\n <Affix :bottom=\"10\">\n <Button type=\"primary\">距离底部 10px 固定</Button>\n </Affix>\n</template>",
|
|
115
|
-
"tags": [
|
|
116
|
-
"bottom",
|
|
117
|
-
"basic"
|
|
118
|
-
],
|
|
119
|
-
"usedProps": [
|
|
120
|
-
"bottom"
|
|
121
|
-
],
|
|
122
|
-
"usedEvents": [],
|
|
123
|
-
"usedSlots": [
|
|
124
|
-
"default"
|
|
125
|
-
],
|
|
126
|
-
"usedMethods": [],
|
|
127
|
-
"scenario": "将帮助按钮或操作栏固定在页面底部"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"id": "affix_change",
|
|
131
|
-
"title": "监听状态改变",
|
|
132
|
-
"description": "监听 change 事件获取固定状态",
|
|
133
|
-
"difficulty": "medium",
|
|
134
|
-
"code": "<script setup lang=\"ts\">\nimport { Affix, Button } from '@king-design/vue';\n\nconst onChange = (isFixed: boolean) => {\n console.log('Fixed state:', isFixed);\n};\n</script>\n<template>\n <Affix :top=\"100\" @change=\"onChange\">\n <Button>滚动页面触发固定</Button>\n </Affix>\n</template>",
|
|
135
|
-
"tags": [
|
|
136
|
-
"event",
|
|
137
|
-
"change"
|
|
138
|
-
],
|
|
139
|
-
"usedProps": [
|
|
140
|
-
"top"
|
|
141
|
-
],
|
|
142
|
-
"usedEvents": [
|
|
143
|
-
"change"
|
|
144
|
-
],
|
|
145
|
-
"usedSlots": [
|
|
146
|
-
"default"
|
|
147
|
-
],
|
|
148
|
-
"usedMethods": [],
|
|
149
|
-
"scenario": "根据固定状态改变样式"
|
|
150
|
-
}
|
|
151
|
-
],
|
|
152
|
-
"commonMistakes": [
|
|
153
|
-
{
|
|
154
|
-
"id": "affix_container_scroll",
|
|
155
|
-
"description": "父容器滚动问题",
|
|
156
|
-
"wrongCode": "<div style=\"overflow: auto; height: 200px;\">\n <Affix :top=\"10\">...</Affix>\n</div>",
|
|
157
|
-
"correctCode": "<!-- Affix 默认基于 window 滚动,如果需要在特定容器内滚动固定,Affix实现可能不支持或需要特殊配置,通常 Affix基于 window -->",
|
|
158
|
-
"explanation": "Affix 一般是基于 window 滚动的,如果放在有 overflow 滚动的这容器内,可能 won't work expectedly。目前组件文档未明确支持 target 容器,需注意。",
|
|
159
|
-
"relatedProps": []
|
|
71
|
+
"name": "isFixed",
|
|
72
|
+
"type": "boolean",
|
|
73
|
+
"description": "当前是否处于固定状态"
|
|
160
74
|
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
75
|
+
],
|
|
76
|
+
"usageExample": "<Affix @change=\"handleChange\"></Affix>"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"methods": [],
|
|
80
|
+
"slots": [
|
|
81
|
+
{
|
|
82
|
+
"name": "default",
|
|
83
|
+
"description": "需要被固定的元素",
|
|
84
|
+
"vueTemplate": "#default",
|
|
85
|
+
"usageExample": "<Affix><Button>Fixed Button</Button></Affix>"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"examples": [
|
|
89
|
+
{
|
|
90
|
+
"id": "affix_top",
|
|
91
|
+
"title": "固定在顶部",
|
|
92
|
+
"description": "设置 distance-top",
|
|
93
|
+
"difficulty": "easy",
|
|
94
|
+
"code": "<script setup lang=\"ts\">\nimport { Affix, Button } from '@king-design/vue';\n</script>\n<template>\n <Affix :top=\"10\">\n <Button type=\"primary\">距离顶部 10px 固定</Button>\n </Affix>\n</template>",
|
|
95
|
+
"tags": [
|
|
96
|
+
"top",
|
|
97
|
+
"basic"
|
|
98
|
+
],
|
|
99
|
+
"usedProps": [
|
|
100
|
+
"top"
|
|
101
|
+
],
|
|
102
|
+
"usedEvents": [],
|
|
103
|
+
"usedSlots": [
|
|
104
|
+
"default"
|
|
105
|
+
],
|
|
106
|
+
"usedMethods": [],
|
|
107
|
+
"scenario": "将导航或工具栏固定在页面顶部"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "affix_bottom",
|
|
111
|
+
"title": "固定在底部",
|
|
112
|
+
"description": "设置 distance-bottom",
|
|
113
|
+
"difficulty": "easy",
|
|
114
|
+
"code": "<script setup lang=\"ts\">\nimport { Affix, Button } from '@king-design/vue';\n</script>\n<template>\n <Affix :bottom=\"10\">\n <Button type=\"primary\">距离底部 10px 固定</Button>\n </Affix>\n</template>",
|
|
115
|
+
"tags": [
|
|
116
|
+
"bottom",
|
|
117
|
+
"basic"
|
|
118
|
+
],
|
|
119
|
+
"usedProps": [
|
|
120
|
+
"bottom"
|
|
121
|
+
],
|
|
122
|
+
"usedEvents": [],
|
|
123
|
+
"usedSlots": [
|
|
124
|
+
"default"
|
|
125
|
+
],
|
|
126
|
+
"usedMethods": [],
|
|
127
|
+
"scenario": "将帮助按钮或操作栏固定在页面底部"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"id": "affix_change",
|
|
131
|
+
"title": "监听状态改变",
|
|
132
|
+
"description": "监听 change 事件获取固定状态",
|
|
133
|
+
"difficulty": "medium",
|
|
134
|
+
"code": "<script setup lang=\"ts\">\nimport { Affix, Button } from '@king-design/vue';\n\nconst onChange = (isFixed: boolean) => {\n console.log('Fixed state:', isFixed);\n};\n</script>\n<template>\n <Affix :top=\"100\" @change=\"onChange\">\n <Button>滚动页面触发固定</Button>\n </Affix>\n</template>",
|
|
135
|
+
"tags": [
|
|
136
|
+
"event",
|
|
137
|
+
"change"
|
|
138
|
+
],
|
|
139
|
+
"usedProps": [
|
|
140
|
+
"top"
|
|
141
|
+
],
|
|
142
|
+
"usedEvents": [
|
|
143
|
+
"change"
|
|
144
|
+
],
|
|
145
|
+
"usedSlots": [
|
|
146
|
+
"default"
|
|
147
|
+
],
|
|
148
|
+
"usedMethods": [],
|
|
149
|
+
"scenario": "根据固定状态改变样式"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"commonMistakes": [
|
|
153
|
+
{
|
|
154
|
+
"id": "affix_container_scroll",
|
|
155
|
+
"description": "父容器滚动问题",
|
|
156
|
+
"wrongCode": "<div style=\"overflow: auto; height: 200px;\">\n <Affix :top=\"10\">...</Affix>\n</div>",
|
|
157
|
+
"correctCode": "<!-- Affix 默认基于 window 滚动,如果需要在特定容器内滚动固定,Affix实现可能不支持或需要特殊配置,通常 Affix基于 window -->",
|
|
158
|
+
"explanation": "Affix 一般是基于 window 滚动的,如果放在有 overflow 滚动的这容器内,可能 won't work expectedly。目前组件文档未明确支持 target 容器,需注意。",
|
|
159
|
+
"relatedProps": []
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"searchKeywords": [
|
|
163
|
+
"图钉",
|
|
164
|
+
"affix",
|
|
165
|
+
"fix",
|
|
166
|
+
"sticky",
|
|
167
|
+
"固定",
|
|
168
|
+
"顶部",
|
|
169
|
+
"底部"
|
|
170
|
+
],
|
|
171
|
+
"useCases": [
|
|
172
|
+
"侧边导航栏固定",
|
|
173
|
+
"顶部工具栏固定",
|
|
174
|
+
"底部操作栏固定",
|
|
175
|
+
"悬浮按钮"
|
|
176
|
+
],
|
|
177
|
+
"relatedComponents": []
|
|
178
|
+
}
|
package/components/az.json
CHANGED
|
@@ -1,86 +1,86 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
"id": "az",
|
|
3
|
+
"name": "AZ",
|
|
4
|
+
"displayName": "可用区选择",
|
|
5
|
+
"category": "form",
|
|
6
|
+
"description": "可用区(Availability Zone)选择组件。",
|
|
7
|
+
"importStatement": "import { AZ } from '@ksyun-internal/versatile';",
|
|
8
|
+
"props": [
|
|
9
|
+
{
|
|
10
|
+
"name": "modelValue",
|
|
11
|
+
"description": "选中的可用区编码",
|
|
12
|
+
"type": {
|
|
13
|
+
"raw": "string",
|
|
14
|
+
"kind": "string"
|
|
15
|
+
},
|
|
16
|
+
"required": false,
|
|
17
|
+
"usageExample": "<AZ v-model=\"azCode\" />"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "regionCode",
|
|
21
|
+
"description": "所属地域编码",
|
|
22
|
+
"type": {
|
|
23
|
+
"raw": "string",
|
|
24
|
+
"kind": "string"
|
|
25
|
+
},
|
|
26
|
+
"required": false,
|
|
27
|
+
"usageExample": "<AZ regionCode=\"cn-beijing-6\" />"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "packages",
|
|
31
|
+
"description": "可用区配置列表(通常从Region组件联动获取,或通过API获取)",
|
|
32
|
+
"type": {
|
|
33
|
+
"raw": "AZ[]",
|
|
34
|
+
"kind": "array"
|
|
35
|
+
},
|
|
36
|
+
"required": false,
|
|
37
|
+
"usageExample": "<AZ :packages=\"packages\" />"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "showLearnMore",
|
|
41
|
+
"description": "是否显示了解更多",
|
|
42
|
+
"type": {
|
|
43
|
+
"raw": "boolean",
|
|
44
|
+
"kind": "boolean"
|
|
45
|
+
},
|
|
46
|
+
"required": false,
|
|
47
|
+
"default": "true"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "learnMoreUrl",
|
|
51
|
+
"description": "了解更多链接ID",
|
|
52
|
+
"type": {
|
|
53
|
+
"raw": "number",
|
|
54
|
+
"kind": "number"
|
|
55
|
+
},
|
|
56
|
+
"required": false
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"events": [
|
|
60
|
+
{
|
|
61
|
+
"name": "change",
|
|
62
|
+
"vueEventName": "update:modelValue",
|
|
63
|
+
"description": "可用区改变时触发",
|
|
64
|
+
"payload": [
|
|
9
65
|
{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"raw": "string",
|
|
14
|
-
"kind": "string"
|
|
15
|
-
},
|
|
16
|
-
"required": false,
|
|
17
|
-
"usageExample": "<AZ v-model=\"azCode\" />"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"name": "regionCode",
|
|
21
|
-
"description": "所属地域编码",
|
|
22
|
-
"type": {
|
|
23
|
-
"raw": "string",
|
|
24
|
-
"kind": "string"
|
|
25
|
-
},
|
|
26
|
-
"required": false,
|
|
27
|
-
"usageExample": "<AZ regionCode=\"cn-beijing-6\" />"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"name": "packages",
|
|
31
|
-
"description": "可用区配置列表(通常从Region组件联动获取,或通过API获取)",
|
|
32
|
-
"type": {
|
|
33
|
-
"raw": "AZ[]",
|
|
34
|
-
"kind": "array"
|
|
35
|
-
},
|
|
36
|
-
"required": false,
|
|
37
|
-
"usageExample": "<AZ :packages=\"packages\" />"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "showLearnMore",
|
|
41
|
-
"description": "是否显示了解更多",
|
|
42
|
-
"type": {
|
|
43
|
-
"raw": "boolean",
|
|
44
|
-
"kind": "boolean"
|
|
45
|
-
},
|
|
46
|
-
"required": false,
|
|
47
|
-
"default": "true"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "learnMoreUrl",
|
|
51
|
-
"description": "了解更多链接ID",
|
|
52
|
-
"type": {
|
|
53
|
-
"raw": "number",
|
|
54
|
-
"kind": "number"
|
|
55
|
-
},
|
|
56
|
-
"required": false
|
|
57
|
-
}
|
|
58
|
-
],
|
|
59
|
-
"events": [
|
|
60
|
-
{
|
|
61
|
-
"name": "change",
|
|
62
|
-
"vueEventName": "update:modelValue",
|
|
63
|
-
"description": "可用区改变时触发",
|
|
64
|
-
"payload": [
|
|
65
|
-
{
|
|
66
|
-
"name": "value",
|
|
67
|
-
"type": "string",
|
|
68
|
-
"description": "新的AZCode"
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
"usageExample": "<AZ @update:modelValue=\"v => console.log(v)\" />",
|
|
72
|
-
"handlerExample": "(val) => { console.log(val); }"
|
|
66
|
+
"name": "value",
|
|
67
|
+
"type": "string",
|
|
68
|
+
"description": "新的AZCode"
|
|
73
69
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
70
|
+
],
|
|
71
|
+
"usageExample": "<AZ @update:modelValue=\"v => console.log(v)\" /></AZ>",
|
|
72
|
+
"handlerExample": "(val) => { console.log(val); }"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"methods": [],
|
|
76
|
+
"examples": [],
|
|
77
|
+
"searchKeywords": [
|
|
78
|
+
"az",
|
|
79
|
+
"zone",
|
|
80
|
+
"可用区",
|
|
81
|
+
"机房"
|
|
82
|
+
],
|
|
83
|
+
"useCases": [
|
|
84
|
+
"购买页选择可用区"
|
|
85
|
+
]
|
|
86
|
+
}
|