xframelib 0.7.7 → 0.7.8
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 +15 -7
- package/dist/controls/vuewindow/index.d.ts +1 -2
- package/dist/controls/xwindow/XWindow.vue.d.ts +129 -0
- package/dist/controls/xwindow/XWindowManager.d.ts +37 -0
- package/dist/controls/xwindow/index.d.ts +4 -0
- package/dist/core/IModel.d.ts +10 -0
- package/dist/index.cjs +7 -17
- package/dist/index.css +145 -76
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -17
- package/dist/model/Config.d.ts +29 -0
- package/package.json +16 -15
- package/dist/controls/collapsepanel/VCollapsiblePanel.vue.d.ts +0 -27
- package/dist/controls/collapsepanel/VCollapsiblePanelGroup.vue.d.ts +0 -33
- package/dist/controls/collapsepanel/color.util.d.ts +0 -1
- package/dist/controls/collapsepanel/composables/store.d.ts +0 -7
- package/dist/controls/collapsepanel/constant.d.ts +0 -1
- package/dist/controls/collapsepanel/index.d.ts +0 -3
package/dist/model/Config.d.ts
CHANGED
|
@@ -32,11 +32,36 @@ export interface IUIObject {
|
|
|
32
32
|
* 默认为false
|
|
33
33
|
*/
|
|
34
34
|
GrayMode?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* 是否在产品发布后启用日志记录
|
|
37
|
+
* */
|
|
38
|
+
ProductLog?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* 网站主题
|
|
41
|
+
*/
|
|
42
|
+
Theme?: string;
|
|
35
43
|
/**
|
|
36
44
|
* 其他扩展的属性
|
|
37
45
|
*/
|
|
38
46
|
[props: string]: any;
|
|
39
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* 用于控制功能是否启用
|
|
50
|
+
*/
|
|
51
|
+
export interface IEnablesObject {
|
|
52
|
+
/**
|
|
53
|
+
* 是否启用异步TurfAsync
|
|
54
|
+
*/
|
|
55
|
+
TurfAsync?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* 是否启用Cesium缓存
|
|
58
|
+
*/
|
|
59
|
+
CesiumOfflineCache?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* 其他扩展的属性
|
|
62
|
+
*/
|
|
63
|
+
[props: string]: any;
|
|
64
|
+
}
|
|
40
65
|
/**
|
|
41
66
|
* 服务URL
|
|
42
67
|
*/
|
|
@@ -124,6 +149,10 @@ export interface ISystemConfig {
|
|
|
124
149
|
* API服务路径
|
|
125
150
|
*/
|
|
126
151
|
APIPath?: object;
|
|
152
|
+
/**
|
|
153
|
+
* 用于控制功能是否启用
|
|
154
|
+
*/
|
|
155
|
+
Enables?: IEnablesObject;
|
|
127
156
|
[props: string]: any;
|
|
128
157
|
}
|
|
129
158
|
import { Component } from 'vue';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xframelib",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.8",
|
|
4
4
|
"description": "积累的前端开发基础库",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"common": "dist/index.cjs",
|
|
@@ -26,37 +26,38 @@
|
|
|
26
26
|
"@hprose/io": "^3.0.10",
|
|
27
27
|
"@hprose/rpc-core": "^3.0.10",
|
|
28
28
|
"@hprose/rpc-html5": "^3.0.10",
|
|
29
|
-
"@
|
|
30
|
-
"
|
|
29
|
+
"@iconify/vue": "^4.1.2",
|
|
30
|
+
"@microsoft/signalr": "^8.0.7",
|
|
31
|
+
"axios": "^1.7.2",
|
|
31
32
|
"localforage": "^1.10.0",
|
|
32
33
|
"loglevel": "^1.9.1",
|
|
33
|
-
"qs": "^6.12.
|
|
34
|
+
"qs": "^6.12.3",
|
|
34
35
|
"spark-md5": "^3.0.2",
|
|
35
36
|
"streamsaver": "^2.0.6",
|
|
36
37
|
"xhr": "^2.6.0"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
39
40
|
"@rollup/plugin-alias": "^5.1.0",
|
|
40
|
-
"@rollup/plugin-commonjs": "^
|
|
41
|
+
"@rollup/plugin-commonjs": "^26.0.1",
|
|
41
42
|
"@rollup/plugin-json": "^6.1.0",
|
|
42
43
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
43
44
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
44
45
|
"@types/streamsaver": "^2.0.4",
|
|
45
|
-
"@vitejs/plugin-vue": "^5.0.
|
|
46
|
-
"@vue/compiler-sfc": "^3.4.
|
|
47
|
-
"esbuild": "^0.
|
|
48
|
-
"rimraf": "^5.0.
|
|
46
|
+
"@vitejs/plugin-vue": "^5.0.5",
|
|
47
|
+
"@vue/compiler-sfc": "^3.4.31",
|
|
48
|
+
"esbuild": "^0.23.0",
|
|
49
|
+
"rimraf": "^5.0.9",
|
|
49
50
|
"rollup-plugin-copy": "^3.5.0",
|
|
50
51
|
"rollup-plugin-esbuild": "^6.1.1",
|
|
51
52
|
"rollup-plugin-scss": "^4.0.0",
|
|
52
53
|
"rollup-plugin-terser": "^7.0.2",
|
|
53
54
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
54
55
|
"rollup-plugin-vue": "^6.0.0",
|
|
55
|
-
"sass": "^1.
|
|
56
|
-
"typescript": "^5.
|
|
57
|
-
"vite": "^5.
|
|
58
|
-
"vue": "^3.4.
|
|
59
|
-
"vue-router": "^4.
|
|
60
|
-
"vue-tsc": "^2.0.
|
|
56
|
+
"sass": "^1.77.7",
|
|
57
|
+
"typescript": "^5.5.3",
|
|
58
|
+
"vite": "^5.3.3",
|
|
59
|
+
"vue": "^3.4.31",
|
|
60
|
+
"vue-router": "^4.4.0",
|
|
61
|
+
"vue-tsc": "^2.0.26"
|
|
61
62
|
}
|
|
62
63
|
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
expanded: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
}, {
|
|
7
|
-
body: import("vue").ComputedRef<{
|
|
8
|
-
hasContent: boolean | undefined;
|
|
9
|
-
dataKey: string;
|
|
10
|
-
}>;
|
|
11
|
-
panelRef: import("vue").Ref<HTMLElement | undefined>;
|
|
12
|
-
bodyRef: import("vue").Ref<HTMLElement | undefined>;
|
|
13
|
-
bodyContentRef: import("vue").Ref<HTMLElement | undefined>;
|
|
14
|
-
isExpanded: import("vue").ComputedRef<boolean | undefined>;
|
|
15
|
-
collapse: (element: HTMLElement) => void;
|
|
16
|
-
expand: (element: HTMLElement) => void;
|
|
17
|
-
toggle: () => void;
|
|
18
|
-
toggleIcon: string;
|
|
19
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
-
expanded: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
}>>, {
|
|
25
|
-
expanded: boolean;
|
|
26
|
-
}, {}>;
|
|
27
|
-
export default _default;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
accordion: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
baseColor: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
}, {
|
|
11
|
-
idGroup: import("vue").Ref<string>;
|
|
12
|
-
cssColorVars: {
|
|
13
|
-
'--base-color': string;
|
|
14
|
-
'--border-color': string;
|
|
15
|
-
'--bg-color-header': string;
|
|
16
|
-
'--bg-color-header-hover': string;
|
|
17
|
-
'--bg-color-header-active': string;
|
|
18
|
-
'--bg-color-body': string;
|
|
19
|
-
};
|
|
20
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
-
accordion: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
baseColor: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
}>>, {
|
|
30
|
-
accordion: boolean;
|
|
31
|
-
baseColor: string;
|
|
32
|
-
}, {}>;
|
|
33
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const lightenDarkenColor: (hexColor: string, amount: number) => string;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const useCollapsiblePanelStore: () => {
|
|
2
|
-
useGroupAccordion: (idGroup: string) => import("vue").ComputedRef<boolean>;
|
|
3
|
-
setGroupAccordionStatus: (idGroup: string, status: boolean) => void;
|
|
4
|
-
panelExpanded: (idGroup: string, idPanel: string) => import("vue").ComputedRef<boolean>;
|
|
5
|
-
setPanelExpandedStatus: (idGroup: string, idPanel: string, status: boolean) => void;
|
|
6
|
-
togglePanelExpandedStatus: (idGroup: string, idPanel: string) => void;
|
|
7
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const toggleIcon = "\n <svg\n width=\"24px\"\n height=\"24px\"\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M6.34292 7.75734L4.92871 9.17155L11.9998 16.2426L19.0708 9.17158L17.6566 7.75737L11.9998 13.4142L6.34292 7.75734Z\"/>\n </svg>\n";
|