@kengic/vue 0.26.6-beta.110 → 0.26.6-beta.112
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +47329 -46720
- package/dist/src/component/KgCanvas/KgCanvas.service.d.ts +4 -1
- package/dist/src/component/KgCanvas/index.event.d.ts +6 -6
- package/dist/src/config/setup/setup.d.ts +1 -1
- package/dist/src/index.d.ts +2 -2
- package/dist/src/util/index.d.ts +0 -22
- package/package.json +3 -2
- /package/dist/{close-outlined-DMcSQWxQ.28ef3d50.mjs → close-outlined-DMcSQWxQ.e6996462.mjs} +0 -0
- /package/dist/{fullscreen-exit-outlined-X1iYkFc4.769dc9a7.mjs → fullscreen-exit-outlined-X1iYkFc4.f2623e8c.mjs} +0 -0
- /package/dist/{fullscreen-outlined-DDBrsRcy.472a314c.mjs → fullscreen-outlined-DDBrsRcy.f86538b2.mjs} +0 -0
@@ -31,10 +31,13 @@ export declare type IKgCanvasElementProperties = {
|
|
31
31
|
export declare type IUseGlobalContextMenus = {
|
32
32
|
globalContextMenus: Array<IKgCanvasContextMenu>;
|
33
33
|
};
|
34
|
-
export declare function _useGlobalContextMenus(param: {
|
34
|
+
export declare function _useGlobalContextMenus(param: {
|
35
|
+
id: string | undefined;
|
36
|
+
}): IUseGlobalContextMenus;
|
35
37
|
export declare type IUseResizeObserver = {};
|
36
38
|
export declare function _useResizeObserver(param: {
|
37
39
|
graph: () => Q.Graph | null;
|
40
|
+
id: string | undefined;
|
38
41
|
kgCanvasContextMenuProps: Ref<KgCanvasContextMenuProps>;
|
39
42
|
kgCanvasRef: Ref<HTMLDivElement | null>;
|
40
43
|
}): IUseResizeObserver;
|
@@ -194,10 +194,10 @@ export declare type IKgCanvasEventListener = IKgCanvasOnInitEventListener | IKgC
|
|
194
194
|
* @param param.id 唯一标识.
|
195
195
|
* @param param.listener 事件监听函数.
|
196
196
|
*/
|
197
|
-
export declare function addEventListener<
|
197
|
+
export declare function addEventListener<L extends IKgCanvasEventListener>(param: {
|
198
198
|
event: IKgCanvasEvent;
|
199
199
|
id?: string | undefined;
|
200
|
-
listener:
|
200
|
+
listener: L;
|
201
201
|
}): void;
|
202
202
|
/**
|
203
203
|
* 移除事件监听.
|
@@ -206,10 +206,10 @@ export declare function addEventListener<T extends IKgCanvasEventListener>(param
|
|
206
206
|
* @param param.id 唯一标识.
|
207
207
|
* @param param.listener 事件监听函数.
|
208
208
|
*/
|
209
|
-
export declare function removeEventListener(param: {
|
209
|
+
export declare function removeEventListener<L extends IKgCanvasEventListener>(param: {
|
210
210
|
event: IKgCanvasEvent;
|
211
211
|
id?: string | undefined;
|
212
|
-
listener?:
|
212
|
+
listener?: L;
|
213
213
|
}): void;
|
214
214
|
/**
|
215
215
|
* 触发事件.
|
@@ -218,8 +218,8 @@ export declare function removeEventListener(param: {
|
|
218
218
|
* @param param.id 唯一标识.
|
219
219
|
* @param param.parameter 事件参数.
|
220
220
|
*/
|
221
|
-
export declare function emit<
|
221
|
+
export declare function emit<P extends IKgCanvasEventListenerParameter>(param: {
|
222
222
|
event: IKgCanvasEvent;
|
223
223
|
id?: string | undefined;
|
224
|
-
parameter:
|
224
|
+
parameter: P;
|
225
225
|
}): Promise<boolean>;
|
@@ -2,7 +2,7 @@ import { StoreDefinition } from 'pinia';
|
|
2
2
|
import { App } from 'vue';
|
3
3
|
import { Router } from 'vue-router';
|
4
4
|
import { IKgOption, P } from '../index.store';
|
5
|
-
import '@kengic/core
|
5
|
+
import '@kengic/core.react/index.css';
|
6
6
|
export declare type IKgOptions = {
|
7
7
|
/**
|
8
8
|
* 语言数据.
|
package/dist/src/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import './asset/index.less';
|
2
|
-
export * from '@kengic/core
|
3
|
-
export { API
|
2
|
+
export * from '@kengic/core.react';
|
3
|
+
export { API } from './api';
|
4
4
|
export * from './api/WMS/models';
|
5
5
|
export * from './component';
|
6
6
|
export * from './config';
|
package/dist/src/util/index.d.ts
CHANGED
@@ -16,25 +16,3 @@ export declare function onEventFactory<S extends {
|
|
16
16
|
addEventListener(event: E, listener: L): void;
|
17
17
|
removeEventListener(event: E, listener?: L): void;
|
18
18
|
} = any, E = any, L extends IKgEventListener = any>(formID: string | null, store: S, event: E): (listener: L, isOnce?: boolean) => IRemoveEventListener;
|
19
|
-
/**
|
20
|
-
* 构造事件监听.
|
21
|
-
*
|
22
|
-
* @param param.addEventListener 添加事件监听.
|
23
|
-
* @param param.event 事件名称.
|
24
|
-
* @param param.id 唯一标识.
|
25
|
-
* @param param.removeEventListener 移除事件监听.
|
26
|
-
*/
|
27
|
-
export declare function onEventFactory2<E = any, L extends IKgEventListener = any>(param: {
|
28
|
-
addEventListener: (param: {
|
29
|
-
event: E;
|
30
|
-
id?: string | undefined;
|
31
|
-
listener: L;
|
32
|
-
}) => void;
|
33
|
-
event: E;
|
34
|
-
id?: string | undefined;
|
35
|
-
removeEventListener: (param: {
|
36
|
-
event: E;
|
37
|
-
id?: string | undefined;
|
38
|
-
listener: L;
|
39
|
-
}) => void;
|
40
|
-
}): (listener: L, isOnce?: boolean) => IRemoveEventListener;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.26.6-beta.
|
3
|
+
"version": "0.26.6-beta.112",
|
4
4
|
"scripts": {
|
5
5
|
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
6
6
|
"build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|
@@ -39,7 +39,8 @@
|
|
39
39
|
"@iconify-icons/mdi": "1.2.48",
|
40
40
|
"@iconify-icons/ph": "1.2.5",
|
41
41
|
"@iconify/vue": "4.1.2",
|
42
|
-
"@kengic/core": "
|
42
|
+
"@kengic/core.core": "0.0.1-beta.12",
|
43
|
+
"@kengic/core.react": "0.0.1-beta.5",
|
43
44
|
"@kengic/pont": "1.2.17-beta.1",
|
44
45
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
45
46
|
"@thymine/xunee": "0.4.9-beta.8",
|
File without changes
|
File without changes
|
File without changes
|