vxe-table 3.7.0-beta.13 → 3.7.0-beta.15
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/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 +87 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/tools/utils.js +3 -5
- package/lib/tools/utils.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/package.json +5 -1
- package/packages/tools/utils.js +3 -6
- /package/lib/icon/style/{iconfont.1692439110338.ttf → iconfont.1692577739980.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1692439110338.woff → iconfont.1692577739980.woff} +0 -0
- /package/lib/icon/style/{iconfont.1692439110338.woff2 → iconfont.1692577739980.woff2} +0 -0
- /package/lib/{iconfont.1692439110338.ttf → iconfont.1692577739980.ttf} +0 -0
- /package/lib/{iconfont.1692439110338.woff → iconfont.1692577739980.woff} +0 -0
- /package/lib/{iconfont.1692439110338.woff2 → iconfont.1692577739980.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -11045,7 +11045,7 @@ var es_array_concat = __webpack_require__(2222);
|
|
|
11045
11045
|
|
|
11046
11046
|
|
|
11047
11047
|
function getLog(message, params) {
|
|
11048
|
-
return "[vxe-table v".concat("3.7.0-beta.
|
|
11048
|
+
return "[vxe-table v".concat("3.7.0-beta.13", "] ").concat(conf.i18n(message, params));
|
|
11049
11049
|
}
|
|
11050
11050
|
function outLog(type) {
|
|
11051
11051
|
return function (message, params) {
|
|
@@ -11219,6 +11219,88 @@ var es_array_splice = __webpack_require__(561);
|
|
|
11219
11219
|
var es_array_last_index_of = __webpack_require__(4986);
|
|
11220
11220
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.parse-float.js
|
|
11221
11221
|
var es_parse_float = __webpack_require__(4678);
|
|
11222
|
+
;// CONCATENATED MODULE: ./node_modules/dom-zindex/es/index.esm.js
|
|
11223
|
+
var storeEl = null;
|
|
11224
|
+
var storeId = 'z-index-manage';
|
|
11225
|
+
var storeMainKey = 'm';
|
|
11226
|
+
var storeSubKey = 's';
|
|
11227
|
+
var storeData = {
|
|
11228
|
+
m: 1000,
|
|
11229
|
+
s: 1000
|
|
11230
|
+
};
|
|
11231
|
+
function getDom() {
|
|
11232
|
+
if (!storeEl) {
|
|
11233
|
+
if (typeof document !== 'undefined') {
|
|
11234
|
+
storeEl = document.getElementById(storeId);
|
|
11235
|
+
if (!storeEl) {
|
|
11236
|
+
storeEl = document.createElement('div');
|
|
11237
|
+
storeEl.id = storeId;
|
|
11238
|
+
document.body.appendChild(storeEl);
|
|
11239
|
+
setCurrent(storeData.m);
|
|
11240
|
+
setSubCurrent(storeData.s);
|
|
11241
|
+
}
|
|
11242
|
+
}
|
|
11243
|
+
}
|
|
11244
|
+
return storeEl;
|
|
11245
|
+
}
|
|
11246
|
+
function createSetHandle(key) {
|
|
11247
|
+
return function (value) {
|
|
11248
|
+
if (value) {
|
|
11249
|
+
value = Number(value);
|
|
11250
|
+
storeData[key] = value;
|
|
11251
|
+
var doc = getDom();
|
|
11252
|
+
if (doc) {
|
|
11253
|
+
if (doc.dataset) {
|
|
11254
|
+
doc.dataset[key] = value + '';
|
|
11255
|
+
}
|
|
11256
|
+
else {
|
|
11257
|
+
doc.setAttribute('data-' + key, value + '');
|
|
11258
|
+
}
|
|
11259
|
+
}
|
|
11260
|
+
}
|
|
11261
|
+
return storeData[key];
|
|
11262
|
+
};
|
|
11263
|
+
}
|
|
11264
|
+
var setCurrent = createSetHandle(storeMainKey);
|
|
11265
|
+
function createGetHandle(key) {
|
|
11266
|
+
return function getCurrent() {
|
|
11267
|
+
var zIndex;
|
|
11268
|
+
var doc = getDom();
|
|
11269
|
+
if (doc) {
|
|
11270
|
+
zIndex = doc.dataset ? doc.dataset[key] : doc.getAttribute('data-' + key);
|
|
11271
|
+
}
|
|
11272
|
+
if (zIndex) {
|
|
11273
|
+
return Number(zIndex);
|
|
11274
|
+
}
|
|
11275
|
+
return storeData[key];
|
|
11276
|
+
};
|
|
11277
|
+
}
|
|
11278
|
+
var getCurrent = createGetHandle(storeMainKey);
|
|
11279
|
+
function getNext() {
|
|
11280
|
+
return setCurrent(getCurrent() + 1);
|
|
11281
|
+
}
|
|
11282
|
+
var setSubCurrent = createSetHandle(storeSubKey);
|
|
11283
|
+
var _getSubCurrent = createGetHandle(storeSubKey);
|
|
11284
|
+
function getSubCurrent() {
|
|
11285
|
+
return getCurrent() + _getSubCurrent();
|
|
11286
|
+
}
|
|
11287
|
+
function getSubNext() {
|
|
11288
|
+
setSubCurrent(_getSubCurrent() + 1);
|
|
11289
|
+
return getSubCurrent();
|
|
11290
|
+
}
|
|
11291
|
+
/**
|
|
11292
|
+
* Web common z-index style management
|
|
11293
|
+
*/
|
|
11294
|
+
var DomZIndex = {
|
|
11295
|
+
setCurrent: setCurrent,
|
|
11296
|
+
getCurrent: getCurrent,
|
|
11297
|
+
getNext: getNext,
|
|
11298
|
+
setSubCurrent: setSubCurrent,
|
|
11299
|
+
getSubCurrent: getSubCurrent,
|
|
11300
|
+
getSubNext: getSubNext
|
|
11301
|
+
};
|
|
11302
|
+
/* harmony default export */ const index_esm = (DomZIndex);
|
|
11303
|
+
|
|
11222
11304
|
;// CONCATENATED MODULE: ./packages/tools/utils.js
|
|
11223
11305
|
|
|
11224
11306
|
|
|
@@ -11233,8 +11315,7 @@ var es_parse_float = __webpack_require__(4678);
|
|
|
11233
11315
|
|
|
11234
11316
|
|
|
11235
11317
|
|
|
11236
|
-
|
|
11237
|
-
var lastZindex = 1;
|
|
11318
|
+
|
|
11238
11319
|
function isEnableConf(conf) {
|
|
11239
11320
|
return conf && conf.enabled !== false;
|
|
11240
11321
|
}
|
|
@@ -11259,11 +11340,10 @@ function getColumnList(columns) {
|
|
|
11259
11340
|
}
|
|
11260
11341
|
var UtilTools = {
|
|
11261
11342
|
nextZIndex: function nextZIndex() {
|
|
11262
|
-
|
|
11263
|
-
return lastZindex;
|
|
11343
|
+
return index_esm.getNext();
|
|
11264
11344
|
},
|
|
11265
11345
|
getLastZIndex: function getLastZIndex() {
|
|
11266
|
-
return
|
|
11346
|
+
return index_esm.getCurrent();
|
|
11267
11347
|
},
|
|
11268
11348
|
getColumnList: getColumnList,
|
|
11269
11349
|
getClass: function getClass(property, params) {
|
|
@@ -12401,7 +12481,7 @@ function _t(key, args) {
|
|
|
12401
12481
|
var v = 'v3';
|
|
12402
12482
|
var VXETable = {
|
|
12403
12483
|
v: v,
|
|
12404
|
-
version: "3.7.0-beta.
|
|
12484
|
+
version: "3.7.0-beta.13",
|
|
12405
12485
|
reg: reg,
|
|
12406
12486
|
use: use,
|
|
12407
12487
|
setup: setup,
|