vxe-pc-ui 4.5.5 → 4.5.7
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/README.md +1 -1
- package/es/components.js +3 -3
- package/es/icon/style.css +1 -1
- package/es/modal/src/modal.js +1 -2
- package/es/split/src/{split-item.js → split-pane.js} +14 -14
- package/es/split/src/split.js +10 -10
- package/es/split/src/util.js +4 -4
- package/es/split/style.css +35 -35
- package/es/split/style.min.css +1 -1
- package/es/split-pane/index.js +13 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +2 -2
- package/es/ui/src/log.js +1 -1
- package/es/upload/src/upload.js +15 -15
- package/es/upload/style.css +1 -1
- package/es/upload/style.min.css +1 -1
- package/es/vxe-split/style.css +35 -35
- package/es/vxe-split/style.min.css +1 -1
- package/es/vxe-split-pane/index.js +3 -0
- package/es/vxe-upload/style.css +1 -1
- package/es/vxe-upload/style.min.css +1 -1
- package/lib/components.js +5 -5
- package/lib/components.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +63 -63
- package/lib/index.umd.min.js +1 -1
- package/lib/modal/src/modal.js +1 -2
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/split/src/{split-item.js → split-pane.js} +14 -14
- package/lib/split/src/{split-item.min.js → split-pane.min.js} +1 -1
- package/lib/split/src/split.js +10 -10
- package/lib/split/src/split.min.js +1 -1
- package/lib/split/src/util.js +4 -4
- package/lib/split/style/style.css +35 -35
- package/lib/split/style/style.min.css +1 -1
- package/lib/split-pane/index.js +20 -0
- package/lib/split-pane/index.min.js +1 -0
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +2 -2
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/upload/src/upload.js +16 -16
- package/lib/upload/src/upload.min.js +1 -1
- package/lib/upload/style/style.css +1 -1
- package/lib/upload/style/style.min.css +1 -1
- package/lib/vxe-split/style/style.css +35 -35
- package/lib/vxe-split/style/style.min.css +1 -1
- package/lib/{vxe-split-item → vxe-split-pane}/index.js +5 -5
- package/lib/vxe-split-pane/index.min.js +1 -0
- package/lib/vxe-upload/style/style.css +1 -1
- package/lib/vxe-upload/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/components.ts +3 -3
- package/packages/modal/src/modal.ts +1 -2
- package/packages/split/src/{split-item.ts → split-pane.ts} +25 -25
- package/packages/split/src/split.ts +17 -17
- package/packages/split/src/util.ts +4 -4
- package/packages/split-pane/index.ts +17 -0
- package/packages/ui/index.ts +1 -1
- package/packages/upload/src/upload.ts +15 -15
- package/styles/all.scss +1 -1
- package/styles/components/split.scss +30 -30
- package/styles/components/upload.scss +1 -1
- package/types/all.d.ts +3 -3
- package/types/components/split-pane.d.ts +96 -0
- package/types/components/split.d.ts +20 -20
- package/types/ui/global-config.d.ts +2 -2
- package/es/split-item/index.js +0 -12
- package/es/vxe-split-item/index.js +0 -3
- package/lib/split-item/index.js +0 -19
- package/lib/split-item/index.min.js +0 -1
- package/lib/vxe-split-item/index.min.js +0 -1
- package/packages/split-item/index.ts +0 -16
- package/types/components/split-item.d.ts +0 -96
- /package/es/icon/{iconfont.1743138565378.ttf → iconfont.1743248072130.ttf} +0 -0
- /package/es/icon/{iconfont.1743138565378.woff → iconfont.1743248072130.woff} +0 -0
- /package/es/icon/{iconfont.1743138565378.woff2 → iconfont.1743248072130.woff2} +0 -0
- /package/es/{iconfont.1743138565378.ttf → iconfont.1743248072130.ttf} +0 -0
- /package/es/{iconfont.1743138565378.woff → iconfont.1743248072130.woff} +0 -0
- /package/es/{iconfont.1743138565378.woff2 → iconfont.1743248072130.woff2} +0 -0
- /package/es/{split-item → split-pane}/style.css +0 -0
- /package/es/{split-item → split-pane}/style.min.css +0 -0
- /package/es/{vxe-split-item → vxe-split-pane}/style.css +0 -0
- /package/es/{vxe-split-item → vxe-split-pane}/style.min.css +0 -0
- /package/lib/icon/style/{iconfont.1743138565378.ttf → iconfont.1743248072130.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1743138565378.woff → iconfont.1743248072130.woff} +0 -0
- /package/lib/icon/style/{iconfont.1743138565378.woff2 → iconfont.1743248072130.woff2} +0 -0
- /package/lib/{iconfont.1743138565378.ttf → iconfont.1743248072130.ttf} +0 -0
- /package/lib/{iconfont.1743138565378.woff → iconfont.1743248072130.woff} +0 -0
- /package/lib/{iconfont.1743138565378.woff2 → iconfont.1743248072130.woff2} +0 -0
- /package/lib/{split-item → split-pane}/style/index.js +0 -0
- /package/lib/{split-item → split-pane}/style/style.css +0 -0
- /package/lib/{split-item → split-pane}/style/style.min.css +0 -0
- /package/lib/{vxe-split-item → vxe-split-pane}/style/index.js +0 -0
- /package/lib/{vxe-split-item → vxe-split-pane}/style/style.css +0 -0
- /package/lib/{vxe-split-item → vxe-split-pane}/style/style.min.css +0 -0
- /package/styles/components/{split-item.scss → split-pane.scss} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -1956,7 +1956,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1956
1956
|
Select: function() { return /* reexport */ Select; },
|
|
1957
1957
|
Slider: function() { return /* reexport */ Slider; },
|
|
1958
1958
|
Split: function() { return /* reexport */ Split; },
|
|
1959
|
-
|
|
1959
|
+
SplitPane: function() { return /* reexport */ SplitPane; },
|
|
1960
1960
|
Steps: function() { return /* reexport */ Steps; },
|
|
1961
1961
|
Switch: function() { return /* reexport */ Switch; },
|
|
1962
1962
|
TabPane: function() { return /* reexport */ TabPane; },
|
|
@@ -2038,7 +2038,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
2038
2038
|
VxeSelect: function() { return /* reexport */ VxeSelect; },
|
|
2039
2039
|
VxeSlider: function() { return /* reexport */ VxeSlider; },
|
|
2040
2040
|
VxeSplit: function() { return /* reexport */ VxeSplit; },
|
|
2041
|
-
|
|
2041
|
+
VxeSplitPane: function() { return /* reexport */ VxeSplitPane; },
|
|
2042
2042
|
VxeSteps: function() { return /* reexport */ VxeSteps; },
|
|
2043
2043
|
VxeSwitch: function() { return /* reexport */ VxeSwitch; },
|
|
2044
2044
|
VxeTabPane: function() { return /* reexport */ VxeTabPane; },
|
|
@@ -2178,7 +2178,7 @@ __webpack_require__.d(components_namespaceObject, {
|
|
|
2178
2178
|
Select: function() { return Select; },
|
|
2179
2179
|
Slider: function() { return Slider; },
|
|
2180
2180
|
Split: function() { return Split; },
|
|
2181
|
-
|
|
2181
|
+
SplitPane: function() { return SplitPane; },
|
|
2182
2182
|
Steps: function() { return Steps; },
|
|
2183
2183
|
Switch: function() { return Switch; },
|
|
2184
2184
|
TabPane: function() { return TabPane; },
|
|
@@ -2260,7 +2260,7 @@ __webpack_require__.d(components_namespaceObject, {
|
|
|
2260
2260
|
VxeSelect: function() { return VxeSelect; },
|
|
2261
2261
|
VxeSlider: function() { return VxeSlider; },
|
|
2262
2262
|
VxeSplit: function() { return VxeSplit; },
|
|
2263
|
-
|
|
2263
|
+
VxeSplitPane: function() { return VxeSplitPane; },
|
|
2264
2264
|
VxeSteps: function() { return VxeSteps; },
|
|
2265
2265
|
VxeSwitch: function() { return VxeSwitch; },
|
|
2266
2266
|
VxeTabPane: function() { return VxeTabPane; },
|
|
@@ -4183,14 +4183,14 @@ function checkDynamic() {
|
|
|
4183
4183
|
}
|
|
4184
4184
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
4185
4185
|
|
|
4186
|
-
const log_version = `ui v${"4.5.
|
|
4186
|
+
const log_version = `ui v${"4.5.7"}`;
|
|
4187
4187
|
const warnLog = log.create('warn', log_version);
|
|
4188
4188
|
const errLog = log.create('error', log_version);
|
|
4189
4189
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
4190
4190
|
|
|
4191
4191
|
|
|
4192
4192
|
|
|
4193
|
-
const ui_version = "4.5.
|
|
4193
|
+
const ui_version = "4.5.7";
|
|
4194
4194
|
index_esm_VxeUI.uiVersion = ui_version;
|
|
4195
4195
|
index_esm_VxeUI.dynamicApp = dynamicApp;
|
|
4196
4196
|
function config(options) {
|
|
@@ -4463,7 +4463,7 @@ setConfig({
|
|
|
4463
4463
|
minHeight: 40
|
|
4464
4464
|
}
|
|
4465
4465
|
},
|
|
4466
|
-
|
|
4466
|
+
splitPane: {},
|
|
4467
4467
|
slider: {
|
|
4468
4468
|
max: 100,
|
|
4469
4469
|
min: 0
|
|
@@ -22996,7 +22996,6 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
22996
22996
|
showMaximize,
|
|
22997
22997
|
draggable
|
|
22998
22998
|
} = props;
|
|
22999
|
-
const isMsg = computeIsMsg.value;
|
|
23000
22999
|
const headerSlot = slots.header || propSlots.header;
|
|
23001
23000
|
if (props.showHeader) {
|
|
23002
23001
|
const headerOns = {};
|
|
@@ -23009,7 +23008,7 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
23009
23008
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
23010
23009
|
ref: refHeaderElem,
|
|
23011
23010
|
class: ['vxe-modal--header', {
|
|
23012
|
-
'is--ellipsis':
|
|
23011
|
+
'is--ellipsis': props.showTitleOverflow
|
|
23013
23012
|
}],
|
|
23014
23013
|
...headerOns
|
|
23015
23014
|
}, headerSlot ? getSlotVNs(headerSlot({
|
|
@@ -34605,7 +34604,7 @@ const saveLocalFile = options => {
|
|
|
34605
34604
|
}
|
|
34606
34605
|
return '';
|
|
34607
34606
|
});
|
|
34608
|
-
const
|
|
34607
|
+
const computedDefTipText = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
34609
34608
|
const {
|
|
34610
34609
|
limitSize,
|
|
34611
34610
|
fileTypes,
|
|
@@ -34618,26 +34617,26 @@ const saveLocalFile = options => {
|
|
|
34618
34617
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(tipText)) {
|
|
34619
34618
|
return tipText;
|
|
34620
34619
|
}
|
|
34621
|
-
const
|
|
34620
|
+
const defTips = [];
|
|
34622
34621
|
if (isImage) {
|
|
34623
34622
|
if (multiple && limitCount) {
|
|
34624
|
-
|
|
34623
|
+
defTips.push(i18n_getI18n('vxe.upload.imgCountHint', [limitCount]));
|
|
34625
34624
|
}
|
|
34626
34625
|
if (limitSize && limitSizeUnit) {
|
|
34627
|
-
|
|
34626
|
+
defTips.push(i18n_getI18n('vxe.upload.imgSizeHint', [limitSizeUnit]));
|
|
34628
34627
|
}
|
|
34629
34628
|
} else {
|
|
34630
34629
|
if (fileTypes && fileTypes.length) {
|
|
34631
|
-
|
|
34630
|
+
defTips.push(i18n_getI18n('vxe.upload.fileTypeHint', [fileTypes.join('/')]));
|
|
34632
34631
|
}
|
|
34633
34632
|
if (limitSize && limitSizeUnit) {
|
|
34634
|
-
|
|
34633
|
+
defTips.push(i18n_getI18n('vxe.upload.fileSizeHint', [limitSizeUnit]));
|
|
34635
34634
|
}
|
|
34636
34635
|
if (multiple && limitCount) {
|
|
34637
|
-
|
|
34636
|
+
defTips.push(i18n_getI18n('vxe.upload.fileCountHint', [limitCount]));
|
|
34638
34637
|
}
|
|
34639
34638
|
}
|
|
34640
|
-
return
|
|
34639
|
+
return defTips.join(i18n_getI18n('vxe.base.comma'));
|
|
34641
34640
|
});
|
|
34642
34641
|
const computeImageOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
34643
34642
|
return Object.assign({}, props.imageConfig || props.imageStyle);
|
|
@@ -35575,7 +35574,7 @@ const saveLocalFile = options => {
|
|
|
35575
35574
|
} = props;
|
|
35576
35575
|
const isDisabled = computeIsDisabled.value;
|
|
35577
35576
|
const formReadonly = computeFormReadonly.value;
|
|
35578
|
-
const
|
|
35577
|
+
const defTipText = computedDefTipText.value;
|
|
35579
35578
|
const overCount = computeOverCount.value;
|
|
35580
35579
|
const defaultSlot = slots.default;
|
|
35581
35580
|
const tipSlot = slots.tip || slots.hint;
|
|
@@ -35594,11 +35593,11 @@ const saveLocalFile = options => {
|
|
|
35594
35593
|
content: isMoreView || showButtonText ? buttonText ? `${buttonText}` : i18n_getI18n('vxe.upload.fileBtnText') : '',
|
|
35595
35594
|
icon: showButtonIcon ? buttonIcon || getIcon().UPLOAD_FILE_ADD : '',
|
|
35596
35595
|
disabled: isDisabled
|
|
35597
|
-
})]),
|
|
35596
|
+
})]), defTipText || tipSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35598
35597
|
class: 'vxe-upload--file-action-tip'
|
|
35599
35598
|
}, tipSlot ? getSlotVNs(tipSlot({
|
|
35600
35599
|
$upload: $xeUpload
|
|
35601
|
-
})) :
|
|
35600
|
+
})) : defTipText) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
|
|
35602
35601
|
};
|
|
35603
35602
|
const renderAllMode = () => {
|
|
35604
35603
|
const {
|
|
@@ -35754,11 +35753,11 @@ const saveLocalFile = options => {
|
|
|
35754
35753
|
autoHiddenButton
|
|
35755
35754
|
} = props;
|
|
35756
35755
|
const formReadonly = computeFormReadonly.value;
|
|
35757
|
-
const
|
|
35756
|
+
const defTipText = computedDefTipText.value;
|
|
35758
35757
|
const overCount = computeOverCount.value;
|
|
35759
35758
|
const imgStyle = computeImgStyle.value;
|
|
35760
35759
|
const defaultSlot = slots.default;
|
|
35761
|
-
const
|
|
35760
|
+
const tipSlot = slots.tip || slots.hint;
|
|
35762
35761
|
if (formReadonly || !showUploadButton || autoHiddenButton && overCount) {
|
|
35763
35762
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)();
|
|
35764
35763
|
}
|
|
@@ -35779,11 +35778,11 @@ const saveLocalFile = options => {
|
|
|
35779
35778
|
class: buttonIcon || getIcon().UPLOAD_IMAGE_ADD
|
|
35780
35779
|
})]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), isMoreView || showButtonText ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35781
35780
|
class: 'vxe-upload--image-action-content'
|
|
35782
|
-
}, buttonText ? `${buttonText}` : i18n_getI18n('vxe.upload.imgBtnText')) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(),
|
|
35781
|
+
}, buttonText ? `${buttonText}` : i18n_getI18n('vxe.upload.imgBtnText')) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), defTipText || tipSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35783
35782
|
class: 'vxe-upload--image-action-hint'
|
|
35784
|
-
},
|
|
35783
|
+
}, tipSlot ? getSlotVNs(tipSlot({
|
|
35785
35784
|
$upload: $xeUpload
|
|
35786
|
-
})) :
|
|
35785
|
+
})) : defTipText) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()])])]);
|
|
35787
35786
|
};
|
|
35788
35787
|
const renderImageMode = () => {
|
|
35789
35788
|
const {
|
|
@@ -45290,7 +45289,7 @@ const Select = VxeSelect;
|
|
|
45290
45289
|
});
|
|
45291
45290
|
});
|
|
45292
45291
|
if (staticItems.length) {
|
|
45293
|
-
errLog('vxe.error.errConflicts', ['<vxe-split-
|
|
45292
|
+
errLog('vxe.error.errConflicts', ['<vxe-split-pane ...>', 'items']);
|
|
45294
45293
|
}
|
|
45295
45294
|
return recalculate();
|
|
45296
45295
|
};
|
|
@@ -45402,8 +45401,8 @@ const Select = VxeSelect;
|
|
|
45402
45401
|
const allMinWidth = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(itemOpts.minWidth);
|
|
45403
45402
|
const allMinHeight = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(itemOpts.minHeight);
|
|
45404
45403
|
const targetItem = itemList[itemIndex + (isFoldNext ? 1 : -1)];
|
|
45405
|
-
const targetItemEl = targetItem ? el.querySelector(`.vxe-split-
|
|
45406
|
-
const currItemEl = item ? el.querySelector(`.vxe-split-
|
|
45404
|
+
const targetItemEl = targetItem ? el.querySelector(`.vxe-split-pane[itemid="${targetItem.id}"]`) : null;
|
|
45405
|
+
const currItemEl = item ? el.querySelector(`.vxe-split-pane[itemid="${item.id}"]`) : null;
|
|
45407
45406
|
const targetWidth = targetItemEl ? targetItemEl.clientWidth : 0;
|
|
45408
45407
|
const currWidth = currItemEl ? currItemEl.clientWidth : 0;
|
|
45409
45408
|
const targetHeight = targetItemEl ? targetItemEl.clientHeight : 0;
|
|
@@ -45617,13 +45616,13 @@ const Select = VxeSelect;
|
|
|
45617
45616
|
} = item;
|
|
45618
45617
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
45619
45618
|
itemid: id,
|
|
45620
|
-
class: ['vxe-split-
|
|
45619
|
+
class: ['vxe-split-pane-handle', isFoldNext ? 'to--next' : 'to--prev']
|
|
45621
45620
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
45622
|
-
class: 'vxe-split-
|
|
45621
|
+
class: 'vxe-split-pane-handle-bar',
|
|
45623
45622
|
style: barStyle,
|
|
45624
45623
|
onMousedown: dragEvent
|
|
45625
45624
|
}), showAction ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
45626
|
-
class: 'vxe-split-
|
|
45625
|
+
class: 'vxe-split-pane-action-btn',
|
|
45627
45626
|
onDblclick: handleActionDblclickEvent,
|
|
45628
45627
|
onClick: handleActionClickEvent
|
|
45629
45628
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
@@ -45670,7 +45669,7 @@ const Select = VxeSelect;
|
|
|
45670
45669
|
}
|
|
45671
45670
|
itemVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
45672
45671
|
itemid: id,
|
|
45673
|
-
class: ['vxe-split-
|
|
45672
|
+
class: ['vxe-split-pane', vertical ? 'is--vertical' : 'is--horizontal', {
|
|
45674
45673
|
'is--padding': padding,
|
|
45675
45674
|
'is--border': border,
|
|
45676
45675
|
'is--height': itemHeight,
|
|
@@ -45683,9 +45682,9 @@ const Select = VxeSelect;
|
|
|
45683
45682
|
style: stys
|
|
45684
45683
|
}, [index && !isFoldNext ? renderHandleBar(item) : renderEmptyElement($xeSplit), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
45685
45684
|
itemid: id,
|
|
45686
|
-
class: 'vxe-split-
|
|
45685
|
+
class: 'vxe-split-pane--wrapper'
|
|
45687
45686
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
45688
|
-
class: 'vxe-split-
|
|
45687
|
+
class: 'vxe-split-pane--inner'
|
|
45689
45688
|
}, defaultSlot ? callSlot(defaultSlot, {
|
|
45690
45689
|
name,
|
|
45691
45690
|
isVisible,
|
|
@@ -45730,7 +45729,7 @@ const Select = VxeSelect;
|
|
|
45730
45729
|
});
|
|
45731
45730
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => reactData.staticItems, val => {
|
|
45732
45731
|
if (props.items && props.items.length) {
|
|
45733
|
-
errLog('vxe.error.errConflicts', ['<vxe-split-
|
|
45732
|
+
errLog('vxe.error.errConflicts', ['<vxe-split-pane ...>', 'items']);
|
|
45734
45733
|
}
|
|
45735
45734
|
reactData.itemList = val;
|
|
45736
45735
|
recalculate();
|
|
@@ -45773,29 +45772,29 @@ const Split = VxeSplit;
|
|
|
45773
45772
|
/* harmony default export */ var packages_split = (VxeSplit);
|
|
45774
45773
|
;// CONCATENATED MODULE: ./packages/split/src/util.ts
|
|
45775
45774
|
|
|
45776
|
-
function assembleSplitItem($xeSplit, elem,
|
|
45775
|
+
function assembleSplitItem($xeSplit, elem, paneConfig) {
|
|
45777
45776
|
const staticItems = $xeSplit.reactData.staticItems;
|
|
45778
45777
|
const parentElem = elem.parentNode;
|
|
45779
45778
|
if (parentElem) {
|
|
45780
|
-
staticItems.splice(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayIndexOf(parentElem.children, elem), 0,
|
|
45779
|
+
staticItems.splice(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayIndexOf(parentElem.children, elem), 0, paneConfig);
|
|
45781
45780
|
$xeSplit.reactData.staticItems = staticItems.slice(0);
|
|
45782
45781
|
}
|
|
45783
45782
|
}
|
|
45784
|
-
function destroySplitItem($xeSplit,
|
|
45783
|
+
function destroySplitItem($xeSplit, paneConfig) {
|
|
45785
45784
|
const staticItems = $xeSplit.reactData.staticItems;
|
|
45786
|
-
const index = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findIndexOf(staticItems, item => item.id ===
|
|
45785
|
+
const index = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findIndexOf(staticItems, item => item.id === paneConfig.id);
|
|
45787
45786
|
if (index > -1) {
|
|
45788
45787
|
staticItems.splice(index, 1);
|
|
45789
45788
|
}
|
|
45790
45789
|
$xeSplit.reactData.staticItems = staticItems.slice(0);
|
|
45791
45790
|
}
|
|
45792
|
-
;// CONCATENATED MODULE: ./packages/split/src/split-
|
|
45791
|
+
;// CONCATENATED MODULE: ./packages/split/src/split-pane.ts
|
|
45793
45792
|
|
|
45794
45793
|
|
|
45795
45794
|
|
|
45796
45795
|
|
|
45797
|
-
/* harmony default export */ var
|
|
45798
|
-
name: '
|
|
45796
|
+
/* harmony default export */ var split_pane = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
45797
|
+
name: 'VxeSplitPane',
|
|
45799
45798
|
props: {
|
|
45800
45799
|
name: [Number, String],
|
|
45801
45800
|
width: [Number, String],
|
|
@@ -45819,7 +45818,7 @@ function destroySplitItem($xeSplit, chunkConfig) {
|
|
|
45819
45818
|
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
45820
45819
|
const $xeSplit = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeSplit', null);
|
|
45821
45820
|
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
45822
|
-
const
|
|
45821
|
+
const paneConfig = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({
|
|
45823
45822
|
id: xID,
|
|
45824
45823
|
name: props.name,
|
|
45825
45824
|
width: props.width,
|
|
@@ -45854,46 +45853,46 @@ function destroySplitItem($xeSplit, chunkConfig) {
|
|
|
45854
45853
|
};
|
|
45855
45854
|
const dispatchEvent = (type, params, evnt) => {
|
|
45856
45855
|
emit(type, createEvent(evnt, {
|
|
45857
|
-
$
|
|
45856
|
+
$splitPane: $xeSplitItem
|
|
45858
45857
|
}, params));
|
|
45859
45858
|
};
|
|
45860
|
-
const
|
|
45859
|
+
const splitPaneMethods = {
|
|
45861
45860
|
dispatchEvent
|
|
45862
45861
|
};
|
|
45863
|
-
const
|
|
45864
|
-
Object.assign($xeSplitItem,
|
|
45862
|
+
const splitPanePrivateMethods = {};
|
|
45863
|
+
Object.assign($xeSplitItem, splitPaneMethods, splitPanePrivateMethods);
|
|
45865
45864
|
const renderVN = () => {
|
|
45866
45865
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
45867
45866
|
ref: refElem
|
|
45868
45867
|
});
|
|
45869
45868
|
};
|
|
45870
45869
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.name, val => {
|
|
45871
|
-
|
|
45870
|
+
paneConfig.name = val;
|
|
45872
45871
|
});
|
|
45873
45872
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.width, val => {
|
|
45874
|
-
|
|
45873
|
+
paneConfig.width = val;
|
|
45875
45874
|
});
|
|
45876
45875
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.height, val => {
|
|
45877
|
-
|
|
45876
|
+
paneConfig.height = val;
|
|
45878
45877
|
});
|
|
45879
45878
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.minWidth, val => {
|
|
45880
|
-
|
|
45879
|
+
paneConfig.minWidth = val;
|
|
45881
45880
|
});
|
|
45882
45881
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.minHeight, val => {
|
|
45883
|
-
|
|
45882
|
+
paneConfig.minHeight = val;
|
|
45884
45883
|
});
|
|
45885
45884
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.showAction, val => {
|
|
45886
|
-
|
|
45885
|
+
paneConfig.showAction = val;
|
|
45887
45886
|
});
|
|
45888
45887
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
45889
45888
|
const elem = refElem.value;
|
|
45890
45889
|
if ($xeSplit && elem) {
|
|
45891
|
-
assembleSplitItem($xeSplit, elem,
|
|
45890
|
+
assembleSplitItem($xeSplit, elem, paneConfig);
|
|
45892
45891
|
}
|
|
45893
45892
|
});
|
|
45894
45893
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
|
|
45895
45894
|
if ($xeSplit) {
|
|
45896
|
-
destroySplitItem($xeSplit,
|
|
45895
|
+
destroySplitItem($xeSplit, paneConfig);
|
|
45897
45896
|
}
|
|
45898
45897
|
});
|
|
45899
45898
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeSplitItem', $xeSplitItem);
|
|
@@ -45904,19 +45903,20 @@ function destroySplitItem($xeSplit, chunkConfig) {
|
|
|
45904
45903
|
return this.renderVN();
|
|
45905
45904
|
}
|
|
45906
45905
|
}));
|
|
45907
|
-
;// CONCATENATED MODULE: ./packages/split-
|
|
45906
|
+
;// CONCATENATED MODULE: ./packages/split-pane/index.ts
|
|
45908
45907
|
|
|
45909
45908
|
|
|
45910
45909
|
|
|
45911
|
-
const
|
|
45910
|
+
const VxeSplitPane = Object.assign({}, split_pane, {
|
|
45912
45911
|
install(app) {
|
|
45913
|
-
app.component(
|
|
45912
|
+
app.component(split_pane.name, split_pane);
|
|
45913
|
+
app.component('VxeSplitItem', split_pane);
|
|
45914
45914
|
}
|
|
45915
45915
|
});
|
|
45916
|
-
dynamicApp.use(
|
|
45917
|
-
index_esm_VxeUI.component(
|
|
45918
|
-
const
|
|
45919
|
-
/* harmony default export */ var
|
|
45916
|
+
dynamicApp.use(VxeSplitPane);
|
|
45917
|
+
index_esm_VxeUI.component(split_pane);
|
|
45918
|
+
const SplitPane = VxeSplitPane;
|
|
45919
|
+
/* harmony default export */ var packages_split_pane = (VxeSplitPane);
|
|
45920
45920
|
;// CONCATENATED MODULE: ./packages/slider/index.ts
|
|
45921
45921
|
|
|
45922
45922
|
|
|
@@ -47651,7 +47651,7 @@ const Watermark = VxeWatermark;
|
|
|
47651
47651
|
|
|
47652
47652
|
|
|
47653
47653
|
|
|
47654
|
-
const components_components = [packages_alert, packages_anchor, packages_anchor_link, packages_avatar, packages_badge, packages_breadcrumb, packages_breadcrumb_item, packages_button, packages_button_group, packages_calendar, packages_card, packages_carousel, packages_carousel_item, packages_checkbox, checkbox_group, packages_col, packages_collapse, packages_collapse_pane, packages_color_picker, packages_countdown, packages_date_picker, packages_drawer, packages_empty, packages_form, packages_form_design, form_gather, packages_form_group, packages_form_item, packages_form_view, packages_icon, packages_icon_picker, packages_image, image_group, image_preview, packages_input, packages_layout_aside, packages_layout_body, packages_layout_container, packages_layout_footer, packages_layout_header, packages_link, packages_list_design, packages_list_view, packages_list, loading, packages_menu, packages_modal, packages_notice_bar, packages_number_input, packages_optgroup, packages_option, packages_pager, packages_password_input, print_page_break, packages_print, packages_pulldown, packages_radio, radio_button, radio_group, packages_rate, packages_result, packages_row, packages_select, packages_split,
|
|
47654
|
+
const components_components = [packages_alert, packages_anchor, packages_anchor_link, packages_avatar, packages_badge, packages_breadcrumb, packages_breadcrumb_item, packages_button, packages_button_group, packages_calendar, packages_card, packages_carousel, packages_carousel_item, packages_checkbox, checkbox_group, packages_col, packages_collapse, packages_collapse_pane, packages_color_picker, packages_countdown, packages_date_picker, packages_drawer, packages_empty, packages_form, packages_form_design, form_gather, packages_form_group, packages_form_item, packages_form_view, packages_icon, packages_icon_picker, packages_image, image_group, image_preview, packages_input, packages_layout_aside, packages_layout_body, packages_layout_container, packages_layout_footer, packages_layout_header, packages_link, packages_list_design, packages_list_view, packages_list, loading, packages_menu, packages_modal, packages_notice_bar, packages_number_input, packages_optgroup, packages_option, packages_pager, packages_password_input, print_page_break, packages_print, packages_pulldown, packages_radio, radio_button, radio_group, packages_rate, packages_result, packages_row, packages_select, packages_split, packages_split_pane, packages_slider, packages_steps, packages_switch, packages_tab_pane, packages_table_select, packages_tabs, packages_tag, packages_text_ellipsis, packages_text, packages_textarea, packages_tip, packages_tooltip, packages_tree, packages_tree_select, packages_upload, packages_watermark];
|
|
47655
47655
|
function install(app, options) {
|
|
47656
47656
|
setConfig(options);
|
|
47657
47657
|
components_components.forEach(component => app.use(component));
|