morghulis 3.1.1 → 3.1.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/index.css +1 -1
- package/dist/morghulis.es.js +39853 -7707
- package/dist/morghulis.es.js.map +1 -1
- package/dist/morghulis.umd.js +78 -26
- package/dist/morghulis.umd.js.map +1 -1
- package/dist/types/components/button/MDialogButton.vue.d.ts +31 -0
- package/dist/types/components/cell/MCell.vue.d.ts +2 -1
- package/dist/types/components/cell/char/CharCell.vue.d.ts +1 -1
- package/dist/types/components/cell/char/ColorCell.vue.d.ts +6 -1
- package/dist/types/components/cell/char/IconCell.vue.d.ts +7 -0
- package/dist/types/components/cell/char/SetCell.vue.d.ts +7 -0
- package/dist/types/components/cell/date/DateArrayCell.vue.d.ts +7 -0
- package/dist/types/components/cell/date/DateCell.vue.d.ts +1 -1
- package/dist/types/components/cell/date/DateRangeCell.vue.d.ts +7 -0
- package/dist/types/components/cell/date/TimeCell.vue.d.ts +1 -1
- package/dist/types/components/cell/date/TimeRangeCell.vue.d.ts +7 -0
- package/dist/types/components/cell/hook.d.ts +13 -0
- package/dist/types/components/cell/refer/AutoCell.vue.d.ts +7 -0
- package/dist/types/components/cell/refer/CascadeCell.vue.d.ts +7 -0
- package/dist/types/components/cell/refer/SelectCell.vue.d.ts +1 -1
- package/dist/types/components/cell/refer/TransferCell.vue.d.ts +7 -0
- package/dist/types/components/cell/refer/TreeCell.vue.d.ts +7 -0
- package/dist/types/components/cell/simple/BooleanCell.vue.d.ts +1 -1
- package/dist/types/components/cell/simple/DefaultCell.vue.d.ts +1 -1
- package/dist/types/components/cell/simple/NoneCell.vue.d.ts +2 -0
- package/dist/types/components/cell/simple/NumberCell.vue.d.ts +1 -1
- package/dist/types/components/cell/special/FileCell.vue.d.ts +3 -0
- package/dist/types/components/cell/special/ObjectCell.vue.d.ts +1 -1
- package/dist/types/components/cell/special/RichCell.vue.d.ts +2 -0
- package/dist/types/components/cell/tool.d.ts +9 -0
- package/dist/types/components/cell/types.d.ts +9 -0
- package/dist/types/components/common/MIcon.vue.d.ts +19 -0
- package/dist/types/components/{table/simple/buttons/MTableButtons.vue.d.ts → common/MJsonEditor.vue.d.ts} +3 -8
- package/dist/types/components/common/MOption.vue.d.ts +3 -5
- package/dist/types/components/common/MOptions.vue.d.ts +7 -0
- package/dist/types/components/common/MReader.vue.d.ts +7 -0
- package/dist/types/components/common/reader/CsvReader.vue.d.ts +5 -0
- package/dist/types/components/common/reader/ExcelReader.vue.d.ts +2 -0
- package/dist/types/components/common/reader/ImageReader.vue.d.ts +5 -0
- package/dist/types/components/common/reader/PdfReader.vue.d.ts +2 -0
- package/dist/types/components/common/types.d.ts +2 -0
- package/dist/types/components/dialog/DDialog.vue.d.ts +15 -0
- package/dist/types/components/dialog/MButtonDialog.vue.d.ts +2 -0
- package/dist/types/components/dialog/MDialog.vue.d.ts +1 -1
- package/dist/types/components/{table/data/widgets → form}/DForm.vue.d.ts +3 -3
- package/dist/types/components/form/MForm.vue.d.ts +1 -0
- package/dist/types/components/meta/fields/MetaFieldAdd.vue.d.ts +10 -0
- package/dist/types/components/meta/fields/MetaFieldForm.vue.d.ts +10 -0
- package/dist/types/components/meta/fields/MetaFieldFormat.vue.d.ts +10 -0
- package/dist/types/components/meta/fields/MetaFieldRefer.vue.d.ts +24 -0
- package/dist/types/components/meta/fields/formats/DateFormats.vue.d.ts +29 -0
- package/dist/types/components/meta/fields/formats/FileFormats.vue.d.ts +29 -0
- package/dist/types/components/meta/fields/formats/NumberFormats.vue.d.ts +29 -0
- package/dist/types/components/meta/fields/formats/SetFormats.vue.d.ts +29 -0
- package/dist/types/components/meta/fields/formats/TextFormats.vue.d.ts +29 -0
- package/dist/types/components/meta/fields/widgets/TreeRootSelection.vue.d.ts +6 -0
- package/dist/types/components/meta/tool.d.ts +1 -0
- package/dist/types/components/meta/widgets/MetaFrame.vue.d.ts +2 -0
- package/dist/types/components/meta/widgets/MetaSelect.vue.d.ts +15 -0
- package/dist/types/components/table/aoa/ATable.vue.d.ts +10 -0
- package/dist/types/components/table/data/DTable.vue.d.ts +6 -3
- package/dist/types/{hooks/use-table/data/index.d.ts → components/table/data/hook.d.ts} +50 -33
- package/dist/types/components/table/data/popover/DCellPopover.vue.d.ts +1 -1
- package/dist/types/components/table/data/popover/DFieldPopover.vue.d.ts +1 -1
- package/dist/types/components/table/data/popover/DIndexPopover.vue.d.ts +1 -1
- package/dist/types/components/table/data/popover/DMetaPopover.vue.d.ts +1 -1
- package/dist/types/components/table/data/popover/DSearchPopover.vue.d.ts +1 -1
- package/dist/types/components/table/data/slots/DTableEmpty.vue.d.ts +2 -0
- package/dist/types/components/table/data/slots/DTableFooter.vue.d.ts +13 -0
- package/dist/types/components/table/data/slots/DTableFooterTool.vue.d.ts +10 -0
- package/dist/types/components/table/data/{widgets → slots}/DTableHeader.vue.d.ts +2 -2
- package/dist/types/components/table/data/slots/DTableHeaderCell.vue.d.ts +2 -0
- package/dist/types/components/table/data/{widgets/DTableController.vue.d.ts → slots/DTableHeaderTool.vue.d.ts} +10 -9
- package/dist/types/components/table/data/tool.d.ts +0 -0
- package/dist/types/components/table/data/types.d.ts +7 -12
- package/dist/types/components/table/simple/MTable.vue.d.ts +20 -32
- package/dist/types/components/table/simple/buttons/MTableButtonWrapper.vue.d.ts +1 -1
- package/dist/types/components/table/simple/hook.d.ts +17 -0
- package/dist/types/components/table/simple/tool.d.ts +19 -0
- package/dist/types/components/table/simple/types.d.ts +25 -164
- package/dist/types/components/table/simple/widgets/MTableHeader.vue.d.ts +1 -1
- package/dist/types/components/table/simple/widgets/MTableIndex.vue.d.ts +8 -9
- package/dist/types/components/table/upload/DTableUpload.vue.d.ts +1 -0
- package/dist/types/components/table/upload/control/DTableUploadActivator.vue.d.ts +5 -1
- package/dist/types/components/table/upload/control/DTableUploadButtons.vue.d.ts +6 -2
- package/dist/types/components/table/upload/control/DTableUploadController.vue.d.ts +1 -0
- package/dist/types/components/table/virtual/VTable.vue.d.ts +10 -4
- package/dist/types/components/tree/data/DTree.vue.d.ts +45 -0
- package/dist/types/components/tree/data/hook.d.ts +127 -0
- package/dist/types/components/tree/data/popover/DTreeIndexPopover.vue.d.ts +19 -0
- package/dist/types/components/tree/data/popover/DTreeMetaPopover.vue.d.ts +16 -0
- package/dist/types/components/tree/data/slots/DTreeHeaderTool.vue.d.ts +16 -0
- package/dist/types/components/tree/data/slots/DTreePop.vue.d.ts +10 -0
- package/dist/types/components/tree/data/types.d.ts +10 -0
- package/dist/types/components/tree/data/widgets/DTreeAdd.vue.d.ts +10 -0
- package/dist/types/components/tree/data/widgets/DTreeTable.vue.d.ts +9 -0
- package/dist/types/components/tree/data/widgets/DTreeTableNode.vue.d.ts +6 -0
- package/dist/types/components/tree/simple/MTree.vue.d.ts +76 -0
- package/dist/types/components/tree/simple/hook.d.ts +40 -0
- package/dist/types/components/tree/simple/tool.d.ts +4 -0
- package/dist/types/components/tree/simple/types.d.ts +18 -0
- package/dist/types/components/tree/simple/widgets/MTreeExpand.vue.d.ts +12 -0
- package/dist/types/components/tree/simple/widgets/MTreeNode.vue.d.ts +21 -0
- package/dist/types/components/tree/tool.d.ts +7 -0
- package/dist/types/components/tree/types.d.ts +20 -0
- package/dist/types/components/wrapper/MWrapper.vue.d.ts +37 -0
- package/dist/types/components/{table/data/widgets/DPopoverWrapper.vue.d.ts → wrapper/MWrapperPopContent.vue.d.ts} +6 -5
- package/dist/types/components/wrapper/types.d.ts +22 -0
- package/dist/types/hooks/use-admin/index.d.ts +4 -0
- package/dist/types/hooks/use-channel/index.d.ts +9 -4
- package/dist/types/hooks/use-channel/types.d.ts +35 -16
- package/dist/types/hooks/use-dao/index.d.ts +178 -12
- package/dist/types/hooks/use-dao/types.d.ts +2 -2
- package/dist/types/hooks/use-mata/types.d.ts +18 -5
- package/dist/types/hooks/use-morghulis/types.d.ts +2 -2
- package/dist/types/hooks/use-paster/index.d.ts +3 -2
- package/dist/types/hooks/use-paster/tool.d.ts +7 -0
- package/dist/types/hooks/use-paster/types.d.ts +4 -0
- package/dist/types/hooks/use-query/index.d.ts +35 -3
- package/dist/types/hooks/use-query/tool.d.ts +6 -2
- package/dist/types/hooks/use-query/types.d.ts +25 -3
- package/dist/types/hooks/use-request/index.d.ts +5 -1
- package/dist/types/hooks/use-request/tool.d.ts +4 -1
- package/dist/types/hooks/use-sortable/index.d.ts +3 -0
- 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/index.d.ts +10 -3
- package/package.json +11 -6
- package/dist/types/components/table/simple/widgets/MTablePopover.vue.d.ts +0 -16
- 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-channel/tools.d.ts +0 -3
- package/dist/types/hooks/use-table/simple/index.d.ts +0 -34
- /package/dist/types/components/{common → button}/MCtrlBtn.vue.d.ts +0 -0
- /package/dist/types/components/meta/{MetaTree.vue.d.ts → MetaCore.vue.d.ts} +0 -0
- /package/dist/types/components/meta/{copy/CopyMetaFields.vue.d.ts → fields/MetaFieldList.vue.d.ts} +0 -0
- /package/dist/types/components/meta/{edit/EditMetaView.vue.d.ts → view/MetaViewForm.vue.d.ts} +0 -0
- /package/dist/types/{hooks/use-table/simple/types.d.ts → components/meta/view/tools.d.ts} +0 -0
- /package/dist/types/components/meta/{data/ViewMetaData.vue.d.ts → widgets/CopyMetaFields.vue.d.ts} +0 -0
- /package/dist/types/components/meta/{edit/EditMetaFields.vue.d.ts → widgets/ViewMetaData.vue.d.ts} +0 -0
- /package/dist/types/components/table/data/{widgets/DCellContent.vue.d.ts → slots/DTableCell.vue.d.ts} +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Ref } from "vue";
|
2
|
-
import {
|
2
|
+
import { ChannelContainer } from "../use-channel/types";
|
3
3
|
export type MorghulisOptions = {
|
4
4
|
baseURL?: string;
|
5
5
|
minioURL?: string;
|
@@ -7,6 +7,6 @@ export type MorghulisOptions = {
|
|
7
7
|
export type MorghulisCore = {
|
8
8
|
status: Ref<string>;
|
9
9
|
open: () => void;
|
10
|
-
channels:
|
10
|
+
channels: ChannelContainer;
|
11
11
|
options: MorghulisOptions;
|
12
12
|
};
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare function usePaster(): {
|
2
|
-
openPaster: () => void;
|
3
|
-
|
2
|
+
openPaster: (callback: (text: string) => void) => void;
|
3
|
+
pending: import("vue").Ref<boolean, boolean>;
|
4
|
+
getClipboardData: (callback: (text: string) => void) => void;
|
4
5
|
};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { Aoa, AoaMap } from "./types";
|
2
|
+
import { UploadFile } from "element-plus";
|
3
|
+
import { MetaView } from "../use-mata/types";
|
4
|
+
import { DataItem } from "../use-query/types";
|
5
|
+
export declare function textToAoa(text: string): string[][];
|
6
|
+
export declare function excelToAoa(file: UploadFile, callback: (mapping: AoaMap) => void): void;
|
7
|
+
export declare function AoaToDataItems(aoa: Aoa, view: MetaView): DataItem[];
|
@@ -1,3 +1,35 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
export declare function
|
1
|
+
import { QueryConfig } from "./types";
|
2
|
+
import { Meta } from "../use-mata/types";
|
3
|
+
export declare function useQuery(props: QueryConfig & Meta): {
|
4
|
+
config: import("vue").Ref<{
|
5
|
+
includes?: {
|
6
|
+
[x: string]: any;
|
7
|
+
id?: import("./types").DataItemId | undefined;
|
8
|
+
} | undefined;
|
9
|
+
excludes?: {
|
10
|
+
[x: string]: any;
|
11
|
+
id?: import("./types").DataItemId | undefined;
|
12
|
+
} | undefined;
|
13
|
+
orders?: import("./types").Orders | undefined;
|
14
|
+
page?: number | undefined;
|
15
|
+
size?: number | undefined;
|
16
|
+
root?: import("./types").DataItemId | undefined;
|
17
|
+
finder?: import("./types").Finder | undefined;
|
18
|
+
}, QueryConfig | {
|
19
|
+
includes?: {
|
20
|
+
[x: string]: any;
|
21
|
+
id?: import("./types").DataItemId | undefined;
|
22
|
+
} | undefined;
|
23
|
+
excludes?: {
|
24
|
+
[x: string]: any;
|
25
|
+
id?: import("./types").DataItemId | undefined;
|
26
|
+
} | undefined;
|
27
|
+
orders?: import("./types").Orders | undefined;
|
28
|
+
page?: number | undefined;
|
29
|
+
size?: number | undefined;
|
30
|
+
root?: import("./types").DataItemId | undefined;
|
31
|
+
finder?: import("./types").Finder | undefined;
|
32
|
+
}>;
|
33
|
+
query: import("vue").ComputedRef<import("./types").Query>;
|
34
|
+
meta: import("vue").ComputedRef<Meta>;
|
35
|
+
};
|
@@ -1,4 +1,8 @@
|
|
1
|
-
import { Query, SearchParam } from "./types";
|
1
|
+
import { DataItem, Query, QueryConfig, SearchParam } from "./types";
|
2
|
+
import _ from "lodash";
|
2
3
|
import { MetaView } from "../use-mata/types";
|
3
|
-
export declare function
|
4
|
+
export declare function transformQuery(config?: QueryConfig): Query;
|
5
|
+
export declare function clearCondition(cond?: DataItem): _.Omit<DataItem, string>;
|
6
|
+
export declare function getTemplate(includes?: DataItem): Pick<DataItem, string>;
|
7
|
+
export declare function convertQuery(query: Query, view: MetaView): Query;
|
4
8
|
export declare function checkFinder(param: SearchParam): boolean;
|
@@ -1,8 +1,23 @@
|
|
1
|
+
import { IconNames } from "../../components/common/types";
|
1
2
|
export type DataItem = {
|
2
3
|
id?: DataItemId;
|
3
4
|
[key: string]: any;
|
4
5
|
};
|
5
|
-
type
|
6
|
+
export type ItemProps = {
|
7
|
+
label: string;
|
8
|
+
value: string;
|
9
|
+
display?: string;
|
10
|
+
};
|
11
|
+
export type TreeItem = {
|
12
|
+
pid: number | string;
|
13
|
+
isLeaf: boolean;
|
14
|
+
icon?: IconNames;
|
15
|
+
children: TreeItem[];
|
16
|
+
} & DataItem;
|
17
|
+
export type TreeMapping = {
|
18
|
+
[id: string | number]: TreeItem;
|
19
|
+
};
|
20
|
+
export type DataItemId = string | number;
|
6
21
|
export type Orders = {
|
7
22
|
[key: string]: 1 | -1;
|
8
23
|
};
|
@@ -10,12 +25,18 @@ export type Condition = {
|
|
10
25
|
includes?: DataItem;
|
11
26
|
excludes?: DataItem;
|
12
27
|
};
|
28
|
+
export type QueryInfo = {
|
29
|
+
current: number;
|
30
|
+
total: number;
|
31
|
+
};
|
13
32
|
export type QueryConfig = {
|
14
33
|
includes?: DataItem;
|
15
34
|
excludes?: DataItem;
|
16
35
|
orders?: Orders;
|
17
36
|
page?: number;
|
18
37
|
size?: number;
|
38
|
+
root?: DataItemId;
|
39
|
+
finder?: Finder;
|
19
40
|
};
|
20
41
|
export type Query = {
|
21
42
|
condition: Condition;
|
@@ -25,6 +46,7 @@ export type Query = {
|
|
25
46
|
template: DataItem;
|
26
47
|
search: Condition[];
|
27
48
|
finder: Finder;
|
49
|
+
root?: DataItemId;
|
28
50
|
};
|
29
51
|
export type IQuery = {
|
30
52
|
condition?: Condition;
|
@@ -34,9 +56,10 @@ export type IQuery = {
|
|
34
56
|
template?: DataItem;
|
35
57
|
search?: Condition[];
|
36
58
|
finder?: Finder;
|
59
|
+
root?: DataItemId;
|
37
60
|
};
|
38
61
|
export type Finder = {
|
39
|
-
[key: string]: SearchParam;
|
62
|
+
[key: string]: SearchParam | null;
|
40
63
|
};
|
41
64
|
export type SearchParam = {
|
42
65
|
type: 'includes' | 'excludes';
|
@@ -45,4 +68,3 @@ export type SearchParam = {
|
|
45
68
|
suffix: 'contains' | 'exact' | 'startswith' | 'endswith' | 'gt' | 'lt' | 'isnull';
|
46
69
|
value: any;
|
47
70
|
};
|
48
|
-
export {};
|
@@ -2,6 +2,10 @@ import { AxiosInstance } from 'axios';
|
|
2
2
|
import 'nprogress/nprogress.css';
|
3
3
|
export declare function useMRequest(): {
|
4
4
|
getHttpRequest: (auth?: boolean) => AxiosInstance;
|
5
|
-
|
5
|
+
download: (path: string) => void;
|
6
6
|
all: () => void;
|
7
|
+
read: (path: string) => Promise<{
|
8
|
+
blob: Blob;
|
9
|
+
fileName: string;
|
10
|
+
}>;
|
7
11
|
};
|
@@ -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;
|
File without changes
|
File without changes
|
package/dist/types/index.d.ts
CHANGED
@@ -4,15 +4,19 @@ import { useMRequest } from "./hooks/use-request";
|
|
4
4
|
import { useMChannel } from "./hooks/use-channel";
|
5
5
|
import { useMSockets } from "./hooks/use-socket";
|
6
6
|
import { MorghulisOptions } from "./hooks/use-morghulis/types";
|
7
|
-
import type { MorghulisChannelConfig } from "./hooks/use-channel/types";
|
8
7
|
import MDialog from "./components/dialog/MDialog.vue";
|
9
8
|
import MApp from "./MApp.vue";
|
10
9
|
import MTable from "./components/table/simple/MTable.vue";
|
11
10
|
import DTable from "./components/table/data/DTable.vue";
|
12
11
|
import VTable from './components/table/virtual/VTable.vue';
|
13
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";
|
14
16
|
import type { MTableButton, MTableColumn } from "./components/table/simple/types";
|
15
|
-
import type {
|
17
|
+
import type { ChannelConfig } from "./hooks/use-channel/types";
|
18
|
+
import DTree from "./components/tree/data/DTree.vue";
|
19
|
+
import MIcon from "./components/common/MIcon.vue";
|
16
20
|
declare module "vue" {
|
17
21
|
interface GlobalComponents {
|
18
22
|
MApp: typeof MApp;
|
@@ -21,9 +25,12 @@ declare module "vue" {
|
|
21
25
|
DTable: typeof DTable;
|
22
26
|
VTable: typeof VTable;
|
23
27
|
MForm: typeof MForm;
|
28
|
+
MTree: typeof MTree;
|
29
|
+
DTree: typeof DTree;
|
30
|
+
MIcon: typeof MIcon;
|
24
31
|
}
|
25
32
|
}
|
26
33
|
declare const createMorghulis: (options?: MorghulisOptions) => {
|
27
34
|
install(Vue: App): void;
|
28
35
|
};
|
29
|
-
export { MApp, MDialog, MTable, DTable, VTable, MForm, createMorghulis, useMRequest, useMChannel, useMSockets,
|
36
|
+
export { MApp, MIcon, MDialog, MTable, DTable, VTable, MForm, MTree, DTree, createMorghulis, useMRequest, useMChannel, useMSockets, ChannelConfig, MTableButton, MTableColumn, DataItem, Query, MetaView, MetaField };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "morghulis",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.3",
|
4
4
|
"type": "module",
|
5
5
|
"files": [
|
6
6
|
"dist"
|
@@ -23,20 +23,25 @@
|
|
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",
|
30
|
+
"@vueuse/core": "^13.1.0",
|
28
31
|
"axios": "^1.8.1",
|
29
|
-
"nprogress": "^0.2.0",
|
30
|
-
"sortablejs": "^1.15.6",
|
31
32
|
"element-plus": "^2.9.8",
|
32
33
|
"js-cookie": "^3.0.5",
|
33
|
-
"
|
34
|
+
"moment": "^2.30.1",
|
35
|
+
"nprogress": "^0.2.0",
|
36
|
+
"sortablejs": "^1.15.6",
|
37
|
+
"vue": "^3.5.13",
|
38
|
+
"xlsx": "^0.18.5"
|
34
39
|
},
|
35
40
|
"devDependencies": {
|
36
|
-
"@types/nprogress": "^0.2.3",
|
37
|
-
"@types/sortablejs": "^1.15.8",
|
38
41
|
"@types/js-cookie": "^3.0.6",
|
39
42
|
"@types/node": "^22.14.0",
|
43
|
+
"@types/nprogress": "^0.2.3",
|
44
|
+
"@types/sortablejs": "^1.15.8",
|
40
45
|
"@vitejs/plugin-vue": "^5.2.3",
|
41
46
|
"typescript": "~5.8.0",
|
42
47
|
"vite": "^6.2.4",
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { MTablePopper } from "../types";
|
2
|
-
declare var __VLS_6: {
|
3
|
-
type: import("../types").MTablePopperType;
|
4
|
-
data: any;
|
5
|
-
};
|
6
|
-
type __VLS_Slots = {} & {
|
7
|
-
default?: (props: typeof __VLS_6) => any;
|
8
|
-
};
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<MTablePopper, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MTablePopper> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
10
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
11
|
-
export default _default;
|
12
|
-
type __VLS_WithSlots<T, S> = T & {
|
13
|
-
new (): {
|
14
|
-
$slots: S;
|
15
|
-
};
|
16
|
-
};
|
@@ -1,34 +0,0 @@
|
|
1
|
-
import { type Ref } from "vue";
|
2
|
-
import { MTablePopperType, MTableProps } from "../../../components/table/simple/types";
|
3
|
-
export declare function useMTable(table: Ref, props: MTableProps): {
|
4
|
-
handleOrder: (prop: string, dir: 1 | -1) => void;
|
5
|
-
check: (flag: boolean) => void;
|
6
|
-
visible: import("vue").ComputedRef<{
|
7
|
-
popover: boolean;
|
8
|
-
header: boolean;
|
9
|
-
footer: boolean;
|
10
|
-
}>;
|
11
|
-
popover: {
|
12
|
-
vRef: {
|
13
|
-
getBoundingClientRect: () => {
|
14
|
-
x: number;
|
15
|
-
y: number;
|
16
|
-
};
|
17
|
-
};
|
18
|
-
visible: boolean;
|
19
|
-
type: MTablePopperType;
|
20
|
-
data: any;
|
21
|
-
placement?: "left" | "right" | "top" | "bottom" | null | string | undefined;
|
22
|
-
};
|
23
|
-
selection: import("vue").ComputedRef<any>;
|
24
|
-
tableCellClassName: (data: any) => "m-table-cell" | "m-table-index" | "m-table-custom";
|
25
|
-
tableRowClassName: (payload: any) => "" | "m-table-current" | "m-table-highlight";
|
26
|
-
handleCellClick: (row: object, column: any, cell: any, event: any) => void;
|
27
|
-
handleCellContextMenu: (row: any, column: any, cell: any, event: any) => void;
|
28
|
-
showPopover: (event: {
|
29
|
-
clientX: number;
|
30
|
-
clientY: number;
|
31
|
-
}, type: MTablePopperType, data?: any, placement?: string) => void;
|
32
|
-
closePopover: () => boolean;
|
33
|
-
setSelection: (keys: any[]) => void;
|
34
|
-
};
|
File without changes
|
File without changes
|
/package/dist/types/components/meta/{copy/CopyMetaFields.vue.d.ts → fields/MetaFieldList.vue.d.ts}
RENAMED
File without changes
|
/package/dist/types/components/meta/{edit/EditMetaView.vue.d.ts → view/MetaViewForm.vue.d.ts}
RENAMED
File without changes
|
File without changes
|
/package/dist/types/components/meta/{data/ViewMetaData.vue.d.ts → widgets/CopyMetaFields.vue.d.ts}
RENAMED
File without changes
|
/package/dist/types/components/meta/{edit/EditMetaFields.vue.d.ts → widgets/ViewMetaData.vue.d.ts}
RENAMED
File without changes
|
File without changes
|