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.
- package/es/ele-app/style/common/index.scss +3 -3
- package/es/ele-app/style/overwrite/cascader/index.scss +57 -7
- package/es/ele-app/style/overwrite/css-var.scss +2 -0
- package/es/ele-app/style/overwrite/index.js +1 -0
- package/es/ele-app/style/overwrite/index.scss +1 -0
- package/es/ele-app/style/overwrite/input/css-var.scss +31 -0
- package/es/ele-app/style/overwrite/input/index.js +1 -0
- package/es/ele-app/style/overwrite/input/index.scss +453 -0
- package/es/ele-app/style/overwrite/select/index.scss +53 -10
- package/es/ele-app/utils.d.ts +1 -0
- package/es/ele-app/utils.js +5 -0
- package/es/ele-basic-select/index.d.ts +10 -4
- package/es/ele-basic-select/index.js +36 -35
- package/es/ele-basic-select/props.d.ts +6 -0
- package/es/ele-basic-select/props.js +7 -1
- package/es/ele-basic-select/style/css-var.scss +9 -0
- package/es/ele-basic-select/style/index.scss +137 -49
- package/es/ele-copyable/index.js +2 -0
- package/es/ele-data-table/style/index.scss +10 -6
- package/es/ele-icon-select/index.d.ts +6 -2
- package/es/ele-icon-select/index.js +4 -1
- package/es/ele-icon-select/props.d.ts +4 -0
- package/es/ele-icon-select/props.js +4 -0
- package/es/ele-icon-select/style/index.scss +4 -0
- package/es/ele-menus/style/index.scss +1 -1
- package/es/ele-split-panel/style/index.scss +7 -6
- package/es/ele-table-select/index.d.ts +10 -6
- package/es/ele-table-select/index.js +3 -1
- package/es/ele-table-select/props.d.ts +4 -0
- package/es/ele-table-select/props.js +4 -0
- package/es/ele-tree-select/index.d.ts +11 -7
- package/es/ele-tree-select/index.js +3 -1
- package/es/ele-tree-select/props.d.ts +4 -0
- package/es/ele-tree-select/props.js +5 -1
- package/es/ele-virtual-table/style/index.scss +8 -4
- package/es/icons/ArrowDown.js +5 -3
- package/es/icons/ArrowRight.js +4 -2
- package/es/icons/CloseOutlined.d.ts +2 -0
- package/es/icons/CloseOutlined.js +40 -0
- package/es/icons/index.d.ts +1 -0
- package/es/icons/index.js +26 -24
- package/es/style/themes/default.scss +74 -1
- package/es/style/themes/theme-util.scss +2 -0
- package/lib/ele-app/style/common/index.scss +3 -3
- package/lib/ele-app/style/overwrite/cascader/index.scss +57 -7
- package/lib/ele-app/style/overwrite/css-var.scss +2 -0
- package/lib/ele-app/style/overwrite/index.cjs +1 -0
- package/lib/ele-app/style/overwrite/index.scss +1 -0
- package/lib/ele-app/style/overwrite/input/css-var.scss +31 -0
- package/lib/ele-app/style/overwrite/input/index.cjs +2 -0
- package/lib/ele-app/style/overwrite/input/index.scss +453 -0
- package/lib/ele-app/style/overwrite/select/index.scss +53 -10
- package/lib/ele-app/utils.cjs +5 -0
- package/lib/ele-app/utils.d.ts +1 -0
- package/lib/ele-basic-select/index.cjs +35 -34
- package/lib/ele-basic-select/index.d.ts +10 -4
- package/lib/ele-basic-select/props.cjs +7 -1
- package/lib/ele-basic-select/props.d.ts +6 -0
- package/lib/ele-basic-select/style/css-var.scss +9 -0
- package/lib/ele-basic-select/style/index.scss +137 -49
- package/lib/ele-copyable/index.cjs +2 -0
- package/lib/ele-data-table/style/index.scss +10 -6
- package/lib/ele-icon-select/index.cjs +4 -1
- package/lib/ele-icon-select/index.d.ts +6 -2
- package/lib/ele-icon-select/props.cjs +4 -0
- package/lib/ele-icon-select/props.d.ts +4 -0
- package/lib/ele-icon-select/style/index.scss +4 -0
- package/lib/ele-menus/style/index.scss +1 -1
- package/lib/ele-split-panel/style/index.scss +7 -6
- package/lib/ele-table-select/index.cjs +3 -1
- package/lib/ele-table-select/index.d.ts +10 -6
- package/lib/ele-table-select/props.cjs +4 -0
- package/lib/ele-table-select/props.d.ts +4 -0
- package/lib/ele-tree-select/index.cjs +3 -1
- package/lib/ele-tree-select/index.d.ts +11 -7
- package/lib/ele-tree-select/props.cjs +5 -1
- package/lib/ele-tree-select/props.d.ts +4 -0
- package/lib/ele-virtual-table/style/index.scss +8 -4
- package/lib/icons/ArrowDown.cjs +5 -3
- package/lib/icons/ArrowRight.cjs +4 -2
- package/lib/icons/CloseOutlined.cjs +39 -0
- package/lib/icons/CloseOutlined.d.ts +2 -0
- package/lib/icons/index.cjs +2 -0
- package/lib/icons/index.d.ts +1 -0
- package/lib/style/themes/default.scss +74 -1
- package/lib/style/themes/theme-util.scss +2 -0
- package/package.json +1 -4
|
@@ -69,23 +69,24 @@
|
|
|
69
69
|
& > .ele-split-collapse-button {
|
|
70
70
|
width: 24px;
|
|
71
71
|
height: 24px;
|
|
72
|
-
|
|
73
|
-
|
|
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);
|
|
@@ -357,6 +357,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
357
357
|
popperWidth: _ctx.popperWidth,
|
|
358
358
|
popperOptions: _ctx.popperOptions,
|
|
359
359
|
popperClass: _ctx.selectPopperClass,
|
|
360
|
+
selectStyle: _ctx.selectStyle,
|
|
361
|
+
inputStyle: _ctx.inputStyle,
|
|
360
362
|
selectedLabel: _ctx.selectedLabel,
|
|
361
363
|
selected: _ctx.selectedItems,
|
|
362
364
|
visible: _ctx.selectVisible,
|
|
@@ -405,7 +407,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
405
407
|
]),
|
|
406
408
|
key: "0"
|
|
407
409
|
} : void 0
|
|
408
|
-
]), 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"]);
|
|
410
|
+
]), 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"]);
|
|
409
411
|
}
|
|
410
412
|
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
411
413
|
module.exports = index;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -354,6 +354,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
354
354
|
popperWidth: _ctx.popperWidth,
|
|
355
355
|
popperOptions: _ctx.popperOptions,
|
|
356
356
|
popperClass: _ctx.selectPopperClass,
|
|
357
|
+
selectStyle: _ctx.selectStyle,
|
|
358
|
+
inputStyle: _ctx.inputStyle,
|
|
357
359
|
selectedLabel: _ctx.selectedLabel,
|
|
358
360
|
selected: _ctx.selectedItems.filter((d) => !d.hide),
|
|
359
361
|
visible: _ctx.selectVisible,
|
|
@@ -405,7 +407,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
405
407
|
]),
|
|
406
408
|
key: "0"
|
|
407
409
|
} : void 0
|
|
408
|
-
]), 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"]);
|
|
410
|
+
]), 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"]);
|
|
409
411
|
}
|
|
410
412
|
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
411
413
|
module.exports = index;
|
|
@@ -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;
|
|
@@ -65,7 +65,11 @@ const treeSelectProps = {
|
|
|
65
65
|
/** 下拉框类名 */
|
|
66
66
|
popperClass: String,
|
|
67
67
|
/** 下拉框宽度 */
|
|
68
|
-
popperWidth: [Number, String]
|
|
68
|
+
popperWidth: [Number, String],
|
|
69
|
+
/** 自定义样式 */
|
|
70
|
+
selectStyle: Object,
|
|
71
|
+
/** 自定义输入框样式 */
|
|
72
|
+
inputStyle: Object
|
|
69
73
|
};
|
|
70
74
|
const treeSelectEmits = {
|
|
71
75
|
/** 更新选中值 */
|
|
@@ -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
|
/**
|
|
@@ -275,15 +275,19 @@
|
|
|
275
275
|
|
|
276
276
|
/* 展开图标 */
|
|
277
277
|
.ele-table-expand {
|
|
278
|
-
font-size:
|
|
278
|
+
font-size: 14px;
|
|
279
279
|
align-items: center;
|
|
280
|
-
justify-content:
|
|
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:
|
|
302
|
-
height:
|
|
305
|
+
width: 16px;
|
|
306
|
+
height: 16px;
|
|
303
307
|
display: inline-flex;
|
|
304
308
|
vertical-align: -3px;
|
|
305
309
|
}
|
package/lib/icons/ArrowDown.cjs
CHANGED
|
@@ -11,14 +11,16 @@ const _export_sfc = (sfc, props) => {
|
|
|
11
11
|
return target;
|
|
12
12
|
};
|
|
13
13
|
const _hoisted_1 = {
|
|
14
|
-
viewBox: "0 0
|
|
14
|
+
viewBox: "0 0 48 48",
|
|
15
15
|
fill: "none",
|
|
16
16
|
class: "ele-arrow-down"
|
|
17
17
|
};
|
|
18
18
|
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("path", {
|
|
19
|
-
d: "
|
|
19
|
+
d: "M10 17 24 31 38 17",
|
|
20
20
|
stroke: "currentColor",
|
|
21
|
-
"stroke-width": "
|
|
21
|
+
"stroke-width": "5",
|
|
22
|
+
"stroke-linecap": "round",
|
|
23
|
+
"stroke-linejoin": "round"
|
|
22
24
|
}, null, -1);
|
|
23
25
|
const _hoisted_3 = [
|
|
24
26
|
_hoisted_2
|
package/lib/icons/ArrowRight.cjs
CHANGED
|
@@ -15,9 +15,11 @@ const _hoisted_1 = {
|
|
|
15
15
|
fill: "none"
|
|
16
16
|
};
|
|
17
17
|
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("path", {
|
|
18
|
-
d: "
|
|
18
|
+
d: "M17 38 31 24 17 10",
|
|
19
19
|
stroke: "currentColor",
|
|
20
|
-
"stroke-width": "
|
|
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
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const _sfc_main = vue.defineComponent({
|
|
4
|
+
name: "CloseOutlined"
|
|
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
|
+
};
|
|
17
|
+
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("path", {
|
|
18
|
+
d: "M14 14L34 34",
|
|
19
|
+
stroke: "currentColor",
|
|
20
|
+
"stroke-width": "4.8",
|
|
21
|
+
"stroke-linecap": "round",
|
|
22
|
+
"stroke-linejoin": "round"
|
|
23
|
+
}, null, -1);
|
|
24
|
+
const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("path", {
|
|
25
|
+
d: "M14 34L34 14",
|
|
26
|
+
stroke: "currentColor",
|
|
27
|
+
"stroke-width": "4.8",
|
|
28
|
+
"stroke-linecap": "round",
|
|
29
|
+
"stroke-linejoin": "round"
|
|
30
|
+
}, null, -1);
|
|
31
|
+
const _hoisted_4 = [
|
|
32
|
+
_hoisted_2,
|
|
33
|
+
_hoisted_3
|
|
34
|
+
];
|
|
35
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
36
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, _hoisted_4);
|
|
37
|
+
}
|
|
38
|
+
const CloseOutlined = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
39
|
+
module.exports = CloseOutlined;
|
|
@@ -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;
|
package/lib/icons/index.cjs
CHANGED
|
@@ -4,6 +4,7 @@ const ArrowDown = require("./ArrowDown");
|
|
|
4
4
|
const ArrowLeft = require("./ArrowLeft");
|
|
5
5
|
const ArrowRight = require("./ArrowRight");
|
|
6
6
|
const ArrowUp = require("./ArrowUp");
|
|
7
|
+
const CloseOutlined = require("./CloseOutlined");
|
|
7
8
|
const ColumnHeightOutlined = require("./ColumnHeightOutlined");
|
|
8
9
|
const CompressOutlined = require("./CompressOutlined");
|
|
9
10
|
const EllipsisOutlined = require("./EllipsisOutlined");
|
|
@@ -20,6 +21,7 @@ exports.ArrowDown = ArrowDown;
|
|
|
20
21
|
exports.ArrowLeft = ArrowLeft;
|
|
21
22
|
exports.ArrowRight = ArrowRight;
|
|
22
23
|
exports.ArrowUp = ArrowUp;
|
|
24
|
+
exports.CloseOutlined = CloseOutlined;
|
|
23
25
|
exports.ColumnHeightOutlined = ColumnHeightOutlined;
|
|
24
26
|
exports.CompressOutlined = CompressOutlined;
|
|
25
27
|
exports.EllipsisOutlined = EllipsisOutlined;
|
package/lib/icons/index.d.ts
CHANGED
|
@@ -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";
|
|
@@ -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':
|
|
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);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ele-admin-plus",
|
|
3
|
-
"version": "1.1.7-beta.
|
|
3
|
+
"version": "1.1.7-beta.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite --host --config vite.global.ts",
|
|
@@ -96,9 +96,6 @@
|
|
|
96
96
|
"import": "./es/index.js",
|
|
97
97
|
"require": "./lib/index.cjs"
|
|
98
98
|
},
|
|
99
|
-
"./typings/*": {
|
|
100
|
-
"types": "./typings/*.d.ts"
|
|
101
|
-
},
|
|
102
99
|
"./es/icons": {
|
|
103
100
|
"types": "./es/icons/index.d.ts",
|
|
104
101
|
"import": "./es/icons/index.js"
|