@next-bricks/form 1.0.1 → 1.0.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 (121) hide show
  1. package/dist/bricks.json +23 -25
  2. package/dist/chunks/{1646.2bf2b035.js → 1646.3c0dd2c1.js} +2 -2
  3. package/dist/chunks/{1646.2bf2b035.js.map → 1646.3c0dd2c1.js.map} +1 -1
  4. package/dist/chunks/{2179.acce6b77.js → 2179.7e65feda.js} +2 -2
  5. package/dist/chunks/{6205.71bdbe5b.js.map → 2179.7e65feda.js.map} +1 -1
  6. package/dist/chunks/3458.4c7fbba5.js +2 -0
  7. package/dist/chunks/{3458.9a40b0dd.js.map → 3458.4c7fbba5.js.map} +1 -1
  8. package/dist/chunks/3948.68837772.js +2 -0
  9. package/dist/chunks/{3948.af188610.js.map → 3948.68837772.js.map} +1 -1
  10. package/dist/chunks/{4049.2e1d8e1b.js → 4049.c9231cdb.js} +2 -2
  11. package/dist/chunks/{4049.2e1d8e1b.js.map → 4049.c9231cdb.js.map} +1 -1
  12. package/dist/chunks/4119.15b34113.js +2 -0
  13. package/dist/chunks/4119.15b34113.js.map +1 -0
  14. package/dist/chunks/5381.5c7cf437.js +2 -0
  15. package/dist/chunks/{6660.652300dd.js.map → 5381.5c7cf437.js.map} +1 -1
  16. package/dist/chunks/{5716.1255ecc0.js → 5716.2f556b6f.js} +2 -2
  17. package/dist/chunks/{5716.1255ecc0.js.map → 5716.2f556b6f.js.map} +1 -1
  18. package/dist/chunks/{5725.35ab0afd.js → 5725.93406f7c.js} +2 -2
  19. package/dist/chunks/{5725.35ab0afd.js.map → 5725.93406f7c.js.map} +1 -1
  20. package/dist/chunks/{5789.86a92b1d.js → 5789.e946d373.js} +3 -3
  21. package/dist/chunks/{5789.86a92b1d.js.map → 5789.e946d373.js.map} +1 -1
  22. package/dist/chunks/{6205.71bdbe5b.js → 6205.40caa4b8.js} +2 -2
  23. package/dist/chunks/{7164.26f8d877.js.map → 6205.40caa4b8.js.map} +1 -1
  24. package/dist/chunks/{6473.36a8a76b.js → 6473.851e08b6.js} +2 -2
  25. package/dist/chunks/{6473.36a8a76b.js.map → 6473.851e08b6.js.map} +1 -1
  26. package/dist/chunks/6660.2ce0943b.js +2 -0
  27. package/dist/chunks/{5381.aaa67dd3.js.map → 6660.2ce0943b.js.map} +1 -1
  28. package/dist/chunks/{7164.26f8d877.js → 7164.a8fb139c.js} +2 -2
  29. package/dist/chunks/{2179.acce6b77.js.map → 7164.a8fb139c.js.map} +1 -1
  30. package/dist/chunks/{7672.684a643b.js → 7672.0bc7f2af.js} +2 -2
  31. package/dist/chunks/{7672.684a643b.js.map → 7672.0bc7f2af.js.map} +1 -1
  32. package/dist/chunks/{7746.7cf20f20.js → 7746.d245961e.js} +2 -2
  33. package/dist/chunks/{7746.7cf20f20.js.map → 7746.d245961e.js.map} +1 -1
  34. package/dist/chunks/8691.5bfc34e7.js +2 -0
  35. package/dist/chunks/{8691.b2aa40ef.js.map → 8691.5bfc34e7.js.map} +1 -1
  36. package/dist/chunks/eo-auto-complete.536944b4.js +3 -0
  37. package/dist/chunks/{eo-auto-complete.45ce2995.js.map → eo-auto-complete.536944b4.js.map} +1 -1
  38. package/dist/chunks/eo-checkbox.40d8533e.js +2 -0
  39. package/dist/chunks/{eo-checkbox.69a97ffa.js.map → eo-checkbox.40d8533e.js.map} +1 -1
  40. package/dist/chunks/eo-date-picker.4a841527.js +2 -0
  41. package/dist/chunks/{eo-date-picker.520e200b.js.map → eo-date-picker.4a841527.js.map} +1 -1
  42. package/dist/chunks/eo-dynamic-form-item.3d03eb49.js +3 -0
  43. package/dist/chunks/eo-dynamic-form-item.3d03eb49.js.map +1 -0
  44. package/dist/chunks/{eo-form-item.b7919ca7.js → eo-form-item.f8b1cb5f.js} +3 -3
  45. package/dist/chunks/{eo-form-item.b7919ca7.js.map → eo-form-item.f8b1cb5f.js.map} +1 -1
  46. package/dist/chunks/eo-form.d03c926b.js +2 -0
  47. package/dist/chunks/{eo-form.886f371c.js.map → eo-form.d03c926b.js.map} +1 -1
  48. package/dist/chunks/eo-icon-select.c646c150.js +3 -0
  49. package/dist/chunks/{eo-icon-select.9aff9bb4.js.map → eo-icon-select.c646c150.js.map} +1 -1
  50. package/dist/chunks/eo-input.04a5b127.js +3 -0
  51. package/dist/chunks/{eo-input.2909db8c.js.map → eo-input.04a5b127.js.map} +1 -1
  52. package/dist/chunks/eo-radio.d9e51145.js +3 -0
  53. package/dist/chunks/{eo-radio.cee4659c.js.map → eo-radio.d9e51145.js.map} +1 -1
  54. package/dist/chunks/eo-search.7cbe8bb0.js +2 -0
  55. package/dist/chunks/{eo-search.28ba8e2e.js.map → eo-search.7cbe8bb0.js.map} +1 -1
  56. package/dist/chunks/eo-select.7a296499.js +3 -0
  57. package/dist/chunks/eo-select.7a296499.js.map +1 -0
  58. package/dist/chunks/eo-submit-buttons.4efffd7d.js +2 -0
  59. package/dist/chunks/{eo-submit-buttons.26041b97.js.map → eo-submit-buttons.4efffd7d.js.map} +1 -1
  60. package/dist/chunks/eo-switch.16a46bfd.js +3 -0
  61. package/dist/chunks/{eo-switch.af893ccb.js.map → eo-switch.16a46bfd.js.map} +1 -1
  62. package/dist/chunks/eo-textarea.82e3afd1.js +3 -0
  63. package/dist/chunks/{eo-textarea.ff51dbed.js.map → eo-textarea.82e3afd1.js.map} +1 -1
  64. package/dist/chunks/eo-time-picker.80430d4c.js +2 -0
  65. package/dist/chunks/{eo-time-picker.37026854.js.map → eo-time-picker.80430d4c.js.map} +1 -1
  66. package/dist/chunks/eo-time-range-picker.9a1311ae.js +2 -0
  67. package/dist/chunks/{eo-time-range-picker.6653b7bb.js.map → eo-time-range-picker.9a1311ae.js.map} +1 -1
  68. package/dist/chunks/eo-upload-file.043eea9e.js +3 -0
  69. package/dist/chunks/{eo-upload-file.647f114e.js.map → eo-upload-file.043eea9e.js.map} +1 -1
  70. package/dist/chunks/{eo-upload-image.53a4379a.js → eo-upload-image.570aa146.js} +3 -3
  71. package/dist/chunks/{eo-upload-image.53a4379a.js.map → eo-upload-image.570aa146.js.map} +1 -1
  72. package/dist/chunks/main.000e090f.js +2 -0
  73. package/dist/chunks/{main.2d6f7998.js.map → main.000e090f.js.map} +1 -1
  74. package/dist/examples.json +8 -8
  75. package/dist/index.c01a807c.js +2 -0
  76. package/dist/index.c01a807c.js.map +1 -0
  77. package/dist/manifest.json +140 -140
  78. package/dist/types.json +1726 -1726
  79. package/docs/eo-dynamic-form-item.md +1 -1
  80. package/docs/eo-upload-file.md +1 -1
  81. package/package.json +4 -4
  82. package/dist/chunks/3458.9a40b0dd.js +0 -2
  83. package/dist/chunks/3948.af188610.js +0 -2
  84. package/dist/chunks/5381.aaa67dd3.js +0 -2
  85. package/dist/chunks/6660.652300dd.js +0 -2
  86. package/dist/chunks/8691.b2aa40ef.js +0 -2
  87. package/dist/chunks/99.02062b72.js +0 -2
  88. package/dist/chunks/99.02062b72.js.map +0 -1
  89. package/dist/chunks/eo-auto-complete.45ce2995.js +0 -3
  90. package/dist/chunks/eo-checkbox.69a97ffa.js +0 -2
  91. package/dist/chunks/eo-date-picker.520e200b.js +0 -2
  92. package/dist/chunks/eo-dynamic-form-item.28735789.js +0 -3
  93. package/dist/chunks/eo-dynamic-form-item.28735789.js.map +0 -1
  94. package/dist/chunks/eo-form.886f371c.js +0 -2
  95. package/dist/chunks/eo-icon-select.9aff9bb4.js +0 -3
  96. package/dist/chunks/eo-input.2909db8c.js +0 -3
  97. package/dist/chunks/eo-radio.cee4659c.js +0 -3
  98. package/dist/chunks/eo-search.28ba8e2e.js +0 -2
  99. package/dist/chunks/eo-select.fbb84e48.js +0 -3
  100. package/dist/chunks/eo-select.fbb84e48.js.map +0 -1
  101. package/dist/chunks/eo-submit-buttons.26041b97.js +0 -2
  102. package/dist/chunks/eo-switch.af893ccb.js +0 -3
  103. package/dist/chunks/eo-textarea.ff51dbed.js +0 -3
  104. package/dist/chunks/eo-time-picker.37026854.js +0 -2
  105. package/dist/chunks/eo-time-range-picker.6653b7bb.js +0 -2
  106. package/dist/chunks/eo-upload-file.647f114e.js +0 -3
  107. package/dist/chunks/main.2d6f7998.js +0 -2
  108. package/dist/index.14777e65.js +0 -2
  109. package/dist/index.14777e65.js.map +0 -1
  110. /package/dist/chunks/{5789.86a92b1d.js.LICENSE.txt → 5789.e946d373.js.LICENSE.txt} +0 -0
  111. /package/dist/chunks/{eo-auto-complete.45ce2995.js.LICENSE.txt → eo-auto-complete.536944b4.js.LICENSE.txt} +0 -0
  112. /package/dist/chunks/{eo-dynamic-form-item.28735789.js.LICENSE.txt → eo-dynamic-form-item.3d03eb49.js.LICENSE.txt} +0 -0
  113. /package/dist/chunks/{eo-form-item.b7919ca7.js.LICENSE.txt → eo-form-item.f8b1cb5f.js.LICENSE.txt} +0 -0
  114. /package/dist/chunks/{eo-icon-select.9aff9bb4.js.LICENSE.txt → eo-icon-select.c646c150.js.LICENSE.txt} +0 -0
  115. /package/dist/chunks/{eo-input.2909db8c.js.LICENSE.txt → eo-input.04a5b127.js.LICENSE.txt} +0 -0
  116. /package/dist/chunks/{eo-radio.cee4659c.js.LICENSE.txt → eo-radio.d9e51145.js.LICENSE.txt} +0 -0
  117. /package/dist/chunks/{eo-select.fbb84e48.js.LICENSE.txt → eo-select.7a296499.js.LICENSE.txt} +0 -0
  118. /package/dist/chunks/{eo-switch.af893ccb.js.LICENSE.txt → eo-switch.16a46bfd.js.LICENSE.txt} +0 -0
  119. /package/dist/chunks/{eo-textarea.ff51dbed.js.LICENSE.txt → eo-textarea.82e3afd1.js.LICENSE.txt} +0 -0
  120. /package/dist/chunks/{eo-upload-file.647f114e.js.LICENSE.txt → eo-upload-file.043eea9e.js.LICENSE.txt} +0 -0
  121. /package/dist/chunks/{eo-upload-image.53a4379a.js.LICENSE.txt → eo-upload-image.570aa146.js.LICENSE.txt} +0 -0
@@ -188,97 +188,6 @@
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
- },
282
191
  {
283
192
  "name": "eo-form",
284
193
  "alias": [
@@ -607,6 +516,97 @@
607
516
  "description": "通用单选构件",
608
517
  "category": "form-input-basic"
609
518
  },
519
+ {
520
+ "name": "eo-textarea",
521
+ "alias": [
522
+ "form.general-textarea"
523
+ ],
524
+ "properties": [
525
+ {
526
+ "name": "name",
527
+ "description": "字段名称",
528
+ "type": "string"
529
+ },
530
+ {
531
+ "name": "label",
532
+ "description": "标签文字",
533
+ "type": "string"
534
+ },
535
+ {
536
+ "name": "value",
537
+ "description": "值",
538
+ "type": "string"
539
+ },
540
+ {
541
+ "name": "placeholder",
542
+ "description": "占位说明",
543
+ "type": "string"
544
+ },
545
+ {
546
+ "name": "disabled",
547
+ "description": "是否禁用",
548
+ "type": "boolean"
549
+ },
550
+ {
551
+ "name": "minLength",
552
+ "description": "最小长度",
553
+ "type": "number"
554
+ },
555
+ {
556
+ "name": "maxLength",
557
+ "description": "最大长度",
558
+ "type": "number"
559
+ },
560
+ {
561
+ "name": "autoSize",
562
+ "description": "大小自适应",
563
+ "attribute": false,
564
+ "type": "AutoSize"
565
+ },
566
+ {
567
+ "name": "required",
568
+ "description": "是否必填",
569
+ "type": "boolean"
570
+ },
571
+ {
572
+ "name": "max",
573
+ "description": "表单校验最大长度",
574
+ "type": "number"
575
+ },
576
+ {
577
+ "name": "min",
578
+ "description": "表单校验最小长度",
579
+ "type": "number"
580
+ },
581
+ {
582
+ "name": "message",
583
+ "description": "校验信息",
584
+ "attribute": false,
585
+ "type": "Record<string, string>"
586
+ },
587
+ {
588
+ "name": "textareaStyle",
589
+ "description": "自定义样式",
590
+ "attribute": false,
591
+ "type": "React.CSSProperties"
592
+ }
593
+ ],
594
+ "events": [
595
+ {
596
+ "name": "change",
597
+ "description": "",
598
+ "detail": {
599
+ "description": null,
600
+ "type": "string"
601
+ }
602
+ }
603
+ ],
604
+ "slots": [],
605
+ "methods": [],
606
+ "parts": [],
607
+ "description": "通用多行文本输入框构件",
608
+ "category": "form-input-basic"
609
+ },
610
610
  {
611
611
  "name": "eo-select",
612
612
  "alias": [
@@ -994,118 +994,118 @@
994
994
  "category": "form-input-basic"
995
995
  },
996
996
  {
997
- "name": "eo-search",
997
+ "name": "eo-icon-select",
998
998
  "alias": [
999
- "form.general-search"
999
+ "form.icon-select"
1000
1000
  ],
1001
1001
  "properties": [
1002
1002
  {
1003
- "name": "value",
1004
- "description": "搜索框的值",
1005
- "default": "\"\"",
1003
+ "name": "name",
1004
+ "description": "字段名称",
1006
1005
  "type": "string"
1007
1006
  },
1008
1007
  {
1009
- "name": "placeholder",
1010
- "description": "提示语",
1008
+ "name": "label",
1009
+ "description": "字段说明",
1011
1010
  "type": "string"
1012
1011
  },
1013
1012
  {
1014
- "name": "autoFocus",
1015
- "description": "是否自动聚焦",
1016
- "type": "boolean"
1013
+ "name": "value",
1014
+ "description": "",
1015
+ "attribute": false,
1016
+ "type": "Icon"
1017
1017
  },
1018
1018
  {
1019
- "name": "clearable",
1020
- "description": "可以点击清除图标删除内容",
1019
+ "name": "disabled",
1020
+ "description": "是否禁用",
1021
1021
  "type": "boolean"
1022
1022
  },
1023
1023
  {
1024
- "name": "trim",
1025
- "description": "是否剔除前后空格",
1024
+ "name": "required",
1025
+ "description": "是否必填",
1026
1026
  "type": "boolean"
1027
1027
  },
1028
1028
  {
1029
- "name": "debounceTime",
1030
- "description": "默认延迟时间",
1031
- "default": "0",
1032
- "type": "number"
1029
+ "name": "message",
1030
+ "description": "是否必填",
1031
+ "attribute": false,
1032
+ "type": "Record<string, string>"
1033
1033
  }
1034
1034
  ],
1035
1035
  "events": [
1036
1036
  {
1037
1037
  "name": "change",
1038
- "description": "输入的搜索字符,输入变化时触发",
1039
- "detail": {
1040
- "type": "string"
1041
- }
1042
- },
1043
- {
1044
- "name": "search",
1045
- "description": "搜索时触发",
1038
+ "description": "值变化时触发",
1046
1039
  "detail": {
1047
- "type": "string"
1040
+ "type": "Icon | undefined"
1048
1041
  }
1049
1042
  }
1050
1043
  ],
1051
1044
  "slots": [],
1052
1045
  "methods": [],
1053
1046
  "parts": [],
1054
- "description": "搜索框",
1047
+ "description": "图标选择构件",
1055
1048
  "category": "form-input-basic"
1056
1049
  },
1057
1050
  {
1058
- "name": "eo-icon-select",
1051
+ "name": "eo-search",
1059
1052
  "alias": [
1060
- "form.icon-select"
1053
+ "form.general-search"
1061
1054
  ],
1062
1055
  "properties": [
1063
1056
  {
1064
- "name": "name",
1065
- "description": "字段名称",
1057
+ "name": "value",
1058
+ "description": "搜索框的值",
1059
+ "default": "\"\"",
1066
1060
  "type": "string"
1067
1061
  },
1068
1062
  {
1069
- "name": "label",
1070
- "description": "字段说明",
1063
+ "name": "placeholder",
1064
+ "description": "提示语",
1071
1065
  "type": "string"
1072
1066
  },
1073
1067
  {
1074
- "name": "value",
1075
- "description": "",
1076
- "attribute": false,
1077
- "type": "Icon"
1068
+ "name": "autoFocus",
1069
+ "description": "是否自动聚焦",
1070
+ "type": "boolean"
1078
1071
  },
1079
1072
  {
1080
- "name": "disabled",
1081
- "description": "是否禁用",
1073
+ "name": "clearable",
1074
+ "description": "可以点击清除图标删除内容",
1082
1075
  "type": "boolean"
1083
1076
  },
1084
1077
  {
1085
- "name": "required",
1086
- "description": "是否必填",
1078
+ "name": "trim",
1079
+ "description": "是否剔除前后空格",
1087
1080
  "type": "boolean"
1088
1081
  },
1089
1082
  {
1090
- "name": "message",
1091
- "description": "是否必填",
1092
- "attribute": false,
1093
- "type": "Record<string, string>"
1083
+ "name": "debounceTime",
1084
+ "description": "默认延迟时间",
1085
+ "default": "0",
1086
+ "type": "number"
1094
1087
  }
1095
1088
  ],
1096
1089
  "events": [
1097
1090
  {
1098
1091
  "name": "change",
1099
- "description": "值变化时触发",
1092
+ "description": "输入的搜索字符,输入变化时触发",
1100
1093
  "detail": {
1101
- "type": "Icon | undefined"
1094
+ "type": "string"
1095
+ }
1096
+ },
1097
+ {
1098
+ "name": "search",
1099
+ "description": "搜索时触发",
1100
+ "detail": {
1101
+ "type": "string"
1102
1102
  }
1103
1103
  }
1104
1104
  ],
1105
1105
  "slots": [],
1106
1106
  "methods": [],
1107
1107
  "parts": [],
1108
- "description": "图标选择构件",
1108
+ "description": "搜索框",
1109
1109
  "category": "form-input-basic"
1110
1110
  },
1111
1111
  {