@zyui/components 0.0.22 → 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.
- package/es/index.js +100 -97
- package/es/index.mjs +51969 -48663
- package/es/src/components/DepartmentPicker/context.d.ts +6 -0
- package/es/src/components/DepartmentPicker/departmentPickerDisplay.vue.d.ts +18 -0
- package/es/src/components/DepartmentPicker/dialog/department.vue.d.ts +6 -0
- package/es/src/components/DepartmentPicker/dialog/index.vue.d.ts +7 -0
- package/es/src/components/DepartmentPicker/dialog/list.vue.d.ts +6 -0
- package/es/src/components/DepartmentPicker/hooks/useDataListByValue.d.ts +1 -0
- package/es/src/components/DepartmentPicker/hooks/useFetchSelectorData.d.ts +21 -0
- package/es/src/components/DepartmentPicker/hooks/useUserSelectorData.d.ts +22 -0
- package/es/src/components/DepartmentPicker/index.d.ts +2 -0
- package/es/src/components/DepartmentPicker/index.vue.d.ts +18 -0
- package/es/src/components/DepartmentPicker/provider.vue.d.ts +15 -0
- package/es/src/components/DepartmentPicker/type.d.ts +6 -0
- package/es/src/components/FormFlow/components/CustomNode/index.vue.d.ts +2 -2
- package/es/src/components/NodesEditor/index.vue.d.ts +1 -1
- package/es/src/components/RoleAndDepartmentPicker/context.d.ts +6 -0
- package/es/src/components/RoleAndDepartmentPicker/hooks/useDataListByValue.d.ts +1 -0
- package/es/src/components/RoleAndDepartmentPicker/hooks/useFetchSelectorData.d.ts +21 -0
- package/es/src/components/RoleAndDepartmentPicker/hooks/useUserSelectorData.d.ts +22 -0
- package/es/src/components/RoleAndDepartmentPicker/index.d.ts +1 -0
- package/es/src/components/RoleAndDepartmentPicker/index.vue.d.ts +12 -0
- package/es/src/components/RoleAndDepartmentPicker/roleAndDepartmentSelect.vue.d.ts +10 -0
- package/es/src/components/RoleAndDepartmentPicker/type.d.ts +6 -0
- package/es/src/components/RolePicker/context.d.ts +6 -0
- package/es/src/components/RolePicker/dialog/index.vue.d.ts +7 -0
- package/es/src/components/RolePicker/dialog/list.vue.d.ts +6 -0
- package/es/src/components/RolePicker/dialog/role.vue.d.ts +6 -0
- package/es/src/components/RolePicker/hooks/useDataListByValue.d.ts +1 -0
- package/es/src/components/RolePicker/hooks/useFetchSelectorData.d.ts +21 -0
- package/es/src/components/RolePicker/hooks/useUserSelectorData.d.ts +22 -0
- package/es/src/components/RolePicker/index.d.ts +2 -0
- package/es/src/components/RolePicker/index.vue.d.ts +18 -0
- package/es/src/components/RolePicker/provider.vue.d.ts +15 -0
- package/es/src/components/RolePicker/rolePickerDisplay.vue.d.ts +18 -0
- package/es/src/components/RolePicker/type.d.ts +6 -0
- package/es/src/components/UserPicker/context.d.ts +6 -0
- package/es/src/components/UserPicker/dialog/department.vue.d.ts +6 -0
- package/es/src/components/UserPicker/dialog/index.vue.d.ts +7 -0
- package/es/src/components/UserPicker/dialog/list.vue.d.ts +6 -0
- package/es/src/components/UserPicker/dialog/people.vue.d.ts +6 -0
- package/es/src/components/UserPicker/dialog/role.vue.d.ts +6 -0
- package/es/src/components/UserPicker/hooks/useDataListByValue.d.ts +1 -0
- package/es/src/components/UserPicker/hooks/useFetchSelectorData.d.ts +21 -0
- package/es/src/components/UserPicker/hooks/useUserGroupByDepartment.d.ts +1 -0
- package/es/src/components/UserPicker/hooks/useUserGroupByRole.d.ts +1 -0
- package/es/src/components/UserPicker/hooks/useUserSelectorData.d.ts +22 -0
- package/es/src/components/UserPicker/index.d.ts +2 -0
- package/es/src/components/UserPicker/index.vue.d.ts +18 -0
- package/es/src/components/UserPicker/provider.vue.d.ts +15 -0
- package/es/src/components/UserPicker/type.d.ts +6 -0
- package/es/src/components/UserPicker/userPickerDisplay.vue.d.ts +18 -0
- package/es/src/components/index.d.ts +4 -0
- package/es/style.css +1 -1
- package/lib/src/components/DepartmentPicker/context.d.ts +6 -0
- package/lib/src/components/DepartmentPicker/departmentPickerDisplay.vue.d.ts +18 -0
- package/lib/src/components/DepartmentPicker/dialog/department.vue.d.ts +6 -0
- package/lib/src/components/DepartmentPicker/dialog/index.vue.d.ts +7 -0
- package/lib/src/components/DepartmentPicker/dialog/list.vue.d.ts +6 -0
- package/lib/src/components/DepartmentPicker/hooks/useDataListByValue.d.ts +1 -0
- package/lib/src/components/DepartmentPicker/hooks/useFetchSelectorData.d.ts +21 -0
- package/lib/src/components/DepartmentPicker/hooks/useUserSelectorData.d.ts +22 -0
- package/lib/src/components/DepartmentPicker/index.d.ts +2 -0
- package/lib/src/components/DepartmentPicker/index.vue.d.ts +18 -0
- package/lib/src/components/DepartmentPicker/provider.vue.d.ts +15 -0
- package/lib/src/components/DepartmentPicker/type.d.ts +6 -0
- package/lib/src/components/FormFlow/components/CustomNode/index.vue.d.ts +2 -2
- package/lib/src/components/NodesEditor/index.vue.d.ts +1 -1
- package/lib/src/components/RoleAndDepartmentPicker/context.d.ts +6 -0
- package/lib/src/components/RoleAndDepartmentPicker/hooks/useDataListByValue.d.ts +1 -0
- package/lib/src/components/RoleAndDepartmentPicker/hooks/useFetchSelectorData.d.ts +21 -0
- package/lib/src/components/RoleAndDepartmentPicker/hooks/useUserSelectorData.d.ts +22 -0
- package/lib/src/components/RoleAndDepartmentPicker/index.d.ts +1 -0
- package/lib/src/components/RoleAndDepartmentPicker/index.vue.d.ts +12 -0
- package/lib/src/components/RoleAndDepartmentPicker/roleAndDepartmentSelect.vue.d.ts +10 -0
- package/lib/src/components/RoleAndDepartmentPicker/type.d.ts +6 -0
- package/lib/src/components/RolePicker/context.d.ts +6 -0
- package/lib/src/components/RolePicker/dialog/index.vue.d.ts +7 -0
- package/lib/src/components/RolePicker/dialog/list.vue.d.ts +6 -0
- package/lib/src/components/RolePicker/dialog/role.vue.d.ts +6 -0
- package/lib/src/components/RolePicker/hooks/useDataListByValue.d.ts +1 -0
- package/lib/src/components/RolePicker/hooks/useFetchSelectorData.d.ts +21 -0
- package/lib/src/components/RolePicker/hooks/useUserSelectorData.d.ts +22 -0
- package/lib/src/components/RolePicker/index.d.ts +2 -0
- package/lib/src/components/RolePicker/index.vue.d.ts +18 -0
- package/lib/src/components/RolePicker/provider.vue.d.ts +15 -0
- package/lib/src/components/RolePicker/rolePickerDisplay.vue.d.ts +18 -0
- package/lib/src/components/RolePicker/type.d.ts +6 -0
- package/lib/src/components/UserPicker/context.d.ts +6 -0
- package/lib/src/components/UserPicker/dialog/department.vue.d.ts +6 -0
- package/lib/src/components/UserPicker/dialog/index.vue.d.ts +7 -0
- package/lib/src/components/UserPicker/dialog/list.vue.d.ts +6 -0
- package/lib/src/components/UserPicker/dialog/people.vue.d.ts +6 -0
- package/lib/src/components/UserPicker/dialog/role.vue.d.ts +6 -0
- package/lib/src/components/UserPicker/hooks/useDataListByValue.d.ts +1 -0
- package/lib/src/components/UserPicker/hooks/useFetchSelectorData.d.ts +21 -0
- package/lib/src/components/UserPicker/hooks/useUserGroupByDepartment.d.ts +1 -0
- package/lib/src/components/UserPicker/hooks/useUserGroupByRole.d.ts +1 -0
- package/lib/src/components/UserPicker/hooks/useUserSelectorData.d.ts +22 -0
- package/lib/src/components/UserPicker/index.d.ts +2 -0
- package/lib/src/components/UserPicker/index.vue.d.ts +18 -0
- package/lib/src/components/UserPicker/provider.vue.d.ts +15 -0
- package/lib/src/components/UserPicker/type.d.ts +6 -0
- package/lib/src/components/UserPicker/userPickerDisplay.vue.d.ts +18 -0
- package/lib/src/components/index.d.ts +4 -0
- package/package.json +2 -1
|
@@ -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,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
|
+
};
|
|
@@ -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 @@
|
|
|
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,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,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
|
+
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,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;
|
|
@@ -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';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zyui/components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.mjs",
|
|
6
6
|
"types": "./es/index.d.ts",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"@vue-flow/minimap": "^1.5.3",
|
|
36
36
|
"@vue-flow/node-resizer": "^1.4.0",
|
|
37
37
|
"mitt": "^3.0.1",
|
|
38
|
+
"qs": "^6.14.0",
|
|
38
39
|
"tinymce": "^7.7.2",
|
|
39
40
|
"uuid": "^11.1.0",
|
|
40
41
|
"vue-draggable-plus": "^0.6.0",
|