vxe-table 3.23.1 → 3.23.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/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/custom/mixin.js +6 -0
- package/es/table/module/export/export-panel.js +3 -2
- package/es/table/module/export/mixin.js +12 -6
- package/es/table/module/filter/mixin.js +102 -76
- package/es/table/src/body.js +12 -4
- package/es/table/src/footer.js +12 -4
- package/es/table/src/header.js +12 -4
- package/es/table/src/methods.js +14 -5
- package/es/table/src/table.js +8 -0
- package/es/table/src/util.js +1 -0
- package/es/table/style.css +35 -60
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/dom.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +35 -60
- package/es/vxe-table/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +194 -110
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/custom/mixin.js +8 -0
- package/lib/table/module/custom/mixin.min.js +1 -1
- package/lib/table/module/export/export-panel.js +3 -2
- package/lib/table/module/export/export-panel.min.js +1 -1
- package/lib/table/module/export/mixin.js +15 -6
- package/lib/table/module/export/mixin.min.js +1 -1
- package/lib/table/module/filter/mixin.js +116 -83
- package/lib/table/module/filter/mixin.min.js +1 -1
- package/lib/table/src/body.js +11 -3
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/footer.js +11 -3
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/header.js +11 -3
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/methods.js +3 -3
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +8 -0
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +1 -0
- package/lib/table/src/util.min.js +1 -1
- package/lib/table/style/style.css +35 -60
- package/lib/table/style/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/dom.js +1 -1
- package/lib/ui/src/dom.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-table/style/style.css +35 -60
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/table/module/custom/mixin.ts +7 -0
- package/packages/table/module/export/export-panel.ts +3 -2
- package/packages/table/module/export/mixin.ts +11 -6
- package/packages/table/module/filter/mixin.ts +102 -72
- package/packages/table/src/body.ts +13 -4
- package/packages/table/src/footer.ts +14 -4
- package/packages/table/src/header.ts +14 -4
- package/packages/table/src/methods.ts +14 -5
- package/packages/table/src/table.ts +9 -0
- package/packages/table/src/util.ts +1 -0
- package/packages/ui/src/dom.ts +1 -1
- package/packages/ui/src/utils.ts +1 -1
- package/styles/components/table.scss +37 -75
- /package/es/{iconfont.1787542588120.ttf → iconfont.1788176636871.ttf} +0 -0
- /package/es/{iconfont.1787542588120.woff → iconfont.1788176636871.woff} +0 -0
- /package/es/{iconfont.1787542588120.woff2 → iconfont.1788176636871.woff2} +0 -0
- /package/lib/{iconfont.1787542588120.ttf → iconfont.1788176636871.ttf} +0 -0
- /package/lib/{iconfont.1787542588120.woff → iconfont.1788176636871.woff} +0 -0
- /package/lib/{iconfont.1787542588120.woff2 → iconfont.1788176636871.woff2} +0 -0
|
@@ -8,20 +8,27 @@
|
|
|
8
8
|
// 局部变量
|
|
9
9
|
.vxe-table {
|
|
10
10
|
--vxe-ui-table-current-font-size: var(--vxe-ui-font-size-default);
|
|
11
|
+
--vxe-ui-table-current-cell-padding: var(--vxe-ui-table-cell-padding-default);
|
|
12
|
+
--vxe-ui-table-current-row-line-height: var(--vxe-ui-table-row-line-height);
|
|
11
13
|
&.size--xlarge {
|
|
12
14
|
--vxe-ui-table-current-font-size: var(--vxe-ui-font-size-xlarge);
|
|
15
|
+
--vxe-ui-table-current-cell-padding: var(--vxe-ui-table-cell-padding-xlarge);
|
|
13
16
|
}
|
|
14
17
|
&.size--large {
|
|
15
18
|
--vxe-ui-table-current-font-size: var(--vxe-ui-font-size-large);
|
|
19
|
+
--vxe-ui-table-current-cell-padding: var(--vxe-ui-table-cell-padding-large);
|
|
16
20
|
}
|
|
17
21
|
&.size--medium {
|
|
18
22
|
--vxe-ui-table-current-font-size: var(--vxe-ui-font-size-medium);
|
|
23
|
+
--vxe-ui-table-current-cell-padding: var(--vxe-ui-table-cell-padding-medium);
|
|
19
24
|
}
|
|
20
25
|
&.size--small {
|
|
21
26
|
--vxe-ui-table-current-font-size: var(--vxe-ui-font-size-small);
|
|
27
|
+
--vxe-ui-table-current-cell-padding: var(--vxe-ui-table-cell-padding-small);
|
|
22
28
|
}
|
|
23
29
|
&.size--mini {
|
|
24
30
|
--vxe-ui-table-current-font-size: var(--vxe-ui-font-size-mini);
|
|
31
|
+
--vxe-ui-table-current-cell-padding: var(--vxe-ui-table-cell-padding-mini);
|
|
25
32
|
}
|
|
26
33
|
}
|
|
27
34
|
|
|
@@ -1392,6 +1399,34 @@ $btnThemeList: (
|
|
|
1392
1399
|
white-space: nowrap;
|
|
1393
1400
|
}
|
|
1394
1401
|
|
|
1402
|
+
.vxe-header--column,
|
|
1403
|
+
.vxe-body--column,
|
|
1404
|
+
.vxe-footer--column {
|
|
1405
|
+
&.is--pg-top {
|
|
1406
|
+
.vxe-cell {
|
|
1407
|
+
padding-top: var(--vxe-ui-table-current-cell-padding);
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
&.is--pg-bottom {
|
|
1411
|
+
.vxe-cell {
|
|
1412
|
+
padding-bottom: var(--vxe-ui-table-current-cell-padding);
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
&.is--pg-left {
|
|
1416
|
+
.vxe-cell {
|
|
1417
|
+
padding-left: var(--vxe-ui-table-current-cell-padding);
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
&.is--pg-right {
|
|
1421
|
+
.vxe-cell {
|
|
1422
|
+
padding-right: var(--vxe-ui-table-current-cell-padding);
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
.vxe-default-textarea {
|
|
1426
|
+
padding: var(--vxe-ui-table-current-cell-padding);
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1395
1430
|
/*table*/
|
|
1396
1431
|
.vxe-table--render-default {
|
|
1397
1432
|
position: relative;
|
|
@@ -1504,7 +1539,7 @@ $btnThemeList: (
|
|
|
1504
1539
|
.vxe-body--column,
|
|
1505
1540
|
.vxe-footer--column {
|
|
1506
1541
|
position: relative;
|
|
1507
|
-
line-height: var(--vxe-ui-table-row-line-height);
|
|
1542
|
+
line-height: var(--vxe-ui-table-current-row-line-height);
|
|
1508
1543
|
text-align: left;
|
|
1509
1544
|
&.col--center {
|
|
1510
1545
|
text-align: center;
|
|
@@ -1573,7 +1608,7 @@ $btnThemeList: (
|
|
|
1573
1608
|
.vxe-body--column,
|
|
1574
1609
|
.vxe-footer--column {
|
|
1575
1610
|
position: relative;
|
|
1576
|
-
line-height: var(--vxe-ui-table-row-line-height);
|
|
1611
|
+
line-height: var(--vxe-ui-table-current-row-line-height);
|
|
1577
1612
|
text-align: left;
|
|
1578
1613
|
&.col--current {
|
|
1579
1614
|
background-color: var(--vxe-ui-table-column-current-background-color);
|
|
@@ -1857,18 +1892,6 @@ $btnThemeList: (
|
|
|
1857
1892
|
.vxe-table--empty-block {
|
|
1858
1893
|
min-height: var(--vxe-ui-table-row-height-medium);
|
|
1859
1894
|
}
|
|
1860
|
-
.vxe-header--column,
|
|
1861
|
-
.vxe-body--column,
|
|
1862
|
-
.vxe-footer--column {
|
|
1863
|
-
&.is--padding {
|
|
1864
|
-
.vxe-cell {
|
|
1865
|
-
padding: var(--vxe-ui-table-cell-padding-medium);
|
|
1866
|
-
.vxe-default-textarea {
|
|
1867
|
-
padding: var(--vxe-ui-table-cell-padding-medium);
|
|
1868
|
-
}
|
|
1869
|
-
}
|
|
1870
|
-
}
|
|
1871
|
-
}
|
|
1872
1895
|
.vxe-cell {
|
|
1873
1896
|
.vxe-default-input,
|
|
1874
1897
|
.vxe-default-textarea,
|
|
@@ -1890,18 +1913,6 @@ $btnThemeList: (
|
|
|
1890
1913
|
.vxe-table--empty-block {
|
|
1891
1914
|
min-height: var(--vxe-ui-table-row-height-small);
|
|
1892
1915
|
}
|
|
1893
|
-
.vxe-header--column,
|
|
1894
|
-
.vxe-body--column,
|
|
1895
|
-
.vxe-footer--column {
|
|
1896
|
-
&.is--padding {
|
|
1897
|
-
.vxe-cell {
|
|
1898
|
-
padding: var(--vxe-ui-table-cell-padding-small);
|
|
1899
|
-
.vxe-default-textarea {
|
|
1900
|
-
padding: var(--vxe-ui-table-cell-padding-small);
|
|
1901
|
-
}
|
|
1902
|
-
}
|
|
1903
|
-
}
|
|
1904
|
-
}
|
|
1905
1916
|
.vxe-cell {
|
|
1906
1917
|
.vxe-default-input,
|
|
1907
1918
|
.vxe-default-textarea,
|
|
@@ -1923,18 +1934,6 @@ $btnThemeList: (
|
|
|
1923
1934
|
.vxe-table--empty-block {
|
|
1924
1935
|
min-height: var(--vxe-ui-table-row-height-mini);
|
|
1925
1936
|
}
|
|
1926
|
-
.vxe-header--column,
|
|
1927
|
-
.vxe-body--column,
|
|
1928
|
-
.vxe-footer--column {
|
|
1929
|
-
&.is--padding {
|
|
1930
|
-
.vxe-cell {
|
|
1931
|
-
padding: var(--vxe-ui-table-cell-padding-mini);
|
|
1932
|
-
.vxe-default-textarea {
|
|
1933
|
-
padding: var(--vxe-ui-table-cell-padding-mini);
|
|
1934
|
-
}
|
|
1935
|
-
}
|
|
1936
|
-
}
|
|
1937
|
-
}
|
|
1938
1937
|
.vxe-cell {
|
|
1939
1938
|
.vxe-default-input,
|
|
1940
1939
|
.vxe-default-textarea,
|
|
@@ -1951,19 +1950,6 @@ $btnThemeList: (
|
|
|
1951
1950
|
padding: 0 var(--vxe-ui-table-cell-padding-mini);
|
|
1952
1951
|
}
|
|
1953
1952
|
}
|
|
1954
|
-
|
|
1955
|
-
.vxe-header--column,
|
|
1956
|
-
.vxe-body--column,
|
|
1957
|
-
.vxe-footer--column {
|
|
1958
|
-
&.is--padding {
|
|
1959
|
-
.vxe-cell {
|
|
1960
|
-
padding: var(--vxe-ui-table-cell-padding-default);
|
|
1961
|
-
.vxe-default-textarea {
|
|
1962
|
-
padding: var(--vxe-ui-table-cell-padding-default);
|
|
1963
|
-
}
|
|
1964
|
-
}
|
|
1965
|
-
}
|
|
1966
|
-
}
|
|
1967
1953
|
|
|
1968
1954
|
.vxe-cell {
|
|
1969
1955
|
white-space: pre-line;
|
|
@@ -2396,30 +2382,6 @@ $btnThemeList: (
|
|
|
2396
2382
|
}
|
|
2397
2383
|
}
|
|
2398
2384
|
|
|
2399
|
-
&.size--medium {
|
|
2400
|
-
.vxe-cell--checkbox {
|
|
2401
|
-
font-size: var(--vxe-checkbox-font-size-medium);
|
|
2402
|
-
}
|
|
2403
|
-
.vxe-cell--radio {
|
|
2404
|
-
font-size: var(--vxe-radio-font-size-medium);
|
|
2405
|
-
}
|
|
2406
|
-
}
|
|
2407
|
-
&.size--small {
|
|
2408
|
-
.vxe-cell--checkbox {
|
|
2409
|
-
font-size: var(--vxe-checkbox-font-size-small);
|
|
2410
|
-
}
|
|
2411
|
-
.vxe-cell--radio {
|
|
2412
|
-
font-size: var(--vxe-radio-font-size-small);
|
|
2413
|
-
}
|
|
2414
|
-
}
|
|
2415
|
-
&.size--mini {
|
|
2416
|
-
.vxe-cell--checkbox {
|
|
2417
|
-
font-size: var(--vxe-checkbox-font-size-mini);
|
|
2418
|
-
}
|
|
2419
|
-
.vxe-cell--radio {
|
|
2420
|
-
font-size: var(--vxe-radio-font-size-mini);
|
|
2421
|
-
}
|
|
2422
|
-
}
|
|
2423
2385
|
|
|
2424
2386
|
/*暂无数据*/
|
|
2425
2387
|
.vxe-table--empty-placeholder,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|