pro-design-vue 1.4.1 → 1.4.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/dist/index.full.js +191 -344
- package/dist/index.full.min.js +7 -7
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +7 -7
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +191 -344
- package/es/components/page/src/page.vue.d.ts +10 -10
- package/es/components/page/src/types.d.ts +4 -2
- package/es/components/table/src/components/InteralTable.vue.d.ts +0 -3
- package/es/components/table/src/components/Table.d.ts +0 -3
- package/es/components/table/src/components/interface.d.ts +0 -3
- package/es/index.d.ts +11 -13
- package/es/packages/components/page/src/page.vue2.mjs +179 -135
- package/es/packages/components/page/src/page.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/Form/Form.mjs.map +1 -1
- package/es/packages/components/table/src/components/InteralTable.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/InteralTable.vue2.mjs +1 -5
- package/es/packages/components/table/src/components/InteralTable.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/Table.mjs.map +1 -1
- package/es/packages/components/table/src/components/interface.mjs +0 -1
- package/es/packages/components/table/src/components/interface.mjs.map +1 -1
- package/es/packages/components/table/src/hooks/useCal.mjs +0 -6
- package/es/packages/components/table/src/hooks/useCal.mjs.map +1 -1
- package/es/packages/components/table/src/hooks/useCellProps.mjs +10 -76
- package/es/packages/components/table/src/hooks/useCellProps.mjs.map +1 -1
- package/es/packages/components/table/src/hooks/useData.mjs +0 -4
- package/es/packages/components/table/src/hooks/useData.mjs.map +1 -1
- package/es/packages/components/table/src/hooks/useHScrollSync.mjs +0 -4
- package/es/packages/components/table/src/hooks/useHScrollSync.mjs.map +1 -1
- package/es/packages/components/table/src/hooks/useVScrollSync.mjs +0 -4
- package/es/packages/components/table/src/hooks/useVScrollSync.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/page/src/page.vue.d.ts +10 -10
- package/lib/components/page/src/types.d.ts +4 -2
- package/lib/components/table/src/components/InteralTable.vue.d.ts +0 -3
- package/lib/components/table/src/components/Table.d.ts +0 -3
- package/lib/components/table/src/components/interface.d.ts +0 -3
- package/lib/index.d.ts +11 -13
- package/lib/packages/components/page/src/page.vue2.js +177 -133
- package/lib/packages/components/page/src/page.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/Form/Form.js.map +1 -1
- package/lib/packages/components/table/src/components/InteralTable.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/InteralTable.vue2.js +0 -4
- package/lib/packages/components/table/src/components/InteralTable.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/Table.js.map +1 -1
- package/lib/packages/components/table/src/components/interface.js +0 -1
- package/lib/packages/components/table/src/components/interface.js.map +1 -1
- package/lib/packages/components/table/src/hooks/useCal.js +0 -6
- package/lib/packages/components/table/src/hooks/useCal.js.map +1 -1
- package/lib/packages/components/table/src/hooks/useCellProps.js +10 -76
- package/lib/packages/components/table/src/hooks/useCellProps.js.map +1 -1
- package/lib/packages/components/table/src/hooks/useData.js +0 -4
- package/lib/packages/components/table/src/hooks/useData.js.map +1 -1
- package/lib/packages/components/table/src/hooks/useHScrollSync.js +0 -4
- package/lib/packages/components/table/src/hooks/useHScrollSync.js.map +1 -1
- package/lib/packages/components/table/src/hooks/useVScrollSync.js +0 -4
- package/lib/packages/components/table/src/hooks/useVScrollSync.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +1 -1
- package/es/components/table/src/hooks/usePerf.d.ts +0 -35
- package/es/packages/components/table/src/hooks/usePerf.mjs +0 -119
- package/es/packages/components/table/src/hooks/usePerf.mjs.map +0 -1
- package/lib/components/table/src/hooks/usePerf.d.ts +0 -35
- package/lib/packages/components/table/src/hooks/usePerf.js +0 -123
- package/lib/packages/components/table/src/hooks/usePerf.js.map +0 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Pro Design Vue v1.4.
|
|
1
|
+
/*! Pro Design Vue v1.4.3 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ant-design-vue'), require('vue'), require('ant-design-vue/es/locale/zh_CN.js')) :
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
const DEFAULT_NAMESPACE = "pro";
|
|
33
33
|
const DEFAULT_LOCALE = "zh-CN";
|
|
34
34
|
|
|
35
|
-
const version$1 = "1.4.
|
|
35
|
+
const version$1 = "1.4.3";
|
|
36
36
|
|
|
37
37
|
const makeInstaller = (components = []) => {
|
|
38
38
|
const install = (app) => {
|
|
@@ -3551,7 +3551,7 @@
|
|
|
3551
3551
|
};
|
|
3552
3552
|
}
|
|
3553
3553
|
|
|
3554
|
-
function NOOP
|
|
3554
|
+
function NOOP() {
|
|
3555
3555
|
}
|
|
3556
3556
|
|
|
3557
3557
|
const withInstall = (main, extra) => {
|
|
@@ -3568,7 +3568,7 @@
|
|
|
3568
3568
|
return main;
|
|
3569
3569
|
};
|
|
3570
3570
|
const withNoopInstall = (component) => {
|
|
3571
|
-
component.install = NOOP
|
|
3571
|
+
component.install = NOOP;
|
|
3572
3572
|
return component;
|
|
3573
3573
|
};
|
|
3574
3574
|
|
|
@@ -24182,7 +24182,6 @@
|
|
|
24182
24182
|
showHeaderScrollbar: Boolean,
|
|
24183
24183
|
deepWatchDataSource: Boolean,
|
|
24184
24184
|
deepWatchColumns: Boolean,
|
|
24185
|
-
perf: Boolean,
|
|
24186
24185
|
prefixCls: String,
|
|
24187
24186
|
columnDrag: {
|
|
24188
24187
|
type: Boolean,
|
|
@@ -25691,121 +25690,6 @@
|
|
|
25691
25690
|
frame && cancelRequestAnimationFrame(frame.id);
|
|
25692
25691
|
};
|
|
25693
25692
|
|
|
25694
|
-
const PERF_KEY = Symbol("TablePerf");
|
|
25695
|
-
const MAX_ENTRIES = 200;
|
|
25696
|
-
const NOOP = () => {
|
|
25697
|
-
};
|
|
25698
|
-
const NOOP_CTX = {
|
|
25699
|
-
enabled: vue.shallowRef(false),
|
|
25700
|
-
metrics: vue.shallowRef({ entries: [], memory: null, scrollEventsPerSec: 0, fps: 0 }),
|
|
25701
|
-
markStart: NOOP,
|
|
25702
|
-
markEnd: NOOP,
|
|
25703
|
-
captureMemory: NOOP,
|
|
25704
|
-
recordScrollEvent: NOOP
|
|
25705
|
-
};
|
|
25706
|
-
let _activeCtx = NOOP_CTX;
|
|
25707
|
-
function createPerfContext(enabled) {
|
|
25708
|
-
const metrics = vue.shallowRef({
|
|
25709
|
-
entries: [],
|
|
25710
|
-
memory: null,
|
|
25711
|
-
scrollEventsPerSec: 0,
|
|
25712
|
-
fps: 0
|
|
25713
|
-
});
|
|
25714
|
-
let scrollCount = 0;
|
|
25715
|
-
let frameCount = 0;
|
|
25716
|
-
let lastFpsTime = 0;
|
|
25717
|
-
const pendingMarks = /* @__PURE__ */ new Map();
|
|
25718
|
-
const fpsLoop = (now) => {
|
|
25719
|
-
frameCount++;
|
|
25720
|
-
if (now - lastFpsTime >= 1e3) {
|
|
25721
|
-
const current = metrics.value;
|
|
25722
|
-
metrics.value = {
|
|
25723
|
-
...current,
|
|
25724
|
-
fps: frameCount,
|
|
25725
|
-
scrollEventsPerSec: scrollCount
|
|
25726
|
-
};
|
|
25727
|
-
frameCount = 0;
|
|
25728
|
-
scrollCount = 0;
|
|
25729
|
-
lastFpsTime = now;
|
|
25730
|
-
}
|
|
25731
|
-
if (enabled.value) {
|
|
25732
|
-
requestAnimationFrame(fpsLoop);
|
|
25733
|
-
}
|
|
25734
|
-
};
|
|
25735
|
-
const start = () => {
|
|
25736
|
-
lastFpsTime = performance.now();
|
|
25737
|
-
frameCount = 0;
|
|
25738
|
-
scrollCount = 0;
|
|
25739
|
-
requestAnimationFrame(fpsLoop);
|
|
25740
|
-
};
|
|
25741
|
-
const markStart = (label) => {
|
|
25742
|
-
if (!enabled.value) return;
|
|
25743
|
-
pendingMarks.set(label, performance.now());
|
|
25744
|
-
};
|
|
25745
|
-
const markEnd = (label) => {
|
|
25746
|
-
if (!enabled.value) return;
|
|
25747
|
-
const startTime = pendingMarks.get(label);
|
|
25748
|
-
if (startTime === void 0) return;
|
|
25749
|
-
pendingMarks.delete(label);
|
|
25750
|
-
const duration = performance.now() - startTime;
|
|
25751
|
-
const current = metrics.value;
|
|
25752
|
-
const entries = current.entries.length >= MAX_ENTRIES ? current.entries.slice(-MAX_ENTRIES + 1) : [...current.entries];
|
|
25753
|
-
entries.push({ label, duration, timestamp: Date.now() });
|
|
25754
|
-
metrics.value = { ...current, entries };
|
|
25755
|
-
};
|
|
25756
|
-
const captureMemory = (rows, cells) => {
|
|
25757
|
-
var _a, _b, _c;
|
|
25758
|
-
if (!enabled.value) return;
|
|
25759
|
-
const mem = performance.memory;
|
|
25760
|
-
const current = metrics.value;
|
|
25761
|
-
metrics.value = {
|
|
25762
|
-
...current,
|
|
25763
|
-
memory: {
|
|
25764
|
-
usedJSHeapSize: (_a = mem == null ? void 0 : mem.usedJSHeapSize) != null ? _a : 0,
|
|
25765
|
-
totalJSHeapSize: (_b = mem == null ? void 0 : mem.totalJSHeapSize) != null ? _b : 0,
|
|
25766
|
-
jsHeapSizeLimit: (_c = mem == null ? void 0 : mem.jsHeapSizeLimit) != null ? _c : 0,
|
|
25767
|
-
renderedRows: rows,
|
|
25768
|
-
renderedCells: cells,
|
|
25769
|
-
timestamp: Date.now()
|
|
25770
|
-
}
|
|
25771
|
-
};
|
|
25772
|
-
};
|
|
25773
|
-
const recordScrollEvent = () => {
|
|
25774
|
-
if (!enabled.value) return;
|
|
25775
|
-
scrollCount++;
|
|
25776
|
-
};
|
|
25777
|
-
if (enabled.value) start();
|
|
25778
|
-
const ctx = {
|
|
25779
|
-
enabled,
|
|
25780
|
-
metrics,
|
|
25781
|
-
markStart,
|
|
25782
|
-
markEnd,
|
|
25783
|
-
captureMemory,
|
|
25784
|
-
recordScrollEvent
|
|
25785
|
-
};
|
|
25786
|
-
_activeCtx = ctx;
|
|
25787
|
-
return ctx;
|
|
25788
|
-
}
|
|
25789
|
-
function providePerfContext(ctx) {
|
|
25790
|
-
vue.provide(PERF_KEY, ctx);
|
|
25791
|
-
}
|
|
25792
|
-
function usePerf() {
|
|
25793
|
-
const injected = vue.inject(PERF_KEY, null);
|
|
25794
|
-
if (injected) return injected;
|
|
25795
|
-
return {
|
|
25796
|
-
get enabled() {
|
|
25797
|
-
return _activeCtx.enabled;
|
|
25798
|
-
},
|
|
25799
|
-
get metrics() {
|
|
25800
|
-
return _activeCtx.metrics;
|
|
25801
|
-
},
|
|
25802
|
-
markStart: (l) => _activeCtx.markStart(l),
|
|
25803
|
-
markEnd: (l) => _activeCtx.markEnd(l),
|
|
25804
|
-
captureMemory: (r, c) => _activeCtx.captureMemory(r, c),
|
|
25805
|
-
recordScrollEvent: () => _activeCtx.recordScrollEvent()
|
|
25806
|
-
};
|
|
25807
|
-
}
|
|
25808
|
-
|
|
25809
25693
|
const HScrollSymbolKey = Symbol("HScrollSymbolKey");
|
|
25810
25694
|
const useHScrollSyncProvide = ({
|
|
25811
25695
|
scrollLeft,
|
|
@@ -25813,7 +25697,6 @@
|
|
|
25813
25697
|
onScroll,
|
|
25814
25698
|
bodyWidth
|
|
25815
25699
|
}) => {
|
|
25816
|
-
const perf = usePerf();
|
|
25817
25700
|
const domsSet = /* @__PURE__ */ new Set();
|
|
25818
25701
|
const setAllDoms = (scrollLeft2) => {
|
|
25819
25702
|
const left = Math.max(0, Math.min(scrollLeft2, maxScrollLeft.value));
|
|
@@ -25826,7 +25709,6 @@
|
|
|
25826
25709
|
var _a;
|
|
25827
25710
|
const left = (_a = e.target) == null ? void 0 : _a.scrollLeft;
|
|
25828
25711
|
if (left !== scrollLeft.value) {
|
|
25829
|
-
perf.recordScrollEvent();
|
|
25830
25712
|
setAllDoms(left);
|
|
25831
25713
|
scrollLeft.value = left;
|
|
25832
25714
|
onScroll(e);
|
|
@@ -25837,7 +25719,6 @@
|
|
|
25837
25719
|
const left = (_a = e.target) == null ? void 0 : _a.scrollLeft;
|
|
25838
25720
|
if (left !== scrollLeft.value) {
|
|
25839
25721
|
raf.cancel(rafFrame);
|
|
25840
|
-
perf.recordScrollEvent();
|
|
25841
25722
|
rafFrame = raf(() => {
|
|
25842
25723
|
scrollLeft.value = left;
|
|
25843
25724
|
onScroll(e);
|
|
@@ -25893,7 +25774,6 @@
|
|
|
25893
25774
|
updateAnimate,
|
|
25894
25775
|
bodyWidth
|
|
25895
25776
|
}) => {
|
|
25896
|
-
const perf = usePerf();
|
|
25897
25777
|
const domsSet = /* @__PURE__ */ new Set();
|
|
25898
25778
|
const setAllDoms = (scrollTop2) => {
|
|
25899
25779
|
const top = Math.max(0, Math.min(scrollTop2, maxScrollTop.value));
|
|
@@ -25906,7 +25786,6 @@
|
|
|
25906
25786
|
var _a;
|
|
25907
25787
|
const top = (_a = e.target) == null ? void 0 : _a.scrollTop;
|
|
25908
25788
|
if (top !== scrollTop.value) {
|
|
25909
|
-
perf.recordScrollEvent();
|
|
25910
25789
|
updateAnimate();
|
|
25911
25790
|
setAllDoms(top);
|
|
25912
25791
|
scrollTop.value = top;
|
|
@@ -25930,7 +25809,6 @@
|
|
|
25930
25809
|
const top = (_a = e.target) == null ? void 0 : _a.scrollTop;
|
|
25931
25810
|
if (top !== scrollTop.value) {
|
|
25932
25811
|
raf.cancel(rafFrame);
|
|
25933
|
-
perf.recordScrollEvent();
|
|
25934
25812
|
updateAnimate();
|
|
25935
25813
|
rafFrame = raf(() => {
|
|
25936
25814
|
scrollTop.value = top;
|
|
@@ -27883,7 +27761,6 @@
|
|
|
27883
27761
|
}
|
|
27884
27762
|
|
|
27885
27763
|
function useCal(props, flattenData, scrollHeight, scrollTop, virtual, keyEntities) {
|
|
27886
|
-
const perf = usePerf();
|
|
27887
27764
|
const rowPosition = vue.shallowRef([]);
|
|
27888
27765
|
const rowHeights = vue.shallowRef({});
|
|
27889
27766
|
const mergedRowHeights = vue.shallowRef({});
|
|
@@ -27988,7 +27865,6 @@
|
|
|
27988
27865
|
raf.cancel(refreshRaf);
|
|
27989
27866
|
refreshRaf = raf(
|
|
27990
27867
|
() => {
|
|
27991
|
-
perf.markStart("rowPositionRecalc");
|
|
27992
27868
|
const defaultHeight = currentSizeHeight.value;
|
|
27993
27869
|
const crhs = currentRowHeights.value;
|
|
27994
27870
|
const rhs = rowHeights.value;
|
|
@@ -28008,7 +27884,6 @@
|
|
|
28008
27884
|
mergedRowHeights.value = newMergedRowHeights;
|
|
28009
27885
|
viewportHeight.value = newViewportHeight;
|
|
28010
27886
|
rowPosition.value = newRowPosition;
|
|
28011
|
-
perf.markEnd("rowPositionRecalc");
|
|
28012
27887
|
},
|
|
28013
27888
|
isRaf.value ? 0 : 1
|
|
28014
27889
|
);
|
|
@@ -28019,7 +27894,6 @@
|
|
|
28019
27894
|
});
|
|
28020
27895
|
const calculationRowHeights = (data) => {
|
|
28021
27896
|
var _a, _b;
|
|
28022
|
-
perf.markStart("calculationRowHeights");
|
|
28023
27897
|
const newRowHeights = {};
|
|
28024
27898
|
const defaultHeight = currentSizeHeight.value;
|
|
28025
27899
|
const newCurrentRowHeights = {};
|
|
@@ -28052,7 +27926,6 @@
|
|
|
28052
27926
|
}
|
|
28053
27927
|
rowHeights.value = newRowHeights;
|
|
28054
27928
|
currentRowHeights.value = newCurrentRowHeights;
|
|
28055
|
-
perf.markEnd("calculationRowHeights");
|
|
28056
27929
|
};
|
|
28057
27930
|
vue.watch(
|
|
28058
27931
|
[flattenData, mergeRowHeight],
|
|
@@ -28379,7 +28252,6 @@
|
|
|
28379
28252
|
function useData(_props, rowPosition, flattenData, startIndex, endIndex, draggingRowKey, useAnimate, getRowFlattenIndexByKey, latestRangeStartCell) {
|
|
28380
28253
|
const data = vue.shallowRef([]);
|
|
28381
28254
|
const pos = vue.shallowRef([]);
|
|
28382
|
-
const perf = usePerf();
|
|
28383
28255
|
let rowKeyIndexMap = {};
|
|
28384
28256
|
let exchange = true;
|
|
28385
28257
|
vue.watch(
|
|
@@ -28389,7 +28261,6 @@
|
|
|
28389
28261
|
if (flattenData.value.length !== rowPosition.value.length) {
|
|
28390
28262
|
return;
|
|
28391
28263
|
}
|
|
28392
|
-
perf.markStart("useData-slice");
|
|
28393
28264
|
const newData = [];
|
|
28394
28265
|
const newPos = [];
|
|
28395
28266
|
const recordPositionArr = [];
|
|
@@ -28444,7 +28315,6 @@
|
|
|
28444
28315
|
rowKeyIndexMap = newRowKeyIndexMap;
|
|
28445
28316
|
data.value = newData;
|
|
28446
28317
|
pos.value = newPos;
|
|
28447
|
-
perf.markEnd("useData-slice");
|
|
28448
28318
|
},
|
|
28449
28319
|
{ immediate: true }
|
|
28450
28320
|
);
|
|
@@ -28497,37 +28367,16 @@
|
|
|
28497
28367
|
const allCellProps = vue.shallowRef({});
|
|
28498
28368
|
const hasMultiRowSpanInfo = vue.shallowRef({});
|
|
28499
28369
|
const centerRowColumnsMap = vue.shallowRef(/* @__PURE__ */ new Map());
|
|
28500
|
-
const perf = usePerf();
|
|
28501
|
-
const EMPTY_OBJ = Object.freeze({});
|
|
28502
|
-
const cellPropsCache = /* @__PURE__ */ new Map();
|
|
28503
|
-
let prevLeftCols = [];
|
|
28504
|
-
let prevRightCols = [];
|
|
28505
|
-
let prevCenterCols = [];
|
|
28506
|
-
let prevAllCols = [];
|
|
28507
|
-
let prevBodyWidth = 0;
|
|
28508
|
-
let prevLeftWidth = 0;
|
|
28509
|
-
let prevCenterWidth = 0;
|
|
28510
|
-
let prevCustomCell = void 0;
|
|
28511
|
-
let prevMergedRowHeights = {};
|
|
28512
28370
|
const computedCellProps = (offsetLeft, column, rowIndex, record, overflow) => {
|
|
28513
|
-
var _a, _b, _c;
|
|
28371
|
+
var _a, _b, _c, _d;
|
|
28514
28372
|
const { customRender, originColumn, dataIndex, columnIndex, left, customCell } = column;
|
|
28515
28373
|
const cellProps = {};
|
|
28516
|
-
const
|
|
28517
|
-
const
|
|
28518
|
-
|
|
28519
|
-
|
|
28520
|
-
|
|
28521
|
-
|
|
28522
|
-
width: `${width2}px`,
|
|
28523
|
-
left: `${left - offsetLeft}px`
|
|
28524
|
-
};
|
|
28525
|
-
if (width2 === 0) style.display = "none";
|
|
28526
|
-
cellProps.props = { colSpan: 1, rowSpan: 1, style };
|
|
28527
|
-
return cellProps;
|
|
28528
|
-
}
|
|
28529
|
-
const mergeCellStyles = customCellProps !== EMPTY_OBJ ? Object.assign({ overflow }, parseStyleText(customCellProps.style || {})) : { overflow };
|
|
28530
|
-
const copyCustomCellProps = customCellProps !== EMPTY_OBJ ? Object.assign({}, customCellProps) : {};
|
|
28374
|
+
const customCellProps = (_b = (_a = customCell || contextCustomCell.value) == null ? void 0 : _a({ record, rowIndex, column })) != null ? _b : {};
|
|
28375
|
+
const mergeCellStyles = Object.assign(
|
|
28376
|
+
{ overflow },
|
|
28377
|
+
parseStyleText(customCellProps.style || {})
|
|
28378
|
+
);
|
|
28379
|
+
const copyCustomCellProps = Object.assign({}, customCellProps);
|
|
28531
28380
|
if (customRender) {
|
|
28532
28381
|
const value = getPathValue(record, dataIndex);
|
|
28533
28382
|
const customCellRender = customRender({
|
|
@@ -28548,8 +28397,8 @@
|
|
|
28548
28397
|
cellProps.children = customCellRender;
|
|
28549
28398
|
}
|
|
28550
28399
|
}
|
|
28551
|
-
copyCustomCellProps.colSpan = (
|
|
28552
|
-
copyCustomCellProps.rowSpan = (
|
|
28400
|
+
copyCustomCellProps.colSpan = (_c = copyCustomCellProps.colSpan) != null ? _c : 1;
|
|
28401
|
+
copyCustomCellProps.rowSpan = (_d = copyCustomCellProps.rowSpan) != null ? _d : 1;
|
|
28553
28402
|
const { width } = getColumnPosition(columnIndex, copyCustomCellProps.colSpan);
|
|
28554
28403
|
Object.assign(mergeCellStyles, { width: `${width}px`, left: left - offsetLeft + "px" });
|
|
28555
28404
|
if (width === 0) {
|
|
@@ -28567,29 +28416,6 @@
|
|
|
28567
28416
|
return cellProps;
|
|
28568
28417
|
};
|
|
28569
28418
|
vue.watchEffect(() => {
|
|
28570
|
-
perf.markStart("useCellProps");
|
|
28571
|
-
const curLeft = leftColumns.value;
|
|
28572
|
-
const curRight = rightColumns.value;
|
|
28573
|
-
const curCenter = visibleCenterColumns.value;
|
|
28574
|
-
const curAll = allColumns.value;
|
|
28575
|
-
const curBodyW = bodyWidth.value;
|
|
28576
|
-
const curLeftW = leftWidth.value;
|
|
28577
|
-
const curCenterW = centerWidth.value;
|
|
28578
|
-
const curCustomCell = contextCustomCell.value;
|
|
28579
|
-
const curMergedH = mergedRowHeights.value;
|
|
28580
|
-
const columnsChanged = curLeft !== prevLeftCols || curRight !== prevRightCols || curCenter !== prevCenterCols || curAll !== prevAllCols || curBodyW !== prevBodyWidth || curLeftW !== prevLeftWidth || curCenterW !== prevCenterWidth || curCustomCell !== prevCustomCell || curMergedH !== prevMergedRowHeights;
|
|
28581
|
-
if (columnsChanged) {
|
|
28582
|
-
cellPropsCache.clear();
|
|
28583
|
-
prevLeftCols = curLeft;
|
|
28584
|
-
prevRightCols = curRight;
|
|
28585
|
-
prevCenterCols = curCenter;
|
|
28586
|
-
prevAllCols = curAll;
|
|
28587
|
-
prevBodyWidth = curBodyW;
|
|
28588
|
-
prevLeftWidth = curLeftW;
|
|
28589
|
-
prevCenterWidth = curCenterW;
|
|
28590
|
-
prevCustomCell = curCustomCell;
|
|
28591
|
-
prevMergedRowHeights = curMergedH;
|
|
28592
|
-
}
|
|
28593
28419
|
const rawAllCellProps = {};
|
|
28594
28420
|
const rawRowSpanInfo = {};
|
|
28595
28421
|
const genAllCellProps = (index, offsetLeft, finallyColumns, rowKey, rowIndex, record, overflow, rowColumnsMap2) => {
|
|
@@ -28642,15 +28468,8 @@
|
|
|
28642
28468
|
for (let i = 0; i < len; i++) {
|
|
28643
28469
|
if (!data.value[i]) continue;
|
|
28644
28470
|
const { record, isExpandRow, rowKey, rowIndex } = data.value[i];
|
|
28645
|
-
const overflow = mergedRowHeights.value[rowKey] ? "hidden" : "initial";
|
|
28646
|
-
const cached = cellPropsCache.get(rowKey);
|
|
28647
|
-
if (cached && cached.overflow === overflow) {
|
|
28648
|
-
rawAllCellProps[rowKey] = cached.cellProps;
|
|
28649
|
-
if (cached.hasRowSpan) rawRowSpanInfo[rowKey] = true;
|
|
28650
|
-
if (cached.centerColumns) rowColumnsMap.set(rowKey, cached.centerColumns);
|
|
28651
|
-
continue;
|
|
28652
|
-
}
|
|
28653
28471
|
rawAllCellProps[rowKey] = {};
|
|
28472
|
+
const overflow = mergedRowHeights.value[rowKey] ? "hidden" : "initial";
|
|
28654
28473
|
if (isExpandRow) {
|
|
28655
28474
|
rawAllCellProps[rowKey][ExpandColumnKey] = {
|
|
28656
28475
|
props: {
|
|
@@ -28679,24 +28498,10 @@
|
|
|
28679
28498
|
overflow
|
|
28680
28499
|
);
|
|
28681
28500
|
}
|
|
28682
|
-
cellPropsCache.set(rowKey, {
|
|
28683
|
-
cellProps: rawAllCellProps[rowKey],
|
|
28684
|
-
hasRowSpan: !!rawRowSpanInfo[rowKey],
|
|
28685
|
-
centerColumns: rowColumnsMap.get(rowKey),
|
|
28686
|
-
overflow
|
|
28687
|
-
});
|
|
28688
28501
|
}
|
|
28689
28502
|
allCellProps.value = rawAllCellProps;
|
|
28690
28503
|
hasMultiRowSpanInfo.value = rawRowSpanInfo;
|
|
28691
28504
|
centerRowColumnsMap.value = rowColumnsMap;
|
|
28692
|
-
if (perf.enabled.value) {
|
|
28693
|
-
const totalCells = Object.values(rawAllCellProps).reduce(
|
|
28694
|
-
(sum, row) => sum + Object.keys(row).length,
|
|
28695
|
-
0
|
|
28696
|
-
);
|
|
28697
|
-
perf.captureMemory(len, totalCells);
|
|
28698
|
-
}
|
|
28699
|
-
perf.markEnd("useCellProps");
|
|
28700
28505
|
});
|
|
28701
28506
|
return { allCellProps, hasMultiRowSpanInfo, centerRowColumnsMap };
|
|
28702
28507
|
};
|
|
@@ -35682,9 +35487,6 @@
|
|
|
35682
35487
|
slots: {},
|
|
35683
35488
|
setup(props, { expose, emit, slots }) {
|
|
35684
35489
|
const { table } = useProConfigInject();
|
|
35685
|
-
const perfEnabled = vue.shallowRef(!!props.perf);
|
|
35686
|
-
const perfContext = createPerfContext(perfEnabled);
|
|
35687
|
-
providePerfContext(perfContext);
|
|
35688
35490
|
const counter = useInjectContainer();
|
|
35689
35491
|
const rowKey = vue.computed(() => {
|
|
35690
35492
|
var _a, _b, _c;
|
|
@@ -39050,7 +38852,8 @@
|
|
|
39050
38852
|
tabList: { type: Array, required: false, default: () => [] },
|
|
39051
38853
|
onTabChange: { type: null, required: false },
|
|
39052
38854
|
tabProps: { type: Object, required: false },
|
|
39053
|
-
loading: { type: [Boolean, Object], required: false }
|
|
38855
|
+
loading: { type: [Boolean, Object], required: false, default: false },
|
|
38856
|
+
contentLoading: { type: [Boolean, Object], required: false, default: false }
|
|
39054
38857
|
}, {
|
|
39055
38858
|
"activeKey": { type: null },
|
|
39056
38859
|
"activeKeyModifiers": {}
|
|
@@ -39059,15 +38862,13 @@
|
|
|
39059
38862
|
setup(__props) {
|
|
39060
38863
|
const slots = vue.useSlots();
|
|
39061
38864
|
const prefixCls = usePrefixCls("page");
|
|
39062
|
-
const headerHeight = vue.ref(0);
|
|
39063
38865
|
const footerHeight = vue.ref(0);
|
|
39064
|
-
const
|
|
38866
|
+
const contentHeight = vue.ref(0);
|
|
39065
38867
|
const shouldAutoHeight = vue.ref(false);
|
|
39066
38868
|
const { contentOffsetTop, page } = useProConfigInject();
|
|
39067
38869
|
const tabActiveKey = vue.useModel(__props, "activeKey");
|
|
39068
|
-
const headerRef = vue.useTemplateRef("header");
|
|
39069
38870
|
const footerRef = vue.useTemplateRef("footer");
|
|
39070
|
-
const
|
|
38871
|
+
const contentRef = vue.useTemplateRef("content");
|
|
39071
38872
|
const mergeContentPadding = vue.computed(() => {
|
|
39072
38873
|
var _a;
|
|
39073
38874
|
return __props.contentPadding || ((_a = page == null ? void 0 : page.value) == null ? void 0 : _a.contentPadding) || 16;
|
|
@@ -39118,7 +38919,7 @@
|
|
|
39118
38919
|
var _a, _b;
|
|
39119
38920
|
if (mergeAutoContentHeight.value) {
|
|
39120
38921
|
return {
|
|
39121
|
-
height: `calc(
|
|
38922
|
+
height: `calc(${contentHeight.value}px - ${typeof __props.heightOffset === "number" ? `${__props.heightOffset}px` : __props.heightOffset})`,
|
|
39122
38923
|
overflowY: shouldAutoHeight.value ? "auto" : "unset",
|
|
39123
38924
|
padding: `${mergeContentPadding.value || 0}px`,
|
|
39124
38925
|
...(_a = page == null ? void 0 : page.value) == null ? void 0 : _a.contentStyle,
|
|
@@ -39131,6 +38932,22 @@
|
|
|
39131
38932
|
...__props.contentStyle
|
|
39132
38933
|
};
|
|
39133
38934
|
});
|
|
38935
|
+
const loadingProps = vue.computed(() => {
|
|
38936
|
+
if (typeof __props.loading === "boolean") {
|
|
38937
|
+
return {
|
|
38938
|
+
spinning: __props.loading
|
|
38939
|
+
};
|
|
38940
|
+
}
|
|
38941
|
+
return __props.loading;
|
|
38942
|
+
});
|
|
38943
|
+
const contentLoadingProps = vue.computed(() => {
|
|
38944
|
+
if (typeof __props.contentLoading === "boolean") {
|
|
38945
|
+
return {
|
|
38946
|
+
spinning: __props.contentLoading
|
|
38947
|
+
};
|
|
38948
|
+
}
|
|
38949
|
+
return __props.contentLoading;
|
|
38950
|
+
});
|
|
39134
38951
|
const mergeTabsProps = vue.computed(
|
|
39135
38952
|
() => {
|
|
39136
38953
|
var _a;
|
|
@@ -39143,9 +38960,8 @@
|
|
|
39143
38960
|
return;
|
|
39144
38961
|
}
|
|
39145
38962
|
await vue.nextTick();
|
|
39146
|
-
|
|
39147
|
-
|
|
39148
|
-
tabsHeight.value = ((_c = tabsRef.value) == null ? void 0 : _c.offsetHeight) || 0;
|
|
38963
|
+
footerHeight.value = ((_a = footerRef.value) == null ? void 0 : _a.offsetHeight) || 0;
|
|
38964
|
+
contentHeight.value = window.innerHeight - (((_c = (_b = contentRef.value) == null ? void 0 : _b.getBoundingClientRect()) == null ? void 0 : _c.top) || 0) - footerHeight.value;
|
|
39149
38965
|
setTimeout(() => {
|
|
39150
38966
|
shouldAutoHeight.value = true;
|
|
39151
38967
|
}, 30);
|
|
@@ -39162,7 +38978,7 @@
|
|
|
39162
38978
|
calcContentHeight();
|
|
39163
38979
|
});
|
|
39164
38980
|
return (_ctx, _cache) => {
|
|
39165
|
-
var _a, _b
|
|
38981
|
+
var _a, _b;
|
|
39166
38982
|
return vue.openBlock(), vue.createElementBlock(
|
|
39167
38983
|
"div",
|
|
39168
38984
|
{
|
|
@@ -39170,131 +38986,162 @@
|
|
|
39170
38986
|
style: vue.normalizeStyle((_b = vue.unref(page)) == null ? void 0 : _b.pageStyle)
|
|
39171
38987
|
},
|
|
39172
38988
|
[
|
|
39173
|
-
|
|
39174
|
-
|
|
39175
|
-
|
|
39176
|
-
key: 0,
|
|
39177
|
-
ref: "header",
|
|
39178
|
-
class: vue.normalizeClass(headerCls.value)
|
|
39179
|
-
},
|
|
39180
|
-
[
|
|
39181
|
-
vue.renderSlot(_ctx.$slots, "header", {}, () => [
|
|
39182
|
-
vue.createElementVNode(
|
|
39183
|
-
"div",
|
|
39184
|
-
{
|
|
39185
|
-
class: vue.normalizeClass(`${vue.unref(prefixCls)}-header-wrap`)
|
|
39186
|
-
},
|
|
39187
|
-
[
|
|
39188
|
-
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
39189
|
-
_ctx.title ? (vue.openBlock(), vue.createElementBlock(
|
|
39190
|
-
"div",
|
|
39191
|
-
{
|
|
39192
|
-
key: 0,
|
|
39193
|
-
class: vue.normalizeClass(`${vue.unref(prefixCls)}-title`)
|
|
39194
|
-
},
|
|
39195
|
-
vue.toDisplayString(_ctx.title),
|
|
39196
|
-
3
|
|
39197
|
-
/* TEXT, CLASS */
|
|
39198
|
-
)) : vue.createCommentVNode("v-if", true)
|
|
39199
|
-
]),
|
|
39200
|
-
vue.renderSlot(_ctx.$slots, "description", {}, () => [
|
|
39201
|
-
_ctx.description ? (vue.openBlock(), vue.createElementBlock(
|
|
39202
|
-
"p",
|
|
39203
|
-
{
|
|
39204
|
-
key: 0,
|
|
39205
|
-
class: vue.normalizeClass(`${vue.unref(prefixCls)}-description`)
|
|
39206
|
-
},
|
|
39207
|
-
vue.toDisplayString(_ctx.description),
|
|
39208
|
-
3
|
|
39209
|
-
/* TEXT, CLASS */
|
|
39210
|
-
)) : vue.createCommentVNode("v-if", true)
|
|
39211
|
-
])
|
|
39212
|
-
],
|
|
39213
|
-
2
|
|
39214
|
-
/* CLASS */
|
|
39215
|
-
),
|
|
39216
|
-
_ctx.$slots.extra ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
39217
|
-
vue.renderSlot(_ctx.$slots, "extra")
|
|
39218
|
-
])) : vue.createCommentVNode("v-if", true)
|
|
39219
|
-
])
|
|
39220
|
-
],
|
|
39221
|
-
2
|
|
39222
|
-
/* CLASS */
|
|
39223
|
-
)) : vue.createCommentVNode("v-if", true),
|
|
39224
|
-
((_c = _ctx.tabList) == null ? void 0 : _c.length) ? (vue.openBlock(), vue.createElementBlock(
|
|
39225
|
-
"div",
|
|
39226
|
-
{
|
|
39227
|
-
key: 1,
|
|
39228
|
-
ref: "tabs",
|
|
39229
|
-
class: vue.normalizeClass(`${vue.unref(prefixCls)}-tabs`)
|
|
39230
|
-
},
|
|
39231
|
-
[
|
|
39232
|
-
vue.createVNode(vue.unref(antDesignVue.Tabs), vue.mergeProps({
|
|
39233
|
-
activeKey: tabActiveKey.value,
|
|
39234
|
-
"onUpdate:activeKey": _cache[0] || (_cache[0] = ($event) => tabActiveKey.value = $event)
|
|
39235
|
-
}, mergeTabsProps.value, { "tab-position": "top" }), {
|
|
39236
|
-
default: vue.withCtx(() => [
|
|
39237
|
-
(vue.openBlock(true), vue.createElementBlock(
|
|
39238
|
-
vue.Fragment,
|
|
39239
|
-
null,
|
|
39240
|
-
vue.renderList(_ctx.tabList, (tab) => {
|
|
39241
|
-
return vue.openBlock(), vue.createBlock(
|
|
39242
|
-
vue.unref(antDesignVue.TabPane),
|
|
39243
|
-
vue.mergeProps({
|
|
39244
|
-
key: tab.key,
|
|
39245
|
-
ref_for: true
|
|
39246
|
-
}, tab),
|
|
39247
|
-
null,
|
|
39248
|
-
16
|
|
39249
|
-
/* FULL_PROPS */
|
|
39250
|
-
);
|
|
39251
|
-
}),
|
|
39252
|
-
128
|
|
39253
|
-
/* KEYED_FRAGMENT */
|
|
39254
|
-
))
|
|
39255
|
-
]),
|
|
39256
|
-
_: 1
|
|
39257
|
-
/* STABLE */
|
|
39258
|
-
}, 16, ["activeKey"])
|
|
39259
|
-
],
|
|
39260
|
-
2
|
|
39261
|
-
/* CLASS */
|
|
39262
|
-
)) : vue.createCommentVNode("v-if", true),
|
|
39263
|
-
vue.createElementVNode(
|
|
39264
|
-
"div",
|
|
38989
|
+
vue.createVNode(
|
|
38990
|
+
vue.unref(antDesignVue.Spin),
|
|
38991
|
+
vue.normalizeProps(vue.guardReactiveProps(loadingProps.value)),
|
|
39265
38992
|
{
|
|
39266
|
-
|
|
39267
|
-
|
|
39268
|
-
|
|
39269
|
-
|
|
39270
|
-
|
|
39271
|
-
|
|
39272
|
-
|
|
38993
|
+
default: vue.withCtx(() => {
|
|
38994
|
+
var _a2;
|
|
38995
|
+
return [
|
|
38996
|
+
_ctx.$slots.header || _ctx.description || _ctx.$slots.description || _ctx.title || _ctx.$slots.title || _ctx.$slots.extra ? (vue.openBlock(), vue.createElementBlock(
|
|
38997
|
+
"div",
|
|
38998
|
+
{
|
|
38999
|
+
key: 0,
|
|
39000
|
+
ref: "header",
|
|
39001
|
+
class: vue.normalizeClass(headerCls.value)
|
|
39002
|
+
},
|
|
39003
|
+
[
|
|
39004
|
+
vue.renderSlot(_ctx.$slots, "header", {}, () => [
|
|
39005
|
+
vue.createElementVNode(
|
|
39006
|
+
"div",
|
|
39007
|
+
{
|
|
39008
|
+
class: vue.normalizeClass(`${vue.unref(prefixCls)}-header-wrap`)
|
|
39009
|
+
},
|
|
39010
|
+
[
|
|
39011
|
+
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
39012
|
+
_ctx.title ? (vue.openBlock(), vue.createElementBlock(
|
|
39013
|
+
"div",
|
|
39014
|
+
{
|
|
39015
|
+
key: 0,
|
|
39016
|
+
class: vue.normalizeClass(`${vue.unref(prefixCls)}-title`)
|
|
39017
|
+
},
|
|
39018
|
+
vue.toDisplayString(_ctx.title),
|
|
39019
|
+
3
|
|
39020
|
+
/* TEXT, CLASS */
|
|
39021
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
39022
|
+
]),
|
|
39023
|
+
vue.renderSlot(_ctx.$slots, "description", {}, () => [
|
|
39024
|
+
_ctx.description ? (vue.openBlock(), vue.createElementBlock(
|
|
39025
|
+
"p",
|
|
39026
|
+
{
|
|
39027
|
+
key: 0,
|
|
39028
|
+
class: vue.normalizeClass(`${vue.unref(prefixCls)}-description`)
|
|
39029
|
+
},
|
|
39030
|
+
vue.toDisplayString(_ctx.description),
|
|
39031
|
+
3
|
|
39032
|
+
/* TEXT, CLASS */
|
|
39033
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
39034
|
+
])
|
|
39035
|
+
],
|
|
39036
|
+
2
|
|
39037
|
+
/* CLASS */
|
|
39038
|
+
),
|
|
39039
|
+
_ctx.$slots.extra ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
39040
|
+
vue.renderSlot(_ctx.$slots, "extra")
|
|
39041
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
39042
|
+
])
|
|
39043
|
+
],
|
|
39044
|
+
2
|
|
39045
|
+
/* CLASS */
|
|
39046
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
39047
|
+
((_a2 = _ctx.tabList) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock(
|
|
39048
|
+
"div",
|
|
39049
|
+
{
|
|
39050
|
+
key: 1,
|
|
39051
|
+
ref: "tabs",
|
|
39052
|
+
class: vue.normalizeClass(`${vue.unref(prefixCls)}-tabs`)
|
|
39053
|
+
},
|
|
39054
|
+
[
|
|
39055
|
+
vue.createVNode(vue.unref(antDesignVue.Tabs), vue.mergeProps({
|
|
39056
|
+
activeKey: tabActiveKey.value,
|
|
39057
|
+
"onUpdate:activeKey": _cache[0] || (_cache[0] = ($event) => tabActiveKey.value = $event)
|
|
39058
|
+
}, mergeTabsProps.value, { "tab-position": "top" }), {
|
|
39059
|
+
default: vue.withCtx(() => [
|
|
39060
|
+
(vue.openBlock(true), vue.createElementBlock(
|
|
39061
|
+
vue.Fragment,
|
|
39062
|
+
null,
|
|
39063
|
+
vue.renderList(_ctx.tabList, (tab) => {
|
|
39064
|
+
return vue.openBlock(), vue.createBlock(
|
|
39065
|
+
vue.unref(antDesignVue.TabPane),
|
|
39066
|
+
vue.mergeProps({
|
|
39067
|
+
key: tab.key,
|
|
39068
|
+
ref_for: true
|
|
39069
|
+
}, tab),
|
|
39070
|
+
null,
|
|
39071
|
+
16
|
|
39072
|
+
/* FULL_PROPS */
|
|
39073
|
+
);
|
|
39074
|
+
}),
|
|
39075
|
+
128
|
|
39076
|
+
/* KEYED_FRAGMENT */
|
|
39077
|
+
))
|
|
39078
|
+
]),
|
|
39079
|
+
_: 1
|
|
39080
|
+
/* STABLE */
|
|
39081
|
+
}, 16, ["activeKey"])
|
|
39082
|
+
],
|
|
39083
|
+
2
|
|
39084
|
+
/* CLASS */
|
|
39085
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
39086
|
+
vue.createVNode(
|
|
39087
|
+
vue.unref(antDesignVue.Spin),
|
|
39088
|
+
vue.normalizeProps(vue.guardReactiveProps(contentLoadingProps.value)),
|
|
39089
|
+
{
|
|
39090
|
+
default: vue.withCtx(() => {
|
|
39091
|
+
var _a3, _b2, _c, _d, _e;
|
|
39092
|
+
return [
|
|
39093
|
+
vue.createElementVNode(
|
|
39094
|
+
"div",
|
|
39095
|
+
{
|
|
39096
|
+
ref: "content",
|
|
39097
|
+
class: vue.normalizeClass(contentCls.value),
|
|
39098
|
+
style: vue.normalizeStyle(contentStyles.value)
|
|
39099
|
+
},
|
|
39100
|
+
[
|
|
39101
|
+
vue.renderSlot(_ctx.$slots, "default", {
|
|
39102
|
+
activeKey: (_b2 = tabActiveKey.value) != null ? _b2 : (_a3 = _ctx.tabList[0]) == null ? void 0 : _a3.key,
|
|
39103
|
+
offset: offset.value
|
|
39104
|
+
}),
|
|
39105
|
+
((_c = _ctx.tabList) == null ? void 0 : _c.length) ? vue.renderSlot(_ctx.$slots, "tabs", {
|
|
39106
|
+
key: 0,
|
|
39107
|
+
activeKey: (_e = tabActiveKey.value) != null ? _e : (_d = _ctx.tabList[0]) == null ? void 0 : _d.key,
|
|
39108
|
+
offset: offset.value
|
|
39109
|
+
}, () => [
|
|
39110
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(tabComp.value)))
|
|
39111
|
+
]) : vue.createCommentVNode("v-if", true)
|
|
39112
|
+
],
|
|
39113
|
+
6
|
|
39114
|
+
/* CLASS, STYLE */
|
|
39115
|
+
)
|
|
39116
|
+
];
|
|
39117
|
+
}),
|
|
39118
|
+
_: 3
|
|
39119
|
+
/* FORWARDED */
|
|
39120
|
+
},
|
|
39121
|
+
16
|
|
39122
|
+
/* FULL_PROPS */
|
|
39123
|
+
),
|
|
39124
|
+
_ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock(
|
|
39125
|
+
"div",
|
|
39126
|
+
{
|
|
39127
|
+
key: 2,
|
|
39128
|
+
ref: "footer",
|
|
39129
|
+
class: vue.normalizeClass(footerCls.value)
|
|
39130
|
+
},
|
|
39131
|
+
[
|
|
39132
|
+
vue.renderSlot(_ctx.$slots, "footer")
|
|
39133
|
+
],
|
|
39134
|
+
2
|
|
39135
|
+
/* CLASS */
|
|
39136
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
39137
|
+
];
|
|
39273
39138
|
}),
|
|
39274
|
-
|
|
39275
|
-
|
|
39276
|
-
activeKey: (_h = tabActiveKey.value) != null ? _h : (_g = _ctx.tabList[0]) == null ? void 0 : _g.key,
|
|
39277
|
-
offset: offset.value
|
|
39278
|
-
}, () => [
|
|
39279
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(tabComp.value)))
|
|
39280
|
-
]) : vue.createCommentVNode("v-if", true)
|
|
39281
|
-
],
|
|
39282
|
-
6
|
|
39283
|
-
/* CLASS, STYLE */
|
|
39284
|
-
),
|
|
39285
|
-
_ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock(
|
|
39286
|
-
"div",
|
|
39287
|
-
{
|
|
39288
|
-
key: 2,
|
|
39289
|
-
ref: "footer",
|
|
39290
|
-
class: vue.normalizeClass(footerCls.value)
|
|
39139
|
+
_: 3
|
|
39140
|
+
/* FORWARDED */
|
|
39291
39141
|
},
|
|
39292
|
-
|
|
39293
|
-
|
|
39294
|
-
|
|
39295
|
-
2
|
|
39296
|
-
/* CLASS */
|
|
39297
|
-
)) : vue.createCommentVNode("v-if", true)
|
|
39142
|
+
16
|
|
39143
|
+
/* FULL_PROPS */
|
|
39144
|
+
)
|
|
39298
39145
|
],
|
|
39299
39146
|
6
|
|
39300
39147
|
/* CLASS, STYLE */
|