@next-bricks/form 1.9.2 → 1.9.4

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 (43) hide show
  1. package/dist/bricks.json +15 -15
  2. package/dist/chunks/1337.86078f5e.js +2 -0
  3. package/dist/chunks/1337.86078f5e.js.map +1 -0
  4. package/dist/chunks/7721.09baecc4.js +3 -0
  5. package/dist/chunks/7721.09baecc4.js.map +1 -0
  6. package/dist/chunks/eo-auto-complete.02f91029.js +3 -0
  7. package/dist/chunks/eo-auto-complete.02f91029.js.map +1 -0
  8. package/dist/chunks/{eo-checkbox.b4956dea.js → eo-checkbox.d15b0afb.js} +2 -2
  9. package/dist/chunks/eo-checkbox.d15b0afb.js.map +1 -0
  10. package/dist/chunks/{eo-form.950a4fa5.js → eo-form.19913e06.js} +2 -2
  11. package/dist/chunks/eo-form.19913e06.js.map +1 -0
  12. package/dist/chunks/eo-radio.53354dcb.js +3 -0
  13. package/dist/chunks/eo-radio.53354dcb.js.map +1 -0
  14. package/dist/chunks/eo-select.05fa1a1e.js +3 -0
  15. package/dist/chunks/eo-select.05fa1a1e.js.map +1 -0
  16. package/dist/chunks/{eo-upload-image.336b484e.js → eo-upload-image.729ca4da.js} +3 -3
  17. package/dist/chunks/eo-upload-image.729ca4da.js.map +1 -0
  18. package/dist/chunks/{main.ea7253fd.js → main.d7b902bd.js} +2 -2
  19. package/dist/chunks/{main.ea7253fd.js.map → main.d7b902bd.js.map} +1 -1
  20. package/dist/examples.json +6 -6
  21. package/dist/{index.b59b9f10.js → index.8f4158a0.js} +2 -2
  22. package/dist/{index.b59b9f10.js.map → index.8f4158a0.js.map} +1 -1
  23. package/dist/manifest.json +152 -152
  24. package/dist/types.json +180 -180
  25. package/package.json +2 -2
  26. package/dist/chunks/1337.18e32d7c.js +0 -2
  27. package/dist/chunks/1337.18e32d7c.js.map +0 -1
  28. package/dist/chunks/7721.d538ed46.js +0 -3
  29. package/dist/chunks/7721.d538ed46.js.map +0 -1
  30. package/dist/chunks/eo-auto-complete.bf5ea5a8.js +0 -3
  31. package/dist/chunks/eo-auto-complete.bf5ea5a8.js.map +0 -1
  32. package/dist/chunks/eo-checkbox.b4956dea.js.map +0 -1
  33. package/dist/chunks/eo-form.950a4fa5.js.map +0 -1
  34. package/dist/chunks/eo-radio.bde94bc4.js +0 -3
  35. package/dist/chunks/eo-radio.bde94bc4.js.map +0 -1
  36. package/dist/chunks/eo-select.6485c749.js +0 -3
  37. package/dist/chunks/eo-select.6485c749.js.map +0 -1
  38. package/dist/chunks/eo-upload-image.336b484e.js.map +0 -1
  39. /package/dist/chunks/{7721.d538ed46.js.LICENSE.txt → 7721.09baecc4.js.LICENSE.txt} +0 -0
  40. /package/dist/chunks/{eo-auto-complete.bf5ea5a8.js.LICENSE.txt → eo-auto-complete.02f91029.js.LICENSE.txt} +0 -0
  41. /package/dist/chunks/{eo-radio.bde94bc4.js.LICENSE.txt → eo-radio.53354dcb.js.LICENSE.txt} +0 -0
  42. /package/dist/chunks/{eo-select.6485c749.js.LICENSE.txt → eo-select.05fa1a1e.js.LICENSE.txt} +0 -0
  43. /package/dist/chunks/{eo-upload-image.336b484e.js.LICENSE.txt → eo-upload-image.729ca4da.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": [
@@ -422,97 +513,6 @@
422
513
  "category": "form-input-basic",
423
514
  "insider": true
424
515
  },
425
- {
426
- "name": "eo-textarea",
427
- "alias": [
428
- "form.general-textarea"
429
- ],
430
- "properties": [
431
- {
432
- "name": "name",
433
- "description": "字段名称",
434
- "type": "string"
435
- },
436
- {
437
- "name": "label",
438
- "description": "标签文字",
439
- "type": "string"
440
- },
441
- {
442
- "name": "value",
443
- "description": "值",
444
- "type": "string"
445
- },
446
- {
447
- "name": "placeholder",
448
- "description": "占位说明",
449
- "type": "string"
450
- },
451
- {
452
- "name": "disabled",
453
- "description": "是否禁用",
454
- "type": "boolean"
455
- },
456
- {
457
- "name": "minLength",
458
- "description": "最小长度",
459
- "type": "number"
460
- },
461
- {
462
- "name": "maxLength",
463
- "description": "最大长度",
464
- "type": "number"
465
- },
466
- {
467
- "name": "autoSize",
468
- "description": "大小自适应",
469
- "attribute": false,
470
- "type": "AutoSize"
471
- },
472
- {
473
- "name": "required",
474
- "description": "是否必填",
475
- "type": "boolean"
476
- },
477
- {
478
- "name": "max",
479
- "description": "表单校验最大长度",
480
- "type": "number"
481
- },
482
- {
483
- "name": "min",
484
- "description": "表单校验最小长度",
485
- "type": "number"
486
- },
487
- {
488
- "name": "message",
489
- "description": "校验信息",
490
- "attribute": false,
491
- "type": "Record<string, string>"
492
- },
493
- {
494
- "name": "textareaStyle",
495
- "description": "自定义样式",
496
- "attribute": false,
497
- "type": "React.CSSProperties"
498
- }
499
- ],
500
- "events": [
501
- {
502
- "name": "change",
503
- "description": "",
504
- "detail": {
505
- "description": null,
506
- "type": "string"
507
- }
508
- }
509
- ],
510
- "slots": [],
511
- "methods": [],
512
- "parts": [],
513
- "description": "通用多行文本输入框构件",
514
- "category": "form-input-basic"
515
- },
516
516
  {
517
517
  "name": "eo-radio",
518
518
  "alias": [
@@ -905,67 +905,6 @@
905
905
  "description": "表单复选框构件",
906
906
  "category": "form-input-basic"
907
907
  },
908
- {
909
- "name": "eo-search",
910
- "alias": [
911
- "form.general-search"
912
- ],
913
- "properties": [
914
- {
915
- "name": "value",
916
- "description": "搜索框的值",
917
- "default": "\"\"",
918
- "type": "string"
919
- },
920
- {
921
- "name": "placeholder",
922
- "description": "提示语",
923
- "type": "string"
924
- },
925
- {
926
- "name": "autoFocus",
927
- "description": "是否自动聚焦",
928
- "type": "boolean"
929
- },
930
- {
931
- "name": "clearable",
932
- "description": "可以点击清除图标删除内容",
933
- "type": "boolean"
934
- },
935
- {
936
- "name": "trim",
937
- "description": "是否剔除前后空格",
938
- "type": "boolean"
939
- },
940
- {
941
- "name": "debounceTime",
942
- "description": "默认延迟时间",
943
- "default": "0",
944
- "type": "number"
945
- }
946
- ],
947
- "events": [
948
- {
949
- "name": "change",
950
- "description": "输入的搜索字符,输入变化时触发",
951
- "detail": {
952
- "type": "string"
953
- }
954
- },
955
- {
956
- "name": "search",
957
- "description": "搜索时触发",
958
- "detail": {
959
- "type": "string"
960
- }
961
- }
962
- ],
963
- "slots": [],
964
- "methods": [],
965
- "parts": [],
966
- "description": "搜索框",
967
- "category": "form-input-basic"
968
- },
969
908
  {
970
909
  "name": "eo-dynamic-form-item",
971
910
  "alias": [
@@ -1058,6 +997,67 @@
1058
997
  "description": "动态表单",
1059
998
  "category": "form-input-basic"
1060
999
  },
1000
+ {
1001
+ "name": "eo-search",
1002
+ "alias": [
1003
+ "form.general-search"
1004
+ ],
1005
+ "properties": [
1006
+ {
1007
+ "name": "value",
1008
+ "description": "搜索框的值",
1009
+ "default": "\"\"",
1010
+ "type": "string"
1011
+ },
1012
+ {
1013
+ "name": "placeholder",
1014
+ "description": "提示语",
1015
+ "type": "string"
1016
+ },
1017
+ {
1018
+ "name": "autoFocus",
1019
+ "description": "是否自动聚焦",
1020
+ "type": "boolean"
1021
+ },
1022
+ {
1023
+ "name": "clearable",
1024
+ "description": "可以点击清除图标删除内容",
1025
+ "type": "boolean"
1026
+ },
1027
+ {
1028
+ "name": "trim",
1029
+ "description": "是否剔除前后空格",
1030
+ "type": "boolean"
1031
+ },
1032
+ {
1033
+ "name": "debounceTime",
1034
+ "description": "默认延迟时间",
1035
+ "default": "0",
1036
+ "type": "number"
1037
+ }
1038
+ ],
1039
+ "events": [
1040
+ {
1041
+ "name": "change",
1042
+ "description": "输入的搜索字符,输入变化时触发",
1043
+ "detail": {
1044
+ "type": "string"
1045
+ }
1046
+ },
1047
+ {
1048
+ "name": "search",
1049
+ "description": "搜索时触发",
1050
+ "detail": {
1051
+ "type": "string"
1052
+ }
1053
+ }
1054
+ ],
1055
+ "slots": [],
1056
+ "methods": [],
1057
+ "parts": [],
1058
+ "description": "搜索框",
1059
+ "category": "form-input-basic"
1060
+ },
1061
1061
  {
1062
1062
  "name": "eo-icon-select",
1063
1063
  "alias": [
package/dist/types.json CHANGED
@@ -2391,6 +2391,186 @@
2391
2391
  }
2392
2392
  ]
2393
2393
  },
2394
+ "eo-textarea": {
2395
+ "properties": [
2396
+ {
2397
+ "name": "name",
2398
+ "annotation": {
2399
+ "type": "keyword",
2400
+ "value": "string"
2401
+ }
2402
+ },
2403
+ {
2404
+ "name": "label",
2405
+ "annotation": {
2406
+ "type": "keyword",
2407
+ "value": "string"
2408
+ }
2409
+ },
2410
+ {
2411
+ "name": "value",
2412
+ "annotation": {
2413
+ "type": "keyword",
2414
+ "value": "string"
2415
+ }
2416
+ },
2417
+ {
2418
+ "name": "placeholder",
2419
+ "annotation": {
2420
+ "type": "keyword",
2421
+ "value": "string"
2422
+ }
2423
+ },
2424
+ {
2425
+ "name": "disabled",
2426
+ "annotation": {
2427
+ "type": "keyword",
2428
+ "value": "boolean"
2429
+ }
2430
+ },
2431
+ {
2432
+ "name": "minLength",
2433
+ "annotation": {
2434
+ "type": "keyword",
2435
+ "value": "number"
2436
+ }
2437
+ },
2438
+ {
2439
+ "name": "maxLength",
2440
+ "annotation": {
2441
+ "type": "keyword",
2442
+ "value": "number"
2443
+ }
2444
+ },
2445
+ {
2446
+ "name": "autoSize",
2447
+ "annotation": {
2448
+ "type": "reference",
2449
+ "typeName": {
2450
+ "type": "identifier",
2451
+ "name": "AutoSize"
2452
+ }
2453
+ }
2454
+ },
2455
+ {
2456
+ "name": "required",
2457
+ "annotation": {
2458
+ "type": "keyword",
2459
+ "value": "boolean"
2460
+ }
2461
+ },
2462
+ {
2463
+ "name": "max",
2464
+ "annotation": {
2465
+ "type": "keyword",
2466
+ "value": "number"
2467
+ }
2468
+ },
2469
+ {
2470
+ "name": "min",
2471
+ "annotation": {
2472
+ "type": "keyword",
2473
+ "value": "number"
2474
+ }
2475
+ },
2476
+ {
2477
+ "name": "message",
2478
+ "annotation": {
2479
+ "type": "reference",
2480
+ "typeName": {
2481
+ "type": "identifier",
2482
+ "name": "Record"
2483
+ },
2484
+ "typeParameters": {
2485
+ "type": "typeParameterInstantiation",
2486
+ "params": [
2487
+ {
2488
+ "type": "keyword",
2489
+ "value": "string"
2490
+ },
2491
+ {
2492
+ "type": "keyword",
2493
+ "value": "string"
2494
+ }
2495
+ ]
2496
+ }
2497
+ }
2498
+ },
2499
+ {
2500
+ "name": "textareaStyle",
2501
+ "annotation": {
2502
+ "type": "reference",
2503
+ "typeName": {
2504
+ "type": "qualifiedName",
2505
+ "left": {
2506
+ "type": "identifier",
2507
+ "name": "React"
2508
+ },
2509
+ "right": {
2510
+ "type": "identifier",
2511
+ "name": "CSSProperties"
2512
+ }
2513
+ }
2514
+ }
2515
+ }
2516
+ ],
2517
+ "events": [
2518
+ {
2519
+ "name": "change",
2520
+ "detail": {
2521
+ "annotation": {
2522
+ "type": "keyword",
2523
+ "value": "string"
2524
+ }
2525
+ }
2526
+ }
2527
+ ],
2528
+ "methods": [],
2529
+ "types": [
2530
+ {
2531
+ "type": "typeAlias",
2532
+ "name": "AutoSize",
2533
+ "annotation": {
2534
+ "type": "union",
2535
+ "types": [
2536
+ {
2537
+ "type": "keyword",
2538
+ "value": "boolean"
2539
+ },
2540
+ {
2541
+ "type": "typeLiteral",
2542
+ "members": [
2543
+ {
2544
+ "type": "propertySignature",
2545
+ "key": {
2546
+ "type": "identifier",
2547
+ "name": "minRows"
2548
+ },
2549
+ "annotation": {
2550
+ "type": "keyword",
2551
+ "value": "number"
2552
+ },
2553
+ "computed": false
2554
+ },
2555
+ {
2556
+ "type": "propertySignature",
2557
+ "key": {
2558
+ "type": "identifier",
2559
+ "name": "maxRows"
2560
+ },
2561
+ "annotation": {
2562
+ "type": "keyword",
2563
+ "value": "number"
2564
+ },
2565
+ "computed": false
2566
+ }
2567
+ ]
2568
+ }
2569
+ ]
2570
+ }
2571
+ }
2572
+ ]
2573
+ },
2394
2574
  "eo-form-item": {
2395
2575
  "properties": [
2396
2576
  {
@@ -2611,186 +2791,6 @@
2611
2791
  }
2612
2792
  ]
2613
2793
  },
2614
- "eo-textarea": {
2615
- "properties": [
2616
- {
2617
- "name": "name",
2618
- "annotation": {
2619
- "type": "keyword",
2620
- "value": "string"
2621
- }
2622
- },
2623
- {
2624
- "name": "label",
2625
- "annotation": {
2626
- "type": "keyword",
2627
- "value": "string"
2628
- }
2629
- },
2630
- {
2631
- "name": "value",
2632
- "annotation": {
2633
- "type": "keyword",
2634
- "value": "string"
2635
- }
2636
- },
2637
- {
2638
- "name": "placeholder",
2639
- "annotation": {
2640
- "type": "keyword",
2641
- "value": "string"
2642
- }
2643
- },
2644
- {
2645
- "name": "disabled",
2646
- "annotation": {
2647
- "type": "keyword",
2648
- "value": "boolean"
2649
- }
2650
- },
2651
- {
2652
- "name": "minLength",
2653
- "annotation": {
2654
- "type": "keyword",
2655
- "value": "number"
2656
- }
2657
- },
2658
- {
2659
- "name": "maxLength",
2660
- "annotation": {
2661
- "type": "keyword",
2662
- "value": "number"
2663
- }
2664
- },
2665
- {
2666
- "name": "autoSize",
2667
- "annotation": {
2668
- "type": "reference",
2669
- "typeName": {
2670
- "type": "identifier",
2671
- "name": "AutoSize"
2672
- }
2673
- }
2674
- },
2675
- {
2676
- "name": "required",
2677
- "annotation": {
2678
- "type": "keyword",
2679
- "value": "boolean"
2680
- }
2681
- },
2682
- {
2683
- "name": "max",
2684
- "annotation": {
2685
- "type": "keyword",
2686
- "value": "number"
2687
- }
2688
- },
2689
- {
2690
- "name": "min",
2691
- "annotation": {
2692
- "type": "keyword",
2693
- "value": "number"
2694
- }
2695
- },
2696
- {
2697
- "name": "message",
2698
- "annotation": {
2699
- "type": "reference",
2700
- "typeName": {
2701
- "type": "identifier",
2702
- "name": "Record"
2703
- },
2704
- "typeParameters": {
2705
- "type": "typeParameterInstantiation",
2706
- "params": [
2707
- {
2708
- "type": "keyword",
2709
- "value": "string"
2710
- },
2711
- {
2712
- "type": "keyword",
2713
- "value": "string"
2714
- }
2715
- ]
2716
- }
2717
- }
2718
- },
2719
- {
2720
- "name": "textareaStyle",
2721
- "annotation": {
2722
- "type": "reference",
2723
- "typeName": {
2724
- "type": "qualifiedName",
2725
- "left": {
2726
- "type": "identifier",
2727
- "name": "React"
2728
- },
2729
- "right": {
2730
- "type": "identifier",
2731
- "name": "CSSProperties"
2732
- }
2733
- }
2734
- }
2735
- }
2736
- ],
2737
- "events": [
2738
- {
2739
- "name": "change",
2740
- "detail": {
2741
- "annotation": {
2742
- "type": "keyword",
2743
- "value": "string"
2744
- }
2745
- }
2746
- }
2747
- ],
2748
- "methods": [],
2749
- "types": [
2750
- {
2751
- "type": "typeAlias",
2752
- "name": "AutoSize",
2753
- "annotation": {
2754
- "type": "union",
2755
- "types": [
2756
- {
2757
- "type": "keyword",
2758
- "value": "boolean"
2759
- },
2760
- {
2761
- "type": "typeLiteral",
2762
- "members": [
2763
- {
2764
- "type": "propertySignature",
2765
- "key": {
2766
- "type": "identifier",
2767
- "name": "minRows"
2768
- },
2769
- "annotation": {
2770
- "type": "keyword",
2771
- "value": "number"
2772
- },
2773
- "computed": false
2774
- },
2775
- {
2776
- "type": "propertySignature",
2777
- "key": {
2778
- "type": "identifier",
2779
- "name": "maxRows"
2780
- },
2781
- "annotation": {
2782
- "type": "keyword",
2783
- "value": "number"
2784
- },
2785
- "computed": false
2786
- }
2787
- ]
2788
- }
2789
- ]
2790
- }
2791
- }
2792
- ]
2793
- },
2794
2794
  "eo-dynamic-form-item": {
2795
2795
  "properties": [
2796
2796
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/form",
3
- "version": "1.9.2",
3
+ "version": "1.9.4",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/form",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,5 +43,5 @@
43
43
  "@next-bricks/icons": "*",
44
44
  "@next-bricks/illustrations": "*"
45
45
  },
46
- "gitHead": "d384a5e87d8a02b6b91c51b1e12b582f9f255c9c"
46
+ "gitHead": "62bc6238805787ec219a63f02abee6ea272f1de5"
47
47
  }