@zyui/components 0.0.21 → 0.0.23

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 (106) hide show
  1. package/es/index.js +100 -97
  2. package/es/index.mjs +51908 -48605
  3. package/es/src/components/DepartmentPicker/context.d.ts +6 -0
  4. package/es/src/components/DepartmentPicker/departmentPickerDisplay.vue.d.ts +18 -0
  5. package/es/src/components/DepartmentPicker/dialog/department.vue.d.ts +6 -0
  6. package/es/src/components/DepartmentPicker/dialog/index.vue.d.ts +7 -0
  7. package/es/src/components/DepartmentPicker/dialog/list.vue.d.ts +6 -0
  8. package/es/src/components/DepartmentPicker/hooks/useDataListByValue.d.ts +1 -0
  9. package/es/src/components/DepartmentPicker/hooks/useFetchSelectorData.d.ts +21 -0
  10. package/es/src/components/DepartmentPicker/hooks/useUserSelectorData.d.ts +22 -0
  11. package/es/src/components/DepartmentPicker/index.d.ts +2 -0
  12. package/es/src/components/DepartmentPicker/index.vue.d.ts +18 -0
  13. package/es/src/components/DepartmentPicker/provider.vue.d.ts +15 -0
  14. package/es/src/components/DepartmentPicker/type.d.ts +6 -0
  15. package/es/src/components/FormFlow/components/CustomNode/index.vue.d.ts +2 -2
  16. package/es/src/components/NodesEditor/index.vue.d.ts +1 -1
  17. package/es/src/components/RoleAndDepartmentPicker/context.d.ts +6 -0
  18. package/es/src/components/RoleAndDepartmentPicker/hooks/useDataListByValue.d.ts +1 -0
  19. package/es/src/components/RoleAndDepartmentPicker/hooks/useFetchSelectorData.d.ts +21 -0
  20. package/es/src/components/RoleAndDepartmentPicker/hooks/useUserSelectorData.d.ts +22 -0
  21. package/es/src/components/RoleAndDepartmentPicker/index.d.ts +1 -0
  22. package/es/src/components/RoleAndDepartmentPicker/index.vue.d.ts +12 -0
  23. package/es/src/components/RoleAndDepartmentPicker/roleAndDepartmentSelect.vue.d.ts +10 -0
  24. package/es/src/components/RoleAndDepartmentPicker/type.d.ts +6 -0
  25. package/es/src/components/RolePicker/context.d.ts +6 -0
  26. package/es/src/components/RolePicker/dialog/index.vue.d.ts +7 -0
  27. package/es/src/components/RolePicker/dialog/list.vue.d.ts +6 -0
  28. package/es/src/components/RolePicker/dialog/role.vue.d.ts +6 -0
  29. package/es/src/components/RolePicker/hooks/useDataListByValue.d.ts +1 -0
  30. package/es/src/components/RolePicker/hooks/useFetchSelectorData.d.ts +21 -0
  31. package/es/src/components/RolePicker/hooks/useUserSelectorData.d.ts +22 -0
  32. package/es/src/components/RolePicker/index.d.ts +2 -0
  33. package/es/src/components/RolePicker/index.vue.d.ts +18 -0
  34. package/es/src/components/RolePicker/provider.vue.d.ts +15 -0
  35. package/es/src/components/RolePicker/rolePickerDisplay.vue.d.ts +18 -0
  36. package/es/src/components/RolePicker/type.d.ts +6 -0
  37. package/es/src/components/UserPicker/context.d.ts +6 -0
  38. package/es/src/components/UserPicker/dialog/department.vue.d.ts +6 -0
  39. package/es/src/components/UserPicker/dialog/index.vue.d.ts +7 -0
  40. package/es/src/components/UserPicker/dialog/list.vue.d.ts +6 -0
  41. package/es/src/components/UserPicker/dialog/people.vue.d.ts +6 -0
  42. package/es/src/components/UserPicker/dialog/role.vue.d.ts +6 -0
  43. package/es/src/components/UserPicker/hooks/useDataListByValue.d.ts +1 -0
  44. package/es/src/components/UserPicker/hooks/useFetchSelectorData.d.ts +21 -0
  45. package/es/src/components/UserPicker/hooks/useUserGroupByDepartment.d.ts +1 -0
  46. package/es/src/components/UserPicker/hooks/useUserGroupByRole.d.ts +1 -0
  47. package/es/src/components/UserPicker/hooks/useUserSelectorData.d.ts +22 -0
  48. package/es/src/components/UserPicker/index.d.ts +2 -0
  49. package/es/src/components/UserPicker/index.vue.d.ts +18 -0
  50. package/es/src/components/UserPicker/provider.vue.d.ts +15 -0
  51. package/es/src/components/UserPicker/type.d.ts +6 -0
  52. package/es/src/components/UserPicker/userPickerDisplay.vue.d.ts +18 -0
  53. package/es/src/components/index.d.ts +4 -0
  54. package/es/style.css +1 -1
  55. package/lib/src/components/DepartmentPicker/context.d.ts +6 -0
  56. package/lib/src/components/DepartmentPicker/departmentPickerDisplay.vue.d.ts +18 -0
  57. package/lib/src/components/DepartmentPicker/dialog/department.vue.d.ts +6 -0
  58. package/lib/src/components/DepartmentPicker/dialog/index.vue.d.ts +7 -0
  59. package/lib/src/components/DepartmentPicker/dialog/list.vue.d.ts +6 -0
  60. package/lib/src/components/DepartmentPicker/hooks/useDataListByValue.d.ts +1 -0
  61. package/lib/src/components/DepartmentPicker/hooks/useFetchSelectorData.d.ts +21 -0
  62. package/lib/src/components/DepartmentPicker/hooks/useUserSelectorData.d.ts +22 -0
  63. package/lib/src/components/DepartmentPicker/index.d.ts +2 -0
  64. package/lib/src/components/DepartmentPicker/index.vue.d.ts +18 -0
  65. package/lib/src/components/DepartmentPicker/provider.vue.d.ts +15 -0
  66. package/lib/src/components/DepartmentPicker/type.d.ts +6 -0
  67. package/lib/src/components/FormFlow/components/CustomNode/index.vue.d.ts +2 -2
  68. package/lib/src/components/NodesEditor/index.vue.d.ts +1 -1
  69. package/lib/src/components/RoleAndDepartmentPicker/context.d.ts +6 -0
  70. package/lib/src/components/RoleAndDepartmentPicker/hooks/useDataListByValue.d.ts +1 -0
  71. package/lib/src/components/RoleAndDepartmentPicker/hooks/useFetchSelectorData.d.ts +21 -0
  72. package/lib/src/components/RoleAndDepartmentPicker/hooks/useUserSelectorData.d.ts +22 -0
  73. package/lib/src/components/RoleAndDepartmentPicker/index.d.ts +1 -0
  74. package/lib/src/components/RoleAndDepartmentPicker/index.vue.d.ts +12 -0
  75. package/lib/src/components/RoleAndDepartmentPicker/roleAndDepartmentSelect.vue.d.ts +10 -0
  76. package/lib/src/components/RoleAndDepartmentPicker/type.d.ts +6 -0
  77. package/lib/src/components/RolePicker/context.d.ts +6 -0
  78. package/lib/src/components/RolePicker/dialog/index.vue.d.ts +7 -0
  79. package/lib/src/components/RolePicker/dialog/list.vue.d.ts +6 -0
  80. package/lib/src/components/RolePicker/dialog/role.vue.d.ts +6 -0
  81. package/lib/src/components/RolePicker/hooks/useDataListByValue.d.ts +1 -0
  82. package/lib/src/components/RolePicker/hooks/useFetchSelectorData.d.ts +21 -0
  83. package/lib/src/components/RolePicker/hooks/useUserSelectorData.d.ts +22 -0
  84. package/lib/src/components/RolePicker/index.d.ts +2 -0
  85. package/lib/src/components/RolePicker/index.vue.d.ts +18 -0
  86. package/lib/src/components/RolePicker/provider.vue.d.ts +15 -0
  87. package/lib/src/components/RolePicker/rolePickerDisplay.vue.d.ts +18 -0
  88. package/lib/src/components/RolePicker/type.d.ts +6 -0
  89. package/lib/src/components/UserPicker/context.d.ts +6 -0
  90. package/lib/src/components/UserPicker/dialog/department.vue.d.ts +6 -0
  91. package/lib/src/components/UserPicker/dialog/index.vue.d.ts +7 -0
  92. package/lib/src/components/UserPicker/dialog/list.vue.d.ts +6 -0
  93. package/lib/src/components/UserPicker/dialog/people.vue.d.ts +6 -0
  94. package/lib/src/components/UserPicker/dialog/role.vue.d.ts +6 -0
  95. package/lib/src/components/UserPicker/hooks/useDataListByValue.d.ts +1 -0
  96. package/lib/src/components/UserPicker/hooks/useFetchSelectorData.d.ts +21 -0
  97. package/lib/src/components/UserPicker/hooks/useUserGroupByDepartment.d.ts +1 -0
  98. package/lib/src/components/UserPicker/hooks/useUserGroupByRole.d.ts +1 -0
  99. package/lib/src/components/UserPicker/hooks/useUserSelectorData.d.ts +22 -0
  100. package/lib/src/components/UserPicker/index.d.ts +2 -0
  101. package/lib/src/components/UserPicker/index.vue.d.ts +18 -0
  102. package/lib/src/components/UserPicker/provider.vue.d.ts +15 -0
  103. package/lib/src/components/UserPicker/type.d.ts +6 -0
  104. package/lib/src/components/UserPicker/userPickerDisplay.vue.d.ts +18 -0
  105. package/lib/src/components/index.d.ts +4 -0
  106. package/package.json +2 -1
@@ -0,0 +1,6 @@
1
+ type NodesEditorContext = {
2
+ modelValue: any[];
3
+ };
4
+ export declare const pickerKey: unique symbol;
5
+ export declare const useUserPickerContext: () => NodesEditorContext;
6
+ export {};
@@ -0,0 +1,18 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ value: {
3
+ type: ArrayConstructor;
4
+ default: () => never[];
5
+ };
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ click: (...args: any[]) => void;
8
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
+ value: {
10
+ type: ArrayConstructor;
11
+ default: () => never[];
12
+ };
13
+ }>> & Readonly<{
14
+ onClick?: ((...args: any[]) => any) | undefined;
15
+ }>, {
16
+ value: unknown[];
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
18
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: import('vue').PropType<string[]>;
3
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
4
+ modelValue: import('vue').PropType<string[]>;
5
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {
2
+ show: (options: {
3
+ data: any;
4
+ callback: (val: any) => void;
5
+ }) => void;
6
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
7
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: import('vue').PropType<any>;
3
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
4
+ modelValue: import('vue').PropType<any>;
5
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare const useDataListByValue: (val: any) => never[] | import('vue').ComputedRef<any[]>;
@@ -0,0 +1,21 @@
1
+ declare const useFetchSelectorData: (props: any) => {
2
+ loading: import('vue').Ref<boolean, boolean>;
3
+ refresh: () => Promise<void>;
4
+ allData: import('vue').Ref<{
5
+ userlist: never[];
6
+ rolelist: never[];
7
+ grouplist: never[];
8
+ positionlist: never[];
9
+ }, {
10
+ userlist: never[];
11
+ rolelist: never[];
12
+ grouplist: never[];
13
+ positionlist: never[];
14
+ } | {
15
+ userlist: never[];
16
+ rolelist: never[];
17
+ grouplist: never[];
18
+ positionlist: never[];
19
+ }>;
20
+ };
21
+ export default useFetchSelectorData;
@@ -0,0 +1,22 @@
1
+ declare const useUserSelectorData: (props: any) => {
2
+ loading: import('vue').Ref<boolean, boolean>;
3
+ data: import('vue').ComputedRef<any[]>;
4
+ refresh: () => Promise<void>;
5
+ allData: import('vue').Ref<{
6
+ userlist: never[];
7
+ rolelist: never[];
8
+ grouplist: never[];
9
+ positionlist: never[];
10
+ }, {
11
+ userlist: never[];
12
+ rolelist: never[];
13
+ grouplist: never[];
14
+ positionlist: never[];
15
+ } | {
16
+ userlist: never[];
17
+ rolelist: never[];
18
+ grouplist: never[];
19
+ positionlist: never[];
20
+ }>;
21
+ };
22
+ export default useUserSelectorData;
@@ -0,0 +1,2 @@
1
+ export { default as DepartmentPicker } from './index.vue';
2
+ export { default as DepartmentPickerDisplay } from './departmentPickerDisplay.vue';
@@ -0,0 +1,18 @@
1
+ declare function __VLS_template(): {
2
+ default?(_: {
3
+ value: any[] | never[];
4
+ selectHandler: () => void;
5
+ }): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
+ modelValue: import('vue').PropType<any>;
9
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
10
+ modelValue: import('vue').PropType<any>;
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,15 @@
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ modelValue: import('vue').PropType<any>;
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
+ modelValue: import('vue').PropType<any>;
8
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
+ export default _default;
11
+ type __VLS_WithTemplateSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1,6 @@
1
+ export type DialogType = {
2
+ show: (options: {
3
+ data: any;
4
+ callback: (val: any) => void;
5
+ }) => void;
6
+ };
@@ -1,8 +1,8 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
- id?: any;
3
2
  data?: any;
4
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
5
3
  id?: any;
4
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
6
5
  data?: any;
6
+ id?: any;
7
7
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
8
  export default _default;
@@ -87,8 +87,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
87
87
  onOnSelectedNodes?: ((...args: any[]) => any) | undefined;
88
88
  "onUpdate:formData"?: ((...args: any[]) => any) | undefined;
89
89
  }>, {
90
- id: string;
91
90
  modelValue: string;
91
+ id: string;
92
92
  nodes: unknown[];
93
93
  formData: Record<string, any>;
94
94
  renderType: RenderType;
@@ -0,0 +1,6 @@
1
+ type NodesEditorContext = {
2
+ modelValue: any[];
3
+ };
4
+ export declare const pickerKey: unique symbol;
5
+ export declare const useUserPickerContext: () => NodesEditorContext;
6
+ export {};
@@ -0,0 +1 @@
1
+ export declare const useDataListByValue: (val: any) => import('vue').ComputedRef<any[]>;
@@ -0,0 +1,21 @@
1
+ declare const useFetchSelectorData: (props: any) => {
2
+ loading: import('vue').Ref<boolean, boolean>;
3
+ refresh: () => Promise<void>;
4
+ allData: import('vue').Ref<{
5
+ userlist: never[];
6
+ rolelist: never[];
7
+ grouplist: never[];
8
+ positionlist: never[];
9
+ }, {
10
+ userlist: never[];
11
+ rolelist: never[];
12
+ grouplist: never[];
13
+ positionlist: never[];
14
+ } | {
15
+ userlist: never[];
16
+ rolelist: never[];
17
+ grouplist: never[];
18
+ positionlist: never[];
19
+ }>;
20
+ };
21
+ export default useFetchSelectorData;
@@ -0,0 +1,22 @@
1
+ declare const useUserSelectorData: (props: any) => {
2
+ loading: import('vue').Ref<boolean, boolean>;
3
+ data: import('vue').ComputedRef<any[]>;
4
+ refresh: () => Promise<void>;
5
+ allData: import('vue').Ref<{
6
+ userlist: never[];
7
+ rolelist: never[];
8
+ grouplist: never[];
9
+ positionlist: never[];
10
+ }, {
11
+ userlist: never[];
12
+ rolelist: never[];
13
+ grouplist: never[];
14
+ positionlist: never[];
15
+ } | {
16
+ userlist: never[];
17
+ rolelist: never[];
18
+ grouplist: never[];
19
+ positionlist: never[];
20
+ }>;
21
+ };
22
+ export default useUserSelectorData;
@@ -0,0 +1 @@
1
+ export { default as RoleAndDepartmentPicker } from './index.vue';
@@ -0,0 +1,12 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: import('vue').PropType<{
3
+ roleId: number;
4
+ groupId: number;
5
+ }[]>;
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
+ modelValue: import('vue').PropType<{
8
+ roleId: number;
9
+ groupId: number;
10
+ }[]>;
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
@@ -0,0 +1,10 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: import('vue').PropType<any>;
3
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4
+ ok: (...args: any[]) => void;
5
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
6
+ modelValue: import('vue').PropType<any>;
7
+ }>> & Readonly<{
8
+ onOk?: ((...args: any[]) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
10
+ export default _default;
@@ -0,0 +1,6 @@
1
+ export type PopoverType = {
2
+ show: (options: {
3
+ data: any;
4
+ callback: (val: any) => void;
5
+ }) => void;
6
+ };
@@ -0,0 +1,6 @@
1
+ type NodesEditorContext = {
2
+ modelValue: any[];
3
+ };
4
+ export declare const pickerKey: unique symbol;
5
+ export declare const useUserPickerContext: () => NodesEditorContext;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {
2
+ show: (options: {
3
+ data: any;
4
+ callback: (val: any) => void;
5
+ }) => void;
6
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
7
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: import('vue').PropType<any>;
3
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
4
+ modelValue: import('vue').PropType<any>;
5
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: import('vue').PropType<string[]>;
3
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
4
+ modelValue: import('vue').PropType<string[]>;
5
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare const useDataListByValue: (val: any) => never[] | import('vue').ComputedRef<any[]>;
@@ -0,0 +1,21 @@
1
+ declare const useFetchSelectorData: (props: any) => {
2
+ loading: import('vue').Ref<boolean, boolean>;
3
+ refresh: () => Promise<void>;
4
+ allData: import('vue').Ref<{
5
+ userlist: never[];
6
+ rolelist: never[];
7
+ grouplist: never[];
8
+ positionlist: never[];
9
+ }, {
10
+ userlist: never[];
11
+ rolelist: never[];
12
+ grouplist: never[];
13
+ positionlist: never[];
14
+ } | {
15
+ userlist: never[];
16
+ rolelist: never[];
17
+ grouplist: never[];
18
+ positionlist: never[];
19
+ }>;
20
+ };
21
+ export default useFetchSelectorData;
@@ -0,0 +1,22 @@
1
+ declare const useUserSelectorData: (props: any) => {
2
+ loading: import('vue').Ref<boolean, boolean>;
3
+ data: import('vue').ComputedRef<any[]>;
4
+ refresh: () => Promise<void>;
5
+ allData: import('vue').Ref<{
6
+ userlist: never[];
7
+ rolelist: never[];
8
+ grouplist: never[];
9
+ positionlist: never[];
10
+ }, {
11
+ userlist: never[];
12
+ rolelist: never[];
13
+ grouplist: never[];
14
+ positionlist: never[];
15
+ } | {
16
+ userlist: never[];
17
+ rolelist: never[];
18
+ grouplist: never[];
19
+ positionlist: never[];
20
+ }>;
21
+ };
22
+ export default useUserSelectorData;
@@ -0,0 +1,2 @@
1
+ export { default as RolePicker } from './index.vue';
2
+ export { default as RolePickerDisplay } from './rolePickerDisplay.vue';
@@ -0,0 +1,18 @@
1
+ declare function __VLS_template(): {
2
+ default?(_: {
3
+ value: any[] | never[];
4
+ selectHandler: () => void;
5
+ }): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
+ modelValue: import('vue').PropType<any>;
9
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
10
+ modelValue: import('vue').PropType<any>;
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,15 @@
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ modelValue: import('vue').PropType<any>;
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
+ modelValue: import('vue').PropType<any>;
8
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
+ export default _default;
11
+ type __VLS_WithTemplateSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1,18 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ value: {
3
+ type: ArrayConstructor;
4
+ default: () => never[];
5
+ };
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ click: (...args: any[]) => void;
8
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
+ value: {
10
+ type: ArrayConstructor;
11
+ default: () => never[];
12
+ };
13
+ }>> & Readonly<{
14
+ onClick?: ((...args: any[]) => any) | undefined;
15
+ }>, {
16
+ value: unknown[];
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
18
+ export default _default;
@@ -0,0 +1,6 @@
1
+ export type DialogType = {
2
+ show: (options: {
3
+ data: any;
4
+ callback: (val: any) => void;
5
+ }) => void;
6
+ };
@@ -0,0 +1,6 @@
1
+ type NodesEditorContext = {
2
+ modelValue: any[];
3
+ };
4
+ export declare const pickerKey: unique symbol;
5
+ export declare const useUserPickerContext: () => NodesEditorContext;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: import('vue').PropType<string[]>;
3
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
4
+ modelValue: import('vue').PropType<string[]>;
5
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {
2
+ show: (options: {
3
+ data: any;
4
+ callback: (val: any) => void;
5
+ }) => void;
6
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
7
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: import('vue').PropType<any>;
3
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
4
+ modelValue: import('vue').PropType<any>;
5
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: import('vue').PropType<string[]>;
3
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
4
+ modelValue: import('vue').PropType<string[]>;
5
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: import('vue').PropType<string[]>;
3
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
4
+ modelValue: import('vue').PropType<string[]>;
5
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare const useDataListByValue: (val: any) => never[] | import('vue').ComputedRef<any[]>;
@@ -0,0 +1,21 @@
1
+ declare const useFetchSelectorData: (props: any) => {
2
+ loading: import('vue').Ref<boolean, boolean>;
3
+ refresh: () => Promise<void>;
4
+ allData: import('vue').Ref<{
5
+ userlist: never[];
6
+ rolelist: never[];
7
+ grouplist: never[];
8
+ positionlist: never[];
9
+ }, {
10
+ userlist: never[];
11
+ rolelist: never[];
12
+ grouplist: never[];
13
+ positionlist: never[];
14
+ } | {
15
+ userlist: never[];
16
+ rolelist: never[];
17
+ grouplist: never[];
18
+ positionlist: never[];
19
+ }>;
20
+ };
21
+ export default useFetchSelectorData;
@@ -0,0 +1 @@
1
+ export declare const useUserGroupByDepartment: (data: any) => import('vue').ComputedRef<any[]>;
@@ -0,0 +1 @@
1
+ export declare const useUserGroupByRole: (data: any) => import('vue').ComputedRef<any[]>;
@@ -0,0 +1,22 @@
1
+ declare const useUserSelectorData: (props: any) => {
2
+ loading: import('vue').Ref<boolean, boolean>;
3
+ data: import('vue').ComputedRef<any[]>;
4
+ refresh: () => Promise<void>;
5
+ allData: import('vue').Ref<{
6
+ userlist: never[];
7
+ rolelist: never[];
8
+ grouplist: never[];
9
+ positionlist: never[];
10
+ }, {
11
+ userlist: never[];
12
+ rolelist: never[];
13
+ grouplist: never[];
14
+ positionlist: never[];
15
+ } | {
16
+ userlist: never[];
17
+ rolelist: never[];
18
+ grouplist: never[];
19
+ positionlist: never[];
20
+ }>;
21
+ };
22
+ export default useUserSelectorData;
@@ -0,0 +1,2 @@
1
+ export { default as UserPicker } from './index.vue';
2
+ export { default as UserPickerDisplay } from './userPickerDisplay.vue';
@@ -0,0 +1,18 @@
1
+ declare function __VLS_template(): {
2
+ default?(_: {
3
+ value: any[] | never[];
4
+ selectHandler: () => void;
5
+ }): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
+ modelValue: import('vue').PropType<any>;
9
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
10
+ modelValue: import('vue').PropType<any>;
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,15 @@
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ modelValue: import('vue').PropType<any>;
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
+ modelValue: import('vue').PropType<any>;
8
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
+ export default _default;
11
+ type __VLS_WithTemplateSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1,6 @@
1
+ export type DialogType = {
2
+ show: (options: {
3
+ data: any;
4
+ callback: (val: any) => void;
5
+ }) => void;
6
+ };
@@ -0,0 +1,18 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ value: {
3
+ type: ArrayConstructor;
4
+ default: () => never[];
5
+ };
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ click: (...args: any[]) => void;
8
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
+ value: {
10
+ type: ArrayConstructor;
11
+ default: () => never[];
12
+ };
13
+ }>> & Readonly<{
14
+ onClick?: ((...args: any[]) => any) | undefined;
15
+ }>, {
16
+ value: unknown[];
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
18
+ export default _default;
@@ -6,3 +6,7 @@ export * from './ProEditor';
6
6
  export * from './NodesEditor';
7
7
  export * from './FormFlow';
8
8
  export * from './Setters';
9
+ export * from './UserPicker';
10
+ export * from './DepartmentPicker';
11
+ export * from './RolePicker';
12
+ export * from './RoleAndDepartmentPicker';