@next-bricks/form 1.7.1 → 1.7.3
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 +6 -6
- package/dist/chunks/{1337.60ffcfc4.js → 1337.c8051a50.js} +2 -2
- package/dist/chunks/1337.c8051a50.js.map +1 -0
- package/dist/chunks/{9061.d00f49db.js → 1860.e250642a.js} +2 -2
- package/dist/chunks/1860.e250642a.js.map +1 -0
- package/dist/chunks/{1972.bf3af78d.js → 1972.d5fc1b3e.js} +2 -2
- package/dist/chunks/{1972.bf3af78d.js.map → 1972.d5fc1b3e.js.map} +1 -1
- package/dist/chunks/{9591.851ec81f.js → 9591.f9213ab2.js} +2 -2
- package/dist/chunks/{9591.851ec81f.js.map → 9591.f9213ab2.js.map} +1 -1
- package/dist/chunks/{eo-color-picker.67e6f403.js → eo-color-picker.66998157.js} +2 -2
- package/dist/chunks/{eo-color-picker.67e6f403.js.map → eo-color-picker.66998157.js.map} +1 -1
- package/dist/chunks/{eo-date-picker.638bb867.js → eo-date-picker.28200038.js} +2 -2
- package/dist/chunks/{eo-date-picker.638bb867.js.map → eo-date-picker.28200038.js.map} +1 -1
- package/dist/chunks/{eo-dynamic-form-item.c5de969e.js → eo-dynamic-form-item.8a6e7a9b.js} +3 -3
- package/dist/chunks/{eo-dynamic-form-item.c5de969e.js.map → eo-dynamic-form-item.8a6e7a9b.js.map} +1 -1
- package/dist/chunks/{eo-form-item.c0c1f58a.js → eo-form-item.b21c297e.js} +3 -3
- package/dist/chunks/{eo-form-item.c0c1f58a.js.map → eo-form-item.b21c297e.js.map} +1 -1
- package/dist/chunks/eo-form.d33471f7.js +2 -0
- package/dist/chunks/eo-form.d33471f7.js.map +1 -0
- package/dist/chunks/{eo-radio.9c3eace0.js → eo-radio.0cd3d54c.js} +3 -3
- package/dist/chunks/{eo-radio.9c3eace0.js.map → eo-radio.0cd3d54c.js.map} +1 -1
- package/dist/chunks/{eo-select.90ca4a92.js → eo-select.75b52f12.js} +3 -3
- package/dist/chunks/{eo-select.90ca4a92.js.map → eo-select.75b52f12.js.map} +1 -1
- package/dist/chunks/{eo-time-picker.3bf6748f.js → eo-time-picker.bc8cd0db.js} +2 -2
- package/dist/chunks/{eo-time-picker.3bf6748f.js.map → eo-time-picker.bc8cd0db.js.map} +1 -1
- package/dist/chunks/{eo-time-range-picker.ac31409f.js → eo-time-range-picker.cac818c8.js} +2 -2
- package/dist/chunks/{eo-time-range-picker.ac31409f.js.map → eo-time-range-picker.cac818c8.js.map} +1 -1
- package/dist/chunks/{eo-upload-file.c5b8eb39.js → eo-upload-file.3da8f66f.js} +3 -3
- package/dist/chunks/{eo-upload-file.c5b8eb39.js.map → eo-upload-file.3da8f66f.js.map} +1 -1
- package/dist/chunks/{eo-upload-image.b7988668.js → eo-upload-image.dcec5ea8.js} +3 -3
- package/dist/chunks/{eo-upload-image.b7988668.js.map → eo-upload-image.dcec5ea8.js.map} +1 -1
- package/dist/chunks/{main.1d36a307.js → main.4570817e.js} +2 -2
- package/dist/chunks/{main.1d36a307.js.map → main.4570817e.js.map} +1 -1
- package/dist/examples.json +3 -3
- package/dist/{index.b813ef0f.js → index.254038b0.js} +2 -2
- package/dist/{index.b813ef0f.js.map → index.254038b0.js.map} +1 -1
- package/dist/manifest.json +168 -168
- package/dist/types.json +389 -389
- package/package.json +2 -2
- package/dist/chunks/1337.60ffcfc4.js.map +0 -1
- package/dist/chunks/9061.d00f49db.js.map +0 -1
- package/dist/chunks/eo-form.e49f4233.js +0 -2
- package/dist/chunks/eo-form.e49f4233.js.map +0 -1
- /package/dist/chunks/{eo-dynamic-form-item.c5de969e.js.LICENSE.txt → eo-dynamic-form-item.8a6e7a9b.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-form-item.c0c1f58a.js.LICENSE.txt → eo-form-item.b21c297e.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-radio.9c3eace0.js.LICENSE.txt → eo-radio.0cd3d54c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-select.90ca4a92.js.LICENSE.txt → eo-select.75b52f12.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-file.c5b8eb39.js.LICENSE.txt → eo-upload-file.3da8f66f.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-image.b7988668.js.LICENSE.txt → eo-upload-image.dcec5ea8.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -414,6 +414,104 @@
|
|
|
414
414
|
"description": "表单构件",
|
|
415
415
|
"category": "form-input-basic"
|
|
416
416
|
},
|
|
417
|
+
{
|
|
418
|
+
"name": "eo-radio",
|
|
419
|
+
"alias": [
|
|
420
|
+
"form.general-radio"
|
|
421
|
+
],
|
|
422
|
+
"properties": [
|
|
423
|
+
{
|
|
424
|
+
"name": "name",
|
|
425
|
+
"description": "下拉框字段名",
|
|
426
|
+
"type": "string"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"name": "label",
|
|
430
|
+
"description": "单选框字段说明",
|
|
431
|
+
"type": "string"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"name": "options",
|
|
435
|
+
"description": "单选框选项表",
|
|
436
|
+
"required": true,
|
|
437
|
+
"attribute": false,
|
|
438
|
+
"type": "GeneralOption[]"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "value",
|
|
442
|
+
"description": "单选框当前选中始值",
|
|
443
|
+
"attribute": false,
|
|
444
|
+
"type": "any"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "required",
|
|
448
|
+
"description": "是否必填",
|
|
449
|
+
"type": "boolean"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "message",
|
|
453
|
+
"description": "校验文本信息",
|
|
454
|
+
"attribute": false,
|
|
455
|
+
"type": "Record<string, string>"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "disabled",
|
|
459
|
+
"description": "是否禁用",
|
|
460
|
+
"type": "boolean"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"name": "type",
|
|
464
|
+
"description": "单选框样式类型",
|
|
465
|
+
"default": "\"default\"",
|
|
466
|
+
"type": "RadioType"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"name": "ui",
|
|
470
|
+
"description": "UI样式",
|
|
471
|
+
"default": "\"default\"",
|
|
472
|
+
"type": "UIType"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"name": "size",
|
|
476
|
+
"description": "大小,只对按钮样式生效",
|
|
477
|
+
"default": "\"medium\"",
|
|
478
|
+
"type": "ComponentSize"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"name": "customStyle",
|
|
482
|
+
"description": "自定义radio的外层样式",
|
|
483
|
+
"attribute": false,
|
|
484
|
+
"type": "React.CSSProperties"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"name": "useBrick",
|
|
488
|
+
"description": "自定义radio的内容",
|
|
489
|
+
"attribute": false,
|
|
490
|
+
"type": "UseSingleBrickConf"
|
|
491
|
+
}
|
|
492
|
+
],
|
|
493
|
+
"events": [
|
|
494
|
+
{
|
|
495
|
+
"name": "change",
|
|
496
|
+
"description": "值变化事件",
|
|
497
|
+
"detail": {
|
|
498
|
+
"type": "GeneralComplexOption | undefined"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"name": "options.change",
|
|
503
|
+
"description": "选项列表变化事件",
|
|
504
|
+
"detail": {
|
|
505
|
+
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
],
|
|
509
|
+
"slots": [],
|
|
510
|
+
"methods": [],
|
|
511
|
+
"parts": [],
|
|
512
|
+
"description": "通用单选构件",
|
|
513
|
+
"category": "form-input-basic"
|
|
514
|
+
},
|
|
417
515
|
{
|
|
418
516
|
"name": "eo-form-item",
|
|
419
517
|
"alias": [
|
|
@@ -513,104 +611,6 @@
|
|
|
513
611
|
"category": "form-input-basic",
|
|
514
612
|
"insider": true
|
|
515
613
|
},
|
|
516
|
-
{
|
|
517
|
-
"name": "eo-radio",
|
|
518
|
-
"alias": [
|
|
519
|
-
"form.general-radio"
|
|
520
|
-
],
|
|
521
|
-
"properties": [
|
|
522
|
-
{
|
|
523
|
-
"name": "name",
|
|
524
|
-
"description": "下拉框字段名",
|
|
525
|
-
"type": "string"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"name": "label",
|
|
529
|
-
"description": "单选框字段说明",
|
|
530
|
-
"type": "string"
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
"name": "options",
|
|
534
|
-
"description": "单选框选项表",
|
|
535
|
-
"required": true,
|
|
536
|
-
"attribute": false,
|
|
537
|
-
"type": "GeneralOption[]"
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
"name": "value",
|
|
541
|
-
"description": "单选框当前选中始值",
|
|
542
|
-
"attribute": false,
|
|
543
|
-
"type": "any"
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"name": "required",
|
|
547
|
-
"description": "是否必填",
|
|
548
|
-
"type": "boolean"
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
"name": "message",
|
|
552
|
-
"description": "校验文本信息",
|
|
553
|
-
"attribute": false,
|
|
554
|
-
"type": "Record<string, string>"
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
"name": "disabled",
|
|
558
|
-
"description": "是否禁用",
|
|
559
|
-
"type": "boolean"
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
"name": "type",
|
|
563
|
-
"description": "单选框样式类型",
|
|
564
|
-
"default": "\"default\"",
|
|
565
|
-
"type": "RadioType"
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"name": "ui",
|
|
569
|
-
"description": "UI样式",
|
|
570
|
-
"default": "\"default\"",
|
|
571
|
-
"type": "UIType"
|
|
572
|
-
},
|
|
573
|
-
{
|
|
574
|
-
"name": "size",
|
|
575
|
-
"description": "大小,只对按钮样式生效",
|
|
576
|
-
"default": "\"medium\"",
|
|
577
|
-
"type": "ComponentSize"
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
"name": "customStyle",
|
|
581
|
-
"description": "自定义radio的外层样式",
|
|
582
|
-
"attribute": false,
|
|
583
|
-
"type": "React.CSSProperties"
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
"name": "useBrick",
|
|
587
|
-
"description": "自定义radio的内容",
|
|
588
|
-
"attribute": false,
|
|
589
|
-
"type": "UseSingleBrickConf"
|
|
590
|
-
}
|
|
591
|
-
],
|
|
592
|
-
"events": [
|
|
593
|
-
{
|
|
594
|
-
"name": "change",
|
|
595
|
-
"description": "值变化事件",
|
|
596
|
-
"detail": {
|
|
597
|
-
"type": "GeneralComplexOption | undefined"
|
|
598
|
-
}
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
"name": "options.change",
|
|
602
|
-
"description": "选项列表变化事件",
|
|
603
|
-
"detail": {
|
|
604
|
-
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
],
|
|
608
|
-
"slots": [],
|
|
609
|
-
"methods": [],
|
|
610
|
-
"parts": [],
|
|
611
|
-
"description": "通用单选构件",
|
|
612
|
-
"category": "form-input-basic"
|
|
613
|
-
},
|
|
614
614
|
{
|
|
615
615
|
"name": "eo-select",
|
|
616
616
|
"alias": [
|
|
@@ -1531,6 +1531,76 @@
|
|
|
1531
1531
|
"description": "时间选择器",
|
|
1532
1532
|
"category": "form-input-basic"
|
|
1533
1533
|
},
|
|
1534
|
+
{
|
|
1535
|
+
"name": "eo-time-range-picker",
|
|
1536
|
+
"properties": [
|
|
1537
|
+
{
|
|
1538
|
+
"name": "name",
|
|
1539
|
+
"description": "时间段选择器字段名",
|
|
1540
|
+
"type": "string"
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"name": "label",
|
|
1544
|
+
"description": "时间段选择器说明",
|
|
1545
|
+
"type": "string"
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"name": "value",
|
|
1549
|
+
"description": "时间段选择器的初始值",
|
|
1550
|
+
"default": "{ \"startTime\": \"00:00:00\", \"endTime\": \"23:59:59\" }",
|
|
1551
|
+
"attribute": false,
|
|
1552
|
+
"type": "TimeRange"
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
"name": "required",
|
|
1556
|
+
"description": "是否必填",
|
|
1557
|
+
"type": "boolean"
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
1560
|
+
"name": "rangeType",
|
|
1561
|
+
"description": "时间段类型",
|
|
1562
|
+
"attribute": false,
|
|
1563
|
+
"type": "RangeType"
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
"name": "selectNearDays",
|
|
1567
|
+
"description": "只有rangeType在`date` 和 `dateTime`下, 才支持只选择最近n天(当前时间向前n天)",
|
|
1568
|
+
"type": "number"
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
"name": "emitChangeOnInit",
|
|
1572
|
+
"description": "",
|
|
1573
|
+
"default": "true\n是否在初始化完成后额外触发一次`time.range.change`, 这里因为历史原因之前默认行为就是在初始化后会触发该事件,这里为了兼容之前的行为,默认值只能设置为 true。",
|
|
1574
|
+
"type": "boolean"
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
"name": "presetRanges",
|
|
1578
|
+
"description": "",
|
|
1579
|
+
"default": "[]\n预设时间范围快捷选择;设置了属性selectNearDays时,属性presetRanges不生效;属性rangeType为week时,presetRanges的值只能为本周、本月、本季度、今年,属性rangeType为month、quarter、year时,以此类推",
|
|
1580
|
+
"attribute": false,
|
|
1581
|
+
"type": "presetRangeType[]"
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"name": "validator",
|
|
1585
|
+
"attribute": false,
|
|
1586
|
+
"type": "((value: any) => MessageBody | string)"
|
|
1587
|
+
}
|
|
1588
|
+
],
|
|
1589
|
+
"events": [
|
|
1590
|
+
{
|
|
1591
|
+
"name": "change",
|
|
1592
|
+
"description": "时间段变化时触发",
|
|
1593
|
+
"detail": {
|
|
1594
|
+
"type": "TimeRange"
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1597
|
+
],
|
|
1598
|
+
"slots": [],
|
|
1599
|
+
"methods": [],
|
|
1600
|
+
"parts": [],
|
|
1601
|
+
"description": "时间区间选择器",
|
|
1602
|
+
"category": "form-input-basic"
|
|
1603
|
+
},
|
|
1534
1604
|
{
|
|
1535
1605
|
"name": "eo-date-picker",
|
|
1536
1606
|
"properties": [
|
|
@@ -1631,76 +1701,6 @@
|
|
|
1631
1701
|
"description": "日期选择器",
|
|
1632
1702
|
"category": "form-input-basic"
|
|
1633
1703
|
},
|
|
1634
|
-
{
|
|
1635
|
-
"name": "eo-time-range-picker",
|
|
1636
|
-
"properties": [
|
|
1637
|
-
{
|
|
1638
|
-
"name": "name",
|
|
1639
|
-
"description": "时间段选择器字段名",
|
|
1640
|
-
"type": "string"
|
|
1641
|
-
},
|
|
1642
|
-
{
|
|
1643
|
-
"name": "label",
|
|
1644
|
-
"description": "时间段选择器说明",
|
|
1645
|
-
"type": "string"
|
|
1646
|
-
},
|
|
1647
|
-
{
|
|
1648
|
-
"name": "value",
|
|
1649
|
-
"description": "时间段选择器的初始值",
|
|
1650
|
-
"default": "{ \"startTime\": \"00:00:00\", \"endTime\": \"23:59:59\" }",
|
|
1651
|
-
"attribute": false,
|
|
1652
|
-
"type": "TimeRange"
|
|
1653
|
-
},
|
|
1654
|
-
{
|
|
1655
|
-
"name": "required",
|
|
1656
|
-
"description": "是否必填",
|
|
1657
|
-
"type": "boolean"
|
|
1658
|
-
},
|
|
1659
|
-
{
|
|
1660
|
-
"name": "rangeType",
|
|
1661
|
-
"description": "时间段类型",
|
|
1662
|
-
"attribute": false,
|
|
1663
|
-
"type": "RangeType"
|
|
1664
|
-
},
|
|
1665
|
-
{
|
|
1666
|
-
"name": "selectNearDays",
|
|
1667
|
-
"description": "只有rangeType在`date` 和 `dateTime`下, 才支持只选择最近n天(当前时间向前n天)",
|
|
1668
|
-
"type": "number"
|
|
1669
|
-
},
|
|
1670
|
-
{
|
|
1671
|
-
"name": "emitChangeOnInit",
|
|
1672
|
-
"description": "",
|
|
1673
|
-
"default": "true\n是否在初始化完成后额外触发一次`time.range.change`, 这里因为历史原因之前默认行为就是在初始化后会触发该事件,这里为了兼容之前的行为,默认值只能设置为 true。",
|
|
1674
|
-
"type": "boolean"
|
|
1675
|
-
},
|
|
1676
|
-
{
|
|
1677
|
-
"name": "presetRanges",
|
|
1678
|
-
"description": "",
|
|
1679
|
-
"default": "[]\n预设时间范围快捷选择;设置了属性selectNearDays时,属性presetRanges不生效;属性rangeType为week时,presetRanges的值只能为本周、本月、本季度、今年,属性rangeType为month、quarter、year时,以此类推",
|
|
1680
|
-
"attribute": false,
|
|
1681
|
-
"type": "presetRangeType[]"
|
|
1682
|
-
},
|
|
1683
|
-
{
|
|
1684
|
-
"name": "validator",
|
|
1685
|
-
"attribute": false,
|
|
1686
|
-
"type": "((value: any) => MessageBody | string)"
|
|
1687
|
-
}
|
|
1688
|
-
],
|
|
1689
|
-
"events": [
|
|
1690
|
-
{
|
|
1691
|
-
"name": "change",
|
|
1692
|
-
"description": "时间段变化时触发",
|
|
1693
|
-
"detail": {
|
|
1694
|
-
"type": "TimeRange"
|
|
1695
|
-
}
|
|
1696
|
-
}
|
|
1697
|
-
],
|
|
1698
|
-
"slots": [],
|
|
1699
|
-
"methods": [],
|
|
1700
|
-
"parts": [],
|
|
1701
|
-
"description": "时间区间选择器",
|
|
1702
|
-
"category": "form-input-basic"
|
|
1703
|
-
},
|
|
1704
1704
|
{
|
|
1705
1705
|
"name": "eo-color-picker",
|
|
1706
1706
|
"properties": [
|