vxe-pc-ui 4.9.18 → 4.9.20
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/card/src/card.js +11 -2
- package/es/card/style.css +45 -10
- package/es/card/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/list/style.css +13 -0
- package/es/list/style.min.css +1 -1
- package/es/menu/style.css +34 -8
- package/es/menu/style.min.css +1 -1
- package/es/select/style.css +0 -1
- package/es/select/style.min.css +1 -1
- package/es/split/src/split.js +13 -3
- package/es/split/style.css +13 -0
- package/es/split/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tabs/src/tabs.js +10 -1
- package/es/tabs/style.css +78 -16
- package/es/tabs/style.min.css +1 -1
- package/es/text/src/text.js +10 -3
- package/es/tooltip/src/tooltip.js +81 -12
- package/es/tooltip/style.css +8 -5
- package/es/tooltip/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/dom.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-card/style.css +45 -10
- package/es/vxe-card/style.min.css +1 -1
- package/es/vxe-list/style.css +13 -0
- package/es/vxe-list/style.min.css +1 -1
- package/es/vxe-menu/style.css +34 -8
- package/es/vxe-menu/style.min.css +1 -1
- package/es/vxe-select/style.css +0 -1
- package/es/vxe-select/style.min.css +1 -1
- package/es/vxe-split/style.css +13 -0
- package/es/vxe-split/style.min.css +1 -1
- package/es/vxe-tabs/style.css +78 -16
- package/es/vxe-tabs/style.min.css +1 -1
- package/es/vxe-tooltip/style.css +8 -5
- package/es/vxe-tooltip/style.min.css +1 -1
- package/lib/card/src/card.js +12 -1
- package/lib/card/src/card.min.js +1 -1
- package/lib/card/style/style.css +45 -10
- package/lib/card/style/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +140 -20
- package/lib/index.umd.min.js +1 -1
- package/lib/list/style/style.css +13 -0
- package/lib/list/style/style.min.css +1 -1
- package/lib/menu/style/style.css +34 -8
- package/lib/menu/style/style.min.css +1 -1
- package/lib/select/style/style.css +0 -1
- package/lib/select/style/style.min.css +1 -1
- package/lib/split/src/split.js +14 -2
- package/lib/split/src/split.min.js +1 -1
- package/lib/split/style/style.css +13 -0
- package/lib/split/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tabs/src/tabs.js +11 -0
- package/lib/tabs/src/tabs.min.js +1 -1
- package/lib/tabs/style/style.css +78 -16
- package/lib/tabs/style/style.min.css +1 -1
- package/lib/text/src/text.js +12 -3
- package/lib/text/src/text.min.js +1 -1
- package/lib/tooltip/src/tooltip.js +87 -11
- package/lib/tooltip/src/tooltip.min.js +1 -1
- package/lib/tooltip/style/style.css +8 -5
- package/lib/tooltip/style/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/dom.js +1 -1
- package/lib/ui/src/dom.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-card/style/style.css +45 -10
- package/lib/vxe-card/style/style.min.css +1 -1
- package/lib/vxe-list/style/style.css +13 -0
- package/lib/vxe-list/style/style.min.css +1 -1
- package/lib/vxe-menu/style/style.css +34 -8
- package/lib/vxe-menu/style/style.min.css +1 -1
- package/lib/vxe-select/style/style.css +0 -1
- package/lib/vxe-select/style/style.min.css +1 -1
- package/lib/vxe-split/style/style.css +13 -0
- package/lib/vxe-split/style/style.min.css +1 -1
- package/lib/vxe-tabs/style/style.css +78 -16
- package/lib/vxe-tabs/style/style.min.css +1 -1
- package/lib/vxe-tooltip/style/style.css +8 -5
- package/lib/vxe-tooltip/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/card/src/card.ts +10 -1
- package/packages/split/src/split.ts +14 -3
- package/packages/tabs/src/tabs.ts +11 -1
- package/packages/text/src/text.ts +11 -3
- package/packages/tooltip/src/tooltip.ts +90 -17
- package/packages/ui/src/dom.ts +1 -1
- package/styles/components/card.scss +65 -11
- package/styles/components/list.scss +13 -0
- package/styles/components/menu.scss +35 -8
- package/styles/components/select.scss +0 -2
- package/styles/components/split.scss +13 -0
- package/styles/components/tabs.scss +38 -19
- package/styles/components/tooltip.scss +8 -5
- package/styles/theme/base.scss +9 -3
- package/types/components/card.d.ts +3 -1
- package/types/components/split.d.ts +3 -1
- package/types/components/table.d.ts +10 -4
- package/types/components/tabs.d.ts +3 -1
- package/types/components/tooltip.d.ts +12 -0
- /package/es/icon/{iconfont.1757160944209.ttf → iconfont.1757386401857.ttf} +0 -0
- /package/es/icon/{iconfont.1757160944209.woff → iconfont.1757386401857.woff} +0 -0
- /package/es/icon/{iconfont.1757160944209.woff2 → iconfont.1757386401857.woff2} +0 -0
- /package/es/{iconfont.1757160944209.ttf → iconfont.1757386401857.ttf} +0 -0
- /package/es/{iconfont.1757160944209.woff → iconfont.1757386401857.woff} +0 -0
- /package/es/{iconfont.1757160944209.woff2 → iconfont.1757386401857.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1757160944209.ttf → iconfont.1757386401857.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1757160944209.woff → iconfont.1757386401857.woff} +0 -0
- /package/lib/icon/style/{iconfont.1757160944209.woff2 → iconfont.1757386401857.woff2} +0 -0
- /package/lib/{iconfont.1757160944209.ttf → iconfont.1757386401857.ttf} +0 -0
- /package/lib/{iconfont.1757160944209.woff → iconfont.1757386401857.woff} +0 -0
- /package/lib/{iconfont.1757160944209.woff2 → iconfont.1757386401857.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -3588,14 +3588,14 @@ function checkDynamic() {
|
|
|
3588
3588
|
}
|
|
3589
3589
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
3590
3590
|
|
|
3591
|
-
const log_version = `ui v${"4.9.
|
|
3591
|
+
const log_version = `ui v${"4.9.20"}`;
|
|
3592
3592
|
const warnLog = log.create('warn', log_version);
|
|
3593
3593
|
const errLog = log.create('error', log_version);
|
|
3594
3594
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
3595
3595
|
|
|
3596
3596
|
|
|
3597
3597
|
|
|
3598
|
-
const ui_version = "4.9.
|
|
3598
|
+
const ui_version = "4.9.20";
|
|
3599
3599
|
index_esm_VxeUI.uiVersion = ui_version;
|
|
3600
3600
|
index_esm_VxeUI.dynamicApp = dynamicApp;
|
|
3601
3601
|
function config(options) {
|
|
@@ -5294,7 +5294,7 @@ function updatePanelPlacement(targetElem, panelElem, options) {
|
|
|
5294
5294
|
marginSize
|
|
5295
5295
|
} = Object.assign({
|
|
5296
5296
|
teleportTo: false,
|
|
5297
|
-
marginSize:
|
|
5297
|
+
marginSize: 18
|
|
5298
5298
|
}, options);
|
|
5299
5299
|
let panelPlacement = 'bottom';
|
|
5300
5300
|
let top = '';
|
|
@@ -6244,6 +6244,7 @@ function handleBooleanDefaultValue(value) {
|
|
|
6244
6244
|
|
|
6245
6245
|
|
|
6246
6246
|
|
|
6247
|
+
|
|
6247
6248
|
/* harmony default export */ var tooltip = (defineVxeComponent({
|
|
6248
6249
|
name: 'VxeTooltip',
|
|
6249
6250
|
props: {
|
|
@@ -6268,6 +6269,30 @@ function handleBooleanDefaultValue(value) {
|
|
|
6268
6269
|
useHTML: Boolean,
|
|
6269
6270
|
zIndex: [String, Number],
|
|
6270
6271
|
popupClassName: [String, Function],
|
|
6272
|
+
width: {
|
|
6273
|
+
type: [String, Number],
|
|
6274
|
+
default: () => getConfig().tooltip.Width
|
|
6275
|
+
},
|
|
6276
|
+
height: {
|
|
6277
|
+
type: [String, Number],
|
|
6278
|
+
default: () => getConfig().tooltip.height
|
|
6279
|
+
},
|
|
6280
|
+
minWidth: {
|
|
6281
|
+
type: [String, Number],
|
|
6282
|
+
default: () => getConfig().tooltip.minWidth
|
|
6283
|
+
},
|
|
6284
|
+
minHeight: {
|
|
6285
|
+
type: [String, Number],
|
|
6286
|
+
default: () => getConfig().tooltip.minHeight
|
|
6287
|
+
},
|
|
6288
|
+
maxWidth: {
|
|
6289
|
+
type: [String, Number],
|
|
6290
|
+
default: () => getConfig().tooltip.maxWidth
|
|
6291
|
+
},
|
|
6292
|
+
maxHeight: {
|
|
6293
|
+
type: [String, Number],
|
|
6294
|
+
default: () => getConfig().tooltip.maxHeight
|
|
6295
|
+
},
|
|
6271
6296
|
isArrow: {
|
|
6272
6297
|
type: Boolean,
|
|
6273
6298
|
default: () => getConfig().tooltip.isArrow
|
|
@@ -6311,6 +6336,37 @@ function handleBooleanDefaultValue(value) {
|
|
|
6311
6336
|
});
|
|
6312
6337
|
const internalData = {};
|
|
6313
6338
|
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
6339
|
+
const contentWrapperfElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
6340
|
+
const computeWrapperStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
6341
|
+
const {
|
|
6342
|
+
width,
|
|
6343
|
+
height,
|
|
6344
|
+
minHeight,
|
|
6345
|
+
minWidth,
|
|
6346
|
+
maxHeight,
|
|
6347
|
+
maxWidth
|
|
6348
|
+
} = props;
|
|
6349
|
+
const stys = {};
|
|
6350
|
+
if (width) {
|
|
6351
|
+
stys.width = toCssUnit(width);
|
|
6352
|
+
}
|
|
6353
|
+
if (height) {
|
|
6354
|
+
stys.height = toCssUnit(height);
|
|
6355
|
+
}
|
|
6356
|
+
if (minWidth) {
|
|
6357
|
+
stys.minWidth = toCssUnit(minWidth);
|
|
6358
|
+
}
|
|
6359
|
+
if (minHeight) {
|
|
6360
|
+
stys.minHeight = toCssUnit(minHeight);
|
|
6361
|
+
}
|
|
6362
|
+
if (maxWidth) {
|
|
6363
|
+
stys.maxWidth = toCssUnit(maxWidth);
|
|
6364
|
+
}
|
|
6365
|
+
if (maxHeight) {
|
|
6366
|
+
stys.maxHeight = toCssUnit(maxHeight);
|
|
6367
|
+
}
|
|
6368
|
+
return stys;
|
|
6369
|
+
});
|
|
6314
6370
|
const refMaps = {
|
|
6315
6371
|
refElem
|
|
6316
6372
|
};
|
|
@@ -6339,6 +6395,9 @@ function handleBooleanDefaultValue(value) {
|
|
|
6339
6395
|
left
|
|
6340
6396
|
} = getAbsolutePos(tipTarget);
|
|
6341
6397
|
const el = refElem.value;
|
|
6398
|
+
if (!el) {
|
|
6399
|
+
return;
|
|
6400
|
+
}
|
|
6342
6401
|
const marginSize = 6;
|
|
6343
6402
|
const offsetHeight = el.offsetHeight;
|
|
6344
6403
|
const offsetWidth = el.offsetWidth;
|
|
@@ -6533,6 +6592,9 @@ function handleBooleanDefaultValue(value) {
|
|
|
6533
6592
|
reactData.tipActive = !!active;
|
|
6534
6593
|
}
|
|
6535
6594
|
};
|
|
6595
|
+
const wheelEvent = evnt => {
|
|
6596
|
+
evnt.stopPropagation();
|
|
6597
|
+
};
|
|
6536
6598
|
Object.assign($xeTooltip, tooltipMethods);
|
|
6537
6599
|
const renderContent = () => {
|
|
6538
6600
|
const {
|
|
@@ -6541,24 +6603,29 @@ function handleBooleanDefaultValue(value) {
|
|
|
6541
6603
|
const {
|
|
6542
6604
|
tipContent
|
|
6543
6605
|
} = reactData;
|
|
6606
|
+
const wrapperStyle = computeWrapperStyle.value;
|
|
6544
6607
|
const contentSlot = slots.content;
|
|
6608
|
+
const contVNs = [];
|
|
6545
6609
|
if (contentSlot) {
|
|
6546
|
-
|
|
6547
|
-
key: 1
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
if (useHTML) {
|
|
6552
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
6610
|
+
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
6611
|
+
key: 1
|
|
6612
|
+
}, vn_getSlotVNs(contentSlot({}))));
|
|
6613
|
+
} else if (useHTML) {
|
|
6614
|
+
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
6553
6615
|
key: 2,
|
|
6554
|
-
class: 'vxe-tooltip--content',
|
|
6555
6616
|
innerHTML: tipContent
|
|
6556
|
-
});
|
|
6617
|
+
}));
|
|
6618
|
+
} else {
|
|
6619
|
+
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
6620
|
+
key: 3
|
|
6621
|
+
}, `${tipContent}`));
|
|
6557
6622
|
}
|
|
6558
6623
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
6559
6624
|
key: 3,
|
|
6560
|
-
|
|
6561
|
-
|
|
6625
|
+
ref: contentWrapperfElem,
|
|
6626
|
+
class: 'vxe-tooltip--content',
|
|
6627
|
+
style: wrapperStyle
|
|
6628
|
+
}, contVNs);
|
|
6562
6629
|
};
|
|
6563
6630
|
const renderVN = () => {
|
|
6564
6631
|
const {
|
|
@@ -6617,6 +6684,12 @@ function handleBooleanDefaultValue(value) {
|
|
|
6617
6684
|
reactData.isUpdate = false;
|
|
6618
6685
|
});
|
|
6619
6686
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
6687
|
+
const contentWrapperfEl = contentWrapperfElem.value;
|
|
6688
|
+
if (contentWrapperfEl) {
|
|
6689
|
+
contentWrapperfEl.addEventListener('wheel', wheelEvent, {
|
|
6690
|
+
passive: false
|
|
6691
|
+
});
|
|
6692
|
+
}
|
|
6620
6693
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
6621
6694
|
const {
|
|
6622
6695
|
trigger,
|
|
@@ -6665,6 +6738,10 @@ function handleBooleanDefaultValue(value) {
|
|
|
6665
6738
|
target.onmouseleave = null;
|
|
6666
6739
|
target.onclick = null;
|
|
6667
6740
|
}
|
|
6741
|
+
const contentWrapperfEl = contentWrapperfElem.value;
|
|
6742
|
+
if (contentWrapperfEl) {
|
|
6743
|
+
contentWrapperfEl.removeEventListener('wheel', wheelEvent);
|
|
6744
|
+
}
|
|
6668
6745
|
if (wrapperElem) {
|
|
6669
6746
|
const parentNode = wrapperElem.parentNode;
|
|
6670
6747
|
if (parentNode) {
|
|
@@ -9190,6 +9267,10 @@ const Calendar = VxeCalendar;
|
|
|
9190
9267
|
padding: {
|
|
9191
9268
|
type: Boolean,
|
|
9192
9269
|
default: () => getConfig().card.padding
|
|
9270
|
+
},
|
|
9271
|
+
size: {
|
|
9272
|
+
type: String,
|
|
9273
|
+
default: () => getConfig().card.size || getConfig().size
|
|
9193
9274
|
}
|
|
9194
9275
|
},
|
|
9195
9276
|
emits: [],
|
|
@@ -9200,6 +9281,9 @@ const Calendar = VxeCalendar;
|
|
|
9200
9281
|
} = context;
|
|
9201
9282
|
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
9202
9283
|
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
9284
|
+
const {
|
|
9285
|
+
computeSize
|
|
9286
|
+
} = useSize(props);
|
|
9203
9287
|
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
|
|
9204
9288
|
const refMaps = {
|
|
9205
9289
|
refElem
|
|
@@ -9218,7 +9302,9 @@ const Calendar = VxeCalendar;
|
|
|
9218
9302
|
}
|
|
9219
9303
|
return stys;
|
|
9220
9304
|
});
|
|
9221
|
-
const computeMaps = {
|
|
9305
|
+
const computeMaps = {
|
|
9306
|
+
computeSize
|
|
9307
|
+
};
|
|
9222
9308
|
const $xeCard = {
|
|
9223
9309
|
xID,
|
|
9224
9310
|
props,
|
|
@@ -9253,10 +9339,12 @@ const Calendar = VxeCalendar;
|
|
|
9253
9339
|
const footerSlot = slots.footer;
|
|
9254
9340
|
const leftSlot = slots.left;
|
|
9255
9341
|
const rightSlot = slots.right;
|
|
9342
|
+
const vSize = computeSize.value;
|
|
9256
9343
|
const cardStyle = computeCardStyle.value;
|
|
9257
9344
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9258
9345
|
ref: refElem,
|
|
9259
9346
|
class: ['vxe-card', {
|
|
9347
|
+
[`size--${vSize}`]: vSize,
|
|
9260
9348
|
'is--border': border,
|
|
9261
9349
|
'is--shadow': shadow,
|
|
9262
9350
|
'is--padding': padding
|
|
@@ -16049,6 +16137,14 @@ const ColorPicker = VxeColorPicker;
|
|
|
16049
16137
|
dispatchEvent('click', {}, evnt);
|
|
16050
16138
|
}
|
|
16051
16139
|
};
|
|
16140
|
+
const dblclickEvent = evnt => {
|
|
16141
|
+
const {
|
|
16142
|
+
loading
|
|
16143
|
+
} = props;
|
|
16144
|
+
if (!loading) {
|
|
16145
|
+
dispatchEvent('dblclick', {}, evnt);
|
|
16146
|
+
}
|
|
16147
|
+
};
|
|
16052
16148
|
const prefixEvent = evnt => {
|
|
16053
16149
|
const {
|
|
16054
16150
|
loading
|
|
@@ -16121,7 +16217,9 @@ const ColorPicker = VxeColorPicker;
|
|
|
16121
16217
|
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
16122
16218
|
key: 'ct',
|
|
16123
16219
|
ref: refContentElem,
|
|
16124
|
-
class: 'vxe-text--content'
|
|
16220
|
+
class: 'vxe-text--content',
|
|
16221
|
+
onClick: clickEvent,
|
|
16222
|
+
onDblclick: dblclickEvent
|
|
16125
16223
|
}, defaultSlot ? defaultSlot({}) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(content)));
|
|
16126
16224
|
if (suffixIcon) {
|
|
16127
16225
|
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
@@ -16153,8 +16251,7 @@ const ColorPicker = VxeColorPicker;
|
|
|
16153
16251
|
[`theme--${status}`]: status,
|
|
16154
16252
|
'is--copy': clickToCopy,
|
|
16155
16253
|
'is--loading': loading
|
|
16156
|
-
}]
|
|
16157
|
-
onClick: clickEvent
|
|
16254
|
+
}]
|
|
16158
16255
|
}, renderContent());
|
|
16159
16256
|
};
|
|
16160
16257
|
$xeText.renderVN = renderVN;
|
|
@@ -33895,7 +33992,11 @@ const Select = VxeSelect;
|
|
|
33895
33992
|
itemConfig: Object,
|
|
33896
33993
|
barConfig: Object,
|
|
33897
33994
|
resizeConfig: Object,
|
|
33898
|
-
actionConfig: Object
|
|
33995
|
+
actionConfig: Object,
|
|
33996
|
+
size: {
|
|
33997
|
+
type: String,
|
|
33998
|
+
default: () => getConfig().split.size || getConfig().size
|
|
33999
|
+
}
|
|
33899
34000
|
},
|
|
33900
34001
|
emits: ['action-dblclick', 'action-click', 'toggle-expand', 'resize-start', 'resize-drag', 'resize-end'],
|
|
33901
34002
|
setup(props, context) {
|
|
@@ -33907,6 +34008,9 @@ const Select = VxeSelect;
|
|
|
33907
34008
|
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
33908
34009
|
const refBarInfoElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
33909
34010
|
const refResizableSplitTip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
34011
|
+
const {
|
|
34012
|
+
computeSize
|
|
34013
|
+
} = useSize(props);
|
|
33910
34014
|
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({
|
|
33911
34015
|
staticItems: [],
|
|
33912
34016
|
itemList: [],
|
|
@@ -34616,6 +34720,7 @@ const Select = VxeSelect;
|
|
|
34616
34720
|
const {
|
|
34617
34721
|
itemList
|
|
34618
34722
|
} = reactData;
|
|
34723
|
+
const vSize = computeSize.value;
|
|
34619
34724
|
const resizeOpts = computeResizeOpts.value;
|
|
34620
34725
|
const {
|
|
34621
34726
|
immediate
|
|
@@ -34670,6 +34775,7 @@ const Select = VxeSelect;
|
|
|
34670
34775
|
itemVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
34671
34776
|
itemid: id,
|
|
34672
34777
|
class: ['vxe-split-pane', vertical ? 'is--vertical' : 'is--horizontal', immediate ? 'is-resize--immediate' : 'is-resize--lazy', {
|
|
34778
|
+
[`size--${vSize}`]: vSize,
|
|
34673
34779
|
'is--resize': resize,
|
|
34674
34780
|
'is--padding': padding,
|
|
34675
34781
|
'is--border': border,
|
|
@@ -34703,6 +34809,7 @@ const Select = VxeSelect;
|
|
|
34703
34809
|
width,
|
|
34704
34810
|
height
|
|
34705
34811
|
} = props;
|
|
34812
|
+
const vSize = computeSize.value;
|
|
34706
34813
|
const resizeOpts = computeResizeOpts.value;
|
|
34707
34814
|
const {
|
|
34708
34815
|
immediate,
|
|
@@ -34718,7 +34825,9 @@ const Select = VxeSelect;
|
|
|
34718
34825
|
}
|
|
34719
34826
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
34720
34827
|
ref: refElem,
|
|
34721
|
-
class: ['vxe-split', vertical ? 'is--vertical' : 'is--horizontal', immediate ? 'is-resize--immediate' : 'is-resize--lazy'
|
|
34828
|
+
class: ['vxe-split', vertical ? 'is--vertical' : 'is--horizontal', immediate ? 'is-resize--immediate' : 'is-resize--lazy', {
|
|
34829
|
+
[`size--${vSize}`]: vSize
|
|
34830
|
+
}],
|
|
34722
34831
|
style: stys
|
|
34723
34832
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
34724
34833
|
class: 'vxe-split-slots'
|
|
@@ -36422,6 +36531,10 @@ const scrollbarOffsetSize = 20;
|
|
|
36422
36531
|
beforeChangeMethod: Function,
|
|
36423
36532
|
closeConfig: Object,
|
|
36424
36533
|
refreshConfig: Object,
|
|
36534
|
+
size: {
|
|
36535
|
+
type: String,
|
|
36536
|
+
default: () => getConfig().tabs.size || getConfig().size
|
|
36537
|
+
},
|
|
36425
36538
|
// 已废弃
|
|
36426
36539
|
beforeCloseMethod: Function
|
|
36427
36540
|
},
|
|
@@ -36433,6 +36546,9 @@ const scrollbarOffsetSize = 20;
|
|
|
36433
36546
|
} = context;
|
|
36434
36547
|
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
36435
36548
|
const $xeParentTabs = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeTabs', null);
|
|
36549
|
+
const {
|
|
36550
|
+
computeSize
|
|
36551
|
+
} = useSize(props);
|
|
36436
36552
|
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
36437
36553
|
const refHeadWrapperElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
36438
36554
|
const refHeadPrevElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
@@ -37228,6 +37344,7 @@ const scrollbarOffsetSize = 20;
|
|
|
37228
37344
|
activeName,
|
|
37229
37345
|
cacheTabMaps
|
|
37230
37346
|
} = reactData;
|
|
37347
|
+
const vSize = computeSize.value;
|
|
37231
37348
|
const tabType = computeTabType.value;
|
|
37232
37349
|
const tabPosition = computeTabPosition.value;
|
|
37233
37350
|
const refreshOpts = computeRefreshOpts.value;
|
|
@@ -37253,6 +37370,7 @@ const scrollbarOffsetSize = 20;
|
|
|
37253
37370
|
class: 'vxe-tabs-pane--header'
|
|
37254
37371
|
}, callSlot(headerpSlot, defParams)) : renderEmptyElement($xeTabs), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
37255
37372
|
class: ['vxe-tabs-pane--body', `type--${tabType}`, `pos--${tabPosition}`, {
|
|
37373
|
+
[`size--${vSize}`]: vSize,
|
|
37256
37374
|
'is--padding': padding,
|
|
37257
37375
|
'is--height': height
|
|
37258
37376
|
}]
|
|
@@ -37272,6 +37390,7 @@ const scrollbarOffsetSize = 20;
|
|
|
37272
37390
|
const {
|
|
37273
37391
|
activeName
|
|
37274
37392
|
} = reactData;
|
|
37393
|
+
const vSize = computeSize.value;
|
|
37275
37394
|
const tabOptions = computeTabOptions.value;
|
|
37276
37395
|
const tabStaticOptions = computeTabStaticOptions.value;
|
|
37277
37396
|
const tabType = computeTabType.value;
|
|
@@ -37293,6 +37412,7 @@ const scrollbarOffsetSize = 20;
|
|
|
37293
37412
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
37294
37413
|
ref: refElem,
|
|
37295
37414
|
class: ['vxe-tabs', `pos--${tabPosition}`, `vxe-tabs--${tabType}`, `trigger--${trigger === 'manual' ? 'trigger' : 'default'}`, {
|
|
37415
|
+
[`size--${vSize}`]: vSize,
|
|
37296
37416
|
'is--padding': padding,
|
|
37297
37417
|
'is--height': height
|
|
37298
37418
|
}],
|