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.
@@ -1,4 +1,4 @@
1
- import { MorghulisDialogConfig, MorghulisDialogProps } from "../../types/dialog";
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 { MorghulisDialogConfig } from "../../types/dialog";
1
+ import { MorghulisDialogConfig } from "./index";
2
2
  type __VLS_Props = {
3
3
  title: string;
4
4
  subtitle: string;
@@ -1,4 +1,4 @@
1
- import { MorghulisMessageBoxInterface, MorghulisMessageInterface } from "../types/feedback";
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,6 +1,3 @@
1
- /**
2
- * Feedback
3
- */
4
1
  export interface MorghulisMessageInterface {
5
2
  info: (content: string) => void;
6
3
  success: (content: string) => void;
@@ -1,2 +1,2 @@
1
- import type { MorghulisCore, MorghulisOptions } from "../types";
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
- * Core
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
- };
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "morghulis",
3
- "version": "3.0.8",
3
+ "version": "3.0.10",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"