@next-bricks/form 1.3.0 → 1.3.2

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 (58) hide show
  1. package/dist/bricks.json +13 -13
  2. package/dist/chunks/{242.8c275ad8.js → 242.661971c3.js} +2 -2
  3. package/dist/chunks/{242.8c275ad8.js.map → 242.661971c3.js.map} +1 -1
  4. package/dist/chunks/4540.86eec3d1.js +2 -0
  5. package/dist/chunks/4540.86eec3d1.js.map +1 -0
  6. package/dist/chunks/{7861.7dd8e975.js → 7861.9ace0e6c.js} +2 -2
  7. package/dist/chunks/{7861.7dd8e975.js.map → 7861.9ace0e6c.js.map} +1 -1
  8. package/dist/chunks/9648.410ee5bc.js +2 -0
  9. package/dist/chunks/9648.410ee5bc.js.map +1 -0
  10. package/dist/chunks/{eo-checkbox.edfc708c.js → eo-checkbox.d54515b0.js} +2 -2
  11. package/dist/chunks/{eo-checkbox.edfc708c.js.map → eo-checkbox.d54515b0.js.map} +1 -1
  12. package/dist/chunks/{eo-date-picker.aec18c09.js → eo-date-picker.f69fd5b2.js} +2 -2
  13. package/dist/chunks/{eo-date-picker.aec18c09.js.map → eo-date-picker.f69fd5b2.js.map} +1 -1
  14. package/dist/chunks/{eo-dynamic-form-item.6893fb2c.js → eo-dynamic-form-item.9c6ebf1f.js} +3 -3
  15. package/dist/chunks/{eo-dynamic-form-item.6893fb2c.js.map → eo-dynamic-form-item.9c6ebf1f.js.map} +1 -1
  16. package/dist/chunks/{eo-form-item.b37a9c8b.js → eo-form-item.c4dc29cf.js} +3 -3
  17. package/dist/chunks/{eo-form-item.b37a9c8b.js.map → eo-form-item.c4dc29cf.js.map} +1 -1
  18. package/dist/chunks/eo-input.4d30b1b1.js +3 -0
  19. package/dist/chunks/eo-input.4d30b1b1.js.map +1 -0
  20. package/dist/chunks/eo-radio.3766e166.js +3 -0
  21. package/dist/chunks/eo-radio.3766e166.js.map +1 -0
  22. package/dist/chunks/eo-search.70856263.js +2 -0
  23. package/dist/chunks/eo-search.70856263.js.map +1 -0
  24. package/dist/chunks/{eo-select.8d7a70a3.js → eo-select.1b9f6161.js} +3 -3
  25. package/dist/chunks/{eo-select.8d7a70a3.js.map → eo-select.1b9f6161.js.map} +1 -1
  26. package/dist/chunks/{eo-time-picker.986a098e.js → eo-time-picker.5880be32.js} +2 -2
  27. package/dist/chunks/{eo-time-picker.986a098e.js.map → eo-time-picker.5880be32.js.map} +1 -1
  28. package/dist/chunks/{eo-time-range-picker.d55f4299.js → eo-time-range-picker.8801c45d.js} +2 -2
  29. package/dist/chunks/{eo-time-range-picker.d55f4299.js.map → eo-time-range-picker.8801c45d.js.map} +1 -1
  30. package/dist/chunks/{eo-upload-file.028e44dc.js → eo-upload-file.cf3a88b0.js} +3 -3
  31. package/dist/chunks/{eo-upload-file.028e44dc.js.map → eo-upload-file.cf3a88b0.js.map} +1 -1
  32. package/dist/chunks/{eo-upload-image.27caca05.js → eo-upload-image.b9f8010b.js} +3 -3
  33. package/dist/chunks/{eo-upload-image.27caca05.js.map → eo-upload-image.b9f8010b.js.map} +1 -1
  34. package/dist/chunks/{main.73e5e0f8.js → main.2f0396fd.js} +2 -2
  35. package/dist/chunks/{main.73e5e0f8.js.map → main.2f0396fd.js.map} +1 -1
  36. package/dist/examples.json +5 -5
  37. package/dist/{index.d2951838.js → index.edffb992.js} +2 -2
  38. package/dist/{index.d2951838.js.map → index.edffb992.js.map} +1 -1
  39. package/dist/manifest.json +189 -189
  40. package/dist/types.json +1261 -1292
  41. package/package.json +3 -3
  42. package/dist/chunks/5400.7346181a.js +0 -2
  43. package/dist/chunks/5400.7346181a.js.map +0 -1
  44. package/dist/chunks/9648.d4a5738b.js +0 -2
  45. package/dist/chunks/9648.d4a5738b.js.map +0 -1
  46. package/dist/chunks/eo-input.b3384704.js +0 -3
  47. package/dist/chunks/eo-input.b3384704.js.map +0 -1
  48. package/dist/chunks/eo-radio.918b4712.js +0 -3
  49. package/dist/chunks/eo-radio.918b4712.js.map +0 -1
  50. package/dist/chunks/eo-search.2d7a308f.js +0 -2
  51. package/dist/chunks/eo-search.2d7a308f.js.map +0 -1
  52. /package/dist/chunks/{eo-dynamic-form-item.6893fb2c.js.LICENSE.txt → eo-dynamic-form-item.9c6ebf1f.js.LICENSE.txt} +0 -0
  53. /package/dist/chunks/{eo-form-item.b37a9c8b.js.LICENSE.txt → eo-form-item.c4dc29cf.js.LICENSE.txt} +0 -0
  54. /package/dist/chunks/{eo-input.b3384704.js.LICENSE.txt → eo-input.4d30b1b1.js.LICENSE.txt} +0 -0
  55. /package/dist/chunks/{eo-radio.918b4712.js.LICENSE.txt → eo-radio.3766e166.js.LICENSE.txt} +0 -0
  56. /package/dist/chunks/{eo-select.8d7a70a3.js.LICENSE.txt → eo-select.1b9f6161.js.LICENSE.txt} +0 -0
  57. /package/dist/chunks/{eo-upload-file.028e44dc.js.LICENSE.txt → eo-upload-file.cf3a88b0.js.LICENSE.txt} +0 -0
  58. /package/dist/chunks/{eo-upload-image.27caca05.js.LICENSE.txt → eo-upload-image.b9f8010b.js.LICENSE.txt} +0 -0
@@ -188,6 +188,97 @@
188
188
  "description": "通用输入框构件",
189
189
  "category": "form-input-basic"
190
190
  },
191
+ {
192
+ "name": "eo-textarea",
193
+ "alias": [
194
+ "form.general-textarea"
195
+ ],
196
+ "properties": [
197
+ {
198
+ "name": "name",
199
+ "description": "字段名称",
200
+ "type": "string"
201
+ },
202
+ {
203
+ "name": "label",
204
+ "description": "标签文字",
205
+ "type": "string"
206
+ },
207
+ {
208
+ "name": "value",
209
+ "description": "值",
210
+ "type": "string"
211
+ },
212
+ {
213
+ "name": "placeholder",
214
+ "description": "占位说明",
215
+ "type": "string"
216
+ },
217
+ {
218
+ "name": "disabled",
219
+ "description": "是否禁用",
220
+ "type": "boolean"
221
+ },
222
+ {
223
+ "name": "minLength",
224
+ "description": "最小长度",
225
+ "type": "number"
226
+ },
227
+ {
228
+ "name": "maxLength",
229
+ "description": "最大长度",
230
+ "type": "number"
231
+ },
232
+ {
233
+ "name": "autoSize",
234
+ "description": "大小自适应",
235
+ "attribute": false,
236
+ "type": "AutoSize"
237
+ },
238
+ {
239
+ "name": "required",
240
+ "description": "是否必填",
241
+ "type": "boolean"
242
+ },
243
+ {
244
+ "name": "max",
245
+ "description": "表单校验最大长度",
246
+ "type": "number"
247
+ },
248
+ {
249
+ "name": "min",
250
+ "description": "表单校验最小长度",
251
+ "type": "number"
252
+ },
253
+ {
254
+ "name": "message",
255
+ "description": "校验信息",
256
+ "attribute": false,
257
+ "type": "Record<string, string>"
258
+ },
259
+ {
260
+ "name": "textareaStyle",
261
+ "description": "自定义样式",
262
+ "attribute": false,
263
+ "type": "React.CSSProperties"
264
+ }
265
+ ],
266
+ "events": [
267
+ {
268
+ "name": "change",
269
+ "description": "",
270
+ "detail": {
271
+ "description": null,
272
+ "type": "string"
273
+ }
274
+ }
275
+ ],
276
+ "slots": [],
277
+ "methods": [],
278
+ "parts": [],
279
+ "description": "通用多行文本输入框构件",
280
+ "category": "form-input-basic"
281
+ },
191
282
  {
192
283
  "name": "eo-form",
193
284
  "alias": [
@@ -319,97 +410,6 @@
319
410
  "description": "表单构件",
320
411
  "category": "form-input-basic"
321
412
  },
322
- {
323
- "name": "eo-textarea",
324
- "alias": [
325
- "form.general-textarea"
326
- ],
327
- "properties": [
328
- {
329
- "name": "name",
330
- "description": "字段名称",
331
- "type": "string"
332
- },
333
- {
334
- "name": "label",
335
- "description": "标签文字",
336
- "type": "string"
337
- },
338
- {
339
- "name": "value",
340
- "description": "值",
341
- "type": "string"
342
- },
343
- {
344
- "name": "placeholder",
345
- "description": "占位说明",
346
- "type": "string"
347
- },
348
- {
349
- "name": "disabled",
350
- "description": "是否禁用",
351
- "type": "boolean"
352
- },
353
- {
354
- "name": "minLength",
355
- "description": "最小长度",
356
- "type": "number"
357
- },
358
- {
359
- "name": "maxLength",
360
- "description": "最大长度",
361
- "type": "number"
362
- },
363
- {
364
- "name": "autoSize",
365
- "description": "大小自适应",
366
- "attribute": false,
367
- "type": "AutoSize"
368
- },
369
- {
370
- "name": "required",
371
- "description": "是否必填",
372
- "type": "boolean"
373
- },
374
- {
375
- "name": "max",
376
- "description": "表单校验最大长度",
377
- "type": "number"
378
- },
379
- {
380
- "name": "min",
381
- "description": "表单校验最小长度",
382
- "type": "number"
383
- },
384
- {
385
- "name": "message",
386
- "description": "校验信息",
387
- "attribute": false,
388
- "type": "Record<string, string>"
389
- },
390
- {
391
- "name": "textareaStyle",
392
- "description": "自定义样式",
393
- "attribute": false,
394
- "type": "React.CSSProperties"
395
- }
396
- ],
397
- "events": [
398
- {
399
- "name": "change",
400
- "description": "",
401
- "detail": {
402
- "description": null,
403
- "type": "string"
404
- }
405
- }
406
- ],
407
- "slots": [],
408
- "methods": [],
409
- "parts": [],
410
- "description": "通用多行文本输入框构件",
411
- "category": "form-input-basic"
412
- },
413
413
  {
414
414
  "name": "eo-form-item",
415
415
  "alias": [
@@ -509,6 +509,104 @@
509
509
  "category": "form-input-basic",
510
510
  "insider": true
511
511
  },
512
+ {
513
+ "name": "eo-radio",
514
+ "alias": [
515
+ "form.general-radio"
516
+ ],
517
+ "properties": [
518
+ {
519
+ "name": "name",
520
+ "description": "下拉框字段名",
521
+ "type": "string"
522
+ },
523
+ {
524
+ "name": "label",
525
+ "description": "单选框字段说明",
526
+ "type": "string"
527
+ },
528
+ {
529
+ "name": "options",
530
+ "description": "单选框选项表",
531
+ "required": true,
532
+ "attribute": false,
533
+ "type": "GeneralOption[]"
534
+ },
535
+ {
536
+ "name": "value",
537
+ "description": "单选框当前选中始值",
538
+ "attribute": false,
539
+ "type": "any"
540
+ },
541
+ {
542
+ "name": "required",
543
+ "description": "是否必填",
544
+ "type": "boolean"
545
+ },
546
+ {
547
+ "name": "message",
548
+ "description": "校验文本信息",
549
+ "attribute": false,
550
+ "type": "Record<string, string>"
551
+ },
552
+ {
553
+ "name": "disabled",
554
+ "description": "是否禁用",
555
+ "type": "boolean"
556
+ },
557
+ {
558
+ "name": "type",
559
+ "description": "单选框样式类型",
560
+ "default": "\"default\"",
561
+ "type": "RadioType"
562
+ },
563
+ {
564
+ "name": "ui",
565
+ "description": "UI样式",
566
+ "default": "\"default\"",
567
+ "type": "UIType"
568
+ },
569
+ {
570
+ "name": "size",
571
+ "description": "大小,只对按钮样式生效",
572
+ "default": "\"medium\"",
573
+ "type": "ComponentSize"
574
+ },
575
+ {
576
+ "name": "customStyle",
577
+ "description": "自定义radio的外层样式",
578
+ "attribute": false,
579
+ "type": "React.CSSProperties"
580
+ },
581
+ {
582
+ "name": "useBrick",
583
+ "description": "自定义radio的内容",
584
+ "attribute": false,
585
+ "type": "UseSingleBrickConf"
586
+ }
587
+ ],
588
+ "events": [
589
+ {
590
+ "name": "change",
591
+ "description": "值变化事件",
592
+ "detail": {
593
+ "type": "GeneralComplexOption | undefined"
594
+ }
595
+ },
596
+ {
597
+ "name": "options.change",
598
+ "description": "选项列表变化事件",
599
+ "detail": {
600
+ "type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
601
+ }
602
+ }
603
+ ],
604
+ "slots": [],
605
+ "methods": [],
606
+ "parts": [],
607
+ "description": "通用单选构件",
608
+ "category": "form-input-basic"
609
+ },
512
610
  {
513
611
  "name": "eo-select",
514
612
  "alias": [
@@ -651,104 +749,6 @@
651
749
  "description": "通用下拉选择构件",
652
750
  "category": "form-input-basic"
653
751
  },
654
- {
655
- "name": "eo-radio",
656
- "alias": [
657
- "form.general-radio"
658
- ],
659
- "properties": [
660
- {
661
- "name": "name",
662
- "description": "下拉框字段名",
663
- "type": "string"
664
- },
665
- {
666
- "name": "label",
667
- "description": "单选框字段说明",
668
- "type": "string"
669
- },
670
- {
671
- "name": "options",
672
- "description": "单选框选项表",
673
- "required": true,
674
- "attribute": false,
675
- "type": "GeneralOption[]"
676
- },
677
- {
678
- "name": "value",
679
- "description": "单选框当前选中始值",
680
- "attribute": false,
681
- "type": "any"
682
- },
683
- {
684
- "name": "required",
685
- "description": "是否必填",
686
- "type": "boolean"
687
- },
688
- {
689
- "name": "message",
690
- "description": "校验文本信息",
691
- "attribute": false,
692
- "type": "Record<string, string>"
693
- },
694
- {
695
- "name": "disabled",
696
- "description": "是否禁用",
697
- "type": "boolean"
698
- },
699
- {
700
- "name": "type",
701
- "description": "单选框样式类型",
702
- "default": "\"default\"",
703
- "type": "RadioType"
704
- },
705
- {
706
- "name": "ui",
707
- "description": "UI样式",
708
- "default": "\"default\"",
709
- "type": "UIType"
710
- },
711
- {
712
- "name": "size",
713
- "description": "大小,只对按钮样式生效",
714
- "default": "\"medium\"",
715
- "type": "ComponentSize"
716
- },
717
- {
718
- "name": "customStyle",
719
- "description": "自定义radio的外层样式",
720
- "attribute": false,
721
- "type": "React.CSSProperties"
722
- },
723
- {
724
- "name": "useBrick",
725
- "description": "自定义radio的内容",
726
- "attribute": false,
727
- "type": "UseSingleBrickConf"
728
- }
729
- ],
730
- "events": [
731
- {
732
- "name": "change",
733
- "description": "值变化事件",
734
- "detail": {
735
- "type": "{\n label: string;\n value: any;\n [key: string]: any;\n }"
736
- }
737
- },
738
- {
739
- "name": "options.change",
740
- "description": "选项列表变化事件",
741
- "detail": {
742
- "type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
743
- }
744
- }
745
- ],
746
- "slots": [],
747
- "methods": [],
748
- "parts": [],
749
- "description": "通用单选构件",
750
- "category": "form-input-basic"
751
- },
752
752
  {
753
753
  "name": "eo-submit-buttons",
754
754
  "alias": [