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