@kengic/vue 0.23.9 → 0.23.10

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.
@@ -18,8 +18,12 @@ export interface IUseKgTable {
18
18
  getVarGridDetail(param: {
19
19
  varName: string | null | undefined;
20
20
  }): VarGridDetail | null;
21
- /** 主键字段. */
21
+ /** @deprecated 已弃用, 请使用 {@link IUseKgTable.idKey}. */
22
22
  id: ComputedRef<string>;
23
+ /**
24
+ * 作为主键的属性名.
25
+ */
26
+ idKey: ComputedRef<string>;
23
27
  /** 是否自动查询. */
24
28
  isAutoRequest: ComputedRef<boolean>;
25
29
  /** 是否支持多选. */
@@ -62,4 +62,8 @@ declare class KgLogger {
62
62
  */
63
63
  static debugDDA(formID: string | null | undefined, component: string | null | undefined, method: string | null | undefined, message: string | null | undefined, args?: Record<string, any>, collapsed?: boolean): void;
64
64
  }
65
- export { KgLogger };
65
+ declare const ____DEBUG____: typeof KgLogger.debug;
66
+ declare const ____INFO_____: typeof KgLogger.info;
67
+ declare const ____WARN_____: typeof KgLogger.warn;
68
+ declare const ____ERROR____: typeof KgLogger.error;
69
+ export { KgLogger, ____DEBUG____, ____INFO_____, ____WARN_____, ____ERROR____ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.23.9",
3
+ "version": "0.23.10",
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",