vxe-pc-ui 4.12.4 → 4.12.5
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/backtop/src/backtop.js +11 -1
- package/es/icon/style.css +1 -1
- package/es/list/src/list.js +15 -11
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tree-select/src/tree-select.js +18 -14
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/upload/src/upload.js +26 -18
- package/lib/backtop/src/backtop.js +13 -1
- package/lib/backtop/src/backtop.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +71 -43
- package/lib/index.umd.min.js +1 -1
- package/lib/list/src/list.js +14 -10
- package/lib/list/src/list.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tree-select/src/tree-select.js +17 -13
- package/lib/tree-select/src/tree-select.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/lib/upload/src/upload.js +25 -17
- package/lib/upload/src/upload.min.js +1 -1
- package/package.json +1 -1
- package/packages/backtop/src/backtop.ts +13 -1
- package/packages/list/src/list.ts +16 -11
- package/packages/tree-select/src/tree-select.ts +19 -14
- package/packages/upload/src/upload.ts +28 -18
- package/types/components/table.d.ts +13 -0
- /package/es/icon/{iconfont.1768554558299.ttf → iconfont.1768625343222.ttf} +0 -0
- /package/es/icon/{iconfont.1768554558299.woff → iconfont.1768625343222.woff} +0 -0
- /package/es/icon/{iconfont.1768554558299.woff2 → iconfont.1768625343222.woff2} +0 -0
- /package/es/{iconfont.1768554558299.ttf → iconfont.1768625343222.ttf} +0 -0
- /package/es/{iconfont.1768554558299.woff → iconfont.1768625343222.woff} +0 -0
- /package/es/{iconfont.1768554558299.woff2 → iconfont.1768625343222.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1768554558299.ttf → iconfont.1768625343222.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1768554558299.woff → iconfont.1768625343222.woff} +0 -0
- /package/lib/icon/style/{iconfont.1768554558299.woff2 → iconfont.1768625343222.woff2} +0 -0
- /package/lib/{iconfont.1768554558299.ttf → iconfont.1768625343222.ttf} +0 -0
- /package/lib/{iconfont.1768554558299.woff → iconfont.1768625343222.woff} +0 -0
- /package/lib/{iconfont.1768554558299.woff2 → iconfont.1768625343222.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -3661,14 +3661,14 @@ function checkDynamic() {
|
|
|
3661
3661
|
}
|
|
3662
3662
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
3663
3663
|
|
|
3664
|
-
const log_version = `ui v${"4.12.
|
|
3664
|
+
const log_version = `ui v${"4.12.5"}`;
|
|
3665
3665
|
const warnLog = log.create('warn', log_version);
|
|
3666
3666
|
const errLog = log.create('error', log_version);
|
|
3667
3667
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
3668
3668
|
|
|
3669
3669
|
|
|
3670
3670
|
|
|
3671
|
-
const ui_version = "4.12.
|
|
3671
|
+
const ui_version = "4.12.5";
|
|
3672
3672
|
index_esm_VxeUI.uiVersion = ui_version;
|
|
3673
3673
|
index_esm_VxeUI.dynamicApp = dynamicApp;
|
|
3674
3674
|
function config(options) {
|
|
@@ -7677,7 +7677,7 @@ function createReactData() {
|
|
|
7677
7677
|
$backtop: $xeBacktop
|
|
7678
7678
|
}, params));
|
|
7679
7679
|
};
|
|
7680
|
-
const
|
|
7680
|
+
const updateZIndex = () => {
|
|
7681
7681
|
const {
|
|
7682
7682
|
position,
|
|
7683
7683
|
zIndex
|
|
@@ -7692,6 +7692,9 @@ function createReactData() {
|
|
|
7692
7692
|
reactData.backtopZindex = nextZIndex();
|
|
7693
7693
|
}
|
|
7694
7694
|
}
|
|
7695
|
+
};
|
|
7696
|
+
const showBacktop = () => {
|
|
7697
|
+
updateZIndex();
|
|
7695
7698
|
reactData.showBtn = true;
|
|
7696
7699
|
};
|
|
7697
7700
|
const hideBacktop = () => {
|
|
@@ -7820,10 +7823,19 @@ function createReactData() {
|
|
|
7820
7823
|
class: 'vxe-backtop--bottom-wrapper'
|
|
7821
7824
|
}, bottomSlot({})) : renderEmptyElement($xeBacktop)]);
|
|
7822
7825
|
};
|
|
7826
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.position, () => {
|
|
7827
|
+
updateZIndex();
|
|
7828
|
+
});
|
|
7823
7829
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.target, () => {
|
|
7824
7830
|
handleTargetElement();
|
|
7825
7831
|
});
|
|
7826
7832
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
7833
|
+
const {
|
|
7834
|
+
showTop
|
|
7835
|
+
} = props;
|
|
7836
|
+
if (showTop) {
|
|
7837
|
+
updateZIndex();
|
|
7838
|
+
}
|
|
7827
7839
|
handleTargetElement();
|
|
7828
7840
|
});
|
|
7829
7841
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUnmount)(() => {
|
|
@@ -28953,6 +28965,17 @@ const Link = VxeLink;
|
|
|
28953
28965
|
|
|
28954
28966
|
|
|
28955
28967
|
|
|
28968
|
+
function list_createReactData() {
|
|
28969
|
+
return {
|
|
28970
|
+
scrollYLoad: false,
|
|
28971
|
+
bodyHeight: 0,
|
|
28972
|
+
customHeight: 0,
|
|
28973
|
+
customMaxHeight: 0,
|
|
28974
|
+
parentHeight: 0,
|
|
28975
|
+
topSpaceHeight: 0,
|
|
28976
|
+
items: []
|
|
28977
|
+
};
|
|
28978
|
+
}
|
|
28956
28979
|
function list_createInternalData() {
|
|
28957
28980
|
return {
|
|
28958
28981
|
resizeObserver: undefined,
|
|
@@ -28999,15 +29022,7 @@ function list_createInternalData() {
|
|
|
28999
29022
|
const {
|
|
29000
29023
|
computeSize
|
|
29001
29024
|
} = useSize(props);
|
|
29002
|
-
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)(
|
|
29003
|
-
scrollYLoad: false,
|
|
29004
|
-
bodyHeight: 0,
|
|
29005
|
-
customHeight: 0,
|
|
29006
|
-
customMaxHeight: 0,
|
|
29007
|
-
parentHeight: 0,
|
|
29008
|
-
topSpaceHeight: 0,
|
|
29009
|
-
items: []
|
|
29010
|
-
});
|
|
29025
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)(list_createReactData());
|
|
29011
29026
|
const internalData = list_createInternalData();
|
|
29012
29027
|
const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
29013
29028
|
const refVirtualWrapper = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
@@ -29379,7 +29394,7 @@ function list_createInternalData() {
|
|
|
29379
29394
|
}
|
|
29380
29395
|
globalEvents.on($xeList, 'resize', recalculate);
|
|
29381
29396
|
});
|
|
29382
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.
|
|
29397
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUnmount)(() => {
|
|
29383
29398
|
const {
|
|
29384
29399
|
resizeObserver
|
|
29385
29400
|
} = internalData;
|
|
@@ -29387,6 +29402,7 @@ function list_createInternalData() {
|
|
|
29387
29402
|
resizeObserver.disconnect();
|
|
29388
29403
|
}
|
|
29389
29404
|
globalEvents.off($xeList, 'resize');
|
|
29405
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().assign(reactData, list_createReactData());
|
|
29390
29406
|
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().assign(internalData, list_createInternalData());
|
|
29391
29407
|
});
|
|
29392
29408
|
$xeList.renderVN = renderVN;
|
|
@@ -45250,6 +45266,20 @@ const Tree = VxeTree;
|
|
|
45250
45266
|
function tree_select_getOptUniqueId() {
|
|
45251
45267
|
return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId('node_');
|
|
45252
45268
|
}
|
|
45269
|
+
function tree_select_createReactData() {
|
|
45270
|
+
return {
|
|
45271
|
+
initialized: false,
|
|
45272
|
+
searchValue: '',
|
|
45273
|
+
searchLoading: false,
|
|
45274
|
+
panelIndex: 0,
|
|
45275
|
+
panelStyle: {},
|
|
45276
|
+
panelPlacement: null,
|
|
45277
|
+
triggerFocusPanel: false,
|
|
45278
|
+
visiblePanel: false,
|
|
45279
|
+
isAniVisible: false,
|
|
45280
|
+
isActivated: false
|
|
45281
|
+
};
|
|
45282
|
+
}
|
|
45253
45283
|
function tree_select_createInternalData() {
|
|
45254
45284
|
return {
|
|
45255
45285
|
// hpTimeout: undefined,
|
|
@@ -45355,18 +45385,7 @@ function tree_select_createInternalData() {
|
|
|
45355
45385
|
const refTreeWrapper = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
45356
45386
|
const refOptionPanel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
45357
45387
|
const refTree = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
45358
|
-
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)(
|
|
45359
|
-
initialized: false,
|
|
45360
|
-
searchValue: '',
|
|
45361
|
-
searchLoading: false,
|
|
45362
|
-
panelIndex: 0,
|
|
45363
|
-
panelStyle: {},
|
|
45364
|
-
panelPlacement: null,
|
|
45365
|
-
triggerFocusPanel: false,
|
|
45366
|
-
visiblePanel: false,
|
|
45367
|
-
isAniVisible: false,
|
|
45368
|
-
isActivated: false
|
|
45369
|
-
});
|
|
45388
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)(tree_select_createReactData());
|
|
45370
45389
|
const internalData = tree_select_createInternalData();
|
|
45371
45390
|
const refMaps = {
|
|
45372
45391
|
refElem
|
|
@@ -46145,11 +46164,12 @@ function tree_select_createInternalData() {
|
|
|
46145
46164
|
globalEvents.on($xeTreeSelect, 'blur', handleGlobalBlurEvent);
|
|
46146
46165
|
globalEvents.on($xeTreeSelect, 'resize', handleGlobalResizeEvent);
|
|
46147
46166
|
});
|
|
46148
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.
|
|
46167
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUnmount)(() => {
|
|
46149
46168
|
globalEvents.off($xeTreeSelect, 'mousewheel');
|
|
46150
46169
|
globalEvents.off($xeTreeSelect, 'mousedown');
|
|
46151
46170
|
globalEvents.off($xeTreeSelect, 'blur');
|
|
46152
46171
|
globalEvents.off($xeTreeSelect, 'resize');
|
|
46172
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().assign(reactData, tree_select_createReactData());
|
|
46153
46173
|
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().assign(internalData, tree_select_createInternalData());
|
|
46154
46174
|
});
|
|
46155
46175
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeTreeSelect', $xeTreeSelect);
|
|
@@ -46313,6 +46333,26 @@ const saveLocalFile = options => {
|
|
|
46313
46333
|
|
|
46314
46334
|
|
|
46315
46335
|
|
|
46336
|
+
function upload_createReactData() {
|
|
46337
|
+
return {
|
|
46338
|
+
isDragUploadStatus: false,
|
|
46339
|
+
showMorePopup: false,
|
|
46340
|
+
isActivated: false,
|
|
46341
|
+
fileList: [],
|
|
46342
|
+
fileCacheMaps: {},
|
|
46343
|
+
isDragMove: false,
|
|
46344
|
+
dragIndex: -1,
|
|
46345
|
+
dragTipText: ''
|
|
46346
|
+
};
|
|
46347
|
+
}
|
|
46348
|
+
function upload_createInternalData() {
|
|
46349
|
+
return {
|
|
46350
|
+
moreId: external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId('upload'),
|
|
46351
|
+
imagePreviewTypes: ['jpg', 'jpeg', 'png', 'gif'],
|
|
46352
|
+
prevDragIndex: -1
|
|
46353
|
+
// prevDragPos: ''
|
|
46354
|
+
};
|
|
46355
|
+
}
|
|
46316
46356
|
/* harmony default export */ var upload = (defineVxeComponent({
|
|
46317
46357
|
name: 'VxeUpload',
|
|
46318
46358
|
props: {
|
|
@@ -46508,22 +46548,8 @@ const saveLocalFile = options => {
|
|
|
46508
46548
|
const refPopupElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
46509
46549
|
const refDragLineElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
46510
46550
|
const refModalDragLineElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
|
|
46511
|
-
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)(
|
|
46512
|
-
|
|
46513
|
-
showMorePopup: false,
|
|
46514
|
-
isActivated: false,
|
|
46515
|
-
fileList: [],
|
|
46516
|
-
fileCacheMaps: {},
|
|
46517
|
-
isDragMove: false,
|
|
46518
|
-
dragIndex: -1,
|
|
46519
|
-
dragTipText: ''
|
|
46520
|
-
});
|
|
46521
|
-
const internalData = {
|
|
46522
|
-
moreId: external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId('upload'),
|
|
46523
|
-
imagePreviewTypes: ['jpg', 'jpeg', 'png', 'gif'],
|
|
46524
|
-
prevDragIndex: -1
|
|
46525
|
-
// prevDragPos: ''
|
|
46526
|
-
};
|
|
46551
|
+
const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)(upload_createReactData());
|
|
46552
|
+
const internalData = upload_createInternalData();
|
|
46527
46553
|
const refMaps = {
|
|
46528
46554
|
refElem
|
|
46529
46555
|
};
|
|
@@ -48128,11 +48154,13 @@ const saveLocalFile = options => {
|
|
|
48128
48154
|
globalEvents.on($xeUpload, 'mousedown', handleGlobalMousedownEvent);
|
|
48129
48155
|
globalEvents.on($xeUpload, 'blur', handleGlobalBlurEvent);
|
|
48130
48156
|
});
|
|
48131
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.
|
|
48157
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUnmount)(() => {
|
|
48132
48158
|
reactData.isDragUploadStatus = false;
|
|
48133
48159
|
globalEvents.off($xeUpload, 'paste');
|
|
48134
48160
|
globalEvents.off($xeUpload, 'mousedown');
|
|
48135
48161
|
globalEvents.off($xeUpload, 'blur');
|
|
48162
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().assign(reactData, upload_createReactData());
|
|
48163
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().assign(internalData, upload_createInternalData());
|
|
48136
48164
|
});
|
|
48137
48165
|
updateFileList();
|
|
48138
48166
|
$xeUpload.renderVN = renderVN;
|