halov 0.26.316 → 0.26.401

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 CHANGED
@@ -1,9 +1,9 @@
1
- # halov library document
2
-
3
- ## Prerequisites
4
-
5
- - Install `naive-ui`:
6
-
7
- ```bash
8
- npm install naive-ui
1
+ # halov library document
2
+
3
+ ## Prerequisites
4
+
5
+ - Install `naive-ui`:
6
+
7
+ ```bash
8
+ npm install naive-ui
9
9
 
@@ -1,60 +1,32 @@
1
- import { PropType, VNodeChild } from 'vue';
1
+ import { VNodeChild } from 'vue';
2
2
  import { TreeOption } from 'naive-ui';
3
3
  export type NodeIconRender = (info: {
4
4
  option: TreeOption;
5
5
  checked: boolean;
6
6
  selected: boolean;
7
7
  }) => VNodeChild;
8
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
9
- selectedId: (StringConstructor | NumberConstructor)[];
10
- rootId: {
11
- type: (StringConstructor | NumberConstructor)[];
12
- default: string;
13
- };
14
- rootName: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- data: PropType<any>;
19
- loadTreeAction: {
20
- type: StringConstructor;
21
- required: true;
22
- };
23
- moveAction: StringConstructor;
24
- sortAction: StringConstructor;
25
- treeNodeMapper: PropType<(data: any) => TreeOption>;
26
- labelRender: FunctionConstructor;
27
- searchWords: StringConstructor;
28
- iconRender: PropType<NodeIconRender>;
29
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ type __VLS_Props = {
9
+ selectedId?: number | string;
10
+ rootId?: number | string;
11
+ rootName?: string;
12
+ data?: Array<any>;
13
+ loadTreeAction: string;
14
+ moveAction?: string;
15
+ sortAction?: string;
16
+ treeNodeMapper?: (data: any) => TreeOption;
17
+ labelRender?: Function;
18
+ searchWords?: string;
19
+ iconRender?: NodeIconRender;
20
+ additionKeys?: Record<string, unknown>;
21
+ };
22
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
30
23
  "update:selectedId": (...args: any[]) => void;
31
24
  "update:path": (...args: any[]) => void;
32
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
33
- selectedId: (StringConstructor | NumberConstructor)[];
34
- rootId: {
35
- type: (StringConstructor | NumberConstructor)[];
36
- default: string;
37
- };
38
- rootName: {
39
- type: StringConstructor;
40
- default: string;
41
- };
42
- data: PropType<any>;
43
- loadTreeAction: {
44
- type: StringConstructor;
45
- required: true;
46
- };
47
- moveAction: StringConstructor;
48
- sortAction: StringConstructor;
49
- treeNodeMapper: PropType<(data: any) => TreeOption>;
50
- labelRender: FunctionConstructor;
51
- searchWords: StringConstructor;
52
- iconRender: PropType<NodeIconRender>;
53
- }>> & Readonly<{
25
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
54
26
  "onUpdate:selectedId"?: ((...args: any[]) => any) | undefined;
55
27
  "onUpdate:path"?: ((...args: any[]) => any) | undefined;
56
28
  }>, {
57
- rootId: string | number;
29
+ rootId: number | string;
58
30
  rootName: string;
59
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
60
32
  export default _default;
@@ -12,5 +12,5 @@ export interface GridConfigArgs {
12
12
  }
13
13
  export declare const useGridConfigTool: (args: GridConfigArgs) => {
14
14
  showConfigModal: (options: GridConfigModalOptions) => void;
15
- loadGridConfig: () => void;
15
+ loadGridConfig: (callback?: ActionT<DataGridConfig | null | undefined>) => void;
16
16
  };