yc-vep-ui 0.0.56 → 0.0.58
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/dist/components/StaffSelect/default.vue.d.ts +7 -0
- package/dist/components/StaffSelect/dialog.vue.d.ts +22 -0
- package/dist/components/StaffSelect/index.vue.d.ts +56 -0
- package/dist/components/StaffSelect/type.d.ts +45 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/utils/components.d.ts +2 -0
- package/dist/components/utils/index.d.ts +11 -0
- package/dist/vep-ui.es.js +562 -267
- package/dist/vep-ui.umd.js +1 -1
- package/dist/yc-vep-ui.css +30 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IStaffSelectProps } from './type.d';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IStaffSelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string | string[]) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<IStaffSelectProps> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { StaffOption } from './type.d';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: StaffOption[];
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
data?: StaffOption[];
|
|
6
|
+
required?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function validate(): boolean;
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
10
|
+
validate: typeof validate;
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
change: (...args: any[]) => void;
|
|
13
|
+
"update:modelValue": (...args: any[]) => void;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
|
+
staffDialogRef: unknown;
|
|
21
|
+
}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { IStaffSelectProps } from './type.d';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IStaffSelectProps, {
|
|
3
|
+
validate: () => any;
|
|
4
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IStaffSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
5
|
+
staffSelectRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<IStaffSelectProps> & Readonly<{
|
|
6
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
"update:modelValue": (value: string | string[]) => any;
|
|
9
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
10
|
+
P: {};
|
|
11
|
+
B: {};
|
|
12
|
+
D: {};
|
|
13
|
+
C: {};
|
|
14
|
+
M: {};
|
|
15
|
+
Defaults: {};
|
|
16
|
+
}, Readonly<IStaffSelectProps> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, {}> | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
19
|
+
modelValue?: import('./type.d').StaffOption[];
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
data?: import('./type.d').StaffOption[];
|
|
22
|
+
required?: boolean;
|
|
23
|
+
}> & Readonly<{
|
|
24
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
validate: () => boolean;
|
|
28
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
change: (...args: any[]) => void;
|
|
30
|
+
"update:modelValue": (...args: any[]) => void;
|
|
31
|
+
}, import('vue').PublicProps, {
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
34
|
+
staffDialogRef: unknown;
|
|
35
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
36
|
+
P: {};
|
|
37
|
+
B: {};
|
|
38
|
+
D: {};
|
|
39
|
+
C: {};
|
|
40
|
+
M: {};
|
|
41
|
+
Defaults: {};
|
|
42
|
+
}, Readonly<{
|
|
43
|
+
modelValue?: import('./type.d').StaffOption[];
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
data?: import('./type.d').StaffOption[];
|
|
46
|
+
required?: boolean;
|
|
47
|
+
}> & Readonly<{
|
|
48
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
}>, {
|
|
51
|
+
validate: () => boolean;
|
|
52
|
+
}, {}, {}, {}, {
|
|
53
|
+
disabled: boolean;
|
|
54
|
+
}> | null;
|
|
55
|
+
}, any>;
|
|
56
|
+
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// 员工接口
|
|
2
|
+
export interface IStaffSelectProps {
|
|
3
|
+
multiple?: boolean
|
|
4
|
+
type?: 'default' | 'dialog'
|
|
5
|
+
/** 值取值 employeeId 或 employeeName */
|
|
6
|
+
valueAt?: 'account' | 'name' | 'all'
|
|
7
|
+
modelValue?: string[] | string
|
|
8
|
+
token?: string
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface StaffOption {
|
|
12
|
+
label?: string
|
|
13
|
+
value?: any
|
|
14
|
+
orgFullName?: string
|
|
15
|
+
employeeCode?: string
|
|
16
|
+
employeeName?: string
|
|
17
|
+
/** id */
|
|
18
|
+
id?: string | number
|
|
19
|
+
/** 账号 */
|
|
20
|
+
account?: string
|
|
21
|
+
/** 姓名 */
|
|
22
|
+
name?: string
|
|
23
|
+
/** 姓名/部门/ */
|
|
24
|
+
fullName?: string
|
|
25
|
+
/** 群: 名 */
|
|
26
|
+
fdName?: string
|
|
27
|
+
/** 群:id */
|
|
28
|
+
fdId?: string
|
|
29
|
+
/** 群:归属部门 */
|
|
30
|
+
fdParent?: StaffOption
|
|
31
|
+
/** 群:归属部门下的群 */
|
|
32
|
+
children?: StaffOption[]
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface IDepartment {
|
|
36
|
+
id: string | number
|
|
37
|
+
name: string
|
|
38
|
+
code: string
|
|
39
|
+
parentName: string
|
|
40
|
+
parentCode: string
|
|
41
|
+
deleted: number
|
|
42
|
+
structureCode: string
|
|
43
|
+
structureName: string
|
|
44
|
+
children: IDepartment[]
|
|
45
|
+
}
|
|
@@ -7,3 +7,4 @@ export * as UiTree from './Tree/index.vue';
|
|
|
7
7
|
export * as UiInfiniteScroll from './InfiniteScroll/index.vue';
|
|
8
8
|
export * as UiDescriptions from './Descriptions/index.vue';
|
|
9
9
|
export * as UiDialog from './Dialog/index.vue';
|
|
10
|
+
export * as UiStaffSelect from './StaffSelect/index.vue';
|