@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.system.js
CHANGED
|
@@ -2960,8 +2960,6 @@ System.register('pops', [], (function (exports) {
|
|
|
2960
2960
|
deviation = Number.isNaN(deviation) ? 1 : deviation;
|
|
2961
2961
|
// 最大值2147483647
|
|
2962
2962
|
let maxZIndex = Math.pow(2, 31) - 1;
|
|
2963
|
-
// 比较值2000000000
|
|
2964
|
-
let maxZIndexCompare = 2 * Math.pow(10, 9);
|
|
2965
2963
|
// 当前页面最大的z-index
|
|
2966
2964
|
let zIndex = 0;
|
|
2967
2965
|
// 当前的最大z-index的元素,调试使用
|
|
@@ -2984,11 +2982,13 @@ System.register('pops', [], (function (exports) {
|
|
|
2984
2982
|
}
|
|
2985
2983
|
});
|
|
2986
2984
|
zIndex += deviation;
|
|
2985
|
+
// 用于比较的值2000000000,大于该值就取该值
|
|
2986
|
+
let maxZIndexCompare = 2 * Math.pow(10, 9);
|
|
2987
2987
|
if (zIndex >= maxZIndexCompare) {
|
|
2988
2988
|
// 最好不要超过最大值
|
|
2989
2989
|
zIndex = maxZIndex;
|
|
2990
2990
|
}
|
|
2991
|
-
return { zIndex:
|
|
2991
|
+
return { zIndex: zIndex, animElement: maxZIndexNode };
|
|
2992
2992
|
},
|
|
2993
2993
|
/**
|
|
2994
2994
|
* 获取CSS Rule
|
|
@@ -5942,7 +5942,7 @@ System.register('pops', [], (function (exports) {
|
|
|
5942
5942
|
<div class="text-ellip content flex-a-i-center">
|
|
5943
5943
|
<span>文件名</span>
|
|
5944
5944
|
<div class="pops-folder-list-table__sort" data-sort="fileName">
|
|
5945
|
-
<div class="pops-folder-icon-arrow">
|
|
5945
|
+
<div class="pops-folder-icon-arrow" data-sort="按文件名排序">
|
|
5946
5946
|
<svg
|
|
5947
5947
|
viewBox="0 0 1024 1024"
|
|
5948
5948
|
xmlns="http://www.w3.org/2000/svg">
|
|
@@ -5961,7 +5961,7 @@ System.register('pops', [], (function (exports) {
|
|
|
5961
5961
|
<div class="text-ellip content flex-a-i-center">
|
|
5962
5962
|
<span>修改时间</span>
|
|
5963
5963
|
<div class="pops-folder-list-table__sort" data-sort="latestTime">
|
|
5964
|
-
<div class="pops-folder-icon-arrow">
|
|
5964
|
+
<div class="pops-folder-icon-arrow" title="按修改时间排序">
|
|
5965
5965
|
<svg
|
|
5966
5966
|
viewBox="0 0 1024 1024"
|
|
5967
5967
|
xmlns="http://www.w3.org/2000/svg">
|
|
@@ -5980,7 +5980,7 @@ System.register('pops', [], (function (exports) {
|
|
|
5980
5980
|
<div class="text-ellip content flex-a-i-center">
|
|
5981
5981
|
<span>大小</span>
|
|
5982
5982
|
<div class="pops-folder-list-table__sort" data-sort="fileSize">
|
|
5983
|
-
<div class="pops-folder-icon-arrow">
|
|
5983
|
+
<div class="pops-folder-icon-arrow" title="按大小排序">
|
|
5984
5984
|
<svg
|
|
5985
5985
|
viewBox="0 0 1024 1024"
|
|
5986
5986
|
xmlns="http://www.w3.org/2000/svg">
|
|
@@ -9951,7 +9951,7 @@ System.register('pops', [], (function (exports) {
|
|
|
9951
9951
|
/** 配置 */
|
|
9952
9952
|
config = {
|
|
9953
9953
|
/** 版本号 */
|
|
9954
|
-
version: "2024.8.
|
|
9954
|
+
version: "2024.8.15",
|
|
9955
9955
|
cssText: {
|
|
9956
9956
|
/** 主CSS */
|
|
9957
9957
|
index: indexCSS,
|