@kengic/vue 0.26.7-beta.30 → 0.26.7-beta.31
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 +48990 -48127
- package/dist/src/component/index.d.ts +0 -1
- package/dist/src/const/i18n/en.d.ts +0 -8
- package/dist/src/const/i18n/es_ES.d.ts +0 -8
- package/dist/src/const/i18n/fr_FR.d.ts +0 -8
- package/dist/src/const/i18n/km_KH.d.ts +0 -8
- package/dist/src/const/i18n/ko_KR.d.ts +0 -8
- package/dist/src/const/i18n/vi_VN.d.ts +0 -8
- package/dist/src/const/i18n/zh_CN.d.ts +0 -8
- package/dist/src/const/index.vm.d.ts +1 -1
- package/package.json +2 -2
- package/dist/src/component/KgStation/KgStation.d.ts +0 -47
- package/dist/src/component/KgStation/index.d.ts +0 -3
- package/dist/src/component/KgStation/index.hooks.d.ts +0 -29
- package/dist/src/component/KgStation/index.store.d.ts +0 -45
- /package/dist/{close-outlined-DMcSQWxQ.5ebf9020.mjs → close-outlined-DMcSQWxQ.12f6f0ec.mjs} +0 -0
- /package/dist/{exclamation-circle-outlined-DZrXCnvM.944e2d32.mjs → exclamation-circle-outlined-DZrXCnvM.beaf9792.mjs} +0 -0
- /package/dist/{fullscreen-exit-outlined-X1iYkFc4.0225b59b.mjs → fullscreen-exit-outlined-X1iYkFc4.aec596eb.mjs} +0 -0
- /package/dist/{fullscreen-outlined-DDBrsRcy.aabacbaf.mjs → fullscreen-outlined-DDBrsRcy.7c55eb22.mjs} +0 -0
|
@@ -103,14 +103,6 @@ declare const _default: {
|
|
|
103
103
|
formTitle: string;
|
|
104
104
|
pleaseSelectVarProfileMaster: string;
|
|
105
105
|
};
|
|
106
|
-
KgStation: {
|
|
107
|
-
reloadMessage: string;
|
|
108
|
-
selectStation: string;
|
|
109
|
-
station: string;
|
|
110
|
-
title: string;
|
|
111
|
-
workArea: string;
|
|
112
|
-
workStation: string;
|
|
113
|
-
};
|
|
114
106
|
KgTable: {
|
|
115
107
|
apiNotSupportDynamicQuery: string;
|
|
116
108
|
column: string;
|
|
@@ -103,14 +103,6 @@ declare const _default: {
|
|
|
103
103
|
formTitle: string;
|
|
104
104
|
pleaseSelectVarProfileMaster: string;
|
|
105
105
|
};
|
|
106
|
-
KgStation: {
|
|
107
|
-
reloadMessage: string;
|
|
108
|
-
selectStation: string;
|
|
109
|
-
station: string;
|
|
110
|
-
title: string;
|
|
111
|
-
workArea: string;
|
|
112
|
-
workStation: string;
|
|
113
|
-
};
|
|
114
106
|
KgTable: {
|
|
115
107
|
apiNotSupportDynamicQuery: string;
|
|
116
108
|
column: string;
|
|
@@ -103,14 +103,6 @@ declare const _default: {
|
|
|
103
103
|
formTitle: string;
|
|
104
104
|
pleaseSelectVarProfileMaster: string;
|
|
105
105
|
};
|
|
106
|
-
KgStation: {
|
|
107
|
-
reloadMessage: string;
|
|
108
|
-
selectStation: string;
|
|
109
|
-
station: string;
|
|
110
|
-
title: string;
|
|
111
|
-
workArea: string;
|
|
112
|
-
workStation: string;
|
|
113
|
-
};
|
|
114
106
|
KgTable: {
|
|
115
107
|
apiNotSupportDynamicQuery: string;
|
|
116
108
|
column: string;
|
|
@@ -103,14 +103,6 @@ declare const _default: {
|
|
|
103
103
|
formTitle: string;
|
|
104
104
|
pleaseSelectVarProfileMaster: string;
|
|
105
105
|
};
|
|
106
|
-
KgStation: {
|
|
107
|
-
reloadMessage: string;
|
|
108
|
-
selectStation: string;
|
|
109
|
-
station: string;
|
|
110
|
-
title: string;
|
|
111
|
-
workArea: string;
|
|
112
|
-
workStation: string;
|
|
113
|
-
};
|
|
114
106
|
KgTable: {
|
|
115
107
|
apiNotSupportDynamicQuery: string;
|
|
116
108
|
column: string;
|
|
@@ -103,14 +103,6 @@ declare const _default: {
|
|
|
103
103
|
formTitle: string;
|
|
104
104
|
pleaseSelectVarProfileMaster: string;
|
|
105
105
|
};
|
|
106
|
-
KgStation: {
|
|
107
|
-
reloadMessage: string;
|
|
108
|
-
selectStation: string;
|
|
109
|
-
station: string;
|
|
110
|
-
title: string;
|
|
111
|
-
workArea: string;
|
|
112
|
-
workStation: string;
|
|
113
|
-
};
|
|
114
106
|
KgTable: {
|
|
115
107
|
apiNotSupportDynamicQuery: string;
|
|
116
108
|
column: string;
|
|
@@ -103,14 +103,6 @@ declare const _default: {
|
|
|
103
103
|
formTitle: string;
|
|
104
104
|
pleaseSelectVarProfileMaster: string;
|
|
105
105
|
};
|
|
106
|
-
KgStation: {
|
|
107
|
-
reloadMessage: string;
|
|
108
|
-
selectStation: string;
|
|
109
|
-
station: string;
|
|
110
|
-
title: string;
|
|
111
|
-
workArea: string;
|
|
112
|
-
workStation: string;
|
|
113
|
-
};
|
|
114
106
|
KgTable: {
|
|
115
107
|
apiNotSupportDynamicQuery: string;
|
|
116
108
|
column: string;
|
|
@@ -104,14 +104,6 @@ declare const _default: {
|
|
|
104
104
|
formTitle: string;
|
|
105
105
|
pleaseSelectVarProfileMaster: string;
|
|
106
106
|
};
|
|
107
|
-
KgStation: {
|
|
108
|
-
reloadMessage: string;
|
|
109
|
-
selectStation: string;
|
|
110
|
-
station: string;
|
|
111
|
-
title: string;
|
|
112
|
-
workArea: string;
|
|
113
|
-
workStation: string;
|
|
114
|
-
};
|
|
115
107
|
KgTable: {
|
|
116
108
|
apiNotSupportDynamicQuery: string;
|
|
117
109
|
column: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.26.7-beta.
|
|
3
|
+
"version": "0.26.7-beta.31",
|
|
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",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@iconify-icons/ph": "1.2.5",
|
|
41
41
|
"@iconify/vue": "4.1.2",
|
|
42
42
|
"@kengic/core.core": "0.0.1-beta.19",
|
|
43
|
-
"@kengic/core.react": "0.0.1-beta.
|
|
43
|
+
"@kengic/core.react": "0.0.1-beta.59",
|
|
44
44
|
"@kengic/pont": "1.2.17-beta.1",
|
|
45
45
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
|
46
46
|
"@thymine/xunee": "0.4.9-beta.8",
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import './KgStation.less';
|
|
3
|
-
export declare const getProps: () => {
|
|
4
|
-
/**
|
|
5
|
-
* <p>是否隐藏.</p>
|
|
6
|
-
* <p>此组件需要在不同的地方使用,</p>
|
|
7
|
-
* <ul>
|
|
8
|
-
* <li>在有的地方需要显示当前选择的工作站, 并且可以通过点击打开弹窗, 比如顶部导航栏,</li>
|
|
9
|
-
* <li>在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,</li>
|
|
10
|
-
* </ul>
|
|
11
|
-
*
|
|
12
|
-
* @default undefined
|
|
13
|
-
*/
|
|
14
|
-
kgInvisible: PropType<boolean>;
|
|
15
|
-
onKgOk: PropType<() => void>;
|
|
16
|
-
};
|
|
17
|
-
export declare type KgStationProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
18
|
-
declare const _default: import("vue").DefineComponent<{
|
|
19
|
-
/**
|
|
20
|
-
* <p>是否隐藏.</p>
|
|
21
|
-
* <p>此组件需要在不同的地方使用,</p>
|
|
22
|
-
* <ul>
|
|
23
|
-
* <li>在有的地方需要显示当前选择的工作站, 并且可以通过点击打开弹窗, 比如顶部导航栏,</li>
|
|
24
|
-
* <li>在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,</li>
|
|
25
|
-
* </ul>
|
|
26
|
-
*
|
|
27
|
-
* @default undefined
|
|
28
|
-
*/
|
|
29
|
-
kgInvisible: PropType<boolean>;
|
|
30
|
-
onKgOk: PropType<() => void>;
|
|
31
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgOk"[], "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
32
|
-
/**
|
|
33
|
-
* <p>是否隐藏.</p>
|
|
34
|
-
* <p>此组件需要在不同的地方使用,</p>
|
|
35
|
-
* <ul>
|
|
36
|
-
* <li>在有的地方需要显示当前选择的工作站, 并且可以通过点击打开弹窗, 比如顶部导航栏,</li>
|
|
37
|
-
* <li>在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,</li>
|
|
38
|
-
* </ul>
|
|
39
|
-
*
|
|
40
|
-
* @default undefined
|
|
41
|
-
*/
|
|
42
|
-
kgInvisible: PropType<boolean>;
|
|
43
|
-
onKgOk: PropType<() => void>;
|
|
44
|
-
}>> & {
|
|
45
|
-
onKgOk?: ((...args: any[]) => any) | undefined;
|
|
46
|
-
}, {}>;
|
|
47
|
-
export default _default;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Pinia } from 'pinia';
|
|
2
|
-
import { ComputedRef } from 'vue';
|
|
3
|
-
import { WorkstationAreaDTO, WorkstationDTO } from '../../api/WMS/models';
|
|
4
|
-
import { IKgStationStore } from './index.store';
|
|
5
|
-
export declare type IUseKgStation = {
|
|
6
|
-
/**
|
|
7
|
-
* 当前工作区.
|
|
8
|
-
*/
|
|
9
|
-
area: ComputedRef<WorkstationAreaDTO | null>;
|
|
10
|
-
/**
|
|
11
|
-
* 当前工作站.
|
|
12
|
-
*/
|
|
13
|
-
station: ComputedRef<WorkstationDTO | null>;
|
|
14
|
-
/**
|
|
15
|
-
* 所有工作站.
|
|
16
|
-
*/
|
|
17
|
-
stations: ComputedRef<IKgStationStore['getStations']>;
|
|
18
|
-
store: IKgStationStore;
|
|
19
|
-
/**
|
|
20
|
-
* 是否显示弹窗.
|
|
21
|
-
*/
|
|
22
|
-
visible: ComputedRef<IKgStationStore['getVisible']>;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* 在某些地方调用时(比如在路由守卫中), pinia 尚未设置, 此时需要手动传入 pinia 实例.
|
|
26
|
-
*
|
|
27
|
-
* @param pinia
|
|
28
|
-
*/
|
|
29
|
-
export declare function useKgStation(pinia?: Pinia): IUseKgStation;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { StoreDefinition } from 'pinia';
|
|
2
|
-
import { WorkstationDTO } from '../../api/WMS/models';
|
|
3
|
-
export interface IUseKgStationStoreState {
|
|
4
|
-
/**
|
|
5
|
-
* 当前工作站.
|
|
6
|
-
*/
|
|
7
|
-
station: WorkstationDTO | null;
|
|
8
|
-
/**
|
|
9
|
-
* 所有工作站.
|
|
10
|
-
*/
|
|
11
|
-
stations: Array<WorkstationDTO> | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* 是否显示弹窗.
|
|
14
|
-
*/
|
|
15
|
-
visible: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface IUseKgStationStoreGetters {
|
|
18
|
-
getStation: WorkstationDTO | null;
|
|
19
|
-
getStations: Array<WorkstationDTO> | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* 是否显示弹窗.
|
|
22
|
-
*/
|
|
23
|
-
getVisible: boolean;
|
|
24
|
-
}
|
|
25
|
-
export interface IUseKgStationStoreActions {
|
|
26
|
-
/**
|
|
27
|
-
* 查询所有工作站.
|
|
28
|
-
*/
|
|
29
|
-
requestStations(): Promise<void>;
|
|
30
|
-
/**
|
|
31
|
-
* 设置当前工作站.
|
|
32
|
-
*
|
|
33
|
-
* @param station 当前工作站.
|
|
34
|
-
*/
|
|
35
|
-
setStation(station?: WorkstationDTO | null): void;
|
|
36
|
-
/**
|
|
37
|
-
* 设置是否显示弹窗.
|
|
38
|
-
*
|
|
39
|
-
* @param visible 是否显示.
|
|
40
|
-
*/
|
|
41
|
-
setVisible(visible: boolean): void;
|
|
42
|
-
}
|
|
43
|
-
export declare type IUseKgStationStore = StoreDefinition<'KgStation', IUseKgStationStoreState, IUseKgStationStoreGetters, IUseKgStationStoreActions>;
|
|
44
|
-
export declare type IKgStationStore = ReturnType<IUseKgStationStore>;
|
|
45
|
-
export declare const useKgStationStore: IUseKgStationStore;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|