vxe-table 3.4.13 → 3.4.14-beta.0

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.
package/types/form.d.ts CHANGED
@@ -33,7 +33,7 @@ export declare class Form extends VXETableComponent {
33
33
  * 对表单执行项进行校验,参数为一个回调函数。该回调函数会在校验结束后被调用 callback(errMap)。若不传入回调函数,则会返回一个 promise
34
34
  * @param callback 回调函数
35
35
  */
36
- validateField(callback?: (errMap?: FormValidErrMapParams) => void): Promise<any>;
36
+ validateField(callback?: (errMap?: FormValidErrMapParams) => void): Promise<any>;
37
37
  /**
38
38
  * 手动清除校验状态,如果指定 field 则清除指定的项,否则清除整个表单
39
39
  * @param field 字段名
@@ -108,6 +108,7 @@ export interface FormValidErrParams {
108
108
  rules: FormRule[];
109
109
  data: any;
110
110
  property: string;
111
+ field: string;
111
112
  }
112
113
 
113
114
  export interface FormValidErrMapParams {
package/types/table.d.ts CHANGED
@@ -983,13 +983,17 @@ export declare class Table extends VXETableComponent {
983
983
  */
984
984
  openPrint(options?: TablePrintConfig): Promise<any>;
985
985
  /**
986
- * 用于 mouse-config.area,打开单元格查找功能
986
+ * 打开单元格查找窗口
987
987
  */
988
988
  openFind(): Promise<any>;
989
989
  /**
990
- * 用于 mouse-config.area,打开单元格替换功能
990
+ * 打开单元格替换窗口
991
991
  */
992
992
  openReplace(): Promise<any>;
993
+ /**
994
+ * 手动关闭查找与替换窗口
995
+ */
996
+ closeFNR(): Promise<any>;
993
997
  /**
994
998
  * 连接工具栏
995
999
  * @param toolbar 工具栏组件实例