@wujies/components 5.6.4 → 5.6.6
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/components/KCustomTabs.vue.d.ts +27 -0
- package/dist/components/KIpSegmentInput.vue.d.ts +16 -0
- package/dist/components/KPagination.vue.d.ts +136 -0
- package/dist/components/KRightToolbar.vue.d.ts +48 -0
- package/dist/components/KSectionTitle.vue.d.ts +15 -0
- package/dist/components/KSegmented.vue.d.ts +61 -0
- package/dist/components/KSpin.vue.d.ts +27 -0
- package/dist/components/KTableSiderLayout.vue.d.ts +30 -0
- package/dist/index.d.ts +37 -18
- package/dist/index.js +1128 -1600
- package/dist/index.js.map +1 -1
- package/dist/names.d.ts +15 -5
- package/dist/names.js +21 -3
- package/dist/names.js.map +1 -1
- package/dist/propTypes.d.ts +24 -0
- package/dist/style.css +448 -288
- package/dist/types.d.ts +11 -0
- package/dist/utils/scroll-to.d.ts +6 -0
- package/package.json +6 -6
- package/dist/host/api/config.d.ts +0 -2
- package/dist/host/api/oss.d.ts +0 -2
- package/dist/host/api/types.d.ts +0 -11
- package/dist/host/api/user.d.ts +0 -1
- package/dist/host/components/ImageUpload.vue.d.ts +0 -129
- package/dist/host/components/ModuleBusinessSettings.vue.d.ts +0 -7
- package/dist/host/components/ModuleWebsiteSettings.vue.d.ts +0 -7
- package/dist/host/components/UserDetail.vue.d.ts +0 -10
- package/dist/host/contact.d.ts +0 -5
- package/dist/host/propTypes.d.ts +0 -29
- package/dist/host/request.d.ts +0 -4
- package/dist/{host/components → components}/ImagePreview.vue.d.ts +0 -0
- package/dist/{host/components → components}/KCard.vue.d.ts +0 -0
- package/dist/{host/components → components}/KDictTag.vue.d.ts +0 -0
- package/dist/{host/components → components}/KPlainButton.vue.d.ts +0 -0
- package/dist/{host/components → components}/KSearchBar.vue.d.ts +2 -2
- package/dist/{host/components → components}/KSelectedAlert.vue.d.ts +0 -0
- package/dist/{host/components → components}/KTable.vue.d.ts +1 -1
- /package/dist/{host/components → components}/KTableHeader.vue.d.ts +0 -0
- /package/dist/{host/components → components}/SettingForm.vue.d.ts +0 -0
- /package/dist/{host/components → components}/SettingTabs.vue.d.ts +0 -0
package/dist/types.d.ts
CHANGED
|
@@ -15,6 +15,17 @@ export interface KTableColumn {
|
|
|
15
15
|
headerSlotName?: string;
|
|
16
16
|
[key: string]: any;
|
|
17
17
|
}
|
|
18
|
+
/** KTableHeader 的列配置(与宿主 KTableHeader 保持一致) */
|
|
19
|
+
export interface KTableHeaderColumn {
|
|
20
|
+
key: string | number;
|
|
21
|
+
label: string;
|
|
22
|
+
visible?: boolean;
|
|
23
|
+
checked?: boolean;
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
fixed?: boolean | 'left' | 'right';
|
|
26
|
+
sortOrder?: number;
|
|
27
|
+
children?: KTableHeaderColumn[];
|
|
28
|
+
}
|
|
18
29
|
export interface KSearchBarOption {
|
|
19
30
|
label: string;
|
|
20
31
|
value: string | number | boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wujies/components",
|
|
3
|
-
"version": "5.6.
|
|
4
|
-
"description": "无界平台共享 UI
|
|
3
|
+
"version": "5.6.6",
|
|
4
|
+
"description": "无界平台共享 UI 组件:通用组件的事实源,运行时经宿主 Import Map 共享同一份实例",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -31,14 +31,15 @@
|
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
|
-
"url": "https://gitee.com/
|
|
35
|
-
"directory": "
|
|
34
|
+
"url": "https://gitee.com/wujies/wujies-ui.git",
|
|
35
|
+
"directory": "packages/components"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
+
"@vueuse/core": "^13.1.0",
|
|
38
39
|
"image-conversion": "2.1.1",
|
|
39
40
|
"vue-draggable-plus": "^0.6.1",
|
|
40
41
|
"vue-types": "6.0.0",
|
|
41
|
-
"@wujies/ui-shared": "^5.6.
|
|
42
|
+
"@wujies/ui-shared": "^5.6.6"
|
|
42
43
|
},
|
|
43
44
|
"peerDependencies": {
|
|
44
45
|
"@element-plus/icons-vue": "^2.3.2",
|
|
@@ -57,7 +58,6 @@
|
|
|
57
58
|
"vue-tsc": "^2.2.8"
|
|
58
59
|
},
|
|
59
60
|
"scripts": {
|
|
60
|
-
"sync:host": "node scripts/sync-host-components.mjs",
|
|
61
61
|
"build": "vite build && vue-tsc -p tsconfig.build.json",
|
|
62
62
|
"typecheck": "vue-tsc -p tsconfig.json",
|
|
63
63
|
"clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\""
|
package/dist/host/api/oss.d.ts
DELETED
package/dist/host/api/types.d.ts
DELETED
package/dist/host/api/user.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getUser(userId?: string | number): Promise<any>;
|
|
@@ -1,129 +0,0 @@
|
|
|
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;
|
|
@@ -1,7 +0,0 @@
|
|
|
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;
|
|
@@ -1,7 +0,0 @@
|
|
|
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;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
modelValue: boolean;
|
|
3
|
-
userId?: number | string;
|
|
4
|
-
}
|
|
5
|
-
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:modelValue": (...args: any[]) => void;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
8
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
export default _default;
|
package/dist/host/contact.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare function isContactBound(value?: string | null): boolean;
|
|
2
|
-
export declare function sanitizeContactValue(value?: string | null): string;
|
|
3
|
-
export declare function formatContactDisplay(value?: string | null, fallback?: string): string;
|
|
4
|
-
export declare function maskPhone(value?: string | null, fallback?: string): string;
|
|
5
|
-
export declare function maskEmail(value?: string | null, fallback?: string): string;
|
package/dist/host/propTypes.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
type PropDef<T, C> = {
|
|
2
|
-
type: C;
|
|
3
|
-
default: T;
|
|
4
|
-
};
|
|
5
|
-
interface SimplePropTypes {
|
|
6
|
-
string: {
|
|
7
|
-
def: (value?: string) => PropDef<string, StringConstructor>;
|
|
8
|
-
};
|
|
9
|
-
number: {
|
|
10
|
-
def: (value?: number) => PropDef<number, NumberConstructor>;
|
|
11
|
-
};
|
|
12
|
-
integer: {
|
|
13
|
-
def: (value?: number) => PropDef<number, NumberConstructor>;
|
|
14
|
-
};
|
|
15
|
-
bool: {
|
|
16
|
-
def: (value?: boolean) => PropDef<boolean, BooleanConstructor>;
|
|
17
|
-
};
|
|
18
|
-
array: {
|
|
19
|
-
def: <T>(value?: T[]) => PropDef<T[], ArrayConstructor>;
|
|
20
|
-
};
|
|
21
|
-
object: {
|
|
22
|
-
def: <T>(value?: T) => PropDef<T, ObjectConstructor>;
|
|
23
|
-
};
|
|
24
|
-
func: {
|
|
25
|
-
def: (value?: (...args: any[]) => any) => PropDef<(...args: any[]) => any, FunctionConstructor>;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
declare const propTypes: SimplePropTypes;
|
|
29
|
-
export { propTypes };
|
package/dist/host/request.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -175,12 +175,12 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
175
175
|
}>, {
|
|
176
176
|
span: number;
|
|
177
177
|
title: string;
|
|
178
|
+
showSearch: boolean;
|
|
179
|
+
gutter: number;
|
|
178
180
|
items: KSearchBarItem[];
|
|
179
181
|
actionSpan: number;
|
|
180
|
-
gutter: number;
|
|
181
182
|
labelPosition: "left" | "right" | "top";
|
|
182
183
|
showReset: boolean;
|
|
183
|
-
showSearch: boolean;
|
|
184
184
|
searchText: string;
|
|
185
185
|
resetText: string;
|
|
186
186
|
sanitizeOutput: Partial<SanitizeOutputOptions>;
|
|
File without changes
|
|
@@ -66,8 +66,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
66
66
|
}>, {
|
|
67
67
|
loading: boolean;
|
|
68
68
|
data: Record<string, any>[];
|
|
69
|
-
emptyText: string;
|
|
70
69
|
columns: KTableColumn[];
|
|
70
|
+
emptyText: string;
|
|
71
71
|
columnState: KTableColumnState[];
|
|
72
72
|
paginationOptions: KPaginationOptions;
|
|
73
73
|
showPaginationWhenEmpty: boolean;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|