@bigbinary/neeto-filters-frontend 3.0.5 → 3.0.6
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 +4 -0
- package/app/javascript/src/translations/en.json +4 -2
- package/dist/index.cjs.js +256 -212
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +256 -213
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +2 -0
package/README.md
CHANGED
|
@@ -198,6 +198,8 @@ neeto-filters.
|
|
|
198
198
|
7. **childrenKeys** The list of keys which has to be cleared from url during
|
|
199
199
|
clear filters operation.
|
|
200
200
|
8. **entity**: The entity associated with the filters.
|
|
201
|
+
9. **defaultSegmentName**: The name of segment which results all entities
|
|
202
|
+
without applying any filter. Default name is "All results".
|
|
201
203
|
|
|
202
204
|
All these props must be same as that passed to the `Filters` component. The
|
|
203
205
|
option to save filters as segments will be enabled only when the entity prop is
|
|
@@ -211,6 +213,8 @@ passed to the component.
|
|
|
211
213
|
filters pane.
|
|
212
214
|
2. **entity**: The entity associated with the segments.
|
|
213
215
|
3. **setIsPaneOpen**: To trigger the isOpen state of the filters pane.
|
|
216
|
+
4. **defaultSegmentName**: The name of segment which results all entities
|
|
217
|
+
without applying any filter. Default name is "All results".
|
|
214
218
|
|
|
215
219
|
The "columns" prop must be same as that passed to the `Filters` component. To
|
|
216
220
|
set up the neeto-filters-engine with support for Segments, please follow the
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"userCount": "{{count}} Users",
|
|
15
15
|
"yes": "Yes",
|
|
16
16
|
"update": "Update",
|
|
17
|
-
"searchTerm": "Search term"
|
|
17
|
+
"searchTerm": "Search term",
|
|
18
|
+
"allResults": "All results"
|
|
18
19
|
},
|
|
19
20
|
"messages": {
|
|
20
21
|
"enterResource": "Enter {{resource}}",
|
|
@@ -58,7 +59,8 @@
|
|
|
58
59
|
"showLess": "See less",
|
|
59
60
|
"showMoreNumbers": "See {{entity}} more",
|
|
60
61
|
"updateSegment": "Update segment?",
|
|
61
|
-
"updateSegmentMessage": "You are trying to update the current segment."
|
|
62
|
+
"updateSegmentMessage": "You are trying to update the current segment.",
|
|
63
|
+
"reservedNameErrorMessage": "This name is reserved. Please choose another name."
|
|
62
64
|
},
|
|
63
65
|
"labels": {
|
|
64
66
|
"keyword": "Keyword"
|