@znap/components-vue2 1.0.2 → 1.0.4

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.
@@ -25,7 +25,7 @@ declare var _default: import("vue").DefineComponent<string[], {}, {
25
25
  requiredFilterMessage(): any;
26
26
  allRequiredFilterAreFilled(): any;
27
27
  }, {
28
- getOptions(header: any): any;
28
+ getOptions(header: any, item: any): any;
29
29
  getFormatedItemValue(header: any, value: any): any;
30
30
  changeFilterValue(value: any, filter: any): void;
31
31
  isFieldDependentFieldEmpty(filter: any): boolean;
@@ -96,11 +96,12 @@ export declare class CrudViewConfigs {
96
96
  dependsOn?: string | undefined;
97
97
  }): this;
98
98
  setTableOptions(tableOptions?: never[]): this;
99
- addTableOption({ column, itemsArray, endpoint, formatter, }?: {
100
- column?: never[] | undefined;
99
+ addTableOption({ column, itemsArray, endpoint, formatter, filterFunction, }?: {
100
+ column?: string | undefined;
101
101
  itemsArray?: never[] | undefined;
102
102
  endpoint?: never[] | undefined;
103
- formatter?: ((item: any) => any) | undefined;
103
+ formatter?: null | undefined;
104
+ filterFunction?: null | undefined;
104
105
  }): this;
105
106
  setFormSettings({ baseModel, formOptions, hooks, loading, }?: {
106
107
  baseModel?: {} | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@znap/components-vue2",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "private": false,
5
5
  "main": "./dist/index.common.js",
6
6
  "module": "./dist/index.umd.js",