@next-bricks/form 0.10.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/dist/bricks.json +94 -29
  2. package/dist/chunks/{1646.2e22b34e.js → 1646.347069fc.js} +2 -2
  3. package/dist/chunks/{1646.2e22b34e.js.map → 1646.347069fc.js.map} +1 -1
  4. package/dist/chunks/{2179.3b96e562.js → 2179.de225eab.js} +2 -2
  5. package/dist/chunks/{6205.61d1edba.js.map → 2179.de225eab.js.map} +1 -1
  6. package/dist/chunks/{3458.9dcdd5bd.js → 3458.2f4a8822.js} +2 -2
  7. package/dist/chunks/{3458.9dcdd5bd.js.map → 3458.2f4a8822.js.map} +1 -1
  8. package/dist/chunks/{3494.f3053c2d.js → 3494.b32e021c.js} +2 -2
  9. package/dist/chunks/{3494.f3053c2d.js.map → 3494.b32e021c.js.map} +1 -1
  10. package/dist/chunks/{4049.6b24a76c.js → 4049.20ecc118.js} +2 -2
  11. package/dist/chunks/{4049.6b24a76c.js.map → 4049.20ecc118.js.map} +1 -1
  12. package/dist/chunks/4131.da9663d6.js +2 -0
  13. package/dist/chunks/4131.da9663d6.js.map +1 -0
  14. package/dist/chunks/{5725.24821b6b.js → 5725.f7227cdf.js} +2 -2
  15. package/dist/chunks/{5725.24821b6b.js.map → 5725.f7227cdf.js.map} +1 -1
  16. package/dist/chunks/{6205.61d1edba.js → 6205.a473c35c.js} +2 -2
  17. package/dist/chunks/{7164.af951c22.js.map → 6205.a473c35c.js.map} +1 -1
  18. package/dist/chunks/{6473.0f2dffe6.js → 6473.f19f32d6.js} +2 -2
  19. package/dist/chunks/{6473.0f2dffe6.js.map → 6473.f19f32d6.js.map} +1 -1
  20. package/dist/chunks/{7164.af951c22.js → 7164.7de667b9.js} +2 -2
  21. package/dist/chunks/{2179.3b96e562.js.map → 7164.7de667b9.js.map} +1 -1
  22. package/dist/chunks/{7672.2ce388a3.js → 7672.9894d92e.js} +2 -2
  23. package/dist/chunks/{7672.2ce388a3.js.map → 7672.9894d92e.js.map} +1 -1
  24. package/dist/chunks/{7746.bea0a826.js → 7746.a5009cba.js} +2 -2
  25. package/dist/chunks/{7746.bea0a826.js.map → 7746.a5009cba.js.map} +1 -1
  26. package/dist/chunks/{7822.efc389c2.js → 7822.4154a218.js} +2 -2
  27. package/dist/chunks/{7822.efc389c2.js.map → 7822.4154a218.js.map} +1 -1
  28. package/dist/chunks/{8691.e0110b53.js → 8691.88d4f17c.js} +2 -2
  29. package/dist/chunks/{8691.e0110b53.js.map → 8691.88d4f17c.js.map} +1 -1
  30. package/dist/chunks/{9223.29f17ea0.js → 9223.f5fd0ea1.js} +2 -2
  31. package/dist/chunks/{9223.29f17ea0.js.map → 9223.f5fd0ea1.js.map} +1 -1
  32. package/dist/chunks/9986.bb3def3f.js +2 -0
  33. package/dist/chunks/9986.bb3def3f.js.map +1 -0
  34. package/dist/chunks/code-editor.e3690b47.js +2 -0
  35. package/dist/chunks/{code-editor.ab59db44.js.map → code-editor.e3690b47.js.map} +1 -1
  36. package/dist/chunks/eo-checkbox.c5010723.js +3 -0
  37. package/dist/chunks/eo-checkbox.c5010723.js.map +1 -0
  38. package/dist/chunks/eo-dynamic-form-item.68db88eb.js +2 -0
  39. package/dist/chunks/eo-dynamic-form-item.68db88eb.js.map +1 -0
  40. package/dist/chunks/eo-form-item.c1d92c43.js +3 -0
  41. package/dist/chunks/eo-form-item.c1d92c43.js.map +1 -0
  42. package/dist/chunks/eo-form.dfefdd7d.js +2 -0
  43. package/dist/chunks/eo-form.dfefdd7d.js.map +1 -0
  44. package/dist/chunks/eo-icon-select.821c7b62.js +3 -0
  45. package/dist/chunks/eo-icon-select.821c7b62.js.map +1 -0
  46. package/dist/chunks/eo-input.c2f5375e.js +3 -0
  47. package/dist/chunks/eo-input.c2f5375e.js.map +1 -0
  48. package/dist/chunks/eo-radio.3c54b91c.js +3 -0
  49. package/dist/chunks/eo-radio.3c54b91c.js.map +1 -0
  50. package/dist/chunks/eo-search.519fbec4.js +3 -0
  51. package/dist/chunks/eo-search.519fbec4.js.map +1 -0
  52. package/dist/chunks/eo-select.5abf2d64.js +3 -0
  53. package/dist/chunks/eo-select.5abf2d64.js.map +1 -0
  54. package/dist/chunks/eo-submit-buttons.03d2dfae.js +2 -0
  55. package/dist/chunks/eo-submit-buttons.03d2dfae.js.map +1 -0
  56. package/dist/chunks/{general-switch.52b1f463.js → eo-switch.a80fc9a7.js} +3 -3
  57. package/dist/chunks/eo-switch.a80fc9a7.js.map +1 -0
  58. package/dist/chunks/eo-textarea.7e65b425.js +3 -0
  59. package/dist/chunks/eo-textarea.7e65b425.js.map +1 -0
  60. package/dist/chunks/eo-upload-image.8c7d6541.js +3 -0
  61. package/dist/chunks/eo-upload-image.8c7d6541.js.map +1 -0
  62. package/dist/chunks/main.3c473511.js +2 -0
  63. package/dist/chunks/{main.429f5ca0.js.map → main.3c473511.js.map} +1 -1
  64. package/dist/index.07479137.js +2 -0
  65. package/dist/index.07479137.js.map +1 -0
  66. package/dist/manifest.json +64 -54
  67. package/dist/types.json +13 -13
  68. package/dist-types/dynamic-form-item/index.d.ts +1 -5
  69. package/dist-types/form-item/index.d.ts +10 -84
  70. package/dist-types/general-switch/index.d.ts +1 -1
  71. package/docs/{general-checkbox.md → eo-checkbox.md} +12 -12
  72. package/docs/{dynamic-form-item.md → eo-dynamic-form-item.md} +12 -12
  73. package/docs/{general-form.md → eo-form.md} +30 -30
  74. package/docs/{icon-select.md → eo-icon-select.md} +1 -1
  75. package/docs/{general-input.md → eo-input.md} +22 -22
  76. package/docs/{general-radio.md → eo-radio.md} +18 -18
  77. package/docs/{general-search.md → eo-search.md} +1 -1
  78. package/docs/{general-select.md → eo-select.md} +14 -14
  79. package/docs/{submit-buttons.md → eo-submit-buttons.md} +8 -8
  80. package/docs/{general-switch.md → eo-switch.md} +6 -6
  81. package/docs/{general-textarea.md → eo-textarea.md} +13 -13
  82. package/docs/{upload-image.md → eo-upload-image.md} +1 -1
  83. package/package.json +4 -4
  84. package/dist/chunks/4131.e68c1d31.js +0 -2
  85. package/dist/chunks/4131.e68c1d31.js.map +0 -1
  86. package/dist/chunks/9986.a3067e83.js +0 -2
  87. package/dist/chunks/9986.a3067e83.js.map +0 -1
  88. package/dist/chunks/code-editor.ab59db44.js +0 -2
  89. package/dist/chunks/dynamic-form-item.204dc28d.js +0 -2
  90. package/dist/chunks/dynamic-form-item.204dc28d.js.map +0 -1
  91. package/dist/chunks/general-checkbox.84f9001b.js +0 -3
  92. package/dist/chunks/general-checkbox.84f9001b.js.map +0 -1
  93. package/dist/chunks/general-form-item.cde675b2.js +0 -3
  94. package/dist/chunks/general-form-item.cde675b2.js.map +0 -1
  95. package/dist/chunks/general-form.e08ecd73.js +0 -2
  96. package/dist/chunks/general-form.e08ecd73.js.map +0 -1
  97. package/dist/chunks/general-input.bcc459ab.js +0 -3
  98. package/dist/chunks/general-input.bcc459ab.js.map +0 -1
  99. package/dist/chunks/general-radio.0162ab98.js +0 -3
  100. package/dist/chunks/general-radio.0162ab98.js.map +0 -1
  101. package/dist/chunks/general-search.a34e9638.js +0 -3
  102. package/dist/chunks/general-search.a34e9638.js.map +0 -1
  103. package/dist/chunks/general-select.f1a3569d.js +0 -3
  104. package/dist/chunks/general-select.f1a3569d.js.map +0 -1
  105. package/dist/chunks/general-switch.52b1f463.js.map +0 -1
  106. package/dist/chunks/general-textarea.d8af5d8d.js +0 -3
  107. package/dist/chunks/general-textarea.d8af5d8d.js.map +0 -1
  108. package/dist/chunks/icon-select.cdef684a.js +0 -3
  109. package/dist/chunks/icon-select.cdef684a.js.map +0 -1
  110. package/dist/chunks/main.429f5ca0.js +0 -2
  111. package/dist/chunks/submit-buttons.83395796.js +0 -2
  112. package/dist/chunks/submit-buttons.83395796.js.map +0 -1
  113. package/dist/chunks/upload-image.121f0dbb.js +0 -3
  114. package/dist/chunks/upload-image.121f0dbb.js.map +0 -1
  115. package/dist/index.6638273e.js +0 -2
  116. package/dist/index.6638273e.js.map +0 -1
  117. /package/dist/chunks/{general-checkbox.84f9001b.js.LICENSE.txt → eo-checkbox.c5010723.js.LICENSE.txt} +0 -0
  118. /package/dist/chunks/{general-form-item.cde675b2.js.LICENSE.txt → eo-form-item.c1d92c43.js.LICENSE.txt} +0 -0
  119. /package/dist/chunks/{general-input.bcc459ab.js.LICENSE.txt → eo-icon-select.821c7b62.js.LICENSE.txt} +0 -0
  120. /package/dist/chunks/{general-radio.0162ab98.js.LICENSE.txt → eo-input.c2f5375e.js.LICENSE.txt} +0 -0
  121. /package/dist/chunks/{general-search.a34e9638.js.LICENSE.txt → eo-radio.3c54b91c.js.LICENSE.txt} +0 -0
  122. /package/dist/chunks/{general-select.f1a3569d.js.LICENSE.txt → eo-search.519fbec4.js.LICENSE.txt} +0 -0
  123. /package/dist/chunks/{general-switch.52b1f463.js.LICENSE.txt → eo-select.5abf2d64.js.LICENSE.txt} +0 -0
  124. /package/dist/chunks/{general-textarea.d8af5d8d.js.LICENSE.txt → eo-switch.a80fc9a7.js.LICENSE.txt} +0 -0
  125. /package/dist/chunks/{icon-select.cdef684a.js.LICENSE.txt → eo-textarea.7e65b425.js.LICENSE.txt} +0 -0
  126. /package/dist/chunks/{upload-image.121f0dbb.js.LICENSE.txt → eo-upload-image.8c7d6541.js.LICENSE.txt} +0 -0
@@ -1,13 +1,13 @@
1
1
  动态表单构件。
2
2
 
3
3
  ```yaml preview
4
- - brick: form.dynamic-form-item
4
+ - brick: eo-dynamic-form-item
5
5
  properties:
6
6
  useBrick:
7
- - brick: form.general-input
7
+ - brick: eo-input
8
8
  properties:
9
9
  name: input
10
- - brick: form.general-select
10
+ - brick: eo-select
11
11
  properties:
12
12
  name: select
13
13
  options:
@@ -22,14 +22,14 @@
22
22
  ### Label
23
23
 
24
24
  ```yaml preview
25
- - brick: form.dynamic-form-item
25
+ - brick: eo-dynamic-form-item
26
26
  properties:
27
27
  label: Label
28
28
  useBrick:
29
- - brick: form.general-input
29
+ - brick: eo-input
30
30
  properties:
31
31
  name: input
32
- - brick: form.general-select
32
+ - brick: eo-select
33
33
  properties:
34
34
  name: select
35
35
  options:
@@ -42,7 +42,7 @@
42
42
  ### Value
43
43
 
44
44
  ```yaml preview
45
- - brick: form.dynamic-form-item
45
+ - brick: eo-dynamic-form-item
46
46
  properties:
47
47
  value:
48
48
  - input: 北京
@@ -50,10 +50,10 @@
50
50
  - input: 上海
51
51
  select: Shanghai
52
52
  useBrick:
53
- - brick: form.general-input
53
+ - brick: eo-input
54
54
  properties:
55
55
  name: input
56
- - brick: form.general-select
56
+ - brick: eo-select
57
57
  properties:
58
58
  name: select
59
59
  options:
@@ -66,14 +66,14 @@
66
66
  ### Event
67
67
 
68
68
  ```yaml preview
69
- - brick: form.dynamic-form-item
69
+ - brick: eo-dynamic-form-item
70
70
  properties:
71
71
  name: dynamicForm
72
72
  useBrick:
73
- - brick: form.general-input
73
+ - brick: eo-input
74
74
  properties:
75
75
  name: input
76
- - brick: form.general-select
76
+ - brick: eo-select
77
77
  properties:
78
78
  name: select
79
79
  options:
@@ -5,28 +5,28 @@
5
5
  ### Layout
6
6
 
7
7
  ```yaml preview
8
- - brick: form.general-form
8
+ - brick: eo-form
9
9
  properties:
10
10
  layout: inline
11
11
  slots:
12
12
  "":
13
13
  bricks:
14
- - brick: form.general-input
14
+ - brick: eo-input
15
15
  properties:
16
16
  label: input
17
- - brick: form.general-select
17
+ - brick: eo-select
18
18
  properties:
19
19
  label: select
20
- - brick: form.general-form
20
+ - brick: eo-form
21
21
  properties:
22
22
  layout: horizontal
23
23
  slots:
24
24
  "":
25
25
  bricks:
26
- - brick: form.general-input
26
+ - brick: eo-input
27
27
  properties:
28
28
  label: input
29
- - brick: form.general-select
29
+ - brick: eo-select
30
30
  properties:
31
31
  label: select
32
32
  ```
@@ -34,7 +34,7 @@
34
34
  ### Values
35
35
 
36
36
  ```yaml preview
37
- - brick: form.general-form
37
+ - brick: eo-form
38
38
  properties:
39
39
  values:
40
40
  input: This is default value
@@ -52,25 +52,25 @@
52
52
  slots:
53
53
  "":
54
54
  bricks:
55
- - brick: form.general-input
55
+ - brick: eo-input
56
56
  properties:
57
57
  label: input
58
58
  name: input
59
- - brick: form.general-select
59
+ - brick: eo-select
60
60
  properties:
61
61
  label: select
62
62
  name: select
63
63
  options:
64
64
  - Beijing
65
65
  - Shanghai
66
- - brick: form.general-radio
66
+ - brick: eo-radio
67
67
  properties:
68
68
  label: radio
69
69
  name: radio
70
70
  options:
71
71
  - Guangzhou
72
72
  - Shenzhen
73
- - brick: form.general-checkbox
73
+ - brick: eo-checkbox
74
74
  properties:
75
75
  name: checkbox
76
76
  label: checkbox
@@ -79,21 +79,21 @@
79
79
  - B
80
80
  - C
81
81
  - D
82
- - brick: form.general-textarea
82
+ - brick: eo-textarea
83
83
  properties:
84
84
  name: textarea
85
85
  label: textarea
86
86
  autoSize:
87
87
  minRows: 3
88
- - brick: form.dynamic-form-item
88
+ - brick: eo-dynamic-form-item
89
89
  properties:
90
90
  label: dynamic-form
91
91
  name: dynamicForm
92
92
  useBrick:
93
- - brick: form.general-input
93
+ - brick: eo-input
94
94
  properties:
95
95
  name: input
96
- - brick: form.general-select
96
+ - brick: eo-select
97
97
  properties:
98
98
  name: select
99
99
  options:
@@ -106,7 +106,7 @@
106
106
  ### Events
107
107
 
108
108
  ```yaml preview
109
- - brick: form.general-form
109
+ - brick: eo-form
110
110
  events:
111
111
  values.change:
112
112
  - action: console.log
@@ -121,7 +121,7 @@
121
121
  slots:
122
122
  "":
123
123
  bricks:
124
- - brick: form.general-input
124
+ - brick: eo-input
125
125
  properties:
126
126
  required: true
127
127
  name: name
@@ -132,7 +132,7 @@
132
132
  required: 一定要填写姓名哟
133
133
  max: 不能超过 6 个字符哟
134
134
  min: 最少填写 2 个字符哟
135
- - brick: form.general-select
135
+ - brick: eo-select
136
136
  properties:
137
137
  required: true
138
138
  name: sex
@@ -142,26 +142,26 @@
142
142
  value: 0
143
143
  - label: 女
144
144
  value: 1
145
- - brick: form.submit-buttons
145
+ - brick: eo-submit-buttons
146
146
  ```
147
147
 
148
148
  ### Method
149
149
 
150
150
  ```yaml preview
151
- - brick: form.general-form
151
+ - brick: eo-form
152
152
  properties:
153
153
  id: form
154
154
  slots:
155
155
  "":
156
156
  bricks:
157
- - brick: form.general-input
157
+ - brick: eo-input
158
158
  properties:
159
159
  required: true
160
160
  name: name
161
161
  label: 姓名
162
162
  max: 6
163
163
  min: 2
164
- - brick: form.general-select
164
+ - brick: eo-select
165
165
  properties:
166
166
  required: true
167
167
  name: sex
@@ -171,14 +171,14 @@
171
171
  value: 0
172
172
  - label: 女
173
173
  value: 1
174
- - brick: basic.general-button
174
+ - brick: eo-button
175
175
  properties:
176
176
  textContent: validateFields
177
177
  events:
178
178
  click:
179
179
  - target: "#form"
180
180
  method: validate
181
- - brick: basic.general-button
181
+ - brick: eo-button
182
182
  properties:
183
183
  textContent: setInitValue
184
184
  events:
@@ -188,14 +188,14 @@
188
188
  args:
189
189
  - name: Mike
190
190
  sex: 0
191
- - brick: basic.general-button
191
+ - brick: eo-button
192
192
  properties:
193
193
  textContent: resetFields
194
194
  events:
195
195
  click:
196
196
  - target: "#form"
197
197
  method: resetFields
198
- - brick: basic.general-button
198
+ - brick: eo-button
199
199
  properties:
200
200
  textContent: resetFields(name)
201
201
  events:
@@ -204,7 +204,7 @@
204
204
  method: resetFields
205
205
  args:
206
206
  - name
207
- - brick: basic.general-button
207
+ - brick: eo-button
208
208
  properties:
209
209
  textContent: getFieldsValue
210
210
  events:
@@ -214,7 +214,7 @@
214
214
  callback:
215
215
  success:
216
216
  - action: console.log
217
- - brick: basic.general-button
217
+ - brick: eo-button
218
218
  properties:
219
219
  textContent: getFieldsValue(name)
220
220
  events:
@@ -226,7 +226,7 @@
226
226
  callback:
227
227
  success:
228
228
  - action: console.log
229
- - brick: basic.general-button
229
+ - brick: eo-button
230
230
  properties:
231
231
  textContent: validateField(name)
232
232
  events:
@@ -235,7 +235,7 @@
235
235
  method: validateField
236
236
  args:
237
237
  - name
238
- - brick: basic.general-button
238
+ - brick: eo-button
239
239
  properties:
240
240
  textContent: resetValidateState
241
241
  events:
@@ -5,7 +5,7 @@
5
5
  ### Basic
6
6
 
7
7
  ```yaml preview
8
- - brick: form.icon-select
8
+ - brick: eo-icon-select
9
9
  events:
10
10
  change:
11
11
  action: console.log
@@ -1,7 +1,7 @@
1
1
  表单输入框构件。
2
2
 
3
3
  ```yaml preview
4
- - brick: form.general-input
4
+ - brick: eo-input
5
5
  ```
6
6
 
7
7
  ## Examples
@@ -9,7 +9,7 @@
9
9
  ### Label
10
10
 
11
11
  ```yaml preview
12
- - brick: form.general-input
12
+ - brick: eo-input
13
13
  properties:
14
14
  label: 输入框
15
15
  ```
@@ -17,7 +17,7 @@
17
17
  ### Value
18
18
 
19
19
  ```yaml preview
20
- - brick: form.general-input
20
+ - brick: eo-input
21
21
  properties:
22
22
  value: Default Value
23
23
  ```
@@ -25,7 +25,7 @@
25
25
  ### Disabled
26
26
 
27
27
  ```yaml preview
28
- - brick: form.general-input
28
+ - brick: eo-input
29
29
  properties:
30
30
  value: Default Value
31
31
  disabled: true
@@ -34,7 +34,7 @@
34
34
  ### Clearable
35
35
 
36
36
  ```yaml preview
37
- - brick: form.general-input
37
+ - brick: eo-input
38
38
  properties:
39
39
  value: Default Value
40
40
  clearable: true
@@ -43,7 +43,7 @@
43
43
  ### Placeholder
44
44
 
45
45
  ```yaml preview
46
- - brick: form.general-input
46
+ - brick: eo-input
47
47
  properties:
48
48
  placeholder: This is placeholder...
49
49
  ```
@@ -51,7 +51,7 @@
51
51
  ### max length
52
52
 
53
53
  ```yaml preview
54
- - brick: form.general-input
54
+ - brick: eo-input
55
55
  properties:
56
56
  placeholder: max length = 5
57
57
  maxLength: 5
@@ -60,19 +60,19 @@
60
60
  ### Type
61
61
 
62
62
  ```yaml preview
63
- - brick: form.general-input
63
+ - brick: eo-input
64
64
  properties:
65
65
  label: password
66
66
  type: password
67
- - brick: form.general-input
67
+ - brick: eo-input
68
68
  properties:
69
69
  label: date
70
70
  type: date
71
- - brick: form.general-input
71
+ - brick: eo-input
72
72
  properties:
73
73
  label: color
74
74
  type: color
75
- - brick: form.general-input
75
+ - brick: eo-input
76
76
  properties:
77
77
  label: search
78
78
  type: search
@@ -81,15 +81,15 @@
81
81
  ### Size
82
82
 
83
83
  ```yaml preview
84
- - brick: form.general-input
84
+ - brick: eo-input
85
85
  properties:
86
86
  size: large
87
87
  placeholder: large
88
- - brick: form.general-input
88
+ - brick: eo-input
89
89
  properties:
90
90
  size: medium
91
91
  placeholder: medium
92
- - brick: form.general-input
92
+ - brick: eo-input
93
93
  properties:
94
94
  size: small
95
95
  placeholder: small
@@ -98,17 +98,17 @@
98
98
  ### Input Style
99
99
 
100
100
  ```yaml preview
101
- - brick: form.general-input
101
+ - brick: eo-input
102
102
  properties:
103
103
  placeholder: "width: 180px"
104
104
  inputStyle:
105
105
  width: 180px
106
- - brick: form.general-input
106
+ - brick: eo-input
107
107
  properties:
108
108
  placeholder: "width: 250px"
109
109
  inputStyle:
110
110
  width: 250px
111
- - brick: form.general-input
111
+ - brick: eo-input
112
112
  properties:
113
113
  placeholder: "border style"
114
114
  inputStyle:
@@ -118,7 +118,7 @@
118
118
  ### Event
119
119
 
120
120
  ```yaml preview
121
- - brick: form.general-input
121
+ - brick: eo-input
122
122
  events:
123
123
  label: Event
124
124
  change:
@@ -138,24 +138,24 @@
138
138
  ### Slot
139
139
 
140
140
  ```yaml preview
141
- - brick: form.general-input
141
+ - brick: eo-input
142
142
  properties:
143
143
  placeholder: prefix slot
144
144
  slots:
145
145
  prefix:
146
146
  bricks:
147
- - brick: icons.general-icon
147
+ - brick: eo-icon
148
148
  properties:
149
149
  icon: search
150
150
  lib: antd
151
151
  theme: outlined
152
- - brick: form.general-input
152
+ - brick: eo-input
153
153
  properties:
154
154
  placeholder: suffix slot
155
155
  slots:
156
156
  suffix:
157
157
  bricks:
158
- - brick: icons.general-icon
158
+ - brick: eo-icon
159
159
  properties:
160
160
  icon: search
161
161
  lib: antd
@@ -1,7 +1,7 @@
1
1
  表单单选构件。
2
2
 
3
3
  ```yaml preview
4
- - brick: form.general-radio
4
+ - brick: eo-radio
5
5
  properties:
6
6
  options:
7
7
  - Beijing
@@ -15,7 +15,7 @@
15
15
  ### Label
16
16
 
17
17
  ```yaml preview
18
- - brick: form.general-radio
18
+ - brick: eo-radio
19
19
  properties:
20
20
  label: city
21
21
  options:
@@ -28,7 +28,7 @@
28
28
  ### Value
29
29
 
30
30
  ```yaml preview
31
- - brick: form.general-radio
31
+ - brick: eo-radio
32
32
  properties:
33
33
  options:
34
34
  - Beijing
@@ -41,7 +41,7 @@
41
41
  ### Options
42
42
 
43
43
  ```yaml preview
44
- - brick: form.general-radio
44
+ - brick: eo-radio
45
45
  properties:
46
46
  options:
47
47
  - Beijing
@@ -49,7 +49,7 @@
49
49
  - Guangzhou
50
50
  - Shenzhen
51
51
  value: Guangzhou
52
- - brick: form.general-radio
52
+ - brick: eo-radio
53
53
  properties:
54
54
  options:
55
55
  - label: Beijing
@@ -64,7 +64,7 @@
64
64
  - label: Shenzhen
65
65
  value: 3
66
66
  value: 2
67
- - brick: form.general-radio
67
+ - brick: eo-radio
68
68
  properties:
69
69
  options:
70
70
  - true
@@ -74,7 +74,7 @@
74
74
  ### Disabled
75
75
 
76
76
  ```yaml preview
77
- - brick: form.general-radio
77
+ - brick: eo-radio
78
78
  properties:
79
79
  options:
80
80
  - label: Beijing
@@ -90,7 +90,7 @@
90
90
  properties:
91
91
  style:
92
92
  height: 20px
93
- - brick: form.general-radio
93
+ - brick: eo-radio
94
94
  properties:
95
95
  disabled: true
96
96
  options:
@@ -107,7 +107,7 @@
107
107
  ### Size(Only use when type was button)
108
108
 
109
109
  ```yaml preview
110
- - brick: form.general-radio
110
+ - brick: eo-radio
111
111
  properties:
112
112
  label: large
113
113
  size: large
@@ -121,7 +121,7 @@
121
121
  properties:
122
122
  style:
123
123
  height: 20px
124
- - brick: form.general-radio
124
+ - brick: eo-radio
125
125
  properties:
126
126
  label: medium
127
127
  size: medium
@@ -135,7 +135,7 @@
135
135
  properties:
136
136
  style:
137
137
  height: 20px
138
- - brick: form.general-radio
138
+ - brick: eo-radio
139
139
  properties:
140
140
  label: small
141
141
  size: small
@@ -150,7 +150,7 @@
150
150
  ### Type
151
151
 
152
152
  ```yaml preview
153
- - brick: form.general-radio
153
+ - brick: eo-radio
154
154
  properties:
155
155
  label: Default
156
156
  type: default
@@ -160,7 +160,7 @@
160
160
  - Shanghai
161
161
  - Guangzhou
162
162
  - Shenzhen
163
- - brick: form.general-radio
163
+ - brick: eo-radio
164
164
  properties:
165
165
  label: Button
166
166
  type: button
@@ -170,7 +170,7 @@
170
170
  - Shanghai
171
171
  - Guangzhou
172
172
  - Shenzhen
173
- - brick: form.general-radio
173
+ - brick: eo-radio
174
174
  properties:
175
175
  label: Icon
176
176
  type: icon
@@ -191,7 +191,7 @@
191
191
  icon:
192
192
  icon: "area-chart"
193
193
  lib: "antd"
194
- - brick: form.general-radio
194
+ - brick: eo-radio
195
195
  properties:
196
196
  label: Icon Cricle
197
197
  type: icon-circle
@@ -212,7 +212,7 @@
212
212
  icon:
213
213
  icon: "area-chart"
214
214
  lib: "antd"
215
- - brick: form.general-radio
215
+ - brick: eo-radio
216
216
  properties:
217
217
  label: Icon Square
218
218
  type: icon-square
@@ -238,7 +238,7 @@
238
238
  ### Event
239
239
 
240
240
  ```yaml preview
241
- - brick: form.general-radio
241
+ - brick: eo-radio
242
242
  properties:
243
243
  id: option-radio
244
244
  options:
@@ -262,7 +262,7 @@
262
262
  - action: message.success
263
263
  args:
264
264
  - <% JSON.stringify(EVENT.detail) %>
265
- - brick: basic.general-button
265
+ - brick: eo-button
266
266
  properties:
267
267
  textContent: Click to Change Radio Option
268
268
  events:
@@ -5,7 +5,7 @@
5
5
  ### Basic
6
6
 
7
7
  ```yaml preview
8
- - brick: form.general-search
8
+ - brick: eo-search
9
9
  properties:
10
10
  placeholder: 请输入
11
11
  clearable: true