@kengic/core.react 0.0.1-beta.7 → 0.0.1-beta.70
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/exclamation-circle-outlined-DZrXCnvM.js +8 -0
- package/index.css +1 -1
- package/kengic-core.react.js +58282 -37631
- package/package.json +1 -1
- package/search-outlined-Od1M_oxf.js +8 -0
- package/src/api/WMS/Controllers/WorkstationController/List.d.ts +25 -0
- package/src/api/WMS/Controllers/WorkstationController/index.d.ts +1 -0
- package/src/api/WMS/Controllers/index.d.ts +1 -0
- package/src/api/WMS/index.d.ts +2 -0
- package/src/api/WMS/models.d.ts +62 -0
- package/src/api/api.d.ts +1 -0
- package/src/api/def.d.ts +1 -0
- package/src/api/index.d.ts +2 -0
- package/src/component/Kg/KgProvider.d.ts +6 -1
- package/src/component/Kg/index.d.ts +2 -2
- package/src/component/Kg/index.store.d.ts +23 -0
- package/src/component/KgModal/KgModal.d.ts +4 -4
- package/src/component/KgModal/hook/useDragToResize.d.ts +13 -0
- package/src/component/KgVarConfig/KgVarConfig.d.ts +1 -5
- package/src/component/KgVarConfig/index.vm.d.ts +2 -0
- package/src/component/KgVarConfig/index.wc.d.ts +1 -1
- package/src/component/KgWorkStation/KgWorkStation.d.ts +1 -2
- package/src/component/KgWorkStation/KgWorkStationModal.d.ts +2 -1
- package/src/component/KgWorkStation/index.event.d.ts +11 -28
- package/src/component/KgWorkStation/index.hooks.d.ts +41 -3
- package/src/component/KgWorkStation/index.store.d.ts +27 -4
- package/src/component/KgWorkStation/index.vm.d.ts +0 -2
- package/src/component/KgWorkStation/index.wc.d.ts +1 -1
- package/src/component/index.d.ts +2 -2
- package/src/const/index.vm.d.ts +8 -1
- package/src/hook/index.d.ts +1 -0
- package/src/hook/kg.hook.d.ts +12 -0
- package/src/i18n/en.d.ts +9 -1
- package/src/i18n/es_ES.d.ts +12 -0
- package/src/i18n/fr_FR.d.ts +12 -0
- package/src/i18n/km_KH.d.ts +12 -0
- package/src/i18n/ko_KR.d.ts +12 -0
- package/src/i18n/vi_VN.d.ts +12 -0
- package/src/i18n/zh_CN.d.ts +9 -1
- package/src/index.d.ts +15 -1
- package/src/service/http-client.d.ts +32 -0
- package/src/service/index.d.ts +1 -0
- package/src/util/index.d.ts +1 -1
- package/src/util/kg.util.d.ts +28 -0
- package/src/component/Kg/Kg.d.ts +0 -4
- package/src/component/KgWorkStation/KgWorkStation.service.d.ts +0 -2
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ModalFuncProps } from 'antd';
|
|
2
|
+
import { IntlShape } from 'react-intl';
|
|
3
|
+
/**
|
|
4
|
+
* 工具方法.
|
|
5
|
+
*/
|
|
6
|
+
export declare class KgUtil {
|
|
7
|
+
/**
|
|
8
|
+
* 确认弹窗.
|
|
9
|
+
* 设置了多个属性的默认值, 简化使用.
|
|
10
|
+
* https://www.antdv.com/components/modal
|
|
11
|
+
* @param props
|
|
12
|
+
*/
|
|
13
|
+
static confirm(props: IKgVarButtonModalProperties): ModalFunc;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 按钮确认弹窗的参数.
|
|
17
|
+
*/
|
|
18
|
+
export type IKgVarButtonModalProperties = ModalFuncProps & {
|
|
19
|
+
intl: IntlShape;
|
|
20
|
+
/** 是否隐藏取消按钮. */
|
|
21
|
+
kgHideCancelButton?: boolean;
|
|
22
|
+
};
|
|
23
|
+
export type ModalFunc = {
|
|
24
|
+
destroy: () => void;
|
|
25
|
+
update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
|
|
26
|
+
showLoading(): void;
|
|
27
|
+
hideLoading(): void;
|
|
28
|
+
};
|
package/src/component/Kg/Kg.d.ts
DELETED