morghulis 3.1.2 → 3.1.4
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/README.md +33 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.css +1 -1
- package/dist/morghulis.es.js +5930 -33450
- package/dist/morghulis.es.js.map +1 -1
- package/dist/morghulis.umd.js +25 -68
- package/dist/morghulis.umd.js.map +1 -1
- package/dist/types/MApp.vue.d.ts +1 -17
- package/dist/types/{hooks/use-auth/index.d.ts → core/auth.d.ts} +5 -0
- package/dist/types/core/feedbacks.d.ts +18 -0
- package/dist/types/core/socket.d.ts +5 -0
- package/dist/types/{hooks/use-morghulis → core}/types.d.ts +3 -2
- package/dist/types/{hooks/use-morghulis/index.d.ts → core.d.ts} +1 -1
- package/dist/types/hooks/use-channel/Channel.d.ts +18 -0
- package/dist/types/hooks/use-channel/ChannelHub.d.ts +10 -0
- package/dist/types/hooks/use-channel/config.d.ts +18 -0
- package/dist/types/hooks/use-channel/index.d.ts +4 -9
- package/dist/types/hooks/use-channel/types.d.ts +5 -36
- package/dist/types/hooks/use-request/index.d.ts +10 -2
- package/dist/types/hooks/use-request/tool.d.ts +4 -1
- package/dist/types/index.d.ts +3 -23
- package/package.json +5 -2
- package/dist/types/components/cell/MCell.vue.d.ts +0 -10
- package/dist/types/components/cell/char/CharCell.vue.d.ts +0 -7
- package/dist/types/components/cell/char/ColorCell.vue.d.ts +0 -2
- package/dist/types/components/cell/date/DateCell.vue.d.ts +0 -7
- package/dist/types/components/cell/date/TimeCell.vue.d.ts +0 -7
- package/dist/types/components/cell/refer/SelectCell.vue.d.ts +0 -7
- package/dist/types/components/cell/simple/BooleanCell.vue.d.ts +0 -7
- package/dist/types/components/cell/simple/DefaultCell.vue.d.ts +0 -7
- package/dist/types/components/cell/simple/NumberCell.vue.d.ts +0 -7
- package/dist/types/components/cell/simple/SwitchCell.vue.d.ts +0 -2
- package/dist/types/components/cell/special/ObjectCell.vue.d.ts +0 -7
- package/dist/types/components/common/MCtrlBtn.vue.d.ts +0 -23
- package/dist/types/components/common/MOption.vue.d.ts +0 -9
- package/dist/types/components/dialog/DDialog.vue.d.ts +0 -17
- package/dist/types/components/dialog/MButtonDialog.vue.d.ts +0 -2
- package/dist/types/components/dialog/MDialog.vue.d.ts +0 -72
- package/dist/types/components/dialog/MDialogHeader.vue.d.ts +0 -8
- package/dist/types/components/dialog/index.d.ts +0 -44
- package/dist/types/components/feedback/feedback.d.ts +0 -4
- package/dist/types/components/feedback/index.d.ts +0 -13
- package/dist/types/components/form/DForm.vue.d.ts +0 -13
- package/dist/types/components/form/MForm.vue.d.ts +0 -13
- package/dist/types/components/meta/MetaTree.vue.d.ts +0 -5
- package/dist/types/components/meta/copy/CopyMetaFields.vue.d.ts +0 -6
- package/dist/types/components/meta/data/ViewMetaData.vue.d.ts +0 -6
- package/dist/types/components/meta/edit/EditMetaField.vue.d.ts +0 -10
- package/dist/types/components/meta/edit/EditMetaFields.vue.d.ts +0 -6
- package/dist/types/components/meta/edit/EditMetaView.vue.d.ts +0 -12
- package/dist/types/components/meta/field/AddField.vue.d.ts +0 -10
- package/dist/types/components/meta/field/MetaFieldFormat.vue.d.ts +0 -6
- package/dist/types/components/meta/field/MetaFieldRefer.vue.d.ts +0 -6
- package/dist/types/components/meta/field/formats/CharFormats.vue.d.ts +0 -2
- package/dist/types/components/meta/field/formats/FileFormats.vue.d.ts +0 -2
- package/dist/types/components/meta/field/formats/NumberFormats.vue.d.ts +0 -2
- package/dist/types/components/meta/widgets/MetaSelect.vue.d.ts +0 -10
- package/dist/types/components/table/aoa/ATable.vue.d.ts +0 -10
- package/dist/types/components/table/data/DTable.vue.d.ts +0 -18
- package/dist/types/components/table/data/hook.d.ts +0 -114
- package/dist/types/components/table/data/popover/DCellPopover.vue.d.ts +0 -19
- package/dist/types/components/table/data/popover/DFieldPopover.vue.d.ts +0 -16
- package/dist/types/components/table/data/popover/DIndexPopover.vue.d.ts +0 -16
- package/dist/types/components/table/data/popover/DMetaPopover.vue.d.ts +0 -16
- package/dist/types/components/table/data/popover/DSearchPopover.vue.d.ts +0 -16
- package/dist/types/components/table/data/slots/DTableCell.vue.d.ts +0 -10
- package/dist/types/components/table/data/slots/DTableEmpty.vue.d.ts +0 -2
- package/dist/types/components/table/data/slots/DTableFooter.vue.d.ts +0 -13
- package/dist/types/components/table/data/slots/DTableFooterTool.vue.d.ts +0 -10
- package/dist/types/components/table/data/slots/DTableHeader.vue.d.ts +0 -8
- package/dist/types/components/table/data/slots/DTableHeaderCell.vue.d.ts +0 -2
- package/dist/types/components/table/data/slots/DTableHeaderTool.vue.d.ts +0 -31
- package/dist/types/components/table/data/slots/DTablePop.vue.d.ts +0 -22
- package/dist/types/components/table/data/tool.d.ts +0 -0
- package/dist/types/components/table/data/types.d.ts +0 -11
- package/dist/types/components/table/simple/MTable.vue.d.ts +0 -41
- package/dist/types/components/table/simple/buttons/MTableButtonWrapper.vue.d.ts +0 -10
- package/dist/types/components/table/simple/columns/MTableColumnWrapper.vue.d.ts +0 -6
- package/dist/types/components/table/simple/hook.d.ts +0 -17
- package/dist/types/components/table/simple/tool.d.ts +0 -19
- package/dist/types/components/table/simple/types.d.ts +0 -46
- package/dist/types/components/table/simple/widgets/MTableHeader.vue.d.ts +0 -28
- package/dist/types/components/table/simple/widgets/MTableIndex.vue.d.ts +0 -15
- package/dist/types/components/table/upload/DTableUpload.vue.d.ts +0 -11
- package/dist/types/components/table/upload/control/DTableUploadActivator.vue.d.ts +0 -6
- package/dist/types/components/table/upload/control/DTableUploadButtons.vue.d.ts +0 -12
- package/dist/types/components/table/upload/control/DTableUploadController.vue.d.ts +0 -16
- package/dist/types/components/table/upload/types.d.ts +0 -5
- package/dist/types/components/table/virtual/VTable.vue.d.ts +0 -34
- package/dist/types/components/tree/data/DTree.vue.d.ts +0 -6
- package/dist/types/components/tree/data/hook.d.ts +0 -109
- package/dist/types/components/tree/data/slots/DTreePop.vue.d.ts +0 -8
- package/dist/types/components/tree/data/types.d.ts +0 -10
- package/dist/types/components/tree/simple/MTree.vue.d.ts +0 -31
- package/dist/types/components/tree/simple/hook.d.ts +0 -21
- package/dist/types/components/tree/simple/tool.d.ts +0 -4
- package/dist/types/components/tree/simple/types.d.ts +0 -18
- package/dist/types/components/tree/simple/widgets/MTreeExpand.vue.d.ts +0 -12
- package/dist/types/components/tree/simple/widgets/MTreeIcon.vue.d.ts +0 -11
- package/dist/types/components/tree/tool.d.ts +0 -7
- package/dist/types/components/tree/types.d.ts +0 -20
- package/dist/types/components/wrapper/MWrapper.vue.d.ts +0 -33
- package/dist/types/components/wrapper/types.d.ts +0 -1
- package/dist/types/hooks/use-admin/index.d.ts +0 -4
- package/dist/types/hooks/use-auth/tool.d.ts +0 -5
- package/dist/types/hooks/use-cell/index.d.ts +0 -6
- package/dist/types/hooks/use-cell/tool.d.ts +0 -2
- package/dist/types/hooks/use-cell/types.d.ts +0 -7
- package/dist/types/hooks/use-cookies/tool.d.ts +0 -2
- package/dist/types/hooks/use-dao/index.d.ts +0 -208
- package/dist/types/hooks/use-dao/tool.d.ts +0 -2
- package/dist/types/hooks/use-dao/types.d.ts +0 -20
- package/dist/types/hooks/use-mata/index.d.ts +0 -0
- package/dist/types/hooks/use-mata/types.d.ts +0 -96
- package/dist/types/hooks/use-paster/index.d.ts +0 -5
- package/dist/types/hooks/use-paster/tool.d.ts +0 -7
- package/dist/types/hooks/use-paster/types.d.ts +0 -4
- package/dist/types/hooks/use-query/index.d.ts +0 -35
- package/dist/types/hooks/use-query/tool.d.ts +0 -8
- package/dist/types/hooks/use-query/types.d.ts +0 -63
- package/dist/types/hooks/use-socket/index.d.ts +0 -4
- package/dist/types/hooks/use-sortable/index.d.ts +0 -3
- package/dist/types/hooks/use-tree/tools.d.ts +0 -0
- package/dist/types/hooks/use-tree/types.d.ts +0 -0
- /package/dist/types/{hooks/use-cookies/index.d.ts → core/cookies.d.ts} +0 -0
package/dist/types/MApp.vue.d.ts
CHANGED
@@ -1,18 +1,2 @@
|
|
1
|
-
declare
|
2
|
-
type __VLS_Slots = {} & {
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
4
|
-
} & {
|
5
|
-
connecting?: (props: typeof __VLS_3) => any;
|
6
|
-
} & {
|
7
|
-
connect?: (props: typeof __VLS_5) => any;
|
8
|
-
};
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
10
|
-
open: () => void;
|
11
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
12
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
13
2
|
export default _default;
|
14
|
-
type __VLS_WithSlots<T, S> = T & {
|
15
|
-
new (): {
|
16
|
-
$slots: S;
|
17
|
-
};
|
18
|
-
};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export declare const $message: {
|
2
|
+
info: (message: string) => import("element-plus").MessageHandler;
|
3
|
+
success: (message: string) => import("element-plus").MessageHandler;
|
4
|
+
warning: (message: string) => import("element-plus").MessageHandler;
|
5
|
+
error: (message: string) => import("element-plus").MessageHandler;
|
6
|
+
};
|
7
|
+
export declare const $alert: {
|
8
|
+
info: (message: string, title?: string) => Promise<import("element-plus").MessageBoxData>;
|
9
|
+
success: (message: string, title?: string) => Promise<import("element-plus").MessageBoxData>;
|
10
|
+
warning: (message: string, title?: string) => Promise<import("element-plus").MessageBoxData>;
|
11
|
+
error: (message: string, title?: string) => Promise<import("element-plus").MessageBoxData>;
|
12
|
+
};
|
13
|
+
export declare const $confirm: {
|
14
|
+
info: (message: string, title?: string) => Promise<import("element-plus").MessageBoxData>;
|
15
|
+
success: (message: string, title?: string) => Promise<import("element-plus").MessageBoxData>;
|
16
|
+
warning: (message: string, title?: string) => Promise<import("element-plus").MessageBoxData>;
|
17
|
+
error: (message: string, title?: string) => Promise<import("element-plus").MessageBoxData>;
|
18
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Ref } from "vue";
|
2
|
-
import
|
2
|
+
import ChannelHub from "../hooks/use-channel/ChannelHub";
|
3
3
|
export type MorghulisOptions = {
|
4
4
|
baseURL?: string;
|
5
5
|
minioURL?: string;
|
@@ -7,6 +7,7 @@ export type MorghulisOptions = {
|
|
7
7
|
export type MorghulisCore = {
|
8
8
|
status: Ref<string>;
|
9
9
|
open: () => void;
|
10
|
-
|
10
|
+
hub: ChannelHub;
|
11
11
|
options: MorghulisOptions;
|
12
12
|
};
|
13
|
+
export type FeedbackTypes = "success" | "info" | "warning" | "error";
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { MorghulisCore, MorghulisOptions } from "./types";
|
1
|
+
import { MorghulisCore, MorghulisOptions } from "./core/types";
|
2
2
|
export declare function useMorghulis(options?: MorghulisOptions): MorghulisCore;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { Reactive } from "vue";
|
2
|
+
import { ChannelStatus } from "./types";
|
3
|
+
import { AxiosInstance } from "axios";
|
4
|
+
import { ChannelConfig } from "./config";
|
5
|
+
export default class Channel {
|
6
|
+
private config;
|
7
|
+
status: Reactive<ChannelStatus>;
|
8
|
+
handlerKey: string;
|
9
|
+
channelKey: string;
|
10
|
+
url: string;
|
11
|
+
request: AxiosInstance;
|
12
|
+
constructor(config: ChannelConfig);
|
13
|
+
execute(data?: any): void;
|
14
|
+
ready(): void;
|
15
|
+
start(): void;
|
16
|
+
proceed(data: any): void;
|
17
|
+
stop(): void;
|
18
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { ChannelContainer } from "./types";
|
2
|
+
import Channel from "./Channel";
|
3
|
+
import { ChannelConfig } from "./config";
|
4
|
+
export default class ChannelHub {
|
5
|
+
container: ChannelContainer;
|
6
|
+
constructor();
|
7
|
+
getChannel(handlerKey: string, channelKey: string): Channel;
|
8
|
+
destroy(handlerKey: string, channelKey: string): void;
|
9
|
+
register(config: ChannelConfig): Channel;
|
10
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export type IChannelConfig = {
|
2
|
+
handlerKey: string;
|
3
|
+
channelKey?: string;
|
4
|
+
url?: string;
|
5
|
+
auth?: boolean;
|
6
|
+
onStart?(): void;
|
7
|
+
onStop?(): void;
|
8
|
+
onProceed?(payload: any): void;
|
9
|
+
};
|
10
|
+
export type ChannelConfig = {
|
11
|
+
handlerKey: string;
|
12
|
+
channelKey: string;
|
13
|
+
url: string;
|
14
|
+
auth?: boolean;
|
15
|
+
onStart(): void;
|
16
|
+
onStop(): void;
|
17
|
+
onProceed?(payload: any): void;
|
18
|
+
};
|
@@ -1,10 +1,5 @@
|
|
1
|
+
import { IChannelConfig } from "./config";
|
1
2
|
import { Ref } from "vue";
|
2
|
-
import
|
3
|
-
export declare function
|
4
|
-
|
5
|
-
channels: import("./types").ChannelContainer;
|
6
|
-
status: {
|
7
|
-
loading: boolean;
|
8
|
-
payload: any;
|
9
|
-
};
|
10
|
-
};
|
3
|
+
import Channel from "./Channel";
|
4
|
+
export declare function createChannel(config: IChannelConfig): Channel;
|
5
|
+
export declare function useChannel(config: Ref<IChannelConfig>): Channel;
|
@@ -1,41 +1,10 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
onStop?: () => void;
|
7
|
-
onProceed?: (payload: any) => void;
|
8
|
-
};
|
9
|
-
export type ChannelParam = {
|
10
|
-
handlerKey: string;
|
11
|
-
channelKey: string;
|
12
|
-
config: ChannelConfig;
|
1
|
+
import Channel from "./Channel";
|
2
|
+
export type ChannelContainer = {
|
3
|
+
[handlerKey: string]: {
|
4
|
+
[channelKey: string]: Channel;
|
5
|
+
};
|
13
6
|
};
|
14
7
|
export type ChannelStatus = {
|
15
8
|
loading: boolean;
|
16
9
|
payload: any;
|
17
10
|
};
|
18
|
-
/**
|
19
|
-
* handler is just the entity
|
20
|
-
*/
|
21
|
-
export declare class ChannelContainer {
|
22
|
-
container: {
|
23
|
-
[handlerKey: string]: {
|
24
|
-
[channelKey: string]: Channel;
|
25
|
-
};
|
26
|
-
};
|
27
|
-
constructor();
|
28
|
-
getChannel(handlerKey: string, channelKey: string): Channel;
|
29
|
-
destroy(handlerKey: string, channelKey: string): void;
|
30
|
-
register(handlerKey: string, channelKey: string | undefined, config: ChannelConfig, status: Reactive<ChannelStatus>): void;
|
31
|
-
execute(request: AxiosInstance, handlerKey: string, channelKey: string, data: any): void;
|
32
|
-
}
|
33
|
-
export declare class Channel {
|
34
|
-
config: ChannelConfig;
|
35
|
-
private status;
|
36
|
-
constructor(config: ChannelConfig, status: Reactive<ChannelStatus>);
|
37
|
-
ready(loading?: boolean, payload?: any): void;
|
38
|
-
start(): void;
|
39
|
-
stop(): void;
|
40
|
-
proceed(data: any): void;
|
41
|
-
}
|
@@ -2,6 +2,14 @@ import { AxiosInstance } from 'axios';
|
|
2
2
|
import 'nprogress/nprogress.css';
|
3
3
|
export declare function useMRequest(): {
|
4
4
|
getHttpRequest: (auth?: boolean) => AxiosInstance;
|
5
|
-
|
6
|
-
all: (
|
5
|
+
download: (path: string) => void;
|
6
|
+
all: (mapping: {
|
7
|
+
[key: string]: Promise<any>;
|
8
|
+
}) => Promise<{
|
9
|
+
[key: string]: any;
|
10
|
+
}>;
|
11
|
+
read: (path: string) => Promise<{
|
12
|
+
blob: Blob;
|
13
|
+
fileName: string;
|
14
|
+
}>;
|
7
15
|
};
|
@@ -1,3 +1,6 @@
|
|
1
|
-
import type { AxiosInstance } from 'axios';
|
1
|
+
import type { AxiosInstance, AxiosResponse, InternalAxiosRequestConfig } from 'axios';
|
2
2
|
import 'nprogress/nprogress.css';
|
3
3
|
export declare function wrap_interceptors(instance: AxiosInstance, auth?: boolean): AxiosInstance;
|
4
|
+
export declare function beforeRequest(config: InternalAxiosRequestConfig, auth?: boolean): InternalAxiosRequestConfig | Promise<any>;
|
5
|
+
export declare function beforeBlobResponse(response: AxiosResponse): AxiosResponse | Promise<any>;
|
6
|
+
export declare function onReject(error: Error): Error;
|
package/dist/types/index.d.ts
CHANGED
@@ -1,32 +1,12 @@
|
|
1
1
|
import './style.css';
|
2
2
|
import { App } from "vue";
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import { useMSockets } from "./hooks/use-socket";
|
6
|
-
import { MorghulisOptions } from "./hooks/use-morghulis/types";
|
7
|
-
import MDialog from "./components/dialog/MDialog.vue";
|
8
|
-
import MApp from "./MApp.vue";
|
9
|
-
import MTable from "./components/table/simple/MTable.vue";
|
10
|
-
import DTable from "./components/table/data/DTable.vue";
|
11
|
-
import VTable from './components/table/virtual/VTable.vue';
|
12
|
-
import MForm from "./components/form/MForm.vue";
|
13
|
-
import type { DataItem, Query } from "./hooks/use-query/types";
|
14
|
-
import MTree from "./components/tree/simple/MTree.vue";
|
15
|
-
import type { MetaField, MetaView } from "./hooks/use-mata/types";
|
16
|
-
import type { MTableButton, MTableColumn } from "./components/table/simple/types";
|
17
|
-
import type { ChannelConfig } from "./hooks/use-channel/types";
|
3
|
+
import { MorghulisOptions } from "./core/types";
|
4
|
+
import { createChannel } from "./hooks/use-channel";
|
18
5
|
declare module "vue" {
|
19
6
|
interface GlobalComponents {
|
20
|
-
MApp: typeof MApp;
|
21
|
-
MDialog: typeof MDialog;
|
22
|
-
MTable: typeof MTable;
|
23
|
-
DTable: typeof DTable;
|
24
|
-
VTable: typeof VTable;
|
25
|
-
MForm: typeof MForm;
|
26
|
-
MTree: typeof MTree;
|
27
7
|
}
|
28
8
|
}
|
29
9
|
declare const createMorghulis: (options?: MorghulisOptions) => {
|
30
10
|
install(Vue: App): void;
|
31
11
|
};
|
32
|
-
export {
|
12
|
+
export { createMorghulis, createChannel, };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "morghulis",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.4",
|
4
4
|
"type": "module",
|
5
5
|
"files": [
|
6
6
|
"dist"
|
@@ -14,7 +14,7 @@
|
|
14
14
|
"import": "./dist/morghulis.es.js",
|
15
15
|
"require": "./dist/morghulis.umd.js"
|
16
16
|
},
|
17
|
-
"./style": "./dist/index.css"
|
17
|
+
"./style.css": "./dist/index.css"
|
18
18
|
},
|
19
19
|
"scripts": {
|
20
20
|
"dev": "vite",
|
@@ -23,10 +23,13 @@
|
|
23
23
|
},
|
24
24
|
"dependencies": {
|
25
25
|
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
26
|
+
"@fortawesome/free-brands-svg-icons": "^6.7.2",
|
27
|
+
"@fortawesome/free-regular-svg-icons": "^6.7.2",
|
26
28
|
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
27
29
|
"@fortawesome/vue-fontawesome": "^3.0.8",
|
28
30
|
"@vueuse/core": "^13.1.0",
|
29
31
|
"axios": "^1.8.1",
|
32
|
+
"moment": "^2.30.1",
|
30
33
|
"element-plus": "^2.9.8",
|
31
34
|
"js-cookie": "^3.0.5",
|
32
35
|
"nprogress": "^0.2.0",
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import type { DataItem } from "../../hooks/use-query/types";
|
2
|
-
import type { MetaDatabase, MetaField } from "../../hooks/use-mata/types";
|
3
|
-
type __VLS_Props = {
|
4
|
-
field: MetaField;
|
5
|
-
bean: DataItem;
|
6
|
-
db: MetaDatabase;
|
7
|
-
disabled: boolean;
|
8
|
-
};
|
9
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
10
|
-
export default _default;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { MCellProps } from "../../../hooks/use-cell/types";
|
2
|
-
declare const _default: import("vue").DefineComponent<MCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
3
|
-
"update:modelValue": (...args: any[]) => void;
|
4
|
-
}, string, import("vue").PublicProps, Readonly<MCellProps> & Readonly<{
|
5
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
6
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
7
|
-
export default _default;
|
@@ -1,2 +0,0 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
2
|
-
export default _default;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { MCellProps } from "../../../hooks/use-cell/types";
|
2
|
-
declare const _default: import("vue").DefineComponent<MCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
3
|
-
"update:modelValue": (...args: any[]) => void;
|
4
|
-
}, string, import("vue").PublicProps, Readonly<MCellProps> & Readonly<{
|
5
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
6
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
7
|
-
export default _default;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { MCellProps } from "../../../hooks/use-cell/types";
|
2
|
-
declare const _default: import("vue").DefineComponent<MCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
3
|
-
"update:modelValue": (...args: any[]) => void;
|
4
|
-
}, string, import("vue").PublicProps, Readonly<MCellProps> & Readonly<{
|
5
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
6
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
7
|
-
export default _default;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { MCellProps } from "../../../hooks/use-cell/types";
|
2
|
-
declare const _default: import("vue").DefineComponent<MCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
3
|
-
"update:modelValue": (...args: any[]) => void;
|
4
|
-
}, string, import("vue").PublicProps, Readonly<MCellProps> & Readonly<{
|
5
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
6
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
7
|
-
export default _default;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { MCellProps } from "../../../hooks/use-cell/types";
|
2
|
-
declare const _default: import("vue").DefineComponent<MCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
3
|
-
"update:modelValue": (...args: any[]) => void;
|
4
|
-
}, string, import("vue").PublicProps, Readonly<MCellProps> & Readonly<{
|
5
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
6
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
7
|
-
export default _default;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { MCellProps } from "../../../hooks/use-cell/types";
|
2
|
-
declare const _default: import("vue").DefineComponent<MCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
3
|
-
"update:modelValue": (...args: any[]) => void;
|
4
|
-
}, string, import("vue").PublicProps, Readonly<MCellProps> & Readonly<{
|
5
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
6
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
7
|
-
export default _default;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { MCellProps } from "../../../hooks/use-cell/types";
|
2
|
-
declare const _default: import("vue").DefineComponent<MCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
3
|
-
"update:modelValue": (...args: any[]) => void;
|
4
|
-
}, string, import("vue").PublicProps, Readonly<MCellProps> & Readonly<{
|
5
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
6
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
7
|
-
export default _default;
|
@@ -1,2 +0,0 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
2
|
-
export default _default;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { MCellProps } from "../../../hooks/use-cell/types";
|
2
|
-
declare const _default: import("vue").DefineComponent<MCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
3
|
-
"update:modelValue": (...args: any[]) => void;
|
4
|
-
}, string, import("vue").PublicProps, Readonly<MCellProps> & Readonly<{
|
5
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
6
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
7
|
-
export default _default;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
type __VLS_Props = {
|
2
|
-
disabled?: boolean;
|
3
|
-
type?: "success" | "info" | "warning" | "danger" | 'primary' | '';
|
4
|
-
size?: 'default' | 'small' | 'large' | "";
|
5
|
-
title?: string;
|
6
|
-
icon?: string;
|
7
|
-
};
|
8
|
-
declare var __VLS_14: {};
|
9
|
-
type __VLS_Slots = {} & {
|
10
|
-
default?: (props: typeof __VLS_14) => any;
|
11
|
-
};
|
12
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
13
|
-
click: (...args: any[]) => void;
|
14
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
15
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
17
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
18
|
-
export default _default;
|
19
|
-
type __VLS_WithSlots<T, S> = T & {
|
20
|
-
new (): {
|
21
|
-
$slots: S;
|
22
|
-
};
|
23
|
-
};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
type __VLS_Props = {
|
2
|
-
option: {
|
3
|
-
label: any;
|
4
|
-
value: any;
|
5
|
-
display: any;
|
6
|
-
};
|
7
|
-
};
|
8
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
9
|
-
export default _default;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { MetaDatabase, MetaView } from "../../hooks/use-mata/types";
|
2
|
-
type __VLS_Props = {
|
3
|
-
db: MetaDatabase;
|
4
|
-
view: MetaView;
|
5
|
-
selection: any[];
|
6
|
-
};
|
7
|
-
declare function open(data: any): void;
|
8
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
9
|
-
open: typeof open;
|
10
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
11
|
-
confirm: (...args: any[]) => void;
|
12
|
-
cancel: (...args: any[]) => void;
|
13
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
14
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
15
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
17
|
-
export default _default;
|
@@ -1,2 +0,0 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
2
|
-
export default _default;
|
@@ -1,72 +0,0 @@
|
|
1
|
-
import { MorghulisDialogConfig, MorghulisDialogProps } from "./index";
|
2
|
-
declare function open(data?: any, config?: MorghulisDialogConfig): void;
|
3
|
-
declare function close(): void;
|
4
|
-
declare var __VLS_11: {
|
5
|
-
data: {};
|
6
|
-
}, __VLS_16: {
|
7
|
-
data: {};
|
8
|
-
}, __VLS_34: {
|
9
|
-
data: {};
|
10
|
-
}, __VLS_40: {
|
11
|
-
data: {};
|
12
|
-
};
|
13
|
-
type __VLS_Slots = {} & {
|
14
|
-
header?: (props: typeof __VLS_11) => any;
|
15
|
-
} & {
|
16
|
-
'header-tool'?: (props: typeof __VLS_16) => any;
|
17
|
-
} & {
|
18
|
-
default?: (props: typeof __VLS_34) => any;
|
19
|
-
} & {
|
20
|
-
'footer-tool'?: (props: typeof __VLS_40) => any;
|
21
|
-
};
|
22
|
-
declare const __VLS_component: import("vue").DefineComponent<MorghulisDialogProps, {
|
23
|
-
open: typeof open;
|
24
|
-
close: typeof close;
|
25
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
26
|
-
close: (...args: any[]) => void;
|
27
|
-
"update:title": (...args: any[]) => void;
|
28
|
-
"update:subtitle": (...args: any[]) => void;
|
29
|
-
}, string, import("vue").PublicProps, Readonly<MorghulisDialogProps> & Readonly<{
|
30
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
31
|
-
"onUpdate:title"?: ((...args: any[]) => any) | undefined;
|
32
|
-
"onUpdate:subtitle"?: ((...args: any[]) => any) | undefined;
|
33
|
-
}>, {
|
34
|
-
showClose: boolean;
|
35
|
-
zIndex: number;
|
36
|
-
appendTo: string;
|
37
|
-
title: string;
|
38
|
-
confirm: (data: any, done: () => void) => void;
|
39
|
-
cancel: (data: any, done: () => void) => void;
|
40
|
-
subtitle: string;
|
41
|
-
confirmButtonText: string;
|
42
|
-
cancelButtonText: string;
|
43
|
-
width: string | number;
|
44
|
-
fullscreen: boolean;
|
45
|
-
top: string;
|
46
|
-
modal: boolean;
|
47
|
-
modalClass: string;
|
48
|
-
headerClass: string;
|
49
|
-
bodyClass: string;
|
50
|
-
footerClass: string;
|
51
|
-
appendToBody: boolean;
|
52
|
-
lockScroll: boolean;
|
53
|
-
openDelay: number;
|
54
|
-
closeDelay: number;
|
55
|
-
closeOnClickModal: boolean;
|
56
|
-
closeOnPressEscape: boolean;
|
57
|
-
beforeClose: (done: () => void) => void;
|
58
|
-
draggable: boolean;
|
59
|
-
overFlow: boolean;
|
60
|
-
center: boolean;
|
61
|
-
alignCenter: boolean;
|
62
|
-
destroyOnClose: boolean;
|
63
|
-
closeIcon: string;
|
64
|
-
headerAriaLevel: string;
|
65
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
66
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
67
|
-
export default _default;
|
68
|
-
type __VLS_WithSlots<T, S> = T & {
|
69
|
-
new (): {
|
70
|
-
$slots: S;
|
71
|
-
};
|
72
|
-
};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { MorghulisDialogConfig } from "./index";
|
2
|
-
type __VLS_Props = {
|
3
|
-
title: string;
|
4
|
-
subtitle: string;
|
5
|
-
config: MorghulisDialogConfig;
|
6
|
-
};
|
7
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
8
|
-
export default _default;
|
@@ -1,44 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Dialog
|
3
|
-
*/
|
4
|
-
type DialogProps = {
|
5
|
-
width?: string | number;
|
6
|
-
fullscreen?: boolean;
|
7
|
-
top?: string;
|
8
|
-
modal?: boolean;
|
9
|
-
modalClass?: string;
|
10
|
-
headerClass?: string;
|
11
|
-
bodyClass?: string;
|
12
|
-
footerClass?: string;
|
13
|
-
appendToBody?: boolean;
|
14
|
-
appendTo?: string;
|
15
|
-
lockScroll?: boolean;
|
16
|
-
openDelay?: number;
|
17
|
-
closeDelay?: number;
|
18
|
-
closeOnClickModal?: boolean;
|
19
|
-
closeOnPressEscape?: boolean;
|
20
|
-
showClose?: boolean;
|
21
|
-
beforeClose?: (done: () => void) => void;
|
22
|
-
draggable?: boolean;
|
23
|
-
overFlow?: boolean;
|
24
|
-
center?: boolean;
|
25
|
-
alignCenter?: boolean;
|
26
|
-
destroyOnClose?: boolean;
|
27
|
-
closeIcon?: string;
|
28
|
-
zIndex?: number;
|
29
|
-
headerAriaLevel?: string;
|
30
|
-
};
|
31
|
-
export type MorghulisDialogProps = DialogProps & {
|
32
|
-
title?: string;
|
33
|
-
subtitle?: string;
|
34
|
-
confirm?: (data: any, done: () => void) => void;
|
35
|
-
cancel?: (data: any, done: () => void) => void;
|
36
|
-
confirmButtonText?: string;
|
37
|
-
cancelButtonText?: string;
|
38
|
-
};
|
39
|
-
export declare const morghulisDialogPropsDefaults: MorghulisDialogProps;
|
40
|
-
export type MorghulisDialogConfig = {
|
41
|
-
title?: string;
|
42
|
-
subtitle?: string;
|
43
|
-
};
|
44
|
-
export {};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
export interface MorghulisMessageInterface {
|
2
|
-
info: (content: string) => void;
|
3
|
-
success: (content: string) => void;
|
4
|
-
warning: (content: string) => void;
|
5
|
-
error: (content: string) => void;
|
6
|
-
}
|
7
|
-
export interface MorghulisMessageBoxInterface {
|
8
|
-
info: (content: string, title?: string) => Promise<any>;
|
9
|
-
success: (content: string, title?: string) => Promise<any>;
|
10
|
-
warning: (content: string, title?: string) => Promise<any>;
|
11
|
-
error: (content: string, title?: string) => Promise<any>;
|
12
|
-
}
|
13
|
-
export type FeedbackTypes = "success" | "info" | "warning" | "error";
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { MetaDatabase, MetaView } from "../../hooks/use-mata/types";
|
2
|
-
import { DataItem, TreeItem } from "../../hooks/use-query/types";
|
3
|
-
type __VLS_Props = {
|
4
|
-
selection: any[];
|
5
|
-
view: MetaView;
|
6
|
-
db: MetaDatabase;
|
7
|
-
bean: DataItem | TreeItem;
|
8
|
-
};
|
9
|
-
declare function getData(): any[];
|
10
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
11
|
-
getData: typeof getData;
|
12
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
13
|
-
export default _default;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import type { MetaDatabase, MetaView } from "../../hooks/use-mata/types";
|
2
|
-
import type { DataItem } from "../../hooks/use-query/types";
|
3
|
-
type __VLS_Props = {
|
4
|
-
item: DataItem;
|
5
|
-
view: MetaView;
|
6
|
-
db: MetaDatabase;
|
7
|
-
size?: 'small' | 'large' | '';
|
8
|
-
};
|
9
|
-
declare function getData(): any;
|
10
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
11
|
-
getData: typeof getData;
|
12
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
13
|
-
export default _default;
|
@@ -1,5 +0,0 @@
|
|
1
|
-
type __VLS_Props = {
|
2
|
-
entity?: string;
|
3
|
-
};
|
4
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
5
|
-
export default _default;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { MetaView } from "../../../hooks/use-mata/types";
|
2
|
-
type __VLS_Props = {
|
3
|
-
view: MetaView;
|
4
|
-
};
|
5
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
6
|
-
export default _default;
|