@znap/components-vue2 1.0.0 → 1.0.2

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