@next-bricks/form 1.15.5 → 1.15.6

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 (59) hide show
  1. package/dist/bricks.json +32 -32
  2. package/dist/chunks/{4837.bc14ca08.js → 4837.cfc2beca.js} +2 -2
  3. package/dist/chunks/{7218.279a9ed1.js.map → 4837.cfc2beca.js.map} +1 -1
  4. package/dist/chunks/{5582.3ae20614.js → 5582.ce562ee5.js} +3 -3
  5. package/dist/chunks/5582.ce562ee5.js.map +1 -0
  6. package/dist/chunks/{7218.279a9ed1.js → 7218.28ce9ced.js} +2 -2
  7. package/dist/chunks/{4837.bc14ca08.js.map → 7218.28ce9ced.js.map} +1 -1
  8. package/dist/chunks/7623.8679476e.js +3 -0
  9. package/dist/chunks/{7623.414a4117.js.map → 7623.8679476e.js.map} +1 -1
  10. package/dist/chunks/eo-color-picker.0844530a.js +2 -0
  11. package/dist/chunks/{eo-color-picker.c23eb480.js.map → eo-color-picker.0844530a.js.map} +1 -1
  12. package/dist/chunks/eo-date-picker.41f03949.js +2 -0
  13. package/dist/chunks/{eo-date-picker.4adde775.js.map → eo-date-picker.41f03949.js.map} +1 -1
  14. package/dist/chunks/eo-dynamic-form-item.41874d06.js +3 -0
  15. package/dist/chunks/{eo-dynamic-form-item.dde78a02.js.map → eo-dynamic-form-item.41874d06.js.map} +1 -1
  16. package/dist/chunks/eo-form-item.c9ec824e.js +3 -0
  17. package/dist/chunks/{eo-form-item.1122cb84.js.map → eo-form-item.c9ec824e.js.map} +1 -1
  18. package/dist/chunks/eo-radio.6301fbc2.js +3 -0
  19. package/dist/chunks/{eo-radio.f6a559e3.js.map → eo-radio.6301fbc2.js.map} +1 -1
  20. package/dist/chunks/eo-select.b16bee73.js +3 -0
  21. package/dist/chunks/{eo-select.801e1664.js.map → eo-select.b16bee73.js.map} +1 -1
  22. package/dist/chunks/eo-time-picker.37e38cc9.js +2 -0
  23. package/dist/chunks/{eo-time-picker.d0275ffe.js.map → eo-time-picker.37e38cc9.js.map} +1 -1
  24. package/dist/chunks/eo-time-range-picker.cdf65c87.js +2 -0
  25. package/dist/chunks/{eo-time-range-picker.c689aba1.js.map → eo-time-range-picker.cdf65c87.js.map} +1 -1
  26. package/dist/chunks/eo-upload-file.71e2b71d.js +3 -0
  27. package/dist/chunks/{eo-upload-file.b6fb0084.js.map → eo-upload-file.71e2b71d.js.map} +1 -1
  28. package/dist/chunks/{eo-upload-image.ca915af7.js → eo-upload-image.e21c5519.js} +3 -3
  29. package/dist/chunks/{eo-upload-image.ca915af7.js.map → eo-upload-image.e21c5519.js.map} +1 -1
  30. package/dist/chunks/main.5222a0c7.js +2 -0
  31. package/dist/chunks/{main.e0ab44ce.js.map → main.5222a0c7.js.map} +1 -1
  32. package/dist/examples.json +9 -9
  33. package/dist/index.8994d83b.js +2 -0
  34. package/dist/index.8994d83b.js.map +1 -0
  35. package/dist/manifest.json +281 -281
  36. package/dist/types.json +137 -137
  37. package/package.json +2 -2
  38. package/dist/chunks/5582.3ae20614.js.map +0 -1
  39. package/dist/chunks/7623.414a4117.js +0 -3
  40. package/dist/chunks/eo-color-picker.c23eb480.js +0 -2
  41. package/dist/chunks/eo-date-picker.4adde775.js +0 -2
  42. package/dist/chunks/eo-dynamic-form-item.dde78a02.js +0 -3
  43. package/dist/chunks/eo-form-item.1122cb84.js +0 -3
  44. package/dist/chunks/eo-radio.f6a559e3.js +0 -3
  45. package/dist/chunks/eo-select.801e1664.js +0 -3
  46. package/dist/chunks/eo-time-picker.d0275ffe.js +0 -2
  47. package/dist/chunks/eo-time-range-picker.c689aba1.js +0 -2
  48. package/dist/chunks/eo-upload-file.b6fb0084.js +0 -3
  49. package/dist/chunks/main.e0ab44ce.js +0 -2
  50. package/dist/index.929db4ba.js +0 -2
  51. package/dist/index.929db4ba.js.map +0 -1
  52. /package/dist/chunks/{5582.3ae20614.js.LICENSE.txt → 5582.ce562ee5.js.LICENSE.txt} +0 -0
  53. /package/dist/chunks/{7623.414a4117.js.LICENSE.txt → 7623.8679476e.js.LICENSE.txt} +0 -0
  54. /package/dist/chunks/{eo-dynamic-form-item.dde78a02.js.LICENSE.txt → eo-dynamic-form-item.41874d06.js.LICENSE.txt} +0 -0
  55. /package/dist/chunks/{eo-form-item.1122cb84.js.LICENSE.txt → eo-form-item.c9ec824e.js.LICENSE.txt} +0 -0
  56. /package/dist/chunks/{eo-radio.f6a559e3.js.LICENSE.txt → eo-radio.6301fbc2.js.LICENSE.txt} +0 -0
  57. /package/dist/chunks/{eo-select.801e1664.js.LICENSE.txt → eo-select.b16bee73.js.LICENSE.txt} +0 -0
  58. /package/dist/chunks/{eo-upload-file.b6fb0084.js.LICENSE.txt → eo-upload-file.71e2b71d.js.LICENSE.txt} +0 -0
  59. /package/dist/chunks/{eo-upload-image.ca915af7.js.LICENSE.txt → eo-upload-image.e21c5519.js.LICENSE.txt} +0 -0
@@ -333,6 +333,104 @@
333
333
  "description": "表单构件",
334
334
  "category": "form-input-basic"
335
335
  },
336
+ {
337
+ "name": "eo-textarea",
338
+ "alias": [
339
+ "form.general-textarea"
340
+ ],
341
+ "properties": [
342
+ {
343
+ "name": "name",
344
+ "description": "字段名称",
345
+ "type": "string"
346
+ },
347
+ {
348
+ "name": "label",
349
+ "description": "标签文字",
350
+ "type": "string"
351
+ },
352
+ {
353
+ "name": "value",
354
+ "description": "值",
355
+ "type": "string"
356
+ },
357
+ {
358
+ "name": "placeholder",
359
+ "description": "占位说明",
360
+ "type": "string"
361
+ },
362
+ {
363
+ "name": "disabled",
364
+ "description": "是否禁用",
365
+ "type": "boolean"
366
+ },
367
+ {
368
+ "name": "minLength",
369
+ "description": "最小长度",
370
+ "type": "number"
371
+ },
372
+ {
373
+ "name": "maxLength",
374
+ "description": "最大长度",
375
+ "type": "number"
376
+ },
377
+ {
378
+ "name": "autoSize",
379
+ "description": "大小自适应",
380
+ "attribute": false,
381
+ "type": "AutoSize"
382
+ },
383
+ {
384
+ "name": "required",
385
+ "description": "是否必填",
386
+ "type": "boolean"
387
+ },
388
+ {
389
+ "name": "max",
390
+ "description": "表单校验最大长度",
391
+ "type": "number"
392
+ },
393
+ {
394
+ "name": "min",
395
+ "description": "表单校验最小长度",
396
+ "type": "number"
397
+ },
398
+ {
399
+ "name": "message",
400
+ "description": "校验信息",
401
+ "attribute": false,
402
+ "type": "Record<string, string>"
403
+ },
404
+ {
405
+ "name": "textareaStyle",
406
+ "description": "自定义样式",
407
+ "attribute": false,
408
+ "type": "React.CSSProperties"
409
+ }
410
+ ],
411
+ "events": [
412
+ {
413
+ "name": "change",
414
+ "description": "",
415
+ "detail": {
416
+ "description": null,
417
+ "type": "string"
418
+ }
419
+ }
420
+ ],
421
+ "slots": [],
422
+ "methods": [
423
+ {
424
+ "name": "focusTextarea",
425
+ "params": [],
426
+ "description": "focus",
427
+ "returns": {}
428
+ }
429
+ ],
430
+ "parts": [],
431
+ "description": "通用多行文本输入框构件",
432
+ "category": "form-input-basic"
433
+ },
336
434
  {
337
435
  "name": "eo-form-item",
338
436
  "alias": [
@@ -441,104 +539,6 @@
441
539
  "category": "form-input-basic",
442
540
  "insider": true
443
541
  },
444
- {
445
- "name": "eo-textarea",
446
- "alias": [
447
- "form.general-textarea"
448
- ],
449
- "properties": [
450
- {
451
- "name": "name",
452
- "description": "字段名称",
453
- "type": "string"
454
- },
455
- {
456
- "name": "label",
457
- "description": "标签文字",
458
- "type": "string"
459
- },
460
- {
461
- "name": "value",
462
- "description": "值",
463
- "type": "string"
464
- },
465
- {
466
- "name": "placeholder",
467
- "description": "占位说明",
468
- "type": "string"
469
- },
470
- {
471
- "name": "disabled",
472
- "description": "是否禁用",
473
- "type": "boolean"
474
- },
475
- {
476
- "name": "minLength",
477
- "description": "最小长度",
478
- "type": "number"
479
- },
480
- {
481
- "name": "maxLength",
482
- "description": "最大长度",
483
- "type": "number"
484
- },
485
- {
486
- "name": "autoSize",
487
- "description": "大小自适应",
488
- "attribute": false,
489
- "type": "AutoSize"
490
- },
491
- {
492
- "name": "required",
493
- "description": "是否必填",
494
- "type": "boolean"
495
- },
496
- {
497
- "name": "max",
498
- "description": "表单校验最大长度",
499
- "type": "number"
500
- },
501
- {
502
- "name": "min",
503
- "description": "表单校验最小长度",
504
- "type": "number"
505
- },
506
- {
507
- "name": "message",
508
- "description": "校验信息",
509
- "attribute": false,
510
- "type": "Record<string, string>"
511
- },
512
- {
513
- "name": "textareaStyle",
514
- "description": "自定义样式",
515
- "attribute": false,
516
- "type": "React.CSSProperties"
517
- }
518
- ],
519
- "events": [
520
- {
521
- "name": "change",
522
- "description": "",
523
- "detail": {
524
- "description": null,
525
- "type": "string"
526
- }
527
- }
528
- ],
529
- "slots": [],
530
- "methods": [
531
- {
532
- "name": "focusTextarea",
533
- "params": [],
534
- "description": "focus",
535
- "returns": {}
536
- }
537
- ],
538
- "parts": [],
539
- "description": "通用多行文本输入框构件",
540
- "category": "form-input-basic"
541
- },
542
542
  {
543
543
  "name": "eo-radio",
544
544
  "alias": [
@@ -785,66 +785,6 @@
785
785
  "description": "通用下拉选择构件",
786
786
  "category": "form-input-basic"
787
787
  },
788
- {
789
- "name": "eo-submit-buttons",
790
- "alias": [
791
- "form.submit-buttons"
792
- ],
793
- "properties": [
794
- {
795
- "name": "submitText",
796
- "description": "提交按钮的文字",
797
- "default": "\"提交\"",
798
- "type": "string"
799
- },
800
- {
801
- "name": "cancelText",
802
- "description": "取消按钮的文字,不设置则不显示取消按钮",
803
- "type": "string"
804
- },
805
- {
806
- "name": "disableAfterClick",
807
- "description": "点击确定按钮后自动禁用",
808
- "type": "boolean"
809
- },
810
- {
811
- "name": "submitDisabled",
812
- "description": "禁用提交按钮",
813
- "type": "boolean"
814
- },
815
- {
816
- "name": "submitType",
817
- "description": "提交按钮类型",
818
- "type": "ButtonType"
819
- },
820
- {
821
- "name": "cancelType",
822
- "description": "取消按钮类型",
823
- "type": "ButtonType"
824
- }
825
- ],
826
- "events": [
827
- {
828
- "name": "submit",
829
- "description": "点击提交按钮触发的事件",
830
- "detail": {
831
- "type": "void"
832
- }
833
- },
834
- {
835
- "name": "cancel",
836
- "description": "点击取消按钮触发的事件",
837
- "detail": {
838
- "type": "void"
839
- }
840
- }
841
- ],
842
- "slots": [],
843
- "methods": [],
844
- "parts": [],
845
- "description": "表单提交按钮",
846
- "category": "form-input-basic"
847
- },
848
788
  {
849
789
  "name": "eo-checkbox",
850
790
  "alias": [
@@ -937,6 +877,66 @@
937
877
  "description": "表单复选框构件",
938
878
  "category": "form-input-basic"
939
879
  },
880
+ {
881
+ "name": "eo-submit-buttons",
882
+ "alias": [
883
+ "form.submit-buttons"
884
+ ],
885
+ "properties": [
886
+ {
887
+ "name": "submitText",
888
+ "description": "提交按钮的文字",
889
+ "default": "\"提交\"",
890
+ "type": "string"
891
+ },
892
+ {
893
+ "name": "cancelText",
894
+ "description": "取消按钮的文字,不设置则不显示取消按钮",
895
+ "type": "string"
896
+ },
897
+ {
898
+ "name": "disableAfterClick",
899
+ "description": "点击确定按钮后自动禁用",
900
+ "type": "boolean"
901
+ },
902
+ {
903
+ "name": "submitDisabled",
904
+ "description": "禁用提交按钮",
905
+ "type": "boolean"
906
+ },
907
+ {
908
+ "name": "submitType",
909
+ "description": "提交按钮类型",
910
+ "type": "ButtonType"
911
+ },
912
+ {
913
+ "name": "cancelType",
914
+ "description": "取消按钮类型",
915
+ "type": "ButtonType"
916
+ }
917
+ ],
918
+ "events": [
919
+ {
920
+ "name": "submit",
921
+ "description": "点击提交按钮触发的事件",
922
+ "detail": {
923
+ "type": "void"
924
+ }
925
+ },
926
+ {
927
+ "name": "cancel",
928
+ "description": "点击取消按钮触发的事件",
929
+ "detail": {
930
+ "type": "void"
931
+ }
932
+ }
933
+ ],
934
+ "slots": [],
935
+ "methods": [],
936
+ "parts": [],
937
+ "description": "表单提交按钮",
938
+ "category": "form-input-basic"
939
+ },
940
940
  {
941
941
  "name": "eo-dynamic-form-item",
942
942
  "alias": [
@@ -1096,6 +1096,129 @@
1096
1096
  "description": "搜索框",
1097
1097
  "category": "interact-basic"
1098
1098
  },
1099
+ {
1100
+ "name": "eo-icon-select",
1101
+ "alias": [
1102
+ "form.icon-select"
1103
+ ],
1104
+ "properties": [
1105
+ {
1106
+ "name": "name",
1107
+ "description": "字段名称",
1108
+ "type": "string"
1109
+ },
1110
+ {
1111
+ "name": "label",
1112
+ "description": "字段说明",
1113
+ "type": "string"
1114
+ },
1115
+ {
1116
+ "name": "value",
1117
+ "description": "值",
1118
+ "attribute": false,
1119
+ "type": "Icon"
1120
+ },
1121
+ {
1122
+ "name": "disabled",
1123
+ "description": "是否禁用",
1124
+ "type": "boolean"
1125
+ },
1126
+ {
1127
+ "name": "required",
1128
+ "description": "是否必填",
1129
+ "type": "boolean"
1130
+ },
1131
+ {
1132
+ "name": "message",
1133
+ "description": "是否必填",
1134
+ "attribute": false,
1135
+ "type": "Record<string, string>"
1136
+ }
1137
+ ],
1138
+ "events": [
1139
+ {
1140
+ "name": "change",
1141
+ "description": "值变化时触发",
1142
+ "detail": {
1143
+ "type": "Icon | undefined"
1144
+ }
1145
+ }
1146
+ ],
1147
+ "slots": [],
1148
+ "methods": [],
1149
+ "parts": [],
1150
+ "description": "图标选择构件",
1151
+ "category": "form-input-basic"
1152
+ },
1153
+ {
1154
+ "name": "eo-upload-image",
1155
+ "alias": [
1156
+ "form.upload-image"
1157
+ ],
1158
+ "properties": [
1159
+ {
1160
+ "name": "name",
1161
+ "description": "字段名称",
1162
+ "type": "string"
1163
+ },
1164
+ {
1165
+ "name": "label",
1166
+ "description": "字段说明",
1167
+ "type": "string"
1168
+ },
1169
+ {
1170
+ "name": "value",
1171
+ "description": "值",
1172
+ "attribute": false,
1173
+ "type": "ImageData[]"
1174
+ },
1175
+ {
1176
+ "name": "bucketName",
1177
+ "description": "对象存储桶名字",
1178
+ "type": "string"
1179
+ },
1180
+ {
1181
+ "name": "maxCount",
1182
+ "description": "最大上传数量",
1183
+ "type": "number"
1184
+ },
1185
+ {
1186
+ "name": "multiple",
1187
+ "description": "是否支持选定的多张图片",
1188
+ "type": "boolean"
1189
+ },
1190
+ {
1191
+ "name": "limitSize",
1192
+ "description": "上传大小限制(单位为 MB)",
1193
+ "type": "number"
1194
+ },
1195
+ {
1196
+ "name": "required",
1197
+ "description": "是否必填",
1198
+ "type": "boolean"
1199
+ },
1200
+ {
1201
+ "name": "message",
1202
+ "description": "校验文本信息",
1203
+ "attribute": false,
1204
+ "type": "Record<string, string>"
1205
+ }
1206
+ ],
1207
+ "events": [
1208
+ {
1209
+ "name": "change",
1210
+ "description": "值变化时触发",
1211
+ "detail": {
1212
+ "type": "ImageData[]"
1213
+ }
1214
+ }
1215
+ ],
1216
+ "slots": [],
1217
+ "methods": [],
1218
+ "parts": [],
1219
+ "description": "上传图片构件",
1220
+ "category": "form-input-basic"
1221
+ },
1099
1222
  {
1100
1223
  "name": "eo-switch",
1101
1224
  "alias": [
@@ -1288,129 +1411,6 @@
1288
1411
  "description": "上传文件",
1289
1412
  "category": "form-input-basic"
1290
1413
  },
1291
- {
1292
- "name": "eo-icon-select",
1293
- "alias": [
1294
- "form.icon-select"
1295
- ],
1296
- "properties": [
1297
- {
1298
- "name": "name",
1299
- "description": "字段名称",
1300
- "type": "string"
1301
- },
1302
- {
1303
- "name": "label",
1304
- "description": "字段说明",
1305
- "type": "string"
1306
- },
1307
- {
1308
- "name": "value",
1309
- "description": "值",
1310
- "attribute": false,
1311
- "type": "Icon"
1312
- },
1313
- {
1314
- "name": "disabled",
1315
- "description": "是否禁用",
1316
- "type": "boolean"
1317
- },
1318
- {
1319
- "name": "required",
1320
- "description": "是否必填",
1321
- "type": "boolean"
1322
- },
1323
- {
1324
- "name": "message",
1325
- "description": "是否必填",
1326
- "attribute": false,
1327
- "type": "Record<string, string>"
1328
- }
1329
- ],
1330
- "events": [
1331
- {
1332
- "name": "change",
1333
- "description": "值变化时触发",
1334
- "detail": {
1335
- "type": "Icon | undefined"
1336
- }
1337
- }
1338
- ],
1339
- "slots": [],
1340
- "methods": [],
1341
- "parts": [],
1342
- "description": "图标选择构件",
1343
- "category": "form-input-basic"
1344
- },
1345
- {
1346
- "name": "eo-upload-image",
1347
- "alias": [
1348
- "form.upload-image"
1349
- ],
1350
- "properties": [
1351
- {
1352
- "name": "name",
1353
- "description": "字段名称",
1354
- "type": "string"
1355
- },
1356
- {
1357
- "name": "label",
1358
- "description": "字段说明",
1359
- "type": "string"
1360
- },
1361
- {
1362
- "name": "value",
1363
- "description": "值",
1364
- "attribute": false,
1365
- "type": "ImageData[]"
1366
- },
1367
- {
1368
- "name": "bucketName",
1369
- "description": "对象存储桶名字",
1370
- "type": "string"
1371
- },
1372
- {
1373
- "name": "maxCount",
1374
- "description": "最大上传数量",
1375
- "type": "number"
1376
- },
1377
- {
1378
- "name": "multiple",
1379
- "description": "是否支持选定的多张图片",
1380
- "type": "boolean"
1381
- },
1382
- {
1383
- "name": "limitSize",
1384
- "description": "上传大小限制(单位为 MB)",
1385
- "type": "number"
1386
- },
1387
- {
1388
- "name": "required",
1389
- "description": "是否必填",
1390
- "type": "boolean"
1391
- },
1392
- {
1393
- "name": "message",
1394
- "description": "校验文本信息",
1395
- "attribute": false,
1396
- "type": "Record<string, string>"
1397
- }
1398
- ],
1399
- "events": [
1400
- {
1401
- "name": "change",
1402
- "description": "值变化时触发",
1403
- "detail": {
1404
- "type": "ImageData[]"
1405
- }
1406
- }
1407
- ],
1408
- "slots": [],
1409
- "methods": [],
1410
- "parts": [],
1411
- "description": "上传图片构件",
1412
- "category": "form-input-basic"
1413
- },
1414
1414
  {
1415
1415
  "name": "eo-auto-complete",
1416
1416
  "properties": [