@kengic/vue 0.26.6-beta.130 → 0.26.6-beta.131
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +12601 -12632
- package/dist/src/component/KgAppSelect/index.hooks.d.ts +2 -1
- package/dist/src/component/KgAppSelect/index.store.d.ts +2 -1
- package/dist/src/component/KgButton/index.hooks.d.ts +2 -1
- package/dist/src/component/KgButton/index.store.d.ts +2 -1
- package/dist/src/component/KgCanvas/index.event.d.ts +13 -25
- package/dist/src/component/KgCanvas/index.hooks.d.ts +1 -1
- package/dist/src/component/KgForm/index.hooks.d.ts +1 -1
- package/dist/src/component/KgForm/index.store.d.ts +2 -1
- package/dist/src/component/KgForm.Item/KgForm.Item.service.d.ts +1 -1
- package/dist/src/component/KgSearch/index.hooks.d.ts +1 -1
- package/dist/src/component/KgSearch/index.store.d.ts +1 -1
- package/dist/src/component/KgSubmit/index.hooks.d.ts +2 -1
- package/dist/src/component/KgSubmit/index.store.d.ts +2 -1
- package/dist/src/component/KgTable/index.hooks.d.ts +1 -1
- package/dist/src/component/KgTable/index.store.d.ts +1 -1
- package/dist/src/component/KgVar/index.event.d.ts +39 -0
- package/dist/src/component/KgVar/index.hooks.d.ts +12 -3
- package/dist/src/component/KgVar/index.store.d.ts +1 -38
- package/dist/src/component/KgWarehouse/index.hooks.d.ts +1 -1
- package/dist/src/component/KgWarehouse/index.store.d.ts +1 -1
- package/dist/src/const/index.vm.d.ts +0 -8
- package/dist/src/util/index.d.ts +1 -1
- package/package.json +2 -2
@@ -1,5 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { KG_APP, Menu } from '../../const';
|
2
2
|
import { IKgAppSelectGotoAppEventListener, IKgAppSelectGotoPathEventListener, IKgAppSelectStore } from './index.store';
|
3
|
+
import { IRemoveEventListener } from '@kengic/core.core';
|
3
4
|
export declare type IUseKgAppSelect = {
|
4
5
|
/** 状态数据. */
|
5
6
|
store: IKgAppSelectStore;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { ComputedRef } from 'vue';
|
2
|
-
import {
|
2
|
+
import { KG__VAR_BUTTON__TYPE } from '../../const';
|
3
3
|
import { IKgButtonClickEventListener, IKgButtonImportOkEventListener, IKgButtonStore, IKgButtonSubmitCancelEventListener, IKgButtonSubmitSaveEventListener } from './index.store';
|
4
|
+
import { IRemoveEventListener } from '@kengic/core.core';
|
4
5
|
export interface IUseKgButton {
|
5
6
|
/**
|
6
7
|
* <p>手动点击某个按钮.</p>
|
@@ -1,6 +1,7 @@
|
|
1
|
+
import { IKgEventListener } from '@kengic/core.core';
|
1
2
|
import { StoreDefinition } from 'pinia';
|
2
3
|
import { VarButton, VarButtonConfig } from '../../api/WMS/models';
|
3
|
-
import {
|
4
|
+
import { KG__VAR_BUTTON__TYPE } from '../../const';
|
4
5
|
/**
|
5
6
|
* 事件类型.
|
6
7
|
* 'click': 点击按钮
|
@@ -1,6 +1,6 @@
|
|
1
|
+
import { IKgEventListener } from '@kengic/core.core';
|
1
2
|
import { Q } from '@thymine/xunee';
|
2
3
|
import { Ref } from 'vue';
|
3
|
-
import { IKgEventListener } from '../../const';
|
4
4
|
import { IKgCanvasContextMenu } from './KgCanvas.ContextMenu';
|
5
5
|
/**
|
6
6
|
* 事件类型.
|
@@ -187,30 +187,18 @@ export declare type IKgCanvasOnContextMenuCloseEventListenerParameter = {};
|
|
187
187
|
export declare type IKgCanvasOnContextMenuCloseEventListener = ((param: IKgCanvasOnContextMenuCloseEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
188
188
|
export declare type IKgCanvasEventListenerParameter = IKgCanvasOnInitEventListenerParameter | IKgCanvasOnReloadEventListenerParameter | IKgCanvasOnResizeEventListenerParameter | IKgCanvasOnRightClickEventListenerParameter | IKgCanvasOnMouseMoveEventListenerParameter | IKgCanvasOnMouseEnterEventListenerParameter | IKgCanvasOnMouseLeaveEventListenerParameter | IKgCanvasOnClickEventListenerParameter | IKgCanvasOnContextMenuOpenEventListenerParameter | IKgCanvasOnContextMenuCloseEventListenerParameter;
|
189
189
|
export declare type IKgCanvasEventListener = IKgCanvasOnInitEventListener | IKgCanvasOnReloadEventListener | IKgCanvasOnResizeEventListener | IKgCanvasOnRightClickEventListener | IKgCanvasOnMouseMoveEventListener | IKgCanvasOnMouseEnterEventListener | IKgCanvasOnMouseLeaveEventListener | IKgCanvasOnClickEventListener | IKgCanvasOnContextMenuOpenEventListener | IKgCanvasOnContextMenuCloseEventListener;
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
}
|
202
|
-
/**
|
203
|
-
* 移除事件监听.
|
204
|
-
*
|
205
|
-
* @param param.event 事件名称.
|
206
|
-
* @param param.id 唯一标识.
|
207
|
-
* @param param.listener 事件监听函数.
|
208
|
-
*/
|
209
|
-
export declare function removeEventListener<L extends IKgCanvasEventListener>(param: {
|
210
|
-
event: IKgCanvasEvent;
|
211
|
-
id?: string | undefined;
|
212
|
-
listener?: L;
|
213
|
-
}): void;
|
190
|
+
export declare const eventListenerListRecordRecord: Record<string, {
|
191
|
+
onClick: Array<IKgCanvasOnClickEventListener>;
|
192
|
+
onContextMenuClose: Array<IKgCanvasOnContextMenuCloseEventListener>;
|
193
|
+
onContextMenuOpen: Array<IKgCanvasOnContextMenuOpenEventListener>;
|
194
|
+
onInit: Array<IKgCanvasOnInitEventListener>;
|
195
|
+
onMouseEnter: Array<IKgCanvasOnMouseEnterEventListener>;
|
196
|
+
onMouseLeave: Array<IKgCanvasOnMouseLeaveEventListener>;
|
197
|
+
onMouseMove: Array<IKgCanvasOnMouseMoveEventListener>;
|
198
|
+
onReload: Array<IKgCanvasOnReloadEventListener>;
|
199
|
+
onResize: Array<IKgCanvasOnResizeEventListener>;
|
200
|
+
onRightClick: Array<IKgCanvasOnRightClickEventListener>;
|
201
|
+
}>;
|
214
202
|
/**
|
215
203
|
* 触发事件.
|
216
204
|
*
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { IRemoveEventListener } from '
|
1
|
+
import { IRemoveEventListener } from '@kengic/core.core';
|
2
2
|
import { IKgCanvasOnClickEventListener, IKgCanvasOnContextMenuCloseEventListener, IKgCanvasOnContextMenuOpenEventListener, IKgCanvasOnInitEventListener, IKgCanvasOnMouseEnterEventListener, IKgCanvasOnMouseLeaveEventListener, IKgCanvasOnMouseMoveEventListener, IKgCanvasOnReloadEventListener, IKgCanvasOnResizeEventListener, IKgCanvasOnRightClickEventListener } from './index.event';
|
3
3
|
import { IKgCanvasStore } from './index.store';
|
4
4
|
export declare type IUseKgCanvas = {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { IRemoveEventListener } from '../../const';
|
2
1
|
import { IKgFormChangeEventListener, IKgFormLookupBeforeOkEventListener, IKgFormLookupBeforeOpenEventListener, IKgFormLookupOkEventListener, IKgFormOnBlurEventListener, IKgFormSelectBeforeRequestEventListener, IKgFormSelectBeforeSetDatasEventListener, IKgFormSelectChangeEventListener, IKgFormStore } from './index.store';
|
2
|
+
import { IRemoveEventListener } from '@kengic/core.core';
|
3
3
|
export declare type IUseKgForm = {
|
4
4
|
Select: {
|
5
5
|
/**
|
@@ -1,6 +1,7 @@
|
|
1
|
+
import { IKgEventListener } from '@kengic/core.core';
|
1
2
|
import { StoreDefinition } from 'pinia';
|
2
3
|
import { ComputedRef, Ref } from 'vue';
|
3
|
-
import {
|
4
|
+
import { KG_FORM_CONTEXT } from '../../const';
|
4
5
|
import { IKgTableRow } from '../KgTable';
|
5
6
|
/**
|
6
7
|
* 事件类型.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { RuleObject } from 'ant-design-vue/es/form';
|
2
2
|
import { KgFormItemProps } from './index.vm';
|
3
|
-
export declare function
|
3
|
+
export declare function useFormRules(props: KgFormItemProps): {
|
4
4
|
/** 表单验证规则. */
|
5
5
|
formRules: import("vue").ComputedRef<RuleObject[]>;
|
6
6
|
isFormRulesChange: import("vue").Ref<boolean>;
|
@@ -1,6 +1,6 @@
|
|
1
|
+
import { IRemoveEventListener } from '@kengic/core.core';
|
1
2
|
import { ComputedRef } from 'vue';
|
2
3
|
import { VarProfileDetail } from '../../api/WMS/models';
|
3
|
-
import { IRemoveEventListener } from '../../const';
|
4
4
|
import { IKgTableRequestParameter } from '../KgTable';
|
5
5
|
import { IKgSearchReadyEventListener, IKgSearchResetEventListener, IKgSearchSearchEventListener, IKgSearchStore } from './index.store';
|
6
6
|
export declare type IUseKgSearch = {
|
@@ -1,6 +1,6 @@
|
|
1
|
+
import { IKgEventListener } from '@kengic/core.core';
|
1
2
|
import { StoreDefinition } from 'pinia';
|
2
3
|
import { VarProfileMasterDTO } from '../../api/WMS/models';
|
3
|
-
import { IKgEventListener } from '../../const';
|
4
4
|
import { IKgTableRequestParameter } from '../KgTable';
|
5
5
|
/**
|
6
6
|
* 事件类型.
|
@@ -1,7 +1,8 @@
|
|
1
|
+
import { IRemoveEventListener } from '@kengic/core.core';
|
1
2
|
import { FormInstance } from 'ant-design-vue';
|
2
3
|
import { ComputedRef, Ref } from 'vue';
|
3
4
|
import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../api/WMS/models';
|
4
|
-
import { IKgVarSubmitConfigProperties,
|
5
|
+
import { IKgVarSubmitConfigProperties, KG__VAR_BUTTON__TYPE, KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE, KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT, KG__VAR_SUBMIT_CONFIG__LAYOUT } from '../../const';
|
5
6
|
import { IKgSubmitAfterValidateEventListener, IKgSubmitBeforeOkEventListener, IKgSubmitBeforeOpenEventListener, IKgSubmitBeforeRequestEventListener, IKgSubmitCloseEventListener, IKgSubmitErrorEventListener, IKgSubmitOkEventListener, IKgSubmitOnBeforeCancelEventListener, IKgSubmitOnCancelEventListener, IKgSubmitOnOpenEventListener, IKgSubmitStore } from './index.store';
|
6
7
|
export interface IUseKgSubmit {
|
7
8
|
/**
|
@@ -1,9 +1,10 @@
|
|
1
|
+
import { IKgEventListener } from '@kengic/core.core';
|
1
2
|
import { RuleObject } from 'ant-design-vue/es/form';
|
2
3
|
import { FormInstance } from 'ant-design-vue/lib/form/Form';
|
3
4
|
import { StoreDefinition } from 'pinia';
|
4
5
|
import { Ref } from 'vue';
|
5
6
|
import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../api/WMS/models';
|
6
|
-
import {
|
7
|
+
import { KG__VAR_BUTTON__TYPE } from '../../const';
|
7
8
|
import { KgAny } from '../../type';
|
8
9
|
import { IKgTableRow } from '../KgTable';
|
9
10
|
/**
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ComputedRef } from 'vue';
|
2
2
|
import { VarGridConfig, VarGridDetail } from '../../api/WMS/models';
|
3
|
-
import { IRemoveEventListener } from '../../const';
|
4
3
|
import { IKgTableAfterRequestEventListener, IKgTableBeforeParseParameterEventListener, IKgTableBeforeRequestEventListener, IKgTableBeforeSetDatasEventListener, IKgTableReadyEventListener, IKgTableRowDoubleClickEventListener, IKgTableStore } from './index.store';
|
4
|
+
import { IRemoveEventListener } from '@kengic/core.core';
|
5
5
|
export interface IUseKgTable {
|
6
6
|
/**
|
7
7
|
* 列表数据.
|
@@ -1,8 +1,8 @@
|
|
1
|
+
import { IKgEventListener } from '@kengic/core.core';
|
1
2
|
import { Key } from 'ant-design-vue/lib/_util/type';
|
2
3
|
import { StoreDefinition } from 'pinia';
|
3
4
|
import { Ref } from 'vue';
|
4
5
|
import { IPage, VarGridConfig, VarGridDetail } from '../../api/WMS/models';
|
5
|
-
import { IKgEventListener } from '../../const';
|
6
6
|
import { IKgTableRow, IKgTableRowHeight } from './index.vm';
|
7
7
|
/**
|
8
8
|
* 事件类型.
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { IKgEventListener } from '@kengic/core.core';
|
2
|
+
/**
|
3
|
+
* 事件类型.
|
4
|
+
* 'onRequest': 变量配置查询完成
|
5
|
+
* 'onUnmounted': 页面销毁
|
6
|
+
*/
|
7
|
+
export declare type IKgVarEvent = 'onRequest' | 'onUnmounted';
|
8
|
+
export declare type IKgVarOnRequestEventListenerParameter = {
|
9
|
+
/**
|
10
|
+
* 界面标识.
|
11
|
+
*/
|
12
|
+
formID: string;
|
13
|
+
};
|
14
|
+
export declare type IKgVarOnRequestEventListener = ((param: IKgVarOnRequestEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
15
|
+
export declare type IKgVarOnUnmountedEventListenerParameter = {
|
16
|
+
/**
|
17
|
+
* 界面标识.
|
18
|
+
*/
|
19
|
+
formID: string;
|
20
|
+
};
|
21
|
+
export declare type IKgVarOnUnmountedEventListener = ((param: IKgVarOnUnmountedEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
22
|
+
export declare type IKgVarEventListenerParameter = IKgVarOnRequestEventListenerParameter | IKgVarOnUnmountedEventListenerParameter;
|
23
|
+
export declare type IKgVarEventListener = IKgVarOnRequestEventListener | IKgVarOnUnmountedEventListener;
|
24
|
+
export declare const eventListenerListRecordRecord: Record<string, {
|
25
|
+
onRequest: Array<IKgVarOnRequestEventListener>;
|
26
|
+
onUnmounted: Array<IKgVarOnUnmountedEventListener>;
|
27
|
+
}>;
|
28
|
+
/**
|
29
|
+
* 触发事件.
|
30
|
+
*
|
31
|
+
* @param param.event 事件名称.
|
32
|
+
* @param param.id 唯一标识.
|
33
|
+
* @param param.parameter 事件参数.
|
34
|
+
*/
|
35
|
+
export declare function emit<P extends IKgVarEventListenerParameter>(param: {
|
36
|
+
event: IKgVarEvent;
|
37
|
+
id?: string | undefined;
|
38
|
+
parameter: P;
|
39
|
+
}): Promise<boolean>;
|
@@ -1,13 +1,15 @@
|
|
1
|
+
import { IRemoveEventListener } from '@kengic/core.core';
|
1
2
|
import { ComputedRef } from 'vue';
|
2
3
|
import { VarConfigControl, VarConfigDescription, VarConfigPossibility } from '../../api/WMS/models';
|
3
|
-
import {
|
4
|
+
import { KG__VAR_BUTTON__TYPE } from '../../const';
|
4
5
|
import { IUseKgButton } from '../KgButton';
|
5
6
|
import { IUseKgForm } from '../KgForm';
|
6
7
|
import { type IUseKgSearch } from '../KgSearch';
|
7
8
|
import { IUseKgSubmit } from '../KgSubmit';
|
8
9
|
import { IUseKgTable } from '../KgTable';
|
9
10
|
import { IUseKgVarConfig } from '../KgVarConfig';
|
10
|
-
import {
|
11
|
+
import { IKgVarOnRequestEventListener, IKgVarOnUnmountedEventListener } from './index.event';
|
12
|
+
import { IKgVarStore } from './index.store';
|
11
13
|
import { IKgProps, IKgSlots } from './index.vm';
|
12
14
|
export declare type IUseKgVar = {
|
13
15
|
/**
|
@@ -128,7 +130,14 @@ export declare type IUseKgVar = {
|
|
128
130
|
* @param listener 事件监听函数.
|
129
131
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
130
132
|
*/
|
131
|
-
onRetrieve(listener:
|
133
|
+
onRetrieve(listener: IKgVarOnRequestEventListener, isOnce?: boolean): IRemoveEventListener;
|
134
|
+
/**
|
135
|
+
* 监听事件: 页面销毁.
|
136
|
+
*
|
137
|
+
* @param listener 事件监听函数.
|
138
|
+
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
139
|
+
*/
|
140
|
+
onUnmounted(listener: IKgVarOnUnmountedEventListener, isOnce?: boolean): IRemoveEventListener;
|
132
141
|
/**
|
133
142
|
* 父亲界面.
|
134
143
|
*/
|
@@ -1,22 +1,8 @@
|
|
1
1
|
import { StoreDefinition } from 'pinia';
|
2
2
|
import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigDescription, VarConfigInput, VarConfigLookup, VarConfigPossibility, VarConfigTip, VarDda, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail, VarVariable } from '../../api/WMS/models';
|
3
|
-
import {
|
3
|
+
import { KG__VAR_BUTTON__TYPE } from '../../const';
|
4
4
|
import { IUseKgVar } from './index.hooks';
|
5
5
|
import { IKgProps, IKgSlots } from './index.vm';
|
6
|
-
/**
|
7
|
-
* 事件类型.
|
8
|
-
* 'onRequest': 变量配置查询完成
|
9
|
-
*/
|
10
|
-
export declare type IKgVarEvent = 'onRequest';
|
11
|
-
export declare type IKgVarRequestEventListenerParameter = {
|
12
|
-
/**
|
13
|
-
* 界面标识.
|
14
|
-
*/
|
15
|
-
formID: string;
|
16
|
-
};
|
17
|
-
export declare type IKgVarRequestEventListener = ((param: IKgVarRequestEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
18
|
-
export declare type IKgVarEventListenerParameter = IKgVarRequestEventListenerParameter;
|
19
|
-
export declare type IKgVarEventListener = IKgVarRequestEventListener;
|
20
6
|
export interface IUseKgVarStoreState {
|
21
7
|
/** 正在复制: 正在调用接口. */
|
22
8
|
isCopyingRequestingMap: Map<string, boolean>;
|
@@ -42,8 +28,6 @@ export interface IUseKgVarStoreState {
|
|
42
28
|
* 界面层级.
|
43
29
|
*/
|
44
30
|
levelMap: Map<string, number>;
|
45
|
-
/** 事件监听函数列表: onRequest. */
|
46
|
-
onRequestEventListenerMap: Map<string, Array<IKgVarRequestEventListener>>;
|
47
31
|
propsMap: Map<string, IKgProps>;
|
48
32
|
slotsMap: Map<string, IKgSlots>;
|
49
33
|
varButtonConfigMap: Map<string, VarButtonConfig | null>;
|
@@ -156,13 +140,6 @@ export interface IUseKgVarStoreGetters {
|
|
156
140
|
t(): (formID: string | null | undefined, varName: string | null | undefined) => string;
|
157
141
|
}
|
158
142
|
export interface IUseKgVarStoreActions {
|
159
|
-
/**
|
160
|
-
* 注册事件监听.
|
161
|
-
* @param formID 界面标识.
|
162
|
-
* @param event 事件名称.
|
163
|
-
* @param listener 事件监听函数.
|
164
|
-
*/
|
165
|
-
addEventListener(formID: string | null | undefined, event: IKgVarEvent, listener: any): void;
|
166
143
|
createVarConfigControl(formID: string | null | undefined, varConfigControl: VarConfigControl): void;
|
167
144
|
createVarConfigDescription(formID: string | null | undefined, varConfigDescription: VarConfigDescription): void;
|
168
145
|
createVarConfigPossibility(formID: string | null | undefined, varConfigPossibility: VarConfigPossibility): void;
|
@@ -180,13 +157,6 @@ export interface IUseKgVarStoreActions {
|
|
180
157
|
* @param toVarName 被放下的变量名称.
|
181
158
|
*/
|
182
159
|
dragSortCurrentVarGridDetails(formID: string | null | undefined, fromVarName: string | null | undefined, toVarName: string | null | undefined): void;
|
183
|
-
/**
|
184
|
-
* 触发事件.
|
185
|
-
* @param formID 界面标识.
|
186
|
-
* @param event 事件名称.
|
187
|
-
* @param parameter 事件参数.
|
188
|
-
*/
|
189
|
-
emit<T = IKgVarEventListenerParameter>(formID: string, event: IKgVarEvent, parameter: T): Promise<boolean>;
|
190
160
|
/**
|
191
161
|
* 进入一个界面. 同一个界面不允许进入多次.
|
192
162
|
* @param param.formID 界面标识.
|
@@ -210,13 +180,6 @@ export interface IUseKgVarStoreActions {
|
|
210
180
|
* @param properties 要修改的部分属性.
|
211
181
|
*/
|
212
182
|
patchVarProfileDetail(formID: string, var_nam: string | null | undefined, properties: VarProfileDetail): Promise<void>;
|
213
|
-
/**
|
214
|
-
* 退订事件监听.
|
215
|
-
* @param formID 界面标识.
|
216
|
-
* @param event 事件名称.
|
217
|
-
* @param listener 事件监听函数.
|
218
|
-
*/
|
219
|
-
removeEventListener(formID: string, event: IKgVarEvent, listener?: any): void;
|
220
183
|
/**
|
221
184
|
* 查询所有变量配置.
|
222
185
|
*
|
@@ -1,6 +1,6 @@
|
|
1
|
+
import { IRemoveEventListener } from '@kengic/core.core';
|
1
2
|
import { Pinia } from 'pinia';
|
2
3
|
import { ComputedRef } from 'vue';
|
3
|
-
import { IRemoveEventListener } from '../../const';
|
4
4
|
import { IKgWarehouseMountedEventListener, IKgWarehouseStore } from './index.store';
|
5
5
|
export declare type IUseKgWarehouse = {
|
6
6
|
/**
|
@@ -506,14 +506,6 @@ export declare const KG_TMP_MENU_ID__WCS = "KG_TMP_MENU_ID__WCS";
|
|
506
506
|
export declare const KG_TMP_MENU_ID__SYS = "KG_TMP_MENU_ID__SYS";
|
507
507
|
/** 模块菜单的临时ID:PDA. */
|
508
508
|
export declare const KG_TMP_MENU_ID__PDA = "KG_TMP_MENU_ID__PDA";
|
509
|
-
/** 移除事件监听函数. */
|
510
|
-
export declare type IRemoveEventListener = () => void;
|
511
|
-
export declare type IKgEventListener = {
|
512
|
-
/** 是否已经触发过一次了. */
|
513
|
-
isDone?: boolean;
|
514
|
-
/** 是否只会触发一次. */
|
515
|
-
isOnce?: boolean;
|
516
|
-
};
|
517
509
|
/** 菜单. */
|
518
510
|
export interface Menu {
|
519
511
|
id: string;
|
package/dist/src/util/index.d.ts
CHANGED
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.131",
|
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.core": "0.0.1-beta.
|
42
|
+
"@kengic/core.core": "0.0.1-beta.14",
|
43
43
|
"@kengic/core.react": "0.0.1-beta.20",
|
44
44
|
"@kengic/pont": "1.2.17-beta.1",
|
45
45
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|