@kengic/vue 0.3.2-beta.0 → 0.3.2-beta.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.
@@ -125,6 +125,8 @@ export declare class VarGridConfig {
125
125
  button_display_type?: string | null;
126
126
  /** 接口参数(CommandParameter). */
127
127
  cmd_prm?: string | null;
128
+ /** 是否将排序字段转换为 under_score 命名方式. */
129
+ convert_sort_field_to_under_score_flg?: number | null;
128
130
  /** 界面标识(FormID). */
129
131
  frm_id?: string | null;
130
132
  /** 主键. */
@@ -5,17 +5,17 @@ export declare type IUseKgSearch = {
5
5
  /** 状态数据. */
6
6
  store: KgSearchStore;
7
7
  /**
8
- * 监听事件: search.
8
+ * 监听事件: search, 点击查询按钮, 并且表单验证通过.
9
9
  * @param cb 回调函数.
10
10
  */
11
11
  onSearch(cb: IKgSearchSearchCb): void;
12
12
  /**
13
- * 监听事件: reset.
13
+ * 监听事件: reset, 点击重置按钮.
14
14
  * @param cb 回调函数.
15
15
  */
16
16
  onReset(cb: IKgSearchResetCb): void;
17
17
  /**
18
- * 监听事件: ready.
18
+ * 监听事件: ready, 查询字段初始完成, 查询组件渲染完成.
19
19
  * @param cb 回调函数.
20
20
  * @param once 是否只会触发一次.
21
21
  * */
@@ -3,7 +3,7 @@ import { StoreDefinition } from 'pinia';
3
3
  * 事件类型.
4
4
  * 'search': 点击查询按钮, 并且表单验证通过
5
5
  * 'reset': 点击重置按钮
6
- * 'ready': 查找字段初始完成
6
+ * 'ready': 查询字段初始完成, 查询组件渲染完成
7
7
  */
8
8
  export declare type IKgSearchEvent = 'search' | 'reset' | 'ready';
9
9
  /** 事件参数. */
@@ -28,7 +28,7 @@ export declare type IKgSearchSearchFn = (resetPageIndex?: boolean) => boolean;
28
28
  /** 重置方法. */
29
29
  export declare type IKgSearchResetFn = () => void;
30
30
  export interface KgSearchState {
31
- /** 是否准备就绪. 即查询条件是否已经初始化完成了. */
31
+ /** 是否准备就绪: 查询字段初始完成, 查询组件渲染完成. */
32
32
  isReadyMap: Map<string, boolean>;
33
33
  /** 表单数据对象. */
34
34
  modelMap: Map<string, Record<string, any>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.3.2-beta.0",
3
+ "version": "0.3.2-beta.1",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "rimraf dist && vue-tsc && vite build --mode development",
@@ -42,7 +42,7 @@
42
42
  "pinia": "2.0.12"
43
43
  },
44
44
  "devDependencies": {
45
- "@kengic/pont": "1.2.10-beta.32",
45
+ "@kengic/pont": "1.2.10-beta.37",
46
46
  "@types/lodash-es": "~4.17.7",
47
47
  "@types/node": "~18.14.6",
48
48
  "@types/semver": "~7.3.13",