vxe-table 4.23.12 → 4.23.14
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/dist/all.esm.js +4789 -4773
- package/dist/all.esm.min.js +3 -3
- package/es/colgroup/index.d.ts +18 -18
- package/es/column/index.d.ts +18 -18
- package/es/grid/index.d.ts +126 -126
- package/es/grid/src/emits.d.ts +1 -1
- package/es/grid/src/emits.js +3 -3
- package/es/grid/src/grid.d.ts +20 -20
- package/es/grid/src/grid.js +10 -10
- package/es/grid/src/props.d.ts +2 -2
- package/es/grid/src/props.js +4 -4
- package/es/index.esm.js +1 -0
- package/es/index.js +1 -0
- package/es/table/index.d.ts +118 -118
- package/es/table/module/custom/panel.js +1588 -1585
- package/es/table/module/export/export-panel.js +587 -584
- package/es/table/module/export/import-panel.js +258 -255
- package/es/table/module/filter/hook.js +1 -15
- package/es/table/module/filter/panel.js +281 -278
- package/es/table/module/menu/panel.js +225 -222
- package/es/table/src/body.js +895 -892
- package/es/table/src/column.d.ts +3 -3
- package/es/table/src/emits.d.ts +1 -1
- package/es/table/src/emits.js +2 -2
- package/es/table/src/footer.js +341 -338
- package/es/table/src/group.d.ts +3 -3
- package/es/table/src/header.js +539 -536
- package/es/table/src/props.d.ts +2 -2
- package/es/table/src/props.js +2 -2
- package/es/table/src/table.d.ts +19 -19
- package/es/table/src/table.js +15 -10
- package/es/table/src/util.d.ts +1 -1
- package/es/toolbar/index.d.ts +18 -18
- package/es/toolbar/src/toolbar.d.ts +3 -3
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/ui/src/vn.d.ts +1 -1
- package/lib/colgroup/index.d.ts +760 -0
- package/lib/column/index.d.ts +760 -0
- package/lib/components.d.ts +13 -0
- package/lib/grid/index.d.ts +2824 -0
- package/lib/grid/src/emits.d.ts +2 -0
- package/lib/grid/src/emits.js +2 -2
- package/lib/grid/src/grid.d.ts +556 -0
- package/lib/grid/src/grid.js +6 -6
- package/lib/grid/src/props.d.ts +200 -0
- package/lib/grid/src/props.js +3 -3
- package/lib/index.common.js +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +1 -0
- package/lib/index.umd.js +4789 -4773
- package/lib/index.umd.min.js +3 -3
- package/lib/locale/ar-EG.umd.d.ts +908 -0
- package/lib/locale/de-DE.umd.d.ts +908 -0
- package/lib/locale/en-US.umd.d.ts +908 -0
- package/lib/locale/es-ES.umd.d.ts +908 -0
- package/lib/locale/fr-FR.umd.d.ts +908 -0
- package/lib/locale/hu-HU.umd.d.ts +908 -0
- package/lib/locale/hy-AM.umd.d.ts +908 -0
- package/lib/locale/id-ID.umd.d.ts +908 -0
- package/lib/locale/it-IT.umd.d.ts +908 -0
- package/lib/locale/ja-JP.umd.d.ts +908 -0
- package/lib/locale/ko-KR.umd.d.ts +908 -0
- package/lib/locale/lang/ar-EG.d.ts +908 -0
- package/lib/locale/lang/ar-EG.umd.d.ts +908 -0
- package/lib/locale/lang/de-DE.d.ts +908 -0
- package/lib/locale/lang/de-DE.umd.d.ts +908 -0
- package/lib/locale/lang/en-US.d.ts +908 -0
- package/lib/locale/lang/en-US.umd.d.ts +908 -0
- package/lib/locale/lang/es-ES.d.ts +908 -0
- package/lib/locale/lang/es-ES.umd.d.ts +908 -0
- package/lib/locale/lang/fr-FR.d.ts +908 -0
- package/lib/locale/lang/fr-FR.umd.d.ts +908 -0
- package/lib/locale/lang/hu-HU.d.ts +908 -0
- package/lib/locale/lang/hu-HU.umd.d.ts +908 -0
- package/lib/locale/lang/hy-AM.d.ts +908 -0
- package/lib/locale/lang/hy-AM.umd.d.ts +908 -0
- package/lib/locale/lang/id-ID.d.ts +908 -0
- package/lib/locale/lang/id-ID.umd.d.ts +908 -0
- package/lib/locale/lang/it-IT.d.ts +908 -0
- package/lib/locale/lang/it-IT.umd.d.ts +908 -0
- package/lib/locale/lang/ja-JP.d.ts +908 -0
- package/lib/locale/lang/ja-JP.umd.d.ts +908 -0
- package/lib/locale/lang/ko-KR.d.ts +908 -0
- package/lib/locale/lang/ko-KR.umd.d.ts +908 -0
- package/lib/locale/lang/ms-MY.d.ts +908 -0
- package/lib/locale/lang/ms-MY.umd.d.ts +908 -0
- package/lib/locale/lang/nb-NO.d.ts +908 -0
- package/lib/locale/lang/nb-NO.umd.d.ts +908 -0
- package/lib/locale/lang/pt-BR.d.ts +908 -0
- package/lib/locale/lang/pt-BR.umd.d.ts +908 -0
- package/lib/locale/lang/ru-RU.d.ts +908 -0
- package/lib/locale/lang/ru-RU.umd.d.ts +908 -0
- package/lib/locale/lang/th-TH.d.ts +908 -0
- package/lib/locale/lang/th-TH.umd.d.ts +908 -0
- package/lib/locale/lang/ug-CN.d.ts +908 -0
- package/lib/locale/lang/ug-CN.umd.d.ts +908 -0
- package/lib/locale/lang/uk-UA.d.ts +908 -0
- package/lib/locale/lang/uk-UA.umd.d.ts +908 -0
- package/lib/locale/lang/uz-UZ.d.ts +908 -0
- package/lib/locale/lang/uz-UZ.umd.d.ts +908 -0
- package/lib/locale/lang/vi-VN.d.ts +908 -0
- package/lib/locale/lang/vi-VN.umd.d.ts +908 -0
- package/lib/locale/lang/zh-CHT.d.ts +908 -0
- package/lib/locale/lang/zh-CHT.umd.d.ts +908 -0
- package/lib/locale/lang/zh-CN.d.ts +908 -0
- package/lib/locale/lang/zh-CN.umd.d.ts +908 -0
- package/lib/locale/lang/zh-HK.d.ts +908 -0
- package/lib/locale/lang/zh-HK.umd.d.ts +908 -0
- package/lib/locale/lang/zh-MO.d.ts +908 -0
- package/lib/locale/lang/zh-MO.umd.d.ts +908 -0
- package/lib/locale/lang/zh-TC.d.ts +908 -0
- package/lib/locale/lang/zh-TC.umd.d.ts +908 -0
- package/lib/locale/lang/zh-TW.d.ts +908 -0
- package/lib/locale/lang/zh-TW.umd.d.ts +908 -0
- package/lib/locale/ms-MY.umd.d.ts +908 -0
- package/lib/locale/nb-NO.umd.d.ts +908 -0
- package/lib/locale/pt-BR.umd.d.ts +908 -0
- package/lib/locale/ru-RU.umd.d.ts +908 -0
- package/lib/locale/th-TH.umd.d.ts +908 -0
- package/lib/locale/ug-CN.umd.d.ts +908 -0
- package/lib/locale/uk-UA.umd.d.ts +908 -0
- package/lib/locale/uz-UZ.umd.d.ts +908 -0
- package/lib/locale/vi-VN.umd.d.ts +908 -0
- package/lib/locale/zh-CHT.umd.d.ts +908 -0
- package/lib/locale/zh-CN.umd.d.ts +908 -0
- package/lib/locale/zh-HK.umd.d.ts +908 -0
- package/lib/locale/zh-MO.umd.d.ts +908 -0
- package/lib/locale/zh-TC.umd.d.ts +908 -0
- package/lib/locale/zh-TW.umd.d.ts +908 -0
- package/lib/table/index.d.ts +2672 -0
- package/lib/table/module/custom/hook.d.ts +1 -0
- package/lib/table/module/custom/panel.d.ts +17 -0
- package/lib/table/module/custom/panel.js +1588 -1585
- package/lib/table/module/edit/hook.d.ts +1 -0
- package/lib/table/module/export/export-panel.d.ts +27 -0
- package/lib/table/module/export/export-panel.js +587 -584
- package/lib/table/module/export/hook.d.ts +1 -0
- package/lib/table/module/export/import-panel.d.ts +27 -0
- package/lib/table/module/export/import-panel.js +258 -255
- package/lib/table/module/export/util.d.ts +5 -0
- package/lib/table/module/filter/hook.d.ts +1 -0
- package/lib/table/module/filter/hook.js +1 -15
- package/lib/table/module/filter/panel.d.ts +16 -0
- package/lib/table/module/filter/panel.js +281 -278
- package/lib/table/module/keyboard/hook.d.ts +1 -0
- package/lib/table/module/menu/hook.d.ts +1 -0
- package/lib/table/module/menu/panel.d.ts +2 -0
- package/lib/table/module/menu/panel.js +225 -222
- package/lib/table/module/validator/hook.d.ts +1 -0
- package/lib/table/render/index.d.ts +1 -0
- package/lib/table/src/body.d.ts +24 -0
- package/lib/table/src/body.js +895 -892
- package/lib/table/src/cell.d.ts +192 -0
- package/lib/table/src/column.d.ts +263 -0
- package/lib/table/src/columnInfo.d.ts +13 -0
- package/lib/table/src/emits.d.ts +2 -0
- package/lib/table/src/emits.js +2 -2
- package/lib/table/src/footer.d.ts +45 -0
- package/lib/table/src/footer.js +341 -338
- package/lib/table/src/group.d.ts +178 -0
- package/lib/table/src/header.d.ts +26 -0
- package/lib/table/src/header.js +539 -536
- package/lib/table/src/props.d.ts +238 -0
- package/lib/table/src/props.js +2 -2
- package/lib/table/src/store.d.ts +6 -0
- package/lib/table/src/table.d.ts +539 -0
- package/lib/table/src/table.js +13 -8
- package/lib/table/src/use/cell-view.d.ts +10 -0
- package/lib/table/src/use/index.d.ts +1 -0
- package/lib/table/src/util.d.ts +74 -0
- package/lib/toolbar/index.d.ts +340 -0
- package/lib/toolbar/src/toolbar.d.ts +75 -0
- package/lib/ui/index.d.ts +85 -0
- package/lib/ui/index.js +1 -1
- package/lib/ui/src/anime.d.ts +10 -0
- package/lib/ui/src/comp.d.ts +2 -0
- package/lib/ui/src/dom.d.ts +80 -0
- package/lib/ui/src/log.d.ts +6 -0
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/utils.d.ts +23 -0
- package/lib/ui/src/vn.d.ts +7 -0
- package/lib/v-x-e-table/index.d.ts +2 -0
- package/lib/vxe-colgroup/index.d.ts +3 -0
- package/lib/vxe-column/index.d.ts +3 -0
- package/lib/vxe-grid/index.d.ts +3 -0
- package/lib/vxe-table/index.d.ts +3 -0
- package/lib/vxe-toolbar/index.d.ts +3 -0
- package/lib/vxe-ui/index.d.ts +3 -0
- package/package.json +7 -7
- package/packages/grid/src/emits.ts +2 -2
- package/packages/grid/src/grid.ts +8 -8
- package/packages/grid/src/props.ts +3 -3
- package/packages/index.ts +2 -2
- package/packages/table/module/custom/panel.ts +2 -2
- package/packages/table/module/export/export-panel.ts +2 -2
- package/packages/table/module/export/import-panel.ts +2 -2
- package/packages/table/module/filter/hook.ts +1 -15
- package/packages/table/module/filter/panel.ts +2 -2
- package/packages/table/module/menu/panel.ts +2 -2
- package/packages/table/src/body.ts +2 -2
- package/packages/table/src/emits.ts +1 -1
- package/packages/table/src/footer.ts +2 -2
- package/packages/table/src/header.ts +2 -2
- package/packages/table/src/props.ts +1 -1
- package/packages/table/src/table.ts +21 -33
- /package/dist/{iconfont.1793090564415.ttf → iconfont.1793683456086.ttf} +0 -0
- /package/dist/{iconfont.1793090564415.woff → iconfont.1793683456086.woff} +0 -0
- /package/dist/{iconfont.1793090564415.woff2 → iconfont.1793683456086.woff2} +0 -0
- /package/es/{iconfont.1793090564415.ttf → iconfont.1793683456086.ttf} +0 -0
- /package/es/{iconfont.1793090564415.woff → iconfont.1793683456086.woff} +0 -0
- /package/es/{iconfont.1793090564415.woff2 → iconfont.1793683456086.woff2} +0 -0
- /package/lib/{iconfont.1793090564415.ttf → iconfont.1793683456086.ttf} +0 -0
- /package/lib/{iconfont.1793090564415.woff → iconfont.1793683456086.woff} +0 -0
- /package/lib/{iconfont.1793090564415.woff2 → iconfont.1793683456086.woff2} +0 -0
package/es/table/src/footer.js
CHANGED
|
@@ -8,383 +8,386 @@ import { getDefaultConfig } from "../../ui/src/utils";
|
|
|
8
8
|
const { renderer, renderEmptyElement } = VxeUI;
|
|
9
9
|
const sourceType = "table";
|
|
10
10
|
const renderType = "footer";
|
|
11
|
-
var footer_default =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
11
|
+
var footer_default = (
|
|
12
|
+
/* define-vxe-component start */
|
|
13
|
+
defineVxeComponent({
|
|
14
|
+
name: "VxeTableFooter",
|
|
15
|
+
props: {
|
|
16
|
+
footerTableData: {
|
|
17
|
+
type: Array,
|
|
18
|
+
default: () => []
|
|
19
|
+
},
|
|
20
|
+
tableColumn: {
|
|
21
|
+
type: Array,
|
|
22
|
+
default: () => []
|
|
23
|
+
},
|
|
24
|
+
fixedColumn: {
|
|
25
|
+
type: Array,
|
|
26
|
+
default: () => []
|
|
27
|
+
},
|
|
28
|
+
fixedType: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: null
|
|
31
|
+
}
|
|
25
32
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
items: row,
|
|
98
|
-
fixed: fixedType,
|
|
99
|
-
source: sourceType,
|
|
100
|
-
type: renderType,
|
|
101
|
-
data: footerTableData
|
|
102
|
-
};
|
|
103
|
-
if (showTitle || showTooltip || showAllTip) {
|
|
104
|
-
tfOns.onMouseenter = (evnt) => {
|
|
105
|
-
if (showTitle) {
|
|
106
|
-
updateCellTitle(evnt.currentTarget, column);
|
|
107
|
-
} else if (showTooltip || showAllTip) {
|
|
108
|
-
$xeTable.triggerFooterTooltipEvent(evnt, cellParams);
|
|
109
|
-
}
|
|
33
|
+
setup(props) {
|
|
34
|
+
const $xeTable = inject("$xeTable", {});
|
|
35
|
+
const { xID, props: tableProps, reactData: tableReactData, internalData: tableInternalData } = $xeTable;
|
|
36
|
+
const { computeFooterTooltipOpts, computeColumnOpts, computeCellOpts, computeFooterCellOpts, computeDefaultRowHeight, computeResizableOpts, computeVirtualXOpts, computeIsFooterRenderOptimize, computeRendererOpts } = $xeTable.getComputeMaps();
|
|
37
|
+
const refElem = ref();
|
|
38
|
+
const refFooterScroll = ref();
|
|
39
|
+
const refFooterTable = ref();
|
|
40
|
+
const refFooterColgroup = ref();
|
|
41
|
+
const refFooterTFoot = ref();
|
|
42
|
+
const refFooterXSpace = ref();
|
|
43
|
+
const renderRows = (isOptimizeMode, tableColumn, footerTableData, row, $rowIndex, _rowIndex) => {
|
|
44
|
+
const $xeGrid = $xeTable.xeGrid;
|
|
45
|
+
const $xeGantt = $xeTable.xeGantt;
|
|
46
|
+
const { fixedType } = props;
|
|
47
|
+
const { resizable: allResizable, border, footerCellClassName, footerCellStyle, footerAlign: allFooterAlign, footerSpanMethod, align: allAlign, columnKey, showFooterOverflow: allColumnFooterOverflow } = tableProps;
|
|
48
|
+
const { scrollXLoad, scrollYLoad, overflowX, mergeFootFlag, currColFlag } = tableReactData;
|
|
49
|
+
const { fullColumnIdData, mergeFooterList, mergeFooterCellMaps, scrollXStore, currentCol } = tableInternalData;
|
|
50
|
+
const virtualXOpts = computeVirtualXOpts.value;
|
|
51
|
+
const footerTooltipOpts = computeFooterTooltipOpts.value;
|
|
52
|
+
const resizableOpts = computeResizableOpts.value;
|
|
53
|
+
const { isAllColumnDrag } = resizableOpts;
|
|
54
|
+
const columnOpts = computeColumnOpts.value;
|
|
55
|
+
const defaultRowHeight = computeDefaultRowHeight.value;
|
|
56
|
+
const cellOpts = computeCellOpts.value;
|
|
57
|
+
const footerCellOpts = computeFooterCellOpts.value;
|
|
58
|
+
const currCellHeight = getCalcHeight(footerCellOpts.height) || defaultRowHeight;
|
|
59
|
+
const rendererOpts = computeRendererOpts.value;
|
|
60
|
+
return tableColumn.map((column, $columnIndex) => {
|
|
61
|
+
const { type, showFooterOverflow, footerAlign, align, footerClassName, editRender, cellRender } = column;
|
|
62
|
+
const colid = column.id;
|
|
63
|
+
const colRest = fullColumnIdData[colid] || {};
|
|
64
|
+
const renderOpts = editRender || cellRender;
|
|
65
|
+
const compConf = renderOpts && renderOpts.name ? rendererOpts[renderOpts.name] || renderer.get(renderOpts.name) : null;
|
|
66
|
+
const showAllTip = footerTooltipOpts.showAll;
|
|
67
|
+
const fixedHiddenColumn = overflowX && (fixedType ? column.fixed !== fixedType : !!column.fixed);
|
|
68
|
+
const cellPadding = getDefaultConfig(footerCellOpts.padding, cellOpts.padding);
|
|
69
|
+
const isAllCellPadding = cellPadding === true;
|
|
70
|
+
const isCellPaddingTop = cellPadding ? isAllCellPadding || cellPadding.top !== false : false;
|
|
71
|
+
const isCellPaddingBottom = cellPadding ? isAllCellPadding || cellPadding.bottom !== false : false;
|
|
72
|
+
const isCellPaddingLeft = cellPadding ? isAllCellPadding || cellPadding.left !== false : false;
|
|
73
|
+
const isCellPaddingRight = cellPadding ? isAllCellPadding || cellPadding.right !== false : false;
|
|
74
|
+
const footOverflow = getDefaultConfig(showFooterOverflow, allColumnFooterOverflow);
|
|
75
|
+
const footAlign = footerAlign || (compConf ? compConf.tableFooterCellAlign : "") || allFooterAlign || align || (compConf ? compConf.tableCellAlign : "") || allAlign;
|
|
76
|
+
const showEllipsis = (footOverflow === true ? footerTooltipOpts.mode : footOverflow) === "ellipsis";
|
|
77
|
+
const showTitle = (footOverflow === true ? footerTooltipOpts.mode : footOverflow) === "title";
|
|
78
|
+
const showTooltip = (footOverflow === true ? footerTooltipOpts.mode : footOverflow) === "tooltip";
|
|
79
|
+
const hasEllipsis = showTitle || showTooltip || showEllipsis;
|
|
80
|
+
const showResizable = XEUtils.isBoolean(column.resizable) ? column.resizable : columnOpts.resizable || allResizable;
|
|
81
|
+
const attrs = { colid };
|
|
82
|
+
const tfOns = {};
|
|
83
|
+
const columnIndex = colRest.index;
|
|
84
|
+
const _columnIndex = colRest._index;
|
|
85
|
+
const itemIndex = _columnIndex;
|
|
86
|
+
const cellParams = {
|
|
87
|
+
$table: $xeTable,
|
|
88
|
+
$grid: $xeGrid,
|
|
89
|
+
$gantt: $xeGantt,
|
|
90
|
+
row,
|
|
91
|
+
rowIndex: _rowIndex,
|
|
92
|
+
_rowIndex,
|
|
93
|
+
$rowIndex,
|
|
94
|
+
column,
|
|
95
|
+
columnIndex,
|
|
96
|
+
$columnIndex,
|
|
97
|
+
_columnIndex,
|
|
98
|
+
itemIndex,
|
|
99
|
+
items: row,
|
|
100
|
+
fixed: fixedType,
|
|
101
|
+
source: sourceType,
|
|
102
|
+
type: renderType,
|
|
103
|
+
data: footerTableData
|
|
110
104
|
};
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
105
|
+
if (showTitle || showTooltip || showAllTip) {
|
|
106
|
+
tfOns.onMouseenter = (evnt) => {
|
|
107
|
+
if (showTitle) {
|
|
108
|
+
updateCellTitle(evnt.currentTarget, column);
|
|
109
|
+
} else if (showTooltip || showAllTip) {
|
|
110
|
+
$xeTable.triggerFooterTooltipEvent(evnt, cellParams);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
if (showTooltip || showAllTip) {
|
|
115
|
+
tfOns.onMouseleave = (evnt) => {
|
|
116
|
+
if (showTooltip || showAllTip) {
|
|
117
|
+
$xeTable.handleTargetLeaveEvent(evnt);
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
tfOns.onClick = (evnt) => {
|
|
122
|
+
$xeTable.triggerFooterCellClickEvent(evnt, cellParams);
|
|
117
123
|
};
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
124
|
+
tfOns.onDblclick = (evnt) => {
|
|
125
|
+
$xeTable.triggerFooterCellDblclickEvent(evnt, cellParams);
|
|
126
|
+
};
|
|
127
|
+
let isMergeCell = false;
|
|
128
|
+
if (mergeFootFlag && mergeFooterList.length) {
|
|
129
|
+
const spanRest = mergeFooterCellMaps[`${_rowIndex}:${_columnIndex}`];
|
|
130
|
+
if (spanRest) {
|
|
131
|
+
const { rowspan, colspan } = spanRest;
|
|
132
|
+
if (!rowspan || !colspan) {
|
|
133
|
+
return null;
|
|
134
|
+
}
|
|
135
|
+
if (rowspan > 1) {
|
|
136
|
+
isMergeCell = true;
|
|
137
|
+
attrs.rowspan = rowspan;
|
|
138
|
+
}
|
|
139
|
+
if (colspan > 1) {
|
|
140
|
+
isMergeCell = true;
|
|
141
|
+
attrs.colspan = colspan;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
} else if (footerSpanMethod) {
|
|
145
|
+
const { rowspan = 1, colspan = 1 } = footerSpanMethod(cellParams) || {};
|
|
130
146
|
if (!rowspan || !colspan) {
|
|
131
147
|
return null;
|
|
132
148
|
}
|
|
133
149
|
if (rowspan > 1) {
|
|
134
|
-
isMergeCell = true;
|
|
135
150
|
attrs.rowspan = rowspan;
|
|
136
151
|
}
|
|
137
152
|
if (colspan > 1) {
|
|
138
|
-
isMergeCell = true;
|
|
139
153
|
attrs.colspan = colspan;
|
|
140
154
|
}
|
|
141
155
|
}
|
|
142
|
-
|
|
143
|
-
const
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
156
|
+
const isLastColumn = $columnIndex === tableColumn.length - 1;
|
|
157
|
+
const isAutoCellWidth = !column.resizeWidth && (column.minWidth === "auto" || column.width === "auto");
|
|
158
|
+
let isVNPreEmptyStatus = false;
|
|
159
|
+
if (isOptimizeMode && overflowX && !isMergeCell) {
|
|
160
|
+
if (scrollXLoad && tableColumn.length > 10 && !column.fixed && !virtualXOpts.immediate && (_columnIndex < scrollXStore.visibleStartIndex - scrollXStore.preloadSize || _columnIndex > scrollXStore.visibleEndIndex + scrollXStore.preloadSize)) {
|
|
161
|
+
isVNPreEmptyStatus = true;
|
|
162
|
+
}
|
|
149
163
|
}
|
|
150
|
-
|
|
151
|
-
|
|
164
|
+
const tcStyle = {};
|
|
165
|
+
if (hasEllipsis) {
|
|
166
|
+
tcStyle.height = `${currCellHeight}px`;
|
|
167
|
+
} else {
|
|
168
|
+
tcStyle.minHeight = `${currCellHeight}px`;
|
|
152
169
|
}
|
|
170
|
+
return h(
|
|
171
|
+
"td",
|
|
172
|
+
{
|
|
173
|
+
class: [
|
|
174
|
+
"vxe-table--column vxe-footer--column",
|
|
175
|
+
column.id,
|
|
176
|
+
{
|
|
177
|
+
[`col--${footAlign}`]: footAlign,
|
|
178
|
+
[`col--${type}`]: type,
|
|
179
|
+
"col--last": isLastColumn,
|
|
180
|
+
"fixed--width": !isAutoCellWidth,
|
|
181
|
+
"fixed--hidden": fixedHiddenColumn,
|
|
182
|
+
"is--pg-top": isCellPaddingTop,
|
|
183
|
+
"is--pg-bottom": isCellPaddingBottom,
|
|
184
|
+
"is--pg-left": isCellPaddingLeft,
|
|
185
|
+
"is--pg-right": isCellPaddingRight,
|
|
186
|
+
"col--ellipsis": hasEllipsis,
|
|
187
|
+
"col--current": currColFlag && currentCol === column
|
|
188
|
+
},
|
|
189
|
+
getPropClass(footerClassName, cellParams),
|
|
190
|
+
getPropClass(footerCellClassName, cellParams)
|
|
191
|
+
],
|
|
192
|
+
...attrs,
|
|
193
|
+
style: footerCellStyle ? XEUtils.isFunction(footerCellStyle) ? footerCellStyle(cellParams) : footerCellStyle : null,
|
|
194
|
+
...tfOns,
|
|
195
|
+
key: columnKey || scrollXLoad || scrollYLoad || columnOpts.useKey || columnOpts.drag ? column.id : $columnIndex
|
|
196
|
+
},
|
|
197
|
+
[
|
|
198
|
+
h(
|
|
199
|
+
"div",
|
|
200
|
+
{
|
|
201
|
+
class: [
|
|
202
|
+
"vxe-cell",
|
|
203
|
+
{
|
|
204
|
+
"c--title": showTitle,
|
|
205
|
+
"c--tooltip": showTooltip,
|
|
206
|
+
"c--ellipsis": showEllipsis
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
style: tcStyle
|
|
210
|
+
},
|
|
211
|
+
isVNPreEmptyStatus ? [] : [
|
|
212
|
+
h(
|
|
213
|
+
"div",
|
|
214
|
+
{
|
|
215
|
+
colid,
|
|
216
|
+
class: "vxe-cell--wrapper vxe-footer-cell--wrapper"
|
|
217
|
+
},
|
|
218
|
+
column.renderFooter(cellParams)
|
|
219
|
+
)
|
|
220
|
+
]
|
|
221
|
+
),
|
|
222
|
+
/**
|
|
223
|
+
* 列宽拖动
|
|
224
|
+
*/
|
|
225
|
+
!fixedHiddenColumn && showResizable && isAllColumnDrag ? h("div", {
|
|
226
|
+
class: [
|
|
227
|
+
"vxe-cell--col-resizable",
|
|
228
|
+
{
|
|
229
|
+
"is--line": !border || border === "none"
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
onMousedown: (evnt) => $xeTable.handleColResizeMousedownEvent(evnt, fixedType, cellParams),
|
|
233
|
+
onDblclick: (evnt) => $xeTable.handleColResizeDblclickEvent(evnt, cellParams)
|
|
234
|
+
}) : renderEmptyElement($xeTable)
|
|
235
|
+
]
|
|
236
|
+
);
|
|
237
|
+
});
|
|
238
|
+
};
|
|
239
|
+
const renderHeads = (isOptimizeMode, renderColumnList) => {
|
|
240
|
+
const { fixedType, footerTableData } = props;
|
|
241
|
+
const { footerRowClassName, footerRowStyle } = tableProps;
|
|
242
|
+
return footerTableData.map((row, _rowIndex) => {
|
|
243
|
+
const $rowIndex = _rowIndex;
|
|
244
|
+
const rowParams = { $table: $xeTable, row, rowIndex: _rowIndex, _rowIndex, $rowIndex, fixed: fixedType, type: renderType };
|
|
245
|
+
return h(
|
|
246
|
+
"tr",
|
|
247
|
+
{
|
|
248
|
+
key: _rowIndex,
|
|
249
|
+
class: ["vxe-footer--row", footerRowClassName ? XEUtils.isFunction(footerRowClassName) ? footerRowClassName(rowParams) : footerRowClassName : ""],
|
|
250
|
+
style: footerRowStyle ? XEUtils.isFunction(footerRowStyle) ? footerRowStyle(rowParams) : footerRowStyle : null
|
|
251
|
+
},
|
|
252
|
+
renderRows(isOptimizeMode, renderColumnList, footerTableData, row, _rowIndex, _rowIndex)
|
|
253
|
+
);
|
|
254
|
+
});
|
|
255
|
+
};
|
|
256
|
+
const renderVN = () => {
|
|
257
|
+
const { fixedType, fixedColumn, tableColumn } = props;
|
|
258
|
+
const { visibleColumn, fullColumnIdData } = tableInternalData;
|
|
259
|
+
const { isGroup, isColLoading, overflowX, scrollXLoad, dragCol } = tableReactData;
|
|
260
|
+
const isFooterRenderOptimize = computeIsFooterRenderOptimize.value;
|
|
261
|
+
let renderColumnList = tableColumn;
|
|
262
|
+
const isOptimizeMode = isFooterRenderOptimize;
|
|
263
|
+
if (!isOptimizeMode || !isColLoading && (fixedType || !overflowX)) {
|
|
264
|
+
renderColumnList = visibleColumn;
|
|
153
265
|
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
if (isOptimizeMode && overflowX && !isMergeCell) {
|
|
158
|
-
if (scrollXLoad && tableColumn.length > 10 && !column.fixed && !virtualXOpts.immediate && (_columnIndex < scrollXStore.visibleStartIndex - scrollXStore.preloadSize || _columnIndex > scrollXStore.visibleEndIndex + scrollXStore.preloadSize)) {
|
|
159
|
-
isVNPreEmptyStatus = true;
|
|
266
|
+
if (fixedType) {
|
|
267
|
+
if (isOptimizeMode) {
|
|
268
|
+
renderColumnList = fixedColumn || [];
|
|
160
269
|
}
|
|
161
270
|
}
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
271
|
+
if (!fixedType && !isGroup) {
|
|
272
|
+
if (scrollXLoad && dragCol) {
|
|
273
|
+
if (renderColumnList.length > 2) {
|
|
274
|
+
const dCowRest = fullColumnIdData[dragCol.id];
|
|
275
|
+
if (dCowRest) {
|
|
276
|
+
const dcIndex = dCowRest._index;
|
|
277
|
+
const firstCol = renderColumnList[0];
|
|
278
|
+
const lastCol = renderColumnList[renderColumnList.length - 1];
|
|
279
|
+
const firstColRest = fullColumnIdData[firstCol.id];
|
|
280
|
+
const lastColRest = fullColumnIdData[lastCol.id];
|
|
281
|
+
if (firstColRest && lastColRest) {
|
|
282
|
+
const fcIndex = firstColRest._index;
|
|
283
|
+
const lcIndex = lastColRest._index;
|
|
284
|
+
if (dcIndex < fcIndex) {
|
|
285
|
+
renderColumnList = [dragCol].concat(renderColumnList);
|
|
286
|
+
} else if (dcIndex > lcIndex) {
|
|
287
|
+
renderColumnList = renderColumnList.concat([dragCol]);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
167
293
|
}
|
|
168
294
|
return h(
|
|
169
|
-
"
|
|
295
|
+
"div",
|
|
170
296
|
{
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
{
|
|
175
|
-
[`col--${footAlign}`]: footAlign,
|
|
176
|
-
[`col--${type}`]: type,
|
|
177
|
-
"col--last": isLastColumn,
|
|
178
|
-
"fixed--width": !isAutoCellWidth,
|
|
179
|
-
"fixed--hidden": fixedHiddenColumn,
|
|
180
|
-
"is--pg-top": isCellPaddingTop,
|
|
181
|
-
"is--pg-bottom": isCellPaddingBottom,
|
|
182
|
-
"is--pg-left": isCellPaddingLeft,
|
|
183
|
-
"is--pg-right": isCellPaddingRight,
|
|
184
|
-
"col--ellipsis": hasEllipsis,
|
|
185
|
-
"col--current": currColFlag && currentCol === column
|
|
186
|
-
},
|
|
187
|
-
getPropClass(footerClassName, cellParams),
|
|
188
|
-
getPropClass(footerCellClassName, cellParams)
|
|
189
|
-
],
|
|
190
|
-
...attrs,
|
|
191
|
-
style: footerCellStyle ? XEUtils.isFunction(footerCellStyle) ? footerCellStyle(cellParams) : footerCellStyle : null,
|
|
192
|
-
...tfOns,
|
|
193
|
-
key: columnKey || scrollXLoad || scrollYLoad || columnOpts.useKey || columnOpts.drag ? column.id : $columnIndex
|
|
297
|
+
ref: refElem,
|
|
298
|
+
class: ["vxe-table--footer-wrapper", fixedType ? `fixed-${fixedType}--wrapper` : "body--wrapper"],
|
|
299
|
+
xid: xID
|
|
194
300
|
},
|
|
195
301
|
[
|
|
196
302
|
h(
|
|
197
303
|
"div",
|
|
198
304
|
{
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
"c--ellipsis": showEllipsis
|
|
205
|
-
}
|
|
206
|
-
],
|
|
207
|
-
style: tcStyle
|
|
305
|
+
ref: refFooterScroll,
|
|
306
|
+
class: "vxe-table--footer-inner-wrapper",
|
|
307
|
+
onScroll(evnt) {
|
|
308
|
+
$xeTable.triggerFooterScrollEvent(evnt, fixedType);
|
|
309
|
+
}
|
|
208
310
|
},
|
|
209
|
-
|
|
311
|
+
[
|
|
312
|
+
fixedType ? renderEmptyElement($xeTable) : h("div", {
|
|
313
|
+
ref: refFooterXSpace,
|
|
314
|
+
class: "vxe-body--x-space"
|
|
315
|
+
}),
|
|
210
316
|
h(
|
|
211
|
-
"
|
|
317
|
+
"table",
|
|
212
318
|
{
|
|
213
|
-
|
|
214
|
-
class: "vxe-
|
|
319
|
+
ref: refFooterTable,
|
|
320
|
+
class: "vxe-table--footer",
|
|
321
|
+
xid: xID,
|
|
322
|
+
cellspacing: 0,
|
|
323
|
+
cellpadding: 0,
|
|
324
|
+
border: 0,
|
|
325
|
+
xvm: isOptimizeMode ? "1" : null
|
|
215
326
|
},
|
|
216
|
-
|
|
327
|
+
[
|
|
328
|
+
/**
|
|
329
|
+
* 列宽
|
|
330
|
+
*/
|
|
331
|
+
h(
|
|
332
|
+
"colgroup",
|
|
333
|
+
{
|
|
334
|
+
ref: refFooterColgroup
|
|
335
|
+
},
|
|
336
|
+
renderColumnList.map((column, $columnIndex) => {
|
|
337
|
+
return h("col", {
|
|
338
|
+
name: column.id,
|
|
339
|
+
key: $columnIndex,
|
|
340
|
+
style: {
|
|
341
|
+
width: `${column.renderWidth}px`
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
})
|
|
345
|
+
),
|
|
346
|
+
/**
|
|
347
|
+
* 底部
|
|
348
|
+
*/
|
|
349
|
+
h(
|
|
350
|
+
"tfoot",
|
|
351
|
+
{
|
|
352
|
+
ref: refFooterTFoot
|
|
353
|
+
},
|
|
354
|
+
renderHeads(isOptimizeMode, renderColumnList)
|
|
355
|
+
)
|
|
356
|
+
]
|
|
217
357
|
)
|
|
218
358
|
]
|
|
219
|
-
)
|
|
220
|
-
/**
|
|
221
|
-
* 列宽拖动
|
|
222
|
-
*/
|
|
223
|
-
!fixedHiddenColumn && showResizable && isAllColumnDrag ? h("div", {
|
|
224
|
-
class: [
|
|
225
|
-
"vxe-cell--col-resizable",
|
|
226
|
-
{
|
|
227
|
-
"is--line": !border || border === "none"
|
|
228
|
-
}
|
|
229
|
-
],
|
|
230
|
-
onMousedown: (evnt) => $xeTable.handleColResizeMousedownEvent(evnt, fixedType, cellParams),
|
|
231
|
-
onDblclick: (evnt) => $xeTable.handleColResizeDblclickEvent(evnt, cellParams)
|
|
232
|
-
}) : renderEmptyElement($xeTable)
|
|
359
|
+
)
|
|
233
360
|
]
|
|
234
361
|
);
|
|
362
|
+
};
|
|
363
|
+
onMounted(() => {
|
|
364
|
+
nextTick(() => {
|
|
365
|
+
const { fixedType } = props;
|
|
366
|
+
const { elemStore } = tableInternalData;
|
|
367
|
+
const prefix = `${fixedType || "main"}-footer-`;
|
|
368
|
+
elemStore[`${prefix}wrapper`] = refElem;
|
|
369
|
+
elemStore[`${prefix}scroll`] = refFooterScroll;
|
|
370
|
+
elemStore[`${prefix}table`] = refFooterTable;
|
|
371
|
+
elemStore[`${prefix}colgroup`] = refFooterColgroup;
|
|
372
|
+
elemStore[`${prefix}list`] = refFooterTFoot;
|
|
373
|
+
elemStore[`${prefix}xSpace`] = refFooterXSpace;
|
|
374
|
+
});
|
|
235
375
|
});
|
|
236
|
-
|
|
237
|
-
const renderHeads = (isOptimizeMode, renderColumnList) => {
|
|
238
|
-
const { fixedType, footerTableData } = props;
|
|
239
|
-
const { footerRowClassName, footerRowStyle } = tableProps;
|
|
240
|
-
return footerTableData.map((row, _rowIndex) => {
|
|
241
|
-
const $rowIndex = _rowIndex;
|
|
242
|
-
const rowParams = { $table: $xeTable, row, rowIndex: _rowIndex, _rowIndex, $rowIndex, fixed: fixedType, type: renderType };
|
|
243
|
-
return h(
|
|
244
|
-
"tr",
|
|
245
|
-
{
|
|
246
|
-
key: _rowIndex,
|
|
247
|
-
class: ["vxe-footer--row", footerRowClassName ? XEUtils.isFunction(footerRowClassName) ? footerRowClassName(rowParams) : footerRowClassName : ""],
|
|
248
|
-
style: footerRowStyle ? XEUtils.isFunction(footerRowStyle) ? footerRowStyle(rowParams) : footerRowStyle : null
|
|
249
|
-
},
|
|
250
|
-
renderRows(isOptimizeMode, renderColumnList, footerTableData, row, _rowIndex, _rowIndex)
|
|
251
|
-
);
|
|
252
|
-
});
|
|
253
|
-
};
|
|
254
|
-
const renderVN = () => {
|
|
255
|
-
const { fixedType, fixedColumn, tableColumn } = props;
|
|
256
|
-
const { visibleColumn, fullColumnIdData } = tableInternalData;
|
|
257
|
-
const { isGroup, isColLoading, overflowX, scrollXLoad, dragCol } = tableReactData;
|
|
258
|
-
const isFooterRenderOptimize = computeIsFooterRenderOptimize.value;
|
|
259
|
-
let renderColumnList = tableColumn;
|
|
260
|
-
const isOptimizeMode = isFooterRenderOptimize;
|
|
261
|
-
if (!isOptimizeMode || !isColLoading && (fixedType || !overflowX)) {
|
|
262
|
-
renderColumnList = visibleColumn;
|
|
263
|
-
}
|
|
264
|
-
if (fixedType) {
|
|
265
|
-
if (isOptimizeMode) {
|
|
266
|
-
renderColumnList = fixedColumn || [];
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
if (!fixedType && !isGroup) {
|
|
270
|
-
if (scrollXLoad && dragCol) {
|
|
271
|
-
if (renderColumnList.length > 2) {
|
|
272
|
-
const dCowRest = fullColumnIdData[dragCol.id];
|
|
273
|
-
if (dCowRest) {
|
|
274
|
-
const dcIndex = dCowRest._index;
|
|
275
|
-
const firstCol = renderColumnList[0];
|
|
276
|
-
const lastCol = renderColumnList[renderColumnList.length - 1];
|
|
277
|
-
const firstColRest = fullColumnIdData[firstCol.id];
|
|
278
|
-
const lastColRest = fullColumnIdData[lastCol.id];
|
|
279
|
-
if (firstColRest && lastColRest) {
|
|
280
|
-
const fcIndex = firstColRest._index;
|
|
281
|
-
const lcIndex = lastColRest._index;
|
|
282
|
-
if (dcIndex < fcIndex) {
|
|
283
|
-
renderColumnList = [dragCol].concat(renderColumnList);
|
|
284
|
-
} else if (dcIndex > lcIndex) {
|
|
285
|
-
renderColumnList = renderColumnList.concat([dragCol]);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
return h(
|
|
293
|
-
"div",
|
|
294
|
-
{
|
|
295
|
-
ref: refElem,
|
|
296
|
-
class: ["vxe-table--footer-wrapper", fixedType ? `fixed-${fixedType}--wrapper` : "body--wrapper"],
|
|
297
|
-
xid: xID
|
|
298
|
-
},
|
|
299
|
-
[
|
|
300
|
-
h(
|
|
301
|
-
"div",
|
|
302
|
-
{
|
|
303
|
-
ref: refFooterScroll,
|
|
304
|
-
class: "vxe-table--footer-inner-wrapper",
|
|
305
|
-
onScroll(evnt) {
|
|
306
|
-
$xeTable.triggerFooterScrollEvent(evnt, fixedType);
|
|
307
|
-
}
|
|
308
|
-
},
|
|
309
|
-
[
|
|
310
|
-
fixedType ? renderEmptyElement($xeTable) : h("div", {
|
|
311
|
-
ref: refFooterXSpace,
|
|
312
|
-
class: "vxe-body--x-space"
|
|
313
|
-
}),
|
|
314
|
-
h(
|
|
315
|
-
"table",
|
|
316
|
-
{
|
|
317
|
-
ref: refFooterTable,
|
|
318
|
-
class: "vxe-table--footer",
|
|
319
|
-
xid: xID,
|
|
320
|
-
cellspacing: 0,
|
|
321
|
-
cellpadding: 0,
|
|
322
|
-
border: 0,
|
|
323
|
-
xvm: isOptimizeMode ? "1" : null
|
|
324
|
-
},
|
|
325
|
-
[
|
|
326
|
-
/**
|
|
327
|
-
* 列宽
|
|
328
|
-
*/
|
|
329
|
-
h(
|
|
330
|
-
"colgroup",
|
|
331
|
-
{
|
|
332
|
-
ref: refFooterColgroup
|
|
333
|
-
},
|
|
334
|
-
renderColumnList.map((column, $columnIndex) => {
|
|
335
|
-
return h("col", {
|
|
336
|
-
name: column.id,
|
|
337
|
-
key: $columnIndex,
|
|
338
|
-
style: {
|
|
339
|
-
width: `${column.renderWidth}px`
|
|
340
|
-
}
|
|
341
|
-
});
|
|
342
|
-
})
|
|
343
|
-
),
|
|
344
|
-
/**
|
|
345
|
-
* 底部
|
|
346
|
-
*/
|
|
347
|
-
h(
|
|
348
|
-
"tfoot",
|
|
349
|
-
{
|
|
350
|
-
ref: refFooterTFoot
|
|
351
|
-
},
|
|
352
|
-
renderHeads(isOptimizeMode, renderColumnList)
|
|
353
|
-
)
|
|
354
|
-
]
|
|
355
|
-
)
|
|
356
|
-
]
|
|
357
|
-
)
|
|
358
|
-
]
|
|
359
|
-
);
|
|
360
|
-
};
|
|
361
|
-
onMounted(() => {
|
|
362
|
-
nextTick(() => {
|
|
376
|
+
onUnmounted(() => {
|
|
363
377
|
const { fixedType } = props;
|
|
364
378
|
const { elemStore } = tableInternalData;
|
|
365
379
|
const prefix = `${fixedType || "main"}-footer-`;
|
|
366
|
-
elemStore[`${prefix}wrapper`] =
|
|
367
|
-
elemStore[`${prefix}scroll`] =
|
|
368
|
-
elemStore[`${prefix}table`] =
|
|
369
|
-
elemStore[`${prefix}colgroup`] =
|
|
370
|
-
elemStore[`${prefix}list`] =
|
|
371
|
-
elemStore[`${prefix}xSpace`] =
|
|
380
|
+
elemStore[`${prefix}wrapper`] = null;
|
|
381
|
+
elemStore[`${prefix}scroll`] = null;
|
|
382
|
+
elemStore[`${prefix}table`] = null;
|
|
383
|
+
elemStore[`${prefix}colgroup`] = null;
|
|
384
|
+
elemStore[`${prefix}list`] = null;
|
|
385
|
+
elemStore[`${prefix}xSpace`] = null;
|
|
372
386
|
});
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
const prefix = `${fixedType || "main"}-footer-`;
|
|
378
|
-
elemStore[`${prefix}wrapper`] = null;
|
|
379
|
-
elemStore[`${prefix}scroll`] = null;
|
|
380
|
-
elemStore[`${prefix}table`] = null;
|
|
381
|
-
elemStore[`${prefix}colgroup`] = null;
|
|
382
|
-
elemStore[`${prefix}list`] = null;
|
|
383
|
-
elemStore[`${prefix}xSpace`] = null;
|
|
384
|
-
});
|
|
385
|
-
return renderVN;
|
|
386
|
-
}
|
|
387
|
-
});
|
|
387
|
+
return renderVN;
|
|
388
|
+
}
|
|
389
|
+
})
|
|
390
|
+
);
|
|
388
391
|
export {
|
|
389
392
|
footer_default as default
|
|
390
393
|
};
|