@kengic/vue 0.3.2-beta.1 → 0.3.2-beta.2

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.
@@ -335,6 +335,14 @@ export declare class VarSubmitField {
335
335
  crt_vis_flg?: number | null;
336
336
  /** 创建时的控件宽度(Width). */
337
337
  crt_width?: number | null;
338
+ /** 删除时是否可以编辑. */
339
+ del_ena_flg?: number | null;
340
+ /** 删除时是否必填. */
341
+ del_rqr_flg?: number | null;
342
+ /** 删除时是否可见. */
343
+ del_vis_flg?: number | null;
344
+ /** 删除时的控件宽度(Width). */
345
+ del_width?: number | null;
338
346
  /** 界面标识. */
339
347
  frm_id?: string | null;
340
348
  /** 更新时可用. */
@@ -7,13 +7,15 @@ export declare type IUseKgVar = {
7
7
  /** 状态数据. */
8
8
  store: IKgVarStore;
9
9
  /** 正在查询变量配置. */
10
- isVarRetrieving: ComputedRef<ReturnType<IKgVarStore['isVarRetrieving']>>;
10
+ isRetrievingVar: ComputedRef<ReturnType<IKgVarStore['isRetrievingVar']>>;
11
11
  /** 正在创建. */
12
12
  isCreating: ComputedRef<ReturnType<IKgVarStore['isCreating']>>;
13
13
  /** 正在更新. */
14
14
  isUpdating: ComputedRef<ReturnType<IKgVarStore['isUpdating']>>;
15
15
  /** 正在复制. */
16
16
  isCopying: ComputedRef<ReturnType<IKgVarStore['isCopying']>>;
17
+ /** 正在删除. */
18
+ isDeleting: ComputedRef<ReturnType<IKgVarStore['isDeleting']>>;
17
19
  /** 所有按钮. */
18
20
  varButtons: ComputedRef<ReturnType<IKgVarStore['getVarButtons']>>;
19
21
  /** 表格配置. */
@@ -6,13 +6,15 @@ export interface KgVarState {
6
6
  */
7
7
  formIDs: Array<string>;
8
8
  /** 正在查询变量配置. */
9
- isVarRetrievingMap: Map<string, boolean>;
9
+ isRetrievingVarMap: Map<string, boolean>;
10
10
  /** 正在创建. */
11
11
  isCreatingMap: Map<string, boolean>;
12
12
  /** 正在更新. */
13
13
  isUpdatingMap: Map<string, boolean>;
14
14
  /** 正在复制. */
15
15
  isCopyingMap: Map<string, boolean>;
16
+ /** 正在删除. */
17
+ isDeletingMap: Map<string, boolean>;
16
18
  varCatalogsMap: Map<string, Array<VarCatalog>>;
17
19
  varLookupsMap: Map<string, Array<VarLookup>>;
18
20
  varPossibilitiesMap: Map<string, Array<VarPossibility>>;
@@ -33,10 +35,14 @@ export interface KgVarState {
33
35
  }
34
36
  export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', KgVarState, {
35
37
  getTopFormID(): string | null;
36
- isVarRetrieving(): (formID?: string | null) => boolean | null;
38
+ isRetrievingVar(): (formID?: string | null) => boolean | null;
37
39
  isCreating(): (formID?: string | null) => boolean | null;
38
40
  isUpdating(): (formID?: string | null) => boolean | null;
39
41
  isCopying(): (formID?: string | null) => boolean | null;
42
+ /**
43
+ * 是否正在删除.
44
+ */
45
+ isDeleting(): (formID?: string | null) => boolean | null;
40
46
  getVarCatalogs(): (formID?: string | null) => Array<VarCatalog> | null;
41
47
  getVarCatalog(): (formID?: string | null, var_nam?: string | null) => VarCatalog | null;
42
48
  getVarLookup(): (formID?: string | null, var_nam?: string | null) => VarLookup | null;
@@ -70,6 +76,12 @@ export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', KgVarState,
70
76
  setIsCreating(formID: string, value: boolean): void;
71
77
  setIsUpdating(formID: string, value: boolean): void;
72
78
  setIsCopying(formID: string, value: boolean): void;
79
+ /**
80
+ * 设置是否正在删除.
81
+ * @param formID 界面标识.
82
+ * @param deleting 正在删除.
83
+ */
84
+ setIsDeleting(formID: string, deleting: boolean): void;
73
85
  setCurrentVarProfileMasterID(formID: string, currentVarProfileMasterID: string): void;
74
86
  /**
75
87
  * 设置列的宽度.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.3.2-beta.1",
3
+ "version": "0.3.2-beta.2",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "rimraf dist && vue-tsc && vite build --mode development",