vxe-pc-ui 4.7.23 → 4.7.25
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/icon/style.css +1 -1
- package/es/pager/src/pager.js +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tree/src/tree.js +10 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.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 +128 -86
- package/lib/index.umd.min.js +1 -1
- package/lib/pager/src/pager.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tree/src/tree.js +12 -0
- package/lib/tree/src/tree.min.js +1 -1
- package/lib/ui/index.js +1 -1
- 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/package.json +2 -2
- package/packages/pager/src/pager.ts +1 -1
- package/packages/tree/src/tree.ts +10 -0
- package/types/components/colgroup.d.ts +1 -1
- package/types/components/column.d.ts +1 -1
- package/types/components/grid.d.ts +31 -1
- package/types/components/pager.d.ts +1 -1
- package/types/components/tree.d.ts +114 -0
- /package/es/icon/{iconfont.1753325053684.ttf → iconfont.1753409674512.ttf} +0 -0
- /package/es/icon/{iconfont.1753325053684.woff → iconfont.1753409674512.woff} +0 -0
- /package/es/icon/{iconfont.1753325053684.woff2 → iconfont.1753409674512.woff2} +0 -0
- /package/es/{iconfont.1753325053684.ttf → iconfont.1753409674512.ttf} +0 -0
- /package/es/{iconfont.1753325053684.woff → iconfont.1753409674512.woff} +0 -0
- /package/es/{iconfont.1753325053684.woff2 → iconfont.1753409674512.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1753325053684.ttf → iconfont.1753409674512.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1753325053684.woff → iconfont.1753409674512.woff} +0 -0
- /package/lib/icon/style/{iconfont.1753325053684.woff2 → iconfont.1753409674512.woff2} +0 -0
- /package/lib/{iconfont.1753325053684.ttf → iconfont.1753409674512.ttf} +0 -0
- /package/lib/{iconfont.1753325053684.woff → iconfont.1753409674512.woff} +0 -0
- /package/lib/{iconfont.1753325053684.woff2 → iconfont.1753409674512.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -2086,7 +2086,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
2086
2086
|
permission: function() { return /* reexport */ permission; },
|
|
2087
2087
|
print: function() { return /* reexport */ components_print; },
|
|
2088
2088
|
readFile: function() { return /* reexport */ readFile; },
|
|
2089
|
+
renderCustomIcon: function() { return /* reexport */ renderCustomIcon; },
|
|
2089
2090
|
renderEmptyElement: function() { return /* reexport */ renderEmptyElement; },
|
|
2091
|
+
renderGlobalIcon: function() { return /* reexport */ renderGlobalIcon; },
|
|
2090
2092
|
renderer: function() { return /* reexport */ renderer; },
|
|
2091
2093
|
saveFile: function() { return /* reexport */ saveFile; },
|
|
2092
2094
|
setConfig: function() { return /* reexport */ setConfig; },
|
|
@@ -2306,7 +2308,9 @@ __webpack_require__.d(components_namespaceObject, {
|
|
|
2306
2308
|
permission: function() { return permission; },
|
|
2307
2309
|
print: function() { return components_print; },
|
|
2308
2310
|
readFile: function() { return readFile; },
|
|
2311
|
+
renderCustomIcon: function() { return renderCustomIcon; },
|
|
2309
2312
|
renderEmptyElement: function() { return renderEmptyElement; },
|
|
2313
|
+
renderGlobalIcon: function() { return renderGlobalIcon; },
|
|
2310
2314
|
renderer: function() { return renderer; },
|
|
2311
2315
|
saveFile: function() { return saveFile; },
|
|
2312
2316
|
setConfig: function() { return setConfig; },
|
|
@@ -2572,10 +2576,20 @@ function getConfig(key, defaultValue) {
|
|
|
2572
2576
|
const globalStore = {};
|
|
2573
2577
|
;// CONCATENATED MODULE: ./node_modules/@vxe-ui/core/es/src/iconStore.js
|
|
2574
2578
|
const iconConfigStore = {};
|
|
2579
|
+
;// CONCATENATED MODULE: ./node_modules/@vxe-ui/core/es/src/vm.js
|
|
2580
|
+
|
|
2581
|
+
function getSlotVNs(vns) {
|
|
2582
|
+
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(vns)) {
|
|
2583
|
+
return vns;
|
|
2584
|
+
}
|
|
2585
|
+
return vns ? [vns] : [];
|
|
2586
|
+
}
|
|
2575
2587
|
;// CONCATENATED MODULE: ./node_modules/@vxe-ui/core/es/src/icon.js
|
|
2576
2588
|
|
|
2577
2589
|
|
|
2578
2590
|
|
|
2591
|
+
|
|
2592
|
+
|
|
2579
2593
|
function setIcon(options) {
|
|
2580
2594
|
if (options) {
|
|
2581
2595
|
Object.assign(iconConfigStore, options);
|
|
@@ -2585,6 +2599,20 @@ function setIcon(options) {
|
|
|
2585
2599
|
function getIcon(key) {
|
|
2586
2600
|
return arguments.length ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(iconConfigStore, key) : iconConfigStore;
|
|
2587
2601
|
}
|
|
2602
|
+
function renderGlobalIcon(name) {
|
|
2603
|
+
const icon = getIcon(name);
|
|
2604
|
+
return renderCustomIcon(icon, name);
|
|
2605
|
+
}
|
|
2606
|
+
function renderCustomIcon(icon, name) {
|
|
2607
|
+
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(icon)) {
|
|
2608
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {}, getSlotVNs(icon({
|
|
2609
|
+
name
|
|
2610
|
+
})));
|
|
2611
|
+
}
|
|
2612
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
2613
|
+
class: icon
|
|
2614
|
+
});
|
|
2615
|
+
}
|
|
2588
2616
|
;// CONCATENATED MODULE: ./node_modules/@vxe-ui/core/es/src/event.js
|
|
2589
2617
|
|
|
2590
2618
|
|
|
@@ -3434,6 +3462,8 @@ const index_esm_VxeUI = Object.assign(VxeCore, {
|
|
|
3434
3462
|
getConfig: getConfig,
|
|
3435
3463
|
setIcon: setIcon,
|
|
3436
3464
|
getIcon: getIcon,
|
|
3465
|
+
renderGlobalIcon: renderGlobalIcon,
|
|
3466
|
+
renderCustomIcon: renderCustomIcon,
|
|
3437
3467
|
setLanguage: setLanguage,
|
|
3438
3468
|
hasLanguage: hasLanguage,
|
|
3439
3469
|
getLanguage: getLanguage,
|
|
@@ -4287,14 +4317,14 @@ function checkDynamic() {
|
|
|
4287
4317
|
}
|
|
4288
4318
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
4289
4319
|
|
|
4290
|
-
const log_version = `ui v${"4.7.
|
|
4320
|
+
const log_version = `ui v${"4.7.25"}`;
|
|
4291
4321
|
const warnLog = log.create('warn', log_version);
|
|
4292
4322
|
const errLog = log.create('error', log_version);
|
|
4293
4323
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
4294
4324
|
|
|
4295
4325
|
|
|
4296
4326
|
|
|
4297
|
-
const ui_version = "4.7.
|
|
4327
|
+
const ui_version = "4.7.25";
|
|
4298
4328
|
index_esm_VxeUI.uiVersion = ui_version;
|
|
4299
4329
|
index_esm_VxeUI.dynamicApp = dynamicApp;
|
|
4300
4330
|
function config(options) {
|
|
@@ -4908,7 +4938,7 @@ function getChangeEvent(name) {
|
|
|
4908
4938
|
}
|
|
4909
4939
|
return 'change';
|
|
4910
4940
|
}
|
|
4911
|
-
function
|
|
4941
|
+
function vn_getSlotVNs(vns) {
|
|
4912
4942
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(vns)) {
|
|
4913
4943
|
return vns;
|
|
4914
4944
|
}
|
|
@@ -4988,15 +5018,15 @@ function getSlotVNs(vns) {
|
|
|
4988
5018
|
}]
|
|
4989
5019
|
}, [iconSlot || showIcon && status || icon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
4990
5020
|
class: 'vxe-alert--icon'
|
|
4991
|
-
}, iconSlot ?
|
|
5021
|
+
}, iconSlot ? vn_getSlotVNs(iconSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
4992
5022
|
class: icon || getIcon()[`ALERT_${status?.toUpperCase()}`]
|
|
4993
5023
|
})]) : renderEmptyElement($xeAlert), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
4994
5024
|
class: 'vxe-alert--body'
|
|
4995
5025
|
}, [titleSlot || title ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
4996
5026
|
class: 'vxe-alert--title'
|
|
4997
|
-
}, titleSlot ?
|
|
5027
|
+
}, titleSlot ? vn_getSlotVNs(titleSlot({})) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(title)) : renderEmptyElement($xeAlert), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
4998
5028
|
class: 'vxe-alert--content'
|
|
4999
|
-
}, defaultSlot ?
|
|
5029
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot({})) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(content))]), showClose ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
5000
5030
|
class: 'vxe-alert--close-btn',
|
|
5001
5031
|
onClick: closeEvent
|
|
5002
5032
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
@@ -6437,7 +6467,7 @@ function handleBooleanDefaultValue(value) {
|
|
|
6437
6467
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
6438
6468
|
key: 1,
|
|
6439
6469
|
class: 'vxe-tooltip--content'
|
|
6440
|
-
},
|
|
6470
|
+
}, vn_getSlotVNs(contentSlot({})));
|
|
6441
6471
|
}
|
|
6442
6472
|
if (useHTML) {
|
|
6443
6473
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
@@ -6489,7 +6519,7 @@ function handleBooleanDefaultValue(value) {
|
|
|
6489
6519
|
}, [renderContent(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
6490
6520
|
class: 'vxe-tooltip--arrow',
|
|
6491
6521
|
style: tipStore.arrowStyle
|
|
6492
|
-
}), ...(defaultSlot ?
|
|
6522
|
+
}), ...(defaultSlot ? vn_getSlotVNs(defaultSlot({})) : [])]);
|
|
6493
6523
|
};
|
|
6494
6524
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.enterDelay, () => {
|
|
6495
6525
|
handleDelayFn();
|
|
@@ -7060,7 +7090,7 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
7060
7090
|
const pIconMethod = compConf ? compConf.renderButtonPrefix : null;
|
|
7061
7091
|
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
7062
7092
|
class: ['vxe-button--item vxe-button--custom-prefix-icon']
|
|
7063
|
-
}, pIconMethod ?
|
|
7093
|
+
}, pIconMethod ? vn_getSlotVNs(pIconMethod(prefixRender, {
|
|
7064
7094
|
$button: $xeButton
|
|
7065
7095
|
})) : []));
|
|
7066
7096
|
} else if (prefixIcon) {
|
|
@@ -7086,7 +7116,7 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
7086
7116
|
const sIconMethod = compConf ? compConf.renderButtonSuffix : null;
|
|
7087
7117
|
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
7088
7118
|
class: ['vxe-button--item vxe-button--custom-suffix-icon']
|
|
7089
|
-
}, sIconMethod ?
|
|
7119
|
+
}, sIconMethod ? vn_getSlotVNs(sIconMethod(suffixRender, {
|
|
7090
7120
|
$button: $xeButton
|
|
7091
7121
|
})) : []));
|
|
7092
7122
|
} else if (suffixIcon) {
|
|
@@ -9028,17 +9058,17 @@ const Calendar = VxeCalendar;
|
|
|
9028
9058
|
}]
|
|
9029
9059
|
}, defaultSlot ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9030
9060
|
class: 'vxe-loading--wrapper'
|
|
9031
|
-
},
|
|
9061
|
+
}, vn_getSlotVNs(defaultSlot({})))] : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9032
9062
|
class: 'vxe-loading--chunk'
|
|
9033
9063
|
}, [showIcon && (iconSlot || loadingIcon) ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9034
9064
|
class: 'vxe-loading--icon'
|
|
9035
|
-
}, iconSlot ?
|
|
9065
|
+
}, iconSlot ? vn_getSlotVNs(iconSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
9036
9066
|
class: loadingIcon
|
|
9037
9067
|
})]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9038
9068
|
class: 'vxe-loading--spinner'
|
|
9039
9069
|
}), textSlot || loadingText ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9040
9070
|
class: 'vxe-loading--text'
|
|
9041
|
-
}, textSlot ?
|
|
9071
|
+
}, textSlot ? vn_getSlotVNs(textSlot({})) : `${loadingText}`) : null])]);
|
|
9042
9072
|
};
|
|
9043
9073
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, () => {
|
|
9044
9074
|
handleInit();
|
|
@@ -9155,23 +9185,23 @@ const Calendar = VxeCalendar;
|
|
|
9155
9185
|
style: cardStyle
|
|
9156
9186
|
}, [title || titleSlot || headerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9157
9187
|
class: 'vxe-card--header'
|
|
9158
|
-
}, headerSlot ?
|
|
9188
|
+
}, headerSlot ? vn_getSlotVNs(headerSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9159
9189
|
class: ['vxe-card--header-title', {
|
|
9160
9190
|
'is--ellipsis': showTitleOverflow
|
|
9161
9191
|
}]
|
|
9162
|
-
}, titleSlot ?
|
|
9192
|
+
}, titleSlot ? vn_getSlotVNs(titleSlot({})) : `${title || ''}`), extraSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9163
9193
|
class: 'vxe-card--header-extra'
|
|
9164
|
-
},
|
|
9194
|
+
}, vn_getSlotVNs(extraSlot({}))) : renderEmptyElement($xeCard)]) : renderEmptyElement($xeCard), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9165
9195
|
class: 'vxe-card--body'
|
|
9166
9196
|
}, [leftSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9167
9197
|
class: 'vxe-card--body-left'
|
|
9168
|
-
},
|
|
9198
|
+
}, vn_getSlotVNs(leftSlot({}))) : renderEmptyElement($xeCard), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9169
9199
|
class: 'vxe-card--body-content'
|
|
9170
|
-
}, defaultSlot ?
|
|
9200
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot({})) : []), rightSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9171
9201
|
class: 'vxe-card--body-right'
|
|
9172
|
-
},
|
|
9202
|
+
}, vn_getSlotVNs(rightSlot({}))) : renderEmptyElement($xeCard)]), footerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9173
9203
|
class: 'vxe-card--footer'
|
|
9174
|
-
},
|
|
9204
|
+
}, vn_getSlotVNs(footerSlot({}))) : renderEmptyElement($xeCard),
|
|
9175
9205
|
/**
|
|
9176
9206
|
* 加载中
|
|
9177
9207
|
*/
|
|
@@ -9449,7 +9479,7 @@ const Card = VxeCard;
|
|
|
9449
9479
|
slotFunc = slots[slotFunc] || null;
|
|
9450
9480
|
}
|
|
9451
9481
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
|
|
9452
|
-
return
|
|
9482
|
+
return vn_getSlotVNs(slotFunc(params));
|
|
9453
9483
|
}
|
|
9454
9484
|
}
|
|
9455
9485
|
return [];
|
|
@@ -10466,7 +10496,7 @@ const Col = VxeCol;
|
|
|
10466
10496
|
slotFunc = slots[slotFunc] || null;
|
|
10467
10497
|
}
|
|
10468
10498
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
|
|
10469
|
-
return
|
|
10499
|
+
return vn_getSlotVNs(slotFunc(params));
|
|
10470
10500
|
}
|
|
10471
10501
|
}
|
|
10472
10502
|
return [];
|
|
@@ -13488,7 +13518,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
|
|
|
13488
13518
|
onClick: clickPrefixEvent
|
|
13489
13519
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
13490
13520
|
class: 'vxe-input--prefix-icon'
|
|
13491
|
-
}, prefixSlot ?
|
|
13521
|
+
}, prefixSlot ? vn_getSlotVNs(prefixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
13492
13522
|
class: prefixIcon
|
|
13493
13523
|
})])]) : null;
|
|
13494
13524
|
};
|
|
@@ -13519,7 +13549,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
|
|
|
13519
13549
|
})]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), isExtraBtn ? renderExtraSuffixIcon() : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), suffixSlot || suffixIcon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
13520
13550
|
class: 'vxe-input--suffix-icon',
|
|
13521
13551
|
onClick: clickSuffixEvent
|
|
13522
|
-
}, suffixSlot ?
|
|
13552
|
+
}, suffixSlot ? vn_getSlotVNs(suffixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
13523
13553
|
class: suffixIcon
|
|
13524
13554
|
})]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]) : null;
|
|
13525
13555
|
};
|
|
@@ -14840,7 +14870,7 @@ const ColorPicker = VxeColorPicker;
|
|
|
14840
14870
|
})]) : iconSlot || icon || clickToCopy ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
14841
14871
|
class: 'vxe-text--icon',
|
|
14842
14872
|
onClick: clickIconEvent
|
|
14843
|
-
}, iconSlot ?
|
|
14873
|
+
}, iconSlot ? vn_getSlotVNs(iconSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
14844
14874
|
class: icon || getIcon().TEXT_COPY
|
|
14845
14875
|
})]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
14846
14876
|
ref: refContentElem,
|
|
@@ -15063,7 +15093,7 @@ const ColorPicker = VxeColorPicker;
|
|
|
15063
15093
|
}]
|
|
15064
15094
|
}, [prefixSlot || prefixConfig ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
15065
15095
|
class: 'vxe-countdown--prefix'
|
|
15066
|
-
}, prefixSlot ?
|
|
15096
|
+
}, prefixSlot ? vn_getSlotVNs(prefixSlot({
|
|
15067
15097
|
currentValue: currNum,
|
|
15068
15098
|
diffConf
|
|
15069
15099
|
})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(src_text, {
|
|
@@ -15072,12 +15102,12 @@ const ColorPicker = VxeColorPicker;
|
|
|
15072
15102
|
status: prefixOpts.status
|
|
15073
15103
|
})]) : renderEmptyElement($xeCountdown), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
15074
15104
|
class: 'vxe-countdown--content'
|
|
15075
|
-
}, defaultSlot ?
|
|
15105
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot({
|
|
15076
15106
|
currentValue: currNum,
|
|
15077
15107
|
diffConf
|
|
15078
15108
|
})) : renderDefaultContentVNs()), suffixSlot || suffixConfig ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
15079
15109
|
class: 'vxe-countdown--suffix'
|
|
15080
|
-
}, suffixSlot ?
|
|
15110
|
+
}, suffixSlot ? vn_getSlotVNs(suffixSlot({
|
|
15081
15111
|
currentValue: currNum,
|
|
15082
15112
|
diffConf
|
|
15083
15113
|
})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(src_text, {
|
|
@@ -17703,7 +17733,7 @@ const DatePanel = VxeDatePanel;
|
|
|
17703
17733
|
onClick: clickPrefixEvent
|
|
17704
17734
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
17705
17735
|
class: 'vxe-date-picker--prefix-icon'
|
|
17706
|
-
}, prefixSlot ?
|
|
17736
|
+
}, prefixSlot ? vn_getSlotVNs(prefixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
17707
17737
|
class: prefixIcon
|
|
17708
17738
|
})])]) : null;
|
|
17709
17739
|
};
|
|
@@ -17729,7 +17759,7 @@ const DatePanel = VxeDatePanel;
|
|
|
17729
17759
|
})]) : renderEmptyElement($xeDatePicker), renderExtraSuffixIcon(), suffixSlot || suffixIcon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
17730
17760
|
class: 'vxe-date-picker--suffix-icon',
|
|
17731
17761
|
onClick: clickSuffixEvent
|
|
17732
|
-
}, suffixSlot ?
|
|
17762
|
+
}, suffixSlot ? vn_getSlotVNs(suffixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
17733
17763
|
class: suffixIcon
|
|
17734
17764
|
})]) : renderEmptyElement($xeDatePicker)]);
|
|
17735
17765
|
};
|
|
@@ -18866,7 +18896,7 @@ const DatePicker = VxeDatePicker;
|
|
|
18866
18896
|
onClick: clickPrefixEvent
|
|
18867
18897
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
18868
18898
|
class: 'vxe-date-range-picker--prefix-icon'
|
|
18869
|
-
}, prefixSlot ?
|
|
18899
|
+
}, prefixSlot ? vn_getSlotVNs(prefixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
18870
18900
|
class: prefixIcon
|
|
18871
18901
|
})])]) : null;
|
|
18872
18902
|
};
|
|
@@ -18893,7 +18923,7 @@ const DatePicker = VxeDatePicker;
|
|
|
18893
18923
|
})]) : renderEmptyElement($xeDateRangePicker), renderExtraSuffixIcon(), suffixSlot || suffixIcon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
18894
18924
|
class: 'vxe-date-range-picker--suffix-icon',
|
|
18895
18925
|
onClick: clickSuffixEvent
|
|
18896
|
-
}, suffixSlot ?
|
|
18926
|
+
}, suffixSlot ? vn_getSlotVNs(suffixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
18897
18927
|
class: suffixIcon
|
|
18898
18928
|
})]) : renderEmptyElement($xeDateRangePicker)]);
|
|
18899
18929
|
};
|
|
@@ -19480,13 +19510,13 @@ const allActiveDrawers = [];
|
|
|
19480
19510
|
const cornerSlot = slots.corner || propSlots.corner;
|
|
19481
19511
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19482
19512
|
class: 'vxe-drawer--header-title'
|
|
19483
|
-
}, titleSlot ?
|
|
19513
|
+
}, titleSlot ? vn_getSlotVNs(titleSlot({
|
|
19484
19514
|
$drawer: $xeDrawer
|
|
19485
19515
|
})) : title ? getFuncText(title) : getI18n('vxe.alert.title')), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19486
19516
|
class: 'vxe-drawer--header-right'
|
|
19487
19517
|
}, [cornerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19488
19518
|
class: 'vxe-drawer--corner-wrapper'
|
|
19489
|
-
},
|
|
19519
|
+
}, vn_getSlotVNs(cornerSlot({
|
|
19490
19520
|
$drawer: $xeDrawer
|
|
19491
19521
|
}))) : renderEmptyElement($xeDrawer), showClose ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19492
19522
|
class: ['vxe-drawer--close-btn', 'trigger--btn'],
|
|
@@ -19507,7 +19537,7 @@ const allActiveDrawers = [];
|
|
|
19507
19537
|
class: ['vxe-drawer--header', {
|
|
19508
19538
|
'is--ellipsis': showTitleOverflow
|
|
19509
19539
|
}]
|
|
19510
|
-
}, headerSlot ?
|
|
19540
|
+
}, headerSlot ? vn_getSlotVNs(headerSlot({
|
|
19511
19541
|
$drawer: $xeDrawer
|
|
19512
19542
|
})) : renderTitles());
|
|
19513
19543
|
}
|
|
@@ -19525,17 +19555,17 @@ const allActiveDrawers = [];
|
|
|
19525
19555
|
class: 'vxe-drawer--body'
|
|
19526
19556
|
}, [leftSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19527
19557
|
class: 'vxe-drawer--body-left'
|
|
19528
|
-
},
|
|
19558
|
+
}, vn_getSlotVNs(leftSlot({
|
|
19529
19559
|
$drawer: $xeDrawer
|
|
19530
19560
|
}))) : renderEmptyElement($xeDrawer), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19531
19561
|
class: 'vxe-drawer--body-default'
|
|
19532
19562
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19533
19563
|
class: 'vxe-drawer--content'
|
|
19534
|
-
}, defaultSlot ?
|
|
19564
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot({
|
|
19535
19565
|
$drawer: $xeDrawer
|
|
19536
19566
|
})) : getFuncText(content))]), rightSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19537
19567
|
class: 'vxe-drawer--body-right'
|
|
19538
|
-
},
|
|
19568
|
+
}, vn_getSlotVNs(rightSlot({
|
|
19539
19569
|
$drawer: $xeDrawer
|
|
19540
19570
|
}))) : renderEmptyElement($xeDrawer), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(loading, {
|
|
19541
19571
|
class: 'vxe-drawer--loading',
|
|
@@ -19574,11 +19604,11 @@ const allActiveDrawers = [];
|
|
|
19574
19604
|
class: 'vxe-drawer--footer-wrapper'
|
|
19575
19605
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19576
19606
|
class: 'vxe-drawer--footer-left'
|
|
19577
|
-
}, lfSlot ?
|
|
19607
|
+
}, lfSlot ? vn_getSlotVNs(lfSlot({
|
|
19578
19608
|
$drawer: $xeDrawer
|
|
19579
19609
|
})) : []), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19580
19610
|
class: 'vxe-drawer--footer-right'
|
|
19581
|
-
}, rfSlot ?
|
|
19611
|
+
}, rfSlot ? vn_getSlotVNs(rfSlot({
|
|
19582
19612
|
$drawer: $xeDrawer
|
|
19583
19613
|
})) : btnVNs)]);
|
|
19584
19614
|
};
|
|
@@ -19590,7 +19620,7 @@ const allActiveDrawers = [];
|
|
|
19590
19620
|
if (props.showFooter) {
|
|
19591
19621
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19592
19622
|
class: 'vxe-drawer--footer'
|
|
19593
|
-
}, footerSlot ?
|
|
19623
|
+
}, footerSlot ? vn_getSlotVNs(footerSlot({
|
|
19594
19624
|
$drawer: $xeDrawer
|
|
19595
19625
|
})) : [renderDefaultFooter()]);
|
|
19596
19626
|
}
|
|
@@ -19644,7 +19674,7 @@ const allActiveDrawers = [];
|
|
|
19644
19674
|
onMousedown: boxMousedownEvent
|
|
19645
19675
|
}, [asideSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19646
19676
|
class: 'vxe-drawer--aside'
|
|
19647
|
-
},
|
|
19677
|
+
}, vn_getSlotVNs(asideSlot({
|
|
19648
19678
|
$drawer: $xeDrawer
|
|
19649
19679
|
}))) : renderEmptyElement($xeDrawer), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19650
19680
|
class: 'vxe-drawer--container'
|
|
@@ -20315,7 +20345,7 @@ function renderTitle($xeForm, item, isGroup) {
|
|
|
20315
20345
|
titVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
20316
20346
|
key: 'pl',
|
|
20317
20347
|
class: 'vxe-form--item-title-label'
|
|
20318
|
-
}, titleSlot ? $xeForm.callSlot(titleSlot, params) : rftTitle ?
|
|
20348
|
+
}, titleSlot ? $xeForm.callSlot(titleSlot, params) : rftTitle ? vn_getSlotVNs(rftTitle(itemRender, params)) : getFuncText(item.title)));
|
|
20319
20349
|
const fixVNs = [];
|
|
20320
20350
|
if (titleSuffix) {
|
|
20321
20351
|
fixVNs.push(titleSuffix.content || titleSuffix.message ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(tooltip, {
|
|
@@ -20402,7 +20432,7 @@ const renderItemContent = ($xeForm, item) => {
|
|
|
20402
20432
|
if (defaultSlot) {
|
|
20403
20433
|
contentVNs = $xeForm.callSlot(defaultSlot, params);
|
|
20404
20434
|
} else if (rftContent) {
|
|
20405
|
-
contentVNs =
|
|
20435
|
+
contentVNs = vn_getSlotVNs(rftContent(itemRender, params));
|
|
20406
20436
|
} else if (field) {
|
|
20407
20437
|
let itemLabel = itemValue;
|
|
20408
20438
|
if (formatter) {
|
|
@@ -20828,7 +20858,7 @@ function checkRuleStatus(rule, val) {
|
|
|
20828
20858
|
slotFunc = slots[slotFunc] || null;
|
|
20829
20859
|
}
|
|
20830
20860
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
|
|
20831
|
-
return
|
|
20861
|
+
return vn_getSlotVNs(slotFunc(params));
|
|
20832
20862
|
}
|
|
20833
20863
|
}
|
|
20834
20864
|
return [];
|
|
@@ -22973,7 +23003,7 @@ const Icon = VxeIcon;
|
|
|
22973
23003
|
}
|
|
22974
23004
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
22975
23005
|
class: 'vxe-ico-picker--item-icon'
|
|
22976
|
-
}, oIconMethod && iconRender ?
|
|
23006
|
+
}, oIconMethod && iconRender ? vn_getSlotVNs(oIconMethod(iconRender, {
|
|
22977
23007
|
$iconPicker: $xeIconPicker,
|
|
22978
23008
|
option: item
|
|
22979
23009
|
})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
@@ -22999,7 +23029,7 @@ const Icon = VxeIcon;
|
|
|
22999
23029
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
23000
23030
|
key: 'inc',
|
|
23001
23031
|
class: 'vxe-ico-picker--icon'
|
|
23002
|
-
},
|
|
23032
|
+
}, vn_getSlotVNs(oIconMethod(iconRender, {
|
|
23003
23033
|
$iconPicker: $xeIconPicker,
|
|
23004
23034
|
option: selectIconItem
|
|
23005
23035
|
})));
|
|
@@ -24735,7 +24765,7 @@ const LayoutHeader = VxeLayoutHeader;
|
|
|
24735
24765
|
const textContent = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(content);
|
|
24736
24766
|
return [iconSlot || icon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
24737
24767
|
class: 'vxe-link--icon'
|
|
24738
|
-
}, iconSlot ?
|
|
24768
|
+
}, iconSlot ? vn_getSlotVNs(iconSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
24739
24769
|
class: icon
|
|
24740
24770
|
})]) : renderEmptyElement($xeLink), defaultSlot || textContent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
24741
24771
|
class: 'vxe-link--content'
|
|
@@ -25545,7 +25575,7 @@ const List = VxeList;
|
|
|
25545
25575
|
slotFunc = slots[slotFunc] || null;
|
|
25546
25576
|
}
|
|
25547
25577
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
|
|
25548
|
-
return
|
|
25578
|
+
return vn_getSlotVNs(slotFunc(params));
|
|
25549
25579
|
}
|
|
25550
25580
|
}
|
|
25551
25581
|
return [];
|
|
@@ -26989,7 +27019,7 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
26989
27019
|
const isMaximizeStatus = computeIsMaximizeStatus.value;
|
|
26990
27020
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
26991
27021
|
class: 'vxe-modal--header-title'
|
|
26992
|
-
}, titleSlot ?
|
|
27022
|
+
}, titleSlot ? vn_getSlotVNs(titleSlot({
|
|
26993
27023
|
$modal: $xeModal,
|
|
26994
27024
|
minimized: isMinimizeStatus,
|
|
26995
27025
|
maximized: isMaximizeStatus
|
|
@@ -26997,7 +27027,7 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
26997
27027
|
class: 'vxe-modal--header-right'
|
|
26998
27028
|
}, [cornerSlot && !isMinimizeStatus ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
26999
27029
|
class: 'vxe-modal--corner-wrapper'
|
|
27000
|
-
},
|
|
27030
|
+
}, vn_getSlotVNs(cornerSlot({
|
|
27001
27031
|
$modal: $xeModal
|
|
27002
27032
|
}))) : renderEmptyElement($xeModal), (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(showMinimize) ? showMinimize : showZoom) ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27003
27033
|
class: ['vxe-modal--zoom-btn', 'trigger--btn'],
|
|
@@ -27041,7 +27071,7 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
27041
27071
|
'is--ellipsis': props.showTitleOverflow
|
|
27042
27072
|
}],
|
|
27043
27073
|
...headerOns
|
|
27044
|
-
}, headerSlot ?
|
|
27074
|
+
}, headerSlot ? vn_getSlotVNs(headerSlot({
|
|
27045
27075
|
$modal: $xeModal
|
|
27046
27076
|
})) : renderTitles());
|
|
27047
27077
|
}
|
|
@@ -27069,20 +27099,20 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
27069
27099
|
}
|
|
27070
27100
|
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27071
27101
|
class: 'vxe-modal--content'
|
|
27072
|
-
}, defaultSlot ?
|
|
27102
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot({
|
|
27073
27103
|
$modal: $xeModal
|
|
27074
27104
|
})) : getFuncText(content)));
|
|
27075
27105
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27076
27106
|
class: 'vxe-modal--body'
|
|
27077
27107
|
}, [leftSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27078
27108
|
class: 'vxe-modal--body-left'
|
|
27079
|
-
},
|
|
27109
|
+
}, vn_getSlotVNs(leftSlot({
|
|
27080
27110
|
$modal: $xeModal
|
|
27081
27111
|
}))) : renderEmptyElement($xeModal), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27082
27112
|
class: 'vxe-modal--body-default'
|
|
27083
27113
|
}, contVNs), rightSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27084
27114
|
class: 'vxe-modal--body-right'
|
|
27085
|
-
},
|
|
27115
|
+
}, vn_getSlotVNs(rightSlot({
|
|
27086
27116
|
$modal: $xeModal
|
|
27087
27117
|
}))) : renderEmptyElement($xeModal), isMsg ? renderEmptyElement($xeModal) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(loading, {
|
|
27088
27118
|
class: 'vxe-modal--loading',
|
|
@@ -27122,11 +27152,11 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
27122
27152
|
class: 'vxe-modal--footer-wrapper'
|
|
27123
27153
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27124
27154
|
class: 'vxe-modal--footer-left'
|
|
27125
|
-
}, lfSlot ?
|
|
27155
|
+
}, lfSlot ? vn_getSlotVNs(lfSlot({
|
|
27126
27156
|
$modal: $xeModal
|
|
27127
27157
|
})) : []), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27128
27158
|
class: 'vxe-modal--footer-right'
|
|
27129
|
-
}, rfSlot ?
|
|
27159
|
+
}, rfSlot ? vn_getSlotVNs(rfSlot({
|
|
27130
27160
|
$modal: $xeModal
|
|
27131
27161
|
})) : btnVNs)]);
|
|
27132
27162
|
};
|
|
@@ -27138,7 +27168,7 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
27138
27168
|
if (props.showFooter) {
|
|
27139
27169
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27140
27170
|
class: 'vxe-modal--footer'
|
|
27141
|
-
}, footerSlot ?
|
|
27171
|
+
}, footerSlot ? vn_getSlotVNs(footerSlot({
|
|
27142
27172
|
$modal: $xeModal
|
|
27143
27173
|
})) : [renderDefaultFooter()]);
|
|
27144
27174
|
}
|
|
@@ -27210,7 +27240,7 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
27210
27240
|
onMousedown: boxMousedownEvent
|
|
27211
27241
|
}, [(isMsg || asideSlot) && !isMinimizeStatus ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27212
27242
|
class: 'vxe-modal--aside'
|
|
27213
|
-
}, asideSlot ?
|
|
27243
|
+
}, asideSlot ? vn_getSlotVNs(asideSlot({
|
|
27214
27244
|
$modal: $xeModal
|
|
27215
27245
|
})) : [status || iconStatus ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27216
27246
|
class: 'vxe-modal--status-wrapper'
|
|
@@ -28406,7 +28436,7 @@ const NoticeBar = VxeNoticeBar;
|
|
|
28406
28436
|
onClick: clickPrefixEvent
|
|
28407
28437
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
28408
28438
|
class: 'vxe-number-input--prefix-icon'
|
|
28409
|
-
}, prefixSlot ?
|
|
28439
|
+
}, prefixSlot ? vn_getSlotVNs(prefixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
28410
28440
|
class: prefixIcon
|
|
28411
28441
|
})])]) : renderEmptyElement($xeNumberInput);
|
|
28412
28442
|
};
|
|
@@ -28432,7 +28462,7 @@ const NoticeBar = VxeNoticeBar;
|
|
|
28432
28462
|
})]) : renderEmptyElement($xeNumberInput), suffixSlot || suffixIcon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
28433
28463
|
class: 'vxe-number-input--suffix-icon',
|
|
28434
28464
|
onClick: clickSuffixEvent
|
|
28435
|
-
}, suffixSlot ?
|
|
28465
|
+
}, suffixSlot ? vn_getSlotVNs(suffixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
28436
28466
|
class: suffixIcon
|
|
28437
28467
|
})]) : renderEmptyElement($xeNumberInput)]);
|
|
28438
28468
|
};
|
|
@@ -29094,7 +29124,7 @@ function getOptUniqueId() {
|
|
|
29094
29124
|
slotFunc = slots[slotFunc] || null;
|
|
29095
29125
|
}
|
|
29096
29126
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
|
|
29097
|
-
return
|
|
29127
|
+
return vn_getSlotVNs(slotFunc(params));
|
|
29098
29128
|
}
|
|
29099
29129
|
}
|
|
29100
29130
|
return [];
|
|
@@ -30398,7 +30428,7 @@ function getOptUniqueId() {
|
|
|
30398
30428
|
type: Array,
|
|
30399
30429
|
default: () => getConfig().pager.pageSizes || [10, 15, 20, 50, 100]
|
|
30400
30430
|
},
|
|
30401
|
-
//
|
|
30431
|
+
// 列对齐方式
|
|
30402
30432
|
align: {
|
|
30403
30433
|
type: String,
|
|
30404
30434
|
default: () => getConfig().pager.align
|
|
@@ -31396,7 +31426,7 @@ const Pager = VxePager;
|
|
|
31396
31426
|
onClick: clickPrefixEvent
|
|
31397
31427
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
31398
31428
|
class: 'vxe-password-input--prefix-icon'
|
|
31399
|
-
}, prefixSlot ?
|
|
31429
|
+
}, prefixSlot ? vn_getSlotVNs(prefixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
31400
31430
|
class: prefixIcon
|
|
31401
31431
|
})])]) : null;
|
|
31402
31432
|
};
|
|
@@ -31423,7 +31453,7 @@ const Pager = VxePager;
|
|
|
31423
31453
|
})]) : renderEmptyElement($xePasswordInput), controls ? renderPasswordIcon() : renderEmptyElement($xePasswordInput), suffixSlot || suffixIcon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
31424
31454
|
class: 'vxe-password-input--suffix-icon',
|
|
31425
31455
|
onClick: clickSuffixEvent
|
|
31426
|
-
}, suffixSlot ?
|
|
31456
|
+
}, suffixSlot ? vn_getSlotVNs(suffixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
31427
31457
|
class: suffixIcon
|
|
31428
31458
|
})]) : renderEmptyElement($xePasswordInput)]) : null;
|
|
31429
31459
|
};
|
|
@@ -32000,19 +32030,19 @@ const PrintPageBreak = VxePrintPageBreak;
|
|
|
32000
32030
|
class: ['vxe-print-page-break', align ? `align--${align}` : '']
|
|
32001
32031
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
32002
32032
|
class: ['vxe-print-page-break--header', headerAlign ? `align--${headerAlign}` : '']
|
|
32003
|
-
}, headerSlot ?
|
|
32033
|
+
}, headerSlot ? vn_getSlotVNs(headerSlot(params)) : [title && (showAllPageTitle || !index) ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
32004
32034
|
class: 'vxe-print-page-break--header-title'
|
|
32005
32035
|
}, `${title || ''}`) : renderEmptyElement($xePrint)]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
32006
32036
|
class: 'vxe-print-page-break--body'
|
|
32007
32037
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
32008
32038
|
class: 'vxe-print-page-break--left'
|
|
32009
|
-
}, leftSlot ?
|
|
32039
|
+
}, leftSlot ? vn_getSlotVNs(leftSlot(params)) : []), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
32010
32040
|
class: 'vxe-print-page-break--content'
|
|
32011
|
-
}, defaultSlot ?
|
|
32041
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot(params)) : []), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
32012
32042
|
class: 'vxe-print-page-break--right'
|
|
32013
|
-
}, rightSlot ?
|
|
32043
|
+
}, rightSlot ? vn_getSlotVNs(rightSlot(params)) : [])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
32014
32044
|
class: ['vxe-print-page-break--footer', footerAlign ? `align--${footerAlign}` : '']
|
|
32015
|
-
}, footerSlot ?
|
|
32045
|
+
}, footerSlot ? vn_getSlotVNs(footerSlot(params)) : [showPageNumber ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
32016
32046
|
class: 'vxe-print-page-break--footer-page-number'
|
|
32017
32047
|
}, `${currentPage}/${pageCount}`) : renderEmptyElement($xePrint)])]);
|
|
32018
32048
|
});
|
|
@@ -32028,10 +32058,10 @@ const PrintPageBreak = VxePrintPageBreak;
|
|
|
32028
32058
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
32029
32059
|
ref: refElem,
|
|
32030
32060
|
class: ['vxe-print']
|
|
32031
|
-
}, customLayout ? defaultSlot ?
|
|
32061
|
+
}, customLayout ? defaultSlot ? vn_getSlotVNs(defaultSlot({})) : [] : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
32032
32062
|
key: 'slot',
|
|
32033
32063
|
class: 'vxe-print-slots'
|
|
32034
|
-
}, defaultSlot ?
|
|
32064
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot({})) : [])].concat(staticPageBreaks.length ? renderPageStaticLayouts() : renderPageConfigLayouts()));
|
|
32035
32065
|
};
|
|
32036
32066
|
$xePrint.renderVN = renderVN;
|
|
32037
32067
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xePrint', $xePrint);
|
|
@@ -33529,7 +33559,7 @@ const Select = VxeSelect;
|
|
|
33529
33559
|
slotFunc = slots[slotFunc] || null;
|
|
33530
33560
|
}
|
|
33531
33561
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
|
|
33532
|
-
return
|
|
33562
|
+
return vn_getSlotVNs(slotFunc(params));
|
|
33533
33563
|
}
|
|
33534
33564
|
}
|
|
33535
33565
|
return [];
|
|
@@ -35835,7 +35865,7 @@ const scrollbarOffsetSize = 20;
|
|
|
35835
35865
|
slotFunc = slots[slotFunc] || null;
|
|
35836
35866
|
}
|
|
35837
35867
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
|
|
35838
|
-
return
|
|
35868
|
+
return vn_getSlotVNs(slotFunc(params));
|
|
35839
35869
|
}
|
|
35840
35870
|
}
|
|
35841
35871
|
return [];
|
|
@@ -36715,7 +36745,7 @@ const Tabs = VxeTabs;
|
|
|
36715
36745
|
const iconSlot = slots.icon;
|
|
36716
36746
|
return [iconSlot || icon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
36717
36747
|
class: 'vxe-tag--icon'
|
|
36718
|
-
}, iconSlot ?
|
|
36748
|
+
}, iconSlot ? vn_getSlotVNs(iconSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
36719
36749
|
class: icon
|
|
36720
36750
|
})]) : renderEmptyElement($xeTag), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
36721
36751
|
class: 'vxe-tag--content'
|
|
@@ -37526,15 +37556,15 @@ const Textarea = VxeTextarea;
|
|
|
37526
37556
|
}]
|
|
37527
37557
|
}, [iconSlot || icon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
37528
37558
|
class: 'vxe-tip--icon'
|
|
37529
|
-
}, iconSlot ?
|
|
37559
|
+
}, iconSlot ? vn_getSlotVNs(iconSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
37530
37560
|
class: icon
|
|
37531
37561
|
})]) : renderEmptyElement($xeTip), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
37532
37562
|
class: 'vxe-tip--body'
|
|
37533
37563
|
}, [titleSlot || title ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
37534
37564
|
class: 'vxe-tip--title'
|
|
37535
|
-
}, titleSlot ?
|
|
37565
|
+
}, titleSlot ? vn_getSlotVNs(titleSlot({})) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(title)) : renderEmptyElement($xeTip), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
37536
37566
|
class: 'vxe-tip--content'
|
|
37537
|
-
}, defaultSlot ?
|
|
37567
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot({})) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(content))])]);
|
|
37538
37568
|
};
|
|
37539
37569
|
$xeTip.renderVN = renderVN;
|
|
37540
37570
|
return $xeTip;
|
|
@@ -38988,6 +39018,18 @@ function getNodeUniqueId() {
|
|
|
38988
39018
|
const treeMethods = {
|
|
38989
39019
|
dispatchEvent,
|
|
38990
39020
|
getNodeId,
|
|
39021
|
+
getNodeById(nodeid) {
|
|
39022
|
+
const {
|
|
39023
|
+
nodeMaps
|
|
39024
|
+
} = internalData;
|
|
39025
|
+
if (nodeid) {
|
|
39026
|
+
const nodeItem = nodeMaps[nodeid];
|
|
39027
|
+
if (nodeItem) {
|
|
39028
|
+
return nodeItem.item;
|
|
39029
|
+
}
|
|
39030
|
+
}
|
|
39031
|
+
return null;
|
|
39032
|
+
},
|
|
38991
39033
|
loadData(data) {
|
|
38992
39034
|
return loadData(data || []);
|
|
38993
39035
|
},
|
|
@@ -39517,15 +39559,15 @@ function getNodeUniqueId() {
|
|
|
39517
39559
|
onClick(evnt) {
|
|
39518
39560
|
toggleExpandEvent(evnt, node);
|
|
39519
39561
|
}
|
|
39520
|
-
}, iconSlot ?
|
|
39562
|
+
}, iconSlot ? vn_getSlotVNs(iconSlot(nParams)) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
39521
39563
|
class: isLazyLoading ? iconLoaded || getIcon().TREE_NODE_LOADED : isExpand ? iconOpen || getIcon().TREE_NODE_OPEN : iconClose || getIcon().TREE_NODE_CLOSE
|
|
39522
39564
|
})])] : []), renderRadio(node, nodeid, isRadioChecked), renderCheckbox(node, nodeid, isCheckboxChecked), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
39523
39565
|
class: 'vxe-tree--node-item-inner'
|
|
39524
39566
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
39525
39567
|
class: 'vxe-tree--node-item-title'
|
|
39526
|
-
}, titleSlot ?
|
|
39568
|
+
}, titleSlot ? vn_getSlotVNs(titleSlot(nParams)) : `${nodeValue}`), extraSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
39527
39569
|
class: 'vxe-tree--node-item-extra'
|
|
39528
|
-
},
|
|
39570
|
+
}, vn_getSlotVNs(extraSlot(nParams))) : renderEmptyElement($xeTree)])])]);
|
|
39529
39571
|
};
|
|
39530
39572
|
const renderList = treeList => {
|
|
39531
39573
|
const {
|
|
@@ -42045,7 +42087,7 @@ const saveLocalFile = options => {
|
|
|
42045
42087
|
class: 'vxe-upload--file-item-btn-wrapper'
|
|
42046
42088
|
}, [cornerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
42047
42089
|
class: 'vxe-upload--file-item-corner'
|
|
42048
|
-
},
|
|
42090
|
+
}, vn_getSlotVNs(cornerSlot({
|
|
42049
42091
|
option: item,
|
|
42050
42092
|
isMoreView,
|
|
42051
42093
|
readonly: formReadonly
|
|
@@ -42090,7 +42132,7 @@ const saveLocalFile = options => {
|
|
|
42090
42132
|
}, [autoHiddenButton && overCount ? renderEmptyElement($xeUpload) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
42091
42133
|
class: 'vxe-upload--file-action-btn',
|
|
42092
42134
|
onClick: clickEvent
|
|
42093
|
-
}, defaultSlot ?
|
|
42135
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot({
|
|
42094
42136
|
$upload: $xeUpload
|
|
42095
42137
|
})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(src_button, {
|
|
42096
42138
|
class: 'vxe-upload--file-action-button',
|
|
@@ -42099,7 +42141,7 @@ const saveLocalFile = options => {
|
|
|
42099
42141
|
disabled: isDisabled
|
|
42100
42142
|
})]), showTipText && (defTipText || tipSlot) ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
42101
42143
|
class: 'vxe-upload--file-action-tip'
|
|
42102
|
-
}, tipSlot ?
|
|
42144
|
+
}, tipSlot ? vn_getSlotVNs(tipSlot({
|
|
42103
42145
|
$upload: $xeUpload
|
|
42104
42146
|
})) : `${defTipText}`) : renderEmptyElement($xeUpload)]);
|
|
42105
42147
|
};
|
|
@@ -42241,7 +42283,7 @@ const saveLocalFile = options => {
|
|
|
42241
42283
|
}
|
|
42242
42284
|
}, [cornerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
42243
42285
|
class: 'vxe-upload--file-item-corner'
|
|
42244
|
-
},
|
|
42286
|
+
}, vn_getSlotVNs(cornerSlot({
|
|
42245
42287
|
option: item,
|
|
42246
42288
|
isMoreView,
|
|
42247
42289
|
readonly: formReadonly
|
|
@@ -42294,7 +42336,7 @@ const saveLocalFile = options => {
|
|
|
42294
42336
|
class: 'vxe-upload--image-action-content'
|
|
42295
42337
|
}, buttonText ? `${external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(buttonText) ? buttonText({}) : buttonText}` : getI18n('vxe.upload.imgBtnText')) : renderEmptyElement($xeUpload), showTipText && (defTipText || tipSlot) ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
42296
42338
|
class: 'vxe-upload--image-action-hint'
|
|
42297
|
-
}, tipSlot ?
|
|
42339
|
+
}, tipSlot ? vn_getSlotVNs(tipSlot({
|
|
42298
42340
|
$upload: $xeUpload
|
|
42299
42341
|
})) : `${defTipText}`) : renderEmptyElement($xeUpload)])])]);
|
|
42300
42342
|
};
|