@kengic/vue 0.3.3 → 0.4.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/index.css +1 -1
- package/dist/kengic-vue.js +5559 -4509
- package/dist/src/apis/WMS/models.d.ts +53 -3
- package/dist/src/components/KgButton/components/KgButton.Create.d.ts +0 -2
- package/dist/src/components/KgButton/index.hooks.d.ts +3 -1
- package/dist/src/components/KgButton/index.store.d.ts +8 -4
- package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +1 -1
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +7 -1
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +2 -2
- package/dist/src/components/KgForm.Item/index.vm.d.ts +14 -4
- package/dist/src/components/KgResizable/KgResizable.d.ts +6 -0
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +6 -3
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.data.d.ts +5 -0
- package/dist/src/components/KgSearch/index.hooks.d.ts +1 -1
- package/dist/src/components/KgSearch/index.vm.d.ts +1 -1
- package/dist/src/components/KgSubmit/KgSubmit.d.ts +8 -0
- package/dist/src/components/KgSubmit/KgSubmit.hooks.d.ts +7 -0
- package/dist/src/components/KgSubmit/index.d.ts +4 -0
- package/dist/src/components/KgSubmit/index.hooks.d.ts +19 -0
- package/dist/src/components/KgSubmit/index.store.d.ts +39 -0
- package/dist/src/components/KgSubmit/index.vm.d.ts +5 -0
- package/dist/src/components/KgTable/index.hooks.d.ts +1 -1
- package/dist/src/components/KgTable/index.store.d.ts +4 -4
- package/dist/src/components/KgVar/KgVar.d.ts +12 -5
- package/dist/src/components/KgVar/index.store.d.ts +42 -10
- package/dist/src/components/KgVar/index.store.service.d.ts +2 -1
- package/dist/src/components/KgVar/index.vm.d.ts +3 -0
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/consts/i18n/en.d.ts +3 -0
- package/dist/src/consts/i18n/index.d.ts +6 -0
- package/dist/src/consts/i18n/zh_CN.d.ts +3 -0
- package/dist/src/consts/index.d.ts +1 -1
- package/dist/src/utils/dom.util.d.ts +12 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/kg.util.d.ts +7 -4
- package/package.json +1 -1
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.CreateModal.d.ts +0 -20
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.CreateModal.data.d.ts +0 -4
@@ -55,7 +55,9 @@ export declare const KG_I18N: {
|
|
55
55
|
confirm: string;
|
56
56
|
confirmDelete: string;
|
57
57
|
copy: string;
|
58
|
+
copySuccess: string;
|
58
59
|
create: string;
|
60
|
+
createSuccess: string;
|
59
61
|
delete: string;
|
60
62
|
deleteSuccess: string;
|
61
63
|
edit: string;
|
@@ -72,6 +74,7 @@ export declare const KG_I18N: {
|
|
72
74
|
show: string;
|
73
75
|
tip: string;
|
74
76
|
update: string;
|
77
|
+
updateSuccess: string;
|
75
78
|
yes: string;
|
76
79
|
};
|
77
80
|
};
|
@@ -130,7 +133,9 @@ export declare const KG_I18N: {
|
|
130
133
|
confirm: string;
|
131
134
|
confirmDelete: string;
|
132
135
|
copy: string;
|
136
|
+
copySuccess: string;
|
133
137
|
create: string;
|
138
|
+
createSuccess: string;
|
134
139
|
delete: string;
|
135
140
|
deleteSuccess: string;
|
136
141
|
edit: string;
|
@@ -147,6 +152,7 @@ export declare const KG_I18N: {
|
|
147
152
|
show: string;
|
148
153
|
tip: string;
|
149
154
|
update: string;
|
155
|
+
updateSuccess: string;
|
150
156
|
yes: string;
|
151
157
|
};
|
152
158
|
};
|
@@ -53,7 +53,9 @@ declare const _default: {
|
|
53
53
|
confirm: string;
|
54
54
|
confirmDelete: string;
|
55
55
|
copy: string;
|
56
|
+
copySuccess: string;
|
56
57
|
create: string;
|
58
|
+
createSuccess: string;
|
57
59
|
delete: string;
|
58
60
|
deleteSuccess: string;
|
59
61
|
edit: string;
|
@@ -70,6 +72,7 @@ declare const _default: {
|
|
70
72
|
show: string;
|
71
73
|
tip: string;
|
72
74
|
update: string;
|
75
|
+
updateSuccess: string;
|
73
76
|
yes: string;
|
74
77
|
};
|
75
78
|
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* DOM 工具.
|
3
|
+
*/
|
4
|
+
export declare class DomUtil {
|
5
|
+
/**
|
6
|
+
* 判断元素是否不能响应点击事件.
|
7
|
+
* 如果不想让某个元素响应点击事件, 则可以给它的父元素加上 kg-not-clickable 样式类.
|
8
|
+
* @param el 元素.
|
9
|
+
* @param classes 除了 kg-not-clickable 之外额外需要判断的样式类.
|
10
|
+
*/
|
11
|
+
static isNotClickable(el?: Element | null, classes?: Array<string>): boolean;
|
12
|
+
}
|
@@ -46,10 +46,7 @@ export declare class KgUtil {
|
|
46
46
|
static confirm(props: ModalFuncProps & {
|
47
47
|
/** 是否隐藏取消按钮. */
|
48
48
|
hideCancelButton?: boolean;
|
49
|
-
}):
|
50
|
-
destroy: () => void;
|
51
|
-
update: (newConfig: ModalFuncProps) => void;
|
52
|
-
};
|
49
|
+
}): ModalFunc;
|
53
50
|
/**
|
54
51
|
* 如果不是表单验证错误, 则抛出该错误.
|
55
52
|
* @param e 错误对象.
|
@@ -70,3 +67,9 @@ export declare class KgUtil {
|
|
70
67
|
/** 隐藏全局遮罩. */
|
71
68
|
static hideLoading(): void;
|
72
69
|
}
|
70
|
+
export declare type ModalFunc = {
|
71
|
+
destroy: () => void;
|
72
|
+
update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
|
73
|
+
showLoading(): void;
|
74
|
+
hideLoading(): void;
|
75
|
+
};
|
package/package.json
CHANGED
@@ -1,20 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
import './KgSearch.ConfigModal.CreateModal.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
visible: PropType<boolean>;
|
5
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
6
|
-
formID: PropType<string>;
|
7
|
-
};
|
8
|
-
export declare type IKgSearchConfigModalCreateModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
9
|
-
declare const _default: import("vue").DefineComponent<{
|
10
|
-
visible: PropType<boolean>;
|
11
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
12
|
-
formID: PropType<string>;
|
13
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:visible"[], "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
14
|
-
visible: PropType<boolean>;
|
15
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
16
|
-
formID: PropType<string>;
|
17
|
-
}>> & {
|
18
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
19
|
-
}, {}>;
|
20
|
-
export default _default;
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import { ColumnsType } from 'ant-design-vue/es/table';
|
2
|
-
import { VarProfileDetail } from '../../../apis/WMS/models';
|
3
|
-
export declare const leftVarProfileDetailColumns: () => ColumnsType<VarProfileDetail>;
|
4
|
-
export declare const rightVarProfileDetailColumns: () => ColumnsType<VarProfileDetail>;
|