@gonsin/gview 2.0.126 → 2.0.128
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/index.mjs +6954 -5885
- package/dist/style.css +1 -1
- package/dist/types/constant/local.d.ts +1 -0
- package/dist/types/stores/column.d.ts +12 -0
- package/dist/types/stores/setting.d.ts +3 -0
- package/package.json +2 -2
|
@@ -18,4 +18,5 @@ export declare const TOKEN_EXPIRED_TIME: string;
|
|
|
18
18
|
export declare const LOCAL_SESSION_ID: string;
|
|
19
19
|
export declare const LOCAL_DATA_ID: string;
|
|
20
20
|
export declare const LOCAL_COLUMN_DATA: string;
|
|
21
|
+
export declare const LOCAL_COLUMN_WIDTH_DATA: string;
|
|
21
22
|
export declare const SESSION_FORM_DATA_CACHE: string;
|
|
@@ -1,14 +1,26 @@
|
|
|
1
1
|
export declare const useColumnStore: import("pinia").StoreDefinition<"column", {
|
|
2
2
|
columnDataMap: Map<string, string[]>;
|
|
3
|
+
columnWidthDataMap: Map<string, Record<string, number>>;
|
|
3
4
|
}, {
|
|
4
5
|
getColumnData: (state: {
|
|
5
6
|
columnDataMap: Map<string, string[]>;
|
|
7
|
+
columnWidthDataMap: Map<string, Record<string, number>>;
|
|
6
8
|
} & import("pinia").PiniaCustomStateProperties<{
|
|
7
9
|
columnDataMap: Map<string, string[]>;
|
|
10
|
+
columnWidthDataMap: Map<string, Record<string, number>>;
|
|
8
11
|
}>) => (key: string) => string[];
|
|
12
|
+
getColumnWidthData: (state: {
|
|
13
|
+
columnDataMap: Map<string, string[]>;
|
|
14
|
+
columnWidthDataMap: Map<string, Record<string, number>>;
|
|
15
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
16
|
+
columnDataMap: Map<string, string[]>;
|
|
17
|
+
columnWidthDataMap: Map<string, Record<string, number>>;
|
|
18
|
+
}>) => (key: string) => Record<string, number>;
|
|
9
19
|
}, {
|
|
10
20
|
initColumnData(columnData: any): void;
|
|
11
21
|
setColumnData(key: string, columnData: string[]): Promise<any>;
|
|
12
22
|
removeColumnData(key: string, columnData: string[]): void;
|
|
13
23
|
saveColumnData(): Promise<boolean>;
|
|
24
|
+
setColumnWidthData(tableViewName: string, colKey: string, width: number): void;
|
|
25
|
+
getColumnWidthDataByTableView(tableViewName: string, colKey: string): any;
|
|
14
26
|
}>;
|
|
@@ -18,6 +18,9 @@ interface SettingState {
|
|
|
18
18
|
sideMenuExpanded: any[];
|
|
19
19
|
sideMenuScrollTop: number;
|
|
20
20
|
sideMenuWidth: number;
|
|
21
|
+
sideMenuMinWidth: number;
|
|
22
|
+
sideMenuMaxWidth: number;
|
|
23
|
+
isSideSelfDragging: boolean;
|
|
21
24
|
userLang: string;
|
|
22
25
|
token: string;
|
|
23
26
|
tokenExpiredTime: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gonsin/gview",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.128",
|
|
4
4
|
"main": "dist/index.mjs",
|
|
5
5
|
"typings": "dist/types/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"pinia": "^2.0.32",
|
|
43
43
|
"qs": "^6.11.1",
|
|
44
44
|
"tdesign-icons-vue-next": "^0.1.11",
|
|
45
|
-
"tdesign-vue-next": "^1.
|
|
45
|
+
"tdesign-vue-next": "^1.10.2",
|
|
46
46
|
"vue": "^3.2.47",
|
|
47
47
|
"vue-i18n": "^9.2.2",
|
|
48
48
|
"vue-qr": "^4.0.9",
|