morghulis 3.0.1 → 3.0.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/dist/morghulis.es.js +1320 -13
- package/dist/morghulis.es.js.map +1 -1
- package/dist/morghulis.umd.js +7 -2
- package/dist/morghulis.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/tools/feedback.d.ts +4 -0
- package/dist/types/types.d.ts +15 -0
- package/package.json +3 -1
- /package/dist/types/{MButton.vue.d.ts → components/button/MButton.vue.d.ts} +0 -0
package/dist/types/index.d.ts
CHANGED
package/dist/types/types.d.ts
CHANGED
@@ -2,3 +2,18 @@ export type MorghulisOptions = {
|
|
2
2
|
baseURL?: string;
|
3
3
|
minioURL?: string;
|
4
4
|
};
|
5
|
+
/**
|
6
|
+
* Feedback
|
7
|
+
*/
|
8
|
+
export interface MorghulisMessageInterface {
|
9
|
+
info: (content: string) => void;
|
10
|
+
success: (content: string) => void;
|
11
|
+
warning: (content: string) => void;
|
12
|
+
error: (content: string) => void;
|
13
|
+
}
|
14
|
+
export interface MorghulisMessageBoxInterface {
|
15
|
+
info: (content: string, title?: string) => Promise<any>;
|
16
|
+
success: (content: string, title?: string) => Promise<any>;
|
17
|
+
warning: (content: string, title?: string) => Promise<any>;
|
18
|
+
error: (content: string, title?: string) => Promise<any>;
|
19
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "morghulis",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.3",
|
4
4
|
"type": "module",
|
5
5
|
"files": [
|
6
6
|
"dist"
|
@@ -22,6 +22,7 @@
|
|
22
22
|
"preview": "vite preview"
|
23
23
|
},
|
24
24
|
"dependencies": {
|
25
|
+
"element-plus": "^2.9.8",
|
25
26
|
"vue": "^3.5.13"
|
26
27
|
},
|
27
28
|
"devDependencies": {
|
@@ -29,6 +30,7 @@
|
|
29
30
|
"@vitejs/plugin-vue": "^5.2.3",
|
30
31
|
"typescript": "~5.8.0",
|
31
32
|
"vite": "^6.2.4",
|
33
|
+
"vite-plugin-vue-devtools": "^7.7.2",
|
32
34
|
"vue-tsc": "^2.2.8"
|
33
35
|
}
|
34
36
|
}
|
File without changes
|