vxe-table 3.8.3-beta.0 → 3.8.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/lib/button/style/style.css +6 -6
- package/lib/button/style/style.min.css +1 -1
- package/lib/custom/src/panel.js +6 -6
- package/lib/custom/src/panel.min.js +1 -1
- package/lib/custom/style/style.css +13 -13
- package/lib/custom/style/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.umd.js +16 -14
- package/lib/index.umd.min.js +1 -1
- package/lib/input/style/style.css +0 -1
- package/lib/input/style/style.min.css +1 -1
- package/lib/loading/src/loading.js +1 -1
- package/lib/loading/src/loading.min.js +1 -1
- package/lib/loading/style/style.css +1 -1
- package/lib/loading/style/style.min.css +1 -1
- package/lib/modal/src/modal.js +1 -1
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/table.js +1 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +4 -4
- package/lib/table/style/style.min.css +1 -1
- package/lib/tools/event.js +3 -3
- package/lib/tools/event.min.js +1 -1
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/v-x-e-table/index.js +1 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/v-x-e-table/style/style.css +1 -1
- package/lib/v-x-e-table/style/style.min.css +1 -1
- package/lib/vxe-button/style/style.css +6 -6
- package/lib/vxe-button/style/style.min.css +1 -1
- package/lib/vxe-input/style/style.css +0 -1
- package/lib/vxe-input/style/style.min.css +1 -1
- package/lib/vxe-loading/style/style.css +1 -1
- package/lib/vxe-loading/style/style.min.css +1 -1
- package/lib/vxe-table/style/style.css +4 -4
- package/lib/vxe-table/style/style.min.css +1 -1
- package/lib/vxe-table-custom-module/style/style.css +13 -13
- package/lib/vxe-table-custom-module/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/custom/src/panel.js +6 -6
- package/packages/loading/src/loading.js +1 -1
- package/packages/modal/src/modal.js +1 -1
- package/packages/table/src/table.js +1 -1
- package/packages/tools/event.js +3 -3
- package/styles/base/common.scss +4 -4
- package/styles/button.scss +5 -5
- package/styles/custom.scss +5 -5
- package/styles/helpers/mixin.scss +1 -1
- package/styles/input.scss +1 -2
- package/styles/loading.scss +1 -1
- package/styles/modal.scss +2 -2
- package/styles/select.scss +1 -1
- package/styles/table.scss +2 -2
- /package/lib/icon/style/{iconfont.1714276918127.ttf → iconfont.1714353062133.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1714276918127.woff → iconfont.1714353062133.woff} +0 -0
- /package/lib/icon/style/{iconfont.1714276918127.woff2 → iconfont.1714353062133.woff2} +0 -0
- /package/lib/{iconfont.1714276918127.ttf → iconfont.1714353062133.ttf} +0 -0
- /package/lib/{iconfont.1714276918127.woff → iconfont.1714353062133.woff} +0 -0
- /package/lib/{iconfont.1714276918127.woff2 → iconfont.1714353062133.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -11346,7 +11346,7 @@ var es_array_concat = __webpack_require__(8706);
|
|
|
11346
11346
|
|
|
11347
11347
|
|
|
11348
11348
|
function getLog(message, params) {
|
|
11349
|
-
return "[vxe-table v".concat("3.8.3-beta.
|
|
11349
|
+
return "[vxe-table v".concat("3.8.3-beta.1", "] ").concat(conf.i18n(message, params));
|
|
11350
11350
|
}
|
|
11351
11351
|
function outLog(type) {
|
|
11352
11352
|
return function (message, params) {
|
|
@@ -13067,7 +13067,7 @@ var setup = config;
|
|
|
13067
13067
|
var globalStore = {};
|
|
13068
13068
|
var VXETable = {
|
|
13069
13069
|
v: v,
|
|
13070
|
-
version: "3.8.3-beta.
|
|
13070
|
+
version: "3.8.3-beta.1",
|
|
13071
13071
|
reg: reg,
|
|
13072
13072
|
use: use,
|
|
13073
13073
|
setup: setup,
|
|
@@ -15582,9 +15582,9 @@ var GlobalEvent = {
|
|
|
15582
15582
|
};
|
|
15583
15583
|
if (browse.isDoc) {
|
|
15584
15584
|
if (!browse.msie) {
|
|
15585
|
-
|
|
15586
|
-
|
|
15587
|
-
|
|
15585
|
+
window.addEventListener('copy', GlobalEvent.trigger, false);
|
|
15586
|
+
window.addEventListener('cut', GlobalEvent.trigger, false);
|
|
15587
|
+
window.addEventListener('paste', GlobalEvent.trigger, false);
|
|
15588
15588
|
}
|
|
15589
15589
|
document.addEventListener('keydown', GlobalEvent.trigger, false);
|
|
15590
15590
|
document.addEventListener('contextmenu', GlobalEvent.trigger, false);
|
|
@@ -22749,7 +22749,7 @@ funcs.forEach(function (name) {
|
|
|
22749
22749
|
'is--visible': this.value
|
|
22750
22750
|
}]
|
|
22751
22751
|
}, defaultSlot ? [h('div', {
|
|
22752
|
-
class: 'vxe-loading--
|
|
22752
|
+
class: 'vxe-loading--wrapper'
|
|
22753
22753
|
}, defaultSlot.call(this, {}))] : [h('div', {
|
|
22754
22754
|
class: 'vxe-loading--chunk'
|
|
22755
22755
|
}, [loadingIcon ? h('i', {
|
|
@@ -23880,7 +23880,7 @@ function handleUupdateResize(_vm) {
|
|
|
23880
23880
|
var leftList = columnStore.leftList,
|
|
23881
23881
|
rightList = columnStore.rightList;
|
|
23882
23882
|
return h('div', {
|
|
23883
|
-
class: ['vxe-table', 'vxe-table--render-default', "tid_".concat(tId), vSize ? "size--".concat(vSize) : '', "border--".concat(tableBorder), (_ref = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "
|
|
23883
|
+
class: ['vxe-table', 'vxe-table--render-default', "tid_".concat(tId), vSize ? "size--".concat(vSize) : '', "border--".concat(tableBorder), (_ref = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "valid-msg--".concat(validOpts.msgMode), !!editRules), 'vxe-editable', !!editConfig), 'old-cell-valid', editRules && conf.cellVaildMode === 'obsolete'), 'cell--highlight', highlightCell), 'cell--selected', mouseConfig && mouseOpts.selected), 'cell--area', mouseConfig && mouseOpts.area), 'row--highlight', rowOpts.isHover || highlightHoverRow), 'column--highlight', columnOpts.isHover || highlightHoverColumn), 'is--header', showHeader), 'is--footer', showFooter), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, 'is--group', isGroup), 'is--tree-line', treeConfig && (treeOpts.showLine || treeOpts.line)), 'is--fixed-left', leftList.length), 'is--fixed-right', rightList.length), 'is--animat', !!this.animat), 'is--round', this.round), 'is--stripe', !treeConfig && stripe), 'is--loading', loading), 'is--empty', !loading && !tableData.length), 'is--scroll-y', overflowY), _defineProperty(_defineProperty(_defineProperty(_ref, 'is--scroll-x', overflowX), 'is--virtual-x', scrollXLoad), 'is--virtual-y', scrollYLoad))],
|
|
23884
23884
|
on: {
|
|
23885
23885
|
keydown: this.keydownEvent
|
|
23886
23886
|
}
|
|
@@ -26039,6 +26039,8 @@ var Edit = VxeTableEditModule;
|
|
|
26039
26039
|
|
|
26040
26040
|
|
|
26041
26041
|
|
|
26042
|
+
|
|
26043
|
+
|
|
26042
26044
|
|
|
26043
26045
|
var allActivedModals = [];
|
|
26044
26046
|
var msgQueue = [];
|
|
@@ -26373,7 +26375,7 @@ var msgQueue = [];
|
|
|
26373
26375
|
}, h)) : title ? getFuncText(title) : conf.i18n('vxe.alert.title')), h('div', {
|
|
26374
26376
|
class: 'vxe-modal--header-right'
|
|
26375
26377
|
}, [cornerSlot ? h('span', {
|
|
26376
|
-
class: 'vxe-modal--corner-
|
|
26378
|
+
class: 'vxe-modal--corner-wrapper'
|
|
26377
26379
|
}, getSlotVNs(cornerSlot({
|
|
26378
26380
|
$modal: this
|
|
26379
26381
|
}))) : _e(), showZoom ? h('i', {
|
|
@@ -34712,7 +34714,7 @@ function renderPopupPanel(h, _vm) {
|
|
|
34712
34714
|
props: {
|
|
34713
34715
|
value: customStore.visible,
|
|
34714
34716
|
title: conf.i18n('vxe.custom.cstmTitle'),
|
|
34715
|
-
className: 'vxe-table-custom-popup-
|
|
34717
|
+
className: 'vxe-table-custom-popup-wrapper vxe-table--ignore-clear',
|
|
34716
34718
|
width: '40vw',
|
|
34717
34719
|
minWidth: 500,
|
|
34718
34720
|
height: '50vh',
|
|
@@ -34735,7 +34737,7 @@ function renderPopupPanel(h, _vm) {
|
|
|
34735
34737
|
ref: 'bodyElemRef',
|
|
34736
34738
|
class: 'vxe-table-custom-popup--body'
|
|
34737
34739
|
}, [h('div', {
|
|
34738
|
-
class: 'vxe-table-custom-popup--table-
|
|
34740
|
+
class: 'vxe-table-custom-popup--table-wrapper'
|
|
34739
34741
|
}, [h('table', {}, [h('colgroup', {}, [h('col', {
|
|
34740
34742
|
style: {
|
|
34741
34743
|
width: '60px'
|
|
@@ -34961,7 +34963,7 @@ function renderPopupPanel(h, _vm) {
|
|
|
34961
34963
|
if (prevDropTrEl) {
|
|
34962
34964
|
// 判断是否有拖动
|
|
34963
34965
|
if (prevDropTrEl !== trEl) {
|
|
34964
|
-
var dragOffset = prevDropTrEl.getAttribute('
|
|
34966
|
+
var dragOffset = prevDropTrEl.getAttribute('drag-pos');
|
|
34965
34967
|
var colid = trEl.getAttribute('colid');
|
|
34966
34968
|
var column = $xetable.getColumnById(colid);
|
|
34967
34969
|
if (!column) {
|
|
@@ -34984,12 +34986,12 @@ function renderPopupPanel(h, _vm) {
|
|
|
34984
34986
|
customColumnList.splice(tcIndex + (dragOffset === 'bottom' ? 1 : 0), 0, column);
|
|
34985
34987
|
}
|
|
34986
34988
|
prevDropTrEl.draggable = false;
|
|
34987
|
-
prevDropTrEl.removeAttribute('
|
|
34989
|
+
prevDropTrEl.removeAttribute('drag-pos');
|
|
34988
34990
|
panel_removeClass(prevDropTrEl, 'active--drag-target');
|
|
34989
34991
|
}
|
|
34990
34992
|
this.dragColumn = null;
|
|
34991
34993
|
trEl.draggable = false;
|
|
34992
|
-
trEl.removeAttribute('
|
|
34994
|
+
trEl.removeAttribute('drag-pos');
|
|
34993
34995
|
if (dragHintEl) {
|
|
34994
34996
|
dragHintEl.style.display = '';
|
|
34995
34997
|
}
|
|
@@ -35015,7 +35017,7 @@ function renderPopupPanel(h, _vm) {
|
|
|
35015
35017
|
var offsetY = evnt.clientY - trEl.getBoundingClientRect().y;
|
|
35016
35018
|
var dragOffset = offsetY < trEl.clientHeight / 2 ? 'top' : 'bottom';
|
|
35017
35019
|
panel_addClass(trEl, 'active--drag-target');
|
|
35018
|
-
trEl.setAttribute('
|
|
35020
|
+
trEl.setAttribute('drag-pos', dragOffset);
|
|
35019
35021
|
this.prevDropTrEl = trEl;
|
|
35020
35022
|
}
|
|
35021
35023
|
updateDropHint(this, evnt);
|