vxe-pc-ui 4.16.24 → 4.16.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/dist/all.esm.js +11 -4
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tree/src/tree.js +2 -1
- package/es/tree-select/style.css +8 -0
- package/es/tree-select/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/upload/src/upload.js +7 -1
- package/es/vxe-tree-select/style.css +8 -0
- package/es/vxe-tree-select/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +14 -4
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tree/src/tree.js +5 -1
- package/lib/tree/src/tree.min.js +1 -1
- package/lib/tree-select/style/style.css +8 -0
- package/lib/tree-select/style/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/upload/src/upload.js +7 -1
- package/lib/upload/src/upload.min.js +1 -1
- package/lib/vxe-tree-select/style/style.css +8 -0
- package/lib/vxe-tree-select/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/tree/src/tree.ts +2 -1
- package/packages/upload/src/upload.ts +8 -1
- package/styles/components/tree-select.scss +6 -0
- /package/es/icon/{iconfont.1785391082558.ttf → iconfont.1785727479855.ttf} +0 -0
- /package/es/icon/{iconfont.1785391082558.woff → iconfont.1785727479855.woff} +0 -0
- /package/es/icon/{iconfont.1785391082558.woff2 → iconfont.1785727479855.woff2} +0 -0
- /package/es/{iconfont.1785391082558.ttf → iconfont.1785727479855.ttf} +0 -0
- /package/es/{iconfont.1785391082558.woff → iconfont.1785727479855.woff} +0 -0
- /package/es/{iconfont.1785391082558.woff2 → iconfont.1785727479855.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1785391082558.ttf → iconfont.1785727479855.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1785391082558.woff → iconfont.1785727479855.woff} +0 -0
- /package/lib/icon/style/{iconfont.1785391082558.woff2 → iconfont.1785727479855.woff2} +0 -0
- /package/lib/{iconfont.1785391082558.ttf → iconfont.1785727479855.ttf} +0 -0
- /package/lib/{iconfont.1785391082558.woff → iconfont.1785727479855.woff} +0 -0
- /package/lib/{iconfont.1785391082558.woff2 → iconfont.1785727479855.woff2} +0 -0
package/dist/all.esm.js
CHANGED
|
@@ -81,7 +81,7 @@ function checkDynamic() {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
const { log } = VxeUI;
|
|
84
|
-
const uiVersion = `ui v${"4.16.
|
|
84
|
+
const uiVersion = `ui v${"4.16.25"}`;
|
|
85
85
|
function createComponentLog(name) {
|
|
86
86
|
const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
|
|
87
87
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|
|
@@ -95,7 +95,7 @@ function createComponentLog(name) {
|
|
|
95
95
|
const warnLog$h = log.create('warn', uiVersion);
|
|
96
96
|
log.create('error', uiVersion);
|
|
97
97
|
|
|
98
|
-
const version = "4.16.
|
|
98
|
+
const version = "4.16.25";
|
|
99
99
|
VxeUI.uiVersion = version;
|
|
100
100
|
VxeUI.dynamicApp = dynamicApp;
|
|
101
101
|
function config(options) {
|
|
@@ -42800,13 +42800,14 @@ var VxeTreeComponent = defineVxeComponent({
|
|
|
42800
42800
|
},
|
|
42801
42801
|
setAllCheckboxNode(checked) {
|
|
42802
42802
|
const { transform } = props;
|
|
42803
|
+
const { afterTreeList, afterVisibleList } = internalData;
|
|
42803
42804
|
const selectMaps = {};
|
|
42804
42805
|
const childrenField = computeChildrenField.value;
|
|
42805
42806
|
const mapChildrenField = computeMapChildrenField.value;
|
|
42806
42807
|
const checkKeys = [];
|
|
42807
42808
|
const checkNodes = [];
|
|
42808
42809
|
if (checked) {
|
|
42809
|
-
XEUtils.eachTree(
|
|
42810
|
+
XEUtils.eachTree(transform ? afterTreeList : afterVisibleList, (node) => {
|
|
42810
42811
|
const nodeid = getNodeId(node);
|
|
42811
42812
|
checkKeys.push(nodeid);
|
|
42812
42813
|
checkNodes.push(node);
|
|
@@ -45991,7 +45992,7 @@ var VxeUploadComponent = defineVxeComponent({
|
|
|
45991
45992
|
const emitModel = (value) => {
|
|
45992
45993
|
emit('update:modelValue', value);
|
|
45993
45994
|
};
|
|
45994
|
-
const
|
|
45995
|
+
const handleModel = (vals) => {
|
|
45995
45996
|
const { singleMode, urlMode, urlArgs } = props;
|
|
45996
45997
|
const urlProp = computeUrlProp.value;
|
|
45997
45998
|
const nameProp = computeNameProp.value;
|
|
@@ -46012,6 +46013,10 @@ var VxeUploadComponent = defineVxeComponent({
|
|
|
46012
46013
|
}
|
|
46013
46014
|
const value = singleMode ? (restList[0] || null) : restList;
|
|
46014
46015
|
emitModel(value);
|
|
46016
|
+
return value;
|
|
46017
|
+
};
|
|
46018
|
+
const handleChangeEvent = (evnt, vals) => {
|
|
46019
|
+
const value = handleModel(vals);
|
|
46015
46020
|
dispatchEvent('change', { value }, evnt);
|
|
46016
46021
|
return value;
|
|
46017
46022
|
};
|
|
@@ -46120,6 +46125,7 @@ var VxeUploadComponent = defineVxeComponent({
|
|
|
46120
46125
|
cacheItem.response = res;
|
|
46121
46126
|
}
|
|
46122
46127
|
Object.assign(item, res);
|
|
46128
|
+
handleModel(reactData.fileList);
|
|
46123
46129
|
dispatchEvent('upload-success', { option: item, data: res }, null);
|
|
46124
46130
|
}).catch((res) => {
|
|
46125
46131
|
const { fileCacheMaps } = reactData;
|
|
@@ -46135,6 +46141,7 @@ var VxeUploadComponent = defineVxeComponent({
|
|
|
46135
46141
|
reactData.fileList = reactData.fileList.filter(obj => getFieldKey(obj) !== fileKey);
|
|
46136
46142
|
delete fileCacheMaps[fileKey];
|
|
46137
46143
|
}
|
|
46144
|
+
handleModel(reactData.fileList);
|
|
46138
46145
|
dispatchEvent('upload-error', { option: item, data: res }, null);
|
|
46139
46146
|
}).finally(() => {
|
|
46140
46147
|
const { fileCacheMaps } = reactData;
|