@provoly/dashboard 0.24.11 → 0.24.12
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/esm2022/filters/autocomplete/autocomplete.component.mjs +2 -2
- package/esm2022/lib/core/components/edit-input/edit-input.component.mjs +3 -3
- package/esm2022/lib/core/store/search/search.actions.mjs +1 -1
- package/esm2022/lib/core/store/search/search.service.mjs +1 -1
- package/esm2022/lib/dashboard/components/dashboard.component.mjs +6 -3
- package/esm2022/search/i18n/en.translations.mjs +5 -4
- package/esm2022/search/i18n/fr.translations.mjs +3 -2
- package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +8 -4
- package/esm2022/widgets/widget-template/component/widget-template.component.mjs +2 -2
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +1 -1
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-search.mjs +6 -4
- package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +7 -3
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-template.mjs +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-template.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +6 -4
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/store/search/search.actions.d.ts +0 -4
- package/lib/core/store/search/search.service.d.ts +0 -2
- package/package.json +43 -43
- package/search/i18n/en.translations.d.ts +1 -0
- package/search/i18n/fr.translations.d.ts +1 -0
|
@@ -152,6 +152,7 @@ class PryFilterSettingsComponent extends ToolboxActionComponent {
|
|
|
152
152
|
{ label: '@pry.search.operator.equalsString', value: 'EQUALS' },
|
|
153
153
|
{ label: '@pry.search.operator.notEqualsString', value: 'NOT_EQUALS' },
|
|
154
154
|
{ label: '@pry.search.operator.contains', value: 'CONTAINS' },
|
|
155
|
+
{ label: '@pry.search.operator.containsCaseInsensitive', value: 'I_CONTAINS' },
|
|
155
156
|
{ label: '@pry.search.operator.startWith', value: 'START_WITH' },
|
|
156
157
|
{ label: '@pry.search.operator.endWith', value: 'END_WITH' },
|
|
157
158
|
{ label: '@pry.search.operator.greaterThanNumber', value: 'GREATER_THAN' },
|
|
@@ -278,7 +279,10 @@ class PryFilterSettingsComponent extends ToolboxActionComponent {
|
|
|
278
279
|
this.filter.operator = 'EQUALS';
|
|
279
280
|
break;
|
|
280
281
|
case 'autocomplete':
|
|
281
|
-
this.filter.operator = '
|
|
282
|
+
this.filter.operator = 'I_CONTAINS';
|
|
283
|
+
break;
|
|
284
|
+
case 'text':
|
|
285
|
+
this.filter.operator = 'I_CONTAINS';
|
|
282
286
|
break;
|
|
283
287
|
default:
|
|
284
288
|
this.filter.operator = this.filter.operator;
|
|
@@ -345,9 +349,9 @@ class PryFilterSettingsComponent extends ToolboxActionComponent {
|
|
|
345
349
|
case 'number':
|
|
346
350
|
return ['EQUALS', 'NOT_EQUALS', 'GREATER_THAN', 'LOWER_THAN'].includes(operator.value);
|
|
347
351
|
case 'text':
|
|
348
|
-
return ['CONTAINS', 'EQUALS', 'NOT_EQUALS', 'START_WITH', 'END_WITH'].includes(operator.value);
|
|
352
|
+
return ['I_CONTAINS', 'CONTAINS', 'EQUALS', 'NOT_EQUALS', 'START_WITH', 'END_WITH'].includes(operator.value);
|
|
349
353
|
case 'autocomplete':
|
|
350
|
-
return ['CONTAINS'].includes(operator.value);
|
|
354
|
+
return ['I_CONTAINS', 'CONTAINS'].includes(operator.value);
|
|
351
355
|
default:
|
|
352
356
|
return operator;
|
|
353
357
|
}
|