@kengic/vue 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,6 +54,7 @@ export interface IKgButtonState {
54
54
  export declare type IKgButtonStoreDefinition = StoreDefinition<'KgButton', IKgButtonState, {
55
55
  getClickListeners(): (formID?: string | null) => Array<IKgButtonClickCb> | null;
56
56
  }, {
57
+ dispose(formID: string | null | undefined): void;
57
58
  /**
58
59
  * 注册事件监听.
59
60
  * @param formID 界面标识.
@@ -86,6 +86,10 @@ export declare type IKgTableStoreDefinition = StoreDefinition<'KgTable', IKgTabl
86
86
  getIsRetrieving(): (formID: string | null | undefined) => boolean | null;
87
87
  getTableWidth(): (formID: string | null | undefined) => number | null;
88
88
  }, {
89
+ /**
90
+ * 清理数据.
91
+ * @param formID 页面标识.
92
+ */
89
93
  dispose(formID: string | null | undefined): void;
90
94
  addEventListener(formID: string | null | undefined, event: IKgTableEvent, cb: IKgTableCb): void;
91
95
  removeEventListener(formID: string | null | undefined, event: IKgTableEvent, cb?: IKgTableCb): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "rimraf dist && vue-tsc && vite build --mode development",