@whitesev/pops 1.5.1 → 1.5.2
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/index.amd.js +7 -7
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +7 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +7 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +7 -7
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +7 -7
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +7 -7
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/Pops.ts +1 -1
- package/src/components/folder/index.ts +3 -3
- package/src/utils/PopsInstanceUtils.ts +4 -3
package/dist/index.amd.js
CHANGED
|
@@ -2957,8 +2957,6 @@ define((function () { 'use strict';
|
|
|
2957
2957
|
deviation = Number.isNaN(deviation) ? 1 : deviation;
|
|
2958
2958
|
// 最大值2147483647
|
|
2959
2959
|
let maxZIndex = Math.pow(2, 31) - 1;
|
|
2960
|
-
// 比较值2000000000
|
|
2961
|
-
let maxZIndexCompare = 2 * Math.pow(10, 9);
|
|
2962
2960
|
// 当前页面最大的z-index
|
|
2963
2961
|
let zIndex = 0;
|
|
2964
2962
|
// 当前的最大z-index的元素,调试使用
|
|
@@ -2981,11 +2979,13 @@ define((function () { 'use strict';
|
|
|
2981
2979
|
}
|
|
2982
2980
|
});
|
|
2983
2981
|
zIndex += deviation;
|
|
2982
|
+
// 用于比较的值2000000000,大于该值就取该值
|
|
2983
|
+
let maxZIndexCompare = 2 * Math.pow(10, 9);
|
|
2984
2984
|
if (zIndex >= maxZIndexCompare) {
|
|
2985
2985
|
// 最好不要超过最大值
|
|
2986
2986
|
zIndex = maxZIndex;
|
|
2987
2987
|
}
|
|
2988
|
-
return { zIndex:
|
|
2988
|
+
return { zIndex: zIndex, animElement: maxZIndexNode };
|
|
2989
2989
|
},
|
|
2990
2990
|
/**
|
|
2991
2991
|
* 获取CSS Rule
|
|
@@ -5939,7 +5939,7 @@ define((function () { 'use strict';
|
|
|
5939
5939
|
<div class="text-ellip content flex-a-i-center">
|
|
5940
5940
|
<span>文件名</span>
|
|
5941
5941
|
<div class="pops-folder-list-table__sort" data-sort="fileName">
|
|
5942
|
-
<div class="pops-folder-icon-arrow">
|
|
5942
|
+
<div class="pops-folder-icon-arrow" data-sort="按文件名排序">
|
|
5943
5943
|
<svg
|
|
5944
5944
|
viewBox="0 0 1024 1024"
|
|
5945
5945
|
xmlns="http://www.w3.org/2000/svg">
|
|
@@ -5958,7 +5958,7 @@ define((function () { 'use strict';
|
|
|
5958
5958
|
<div class="text-ellip content flex-a-i-center">
|
|
5959
5959
|
<span>修改时间</span>
|
|
5960
5960
|
<div class="pops-folder-list-table__sort" data-sort="latestTime">
|
|
5961
|
-
<div class="pops-folder-icon-arrow">
|
|
5961
|
+
<div class="pops-folder-icon-arrow" title="按修改时间排序">
|
|
5962
5962
|
<svg
|
|
5963
5963
|
viewBox="0 0 1024 1024"
|
|
5964
5964
|
xmlns="http://www.w3.org/2000/svg">
|
|
@@ -5977,7 +5977,7 @@ define((function () { 'use strict';
|
|
|
5977
5977
|
<div class="text-ellip content flex-a-i-center">
|
|
5978
5978
|
<span>大小</span>
|
|
5979
5979
|
<div class="pops-folder-list-table__sort" data-sort="fileSize">
|
|
5980
|
-
<div class="pops-folder-icon-arrow">
|
|
5980
|
+
<div class="pops-folder-icon-arrow" title="按大小排序">
|
|
5981
5981
|
<svg
|
|
5982
5982
|
viewBox="0 0 1024 1024"
|
|
5983
5983
|
xmlns="http://www.w3.org/2000/svg">
|
|
@@ -9948,7 +9948,7 @@ define((function () { 'use strict';
|
|
|
9948
9948
|
/** 配置 */
|
|
9949
9949
|
config = {
|
|
9950
9950
|
/** 版本号 */
|
|
9951
|
-
version: "2024.8.
|
|
9951
|
+
version: "2024.8.15",
|
|
9952
9952
|
cssText: {
|
|
9953
9953
|
/** 主CSS */
|
|
9954
9954
|
index: indexCSS,
|