@next-bricks/form 1.8.1 → 1.9.0
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.
- package/dist/bricks.json +5 -5
- package/dist/chunks/1337.962499c7.js +2 -0
- package/dist/chunks/1337.962499c7.js.map +1 -0
- package/dist/chunks/eo-checkbox.8bcee8eb.js +2 -0
- package/dist/chunks/eo-checkbox.8bcee8eb.js.map +1 -0
- package/dist/chunks/eo-date-picker.9e1113e6.js +2 -0
- package/dist/chunks/eo-date-picker.9e1113e6.js.map +1 -0
- package/dist/chunks/eo-dynamic-form-item.ece57ceb.js +3 -0
- package/dist/chunks/eo-dynamic-form-item.ece57ceb.js.map +1 -0
- package/dist/chunks/eo-icon-select.19e773cd.js +3 -0
- package/dist/chunks/eo-icon-select.19e773cd.js.map +1 -0
- package/dist/chunks/eo-input.9425bc10.js +3 -0
- package/dist/chunks/eo-input.9425bc10.js.map +1 -0
- package/dist/chunks/eo-radio.b5c3f176.js +3 -0
- package/dist/chunks/eo-radio.b5c3f176.js.map +1 -0
- package/dist/chunks/eo-select.be81dfe7.js +3 -0
- package/dist/chunks/eo-select.be81dfe7.js.map +1 -0
- package/dist/chunks/eo-switch.2e6d6ce6.js +3 -0
- package/dist/chunks/eo-switch.2e6d6ce6.js.map +1 -0
- package/dist/chunks/eo-textarea.3cab6583.js +3 -0
- package/dist/chunks/eo-textarea.3cab6583.js.map +1 -0
- package/dist/chunks/{main.d80729a2.js → main.165eca50.js} +2 -2
- package/dist/chunks/{main.d80729a2.js.map → main.165eca50.js.map} +1 -1
- package/dist/examples.json +3 -3
- package/dist/{index.2410563c.js → index.829660e7.js} +2 -2
- package/dist/{index.2410563c.js.map → index.829660e7.js.map} +1 -1
- package/dist/manifest.json +145 -145
- package/package.json +2 -2
- package/dist/chunks/1337.3111f726.js +0 -2
- package/dist/chunks/1337.3111f726.js.map +0 -1
- package/dist/chunks/eo-checkbox.b1675196.js +0 -2
- package/dist/chunks/eo-checkbox.b1675196.js.map +0 -1
- package/dist/chunks/eo-date-picker.237ff62c.js +0 -2
- package/dist/chunks/eo-date-picker.237ff62c.js.map +0 -1
- package/dist/chunks/eo-dynamic-form-item.e35bd01c.js +0 -3
- package/dist/chunks/eo-dynamic-form-item.e35bd01c.js.map +0 -1
- package/dist/chunks/eo-icon-select.fc346c51.js +0 -3
- package/dist/chunks/eo-icon-select.fc346c51.js.map +0 -1
- package/dist/chunks/eo-input.c9961f5a.js +0 -3
- package/dist/chunks/eo-input.c9961f5a.js.map +0 -1
- package/dist/chunks/eo-radio.2db40c70.js +0 -3
- package/dist/chunks/eo-radio.2db40c70.js.map +0 -1
- package/dist/chunks/eo-select.ed8df3c4.js +0 -3
- package/dist/chunks/eo-select.ed8df3c4.js.map +0 -1
- package/dist/chunks/eo-switch.7f76bfb4.js +0 -3
- package/dist/chunks/eo-switch.7f76bfb4.js.map +0 -1
- package/dist/chunks/eo-textarea.93b1a14c.js +0 -3
- package/dist/chunks/eo-textarea.93b1a14c.js.map +0 -1
- /package/dist/chunks/{eo-dynamic-form-item.e35bd01c.js.LICENSE.txt → eo-dynamic-form-item.ece57ceb.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-icon-select.fc346c51.js.LICENSE.txt → eo-icon-select.19e773cd.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-input.c9961f5a.js.LICENSE.txt → eo-input.9425bc10.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-radio.2db40c70.js.LICENSE.txt → eo-radio.b5c3f176.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-select.ed8df3c4.js.LICENSE.txt → eo-select.be81dfe7.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-switch.7f76bfb4.js.LICENSE.txt → eo-switch.2e6d6ce6.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-textarea.93b1a14c.js.LICENSE.txt → eo-textarea.3cab6583.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -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": [
|
|
@@ -415,21 +324,11 @@
|
|
|
415
324
|
"category": "form-input-basic"
|
|
416
325
|
},
|
|
417
326
|
{
|
|
418
|
-
"name": "eo-
|
|
327
|
+
"name": "eo-textarea",
|
|
419
328
|
"alias": [
|
|
420
|
-
"form.general-
|
|
329
|
+
"form.general-textarea"
|
|
421
330
|
],
|
|
422
331
|
"properties": [
|
|
423
|
-
{
|
|
424
|
-
"name": "formElement",
|
|
425
|
-
"attribute": false,
|
|
426
|
-
"type": "Form"
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
"name": "curElement",
|
|
430
|
-
"attribute": false,
|
|
431
|
-
"type": "HTMLElement"
|
|
432
|
-
},
|
|
433
332
|
{
|
|
434
333
|
"name": "name",
|
|
435
334
|
"description": "字段名称",
|
|
@@ -437,81 +336,83 @@
|
|
|
437
336
|
},
|
|
438
337
|
{
|
|
439
338
|
"name": "label",
|
|
339
|
+
"description": "标签文字",
|
|
440
340
|
"type": "string"
|
|
441
341
|
},
|
|
442
342
|
{
|
|
443
|
-
"name": "
|
|
343
|
+
"name": "value",
|
|
344
|
+
"description": "值",
|
|
444
345
|
"type": "string"
|
|
445
346
|
},
|
|
446
347
|
{
|
|
447
|
-
"name": "
|
|
448
|
-
"
|
|
449
|
-
"type": "
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"name": "max",
|
|
453
|
-
"type": "number"
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
"name": "min",
|
|
457
|
-
"type": "number"
|
|
348
|
+
"name": "placeholder",
|
|
349
|
+
"description": "占位说明",
|
|
350
|
+
"type": "string"
|
|
458
351
|
},
|
|
459
352
|
{
|
|
460
|
-
"name": "
|
|
461
|
-
"description": "
|
|
353
|
+
"name": "disabled",
|
|
354
|
+
"description": "是否禁用",
|
|
462
355
|
"type": "boolean"
|
|
463
356
|
},
|
|
464
357
|
{
|
|
465
|
-
"name": "
|
|
466
|
-
"description": "
|
|
467
|
-
"type": "
|
|
358
|
+
"name": "minLength",
|
|
359
|
+
"description": "最小长度",
|
|
360
|
+
"type": "number"
|
|
468
361
|
},
|
|
469
362
|
{
|
|
470
|
-
"name": "
|
|
471
|
-
"
|
|
363
|
+
"name": "maxLength",
|
|
364
|
+
"description": "最大长度",
|
|
365
|
+
"type": "number"
|
|
472
366
|
},
|
|
473
367
|
{
|
|
474
|
-
"name": "
|
|
475
|
-
"
|
|
368
|
+
"name": "autoSize",
|
|
369
|
+
"description": "大小自适应",
|
|
370
|
+
"attribute": false,
|
|
371
|
+
"type": "AutoSize"
|
|
476
372
|
},
|
|
477
373
|
{
|
|
478
|
-
"name": "
|
|
479
|
-
"
|
|
374
|
+
"name": "required",
|
|
375
|
+
"description": "是否必填",
|
|
376
|
+
"type": "boolean"
|
|
480
377
|
},
|
|
481
378
|
{
|
|
482
|
-
"name": "
|
|
483
|
-
"description": "
|
|
484
|
-
"
|
|
379
|
+
"name": "max",
|
|
380
|
+
"description": "表单校验最大长度",
|
|
381
|
+
"type": "number"
|
|
485
382
|
},
|
|
486
383
|
{
|
|
487
|
-
"name": "
|
|
488
|
-
"description": "
|
|
489
|
-
"type": "
|
|
384
|
+
"name": "min",
|
|
385
|
+
"description": "表单校验最小长度",
|
|
386
|
+
"type": "number"
|
|
490
387
|
},
|
|
491
388
|
{
|
|
492
|
-
"name": "
|
|
493
|
-
"description": "
|
|
389
|
+
"name": "message",
|
|
390
|
+
"description": "校验信息",
|
|
494
391
|
"attribute": false,
|
|
495
|
-
"type": "
|
|
392
|
+
"type": "Record<string, string>"
|
|
496
393
|
},
|
|
497
394
|
{
|
|
498
|
-
"name": "
|
|
499
|
-
"description": "
|
|
500
|
-
"
|
|
395
|
+
"name": "textareaStyle",
|
|
396
|
+
"description": "自定义样式",
|
|
397
|
+
"attribute": false,
|
|
398
|
+
"type": "React.CSSProperties"
|
|
501
399
|
}
|
|
502
400
|
],
|
|
503
|
-
"events": [
|
|
504
|
-
"slots": [
|
|
401
|
+
"events": [
|
|
505
402
|
{
|
|
506
|
-
"name":
|
|
507
|
-
"description": "
|
|
403
|
+
"name": "change",
|
|
404
|
+
"description": "",
|
|
405
|
+
"detail": {
|
|
406
|
+
"description": null,
|
|
407
|
+
"type": "string"
|
|
408
|
+
}
|
|
508
409
|
}
|
|
509
410
|
],
|
|
411
|
+
"slots": [],
|
|
510
412
|
"methods": [],
|
|
511
413
|
"parts": [],
|
|
512
|
-
"description": "
|
|
513
|
-
"category": "form-input-basic"
|
|
514
|
-
"insider": true
|
|
414
|
+
"description": "通用多行文本输入框构件",
|
|
415
|
+
"category": "form-input-basic"
|
|
515
416
|
},
|
|
516
417
|
{
|
|
517
418
|
"name": "eo-radio",
|
|
@@ -611,6 +512,105 @@
|
|
|
611
512
|
"description": "通用单选构件",
|
|
612
513
|
"category": "form-input-basic"
|
|
613
514
|
},
|
|
515
|
+
{
|
|
516
|
+
"name": "eo-form-item",
|
|
517
|
+
"alias": [
|
|
518
|
+
"form.general-form-item"
|
|
519
|
+
],
|
|
520
|
+
"properties": [
|
|
521
|
+
{
|
|
522
|
+
"name": "formElement",
|
|
523
|
+
"attribute": false,
|
|
524
|
+
"type": "Form"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"name": "curElement",
|
|
528
|
+
"attribute": false,
|
|
529
|
+
"type": "HTMLElement"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"name": "name",
|
|
533
|
+
"description": "字段名称",
|
|
534
|
+
"type": "string"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "label",
|
|
538
|
+
"type": "string"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"name": "pattern",
|
|
542
|
+
"type": "string"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"name": "message",
|
|
546
|
+
"attribute": false,
|
|
547
|
+
"type": "Record<string, string>"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "max",
|
|
551
|
+
"type": "number"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"name": "min",
|
|
555
|
+
"type": "number"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"name": "required",
|
|
559
|
+
"description": "表单项是否必填",
|
|
560
|
+
"type": "boolean"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"name": "value",
|
|
564
|
+
"description": "初始值",
|
|
565
|
+
"type": "string"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "valuePropsName",
|
|
569
|
+
"type": "string"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"name": "layout",
|
|
573
|
+
"type": "Layout"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "size",
|
|
577
|
+
"type": "ComponentSize"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"name": "trim",
|
|
581
|
+
"description": "是否自动去除前后的空白字符",
|
|
582
|
+
"default": "true"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"name": "trigger",
|
|
586
|
+
"description": "事件触发方法名",
|
|
587
|
+
"type": "string"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"name": "validator",
|
|
591
|
+
"description": "表单项校验方法",
|
|
592
|
+
"attribute": false,
|
|
593
|
+
"type": "((value: any) => MessageBody)"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "needValidate",
|
|
597
|
+
"description": "值变化时是否主动出发校验",
|
|
598
|
+
"type": "boolean"
|
|
599
|
+
}
|
|
600
|
+
],
|
|
601
|
+
"events": [],
|
|
602
|
+
"slots": [
|
|
603
|
+
{
|
|
604
|
+
"name": null,
|
|
605
|
+
"description": "表单项内容"
|
|
606
|
+
}
|
|
607
|
+
],
|
|
608
|
+
"methods": [],
|
|
609
|
+
"parts": [],
|
|
610
|
+
"description": "通用输入框构件",
|
|
611
|
+
"category": "form-input-basic",
|
|
612
|
+
"insider": true
|
|
613
|
+
},
|
|
614
614
|
{
|
|
615
615
|
"name": "eo-select",
|
|
616
616
|
"alias": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/form",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
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": "
|
|
46
|
+
"gitHead": "75c9ebc49ee1ef399a0872d774bff510628d2f52"
|
|
47
47
|
}
|