ele-admin-plus 1.1.7-beta.1 → 1.1.7-beta.3

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 (87) hide show
  1. package/es/ele-app/style/common/index.scss +3 -3
  2. package/es/ele-app/style/overwrite/cascader/index.scss +57 -7
  3. package/es/ele-app/style/overwrite/css-var.scss +2 -0
  4. package/es/ele-app/style/overwrite/index.js +1 -0
  5. package/es/ele-app/style/overwrite/index.scss +1 -0
  6. package/es/ele-app/style/overwrite/input/css-var.scss +31 -0
  7. package/es/ele-app/style/overwrite/input/index.js +1 -0
  8. package/es/ele-app/style/overwrite/input/index.scss +453 -0
  9. package/es/ele-app/style/overwrite/select/index.scss +53 -10
  10. package/es/ele-app/utils.d.ts +1 -0
  11. package/es/ele-app/utils.js +5 -0
  12. package/es/ele-basic-select/index.d.ts +10 -4
  13. package/es/ele-basic-select/index.js +36 -35
  14. package/es/ele-basic-select/props.d.ts +6 -0
  15. package/es/ele-basic-select/props.js +7 -1
  16. package/es/ele-basic-select/style/css-var.scss +9 -0
  17. package/es/ele-basic-select/style/index.scss +137 -49
  18. package/es/ele-copyable/index.js +2 -0
  19. package/es/ele-data-table/style/index.scss +10 -6
  20. package/es/ele-icon-select/index.d.ts +6 -2
  21. package/es/ele-icon-select/index.js +4 -1
  22. package/es/ele-icon-select/props.d.ts +4 -0
  23. package/es/ele-icon-select/props.js +4 -0
  24. package/es/ele-icon-select/style/index.scss +4 -0
  25. package/es/ele-menus/style/index.scss +1 -1
  26. package/es/ele-split-panel/style/index.scss +7 -6
  27. package/es/ele-table-select/index.d.ts +10 -6
  28. package/es/ele-table-select/index.js +3 -1
  29. package/es/ele-table-select/props.d.ts +4 -0
  30. package/es/ele-table-select/props.js +4 -0
  31. package/es/ele-tree-select/index.d.ts +11 -7
  32. package/es/ele-tree-select/index.js +3 -1
  33. package/es/ele-tree-select/props.d.ts +4 -0
  34. package/es/ele-tree-select/props.js +5 -1
  35. package/es/ele-virtual-table/style/index.scss +8 -4
  36. package/es/icons/ArrowDown.js +5 -3
  37. package/es/icons/ArrowRight.js +4 -2
  38. package/es/icons/CloseOutlined.d.ts +2 -0
  39. package/es/icons/CloseOutlined.js +40 -0
  40. package/es/icons/index.d.ts +1 -0
  41. package/es/icons/index.js +26 -24
  42. package/es/style/themes/default.scss +74 -1
  43. package/es/style/themes/theme-util.scss +2 -0
  44. package/lib/ele-app/style/common/index.scss +3 -3
  45. package/lib/ele-app/style/overwrite/cascader/index.scss +57 -7
  46. package/lib/ele-app/style/overwrite/css-var.scss +2 -0
  47. package/lib/ele-app/style/overwrite/index.cjs +1 -0
  48. package/lib/ele-app/style/overwrite/index.scss +1 -0
  49. package/lib/ele-app/style/overwrite/input/css-var.scss +31 -0
  50. package/lib/ele-app/style/overwrite/input/index.cjs +2 -0
  51. package/lib/ele-app/style/overwrite/input/index.scss +453 -0
  52. package/lib/ele-app/style/overwrite/select/index.scss +53 -10
  53. package/lib/ele-app/utils.cjs +5 -0
  54. package/lib/ele-app/utils.d.ts +1 -0
  55. package/lib/ele-basic-select/index.cjs +35 -34
  56. package/lib/ele-basic-select/index.d.ts +10 -4
  57. package/lib/ele-basic-select/props.cjs +7 -1
  58. package/lib/ele-basic-select/props.d.ts +6 -0
  59. package/lib/ele-basic-select/style/css-var.scss +9 -0
  60. package/lib/ele-basic-select/style/index.scss +137 -49
  61. package/lib/ele-copyable/index.cjs +2 -0
  62. package/lib/ele-data-table/style/index.scss +10 -6
  63. package/lib/ele-icon-select/index.cjs +4 -1
  64. package/lib/ele-icon-select/index.d.ts +6 -2
  65. package/lib/ele-icon-select/props.cjs +4 -0
  66. package/lib/ele-icon-select/props.d.ts +4 -0
  67. package/lib/ele-icon-select/style/index.scss +4 -0
  68. package/lib/ele-menus/style/index.scss +1 -1
  69. package/lib/ele-split-panel/style/index.scss +7 -6
  70. package/lib/ele-table-select/index.cjs +3 -1
  71. package/lib/ele-table-select/index.d.ts +10 -6
  72. package/lib/ele-table-select/props.cjs +4 -0
  73. package/lib/ele-table-select/props.d.ts +4 -0
  74. package/lib/ele-tree-select/index.cjs +3 -1
  75. package/lib/ele-tree-select/index.d.ts +11 -7
  76. package/lib/ele-tree-select/props.cjs +5 -1
  77. package/lib/ele-tree-select/props.d.ts +4 -0
  78. package/lib/ele-virtual-table/style/index.scss +8 -4
  79. package/lib/icons/ArrowDown.cjs +5 -3
  80. package/lib/icons/ArrowRight.cjs +4 -2
  81. package/lib/icons/CloseOutlined.cjs +39 -0
  82. package/lib/icons/CloseOutlined.d.ts +2 -0
  83. package/lib/icons/index.cjs +2 -0
  84. package/lib/icons/index.d.ts +1 -0
  85. package/lib/style/themes/default.scss +74 -1
  86. package/lib/style/themes/theme-util.scss +2 -0
  87. package/package.json +1 -4
@@ -4,6 +4,10 @@
4
4
 
5
5
  @include set-icon-var($ele);
6
6
 
7
+ .ele-select.is-icon-select .el-input__prefix-inner {
8
+ color: elVar('input', 'text-color');
9
+ }
10
+
7
11
  .ele-icon-select-popper.is-responsive {
8
12
  max-width: calc(100vw - 32px);
9
13
  }
@@ -53,7 +53,7 @@
53
53
 
54
54
  .el-sub-menu.is-opened > .el-sub-menu__title {
55
55
  .el-sub-menu__icon-arrow > svg.ele-arrow-down path {
56
- #{'d'}: path('M3.75 10.2002L7.99274 5.7998L12.2361 10.0425');
56
+ #{'d'}: path('M10 31 24 17 38 31');
57
57
  }
58
58
  }
59
59
 
@@ -69,23 +69,24 @@
69
69
  & > .ele-split-collapse-button {
70
70
  width: 24px;
71
71
  height: 24px;
72
- line-height: 24px;
73
- text-align: center;
72
+ display: flex;
73
+ align-items: center;
74
+ justify-content: center;
74
75
  position: absolute;
75
- left: var(--ele-split-size);
76
76
  top: 50%;
77
+ left: var(--ele-split-size);
78
+ border-radius: 50%;
79
+ border: 1px solid elVar('border-color', 'extra-light');
80
+ box-sizing: border-box;
77
81
  margin: -12px 0 0 -12px;
78
82
  background: elVar('bg-color', 'overlay');
79
83
  box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.04);
80
- border: 1px solid elVar('border-color', 'extra-light');
81
84
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
82
- border-radius: 50%;
83
85
  cursor: pointer;
84
86
  z-index: 5;
85
87
 
86
88
  .ele-split-collapse-icon {
87
89
  font-size: 18px;
88
- vertical-align: -4px;
89
90
  color: elVar('text-color', 'secondary');
90
91
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
91
92
  transform: scaleX(1);
@@ -26,8 +26,8 @@ declare const _default: import("vue").DefineComponent<{
26
26
  type: import("vue").PropType<import("../ele-app/plus").EleProTableProps>;
27
27
  required: boolean;
28
28
  };
29
- maxTagCount: NumberConstructor;
30
- maxTagTextLength: NumberConstructor; /** 下拉框是否显示 */
29
+ maxTagCount: NumberConstructor; /** 下拉框是否显示 */
30
+ maxTagTextLength: NumberConstructor;
31
31
  tagType: {
32
32
  type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
33
33
  default: string;
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
40
40
  };
41
41
  persistent: {
42
42
  type: BooleanConstructor;
43
- default: boolean; /** 表格单选选中值 */
43
+ default: boolean;
44
44
  };
45
45
  placement: {
46
46
  type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
@@ -53,6 +53,8 @@ declare const _default: import("vue").DefineComponent<{
53
53
  popperOptions: import("vue").PropType<Partial<import("element-plus").Options> | undefined>;
54
54
  popperClass: StringConstructor;
55
55
  popperWidth: (StringConstructor | NumberConstructor)[];
56
+ selectStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
57
+ inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
56
58
  responsive: {
57
59
  type: BooleanConstructor;
58
60
  default: null;
@@ -120,8 +122,8 @@ declare const _default: import("vue").DefineComponent<{
120
122
  type: import("vue").PropType<import("../ele-app/plus").EleProTableProps>;
121
123
  required: boolean;
122
124
  };
123
- maxTagCount: NumberConstructor;
124
- maxTagTextLength: NumberConstructor; /** 下拉框是否显示 */
125
+ maxTagCount: NumberConstructor; /** 下拉框是否显示 */
126
+ maxTagTextLength: NumberConstructor;
125
127
  tagType: {
126
128
  type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
127
129
  default: string;
@@ -134,7 +136,7 @@ declare const _default: import("vue").DefineComponent<{
134
136
  };
135
137
  persistent: {
136
138
  type: BooleanConstructor;
137
- default: boolean; /** 表格单选选中值 */
139
+ default: boolean;
138
140
  };
139
141
  placement: {
140
142
  type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
@@ -147,6 +149,8 @@ declare const _default: import("vue").DefineComponent<{
147
149
  popperOptions: import("vue").PropType<Partial<import("element-plus").Options> | undefined>;
148
150
  popperClass: StringConstructor;
149
151
  popperWidth: (StringConstructor | NumberConstructor)[];
152
+ selectStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
153
+ inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
150
154
  responsive: {
151
155
  type: BooleanConstructor;
152
156
  default: null;
@@ -356,6 +356,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
356
356
  popperWidth: _ctx.popperWidth,
357
357
  popperOptions: _ctx.popperOptions,
358
358
  popperClass: _ctx.selectPopperClass,
359
+ selectStyle: _ctx.selectStyle,
360
+ inputStyle: _ctx.inputStyle,
359
361
  selectedLabel: _ctx.selectedLabel,
360
362
  selected: _ctx.selectedItems,
361
363
  visible: _ctx.selectVisible,
@@ -404,7 +406,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
404
406
  ]),
405
407
  key: "0"
406
408
  } : void 0
407
- ]), 1032, ["value", "multiple", "disabled", "size", "clearable", "placeholder", "maxTagCount", "maxTagTextLength", "tagType", "automaticDropdown", "filterable", "teleported", "persistent", "placement", "transition", "popperWidth", "popperOptions", "popperClass", "selectedLabel", "selected", "visible", "onUpdate:visible", "onFilterChange", "onRemoveTag", "onClear", "onFocus", "onBlur"]);
409
+ ]), 1032, ["value", "multiple", "disabled", "size", "clearable", "placeholder", "maxTagCount", "maxTagTextLength", "tagType", "automaticDropdown", "filterable", "teleported", "persistent", "placement", "transition", "popperWidth", "popperOptions", "popperClass", "selectStyle", "inputStyle", "selectedLabel", "selected", "visible", "onUpdate:visible", "onFilterChange", "onRemoveTag", "onClear", "onFocus", "onBlur"]);
408
410
  }
409
411
  const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
410
412
  export {
@@ -79,6 +79,10 @@ export declare const tableSelectProps: {
79
79
  popperClass: StringConstructor;
80
80
  /** 下拉框宽度 */
81
81
  popperWidth: (StringConstructor | NumberConstructor)[];
82
+ /** 自定义样式 */
83
+ selectStyle: PropType<Partial<import("vue").CSSProperties>>;
84
+ /** 自定义输入框样式 */
85
+ inputStyle: PropType<Partial<import("vue").CSSProperties>>;
82
86
  /** 是否开启响应式 */
83
87
  responsive: {
84
88
  type: BooleanConstructor;
@@ -74,6 +74,10 @@ const tableSelectProps = {
74
74
  popperClass: String,
75
75
  /** 下拉框宽度 */
76
76
  popperWidth: [Number, String],
77
+ /** 自定义样式 */
78
+ selectStyle: Object,
79
+ /** 自定义输入框样式 */
80
+ inputStyle: Object,
77
81
  /** 是否开启响应式 */
78
82
  responsive: {
79
83
  type: Boolean,
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
19
19
  };
20
20
  showCheckedStrategy: import("vue").PropType<import("./types").ShowCheckedStrategy>;
21
21
  maxTagCount: NumberConstructor;
22
- maxTagTextLength: NumberConstructor;
22
+ maxTagTextLength: NumberConstructor; /** 树组件 */
23
23
  tagType: {
24
24
  type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
25
25
  default: string;
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<{
36
36
  };
37
37
  placement: {
38
38
  type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
39
- default: string; /** 下拉框类名 */
39
+ default: string;
40
40
  };
41
41
  transition: {
42
42
  type: StringConstructor;
@@ -44,7 +44,9 @@ declare const _default: import("vue").DefineComponent<{
44
44
  };
45
45
  popperOptions: import("vue").PropType<Partial<import("element-plus").Options> | undefined>;
46
46
  popperClass: StringConstructor;
47
- popperWidth: (StringConstructor | NumberConstructor)[]; /** 树配置选项 */
47
+ popperWidth: (StringConstructor | NumberConstructor)[];
48
+ selectStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
49
+ inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
48
50
  }, {
49
51
  selectRef: import("vue").Ref<EleBasicSelectInstance>;
50
52
  treeRef: import("vue").Ref<ElTreeV2Instance>;
@@ -72,7 +74,7 @@ declare const _default: import("vue").DefineComponent<{
72
74
  onTreeCollapse: () => void;
73
75
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
74
76
  'update:modelValue': (_value: SelectValue) => boolean;
75
- change: (_value: SelectValue) => boolean;
77
+ change: (_value: SelectValue) => boolean; /** 获取值对应的数据 */
76
78
  visibleChange: (_visible: boolean) => boolean;
77
79
  removeTag: (_value: SingleValue) => boolean;
78
80
  clear: () => boolean;
@@ -95,7 +97,7 @@ declare const _default: import("vue").DefineComponent<{
95
97
  };
96
98
  showCheckedStrategy: import("vue").PropType<import("./types").ShowCheckedStrategy>;
97
99
  maxTagCount: NumberConstructor;
98
- maxTagTextLength: NumberConstructor;
100
+ maxTagTextLength: NumberConstructor; /** 树组件 */
99
101
  tagType: {
100
102
  type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
101
103
  default: string;
@@ -112,7 +114,7 @@ declare const _default: import("vue").DefineComponent<{
112
114
  };
113
115
  placement: {
114
116
  type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
115
- default: string; /** 下拉框类名 */
117
+ default: string;
116
118
  };
117
119
  transition: {
118
120
  type: StringConstructor;
@@ -120,7 +122,9 @@ declare const _default: import("vue").DefineComponent<{
120
122
  };
121
123
  popperOptions: import("vue").PropType<Partial<import("element-plus").Options> | undefined>;
122
124
  popperClass: StringConstructor;
123
- popperWidth: (StringConstructor | NumberConstructor)[]; /** 树配置选项 */
125
+ popperWidth: (StringConstructor | NumberConstructor)[];
126
+ selectStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
127
+ inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
124
128
  }>> & {
125
129
  onFocus?: ((_e: FocusEvent) => any) | undefined;
126
130
  onBlur?: ((_e: FocusEvent) => any) | undefined;
@@ -353,6 +353,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
353
353
  popperWidth: _ctx.popperWidth,
354
354
  popperOptions: _ctx.popperOptions,
355
355
  popperClass: _ctx.selectPopperClass,
356
+ selectStyle: _ctx.selectStyle,
357
+ inputStyle: _ctx.inputStyle,
356
358
  selectedLabel: _ctx.selectedLabel,
357
359
  selected: _ctx.selectedItems.filter((d) => !d.hide),
358
360
  visible: _ctx.selectVisible,
@@ -404,7 +406,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
404
406
  ]),
405
407
  key: "0"
406
408
  } : void 0
407
- ]), 1032, ["value", "multiple", "disabled", "size", "clearable", "placeholder", "maxTagCount", "maxTagTextLength", "tagType", "automaticDropdown", "filterable", "teleported", "persistent", "placement", "transition", "popperWidth", "popperOptions", "popperClass", "selectedLabel", "selected", "visible", "onUpdate:visible", "onFilterChange", "onRemoveTag", "onClear", "onFocus", "onBlur"]);
409
+ ]), 1032, ["value", "multiple", "disabled", "size", "clearable", "placeholder", "maxTagCount", "maxTagTextLength", "tagType", "automaticDropdown", "filterable", "teleported", "persistent", "placement", "transition", "popperWidth", "popperOptions", "popperClass", "selectStyle", "inputStyle", "selectedLabel", "selected", "visible", "onUpdate:visible", "onFilterChange", "onRemoveTag", "onClear", "onFocus", "onBlur"]);
408
410
  }
409
411
  const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
410
412
  export {
@@ -69,6 +69,10 @@ export declare const treeSelectProps: {
69
69
  popperClass: StringConstructor;
70
70
  /** 下拉框宽度 */
71
71
  popperWidth: (StringConstructor | NumberConstructor)[];
72
+ /** 自定义样式 */
73
+ selectStyle: PropType<Partial<import("vue").CSSProperties>>;
74
+ /** 自定义输入框样式 */
75
+ inputStyle: PropType<Partial<import("vue").CSSProperties>>;
72
76
  };
73
77
  export type TreeSelectProps = ExtractPropTypes<typeof treeSelectProps>;
74
78
  /**
@@ -63,7 +63,11 @@ const treeSelectProps = {
63
63
  /** 下拉框类名 */
64
64
  popperClass: String,
65
65
  /** 下拉框宽度 */
66
- popperWidth: [Number, String]
66
+ popperWidth: [Number, String],
67
+ /** 自定义样式 */
68
+ selectStyle: Object,
69
+ /** 自定义输入框样式 */
70
+ inputStyle: Object
67
71
  };
68
72
  const treeSelectEmits = {
69
73
  /** 更新选中值 */
@@ -275,15 +275,19 @@
275
275
 
276
276
  /* 展开图标 */
277
277
  .ele-table-expand {
278
- font-size: 16px;
278
+ font-size: 14px;
279
279
  align-items: center;
280
- justify-content: flex-end;
280
+ justify-content: center;
281
281
  border-radius: eleVar('table', 'icon-radius');
282
282
  transition: (color $ele-transition, background-color $ele-transition);
283
283
  cursor: pointer;
284
284
 
285
285
  & > .el-icon {
286
286
  transition: all $ele-transition;
287
+
288
+ & > svg > path {
289
+ stroke-width: 4.6;
290
+ }
287
291
  }
288
292
 
289
293
  &.is-collapse > .el-icon:not(.is-loading) {
@@ -298,8 +302,8 @@
298
302
  .ele-table-expand,
299
303
  .ele-table-indent,
300
304
  .ele-table-placeholder {
301
- width: 17px;
302
- height: 17px;
305
+ width: 16px;
306
+ height: 16px;
303
307
  display: inline-flex;
304
308
  vertical-align: -3px;
305
309
  }
@@ -10,14 +10,16 @@ const _export_sfc = (sfc, props) => {
10
10
  return target;
11
11
  };
12
12
  const _hoisted_1 = {
13
- viewBox: "0 0 16 16",
13
+ viewBox: "0 0 48 48",
14
14
  fill: "none",
15
15
  class: "ele-arrow-down"
16
16
  };
17
17
  const _hoisted_2 = /* @__PURE__ */ createElementVNode("path", {
18
- d: "M3.75 5.7998L7.99274 10.0425L12.2361 5.79921",
18
+ d: "M10 17 24 31 38 17",
19
19
  stroke: "currentColor",
20
- "stroke-width": "1.3"
20
+ "stroke-width": "5",
21
+ "stroke-linecap": "round",
22
+ "stroke-linejoin": "round"
21
23
  }, null, -1);
22
24
  const _hoisted_3 = [
23
25
  _hoisted_2
@@ -14,9 +14,11 @@ const _hoisted_1 = {
14
14
  fill: "none"
15
15
  };
16
16
  const _hoisted_2 = /* @__PURE__ */ createElementVNode("path", {
17
- d: "M19 12L31 24L19 36",
17
+ d: "M17 38 31 24 17 10",
18
18
  stroke: "currentColor",
19
- "stroke-width": "4"
19
+ "stroke-width": "5",
20
+ "stroke-linecap": "round",
21
+ "stroke-linejoin": "round"
20
22
  }, null, -1);
21
23
  const _hoisted_3 = [
22
24
  _hoisted_2
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,40 @@
1
+ import { defineComponent, openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const _sfc_main = defineComponent({
3
+ name: "CloseOutlined"
4
+ });
5
+ const _export_sfc = (sfc, props) => {
6
+ const target = sfc.__vccOpts || sfc;
7
+ for (const [key, val] of props) {
8
+ target[key] = val;
9
+ }
10
+ return target;
11
+ };
12
+ const _hoisted_1 = {
13
+ viewBox: "0 0 48 48",
14
+ fill: "none"
15
+ };
16
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode("path", {
17
+ d: "M14 14L34 34",
18
+ stroke: "currentColor",
19
+ "stroke-width": "4.8",
20
+ "stroke-linecap": "round",
21
+ "stroke-linejoin": "round"
22
+ }, null, -1);
23
+ const _hoisted_3 = /* @__PURE__ */ createElementVNode("path", {
24
+ d: "M14 34L34 14",
25
+ stroke: "currentColor",
26
+ "stroke-width": "4.8",
27
+ "stroke-linecap": "round",
28
+ "stroke-linejoin": "round"
29
+ }, null, -1);
30
+ const _hoisted_4 = [
31
+ _hoisted_2,
32
+ _hoisted_3
33
+ ];
34
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
35
+ return openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_4);
36
+ }
37
+ const CloseOutlined = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
38
+ export {
39
+ CloseOutlined as default
40
+ };
@@ -2,6 +2,7 @@ export { default as ArrowDown } from "./ArrowDown";
2
2
  export { default as ArrowLeft } from "./ArrowLeft";
3
3
  export { default as ArrowRight } from "./ArrowRight";
4
4
  export { default as ArrowUp } from "./ArrowUp";
5
+ export { default as CloseOutlined } from "./CloseOutlined";
5
6
  export { default as ColumnHeightOutlined } from "./ColumnHeightOutlined";
6
7
  export { default as CompressOutlined } from "./CompressOutlined";
7
8
  export { default as EllipsisOutlined } from "./EllipsisOutlined";
package/es/icons/index.js CHANGED
@@ -2,33 +2,35 @@ import { default as default2 } from "./ArrowDown";
2
2
  import { default as default3 } from "./ArrowLeft";
3
3
  import { default as default4 } from "./ArrowRight";
4
4
  import { default as default5 } from "./ArrowUp";
5
- import { default as default6 } from "./ColumnHeightOutlined";
6
- import { default as default7 } from "./CompressOutlined";
7
- import { default as default8 } from "./EllipsisOutlined";
8
- import { default as default9 } from "./ExpandOutlined";
9
- import { default as default10 } from "./FilterFilled";
10
- import { default as default11 } from "./FullscreenOutlined";
11
- import { default as default12 } from "./FullscreenExitOutlined";
12
- import { default as default13 } from "./HolderOutlined";
13
- import { default as default14 } from "./HomeOutlined";
14
- import { default as default15 } from "./LoadingOutlined";
15
- import { default as default16 } from "./VerticalLeftOutlined";
16
- import { default as default17 } from "./VerticalRightOutlined";
5
+ import { default as default6 } from "./CloseOutlined";
6
+ import { default as default7 } from "./ColumnHeightOutlined";
7
+ import { default as default8 } from "./CompressOutlined";
8
+ import { default as default9 } from "./EllipsisOutlined";
9
+ import { default as default10 } from "./ExpandOutlined";
10
+ import { default as default11 } from "./FilterFilled";
11
+ import { default as default12 } from "./FullscreenOutlined";
12
+ import { default as default13 } from "./FullscreenExitOutlined";
13
+ import { default as default14 } from "./HolderOutlined";
14
+ import { default as default15 } from "./HomeOutlined";
15
+ import { default as default16 } from "./LoadingOutlined";
16
+ import { default as default17 } from "./VerticalLeftOutlined";
17
+ import { default as default18 } from "./VerticalRightOutlined";
17
18
  export {
18
19
  default2 as ArrowDown,
19
20
  default3 as ArrowLeft,
20
21
  default4 as ArrowRight,
21
22
  default5 as ArrowUp,
22
- default6 as ColumnHeightOutlined,
23
- default7 as CompressOutlined,
24
- default8 as EllipsisOutlined,
25
- default9 as ExpandOutlined,
26
- default10 as FilterFilled,
27
- default12 as FullscreenExitOutlined,
28
- default11 as FullscreenOutlined,
29
- default13 as HolderOutlined,
30
- default14 as HomeOutlined,
31
- default15 as LoadingOutlined,
32
- default16 as VerticalLeftOutlined,
33
- default17 as VerticalRightOutlined
23
+ default6 as CloseOutlined,
24
+ default7 as ColumnHeightOutlined,
25
+ default8 as CompressOutlined,
26
+ default9 as EllipsisOutlined,
27
+ default10 as ExpandOutlined,
28
+ default11 as FilterFilled,
29
+ default13 as FullscreenExitOutlined,
30
+ default12 as FullscreenOutlined,
31
+ default14 as HolderOutlined,
32
+ default15 as HomeOutlined,
33
+ default16 as LoadingOutlined,
34
+ default17 as VerticalLeftOutlined,
35
+ default18 as VerticalRightOutlined
34
36
  };
@@ -323,7 +323,7 @@ $ele: map.deep-merge(
323
323
  'badge-margin': 0 -2px 0 6px,
324
324
  'icon-font-size': 16px,
325
325
  'icon-margin': 0 8px 0 0,
326
- 'arrow-size': 17px,
326
+ 'arrow-size': 14px,
327
327
  'arrow-margin': 0 -4px 0 6px,
328
328
  'bg': elVar('bg-color'),
329
329
  'border-color': elVar('border-color', 'light'),
@@ -1179,6 +1179,79 @@ $ele: map.deep-merge(
1179
1179
  'header-border': 1px solid elVar('border-color', 'light'),
1180
1180
  'header-size': 14px,
1181
1181
  'range-space': 6px
1182
+ ),
1183
+ 'input': (
1184
+ // 输入框
1185
+ 'padding': 0 10px,
1186
+ 'bg': transparent,
1187
+ 'border': 1px solid elVar('border-color'),
1188
+ 'radius': elVar('border-radius', 'base'),
1189
+ 'hover-bg': transparent,
1190
+ 'hover-border': 1px solid elVar('color-primary'),
1191
+ 'hover-shadow': none,
1192
+ 'focus-bg': transparent,
1193
+ 'focus-border': 1px solid elVar('color-primary'),
1194
+ 'focus-shadow': 0 0 0 2px elVar('color-primary', 'light-8'),
1195
+ 'disabled-color': elVar('disabled', 'text-color'),
1196
+ 'disabled-bg': elVar('disabled', 'bg-color'),
1197
+ 'disabled-border': 1px solid elVar('disabled', 'border-color'),
1198
+ 'icon-size': 14px,
1199
+ 'icon-space': 6px,
1200
+ 'icon-color': elVar('text-color', 'placeholder'),
1201
+ 'icon-hover-color': elVar('text-color', 'secondary'),
1202
+ 'eye-margin': 0 -2px 0 6px,
1203
+ 'clear-size': 12px,
1204
+ 'clear-margin': 0 -2px 0 6px,
1205
+ 'clear-color': elVar('text-color', 'disabled'),
1206
+ 'clear-hover-color': elVar('text-color', 'secondary'),
1207
+ 'status-size': 13px,
1208
+ 'status-margin': 0 -2px 0 6px,
1209
+ 'status-color': elVar('color-success'),
1210
+ 'count-size': elVar('font-size', 'small'),
1211
+ 'count-color': elVar('text-color', 'secondary'),
1212
+ 'extra-color': elVar('text-color', 'regular'),
1213
+ 'extra-bg': elVar('fill-color', 'light'),
1214
+ 'extra-padding': 0 10px,
1215
+ 'extra-line-height': normal,
1216
+ 'extra-preset-margin': -1px -11px
1217
+ ),
1218
+ 'input-error': (
1219
+ // 输入框验证失败
1220
+ 'bg': transparent,
1221
+ 'border': 1px solid elVar('color-error'),
1222
+ 'hover-bg': transparent,
1223
+ 'hover-border': 1px solid elVar('color-error'),
1224
+ 'hover-shadow': none,
1225
+ 'focus-bg': transparent,
1226
+ 'focus-border': 1px solid elVar('color-error'),
1227
+ 'focus-shadow': 0 0 0 2px elVar('color-error', 'light-8'),
1228
+ 'disabled-bg': elVar('disabled', 'bg-color'),
1229
+ 'disabled-border': 1px solid elVar('disabled', 'border-color'),
1230
+ 'status-color': elVar('color-error')
1231
+ ),
1232
+ 'input-sm': (
1233
+ // 输入框小尺寸
1234
+ 'padding': 0 8px
1235
+ ),
1236
+ 'input-lg': (
1237
+ // 输入框大尺寸
1238
+ 'padding': 0 12px
1239
+ ),
1240
+ 'textarea': (
1241
+ // 文本域
1242
+ 'padding': 4px 10px,
1243
+ 'count-bg': elVar('bg-color'),
1244
+ 'count-padding': 0,
1245
+ 'count-right': 12px,
1246
+ 'count-bottom': 6px
1247
+ ),
1248
+ 'textarea-sm': (
1249
+ // 文本域小尺寸
1250
+ 'padding': 2px 8px
1251
+ ),
1252
+ 'textarea-lg': (
1253
+ // 文本域大尺寸
1254
+ 'padding': 8px 12px
1182
1255
  )
1183
1256
  ),
1184
1257
  $ele
@@ -1,5 +1,6 @@
1
1
  @use '../../ele-alert/style/css-var.scss' as *;
2
2
  @use '../../ele-app/style/css-var.scss' as *;
3
+ @use '../../ele-basic-select/style/css-var.scss' as *;
3
4
  @use '../../ele-bottom-bar/style/css-var.scss' as *;
4
5
  @use '../../ele-card/style/css-var.scss' as *;
5
6
  @use '../../ele-check-card/style/css-var.scss' as *;
@@ -35,6 +36,7 @@
35
36
  #{$selector} {
36
37
  @include set-alert-var($var);
37
38
  @include set-app-var($var);
39
+ @include set-basic-select-var($var);
38
40
  @include set-bottom-bar-var($var);
39
41
  @include set-card-var($var);
40
42
  @include set-check-card-var($var);
@@ -29,13 +29,13 @@
29
29
  flex: 0;
30
30
  }
31
31
 
32
- .el-range__icon {
33
- padding-right: 5px;
32
+ & > .el-input__icon {
33
+ flex-shrink: 0;
34
34
  }
35
35
  }
36
36
 
37
37
  /* 数字输入框 */
38
- &.el-input-number .el-input__inner {
38
+ &.el-input-number.is-controls-right .el-input__inner {
39
39
  text-align: left;
40
40
  }
41
41
  }
@@ -95,6 +95,23 @@
95
95
  }
96
96
  }
97
97
 
98
+ .el-cascader > .el-input .el-input__inner {
99
+ margin: -2px 0;
100
+ min-height: calc(#{elVar('input', 'height')} + 2px);
101
+ }
102
+
103
+ /* 多选标签 */
104
+ .el-cascader__tags .el-tag__content,
105
+ .el-cascader__collapse-tag .el-tag__content {
106
+ display: inline-flex;
107
+ align-items: center;
108
+ line-height: 14px;
109
+ }
110
+
111
+ .el-cascader .el-cascader__tags {
112
+ padding: 0 0 0 4px;
113
+ }
114
+
98
115
  .el-cascader .el-cascader__tags .el-tag,
99
116
  .el-cascader__collapse-tags .el-cascader__collapse-tag .el-tag {
100
117
  flex-shrink: 0;
@@ -103,13 +120,46 @@
103
120
  border: none;
104
121
  }
105
122
 
106
- .el-cascader .el-cascader__tags {
107
- top: 2px;
108
- transform: none;
109
- padding: 0 0 0 4px;
123
+ .el-cascader__tags .el-cascader__search-input {
124
+ margin: 2px 0 2px 5.8px;
110
125
  }
111
126
 
112
- .el-cascader > .el-input .el-input__inner {
113
- margin: -2px 0;
114
- min-height: calc(#{elVar('input', 'height')} + 2px);
127
+ /* 小尺寸 */
128
+ .el-cascader--small .el-cascader__tags .el-cascader__search-input {
129
+ height: 18px;
130
+ margin-top: 1px;
131
+ margin-bottom: 1px;
132
+ margin-left: 3.8px;
133
+ }
134
+
135
+ .el-cascader--small .el-cascader__tags .el-tag,
136
+ .el-cascader__collapse-tags .el-cascader__collapse-tag .el-tag--small {
137
+ margin: 1px 4px 1px 0;
138
+ height: calc(elVar('component-size', 'small') - 4px - 2px);
139
+ }
140
+
141
+ /* 大尺寸 */
142
+ .el-cascader--large .el-cascader__tags {
143
+ padding: 1px 0 1px 6px;
144
+ }
145
+
146
+ .el-cascader--large .el-cascader__tags .el-tag {
147
+ height: calc(elVar('component-size', 'large') - 8px - 4px);
148
+ }
149
+
150
+ .el-cascader--large .el-cascader__tags .el-cascader__search-input {
151
+ margin-left: 7.8px;
152
+ }
153
+
154
+ /* 多选搜索框 */
155
+ .el-cascader__tags .el-tag + .el-cascader__search-input {
156
+ margin-left: 2px;
157
+ }
158
+
159
+ /* 标签溢出气泡 */
160
+ .el-popper > .el-cascader__collapse-tags {
161
+ margin: -5px -11px;
162
+ padding: 8px 10px;
163
+ background: inherit;
164
+ border-radius: inherit;
115
165
  }