morghulis 3.0.8 → 3.0.10
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 +2921 -13638
- package/dist/morghulis.es.js.map +1 -1
- package/dist/morghulis.umd.js +17 -581
- package/dist/morghulis.umd.js.map +1 -1
- package/dist/types/components/dialog/MDialog.vue.d.ts +1 -1
- package/dist/types/components/dialog/MDialogHeader.vue.d.ts +1 -1
- package/dist/types/{tools → components/feedback}/feedback.d.ts +1 -1
- package/dist/types/{types/feedback.d.ts → components/feedback/index.d.ts} +0 -3
- package/dist/types/{tools/core.d.ts → hooks/use-core/index.d.ts} +1 -1
- package/dist/types/{types.d.ts → hooks/use-core/types.d.ts} +8 -14
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/types/{types/dialog.d.ts → components/dialog/index.d.ts} +0 -0
- /package/dist/types/{tools/authorize.d.ts → hooks/use-auth/index.d.ts} +0 -0
- /package/dist/types/{tools/cookies.d.ts → hooks/use-cookies/index.d.ts} +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import { MorghulisDialogConfig, MorghulisDialogProps } from "
|
1
|
+
import { MorghulisDialogConfig, MorghulisDialogProps } from "./index";
|
2
2
|
declare function open(data?: any, config?: MorghulisDialogConfig): void;
|
3
3
|
declare function close(): void;
|
4
4
|
declare var __VLS_11: {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { MorghulisMessageBoxInterface, MorghulisMessageInterface } from "
|
1
|
+
import { MorghulisMessageBoxInterface, MorghulisMessageInterface } from "./index";
|
2
2
|
export declare const $message: MorghulisMessageInterface;
|
3
3
|
export declare const $alert: MorghulisMessageBoxInterface;
|
4
4
|
export declare const $confirm: MorghulisMessageBoxInterface;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import
|
1
|
+
import { MorghulisCore, MorghulisOptions } from "./types";
|
2
2
|
export declare function initMorghulis(options?: MorghulisOptions): MorghulisCore;
|
@@ -1,7 +1,12 @@
|
|
1
1
|
import { Ref } from "vue";
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
export type MorghulisChannel = {
|
3
|
+
start?: () => void;
|
4
|
+
stop?: () => void;
|
5
|
+
proceed?: (payload: any) => void;
|
6
|
+
};
|
7
|
+
export type MorghulisChannels = {
|
8
|
+
[key: string]: MorghulisChannel;
|
9
|
+
};
|
5
10
|
export type MorghulisOptions = {
|
6
11
|
baseURL?: string;
|
7
12
|
minioURL?: string;
|
@@ -12,14 +17,3 @@ export type MorghulisCore = {
|
|
12
17
|
channels: MorghulisChannels;
|
13
18
|
options: MorghulisOptions;
|
14
19
|
};
|
15
|
-
/**
|
16
|
-
* Channels
|
17
|
-
*/
|
18
|
-
export type MorghulisChannel = {
|
19
|
-
start?: () => void;
|
20
|
-
stop?: () => void;
|
21
|
-
proceed?: (payload: any) => void;
|
22
|
-
};
|
23
|
-
export type MorghulisChannels = {
|
24
|
-
[key: string]: MorghulisChannel;
|
25
|
-
};
|
package/dist/types/index.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import './style.css';
|
2
2
|
import { App } from "vue";
|
3
|
-
import type { MorghulisOptions } from "./types";
|
4
3
|
import MButton from "./components/button/MButton.vue";
|
5
4
|
import MDialog from "./components/dialog/MDialog.vue";
|
5
|
+
import { MorghulisOptions } from "./hooks/use-core/types";
|
6
6
|
declare module "vue" {
|
7
7
|
interface GlobalComponents {
|
8
8
|
MButton: typeof MButton;
|
package/package.json
CHANGED
File without changes
|
File without changes
|
File without changes
|