@kengic/vue 0.26.3-beta.6 → 0.26.3

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.
@@ -14,7 +14,7 @@ export interface IUseKgButton {
14
14
  varName?: string;
15
15
  }): void;
16
16
  /**
17
- * <p>「当前按钮」.</p>
17
+ * <p>「当前按钮」. 即当前提交表单所属的按钮.</p>
18
18
  */
19
19
  currentButton: ComputedRef<ReturnType<IKgButtonStore['getCurrentButton']>>;
20
20
  /**
@@ -10,17 +10,17 @@ export declare type IKgTableRow = {
10
10
  /** 查询方法参数. */
11
11
  export interface IKgTableRequestParameter {
12
12
  /**
13
- * 是否查询首页, 否则查询当页.
13
+ * 重新查询之后, 是否保留行的勾选状态.
14
14
  *
15
15
  * @default false
16
16
  */
17
- isSearchFirstPage?: boolean;
17
+ isPreserveSelectedRows?: boolean;
18
18
  /**
19
- * 重新查询之后, 是否保留行的勾选状态.
19
+ * 是否查询首页, 否则会查询当前页.
20
20
  *
21
21
  * @default false
22
22
  */
23
- isPreserveSelectedRows?: boolean;
23
+ isSearchFirstPage?: boolean;
24
24
  }
25
25
  /** 插槽参数. */
26
26
  export interface IKgTableSlotParams<T = IKgTableRow> {
@@ -135,7 +135,7 @@ export declare type IUseKgVar = {
135
135
  /** 状态数据. */
136
136
  store: IKgVarStore;
137
137
  /**
138
- * 翻译变量. 响应式的.
138
+ * <p>根据变量名称获取对应翻译.</p>
139
139
  *
140
140
  * @param varName 变量名称.
141
141
  */
@@ -268,7 +268,9 @@ export declare const enum KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE {
268
268
  /** 抽屉. */
269
269
  DRAWER = "DRAWER",
270
270
  /** 在表格内. */
271
- TABLE = "TABLE"
271
+ TABLE = "TABLE",
272
+ /** 嵌入页面. */
273
+ INLINE = "INLINE"
272
274
  }
273
275
  /**
274
276
  * 表单布局方式.
@@ -530,6 +532,13 @@ export interface IKgVarSubmitConfigProperties {
530
532
  /** 确认按钮的文本, 实际是一个变量名, 根据变量进行翻译. */
531
533
  textVarName?: string;
532
534
  };
535
+ /** 显示方式. */
536
+ displayType?: {
537
+ [KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE.INLINE]?: {
538
+ /** 要嵌入的页面位置, 是一个 CSS 选择器, 如: #submit-target-xxx. */
539
+ target?: string;
540
+ };
541
+ };
533
542
  }
534
543
  /**
535
544
  * <p>表单控件的参数.</p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.26.3-beta.6",
3
+ "version": "0.26.3",
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",