@kengic/vue 0.19.0 → 0.19.1

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.
@@ -9,7 +9,7 @@ export declare type IKgTableRow = {
9
9
  [index: string]: any;
10
10
  };
11
11
  /** 查询方法参数. */
12
- export interface IKgTableSearchParams {
12
+ export interface IKgTableRequestParams {
13
13
  /**
14
14
  * 是否查询首页, 否则查询当页.
15
15
  * @default false
@@ -14,9 +14,9 @@ export declare type IFormID = {
14
14
  /**
15
15
  * 页面所处的模态框(弹出框)的层级.
16
16
  *
17
- * - 普通页面中该属性值为 0
18
- * - 第一级弹出框中该属性值为 1
19
- * - 第二级弹出框中该属性值为 2
17
+ * - 普通页面中此属性值为 0
18
+ * - 第一级弹出框中此属性值为 1
19
+ * - 第二级弹出框中此属性值为 2
20
20
  * - 依次类推...
21
21
  */
22
22
  level: number;
@@ -30,7 +30,7 @@ export interface IKgVarState {
30
30
  /** 正在查询变量配置. */
31
31
  isRetrievingMap: Map<string, boolean>;
32
32
  /** 变量配置是否查询完成. */
33
- isSearchedMap: Map<string, boolean>;
33
+ isRequestedMap: Map<string, boolean>;
34
34
  /** 正在查询 VarProfileMaster. */
35
35
  isRetrievingVarProfileMasterMap: Map<string, boolean>;
36
36
  /** 正在查询 VarGridMaster. */
@@ -3,9 +3,9 @@ import './KgWarehouse.less';
3
3
  export declare const getProps: () => {
4
4
  /**
5
5
  * 是否隐藏.
6
- * 该组件需要在不同的地方使用,
6
+ * 此组件需要在不同的地方使用,
7
7
  * 在有的地方需要显示当前选择的仓库, 并且可以通过点击打开弹窗, 比如顶部导航栏,
8
- * 在有的地方, 不需要显示该组件, 用户通过参数控制是否打开弹窗, 比如登录页,
8
+ * 在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,
9
9
  * @default undefined
10
10
  */
11
11
  kgInvisible: PropType<boolean>;
@@ -15,9 +15,9 @@ export declare type IKgWarehouseProps = Partial<ExtractPropTypes<ReturnType<type
15
15
  declare const _default: import("vue").DefineComponent<{
16
16
  /**
17
17
  * 是否隐藏.
18
- * 该组件需要在不同的地方使用,
18
+ * 此组件需要在不同的地方使用,
19
19
  * 在有的地方需要显示当前选择的仓库, 并且可以通过点击打开弹窗, 比如顶部导航栏,
20
- * 在有的地方, 不需要显示该组件, 用户通过参数控制是否打开弹窗, 比如登录页,
20
+ * 在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,
21
21
  * @default undefined
22
22
  */
23
23
  kgInvisible: PropType<boolean>;
@@ -25,9 +25,9 @@ declare const _default: import("vue").DefineComponent<{
25
25
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgOk"[], "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
26
26
  /**
27
27
  * 是否隐藏.
28
- * 该组件需要在不同的地方使用,
28
+ * 此组件需要在不同的地方使用,
29
29
  * 在有的地方需要显示当前选择的仓库, 并且可以通过点击打开弹窗, 比如顶部导航栏,
30
- * 在有的地方, 不需要显示该组件, 用户通过参数控制是否打开弹窗, 比如登录页,
30
+ * 在有的地方, 不需要显示此组件, 用户通过参数控制是否打开弹窗, 比如登录页,
31
31
  * @default undefined
32
32
  */
33
33
  kgInvisible: PropType<boolean>;
@@ -154,8 +154,8 @@ export interface IKgGridDetailDisplayTypeProps {
154
154
  */
155
155
  isTag?: boolean;
156
156
  /**
157
- * 如果 {@link IKgGridDetailDisplayTypeProps.DESC.isTag} 为 true, 则该属性用来定义每个值对应的标签颜色分别是什么.
158
- * 如果 {@link IKgGridDetailDisplayTypeProps.DESC.isTag} 为 false, 则该属性会被忽略.
157
+ * 如果 {@link IKgGridDetailDisplayTypeProps.DESC.isTag} 为 true, 则此属性用来定义每个值对应的标签颜色分别是什么.
158
+ * 如果 {@link IKgGridDetailDisplayTypeProps.DESC.isTag} 为 false, 则此属性会被忽略.
159
159
  */
160
160
  tagColors?: Array<{
161
161
  /** 值. */
@@ -9,7 +9,7 @@ export declare class KgVarUtil {
9
9
  * @param params JSON 字符串形式的参数.
10
10
  * @return {} 参数对象.
11
11
  */
12
- static parseCommandParameter(params?: string | null): Record<string, any>;
12
+ static parseRequestParamsToJSON(params?: string | null): Record<string, any>;
13
13
  /**
14
14
  * 根据控件类型, 将任意的值(可能非法)转换为合法的值.
15
15
  * @param frm_id 界面标识.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
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",