@kengic/vue 0.4.4 → 0.4.5-beta.0
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/kengic-vue.js +1927 -1897
- package/dist/src/apis/WMS/models.d.ts +3 -3
- package/dist/src/components/KgButton/index.hooks.d.ts +1 -1
- package/dist/src/components/KgSearch/index.hooks.d.ts +1 -1
- package/dist/src/components/KgSubmit/index.hooks.d.ts +1 -1
- package/dist/src/components/KgTable/{KgTable.data.d.ts → KgTable.hooks.d.ts} +1 -1
- package/dist/src/components/KgTable/index.hooks.d.ts +1 -1
- package/dist/src/consts/index.d.ts +1 -0
- package/dist/src/consts/index.vm.d.ts +11 -0
- package/dist/src/utils/route.util.d.ts +7 -0
- package/package.json +1 -1
@@ -204,7 +204,7 @@ export declare class VarGridDetail {
|
|
204
204
|
/** 是否可见(VisibleFlag). */
|
205
205
|
vis_flg?: number | null;
|
206
206
|
/** 列宽(Width). */
|
207
|
-
width?:
|
207
|
+
width?: string | null;
|
208
208
|
constructor(obj?: VarGridDetail);
|
209
209
|
}
|
210
210
|
/** 表格视图. */
|
@@ -361,7 +361,7 @@ export declare class VarProfileMaster {
|
|
361
361
|
frm_id?: string | null;
|
362
362
|
/** 分组(GroupName). */
|
363
363
|
grp_nam?: string | null;
|
364
|
-
/**
|
364
|
+
/** 主键. */
|
365
365
|
id?: string | null;
|
366
366
|
/** 查询条件变量名称(ProfileVariableName). */
|
367
367
|
prf_var_nam?: string | null;
|
@@ -381,7 +381,7 @@ export declare class VarProfileMasterDTO {
|
|
381
381
|
frm_id?: string | null;
|
382
382
|
/** 分组(GroupName). */
|
383
383
|
grp_nam?: string | null;
|
384
|
-
/**
|
384
|
+
/** 主键. */
|
385
385
|
id?: string | null;
|
386
386
|
/** 查询条件变量名称(ProfileVariableName). */
|
387
387
|
prf_var_nam?: string | null;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { IRemoveEventListenerHandler } from '../../consts
|
1
|
+
import { IRemoveEventListenerHandler } from '../../consts';
|
2
2
|
import { IKgButtonBeforeUpdateCb, IKgButtonClickCb, IKgButtonDeleteOkCb, IKgButtonStore } from './index.store';
|
3
3
|
export declare type IUseKgButton = {
|
4
4
|
formID: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ComputedRef } from 'vue';
|
2
|
-
import { IRemoveEventListenerHandler } from '../../consts
|
2
|
+
import { IRemoveEventListenerHandler } from '../../consts';
|
3
3
|
import { IKgSearchReadyCb, IKgSearchResetCb, IKgSearchSearchCb, IKgSearchStore } from './index.store';
|
4
4
|
export declare type IUseKgSearch = {
|
5
5
|
formID: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { IRemoveEventListenerHandler } from '../../consts
|
1
|
+
import { IRemoveEventListenerHandler } from '../../consts';
|
2
2
|
import { IKgSubmitBeforeOkCb, IKgSubmitCloseCb, IKgSubmitOkCb, IKgSubmitOpenCb, IKgSubmitStore } from './index.store';
|
3
3
|
export declare type IUseKgSubmit = {
|
4
4
|
formID: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ComputedRef } from 'vue';
|
2
|
-
import { IRemoveEventListenerHandler } from '../../consts
|
2
|
+
import { IRemoveEventListenerHandler } from '../../consts';
|
3
3
|
import { IKgTableRetrieveCb, IKgTableRowDoubleClickCb, IKgTableStore } from './index.store';
|
4
4
|
export declare type IUseKgTable = {
|
5
5
|
formID: string;
|
@@ -1,2 +1,13 @@
|
|
1
1
|
/** 移除监听函数. */
|
2
2
|
export declare type IRemoveEventListenerHandler = () => void;
|
3
|
+
/** 菜单. */
|
4
|
+
export interface Menu {
|
5
|
+
id: string;
|
6
|
+
app: string;
|
7
|
+
name: string;
|
8
|
+
title: string;
|
9
|
+
path: string;
|
10
|
+
icon?: string;
|
11
|
+
hideMenu?: boolean;
|
12
|
+
children?: Menu[];
|
13
|
+
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { Menu } from '../consts';
|
1
2
|
export declare class KgRouteUtil {
|
2
3
|
/**
|
3
4
|
* 给所有模块都添加在线表单的路由.
|
@@ -5,4 +6,10 @@ export declare class KgRouteUtil {
|
|
5
6
|
* @param routes 当前路由列表.
|
6
7
|
*/
|
7
8
|
static addOnlineRoutesForAllApps(routes: any[]): any[];
|
9
|
+
/**
|
10
|
+
* 根据地址获取菜单.
|
11
|
+
* @param menus 菜单列表.
|
12
|
+
* @param path 菜单地址.
|
13
|
+
*/
|
14
|
+
static getMenuByPath(menus: Array<Menu>, path: string): Menu | null;
|
8
15
|
}
|