vxe-table 4.6.20 → 4.6.22
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/button-group/style.css +0 -25
- package/es/checkbox/style.css +0 -25
- package/es/checkbox-group/style.css +0 -25
- package/es/colgroup/style.css +0 -25
- package/es/column/style.css +0 -25
- package/es/custom/style.css +0 -25
- package/es/drawer/style.css +0 -25
- package/es/edit/style.css +0 -25
- package/es/export/style.css +0 -25
- package/es/filter/style.css +0 -25
- package/es/form/style.css +0 -25
- package/es/form-gather/style.css +0 -25
- package/es/form-item/style.css +0 -25
- package/es/grid/style.css +0 -25
- package/es/icon/style.css +1 -1
- package/es/input/style.css +0 -25
- package/es/keyboard/style.css +0 -25
- package/es/list/style.css +0 -25
- package/es/loading/style.css +0 -25
- package/es/menu/style.css +0 -25
- package/es/modal/src/modal.js +1 -1
- package/es/modal/style.css +0 -25
- package/es/optgroup/style.css +0 -25
- package/es/option/style.css +0 -25
- package/es/pager/style.css +0 -25
- package/es/pulldown/style.css +0 -26
- package/es/radio/style.css +1 -26
- package/es/radio-button/style.css +0 -25
- package/es/radio-group/style.css +0 -25
- package/es/select/style.css +0 -25
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/switch/style.css +0 -25
- package/es/table/src/table.js +16 -6
- package/es/table/style.css +1 -27
- package/es/textarea/style.css +0 -25
- package/es/toolbar/style.css +0 -25
- package/es/tools/log.js +1 -1
- package/es/tooltip/style.css +0 -25
- package/es/v-x-e-table/index.js +1 -1
- package/es/v-x-e-table/style.css +0 -26
- package/es/validator/style.css +0 -25
- package/es/vxe-button-group/style.css +0 -25
- package/es/vxe-checkbox/style.css +0 -25
- package/es/vxe-checkbox-group/style.css +0 -25
- package/es/vxe-colgroup/style.css +0 -25
- package/es/vxe-column/style.css +0 -25
- package/es/vxe-drawer/style.css +0 -25
- package/es/vxe-form/style.css +0 -25
- package/es/vxe-form-gather/style.css +0 -25
- package/es/vxe-form-item/style.css +0 -25
- package/es/vxe-grid/style.css +0 -25
- package/es/vxe-input/style.css +0 -25
- package/es/vxe-list/style.css +0 -25
- package/es/vxe-loading/style.css +0 -25
- package/es/vxe-modal/style.css +0 -25
- package/es/vxe-optgroup/style.css +0 -25
- package/es/vxe-option/style.css +0 -25
- package/es/vxe-pager/style.css +0 -25
- package/es/vxe-pulldown/style.css +0 -26
- package/es/vxe-radio/style.css +1 -26
- package/es/vxe-radio-button/style.css +0 -25
- package/es/vxe-radio-group/style.css +0 -25
- package/es/vxe-select/style.css +0 -25
- package/es/vxe-switch/style.css +0 -25
- package/es/vxe-table/style.css +1 -27
- package/es/vxe-table-custom-module/style.css +0 -25
- package/es/vxe-table-edit-module/style.css +0 -25
- package/es/vxe-table-export-module/style.css +0 -25
- package/es/vxe-table-filter-module/style.css +0 -25
- package/es/vxe-table-keyboard-module/style.css +0 -25
- package/es/vxe-table-menu-module/style.css +0 -25
- package/es/vxe-table-validator-module/style.css +0 -25
- package/es/vxe-textarea/style.css +0 -25
- package/es/vxe-toolbar/style.css +0 -25
- package/es/vxe-tooltip/style.css +0 -25
- package/lib/button-group/style/style.css +0 -25
- package/lib/checkbox/style/style.css +0 -25
- package/lib/checkbox-group/style/style.css +0 -25
- package/lib/colgroup/style/style.css +0 -25
- package/lib/column/style/style.css +0 -25
- package/lib/custom/style/style.css +0 -25
- package/lib/drawer/style/style.css +0 -25
- package/lib/edit/style/style.css +0 -25
- package/lib/export/style/style.css +0 -25
- package/lib/filter/style/style.css +0 -25
- package/lib/form/style/style.css +0 -25
- package/lib/form-gather/style/style.css +0 -25
- package/lib/form-item/style/style.css +0 -25
- package/lib/grid/style/style.css +0 -25
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +34 -20
- package/lib/index.umd.min.js +1 -1
- package/lib/input/style/style.css +0 -25
- package/lib/keyboard/style/style.css +0 -25
- package/lib/list/style/style.css +0 -25
- package/lib/loading/style/style.css +0 -25
- package/lib/menu/style/style.css +0 -25
- package/lib/modal/src/modal.js +1 -1
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/modal/style/style.css +0 -25
- package/lib/optgroup/style/style.css +0 -25
- package/lib/option/style/style.css +0 -25
- package/lib/pager/style/style.css +0 -25
- package/lib/pulldown/style/style.css +0 -26
- package/lib/radio/style/style.css +1 -26
- package/lib/radio-button/style/style.css +0 -25
- package/lib/radio-group/style/style.css +0 -25
- package/lib/select/style/style.css +0 -25
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/switch/style/style.css +0 -25
- package/lib/table/src/table.js +26 -17
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +1 -27
- package/lib/table/style/style.min.css +1 -1
- package/lib/textarea/style/style.css +0 -25
- package/lib/toolbar/style/style.css +0 -25
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/tooltip/style/style.css +0 -25
- 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 +0 -26
- package/lib/validator/style/style.css +0 -25
- package/lib/vxe-button-group/style/style.css +0 -25
- package/lib/vxe-checkbox/style/style.css +0 -25
- package/lib/vxe-checkbox-group/style/style.css +0 -25
- package/lib/vxe-colgroup/style/style.css +0 -25
- package/lib/vxe-column/style/style.css +0 -25
- package/lib/vxe-drawer/style/style.css +0 -25
- package/lib/vxe-form/style/style.css +0 -25
- package/lib/vxe-form-gather/style/style.css +0 -25
- package/lib/vxe-form-item/style/style.css +0 -25
- package/lib/vxe-grid/style/style.css +0 -25
- package/lib/vxe-input/style/style.css +0 -25
- package/lib/vxe-list/style/style.css +0 -25
- package/lib/vxe-loading/style/style.css +0 -25
- package/lib/vxe-modal/style/style.css +0 -25
- package/lib/vxe-optgroup/style/style.css +0 -25
- package/lib/vxe-option/style/style.css +0 -25
- package/lib/vxe-pager/style/style.css +0 -25
- package/lib/vxe-pulldown/style/style.css +0 -26
- package/lib/vxe-radio/style/style.css +1 -26
- package/lib/vxe-radio-button/style/style.css +0 -25
- package/lib/vxe-radio-group/style/style.css +0 -25
- package/lib/vxe-select/style/style.css +0 -25
- package/lib/vxe-switch/style/style.css +0 -25
- package/lib/vxe-table/style/style.css +1 -27
- package/lib/vxe-table/style/style.min.css +1 -1
- package/lib/vxe-table-custom-module/style/style.css +0 -25
- package/lib/vxe-table-edit-module/style/style.css +0 -25
- package/lib/vxe-table-export-module/style/style.css +0 -25
- package/lib/vxe-table-filter-module/style/style.css +0 -25
- package/lib/vxe-table-keyboard-module/style/style.css +0 -25
- package/lib/vxe-table-menu-module/style/style.css +0 -25
- package/lib/vxe-table-validator-module/style/style.css +0 -25
- package/lib/vxe-textarea/style/style.css +0 -25
- package/lib/vxe-toolbar/style/style.css +0 -25
- package/lib/vxe-tooltip/style/style.css +0 -25
- package/package.json +3 -3
- package/packages/modal/src/modal.ts +1 -1
- package/packages/table/src/table.ts +16 -6
- package/styles/all.scss +32 -32
- package/styles/base/common.scss +9 -6
- package/styles/button-group.scss +0 -2
- package/styles/button.scss +38 -36
- package/styles/checkbox-group.scss +0 -2
- package/styles/checkbox.scss +3 -4
- package/styles/colgroup.scss +0 -1
- package/styles/column.scss +0 -1
- package/styles/css-variable.scss +1 -3
- package/styles/cssvar.scss +3 -3
- package/styles/custom.scss +3 -4
- package/styles/default.scss +1 -1
- package/styles/drawer.scss +3 -4
- package/styles/edit.scss +0 -1
- package/styles/export.scss +2 -3
- package/styles/filter.scss +2 -3
- package/styles/footer.scss +0 -1
- package/styles/form-gather.scss +0 -1
- package/styles/form-item.scss +0 -1
- package/styles/form.scss +4 -3
- package/styles/grid.scss +0 -1
- package/styles/header.scss +0 -1
- package/styles/icon.scss +7 -5
- package/styles/index.scss +2 -2
- package/styles/input.scss +19 -19
- package/styles/keyboard.scss +0 -1
- package/styles/list.scss +0 -1
- package/styles/loading.scss +0 -2
- package/styles/menu.scss +0 -2
- package/styles/modal.scss +3 -4
- package/styles/modules.scss +32 -32
- package/styles/old-icon.scss +1 -2
- package/styles/optgroup.scss +0 -1
- package/styles/option.scss +0 -1
- package/styles/pager.scss +0 -3
- package/styles/pulldown.scss +0 -4
- package/styles/radio-button.scss +0 -1
- package/styles/radio-group.scss +0 -1
- package/styles/radio.scss +3 -4
- package/styles/select.scss +2 -3
- package/styles/switch.scss +0 -2
- package/styles/table.scss +6 -7
- package/styles/textarea.scss +0 -2
- package/styles/theme/dark.scss +1 -1
- package/styles/theme/default.scss +1 -1
- package/styles/toolbar.scss +0 -3
- package/styles/tooltip.scss +0 -2
- package/styles/v-x-e-table.scss +2 -3
- package/styles/validator.scss +0 -1
- package/styles/vxe-table.scss +0 -1
- package/types/table.d.ts +38 -54
- /package/es/icon/{style/iconfont.1727934888345.ttf → iconfont.1729922941127.ttf} +0 -0
- /package/es/icon/{style/iconfont.1727934888345.woff → iconfont.1729922941127.woff} +0 -0
- /package/es/icon/{style/iconfont.1727934888345.woff2 → iconfont.1729922941127.woff2} +0 -0
- /package/es/{iconfont.1727934888345.ttf → iconfont.1729922941127.ttf} +0 -0
- /package/es/{iconfont.1727934888345.woff → iconfont.1729922941127.woff} +0 -0
- /package/es/{iconfont.1727934888345.woff2 → iconfont.1729922941127.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1727934888345.ttf → iconfont.1729922941127.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1727934888345.woff → iconfont.1729922941127.woff} +0 -0
- /package/lib/icon/style/{iconfont.1727934888345.woff2 → iconfont.1729922941127.woff2} +0 -0
- /package/lib/{iconfont.1727934888345.ttf → iconfont.1729922941127.ttf} +0 -0
- /package/lib/{iconfont.1727934888345.woff → iconfont.1729922941127.woff} +0 -0
- /package/lib/{iconfont.1727934888345.woff2 → iconfont.1729922941127.woff2} +0 -0
- /package/styles/helpers/{mixin.scss → baseMixin.scss} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -2665,7 +2665,7 @@ updateVar();
|
|
|
2665
2665
|
;// CONCATENATED MODULE: ./packages/tools/log.ts
|
|
2666
2666
|
|
|
2667
2667
|
function getLog(message, params) {
|
|
2668
|
-
return `[vxe-table v${"4.6.
|
|
2668
|
+
return `[vxe-table v${"4.6.22"}] ${conf.i18n(message, params)}`;
|
|
2669
2669
|
}
|
|
2670
2670
|
function outLog(type) {
|
|
2671
2671
|
return function (message, params) {
|
|
@@ -5085,7 +5085,7 @@ function component(comp) {
|
|
|
5085
5085
|
components[comp.name] = comp;
|
|
5086
5086
|
}
|
|
5087
5087
|
}
|
|
5088
|
-
const version = "4.6.
|
|
5088
|
+
const version = "4.6.22";
|
|
5089
5089
|
const tableVersion = version;
|
|
5090
5090
|
const VXETable = {
|
|
5091
5091
|
v,
|
|
@@ -9083,7 +9083,7 @@ const msgQueue = [];
|
|
|
9083
9083
|
}
|
|
9084
9084
|
});
|
|
9085
9085
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
9086
|
-
if (
|
|
9086
|
+
if (true) {
|
|
9087
9087
|
if (props.type === 'modal' && props.showFooter && !(props.showConfirmButton || props.showCancelButton || slots.footer)) {
|
|
9088
9088
|
warnLog('vxe.modal.footPropErr');
|
|
9089
9089
|
}
|
|
@@ -21542,6 +21542,10 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
|
|
|
21542
21542
|
fullDataRowIdData: {},
|
|
21543
21543
|
fullColumnIdData: {},
|
|
21544
21544
|
fullColumnFieldData: {},
|
|
21545
|
+
// 列选取状态
|
|
21546
|
+
columnStatusMaps: {},
|
|
21547
|
+
// 行选取状态
|
|
21548
|
+
rowStatusMaps: {},
|
|
21545
21549
|
inited: false,
|
|
21546
21550
|
tooltipTimeout: null,
|
|
21547
21551
|
initStatus: false,
|
|
@@ -27217,8 +27221,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
|
|
|
27217
27221
|
treeConfig
|
|
27218
27222
|
} = props;
|
|
27219
27223
|
const treeOpts = computeTreeOpts.value;
|
|
27220
|
-
|
|
27221
|
-
fullDataRowIdData,
|
|
27224
|
+
const {
|
|
27222
27225
|
fullAllDataRowIdData,
|
|
27223
27226
|
tableFullData,
|
|
27224
27227
|
tableFullTreeData
|
|
@@ -27227,6 +27230,8 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
|
|
|
27227
27230
|
const hasChildField = treeOpts.hasChild || treeOpts.hasChildField;
|
|
27228
27231
|
const rowkey = getRowkey($xetable);
|
|
27229
27232
|
const isLazy = treeConfig && treeOpts.lazy;
|
|
27233
|
+
const fullAllDataRowIdMaps = {};
|
|
27234
|
+
const fullDataRowIdMaps = {};
|
|
27230
27235
|
const handleRow = (row, index, items, path, parent, nodes) => {
|
|
27231
27236
|
let rowid = getRowid($xetable, row);
|
|
27232
27237
|
const seq = treeConfig && path ? toTreePathSeq(path) : index + 1;
|
|
@@ -27238,26 +27243,30 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
|
|
|
27238
27243
|
if (isLazy && row[hasChildField] && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isUndefined(row[childrenField])) {
|
|
27239
27244
|
row[childrenField] = null;
|
|
27240
27245
|
}
|
|
27241
|
-
|
|
27242
|
-
|
|
27243
|
-
|
|
27244
|
-
|
|
27245
|
-
|
|
27246
|
-
|
|
27247
|
-
|
|
27248
|
-
|
|
27249
|
-
|
|
27250
|
-
|
|
27251
|
-
|
|
27246
|
+
let cacheItem = fullAllDataRowIdData[rowid];
|
|
27247
|
+
if (!cacheItem) {
|
|
27248
|
+
cacheItem = {
|
|
27249
|
+
row,
|
|
27250
|
+
rowid,
|
|
27251
|
+
seq,
|
|
27252
|
+
index: -1,
|
|
27253
|
+
_index: -1,
|
|
27254
|
+
$index: -1,
|
|
27255
|
+
items,
|
|
27256
|
+
parent,
|
|
27257
|
+
level
|
|
27258
|
+
};
|
|
27259
|
+
}
|
|
27252
27260
|
if (isSource) {
|
|
27253
|
-
|
|
27261
|
+
cacheItem.index = treeConfig && parent ? -1 : index;
|
|
27262
|
+
fullDataRowIdMaps[rowid] = cacheItem;
|
|
27254
27263
|
}
|
|
27255
|
-
|
|
27264
|
+
fullAllDataRowIdMaps[rowid] = cacheItem;
|
|
27256
27265
|
};
|
|
27257
27266
|
if (isSource) {
|
|
27258
|
-
|
|
27267
|
+
internalData.fullDataRowIdData = fullDataRowIdMaps;
|
|
27259
27268
|
}
|
|
27260
|
-
|
|
27269
|
+
internalData.fullAllDataRowIdData = fullAllDataRowIdMaps;
|
|
27261
27270
|
if (treeConfig) {
|
|
27262
27271
|
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(tableFullTreeData, handleRow, {
|
|
27263
27272
|
children: childrenField
|
|
@@ -36546,6 +36555,11 @@ function install(app, options) {
|
|
|
36546
36555
|
;// CONCATENATED MODULE: ./index.ts
|
|
36547
36556
|
|
|
36548
36557
|
|
|
36558
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
36559
|
+
if (!window.VxeUITable) {
|
|
36560
|
+
window.VxeUITable = all_namespaceObject;
|
|
36561
|
+
}
|
|
36562
|
+
}
|
|
36549
36563
|
|
|
36550
36564
|
/* harmony default export */ var index = (all_namespaceObject);
|
|
36551
36565
|
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|