8
0
Ver Fonte

更新依赖

ZaiZai há 4 meses atrás
pai
commit
600dd5bb81

+ 6 - 6
package.json

@@ -21,20 +21,20 @@
         "crypto-js": "^4.2.0",
         "dayjs": "^1.11.13",
         "echarts": "^5.5.1",
-        "element-plus": "2.8.5",
-        "hc-vue3-ui": "^4.3.8",
+        "element-plus": "2.8.7",
+        "hc-vue3-ui": "^4.3.9",
         "js-base64": "^3.7.7",
         "js-fast-way": "^0.5.6",
         "js-md5": "^0.8.3",
         "nprogress": "^0.2.0",
-        "pinia": "^2.2.4",
+        "pinia": "^2.2.6",
         "vue": "3.5.12",
         "vue-router": "^4.4.5",
         "vuedraggable": "^4.1.0"
     },
     "devDependencies": {
-        "@iconify-json/iconoir": "^1.2.2",
-        "@iconify-json/ri": "^1.2.1",
+        "@iconify-json/iconoir": "^1.2.3",
+        "@iconify-json/ri": "^1.2.3",
         "@unocss/eslint-config": "^0.58.9",
         "@vitejs/plugin-vue": "^5.1.4",
         "@vue/compiler-sfc": "^3.5.12",
@@ -47,6 +47,6 @@
         "typescript": "^5.6.3",
         "unocss": "^0.58.9",
         "unocss-preset-extra": "^0.5.3",
-        "vite": "^5.4.9"
+        "vite": "^5.4.10"
     }
 }

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
public/plugins/element-plus/index.css


+ 1 - 1
public/plugins/element-plus/theme-chalk/el-option-group.css

@@ -1 +1 @@
-.el-select-group{margin:0;padding:0}.el-select-group__wrap{list-style:none;margin:0;padding:0;position:relative}.el-select-group__title{color:var(--el-color-info);font-size:12px;line-height:34px;padding-left:20px}.el-select-group .el-select-dropdown__item{padding-left:20px}
+.el-select-group{margin:0;padding:0}.el-select-group__wrap{list-style:none;margin:0;padding:0;position:relative}.el-select-group__title{box-sizing:border-box;color:var(--el-color-info);font-size:12px;line-height:34px;overflow:hidden;padding:0 20px;text-overflow:ellipsis;white-space:nowrap}.el-select-group .el-select-dropdown__item{padding-left:20px}

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
public/plugins/element-plus/theme-chalk/el-popper.css


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
public/plugins/element-plus/theme-chalk/el-segmented.css


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
public/plugins/element-plus/theme-chalk/el-select-v2.css


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
public/plugins/element-plus/theme-chalk/el-select.css


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
public/plugins/element-plus/theme-chalk/el-table-v2.css


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
public/plugins/element-plus/theme-chalk/index.css


+ 1 - 1
public/plugins/element-plus/theme-chalk/src/color/index.scss

@@ -2,7 +2,7 @@
 @use 'sass:string';
 
 @function rgb2hex($color) {
-  @return unquote('#' + #{string.slice(color.ie-hex-str($color), 4)});
+  @return string.unquote('#' + #{string.slice(color.ie-hex-str($color), 4)});
 }
 
 // rgba color above solid color

+ 2 - 1
public/plugins/element-plus/theme-chalk/src/common/var.scss

@@ -1,6 +1,7 @@
 /* Element Chalk Variables */
 @use 'sass:math';
 @use 'sass:map';
+@use 'sass:color';
 
 @use '../mixins/function.scss' as *;
 
@@ -60,7 +61,7 @@ $color-info: map.get($colors, 'info', 'base') !default;
     (
       $type: (
         '#{$mode}-#{$number}':
-          mix(
+          color.mix(
             $mix-color,
             map.get($colors, $type, 'base'),
             math.percentage(math.div($number, 10))

+ 2 - 1
public/plugins/element-plus/theme-chalk/src/dark/var.scss

@@ -1,5 +1,6 @@
 @use 'sass:map';
 @use 'sass:math';
+@use 'sass:color';
 
 @use '../common/var.scss' as common;
 @use '../mixins/mixins.scss' as *;
@@ -30,7 +31,7 @@ $colors: () !default;
     (
       $type: (
         '#{$mode}-#{$number}':
-          mix(
+          color.mix(
             $mix-color,
             map.get($colors, $type, 'base'),
             math.percentage(math.div($number, 10))

+ 7 - 5
public/plugins/element-plus/theme-chalk/src/mixins/function.scss

@@ -1,16 +1,18 @@
 @use 'config';
+@use 'sass:meta';
+@use 'sass:string';
 
 // BEM support Func
 @function selectorToString($selector) {
-  $selector: inspect($selector);
-  $selector: str-slice($selector, 2, -2);
+  $selector: meta.inspect($selector);
+  $selector: string.slice($selector, 2, -2);
   @return $selector;
 }
 
 @function containsModifier($selector) {
   $selector: selectorToString($selector);
 
-  @if str-index($selector, config.$modifier-separator) {
+  @if string.index($selector, config.$modifier-separator) {
     @return true;
   } @else {
     @return false;
@@ -20,7 +22,7 @@
 @function containWhenFlag($selector) {
   $selector: selectorToString($selector);
 
-  @if str-index($selector, '.' + config.$state-prefix) {
+  @if string.index($selector, '.' + config.$state-prefix) {
     @return true;
   } @else {
     @return false;
@@ -30,7 +32,7 @@
 @function containPseudoClass($selector) {
   $selector: selectorToString($selector);
 
-  @if str-index($selector, ':') {
+  @if string.index($selector, ':') {
     @return true;
   } @else {
     @return false;

+ 4 - 2
public/plugins/element-plus/theme-chalk/src/mixins/mixins.scss

@@ -5,12 +5,14 @@
 @forward 'function';
 @forward '_var';
 @use 'config' as *;
+@use 'sass:string';
+@use "sass:map";
 
 // Break-points
 @mixin res($key, $map: $breakpoints) {
   // loop breakpoint Map, return if present
-  @if map-has-key($map, $key) {
-    @media only screen and #{unquote(map-get($map, $key))} {
+  @if map.has-key($map, $key) {
+    @media only screen and #{string.unquote(map.get($map, $key))} {
       @content;
     }
   } @else {

+ 5 - 1
public/plugins/element-plus/theme-chalk/src/option-group.scss

@@ -17,10 +17,14 @@
   }
 
   @include e(title) {
-    padding-left: $gap;
+    box-sizing: border-box;
+    padding: 0 $gap;
     font-size: map.get($select-group, 'font-size');
     color: map.get($select-group, 'text-color');
     line-height: map.get($select-group, 'height');
+    overflow: hidden;
+    text-overflow: ellipsis;
+    white-space: nowrap;
   }
 
   & .#{$namespace}-select-dropdown__item {

+ 1 - 1
public/plugins/element-plus/theme-chalk/src/popper.scss

@@ -96,7 +96,7 @@
     $adjacency
       in ('top': 'left', 'bottom': 'right', 'left': 'bottom', 'right': 'top')
   {
-    &[data-popper-placement^='#{$placement}'] {
+    &[data-popper-placement^='#{$placement}'] > {
       #{$arrow-selector}::before {
         border-#{$placement}-color: transparent !important;
         border-#{$adjacency}-color: transparent !important;

+ 23 - 0
public/plugins/element-plus/theme-chalk/src/segmented.scss

@@ -35,6 +35,23 @@ $segmented-item-padding: map.merge(
   $segmented-item-padding
 );
 
+$segmented-item-padding-vertical: () !default;
+$segmented-item-padding-vertical: map.merge(
+  (
+    'large': 11px 11px,
+    'default':11px 11px,
+    'small': 7px 7px,
+  ),
+  $segmented-item-padding-vertical
+);
+
+.#{$namespace}-segmented--vertical {
+  flex-direction: column;
+  .#{$namespace}-segmented__item {
+    padding: map.get($segmented-item-padding-vertical, 'default');
+  }
+}
+
 @include b(segmented) {
   @include set-component-css-var('segmented', $segmented);
 }
@@ -151,6 +168,12 @@ $segmented-item-padding: map.merge(
         border-radius: calc(#{map.get($segmented-border-radius, $size)} - 2px);
       }
 
+      .#{$namespace}-segmented--vertical {
+        @include e(item) {
+          padding: map.get($segmented-item-padding-vertical, $size);
+        }
+      }
+
       @include e(item) {
         border-radius: calc(#{map.get($segmented-border-radius, $size)} - 2px);
         padding: map.get($segmented-item-padding, $size);

+ 4 - 2
public/plugins/element-plus/theme-chalk/src/table-v2.scss

@@ -85,12 +85,10 @@
     @include table-root;
     left: 0;
     box-shadow: 2px 0 4px 0 rgb(0 0 0 / 6%);
-    z-index: 1;
     @include hidden-scrollbar;
   }
 
   @include e('right') {
-    z-index: 1;
     @include table-root;
     right: 0;
     box-shadow: -2px 0 4px 0 rgb(0 0 0 / 6%);
@@ -112,6 +110,10 @@
   @include e('header') {
     position: relative;
     overflow: hidden;
+
+    .#{$namespace}-checkbox {
+      z-index: 0;
+    }
   }
 
   @include e('footer') {

+ 0 - 0
public/plugins/element-plus/v2.8.5 → public/plugins/element-plus/v2.8.7


+ 24 - 24
yarn.lock

@@ -539,17 +539,17 @@
   resolved "http://39.108.216.210:9000/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#4a2868d75d6d6963e423bcf90b7fd1be343409d3"
   integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==
 
-"@iconify-json/iconoir@^1.2.2":
-  version "1.2.2"
-  resolved "http://39.108.216.210:9000/@iconify-json/iconoir/-/iconoir-1.2.2.tgz#b4421921d348e6cb5594f88925ddf0ef6a25acb0"
-  integrity sha512-ytC2V7WeIHsQSyd5r+Iq/ExNb/yM45iR0jhbKNqFFSWhJvuanfIyuTHH/SQJpPYwV1grGtIx7v+kZ7xIjltdpA==
+"@iconify-json/iconoir@^1.2.3":
+  version "1.2.3"
+  resolved "http://39.108.216.210:9000/@iconify-json/iconoir/-/iconoir-1.2.3.tgz#8a3bd40401c174b622ec9851d0b4b42ce525946c"
+  integrity sha512-CIPFznjl417Y5zBPqZP4+lhHwdTr7aDenzUOL/z92ufuMoX7SOZbZ8dK9/wNaLwCr+2w+MrxfVKc7zjUj9K0Dg==
   dependencies:
     "@iconify/types" "*"
 
-"@iconify-json/ri@^1.2.1":
-  version "1.2.1"
-  resolved "http://39.108.216.210:9000/@iconify-json/ri/-/ri-1.2.1.tgz#ea7941d55b6fa4b3c95981fab47cfe2897666ce2"
-  integrity sha512-xI3+xZHBI+wlhQqd6jRRcLD5K8B8vQNyxcSB43myxNZ/SfXIn7Ny28h0jyPo9e0gT8fGhqx6R5PeLz/UBB8jwQ==
+"@iconify-json/ri@^1.2.3":
+  version "1.2.3"
+  resolved "http://39.108.216.210:9000/@iconify-json/ri/-/ri-1.2.3.tgz#7b16498b7fc53be58f03e5de4a1436703d00a2a8"
+  integrity sha512-UVKofd5xkSevGd5K01pvO4NWsu+2C9spu+GxnMZUYymUiaWmpCAxtd22MFSpm6MGf0MP4GCwhDCo1Q8L8oZ9wg==
   dependencies:
     "@iconify/types" "*"
 
@@ -1640,10 +1640,10 @@ electron-to-chromium@^1.4.668:
   resolved "http://39.108.216.210:9000/electron-to-chromium/-/electron-to-chromium-1.4.685.tgz#3ce988e4dfbb3aa984840394b1d7064c01ad74c1"
   integrity sha512-yDYeobbTEe4TNooEzOQO6xFqg9XnAkVy2Lod1C1B2it8u47JNLYvl9nLDWBamqUakWB8Jc1hhS1uHUNYTNQdfw==
 
-element-plus@2.8.5:
-  version "2.8.5"
-  resolved "http://39.108.216.210:9000/element-plus/-/element-plus-2.8.5.tgz#4db83da805820b6c66f7f12168b76cdca55ffa86"
-  integrity sha512-Px+kPbRTVvn5oa5+9saa7QEOnUweKXm0JVI7yJHzKF/doQGixwcFMsQEF2+3Fy62EA/7dRRKVuhsNGGZYNk3cw==
+element-plus@2.8.7:
+  version "2.8.7"
+  resolved "http://39.108.216.210:9000/element-plus/-/element-plus-2.8.7.tgz#34770466c65ec2089cf1db805b432f479910fb51"
+  integrity sha512-oGQyFRufFOgjd872tZc+T4xQAYLlX4hj6d3ixeY13L4fFNUuc1N49JHAqJGPda0tdx3qCnjceZoh1kqqj2+tXQ==
   dependencies:
     "@ctrl/tinycolor" "^3.4.1"
     "@element-plus/icons-vue" "^2.3.1"
@@ -2063,10 +2063,10 @@ has-flag@^4.0.0:
   resolved "http://39.108.216.210:9000/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
   integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
 
-hc-vue3-ui@^4.3.8:
-  version "4.3.8"
-  resolved "http://39.108.216.210:9000/hc-vue3-ui/-/hc-vue3-ui-4.3.8.tgz#931190300daccf62e833eea0c521466c3cda8500"
-  integrity sha512-hLOVW9t9AYVetEAzK+CDgFlsStgVdz37ll6Fjwgw3uOSshwMJZUdKLpHOYAk0/fscKVTrTUwV/IUc8DaEuLwiA==
+hc-vue3-ui@^4.3.9:
+  version "4.3.9"
+  resolved "http://39.108.216.210:9000/hc-vue3-ui/-/hc-vue3-ui-4.3.9.tgz#526323d5e9616ff14ab30661e2db3d1343bcca14"
+  integrity sha512-p6LrX40tG+IG9gn/8bJMAaaI/6f5QLLBxG1i98AQncK3vXqQUrLsaDGe4nwm1pRgmFxJMc+DR2pTrdqCj6AkMA==
   dependencies:
     axios "^1.7.7"
     dayjs "^1.11.13"
@@ -2599,10 +2599,10 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1:
   resolved "http://39.108.216.210:9000/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
   integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
 
-pinia@^2.2.4:
-  version "2.2.4"
-  resolved "http://39.108.216.210:9000/pinia/-/pinia-2.2.4.tgz#79b63b231a3da80968ab58f7721f575fe2c509ac"
-  integrity sha512-K7ZhpMY9iJ9ShTC0cR2+PnxdQRuwVIsXDO/WIEV/RnMC/vmSoKDTKW/exNQYPI+4ij10UjXqdNiEHwn47McANQ==
+pinia@^2.2.6:
+  version "2.2.6"
+  resolved "http://39.108.216.210:9000/pinia/-/pinia-2.2.6.tgz#ff93f35b8c02033eaedc8c92ad5f10f215d6c804"
+  integrity sha512-vIsR8JkDN5Ga2vAxqOE2cJj4VtsHnzpR1Fz30kClxlh0yCHfec6uoMeM3e/ddqmwFUejK3NlrcQa/shnpyT4hA==
   dependencies:
     "@vue/devtools-api" "^6.6.3"
     vue-demi "^0.14.10"
@@ -3121,10 +3121,10 @@ util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1:
   resolved "http://39.108.216.210:9000/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
   integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==
 
-vite@^5.4.9:
-  version "5.4.9"
-  resolved "http://39.108.216.210:9000/vite/-/vite-5.4.9.tgz#215c80cbebfd09ccbb9ceb8c0621391c9abdc19c"
-  integrity sha512-20OVpJHh0PAM0oSOELa5GaZNWeDjcAvQjGXy2Uyr+Tp+/D2/Hdz6NLgpJLsarPTA2QJ6v8mX2P1ZfbsSKvdMkg==
+vite@^5.4.10:
+  version "5.4.10"
+  resolved "http://39.108.216.210:9000/vite/-/vite-5.4.10.tgz#d358a7bd8beda6cf0f3b7a450a8c7693a4f80c18"
+  integrity sha512-1hvaPshuPUtxeQ0hsVH3Mud0ZanOLwVTneA1EgbAM5LhaZEqyPWGRQ7BtaMvUrTDeEaC8pxtj6a6jku3x4z6SQ==
   dependencies:
     esbuild "^0.21.3"
     postcss "^8.4.43"

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff