@wujies/components 0.0.0-stage → 5.6.3

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.
@@ -0,0 +1,2 @@
1
+ export declare function listConfig(query: Record<string, any>): Promise<any>;
2
+ export declare function updateConfigByKey(key: string, value: any): Promise<any>;
@@ -0,0 +1,2 @@
1
+ export declare function listByIds(ossId: string | number): Promise<any>;
2
+ export declare function delOss(ossId: string | number | Array<string | number>): Promise<any>;
@@ -0,0 +1,11 @@
1
+ export interface OssVO {
2
+ ossId: string | number;
3
+ url: string;
4
+ fileName?: string;
5
+ originalName?: string;
6
+ [key: string]: any;
7
+ }
8
+ export interface ConfigQuery {
9
+ configKey?: string;
10
+ [key: string]: any;
11
+ }
@@ -0,0 +1 @@
1
+ export declare function getUser(userId?: string | number): Promise<any>;
@@ -0,0 +1,54 @@
1
+ import { type PropType } from 'vue';
2
+ import type { ImageInstance } from 'element-plus';
3
+ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
4
+ src: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ width: {
9
+ type: (StringConstructor | NumberConstructor)[];
10
+ default: string;
11
+ };
12
+ height: {
13
+ type: (StringConstructor | NumberConstructor)[];
14
+ default: string;
15
+ };
16
+ previewSrcList: {
17
+ type: PropType<string[]>;
18
+ default: () => any[];
19
+ };
20
+ initialIndex: {
21
+ type: NumberConstructor;
22
+ default: number;
23
+ };
24
+ }>, {
25
+ imageRef: globalThis.Ref<ImageInstance, ImageInstance>;
26
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
27
+ src: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ width: {
32
+ type: (StringConstructor | NumberConstructor)[];
33
+ default: string;
34
+ };
35
+ height: {
36
+ type: (StringConstructor | NumberConstructor)[];
37
+ default: string;
38
+ };
39
+ previewSrcList: {
40
+ type: PropType<string[]>;
41
+ default: () => any[];
42
+ };
43
+ initialIndex: {
44
+ type: NumberConstructor;
45
+ default: number;
46
+ };
47
+ }>> & Readonly<{}>, {
48
+ src: string;
49
+ width: string | number;
50
+ height: string | number;
51
+ previewSrcList: string[];
52
+ initialIndex: number;
53
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
54
+ export default _default;
@@ -0,0 +1,129 @@
1
+ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
+ modelValue: {
3
+ type: (StringConstructor | ArrayConstructor | ObjectConstructor)[];
4
+ default: () => any[];
5
+ };
6
+ limit: {
7
+ type: NumberConstructor;
8
+ default: number;
9
+ };
10
+ fileSize: {
11
+ type: NumberConstructor;
12
+ default: number;
13
+ };
14
+ fileType: {
15
+ type: ArrayConstructor;
16
+ default: string[];
17
+ };
18
+ isShowTip: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ compressSupport: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ compressTargetSize: {
27
+ type: NumberConstructor;
28
+ default: number;
29
+ };
30
+ /**
31
+ * 提示展示方式。
32
+ * - inline:直接显示在组件下方(默认)
33
+ * - tooltip:收成一个问号图标,鼠标悬停才展示,适合表单很挤的场景
34
+ */
35
+ tipMode: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ tipText: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ recommendSize: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ disabled: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ action: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
+ "update:modelValue": (...args: any[]) => void;
57
+ "upload-success": (...args: any[]) => void;
58
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
59
+ modelValue: {
60
+ type: (StringConstructor | ArrayConstructor | ObjectConstructor)[];
61
+ default: () => any[];
62
+ };
63
+ limit: {
64
+ type: NumberConstructor;
65
+ default: number;
66
+ };
67
+ fileSize: {
68
+ type: NumberConstructor;
69
+ default: number;
70
+ };
71
+ fileType: {
72
+ type: ArrayConstructor;
73
+ default: string[];
74
+ };
75
+ isShowTip: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ compressSupport: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ compressTargetSize: {
84
+ type: NumberConstructor;
85
+ default: number;
86
+ };
87
+ /**
88
+ * 提示展示方式。
89
+ * - inline:直接显示在组件下方(默认)
90
+ * - tooltip:收成一个问号图标,鼠标悬停才展示,适合表单很挤的场景
91
+ */
92
+ tipMode: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ tipText: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
100
+ recommendSize: {
101
+ type: StringConstructor;
102
+ default: string;
103
+ };
104
+ disabled: {
105
+ type: BooleanConstructor;
106
+ default: boolean;
107
+ };
108
+ action: {
109
+ type: StringConstructor;
110
+ default: string;
111
+ };
112
+ }>> & Readonly<{
113
+ "onUpdate:modelValue"?: (...args: any[]) => any;
114
+ "onUpload-success"?: (...args: any[]) => any;
115
+ }>, {
116
+ modelValue: string | Record<string, any> | unknown[];
117
+ limit: number;
118
+ fileSize: number;
119
+ fileType: unknown[];
120
+ isShowTip: boolean;
121
+ compressSupport: boolean;
122
+ compressTargetSize: number;
123
+ tipMode: string;
124
+ tipText: string;
125
+ recommendSize: string;
126
+ disabled: boolean;
127
+ action: string;
128
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
129
+ export default _default;
@@ -0,0 +1,16 @@
1
+ declare var __VLS_6: {}, __VLS_8: {}, __VLS_10: {};
2
+ type __VLS_Slots = {} & {
3
+ header?: (props: typeof __VLS_6) => any;
4
+ } & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ } & {
7
+ footer?: (props: typeof __VLS_10) => any;
8
+ };
9
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
+ export default _default;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,24 @@
1
+ type DictTagTheme = 'light' | 'dark' | 'plain' | 'text';
2
+ interface Props {
3
+ options: Array<DictDataOption>;
4
+ value: number | string | Array<number | string>;
5
+ showValue?: boolean;
6
+ separator?: string;
7
+ round?: boolean;
8
+ wrap?: boolean;
9
+ gap?: number | string;
10
+ size?: '' | 'large' | 'default' | 'small';
11
+ theme?: DictTagTheme;
12
+ fallbackType?: ElTagType;
13
+ }
14
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
15
+ size: "" | "large" | "default" | "small";
16
+ showValue: boolean;
17
+ separator: string;
18
+ round: boolean;
19
+ wrap: boolean;
20
+ gap: number | string;
21
+ theme: DictTagTheme;
22
+ fallbackType: ElTagType;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import type { Component } from 'vue';
2
+ type __VLS_Props = {
3
+ icon?: string | Component;
4
+ };
5
+ declare var __VLS_6: {}, __VLS_12: {};
6
+ type __VLS_Slots = {} & {
7
+ icon?: (props: typeof __VLS_6) => any;
8
+ } & {
9
+ default?: (props: typeof __VLS_12) => any;
10
+ };
11
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,194 @@
1
+ import type { Component, VNode } from 'vue';
2
+ interface SearchOption {
3
+ label: string;
4
+ value: string | number | boolean;
5
+ disabled?: boolean;
6
+ }
7
+ export interface KSearchBarItem {
8
+ key: string;
9
+ label?: string | (() => VNode) | Component;
10
+ type?: string;
11
+ hidden?: boolean;
12
+ span?: number;
13
+ sm?: number;
14
+ md?: number;
15
+ lg?: number;
16
+ xl?: number;
17
+ placeholder?: string;
18
+ options?: SearchOption[];
19
+ props?: Record<string, any>;
20
+ render?: (() => VNode) | Component;
21
+ }
22
+ interface SanitizeOutputOptions {
23
+ removeEmptyString: boolean;
24
+ removeEmptyArray: boolean;
25
+ removeEmptyObject: boolean;
26
+ keepZero: boolean;
27
+ keepFalse: boolean;
28
+ }
29
+ type __VLS_Props = {
30
+ items: KSearchBarItem[];
31
+ span?: number;
32
+ actionSpan?: number;
33
+ gutter?: number;
34
+ labelPosition?: 'left' | 'right' | 'top';
35
+ showReset?: boolean;
36
+ showSearch?: boolean;
37
+ title?: string;
38
+ searchText?: string;
39
+ resetText?: string;
40
+ sanitizeOutput?: Partial<SanitizeOutputOptions>;
41
+ };
42
+ declare function getOutput(): Record<string, any>;
43
+ declare function handleReset(): void;
44
+ type __VLS_PublicProps = __VLS_Props & {
45
+ modelValue?: Record<string, any>;
46
+ };
47
+ declare var __VLS_32: string, __VLS_33: {
48
+ item: KSearchBarItem;
49
+ modelValue: Record<string, any>;
50
+ }, __VLS_59: {
51
+ modelValue: Record<string, any>;
52
+ }, __VLS_77: {
53
+ modelValue: Record<string, any>;
54
+ };
55
+ type __VLS_Slots = {} & {
56
+ [K in NonNullable<typeof __VLS_32>]?: (props: typeof __VLS_33) => any;
57
+ } & {
58
+ 'actions-before'?: (props: typeof __VLS_59) => any;
59
+ } & {
60
+ 'actions-after'?: (props: typeof __VLS_77) => any;
61
+ };
62
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
63
+ reset: typeof handleReset;
64
+ validate: (...args: any[]) => import("element-plus").FormValidationResult;
65
+ getOutput: typeof getOutput;
66
+ formRef: Readonly<import("vue").ShallowRef<{
67
+ $: import("vue").ComponentInternalInstance;
68
+ $data: {};
69
+ $props: {
70
+ readonly model?: Record<string, any>;
71
+ readonly rules?: import("element-plus").FormRules;
72
+ readonly labelPosition?: "left" | "right" | "top";
73
+ readonly requireAsteriskPosition?: "left" | "right";
74
+ readonly labelWidth?: string | number;
75
+ readonly labelSuffix?: string;
76
+ readonly inline?: boolean;
77
+ readonly inlineMessage?: boolean;
78
+ readonly statusIcon?: boolean;
79
+ readonly showMessage?: boolean;
80
+ readonly validateOnRuleChange?: boolean;
81
+ readonly hideRequiredAsterisk?: boolean;
82
+ readonly scrollToError?: boolean;
83
+ readonly scrollIntoViewOptions?: ScrollIntoViewOptions | boolean;
84
+ readonly size?: import("element-plus").ComponentSize;
85
+ readonly disabled?: boolean;
86
+ readonly onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
87
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
88
+ $attrs: {
89
+ [x: string]: unknown;
90
+ };
91
+ $refs: {
92
+ [x: string]: unknown;
93
+ };
94
+ $slots: Readonly<{
95
+ [name: string]: globalThis.Slot;
96
+ }>;
97
+ $root: ComponentPublicInstance | null;
98
+ $parent: ComponentPublicInstance | null;
99
+ $host: Element | null;
100
+ $emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
101
+ $el: any;
102
+ $options: import("vue").ComponentOptionsBase<Readonly<import("element-plus").FormProps> & Readonly<{
103
+ onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
104
+ }>, {
105
+ validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
106
+ validateField: (props?: import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
107
+ resetFields: (props?: import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemProp>) => void;
108
+ clearValidate: (props?: import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemProp>) => void;
109
+ scrollToField: (prop: import("element-plus").FormItemProp) => void;
110
+ getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
111
+ fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
112
+ setInitialValues: (initModel: Record<string, any>) => void;
113
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
114
+ validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
115
+ }, string, {
116
+ labelWidth: string | number;
117
+ labelPosition: "left" | "right" | "top";
118
+ requireAsteriskPosition: "left" | "right";
119
+ labelSuffix: string;
120
+ showMessage: boolean;
121
+ validateOnRuleChange: boolean;
122
+ scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
123
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
124
+ beforeCreate?: (() => void) | (() => void)[];
125
+ created?: (() => void) | (() => void)[];
126
+ beforeMount?: (() => void) | (() => void)[];
127
+ mounted?: (() => void) | (() => void)[];
128
+ beforeUpdate?: (() => void) | (() => void)[];
129
+ updated?: (() => void) | (() => void)[];
130
+ activated?: (() => void) | (() => void)[];
131
+ deactivated?: (() => void) | (() => void)[];
132
+ beforeDestroy?: (() => void) | (() => void)[];
133
+ beforeUnmount?: (() => void) | (() => void)[];
134
+ destroyed?: (() => void) | (() => void)[];
135
+ unmounted?: (() => void) | (() => void)[];
136
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
137
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
138
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
139
+ };
140
+ $forceUpdate: () => void;
141
+ $nextTick: typeof import("vue").nextTick;
142
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
143
+ } & Readonly<{
144
+ labelWidth: string | number;
145
+ labelPosition: "left" | "right" | "top";
146
+ requireAsteriskPosition: "left" | "right";
147
+ labelSuffix: string;
148
+ showMessage: boolean;
149
+ validateOnRuleChange: boolean;
150
+ scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
151
+ }> & Omit<Readonly<import("element-plus").FormProps> & Readonly<{
152
+ onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
153
+ }>, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import("vue").ShallowUnwrapRef<{
154
+ validate: (callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
155
+ validateField: (props?: import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemProp>, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
156
+ resetFields: (props?: import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemProp>) => void;
157
+ clearValidate: (props?: import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemProp>) => void;
158
+ scrollToField: (prop: import("element-plus").FormItemProp) => void;
159
+ getField: (prop: import("element-plus").FormItemProp) => import("element-plus").FormItemContext | undefined;
160
+ fields: import("vue").Reactive<import("element-plus").FormItemContext[]>;
161
+ setInitialValues: (initModel: Record<string, any>) => void;
162
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
163
+ $slots: {
164
+ default?: (props: {}) => any;
165
+ };
166
+ }>>;
167
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
168
+ search: (args_0: Record<string, any>) => any;
169
+ reset: () => any;
170
+ "update:modelValue": (value: Record<string, any>) => any;
171
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
172
+ onSearch?: (args_0: Record<string, any>) => any;
173
+ onReset?: () => any;
174
+ "onUpdate:modelValue"?: (value: Record<string, any>) => any;
175
+ }>, {
176
+ span: number;
177
+ title: string;
178
+ items: KSearchBarItem[];
179
+ actionSpan: number;
180
+ gutter: number;
181
+ labelPosition: "left" | "right" | "top";
182
+ showReset: boolean;
183
+ showSearch: boolean;
184
+ searchText: string;
185
+ resetText: string;
186
+ sanitizeOutput: Partial<SanitizeOutputOptions>;
187
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
188
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
189
+ export default _default;
190
+ type __VLS_WithSlots<T, S> = T & {
191
+ new (): {
192
+ $slots: S;
193
+ };
194
+ };
@@ -0,0 +1,9 @@
1
+ type __VLS_Props = {
2
+ count: number;
3
+ };
4
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ clear: () => any;
6
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
7
+ onClear?: () => any;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ export default _default;
@@ -0,0 +1,81 @@
1
+ export interface KTableColumn {
2
+ type?: string;
3
+ prop?: string;
4
+ key?: string | number;
5
+ label?: string;
6
+ visible?: boolean;
7
+ checked?: boolean;
8
+ useSlot?: boolean;
9
+ slotName?: string;
10
+ useHeaderSlot?: boolean;
11
+ headerSlotName?: string;
12
+ [key: string]: any;
13
+ }
14
+ interface KTableColumnState {
15
+ key: string | number;
16
+ visible?: boolean;
17
+ checked?: boolean;
18
+ fixed?: boolean | 'left' | 'right';
19
+ sortOrder?: number;
20
+ }
21
+ interface KPaginationConfig {
22
+ pageNum?: number;
23
+ pageSize?: number;
24
+ total?: number;
25
+ current?: number;
26
+ size?: number;
27
+ }
28
+ interface KPaginationOptions {
29
+ pageSizes?: number[];
30
+ layout?: string;
31
+ background?: boolean;
32
+ pagerCount?: number;
33
+ align?: 'left' | 'center' | 'right';
34
+ [key: string]: any;
35
+ }
36
+ type __VLS_Props = {
37
+ loading?: boolean;
38
+ columns?: KTableColumn[];
39
+ columnState?: KTableColumnState[];
40
+ data?: Record<string, any>[];
41
+ pagination?: KPaginationConfig;
42
+ paginationOptions?: KPaginationOptions;
43
+ emptyText?: string;
44
+ showPaginationWhenEmpty?: boolean;
45
+ };
46
+ declare var __VLS_20: string, __VLS_21: any, __VLS_24: string, __VLS_25: any, __VLS_27: {};
47
+ type __VLS_Slots = {} & {
48
+ [K in NonNullable<typeof __VLS_20>]?: (props: typeof __VLS_21) => any;
49
+ } & {
50
+ [K in NonNullable<typeof __VLS_24>]?: (props: typeof __VLS_25) => any;
51
+ } & {
52
+ default?: (props: typeof __VLS_27) => any;
53
+ };
54
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
55
+ elTableRef: globalThis.Ref<import("element-plus").TableInstance, import("element-plus").TableInstance>;
56
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
57
+ "selection-change": (args_0: any[]) => any;
58
+ "pagination:current-change": (args_0: number) => any;
59
+ "pagination:size-change": (args_0: number) => any;
60
+ "update:pagination": (args_0: KPaginationConfig) => any;
61
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
62
+ "onSelection-change"?: (args_0: any[]) => any;
63
+ "onPagination:current-change"?: (args_0: number) => any;
64
+ "onPagination:size-change"?: (args_0: number) => any;
65
+ "onUpdate:pagination"?: (args_0: KPaginationConfig) => any;
66
+ }>, {
67
+ loading: boolean;
68
+ data: Record<string, any>[];
69
+ emptyText: string;
70
+ columns: KTableColumn[];
71
+ columnState: KTableColumnState[];
72
+ paginationOptions: KPaginationOptions;
73
+ showPaginationWhenEmpty: boolean;
74
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
75
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
76
+ export default _default;
77
+ type __VLS_WithSlots<T, S> = T & {
78
+ new (): {
79
+ $slots: S;
80
+ };
81
+ };
@@ -0,0 +1,42 @@
1
+ export interface KTableHeaderColumn {
2
+ key: string | number;
3
+ label: string;
4
+ visible?: boolean;
5
+ checked?: boolean;
6
+ disabled?: boolean;
7
+ fixed?: boolean | 'left' | 'right';
8
+ sortOrder?: number;
9
+ children?: KTableHeaderColumn[];
10
+ }
11
+ type __VLS_Props = {
12
+ title?: string;
13
+ layout?: string;
14
+ };
15
+ type __VLS_PublicProps = __VLS_Props & {
16
+ 'columns'?: KTableHeaderColumn[];
17
+ };
18
+ declare var __VLS_1: {}, __VLS_3: {};
19
+ type __VLS_Slots = {} & {
20
+ title?: (props: typeof __VLS_1) => any;
21
+ } & {
22
+ right?: (props: typeof __VLS_3) => any;
23
+ };
24
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ refresh: () => any;
26
+ fullscreen: () => any;
27
+ "update:columns": (value: KTableHeaderColumn[]) => any;
28
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
29
+ onRefresh?: () => any;
30
+ onFullscreen?: () => any;
31
+ "onUpdate:columns"?: (value: KTableHeaderColumn[]) => any;
32
+ }>, {
33
+ title: string;
34
+ layout: string;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
36
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
37
+ export default _default;
38
+ type __VLS_WithSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1,7 @@
1
+ type Category = 'mall' | 'im' | 'exam' | 'gallery';
2
+ type __VLS_Props = {
3
+ category: Category;
4
+ moduleLabel: string;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ type Category = 'mall' | 'im' | 'exam' | 'gallery';
2
+ type __VLS_Props = {
3
+ category: Category;
4
+ moduleLabel: string;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
@@ -0,0 +1,40 @@
1
+ import type { FormRules } from 'element-plus';
2
+ interface Props {
3
+ title?: string;
4
+ formData: Record<string, any>;
5
+ defaultData?: Record<string, any>;
6
+ rules?: FormRules;
7
+ loading?: boolean;
8
+ }
9
+ declare var __VLS_7: {
10
+ formData: Record<string, any>;
11
+ isEditing: boolean;
12
+ };
13
+ type __VLS_Slots = {} & {
14
+ default?: (props: typeof __VLS_7) => any;
15
+ };
16
+ declare const __VLS_component: import("vue").DefineComponent<Props, {
17
+ exitEditMode: () => void;
18
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ reset: (...args: any[]) => void;
20
+ cancel: (...args: any[]) => void;
21
+ save: (...args: any[]) => void;
22
+ "reset-default": (...args: any[]) => void;
23
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
24
+ onReset?: (...args: any[]) => any;
25
+ onCancel?: (...args: any[]) => any;
26
+ onSave?: (...args: any[]) => any;
27
+ "onReset-default"?: (...args: any[]) => any;
28
+ }>, {
29
+ loading: boolean;
30
+ title: string;
31
+ rules: FormRules;
32
+ defaultData: Record<string, any>;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
35
+ export default _default;
36
+ type __VLS_WithSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };