ele-admin-plus 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/ele-avatar-group/index.js +2 -2
- package/es/ele-config-provider/receiver.js +1 -1
- package/es/ele-dot/index.d.ts +3 -3
- package/es/ele-dot/props.d.ts +1 -1
- package/es/ele-dot/props.js +1 -1
- package/es/ele-file-list/components/file-grid.js +1 -1
- package/es/ele-file-list/icons.d.ts +10 -2
- package/es/ele-file-list/icons.js +40 -132
- package/es/ele-map-picker/components/map-view.d.ts +1 -1
- package/es/ele-modal/util.js +1 -1
- package/es/ele-page/style/index.scss +2 -1
- package/es/ele-pro-layout/components/pro-tabs.js +2 -1
- package/es/ele-pro-layout/index.d.ts +370 -0
- package/es/ele-pro-layout/index.js +7 -7
- package/es/ele-pro-layout/props.d.ts +1 -4
- package/es/ele-pro-layout/props.js +2 -5
- package/es/ele-pro-layout/types/index.d.ts +1 -1
- package/es/ele-pro-table/components/table-view.d.ts +4 -13
- package/es/ele-pro-table/index.d.ts +5 -14
- package/es/ele-pro-table/index.js +3 -3
- package/es/ele-pro-table/props.d.ts +92 -9
- package/es/ele-pro-table/props.js +3 -1
- package/es/ele-pro-table/style/index.scss +2 -2
- package/es/ele-segmented/index.js +6 -3
- package/es/ele-toolbar/index.d.ts +0 -3
- package/es/ele-toolbar/props.d.ts +0 -1
- package/es/ele-toolbar/props.js +1 -3
- package/es/ele-watermark/index.d.ts +7 -1
- package/es/ele-watermark/index.js +67 -29
- package/es/ele-watermark/props.d.ts +2 -1
- package/es/ele-watermark/props.js +3 -1
- package/es/ele-watermark/types/index.d.ts +13 -0
- package/es/ele-watermark/util.d.ts +8 -1
- package/es/ele-watermark/util.js +31 -1
- package/es/style/themes/dark-css-var.scss +19 -19
- package/es/style/themes/dark.scss +1 -1
- package/es/style/themes/default.scss +1 -1
- package/es/utils/core.d.ts +1 -1
- package/es/utils/menu-util.js +1 -1
- package/lib/ele-avatar-group/index.js +2 -2
- package/lib/ele-config-provider/receiver.js +1 -1
- package/lib/ele-dot/index.d.ts +3 -3
- package/lib/ele-dot/props.d.ts +1 -1
- package/lib/ele-dot/props.js +1 -1
- package/lib/ele-file-list/components/file-grid.js +1 -1
- package/lib/ele-file-list/icons.d.ts +10 -2
- package/lib/ele-file-list/icons.js +40 -132
- package/lib/ele-map-picker/components/map-view.d.ts +1 -1
- package/lib/ele-modal/util.js +1 -1
- package/lib/ele-page/style/index.scss +2 -1
- package/lib/ele-pro-layout/components/pro-tabs.js +2 -1
- package/lib/ele-pro-layout/index.d.ts +370 -0
- package/lib/ele-pro-layout/index.js +6 -6
- package/lib/ele-pro-layout/props.d.ts +1 -4
- package/lib/ele-pro-layout/props.js +2 -5
- package/lib/ele-pro-layout/types/index.d.ts +1 -1
- package/lib/ele-pro-table/components/table-view.d.ts +4 -13
- package/lib/ele-pro-table/index.d.ts +5 -14
- package/lib/ele-pro-table/index.js +3 -3
- package/lib/ele-pro-table/props.d.ts +92 -9
- package/lib/ele-pro-table/props.js +3 -1
- package/lib/ele-pro-table/style/index.scss +2 -2
- package/lib/ele-segmented/index.js +5 -2
- package/lib/ele-toolbar/index.d.ts +0 -3
- package/lib/ele-toolbar/props.d.ts +0 -1
- package/lib/ele-toolbar/props.js +1 -3
- package/lib/ele-watermark/index.d.ts +7 -1
- package/lib/ele-watermark/index.js +65 -27
- package/lib/ele-watermark/props.d.ts +2 -1
- package/lib/ele-watermark/props.js +3 -1
- package/lib/ele-watermark/types/index.d.ts +13 -0
- package/lib/ele-watermark/util.d.ts +8 -1
- package/lib/ele-watermark/util.js +30 -0
- package/lib/style/themes/dark-css-var.scss +19 -19
- package/lib/style/themes/dark.scss +1 -1
- package/lib/style/themes/default.scss +1 -1
- package/lib/utils/core.d.ts +1 -1
- package/lib/utils/menu-util.js +1 -1
- package/package.json +3 -1
|
@@ -95,7 +95,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
95
95
|
}, [
|
|
96
96
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.avatarData, (item, index2) => {
|
|
97
97
|
return openBlock(), createBlock(_component_ElAvatar, {
|
|
98
|
-
key: index2 + "-" + item.value,
|
|
98
|
+
key: index2 + "-" + (item.value || item.label),
|
|
99
99
|
size: _ctx.size,
|
|
100
100
|
shape: _ctx.shape,
|
|
101
101
|
src: item.value,
|
|
@@ -146,7 +146,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
146
146
|
_ctx.overflowPopover ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
147
147
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.overflowData, (item, index2) => {
|
|
148
148
|
return openBlock(), createBlock(_component_ElAvatar, {
|
|
149
|
-
key: index2 + "-" + item.value,
|
|
149
|
+
key: index2 + "-" + (item.value || item.label),
|
|
150
150
|
size: _ctx.size,
|
|
151
151
|
shape: _ctx.shape,
|
|
152
152
|
src: item.value,
|
|
@@ -3,7 +3,7 @@ import { PROVIDE_KEY, LAYOUT_KEY } from "./props";
|
|
|
3
3
|
import { LAYOUT_KEY as LAYOUT_KEY2 } from "./props";
|
|
4
4
|
import defaultLocale from "../lang/zh_CN";
|
|
5
5
|
const KEY_ENCRYPT = "BAFEDIHGLKJONMRQPUTSXWVaZYdcbgfejihmlkponsrqvutyxw10z432765+98/C";
|
|
6
|
-
const VERSION_TIMESTAMP =
|
|
6
|
+
const VERSION_TIMESTAMP = 1686851682;
|
|
7
7
|
const VERSION_NAME = "1.0";
|
|
8
8
|
function useReceiver() {
|
|
9
9
|
return inject(PROVIDE_KEY, {});
|
package/es/ele-dot/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
7
7
|
};
|
|
8
8
|
text: StringConstructor;
|
|
9
9
|
size: {
|
|
10
|
-
type:
|
|
10
|
+
type: StringConstructor;
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
13
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -19,11 +19,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
19
19
|
};
|
|
20
20
|
text: StringConstructor;
|
|
21
21
|
size: {
|
|
22
|
-
type:
|
|
22
|
+
type: StringConstructor;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
}>>, {
|
|
26
26
|
ripple: boolean;
|
|
27
|
-
size: string
|
|
27
|
+
size: string;
|
|
28
28
|
}, {}>;
|
|
29
29
|
export default _sfc_main;
|
package/es/ele-dot/props.d.ts
CHANGED
package/es/ele-dot/props.js
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import type { IconItem } from './types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* 本地小尺寸图标
|
|
4
4
|
*/
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const localSmallIcons: IconItem[];
|
|
6
|
+
/**
|
|
7
|
+
* 本地图标
|
|
8
|
+
*/
|
|
9
|
+
export declare const localIcons: IconItem[];
|
|
6
10
|
/**
|
|
7
11
|
* 默认小尺寸图标
|
|
8
12
|
*/
|
|
9
13
|
export declare const smallIcons: IconItem[];
|
|
14
|
+
/**
|
|
15
|
+
* 默认图标
|
|
16
|
+
*/
|
|
17
|
+
export declare const icons: IconItem[];
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const
|
|
1
|
+
const localSmallIcons = [
|
|
2
2
|
{
|
|
3
|
-
icon: "
|
|
3
|
+
icon: "/ele-file-list/ic_file_misc_sm.png",
|
|
4
4
|
type: "file"
|
|
5
5
|
},
|
|
6
6
|
{
|
|
7
|
-
icon: "
|
|
7
|
+
icon: "/ele-file-list/ic_file_folder_sm.png",
|
|
8
8
|
type: "dir"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
|
-
icon: "
|
|
11
|
+
icon: "/ele-file-list/ic_file_code_sm.png",
|
|
12
12
|
suffixes: [
|
|
13
13
|
".java",
|
|
14
14
|
".js",
|
|
@@ -31,192 +31,100 @@ const icons = [
|
|
|
31
31
|
]
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
icon: "
|
|
34
|
+
icon: "/ele-file-list/ic_file_htm_sm.png",
|
|
35
35
|
suffixes: [".html", ".htm"]
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
|
-
icon: "
|
|
38
|
+
icon: "/ele-file-list/ic_file_text_sm.png",
|
|
39
39
|
suffixes: [".txt"]
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
|
-
icon: "
|
|
42
|
+
icon: "/ele-file-list/ic_file_pdf_sm.png",
|
|
43
43
|
suffixes: [".pdf"]
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
|
-
icon: "
|
|
46
|
+
icon: "/ele-file-list/ic_file_word_sm.png",
|
|
47
47
|
suffixes: [".doc", ".docx"]
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
|
-
icon: "
|
|
50
|
+
icon: "/ele-file-list/ic_file_excel_sm.png",
|
|
51
51
|
suffixes: [".xls", ".xlsx"]
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
|
-
icon: "
|
|
54
|
+
icon: "/ele-file-list/ic_file_ppt_sm.png",
|
|
55
55
|
suffixes: [".ppt", ".pptx"]
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
|
-
icon: "
|
|
58
|
+
icon: "/ele-file-list/ic_file_visio_sm.png",
|
|
59
59
|
suffixes: [".vsd"]
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
icon: "
|
|
62
|
+
icon: "/ele-file-list/ic_file_ps_sm.png",
|
|
63
63
|
suffixes: [".psd"]
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
|
-
icon: "
|
|
66
|
+
icon: "/ele-file-list/ic_file_cad_sm.png",
|
|
67
67
|
suffixes: [".dwg"]
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
|
-
icon: "
|
|
70
|
+
icon: "/ele-file-list/ic_file_flash_sm.png",
|
|
71
71
|
suffixes: [".swf"]
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
|
-
icon: "
|
|
74
|
+
icon: "/ele-file-list/ic_file_music_sm.png",
|
|
75
75
|
suffixes: [".mp3", ".wav"]
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
|
-
icon: "
|
|
78
|
+
icon: "/ele-file-list/ic_file_video_sm.png",
|
|
79
79
|
suffixes: [".mp4", ".rmvb", ".flv", ".avi", ".3gp"]
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
|
-
icon: "
|
|
82
|
+
icon: "/ele-file-list/ic_file_picture_sm.png",
|
|
83
83
|
suffixes: [".png", ".jpg", ".jpeg", ".gif", ".bmp"]
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
|
-
icon: "
|
|
86
|
+
icon: "/ele-file-list/ic_file_fonts_sm.png",
|
|
87
87
|
suffixes: [".ttf", ".woff"]
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
|
-
icon: "
|
|
90
|
+
icon: "/ele-file-list/ic_file_bt_sm.png",
|
|
91
91
|
suffixes: [".torrent"]
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
|
-
icon: "
|
|
94
|
+
icon: "/ele-file-list/ic_file_android_sm.png",
|
|
95
95
|
suffixes: [".apk"]
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
|
-
icon: "
|
|
98
|
+
icon: "/ele-file-list/ic_file_exe_sm.png",
|
|
99
99
|
suffixes: [".exe"]
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
|
-
icon: "
|
|
102
|
+
icon: "/ele-file-list/ic_file_ipa_sm.png",
|
|
103
103
|
suffixes: [".ipa", ".dmg"]
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
|
-
icon: "
|
|
107
|
-
suffixes: [".zip", ".rar", ".7z"]
|
|
108
|
-
}
|
|
109
|
-
];
|
|
110
|
-
const smallIcons = [
|
|
111
|
-
{
|
|
112
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_misc_sm.png",
|
|
113
|
-
type: "file"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_folder_sm.png",
|
|
117
|
-
type: "dir"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_code_sm.png",
|
|
121
|
-
suffixes: [
|
|
122
|
-
".java",
|
|
123
|
-
".js",
|
|
124
|
-
".css",
|
|
125
|
-
".vue",
|
|
126
|
-
".ts",
|
|
127
|
-
".tsx",
|
|
128
|
-
".scss",
|
|
129
|
-
".less",
|
|
130
|
-
".c",
|
|
131
|
-
".cpp",
|
|
132
|
-
".cs",
|
|
133
|
-
".jsp",
|
|
134
|
-
".php",
|
|
135
|
-
".asp",
|
|
136
|
-
".py",
|
|
137
|
-
".go",
|
|
138
|
-
".kt",
|
|
139
|
-
".lua"
|
|
140
|
-
]
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_htm_sm.png",
|
|
144
|
-
suffixes: [".html", ".htm"]
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_text_sm.png",
|
|
148
|
-
suffixes: [".txt"]
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_pdf_sm.png",
|
|
152
|
-
suffixes: [".pdf"]
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_word_sm.png",
|
|
156
|
-
suffixes: [".doc", ".docx"]
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_excel_sm.png",
|
|
160
|
-
suffixes: [".xls", ".xlsx"]
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_ppt_sm.png",
|
|
164
|
-
suffixes: [".ppt", ".pptx"]
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_visio_sm.png",
|
|
168
|
-
suffixes: [".vsd"]
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_ps_sm.png",
|
|
172
|
-
suffixes: [".psd"]
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_cad_sm.png",
|
|
176
|
-
suffixes: [".dwg"]
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_flash_sm.png",
|
|
180
|
-
suffixes: [".swf"]
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_music_sm.png",
|
|
184
|
-
suffixes: [".mp3", ".wav"]
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_video_sm.png",
|
|
188
|
-
suffixes: [".mp4", ".rmvb", ".flv", ".avi", ".3gp"]
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_picture_sm.png",
|
|
192
|
-
suffixes: [".png", ".jpg", ".jpeg", ".gif", ".bmp"]
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_fonts_sm.png",
|
|
196
|
-
suffixes: [".ttf", ".woff"]
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_bt_sm.png",
|
|
200
|
-
suffixes: [".torrent"]
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_android_sm.png",
|
|
204
|
-
suffixes: [".apk"]
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_exe_sm.png",
|
|
208
|
-
suffixes: [".exe"]
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_ipa_sm.png",
|
|
212
|
-
suffixes: [".ipa", ".dmg"]
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
icon: "https://cdn.eleadmin.com/20200609/ic_file_zip_sm.png",
|
|
106
|
+
icon: "/ele-file-list/ic_file_zip_sm.png",
|
|
216
107
|
suffixes: [".zip", ".rar", ".7z"]
|
|
217
108
|
}
|
|
218
109
|
];
|
|
110
|
+
const localIcons = localSmallIcons.map((d) => {
|
|
111
|
+
return { ...d, icon: d.icon.replace("_sm.png", ".png") };
|
|
112
|
+
});
|
|
113
|
+
const smallIcons = localSmallIcons.map((d) => {
|
|
114
|
+
return {
|
|
115
|
+
...d,
|
|
116
|
+
icon: d.icon.replace(
|
|
117
|
+
"/ele-file-list/",
|
|
118
|
+
"https://cdn.eleadmin.com/20200609/"
|
|
119
|
+
)
|
|
120
|
+
};
|
|
121
|
+
});
|
|
122
|
+
const icons = smallIcons.map((d) => {
|
|
123
|
+
return { ...d, icon: d.icon.replace("_sm.png", ".png") };
|
|
124
|
+
});
|
|
219
125
|
export {
|
|
220
126
|
icons,
|
|
127
|
+
localIcons,
|
|
128
|
+
localSmallIcons,
|
|
221
129
|
smallIcons
|
|
222
130
|
};
|
|
@@ -172,8 +172,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
172
172
|
onDone?: ((_result: CenterPoint) => any) | undefined;
|
|
173
173
|
onMapDone?: ((_ins: any) => any) | undefined;
|
|
174
174
|
}, {
|
|
175
|
-
required: boolean;
|
|
176
175
|
height: string;
|
|
176
|
+
required: boolean;
|
|
177
177
|
zoom: number;
|
|
178
178
|
selectedZoom: number;
|
|
179
179
|
poiLimit: number;
|
package/es/ele-modal/util.js
CHANGED