@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.
Files changed (176) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/morghulis-core.es.js +12532 -12939
  3. package/dist/morghulis-core.es.js.map +1 -1
  4. package/dist/tsconfig.build.tsbuildinfo +1 -1
  5. package/dist/types/app/admin/components/dialogs/AccountDialog.vue.d.ts +1 -1
  6. package/dist/types/app/admin/components/dialogs/forms/AccountForm.vue.d.ts +1 -1
  7. package/dist/types/app/admin/contents/hooks.d.ts +1 -1
  8. package/dist/types/app/admin/contents/menu/AdminMenu.vue.d.ts +1 -1
  9. package/dist/types/app/admin/contents/menu/MenuTreeNode.vue.d.ts +1 -1
  10. package/dist/types/app/admin/contents/navigate/AdminNavigate.vue.d.ts +1 -1
  11. package/dist/types/app/admin/contents/system/feedbacks/AccountRoleDialog.vue.d.ts +1 -1
  12. package/dist/types/app/admin/contents/system/feedbacks/MenuAddDialog.vue.d.ts +1 -1
  13. package/dist/types/app/admin/contents/system/feedbacks/MenuPathPopover.vue.d.ts +1 -1
  14. package/dist/types/app/admin/contents/system/feedbacks/MenuRoleDialog.vue.d.ts +1 -1
  15. package/dist/types/app/admin/contents/system/feedbacks/RoleAccountDialog.vue.d.ts +1 -1
  16. package/dist/types/app/admin/contents/system/feedbacks/RoleMenuDialog.vue.d.ts +1 -1
  17. package/dist/types/app/admin/contents/system/feedbacks/hooks.d.ts +3 -3
  18. package/dist/types/app/admin/contents/system/widgets/MenuRolePlugin.vue.d.ts +1 -1
  19. package/dist/types/app/admin/hooks.d.ts +2 -2
  20. package/dist/types/components.d.ts +1 -0
  21. package/dist/types/data/cell/FieldTransfer.vue.d.ts +1 -1
  22. package/dist/types/data/cell/MCell.vue.d.ts +1 -1
  23. package/dist/types/data/cell/instances/hooks.d.ts +6 -6
  24. package/dist/types/data/cell/types.d.ts +1 -1
  25. package/dist/types/data/form/MForm.vue.d.ts +1 -1
  26. package/dist/types/data/form/hooks.d.ts +7 -7
  27. package/dist/types/data/form/types.d.ts +1 -1
  28. package/dist/types/data/form/widgets/MFormLabel.vue.d.ts +1 -1
  29. package/dist/types/data/plugin/MPluginButtons.vue.d.ts +1 -1
  30. package/dist/types/data/plugin/MPluginColumn.vue.d.ts +1 -1
  31. package/dist/types/data/plugin/types.d.ts +1 -1
  32. package/dist/types/data/table/MTable.vue.d.ts +1 -1
  33. package/dist/types/data/table/components/columns/ButtonsColumn.vue.d.ts +1 -1
  34. package/dist/types/data/table/components/columns/CustomColumn.vue.d.ts +1 -1
  35. package/dist/types/data/table/components/columns/FieldColumn.vue.d.ts +3 -3
  36. package/dist/types/data/table/components/columns/IndexColumn.vue.d.ts +1 -1
  37. package/dist/types/data/table/components/columns/cells/MTableCell.vue.d.ts +1 -1
  38. package/dist/types/data/table/components/columns/cells/MTableHeaderCell.vue.d.ts +1 -1
  39. package/dist/types/data/table/components/columns/cells/MTableIndexCell.vue.d.ts +1 -1
  40. package/dist/types/data/table/components/control/MTableControl.vue.d.ts +1 -1
  41. package/dist/types/data/table/components/control/MTableControlButtons.vue.d.ts +1 -1
  42. package/dist/types/data/table/components/feedback/CellDialog.vue.d.ts +1 -1
  43. package/dist/types/data/table/components/feedback/CellPopover.vue.d.ts +1 -1
  44. package/dist/types/data/table/components/feedback/IndexPopover.vue.d.ts +1 -1
  45. package/dist/types/data/table/components/feedback/LookupPopover.vue.d.ts +1 -1
  46. package/dist/types/data/table/components/feedback/UploadDialog.vue.d.ts +1 -1
  47. package/dist/types/data/table/components/finder/MTableFinder.vue.d.ts +2 -2
  48. package/dist/types/data/table/components/tools/MTableSelection.vue.d.ts +1 -1
  49. package/dist/types/data/table/hooks/selection.d.ts +2 -2
  50. package/dist/types/data/table/hooks/sortable.d.ts +1 -1
  51. package/dist/types/data/table/types.d.ts +1 -1
  52. package/dist/types/data/tree/MTree.vue.d.ts +1 -1
  53. package/dist/types/data/tree/components/control/MTreeControl.vue.d.ts +3 -3
  54. package/dist/types/data/tree/components/feedback/BatchDialog.vue.d.ts +1 -1
  55. package/dist/types/data/tree/components/feedback/NodePopover.vue.d.ts +3 -3
  56. package/dist/types/data/tree/components/feedback/TableDialog.vue.d.ts +1 -1
  57. package/dist/types/data/tree/components/feedback/widgets/BatchForm.vue.d.ts +1 -1
  58. package/dist/types/data/tree/components/feedback/widgets/NodeButtons.vue.d.ts +3 -3
  59. package/dist/types/data/tree/components/node/MTreeNode.vue.d.ts +1 -1
  60. package/dist/types/data/tree/components/node/MTreePlugin.vue.d.ts +1 -1
  61. package/dist/types/data/tree/components/tools/ToggleNodeTool.vue.d.ts +1 -1
  62. package/dist/types/data/tree/hooks/disclosure.d.ts +1 -1
  63. package/dist/types/data/tree/hooks/selection.d.ts +2 -2
  64. package/dist/types/data/tree/types.d.ts +1 -1
  65. package/dist/types/data/types.d.ts +1 -1
  66. package/dist/types/data/upload/components/impoter/UploadImporter.vue.d.ts +1 -1
  67. package/dist/types/data/upload/components/impoter/components/ImporterTemplate.vue.d.ts +1 -1
  68. package/dist/types/data/upload/components/table/UploadTable.vue.d.ts +1 -1
  69. package/dist/types/data/upload/components/table/components/cells/UploadTableCell.vue.d.ts +1 -1
  70. package/dist/types/data/upload/components/table/components/valid/UploadTableValidation.vue.d.ts +1 -1
  71. package/dist/types/data/upload/hooks.d.ts +13 -13
  72. package/dist/types/data/upload/types.d.ts +1 -1
  73. package/dist/types/index.d.ts +0 -1
  74. package/dist/types/lib/core/channel/hooks.d.ts +11 -0
  75. package/dist/types/lib/core/channel/index.d.ts +8 -0
  76. package/dist/types/lib/core/channel/types.d.ts +52 -0
  77. package/dist/types/lib/core/channel/utils/container.d.ts +7 -0
  78. package/dist/types/lib/core/channel/utils/hub.d.ts +7 -0
  79. package/dist/types/lib/core/index.d.ts +2 -0
  80. package/dist/types/lib/core/network/hooks.d.ts +4 -0
  81. package/dist/types/lib/core/network/index.d.ts +9 -0
  82. package/dist/types/lib/core/network/types.d.ts +3 -0
  83. package/dist/types/lib/core/network/utils/http.d.ts +5 -0
  84. package/dist/types/lib/core/network/utils/socket.d.ts +6 -0
  85. package/dist/types/lib/data/dao/cogs/Model.d.ts +9 -0
  86. package/dist/types/lib/data/dao/cogs/Search.d.ts +12 -0
  87. package/dist/types/lib/data/dao/hooks.d.ts +8 -0
  88. package/dist/types/lib/data/dao/index.d.ts +14 -0
  89. package/dist/types/lib/data/dao/types.d.ts +39 -0
  90. package/dist/types/lib/data/hooks.d.ts +245 -0
  91. package/dist/types/lib/data/index.d.ts +6 -0
  92. package/dist/types/lib/data/meta/cogs/MetaField.d.ts +47 -0
  93. package/dist/types/lib/data/meta/cogs/MetaFormat.d.ts +26 -0
  94. package/dist/types/lib/data/meta/cogs/MetaRefer.d.ts +17 -0
  95. package/dist/types/lib/data/meta/cogs/MetaView.d.ts +36 -0
  96. package/dist/types/lib/data/meta/hooks.d.ts +23 -0
  97. package/dist/types/lib/data/meta/index.d.ts +16 -0
  98. package/dist/types/lib/data/meta/parser.d.ts +25 -0
  99. package/dist/types/lib/data/meta/types.d.ts +150 -0
  100. package/dist/types/lib/data/model/hooks.d.ts +44 -0
  101. package/dist/types/lib/data/model/index.d.ts +2 -0
  102. package/dist/types/lib/data/model/types.d.ts +7 -0
  103. package/dist/types/lib/data/query/cogs/Condition.d.ts +6 -0
  104. package/dist/types/lib/data/query/cogs/Lookup.d.ts +20 -0
  105. package/dist/types/lib/data/query/hooks.d.ts +63 -0
  106. package/dist/types/lib/data/query/index.d.ts +5 -0
  107. package/dist/types/lib/data/query/parser.d.ts +3 -0
  108. package/dist/types/lib/data/query/types.d.ts +18 -0
  109. package/dist/types/lib/data/types.d.ts +55 -0
  110. package/dist/types/lib/index.d.ts +8 -0
  111. package/dist/types/lib/install.d.ts +5 -0
  112. package/dist/types/lib/utils/aoa/hooks.d.ts +10 -0
  113. package/dist/types/lib/utils/aoa/index.d.ts +2 -0
  114. package/dist/types/lib/utils/aoa/types.d.ts +5 -0
  115. package/dist/types/lib/utils/functions.d.ts +1 -0
  116. package/dist/types/lib/utils/index.d.ts +5 -0
  117. package/dist/types/lib/utils/pagination/index.d.ts +6 -0
  118. package/dist/types/lib/utils/paster/hooks.d.ts +5 -0
  119. package/dist/types/lib/utils/paster/index.d.ts +1 -0
  120. package/dist/types/lib/utils/xlsx/hooks.d.ts +14 -0
  121. package/dist/types/lib/utils/xlsx/index.d.ts +2 -0
  122. package/dist/types/lib/utils/xlsx/types.d.ts +31 -0
  123. package/dist/types/meta/MetaPopover.vue.d.ts +1 -1
  124. package/dist/types/meta/feedbacks/FieldDialog.vue.d.ts +1 -1
  125. package/dist/types/meta/feedbacks/ListDialog.vue.d.ts +1 -1
  126. package/dist/types/meta/feedbacks/MetaDialog.vue.d.ts +1 -1
  127. package/dist/types/meta/feedbacks/ViewDialog.vue.d.ts +1 -1
  128. package/dist/types/meta/feedbacks/list/AddFieldDialog.vue.d.ts +1 -1
  129. package/dist/types/meta/feedbacks/list/CustomFieldDialog.vue.d.ts +1 -1
  130. package/dist/types/meta/feedbacks/list/FormatDialog.vue.d.ts +1 -1
  131. package/dist/types/meta/feedbacks/list/ReferDialog.vue.d.ts +1 -1
  132. package/dist/types/meta/forms/CustomForm.vue.d.ts +2 -2
  133. package/dist/types/meta/forms/FieldForm.vue.d.ts +2 -2
  134. package/dist/types/meta/forms/FormatForm.vue.d.ts +4 -4
  135. package/dist/types/meta/forms/ReferForm.vue.d.ts +3 -3
  136. package/dist/types/meta/forms/ViewForm.vue.d.ts +2 -2
  137. package/dist/types/meta/forms/field/FieldFormBtn.vue.d.ts +1 -1
  138. package/dist/types/meta/forms/formats/DateFormats.vue.d.ts +1 -1
  139. package/dist/types/meta/forms/formats/FileFormats.vue.d.ts +1 -1
  140. package/dist/types/meta/forms/formats/NumberFormats.vue.d.ts +1 -1
  141. package/dist/types/meta/forms/formats/SetFormats.vue.d.ts +1 -1
  142. package/dist/types/meta/forms/formats/TextFormats.vue.d.ts +1 -1
  143. package/dist/types/meta/labels/FieldLabel.vue.d.ts +1 -1
  144. package/dist/types/meta/labels/ViewLabel.vue.d.ts +1 -1
  145. package/dist/types/meta/panels/ListPanel.vue.d.ts +1 -1
  146. package/dist/types/meta/panels/ViewPanel.vue.d.ts +1 -1
  147. package/dist/types/meta/panels/list-custom/FieldWidgets.d.ts +1 -1
  148. package/dist/types/meta/tools/TreeRootSelection.vue.d.ts +1 -1
  149. package/dist/types/meta/tools/types.d.ts +1 -1
  150. package/dist/types/usages/form-codes/CodesForm.vue.d.ts +13 -13
  151. package/dist/types/usages/form-codes/hooks.d.ts +26 -26
  152. package/dist/types/usages/form-codes/types.d.ts +1 -1
  153. package/dist/types/usages/table-codes/CodesTable.vue.d.ts +1 -1
  154. package/dist/types/usages/table-codes/types.d.ts +1 -1
  155. package/dist/types/usages/table-data/DTable.vue.d.ts +1 -1
  156. package/dist/types/usages/table-data/hooks.d.ts +33 -33
  157. package/dist/types/usages/table-data/types.d.ts +1 -1
  158. package/dist/types/usages/table-plain/@hooks/data.d.ts +23 -23
  159. package/dist/types/usages/table-plain/@hooks/view.d.ts +19 -19
  160. package/dist/types/usages/table-plain/PTable.vue.d.ts +1 -1
  161. package/dist/types/usages/table-plain/hooks.d.ts +23 -23
  162. package/dist/types/usages/table-plain/types.d.ts +1 -1
  163. package/dist/types/usages/tree-data/DTree.vue.d.ts +4 -4
  164. package/dist/types/usages/tree-data/hooks.d.ts +26 -26
  165. package/dist/types/usages/tree-data/tree-table/DTreeTable.vue.d.ts +1 -1
  166. package/dist/types/usages/tree-data/types.d.ts +1 -1
  167. package/dist/types/widgets/depands/MCharts.vue.d.ts +1 -1
  168. package/dist/types/widgets/extensions/CtrlButton.vue.d.ts +1 -1
  169. package/dist/types/widgets/extensions/MOption.vue.d.ts +1 -1
  170. package/dist/types/widgets/feedbacks/dialog/MDialog.vue.d.ts +1 -1
  171. package/dist/types/widgets/feedbacks/functions.d.ts +1 -1
  172. package/dist/types/widgets/file/MFileView.vue.d.ts +1 -1
  173. package/dist/types/widgets/icon/types.d.ts +1 -1
  174. package/dist/types/widgets/wrap/MShrink.vue.d.ts +2 -2
  175. package/package.json +5 -3
  176. package/dist/types/data/upload/components/form/UploadForm.vue.d.ts +0 -8
@@ -1,4 +1,4 @@
1
- import type { DataItem } from "@morghulis/lib";
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,4 +1,4 @@
1
- import type { DataItem } from "@morghulis/lib";
1
+ import type { DataItem } from "../../../../../lib";
2
2
  type __VLS_Props = {
3
3
  account?: DataItem;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { DataItemId } from "@morghulis/lib";
1
+ import type { DataItemId } from "../../../lib";
2
2
  export declare function useUser(): {
3
3
  userStore: import("pinia").Store<"user", {
4
4
  token: string;
@@ -1,4 +1,4 @@
1
- import type { TreeItem } from "@morghulis/lib";
1
+ import type { TreeItem } from "../../../../lib";
2
2
  type __VLS_Props = {
3
3
  options: TreeItem[];
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { TreeItem, TreeNode } from "@morghulis/lib";
1
+ import type { TreeItem, TreeNode } from "../../../../lib";
2
2
  type __VLS_Props = {
3
3
  item: TreeItem;
4
4
  node: TreeNode;
@@ -1,4 +1,4 @@
1
- import type { TreeMapping } from "@morghulis/lib";
1
+ import type { TreeMapping } from "../../../../lib";
2
2
  type __VLS_Props = {
3
3
  mapping: TreeMapping;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { type DataItem } from "@morghulis/lib";
1
+ import type { DataItem } from "../../../../../lib";
2
2
  declare function open(account: DataItem): void;
3
3
  declare const __VLS_export: import("vue").DefineComponent<{}, {
4
4
  open: typeof open;
@@ -1,4 +1,4 @@
1
- import type { DataItem, DataItemId } from "@morghulis/lib";
1
+ import type { DataItem, DataItemId } from "../../../../../lib";
2
2
  type __VLS_Props = {
3
3
  vacant: DataItem[];
4
4
  pid: DataItemId | null;
@@ -1,4 +1,4 @@
1
- import type { DataItem } from "@morghulis/lib";
1
+ import type { DataItem } from "../../../../../lib";
2
2
  type __VLS_Props = {
3
3
  vacant: DataItem[];
4
4
  };
@@ -1,4 +1,4 @@
1
- import { type DataItem } from "@morghulis/lib";
1
+ import type { DataItem } from "../../../../../lib";
2
2
  declare function open(menu: DataItem): void;
3
3
  declare const __VLS_export: import("vue").DefineComponent<{}, {
4
4
  open: typeof open;
@@ -1,4 +1,4 @@
1
- import { type DataItem } from "@morghulis/lib";
1
+ import type { DataItem } from "../../../../../lib";
2
2
  declare function open(role: DataItem): void;
3
3
  declare const __VLS_export: import("vue").DefineComponent<{}, {
4
4
  open: typeof open;
@@ -1,4 +1,4 @@
1
- import { type DataItem } from "@morghulis/lib";
1
+ import type { DataItem } from "../../../../../lib";
2
2
  declare function open(role: DataItem): void;
3
3
  declare const __VLS_export: import("vue").DefineComponent<{}, {
4
4
  open: typeof open;
@@ -1,7 +1,7 @@
1
- import { type Model } from "@morghulis/lib";
1
+ import { Model } from "../../../../../lib";
2
2
  export declare function useSystemControl(): {
3
- load_roles: () => Promise<import("@morghulis/lib").DataItem[]>;
4
- load_accounts: () => Promise<import("@morghulis/lib").DataItem[]>;
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
- import type { DataItem } from "@morghulis/lib";
1
+ import type { DataItem } from "../../../../../lib";
2
2
  type __VLS_Props = {
3
3
  data: DataItem;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  export declare function useAdminMenu(): {
2
- options: import("vue").ComputedRef<import("@morghulis/lib").TreeItem[]>;
3
- mapping: import("vue").Ref<import("@morghulis/lib").TreeMapping, import("@morghulis/lib").TreeMapping>;
2
+ options: import("vue").ComputedRef<import("../../lib").TreeItem[]>;
3
+ mapping: import("vue").Ref<import("../../lib").TreeMapping, import("../../lib").TreeMapping>;
4
4
  };
@@ -4,4 +4,5 @@ export * from './usages';
4
4
  export * from './hooks';
5
5
  export * from './meta';
6
6
  export * from './types';
7
+ export * from './lib';
7
8
  export type { MPlugin, PluginColumn, PluginColumnProps, PluginButton } from './data';
@@ -1,4 +1,4 @@
1
- import type { DataItem, DataItemId, MetaField } from "@morghulis/lib";
1
+ import { type DataItem, type DataItemId, MetaField } from "../../lib";
2
2
  type __VLS_Props = {
3
3
  modelValue: DataItemId[];
4
4
  disabled?: boolean;
@@ -1,5 +1,5 @@
1
1
  import type { MCellProps } from "./types";
2
- import { type DataItem } from "@morghulis/lib";
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, type MetaField, Model, type SearchType } from "@morghulis/lib";
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("@morghulis/lib").DataItemId | undefined;
7
- sort?: import("@morghulis/lib").DataItemId | undefined;
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("@morghulis/lib").DataItemId | undefined;
19
- sort?: import("@morghulis/lib").DataItemId | undefined;
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("@morghulis/lib").Manager;
40
+ manager: import("../../../lib").Manager;
41
41
  condition: {
42
42
  includes: any;
43
43
  excludes: any;
@@ -1,4 +1,4 @@
1
- import { type DataItem, MetaField } from "@morghulis/lib";
1
+ import { type DataItem, MetaField } from "../../lib";
2
2
  export type CellProps = {
3
3
  modelValue: any;
4
4
  } & ICell;
@@ -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 "@morghulis/lib";
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("@morghulis/lib").DataItemId | undefined;
9
- sort?: import("@morghulis/lib").DataItemId | undefined;
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("@morghulis/lib").DataItemId | undefined;
16
- sort?: import("@morghulis/lib").DataItemId | undefined;
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("@morghulis/lib").DataItemId;
25
- sort?: import("@morghulis/lib").DataItemId;
24
+ id: import("../../lib").DataItemId;
25
+ sort?: import("../../lib").DataItemId;
26
26
  saved?: boolean;
27
27
  name?: string;
28
28
  disabled?: boolean;
@@ -1,4 +1,4 @@
1
- import { type DataItem, type DataItemId, MetaView } from "@morghulis/lib";
1
+ import { type DataItem, type DataItemId, MetaView } from "../../lib";
2
2
  export type FormMapping = {
3
3
  [prop: string]: FormCell;
4
4
  };
@@ -1,5 +1,5 @@
1
- import type { MetaField } from "@morghulis/lib";
2
1
  import type { FormMapping } from "../types";
2
+ import { MetaField } from "../../../lib";
3
3
  type __VLS_Props = {
4
4
  field: MetaField;
5
5
  mapping: FormMapping;
@@ -1,5 +1,5 @@
1
1
  import type { PluginButton } from "./types";
2
- import type { DataItem, MetaView } from "@morghulis/lib";
2
+ import { type DataItem, MetaView } from "../../lib";
3
3
  type __VLS_Props = {
4
4
  view: MetaView;
5
5
  row: DataItem;
@@ -1,5 +1,5 @@
1
1
  import type { PluginColumn } from "./types";
2
- import type { MetaView, TreeItem } from "@morghulis/lib";
2
+ import { MetaView, type TreeItem } from "../../lib";
3
3
  type __VLS_Props = {
4
4
  view: MetaView;
5
5
  row: TreeItem;
@@ -1,5 +1,5 @@
1
1
  import type { Component, Ref } from "vue";
2
- import type { DataItem, IconNames, MetaView } from "@morghulis/lib";
2
+ import { type DataItem, type IconNames, MetaView } from "../../lib";
3
3
  export type MPlugin = {
4
4
  buttons?: PluginButton[];
5
5
  columns?: PluginColumn[];
@@ -1,5 +1,5 @@
1
1
  import type { MTableProps, TableController } from "./types";
2
- import { type DataItem, type DataItemId } from "@morghulis/lib";
2
+ import { type DataItem, type DataItemId } from "../../lib";
3
3
  declare var __VLS_6: {
4
4
  width: number;
5
5
  };
@@ -1,4 +1,4 @@
1
- import { type DataItemId, type MetaView } from "@morghulis/lib";
1
+ import { type DataItemId, type MetaView } from "../../../../lib";
2
2
  import { type PluginButton } from "../../../plugin";
3
3
  type __VLS_Props = {
4
4
  view: MetaView;
@@ -1,4 +1,4 @@
1
- import { type DataItemId, type MetaView } from "@morghulis/lib";
1
+ import { type DataItemId, type MetaView } from "../../../../lib";
2
2
  import { type PluginColumn } from "../../../plugin";
3
3
  type __VLS_Props = {
4
4
  view: MetaView;
@@ -1,18 +1,18 @@
1
1
  import type { MTableProps, TableCollector } from "../../types";
2
- import type { DataItemId, MetaRowFrame } from "@morghulis/lib";
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 "@morghulis/lib";
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 { MetaField } from "@morghulis/lib";
1
+ import { MetaField } from "../../../../../lib";
2
2
  import type { MTableProps } from "../../../types";
3
3
  type __VLS_Props = MTableProps & {
4
4
  field: MetaField;
@@ -1,4 +1,4 @@
1
- import { type DataItem, type MetaRowFrame, type MetaView } from "@morghulis/lib";
1
+ import { type DataItem, type MetaRowFrame, type MetaView } from "../../../../../lib";
2
2
  type __VLS_Props = {
3
3
  index: number;
4
4
  row: DataItem;
@@ -1,4 +1,4 @@
1
- import { type DataItem } from "@morghulis/lib";
1
+ import { type DataItem } from "../../../../lib";
2
2
  import type { MTableProps, TableCollector } from "../../types";
3
3
  type __VLS_Props = MTableProps & {
4
4
  selection: DataItem[];
@@ -1,4 +1,4 @@
1
- import type { DataItem, MetaView } from "@morghulis/lib";
1
+ import { type DataItem, MetaView } from "../../../../lib";
2
2
  type __VLS_Props = {
3
3
  admin?: boolean;
4
4
  view: MetaView;
@@ -1,4 +1,4 @@
1
- import { type DataItem, type MetaField } from "@morghulis/lib";
1
+ import { type DataItem, type MetaField } from "../../../../lib";
2
2
  import type { MTableProps, TableCollector } from "../../types";
3
3
  type __VLS_Props = MTableProps & {
4
4
  collector: TableCollector;
@@ -1,4 +1,4 @@
1
- import { type DataItem, type MetaField } from "@morghulis/lib";
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, TableController } from "../../types";
2
- import type { DataItem } from "@morghulis/lib";
2
+ import type { DataItem } from "../../../../lib";
3
3
  type __VLS_Props = MTableProps & {
4
4
  controller?: TableController;
5
5
  selection: DataItem[];
@@ -1,5 +1,5 @@
1
1
  import type { MTableProps } from "../../types";
2
- import type { MetaField } from "@morghulis/lib";
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 "@morghulis/lib";
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 "@morghulis/lib";
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("@morghulis/lib/dist/types/data/query/types").ConditionType;
7
+ type: import("../../../../lib/data/query/types").ConditionType;
8
8
  prop: string;
9
9
  lookup: LookupType;
10
10
  value: any;
@@ -1,4 +1,4 @@
1
- import { type DataItemId } from "@morghulis/lib";
1
+ import { type DataItemId } from "../../../../lib";
2
2
  import type { MTableProps, TableCollector } from "../../types";
3
3
  type __VLS_Props = MTableProps & {
4
4
  collection: DataItemId[];
@@ -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 { type DataItemId } from "@morghulis/lib";
4
+ import type { DataItemId } from "../../../lib";
5
5
  export declare function useTableSelection(props: MTableProps, table: Ref<TableInstance | undefined>): {
6
- selection: import("vue").ComputedRef<import("@morghulis/lib").DataItem[]>;
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 { type DataItem } from "@morghulis/lib";
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 "@morghulis/lib";
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,5 +1,5 @@
1
1
  import type { MTreeProps } from "./types";
2
- import { type DataItemId, type TreeItem } from "@morghulis/lib";
2
+ import { type DataItemId, type TreeItem } from "../../lib";
3
3
  declare var __VLS_19: {
4
4
  width: number;
5
5
  }, __VLS_59: {
@@ -1,4 +1,4 @@
1
- import type { TreeItem } from "@morghulis/lib";
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 type { MetaField, TreeItem } from "@morghulis/lib";
2
+ import { MetaField, type TreeItem } from "../../../../lib";
3
3
  type __VLS_Props = MTreeProps & {
4
4
  field: MetaField;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import type { MTreeProps } from "../../types";
2
- import type { MetaField, TreeItem } from "@morghulis/lib";
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,4 +1,4 @@
1
- import type { TreeItem } from "@morghulis/lib";
1
+ import type { TreeItem } from "../../../../lib";
2
2
  declare function open(node: TreeItem): void;
3
3
  declare const __VLS_export: import("vue").DefineComponent<{}, {
4
4
  open: typeof open;
@@ -1,4 +1,4 @@
1
- import type { DataItemId, MetaView, TreeItem } from "@morghulis/lib";
1
+ import type { DataItemId, MetaView, TreeItem } from "../../../../../lib";
2
2
  type __VLS_Props = {
3
3
  root: DataItemId;
4
4
  view: MetaView;
@@ -1,20 +1,20 @@
1
- import type { MetaView, TreeItem } from "@morghulis/lib";
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,4 +1,4 @@
1
- import type { MetaField, TreeItem, TreeNode } from "@morghulis/lib";
1
+ import type { MetaField, TreeItem, TreeNode } from "../../../../lib";
2
2
  type __VLS_Props = {
3
3
  node: TreeNode;
4
4
  data: TreeItem;
@@ -1,5 +1,5 @@
1
- import type { TreeItem } from "@morghulis/lib";
2
1
  import type { MTreeProps, TreeCollector } from "../../types";
2
+ import type { TreeItem } from "../../../../lib";
3
3
  type __VLS_Props = MTreeProps & {
4
4
  data: TreeItem;
5
5
  collector: TreeCollector;
@@ -1,5 +1,5 @@
1
- import type { DataItemId } from "@morghulis/lib";
2
1
  import type { TreeCollector, TreeDisclosure } from "../../types";
2
+ import type { DataItemId } from "../../../../lib";
3
3
  type __VLS_Props = {
4
4
  collection: DataItemId[];
5
5
  expansion: DataItemId[];
@@ -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 "@morghulis/lib";
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("@morghulis/lib").TreeItem[]>;
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;