@kengic/vue 0.26.6-beta.108 → 0.26.6-beta.109
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +5159 -5249
- package/dist/src/component/KgAppSelect/index.hooks.d.ts +3 -3
- package/dist/src/component/KgAppSelect/index.store.d.ts +2 -2
- package/dist/src/component/KgButton/index.hooks.d.ts +5 -5
- package/dist/src/component/KgButton/index.store.d.ts +2 -2
- package/dist/src/component/KgCanvas/KgCanvas.ContextMenu.d.ts +0 -3
- package/dist/src/component/KgCanvas/KgCanvas.d.ts +15 -0
- package/dist/src/component/KgCanvas/KgCanvas.service.d.ts +1 -4
- package/dist/src/component/KgCanvas/index.event.d.ts +225 -0
- package/dist/src/component/KgCanvas/index.hooks.d.ts +18 -13
- package/dist/src/component/KgCanvas/index.store.d.ts +0 -229
- package/dist/src/component/KgCanvas/index.vm.d.ts +4 -0
- package/dist/src/component/KgForm/index.hooks.d.ts +8 -8
- package/dist/src/component/KgForm/index.store.d.ts +2 -2
- package/dist/src/component/KgSearch/index.hooks.d.ts +4 -4
- package/dist/src/component/KgSearch/index.store.d.ts +2 -2
- package/dist/src/component/KgSubmit/index.hooks.d.ts +11 -11
- package/dist/src/component/KgSubmit/index.store.d.ts +1 -1
- package/dist/src/component/KgTable/index.hooks.d.ts +11 -11
- package/dist/src/component/KgTable/index.store.d.ts +2 -2
- package/dist/src/component/KgVar/index.hooks.d.ts +2 -2
- package/dist/src/component/KgVar/index.store.d.ts +2 -2
- package/dist/src/component/KgWarehouse/index.hooks.d.ts +2 -2
- package/dist/src/const/index.vm.d.ts +3 -3
- package/dist/src/const/injection-keys.const.d.ts +2 -0
- package/dist/src/util/index.d.ts +36 -0
- package/dist/src/util/kg.util.d.ts +6 -0
- package/package.json +2 -2
- package/dist/src/component/util.d.ts +0 -14
- /package/dist/{close-outlined-DMcSQWxQ.907df5e6.mjs → close-outlined-DMcSQWxQ.28ef3d50.mjs} +0 -0
- /package/dist/{fullscreen-exit-outlined-X1iYkFc4.1c0e1630.mjs → fullscreen-exit-outlined-X1iYkFc4.769dc9a7.mjs} +0 -0
- /package/dist/{fullscreen-outlined-DDBrsRcy.1c53818b.mjs → fullscreen-outlined-DDBrsRcy.472a314c.mjs} +0 -0
package/dist/src/util/index.d.ts
CHANGED
@@ -1,4 +1,40 @@
|
|
1
|
+
import { IKgEventListener, IRemoveEventListener } from '../const';
|
1
2
|
export * from './kg-auth.util';
|
2
3
|
export * from './kg.util';
|
3
4
|
export * from './kg-route.util';
|
4
5
|
export * from './kg-var.util';
|
6
|
+
/**
|
7
|
+
* 构造事件监听.
|
8
|
+
* @param formID 界面标识.
|
9
|
+
* @param store 状态管理.
|
10
|
+
* @param event 事件名称.
|
11
|
+
*/
|
12
|
+
export declare function onEventFactory<S extends {
|
13
|
+
addEventListener(formID: string, event: E, listener: L): void;
|
14
|
+
removeEventListener(formID: string, event: E, listener?: L): void;
|
15
|
+
} | {
|
16
|
+
addEventListener(event: E, listener: L): void;
|
17
|
+
removeEventListener(event: E, listener?: L): void;
|
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.109",
|
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,7 @@
|
|
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": "6.0.1-beta.
|
42
|
+
"@kengic/core": "6.0.1-beta.122",
|
43
43
|
"@kengic/pont": "1.2.17-beta.1",
|
44
44
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
45
45
|
"@thymine/xunee": "0.4.9-beta.8",
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { IKgEventListener, IRemoveEventListenerHandler } from '../const';
|
2
|
-
/**
|
3
|
-
* 构造事件监听.
|
4
|
-
* @param formID 界面标识.
|
5
|
-
* @param store 状态管理.
|
6
|
-
* @param event 事件名称.
|
7
|
-
*/
|
8
|
-
export declare function onEventFactory<S extends {
|
9
|
-
addEventListener(formID: string, event: E, listener: L): void;
|
10
|
-
removeEventListener(formID: string, event: E, listener?: L): void;
|
11
|
-
} | {
|
12
|
-
addEventListener(event: E, listener: L): void;
|
13
|
-
removeEventListener(event: E, listener?: L): void;
|
14
|
-
} = any, E = any, L extends IKgEventListener = any>(formID: string | null, store: S, event: E): (listener: L, isOnce?: boolean) => IRemoveEventListenerHandler;
|
File without changes
|
File without changes
|
File without changes
|