vxe-table 3.9.0-rc.8 → 3.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/README.md +1 -1
- package/es/grid/src/grid.js +120 -66
- package/es/grid/style.css +0 -1
- package/es/grid/style.min.css +1 -1
- package/es/index.esm.js +22 -3
- package/es/locale/lang/en-US.js +2 -8
- package/es/locale/lang/es-ES.js +2 -1
- package/es/locale/lang/hu-HU.d.ts +2 -0
- package/es/locale/lang/hu-HU.js +497 -501
- package/es/locale/lang/ja-JP.js +2 -8
- package/es/locale/lang/ko-KR.d.ts +2 -0
- package/es/locale/lang/ko-KR.js +2 -8
- package/es/locale/lang/pt-BR.js +2 -8
- package/es/locale/lang/ru-RU.d.ts +2 -0
- package/es/locale/lang/ru-RU.js +497 -503
- package/es/locale/lang/uk-UA.d.ts +2 -0
- package/es/locale/lang/uk-UA.js +667 -0
- package/es/locale/lang/vi-VN.js +2 -8
- package/es/locale/lang/zh-CHT.d.ts +2 -0
- package/es/locale/lang/zh-CHT.js +667 -0
- package/es/locale/lang/zh-CN.js +2 -8
- package/es/locale/lang/zh-HK.js +2 -2
- package/es/locale/lang/zh-MO.js +2 -2
- package/es/locale/lang/zh-TC.js +2 -673
- package/es/locale/lang/zh-TW.js +2 -2
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/custom/panel.js +183 -173
- package/es/table/module/edit/mixin.js +33 -24
- package/es/table/module/export/export-panel.js +32 -4
- package/es/table/module/export/import-panel.js +25 -6
- package/es/table/module/export/mixin.js +11 -11
- package/es/table/module/menu/mixin.js +2 -2
- package/es/table/module/validator/mixin.js +4 -4
- package/es/table/render/index.js +17 -11
- package/es/table/src/body.js +1 -0
- package/es/table/src/columnInfo.js +3 -3
- package/es/table/src/methods.js +54 -42
- package/es/table/src/props.js +65 -15
- package/es/table/src/table.js +175 -60
- package/es/table/src/util.js +3 -2
- package/es/table/style.css +37 -48
- package/es/table/style.min.css +1 -1
- package/es/toolbar/src/toolbar.js +21 -7
- package/es/toolbar/style.css +0 -1
- package/es/toolbar/style.min.css +1 -1
- package/es/ui/index.js +5 -3
- package/es/ui/src/log.js +1 -1
- package/es/vxe-grid/style.css +0 -1
- package/es/vxe-grid/style.min.css +1 -1
- package/es/vxe-table/style.css +37 -48
- package/es/vxe-table/style.min.css +1 -1
- package/es/vxe-toolbar/style.css +0 -1
- package/es/vxe-toolbar/style.min.css +1 -1
- package/lib/colgroup/index.js +3 -3
- package/lib/colgroup/index.min.js +1 -1
- package/lib/column/index.js +3 -3
- package/lib/column/index.min.js +1 -1
- package/lib/components.js +9 -11
- package/lib/components.min.js +1 -1
- package/lib/grid/index.js +3 -3
- package/lib/grid/index.min.js +1 -1
- package/lib/grid/src/grid.js +581 -491
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/grid/style/style.css +0 -1
- package/lib/grid/style/style.min.css +1 -1
- package/lib/index.common.js +3 -4
- package/lib/index.umd.js +9212 -17224
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/en-US.js +2 -8
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +2 -8
- package/lib/locale/lang/es-ES.js +2 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +2 -1
- package/lib/locale/lang/hu-HU.d.ts +2 -0
- package/lib/locale/lang/hu-HU.js +497 -501
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +687 -0
- package/lib/locale/lang/ja-JP.js +2 -8
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +2 -8
- package/lib/locale/lang/ko-KR.d.ts +2 -0
- package/lib/locale/lang/ko-KR.js +2 -8
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +687 -0
- package/lib/locale/lang/pt-BR.js +2 -8
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +2 -8
- package/lib/locale/lang/ru-RU.d.ts +2 -0
- package/lib/locale/lang/ru-RU.js +497 -503
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +687 -0
- package/lib/locale/lang/uk-UA.d.ts +2 -0
- package/lib/locale/lang/uk-UA.js +673 -0
- package/lib/locale/lang/uk-UA.min.js +1 -0
- package/lib/locale/lang/uk-UA.umd.js +687 -0
- package/lib/locale/lang/vi-VN.js +2 -8
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/zh-CHT.d.ts +2 -0
- package/lib/locale/lang/zh-CHT.js +673 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -0
- package/lib/locale/lang/zh-CHT.umd.js +687 -0
- package/lib/locale/lang/zh-CN.js +2 -8
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +2 -8
- package/lib/locale/lang/zh-HK.js +2 -2
- package/lib/locale/lang/zh-HK.min.js +1 -1
- package/lib/locale/lang/zh-HK.umd.js +7 -677
- package/lib/locale/lang/zh-MO.js +2 -2
- package/lib/locale/lang/zh-MO.min.js +1 -1
- package/lib/locale/lang/zh-MO.umd.js +7 -677
- package/lib/locale/lang/zh-TC.js +3 -673
- package/lib/locale/lang/zh-TC.min.js +1 -1
- package/lib/locale/lang/zh-TC.umd.js +7 -677
- package/lib/locale/lang/zh-TW.js +2 -2
- package/lib/locale/lang/zh-TW.min.js +1 -1
- package/lib/locale/lang/zh-TW.umd.js +7 -677
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/index.js +4 -4
- package/lib/table/index.min.js +1 -1
- package/lib/table/module/custom/mixin.js +53 -44
- package/lib/table/module/custom/mixin.min.js +1 -1
- package/lib/table/module/custom/panel.js +310 -239
- package/lib/table/module/custom/panel.min.js +1 -1
- package/lib/table/module/edit/mixin.js +436 -371
- package/lib/table/module/edit/mixin.min.js +1 -1
- package/lib/table/module/export/export-panel.js +136 -106
- package/lib/table/module/export/export-panel.min.js +1 -1
- package/lib/table/module/export/import-panel.js +75 -54
- package/lib/table/module/export/import-panel.min.js +1 -1
- package/lib/table/module/export/mixin.js +592 -597
- package/lib/table/module/export/mixin.min.js +1 -1
- package/lib/table/module/export/util.js +6 -4
- package/lib/table/module/export/util.min.js +1 -1
- package/lib/table/module/filter/mixin.js +147 -118
- package/lib/table/module/filter/mixin.min.js +1 -1
- package/lib/table/module/filter/panel.js +86 -65
- package/lib/table/module/filter/panel.min.js +1 -1
- package/lib/table/module/keyboard/mixin.js +163 -151
- package/lib/table/module/keyboard/mixin.min.js +1 -1
- package/lib/table/module/menu/mixin.js +125 -114
- package/lib/table/module/menu/mixin.min.js +1 -1
- package/lib/table/module/menu/panel.js +36 -34
- package/lib/table/module/menu/panel.min.js +1 -1
- package/lib/table/module/validator/mixin.js +225 -214
- package/lib/table/module/validator/mixin.min.js +1 -1
- package/lib/table/render/index.js +401 -297
- package/lib/table/render/index.min.js +1 -1
- package/lib/table/src/body.js +411 -349
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/cell.js +470 -344
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/column.js +10 -10
- package/lib/table/src/column.min.js +1 -1
- package/lib/table/src/columnInfo.js +46 -55
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/footer.js +157 -132
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/group.js +1 -1
- package/lib/table/src/group.min.js +1 -1
- package/lib/table/src/header.js +170 -153
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/methods.js +2758 -2478
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/props.js +33 -74
- package/lib/table/src/props.min.js +1 -1
- package/lib/table/src/table.js +519 -397
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +143 -131
- package/lib/table/src/util.min.js +1 -1
- package/lib/table/style/style.css +37 -48
- package/lib/table/style/style.min.css +1 -1
- package/lib/toolbar/index.js +3 -3
- package/lib/toolbar/index.min.js +1 -1
- package/lib/toolbar/src/toolbar.js +332 -284
- package/lib/toolbar/src/toolbar.min.js +1 -1
- package/lib/toolbar/style/style.css +0 -1
- package/lib/toolbar/style/style.min.css +1 -1
- package/lib/ui/index.js +50 -41
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/comp.js +2 -3
- package/lib/ui/src/comp.min.js +1 -1
- package/lib/ui/src/dom.js +29 -28
- package/lib/ui/src/dom.min.js +1 -1
- package/lib/ui/src/log.js +6 -4
- package/lib/ui/src/log.min.js +1 -1
- package/lib/ui/src/utils.js +7 -7
- package/lib/v-x-e-table/index.js +3 -4
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/vxe-colgroup/index.js +3 -4
- package/lib/vxe-colgroup/index.min.js +1 -1
- package/lib/vxe-column/index.js +3 -4
- package/lib/vxe-column/index.min.js +1 -1
- package/lib/vxe-grid/index.js +3 -4
- package/lib/vxe-grid/index.min.js +1 -1
- package/lib/vxe-grid/style/style.css +0 -1
- package/lib/vxe-grid/style/style.min.css +1 -1
- package/lib/vxe-table/index.js +3 -4
- package/lib/vxe-table/index.min.js +1 -1
- package/lib/vxe-table/style/style.css +37 -48
- package/lib/vxe-table/style/style.min.css +1 -1
- package/lib/vxe-toolbar/index.js +3 -4
- package/lib/vxe-toolbar/index.min.js +1 -1
- package/lib/vxe-toolbar/style/style.css +0 -1
- package/lib/vxe-toolbar/style/style.min.css +1 -1
- package/lib/vxe-ui/index.js +3 -4
- package/lib/vxe-ui/index.min.js +1 -1
- package/lib/vxe-v-x-e-table/index.js +3 -4
- package/lib/vxe-v-x-e-table/index.min.js +1 -1
- package/package.json +5 -4
- package/packages/grid/src/grid.ts +127 -65
- package/packages/locale/lang/en-US.ts +2 -10
- package/packages/locale/lang/es-ES.ts +2 -1
- package/packages/locale/lang/hu-HU.ts +497 -503
- package/packages/locale/lang/ja-JP.ts +2 -10
- package/packages/locale/lang/ko-KR.ts +2 -10
- package/packages/locale/lang/pt-BR.ts +2 -10
- package/packages/locale/lang/ru-RU.ts +497 -505
- package/packages/locale/lang/uk-UA.ts +667 -0
- package/packages/locale/lang/vi-VN.ts +2 -10
- package/packages/locale/lang/zh-CHT.ts +667 -0
- package/packages/locale/lang/zh-CN.ts +2 -10
- package/packages/locale/lang/zh-HK.ts +2 -2
- package/packages/locale/lang/zh-MO.ts +2 -2
- package/packages/locale/lang/zh-TC.ts +2 -674
- package/packages/locale/lang/zh-TW.ts +2 -2
- package/packages/table/module/custom/panel.ts +186 -175
- package/packages/table/module/edit/mixin.ts +32 -23
- package/packages/table/module/export/export-panel.ts +36 -4
- package/packages/table/module/export/import-panel.ts +29 -6
- package/packages/table/module/export/mixin.ts +11 -11
- package/packages/table/module/menu/mixin.ts +2 -2
- package/packages/table/module/validator/mixin.ts +4 -4
- package/packages/table/render/index.ts +20 -11
- package/packages/table/src/body.ts +1 -0
- package/packages/table/src/columnInfo.ts +3 -3
- package/packages/table/src/methods.ts +53 -42
- package/packages/table/src/props.ts +68 -15
- package/packages/table/src/table.ts +183 -57
- package/packages/table/src/util.ts +3 -2
- package/packages/toolbar/src/toolbar.ts +21 -7
- package/packages/ui/index.ts +3 -1
- package/styles/components/table.scss +82 -17
- package/types/all.d.ts +1 -0
- /package/es/{iconfont.1726318179195.ttf → iconfont.1728348263835.ttf} +0 -0
- /package/es/{iconfont.1726318179195.woff → iconfont.1728348263835.woff} +0 -0
- /package/es/{iconfont.1726318179195.woff2 → iconfont.1728348263835.woff2} +0 -0
- /package/lib/{iconfont.1726318179195.ttf → iconfont.1728348263835.ttf} +0 -0
- /package/lib/{iconfont.1726318179195.woff → iconfont.1728348263835.woff} +0 -0
- /package/lib/{iconfont.1726318179195.woff2 → iconfont.1728348263835.woff2} +0 -0
|
@@ -130,6 +130,26 @@
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
|
+
.vxe-body--column {
|
|
134
|
+
&.col--height {
|
|
135
|
+
&.col--active {
|
|
136
|
+
& > .vxe-cell {
|
|
137
|
+
height: 100%;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
& > .vxe-cell {
|
|
141
|
+
& > .vxe-textarea,
|
|
142
|
+
& > .vxe-default-textarea {
|
|
143
|
+
height: 100%;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
.vxe-cell--label {
|
|
148
|
+
&.is--textarea {
|
|
149
|
+
white-space: pre-line;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
133
153
|
|
|
134
154
|
.vxe-table--checkbox-range,
|
|
135
155
|
.vxe-table--cell-main-area,
|
|
@@ -456,12 +476,12 @@
|
|
|
456
476
|
// vertical-align: middle;
|
|
457
477
|
// }
|
|
458
478
|
.vxe-cell--required-icon {
|
|
459
|
-
|
|
479
|
+
padding-right: 0.1em;
|
|
460
480
|
}
|
|
461
481
|
.vxe-cell--edit-icon,
|
|
462
482
|
.vxe-cell-title-prefix-icon,
|
|
463
483
|
.vxe-cell-title-suffix-icon {
|
|
464
|
-
|
|
484
|
+
padding: 0.2em;
|
|
465
485
|
}
|
|
466
486
|
.vxe-cell-title-prefix-icon,
|
|
467
487
|
.vxe-cell-title-suffix-icon {
|
|
@@ -512,12 +532,12 @@
|
|
|
512
532
|
font-family: var(--vxe-ui-font-family);
|
|
513
533
|
direction: ltr;
|
|
514
534
|
.vxe-table--body-wrapper {
|
|
515
|
-
table {
|
|
535
|
+
& > table {
|
|
516
536
|
background-color: var(--vxe-ui-layout-background-color);
|
|
517
537
|
}
|
|
518
538
|
}
|
|
519
539
|
.vxe-table--footer-wrapper {
|
|
520
|
-
table {
|
|
540
|
+
& > table {
|
|
521
541
|
background-color: var(--vxe-ui-table-footer-background-color);
|
|
522
542
|
}
|
|
523
543
|
}
|
|
@@ -678,15 +698,25 @@
|
|
|
678
698
|
}
|
|
679
699
|
}
|
|
680
700
|
}
|
|
701
|
+
&.is--padding {
|
|
702
|
+
.vxe-body--column {
|
|
703
|
+
&:not(.col--ellipsis) {
|
|
704
|
+
padding: var(--vxe-ui-table-column-padding-default);
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
.vxe-header--column,
|
|
709
|
+
.vxe-footer--column {
|
|
710
|
+
&:not(.col--ellipsis) {
|
|
711
|
+
padding: var(--vxe-ui-table-column-padding-default);
|
|
712
|
+
}
|
|
713
|
+
}
|
|
681
714
|
.vxe-header--column,
|
|
682
715
|
.vxe-body--column,
|
|
683
716
|
.vxe-footer--column {
|
|
684
717
|
position: relative;
|
|
685
718
|
line-height: var(--vxe-ui-table-row-line-height);
|
|
686
719
|
text-align: left;
|
|
687
|
-
&:not(.col--ellipsis) {
|
|
688
|
-
padding: var(--vxe-ui-table-column-padding-default);
|
|
689
|
-
}
|
|
690
720
|
&.col--current {
|
|
691
721
|
background-color: var(--vxe-ui-table-column-current-background-color);
|
|
692
722
|
// .vxe-tree--btn-wrapper {
|
|
@@ -731,6 +761,27 @@
|
|
|
731
761
|
.vxe-table--footer-wrapper {
|
|
732
762
|
border-top: var(--vxe-ui-table-border-width) solid var(--vxe-ui-table-border-color);
|
|
733
763
|
}
|
|
764
|
+
// &.border--default,
|
|
765
|
+
// &.border--full,
|
|
766
|
+
// &.border--inner,
|
|
767
|
+
// &.border--outer {
|
|
768
|
+
// .vxe-body--row {
|
|
769
|
+
// &:last-child {
|
|
770
|
+
// & > .vxe-body--column {
|
|
771
|
+
// & > .vxe-cell {
|
|
772
|
+
// border-bottom: 1px solid transparent;
|
|
773
|
+
// }
|
|
774
|
+
// }
|
|
775
|
+
// }
|
|
776
|
+
// }
|
|
777
|
+
// .vxe-body--column {
|
|
778
|
+
// &:first-child {
|
|
779
|
+
// & > .vxe-cell {
|
|
780
|
+
// border-left: 1px solid transparent;
|
|
781
|
+
// }
|
|
782
|
+
// }
|
|
783
|
+
// }
|
|
784
|
+
// }
|
|
734
785
|
&.border--default,
|
|
735
786
|
&.border--full,
|
|
736
787
|
&.border--outer {
|
|
@@ -883,11 +934,16 @@
|
|
|
883
934
|
}
|
|
884
935
|
}
|
|
885
936
|
}
|
|
937
|
+
|
|
938
|
+
&.is--padding {
|
|
939
|
+
.vxe-cell {
|
|
940
|
+
padding-left: var(--vxe-ui-table-cell-padding-left);
|
|
941
|
+
padding-right: var(--vxe-ui-table-cell-padding-right);
|
|
942
|
+
}
|
|
943
|
+
}
|
|
886
944
|
.vxe-cell {
|
|
887
945
|
white-space: pre-line;
|
|
888
946
|
word-break: break-all;
|
|
889
|
-
padding-left: var(--vxe-ui-table-cell-padding-left);
|
|
890
|
-
padding-right: var(--vxe-ui-table-cell-padding-right);
|
|
891
947
|
}
|
|
892
948
|
|
|
893
949
|
// 单元格占位符
|
|
@@ -1146,6 +1202,7 @@
|
|
|
1146
1202
|
}
|
|
1147
1203
|
}
|
|
1148
1204
|
|
|
1205
|
+
|
|
1149
1206
|
/*溢出列*/
|
|
1150
1207
|
.vxe-header--column,
|
|
1151
1208
|
.vxe-body--column,
|
|
@@ -1159,8 +1216,10 @@
|
|
|
1159
1216
|
white-space: nowrap;
|
|
1160
1217
|
}
|
|
1161
1218
|
}
|
|
1162
|
-
|
|
1163
|
-
|
|
1219
|
+
&:not(.col--height) {
|
|
1220
|
+
& > .vxe-cell {
|
|
1221
|
+
max-height: var(--vxe-ui-table-row-height-default);
|
|
1222
|
+
}
|
|
1164
1223
|
}
|
|
1165
1224
|
}
|
|
1166
1225
|
}
|
|
@@ -1170,8 +1229,10 @@
|
|
|
1170
1229
|
.vxe-footer--column {
|
|
1171
1230
|
&.col--ellipsis {
|
|
1172
1231
|
@extend %MediumColumnHeight;
|
|
1173
|
-
|
|
1174
|
-
|
|
1232
|
+
&:not(.col--height) {
|
|
1233
|
+
& > .vxe-cell {
|
|
1234
|
+
max-height: var(--vxe-ui-table-row-height-medium);
|
|
1235
|
+
}
|
|
1175
1236
|
}
|
|
1176
1237
|
}
|
|
1177
1238
|
}
|
|
@@ -1188,8 +1249,10 @@
|
|
|
1188
1249
|
.vxe-footer--column {
|
|
1189
1250
|
&.col--ellipsis {
|
|
1190
1251
|
@extend %SmallColumnHeight;
|
|
1191
|
-
|
|
1192
|
-
|
|
1252
|
+
&:not(.col--height) {
|
|
1253
|
+
& > .vxe-cell {
|
|
1254
|
+
max-height: var(--vxe-ui-table-row-height-small);
|
|
1255
|
+
}
|
|
1193
1256
|
}
|
|
1194
1257
|
}
|
|
1195
1258
|
}
|
|
@@ -1206,8 +1269,10 @@
|
|
|
1206
1269
|
.vxe-footer--column {
|
|
1207
1270
|
&.col--ellipsis {
|
|
1208
1271
|
@extend %MiniColumnHeight;
|
|
1209
|
-
|
|
1210
|
-
|
|
1272
|
+
&:not(.col--height) {
|
|
1273
|
+
& > .vxe-cell {
|
|
1274
|
+
max-height: var(--vxe-ui-table-row-height-mini);
|
|
1275
|
+
}
|
|
1211
1276
|
}
|
|
1212
1277
|
}
|
|
1213
1278
|
}
|
package/types/all.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|