vxe-pc-ui 4.7.21 → 4.7.24
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 +24 -23
- package/es/icon/style.css +1 -1
- package/es/input/src/input.js +11 -0
- package/es/language/ar-EG.js +2 -1
- package/es/language/de-DE.js +2 -1
- package/es/language/en-US.js +2 -1
- package/es/language/es-ES.js +2 -1
- package/es/language/fr-FR.js +2 -1
- package/es/language/hu-HU.js +2 -1
- package/es/language/hy-AM.js +2 -1
- package/es/language/id-ID.js +2 -1
- package/es/language/it-IT.js +2 -1
- package/es/language/ja-JP.js +2 -1
- package/es/language/ko-KR.js +2 -1
- package/es/language/ms-MY.js +2 -1
- package/es/language/nb-NO.js +2 -1
- package/es/language/pt-BR.js +2 -1
- package/es/language/ru-RU.js +2 -1
- package/es/language/th-TH.js +2 -1
- package/es/language/ug-CN.js +2 -1
- package/es/language/uk-UA.js +2 -1
- package/es/language/uz-UZ.js +2 -1
- package/es/language/vi-VN.js +2 -1
- package/es/language/zh-CHT.js +2 -1
- package/es/language/zh-CN.js +2 -1
- package/es/pager/src/pager.js +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- 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 +129 -87
- package/lib/index.umd.min.js +1 -1
- package/lib/input/src/input.js +11 -0
- package/lib/input/src/input.min.js +1 -1
- package/lib/language/ar-EG.js +2 -1
- package/lib/language/ar-EG.min.js +1 -1
- package/lib/language/ar-EG.umd.js +2 -1
- package/lib/language/de-DE.js +2 -1
- package/lib/language/de-DE.min.js +1 -1
- package/lib/language/de-DE.umd.js +2 -1
- package/lib/language/en-US.js +2 -1
- package/lib/language/en-US.min.js +1 -1
- package/lib/language/en-US.umd.js +2 -1
- package/lib/language/es-ES.js +2 -1
- package/lib/language/es-ES.min.js +1 -1
- package/lib/language/es-ES.umd.js +2 -1
- package/lib/language/fr-FR.js +2 -1
- package/lib/language/fr-FR.min.js +1 -1
- package/lib/language/fr-FR.umd.js +2 -1
- package/lib/language/hu-HU.js +2 -1
- package/lib/language/hu-HU.min.js +1 -1
- package/lib/language/hu-HU.umd.js +2 -1
- package/lib/language/hy-AM.js +2 -1
- package/lib/language/hy-AM.min.js +1 -1
- package/lib/language/hy-AM.umd.js +2 -1
- package/lib/language/id-ID.js +2 -1
- package/lib/language/id-ID.min.js +1 -1
- package/lib/language/id-ID.umd.js +2 -1
- package/lib/language/it-IT.js +2 -1
- package/lib/language/it-IT.min.js +1 -1
- package/lib/language/it-IT.umd.js +2 -1
- package/lib/language/ja-JP.js +2 -1
- package/lib/language/ja-JP.min.js +1 -1
- package/lib/language/ja-JP.umd.js +2 -1
- package/lib/language/ko-KR.js +2 -1
- package/lib/language/ko-KR.min.js +1 -1
- package/lib/language/ko-KR.umd.js +2 -1
- package/lib/language/ms-MY.js +2 -1
- package/lib/language/ms-MY.min.js +1 -1
- package/lib/language/ms-MY.umd.js +2 -1
- package/lib/language/nb-NO.js +2 -1
- package/lib/language/nb-NO.min.js +1 -1
- package/lib/language/nb-NO.umd.js +2 -1
- package/lib/language/pt-BR.js +2 -1
- package/lib/language/pt-BR.min.js +1 -1
- package/lib/language/pt-BR.umd.js +2 -1
- package/lib/language/ru-RU.js +2 -1
- package/lib/language/ru-RU.min.js +1 -1
- package/lib/language/ru-RU.umd.js +2 -1
- package/lib/language/th-TH.js +2 -1
- package/lib/language/th-TH.min.js +1 -1
- package/lib/language/th-TH.umd.js +2 -1
- package/lib/language/ug-CN.js +2 -1
- package/lib/language/ug-CN.min.js +1 -1
- package/lib/language/ug-CN.umd.js +2 -1
- package/lib/language/uk-UA.js +2 -1
- package/lib/language/uk-UA.min.js +1 -1
- package/lib/language/uk-UA.umd.js +2 -1
- package/lib/language/uz-UZ.js +2 -1
- package/lib/language/uz-UZ.min.js +1 -1
- package/lib/language/uz-UZ.umd.js +2 -1
- package/lib/language/vi-VN.js +2 -1
- package/lib/language/vi-VN.min.js +1 -1
- package/lib/language/vi-VN.umd.js +2 -1
- package/lib/language/zh-CHT.js +2 -1
- package/lib/language/zh-CHT.min.js +1 -1
- package/lib/language/zh-CHT.umd.js +2 -1
- package/lib/language/zh-CN.js +2 -1
- package/lib/language/zh-CN.min.js +1 -1
- package/lib/language/zh-CN.umd.js +2 -1
- package/lib/pager/src/pager.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +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/input/src/input.ts +9 -0
- package/packages/language/ar-EG.ts +2 -1
- package/packages/language/de-DE.ts +2 -1
- package/packages/language/en-US.ts +2 -1
- package/packages/language/es-ES.ts +2 -1
- package/packages/language/fr-FR.ts +2 -1
- package/packages/language/hu-HU.ts +2 -1
- package/packages/language/hy-AM.ts +2 -1
- package/packages/language/id-ID.ts +2 -1
- package/packages/language/it-IT.ts +2 -1
- package/packages/language/ja-JP.ts +2 -1
- package/packages/language/ko-KR.ts +2 -1
- package/packages/language/ms-MY.ts +2 -1
- package/packages/language/nb-NO.ts +2 -1
- package/packages/language/pt-BR.ts +2 -1
- package/packages/language/ru-RU.ts +2 -1
- package/packages/language/th-TH.ts +2 -1
- package/packages/language/ug-CN.ts +2 -1
- package/packages/language/uk-UA.ts +2 -1
- package/packages/language/uz-UZ.ts +2 -1
- package/packages/language/vi-VN.ts +2 -1
- package/packages/language/zh-CHT.ts +2 -1
- package/packages/language/zh-CN.ts +2 -1
- package/packages/pager/src/pager.ts +1 -1
- package/types/components/colgroup.d.ts +1 -1
- package/types/components/column.d.ts +4 -2
- package/types/components/grid.d.ts +31 -1
- package/types/components/pager.d.ts +1 -1
- package/types/components/table-plugins/extend-cell-area.d.ts +2 -2
- package/types/components/table.d.ts +6 -0
- /package/es/icon/{iconfont.1753246463104.ttf → iconfont.1753343413073.ttf} +0 -0
- /package/es/icon/{iconfont.1753246463104.woff → iconfont.1753343413073.woff} +0 -0
- /package/es/icon/{iconfont.1753246463104.woff2 → iconfont.1753343413073.woff2} +0 -0
- /package/es/{iconfont.1753246463104.ttf → iconfont.1753343413073.ttf} +0 -0
- /package/es/{iconfont.1753246463104.woff → iconfont.1753343413073.woff} +0 -0
- /package/es/{iconfont.1753246463104.woff2 → iconfont.1753343413073.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1753246463104.ttf → iconfont.1753343413073.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1753246463104.woff → iconfont.1753343413073.woff} +0 -0
- /package/lib/icon/style/{iconfont.1753246463104.woff2 → iconfont.1753343413073.woff2} +0 -0
- /package/lib/{iconfont.1753246463104.ttf → iconfont.1753343413073.ttf} +0 -0
- /package/lib/{iconfont.1753246463104.woff → iconfont.1753343413073.woff} +0 -0
- /package/lib/{iconfont.1753246463104.woff2 → iconfont.1753343413073.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,
|
|
@@ -3539,7 +3569,8 @@ setTheme();
|
|
|
3539
3569
|
treeCrossDrag: '只能拖拽第一层级',
|
|
3540
3570
|
treeDragChild: '父级不能拖拽到自己的子级中',
|
|
3541
3571
|
reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/install',
|
|
3542
|
-
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误'
|
|
3572
|
+
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误',
|
|
3573
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
3543
3574
|
},
|
|
3544
3575
|
table: {
|
|
3545
3576
|
emptyText: '暂无数据',
|
|
@@ -4286,14 +4317,14 @@ function checkDynamic() {
|
|
|
4286
4317
|
}
|
|
4287
4318
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
4288
4319
|
|
|
4289
|
-
const log_version = `ui v${"4.7.
|
|
4320
|
+
const log_version = `ui v${"4.7.24"}`;
|
|
4290
4321
|
const warnLog = log.create('warn', log_version);
|
|
4291
4322
|
const errLog = log.create('error', log_version);
|
|
4292
4323
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
4293
4324
|
|
|
4294
4325
|
|
|
4295
4326
|
|
|
4296
|
-
const ui_version = "4.7.
|
|
4327
|
+
const ui_version = "4.7.24";
|
|
4297
4328
|
index_esm_VxeUI.uiVersion = ui_version;
|
|
4298
4329
|
index_esm_VxeUI.dynamicApp = dynamicApp;
|
|
4299
4330
|
function config(options) {
|
|
@@ -4907,7 +4938,7 @@ function getChangeEvent(name) {
|
|
|
4907
4938
|
}
|
|
4908
4939
|
return 'change';
|
|
4909
4940
|
}
|
|
4910
|
-
function
|
|
4941
|
+
function vn_getSlotVNs(vns) {
|
|
4911
4942
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(vns)) {
|
|
4912
4943
|
return vns;
|
|
4913
4944
|
}
|
|
@@ -4987,15 +5018,15 @@ function getSlotVNs(vns) {
|
|
|
4987
5018
|
}]
|
|
4988
5019
|
}, [iconSlot || showIcon && status || icon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
4989
5020
|
class: 'vxe-alert--icon'
|
|
4990
|
-
}, iconSlot ?
|
|
5021
|
+
}, iconSlot ? vn_getSlotVNs(iconSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
4991
5022
|
class: icon || getIcon()[`ALERT_${status?.toUpperCase()}`]
|
|
4992
5023
|
})]) : renderEmptyElement($xeAlert), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
4993
5024
|
class: 'vxe-alert--body'
|
|
4994
5025
|
}, [titleSlot || title ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
4995
5026
|
class: 'vxe-alert--title'
|
|
4996
|
-
}, 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', {
|
|
4997
5028
|
class: 'vxe-alert--content'
|
|
4998
|
-
}, 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', {
|
|
4999
5030
|
class: 'vxe-alert--close-btn',
|
|
5000
5031
|
onClick: closeEvent
|
|
5001
5032
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
@@ -6436,7 +6467,7 @@ function handleBooleanDefaultValue(value) {
|
|
|
6436
6467
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
6437
6468
|
key: 1,
|
|
6438
6469
|
class: 'vxe-tooltip--content'
|
|
6439
|
-
},
|
|
6470
|
+
}, vn_getSlotVNs(contentSlot({})));
|
|
6440
6471
|
}
|
|
6441
6472
|
if (useHTML) {
|
|
6442
6473
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
@@ -6488,7 +6519,7 @@ function handleBooleanDefaultValue(value) {
|
|
|
6488
6519
|
}, [renderContent(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
6489
6520
|
class: 'vxe-tooltip--arrow',
|
|
6490
6521
|
style: tipStore.arrowStyle
|
|
6491
|
-
}), ...(defaultSlot ?
|
|
6522
|
+
}), ...(defaultSlot ? vn_getSlotVNs(defaultSlot({})) : [])]);
|
|
6492
6523
|
};
|
|
6493
6524
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.enterDelay, () => {
|
|
6494
6525
|
handleDelayFn();
|
|
@@ -7059,7 +7090,7 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
7059
7090
|
const pIconMethod = compConf ? compConf.renderButtonPrefix : null;
|
|
7060
7091
|
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
7061
7092
|
class: ['vxe-button--item vxe-button--custom-prefix-icon']
|
|
7062
|
-
}, pIconMethod ?
|
|
7093
|
+
}, pIconMethod ? vn_getSlotVNs(pIconMethod(prefixRender, {
|
|
7063
7094
|
$button: $xeButton
|
|
7064
7095
|
})) : []));
|
|
7065
7096
|
} else if (prefixIcon) {
|
|
@@ -7085,7 +7116,7 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
7085
7116
|
const sIconMethod = compConf ? compConf.renderButtonSuffix : null;
|
|
7086
7117
|
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
7087
7118
|
class: ['vxe-button--item vxe-button--custom-suffix-icon']
|
|
7088
|
-
}, sIconMethod ?
|
|
7119
|
+
}, sIconMethod ? vn_getSlotVNs(sIconMethod(suffixRender, {
|
|
7089
7120
|
$button: $xeButton
|
|
7090
7121
|
})) : []));
|
|
7091
7122
|
} else if (suffixIcon) {
|
|
@@ -9027,17 +9058,17 @@ const Calendar = VxeCalendar;
|
|
|
9027
9058
|
}]
|
|
9028
9059
|
}, defaultSlot ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9029
9060
|
class: 'vxe-loading--wrapper'
|
|
9030
|
-
},
|
|
9061
|
+
}, vn_getSlotVNs(defaultSlot({})))] : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9031
9062
|
class: 'vxe-loading--chunk'
|
|
9032
9063
|
}, [showIcon && (iconSlot || loadingIcon) ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9033
9064
|
class: 'vxe-loading--icon'
|
|
9034
|
-
}, iconSlot ?
|
|
9065
|
+
}, iconSlot ? vn_getSlotVNs(iconSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
9035
9066
|
class: loadingIcon
|
|
9036
9067
|
})]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9037
9068
|
class: 'vxe-loading--spinner'
|
|
9038
9069
|
}), textSlot || loadingText ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9039
9070
|
class: 'vxe-loading--text'
|
|
9040
|
-
}, textSlot ?
|
|
9071
|
+
}, textSlot ? vn_getSlotVNs(textSlot({})) : `${loadingText}`) : null])]);
|
|
9041
9072
|
};
|
|
9042
9073
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, () => {
|
|
9043
9074
|
handleInit();
|
|
@@ -9154,23 +9185,23 @@ const Calendar = VxeCalendar;
|
|
|
9154
9185
|
style: cardStyle
|
|
9155
9186
|
}, [title || titleSlot || headerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9156
9187
|
class: 'vxe-card--header'
|
|
9157
|
-
}, headerSlot ?
|
|
9188
|
+
}, headerSlot ? vn_getSlotVNs(headerSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9158
9189
|
class: ['vxe-card--header-title', {
|
|
9159
9190
|
'is--ellipsis': showTitleOverflow
|
|
9160
9191
|
}]
|
|
9161
|
-
}, titleSlot ?
|
|
9192
|
+
}, titleSlot ? vn_getSlotVNs(titleSlot({})) : `${title || ''}`), extraSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9162
9193
|
class: 'vxe-card--header-extra'
|
|
9163
|
-
},
|
|
9194
|
+
}, vn_getSlotVNs(extraSlot({}))) : renderEmptyElement($xeCard)]) : renderEmptyElement($xeCard), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9164
9195
|
class: 'vxe-card--body'
|
|
9165
9196
|
}, [leftSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9166
9197
|
class: 'vxe-card--body-left'
|
|
9167
|
-
},
|
|
9198
|
+
}, vn_getSlotVNs(leftSlot({}))) : renderEmptyElement($xeCard), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9168
9199
|
class: 'vxe-card--body-content'
|
|
9169
|
-
}, defaultSlot ?
|
|
9200
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot({})) : []), rightSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9170
9201
|
class: 'vxe-card--body-right'
|
|
9171
|
-
},
|
|
9202
|
+
}, vn_getSlotVNs(rightSlot({}))) : renderEmptyElement($xeCard)]), footerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
9172
9203
|
class: 'vxe-card--footer'
|
|
9173
|
-
},
|
|
9204
|
+
}, vn_getSlotVNs(footerSlot({}))) : renderEmptyElement($xeCard),
|
|
9174
9205
|
/**
|
|
9175
9206
|
* 加载中
|
|
9176
9207
|
*/
|
|
@@ -9448,7 +9479,7 @@ const Card = VxeCard;
|
|
|
9448
9479
|
slotFunc = slots[slotFunc] || null;
|
|
9449
9480
|
}
|
|
9450
9481
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
|
|
9451
|
-
return
|
|
9482
|
+
return vn_getSlotVNs(slotFunc(params));
|
|
9452
9483
|
}
|
|
9453
9484
|
}
|
|
9454
9485
|
return [];
|
|
@@ -10465,7 +10496,7 @@ const Col = VxeCol;
|
|
|
10465
10496
|
slotFunc = slots[slotFunc] || null;
|
|
10466
10497
|
}
|
|
10467
10498
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
|
|
10468
|
-
return
|
|
10499
|
+
return vn_getSlotVNs(slotFunc(params));
|
|
10469
10500
|
}
|
|
10470
10501
|
}
|
|
10471
10502
|
return [];
|
|
@@ -10961,6 +10992,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
|
|
|
10961
10992
|
|
|
10962
10993
|
|
|
10963
10994
|
|
|
10995
|
+
|
|
10964
10996
|
/* harmony default export */ var input = (defineVxeComponent({
|
|
10965
10997
|
name: 'VxeInput',
|
|
10966
10998
|
props: {
|
|
@@ -13486,7 +13518,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
|
|
|
13486
13518
|
onClick: clickPrefixEvent
|
|
13487
13519
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
13488
13520
|
class: 'vxe-input--prefix-icon'
|
|
13489
|
-
}, prefixSlot ?
|
|
13521
|
+
}, prefixSlot ? vn_getSlotVNs(prefixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
13490
13522
|
class: prefixIcon
|
|
13491
13523
|
})])]) : null;
|
|
13492
13524
|
};
|
|
@@ -13517,7 +13549,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
|
|
|
13517
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', {
|
|
13518
13550
|
class: 'vxe-input--suffix-icon',
|
|
13519
13551
|
onClick: clickSuffixEvent
|
|
13520
|
-
}, suffixSlot ?
|
|
13552
|
+
}, suffixSlot ? vn_getSlotVNs(suffixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
13521
13553
|
class: suffixIcon
|
|
13522
13554
|
})]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]) : null;
|
|
13523
13555
|
};
|
|
@@ -13686,6 +13718,16 @@ function toFloatValueFixed(inputValue, digitsValue) {
|
|
|
13686
13718
|
}
|
|
13687
13719
|
});
|
|
13688
13720
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
13721
|
+
const {
|
|
13722
|
+
type
|
|
13723
|
+
} = props;
|
|
13724
|
+
if (['date', 'time', 'datetime', 'week', 'month', 'quarter', 'year'].includes(type)) {
|
|
13725
|
+
warnLog('vxe.error.useNew', [`<vxe-input type="${type}" ... />`, `<vxe-date-picker type="${type}" ... />`]);
|
|
13726
|
+
} else if (['number', 'integer', 'float'].includes(type)) {
|
|
13727
|
+
warnLog('vxe.error.useNew', [`<vxe-input type="${type}" ... />`, `<vxe-number-input type="${type}" ... />`]);
|
|
13728
|
+
} else if (['password'].includes(type)) {
|
|
13729
|
+
warnLog('vxe.error.useNew', [`<vxe-input type="${type}" ... />`, `<vxe-password-input type="${type}" ... />`]);
|
|
13730
|
+
}
|
|
13689
13731
|
globalEvents.on($xeInput, 'mousewheel', handleGlobalMousewheelEvent);
|
|
13690
13732
|
globalEvents.on($xeInput, 'mousedown', handleGlobalMousedownEvent);
|
|
13691
13733
|
globalEvents.on($xeInput, 'keydown', handleGlobalKeydownEvent);
|
|
@@ -14828,7 +14870,7 @@ const ColorPicker = VxeColorPicker;
|
|
|
14828
14870
|
})]) : iconSlot || icon || clickToCopy ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
14829
14871
|
class: 'vxe-text--icon',
|
|
14830
14872
|
onClick: clickIconEvent
|
|
14831
|
-
}, iconSlot ?
|
|
14873
|
+
}, iconSlot ? vn_getSlotVNs(iconSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
14832
14874
|
class: icon || getIcon().TEXT_COPY
|
|
14833
14875
|
})]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
14834
14876
|
ref: refContentElem,
|
|
@@ -15051,7 +15093,7 @@ const ColorPicker = VxeColorPicker;
|
|
|
15051
15093
|
}]
|
|
15052
15094
|
}, [prefixSlot || prefixConfig ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
15053
15095
|
class: 'vxe-countdown--prefix'
|
|
15054
|
-
}, prefixSlot ?
|
|
15096
|
+
}, prefixSlot ? vn_getSlotVNs(prefixSlot({
|
|
15055
15097
|
currentValue: currNum,
|
|
15056
15098
|
diffConf
|
|
15057
15099
|
})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(src_text, {
|
|
@@ -15060,12 +15102,12 @@ const ColorPicker = VxeColorPicker;
|
|
|
15060
15102
|
status: prefixOpts.status
|
|
15061
15103
|
})]) : renderEmptyElement($xeCountdown), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
15062
15104
|
class: 'vxe-countdown--content'
|
|
15063
|
-
}, defaultSlot ?
|
|
15105
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot({
|
|
15064
15106
|
currentValue: currNum,
|
|
15065
15107
|
diffConf
|
|
15066
15108
|
})) : renderDefaultContentVNs()), suffixSlot || suffixConfig ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
15067
15109
|
class: 'vxe-countdown--suffix'
|
|
15068
|
-
}, suffixSlot ?
|
|
15110
|
+
}, suffixSlot ? vn_getSlotVNs(suffixSlot({
|
|
15069
15111
|
currentValue: currNum,
|
|
15070
15112
|
diffConf
|
|
15071
15113
|
})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(src_text, {
|
|
@@ -17691,7 +17733,7 @@ const DatePanel = VxeDatePanel;
|
|
|
17691
17733
|
onClick: clickPrefixEvent
|
|
17692
17734
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
17693
17735
|
class: 'vxe-date-picker--prefix-icon'
|
|
17694
|
-
}, prefixSlot ?
|
|
17736
|
+
}, prefixSlot ? vn_getSlotVNs(prefixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
17695
17737
|
class: prefixIcon
|
|
17696
17738
|
})])]) : null;
|
|
17697
17739
|
};
|
|
@@ -17717,7 +17759,7 @@ const DatePanel = VxeDatePanel;
|
|
|
17717
17759
|
})]) : renderEmptyElement($xeDatePicker), renderExtraSuffixIcon(), suffixSlot || suffixIcon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
17718
17760
|
class: 'vxe-date-picker--suffix-icon',
|
|
17719
17761
|
onClick: clickSuffixEvent
|
|
17720
|
-
}, suffixSlot ?
|
|
17762
|
+
}, suffixSlot ? vn_getSlotVNs(suffixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
17721
17763
|
class: suffixIcon
|
|
17722
17764
|
})]) : renderEmptyElement($xeDatePicker)]);
|
|
17723
17765
|
};
|
|
@@ -18854,7 +18896,7 @@ const DatePicker = VxeDatePicker;
|
|
|
18854
18896
|
onClick: clickPrefixEvent
|
|
18855
18897
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
18856
18898
|
class: 'vxe-date-range-picker--prefix-icon'
|
|
18857
|
-
}, prefixSlot ?
|
|
18899
|
+
}, prefixSlot ? vn_getSlotVNs(prefixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
18858
18900
|
class: prefixIcon
|
|
18859
18901
|
})])]) : null;
|
|
18860
18902
|
};
|
|
@@ -18881,7 +18923,7 @@ const DatePicker = VxeDatePicker;
|
|
|
18881
18923
|
})]) : renderEmptyElement($xeDateRangePicker), renderExtraSuffixIcon(), suffixSlot || suffixIcon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
18882
18924
|
class: 'vxe-date-range-picker--suffix-icon',
|
|
18883
18925
|
onClick: clickSuffixEvent
|
|
18884
|
-
}, suffixSlot ?
|
|
18926
|
+
}, suffixSlot ? vn_getSlotVNs(suffixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
18885
18927
|
class: suffixIcon
|
|
18886
18928
|
})]) : renderEmptyElement($xeDateRangePicker)]);
|
|
18887
18929
|
};
|
|
@@ -19468,13 +19510,13 @@ const allActiveDrawers = [];
|
|
|
19468
19510
|
const cornerSlot = slots.corner || propSlots.corner;
|
|
19469
19511
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19470
19512
|
class: 'vxe-drawer--header-title'
|
|
19471
|
-
}, titleSlot ?
|
|
19513
|
+
}, titleSlot ? vn_getSlotVNs(titleSlot({
|
|
19472
19514
|
$drawer: $xeDrawer
|
|
19473
19515
|
})) : title ? getFuncText(title) : getI18n('vxe.alert.title')), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19474
19516
|
class: 'vxe-drawer--header-right'
|
|
19475
19517
|
}, [cornerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19476
19518
|
class: 'vxe-drawer--corner-wrapper'
|
|
19477
|
-
},
|
|
19519
|
+
}, vn_getSlotVNs(cornerSlot({
|
|
19478
19520
|
$drawer: $xeDrawer
|
|
19479
19521
|
}))) : renderEmptyElement($xeDrawer), showClose ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19480
19522
|
class: ['vxe-drawer--close-btn', 'trigger--btn'],
|
|
@@ -19495,7 +19537,7 @@ const allActiveDrawers = [];
|
|
|
19495
19537
|
class: ['vxe-drawer--header', {
|
|
19496
19538
|
'is--ellipsis': showTitleOverflow
|
|
19497
19539
|
}]
|
|
19498
|
-
}, headerSlot ?
|
|
19540
|
+
}, headerSlot ? vn_getSlotVNs(headerSlot({
|
|
19499
19541
|
$drawer: $xeDrawer
|
|
19500
19542
|
})) : renderTitles());
|
|
19501
19543
|
}
|
|
@@ -19513,17 +19555,17 @@ const allActiveDrawers = [];
|
|
|
19513
19555
|
class: 'vxe-drawer--body'
|
|
19514
19556
|
}, [leftSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19515
19557
|
class: 'vxe-drawer--body-left'
|
|
19516
|
-
},
|
|
19558
|
+
}, vn_getSlotVNs(leftSlot({
|
|
19517
19559
|
$drawer: $xeDrawer
|
|
19518
19560
|
}))) : renderEmptyElement($xeDrawer), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19519
19561
|
class: 'vxe-drawer--body-default'
|
|
19520
19562
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19521
19563
|
class: 'vxe-drawer--content'
|
|
19522
|
-
}, defaultSlot ?
|
|
19564
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot({
|
|
19523
19565
|
$drawer: $xeDrawer
|
|
19524
19566
|
})) : getFuncText(content))]), rightSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19525
19567
|
class: 'vxe-drawer--body-right'
|
|
19526
|
-
},
|
|
19568
|
+
}, vn_getSlotVNs(rightSlot({
|
|
19527
19569
|
$drawer: $xeDrawer
|
|
19528
19570
|
}))) : renderEmptyElement($xeDrawer), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(loading, {
|
|
19529
19571
|
class: 'vxe-drawer--loading',
|
|
@@ -19562,11 +19604,11 @@ const allActiveDrawers = [];
|
|
|
19562
19604
|
class: 'vxe-drawer--footer-wrapper'
|
|
19563
19605
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19564
19606
|
class: 'vxe-drawer--footer-left'
|
|
19565
|
-
}, lfSlot ?
|
|
19607
|
+
}, lfSlot ? vn_getSlotVNs(lfSlot({
|
|
19566
19608
|
$drawer: $xeDrawer
|
|
19567
19609
|
})) : []), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19568
19610
|
class: 'vxe-drawer--footer-right'
|
|
19569
|
-
}, rfSlot ?
|
|
19611
|
+
}, rfSlot ? vn_getSlotVNs(rfSlot({
|
|
19570
19612
|
$drawer: $xeDrawer
|
|
19571
19613
|
})) : btnVNs)]);
|
|
19572
19614
|
};
|
|
@@ -19578,7 +19620,7 @@ const allActiveDrawers = [];
|
|
|
19578
19620
|
if (props.showFooter) {
|
|
19579
19621
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19580
19622
|
class: 'vxe-drawer--footer'
|
|
19581
|
-
}, footerSlot ?
|
|
19623
|
+
}, footerSlot ? vn_getSlotVNs(footerSlot({
|
|
19582
19624
|
$drawer: $xeDrawer
|
|
19583
19625
|
})) : [renderDefaultFooter()]);
|
|
19584
19626
|
}
|
|
@@ -19632,7 +19674,7 @@ const allActiveDrawers = [];
|
|
|
19632
19674
|
onMousedown: boxMousedownEvent
|
|
19633
19675
|
}, [asideSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19634
19676
|
class: 'vxe-drawer--aside'
|
|
19635
|
-
},
|
|
19677
|
+
}, vn_getSlotVNs(asideSlot({
|
|
19636
19678
|
$drawer: $xeDrawer
|
|
19637
19679
|
}))) : renderEmptyElement($xeDrawer), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19638
19680
|
class: 'vxe-drawer--container'
|
|
@@ -20303,7 +20345,7 @@ function renderTitle($xeForm, item, isGroup) {
|
|
|
20303
20345
|
titVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
20304
20346
|
key: 'pl',
|
|
20305
20347
|
class: 'vxe-form--item-title-label'
|
|
20306
|
-
}, titleSlot ? $xeForm.callSlot(titleSlot, params) : rftTitle ?
|
|
20348
|
+
}, titleSlot ? $xeForm.callSlot(titleSlot, params) : rftTitle ? vn_getSlotVNs(rftTitle(itemRender, params)) : getFuncText(item.title)));
|
|
20307
20349
|
const fixVNs = [];
|
|
20308
20350
|
if (titleSuffix) {
|
|
20309
20351
|
fixVNs.push(titleSuffix.content || titleSuffix.message ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(tooltip, {
|
|
@@ -20390,7 +20432,7 @@ const renderItemContent = ($xeForm, item) => {
|
|
|
20390
20432
|
if (defaultSlot) {
|
|
20391
20433
|
contentVNs = $xeForm.callSlot(defaultSlot, params);
|
|
20392
20434
|
} else if (rftContent) {
|
|
20393
|
-
contentVNs =
|
|
20435
|
+
contentVNs = vn_getSlotVNs(rftContent(itemRender, params));
|
|
20394
20436
|
} else if (field) {
|
|
20395
20437
|
let itemLabel = itemValue;
|
|
20396
20438
|
if (formatter) {
|
|
@@ -20816,7 +20858,7 @@ function checkRuleStatus(rule, val) {
|
|
|
20816
20858
|
slotFunc = slots[slotFunc] || null;
|
|
20817
20859
|
}
|
|
20818
20860
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
|
|
20819
|
-
return
|
|
20861
|
+
return vn_getSlotVNs(slotFunc(params));
|
|
20820
20862
|
}
|
|
20821
20863
|
}
|
|
20822
20864
|
return [];
|
|
@@ -22961,7 +23003,7 @@ const Icon = VxeIcon;
|
|
|
22961
23003
|
}
|
|
22962
23004
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
22963
23005
|
class: 'vxe-ico-picker--item-icon'
|
|
22964
|
-
}, oIconMethod && iconRender ?
|
|
23006
|
+
}, oIconMethod && iconRender ? vn_getSlotVNs(oIconMethod(iconRender, {
|
|
22965
23007
|
$iconPicker: $xeIconPicker,
|
|
22966
23008
|
option: item
|
|
22967
23009
|
})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
@@ -22987,7 +23029,7 @@ const Icon = VxeIcon;
|
|
|
22987
23029
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
22988
23030
|
key: 'inc',
|
|
22989
23031
|
class: 'vxe-ico-picker--icon'
|
|
22990
|
-
},
|
|
23032
|
+
}, vn_getSlotVNs(oIconMethod(iconRender, {
|
|
22991
23033
|
$iconPicker: $xeIconPicker,
|
|
22992
23034
|
option: selectIconItem
|
|
22993
23035
|
})));
|
|
@@ -24723,7 +24765,7 @@ const LayoutHeader = VxeLayoutHeader;
|
|
|
24723
24765
|
const textContent = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(content);
|
|
24724
24766
|
return [iconSlot || icon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
24725
24767
|
class: 'vxe-link--icon'
|
|
24726
|
-
}, iconSlot ?
|
|
24768
|
+
}, iconSlot ? vn_getSlotVNs(iconSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
24727
24769
|
class: icon
|
|
24728
24770
|
})]) : renderEmptyElement($xeLink), defaultSlot || textContent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
24729
24771
|
class: 'vxe-link--content'
|
|
@@ -25533,7 +25575,7 @@ const List = VxeList;
|
|
|
25533
25575
|
slotFunc = slots[slotFunc] || null;
|
|
25534
25576
|
}
|
|
25535
25577
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
|
|
25536
|
-
return
|
|
25578
|
+
return vn_getSlotVNs(slotFunc(params));
|
|
25537
25579
|
}
|
|
25538
25580
|
}
|
|
25539
25581
|
return [];
|
|
@@ -26977,7 +27019,7 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
26977
27019
|
const isMaximizeStatus = computeIsMaximizeStatus.value;
|
|
26978
27020
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
26979
27021
|
class: 'vxe-modal--header-title'
|
|
26980
|
-
}, titleSlot ?
|
|
27022
|
+
}, titleSlot ? vn_getSlotVNs(titleSlot({
|
|
26981
27023
|
$modal: $xeModal,
|
|
26982
27024
|
minimized: isMinimizeStatus,
|
|
26983
27025
|
maximized: isMaximizeStatus
|
|
@@ -26985,7 +27027,7 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
26985
27027
|
class: 'vxe-modal--header-right'
|
|
26986
27028
|
}, [cornerSlot && !isMinimizeStatus ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
26987
27029
|
class: 'vxe-modal--corner-wrapper'
|
|
26988
|
-
},
|
|
27030
|
+
}, vn_getSlotVNs(cornerSlot({
|
|
26989
27031
|
$modal: $xeModal
|
|
26990
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', {
|
|
26991
27033
|
class: ['vxe-modal--zoom-btn', 'trigger--btn'],
|
|
@@ -27029,7 +27071,7 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
27029
27071
|
'is--ellipsis': props.showTitleOverflow
|
|
27030
27072
|
}],
|
|
27031
27073
|
...headerOns
|
|
27032
|
-
}, headerSlot ?
|
|
27074
|
+
}, headerSlot ? vn_getSlotVNs(headerSlot({
|
|
27033
27075
|
$modal: $xeModal
|
|
27034
27076
|
})) : renderTitles());
|
|
27035
27077
|
}
|
|
@@ -27057,20 +27099,20 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
27057
27099
|
}
|
|
27058
27100
|
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27059
27101
|
class: 'vxe-modal--content'
|
|
27060
|
-
}, defaultSlot ?
|
|
27102
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot({
|
|
27061
27103
|
$modal: $xeModal
|
|
27062
27104
|
})) : getFuncText(content)));
|
|
27063
27105
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27064
27106
|
class: 'vxe-modal--body'
|
|
27065
27107
|
}, [leftSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27066
27108
|
class: 'vxe-modal--body-left'
|
|
27067
|
-
},
|
|
27109
|
+
}, vn_getSlotVNs(leftSlot({
|
|
27068
27110
|
$modal: $xeModal
|
|
27069
27111
|
}))) : renderEmptyElement($xeModal), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27070
27112
|
class: 'vxe-modal--body-default'
|
|
27071
27113
|
}, contVNs), rightSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27072
27114
|
class: 'vxe-modal--body-right'
|
|
27073
|
-
},
|
|
27115
|
+
}, vn_getSlotVNs(rightSlot({
|
|
27074
27116
|
$modal: $xeModal
|
|
27075
27117
|
}))) : renderEmptyElement($xeModal), isMsg ? renderEmptyElement($xeModal) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(loading, {
|
|
27076
27118
|
class: 'vxe-modal--loading',
|
|
@@ -27110,11 +27152,11 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
27110
27152
|
class: 'vxe-modal--footer-wrapper'
|
|
27111
27153
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27112
27154
|
class: 'vxe-modal--footer-left'
|
|
27113
|
-
}, lfSlot ?
|
|
27155
|
+
}, lfSlot ? vn_getSlotVNs(lfSlot({
|
|
27114
27156
|
$modal: $xeModal
|
|
27115
27157
|
})) : []), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27116
27158
|
class: 'vxe-modal--footer-right'
|
|
27117
|
-
}, rfSlot ?
|
|
27159
|
+
}, rfSlot ? vn_getSlotVNs(rfSlot({
|
|
27118
27160
|
$modal: $xeModal
|
|
27119
27161
|
})) : btnVNs)]);
|
|
27120
27162
|
};
|
|
@@ -27126,7 +27168,7 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
27126
27168
|
if (props.showFooter) {
|
|
27127
27169
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27128
27170
|
class: 'vxe-modal--footer'
|
|
27129
|
-
}, footerSlot ?
|
|
27171
|
+
}, footerSlot ? vn_getSlotVNs(footerSlot({
|
|
27130
27172
|
$modal: $xeModal
|
|
27131
27173
|
})) : [renderDefaultFooter()]);
|
|
27132
27174
|
}
|
|
@@ -27198,7 +27240,7 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
27198
27240
|
onMousedown: boxMousedownEvent
|
|
27199
27241
|
}, [(isMsg || asideSlot) && !isMinimizeStatus ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27200
27242
|
class: 'vxe-modal--aside'
|
|
27201
|
-
}, asideSlot ?
|
|
27243
|
+
}, asideSlot ? vn_getSlotVNs(asideSlot({
|
|
27202
27244
|
$modal: $xeModal
|
|
27203
27245
|
})) : [status || iconStatus ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
27204
27246
|
class: 'vxe-modal--status-wrapper'
|
|
@@ -28394,7 +28436,7 @@ const NoticeBar = VxeNoticeBar;
|
|
|
28394
28436
|
onClick: clickPrefixEvent
|
|
28395
28437
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
28396
28438
|
class: 'vxe-number-input--prefix-icon'
|
|
28397
|
-
}, prefixSlot ?
|
|
28439
|
+
}, prefixSlot ? vn_getSlotVNs(prefixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
28398
28440
|
class: prefixIcon
|
|
28399
28441
|
})])]) : renderEmptyElement($xeNumberInput);
|
|
28400
28442
|
};
|
|
@@ -28420,7 +28462,7 @@ const NoticeBar = VxeNoticeBar;
|
|
|
28420
28462
|
})]) : renderEmptyElement($xeNumberInput), suffixSlot || suffixIcon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
28421
28463
|
class: 'vxe-number-input--suffix-icon',
|
|
28422
28464
|
onClick: clickSuffixEvent
|
|
28423
|
-
}, suffixSlot ?
|
|
28465
|
+
}, suffixSlot ? vn_getSlotVNs(suffixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
28424
28466
|
class: suffixIcon
|
|
28425
28467
|
})]) : renderEmptyElement($xeNumberInput)]);
|
|
28426
28468
|
};
|
|
@@ -29082,7 +29124,7 @@ function getOptUniqueId() {
|
|
|
29082
29124
|
slotFunc = slots[slotFunc] || null;
|
|
29083
29125
|
}
|
|
29084
29126
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
|
|
29085
|
-
return
|
|
29127
|
+
return vn_getSlotVNs(slotFunc(params));
|
|
29086
29128
|
}
|
|
29087
29129
|
}
|
|
29088
29130
|
return [];
|
|
@@ -30386,7 +30428,7 @@ function getOptUniqueId() {
|
|
|
30386
30428
|
type: Array,
|
|
30387
30429
|
default: () => getConfig().pager.pageSizes || [10, 15, 20, 50, 100]
|
|
30388
30430
|
},
|
|
30389
|
-
//
|
|
30431
|
+
// 列对齐方式
|
|
30390
30432
|
align: {
|
|
30391
30433
|
type: String,
|
|
30392
30434
|
default: () => getConfig().pager.align
|
|
@@ -31384,7 +31426,7 @@ const Pager = VxePager;
|
|
|
31384
31426
|
onClick: clickPrefixEvent
|
|
31385
31427
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
31386
31428
|
class: 'vxe-password-input--prefix-icon'
|
|
31387
|
-
}, prefixSlot ?
|
|
31429
|
+
}, prefixSlot ? vn_getSlotVNs(prefixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
31388
31430
|
class: prefixIcon
|
|
31389
31431
|
})])]) : null;
|
|
31390
31432
|
};
|
|
@@ -31411,7 +31453,7 @@ const Pager = VxePager;
|
|
|
31411
31453
|
})]) : renderEmptyElement($xePasswordInput), controls ? renderPasswordIcon() : renderEmptyElement($xePasswordInput), suffixSlot || suffixIcon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
31412
31454
|
class: 'vxe-password-input--suffix-icon',
|
|
31413
31455
|
onClick: clickSuffixEvent
|
|
31414
|
-
}, suffixSlot ?
|
|
31456
|
+
}, suffixSlot ? vn_getSlotVNs(suffixSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
31415
31457
|
class: suffixIcon
|
|
31416
31458
|
})]) : renderEmptyElement($xePasswordInput)]) : null;
|
|
31417
31459
|
};
|
|
@@ -31988,19 +32030,19 @@ const PrintPageBreak = VxePrintPageBreak;
|
|
|
31988
32030
|
class: ['vxe-print-page-break', align ? `align--${align}` : '']
|
|
31989
32031
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
31990
32032
|
class: ['vxe-print-page-break--header', headerAlign ? `align--${headerAlign}` : '']
|
|
31991
|
-
}, headerSlot ?
|
|
32033
|
+
}, headerSlot ? vn_getSlotVNs(headerSlot(params)) : [title && (showAllPageTitle || !index) ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
31992
32034
|
class: 'vxe-print-page-break--header-title'
|
|
31993
32035
|
}, `${title || ''}`) : renderEmptyElement($xePrint)]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
31994
32036
|
class: 'vxe-print-page-break--body'
|
|
31995
32037
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
31996
32038
|
class: 'vxe-print-page-break--left'
|
|
31997
|
-
}, leftSlot ?
|
|
32039
|
+
}, leftSlot ? vn_getSlotVNs(leftSlot(params)) : []), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
31998
32040
|
class: 'vxe-print-page-break--content'
|
|
31999
|
-
}, defaultSlot ?
|
|
32041
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot(params)) : []), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
32000
32042
|
class: 'vxe-print-page-break--right'
|
|
32001
|
-
}, rightSlot ?
|
|
32043
|
+
}, rightSlot ? vn_getSlotVNs(rightSlot(params)) : [])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
32002
32044
|
class: ['vxe-print-page-break--footer', footerAlign ? `align--${footerAlign}` : '']
|
|
32003
|
-
}, footerSlot ?
|
|
32045
|
+
}, footerSlot ? vn_getSlotVNs(footerSlot(params)) : [showPageNumber ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
32004
32046
|
class: 'vxe-print-page-break--footer-page-number'
|
|
32005
32047
|
}, `${currentPage}/${pageCount}`) : renderEmptyElement($xePrint)])]);
|
|
32006
32048
|
});
|
|
@@ -32016,10 +32058,10 @@ const PrintPageBreak = VxePrintPageBreak;
|
|
|
32016
32058
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
32017
32059
|
ref: refElem,
|
|
32018
32060
|
class: ['vxe-print']
|
|
32019
|
-
}, customLayout ? defaultSlot ?
|
|
32061
|
+
}, customLayout ? defaultSlot ? vn_getSlotVNs(defaultSlot({})) : [] : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
32020
32062
|
key: 'slot',
|
|
32021
32063
|
class: 'vxe-print-slots'
|
|
32022
|
-
}, defaultSlot ?
|
|
32064
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot({})) : [])].concat(staticPageBreaks.length ? renderPageStaticLayouts() : renderPageConfigLayouts()));
|
|
32023
32065
|
};
|
|
32024
32066
|
$xePrint.renderVN = renderVN;
|
|
32025
32067
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xePrint', $xePrint);
|
|
@@ -33517,7 +33559,7 @@ const Select = VxeSelect;
|
|
|
33517
33559
|
slotFunc = slots[slotFunc] || null;
|
|
33518
33560
|
}
|
|
33519
33561
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
|
|
33520
|
-
return
|
|
33562
|
+
return vn_getSlotVNs(slotFunc(params));
|
|
33521
33563
|
}
|
|
33522
33564
|
}
|
|
33523
33565
|
return [];
|
|
@@ -35823,7 +35865,7 @@ const scrollbarOffsetSize = 20;
|
|
|
35823
35865
|
slotFunc = slots[slotFunc] || null;
|
|
35824
35866
|
}
|
|
35825
35867
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(slotFunc)) {
|
|
35826
|
-
return
|
|
35868
|
+
return vn_getSlotVNs(slotFunc(params));
|
|
35827
35869
|
}
|
|
35828
35870
|
}
|
|
35829
35871
|
return [];
|
|
@@ -36703,7 +36745,7 @@ const Tabs = VxeTabs;
|
|
|
36703
36745
|
const iconSlot = slots.icon;
|
|
36704
36746
|
return [iconSlot || icon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
36705
36747
|
class: 'vxe-tag--icon'
|
|
36706
|
-
}, iconSlot ?
|
|
36748
|
+
}, iconSlot ? vn_getSlotVNs(iconSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
36707
36749
|
class: icon
|
|
36708
36750
|
})]) : renderEmptyElement($xeTag), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
36709
36751
|
class: 'vxe-tag--content'
|
|
@@ -37514,15 +37556,15 @@ const Textarea = VxeTextarea;
|
|
|
37514
37556
|
}]
|
|
37515
37557
|
}, [iconSlot || icon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
37516
37558
|
class: 'vxe-tip--icon'
|
|
37517
|
-
}, iconSlot ?
|
|
37559
|
+
}, iconSlot ? vn_getSlotVNs(iconSlot({})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
37518
37560
|
class: icon
|
|
37519
37561
|
})]) : renderEmptyElement($xeTip), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
37520
37562
|
class: 'vxe-tip--body'
|
|
37521
37563
|
}, [titleSlot || title ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
37522
37564
|
class: 'vxe-tip--title'
|
|
37523
|
-
}, 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', {
|
|
37524
37566
|
class: 'vxe-tip--content'
|
|
37525
|
-
}, defaultSlot ?
|
|
37567
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot({})) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(content))])]);
|
|
37526
37568
|
};
|
|
37527
37569
|
$xeTip.renderVN = renderVN;
|
|
37528
37570
|
return $xeTip;
|
|
@@ -39505,15 +39547,15 @@ function getNodeUniqueId() {
|
|
|
39505
39547
|
onClick(evnt) {
|
|
39506
39548
|
toggleExpandEvent(evnt, node);
|
|
39507
39549
|
}
|
|
39508
|
-
}, iconSlot ?
|
|
39550
|
+
}, iconSlot ? vn_getSlotVNs(iconSlot(nParams)) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
39509
39551
|
class: isLazyLoading ? iconLoaded || getIcon().TREE_NODE_LOADED : isExpand ? iconOpen || getIcon().TREE_NODE_OPEN : iconClose || getIcon().TREE_NODE_CLOSE
|
|
39510
39552
|
})])] : []), renderRadio(node, nodeid, isRadioChecked), renderCheckbox(node, nodeid, isCheckboxChecked), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
39511
39553
|
class: 'vxe-tree--node-item-inner'
|
|
39512
39554
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
39513
39555
|
class: 'vxe-tree--node-item-title'
|
|
39514
|
-
}, titleSlot ?
|
|
39556
|
+
}, titleSlot ? vn_getSlotVNs(titleSlot(nParams)) : `${nodeValue}`), extraSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
39515
39557
|
class: 'vxe-tree--node-item-extra'
|
|
39516
|
-
},
|
|
39558
|
+
}, vn_getSlotVNs(extraSlot(nParams))) : renderEmptyElement($xeTree)])])]);
|
|
39517
39559
|
};
|
|
39518
39560
|
const renderList = treeList => {
|
|
39519
39561
|
const {
|
|
@@ -42033,7 +42075,7 @@ const saveLocalFile = options => {
|
|
|
42033
42075
|
class: 'vxe-upload--file-item-btn-wrapper'
|
|
42034
42076
|
}, [cornerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
42035
42077
|
class: 'vxe-upload--file-item-corner'
|
|
42036
|
-
},
|
|
42078
|
+
}, vn_getSlotVNs(cornerSlot({
|
|
42037
42079
|
option: item,
|
|
42038
42080
|
isMoreView,
|
|
42039
42081
|
readonly: formReadonly
|
|
@@ -42078,7 +42120,7 @@ const saveLocalFile = options => {
|
|
|
42078
42120
|
}, [autoHiddenButton && overCount ? renderEmptyElement($xeUpload) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
42079
42121
|
class: 'vxe-upload--file-action-btn',
|
|
42080
42122
|
onClick: clickEvent
|
|
42081
|
-
}, defaultSlot ?
|
|
42123
|
+
}, defaultSlot ? vn_getSlotVNs(defaultSlot({
|
|
42082
42124
|
$upload: $xeUpload
|
|
42083
42125
|
})) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(src_button, {
|
|
42084
42126
|
class: 'vxe-upload--file-action-button',
|
|
@@ -42087,7 +42129,7 @@ const saveLocalFile = options => {
|
|
|
42087
42129
|
disabled: isDisabled
|
|
42088
42130
|
})]), showTipText && (defTipText || tipSlot) ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
42089
42131
|
class: 'vxe-upload--file-action-tip'
|
|
42090
|
-
}, tipSlot ?
|
|
42132
|
+
}, tipSlot ? vn_getSlotVNs(tipSlot({
|
|
42091
42133
|
$upload: $xeUpload
|
|
42092
42134
|
})) : `${defTipText}`) : renderEmptyElement($xeUpload)]);
|
|
42093
42135
|
};
|
|
@@ -42229,7 +42271,7 @@ const saveLocalFile = options => {
|
|
|
42229
42271
|
}
|
|
42230
42272
|
}, [cornerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
42231
42273
|
class: 'vxe-upload--file-item-corner'
|
|
42232
|
-
},
|
|
42274
|
+
}, vn_getSlotVNs(cornerSlot({
|
|
42233
42275
|
option: item,
|
|
42234
42276
|
isMoreView,
|
|
42235
42277
|
readonly: formReadonly
|
|
@@ -42282,7 +42324,7 @@ const saveLocalFile = options => {
|
|
|
42282
42324
|
class: 'vxe-upload--image-action-content'
|
|
42283
42325
|
}, 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', {
|
|
42284
42326
|
class: 'vxe-upload--image-action-hint'
|
|
42285
|
-
}, tipSlot ?
|
|
42327
|
+
}, tipSlot ? vn_getSlotVNs(tipSlot({
|
|
42286
42328
|
$upload: $xeUpload
|
|
42287
42329
|
})) : `${defTipText}`) : renderEmptyElement($xeUpload)])])]);
|
|
42288
42330
|
};
|