@bigbinary/neeto-filters-frontend 2.9.7 → 2.10.1
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/README.md +3 -1
- package/dist/index.cjs.js +3676 -2867
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +3666 -2857
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +2 -0
package/README.md
CHANGED
|
@@ -84,7 +84,8 @@ export const SAMPLE_FILTER_FIELDS = [
|
|
|
84
84
|
},
|
|
85
85
|
];
|
|
86
86
|
```
|
|
87
|
-
-
|
|
87
|
+
- `key` : A unique identifier provided to each columns/field.
|
|
88
|
+
- `group`: The label of the group, if the field is associated with a group.
|
|
88
89
|
- `node`: The column in DB table corresponding to the field.
|
|
89
90
|
- `label` The label to be shown just above the field in Pane.
|
|
90
91
|
- `type`: The nature/type of the field needed in pane.
|
|
@@ -106,6 +107,7 @@ Then the node will be `address.line_1,line_2`. In such cases we need to pass thi
|
|
|
106
107
|
- `showRuleSelector` : Boolean value, which determines whether to show a rule selector above the `text` , `number` and `decimal` type fields. `false` by default.
|
|
107
108
|
- `hidden`: Boolean value, which determines to show or hide field from filter pane. `false ` by default.
|
|
108
109
|
- `defaultValue`: The default value that should appear as chosen one in the filter fields.
|
|
110
|
+
- `defaultType`: The type of the input that should be used in the Filters pane.
|
|
109
111
|
- `isClearable`: Boolean value which specifies whether the field can be cleared or not.
|
|
110
112
|
|
|
111
113
|
- By `selectors` we mean the filter fields which doesn't have any relation (`node`) to a DB >table column.
|