@kengic/vue 0.20.0 → 0.20.2-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,80 +20,88 @@ export declare function useKgVar(formID?: string | null, init?: boolean, level?:
20
20
  /** 状态数据. */
21
21
  store: import("pinia").Store<"KgVar", import("./index.store").IKgVarState, {
22
22
  getTopFormIDs(): string[];
23
- getFormLevel(): (frm_id: string | null | undefined) => number;
24
- t(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => string;
25
- isRetrieving(): (frm_id: string | null | undefined) => boolean | null;
26
- isRetrievingVarProfileMaster(): (frm_id: string | null | undefined) => boolean | null;
27
- isRetrievingVarGridMaster(): (frm_id: string | null | undefined) => boolean | null; /** 正在查询变量配置. */
28
- isSearched(): (frm_id: string | null | undefined) => boolean;
29
- isCreating(): (frm_id: string | null | undefined) => boolean | null;
30
- isUpdating(): (frm_id: string | null | undefined) => boolean | null;
31
- isCopying(): (frm_id: string | null | undefined) => boolean | null; /** 正在创建:正在调用接口. */
32
- isDeleting(): (frm_id: string | null | undefined) => boolean | null;
33
- isCreatingRequesting(): (frm_id: string | null | undefined) => boolean | null;
34
- isUpdatingRequesting(): (frm_id: string | null | undefined) => boolean | null;
35
- isCopyingRequesting(): (frm_id: string | null | undefined) => boolean | null;
36
- isDeletingRequesting(): (frm_id: string | null | undefined) => boolean | null;
37
- /** 其他按钮:正在调用接口. */
38
- isOtherRequesting(): (frm_id: string | null | undefined) => boolean | null;
39
- getVarCatalogs(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarVariableCatalog[] | null;
40
- getVarCatalog(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarVariableCatalog | null;
41
- getVarLookup(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarVariableLookup | null;
42
- getVarPossibility(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarVariablePossibility | null;
43
- getVarVariableConfig(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarVariableConfig | null;
44
- getVarVariableInput(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarVariableInput | null; /**
45
- * 设置'是否正在创建'.
46
- * @param value 是否正在创建.
23
+ getFormLevel(): (formID: string | null | undefined) => number;
24
+ t(): (formID: string | null | undefined, var_nam: string | null | undefined) => string;
25
+ isRetrieving(): (formID: string | null | undefined) => boolean | null;
26
+ isRetrievingVarProfileMaster(): (formID: string | null | undefined) => boolean | null;
27
+ isRetrievingVarGridMaster(): (formID: string | null | undefined) => boolean | null;
28
+ isSearched(): (formID: string | null | undefined) => boolean;
29
+ isCreating(): (formID: string | null | undefined) => boolean | null;
30
+ isUpdating(): (formID: string | null | undefined) => boolean | null;
31
+ isCopying(): (formID: string | null | undefined) => boolean | null;
32
+ isDeleting(): (formID: string | null | undefined) => boolean | null;
33
+ isCreatingRequesting(): (formID: string | null | undefined) => boolean | null;
34
+ isUpdatingRequesting(): (formID: string | null | undefined) => boolean | null;
35
+ isCopyingRequesting(): (formID: string | null | undefined) => boolean | null;
36
+ isDeletingRequesting(): (formID: string | null | undefined) => boolean | null;
37
+ isOtherRequesting(): (formID: string | null | undefined) => boolean | null;
38
+ getVarCatalogs(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarVariableCatalog[] | null;
39
+ getVarCatalog(): (formID: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarVariableCatalog | null;
40
+ getVarLookup(): (formID: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarVariableLookup | null;
41
+ getVarPossibility(): (formID: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarVariablePossibility | null;
42
+ getVarVariableConfig(): (formID: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarVariableConfig | null;
43
+ getVarVariableInput(): (formID: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarVariableInput | null;
44
+ getVarButtons(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarButton[] | null;
45
+ getVarSubmitConfig(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarSubmitConfig | null;
46
+ getVarSubmitConfigProps(): (formID: string | null | undefined) => import("../../consts").IKgSubmitConfigProps;
47
+ getVarSubmitFields(): (formID: string | null | undefined) => VarSubmitField[] | null;
48
+ getVarSubmitFieldSectionsForCreateVisible(): (formID: string | null | undefined) => string[];
49
+ getVarSubmitFieldSectionsForUpdateVisible(): (formID: string | null | undefined) => string[];
50
+ getVarSubmitFieldSectionsForCopyVisible(): (formID: string | null | undefined) => string[]; /** 所有的 VarButton 列表. */
51
+ getVarSubmitFieldSectionsForDeleteVisible(): (formID: string | null | undefined) => string[];
52
+ getVarSubmitFieldsForCreate(): (formID: string | null | undefined) => VarSubmitField[] | null;
53
+ getVarSubmitFieldsForCreateKey(): (formID: string | null | undefined) => VarSubmitField[] | null;
54
+ getVarSubmitFieldsForCreateVisible(): (formID: string | null | undefined) => VarSubmitField[] | null;
55
+ getVarSubmitFieldsForCreateNotKey(): (formID: string | null | undefined) => VarSubmitField[] | null;
56
+ getVarSubmitFieldsForCreateKeyVisible(): (formID: string | null | undefined) => VarSubmitField[] | null;
57
+ getVarSubmitFieldsForCreateNotKeyVisible(): (formID: string | null | undefined) => VarSubmitField[] | null;
58
+ getVarSubmitFieldsForUpdate(): (formID: string | null | undefined) => VarSubmitField[] | null;
59
+ getVarSubmitFieldsForUpdateKey(): (formID: string | null | undefined) => VarSubmitField[] | null;
60
+ getVarSubmitFieldsForUpdateVisible(): (formID: string | null | undefined) => VarSubmitField[] | null;
61
+ /**
62
+ * 设置'是否正在更新'.
63
+ * @param value 是否正在更新.
47
64
  */
48
- getVarButtons(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarButton[] | null;
49
- getVarSubmitConfig(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarSubmitConfig | null;
50
- getVarSubmitConfigProps(): (frm_id: string | null | undefined) => import("../../consts").IKgSubmitConfigProps;
51
- getVarSubmitFields(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
52
- getVarSubmitFieldsForCreate(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
53
- getVarSubmitFieldsForCreateKey(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
54
- getVarSubmitFieldsForCreateNotKey(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
55
- getVarSubmitFieldsForCreateKeyVisible(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
56
- getVarSubmitFieldsForCreateNotKeyVisible(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
57
- getVarSubmitFieldsForUpdate(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
58
- getVarSubmitFieldsForUpdateKey(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
59
- getVarSubmitFieldsForUpdateNotKey(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
60
- getVarSubmitFieldsForUpdateKeyVisible(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
61
- getVarSubmitFieldsForUpdateNotKeyVisible(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
62
- getVarSubmitFieldsForCopy(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
63
- getVarSubmitFieldsForCopyKey(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
64
- getVarSubmitFieldsForCopyNotKey(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
65
- getVarSubmitFieldsForCopyKeyVisible(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
66
- getVarSubmitFieldsForCopyNotKeyVisible(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
67
- getVarSubmitFieldsForDelete(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
68
- getVarSubmitFieldsForDeleteKey(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
69
- getVarSubmitFieldsForDeleteNotKey(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
70
- getVarSubmitFieldsForDeleteKeyVisible(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
71
- getVarSubmitFieldsForDeleteNotKeyVisible(): (frm_id: string | null | undefined) => VarSubmitField[] | null;
72
- getVarSubmitField(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarSubmitField | null;
73
- getVarButton(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarButton | null;
74
- getVarButtonConfig(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarButtonConfig | null;
75
- getVarButtonSearch(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarButton | null;
76
- getVarButtonCreate(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarButton | null;
77
- getVarButtonUpdate(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarButton | null;
78
- getVarButtonCopy(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarButton | null;
79
- getVarButtonDelete(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarButton | null;
80
- getVarProfileConfig(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarProfileConfig | null;
81
- getVarProfileMasters(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarProfileMasterDTO[] | null;
82
- getVarProfileDetail(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarProfileDetail | null;
83
- getVarProfileDetails(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarProfileDetail[] | null;
84
- getSystemVarProfileDetails(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarProfileDetail[] | null;
85
- getCurrentVarProfileMasterID(): (frm_id: string | null | undefined) => string | null;
86
- getCurrentVarProfileMaster(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarProfileMasterDTO | null;
65
+ getVarSubmitFieldsForUpdateNotKey(): (formID: string | null | undefined) => VarSubmitField[] | null;
66
+ getVarSubmitFieldsForUpdateKeyVisible(): (formID: string | null | undefined) => VarSubmitField[] | null;
67
+ getVarSubmitFieldsForUpdateNotKeyVisible(): (formID: string | null | undefined) => VarSubmitField[] | null;
68
+ getVarSubmitFieldsForCopy(): (formID: string | null | undefined) => VarSubmitField[] | null;
69
+ getVarSubmitFieldsForCopyKey(): (formID: string | null | undefined) => VarSubmitField[] | null;
70
+ getVarSubmitFieldsForCopyVisible(): (formID: string | null | undefined) => VarSubmitField[] | null;
71
+ getVarSubmitFieldsForCopyNotKey(): (formID: string | null | undefined) => VarSubmitField[] | null;
72
+ getVarSubmitFieldsForCopyKeyVisible(): (formID: string | null | undefined) => VarSubmitField[] | null;
73
+ getVarSubmitFieldsForCopyNotKeyVisible(): (formID: string | null | undefined) => VarSubmitField[] | null;
74
+ getVarSubmitFieldsForDelete(): (formID: string | null | undefined) => VarSubmitField[] | null;
75
+ getVarSubmitFieldsForDeleteKey(): (formID: string | null | undefined) => VarSubmitField[] | null;
76
+ getVarSubmitFieldsForDeleteVisible(): (formID: string | null | undefined) => VarSubmitField[] | null;
77
+ getVarSubmitFieldsForDeleteNotKey(): (formID: string | null | undefined) => VarSubmitField[] | null;
78
+ getVarSubmitFieldsForDeleteKeyVisible(): (formID: string | null | undefined) => VarSubmitField[] | null;
79
+ getVarSubmitFieldsForDeleteNotKeyVisible(): (formID: string | null | undefined) => VarSubmitField[] | null;
80
+ getVarSubmitField(): (formID: string | null | undefined, var_nam: string | null | undefined) => VarSubmitField | null;
81
+ getVarButton(): (formID: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarButton | null;
82
+ getVarButtonConfig(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarButtonConfig | null;
83
+ getVarButtonSearch(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarButton | null;
84
+ getVarButtonCreate(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarButton | null;
85
+ getVarButtonUpdate(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarButton | null;
86
+ getVarButtonCopy(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarButton | null;
87
+ getVarButtonDelete(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarButton | null;
88
+ getVarProfileConfig(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarProfileConfig | null;
89
+ getVarProfileMasters(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarProfileMasterDTO[] | null;
90
+ getVarProfileDetail(): (formID: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarProfileDetail | null;
91
+ getVarProfileDetails(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarProfileDetail[] | null;
92
+ getSystemVarProfileDetails(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarProfileDetail[] | null;
93
+ getCurrentVarProfileMasterID(): (formID: string | null | undefined) => string | null;
94
+ getCurrentVarProfileMaster(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarProfileMasterDTO | null;
87
95
  getVarGridConfigMap(): Map<string, import("../../apis/WMS/models").VarGridConfig | null>;
88
- getVarGridConfig(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarGridConfig | null;
89
- getVarGridMasters(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarGridMasterDTO[] | null;
90
- getVarGridDetail(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarGridDetail | null;
91
- getCurrentVarGridMasterID(): (frm_id: string | null | undefined) => string | null;
92
- getCurrentVarGridMaster(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarGridMasterDTO | null;
93
- getCurrentVarGridDetails(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarGridDetail[] | null;
94
- getSystemVarGridDetails(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarGridDetail[] | null;
95
- getCurrentVisibleVarGridDetails(): (frm_id: string | null | undefined) => import("../../apis/WMS/models").VarGridDetail[] | null;
96
- getCurrentVisibleVarGridDetailsTotalWidth(): (frm_id: string | null | undefined) => number | null;
96
+ getVarGridConfig(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarGridConfig | null;
97
+ getVarGridMasters(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarGridMasterDTO[] | null;
98
+ getVarGridDetail(): (formID: string | null | undefined, var_nam: string | null | undefined) => import("../../apis/WMS/models").VarGridDetail | null;
99
+ getCurrentVarGridMasterID(): (formID: string | null | undefined) => string | null;
100
+ getCurrentVarGridMaster(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarGridMasterDTO | null;
101
+ getCurrentVarGridDetails(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarGridDetail[] | null;
102
+ getSystemVarGridDetails(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarGridDetail[] | null;
103
+ getCurrentVisibleVarGridDetails(): (formID: string | null | undefined) => import("../../apis/WMS/models").VarGridDetail[] | null;
104
+ getCurrentVisibleVarGridDetailsTotalWidth(): (formID: string | null | undefined) => number | null;
97
105
  }, {
98
106
  dispose(frm_id: string): void;
99
107
  addEventListener(frm_id: string, event: "retrieve", cb: IKgVarRetrieveCb): void;
@@ -173,8 +181,9 @@ export declare function useKgVar(formID?: string | null, init?: boolean, level?:
173
181
  systemVarGridDetails: ComputedRef<import("../../apis/WMS/models").VarGridDetail[] | null>;
174
182
  /** 当前的 VarGridDetail 列表. */
175
183
  currentVarGridDetails: ComputedRef<import("../../apis/WMS/models").VarGridDetail[] | null>;
176
- /** 提交弹窗的配置属性. */
177
184
  varSubmitConfigProps: ComputedRef<import("../../consts").IKgSubmitConfigProps>;
185
+ varSubmitFieldSectionsForVisible: ComputedRef<string[]>;
186
+ varSubmitFieldsForVisible: ComputedRef<VarSubmitField[] | null>;
178
187
  /**
179
188
  * 设置'是否正在创建'.
180
189
  * @param value 是否正在创建.
@@ -81,116 +81,124 @@ export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState
81
81
  /** 获取最顶层的界面标识, 即 level 最大的界面, 可能包含多个. */
82
82
  getTopFormIDs(): Array<string>;
83
83
  /** 获取界面层级. */
84
- getFormLevel(): (frm_id: string | null | undefined) => number;
85
- t(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => string;
86
- isRetrieving(): (frm_id: string | null | undefined) => boolean | null;
87
- isRetrievingVarProfileMaster(): (frm_id: string | null | undefined) => boolean | null;
88
- isRetrievingVarGridMaster(): (frm_id: string | null | undefined) => boolean | null;
84
+ getFormLevel(): (formID: string | null | undefined) => number;
85
+ t(): (formID: string | null | undefined, var_nam: string | null | undefined) => string;
86
+ isRetrieving(): (formID: string | null | undefined) => boolean | null;
87
+ isRetrievingVarProfileMaster(): (formID: string | null | undefined) => boolean | null;
88
+ isRetrievingVarGridMaster(): (formID: string | null | undefined) => boolean | null;
89
89
  /** 变量配置是否查询完成. */
90
- isSearched(): (frm_id: string | null | undefined) => boolean;
91
- isCreating(): (frm_id: string | null | undefined) => boolean | null;
92
- isUpdating(): (frm_id: string | null | undefined) => boolean | null;
93
- isCopying(): (frm_id: string | null | undefined) => boolean | null;
94
- isDeleting(): (frm_id: string | null | undefined) => boolean | null;
95
- isCreatingRequesting(): (frm_id: string | null | undefined) => boolean | null;
96
- isUpdatingRequesting(): (frm_id: string | null | undefined) => boolean | null;
97
- isCopyingRequesting(): (frm_id: string | null | undefined) => boolean | null;
98
- isDeletingRequesting(): (frm_id: string | null | undefined) => boolean | null;
99
- isOtherRequesting(): (frm_id: string | null | undefined) => boolean | null;
100
- getVarCatalogs(): (frm_id: string | null | undefined) => Array<VarVariableCatalog> | null;
90
+ isSearched(): (formID: string | null | undefined) => boolean;
91
+ isCreating(): (formID: string | null | undefined) => boolean | null;
92
+ isUpdating(): (formID: string | null | undefined) => boolean | null;
93
+ isCopying(): (formID: string | null | undefined) => boolean | null;
94
+ isDeleting(): (formID: string | null | undefined) => boolean | null;
95
+ isCreatingRequesting(): (formID: string | null | undefined) => boolean | null;
96
+ isUpdatingRequesting(): (formID: string | null | undefined) => boolean | null;
97
+ isCopyingRequesting(): (formID: string | null | undefined) => boolean | null;
98
+ isDeletingRequesting(): (formID: string | null | undefined) => boolean | null;
99
+ isOtherRequesting(): (formID: string | null | undefined) => boolean | null;
100
+ getVarCatalogs(): (formID: string | null | undefined) => Array<VarVariableCatalog> | null;
101
101
  /**
102
102
  * 和 var_nam 获取 VarVariableCatalog.
103
103
  */
104
- getVarCatalog(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarVariableCatalog | null;
105
- getVarLookup(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarVariableLookup | null;
106
- getVarPossibility(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarVariablePossibility | null;
107
- getVarVariableConfig(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarVariableConfig | null;
108
- getVarVariableInput(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarVariableInput | null;
109
- getVarButtons(): (frm_id: string | null | undefined) => Array<VarButton> | null;
110
- getVarSubmitConfig(): (frm_id: string | null | undefined) => VarSubmitConfig | null;
111
- getVarSubmitConfigProps(): (frm_id: string | null | undefined) => IKgSubmitConfigProps;
104
+ getVarCatalog(): (formID: string | null | undefined, var_nam: string | null | undefined) => VarVariableCatalog | null;
105
+ getVarLookup(): (formID: string | null | undefined, var_nam: string | null | undefined) => VarVariableLookup | null;
106
+ getVarPossibility(): (formID: string | null | undefined, var_nam: string | null | undefined) => VarVariablePossibility | null;
107
+ getVarVariableConfig(): (formID: string | null | undefined, var_nam: string | null | undefined) => VarVariableConfig | null;
108
+ getVarVariableInput(): (formID: string | null | undefined, var_nam: string | null | undefined) => VarVariableInput | null;
109
+ getVarButtons(): (formID: string | null | undefined) => Array<VarButton> | null;
110
+ getVarSubmitConfig(): (formID: string | null | undefined) => VarSubmitConfig | null;
111
+ getVarSubmitConfigProps(): (formID: string | null | undefined) => IKgSubmitConfigProps;
112
112
  /** 获取所有提交字段. */
113
- getVarSubmitFields(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
113
+ getVarSubmitFields(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
114
+ getVarSubmitFieldSectionsForCreateVisible(): (formID: string | null | undefined) => Array<string>;
115
+ getVarSubmitFieldSectionsForUpdateVisible(): (formID: string | null | undefined) => Array<string>;
116
+ getVarSubmitFieldSectionsForCopyVisible(): (formID: string | null | undefined) => Array<string>;
117
+ getVarSubmitFieldSectionsForDeleteVisible(): (formID: string | null | undefined) => Array<string>;
114
118
  /** 获取创建时的提交字段. */
115
- getVarSubmitFieldsForCreate(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
116
- /** 获取创建时的提交字段: 关键字段. */
117
- getVarSubmitFieldsForCreateKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
118
- /** 获取创建时的提交字段: 普通字段. */
119
- getVarSubmitFieldsForCreateNotKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
120
- /** 获取创建时的提交字段: 关键字段, 并且可见. */
121
- getVarSubmitFieldsForCreateKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
122
- /** 获取创建时的提交字段: 普通字段, 并且可见. */
123
- getVarSubmitFieldsForCreateNotKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
119
+ getVarSubmitFieldsForCreate(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
120
+ /** 获取创建时的提交字段: 关键的字段. */
121
+ getVarSubmitFieldsForCreateKey(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
122
+ getVarSubmitFieldsForCreateVisible(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
123
+ /** 获取创建时的提交字段: 普通的字段. */
124
+ getVarSubmitFieldsForCreateNotKey(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
125
+ /** 获取创建时的提交字段: 关键的字段, 可见的字段. */
126
+ getVarSubmitFieldsForCreateKeyVisible(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
127
+ /** 获取创建时的提交字段: 普通的字段, 可见的字段. */
128
+ getVarSubmitFieldsForCreateNotKeyVisible(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
124
129
  /** 获取更新时的提交字段. */
125
- getVarSubmitFieldsForUpdate(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
126
- /** 获取更新时的提交字段: 关键字段. */
127
- getVarSubmitFieldsForUpdateKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
128
- /** 获取更新时的提交字段: 普通字段. */
129
- getVarSubmitFieldsForUpdateNotKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
130
- /** 获取更新时的提交字段: 关键字段, 并且可见. */
131
- getVarSubmitFieldsForUpdateKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
132
- /** 获取更新时的提交字段: 普通字段, 并且可见. */
133
- getVarSubmitFieldsForUpdateNotKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
130
+ getVarSubmitFieldsForUpdate(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
131
+ /** 获取更新时的提交字段: 关键的字段. */
132
+ getVarSubmitFieldsForUpdateKey(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
133
+ getVarSubmitFieldsForUpdateVisible(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
134
+ /** 获取更新时的提交字段: 普通的字段. */
135
+ getVarSubmitFieldsForUpdateNotKey(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
136
+ /** 获取更新时的提交字段: 关键的字段, 可见的字段. */
137
+ getVarSubmitFieldsForUpdateKeyVisible(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
138
+ /** 获取更新时的提交字段: 普通的字段, 可见的字段. */
139
+ getVarSubmitFieldsForUpdateNotKeyVisible(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
134
140
  /** 获取复制时的提交字段. */
135
- getVarSubmitFieldsForCopy(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
136
- /** 获取复制时的提交字段: 关键字段. */
137
- getVarSubmitFieldsForCopyKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
138
- /** 获取复制时的提交字段: 普通字段. */
139
- getVarSubmitFieldsForCopyNotKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
140
- /** 获取复制时的提交字段: 关键字段, 并且可见. */
141
- getVarSubmitFieldsForCopyKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
142
- /** 获取复制时的提交字段: 普通字段, 并且可见. */
143
- getVarSubmitFieldsForCopyNotKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
141
+ getVarSubmitFieldsForCopy(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
142
+ /** 获取复制时的提交字段: 关键的字段. */
143
+ getVarSubmitFieldsForCopyKey(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
144
+ getVarSubmitFieldsForCopyVisible(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
145
+ /** 获取复制时的提交字段: 普通的字段. */
146
+ getVarSubmitFieldsForCopyNotKey(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
147
+ /** 获取复制时的提交字段: 关键的字段, 可见的字段. */
148
+ getVarSubmitFieldsForCopyKeyVisible(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
149
+ /** 获取复制时的提交字段: 普通的字段, 可见的字段. */
150
+ getVarSubmitFieldsForCopyNotKeyVisible(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
144
151
  /** 获取删除时的提交字段. */
145
- getVarSubmitFieldsForDelete(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
146
- /** 获取删除时的提交字段: 关键字段. */
147
- getVarSubmitFieldsForDeleteKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
148
- /** 获取删除时的提交字段: 普通字段. */
149
- getVarSubmitFieldsForDeleteNotKey(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
150
- /** 获取删除时的提交字段: 关键字段, 并且可见. */
151
- getVarSubmitFieldsForDeleteKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
152
- /** 获取删除时的提交字段: 普通字段, 并且可见. */
153
- getVarSubmitFieldsForDeleteNotKeyVisible(): (frm_id: string | null | undefined) => Array<VarSubmitField> | null;
154
- getVarSubmitField(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarSubmitField | null;
155
- getVarButton(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarButton | null;
156
- getVarButtonConfig(): (frm_id: string | null | undefined) => VarButtonConfig | null;
157
- getVarButtonSearch(): (frm_id: string | null | undefined) => VarButton | null;
158
- getVarButtonCreate(): (frm_id: string | null | undefined) => VarButton | null;
159
- getVarButtonUpdate(): (frm_id: string | null | undefined) => VarButton | null;
160
- getVarButtonCopy(): (frm_id: string | null | undefined) => VarButton | null;
161
- getVarButtonDelete(): (frm_id: string | null | undefined) => VarButton | null;
162
- getVarProfileConfig(): (frm_id: string | null | undefined) => VarProfileConfig | null;
163
- getVarProfileMasters(): (frm_id: string | null | undefined) => Array<VarProfileMasterDTO> | null;
152
+ getVarSubmitFieldsForDelete(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
153
+ /** 获取删除时的提交字段: 关键的字段. */
154
+ getVarSubmitFieldsForDeleteKey(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
155
+ getVarSubmitFieldsForDeleteVisible(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
156
+ /** 获取删除时的提交字段: 普通的字段. */
157
+ getVarSubmitFieldsForDeleteNotKey(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
158
+ /** 获取删除时的提交字段: 关键的字段, 可见的字段. */
159
+ getVarSubmitFieldsForDeleteKeyVisible(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
160
+ /** 获取删除时的提交字段: 普通的字段, 可见的字段. */
161
+ getVarSubmitFieldsForDeleteNotKeyVisible(): (formID: string | null | undefined) => Array<VarSubmitField> | null;
162
+ getVarSubmitField(): (formID: string | null | undefined, var_nam: string | null | undefined) => VarSubmitField | null;
163
+ getVarButton(): (formID: string | null | undefined, var_nam: string | null | undefined) => VarButton | null;
164
+ getVarButtonConfig(): (formID: string | null | undefined) => VarButtonConfig | null;
165
+ getVarButtonSearch(): (formID: string | null | undefined) => VarButton | null;
166
+ getVarButtonCreate(): (formID: string | null | undefined) => VarButton | null;
167
+ getVarButtonUpdate(): (formID: string | null | undefined) => VarButton | null;
168
+ getVarButtonCopy(): (formID: string | null | undefined) => VarButton | null;
169
+ getVarButtonDelete(): (formID: string | null | undefined) => VarButton | null;
170
+ getVarProfileConfig(): (formID: string | null | undefined) => VarProfileConfig | null;
171
+ getVarProfileMasters(): (formID: string | null | undefined) => Array<VarProfileMasterDTO> | null;
164
172
  /**
165
173
  * 和 var_nam 获取当前 VarProfileMaster 下的某个 VarProfileDetail.
166
174
  */
167
- getVarProfileDetail(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarProfileDetail | null;
175
+ getVarProfileDetail(): (formID: string | null | undefined, var_nam: string | null | undefined) => VarProfileDetail | null;
168
176
  /**
169
177
  * 获取 VarProfileDetail 列表.
170
178
  */
171
- getVarProfileDetails(): (frm_id: string | null | undefined) => Array<VarProfileDetail> | null;
179
+ getVarProfileDetails(): (formID: string | null | undefined) => Array<VarProfileDetail> | null;
172
180
  /**
173
181
  * 获取系统的 VarProfileDetail 列表, 即 customLevel 为 0 的 VarProfileMaster 下面的所有 VarProfileDetail.
174
182
  */
175
- getSystemVarProfileDetails(): (frm_id: string | null | undefined) => Array<VarProfileDetail> | null;
183
+ getSystemVarProfileDetails(): (formID: string | null | undefined) => Array<VarProfileDetail> | null;
176
184
  /** 获取当前 VarProfileMaster 的 ID. */
177
- getCurrentVarProfileMasterID(): (frm_id: string | null | undefined) => string | null;
178
- getCurrentVarProfileMaster(): (frm_id: string | null | undefined) => VarProfileMasterDTO | null;
185
+ getCurrentVarProfileMasterID(): (formID: string | null | undefined) => string | null;
186
+ getCurrentVarProfileMaster(): (formID: string | null | undefined) => VarProfileMasterDTO | null;
179
187
  /** 获取所有的 VarGridConfig. */
180
188
  getVarGridConfigMap(): Map<string, VarGridConfig | null>;
181
- getVarGridConfig(): (frm_id: string | null | undefined) => VarGridConfig | null;
182
- getVarGridMasters(): (frm_id: string | null | undefined) => Array<VarGridMasterDTO> | null;
183
- getVarGridDetail(): (frm_id: string | null | undefined, var_nam: string | null | undefined) => VarGridDetail | null;
189
+ getVarGridConfig(): (formID: string | null | undefined) => VarGridConfig | null;
190
+ getVarGridMasters(): (formID: string | null | undefined) => Array<VarGridMasterDTO> | null;
191
+ getVarGridDetail(): (formID: string | null | undefined, var_nam: string | null | undefined) => VarGridDetail | null;
184
192
  /** 获取当前'表格视图'的 ID. */
185
- getCurrentVarGridMasterID(): (frm_id: string | null | undefined) => string | null;
186
- getCurrentVarGridMaster(): (frm_id: string | null | undefined) => VarGridMasterDTO | null;
187
- getCurrentVarGridDetails(): (frm_id: string | null | undefined) => Array<VarGridDetail> | null;
193
+ getCurrentVarGridMasterID(): (formID: string | null | undefined) => string | null;
194
+ getCurrentVarGridMaster(): (formID: string | null | undefined) => VarGridMasterDTO | null;
195
+ getCurrentVarGridDetails(): (formID: string | null | undefined) => Array<VarGridDetail> | null;
188
196
  /**
189
197
  * 获取系统的 VarGridDetail 列表, 即 customLevel 为 0 的 VarGridMaster 下面的所有 VarGridDetail.
190
198
  */
191
- getSystemVarGridDetails(): (frm_id: string | null | undefined) => Array<VarGridDetail> | null;
192
- getCurrentVisibleVarGridDetails(): (frm_id: string | null | undefined) => Array<VarGridDetail> | null;
193
- getCurrentVisibleVarGridDetailsTotalWidth(): (frm_id: string | null | undefined) => number | null;
199
+ getSystemVarGridDetails(): (formID: string | null | undefined) => Array<VarGridDetail> | null;
200
+ getCurrentVisibleVarGridDetails(): (formID: string | null | undefined) => Array<VarGridDetail> | null;
201
+ getCurrentVisibleVarGridDetailsTotalWidth(): (formID: string | null | undefined) => number | null;
194
202
  }, {
195
203
  /**
196
204
  * 清理数据.
@@ -32,7 +32,7 @@ export declare const KG_APP_PREFIXS: Array<KG_APP_PREFIX>;
32
32
  * @see VarVariableConfig.ctrl_prop
33
33
  * @see IKgVariableConfigProps
34
34
  */
35
- export declare const enum KG_FORM_ITEM_TYPE {
35
+ export declare const enum KG_FORM_ITEM_CONTROL_TYPE {
36
36
  /** 文本. */
37
37
  INPUT = "INPUT",
38
38
  /** 密码. */
@@ -11,7 +11,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
11
11
  }[]>;
12
12
  createVarDdaQuery: import("vue").Ref<{
13
13
  frmId?: string | null | undefined;
14
- sysPermission?: {
14
+ sysPermissions?: {
15
15
  alwaysShow?: boolean | null | undefined;
16
16
  app?: string | null | undefined;
17
17
  component?: string | null | undefined;
@@ -40,7 +40,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
40
40
  updateBy?: string | null | undefined;
41
41
  updateTime?: string | null | undefined;
42
42
  url?: string | null | undefined;
43
- } | null | undefined;
43
+ }[] | null | undefined;
44
44
  varButtons?: {
45
45
  available_flag?: number | null | undefined;
46
46
  cmd?: string | null | undefined;
@@ -275,7 +275,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
275
275
  }[]>;
276
276
  getCreateVarDdaQuery: import("vue").ComputedRef<{
277
277
  frmId?: string | null | undefined;
278
- sysPermission?: {
278
+ sysPermissions?: {
279
279
  alwaysShow?: boolean | null | undefined;
280
280
  app?: string | null | undefined;
281
281
  component?: string | null | undefined;
@@ -304,7 +304,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
304
304
  updateBy?: string | null | undefined;
305
305
  updateTime?: string | null | undefined;
306
306
  url?: string | null | undefined;
307
- } | null | undefined;
307
+ }[] | null | undefined;
308
308
  varButtons?: {
309
309
  available_flag?: number | null | undefined;
310
310
  cmd?: string | null | undefined;
@@ -530,6 +530,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
530
530
  }>;
531
531
  getFrmId: import("vue").ComputedRef<string | null | undefined>;
532
532
  getVarButtons: import("vue").ComputedRef<VarButton[]>;
533
+ initCreateVarDdaQuery: () => void;
533
534
  setIsLoading: (_isLoading: boolean | null | undefined) => void;
534
535
  setResultSetMetadataColumns: (columns: Array<ResultSetMetadataColumn> | null | undefined) => void;
535
536
  setFrmId: (_frmId: string | null | undefined) => void;
@@ -573,7 +574,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
573
574
  }[]>;
574
575
  createVarDdaQuery: import("vue").Ref<{
575
576
  frmId?: string | null | undefined;
576
- sysPermission?: {
577
+ sysPermissions?: {
577
578
  alwaysShow?: boolean | null | undefined;
578
579
  app?: string | null | undefined;
579
580
  component?: string | null | undefined;
@@ -602,7 +603,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
602
603
  updateBy?: string | null | undefined;
603
604
  updateTime?: string | null | undefined;
604
605
  url?: string | null | undefined;
605
- } | null | undefined;
606
+ }[] | null | undefined;
606
607
  varButtons?: {
607
608
  available_flag?: number | null | undefined;
608
609
  cmd?: string | null | undefined;
@@ -837,7 +838,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
837
838
  }[]>;
838
839
  getCreateVarDdaQuery: import("vue").ComputedRef<{
839
840
  frmId?: string | null | undefined;
840
- sysPermission?: {
841
+ sysPermissions?: {
841
842
  alwaysShow?: boolean | null | undefined;
842
843
  app?: string | null | undefined;
843
844
  component?: string | null | undefined;
@@ -866,7 +867,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
866
867
  updateBy?: string | null | undefined;
867
868
  updateTime?: string | null | undefined;
868
869
  url?: string | null | undefined;
869
- } | null | undefined;
870
+ }[] | null | undefined;
870
871
  varButtons?: {
871
872
  available_flag?: number | null | undefined;
872
873
  cmd?: string | null | undefined;
@@ -1092,6 +1093,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1092
1093
  }>;
1093
1094
  getFrmId: import("vue").ComputedRef<string | null | undefined>;
1094
1095
  getVarButtons: import("vue").ComputedRef<VarButton[]>;
1096
+ initCreateVarDdaQuery: () => void;
1095
1097
  setIsLoading: (_isLoading: boolean | null | undefined) => void;
1096
1098
  setResultSetMetadataColumns: (columns: Array<ResultSetMetadataColumn> | null | undefined) => void;
1097
1099
  setFrmId: (_frmId: string | null | undefined) => void;
@@ -1135,7 +1137,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1135
1137
  }[]>;
1136
1138
  createVarDdaQuery: import("vue").Ref<{
1137
1139
  frmId?: string | null | undefined;
1138
- sysPermission?: {
1140
+ sysPermissions?: {
1139
1141
  alwaysShow?: boolean | null | undefined;
1140
1142
  app?: string | null | undefined;
1141
1143
  component?: string | null | undefined;
@@ -1164,7 +1166,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1164
1166
  updateBy?: string | null | undefined;
1165
1167
  updateTime?: string | null | undefined;
1166
1168
  url?: string | null | undefined;
1167
- } | null | undefined;
1169
+ }[] | null | undefined;
1168
1170
  varButtons?: {
1169
1171
  available_flag?: number | null | undefined;
1170
1172
  cmd?: string | null | undefined;
@@ -1399,7 +1401,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1399
1401
  }[]>;
1400
1402
  getCreateVarDdaQuery: import("vue").ComputedRef<{
1401
1403
  frmId?: string | null | undefined;
1402
- sysPermission?: {
1404
+ sysPermissions?: {
1403
1405
  alwaysShow?: boolean | null | undefined;
1404
1406
  app?: string | null | undefined;
1405
1407
  component?: string | null | undefined;
@@ -1428,7 +1430,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1428
1430
  updateBy?: string | null | undefined;
1429
1431
  updateTime?: string | null | undefined;
1430
1432
  url?: string | null | undefined;
1431
- } | null | undefined;
1433
+ }[] | null | undefined;
1432
1434
  varButtons?: {
1433
1435
  available_flag?: number | null | undefined;
1434
1436
  cmd?: string | null | undefined;
@@ -1654,6 +1656,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1654
1656
  }>;
1655
1657
  getFrmId: import("vue").ComputedRef<string | null | undefined>;
1656
1658
  getVarButtons: import("vue").ComputedRef<VarButton[]>;
1659
+ initCreateVarDdaQuery: () => void;
1657
1660
  setIsLoading: (_isLoading: boolean | null | undefined) => void;
1658
1661
  setResultSetMetadataColumns: (columns: Array<ResultSetMetadataColumn> | null | undefined) => void;
1659
1662
  setFrmId: (_frmId: string | null | undefined) => void;
@@ -1685,4 +1688,4 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1685
1688
  }) => void;
1686
1689
  setVarVariableConfigs: (varVariableConfigs: Array<VarVariableConfig>) => void;
1687
1690
  getVarText: (varNam: string | null | undefined) => string;
1688
- }, "setIsLoading" | "setResultSetMetadataColumns" | "setFrmId" | "patchSysPermission" | "updateVarDda" | "createVarButton" | "patchVarButton" | "deleteVarButton" | "setVarProfileDetails" | "setVarGridDetails" | "setVarSubmitFields" | "createVarVariableCatalog" | "updateVarVariableCatalog" | "setVarVariableConfigs" | "getVarText">>;
1691
+ }, "setIsLoading" | "initCreateVarDdaQuery" | "setResultSetMetadataColumns" | "setFrmId" | "patchSysPermission" | "updateVarDda" | "createVarButton" | "patchVarButton" | "deleteVarButton" | "setVarProfileDetails" | "setVarGridDetails" | "setVarSubmitFields" | "createVarVariableCatalog" | "updateVarVariableCatalog" | "setVarVariableConfigs" | "getVarText">>;
@@ -1,5 +1,5 @@
1
1
  import dayjs from 'dayjs';
2
- import { KG_FORM_ITEM_TYPE } from '../consts';
2
+ import { KG_FORM_ITEM_CONTROL_TYPE } from '../consts';
3
3
  /**
4
4
  * 变量相关工具.
5
5
  */
@@ -12,14 +12,14 @@ export declare class KgVarUtil {
12
12
  static parseRequestParamsToJSON(params?: string | null): Record<string, any>;
13
13
  /**
14
14
  * 根据控件类型, 将任意的值(可能非法)转换为合法的值.
15
- * @param frm_id 界面标识.
16
- * @param var_name 变量名称.
15
+ * @param formID 界面标识.
16
+ * @param variableName 变量名称.
17
17
  * @param $dayjs dayjs.
18
18
  * @param value 原始的值.
19
- * @param op 操作类型. C: 创建, R: 查询, U: 更新, D: 删除, CP: 复制.
19
+ * @param operation 操作类型. C: 创建, R: 查询, U: 更新, D: 删除, CP: 复制.
20
20
  * @return {} 转换后的合法的值.
21
21
  */
22
- static transformFormItemValue(frm_id: string, var_name: string, $dayjs: typeof dayjs, value: any, op: 'C' | 'R' | 'U' | 'D' | 'CP'): any;
22
+ static transformFormItemValue(formID: string, variableName: string, $dayjs: typeof dayjs, value: any, operation: 'C' | 'R' | 'U' | 'D' | 'CP'): any;
23
23
  /**
24
24
  * 根据控件类型, 将任意的高级查询操作符(可能非法)转换为合法的值.
25
25
  * @param frm_id 界面标识.
@@ -32,5 +32,5 @@ export declare class KgVarUtil {
32
32
  * 根据控件类型获取高级查询操作符的下拉列表.
33
33
  * @param controlType 控件类型.
34
34
  */
35
- static getDynamicQueryOperatorSelectOptions(controlType: KG_FORM_ITEM_TYPE): any;
35
+ static getDynamicQueryOperatorSelectOptions(controlType: KG_FORM_ITEM_CONTROL_TYPE): any;
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.20.0",
3
+ "version": "0.20.2-beta.0",
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",