vxe-pc-ui 4.10.10 → 4.10.11
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/components.js +6 -0
- package/es/icon/style.css +1 -1
- package/es/split/index.js +2 -2
- package/es/split/style.css +79 -79
- package/es/split/style.min.css +1 -1
- package/es/split-pane/index.js +2 -2
- package/es/splitter/index.js +12 -0
- package/es/{split/src/split-pane.js → splitter/src/splitter-panel.js} +15 -15
- package/es/{split/src/split.js → splitter/src/splitter.js} +137 -68
- package/es/splitter/src/util.js +17 -0
- package/es/splitter/style.css +288 -0
- package/es/splitter/style.min.css +1 -0
- package/es/splitter-panel/index.js +12 -0
- package/es/splitter-panel/style.css +0 -0
- package/es/splitter-panel/style.min.css +0 -0
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +3 -3
- package/es/ui/src/log.js +1 -1
- package/es/vxe-split/style.css +79 -79
- package/es/vxe-split/style.min.css +1 -1
- package/es/vxe-splitter/index.js +3 -0
- package/es/vxe-splitter/style.css +288 -0
- package/es/vxe-splitter/style.min.css +1 -0
- package/es/vxe-splitter-panel/index.js +3 -0
- package/es/vxe-splitter-panel/style.css +0 -0
- package/es/vxe-splitter-panel/style.min.css +0 -0
- package/lib/components.js +25 -1
- 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 +231 -115
- package/lib/index.umd.min.js +1 -1
- package/lib/split/index.js +4 -4
- package/lib/split/index.min.js +1 -1
- package/lib/split/style/style.css +79 -79
- package/lib/split/style/style.min.css +1 -1
- package/lib/split-pane/index.js +5 -5
- package/lib/split-pane/index.min.js +1 -1
- package/lib/splitter/index.js +19 -0
- package/lib/splitter/index.min.js +1 -0
- package/lib/{split/src/split-pane.js → splitter/src/splitter-panel.js} +14 -14
- package/lib/splitter/src/splitter-panel.min.js +1 -0
- package/lib/{split/src/split.js → splitter/src/splitter.js} +150 -72
- package/lib/splitter/src/splitter.min.js +1 -0
- package/lib/{split → splitter}/src/util.js +8 -8
- package/lib/splitter/src/util.min.js +1 -0
- package/lib/splitter/style/index.js +1 -0
- package/lib/splitter/style/style.css +288 -0
- package/lib/splitter/style/style.min.css +1 -0
- package/lib/splitter-panel/index.js +19 -0
- package/lib/splitter-panel/index.min.js +1 -0
- package/lib/splitter-panel/style/index.js +1 -0
- package/lib/splitter-panel/style/style.css +0 -0
- package/lib/splitter-panel/style/style.min.css +0 -0
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +3 -3
- 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/vxe-split/style/style.css +79 -79
- package/lib/vxe-split/style/style.min.css +1 -1
- package/lib/vxe-splitter/index.js +22 -0
- package/lib/vxe-splitter/index.min.js +1 -0
- package/lib/vxe-splitter/style/index.js +1 -0
- package/lib/vxe-splitter/style/style.css +288 -0
- package/lib/vxe-splitter/style/style.min.css +1 -0
- package/lib/vxe-splitter-panel/index.js +22 -0
- package/lib/vxe-splitter-panel/index.min.js +1 -0
- package/lib/vxe-splitter-panel/style/index.js +1 -0
- package/lib/vxe-splitter-panel/style/style.css +0 -0
- package/lib/vxe-splitter-panel/style/style.min.css +0 -0
- package/package.json +1 -1
- package/packages/components.ts +6 -0
- package/packages/split/index.ts +2 -2
- package/packages/split-pane/index.ts +2 -2
- package/packages/splitter/index.ts +16 -0
- package/packages/splitter/src/splitter-panel.ts +145 -0
- package/packages/{split/src/split.ts → splitter/src/splitter.ts} +168 -96
- package/packages/splitter/src/util.ts +21 -0
- package/packages/splitter-panel/index.ts +16 -0
- package/packages/ui/index.ts +2 -2
- package/styles/components/split.scss +1 -317
- package/styles/components/splitter-panel.scss +0 -0
- package/styles/components/splitter.scss +317 -0
- package/styles/theme/base.scss +6 -6
- package/styles/theme/dark.scss +3 -3
- package/styles/theme/light.scss +3 -3
- package/styles/variable.scss +3 -3
- package/types/all.d.ts +6 -0
- package/types/components/split-pane.d.ts +42 -14
- package/types/components/split.d.ts +54 -18
- package/types/components/splitter-panel.d.ts +105 -0
- package/types/components/splitter.d.ts +288 -0
- package/types/ui/global-config.d.ts +4 -0
- package/types/ui/global-icon.d.ts +1 -1
- package/es/split/src/util.js +0 -17
- package/lib/split/src/split-pane.min.js +0 -1
- package/lib/split/src/split.min.js +0 -1
- package/lib/split/src/util.min.js +0 -1
- package/packages/split/src/split-pane.ts +0 -145
- package/packages/split/src/util.ts +0 -21
- /package/es/icon/{iconfont.1761298747069.ttf → iconfont.1761614052122.ttf} +0 -0
- /package/es/icon/{iconfont.1761298747069.woff → iconfont.1761614052122.woff} +0 -0
- /package/es/icon/{iconfont.1761298747069.woff2 → iconfont.1761614052122.woff2} +0 -0
- /package/es/{iconfont.1761298747069.ttf → iconfont.1761614052122.ttf} +0 -0
- /package/es/{iconfont.1761298747069.woff → iconfont.1761614052122.woff} +0 -0
- /package/es/{iconfont.1761298747069.woff2 → iconfont.1761614052122.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1761298747069.ttf → iconfont.1761614052122.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1761298747069.woff → iconfont.1761614052122.woff} +0 -0
- /package/lib/icon/style/{iconfont.1761298747069.woff2 → iconfont.1761614052122.woff2} +0 -0
- /package/lib/{iconfont.1761298747069.ttf → iconfont.1761614052122.ttf} +0 -0
- /package/lib/{iconfont.1761298747069.woff → iconfont.1761614052122.woff} +0 -0
- /package/lib/{iconfont.1761298747069.woff2 → iconfont.1761614052122.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -1956,6 +1956,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1956
1956
|
Slider: function() { return /* reexport */ Slider; },
|
|
1957
1957
|
Split: function() { return /* reexport */ Split; },
|
|
1958
1958
|
SplitPane: function() { return /* reexport */ SplitPane; },
|
|
1959
|
+
Splitter: function() { return /* reexport */ Splitter; },
|
|
1960
|
+
SplitterPanel: function() { return /* reexport */ SplitterPanel; },
|
|
1959
1961
|
Steps: function() { return /* reexport */ Steps; },
|
|
1960
1962
|
Switch: function() { return /* reexport */ Switch; },
|
|
1961
1963
|
TabPane: function() { return /* reexport */ TabPane; },
|
|
@@ -2037,6 +2039,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
2037
2039
|
VxeSlider: function() { return /* reexport */ VxeSlider; },
|
|
2038
2040
|
VxeSplit: function() { return /* reexport */ VxeSplit; },
|
|
2039
2041
|
VxeSplitPane: function() { return /* reexport */ VxeSplitPane; },
|
|
2042
|
+
VxeSplitter: function() { return /* reexport */ VxeSplitter; },
|
|
2043
|
+
VxeSplitterPanel: function() { return /* reexport */ VxeSplitterPanel; },
|
|
2040
2044
|
VxeSteps: function() { return /* reexport */ VxeSteps; },
|
|
2041
2045
|
VxeSwitch: function() { return /* reexport */ VxeSwitch; },
|
|
2042
2046
|
VxeTabPane: function() { return /* reexport */ VxeTabPane; },
|
|
@@ -2181,6 +2185,8 @@ __webpack_require__.d(components_namespaceObject, {
|
|
|
2181
2185
|
Slider: function() { return Slider; },
|
|
2182
2186
|
Split: function() { return Split; },
|
|
2183
2187
|
SplitPane: function() { return SplitPane; },
|
|
2188
|
+
Splitter: function() { return Splitter; },
|
|
2189
|
+
SplitterPanel: function() { return SplitterPanel; },
|
|
2184
2190
|
Steps: function() { return Steps; },
|
|
2185
2191
|
Switch: function() { return Switch; },
|
|
2186
2192
|
TabPane: function() { return TabPane; },
|
|
@@ -2262,6 +2268,8 @@ __webpack_require__.d(components_namespaceObject, {
|
|
|
2262
2268
|
VxeSlider: function() { return VxeSlider; },
|
|
2263
2269
|
VxeSplit: function() { return VxeSplit; },
|
|
2264
2270
|
VxeSplitPane: function() { return VxeSplitPane; },
|
|
2271
|
+
VxeSplitter: function() { return VxeSplitter; },
|
|
2272
|
+
VxeSplitterPanel: function() { return VxeSplitterPanel; },
|
|
2265
2273
|
VxeSteps: function() { return VxeSteps; },
|
|
2266
2274
|
VxeSwitch: function() { return VxeSwitch; },
|
|
2267
2275
|
VxeTabPane: function() { return VxeTabPane; },
|
|
@@ -3588,14 +3596,14 @@ function checkDynamic() {
|
|
|
3588
3596
|
}
|
|
3589
3597
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
3590
3598
|
|
|
3591
|
-
const log_version = `ui v${"4.10.
|
|
3599
|
+
const log_version = `ui v${"4.10.11"}`;
|
|
3592
3600
|
const warnLog = log.create('warn', log_version);
|
|
3593
3601
|
const errLog = log.create('error', log_version);
|
|
3594
3602
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
3595
3603
|
|
|
3596
3604
|
|
|
3597
3605
|
|
|
3598
|
-
const ui_version = "4.10.
|
|
3606
|
+
const ui_version = "4.10.11";
|
|
3599
3607
|
index_esm_VxeUI.uiVersion = ui_version;
|
|
3600
3608
|
index_esm_VxeUI.dynamicApp = dynamicApp;
|
|
3601
3609
|
function config(options) {
|
|
@@ -3894,7 +3902,7 @@ setConfig({
|
|
|
3894
3902
|
oSize: 2
|
|
3895
3903
|
}
|
|
3896
3904
|
},
|
|
3897
|
-
|
|
3905
|
+
splitter: {
|
|
3898
3906
|
resize: true,
|
|
3899
3907
|
itemConfig: {
|
|
3900
3908
|
minWidth: 40,
|
|
@@ -3905,7 +3913,7 @@ setConfig({
|
|
|
3905
3913
|
showTip: true
|
|
3906
3914
|
}
|
|
3907
3915
|
},
|
|
3908
|
-
|
|
3916
|
+
splitterPanel: {},
|
|
3909
3917
|
slider: {
|
|
3910
3918
|
max: 100,
|
|
3911
3919
|
min: 0
|
|
@@ -34214,7 +34222,7 @@ dynamicApp.use(VxeSelect);
|
|
|
34214
34222
|
index_esm_VxeUI.component(src_select);
|
|
34215
34223
|
const Select = VxeSelect;
|
|
34216
34224
|
/* harmony default export */ var packages_select = (VxeSelect);
|
|
34217
|
-
;// CONCATENATED MODULE: ./packages/
|
|
34225
|
+
;// CONCATENATED MODULE: ./packages/splitter/src/splitter.ts
|
|
34218
34226
|
|
|
34219
34227
|
|
|
34220
34228
|
|
|
@@ -34224,26 +34232,26 @@ const Select = VxeSelect;
|
|
|
34224
34232
|
|
|
34225
34233
|
|
|
34226
34234
|
|
|
34227
|
-
/* harmony default export */ var
|
|
34228
|
-
name: '
|
|
34235
|
+
/* harmony default export */ var splitter = (defineVxeComponent({
|
|
34236
|
+
name: 'VxeSplitter',
|
|
34229
34237
|
props: {
|
|
34230
34238
|
width: [Number, String],
|
|
34231
34239
|
height: [Number, String],
|
|
34232
34240
|
vertical: {
|
|
34233
34241
|
type: Boolean,
|
|
34234
|
-
default: () => getConfig().
|
|
34242
|
+
default: () => getConfig().splitter.vertical
|
|
34235
34243
|
},
|
|
34236
34244
|
border: {
|
|
34237
34245
|
type: Boolean,
|
|
34238
|
-
default: () => getConfig().
|
|
34246
|
+
default: () => getConfig().splitter.border
|
|
34239
34247
|
},
|
|
34240
34248
|
padding: {
|
|
34241
34249
|
type: Boolean,
|
|
34242
|
-
default: () => getConfig().
|
|
34250
|
+
default: () => getConfig().splitter.padding
|
|
34243
34251
|
},
|
|
34244
34252
|
resize: {
|
|
34245
34253
|
type: Boolean,
|
|
34246
|
-
default: () => getConfig().
|
|
34254
|
+
default: () => getConfig().splitter.resize
|
|
34247
34255
|
},
|
|
34248
34256
|
items: Array,
|
|
34249
34257
|
itemConfig: Object,
|
|
@@ -34252,7 +34260,7 @@ const Select = VxeSelect;
|
|
|
34252
34260
|
actionConfig: Object,
|
|
34253
34261
|
size: {
|
|
34254
34262
|
type: String,
|
|
34255
|
-
default: () => getConfig().
|
|
34263
|
+
default: () => getConfig().splitter.size || getConfig().size
|
|
34256
34264
|
}
|
|
34257
34265
|
},
|
|
34258
34266
|
emits: ['action-dblclick', 'action-click', 'toggle-expand', 'resize-start', 'resize-drag', 'resize-end'],
|
|
@@ -34264,7 +34272,7 @@ const Select = VxeSelect;
|
|
|
34264
34272
|
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
34265
34273
|
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
34266
34274
|
const refBarInfoElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
34267
|
-
const
|
|
34275
|
+
const refResizableSplitterTip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
34268
34276
|
const {
|
|
34269
34277
|
computeSize
|
|
34270
34278
|
} = useSize(props);
|
|
@@ -34279,16 +34287,16 @@ const Select = VxeSelect;
|
|
|
34279
34287
|
wrapperHeight: 0
|
|
34280
34288
|
};
|
|
34281
34289
|
const computeItemOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
34282
|
-
return Object.assign({}, getConfig().
|
|
34290
|
+
return Object.assign({}, getConfig().splitter.itemConfig, props.itemConfig);
|
|
34283
34291
|
});
|
|
34284
34292
|
const computeBarOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
34285
|
-
return Object.assign({}, getConfig().
|
|
34293
|
+
return Object.assign({}, getConfig().splitter.barConfig, props.barConfig);
|
|
34286
34294
|
});
|
|
34287
34295
|
const computeResizeOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
34288
|
-
return Object.assign({}, getConfig().
|
|
34296
|
+
return Object.assign({}, getConfig().splitter.resizeConfig, props.resizeConfig);
|
|
34289
34297
|
});
|
|
34290
34298
|
const computeActionOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
34291
|
-
return Object.assign({}, getConfig().
|
|
34299
|
+
return Object.assign({}, getConfig().splitter.actionConfig, props.actionConfig);
|
|
34292
34300
|
});
|
|
34293
34301
|
const computeVisibleItems = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
34294
34302
|
return reactData.itemList.filter(item => item.isExpand);
|
|
@@ -34358,7 +34366,7 @@ const Select = VxeSelect;
|
|
|
34358
34366
|
const refMaps = {
|
|
34359
34367
|
refElem
|
|
34360
34368
|
};
|
|
34361
|
-
const $
|
|
34369
|
+
const $xeSplitter = {
|
|
34362
34370
|
xID,
|
|
34363
34371
|
props,
|
|
34364
34372
|
context,
|
|
@@ -34369,7 +34377,7 @@ const Select = VxeSelect;
|
|
|
34369
34377
|
};
|
|
34370
34378
|
const dispatchEvent = (type, params, evnt) => {
|
|
34371
34379
|
emit(type, createEvent(evnt, {
|
|
34372
|
-
$
|
|
34380
|
+
$splitter: $xeSplitter
|
|
34373
34381
|
}, params));
|
|
34374
34382
|
};
|
|
34375
34383
|
const callSlot = (slotFunc, params) => {
|
|
@@ -34443,13 +34451,13 @@ const Select = VxeSelect;
|
|
|
34443
34451
|
};
|
|
34444
34452
|
reactData.itemList = list.map(item => {
|
|
34445
34453
|
if (item.showAction) {
|
|
34446
|
-
warnLog('vxe.error.removeProp', ['[
|
|
34454
|
+
warnLog('vxe.error.removeProp', ['[splitter] show-action']);
|
|
34447
34455
|
}
|
|
34448
34456
|
if (item.slots) {
|
|
34449
34457
|
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(item.slots, func => {
|
|
34450
34458
|
if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(func)) {
|
|
34451
34459
|
if (!slots[func]) {
|
|
34452
|
-
errLog('vxe.error.notSlot', [`[
|
|
34460
|
+
errLog('vxe.error.notSlot', [`[splitter] ${func}`]);
|
|
34453
34461
|
}
|
|
34454
34462
|
}
|
|
34455
34463
|
});
|
|
@@ -34459,7 +34467,7 @@ const Select = VxeSelect;
|
|
|
34459
34467
|
});
|
|
34460
34468
|
});
|
|
34461
34469
|
if (staticItems.length) {
|
|
34462
|
-
errLog('vxe.error.errConflicts', ['<vxe-
|
|
34470
|
+
errLog('vxe.error.errConflicts', ['<vxe-splitter-panel ...>', 'items']);
|
|
34463
34471
|
}
|
|
34464
34472
|
if ((showPrevButton || showNextButton) && reactData.itemList.length > 2) {
|
|
34465
34473
|
errLog('vxe.error.errConflicts', ['action-config.showPrevButton | action-config.showNextButton', 'Only supports 2 item']);
|
|
@@ -34472,6 +34480,79 @@ const Select = VxeSelect;
|
|
|
34472
34480
|
const reloadItem = list => {
|
|
34473
34481
|
return handleLoadItem(list || [], true);
|
|
34474
34482
|
};
|
|
34483
|
+
const handleItemByName = name => {
|
|
34484
|
+
const {
|
|
34485
|
+
itemList
|
|
34486
|
+
} = reactData;
|
|
34487
|
+
let index = -1;
|
|
34488
|
+
let currItem = null;
|
|
34489
|
+
let prevItem = null;
|
|
34490
|
+
let nextItem = null;
|
|
34491
|
+
for (let i = 0; i < itemList.length; i++) {
|
|
34492
|
+
const item = itemList[i];
|
|
34493
|
+
if (item.name === name) {
|
|
34494
|
+
index = i;
|
|
34495
|
+
currItem = item;
|
|
34496
|
+
prevItem = itemList[i - 1] || null;
|
|
34497
|
+
nextItem = itemList[i + 1] || null;
|
|
34498
|
+
break;
|
|
34499
|
+
}
|
|
34500
|
+
}
|
|
34501
|
+
return {
|
|
34502
|
+
index,
|
|
34503
|
+
currItem,
|
|
34504
|
+
prevItem,
|
|
34505
|
+
nextItem
|
|
34506
|
+
};
|
|
34507
|
+
};
|
|
34508
|
+
const setItemExpand = (name, expanded) => {
|
|
34509
|
+
const restItem = handleItemByName(name);
|
|
34510
|
+
if (restItem) {
|
|
34511
|
+
const {
|
|
34512
|
+
currItem,
|
|
34513
|
+
prevItem,
|
|
34514
|
+
nextItem
|
|
34515
|
+
} = restItem;
|
|
34516
|
+
if (currItem) {
|
|
34517
|
+
if (expanded ? !currItem.isExpand : currItem.isExpand) {
|
|
34518
|
+
if (nextItem) {
|
|
34519
|
+
if (nextItem.isExpand) {
|
|
34520
|
+
handleItemActionEvent(null, currItem, nextItem, false);
|
|
34521
|
+
}
|
|
34522
|
+
} else if (prevItem) {
|
|
34523
|
+
if (prevItem.isExpand) {
|
|
34524
|
+
handleItemActionEvent(null, prevItem, currItem, true);
|
|
34525
|
+
}
|
|
34526
|
+
}
|
|
34527
|
+
}
|
|
34528
|
+
}
|
|
34529
|
+
}
|
|
34530
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
34531
|
+
};
|
|
34532
|
+
const toggleItemExpand = name => {
|
|
34533
|
+
const restItem = handleItemByName(name);
|
|
34534
|
+
if (restItem) {
|
|
34535
|
+
const {
|
|
34536
|
+
currItem
|
|
34537
|
+
} = restItem;
|
|
34538
|
+
if (currItem) {
|
|
34539
|
+
return setItemExpand(name, !currItem.isExpand);
|
|
34540
|
+
}
|
|
34541
|
+
}
|
|
34542
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
34543
|
+
};
|
|
34544
|
+
const getItemExpand = name => {
|
|
34545
|
+
const restItem = handleItemByName(name);
|
|
34546
|
+
if (restItem) {
|
|
34547
|
+
const {
|
|
34548
|
+
currItem
|
|
34549
|
+
} = restItem;
|
|
34550
|
+
if (currItem) {
|
|
34551
|
+
return currItem.isExpand;
|
|
34552
|
+
}
|
|
34553
|
+
}
|
|
34554
|
+
return false;
|
|
34555
|
+
};
|
|
34475
34556
|
const recalculate = () => {
|
|
34476
34557
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => {
|
|
34477
34558
|
const {
|
|
@@ -34587,8 +34668,8 @@ const Select = VxeSelect;
|
|
|
34587
34668
|
}
|
|
34588
34669
|
const containerRect = el.getBoundingClientRect();
|
|
34589
34670
|
const barRect = barEl.getBoundingClientRect();
|
|
34590
|
-
const
|
|
34591
|
-
const
|
|
34671
|
+
const rsSplitterLineEl = refResizableSplitterTip.value;
|
|
34672
|
+
const rsSplitterTipEl = rsSplitterLineEl ? rsSplitterLineEl.children[0] : null;
|
|
34592
34673
|
const itemOpts = computeItemOpts.value;
|
|
34593
34674
|
const resizeOpts = computeResizeOpts.value;
|
|
34594
34675
|
const {
|
|
@@ -34621,11 +34702,11 @@ const Select = VxeSelect;
|
|
|
34621
34702
|
let nextResizeHeight = 0;
|
|
34622
34703
|
let offsetTop = startOffsetTop;
|
|
34623
34704
|
const handleReStyle = evnt => {
|
|
34624
|
-
if (!
|
|
34705
|
+
if (!rsSplitterLineEl) {
|
|
34625
34706
|
return;
|
|
34626
34707
|
}
|
|
34627
|
-
const rsNumPrevEl =
|
|
34628
|
-
const rsNumNextEl =
|
|
34708
|
+
const rsNumPrevEl = rsSplitterTipEl ? rsSplitterTipEl.children[0] : null;
|
|
34709
|
+
const rsNumNextEl = rsSplitterTipEl ? rsSplitterTipEl.children[1] : null;
|
|
34629
34710
|
if (vertical) {
|
|
34630
34711
|
let tipWidth = 0;
|
|
34631
34712
|
if (rsNumPrevEl) {
|
|
@@ -34650,10 +34731,10 @@ const Select = VxeSelect;
|
|
|
34650
34731
|
if (rsLeft > containerRect.width - tipWidth - 1) {
|
|
34651
34732
|
rsLeft = containerRect.width - tipWidth - 1;
|
|
34652
34733
|
}
|
|
34653
|
-
|
|
34654
|
-
|
|
34655
|
-
if (
|
|
34656
|
-
|
|
34734
|
+
rsSplitterLineEl.style.left = '0';
|
|
34735
|
+
rsSplitterLineEl.style.top = `${offsetTop}px`;
|
|
34736
|
+
if (rsSplitterTipEl) {
|
|
34737
|
+
rsSplitterTipEl.style.left = `${rsLeft}px`;
|
|
34657
34738
|
}
|
|
34658
34739
|
} else {
|
|
34659
34740
|
let tipHeight = 0;
|
|
@@ -34679,10 +34760,10 @@ const Select = VxeSelect;
|
|
|
34679
34760
|
if (rsTop > containerRect.height - tipHeight - 1) {
|
|
34680
34761
|
rsTop = containerRect.height - tipHeight - 1;
|
|
34681
34762
|
}
|
|
34682
|
-
|
|
34683
|
-
|
|
34684
|
-
if (
|
|
34685
|
-
|
|
34763
|
+
rsSplitterLineEl.style.top = '0';
|
|
34764
|
+
rsSplitterLineEl.style.left = `${offsetLeft}px`;
|
|
34765
|
+
if (rsSplitterTipEl) {
|
|
34766
|
+
rsSplitterTipEl.style.top = `${rsTop}px`;
|
|
34686
34767
|
}
|
|
34687
34768
|
}
|
|
34688
34769
|
};
|
|
@@ -34728,7 +34809,7 @@ const Select = VxeSelect;
|
|
|
34728
34809
|
nextEl.style.width = toCssUnit(nextResizeWidth);
|
|
34729
34810
|
}
|
|
34730
34811
|
}
|
|
34731
|
-
if (
|
|
34812
|
+
if (rsSplitterLineEl) {
|
|
34732
34813
|
handleReStyle(evnt);
|
|
34733
34814
|
}
|
|
34734
34815
|
dispatchEvent('resize-drag', {
|
|
@@ -34745,8 +34826,8 @@ const Select = VxeSelect;
|
|
|
34745
34826
|
document.onmouseup = evnt => {
|
|
34746
34827
|
document.onmousemove = null;
|
|
34747
34828
|
document.onmouseup = null;
|
|
34748
|
-
if (
|
|
34749
|
-
|
|
34829
|
+
if (rsSplitterLineEl) {
|
|
34830
|
+
rsSplitterLineEl.style.display = '';
|
|
34750
34831
|
}
|
|
34751
34832
|
handleUpdate();
|
|
34752
34833
|
removeClass(el, 'is--drag');
|
|
@@ -34758,8 +34839,8 @@ const Select = VxeSelect;
|
|
|
34758
34839
|
}, evnt);
|
|
34759
34840
|
recalculate();
|
|
34760
34841
|
};
|
|
34761
|
-
if (
|
|
34762
|
-
|
|
34842
|
+
if (rsSplitterLineEl) {
|
|
34843
|
+
rsSplitterLineEl.style.display = 'block';
|
|
34763
34844
|
handleReStyle(evnt);
|
|
34764
34845
|
}
|
|
34765
34846
|
handleDrag(evnt);
|
|
@@ -34806,12 +34887,14 @@ const Select = VxeSelect;
|
|
|
34806
34887
|
nextItem.foldWidth = (prevItem.resizeWidth || prevItem.renderWidth) + (nextItem.resizeWidth || nextItem.renderWidth);
|
|
34807
34888
|
}
|
|
34808
34889
|
}
|
|
34809
|
-
|
|
34810
|
-
|
|
34811
|
-
|
|
34812
|
-
|
|
34813
|
-
|
|
34814
|
-
|
|
34890
|
+
if (evnt) {
|
|
34891
|
+
dispatchEvent('toggle-expand', {
|
|
34892
|
+
prevItem,
|
|
34893
|
+
nextItem,
|
|
34894
|
+
expanded,
|
|
34895
|
+
item
|
|
34896
|
+
}, evnt);
|
|
34897
|
+
}
|
|
34815
34898
|
recalculate();
|
|
34816
34899
|
};
|
|
34817
34900
|
const handlePrevActionDblclickEvent = evnt => {
|
|
@@ -34913,15 +34996,18 @@ const Select = VxeSelect;
|
|
|
34913
34996
|
const handleGlobalResizeEvent = () => {
|
|
34914
34997
|
recalculate();
|
|
34915
34998
|
};
|
|
34916
|
-
const
|
|
34999
|
+
const splitterMethods = {
|
|
34917
35000
|
dispatchEvent,
|
|
35001
|
+
setItemExpand,
|
|
35002
|
+
toggleItemExpand,
|
|
35003
|
+
getItemExpand,
|
|
34918
35004
|
recalculate,
|
|
34919
35005
|
reset,
|
|
34920
35006
|
loadItem,
|
|
34921
35007
|
reloadItem
|
|
34922
35008
|
};
|
|
34923
|
-
const
|
|
34924
|
-
Object.assign($
|
|
35009
|
+
const splitterPrivateMethods = {};
|
|
35010
|
+
Object.assign($xeSplitter, splitterMethods, splitterPrivateMethods);
|
|
34925
35011
|
const renderHandleBar = (prevItem, nextItem) => {
|
|
34926
35012
|
const {
|
|
34927
35013
|
border,
|
|
@@ -34943,29 +35029,29 @@ const Select = VxeSelect;
|
|
|
34943
35029
|
immediate
|
|
34944
35030
|
} = resizeOpts;
|
|
34945
35031
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
34946
|
-
class: ['vxe-
|
|
35032
|
+
class: ['vxe-splitter-panel-handle', vertical ? 'is--vertical' : 'is--horizontal', immediate ? 'is-resize--immediate' : 'is-resize--lazy', {
|
|
34947
35033
|
'is--resize': resize,
|
|
34948
35034
|
'is--border': border
|
|
34949
35035
|
}]
|
|
34950
35036
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
34951
|
-
class: 'vxe-
|
|
35037
|
+
class: 'vxe-splitter-panel-handle-bar',
|
|
34952
35038
|
style: barStyle,
|
|
34953
35039
|
onMousedown: dragEvent
|
|
34954
35040
|
}), itemList.length === 2 ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
34955
|
-
class: 'vxe-
|
|
35041
|
+
class: 'vxe-splitter-panel-action-btn-wrapper'
|
|
34956
35042
|
}, [showPrevButton && nextItem.isExpand ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
34957
|
-
class: 'vxe-
|
|
35043
|
+
class: 'vxe-splitter-panel-action-btn',
|
|
34958
35044
|
onDblclick: handlePrevActionDblclickEvent,
|
|
34959
35045
|
onClick: handlePrevActionClickEvent
|
|
34960
35046
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
34961
35047
|
class: getActionIcon(prevItem, nextItem, false)
|
|
34962
|
-
})]) : renderEmptyElement($
|
|
34963
|
-
class: 'vxe-
|
|
35048
|
+
})]) : renderEmptyElement($xeSplitter), showNextButton && prevItem.isExpand ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35049
|
+
class: 'vxe-splitter-panel-action-btn',
|
|
34964
35050
|
onDblclick: handleNextActionDblclickEvent,
|
|
34965
35051
|
onClick: handleNextActionClickEvent
|
|
34966
35052
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
34967
35053
|
class: getActionIcon(prevItem, nextItem, true)
|
|
34968
|
-
})]) : renderEmptyElement($
|
|
35054
|
+
})]) : renderEmptyElement($xeSplitter)]) : renderEmptyElement($xeSplitter)]);
|
|
34969
35055
|
};
|
|
34970
35056
|
const renderItems = () => {
|
|
34971
35057
|
const {
|
|
@@ -35031,7 +35117,7 @@ const Select = VxeSelect;
|
|
|
35031
35117
|
}
|
|
35032
35118
|
itemVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35033
35119
|
itemid: id,
|
|
35034
|
-
class: ['vxe-
|
|
35120
|
+
class: ['vxe-splitter-panel', vertical ? 'is--vertical' : 'is--horizontal', immediate ? 'is-resize--immediate' : 'is-resize--lazy', {
|
|
35035
35121
|
[`size--${vSize}`]: vSize,
|
|
35036
35122
|
'is--resize': resize,
|
|
35037
35123
|
'is--padding': padding,
|
|
@@ -35045,9 +35131,9 @@ const Select = VxeSelect;
|
|
|
35045
35131
|
style: stys
|
|
35046
35132
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35047
35133
|
itemid: id,
|
|
35048
|
-
class: 'vxe-
|
|
35134
|
+
class: 'vxe-splitter-panel--wrapper'
|
|
35049
35135
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35050
|
-
class: 'vxe-
|
|
35136
|
+
class: 'vxe-splitter-panel--inner'
|
|
35051
35137
|
}, defaultSlot ? callSlot(defaultSlot, {
|
|
35052
35138
|
name,
|
|
35053
35139
|
isExpand
|
|
@@ -35057,7 +35143,7 @@ const Select = VxeSelect;
|
|
|
35057
35143
|
}
|
|
35058
35144
|
});
|
|
35059
35145
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35060
|
-
class: 'vxe-
|
|
35146
|
+
class: 'vxe-splitter-wrapper'
|
|
35061
35147
|
}, itemVNs);
|
|
35062
35148
|
};
|
|
35063
35149
|
const renderVN = () => {
|
|
@@ -35082,26 +35168,26 @@ const Select = VxeSelect;
|
|
|
35082
35168
|
}
|
|
35083
35169
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35084
35170
|
ref: refElem,
|
|
35085
|
-
class: ['vxe-
|
|
35171
|
+
class: ['vxe-splitter', vertical ? 'is--vertical' : 'is--horizontal', immediate ? 'is-resize--immediate' : 'is-resize--lazy', {
|
|
35086
35172
|
[`size--${vSize}`]: vSize
|
|
35087
35173
|
}],
|
|
35088
35174
|
style: stys
|
|
35089
35175
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35090
|
-
class: 'vxe-
|
|
35176
|
+
class: 'vxe-splitter-slots'
|
|
35091
35177
|
}, defaultSlot ? defaultSlot({}) : []), renderItems(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35092
|
-
ref:
|
|
35093
|
-
class: ['vxe-
|
|
35178
|
+
ref: refResizableSplitterTip,
|
|
35179
|
+
class: ['vxe-splitter--resizable-splitter-tip', vertical ? 'is--vertical' : 'is--horizontal', immediate ? 'is-resize--immediate' : 'is-resize--lazy']
|
|
35094
35180
|
}, showTip ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35095
|
-
class: 'vxe-
|
|
35181
|
+
class: 'vxe-splitter--resizable-splitter-tip-number'
|
|
35096
35182
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35097
|
-
class: 'vxe-
|
|
35183
|
+
class: 'vxe-splitter--resizable-splitter-number-prev'
|
|
35098
35184
|
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35099
|
-
class: 'vxe-
|
|
35185
|
+
class: 'vxe-splitter--resizable-splitter-number-next'
|
|
35100
35186
|
})])] : []), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35101
|
-
class: 'vxe-
|
|
35187
|
+
class: 'vxe-splitter--render-vars'
|
|
35102
35188
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35103
35189
|
ref: refBarInfoElem,
|
|
35104
|
-
class: 'vxe-
|
|
35190
|
+
class: 'vxe-splitter--handle-bar-info'
|
|
35105
35191
|
})])]);
|
|
35106
35192
|
};
|
|
35107
35193
|
const itemFlag = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(0);
|
|
@@ -35121,15 +35207,15 @@ const Select = VxeSelect;
|
|
|
35121
35207
|
showNextButton
|
|
35122
35208
|
} = actionOpts;
|
|
35123
35209
|
if (props.items && props.items.length) {
|
|
35124
|
-
errLog('vxe.error.errConflicts', ['<vxe-
|
|
35210
|
+
errLog('vxe.error.errConflicts', ['<vxe-splitter-panel ...>', 'items']);
|
|
35125
35211
|
}
|
|
35126
35212
|
reactData.itemList = val || [];
|
|
35127
35213
|
if ((showPrevButton || showNextButton) && reactData.itemList.length > 2) {
|
|
35128
|
-
errLog('vxe.error.modelConflicts', ['[
|
|
35214
|
+
errLog('vxe.error.modelConflicts', ['[splitter] action-config.showPrevButton | action-config.showNextButton', '<vxe-splitter-panel ...> Only supports 2 panel']);
|
|
35129
35215
|
}
|
|
35130
35216
|
reactData.itemList.forEach(item => {
|
|
35131
35217
|
if (item.showAction) {
|
|
35132
|
-
warnLog('vxe.error.removeProp', ['[
|
|
35218
|
+
warnLog('vxe.error.removeProp', ['[splitter] showAction']);
|
|
35133
35219
|
}
|
|
35134
35220
|
});
|
|
35135
35221
|
recalculate();
|
|
@@ -35148,15 +35234,15 @@ const Select = VxeSelect;
|
|
|
35148
35234
|
}
|
|
35149
35235
|
const actionOpts = computeActionOpts.value;
|
|
35150
35236
|
if (actionOpts.direction) {
|
|
35151
|
-
errLog('vxe.error.delProp', ['[
|
|
35237
|
+
errLog('vxe.error.delProp', ['[splitter] action-config.direction', 'action-config.showPrevButton | action-config.showNextButton']);
|
|
35152
35238
|
}
|
|
35153
|
-
globalEvents.on($
|
|
35239
|
+
globalEvents.on($xeSplitter, 'resize', handleGlobalResizeEvent);
|
|
35154
35240
|
});
|
|
35155
35241
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
|
|
35156
35242
|
if (resizeObserver) {
|
|
35157
35243
|
resizeObserver.disconnect();
|
|
35158
35244
|
}
|
|
35159
|
-
globalEvents.off($
|
|
35245
|
+
globalEvents.off($xeSplitter, 'resize');
|
|
35160
35246
|
});
|
|
35161
35247
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onActivated)(() => {
|
|
35162
35248
|
recalculate();
|
|
@@ -35164,53 +35250,53 @@ const Select = VxeSelect;
|
|
|
35164
35250
|
if (props.items) {
|
|
35165
35251
|
loadItem(props.items);
|
|
35166
35252
|
}
|
|
35167
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$
|
|
35168
|
-
$
|
|
35169
|
-
return $
|
|
35253
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeSplitter', $xeSplitter);
|
|
35254
|
+
$xeSplitter.renderVN = renderVN;
|
|
35255
|
+
return $xeSplitter;
|
|
35170
35256
|
},
|
|
35171
35257
|
render() {
|
|
35172
35258
|
return this.renderVN();
|
|
35173
35259
|
}
|
|
35174
35260
|
}));
|
|
35175
|
-
;// CONCATENATED MODULE: ./packages/
|
|
35261
|
+
;// CONCATENATED MODULE: ./packages/splitter/index.ts
|
|
35176
35262
|
|
|
35177
35263
|
|
|
35178
35264
|
|
|
35179
|
-
const
|
|
35265
|
+
const VxeSplitter = Object.assign({}, splitter, {
|
|
35180
35266
|
install(app) {
|
|
35181
|
-
app.component(
|
|
35267
|
+
app.component(splitter.name, splitter);
|
|
35182
35268
|
}
|
|
35183
35269
|
});
|
|
35184
|
-
dynamicApp.use(
|
|
35185
|
-
index_esm_VxeUI.component(
|
|
35186
|
-
const
|
|
35187
|
-
/* harmony default export */ var
|
|
35188
|
-
;// CONCATENATED MODULE: ./packages/
|
|
35189
|
-
|
|
35190
|
-
function
|
|
35191
|
-
const staticItems = $
|
|
35270
|
+
dynamicApp.use(VxeSplitter);
|
|
35271
|
+
index_esm_VxeUI.component(splitter);
|
|
35272
|
+
const Splitter = VxeSplitter;
|
|
35273
|
+
/* harmony default export */ var packages_splitter = (VxeSplitter);
|
|
35274
|
+
;// CONCATENATED MODULE: ./packages/splitter/src/util.ts
|
|
35275
|
+
|
|
35276
|
+
function assembleSplitterItem($xeSplitter, elem, paneConfig) {
|
|
35277
|
+
const staticItems = $xeSplitter.reactData.staticItems;
|
|
35192
35278
|
const parentElem = elem.parentNode;
|
|
35193
35279
|
if (parentElem) {
|
|
35194
35280
|
staticItems.splice(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayIndexOf(parentElem.children, elem), 0, paneConfig);
|
|
35195
|
-
$
|
|
35281
|
+
$xeSplitter.reactData.staticItems = staticItems.slice(0);
|
|
35196
35282
|
}
|
|
35197
35283
|
}
|
|
35198
|
-
function
|
|
35199
|
-
const staticItems = $
|
|
35284
|
+
function destroySplitterItem($xeSplitter, paneConfig) {
|
|
35285
|
+
const staticItems = $xeSplitter.reactData.staticItems;
|
|
35200
35286
|
const index = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findIndexOf(staticItems, item => item.id === paneConfig.id);
|
|
35201
35287
|
if (index > -1) {
|
|
35202
35288
|
staticItems.splice(index, 1);
|
|
35203
35289
|
}
|
|
35204
|
-
$
|
|
35290
|
+
$xeSplitter.reactData.staticItems = staticItems.slice(0);
|
|
35205
35291
|
}
|
|
35206
|
-
;// CONCATENATED MODULE: ./packages/
|
|
35292
|
+
;// CONCATENATED MODULE: ./packages/splitter/src/splitter-panel.ts
|
|
35207
35293
|
|
|
35208
35294
|
|
|
35209
35295
|
|
|
35210
35296
|
|
|
35211
35297
|
|
|
35212
|
-
/* harmony default export */ var
|
|
35213
|
-
name: '
|
|
35298
|
+
/* harmony default export */ var splitter_panel = (defineVxeComponent({
|
|
35299
|
+
name: 'VxeSplitterPanel',
|
|
35214
35300
|
props: {
|
|
35215
35301
|
name: [Number, String],
|
|
35216
35302
|
width: [Number, String],
|
|
@@ -35233,7 +35319,7 @@ function destroySplitItem($xeSplit, paneConfig) {
|
|
|
35233
35319
|
slots
|
|
35234
35320
|
} = context;
|
|
35235
35321
|
const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
|
|
35236
|
-
const $
|
|
35322
|
+
const $xeSplitter = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeSplitter', null);
|
|
35237
35323
|
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
35238
35324
|
const paneConfig = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({
|
|
35239
35325
|
id: xID,
|
|
@@ -35258,7 +35344,7 @@ function destroySplitItem($xeSplit, paneConfig) {
|
|
|
35258
35344
|
const refMaps = {
|
|
35259
35345
|
refElem
|
|
35260
35346
|
};
|
|
35261
|
-
const $
|
|
35347
|
+
const $xeSplitterItem = {
|
|
35262
35348
|
xID,
|
|
35263
35349
|
props,
|
|
35264
35350
|
context,
|
|
@@ -35269,14 +35355,14 @@ function destroySplitItem($xeSplit, paneConfig) {
|
|
|
35269
35355
|
};
|
|
35270
35356
|
const dispatchEvent = (type, params, evnt) => {
|
|
35271
35357
|
emit(type, createEvent(evnt, {
|
|
35272
|
-
$
|
|
35358
|
+
$splitterPanel: $xeSplitterItem
|
|
35273
35359
|
}, params));
|
|
35274
35360
|
};
|
|
35275
|
-
const
|
|
35361
|
+
const splitterPanelMethods = {
|
|
35276
35362
|
dispatchEvent
|
|
35277
35363
|
};
|
|
35278
|
-
const
|
|
35279
|
-
Object.assign($
|
|
35364
|
+
const splitterPanelPrivateMethods = {};
|
|
35365
|
+
Object.assign($xeSplitterItem, splitterPanelMethods, splitterPanelPrivateMethods);
|
|
35280
35366
|
const renderVN = () => {
|
|
35281
35367
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
35282
35368
|
ref: refElem
|
|
@@ -35302,37 +35388,63 @@ function destroySplitItem($xeSplit, paneConfig) {
|
|
|
35302
35388
|
});
|
|
35303
35389
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
35304
35390
|
const elem = refElem.value;
|
|
35305
|
-
if ($
|
|
35306
|
-
|
|
35391
|
+
if ($xeSplitter && elem) {
|
|
35392
|
+
assembleSplitterItem($xeSplitter, elem, paneConfig);
|
|
35307
35393
|
}
|
|
35308
35394
|
});
|
|
35309
35395
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
|
|
35310
|
-
if ($
|
|
35311
|
-
|
|
35396
|
+
if ($xeSplitter) {
|
|
35397
|
+
destroySplitterItem($xeSplitter, paneConfig);
|
|
35312
35398
|
}
|
|
35313
35399
|
});
|
|
35314
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$
|
|
35315
|
-
$
|
|
35316
|
-
return $
|
|
35400
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeSplitterItem', $xeSplitterItem);
|
|
35401
|
+
$xeSplitterItem.renderVN = renderVN;
|
|
35402
|
+
return $xeSplitterItem;
|
|
35317
35403
|
},
|
|
35318
35404
|
render() {
|
|
35319
35405
|
return this.renderVN();
|
|
35320
35406
|
}
|
|
35321
35407
|
}));
|
|
35408
|
+
;// CONCATENATED MODULE: ./packages/splitter-panel/index.ts
|
|
35409
|
+
|
|
35410
|
+
|
|
35411
|
+
|
|
35412
|
+
const VxeSplitterPanel = Object.assign({}, splitter_panel, {
|
|
35413
|
+
install(app) {
|
|
35414
|
+
app.component(splitter_panel.name, splitter_panel);
|
|
35415
|
+
}
|
|
35416
|
+
});
|
|
35417
|
+
dynamicApp.use(VxeSplitterPanel);
|
|
35418
|
+
index_esm_VxeUI.component(splitter_panel);
|
|
35419
|
+
const SplitterPanel = VxeSplitterPanel;
|
|
35420
|
+
/* harmony default export */ var packages_splitter_panel = (VxeSplitterPanel);
|
|
35421
|
+
;// CONCATENATED MODULE: ./packages/split/index.ts
|
|
35422
|
+
|
|
35423
|
+
|
|
35424
|
+
|
|
35425
|
+
const VxeSplit = Object.assign({}, splitter, {
|
|
35426
|
+
install(app) {
|
|
35427
|
+
app.component('VxeSplit', splitter);
|
|
35428
|
+
}
|
|
35429
|
+
});
|
|
35430
|
+
dynamicApp.use(VxeSplit);
|
|
35431
|
+
index_esm_VxeUI.component(splitter);
|
|
35432
|
+
const Split = VxeSplit;
|
|
35433
|
+
/* harmony default export */ var split = (VxeSplit);
|
|
35322
35434
|
;// CONCATENATED MODULE: ./packages/split-pane/index.ts
|
|
35323
35435
|
|
|
35324
35436
|
|
|
35325
35437
|
|
|
35326
|
-
const VxeSplitPane = Object.assign({},
|
|
35438
|
+
const VxeSplitPane = Object.assign({}, splitter_panel, {
|
|
35327
35439
|
install(app) {
|
|
35328
|
-
app.component(
|
|
35329
|
-
app.component('VxeSplitItem',
|
|
35440
|
+
app.component('VxeSplitPane', splitter_panel);
|
|
35441
|
+
app.component('VxeSplitItem', splitter_panel);
|
|
35330
35442
|
}
|
|
35331
35443
|
});
|
|
35332
35444
|
dynamicApp.use(VxeSplitPane);
|
|
35333
|
-
index_esm_VxeUI.component(
|
|
35445
|
+
index_esm_VxeUI.component(splitter_panel);
|
|
35334
35446
|
const SplitPane = VxeSplitPane;
|
|
35335
|
-
/* harmony default export */ var
|
|
35447
|
+
/* harmony default export */ var split_pane = (VxeSplitPane);
|
|
35336
35448
|
;// CONCATENATED MODULE: ./packages/slider/src/slider.ts
|
|
35337
35449
|
|
|
35338
35450
|
|
|
@@ -44269,6 +44381,8 @@ const Watermark = VxeWatermark;
|
|
|
44269
44381
|
|
|
44270
44382
|
|
|
44271
44383
|
|
|
44384
|
+
|
|
44385
|
+
|
|
44272
44386
|
|
|
44273
44387
|
|
|
44274
44388
|
|
|
@@ -44278,7 +44392,7 @@ const {
|
|
|
44278
44392
|
setTheme: components_setTheme,
|
|
44279
44393
|
setConfig: components_setConfig
|
|
44280
44394
|
} = index_esm_VxeUI;
|
|
44281
|
-
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_button, checkbox_group, packages_col, packages_collapse, packages_collapse_pane, packages_color_picker, packages_countdown, packages_date_panel, packages_date_picker, packages_date_range_picker, packages_drawer, packages_empty, packages_form, form_gather, packages_form_group, packages_form_item, 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, 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,
|
|
44395
|
+
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_button, checkbox_group, packages_col, packages_collapse, packages_collapse_pane, packages_color_picker, packages_countdown, packages_date_panel, packages_date_picker, packages_date_range_picker, packages_drawer, packages_empty, packages_form, form_gather, packages_form_group, packages_form_item, 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, 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_splitter, packages_splitter_panel, split, 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];
|
|
44282
44396
|
function install(app, options) {
|
|
44283
44397
|
components_setConfig(options);
|
|
44284
44398
|
components_components.forEach(component => app.use(component));
|
|
@@ -44375,6 +44489,8 @@ const readFile = readLocalFile;
|
|
|
44375
44489
|
|
|
44376
44490
|
|
|
44377
44491
|
|
|
44492
|
+
|
|
44493
|
+
|
|
44378
44494
|
|
|
44379
44495
|
|
|
44380
44496
|
|