vxe-table 3.17.14 → 3.17.16
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/style.css +1 -1
- package/es/table/src/body.js +4 -1
- package/es/table/src/header.js +4 -1
- package/es/table/src/methods.js +1 -2
- package/es/table/src/table.js +4 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +15 -11
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/body.js +4 -1
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/header.js +4 -1
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/methods.js +1 -6
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +4 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/packages/table/src/body.ts +4 -1
- package/packages/table/src/header.ts +4 -1
- package/packages/table/src/methods.ts +1 -2
- package/packages/table/src/table.ts +4 -1
- /package/es/{iconfont.1756083404568.ttf → iconfont.1757985134936.ttf} +0 -0
- /package/es/{iconfont.1756083404568.woff → iconfont.1757985134936.woff} +0 -0
- /package/es/{iconfont.1756083404568.woff2 → iconfont.1757985134936.woff2} +0 -0
- /package/lib/{iconfont.1756083404568.ttf → iconfont.1757985134936.ttf} +0 -0
- /package/lib/{iconfont.1756083404568.woff → iconfont.1757985134936.woff} +0 -0
- /package/lib/{iconfont.1756083404568.woff2 → iconfont.1757985134936.woff2} +0 -0
package/es/table/src/header.js
CHANGED
package/es/table/src/methods.js
CHANGED
|
@@ -10871,8 +10871,7 @@ const Methods = {
|
|
|
10871
10871
|
// 已废弃,使用 dispatchEvent
|
|
10872
10872
|
emitEvent(type, params, evnt) {
|
|
10873
10873
|
const $xeTable = this;
|
|
10874
|
-
|
|
10875
|
-
this.$emit(type, Object.assign({ $table: $xeTable, $grid: $xeGrid, $event: evnt }, params));
|
|
10874
|
+
$xeTable.dispatchEvent(type, params, evnt);
|
|
10876
10875
|
},
|
|
10877
10876
|
focus() {
|
|
10878
10877
|
this.isActivated = true;
|
package/es/table/src/table.js
CHANGED
|
@@ -1048,9 +1048,12 @@ export default {
|
|
|
1048
1048
|
return footerOpts && footerOpts.options ? footerOpts.options : [];
|
|
1049
1049
|
},
|
|
1050
1050
|
isCtxMenu() {
|
|
1051
|
-
return this.
|
|
1051
|
+
return this.computeIsContentMenu;
|
|
1052
1052
|
},
|
|
1053
1053
|
computeIsMenu() {
|
|
1054
|
+
return this.computeIsContentMenu;
|
|
1055
|
+
},
|
|
1056
|
+
computeIsContentMenu() {
|
|
1054
1057
|
const $xeTable = this;
|
|
1055
1058
|
const props = $xeTable;
|
|
1056
1059
|
const menuOpts = $xeTable.computeMenuOpts;
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -3234,7 +3234,7 @@ function getClass(property, params) {
|
|
|
3234
3234
|
;// ./packages/ui/index.ts
|
|
3235
3235
|
|
|
3236
3236
|
|
|
3237
|
-
const version = "3.17.
|
|
3237
|
+
const version = "3.17.16";
|
|
3238
3238
|
core_.VxeUI.version = version;
|
|
3239
3239
|
core_.VxeUI.tableVersion = version;
|
|
3240
3240
|
core_.VxeUI.setConfig({
|
|
@@ -3918,7 +3918,7 @@ var es_iterator_map = __webpack_require__(1701);
|
|
|
3918
3918
|
const {
|
|
3919
3919
|
log: log_log
|
|
3920
3920
|
} = core_.VxeUI;
|
|
3921
|
-
const log_version = `table v${"3.17.
|
|
3921
|
+
const log_version = `table v${"3.17.16"}`;
|
|
3922
3922
|
const warnLog = log_log.create('warn', log_version);
|
|
3923
3923
|
const errLog = log_log.create('error', log_version);
|
|
3924
3924
|
;// ./packages/table/src/columnInfo.ts
|
|
@@ -19704,12 +19704,7 @@ const Methods = {
|
|
|
19704
19704
|
// 已废弃,使用 dispatchEvent
|
|
19705
19705
|
emitEvent(type, params, evnt) {
|
|
19706
19706
|
const $xeTable = this;
|
|
19707
|
-
|
|
19708
|
-
this.$emit(type, Object.assign({
|
|
19709
|
-
$table: $xeTable,
|
|
19710
|
-
$grid: $xeGrid,
|
|
19711
|
-
$event: evnt
|
|
19712
|
-
}, params));
|
|
19707
|
+
$xeTable.dispatchEvent(type, params, evnt);
|
|
19713
19708
|
},
|
|
19714
19709
|
focus() {
|
|
19715
19710
|
this.isActivated = true;
|
|
@@ -20762,7 +20757,10 @@ function renderRows(h, _vm, fixedType, isOptimizeMode, tableData, tableColumn) {
|
|
|
20762
20757
|
}, renderRows(h, this, fixedType, isOptimizeMode, renderDataList, renderColumnList))]), h('div', {
|
|
20763
20758
|
class: 'vxe-table--checkbox-range'
|
|
20764
20759
|
}), mouseConfig && mouseOpts.area ? h('div', {
|
|
20765
|
-
class: 'vxe-table--cell-area'
|
|
20760
|
+
class: 'vxe-table--cell-area',
|
|
20761
|
+
attrs: {
|
|
20762
|
+
xid: xID
|
|
20763
|
+
}
|
|
20766
20764
|
}, [h('span', {
|
|
20767
20765
|
class: 'vxe-table--cell-main-area'
|
|
20768
20766
|
}, mouseOpts.extension ? [h('span', {
|
|
@@ -21216,7 +21214,10 @@ function renderHeads(h, _vm, isGroup, isOptimizeMode, headerGroups) {
|
|
|
21216
21214
|
h('thead', {
|
|
21217
21215
|
ref: 'refHeaderTHead'
|
|
21218
21216
|
}, renderHeads(h, this, isGroup, isOptimizeMode, renderHeaderList))]), mouseConfig && mouseOpts.area ? h('div', {
|
|
21219
|
-
class: 'vxe-table--cell-area'
|
|
21217
|
+
class: 'vxe-table--cell-area',
|
|
21218
|
+
attrs: {
|
|
21219
|
+
xid: xID
|
|
21220
|
+
}
|
|
21220
21221
|
}, [h('span', {
|
|
21221
21222
|
class: 'vxe-table--cell-main-area'
|
|
21222
21223
|
}), h('span', {
|
|
@@ -30867,9 +30868,12 @@ function renderBody(h, $xeTable) {
|
|
|
30867
30868
|
return footerOpts && footerOpts.options ? footerOpts.options : [];
|
|
30868
30869
|
},
|
|
30869
30870
|
isCtxMenu() {
|
|
30870
|
-
return this.
|
|
30871
|
+
return this.computeIsContentMenu;
|
|
30871
30872
|
},
|
|
30872
30873
|
computeIsMenu() {
|
|
30874
|
+
return this.computeIsContentMenu;
|
|
30875
|
+
},
|
|
30876
|
+
computeIsContentMenu() {
|
|
30873
30877
|
const $xeTable = this;
|
|
30874
30878
|
const props = $xeTable;
|
|
30875
30879
|
const menuOpts = $xeTable.computeMenuOpts;
|