yxuse 3.0.103 → 3.0.105
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 +89 -89
- package/lib/index.cjs5.js +1 -1
- package/lib/index.cjs5.js.gz +0 -0
- package/lib/index.cjs6.js +1 -1
- package/lib/index.es11.js.gz +0 -0
- package/lib/index.es2.js.gz +0 -0
- package/lib/index.es5.js +71 -24
- package/lib/index.es5.js.gz +0 -0
- package/lib/index.es6.js +3 -3
- package/lib/index.es6.js.gz +0 -0
- package/lib/vendor-axios.cjs.js.gz +0 -0
- package/lib/vendor-axios.es.js.gz +0 -0
- package/lib/vendor-dayjs.es.js.gz +0 -0
- package/lib/vendor-localforage.cjs.js.gz +0 -0
- package/lib/vendor-localforage.es.js.gz +0 -0
- package/lib/vendor-lodash.cjs.js.gz +0 -0
- package/lib/vendor-lodash.es.js.gz +0 -0
- package/lib/vendor-mqtt.cjs.js.gz +0 -0
- package/lib/vendor-mqtt.es.js.gz +0 -0
- package/lib/vendor-sortablejs.cjs.js.gz +0 -0
- package/lib/vendor-sortablejs.es.js.gz +0 -0
- package/lib/version.json +12 -12
- package/lib/yxuse.css +1 -1
- package/lib/yxuse.css.gz +0 -0
- package/package.json +178 -178
- package/types/api/modules/auth/index.d.ts +13 -13
- package/types/components/Common/DynamicComponent/index.vue.d.ts +21 -21
- package/types/components/CommonPage/index.d.ts +3 -3
- package/types/components/CommonPage/page.d.ts +64 -64
- package/types/components/CommonPage/pagination.d.ts +9 -9
- package/types/components/CommonPage/props.d.ts +36 -36
- package/types/components/CommonPage/search.d.ts +4 -4
- package/types/components/CommonPage/table.d.ts +3 -3
- package/types/components/CommonPage/type.d.ts +1 -1
- package/types/components/SearchForm/index.d.ts +3 -3
- package/types/components/SearchForm/index.vue.d.ts +2 -2
- package/types/components/YxForm/form.type.d.ts +183 -183
- package/types/components/YxForm/form.vaildator.d.ts +57 -57
- package/types/components/YxForm/form.vue.d.ts +66 -66
- package/types/components/YxFormV2/index.d.ts +3 -3
- package/types/components/YxFormV2/index.vue.d.ts +46 -46
- package/types/components/YxFormV2/type.d.ts +54 -54
- package/types/components/YxFrom/form.type.d.ts +179 -179
- package/types/components/YxFrom/form.vaildator.d.ts +57 -57
- package/types/components/YxFrom/form.vue.d.ts +66 -66
- package/types/components/YxFrom/index.d.ts +3 -3
- package/types/components/YxIcon/index.vue.d.ts +22 -22
- package/types/components/YxSearchForm/index.d.ts +3 -3
- package/types/components/YxSearchForm/index.vue.d.ts +36 -36
- package/types/components/YxSearchForm/type.d.ts +52 -52
- package/types/components/YxTable3/index.d.ts +1 -1
- package/types/components/YxTable3/src/index.d.ts +31 -31
- package/types/icons/index.d.ts +1 -1
- package/types/icons/src/index.d.ts +4 -4
- package/types/theme/checkVersion.d.ts +1 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { type Ref } from "vue";
|
|
2
|
-
import type { IFormConfig } from "./form.type";
|
|
3
|
-
declare const _default: <T extends object>(__VLS_props: ({
|
|
4
|
-
status: "ADD";
|
|
5
|
-
formConfig: IFormConfig<T>;
|
|
6
|
-
} | {
|
|
7
|
-
status: "EDIT";
|
|
8
|
-
formConfig: IFormConfig<T>;
|
|
9
|
-
formData: T;
|
|
10
|
-
}) & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
11
|
-
attrs: any;
|
|
12
|
-
slots: Partial<Record<string, (_: {
|
|
13
|
-
form: T;
|
|
14
|
-
}) => any>>;
|
|
15
|
-
emit: any;
|
|
16
|
-
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
|
17
|
-
form: Ref<T>;
|
|
18
|
-
formValue: import("vue").ComputedRef<Partial<T>>;
|
|
19
|
-
resetForm: () => void;
|
|
20
|
-
validateForm: () => Promise<unknown>;
|
|
21
|
-
}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
22
|
-
props: ({
|
|
23
|
-
status: "ADD";
|
|
24
|
-
formConfig: IFormConfig<T>;
|
|
25
|
-
} | {
|
|
26
|
-
status: "EDIT";
|
|
27
|
-
formConfig: IFormConfig<T>;
|
|
28
|
-
formData: T;
|
|
29
|
-
}) & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
30
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
31
|
-
form: Ref<T>;
|
|
32
|
-
formValue: import("vue").ComputedRef<Partial<T>>;
|
|
33
|
-
resetForm: () => void;
|
|
34
|
-
validateForm: () => Promise<unknown>;
|
|
35
|
-
}>): void;
|
|
36
|
-
attrs: any;
|
|
37
|
-
slots: Partial<Record<string, (_: {
|
|
38
|
-
form: T;
|
|
39
|
-
}) => any>>;
|
|
40
|
-
emit: any;
|
|
41
|
-
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
42
|
-
[key: string]: any;
|
|
43
|
-
}> & {
|
|
44
|
-
__ctx?: {
|
|
45
|
-
props: ({
|
|
46
|
-
status: "ADD";
|
|
47
|
-
formConfig: IFormConfig<T>;
|
|
48
|
-
} | {
|
|
49
|
-
status: "EDIT";
|
|
50
|
-
formConfig: IFormConfig<T>;
|
|
51
|
-
formData: T;
|
|
52
|
-
}) & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
53
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
54
|
-
form: Ref<T>;
|
|
55
|
-
formValue: import("vue").ComputedRef<Partial<T>>;
|
|
56
|
-
resetForm: () => void;
|
|
57
|
-
validateForm: () => Promise<unknown>;
|
|
58
|
-
}>): void;
|
|
59
|
-
attrs: any;
|
|
60
|
-
slots: Partial<Record<string, (_: {
|
|
61
|
-
form: T;
|
|
62
|
-
}) => any>>;
|
|
63
|
-
emit: any;
|
|
64
|
-
} | undefined;
|
|
65
|
-
};
|
|
66
|
-
export default _default;
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { IFormConfig } from "./form.type";
|
|
3
|
+
declare const _default: <T extends object>(__VLS_props: ({
|
|
4
|
+
status: "ADD";
|
|
5
|
+
formConfig: IFormConfig<T>;
|
|
6
|
+
} | {
|
|
7
|
+
status: "EDIT";
|
|
8
|
+
formConfig: IFormConfig<T>;
|
|
9
|
+
formData: T;
|
|
10
|
+
}) & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
11
|
+
attrs: any;
|
|
12
|
+
slots: Partial<Record<string, (_: {
|
|
13
|
+
form: T;
|
|
14
|
+
}) => any>>;
|
|
15
|
+
emit: any;
|
|
16
|
+
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
|
17
|
+
form: Ref<T>;
|
|
18
|
+
formValue: import("vue").ComputedRef<Partial<T>>;
|
|
19
|
+
resetForm: () => void;
|
|
20
|
+
validateForm: () => Promise<unknown>;
|
|
21
|
+
}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
22
|
+
props: ({
|
|
23
|
+
status: "ADD";
|
|
24
|
+
formConfig: IFormConfig<T>;
|
|
25
|
+
} | {
|
|
26
|
+
status: "EDIT";
|
|
27
|
+
formConfig: IFormConfig<T>;
|
|
28
|
+
formData: T;
|
|
29
|
+
}) & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
30
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
31
|
+
form: Ref<T>;
|
|
32
|
+
formValue: import("vue").ComputedRef<Partial<T>>;
|
|
33
|
+
resetForm: () => void;
|
|
34
|
+
validateForm: () => Promise<unknown>;
|
|
35
|
+
}>): void;
|
|
36
|
+
attrs: any;
|
|
37
|
+
slots: Partial<Record<string, (_: {
|
|
38
|
+
form: T;
|
|
39
|
+
}) => any>>;
|
|
40
|
+
emit: any;
|
|
41
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
}> & {
|
|
44
|
+
__ctx?: {
|
|
45
|
+
props: ({
|
|
46
|
+
status: "ADD";
|
|
47
|
+
formConfig: IFormConfig<T>;
|
|
48
|
+
} | {
|
|
49
|
+
status: "EDIT";
|
|
50
|
+
formConfig: IFormConfig<T>;
|
|
51
|
+
formData: T;
|
|
52
|
+
}) & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
53
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
54
|
+
form: Ref<T>;
|
|
55
|
+
formValue: import("vue").ComputedRef<Partial<T>>;
|
|
56
|
+
resetForm: () => void;
|
|
57
|
+
validateForm: () => Promise<unknown>;
|
|
58
|
+
}>): void;
|
|
59
|
+
attrs: any;
|
|
60
|
+
slots: Partial<Record<string, (_: {
|
|
61
|
+
form: T;
|
|
62
|
+
}) => any>>;
|
|
63
|
+
emit: any;
|
|
64
|
+
} | undefined;
|
|
65
|
+
};
|
|
66
|
+
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as YxForm } from "./form.vue";
|
|
2
|
-
export * from "./form.type";
|
|
3
|
-
export * from "./form.vue";
|
|
1
|
+
export { default as YxForm } from "./form.vue";
|
|
2
|
+
export * from "./form.type";
|
|
3
|
+
export * from "./form.vue";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
interface YxIconProps {
|
|
2
|
-
color?: string;
|
|
3
|
-
size?: string;
|
|
4
|
-
}
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<YxIconProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<YxIconProps>>>, {}, {}>, {
|
|
6
|
-
default?(_: {}): any;
|
|
7
|
-
}>;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
-
new (): {
|
|
20
|
-
$slots: S;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
1
|
+
interface YxIconProps {
|
|
2
|
+
color?: string;
|
|
3
|
+
size?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<YxIconProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<YxIconProps>>>, {}, {}>, {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as YxSearchForm } from './index.vue';
|
|
2
|
-
export * from './index.vue';
|
|
3
|
-
export * from './type';
|
|
1
|
+
export { default as YxSearchForm } from './index.vue';
|
|
2
|
+
export * from './index.vue';
|
|
3
|
+
export * from './type';
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { YxFormProps } from './type.ts';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<YxFormProps>, {
|
|
4
|
-
showSearchBtn: boolean;
|
|
5
|
-
showAddBtn: boolean;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
search: () => void;
|
|
8
|
-
add: () => void;
|
|
9
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<YxFormProps>, {
|
|
10
|
-
showSearchBtn: boolean;
|
|
11
|
-
showAddBtn: boolean;
|
|
12
|
-
}>>> & Readonly<{
|
|
13
|
-
onSearch?: (() => any) | undefined;
|
|
14
|
-
onAdd?: (() => any) | undefined;
|
|
15
|
-
}>, {
|
|
16
|
-
showSearchBtn: boolean;
|
|
17
|
-
showAddBtn: boolean;
|
|
18
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
-
export default _default;
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
type __VLS_WithDefaults<P, D> = {
|
|
30
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
-
default: D[K];
|
|
32
|
-
}> : P[K];
|
|
33
|
-
};
|
|
34
|
-
type __VLS_Prettify<T> = {
|
|
35
|
-
[K in keyof T]: T[K];
|
|
36
|
-
} & {};
|
|
1
|
+
import { YxFormProps } from './type.ts';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<YxFormProps>, {
|
|
4
|
+
showSearchBtn: boolean;
|
|
5
|
+
showAddBtn: boolean;
|
|
6
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
search: () => void;
|
|
8
|
+
add: () => void;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<YxFormProps>, {
|
|
10
|
+
showSearchBtn: boolean;
|
|
11
|
+
showAddBtn: boolean;
|
|
12
|
+
}>>> & Readonly<{
|
|
13
|
+
onSearch?: (() => any) | undefined;
|
|
14
|
+
onAdd?: (() => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
showSearchBtn: boolean;
|
|
17
|
+
showAddBtn: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
}> : P[K];
|
|
33
|
+
};
|
|
34
|
+
type __VLS_Prettify<T> = {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} & {};
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
export interface YxFormProps {
|
|
2
|
-
searchColumns: SearchFormConfig[];
|
|
3
|
-
searchParams: Record<string, any>;
|
|
4
|
-
showSearchBtn?: boolean;
|
|
5
|
-
showAddBtn?: boolean;
|
|
6
|
-
/** 设置样式 */
|
|
7
|
-
style?: Record<string, any>;
|
|
8
|
-
/** label样式 */
|
|
9
|
-
labelStyle?: Record<string, any>;
|
|
10
|
-
/** class */
|
|
11
|
-
className?: string;
|
|
12
|
-
/** label样式 */
|
|
13
|
-
classLabelName?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface SearchFormConfig {
|
|
16
|
-
label: string;
|
|
17
|
-
/** 渲染类型 */
|
|
18
|
-
renderType: string;
|
|
19
|
-
key?: string;
|
|
20
|
-
/** 动态组件配置 */
|
|
21
|
-
config?: Record<string, any>;
|
|
22
|
-
/**控制表单显示或隐藏的方法 */
|
|
23
|
-
show?: () => boolean;
|
|
24
|
-
change?: () => void;
|
|
25
|
-
/** 组件类样式 */
|
|
26
|
-
componentClassName?: string[];
|
|
27
|
-
/** 组件样式 */
|
|
28
|
-
componentStyle?: Record<string, any>;
|
|
29
|
-
/** 设置样式 */
|
|
30
|
-
style?: Record<string, any>;
|
|
31
|
-
/** label样式 */
|
|
32
|
-
labelStyle?: Record<string, any>;
|
|
33
|
-
/** class */
|
|
34
|
-
className?: string;
|
|
35
|
-
/** label样式 */
|
|
36
|
-
classLabelName?: string;
|
|
37
|
-
}
|
|
38
|
-
export interface FormConfig {
|
|
39
|
-
label: string;
|
|
40
|
-
/** 渲染类型 */
|
|
41
|
-
renderType: string;
|
|
42
|
-
key?: string;
|
|
43
|
-
options?: Array<{
|
|
44
|
-
[key: string]: any;
|
|
45
|
-
}> | Function;
|
|
46
|
-
width?: number;
|
|
47
|
-
componentWidth?: string;
|
|
48
|
-
dateType?: string;
|
|
49
|
-
inputType?: string;
|
|
50
|
-
disabled?: boolean;
|
|
51
|
-
clearable?: boolean;
|
|
52
|
-
}
|
|
1
|
+
export interface YxFormProps {
|
|
2
|
+
searchColumns: SearchFormConfig[];
|
|
3
|
+
searchParams: Record<string, any>;
|
|
4
|
+
showSearchBtn?: boolean;
|
|
5
|
+
showAddBtn?: boolean;
|
|
6
|
+
/** 设置样式 */
|
|
7
|
+
style?: Record<string, any>;
|
|
8
|
+
/** label样式 */
|
|
9
|
+
labelStyle?: Record<string, any>;
|
|
10
|
+
/** class */
|
|
11
|
+
className?: string;
|
|
12
|
+
/** label样式 */
|
|
13
|
+
classLabelName?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface SearchFormConfig {
|
|
16
|
+
label: string;
|
|
17
|
+
/** 渲染类型 */
|
|
18
|
+
renderType: string;
|
|
19
|
+
key?: string;
|
|
20
|
+
/** 动态组件配置 */
|
|
21
|
+
config?: Record<string, any>;
|
|
22
|
+
/**控制表单显示或隐藏的方法 */
|
|
23
|
+
show?: () => boolean;
|
|
24
|
+
change?: () => void;
|
|
25
|
+
/** 组件类样式 */
|
|
26
|
+
componentClassName?: string[];
|
|
27
|
+
/** 组件样式 */
|
|
28
|
+
componentStyle?: Record<string, any>;
|
|
29
|
+
/** 设置样式 */
|
|
30
|
+
style?: Record<string, any>;
|
|
31
|
+
/** label样式 */
|
|
32
|
+
labelStyle?: Record<string, any>;
|
|
33
|
+
/** class */
|
|
34
|
+
className?: string;
|
|
35
|
+
/** label样式 */
|
|
36
|
+
classLabelName?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface FormConfig {
|
|
39
|
+
label: string;
|
|
40
|
+
/** 渲染类型 */
|
|
41
|
+
renderType: string;
|
|
42
|
+
key?: string;
|
|
43
|
+
options?: Array<{
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
}> | Function;
|
|
46
|
+
width?: number;
|
|
47
|
+
componentWidth?: string;
|
|
48
|
+
dateType?: string;
|
|
49
|
+
inputType?: string;
|
|
50
|
+
disabled?: boolean;
|
|
51
|
+
clearable?: boolean;
|
|
52
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as YxTable3 } from "./src/index.tsx";
|
|
1
|
+
export { default as YxTable3 } from "./src/index.tsx";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import type { PropType } from "vue";
|
|
2
|
-
import type { TableProps } from "./interface/index.d";
|
|
3
|
-
declare const yxTableEmits: {
|
|
4
|
-
"operate-handle": (key: string, row: object) => boolean;
|
|
5
|
-
"sort-end": (oldIndex: number, newIndex: number) => boolean;
|
|
6
|
-
"update-page": (type: string, value: number) => boolean;
|
|
7
|
-
"size-change": () => boolean;
|
|
8
|
-
};
|
|
9
|
-
export type yxTableEmits = typeof yxTableEmits;
|
|
10
|
-
declare const _default: import("vue").DefineComponent<{
|
|
11
|
-
tableProps: {
|
|
12
|
-
type: PropType<TableProps>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
-
"operate-handle": (key: string, row: object) => boolean;
|
|
17
|
-
"sort-end": (oldIndex: number, newIndex: number) => boolean;
|
|
18
|
-
"update-page": (type: string, value: number) => boolean;
|
|
19
|
-
"size-change": () => boolean;
|
|
20
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
-
tableProps: {
|
|
22
|
-
type: PropType<TableProps>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
}>> & {
|
|
26
|
-
"onOperate-handle"?: ((key: string, row: object) => any) | undefined;
|
|
27
|
-
"onSort-end"?: ((oldIndex: number, newIndex: number) => any) | undefined;
|
|
28
|
-
"onUpdate-page"?: ((type: string, value: number) => any) | undefined;
|
|
29
|
-
"onSize-change"?: (() => any) | undefined;
|
|
30
|
-
}, {}, {}>;
|
|
31
|
-
export default _default;
|
|
1
|
+
import type { PropType } from "vue";
|
|
2
|
+
import type { TableProps } from "./interface/index.d";
|
|
3
|
+
declare const yxTableEmits: {
|
|
4
|
+
"operate-handle": (key: string, row: object) => boolean;
|
|
5
|
+
"sort-end": (oldIndex: number, newIndex: number) => boolean;
|
|
6
|
+
"update-page": (type: string, value: number) => boolean;
|
|
7
|
+
"size-change": () => boolean;
|
|
8
|
+
};
|
|
9
|
+
export type yxTableEmits = typeof yxTableEmits;
|
|
10
|
+
declare const _default: import("vue").DefineComponent<{
|
|
11
|
+
tableProps: {
|
|
12
|
+
type: PropType<TableProps>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"operate-handle": (key: string, row: object) => boolean;
|
|
17
|
+
"sort-end": (oldIndex: number, newIndex: number) => boolean;
|
|
18
|
+
"update-page": (type: string, value: number) => boolean;
|
|
19
|
+
"size-change": () => boolean;
|
|
20
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
tableProps: {
|
|
22
|
+
type: PropType<TableProps>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
}>> & {
|
|
26
|
+
"onOperate-handle"?: ((key: string, row: object) => any) | undefined;
|
|
27
|
+
"onSort-end"?: ((oldIndex: number, newIndex: number) => any) | undefined;
|
|
28
|
+
"onUpdate-page"?: ((type: string, value: number) => any) | undefined;
|
|
29
|
+
"onSize-change"?: (() => any) | undefined;
|
|
30
|
+
}, {}, {}>;
|
|
31
|
+
export default _default;
|
package/types/icons/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./src/index";
|
|
1
|
+
export * from "./src/index";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Component from "./svg/Component.svg";
|
|
2
|
-
import * as Device from "./svg/device.svg?component";
|
|
3
|
-
import * as Data from "./svg/Data.svg";
|
|
4
|
-
export { Component, Device, Data };
|
|
1
|
+
import * as Component from "./svg/Component.svg";
|
|
2
|
+
import * as Device from "./svg/device.svg?component";
|
|
3
|
+
import * as Data from "./svg/Data.svg";
|
|
4
|
+
export { Component, Device, Data };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const checkVersion: () => void;
|