@kengic/vue 0.30.1-beta.73 → 0.30.1-beta.74

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.
@@ -104,6 +104,8 @@ export declare class Description {
104
104
  export declare class DescriptionBatchQuery {
105
105
  /** 描述组的编号. */
106
106
  codeName?: string | null;
107
+ /** 描述项的编号模板. */
108
+ codeValue?: string | null;
107
109
  /** 描述项的编号列表. */
108
110
  codeValues?: Array<string> | null;
109
111
  constructor(obj?: DescriptionBatchQuery);
@@ -1,3 +1,4 @@
1
+ import { KgUtil as KgCoreUtil } from '@kengic/core.core';
1
2
  import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
2
3
  import dayjs, { Dayjs } from 'dayjs';
3
4
  import { IKgVarButtonModalProperties, KG_APP } from '../const';
@@ -6,6 +7,12 @@ import { Menu } from '../project/src/router/types';
6
7
  * 工具方法.
7
8
  */
8
9
  export declare class KgUtil {
10
+ /**
11
+ * 将 JSON 字符串转换为 JSON 对象, 如果转化失败, 则返回空对象.
12
+ *
13
+ * @param str JSON 字符串.
14
+ */
15
+ static tryParseJSON: typeof KgCoreUtil.tryParseJSON;
9
16
  /**
10
17
  * 根据'文件大小数值'获取'文件大小文本'.
11
18
  * @param size 文件大小数值.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.30.1-beta.73",
3
+ "version": "0.30.1-beta.74",
4
4
  "scripts": {
5
5
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
6
  "build--development": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",