@evoke-platform/ui-components 1.0.0-dev.253 → 1.0.0-dev.255

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.
@@ -22,9 +22,6 @@ const ALL_OPERATORS = [
22
22
  { name: 'contains', label: 'Contains' },
23
23
  { name: 'beginsWith', label: 'Starts with' },
24
24
  { name: 'endsWith', label: 'Ends with' },
25
- { name: 'doesNotContain', label: 'Does not contain' },
26
- { name: 'doesNotBeginWith', label: 'Does not start with' },
27
- { name: 'doesNotEndWith', label: 'Does not end with' },
28
25
  { name: 'null', label: 'Is empty' },
29
26
  { name: 'notNull', label: 'Is not empty' },
30
27
  { name: 'in', label: 'In' },
@@ -173,6 +170,9 @@ const customSelector = (props) => {
173
170
  else if (inputType === 'string' && isArray(props.fieldData?.values)) {
174
171
  opts = options.filter((option) => ['in', 'notIn', '=', '!=', 'notNull', 'null'].includes(option.name));
175
172
  }
173
+ else if (inputType === 'string') {
174
+ opts = options.filter((option) => !['>', '<', '<=', '>='].includes(option.name));
175
+ }
176
176
  break;
177
177
  case 'Fields':
178
178
  placeholder = 'Select Property';
@@ -196,6 +196,17 @@ CriteriaBuilder.args = {
196
196
  {
197
197
  name: { $in: ['Jane', 'John', 'Jack'] },
198
198
  },
199
+ {
200
+ //TODO: the fix in CDR-2082 should allow for a preexisting configuration like below to show greater than on the UI
201
+ licenseeName: {
202
+ $gt: 'k',
203
+ },
204
+ },
205
+ {
206
+ amountOfInspections: {
207
+ $lt: 3,
208
+ },
209
+ },
199
210
  {
200
211
  licensedFor: { $in: ['hot dogs', 'amusements', 'entertainment'] },
201
212
  },
@@ -843,6 +854,11 @@ CriteriaBuilderRelatedObject.args = {
843
854
  $regex: '410',
844
855
  },
845
856
  },
857
+ {
858
+ 'applicant.license.person.email': {
859
+ $regex: '^k',
860
+ },
861
+ },
846
862
  {
847
863
  $or: [
848
864
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/ui-components",
3
- "version": "1.0.0-dev.253",
3
+ "version": "1.0.0-dev.255",
4
4
  "description": "",
5
5
  "main": "dist/published/index.js",
6
6
  "module": "dist/published/index.js",