@kengic/vue 0.3.3-beta.0 → 0.3.3
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/index.css +1 -1
- package/dist/kengic-vue.js +7738 -7481
- package/dist/src/apis/WMS/models.d.ts +59 -1
- package/dist/src/components/KgButton/{KgButton.Other.d.ts → KgButton.Item.d.ts} +8 -11
- package/dist/src/components/KgButton/{index.vm.d.ts → KgButton.Item.data.d.ts} +1 -2
- package/dist/src/components/KgButton/KgButton.d.ts +10 -32
- package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +30 -0
- package/dist/src/components/KgButton/{KgButton.Export.d.ts → components/KgButton.Create.d.ts} +8 -10
- package/dist/src/components/KgButton/{KgButton.Delete.d.ts → components/KgButton.Delete.d.ts} +5 -9
- package/dist/src/components/KgButton/components/KgButton.Export.d.ts +28 -0
- package/dist/src/components/KgButton/{KgButton.Import.d.ts → components/KgButton.Import.d.ts} +4 -6
- package/dist/src/components/KgButton/components/KgButton.Other.d.ts +33 -0
- package/dist/src/components/KgButton/components/KgButton.Search.d.ts +31 -0
- package/dist/src/components/KgButton/{KgButton.Copy.d.ts → components/KgButton.Update.d.ts} +4 -6
- package/dist/src/components/KgButton/index.d.ts +58 -3
- package/dist/src/components/KgButton/index.hooks.d.ts +13 -0
- package/dist/src/components/KgButton/index.store.d.ts +40 -0
- package/dist/src/components/KgForm.Item/{KgForm.Item.Date.d.ts → components/KgForm.Item.Date.d.ts} +11 -11
- package/dist/src/components/KgForm.Item/{KgForm.Item.Input.d.ts → components/KgForm.Item.Input.d.ts} +11 -11
- package/dist/src/components/KgForm.Item/{KgForm.Item.InputNumber.d.ts → components/KgForm.Item.InputNumber.d.ts} +11 -11
- package/dist/src/components/KgForm.Item/{KgForm.Item.Select.d.ts → components/KgForm.Item.Select.d.ts} +15 -13
- package/dist/src/components/KgForm.Item/{KgForm.Item.Switch.d.ts → components/KgForm.Item.Switch.d.ts} +11 -11
- package/dist/src/components/KgModal/KgModal.d.ts +12 -3
- package/dist/src/components/KgModal/index.vm.d.ts +5 -0
- package/dist/src/components/KgProgressA/KgProgressA.d.ts +1 -1
- package/dist/src/components/KgProgressA/index.d.ts +1 -1
- package/dist/src/components/KgResizable/KgResizable.d.ts +4 -4
- package/dist/src/components/KgSearch/KgSearch.d.ts +5 -57
- package/dist/src/components/KgSearch/KgSearch.data.d.ts +5 -2
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.CreateModal.d.ts +20 -0
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.CreateModal.data.d.ts +4 -0
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +20 -0
- package/dist/src/components/KgSearch/index.d.ts +1 -1
- package/dist/src/components/KgSearch/index.hooks.d.ts +4 -3
- package/dist/src/components/KgSearch/index.vm.d.ts +1 -0
- package/dist/src/components/KgTable/KgTable.d.ts +1 -1
- package/dist/src/components/KgTable/{KgTable.Cell.d.ts → components/KgTable.Cell.d.ts} +3 -3
- package/dist/src/components/KgTable/components/KgTable.Setting.d.ts +6 -0
- package/dist/src/components/KgTable/index.d.ts +1 -1
- package/dist/src/components/KgTable/index.hooks.d.ts +3 -2
- package/dist/src/components/KgTable/index.store.d.ts +4 -4
- package/dist/src/components/KgTable/index.vm.d.ts +17 -0
- package/dist/src/components/KgVar/KgVar.d.ts +5 -20
- package/dist/src/components/KgVar/index.d.ts +1 -1
- package/dist/src/components/KgVar/index.store.d.ts +12 -3
- package/dist/src/components/KgVar/index.store.service.d.ts +11 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.data.d.ts +1 -1
- package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +1 -1
- package/dist/src/components/KgYesOrNo/index.d.ts +1 -1
- package/dist/src/components/index.d.ts +5 -3
- package/dist/src/consts/i18n/en.d.ts +6 -0
- package/dist/src/consts/i18n/index.d.ts +12 -0
- package/dist/src/consts/i18n/zh_CN.d.ts +6 -0
- package/dist/src/consts/index.vm.d.ts +2 -0
- package/dist/src/utils/kg.util.d.ts +5 -0
- package/dist/src/utils/logger.util.d.ts +3 -3
- package/package.json +1 -1
- package/dist/src/components/KgButton/KgButton.Create.d.ts +0 -32
- package/dist/src/components/KgButton/KgButton.Search.d.ts +0 -33
- package/dist/src/components/KgButton/KgButton.Update.d.ts +0 -32
- package/dist/src/components/KgButton/KgButtons.d.ts +0 -22
- package/dist/src/components/KgTable/KgTable.Setting.d.ts +0 -22
- /package/dist/src/components/KgModal/{KgModal.Close.d.ts → components/KgModal.Close.d.ts} +0 -0
- /package/dist/src/components/KgTable/{KgTable.Info.d.ts → components/KgTable.Info.d.ts} +0 -0
@@ -2,18 +2,18 @@ import { PropType } from 'vue';
|
|
2
2
|
import './KgTable.Cell.less';
|
3
3
|
export declare const getProps: () => {
|
4
4
|
/** 列值. */
|
5
|
-
kgValue: PropType<any>;
|
5
|
+
kgValue: PropType<any>;
|
6
6
|
/** 变量名称. */
|
7
7
|
kgVarName: PropType<string | null>;
|
8
8
|
};
|
9
9
|
declare const _default: import("vue").DefineComponent<{
|
10
10
|
/** 列值. */
|
11
|
-
kgValue: PropType<any>;
|
11
|
+
kgValue: PropType<any>;
|
12
12
|
/** 变量名称. */
|
13
13
|
kgVarName: PropType<string | null>;
|
14
14
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
15
15
|
/** 列值. */
|
16
|
-
kgValue: PropType<any>;
|
16
|
+
kgValue: PropType<any>;
|
17
17
|
/** 变量名称. */
|
18
18
|
kgVarName: PropType<string | null>;
|
19
19
|
}>>, {}>;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import './KgTable.Setting.less';
|
2
|
+
export declare const getProps: () => any;
|
3
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
4
|
+
[x: string]: any;
|
5
|
+
}>;
|
6
|
+
export default _default;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { ComputedRef } from 'vue';
|
2
2
|
import { IKgTableRetrieveCb, IKgTableRowDoubleClickCb, IKgTableStore } from './index.store';
|
3
|
+
import { IRemoveEventListenerHandler } from '../../consts/index.vm';
|
3
4
|
export declare type IUseKgTable = {
|
4
5
|
formID: string;
|
5
6
|
/** 状态数据. */
|
@@ -9,9 +10,9 @@ export declare type IUseKgTable = {
|
|
9
10
|
/** 是否正在查询. */
|
10
11
|
isRetrieving: ComputedRef<ReturnType<IKgTableStore['getIsRetrieving']>>;
|
11
12
|
/** 监听事件: 双击某行. */
|
12
|
-
onRowDoubleClick(cb: IKgTableRowDoubleClickCb):
|
13
|
+
onRowDoubleClick(cb: IKgTableRowDoubleClickCb): IRemoveEventListenerHandler;
|
13
14
|
/** 监听事件: 查询数据成功. */
|
14
|
-
onRetrieve(cb: IKgTableRetrieveCb):
|
15
|
+
onRetrieve(cb: IKgTableRetrieveCb): IRemoveEventListenerHandler;
|
15
16
|
};
|
16
17
|
/**
|
17
18
|
* @param formID 界面标识.
|
@@ -35,10 +35,10 @@ export declare type IKgTableStoreDefinition = StoreDefinition<'KgTable', IKgTabl
|
|
35
35
|
getIsRetrieving(): (formID?: string | null) => boolean | null;
|
36
36
|
getTableWidth(): (formID?: string | null) => number | null;
|
37
37
|
}, {
|
38
|
-
dispose
|
39
|
-
addEventListener
|
40
|
-
removeEventListener
|
41
|
-
emit
|
38
|
+
dispose(formID?: string | null): void;
|
39
|
+
addEventListener(formID: string, event: IKgTableEvent, cb: IKgTableCb): void;
|
40
|
+
removeEventListener(formID: string, event: IKgTableEvent, cb?: IKgTableCb): void;
|
41
|
+
emit(formID: string, event: IKgTableEvent, record?: any | null): void;
|
42
42
|
setSelectedRows(formID: string, selectedRows: Array<IKgTableRecord>): void;
|
43
43
|
setIsRetrieved(formID: string, value: boolean): void;
|
44
44
|
setIsRetrieving(formID: string, value: boolean): void;
|
@@ -15,6 +15,23 @@ export interface IKgTableBodyCell<T = {}> {
|
|
15
15
|
column: ColumnType;
|
16
16
|
defaultRender: JSX.Element;
|
17
17
|
}
|
18
|
+
/**
|
19
|
+
* 对应于 {@link VarGridDetail.display_type_properties} 字段, 不同显示类型的参数.
|
20
|
+
*/
|
21
|
+
export interface IKgTableCellDisplayTypeProperties {
|
22
|
+
YN: {
|
23
|
+
/**
|
24
|
+
* 显示为'是'的值.
|
25
|
+
* @default 1
|
26
|
+
*/
|
27
|
+
yValue: any;
|
28
|
+
/**
|
29
|
+
* 显示为'否'的值.
|
30
|
+
* @default 0
|
31
|
+
*/
|
32
|
+
nValue: any;
|
33
|
+
};
|
34
|
+
}
|
18
35
|
/** 列的默认宽度. 如果 VarGridDetail 没有配置宽度, 则使用该宽度. */
|
19
36
|
export declare const KG_TABLE_TD_DEFAULT_WIDTH = 120;
|
20
37
|
/** 列的最小宽度. 拖动修改列的宽度时, 不允许超过该最小宽度. */
|
@@ -1,23 +1,8 @@
|
|
1
|
-
import { ExtractPropTypes
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
2
2
|
import './KgVar.less';
|
3
|
-
export declare const getProps: () =>
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
};
|
8
|
-
};
|
9
|
-
export declare type KgVarProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
10
|
-
declare const _default: import("vue").DefineComponent<{
|
11
|
-
TODO: {
|
12
|
-
type: PropType<boolean>;
|
13
|
-
default: boolean;
|
14
|
-
};
|
15
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
16
|
-
TODO: {
|
17
|
-
type: PropType<boolean>;
|
18
|
-
default: boolean;
|
19
|
-
};
|
20
|
-
}>>, {
|
21
|
-
TODO: boolean;
|
3
|
+
export declare const getProps: () => any;
|
4
|
+
export declare type IKgVarProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
5
|
+
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
6
|
+
[x: string]: any;
|
22
7
|
}>;
|
23
8
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type StoreDefinition } from 'pinia';
|
2
|
-
import { VarButton, VarCatalog, VarConfig, VarGridConfig, VarGridDetail, VarGridDTO, VarGridMasterDTO, VarLookup, VarPossibility, VarProfileDetail, VarProfileDTO, VarProfileMasterDTO, VarSubmitField } from '../../apis/WMS/models';
|
2
|
+
import { VarButton, VarCatalog, VarConfig, VarGridConfig, VarGridDetail, VarGridDTO, VarGridMasterDTO, VarLookup, VarPossibility, VarProfileConfig, VarProfileDetail, VarProfileDTO, VarProfileMasterDTO, VarSubmitField } from '../../apis/WMS/models';
|
3
3
|
export interface IKgVarState {
|
4
4
|
/**
|
5
5
|
* 当前可能打开了多个界面, 需要按照先后顺序记录下来, 当打开变量配置弹窗时, 打开的是最近那个页面的变量配置.
|
@@ -21,17 +21,18 @@ export interface IKgVarState {
|
|
21
21
|
varConfigsMap: Map<string, Array<VarConfig>>;
|
22
22
|
varButtonsMap: Map<string, Array<VarButton>>;
|
23
23
|
varSubmitFieldsMap: Map<string, Array<VarSubmitField>>;
|
24
|
+
varProfileConfigMap: Map<string, VarProfileConfig | null>;
|
24
25
|
varProfileMap: Map<string, {
|
25
26
|
varProfile: VarProfileDTO | null;
|
26
27
|
/** 当前选中的 VarProfileMaster ID. */
|
27
28
|
currentVarProfileMasterID: string | null;
|
28
29
|
}>;
|
30
|
+
varGridConfigMap: Map<string, VarGridConfig | null>;
|
29
31
|
varGridMap: Map<string, {
|
30
32
|
varGrid: VarGridDTO | null;
|
31
33
|
/** 当前表格视图. */
|
32
34
|
currentVarGridMasterID: string | null;
|
33
35
|
}>;
|
34
|
-
varGridConfigMap: Map<string, VarGridConfig | null>;
|
35
36
|
}
|
36
37
|
export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState, {
|
37
38
|
getCurrentFormID(): string | null;
|
@@ -53,9 +54,17 @@ export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState
|
|
53
54
|
getVarSubmitField(): (formID?: string | null, var_nam?: string | null) => VarSubmitField | null;
|
54
55
|
getVarButtonSearch(): (formID?: string | null) => VarButton | null;
|
55
56
|
getVarButton(): (formID?: string | null, var_nam?: string | null) => VarButton | null;
|
57
|
+
getVarProfileConfig(): (formID?: string | null) => VarProfileConfig | null;
|
56
58
|
getVarProfileMasters(): (formID?: string | null) => Array<VarProfileMasterDTO> | null;
|
57
|
-
getVarProfileDetails(): (formID?: string | null) => Array<VarProfileDetail> | null;
|
58
59
|
getVarProfileDetail(): (formID?: string | null, var_nam?: string | null) => VarProfileDetail | null;
|
60
|
+
/**
|
61
|
+
* 根据 formID 获取 VarProfileDetail 列表.
|
62
|
+
*/
|
63
|
+
getVarProfileDetails(): (formID?: string | null) => Array<VarProfileDetail> | null;
|
64
|
+
/**
|
65
|
+
* 根据 formID 获取系统的 VarProfileDetail 列表, 即 customLevel 为 0 的 VarProfileMaster 下面的所有 VarProfileDetail.
|
66
|
+
*/
|
67
|
+
getSystemVarProfileDetails(): (formID?: string | null) => Array<VarProfileDetail> | null;
|
59
68
|
getCurrentVarProfileMaster(): (formID?: string | null) => VarProfileMasterDTO | null;
|
60
69
|
getCurrentVarProfileMasterID(): (formID?: string | null) => string | null;
|
61
70
|
getVarGridConfig(): (formID?: string | null) => VarGridConfig | null;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { VarButton, VarGridDetail, VarGridDTO, VarGridMasterDTO, VarSubmitField } from '../../apis/WMS/models';
|
2
|
+
export declare function transformVarGridDTO(varGridDTO?: VarGridDTO | null): VarGridDTO | null;
|
3
|
+
export declare function transformVarProfileMasterDTOs(varGridMasterDTOs?: Array<VarGridMasterDTO> | null): Array<VarGridMasterDTO>;
|
4
|
+
export declare function transformVarSubmitFields(varSubmitFields?: Array<VarSubmitField> | null): Array<VarSubmitField>;
|
5
|
+
export declare function transformVarButtons(varButtons?: Array<VarButton> | null): Array<VarButton>;
|
6
|
+
/**
|
7
|
+
* 处理 VarGridDetail 数据, 排序/防呆.
|
8
|
+
*
|
9
|
+
* @param varGridDetails 原始数据.
|
10
|
+
*/
|
11
|
+
export declare function transformVarGridDetails(varGridDetails?: Array<VarGridDetail> | null): Array<VarGridDetail>;
|
@@ -10,7 +10,7 @@ export declare const getProps: () => {
|
|
10
10
|
default: boolean;
|
11
11
|
};
|
12
12
|
};
|
13
|
-
export declare type
|
13
|
+
export declare type IKgYesOrNoProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
14
14
|
declare const _default: import("vue").DefineComponent<{
|
15
15
|
/**
|
16
16
|
* 布尔数据.
|
@@ -1 +1 @@
|
|
1
|
-
export { default as KgYesOrNo, type
|
1
|
+
export { default as KgYesOrNo, type IKgYesOrNoProps } from './KgYesOrNo';
|
@@ -1,4 +1,3 @@
|
|
1
|
-
export * from './KgButton';
|
2
1
|
export * from './KgModal';
|
3
2
|
export * from './KgProgressA';
|
4
3
|
export * from './KgResizable';
|
@@ -7,5 +6,8 @@ export * from './KgTable';
|
|
7
6
|
export * from './KgVar';
|
8
7
|
export * from './KgVarConfig';
|
9
8
|
export * from './KgYesOrNo';
|
10
|
-
export
|
11
|
-
export {
|
9
|
+
export * from './KgButton';
|
10
|
+
export { default as KgButton } from './KgButton';
|
11
|
+
export * from './KgForm';
|
12
|
+
export { default as KgForm } from './KgForm';
|
13
|
+
export * from './KgForm.Item';
|
@@ -4,6 +4,12 @@ export declare const KG_I18N: {
|
|
4
4
|
KgSearch: {
|
5
5
|
title: string;
|
6
6
|
};
|
7
|
+
KgSearchConfigModal: {
|
8
|
+
close: string;
|
9
|
+
formTitle: string;
|
10
|
+
pleaseSelectVarProfileMaster: string;
|
11
|
+
title: string;
|
12
|
+
};
|
7
13
|
KgTable: {
|
8
14
|
column: string;
|
9
15
|
emptyText: string;
|
@@ -74,6 +80,12 @@ export declare const KG_I18N: {
|
|
74
80
|
KgSearch: {
|
75
81
|
title: string;
|
76
82
|
};
|
83
|
+
KgSearchConfigModal: {
|
84
|
+
close: string;
|
85
|
+
formTitle: string;
|
86
|
+
pleaseSelectVarProfileMaster: string;
|
87
|
+
title: string;
|
88
|
+
};
|
77
89
|
KgTable: {
|
78
90
|
column: string;
|
79
91
|
emptyText: string;
|
@@ -55,6 +55,11 @@ export declare class KgUtil {
|
|
55
55
|
* @param e 错误对象.
|
56
56
|
*/
|
57
57
|
static throwIfNotFormError(e: any): void;
|
58
|
+
/**
|
59
|
+
* 将 JSON 字符串转换为 JSON 对象, 如果转化失败, 则返回空对象.
|
60
|
+
* @param str JSON 字符串.
|
61
|
+
*/
|
62
|
+
static tryParseJSON(str?: string | null): Record<string, any>;
|
58
63
|
/**
|
59
64
|
* 将值转换为 Dayjs 对象.
|
60
65
|
* @param value 值.
|
@@ -17,7 +17,7 @@ declare class Logger {
|
|
17
17
|
* @param args 数据对象.
|
18
18
|
* @param collapsed 是否折叠.
|
19
19
|
*/
|
20
|
-
static info(message: string, args
|
20
|
+
static info(message: string, args?: Record<string, any>, collapsed?: boolean): void;
|
21
21
|
/**
|
22
22
|
* 打印日志.
|
23
23
|
*
|
@@ -35,7 +35,7 @@ declare class Logger {
|
|
35
35
|
* @param args 数据对象.
|
36
36
|
* @param collapsed 是否折叠.
|
37
37
|
*/
|
38
|
-
static warn(message: string, args
|
38
|
+
static warn(message: string, args?: Record<string, any>, collapsed?: boolean): void;
|
39
39
|
/**
|
40
40
|
* 打印调试日志.
|
41
41
|
*
|
@@ -43,6 +43,6 @@ declare class Logger {
|
|
43
43
|
* @param args 数据对象.
|
44
44
|
* @param collapsed 是否折叠.
|
45
45
|
*/
|
46
|
-
static debug(message: string, args
|
46
|
+
static debug(message: string, args?: Record<string, any>, collapsed?: boolean): void;
|
47
47
|
}
|
48
48
|
export { Logger };
|
package/package.json
CHANGED
@@ -1,32 +0,0 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
2
|
-
kgVarName: import("vue").PropType<string | null>;
|
3
|
-
kgType: import("vue").PropType<import("../..").KG_BTN_TYPE | null>;
|
4
|
-
kgPrimary: {
|
5
|
-
type: import("vue").PropType<boolean | null | undefined>; /** 渲染文本. */
|
6
|
-
default: undefined;
|
7
|
-
};
|
8
|
-
kgIcon: import("vue").PropType<string | null>;
|
9
|
-
kgText: import("vue").PropType<string | null>;
|
10
|
-
kgColor: import("vue").PropType<import("../..").KG_BTN_COLOR | null>;
|
11
|
-
kgDisabled: import("vue").PropType<boolean | null | undefined>;
|
12
|
-
onKgClick: import("vue").PropType<(args?: any) => boolean>;
|
13
|
-
onKgDelete: import("vue").PropType<() => void>;
|
14
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgClick"[], "kgClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
15
|
-
kgVarName: import("vue").PropType<string | null>;
|
16
|
-
kgType: import("vue").PropType<import("../..").KG_BTN_TYPE | null>;
|
17
|
-
kgPrimary: {
|
18
|
-
type: import("vue").PropType<boolean | null | undefined>; /** 渲染文本. */
|
19
|
-
default: undefined;
|
20
|
-
};
|
21
|
-
kgIcon: import("vue").PropType<string | null>;
|
22
|
-
kgText: import("vue").PropType<string | null>;
|
23
|
-
kgColor: import("vue").PropType<import("../..").KG_BTN_COLOR | null>;
|
24
|
-
kgDisabled: import("vue").PropType<boolean | null | undefined>;
|
25
|
-
onKgClick: import("vue").PropType<(args?: any) => boolean>;
|
26
|
-
onKgDelete: import("vue").PropType<() => void>;
|
27
|
-
}>> & {
|
28
|
-
onKgClick?: ((...args: any[]) => any) | undefined;
|
29
|
-
}, {
|
30
|
-
kgPrimary: boolean | null | undefined;
|
31
|
-
}>;
|
32
|
-
export default _default;
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import { KG_BTN_COLOR } from '../../consts';
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
3
|
-
kgVarName: import("vue").PropType<string | null>;
|
4
|
-
kgType: import("vue").PropType<import("../../consts").KG_BTN_TYPE | null>;
|
5
|
-
kgPrimary: {
|
6
|
-
type: import("vue").PropType<boolean | null | undefined>;
|
7
|
-
default: undefined;
|
8
|
-
};
|
9
|
-
kgIcon: import("vue").PropType<string | null>; /** 渲染图标. */
|
10
|
-
kgText: import("vue").PropType<string | null>;
|
11
|
-
kgColor: import("vue").PropType<KG_BTN_COLOR | null>;
|
12
|
-
kgDisabled: import("vue").PropType<boolean | null | undefined>;
|
13
|
-
onKgClick: import("vue").PropType<(args?: any) => boolean>;
|
14
|
-
onKgDelete: import("vue").PropType<() => void>; /** 渲染文本. */
|
15
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgClick"[], "kgClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
16
|
-
kgVarName: import("vue").PropType<string | null>;
|
17
|
-
kgType: import("vue").PropType<import("../../consts").KG_BTN_TYPE | null>;
|
18
|
-
kgPrimary: {
|
19
|
-
type: import("vue").PropType<boolean | null | undefined>;
|
20
|
-
default: undefined;
|
21
|
-
};
|
22
|
-
kgIcon: import("vue").PropType<string | null>; /** 渲染图标. */
|
23
|
-
kgText: import("vue").PropType<string | null>;
|
24
|
-
kgColor: import("vue").PropType<KG_BTN_COLOR | null>;
|
25
|
-
kgDisabled: import("vue").PropType<boolean | null | undefined>;
|
26
|
-
onKgClick: import("vue").PropType<(args?: any) => boolean>;
|
27
|
-
onKgDelete: import("vue").PropType<() => void>; /** 渲染文本. */
|
28
|
-
}>> & {
|
29
|
-
onKgClick?: ((...args: any[]) => any) | undefined;
|
30
|
-
}, {
|
31
|
-
kgPrimary: boolean | null | undefined;
|
32
|
-
}>;
|
33
|
-
export default _default;
|
@@ -1,32 +0,0 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
2
|
-
kgVarName: import("vue").PropType<string | null>;
|
3
|
-
kgType: import("vue").PropType<import("../..").KG_BTN_TYPE | null>;
|
4
|
-
kgPrimary: {
|
5
|
-
type: import("vue").PropType<boolean | null | undefined>; /** 渲染文本. */
|
6
|
-
default: undefined;
|
7
|
-
};
|
8
|
-
kgIcon: import("vue").PropType<string | null>;
|
9
|
-
kgText: import("vue").PropType<string | null>;
|
10
|
-
kgColor: import("vue").PropType<import("../..").KG_BTN_COLOR | null>;
|
11
|
-
kgDisabled: import("vue").PropType<boolean | null | undefined>;
|
12
|
-
onKgClick: import("vue").PropType<(args?: any) => boolean>;
|
13
|
-
onKgDelete: import("vue").PropType<() => void>;
|
14
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgClick"[], "kgClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
15
|
-
kgVarName: import("vue").PropType<string | null>;
|
16
|
-
kgType: import("vue").PropType<import("../..").KG_BTN_TYPE | null>;
|
17
|
-
kgPrimary: {
|
18
|
-
type: import("vue").PropType<boolean | null | undefined>; /** 渲染文本. */
|
19
|
-
default: undefined;
|
20
|
-
};
|
21
|
-
kgIcon: import("vue").PropType<string | null>;
|
22
|
-
kgText: import("vue").PropType<string | null>;
|
23
|
-
kgColor: import("vue").PropType<import("../..").KG_BTN_COLOR | null>;
|
24
|
-
kgDisabled: import("vue").PropType<boolean | null | undefined>;
|
25
|
-
onKgClick: import("vue").PropType<(args?: any) => boolean>;
|
26
|
-
onKgDelete: import("vue").PropType<() => void>;
|
27
|
-
}>> & {
|
28
|
-
onKgClick?: ((...args: any[]) => any) | undefined;
|
29
|
-
}, {
|
30
|
-
kgPrimary: boolean | null | undefined;
|
31
|
-
}>;
|
32
|
-
export default _default;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import { VarButton } from '../../apis/WMS/models';
|
3
|
-
import './KgButtons.less';
|
4
|
-
export declare const getProps: () => {
|
5
|
-
kgDisabled: PropType<(button: VarButton) => boolean>;
|
6
|
-
onKgClick: PropType<(button: VarButton) => boolean>;
|
7
|
-
onKgDelete: PropType<(button: VarButton) => void>;
|
8
|
-
};
|
9
|
-
export declare type KgButtonsProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
10
|
-
declare const _default: import("vue").DefineComponent<{
|
11
|
-
kgDisabled: PropType<(button: VarButton) => boolean>;
|
12
|
-
onKgClick: PropType<(button: VarButton) => boolean>;
|
13
|
-
onKgDelete: PropType<(button: VarButton) => void>;
|
14
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgClick" | "kgDelete")[], "kgClick" | "kgDelete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
15
|
-
kgDisabled: PropType<(button: VarButton) => boolean>;
|
16
|
-
onKgClick: PropType<(button: VarButton) => boolean>;
|
17
|
-
onKgDelete: PropType<(button: VarButton) => void>;
|
18
|
-
}>> & {
|
19
|
-
onKgClick?: ((...args: any[]) => any) | undefined;
|
20
|
-
onKgDelete?: ((...args: any[]) => any) | undefined;
|
21
|
-
}, {}>;
|
22
|
-
export default _default;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { PropType } from 'vue';
|
2
|
-
import './KgTable.Setting.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
TODO: {
|
5
|
-
type: PropType<number>;
|
6
|
-
default: number;
|
7
|
-
};
|
8
|
-
};
|
9
|
-
declare const _default: import("vue").DefineComponent<{
|
10
|
-
TODO: {
|
11
|
-
type: PropType<number>;
|
12
|
-
default: number;
|
13
|
-
};
|
14
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
15
|
-
TODO: {
|
16
|
-
type: PropType<number>;
|
17
|
-
default: number;
|
18
|
-
};
|
19
|
-
}>>, {
|
20
|
-
TODO: number;
|
21
|
-
}>;
|
22
|
-
export default _default;
|
File without changes
|
File without changes
|