@next-bricks/form 1.20.2 → 1.20.3
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/dist/bricks.json +3 -3
- package/dist/chunks/{1225.6615e8d5.js → 1225.f5b3f74c.js} +3 -3
- package/dist/chunks/{1225.6615e8d5.js.map → 1225.f5b3f74c.js.map} +1 -1
- package/dist/chunks/{149.7d0de63b.js → 149.eb13332f.js} +2 -2
- package/dist/chunks/{149.7d0de63b.js.map → 149.eb13332f.js.map} +1 -1
- package/dist/chunks/948.1b39e8b1.js.map +1 -1
- package/dist/chunks/{eo-color-picker.bb717162.js → eo-color-picker.caf2282b.js} +2 -2
- package/dist/chunks/{eo-color-picker.bb717162.js.map → eo-color-picker.caf2282b.js.map} +1 -1
- package/dist/chunks/{eo-date-picker.0cefd24a.js → eo-date-picker.15ab1876.js} +2 -2
- package/dist/chunks/{eo-date-picker.0cefd24a.js.map → eo-date-picker.15ab1876.js.map} +1 -1
- package/dist/chunks/{eo-dynamic-form-item.fc1af2ba.js → eo-dynamic-form-item.3e5699b3.js} +3 -3
- package/dist/chunks/{eo-dynamic-form-item.fc1af2ba.js.map → eo-dynamic-form-item.3e5699b3.js.map} +1 -1
- package/dist/chunks/{eo-radio.cf5e14e5.js → eo-radio.0a7f3f84.js} +3 -3
- package/dist/chunks/{eo-radio.cf5e14e5.js.map → eo-radio.0a7f3f84.js.map} +1 -1
- package/dist/chunks/{eo-select.1b9a7fcc.js → eo-select.e0cdd956.js} +3 -3
- package/dist/chunks/{eo-select.1b9a7fcc.js.map → eo-select.e0cdd956.js.map} +1 -1
- package/dist/chunks/{eo-time-picker.c7274268.js → eo-time-picker.d19a514b.js} +2 -2
- package/dist/chunks/{eo-time-picker.c7274268.js.map → eo-time-picker.d19a514b.js.map} +1 -1
- package/dist/chunks/{eo-time-range-picker.e2479d35.js → eo-time-range-picker.3adc8d37.js} +2 -2
- package/dist/chunks/{eo-time-range-picker.e2479d35.js.map → eo-time-range-picker.3adc8d37.js.map} +1 -1
- package/dist/chunks/{eo-upload-file.47d9280d.js → eo-upload-file.f05df385.js} +3 -3
- package/dist/chunks/{eo-upload-file.47d9280d.js.map → eo-upload-file.f05df385.js.map} +1 -1
- package/dist/chunks/{eo-upload-image.acbec80a.js → eo-upload-image.ba7efb21.js} +3 -3
- package/dist/chunks/{eo-upload-image.acbec80a.js.map → eo-upload-image.ba7efb21.js.map} +1 -1
- package/dist/chunks/{main.020ea762.js → main.4c1e0dca.js} +2 -2
- package/dist/chunks/{main.020ea762.js.map → main.4c1e0dca.js.map} +1 -1
- package/dist/chunks/{react.a5891de7.js → react.1a68d605.js} +2 -2
- package/dist/examples.json +3 -3
- package/dist/{index.f0eea332.js → index.c9c801a3.js} +2 -2
- package/dist/{index.f0eea332.js.map → index.c9c801a3.js.map} +1 -1
- package/dist/manifest.json +145 -145
- package/dist/types.json +415 -415
- package/package.json +2 -2
- /package/dist/chunks/{1225.6615e8d5.js.LICENSE.txt → 1225.f5b3f74c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-dynamic-form-item.fc1af2ba.js.LICENSE.txt → eo-dynamic-form-item.3e5699b3.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-radio.cf5e14e5.js.LICENSE.txt → eo-radio.0a7f3f84.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-select.1b9a7fcc.js.LICENSE.txt → eo-select.e0cdd956.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-file.47d9280d.js.LICENSE.txt → eo-upload-file.f05df385.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-image.acbec80a.js.LICENSE.txt → eo-upload-image.ba7efb21.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{react.a5891de7.js.LICENSE.txt → react.1a68d605.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -111,6 +111,151 @@
|
|
|
111
111
|
"description": "通用多行文本输入框构件",
|
|
112
112
|
"category": "form-input-basic"
|
|
113
113
|
},
|
|
114
|
+
{
|
|
115
|
+
"name": "eo-form",
|
|
116
|
+
"alias": [
|
|
117
|
+
"form.general-form"
|
|
118
|
+
],
|
|
119
|
+
"properties": [
|
|
120
|
+
{
|
|
121
|
+
"name": "staticValues",
|
|
122
|
+
"attribute": false,
|
|
123
|
+
"type": "Record<string, unknown>"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "layout",
|
|
127
|
+
"description": "布局方式(默认 vertical 布局)",
|
|
128
|
+
"default": "vertical",
|
|
129
|
+
"type": "Layout"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "size",
|
|
133
|
+
"description": "表单组件尺寸",
|
|
134
|
+
"type": "ComponentSize"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "labelCol",
|
|
138
|
+
"description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
|
|
139
|
+
"default": "{\n sm: {\n span: 24,\n },\n md: {\n span: 24,\n },\n lg: {\n span: 7,\n },\n xl: {\n span: 5,\n },\n xxl: {\n span: 4,\n },\n }",
|
|
140
|
+
"attribute": false,
|
|
141
|
+
"type": "ColProps"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "wrapperCol",
|
|
145
|
+
"description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
|
|
146
|
+
"default": "{\n sm: {\n span: 18,\n },\n md: {\n span: 18,\n },\n lg: {\n span: 13,\n },\n xl: {\n span: 16,\n },\n xxl: {\n span: 18,\n },\n }",
|
|
147
|
+
"attribute": false,
|
|
148
|
+
"type": "ColProps"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "formStyle",
|
|
152
|
+
"attribute": false,
|
|
153
|
+
"type": "React.CSSProperties"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "textContent",
|
|
157
|
+
"type": "string",
|
|
158
|
+
"description": "文本内容"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"events": [
|
|
162
|
+
{
|
|
163
|
+
"name": "values.change",
|
|
164
|
+
"description": "表单值变更事件",
|
|
165
|
+
"detail": {
|
|
166
|
+
"description": null,
|
|
167
|
+
"type": "Record<string, unknown>"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "validate.success",
|
|
172
|
+
"description": "表单验证成功时触发事件",
|
|
173
|
+
"detail": {
|
|
174
|
+
"type": "Record<string, unknown>"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "validate.error",
|
|
179
|
+
"description": "表单验证报错时触发事件",
|
|
180
|
+
"detail": {
|
|
181
|
+
"type": "(MessageBody & { name: string })[]"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"slots": [
|
|
186
|
+
{
|
|
187
|
+
"name": null,
|
|
188
|
+
"description": "表单内容"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"methods": [
|
|
192
|
+
{
|
|
193
|
+
"name": "validate",
|
|
194
|
+
"params": [],
|
|
195
|
+
"description": "表单校验方法",
|
|
196
|
+
"returns": {
|
|
197
|
+
"type": "boolean | Record<string, unknown>"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "setInitValue",
|
|
202
|
+
"params": [
|
|
203
|
+
{
|
|
204
|
+
"name": "values",
|
|
205
|
+
"type": "Record<string, unknown>"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "options",
|
|
209
|
+
"type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"description": "表单设置值方法",
|
|
213
|
+
"returns": {}
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "resetFields",
|
|
217
|
+
"params": [
|
|
218
|
+
{
|
|
219
|
+
"name": "name",
|
|
220
|
+
"type": "string"
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
"description": "表单重置值方法",
|
|
224
|
+
"returns": {}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "getFieldsValue",
|
|
228
|
+
"params": [
|
|
229
|
+
{
|
|
230
|
+
"name": "name",
|
|
231
|
+
"type": "string"
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"description": "获取表单值方法",
|
|
235
|
+
"returns": {}
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "validateField",
|
|
239
|
+
"params": [
|
|
240
|
+
{
|
|
241
|
+
"name": "name",
|
|
242
|
+
"type": "string"
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"description": "校验表单字段方法",
|
|
246
|
+
"returns": {}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "resetValidateState",
|
|
250
|
+
"params": [],
|
|
251
|
+
"description": "重置表单校验状态方法",
|
|
252
|
+
"returns": {}
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
"parts": [],
|
|
256
|
+
"description": "表单构件",
|
|
257
|
+
"category": "form-input-basic"
|
|
258
|
+
},
|
|
114
259
|
{
|
|
115
260
|
"name": "eo-radio",
|
|
116
261
|
"alias": [
|
|
@@ -1305,151 +1450,6 @@
|
|
|
1305
1450
|
"description": "日期选择器",
|
|
1306
1451
|
"category": "form-input-basic"
|
|
1307
1452
|
},
|
|
1308
|
-
{
|
|
1309
|
-
"name": "eo-form",
|
|
1310
|
-
"alias": [
|
|
1311
|
-
"form.general-form"
|
|
1312
|
-
],
|
|
1313
|
-
"properties": [
|
|
1314
|
-
{
|
|
1315
|
-
"name": "staticValues",
|
|
1316
|
-
"attribute": false,
|
|
1317
|
-
"type": "Record<string, unknown>"
|
|
1318
|
-
},
|
|
1319
|
-
{
|
|
1320
|
-
"name": "layout",
|
|
1321
|
-
"description": "布局方式(默认 vertical 布局)",
|
|
1322
|
-
"default": "vertical",
|
|
1323
|
-
"type": "Layout"
|
|
1324
|
-
},
|
|
1325
|
-
{
|
|
1326
|
-
"name": "size",
|
|
1327
|
-
"description": "表单组件尺寸",
|
|
1328
|
-
"type": "ComponentSize"
|
|
1329
|
-
},
|
|
1330
|
-
{
|
|
1331
|
-
"name": "labelCol",
|
|
1332
|
-
"description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
|
|
1333
|
-
"default": "{\n sm: {\n span: 24,\n },\n md: {\n span: 24,\n },\n lg: {\n span: 7,\n },\n xl: {\n span: 5,\n },\n xxl: {\n span: 4,\n },\n }",
|
|
1334
|
-
"attribute": false,
|
|
1335
|
-
"type": "ColProps"
|
|
1336
|
-
},
|
|
1337
|
-
{
|
|
1338
|
-
"name": "wrapperCol",
|
|
1339
|
-
"description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
|
|
1340
|
-
"default": "{\n sm: {\n span: 18,\n },\n md: {\n span: 18,\n },\n lg: {\n span: 13,\n },\n xl: {\n span: 16,\n },\n xxl: {\n span: 18,\n },\n }",
|
|
1341
|
-
"attribute": false,
|
|
1342
|
-
"type": "ColProps"
|
|
1343
|
-
},
|
|
1344
|
-
{
|
|
1345
|
-
"name": "formStyle",
|
|
1346
|
-
"attribute": false,
|
|
1347
|
-
"type": "React.CSSProperties"
|
|
1348
|
-
},
|
|
1349
|
-
{
|
|
1350
|
-
"name": "textContent",
|
|
1351
|
-
"type": "string",
|
|
1352
|
-
"description": "文本内容"
|
|
1353
|
-
}
|
|
1354
|
-
],
|
|
1355
|
-
"events": [
|
|
1356
|
-
{
|
|
1357
|
-
"name": "values.change",
|
|
1358
|
-
"description": "表单值变更事件",
|
|
1359
|
-
"detail": {
|
|
1360
|
-
"description": null,
|
|
1361
|
-
"type": "Record<string, unknown>"
|
|
1362
|
-
}
|
|
1363
|
-
},
|
|
1364
|
-
{
|
|
1365
|
-
"name": "validate.success",
|
|
1366
|
-
"description": "表单验证成功时触发事件",
|
|
1367
|
-
"detail": {
|
|
1368
|
-
"type": "Record<string, unknown>"
|
|
1369
|
-
}
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
"name": "validate.error",
|
|
1373
|
-
"description": "表单验证报错时触发事件",
|
|
1374
|
-
"detail": {
|
|
1375
|
-
"type": "(MessageBody & { name: string })[]"
|
|
1376
|
-
}
|
|
1377
|
-
}
|
|
1378
|
-
],
|
|
1379
|
-
"slots": [
|
|
1380
|
-
{
|
|
1381
|
-
"name": null,
|
|
1382
|
-
"description": "表单内容"
|
|
1383
|
-
}
|
|
1384
|
-
],
|
|
1385
|
-
"methods": [
|
|
1386
|
-
{
|
|
1387
|
-
"name": "validate",
|
|
1388
|
-
"params": [],
|
|
1389
|
-
"description": "表单校验方法",
|
|
1390
|
-
"returns": {
|
|
1391
|
-
"type": "boolean | Record<string, unknown>"
|
|
1392
|
-
}
|
|
1393
|
-
},
|
|
1394
|
-
{
|
|
1395
|
-
"name": "setInitValue",
|
|
1396
|
-
"params": [
|
|
1397
|
-
{
|
|
1398
|
-
"name": "values",
|
|
1399
|
-
"type": "Record<string, unknown>"
|
|
1400
|
-
},
|
|
1401
|
-
{
|
|
1402
|
-
"name": "options",
|
|
1403
|
-
"type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
|
|
1404
|
-
}
|
|
1405
|
-
],
|
|
1406
|
-
"description": "表单设置值方法",
|
|
1407
|
-
"returns": {}
|
|
1408
|
-
},
|
|
1409
|
-
{
|
|
1410
|
-
"name": "resetFields",
|
|
1411
|
-
"params": [
|
|
1412
|
-
{
|
|
1413
|
-
"name": "name",
|
|
1414
|
-
"type": "string"
|
|
1415
|
-
}
|
|
1416
|
-
],
|
|
1417
|
-
"description": "表单重置值方法",
|
|
1418
|
-
"returns": {}
|
|
1419
|
-
},
|
|
1420
|
-
{
|
|
1421
|
-
"name": "getFieldsValue",
|
|
1422
|
-
"params": [
|
|
1423
|
-
{
|
|
1424
|
-
"name": "name",
|
|
1425
|
-
"type": "string"
|
|
1426
|
-
}
|
|
1427
|
-
],
|
|
1428
|
-
"description": "获取表单值方法",
|
|
1429
|
-
"returns": {}
|
|
1430
|
-
},
|
|
1431
|
-
{
|
|
1432
|
-
"name": "validateField",
|
|
1433
|
-
"params": [
|
|
1434
|
-
{
|
|
1435
|
-
"name": "name",
|
|
1436
|
-
"type": "string"
|
|
1437
|
-
}
|
|
1438
|
-
],
|
|
1439
|
-
"description": "校验表单字段方法",
|
|
1440
|
-
"returns": {}
|
|
1441
|
-
},
|
|
1442
|
-
{
|
|
1443
|
-
"name": "resetValidateState",
|
|
1444
|
-
"params": [],
|
|
1445
|
-
"description": "重置表单校验状态方法",
|
|
1446
|
-
"returns": {}
|
|
1447
|
-
}
|
|
1448
|
-
],
|
|
1449
|
-
"parts": [],
|
|
1450
|
-
"description": "表单构件",
|
|
1451
|
-
"category": "form-input-basic"
|
|
1452
|
-
},
|
|
1453
1453
|
{
|
|
1454
1454
|
"name": "eo-time-range-picker",
|
|
1455
1455
|
"properties": [
|