@morghulis/core 1.0.26 → 1.0.27
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-core.es.js +12532 -12939
- package/dist/morghulis-core.es.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/app/admin/components/dialogs/AccountDialog.vue.d.ts +1 -1
- package/dist/types/app/admin/components/dialogs/forms/AccountForm.vue.d.ts +1 -1
- package/dist/types/app/admin/contents/hooks.d.ts +1 -1
- package/dist/types/app/admin/contents/menu/AdminMenu.vue.d.ts +1 -1
- package/dist/types/app/admin/contents/menu/MenuTreeNode.vue.d.ts +1 -1
- package/dist/types/app/admin/contents/navigate/AdminNavigate.vue.d.ts +1 -1
- package/dist/types/app/admin/contents/system/feedbacks/AccountRoleDialog.vue.d.ts +1 -1
- package/dist/types/app/admin/contents/system/feedbacks/MenuAddDialog.vue.d.ts +1 -1
- package/dist/types/app/admin/contents/system/feedbacks/MenuPathPopover.vue.d.ts +1 -1
- package/dist/types/app/admin/contents/system/feedbacks/MenuRoleDialog.vue.d.ts +1 -1
- package/dist/types/app/admin/contents/system/feedbacks/RoleAccountDialog.vue.d.ts +1 -1
- package/dist/types/app/admin/contents/system/feedbacks/RoleMenuDialog.vue.d.ts +1 -1
- package/dist/types/app/admin/contents/system/feedbacks/hooks.d.ts +3 -3
- package/dist/types/app/admin/contents/system/widgets/MenuRolePlugin.vue.d.ts +1 -1
- package/dist/types/app/admin/hooks.d.ts +2 -2
- package/dist/types/components.d.ts +1 -0
- package/dist/types/data/cell/FieldTransfer.vue.d.ts +1 -1
- package/dist/types/data/cell/MCell.vue.d.ts +1 -1
- package/dist/types/data/cell/instances/hooks.d.ts +6 -6
- package/dist/types/data/cell/types.d.ts +1 -1
- package/dist/types/data/form/MForm.vue.d.ts +1 -1
- package/dist/types/data/form/hooks.d.ts +7 -7
- package/dist/types/data/form/types.d.ts +1 -1
- package/dist/types/data/form/widgets/MFormLabel.vue.d.ts +1 -1
- package/dist/types/data/plugin/MPluginButtons.vue.d.ts +1 -1
- package/dist/types/data/plugin/MPluginColumn.vue.d.ts +1 -1
- package/dist/types/data/plugin/types.d.ts +1 -1
- package/dist/types/data/table/MTable.vue.d.ts +1 -1
- package/dist/types/data/table/components/columns/ButtonsColumn.vue.d.ts +1 -1
- package/dist/types/data/table/components/columns/CustomColumn.vue.d.ts +1 -1
- package/dist/types/data/table/components/columns/FieldColumn.vue.d.ts +3 -3
- package/dist/types/data/table/components/columns/IndexColumn.vue.d.ts +1 -1
- package/dist/types/data/table/components/columns/cells/MTableCell.vue.d.ts +1 -1
- package/dist/types/data/table/components/columns/cells/MTableHeaderCell.vue.d.ts +1 -1
- package/dist/types/data/table/components/columns/cells/MTableIndexCell.vue.d.ts +1 -1
- package/dist/types/data/table/components/control/MTableControl.vue.d.ts +1 -1
- package/dist/types/data/table/components/control/MTableControlButtons.vue.d.ts +1 -1
- package/dist/types/data/table/components/feedback/CellDialog.vue.d.ts +1 -1
- package/dist/types/data/table/components/feedback/CellPopover.vue.d.ts +1 -1
- package/dist/types/data/table/components/feedback/IndexPopover.vue.d.ts +1 -1
- package/dist/types/data/table/components/feedback/LookupPopover.vue.d.ts +1 -1
- package/dist/types/data/table/components/feedback/UploadDialog.vue.d.ts +1 -1
- package/dist/types/data/table/components/finder/MTableFinder.vue.d.ts +2 -2
- package/dist/types/data/table/components/tools/MTableSelection.vue.d.ts +1 -1
- package/dist/types/data/table/hooks/selection.d.ts +2 -2
- package/dist/types/data/table/hooks/sortable.d.ts +1 -1
- package/dist/types/data/table/types.d.ts +1 -1
- package/dist/types/data/tree/MTree.vue.d.ts +1 -1
- package/dist/types/data/tree/components/control/MTreeControl.vue.d.ts +3 -3
- package/dist/types/data/tree/components/feedback/BatchDialog.vue.d.ts +1 -1
- package/dist/types/data/tree/components/feedback/NodePopover.vue.d.ts +3 -3
- package/dist/types/data/tree/components/feedback/TableDialog.vue.d.ts +1 -1
- package/dist/types/data/tree/components/feedback/widgets/BatchForm.vue.d.ts +1 -1
- package/dist/types/data/tree/components/feedback/widgets/NodeButtons.vue.d.ts +3 -3
- package/dist/types/data/tree/components/node/MTreeNode.vue.d.ts +1 -1
- package/dist/types/data/tree/components/node/MTreePlugin.vue.d.ts +1 -1
- package/dist/types/data/tree/components/tools/ToggleNodeTool.vue.d.ts +1 -1
- package/dist/types/data/tree/hooks/disclosure.d.ts +1 -1
- package/dist/types/data/tree/hooks/selection.d.ts +2 -2
- package/dist/types/data/tree/types.d.ts +1 -1
- package/dist/types/data/types.d.ts +1 -1
- package/dist/types/data/upload/components/impoter/UploadImporter.vue.d.ts +1 -1
- package/dist/types/data/upload/components/impoter/components/ImporterTemplate.vue.d.ts +1 -1
- package/dist/types/data/upload/components/table/UploadTable.vue.d.ts +1 -1
- package/dist/types/data/upload/components/table/components/cells/UploadTableCell.vue.d.ts +1 -1
- package/dist/types/data/upload/components/table/components/valid/UploadTableValidation.vue.d.ts +1 -1
- package/dist/types/data/upload/hooks.d.ts +13 -13
- package/dist/types/data/upload/types.d.ts +1 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/lib/core/channel/hooks.d.ts +11 -0
- package/dist/types/lib/core/channel/index.d.ts +8 -0
- package/dist/types/lib/core/channel/types.d.ts +52 -0
- package/dist/types/lib/core/channel/utils/container.d.ts +7 -0
- package/dist/types/lib/core/channel/utils/hub.d.ts +7 -0
- package/dist/types/lib/core/index.d.ts +2 -0
- package/dist/types/lib/core/network/hooks.d.ts +4 -0
- package/dist/types/lib/core/network/index.d.ts +9 -0
- package/dist/types/lib/core/network/types.d.ts +3 -0
- package/dist/types/lib/core/network/utils/http.d.ts +5 -0
- package/dist/types/lib/core/network/utils/socket.d.ts +6 -0
- package/dist/types/lib/data/dao/cogs/Model.d.ts +9 -0
- package/dist/types/lib/data/dao/cogs/Search.d.ts +12 -0
- package/dist/types/lib/data/dao/hooks.d.ts +8 -0
- package/dist/types/lib/data/dao/index.d.ts +14 -0
- package/dist/types/lib/data/dao/types.d.ts +39 -0
- package/dist/types/lib/data/hooks.d.ts +245 -0
- package/dist/types/lib/data/index.d.ts +6 -0
- package/dist/types/lib/data/meta/cogs/MetaField.d.ts +47 -0
- package/dist/types/lib/data/meta/cogs/MetaFormat.d.ts +26 -0
- package/dist/types/lib/data/meta/cogs/MetaRefer.d.ts +17 -0
- package/dist/types/lib/data/meta/cogs/MetaView.d.ts +36 -0
- package/dist/types/lib/data/meta/hooks.d.ts +23 -0
- package/dist/types/lib/data/meta/index.d.ts +16 -0
- package/dist/types/lib/data/meta/parser.d.ts +25 -0
- package/dist/types/lib/data/meta/types.d.ts +150 -0
- package/dist/types/lib/data/model/hooks.d.ts +44 -0
- package/dist/types/lib/data/model/index.d.ts +2 -0
- package/dist/types/lib/data/model/types.d.ts +7 -0
- package/dist/types/lib/data/query/cogs/Condition.d.ts +6 -0
- package/dist/types/lib/data/query/cogs/Lookup.d.ts +20 -0
- package/dist/types/lib/data/query/hooks.d.ts +63 -0
- package/dist/types/lib/data/query/index.d.ts +5 -0
- package/dist/types/lib/data/query/parser.d.ts +3 -0
- package/dist/types/lib/data/query/types.d.ts +18 -0
- package/dist/types/lib/data/types.d.ts +55 -0
- package/dist/types/lib/index.d.ts +8 -0
- package/dist/types/lib/install.d.ts +5 -0
- package/dist/types/lib/utils/aoa/hooks.d.ts +10 -0
- package/dist/types/lib/utils/aoa/index.d.ts +2 -0
- package/dist/types/lib/utils/aoa/types.d.ts +5 -0
- package/dist/types/lib/utils/functions.d.ts +1 -0
- package/dist/types/lib/utils/index.d.ts +5 -0
- package/dist/types/lib/utils/pagination/index.d.ts +6 -0
- package/dist/types/lib/utils/paster/hooks.d.ts +5 -0
- package/dist/types/lib/utils/paster/index.d.ts +1 -0
- package/dist/types/lib/utils/xlsx/hooks.d.ts +14 -0
- package/dist/types/lib/utils/xlsx/index.d.ts +2 -0
- package/dist/types/lib/utils/xlsx/types.d.ts +31 -0
- package/dist/types/meta/MetaPopover.vue.d.ts +1 -1
- package/dist/types/meta/feedbacks/FieldDialog.vue.d.ts +1 -1
- package/dist/types/meta/feedbacks/ListDialog.vue.d.ts +1 -1
- package/dist/types/meta/feedbacks/MetaDialog.vue.d.ts +1 -1
- package/dist/types/meta/feedbacks/ViewDialog.vue.d.ts +1 -1
- package/dist/types/meta/feedbacks/list/AddFieldDialog.vue.d.ts +1 -1
- package/dist/types/meta/feedbacks/list/CustomFieldDialog.vue.d.ts +1 -1
- package/dist/types/meta/feedbacks/list/FormatDialog.vue.d.ts +1 -1
- package/dist/types/meta/feedbacks/list/ReferDialog.vue.d.ts +1 -1
- package/dist/types/meta/forms/CustomForm.vue.d.ts +2 -2
- package/dist/types/meta/forms/FieldForm.vue.d.ts +2 -2
- package/dist/types/meta/forms/FormatForm.vue.d.ts +4 -4
- package/dist/types/meta/forms/ReferForm.vue.d.ts +3 -3
- package/dist/types/meta/forms/ViewForm.vue.d.ts +2 -2
- package/dist/types/meta/forms/field/FieldFormBtn.vue.d.ts +1 -1
- package/dist/types/meta/forms/formats/DateFormats.vue.d.ts +1 -1
- package/dist/types/meta/forms/formats/FileFormats.vue.d.ts +1 -1
- package/dist/types/meta/forms/formats/NumberFormats.vue.d.ts +1 -1
- package/dist/types/meta/forms/formats/SetFormats.vue.d.ts +1 -1
- package/dist/types/meta/forms/formats/TextFormats.vue.d.ts +1 -1
- package/dist/types/meta/labels/FieldLabel.vue.d.ts +1 -1
- package/dist/types/meta/labels/ViewLabel.vue.d.ts +1 -1
- package/dist/types/meta/panels/ListPanel.vue.d.ts +1 -1
- package/dist/types/meta/panels/ViewPanel.vue.d.ts +1 -1
- package/dist/types/meta/panels/list-custom/FieldWidgets.d.ts +1 -1
- package/dist/types/meta/tools/TreeRootSelection.vue.d.ts +1 -1
- package/dist/types/meta/tools/types.d.ts +1 -1
- package/dist/types/usages/form-codes/CodesForm.vue.d.ts +13 -13
- package/dist/types/usages/form-codes/hooks.d.ts +26 -26
- package/dist/types/usages/form-codes/types.d.ts +1 -1
- package/dist/types/usages/table-codes/CodesTable.vue.d.ts +1 -1
- package/dist/types/usages/table-codes/types.d.ts +1 -1
- package/dist/types/usages/table-data/DTable.vue.d.ts +1 -1
- package/dist/types/usages/table-data/hooks.d.ts +33 -33
- package/dist/types/usages/table-data/types.d.ts +1 -1
- package/dist/types/usages/table-plain/@hooks/data.d.ts +23 -23
- package/dist/types/usages/table-plain/@hooks/view.d.ts +19 -19
- package/dist/types/usages/table-plain/PTable.vue.d.ts +1 -1
- package/dist/types/usages/table-plain/hooks.d.ts +23 -23
- package/dist/types/usages/table-plain/types.d.ts +1 -1
- package/dist/types/usages/tree-data/DTree.vue.d.ts +4 -4
- package/dist/types/usages/tree-data/hooks.d.ts +26 -26
- package/dist/types/usages/tree-data/tree-table/DTreeTable.vue.d.ts +1 -1
- package/dist/types/usages/tree-data/types.d.ts +1 -1
- package/dist/types/widgets/depands/MCharts.vue.d.ts +1 -1
- package/dist/types/widgets/extensions/CtrlButton.vue.d.ts +1 -1
- package/dist/types/widgets/extensions/MOption.vue.d.ts +1 -1
- package/dist/types/widgets/feedbacks/dialog/MDialog.vue.d.ts +1 -1
- package/dist/types/widgets/feedbacks/functions.d.ts +1 -1
- package/dist/types/widgets/file/MFileView.vue.d.ts +1 -1
- package/dist/types/widgets/icon/types.d.ts +1 -1
- package/dist/types/widgets/wrap/MShrink.vue.d.ts +2 -2
- package/package.json +5 -3
- package/dist/types/data/upload/components/form/UploadForm.vue.d.ts +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DataItem } from "
|
|
1
|
+
import type { DataItem } from "../../../../lib";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
3
3
|
open: (data?: DataItem) => void;
|
|
4
4
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Model } from "../../../../../lib";
|
|
2
2
|
export declare function useSystemControl(): {
|
|
3
|
-
load_roles: () => Promise<import("
|
|
4
|
-
load_accounts: () => Promise<import("
|
|
3
|
+
load_roles: () => Promise<import("../../../../../lib").DataItem[]>;
|
|
4
|
+
load_accounts: () => Promise<import("../../../../../lib").DataItem[]>;
|
|
5
5
|
load_menus: () => Promise<Model>;
|
|
6
6
|
accountInfo: import("vue").ComputedRef<{
|
|
7
7
|
accessor: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare function useAdminMenu(): {
|
|
2
|
-
options: import("vue").ComputedRef<import("
|
|
3
|
-
mapping: import("vue").Ref<import("
|
|
2
|
+
options: import("vue").ComputedRef<import("../../lib").TreeItem[]>;
|
|
3
|
+
mapping: import("vue").Ref<import("../../lib").TreeMapping, import("../../lib").TreeMapping>;
|
|
4
4
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MCellProps } from "./types";
|
|
2
|
-
import {
|
|
2
|
+
import type { DataItem } from "../../lib";
|
|
3
3
|
declare function getData(): DataItem | null;
|
|
4
4
|
declare function confirm(): void;
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<MCellProps, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { type DataItem,
|
|
1
|
+
import { type DataItem, MetaField, Model, type SearchType } from "../../../lib";
|
|
2
2
|
export declare function useReferCell(field: MetaField, row: DataItem, type: SearchType, convertor?: (item: any) => void): {
|
|
3
3
|
model: import("vue").Ref<{
|
|
4
4
|
results: {
|
|
5
5
|
[x: string]: any;
|
|
6
|
-
id?: import("
|
|
7
|
-
sort?: import("
|
|
6
|
+
id?: import("../../../lib").DataItemId | undefined;
|
|
7
|
+
sort?: import("../../../lib").DataItemId | undefined;
|
|
8
8
|
saved?: boolean | undefined;
|
|
9
9
|
name?: string | undefined;
|
|
10
10
|
disabled?: boolean | undefined;
|
|
@@ -15,8 +15,8 @@ export declare function useReferCell(field: MetaField, row: DataItem, type: Sear
|
|
|
15
15
|
}, Model | {
|
|
16
16
|
results: {
|
|
17
17
|
[x: string]: any;
|
|
18
|
-
id?: import("
|
|
19
|
-
sort?: import("
|
|
18
|
+
id?: import("../../../lib").DataItemId | undefined;
|
|
19
|
+
sort?: import("../../../lib").DataItemId | undefined;
|
|
20
20
|
saved?: boolean | undefined;
|
|
21
21
|
name?: string | undefined;
|
|
22
22
|
disabled?: boolean | undefined;
|
|
@@ -37,7 +37,7 @@ export declare function useReferCell(field: MetaField, row: DataItem, type: Sear
|
|
|
37
37
|
display: string;
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
-
manager: import("
|
|
40
|
+
manager: import("../../../lib").Manager;
|
|
41
41
|
condition: {
|
|
42
42
|
includes: any;
|
|
43
43
|
excludes: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type DataItem } from "@morghulis/lib";
|
|
2
1
|
import type { MFormProps } from "./types";
|
|
2
|
+
import type { DataItem } from "../../lib";
|
|
3
3
|
declare function getData(): DataItem[] | null;
|
|
4
4
|
declare const __VLS_export: import("vue").DefineComponent<MFormProps, {
|
|
5
5
|
getData: typeof getData;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { type Ref } from "vue";
|
|
2
2
|
import type { FormMapping, MFormProps } from "./types";
|
|
3
|
-
import { type DataItem, MetaField } from "
|
|
3
|
+
import { type DataItem, MetaField } from "../../lib";
|
|
4
4
|
export declare function useMForm($config: MFormProps | Ref<MFormProps>): {
|
|
5
5
|
fields: import("vue").ComputedRef<MetaField[]>;
|
|
6
6
|
bean: Ref<{
|
|
7
7
|
[x: string]: any;
|
|
8
|
-
id?: import("
|
|
9
|
-
sort?: import("
|
|
8
|
+
id?: import("../../lib").DataItemId | undefined;
|
|
9
|
+
sort?: import("../../lib").DataItemId | undefined;
|
|
10
10
|
saved?: boolean | undefined;
|
|
11
11
|
name?: string | undefined;
|
|
12
12
|
disabled?: boolean | undefined;
|
|
13
13
|
}, DataItem | {
|
|
14
14
|
[x: string]: any;
|
|
15
|
-
id?: import("
|
|
16
|
-
sort?: import("
|
|
15
|
+
id?: import("../../lib").DataItemId | undefined;
|
|
16
|
+
sort?: import("../../lib").DataItemId | undefined;
|
|
17
17
|
saved?: boolean | undefined;
|
|
18
18
|
name?: string | undefined;
|
|
19
19
|
disabled?: boolean | undefined;
|
|
@@ -21,8 +21,8 @@ export declare function useMForm($config: MFormProps | Ref<MFormProps>): {
|
|
|
21
21
|
$disabled: (field: MetaField) => boolean | undefined;
|
|
22
22
|
mapping: import("vue").ComputedRef<FormMapping>;
|
|
23
23
|
row: import("vue").ComputedRef<{
|
|
24
|
-
id: import("
|
|
25
|
-
sort?: import("
|
|
24
|
+
id: import("../../lib").DataItemId;
|
|
25
|
+
sort?: import("../../lib").DataItemId;
|
|
26
26
|
saved?: boolean;
|
|
27
27
|
name?: string;
|
|
28
28
|
disabled?: boolean;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import type { MTableProps, TableCollector } from "../../types";
|
|
2
|
-
import type { DataItemId, MetaRowFrame } from "
|
|
2
|
+
import type { DataItemId, MetaRowFrame } from "../../../../lib";
|
|
3
3
|
type __VLS_Props = MTableProps & {
|
|
4
4
|
collector: TableCollector;
|
|
5
5
|
collection: DataItemId[];
|
|
6
6
|
frame: MetaRowFrame;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
lookup: (...args: any[]) => void;
|
|
9
10
|
field: (...args: any[]) => void;
|
|
10
11
|
cell: (...args: any[]) => void;
|
|
11
|
-
lookup: (...args: any[]) => void;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onLookup?: ((...args: any[]) => any) | undefined;
|
|
13
14
|
onField?: ((...args: any[]) => any) | undefined;
|
|
14
15
|
onCell?: ((...args: any[]) => any) | undefined;
|
|
15
|
-
onLookup?: ((...args: any[]) => any) | undefined;
|
|
16
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
18
18
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type DataItemId, type MetaRowFrame } from "@morghulis/lib";
|
|
2
1
|
import type { MTableProps, TableCollector } from "../../types";
|
|
2
|
+
import type { DataItemId, MetaRowFrame } from "../../../../lib";
|
|
3
3
|
type __VLS_Props = MTableProps & {
|
|
4
4
|
frame: MetaRowFrame;
|
|
5
5
|
collector: TableCollector;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type DataItem, type DataItemId, type MetaField, type MetaRowFrame, type MetaView } from "
|
|
1
|
+
import { type DataItem, type DataItemId, type MetaField, type MetaRowFrame, type MetaView } from "../../../../../lib";
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
view: MetaView;
|
|
4
4
|
field: MetaField;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type DataItem, type MetaField } from "
|
|
1
|
+
import { type DataItem, type MetaField } from "../../../../lib";
|
|
2
2
|
import type { MTableProps } from "../../types";
|
|
3
3
|
declare function open(event: PointerEvent, row: DataItem, field: MetaField): void;
|
|
4
4
|
declare function close(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MTableProps } from "../../types";
|
|
2
|
-
import
|
|
2
|
+
import { MetaField } from "../../../../lib";
|
|
3
3
|
declare function open(event: PointerEvent, field: MetaField): void;
|
|
4
4
|
declare const __VLS_export: import("vue").DefineComponent<MTableProps, {
|
|
5
5
|
open: typeof open;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MTableProps } from "../../types";
|
|
2
|
-
import type { MetaValidator } from "
|
|
2
|
+
import type { MetaValidator } from "../../../../lib";
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<MTableProps, {
|
|
4
4
|
open: (validator?: MetaValidator) => void | undefined;
|
|
5
5
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { type IFinder, type LookupType, MetaField } from "
|
|
1
|
+
import { type IFinder, type LookupType, MetaField } from "../../../../lib";
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
field: MetaField;
|
|
4
4
|
finder: IFinder;
|
|
5
5
|
};
|
|
6
6
|
declare function getData(): {
|
|
7
|
-
type: import("
|
|
7
|
+
type: import("../../../../lib/data/query/types").ConditionType;
|
|
8
8
|
prop: string;
|
|
9
9
|
lookup: LookupType;
|
|
10
10
|
value: any;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type Ref } from "vue";
|
|
2
2
|
import type { MTableProps, TableCollector } from "../types";
|
|
3
3
|
import type { TableInstance } from "element-plus";
|
|
4
|
-
import {
|
|
4
|
+
import type { DataItemId } from "../../../lib";
|
|
5
5
|
export declare function useTableSelection(props: MTableProps, table: Ref<TableInstance | undefined>): {
|
|
6
|
-
selection: import("vue").ComputedRef<import("
|
|
6
|
+
selection: import("vue").ComputedRef<import("../../../lib").DataItem[]>;
|
|
7
7
|
collector: TableCollector;
|
|
8
8
|
collection: Ref<DataItemId[], DataItemId[]>;
|
|
9
9
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Ref } from "vue";
|
|
2
2
|
import type { MTableProps } from "../types";
|
|
3
3
|
import type { TableInstance } from "element-plus";
|
|
4
|
-
import {
|
|
4
|
+
import type { DataItem } from "../../../lib";
|
|
5
5
|
export declare function useTableSortable(props: MTableProps, table: Ref<TableInstance | undefined>): {
|
|
6
6
|
createSortable: (items: DataItem[], enable: boolean) => void;
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type DataItem, type DataItemId, type IFinder, Lookup, type Orders, Search, type TableMapping } from "
|
|
1
|
+
import { type DataItem, type DataItemId, type IFinder, Lookup, type Orders, Search, type TableMapping } from "../../lib";
|
|
2
2
|
import type { MPlugin } from "../plugin";
|
|
3
3
|
import type { MDataProps, Rest } from "../types";
|
|
4
4
|
export type MTableProps = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TreeItem } from "
|
|
1
|
+
import type { TreeItem } from "../../../../lib";
|
|
2
2
|
import type { MTreeProps, TreeCollector } from "../../types";
|
|
3
3
|
type __VLS_Props = MTreeProps & {
|
|
4
4
|
modelValue?: string;
|
|
@@ -6,13 +6,13 @@ type __VLS_Props = MTreeProps & {
|
|
|
6
6
|
collector: TreeCollector;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
batch: (...args: any[]) => void;
|
|
9
10
|
table: (...args: any[]) => void;
|
|
10
11
|
"update:modelValue": (...args: any[]) => void;
|
|
11
|
-
batch: (...args: any[]) => void;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onBatch?: ((...args: any[]) => any) | undefined;
|
|
13
14
|
onTable?: ((...args: any[]) => any) | undefined;
|
|
14
15
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
15
|
-
onBatch?: ((...args: any[]) => any) | undefined;
|
|
16
16
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
18
18
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MTreeProps } from "../../types";
|
|
2
|
-
import
|
|
2
|
+
import { MetaField, type TreeItem } from "../../../../lib";
|
|
3
3
|
type __VLS_Props = MTreeProps & {
|
|
4
4
|
field: MetaField;
|
|
5
5
|
};
|
|
@@ -9,11 +9,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
9
9
|
open: typeof open;
|
|
10
10
|
close: typeof close;
|
|
11
11
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
-
table: (...args: any[]) => void;
|
|
13
12
|
batch: (...args: any[]) => void;
|
|
13
|
+
table: (...args: any[]) => void;
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
onTable?: ((...args: any[]) => any) | undefined;
|
|
16
15
|
onBatch?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
onTable?: ((...args: any[]) => any) | undefined;
|
|
17
17
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
19
19
|
export default _default;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { MetaView, type TreeItem } from "../../../../../lib";
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
view: MetaView;
|
|
4
4
|
node: TreeItem;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
batch: (...args: any[]) => void;
|
|
7
8
|
remove: (...args: any[]) => void;
|
|
8
9
|
table: (...args: any[]) => void;
|
|
9
10
|
switch: (...args: any[]) => void;
|
|
10
11
|
confirm: (...args: any[]) => void;
|
|
11
|
-
batch: (...args: any[]) => void;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onBatch?: ((...args: any[]) => any) | undefined;
|
|
13
14
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
14
15
|
onTable?: ((...args: any[]) => any) | undefined;
|
|
15
16
|
onSwitch?: ((...args: any[]) => any) | undefined;
|
|
16
17
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
onBatch?: ((...args: any[]) => any) | undefined;
|
|
18
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
20
20
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Ref } from "vue";
|
|
2
2
|
import type { MTreeProps, TreeDisclosure } from "../types";
|
|
3
|
-
import type { DataItemId, TreeItem, TreeNode } from "
|
|
3
|
+
import type { DataItemId, TreeItem, TreeNode } from "../../../lib";
|
|
4
4
|
import type { TreeInstance } from "element-plus";
|
|
5
5
|
export declare function useTreeDisclosure(config: Ref<MTreeProps>, tree: Ref<TreeInstance | undefined>): {
|
|
6
6
|
expansion: Ref<DataItemId[], DataItemId[]>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type Ref } from "vue";
|
|
2
|
-
import { type DataItemId } from "@morghulis/lib";
|
|
3
2
|
import type { MTreeProps, TreeCollector } from "../types";
|
|
4
3
|
import type { TreeInstance } from "element-plus";
|
|
4
|
+
import type { DataItemId } from "../../../lib";
|
|
5
5
|
export declare function useTreeSelection(config: Ref<MTreeProps>, tree: Ref<TreeInstance | undefined>): {
|
|
6
6
|
collection: Ref<DataItemId[], DataItemId[]>;
|
|
7
|
-
selection: import("vue").ComputedRef<import("
|
|
7
|
+
selection: import("vue").ComputedRef<import("../../../lib").TreeItem[]>;
|
|
8
8
|
collector: TreeCollector;
|
|
9
9
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { DataItemId, TreeItem, TreeMapping } from "@morghulis/lib";
|
|
2
1
|
import type { MPlugin } from "../plugin";
|
|
3
2
|
import type { MDataProps, Rest } from "../types";
|
|
3
|
+
import type { DataItemId, TreeItem, TreeMapping } from "../../lib";
|
|
4
4
|
export type MTreeProps = {
|
|
5
5
|
results: TreeItem[];
|
|
6
6
|
mapping: TreeMapping;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { DataItem, DataItemId, MetaView } from "@morghulis/lib";
|
|
2
1
|
import type { Ticker } from "../widgets";
|
|
3
2
|
import type { Sizes } from "../types";
|
|
3
|
+
import { type DataItem, type DataItemId, MetaView } from "../lib";
|
|
4
4
|
export type MDataProps = MDataUI & {
|
|
5
5
|
admin?: boolean;
|
|
6
6
|
view: MetaView;
|