@kengic/vue 0.23.11-beta.0 → 0.23.11-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +2 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +969 -911
- package/dist/src/apis/WMS/models.d.ts +3 -3
- package/dist/src/components/KgVar/index.hooks.d.ts +2 -0
- package/dist/src/components/KgVar/index.store.d.ts +4 -1
- package/dist/src/pages/KgVarContainer/KgVarContainer.d.ts +4 -0
- package/dist/src/pages/KgVarContainer/index.d.ts +1 -0
- package/dist/src/pages/index.d.ts +1 -2
- package/package.json +1 -1
- package/dist/src/pages/KgPageDdaIndex/KgPageDdaIndex.d.ts +0 -3
- package/dist/src/pages/KgPageDdaIndex/index.d.ts +0 -2
@@ -395,7 +395,7 @@ export declare class VarButtonConfig {
|
|
395
395
|
export declare class VarChildDetail {
|
396
396
|
/** 是否可用. */
|
397
397
|
available_flag?: number | null;
|
398
|
-
/**
|
398
|
+
/** 子界面的界面标识. */
|
399
399
|
child_form_id?: string | null;
|
400
400
|
/** 父子界面间的关联属性. */
|
401
401
|
foreign_keys?: string | null;
|
@@ -573,6 +573,8 @@ export declare class VarDTO {
|
|
573
573
|
varConfigPossibilities?: Array<VarConfigPossibility> | null;
|
574
574
|
/** 变量配置:提示文本. */
|
575
575
|
varConfigTips?: Array<VarConfigTip> | null;
|
576
|
+
/** DDA. */
|
577
|
+
varDda?: VarDda | null;
|
576
578
|
/** 表格配置. */
|
577
579
|
varGridConfig?: VarGridConfig | null;
|
578
580
|
/** 表格视图列表. */
|
@@ -807,8 +809,6 @@ export declare class VarProfileMasterDTO {
|
|
807
809
|
id?: string | null;
|
808
810
|
/** 视图名称变量. */
|
809
811
|
prf_var_nam?: string | null;
|
810
|
-
/** 视图名称翻译. */
|
811
|
-
prf_var_nam_dsc?: string | null;
|
812
812
|
/** 用户(UserID). */
|
813
813
|
usr_id?: string | null;
|
814
814
|
/** 查询条件明细列表. */
|
@@ -120,6 +120,8 @@ export declare type IUseKgVar = {
|
|
120
120
|
varButtonCreate: ComputedRef<ReturnType<IKgVarStore['getVarButtonCreate']>>;
|
121
121
|
varButtonDelete: ComputedRef<ReturnType<IKgVarStore['getVarButtonDelete']>>;
|
122
122
|
varButtonUpdate: ComputedRef<ReturnType<IKgVarStore['getVarButtonUpdate']>>;
|
123
|
+
varChildDetails: ComputedRef<ReturnType<IKgVarStore['getVarChildDetails']>>;
|
124
|
+
varDda: ComputedRef<ReturnType<IKgVarStore['getVarDda']>>;
|
123
125
|
varGridConfig: ComputedRef<ReturnType<IKgVarStore['getVarGridConfig']>>;
|
124
126
|
/** 所有的 VarGridMaster 列表. */
|
125
127
|
varGridMasters: ComputedRef<ReturnType<IKgVarStore['getVarGridMasters']>>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { StoreDefinition } from 'pinia';
|
2
|
-
import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigDescription, VarConfigInput, VarConfigLookup, VarConfigPossibility, VarConfigTip, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail, VarVariable } from '../../apis/WMS/models';
|
2
|
+
import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigDescription, VarConfigInput, VarConfigLookup, VarConfigPossibility, VarConfigTip, VarDda, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail, VarVariable } from '../../apis/WMS/models';
|
3
3
|
import { IKgEventListener, KG__VAR_BUTTON__TYPE } from '../../consts';
|
4
4
|
/**
|
5
5
|
* 事件类型.
|
@@ -45,6 +45,7 @@ export interface IUseKgVarStoreState {
|
|
45
45
|
varConfigLookupMap: Map<string, Array<VarConfigLookup>>;
|
46
46
|
varConfigPossibilityMap: Map<string, Array<VarConfigPossibility>>;
|
47
47
|
varConfigTipMap: Map<string, Array<VarConfigTip>>;
|
48
|
+
varDdaMap: Map<string, VarDda | null>;
|
48
49
|
varGridConfigMap: Map<string, VarGridConfig | null>;
|
49
50
|
varGridMasterMap: Map<string, {
|
50
51
|
varGridMasters: Array<VarGridMasterDTO> | null;
|
@@ -103,6 +104,7 @@ export interface IUseKgVarStoreGetters {
|
|
103
104
|
getVarButtonCreate(): (formID: string | null | undefined) => VarButton | null;
|
104
105
|
getVarButtonDelete(): (formID: string | null | undefined) => VarButton | null;
|
105
106
|
getVarButtonUpdate(): (formID: string | null | undefined) => VarButton | null;
|
107
|
+
getVarChildDetails(): (formID: string | null | undefined) => Array<VarChildDetail>;
|
106
108
|
getVarConfigControl(): (formID: string | null | undefined, param: {
|
107
109
|
buttonType?: KG__VAR_BUTTON__TYPE;
|
108
110
|
buttonVarName?: string | null;
|
@@ -112,6 +114,7 @@ export interface IUseKgVarStoreGetters {
|
|
112
114
|
getVarConfigLookup(): (formID: string | null | undefined, varName: string | null | undefined) => VarConfigLookup | null;
|
113
115
|
getVarConfigPossibility(): (formID: string | null | undefined, varName: string | null | undefined) => VarConfigPossibility | null;
|
114
116
|
getVarConfigTip(): (formID: string | null | undefined, varName: string | null | undefined) => VarConfigTip | null;
|
117
|
+
getVarDda(): (formID: string | null | undefined) => VarDda | null;
|
115
118
|
/**
|
116
119
|
* 获取'表格配置'.
|
117
120
|
*/
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import './KgVarContainer.less';
|
2
|
+
export declare function KgVarContainer(param: {
|
3
|
+
formID: string | null | undefined;
|
4
|
+
}): import("vue").DefineComponent<{}, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}> | import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { KgVarContainer } from './KgVarContainer';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.23.11-beta.
|
3
|
+
"version": "0.23.11-beta.1",
|
4
4
|
"scripts": {
|
5
5
|
"build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
|
6
6
|
"build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
|
@@ -1,3 +0,0 @@
|
|
1
|
-
import './KgPageDdaIndex.less';
|
2
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
3
|
-
export default _default;
|
@@ -1,2 +0,0 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2
|
-
export default _default;
|