@das-fed/ui 6.4.0-dev.21 → 6.4.0-dev.23
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/package.json +5 -5
- package/packages/business-components/import-button/index.js +62 -62
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +1161 -1021
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/hooks/useForm.d.ts +1 -1
- package/packages/business-components/process-form/src/utils/encryption/index.d.ts +7 -0
- package/packages/business-components/process-form/src/widgets/base/attachment.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/autocomplete.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/checkbox.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/date.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/dropdown.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/imageViewer.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/input.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/number.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/radio.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/select.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/selector.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/soundRecording.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/switch.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/text.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/textarea.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/time.vue.d.ts +0 -1
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/business-components/process-table/index.js +90 -89
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/components/autocomplete/src/index.vue.d.ts +4 -1
- package/packages/components/form/index.js +51 -60
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form/style.css +1 -1
- package/packages/components/form-item/index.js +463 -468
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/input/index.d.ts +3 -0
- package/packages/components/input/index.js +44 -43
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +1 -0
- package/packages/components/input/src/type.d.ts +2 -0
- package/packages/components/input/style.css +1 -1
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/search-form/index.js +676 -670
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select-input/index.js +11 -10
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-input/style.css +1 -1
- package/packages/components/select-input/style.css.gz +0 -0
- package/packages/components/form/src/utils/flat-form-item.d.ts +0 -1
|
@@ -1374,13 +1374,13 @@ const Lo = (e, t, r) => {
|
|
|
1374
1374
|
r.value = !1;
|
|
1375
1375
|
}
|
|
1376
1376
|
};
|
|
1377
|
-
}, ko = { class: "label-context" },
|
|
1377
|
+
}, ko = ["data-col"], Ko = { class: "label-context" }, Go = { key: 0 }, Ho = {
|
|
1378
1378
|
key: 0,
|
|
1379
1379
|
class: "error-label"
|
|
1380
|
-
},
|
|
1380
|
+
}, Wo = {
|
|
1381
1381
|
inheritAttrs: !1
|
|
1382
|
-
},
|
|
1383
|
-
...
|
|
1382
|
+
}, Jo = /* @__PURE__ */ ur({
|
|
1383
|
+
...Wo,
|
|
1384
1384
|
__name: "Index",
|
|
1385
1385
|
props: {
|
|
1386
1386
|
labelLength: {},
|
|
@@ -1412,7 +1412,7 @@ const Lo = (e, t, r) => {
|
|
|
1412
1412
|
emits: ["update:modelValue", "update:optionValue", "update:error", "change", "input", "select-change"],
|
|
1413
1413
|
setup(e, { expose: t, emit: r }) {
|
|
1414
1414
|
fr((s) => ({
|
|
1415
|
-
"
|
|
1415
|
+
"7bb03f5e": l(j)
|
|
1416
1416
|
}));
|
|
1417
1417
|
const n = e, a = r, i = pr(), { isShow: o } = Pr(n), {
|
|
1418
1418
|
innerError: u,
|
|
@@ -1440,450 +1440,427 @@ const Lo = (e, t, r) => {
|
|
|
1440
1440
|
errorModalInputMouseEnter: _,
|
|
1441
1441
|
errorModallInputMouseLeave: q
|
|
1442
1442
|
} = zo(n);
|
|
1443
|
-
return t({ $treeSelect: i }), (s, g) => (F(), P(
|
|
1444
|
-
"
|
|
1445
|
-
{
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
"
|
|
1452
|
-
{
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
"
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1443
|
+
return t({ $treeSelect: i }), (s, g) => (F(), P("div", {
|
|
1444
|
+
class: Pe(["das-ui-form-item", [l(m), l(h).labelPosition, l(h).alignType, { "flex-layout": l(j) === "" }]]),
|
|
1445
|
+
style: J({ marginRight: l(p), marginBottom: l(L), alignItems: s.alignItems, flex: l(c), "min-width": 0 }),
|
|
1446
|
+
"data-col": s.col
|
|
1447
|
+
}, [
|
|
1448
|
+
re(
|
|
1449
|
+
"div",
|
|
1450
|
+
{
|
|
1451
|
+
class: "das-ui-form-item-label",
|
|
1452
|
+
style: J({ width: l(V), marginRight: l(S) })
|
|
1453
|
+
},
|
|
1454
|
+
[
|
|
1455
|
+
re(
|
|
1456
|
+
"div",
|
|
1457
|
+
{
|
|
1458
|
+
class: Pe(["label", { "required-mark": s.required, "has-help": s.helpMessage }])
|
|
1459
|
+
},
|
|
1460
|
+
[
|
|
1461
|
+
Qe((F(), P("div", Ko, [
|
|
1462
|
+
et(
|
|
1463
|
+
$e(s.label),
|
|
1464
|
+
1
|
|
1465
|
+
/* TEXT */
|
|
1466
|
+
)
|
|
1467
|
+
])), [
|
|
1468
|
+
[l(rt)]
|
|
1469
|
+
]),
|
|
1470
|
+
s.showColon ? (F(), P("span", Go, ":")) : E("v-if", !0),
|
|
1471
|
+
s.helpMessage || s.$slots.helpContent ? (F(), Ce(l($r), x({
|
|
1472
|
+
key: 1,
|
|
1473
|
+
effect: "light",
|
|
1474
|
+
placement: "top-start",
|
|
1475
|
+
content: s.helpMessage
|
|
1476
|
+
}, s.tooltipAttrs), tt({
|
|
1477
|
+
default: ne(() => [
|
|
1478
|
+
N(l(Er), {
|
|
1479
|
+
class: Pe(["help-icon", { "no-required": !s.required }]),
|
|
1480
|
+
iconColor: "#666",
|
|
1481
|
+
size: "medium"
|
|
1482
|
+
}, null, 8, ["class"])
|
|
1471
1483
|
]),
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
default: ne(() => [
|
|
1480
|
-
N(l(Er), {
|
|
1481
|
-
class: Pe(["help-icon", { "no-required": !s.required }]),
|
|
1482
|
-
iconColor: "#666",
|
|
1483
|
-
size: "medium"
|
|
1484
|
-
}, null, 8, ["class"])
|
|
1484
|
+
_: 2
|
|
1485
|
+
/* DYNAMIC */
|
|
1486
|
+
}, [
|
|
1487
|
+
s.$slots.helpContent ? {
|
|
1488
|
+
name: "content",
|
|
1489
|
+
fn: ne(() => [
|
|
1490
|
+
ae(s.$slots, "helpContent", {}, void 0, !0)
|
|
1485
1491
|
]),
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
[
|
|
1854
|
-
|
|
1855
|
-
R,
|
|
1856
|
-
{ key: 1 },
|
|
1857
|
-
[
|
|
1858
|
-
l(D) ? (F(), Ce(dr, {
|
|
1859
|
-
key: 0,
|
|
1860
|
-
to: "body"
|
|
1861
|
-
}, [
|
|
1862
|
-
re(
|
|
1863
|
-
"div",
|
|
1864
|
-
{
|
|
1865
|
-
style: J(l(te))
|
|
1866
|
-
},
|
|
1867
|
-
[
|
|
1868
|
-
re(
|
|
1869
|
-
"span",
|
|
1870
|
-
{
|
|
1871
|
-
style: J(l(W))
|
|
1872
|
-
},
|
|
1873
|
-
$e(l(u)),
|
|
1874
|
-
5
|
|
1875
|
-
/* TEXT, STYLE */
|
|
1876
|
-
)
|
|
1877
|
-
],
|
|
1878
|
-
4
|
|
1879
|
-
/* STYLE */
|
|
1880
|
-
)
|
|
1881
|
-
])) : (F(), P(
|
|
1492
|
+
key: "0"
|
|
1493
|
+
} : void 0
|
|
1494
|
+
]), 1040, ["content"])) : E("v-if", !0)
|
|
1495
|
+
],
|
|
1496
|
+
2
|
|
1497
|
+
/* CLASS */
|
|
1498
|
+
)
|
|
1499
|
+
],
|
|
1500
|
+
4
|
|
1501
|
+
/* STYLE */
|
|
1502
|
+
),
|
|
1503
|
+
re(
|
|
1504
|
+
"div",
|
|
1505
|
+
{
|
|
1506
|
+
ref_key: "$dasFormItem",
|
|
1507
|
+
ref: U,
|
|
1508
|
+
class: "das-ui-form-container",
|
|
1509
|
+
style: J({ width: l(j) }),
|
|
1510
|
+
onMouseenter: g[16] || (g[16] = //@ts-ignore
|
|
1511
|
+
(...b) => l(_) && l(_)(...b)),
|
|
1512
|
+
onMouseleave: g[17] || (g[17] = //@ts-ignore
|
|
1513
|
+
(...b) => l(q) && l(q)(...b))
|
|
1514
|
+
},
|
|
1515
|
+
[
|
|
1516
|
+
E(" 输入框 "),
|
|
1517
|
+
l(o)("input", "textarea", "password") ? (F(), Ce(l(hr), x({
|
|
1518
|
+
key: 0,
|
|
1519
|
+
modelValue: l(f),
|
|
1520
|
+
"onUpdate:modelValue": g[0] || (g[0] = (b) => I(f) ? f.value = b : null),
|
|
1521
|
+
style: { "margin-bottom": "0" },
|
|
1522
|
+
isView: s.isView,
|
|
1523
|
+
disabled: s.disabled,
|
|
1524
|
+
type: s.type,
|
|
1525
|
+
error: l(y),
|
|
1526
|
+
width: l(j),
|
|
1527
|
+
onInput: l(T),
|
|
1528
|
+
onChange: l(w)
|
|
1529
|
+
}, s.$attrs), tt({
|
|
1530
|
+
_: 2
|
|
1531
|
+
/* DYNAMIC */
|
|
1532
|
+
}, [
|
|
1533
|
+
s.$slots.suffix ? {
|
|
1534
|
+
name: "suffix",
|
|
1535
|
+
fn: ne(() => [
|
|
1536
|
+
ae(s.$slots, "suffix", {}, void 0, !0)
|
|
1537
|
+
]),
|
|
1538
|
+
key: "0"
|
|
1539
|
+
} : void 0,
|
|
1540
|
+
s.$slots.prefix ? {
|
|
1541
|
+
name: "prefix",
|
|
1542
|
+
fn: ne(() => [
|
|
1543
|
+
ae(s.$slots, "prefix", {}, void 0, !0)
|
|
1544
|
+
]),
|
|
1545
|
+
key: "1"
|
|
1546
|
+
} : void 0,
|
|
1547
|
+
s.$slots.prepend ? {
|
|
1548
|
+
name: "prepend",
|
|
1549
|
+
fn: ne(() => [
|
|
1550
|
+
ae(s.$slots, "prepend", {}, void 0, !0)
|
|
1551
|
+
]),
|
|
1552
|
+
key: "2"
|
|
1553
|
+
} : void 0,
|
|
1554
|
+
s.$slots.append ? {
|
|
1555
|
+
name: "append",
|
|
1556
|
+
fn: ne(() => [
|
|
1557
|
+
ae(s.$slots, "append", {}, void 0, !0)
|
|
1558
|
+
]),
|
|
1559
|
+
key: "3"
|
|
1560
|
+
} : void 0
|
|
1561
|
+
]), 1040, ["modelValue", "isView", "disabled", "type", "error", "width", "onInput", "onChange"])) : l(o)("radio") ? (F(), P(
|
|
1562
|
+
R,
|
|
1563
|
+
{ key: 1 },
|
|
1564
|
+
[
|
|
1565
|
+
E(" 单选框 "),
|
|
1566
|
+
N(l(mr), x({
|
|
1567
|
+
modelValue: l(f),
|
|
1568
|
+
"onUpdate:modelValue": g[1] || (g[1] = (b) => I(f) ? f.value = b : null),
|
|
1569
|
+
isView: s.isView,
|
|
1570
|
+
disabled: s.disabled,
|
|
1571
|
+
radioType: "group",
|
|
1572
|
+
options: s.options,
|
|
1573
|
+
defaultProps: {
|
|
1574
|
+
value: s.optionsValueKey,
|
|
1575
|
+
label: s.optionsLabelKey
|
|
1576
|
+
},
|
|
1577
|
+
onChange: l(w)
|
|
1578
|
+
}, s.$attrs), null, 16, ["modelValue", "isView", "disabled", "options", "defaultProps", "onChange"])
|
|
1579
|
+
],
|
|
1580
|
+
2112
|
|
1581
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1582
|
+
)) : l(o)("checkbox") ? (F(), P(
|
|
1583
|
+
R,
|
|
1584
|
+
{ key: 2 },
|
|
1585
|
+
[
|
|
1586
|
+
E(" 多选框 "),
|
|
1587
|
+
N(l(br), x({
|
|
1588
|
+
modelValue: l(f),
|
|
1589
|
+
"onUpdate:modelValue": g[2] || (g[2] = (b) => I(f) ? f.value = b : null),
|
|
1590
|
+
isView: s.isView,
|
|
1591
|
+
disabled: s.disabled,
|
|
1592
|
+
checkboxType: "group",
|
|
1593
|
+
options: s.options,
|
|
1594
|
+
defaultProps: {
|
|
1595
|
+
value: s.optionsValueKey,
|
|
1596
|
+
label: s.optionsLabelKey
|
|
1597
|
+
},
|
|
1598
|
+
onChange: l(w)
|
|
1599
|
+
}, s.$attrs), null, 16, ["modelValue", "isView", "disabled", "options", "defaultProps", "onChange"])
|
|
1600
|
+
],
|
|
1601
|
+
2112
|
|
1602
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1603
|
+
)) : l(o)("switch") ? (F(), P(
|
|
1604
|
+
R,
|
|
1605
|
+
{ key: 3 },
|
|
1606
|
+
[
|
|
1607
|
+
E(" 开关 "),
|
|
1608
|
+
N(l(vr), x({
|
|
1609
|
+
modelValue: l(f),
|
|
1610
|
+
"onUpdate:modelValue": g[3] || (g[3] = (b) => I(f) ? f.value = b : null),
|
|
1611
|
+
disabled: s.disabled,
|
|
1612
|
+
onChange: l(w)
|
|
1613
|
+
}, s.$attrs), null, 16, ["modelValue", "disabled", "onChange"])
|
|
1614
|
+
],
|
|
1615
|
+
2112
|
|
1616
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1617
|
+
)) : l(o)("select") ? (F(), P(
|
|
1618
|
+
R,
|
|
1619
|
+
{ key: 4 },
|
|
1620
|
+
[
|
|
1621
|
+
E(" 下拉框 "),
|
|
1622
|
+
N(l(wr), x({
|
|
1623
|
+
modelValue: l(f),
|
|
1624
|
+
"onUpdate:modelValue": g[4] || (g[4] = (b) => I(f) ? f.value = b : null),
|
|
1625
|
+
isView: s.isView,
|
|
1626
|
+
disabled: s.disabled,
|
|
1627
|
+
error: l(y),
|
|
1628
|
+
size: "small",
|
|
1629
|
+
options: s.options,
|
|
1630
|
+
width: "100%",
|
|
1631
|
+
fieldNames: {
|
|
1632
|
+
value: s.optionsValueKey,
|
|
1633
|
+
label: s.optionsLabelKey
|
|
1634
|
+
},
|
|
1635
|
+
onChange: l(w)
|
|
1636
|
+
}, s.$attrs), null, 16, ["modelValue", "isView", "disabled", "error", "options", "fieldNames", "onChange"])
|
|
1637
|
+
],
|
|
1638
|
+
2112
|
|
1639
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1640
|
+
)) : l(o)("cascader") ? (F(), P(
|
|
1641
|
+
R,
|
|
1642
|
+
{ key: 5 },
|
|
1643
|
+
[
|
|
1644
|
+
E(" 级联选择器 "),
|
|
1645
|
+
N(l(Ar), x({
|
|
1646
|
+
modelValue: l(f),
|
|
1647
|
+
"onUpdate:modelValue": g[5] || (g[5] = (b) => I(f) ? f.value = b : null),
|
|
1648
|
+
isView: s.isView,
|
|
1649
|
+
disabled: s.disabled,
|
|
1650
|
+
error: l(y),
|
|
1651
|
+
size: "small",
|
|
1652
|
+
options: s.options,
|
|
1653
|
+
width: "100%",
|
|
1654
|
+
onChange: l(w)
|
|
1655
|
+
}, s.$attrs), null, 16, ["modelValue", "isView", "disabled", "error", "options", "onChange"])
|
|
1656
|
+
],
|
|
1657
|
+
2112
|
|
1658
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1659
|
+
)) : l(o)("treeSelect") ? (F(), P(
|
|
1660
|
+
R,
|
|
1661
|
+
{ key: 6 },
|
|
1662
|
+
[
|
|
1663
|
+
E(" 下拉树 "),
|
|
1664
|
+
N(l(cr), x({
|
|
1665
|
+
ref_key: "$treeSelect",
|
|
1666
|
+
ref: i,
|
|
1667
|
+
modelValue: l(f),
|
|
1668
|
+
"onUpdate:modelValue": g[6] || (g[6] = (b) => I(f) ? f.value = b : null),
|
|
1669
|
+
data: s.options,
|
|
1670
|
+
size: "small",
|
|
1671
|
+
width: "100%",
|
|
1672
|
+
isView: s.isView,
|
|
1673
|
+
disabled: s.disabled,
|
|
1674
|
+
error: l(y),
|
|
1675
|
+
onChange: l(w)
|
|
1676
|
+
}, s.$attrs), null, 16, ["modelValue", "data", "isView", "disabled", "error", "onChange"])
|
|
1677
|
+
],
|
|
1678
|
+
2112
|
|
1679
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1680
|
+
)) : l(o)("colorPicker") ? (F(), P(
|
|
1681
|
+
R,
|
|
1682
|
+
{ key: 7 },
|
|
1683
|
+
[
|
|
1684
|
+
E(" 颜色选择器 "),
|
|
1685
|
+
N(l(Fr), x({
|
|
1686
|
+
modelValue: l(f),
|
|
1687
|
+
"onUpdate:modelValue": g[7] || (g[7] = (b) => I(f) ? f.value = b : null),
|
|
1688
|
+
options: s.options,
|
|
1689
|
+
width: "100%",
|
|
1690
|
+
onChange: l(w),
|
|
1691
|
+
disabled: s.disabled,
|
|
1692
|
+
error: l(y),
|
|
1693
|
+
isView: s.isView
|
|
1694
|
+
}, s.$attrs), null, 16, ["modelValue", "options", "onChange", "disabled", "error", "isView"])
|
|
1695
|
+
],
|
|
1696
|
+
2112
|
|
1697
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1698
|
+
)) : l(o)("inputNumber") ? (F(), P(
|
|
1699
|
+
R,
|
|
1700
|
+
{ key: 8 },
|
|
1701
|
+
[
|
|
1702
|
+
E(" 步进器 "),
|
|
1703
|
+
N(l(Sr), x({
|
|
1704
|
+
modelValue: l(f),
|
|
1705
|
+
"onUpdate:modelValue": g[8] || (g[8] = (b) => I(f) ? f.value = b : null),
|
|
1706
|
+
width: "100%",
|
|
1707
|
+
onInput: l(T),
|
|
1708
|
+
onChange: l(w),
|
|
1709
|
+
disabled: s.disabled,
|
|
1710
|
+
error: l(y),
|
|
1711
|
+
isView: s.isView
|
|
1712
|
+
}, s.$attrs), null, 16, ["modelValue", "onInput", "onChange", "disabled", "error", "isView"])
|
|
1713
|
+
],
|
|
1714
|
+
2112
|
|
1715
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1716
|
+
)) : l(o)("selectInput") ? (F(), P(
|
|
1717
|
+
R,
|
|
1718
|
+
{ key: 9 },
|
|
1719
|
+
[
|
|
1720
|
+
E(" 搜索组件 "),
|
|
1721
|
+
N(l(gr), x({
|
|
1722
|
+
width: "100%",
|
|
1723
|
+
modelValue: l(f),
|
|
1724
|
+
"onUpdate:modelValue": g[9] || (g[9] = (b) => I(f) ? f.value = b : null),
|
|
1725
|
+
isView: s.isView,
|
|
1726
|
+
error: l(y),
|
|
1727
|
+
disabled: s.disabled,
|
|
1728
|
+
optionValue: l(d),
|
|
1729
|
+
"onUpdate:optionValue": g[10] || (g[10] = (b) => I(d) ? d.value = b : null),
|
|
1730
|
+
options: s.options,
|
|
1731
|
+
optionsLabelKey: s.optionsLabelKey,
|
|
1732
|
+
optionsValueKey: s.optionsValueKey,
|
|
1733
|
+
onInputChange: l(w),
|
|
1734
|
+
onDasInput: l(T),
|
|
1735
|
+
onSelectChange: l(M)
|
|
1736
|
+
}, s.$attrs), null, 16, ["modelValue", "isView", "error", "disabled", "optionValue", "options", "optionsLabelKey", "optionsValueKey", "onInputChange", "onDasInput", "onSelectChange"])
|
|
1737
|
+
],
|
|
1738
|
+
2112
|
|
1739
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1740
|
+
)) : l(o)("inputDialogSelect") ? (F(), P(
|
|
1741
|
+
R,
|
|
1742
|
+
{ key: 10 },
|
|
1743
|
+
[
|
|
1744
|
+
E(" 弹窗选择 "),
|
|
1745
|
+
N(l(yr), x({
|
|
1746
|
+
style: { width: "100px", flex: "1" },
|
|
1747
|
+
size: "auto",
|
|
1748
|
+
isView: s.isView,
|
|
1749
|
+
disabled: s.disabled,
|
|
1750
|
+
error: l(y),
|
|
1751
|
+
"selected-options": s.options,
|
|
1752
|
+
modelValue: l(f),
|
|
1753
|
+
"onUpdate:modelValue": g[11] || (g[11] = (b) => I(f) ? f.value = b : null)
|
|
1754
|
+
}, s.$attrs, {
|
|
1755
|
+
optionsLabelKey: s.optionsLabelKey,
|
|
1756
|
+
optionsValueKey: s.optionsValueKey,
|
|
1757
|
+
onChange: l(w)
|
|
1758
|
+
}), null, 16, ["isView", "disabled", "error", "selected-options", "modelValue", "optionsLabelKey", "optionsValueKey", "onChange"])
|
|
1759
|
+
],
|
|
1760
|
+
2112
|
|
1761
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1762
|
+
)) : l(o)("date", "dateTime", "week", "month", "quarter", "year") ? (F(), P(
|
|
1763
|
+
R,
|
|
1764
|
+
{ key: 11 },
|
|
1765
|
+
[
|
|
1766
|
+
E(" 日期选择器 "),
|
|
1767
|
+
N(l(Tr), x({
|
|
1768
|
+
"show-time": s.type === "dateTime",
|
|
1769
|
+
picker: s.type !== "dateTime" ? s.type : "date",
|
|
1770
|
+
modelValue: l(f),
|
|
1771
|
+
"onUpdate:modelValue": g[12] || (g[12] = (b) => I(f) ? f.value = b : null),
|
|
1772
|
+
size: "small",
|
|
1773
|
+
width: "100%",
|
|
1774
|
+
disabled: s.disabled,
|
|
1775
|
+
isView: s.isView,
|
|
1776
|
+
error: l(y),
|
|
1777
|
+
onChange: l(w)
|
|
1778
|
+
}, s.$attrs), null, 16, ["show-time", "picker", "modelValue", "disabled", "isView", "error", "onChange"])
|
|
1779
|
+
],
|
|
1780
|
+
2112
|
|
1781
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1782
|
+
)) : l(o)("dateRange", "dateTimeRange", "weekRange", "monthRange", "yearRange") ? (F(), P(
|
|
1783
|
+
R,
|
|
1784
|
+
{ key: 12 },
|
|
1785
|
+
[
|
|
1786
|
+
E(" 日期范围选择器 "),
|
|
1787
|
+
N(l(Vr), x({
|
|
1788
|
+
"show-time": s.type === "dateTimeRange",
|
|
1789
|
+
picker: s.type !== "dateTimeRange" ? s.type.slice(0, -5) : "date",
|
|
1790
|
+
modelValue: l(f),
|
|
1791
|
+
"onUpdate:modelValue": g[13] || (g[13] = (b) => I(f) ? f.value = b : null),
|
|
1792
|
+
size: "small",
|
|
1793
|
+
width: "100%",
|
|
1794
|
+
disabled: s.disabled,
|
|
1795
|
+
isView: s.isView,
|
|
1796
|
+
error: l(y),
|
|
1797
|
+
onChange: l(w)
|
|
1798
|
+
}, s.$attrs), null, 16, ["show-time", "picker", "modelValue", "disabled", "isView", "error", "onChange"])
|
|
1799
|
+
],
|
|
1800
|
+
2112
|
|
1801
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1802
|
+
)) : l(o)("time") ? (F(), P(
|
|
1803
|
+
R,
|
|
1804
|
+
{ key: 13 },
|
|
1805
|
+
[
|
|
1806
|
+
E(" 时间选择器 "),
|
|
1807
|
+
N(l(jr), x({
|
|
1808
|
+
modelValue: l(f),
|
|
1809
|
+
"onUpdate:modelValue": g[14] || (g[14] = (b) => I(f) ? f.value = b : null),
|
|
1810
|
+
size: "small",
|
|
1811
|
+
width: "100%",
|
|
1812
|
+
disabled: s.disabled,
|
|
1813
|
+
isView: s.isView,
|
|
1814
|
+
onChange: l(w)
|
|
1815
|
+
}, s.$attrs), null, 16, ["modelValue", "disabled", "isView", "onChange"])
|
|
1816
|
+
],
|
|
1817
|
+
2112
|
|
1818
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1819
|
+
)) : l(o)("timeRange") ? (F(), P(
|
|
1820
|
+
R,
|
|
1821
|
+
{ key: 14 },
|
|
1822
|
+
[
|
|
1823
|
+
E(" 时间范围选择器 "),
|
|
1824
|
+
N(l(Or), x({
|
|
1825
|
+
modelValue: l(f),
|
|
1826
|
+
"onUpdate:modelValue": g[15] || (g[15] = (b) => I(f) ? f.value = b : null),
|
|
1827
|
+
size: "small",
|
|
1828
|
+
width: "100%",
|
|
1829
|
+
disabled: s.disabled,
|
|
1830
|
+
isView: s.isView,
|
|
1831
|
+
onChange: l(w)
|
|
1832
|
+
}, s.$attrs), null, 16, ["modelValue", "disabled", "isView", "onChange"])
|
|
1833
|
+
],
|
|
1834
|
+
2112
|
|
1835
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1836
|
+
)) : E("v-if", !0),
|
|
1837
|
+
E(" 插槽 "),
|
|
1838
|
+
ae(s.$slots, "default", {}, void 0, !0),
|
|
1839
|
+
E(" 提示 "),
|
|
1840
|
+
l(y) && l(u) ? (F(), P(
|
|
1841
|
+
R,
|
|
1842
|
+
{ key: 15 },
|
|
1843
|
+
[
|
|
1844
|
+
l($) === "default" ? Qe((F(), P("div", Ho, [
|
|
1845
|
+
et(
|
|
1846
|
+
$e(l(u)),
|
|
1847
|
+
1
|
|
1848
|
+
/* TEXT */
|
|
1849
|
+
)
|
|
1850
|
+
])), [
|
|
1851
|
+
[l(rt)]
|
|
1852
|
+
]) : l(D) ? (F(), P(
|
|
1853
|
+
R,
|
|
1854
|
+
{ key: 1 },
|
|
1855
|
+
[
|
|
1856
|
+
l(D) ? (F(), Ce(dr, {
|
|
1857
|
+
key: 0,
|
|
1858
|
+
to: "body"
|
|
1859
|
+
}, [
|
|
1860
|
+
re(
|
|
1882
1861
|
"div",
|
|
1883
1862
|
{
|
|
1884
|
-
|
|
1885
|
-
style: J(l(k)),
|
|
1886
|
-
class: "das-form-item-overlay-error-label-content"
|
|
1863
|
+
style: J(l(te))
|
|
1887
1864
|
},
|
|
1888
1865
|
[
|
|
1889
1866
|
re(
|
|
@@ -1898,35 +1875,53 @@ const Lo = (e, t, r) => {
|
|
|
1898
1875
|
],
|
|
1899
1876
|
4
|
|
1900
1877
|
/* STYLE */
|
|
1901
|
-
)
|
|
1902
|
-
],
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1878
|
+
)
|
|
1879
|
+
])) : (F(), P(
|
|
1880
|
+
"div",
|
|
1881
|
+
{
|
|
1882
|
+
key: 1,
|
|
1883
|
+
style: J(l(k)),
|
|
1884
|
+
class: "das-form-item-overlay-error-label-content"
|
|
1885
|
+
},
|
|
1886
|
+
[
|
|
1887
|
+
re(
|
|
1888
|
+
"span",
|
|
1889
|
+
{
|
|
1890
|
+
style: J(l(W))
|
|
1891
|
+
},
|
|
1892
|
+
$e(l(u)),
|
|
1893
|
+
5
|
|
1894
|
+
/* TEXT, STYLE */
|
|
1895
|
+
)
|
|
1896
|
+
],
|
|
1897
|
+
4
|
|
1898
|
+
/* STYLE */
|
|
1899
|
+
))
|
|
1900
|
+
],
|
|
1901
|
+
64
|
|
1902
|
+
/* STABLE_FRAGMENT */
|
|
1903
|
+
)) : E("v-if", !0)
|
|
1904
|
+
],
|
|
1905
|
+
64
|
|
1906
|
+
/* STABLE_FRAGMENT */
|
|
1907
|
+
)) : E("v-if", !0)
|
|
1908
|
+
],
|
|
1909
|
+
36
|
|
1910
|
+
/* STYLE, NEED_HYDRATION */
|
|
1911
|
+
)
|
|
1912
|
+
], 14, ko));
|
|
1918
1913
|
}
|
|
1919
|
-
}),
|
|
1914
|
+
}), Zo = (e, t) => {
|
|
1920
1915
|
const r = e.__vccOpts || e;
|
|
1921
1916
|
for (const [n, a] of t)
|
|
1922
1917
|
r[n] = a;
|
|
1923
1918
|
return r;
|
|
1924
|
-
},
|
|
1919
|
+
}, Yo = /* @__PURE__ */ Zo(Jo, [["__scopeId", "data-v-b1264b9f"]]), Xo = {
|
|
1925
1920
|
"--das-ui-form-error-label-color": { light: "#fb2323" },
|
|
1926
1921
|
"--das-ui-form-label-normal": { light: rr("--das-ui-color-secondary") }
|
|
1927
|
-
},
|
|
1928
|
-
nr(
|
|
1922
|
+
}, vs = tr(Yo);
|
|
1923
|
+
nr(Xo);
|
|
1929
1924
|
export {
|
|
1930
|
-
|
|
1931
|
-
|
|
1925
|
+
vs as DasFormItem,
|
|
1926
|
+
vs as default
|
|
1932
1927
|
};
|