ele-admin-plus 1.1.9-beta.10 → 1.1.9-beta.11

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.
Files changed (157) hide show
  1. package/es/ele-alert/index.js +2 -2
  2. package/es/ele-basic-select/index.d.ts +1 -1
  3. package/es/ele-basic-select/index.js +7 -1
  4. package/es/ele-config-provider/types.d.ts +3 -1
  5. package/es/ele-cropper-modal/index.js +1 -1
  6. package/es/ele-drawer/index.d.ts +8 -5
  7. package/es/ele-drawer/index.js +107 -113
  8. package/es/ele-drawer/style/index.scss +48 -105
  9. package/es/ele-edit-tag/index.js +1 -1
  10. package/es/ele-file-list/components/file-grid-item.js +1 -1
  11. package/es/ele-file-list/components/file-table-item.js +1 -1
  12. package/es/ele-icon-select/components/icon-grid.js +1 -1
  13. package/es/ele-loading/index.d.ts +0 -4
  14. package/es/ele-loading/index.js +10 -16
  15. package/es/ele-map-picker/components/map-view.js +1 -1
  16. package/es/ele-map-picker/index.js +1 -1
  17. package/es/ele-menus/index.d.ts +4 -6
  18. package/es/ele-menus/index.js +1 -1
  19. package/es/ele-menus/props.d.ts +1 -3
  20. package/es/ele-menus/props.js +1 -3
  21. package/es/ele-menus/style/css-var.scss +1 -5
  22. package/es/ele-modal/index.d.ts +12 -6
  23. package/es/ele-modal/index.js +163 -184
  24. package/es/ele-modal/props.d.ts +2 -0
  25. package/es/ele-modal/props.js +2 -0
  26. package/es/ele-modal/style/index.scss +85 -146
  27. package/es/ele-modal/util.d.ts +18 -44
  28. package/es/ele-modal/util.js +53 -179
  29. package/es/ele-pagination/index.d.ts +9 -0
  30. package/es/ele-pagination/index.js +4 -1
  31. package/es/ele-pagination/props.d.ts +5 -0
  32. package/es/ele-pagination/props.js +5 -0
  33. package/es/ele-popconfirm/index.d.ts +3 -3
  34. package/es/ele-popconfirm/index.js +6 -28
  35. package/es/ele-popover/index.d.ts +2 -2
  36. package/es/ele-popover/index.js +6 -14
  37. package/es/ele-pro-layout/components/pro-header.d.ts +66 -11
  38. package/es/ele-pro-layout/components/pro-header.js +110 -20
  39. package/es/ele-pro-layout/components/pro-sidebar.d.ts +2 -7
  40. package/es/ele-pro-layout/components/pro-sidebar.js +2 -5
  41. package/es/ele-pro-layout/components/pro-sidebox.d.ts +2 -7
  42. package/es/ele-pro-layout/components/pro-sidebox.js +2 -5
  43. package/es/ele-pro-layout/components/tab-dropdown.js +1 -1
  44. package/es/ele-pro-layout/index.d.ts +25 -27
  45. package/es/ele-pro-layout/index.js +45 -29
  46. package/es/ele-pro-layout/props.d.ts +3 -6
  47. package/es/ele-pro-layout/props.js +2 -4
  48. package/es/ele-pro-layout/style/css-var.scss +3 -18
  49. package/es/ele-pro-layout/style/header.scss +74 -9
  50. package/es/ele-pro-layout/style/layout-mobile.scss +2 -2
  51. package/es/ele-pro-layout/style/layout-style.scss +8 -3
  52. package/es/ele-pro-layout/style/layout-theme.scss +48 -23
  53. package/es/ele-pro-layout/style/layout.scss +23 -3
  54. package/es/ele-pro-layout/style/sidebar.scss +0 -1
  55. package/es/ele-pro-layout/style/tabs.scss +19 -11
  56. package/es/ele-pro-layout/types.d.ts +1 -1
  57. package/es/ele-pro-table/components/tool-print.js +0 -3
  58. package/es/ele-pro-table/index.d.ts +3 -5
  59. package/es/ele-pro-table/index.js +2 -1
  60. package/es/ele-pro-table/util.d.ts +1 -1
  61. package/es/ele-tab-wrap/index.js +2 -1
  62. package/es/ele-table-select/index.d.ts +13 -12
  63. package/es/ele-table-select/index.js +27 -26
  64. package/es/ele-tabs/index.js +1 -0
  65. package/es/ele-tabs/style/css-var.scss +1 -30
  66. package/es/ele-tabs/style/index.scss +372 -241
  67. package/es/ele-tabs/types.d.ts +2 -1
  68. package/es/ele-tooltip/index.js +3 -0
  69. package/es/ele-tooltip/props.d.ts +5 -0
  70. package/es/ele-tooltip/props.js +2 -0
  71. package/es/ele-virtual-table/style/index.scss +1 -1
  72. package/es/icons/ResizeOutlined.d.ts +2 -0
  73. package/es/icons/ResizeOutlined.js +30 -0
  74. package/es/icons/index.d.ts +1 -0
  75. package/es/icons/index.js +50 -48
  76. package/es/style/themes/dark.scss +9 -15
  77. package/es/style/themes/default.scss +56 -80
  78. package/es/style/themes/rounded.scss +16 -30
  79. package/lib/ele-alert/index.cjs +2 -2
  80. package/lib/ele-basic-select/index.cjs +7 -1
  81. package/lib/ele-basic-select/index.d.ts +1 -1
  82. package/lib/ele-config-provider/types.d.ts +3 -1
  83. package/lib/ele-cropper-modal/index.cjs +1 -1
  84. package/lib/ele-drawer/index.cjs +105 -111
  85. package/lib/ele-drawer/index.d.ts +8 -5
  86. package/lib/ele-drawer/style/index.scss +48 -105
  87. package/lib/ele-edit-tag/index.cjs +1 -1
  88. package/lib/ele-file-list/components/file-grid-item.cjs +1 -1
  89. package/lib/ele-file-list/components/file-table-item.cjs +1 -1
  90. package/lib/ele-icon-select/components/icon-grid.cjs +1 -1
  91. package/lib/ele-loading/index.cjs +9 -15
  92. package/lib/ele-loading/index.d.ts +0 -4
  93. package/lib/ele-map-picker/components/map-view.cjs +1 -1
  94. package/lib/ele-map-picker/index.cjs +1 -1
  95. package/lib/ele-menus/index.cjs +1 -1
  96. package/lib/ele-menus/index.d.ts +4 -6
  97. package/lib/ele-menus/props.cjs +1 -3
  98. package/lib/ele-menus/props.d.ts +1 -3
  99. package/lib/ele-menus/style/css-var.scss +1 -5
  100. package/lib/ele-modal/index.cjs +176 -197
  101. package/lib/ele-modal/index.d.ts +12 -6
  102. package/lib/ele-modal/props.cjs +2 -0
  103. package/lib/ele-modal/props.d.ts +2 -0
  104. package/lib/ele-modal/style/index.scss +85 -146
  105. package/lib/ele-modal/util.cjs +53 -179
  106. package/lib/ele-modal/util.d.ts +18 -44
  107. package/lib/ele-pagination/index.cjs +4 -1
  108. package/lib/ele-pagination/index.d.ts +9 -0
  109. package/lib/ele-pagination/props.cjs +5 -0
  110. package/lib/ele-pagination/props.d.ts +5 -0
  111. package/lib/ele-popconfirm/index.cjs +5 -27
  112. package/lib/ele-popconfirm/index.d.ts +3 -3
  113. package/lib/ele-popover/index.cjs +5 -13
  114. package/lib/ele-popover/index.d.ts +2 -2
  115. package/lib/ele-pro-layout/components/pro-header.cjs +109 -19
  116. package/lib/ele-pro-layout/components/pro-header.d.ts +66 -11
  117. package/lib/ele-pro-layout/components/pro-sidebar.cjs +2 -5
  118. package/lib/ele-pro-layout/components/pro-sidebar.d.ts +2 -7
  119. package/lib/ele-pro-layout/components/pro-sidebox.cjs +2 -5
  120. package/lib/ele-pro-layout/components/pro-sidebox.d.ts +2 -7
  121. package/lib/ele-pro-layout/components/tab-dropdown.cjs +1 -1
  122. package/lib/ele-pro-layout/index.cjs +45 -29
  123. package/lib/ele-pro-layout/index.d.ts +25 -27
  124. package/lib/ele-pro-layout/props.cjs +2 -4
  125. package/lib/ele-pro-layout/props.d.ts +3 -6
  126. package/lib/ele-pro-layout/style/css-var.scss +3 -18
  127. package/lib/ele-pro-layout/style/header.scss +74 -9
  128. package/lib/ele-pro-layout/style/layout-mobile.scss +2 -2
  129. package/lib/ele-pro-layout/style/layout-style.scss +8 -3
  130. package/lib/ele-pro-layout/style/layout-theme.scss +48 -23
  131. package/lib/ele-pro-layout/style/layout.scss +23 -3
  132. package/lib/ele-pro-layout/style/sidebar.scss +0 -1
  133. package/lib/ele-pro-layout/style/tabs.scss +19 -11
  134. package/lib/ele-pro-layout/types.d.ts +1 -1
  135. package/lib/ele-pro-table/components/tool-print.cjs +0 -3
  136. package/lib/ele-pro-table/index.cjs +2 -1
  137. package/lib/ele-pro-table/index.d.ts +3 -5
  138. package/lib/ele-pro-table/util.d.ts +1 -1
  139. package/lib/ele-tab-wrap/index.cjs +2 -1
  140. package/lib/ele-table-select/index.cjs +27 -26
  141. package/lib/ele-table-select/index.d.ts +13 -12
  142. package/lib/ele-tabs/index.cjs +1 -0
  143. package/lib/ele-tabs/style/css-var.scss +1 -30
  144. package/lib/ele-tabs/style/index.scss +372 -241
  145. package/lib/ele-tabs/types.d.ts +2 -1
  146. package/lib/ele-tooltip/index.cjs +3 -0
  147. package/lib/ele-tooltip/props.cjs +2 -0
  148. package/lib/ele-tooltip/props.d.ts +5 -0
  149. package/lib/ele-virtual-table/style/index.scss +1 -1
  150. package/lib/icons/ResizeOutlined.cjs +29 -0
  151. package/lib/icons/ResizeOutlined.d.ts +2 -0
  152. package/lib/icons/index.cjs +2 -0
  153. package/lib/icons/index.d.ts +1 -0
  154. package/lib/style/themes/dark.scss +9 -15
  155. package/lib/style/themes/default.scss +56 -80
  156. package/lib/style/themes/rounded.scss +16 -30
  157. package/package.json +9 -9
@@ -27,7 +27,8 @@ export type TabType =
27
27
  | 'plain'
28
28
  | 'simple'
29
29
  | 'indicator'
30
- | 'button';
30
+ | 'button'
31
+ | 'tag';
31
32
 
32
33
  /**
33
34
  * 页签事件参数
@@ -16,8 +16,11 @@ const _sfc_main = vue.defineComponent({
16
16
  "bodyStyle",
17
17
  "bg",
18
18
  "arrowBg",
19
+ "width",
19
20
  "isPopover",
20
21
  "onUpdate:visible",
22
+ "onBeforeShow",
23
+ "onBeforeHide",
21
24
  "onBefore-show",
22
25
  "onBefore-hide",
23
26
  "onShow",
@@ -30,5 +30,7 @@ const tooltipProps = {
30
30
  isPopover: Boolean
31
31
  };
32
32
  const tooltipEmits = elementPlus.tooltipEmits;
33
+ const tooltipPropKeys = Object.keys(tooltipProps);
33
34
  exports.tooltipEmits = tooltipEmits;
35
+ exports.tooltipPropKeys = tooltipPropKeys;
34
36
  exports.tooltipProps = tooltipProps;
@@ -67,3 +67,8 @@ export type TooltipEmits = {
67
67
  close: (e: any) => boolean;
68
68
  };
69
69
  export declare const tooltipEmits: TooltipEmits;
70
+ /**
71
+ * 属性名
72
+ */
73
+ export type TooltipPropKeys = Array<keyof typeof tooltipProps>;
74
+ export declare const tooltipPropKeys: TooltipPropKeys;
@@ -653,7 +653,7 @@
653
653
  }
654
654
 
655
655
  /* 移动端支持触摸滚动 */
656
- @media (hover: none) and (pointer: coarse) {
656
+ @media (pointer: coarse) {
657
657
  .ele-virtual-table > .el-table-v2 > .el-table-v2__main {
658
658
  & > .el-table-v2__body > div:not(.el-virtual-scrollbar) {
659
659
  overflow: auto !important;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ const vue = require("vue");
3
+ const _sfc_main = vue.defineComponent({
4
+ name: "ResizeOutlined"
5
+ });
6
+ const _export_sfc = (sfc, props) => {
7
+ const target = sfc.__vccOpts || sfc;
8
+ for (const [key, val] of props) {
9
+ target[key] = val;
10
+ }
11
+ return target;
12
+ };
13
+ const _hoisted_1 = {
14
+ viewBox: "0 0 48 48",
15
+ fill: "none",
16
+ stroke: "currentColor",
17
+ "stroke-width": "4"
18
+ };
19
+ const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("path", { d: "M44 10 10 44" }, null, -1);
20
+ const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("path", { d: "M44 28 28 44" }, null, -1);
21
+ const _hoisted_4 = [
22
+ _hoisted_2,
23
+ _hoisted_3
24
+ ];
25
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
26
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, _hoisted_4);
27
+ }
28
+ const ResizeOutlined = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
29
+ module.exports = ResizeOutlined;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -83,6 +83,7 @@ const ProtectOutlined = require("./ProtectOutlined");
83
83
  const QuestionCircleFilled = require("./QuestionCircleFilled");
84
84
  const QuestionCircleOutlined = require("./QuestionCircleOutlined");
85
85
  const ReloadOutlined = require("./ReloadOutlined");
86
+ const ResizeOutlined = require("./ResizeOutlined");
86
87
  const SearchOutlined = require("./SearchOutlined");
87
88
  const SettingOutlined = require("./SettingOutlined");
88
89
  const ShoppingOutlined = require("./ShoppingOutlined");
@@ -190,6 +191,7 @@ exports.ProtectOutlined = ProtectOutlined;
190
191
  exports.QuestionCircleFilled = QuestionCircleFilled;
191
192
  exports.QuestionCircleOutlined = QuestionCircleOutlined;
192
193
  exports.ReloadOutlined = ReloadOutlined;
194
+ exports.ResizeOutlined = ResizeOutlined;
193
195
  exports.SearchOutlined = SearchOutlined;
194
196
  exports.SettingOutlined = SettingOutlined;
195
197
  exports.ShoppingOutlined = ShoppingOutlined;
@@ -81,6 +81,7 @@ export { default as ProtectOutlined } from "./ProtectOutlined";
81
81
  export { default as QuestionCircleFilled } from "./QuestionCircleFilled";
82
82
  export { default as QuestionCircleOutlined } from "./QuestionCircleOutlined";
83
83
  export { default as ReloadOutlined } from "./ReloadOutlined";
84
+ export { default as ResizeOutlined } from "./ResizeOutlined";
84
85
  export { default as SearchOutlined } from "./SearchOutlined";
85
86
  export { default as SettingOutlined } from "./SettingOutlined";
86
87
  export { default as ShoppingOutlined } from "./ShoppingOutlined";
@@ -12,11 +12,9 @@ $ele-dark: map.deep-merge(
12
12
  'header': (
13
13
  'shadow': 0 1px 4px rgba(0, 0, 0, 0.6),
14
14
  'tool-hover-bg': rgba(255, 255, 255, 0.05),
15
- 'dark-tool-hover-bg': rgba(255, 255, 255, 0.05)
16
- ),
17
- 'header-dark': (
18
- 'bg': #1f1f1f,
19
- 'shadow': 0 1px 4px rgba(0, 0, 0, 0.6)
15
+ 'dark-tool-hover-bg': rgba(255, 255, 255, 0.05),
16
+ 'dark-bg': #1f1f1f,
17
+ 'dark-shadow': 0 1px 4px rgba(0, 0, 0, 0.6)
20
18
  ),
21
19
  'logo': (
22
20
  'shadow': 0 3px 4px rgba(0, 0, 0, 0.6),
@@ -51,16 +49,12 @@ $ele-dark: map.deep-merge(
51
49
  ),
52
50
  'tab': (
53
51
  'scroll-left-shadow': inset 10px 0 10px -10px rgba(0, 0, 0, 0.88),
54
- 'scroll-right-shadow': inset -10px 0 10px -10px rgba(0, 0, 0, 0.88)
55
- ),
56
- 'tab-simple': (
57
- 'hover-bg': rgba(255, 255, 255, 0.05)
58
- ),
59
- 'tab-indicator': (
60
- 'color': #434343
61
- ),
62
- 'tab-button': (
63
- 'bg': hsla(0, 0%, 100%, 0.04)
52
+ 'scroll-right-shadow': inset -10px 0 10px -10px rgba(0, 0, 0, 0.88),
53
+ 'simple-hover-bg': rgba(255, 255, 255, 0.05),
54
+ 'indicator-dot-color': #434343,
55
+ 'indicator-dot-hover-color': #5a5a5a,
56
+ 'button-bg': hsla(0, 0%, 100%, 0.03),
57
+ 'button-hover-bg': hsla(0, 0%, 100%, 0.04)
64
58
  ),
65
59
  'table': (
66
60
  'icon-hover-bg': rgba(255, 255, 255, 0.12),
@@ -34,21 +34,17 @@ $ele: map.deep-merge(
34
34
  'bg': elVar('bg-color'),
35
35
  'shadow': 0 1px 4px rgba(0, 21, 41, 0.08),
36
36
  'line-color': elVar('border-color', 'extra-light'),
37
- 'menu-height': 54px,
38
- 'tool-height': 100%,
37
+ 'menu-height': eleVar('header', 'height'),
38
+ 'tools-padding': 12px,
39
+ 'tool-padding': 12px,
40
+ 'tool-height': eleVar('header', 'height'),
39
41
  'tool-radius': 0,
40
- 'tool-hover-bg': rgba(0, 0, 0, 0.025),
41
- 'dark-tool-hover-bg': rgba(255, 255, 255, 0.05)
42
- ),
43
- 'header-dark': (
44
- // 暗色顶栏
45
- 'bg': #001529,
46
- 'shadow': 0 1px 4px rgba(0, 0, 0, 0.1)
47
- ),
48
- 'header-primary': (
49
- // 主色顶栏
50
- 'hover-bg': transparent,
51
- 'active-bg': transparent
42
+ 'tool-hover-bg': rgba(0, 0, 0, 0.04),
43
+ 'dark-tool-hover-bg': rgba(255, 255, 255, 0.12),
44
+ 'dark-color': #fff,
45
+ 'dark-bg': #001529,
46
+ 'dark-shadow': 0 1px 4px rgba(0, 0, 0, 0.1),
47
+ 'primary-active-bg': transparent
52
48
  ),
53
49
  'logo': (
54
50
  // Logo
@@ -206,8 +202,7 @@ $ele: map.deep-merge(
206
202
  'icon-radius': elVar('border-radius', 'small'),
207
203
  'body-padding': 20px,
208
204
  'footer-padding': 10px 16px,
209
- 'footer-border': 1px solid elVar('border-color', 'light'),
210
- 'inner-shadow': 0 0.8px 0 elVar('border-color', 'light') inset
205
+ 'footer-border': 1px solid elVar('border-color', 'light')
211
206
  ),
212
207
  'dropdown': (
213
208
  // 下拉菜单
@@ -441,18 +436,6 @@ $ele: map.deep-merge(
441
436
  'form-body-padding': 24px 22px 12px 20px,
442
437
  'footer-padding': 10px 20px,
443
438
  'footer-border': 1px solid elVar('border-color', 'light'),
444
- 'resize-bg':
445
- linear-gradient(
446
- 135deg,
447
- transparent 45%,
448
- hsla(0, 0%, 60%, 0.88) 0,
449
- hsla(0, 0%, 60%, 0.88) 55%,
450
- transparent 0,
451
- transparent 75%,
452
- hsla(0, 0%, 60%, 0.88) 0,
453
- hsla(0, 0%, 60%, 0.88) 85%,
454
- transparent 0
455
- ),
456
439
  'fullscreen-border': 1px solid elVar('border-color', 'light'),
457
440
  'mobile-space': 16px
458
441
  ),
@@ -576,6 +559,9 @@ $ele: map.deep-merge(
576
559
  'close-radius': 50%,
577
560
  'close-hover-color': #fff,
578
561
  'close-hover-bg': elVar('color-error'),
562
+ 'active-close-color': elVar('text-color', 'secondary'),
563
+ 'active-close-hover-color': #fff,
564
+ 'active-close-hover-bg': elVar('color-error'),
579
565
  'icon-font-size': 15px,
580
566
  'tool-color': elVar('text-color', 'secondary'),
581
567
  'tool-font-size': elVar('font-size', 'base'),
@@ -584,58 +570,48 @@ $ele: map.deep-merge(
584
570
  'active-index': 3,
585
571
  'transition': (color, background-color, border-color, box-shadow),
586
572
  'scroll-left-shadow': inset 10px 0 10px -10px rgba(0, 0, 0, 0.15),
587
- 'scroll-right-shadow': inset -10px 0 10px -10px rgba(0, 0, 0, 0.15)
588
- ),
589
- 'tab-sm': (
590
- // 标签页小号
591
- 'height': 32px,
592
- 'padding': 12px,
593
- 'font-size': elVar('font-size', 'small'),
594
- 'close-size': elVar('font-size', 'small'),
595
- 'close-font-size': elVar('font-size', 'small'),
596
- 'icon-font-size': 14px,
597
- 'tool-font-size': elVar('font-size', 'small')
598
- ),
599
- 'tab-lg': (
600
- // 标签页大号
601
- 'height': 52px,
602
- 'padding': 22px,
603
- 'font-size': elVar('font-size', 'medium'),
604
- 'close-size': elVar('font-size', 'medium'),
605
- 'close-font-size': elVar('font-size', 'medium'),
606
- 'icon-font-size': 17px,
607
- 'tool-font-size': elVar('font-size', 'medium')
608
- ),
609
- 'tab-simple': (
610
- // 标签页简约风格
611
- 'radius': 0,
612
- 'hover-color': elVar('text-color', 'primary'),
613
- 'hover-bg': rgba(0, 0, 0, 0.025),
614
- 'active-color': elVar('color-primary'),
615
- 'active-bg': elVar('color-primary', 'light-9'),
616
- 'active-weight': normal,
617
- 'active-line': 2px,
618
- 'line-display': block,
619
- 'angle-size': 0px,
620
- 'angle-display': none,
621
- 'tool-hover-bg': eleVar('tab-simple', 'hover-bg')
622
- ),
623
- 'tab-indicator': (
624
- // 标签页指示器风格
625
- 'size': 8px,
626
- 'color': #d9d9d9,
627
- 'hover-color': #d9d9d9,
628
- 'margin': 6px
629
- ),
630
- 'tab-button': (
631
- // 标签页按钮风格
632
- 'space': 8px,
633
- 'radius': 4px,
634
- 'bg': hsla(0, 0%, 100%, 0.68),
635
- 'hover-bg': elVar('bg-color'),
636
- 'active-bg': elVar('bg-color', 'overlay'),
637
- 'active-shadow': none,
638
- 'active-weight': normal
573
+ 'scroll-right-shadow': inset -10px 0 10px -10px rgba(0, 0, 0, 0.15),
574
+ 'sm-height': 32px,
575
+ 'sm-padding': 12px,
576
+ 'sm-font-size': elVar('font-size', 'small'),
577
+ 'sm-close-size': elVar('font-size', 'small'),
578
+ 'sm-close-font-size': elVar('font-size', 'small'),
579
+ 'sm-icon-font-size': 14px,
580
+ 'sm-tool-font-size': elVar('font-size', 'small'),
581
+ 'lg-height': 52px,
582
+ 'lg-padding': 22px,
583
+ 'lg-font-size': elVar('font-size', 'medium'),
584
+ 'lg-close-size': elVar('font-size', 'medium'),
585
+ 'lg-close-font-size': elVar('font-size', 'medium'),
586
+ 'lg-icon-font-size': 17px,
587
+ 'lg-tool-font-size': elVar('font-size', 'medium'),
588
+ 'simple-radius': 0,
589
+ 'simple-hover-color': elVar('text-color', 'primary'),
590
+ 'simple-hover-bg': rgba(0, 0, 0, 0.025),
591
+ 'simple-active-color': elVar('color-primary'),
592
+ 'simple-active-bg': elVar('color-primary', 'light-9'),
593
+ 'simple-active-weight': normal,
594
+ 'simple-active-line': 2px,
595
+ 'simple-line-display': block,
596
+ 'simple-angle-size': 0px,
597
+ 'simple-angle-display': none,
598
+ 'simple-tool-hover-bg': eleVar('tab', 'simple-hover-bg'),
599
+ 'indicator-dot-size': 8px,
600
+ 'indicator-dot-color': #d9d9d9,
601
+ 'indicator-dot-hover-color': #c8c8c8,
602
+ 'indicator-dot-active-color': elVar('color-primary'),
603
+ 'indicator-margin': 6px,
604
+ 'tag-space': 4px,
605
+ 'tag-radius': elVar('border-radius', 'base'),
606
+ 'button-space': 8px,
607
+ 'button-radius': 4px,
608
+ 'button-bg': hsla(0, 0%, 100%, 0.66),
609
+ 'button-hover-color': elVar('color-primary'),
610
+ 'button-hover-bg': elVar('bg-color'),
611
+ 'button-active-color': elVar('color-primary'),
612
+ 'button-active-bg': elVar('bg-color', 'overlay'),
613
+ 'button-active-shadow': none,
614
+ 'button-active-weight': normal
639
615
  ),
640
616
  'text': (
641
617
  // 文本
@@ -10,12 +10,7 @@ $ele-rounded: map.deep-merge(
10
10
  'menu-height': 38px,
11
11
  'tool-height': 38px,
12
12
  'tool-radius': elVar('border-radius', 'base'),
13
- 'tool-hover-bg': elVar('fill-color', 'light'),
14
- 'dark-tool-hover-bg': rgba(255, 255, 255, 0.12)
15
- ),
16
- 'header-primary': (
17
- 'hover-bg': rgba(255, 255, 255, 0.12),
18
- 'active-bg': rgba(255, 255, 255, 0.24)
13
+ 'primary-active-bg': rgba(255, 255, 255, 0.24)
19
14
  ),
20
15
  'sidebar': (
21
16
  'tool-height': 38px
@@ -135,30 +130,21 @@ $ele-rounded: map.deep-merge(
135
130
  'close-radius': elVar('border-radius', 'small'),
136
131
  'close-hover-color': elVar('text-color', 'primary'),
137
132
  'close-hover-bg': hsla(0, 0%, 60%, 0.15),
138
- 'transition': (color, border-color, box-shadow)
139
- ),
140
- 'tab-sm': (
141
- 'close-size': 14px
142
- ),
143
- 'tab-lg': (
144
- 'close-size': 20px
145
- ),
146
- 'tab-simple': (
147
- 'radius': 8px 8px 0px 0px,
148
- 'active-weight': bold,
149
- 'active-line': 0px,
150
- 'line-display': none,
151
- 'angle-size': 10px,
152
- 'angle-display': block,
153
- 'tool-hover-bg': transparent
154
- ),
155
- 'tab-indicator': (
156
- 'hover-color': elVar('color-primary')
157
- ),
158
- 'tab-button': (
159
- 'radius': $radius-large,
160
- 'active-shadow': 0 0 4px 2px rgba(0, 0, 0, 0.04),
161
- 'active-weight': bold
133
+ 'active-close-hover-color': elVar('text-color', 'primary'),
134
+ 'active-close-hover-bg': hsla(0, 0%, 60%, 0.15),
135
+ 'transition': (color, box-shadow),
136
+ 'sm-close-size': 14px,
137
+ 'lg-close-size': 20px,
138
+ 'simple-radius': 8px 8px 0px 0px,
139
+ 'simple-active-weight': bold,
140
+ 'simple-active-line': 0px,
141
+ 'simple-line-display': none,
142
+ 'simple-angle-size': 10px,
143
+ 'simple-angle-display': block,
144
+ 'simple-tool-hover-bg': transparent,
145
+ 'button-radius': $radius-large,
146
+ 'button-active-shadow': 0 0 4px 2px rgba(0, 0, 0, 0.04),
147
+ 'button-active-weight': bold
162
148
  ),
163
149
  'text': (
164
150
  'heading-weight': bold
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ele-admin-plus",
3
- "version": "1.1.9-beta.10",
3
+ "version": "1.1.9-beta.11",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --host --config vite.global.ts",
@@ -24,7 +24,7 @@
24
24
  "@bytemd/plugin-highlight": "^1.21.0",
25
25
  "@element-plus/icons-vue": "^2.3.1",
26
26
  "@types/fs-extra": "^11.0.4",
27
- "@types/node": "^20.12.2",
27
+ "@types/node": "^20.12.5",
28
28
  "@types/nprogress": "^0.2.3",
29
29
  "@types/sortablejs": "^1.15.8",
30
30
  "@typescript-eslint/eslint-plugin": "^7.5.0",
@@ -56,23 +56,23 @@
56
56
  "postcss": "^8.4.38",
57
57
  "prettier": "^3.2.5",
58
58
  "rimraf": "^5.0.5",
59
- "sass": "^1.72.0",
59
+ "sass": "^1.74.1",
60
60
  "sortablejs": "^1.15.2",
61
61
  "tinymce": "^5.10.9",
62
62
  "typescript": "5.3.3",
63
63
  "unplugin-vue-components": "^0.26.0",
64
- "vite": "^5.2.7",
64
+ "vite": "^5.2.8",
65
65
  "vite-plugin-dts": "^3.8.1",
66
66
  "vue": "^3.4.21",
67
67
  "vue-echarts": "^6.6.9",
68
68
  "vue-eslint-parser": "^9.4.2",
69
- "vue-i18n": "^9.10.2",
69
+ "vue-i18n": "^9.11.0",
70
70
  "vue-router": "^4.3.0",
71
- "vue-tsc": "^2.0.7",
71
+ "vue-tsc": "^2.0.10",
72
72
  "vuedraggable": "^4.1.0",
73
- "xgplayer": "^3.0.15",
74
- "xgplayer-hls": "^3.0.15",
75
- "xgplayer-music": "^3.0.15",
73
+ "xgplayer": "^3.0.16",
74
+ "xgplayer-hls": "^3.0.16",
75
+ "xgplayer-music": "^3.0.16",
76
76
  "xlsx": "^0.18.5"
77
77
  },
78
78
  "main": "lib/index.cjs",