@kengic/vue 0.20.1 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,8 +2,8 @@
2
2
  export declare class CreateVarDdaQuery {
3
3
  /** 界面标识(FormID). */
4
4
  frmId?: string | null;
5
- /** 菜单. */
6
- sysPermission?: SysPermission | null;
5
+ /** 菜单以及按钮权限. */
6
+ sysPermissions?: Array<SysPermission> | null;
7
7
  /** 按钮. */
8
8
  varButtons?: Array<VarButton> | null;
9
9
  /** 所有变量. */
@@ -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;
@@ -574,7 +574,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
574
574
  }[]>;
575
575
  createVarDdaQuery: import("vue").Ref<{
576
576
  frmId?: string | null | undefined;
577
- sysPermission?: {
577
+ sysPermissions?: {
578
578
  alwaysShow?: boolean | null | undefined;
579
579
  app?: string | null | undefined;
580
580
  component?: string | null | undefined;
@@ -603,7 +603,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
603
603
  updateBy?: string | null | undefined;
604
604
  updateTime?: string | null | undefined;
605
605
  url?: string | null | undefined;
606
- } | null | undefined;
606
+ }[] | null | undefined;
607
607
  varButtons?: {
608
608
  available_flag?: number | null | undefined;
609
609
  cmd?: string | null | undefined;
@@ -838,7 +838,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
838
838
  }[]>;
839
839
  getCreateVarDdaQuery: import("vue").ComputedRef<{
840
840
  frmId?: string | null | undefined;
841
- sysPermission?: {
841
+ sysPermissions?: {
842
842
  alwaysShow?: boolean | null | undefined;
843
843
  app?: string | null | undefined;
844
844
  component?: string | null | undefined;
@@ -867,7 +867,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
867
867
  updateBy?: string | null | undefined;
868
868
  updateTime?: string | null | undefined;
869
869
  url?: string | null | undefined;
870
- } | null | undefined;
870
+ }[] | null | undefined;
871
871
  varButtons?: {
872
872
  available_flag?: number | null | undefined;
873
873
  cmd?: string | null | undefined;
@@ -1137,7 +1137,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1137
1137
  }[]>;
1138
1138
  createVarDdaQuery: import("vue").Ref<{
1139
1139
  frmId?: string | null | undefined;
1140
- sysPermission?: {
1140
+ sysPermissions?: {
1141
1141
  alwaysShow?: boolean | null | undefined;
1142
1142
  app?: string | null | undefined;
1143
1143
  component?: string | null | undefined;
@@ -1166,7 +1166,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1166
1166
  updateBy?: string | null | undefined;
1167
1167
  updateTime?: string | null | undefined;
1168
1168
  url?: string | null | undefined;
1169
- } | null | undefined;
1169
+ }[] | null | undefined;
1170
1170
  varButtons?: {
1171
1171
  available_flag?: number | null | undefined;
1172
1172
  cmd?: string | null | undefined;
@@ -1401,7 +1401,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1401
1401
  }[]>;
1402
1402
  getCreateVarDdaQuery: import("vue").ComputedRef<{
1403
1403
  frmId?: string | null | undefined;
1404
- sysPermission?: {
1404
+ sysPermissions?: {
1405
1405
  alwaysShow?: boolean | null | undefined;
1406
1406
  app?: string | null | undefined;
1407
1407
  component?: string | null | undefined;
@@ -1430,7 +1430,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
1430
1430
  updateBy?: string | null | undefined;
1431
1431
  updateTime?: string | null | undefined;
1432
1432
  url?: string | null | undefined;
1433
- } | null | undefined;
1433
+ }[] | null | undefined;
1434
1434
  varButtons?: {
1435
1435
  available_flag?: number | null | undefined;
1436
1436
  cmd?: string | null | undefined;
@@ -73,10 +73,10 @@ export declare class KgUtil {
73
73
  private static parseParamFromString;
74
74
  /**
75
75
  * 处理请求参数: 解析 DayJS 类型的参数值.
76
- * @param key 属性名.
77
- * @param value 参数的原始值.
78
- * @param formID 界面标识.
79
- * @param isPad 是否补齐日期格式. 即将 `YYYY-MM-DD` 补齐为 `YYYY-MM-DD 00:00:00`, 将 `HH:mm:ss` 补齐为 `1900-01-01 HH:mm:ss`.
76
+ * @param param.key 属性名.
77
+ * @param param.value 参数的原始值.
78
+ * @param param.formID 界面标识.
79
+ * @param param.isPad 是否补齐日期格式. 即将 `YYYY-MM-DD` 补齐为 `YYYY-MM-DD 00:00:00`, 将 `HH:mm:ss` 补齐为 `1900-01-01 HH:mm:ss`.
80
80
  */
81
81
  private static parseParamFromDayJS;
82
82
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.20.1",
3
+ "version": "0.21.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",