@next-bricks/form 1.13.2 → 1.13.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 (117) hide show
  1. package/dist/bricks.json +3 -3
  2. package/dist/chunks/{1122.1464b5f7.js → 1122.eec09eb1.js} +2 -2
  3. package/dist/chunks/{1122.1464b5f7.js.map → 1122.eec09eb1.js.map} +1 -1
  4. package/dist/chunks/{114.35fbcda8.js → 114.37bf18eb.js} +2 -2
  5. package/dist/chunks/{114.35fbcda8.js.map → 114.37bf18eb.js.map} +1 -1
  6. package/dist/chunks/{1269.ed712797.js → 1269.52b4e847.js} +2 -2
  7. package/dist/chunks/{1269.ed712797.js.map → 1269.52b4e847.js.map} +1 -1
  8. package/dist/chunks/{1940.1024d4dd.js → 1940.5d3d1dbf.js} +2 -2
  9. package/dist/chunks/{1940.1024d4dd.js.map → 1940.5d3d1dbf.js.map} +1 -1
  10. package/dist/chunks/{2277.58fd0b5d.js → 2277.c39a213c.js} +2 -2
  11. package/dist/chunks/{4658.56a37060.js.map → 2277.c39a213c.js.map} +1 -1
  12. package/dist/chunks/{3171.899e9e46.js → 3171.bfa526d0.js} +2 -2
  13. package/dist/chunks/{5552.a3aaa0fb.js.map → 3171.bfa526d0.js.map} +1 -1
  14. package/dist/chunks/{3933.a3953ab3.js → 3933.72905659.js} +2 -2
  15. package/dist/chunks/{6314.f0ffe1ca.js.map → 3933.72905659.js.map} +1 -1
  16. package/dist/chunks/{4658.56a37060.js → 4658.a7becf80.js} +2 -2
  17. package/dist/chunks/{2277.58fd0b5d.js.map → 4658.a7becf80.js.map} +1 -1
  18. package/dist/chunks/4837.da0fe122.js +2 -0
  19. package/dist/chunks/{7218.22824b22.js.map → 4837.da0fe122.js.map} +1 -1
  20. package/dist/chunks/{5552.a3aaa0fb.js → 5552.f2e38477.js} +2 -2
  21. package/dist/chunks/{3171.899e9e46.js.map → 5552.f2e38477.js.map} +1 -1
  22. package/dist/chunks/{6314.f0ffe1ca.js → 6314.cd073def.js} +2 -2
  23. package/dist/chunks/{3933.a3953ab3.js.map → 6314.cd073def.js.map} +1 -1
  24. package/dist/chunks/7218.8e41ef02.js +2 -0
  25. package/dist/chunks/{4837.f5538448.js.map → 7218.8e41ef02.js.map} +1 -1
  26. package/dist/chunks/{7733.c06bbbb9.js → 7733.cfda832d.js} +2 -2
  27. package/dist/chunks/{7733.c06bbbb9.js.map → 7733.cfda832d.js.map} +1 -1
  28. package/dist/chunks/{790.28b2b144.js → 790.4d902e94.js} +2 -2
  29. package/dist/chunks/{790.28b2b144.js.map → 790.4d902e94.js.map} +1 -1
  30. package/dist/chunks/799.afdb809c.js +3 -0
  31. package/dist/chunks/799.afdb809c.js.map +1 -0
  32. package/dist/chunks/9259.db79e3c6.js +3 -0
  33. package/dist/chunks/9259.db79e3c6.js.map +1 -0
  34. package/dist/chunks/{9559.adb5e505.js → 9559.5d9e9834.js} +2 -2
  35. package/dist/chunks/{9559.adb5e505.js.map → 9559.5d9e9834.js.map} +1 -1
  36. package/dist/chunks/{eo-auto-complete.9b255dde.js → eo-auto-complete.f65b6cb6.js} +3 -3
  37. package/dist/chunks/{eo-auto-complete.9b255dde.js.map → eo-auto-complete.f65b6cb6.js.map} +1 -1
  38. package/dist/chunks/{eo-checkbox.f6f6da44.js → eo-checkbox.cdcad3e7.js} +3 -3
  39. package/dist/chunks/{eo-checkbox.f6f6da44.js.map → eo-checkbox.cdcad3e7.js.map} +1 -1
  40. package/dist/chunks/eo-color-picker.e5f183c4.js +2 -0
  41. package/dist/chunks/{eo-color-picker.aec3b352.js.map → eo-color-picker.e5f183c4.js.map} +1 -1
  42. package/dist/chunks/eo-date-picker.95d1c925.js +2 -0
  43. package/dist/chunks/{eo-date-picker.a068145a.js.map → eo-date-picker.95d1c925.js.map} +1 -1
  44. package/dist/chunks/eo-dynamic-form-item.e5bb1558.js +3 -0
  45. package/dist/chunks/{eo-dynamic-form-item.87fc1816.js.map → eo-dynamic-form-item.e5bb1558.js.map} +1 -1
  46. package/dist/chunks/eo-form-item.38e2e6cd.js +3 -0
  47. package/dist/chunks/{eo-form-item.92f16bc1.js.map → eo-form-item.38e2e6cd.js.map} +1 -1
  48. package/dist/chunks/{eo-form.e2369d33.js → eo-form.52b0a429.js} +2 -2
  49. package/dist/chunks/{eo-form.e2369d33.js.map → eo-form.52b0a429.js.map} +1 -1
  50. package/dist/chunks/{eo-icon-select.ac8d0745.js → eo-icon-select.4caa9d3a.js} +3 -3
  51. package/dist/chunks/{eo-icon-select.ac8d0745.js.map → eo-icon-select.4caa9d3a.js.map} +1 -1
  52. package/dist/chunks/{eo-input.47db46ab.js → eo-input.561ca56a.js} +3 -3
  53. package/dist/chunks/{eo-input.47db46ab.js.map → eo-input.561ca56a.js.map} +1 -1
  54. package/dist/chunks/eo-radio.5a6590c0.js +3 -0
  55. package/dist/chunks/eo-radio.5a6590c0.js.map +1 -0
  56. package/dist/chunks/{eo-search.7e169a56.js → eo-search.c98e6353.js} +2 -2
  57. package/dist/chunks/{eo-search.7e169a56.js.map → eo-search.c98e6353.js.map} +1 -1
  58. package/dist/chunks/eo-select.d313c433.js +3 -0
  59. package/dist/chunks/{eo-select.aee01e15.js.map → eo-select.d313c433.js.map} +1 -1
  60. package/dist/chunks/{eo-submit-buttons.37536f54.js → eo-submit-buttons.fec2f3cb.js} +2 -2
  61. package/dist/chunks/{eo-submit-buttons.37536f54.js.map → eo-submit-buttons.fec2f3cb.js.map} +1 -1
  62. package/dist/chunks/{eo-switch.77cfcfc7.js → eo-switch.bcf2da15.js} +3 -3
  63. package/dist/chunks/{eo-switch.77cfcfc7.js.map → eo-switch.bcf2da15.js.map} +1 -1
  64. package/dist/chunks/eo-textarea.e5348ca0.js +2 -0
  65. package/dist/chunks/eo-textarea.e5348ca0.js.map +1 -0
  66. package/dist/chunks/eo-time-picker.04ef402f.js +2 -0
  67. package/dist/chunks/{eo-time-picker.47e85deb.js.map → eo-time-picker.04ef402f.js.map} +1 -1
  68. package/dist/chunks/eo-time-range-picker.865254af.js +2 -0
  69. package/dist/chunks/{eo-time-range-picker.c5728b35.js.map → eo-time-range-picker.865254af.js.map} +1 -1
  70. package/dist/chunks/eo-upload-file.e67d3268.js +3 -0
  71. package/dist/chunks/{eo-upload-file.80033217.js.map → eo-upload-file.e67d3268.js.map} +1 -1
  72. package/dist/chunks/eo-upload-image.b866ae24.js +3 -0
  73. package/dist/chunks/{eo-upload-image.f406cc57.js.map → eo-upload-image.b866ae24.js.map} +1 -1
  74. package/dist/chunks/main.b831a2de.js +2 -0
  75. package/dist/chunks/main.b831a2de.js.map +1 -0
  76. package/dist/examples.json +3 -3
  77. package/dist/index.d99480d8.js +2 -0
  78. package/dist/index.d99480d8.js.map +1 -0
  79. package/dist/manifest.json +98 -98
  80. package/dist/types.json +188 -188
  81. package/package.json +4 -4
  82. package/dist/chunks/4837.f5538448.js +0 -2
  83. package/dist/chunks/7218.22824b22.js +0 -2
  84. package/dist/chunks/799.0d02d664.js +0 -3
  85. package/dist/chunks/799.0d02d664.js.map +0 -1
  86. package/dist/chunks/9259.07a296e4.js +0 -3
  87. package/dist/chunks/9259.07a296e4.js.map +0 -1
  88. package/dist/chunks/eo-color-picker.aec3b352.js +0 -2
  89. package/dist/chunks/eo-date-picker.a068145a.js +0 -2
  90. package/dist/chunks/eo-dynamic-form-item.87fc1816.js +0 -3
  91. package/dist/chunks/eo-form-item.92f16bc1.js +0 -3
  92. package/dist/chunks/eo-radio.3dfef4db.js +0 -3
  93. package/dist/chunks/eo-radio.3dfef4db.js.map +0 -1
  94. package/dist/chunks/eo-select.aee01e15.js +0 -3
  95. package/dist/chunks/eo-textarea.d836fa39.js +0 -2
  96. package/dist/chunks/eo-textarea.d836fa39.js.map +0 -1
  97. package/dist/chunks/eo-time-picker.47e85deb.js +0 -2
  98. package/dist/chunks/eo-time-range-picker.c5728b35.js +0 -2
  99. package/dist/chunks/eo-upload-file.80033217.js +0 -3
  100. package/dist/chunks/eo-upload-image.f406cc57.js +0 -3
  101. package/dist/chunks/main.d2b1b88e.js +0 -2
  102. package/dist/chunks/main.d2b1b88e.js.map +0 -1
  103. package/dist/index.cb5f8add.js +0 -2
  104. package/dist/index.cb5f8add.js.map +0 -1
  105. /package/dist/chunks/{799.0d02d664.js.LICENSE.txt → 799.afdb809c.js.LICENSE.txt} +0 -0
  106. /package/dist/chunks/{9259.07a296e4.js.LICENSE.txt → 9259.db79e3c6.js.LICENSE.txt} +0 -0
  107. /package/dist/chunks/{eo-auto-complete.9b255dde.js.LICENSE.txt → eo-auto-complete.f65b6cb6.js.LICENSE.txt} +0 -0
  108. /package/dist/chunks/{eo-checkbox.f6f6da44.js.LICENSE.txt → eo-checkbox.cdcad3e7.js.LICENSE.txt} +0 -0
  109. /package/dist/chunks/{eo-dynamic-form-item.87fc1816.js.LICENSE.txt → eo-dynamic-form-item.e5bb1558.js.LICENSE.txt} +0 -0
  110. /package/dist/chunks/{eo-form-item.92f16bc1.js.LICENSE.txt → eo-form-item.38e2e6cd.js.LICENSE.txt} +0 -0
  111. /package/dist/chunks/{eo-icon-select.ac8d0745.js.LICENSE.txt → eo-icon-select.4caa9d3a.js.LICENSE.txt} +0 -0
  112. /package/dist/chunks/{eo-input.47db46ab.js.LICENSE.txt → eo-input.561ca56a.js.LICENSE.txt} +0 -0
  113. /package/dist/chunks/{eo-radio.3dfef4db.js.LICENSE.txt → eo-radio.5a6590c0.js.LICENSE.txt} +0 -0
  114. /package/dist/chunks/{eo-select.aee01e15.js.LICENSE.txt → eo-select.d313c433.js.LICENSE.txt} +0 -0
  115. /package/dist/chunks/{eo-switch.77cfcfc7.js.LICENSE.txt → eo-switch.bcf2da15.js.LICENSE.txt} +0 -0
  116. /package/dist/chunks/{eo-upload-file.80033217.js.LICENSE.txt → eo-upload-file.e67d3268.js.LICENSE.txt} +0 -0
  117. /package/dist/chunks/{eo-upload-image.f406cc57.js.LICENSE.txt → eo-upload-image.b866ae24.js.LICENSE.txt} +0 -0
@@ -188,6 +188,104 @@
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
+ {
279
+ "name": "focusTextarea",
280
+ "params": [],
281
+ "description": "focus",
282
+ "returns": {}
283
+ }
284
+ ],
285
+ "parts": [],
286
+ "description": "通用多行文本输入框构件",
287
+ "category": "form-input-basic"
288
+ },
191
289
  {
192
290
  "name": "eo-form",
193
291
  "alias": [
@@ -427,104 +525,6 @@
427
525
  "category": "form-input-basic",
428
526
  "insider": true
429
527
  },
430
- {
431
- "name": "eo-textarea",
432
- "alias": [
433
- "form.general-textarea"
434
- ],
435
- "properties": [
436
- {
437
- "name": "name",
438
- "description": "字段名称",
439
- "type": "string"
440
- },
441
- {
442
- "name": "label",
443
- "description": "标签文字",
444
- "type": "string"
445
- },
446
- {
447
- "name": "value",
448
- "description": "值",
449
- "type": "string"
450
- },
451
- {
452
- "name": "placeholder",
453
- "description": "占位说明",
454
- "type": "string"
455
- },
456
- {
457
- "name": "disabled",
458
- "description": "是否禁用",
459
- "type": "boolean"
460
- },
461
- {
462
- "name": "minLength",
463
- "description": "最小长度",
464
- "type": "number"
465
- },
466
- {
467
- "name": "maxLength",
468
- "description": "最大长度",
469
- "type": "number"
470
- },
471
- {
472
- "name": "autoSize",
473
- "description": "大小自适应",
474
- "attribute": false,
475
- "type": "AutoSize"
476
- },
477
- {
478
- "name": "required",
479
- "description": "是否必填",
480
- "type": "boolean"
481
- },
482
- {
483
- "name": "max",
484
- "description": "表单校验最大长度",
485
- "type": "number"
486
- },
487
- {
488
- "name": "min",
489
- "description": "表单校验最小长度",
490
- "type": "number"
491
- },
492
- {
493
- "name": "message",
494
- "description": "校验信息",
495
- "attribute": false,
496
- "type": "Record<string, string>"
497
- },
498
- {
499
- "name": "textareaStyle",
500
- "description": "自定义样式",
501
- "attribute": false,
502
- "type": "React.CSSProperties"
503
- }
504
- ],
505
- "events": [
506
- {
507
- "name": "change",
508
- "description": "",
509
- "detail": {
510
- "description": null,
511
- "type": "string"
512
- }
513
- }
514
- ],
515
- "slots": [],
516
- "methods": [
517
- {
518
- "name": "focusTextarea",
519
- "params": [],
520
- "description": "focus",
521
- "returns": {}
522
- }
523
- ],
524
- "parts": [],
525
- "description": "通用多行文本输入框构件",
526
- "category": "form-input-basic"
527
- },
528
528
  {
529
529
  "name": "eo-radio",
530
530
  "alias": [
package/dist/types.json CHANGED
@@ -2452,6 +2452,194 @@
2452
2452
  }
2453
2453
  ]
2454
2454
  },
2455
+ "eo-textarea": {
2456
+ "properties": [
2457
+ {
2458
+ "name": "name",
2459
+ "annotation": {
2460
+ "type": "keyword",
2461
+ "value": "string"
2462
+ }
2463
+ },
2464
+ {
2465
+ "name": "label",
2466
+ "annotation": {
2467
+ "type": "keyword",
2468
+ "value": "string"
2469
+ }
2470
+ },
2471
+ {
2472
+ "name": "value",
2473
+ "annotation": {
2474
+ "type": "keyword",
2475
+ "value": "string"
2476
+ }
2477
+ },
2478
+ {
2479
+ "name": "placeholder",
2480
+ "annotation": {
2481
+ "type": "keyword",
2482
+ "value": "string"
2483
+ }
2484
+ },
2485
+ {
2486
+ "name": "disabled",
2487
+ "annotation": {
2488
+ "type": "keyword",
2489
+ "value": "boolean"
2490
+ }
2491
+ },
2492
+ {
2493
+ "name": "minLength",
2494
+ "annotation": {
2495
+ "type": "keyword",
2496
+ "value": "number"
2497
+ }
2498
+ },
2499
+ {
2500
+ "name": "maxLength",
2501
+ "annotation": {
2502
+ "type": "keyword",
2503
+ "value": "number"
2504
+ }
2505
+ },
2506
+ {
2507
+ "name": "autoSize",
2508
+ "annotation": {
2509
+ "type": "reference",
2510
+ "typeName": {
2511
+ "type": "identifier",
2512
+ "name": "AutoSize"
2513
+ }
2514
+ }
2515
+ },
2516
+ {
2517
+ "name": "required",
2518
+ "annotation": {
2519
+ "type": "keyword",
2520
+ "value": "boolean"
2521
+ }
2522
+ },
2523
+ {
2524
+ "name": "max",
2525
+ "annotation": {
2526
+ "type": "keyword",
2527
+ "value": "number"
2528
+ }
2529
+ },
2530
+ {
2531
+ "name": "min",
2532
+ "annotation": {
2533
+ "type": "keyword",
2534
+ "value": "number"
2535
+ }
2536
+ },
2537
+ {
2538
+ "name": "message",
2539
+ "annotation": {
2540
+ "type": "reference",
2541
+ "typeName": {
2542
+ "type": "identifier",
2543
+ "name": "Record"
2544
+ },
2545
+ "typeParameters": {
2546
+ "type": "typeParameterInstantiation",
2547
+ "params": [
2548
+ {
2549
+ "type": "keyword",
2550
+ "value": "string"
2551
+ },
2552
+ {
2553
+ "type": "keyword",
2554
+ "value": "string"
2555
+ }
2556
+ ]
2557
+ }
2558
+ }
2559
+ },
2560
+ {
2561
+ "name": "textareaStyle",
2562
+ "annotation": {
2563
+ "type": "reference",
2564
+ "typeName": {
2565
+ "type": "qualifiedName",
2566
+ "left": {
2567
+ "type": "identifier",
2568
+ "name": "React"
2569
+ },
2570
+ "right": {
2571
+ "type": "identifier",
2572
+ "name": "CSSProperties"
2573
+ }
2574
+ }
2575
+ }
2576
+ }
2577
+ ],
2578
+ "events": [
2579
+ {
2580
+ "name": "change",
2581
+ "detail": {
2582
+ "annotation": {
2583
+ "type": "keyword",
2584
+ "value": "string"
2585
+ }
2586
+ }
2587
+ }
2588
+ ],
2589
+ "methods": [
2590
+ {
2591
+ "name": "focusTextarea",
2592
+ "params": [],
2593
+ "returns": {}
2594
+ }
2595
+ ],
2596
+ "types": [
2597
+ {
2598
+ "type": "typeAlias",
2599
+ "name": "AutoSize",
2600
+ "annotation": {
2601
+ "type": "union",
2602
+ "types": [
2603
+ {
2604
+ "type": "keyword",
2605
+ "value": "boolean"
2606
+ },
2607
+ {
2608
+ "type": "typeLiteral",
2609
+ "members": [
2610
+ {
2611
+ "type": "propertySignature",
2612
+ "key": {
2613
+ "type": "identifier",
2614
+ "name": "minRows"
2615
+ },
2616
+ "annotation": {
2617
+ "type": "keyword",
2618
+ "value": "number"
2619
+ },
2620
+ "optional": true,
2621
+ "computed": false
2622
+ },
2623
+ {
2624
+ "type": "propertySignature",
2625
+ "key": {
2626
+ "type": "identifier",
2627
+ "name": "maxRows"
2628
+ },
2629
+ "annotation": {
2630
+ "type": "keyword",
2631
+ "value": "number"
2632
+ },
2633
+ "optional": true,
2634
+ "computed": false
2635
+ }
2636
+ ]
2637
+ }
2638
+ ]
2639
+ }
2640
+ }
2641
+ ]
2642
+ },
2455
2643
  "eo-form-item": {
2456
2644
  "properties": [
2457
2645
  {
@@ -2672,194 +2860,6 @@
2672
2860
  }
2673
2861
  ]
2674
2862
  },
2675
- "eo-textarea": {
2676
- "properties": [
2677
- {
2678
- "name": "name",
2679
- "annotation": {
2680
- "type": "keyword",
2681
- "value": "string"
2682
- }
2683
- },
2684
- {
2685
- "name": "label",
2686
- "annotation": {
2687
- "type": "keyword",
2688
- "value": "string"
2689
- }
2690
- },
2691
- {
2692
- "name": "value",
2693
- "annotation": {
2694
- "type": "keyword",
2695
- "value": "string"
2696
- }
2697
- },
2698
- {
2699
- "name": "placeholder",
2700
- "annotation": {
2701
- "type": "keyword",
2702
- "value": "string"
2703
- }
2704
- },
2705
- {
2706
- "name": "disabled",
2707
- "annotation": {
2708
- "type": "keyword",
2709
- "value": "boolean"
2710
- }
2711
- },
2712
- {
2713
- "name": "minLength",
2714
- "annotation": {
2715
- "type": "keyword",
2716
- "value": "number"
2717
- }
2718
- },
2719
- {
2720
- "name": "maxLength",
2721
- "annotation": {
2722
- "type": "keyword",
2723
- "value": "number"
2724
- }
2725
- },
2726
- {
2727
- "name": "autoSize",
2728
- "annotation": {
2729
- "type": "reference",
2730
- "typeName": {
2731
- "type": "identifier",
2732
- "name": "AutoSize"
2733
- }
2734
- }
2735
- },
2736
- {
2737
- "name": "required",
2738
- "annotation": {
2739
- "type": "keyword",
2740
- "value": "boolean"
2741
- }
2742
- },
2743
- {
2744
- "name": "max",
2745
- "annotation": {
2746
- "type": "keyword",
2747
- "value": "number"
2748
- }
2749
- },
2750
- {
2751
- "name": "min",
2752
- "annotation": {
2753
- "type": "keyword",
2754
- "value": "number"
2755
- }
2756
- },
2757
- {
2758
- "name": "message",
2759
- "annotation": {
2760
- "type": "reference",
2761
- "typeName": {
2762
- "type": "identifier",
2763
- "name": "Record"
2764
- },
2765
- "typeParameters": {
2766
- "type": "typeParameterInstantiation",
2767
- "params": [
2768
- {
2769
- "type": "keyword",
2770
- "value": "string"
2771
- },
2772
- {
2773
- "type": "keyword",
2774
- "value": "string"
2775
- }
2776
- ]
2777
- }
2778
- }
2779
- },
2780
- {
2781
- "name": "textareaStyle",
2782
- "annotation": {
2783
- "type": "reference",
2784
- "typeName": {
2785
- "type": "qualifiedName",
2786
- "left": {
2787
- "type": "identifier",
2788
- "name": "React"
2789
- },
2790
- "right": {
2791
- "type": "identifier",
2792
- "name": "CSSProperties"
2793
- }
2794
- }
2795
- }
2796
- }
2797
- ],
2798
- "events": [
2799
- {
2800
- "name": "change",
2801
- "detail": {
2802
- "annotation": {
2803
- "type": "keyword",
2804
- "value": "string"
2805
- }
2806
- }
2807
- }
2808
- ],
2809
- "methods": [
2810
- {
2811
- "name": "focusTextarea",
2812
- "params": [],
2813
- "returns": {}
2814
- }
2815
- ],
2816
- "types": [
2817
- {
2818
- "type": "typeAlias",
2819
- "name": "AutoSize",
2820
- "annotation": {
2821
- "type": "union",
2822
- "types": [
2823
- {
2824
- "type": "keyword",
2825
- "value": "boolean"
2826
- },
2827
- {
2828
- "type": "typeLiteral",
2829
- "members": [
2830
- {
2831
- "type": "propertySignature",
2832
- "key": {
2833
- "type": "identifier",
2834
- "name": "minRows"
2835
- },
2836
- "annotation": {
2837
- "type": "keyword",
2838
- "value": "number"
2839
- },
2840
- "optional": true,
2841
- "computed": false
2842
- },
2843
- {
2844
- "type": "propertySignature",
2845
- "key": {
2846
- "type": "identifier",
2847
- "name": "maxRows"
2848
- },
2849
- "annotation": {
2850
- "type": "keyword",
2851
- "value": "number"
2852
- },
2853
- "optional": true,
2854
- "computed": false
2855
- }
2856
- ]
2857
- }
2858
- ]
2859
- }
2860
- }
2861
- ]
2862
- },
2863
2863
  "eo-dynamic-form-item": {
2864
2864
  "properties": [
2865
2865
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/form",
3
- "version": "1.13.2",
3
+ "version": "1.13.4",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/form",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,8 +35,8 @@
35
35
  "postpublish": "mv package.json.bak package.json"
36
36
  },
37
37
  "devDependencies": {
38
- "@next-core/build-next-bricks": "^1.23.0",
39
- "@next-core/test-next": "^1.1.5"
38
+ "@next-core/build-next-bricks": "^1.23.1",
39
+ "@next-core/test-next": "^1.1.6"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@next-bricks/basic": "*",
@@ -44,5 +44,5 @@
44
44
  "@next-bricks/icons": "*",
45
45
  "@next-bricks/illustrations": "*"
46
46
  },
47
- "gitHead": "a2a6d9882bcb2f992b443f4fa6135bb76dce4a70"
47
+ "gitHead": "0642c59fb82dea2ec52c5d8e42e1e0a116aab961"
48
48
  }
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_form=globalThis.webpackChunk_next_bricks_form||[]).push([[4837,7218],{4837:(e,r,t)=>{t.r(r),t.d(r,{ReactUseBrick:()=>c,ReactUseMultipleBricks:()=>u,asyncWrapBrick:()=>k,useCurrentApp:()=>l,useCurrentTheme:()=>o,useLazyWrapBrick:()=>w,useNavConfig:()=>h,useProvider:()=>m,useRecentApps:()=>i,useRouteRender:()=>d});var n=t(8769),s=t(184);let c=function(e){let{useBrick:r,data:t,errorBoundary:c,refCallback:u,ignoredCallback:a}=e;const[o,i]=(0,n.useState)(null),l=(0,n.useRef)(),[d,f]=(0,n.useState)(),p=(0,n.useRef)(0),g=(0,n.useMemo)((()=>{var e;return null===(e=s.__secret_internals.getRenderId)||void 0===e?void 0:e.call(s.__secret_internals)}),[]);(0,n.useEffect)((()=>{let e=!1;return async function(){try{const n=await s.__secret_internals.renderUseBrick(r,t,c);if(e)return;i(n),f(++p.current)}catch(n){!e&&function(e){var r;const t=null===(r=s.__secret_internals.getRenderId)||void 0===r?void 0:r.call(s.__secret_internals);return!e||!t||e===t}(g)&&(console.error("Render useBrick failed:",r,"with data:",t),(0,s.handleHttpError)(n))}}(),()=>{e=!0}}),[t,r,g,c]);const y=(0,n.useCallback)((e=>{e?l.current=s.__secret_internals.mountUseBrick(o,e):(s.__secret_internals.unmountUseBrick(o,l.current),l.current=void 0),null==u||u(e)}),[u,o]);if(!o)return null;const{tagName:m}=o;if(null===m)return null==a||a(),null;const v=m;return n.createElement(v,{key:d,ref:y})},u=function(e){let{useBrick:r,data:t,errorBoundary:s}=e;return Array.isArray(r)?n.createElement(n.Fragment,null,r.map(((e,r)=>n.createElement(c,{key:r,useBrick:e,data:t,errorBoundary:s})))):n.createElement(c,{useBrick:r,data:t,errorBoundary:s})};const a=(0,s.getV2RuntimeFromDll)();if(a){const{SingleBrickAsComponentFactory:e,BrickAsComponentFactory:r}=a;e&&r&&(c=e(n),u=r(n))}function o(){const[e,r]=(0,n.useState)(s.getCurrentTheme);return(0,n.useEffect)((()=>{const e=e=>{r(e.detail)};return window.addEventListener("theme.change",e),()=>{window.removeEventListener("theme.change",e)}}),[]),e}function i(){const[e,r]=n.useState((()=>(0,s.getRuntime)().getRecentApps()));return n.useEffect((()=>{const e=e=>{r(e.detail)};return window.addEventListener("app.change",e),()=>window.removeEventListener("app.change",e)}),[]),e}function l(){return i().currentApp}function d(){const[e,r]=n.useState(null);return n.useEffect((()=>{const e=e=>{r(e.detail)};return window.addEventListener("route.render",e),()=>window.removeEventListener("route.render",e)}),[]),e}const f={provider:"",customOptions:{onError:()=>{},transform:(e,r)=>r,data:void 0,loading:!1,suspense:!1,cache:!0},dependencies:void 0},p=Object.entries(f).reduce(((e,r)=>{let[t,n]=r;return"[object Object]"===Object.prototype.toString.call(n)?{...e,...n}:{...e,[t]:n}}),{});var g=t(1030);const y=new Map;function m(){const{provider:e,customOptions:r,dependencies:t,requestInit:c}=function(e,r,t){const s=(0,n.useMemo)((()=>"string"==typeof e?e:f.provider),[e,r]),c=(0,n.useMemo)((()=>{let t={};return(0,g.isObject)(e)?t=e:(0,g.isObject)(r)&&(t=r),{...p,...t}}),[e,r]),u=(0,n.useMemo)((()=>{const e=[...Object.keys(f),...Object.keys(f.customOptions)],{args:r=null,...t}=Object.keys(c).reduce(((r,t)=>(e.includes(t)||(r[t]=c[t]),r)),{});return{options:{...t},args:r}}),[c]),a=(0,n.useMemo)((()=>Array.isArray(r)?r:Array.isArray(t)?t:p.dependencies),[r,t]),o=c.loading||Array.isArray(a);return{provider:s,customOptions:(0,n.useMemo)((()=>({...Object.keys(f.customOptions).reduce(((e,r)=>(e[r]=c[r],e)),{}),loading:o})),[c]),requestInit:u,dependencies:a}}(...arguments),{onError:u,transform:a,suspense:o,cache:i,...l}=r,[d,m]=(0,n.useState)(l.loading),v=(0,n.useRef)("pending"),k=(0,n.useRef)(),h=(0,n.useRef)(!1),w=(0,n.useRef)(),_=(0,n.useRef)(),b=(0,n.useRef)(l.data),B=(0,n.useReducer)((()=>({})),[])[1],E=(0,n.useCallback)((async(e,r)=>{try{w.current=void 0,o||m(!0);const t=await async function(e,r,t){let n;const c=function(e){const r=e=>Object.keys(e).sort().map((r=>({[r]:e[r]})));for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];try{const t="object"!=typeof(c=n)||null===c||Array.isArray(c)?n.map((e=>function(e){return"string"==typeof e}(e)?e:r(e))):r(n);return JSON.stringify({provider:e,args:t})}catch(r){return JSON.stringify({provider:e,args:n})}var c}(e,...t);return!r&&y.has(c)&&y.delete(c),y.has(c)?n=y.get(c):(n=(0,s.fetchByProvider)(e,t),r&&y.set(c,n)),n}(e,i,r);_.current=t,b.current=a(b.current,t)}catch(e){w.current=e,b.current=void 0}return o||m(!1),w.current&&u(w.current),b.current}),[e,r,t,c,o,a,l.data,u,i]),O=(0,n.useCallback)((async(r,t)=>{let n=e,s=[];return(0,g.isString)(r)&&(n=r),(0,g.isObject)(r)?s=r:(0,g.isObject)(t)&&(s=t),o?(async()=>(k.current=E(n,s).then((e=>(v.current="success",e)),(e=>(v.current="error",e.current=e,e))),B(),await k.current))():E(n,s)}),[E]),R=(0,n.useMemo)((()=>Object.defineProperties({query:O},{loading:{get:()=>d},data:{get:()=>b.current},error:{get:()=>w.current}})),[O]);if((0,n.useEffect)((()=>(h.current=!0,Array.isArray(t)&&e&&R.query(e,c.args),()=>h.current=!1)),t),o&&k.current)switch(v.current){case"pending":throw k.current;case"error":throw w.current}return Object.assign([R,_.current,d,w.current],{request:R,...R,response:_.current,data:b.current,loading:d,error:w.current})}var v=t(1389);async function k(e,r){return await s.__secret_internals.loadBricks([e]),(0,v.wrapBrick)(e,r)}function h(){const[e,r]=(0,n.useState)((()=>(0,s.getRuntime)().getNavConfig()));return(0,n.useEffect)((()=>{const e=e=>{r(e.detail)};return window.addEventListener("navConfig.change",e),()=>window.removeEventListener("navConfig.change",e)}),[]),e}function w(e,r){return(0,n.useMemo)((()=>null!=e?(0,n.lazy)((async()=>({default:await k(e,r)}))):null),[e,r])}}}]);
2
- //# sourceMappingURL=4837.f5538448.js.map
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_form=globalThis.webpackChunk_next_bricks_form||[]).push([[7218,4837],{4837:(e,r,t)=>{t.r(r),t.d(r,{ReactUseBrick:()=>c,ReactUseMultipleBricks:()=>u,asyncWrapBrick:()=>k,useCurrentApp:()=>l,useCurrentTheme:()=>o,useLazyWrapBrick:()=>w,useNavConfig:()=>h,useProvider:()=>m,useRecentApps:()=>i,useRouteRender:()=>d});var n=t(8769),s=t(184);let c=function(e){let{useBrick:r,data:t,errorBoundary:c,refCallback:u,ignoredCallback:a}=e;const[o,i]=(0,n.useState)(null),l=(0,n.useRef)(),[d,f]=(0,n.useState)(),p=(0,n.useRef)(0),g=(0,n.useMemo)((()=>{var e;return null===(e=s.__secret_internals.getRenderId)||void 0===e?void 0:e.call(s.__secret_internals)}),[]);(0,n.useEffect)((()=>{let e=!1;return async function(){try{const n=await s.__secret_internals.renderUseBrick(r,t,c);if(e)return;i(n),f(++p.current)}catch(n){!e&&function(e){var r;const t=null===(r=s.__secret_internals.getRenderId)||void 0===r?void 0:r.call(s.__secret_internals);return!e||!t||e===t}(g)&&(console.error("Render useBrick failed:",r,"with data:",t),(0,s.handleHttpError)(n))}}(),()=>{e=!0}}),[t,r,g,c]);const y=(0,n.useCallback)((e=>{e?l.current=s.__secret_internals.mountUseBrick(o,e):(s.__secret_internals.unmountUseBrick(o,l.current),l.current=void 0),null==u||u(e)}),[u,o]);if(!o)return null;const{tagName:m}=o;if(null===m)return null==a||a(),null;const v=m;return n.createElement(v,{key:d,ref:y})},u=function(e){let{useBrick:r,data:t,errorBoundary:s}=e;return Array.isArray(r)?n.createElement(n.Fragment,null,r.map(((e,r)=>n.createElement(c,{key:r,useBrick:e,data:t,errorBoundary:s})))):n.createElement(c,{useBrick:r,data:t,errorBoundary:s})};const a=(0,s.getV2RuntimeFromDll)();if(a){const{SingleBrickAsComponentFactory:e,BrickAsComponentFactory:r}=a;e&&r&&(c=e(n),u=r(n))}function o(){const[e,r]=(0,n.useState)(s.getCurrentTheme);return(0,n.useEffect)((()=>{const e=e=>{r(e.detail)};return window.addEventListener("theme.change",e),()=>{window.removeEventListener("theme.change",e)}}),[]),e}function i(){const[e,r]=n.useState((()=>(0,s.getRuntime)().getRecentApps()));return n.useEffect((()=>{const e=e=>{r(e.detail)};return window.addEventListener("app.change",e),()=>window.removeEventListener("app.change",e)}),[]),e}function l(){return i().currentApp}function d(){const[e,r]=n.useState(null);return n.useEffect((()=>{const e=e=>{r(e.detail)};return window.addEventListener("route.render",e),()=>window.removeEventListener("route.render",e)}),[]),e}const f={provider:"",customOptions:{onError:()=>{},transform:(e,r)=>r,data:void 0,loading:!1,suspense:!1,cache:!0},dependencies:void 0},p=Object.entries(f).reduce(((e,r)=>{let[t,n]=r;return"[object Object]"===Object.prototype.toString.call(n)?{...e,...n}:{...e,[t]:n}}),{});var g=t(1030);const y=new Map;function m(){const{provider:e,customOptions:r,dependencies:t,requestInit:c}=function(e,r,t){const s=(0,n.useMemo)((()=>"string"==typeof e?e:f.provider),[e,r]),c=(0,n.useMemo)((()=>{let t={};return(0,g.isObject)(e)?t=e:(0,g.isObject)(r)&&(t=r),{...p,...t}}),[e,r]),u=(0,n.useMemo)((()=>{const e=[...Object.keys(f),...Object.keys(f.customOptions)],{args:r=null,...t}=Object.keys(c).reduce(((r,t)=>(e.includes(t)||(r[t]=c[t]),r)),{});return{options:{...t},args:r}}),[c]),a=(0,n.useMemo)((()=>Array.isArray(r)?r:Array.isArray(t)?t:p.dependencies),[r,t]),o=c.loading||Array.isArray(a);return{provider:s,customOptions:(0,n.useMemo)((()=>({...Object.keys(f.customOptions).reduce(((e,r)=>(e[r]=c[r],e)),{}),loading:o})),[c]),requestInit:u,dependencies:a}}(...arguments),{onError:u,transform:a,suspense:o,cache:i,...l}=r,[d,m]=(0,n.useState)(l.loading),v=(0,n.useRef)("pending"),k=(0,n.useRef)(),h=(0,n.useRef)(!1),w=(0,n.useRef)(),_=(0,n.useRef)(),b=(0,n.useRef)(l.data),B=(0,n.useReducer)((()=>({})),[])[1],E=(0,n.useCallback)((async(e,r)=>{try{w.current=void 0,o||m(!0);const t=await async function(e,r,t){let n;const c=function(e){const r=e=>Object.keys(e).sort().map((r=>({[r]:e[r]})));for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];try{const t="object"!=typeof(c=n)||null===c||Array.isArray(c)?n.map((e=>function(e){return"string"==typeof e}(e)?e:r(e))):r(n);return JSON.stringify({provider:e,args:t})}catch(r){return JSON.stringify({provider:e,args:n})}var c}(e,...t);return!r&&y.has(c)&&y.delete(c),y.has(c)?n=y.get(c):(n=(0,s.fetchByProvider)(e,t),r&&y.set(c,n)),n}(e,i,r);_.current=t,b.current=a(b.current,t)}catch(e){w.current=e,b.current=void 0}return o||m(!1),w.current&&u(w.current),b.current}),[e,r,t,c,o,a,l.data,u,i]),O=(0,n.useCallback)((async(r,t)=>{let n=e,s=[];return(0,g.isString)(r)&&(n=r),(0,g.isObject)(r)?s=r:(0,g.isObject)(t)&&(s=t),o?(async()=>(k.current=E(n,s).then((e=>(v.current="success",e)),(e=>(v.current="error",e.current=e,e))),B(),await k.current))():E(n,s)}),[E]),R=(0,n.useMemo)((()=>Object.defineProperties({query:O},{loading:{get:()=>d},data:{get:()=>b.current},error:{get:()=>w.current}})),[O]);if((0,n.useEffect)((()=>(h.current=!0,Array.isArray(t)&&e&&R.query(e,c.args),()=>h.current=!1)),t),o&&k.current)switch(v.current){case"pending":throw k.current;case"error":throw w.current}return Object.assign([R,_.current,d,w.current],{request:R,...R,response:_.current,data:b.current,loading:d,error:w.current})}var v=t(1389);async function k(e,r){return await s.__secret_internals.loadBricks([e]),(0,v.wrapBrick)(e,r)}function h(){const[e,r]=(0,n.useState)((()=>(0,s.getRuntime)().getNavConfig()));return(0,n.useEffect)((()=>{const e=e=>{r(e.detail)};return window.addEventListener("navConfig.change",e),()=>window.removeEventListener("navConfig.change",e)}),[]),e}function w(e,r){return(0,n.useMemo)((()=>null!=e?(0,n.lazy)((async()=>({default:await k(e,r)}))):null),[e,r])}}}]);
2
- //# sourceMappingURL=7218.22824b22.js.map