@zyui/components 1.0.32 → 1.0.34

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 (85) hide show
  1. package/es/index.js +76 -76
  2. package/es/index.mjs +22784 -22525
  3. package/es/index.umd.js +77 -77
  4. package/es/src/components/DepartmentPicker/context.d.ts +2 -0
  5. package/es/src/components/DepartmentPicker/dialog/department.vue.d.ts +11 -0
  6. package/es/src/components/DepartmentPicker/index.vue.d.ts +11 -0
  7. package/es/src/components/DepartmentPicker/provider.vue.d.ts +11 -0
  8. package/es/src/components/DepartmentSelect/index.vue.d.ts +9 -0
  9. package/es/src/components/NodesEditor/NodesEnterUI.vue.d.ts +4 -1
  10. package/es/src/components/NodesEditor/NodesSelectUI.vue.d.ts +4 -1
  11. package/es/src/components/NodesEditor/hooks/useTableOperations.d.ts +12 -3
  12. package/es/src/components/NodesEditor/index.vue.d.ts +3 -0
  13. package/es/src/components/RoleAndDepartmentPicker/hooks/useDataListByValue.d.ts +1 -1
  14. package/es/src/components/RoleAndDepartmentPicker/index.vue.d.ts +11 -0
  15. package/es/src/components/RoleAndDepartmentPicker/roleAndDepartmentSelect.vue.d.ts +11 -0
  16. package/es/src/components/RolePicker/context.d.ts +2 -0
  17. package/es/src/components/RolePicker/dialog/role.vue.d.ts +11 -0
  18. package/es/src/components/RolePicker/index.vue.d.ts +11 -0
  19. package/es/src/components/RolePicker/provider.vue.d.ts +11 -0
  20. package/es/src/components/RoleSelect/index.vue.d.ts +9 -0
  21. package/es/src/components/UserPicker/context.d.ts +1 -0
  22. package/es/src/components/UserPicker/dialog/picker.vue.d.ts +11 -0
  23. package/es/src/components/UserPicker/index.vue.d.ts +11 -0
  24. package/es/src/components/UserPicker/provider.vue.d.ts +11 -0
  25. package/es/src/components/UserSelect/index.vue.d.ts +9 -0
  26. package/es/src/components/WorkforceSelector/dialog/index.vue.d.ts +9 -0
  27. package/es/src/components/WorkforceSelector/display/alltext.vue.d.ts +9 -0
  28. package/es/src/components/WorkforceSelector/display/index.vue.d.ts +9 -0
  29. package/es/src/components/WorkforceSelector/hooks/useDataDetailByValue.d.ts +1 -1
  30. package/es/src/components/WorkforceSelector/index.vue.d.ts +9 -0
  31. package/es/src/components/WorkforceSelector/list/department.vue.d.ts +20 -1
  32. package/es/src/components/WorkforceSelector/list/role.vue.d.ts +20 -1
  33. package/es/src/components/WorkforceSelector/list/roleAndDepartment.vue.d.ts +9 -0
  34. package/es/src/components/WorkforceSelector/list/user.vue.d.ts +20 -1
  35. package/es/src/components/WorkforceSelector/selector/department/index.vue.d.ts +9 -0
  36. package/es/src/components/WorkforceSelector/selector/panel.vue.d.ts +9 -0
  37. package/es/src/components/WorkforceSelector/selector/role/index.vue.d.ts +9 -0
  38. package/es/src/components/WorkforceSelector/selector/roleAndDepartment/index.vue.d.ts +9 -0
  39. package/es/src/components/WorkforceSelector/selector/user/index.vue.d.ts +9 -0
  40. package/es/src/components/WorkforceSelector/selector/user/userSortByDefault.vue.d.ts +9 -0
  41. package/es/src/components/WorkforceSelector/selector/user/userSortByDepartment.vue.d.ts +9 -0
  42. package/es/src/components/WorkforceSelector/selector/user/userSortByName.vue.d.ts +9 -0
  43. package/es/src/components/WorkforceSelector/selector/user/userSortByRole.vue.d.ts +9 -0
  44. package/es/style.css +1 -1
  45. package/lib/src/components/DepartmentPicker/context.d.ts +2 -0
  46. package/lib/src/components/DepartmentPicker/dialog/department.vue.d.ts +11 -0
  47. package/lib/src/components/DepartmentPicker/index.vue.d.ts +11 -0
  48. package/lib/src/components/DepartmentPicker/provider.vue.d.ts +11 -0
  49. package/lib/src/components/DepartmentSelect/index.vue.d.ts +9 -0
  50. package/lib/src/components/NodesEditor/NodesEnterUI.vue.d.ts +4 -1
  51. package/lib/src/components/NodesEditor/NodesSelectUI.vue.d.ts +4 -1
  52. package/lib/src/components/NodesEditor/hooks/useTableOperations.d.ts +12 -3
  53. package/lib/src/components/NodesEditor/index.vue.d.ts +3 -0
  54. package/lib/src/components/RoleAndDepartmentPicker/hooks/useDataListByValue.d.ts +1 -1
  55. package/lib/src/components/RoleAndDepartmentPicker/index.vue.d.ts +11 -0
  56. package/lib/src/components/RoleAndDepartmentPicker/roleAndDepartmentSelect.vue.d.ts +11 -0
  57. package/lib/src/components/RolePicker/context.d.ts +2 -0
  58. package/lib/src/components/RolePicker/dialog/role.vue.d.ts +11 -0
  59. package/lib/src/components/RolePicker/index.vue.d.ts +11 -0
  60. package/lib/src/components/RolePicker/provider.vue.d.ts +11 -0
  61. package/lib/src/components/RoleSelect/index.vue.d.ts +9 -0
  62. package/lib/src/components/UserPicker/context.d.ts +1 -0
  63. package/lib/src/components/UserPicker/dialog/picker.vue.d.ts +11 -0
  64. package/lib/src/components/UserPicker/index.vue.d.ts +11 -0
  65. package/lib/src/components/UserPicker/provider.vue.d.ts +11 -0
  66. package/lib/src/components/UserSelect/index.vue.d.ts +9 -0
  67. package/lib/src/components/WorkforceSelector/dialog/index.vue.d.ts +9 -0
  68. package/lib/src/components/WorkforceSelector/display/alltext.vue.d.ts +9 -0
  69. package/lib/src/components/WorkforceSelector/display/index.vue.d.ts +9 -0
  70. package/lib/src/components/WorkforceSelector/hooks/useDataDetailByValue.d.ts +1 -1
  71. package/lib/src/components/WorkforceSelector/index.vue.d.ts +9 -0
  72. package/lib/src/components/WorkforceSelector/list/department.vue.d.ts +20 -1
  73. package/lib/src/components/WorkforceSelector/list/role.vue.d.ts +20 -1
  74. package/lib/src/components/WorkforceSelector/list/roleAndDepartment.vue.d.ts +9 -0
  75. package/lib/src/components/WorkforceSelector/list/user.vue.d.ts +20 -1
  76. package/lib/src/components/WorkforceSelector/selector/department/index.vue.d.ts +9 -0
  77. package/lib/src/components/WorkforceSelector/selector/panel.vue.d.ts +9 -0
  78. package/lib/src/components/WorkforceSelector/selector/role/index.vue.d.ts +9 -0
  79. package/lib/src/components/WorkforceSelector/selector/roleAndDepartment/index.vue.d.ts +9 -0
  80. package/lib/src/components/WorkforceSelector/selector/user/index.vue.d.ts +9 -0
  81. package/lib/src/components/WorkforceSelector/selector/user/userSortByDefault.vue.d.ts +9 -0
  82. package/lib/src/components/WorkforceSelector/selector/user/userSortByDepartment.vue.d.ts +9 -0
  83. package/lib/src/components/WorkforceSelector/selector/user/userSortByName.vue.d.ts +9 -0
  84. package/lib/src/components/WorkforceSelector/selector/user/userSortByRole.vue.d.ts +9 -0
  85. package/package.json +1 -1
@@ -1,5 +1,7 @@
1
1
  type NodesEditorContext = {
2
2
  modelValue: any[];
3
+ multiple?: boolean;
4
+ queryParams?: Record<string, any>;
3
5
  };
4
6
  export declare const pickerKey: unique symbol;
5
7
  export declare const useUserPickerContext: () => NodesEditorContext;
@@ -4,13 +4,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4
4
  type: BooleanConstructor;
5
5
  default: boolean;
6
6
  };
7
+ /** 额外的查询参数,将与请求参数合并 */
8
+ queryParams: {
9
+ type: ObjectConstructor;
10
+ default: () => {};
11
+ };
7
12
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
8
13
  modelValue: import('vue').PropType<string[]>;
9
14
  multiple: {
10
15
  type: BooleanConstructor;
11
16
  default: boolean;
12
17
  };
18
+ /** 额外的查询参数,将与请求参数合并 */
19
+ queryParams: {
20
+ type: ObjectConstructor;
21
+ default: () => {};
22
+ };
13
23
  }>> & Readonly<{}>, {
14
24
  multiple: boolean;
25
+ queryParams: Record<string, any>;
15
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
27
  export default _default;
@@ -26,6 +26,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
26
26
  type: BooleanConstructor;
27
27
  default: boolean;
28
28
  };
29
+ /** 额外的查询参数,将与请求参数合并 */
30
+ queryParams: {
31
+ type: ObjectConstructor;
32
+ default: () => {};
33
+ };
29
34
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
30
35
  modelValue: import('vue').PropType<any>;
31
36
  departmentList: import('vue').PropType<any>;
@@ -48,11 +53,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
48
53
  type: BooleanConstructor;
49
54
  default: boolean;
50
55
  };
56
+ /** 额外的查询参数,将与请求参数合并 */
57
+ queryParams: {
58
+ type: ObjectConstructor;
59
+ default: () => {};
60
+ };
51
61
  }>> & Readonly<{}>, {
52
62
  isAbbr: boolean;
53
63
  showCount: number;
54
64
  disabled: boolean;
55
65
  multiple: boolean;
66
+ queryParams: Record<string, any>;
56
67
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
57
68
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
58
69
  export default _default;
@@ -7,14 +7,25 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
7
7
  type: BooleanConstructor;
8
8
  default: boolean;
9
9
  };
10
+ /** 额外的查询参数,将与请求参数合并 */
11
+ queryParams: {
12
+ type: ObjectConstructor;
13
+ default: () => {};
14
+ };
10
15
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
16
  modelValue: import('vue').PropType<any>;
12
17
  multiple: {
13
18
  type: BooleanConstructor;
14
19
  default: boolean;
15
20
  };
21
+ /** 额外的查询参数,将与请求参数合并 */
22
+ queryParams: {
23
+ type: ObjectConstructor;
24
+ default: () => {};
25
+ };
16
26
  }>> & Readonly<{}>, {
17
27
  multiple: boolean;
28
+ queryParams: Record<string, any>;
18
29
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
20
31
  export default _default;
@@ -12,6 +12,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
12
12
  form: {
13
13
  type: import('vue').PropType<string>;
14
14
  };
15
+ queryParams: {
16
+ type: import('vue').PropType<Record<string, any>>;
17
+ default: () => {};
18
+ };
15
19
  size: {
16
20
  type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
17
21
  };
@@ -93,6 +97,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
93
97
  form: {
94
98
  type: import('vue').PropType<string>;
95
99
  };
100
+ queryParams: {
101
+ type: import('vue').PropType<Record<string, any>>;
102
+ default: () => {};
103
+ };
96
104
  size: {
97
105
  type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
98
106
  };
@@ -161,6 +169,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
161
169
  type: import('vue').PropType<number>;
162
170
  };
163
171
  }>> & Readonly<{}>, {
172
+ queryParams: Record<string, any>;
164
173
  clearable: boolean;
165
174
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
166
175
  export default _default;
@@ -25,7 +25,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
25
25
  type: BooleanConstructor;
26
26
  default: boolean;
27
27
  };
28
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
+ }>, {
29
+ addRow: (tablePath: string, afterRowIndex: number, options?: import('./hooks/useTableOperations').AddRowColOptions) => Promise<import('./type').NodeItem[]>;
30
+ addCol: (tablePath: string, afterColIndex: number, options?: import('./hooks/useTableOperations').AddRowColOptions) => Promise<import('./type').NodeItem[]>;
31
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
29
32
  pagesize: {
30
33
  type: StringConstructor;
31
34
  default: string;
@@ -22,7 +22,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
22
22
  type: BooleanConstructor;
23
23
  default: boolean;
24
24
  };
25
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
25
+ }>, {
26
+ addRow: (tablePath: string, afterRowIndex: number, options?: import('./hooks/useTableOperations').AddRowColOptions) => Promise<import('./type').NodeItem[]>;
27
+ addCol: (tablePath: string, afterColIndex: number, options?: import('./hooks/useTableOperations').AddRowColOptions) => Promise<import('./type').NodeItem[]>;
28
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
26
29
  pagesize: {
27
30
  type: StringConstructor;
28
31
  default: string;
@@ -1,12 +1,21 @@
1
- import { ColumnNodeTemplate } from '../type';
1
+ import { NodeItem, ColumnNodeTemplate } from '../type';
2
2
 
3
+ /**
4
+ * 新增行/列的选项
5
+ */
6
+ export interface AddRowColOptions {
7
+ /** 是否复制 originId,默认 false */
8
+ copyOriginId?: boolean;
9
+ /** 附加到新节点的额外属性 */
10
+ extraProps?: Partial<NodeItem>;
11
+ }
3
12
  /**
4
13
  * 表格行列操作 Hook
5
14
  * 用于在填写态下动态添加/删除行列
6
15
  */
7
16
  export declare function useTableOperations(): {
8
- addRowAfter: (tablePath: string, afterRowIndex: number) => Promise<void>;
9
- addColAfter: (tablePath: string, afterColIndex: number) => Promise<void>;
17
+ addRowAfter: (tablePath: string, afterRowIndex: number, options?: AddRowColOptions) => Promise<NodeItem[]>;
18
+ addColAfter: (tablePath: string, afterColIndex: number, options?: AddRowColOptions) => Promise<NodeItem[]>;
10
19
  deleteRow: (tablePath: string, rowIndex: number) => Promise<boolean>;
11
20
  deleteCol: (tablePath: string, colIndex: number) => Promise<boolean>;
12
21
  canDeleteRow: (tablePath: string, rowIndex: number) => boolean;
@@ -1,5 +1,6 @@
1
1
  import { NodeItem, RenderType } from './type';
2
2
 
3
+ declare const contentRef: import('vue').Ref<any, any>;
3
4
  declare function __VLS_template(): {
4
5
  nodeItem?(_: {
5
6
  node: import('./type').WrappedNode;
@@ -92,6 +93,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
92
93
  getInnerHTML: () => any;
93
94
  getContainerHTML: () => any;
94
95
  getBodyElement: () => any;
96
+ addRow: (...args: Parameters<NonNullable<(typeof contentRef.value)["addRow"]>>) => any;
97
+ addCol: (...args: Parameters<NonNullable<(typeof contentRef.value)["addCol"]>>) => any;
95
98
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
96
99
  "update:modelValue": (...args: any[]) => void;
97
100
  onSelectedNodes: (...args: any[]) => void;
@@ -1 +1 @@
1
- export declare const useDataListByValue: (val: any) => import('vue').ComputedRef<any[]>;
1
+ export declare const useDataListByValue: (val: any, queryParams?: any) => import('vue').ComputedRef<any[]>;
@@ -8,6 +8,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
8
8
  type: BooleanConstructor;
9
9
  default: boolean;
10
10
  };
11
+ /** 额外的查询参数,将与请求参数合并 */
12
+ queryParams: {
13
+ type: ObjectConstructor;
14
+ default: () => {};
15
+ };
11
16
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
12
17
  modelValue: import('vue').PropType<{
13
18
  roleId: number;
@@ -18,7 +23,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
18
23
  type: BooleanConstructor;
19
24
  default: boolean;
20
25
  };
26
+ /** 额外的查询参数,将与请求参数合并 */
27
+ queryParams: {
28
+ type: ObjectConstructor;
29
+ default: () => {};
30
+ };
21
31
  }>> & Readonly<{}>, {
32
+ queryParams: Record<string, any>;
22
33
  unlimited: boolean;
23
34
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
24
35
  export default _default;
@@ -4,6 +4,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4
4
  type: BooleanConstructor;
5
5
  default: boolean;
6
6
  };
7
+ /** 额外的查询参数,将与请求参数合并 */
8
+ queryParams: {
9
+ type: ObjectConstructor;
10
+ default: () => {};
11
+ };
7
12
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
13
  ok: (...args: any[]) => void;
9
14
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -12,9 +17,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
12
17
  type: BooleanConstructor;
13
18
  default: boolean;
14
19
  };
20
+ /** 额外的查询参数,将与请求参数合并 */
21
+ queryParams: {
22
+ type: ObjectConstructor;
23
+ default: () => {};
24
+ };
15
25
  }>> & Readonly<{
16
26
  onOk?: ((...args: any[]) => any) | undefined;
17
27
  }>, {
28
+ queryParams: Record<string, any>;
18
29
  unlimited: boolean;
19
30
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
31
  export default _default;
@@ -1,5 +1,7 @@
1
1
  type NodesEditorContext = {
2
2
  modelValue: any[];
3
+ multiple?: boolean;
4
+ queryParams?: Record<string, any>;
3
5
  };
4
6
  export declare const pickerKey: unique symbol;
5
7
  export declare const useUserPickerContext: () => NodesEditorContext;
@@ -4,13 +4,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4
4
  type: BooleanConstructor;
5
5
  default: boolean;
6
6
  };
7
+ /** 额外的查询参数,将与请求参数合并 */
8
+ queryParams: {
9
+ type: ObjectConstructor;
10
+ default: () => {};
11
+ };
7
12
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
8
13
  modelValue: import('vue').PropType<string[]>;
9
14
  multiple: {
10
15
  type: BooleanConstructor;
11
16
  default: boolean;
12
17
  };
18
+ /** 额外的查询参数,将与请求参数合并 */
19
+ queryParams: {
20
+ type: ObjectConstructor;
21
+ default: () => {};
22
+ };
13
23
  }>> & Readonly<{}>, {
14
24
  multiple: boolean;
25
+ queryParams: Record<string, any>;
15
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
27
  export default _default;
@@ -26,6 +26,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
26
26
  type: BooleanConstructor;
27
27
  default: boolean;
28
28
  };
29
+ /** 额外的查询参数,将与请求参数合并 */
30
+ queryParams: {
31
+ type: ObjectConstructor;
32
+ default: () => {};
33
+ };
29
34
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
30
35
  modelValue: import('vue').PropType<any>;
31
36
  positionList: import('vue').PropType<any>;
@@ -48,11 +53,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
48
53
  type: BooleanConstructor;
49
54
  default: boolean;
50
55
  };
56
+ /** 额外的查询参数,将与请求参数合并 */
57
+ queryParams: {
58
+ type: ObjectConstructor;
59
+ default: () => {};
60
+ };
51
61
  }>> & Readonly<{}>, {
52
62
  isAbbr: boolean;
53
63
  showCount: number;
54
64
  disabled: boolean;
55
65
  multiple: boolean;
66
+ queryParams: Record<string, any>;
56
67
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
57
68
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
58
69
  export default _default;
@@ -7,14 +7,25 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
7
7
  type: BooleanConstructor;
8
8
  default: boolean;
9
9
  };
10
+ /** 额外的查询参数,将与请求参数合并 */
11
+ queryParams: {
12
+ type: ObjectConstructor;
13
+ default: () => {};
14
+ };
10
15
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
16
  modelValue: import('vue').PropType<any>;
12
17
  multiple: {
13
18
  type: BooleanConstructor;
14
19
  default: boolean;
15
20
  };
21
+ /** 额外的查询参数,将与请求参数合并 */
22
+ queryParams: {
23
+ type: ObjectConstructor;
24
+ default: () => {};
25
+ };
16
26
  }>> & Readonly<{}>, {
17
27
  multiple: boolean;
28
+ queryParams: Record<string, any>;
18
29
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
20
31
  export default _default;
@@ -12,6 +12,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
12
12
  form: {
13
13
  type: import('vue').PropType<string>;
14
14
  };
15
+ queryParams: {
16
+ type: import('vue').PropType<Record<string, any>>;
17
+ default: () => {};
18
+ };
15
19
  size: {
16
20
  type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
17
21
  };
@@ -93,6 +97,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
93
97
  form: {
94
98
  type: import('vue').PropType<string>;
95
99
  };
100
+ queryParams: {
101
+ type: import('vue').PropType<Record<string, any>>;
102
+ default: () => {};
103
+ };
96
104
  size: {
97
105
  type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
98
106
  };
@@ -161,6 +169,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
161
169
  type: import('vue').PropType<number>;
162
170
  };
163
171
  }>> & Readonly<{}>, {
172
+ queryParams: Record<string, any>;
164
173
  clearable: boolean;
165
174
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
166
175
  export default _default;
@@ -7,6 +7,7 @@ type NodesEditorContext = {
7
7
  selectableUsers?: any[];
8
8
  disabled?: boolean;
9
9
  isAbbr?: boolean;
10
+ queryParams?: Record<string, any>;
10
11
  };
11
12
  };
12
13
  export declare const pickerKey: unique symbol;
@@ -25,6 +25,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
25
25
  type: PropType<any[]>;
26
26
  default: () => never[];
27
27
  };
28
+ /** 额外的查询参数,将与请求参数合并 */
29
+ queryParams: {
30
+ type: ObjectConstructor;
31
+ default: () => {};
32
+ };
28
33
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
29
34
  modelValue: import('vue').PropType<string[]>;
30
35
  /** 默认显示的内容,是否简写 */
@@ -50,10 +55,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
50
55
  type: PropType<any[]>;
51
56
  default: () => never[];
52
57
  };
58
+ /** 额外的查询参数,将与请求参数合并 */
59
+ queryParams: {
60
+ type: ObjectConstructor;
61
+ default: () => {};
62
+ };
53
63
  }>> & Readonly<{}>, {
54
64
  isAbbr: boolean;
55
65
  showCount: number;
56
66
  multiple: boolean;
67
+ queryParams: Record<string, any>;
57
68
  disabledIds: string[];
58
69
  selectableUsers: any[];
59
70
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -35,6 +35,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
35
35
  selectableUsers: {
36
36
  type: PropType<any[]>;
37
37
  };
38
+ /** 额外的查询参数,将与请求参数合并 */
39
+ queryParams: {
40
+ type: ObjectConstructor;
41
+ default: () => {};
42
+ };
38
43
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
39
44
  ok: (...args: any[]) => void;
40
45
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -66,6 +71,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
66
71
  selectableUsers: {
67
72
  type: PropType<any[]>;
68
73
  };
74
+ /** 额外的查询参数,将与请求参数合并 */
75
+ queryParams: {
76
+ type: ObjectConstructor;
77
+ default: () => {};
78
+ };
69
79
  }>> & Readonly<{
70
80
  onOk?: ((...args: any[]) => any) | undefined;
71
81
  }>, {
@@ -73,6 +83,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
73
83
  showCount: number;
74
84
  disabled: boolean;
75
85
  multiple: boolean;
86
+ queryParams: Record<string, any>;
76
87
  disabledIds: string[];
77
88
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
78
89
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
@@ -31,6 +31,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
31
31
  selectableUsers: {
32
32
  type: PropType<any[]>;
33
33
  };
34
+ /** 额外的查询参数,将与请求参数合并 */
35
+ queryParams: {
36
+ type: ObjectConstructor;
37
+ default: () => {};
38
+ };
34
39
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
35
40
  modelValue: import('vue').PropType<any>;
36
41
  /** 默认显示的内容,是否简写 */
@@ -59,11 +64,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
59
64
  selectableUsers: {
60
65
  type: PropType<any[]>;
61
66
  };
67
+ /** 额外的查询参数,将与请求参数合并 */
68
+ queryParams: {
69
+ type: ObjectConstructor;
70
+ default: () => {};
71
+ };
62
72
  }>> & Readonly<{}>, {
63
73
  isAbbr: boolean;
64
74
  showCount: number;
65
75
  disabled: boolean;
66
76
  multiple: boolean;
77
+ queryParams: Record<string, any>;
67
78
  disabledIds: string[];
68
79
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
69
80
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
@@ -12,6 +12,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
12
12
  form: {
13
13
  type: import('vue').PropType<string>;
14
14
  };
15
+ queryParams: {
16
+ type: import('vue').PropType<Record<string, any>>;
17
+ default: () => {};
18
+ };
15
19
  size: {
16
20
  type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
17
21
  };
@@ -93,6 +97,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
93
97
  form: {
94
98
  type: import('vue').PropType<string>;
95
99
  };
100
+ queryParams: {
101
+ type: import('vue').PropType<Record<string, any>>;
102
+ default: () => {};
103
+ };
96
104
  size: {
97
105
  type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
98
106
  };
@@ -161,6 +169,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
161
169
  type: import('vue').PropType<number>;
162
170
  };
163
171
  }>> & Readonly<{}>, {
172
+ queryParams: Record<string, any>;
164
173
  clearable: boolean;
165
174
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
166
175
  export default _default;
@@ -27,6 +27,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
27
27
  type: BooleanConstructor;
28
28
  default: boolean;
29
29
  };
30
+ queryParams: {
31
+ type: ObjectConstructor;
32
+ default: () => {};
33
+ };
30
34
  }>, {
31
35
  show: (options: {
32
36
  data: any;
@@ -53,10 +57,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
53
57
  type: BooleanConstructor;
54
58
  default: boolean;
55
59
  };
60
+ queryParams: {
61
+ type: ObjectConstructor;
62
+ default: () => {};
63
+ };
56
64
  }>> & Readonly<{}>, {
57
65
  disabled: boolean;
58
66
  title: string;
59
67
  multiple: boolean;
68
+ queryParams: Record<string, any>;
60
69
  optionalTypes: unknown[];
61
70
  hasDraft: boolean;
62
71
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -3,12 +3,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3
3
  type: ObjectConstructor;
4
4
  default: () => {};
5
5
  };
6
+ queryParams: {
7
+ type: ObjectConstructor;
8
+ default: () => {};
9
+ };
6
10
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
11
  value: {
8
12
  type: ObjectConstructor;
9
13
  default: () => {};
10
14
  };
15
+ queryParams: {
16
+ type: ObjectConstructor;
17
+ default: () => {};
18
+ };
11
19
  }>> & Readonly<{}>, {
12
20
  value: Record<string, any>;
21
+ queryParams: Record<string, any>;
13
22
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
23
  export default _default;
@@ -7,6 +7,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
7
7
  type: ObjectConstructor;
8
8
  default: () => {};
9
9
  };
10
+ queryParams: {
11
+ type: ObjectConstructor;
12
+ default: () => {};
13
+ };
10
14
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
15
  displayType: {
12
16
  type: StringConstructor;
@@ -16,8 +20,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
16
20
  type: ObjectConstructor;
17
21
  default: () => {};
18
22
  };
23
+ queryParams: {
24
+ type: ObjectConstructor;
25
+ default: () => {};
26
+ };
19
27
  }>> & Readonly<{}>, {
20
28
  value: Record<string, any>;
29
+ queryParams: Record<string, any>;
21
30
  displayType: string;
22
31
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
23
32
  export default _default;
@@ -1,4 +1,4 @@
1
- export declare const useDataDetailByValue: (value: any) => {
1
+ export declare const useDataDetailByValue: (value: any, queryParams?: any) => {
2
2
  userList: import('vue').ComputedRef<any[]>;
3
3
  roleList: import('vue').ComputedRef<any[]>;
4
4
  groupList: import('vue').ComputedRef<any[]>;
@@ -51,6 +51,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
51
51
  type: BooleanConstructor;
52
52
  default: boolean;
53
53
  };
54
+ queryParams: {
55
+ type: ObjectConstructor;
56
+ default: () => {};
57
+ };
54
58
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
55
59
  ok: (value: ModelValue | undefined) => void;
56
60
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -83,12 +87,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
83
87
  type: BooleanConstructor;
84
88
  default: boolean;
85
89
  };
90
+ queryParams: {
91
+ type: ObjectConstructor;
92
+ default: () => {};
93
+ };
86
94
  }>> & Readonly<{
87
95
  onOk?: ((value: ModelValue | undefined) => any) | undefined;
88
96
  }>, {
89
97
  disabled: boolean;
90
98
  title: string;
91
99
  multiple: boolean;
100
+ queryParams: Record<string, any>;
92
101
  displayMaxLength: number;
93
102
  displayType: string;
94
103
  optionalTypes: unknown[];
@@ -1,6 +1,25 @@
1
1
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  modelValue: import('vue').PropType<number[]>;
3
+ disabled: {
4
+ type: BooleanConstructor;
5
+ default: boolean;
6
+ };
7
+ queryParams: {
8
+ type: ObjectConstructor;
9
+ default: () => {};
10
+ };
3
11
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
4
12
  modelValue: import('vue').PropType<number[]>;
5
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ disabled: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ queryParams: {
18
+ type: ObjectConstructor;
19
+ default: () => {};
20
+ };
21
+ }>> & Readonly<{}>, {
22
+ disabled: boolean;
23
+ queryParams: Record<string, any>;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
25
  export default _default;