@next-bricks/form 1.15.12 → 1.15.13

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 (87) hide show
  1. package/dist/bricks.json +21 -21
  2. package/dist/chunks/149.2cac519d.js +2 -0
  3. package/dist/chunks/149.2cac519d.js.map +1 -0
  4. package/dist/chunks/5347.a2da1ea8.js +3 -0
  5. package/dist/chunks/5347.a2da1ea8.js.map +1 -0
  6. package/dist/chunks/eo-auto-complete.8f047c94.js +3 -0
  7. package/dist/chunks/eo-auto-complete.8f047c94.js.map +1 -0
  8. package/dist/chunks/eo-checkbox.f6a5c9cd.js +2 -0
  9. package/dist/chunks/eo-checkbox.f6a5c9cd.js.map +1 -0
  10. package/dist/chunks/eo-date-picker.c30115bb.js +2 -0
  11. package/dist/chunks/eo-date-picker.c30115bb.js.map +1 -0
  12. package/dist/chunks/eo-dynamic-form-item.3907deeb.js +3 -0
  13. package/dist/chunks/eo-dynamic-form-item.3907deeb.js.map +1 -0
  14. package/dist/chunks/eo-icon-select.3db79661.js +3 -0
  15. package/dist/chunks/eo-icon-select.3db79661.js.map +1 -0
  16. package/dist/chunks/eo-radio.8c18d259.js +3 -0
  17. package/dist/chunks/eo-radio.8c18d259.js.map +1 -0
  18. package/dist/chunks/eo-select.bcb07d7d.js +3 -0
  19. package/dist/chunks/eo-select.bcb07d7d.js.map +1 -0
  20. package/dist/chunks/eo-submit-buttons.f49a4a73.js +2 -0
  21. package/dist/chunks/eo-submit-buttons.f49a4a73.js.map +1 -0
  22. package/dist/chunks/eo-switch.a1197bf4.js +3 -0
  23. package/dist/chunks/eo-switch.a1197bf4.js.map +1 -0
  24. package/dist/chunks/eo-textarea.87150cfb.js +3 -0
  25. package/dist/chunks/eo-textarea.87150cfb.js.map +1 -0
  26. package/dist/chunks/eo-time-picker.7745f7ed.js +2 -0
  27. package/dist/chunks/eo-time-picker.7745f7ed.js.map +1 -0
  28. package/dist/chunks/eo-time-range-picker.021723e3.js +2 -0
  29. package/dist/chunks/eo-time-range-picker.021723e3.js.map +1 -0
  30. package/dist/chunks/eo-upload-file.41efde6a.js +3 -0
  31. package/dist/chunks/eo-upload-file.41efde6a.js.map +1 -0
  32. package/dist/chunks/eo-upload-image.fad8c706.js +3 -0
  33. package/dist/chunks/eo-upload-image.fad8c706.js.map +1 -0
  34. package/dist/chunks/{main.6cfe39b3.js → main.2d5dab71.js} +2 -2
  35. package/dist/chunks/main.2d5dab71.js.map +1 -0
  36. package/dist/examples.json +8 -8
  37. package/dist/index.1238a656.js +2 -0
  38. package/dist/index.1238a656.js.map +1 -0
  39. package/dist/manifest.json +216 -216
  40. package/dist/types.json +772 -772
  41. package/dist-types/form-item/index.d.ts +4 -38
  42. package/package.json +2 -2
  43. package/dist/chunks/149.f1ac0885.js +0 -2
  44. package/dist/chunks/149.f1ac0885.js.map +0 -1
  45. package/dist/chunks/5347.76715392.js +0 -3
  46. package/dist/chunks/5347.76715392.js.map +0 -1
  47. package/dist/chunks/eo-auto-complete.3c25ef04.js +0 -3
  48. package/dist/chunks/eo-auto-complete.3c25ef04.js.map +0 -1
  49. package/dist/chunks/eo-checkbox.6fb2afb3.js +0 -2
  50. package/dist/chunks/eo-checkbox.6fb2afb3.js.map +0 -1
  51. package/dist/chunks/eo-date-picker.38a71de5.js +0 -2
  52. package/dist/chunks/eo-date-picker.38a71de5.js.map +0 -1
  53. package/dist/chunks/eo-dynamic-form-item.96fdc2f1.js +0 -3
  54. package/dist/chunks/eo-dynamic-form-item.96fdc2f1.js.map +0 -1
  55. package/dist/chunks/eo-icon-select.b7ec93c9.js +0 -3
  56. package/dist/chunks/eo-icon-select.b7ec93c9.js.map +0 -1
  57. package/dist/chunks/eo-radio.3b5b1a87.js +0 -3
  58. package/dist/chunks/eo-radio.3b5b1a87.js.map +0 -1
  59. package/dist/chunks/eo-select.0c8b186c.js +0 -3
  60. package/dist/chunks/eo-select.0c8b186c.js.map +0 -1
  61. package/dist/chunks/eo-submit-buttons.7986fcd3.js +0 -2
  62. package/dist/chunks/eo-submit-buttons.7986fcd3.js.map +0 -1
  63. package/dist/chunks/eo-switch.445a7cab.js +0 -3
  64. package/dist/chunks/eo-switch.445a7cab.js.map +0 -1
  65. package/dist/chunks/eo-textarea.7fdd5ac5.js +0 -3
  66. package/dist/chunks/eo-textarea.7fdd5ac5.js.map +0 -1
  67. package/dist/chunks/eo-time-picker.d5e22a7b.js +0 -2
  68. package/dist/chunks/eo-time-picker.d5e22a7b.js.map +0 -1
  69. package/dist/chunks/eo-time-range-picker.bf0932ac.js +0 -2
  70. package/dist/chunks/eo-time-range-picker.bf0932ac.js.map +0 -1
  71. package/dist/chunks/eo-upload-file.794353ba.js +0 -3
  72. package/dist/chunks/eo-upload-file.794353ba.js.map +0 -1
  73. package/dist/chunks/eo-upload-image.50adcd53.js +0 -3
  74. package/dist/chunks/eo-upload-image.50adcd53.js.map +0 -1
  75. package/dist/chunks/main.6cfe39b3.js.map +0 -1
  76. package/dist/index.4ac47ef2.js +0 -2
  77. package/dist/index.4ac47ef2.js.map +0 -1
  78. /package/dist/chunks/{5347.76715392.js.LICENSE.txt → 5347.a2da1ea8.js.LICENSE.txt} +0 -0
  79. /package/dist/chunks/{eo-auto-complete.3c25ef04.js.LICENSE.txt → eo-auto-complete.8f047c94.js.LICENSE.txt} +0 -0
  80. /package/dist/chunks/{eo-dynamic-form-item.96fdc2f1.js.LICENSE.txt → eo-dynamic-form-item.3907deeb.js.LICENSE.txt} +0 -0
  81. /package/dist/chunks/{eo-icon-select.b7ec93c9.js.LICENSE.txt → eo-icon-select.3db79661.js.LICENSE.txt} +0 -0
  82. /package/dist/chunks/{eo-radio.3b5b1a87.js.LICENSE.txt → eo-radio.8c18d259.js.LICENSE.txt} +0 -0
  83. /package/dist/chunks/{eo-select.0c8b186c.js.LICENSE.txt → eo-select.bcb07d7d.js.LICENSE.txt} +0 -0
  84. /package/dist/chunks/{eo-switch.445a7cab.js.LICENSE.txt → eo-switch.a1197bf4.js.LICENSE.txt} +0 -0
  85. /package/dist/chunks/{eo-textarea.7fdd5ac5.js.LICENSE.txt → eo-textarea.87150cfb.js.LICENSE.txt} +0 -0
  86. /package/dist/chunks/{eo-upload-file.794353ba.js.LICENSE.txt → eo-upload-file.41efde6a.js.LICENSE.txt} +0 -0
  87. /package/dist/chunks/{eo-upload-image.50adcd53.js.LICENSE.txt → eo-upload-image.fad8c706.js.LICENSE.txt} +0 -0
@@ -4,101 +4,101 @@
4
4
  "name": "form",
5
5
  "bricks": [
6
6
  {
7
- "name": "eo-textarea",
7
+ "name": "eo-radio",
8
8
  "alias": [
9
- "form.general-textarea"
9
+ "form.general-radio"
10
10
  ],
11
11
  "properties": [
12
12
  {
13
13
  "name": "name",
14
- "description": "字段名称",
14
+ "description": "下拉框字段名",
15
15
  "type": "string"
16
16
  },
17
17
  {
18
18
  "name": "label",
19
- "description": "标签文字",
19
+ "description": "单选框字段说明",
20
20
  "type": "string"
21
21
  },
22
22
  {
23
- "name": "value",
24
- "description": "",
25
- "type": "string"
23
+ "name": "options",
24
+ "description": "单选框选项表",
25
+ "required": true,
26
+ "attribute": false,
27
+ "type": "GeneralOption[]"
26
28
  },
27
29
  {
28
- "name": "placeholder",
29
- "description": "占位说明",
30
- "type": "string"
30
+ "name": "value",
31
+ "description": "单选框当前选中始值",
32
+ "attribute": false,
33
+ "type": "any"
31
34
  },
32
35
  {
33
- "name": "disabled",
34
- "description": "是否禁用",
36
+ "name": "required",
37
+ "description": "是否必填",
35
38
  "type": "boolean"
36
39
  },
37
40
  {
38
- "name": "minLength",
39
- "description": "最小长度",
40
- "type": "number"
41
- },
42
- {
43
- "name": "maxLength",
44
- "description": "最大长度",
45
- "type": "number"
46
- },
47
- {
48
- "name": "autoSize",
49
- "description": "大小自适应",
41
+ "name": "message",
42
+ "description": "校验文本信息",
50
43
  "attribute": false,
51
- "type": "AutoSize"
44
+ "type": "Record<string, string>"
52
45
  },
53
46
  {
54
- "name": "required",
55
- "description": "是否必填",
47
+ "name": "disabled",
48
+ "description": "是否禁用",
56
49
  "type": "boolean"
57
50
  },
58
51
  {
59
- "name": "max",
60
- "description": "表单校验最大长度",
61
- "type": "number"
52
+ "name": "type",
53
+ "description": "单选框样式类型",
54
+ "default": "\"default\"",
55
+ "type": "RadioType"
62
56
  },
63
57
  {
64
- "name": "min",
65
- "description": "表单校验最小长度",
66
- "type": "number"
58
+ "name": "ui",
59
+ "description": "UI样式",
60
+ "default": "\"default\"",
61
+ "type": "UIType"
67
62
  },
68
63
  {
69
- "name": "message",
70
- "description": "校验信息",
71
- "attribute": false,
72
- "type": "Record<string, string>"
64
+ "name": "size",
65
+ "description": "大小,只对按钮样式生效",
66
+ "default": "\"medium\"",
67
+ "type": "ComponentSize"
73
68
  },
74
69
  {
75
- "name": "textareaStyle",
76
- "description": "自定义样式",
70
+ "name": "customStyle",
71
+ "description": "自定义radio的外层样式",
77
72
  "attribute": false,
78
73
  "type": "React.CSSProperties"
74
+ },
75
+ {
76
+ "name": "useBrick",
77
+ "description": "自定义radio的内容",
78
+ "attribute": false,
79
+ "type": "UseSingleBrickConf"
79
80
  }
80
81
  ],
81
82
  "events": [
82
83
  {
83
84
  "name": "change",
84
- "description": "",
85
+ "description": "值变化事件",
85
86
  "detail": {
86
- "description": null,
87
- "type": "string"
87
+ "type": "GeneralComplexOption | undefined"
88
88
  }
89
- }
90
- ],
91
- "slots": [],
92
- "methods": [
89
+ },
93
90
  {
94
- "name": "focusTextarea",
95
- "params": [],
96
- "description": "focus",
97
- "returns": {}
91
+ "name": "options.change",
92
+ "description": "选项列表变化事件",
93
+ "detail": {
94
+ "type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
95
+ }
98
96
  }
99
97
  ],
98
+ "slots": [],
99
+ "methods": [],
100
100
  "parts": [],
101
- "description": "通用多行文本输入框构件",
101
+ "description": "通用单选构件",
102
102
  "category": "form-input-basic"
103
103
  },
104
104
  {
@@ -246,104 +246,6 @@
246
246
  "description": "表单构件",
247
247
  "category": "form-input-basic"
248
248
  },
249
- {
250
- "name": "eo-radio",
251
- "alias": [
252
- "form.general-radio"
253
- ],
254
- "properties": [
255
- {
256
- "name": "name",
257
- "description": "下拉框字段名",
258
- "type": "string"
259
- },
260
- {
261
- "name": "label",
262
- "description": "单选框字段说明",
263
- "type": "string"
264
- },
265
- {
266
- "name": "options",
267
- "description": "单选框选项表",
268
- "required": true,
269
- "attribute": false,
270
- "type": "GeneralOption[]"
271
- },
272
- {
273
- "name": "value",
274
- "description": "单选框当前选中始值",
275
- "attribute": false,
276
- "type": "any"
277
- },
278
- {
279
- "name": "required",
280
- "description": "是否必填",
281
- "type": "boolean"
282
- },
283
- {
284
- "name": "message",
285
- "description": "校验文本信息",
286
- "attribute": false,
287
- "type": "Record<string, string>"
288
- },
289
- {
290
- "name": "disabled",
291
- "description": "是否禁用",
292
- "type": "boolean"
293
- },
294
- {
295
- "name": "type",
296
- "description": "单选框样式类型",
297
- "default": "\"default\"",
298
- "type": "RadioType"
299
- },
300
- {
301
- "name": "ui",
302
- "description": "UI样式",
303
- "default": "\"default\"",
304
- "type": "UIType"
305
- },
306
- {
307
- "name": "size",
308
- "description": "大小,只对按钮样式生效",
309
- "default": "\"medium\"",
310
- "type": "ComponentSize"
311
- },
312
- {
313
- "name": "customStyle",
314
- "description": "自定义radio的外层样式",
315
- "attribute": false,
316
- "type": "React.CSSProperties"
317
- },
318
- {
319
- "name": "useBrick",
320
- "description": "自定义radio的内容",
321
- "attribute": false,
322
- "type": "UseSingleBrickConf"
323
- }
324
- ],
325
- "events": [
326
- {
327
- "name": "change",
328
- "description": "值变化事件",
329
- "detail": {
330
- "type": "GeneralComplexOption | undefined"
331
- }
332
- },
333
- {
334
- "name": "options.change",
335
- "description": "选项列表变化事件",
336
- "detail": {
337
- "type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
338
- }
339
- }
340
- ],
341
- "slots": [],
342
- "methods": [],
343
- "parts": [],
344
- "description": "通用单选构件",
345
- "category": "form-input-basic"
346
- },
347
249
  {
348
250
  "name": "eo-select",
349
251
  "alias": [
@@ -552,6 +454,104 @@
552
454
  "description": "表单提交按钮",
553
455
  "category": "form-input-basic"
554
456
  },
457
+ {
458
+ "name": "eo-textarea",
459
+ "alias": [
460
+ "form.general-textarea"
461
+ ],
462
+ "properties": [
463
+ {
464
+ "name": "name",
465
+ "description": "字段名称",
466
+ "type": "string"
467
+ },
468
+ {
469
+ "name": "label",
470
+ "description": "标签文字",
471
+ "type": "string"
472
+ },
473
+ {
474
+ "name": "value",
475
+ "description": "值",
476
+ "type": "string"
477
+ },
478
+ {
479
+ "name": "placeholder",
480
+ "description": "占位说明",
481
+ "type": "string"
482
+ },
483
+ {
484
+ "name": "disabled",
485
+ "description": "是否禁用",
486
+ "type": "boolean"
487
+ },
488
+ {
489
+ "name": "minLength",
490
+ "description": "最小长度",
491
+ "type": "number"
492
+ },
493
+ {
494
+ "name": "maxLength",
495
+ "description": "最大长度",
496
+ "type": "number"
497
+ },
498
+ {
499
+ "name": "autoSize",
500
+ "description": "大小自适应",
501
+ "attribute": false,
502
+ "type": "AutoSize"
503
+ },
504
+ {
505
+ "name": "required",
506
+ "description": "是否必填",
507
+ "type": "boolean"
508
+ },
509
+ {
510
+ "name": "max",
511
+ "description": "表单校验最大长度",
512
+ "type": "number"
513
+ },
514
+ {
515
+ "name": "min",
516
+ "description": "表单校验最小长度",
517
+ "type": "number"
518
+ },
519
+ {
520
+ "name": "message",
521
+ "description": "校验信息",
522
+ "attribute": false,
523
+ "type": "Record<string, string>"
524
+ },
525
+ {
526
+ "name": "textareaStyle",
527
+ "description": "自定义样式",
528
+ "attribute": false,
529
+ "type": "React.CSSProperties"
530
+ }
531
+ ],
532
+ "events": [
533
+ {
534
+ "name": "change",
535
+ "description": "",
536
+ "detail": {
537
+ "description": null,
538
+ "type": "string"
539
+ }
540
+ }
541
+ ],
542
+ "slots": [],
543
+ "methods": [
544
+ {
545
+ "name": "focusTextarea",
546
+ "params": [],
547
+ "description": "focus",
548
+ "returns": {}
549
+ }
550
+ ],
551
+ "parts": [],
552
+ "description": "通用多行文本输入框构件",
553
+ "category": "form-input-basic"
554
+ },
555
555
  {
556
556
  "name": "eo-checkbox",
557
557
  "alias": [
@@ -736,6 +736,73 @@
736
736
  "description": "动态表单",
737
737
  "category": "form-input-basic"
738
738
  },
739
+ {
740
+ "name": "eo-search",
741
+ "alias": [
742
+ "form.general-search"
743
+ ],
744
+ "properties": [
745
+ {
746
+ "name": "value",
747
+ "description": "搜索框的值",
748
+ "default": "\"\"",
749
+ "type": "string"
750
+ },
751
+ {
752
+ "name": "placeholder",
753
+ "description": "提示语",
754
+ "type": "string"
755
+ },
756
+ {
757
+ "name": "autoFocus",
758
+ "description": "是否自动聚焦",
759
+ "type": "boolean"
760
+ },
761
+ {
762
+ "name": "clearable",
763
+ "description": "可以点击清除图标删除内容",
764
+ "type": "boolean"
765
+ },
766
+ {
767
+ "name": "trim",
768
+ "description": "是否剔除前后空格",
769
+ "type": "boolean"
770
+ },
771
+ {
772
+ "name": "debounceTime",
773
+ "description": "默认延迟时间",
774
+ "default": "0",
775
+ "type": "number"
776
+ },
777
+ {
778
+ "name": "inputStyle",
779
+ "description": "输入框样式",
780
+ "attribute": false,
781
+ "type": "CSSProperties"
782
+ }
783
+ ],
784
+ "events": [
785
+ {
786
+ "name": "change",
787
+ "description": "输入的搜索字符,输入变化时触发",
788
+ "detail": {
789
+ "type": "string"
790
+ }
791
+ },
792
+ {
793
+ "name": "search",
794
+ "description": "搜索时触发",
795
+ "detail": {
796
+ "type": "string"
797
+ }
798
+ }
799
+ ],
800
+ "slots": [],
801
+ "methods": [],
802
+ "parts": [],
803
+ "description": "搜索框",
804
+ "category": "interact-basic"
805
+ },
739
806
  {
740
807
  "name": "eo-icon-select",
741
808
  "alias": [
@@ -1309,73 +1376,6 @@
1309
1376
  "description": "日期选择器",
1310
1377
  "category": "form-input-basic"
1311
1378
  },
1312
- {
1313
- "name": "eo-search",
1314
- "alias": [
1315
- "form.general-search"
1316
- ],
1317
- "properties": [
1318
- {
1319
- "name": "value",
1320
- "description": "搜索框的值",
1321
- "default": "\"\"",
1322
- "type": "string"
1323
- },
1324
- {
1325
- "name": "placeholder",
1326
- "description": "提示语",
1327
- "type": "string"
1328
- },
1329
- {
1330
- "name": "autoFocus",
1331
- "description": "是否自动聚焦",
1332
- "type": "boolean"
1333
- },
1334
- {
1335
- "name": "clearable",
1336
- "description": "可以点击清除图标删除内容",
1337
- "type": "boolean"
1338
- },
1339
- {
1340
- "name": "trim",
1341
- "description": "是否剔除前后空格",
1342
- "type": "boolean"
1343
- },
1344
- {
1345
- "name": "debounceTime",
1346
- "description": "默认延迟时间",
1347
- "default": "0",
1348
- "type": "number"
1349
- },
1350
- {
1351
- "name": "inputStyle",
1352
- "description": "输入框样式",
1353
- "attribute": false,
1354
- "type": "CSSProperties"
1355
- }
1356
- ],
1357
- "events": [
1358
- {
1359
- "name": "change",
1360
- "description": "输入的搜索字符,输入变化时触发",
1361
- "detail": {
1362
- "type": "string"
1363
- }
1364
- },
1365
- {
1366
- "name": "search",
1367
- "description": "搜索时触发",
1368
- "detail": {
1369
- "type": "string"
1370
- }
1371
- }
1372
- ],
1373
- "slots": [],
1374
- "methods": [],
1375
- "parts": [],
1376
- "description": "搜索框",
1377
- "category": "interact-basic"
1378
- },
1379
1379
  {
1380
1380
  "name": "eo-time-range-picker",
1381
1381
  "properties": [