@pungfe/element 0.0.1-alpha.9 → 0.1.1
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/LICENSE +21 -21
- package/README.md +151 -1
- package/dist/advance-C3UkhTla.js +1894 -0
- package/dist/advance-DIZmFb3t.cjs +1 -0
- package/dist/advance.cjs +1 -0
- package/dist/advance.d.ts +23 -0
- package/dist/advance.js +2 -0
- package/dist/basic-BfqwJFE_.cjs +1 -0
- package/dist/basic-CZ74BN1R.js +1006 -0
- package/dist/basic.cjs +1 -0
- package/dist/basic.d.ts +33 -0
- package/dist/basic.js +2 -0
- package/dist/components/advance/XButtonAsync.vue.d.ts +21 -0
- package/dist/{basic/XReconfirm.vue.d.ts → components/advance/XButtonConfirm.vue.d.ts} +6 -5
- package/dist/components/advance/XCascaderRequest.vue.d.ts +55 -0
- package/dist/components/advance/XFormFlex.vue.d.ts +19 -0
- package/dist/components/advance/XFormRequestNext.vue.d.ts +53 -0
- package/dist/components/advance/XRequest.vue.d.ts +74 -0
- package/dist/components/advance/XSelectRequest.vue.d.ts +53 -0
- package/dist/components/advance/XTableFlex.vue.d.ts +53 -0
- package/dist/components/advance/XTableRequestConfigNext.vue.d.ts +68 -0
- package/dist/components/advance/XTableRequestNext.vue.d.ts +89 -0
- package/dist/components/advance/XUploadOssNext.vue.d.ts +29 -0
- package/dist/{basic/XButton.vue.d.ts → components/basic/Button.vue.d.ts} +15 -4
- package/dist/{basic/XSelect.vue.d.ts → components/basic/Cascader.vue.d.ts} +16 -12
- package/dist/components/basic/Checkbox.vue.d.ts +22 -0
- package/dist/components/basic/ConfigProvider.vue.d.ts +21 -0
- package/dist/components/basic/DatePicker.vue.d.ts +34 -0
- package/dist/{basic/XDialog.vue.d.ts → components/basic/Dialog.vue.d.ts} +17 -9
- package/dist/{basic/XForm.vue.d.ts → components/basic/Form.vue.d.ts} +3 -27
- package/dist/components/basic/FormItem.vue.d.ts +34 -0
- package/dist/components/basic/Input.vue.d.ts +44 -0
- package/dist/components/basic/InputNumber.vue.d.ts +48 -0
- package/dist/components/basic/Pagination.vue.d.ts +41 -0
- package/dist/components/basic/Select.vue.d.ts +51 -0
- package/dist/components/basic/TabPane.vue.d.ts +32 -0
- package/dist/components/basic/Table.vue.d.ts +105 -0
- package/dist/{basic/XTabs.vue.d.ts → components/basic/Tabs.vue.d.ts} +9 -11
- package/dist/components/basic/Upload.vue.d.ts +47 -0
- package/dist/constants/index.d.ts +15 -9
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +4 -42
- package/dist/index.js +25 -1192
- package/dist/install.d.ts +12 -0
- package/dist/locales/en.d.ts +2 -0
- package/dist/locales/zh-cn.d.ts +2 -0
- package/dist/locales-CPrLlnob.js +389 -0
- package/dist/locales-fS7f5AIx.cjs +1 -0
- package/dist/locales.cjs +1 -0
- package/dist/locales.d.ts +2 -0
- package/dist/locales.js +2 -0
- package/dist/resolver.cjs +1 -0
- package/dist/resolver.d.ts +3 -1
- package/dist/resolver.js +56 -34
- package/dist/style.css +3 -0
- package/dist/types.d.ts +30 -0
- package/package.json +119 -80
- package/dist/basic/XCascader.vue.d.ts +0 -26
- package/dist/basic/XCheckbox.vue.d.ts +0 -28
- package/dist/basic/XColorPicker.vue.d.ts +0 -21
- package/dist/basic/XDivider.vue.d.ts +0 -20
- package/dist/basic/XImage.vue.d.ts +0 -5
- package/dist/basic/XInput.vue.d.ts +0 -29
- package/dist/basic/XInputNumber.vue.d.ts +0 -31
- package/dist/basic/XPagination.vue.d.ts +0 -21
- package/dist/basic/XRate.vue.d.ts +0 -20
- package/dist/basic/XScrollbar.vue.d.ts +0 -415
- package/dist/basic/XSpace.vue.d.ts +0 -20
- package/dist/basic/XTable.vue.d.ts +0 -55
- package/dist/basic/XTag.vue.d.ts +0 -28
- package/dist/basic/XText.vue.d.ts +0 -23
- package/dist/basic/XUpload.vue.d.ts +0 -41
package/dist/basic.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./basic-BfqwJFE_.cjs`);exports.XButton=e.b,exports.XCascader=e.g,exports.XCheckbox=e.h,exports.XConfigProvider=e.m,exports.XDatePicker=e.p,exports.XDialog=e.f,exports.XForm=e.d,exports.XFormItem=e.u,exports.XInput=e.l,exports.XInputNumber=e.c,exports.XPagination=e.s,exports.XSelect=e.o,exports.XTabPane=e.i,exports.XTable=e.a,exports.XTabs=e.r,exports.XUpload=e.n;
|
package/dist/basic.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { default as XButton } from './components/basic/Button.vue';
|
|
2
|
+
import { default as XCascader } from './components/basic/Cascader.vue';
|
|
3
|
+
import { default as XCheckbox } from './components/basic/Checkbox.vue';
|
|
4
|
+
import { default as XConfigProvider } from './components/basic/ConfigProvider.vue';
|
|
5
|
+
import { default as XDatePicker } from './components/basic/DatePicker.vue';
|
|
6
|
+
import { default as XDialog } from './components/basic/Dialog.vue';
|
|
7
|
+
import { default as XForm } from './components/basic/Form.vue';
|
|
8
|
+
import { default as XFormItem } from './components/basic/FormItem.vue';
|
|
9
|
+
import { default as XInput } from './components/basic/Input.vue';
|
|
10
|
+
import { default as XInputNumber } from './components/basic/InputNumber.vue';
|
|
11
|
+
import { default as XPagination } from './components/basic/Pagination.vue';
|
|
12
|
+
import { default as XSelect } from './components/basic/Select.vue';
|
|
13
|
+
import { default as XTable } from './components/basic/Table.vue';
|
|
14
|
+
import { default as XTabPane } from './components/basic/TabPane.vue';
|
|
15
|
+
import { default as XTabs } from './components/basic/Tabs.vue';
|
|
16
|
+
import { default as XUpload } from './components/basic/Upload.vue';
|
|
17
|
+
export { XButton, XCascader, XCheckbox, XConfigProvider, XDatePicker, XDialog, XForm, XFormItem, XInput, XInputNumber, XPagination, XSelect, XTable, XTabPane, XTabs, XUpload };
|
|
18
|
+
export * from './components/basic/Button.vue';
|
|
19
|
+
export * from './components/basic/Cascader.vue';
|
|
20
|
+
export * from './components/basic/Checkbox.vue';
|
|
21
|
+
export * from './components/basic/ConfigProvider.vue';
|
|
22
|
+
export * from './components/basic/DatePicker.vue';
|
|
23
|
+
export * from './components/basic/Dialog.vue';
|
|
24
|
+
export * from './components/basic/Form.vue';
|
|
25
|
+
export * from './components/basic/FormItem.vue';
|
|
26
|
+
export * from './components/basic/Input.vue';
|
|
27
|
+
export * from './components/basic/InputNumber.vue';
|
|
28
|
+
export * from './components/basic/Pagination.vue';
|
|
29
|
+
export * from './components/basic/Select.vue';
|
|
30
|
+
export * from './components/basic/Table.vue';
|
|
31
|
+
export * from './components/basic/TabPane.vue';
|
|
32
|
+
export * from './components/basic/Tabs.vue';
|
|
33
|
+
export * from './components/basic/Upload.vue';
|
package/dist/basic.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as e, b as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, u as h } from "./basic-CZ74BN1R.js";
|
|
2
|
+
export { t as XButton, a as XCascader, o as XCheckbox, l as XConfigProvider, f as XDatePicker, i as XDialog, r as XForm, h as XFormItem, c as XInput, n as XInputNumber, m as XPagination, d as XSelect, s as XTabPane, e as XTable, p as XTabs, u as XUpload };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { XButtonProps } from '../../basic';
|
|
2
|
+
export interface XButtonAsyncProps extends XButtonProps {
|
|
3
|
+
action?: () => PromiseLike<unknown> | unknown;
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<XButtonAsyncProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<XButtonAsyncProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { XButtonProps } from '../../basic';
|
|
2
|
+
export interface XButtonConfirmProps extends XButtonProps {
|
|
2
3
|
title?: string;
|
|
3
4
|
}
|
|
4
5
|
declare function __VLS_template(): {
|
|
@@ -10,12 +11,12 @@ declare function __VLS_template(): {
|
|
|
10
11
|
rootEl: any;
|
|
11
12
|
};
|
|
12
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
14
|
-
cancel: () => any;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<XButtonConfirmProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
15
|
confirm: () => any;
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
cancel: () => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<XButtonConfirmProps> & Readonly<{
|
|
18
18
|
onConfirm?: (() => any) | undefined;
|
|
19
|
+
onCancel?: (() => any) | undefined;
|
|
19
20
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
22
|
export default _default;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { XCascaderProps } from '../../basic';
|
|
2
|
+
import { CascaderComponentProps } from 'element-plus';
|
|
3
|
+
import { Ref } from 'vue';
|
|
4
|
+
export interface XCascaderRequestProps<U, PT, QR, D, V> extends Omit<XCascaderProps<D, V>, 'data' | 'factory'> {
|
|
5
|
+
request: () => {
|
|
6
|
+
data: Ref<D[]>;
|
|
7
|
+
execute: () => PromiseLike<unknown>;
|
|
8
|
+
isFetching: Ref<boolean>;
|
|
9
|
+
path: Ref<PT>;
|
|
10
|
+
query: Ref<QR>;
|
|
11
|
+
url: U;
|
|
12
|
+
};
|
|
13
|
+
clearable?: CascaderComponentProps['clearable'];
|
|
14
|
+
disabled?: CascaderComponentProps['disabled'];
|
|
15
|
+
filterable?: CascaderComponentProps['filterable'];
|
|
16
|
+
}
|
|
17
|
+
export interface XCascaderRequestEvents<PT, QR, V> {
|
|
18
|
+
prepare: [parameters: {
|
|
19
|
+
path: PT;
|
|
20
|
+
query: QR;
|
|
21
|
+
}];
|
|
22
|
+
change: [value: V];
|
|
23
|
+
}
|
|
24
|
+
declare const _default: <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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
25
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
26
|
+
readonly "onUpdate:modelValue"?: ((value: MV) => any) | undefined;
|
|
27
|
+
readonly onChange?: ((value: V) => any) | undefined;
|
|
28
|
+
readonly onPrepare?: ((parameters: {
|
|
29
|
+
path: PT;
|
|
30
|
+
query: QR;
|
|
31
|
+
}) => any) | undefined;
|
|
32
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onChange" | "onPrepare"> & ({
|
|
33
|
+
modelValue?: MV;
|
|
34
|
+
} & XCascaderRequestProps<U, PT, QR, D, V>) & Partial<{}>> & import('vue').PublicProps;
|
|
35
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
36
|
+
search: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
|
|
37
|
+
data: Ref<D[], D[]>;
|
|
38
|
+
path: Ref<PT, PT>;
|
|
39
|
+
url: U;
|
|
40
|
+
execute: () => PromiseLike<unknown>;
|
|
41
|
+
query: Ref<QR, QR>;
|
|
42
|
+
}>): void;
|
|
43
|
+
attrs: any;
|
|
44
|
+
slots: {};
|
|
45
|
+
emit: (((evt: "change", value: V) => void) & ((evt: "prepare", parameters: {
|
|
46
|
+
path: PT;
|
|
47
|
+
query: QR;
|
|
48
|
+
}) => void)) & ((evt: "update:modelValue", value: MV) => void);
|
|
49
|
+
}>) => import('vue').VNode & {
|
|
50
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
51
|
+
};
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_PrettifyLocal<T> = {
|
|
54
|
+
[K in keyof T]: T[K];
|
|
55
|
+
} & {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { XFormProps } from '../../basic';
|
|
2
|
+
export interface XFormFlexProps<D> extends XFormProps<D> {
|
|
3
|
+
}
|
|
4
|
+
declare const _default: <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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & XFormFlexProps<D> & Partial<{}>> & import('vue').PublicProps;
|
|
6
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
7
|
+
validate: () => boolean | undefined;
|
|
8
|
+
clearValidate: () => void | undefined;
|
|
9
|
+
}>): void;
|
|
10
|
+
attrs: any;
|
|
11
|
+
slots: {};
|
|
12
|
+
emit: {};
|
|
13
|
+
}>) => import('vue').VNode & {
|
|
14
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_PrettifyLocal<T> = {
|
|
18
|
+
[K in keyof T]: T[K];
|
|
19
|
+
} & {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { XFormProps } from '../../basic';
|
|
2
|
+
import { Ref, VNodeChild } from 'vue';
|
|
3
|
+
export interface XFormRequestProps<U, PT, QR, D> extends Omit<XFormProps<D>, 'disabled' | 'data'> {
|
|
4
|
+
request: () => {
|
|
5
|
+
data: Ref<D>;
|
|
6
|
+
execute: () => PromiseLike<unknown>;
|
|
7
|
+
isFetching: Ref<boolean>;
|
|
8
|
+
path: Ref<PT>;
|
|
9
|
+
query: Ref<QR>;
|
|
10
|
+
url: U;
|
|
11
|
+
};
|
|
12
|
+
content?: (scope: {
|
|
13
|
+
data: D;
|
|
14
|
+
}) => VNodeChild;
|
|
15
|
+
disabled?: ((scope: {
|
|
16
|
+
data: D;
|
|
17
|
+
}) => boolean) | boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface XFormRequestEvents<PT, QR> {
|
|
20
|
+
prepare: [parameters: {
|
|
21
|
+
path: PT;
|
|
22
|
+
query: QR;
|
|
23
|
+
}];
|
|
24
|
+
}
|
|
25
|
+
declare const _default: <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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
26
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
27
|
+
readonly onPrepare?: ((parameters: {
|
|
28
|
+
path: PT;
|
|
29
|
+
query: QR;
|
|
30
|
+
}) => any) | undefined;
|
|
31
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onPrepare"> & XFormRequestProps<U, PT, QR, D> & Partial<{}>> & import('vue').PublicProps;
|
|
32
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
33
|
+
data: Ref<D, D>;
|
|
34
|
+
url: U;
|
|
35
|
+
search: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
|
|
36
|
+
validate: () => boolean | undefined;
|
|
37
|
+
clearValidate: () => void | undefined;
|
|
38
|
+
reset: () => D;
|
|
39
|
+
resetFields: () => void;
|
|
40
|
+
}>): void;
|
|
41
|
+
attrs: any;
|
|
42
|
+
slots: {};
|
|
43
|
+
emit: (evt: "prepare", parameters: {
|
|
44
|
+
path: PT;
|
|
45
|
+
query: QR;
|
|
46
|
+
}) => void;
|
|
47
|
+
}>) => import('vue').VNode & {
|
|
48
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
49
|
+
};
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_PrettifyLocal<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Paging } from '../../types';
|
|
2
|
+
import { Ref, VNodeChild } from 'vue';
|
|
3
|
+
export interface XRequestProps<U, PT, QR, D> {
|
|
4
|
+
request: () => {
|
|
5
|
+
data: Ref<D>;
|
|
6
|
+
execute: () => PromiseLike<unknown>;
|
|
7
|
+
isFetching: Ref<boolean>;
|
|
8
|
+
paging: Ref<Paging>;
|
|
9
|
+
path: Ref<PT>;
|
|
10
|
+
query: Ref<QR>;
|
|
11
|
+
url: U;
|
|
12
|
+
};
|
|
13
|
+
content?: (scope: {
|
|
14
|
+
data: D;
|
|
15
|
+
query: QR;
|
|
16
|
+
path: PT;
|
|
17
|
+
isFetching: boolean;
|
|
18
|
+
paging: Paging;
|
|
19
|
+
}) => VNodeChild;
|
|
20
|
+
}
|
|
21
|
+
export interface XRequestEvents<PT, QR> {
|
|
22
|
+
prepare: [parameters: {
|
|
23
|
+
path: PT;
|
|
24
|
+
query: QR;
|
|
25
|
+
}];
|
|
26
|
+
}
|
|
27
|
+
declare const _default: <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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
28
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
29
|
+
readonly onPrepare?: ((parameters: {
|
|
30
|
+
path: PT;
|
|
31
|
+
query: QR;
|
|
32
|
+
}) => any) | undefined;
|
|
33
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onPrepare"> & XRequestProps<U, PT, QR, D> & Partial<{}>> & import('vue').PublicProps;
|
|
34
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
35
|
+
data: Ref<D, D>;
|
|
36
|
+
paging: Ref<Paging, Paging>;
|
|
37
|
+
path: Ref<PT, PT>;
|
|
38
|
+
query: Ref<QR, QR>;
|
|
39
|
+
isFetching: Ref<boolean, boolean>;
|
|
40
|
+
url: U;
|
|
41
|
+
execute: () => PromiseLike<unknown>;
|
|
42
|
+
search: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
|
|
43
|
+
}>): void;
|
|
44
|
+
attrs: any;
|
|
45
|
+
slots: Readonly<{
|
|
46
|
+
default: (scope: {
|
|
47
|
+
data: D;
|
|
48
|
+
execute: () => PromiseLike<unknown>;
|
|
49
|
+
isFetching: boolean;
|
|
50
|
+
paging: Paging;
|
|
51
|
+
path: PT;
|
|
52
|
+
query: QR;
|
|
53
|
+
}) => VNodeChild;
|
|
54
|
+
}> & {
|
|
55
|
+
default: (scope: {
|
|
56
|
+
data: D;
|
|
57
|
+
execute: () => PromiseLike<unknown>;
|
|
58
|
+
isFetching: boolean;
|
|
59
|
+
paging: Paging;
|
|
60
|
+
path: PT;
|
|
61
|
+
query: QR;
|
|
62
|
+
}) => VNodeChild;
|
|
63
|
+
};
|
|
64
|
+
emit: (evt: "prepare", parameters: {
|
|
65
|
+
path: PT;
|
|
66
|
+
query: QR;
|
|
67
|
+
}) => void;
|
|
68
|
+
}>) => import('vue').VNode & {
|
|
69
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
70
|
+
};
|
|
71
|
+
export default _default;
|
|
72
|
+
type __VLS_PrettifyLocal<T> = {
|
|
73
|
+
[K in keyof T]: T[K];
|
|
74
|
+
} & {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { XSelectEvents, XSelectProps } from '../../basic';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
export interface XSelectRequestProps<U, PT, QR, D, V> extends Omit<XSelectProps<D, V>, 'supplement'> {
|
|
4
|
+
request: () => {
|
|
5
|
+
data: Ref<D[]>;
|
|
6
|
+
execute: () => PromiseLike<unknown>;
|
|
7
|
+
isFetching: Ref<boolean>;
|
|
8
|
+
path: Ref<PT>;
|
|
9
|
+
query: Ref<QR>;
|
|
10
|
+
url: U;
|
|
11
|
+
};
|
|
12
|
+
supplement?: (lacks: V[], url: U) => D[] | PromiseLike<D[]>;
|
|
13
|
+
}
|
|
14
|
+
export interface XSelectRequestEvents<PT, QR, V> extends XSelectEvents<V> {
|
|
15
|
+
prepare: [parameters: {
|
|
16
|
+
path: PT;
|
|
17
|
+
query: QR;
|
|
18
|
+
}, input?: string];
|
|
19
|
+
}
|
|
20
|
+
declare const _default: <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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
21
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
22
|
+
readonly "onUpdate:modelValue"?: ((value: MV) => any) | undefined;
|
|
23
|
+
readonly onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
24
|
+
readonly onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
25
|
+
readonly onChange?: ((value: V) => any) | undefined;
|
|
26
|
+
readonly onPrepare?: ((parameters: {
|
|
27
|
+
path: PT;
|
|
28
|
+
query: QR;
|
|
29
|
+
}, input?: string | undefined) => any) | undefined;
|
|
30
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onBlur" | "onChange" | "onFocus" | "onPrepare"> & ({
|
|
31
|
+
modelValue?: MV;
|
|
32
|
+
} & XSelectRequestProps<U, PT, QR, D, V>) & Partial<{}>> & import('vue').PublicProps;
|
|
33
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
34
|
+
search: import('@vueuse/shared').UseDebounceFnReturn<(input?: string) => Promise<void>>;
|
|
35
|
+
data: Ref<D[], D[]>;
|
|
36
|
+
path: Ref<PT, PT>;
|
|
37
|
+
url: U;
|
|
38
|
+
execute: () => PromiseLike<unknown>;
|
|
39
|
+
query: Ref<QR, QR>;
|
|
40
|
+
}>): void;
|
|
41
|
+
attrs: any;
|
|
42
|
+
slots: {};
|
|
43
|
+
emit: (((evt: "focus", e: FocusEvent) => void) & ((evt: "blur", e: FocusEvent) => void) & ((evt: "change", value: V) => void) & ((evt: "prepare", parameters: {
|
|
44
|
+
path: PT;
|
|
45
|
+
query: QR;
|
|
46
|
+
}, input?: string | undefined) => void)) & ((evt: "update:modelValue", value: MV) => void);
|
|
47
|
+
}>) => import('vue').VNode & {
|
|
48
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
49
|
+
};
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_PrettifyLocal<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { XTableEvents, XTableProps } from '../../basic';
|
|
2
|
+
import { TableColumnCtx } from 'element-plus';
|
|
3
|
+
import { CSSProperties } from 'vue';
|
|
4
|
+
export interface XTableFlexProps<D> extends XTableProps<D> {
|
|
5
|
+
cellClassName?: ((scope: {
|
|
6
|
+
column: TableColumnCtx;
|
|
7
|
+
columnIndex: number;
|
|
8
|
+
row: D;
|
|
9
|
+
rowIndex: number;
|
|
10
|
+
}) => string) | string;
|
|
11
|
+
cellStyle?: ((scope: {
|
|
12
|
+
column: TableColumnCtx;
|
|
13
|
+
columnIndex: number;
|
|
14
|
+
row: D;
|
|
15
|
+
rowIndex: number;
|
|
16
|
+
}) => CSSProperties) | CSSProperties;
|
|
17
|
+
rowClassName?: ((scope: {
|
|
18
|
+
row: D;
|
|
19
|
+
rowIndex: number;
|
|
20
|
+
}) => string) | string;
|
|
21
|
+
rowStyle?: ((scope: {
|
|
22
|
+
row: D;
|
|
23
|
+
rowIndex: number;
|
|
24
|
+
}) => CSSProperties) | CSSProperties;
|
|
25
|
+
}
|
|
26
|
+
export interface XTableFlexEvents<D> extends XTableEvents<D> {
|
|
27
|
+
}
|
|
28
|
+
declare const _default: <D>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
29
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
30
|
+
readonly onHeaderDragend?: ((newWidth: number, oldWidth: number, column: TableColumnCtx) => any) | undefined;
|
|
31
|
+
readonly onRowClick?: ((row: D) => any) | undefined;
|
|
32
|
+
readonly onRowDblclick?: ((row: D) => any) | undefined;
|
|
33
|
+
readonly onSelectionChange?: ((rows: D[]) => any) | undefined;
|
|
34
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onHeaderDragend" | "onRowClick" | "onRowDblclick" | "onSelectionChange"> & XTableFlexProps<D> & Partial<{}>> & import('vue').PublicProps;
|
|
35
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
36
|
+
clearSelection: () => void | undefined;
|
|
37
|
+
getSelectionRows: () => any[] | undefined;
|
|
38
|
+
scrollTo: (options: number | ScrollToOptions, yCoord?: number) => void | undefined;
|
|
39
|
+
setCurrentRow: (row: D) => void | undefined;
|
|
40
|
+
setScrollLeft: (left: number) => void | undefined;
|
|
41
|
+
setScrollTop: (top: number) => void | undefined;
|
|
42
|
+
toggleRowSelection: (row: D, selected?: boolean, ignoreSelectable?: boolean) => void | undefined;
|
|
43
|
+
}>): void;
|
|
44
|
+
attrs: any;
|
|
45
|
+
slots: {};
|
|
46
|
+
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
|
+
}>) => import('vue').VNode & {
|
|
48
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
49
|
+
};
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_PrettifyLocal<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Ref, VNodeChild } from 'vue';
|
|
2
|
+
import { Paging, TableColumnField } from '../../types';
|
|
3
|
+
import { XTableFlexEvents, XTableFlexProps, XTableRequestColumnsProps } from '../../advance';
|
|
4
|
+
export interface XTableRequestConfigColumnsProps<QR, D> extends Omit<XTableRequestColumnsProps<D>, 'content'> {
|
|
5
|
+
content?: (scope: {
|
|
6
|
+
row: D;
|
|
7
|
+
index: number;
|
|
8
|
+
}) => VNodeChild;
|
|
9
|
+
search?: (scope: {
|
|
10
|
+
query: QR;
|
|
11
|
+
}) => VNodeChild;
|
|
12
|
+
}
|
|
13
|
+
export interface XTableRequestConfigProps<U, PT, QR, D> extends Omit<XTableFlexProps<D>, 'columns' | 'showOverflowTooltip'> {
|
|
14
|
+
request: () => {
|
|
15
|
+
data: Ref<D[]>;
|
|
16
|
+
execute: () => PromiseLike<unknown>;
|
|
17
|
+
isFetching: Ref<boolean>;
|
|
18
|
+
paging: Ref<Paging>;
|
|
19
|
+
path: Ref<PT>;
|
|
20
|
+
query: Ref<QR>;
|
|
21
|
+
url: U;
|
|
22
|
+
};
|
|
23
|
+
fields: () => {
|
|
24
|
+
data: Ref<TableColumnField[]>;
|
|
25
|
+
update: (fields: TableColumnField[]) => PromiseLike<unknown>;
|
|
26
|
+
};
|
|
27
|
+
config: Record<string, XTableRequestConfigColumnsProps<QR, D>>;
|
|
28
|
+
pagination?: boolean;
|
|
29
|
+
}
|
|
30
|
+
export interface XTableRequestConfigEvents<PT, QR, D> extends XTableFlexEvents<D> {
|
|
31
|
+
prepare: [parameters: {
|
|
32
|
+
path: PT;
|
|
33
|
+
query: QR;
|
|
34
|
+
}];
|
|
35
|
+
}
|
|
36
|
+
declare const _default: <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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
37
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
38
|
+
readonly onHeaderDragend?: ((newWidth: number, oldWidth: number, column: import('element-plus').TableColumnCtx) => any) | undefined;
|
|
39
|
+
readonly onRowClick?: ((row: D) => any) | undefined;
|
|
40
|
+
readonly onRowDblclick?: ((row: D) => any) | undefined;
|
|
41
|
+
readonly onSelectionChange?: ((rows: D[]) => any) | undefined;
|
|
42
|
+
readonly onPrepare?: ((parameters: {
|
|
43
|
+
path: PT;
|
|
44
|
+
query: QR;
|
|
45
|
+
}) => any) | undefined;
|
|
46
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onHeaderDragend" | "onRowClick" | "onRowDblclick" | "onSelectionChange" | "onPrepare"> & XTableRequestConfigProps<U, PT, QR, D> & Partial<{}>> & import('vue').PublicProps;
|
|
47
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
48
|
+
search: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
|
|
49
|
+
data: Ref<D[], D[]>;
|
|
50
|
+
paging: Ref<Paging, Paging>;
|
|
51
|
+
isFetching: Ref<boolean, boolean>;
|
|
52
|
+
url: U;
|
|
53
|
+
query: Ref<QR, QR>;
|
|
54
|
+
path: Ref<PT, PT>;
|
|
55
|
+
}>): void;
|
|
56
|
+
attrs: any;
|
|
57
|
+
slots: {};
|
|
58
|
+
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: {
|
|
59
|
+
path: PT;
|
|
60
|
+
query: QR;
|
|
61
|
+
}) => void);
|
|
62
|
+
}>) => import('vue').VNode & {
|
|
63
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
64
|
+
};
|
|
65
|
+
export default _default;
|
|
66
|
+
type __VLS_PrettifyLocal<T> = {
|
|
67
|
+
[K in keyof T]: T[K];
|
|
68
|
+
} & {};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { TableColumnCtx } from 'element-plus';
|
|
2
|
+
import { CSSProperties, Ref, VNodeChild } from 'vue';
|
|
3
|
+
import { Paging } from '../../types';
|
|
4
|
+
import { XTableFlexEvents, XTableFlexProps } from '../../advance';
|
|
5
|
+
import { XTableColumnProps } from '../../basic';
|
|
6
|
+
export interface XTableRequestColumnsProps<D> extends XTableColumnProps<D> {
|
|
7
|
+
content?: (scope: {
|
|
8
|
+
index: number;
|
|
9
|
+
row: D;
|
|
10
|
+
}) => VNodeChild;
|
|
11
|
+
}
|
|
12
|
+
export interface XTableRequestProps<U, PT, QR, D> extends Omit<XTableFlexProps<D>, 'data' | 'columns'> {
|
|
13
|
+
request: () => {
|
|
14
|
+
data: Ref<D[]>;
|
|
15
|
+
execute: () => PromiseLike<unknown>;
|
|
16
|
+
isFetching: Ref<boolean>;
|
|
17
|
+
paging: Ref<Paging>;
|
|
18
|
+
path: Ref<PT>;
|
|
19
|
+
query: Ref<QR>;
|
|
20
|
+
url: U;
|
|
21
|
+
};
|
|
22
|
+
pagination?: boolean;
|
|
23
|
+
columns: XTableRequestColumnsProps<D>[];
|
|
24
|
+
header?: (scope: {
|
|
25
|
+
query: QR;
|
|
26
|
+
}) => VNodeChild;
|
|
27
|
+
footer?: (scope: {
|
|
28
|
+
query: QR;
|
|
29
|
+
}) => VNodeChild;
|
|
30
|
+
cellClassName?: ((scope: {
|
|
31
|
+
column: TableColumnCtx;
|
|
32
|
+
columnIndex: number;
|
|
33
|
+
row: D;
|
|
34
|
+
rowIndex: number;
|
|
35
|
+
}) => string) | string;
|
|
36
|
+
cellStyle?: ((scope: {
|
|
37
|
+
column: TableColumnCtx;
|
|
38
|
+
columnIndex: number;
|
|
39
|
+
row: D;
|
|
40
|
+
rowIndex: number;
|
|
41
|
+
}) => CSSProperties) | CSSProperties;
|
|
42
|
+
rowClassName?: ((scope: {
|
|
43
|
+
row: D;
|
|
44
|
+
rowIndex: number;
|
|
45
|
+
}) => string) | string;
|
|
46
|
+
rowStyle?: ((scope: {
|
|
47
|
+
row: D;
|
|
48
|
+
rowIndex: number;
|
|
49
|
+
}) => CSSProperties) | CSSProperties;
|
|
50
|
+
}
|
|
51
|
+
export interface XTableRequestEvents<PT, QR, D> extends XTableFlexEvents<D> {
|
|
52
|
+
prepare: [parameters: {
|
|
53
|
+
path: PT;
|
|
54
|
+
query: QR;
|
|
55
|
+
}];
|
|
56
|
+
}
|
|
57
|
+
declare const _default: <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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
58
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
59
|
+
readonly onHeaderDragend?: ((newWidth: number, oldWidth: number, column: TableColumnCtx) => any) | undefined;
|
|
60
|
+
readonly onRowClick?: ((row: D) => any) | undefined;
|
|
61
|
+
readonly onRowDblclick?: ((row: D) => any) | undefined;
|
|
62
|
+
readonly onSelectionChange?: ((rows: D[]) => any) | undefined;
|
|
63
|
+
readonly onPrepare?: ((parameters: {
|
|
64
|
+
path: PT;
|
|
65
|
+
query: QR;
|
|
66
|
+
}) => any) | undefined;
|
|
67
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onHeaderDragend" | "onRowClick" | "onRowDblclick" | "onSelectionChange" | "onPrepare"> & XTableRequestProps<U, PT, QR, D> & Partial<{}>> & import('vue').PublicProps;
|
|
68
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
69
|
+
search: import('@vueuse/shared').UseDebounceFnReturn<() => Promise<void>>;
|
|
70
|
+
data: Ref<D[], D[]>;
|
|
71
|
+
paging: Ref<Paging, Paging>;
|
|
72
|
+
isFetching: Ref<boolean, boolean>;
|
|
73
|
+
url: U;
|
|
74
|
+
query: Ref<QR, QR>;
|
|
75
|
+
path: Ref<PT, PT>;
|
|
76
|
+
}>): void;
|
|
77
|
+
attrs: any;
|
|
78
|
+
slots: {};
|
|
79
|
+
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: {
|
|
80
|
+
path: PT;
|
|
81
|
+
query: QR;
|
|
82
|
+
}) => void);
|
|
83
|
+
}>) => import('vue').VNode & {
|
|
84
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
85
|
+
};
|
|
86
|
+
export default _default;
|
|
87
|
+
type __VLS_PrettifyLocal<T> = {
|
|
88
|
+
[K in keyof T]: T[K];
|
|
89
|
+
} & {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { XUploadProps } from '../../basic';
|
|
2
|
+
import { VNodeChild } from 'vue';
|
|
3
|
+
export interface XUploadOssProps extends Omit<XUploadProps, 'action' | 'data' | 'fileList' | 'beforeUpload'> {
|
|
4
|
+
/** oss 接收文件最大 大约为50兆, 超过50兆应采取oss ststoken 分片上传 */
|
|
5
|
+
maxSize?: number;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: <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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
9
|
+
readonly "onUpdate:modelValue"?: ((value: MV) => any) | undefined;
|
|
10
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
|
|
11
|
+
modelValue?: MV;
|
|
12
|
+
} & XUploadOssProps) & Partial<{}>> & import('vue').PublicProps;
|
|
13
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
14
|
+
attrs: any;
|
|
15
|
+
slots: Readonly<{
|
|
16
|
+
default: () => VNodeChild;
|
|
17
|
+
tip: () => VNodeChild;
|
|
18
|
+
}> & {
|
|
19
|
+
default: () => VNodeChild;
|
|
20
|
+
tip: () => VNodeChild;
|
|
21
|
+
};
|
|
22
|
+
emit: (evt: "update:modelValue", value: MV) => void;
|
|
23
|
+
}>) => import('vue').VNode & {
|
|
24
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_PrettifyLocal<T> = {
|
|
28
|
+
[K in keyof T]: T[K];
|
|
29
|
+
} & {};
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import { ButtonProps } from 'element-plus';
|
|
2
|
-
export interface
|
|
2
|
+
export interface XButtonConfig {
|
|
3
|
+
/**
|
|
4
|
+
* 两个中文字符之间自动插入空格(仅当文本长度为 2 且所有字符均为中文时才生效)
|
|
5
|
+
* @default false
|
|
6
|
+
*/
|
|
7
|
+
autoInsertSpace?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface XButtonProps {
|
|
10
|
+
disabled?: ButtonProps['disabled'];
|
|
11
|
+
link?: ButtonProps['link'];
|
|
12
|
+
size?: ButtonProps['size'];
|
|
13
|
+
text?: ButtonProps['text'];
|
|
14
|
+
type?: ButtonProps['type'];
|
|
15
|
+
icon?: ButtonProps['icon'];
|
|
3
16
|
}
|
|
4
17
|
declare function __VLS_template(): {
|
|
5
18
|
attrs: Partial<{}>;
|
|
@@ -14,9 +27,7 @@ declare const __VLS_component: import('vue').DefineComponent<XButtonProps, {}, {
|
|
|
14
27
|
click: (e: MouseEvent) => any;
|
|
15
28
|
}, string, import('vue').PublicProps, Readonly<XButtonProps> & Readonly<{
|
|
16
29
|
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
17
|
-
}>, {
|
|
18
|
-
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
19
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
31
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
32
|
export default _default;
|
|
22
33
|
type __VLS_WithTemplateSlots<T, S> = T & {
|