@provoly/dashboard 0.25.4 → 0.25.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/dataset/components/dataset-version-form/dataset-version-form.component.d.ts +2 -0
- package/dataset/i18n/en.translations.d.ts +4 -0
- package/dataset/i18n/fr.translations.d.ts +4 -0
- package/esm2022/dataset/components/dataset-version-form/dataset-version-form.component.mjs +18 -8
- package/esm2022/dataset/i18n/en.translations.mjs +5 -1
- package/esm2022/dataset/i18n/fr.translations.mjs +5 -1
- package/esm2022/import/components/import.component.mjs +11 -7
- package/esm2022/lib/dashboard/date-utils.mjs +13 -1
- package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +3 -6
- package/esm2022/widgets/widget-vega/component/widget-vega.component.mjs +5 -5
- package/fesm2022/provoly-dashboard-dataset.mjs +25 -8
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-import.mjs +10 -6
- package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +2 -5
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-vega.mjs +4 -4
- package/fesm2022/provoly-dashboard-widgets-widget-vega.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +20 -0
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/import/components/import.component.d.ts +2 -1
- package/lib/dashboard/date-utils.d.ts +3 -0
- package/package.json +19 -19
|
@@ -276,10 +276,8 @@ class PryFilterSettingsComponent extends ToolboxActionComponent {
|
|
|
276
276
|
this.filter.type = $event;
|
|
277
277
|
switch ($event) {
|
|
278
278
|
case 'list':
|
|
279
|
-
this.filter.operator = 'EQUALS';
|
|
280
|
-
break;
|
|
281
279
|
case 'autocomplete':
|
|
282
|
-
this.filter.operator = '
|
|
280
|
+
this.filter.operator = 'EQUALS';
|
|
283
281
|
break;
|
|
284
282
|
case 'text':
|
|
285
283
|
this.filter.operator = 'I_CONTAINS';
|
|
@@ -345,13 +343,12 @@ class PryFilterSettingsComponent extends ToolboxActionComponent {
|
|
|
345
343
|
? ['INSIDE', 'OUTSIDE'].includes(operator.value)
|
|
346
344
|
: ['EQUALS', 'NOT_EQUALS', 'GREATER_THAN', 'LOWER_THAN'].includes(operator.value);
|
|
347
345
|
case 'list':
|
|
346
|
+
case 'autocomplete':
|
|
348
347
|
return ['EQUALS'].includes(operator.value);
|
|
349
348
|
case 'number':
|
|
350
349
|
return ['EQUALS', 'NOT_EQUALS', 'GREATER_THAN', 'LOWER_THAN'].includes(operator.value);
|
|
351
350
|
case 'text':
|
|
352
351
|
return ['I_CONTAINS', 'CONTAINS', 'EQUALS', 'NOT_EQUALS', 'START_WITH', 'END_WITH'].includes(operator.value);
|
|
353
|
-
case 'autocomplete':
|
|
354
|
-
return ['I_CONTAINS', 'CONTAINS'].includes(operator.value);
|
|
355
352
|
default:
|
|
356
353
|
return operator;
|
|
357
354
|
}
|