@bigbinary/neeto-filters-frontend 3.1.3 → 3.2.0-beta.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 -0
- package/app/javascript/src/translations/en.json +9 -5
- package/dist/index.cjs.js +2795 -2487
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +2779 -2472
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
- package/types.d.ts +42 -26
package/README.md
CHANGED
|
@@ -126,6 +126,7 @@ export default App;
|
|
|
126
126
|
- `childrenKeys`: The list of keys which has to be cleared from url during clear filters operation.
|
|
127
127
|
- `entity`: The entity associated with the filters.
|
|
128
128
|
- `defaultSegmentName`: The name of segment which results all entities without applying any filter. Default name is "All results".
|
|
129
|
+
- `customFilters`: To specify the custom components specific to the host application. This should be same as `children` passed to the `Filters` component.
|
|
129
130
|
|
|
130
131
|
All these props must be same as that passed to the `Filters` component. The
|
|
131
132
|
option to save filters as segments will be enabled only when the entity prop is
|
|
@@ -184,6 +185,8 @@ export default App;
|
|
|
184
185
|
- `entity`: The entity associated with the segments.
|
|
185
186
|
- `setIsPaneOpen`: To trigger the isOpen state of the filters pane.
|
|
186
187
|
- `defaultSegmentName`: The name of segment which results all entities without applying any filter. Default name is "All results".
|
|
188
|
+
- `customFilters`: To specify the custom components specific to the host application. This should be same as `children` passed to the `Filters` component.
|
|
189
|
+
- `childrenKeys`: The list of keys which has to be cleared from url during clear filters operation.
|
|
187
190
|
|
|
188
191
|
The "columns" prop must be same as that passed to the `Filters` component.
|
|
189
192
|
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"clearFilters": "Clear filters",
|
|
5
5
|
"columns": "Columns",
|
|
6
6
|
"delete": "Delete",
|
|
7
|
+
"edit": "Edit",
|
|
7
8
|
"done": "Done",
|
|
8
9
|
"filter": "Filter",
|
|
9
10
|
"filters": "Filters",
|
|
@@ -46,21 +47,24 @@
|
|
|
46
47
|
},
|
|
47
48
|
"segments": {
|
|
48
49
|
"addNewSegment": "Add new segment",
|
|
50
|
+
"saveAsNewSegment": "Add as new segment",
|
|
51
|
+
"editSegment": "Edit segment",
|
|
49
52
|
"deleteAlertMessage": "You are permanently deleting the segment <strong>{{entity,anyCase}}</strong>. This can't be undone.",
|
|
50
53
|
"deleteAlertTitle": "Delete segment?",
|
|
51
54
|
"manageSegments": "Manage segments",
|
|
52
55
|
"name": "Segment name",
|
|
53
56
|
"noSegmentsFound": "No segments found",
|
|
54
57
|
"saveSegment": "Save segment",
|
|
55
|
-
"
|
|
56
|
-
"saveAsNewSegment": "Save as new segment",
|
|
58
|
+
"updateSegment": "Update segment",
|
|
57
59
|
"searchSegments": "Search segments",
|
|
58
60
|
"segmentName": "Segment name",
|
|
59
61
|
"showLess": "See less",
|
|
60
62
|
"showMoreNumbers": "See {{entity}} more",
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
63
|
+
"nameIsRequired": "Segment name is required",
|
|
64
|
+
"reservedNameErrorMessage": "This name is reserved. Please choose another name.",
|
|
65
|
+
"addFilter": "Add filter",
|
|
66
|
+
"newFilter": "New filter",
|
|
67
|
+
"selectFilter": "Select filter"
|
|
64
68
|
},
|
|
65
69
|
"labels": {
|
|
66
70
|
"keyword": "Keyword"
|