v-nuxt-ui 0.1.16 → 0.1.18
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/module.json +1 -1
- package/dist/runtime/components/DeleteModal.d.vue.ts +22 -10
- package/dist/runtime/components/DeleteModal.vue.d.ts +22 -10
- package/dist/runtime/components/Empty.d.vue.ts +1 -1
- package/dist/runtime/components/Empty.vue.d.ts +1 -1
- package/dist/runtime/components/layout/default.vue +1 -1
- package/dist/runtime/components/simple-table/index.d.vue.ts +1 -1
- package/dist/runtime/components/simple-table/index.vue.d.ts +1 -1
- package/dist/runtime/components/table/ExcelExportModal.d.vue.ts +22 -26
- package/dist/runtime/components/table/ExcelExportModal.vue.d.ts +22 -26
- package/dist/runtime/components/table/Page.d.vue.ts +1 -1
- package/dist/runtime/components/table/Page.vue.d.ts +1 -1
- package/dist/runtime/components/table/Pagination.d.vue.ts +1 -1
- package/dist/runtime/components/table/Pagination.vue.d.ts +1 -1
- package/dist/runtime/components/table/header/index.d.vue.ts +1 -1
- package/dist/runtime/components/table/header/index.vue +9 -4
- package/dist/runtime/components/table/header/index.vue.d.ts +1 -1
- package/dist/runtime/components/table/header/settings/columns/DndList.d.vue.ts +1 -1
- package/dist/runtime/components/table/header/settings/columns/DndList.vue.d.ts +1 -1
- package/dist/runtime/components/table/header/settings/columns/Item.d.vue.ts +23 -13
- package/dist/runtime/components/table/header/settings/columns/Item.vue.d.ts +23 -13
- package/dist/runtime/components/table/header/settings/columns/index.d.vue.ts +6 -19
- package/dist/runtime/components/table/header/settings/columns/index.vue.d.ts +6 -19
- package/dist/runtime/components/table/header/settings/index.d.vue.ts +10 -21
- package/dist/runtime/components/table/header/settings/index.vue.d.ts +10 -21
- package/dist/runtime/components/table/index.d.vue.ts +1 -1
- package/dist/runtime/components/table/index.vue.d.ts +1 -1
- package/dist/runtime/components/table/query/order/Item.d.vue.ts +28 -0
- package/dist/runtime/components/table/query/order/Item.vue.d.ts +28 -0
- package/dist/runtime/components/table/query/order/Newer.d.vue.ts +25 -0
- package/dist/runtime/components/table/query/order/Newer.vue.d.ts +25 -0
- package/dist/runtime/components/table/query/order/index.d.vue.ts +1 -1
- package/dist/runtime/components/table/query/order/index.vue.d.ts +1 -1
- package/dist/runtime/components/table/query/where/Newer.d.vue.ts +22 -10
- package/dist/runtime/components/table/query/where/Newer.vue.d.ts +22 -10
- package/dist/runtime/components/table/query/where/index.d.vue.ts +1 -1
- package/dist/runtime/components/table/query/where/index.vue.d.ts +1 -1
- package/dist/runtime/components/table/query/where/simple/index.d.vue.ts +18 -4
- package/dist/runtime/components/table/query/where/simple/index.vue +6 -1
- package/dist/runtime/components/table/query/where/simple/index.vue.d.ts +18 -4
- package/dist/runtime/components/table/query/where/simple/item/ColumnPicker.d.vue.ts +1 -1
- package/dist/runtime/components/table/query/where/simple/item/ColumnPicker.vue.d.ts +1 -1
- package/dist/runtime/components/table/query/where/simple/item/OprPicker.d.vue.ts +1 -1
- package/dist/runtime/components/table/query/where/simple/item/OprPicker.vue.d.ts +1 -1
- package/dist/runtime/components/table/query/where/simple/item/index.d.vue.ts +26 -16
- package/dist/runtime/components/table/query/where/simple/item/index.vue.d.ts +26 -16
- package/dist/runtime/components/table/query/where/simple/item/opr/AsyncSelect.vue +4 -5
- package/dist/runtime/components/table/query/where/simple/item/opr/DatePicker.d.vue.ts +1 -1
- package/dist/runtime/components/table/query/where/simple/item/opr/DatePicker.vue.d.ts +1 -1
- package/dist/runtime/components/table/query/where/simple/item/opr/Input.d.vue.ts +1 -1
- package/dist/runtime/components/table/query/where/simple/item/opr/Input.vue.d.ts +1 -1
- package/dist/runtime/components/table/query/where/simple/item/opr/InputNumber.d.vue.ts +1 -1
- package/dist/runtime/components/table/query/where/simple/item/opr/InputNumber.vue.d.ts +1 -1
- package/dist/runtime/components/table/query/where/simple/item/opr/Select.d.vue.ts +1 -1
- package/dist/runtime/components/table/query/where/simple/item/opr/Select.vue.d.ts +1 -1
- package/dist/runtime/components/table/query/where/simple/item/opr/index.d.vue.ts +25 -15
- package/dist/runtime/components/table/query/where/simple/item/opr/index.vue.d.ts +25 -15
- package/dist/runtime/composables/table/useTableColumns.d.ts +3 -3
- package/dist/runtime/composables/table/useTableColumns.js +17 -11
- package/dist/runtime/composables/table/useTablePagination.d.ts +1 -1
- package/dist/runtime/composables/useTheme.d.ts +1 -1
- package/dist/runtime/types/components/form/field.d.ts +7 -4
- package/dist/runtime/types/components/table/column.d.ts +31 -6
- package/dist/runtime/types/components/table/query/order.d.ts +1 -1
- package/dist/runtime/types/components/table/query/where.d.ts +1 -1
- package/dist/runtime/types/query.d.ts +3 -3
- package/dist/runtime/utils/excel.d.ts +1 -1
- package/dist/runtime/utils/request.d.ts +1 -1
- package/dist/runtime/utils/type.d.ts +14 -0
- package/dist/runtime/utils/type.js +3 -0
- package/package.json +1 -1
- package/dist/runtime/components/table/query/order/item.d.vue.ts +0 -0
- package/dist/runtime/components/table/query/order/item.vue.d.ts +0 -0
- package/dist/runtime/components/table/query/order/newer.d.vue.ts +0 -0
- package/dist/runtime/components/table/query/order/newer.vue.d.ts +0 -0
- /package/dist/runtime/components/table/query/order/{item.vue → Item.vue} +0 -0
- /package/dist/runtime/components/table/query/order/{newer.vue → Newer.vue} +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { OrderQueryOpr, OrderQueryOption, VColumn } from '#v/types';
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
4
|
+
field: string;
|
|
5
|
+
bizColumns: VColumn<T>[];
|
|
6
|
+
opr: OrderQueryOpr;
|
|
7
|
+
orderOptions: OrderQueryOption<T>[];
|
|
8
|
+
unselectedFields: string[];
|
|
9
|
+
} & {
|
|
10
|
+
onChange?: ((args_0: string, args_1: OrderQueryOpr) => any) | undefined;
|
|
11
|
+
onRemove?: (() => any) | undefined;
|
|
12
|
+
}> & (typeof globalThis extends {
|
|
13
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
14
|
+
} ? P : {});
|
|
15
|
+
expose: (exposed: {}) => void;
|
|
16
|
+
attrs: any;
|
|
17
|
+
slots: {};
|
|
18
|
+
emit: ((evt: "change", args_0: string, args_1: OrderQueryOpr) => void) & ((evt: "remove") => void);
|
|
19
|
+
}>) => import("vue").VNode & {
|
|
20
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
21
|
+
};
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} : {
|
|
27
|
+
[K in keyof T as K]: T[K];
|
|
28
|
+
}) & {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { OrderQueryOpr, OrderQueryOption, VColumn } from '#v/types';
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
4
|
+
field: string;
|
|
5
|
+
bizColumns: VColumn<T>[];
|
|
6
|
+
opr: OrderQueryOpr;
|
|
7
|
+
orderOptions: OrderQueryOption<T>[];
|
|
8
|
+
unselectedFields: string[];
|
|
9
|
+
} & {
|
|
10
|
+
onChange?: ((args_0: string, args_1: OrderQueryOpr) => any) | undefined;
|
|
11
|
+
onRemove?: (() => any) | undefined;
|
|
12
|
+
}> & (typeof globalThis extends {
|
|
13
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
14
|
+
} ? P : {});
|
|
15
|
+
expose: (exposed: {}) => void;
|
|
16
|
+
attrs: any;
|
|
17
|
+
slots: {};
|
|
18
|
+
emit: ((evt: "change", args_0: string, args_1: OrderQueryOpr) => void) & ((evt: "remove") => void);
|
|
19
|
+
}>) => import("vue").VNode & {
|
|
20
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
21
|
+
};
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} : {
|
|
27
|
+
[K in keyof T as K]: T[K];
|
|
28
|
+
}) & {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { OrderQueryOption, VColumn } from '#v/types';
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
4
|
+
options: OrderQueryOption<T>[];
|
|
5
|
+
unselectedFields: string[];
|
|
6
|
+
bizColumns: VColumn<T>[];
|
|
7
|
+
} & {
|
|
8
|
+
onNew?: ((args_0: string) => any) | undefined;
|
|
9
|
+
}> & (typeof globalThis extends {
|
|
10
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
11
|
+
} ? P : {});
|
|
12
|
+
expose: (exposed: {}) => void;
|
|
13
|
+
attrs: any;
|
|
14
|
+
slots: {};
|
|
15
|
+
emit: (evt: "new", args_0: string) => void;
|
|
16
|
+
}>) => import("vue").VNode & {
|
|
17
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
|
+
};
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
22
|
+
[K in keyof T]: T[K];
|
|
23
|
+
} : {
|
|
24
|
+
[K in keyof T as K]: T[K];
|
|
25
|
+
}) & {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { OrderQueryOption, VColumn } from '#v/types';
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
4
|
+
options: OrderQueryOption<T>[];
|
|
5
|
+
unselectedFields: string[];
|
|
6
|
+
bizColumns: VColumn<T>[];
|
|
7
|
+
} & {
|
|
8
|
+
onNew?: ((args_0: string) => any) | undefined;
|
|
9
|
+
}> & (typeof globalThis extends {
|
|
10
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
11
|
+
} ? P : {});
|
|
12
|
+
expose: (exposed: {}) => void;
|
|
13
|
+
attrs: any;
|
|
14
|
+
slots: {};
|
|
15
|
+
emit: (evt: "new", args_0: string) => void;
|
|
16
|
+
}>) => import("vue").VNode & {
|
|
17
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
|
+
};
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
22
|
+
[K in keyof T]: T[K];
|
|
23
|
+
} : {
|
|
24
|
+
[K in keyof T as K]: T[K];
|
|
25
|
+
}) & {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { OrderQueryProps } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<OrderQueryProps<T>> & (typeof globalThis extends {
|
|
4
4
|
__VLS_PROPS_FALLBACK: infer P;
|
|
5
5
|
} ? P : {});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { OrderQueryProps } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<OrderQueryProps<T>> & (typeof globalThis extends {
|
|
4
4
|
__VLS_PROPS_FALLBACK: infer P;
|
|
5
5
|
} ? P : {});
|
|
@@ -1,14 +1,26 @@
|
|
|
1
1
|
import type { WhereQueryOption, VColumn, Size } from '#v/types';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
4
|
+
options: WhereQueryOption<T>[];
|
|
5
|
+
unselectedFields: string[];
|
|
6
|
+
bizColumns: VColumn<T>[];
|
|
7
|
+
size?: Size;
|
|
8
|
+
} & {
|
|
9
|
+
onNew?: ((args_0: string) => any) | undefined;
|
|
10
|
+
}> & (typeof globalThis extends {
|
|
11
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
12
|
+
} ? P : {});
|
|
13
|
+
expose: (exposed: {}) => void;
|
|
14
|
+
attrs: any;
|
|
15
|
+
slots: {};
|
|
16
|
+
emit: (evt: "new", args_0: string) => void;
|
|
17
|
+
}>) => import("vue").VNode & {
|
|
18
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
7
19
|
};
|
|
8
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
new: (args_0: string) => any;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
-
onNew?: ((args_0: string) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
20
|
declare const _default: typeof __VLS_export;
|
|
14
21
|
export default _default;
|
|
22
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
23
|
+
[K in keyof T]: T[K];
|
|
24
|
+
} : {
|
|
25
|
+
[K in keyof T as K]: T[K];
|
|
26
|
+
}) & {};
|
|
@@ -1,14 +1,26 @@
|
|
|
1
1
|
import type { WhereQueryOption, VColumn, Size } from '#v/types';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
4
|
+
options: WhereQueryOption<T>[];
|
|
5
|
+
unselectedFields: string[];
|
|
6
|
+
bizColumns: VColumn<T>[];
|
|
7
|
+
size?: Size;
|
|
8
|
+
} & {
|
|
9
|
+
onNew?: ((args_0: string) => any) | undefined;
|
|
10
|
+
}> & (typeof globalThis extends {
|
|
11
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
12
|
+
} ? P : {});
|
|
13
|
+
expose: (exposed: {}) => void;
|
|
14
|
+
attrs: any;
|
|
15
|
+
slots: {};
|
|
16
|
+
emit: (evt: "new", args_0: string) => void;
|
|
17
|
+
}>) => import("vue").VNode & {
|
|
18
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
7
19
|
};
|
|
8
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
new: (args_0: string) => any;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
-
onNew?: ((args_0: string) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
20
|
declare const _default: typeof __VLS_export;
|
|
14
21
|
export default _default;
|
|
22
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
23
|
+
[K in keyof T]: T[K];
|
|
24
|
+
} : {
|
|
25
|
+
[K in keyof T as K]: T[K];
|
|
26
|
+
}) & {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WhereQueryProps } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<WhereQueryProps<T>> & (typeof globalThis extends {
|
|
4
4
|
__VLS_PROPS_FALLBACK: infer P;
|
|
5
5
|
} ? P : {});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WhereQueryProps } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<WhereQueryProps<T>> & (typeof globalThis extends {
|
|
4
4
|
__VLS_PROPS_FALLBACK: infer P;
|
|
5
5
|
} ? P : {});
|
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
import type { WhereSimpleQueryProps } from '#v/types';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<WhereSimpleQueryProps<T>> & (typeof globalThis extends {
|
|
4
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
5
|
+
} ? P : {});
|
|
6
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
7
|
+
focusItem: (field: string) => boolean;
|
|
8
|
+
}>) => void;
|
|
9
|
+
attrs: any;
|
|
10
|
+
slots: {};
|
|
11
|
+
emit: {};
|
|
12
|
+
}>) => import("vue").VNode & {
|
|
13
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
14
|
+
};
|
|
6
15
|
declare const _default: typeof __VLS_export;
|
|
7
16
|
export default _default;
|
|
17
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
18
|
+
[K in keyof T]: T[K];
|
|
19
|
+
} : {
|
|
20
|
+
[K in keyof T as K]: T[K];
|
|
21
|
+
}) & {};
|
|
@@ -13,6 +13,11 @@ const onRemoveFilter = (field) => {
|
|
|
13
13
|
props.onUpdateItems(props.items?.filter((query) => query.field !== field) ?? []);
|
|
14
14
|
};
|
|
15
15
|
const itemRefMap = ref(/* @__PURE__ */ new Map());
|
|
16
|
+
function setItemRef(field, el) {
|
|
17
|
+
if (el && "focus" in el && typeof el.focus === "function") {
|
|
18
|
+
itemRefMap.value.set(field, el);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
16
21
|
defineExpose({
|
|
17
22
|
focusItem: (field) => {
|
|
18
23
|
const item = itemRefMap.value.get(field);
|
|
@@ -30,7 +35,7 @@ defineExpose({
|
|
|
30
35
|
<!-- key如果是field,那么field修改后,不能聚焦后面的组件,所以这里的key用idx代替 -->
|
|
31
36
|
<TableQueryWhereSimpleItem
|
|
32
37
|
v-for="(item, idx) in items"
|
|
33
|
-
:ref="(el) =>
|
|
38
|
+
:ref="(el) => setItemRef(item.field, el)"
|
|
34
39
|
:key="idx"
|
|
35
40
|
:where-query-item="item"
|
|
36
41
|
:options="whereOptions"
|
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
import type { WhereSimpleQueryProps } from '#v/types';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<WhereSimpleQueryProps<T>> & (typeof globalThis extends {
|
|
4
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
5
|
+
} ? P : {});
|
|
6
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
7
|
+
focusItem: (field: string) => boolean;
|
|
8
|
+
}>) => void;
|
|
9
|
+
attrs: any;
|
|
10
|
+
slots: {};
|
|
11
|
+
emit: {};
|
|
12
|
+
}>) => import("vue").VNode & {
|
|
13
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
14
|
+
};
|
|
6
15
|
declare const _default: typeof __VLS_export;
|
|
7
16
|
export default _default;
|
|
17
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
18
|
+
[K in keyof T]: T[K];
|
|
19
|
+
} : {
|
|
20
|
+
[K in keyof T as K]: T[K];
|
|
21
|
+
}) & {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WhereQueryItem, WhereQueryOption } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
4
|
options: WhereQueryOption<T>[];
|
|
5
5
|
disabled?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WhereQueryItem, WhereQueryOption } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
4
|
options: WhereQueryOption<T>[];
|
|
5
5
|
disabled?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WhereQueryItem, WhereQueryOption } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
4
|
options: WhereQueryOption<T>[];
|
|
5
5
|
disabled?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WhereQueryItem, WhereQueryOption } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
4
|
options: WhereQueryOption<T>[];
|
|
5
5
|
disabled?: boolean;
|
|
@@ -1,20 +1,30 @@
|
|
|
1
1
|
import type { WhereQueryOption, WhereQueryItem } from '#v/types';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
|
+
options: WhereQueryOption<T>[];
|
|
5
|
+
fetching?: boolean;
|
|
6
|
+
triggerFetching?: () => Promise<void>;
|
|
7
|
+
onRemove: (field: string) => void;
|
|
8
|
+
} & {
|
|
9
|
+
whereQueryItem: WhereQueryItem<T>;
|
|
10
|
+
}) & {
|
|
11
|
+
"onUpdate:whereQueryItem"?: ((value: WhereQueryItem<T>) => any) | undefined;
|
|
12
|
+
}> & (typeof globalThis extends {
|
|
13
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
14
|
+
} ? P : {});
|
|
15
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
16
|
+
focus: () => void | undefined;
|
|
17
|
+
}>) => void;
|
|
18
|
+
attrs: any;
|
|
19
|
+
slots: {};
|
|
20
|
+
emit: (event: "update:whereQueryItem", value: WhereQueryItem<T>) => void;
|
|
21
|
+
}>) => import("vue").VNode & {
|
|
22
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
7
23
|
};
|
|
8
|
-
type __VLS_ModelProps = {
|
|
9
|
-
'whereQueryItem': WhereQueryItem<any>;
|
|
10
|
-
};
|
|
11
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
13
|
-
focus: () => void | undefined;
|
|
14
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
-
"update:whereQueryItem": (value: WhereQueryItem<any>) => any;
|
|
16
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
|
-
"onUpdate:whereQueryItem"?: ((value: WhereQueryItem<any>) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
24
|
declare const _default: typeof __VLS_export;
|
|
20
25
|
export default _default;
|
|
26
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
27
|
+
[K in keyof T]: T[K];
|
|
28
|
+
} : {
|
|
29
|
+
[K in keyof T as K]: T[K];
|
|
30
|
+
}) & {};
|
|
@@ -1,20 +1,30 @@
|
|
|
1
1
|
import type { WhereQueryOption, WhereQueryItem } from '#v/types';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
|
+
options: WhereQueryOption<T>[];
|
|
5
|
+
fetching?: boolean;
|
|
6
|
+
triggerFetching?: () => Promise<void>;
|
|
7
|
+
onRemove: (field: string) => void;
|
|
8
|
+
} & {
|
|
9
|
+
whereQueryItem: WhereQueryItem<T>;
|
|
10
|
+
}) & {
|
|
11
|
+
"onUpdate:whereQueryItem"?: ((value: WhereQueryItem<T>) => any) | undefined;
|
|
12
|
+
}> & (typeof globalThis extends {
|
|
13
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
14
|
+
} ? P : {});
|
|
15
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
16
|
+
focus: () => void | undefined;
|
|
17
|
+
}>) => void;
|
|
18
|
+
attrs: any;
|
|
19
|
+
slots: {};
|
|
20
|
+
emit: (event: "update:whereQueryItem", value: WhereQueryItem<T>) => void;
|
|
21
|
+
}>) => import("vue").VNode & {
|
|
22
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
7
23
|
};
|
|
8
|
-
type __VLS_ModelProps = {
|
|
9
|
-
'whereQueryItem': WhereQueryItem<any>;
|
|
10
|
-
};
|
|
11
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
13
|
-
focus: () => void | undefined;
|
|
14
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
-
"update:whereQueryItem": (value: WhereQueryItem<any>) => any;
|
|
16
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
|
-
"onUpdate:whereQueryItem"?: ((value: WhereQueryItem<any>) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
24
|
declare const _default: typeof __VLS_export;
|
|
20
25
|
export default _default;
|
|
26
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
27
|
+
[K in keyof T]: T[K];
|
|
28
|
+
} : {
|
|
29
|
+
[K in keyof T as K]: T[K];
|
|
30
|
+
}) & {};
|
|
@@ -26,7 +26,6 @@ const props = defineProps({
|
|
|
26
26
|
});
|
|
27
27
|
const whereQueryItem = defineModel("whereQueryItem", { type: Object, ...{ required: true } });
|
|
28
28
|
const { fetching, startFetching, endFetching } = useFetching();
|
|
29
|
-
const searchTerm = ref("");
|
|
30
29
|
const searchedData = ref([]);
|
|
31
30
|
const currentSelectedData = computed(() => [...whereQueryItem.value.extraData ?? []].flat());
|
|
32
31
|
const allData = computed(() => {
|
|
@@ -88,16 +87,16 @@ const commandPaletteGroups = computed(() => {
|
|
|
88
87
|
];
|
|
89
88
|
return options;
|
|
90
89
|
});
|
|
91
|
-
const onFetchItems = async () => {
|
|
90
|
+
const onFetchItems = async (searchTerm) => {
|
|
92
91
|
try {
|
|
93
92
|
startFetching();
|
|
94
93
|
const query = {
|
|
95
94
|
pagination: { pageNum: 1, pageSize: 10 },
|
|
96
95
|
whereQuery: { items: [] }
|
|
97
96
|
};
|
|
98
|
-
if (!isEmptyString(searchTerm
|
|
97
|
+
if (!isEmptyString(searchTerm)) {
|
|
99
98
|
props.searchFields.forEach((field) => {
|
|
100
|
-
query.whereQuery?.items?.push({ field, opr: "like", value: searchTerm
|
|
99
|
+
query.whereQuery?.items?.push({ field, opr: "like", value: searchTerm, andOr: "or" });
|
|
101
100
|
});
|
|
102
101
|
}
|
|
103
102
|
const result = await props.listApi(defu(query, props.extraQuery));
|
|
@@ -124,7 +123,7 @@ defineExpose({
|
|
|
124
123
|
:groups="commandPaletteGroups"
|
|
125
124
|
multiple
|
|
126
125
|
enable-footer-toolbar
|
|
127
|
-
@open="onFetchItems"
|
|
126
|
+
@open="() => onFetchItems('')"
|
|
128
127
|
@search="onDebounceFetchItems"
|
|
129
128
|
>
|
|
130
129
|
<UButton
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WhereQueryItem } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
} & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WhereQueryItem } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
} & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WhereQueryItem } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
4
|
label: string | keyof T;
|
|
5
5
|
disabled?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WhereQueryItem } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
4
|
label: string | keyof T;
|
|
5
5
|
disabled?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type WhereQueryItem } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
4
|
label: string | keyof T;
|
|
5
5
|
disabled?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type WhereQueryItem } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
4
|
label: string | keyof T;
|
|
5
5
|
disabled?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SelectOption, WhereQueryItem } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
items: SelectOption[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SelectOption, WhereQueryItem } from '#v/types';
|
|
2
|
-
declare const __VLS_export: <T
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
items: SelectOption[];
|
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
import type { WhereQueryOption, WhereQueryItem } from '#v/types';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
|
+
options: WhereQueryOption<T>[];
|
|
5
|
+
fetching?: boolean;
|
|
6
|
+
triggerFetching?: () => Promise<void>;
|
|
7
|
+
} & {
|
|
8
|
+
whereQueryItem: WhereQueryItem<T>;
|
|
9
|
+
}) & {
|
|
10
|
+
"onUpdate:whereQueryItem"?: ((value: WhereQueryItem<T>) => any) | undefined;
|
|
11
|
+
}> & (typeof globalThis extends {
|
|
12
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
13
|
+
} ? P : {});
|
|
14
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
15
|
+
focus: () => void | undefined;
|
|
16
|
+
}>) => void;
|
|
17
|
+
attrs: any;
|
|
18
|
+
slots: {};
|
|
19
|
+
emit: (event: "update:whereQueryItem", value: WhereQueryItem<T>) => void;
|
|
20
|
+
}>) => import("vue").VNode & {
|
|
21
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
6
22
|
};
|
|
7
|
-
type __VLS_ModelProps = {
|
|
8
|
-
'whereQueryItem': WhereQueryItem<any>;
|
|
9
|
-
};
|
|
10
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
11
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
12
|
-
focus: () => void | undefined;
|
|
13
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
-
"update:whereQueryItem": (value: WhereQueryItem<any>) => any;
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
-
"onUpdate:whereQueryItem"?: ((value: WhereQueryItem<any>) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
23
|
declare const _default: typeof __VLS_export;
|
|
19
24
|
export default _default;
|
|
25
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
26
|
+
[K in keyof T]: T[K];
|
|
27
|
+
} : {
|
|
28
|
+
[K in keyof T as K]: T[K];
|
|
29
|
+
}) & {};
|