@bigbinary/neeto-filters-frontend 3.3.0 → 3.3.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.
- package/README.md +2 -2
- package/app/javascript/src/translations/en.json +7 -2
- package/dist/index.cjs.js +441 -99
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +444 -102
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
- package/types.d.ts +3 -2
package/README.md
CHANGED
|
@@ -432,8 +432,8 @@ this case, all the users whose email address contains `bigbinary` in the
|
|
|
432
432
|
### Adding a new type
|
|
433
433
|
|
|
434
434
|
- `NeetoFiltersEngine` provides the following types: `text`, `number`,
|
|
435
|
-
`single_option`, `multi_option`, `date`, `time`, `datetime`, `date_range`,
|
|
436
|
-
`time_range`.
|
|
435
|
+
`single_option`, `multi_option`, `date`, `time`, `datetime`, `date_range`,
|
|
436
|
+
`time_range`, and `tree_select`.
|
|
437
437
|
- Sometimes we need to filter attributes that are not present in the available
|
|
438
438
|
types. In this case a new type needs to be created.
|
|
439
439
|
- In this case, the type needs to be specified to the NPM package by passing the
|
|
@@ -35,7 +35,10 @@
|
|
|
35
35
|
"endsWith": "Ends with",
|
|
36
36
|
"doesNotEndWith": "Does not end with",
|
|
37
37
|
"greaterThan": "Greater than",
|
|
38
|
-
"lessThan": "Less than"
|
|
38
|
+
"lessThan": "Less than",
|
|
39
|
+
"isEmpty": "Is empty",
|
|
40
|
+
"in": "In",
|
|
41
|
+
"notIn": "Not in"
|
|
39
42
|
},
|
|
40
43
|
"errors": {
|
|
41
44
|
"cannotPassMultipleModels": "Cannot pass multiple Models except for keyword searching"
|
|
@@ -64,7 +67,9 @@
|
|
|
64
67
|
"reservedNameErrorMessage": "This name is reserved. Please choose another name.",
|
|
65
68
|
"addFilter": "Add filter",
|
|
66
69
|
"newFilter": "New filter",
|
|
67
|
-
"selectFilter": "Select filter"
|
|
70
|
+
"selectFilter": "Select filter",
|
|
71
|
+
"segment_one": "segment",
|
|
72
|
+
"segment_other": "segments"
|
|
68
73
|
},
|
|
69
74
|
"labels": {
|
|
70
75
|
"keyword": "Keyword"
|