@wujies/components 5.6.5 → 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/KPagination.vue.d.ts +136 -0
- package/dist/components/KRightToolbar.vue.d.ts +48 -0
- package/dist/components/KTableSiderLayout.vue.d.ts +30 -0
- package/dist/index.d.ts +36 -22
- package/dist/index.js +737 -89
- package/dist/index.js.map +1 -1
- package/dist/names.d.ts +15 -5
- package/dist/names.js +18 -2
- package/dist/names.js.map +1 -1
- package/dist/propTypes.d.ts +24 -0
- package/dist/style.css +263 -144
- package/dist/types.d.ts +11 -0
- package/dist/utils/scroll-to.d.ts +6 -0
- package/package.json +6 -6
- package/dist/host/propTypes.d.ts +0 -29
- 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}/KCustomTabs.vue.d.ts +0 -0
- package/dist/{host/components → components}/KDictTag.vue.d.ts +1 -1
- package/dist/{host/components → components}/KIpSegmentInput.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}/KSectionTitle.vue.d.ts +0 -0
- package/dist/{host/components → components}/KSegmented.vue.d.ts +0 -0
- package/dist/{host/components → components}/KSelectedAlert.vue.d.ts +0 -0
- package/dist/{host/components → components}/KSpin.vue.d.ts +1 -1
- 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/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 };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -12,12 +12,12 @@ interface Props {
|
|
|
12
12
|
fallbackType?: ElTagType;
|
|
13
13
|
}
|
|
14
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";
|
|
15
16
|
showValue: boolean;
|
|
16
17
|
separator: string;
|
|
17
18
|
round: boolean;
|
|
18
19
|
wrap: boolean;
|
|
19
20
|
gap: number | string;
|
|
20
|
-
size: "" | "large" | "default" | "small";
|
|
21
21
|
theme: DictTagTheme;
|
|
22
22
|
fallbackType: ElTagType;
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
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
|
|
File without changes
|
|
File without changes
|
|
@@ -13,9 +13,9 @@ type __VLS_Slots = {} & {
|
|
|
13
13
|
};
|
|
14
14
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
15
|
size: number;
|
|
16
|
+
background: string;
|
|
16
17
|
show: boolean;
|
|
17
18
|
description: string;
|
|
18
|
-
background: string;
|
|
19
19
|
contentClass: string;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
21
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -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
|