@pungfe/element 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/{advance-CB0gWtLg.js → advance-BtiI894G.js} +17 -17
- package/dist/{advance-D-QeX-GV.cjs → advance-DfVR2Qm0.cjs} +1 -1
- package/dist/advance.cjs +1 -1
- package/dist/advance.js +1 -1
- package/dist/basic-BGb_tawM.cjs +1 -0
- package/dist/{basic-C6A5vPPP.js → basic-KTA4sDP3.js} +9 -4
- package/dist/basic.cjs +1 -1
- package/dist/basic.js +1 -1
- package/dist/components/advance/XButtonAsync.vue.d.ts +7 -11
- package/dist/components/advance/XButtonConfirm.vue.d.ts +7 -11
- package/dist/components/advance/XCascaderRequest.vue.d.ts +18 -13
- package/dist/components/advance/XFormFlex.vue.d.ts +11 -6
- package/dist/components/advance/XFormRequestNext.vue.d.ts +13 -8
- package/dist/components/advance/XRequest.vue.d.ts +14 -18
- package/dist/components/advance/XSelectRequest.vue.d.ts +20 -15
- package/dist/components/advance/XTableConfig.vue.d.ts +16 -11
- package/dist/components/advance/XTableFlex.vue.d.ts +16 -11
- package/dist/components/advance/XTableRequestConfigNext.vue.d.ts +17 -12
- package/dist/components/advance/XTableRequestNext.vue.d.ts +17 -12
- package/dist/components/advance/XUploadOssNext.vue.d.ts +15 -13
- package/dist/components/basic/Button.vue.d.ts +7 -11
- package/dist/components/basic/Cascader.vue.d.ts +14 -9
- package/dist/components/basic/Checkbox.vue.d.ts +7 -5
- package/dist/components/basic/ConfigProvider.vue.d.ts +7 -11
- package/dist/components/basic/DatePicker.vue.d.ts +19 -13
- package/dist/components/basic/Dialog.vue.d.ts +13 -21
- package/dist/components/basic/Form.vue.d.ts +11 -6
- package/dist/components/basic/FormItem.vue.d.ts +11 -9
- package/dist/components/basic/Input.vue.d.ts +18 -18
- package/dist/components/basic/InputNumber.vue.d.ts +12 -19
- package/dist/components/basic/Pagination.vue.d.ts +14 -17
- package/dist/components/basic/Select.vue.d.ts +17 -12
- package/dist/components/basic/TabPane.vue.d.ts +7 -11
- package/dist/components/basic/Table.vue.d.ts +16 -11
- package/dist/components/basic/Tabs.vue.d.ts +18 -16
- package/dist/components/basic/Upload.vue.d.ts +12 -25
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/{locales-Ci_7wNxx.js → locales-B6gZPoUb.js} +16 -0
- package/dist/locales-CZYsFcwB.cjs +1 -0
- package/dist/locales.cjs +1 -1
- package/dist/locales.js +1 -1
- package/dist/style.css +2 -2
- package/package.json +21 -20
- package/dist/basic-pOPUQrFu.cjs +0 -1
- package/dist/locales-CIRzA_S9.cjs +0 -1
|
@@ -21,35 +21,40 @@ export interface XCascaderRequestEvents<PT, QR, V> {
|
|
|
21
21
|
}];
|
|
22
22
|
change: [value: V];
|
|
23
23
|
}
|
|
24
|
-
declare const
|
|
25
|
-
props: __VLS_PrettifyLocal<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
declare const __VLS_export: <U, PT, QR, D, V, MV extends V | V[]>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
25
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<(XCascaderRequestProps<U, PT, QR, D, V> & {
|
|
26
|
+
modelValue?: MV;
|
|
27
|
+
}) & {
|
|
28
|
+
"onUpdate:modelValue"?: ((value: MV | undefined) => any) | undefined;
|
|
29
|
+
onChange?: ((value: V) => any) | undefined;
|
|
30
|
+
onPrepare?: ((parameters: {
|
|
29
31
|
path: PT;
|
|
30
32
|
query: QR;
|
|
31
33
|
}) => any) | undefined;
|
|
32
|
-
} &
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
34
|
+
}> & (typeof globalThis extends {
|
|
35
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
36
|
+
} ? P : {});
|
|
37
|
+
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
36
38
|
data: Ref<D[], D[]>;
|
|
37
39
|
execute: () => PromiseLike<unknown>;
|
|
38
40
|
path: Ref<PT, PT>;
|
|
39
41
|
query: Ref<QR, QR>;
|
|
40
42
|
search: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
|
|
41
43
|
url: U;
|
|
42
|
-
}>)
|
|
44
|
+
}>) => void;
|
|
43
45
|
attrs: any;
|
|
44
46
|
slots: {};
|
|
45
47
|
emit: (((evt: "change", value: V) => void) & ((evt: "prepare", parameters: {
|
|
46
48
|
path: PT;
|
|
47
49
|
query: QR;
|
|
48
|
-
}) => void)) & ((
|
|
50
|
+
}) => void)) & ((event: "update:modelValue", value: MV | undefined) => void);
|
|
49
51
|
}>) => import('vue').VNode & {
|
|
50
52
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
51
53
|
};
|
|
54
|
+
declare const _default: typeof __VLS_export;
|
|
52
55
|
export default _default;
|
|
53
|
-
type __VLS_PrettifyLocal<T> = {
|
|
56
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
54
57
|
[K in keyof T]: T[K];
|
|
55
|
-
}
|
|
58
|
+
} : {
|
|
59
|
+
[K in keyof T as K]: T[K];
|
|
60
|
+
}) & {};
|
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
import { XFormProps } from '../../basic';
|
|
2
2
|
export interface XFormFlexProps<D> extends XFormProps<D> {
|
|
3
3
|
}
|
|
4
|
-
declare const
|
|
5
|
-
props:
|
|
6
|
-
|
|
4
|
+
declare const __VLS_export: <D extends object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<XFormFlexProps<D>> & (typeof globalThis extends {
|
|
6
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
7
|
+
} ? P : {});
|
|
8
|
+
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
7
9
|
clearValidate: () => void | undefined;
|
|
8
10
|
validate: () => boolean | undefined;
|
|
9
|
-
}>)
|
|
11
|
+
}>) => void;
|
|
10
12
|
attrs: any;
|
|
11
13
|
slots: {};
|
|
12
14
|
emit: {};
|
|
13
15
|
}>) => import('vue').VNode & {
|
|
14
16
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
15
17
|
};
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
16
19
|
export default _default;
|
|
17
|
-
type __VLS_PrettifyLocal<T> = {
|
|
20
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
18
21
|
[K in keyof T]: T[K];
|
|
19
|
-
}
|
|
22
|
+
} : {
|
|
23
|
+
[K in keyof T as K]: T[K];
|
|
24
|
+
}) & {};
|
|
@@ -22,14 +22,16 @@ export interface XFormRequestEvents<PT, QR> {
|
|
|
22
22
|
query: QR;
|
|
23
23
|
}];
|
|
24
24
|
}
|
|
25
|
-
declare const
|
|
26
|
-
props: __VLS_PrettifyLocal<
|
|
27
|
-
|
|
25
|
+
declare const __VLS_export: <U, PT, QR, D extends object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
26
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<XFormRequestProps<U, PT, QR, D> & {
|
|
27
|
+
onPrepare?: ((parameters: {
|
|
28
28
|
path: PT;
|
|
29
29
|
query: QR;
|
|
30
30
|
}) => any) | undefined;
|
|
31
|
-
} &
|
|
32
|
-
|
|
31
|
+
}> & (typeof globalThis extends {
|
|
32
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
33
|
+
} ? P : {});
|
|
34
|
+
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
33
35
|
clearValidate: () => void | undefined;
|
|
34
36
|
data: Ref<D, D>;
|
|
35
37
|
reset: () => D;
|
|
@@ -37,7 +39,7 @@ declare const _default: <U, PT, QR, D extends object>(__VLS_props: NonNullable<A
|
|
|
37
39
|
search: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
|
|
38
40
|
url: U;
|
|
39
41
|
validate: () => boolean | undefined;
|
|
40
|
-
}>)
|
|
42
|
+
}>) => void;
|
|
41
43
|
attrs: any;
|
|
42
44
|
slots: {};
|
|
43
45
|
emit: (evt: "prepare", parameters: {
|
|
@@ -47,7 +49,10 @@ declare const _default: <U, PT, QR, D extends object>(__VLS_props: NonNullable<A
|
|
|
47
49
|
}>) => import('vue').VNode & {
|
|
48
50
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
49
51
|
};
|
|
52
|
+
declare const _default: typeof __VLS_export;
|
|
50
53
|
export default _default;
|
|
51
|
-
type __VLS_PrettifyLocal<T> = {
|
|
54
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
52
55
|
[K in keyof T]: T[K];
|
|
53
|
-
}
|
|
56
|
+
} : {
|
|
57
|
+
[K in keyof T as K]: T[K];
|
|
58
|
+
}) & {};
|
|
@@ -25,14 +25,16 @@ export interface XRequestEvents<PT, QR> {
|
|
|
25
25
|
query: QR;
|
|
26
26
|
}];
|
|
27
27
|
}
|
|
28
|
-
declare const
|
|
29
|
-
props: __VLS_PrettifyLocal<
|
|
30
|
-
|
|
28
|
+
declare const __VLS_export: <U, PT, QR, D>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
29
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<XRequestProps<U, PT, QR, D> & {
|
|
30
|
+
onPrepare?: ((parameters: {
|
|
31
31
|
path: PT;
|
|
32
32
|
query: QR;
|
|
33
33
|
}) => any) | undefined;
|
|
34
|
-
} &
|
|
35
|
-
|
|
34
|
+
}> & (typeof globalThis extends {
|
|
35
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
36
|
+
} ? P : {});
|
|
37
|
+
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
36
38
|
data: Ref<D, D>;
|
|
37
39
|
execute: () => PromiseLike<unknown>;
|
|
38
40
|
isFetching: Ref<boolean, boolean>;
|
|
@@ -41,18 +43,9 @@ declare const _default: <U, PT, QR, D>(__VLS_props: NonNullable<Awaited<typeof _
|
|
|
41
43
|
query: Ref<QR, QR>;
|
|
42
44
|
search: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
|
|
43
45
|
url: U;
|
|
44
|
-
}>)
|
|
46
|
+
}>) => void;
|
|
45
47
|
attrs: any;
|
|
46
|
-
slots:
|
|
47
|
-
default: (scope: {
|
|
48
|
-
data: D;
|
|
49
|
-
search: () => PromiseLike<unknown>;
|
|
50
|
-
isFetching: boolean;
|
|
51
|
-
paging: Paging;
|
|
52
|
-
path: PT;
|
|
53
|
-
query: QR;
|
|
54
|
-
}) => VNodeChild;
|
|
55
|
-
}> & {
|
|
48
|
+
slots: {
|
|
56
49
|
default: (scope: {
|
|
57
50
|
data: D;
|
|
58
51
|
search: () => PromiseLike<unknown>;
|
|
@@ -69,7 +62,10 @@ declare const _default: <U, PT, QR, D>(__VLS_props: NonNullable<Awaited<typeof _
|
|
|
69
62
|
}>) => import('vue').VNode & {
|
|
70
63
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
71
64
|
};
|
|
65
|
+
declare const _default: typeof __VLS_export;
|
|
72
66
|
export default _default;
|
|
73
|
-
type __VLS_PrettifyLocal<T> = {
|
|
67
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
74
68
|
[K in keyof T]: T[K];
|
|
75
|
-
}
|
|
69
|
+
} : {
|
|
70
|
+
[K in keyof T as K]: T[K];
|
|
71
|
+
}) & {};
|
|
@@ -17,37 +17,42 @@ export interface XSelectRequestEvents<PT, QR, V> extends XSelectEvents<V> {
|
|
|
17
17
|
query: QR;
|
|
18
18
|
}, input?: string];
|
|
19
19
|
}
|
|
20
|
-
declare const
|
|
21
|
-
props: __VLS_PrettifyLocal<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
declare const __VLS_export: <U, PT, QR, D, V, MV extends V | V[]>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
21
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<(XSelectRequestProps<U, PT, QR, D, V> & {
|
|
22
|
+
modelValue?: MV;
|
|
23
|
+
}) & {
|
|
24
|
+
"onUpdate:modelValue"?: ((value: MV | undefined) => any) | undefined;
|
|
25
|
+
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
26
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
27
|
+
onChange?: ((value: V) => any) | undefined;
|
|
28
|
+
onPrepare?: ((parameters: {
|
|
27
29
|
path: PT;
|
|
28
30
|
query: QR;
|
|
29
31
|
}, input?: string | undefined) => any) | undefined;
|
|
30
|
-
} &
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
32
|
+
}> & (typeof globalThis extends {
|
|
33
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
34
|
+
} ? P : {});
|
|
35
|
+
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
34
36
|
data: Ref<D[], D[]>;
|
|
35
37
|
execute: () => PromiseLike<unknown>;
|
|
36
38
|
path: Ref<PT, PT>;
|
|
37
39
|
query: Ref<QR, QR>;
|
|
38
40
|
search: import('@vueuse/shared').UseDebounceFnReturn<(input?: string) => Promise<void>>;
|
|
39
41
|
url: U;
|
|
40
|
-
}>)
|
|
42
|
+
}>) => void;
|
|
41
43
|
attrs: any;
|
|
42
44
|
slots: {};
|
|
43
45
|
emit: (((evt: "focus", e: FocusEvent) => void) & ((evt: "blur", e: FocusEvent) => void) & ((evt: "change", value: V) => void) & ((evt: "prepare", parameters: {
|
|
44
46
|
path: PT;
|
|
45
47
|
query: QR;
|
|
46
|
-
}, input?: string | undefined) => void)) & ((
|
|
48
|
+
}, input?: string | undefined) => void)) & ((event: "update:modelValue", value: MV | undefined) => void);
|
|
47
49
|
}>) => import('vue').VNode & {
|
|
48
50
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
49
51
|
};
|
|
52
|
+
declare const _default: typeof __VLS_export;
|
|
50
53
|
export default _default;
|
|
51
|
-
type __VLS_PrettifyLocal<T> = {
|
|
54
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
52
55
|
[K in keyof T]: T[K];
|
|
53
|
-
}
|
|
56
|
+
} : {
|
|
57
|
+
[K in keyof T as K]: T[K];
|
|
58
|
+
}) & {};
|
|
@@ -20,23 +20,28 @@ export interface XTableConfigProps<D> extends Omit<XTableFlexProps<D>, 'columns'
|
|
|
20
20
|
export interface XTableConfigEvents<D> extends XTableFlexEvents<D> {
|
|
21
21
|
rowClick: [row: D];
|
|
22
22
|
}
|
|
23
|
-
declare const
|
|
24
|
-
props: __VLS_PrettifyLocal<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} &
|
|
30
|
-
|
|
23
|
+
declare const __VLS_export: <D>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
24
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<XTableConfigProps<D> & {
|
|
25
|
+
onHeaderDragend?: ((newWidth: number, oldWidth: number, column: import('element-plus').TableColumnCtx) => any) | undefined;
|
|
26
|
+
onRowClick?: ((row: D) => any) | undefined;
|
|
27
|
+
onRowDblclick?: ((row: D) => any) | undefined;
|
|
28
|
+
onSelectionChange?: ((rows: D[]) => any) | undefined;
|
|
29
|
+
}> & (typeof globalThis extends {
|
|
30
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
31
|
+
} ? P : {});
|
|
32
|
+
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
31
33
|
data: D[] | undefined;
|
|
32
|
-
}>)
|
|
34
|
+
}>) => void;
|
|
33
35
|
attrs: any;
|
|
34
36
|
slots: {};
|
|
35
37
|
emit: ((evt: "headerDragend", newWidth: number, oldWidth: number, column: import('element-plus').TableColumnCtx) => void) & ((evt: "rowClick", row: D) => void) & ((evt: "rowDblclick", row: D) => void) & ((evt: "selectionChange", rows: D[]) => void);
|
|
36
38
|
}>) => import('vue').VNode & {
|
|
37
39
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
38
40
|
};
|
|
41
|
+
declare const _default: typeof __VLS_export;
|
|
39
42
|
export default _default;
|
|
40
|
-
type __VLS_PrettifyLocal<T> = {
|
|
43
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
41
44
|
[K in keyof T]: T[K];
|
|
42
|
-
}
|
|
45
|
+
} : {
|
|
46
|
+
[K in keyof T as K]: T[K];
|
|
47
|
+
}) & {};
|
|
@@ -25,14 +25,16 @@ export interface XTableFlexProps<D> extends XTableProps<D> {
|
|
|
25
25
|
}
|
|
26
26
|
export interface XTableFlexEvents<D> extends XTableEvents<D> {
|
|
27
27
|
}
|
|
28
|
-
declare const
|
|
29
|
-
props: __VLS_PrettifyLocal<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} &
|
|
35
|
-
|
|
28
|
+
declare const __VLS_export: <D>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
29
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<XTableFlexProps<D> & {
|
|
30
|
+
onHeaderDragend?: ((newWidth: number, oldWidth: number, column: TableColumnCtx) => any) | undefined;
|
|
31
|
+
onRowClick?: ((row: D) => any) | undefined;
|
|
32
|
+
onRowDblclick?: ((row: D) => any) | undefined;
|
|
33
|
+
onSelectionChange?: ((rows: D[]) => any) | undefined;
|
|
34
|
+
}> & (typeof globalThis extends {
|
|
35
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
36
|
+
} ? P : {});
|
|
37
|
+
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
36
38
|
clearSelection: () => void | undefined;
|
|
37
39
|
getSelectionRows: () => D[] | undefined;
|
|
38
40
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number) => void | undefined;
|
|
@@ -40,14 +42,17 @@ declare const _default: <D>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
40
42
|
setScrollLeft: (left: number) => void | undefined;
|
|
41
43
|
setScrollTop: (top: number) => void | undefined;
|
|
42
44
|
toggleRowSelection: (row: D, selected?: boolean, ignoreSelectable?: boolean) => void | undefined;
|
|
43
|
-
}>)
|
|
45
|
+
}>) => void;
|
|
44
46
|
attrs: any;
|
|
45
47
|
slots: {};
|
|
46
48
|
emit: ((evt: "headerDragend", newWidth: number, oldWidth: number, column: TableColumnCtx) => void) & ((evt: "rowClick", row: D) => void) & ((evt: "rowDblclick", row: D) => void) & ((evt: "selectionChange", rows: D[]) => void);
|
|
47
49
|
}>) => import('vue').VNode & {
|
|
48
50
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
49
51
|
};
|
|
52
|
+
declare const _default: typeof __VLS_export;
|
|
50
53
|
export default _default;
|
|
51
|
-
type __VLS_PrettifyLocal<T> = {
|
|
54
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
52
55
|
[K in keyof T]: T[K];
|
|
53
|
-
}
|
|
56
|
+
} : {
|
|
57
|
+
[K in keyof T as K]: T[K];
|
|
58
|
+
}) & {};
|
|
@@ -42,18 +42,20 @@ export interface XTableRequestConfigEvents<PT, QR, D> extends XTableFlexEvents<D
|
|
|
42
42
|
query: QR;
|
|
43
43
|
}];
|
|
44
44
|
}
|
|
45
|
-
declare const
|
|
46
|
-
props: __VLS_PrettifyLocal<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
45
|
+
declare const __VLS_export: <U, PT, QR, D>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
46
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<XTableRequestConfigProps<U, PT, QR, D> & {
|
|
47
|
+
onHeaderDragend?: ((newWidth: number, oldWidth: number, column: import('element-plus').TableColumnCtx) => any) | undefined;
|
|
48
|
+
onRowClick?: ((row: D) => any) | undefined;
|
|
49
|
+
onRowDblclick?: ((row: D) => any) | undefined;
|
|
50
|
+
onSelectionChange?: ((rows: D[]) => any) | undefined;
|
|
51
|
+
onPrepare?: ((parameters: {
|
|
52
52
|
path: PT;
|
|
53
53
|
query: QR;
|
|
54
54
|
}) => any) | undefined;
|
|
55
|
-
} &
|
|
56
|
-
|
|
55
|
+
}> & (typeof globalThis extends {
|
|
56
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
57
|
+
} ? P : {});
|
|
58
|
+
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
57
59
|
data: Ref<D[], D[]>;
|
|
58
60
|
isFetching: Ref<boolean, boolean>;
|
|
59
61
|
paging: Ref<Paging, Paging>;
|
|
@@ -62,7 +64,7 @@ declare const _default: <U, PT, QR, D>(__VLS_props: NonNullable<Awaited<typeof _
|
|
|
62
64
|
reset: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
|
|
63
65
|
search: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
|
|
64
66
|
url: U;
|
|
65
|
-
}>)
|
|
67
|
+
}>) => void;
|
|
66
68
|
attrs: any;
|
|
67
69
|
slots: {};
|
|
68
70
|
emit: ((evt: "headerDragend", newWidth: number, oldWidth: number, column: import('element-plus').TableColumnCtx) => void) & ((evt: "rowClick", row: D) => void) & ((evt: "rowDblclick", row: D) => void) & ((evt: "selectionChange", rows: D[]) => void) & ((evt: "prepare", parameters: {
|
|
@@ -72,7 +74,10 @@ declare const _default: <U, PT, QR, D>(__VLS_props: NonNullable<Awaited<typeof _
|
|
|
72
74
|
}>) => import('vue').VNode & {
|
|
73
75
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
74
76
|
};
|
|
77
|
+
declare const _default: typeof __VLS_export;
|
|
75
78
|
export default _default;
|
|
76
|
-
type __VLS_PrettifyLocal<T> = {
|
|
79
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
77
80
|
[K in keyof T]: T[K];
|
|
78
|
-
}
|
|
81
|
+
} : {
|
|
82
|
+
[K in keyof T as K]: T[K];
|
|
83
|
+
}) & {};
|
|
@@ -55,18 +55,20 @@ export interface XTableRequestEvents<PT, QR, D> extends XTableFlexEvents<D> {
|
|
|
55
55
|
query: QR;
|
|
56
56
|
}];
|
|
57
57
|
}
|
|
58
|
-
declare const
|
|
59
|
-
props: __VLS_PrettifyLocal<
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
58
|
+
declare const __VLS_export: <U, PT, QR, D>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
59
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<XTableRequestProps<U, PT, QR, D> & {
|
|
60
|
+
onHeaderDragend?: ((newWidth: number, oldWidth: number, column: TableColumnCtx) => any) | undefined;
|
|
61
|
+
onRowClick?: ((row: D) => any) | undefined;
|
|
62
|
+
onRowDblclick?: ((row: D) => any) | undefined;
|
|
63
|
+
onSelectionChange?: ((rows: D[]) => any) | undefined;
|
|
64
|
+
onPrepare?: ((parameters: {
|
|
65
65
|
path: PT;
|
|
66
66
|
query: QR;
|
|
67
67
|
}) => any) | undefined;
|
|
68
|
-
} &
|
|
69
|
-
|
|
68
|
+
}> & (typeof globalThis extends {
|
|
69
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
70
|
+
} ? P : {});
|
|
71
|
+
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
70
72
|
data: Ref<D[], D[]>;
|
|
71
73
|
isFetching: Ref<boolean, boolean>;
|
|
72
74
|
paging: Ref<Paging, Paging>;
|
|
@@ -75,7 +77,7 @@ declare const _default: <U, PT, QR, D>(__VLS_props: NonNullable<Awaited<typeof _
|
|
|
75
77
|
reset: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
|
|
76
78
|
search: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
|
|
77
79
|
url: U;
|
|
78
|
-
}>)
|
|
80
|
+
}>) => void;
|
|
79
81
|
attrs: any;
|
|
80
82
|
slots: {};
|
|
81
83
|
emit: ((evt: "headerDragend", newWidth: number, oldWidth: number, column: TableColumnCtx) => void) & ((evt: "rowClick", row: D) => void) & ((evt: "rowDblclick", row: D) => void) & ((evt: "selectionChange", rows: D[]) => void) & ((evt: "prepare", parameters: {
|
|
@@ -85,7 +87,10 @@ declare const _default: <U, PT, QR, D>(__VLS_props: NonNullable<Awaited<typeof _
|
|
|
85
87
|
}>) => import('vue').VNode & {
|
|
86
88
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
87
89
|
};
|
|
90
|
+
declare const _default: typeof __VLS_export;
|
|
88
91
|
export default _default;
|
|
89
|
-
type __VLS_PrettifyLocal<T> = {
|
|
92
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
90
93
|
[K in keyof T]: T[K];
|
|
91
|
-
}
|
|
94
|
+
} : {
|
|
95
|
+
[K in keyof T as K]: T[K];
|
|
96
|
+
}) & {};
|
|
@@ -4,26 +4,28 @@ export interface XUploadOssProps extends Omit<XUploadProps, 'action' | 'data' |
|
|
|
4
4
|
/** oss 接收文件最大 大约为50兆, 超过50兆应采取oss ststoken 分片上传 */
|
|
5
5
|
maxSize?: number;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
8
|
-
props: __VLS_PrettifyLocal<
|
|
9
|
-
readonly "onUpdate:modelValue"?: ((value: MV) => any) | undefined;
|
|
10
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
|
|
7
|
+
declare const __VLS_export: <V extends string, MV extends V | V[]>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<(XUploadOssProps & {
|
|
11
9
|
modelValue?: MV;
|
|
12
|
-
}
|
|
13
|
-
|
|
10
|
+
}) & {
|
|
11
|
+
"onUpdate:modelValue"?: ((value: MV | undefined) => any) | undefined;
|
|
12
|
+
}> & (typeof globalThis extends {
|
|
13
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
14
|
+
} ? P : {});
|
|
15
|
+
expose: (exposed: {}) => void;
|
|
14
16
|
attrs: any;
|
|
15
|
-
slots:
|
|
16
|
-
default: () => VNodeChild;
|
|
17
|
-
tip: () => VNodeChild;
|
|
18
|
-
}> & {
|
|
17
|
+
slots: {
|
|
19
18
|
default: () => VNodeChild;
|
|
20
19
|
tip: () => VNodeChild;
|
|
21
20
|
};
|
|
22
|
-
emit: (
|
|
21
|
+
emit: (event: "update:modelValue", value: MV | undefined) => void;
|
|
23
22
|
}>) => import('vue').VNode & {
|
|
24
23
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
25
24
|
};
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
26
|
export default _default;
|
|
27
|
-
type __VLS_PrettifyLocal<T> = {
|
|
27
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
28
28
|
[K in keyof T]: T[K];
|
|
29
|
-
}
|
|
29
|
+
} : {
|
|
30
|
+
[K in keyof T as K]: T[K];
|
|
31
|
+
}) & {};
|
|
@@ -14,23 +14,19 @@ export interface XButtonProps {
|
|
|
14
14
|
type?: ButtonProps['type'];
|
|
15
15
|
icon?: ButtonProps['icon'];
|
|
16
16
|
}
|
|
17
|
-
declare
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
default?(_: {}): any;
|
|
21
|
-
};
|
|
22
|
-
refs: {};
|
|
23
|
-
rootEl: any;
|
|
17
|
+
declare var __VLS_10: {};
|
|
18
|
+
type __VLS_Slots = {} & {
|
|
19
|
+
default?: (props: typeof __VLS_10) => any;
|
|
24
20
|
};
|
|
25
|
-
|
|
26
|
-
declare const __VLS_component: import('vue').DefineComponent<XButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
declare const __VLS_base: import('vue').DefineComponent<XButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
22
|
click: (e: MouseEvent) => any;
|
|
28
23
|
}, string, import('vue').PublicProps, Readonly<XButtonProps> & Readonly<{
|
|
29
24
|
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
30
25
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
-
declare const
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
32
28
|
export default _default;
|
|
33
|
-
type
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
30
|
new (): {
|
|
35
31
|
$slots: S;
|
|
36
32
|
};
|
|
@@ -16,20 +16,25 @@ export interface XCascaderProps<D, V> {
|
|
|
16
16
|
placeholder?: CascaderComponentProps['placeholder'];
|
|
17
17
|
props?: CascaderComponentProps['props'];
|
|
18
18
|
}
|
|
19
|
-
declare const
|
|
20
|
-
props: __VLS_PrettifyLocal<
|
|
21
|
-
readonly "onUpdate:modelValue"?: ((value: MV) => any) | undefined;
|
|
22
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
|
|
19
|
+
declare const __VLS_export: <D, V, MV extends V | V[]>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
20
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<(XCascaderProps<D, V> & {
|
|
23
21
|
modelValue?: MV;
|
|
24
|
-
}
|
|
25
|
-
|
|
22
|
+
}) & {
|
|
23
|
+
"onUpdate:modelValue"?: ((value: MV | undefined) => any) | undefined;
|
|
24
|
+
}> & (typeof globalThis extends {
|
|
25
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
26
|
+
} ? P : {});
|
|
27
|
+
expose: (exposed: {}) => void;
|
|
26
28
|
attrs: any;
|
|
27
29
|
slots: {};
|
|
28
|
-
emit: (
|
|
30
|
+
emit: (event: "update:modelValue", value: MV | undefined) => void;
|
|
29
31
|
}>) => import('vue').VNode & {
|
|
30
32
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
31
33
|
};
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
32
35
|
export default _default;
|
|
33
|
-
type __VLS_PrettifyLocal<T> = {
|
|
36
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
34
37
|
[K in keyof T]: T[K];
|
|
35
|
-
}
|
|
38
|
+
} : {
|
|
39
|
+
[K in keyof T as K]: T[K];
|
|
40
|
+
}) & {};
|
|
@@ -7,16 +7,18 @@ export interface XCheckboxProps {
|
|
|
7
7
|
falseValue?: CheckboxProps['falseValue'];
|
|
8
8
|
}
|
|
9
9
|
type __VLS_Props = XCheckboxProps;
|
|
10
|
-
type
|
|
10
|
+
type __VLS_ModelProps = {
|
|
11
11
|
modelValue?: CheckboxValueType;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
};
|
|
13
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
14
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (value: CheckboxValueType | undefined) => any;
|
|
15
16
|
focus: (e: FocusEvent) => any;
|
|
16
17
|
blur: (e: FocusEvent) => any;
|
|
17
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
-
"onUpdate:modelValue"?: ((value: CheckboxValueType) => any) | undefined;
|
|
19
|
+
"onUpdate:modelValue"?: ((value: CheckboxValueType | undefined) => any) | undefined;
|
|
19
20
|
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
20
21
|
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
21
22
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
22
24
|
export default _default;
|
|
@@ -2,19 +2,15 @@ import { ConfigProviderProps } from 'element-plus';
|
|
|
2
2
|
export interface XConfigProviderProps {
|
|
3
3
|
locale?: ConfigProviderProps['locale'];
|
|
4
4
|
}
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
default?(_: {}): any;
|
|
9
|
-
};
|
|
10
|
-
refs: {};
|
|
11
|
-
rootEl: any;
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
12
8
|
};
|
|
13
|
-
|
|
14
|
-
declare const
|
|
15
|
-
declare const _default:
|
|
9
|
+
declare const __VLS_base: import('vue').DefineComponent<XConfigProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<XConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
16
12
|
export default _default;
|
|
17
|
-
type
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
14
|
new (): {
|
|
19
15
|
$slots: S;
|
|
20
16
|
};
|