@next-bricks/form 1.15.4 → 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 +17 -17
  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 +6 -6
  33. package/dist/index.8994d83b.js +2 -0
  34. package/dist/index.8994d83b.js.map +1 -0
  35. package/dist/manifest.json +232 -232
  36. package/dist/types.json +420 -420
  37. package/package.json +3 -3
  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.8b341749.js +0 -2
  51. package/dist/index.8b341749.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": [
@@ -1412,33 +1412,28 @@
1412
1412
  "category": "form-input-basic"
1413
1413
  },
1414
1414
  {
1415
- "name": "eo-time-picker",
1415
+ "name": "eo-auto-complete",
1416
1416
  "properties": [
1417
1417
  {
1418
1418
  "name": "name",
1419
- "description": "时间选择器字段名",
1420
- "type": "string"
1421
- },
1422
- {
1423
- "name": "label",
1424
- "description": "时间选择器说明",
1419
+ "description": "字段名称",
1425
1420
  "type": "string"
1426
1421
  },
1427
1422
  {
1428
- "name": "value",
1429
- "description": "时间选择器的初始值",
1423
+ "name": "placeholder",
1424
+ "description": "占位说明",
1430
1425
  "type": "string"
1431
1426
  },
1432
1427
  {
1433
- "name": "placeholder",
1434
- "description": "时间选择器占位说明",
1428
+ "name": "label",
1429
+ "description": "字段文本",
1435
1430
  "type": "string"
1436
1431
  },
1437
1432
  {
1438
- "name": "message",
1439
- "description": "校验文本信息",
1433
+ "name": "inputStyle",
1434
+ "description": "输入框样式",
1440
1435
  "attribute": false,
1441
- "type": "Record<string, string>"
1436
+ "type": "React.CSSProperties"
1442
1437
  },
1443
1438
  {
1444
1439
  "name": "disabled",
@@ -1451,30 +1446,43 @@
1451
1446
  "type": "boolean"
1452
1447
  },
1453
1448
  {
1454
- "name": "configProps",
1455
- "description": "透传 antd timePicker 属性 [timePickerProps](https://ant.design/components/time-picker-cn)",
1449
+ "name": "value",
1450
+ "type": "string"
1451
+ },
1452
+ {
1453
+ "name": "options",
1454
+ "description": "选项列表",
1455
+ "required": true,
1456
1456
  "attribute": false,
1457
- "type": "Partial<TimePickerProps>"
1458
- }
1459
- ],
1460
- "events": [
1457
+ "type": "string[] | OptionType[]"
1458
+ },
1461
1459
  {
1462
- "name": "change",
1463
- "description": "时间变化时触发",
1464
- "detail": {
1465
- "type": "string"
1466
- }
1460
+ "name": "filterByCaption",
1461
+ "description": "搜索时是否根据caption过滤options",
1462
+ "type": "boolean"
1467
1463
  },
1468
1464
  {
1469
- "name": "open",
1470
- "description": "面板打开时触发, 传出当前时间值",
1471
- "detail": {
1472
- "type": "string"
1473
- }
1465
+ "name": "validator",
1466
+ "description": "表单项校验方法",
1467
+ "attribute": false,
1468
+ "type": "((value: any) => MessageBody)"
1474
1469
  },
1475
1470
  {
1476
- "name": "close",
1477
- "description": "面板关闭时触发,传出当前时间值",
1471
+ "name": "pattern",
1472
+ "description": "正则校验规则",
1473
+ "type": "string"
1474
+ },
1475
+ {
1476
+ "name": "message",
1477
+ "description": "校验文本信息",
1478
+ "attribute": false,
1479
+ "type": "Record<string, string>"
1480
+ }
1481
+ ],
1482
+ "events": [
1483
+ {
1484
+ "name": "change",
1485
+ "description": "值改变事件",
1478
1486
  "detail": {
1479
1487
  "type": "string"
1480
1488
  }
@@ -1483,32 +1491,37 @@
1483
1491
  "slots": [],
1484
1492
  "methods": [],
1485
1493
  "parts": [],
1486
- "description": "时间选择器",
1494
+ "description": "带候选项的输入框",
1487
1495
  "category": "form-input-basic"
1488
1496
  },
1489
1497
  {
1490
- "name": "eo-auto-complete",
1498
+ "name": "eo-time-picker",
1491
1499
  "properties": [
1492
1500
  {
1493
1501
  "name": "name",
1494
- "description": "字段名称",
1502
+ "description": "时间选择器字段名",
1495
1503
  "type": "string"
1496
1504
  },
1497
1505
  {
1498
- "name": "placeholder",
1499
- "description": "占位说明",
1506
+ "name": "label",
1507
+ "description": "时间选择器说明",
1500
1508
  "type": "string"
1501
1509
  },
1502
1510
  {
1503
- "name": "label",
1504
- "description": "字段文本",
1511
+ "name": "value",
1512
+ "description": "时间选择器的初始值",
1505
1513
  "type": "string"
1506
1514
  },
1507
1515
  {
1508
- "name": "inputStyle",
1509
- "description": "输入框样式",
1516
+ "name": "placeholder",
1517
+ "description": "时间选择器占位说明",
1518
+ "type": "string"
1519
+ },
1520
+ {
1521
+ "name": "message",
1522
+ "description": "校验文本信息",
1510
1523
  "attribute": false,
1511
- "type": "React.CSSProperties"
1524
+ "type": "Record<string, string>"
1512
1525
  },
1513
1526
  {
1514
1527
  "name": "disabled",
@@ -1521,43 +1534,30 @@
1521
1534
  "type": "boolean"
1522
1535
  },
1523
1536
  {
1524
- "name": "value",
1525
- "type": "string"
1526
- },
1527
- {
1528
- "name": "options",
1529
- "description": "选项列表",
1530
- "required": true,
1531
- "attribute": false,
1532
- "type": "string[] | OptionType[]"
1533
- },
1534
- {
1535
- "name": "filterByCaption",
1536
- "description": "搜索时是否根据caption过滤options",
1537
- "type": "boolean"
1538
- },
1539
- {
1540
- "name": "validator",
1541
- "description": "表单项校验方法",
1542
- "attribute": false,
1543
- "type": "((value: any) => MessageBody)"
1544
- },
1545
- {
1546
- "name": "pattern",
1547
- "description": "正则校验规则",
1548
- "type": "string"
1549
- },
1550
- {
1551
- "name": "message",
1552
- "description": "校验文本信息",
1537
+ "name": "configProps",
1538
+ "description": "透传 antd timePicker 属性 [timePickerProps](https://ant.design/components/time-picker-cn)",
1553
1539
  "attribute": false,
1554
- "type": "Record<string, string>"
1540
+ "type": "Partial<TimePickerProps>"
1555
1541
  }
1556
1542
  ],
1557
1543
  "events": [
1558
1544
  {
1559
1545
  "name": "change",
1560
- "description": "值改变事件",
1546
+ "description": "时间变化时触发",
1547
+ "detail": {
1548
+ "type": "string"
1549
+ }
1550
+ },
1551
+ {
1552
+ "name": "open",
1553
+ "description": "面板打开时触发, 传出当前时间值",
1554
+ "detail": {
1555
+ "type": "string"
1556
+ }
1557
+ },
1558
+ {
1559
+ "name": "close",
1560
+ "description": "面板关闭时触发,传出当前时间值",
1561
1561
  "detail": {
1562
1562
  "type": "string"
1563
1563
  }
@@ -1566,7 +1566,7 @@
1566
1566
  "slots": [],
1567
1567
  "methods": [],
1568
1568
  "parts": [],
1569
- "description": "带候选项的输入框",
1569
+ "description": "时间选择器",
1570
1570
  "category": "form-input-basic"
1571
1571
  },
1572
1572
  {