@fangzhongya/fang-ui 0.1.51 → 0.1.53

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 (197) hide show
  1. package/bin/fang-ui.js +2 -2
  2. package/dist/components/box-fun/index.cjs +1 -0
  3. package/dist/components/box-fun/index.js +1 -0
  4. package/dist/components/box-fun/index.scss +8 -0
  5. package/dist/components/box-fun/style/index2.scss +4 -0
  6. package/dist/components/buttons/src/data.d.ts +14 -11
  7. package/dist/components/cascaders/src/data.d.ts +14 -11
  8. package/dist/components/cascaders/src/index2.cjs +15 -8
  9. package/dist/components/cascaders/src/index2.js +15 -8
  10. package/dist/components/checks/src/data.d.ts +14 -11
  11. package/dist/components/checks/src/index2.cjs +6 -6
  12. package/dist/components/checks/src/index2.js +6 -6
  13. package/dist/components/common/list.cjs +34 -15
  14. package/dist/components/common/list.d.ts +25 -12
  15. package/dist/components/common/list.js +34 -15
  16. package/dist/components/common/use.cjs +9 -5
  17. package/dist/components/common/use.js +9 -5
  18. package/dist/components/dates/src/data.d.ts +14 -11
  19. package/dist/components/dates2/src/data.d.ts +14 -11
  20. package/dist/components/draggable/style/index2.scss +1 -0
  21. package/dist/components/edit-data/index.cjs +9 -0
  22. package/dist/components/edit-data/index.d.ts +5 -0
  23. package/dist/components/edit-data/index.js +9 -0
  24. package/dist/components/edit-data/index.scss +95 -0
  25. package/dist/components/edit-data/src/area/array-json.cjs +4 -0
  26. package/dist/components/edit-data/src/area/array-json.js +4 -0
  27. package/dist/components/edit-data/src/area/array-json2.cjs +109 -0
  28. package/dist/components/edit-data/src/area/array-json2.js +109 -0
  29. package/dist/components/edit-data/src/area/array.cjs +4 -0
  30. package/dist/components/edit-data/src/area/array.js +4 -0
  31. package/dist/components/edit-data/src/area/array2.cjs +135 -0
  32. package/dist/components/edit-data/src/area/array2.js +135 -0
  33. package/dist/components/edit-data/src/area/code.cjs +4 -0
  34. package/dist/components/edit-data/src/area/code.js +4 -0
  35. package/dist/components/edit-data/src/area/code2.cjs +52 -0
  36. package/dist/components/edit-data/src/area/code2.js +52 -0
  37. package/dist/components/edit-data/src/area/editor.cjs +4 -0
  38. package/dist/components/edit-data/src/area/editor.js +4 -0
  39. package/dist/components/edit-data/src/area/editor2.cjs +170 -0
  40. package/dist/components/edit-data/src/area/editor2.js +170 -0
  41. package/dist/components/edit-data/src/area/general.cjs +4 -0
  42. package/dist/components/edit-data/src/area/general.js +4 -0
  43. package/dist/components/edit-data/src/area/general2.cjs +88 -0
  44. package/dist/components/edit-data/src/area/general2.js +88 -0
  45. package/dist/components/edit-data/src/area/object-json.cjs +4 -0
  46. package/dist/components/edit-data/src/area/object-json.js +4 -0
  47. package/dist/components/edit-data/src/area/object-json2.cjs +109 -0
  48. package/dist/components/edit-data/src/area/object-json2.js +109 -0
  49. package/dist/components/edit-data/src/area/object.cjs +4 -0
  50. package/dist/components/edit-data/src/area/object.js +4 -0
  51. package/dist/components/edit-data/src/area/object2.cjs +116 -0
  52. package/dist/components/edit-data/src/area/object2.js +116 -0
  53. package/dist/components/edit-data/src/data/array.cjs +4 -0
  54. package/dist/components/edit-data/src/data/array.js +4 -0
  55. package/dist/components/edit-data/src/data/array2.cjs +68 -0
  56. package/dist/components/edit-data/src/data/array2.js +68 -0
  57. package/dist/components/edit-data/src/data/bigint.cjs +4 -0
  58. package/dist/components/edit-data/src/data/bigint.js +4 -0
  59. package/dist/components/edit-data/src/data/bigint2.cjs +42 -0
  60. package/dist/components/edit-data/src/data/bigint2.js +42 -0
  61. package/dist/components/edit-data/src/data/boolean.cjs +4 -0
  62. package/dist/components/edit-data/src/data/boolean.js +4 -0
  63. package/dist/components/edit-data/src/data/boolean2.cjs +53 -0
  64. package/dist/components/edit-data/src/data/boolean2.js +53 -0
  65. package/dist/components/edit-data/src/data/function.cjs +4 -0
  66. package/dist/components/edit-data/src/data/function.js +4 -0
  67. package/dist/components/edit-data/src/data/function2.cjs +61 -0
  68. package/dist/components/edit-data/src/data/function2.js +61 -0
  69. package/dist/components/edit-data/src/data/not.cjs +4 -0
  70. package/dist/components/edit-data/src/data/not.js +4 -0
  71. package/dist/components/edit-data/src/data/not2.cjs +56 -0
  72. package/dist/components/edit-data/src/data/not2.js +56 -0
  73. package/dist/components/edit-data/src/data/null.cjs +4 -0
  74. package/dist/components/edit-data/src/data/null.js +4 -0
  75. package/dist/components/edit-data/src/data/null2.cjs +24 -0
  76. package/dist/components/edit-data/src/data/null2.js +24 -0
  77. package/dist/components/edit-data/src/data/number.cjs +4 -0
  78. package/dist/components/edit-data/src/data/number.js +4 -0
  79. package/dist/components/edit-data/src/data/number2.cjs +42 -0
  80. package/dist/components/edit-data/src/data/number2.js +42 -0
  81. package/dist/components/edit-data/src/data/object.cjs +4 -0
  82. package/dist/components/edit-data/src/data/object.js +4 -0
  83. package/dist/components/edit-data/src/data/object2.cjs +68 -0
  84. package/dist/components/edit-data/src/data/object2.js +68 -0
  85. package/dist/components/edit-data/src/data/other.cjs +4 -0
  86. package/dist/components/edit-data/src/data/other.js +4 -0
  87. package/dist/components/edit-data/src/data/other2.cjs +59 -0
  88. package/dist/components/edit-data/src/data/other2.js +59 -0
  89. package/dist/components/edit-data/src/data/string.cjs +4 -0
  90. package/dist/components/edit-data/src/data/string.js +4 -0
  91. package/dist/components/edit-data/src/data/string2.cjs +43 -0
  92. package/dist/components/edit-data/src/data/string2.js +43 -0
  93. package/dist/components/edit-data/src/data/symbol.cjs +4 -0
  94. package/dist/components/edit-data/src/data/symbol.js +4 -0
  95. package/dist/components/edit-data/src/data/symbol2.cjs +55 -0
  96. package/dist/components/edit-data/src/data/symbol2.js +55 -0
  97. package/dist/components/edit-data/src/data/undefined.cjs +4 -0
  98. package/dist/components/edit-data/src/data/undefined.js +4 -0
  99. package/dist/components/edit-data/src/data/undefined2.cjs +24 -0
  100. package/dist/components/edit-data/src/data/undefined2.js +24 -0
  101. package/dist/components/edit-data/src/data.cjs +57 -0
  102. package/dist/components/edit-data/src/data.d.ts +131 -0
  103. package/dist/components/edit-data/src/data.js +57 -0
  104. package/dist/components/edit-data/src/index.cjs +4 -0
  105. package/dist/components/edit-data/src/index.js +4 -0
  106. package/dist/components/edit-data/src/index2.cjs +134 -0
  107. package/dist/components/edit-data/src/index2.js +134 -0
  108. package/dist/components/edit-data/src/util.cjs +99 -0
  109. package/dist/components/edit-data/src/util.d.ts +1 -0
  110. package/dist/components/edit-data/src/util.js +99 -0
  111. package/dist/components/edit-data/style/index2.scss +13 -0
  112. package/dist/components/edit-data-add/index.cjs +9 -0
  113. package/dist/components/edit-data-add/index.css +144 -0
  114. package/dist/components/edit-data-add/index.d.ts +5 -0
  115. package/dist/components/edit-data-add/index.js +9 -0
  116. package/dist/components/edit-data-add/index.scss +5 -0
  117. package/dist/components/edit-data-add/src/data.cjs +24 -0
  118. package/dist/components/edit-data-add/src/data.d.ts +36 -0
  119. package/dist/components/edit-data-add/src/data.js +24 -0
  120. package/dist/components/edit-data-add/src/index.cjs +4 -0
  121. package/dist/components/edit-data-add/src/index.js +4 -0
  122. package/dist/components/edit-data-add/src/index2.cjs +241 -0
  123. package/dist/components/edit-data-add/src/index2.js +241 -0
  124. package/dist/components/edit-data-add/style/comm.scss +38 -0
  125. package/dist/components/edit-data-add/style/index2.scss +2 -0
  126. package/dist/components/history/src/data.cjs +9 -1
  127. package/dist/components/history/src/data.d.ts +13 -1
  128. package/dist/components/history/src/data.js +9 -1
  129. package/dist/components/history/src/index2.cjs +27 -9
  130. package/dist/components/history/src/index2.js +27 -9
  131. package/dist/components/index.cjs +60 -56
  132. package/dist/components/index.d.ts +2 -0
  133. package/dist/components/index.js +4 -0
  134. package/dist/components/index.scss +3 -0
  135. package/dist/components/index2.scss +5 -2
  136. package/dist/components/labels/src/data.d.ts +14 -11
  137. package/dist/components/labels/src/index2.cjs +13 -2
  138. package/dist/components/labels/src/index2.js +13 -2
  139. package/dist/components/page/index.css +8 -0
  140. package/dist/components/retract/index.css +20 -0
  141. package/dist/components/retract/index.scss +24 -0
  142. package/dist/components/retract/src/data.cjs +10 -0
  143. package/dist/components/retract/src/data.d.ts +10 -0
  144. package/dist/components/retract/src/data.js +10 -0
  145. package/dist/components/retract/src/index2.cjs +24 -4
  146. package/dist/components/retract/src/index2.js +23 -3
  147. package/dist/components/retract/style/index2.scss +1 -0
  148. package/dist/components/selects/src/data.d.ts +14 -11
  149. package/dist/components/selects/src/index2.cjs +1 -1
  150. package/dist/components/selects/src/index2.js +1 -1
  151. package/dist/components/switchs/src/data.d.ts +14 -11
  152. package/dist/components/switchs/src/index2.cjs +9 -5
  153. package/dist/components/switchs/src/index2.js +9 -5
  154. package/dist/components/tables/common/com-limit.cjs +4 -0
  155. package/dist/components/tables/common/com-limit.js +4 -0
  156. package/dist/components/tables/common/com-limit2.cjs +103 -0
  157. package/dist/components/tables/common/com-limit2.js +103 -0
  158. package/dist/components/tables/common/com.scss +12 -0
  159. package/dist/components/tables/index.css +9 -0
  160. package/dist/components/tables/index.scss +2 -0
  161. package/dist/components/tables/src/columns2.cjs +3 -1
  162. package/dist/components/tables/src/columns2.js +7 -5
  163. package/dist/components/tablesp/index.css +9 -0
  164. package/dist/components/tablespd/index.css +9 -0
  165. package/dist/components/uploads/src/data.d.ts +14 -11
  166. package/dist/css/edit-data-add.css +144 -0
  167. package/dist/css/index.css +149 -0
  168. package/dist/css/page.css +8 -0
  169. package/dist/css/retract.css +20 -0
  170. package/dist/css/tables.css +9 -0
  171. package/dist/css/tablesp.css +9 -0
  172. package/dist/css/tablespd.css +9 -0
  173. package/dist/directives/adjust/index.cjs +14 -6
  174. package/dist/directives/adjust/index.js +14 -6
  175. package/dist/directives/adjustment/index.cjs +622 -0
  176. package/dist/directives/adjustment/index.d.ts +7 -0
  177. package/dist/directives/adjustment/index.js +622 -0
  178. package/dist/directives/index.cjs +18 -16
  179. package/dist/directives/index.d.ts +1 -0
  180. package/dist/directives/index.js +16 -14
  181. package/dist/expand/{chunk-A7IW6WRD.cjs → chunk-BJVT6JH7.cjs} +6 -0
  182. package/dist/expand/{chunk-L4FI5HCY.js → chunk-I5UJEJJB.js} +6 -0
  183. package/dist/expand/components.cjs +5 -5
  184. package/dist/expand/components.js +1 -1
  185. package/dist/expand/config.cjs +2 -2
  186. package/dist/expand/config.js +1 -1
  187. package/dist/icons/index.json +1 -1
  188. package/dist/index.cjs +84 -78
  189. package/dist/index.css +149 -0
  190. package/dist/index.js +20 -14
  191. package/dist/utils/util.cjs +1 -1
  192. package/dist/utils/util.js +2 -2
  193. package/dist/utils/vues/withInstall.cjs +2 -1
  194. package/dist/utils/vues/withInstall.js +2 -1
  195. package/package.json +12 -11
  196. /package/dist/components/{draggable → keep-com}/index.css +0 -0
  197. /package/dist/css/{draggable.css → keep-com.css} +0 -0
@@ -1095,6 +1095,14 @@
1095
1095
  white-space: pre-wrap;
1096
1096
  }
1097
1097
 
1098
+ .com-limit.is-tooltip {
1099
+ max-height: var(--com-limit-max-height);
1100
+ display: -webkit-box;
1101
+ -webkit-line-clamp: var(--com-limit-line-clamp, 1); /* 显示的行数 */
1102
+ -webkit-box-orient: vertical;
1103
+ text-overflow: ellipsis;
1104
+ }
1105
+
1098
1106
  .tables {
1099
1107
  width: 100%;
1100
1108
  min-height: var(--tables-min-height, 70px);
@@ -1452,9 +1460,17 @@
1452
1460
  .retract {
1453
1461
  position: relative;
1454
1462
  }
1463
+ .retract-div.left, .retract-div.right {
1464
+ height: 100%;
1465
+ display: flex;
1466
+ }
1467
+ .retract-div.top, .retract-div.bottom {
1468
+ width: 100%;
1469
+ }
1455
1470
  .retract .retract-but {
1456
1471
  position: absolute;
1457
1472
  background-color: rgba(201, 201, 201, 0.5);
1473
+ z-index: 1000;
1458
1474
  }
1459
1475
  .retract .retract-but .retract-icon {
1460
1476
  width: 100%;
@@ -1477,6 +1493,9 @@
1477
1493
  margin-top: -25px;
1478
1494
  left: -20px;
1479
1495
  }
1496
+ .retract .retract-but.is-left.is-adjust {
1497
+ left: -10px;
1498
+ }
1480
1499
  .retract .retract-but.is-left .retract-icon {
1481
1500
  transform: rotate(0);
1482
1501
  }
@@ -1490,6 +1509,9 @@
1490
1509
  margin-top: -25px;
1491
1510
  right: -20px;
1492
1511
  }
1512
+ .retract .retract-but.is-right.is-adjust {
1513
+ right: -10px;
1514
+ }
1493
1515
  .retract .retract-but.is-right .retract-icon {
1494
1516
  transform: rotate(-180deg);
1495
1517
  }
@@ -1503,6 +1525,9 @@
1503
1525
  margin-left: -25px;
1504
1526
  top: -20px;
1505
1527
  }
1528
+ .retract .retract-but.is-top.is-adjust {
1529
+ top: -10px;
1530
+ }
1506
1531
  .retract .retract-but.is-top .retract-icon {
1507
1532
  transform: rotate(90deg);
1508
1533
  }
@@ -1516,6 +1541,9 @@
1516
1541
  margin-left: -25px;
1517
1542
  bottom: -20px;
1518
1543
  }
1544
+ .retract .retract-but.is-bottom.is-adjust {
1545
+ bottom: -10px;
1546
+ }
1519
1547
  .retract .retract-but.is-bottom .retract-icon {
1520
1548
  transform: rotate(-90deg);
1521
1549
  }
@@ -1540,6 +1568,127 @@
1540
1568
  width: 120px;
1541
1569
  }
1542
1570
 
1571
+ .edit-data-add {
1572
+ width: 100%;
1573
+ height: 100%;
1574
+ display: flex;
1575
+ flex-direction: column;
1576
+ }
1577
+ .edit-data-add-main {
1578
+ flex: 1;
1579
+ width: 100%;
1580
+ display: flex;
1581
+ flex-direction: column;
1582
+ }
1583
+ .edit-data-add-main-top {
1584
+ width: 100%;
1585
+ }
1586
+ .edit-data-add-main-top-li {
1587
+ display: flex;
1588
+ align-items: center;
1589
+ padding: 10px;
1590
+ }
1591
+ .edit-data-add-main-top-li-value {
1592
+ flex: 1;
1593
+ }
1594
+ .edit-data-add-main-content {
1595
+ flex: 1;
1596
+ width: 100%;
1597
+ margin: 10px;
1598
+ }
1599
+ .edit-data-add-main-content-name {
1600
+ margin-bottom: 10px;
1601
+ }
1602
+ .edit-data-add-footer {
1603
+ padding-top: 20px;
1604
+ text-align: right;
1605
+ }
1606
+
1607
+ .edit-data-general-set {
1608
+ display: flex;
1609
+ align-items: center;
1610
+ }
1611
+ .edit-data-editor {
1612
+ width: 100%;
1613
+ height: 100%;
1614
+ display: flex;
1615
+ flex-direction: column;
1616
+ }
1617
+ .edit-data-editor-main {
1618
+ flex: 1;
1619
+ position: relative;
1620
+ }
1621
+ .edit-data-editor-content {
1622
+ position: absolute;
1623
+ inset: 0;
1624
+ overflow-y: auto;
1625
+ }
1626
+ .edit-data-editor-content .edit-data-code {
1627
+ height: 100%;
1628
+ width: 100%;
1629
+ }
1630
+ .edit-data-editor-content .edit-data-code .inputs {
1631
+ height: 100%;
1632
+ width: 100%;
1633
+ }
1634
+ .edit-data-editor-content .edit-data-code .inputs textarea {
1635
+ height: 100%;
1636
+ width: 100%;
1637
+ }
1638
+ .edit-data-editor-footer {
1639
+ padding-top: 20px;
1640
+ text-align: right;
1641
+ }
1642
+ .edit-data-area-array, .edit-data-area-object {
1643
+ width: 100%;
1644
+ height: 100%;
1645
+ display: flex;
1646
+ flex-direction: column;
1647
+ }
1648
+ .edit-data-area-array-main, .edit-data-area-object-main {
1649
+ flex: 1;
1650
+ width: 100%;
1651
+ position: relative;
1652
+ }
1653
+ .edit-data-area-array-content, .edit-data-area-object-content {
1654
+ position: absolute;
1655
+ inset: 0;
1656
+ overflow-y: auto;
1657
+ }
1658
+ .edit-data-area-array-json, .edit-data-area-object-json {
1659
+ width: 100%;
1660
+ height: 100%;
1661
+ }
1662
+ .edit-data-area-array-json .tabs, .edit-data-area-object-json .tabs {
1663
+ width: 100%;
1664
+ height: 100%;
1665
+ }
1666
+ .edit-data-area-array-json .tabs .tab-pane, .edit-data-area-object-json .tabs .tab-pane {
1667
+ position: absolute;
1668
+ inset: 0;
1669
+ overflow-y: auto;
1670
+ }
1671
+ .edit-data-area-array-add, .edit-data-area-object-add {
1672
+ margin-bottom: 10px;
1673
+ }
1674
+ .edit-data-area-comp {
1675
+ width: 100%;
1676
+ }
1677
+ .edit-data-area-comp-li {
1678
+ min-height: 40px;
1679
+ display: flex;
1680
+ align-items: center;
1681
+ justify-content: space-between;
1682
+ }
1683
+ .edit-data-area-comp-li-div {
1684
+ flex: 1;
1685
+ display: flex;
1686
+ align-items: center;
1687
+ }
1688
+ .edit-data-area-comp-li-name {
1689
+ padding: 0 10px;
1690
+ }
1691
+
1543
1692
  .edit-float-body {
1544
1693
  display: inline-flex;
1545
1694
  align-items: center;
package/dist/css/page.css CHANGED
@@ -707,6 +707,14 @@
707
707
  white-space: pre-wrap;
708
708
  }
709
709
 
710
+ .com-limit.is-tooltip {
711
+ max-height: var(--com-limit-max-height);
712
+ display: -webkit-box;
713
+ -webkit-line-clamp: var(--com-limit-line-clamp, 1); /* 显示的行数 */
714
+ -webkit-box-orient: vertical;
715
+ text-overflow: ellipsis;
716
+ }
717
+
710
718
  .tables {
711
719
  width: 100%;
712
720
  min-height: var(--tables-min-height, 70px);
@@ -25,9 +25,17 @@
25
25
  .retract {
26
26
  position: relative;
27
27
  }
28
+ .retract-div.left, .retract-div.right {
29
+ height: 100%;
30
+ display: flex;
31
+ }
32
+ .retract-div.top, .retract-div.bottom {
33
+ width: 100%;
34
+ }
28
35
  .retract .retract-but {
29
36
  position: absolute;
30
37
  background-color: rgba(201, 201, 201, 0.5);
38
+ z-index: 1000;
31
39
  }
32
40
  .retract .retract-but .retract-icon {
33
41
  width: 100%;
@@ -50,6 +58,9 @@
50
58
  margin-top: -25px;
51
59
  left: -20px;
52
60
  }
61
+ .retract .retract-but.is-left.is-adjust {
62
+ left: -10px;
63
+ }
53
64
  .retract .retract-but.is-left .retract-icon {
54
65
  transform: rotate(0);
55
66
  }
@@ -63,6 +74,9 @@
63
74
  margin-top: -25px;
64
75
  right: -20px;
65
76
  }
77
+ .retract .retract-but.is-right.is-adjust {
78
+ right: -10px;
79
+ }
66
80
  .retract .retract-but.is-right .retract-icon {
67
81
  transform: rotate(-180deg);
68
82
  }
@@ -76,6 +90,9 @@
76
90
  margin-left: -25px;
77
91
  top: -20px;
78
92
  }
93
+ .retract .retract-but.is-top.is-adjust {
94
+ top: -10px;
95
+ }
79
96
  .retract .retract-but.is-top .retract-icon {
80
97
  transform: rotate(90deg);
81
98
  }
@@ -89,6 +106,9 @@
89
106
  margin-left: -25px;
90
107
  bottom: -20px;
91
108
  }
109
+ .retract .retract-but.is-bottom.is-adjust {
110
+ bottom: -10px;
111
+ }
92
112
  .retract .retract-but.is-bottom .retract-icon {
93
113
  transform: rotate(-90deg);
94
114
  }
@@ -1,3 +1,4 @@
1
+ @charset "UTF-8";
1
2
  :root {
2
3
  --on: rgb(91, 189, 246);
3
4
  --color-primary: #409eff;
@@ -22,6 +23,14 @@
22
23
  line-height: var(--lable-array-height);
23
24
  }
24
25
 
26
+ .com-limit.is-tooltip {
27
+ max-height: var(--com-limit-max-height);
28
+ display: -webkit-box;
29
+ -webkit-line-clamp: var(--com-limit-line-clamp, 1); /* 显示的行数 */
30
+ -webkit-box-orient: vertical;
31
+ text-overflow: ellipsis;
32
+ }
33
+
25
34
  .tables {
26
35
  width: 100%;
27
36
  min-height: var(--tables-min-height, 70px);
@@ -1,3 +1,4 @@
1
+ @charset "UTF-8";
1
2
  :root {
2
3
  --on: rgb(91, 189, 246);
3
4
  --color-primary: #409eff;
@@ -22,6 +23,14 @@
22
23
  line-height: var(--lable-array-height);
23
24
  }
24
25
 
26
+ .com-limit.is-tooltip {
27
+ max-height: var(--com-limit-max-height);
28
+ display: -webkit-box;
29
+ -webkit-line-clamp: var(--com-limit-line-clamp, 1); /* 显示的行数 */
30
+ -webkit-box-orient: vertical;
31
+ text-overflow: ellipsis;
32
+ }
33
+
25
34
  .tables {
26
35
  width: 100%;
27
36
  min-height: var(--tables-min-height, 70px);
@@ -1,3 +1,4 @@
1
+ @charset "UTF-8";
1
2
  :root {
2
3
  --on: rgb(91, 189, 246);
3
4
  --color-primary: #409eff;
@@ -22,6 +23,14 @@
22
23
  line-height: var(--lable-array-height);
23
24
  }
24
25
 
26
+ .com-limit.is-tooltip {
27
+ max-height: var(--com-limit-max-height);
28
+ display: -webkit-box;
29
+ -webkit-line-clamp: var(--com-limit-line-clamp, 1); /* 显示的行数 */
30
+ -webkit-box-orient: vertical;
31
+ text-overflow: ellipsis;
32
+ }
33
+
25
34
  .tables {
26
35
  width: 100%;
27
36
  min-height: var(--tables-min-height, 70px);
@@ -5,8 +5,8 @@ const getCss = require("@fangzhongya/utils/css/getCss");
5
5
  const splitUpper = require("@fangzhongya/utils/basic/string/splitUpper");
6
6
  const getShiftEvent = require("@fangzhongya/utils/dom/getShiftEvent");
7
7
  const setCss = require("@fangzhongya/utils/css/setCss");
8
- const interval = 8;
9
- const interval2 = 14;
8
+ const interval = 10;
9
+ const interval2 = 16;
10
10
  const overstep = 1e3;
11
11
  const unit = "px";
12
12
  function getPosition(el) {
@@ -421,7 +421,7 @@ function getAdjustObj(el, key, param) {
421
421
  if (typeof param.adjoin == "boolean") {
422
422
  obj.adjoin = getAdjoin(el, key);
423
423
  } else if (typeof param.adjoin == "string") {
424
- obj.adjoin = (_a = el.parentElement) == null ? void 0 : _a.querySelector(param.adjoin);
424
+ obj.adjoin = ((_a = el.parentElement) == null ? void 0 : _a.querySelector(param.adjoin)) || void 0;
425
425
  } else {
426
426
  obj.adjoin = param.adjoin;
427
427
  }
@@ -477,7 +477,7 @@ function getAdjustObj(el, key, param) {
477
477
  };
478
478
  }
479
479
  function getArr(obj, el) {
480
- const arr = obj.all ? types : Object.keys(obj);
480
+ const arr = obj.all ? types : Object.keys(obj).filter((key) => types.includes(key));
481
481
  return arr.toSorted((a, b) => {
482
482
  return b.length - a.length;
483
483
  }).map((key) => {
@@ -489,10 +489,18 @@ const vAdjust = {
489
489
  name: "Adjust",
490
490
  mounted(el, binding) {
491
491
  const value = binding.value;
492
+ if (value.is === false) {
493
+ return;
494
+ }
495
+ if (value.dom) {
496
+ if (typeof value.dom == "string") {
497
+ el = el.querySelector(value.dom);
498
+ } else {
499
+ el = value.dom;
500
+ }
501
+ }
492
502
  const often = value.often;
493
503
  const onChange = value.onChange;
494
- delete value.onChange;
495
- delete value.often;
496
504
  if (value && Object.keys(value).length > 0) {
497
505
  let getVobj = function(e) {
498
506
  let is = true;
@@ -3,8 +3,8 @@ import { getCss } from "@fangzhongya/utils/css/getCss";
3
3
  import { splitUpper } from "@fangzhongya/utils/basic/string/splitUpper";
4
4
  import { shiftEvent } from "@fangzhongya/utils/dom/getShiftEvent";
5
5
  import { setCss } from "@fangzhongya/utils/css/setCss";
6
- const interval = 8;
7
- const interval2 = 14;
6
+ const interval = 10;
7
+ const interval2 = 16;
8
8
  const overstep = 1e3;
9
9
  const unit = "px";
10
10
  function getPosition(el) {
@@ -419,7 +419,7 @@ function getAdjustObj(el, key, param) {
419
419
  if (typeof param.adjoin == "boolean") {
420
420
  obj.adjoin = getAdjoin(el, key);
421
421
  } else if (typeof param.adjoin == "string") {
422
- obj.adjoin = (_a = el.parentElement) == null ? void 0 : _a.querySelector(param.adjoin);
422
+ obj.adjoin = ((_a = el.parentElement) == null ? void 0 : _a.querySelector(param.adjoin)) || void 0;
423
423
  } else {
424
424
  obj.adjoin = param.adjoin;
425
425
  }
@@ -475,7 +475,7 @@ function getAdjustObj(el, key, param) {
475
475
  };
476
476
  }
477
477
  function getArr(obj, el) {
478
- const arr = obj.all ? types : Object.keys(obj);
478
+ const arr = obj.all ? types : Object.keys(obj).filter((key) => types.includes(key));
479
479
  return arr.toSorted((a, b) => {
480
480
  return b.length - a.length;
481
481
  }).map((key) => {
@@ -487,10 +487,18 @@ const vAdjust = {
487
487
  name: "Adjust",
488
488
  mounted(el, binding) {
489
489
  const value = binding.value;
490
+ if (value.is === false) {
491
+ return;
492
+ }
493
+ if (value.dom) {
494
+ if (typeof value.dom == "string") {
495
+ el = el.querySelector(value.dom);
496
+ } else {
497
+ el = value.dom;
498
+ }
499
+ }
490
500
  const often = value.often;
491
501
  const onChange = value.onChange;
492
- delete value.onChange;
493
- delete value.often;
494
502
  if (value && Object.keys(value).length > 0) {
495
503
  let getVobj = function(e) {
496
504
  let is = true;